@univerjs-pro/sheets-pivot 0.7.0-nightly.202505141607 → 0.7.0-nightly.202505161607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3015f1=_0x54da;(function(_0x3e493a,_0x207396){const _0x36804a=_0x54da,_0x1e1ef4=_0x3e493a();while(!![]){try{const _0xb8f458=-parseInt(_0x36804a(0x66))/0x1*(-parseInt(_0x36804a(0x2ec))/0x2)+-parseInt(_0x36804a(0x1db))/0x3*(parseInt(_0x36804a(0x294))/0x4)+parseInt(_0x36804a(0x192))/0x5+parseInt(_0x36804a(0xf6))/0x6+-parseInt(_0x36804a(0xfe))/0x7*(parseInt(_0x36804a(0x2d5))/0x8)+parseInt(_0x36804a(0x13a))/0x9*(parseInt(_0x36804a(0x1bd))/0xa)+parseInt(_0x36804a(0x2b7))/0xb*(-parseInt(_0x36804a(0x1ee))/0xc);if(_0xb8f458===_0x207396)break;else _0x1e1ef4['push'](_0x1e1ef4['shift']());}catch(_0x24a564){_0x1e1ef4['push'](_0x1e1ef4['shift']());}}}(_0x4bf5,0xc56c9));var an=Object['defineProperty'],rn=(_0x37ef60,_0x32b6ac,_0x5daef2)=>_0x32b6ac in _0x37ef60?an(_0x37ef60,_0x32b6ac,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5daef2}):_0x37ef60[_0x32b6ac]=_0x5daef2,A=(_0x366c4f,_0x4ef4f8,_0x2a2798)=>rn(_0x366c4f,typeof _0x4ef4f8!=_0x3015f1(0x1b6)?_0x4ef4f8+'':_0x4ef4f8,_0x2a2798);import{PivotCellStyleTypeEnum as _0x256fc8,PivotViewCellValueTypeEnum as _0x1b844c,isPrefixValue as _0x587a2f,isErrorValue as _0x36a29e,PivotErrorTypeEnum as _0x3dfe05,PivotDateGroupFieldDateTypeEnum as _0x4976b3,DataFieldManager as _0x16ee8a,FieldsCollection as _0x2432be,isDateValue as _0x234902,DataField as _0x4dff51,generateHexNumber as _0x3d2358,isBaseGroupField as _0x11fea2,PivotTable as _0x1b128e,PivotSubtotalTypeEnum as _0x5e772e,PivotTableFiledAreaEnum as _0x2944fe,excelDateToUnixMilliseconds as _0xcd6c30,createValueField as _0x5a77e1,createLabelField as _0x28d768,PivotTableChangeTypeEnum as _0x513620,BaseGroupField as _0x14827c,PivotView as _0x3f1c21,isDateGroupFieldJSON as _0x48c670,PivotCallbackEnum as _0x2de36e,PivotFilterTypeEnum as _0x216635,getAutoDisplayName as _0x109c35,PivotDataFieldDataTypeEnum as _0x4d7597,PivotTableValuePositionEnum as _0x3a6fe2,isDateGroupField as _0x3fdd12,DateGroupField as _0x5a8d70}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x4a0405,ObjectMatrix as _0x5718da,IUniverInstanceService as _0x58e9a8,UniverInstanceType as _0x8b7529,CellValueType as _0x244c9b,numfmt as _0x43eff7,LocaleService as _0x4f3764,createAsyncInterceptorKey as _0x20ad09,createInterceptorKey as _0x5068ab,CommandType as _0x3b5e73,RANGE_TYPE as _0x8da310,numberToABC as _0x3b6d03,Inject as _0x416b2a,Injector as _0x447c52,LifecycleService as _0x2d4d61,IConfigService as _0x43238f,ICommandService as _0x3ec272,IResourceManagerService as _0x5dc47e,Disposable as _0x434a0e,Rectangle as _0x2d61f8,Tools as _0x5ec6b1,AsyncInterceptorManager as _0x5473e2,InterceptorManager as _0x8e9591,InterceptorEffectEnum as _0x222e1c,CustomCommandExecutionError as _0x578c4c,IUndoRedoService as _0x32a0be,sequenceExecute as _0x83ccad,mergeWorksheetSnapshotWithDefault as _0x448ffe,generateRandomId as _0x55594f,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x1c4cdf,DEFAULT_WORKSHEET_ROW_COUNT as _0x88d77c,DisposableCollection as _0x49d8f1,Range as _0x182ee0,DependentOn as _0x4f27e1,Optional as _0x28084e,Plugin as _0x4a8938,merge as _0x408bef}from'@univerjs/core';import{ErrorType as _0x17465f,serializeRangeWithSpreadsheet as _0x10a7c2,IFeatureCalculationManagerService as _0x30c050,GlobalComputingStatusService as _0x37f637,IActiveDirtyManagerService as _0x420518}from'@univerjs/engine-formula';import{generateNullCell as _0x5ba933,SetRangeValuesUndoMutationFactory as _0x1a0dab,SetRangeValuesMutation as _0x3ce54f,getSheetCommandTarget as _0xea3a43,InsertRowMutation as _0xc73892,RemoveRowMutation as _0x25a2e8,InsertColMutation as _0x3a6480,RemoveColMutation as _0x5d1669,IExclusiveRangeService as _0x2a4800,SheetInterceptorService as _0x46d6f1,INTERCEPTOR_POINT as _0xbac46b,InsertSheetCommand as _0x3d82e1,InsertSheetUndoMutationFactory as _0x4443f5,RemoveSheetMutation as _0x24a854,InsertSheetMutation as _0x212f5e,MoveRangeMutation as _0x245038,SheetsSelectionsService as _0x2d3174,ClearSelectionContentCommand as _0xa650f0,ClearSelectionAllCommand as _0x43a935,SetWorksheetColWidthMutation as _0x556b3e,RefRangeService as _0x270f98,SetWorksheetActiveOperation as _0x98b109,MoveRangeCommand as _0x282bb4,RemoveSheetCommand as _0x58ebd1}from'@univerjs/sheets';import{Subject as _0x4a95ea,BehaviorSubject as _0x3c5aa8}from'rxjs';import{LS_CONFIG_KEY as _0xcfd63c,unshiftString as _0x5af8ae,isFeatureAuthorizedWithinTime as _0x56911b,getSheetFeatureLimit as _0x1c29b9,ReleaseType as _0x126a3a,UniverLicensePlugin as _0x412684}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x5368b8,RemoveSheetsFilterMutation as _0x12eb22}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x109157}from'@univerjs/rpc';import{getFontStyleString as _0x2405d1,FontCache as _0x50b72e}from'@univerjs/engine-render';const ko=Number[_0x3015f1(0x1f7)](0x6824c0ec),li=0x10,so=0x1,ao=_0x3015f1(0x112),mt=0x1,ci='rgb(240,241,243)',di=_0x3015f1(0x2a2),wt='#b2b2b2',ui=_0x3015f1(0x11f),fi=_0x3015f1(0x11f),gi=_0x3015f1(0x71),vi=_0x3015f1(0x18f),hi=_0x3015f1(0x88),pi=_0x3015f1(0x1a5),Ci=_0x3015f1(0x18f),mi='#FFFFFF',Ii=_0x3015f1(0x70),bi=0xe,Si=0x6;var Bo=(_0x898088=>(_0x898088[_0x3015f1(0x145)]=_0x3015f1(0x24c),_0x898088[_0x3015f1(0xdb)]='new',_0x898088))(Bo||{});const Lo={'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':''}}},Ti=0x1e,Je={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ii},'bd':Je,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':Ci},'bd':null,'cl':{'rgb':mi},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':Je,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':Je,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':Je,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':Je,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':vi},'cl':{'rgb':hi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':Je,'vt':0x2}};function Pi(_0x18c760,_0x4c2aef,_0x4edfdb){const _0x11e248=_0x3015f1,_0x4883b7=_0x18c760[_0x11e248(0x1c7)](_0x4f3764),_0x3d4e2d=_0x4edfdb['split']('_');switch(_0x4c2aef){case _0x4976b3[_0x11e248(0x1c0)]:return _0x4883b7['t'](_0x11e248(0x149),..._0x3d4e2d);case _0x4976b3['Minute']:return _0x4883b7['t'](_0x11e248(0xc3),..._0x3d4e2d);case _0x4976b3[_0x11e248(0x2b6)]:return _0x4883b7['t'](_0x11e248(0x277),..._0x3d4e2d);case _0x4976b3['HourMinute']:return _0x4883b7['t'](_0x11e248(0xb6),..._0x3d4e2d);case _0x4976b3[_0x11e248(0x6f)]:return _0x4883b7['t'](_0x11e248(0x2bd),..._0x3d4e2d);case _0x4976b3[_0x11e248(0x6c)]:return _0x4883b7['t'](_0x11e248(0x2df),..._0x3d4e2d);case _0x4976b3[_0x11e248(0x2c7)]:return _0x4883b7['t'](_0x11e248(0x108),..._0x3d4e2d);case _0x4976b3['YearMonth']:return _0x4883b7['t'](_0x11e248(0x1d4),..._0x3d4e2d);case _0x4976b3[_0x11e248(0x97)]:return _0x4883b7['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0x3d4e2d);case _0x4976b3['YearQuarter']:return _0x4883b7['t'](_0x11e248(0x24b),..._0x3d4e2d);}return'';}const it=(_0x4e3d6d,_0x5c5ec8,_0x217335,_0x4c9fe8)=>{const _0x32225c=_0x3015f1;let _0x2dd972;const _0x3e3413=_0x4e3d6d[_0x32225c(0x1c7)](_0x58e9a8)['getCurrentUnitForType'](_0x8b7529[_0x32225c(0x237)]);if(!_0x3e3413)return null;const _0x201e51=_0x3e3413[_0x32225c(0x2dc)]();let _0x56190b;if(_0x217335&&(_0x56190b=_0x201e51[_0x32225c(0xb7)](_0x217335)),_0x5c5ec8!=null&&_0x5c5ec8['v']||(_0x5c5ec8==null?void 0x0:_0x5c5ec8['v'])===0x0){_0x2dd972||(_0x2dd972={});const _0x3f0ea5=jo(_0x5c5ec8['v']);typeof _0x3f0ea5==_0x32225c(0x206)?_0x2dd972['t']=_0x244c9b[_0x32225c(0x288)]:typeof _0x3f0ea5==_0x32225c(0x21b)&&(_0x2dd972['t']=_0x244c9b[_0x32225c(0x114)]),_0x2dd972['v']=_0x3f0ea5;}if((_0x5c5ec8!=null&&_0x5c5ec8['i']||(_0x5c5ec8==null?void 0x0:_0x5c5ec8['i'])===0x0)&&(_0x2dd972||(_0x2dd972={}),_0x2dd972['fi']=_0x5c5ec8['i']),_0x5c5ec8!=null&&_0x5c5ec8['s']&&(_0x2dd972||(_0x2dd972={}),_0x2dd972[_0x32225c(0xff)]=_0x5c5ec8['s']),_0x217335&&(_0x2dd972||(_0x2dd972={}),_0x2dd972['s']=_0x56190b),_0x4c9fe8&&_0x2dd972!=null&&_0x2dd972['v']&&_0x2dd972[_0x32225c(0xff)]!==_0x256fc8['GrandTotal']&&_0x2dd972['pbt']!==_0x256fc8[_0x32225c(0x1aa)]){const _0x2d2723=String(_0x2dd972['v']),{dateType:_0x2b6c63}=_0x4c9fe8;_0x2dd972['v']=Pi(_0x4e3d6d,_0x2b6c63,_0x2d2723),_0x2dd972['t']=_0x244c9b[_0x32225c(0x114)];}return _0x2dd972;},yi=(_0x8202a1,_0x100871,_0x457d06,_0x3d8071)=>{const _0x3d5355=_0x3015f1;var _0x152356,_0x136af8,_0x28fcee,_0x57a7ca,_0x1fc2cb,_0xfbe52b,_0x3e999f,_0x26c73c,_0x4eb16f,_0x5d9bea,_0x4cfed3,_0x4c91b2,_0x33e95b,_0x444739;const _0x44ba9d=_0x457d06[_0x3d5355(0xa7)],{cornerView:_0x45b16b,rowView:_0x1cc0b7,colView:_0x5b0c17,dataView:_0x353a3f,pageView:_0x2a482e,formatMap:_0x59511c,groupInfo:_0x45a669}=_0x100871,{row:_0x58aa35,col:_0x6a7bd5}=_0x44ba9d,_0x5d93ac=new _0x5718da(),_0xe8fbbb={},_0x5abca1={},_0x3a9a90={},_0x6b4f5d={},_0x33c9ec={};let _0x29d732=_0x58aa35,_0x38fd3e=_0x6a7bd5;Object[_0x3d5355(0x1bc)](_0x2a482e[_0x3d5355(0x8b)])[_0x3d5355(0x14e)](_0x29fd1a=>{const _0x197b2e=_0x3d5355;Object[_0x197b2e(0x1bc)](_0x2a482e['data'][Number(_0x29fd1a)])[_0x197b2e(0x14e)](_0x51efa9=>{const _0xa5e7a0=_0x197b2e,_0x2b2658={..._0x2a482e['data'][Number(_0x29fd1a)][Number(_0x51efa9)]};_0x5d93ac[_0xa5e7a0(0xb7)](Number(_0x29fd1a)+_0x29d732,Number(_0x51efa9)+_0x38fd3e,it(_0x8202a1,_0x2b2658,fe['pageStyle']));});});const _0x1f086f=Object[_0x3d5355(0x1bc)](_0x2a482e[_0x3d5355(0x8b)])[_0x3d5355(0x290)];_0x29d732+=_0x1f086f+(_0x1f086f?mt:0x0);const _0x58a3b9=_0x45b16b['getRowCount'](),_0x1c75cc=_0x45b16b[_0x3d5355(0x1ab)]();for(let _0x57d39a=0x0;_0x57d39a<_0x58a3b9;_0x57d39a++)for(let _0x2f6157=0x0;_0x2f6157<_0x1c75cc;_0x2f6157++){const _0x34d62f={...(_0x136af8=(_0x152356=_0x45b16b['data'])==null?void 0x0:_0x152356[_0x57d39a])==null?void 0x0:_0x136af8[_0x2f6157]};_0x34d62f&&((_0x28fcee=_0x1cc0b7[_0x3d5355(0x2ae)][_0x2f6157])!=null&&_0x28fcee['isValue'])&&_0x2f6157===_0x1c75cc-0x1&&_0x57d39a===_0x58a3b9-0x1&&(_0x34d62f['v']=''+_0x3d8071[_0x3d5355(0x7e)]),_0x5d93ac[_0x3d5355(0xb7)](_0x57d39a+_0x29d732,_0x2f6157+_0x38fd3e,it(_0x8202a1,_0x34d62f,fe[_0x3d5355(0x161)]));}for(let _0x27f109=0x0;_0x27f109<_0x45b16b[_0x3d5355(0x1ac)][_0x3d5355(0x290)];_0x27f109++)_0x45b16b[_0x3d5355(0x1ac)][_0x27f109]&&(_0x3a9a90[''+(_0x27f109+_0x38fd3e)]=_0x45b16b[_0x3d5355(0x1ac)][_0x27f109]);_0x38fd3e+=_0x1c75cc;const _0x5164fe=_0x5b0c17[_0x3d5355(0x2ae)],_0x280b24=_0x5b0c17[_0x3d5355(0x1c2)]()>=0x0?_0x5b0c17[_0x3d5355(0x1c2)]()+0x1:0x0,_0x4eb1d8=_0x5b0c17[_0x3d5355(0x179)]()>=0x0?_0x5b0c17[_0x3d5355(0x179)]()+0x1:0x0;for(let _0x559a1c=0x0;_0x559a1c<_0x4eb1d8;_0x559a1c++){for(let _0x186586=0x0;_0x186586<_0x280b24;_0x186586++){const _0xf524da={...(_0x1fc2cb=(_0x57a7ca=_0x5b0c17[_0x3d5355(0x8b)])==null?void 0x0:_0x57a7ca[_0x186586])==null?void 0x0:_0x1fc2cb[_0x559a1c]},_0x4e7b04=(_0xfbe52b=_0x5164fe[_0x186586])==null?void 0x0:_0xfbe52b[_0x3d5355(0x29d)],_0x423165=_0x59511c[_0x4e7b04],_0x1a9725=_0x45a669[_0x4e7b04];_0xf524da&&(_0xf524da['v']=ht(_0xf524da,_0x186586===0x0&&((_0x3e999f=_0x5b0c17['getHeaderMapItem'](_0x559a1c+0x1))==null?void 0x0:_0x3e999f['isValue']),_0x423165,_0x3d8071));let _0x1b8b5f;_0x423165?_0x1b8b5f={...fe[_0x3d5355(0x100)],'n':{'pattern':_0x423165}}:_0x1b8b5f={...fe[_0x3d5355(0x100)]},_0x5d93ac[_0x3d5355(0xb7)](_0x186586+_0x29d732,_0x559a1c+_0x38fd3e,it(_0x8202a1,_0xf524da,_0x1b8b5f,_0x1a9725));}_0x5b0c17[_0x3d5355(0x1ac)][_0x559a1c]&&(_0x5abca1[''+(_0x559a1c+_0x38fd3e)]=_0x5b0c17[_0x3d5355(0x1ac)][_0x559a1c]),_0x5b0c17[_0x3d5355(0x2ae)][_0x559a1c+0x1]&&(_0x33c9ec[''+(_0x559a1c+_0x29d732+0x1)]=_0x5b0c17['headerMap'][_0x559a1c+0x1]);}_0x29d732+=_0x58a3b9;const _0x49a5aa=_0x1cc0b7['headerMap'],_0x2c7723=_0x1cc0b7[_0x3d5355(0x1c2)]()>=0x0?_0x1cc0b7['getLastRow']()+0x1:0x0,_0xdb5e7c=_0x1cc0b7[_0x3d5355(0x179)]()>=0x0?_0x1cc0b7[_0x3d5355(0x179)]()+0x1:0x0;for(let _0xdd0b65=0x0;_0xdd0b65<_0x2c7723;_0xdd0b65++){for(let _0x282232=0x0;_0x282232<_0xdb5e7c;_0x282232++){const _0x3e5391={...(_0x4eb16f=(_0x26c73c=_0x1cc0b7[_0x3d5355(0x8b)])==null?void 0x0:_0x26c73c[_0xdd0b65])==null?void 0x0:_0x4eb16f[_0x282232]},_0x331cd9=(_0x5d9bea=_0x49a5aa[_0x282232])==null?void 0x0:_0x5d9bea[_0x3d5355(0x29d)],_0x223660=_0x59511c[_0x331cd9],_0x175b48=_0x45a669[_0x331cd9];_0x3e5391&&(_0x3e5391['v']=ht(_0x3e5391,!0x1,_0x223660,_0x3d8071));let _0x3ed09b;_0x1cc0b7[_0x3d5355(0x1ac)][_0xdd0b65][_0x3d5355(0x2be)]===_0x1cc0b7[_0x3d5355(0x1ab)]()?_0x3ed09b=fe[_0x3d5355(0x292)]:_0x1cc0b7[_0x3d5355(0x1ac)][_0xdd0b65]['isBottomTotal']?_0x3ed09b=_0x1cc0b7[_0x3d5355(0x1ac)][_0xdd0b65]['level']===0x0?fe[_0x3d5355(0xbc)]:fe[_0x3d5355(0x1ba)]:_0x3ed09b=fe['rowStyle'],_0x223660&&(_0x3ed09b={..._0x3ed09b,'n':{'pattern':_0x223660}}),_0x5d93ac[_0x3d5355(0xb7)](_0xdd0b65+_0x29d732,_0x282232+_0x6a7bd5,it(_0x8202a1,_0x3e5391,_0x3ed09b,_0x175b48));}_0x1cc0b7[_0x3d5355(0x1ac)][_0xdd0b65]&&(_0xe8fbbb[''+(_0xdd0b65+_0x29d732)]=_0x1cc0b7[_0x3d5355(0x1ac)][_0xdd0b65]),_0x1cc0b7[_0x3d5355(0x2ae)][_0xdd0b65]&&(_0x6b4f5d[''+(_0xdd0b65+_0x6a7bd5)]=_0x1cc0b7[_0x3d5355(0x2ae)][_0xdd0b65]);}const _0xb97201=_0x353a3f[_0x3d5355(0x274)](),_0x2567c5=_0x353a3f[_0x3d5355(0x1ab)]();for(let _0x1616e5=0x0;_0x1616e5<_0xb97201;_0x1616e5++)for(let _0x4de3e0=0x0;_0x4de3e0<_0x2567c5;_0x4de3e0++){const _0x3d8e7c={...(_0x4c91b2=(_0x4cfed3=_0x353a3f[_0x3d5355(0x8b)])==null?void 0x0:_0x4cfed3[_0x1616e5])==null?void 0x0:_0x4c91b2[_0x4de3e0]};let _0x4502bf;_0x1cc0b7[_0x3d5355(0x1ac)][_0x1616e5][_0x3d5355(0xbe)]?_0x4502bf=_0x1cc0b7['info'][_0x1616e5][_0x3d5355(0x2be)]===0x0?fe[_0x3d5355(0xbc)]:fe[_0x3d5355(0x1ba)]:_0x4502bf=fe[_0x3d5355(0xac)];const _0x89a2f6=_0x1cc0b7[_0x3d5355(0x1ac)][_0x1616e5][_0x3d5355(0x29c)],_0x54d9f6=_0x5b0c17[_0x3d5355(0x1ac)][_0x4de3e0][_0x3d5355(0x29c)],_0x2cacb5=Math['max'](_0x89a2f6,_0x54d9f6),_0x4ebf7e=_0x457d06[_0x3d5355(0x68)]['valueFields'][_0x3d5355(0x111)]();let _0x37bc89='';_0x2cacb5<0x0?_0x37bc89=(_0x33e95b=_0x4ebf7e[0x0])!=null?_0x33e95b:'':_0x37bc89=(_0x444739=_0x4ebf7e[_0x2cacb5])!=null?_0x444739:'';const _0x4d016b=_0x59511c[_0x37bc89];_0x4d016b&&(_0x4502bf={..._0x4502bf,'n':{'pattern':_0x4d016b}}),_0x5d93ac['setValue'](_0x1616e5+_0x29d732,_0x4de3e0+_0x38fd3e,it(_0x8202a1,_0x3d8e7c,_0x4502bf));}return{'valueMatrix':_0x5d93ac,'rowInfo':_0xe8fbbb,'colInfo':_0x5abca1,'cornerInfo':_0x3a9a90,'rowHeaderMap':_0x6b4f5d,'colHeaderMap':_0x33c9ec};};function ht(_0x4810fb,_0x2ed4c6,_0x45a53d,_0x3b6e1d){const _0x4e231f=_0x3015f1;let _0x3e3988=_0x4810fb['v'];_0x2ed4c6&&(_0x3e3988=''+_0x3b6e1d[_0x4e231f(0x7e)]);const _0x298567=_0x4810fb['t']&&(_0x4810fb['t']&_0x1b844c['blank'])>0x0;if(_0x298567&&(_0x3e3988=''+_0x3b6e1d[_0x4e231f(0x89)]),_0x4810fb['s']===_0x256fc8['Subtotal']){let _0x42a084=_0x3e3988,_0x7feb38='';_0x587a2f(_0x3e3988)&&(_0x42a084=_0x3e3988[_0x4e231f(0x165)],_0x7feb38=_0x3e3988[_0x4e231f(0x188)]);const _0x3e7480=_0x45a53d&&!_0x298567?_0x43eff7[_0x4e231f(0x299)](_0x45a53d,Number(_0x42a084)):_0x42a084;_0x7feb38?_0x3e3988=_0x3e7480+'\x20'+_0x7feb38:_0x3e3988=_0x3e7480+'\x20'+_0x3b6e1d['sheets-pivot.subTotal'];}else _0x4810fb['s']===_0x256fc8[_0x4e231f(0xc1)]&&(_0x3e3988=_0x3e3988+'\x20'+_0x3b6e1d[_0x4e231f(0x2bb)]);return _0x3e3988;}function jo(_0x4c6da9){const _0x1e7a63=_0x3015f1;if(_0x36a29e(_0x4c6da9)){const {errorType:_0x25bc8f}=_0x4c6da9;switch(_0x25bc8f){case _0x3dfe05[_0x1e7a63(0xca)]:return _0x17465f['DIV_BY_ZERO'];case _0x3dfe05[_0x1e7a63(0x2c9)]:return _0x17465f['NUM'];case _0x3dfe05[_0x1e7a63(0x18c)]:return _0x17465f[_0x1e7a63(0x16e)];case _0x3dfe05[_0x1e7a63(0x126)]:return _0x17465f[_0x1e7a63(0x16e)];case _0x3dfe05['BadReference']:return _0x17465f['REF'];}}return _0x4c6da9;}function ge(_0x28de2f,_0x419f4f,_0x3bc0cc=!0x1,_0x1906f6=!0x1){const _0x3aea21=_0x3015f1,{data:_0x5b13c0}=_0x419f4f,_0x3d3819=_0x419f4f['getRowCount'](),_0x33d451=_0x419f4f[_0x3aea21(0x1ab)]();if(_0x3d3819<=0x0||_0x33d451<=0x0)return[];const _0xcd9e4c=_0x419f4f['getLastCol'](),_0x22554c=_0x419f4f['getLastRow'](),_0x45cca9=_0x1906f6?_0x22554c>=0x0?_0x22554c+0x1:0x0:_0x3d3819,_0x35d03b=_0x1906f6?_0xcd9e4c>=0x0?_0xcd9e4c+0x1:0x0:_0x33d451,{row:_0x23720f,col:_0x414d8b}=_0x28de2f,_0x34f267=_0x23720f,_0x23872d=_0x414d8b;if(_0x3bc0cc){const _0x24851b=[];for(const [_0x232bd0,_0x15d97b]of Object[_0x3aea21(0x267)](_0x5b13c0))for(const [_0x7f61ba,_0x4e6309]of Object[_0x3aea21(0x267)](_0x15d97b))_0x24851b['push'](_0x4a0405(_0x34f267+Number(_0x232bd0),_0x23872d+Number(_0x7f61ba)));return _0x24851b;}else{const _0x32b8fe=_0x1906f6?_0x45cca9>0x0?0x1:0x0:0x1,_0x373f45=_0x1906f6?_0x35d03b>0x0?0x1:0x0:0x1,_0x31f173=_0x23720f+_0x45cca9-_0x32b8fe,_0x11f6bb=_0x414d8b+_0x35d03b-_0x373f45;return[{'startRow':_0x34f267,'startColumn':_0x23872d,'endRow':_0x31f173,'endColumn':_0x11f6bb}];}}const H=_0x3015f1(0x74),Bt=_0x3015f1(0x228);var k=(_0xfbb397=>(_0xfbb397[_0x3015f1(0x7a)]=_0x3015f1(0x27e),_0xfbb397[_0x3015f1(0x1cf)]=_0x3015f1(0x15f),_0xfbb397['AddPivotField']='addPivotField',_0xfbb397[_0x3015f1(0x174)]=_0x3015f1(0x174),_0xfbb397[_0x3015f1(0x25b)]=_0x3015f1(0x1ea),_0xfbb397['MovePivotField']=_0x3015f1(0x1e1),_0xfbb397['RemovePivotField']=_0x3015f1(0x287),_0xfbb397[_0x3015f1(0x1d3)]=_0x3015f1(0x16f),_0xfbb397[_0x3015f1(0xd3)]='setPivotFilter',_0xfbb397['SetPivotSort']=_0x3015f1(0x1ff),_0xfbb397[_0x3015f1(0x260)]='setPivotSetting',_0xfbb397[_0x3015f1(0x23f)]='updatePivotSource',_0xfbb397[_0x3015f1(0x222)]=_0x3015f1(0x82),_0xfbb397[_0x3015f1(0x24e)]='drillDown',_0xfbb397[_0x3015f1(0x6d)]=_0x3015f1(0x2e8),_0xfbb397[_0x3015f1(0xf3)]=_0x3015f1(0x67),_0xfbb397['ResetPivotTable']=_0x3015f1(0x10f),_0xfbb397))(k||{});const Mi={'sheets-pivot.blankValue':_0x3015f1(0x28e),'sheets-pivot.columnName':_0x3015f1(0x1d8),'sheets-pivot.subTotalText':_0x3015f1(0xda),'sheets-pivot.grandTotalText':_0x3015f1(0x2d8),'sheets-pivot.valueText':_0x3015f1(0x22a),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x3015f1(0xb8),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':_0x3015f1(0x263),'sheets-pivot.minName':_0x3015f1(0x9d),'sheets-pivot.productName':_0x3015f1(0x1ae),'sheets-pivot.stdDevName':_0x3015f1(0x95),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x3015f1(0x2ef),'sheets-pivot.varName':_0x3015f1(0x2ba),'sheets-pivot.varpName':_0x3015f1(0x29f),'sheets-pivot.subTotal':_0x3015f1(0x1aa),'sheets-pivot.grandTotal':_0x3015f1(0x2d8),'sheets-pivot.value':_0x3015f1(0x188),'sheets-pivot.blank':'blank','sheets-pivot.emptyPivot.filter':_0x3015f1(0x7a),'sheets-pivot.emptyPivot.row':_0x3015f1(0x17a),'sheets-pivot.emptyPivot.column':'Column','sheets-pivot.emptyPivot.values':_0x3015f1(0x271)},To={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x20ad09('pivotPerformCheck'),Yo=_0x5068ab(_0x3015f1(0xae));var Le=(_0x595821=>(_0x595821[_0x3015f1(0x1e7)]='add',_0x595821[_0x3015f1(0x16b)]=_0x3015f1(0x16b),_0x595821[_0x3015f1(0xd2)]=_0x3015f1(0xd2),_0x595821))(Le||{}),j=(_0x29ad63=>(_0x29ad63[_0x3015f1(0xa8)]=_0x3015f1(0x1e7),_0x29ad63[_0x3015f1(0x140)]='set',_0x29ad63[_0x3015f1(0x2e2)]=_0x3015f1(0x16b),_0x29ad63))(j||{});const $o={0x0:'2',0x1:'m',0x2:'A',0x3:'F',0x4:'E',0x5:'I',0x6:'1',0x7:'0',0x8:'e',0x9:'L','I':'3','M':'4','l':'5','L':'6','H':'7','G':'8','m':'9','g':'a','S':'b','j':'c','o':'d','B':'f','e':'g','P':'h','c':'i','q':'j','V':'k','Z':'l','C':'n','E':'o','f':'p','x':'q','T':'r','Y':'s','A':'t','Q':'u','n':'v','F':'w','d':'x','W':'y','z':'z','u':'B','s':'C','O':'D','U':'G','K':'H','a':'J','D':'K','b':'M','t':'N','i':'O','v':'P','h':'Q','X':'R','N':'S','k':'T','p':'U','R':'V','y':'W','r':'X','w':'Y','J':'Z'},Wo=_0x3015f1(0x242),ro={'type':_0x3b5e73['MUTATION'],'id':_0x3015f1(0x220),'handler':()=>!0x0},lo={'type':_0x3b5e73[_0x3015f1(0x173)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},Dt={'type':_0x3b5e73[_0x3015f1(0x173)],'id':_0x3015f1(0x226),'handler':()=>!0x0},co={'type':_0x3b5e73[_0x3015f1(0x173)],'id':_0x3015f1(0x14a),'handler':()=>!0x0},uo={'type':_0x3b5e73['MUTATION'],'id':_0x3015f1(0x1b9),'handler':()=>!0x0},wi=_0x3d4a11=>{const _0x1feff5=_0x3015f1;var _0x43fb81;return((_0x43fb81=_0x3d4a11['body'])==null?void 0x0:_0x43fb81[_0x1feff5(0x106)][_0x1feff5(0x99)](/\r\n$/,''))||'';};class _i extends _0x16ee8a{constructor(_0x5065ac,_0x5af19f){const _0x107107=_0x3015f1;super(),A(this,_0x107107(0xdd),{}),A(this,_0x107107(0x1d1)),A(this,_0x107107(0x27f)),(this[_0x107107(0x1d1)]=_0x5af19f,this[_0x107107(0x27f)]=_0x5065ac);}[_0x3015f1(0x23c)](){const _0x36249a=_0x3015f1;for(const _0x5219d1 in this[_0x36249a(0x1a4)]){const _0x2bc236=this[_0x36249a(0x1a4)][_0x5219d1],_0x507621=_0x2bc236[_0x36249a(0x117)]();this[_0x36249a(0xdd)][_0x507621]=_0x2bc236[_0x36249a(0x208)]();}}[_0x3015f1(0x1da)](){const _0x446a5e=_0x3015f1,_0x325f82=this[_0x446a5e(0x27f)];return Ui[_0x446a5e(0x250)](_0x325f82);}[_0x3015f1(0x169)](_0x2ca90c){const _0x8ec08e=_0x3015f1,_0x45a78b=this[_0x8ec08e(0x1a4)][_0x2ca90c][_0x8ec08e(0x1d0)];delete this[_0x8ec08e(0x1a4)][_0x2ca90c],delete this[_0x8ec08e(0xdd)][_0x45a78b];}[_0x3015f1(0x15a)](_0x1c088c){const _0x3c7da3=_0x3015f1;this['dataFields'][_0x1c088c[_0x3c7da3(0x208)]()]=_0x1c088c;}['removeCollectionImp'](_0x28e512){const _0x6ede86=_0x3015f1;var _0x2c5e34,_0x1cb949;const _0x586cb3=this['_host'][_0x6ede86(0x122)](_0x28e512);if(_0x586cb3){const {unitId:_0x276490,subUnitId:_0x14ff88}=_0x586cb3,_0x561773=(_0x2c5e34=this['_host'][_0x6ede86(0x298)](_0x276490,_0x14ff88,_0x28e512))==null?void 0x0:_0x2c5e34[_0x6ede86(0x2eb)];this[_0x6ede86(0x27f)]['broadcastCollectionChange']({'token':_0x28e512,'type':Le[_0x6ede86(0x16b)],'dataRangeInfo':_0x561773});}(_0x1cb949=this['getCollection'](_0x28e512))==null||_0x1cb949[_0x6ede86(0x2ca)](),delete this[_0x6ede86(0x13e)][_0x28e512];}[_0x3015f1(0x117)](_0x4eab2b,_0xb9b785){const {sheetName:_0x5a29b2,unitId:_0x4903dd,range:_0x46ff01}=_0x4eab2b,{startRow:_0x361a49,endRow:_0x18ce27}=_0x46ff01;return _0x10a7c2(_0x4903dd,_0x5a29b2,{'startRow':_0x361a49,'endRow':_0x18ce27,'startColumn':_0xb9b785,'endColumn':_0xb9b785});}[_0x3015f1(0x247)](_0x93c4ff){const _0x402410=_0x3015f1;return this[_0x402410(0x1a4)][this['rangeKeyMap'][_0x93c4ff]];}[_0x3015f1(0x26a)](_0xcfface,_0x2af13e){const _0x4ed3df=_0x3015f1;this[_0x4ed3df(0xdd)][_0xcfface]=_0x2af13e;}['updateRangeKeyMap'](_0xb34bac,_0x3224ea){const _0x3b87db=_0x3015f1;this[_0x3b87db(0xdd)][_0x3224ea]=this[_0x3b87db(0xdd)][_0xb34bac],delete this[_0x3b87db(0xdd)][_0xb34bac];}[_0x3015f1(0x113)](_0x2c5ff7,_0x1d21fd,_0xa7ea92,_0x328eac){const _0xa4c0da=_0x3015f1,_0x3b250c=new _0x2432be(this);_0x3b250c[_0xa4c0da(0xbd)](_0x1d21fd);const _0x25a3f2=[];let _0x29d5ad=0x0;for(const _0xfcf140 of _0x3b250c[_0xa4c0da(0xc5)]){const _0x2e628e=this[_0xa4c0da(0x117)](_0xa7ea92,_0x29d5ad),_0x36389a=this['dataFields'][_0xfcf140];_0x36389a&&(_0x36389a[_0xa4c0da(0x1d0)]=_0x2e628e,this['setRangeKeyMap'](_0x2e628e,_0xfcf140),_0x25a3f2[_0xa4c0da(0x23e)]({'index':_0x29d5ad,'dataField':_0x36389a})),_0x29d5ad++;}return this['addCollection'](_0x2c5ff7,_0x3b250c,_0xa7ea92,_0x328eac),{'collection':_0x3b250c,'updateDataFieldList':_0x25a3f2};}[_0x3015f1(0x245)](_0x25eabf,_0x58f246){const _0x23116=_0x3015f1;return _0x25eabf['rangeType']===_0x8da310[_0x23116(0x2d9)]?{'startRow':0x0,'startColumn':_0x25eabf[_0x23116(0x28c)],'endRow':_0x58f246[_0x23116(0x274)]()-0x1,'endColumn':_0x25eabf['endColumn']}:{'startRow':_0x25eabf[_0x23116(0x2a3)],'startColumn':_0x25eabf[_0x23116(0x28c)],'endRow':_0x25eabf['endRow'],'endColumn':_0x25eabf[_0x23116(0x9a)]};}[_0x3015f1(0x1fd)](_0x5c6585){const _0x168008=_0x3015f1,{sheetName:_0x21a7a0,range:_0x13323f}=_0x5c6585,_0x41d75d=this[_0x168008(0x1d1)][_0x168008(0x239)](_0x8b7529[_0x168008(0x237)]),_0xb58979=_0x41d75d['getSheetBySheetName'](_0x21a7a0),_0x2b52fe=_0xb58979[_0x168008(0x21e)](),{startColumn:_0x2b4b9a,startRow:_0xb85bc8,endColumn:_0xe9bcbc}=this[_0x168008(0x245)](_0x13323f,_0xb58979),_0x46b993=_0x41d75d[_0x168008(0x2dc)](),_0x148e39=new _0x2432be(this);_0x148e39[_0x168008(0x2a5)](_0x5c6585);const _0xcc0a2f=[],_0x31be13={};for(let _0x4387de=_0x2b4b9a;_0x4387de<=_0xe9bcbc;_0x4387de++){const _0x35da31=_0x2b52fe[_0x168008(0x1f3)](_0xb85bc8,_0x4387de),_0x170ac6=this['getRangeKey'](_0x5c6585,_0x4387de),_0x9114c9=this[_0x168008(0x247)](_0x170ac6);if(_0x9114c9)_0x148e39['addField'](_0x9114c9['getId'](),_0x9114c9[_0x168008(0x256)]());else{const _0x802376=this['createDataFieldId']();let _0x5a1a8a=this['adjustSheetCellData'](_0x35da31,_0x46b993,_0x31be13);_0x234902(_0x5a1a8a)&&(_0x5a1a8a=_0x43eff7[_0x168008(0x299)](_0x5a1a8a['f'],Number(_0x5a1a8a['v'])));const _0xe3b206=this[_0x168008(0x2ce)](_0x5a1a8a,_0x4387de),_0x188a9a=new _0x4dff51(_0x802376,_0xe3b206,_0x3d2358(0x3));_0x188a9a[_0x168008(0x1d0)]=_0x170ac6,this['dataFields'][_0x802376]=_0x188a9a,_0x148e39[_0x168008(0x2ee)](_0x802376,_0xe3b206),_0xcc0a2f['push']({'index':_0x4387de,'dataField':_0x188a9a});}}return{'updateDataFieldList':_0xcc0a2f,'collection':_0x148e39};}[_0x3015f1(0x109)](_0x26f703){const _0x456681=_0x3015f1;return this[_0x456681(0x27f)]['getTextInfo']()['sheets-pivot.columnName']+'\x20'+_0x3b6d03(_0x26f703);}[_0x3015f1(0x2ce)](_0x15e421,_0x1f810c){const _0x4d44ff=_0x3015f1;return _0x15e421==null||_0x15e421===''?this[_0x4d44ff(0x109)](_0x1f810c):String(_0x15e421);}[_0x3015f1(0x130)](_0x306e13){const _0x1412a8=_0x3015f1;return this[_0x1412a8(0x13e)][_0x306e13];}[_0x3015f1(0x2cb)](_0x4ceb5b,_0x5cd63c,_0x18c841,_0x5e150c){const _0x5f2002=_0x3015f1;this[_0x5f2002(0x13e)][_0x4ceb5b]=_0x5cd63c,_0x5cd63c[_0x5f2002(0x2a5)](_0x18c841),this['_host'][_0x5f2002(0x265)]({'token':_0x4ceb5b,'type':Le[_0x5f2002(0x1e7)],'dataRangeInfo':_0x18c841,'targetCellInfo':_0x5e150c});}[_0x3015f1(0x1a7)](_0x42f41f,_0x1fdfef){const _0x13024f=_0x3015f1,_0xa18288=this['getCollection'](_0x42f41f),_0x4477e5=_0xa18288[_0x13024f(0x240)]();let _0x39ee37=0x0;for(const _0x57f995 of _0x4477e5){const _0x22dd84=_0xa18288[_0x13024f(0x2a8)](_0x57f995),_0x224cc6=this[_0x13024f(0x117)](_0x1fdfef,_0x39ee37);this[_0x13024f(0x177)](_0x22dd84[_0x13024f(0x1d0)],_0x224cc6),_0x39ee37++;}}[_0x3015f1(0x257)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x3015f1(0x20c)](_0x1b6932,_0x19f6f7){const _0x4d8fa0=_0x3015f1;if(this[_0x4d8fa0(0x130)](_0x1b6932)){const _0x1787b7=this[_0x4d8fa0(0x1f4)](_0x19f6f7),_0x1f7bb9=[];for(const _0x4eec86 of _0x1787b7)this['rangeKeyMap'][_0x4eec86]!==void 0x0&&_0x1f7bb9[_0x4d8fa0(0x23e)](this[_0x4d8fa0(0xdd)][_0x4eec86]);const _0x456b88=this[_0x4d8fa0(0x110)](_0x1b6932),_0x4f8704=[],_0x5e98f2=new Set(_0x1f7bb9);for(const _0x23bbff of _0x456b88)_0x5e98f2['has'](_0x23bbff)||_0x4f8704[_0x4d8fa0(0x23e)](_0x23bbff);return _0x4f8704;}}[_0x3015f1(0x2ad)](_0x2cbc6c,_0x2316a7,_0x49951c,_0xfedbcd,_0x2ef18e){const _0x159cff=_0x3015f1;return _0x2316a7&&_0x2316a7[_0x159cff(0x1f3)](_0xfedbcd,_0x2ef18e)?_0x2316a7[_0x159cff(0x1f3)](_0xfedbcd,_0x2ef18e):_0x49951c&&_0x49951c[_0x159cff(0x1f3)](_0xfedbcd,_0x2ef18e)?_0x49951c[_0x159cff(0x1f3)](_0xfedbcd,_0x2ef18e):_0x2cbc6c[_0x159cff(0x1f3)](_0xfedbcd,_0x2ef18e);}[_0x3015f1(0x282)](_0x4e6696,_0x3b7251,_0x37df80,_0x4180ef){const _0x726c22=_0x3015f1,_0x24aceb=this['dataFields'][_0x4e6696];if(!_0x24aceb)return;const {subUnitId:_0x271f3f,range:_0x48600c,unitId:_0x11f1aa}=_0x3b7251,_0x18b130=this[_0x726c22(0x1d1)][_0x726c22(0x2b9)](_0x11f1aa);if(!_0x18b130){console['error']('workbook\x20is\x20not\x20found');return;}const _0x8cb5a9=_0x18b130['getSheetBySheetId'](_0x271f3f),_0x5a8813=_0x8cb5a9[_0x726c22(0x21e)](),{arrayFormulaCellDataMatrix:_0x2a0b71,unitDataMatrix:_0x587da0}=_0x4180ef||{},{startRow:_0x1a4bd6,startColumn:_0x3d875a,endRow:_0x27da69}=this[_0x726c22(0x245)](_0x48600c,_0x8cb5a9);_0x24aceb[_0x726c22(0xd7)]();const _0x1d506d=_0x18b130[_0x726c22(0x2dc)](),_0x478c8a={},_0x598f7c=this['getMatrixValue'](_0x5a8813,_0x2a0b71,_0x587da0,_0x1a4bd6,_0x3d875a+_0x37df80);let _0xd334ef=this[_0x726c22(0x156)](_0x598f7c,_0x1d506d,_0x478c8a);_0x234902(_0xd334ef)&&(_0xd334ef=_0x43eff7['format'](_0xd334ef['f'],Number(_0xd334ef['v'])));const _0x33bed6=this[_0x726c22(0x2ce)](_0xd334ef,_0x3d875a+_0x37df80);_0x24aceb[_0x726c22(0xd4)](_0x33bed6);for(let _0x59c1ad=_0x1a4bd6+0x1;_0x59c1ad<=_0x27da69;_0x59c1ad++){const _0x3bbe9f=this['getMatrixValue'](_0x5a8813,_0x2a0b71,_0x587da0,_0x59c1ad,_0x3d875a+_0x37df80);_0x24aceb[_0x726c22(0x20a)](this[_0x726c22(0x156)](_0x3bbe9f,_0x1d506d,_0x478c8a),_0x59c1ad-0x1-_0x1a4bd6);}}[_0x3015f1(0x1f9)](_0x38026b,_0x3c3ad7,_0x3cb0fe){const _0x338495=_0x3015f1,{subUnitId:_0x7fa5f0,range:_0x311516,unitId:_0x555382}=_0x3cb0fe,_0x9ac0cf=this[_0x338495(0x1d1)][_0x338495(0x2b9)](_0x555382);if(!_0x9ac0cf){console[_0x338495(0x10b)](_0x338495(0x2a0));return;}const _0x2d47b3=_0x9ac0cf[_0x338495(0x1d7)](_0x7fa5f0),_0x3320bc=_0x2d47b3[_0x338495(0x21e)](),{startRow:_0x22fbdf,startColumn:_0x4fa945,endRow:_0x478dc2}=this[_0x338495(0x245)](_0x311516,_0x2d47b3),_0x3eef37=_0x9ac0cf[_0x338495(0x2dc)](),_0x4b35df={};for(const {dataField:_0x280c8f,index:_0x43ba55}of _0x3c3ad7){_0x280c8f[_0x338495(0xd7)]();const _0x1994bf=this[_0x338495(0x2ad)](_0x3320bc,void 0x0,void 0x0,_0x22fbdf,_0x4fa945+_0x43ba55);let _0x395c1a=this[_0x338495(0x156)](_0x1994bf,_0x3eef37,_0x4b35df);_0x234902(_0x395c1a)&&(_0x395c1a=_0x43eff7[_0x338495(0x299)](_0x395c1a['f'],Number(_0x395c1a['v'])));const _0x15ed6f=this[_0x338495(0x2ce)](_0x395c1a,_0x4fa945+_0x43ba55);_0x280c8f[_0x338495(0xd4)](_0x15ed6f);}_0x38026b[_0x338495(0x1ca)]();for(let _0x284717=_0x22fbdf+0x1;_0x284717<=_0x478dc2;_0x284717++)for(const {index:_0x21f2b8,dataField:_0x54bb52}of _0x3c3ad7){const _0x178c00=_0x3320bc[_0x338495(0x1f3)](_0x284717,_0x4fa945+_0x21f2b8);_0x54bb52[_0x338495(0x20a)](this[_0x338495(0x156)](_0x178c00,_0x3eef37,_0x4b35df),_0x284717-0x1-_0x22fbdf);}_0x38026b[_0x338495(0x76)](_0x478dc2-_0x22fbdf);}[_0x3015f1(0x1f4)](_0x561c8e){const _0xe100d4=_0x3015f1,{range:_0x398e49}=_0x561c8e,{startColumn:_0x30fd29,endColumn:_0x21473d}=_0x398e49,_0x2cf1f7=[];for(let _0x22cbeb=_0x30fd29;_0x22cbeb<=_0x21473d;_0x22cbeb++)_0x2cf1f7[_0xe100d4(0x23e)](this['getRangeKey'](_0x561c8e,_0x22cbeb));return _0x2cf1f7;}[_0x3015f1(0x156)](_0x485742,_0x2ef838,_0x3596cd){const _0x221454=_0x3015f1;if(_0x485742){const {s:_0x4f7be4,v:_0x23b582,t:_0x195d1c,p:_0x45dc3c}=_0x485742;if(_0x45dc3c)return wi(_0x45dc3c);const _0x5626aa=_0x2ef838[_0x221454(0x1c7)](_0x4f7be4);if(_0x5626aa&&_0x195d1c===_0x244c9b[_0x221454(0x288)]&&_0x5626aa['n']){const {pattern:_0x257c83}=_0x5626aa['n'];_0x3596cd[_0x257c83]||(_0x3596cd[_0x257c83]=_0x43eff7[_0x221454(0x2d0)](_0x257c83));const _0x361770=_0x3596cd[_0x257c83],_0x31ecfd=_0x361770[_0x221454(0x1cd)];if(_0x361770[_0x221454(0x118)])return String(_0x23b582);if(_0x31ecfd)return{'v':_0x23b582,'f':_0x257c83};}if(_0x195d1c===_0x244c9b['NUMBER'])return Number(_0x23b582);if(_0x195d1c===_0x244c9b[_0x221454(0x114)]||_0x195d1c===_0x244c9b[_0x221454(0x27a)])return String(_0x23b582);if(_0x195d1c===void 0x0){const _0xe52fc6=Number(_0x23b582);if(!Number[_0x221454(0x1d2)](_0xe52fc6)&&String(_0xe52fc6)===_0x23b582)return _0xe52fc6;}return _0x23b582!=null?_0x23b582:null;}else return null;}['getRangeData'](_0x1234dd){const _0x21dd51=_0x3015f1,{sheetName:_0x585f07,range:_0x4cf1de,unitId:_0x11a1fb}=_0x1234dd,_0x23f731=this[_0x21dd51(0x1d1)]['getUnit'](_0x11a1fb);if(!_0x23f731)return console[_0x21dd51(0x10b)](_0x21dd51(0x2a0)),{'header':[],'data':[]};const _0x483cae=_0x23f731[_0x21dd51(0x221)](_0x585f07),_0x418602=_0x483cae[_0x21dd51(0x21e)](),{startRow:_0x58e8fc,startColumn:_0x1db31c,endRow:_0x31c261,endColumn:_0xdf8d43}=this['getRangeStartEndInfo'](_0x4cf1de,_0x483cae),_0x213bab=_0x23f731[_0x21dd51(0x2dc)](),_0x1a6a4c=[],_0x382a8e=[],_0x5cc271={};for(let _0x4de6b9=_0x58e8fc;_0x4de6b9<=_0x31c261;_0x4de6b9++){const _0x312999=[];for(let _0x26c6ad=_0x1db31c;_0x26c6ad<=_0xdf8d43;_0x26c6ad++){const _0x262818=_0x418602['getValue'](_0x4de6b9,_0x26c6ad);_0x4de6b9===_0x58e8fc?_0x1a6a4c[_0x21dd51(0x23e)](_0x262818==null?null:String(_0x262818['v'])):_0x312999[_0x21dd51(0x23e)](this[_0x21dd51(0x156)](_0x262818,_0x213bab,_0x5cc271));}_0x382a8e['push'](_0x312999);}return{'header':_0x1a6a4c,'data':_0x382a8e};}['toJSON'](){const _0x45e3b7=_0x3015f1;return super[_0x45e3b7(0x202)]();}[_0x3015f1(0xbd)](_0x130214){const _0x1a79d1=_0x3015f1;super[_0x1a79d1(0xbd)](_0x130214),this[_0x1a79d1(0x23c)]();}[_0x3015f1(0x2ca)](){const _0xa7bf9=_0x3015f1;super[_0xa7bf9(0x2ca)](),this['rangeKeyMap']={},this[_0xa7bf9(0x27f)]=null;}}const Fi=_0x43c614=>{const _0x1c1aed=_0x3015f1,{targetCellInfo:_0x24927e}=_0x43c614,{matrixCache:_0x2ac614,rangesCache:_0x24297c}=Jo({'filter':_0x1c1aed(0x7a),'row':_0x1c1aed(0x17a),'column':_0x1c1aed(0x234),'values':_0x1c1aed(0x271)},_0x24927e),_0x4ded25=new _0x5718da();return _0x2ac614['forValue']((_0x4d9007,_0x32fbfe,_0x1b0499)=>{const _0x13407d=_0x1c1aed;_0x4ded25[_0x13407d(0xb7)](_0x4d9007,_0x32fbfe,_0x1b0499);}),{'matrix':_0x4ded25,'rangesCache':_0x24297c};},st=_0x4e404b=>{const _0x3de695=_0x3015f1;let _0x29533a;if(_0x4e404b!=null&&_0x4e404b['v']||(_0x4e404b==null?void 0x0:_0x4e404b['v'])===0x0){_0x29533a||(_0x29533a={});const _0xcdb690=jo(_0x4e404b['v']);typeof _0xcdb690=='number'?_0x29533a['t']=_0x244c9b[_0x3de695(0x288)]:typeof _0xcdb690==_0x3de695(0x21b)&&(_0x29533a['t']=_0x244c9b[_0x3de695(0x114)]),_0x29533a['v']=_0xcdb690;}return _0x29533a;},Ri=(_0x19bd8a,_0x5ed139,_0x3f8269)=>{const _0x38cb9a=_0x3015f1;var _0x4d93d0,_0x37437d,_0x5cbd1a,_0x12afac,_0x5d80be,_0x5b051c,_0x16a130,_0x44d6e0,_0x524049,_0x35e1d0,_0x268419,_0x453d2a;const {cornerView:_0x313b51,rowView:_0x240365,colView:_0x57d688,dataView:_0x1edb5a,pageView:_0x25f769,formatMap:_0x4256b6}=_0x19bd8a,{row:_0xd15fa8,col:_0x4de2bb}=_0x5ed139,_0x130309=new _0x5718da();let _0x17b6ee=_0xd15fa8,_0x3a8ca7=_0x4de2bb;Object[_0x38cb9a(0x1bc)](_0x25f769[_0x38cb9a(0x8b)])[_0x38cb9a(0x14e)](_0x4c4af8=>{const _0x5607d4=_0x38cb9a;Object[_0x5607d4(0x1bc)](_0x25f769[_0x5607d4(0x8b)][Number(_0x4c4af8)])[_0x5607d4(0x14e)](_0x2f6951=>{const _0x3c7105=_0x5607d4,_0x3dc224={..._0x25f769[_0x3c7105(0x8b)][Number(_0x4c4af8)][Number(_0x2f6951)]};_0x130309[_0x3c7105(0xb7)](Number(_0x4c4af8)+_0x17b6ee,Number(_0x2f6951)+_0x3a8ca7,st(_0x3dc224));});});const _0x4c3ad2=Object['keys'](_0x25f769[_0x38cb9a(0x8b)])[_0x38cb9a(0x290)];_0x17b6ee+=_0x4c3ad2+(_0x4c3ad2?mt:0x0);const _0x2e92fc=_0x313b51[_0x38cb9a(0x274)](),_0x5ea93a=_0x313b51['getColCount']();for(let _0xd4bd7a=0x0;_0xd4bd7a<_0x2e92fc;_0xd4bd7a++)for(let _0x225bc6=0x0;_0x225bc6<_0x5ea93a;_0x225bc6++){const _0x4178af={...(_0x37437d=(_0x4d93d0=_0x313b51[_0x38cb9a(0x8b)])==null?void 0x0:_0x4d93d0[_0xd4bd7a])==null?void 0x0:_0x37437d[_0x225bc6]};_0x4178af&&((_0x5cbd1a=_0x240365['headerMap'][_0x225bc6])!=null&&_0x5cbd1a[_0x38cb9a(0x25f)])&&_0x225bc6===_0x5ea93a-0x1&&_0xd4bd7a===_0x2e92fc-0x1&&(_0x4178af['v']=''+_0x3f8269[_0x38cb9a(0x7e)]),_0x130309[_0x38cb9a(0xb7)](_0xd4bd7a+_0x17b6ee,_0x225bc6+_0x3a8ca7,st(_0x4178af));}_0x3a8ca7+=_0x5ea93a;const _0x4caf2a=_0x57d688[_0x38cb9a(0x2ae)],_0x524950=_0x57d688['getLastRow']()>=0x0?_0x57d688['getLastRow']()+0x1:0x0,_0x33ff09=_0x57d688[_0x38cb9a(0x179)]()>=0x0?_0x57d688[_0x38cb9a(0x179)]()+0x1:0x0;for(let _0x2bf5ab=0x0;_0x2bf5ab<_0x33ff09;_0x2bf5ab++)for(let _0x4ba8dc=0x0;_0x4ba8dc<_0x524950;_0x4ba8dc++){const _0x4cb825={...(_0x5d80be=(_0x12afac=_0x57d688[_0x38cb9a(0x8b)])==null?void 0x0:_0x12afac[_0x2bf5ab])==null?void 0x0:_0x5d80be[_0x4ba8dc]},_0x1b6626=(_0x5b051c=_0x4caf2a[_0x2bf5ab])==null?void 0x0:_0x5b051c[_0x38cb9a(0x29d)],_0x3a411c=_0x4256b6[_0x1b6626];_0x4cb825&&(_0x4cb825['v']=ht(_0x4cb825,_0x2bf5ab===0x0&&((_0x16a130=_0x57d688['getHeaderMapItem'](_0x4ba8dc+0x1))==null?void 0x0:_0x16a130['isValue']),_0x3a411c,_0x3f8269)),_0x130309[_0x38cb9a(0xb7)](_0x2bf5ab+_0x17b6ee,_0x4ba8dc+_0x3a8ca7,st(_0x4cb825));}_0x17b6ee+=_0x2e92fc;const _0x27ce12=_0x240365[_0x38cb9a(0x2ae)],_0x10a1db=_0x240365[_0x38cb9a(0x1c2)]()>=0x0?_0x240365['getLastRow']()+0x1:0x0,_0x212e7b=_0x240365[_0x38cb9a(0x179)]()>=0x0?_0x240365[_0x38cb9a(0x179)]()+0x1:0x0;for(let _0x1b8d93=0x0;_0x1b8d93<_0x10a1db;_0x1b8d93++)for(let _0x5776af=0x0;_0x5776af<_0x212e7b;_0x5776af++){const _0x60c709={...(_0x524049=(_0x44d6e0=_0x240365[_0x38cb9a(0x8b)])==null?void 0x0:_0x44d6e0[_0x1b8d93])==null?void 0x0:_0x524049[_0x5776af]},_0x14fd32=(_0x35e1d0=_0x27ce12[_0x5776af])==null?void 0x0:_0x35e1d0[_0x38cb9a(0x29d)],_0x233d67=_0x4256b6[_0x14fd32];_0x60c709&&(_0x60c709['v']=ht(_0x60c709,!0x1,_0x233d67,_0x3f8269)),_0x130309['setValue'](_0x1b8d93+_0x17b6ee,_0x5776af+_0x4de2bb,st(_0x60c709));}const _0x361bf0=_0x1edb5a[_0x38cb9a(0x274)](),_0x22da89=_0x1edb5a[_0x38cb9a(0x1ab)]();for(let _0x54c947=0x0;_0x54c947<_0x361bf0;_0x54c947++)for(let _0x4da7ec=0x0;_0x4da7ec<_0x22da89;_0x4da7ec++){const _0x4b245e={...(_0x453d2a=(_0x268419=_0x1edb5a[_0x38cb9a(0x8b)])==null?void 0x0:_0x268419[_0x54c947])==null?void 0x0:_0x453d2a[_0x4da7ec]};_0x130309[_0x38cb9a(0xb7)](_0x54c947+_0x17b6ee,_0x4da7ec+_0x3a8ca7,st(_0x4b245e));}return _0x130309;},Di=_0x5d1a0=>{const _0xcbee6a=_0x3015f1,{view:_0x5e6009,targetCellInfo:_0x34a79b,isEmpty:_0x5156c7,textInfo:_0x1a4d95}=_0x5d1a0;if(_0x5156c7)return Fi(_0x5d1a0);const {pageView:_0x2a440b,cornerView:_0x14a63e,rowView:_0x1ac8e1,colView:_0x39ea6e,dataView:_0xb44cbb}=_0x5e6009,_0x2aea7e=ge(_0x34a79b,_0x2a440b,!0x0),_0x39cc36=_0x2a440b[_0xcbee6a(0x12e)]>=0x0?_0x2a440b['lastRow']+0x1:0x0,_0x14bc27=_0x14a63e['getRowCount'](),_0x175f79=_0x14a63e[_0xcbee6a(0x1ab)](),_0x32446b=_0x2aea7e['length']>0x0?mt:0x0,_0x4c5d49=ge({'row':_0x34a79b[_0xcbee6a(0x291)]+_0x39cc36+_0x32446b,'col':_0x34a79b[_0xcbee6a(0x23d)]},_0x14a63e,!0x1,!0x1),_0x4bf3de=ge({'row':_0x34a79b[_0xcbee6a(0x291)]+_0x39cc36+_0x32446b+_0x14bc27,'col':_0x34a79b[_0xcbee6a(0x23d)]},_0x1ac8e1,!0x1,!0x0),_0x40353a=ge({'row':_0x34a79b[_0xcbee6a(0x291)]+_0x39cc36+_0x32446b,'col':_0x34a79b[_0xcbee6a(0x23d)]+_0x175f79},_0x39ea6e,!0x1,!0x0),_0x1afb2f=ge({'row':_0x34a79b[_0xcbee6a(0x291)]+_0x39cc36+_0x32446b+_0x14bc27,'col':_0x34a79b[_0xcbee6a(0x23d)]+_0x175f79},_0xb44cbb,!0x1,!0x1),_0x4ae60c={'rowRanges':_0x4bf3de,'colRanges':_0x40353a,'cornerRanges':_0x4c5d49,'dataRanges':_0x1afb2f,'pageRanges':_0x2aea7e};return{'matrix':Ri(_0x5e6009,_0x34a79b,_0x1a4d95),'rangesCache':_0x4ae60c};};var Ni=Object[_0x3015f1(0x1a8)],Ei=(_0x1c489b,_0x5b53c7,_0x4ee81d,_0x5593fb)=>{const _0x28e950=_0x3015f1;for(var _0x561eba=_0x5593fb>0x1?void 0x0:_0x5593fb?Ni(_0x5b53c7,_0x4ee81d):_0x5b53c7,_0x2cf841=_0x1c489b[_0x28e950(0x290)]-0x1,_0x14c027;_0x2cf841>=0x0;_0x2cf841--)(_0x14c027=_0x1c489b[_0x2cf841])&&(_0x561eba=_0x14c027(_0x561eba)||_0x561eba);return _0x561eba;},Ge=(_0x112d93,_0x3c210c)=>(_0x28b663,_0x26c2cd)=>_0x3c210c(_0x28b663,_0x26c2cd,_0x112d93);let Y=class extends _0x434a0e{constructor(_0x5a0266,_0x2c817e,_0x2346fa,_0x5e980f,_0x3364f9,_0x3e0a9e){const _0x347cde=_0x3015f1;super(),A(this,_0x347cde(0x14c),new Map()),A(this,_0x347cde(0x24f),new Map()),A(this,_0x347cde(0x1af),new Map()),A(this,_0x347cde(0x2d6)),A(this,_0x347cde(0x10c),new _0x4a95ea()),A(this,_0x347cde(0xfc),this[_0x347cde(0x10c)][_0x347cde(0x233)]()),A(this,'_viewData$',new _0x4a95ea()),A(this,'viewData$',this[_0x347cde(0x178)][_0x347cde(0x233)]()),A(this,_0x347cde(0x26b),new _0x4a95ea()),A(this,_0x347cde(0x79),this['_fieldsCollectionChange$']['asObservable']()),A(this,_0x347cde(0xa3),new Map()),A(this,'needSameDeleteModel',[]),A(this,_0x347cde(0x22b),new Map()),(this['_injector']=_0x5a0266,this[_0x347cde(0x1d1)]=_0x2c817e,this[_0x347cde(0xb5)]=_0x2346fa,this['_configService']=_0x5e980f,this[_0x347cde(0x27d)]=_0x3364f9,this['_resourceManagerService']=_0x3e0a9e,this['_initSnapshot']());}['getTextInfo'](){const _0x3581ae=_0x3015f1;return this[_0x3581ae(0x2d6)]?this[_0x3581ae(0x2d6)]:Mi;}[_0x3015f1(0x1fc)](_0x523e7e){const _0x22326e=_0x3015f1;this[_0x22326e(0x2d6)]=_0x523e7e;}[_0x3015f1(0x1a7)](_0x316e23){const _0x1c6529=_0x3015f1;var _0x16c39;const {from:_0xf43621,to:_0x53ed81,unitId:_0x6da65c,fromRange:_0x11d4bb,toRange:_0x59c01c}=_0x316e23;if(_0xf43621&&_0x53ed81){const _0x32f5b8=this[_0x1c6529(0x29b)](_0x6da65c),_0x5b62a3=this[_0x1c6529(0x14c)]['get'](_0x6da65c),_0xf86d31=(_0x16c39=this['_univerInstanceService'][_0x1c6529(0x2b9)](_0x6da65c))==null?void 0x0:_0x16c39['getSheetBySheetId'](_0x53ed81[_0x1c6529(0xeb)]);if(!_0x5b62a3||!_0xf86d31)return;const _0x85269a=_0xf86d31==null?void 0x0:_0xf86d31['getName']();for(const [_0x3c9944,_0x245e85]of _0x5b62a3['entries']())for(const [_0x37dff5,_0x26498e]of _0x245e85[_0x1c6529(0x267)]()){const {sourceRangeInfo:_0x2f0d8f}=_0x26498e;if(_0x2f0d8f[_0x1c6529(0x183)]===_0x6da65c&&_0x2f0d8f[_0x1c6529(0xeb)]===_0xf43621[_0x1c6529(0xeb)]&&_0x2d61f8[_0x1c6529(0x2e0)](_0x11d4bb,_0x2f0d8f[_0x1c6529(0x10e)])){const _0x19b10b={'row':_0x2f0d8f['range'][_0x1c6529(0x2a3)]-_0x11d4bb[_0x1c6529(0x2a3)],'col':_0x2f0d8f['range'][_0x1c6529(0x28c)]-_0x11d4bb['startColumn']},_0x21b110={'unitId':_0x6da65c,'subUnitId':_0x53ed81[_0x1c6529(0xeb)],'sheetName':_0x85269a,'range':{'startRow':_0x59c01c[_0x1c6529(0x2a3)]+_0x19b10b[_0x1c6529(0x291)],'endRow':_0x59c01c[_0x1c6529(0x2a3)]+_0x19b10b[_0x1c6529(0x291)]+_0x2f0d8f['range'][_0x1c6529(0x1dc)]-_0x2f0d8f[_0x1c6529(0x10e)]['startRow'],'startColumn':_0x59c01c[_0x1c6529(0x28c)]+_0x19b10b[_0x1c6529(0x23d)],'endColumn':_0x59c01c[_0x1c6529(0x28c)]+_0x19b10b[_0x1c6529(0x23d)]+_0x2f0d8f[_0x1c6529(0x10e)][_0x1c6529(0x9a)]-_0x2f0d8f[_0x1c6529(0x10e)]['startColumn']}};_0x32f5b8[_0x1c6529(0x1a7)](_0x37dff5,_0x21b110);const _0x51828f={..._0x26498e,'sourceRangeInfo':_0x21b110};this[_0x1c6529(0x2f0)](_0x6da65c,_0x53ed81['subUnitId'],_0x37dff5,_0x51828f),this['broadcastCollectionChange']({'unitId':_0x6da65c,'token':_0x37dff5,'type':Le[_0x1c6529(0xd2)],'oldSourceRangeInfo':_0x2f0d8f,'dataRangeInfo':_0x21b110,'targetCellInfo':_0x26498e[_0x1c6529(0xa7)]}),this[_0x1c6529(0x11c)]({'unitId':_0x6da65c,'subUnitId':_0x53ed81[_0x1c6529(0xeb)],'oldSubUnitId':_0x3c9944,'pivotTableId':_0x37dff5,'pivotTableConfig':_0x51828f,'collectionConfig':_0x32f5b8['toJSON']()});}}}}[_0x3015f1(0x265)](_0x4be9d0){const _0x2c7d9b=_0x3015f1;this[_0x2c7d9b(0x10c)][_0x2c7d9b(0x123)](_0x4be9d0);}[_0x3015f1(0x29b)](_0x25281a){const _0x16e086=_0x3015f1;let _0xeb313c=this['_dataFieldManagerCollection'][_0x16e086(0x1c7)](_0x25281a);return _0xeb313c||(_0xeb313c=new _i(this,this['_univerInstanceService']),this['_dataFieldManagerCollection'][_0x16e086(0x133)](_0x25281a,_0xeb313c)),_0xeb313c;}[_0x3015f1(0x130)](_0x353a58,_0x180e87){const _0x2eb0b3=_0x3015f1;return this[_0x2eb0b3(0x29b)](_0x353a58)[_0x2eb0b3(0x13e)][_0x180e87];}['getUpdateRangeDeleteIds'](_0x5979d4,_0x56bd43,_0x13b7b6){const _0x521157=_0x3015f1;return this[_0x521157(0x29b)](_0x5979d4)['getUpdateRangeDeleteIds'](_0x56bd43,_0x13b7b6);}[_0x3015f1(0x7d)](_0xae27bf,_0x4a5a15){const _0xa9c91d=_0x3015f1;let _0x35dff1=this['_model'][_0xa9c91d(0x1c7)](_0xae27bf);_0x35dff1||(_0x35dff1=new Map(),this['_model'][_0xa9c91d(0x133)](_0xae27bf,_0x35dff1));let _0x2fd544=_0x35dff1[_0xa9c91d(0x1c7)](_0x4a5a15);return _0x2fd544||(_0x2fd544=new Map(),_0x35dff1['set'](_0x4a5a15,_0x2fd544)),_0x2fd544;}[_0x3015f1(0x2f0)](_0x18db81,_0x22d80a,_0x1d4ea9,_0x240881){const _0x416a5a=_0x3015f1;this[_0x416a5a(0x7d)](_0x18db81,_0x22d80a)[_0x416a5a(0x133)](_0x1d4ea9,_0x240881);}['_deleteModelCache'](_0x35e408,_0x33b6ff,_0x36c32b){const _0x467d24=_0x3015f1;var _0x4e65bc,_0x16e56f,_0x2a85cf,_0x1e3f4b;((_0x16e56f=(_0x4e65bc=this[_0x467d24(0x14c)][_0x467d24(0x1c7)](_0x35e408))==null?void 0x0:_0x4e65bc[_0x467d24(0x1c7)](_0x33b6ff))==null?void 0x0:_0x16e56f[_0x467d24(0x1c7)](_0x36c32b))&&((_0x1e3f4b=(_0x2a85cf=this['_model'][_0x467d24(0x1c7)](_0x35e408))==null?void 0x0:_0x2a85cf[_0x467d24(0x1c7)](_0x33b6ff))==null||_0x1e3f4b[_0x467d24(0x16b)](_0x36c32b));}['_updatePivotTableInstanceCache'](_0x4d1cba,_0x5eb4e8){const _0x10c41b=_0x3015f1;this[_0x10c41b(0x24f)][_0x10c41b(0x133)](_0x4d1cba,_0x5eb4e8);}['_deletePivotTableInstanceCache'](_0x369439){const _0x33789e=_0x3015f1;this[_0x33789e(0x24f)][_0x33789e(0x16b)](_0x369439);}[_0x3015f1(0x2ab)](_0x18900d,_0x527e02){const _0x2f65d1=_0x3015f1;let _0x167698=this['_viewData']['get'](_0x18900d);_0x167698||(_0x167698=new Map(),this['_viewData'][_0x2f65d1(0x133)](_0x18900d,_0x167698));let _0x4e3564=_0x167698[_0x2f65d1(0x1c7)](_0x527e02);return _0x4e3564||(_0x4e3564=new Map(),_0x167698[_0x2f65d1(0x133)](_0x527e02,_0x4e3564)),_0x4e3564;}[_0x3015f1(0x11c)](_0x1e8ba9){const _0x37a0d5=_0x3015f1,{unitId:_0x3a6888,subUnitId:_0x2c5e65,pivotTableId:_0x13e2ed,pivotTableConfig:_0x56a7d9,collectionConfig:_0x4a260e}=_0x1e8ba9,_0x4edf94={'unitId':_0x3a6888,'subUnitId':_0x2c5e65,'oldSubUnitId':_0x2c5e65,'pivotTableId':_0x13e2ed,'pivotTableConfig':_0x56a7d9,'collectionConfig':_0x4a260e};this[_0x37a0d5(0x27d)][_0x37a0d5(0x102)](co['id'],_0x4edf94,{'onlyLocal':!0x0});}[_0x3015f1(0x7b)](_0x183c90,_0x4c2c0c,_0x3092f0,_0x2022a3,_0x4fa017,_0x2fa917,_0x469866,_0x2e2da4=!0x1){const _0xd2292d=_0x3015f1;var _0x48b43c;this['_commandService'][_0xd2292d(0x102)](Dt['id'],{'single':{'unitId':_0x183c90,'subUnitId':_0x4c2c0c,'type':_0x3092f0,'pivotTableId':_0x2022a3,'view':_0x4fa017,'pivotConfig':_0x2fa917},'collectionConfig':{[_0x183c90]:_0x469866}},{'onlyLocal':!0x0});const _0x513bce=!!((_0x48b43c=this['getPivotTableInstance'](_0x2022a3))!=null&&_0x48b43c[_0xd2292d(0x201)]()),_0x2dd19a=this[_0xd2292d(0x298)](_0x183c90,_0x4c2c0c,_0x2022a3);_0x2dd19a&&this[_0xd2292d(0x1bf)]({'view':_0x4fa017,'pivotTableId':_0x2022a3,'textInfo':this[_0xd2292d(0x227)](),'isEmpty':_0x513bce,'targetCellInfo':_0x2dd19a[_0xd2292d(0xa7)]},_0x2e2da4);}['updateViewData'](_0x5060bb,_0x5efce9){const _0x1d1a92=_0x3015f1,{targetCellInfo:_0x19ba0f,pivotTableId:_0x35725d}=_0x5060bb,{unitId:_0x270ee8,subUnitId:_0x1991a0}=_0x19ba0f,_0x5da34a=this['_ensureViewDataMap'](_0x270ee8,_0x1991a0),_0x58e89e=_0x5da34a['get'](_0x35725d);let _0x46feec,_0x5a7797;_0x58e89e&&(_0x46feec=_0x58e89e[_0x1d1a92(0x296)],_0x5a7797=_0x58e89e[_0x1d1a92(0xf8)]);const {rangesCache:_0x5d5ba6,matrix:_0xe45616}=Di(_0x5060bb);_0x5da34a[_0x1d1a92(0x133)](_0x35725d,{'rangeCache':_0x5d5ba6,'matrix':_0xe45616,'oldMatrix':_0x5a7797,'oldRangeCache':_0x46feec}),_0x5efce9||this[_0x1d1a92(0x178)][_0x1d1a92(0x123)]({'unitId':_0x270ee8,'subUnitId':_0x1991a0,'pivotTableId':_0x35725d});}[_0x3015f1(0x1ea)](_0x479bcb,_0x127622,_0x471e8e,_0xf1aa93,_0x4a809d){const _0xf0e15d=_0x3015f1;this[_0xf0e15d(0x2f0)](_0x479bcb,_0x127622,_0x471e8e,_0x4a809d),this[_0xf0e15d(0x2b8)](_0x471e8e,_0xf1aa93);}[_0x3015f1(0x293)](_0x40f976,_0x57d3ef,_0x593683){const _0x33b341=_0x3015f1,_0x2a5621=this[_0x33b341(0x29b)](_0x40f976);_0x2a5621[_0x33b341(0x110)](_0x593683)[_0x33b341(0x14e)](_0x8d4f1d=>{const _0x460389=_0x33b341;_0x2a5621[_0x460389(0x169)](_0x8d4f1d);}),this['removeCollections'](_0x40f976,_0x593683),this[_0x33b341(0x17e)](_0x40f976,_0x57d3ef,_0x593683),this[_0x33b341(0x12c)](_0x593683);}[_0x3015f1(0x248)](_0x3eb995,_0x1f9eec,_0x33873a,_0x5af2ad){this['_updateModelCache'](_0x3eb995,_0x1f9eec,_0x33873a,_0x5af2ad);}['getPivotTableConfig'](_0x15494a,_0xe535fe,_0x53922f){const _0x26796e=_0x3015f1;var _0x4d49b1,_0x5cc1c6;const _0x41c5ec=(_0x5cc1c6=(_0x4d49b1=this['_model'][_0x26796e(0x1c7)](_0x15494a))==null?void 0x0:_0x4d49b1[_0x26796e(0x1c7)](_0xe535fe))==null?void 0x0:_0x5cc1c6[_0x26796e(0x1c7)](_0x53922f);if(_0x41c5ec)return _0x41c5ec;}['getPivotTableModelConfig'](_0x5117f4,_0x5e22fe,_0x5170e7){const _0xaf519f=_0x3015f1;var _0x13b3c2,_0x298300;const _0x514db5=(_0x298300=(_0x13b3c2=this[_0xaf519f(0x14c)]['get'](_0x5117f4))==null?void 0x0:_0x13b3c2[_0xaf519f(0x1c7)](_0x5e22fe))==null?void 0x0:_0x298300[_0xaf519f(0x1c7)](_0x5170e7);if(_0x514db5)return _0x514db5[_0xaf519f(0x68)];}[_0x3015f1(0x119)](_0x9c155d){const _0xfe5b29=_0x3015f1;return this[_0xfe5b29(0x24f)][_0xfe5b29(0x1c7)](_0x9c155d);}['deleteUnitId'](_0x42c90d){const _0x32378e=_0x3015f1;this['_model'][_0x32378e(0x16b)](_0x42c90d);const _0x330d76=this[_0x32378e(0xa3)]['get'](_0x42c90d);_0x330d76&&(_0x330d76['dispose'](),this[_0x32378e(0xa3)]['delete'](_0x42c90d)),this[_0x32378e(0x1af)][_0x32378e(0x16b)](_0x42c90d),this[_0x32378e(0x162)][_0x32378e(0x14e)](_0x380ab3=>{const _0x1022f7=_0x32378e;_0x380ab3[_0x1022f7(0x262)](_0x42c90d);});}['addCollectionByJSON'](_0x171ab3,_0x4e228f,_0x82e1ed,_0x257513){const _0x20dccf=_0x3015f1;return this[_0x20dccf(0x29b)](_0x82e1ed[_0x20dccf(0x183)])[_0x20dccf(0x113)](_0x171ab3,_0x4e228f,_0x82e1ed,_0x257513);}[_0x3015f1(0x1fd)](_0x120bdd){const _0x26e484=_0x3015f1;return this[_0x26e484(0x29b)](_0x120bdd['unitId'])[_0x26e484(0x1fd)](_0x120bdd);}['refreshData'](_0x5e2bc5,_0x4c1548,_0x3a49aa){const _0x1522a6=_0x3015f1;this[_0x1522a6(0x29b)](_0x3a49aa['unitId'])[_0x1522a6(0x1f9)](_0x5e2bc5,_0x4c1548,_0x3a49aa);}[_0x3015f1(0x25a)](_0x51bb52,_0x3de85b){const _0x3b530c=_0x3015f1;this[_0x3b530c(0x29b)](_0x51bb52)['deleteDataField'](_0x3de85b);}[_0x3015f1(0x1be)](_0x21c3dd,_0x144695){const _0x5d55f6=_0x3015f1;this[_0x5d55f6(0x29b)](_0x21c3dd)['removeCollectionImp'](_0x144695);}[_0x3015f1(0x27b)](_0xaf548a,_0x29a56d){const _0x1b2224=_0x3015f1;var _0x3b8996;return(_0x3b8996=this[_0x1b2224(0x14c)][_0x1b2224(0x1c7)](_0xaf548a))==null?void 0x0:_0x3b8996[_0x1b2224(0x1c7)](_0x29a56d);}[_0x3015f1(0x122)](_0x30190d){const _0x261f38=_0x3015f1;for(const [_0x5bc862,_0x37dc37]of this[_0x261f38(0x14c)][_0x261f38(0x267)]())for(const [_0x90e8e1,_0x298dfb]of _0x37dc37[_0x261f38(0x267)]())if(_0x298dfb[_0x261f38(0x9f)](_0x30190d))return{'unitId':_0x5bc862,'subUnitId':_0x90e8e1};return null;}['sideEffectUpdateWorkerCache'](_0xac1348,_0x632c90,_0x1cdf27,_0x37d3dc){const _0x2a3c21=_0x3015f1,_0x80b4=this['_ensureViewDataMap'](_0xac1348,_0x632c90);_0x37d3dc?_0x80b4[_0x2a3c21(0x133)](_0x1cdf27,_0x37d3dc):_0x80b4['delete'](_0x1cdf27),this[_0x2a3c21(0x178)][_0x2a3c21(0x123)]({'unitId':_0xac1348,'subUnitId':_0x632c90,'pivotTableId':_0x1cdf27});}['dispose'](){super['dispose']();}[_0x3015f1(0xad)](_0x22a984,_0x3a5859,_0x23ae14){const _0x4800be=_0x3015f1;var _0x36abf6,_0x1cd0f2;const _0x3ec538=(_0x1cd0f2=(_0x36abf6=this[_0x4800be(0x1af)][_0x4800be(0x1c7)](_0x22a984))==null?void 0x0:_0x36abf6[_0x4800be(0x1c7)](_0x3a5859))==null?void 0x0:_0x1cd0f2[_0x4800be(0x1c7)](_0x23ae14);return _0x3ec538||null;}[_0x3015f1(0x25d)](_0x49df74){this['updateDirtyPivotTable'](_0x49df74);}[_0x3015f1(0x2d4)](_0x5eb960){const _0x10d4a8=_0x3015f1,{token:_0x222834,unitId:_0x354fa9,subUnitId:_0x261150}=_0x5eb960,_0x218119=_0x354fa9+'-'+_0x261150+'-'+_0x222834;this[_0x10d4a8(0x22b)][_0x10d4a8(0x1c7)](_0x218119)&&clearTimeout(this['_queryingMap'][_0x10d4a8(0x1c7)](_0x218119));const _0x30efb2=setTimeout(()=>{const _0xcdf0bc=_0x10d4a8;this[_0xcdf0bc(0x11e)](_0x5eb960),this[_0xcdf0bc(0x22b)][_0xcdf0bc(0x16b)](_0x218119);},Ti);this['_queryingMap'][_0x10d4a8(0x133)](_0x218119,_0x30efb2);}[_0x3015f1(0x11e)](_0x54da53){const _0x99d71=_0x3015f1,{unitId:_0x13ec7e,subUnitId:_0x4eccdb,token:_0x2ee45a,type:_0x401188,pivotConfig:_0x31e3ba}=_0x54da53,_0x2e6f91=this[_0x99d71(0x119)](_0x2ee45a),_0x43c2f7=_0x2e6f91==null?void 0x0:_0x2e6f91['query'](),_0x20ee62=_0x31e3ba!=null?_0x31e3ba:this[_0x99d71(0x298)](_0x13ec7e,_0x4eccdb,_0x2ee45a);_0x20ee62&&(_0x20ee62[_0x99d71(0x201)]=!!(_0x2e6f91!=null&&_0x2e6f91[_0x99d71(0x201)]())),(_0x43c2f7||_0x401188===j['Delete'])&&this[_0x99d71(0x7b)](_0x13ec7e,_0x4eccdb,_0x401188,_0x2ee45a,_0x43c2f7,_0x20ee62,this['getDataFieldManager'](_0x13ec7e)['toJSON']());}['toJSON'](_0x206596){const _0x5681dc=_0x3015f1,_0x294d4d={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x5681dc(0x29b)](_0x206596)&&(_0x294d4d[_0x5681dc(0xcc)][_0x206596]=this[_0x5681dc(0x29b)](_0x206596)[_0x5681dc(0x202)]()),this['_model'][_0x5681dc(0x1c7)](_0x206596)){_0x294d4d[_0x5681dc(0x18b)][_0x206596]={};const _0x2f5051=this['_model'][_0x5681dc(0x1c7)](_0x206596);_0x2f5051!=null&&_0x2f5051[_0x5681dc(0x285)]&&[..._0x2f5051[_0x5681dc(0x1bc)]()][_0x5681dc(0x14e)](_0x4ea4ea=>{const _0x3c8e67=_0x5681dc,_0x509759=_0x2f5051[_0x3c8e67(0x1c7)](_0x4ea4ea);_0x509759!=null&&_0x509759['size']&&(_0x294d4d[_0x3c8e67(0x18b)][_0x206596][_0x4ea4ea]={},[..._0x509759[_0x3c8e67(0x1bc)]()][_0x3c8e67(0x14e)](_0x4e0f11=>{const _0x20d436=_0x509759['get'](_0x4e0f11);_0x20d436&&(_0x294d4d['pivotTableConfigs'][_0x206596][_0x4ea4ea][_0x4e0f11]=_0x20d436);}));});}return _0x294d4d;}['fromJSON'](_0x4a30aa){const _0x55d1ff=_0x3015f1;var _0x345498;const {dataFieldManagerConfig:_0x30a887,pivotTableConfigs:_0x47e6d1}=_0x4a30aa;_0x30a887&&Object['keys'](_0x30a887)['forEach'](_0x3aa671=>{const _0x14d0e5=_0x54da;this[_0x14d0e5(0x29b)](_0x3aa671)[_0x14d0e5(0xbd)](_0x30a887[_0x3aa671]);});const _0x2f5752=[];if(_0x47e6d1){const _0x507b73=(_0x345498=this[_0x55d1ff(0x198)]['get'](_0x43238f)[_0x55d1ff(0xb1)](_0xcfd63c))!=null?_0x345498:{},{ls:_0x541a64,pbk:_0x19705d}=_0x507b73,_0x1c1915=go(so,_0x541a64,_0x19705d)[_0x55d1ff(0x8c)];Object[_0x55d1ff(0x1bc)](_0x47e6d1)['forEach'](_0x15a3a9=>{const _0x343c8d=_0x55d1ff;let _0x83bb9=0x0;const _0x14cf63=_0x47e6d1[_0x15a3a9];Object[_0x343c8d(0x1bc)](_0x14cf63)[_0x343c8d(0x14e)](_0x197814=>{const _0xdfc9c7=_0x343c8d,_0x1e7f5c=_0x14cf63[_0x197814];Object[_0xdfc9c7(0x1bc)](_0x1e7f5c)[_0xdfc9c7(0x14e)](_0x1b6c4d=>{const _0xa73150=_0xdfc9c7,_0x22614b=_0x1e7f5c[_0x1b6c4d];if(_0x22614b){if(_0x83bb9>=_0x1c1915)return;_0x83bb9++;const _0xc39eb2=this['getDataFieldManager'](_0x15a3a9),_0x31faa9=_0xc39eb2[_0xa73150(0x13e)][_0x1b6c4d],_0x3a1d5d=_0x31faa9[_0xa73150(0x240)]();let _0x700ffe=0x0;const _0x27fa4f=[];for(const _0x146242 of _0x3a1d5d){const _0x5adfbe=_0x31faa9[_0xa73150(0x2a8)](_0x146242);if(_0x11fea2(_0x5adfbe)){const _0x11ae0f=_0x5adfbe[_0xa73150(0x146)](),_0x563428=_0x31faa9[_0xa73150(0x2a8)](_0x11ae0f);_0x563428&&_0x27fa4f[_0xa73150(0x23e)]([_0x5adfbe,_0x563428]);continue;}_0xc39eb2[_0xa73150(0x282)](_0x146242,_0x22614b[_0xa73150(0x2eb)],_0x700ffe),_0x700ffe++;}_0x27fa4f['forEach'](([_0x5ec80e,_0x25669b])=>{_0x5ec80e['refreshGroupField'](_0x25669b);});const _0x36e21a=new _0x1b128e(_0x31faa9);_0x36e21a[_0xa73150(0xbd)](_0x22614b['fieldsConfig']),this[_0xa73150(0x1ea)](_0x15a3a9,_0x197814,_0x1b6c4d,_0x36e21a,_0x22614b);const _0x4539a2=_0x36e21a['query']();_0x2f5752['push']({'unitId':_0x15a3a9,'subUnitId':_0x197814,'pivotTableId':_0x1b6c4d,'view':_0x4539a2[_0xa73150(0x202)](),'pivotConfig':_0x22614b,'type':j['Add']});const _0x405d12=!!_0x36e21a[_0xa73150(0x201)](),_0x4a1eb4={'view':_0x4539a2,'pivotTableId':_0x1b6c4d,'textInfo':this[_0xa73150(0x227)](),'isEmpty':_0x405d12,'targetCellInfo':_0x22614b[_0xa73150(0xa7)]};this['updateViewData'](_0x4a1eb4,!0x1);}});});});}_0x30a887&&Object[_0x55d1ff(0x1bc)](_0x30a887)[_0x55d1ff(0x14e)](_0x1e70a4=>{const _0x3849aa=_0x55d1ff,_0x5d8b54=this[_0x3849aa(0x29b)](_0x1e70a4);this[_0x3849aa(0x26b)]['next'](_0x5d8b54['collections']);}),this[_0x55d1ff(0x27d)][_0x55d1ff(0x102)](Dt['id'],{'batch':_0x2f5752,'collectionConfig':_0x30a887},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x5ce7c5=_0x3015f1;this[_0x5ce7c5(0x180)](this[_0x5ce7c5(0x1fe)][_0x5ce7c5(0xb4)]({'toJson':_0x495bc4=>JSON[_0x5ce7c5(0x1b0)](this[_0x5ce7c5(0x202)](_0x495bc4)),'parseJson':_0x5e5de4=>{if(!_0x5e5de4)return{};try{return JSON['parse'](_0x5e5de4);}catch{return{};}},'businesses':[_0x8b7529[_0x5ce7c5(0x237)]],'pluginName':ao,'onLoad':(_0x4ad912,_0x2bff5d)=>{const _0x40d84d=_0x5ce7c5;this[_0x40d84d(0xbd)](_0x2bff5d);},'onUnLoad':_0x5d7f0b=>{const _0x5a3f26=_0x5ce7c5;this[_0x5a3f26(0x262)](_0x5d7f0b);}}));}};Y=Ei([Ge(0x0,_0x416b2a(_0x447c52)),Ge(0x1,_0x58e9a8),Ge(0x2,_0x416b2a(_0x2d4d61)),Ge(0x3,_0x43238f),Ge(0x4,_0x3ec272),Ge(0x5,_0x416b2a(_0x5dc47e))],Y);const Ai={0x0:{0x0:{'v':'filter','s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x3015f1(0x168),'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':_0x3015f1(0x291),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':_0x3015f1(0x15c),'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':_}}},Lt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Jo=(_0x9908e3,_0x56db8f)=>{const _0x2fc411=_0x3015f1,_0x1df35e=new _0x5718da(),_0x33b857=new _0x5718da(Ai),{row:_0x36eeae,col:_0x57c17e}=_0x56db8f;_0x33b857['forValue']((_0x130516,_0x220b15,_0x5256ca)=>{const _0x5b8b74=_0x54da;let _0x14755e='';_0x5256ca['v']===_0x5b8b74(0x27e)?_0x14755e=_0x9908e3[_0x5b8b74(0x27e)]:_0x5256ca['v']===_0x5b8b74(0x291)?_0x14755e=_0x9908e3['row']:_0x5256ca['v']===_0x5b8b74(0x168)?_0x14755e=_0x9908e3[_0x5b8b74(0x168)]:_0x5256ca['v']===_0x5b8b74(0x15c)&&(_0x14755e=_0x9908e3[_0x5b8b74(0x15c)]),_0x1df35e[_0x5b8b74(0xb7)](_0x130516+_0x36eeae,_0x220b15+_0x57c17e,{..._0x5256ca,'v':_0x14755e});});const _0x2922a1=_0x5ec6b1[_0x2fc411(0x12a)](Lt);return Object[_0x2fc411(0x1bc)](Lt)[_0x2fc411(0x14e)](_0x5e8c8d=>{const _0x4aaa6f=_0x2fc411;_0x2922a1[_0x5e8c8d]=Lt[_0x5e8c8d][_0x4aaa6f(0x1df)](_0x9b418d=>({..._0x9b418d,'startRow':_0x9b418d['startRow']+_0x36eeae,'endRow':_0x9b418d[_0x4aaa6f(0x1dc)]+_0x36eeae,'startColumn':_0x9b418d[_0x4aaa6f(0x28c)]+_0x57c17e,'endColumn':_0x9b418d['endColumn']+_0x57c17e}));}),{'matrixCache':_0x1df35e,'rangesCache':_0x2922a1};};function Ui(_0x421126,_0x507a93){const _0x326867=_0x3015f1;let _0x2125e9='';const _0x4a4da9=this['getTextInfo']();switch(_0x507a93){case _0x5e772e[_0x326867(0x1f6)]:_0x2125e9=_0x4a4da9['sheets-pivot.averageName']+_0x421126;break;case _0x5e772e[_0x326867(0x8c)]:_0x2125e9=_0x4a4da9[_0x326867(0x26e)]+_0x421126;break;case _0x5e772e[_0x326867(0xed)]:_0x2125e9=_0x4a4da9[_0x326867(0x2e5)]+_0x421126;break;case _0x5e772e[_0x326867(0x286)]:_0x2125e9=_0x4a4da9[_0x326867(0x159)]+_0x421126;break;case _0x5e772e['min']:_0x2125e9=_0x4a4da9[_0x326867(0x8f)]+_0x421126;break;case _0x5e772e['product']:_0x2125e9=_0x4a4da9['sheets-pivot.productName']+_0x421126;break;case _0x5e772e[_0x326867(0x155)]:_0x2125e9=_0x4a4da9[_0x326867(0x194)]+_0x421126;break;case _0x5e772e[_0x326867(0x2a1)]:_0x2125e9=_0x4a4da9[_0x326867(0x1b1)]+_0x421126;break;case _0x5e772e[_0x326867(0x17b)]:_0x2125e9=_0x4a4da9['sheets-pivot.sumName']+_0x421126;break;case _0x5e772e['var']:_0x2125e9=_0x4a4da9[_0x326867(0x136)]+_0x421126;break;case _0x5e772e[_0x326867(0xf1)]:_0x2125e9=_0x4a4da9[_0x326867(0x209)]+_0x421126;break;default:_0x2125e9=_0x421126;break;}return _0x2125e9;}function Vi(_0x4cdf08,_0x4910b5,_0x5d62d9,_0x1d918b,_0x6787bb){const _0x4ea59f=_0x3015f1;var _0x5730e1,_0x523213,_0x44e547,_0x800c70,_0x159b0c;const _0x1ed3cc=_0x4a0405(_0x4cdf08,_0x4910b5),{rangesInfo:_0x3ea6b9,areaInfo:_0x193417,headerMap:_0x40e7a6}=_0x6787bb;if(!_0x3ea6b9||!_0x193417||!_0x40e7a6)return;const _0x3b31df=Object['keys'](_0x3ea6b9)[_0x4ea59f(0xe4)](_0x16495c=>_0x3ea6b9[_0x16495c]['some'](_0x37617d=>_0x2d61f8['contains'](_0x37617d,_0x1ed3cc))),_0xa0ab=_0x193417;let _0x33bd74,_0x54c61d,_0x5999f7;if(_0x3b31df===_0x4ea59f(0x1bb))_0x33bd74=(_0x5730e1=_0xa0ab==null?void 0x0:_0xa0ab[_0x4ea59f(0x86)])==null?void 0x0:_0x5730e1[_0x4cdf08],_0x54c61d=(_0x523213=_0x40e7a6==null?void 0x0:_0x40e7a6['rowHeaderMap'])==null?void 0x0:_0x523213[_0x4910b5],_0x5999f7=_0x54c61d==null?void 0x0:_0x54c61d['tableFieldId'];else{if(_0x3b31df===_0x4ea59f(0xe8))_0x33bd74=(_0x44e547=_0xa0ab==null?void 0x0:_0xa0ab[_0x4ea59f(0x26d)])==null?void 0x0:_0x44e547[_0x4910b5],_0x54c61d=(_0x800c70=_0x40e7a6[_0x4ea59f(0x13b)])==null?void 0x0:_0x800c70[_0x4cdf08+0x1+_0x4910b5-_0x3ea6b9[_0x4ea59f(0xe8)][0x0][_0x4ea59f(0x28c)]],_0x5999f7=_0x54c61d==null?void 0x0:_0x54c61d[_0x4ea59f(0x29d)];else{if(_0x3b31df===_0x4ea59f(0x204))_0x33bd74=(_0x159b0c=_0xa0ab==null?void 0x0:_0xa0ab[_0x4ea59f(0x80)])==null?void 0x0:_0x159b0c[_0x4910b5],_0x5999f7=_0x33bd74==null?void 0x0:_0x33bd74[_0x4ea59f(0x29d)];else{if(_0x3b31df===_0x4ea59f(0x231)){const _0x49e2fc=_0x5d62d9==null?void 0x0:_0x5d62d9['fi'];_0x49e2fc!==void 0x0&&(_0x5999f7=_0x1d918b[_0x4ea59f(0x129)](_0x49e2fc));}}}}return{'filterId':_0x5999f7,'info':_0x33bd74,'data':_0x5d62d9,'headerInfo':_0x54c61d};}function xi(_0x34500e,_0x3c0749,_0x445803){const _0xc5b18f=_0x3015f1,_0x43000e=_0x34500e['dataFieldsCollection'],_0x290cd8=_0x43000e[_0xc5b18f(0x240)](),_0x188298=new Set();_0x34500e[_0xc5b18f(0x2b3)](_0x58aefe=>{const _0x4b41ac=_0xc5b18f;_0x188298[_0x4b41ac(0x1e7)](_0x58aefe[_0x4b41ac(0x2e3)]);});const _0x92dd6c=_0x290cd8['map'](_0x9e1c6=>{const _0x1bd6df=_0xc5b18f,_0xd2f0cc=_0x43000e[_0x1bd6df(0x2a8)](_0x9e1c6);return{'checked':_0x188298[_0x1bd6df(0x9f)](_0x9e1c6),'dataFieldId':_0xd2f0cc['id'],'id':_0xd2f0cc['id'],'name':_0x43000e[_0x1bd6df(0xdf)](_0xd2f0cc['id']),'type':_0xd2f0cc[_0x1bd6df(0x191)](),'pivotTableId':_0x3c0749};}),_0x1acf03=[];_0x34500e[_0xc5b18f(0x19c)](_0x2944fe[_0xc5b18f(0x17a)],_0x140254=>{const _0x31e6e2=_0xc5b18f;_0x1acf03[_0x31e6e2(0x23e)]({'dataFieldId':_0x140254['dataFieldId'],'tableFieldId':_0x140254[_0x31e6e2(0x208)](),'displayName':_0x140254['getDisplayName']()});});const _0x29bc3f=[];_0x34500e[_0xc5b18f(0x19c)](_0x2944fe[_0xc5b18f(0x234)],_0x4269af=>{const _0x4448d1=_0xc5b18f;_0x29bc3f[_0x4448d1(0x23e)]({'dataFieldId':_0x4269af[_0x4448d1(0x2e3)],'tableFieldId':_0x4269af[_0x4448d1(0x208)](),'displayName':_0x4269af[_0x4448d1(0xdf)]()});});const _0x58a63d=[];if(_0x34500e[_0xc5b18f(0x19c)](_0x2944fe[_0xc5b18f(0x22a)],_0x1f2a02=>{const _0x120957=_0xc5b18f;_0x58a63d[_0x120957(0x23e)]({'dataFieldId':_0x1f2a02[_0x120957(0x2e3)],'tableFieldId':_0x1f2a02[_0x120957(0x208)](),'displayName':_0x1f2a02[_0x120957(0xdf)](),'format':_0x1f2a02['getFormat'](),'subTotalType':_0x1f2a02[_0x120957(0x1f2)]()});}),_0x58a63d[_0xc5b18f(0x290)]>0x1){const _0x3e1793=_0x34500e[_0xc5b18f(0x29e)]();(_0x34500e[_0xc5b18f(0x21f)]()?_0x29bc3f:_0x1acf03)[_0xc5b18f(0x164)](_0x3e1793,0x0,{'dataFieldId':'','tableFieldId':_0xc5b18f(0x28a),'displayName':_0xc5b18f(0xc9)});}const _0x4050f2=[];_0x34500e[_0xc5b18f(0x19c)](_0x2944fe[_0xc5b18f(0x7a)],_0x386b5c=>{const _0x40c41e=_0xc5b18f;_0x4050f2['push']({'dataFieldId':_0x386b5c[_0x40c41e(0x2e3)],'tableFieldId':_0x386b5c[_0x40c41e(0x208)](),'displayName':_0x386b5c[_0x40c41e(0xdf)]()});});const _0x52e9ca=_0x445803[_0xc5b18f(0x2eb)];return{'sourceList':_0x92dd6c,'sourceRange':_0x52e9ca,'rowFields':_0x1acf03,'columnFields':_0x29bc3f,'valueFields':_0x58a63d,'filterFields':_0x4050f2,'positionInfo':_0x445803['targetCellInfo']};}function fo(_0x3556f7,_0x1d4fc0,_0x1e74b5='',_0x412f17={}){const _0x4c7619=_0x3015f1,_0x2d63a7=_0x3556f7[_0x4c7619(0x1c7)](_0x4f3764);for(const _0xa01b9b in _0x1d4fc0)if(Object[_0x4c7619(0x1a3)][_0x4c7619(0x29a)][_0x4c7619(0x205)](_0x1d4fc0,_0xa01b9b)){const _0x331249=_0x1e74b5?_0x1e74b5+'.'+_0xa01b9b:_0xa01b9b;typeof _0x1d4fc0[_0xa01b9b]==_0x4c7619(0x78)&&_0x1d4fc0[_0xa01b9b]!==null&&!Array['isArray'](_0x1d4fc0[_0xa01b9b])?fo(_0x3556f7,_0x1d4fc0[_0xa01b9b],_0x331249,_0x412f17):_0x412f17[_0x331249]=_0x2d63a7['t'](_0x331249);}return _0x412f17;}const jt=_0x53848c=>{const _0x586201=_0x3015f1;if(!_0x53848c)return[];const {rowRanges:_0x866d2b,colRanges:_0x14d36e,cornerRanges:_0x109d84,dataRanges:_0x4503fb,pageRanges:_0x50c467}=_0x53848c,_0x57896a=[..._0x14d36e,..._0x866d2b,..._0x4503fb,..._0x109d84]['filter'](_0x671715=>_0x671715['startRow']>=0x0&&_0x671715[_0x586201(0x28c)]>=0x0&&_0x671715['endRow']>=0x0&&_0x671715[_0x586201(0x9a)]>=0x0);let _0x5e5cd0=Number[_0x586201(0x1c5)],_0x28313c=Number['MIN_SAFE_INTEGER'],_0x1789a2=Number['MAX_SAFE_INTEGER'],_0x34d637=Number[_0x586201(0x132)];for(let _0x4345ba=0x0;_0x4345ba<_0x57896a[_0x586201(0x290)];_0x4345ba++)_0x5e5cd0=Math[_0x586201(0x151)](_0x5e5cd0,_0x57896a[_0x4345ba][_0x586201(0x2a3)]),_0x28313c=Math[_0x586201(0x286)](_0x28313c,_0x57896a[_0x4345ba][_0x586201(0x1dc)]),_0x1789a2=Math['min'](_0x1789a2,_0x57896a[_0x4345ba][_0x586201(0x28c)]),_0x34d637=Math[_0x586201(0x286)](_0x34d637,_0x57896a[_0x4345ba][_0x586201(0x9a)]);return[..._0x50c467,{'startRow':_0x5e5cd0,'endRow':_0x28313c,'startColumn':_0x1789a2,'endColumn':_0x34d637}];};function Oi(_0x2e75ba,_0x37b6f7){const _0x2e6879=_0x3015f1,_0x32a5c2=_0x37b6f7[_0x2e6879(0x87)]['drillDown'],{pivotTableId:_0x2e9de8,unitId:_0x3423b4,subUnitId:_0x15d5bd}=_0x37b6f7;if(!_0x32a5c2)return;const _0x176f5a=_0x2e75ba['get'](Y),_0x41e2e7=_0x176f5a[_0x2e6879(0x119)](_0x2e9de8),_0x26ca6e=_0x176f5a[_0x2e6879(0x298)](_0x3423b4,_0x15d5bd,_0x2e9de8);if(!_0x41e2e7||!_0x26ca6e)return;const _0x407fa5=_0x41e2e7[_0x2e6879(0x2b0)](_0x32a5c2[_0x2e6879(0x185)]);if(!(_0x407fa5!=null&&_0x407fa5[_0x2e6879(0x290)]))return;const _0x193f8c=_0x26ca6e[_0x2e6879(0x2eb)],{unitId:_0x5d203c,subUnitId:_0x30d3b5,range:_0x542b40}=_0x193f8c;let _0xa2a52c=0x0;const _0x10da74=_0x41e2e7[_0x2e6879(0x1a6)][_0x2e6879(0x240)]()[_0x2e6879(0x197)]((_0x1b8bdc,_0x2d238b)=>{const _0x409328=_0x2e6879;var _0x4e427b;const _0x23a092=(_0x4e427b=_0x41e2e7[_0x409328(0x92)](_0x2d238b))==null?void 0x0:_0x4e427b[_0x409328(0x13d)]();return _0x23a092&&(_0x1b8bdc[String(_0xa2a52c)]=_0x23a092),_0xa2a52c++,_0x1b8bdc;},{});return{'indexes':_0x407fa5,'range':_0x542b40,'sourceUnitId':_0x5d203c,'sourceSubUnitId':_0x30d3b5,'formatMap':_0x10da74};}function Go(_0x294c04,_0x594cc2){const _0x12459c=_0x3015f1;if(!_0x294c04||!_0x594cc2)return!0x0;const _0x314478=_0x5af8ae(Wo,$o),_0x2418b9=new Function('return\x20'+_0x314478)()(_0x294c04,_0x594cc2)[_0x12459c(0x143)],_0xe99e51=_0x56911b(_0x2418b9,'sf',ko);return!((_0x2418b9==null?void 0x0:_0x2418b9['rt'])===_0x126a3a[_0x12459c(0x72)]&&!_0xe99e51);}function go(_0xcbac29,_0x140d9e,_0x380313){const _0x6ca8ef=_0x3015f1,_0x3feeb6={'count':_0xcbac29,'timeValid':!0x1};if(!_0x140d9e||!_0x380313)return _0x3feeb6;const _0x5bb470=_0x5af8ae(Wo,$o),_0x5272cc=new Function(_0x6ca8ef(0x16d)+_0x5bb470)()(_0x140d9e,_0x380313);if(_0x5272cc!=null&&_0x5272cc[_0x6ca8ef(0x232)]){const _0x3dae96=_0x5272cc[_0x6ca8ef(0x143)],_0x379772=_0x56911b(_0x3dae96,'sf',ko);return{'count':_0x1c29b9(_0x3dae96,_0x379772,_0x6ca8ef(0x8d),_0xcbac29,_0xcbac29,0x0),'timeValid':_0x379772};}return _0x3feeb6;}function _0x4bf5(){const _0x29c043=['UpdateValuePosition','removeSourceRangeChange','getFieldCountByArea','sheet.command.set-pivot-collapse','sheet.mutation.send-pivot-view-local','getTextInfo','SHEET_PIVOT_EXCLUSIVE_ID','pivotInitCompleted$','Value','_queryingMap','UpdateFieldPosition','result','includes','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','_createExclusiveRange','pageRanges','valid','asObservable','Column','getColumnWidth','parse','UNIVER_SHEET','sheet.mutation.add-pivot-field','getCurrentUnitForType','addPivotField','resetArea','initDataRanges','col','push','UpdatePivotSource','getFieldIds','_initRemoveSheetCommandInterceptor','BQCjAcEC\x20o8jTWfAcEC(Zcj8CY8,\x20fQSZcjD8W)\x20{\x20\x20\x20\x20ATW\x20{\x20\x20\x20\x20\x20\x20\x20\x20jECYA\x20Zcj8CY85CBEvgTA2TTgW\x20=\x20Zcj8CY8.YfZcA(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20jECYA\x20ETcecCb8YYge8\x20=\x20aNit.fgTY8(gAES(Zcj8CY85CBEvgTA2TTgW[0]));\x20\x20\x20\x20\x20\x20\x20\x20cB\x20(!ETcecCb8YYge8.Qo)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ETcecCb8YYge8.Qo\x20=\x20tQ1S8T(Zcj8CY85CBEvgTA2TTgW[M]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20jECYA\x20cYyETV8T\x20=\x20AWf8EB\x20yETV8TUZESgZNjEf8\x20!==\x20\x27QCo8BcC8o\x27\x20&&\x20Y8ZB\x20cCYAgCj8EB\x20yETV8TUZESgZNjEf8;\x20\x20\x20\x20\x20\x20\x20\x20jECYA\x20jECA8dA\x20=\x20cYyETV8T\x20?\x20Y8ZB\x20:\x20FcCoEF;\x20\x20\x20\x20\x20\x20\x20\x20jECYA\x2018YYge8yETo\x20=\x20jECA8dA.__ugY8LM__.fgTY8(Zcj8CY85CBEvgTA2TTgW[0]);\x20\x20\x20\x20\x20\x20\x20\x20jECYA\x2018YYge8\x20=\x20jECA8dA.__K8d__.YATcCecBW(18YYge8yETo);\x20\x20\x20\x20\x20\x20\x20\x20jECYA\x20YceCgAQT8yETo\x20=\x20jECA8dA.__ugY8LM__.fgTY8(Zcj8CY85CBEvgTA2TTgW[I]);\x20\x20\x20\x20\x20\x20\x20\x20jECYA\x20YceCgAQT8\x20=\x20jECA8dA.__K8d__.YATcCecBW(YceCgAQT8yETo);\x20\x20\x20\x20\x20\x20\x20\x20jECYA\x20YceCRgZco\x20=\x20jECA8dA.__n8TcBW__(YceCgAQT8,\x2018YYge8,\x20fQSZcjD8W);\x20\x20\x20\x20\x20\x20\x20\x20jECYA\x20oE1gcC\x20=\x20ETcecCb8YYge8.o1;\x20\x20\x20\x20\x20\x20\x20\x20BQCjAcEC\x20cYOE1gcCbgAjPcCe(EvgAA8TC,\x20EKEYA)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jECYA\x20fgAA8TC\x20=\x20EvgAA8TC.T8fZgj8(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jECYA\x20PEYA\x20=\x20EKEYA.T8fZgj8(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jECYA\x20fgAA8TCvgTAY\x20=\x20fgAA8TC.YfZcA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jECYA\x20PEYAvgTAY\x20=\x20PEYA.YfZcA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cB\x20(!fgAA8TC.cCjZQo8Y(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20T8AQTC\x20fgAA8TC\x20===\x20PEYA;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cB\x20(fgAA8TCvgTAY.Z8CeAP\x20<\x200\x20||\x20fgAA8TCvgTAY[7]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20T8AQTC\x20BgZY8;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jECYA\x20fgAA8TCNQBBcd\x20=\x20fgAA8TCvgTAY.YZcj8(6).qEcC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jECYA\x20PEYANQBBcd\x20=\x20PEYAvgTAY.YZcj8(-fgAA8TCvgTAY.Z8CeAP\x20+\x206).qEcC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20T8AQTC\x20fgAA8TCNQBBcd\x20===\x20PEYANQBBcd;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Z8A\x20oE1gcCRgZco\x20=\x20(oE1gcC\x20&&\x20oE1gcC.Z8CeAP)\x20?\x20oE1gcC.YE18((o15A81)\x20=>\x20cYOE1gcCbgAjPcCe(o15A81,\x20ZEjgAcEC.PEYACg18))\x20:\x20ATQ8;\x20\x20\x20\x20\x20\x20\x20\x20cB\x20(ZEjgAcEC.PEYACg18\x20===\x20\x27ZEjgZPEYA\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oE1gcCRgZco\x20=\x20ATQ8;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20jECYA\x20ngZco\x20=\x20YceCRgZco\x20&&\x20oE1gcCRgZco;\x20\x20\x20\x20\x20\x20\x20\x20T8AQTC\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ngZco,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2018YYge8:\x20ETcecCb8YYge8,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20jgAjP\x20(8TTET)\x20{\x20\x20\x20\x20\x20\x20\x20\x20T8AQTC\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ngZco:\x20BgZY8,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2018YYge8:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_initConfig','rowCount','getRangeStartEndInfo','sheets-pivot.dateGroup.year','getDataFieldByRangeKey','setPivotTable','sheet.mutation.set-pivot-option','sheet.mutation.pivot-update-field-position','sheets-pivot.cellDateGroupDisplay.yearQuarter','existing','ManualFilter','DrillDown','_pivotTableInstanceCache','bind','YearQuarter','_initRegisterCommand','getDataFieldByTableId','sheet.command.remove-pivot-field','updatePivotSource','getName','getPivotDirtyViewInfo','addPivotTableWithConfig','HourMinute','removeDataField','AddPivotTable','_subjectViewChange','addDirtyPivotTable','getDataFieldBySourceName','isValue','SetPivotSetting','date','deleteUnitId','Max\x20of\x20','dimension','broadcastCollectionChange','_sheetsPivotDataSourceModel','entries','updateRenderCache','sheets-pivot.dateGroup.quarter','setRangeKeyMap','_fieldsCollectionChange$','rangeType','colInfo','sheets-pivot.countName','minDate','getPivotItemRenderInfoCache','Values','_dataSyncPrimaryController','_sheetsSelectionsService','getRowCount','registerSyncingMutations','displayName','sheets-pivot.cellDateGroupDisplay.hour','_subjectCollectionChange','setSourceName','FORCE_STRING','getSubUnitPivotConfigs','random','_commandService','filter','_host','shouldClear','sheet.operation.pivot-table-view-formula-mark-dirty','refreshDataField','fieldId','_pivotRenderValueMatrixCache','size','max','removePivotField','NUMBER','measure','PivotMultipleValueId','interceptCommand','startColumn','_initCommandInterceptListener','(Blank)','collapseInfo','length','row','leafStyle','removePivotTable','52Cibzyu','rangesInfo','rangeCache','asyncInterceptor','getPivotTableConfig','format','hasOwnProperty','getDataFieldManager','valueIndex','tableFieldId','getValueIndex','Varp\x20of\x20','workbook\x20is\x20not\x20found','stdDevp','rgb(255,255,255)','startRow','_pivotTableRangeInfo','setRange','generateNewSheetName','sheetName','getFieldById','_localeService','setCollapse','_ensureViewDataMap','getMatrix','getMatrixValue','headerMap','getAutoFitColumnsMutations','getIndexesByPathStr','addExclusiveRange','_ensurePivotItemRenderValueMatrixCache','iterateField','CELL_CONTENT','_pivotInitCompleted$','Hour','407nnRKmr','_updatePivotTableInstanceCache','getUnit','Var\x20of\x20','sheets-pivot.grandTotal','getFieldPositionInfoById','sheets-pivot.cellDateGroupDisplay.date','level','sourceName','formJSON','configVersion$','from','onStarting','_init','clearExclusiveRangesByGroupId','_ensurePivotTableRangeInfo','Quarter','getDataFieldItemInfo','NotNumber','dispose','addCollection','_initPivotTextInfo','sheet.command.update-date-group','uniqueDataFieldName','getTableFieldById','getInfo','_initPivotDataGetListener','sheet.command.add-pivot-field','notExecuteFormula','updateDirtyPivotTable','32RmXdDB','_textInfo','_globalComputingSrv','Grand\x20Total','COLUMN','getSubUnitPivotMatrix','sheet.command.set-pivot-value-filter','getStyles','markDirty$','_initClearSelectionCommandInterceptor','sheets-pivot.cellDateGroupDisplay.month','contains','sheets-pivot.emptyPivot.values','Delete','dataFieldId','None','sheets-pivot.countNumsName','endCollectChangeset','sheet.mutation.set-pivot-sort-info','setValuePivotFilter','RenameField','updateFieldPosition','sourceRangeInfo','654lPZsbs','columnFields','addField','Sum\x20of\x20','_updateModelCache','getFieldFormat','2260oLjEDW','setPivotTableConfig','fieldsConfig','AddField','YearMonth','deleteField','Month','SetValuePivotFilter','addFieldWithSourceId','Date','#e6ebfb','#eceeff','NO_COMMERCIAL','SetSortInfo','SHEET_PIVOT_IN_MAIN_THREAD','sheet.command.move-pivot-field','setDataRecordCount','sheet.command.update-pivot-table-source-range','object','fieldsCollectionChange$','Filter','updateView','SetCollapse','_ensurePivotMap','sheets-pivot.value','updateConfigCache','cornerInfo','setValueFilterInfo','updateValuePosition','_config','foreach','handleAsyncResponse','rowInfo','params','#FFFFFF','sheets-pivot.blank','_initUnitDisposed','data','count','ptn','sheets-pivot.dateGroup.hourMinute','sheets-pivot.minName','sheets-pivot.dateGroup.yearMonth','registerDirtyService','getDataFieldByDataFieldId','getTextSize','Style','StdDev\x20of\x20','getSheets','YearMonthDate','leftOffset','replace','endColumn','setPivotFilter','token','Min\x20of\x20','sheet.mutation.add-group-collection','has','UpdateSource','Minute','_initViewModelBySheetInterceptor','_dataFieldManagerCollection','_globalComputedStartHelpFunc','getFieldInfo','sheet.mutation.update-pivot-table-source-range','targetCellInfo','Add','getColumnCount','getValuePosition','updatePivotTableRangeInfo','dataStyle','getViewData','pivotMutationGenerate','getPivotPerformCheck','setPivotInitCompleted','getConfig','setSortInfo','sheet.command.add-pivot-table-with-config','registerPluginResource','_lifecycleService','sheets-pivot.cellDateGroupDisplay.hourMinute','setValue','Count\x20of\x20','getTypeOfUnitDisposed$','name','removeField','grandTotal','fromJSON','isBottomTotal','removeValueFilterInfo','getDate','GrandTotal','subscribe','sheets-pivot.cellDateGroupDisplay.minute','substring','fieldIds','getPivotTableCellData','interceptor','setLabelFilterInfo','ΣValue','Div0','remove','dataFieldManagerConfig','sheets-pivot.dateGroup.yearMonthDate','originalFieldId','_ensurePivotTableMatrixInfo','sortInfo','updateCollectionConfig','update','SetPivotFilter','setName','width','getFullYear','reset','Expand','drillDown','Total','New','setRangeValueUndoMutation','rangeKeyMap','collectionConfig','getDisplayName','sheet.command.reset-pivot-fields-config','rowHeaderMap','updatePivotTableMatrixInfo','sheet.command.set-pivot-filter','find','_initLocale','fetchThroughInterceptors','ResetPivotTable','colRanges','getCellRaw','sheet.mutation.rename-pivot-field','subUnitId','getDataFieldId','countNums','defineProperty','sheet.mutation.update-date-group','clearRenderCache','varp','areaInfo','SetPivotTableConfig','SetPivotSort','SetSubtotalType','4109910eVNDps','_onRefRangeChange','matrix','COMMAND','sheets-pivot.dateGroup.minute','disposableCollection','collectionChange$','sheets-pivot.dateGroup.hour','319466vUXuDJ','pbt','colStyle','getPivotTableMatrixInfo','executeCommand','SetFilterInfo','sheet.command.pivot-drill-down','_exclusiveRangeService','dataStream','textInfo','sheets-pivot.cellDateGroupDisplay.quarter','_getAutoName','originTargetInfo','error','_collectionChange$','_activeDirtyManagerService','range','resetPivotTable','getNoUsedDataFieldIds','concat','SHEET_PIVOT_TABLE_PLUGIN','addCollectionByJSON','STRING','registerCallbackWithEvent','getUnitId','getRangeKey','isText','getPivotTableInstance','paths','colCount','updateConfig','collection','queryDirtyPivotTable','#f4f4f5','RemovePivotField','refreshGroupField','getTargetByPivotId','next','undos','_markDirty$','NotName','pivotTableId','setRangeValueRedoMutation','getFilterFieldIdByIndex','deepClone','getCurrentSelections','_deletePivotTableInstanceCache','_sheetsPivotRpcService','lastRow','updateDataFieldsCollection','getCollection','setFieldFormat','MIN_SAFE_INTEGER','set','getPivotDisplayConfig','subtotal','sheets-pivot.varName','_sheetsPivotTableService','charCodeAt','SetFieldFormat','180IXDMng','colHeaderMap','getDirtyInfo','getformat','collections','intercept','Set','_sheetsPivotTableAdaptorModel','SetValueFilter','message','_refRangeHandle','Existing','getOriginFieldId','getMatrixFromRunTimeData','sheets.tabs.sheet','sheets-pivot.cellDateGroupDisplay.year','sheet.mutation.send-pivot-config-local','_viewUpdate$','_model','limit\x20pivot','forEach','setSubtotalType','sheets-pivot.dateGroup.date','min','_globalComputedEndHelpFunc','sheet.command.move-pivot-table','_generateUniqueVersion','stdDev','adjustSheetCellData','getSubUnitPivotRenderCache','maxDate','sheets-pivot.maxName','addDataFieldWithoutUnitInfo','forValue','values','floor','updateViewInfo','panel','sheet.mutation.set-pivot-collapse','cornerStyle','needSameDeleteModel','sheet.command.set-pivot-fields-config','splice','prefix','\x20-\x20','_pivotRenderInfoCache','column','deleteDataField','sheets-pivot.dateGroup.month','delete','markDirty','return\x20','NAME','setPivotCollapse','sheet.mutation.remove-group-collection','getPivotTableModelConfig','updateFieldSourceInfo','MUTATION','AddPivotTableWithConfig','renameField','getPivotTableIdByCell','updateRangeKeyMap','_viewData$','getLastCol','Row','sum','getSourceName','sheets-pivot.emptyPivot.filter','_deleteModelCache','single','disposeWithMe','_sheetsPivotTableConfigModel','setDisplayName','unitId','setPivotSetting','tuple','_subjectFieldsCollectionChange','sheets-pivot.config','value','pushUndoRedo','document','pivotTableConfigs','NotFunction','viewUpdate$','register','#1d32e9','MovePivotField','getFieldDataType','7749450XjwIXW','handleSourceRangeChange','sheets-pivot.stdDevName','options','_refRangeService','reduce','_injector','sheet.mutation.pivot-update-field-source-info','getRefRangeMutationsByMoveRange','redos','iterateFieldByArea','type','valueFilter','some','MonthDate','viewData$','cellValue','prototype','dataFields','#e6ebfa','dataFieldsCollection','handleMoveRange','getOwnPropertyDescriptor','onCommandExecuted','Subtotal','getColCount','info','getMonth','Product\x20of\x20','_viewData','stringify','sheets-pivot.stdDevpName','fontRenderExtension','_ensurePivotItemRenderInfoCache','pivotTableIndexConfig','getValueFilterInfos','symbol','dateType','_toJSON','sheet.mutation.send-init-pivot-text-local','subTotalStyle','rowRanges','keys','415040EIPAyL','removeCollections','updateViewData','Year','PIVOT_MUTATION_GENERATE','getLastRow','fetchThroughAsyncInterceptors','versions','MAX_SAFE_INTEGER','sheet.mutation.remove-pivot-field','get','SetOptions','getTargetByPivotTableId','updateAllDisplayName','getIntersects','generateMutationsByRanges','isDate','_collectionConfigModel','Panel','rangeKey','_univerInstanceService','isNaN','SetPivotCollapse','sheets-pivot.cellDateGroupDisplay.yearMonth','removeValueFilterInfoByValueFieldId','slice','getSheetBySheetId','Column\x20','getFilterInfo','getAutoDisplayNameFunction','10365yjFGCA','endRow','query','startCollectChangeset','map','toString','movePivotField','triggerDirtyFeature','sheet.command.update-pivot-value-position','getActiveSheet','valueFields','setConfig','add','sheet.command.set-pivot-field-setting','filterFields','addPivotTable','sheet.mutation.set-pivot-format','onQueryStart','_initDataSendListener','897684QodNuk','hasField','realDeleteValue','fields','getSubtotal','getValue','getRangeKeyList','_sheetInterceptorService','average','parseInt','pivotConfigChange$','refreshData','_pivotConfigChange$','_featureCalculationManagerService','setTextInfo','createCollectionWithDataRange','_resourceManagerService','setPivotSort','sheets-pivot.emptyPivot.column','isEmpty','toJSON','sheets-pivot.dateGroup.monthDate','cornerRanges','call','number','_updateRenderEmptyCache','getId','sheets-pivot.varpName','addRecord','batch','getUpdateRangeDeleteIds','_configService','getPivotTableRangeInfo','unshift','_globalSubject','getSheetId','_initGlobalComputed','filterInfo','registerRefRange','_requestResolvers','_pivotTableMatrixInfo','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','sheet.mutation.add-pivot-table','getSortInfo','sheets-pivot.emptyPivot.row','string','_configVersion$','intersects','getCellMatrix','isColMultiMeasure','sheet.mutation.get-pivot-data-local','getSheetBySheetName'];_0x4bf5=function(){return _0x29c043;};return _0x4bf5();}function Ko(_0x5446bd,_0x384263,_0x2d43f5,_0x4ff684){const _0x221cc8=_0x3015f1,_0x422386={'subUnitId':_0x2d43f5,'unitId':_0x384263,'cellValue':_0x5ba933(_0x4ff684)},_0x308c3a=_0x1a0dab(_0x5446bd,_0x422386);let _0x2c52de=!0x1;return new _0x5718da(_0x308c3a[_0x221cc8(0x1a2)])[_0x221cc8(0x15b)]((_0x1dcf75,_0x1f6c36,_0x5b59f0)=>{if(!_0x2c52de&&_0x5b59f0&&(_0x5b59f0['custom']||_0x5b59f0['f']||_0x5b59f0['p']||_0x5b59f0['s']||_0x5b59f0['si']||_0x5b59f0['t']||_0x5b59f0['v']))return _0x2c52de=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x3ce54f['id'],'params':_0x308c3a},'setRangeValueRedoMutation':{'id':_0x3ce54f['id'],'params':_0x422386},'shouldClear':_0x2c52de};}function ki(_0x5b9e1b){const {row:_0x5ffec3,col:_0x575ad8}=_0x5b9e1b,_0x4db8c7={'startRow':_0x5ffec3,'endRow':_0x5ffec3,'startColumn':_0x575ad8,'endColumn':_0x575ad8},_0x3d5d75={'startRow':_0x5ffec3+0x2,'endRow':_0x5ffec3+0xe,'startColumn':_0x575ad8,'endColumn':_0x575ad8+0x6};return[_0x4db8c7,_0x3d5d75];}function Bi(_0x1e9d8d,_0x1c7a14,_0x3deb63){const _0xd8851f=_0x3015f1,{cornerView:_0x18aef7,rowView:_0x44a833,colView:_0x8313d3,pageView:_0x2c20ae}=_0x1e9d8d,{row:_0x533cb4,col:_0x5225ea}=_0x1c7a14;if(_0x3deb63)return{'rowCount':bi+_0x533cb4,'colCount':Si+_0x5225ea};const _0x3629f6=_0x2c20ae[_0xd8851f(0x12e)]>-0x1?_0x2c20ae['lastRow']+0x1:0x0,_0x5acbb8=_0x2c20ae['lastCol']>-0x1?_0x2c20ae['lastCol']:0x0,_0x5aa438=_0x533cb4+_0x3629f6+(_0x3629f6?0x1:0x0)+_0x18aef7[_0xd8851f(0x244)]+_0x44a833[_0xd8851f(0x244)],_0x8a441c=_0x5225ea+_0x5acbb8,_0x11e753=_0x5225ea+_0x18aef7['colCount']+_0x8313d3[_0xd8851f(0x11b)],_0x3b3163=Math[_0xd8851f(0x286)](_0x8a441c,_0x11e753);return{'rowCount':_0x5aa438,'colCount':_0x3b3163};}function we(_0x1f29f5,_0x36e505,_0x4f5445,_0x3c4b4c){const _0x3c8152=_0x3015f1,{row:_0x47a4cc,col:_0x1c9779,unitId:_0x371740,subUnitId:_0x1e8c7c}=_0x4f5445,_0x4a802a=Bi(_0x36e505,{'row':_0x47a4cc,'col':_0x1c9779},_0x3c4b4c),_0xb3a3=_0x1f29f5[_0x3c8152(0x1c7)](_0x58e9a8),_0x3f3a4f=_0xea3a43(_0xb3a3,{'unitId':_0x371740,'subUnitId':_0x1e8c7c}),_0x293253=[],_0x590bed=[];if(!_0x3f3a4f)return{'undos':_0x590bed,'redos':_0x293253};const {worksheet:_0x2f345b}=_0x3f3a4f,_0xeb196a=_0x2f345b[_0x3c8152(0x274)](),_0xd3cfc4=_0x2f345b[_0x3c8152(0xa9)]();return _0xeb196a<_0x4a802a[_0x3c8152(0x244)]&&(_0x293253[_0x3c8152(0x23e)]({'id':_0xc73892['id'],'params':{'unitId':_0x371740,'subUnitId':_0x1e8c7c,'range':{'startRow':_0xeb196a,'endRow':_0x4a802a['rowCount']-0x1,'startColumn':0x0,'endColumn':_0xd3cfc4-0x1}}}),_0x590bed[_0x3c8152(0x23e)]({'id':_0x25a2e8['id'],'params':{'unitId':_0x371740,'subUnitId':_0x1e8c7c,'range':{'startRow':_0xeb196a,'endRow':_0x4a802a[_0x3c8152(0x244)]-0x1,'startColumn':0x0,'endColumn':_0xd3cfc4-0x1}}})),_0xd3cfc4<_0x4a802a['colCount']&&(_0x293253[_0x3c8152(0x23e)]({'id':_0x3a6480['id'],'params':{'unitId':_0x371740,'subUnitId':_0x1e8c7c,'range':{'startRow':0x0,'endRow':_0xeb196a-0x1,'startColumn':_0xd3cfc4,'endColumn':_0x4a802a[_0x3c8152(0x11b)]-0x1}}}),_0x590bed[_0x3c8152(0x23e)]({'id':_0x5d1669['id'],'params':{'unitId':_0x371740,'subUnitId':_0x1e8c7c,'range':{'startRow':0x0,'endRow':_0xeb196a-0x1,'startColumn':_0xd3cfc4,'endColumn':_0x4a802a[_0x3c8152(0x11b)]-0x1}}})),{'undos':_0x590bed,'redos':_0x293253};}function Li(_0x1b655a){const _0x4a4045=_0x3015f1;let _0x10a74c=0x0;for(let _0x33ff73=0x0;_0x33ff73<_0x1b655a[_0x4a4045(0x290)];_0x33ff73++){const _0x3f5520=_0x1b655a[_0x4a4045(0x138)](_0x33ff73);_0x3f5520>=0x4e00&&_0x3f5520<=0x9fff||_0x3f5520>=0x3000&&_0x3f5520<=0x303f||_0x3f5520>=0xff00&&_0x3f5520<=0xffef?_0x10a74c+=0x2:_0x10a74c+=0x1;}return _0x10a74c;}function Po(_0x5e7e85,_0x16ac58,_0x12d3bf,_0x260a22){const _0xc66909=_0x3015f1;var _0x2394cf,_0xd61379,_0x1ce3b3,_0x2bb400;const {rowCount:_0x35b18a,colCount:_0x118cd2,headerMap:_0x53ffc6}=_0x5e7e85,_0x16eaac=0x64,_0x4b0a21=Math['min'](_0x35b18a,_0x16eaac),_0x5b8b79=Math[_0xc66909(0x151)](_0x118cd2,_0x16eaac);let _0x3e010='',_0x47adc8=0x0;for(let _0x5a528a=0x0;_0x5a528a<_0x4b0a21;_0x5a528a++)for(let _0x4fa8a9=0x0;_0x4fa8a9<_0x5b8b79;_0x4fa8a9++){const _0x4a383e={...(_0xd61379=(_0x2394cf=_0x5e7e85[_0xc66909(0x8b)])==null?void 0x0:_0x2394cf[_0x5a528a])==null?void 0x0:_0xd61379[_0x4fa8a9]},_0x1fb90f=(_0x1ce3b3=_0x53ffc6[_0x5a528a])==null?void 0x0:_0x1ce3b3[_0xc66909(0x29d)],_0x483238=_0x260a22[_0x1fb90f];let _0x5e049e=_0x5e7e85['getValue'](_0x5a528a,_0x4fa8a9);if(_0x4a383e){const _0x47a1f7=_0x12d3bf?_0x4fa8a9===0x0&&((_0x2bb400=_0x5e7e85['getHeaderMapItem'](_0x4fa8a9+0x1))==null?void 0x0:_0x2bb400[_0xc66909(0x25f)]):!0x1;_0x5e049e=ht(_0x4a383e,_0x47a1f7,_0x483238,_0x16ac58);}if(_0x5e049e!==void 0x0){const _0x140c0d=Li(String(_0x5e049e));_0x47adc8<_0x140c0d&&(_0x3e010=String(_0x5e049e),_0x47adc8=_0x140c0d);}}return _0x3e010;}function ji(_0x5b9de8){const _0x2dd916=_0x3015f1,{rowCount:_0x18f6b0,colCount:_0x58aacf}=_0x5b9de8;let _0x5798f3='',_0x4c519b=0x0;for(let _0x3e786b=_0x18f6b0-0x1;_0x3e786b>0x0&&_0x3e786b>_0x18f6b0-0x3;_0x3e786b--)for(let _0x3c1ed5=0x0;_0x3c1ed5<_0x58aacf;_0x3c1ed5++){const _0x1aaa57=_0x5b9de8[_0x2dd916(0x1f3)](_0x3e786b,_0x3c1ed5);if(_0x1aaa57!==void 0x0){const _0x5387d7=String(_0x1aaa57)[_0x2dd916(0x290)];_0x4c519b<_0x5387d7&&(_0x5798f3=String(_0x1aaa57),_0x4c519b=_0x5387d7);}}return _0x5798f3;}function Yi(_0x2d2e63){const _0x266766=_0x3015f1,{rowCount:_0x5ed170,colCount:_0x366d6c}=_0x2d2e63;let _0x3233d7='',_0x19a4ee=0x0;for(let _0xe2c7f9=0x0;_0xe2c7f9<_0x5ed170;_0xe2c7f9++)for(let _0x3eb43a=0x0;_0x3eb43a<_0x366d6c;_0x3eb43a++){const _0x4f304c=_0x2d2e63[_0x266766(0x1f3)](_0xe2c7f9,_0x3eb43a);if(_0x4f304c!==void 0x0){const _0x4edd9e=String(_0x4f304c)[_0x266766(0x290)];_0x19a4ee<_0x4edd9e&&(_0x3233d7=String(_0x4f304c),_0x19a4ee=_0x4edd9e);}}return _0x3233d7;}function $i(_0x1ef7c8,_0x52085f){const _0x560d3b=_0x3015f1,{rowFields:_0x28261f,columnFields:_0x2e55d4,valueFields:_0xa35fc5,filterFields:_0x4ebaaa,dimension:_0x7669a8,measure:_0xc16773}=_0x52085f;for(const _0xe39059 of _0x28261f){const _0x3190c4=_0x7669a8[_0xe39059];_0x3190c4&&_0x1ef7c8[_0x560d3b(0x92)](_0x3190c4[_0x560d3b(0x2e3)])&&(_0x1ef7c8['addFieldWithSourceId'](_0x3190c4[_0x560d3b(0x2e3)],_0x2944fe[_0x560d3b(0x17a)],void 0x0,_0xe39059),_0x3190c4[_0x560d3b(0x276)]&&_0x1ef7c8['renameField'](_0x3190c4['id'],_0x3190c4[_0x560d3b(0x276)]),_0x3190c4['sortInfo']&&_0x1ef7c8[_0x560d3b(0xb2)](_0x3190c4['id'],_0x3190c4[_0x560d3b(0xd0)]),_0x3190c4[_0x560d3b(0x213)]&&_0x1ef7c8[_0x560d3b(0xc8)](_0x3190c4['id'],_0x3190c4[_0x560d3b(0x213)]));}for(const _0x3babb3 of _0x2e55d4){const _0x477b51=_0x7669a8[_0x3babb3];_0x477b51&&_0x1ef7c8['getDataFieldByDataFieldId'](_0x477b51['dataFieldId'])&&(_0x1ef7c8['addFieldWithSourceId'](_0x477b51['dataFieldId'],_0x2944fe[_0x560d3b(0x234)],void 0x0,_0x3babb3),_0x477b51[_0x560d3b(0xd0)]&&_0x1ef7c8['setSortInfo'](_0x477b51['id'],_0x477b51['sortInfo']),_0x477b51['filterInfo']&&_0x1ef7c8[_0x560d3b(0xc8)](_0x477b51['id'],_0x477b51['filterInfo']),_0x477b51['displayName']&&_0x1ef7c8[_0x560d3b(0x175)](_0x477b51['id'],_0x477b51['displayName']));}for(const _0x1690ed of _0x4ebaaa){const _0x16c33a=_0x7669a8[_0x1690ed];_0x16c33a&&_0x1ef7c8[_0x560d3b(0x92)](_0x16c33a[_0x560d3b(0x2e3)])&&(_0x1ef7c8[_0x560d3b(0x6e)](_0x16c33a[_0x560d3b(0x2e3)],_0x2944fe[_0x560d3b(0x7a)],void 0x0,_0x1690ed),_0x16c33a[_0x560d3b(0xd0)]&&_0x1ef7c8[_0x560d3b(0xb2)](_0x16c33a['id'],_0x16c33a['sortInfo']),_0x16c33a['filterInfo']&&_0x1ef7c8[_0x560d3b(0xc8)](_0x16c33a['id'],_0x16c33a[_0x560d3b(0x213)]),_0x16c33a[_0x560d3b(0x276)]&&_0x1ef7c8[_0x560d3b(0x175)](_0x16c33a['id'],_0x16c33a['displayName']));}for(const _0x2363f8 of _0xa35fc5){const _0x1f80cc=_0xc16773[_0x2363f8];_0x1f80cc&&_0x1ef7c8[_0x560d3b(0x92)](_0x1f80cc['dataFieldId'])&&(_0x1ef7c8[_0x560d3b(0x6e)](_0x1f80cc[_0x560d3b(0x2e3)],_0x2944fe[_0x560d3b(0x22a)],void 0x0,_0x2363f8),_0x1f80cc[_0x560d3b(0x135)]!==void 0x0&&_0x1ef7c8[_0x560d3b(0x14f)](_0x2363f8,_0x1f80cc['subtotal']),_0x1f80cc[_0x560d3b(0x299)]&&_0x1ef7c8[_0x560d3b(0x131)](_0x2363f8,_0x1f80cc['format']),_0x1f80cc[_0x560d3b(0x276)]&&_0x1ef7c8[_0x560d3b(0x175)](_0x1f80cc['id'],_0x1f80cc['displayName']));}const _0x229197=_0x52085f[_0x560d3b(0x19e)];for(const {fieldId:_0x30584f,filterInfo:_0x2cd703}of _0x229197)_0x1ef7c8[_0x560d3b(0x81)](_0x30584f,_0x2cd703);}function Wi(_0x13b6b2,_0x1c82ab){const _0x3c09b2=_0x3015f1,_0x28c47b=[];_0x1c82ab===_0x2944fe[_0x3c09b2(0x17a)]&&_0x13b6b2['iterateFieldByArea'](_0x2944fe[_0x3c09b2(0x17a)],_0x35ecee=>{const _0x324cf2=_0x3c09b2;_0x28c47b[_0x324cf2(0x23e)](_0x35ecee[_0x324cf2(0x208)]());}),_0x1c82ab===_0x2944fe[_0x3c09b2(0x234)]&&_0x13b6b2[_0x3c09b2(0x19c)](_0x2944fe[_0x3c09b2(0x234)],_0x2a9ba9=>{const _0x298866=_0x3c09b2;_0x28c47b[_0x298866(0x23e)](_0x2a9ba9[_0x298866(0x208)]());}),_0x1c82ab===_0x2944fe[_0x3c09b2(0x7a)]&&_0x13b6b2[_0x3c09b2(0x19c)](_0x2944fe[_0x3c09b2(0x7a)],_0x37062f=>{const _0x5cfc04=_0x3c09b2;_0x28c47b[_0x5cfc04(0x23e)](_0x37062f[_0x5cfc04(0x208)]());}),_0x1c82ab===_0x2944fe['Value']&&_0x13b6b2[_0x3c09b2(0x19c)](_0x2944fe[_0x3c09b2(0x22a)],_0x92fadd=>{const _0x4239df=_0x3c09b2;_0x28c47b[_0x4239df(0x23e)](_0x92fadd[_0x4239df(0x208)]());}),_0x1c82ab===void 0x0&&_0x13b6b2[_0x3c09b2(0x2b3)](_0x3aa8af=>{const _0x7162cf=_0x3c09b2;_0x28c47b[_0x7162cf(0x23e)](_0x3aa8af[_0x7162cf(0x208)]());});const _0x37d894=_0x28c47b[_0x3c09b2(0x290)];for(let _0x27e6a5=_0x37d894-0x1;_0x27e6a5>=0x0;_0x27e6a5--)_0x13b6b2['removeField'](_0x28c47b[_0x27e6a5]);const _0x522f60=_0x13b6b2[_0x3c09b2(0x1b5)]();for(const _0x57081b in _0x522f60)_0x13b6b2[_0x3c09b2(0xbf)](_0x57081b);}function Ji(_0x294800,_0x30c38a){const _0x4ab2ca=_0x3015f1,_0x3b62f2=new Date(_0xcd6c30(_0x30c38a)),_0x1b05c2=new Date(_0xcd6c30(_0x294800)),_0xd364c3=_0x3b62f2[_0x4ab2ca(0xd6)](),_0x27a701=_0x1b05c2[_0x4ab2ca(0xd6)](),_0x363890=_0x3b62f2[_0x4ab2ca(0x1ad)](),_0x4e4b14=_0x1b05c2[_0x4ab2ca(0x1ad)](),_0x4cf5a1=_0x3b62f2[_0x4ab2ca(0xc0)](),_0x5d4a72=_0x1b05c2[_0x4ab2ca(0xc0)](),_0x4d2812=_0xd364c3===_0x27a701,_0x3eb4c2=_0x4d2812&&_0x363890===_0x4e4b14;return _0x4d2812&&_0x3eb4c2&&!(_0x3eb4c2&&_0x4cf5a1===_0x5d4a72)?_0x4976b3[_0x4ab2ca(0x97)]:_0x4d2812&&!_0x3eb4c2?_0x4976b3[_0x4ab2ca(0x6a)]:_0x4976b3[_0x4ab2ca(0x1c0)];}function Ho(_0x5530f3,_0x2d52b5){const _0x37f7fc=_0x3015f1,_0x5e8175=_0x5530f3['get'](Y)[_0x37f7fc(0x227)]();let _0x330078='';switch(_0x2d52b5){case _0x4976b3['YearMonthDate']:_0x330078=_0x5e8175[_0x37f7fc(0xcd)];break;case _0x4976b3[_0x37f7fc(0x6a)]:_0x330078=_0x5e8175[_0x37f7fc(0x90)];break;case _0x4976b3[_0x37f7fc(0x1c0)]:_0x330078=_0x5e8175[_0x37f7fc(0x246)];break;case _0x4976b3[_0x37f7fc(0x6c)]:_0x330078=_0x5e8175[_0x37f7fc(0x16a)];break;case _0x4976b3[_0x37f7fc(0x2c7)]:_0x330078=_0x5e8175[_0x37f7fc(0x269)];break;case _0x4976b3['Date']:_0x330078=_0x5e8175[_0x37f7fc(0x150)];break;case _0x4976b3[_0x37f7fc(0x259)]:_0x330078=_0x5e8175[_0x37f7fc(0x8e)];break;case _0x4976b3[_0x37f7fc(0x2b6)]:_0x330078=_0x5e8175[_0x37f7fc(0xfd)];break;case _0x4976b3[_0x37f7fc(0xa1)]:_0x330078=_0x5e8175[_0x37f7fc(0xfa)];break;case _0x4976b3[_0x37f7fc(0x1a0)]:_0x330078=_0x5e8175[_0x37f7fc(0x203)];break;case _0x4976b3[_0x37f7fc(0x251)]:_0x330078=_0x5e8175['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x330078='';break;}return _0x330078;}const qo=_0x3015f1(0x187),yo={};var Gi=Object[_0x3015f1(0x1a8)],Ki=(_0x240d07,_0x120c2b,_0x5c42c6,_0x2b186f)=>{const _0x52b4fd=_0x3015f1;for(var _0x1c5b8e=_0x2b186f>0x1?void 0x0:_0x2b186f?Gi(_0x120c2b,_0x5c42c6):_0x120c2b,_0x58eda0=_0x240d07[_0x52b4fd(0x290)]-0x1,_0x417ac7;_0x58eda0>=0x0;_0x58eda0--)(_0x417ac7=_0x240d07[_0x58eda0])&&(_0x1c5b8e=_0x417ac7(_0x1c5b8e)||_0x1c5b8e);return _0x1c5b8e;},at=(_0x21b505,_0x4316f9)=>(_0x1ab1c5,_0x1921ee)=>_0x4316f9(_0x1ab1c5,_0x1921ee,_0x21b505);let he=class extends _0x434a0e{constructor(_0x156456,_0x40cb1d,_0x2414cf,_0x4b70d1,_0x129cc7){const _0x13adec=_0x3015f1;super(),A(this,'_model',new Map()),A(this,_0x13adec(0x1ce),new Map()),A(this,_0x13adec(0x2a4),new Map()),A(this,_0x13adec(0x216),new Map()),A(this,_0x13adec(0x21c),new _0x4a95ea()),A(this,_0x13adec(0x2b5),new _0x4a95ea()),A(this,_0x13adec(0x229),this[_0x13adec(0x2b5)][_0x13adec(0x233)]()),A(this,'_pivotConfigChange$',new _0x4a95ea()),A(this,_0x13adec(0x1f8),this[_0x13adec(0x1fa)]['asObservable']()),A(this,_0x13adec(0x2d6),{}),A(this,_0x13adec(0x2c1),this[_0x13adec(0x21c)][_0x13adec(0x233)]()),(this['_injector']=_0x156456,this[_0x13adec(0x27d)]=_0x40cb1d,this[_0x13adec(0x1d1)]=_0x2414cf,this['_resourceManagerService']=_0x4b70d1,this[_0x13adec(0x20d)]=_0x129cc7,this[_0x13adec(0xe5)](),this['_initUnitDisposed']());const _0x346a9e=this['_configService']['getConfig'](qo);(_0x346a9e==null?void 0x0:_0x346a9e['notExecuteFormula'])===!0x0&&this['_initSnapshot']();}['_initUnitDisposed'](){const _0x48e3b9=_0x3015f1;this['disposeWithMe'](this[_0x48e3b9(0x1d1)][_0x48e3b9(0xb9)](_0x8b7529[_0x48e3b9(0x237)])['subscribe'](_0x423d1f=>{const _0x54bd39=_0x48e3b9;this[_0x54bd39(0x262)](_0x423d1f[_0x54bd39(0x116)]());}));}['setPivotInitCompleted'](){const _0xe312a3=_0x3015f1;this[_0xe312a3(0x2b5)][_0xe312a3(0x123)](!0x0);}[_0x3015f1(0xe5)](){const _0x1ecc71=_0x3015f1,_0xe4fc7b=fo(this['_injector'],Lo,'',{});this[_0x1ecc71(0x2d6)]=_0xe4fc7b,this[_0x1ecc71(0x27d)][_0x1ecc71(0x102)](uo['id'],{'textInfo':_0xe4fc7b},{'onlyLocal':!0x0});}[_0x3015f1(0x227)](){const _0x39c8c0=_0x3015f1;return this[_0x39c8c0(0x2d6)];}[_0x3015f1(0x15e)](_0x2c3a0d,_0x2a8bd2,_0xc83731,_0x144cf8,_0x5d4c19){const _0x28d754=_0x3015f1;this['updatePivotTableMatrixInfo'](_0x2c3a0d,_0x2a8bd2,_0xc83731,_0x144cf8),this[_0x28d754(0xab)](_0x2c3a0d,_0x2a8bd2,_0xc83731,_0x5d4c19);}[_0x3015f1(0x298)](_0x536284,_0x5501cb,_0x20cb21){const _0x5ce215=_0x3015f1;var _0x49b587;const _0x3b6619=(_0x49b587=this[_0x5ce215(0x14c)][_0x5ce215(0x1c7)](_0x536284))==null?void 0x0:_0x49b587['get'](_0x5501cb);if(_0x3b6619)return _0x3b6619[_0x5ce215(0x1c7)](_0x20cb21);}[_0x3015f1(0x1c9)](_0x59debe,_0x3b4f3e){const _0xfba4b2=_0x3015f1,_0x4831ae=this[_0xfba4b2(0x14c)][_0xfba4b2(0x1c7)](_0x59debe);if(_0x4831ae){for(const [_0x3e2293,_0x28c276]of _0x4831ae[_0xfba4b2(0x267)]())for(const [_0x46502a,_0x31a0e6]of _0x28c276[_0xfba4b2(0x267)]())if(_0x46502a===_0x3b4f3e)return _0x31a0e6[_0xfba4b2(0xa7)];}}[_0x3015f1(0x122)](_0x4b98a6,_0x3f2d72,_0x3bf8af){const _0x2220c4=_0x3015f1,_0x49c353=this[_0x2220c4(0x298)](_0x4b98a6,_0x3f2d72,_0x3bf8af);return _0x49c353==null?void 0x0:_0x49c353['targetCellInfo'];}[_0x3015f1(0x27b)](_0x560a9a,_0x125f61){const _0x37db49=_0x3015f1;var _0x284837;return(_0x284837=this[_0x37db49(0x14c)][_0x37db49(0x1c7)](_0x560a9a))==null?void 0x0:_0x284837[_0x37db49(0x1c7)](_0x125f61);}[_0x3015f1(0x7f)](_0x3ad397,_0x1e3595,_0x45d7a3,_0x4135c8){const _0x2a865a=_0x3015f1,_0x379f50=this[_0x2a865a(0x7d)](_0x3ad397,_0x1e3595);_0x4135c8?_0x379f50['set'](_0x45d7a3,_0x4135c8):_0x379f50[_0x2a865a(0x16b)](_0x45d7a3),this[_0x2a865a(0x1fa)][_0x2a865a(0x123)]({'unitId':_0x3ad397,'subUnitId':_0x1e3595,'pivotTableId':_0x45d7a3,'pivotTableConfig':_0x4135c8});}[_0x3015f1(0x130)](_0x446dc1,_0xf2d620){const _0x391bdc=_0x3015f1;var _0x3ebeb3;return(_0x3ebeb3=this[_0x391bdc(0x1ce)][_0x391bdc(0x1c7)](_0x446dc1))==null?void 0x0:_0x3ebeb3[_0x391bdc(0x13e)][_0xf2d620];}[_0x3015f1(0xd1)](_0x3309ac,_0x31cda0){const _0x1864e6=_0x3015f1;this[_0x1864e6(0x1ce)][_0x1864e6(0x133)](_0x3309ac,_0x31cda0),this[_0x1864e6(0x21c)][_0x1864e6(0x123)](Math[_0x1864e6(0x27c)]());}['_ensurePivotMap'](_0x4eb39b,_0x450c19){const _0x53b078=_0x3015f1;let _0x44f579=this[_0x53b078(0x14c)]['get'](_0x4eb39b);_0x44f579||(_0x44f579=new Map(),this[_0x53b078(0x14c)]['set'](_0x4eb39b,_0x44f579));let _0x20f4f6=_0x44f579[_0x53b078(0x1c7)](_0x450c19);return _0x20f4f6||(_0x20f4f6=new Map(),_0x44f579[_0x53b078(0x133)](_0x450c19,_0x20f4f6)),_0x20f4f6;}[_0x3015f1(0x2c6)](_0x577378,_0x193c4f){const _0x16d737=_0x3015f1;let _0x5b29a7=this['_pivotTableRangeInfo'][_0x16d737(0x1c7)](_0x577378);_0x5b29a7||(_0x5b29a7=new Map(),this[_0x16d737(0x2a4)][_0x16d737(0x133)](_0x577378,_0x5b29a7));let _0x1b1d7c=_0x5b29a7[_0x16d737(0x1c7)](_0x193c4f);return _0x1b1d7c||(_0x1b1d7c=new Map(),_0x5b29a7['set'](_0x193c4f,_0x1b1d7c)),_0x1b1d7c;}[_0x3015f1(0xcf)](_0x2dd51a,_0x582349){const _0x2a4a49=_0x3015f1;let _0x12115e=this[_0x2a4a49(0x216)][_0x2a4a49(0x1c7)](_0x2dd51a);_0x12115e||(_0x12115e=new Map(),this['_pivotTableMatrixInfo']['set'](_0x2dd51a,_0x12115e));let _0x2e1180=_0x12115e[_0x2a4a49(0x1c7)](_0x582349);return _0x2e1180||(_0x2e1180=new Map(),_0x12115e['set'](_0x582349,_0x2e1180)),_0x2e1180;}['updatePivotTableRangeInfo'](_0xcc4e7b,_0x2277b5,_0x2a0c06,_0x5e8b99){const _0x28e69a=_0x3015f1;var _0x22e807;const _0xbcc882=this['_ensurePivotTableRangeInfo'](_0xcc4e7b,_0x2277b5),_0x41dd05=(_0x22e807=_0xbcc882[_0x28e69a(0x1c7)](_0x2a0c06))==null?void 0x0:_0x22e807['oldRangeInfo'];_0xbcc882[_0x28e69a(0x133)](_0x2a0c06,{'oldRangeInfo':_0x41dd05,'rangeInfo':_0x5e8b99});}[_0x3015f1(0xe2)](_0x583863,_0x4b21f6,_0x4f8a2b,_0x47535b){const _0x3b4d00=_0x3015f1;var _0x2533a8;const _0x61e5d2=this[_0x3b4d00(0xcf)](_0x583863,_0x4b21f6),_0x258a7e=(_0x2533a8=_0x61e5d2['get'](_0x4f8a2b))==null?void 0x0:_0x2533a8['oldMatrix'];_0x61e5d2[_0x3b4d00(0x133)](_0x4f8a2b,{'oldMatrix':_0x258a7e,'matrix':_0x47535b});}[_0x3015f1(0x20e)](_0x472c97,_0x5c4668,_0x1ca6b3){const _0x361c26=_0x3015f1;var _0x88068f,_0x528036;return(_0x528036=(_0x88068f=this[_0x361c26(0x2a4)][_0x361c26(0x1c7)](_0x472c97))==null?void 0x0:_0x88068f[_0x361c26(0x1c7)](_0x5c4668))==null?void 0x0:_0x528036[_0x361c26(0x1c7)](_0x1ca6b3);}[_0x3015f1(0x101)](_0x2614c6,_0x112870,_0x22f070){const _0x11fd6d=_0x3015f1;var _0x53bbae,_0x51946f;return(_0x51946f=(_0x53bbae=this[_0x11fd6d(0x216)][_0x11fd6d(0x1c7)](_0x2614c6))==null?void 0x0:_0x53bbae[_0x11fd6d(0x1c7)](_0x112870))==null?void 0x0:_0x51946f[_0x11fd6d(0x1c7)](_0x22f070);}['deleteUnitId'](_0x4754e6){const _0x4cfd4d=_0x3015f1;this['_model'][_0x4cfd4d(0x16b)](_0x4754e6),this[_0x4cfd4d(0x1ce)]['delete'](_0x4754e6);}[_0x3015f1(0x1b8)](_0x44e62e){const _0x494266=_0x3015f1,_0x403331={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel'][_0x494266(0x1c7)](_0x44e62e)&&(_0x403331[_0x494266(0xcc)][_0x44e62e]=this[_0x494266(0x1ce)][_0x494266(0x1c7)](_0x44e62e)),this['_model'][_0x494266(0x1c7)](_0x44e62e)){_0x403331[_0x494266(0x18b)][_0x44e62e]={};const _0x5cdf3b=this['_model'][_0x494266(0x1c7)](_0x44e62e);_0x5cdf3b!=null&&_0x5cdf3b[_0x494266(0x285)]&&[..._0x5cdf3b['keys']()][_0x494266(0x14e)](_0x5aaf35=>{const _0x2078e3=_0x494266,_0x4468e5=_0x5cdf3b[_0x2078e3(0x1c7)](_0x5aaf35);_0x4468e5!=null&&_0x4468e5[_0x2078e3(0x285)]&&(_0x403331[_0x2078e3(0x18b)][_0x44e62e][_0x5aaf35]={},[..._0x4468e5[_0x2078e3(0x1bc)]()][_0x2078e3(0x14e)](_0x2949ac=>{const _0x58fe9e=_0x2078e3,_0x3077ae=_0x4468e5[_0x58fe9e(0x1c7)](_0x2949ac);_0x3077ae&&(_0x403331[_0x58fe9e(0x18b)][_0x44e62e][_0x5aaf35][_0x2949ac]=_0x3077ae);}));});}return _0x403331;}['_initSnapshot'](){const _0x314733=_0x3015f1;this[_0x314733(0x180)](this[_0x314733(0x1fe)][_0x314733(0xb4)]({'toJson':_0x361a1e=>JSON[_0x314733(0x1b0)](this[_0x314733(0x1b8)](_0x361a1e)),'parseJson':_0x4ccdbc=>({}),'businesses':[_0x8b7529[_0x314733(0x237)]],'pluginName':ao,'onLoad':(_0xff4f2e,_0x2208fb)=>{},'onUnLoad':_0x9714f0=>{const _0x3948fc=_0x314733;this[_0x3948fc(0x262)](_0x9714f0);}}));}};he=Ki([at(0x0,_0x416b2a(_0x447c52)),at(0x1,_0x416b2a(_0x3ec272)),at(0x2,_0x416b2a(_0x58e9a8)),at(0x3,_0x416b2a(_0x5dc47e)),at(0x4,_0x416b2a(_0x43238f))],he);var Hi=Object['getOwnPropertyDescriptor'],qi=(_0x83c7eb,_0x3c23e2,_0x436359,_0x24739f)=>{for(var _0x54c4ab=_0x24739f>0x1?void 0x0:_0x24739f?Hi(_0x3c23e2,_0x436359):_0x3c23e2,_0x100f2f=_0x83c7eb['length']-0x1,_0x1391d3;_0x100f2f>=0x0;_0x100f2f--)(_0x1391d3=_0x83c7eb[_0x100f2f])&&(_0x54c4ab=_0x1391d3(_0x54c4ab)||_0x54c4ab);return _0x54c4ab;},rt=(_0x41b0a5,_0x1310f6)=>(_0x19f2f1,_0x5f2ecc)=>_0x1310f6(_0x19f2f1,_0x5f2ecc,_0x41b0a5);let Ne=class extends _0x434a0e{constructor(_0x3d7359,_0x18b99a,_0x265750,_0x39d37a,_0xcbaa73){const _0x2fdf42=_0x3015f1;super(),A(this,_0x2fdf42(0x167),new Map()),A(this,_0x2fdf42(0x284),new Map()),A(this,_0x2fdf42(0x125),new _0x4a95ea()),A(this,_0x2fdf42(0x2dd),this[_0x2fdf42(0x125)]['asObservable']()),A(this,_0x2fdf42(0x14b),new _0x4a95ea()),A(this,_0x2fdf42(0x18d),this['_viewUpdate$']['asObservable']()),A(this,_0x2fdf42(0x2d6)),(this[_0x2fdf42(0x2a9)]=_0x3d7359,this['_injector']=_0x18b99a,this[_0x2fdf42(0x181)]=_0x265750,this['_univerInstanceService']=_0x39d37a,this[_0x2fdf42(0x105)]=_0xcbaa73,this[_0x2fdf42(0xe5)](),this[_0x2fdf42(0x8a)]());}['_initUnitDisposed'](){const _0xd819b8=_0x3015f1;this['disposeWithMe'](this[_0xd819b8(0x1d1)][_0xd819b8(0xb9)](_0x8b7529[_0xd819b8(0x237)])[_0xd819b8(0xc2)](_0xc0c5c5=>{const _0x24f467=_0xd819b8;this['deleteUnitId'](_0xc0c5c5[_0x24f467(0x116)]());}));}['_initLocale'](){const _0x2bf46f=_0x3015f1;this[_0x2bf46f(0x2d6)]=fo(this[_0x2bf46f(0x198)],Lo,'',{});}[_0x3015f1(0x268)](_0x506439){const _0x5951c4=_0x3015f1,{view:_0x46c239,unitId:_0x515621,subUnitId:_0x32fcf8,pivotTableId:_0x334dff,type:_0x885a3e}=_0x506439,_0x436800=this[_0x5951c4(0x181)][_0x5951c4(0x298)](_0x515621,_0x32fcf8,_0x334dff);if(!_0x46c239||!_0x436800||_0x885a3e===j[_0x5951c4(0x2e2)])return;const {pageView:_0x2ff141,cornerView:_0x293256,rowView:_0x3e68d1,colView:_0x167470,dataView:_0x15ca04}=_0x46c239,_0x170f37=_0x436800[_0x5951c4(0xa7)],_0x363f34=_0x436800['isEmpty'],_0x5c94f5=this[_0x5951c4(0x2b2)](_0x515621,_0x32fcf8),_0x488302=this[_0x5951c4(0x1b3)](_0x515621,_0x32fcf8,_0x334dff);if(_0x363f34)return this[_0x5951c4(0x207)](_0x506439,_0x5c94f5,_0x170f37,_0x488302);{const _0x4172fe=ge(_0x170f37,_0x2ff141,!0x0),_0x2cbb68=_0x2ff141['lastRow']>=0x0?_0x2ff141[_0x5951c4(0x12e)]+0x1:0x0,_0x316d60=_0x293256[_0x5951c4(0x274)](),_0x61249f=_0x293256['getColCount'](),_0x27b3a5=_0x4172fe['length']>0x0?mt:0x0,_0x4d97ad=ge({'row':_0x170f37['row']+_0x2cbb68+_0x27b3a5,'col':_0x170f37[_0x5951c4(0x23d)]},_0x293256,!0x1,!0x1),_0x355fa6=ge({'row':_0x170f37[_0x5951c4(0x291)]+_0x2cbb68+_0x27b3a5+_0x316d60,'col':_0x170f37[_0x5951c4(0x23d)]},_0x3e68d1,!0x1,!0x0),_0x20aabc=ge({'row':_0x170f37[_0x5951c4(0x291)]+_0x2cbb68+_0x27b3a5,'col':_0x170f37['col']+_0x61249f},_0x167470,!0x1,!0x0),_0x167ed5=ge({'row':_0x170f37['row']+_0x2cbb68+_0x27b3a5+_0x316d60,'col':_0x170f37[_0x5951c4(0x23d)]+_0x61249f},_0x15ca04,!0x1,!0x1);_0x488302[_0x5951c4(0x295)]={'rowRanges':_0x355fa6,'colRanges':_0x20aabc,'cornerRanges':_0x4d97ad,'dataRanges':_0x167ed5,'pageRanges':_0x4172fe};const _0x37d304=yi(this[_0x5951c4(0x198)],_0x46c239,_0x436800,this['_textInfo']),{valueMatrix:_0x31a502,rowInfo:_0x2b033f,colInfo:_0x11904e,cornerInfo:_0x5f1419,rowHeaderMap:_0x886f73,colHeaderMap:_0xd70b0}=_0x37d304;return _0x488302['areaInfo']={'rowInfo':_0x2b033f,'colInfo':_0x11904e,'cornerInfo':_0x5f1419},_0x488302[_0x5951c4(0x2ae)]={'rowHeaderMap':_0x886f73,'colHeaderMap':_0xd70b0},_0x31a502[_0x5951c4(0x14e)]((_0x9d9d20,_0x14f9f7)=>{const _0x1ba8c2=_0x5951c4;Object[_0x1ba8c2(0x1bc)](_0x14f9f7)[_0x1ba8c2(0x14e)](_0x3164cd=>{const _0x4fec4f=_0x1ba8c2,_0x36f457=+_0x3164cd,_0x2bd7ad=_0x31a502['getValue'](_0x9d9d20,_0x36f457);_0x5c94f5[_0x4fec4f(0xb7)](_0x9d9d20,_0x36f457,_0x2bd7ad);});}),this[_0x5951c4(0x14b)][_0x5951c4(0x123)]({'unitId':_0x515621,'subUnitId':_0x32fcf8,'valueMatrix':_0x5c94f5,'rangesCache':_0x488302[_0x5951c4(0x295)],'pivotTableId':_0x334dff,'type':_0x506439['type']}),this[_0x5951c4(0x181)][_0x5951c4(0x15e)](_0x515621,_0x32fcf8,_0x334dff,_0x5c94f5,_0x488302[_0x5951c4(0x295)]),this[_0x5951c4(0x105)][_0x5951c4(0x2b1)](_0x515621,_0x32fcf8,Bt,this[_0x5951c4(0x230)](_0x488302[_0x5951c4(0x295)],_0x334dff)),{'rangeCache':_0x488302['rangesInfo'],'matrix':_0x5c94f5};}}[_0x3015f1(0x207)](_0x3fbadc,_0x13d1a4,_0x4dccaf,_0x580a69){const _0x345c69=_0x3015f1,_0x4c766c=this[_0x345c69(0x2a9)]['t'],{unitId:_0x242210,subUnitId:_0x16c784,pivotTableId:_0x276dea}=_0x3fbadc,_0x51732f={'filter':_0x4c766c(_0x345c69(0x17d)),'row':_0x4c766c(_0x345c69(0x21a)),'column':_0x4c766c(_0x345c69(0x200)),'values':_0x4c766c(_0x345c69(0x2e1))},{matrixCache:_0x2800d0,rangesCache:_0x587d7e}=Jo(_0x51732f,_0x4dccaf);return _0x2800d0[_0x345c69(0x15b)]((_0x1e69c8,_0x449065,_0x261087)=>{const _0x5ba071=_0x345c69;_0x13d1a4[_0x5ba071(0xb7)](_0x1e69c8,_0x449065,_0x261087);}),_0x580a69['rangesInfo']=_0x587d7e,this[_0x345c69(0x14b)][_0x345c69(0x123)]({'unitId':_0x242210,'subUnitId':_0x16c784,'valueMatrix':_0x13d1a4,'rangesCache':_0x587d7e,'pivotTableId':_0x276dea,'type':_0x3fbadc['type'],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0x345c69(0x15e)](_0x242210,_0x16c784,_0x276dea,_0x13d1a4,_0x587d7e),this[_0x345c69(0x105)][_0x345c69(0x2b1)](_0x242210,_0x16c784,Bt,this[_0x345c69(0x230)](_0x587d7e,_0x276dea)),{'rangeCache':_0x580a69[_0x345c69(0x295)],'matrix':_0x13d1a4};}[_0x3015f1(0x230)](_0x503f5,_0x1f2743){const _0x5e488e=_0x3015f1,_0x27d41f=[],_0x133ab6=jt(_0x503f5);for(const _0x52022d of _0x133ab6)_0x27d41f[_0x5e488e(0x23e)]({'groupId':_0x1f2743,'range':_0x52022d});return _0x27d41f;}['clearRenderCache'](_0x27827e){const _0x3c0d0f=_0x3015f1;var _0x136bbe,_0x3e1309,_0x53fd5f,_0x438a55;const {pivotTableId:_0x34d4bd,unitId:_0x5e2576,subUnitId:_0xd598fa}=_0x27827e;if(!_0x34d4bd||!_0x5e2576||!_0xd598fa)return;const _0x13e3ea=this[_0x3c0d0f(0x2b2)](_0x5e2576,_0xd598fa),_0x4cc742=(_0x3e1309=(_0x136bbe=this['_pivotRenderInfoCache'][_0x3c0d0f(0x1c7)](_0x5e2576))==null?void 0x0:_0x136bbe['get'](_0xd598fa))==null?void 0x0:_0x3e1309[_0x3c0d0f(0x1c7)](_0x34d4bd);if(_0x4cc742!=null&&_0x4cc742[_0x3c0d0f(0x295)]){for(const _0x2b9d26 of Object[_0x3c0d0f(0x1bc)](_0x4cc742[_0x3c0d0f(0x295)]))_0x4cc742[_0x3c0d0f(0x295)][_0x2b9d26][_0x3c0d0f(0x14e)](_0x15bf8c=>{const _0x5c2581=_0x3c0d0f;for(let _0x580614=_0x15bf8c[_0x5c2581(0x2a3)];_0x580614<=_0x15bf8c[_0x5c2581(0x1dc)];_0x580614++)for(let _0x3c2a91=_0x15bf8c[_0x5c2581(0x28c)];_0x3c2a91<=_0x15bf8c[_0x5c2581(0x9a)];_0x3c2a91++)_0x13e3ea[_0x5c2581(0x1f0)](_0x580614,_0x3c2a91);});}_0x4cc742&&((_0x438a55=(_0x53fd5f=this['_pivotRenderInfoCache']['get'](_0x5e2576))==null?void 0x0:_0x53fd5f[_0x3c0d0f(0x1c7)](_0xd598fa))==null||_0x438a55['delete'](_0x34d4bd)),this[_0x3c0d0f(0x14b)][_0x3c0d0f(0x123)]({'unitId':_0x5e2576,'subUnitId':_0xd598fa,'valueMatrix':_0x13e3ea,'pivotTableId':_0x34d4bd,'rangesCache':void 0x0,'type':_0x27827e[_0x3c0d0f(0x19d)]}),this[_0x3c0d0f(0x105)][_0x3c0d0f(0x2c5)](_0x5e2576,_0xd598fa,Bt,_0x34d4bd);}[_0x3015f1(0x1b3)](_0xff2881,_0x3fa1ad,_0x57a533){const _0x24eb60=_0x3015f1;var _0x4dcb16,_0x2bcec6,_0x11cef7,_0x3c8499,_0x29b13a,_0x5b15c3;return this[_0x24eb60(0x167)]['has'](_0xff2881)||this[_0x24eb60(0x167)]['set'](_0xff2881,new Map()),(_0x4dcb16=this['_pivotRenderInfoCache'][_0x24eb60(0x1c7)](_0xff2881))!=null&&_0x4dcb16[_0x24eb60(0x9f)](_0x3fa1ad)||(_0x2bcec6=this[_0x24eb60(0x167)][_0x24eb60(0x1c7)](_0xff2881))==null||_0x2bcec6['set'](_0x3fa1ad,new Map()),(_0x3c8499=(_0x11cef7=this[_0x24eb60(0x167)][_0x24eb60(0x1c7)](_0xff2881))==null?void 0x0:_0x11cef7['get'](_0x3fa1ad))!=null&&_0x3c8499[_0x24eb60(0x9f)](_0x57a533)||(_0x5b15c3=(_0x29b13a=this['_pivotRenderInfoCache'][_0x24eb60(0x1c7)](_0xff2881))==null?void 0x0:_0x29b13a[_0x24eb60(0x1c7)](_0x3fa1ad))==null||_0x5b15c3['set'](_0x57a533,{}),this[_0x24eb60(0x167)][_0x24eb60(0x1c7)](_0xff2881)[_0x24eb60(0x1c7)](_0x3fa1ad)[_0x24eb60(0x1c7)](_0x57a533);}['_ensurePivotItemRenderValueMatrixCache'](_0x42a728,_0xb394c){const _0x441132=_0x3015f1;var _0x583bd0,_0x34bf36;return this[_0x441132(0x284)][_0x441132(0x9f)](_0x42a728)||this[_0x441132(0x284)][_0x441132(0x133)](_0x42a728,new Map()),(_0x583bd0=this['_pivotRenderValueMatrixCache'][_0x441132(0x1c7)](_0x42a728))!=null&&_0x583bd0[_0x441132(0x9f)](_0xb394c)||(_0x34bf36=this[_0x441132(0x284)][_0x441132(0x1c7)](_0x42a728))==null||_0x34bf36[_0x441132(0x133)](_0xb394c,new _0x5718da()),this['_pivotRenderValueMatrixCache'][_0x441132(0x1c7)](_0x42a728)[_0x441132(0x1c7)](_0xb394c);}[_0x3015f1(0xc6)](_0x1dbcd4,_0x34b7d2,_0x321741,_0x3fba19){const _0x189fb6=_0x3015f1;var _0x5535c1,_0x4b9146;const _0x3eee94=(_0x4b9146=(_0x5535c1=this[_0x189fb6(0x284)][_0x189fb6(0x1c7)](_0x1dbcd4))==null?void 0x0:_0x5535c1[_0x189fb6(0x1c7)](_0x34b7d2))==null?void 0x0:_0x4b9146['getValue'](_0x321741,_0x3fba19);if(_0x3eee94!=null)return _0x3eee94;}[_0x3015f1(0x176)](_0x29b365,_0x309dbe,_0x12df78,_0x1982bc){const _0x5bc220=_0x3015f1;var _0x26bef8;const _0x33a82d=_0x4a0405(_0x12df78,_0x1982bc),_0x1eb439=(_0x26bef8=this[_0x5bc220(0x167)]['get'](_0x29b365))==null?void 0x0:_0x26bef8['get'](_0x309dbe);return _0x1eb439?Array[_0x5bc220(0x2c2)](_0x1eb439[_0x5bc220(0x1bc)]())[_0x5bc220(0xe4)](_0x144767=>{const _0x4a6d86=_0x5bc220,_0x36469c=_0x1eb439[_0x4a6d86(0x1c7)](_0x144767),_0x82d63f=_0x36469c==null?void 0x0:_0x36469c[_0x4a6d86(0x295)];return _0x82d63f?Object['keys'](_0x82d63f)[_0x4a6d86(0x19f)](_0x41e5df=>_0x82d63f[_0x41e5df]['some'](_0x255bd2=>_0x2d61f8[_0x4a6d86(0x2e0)](_0x255bd2,_0x33a82d))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x52265a,_0x577c5b,_0x39822c){const _0xdc51dc=_0x3015f1;var _0x3f0e2a;const _0x2c281c=(_0x3f0e2a=this['_pivotRenderInfoCache']['get'](_0x52265a))==null?void 0x0:_0x3f0e2a[_0xdc51dc(0x1c7)](_0x577c5b),_0x47ad2b=[];return _0x2c281c&&Array['from'](_0x2c281c[_0xdc51dc(0x1bc)]())[_0xdc51dc(0x14e)](_0x2ebcae=>{const _0x5df91a=_0xdc51dc,_0x4bd776=_0x2c281c[_0x5df91a(0x1c7)](_0x2ebcae),_0x1218bd=_0x4bd776==null?void 0x0:_0x4bd776[_0x5df91a(0x295)];if(_0x1218bd)for(const _0xd78177 of Object[_0x5df91a(0x15c)](_0x1218bd)){let _0x37e7c5=!0x1;for(const _0x3e0623 of _0xd78177)if(_0x2d61f8['intersects'](_0x3e0623,_0x39822c)){_0x47ad2b[_0x5df91a(0x23e)](_0x2ebcae),_0x37e7c5=!0x0;break;}if(_0x37e7c5)break;}}),_0x47ad2b;}[_0x3015f1(0x2da)](_0x444607,_0xd67f96){const _0x4c0c71=_0x3015f1;var _0x593b4d,_0xa10ba;return(_0xa10ba=(_0x593b4d=this['_pivotRenderValueMatrixCache'][_0x4c0c71(0x1c7)](_0x444607))==null?void 0x0:_0x593b4d[_0x4c0c71(0x1c7)](_0xd67f96))!=null?_0xa10ba:new _0x5718da();}[_0x3015f1(0x157)](_0x4b0b33,_0x2d95eb){const _0x55355d=_0x3015f1;var _0x5221f9;return(_0x5221f9=this['_pivotRenderInfoCache'][_0x55355d(0x1c7)](_0x4b0b33))==null?void 0x0:_0x5221f9[_0x55355d(0x1c7)](_0x2d95eb);}[_0x3015f1(0x270)](_0x26d91f,_0x3da9f7,_0x34dd67){const _0x23ad47=_0x3015f1;var _0x497575,_0x4bc838;return(_0x4bc838=(_0x497575=this[_0x23ad47(0x167)]['get'](_0x26d91f))==null?void 0x0:_0x497575['get'](_0x3da9f7))==null?void 0x0:_0x4bc838[_0x23ad47(0x1c7)](_0x34dd67);}[_0x3015f1(0x262)](_0x3be139){const _0xaff7eb=_0x3015f1;this[_0xaff7eb(0x167)][_0xaff7eb(0x16b)](_0x3be139),this[_0xaff7eb(0x284)][_0xaff7eb(0x16b)](_0x3be139);}[_0x3015f1(0x16c)](_0x4c4ab5,_0x2f78e1){const _0x5d4e54=_0x3015f1;this['_markDirty$'][_0x5d4e54(0x123)]({'unitId':_0x4c4ab5,'subUnitId':_0x2f78e1});}};Ne=qi([rt(0x0,_0x416b2a(_0x4f3764)),rt(0x1,_0x416b2a(_0x447c52)),rt(0x2,_0x416b2a(he)),rt(0x3,_0x416b2a(_0x58e9a8)),rt(0x4,_0x416b2a(_0x2a4800))],Ne);var Zi=Object[_0x3015f1(0x1a8)],Qi=(_0x4ee48c,_0xa33d59,_0x5c2a41,_0x127fcb)=>{const _0x500227=_0x3015f1;for(var _0x5ab334=_0x127fcb>0x1?void 0x0:_0x127fcb?Zi(_0xa33d59,_0x5c2a41):_0xa33d59,_0x4119d2=_0x4ee48c[_0x500227(0x290)]-0x1,_0x5e96de;_0x4119d2>=0x0;_0x4119d2--)(_0x5e96de=_0x4ee48c[_0x4119d2])&&(_0x5ab334=_0x5e96de(_0x5ab334)||_0x5ab334);return _0x5ab334;},Mo=(_0x32e648,_0x4fad90)=>(_0x166f10,_0x2322c1)=>_0x4fad90(_0x166f10,_0x2322c1,_0x32e648);let ie=class extends _0x434a0e{constructor(_0x390de2,_0xd2d0a3){const _0x37b688=_0x3015f1;super(),A(this,_0x37b688(0x297),new _0x5473e2({'PIVOT_PERFORM_CHECK':be})),A(this,_0x37b688(0xc7),new _0x8e9591({'PIVOT_MUTATION_GENERATE':Yo})),(this['_sheetInterceptorService']=_0x390de2,this[_0x37b688(0x141)]=_0xd2d0a3,this[_0x37b688(0x2c4)]());}[_0x3015f1(0x2c4)](){const _0x1f6d19=_0x3015f1;this[_0x1f6d19(0xa2)]();}[_0x3015f1(0xaf)](_0x21dc34){return this['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x1,_0x21dc34);}['_initViewModelBySheetInterceptor'](){const _0x1bc459=_0x3015f1;this[_0x1bc459(0x180)](this[_0x1bc459(0x1f5)]['intercept'](_0xbac46b[_0x1bc459(0x2b4)],{'priority':0xc8,'effect':_0x222e1c[_0x1bc459(0x22a)]|_0x222e1c[_0x1bc459(0x94)],'handler':(_0x380115,_0x30ab97,_0x16ee4e)=>{const _0x41c559=_0x1bc459,{row:_0x1265b6,col:_0x22f83e,unitId:_0x5e5c0d,subUnitId:_0x2acdfe,workbook:_0x2fb5f3}=_0x30ab97,_0x48bd24=this['_sheetsPivotTableAdaptorModel'][_0x41c559(0xc6)](_0x5e5c0d,_0x2acdfe,_0x1265b6,_0x22f83e);if(!_0x48bd24)return _0x16ee4e(_0x380115);const _0x43877c={..._0x380115};(_0x48bd24['v']||_0x48bd24['v']===0x0)&&(_0x43877c['v']=_0x48bd24['v']),_0x48bd24['t']&&(_0x43877c['t']=_0x48bd24['t']);const _0x20d451=(typeof(_0x380115==null?void 0x0:_0x380115['s'])==_0x41c559(0x21b)?_0x2fb5f3['getStyles']()['get'](_0x380115==null?void 0x0:_0x380115['s']):_0x380115==null?void 0x0:_0x380115['s'])||{},_0x52e1d6=_0x2fb5f3['getStyles']()[_0x41c559(0x1c7)](_0x48bd24['s']),_0xfd6ca2={..._0x52e1d6,..._0x20d451};_0x52e1d6!=null&&_0x52e1d6['n']&&(_0xfd6ca2['n']=_0x52e1d6['n']);const _0x189a5c=_0x2fb5f3['getStyles']()['setValue'](_0xfd6ca2);return _0x43877c['s']=_0x189a5c,(_0x48bd24[_0x41c559(0xff)]===_0x256fc8['Collapse']||_0x48bd24[_0x41c559(0xff)]===_0x256fc8[_0x41c559(0xd8)])&&(_0x43877c['fontRenderExtension']={},_0x43877c[_0x41c559(0x1b2)][_0x41c559(0x98)]=li),_0x16ee4e(_0x43877c);}}));}};ie=Qi([Mo(0x0,_0x416b2a(_0x46d6f1)),Mo(0x1,_0x416b2a(Ne))],ie);function Nt(_0xf9b642,_0x13c362){const _0x185b93=_0x3015f1;switch(_0x13c362){case _0x2944fe[_0x185b93(0x22a)]:return _0xf9b642[_0x185b93(0x1e5)];case _0x2944fe['Filter']:return _0xf9b642[_0x185b93(0x1e9)];case _0x2944fe[_0x185b93(0x17a)]:return _0xf9b642['rowFields'];case _0x2944fe['Column']:return _0xf9b642[_0x185b93(0x2ed)];default:return[];}}function $e(_0x1cebd5,_0x57d82c){return _0x1cebd5['measure'][_0x57d82c]||_0x1cebd5['dimension'][_0x57d82c];}function zi(_0x5342fa,_0x529485){const _0x7aa743=_0x3015f1,{area:_0x2badc4,fieldJson:_0x2f7a08,index:_0x5a3977}=_0x529485;_0x2badc4===_0x2944fe[_0x7aa743(0x22a)]?_0x5342fa['measure'][_0x2f7a08['id']]=_0x2f7a08:_0x5342fa['dimension'][_0x2f7a08['id']]=_0x2f7a08,Nt(_0x5342fa,_0x2badc4)['splice'](_0x5a3977,0x0,_0x2f7a08['id']);}function Xi(_0x5988bf,_0x38429d){const _0x481ab9=_0x3015f1,{area:_0xb2435d,fieldId:_0xe9017a,index:_0x34ecbd}=_0x38429d;_0xb2435d===_0x2944fe['Value']?delete _0x5988bf[_0x481ab9(0x289)][_0xe9017a]:delete _0x5988bf[_0x481ab9(0x264)][_0xe9017a],Nt(_0x5988bf,_0xb2435d)[_0x481ab9(0x164)](_0x34ecbd,0x1);}function es(_0x4e52de,_0x49164f){const {fieldId:_0x38a907,name:_0x10e006}=_0x49164f,_0x1a58e8=$e(_0x4e52de,_0x38a907);_0x1a58e8&&(_0x1a58e8['displayName']=_0x10e006);}function ts(_0x11fc89,_0x4ff724){const _0x372cd6=_0x3015f1,{fieldId:_0x37133a,collapse:_0x4b413c,item:_0x2ff39c}=_0x4ff724;_0x2ff39c!==void 0x0?(_0x11fc89[_0x372cd6(0x28f)][_0x37133a]=_0x11fc89[_0x372cd6(0x28f)][_0x37133a]||{},_0x11fc89['collapseInfo'][_0x37133a][_0x2ff39c]=_0x4b413c):_0x11fc89[_0x372cd6(0x28f)][_0x37133a]=_0x4b413c;}function os(_0x5e7573,_0x597fa1){const _0x304718=_0x3015f1,{fieldId:_0x4e9d6e,format:_0x39d53e}=_0x597fa1,_0x494dbe=$e(_0x5e7573,_0x4e9d6e);_0x494dbe&&(_0x494dbe[_0x304718(0x299)]=_0x39d53e);}function ns(_0x1ed152,_0x45a430){const _0x3dc1d2=_0x3015f1,{fieldId:_0x202212,filterInfo:_0x5309df}=_0x45a430,_0x34e238=$e(_0x1ed152,_0x202212);_0x34e238&&(_0x34e238[_0x3dc1d2(0x213)]=_0x5309df);}function is(_0x22fe0e,_0x31dd35){const _0x2a536e=_0x3015f1,{fieldId:_0x803037,filterInfo:_0x21fc45}=_0x31dd35,_0x537d72=_0x22fe0e[_0x2a536e(0x19e)][_0x2a536e(0x27e)](_0x15febc=>_0x15febc[_0x2a536e(0x283)]!==_0x803037);_0x21fc45&&_0x537d72['push']({'fieldId':_0x803037,'filterInfo':_0x21fc45}),_0x22fe0e[_0x2a536e(0x19e)]=_0x537d72;}function ss(_0x52155f,_0x381ff9){const {fieldId:_0x46a465,subtotalType:_0x1ad23e}=_0x381ff9,_0x12c417=$e(_0x52155f,_0x46a465);_0x12c417&&(_0x12c417['subtotal']=_0x1ad23e);}function as(_0x46838b,_0x58252d){const _0x5214c1=_0x3015f1,{fieldId:_0x455a41,oldArea:_0x5b802b,area:_0x414464,oldIndex:_0x1e0f2c,index:_0x38f314}=_0x58252d,_0x44c18b=_0x5b802b!==_0x2944fe[_0x5214c1(0x22a)]&&_0x414464===_0x2944fe[_0x5214c1(0x22a)],_0x16a259=_0x5b802b===_0x2944fe['Value']&&_0x414464!==_0x2944fe['Value'];if(_0x44c18b||_0x16a259){const _0xf1d76e=$e(_0x46838b,_0x455a41);_0xf1d76e&&(_0x44c18b?(delete _0x46838b[_0x5214c1(0x264)][_0x455a41],_0x46838b[_0x5214c1(0x289)][_0x455a41]=_0xf1d76e):(delete _0x46838b[_0x5214c1(0x289)][_0x455a41],_0x46838b['dimension'][_0x455a41]=_0xf1d76e));}const _0x818956=Nt(_0x46838b,_0x5b802b),_0x9faf91=Nt(_0x46838b,_0x414464);_0x818956[_0x5214c1(0x164)](_0x1e0f2c,0x1),_0x9faf91[_0x5214c1(0x164)](_0x38f314,0x0,_0x455a41);}function rs(_0x1f43ca,_0x4a252e){const _0xb8bba7=_0x3015f1,{valuePosition:_0x4d5282,index:_0x5db8cf}=_0x4a252e;_0x1f43ca['valuePosition']=_0x4d5282,_0x1f43ca[_0xb8bba7(0x29c)]=_0x5db8cf;}function ls(_0x5bc9f7,_0x2298cc){const _0x25e193=_0x3015f1,{tableFieldId:_0x336dca,sourceName:_0x3e2ace,dataFieldId:_0x41aeb2}=_0x2298cc,_0x265b9b=$e(_0x5bc9f7,_0x336dca);_0x265b9b&&(_0x265b9b[_0x25e193(0x2bf)]=_0x3e2ace,_0x265b9b[_0x25e193(0x2e3)]=_0x41aeb2);}function cs(_0x55118e,_0x2dd623){const _0x428f4c=_0x3015f1,{fieldId:_0x147ba4,sortInfo:_0x552f3c}=_0x2dd623,_0x5b00a1=$e(_0x55118e,_0x147ba4);_0x5b00a1&&(_0x5b00a1[_0x428f4c(0xd0)]=_0x552f3c);}function ds(_0x541764,_0xfc01c3){const _0xe11543=_0x3015f1,{options:_0x5b7747}=_0xfc01c3;_0x541764[_0xe11543(0x195)]={..._0x541764[_0xe11543(0x195)],..._0x5b7747};}const Yt={'type':_0x3b5e73[_0x3015f1(0x173)],'id':_0x3015f1(0x238),'handler'(_0x36daf8,_0x1b3be3){const _0x48b585=_0x3015f1;if(!_0x1b3be3)return!0x1;if(!!_0x36daf8[_0x48b585(0x1c7)](_0x43238f)[_0x48b585(0xb1)](H))return!0x0;const _0x5b58b5=_0x36daf8[_0x48b585(0x1c7)](Y),{pivotTableId:_0x16076c,fieldJson:_0x2c9eb8,area:_0x80d966,index:_0x364581,unitId:_0x66767c,subUnitId:_0x4f9dd3}=_0x1b3be3,_0x54b2c7=_0x5b58b5[_0x48b585(0x119)](_0x16076c);if(!_0x54b2c7)return!0x1;let _0x109ecf;_0x80d966===_0x2944fe[_0x48b585(0x22a)]?_0x109ecf=_0x5a77e1(_0x2c9eb8):_0x109ecf=_0x28d768(_0x2c9eb8),_0x54b2c7[_0x48b585(0x2ee)](_0x109ecf,_0x80d966,_0x364581);const _0x23b39f=_0x5b58b5[_0x48b585(0x171)](_0x66767c,_0x4f9dd3,_0x16076c);zi(_0x23b39f,_0x1b3be3);const _0x589a5c=_0x5b58b5[_0x48b585(0x298)](_0x66767c,_0x4f9dd3,_0x16076c);return _0x5b58b5[_0x48b585(0x25d)]({'unitId':_0x66767c,'subUnitId':_0x4f9dd3,'token':_0x16076c,'type':j[_0x48b585(0x140)],'pivotConfig':_0x589a5c}),!0x0;}},$t={'type':_0x3b5e73[_0x3015f1(0x173)],'id':_0x3015f1(0x1c6),'handler'(_0x54ac36,_0x344398){const _0x41700c=_0x3015f1;if(!_0x344398)return!0x1;if(!!_0x54ac36['get'](_0x43238f)[_0x41700c(0xb1)](H))return!0x0;const _0x1d54c2=_0x54ac36[_0x41700c(0x1c7)](Y),{pivotTableId:_0x5deca5,fieldId:_0x194252,unitId:_0x2ce7b3,subUnitId:_0x23d54b}=_0x344398,_0x363fdc=_0x1d54c2['getPivotTableInstance'](_0x5deca5);if(!_0x363fdc)return!0x1;_0x363fdc[_0x41700c(0xbb)](_0x194252);const _0x15d33b=_0x1d54c2['getPivotTableModelConfig'](_0x2ce7b3,_0x23d54b,_0x5deca5);Xi(_0x15d33b,_0x344398);const _0xc126ba=_0x1d54c2[_0x41700c(0x298)](_0x2ce7b3,_0x23d54b,_0x5deca5);return _0x1d54c2[_0x41700c(0x25d)]({'unitId':_0x2ce7b3,'subUnitId':_0x23d54b,'token':_0x5deca5,'type':j[_0x41700c(0x140)],'pivotConfig':_0xc126ba}),!0x0;}},Wt={'type':_0x3b5e73[_0x3015f1(0x173)],'id':_0x3015f1(0xea),'handler'(_0xc4e3f7,_0x217dc0){const _0x55a7d9=_0x3015f1;if(!_0x217dc0)return!0x1;if(!!_0xc4e3f7[_0x55a7d9(0x1c7)](_0x43238f)[_0x55a7d9(0xb1)](H))return!0x0;const _0x4ba719=_0xc4e3f7['get'](Y),{unitId:_0x37f7ee,subUnitId:_0x1d705a,pivotTableId:_0x3b5609,fieldId:_0x5a1f8b,name:_0x14c64e}=_0x217dc0,_0x473de5=_0x4ba719[_0x55a7d9(0x119)](_0x3b5609);if(!_0x473de5)return!0x1;_0x473de5[_0x55a7d9(0x175)](_0x5a1f8b,_0x14c64e);const _0x427f7e=_0x4ba719[_0x55a7d9(0x171)](_0x37f7ee,_0x1d705a,_0x3b5609);return es(_0x427f7e,_0x217dc0),_0x4ba719['addDirtyPivotTable']({'unitId':_0x37f7ee,'subUnitId':_0x1d705a,'token':_0x3b5609,'type':j[_0x55a7d9(0x140)]}),!0x0;}},Jt={'type':_0x3b5e73['MUTATION'],'id':_0x3015f1(0x160),'handler'(_0x3216ff,_0x5216c3){const _0x104c11=_0x3015f1;if(!_0x5216c3)return!0x1;if(!!_0x3216ff['get'](_0x43238f)[_0x104c11(0xb1)](H))return!0x0;const _0x40d430=_0x3216ff['get'](Y),{unitId:_0x5af9c4,subUnitId:_0x3b1c9d,pivotTableId:_0x561387,fieldId:_0x1cbb12,collapse:_0x1bef9b,item:_0x21db45}=_0x5216c3,_0x29dca0=_0x40d430['getPivotTableInstance'](_0x561387);if(!_0x29dca0)return!0x1;_0x29dca0[_0x104c11(0x2aa)](_0x1cbb12,_0x1bef9b,_0x21db45);const _0x578780=_0x40d430[_0x104c11(0x171)](_0x5af9c4,_0x3b1c9d,_0x561387);return ts(_0x578780,_0x5216c3),_0x40d430[_0x104c11(0x25d)]({'unitId':_0x5af9c4,'subUnitId':_0x3b1c9d,'token':_0x561387,'type':j[_0x104c11(0x140)]}),!0x0;}},Gt={'type':_0x3b5e73['MUTATION'],'id':_0x3015f1(0x1eb),'handler'(_0x4e9538,_0x5cdd14){const _0xb9f392=_0x3015f1;if(!_0x5cdd14)return!0x1;if(!!_0x4e9538['get'](_0x43238f)[_0xb9f392(0xb1)](H))return!0x0;const _0x2dda4e=_0x4e9538[_0xb9f392(0x1c7)](Y),{unitId:_0x2cf8f3,subUnitId:_0x4f388e,pivotTableId:_0x11f227,fieldId:_0x370d93,format:_0x9cd1e2}=_0x5cdd14,_0x97b943=_0x2dda4e['getPivotTableInstance'](_0x11f227);if(!_0x97b943)return!0x1;_0x97b943[_0xb9f392(0x131)](_0x370d93,_0x9cd1e2);const _0x2ae9db=_0x2dda4e[_0xb9f392(0x171)](_0x2cf8f3,_0x4f388e,_0x11f227);return os(_0x2ae9db,_0x5cdd14),_0x2dda4e[_0xb9f392(0x25d)]({'unitId':_0x2cf8f3,'subUnitId':_0x4f388e,'token':_0x11f227,'type':j[_0xb9f392(0x140)]}),!0x0;}},Kt={'type':_0x3b5e73['MUTATION'],'id':'sheet.mutation.set-pivot-filter','handler'(_0x1c5908,_0x169c69){const _0xcdbc8f=_0x3015f1;if(!_0x169c69)return!0x1;if(!!_0x1c5908[_0xcdbc8f(0x1c7)](_0x43238f)[_0xcdbc8f(0xb1)](H))return!0x0;const _0x4febe7=_0x1c5908[_0xcdbc8f(0x1c7)](Y),{unitId:_0x1ec166,subUnitId:_0x5aed38,pivotTableId:_0x230229,fieldId:_0x27108b,filterInfo:_0xc5183}=_0x169c69,_0x22981e=_0x4febe7['getPivotTableInstance'](_0x230229);if(!_0x22981e)return!0x1;_0x22981e['setLabelFilterInfo'](_0x27108b,_0xc5183);const _0x387ffd=_0x4febe7[_0xcdbc8f(0x171)](_0x1ec166,_0x5aed38,_0x230229);return ns(_0x387ffd,_0x169c69),_0x4febe7['addDirtyPivotTable']({'unitId':_0x1ec166,'subUnitId':_0x5aed38,'token':_0x230229,'type':j[_0xcdbc8f(0x140)]}),!0x0;}},Ht={'type':_0x3b5e73[_0x3015f1(0x173)],'id':_0x3015f1(0x249),'handler'(_0x2a34cb,_0x46988a){const _0x23a2d4=_0x3015f1;if(!_0x46988a)return!0x1;if(!!_0x2a34cb['get'](_0x43238f)[_0x23a2d4(0xb1)](H))return!0x0;const _0x202c6c=_0x2a34cb[_0x23a2d4(0x1c7)](Y),{unitId:_0x3d2489,subUnitId:_0x453a7e,pivotTableId:_0x3c2bca,options:_0x152d6c}=_0x46988a,_0x21b92b=_0x202c6c[_0x23a2d4(0x119)](_0x3c2bca);if(!_0x21b92b)return!0x1;_0x21b92b['setOptions'](_0x152d6c);const _0x12c224=_0x202c6c[_0x23a2d4(0x171)](_0x3d2489,_0x453a7e,_0x3c2bca);return ds(_0x12c224,_0x46988a),_0x202c6c[_0x23a2d4(0x25d)]({'unitId':_0x3d2489,'subUnitId':_0x453a7e,'token':_0x3c2bca,'type':j['Set']}),!0x0;}},qt={'type':_0x3b5e73[_0x3015f1(0x173)],'id':_0x3015f1(0x2e7),'handler'(_0x53a193,_0x4f80b7){const _0x3546dc=_0x3015f1;if(!_0x4f80b7)return!0x1;if(!!_0x53a193['get'](_0x43238f)[_0x3546dc(0xb1)](H))return!0x0;const _0x51f2bf=_0x53a193[_0x3546dc(0x1c7)](Y),{unitId:_0x4b75a5,subUnitId:_0x27e90b,pivotTableId:_0x37d9ff,sortInfo:_0x4ff98f,fieldId:_0x1ae780}=_0x4f80b7,_0x1dee6d=_0x51f2bf[_0x3546dc(0x119)](_0x37d9ff);if(!_0x1dee6d)return!0x1;_0x1dee6d[_0x3546dc(0xb2)](_0x1ae780,_0x4ff98f);const _0x41e39d=_0x51f2bf['getPivotTableModelConfig'](_0x4b75a5,_0x27e90b,_0x37d9ff);return cs(_0x41e39d,_0x4f80b7),_0x51f2bf[_0x3546dc(0x25d)]({'unitId':_0x4b75a5,'subUnitId':_0x27e90b,'token':_0x37d9ff,'type':j[_0x3546dc(0x140)]}),!0x0;}},Zt={'type':_0x3b5e73[_0x3015f1(0x173)],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x4891f9,_0x1c686a){const _0x33ede4=_0x3015f1;if(!_0x1c686a)return!0x1;if(!!_0x4891f9[_0x33ede4(0x1c7)](_0x43238f)[_0x33ede4(0xb1)](H))return!0x0;const _0x5f15ff=_0x4891f9[_0x33ede4(0x1c7)](Y),{unitId:_0x3cfee8,subUnitId:_0x365136,pivotTableId:_0x13a0a0,fieldId:_0x104a4b,subtotalType:_0x328939}=_0x1c686a,_0x1940ac=_0x5f15ff[_0x33ede4(0x119)](_0x13a0a0);if(!_0x1940ac)return!0x1;_0x1940ac[_0x33ede4(0x14f)](_0x104a4b,_0x328939);const _0x1691b6=_0x5f15ff[_0x33ede4(0x171)](_0x3cfee8,_0x365136,_0x13a0a0);return ss(_0x1691b6,_0x1c686a),_0x5f15ff[_0x33ede4(0x25d)]({'unitId':_0x3cfee8,'subUnitId':_0x365136,'token':_0x13a0a0,'type':j[_0x33ede4(0x140)]}),!0x0;}},Qt={'type':_0x3b5e73[_0x3015f1(0x173)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x1ec424,_0x19fcf7){const _0x477845=_0x3015f1;if(!_0x19fcf7)return!0x1;if(!!_0x1ec424[_0x477845(0x1c7)](_0x43238f)[_0x477845(0xb1)](H))return!0x0;const _0x321c87=_0x1ec424[_0x477845(0x1c7)](Y),{unitId:_0xd61656,subUnitId:_0x514dab,pivotTableId:_0x327136,fieldId:_0x58a0b3,filterInfo:_0x6d708c}=_0x19fcf7,_0x2dc7f3=_0x321c87['getPivotTableInstance'](_0x327136);if(!_0x2dc7f3)return!0x1;_0x2dc7f3[_0x477845(0x81)](_0x58a0b3,_0x6d708c);const _0x581bf6=_0x321c87[_0x477845(0x171)](_0xd61656,_0x514dab,_0x327136);return is(_0x581bf6,_0x19fcf7),_0x321c87['addDirtyPivotTable']({'unitId':_0xd61656,'subUnitId':_0x514dab,'token':_0x327136,'type':j['Set']}),!0x0;}},zt={'type':_0x3b5e73[_0x3015f1(0x173)],'id':_0x3015f1(0x24a),'handler'(_0x9c4f07,_0x314135){const _0x53f9ab=_0x3015f1;if(!_0x314135)return!0x1;if(!!_0x9c4f07[_0x53f9ab(0x1c7)](_0x43238f)[_0x53f9ab(0xb1)](H))return!0x0;const _0x362f72=_0x9c4f07[_0x53f9ab(0x1c7)](Y),{unitId:_0x3fc544,subUnitId:_0x45c0f7,pivotTableId:_0x1aca6e,area:_0xd31dd5,index:_0x172791,fieldId:_0x2cd34d}=_0x314135,_0x46e7cf=_0x362f72[_0x53f9ab(0x119)](_0x1aca6e);if(!_0x46e7cf)return!0x1;_0x46e7cf[_0x53f9ab(0x2ea)](_0x2cd34d,_0xd31dd5,_0x172791);const _0x3667f7=_0x362f72[_0x53f9ab(0x171)](_0x3fc544,_0x45c0f7,_0x1aca6e);return as(_0x3667f7,_0x314135),_0x362f72[_0x53f9ab(0x25d)]({'unitId':_0x3fc544,'subUnitId':_0x45c0f7,'token':_0x1aca6e,'type':j[_0x53f9ab(0x140)]}),!0x0;}},Xt={'type':_0x3b5e73[_0x3015f1(0x173)],'id':_0x3015f1(0x199),'handler'(_0x59912c,_0x363253){const _0x527c5b=_0x3015f1;if(!_0x363253)return!0x1;if(!!_0x59912c[_0x527c5b(0x1c7)](_0x43238f)[_0x527c5b(0xb1)](H))return!0x0;const _0x4c2d67=_0x59912c['get'](Y),{unitId:_0x1aff9d,subUnitId:_0x348953,pivotTableId:_0x3534e7,sourceName:_0x22dda8,dataFieldId:_0x2f6b27,tableFieldId:_0x2575f3}=_0x363253,_0x522b52=_0x4c2d67[_0x527c5b(0x119)](_0x3534e7);if(!_0x522b52)return!0x1;_0x522b52[_0x527c5b(0x172)](_0x2575f3,_0x22dda8,_0x2f6b27);const _0x78a579=_0x4c2d67[_0x527c5b(0x171)](_0x1aff9d,_0x348953,_0x3534e7);return ls(_0x78a579,_0x363253),_0x4c2d67[_0x527c5b(0x25d)]({'unitId':_0x1aff9d,'subUnitId':_0x348953,'token':_0x3534e7,'type':j['Set']}),!0x0;}},eo={'type':_0x3b5e73[_0x3015f1(0x173)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0xa83c78,_0x4f6e7f){const _0x4d3e7a=_0x3015f1;if(!_0x4f6e7f)return!0x1;if(!!_0xa83c78[_0x4d3e7a(0x1c7)](_0x43238f)['getConfig'](H))return!0x0;const _0x56ad58=_0xa83c78['get'](Y),{unitId:_0x3f8afa,subUnitId:_0x4cdeee,pivotTableId:_0x232dc1,valuePosition:_0x4af718,index:_0x52a4f9}=_0x4f6e7f,_0x37f997=_0x56ad58['getPivotTableInstance'](_0x232dc1);if(!_0x37f997)return!0x1;_0x37f997['updateValuePosition'](_0x4af718,_0x52a4f9);const _0x44a7b8=_0x56ad58[_0x4d3e7a(0x171)](_0x3f8afa,_0x4cdeee,_0x232dc1);return rs(_0x44a7b8,_0x4f6e7f),_0x56ad58['addDirtyPivotTable']({'unitId':_0x3f8afa,'subUnitId':_0x4cdeee,'token':_0x232dc1,'type':j[_0x4d3e7a(0x140)]}),!0x0;}};function Ce(_0x3e8dcb,_0x4f69d7,_0x18425e){const _0x43ab40=_0x3015f1,{pivotTableId:_0x4871c8,unitId:_0x4c9947,subUnitId:_0x9e8647}=_0x4f69d7,_0x1c1e1a=[],_0x4e9cc0=[];for(const _0x531ffb of _0x18425e)switch(_0x531ffb[_0x43ab40(0x19d)]){case _0x513620[_0x43ab40(0x69)]:{const {fieldJson:_0x37c4e4,area:_0x237936,index:_0x210c09}=_0x531ffb,_0x1267d9={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldJson':_0x37c4e4,'area':_0x237936,'index':_0x210c09},_0x10b524={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldId':_0x37c4e4['id'],'area':_0x237936,'index':_0x210c09};_0x1c1e1a['push']({'id':Yt['id'],'params':_0x1267d9}),_0x4e9cc0['unshift']({'id':$t['id'],'params':_0x10b524});}break;case _0x513620[_0x43ab40(0xf5)]:{const {fieldId:_0xf7ebc0,newSubtotalType:_0x123a4e,oldSubtotalType:_0x4ad308}=_0x531ffb,_0x470a79={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldId':_0xf7ebc0,'subtotalType':_0x123a4e};_0x1c1e1a[_0x43ab40(0x23e)]({'id':Zt['id'],'params':_0x470a79});const _0x597f74={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldId':_0xf7ebc0,'subtotalType':_0x4ad308};_0x4e9cc0['unshift']({'id':Zt['id'],'params':_0x597f74});}break;case _0x513620['RemoveField']:{const {fieldId:_0xac1fa5,fieldJson:_0x4bbac8,area:_0x36aa3f,index:_0x1bf069}=_0x531ffb,_0x54826b={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldId':_0xac1fa5,'index':_0x1bf069,'area':_0x36aa3f};_0x1c1e1a[_0x43ab40(0x23e)]({'id':$t['id'],'params':_0x54826b});const _0x221a3a={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldJson':_0x4bbac8,'area':_0x36aa3f,'index':_0x1bf069};_0x4e9cc0[_0x43ab40(0x20f)]({'id':Yt['id'],'params':_0x221a3a});}break;case _0x513620[_0x43ab40(0x2e9)]:{const {fieldId:_0x59b061,oldName:_0x432109,newName:_0x4a6093}=_0x531ffb,_0x399374={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldId':_0x59b061,'name':_0x4a6093};_0x1c1e1a[_0x43ab40(0x23e)]({'id':Wt['id'],'params':_0x399374});const _0x53ed91={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldId':_0x59b061,'name':_0x432109};_0x4e9cc0[_0x43ab40(0x20f)]({'id':Wt['id'],'params':_0x53ed91});}break;case _0x513620[_0x43ab40(0x103)]:{const {fieldId:_0x1a4813,oldFilterInfo:_0x400d03,newFilterInfo:_0x5e5f30}=_0x531ffb,_0x4a0407={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldId':_0x1a4813,'filterInfo':_0x5e5f30};_0x1c1e1a[_0x43ab40(0x23e)]({'id':Kt['id'],'params':_0x4a0407});const _0x5b0957={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldId':_0x1a4813,'filterInfo':_0x400d03};_0x4e9cc0[_0x43ab40(0x20f)]({'id':Kt['id'],'params':_0x5b0957});}break;case _0x513620[_0x43ab40(0x73)]:{const {fieldId:_0x1c953a,oldSortInfo:_0x279c3a,newSortInfo:_0x52715e}=_0x531ffb,_0x4cc70a={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldId':_0x1c953a,'sortInfo':_0x52715e};_0x1c1e1a[_0x43ab40(0x23e)]({'id':qt['id'],'params':_0x4cc70a});const _0x59359f={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldId':_0x1c953a,'sortInfo':_0x279c3a};_0x4e9cc0[_0x43ab40(0x20f)]({'id':qt['id'],'params':_0x59359f});}break;case _0x513620[_0x43ab40(0x1c8)]:{const {oldOptions:_0x52aa62,newOptions:_0x1cff72}=_0x531ffb,_0x15fc86={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'options':_0x1cff72};_0x1c1e1a[_0x43ab40(0x23e)]({'id':Ht['id'],'params':_0x15fc86});const _0x540239={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'options':_0x52aa62};_0x4e9cc0[_0x43ab40(0x20f)]({'id':Ht['id'],'params':_0x540239});}break;case _0x513620[_0x43ab40(0x22c)]:{const {oldArea:_0x2a63b8,newArea:_0x2ffb03,oldIndex:_0x1b58b7,newIndex:_0x3c8784,fieldId:_0x4ab2f0}=_0x531ffb,_0x231fd9={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldId':_0x4ab2f0,'area':_0x2ffb03,'index':_0x3c8784,'oldArea':_0x2a63b8,'oldIndex':_0x1b58b7};_0x1c1e1a[_0x43ab40(0x23e)]({'id':zt['id'],'params':_0x231fd9});const _0x2da632={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldId':_0x4ab2f0,'area':_0x2a63b8,'index':_0x1b58b7,'oldArea':_0x2ffb03,'oldIndex':_0x3c8784};_0x4e9cc0[_0x43ab40(0x20f)]({'id':zt['id'],'params':_0x2da632});}break;case _0x513620[_0x43ab40(0x222)]:{const {oldValuePosition:_0x27c895,newValuePosition:_0x16b04e,oldIndex:_0x461975,newIndex:_0x329354}=_0x531ffb,_0xbbade8={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'valuePosition':_0x16b04e,'index':_0x329354};_0x1c1e1a[_0x43ab40(0x23e)]({'id':eo['id'],'params':_0xbbade8});const _0x289827={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'valuePosition':_0x27c895,'index':_0x461975};_0x4e9cc0[_0x43ab40(0x20f)]({'id':eo['id'],'params':_0x289827});}break;case _0x513620[_0x43ab40(0x7c)]:{const {fieldId:_0x3bf512,collapse:_0x57896c,item:_0x2ee674}=_0x531ffb,_0x195752={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldId':_0x3bf512,'collapse':_0x57896c,'item':_0x2ee674};_0x1c1e1a['push']({'id':Jt['id'],'params':_0x195752});const _0x1347f9={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldId':_0x3bf512,'collapse':!_0x57896c,'item':_0x2ee674};_0x4e9cc0['unshift']({'id':Jt['id'],'params':_0x1347f9});}break;case _0x513620[_0x43ab40(0x139)]:{const {newFormat:_0xc0d12,oldFormat:_0x343b5d,fieldId:_0x9facb7}=_0x531ffb,_0x392073={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldId':_0x9facb7,'format':_0xc0d12};_0x1c1e1a[_0x43ab40(0x23e)]({'id':Gt['id'],'params':_0x392073});const _0xc0a462={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldId':_0x9facb7,'format':_0x343b5d};_0x4e9cc0[_0x43ab40(0x20f)]({'id':Gt['id'],'params':_0xc0a462});}break;case _0x513620[_0x43ab40(0xa0)]:{const {tableFieldId:_0x5a3c4a,oldSourceName:_0x539419,newSourceName:_0x56c4f1,oldDataFieldId:_0x5ec4cc,newDataFieldId:_0x3c3de9}=_0x531ffb,_0x118c23={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'tableFieldId':_0x5a3c4a,'sourceName':_0x56c4f1,'dataFieldId':_0x3c3de9};_0x1c1e1a['push']({'id':Xt['id'],'params':_0x118c23});const _0x26a450={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'tableFieldId':_0x5a3c4a,'sourceName':_0x539419,'dataFieldId':_0x5ec4cc};_0x4e9cc0[_0x43ab40(0x20f)]({'id':Xt['id'],'params':_0x26a450});}break;case _0x513620[_0x43ab40(0x142)]:{const {fieldId:_0x1ed006,filterInfo:_0x5cc2e3,oldFilterInfo:_0x535ef4}=_0x531ffb,_0x19de7a={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldId':_0x1ed006,'filterInfo':_0x5cc2e3};_0x1c1e1a[_0x43ab40(0x23e)]({'id':Qt['id'],'params':_0x19de7a});const _0x1e5eca={'unitId':_0x4c9947,'subUnitId':_0x9e8647,'pivotTableId':_0x4871c8,'fieldId':_0x1ed006,'filterInfo':_0x535ef4};_0x4e9cc0[_0x43ab40(0x20f)]({'id':Qt['id'],'params':_0x1e5eca});}}return{'redos':_0x1c1e1a,'undos':_0x4e9cc0};}function _e(_0x441312,_0x487a6c){const _0x17d9d1=_0x3015f1;var _0x50e1b2;const _0x2be6f8=_0x441312[_0x17d9d1(0x1c7)](ie),{cellInfo:_0x193438,view:_0x218033,isEmpty:_0x56221f}=_0x487a6c;return(_0x50e1b2=_0x2be6f8[_0x17d9d1(0xc7)][_0x17d9d1(0xe6)](Yo)(To,{'cellInfo':_0x193438,'view':_0x218033,'isEmpty':_0x56221f}))!=null?_0x50e1b2:To;}const us=()=>typeof process<'u'&&process[_0x3015f1(0x1c4)]!=null&&process[_0x3015f1(0x1c4)]['node']!=null,It={'type':_0x3b5e73[_0x3015f1(0x173)],'id':_0x3015f1(0x218),'handler'(_0x314bac,_0x3240ff){const _0xefa8b1=_0x3015f1;var _0x5983e6;if(!_0x3240ff)return!0x1;const _0x110aff=_0x314bac[_0xefa8b1(0x1c7)](_0x43238f);if(!!_0x110aff[_0xefa8b1(0xb1)](H))return!0x0;const _0x110cb7=_0x314bac[_0xefa8b1(0x1c7)](_0x58e9a8),_0x58477a=_0x314bac[_0xefa8b1(0x1c7)](Y),{pivotTableId:_0x6a0af1,pivotTableConfig:_0x517a5a,collectionConfig:_0x36edf3,unitId:_0x15ab2a,subUnitId:_0x4dec6}=_0x3240ff,{sourceRangeInfo:_0x3a2075,fieldsConfig:_0x2db154,targetCellInfo:_0x282628}=_0x517a5a,_0x380183=_0x110cb7['getUnit'](_0x15ab2a);if(!_0x380183||!_0x380183[_0xefa8b1(0x1d7)](_0x4dec6))return!0x1;if(!us()){let _0x256210=0x0;_0x380183[_0xefa8b1(0x96)]()[_0xefa8b1(0x14e)](_0x217c1c=>{const _0x249928=_0xefa8b1;var _0x4f17ab,_0x43c27f;_0x256210+=(_0x43c27f=(_0x4f17ab=_0x58477a[_0x249928(0x27b)](_0x15ab2a,_0x217c1c[_0x249928(0x211)]()))==null?void 0x0:_0x4f17ab['size'])!=null?_0x43c27f:0x0;});const _0x557f42=(_0x5983e6=_0x110aff[_0xefa8b1(0xb1)](_0xcfd63c))!=null?_0x5983e6:{},{ls:_0x398d47,pbk:_0x2f97b2}=_0x557f42;if(!Go(_0x398d47,_0x2f97b2))throw new _0x578c4c(_0xefa8b1(0x14d));const _0x2cc936=go(so,_0x398d47,_0x2f97b2)['count'];if(_0x256210>=_0x2cc936)throw new _0x578c4c(_0xefa8b1(0x14d));}if(!_0x36edf3||!_0x2db154)return!0x1;const {collection:_0xf9edcf,updateDataFieldList:_0x15261e}=_0x58477a['addCollectionByJSON'](_0x6a0af1,_0x36edf3,_0x3a2075,_0x282628);_0x58477a[_0xefa8b1(0x1f9)](_0xf9edcf,_0x15261e,_0x3a2075);const _0xe64f02=new _0x1b128e(_0xf9edcf,void 0x0,_0x6a0af1);_0xe64f02[_0xefa8b1(0xbd)](_0x2db154);const _0x31518d=JSON[_0xefa8b1(0x236)](JSON[_0xefa8b1(0x1b0)](_0x517a5a));return _0x58477a[_0xefa8b1(0x1ea)](_0x15ab2a,_0x4dec6,_0x6a0af1,_0xe64f02,_0x31518d),_0x58477a[_0xefa8b1(0x25d)]({'unitId':_0x15ab2a,'subUnitId':_0x4dec6,'token':_0x6a0af1,'type':j[_0xefa8b1(0xa8)],'pivotConfig':_0x31518d}),!0x0;}},Vt={'type':_0x3b5e73[_0x3015f1(0x173)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x5b7669,_0x26166b){const _0x3b3800=_0x3015f1;if(!_0x26166b)return!0x1;if(!!_0x5b7669[_0x3b3800(0x1c7)](_0x43238f)[_0x3b3800(0xb1)](H))return!0x0;const {pivotTableId:_0x4d5f20,unitId:_0x9cb369,subUnitId:_0x309c15}=_0x26166b,_0x5b86de=_0x5b7669[_0x3b3800(0x1c7)](Y);return _0x5b86de[_0x3b3800(0x298)](_0x9cb369,_0x309c15,_0x4d5f20)?(_0x5b86de[_0x3b3800(0x25d)]({'unitId':_0x9cb369,'subUnitId':_0x309c15,'token':_0x4d5f20,'type':j['Delete']}),_0x5b86de[_0x3b3800(0x293)](_0x9cb369,_0x309c15,_0x4d5f20),!0x0):!0x1;}},pt={'type':_0x3b5e73[_0x3015f1(0x173)],'id':'sheet.mutation.set-pivot-position','handler'(_0x481f57,_0x16e707){const _0x3ad3aa=_0x3015f1;if(!_0x16e707)return!0x1;if(!!_0x481f57[_0x3ad3aa(0x1c7)](_0x43238f)[_0x3ad3aa(0xb1)](H))return!0x0;const {pivotTableId:_0x5e83bf,targetCellPosition:_0x234ee5,unitId:_0x4ed832,subUnitId:_0x439cb8}=_0x16e707,_0x4e608a=_0x481f57[_0x3ad3aa(0x1c7)](Y);if(!_0x4e608a[_0x3ad3aa(0x119)](_0x16e707[_0x3ad3aa(0x127)]))return!0x1;const _0x1d2c35=_0x4e608a[_0x3ad3aa(0x122)](_0x5e83bf);if(!_0x1d2c35)return!0x1;const _0x1ef71a=_0x4e608a[_0x3ad3aa(0x130)](_0x1d2c35[_0x3ad3aa(0x183)],_0x16e707[_0x3ad3aa(0x127)]);if(!_0x1ef71a)return!0x1;const _0x54de70=_0x4e608a[_0x3ad3aa(0x298)](_0x1d2c35[_0x3ad3aa(0x183)],_0x1d2c35[_0x3ad3aa(0xeb)],_0x5e83bf);if(!_0x54de70)return!0x1;const _0x29aab9=_0x5ec6b1[_0x3ad3aa(0x12a)](_0x54de70);_0x29aab9[_0x3ad3aa(0xa7)]={'unitId':_0x4ed832,'subUnitId':_0x439cb8,'row':_0x234ee5[_0x3ad3aa(0x291)],'col':_0x234ee5[_0x3ad3aa(0x23d)]};const _0x101595=_0x1ef71a[_0x3ad3aa(0x202)]();if(_0x1d2c35['subUnitId']===_0x439cb8&&_0x1d2c35['unitId']===_0x4ed832)_0x4e608a['setPivotTable'](_0x4ed832,_0x439cb8,_0x5e83bf,_0x29aab9),_0x4e608a['addDirtyPivotTable']({'unitId':_0x4ed832,'subUnitId':_0x439cb8,'token':_0x5e83bf,'type':j[_0x3ad3aa(0x140)]});else{_0x4e608a[_0x3ad3aa(0x25d)]({'unitId':_0x1d2c35['unitId'],'subUnitId':_0x1d2c35[_0x3ad3aa(0xeb)],'token':_0x5e83bf,'type':j[_0x3ad3aa(0x2e2)]}),_0x4e608a[_0x3ad3aa(0x293)](_0x1d2c35[_0x3ad3aa(0x183)],_0x1d2c35['subUnitId'],_0x5e83bf);const _0x35872e=_0x4e608a['addCollectionByJSON'](_0x5e83bf,_0x101595,_0x54de70['sourceRangeInfo'],_0x29aab9[_0x3ad3aa(0xa7)]),_0x107d41=new _0x1b128e(_0x35872e[_0x3ad3aa(0x11d)],void 0x0,_0x5e83bf);_0x107d41['fromJSON'](_0x29aab9[_0x3ad3aa(0x68)]),_0x4e608a['addPivotTable'](_0x4ed832,_0x439cb8,_0x5e83bf,_0x107d41,_0x29aab9),_0x4e608a[_0x3ad3aa(0x25d)]({'unitId':_0x4ed832,'subUnitId':_0x439cb8,'token':_0x5e83bf,'type':j[_0x3ad3aa(0xa8)],'pivotConfig':_0x29aab9});}return!0x0;}},to={'type':_0x3b5e73[_0x3015f1(0x173)],'id':_0x3015f1(0xa6),'handler'(_0x2a10be,_0x360bdd){const _0x5c007a=_0x3015f1;if(!_0x360bdd)return!0x1;if(!!_0x2a10be[_0x5c007a(0x1c7)](_0x43238f)[_0x5c007a(0xb1)](H))return!0x0;const _0x4aa32=_0x2a10be[_0x5c007a(0x1c7)](Y),{pivotTableId:_0x5252b8,deleteIds:_0x326810,collectionJSON:_0x47eb26,dataRangeInfo:_0x18e1b8,unitId:_0x44f5c6,subUnitId:_0x20ffba}=_0x360bdd,_0x5b26db=_0x4aa32[_0x5c007a(0x119)](_0x5252b8),_0x30d61e=_0x4aa32['getPivotTableConfig'](_0x44f5c6,_0x20ffba,_0x5252b8);if(!_0x5b26db||!_0x30d61e)return!0x1;const {collection:_0x53c0e2,updateDataFieldList:_0x313e0f}=_0x4aa32['addCollectionByJSON'](_0x5252b8,_0x47eb26,_0x18e1b8,_0x30d61e[_0x5c007a(0xa7)]);_0x4aa32[_0x5c007a(0x1f9)](_0x53c0e2,_0x313e0f,_0x18e1b8),_0x5b26db[_0x5c007a(0x12f)](_0x53c0e2);for(const _0x4158bc of _0x326810)_0x4aa32[_0x5c007a(0x25a)](_0x18e1b8[_0x5c007a(0x183)],_0x4158bc);const _0x26b392=_0x4aa32[_0x5c007a(0x298)](_0x44f5c6,_0x20ffba,_0x5252b8);return _0x26b392[_0x5c007a(0x2eb)]=JSON[_0x5c007a(0x236)](JSON[_0x5c007a(0x1b0)](_0x18e1b8)),_0x4aa32['addDirtyPivotTable']({'unitId':_0x44f5c6,'subUnitId':_0x20ffba,'token':_0x5252b8,'type':j[_0x5c007a(0x140)]}),!0x0;}},Et={'type':_0x3b5e73[_0x3015f1(0x173)],'id':_0x3015f1(0x281),'handler'(){return!0x0;}};var fs=Object[_0x3015f1(0x1a8)],gs=(_0x4fcb86,_0x1d56e5,_0x47c27f,_0x1cf794)=>{const _0x3e375b=_0x3015f1;for(var _0xc5774b=_0x1cf794>0x1?void 0x0:_0x1cf794?fs(_0x1d56e5,_0x47c27f):_0x1d56e5,_0x19409f=_0x4fcb86[_0x3e375b(0x290)]-0x1,_0x427e55;_0x19409f>=0x0;_0x19409f--)(_0x427e55=_0x4fcb86[_0x19409f])&&(_0xc5774b=_0x427e55(_0xc5774b)||_0xc5774b);return _0xc5774b;},wo=(_0x236a9c,_0x29ce55)=>(_0x595337,_0x5c2918)=>_0x29ce55(_0x595337,_0x5c2918,_0x236a9c);let X=class extends _0x434a0e{constructor(_0x4223b3,_0x7d1ac3){const _0x56cf75=_0x3015f1;super(),A(this,_0x56cf75(0x215),new Map()),(this['_injector']=_0x4223b3,this[_0x56cf75(0x27d)]=_0x7d1ac3);}[_0x3015f1(0x85)](_0x22f5c3){const _0x3d3ce5=_0x3015f1,{version:_0x151860}=_0x22f5c3,_0x41f53d=this[_0x3d3ce5(0x215)][_0x3d3ce5(0x1c7)](_0x151860);_0x41f53d&&(_0x41f53d(_0x22f5c3),this[_0x3d3ce5(0x215)][_0x3d3ce5(0x16b)](_0x151860));}[_0x3015f1(0x134)](_0x296748){return new Promise((_0x4be2ef,_0x13ada8)=>{const _0x258661=_0x54da,_0x3f54ac=this[_0x258661(0x154)]();this[_0x258661(0x215)]['set'](_0x3f54ac,_0x4be2ef),this['_commandService']['executeCommand'](ro['id'],{'version':_0x3f54ac,..._0x296748},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x242615=_0x3015f1;return Math[_0x242615(0x27c)]()[_0x242615(0x1e0)](0x24)[_0x242615(0xc4)](0x2,0x10);}};X=gs([wo(0x0,_0x416b2a(_0x447c52)),wo(0x1,_0x416b2a(_0x3ec272))],X);const Zo={'id':_0x3015f1(0x9e),'type':_0x3b5e73['MUTATION'],'handler':(_0x5846a5,_0x49dbfb)=>{const _0x375937=_0x3015f1;if(!_0x49dbfb)return!0x1;if(!!_0x5846a5['get'](_0x43238f)[_0x375937(0xb1)](H))return!0x0;const {pivotTableId:_0x37b2eb,fieldJSON:_0x54d7cd,unitId:_0x5116f1,subUnitId:_0x3d0c54}=_0x49dbfb,_0x185a58=_0x14827c[_0x375937(0xbd)](_0x54d7cd);if(!_0x185a58)return!0x1;const _0x2e9793=_0x5846a5[_0x375937(0x1c7)](Y),_0x1f07b7=_0x2e9793['getDataFieldManager'](_0x5116f1),_0x385e53=_0x1f07b7[_0x375937(0x130)](_0x37b2eb);_0x1f07b7[_0x375937(0x15a)](_0x185a58),_0x385e53['addField'](_0x185a58['getId'](),_0x185a58[_0x375937(0x256)]());const _0x466c55=_0x385e53[_0x375937(0x2a8)](_0x185a58[_0x375937(0x146)]());_0x466c55&&_0x185a58[_0x375937(0x121)](_0x466c55);const _0x10e73d=_0x2e9793[_0x375937(0x298)](_0x5116f1,_0x3d0c54,_0x37b2eb);return _0x2e9793[_0x375937(0x25d)]({'unitId':_0x5116f1,'subUnitId':_0x3d0c54,'token':_0x37b2eb,'type':j['Set'],'pivotConfig':_0x10e73d}),!0x0;}},Qo={'id':_0x3015f1(0x170),'type':_0x3b5e73[_0x3015f1(0x173)],'handler':(_0x360ada,_0x52c9ea)=>{const _0x58be3d=_0x3015f1;if(!_0x52c9ea)return!0x1;if(!!_0x360ada[_0x58be3d(0x1c7)](_0x43238f)[_0x58be3d(0xb1)](H))return!0x0;const {pivotTableId:_0x53fca1,dataFieldId:_0x32da9a,unitId:_0x4cd6e7,subUnitId:_0x30a4ef}=_0x52c9ea,_0x24d064=_0x360ada[_0x58be3d(0x1c7)](Y),_0x4008e3=_0x24d064['getDataFieldManager'](_0x4cd6e7);_0x4008e3[_0x58be3d(0x130)](_0x53fca1)['deleteField'](_0x32da9a);let _0x4bf6d0=!0x0;for(const _0x3c45a3 in _0x4008e3['collections'])if(_0x4008e3[_0x58be3d(0x13e)][_0x3c45a3]['getFieldIds']()[_0x58be3d(0x22e)](_0x32da9a)){_0x4bf6d0=!0x1;break;}_0x4bf6d0&&_0x4008e3[_0x58be3d(0x169)](_0x32da9a);const _0x3df961=_0x24d064[_0x58be3d(0x298)](_0x4cd6e7,_0x30a4ef,_0x53fca1);return _0x24d064[_0x58be3d(0x25d)]({'unitId':_0x4cd6e7,'subUnitId':_0x30a4ef,'token':_0x53fca1,'type':j[_0x58be3d(0x140)],'pivotConfig':_0x3df961}),!0x0;}},vs={'type':_0x3b5e73[_0x3015f1(0xf9)],'id':_0x3015f1(0x2d2),async 'handler'(_0x54a2f2,_0x5f17aa){const _0x1d86b9=_0x3015f1;if(!_0x5f17aa)return!0x1;const _0x70fa62=_0x54a2f2['get'](_0x3ec272),_0x5b0b81=_0x54a2f2[_0x1d86b9(0x1c7)](X),_0x493b8d=_0x54a2f2[_0x1d86b9(0x1c7)](_0x32a0be),{pivotTableId:_0x5064d0,dataFieldId:_0x523c91,fieldArea:_0x1ac57c,index:_0x2f690d,unitId:_0x74911b,subUnitId:_0x2817dd}=_0x5f17aa,_0x351660=(await _0x5b0b81[_0x1d86b9(0x134)]({'unitId':_0x74911b,'subUnitId':_0x2817dd,'pivotTableId':_0x5064d0,'params':{'type':k['AddPivotField'],'addPivotField':{'dataFieldId':_0x523c91,'fieldArea':_0x1ac57c,'index':_0x2f690d}}}))[_0x1d86b9(0x22d)]['addPivotField'];if(!_0x351660)return!0x1;const {view:_0x4796a1,changesets:_0x135b22,isEmpty:_0x1e52e8,pivotTableConfig:_0x1c865a,shouldBeAddedGroupJSON:_0x6d2127}=_0x351660,_0xe04310=_0x1c865a['targetCellInfo'],_0xa3d5fb=new _0x3f1c21();_0xa3d5fb[_0x1d86b9(0x2c0)](_0x4796a1);const _0x3e1577={'cellInfo':_0xe04310,'view':_0xa3d5fb,'isEmpty':_0x1e52e8};if(!await _0x54a2f2['get'](ie)['asyncInterceptor'][_0x1d86b9(0x1c3)](be)(!0x0,_0x3e1577))return!0x1;const _0x553e10=we(_0x54a2f2,_0xa3d5fb,_0xe04310,_0x1e52e8),_0x528a0e=_e(_0x54a2f2,_0x3e1577),{undos:_0x5ecc0c,redos:_0x51d782}=Ce(_0x70fa62,{'pivotTableId':_0x5064d0,'unitId':_0x74911b,'subUnitId':_0x2817dd},_0x135b22);return _0x6d2127&&(_0x51d782[_0x1d86b9(0x20f)]({'id':Zo['id'],'params':{'pivotTableId':_0x5064d0,'fieldJSON':_0x6d2127,'unitId':_0x74911b,'subUnitId':_0x2817dd}}),_0x5ecc0c[_0x1d86b9(0x23e)]({'id':Qo['id'],'params':{'pivotTableId':_0x5064d0,'dataFieldId':_0x6d2127['id'],'unitId':_0x74911b,'subUnitId':_0x2817dd}})),_0x83ccad([..._0x553e10[_0x1d86b9(0x19b)],..._0x528a0e[_0x1d86b9(0x19b)],..._0x51d782],_0x70fa62),_0x493b8d['pushUndoRedo']({'unitID':_0x74911b,'redoMutations':[..._0x553e10[_0x1d86b9(0x19b)],..._0x528a0e[_0x1d86b9(0x19b)],..._0x51d782],'undoMutations':[..._0x553e10[_0x1d86b9(0x124)],..._0x528a0e[_0x1d86b9(0x124)],..._0x5ecc0c]}),!0x0;}},hs={'type':_0x3b5e73[_0x3015f1(0xf9)],'id':_0x3015f1(0xb3),async 'handler'(_0x42a9c2,_0x1e2f4){const _0x4ab38b=_0x3015f1;if(!_0x1e2f4)return!0x1;const {sourceDataInfo:_0x5a397f,pivotTableConfig:_0x3648d7}=_0x1e2f4;if(!_0x5a397f||!_0x3648d7)return!0x1;const {unitId:_0x2bdb48,subUnitId:_0x4fb1fc,range:_0x288a32}=_0x5a397f,_0x34858e=_0x42a9c2[_0x4ab38b(0x1c7)](_0x58e9a8),_0x1b3f3e=_0x42a9c2[_0x4ab38b(0x1c7)](X),_0x42300d=_0x42a9c2[_0x4ab38b(0x1c7)](_0x4f3764),_0x5edda5=_0x42a9c2[_0x4ab38b(0x1c7)](_0x3ec272),_0x4184da=_0x34858e[_0x4ab38b(0x2b9)](_0x2bdb48);if(!_0x4184da)return!0x1;const _0x5b742e=_0x4184da[_0x4ab38b(0x1d7)](_0x4fb1fc);if(!_0x5b742e)return!0x1;const _0x33373b=_0x3d2358(0x8),_0x83142=_0x288a32||{'startRow':0x0,'startColumn':0x0,'endRow':_0x5b742e[_0x4ab38b(0x274)]()-0x1,'endColumn':_0x5b742e[_0x4ab38b(0xa9)]()-0x1};_0x83142[_0x4ab38b(0x26c)]=_0x8da310['NORMAL'];const _0x2254bc=(await _0x1b3f3e[_0x4ab38b(0x134)]({'unitId':_0x2bdb48,'subUnitId':_0x4fb1fc,'pivotTableId':_0x33373b,'params':{'type':k[_0x4ab38b(0x174)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x2bdb48,'sheetName':_0x5b742e['getName'](),'subUnitId':_0x4fb1fc,'range':_0x83142},'pivotTableId':_0x33373b,'pivotTableIndexConfig':_0x3648d7}}}))[_0x4ab38b(0x22d)]['addPivotTableWithConfig'];if(!_0x2254bc)return!0x1;const {isEmpty:_0x5edfe1,fieldsConfig:_0x4f5cf6,collectionConfig:_0x24b40f,changesets:_0x2e1aef}=_0x2254bc,_0x285cae=_0x4184da[_0x4ab38b(0x96)]()[_0x4ab38b(0x290)],_0x4dfb47=_0x448ffe({'rowCount':_0x5b742e['getRowCount']()-0x1,'columnCount':_0x5b742e[_0x4ab38b(0xa9)]()-0x1});_0x4dfb47['id']=_0x55594f(),_0x4dfb47['name']=_0x4184da['generateNewSheetName'](''+_0x42300d['t']('sheets.tabs.sheet'));const _0x399683={'index':_0x285cae,'sheet':_0x4dfb47,'unitId':_0x2bdb48},{redos:_0x4d0667}=Ce(_0x5edda5,{'pivotTableId':_0x33373b,'unitId':_0x2bdb48,'subUnitId':_0x4dfb47['id']},_0x2e1aef),_0x381a4a=[{'id':_0x3d82e1['id'],'params':_0x399683},{'id':It['id'],'params':{'unitId':_0x2bdb48,'subUnitId':_0x4dfb47['id'],'pivotTableId':_0x33373b,'pivotTableConfig':{'isEmpty':_0x5edfe1,'fieldsConfig':_0x4f5cf6,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x2bdb48,'subUnitId':_0x4dfb47['id']},'sourceRangeInfo':{'subUnitId':_0x4fb1fc,'unitId':_0x2bdb48,'range':_0x83142,'sheetName':_0x5b742e[_0x4ab38b(0x256)]()}},'collectionConfig':_0x24b40f}},..._0x4d0667];return _0x83ccad(_0x381a4a,_0x5edda5),!0x0;}},ps={'type':_0x3b5e73[_0x3015f1(0xf9)],'id':'sheet.command.add-pivot-table',async 'handler'(_0x1cc9bf,_0x399795){const _0x40959f=_0x3015f1;var _0x2d4d58,_0x1f0076;const _0x4aa65c=_0x1cc9bf['get'](_0x3ec272),_0x1f3f29=_0x1cc9bf[_0x40959f(0x1c7)](_0x58e9a8),_0x544a2f=_0x1cc9bf[_0x40959f(0x1c7)](_0x4f3764),_0x11dd89=_0x1cc9bf['get'](X),_0x497bbf=_0x1cc9bf[_0x40959f(0x1c7)](_0x32a0be),_0x5a1a01=_0x1cc9bf[_0x40959f(0x1c7)](he),_0x5a7de2=_0x1cc9bf['get'](_0x43238f);if(!_0x399795)return!0x1;const {pivotTableConfig:_0x396599,positionType:_0x5791c2}=_0x399795,{targetCellInfo:_0x5ee8b9,sourceRangeInfo:_0x20d5f3}=_0x396599,{unitId:_0x25b09c,subUnitId:_0x13c753}=_0x5ee8b9,_0x10f610=_0x1f3f29[_0x40959f(0x2b9)](_0x25b09c);if(!_0x10f610)return!0x1;let _0xe87e2d=0x0;_0x10f610[_0x40959f(0x96)]()[_0x40959f(0x14e)](_0x3b89db=>{const _0x2a44bf=_0x40959f;var _0x25ed28,_0x3694e4;_0xe87e2d+=(_0x3694e4=(_0x25ed28=_0x5a1a01[_0x2a44bf(0x27b)](_0x25b09c,_0x3b89db['getSheetId']()))==null?void 0x0:_0x25ed28['size'])!=null?_0x3694e4:0x0;});const _0xf4fc98=(_0x2d4d58=_0x5a7de2[_0x40959f(0xb1)](_0xcfd63c))!=null?_0x2d4d58:{},{ls:_0x185d1b,pbk:_0x15e2c0}=_0xf4fc98;if(!Go(_0x185d1b,_0x15e2c0))return!0x1;const _0xb48807=go(so,_0x185d1b,_0x15e2c0)[_0x40959f(0x8c)];if(_0xe87e2d>=_0xb48807)return!0x1;const _0xb034c6=_0x399795[_0x40959f(0x127)]||_0x3d2358(0x8),_0x196f3f=(await _0x11dd89[_0x40959f(0x134)]({'unitId':_0x25b09c,'subUnitId':_0x13c753,'pivotTableId':_0xb034c6,'params':{'type':k[_0x40959f(0x25b)],'addPivotTable':{'sourceRangeInfo':_0x20d5f3,'pivotTableId':_0xb034c6}}}))[_0x40959f(0x22d)][_0x40959f(0x1ea)];if(!_0x196f3f)return!0x1;const {view:_0x526c5c,isEmpty:_0x291820,fieldsConfig:_0x45ae5b,collectionConfig:_0x221850}=_0x196f3f,_0x2838c9=[],_0x5e9ccf=[];if(_0x5791c2===Bo[_0x40959f(0xdb)]){const _0x503de2=_0x10f610[_0x40959f(0x96)]()[_0x40959f(0x290)],_0x2528ca=_0x448ffe({});_0x2528ca['id']=_0x396599[_0x40959f(0xa7)]['subUnitId'],_0x2528ca[_0x40959f(0xba)]=(_0x1f0076=_0x396599[_0x40959f(0xa7)][_0x40959f(0x2a7)])!=null?_0x1f0076:_0x10f610[_0x40959f(0x2a6)](''+_0x544a2f['t']('sheets.tabs.sheet'));const _0x2c3b70={'index':_0x503de2,'sheet':_0x2528ca,'unitId':_0x25b09c},_0x3a84f7=_0x4443f5(_0x1cc9bf,_0x2c3b70);_0x2838c9[_0x40959f(0x23e)]({'id':_0x24a854['id'],'params':_0x3a84f7}),_0x5e9ccf[_0x40959f(0x23e)]({'id':_0x212f5e['id'],'params':_0x2c3b70});}else{if(!_0x10f610[_0x40959f(0x1d7)](_0x13c753))return!0x1;const _0x1cdc64=we(_0x1cc9bf,new _0x3f1c21(),_0x5ee8b9,!0x0);_0x5e9ccf[_0x40959f(0x23e)](..._0x1cdc64[_0x40959f(0x19b)]),_0x2838c9['push'](..._0x1cdc64[_0x40959f(0x124)]);const _0x4c5476={'cellInfo':_0x5ee8b9,'view':_0x526c5c,'isEmpty':_0x291820};if(!await _0x1cc9bf[_0x40959f(0x1c7)](ie)[_0x40959f(0x297)][_0x40959f(0x1c3)](be)(!0x0,_0x4c5476))return!0x1;const _0x56c7c9=_e(_0x1cc9bf,_0x4c5476);_0x5e9ccf['push'](..._0x56c7c9[_0x40959f(0x19b)]),_0x2838c9[_0x40959f(0x23e)](..._0x56c7c9[_0x40959f(0x124)]);}return _0x5e9ccf[_0x40959f(0x23e)]({'id':It['id'],'params':{'unitId':_0x5ee8b9[_0x40959f(0x183)],'subUnitId':_0x5ee8b9[_0x40959f(0xeb)],'pivotTableId':_0xb034c6,'pivotTableConfig':{'targetCellInfo':_0x5ee8b9,'sourceRangeInfo':_0x20d5f3,'fieldsConfig':_0x45ae5b},'collectionConfig':_0x221850}}),_0x2838c9[_0x40959f(0x20f)]({'id':Vt['id'],'params':{'unitId':_0x25b09c,'subUnitId':_0x13c753,'pivotTableId':_0xb034c6}}),_0x83ccad(_0x5e9ccf,_0x4aa65c)&&_0x497bbf[_0x40959f(0x189)]({'unitID':_0x25b09c,'undoMutations':_0x2838c9,'redoMutations':_0x5e9ccf}),!0x0;}},Cs={'type':_0x3b5e73[_0x3015f1(0xf9)],'id':_0x3015f1(0x75),async 'handler'(_0x3d37db,_0x2e1d02){const _0x16dceb=_0x3015f1;if(!_0x2e1d02)return!0x1;const _0x2dbf08=_0x3d37db[_0x16dceb(0x1c7)](_0x3ec272),_0x45354e=_0x3d37db[_0x16dceb(0x1c7)](X),_0x55425f=_0x3d37db['get'](_0x32a0be),{pivotTableId:_0xd18b48,fieldId:_0xf943a7,area:_0x56611b,index:_0x158356,unitId:_0x2d9f2b,subUnitId:_0x4a2779}=_0x2e1d02,_0x276e4c=(await _0x45354e[_0x16dceb(0x134)]({'unitId':_0x2d9f2b,'subUnitId':_0x4a2779,'pivotTableId':_0xd18b48,'params':{'type':k[_0x16dceb(0x190)],'movePivotField':{'fieldId':_0xf943a7,'area':_0x56611b,'index':_0x158356}}}))[_0x16dceb(0x22d)][_0x16dceb(0x1e1)];if(!_0x276e4c)return!0x1;const {changesets:_0x3275b3,view:_0x3b4b5e,isEmpty:_0x5388a1,pivotTableConfig:_0x3a8813}=_0x276e4c,_0x5fbe84=_0x3a8813[_0x16dceb(0xa7)],_0x4ad570=new _0x3f1c21();_0x4ad570[_0x16dceb(0x2c0)](_0x3b4b5e);const _0x4a0011={'cellInfo':_0x5fbe84,'view':_0x4ad570,'isEmpty':_0x5388a1};if(!await _0x3d37db[_0x16dceb(0x1c7)](ie)[_0x16dceb(0x297)][_0x16dceb(0x1c3)](be)(!0x0,_0x4a0011))return!0x1;const _0x4b31b1=we(_0x3d37db,_0x4ad570,_0x5fbe84,_0x5388a1),_0x24fdce=_e(_0x3d37db,_0x4a0011),{redos:_0xbf8dc0,undos:_0x1098fe}=Ce(_0x2dbf08,{'pivotTableId':_0xd18b48,'unitId':_0x2d9f2b,'subUnitId':_0x4a2779},_0x3275b3);return _0x83ccad([..._0x4b31b1[_0x16dceb(0x19b)],..._0x24fdce[_0x16dceb(0x19b)],..._0xbf8dc0],_0x2dbf08),_0x55425f['pushUndoRedo']({'unitID':_0x2d9f2b,'redoMutations':[..._0x4b31b1[_0x16dceb(0x19b)],..._0x24fdce['redos'],..._0xbf8dc0],'undoMutations':[..._0x4b31b1[_0x16dceb(0x124)],..._0x24fdce[_0x16dceb(0x124)],..._0x1098fe]}),!0x0;}},ms={'type':_0x3b5e73[_0x3015f1(0xf9)],'id':_0x3015f1(0x104),async 'handler'(_0x3016e2,_0x57cd5e){const _0x32c9f1=_0x3015f1;var _0x17a669;if(!_0x57cd5e)return!0x1;const _0x284e7f=_0x3016e2[_0x32c9f1(0x1c7)](_0x58e9a8),_0x22989a=_0xea3a43(_0x284e7f);if(!_0x22989a)return!0x1;const {unitId:_0x5bbb03,subUnitId:_0x18eaa4,workbook:_0xedfacb}=_0x22989a,{row:_0x4cf737,col:_0x2f999d}=_0x57cd5e,_0x931b53=_0x3016e2[_0x32c9f1(0x1c7)](Ne),_0x57f058=_0x931b53[_0x32c9f1(0x176)](_0x5bbb03,_0x18eaa4,_0x4cf737,_0x2f999d);if(!_0x57f058)return!0x1;const _0x442098=(_0x17a669=_0x931b53['getPivotItemRenderInfoCache'](_0x5bbb03,_0x18eaa4,_0x57f058))==null?void 0x0:_0x17a669[_0x32c9f1(0xf2)];if(!_0x442098)return!0x1;const _0x23bef1=_0x3016e2[_0x32c9f1(0x1c7)](he)['getPivotTableConfig'](_0x5bbb03,_0x18eaa4,_0x57f058);if(!_0x23bef1)return!0x1;const {rowInfo:_0x26181b,colInfo:_0x2decd9}=_0x442098,_0x51f72a=_0x26181b[_0x4cf737][_0x32c9f1(0x11a)],_0x1717fc=_0x2decd9[_0x2f999d][_0x32c9f1(0x11a)],_0x4261f6=_0x26181b[_0x4cf737][_0x32c9f1(0x2be)],_0x599a89=_0x2decd9[_0x2f999d][_0x32c9f1(0x2be)],_0x4858ab=_0x51f72a[_0x32c9f1(0x111)](_0x1717fc),_0x268592=_0x23bef1['fieldsConfig']['rowFields'][_0x32c9f1(0x1d6)](0x0,_0x4261f6),_0x2189dd=_0x23bef1[_0x32c9f1(0x68)][_0x32c9f1(0x2ed)]['slice'](0x0,_0x599a89),_0x52ca86=_0x268592[_0x32c9f1(0x111)](_0x2189dd),_0x3d4d68=_0x4858ab[_0x32c9f1(0x1df)]((_0x3ed239,_0x3e7168)=>[_0x3ed239,_0x52ca86[_0x3e7168]]),_0x5c5929=(await _0x3016e2['get'](X)[_0x32c9f1(0x134)]({'unitId':_0x5bbb03,'subUnitId':_0x18eaa4,'pivotTableId':_0x57f058,'params':{'type':k[_0x32c9f1(0x24e)],'drillDown':{'tuple':_0x3d4d68}}}))['result'][_0x32c9f1(0xd9)];if(!_0x5c5929)return!0x1;const {indexes:_0x47b1ce,range:_0x4df390,sourceUnitId:_0x3dada7,sourceSubUnitId:_0x363ae3,formatMap:_0x93001}=_0x5c5929,{startRow:_0x31bba8,endRow:_0x577a35,startColumn:_0x18110d,endColumn:_0x2b3b52}=_0x4df390,_0x3d439d=new _0x5718da(),_0x5e4d6a=_0x577a35-_0x31bba8,_0x8c91e3=_0x2b3b52-_0x18110d,_0x25e208={},_0xcfa5ec=_0xea3a43(_0x284e7f,{'unitId':_0x3dada7,'subUnitId':_0x363ae3});if(!_0xcfa5ec)return!0x1;const _0x4732fe=fe[_0x32c9f1(0x100)],_0x41cf7c=fe[_0x32c9f1(0x1ba)],_0x2ea563=fe[_0x32c9f1(0x1ba)],_0x2615aa=_0xedfacb[_0x32c9f1(0x2dc)]()[_0x32c9f1(0xb7)](_0x4732fe),_0x33e9a8=_0xedfacb[_0x32c9f1(0x2dc)]()['setValue'](_0x41cf7c),_0x2acf9f=_0xedfacb[_0x32c9f1(0x2dc)]()['setValue'](_0x2ea563),{worksheet:_0x59080b}=_0xcfa5ec;let _0x5d4d80=0x0;const _0x7de694=0x1;_0x47b1ce[_0x32c9f1(0x14e)](_0x3b3fdf=>{const _0x14fbdb=_0x32c9f1;for(let _0x31d302=0x0;_0x31d302<=_0x2b3b52-_0x18110d;_0x31d302++)_0x3d439d[_0x14fbdb(0xb7)](_0x5d4d80,_0x31d302,_0x59080b[_0x14fbdb(0xe9)](_0x3b3fdf+_0x4df390[_0x14fbdb(0x2a3)]+_0x7de694,_0x31d302));_0x5d4d80++;});for(let _0x100050=_0x18110d;_0x100050<=_0x2b3b52;_0x100050++){const _0x58ab46=_0x59080b['getCellRaw'](_0x31bba8,_0x100050);_0x25e208[_0x31bba8]||(_0x25e208[_0x31bba8]={}),_0x25e208[_0x31bba8][_0x100050]={..._0x58ab46,'s':_0x2615aa};}let _0xb6e78d=0x1;const _0xd3d2b={},_0x383d00={};_0x3d439d['forRow']((_0xea1bbd,_0x58e1b7)=>{_0x58e1b7['forEach'](_0x22678a=>{const _0x1d963a=_0x54da,_0x269317=_0x3d439d[_0x1d963a(0x1f3)](_0xea1bbd,_0x22678a);if(_0x25e208[_0xb6e78d]||(_0x25e208[_0xb6e78d]={}),_0x25e208[_0xb6e78d][_0x22678a]={..._0x269317,'s':_0xb6e78d%0x2===0x0?_0x2acf9f:_0x33e9a8},_0x93001[_0x22678a]&&_0xea1bbd>=0x0){const _0x15a5af=_0xb6e78d%0x2===0x0;let _0x1525a1=_0x15a5af?_0x383d00[_0x22678a]:_0xd3d2b[_0x22678a];_0x1525a1||(_0x1525a1=_0xedfacb['getStyles']()[_0x1d963a(0xb7)]({..._0x15a5af?_0x2ea563:_0x41cf7c,'n':{'pattern':_0x93001[_0x22678a]}}),_0x15a5af?_0x383d00[_0x22678a]=_0x1525a1:_0xd3d2b[_0x22678a]=_0x1525a1),_0x25e208[_0xb6e78d][_0x22678a]['s']=_0x1525a1;}}),_0xb6e78d++;});const _0xb60700=new _0x5718da(_0x25e208),_0x5ef447={};_0xb60700[_0x32c9f1(0x15b)]((_0x152bd9,_0x8d9141,_0x20cbd2)=>{_0x5ef447[_0x152bd9]||(_0x5ef447[_0x152bd9]={}),_0x5ef447[_0x152bd9][_0x8d9141]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x52ff9c=[],_0xd46854=[],_0x523804=_0xedfacb[_0x32c9f1(0x96)]()[_0x32c9f1(0x290)],_0x5986df=_0x448ffe({'rowCount':Math[_0x32c9f1(0x286)](_0x88d77c,_0x5e4d6a+0xa),'columnCount':Math[_0x32c9f1(0x286)](_0x1c4cdf,_0x8c91e3+0x5)}),_0x31186d=_0x3016e2[_0x32c9f1(0x1c7)](_0x4f3764);_0x5986df['id']=_0x55594f(),_0x5986df[_0x32c9f1(0xba)]=_0xedfacb[_0x32c9f1(0x2a6)](''+_0x31186d['t'](_0x32c9f1(0x148)));const _0x594646={'index':_0x523804,'sheet':_0x5986df,'unitId':_0x5bbb03},_0x4a9358=_0x4443f5(_0x3016e2,_0x594646);_0xd46854['push']({'id':_0x212f5e['id'],'params':_0x594646}),_0x52ff9c[_0x32c9f1(0x23e)]({'id':_0x24a854['id'],'params':_0x4a9358}),_0xd46854[_0x32c9f1(0x23e)]({'id':_0x3ce54f['id'],'params':{'unitId':_0x5bbb03,'subUnitId':_0x5986df['id'],'cellValue':_0x25e208}}),_0x52ff9c[_0x32c9f1(0x20f)]({'id':_0x3ce54f['id'],'params':{'unitId':_0x5bbb03,'subUnitId':_0x5986df['id'],'cellValue':_0x5ef447}});const _0xd0f921={'startRow':0x0,'startColumn':0x0,'endRow':_0xb6e78d-0x1,'endColumn':_0x2b3b52};_0xd46854[_0x32c9f1(0x23e)]({'id':_0x5368b8['id'],'params':{'unitId':_0x5bbb03,'subUnitId':_0x5986df['id'],'range':_0xd0f921}}),_0x52ff9c['unshift']({'id':_0x12eb22['id'],'params':{'unitId':_0x5bbb03,'subUnitId':_0x5986df['id']}});const _0x2b2509=_0x3016e2[_0x32c9f1(0x1c7)](_0x3ec272);return _0x83ccad(_0xd46854,_0x2b2509)&&_0x3016e2[_0x32c9f1(0x1c7)](_0x32a0be)['pushUndoRedo']({'unitID':_0x5bbb03,'undoMutations':_0x52ff9c,'redoMutations':_0xd46854}),!0x0;}},Is={'type':_0x3b5e73['COMMAND'],'id':_0x3015f1(0x254),async 'handler'(_0x2d3909,_0x1a9f26){const _0x3a572c=_0x3015f1;if(!_0x1a9f26)return!0x1;const _0x5b64da=_0x2d3909['get'](_0x3ec272),_0x1f0166=_0x2d3909[_0x3a572c(0x1c7)](X),_0x6512ee=_0x2d3909['get'](_0x32a0be),{pivotTableId:_0x2b27c3,fieldIds:_0x3987d5,unitId:_0xde61d0,subUnitId:_0x2d6f1d}=_0x1a9f26,_0x29fabf=(await _0x1f0166[_0x3a572c(0x134)]({'unitId':_0xde61d0,'subUnitId':_0x2d6f1d,'pivotTableId':_0x2b27c3,'params':{'type':k[_0x3a572c(0x120)],'removePivotField':{'fieldIds':_0x3987d5}}}))['result'][_0x3a572c(0x287)];if(!_0x29fabf)return!0x1;const {view:_0x11ba3d,changesets:_0x5c6362,isEmpty:_0x49ac43,pivotTableConfig:_0x25b880}=_0x29fabf,_0x5b1955=_0x25b880['targetCellInfo'],_0x5aabcb=new _0x3f1c21();_0x5aabcb[_0x3a572c(0x2c0)](_0x11ba3d);const _0x213a0a={'cellInfo':_0x5b1955,'view':_0x5aabcb,'isEmpty':_0x49ac43};if(!await _0x2d3909[_0x3a572c(0x1c7)](ie)[_0x3a572c(0x297)][_0x3a572c(0x1c3)](be)(!0x0,_0x213a0a))return!0x1;const _0x5783c3=we(_0x2d3909,_0x5aabcb,_0x5b1955,_0x49ac43),_0x43cbaa=_e(_0x2d3909,_0x213a0a),{redos:_0x54e453,undos:_0x934d1a}=Ce(_0x5b64da,{'pivotTableId':_0x2b27c3,'unitId':_0xde61d0,'subUnitId':_0x2d6f1d},_0x5c6362);return _0x83ccad([..._0x5783c3['redos'],..._0x43cbaa[_0x3a572c(0x19b)],..._0x54e453],_0x5b64da),_0x6512ee[_0x3a572c(0x189)]({'unitID':_0xde61d0,'redoMutations':[..._0x5783c3['redos'],..._0x43cbaa[_0x3a572c(0x19b)],..._0x54e453],'undoMutations':[..._0x5783c3[_0x3a572c(0x124)],..._0x43cbaa[_0x3a572c(0x124)],..._0x934d1a]}),!0x0;}},bs={'type':_0x3b5e73[_0x3015f1(0xf9)],'id':_0x3015f1(0x225),async 'handler'(_0x212465,_0xd5c8d5){const _0x5ae29f=_0x3015f1;var _0x2aedb3;const _0x54629a=_0x212465[_0x5ae29f(0x1c7)](_0x3ec272),_0x21e3bf=_0x212465['get'](X),_0x3557bf=_0x212465[_0x5ae29f(0x1c7)](Ne),_0x36eedc=_0x212465[_0x5ae29f(0x1c7)](_0x58e9a8),_0x20b0da=_0x212465[_0x5ae29f(0x1c7)](_0x32a0be);if(!_0xd5c8d5)return!0x1;const {unitId:_0x47764a,subUnitId:_0xdc11b7,row:_0x163c20,col:_0x3f2be2,collapse:_0x2d67a}=_0xd5c8d5,_0x214910=_0x36eedc[_0x5ae29f(0x2b9)](_0x47764a);if(!_0x214910||!_0x214910[_0x5ae29f(0x1d7)](_0xdc11b7))return!0x1;const _0x1ab351=_0x3557bf[_0x5ae29f(0x176)](_0x47764a,_0xdc11b7,_0x163c20,_0x3f2be2);if(!_0x1ab351)return!0x1;const _0x2f1103=_0x3557bf[_0x5ae29f(0x270)](_0x47764a,_0xdc11b7,_0x1ab351);if(!_0x2f1103)return!0x1;const _0x403400=_0x4a0405(_0x163c20,_0x3f2be2),{rangesInfo:_0x4ed92c,areaInfo:_0x417170,headerMap:_0x34e149}=_0x2f1103;if(!_0x4ed92c||!_0x417170||!_0x34e149)return!0x1;const _0x2e0808=Object[_0x5ae29f(0x1bc)](_0x4ed92c)[_0x5ae29f(0xe4)](_0xf07393=>_0x4ed92c[_0xf07393][_0x5ae29f(0x19f)](_0x5d58cc=>_0x2d61f8[_0x5ae29f(0x2e0)](_0x5d58cc,_0x403400)));let _0x374b64;_0x2e0808==='rowRanges'?_0x374b64=_0x34e149[_0x5ae29f(0xe1)][_0x3f2be2]:_0x2e0808==='colRanges'&&(_0x374b64=_0x34e149[_0x5ae29f(0x13b)][_0x163c20]);const _0x2ad5c0=_0x374b64==null?void 0x0:_0x374b64[_0x5ae29f(0x29d)],_0x4b2d5a=(_0x2aedb3=_0x3557bf[_0x5ae29f(0xc6)](_0x47764a,_0xdc11b7,_0x163c20,_0x3f2be2))==null?void 0x0:_0x2aedb3['v'];if(_0x4b2d5a==null||!_0x1ab351||!_0x2ad5c0)return!0x1;const _0x18f891=await _0x21e3bf[_0x5ae29f(0x134)]({'unitId':_0x47764a,'subUnitId':_0xdc11b7,'pivotTableId':_0x1ab351,'params':{'type':k[_0x5ae29f(0x1d3)],'setPivotCollapse':{'tableFieldId':_0x2ad5c0,'collapse':_0x2d67a,'item':_0x4b2d5a}}}),_0xac70f3=_0x18f891==null?void 0x0:_0x18f891['result'][_0x5ae29f(0x16f)];if(!_0xac70f3)return!0x1;const {view:_0x2effce,pivotTableConfig:_0x35d82b,isEmpty:_0x3fa036,changesets:_0x5dac96}=_0xac70f3,_0x4f5d38=new _0x3f1c21();_0x4f5d38[_0x5ae29f(0x2c0)](_0x2effce);const _0x56e3a6=_0x35d82b['targetCellInfo'],_0x1994ec={'cellInfo':_0x56e3a6,'view':_0x4f5d38,'isEmpty':_0x3fa036};if(!await _0x212465[_0x5ae29f(0x1c7)](ie)['asyncInterceptor'][_0x5ae29f(0x1c3)](be)(!0x0,_0x1994ec))return!0x1;const _0x2298f6=we(_0x212465,_0x4f5d38,_0x56e3a6,_0x3fa036),_0x2c8510=_e(_0x212465,_0x1994ec),{redos:_0x564b7d,undos:_0x5ae69e}=Ce(_0x54629a,{'pivotTableId':_0x1ab351,'unitId':_0x47764a,'subUnitId':_0xdc11b7},_0x5dac96);return _0x83ccad([..._0x2298f6[_0x5ae29f(0x19b)],..._0x2c8510['redos'],..._0x564b7d],_0x54629a),_0x20b0da['pushUndoRedo']({'unitID':_0x47764a,'redoMutations':[..._0x2298f6[_0x5ae29f(0x19b)],..._0x2c8510['redos'],..._0x564b7d],'undoMutations':[..._0x2298f6[_0x5ae29f(0x124)],..._0x2c8510['undos'],..._0x5ae69e]}),!0x0;}},Ss={'type':_0x3b5e73['COMMAND'],'id':_0x3015f1(0xe3),async 'handler'(_0x1ed566,_0x12a119){const _0x39956b=_0x3015f1;if(!_0x12a119)return!0x1;const _0x2b3821=_0x1ed566[_0x39956b(0x1c7)](_0x3ec272),{pivotTableId:_0xcb0710,tableFieldId:_0x5889b1,items:_0x205dae,unitId:_0x3d8527,subUnitId:_0x4e45fc,isAll:_0x4e39ff}=_0x12a119,_0x295ed1=_0x1ed566[_0x39956b(0x1c7)](X),_0x140449=_0x1ed566[_0x39956b(0x1c7)](_0x32a0be),_0x4df94b=(await _0x295ed1[_0x39956b(0x134)]({'unitId':_0x3d8527,'subUnitId':_0x4e45fc,'pivotTableId':_0xcb0710,'params':{'type':k[_0x39956b(0xd3)],'setPivotFilter':{'tableFieldId':_0x5889b1,'items':_0x205dae,'isAll':_0x4e39ff}}}))['result']['setPivotFilter'];if(!_0x4df94b)return!0x1;const {changesets:_0x253608,pivotTableConfig:_0xbbab4e,isEmpty:_0x262578,view:_0x5cc110}=_0x4df94b,_0xf0c82d=_0xbbab4e[_0x39956b(0xa7)],_0x58cf28=new _0x3f1c21();_0x58cf28['formJSON'](_0x5cc110);const _0x332424={'cellInfo':_0xf0c82d,'view':_0x58cf28,'isEmpty':_0x262578};if(!await _0x1ed566[_0x39956b(0x1c7)](ie)[_0x39956b(0x297)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x332424))return!0x1;const _0x3d9fc1=we(_0x1ed566,_0x58cf28,_0xf0c82d,_0x262578),_0x1b9566=_e(_0x1ed566,_0x332424),{undos:_0x26abd5,redos:_0x2cdc8f}=Ce(_0x2b3821,{'pivotTableId':_0xcb0710,'unitId':_0x3d8527,'subUnitId':_0x4e45fc},_0x253608);return _0x83ccad([..._0x3d9fc1[_0x39956b(0x19b)],..._0x1b9566[_0x39956b(0x19b)],..._0x2cdc8f],_0x2b3821),_0x140449[_0x39956b(0x189)]({'unitID':_0x3d8527,'redoMutations':[..._0x3d9fc1[_0x39956b(0x19b)],..._0x1b9566[_0x39956b(0x19b)],..._0x2cdc8f],'undoMutations':[..._0x3d9fc1['undos'],..._0x1b9566[_0x39956b(0x124)],..._0x26abd5]}),!0x0;}},Ts={'type':_0x3b5e73[_0x3015f1(0xf9)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0xe3645e,_0x3a1dac){const _0x48a8c7=_0x3015f1;if(!_0x3a1dac)return!0x1;const _0x1310c3=_0xe3645e['get'](_0x3ec272),_0x378424=_0xe3645e[_0x48a8c7(0x1c7)](_0x32a0be),_0x193482=_0xe3645e['get'](X),{info:_0xf9974b,tableFieldId:_0x1d840f,pivotTableId:_0xf9d0c8,unitId:_0xfa95fc,subUnitId:_0x172a5c}=_0x3a1dac,_0x303c0c=(await _0x193482['getPivotDisplayConfig']({'unitId':_0xfa95fc,'subUnitId':_0x172a5c,'pivotTableId':_0xf9d0c8,'params':{'type':k[_0x48a8c7(0xf4)],'setPivotSort':{'tableFieldId':_0x1d840f,'info':_0xf9974b}}}))[_0x48a8c7(0x22d)][_0x48a8c7(0x1ff)];if(!_0x303c0c)return!0x1;const {changesets:_0x7083a6}=_0x303c0c,{redos:_0x3d207f,undos:_0x1acfda}=Ce(_0x1310c3,{'pivotTableId':_0xf9d0c8,'unitId':_0xfa95fc,'subUnitId':_0x172a5c},_0x7083a6);return _0x83ccad(_0x3d207f,_0x1310c3),_0x378424[_0x48a8c7(0x189)]({'unitID':_0xfa95fc,'redoMutations':_0x3d207f,'undoMutations':_0x1acfda}),!0x0;}},Ps={'type':_0x3b5e73[_0x3015f1(0xf9)],'id':_0x3015f1(0x1e8),async 'handler'(_0x38e688,_0x114a1f){const _0x4f728a=_0x3015f1;if(!_0x114a1f)return!0x1;const _0xfcca32=_0x38e688['get'](_0x3ec272),_0x4985c2=_0x38e688[_0x4f728a(0x1c7)](_0x32a0be),_0x4550f8=_0x38e688[_0x4f728a(0x1c7)](X),{displayName:_0x21c38b,subtotalType:_0x22db9c,format:_0x17e3f2,tableFieldId:_0x3daf04,pivotTableId:_0x598be1,unitId:_0x4635a9,subUnitId:_0x4fd4a7}=_0x114a1f,_0x2e7e3e=(await _0x4550f8[_0x4f728a(0x134)]({'unitId':_0x4635a9,'subUnitId':_0x4fd4a7,'pivotTableId':_0x598be1,'params':{'type':k[_0x4f728a(0x260)],'setPivotSetting':{'tableFieldId':_0x3daf04,'displayName':_0x21c38b,'subtotalType':_0x22db9c,'format':_0x17e3f2}}}))[_0x4f728a(0x22d)][_0x4f728a(0x184)];if(!_0x2e7e3e)return!0x1;const {changesets:_0x4a7297,view:_0x549715,pivotTableConfig:_0x441d77,isEmpty:_0x50f7b1}=_0x2e7e3e,_0x1edd84=_0x441d77[_0x4f728a(0xa7)],_0x28e90c=new _0x3f1c21();_0x28e90c['formJSON'](_0x549715);const _0x3b4108={'cellInfo':_0x1edd84,'view':_0x28e90c,'isEmpty':_0x50f7b1};if(!await _0x38e688[_0x4f728a(0x1c7)](ie)[_0x4f728a(0x297)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x3b4108))return!0x1;const _0x34c545=we(_0x38e688,_0x28e90c,_0x1edd84,_0x50f7b1),_0x408a40=_e(_0x38e688,_0x3b4108),{undos:_0x8cc856,redos:_0x5125cc}=Ce(_0xfcca32,{'pivotTableId':_0x598be1,'unitId':_0x4635a9,'subUnitId':_0x4fd4a7},_0x4a7297);return _0x83ccad([..._0x34c545['redos'],..._0x408a40[_0x4f728a(0x19b)],..._0x5125cc],_0xfcca32),_0x4985c2[_0x4f728a(0x189)]({'unitID':_0x4635a9,'redoMutations':[..._0x34c545[_0x4f728a(0x19b)],..._0x408a40[_0x4f728a(0x19b)],..._0x5125cc],'undoMutations':[..._0x34c545[_0x4f728a(0x124)],..._0x408a40[_0x4f728a(0x124)],..._0x8cc856]}),!0x0;}},ys={'type':_0x3b5e73['COMMAND'],'id':_0x3015f1(0x77),async 'handler'(_0x2d0aed,_0x2fe545){const _0x2c31a0=_0x3015f1,_0x4bf5a6=_0x2d0aed[_0x2c31a0(0x1c7)](_0x3ec272),_0x3b77bd=_0x2d0aed[_0x2c31a0(0x1c7)](X),_0x451ad4=_0x2d0aed[_0x2c31a0(0x1c7)](_0x32a0be);if(!_0x2fe545)return!0x1;const {token:_0x14bc2c,dataRangeInfo:_0x4b2dee,unitId:_0x85830b,subUnitId:_0x353719}=_0x2fe545,_0x441932=[],_0x3c830f=[],_0x278f97=(await _0x3b77bd[_0x2c31a0(0x134)]({'unitId':_0x85830b,'subUnitId':_0x353719,'pivotTableId':_0x14bc2c,'params':{'type':k[_0x2c31a0(0x23f)],'updatePivotSource':{'dataRangeInfo':_0x4b2dee,'unitId':_0x85830b,'subUnitId':_0x353719}}}))[_0x2c31a0(0x22d)]['updatePivotSource'];if(!_0x278f97)return!0x1;const {changesets:_0x509950,deleteIds:_0x13ec4c,collectionConfig:_0x44826e,oldCollectionConfig:_0x50d5e9,view:_0x2dc9df,isEmpty:_0x5f09cf,pivotTableConfig:_0x364f3f}=_0x278f97;_0x3c830f[_0x2c31a0(0x23e)]({'id':to['id'],'params':{'pivotTableId':_0x14bc2c,'deleteIds':_0x13ec4c,'collectionJSON':_0x44826e,'dataRangeInfo':_0x4b2dee,'unitId':_0x85830b,'subUnitId':_0x353719}}),_0x441932['unshift']({'id':to['id'],'params':{'pivotTableId':_0x14bc2c,'deleteIds':[],'collectionJSON':_0x50d5e9,'dataRangeInfo':_0x364f3f[_0x2c31a0(0x2eb)],'unitId':_0x85830b,'subUnitId':_0x353719}});const _0x4643f1=_0x364f3f[_0x2c31a0(0xa7)],_0x7f7ba0=new _0x3f1c21();_0x7f7ba0[_0x2c31a0(0x2c0)](_0x2dc9df);const _0x2c193d={'cellInfo':_0x4643f1,'view':_0x7f7ba0,'isEmpty':_0x5f09cf};if(!await _0x2d0aed[_0x2c31a0(0x1c7)](ie)['asyncInterceptor'][_0x2c31a0(0x1c3)](be)(!0x0,_0x2c193d))return!0x1;const _0x3173a4=we(_0x2d0aed,_0x7f7ba0,_0x4643f1,_0x5f09cf),_0x322982=_e(_0x2d0aed,_0x2c193d),{undos:_0x21c7da,redos:_0x22d255}=Ce(_0x4bf5a6,{'pivotTableId':_0x14bc2c,'unitId':_0x85830b,'subUnitId':_0x353719},_0x509950);return _0x83ccad([..._0x3173a4[_0x2c31a0(0x19b)],..._0x322982[_0x2c31a0(0x19b)],..._0x3c830f,..._0x21c7da],_0x4bf5a6),_0x451ad4['pushUndoRedo']({'unitID':_0x85830b,'redoMutations':[..._0x3173a4[_0x2c31a0(0x19b)],..._0x322982[_0x2c31a0(0x19b)],..._0x3c830f,..._0x21c7da],'undoMutations':[..._0x3173a4['undos'],..._0x322982['undos'],..._0x441932,..._0x22d255]}),!0x0;}},Ms={'type':_0x3b5e73[_0x3015f1(0xf9)],'id':_0x3015f1(0x1e3),async 'handler'(_0x4c5f6c,_0x49c9e5){const _0x137761=_0x3015f1;if(!_0x49c9e5)return!0x1;const _0x27a76b=_0x4c5f6c[_0x137761(0x1c7)](_0x3ec272),_0x47d2c0=_0x4c5f6c[_0x137761(0x1c7)](X),_0x4bf227=_0x4c5f6c[_0x137761(0x1c7)](_0x58e9a8),_0x250e09=_0x4c5f6c[_0x137761(0x1c7)](_0x32a0be),{pivotTableId:_0x150f80,position:_0x1e74cb,index:_0x5aca7f}=_0x49c9e5,_0x56c651=_0xea3a43(_0x4bf227);if(!_0x56c651)return!0x1;const {unitId:_0x496463,subUnitId:_0x5e968e}=_0x56c651,_0x1ee73a=(await _0x47d2c0[_0x137761(0x134)]({'unitId':_0x496463,'subUnitId':_0x5e968e,'pivotTableId':_0x150f80,'params':{'type':k['UpdateValuePosition'],'updateValuePosition':{'position':_0x1e74cb,'index':_0x5aca7f}}}))[_0x137761(0x22d)]['updateValuePosition'];if(!_0x1ee73a)return!0x1;const {changesets:_0xc81d9f,view:_0x5aa781,isEmpty:_0x4f319a,pivotTableConfig:_0x1d818e}=_0x1ee73a,_0xafce5d=_0x1d818e['targetCellInfo'],_0x3fed34=new _0x3f1c21();_0x3fed34['formJSON'](_0x5aa781);const _0x3c02c9=_0x4c5f6c[_0x137761(0x1c7)](ie),_0x9d5f95={'cellInfo':_0xafce5d,'view':_0x3fed34,'isEmpty':_0x4f319a};if(!await _0x3c02c9['asyncInterceptor'][_0x137761(0x1c3)](be)(!0x0,_0x9d5f95))return!0x1;const _0x1010b2=we(_0x4c5f6c,_0x3fed34,_0xafce5d,_0x4f319a),_0x2c91c7=_e(_0x4c5f6c,_0x9d5f95),{undos:_0x17d38d,redos:_0xa7369e}=Ce(_0x27a76b,{'pivotTableId':_0x150f80,'unitId':_0x496463,'subUnitId':_0x5e968e},_0xc81d9f);return _0x83ccad([..._0x1010b2[_0x137761(0x19b)],..._0x2c91c7[_0x137761(0x19b)],..._0xa7369e],_0x27a76b),_0x250e09[_0x137761(0x189)]({'unitID':_0x496463,'redoMutations':[..._0x1010b2[_0x137761(0x19b)],..._0x2c91c7[_0x137761(0x19b)],..._0xa7369e],'undoMutations':[..._0x1010b2['undos'],..._0x2c91c7['undos'],..._0x17d38d]}),!0x0;}},ws={'type':_0x3b5e73[_0x3015f1(0xf9)],'id':_0x3015f1(0x153),'handler':(_0x21afca,_0x2f305f)=>{const _0x58bd8e=_0x3015f1,_0x32831f=_0x21afca[_0x58bd8e(0x1c7)](_0x3ec272),_0x211a41=_0x21afca[_0x58bd8e(0x1c7)](_0x32a0be),_0x1f024d=_0x21afca[_0x58bd8e(0x1c7)](he),_0x20ac8d=_0x21afca[_0x58bd8e(0x1c7)](_0x58e9a8);if(!_0x2f305f)return!0x1;const _0xd514ab=_0xea3a43(_0x20ac8d);if(!_0xd514ab)return!0x1;const {unitId:_0x476a4f,subUnitId:_0x38a5f6,workbook:_0x2eb89b}=_0xd514ab,_0x520348=_0x1f024d[_0x58bd8e(0x298)](_0x2f305f[_0x58bd8e(0x10a)][_0x58bd8e(0x183)],_0x2f305f[_0x58bd8e(0x10a)][_0x58bd8e(0xeb)],_0x2f305f['pivotTableId']);if(!_0x520348)return!0x1;const _0x4553ad=_0x2eb89b[_0x58bd8e(0x1d7)](_0x2f305f[_0x58bd8e(0xa7)]['subUnitId']);if(!_0x4553ad)throw new Error(_0x58bd8e(0x22f));const _0x278c3c=_0x4553ad[_0x58bd8e(0x274)](),_0x68806a=_0x4553ad['getColumnCount']();if(_0x2f305f[_0x58bd8e(0xa7)]['row']>_0x278c3c||_0x2f305f[_0x58bd8e(0xa7)][_0x58bd8e(0x23d)]>_0x68806a)throw new Error(_0x58bd8e(0x217));const _0x265404=[{'id':pt['id'],'params':{'unitId':_0x476a4f,'subUnitId':_0x2f305f['targetCellInfo'][_0x58bd8e(0xeb)],'pivotTableId':_0x2f305f[_0x58bd8e(0x127)],'targetCellPosition':{'row':_0x2f305f[_0x58bd8e(0xa7)][_0x58bd8e(0x291)],'col':_0x2f305f['targetCellInfo'][_0x58bd8e(0x23d)]}}}],_0x324faf=[{'id':pt['id'],'params':{'unitId':_0x476a4f,'subUnitId':_0x38a5f6,'pivotTableId':_0x2f305f[_0x58bd8e(0x127)],'targetCellPosition':{'row':_0x520348[_0x58bd8e(0xa7)][_0x58bd8e(0x291)],'col':_0x520348[_0x58bd8e(0xa7)][_0x58bd8e(0x23d)]}}}];return _0x83ccad(_0x265404,_0x32831f)&&_0x211a41[_0x58bd8e(0x189)]({'unitID':_0x476a4f,'undoMutations':_0x324faf,'redoMutations':_0x265404}),!0x0;}},_s={'type':_0x3b5e73[_0x3015f1(0xf9)],'id':_0x3015f1(0x2db),async 'handler'(_0x4e5a42,_0x2c2021){const _0x3d17e6=_0x3015f1;if(!_0x2c2021)return!0x1;const _0x101e37=_0x4e5a42[_0x3d17e6(0x1c7)](_0x3ec272),{pivotTableId:_0x4edd55,fieldId:_0x2785bd,valueFilterInfo:_0x3024a7,unitId:_0x3248ee,subUnitId:_0x40d723}=_0x2c2021,_0x577e4e=_0x4e5a42[_0x3d17e6(0x1c7)](X),_0xf00d01=_0x4e5a42[_0x3d17e6(0x1c7)](_0x32a0be),_0x4a4d40=(await _0x577e4e[_0x3d17e6(0x134)]({'unitId':_0x3248ee,'subUnitId':_0x40d723,'pivotTableId':_0x4edd55,'params':{'type':k['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x2785bd,'filterInfo':_0x3024a7}}}))['result'][_0x3d17e6(0x2e8)];if(!_0x4a4d40)return!0x1;const {changesets:_0x4c99af,pivotTableConfig:_0x329806,isEmpty:_0x5e6680,view:_0x13f141}=_0x4a4d40,_0x2b713b=_0x329806[_0x3d17e6(0xa7)],_0x146146=new _0x3f1c21();_0x146146[_0x3d17e6(0x2c0)](_0x13f141);const _0x5a45b5={'cellInfo':_0x2b713b,'view':_0x146146,'isEmpty':_0x5e6680};if(!await _0x4e5a42[_0x3d17e6(0x1c7)](ie)[_0x3d17e6(0x297)][_0x3d17e6(0x1c3)](be)(!0x0,_0x5a45b5))return!0x1;const _0x105852=we(_0x4e5a42,_0x146146,_0x2b713b,_0x5e6680),_0x2c7ee9=_e(_0x4e5a42,_0x5a45b5),{undos:_0x577cdb,redos:_0x537260}=Ce(_0x101e37,{'pivotTableId':_0x4edd55,'unitId':_0x3248ee,'subUnitId':_0x40d723},_0x4c99af);return _0x83ccad([..._0x105852[_0x3d17e6(0x19b)],..._0x2c7ee9['redos'],..._0x537260],_0x101e37),_0xf00d01[_0x3d17e6(0x189)]({'unitID':_0x3248ee,'redoMutations':[..._0x105852[_0x3d17e6(0x19b)],..._0x2c7ee9['redos'],..._0x537260],'undoMutations':[..._0x105852['undos'],..._0x2c7ee9[_0x3d17e6(0x124)],..._0x577cdb]}),!0x0;}},Fs={'type':_0x3b5e73[_0x3015f1(0xf9)],'id':_0x3015f1(0x163),async 'handler'(_0x415c01,_0x194858){const _0x371dc0=_0x3015f1;if(!_0x194858)return!0x1;const _0x3707ee=_0x415c01['get'](_0x3ec272),_0x1b4c88=_0x415c01[_0x371dc0(0x1c7)](_0x32a0be),_0x19e242=_0x415c01[_0x371dc0(0x1c7)](X),{pivotTableConfig:_0x4cada0,pivotTableId:_0x389fbb,unitId:_0x1ad4b1,subUnitId:_0x280316}=_0x194858,_0xa77917=(await _0x19e242['getPivotDisplayConfig']({'unitId':_0x1ad4b1,'subUnitId':_0x280316,'pivotTableId':_0x389fbb,'params':{'type':k[_0x371dc0(0xf3)],'setPivotTableConfig':{'pivotTableId':_0x389fbb,'pivotTableConfig':_0x4cada0}}}))[_0x371dc0(0x22d)][_0x371dc0(0x67)];if(!_0xa77917)return!0x1;const {changesets:_0xa0737c}=_0xa77917,{redos:_0x4ada4b,undos:_0xc28768}=Ce(_0x3707ee,{'pivotTableId':_0x389fbb,'unitId':_0x1ad4b1,'subUnitId':_0x280316},_0xa0737c);return _0x83ccad(_0x4ada4b,_0x3707ee),_0x1b4c88['pushUndoRedo']({'unitID':_0x1ad4b1,'redoMutations':_0x4ada4b,'undoMutations':_0xc28768}),!0x0;}},Rs={'type':_0x3b5e73['COMMAND'],'id':_0x3015f1(0xe0),async 'handler'(_0x316a33,_0x1373a3){const _0x175795=_0x3015f1;if(!_0x1373a3)return!0x1;const _0x6a3b06=_0x316a33[_0x175795(0x1c7)](_0x3ec272),_0x1a8f3b=_0x316a33[_0x175795(0x1c7)](_0x32a0be),_0xddd74e=_0x316a33[_0x175795(0x1c7)](X),{resetArea:_0x3a5e87,pivotTableId:_0x23b656,unitId:_0x13ebc7,subUnitId:_0x84b1ac}=_0x1373a3,_0x38d939=(await _0xddd74e['getPivotDisplayConfig']({'unitId':_0x13ebc7,'subUnitId':_0x84b1ac,'pivotTableId':_0x23b656,'params':{'type':k[_0x175795(0xe7)],'resetPivotTable':{'pivotTableId':_0x23b656,'resetArea':_0x3a5e87}}}))['result'][_0x175795(0x10f)];if(!_0x38d939)return!0x1;const {changesets:_0x228fa0}=_0x38d939,{redos:_0x19a4cf,undos:_0x57cfec}=Ce(_0x6a3b06,{'pivotTableId':_0x23b656,'unitId':_0x13ebc7,'subUnitId':_0x84b1ac},_0x228fa0);return _0x83ccad(_0x19a4cf,_0x6a3b06),_0x1a8f3b['pushUndoRedo']({'unitID':_0x13ebc7,'redoMutations':_0x19a4cf,'undoMutations':_0x57cfec}),!0x0;}},oo={'id':_0x3015f1(0xef),'type':_0x3b5e73['MUTATION'],'handler':(_0x396003,_0x5ce7e4)=>{const _0x312816=_0x3015f1;if(!_0x5ce7e4)return!0x1;if(!!_0x396003[_0x312816(0x1c7)](_0x43238f)[_0x312816(0xb1)](H))return!0x0;const {unitId:_0x31fb2e,subUnitId:_0x4ed146,pivotTableId:_0x47a337,tableFieldId:_0x330ed5,dateType:_0x264b20}=_0x5ce7e4,_0x3f4850=_0x396003[_0x312816(0x1c7)](Y),_0x31132b=_0x3f4850[_0x312816(0x119)](_0x47a337);if(!_0x31132b)return!0x1;const _0x5133c1=_0x31132b[_0x312816(0x253)](_0x330ed5);if(!_0x5133c1)return!0x1;const _0x5d52d8=_0x5133c1[_0x312816(0x146)](),_0x24994b=_0x31132b[_0x312816(0x92)](_0x5d52d8),_0x33ce59=(_0x24994b==null?void 0x0:_0x24994b[_0x312816(0x256)]())+'\x20'+Ho(_0x396003,_0x264b20);_0x3f4850[_0x312816(0x130)](_0x31fb2e,_0x47a337)[_0x312816(0x182)](_0x5133c1['id'],_0x33ce59);const _0x5a24d9=_0x31132b[_0x312816(0x2cf)](_0x330ed5);if(!_0x5a24d9)return!0x1;_0x31132b['renameField'](_0x5a24d9[_0x312816(0x208)](),_0x33ce59),_0x5133c1['setDateType'](_0x264b20);const _0x28dcad=_0x3f4850[_0x312816(0x298)](_0x31fb2e,_0x4ed146,_0x47a337);return _0x3f4850[_0x312816(0x25d)]({'unitId':_0x31fb2e,'subUnitId':_0x4ed146,'token':_0x47a337,'type':j['Set'],'pivotConfig':_0x28dcad}),!0x0;}},Ds={'id':_0x3015f1(0x2cd),'type':_0x3b5e73['COMMAND'],'handler':(_0x447b80,_0x28475e)=>{const _0x2717a5=_0x3015f1;if(!_0x28475e)return!0x1;const _0x32a948=_0x447b80[_0x2717a5(0x1c7)](_0x32a0be),{unitId:_0x1d63d9,subUnitId:_0x18d729,pivotTableId:_0x40dab0,tableFieldId:_0x41b187}=_0x28475e,_0x2c174e=[],_0x2ad370=[],_0x46a121=_0x447b80[_0x2717a5(0x1c7)](he),_0x2d8161=_0x46a121[_0x2717a5(0x130)](_0x1d63d9,_0x40dab0),_0x5becbf=_0x46a121[_0x2717a5(0x298)](_0x1d63d9,_0x18d729,_0x40dab0);if(!(_0x5becbf!=null&&_0x5becbf[_0x2717a5(0x68)][_0x2717a5(0x264)]))return!0x1;const _0x5650a4=Object[_0x2717a5(0x15c)](_0x5becbf['fieldsConfig'][_0x2717a5(0x264)])[_0x2717a5(0xe4)](_0x2ce356=>_0x2ce356['id']===_0x41b187);if(!_0x5650a4)return!0x1;const _0xb20865=_0x5650a4[_0x2717a5(0x2e3)];if(!(_0x2d8161!=null&&_0x2d8161[_0x2717a5(0x1f1)]))return!0x1;const _0x72915a=Object['values'](_0x2d8161==null?void 0x0:_0x2d8161['fields'])['find'](_0x1f1347=>_0x1f1347['id']===_0xb20865);if(!_0x72915a)return!0x1;_0x48c670(_0x72915a)&&_0x2c174e['push']({'id':oo['id'],'params':{..._0x28475e,'dateType':_0x72915a[_0x2717a5(0x1b7)]}}),_0x2ad370[_0x2717a5(0x23e)]({'id':oo['id'],'params':{..._0x28475e}});const _0x473176=_0x447b80[_0x2717a5(0x1c7)](_0x3ec272);return _0x83ccad(_0x2ad370,_0x473176)&&_0x32a948[_0x2717a5(0x189)]({'unitID':_0x1d63d9,'undoMutations':_0x2c174e,'redoMutations':_0x2ad370}),!0x0;}};var Ns=Object[_0x3015f1(0x1a8)],Es=(_0x52ec1a,_0x1081f6,_0x22548b,_0x34c3ba)=>{const _0x4c7c1d=_0x3015f1;for(var _0x160ffd=_0x34c3ba>0x1?void 0x0:_0x34c3ba?Ns(_0x1081f6,_0x22548b):_0x1081f6,_0x50b2c7=_0x52ec1a[_0x4c7c1d(0x290)]-0x1,_0x38957b;_0x50b2c7>=0x0;_0x50b2c7--)(_0x38957b=_0x52ec1a[_0x50b2c7])&&(_0x160ffd=_0x38957b(_0x160ffd)||_0x160ffd);return _0x160ffd;},Ke=(_0x5842c0,_0x40c178)=>(_0x1771e0,_0x93be50)=>_0x40c178(_0x1771e0,_0x93be50,_0x5842c0);const As=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Us=(_0x355b0c,_0x36aa7b,_0x2f2a5)=>{const _0x4b313f=_0x3015f1,_0x4576fe=_0x355b0c[_0x4b313f(0x1a6)];_0x355b0c['iterateFieldDim'](_0xe683d6=>{const _0x1608bd=_0x4b313f,_0x4304de=_0xe683d6['getId'](),_0x1b099a=_0xe683d6[_0x1608bd(0xec)](),_0x3c11ed=_0xe683d6[_0x1608bd(0x17c)](),_0x4b4291=_0xe683d6['getDisplayName']();_0x36aa7b[_0x1b099a]&&_0x36aa7b[_0x1b099a]===_0x4b4291&&_0x3c11ed===_0x4b4291&&(_0x355b0c['renameField'](_0x4304de,_0x4576fe[_0x1608bd(0xdf)](_0x1b099a)),_0xe683d6[_0x1608bd(0x279)](_0x4576fe[_0x1608bd(0xdf)](_0x1b099a)));}),_0x355b0c['iterateFieldByArea'](_0x2944fe['Value'],_0x3ee5d0=>{const _0x5a4192=_0x4b313f,_0x18f01d=_0x3ee5d0[_0x5a4192(0x208)](),_0x4c1301=_0x3ee5d0[_0x5a4192(0xec)](),_0x494b6c=_0x3ee5d0['getSourceName'](),_0x4397f3=_0x3ee5d0['getDisplayName'](),_0x286266=_0x3ee5d0['getSubtotal'](),_0x44171b=_0x2f2a5(_0x494b6c,_0x286266);_0x36aa7b[_0x4c1301]&&_0x36aa7b[_0x4c1301]===_0x494b6c&&_0x44171b===_0x4397f3&&(_0x355b0c[_0x5a4192(0x175)](_0x18f01d,_0x2f2a5(_0x4576fe[_0x5a4192(0xdf)](_0x4c1301),_0x286266)),_0x3ee5d0['setSourceName'](_0x4576fe[_0x5a4192(0xdf)](_0x4c1301)));});},Vs=(_0x4bbd3d,_0x59e8c4,_0x4e9841)=>{const _0x5cc5bd=_0x3015f1;var _0x36d55d,_0x5d4ed8;const {arrayFormulaCellData:_0x1e1fe7,unitData:_0x503f7d}=_0x59e8c4,{unitId:_0x5c3292,subUnitId:_0x4cd5c8}=_0x4e9841,_0x52880a=_0x4e9841['range'],{startColumn:_0x3a6c76,endColumn:_0x1e4bc0}=_0x52880a,_0x470d96=(_0x36d55d=_0x1e1fe7==null?void 0x0:_0x1e1fe7[_0x5c3292])==null?void 0x0:_0x36d55d[_0x4cd5c8],_0x1dd2c8=(_0x5d4ed8=_0x503f7d==null?void 0x0:_0x503f7d[_0x5c3292])==null?void 0x0:_0x5d4ed8[_0x4cd5c8],_0x64cfb1=new Set(),_0x61762a=_0x1e4bc0-_0x3a6c76+0x1,{dirtyRanges:_0x172df4}=_0x4bbd3d;if(_0x172df4)for(const {range:_0x18ad26,sheetId:_0x2052cb,unitId:_0x492ebc}of _0x172df4){if(_0x2052cb!==_0x4cd5c8||_0x5c3292!==_0x492ebc)continue;const _0x1dc99e=_0x2d61f8[_0x5cc5bd(0x1cb)](_0x18ad26,_0x52880a);if(_0x1dc99e){const {startColumn:_0x5d52ae,endColumn:_0x2d810f}=_0x1dc99e;for(let _0x3aff5e=_0x5d52ae;_0x3aff5e<=_0x2d810f;_0x3aff5e++)_0x64cfb1[_0x5cc5bd(0x1e7)](_0x3aff5e);}}if(_0x64cfb1[_0x5cc5bd(0x285)]===_0x61762a||_0x64cfb1[_0x5cc5bd(0x285)]===_0x61762a)return Array['from'](_0x64cfb1);if(_0x1dd2c8){const _0x136c5e=_0x1dd2c8[_0x5cc5bd(0x2ac)](),_0x354617=Object[_0x5cc5bd(0x1bc)](_0x136c5e);for(const _0x18ba72 of _0x354617){const _0x3c1cd5=Number(_0x18ba72),_0x1ce8cb=_0x136c5e[_0x3c1cd5];if(_0x64cfb1['size']===_0x61762a)break;for(const _0x4038b7 in _0x1ce8cb){const _0x5db1d6=Number(_0x4038b7);_0x5db1d6<_0x3a6c76||_0x5db1d6>_0x1e4bc0||_0x64cfb1[_0x5cc5bd(0x1e7)](_0x5db1d6);}}}if(_0x470d96){const _0x4c91e3=_0x470d96['getMatrix'](),_0x2c0f4e=Object[_0x5cc5bd(0x1bc)](_0x4c91e3);for(const _0x3c6071 of _0x2c0f4e){const _0x201f11=Number(_0x3c6071),_0x23a961=_0x4c91e3[_0x201f11];if(_0x64cfb1[_0x5cc5bd(0x285)]===_0x61762a)break;for(const _0x53fa28 in _0x23a961){const _0x54461d=Number(_0x53fa28);_0x54461d<_0x3a6c76||_0x54461d>_0x1e4bc0||_0x64cfb1[_0x5cc5bd(0x1e7)](_0x54461d);}}}return Array[_0x5cc5bd(0x2c2)](_0x64cfb1);},xs=_0x403652=>{const _0x1cbb7f=_0x3015f1,_0x4d090b=new Set(),_0xd6e12c=[];for(const _0x54c0c5 of _0x403652){const _0x4efb7a=_0x54c0c5[_0x1cbb7f(0x2a3)]+','+_0x54c0c5[_0x1cbb7f(0x1dc)]+','+_0x54c0c5['startColumn']+','+_0x54c0c5[_0x1cbb7f(0x9a)];_0x4d090b[_0x1cbb7f(0x9f)](_0x4efb7a)||(_0x4d090b[_0x1cbb7f(0x1e7)](_0x4efb7a),_0xd6e12c[_0x1cbb7f(0x23e)](_0x54c0c5));}return _0xd6e12c;};let ct=class extends _0x434a0e{constructor(_0x26f063,_0x3a010c,_0x4c74f9,_0x3b1d17,_0x53f4d3,_0x5ecf22){const _0x246692=_0x3015f1;super(),A(this,_0x246692(0x210),new _0x3c5aa8(!0x0)),A(this,_0x246692(0xa4),_0xfec55c=>{const _0x2c04f7=_0x246692;this[_0x2c04f7(0x210)][_0x2c04f7(0x123)](!0x1);}),A(this,_0x246692(0x152),_0x266eec=>{this['_globalSubject']['next'](!0x0);}),(this[_0x246692(0x266)]=_0x26f063,this[_0x246692(0x20d)]=_0x3a010c,this['_featureCalculationManagerService']=_0x4c74f9,this[_0x246692(0x27d)]=_0x3b1d17,this['_globalComputingSrv']=_0x53f4d3,this[_0x246692(0x198)]=_0x5ecf22,this[_0x246692(0x2c4)](),this[_0x246692(0x2d1)]());}[_0x3015f1(0x2c4)](){const _0x28b550=_0x3015f1;this[_0x28b550(0x278)](),this[_0x28b550(0x25c)](),this[_0x28b550(0x2cc)](),this[_0x28b550(0x186)]();}[_0x3015f1(0x212)](){const _0x1fd374=_0x3015f1;this[_0x1fd374(0x2d7)]['pushComputingStatusSubject'](this[_0x1fd374(0x210)]),_0x1b128e[_0x1fd374(0x115)](_0x2de36e[_0x1fd374(0x1ec)],this[_0x1fd374(0xa4)]),_0x1b128e['registerCallbackWithEvent'](_0x2de36e['onQueryEnd'],this[_0x1fd374(0x152)]);}['_initPivotDataGetListener'](){const _0x3764a1=_0x3015f1;this[_0x3764a1(0x180)](this[_0x3764a1(0x27d)][_0x3764a1(0x1a9)](_0x575f24=>{const _0x454f59=_0x3764a1;_0x575f24['id']===_0x245038['id']&&this[_0x454f59(0x266)][_0x454f59(0x1a7)](_0x575f24['params']);})),this[_0x3764a1(0x180)](this[_0x3764a1(0x27d)]['onCommandExecuted'](_0x447204=>{const _0xcb541d=_0x3764a1;if(_0x447204['id']!==ro['id'])return;const _0x340a74=_0x447204[_0xcb541d(0x87)],{unitId:_0x45c691,subUnitId:_0x190ebf,pivotTableId:_0x396135}=_0x340a74,_0x270bf7=_0x340a74['params'][_0xcb541d(0x19d)],_0x40d2e9={};switch(_0x270bf7){case k[_0xcb541d(0x7a)]:{const _0x16c9b3=_0x340a74[_0xcb541d(0x87)][_0xcb541d(0x27e)];if(!_0x16c9b3)return;const {row:_0x12dc69,col:_0xd473d3,cellData:_0x341ba7,pivotItemRenderInfoCache:_0x3c07c9,tableFieldId:_0x1abc5f}=_0x16c9b3,_0x18acc7=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x340a74[_0xcb541d(0x127)]);if(!_0x18acc7||!_0x3c07c9)return;if(_0x1abc5f){const _0x512ad8=_0x18acc7[_0xcb541d(0x253)](_0x1abc5f);if(!_0x512ad8)return;_0x40d2e9['filter']={..._0x18acc7[_0xcb541d(0x2c8)](_0x512ad8),'tableFieldId':_0x1abc5f,'pivotTableId':_0x340a74[_0xcb541d(0x127)],'filterInfo':_0x18acc7[_0xcb541d(0x1d9)](_0x1abc5f),'sortInfo':_0x18acc7[_0xcb541d(0x219)](_0x1abc5f),'format':_0x18acc7['getFieldFormat'](_0x1abc5f)};}else{const _0x3d25f7=Vi(_0x12dc69,_0xd473d3,_0x341ba7,_0x18acc7,_0x3c07c9),_0x3f43f9=_0x3d25f7==null?void 0x0:_0x3d25f7['filterId'];if(!_0x3f43f9)return;const _0x360f86=_0x18acc7['getDataFieldByTableId'](_0x3f43f9);if(!_0x360f86)return;_0x40d2e9[_0xcb541d(0x27e)]={..._0x18acc7[_0xcb541d(0x2c8)](_0x360f86),'tableFieldId':_0x3f43f9,'pivotTableId':_0x340a74[_0xcb541d(0x127)],'filterInfo':_0x18acc7[_0xcb541d(0x1d9)](_0x3f43f9),'sortInfo':_0x18acc7[_0xcb541d(0x219)](_0x3f43f9),'format':_0x18acc7[_0xcb541d(0x65)](_0x3f43f9)};}}break;case k['Panel']:{const _0x2d1b08=_0x340a74[_0xcb541d(0x87)]['panel'];if(!_0x2d1b08)return;const {pivotTableId:_0x414889}=_0x2d1b08,_0x385139=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x414889);if(!_0x385139)return;const _0x4dc678=this[_0xcb541d(0x266)][_0xcb541d(0x298)](_0x45c691,_0x190ebf,_0x414889),_0x307bd1=xi(_0x385139,_0x414889,_0x4dc678);_0x40d2e9['panel']=_0x307bd1;}break;case k['AddPivotField']:{const _0x48c68c=this[_0xcb541d(0x266)][_0xcb541d(0x119)](_0x396135),_0x86537=this['_sheetsPivotDataSourceModel'][_0xcb541d(0x29b)](_0x45c691),_0x3559ea=_0x86537['getCollection'](_0x396135);let _0x139e36=null;const _0x150c2a=this['_sheetsPivotDataSourceModel'][_0xcb541d(0x298)](_0x45c691,_0x190ebf,_0x396135),_0x258e57=_0x340a74[_0xcb541d(0x87)]['addPivotField'];if(!_0x48c68c||!_0x150c2a||!_0x258e57)return!0x1;const {dataFieldId:_0x4a7b30,fieldArea:_0xfcd453,index:_0x1420e8}=_0x258e57;_0x48c68c[_0xcb541d(0x1de)]();const _0x2c50e6=_0x48c68c[_0xcb541d(0x6e)](_0x4a7b30,_0xfcd453,_0x1420e8);if(_0x2c50e6&&_0xfcd453===_0x2944fe[_0xcb541d(0x22a)]){const _0x4661dd=_0x2c50e6['getId'](),_0x2da2e7=_0x48c68c['getDataFieldByTableId'](_0x4661dd);if(_0x2da2e7){const _0x588f21=_0x2da2e7==null?void 0x0:_0x2da2e7['getFieldDataType']();_0x48c68c[_0xcb541d(0x14f)](_0x2c50e6[_0xcb541d(0x208)](),_0x588f21===_0x4d7597[_0xcb541d(0x206)]?_0x5e772e[_0xcb541d(0x17b)]:_0x5e772e[_0xcb541d(0x8c)]);}const _0x495387=_0x48c68c[_0xcb541d(0x29e)](),_0x15ae6c=_0x48c68c[_0xcb541d(0xaa)](),_0x589265=_0x48c68c[_0xcb541d(0x224)](_0x2944fe[_0xcb541d(0x22a)]);if(_0x495387===-0x1&&_0x589265>0x1){const _0x3a0030=_0x15ae6c===_0x3a6fe2[_0xcb541d(0x2e4)]?_0x3a6fe2['Column']:_0x15ae6c,_0x1668d7=_0x3a0030===_0x3a6fe2[_0xcb541d(0x17a)]?_0x2944fe[_0xcb541d(0x17a)]:_0x2944fe['Column'];_0x48c68c[_0xcb541d(0x82)](_0x3a0030,_0x48c68c[_0xcb541d(0x224)](_0x1668d7));}}else{if(_0x2c50e6&&(_0xfcd453===_0x2944fe[_0xcb541d(0x17a)]||_0xfcd453===_0x2944fe[_0xcb541d(0x234)])){const _0x5df82f=_0x2c50e6[_0xcb541d(0x208)](),_0x582ebc=_0x48c68c[_0xcb541d(0x253)](_0x5df82f);if(_0x582ebc&&(_0x582ebc==null?void 0x0:_0x582ebc[_0xcb541d(0x191)]())===_0x4d7597[_0xcb541d(0x261)]){const _0x56cfe1=_0x582ebc[_0xcb541d(0x13d)]();if(_0x56cfe1&&_0x48c68c[_0xcb541d(0x131)](_0x2c50e6['getId'](),_0x56cfe1),!_0x3559ea['getFieldIds']()[_0xcb541d(0x19f)](_0x34923d=>{const _0x1607e9=_0xcb541d,_0x1b71c4=_0x3559ea[_0x1607e9(0x2a8)](_0x34923d);return _0x3fdd12(_0x1b71c4)?_0x1b71c4[_0x1607e9(0xa5)]()[_0x1607e9(0xce)]===_0x4a7b30:!0x1;})){const _0x29bf87=_0x86537['createDataFieldId'](),_0x59fee5=Ji(_0x582ebc[_0xcb541d(0x158)],_0x582ebc[_0xcb541d(0x26f)]),_0x59ed9f=_0x582ebc[_0xcb541d(0x256)]()+_0xcb541d(0x166)+Ho(this[_0xcb541d(0x198)],_0x59fee5),_0x50c1b6=new _0x5a8d70(_0x29bf87,_0x59ed9f,_0x3d2358(0x3),_0x582ebc[_0xcb541d(0x208)](),_0x59fee5);_0x86537[_0xcb541d(0x15a)](_0x50c1b6),_0x3559ea[_0xcb541d(0x2ee)](_0x29bf87,_0x59ed9f),_0x48c68c[_0xcb541d(0x6e)](_0x29bf87,_0xfcd453,(_0x1420e8!=null?_0x1420e8:0x0)+0x1),_0x139e36=_0x50c1b6;}}}}const _0x91f4b0=_0x48c68c['isEmpty'](),_0x4a2b65=_0x48c68c['query']()['toJSON']();let _0x136c21;if(_0x139e36){_0x136c21=_0x139e36['toJSON']();const _0x14271a=_0x139e36[_0xcb541d(0x208)]();_0x3559ea[_0xcb541d(0x6b)](_0x14271a);let _0x2dde66=!0x0;for(const _0x28f6d2 in _0x86537[_0xcb541d(0x13e)])if(_0x86537[_0xcb541d(0x13e)][_0x28f6d2][_0xcb541d(0x240)]()[_0xcb541d(0x22e)](_0x14271a)){_0x2dde66=!0x1;break;}_0x2dde66&&_0x86537['deleteDataField'](_0x14271a);}const _0x410274=_0x48c68c[_0xcb541d(0x2e6)]();_0x40d2e9[_0xcb541d(0x23a)]={'view':_0x4a2b65,'changesets':_0x410274,'isEmpty':_0x91f4b0,'pivotTableConfig':_0x150c2a,'shouldBeAddedGroupJSON':_0x136c21};}break;case k[_0xcb541d(0x25b)]:{const _0x2910bf=_0x340a74['params'][_0xcb541d(0x1ea)];if(!_0x2910bf)return;const _0x358dd5=_0x2910bf[_0xcb541d(0x2eb)],_0x16dbbd=_0x2910bf[_0xcb541d(0x127)],{collection:_0x3dfec8}=this[_0xcb541d(0x266)]['createCollectionWithDataRange']({'unitId':_0x358dd5[_0xcb541d(0x183)],'sheetName':_0x358dd5[_0xcb541d(0x2a7)],'subUnitId':_0x358dd5['subUnitId'],'range':_0x358dd5['range']}),_0x1a049d=new _0x1b128e(_0x3dfec8,void 0x0,_0x16dbbd),_0x216291=_0x1a049d[_0xcb541d(0x1dd)](),_0x155fd3=_0x1a049d[_0xcb541d(0x202)](),_0x37a06c=_0x3dfec8[_0xcb541d(0x202)]();_0x40d2e9[_0xcb541d(0x1ea)]={'view':_0x216291,'fieldsConfig':_0x155fd3,'collectionConfig':_0x37a06c,'isEmpty':_0x1a049d[_0xcb541d(0x201)]()};}break;case k[_0xcb541d(0x190)]:{const _0x4d18df=_0x340a74['params'][_0xcb541d(0x1e1)];if(!_0x4d18df)return;const {fieldId:_0x288c70,area:_0x282473,index:_0x2643d8}=_0x4d18df,_0x511241=this[_0xcb541d(0x266)][_0xcb541d(0x298)](_0x45c691,_0x190ebf,_0x396135);if(!_0x511241)return;const _0x4a8f46=this[_0xcb541d(0x266)][_0xcb541d(0x119)](_0x396135);if(!_0x4a8f46)return;_0x4a8f46[_0xcb541d(0x1de)]();const {area:_0x1584d1,index:_0x4bd119}=_0x4a8f46['getFieldPositionInfoById'](_0x288c70);if(_0x4a8f46[_0xcb541d(0x2ea)](_0x288c70,_0x282473,_0x2643d8),_0x282473===_0x2944fe[_0xcb541d(0x22a)]&&_0x4a8f46[_0xcb541d(0x2cf)](_0x288c70)[_0xcb541d(0x1f2)]()===void 0x0){const _0x58a956=_0x4a8f46['getTableFieldById'](_0x288c70);if(_0x58a956&&_0x58a956['getSubtotal']()===void 0x0){const _0x49aeb5=_0x4a8f46[_0xcb541d(0x253)](_0x288c70);if(_0x49aeb5){const _0x2636cf=_0x49aeb5==null?void 0x0:_0x49aeb5[_0xcb541d(0x191)]();_0x4a8f46[_0xcb541d(0x14f)](_0x288c70,_0x2636cf===_0x4d7597[_0xcb541d(0x206)]?_0x5e772e[_0xcb541d(0x17b)]:_0x5e772e[_0xcb541d(0x8c)]);}}}const _0x46de55=_0x4a8f46['getValuePosition'](),_0x42b37b=_0x4a8f46['getValueIndex'](),_0x33dc0b=_0x4a8f46[_0xcb541d(0x224)](_0x2944fe['Value'])>0x1;if(_0x33dc0b&&_0x1584d1===_0x282473&&(_0x282473===_0x2944fe[_0xcb541d(0x17a)]&&_0x46de55===_0x3a6fe2[_0xcb541d(0x17a)]||_0x282473===_0x2944fe[_0xcb541d(0x234)]&&_0x46de55===_0x3a6fe2[_0xcb541d(0x234)])){let _0x1ab678=_0x42b37b;_0x4bd119<=_0x42b37b&&_0x1ab678--,_0x2643d8<=_0x42b37b&&_0x1ab678++,_0x4a8f46['updateValuePosition'](_0x46de55,_0x1ab678);}else _0x33dc0b&&(_0x1584d1===_0x2944fe[_0xcb541d(0x17a)]&&_0x46de55===_0x3a6fe2['Row']||_0x1584d1===_0x2944fe[_0xcb541d(0x234)]&&_0x46de55===_0x3a6fe2['Column'])&&_0x42b37b>=_0x4bd119&&_0x4a8f46[_0xcb541d(0x82)](_0x46de55,_0x42b37b-0x1),_0x33dc0b&&(_0x282473===_0x2944fe[_0xcb541d(0x17a)]&&_0x46de55===_0x3a6fe2[_0xcb541d(0x17a)]||_0x282473===_0x2944fe[_0xcb541d(0x234)]&&_0x46de55===_0x3a6fe2[_0xcb541d(0x234)])&&_0x42b37b>=_0x2643d8&&_0x4a8f46['updateValuePosition'](_0x46de55,_0x42b37b+0x1);const _0x2c67c0=_0x4a8f46[_0xcb541d(0x1dd)](),_0x20299e=_0x4a8f46[_0xcb541d(0x201)](),_0xd9ebdc=_0x4a8f46[_0xcb541d(0x2e6)]();_0x40d2e9[_0xcb541d(0x1e1)]={'view':_0x2c67c0['toJSON'](),'changesets':_0xd9ebdc,'isEmpty':_0x20299e,'pivotTableConfig':_0x511241};}break;case k[_0xcb541d(0x120)]:{const _0x577673=_0x340a74[_0xcb541d(0x87)]['removePivotField'];if(!_0x577673)return;const _0x47c198=_0x577673[_0xcb541d(0xc5)],_0x1cae20=this[_0xcb541d(0x266)][_0xcb541d(0x298)](_0x45c691,_0x190ebf,_0x396135);if(!_0x1cae20)return!0x1;const _0x42bfc=this[_0xcb541d(0x266)][_0xcb541d(0x119)](_0x396135);if(!_0x42bfc)return!0x1;_0x42bfc['startCollectChangeset']();for(const _0x368098 of _0x47c198){const {area:_0xaedb3}=_0x42bfc['getFieldPositionInfoById'](_0x368098);_0xaedb3===_0x2944fe[_0xcb541d(0x22a)]&&_0x42bfc[_0xcb541d(0x1d5)](_0x368098),(_0xaedb3===_0x2944fe['Row']||_0xaedb3===_0x2944fe[_0xcb541d(0x234)])&&_0x42bfc['removeValueFilterInfo'](_0x368098),_0x42bfc['removeField'](_0x368098);}const _0x481871=_0x42bfc['isEmpty'](),_0x297f82=_0x42bfc[_0xcb541d(0x1dd)]()[_0xcb541d(0x202)](),_0x4dca62=_0x42bfc[_0xcb541d(0x2e6)]();_0x40d2e9['removePivotField']={'changesets':_0x4dca62,'pivotTableConfig':_0x1cae20,'isEmpty':_0x481871,'view':_0x297f82};}break;case k['SetPivotFilter']:{const _0x4a5f6e=_0x340a74['params']['setPivotFilter'];if(!_0x4a5f6e)return;const {tableFieldId:_0x438ac2,items:_0x476d82,isAll:_0x34b32f}=_0x4a5f6e,_0x391919=this[_0xcb541d(0x266)][_0xcb541d(0x119)](_0x396135),_0x3f3d8a=this[_0xcb541d(0x266)][_0xcb541d(0x298)](_0x45c691,_0x190ebf,_0x396135);if(!_0x391919||!_0x3f3d8a)return;_0x391919[_0xcb541d(0x1de)](),_0x391919['setLabelFilterInfo'](_0x438ac2,{'type':_0x216635[_0xcb541d(0x24d)],'list':_0x476d82,'isAll':_0x34b32f});const _0xbf5197=_0x391919[_0xcb541d(0x201)](),_0x189b89=_0x391919['query']()[_0xcb541d(0x202)](),_0x91fc1a=_0x391919[_0xcb541d(0x2e6)]();_0x40d2e9[_0xcb541d(0x9b)]={'view':_0x189b89,'changesets':_0x91fc1a,'isEmpty':_0xbf5197,'pivotTableConfig':_0x3f3d8a};}break;case k[_0xcb541d(0x6d)]:{const _0x26b074=_0x340a74[_0xcb541d(0x87)][_0xcb541d(0x2e8)];if(!_0x26b074)return;const {tableFieldId:_0x2de484,filterInfo:_0x12d84e}=_0x26b074,_0x5a60c2=this[_0xcb541d(0x266)][_0xcb541d(0x119)](_0x396135),_0x521735=this['_sheetsPivotDataSourceModel'][_0xcb541d(0x298)](_0x45c691,_0x190ebf,_0x396135);if(!_0x5a60c2||!_0x521735)return;_0x5a60c2['startCollectChangeset'](),_0x5a60c2[_0xcb541d(0x81)](_0x2de484,_0x12d84e);const _0x2bcc67=_0x5a60c2[_0xcb541d(0x201)](),_0x1f0f64=_0x5a60c2[_0xcb541d(0x1dd)]()[_0xcb541d(0x202)](),_0x428393=_0x5a60c2[_0xcb541d(0x2e6)]();_0x40d2e9[_0xcb541d(0x2e8)]={'view':_0x1f0f64,'changesets':_0x428393,'isEmpty':_0x2bcc67,'pivotTableConfig':_0x521735};}break;case k[_0xcb541d(0xf4)]:{const _0x55eba7=_0x340a74[_0xcb541d(0x87)][_0xcb541d(0x1ff)];if(!_0x55eba7)return;const {tableFieldId:_0x48b108,info:_0x103794}=_0x55eba7,_0x1d0c59=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x396135),_0x4e739d=this[_0xcb541d(0x266)][_0xcb541d(0x298)](_0x45c691,_0x190ebf,_0x396135);if(!_0x1d0c59||!_0x4e739d)return;_0x1d0c59['startCollectChangeset'](),_0x1d0c59[_0xcb541d(0xb2)](_0x48b108,_0x103794);const _0x1bab17=_0x1d0c59['isEmpty'](),_0x4a31cb=_0x1d0c59[_0xcb541d(0x1dd)]()[_0xcb541d(0x202)](),_0x170150=_0x1d0c59['endCollectChangeset']();_0x40d2e9[_0xcb541d(0x1ff)]={'view':_0x4a31cb,'changesets':_0x170150,'isEmpty':_0x1bab17,'pivotTableConfig':_0x4e739d};}break;case k[_0xcb541d(0x260)]:{const _0x7b523b=_0x340a74['params'][_0xcb541d(0x184)];if(!_0x7b523b)return;const {tableFieldId:_0x5ba277,displayName:_0x22a739,subtotalType:_0x2046bd,format:_0x9d1b54}=_0x7b523b,_0x34fe27=this[_0xcb541d(0x266)][_0xcb541d(0x119)](_0x396135),_0x2e4f03=this[_0xcb541d(0x266)][_0xcb541d(0x298)](_0x45c691,_0x190ebf,_0x396135);if(!_0x34fe27||!_0x2e4f03)return;_0x34fe27[_0xcb541d(0x1de)](),_0x22a739!==void 0x0&&_0x34fe27[_0xcb541d(0x175)](_0x5ba277,_0x22a739),_0x2046bd!==void 0x0&&_0x34fe27[_0xcb541d(0x14f)](_0x5ba277,_0x2046bd),_0x9d1b54!==void 0x0&&_0x34fe27['setFieldFormat'](_0x5ba277,_0x9d1b54);const _0x1df227=_0x34fe27[_0xcb541d(0x201)](),_0x215768=_0x34fe27[_0xcb541d(0x1dd)]()[_0xcb541d(0x202)](),_0x5b3c60=_0x34fe27[_0xcb541d(0x2e6)]();_0x40d2e9[_0xcb541d(0x184)]={'changesets':_0x5b3c60,'pivotTableConfig':_0x2e4f03,'isEmpty':_0x1df227,'view':_0x215768};}break;case k[_0xcb541d(0x23f)]:{const _0x242142=_0x340a74[_0xcb541d(0x87)]['updatePivotSource'];if(!_0x242142)return;const {dataRangeInfo:_0x307ec6,unitId:_0xfbfbf4,subUnitId:_0x4283d0}=_0x242142,_0x54a6b0=this[_0xcb541d(0x266)][_0xcb541d(0x298)](_0xfbfbf4,_0x4283d0,_0x396135),_0x4c2974=this[_0xcb541d(0x266)]['getPivotTableInstance'](_0x396135);if(!this['_sheetsPivotDataSourceModel'][_0xcb541d(0x130)](_0xfbfbf4,_0x396135)||!_0x4c2974||!_0x54a6b0)return;const _0x4660a7=this[_0xcb541d(0x266)][_0xcb541d(0x20c)](_0xfbfbf4,_0x396135,_0x307ec6),_0x262fd0=this[_0xcb541d(0x266)][_0xcb541d(0x130)](_0xfbfbf4,_0x396135)[_0xcb541d(0x202)](),{collection:_0x595cfb}=this[_0xcb541d(0x266)]['createCollectionWithDataRange']({'unitId':_0x307ec6['unitId'],'sheetName':_0x307ec6[_0xcb541d(0x2a7)],'subUnitId':_0x307ec6['subUnitId'],'range':_0x307ec6[_0xcb541d(0x10e)]}),_0x1b559b=_0x595cfb[_0xcb541d(0x202)]();_0x4c2974['startCollectChangeset']();const _0x2b72bf=this[_0xcb541d(0x266)][_0xcb541d(0x29b)](_0xfbfbf4)['getAutoDisplayNameFunction']()||_0x109c35;_0x4c2974[_0xcb541d(0x2b3)](_0x2c3188=>{const _0xa1cb12=_0xcb541d,_0x141a30=_0x2c3188[_0xa1cb12(0xec)]();if(!_0x595cfb[_0xa1cb12(0x1ef)](_0x141a30)){const _0xaab037=_0x595cfb[_0xa1cb12(0x25e)](_0x2c3188['getSourceName']());if(_0xaab037){_0x4c2974[_0xa1cb12(0x172)](_0x2c3188['getId'](),_0xaab037[_0xa1cb12(0x256)](),_0xaab037[_0xa1cb12(0x208)]());const {area:_0x1dc951}=_0x4c2974[_0xa1cb12(0x2bc)](_0x2c3188[_0xa1cb12(0x208)]());let _0x41477b=_0x2c3188[_0xa1cb12(0x17c)]();const _0x2632c4=_0x2c3188[_0xa1cb12(0xdf)]();if(_0x1dc951===_0x2944fe[_0xa1cb12(0x22a)]){const _0xfb5902=_0x2c3188[_0xa1cb12(0x1f2)]();_0x41477b=_0x2b72bf(_0xaab037[_0xa1cb12(0x256)](),_0xfb5902);}_0x2632c4!==_0x41477b&&_0x4c2974[_0xa1cb12(0x175)](_0x2c3188[_0xa1cb12(0x208)](),_0x41477b);}else _0x4c2974[_0xa1cb12(0xbb)](_0x2c3188[_0xa1cb12(0x208)]());}});const _0x589a42=_0x4c2974[_0xcb541d(0x201)](),_0x35272d=_0x4c2974[_0xcb541d(0x1dd)]()[_0xcb541d(0x202)](),_0x3cbdea=_0x4c2974[_0xcb541d(0x2e6)]();_0x40d2e9[_0xcb541d(0x255)]={'view':_0x35272d,'changesets':_0x3cbdea,'isEmpty':_0x589a42,'pivotTableConfig':_0x54a6b0,'collectionConfig':_0x1b559b,'oldCollectionConfig':_0x262fd0,'deleteIds':_0x4660a7};}break;case k[_0xcb541d(0x222)]:{const _0x537a57=_0x340a74[_0xcb541d(0x87)][_0xcb541d(0x82)];if(!_0x537a57)return;const {position:_0xe5caf,index:_0x543284}=_0x537a57,_0x479e21=this[_0xcb541d(0x266)][_0xcb541d(0x298)](_0x45c691,_0x190ebf,_0x396135);if(!_0x479e21)return!0x1;const _0x2d0293=this['_sheetsPivotDataSourceModel'][_0xcb541d(0x119)](_0x396135);if(!_0x2d0293)return!0x1;_0x2d0293[_0xcb541d(0x1de)](),_0x2d0293[_0xcb541d(0x82)](_0xe5caf,_0x543284);const _0x342855=_0x2d0293[_0xcb541d(0x201)](),_0xa30e2d=_0x2d0293[_0xcb541d(0x1dd)]()[_0xcb541d(0x202)](),_0x38fd8b=_0x2d0293[_0xcb541d(0x2e6)]();_0x40d2e9['updateValuePosition']={'changesets':_0x38fd8b,'pivotTableConfig':_0x479e21,'isEmpty':_0x342855,'view':_0xa30e2d};}break;case k['SetPivotCollapse']:{const _0x3e4206=_0x340a74[_0xcb541d(0x87)][_0xcb541d(0x16f)];if(!_0x3e4206)return;const {tableFieldId:_0x347bfe,collapse:_0x3032d2,item:_0x211dbf}=_0x3e4206,_0x3c82cd=this[_0xcb541d(0x266)]['getPivotTableInstance'](_0x396135),_0x29fb26=this[_0xcb541d(0x266)][_0xcb541d(0x298)](_0x45c691,_0x190ebf,_0x396135);if(!_0x3c82cd||!_0x29fb26)return;_0x3c82cd[_0xcb541d(0x1de)](),_0x3c82cd[_0xcb541d(0x2aa)](_0x347bfe,_0x3032d2,_0x211dbf);const _0x231457=_0x3c82cd[_0xcb541d(0x201)](),_0x33696b=_0x3c82cd[_0xcb541d(0x1dd)]()[_0xcb541d(0x202)](),_0x2b8a53=_0x3c82cd[_0xcb541d(0x2e6)]();_0x40d2e9[_0xcb541d(0x16f)]={'view':_0x33696b,'isEmpty':_0x231457,'pivotTableConfig':_0x29fb26,'changesets':_0x2b8a53};}break;case k[_0xcb541d(0xf3)]:{const _0x1681de=_0x340a74[_0xcb541d(0x87)][_0xcb541d(0x67)];if(!_0x1681de)return;const {pivotTableConfig:_0x24c89d}=_0x1681de,_0x38e642=this[_0xcb541d(0x266)]['getPivotTableInstance'](_0x396135),_0xd8bf11=this[_0xcb541d(0x266)]['getPivotTableConfig'](_0x45c691,_0x190ebf,_0x396135);if(!_0x38e642||!_0xd8bf11)return;_0x38e642[_0xcb541d(0x1de)](),$i(_0x38e642,_0x24c89d);const _0x3bbeb1=_0x38e642[_0xcb541d(0x201)](),_0x48c8ba=_0x38e642['query']()[_0xcb541d(0x202)](),_0x2a037a=_0x38e642[_0xcb541d(0x2e6)]();_0x40d2e9[_0xcb541d(0x67)]={'view':_0x48c8ba,'isEmpty':_0x3bbeb1,'pivotTableConfig':{..._0xd8bf11,'fieldsConfig':_0x38e642[_0xcb541d(0x202)]()},'changesets':_0x2a037a};}break;case k[_0xcb541d(0xe7)]:{const _0x43db4a=_0x340a74['params'][_0xcb541d(0x10f)];if(!_0x43db4a)return;const _0x2e346a=this[_0xcb541d(0x266)]['getPivotTableInstance'](_0x396135),_0x5f04ca=this[_0xcb541d(0x266)][_0xcb541d(0x298)](_0x45c691,_0x190ebf,_0x396135);if(!_0x2e346a||!_0x5f04ca)return;_0x2e346a['startCollectChangeset'](),Wi(_0x2e346a,_0x43db4a[_0xcb541d(0x23b)]);const _0xef400d=_0x2e346a['query']()['toJSON'](),_0x713426=_0x2e346a['endCollectChangeset']();_0x40d2e9[_0xcb541d(0x10f)]={'view':_0xef400d,'isEmpty':!0x0,'pivotTableConfig':{..._0x5f04ca,'fieldsConfig':_0x2e346a['toJSON']()},'changesets':_0x713426};}break;case k[_0xcb541d(0x174)]:{const _0x4e5942=_0x340a74[_0xcb541d(0x87)][_0xcb541d(0x258)];if(!_0x4e5942)return;const _0x478490=_0x4e5942[_0xcb541d(0x2eb)],_0x43cf94=_0x4e5942['pivotTableId'],{collection:_0x3c4295}=this['_sheetsPivotDataSourceModel'][_0xcb541d(0x1fd)]({'unitId':_0x478490[_0xcb541d(0x183)],'sheetName':_0x478490[_0xcb541d(0x2a7)],'subUnitId':_0x478490[_0xcb541d(0xeb)],'range':_0x478490[_0xcb541d(0x10e)]}),_0x4f31c8=new _0x1b128e(_0x3c4295,void 0x0,_0x43cf94),_0x1e5ae3=_0x3c4295[_0xcb541d(0x240)](),{rows:_0xb944cb,columns:_0x590ab0,filters:_0x409de6,values:_0x5f2762}=_0x4e5942[_0xcb541d(0x1b4)];_0x4f31c8[_0xcb541d(0x1de)]();for(const {field:_0x49a581,selectedItems:_0x3ab549}of _0xb944cb||[]){const _0x19517b=_0x1e5ae3[_0x49a581];if(_0x19517b){const _0x5b6e99=_0x4f31c8[_0xcb541d(0x6e)](_0x19517b,_0x2944fe['Row']);_0x3ab549&&_0x5b6e99&&_0x4f31c8[_0xcb541d(0xc8)](_0x5b6e99['getId'](),{'type':_0x216635['ManualFilter'],'list':_0x3ab549,'isAll':!0x1});}}for(const {field:_0x4ccdf6,selectedItems:_0x22d5a4}of _0x590ab0||[]){const _0x45cb1c=_0x1e5ae3[_0x4ccdf6];if(_0x45cb1c){const _0x40bec5=_0x4f31c8[_0xcb541d(0x6e)](_0x45cb1c,_0x2944fe[_0xcb541d(0x234)]);_0x22d5a4&&_0x40bec5&&_0x4f31c8[_0xcb541d(0xc8)](_0x40bec5[_0xcb541d(0x208)](),{'type':_0x216635[_0xcb541d(0x24d)],'list':_0x22d5a4,'isAll':!0x1});}}for(const {field:_0x1c9ab5,selectedItems:_0x5b7ea2}of _0x409de6||[]){const _0x5ad20e=_0x1e5ae3[_0x1c9ab5];if(_0x5ad20e){const _0x292304=_0x4f31c8[_0xcb541d(0x6e)](_0x5ad20e,_0x2944fe['Filter']);_0x5b7ea2&&_0x292304&&_0x4f31c8[_0xcb541d(0xc8)](_0x292304['getId'](),{'type':_0x216635[_0xcb541d(0x24d)],'list':_0x5b7ea2,'isAll':!0x1});}}for(const {field:_0x3089f8,subTotalType:_0x5711fe,formatString:_0x2258fb}of _0x5f2762||[]){const _0x3ce3b1=_0x3c4295[_0xcb541d(0x2a8)](_0x1e5ae3[_0x3089f8]);if(!_0x3ce3b1)continue;const _0x16877c=_0x1e5ae3[_0x3089f8];if(_0x16877c){const _0x212d7b=_0x4f31c8[_0xcb541d(0x6e)](_0x16877c,_0x2944fe[_0xcb541d(0x22a)]);if(_0x212d7b){if(_0x5711fe!==void 0x0){_0x4f31c8[_0xcb541d(0x14f)](_0x212d7b[_0xcb541d(0x208)](),_0x5711fe);const _0x27b8b7=this[_0xcb541d(0x266)][_0xcb541d(0x29b)](_0x478490[_0xcb541d(0x183)])[_0xcb541d(0x1da)]()||_0x109c35,_0x46ce78=_0x3c4295['getDisplayName'](_0x16877c),_0x4b884e=_0x27b8b7(_0x46ce78,_0x5711fe);_0x4f31c8[_0xcb541d(0x175)](_0x212d7b[_0xcb541d(0x208)](),_0x4b884e);}else{if(_0x3ce3b1){const _0x12baf2=_0x3ce3b1==null?void 0x0:_0x3ce3b1['getFieldDataType']();_0x4f31c8[_0xcb541d(0x14f)](_0x212d7b[_0xcb541d(0x208)](),_0x12baf2===_0x4d7597['number']?_0x5e772e['sum']:_0x5e772e[_0xcb541d(0x8c)]);}}_0x2258fb&&_0x4f31c8[_0xcb541d(0x131)](_0x212d7b[_0xcb541d(0x208)](),_0x2258fb);}}}const _0x2067ae=_0x4f31c8[_0xcb541d(0x1dd)](),_0x1d769d=_0x4f31c8[_0xcb541d(0x202)](),_0xcad647=_0x4f31c8[_0xcb541d(0x201)](),_0x3dafbf=_0x4f31c8[_0xcb541d(0x2e6)](),_0x3dd485=_0x3c4295['toJSON']();_0x40d2e9[_0xcb541d(0x258)]={'view':_0x2067ae,'fieldsConfig':_0x1d769d,'collectionConfig':_0x3dd485,'isEmpty':_0xcad647,'changesets':_0x3dafbf};}break;case k[_0xcb541d(0x24e)]:{const _0x3e9e10=Oi(this[_0xcb541d(0x198)],_0x340a74);if(!_0x3e9e10)return;const {range:_0x873bc,sourceSubUnitId:_0x3a962b,sourceUnitId:_0x834a52,formatMap:_0x23473a,indexes:_0x23866f}=_0x3e9e10;_0x40d2e9['drillDown']={'range':_0x873bc,'sourceSubUnitId':_0x3a962b,'sourceUnitId':_0x834a52,'formatMap':_0x23473a,'indexes':_0x23866f};}break;}this[_0xcb541d(0x27d)]['executeCommand'](lo['id'],{'version':_0x340a74['version'],'result':_0x40d2e9},{'onlyLocal':!0x0});}));}[_0x3015f1(0x2cc)](){const _0x319dd8=_0x3015f1;this['disposeWithMe'](this[_0x319dd8(0x27d)][_0x319dd8(0x1a9)](_0xad8e19=>{const _0x9eb066=_0x319dd8;if(_0xad8e19['id']!==uo['id'])return;const _0x2c8fe1=_0xad8e19[_0x9eb066(0x87)];return this['_sheetsPivotDataSourceModel'][_0x9eb066(0x1fc)](_0x2c8fe1[_0x9eb066(0x107)]),!0x0;}));}[_0x3015f1(0x278)](){const _0x1e8b75=_0x3015f1;this['_sheetsPivotDataSourceModel'][_0x1e8b75(0xfc)][_0x1e8b75(0xc2)](_0x8db868=>{const _0x1962fa=_0x1e8b75;switch(_0x8db868[_0x1962fa(0x19d)]){case Le[_0x1962fa(0x1e7)]:_0x8db868['dataRangeInfo']&&_0x8db868[_0x1962fa(0xa7)]&&this[_0x1962fa(0x193)](_0x8db868[_0x1962fa(0x9c)],_0x8db868['dataRangeInfo'],_0x8db868[_0x1962fa(0xa7)]);break;case Le['delete']:{const {unitId:_0x47d9aa,subUnitId:_0x3da7d4,token:_0x5c21d7}=_0x8db868;_0x47d9aa&&_0x3da7d4&&_0x5c21d7&&this[_0x1962fa(0x223)](_0x47d9aa,_0x3da7d4,_0x5c21d7);}break;case Le[_0x1962fa(0xd2)]:{const {token:_0x46f30d,oldSourceRangeInfo:_0x2e2b1b,dataRangeInfo:_0x48ba81,targetCellInfo:_0x52797d}=_0x8db868,{unitId:_0x1b905a,subUnitId:_0x2a350b}=_0x2e2b1b||{};_0x1b905a&&_0x2a350b&&_0x46f30d&&this[_0x1962fa(0x223)](_0x1b905a,_0x2a350b,_0x46f30d),_0x48ba81&&_0x52797d&&this[_0x1962fa(0x193)](_0x46f30d,_0x48ba81,_0x52797d);}break;}});}[_0x3015f1(0x186)](){const _0x5e48db=_0x3015f1;this[_0x5e48db(0x266)][_0x5e48db(0x79)]['subscribe'](_0x29ce08=>{const _0x224e0d=_0x5e48db;Object[_0x224e0d(0x1bc)](_0x29ce08)['forEach'](_0x5bfd03=>{const _0x397693=_0x224e0d,_0x427c2a=this[_0x397693(0x266)]['getTargetByPivotId'](_0x5bfd03);if(_0x427c2a){const _0x3ac707=this[_0x397693(0x266)][_0x397693(0x298)](_0x427c2a==null?void 0x0:_0x427c2a[_0x397693(0x183)],_0x427c2a==null?void 0x0:_0x427c2a[_0x397693(0xeb)],_0x5bfd03);_0x3ac707&&(this[_0x397693(0x193)](_0x5bfd03,_0x3ac707[_0x397693(0x2eb)],_0x3ac707[_0x397693(0xa7)]),this['triggerDirtyFeature']([{'unitId':_0x427c2a[_0x397693(0x183)],'subUnitId':_0x427c2a[_0x397693(0xeb)],'token':_0x5bfd03}]));}});});}[_0x3015f1(0x25c)](){const _0x4099c2=_0x3015f1;this[_0x4099c2(0x266)][_0x4099c2(0x1a1)][_0x4099c2(0xc2)](_0x2787f0=>{const _0x4cd006=_0x4099c2,{unitId:_0x3f362f,subUnitId:_0x4fa793,pivotTableId:_0x1d2b0b}=_0x2787f0;_0x3f362f&&_0x4fa793&&_0x1d2b0b&&this[_0x4cd006(0x1e2)]([{'unitId':_0x3f362f,'subUnitId':_0x4fa793,'token':_0x1d2b0b}]);});}[_0x3015f1(0x1e2)](_0x2d6cb9){const _0x1298cc=_0x3015f1,_0x3839d9={};_0x2d6cb9[_0x1298cc(0x14e)](_0x1de71c=>{var _0x44b840,_0x5035b8;const {unitId:_0x14faaf,subUnitId:_0x32dc74,token:_0x114971}=_0x1de71c;_0x3839d9[_0x14faaf]=(_0x44b840=_0x3839d9[_0x14faaf])!=null?_0x44b840:{},_0x3839d9[_0x14faaf][_0x32dc74]=(_0x5035b8=_0x3839d9[_0x14faaf][_0x32dc74])!=null?_0x5035b8:{},_0x3839d9[_0x14faaf][_0x32dc74][_0x114971]=!0x0;}),this[_0x1298cc(0x27d)][_0x1298cc(0x102)](Et['id'],_0x3839d9);}[_0x3015f1(0x223)](_0x32e123,_0x50f3e1,_0x2d8c65){const _0x1fda80=_0x3015f1;this['_featureCalculationManagerService'][_0x1fda80(0xcb)](_0x32e123,_0x50f3e1,[_0x2d8c65]);}[_0x3015f1(0x193)](_0x28e521,_0x17b6e2,_0x270f36){const _0x3bdb88=_0x3015f1,{unitId:_0x1d2347,subUnitId:_0x5d8a36}=_0x17b6e2;this[_0x3bdb88(0x1fb)][_0x3bdb88(0x9f)](_0x270f36[_0x3bdb88(0x183)],_0x270f36[_0x3bdb88(0xeb)],_0x28e521)&&this[_0x3bdb88(0x223)](_0x1d2347,_0x5d8a36,_0x28e521);const _0x37e165={'sheetId':_0x5d8a36,..._0x17b6e2};this[_0x3bdb88(0x1fb)][_0x3bdb88(0x18e)](_0x270f36[_0x3bdb88(0x183)],_0x270f36[_0x3bdb88(0xeb)],_0x28e521,{'unitId':_0x270f36[_0x3bdb88(0x183)],'subUnitId':_0x270f36[_0x3bdb88(0xeb)],'dependencyRanges':[_0x37e165],'getDirtyData':(_0x3d5cec,_0x238799)=>{const _0xa7cc81=_0x3bdb88,_0x58d38b=this[_0xa7cc81(0x266)],_0x4fcdd5=_0x58d38b[_0xa7cc81(0x122)](_0x28e521);if(!_0x4fcdd5)return As();const {unitId:_0x1c2c2e,subUnitId:_0x5a879a}=_0x4fcdd5,_0x3f9c98=Vs(_0x3d5cec,_0x238799,_0x17b6e2);if(_0x3f9c98[_0xa7cc81(0x290)]>0x0){const _0x1bee8f=_0x58d38b[_0xa7cc81(0x130)](_0x1d2347,_0x28e521),_0x20b324=_0x1bee8f[_0xa7cc81(0x240)](),_0x17cf5e=this['getMatrixFromRunTimeData'](_0x17b6e2['unitId'],_0x17b6e2[_0xa7cc81(0xeb)],_0x238799),_0x443394={},_0x4426fc=this[_0xa7cc81(0x266)][_0xa7cc81(0x29b)](_0x1c2c2e)[_0xa7cc81(0x1da)]()||_0x109c35,_0x334b00=[];for(const _0x438c1f of _0x3f9c98){const _0x14c4ca=_0x438c1f-(_0x17b6e2['range'][_0xa7cc81(0x28c)]||0x0),_0x208f4c=_0x20b324[_0x14c4ca];_0x334b00[_0xa7cc81(0x23e)](_0x208f4c),_0x443394[_0x208f4c]=_0x1bee8f['getFieldById'](_0x208f4c)['getName'](),_0x58d38b['getDataFieldManager'](_0x1d2347)[_0xa7cc81(0x282)](_0x208f4c,_0x17b6e2,_0x14c4ca,_0x17cf5e);}_0x1bee8f['getGroupFieldsInfoByIds'](_0x334b00)[_0xa7cc81(0x14e)](_0x5e8144=>{const _0x4bc4f=_0xa7cc81,[_0x1c7298,_0x44aa21]=_0x5e8144,_0x5b4fe3=_0x1bee8f[_0x4bc4f(0x2a8)](_0x1c7298),_0x3ebf8d=_0x1bee8f[_0x4bc4f(0x2a8)](_0x44aa21);_0x5b4fe3&&_0x3ebf8d&&_0x5b4fe3[_0x4bc4f(0x121)](_0x3ebf8d);}),_0x1bee8f[_0xa7cc81(0x1ca)]();const _0xabdab3=_0x58d38b[_0xa7cc81(0x119)](_0x28e521);if(_0xabdab3){Us(_0xabdab3,_0x443394,_0x4426fc),_0xabdab3['setDirty'](!0x0);const _0x6f3fde=_0xabdab3[_0xa7cc81(0x1dd)](),_0x30a870=_0x58d38b[_0xa7cc81(0x298)](_0x1c2c2e,_0x5a879a,_0x28e521),_0x10c55f=_0x58d38b[_0xa7cc81(0x29b)](_0x1d2347)[_0xa7cc81(0x202)]();_0x58d38b[_0xa7cc81(0x7b)](_0x1c2c2e,_0x5a879a,j[_0xa7cc81(0x140)],_0x28e521,_0x6f3fde,_0x30a870,_0x10c55f,!0x0);}}return this[_0xa7cc81(0x13c)](_0x1c2c2e,_0x5a879a,_0x28e521);}});}[_0x3015f1(0x147)](_0x3b8ddf,_0xa8f694,_0x318178){var _0xef8e46,_0x2d35d0;const {arrayFormulaCellData:_0x1be9d8,unitData:_0x1180d8}=_0x318178,_0xbf0717=(_0xef8e46=_0x1be9d8==null?void 0x0:_0x1be9d8[_0x3b8ddf])==null?void 0x0:_0xef8e46[_0xa8f694],_0x2657ac=(_0x2d35d0=_0x1180d8==null?void 0x0:_0x1180d8[_0x3b8ddf])==null?void 0x0:_0x2d35d0[_0xa8f694];return{'arrayFormulaCellDataMatrix':_0xbf0717,'unitDataMatrix':_0x2657ac};}['getDirtyInfo'](_0x3c19a8,_0x5eab3d,_0x3f67d2){const _0x35fe6c=_0x3015f1,_0x5505ca=this[_0x35fe6c(0x266)][_0x35fe6c(0xad)](_0x3c19a8,_0x5eab3d,_0x3f67d2),_0x234b8d=[],_0x522e6d=new _0x5718da();if(_0x5505ca){const {rangeCache:_0x374b29,matrix:_0x51511a,oldRangeCache:_0x2d9fa6,oldMatrix:_0x38b33e}=_0x5505ca,_0x401410=jt(_0x2d9fa6),_0xc16c3a=jt(_0x374b29);_0x234b8d[_0x35fe6c(0x23e)](..._0xc16c3a,..._0x401410),_0x38b33e&&_0x2d9fa6&&_0x401410['forEach'](_0x4703e1=>{const _0x1f164b=_0x35fe6c;for(let _0x578db1=_0x4703e1[_0x1f164b(0x2a3)];_0x578db1<=_0x4703e1[_0x1f164b(0x1dc)];_0x578db1++)for(let _0x4552b0=_0x4703e1[_0x1f164b(0x28c)];_0x4552b0<=_0x4703e1[_0x1f164b(0x9a)];_0x4552b0++)_0x522e6d[_0x1f164b(0x1f0)](_0x578db1,_0x4552b0);}),_0x51511a&&_0xc16c3a&&_0xc16c3a[_0x35fe6c(0x14e)](_0x2aa559=>{const _0x2b2e66=_0x35fe6c;for(let _0x38171f=_0x2aa559[_0x2b2e66(0x2a3)];_0x38171f<=_0x2aa559[_0x2b2e66(0x1dc)];_0x38171f++)for(let _0x481d47=_0x2aa559[_0x2b2e66(0x28c)];_0x481d47<=_0x2aa559[_0x2b2e66(0x9a)];_0x481d47++)_0x522e6d['setValue'](_0x38171f,_0x481d47,_0x51511a[_0x2b2e66(0x1f3)](_0x38171f,_0x481d47));});}const _0x6c9771={};return _0x6c9771[_0x3c19a8]={[_0x5eab3d]:xs(_0x234b8d)},{'runtimeCellData':{[_0x3c19a8]:{[_0x5eab3d]:_0x522e6d}},'dirtyRanges':_0x6c9771};}[_0x3015f1(0x2ca)](){}};ct=Es([Ke(0x0,_0x416b2a(Y)),Ke(0x1,_0x43238f),Ke(0x2,_0x416b2a(_0x30c050)),Ke(0x3,_0x416b2a(_0x3ec272)),Ke(0x4,_0x416b2a(_0x37f637)),Ke(0x5,_0x416b2a(_0x447c52))],ct);var Os=Object[_0x3015f1(0x1a8)],ks=(_0x2bf2c9,_0x13a3a7,_0x326ce3,_0x80bcdd)=>{const _0x563f8c=_0x3015f1;for(var _0x53e65f=_0x80bcdd>0x1?void 0x0:_0x80bcdd?Os(_0x13a3a7,_0x326ce3):_0x13a3a7,_0x5e60fe=_0x2bf2c9[_0x563f8c(0x290)]-0x1,_0xd1ff8e;_0x5e60fe>=0x0;_0x5e60fe--)(_0xd1ff8e=_0x2bf2c9[_0x5e60fe])&&(_0x53e65f=_0xd1ff8e(_0x53e65f)||_0x53e65f);return _0x53e65f;},_t=(_0x569c21,_0x963328)=>(_0x5de53c,_0x2ce4e5)=>_0x963328(_0x5de53c,_0x2ce4e5,_0x569c21);let dt=class extends _0x434a0e{constructor(_0x20b877,_0x5ee4ff,_0x4ac012,_0x430b87){const _0x7f7474=_0x3015f1;super(),A(this,'disposableCollection',new _0x49d8f1()),(this[_0x7f7474(0x1d1)]=_0x20b877,this['_sheetInterceptorService']=_0x5ee4ff,this[_0x7f7474(0x273)]=_0x4ac012,this[_0x7f7474(0x181)]=_0x430b87,this['_initClearSelectionCommandInterceptor']());}[_0x3015f1(0x2de)](){const _0x109f4b=_0x3015f1;this[_0x109f4b(0x180)](this[_0x109f4b(0x1f5)][_0x109f4b(0x28b)]({'getMutations':_0x4067b0=>{const _0x1ed3b1=_0x109f4b;if(_0x4067b0['id']===_0xa650f0['id']||_0x4067b0['id']===_0x43a935['id']){const _0x4436a9=[],_0xe0d3f6=[],_0x4eb610=this[_0x1ed3b1(0x273)][_0x1ed3b1(0x12b)]()[_0x1ed3b1(0x1df)](_0x2a630e=>_0x2a630e[_0x1ed3b1(0x10e)]),_0x5e1984=_0xea3a43(this[_0x1ed3b1(0x1d1)]);if(!_0x5e1984)return{'redos':[],'undos':[]};const {unitId:_0x3b4c3e,subUnitId:_0x3bb84c}=_0x5e1984,_0x27aeed={},_0x33e433=this[_0x1ed3b1(0x181)][_0x1ed3b1(0x27b)](_0x3b4c3e,_0x3bb84c);if(_0x33e433!=null&&_0x33e433[_0x1ed3b1(0x285)])for(const [_0x131c9a,_0x324707]of _0x33e433){const {unitId:_0x1387d3,subUnitId:_0x43af98,row:_0x3dff8,col:_0x2f63e2}=_0x324707['targetCellInfo'];_0x1387d3===_0x5e1984[_0x1ed3b1(0x183)]&&_0x43af98===_0x5e1984['subUnitId']&&(_0x27aeed[_0x3dff8+'-'+_0x2f63e2]=_0x131c9a);}return _0x4eb610&&_0x5e1984&&_0x4eb610[_0x1ed3b1(0x14e)](_0x3c86f5=>{const _0x353070=_0x1ed3b1;_0x182ee0[_0x353070(0x84)](_0x3c86f5,(_0x51677e,_0x16d61b)=>{const _0x5e78e7=_0x353070,_0x1c35e9=_0x51677e+'-'+_0x16d61b;if(_0x27aeed[_0x1c35e9]){const _0x420b5f=_0x27aeed[_0x1c35e9];_0x4436a9[_0x5e78e7(0x23e)]({'id':Vt['id'],'params':{'unitId':_0x3b4c3e,'subUnitId':_0x3bb84c,'pivotTableId':_0x420b5f}});const _0x5a225a=this[_0x5e78e7(0x181)]['getCollection'](_0x3b4c3e,_0x420b5f),_0xe02263=this['_sheetsPivotTableConfigModel'][_0x5e78e7(0x298)](_0x3b4c3e,_0x3bb84c,_0x420b5f);_0xe0d3f6['push']({'id':It['id'],'params':{'unitId':_0x3b4c3e,'subUnitId':_0x3bb84c,'pivotTableId':_0x420b5f,'pivotTableConfig':_0xe02263,'collectionConfig':_0x5a225a}});}});}),{'redos':_0x4436a9,'undos':_0xe0d3f6};}return{'redos':[],'undos':[]};}}));}};dt=ks([_t(0x0,_0x58e9a8),_t(0x1,_0x416b2a(_0x46d6f1)),_t(0x2,_0x416b2a(_0x2d3174)),_t(0x3,_0x416b2a(he))],dt);var Bs=Object[_0x3015f1(0x1a8)],Ls=(_0x23bf7b,_0x3d4c72,_0x1e9339,_0x57366c)=>{const _0x51dfa6=_0x3015f1;for(var _0x1f4ceb=_0x57366c>0x1?void 0x0:_0x57366c?Bs(_0x3d4c72,_0x1e9339):_0x3d4c72,_0x30881a=_0x23bf7b[_0x51dfa6(0x290)]-0x1,_0xa863cf;_0x30881a>=0x0;_0x30881a--)(_0xa863cf=_0x23bf7b[_0x30881a])&&(_0x1f4ceb=_0xa863cf(_0x1f4ceb)||_0x1f4ceb);return _0x1f4ceb;},He=(_0xccd757,_0x4c78aa)=>(_0x2c7696,_0x73ba95)=>_0x4c78aa(_0x2c7696,_0x73ba95,_0xccd757);let ut=class extends _0x434a0e{constructor(_0x56d1c0,_0x3b8e2a,_0x34e147,_0x496263,_0x4f5407,_0x2ce7d2){const _0x196301=_0x3015f1;super(),this[_0x196301(0x2a9)]=_0x56d1c0,this[_0x196301(0x1f5)]=_0x3b8e2a,this[_0x196301(0x198)]=_0x34e147,this[_0x196301(0x1d1)]=_0x496263,this[_0x196301(0x181)]=_0x4f5407,this['_sheetsPivotTableService']=_0x2ce7d2,this[_0x196301(0x28d)]();}['_getPivotAppliedRanges'](_0x19bd0e,_0x2f3f24,_0x5985a4){const _0x522213=_0x3015f1,{pageView:_0x1a802a,cornerView:_0x1c204e,rowView:_0x1049c5,colView:_0x5c7b98,dataView:_0x1cc2aa}=_0x2f3f24,_0x28e90a=_0x19bd0e;let _0x33fe7c;if(_0x5985a4)_0x33fe7c=[...ki(_0x28e90a)];else{const _0x442419=ge(_0x28e90a,_0x1a802a,!0x0),_0x39d2ea=_0x1a802a[_0x522213(0x12e)]>=0x0?_0x1a802a[_0x522213(0x12e)]+0x1:0x0,_0x59e285=_0x1c204e[_0x522213(0x244)],_0x578e00=_0x1c204e['colCount'],_0x59dba4=_0x442419['length']>0x0?mt:0x0,_0x5f1eb3=ge({'row':_0x28e90a[_0x522213(0x291)]+_0x39d2ea+_0x59dba4,'col':_0x28e90a['col']},_0x1c204e,!0x1,!0x1),_0x4f6f1b=ge({'row':_0x28e90a[_0x522213(0x291)]+_0x39d2ea+_0x59dba4+_0x59e285,'col':_0x28e90a['col']},_0x1049c5,!0x1,!0x0),_0x1729e6=ge({'row':_0x28e90a[_0x522213(0x291)]+_0x39d2ea+_0x59dba4,'col':_0x28e90a[_0x522213(0x23d)]+_0x578e00},_0x5c7b98,!0x1,!0x0),_0x395c98=ge({'row':_0x28e90a['row']+_0x39d2ea+_0x59dba4+_0x59e285,'col':_0x28e90a[_0x522213(0x23d)]+_0x578e00},_0x1cc2aa,!0x1,!0x0);_0x33fe7c=[..._0x442419,..._0x5f1eb3,..._0x4f6f1b,..._0x1729e6,..._0x395c98];}return _0x33fe7c;}[_0x3015f1(0x28d)](){const _0xad6433=_0x3015f1;this['disposeWithMe'](this['_sheetsPivotTableService'][_0xad6433(0xc7)][_0xad6433(0x13f)](this[_0xad6433(0x137)][_0xad6433(0xc7)]['getInterceptPoints']()[_0xad6433(0x1c1)],{'handler':(_0x2183d8,_0x1fa525)=>{const _0x56d750=_0xad6433,{cellInfo:_0x597f2f,view:_0x367b59,isEmpty:_0x3873c2}=_0x1fa525,_0x38f73f=_0x597f2f,{unitId:_0x1976a9,subUnitId:_0x2ac7ce}=_0x38f73f,_0x5c4f70=this['_getPivotAppliedRanges'](_0x597f2f,_0x367b59,_0x3873c2),_0x239520=this[_0x56d750(0x1f5)][_0x56d750(0x1cc)]({'unitId':_0x1976a9,'subUnitId':_0x2ac7ce,'ranges':_0x5c4f70}),_0x4bc0f2=Ko(this[_0x56d750(0x198)],_0x1976a9,_0x2ac7ce,_0x5c4f70);_0x4bc0f2[_0x56d750(0x280)]&&(_0x239520[_0x56d750(0x19b)][_0x56d750(0x23e)](_0x4bc0f2[_0x56d750(0x128)]),_0x239520[_0x56d750(0x124)]['push'](_0x4bc0f2[_0x56d750(0xdc)]));const _0x3d1ece=this[_0x56d750(0x2af)](_0x367b59,_0x597f2f);return _0x239520[_0x56d750(0x19b)][_0x56d750(0x23e)](..._0x3d1ece[_0x56d750(0x19b)]),_0x239520[_0x56d750(0x124)][_0x56d750(0x23e)](..._0x3d1ece['undos']),{'redos':_0x239520[_0x56d750(0x19b)],'undos':_0x239520[_0x56d750(0x124)]};}}));}[_0x3015f1(0x2af)](_0x492fe8,_0x2a5016){const _0x31763b=_0x3015f1,{col:_0x511a6d,unitId:_0x63fdae,subUnitId:_0x3f1932}=_0x2a5016,_0x4a4b44=[],_0x23a879=[],_0x38e7c7=_0xea3a43(this[_0x31763b(0x1d1)],{'unitId':_0x63fdae,'subUnitId':_0x3f1932});if(!_0x2a5016||!_0x492fe8||!_0x38e7c7)return{'undos':_0x23a879,'redos':_0x4a4b44};const _0x49e865=this[_0x31763b(0x181)][_0x31763b(0x227)](),{colView:_0x217b31,dataView:_0x16763b,cornerView:_0xe8dacb,rowView:_0x2c8346,formatMap:_0x52ccda}=_0x492fe8,_0x48314e=Po(_0x217b31,_0x49e865,!0x0,_0x52ccda),_0x2cf326=Po(_0x2c8346,_0x49e865,!0x1,_0x52ccda),_0x4c90ac=ji(_0x16763b),_0x244df3=Yi(_0xe8dacb),{worksheet:_0x191e64}=_0x38e7c7;if(typeof window<'u'&&window[_0x31763b(0x18a)]){const _0x4ed109=_0x2405d1({...fe['colStyle']}),_0x1ee2b5=_0x50b72e[_0x31763b(0x93)](_0x48314e,_0x4ed109)[_0x31763b(0xd5)]+0x10,_0x1b9e97=_0x50b72e['getTextSize'](_0x4c90ac,_0x4ed109)[_0x31763b(0xd5)],_0x272836=Math[_0x31763b(0x15d)](Math[_0x31763b(0x286)](_0x1ee2b5,_0x1b9e97))+0x10,_0x236cf1=Math[_0x31763b(0x15d)](_0x50b72e[_0x31763b(0x93)](_0x2cf326,_0x4ed109)['width']),_0x372ec6=Math['floor'](_0x50b72e[_0x31763b(0x93)](_0x244df3,_0x4ed109)[_0x31763b(0xd5)]),_0x111fec=Math[_0x31763b(0x286)](_0x236cf1,_0x372ec6,0x28)+0xc,_0x25081e=_0x217b31[_0x31763b(0x11b)]+_0xe8dacb['colCount'],_0x25cb42={},_0x3454a4={};for(let _0x2ab92e=_0x511a6d;_0x2ab92e<_0x511a6d+_0x25081e;_0x2ab92e++){const _0x326990=_0x191e64[_0x31763b(0x235)](_0x2ab92e);_0x25cb42[_0x2ab92e]=_0x326990,_0x2ab92e-_0x511a6d<_0xe8dacb[_0x31763b(0x11b)]?_0x3454a4[_0x2ab92e-_0x511a6d]=_0x111fec:_0x3454a4[_0x2ab92e-_0x511a6d]=_0x272836;}_0x4a4b44[_0x31763b(0x23e)]({'id':_0x556b3e['id'],'params':{'subUnitId':_0x3f1932,'unitId':_0x63fdae,'ranges':[{'startColumn':_0x511a6d,'endColumn':_0x511a6d+_0x25081e-0x1,'startRow':0x0,'endRow':_0x191e64[_0x31763b(0x274)]()-0x1}],'colWidth':_0x3454a4}}),_0x23a879[_0x31763b(0x23e)]({'id':_0x556b3e['id'],'params':{'subUnitId':_0x3f1932,'unitId':_0x63fdae,'ranges':[{'startColumn':_0x511a6d,'endColumn':_0x511a6d+_0x25081e-0x1,'startRow':0x0,'endRow':_0x191e64[_0x31763b(0x274)]()-0x1}],'colWidth':_0x25cb42}});}return{'undos':_0x23a879,'redos':_0x4a4b44};}};ut=Ls([He(0x0,_0x416b2a(_0x4f3764)),He(0x1,_0x416b2a(_0x46d6f1)),He(0x2,_0x416b2a(_0x447c52)),He(0x3,_0x416b2a(_0x58e9a8)),He(0x4,_0x416b2a(he)),He(0x5,_0x416b2a(ie))],ut);var js=Object['getOwnPropertyDescriptor'],Ys=(_0x1f7d65,_0x513d8,_0x33557c,_0x2aa889)=>{const _0x185afe=_0x3015f1;for(var _0x1ed34f=_0x2aa889>0x1?void 0x0:_0x2aa889?js(_0x513d8,_0x33557c):_0x513d8,_0x3b1a9=_0x1f7d65[_0x185afe(0x290)]-0x1,_0x3dbf92;_0x3b1a9>=0x0;_0x3b1a9--)(_0x3dbf92=_0x1f7d65[_0x3b1a9])&&(_0x1ed34f=_0x3dbf92(_0x1ed34f)||_0x1ed34f);return _0x1ed34f;},ke=(_0x5d9bed,_0x5e579e)=>(_0x2582e1,_0x4b5bbc)=>_0x5e579e(_0x2582e1,_0x4b5bbc,_0x5d9bed);let ft=class extends _0x434a0e{constructor(_0x33c801,_0x348fe6,_0x79db6f,_0x31fd1d,_0x4555e1,_0x392b79,_0xdc4320){const _0x194a89=_0x3015f1;super(),A(this,_0x194a89(0xfb),new _0x49d8f1()),(this[_0x194a89(0x198)]=_0x33c801,this[_0x194a89(0x196)]=_0x348fe6,this[_0x194a89(0x27d)]=_0x79db6f,this[_0x194a89(0x1d1)]=_0x31fd1d,this[_0x194a89(0x181)]=_0x4555e1,this[_0x194a89(0x141)]=_0x392b79,this[_0x194a89(0x1f5)]=_0xdc4320,this['_onRefRangeChange']());}[_0x3015f1(0xf7)](){const _0x42eae7=_0x3015f1,_0x26db64=(_0x4cf903,_0x4697b2)=>{const _0x3477f3=_0x54da,_0x5268d0=this[_0x3477f3(0x1d1)][_0x3477f3(0x239)](_0x8b7529[_0x3477f3(0x237)]);if(!_0x5268d0||!(_0x5268d0==null?void 0x0:_0x5268d0[_0x3477f3(0x1d7)](_0x4697b2)))return;this[_0x3477f3(0xfb)]['dispose']();const _0x532079=_0x13a364=>this[_0x3477f3(0x144)](_0x13a364,_0x4cf903,_0x4697b2),_0x2e856e=this[_0x3477f3(0x181)][_0x3477f3(0x27b)](_0x4cf903,_0x4697b2);if(!(_0x2e856e!=null&&_0x2e856e[_0x3477f3(0x285)]))return;Array[_0x3477f3(0x2c2)](_0x2e856e[_0x3477f3(0x15c)]())[_0x3477f3(0x1df)](_0x124fa7=>{const _0x5eaf05=_0x3477f3,{row:_0x2aa358,col:_0x407499}=_0x124fa7[_0x5eaf05(0xa7)];return _0x4a0405(_0x2aa358,_0x407499);})[_0x3477f3(0x14e)](_0x1a589f=>{const _0x43faf2=_0x3477f3;this[_0x43faf2(0xfb)][_0x43faf2(0x1e7)](this[_0x43faf2(0x196)][_0x43faf2(0x214)](_0x1a589f,_0x532079,_0x4cf903,_0x4697b2));});},_0x567d25=()=>{const _0x721cf0=_0x54da,_0x286898=this['_univerInstanceService']['getCurrentUnitForType'](_0x8b7529[_0x721cf0(0x237)]);if(_0x286898){const _0xaf3aeb=_0x286898[_0x721cf0(0x1e4)]();if(!_0xaf3aeb)return;_0x26db64(_0x286898[_0x721cf0(0x116)](),_0xaf3aeb['getSheetId']());}};this[_0x42eae7(0x180)](this['_commandService']['onCommandExecuted'](_0x74fdde=>{const _0x25f577=_0x42eae7;if(_0x74fdde['id']===_0x98b109['id']){const _0xb90695=_0x74fdde[_0x25f577(0x87)],_0x16d4c9=_0xb90695[_0x25f577(0xeb)],_0xb658e8=_0xb90695[_0x25f577(0x183)];if(!_0x16d4c9||!_0xb658e8)return;_0x26db64(_0xb658e8,_0x16d4c9);}})),this[_0x42eae7(0x180)](this[_0x42eae7(0x181)][_0x42eae7(0x229)][_0x42eae7(0xc2)](_0x366556=>{_0x366556&&_0x567d25();})),this[_0x42eae7(0x180)](this[_0x42eae7(0x181)][_0x42eae7(0x1f8)][_0x42eae7(0xc2)](_0x478eb8=>{const _0x34ab8e=_0x42eae7,_0x515ba2=_0xea3a43(this[_0x34ab8e(0x1d1)]);if(!_0x515ba2)return;const {unitId:_0xd032d9,subUnitId:_0x1300cc}=_0x515ba2,{unitId:_0x45d1f9,subUnitId:_0x5de0d8}=_0x478eb8;_0xd032d9!==_0x45d1f9||_0x1300cc!==_0x5de0d8||_0x26db64(_0xd032d9,_0x1300cc);})),_0x567d25();}[_0x3015f1(0x144)](_0x4c9c20,_0x3153a3,_0x308f32){const _0x3c83f9=_0x3015f1;switch(_0x4c9c20['id']){case _0x282bb4['id']:return this[_0x3c83f9(0x19a)](_0x4c9c20[_0x3c83f9(0x87)],_0x3153a3,_0x308f32);}return{'redos':[],'undos':[]};}[_0x3015f1(0x19a)](_0xb3796a,_0x379b2c,_0x5da1af){const _0x5f31c0=_0x3015f1,{fromRange:_0x943e79,toRange:_0x495834}=_0xb3796a,_0x64cbdc=[],_0x56701f=[],_0xc2deb6=_0xea3a43(this[_0x5f31c0(0x1d1)]);if(!_0xc2deb6)return{'undos':_0x56701f,'redos':_0x64cbdc};if(_0x379b2c!==_0xc2deb6[_0x5f31c0(0x183)]||_0x5da1af!==_0xc2deb6[_0x5f31c0(0xeb)])return{'undos':_0x56701f,'redos':_0x64cbdc};const _0x6bd25c=this[_0x5f31c0(0x181)][_0x5f31c0(0x27b)](_0x379b2c,_0x5da1af);if(_0x6bd25c!=null&&_0x6bd25c[_0x5f31c0(0x285)])for(const [_0x4504e8,_0x42872e]of _0x6bd25c){const {unitId:_0x527606,subUnitId:_0x5b8c48,row:_0xacb23e,col:_0x310d17}=_0x42872e[_0x5f31c0(0xa7)];if(_0x527606===_0xc2deb6[_0x5f31c0(0x183)]&&_0x5b8c48===_0xc2deb6[_0x5f31c0(0xeb)]){const _0x17279c=_0x4a0405(_0xacb23e,_0x310d17);if(_0x2d61f8[_0x5f31c0(0x21d)](_0x17279c,_0x943e79)){const _0x150b27=_0xacb23e-_0x943e79[_0x5f31c0(0x2a3)],_0x10422b=_0x310d17-_0x943e79['startColumn'],_0x190a98={'row':_0x495834[_0x5f31c0(0x2a3)]+_0x150b27,'col':_0x495834[_0x5f31c0(0x28c)]+_0x10422b};_0x64cbdc[_0x5f31c0(0x23e)]({'id':pt['id'],'params':{'unitId':_0x527606,'subUnitId':_0x5b8c48,'pivotTableId':_0x4504e8,'targetCellPosition':_0x190a98}}),_0x56701f[_0x5f31c0(0x23e)]({'id':pt['id'],'params':{'unitId':_0x527606,'subUnitId':_0x5b8c48,'pivotTableId':_0x4504e8,'targetCellPosition':{'row':_0xacb23e,'col':_0x310d17}}});const _0x33a5c=_0x190a98[_0x5f31c0(0x291)]-_0xacb23e,_0x3a6a08=_0x190a98[_0x5f31c0(0x23d)]-_0x310d17,_0x49055b=[],_0x45cc1b=this[_0x5f31c0(0x141)][_0x5f31c0(0x270)](_0x527606,_0x5b8c48,_0x4504e8),_0x20c0d7=_0x45cc1b==null?void 0x0:_0x45cc1b[_0x5f31c0(0x295)];if(_0x20c0d7){Object[_0x5f31c0(0x1bc)](_0x20c0d7)['forEach'](_0x419591=>{const _0xaf2dae=_0x5f31c0;_0x20c0d7[_0x419591][_0xaf2dae(0x14e)](_0x14ee14=>{const _0x36ea85=_0xaf2dae,_0x5297c2={..._0x14ee14};_0x5297c2[_0x36ea85(0x2a3)]=_0x14ee14['startRow']+_0x33a5c,_0x5297c2[_0x36ea85(0x1dc)]=_0x14ee14[_0x36ea85(0x1dc)]+_0x33a5c,_0x5297c2[_0x36ea85(0x28c)]=_0x14ee14[_0x36ea85(0x28c)]+_0x3a6a08,_0x5297c2[_0x36ea85(0x9a)]=_0x14ee14['endColumn']+_0x3a6a08,_0x49055b[_0x36ea85(0x23e)](_0x5297c2);});});const _0x342053=this['_sheetInterceptorService'][_0x5f31c0(0x1cc)]({'unitId':_0x527606,'subUnitId':_0x5b8c48,'ranges':_0x49055b});_0x64cbdc[_0x5f31c0(0x23e)](..._0x342053['redos']),_0x56701f['push'](..._0x342053['undos']);const _0xd878a4=Ko(this[_0x5f31c0(0x198)],_0x527606,_0x5b8c48,_0x49055b);_0xd878a4['shouldClear']&&(_0x64cbdc[_0x5f31c0(0x23e)](_0xd878a4[_0x5f31c0(0x128)]),_0x56701f[_0x5f31c0(0x23e)](_0xd878a4[_0x5f31c0(0xdc)]));}}}}return{'redos':_0x64cbdc,'undos':_0x56701f};}};ft=Ys([ke(0x0,_0x416b2a(_0x447c52)),ke(0x1,_0x416b2a(_0x270f98)),ke(0x2,_0x3ec272),ke(0x3,_0x58e9a8),ke(0x4,_0x416b2a(he)),ke(0x5,_0x416b2a(Ne)),ke(0x6,_0x416b2a(_0x46d6f1))],ft);var $s=Object[_0x3015f1(0x1a8)],Ws=(_0x5bf845,_0x3b16ea,_0x53b66e,_0x836d7b)=>{const _0x468a57=_0x3015f1;for(var _0x274793=_0x836d7b>0x1?void 0x0:_0x836d7b?$s(_0x3b16ea,_0x53b66e):_0x3b16ea,_0x49ba68=_0x5bf845[_0x468a57(0x290)]-0x1,_0x466f00;_0x49ba68>=0x0;_0x49ba68--)(_0x466f00=_0x5bf845[_0x49ba68])&&(_0x274793=_0x466f00(_0x274793)||_0x274793);return _0x274793;},_o=(_0x473d3e,_0x371b4c)=>(_0x134951,_0x4eb76f)=>_0x371b4c(_0x134951,_0x4eb76f,_0x473d3e);let gt=class extends _0x434a0e{constructor(_0x43dafc,_0x14a62b){const _0x440bd5=_0x3015f1;super(),this['_sheetInterceptorService']=_0x43dafc,this[_0x440bd5(0x181)]=_0x14a62b,this[_0x440bd5(0x241)]();}[_0x3015f1(0x241)](){const _0x4c3cc5=_0x3015f1;this[_0x4c3cc5(0x180)](this['_sheetInterceptorService'][_0x4c3cc5(0x28b)]({'getMutations':_0xb20d55=>{const _0x1adbf9=_0x4c3cc5;if(_0xb20d55['id']===_0x58ebd1['id']){const _0x302b1f=[],_0x4adba9=[],_0x2d7d58=_0xb20d55[_0x1adbf9(0x87)],{unitId:_0x2a91f7,subUnitId:_0x1906ef}=_0x2d7d58;if(!_0x2a91f7||!_0x1906ef)return{'undos':_0x4adba9,'redos':_0x302b1f};const _0x4dcb97=this[_0x1adbf9(0x181)][_0x1adbf9(0x27b)](_0x2a91f7,_0x1906ef);if(_0x4dcb97!=null&&_0x4dcb97[_0x1adbf9(0x285)])for(const [_0x32efb4,_0x391b83]of _0x4dcb97){_0x302b1f[_0x1adbf9(0x23e)]({'id':Vt['id'],'params':{'unitId':_0x2a91f7,'subUnitId':_0x1906ef,'pivotTableId':_0x32efb4}});const _0x4c8a69={...this['_sheetsPivotTableConfigModel'][_0x1adbf9(0x130)](_0x2a91f7,_0x32efb4)};_0x4adba9[_0x1adbf9(0x23e)]({'id':It['id'],'params':{'unitId':_0x2a91f7,'subUnitId':_0x1906ef,'pivotTableId':_0x32efb4,'pivotTableConfig':_0x391b83,'collectionConfig':_0x4c8a69}});}return{'redos':_0x302b1f,'undos':_0x4adba9};}return{'redos':[],'undos':[]};}}));}};gt=Ws([_o(0x0,_0x416b2a(_0x46d6f1)),_o(0x1,_0x416b2a(he))],gt);var Js=Object['getOwnPropertyDescriptor'],Gs=(_0x454336,_0x45166c,_0x500ad1,_0x7bc705)=>{for(var _0x4684a6=_0x7bc705>0x1?void 0x0:_0x7bc705?Js(_0x45166c,_0x500ad1):_0x45166c,_0x248fdb=_0x454336['length']-0x1,_0x8a1661;_0x248fdb>=0x0;_0x248fdb--)(_0x8a1661=_0x454336[_0x248fdb])&&(_0x4684a6=_0x8a1661(_0x4684a6)||_0x4684a6);return _0x4684a6;},qe=(_0x3888b5,_0x581231)=>(_0x5c273e,_0x39781d)=>_0x581231(_0x5c273e,_0x39781d,_0x3888b5);let vt=class extends _0x434a0e{constructor(_0x2ab242,_0x52b997,_0x4dc3c0,_0x3e0d37,_0x40595e,_0x37586b){const _0x2c6fdf=_0x3015f1;super(),this[_0x2c6fdf(0x27d)]=_0x2ab242,this[_0x2c6fdf(0x12d)]=_0x52b997,this[_0x2c6fdf(0x141)]=_0x4dc3c0,this[_0x2c6fdf(0x181)]=_0x3e0d37,this[_0x2c6fdf(0x1d1)]=_0x40595e,this[_0x2c6fdf(0x10d)]=_0x37586b,this[_0x2c6fdf(0x1ed)](),this[_0x2c6fdf(0x91)]();}[_0x3015f1(0x1ed)](){const _0x865bd0=_0x3015f1;this[_0x865bd0(0x180)](this[_0x865bd0(0x27d)][_0x865bd0(0x1a9)](_0x139798=>{const _0x273061=_0x865bd0;if(_0x139798['id']!==lo['id'])return;const _0x2aab60=_0x139798['params'];this[_0x273061(0x12d)][_0x273061(0x85)](_0x2aab60);})),this[_0x865bd0(0x180)](this[_0x865bd0(0x27d)][_0x865bd0(0x1a9)](_0x3738fb=>{const _0x5de393=_0x865bd0;if(_0x3738fb['id']===co['id']){const _0x5e1a31=_0x3738fb[_0x5de393(0x87)];if(_0x5e1a31){const {unitId:_0x38b8f8,subUnitId:_0x11a1be,oldSubUnitId:_0x359479,pivotTableId:_0x109de9,pivotTableConfig:_0x353d80,collectionConfig:_0x4758ca}=_0x5e1a31;this[_0x5de393(0x181)][_0x5de393(0x7f)](_0x38b8f8,_0x359479,_0x5e1a31['pivotTableId'],null),this[_0x5de393(0x181)][_0x5de393(0x7f)](_0x38b8f8,_0x11a1be,_0x109de9,_0x353d80),this[_0x5de393(0x181)]['updateCollectionConfig'](_0x38b8f8,_0x4758ca);}}})),this[_0x865bd0(0x180)](this[_0x865bd0(0x27d)][_0x865bd0(0x1a9)](_0xe66c56=>{const _0x50fe3c=_0x865bd0;if(_0xe66c56['id']!==Dt['id'])return;const _0x18e32e=_0xea3a43(this[_0x50fe3c(0x1d1)]);if(!_0x18e32e)return;const {unitId:_0x464310,subUnitId:_0x314ae}=_0x18e32e,_0x5b1047=_0xe66c56[_0x50fe3c(0x87)];if(_0x5b1047['collectionConfig']&&Object[_0x50fe3c(0x1bc)](_0x5b1047[_0x50fe3c(0xde)])['forEach'](_0x407b4d=>{const _0x1945fc=_0x50fe3c;var _0x5d871d;(_0x5d871d=_0x5b1047['collectionConfig'])!=null&&_0x5d871d[_0x407b4d]&&this[_0x1945fc(0x181)][_0x1945fc(0xd1)](_0x407b4d,_0x5b1047[_0x1945fc(0xde)][_0x407b4d]);}),_0x5b1047[_0x50fe3c(0x17f)]){const _0x3fa111=_0x5b1047['single'],{unitId:_0x2a699c,subUnitId:_0x3a01af,view:_0x222508,pivotTableId:_0x4cfb4e,type:_0x3d46c1,pivotConfig:_0x15b40b}=_0x3fa111;if(_0x3d46c1===j[_0x50fe3c(0x2e2)])this['_sheetsPivotTableAdaptorModel'][_0x50fe3c(0xf0)]({'unitId':_0x2a699c,'subUnitId':_0x3a01af,'pivotTableId':_0x4cfb4e,'type':_0x3d46c1}),this[_0x50fe3c(0x181)]['updateConfigCache'](_0x2a699c,_0x3a01af,_0x4cfb4e,null);else{const _0x5b7c61=new _0x3f1c21();_0x5b7c61[_0x50fe3c(0x2c0)](_0x222508),this[_0x50fe3c(0x181)][_0x50fe3c(0x7f)](_0x2a699c,_0x3a01af,_0x4cfb4e,_0x15b40b),this['_sheetsPivotTableAdaptorModel'][_0x50fe3c(0xf0)]({'unitId':_0x2a699c,'subUnitId':_0x3a01af,'pivotTableId':_0x4cfb4e,'type':_0x3d46c1,'view':_0x5b7c61}),this[_0x50fe3c(0x141)]['updateRenderCache']({'unitId':_0x2a699c,'subUnitId':_0x3a01af,'view':_0x5b7c61,'pivotTableId':_0x4cfb4e,'type':_0x3d46c1});}}else _0x5b1047[_0x50fe3c(0x20b)]&&(_0x5b1047[_0x50fe3c(0x20b)][_0x50fe3c(0x14e)](_0x542793=>{const _0x3f98cc=_0x50fe3c,{unitId:_0x384e60,subUnitId:_0x1626ef,view:_0x19d394,pivotTableId:_0x5afcd5,type:_0x4548c2,pivotConfig:_0x560679}=_0x542793,_0x5cbe71=new _0x3f1c21();_0x5cbe71['formJSON'](_0x19d394),this[_0x3f98cc(0x181)][_0x3f98cc(0x7f)](_0x384e60,_0x1626ef,_0x5afcd5,_0x560679),this['_sheetsPivotTableAdaptorModel'][_0x3f98cc(0x268)]({'unitId':_0x384e60,'subUnitId':_0x1626ef,'view':_0x5cbe71,'pivotTableId':_0x5afcd5,'type':_0x4548c2});}),this[_0x50fe3c(0x181)][_0x50fe3c(0xb0)]());this[_0x50fe3c(0x141)][_0x50fe3c(0x16c)](_0x464310,_0x314ae);}));}['registerDirtyService'](){const _0x4fb409=_0x3015f1;this[_0x4fb409(0x10d)][_0x4fb409(0x18e)](Et['id'],{'commandId':Et['id'],'getDirtyData'(_0x20a650){const _0x5e3c4f=_0x4fb409;return{'dirtyUnitFeatureMap':_0x20a650[_0x5e3c4f(0x87)]};}});}};vt=Gs([qe(0x0,_0x416b2a(_0x3ec272)),qe(0x1,_0x416b2a(X)),qe(0x2,_0x416b2a(Ne)),qe(0x3,_0x416b2a(he)),qe(0x4,_0x416b2a(_0x58e9a8)),qe(0x5,_0x420518)],vt);var Ks=Object[_0x3015f1(0xee)],Hs=Object['getOwnPropertyDescriptor'],qs=(_0x44fbe1,_0x157031,_0x1effe1)=>_0x157031 in _0x44fbe1?Ks(_0x44fbe1,_0x157031,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1effe1}):_0x44fbe1[_0x157031]=_0x1effe1,Zs=(_0x15ed7e,_0x233e5a,_0xf747f5,_0x113cbe)=>{const _0x4528b9=_0x3015f1;for(var _0x23bfcd=_0x113cbe>0x1?void 0x0:_0x113cbe?Hs(_0x233e5a,_0xf747f5):_0x233e5a,_0x19e182=_0x15ed7e[_0x4528b9(0x290)]-0x1,_0x3ac9b7;_0x19e182>=0x0;_0x19e182--)(_0x3ac9b7=_0x15ed7e[_0x19e182])&&(_0x23bfcd=_0x3ac9b7(_0x23bfcd)||_0x23bfcd);return _0x23bfcd;},Ft=(_0x5a5146,_0x53125a)=>(_0x344b27,_0x4ac75d)=>_0x53125a(_0x344b27,_0x4ac75d,_0x5a5146),zo=(_0x462a4c,_0x439d53,_0x27dd5a)=>qs(_0x462a4c,typeof _0x439d53!=_0x3015f1(0x1b6)?_0x439d53+'':_0x439d53,_0x27dd5a);function _0x54da(_0x1d5e4c,_0x4e856d){const _0x4bf520=_0x4bf5();return _0x54da=function(_0x54daa8,_0x5d9335){_0x54daa8=_0x54daa8-0x65;let _0x3d7fae=_0x4bf520[_0x54daa8];return _0x3d7fae;},_0x54da(_0x1d5e4c,_0x4e856d);}let At=class extends _0x4a8938{constructor(_0x592f4e=yo,_0x13f580,_0x434971,_0x1c4aa9,_0x38e95e){const _0x158f19=_0x3015f1;super(),this['_config']=_0x592f4e,this[_0x158f19(0x198)]=_0x13f580,this[_0x158f19(0x27d)]=_0x434971,this[_0x158f19(0x20d)]=_0x1c4aa9,this[_0x158f19(0x272)]=_0x38e95e;const {..._0x1ec0a2}=_0x408bef({},yo,this[_0x158f19(0x83)]);this['_configService'][_0x158f19(0x1e6)](qo,_0x1ec0a2),this[_0x158f19(0x252)](),this[_0x158f19(0x243)]();}[_0x3015f1(0x243)](){const _0x229182=_0x3015f1;var _0x4a88fa;const _0xec0dd6=(_0x4a88fa=this[_0x229182(0x83)])==null?void 0x0:_0x4a88fa[_0x229182(0x2d3)];this['_configService'][_0x229182(0x1e6)](H,_0xec0dd6===!0x0);}[_0x3015f1(0x2c3)](){const _0x28f805=_0x3015f1;var _0x49be38;let _0x212a96=[];const _0x256ca3=(_0x49be38=this[_0x28f805(0x83)])==null?void 0x0:_0x49be38[_0x28f805(0x2d3)];_0x256ca3===!0x0?_0x212a96=[[ie],[X],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]:_0x256ca3===!0x1?_0x212a96=[[Y],[ct]]:_0x256ca3===void 0x0&&(_0x212a96=[[Y],[ct],[ie],[X],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]),_0x212a96[_0x28f805(0x14e)](_0x1a7309=>this[_0x28f805(0x198)][_0x28f805(0x1e7)](_0x1a7309)),[ct,vt,ie,dt,gt,ft,ut][_0x28f805(0x14e)](_0x1a8a9d=>{const _0x225142=_0x28f805;this[_0x225142(0x198)][_0x225142(0x9f)](_0x1a8a9d)&&this[_0x225142(0x198)][_0x225142(0x1c7)](_0x1a8a9d);});}[_0x3015f1(0x252)](){const _0x70e3e6=_0x3015f1;[hs,ps,vs,Cs,Is,Ms,Ds,bs,Ts,Ss,Ps,ys,ws,ms,It,oo,Vt,Yt,Zo,Qo,Kt,$t,Wt,Jt,qt,Ht,pt,ro,lo,Dt,zt,eo,Zt,Gt,uo,to,Xt,Et,co,_s,Qt,Fs,Rs][_0x70e3e6(0x14e)](_0xb3ad71=>{const _0x33d447=_0x70e3e6;var _0x563f75;(_0x563f75=this[_0x33d447(0x272)])==null||_0x563f75[_0x33d447(0x275)](_0xb3ad71),this['_commandService']['registerCommand'](_0xb3ad71);});}};zo(At,'pluginName',ao),zo(At,_0x3015f1(0x19d),_0x8b7529[_0x3015f1(0x237)]),At=Zs([_0x4f27e1(_0x412684),Ft(0x1,_0x416b2a(_0x447c52)),Ft(0x2,_0x416b2a(_0x3ec272)),Ft(0x3,_0x43238f),Ft(0x4,_0x28084e(_0x109157))],At);export{vs as AddPivotFieldCommand,Yt as AddPivotFieldMutation,ps as AddPivotTableCommand,It as AddPivotTableMutation,hs as AddPivotTableWithConfigCommand,mt as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,Cs as MovePivotFieldCommand,ws as MovePivotTableCommand,k as PivotDisplayDataType,ms as PivotDrillDownCommand,j as PivotTableOperationEnum,Et as PivotTableViewDirtyMarkOperation,Bo as PositionType,Is as RemovePivotFieldCommand,$t as RemovePivotFieldMutation,Vt as RemovePivotTableMutation,Wt as RenamePivotFieldMutation,Rs as ResetPivotFieldsConfigCommand,qo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,Jt as SetPivotCollapseMutation,Gt as SetPivotFieldFormatMutation,Fs as SetPivotFieldsConfigCommand,Ss as SetPivotFilterCommand,Kt as SetPivotFilterMutation,Ht as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ts as SetPivotSortCommand,qt as SetPivotSortMutation,Zt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,Y as SheetsPivotDataSourceModel,X as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,he as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,At as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,zt as UpdateFieldPositionMutation,Ps 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,Vi as getPivotCellInfo,go as getPivotInfoByLicense,xi as getPivotTableInfo,ht as transFromCellValue,jt as unionPivotViewRange};
1
+ const _0x2547f2=_0x4326;(function(_0x2d938c,_0x52113b){const _0x1c0e05=_0x4326,_0x4e35cc=_0x2d938c();while(!![]){try{const _0x59aff7=-parseInt(_0x1c0e05(0x3be))/0x1+parseInt(_0x1c0e05(0x399))/0x2*(-parseInt(_0x1c0e05(0x34a))/0x3)+parseInt(_0x1c0e05(0x2bf))/0x4+-parseInt(_0x1c0e05(0x259))/0x5+parseInt(_0x1c0e05(0x29d))/0x6*(-parseInt(_0x1c0e05(0x2d1))/0x7)+-parseInt(_0x1c0e05(0x30b))/0x8*(parseInt(_0x1c0e05(0x3e1))/0x9)+-parseInt(_0x1c0e05(0x2f8))/0xa*(-parseInt(_0x1c0e05(0x295))/0xb);if(_0x59aff7===_0x52113b)break;else _0x4e35cc['push'](_0x4e35cc['shift']());}catch(_0x1fe0d8){_0x4e35cc['push'](_0x4e35cc['shift']());}}}(_0x474d,0xe5825));var an=Object[_0x2547f2(0x31a)],rn=(_0x20cbfb,_0x48b7d3,_0x127ebe)=>_0x48b7d3 in _0x20cbfb?an(_0x20cbfb,_0x48b7d3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x127ebe}):_0x20cbfb[_0x48b7d3]=_0x127ebe,x=(_0x4b7e63,_0x21f6dd,_0x5aaf83)=>rn(_0x4b7e63,typeof _0x21f6dd!=_0x2547f2(0x2be)?_0x21f6dd+'':_0x21f6dd,_0x5aaf83);import{PivotCellStyleTypeEnum as _0x1814d9,PivotViewCellValueTypeEnum as _0x14a97b,isPrefixValue as _0x6cda49,isErrorValue as _0x1be2a3,PivotErrorTypeEnum as _0x2f804b,PivotDateGroupFieldDateTypeEnum as _0x583f29,DataFieldManager as _0x4c367d,FieldsCollection as _0x125601,isDateValue as _0x5d1c21,DataField as _0x2e8646,generateHexNumber as _0x1c299d,isBaseGroupField as _0x5f06ad,PivotTable as _0x24dbbd,PivotSubtotalTypeEnum as _0x3d270f,PivotTableFiledAreaEnum as _0xac72fb,excelDateToUnixMilliseconds as _0x41063c,createValueField as _0x35ecb5,createLabelField as _0x4653e4,PivotTableChangeTypeEnum as _0x42338e,BaseGroupField as _0x4533ea,PivotView as _0x561c81,isDateGroupFieldJSON as _0x5a266f,PivotCallbackEnum as _0x2b8bf2,PivotFilterTypeEnum as _0x375564,getAutoDisplayName as _0x2f2b51,PivotDataFieldDataTypeEnum as _0x56210e,PivotTableValuePositionEnum as _0x127548,isDateGroupField as _0x31f576,DateGroupField as _0x8c75f0}from'@univerjs-pro/engine-pivot';function _0x474d(){const _0x6bcc6c=['redos','_collectionConfigModel','headerMap','getPivotTableCellData','isValue','subscribe','updateViewData','splice','New','rangesInfo','Date','getMatrixFromRunTimeData','sheetName','STRING','subtotal','uniqueDataFieldName','sheet.command.update-pivot-table-source-range','interceptor','range','Row','SetPivotSort','_globalSubject','_injector','setCollapse','getFieldPositionInfoById','getUnitId','StdDev\x20of\x20','NUMBER','column','sortInfo','clearExclusiveRangesByGroupId','setPivotSetting','SetCollapse','sheets-pivot.minName','_localeService','getMatrix','sheet.mutation.set-pivot-format','None','SetValuePivotFilter','Subtotal','sheet.command.set-pivot-value-filter','movePivotField','SetPivotCollapse','sheets-pivot.emptyPivot.values','sheets.tabs.sheet','getFullYear','rangeKey','getTableFieldById','getIntersects','getOriginFieldId','register','updateValuePosition','removeCollectionImp','SetPivotTableConfig','sheets-pivot.cellDateGroupDisplay.hour','removeCollections','getTargetByPivotTableId','panel','minDate','sheets-pivot.cellDateGroupDisplay.hourMinute','addDataFieldWithoutUnitInfo','sheets-pivot.columnName','4762pdxpmy','_viewUpdate$','originTargetInfo','getPivotDisplayConfig','getFieldCountByArea','setPivotInitCompleted','sheets-pivot.cellDateGroupDisplay.yearQuarter','maxDate','fetchThroughInterceptors','_updatePivotTableInstanceCache','colStyle','result','number','colCount','includes','resetArea','parse','refreshGroupField','getValuePosition','setRangeKeyMap','_requestResolvers','sheets-pivot.cellDateGroupDisplay.month','sheets-pivot.dateGroup.hourMinute','setRangeValueRedoMutation','_pivotTableRangeInfo','PIVOT_MUTATION_GENERATE','format','custom','colHeaderMap','leafStyle','setPivotCollapse','getRangeKeyList','Quarter','pbt','sheets-pivot.emptyPivot.column','getDataFieldBySourceName','updatePivotTableRangeInfo','120288kDanGn','COLUMN','AddField','hasField','sheet.mutation.get-pivot-data-local','updateRenderCache','iterateFieldDim','setSourceName','isEmpty','SetOptions','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','forEach','width','registerDirtyService','RemovePivotField','rowFields','_initConfig','_initPivotTextInfo','sum','limit\x20pivot','getStyles','sheet.command.remove-pivot-field','realDeleteValue','sheets-pivot.blank','markDirty','getName','deleteField','getSheetBySheetName','fontRenderExtension','data','needSameDeleteModel','updateDirtyPivotTable','_sheetInterceptorService','removePivotTable','getSheets','10217466ehtVXV','updateConfig','RemoveField','_initSnapshot','setSortInfo','#FFFFFF','setSubtotalType','getPivotTableIdByCell','handleSourceRangeChange','NAME','getActiveSheet','getDirtyInfo','document','getDataFieldByRangeKey','lastCol','UpdateValuePosition','tuple','fetchThroughAsyncInterceptors','sheet.mutation.set-pivot-option','setRange','_createExclusiveRange','colRanges','queryDirtyPivotTable','triggerDirtyFeature','isNaN','_markDirty$','sheet.mutation.remove-group-collection','next','startCollectChangeset','deepClone','random','getNoUsedDataFieldIds','sheet.command.set-pivot-collapse','set','_ensurePivotItemRenderValueMatrixCache','endCollectChangeset','renameField','query','SHEET_PIVOT_IN_MAIN_THREAD','Column','_pivotInitCompleted$','name','_globalComputingSrv','NUM','pivotInitCompleted$','fieldsCollectionChange$','string','PivotMultipleValueId','Min\x20of\x20','getValueIndex','getCellMatrix','onStarting','sheets-pivot.config','sheet.mutation.send-pivot-config-local','pushComputingStatusSubject','getAutoDisplayNameFunction','sheet.command.set-pivot-filter','dataFieldId','body','getMatrixValue','_textInfo','UNIVER_SHEET','Year','keys','_initGlobalComputed','targetCellInfo','AddPivotTableWithConfig','NO_COMMERCIAL','getDataFieldId','sheets-pivot.dateGroup.hour','new','removeValueFilterInfo','addCollectionByJSON','size','_initRemoveSheetCommandInterceptor','_activeDirtyManagerService','getDataFieldItemInfo','valueIndex','sheets-pivot.sumName','setValue','_dataFieldManagerCollection','getInterceptPoints','registerCommand','setOptions','NotFunction','dataRangeInfo','_initDataSendListener','startRow','_onRefRangeChange','Varp\x20of\x20','addPivotField','sheet.mutation.send-init-pivot-text-local','leftOffset','concat','_host','getPivotDirtyViewInfo','grandTotal','getPivotTableMatrixInfo','notExecuteFormula','getIndexesByPathStr','some','_viewData','valuePosition','cornerRanges','getConfig','sheet.operation.pivot-table-view-formula-mark-dirty','setPivotTable','addExclusiveRange','disposableCollection','sheets-pivot.grandTotal','floor','getMonth','stringify','ptn','pivotTableId','registerCallbackWithEvent','_sheetsPivotTableAdaptorModel','sheets-pivot.dateGroup.yearQuarter','_ensurePivotTableRangeInfo','versions','setValuePivotFilter','_getAutoName','subUnitId','single','broadcastCollectionChange','_initPivotDataGetListener','updateDataFieldsCollection','shouldClear','markDirty$','isText','sheet.mutation.add-pivot-field','sheet.mutation.remove-pivot-table','collapseInfo','_updateRenderEmptyCache','_sheetsPivotDataSourceModel','Values','length','getFilterFieldIdByIndex','getCurrentSelections','filterInfo','call','sheet.mutation.pivot-update-value-position','parseInt','_initUnitDisposed','clearRenderCache','getTextInfo','rangeKeyMap','sheet.mutation.set-pivot-position','getSourceName','getPivotTableModelConfig','sheet.command.pivot-drill-down','values','drillDown','_toJSON','_sheetsPivotRpcService','_configVersion$','_sheetsPivotTableConfigModel','#e6ebfb','YearMonth','getUpdateRangeDeleteIds','getFieldFormat','Product\x20of\x20','YearMonthDate','SetPivotSetting','setRangeValueUndoMutation','slice','paths','AddPivotField','intercept','getDataFieldByDataFieldId','getDisplayName','_sheetsPivotTableService','setTextInfo','ResetPivotTable','Add','sheets-pivot.dateGroup.month','interceptCommand','from','generateNewSheetName','_globalComputedStartHelpFunc','Minute','unitId','_globalComputedEndHelpFunc','getSheetBySheetId','update','endRow','map','object','collectionChange$','_ensureViewDataMap','rowInfo','Existing','add','addField','rowStyle','Style','_updateModelCache','generateMutationsByRanges','updateFieldSourceInfo','sheets-pivot.varName','displayName','endColumn','getOwnPropertyDescriptor','setLabelFilterInfo','_ensurePivotMap','FORCE_STRING','getCollection','updateAllDisplayName','_initLocale','max','updateView','subTotalStyle','MAX_SAFE_INTEGER','#e6ebfa','Hour','info','getPivotTableConfig','_getPivotAppliedRanges','push','addDirtyPivotTable','cellValue','lastRow','collectionConfig','#1d32e9','sheet.command.set-pivot-field-setting','_initViewModelBySheetInterceptor','getDataFieldByTableId','_subjectCollectionChange','Month','filterId','count','node','_initRegisterCommand','addFieldWithSourceId','6005570wFSyYZ','setDateType','level','updateFieldPosition','_configService','UpdateFieldPosition','textInfo','getValueFilterInfos','_univerInstanceService','updatePivotSource','countNums','_pivotConfigChange$','getPivotTableInstance','getHeaderMapItem','dataStream','getUnit','_config','asyncInterceptor','removeSourceRangeChange','updateCollectionConfig','getPivotPerformCheck','COMMAND','fieldId','getTypeOfUnitDisposed$','getPivotItemRenderInfoCache','getFieldDataType','contains','getFormat','getFieldIds','_subjectViewChange','getSheetId','_exclusiveRangeService','tableFieldId','colInfo','HourMinute','UpdatePivotSource','Value','formJSON','min','_refRangeService','split','updateConfigCache','pivotConfigChange$','remove','_viewData$','token','registerPluginResource','Average\x20of\x20','error','matrix','measure','Delete','isDate','has','getSubUnitPivotConfigs','filter','getValue','getRowCount','REF','#f4f4f5','36367969rDFxSr','ManualFilter','getSubUnitPivotMatrix','charCodeAt','existing','forValue','getTextSize','getColumnCount','774PttFTU','isBottomTotal','handleAsyncResponse','stdDev','sheet.mutation.update-pivot-table-source-range','getSortInfo','pluginName','areaInfo','setName','BadReference','removeField','SetValueFilter','getDataFieldManager','getAutoFitColumnsMutations','pivotMutationGenerate','sheet.mutation.set-pivot-collapse','_model','type','NotName','_sheetsSelectionsService','batch','_collectionChange$','#b2b2b2','params','cornerInfo','rowHeaderMap','rangeCache','collection','setDataRecordCount','Grand\x20Total','average','_deleteModelCache','get','symbol','4659144ObSsOG','pivotPerformCheck','Filter','find','getCellRaw','Collapse','addPivotTableWithConfig','addPivotTable','MIN_SAFE_INTEGER','hasOwnProperty','delete','deleteDataField','_pivotTableMatrixInfo','getRangeStartEndInfo','getTargetByPivotId','value','rowCount','sheets-pivot.dateGroup.quarter','24311WNpvtn','handleMoveRange','sheets-pivot.cellDateGroupDisplay.date','dataFields','sheets-pivot.dateGroup.monthDate','getId','setValueFilterInfo','sheets-pivot.cellDateGroupDisplay.yearMonthDate','viewUpdate$','registerRefRange','row','resetPivotTable','Set','getDate','getLastRow','_commandService','pivotTableConfigs','var','sheets-pivot.maxName','toString','sheets-pivot.countNumsName','iterateFieldByArea','_featureCalculationManagerService','foreach','_pivotRenderInfoCache','sheets-pivot.stdDevpName','NotNumber','getRangeKey','unshift','getCurrentUnitForType','asObservable','_lifecycleService','version','dispose','col','setFieldFormat','collections','disposeWithMe','columnFields','10scrvCH','dataFieldsCollection','viewData$','updateRangeKeyMap','AddPivotTable','SetPivotFilter','sheet.command.move-pivot-field','workbook\x20is\x20not\x20found','executeCommand','DrillDown','reset','startColumn','onCommandExecuted','SetSubtotalType','blank','rangeType','rgb(255,255,255)','getLastCol','MovePivotField','8kQEUsu','_queryingMap','dataStyle','sheets-pivot.varpName','removePivotField','_resourceManagerService','YearQuarter','_init','sourceRangeInfo','_deletePivotTableInstanceCache','getFieldById','setPivotFilter','removeValueFilterInfoByValueFieldId','getViewData','intersects','defineProperty','sheet.mutation.send-pivot-view-local','getFilterInfo','forRow','sheet.command.add-pivot-table','SetSortInfo','removeDataField','sheet.mutation.set-pivot-sort-info','dateType','undos','initDataRanges','sheets-pivot.cellDateGroupDisplay.yearMonth','sheets-pivot.stdDevName','MUTATION','entries','setConfig','fromJSON','sheet.mutation.pivot-update-field-position','sheets-pivot.value','getRefRangeMutationsByMoveRange','deleteUnitId','iterateField','onQueryStart','updateViewInfo','createDataFieldId','_initCommandInterceptListener','Max\x20of\x20','_dataSyncPrimaryController','setPivotTableConfig','return\x20','sheet.mutation.send-pivot-data-local','sheet.command.move-pivot-table','toJSON','getRangeData','fieldsConfig','reduce','adjustSheetCellData','_pivotTableInstanceCache','GrandTotal','createCollectionWithDataRange','NORMAL','setPivotSort','SHEET_PIVOT_EXCLUSIVE_ID','getColCount','isArray','getColumnWidth','_pivotRenderValueMatrixCache','rowRanges','789NlcrnJ','_subjectFieldsCollectionChange','pushUndoRedo','getformat','getSubtotal','_fieldsCollectionChange$','SetFilterInfo','sheets-pivot.averageName','valueFilter','sheet.mutation.add-pivot-table','dimension','Total','refreshData','addCollection','_initClearSelectionCommandInterceptor','Count\x20of\x20','sheets-pivot.emptyPivot.row'];_0x474d=function(){return _0x6bcc6c;};return _0x474d();}import{cellToRange as _0x4934f2,ObjectMatrix as _0x4d28c3,IUniverInstanceService as _0x4ababf,UniverInstanceType as _0x4d32aa,CellValueType as _0xafbac6,numfmt as _0x1430a8,LocaleService as _0x209ec2,createAsyncInterceptorKey as _0x4687d2,createInterceptorKey as _0x4bdf29,CommandType as _0x198ec0,RANGE_TYPE as _0x50d549,numberToABC as _0x4d133d,Inject as _0x48d3dc,Injector as _0x43a13d,LifecycleService as _0x3f925a,IConfigService as _0x376ed6,ICommandService as _0xeb8ce6,IResourceManagerService as _0x31e3ec,Disposable as _0x3ffe8d,Rectangle as _0x3c2f0c,Tools as _0x35bdc8,AsyncInterceptorManager as _0x22a4d0,InterceptorManager as _0x199036,InterceptorEffectEnum as _0x314d33,CustomCommandExecutionError as _0xb09c31,IUndoRedoService as _0x4768db,sequenceExecute as _0x3146de,mergeWorksheetSnapshotWithDefault as _0x32448d,generateRandomId as _0xe5d4b9,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x4b5b37,DEFAULT_WORKSHEET_ROW_COUNT as _0x12046e,DisposableCollection as _0x5cb9d3,Range as _0x330e7d,DependentOn as _0x2babfb,Optional as _0x4c30fa,Plugin as _0x581f28,merge as _0x102950}from'@univerjs/core';import{ErrorType as _0x42ca0c,serializeRangeWithSpreadsheet as _0x47e8c1,IFeatureCalculationManagerService as _0x1c9711,GlobalComputingStatusService as _0x192fd1,IActiveDirtyManagerService as _0x30a35d}from'@univerjs/engine-formula';import{generateNullCell as _0x473d42,SetRangeValuesUndoMutationFactory as _0x10ea83,SetRangeValuesMutation as _0x20e9d7,getSheetCommandTarget as _0x1fc14d,InsertRowMutation as _0x4114d4,RemoveRowMutation as _0x234dd5,InsertColMutation as _0x3e396b,RemoveColMutation as _0x117ee4,IExclusiveRangeService as _0x26a498,SheetInterceptorService as _0x50cdf6,INTERCEPTOR_POINT as _0x3664fc,InsertSheetCommand as _0x297f03,InsertSheetUndoMutationFactory as _0x432de1,RemoveSheetMutation as _0x55eb9f,InsertSheetMutation as _0x6b5f19,MoveRangeMutation as _0x34820e,SheetsSelectionsService as _0x3c5fec,ClearSelectionContentCommand as _0x1fe896,ClearSelectionAllCommand as _0x2589a6,SetWorksheetColWidthMutation as _0x1bfefb,RefRangeService as _0x4ea1c2,SetWorksheetActiveOperation as _0x267a87,MoveRangeCommand as _0x4a4049,RemoveSheetCommand as _0x4664ba}from'@univerjs/sheets';import{Subject as _0x1a1216,BehaviorSubject as _0x326a55}from'rxjs';import{LS_CONFIG_KEY as _0x19427e,unshiftString as _0x32f7c5,isFeatureAuthorizedWithinTime as _0x5cce1b,getSheetFeatureLimit as _0x1705c3,ReleaseType as _0x40cafa,UniverLicensePlugin as _0x50813d}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0xa5765e,RemoveSheetsFilterMutation as _0x1c078f}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x1aaa8a}from'@univerjs/rpc';import{getFontStyleString as _0x9586bc,FontCache as _0x8e062d}from'@univerjs/engine-render';const Bo=Number[_0x2547f2(0x1fd)](0x68276390),li=0x10,so=0x1,ao='SHEET_PIVOT_TABLE_PLUGIN',It=0x1,di='rgb(240,241,243)',ci=_0x2547f2(0x308),wt=_0x2547f2(0x2b3),ui='#f4f4f5',fi=_0x2547f2(0x294),gi='#eceeff',vi=_0x2547f2(0x24e),hi=_0x2547f2(0x3e6),pi=_0x2547f2(0x244),mi=_0x2547f2(0x24e),Ii=_0x2547f2(0x3e6),Ci=_0x2547f2(0x20c),bi=0xe,Si=0x6;var Ao=(_0xeefdf=>(_0xeefdf[_0x2547f2(0x22e)]=_0x2547f2(0x299),_0xeefdf[_0x2547f2(0x363)]=_0x2547f2(0x427),_0xeefdf))(Ao||{});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,Qe={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ci},'bd':Qe,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':Qe,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':Qe,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':Qe,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':Qe,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':vi},'cl':{'rgb':hi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':Qe,'vt':0x2}};function Ti(_0x190277,_0x58e25d,_0x3717cd){const _0x1b815f=_0x2547f2,_0x37021a=_0x190277['get'](_0x209ec2),_0x3be577=_0x3717cd[_0x1b815f(0x281)]('_');switch(_0x58e25d){case _0x583f29[_0x1b815f(0x41f)]:return _0x37021a['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x3be577);case _0x583f29['Minute']:return _0x37021a['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x3be577);case _0x583f29[_0x1b815f(0x245)]:return _0x37021a['t'](_0x1b815f(0x391),..._0x3be577);case _0x583f29[_0x1b815f(0x27b)]:return _0x37021a['t'](_0x1b815f(0x396),..._0x3be577);case _0x583f29[_0x1b815f(0x365)]:return _0x37021a['t'](_0x1b815f(0x2d3),..._0x3be577);case _0x583f29[_0x1b815f(0x253)]:return _0x37021a['t'](_0x1b815f(0x3ae),..._0x3be577);case _0x583f29[_0x1b815f(0x3b9)]:return _0x37021a['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x3be577);case _0x583f29[_0x1b815f(0x20d)]:return _0x37021a['t'](_0x1b815f(0x325),..._0x3be577);case _0x583f29[_0x1b815f(0x211)]:return _0x37021a['t'](_0x1b815f(0x2d8),..._0x3be577);case _0x583f29[_0x1b815f(0x311)]:return _0x37021a['t'](_0x1b815f(0x39f),..._0x3be577);}return'';}const it=(_0x55696a,_0x27b915,_0x78fbb6,_0x2a22ba)=>{const _0x19a12e=_0x2547f2;let _0x2d9542;const _0x3ffc69=_0x55696a['get'](_0x4ababf)[_0x19a12e(0x2ee)](_0x4d32aa[_0x19a12e(0x41e)]);if(!_0x3ffc69)return null;const _0x25ac9b=_0x3ffc69[_0x19a12e(0x3d2)]();let _0x54087d;if(_0x78fbb6&&(_0x54087d=_0x25ac9b['setValue'](_0x78fbb6)),_0x27b915!=null&&_0x27b915['v']||(_0x27b915==null?void 0x0:_0x27b915['v'])===0x0){_0x2d9542||(_0x2d9542={});const _0x22d426=Lo(_0x27b915['v']);typeof _0x22d426==_0x19a12e(0x3a5)?_0x2d9542['t']=_0xafbac6[_0x19a12e(0x376)]:typeof _0x22d426=='string'&&(_0x2d9542['t']=_0xafbac6['STRING']),_0x2d9542['v']=_0x22d426;}if((_0x27b915!=null&&_0x27b915['i']||(_0x27b915==null?void 0x0:_0x27b915['i'])===0x0)&&(_0x2d9542||(_0x2d9542={}),_0x2d9542['fi']=_0x27b915['i']),_0x27b915!=null&&_0x27b915['s']&&(_0x2d9542||(_0x2d9542={}),_0x2d9542[_0x19a12e(0x3ba)]=_0x27b915['s']),_0x78fbb6&&(_0x2d9542||(_0x2d9542={}),_0x2d9542['s']=_0x54087d),_0x2a22ba&&_0x2d9542!=null&&_0x2d9542['v']&&_0x2d9542[_0x19a12e(0x3ba)]!==_0x1814d9[_0x19a12e(0x340)]&&_0x2d9542[_0x19a12e(0x3ba)]!==_0x1814d9[_0x19a12e(0x382)]){const _0x2673fc=String(_0x2d9542['v']),{dateType:_0x57917f}=_0x2a22ba;_0x2d9542['v']=Ti(_0x55696a,_0x57917f,_0x2673fc),_0x2d9542['t']=_0xafbac6[_0x19a12e(0x368)];}return _0x2d9542;},Mi=(_0x1eb162,_0x3d1a99,_0x3740f6,_0x6a0b33)=>{const _0x23e26a=_0x2547f2;var _0xda3113,_0x36fb46,_0x37fb5a,_0x573d69,_0x4a03de,_0x4a73d5,_0x14982b,_0x17cd5a,_0x2985d9,_0x2f5d29,_0xdfa55c,_0x359eda,_0x5aa5f0,_0x49f794;const _0x13e3d9=_0x3740f6[_0x23e26a(0x422)],{cornerView:_0x45c49e,rowView:_0x23c501,colView:_0x5bd423,dataView:_0xa7176d,pageView:_0x134008,formatMap:_0xfea04f,groupInfo:_0x3b7819}=_0x3d1a99,{row:_0x4b8228,col:_0x1709d7}=_0x13e3d9,_0x4a2ce4=new _0x4d28c3(),_0x4a13b8={},_0x4e82ce={},_0x68ec35={},_0x432ed2={},_0x27236b={};let _0x57b5a6=_0x4b8228,_0x1259f9=_0x1709d7;Object[_0x23e26a(0x420)](_0x134008[_0x23e26a(0x3db)])[_0x23e26a(0x3c9)](_0x22ad67=>{const _0xe6f126=_0x23e26a;Object[_0xe6f126(0x420)](_0x134008[_0xe6f126(0x3db)][Number(_0x22ad67)])[_0xe6f126(0x3c9)](_0x879f56=>{const _0x326cc1=_0xe6f126,_0x57ebee={..._0x134008[_0x326cc1(0x3db)][Number(_0x22ad67)][Number(_0x879f56)]};_0x4a2ce4['setValue'](Number(_0x22ad67)+_0x57b5a6,Number(_0x879f56)+_0x1259f9,it(_0x1eb162,_0x57ebee,fe['pageStyle']));});});const _0x4ba3b6=Object[_0x23e26a(0x420)](_0x134008[_0x23e26a(0x3db)])[_0x23e26a(0x1f7)];_0x57b5a6+=_0x4ba3b6+(_0x4ba3b6?It:0x0);const _0x5cf021=_0x45c49e[_0x23e26a(0x292)](),_0x230b03=_0x45c49e[_0x23e26a(0x345)]();for(let _0x554e5f=0x0;_0x554e5f<_0x5cf021;_0x554e5f++)for(let _0x30de22=0x0;_0x30de22<_0x230b03;_0x30de22++){const _0x5ccd23={...(_0x36fb46=(_0xda3113=_0x45c49e['data'])==null?void 0x0:_0xda3113[_0x554e5f])==null?void 0x0:_0x36fb46[_0x30de22]};_0x5ccd23&&((_0x37fb5a=_0x23c501['headerMap'][_0x30de22])!=null&&_0x37fb5a[_0x23e26a(0x35f)])&&_0x30de22===_0x230b03-0x1&&_0x554e5f===_0x5cf021-0x1&&(_0x5ccd23['v']=''+_0x6a0b33[_0x23e26a(0x32c)]),_0x4a2ce4[_0x23e26a(0x430)](_0x554e5f+_0x57b5a6,_0x30de22+_0x1259f9,it(_0x1eb162,_0x5ccd23,fe['cornerStyle']));}for(let _0x511065=0x0;_0x511065<_0x45c49e['info']['length'];_0x511065++)_0x45c49e[_0x23e26a(0x246)][_0x511065]&&(_0x68ec35[''+(_0x511065+_0x1259f9)]=_0x45c49e['info'][_0x511065]);_0x1259f9+=_0x230b03;const _0xa6b03c=_0x5bd423[_0x23e26a(0x35d)],_0x426294=_0x5bd423['getLastRow']()>=0x0?_0x5bd423['getLastRow']()+0x1:0x0,_0x511892=_0x5bd423[_0x23e26a(0x309)]()>=0x0?_0x5bd423[_0x23e26a(0x309)]()+0x1:0x0;for(let _0x3816be=0x0;_0x3816be<_0x511892;_0x3816be++){for(let _0x4d209f=0x0;_0x4d209f<_0x426294;_0x4d209f++){const _0x190c54={...(_0x4a03de=(_0x573d69=_0x5bd423[_0x23e26a(0x3db)])==null?void 0x0:_0x573d69[_0x4d209f])==null?void 0x0:_0x4a03de[_0x3816be]},_0x1ec282=(_0x4a73d5=_0xa6b03c[_0x4d209f])==null?void 0x0:_0x4a73d5[_0x23e26a(0x279)],_0x221faf=_0xfea04f[_0x1ec282],_0x4c4257=_0x3b7819[_0x1ec282];_0x190c54&&(_0x190c54['v']=ht(_0x190c54,_0x4d209f===0x0&&((_0x14982b=_0x5bd423[_0x23e26a(0x266)](_0x3816be+0x1))==null?void 0x0:_0x14982b[_0x23e26a(0x35f)]),_0x221faf,_0x6a0b33));let _0x42c2c1;_0x221faf?_0x42c2c1={...fe[_0x23e26a(0x3a3)],'n':{'pattern':_0x221faf}}:_0x42c2c1={...fe[_0x23e26a(0x3a3)]},_0x4a2ce4[_0x23e26a(0x430)](_0x4d209f+_0x57b5a6,_0x3816be+_0x1259f9,it(_0x1eb162,_0x190c54,_0x42c2c1,_0x4c4257));}_0x5bd423['info'][_0x3816be]&&(_0x4e82ce[''+(_0x3816be+_0x1259f9)]=_0x5bd423[_0x23e26a(0x246)][_0x3816be]),_0x5bd423['headerMap'][_0x3816be+0x1]&&(_0x27236b[''+(_0x3816be+_0x57b5a6+0x1)]=_0x5bd423['headerMap'][_0x3816be+0x1]);}_0x57b5a6+=_0x5cf021;const _0x2d1255=_0x23c501['headerMap'],_0x13e1cf=_0x23c501[_0x23e26a(0x2df)]()>=0x0?_0x23c501[_0x23e26a(0x2df)]()+0x1:0x0,_0x279ea8=_0x23c501[_0x23e26a(0x309)]()>=0x0?_0x23c501[_0x23e26a(0x309)]()+0x1:0x0;for(let _0x23fd5b=0x0;_0x23fd5b<_0x13e1cf;_0x23fd5b++){for(let _0x458b12=0x0;_0x458b12<_0x279ea8;_0x458b12++){const _0x12fb1e={...(_0x2985d9=(_0x17cd5a=_0x23c501['data'])==null?void 0x0:_0x17cd5a[_0x23fd5b])==null?void 0x0:_0x2985d9[_0x458b12]},_0x2547e1=(_0x2f5d29=_0x2d1255[_0x458b12])==null?void 0x0:_0x2f5d29[_0x23e26a(0x279)],_0x1cc5f7=_0xfea04f[_0x2547e1],_0x580744=_0x3b7819[_0x2547e1];_0x12fb1e&&(_0x12fb1e['v']=ht(_0x12fb1e,!0x1,_0x1cc5f7,_0x6a0b33));let _0x840442;_0x23c501[_0x23e26a(0x246)][_0x23fd5b][_0x23e26a(0x25b)]===_0x23c501[_0x23e26a(0x345)]()?_0x840442=fe[_0x23e26a(0x3b6)]:_0x23c501[_0x23e26a(0x246)][_0x23fd5b][_0x23e26a(0x29e)]?_0x840442=_0x23c501['info'][_0x23fd5b]['level']===0x0?fe['grandTotal']:fe[_0x23e26a(0x242)]:_0x840442=fe[_0x23e26a(0x231)],_0x1cc5f7&&(_0x840442={..._0x840442,'n':{'pattern':_0x1cc5f7}}),_0x4a2ce4['setValue'](_0x23fd5b+_0x57b5a6,_0x458b12+_0x1709d7,it(_0x1eb162,_0x12fb1e,_0x840442,_0x580744));}_0x23c501[_0x23e26a(0x246)][_0x23fd5b]&&(_0x4a13b8[''+(_0x23fd5b+_0x57b5a6)]=_0x23c501[_0x23e26a(0x246)][_0x23fd5b]),_0x23c501[_0x23e26a(0x35d)][_0x23fd5b]&&(_0x432ed2[''+(_0x23fd5b+_0x1709d7)]=_0x23c501[_0x23e26a(0x35d)][_0x23fd5b]);}const _0x489ce8=_0xa7176d['getRowCount'](),_0x3a3a92=_0xa7176d[_0x23e26a(0x345)]();for(let _0x17d500=0x0;_0x17d500<_0x489ce8;_0x17d500++)for(let _0x154d93=0x0;_0x154d93<_0x3a3a92;_0x154d93++){const _0x5db69b={...(_0x359eda=(_0xdfa55c=_0xa7176d[_0x23e26a(0x3db)])==null?void 0x0:_0xdfa55c[_0x17d500])==null?void 0x0:_0x359eda[_0x154d93]};let _0x504b5c;_0x23c501['info'][_0x17d500][_0x23e26a(0x29e)]?_0x504b5c=_0x23c501[_0x23e26a(0x246)][_0x17d500][_0x23e26a(0x25b)]===0x0?fe[_0x23e26a(0x441)]:fe['subTotalStyle']:_0x504b5c=fe[_0x23e26a(0x30d)];const _0x45ede3=_0x23c501[_0x23e26a(0x246)][_0x17d500][_0x23e26a(0x42e)],_0x44ab39=_0x5bd423[_0x23e26a(0x246)][_0x154d93]['valueIndex'],_0x9dd3c4=Math[_0x23e26a(0x240)](_0x45ede3,_0x44ab39),_0x37b272=_0x3740f6[_0x23e26a(0x33c)]['valueFields'][_0x23e26a(0x43e)]();let _0x89fb43='';_0x9dd3c4<0x0?_0x89fb43=(_0x5aa5f0=_0x37b272[0x0])!=null?_0x5aa5f0:'':_0x89fb43=(_0x49f794=_0x37b272[_0x9dd3c4])!=null?_0x49f794:'';const _0x47b7f1=_0xfea04f[_0x89fb43];_0x47b7f1&&(_0x504b5c={..._0x504b5c,'n':{'pattern':_0x47b7f1}}),_0x4a2ce4[_0x23e26a(0x430)](_0x17d500+_0x57b5a6,_0x154d93+_0x1259f9,it(_0x1eb162,_0x5db69b,_0x504b5c));}return{'valueMatrix':_0x4a2ce4,'rowInfo':_0x4a13b8,'colInfo':_0x4e82ce,'cornerInfo':_0x68ec35,'rowHeaderMap':_0x432ed2,'colHeaderMap':_0x27236b};};function ht(_0x525470,_0x1c0592,_0x34f1ae,_0x4e630b){const _0x4e62e3=_0x2547f2;let _0x17f408=_0x525470['v'];_0x1c0592&&(_0x17f408=''+_0x4e630b[_0x4e62e3(0x32c)]);const _0x5b88a9=_0x525470['t']&&(_0x525470['t']&_0x14a97b['blank'])>0x0;if(_0x5b88a9&&(_0x17f408=''+_0x4e630b[_0x4e62e3(0x3d5)]),_0x525470['s']===_0x1814d9[_0x4e62e3(0x382)]){let _0x2d183b=_0x17f408,_0x343e4d='';_0x6cda49(_0x17f408)&&(_0x2d183b=_0x17f408['prefix'],_0x343e4d=_0x17f408[_0x4e62e3(0x2ce)]);const _0xd7ddd=_0x34f1ae&&!_0x5b88a9?_0x1430a8[_0x4e62e3(0x3b3)](_0x34f1ae,Number(_0x2d183b)):_0x2d183b;_0x343e4d?_0x17f408=_0xd7ddd+'\x20'+_0x343e4d:_0x17f408=_0xd7ddd+'\x20'+_0x4e630b['sheets-pivot.subTotal'];}else _0x525470['s']===_0x1814d9['GrandTotal']&&(_0x17f408=_0x17f408+'\x20'+_0x4e630b[_0x4e62e3(0x1dc)]);return _0x17f408;}function Lo(_0x46e58b){const _0xcbb1e3=_0x2547f2;if(_0x1be2a3(_0x46e58b)){const {errorType:_0xb8251a}=_0x46e58b;switch(_0xb8251a){case _0x2f804b['Div0']:return _0x42ca0c['DIV_BY_ZERO'];case _0x2f804b[_0xcbb1e3(0x2eb)]:return _0x42ca0c[_0xcbb1e3(0x40c)];case _0x2f804b[_0xcbb1e3(0x435)]:return _0x42ca0c['NAME'];case _0x2f804b[_0xcbb1e3(0x2af)]:return _0x42ca0c[_0xcbb1e3(0x3ea)];case _0x2f804b[_0xcbb1e3(0x2a6)]:return _0x42ca0c[_0xcbb1e3(0x293)];}}return _0x46e58b;}function ge(_0x1453d8,_0x177e4b,_0x58af0b=!0x1,_0x5145cd=!0x1){const _0x3183c1=_0x2547f2,{data:_0x282a8e}=_0x177e4b,_0x4119b7=_0x177e4b[_0x3183c1(0x292)](),_0x3b9d1b=_0x177e4b[_0x3183c1(0x345)]();if(_0x4119b7<=0x0||_0x3b9d1b<=0x0)return[];const _0x49e759=_0x177e4b['getLastCol'](),_0x5b8bbb=_0x177e4b[_0x3183c1(0x2df)](),_0x3c8426=_0x5145cd?_0x5b8bbb>=0x0?_0x5b8bbb+0x1:0x0:_0x4119b7,_0x21860e=_0x5145cd?_0x49e759>=0x0?_0x49e759+0x1:0x0:_0x3b9d1b,{row:_0x259702,col:_0x326236}=_0x1453d8,_0x1158ae=_0x259702,_0x46aab9=_0x326236;if(_0x58af0b){const _0x50fd5a=[];for(const [_0x1f8d8f,_0x2a3ca3]of Object[_0x3183c1(0x328)](_0x282a8e))for(const [_0x36614c,_0x9117d6]of Object[_0x3183c1(0x328)](_0x2a3ca3))_0x50fd5a[_0x3183c1(0x249)](_0x4934f2(_0x1158ae+Number(_0x1f8d8f),_0x46aab9+Number(_0x36614c)));return _0x50fd5a;}else{const _0x13fb19=_0x5145cd?_0x3c8426>0x0?0x1:0x0:0x1,_0x4f9ed1=_0x5145cd?_0x21860e>0x0?0x1:0x0:0x1,_0x5482a0=_0x259702+_0x3c8426-_0x13fb19,_0x38e482=_0x326236+_0x21860e-_0x4f9ed1;return[{'startRow':_0x1158ae,'startColumn':_0x46aab9,'endRow':_0x5482a0,'endColumn':_0x38e482}];}}const W=_0x2547f2(0x407),At=_0x2547f2(0x344);var B=(_0x4a52e6=>(_0x4a52e6[_0x2547f2(0x2c1)]='filter',_0x4a52e6['Panel']='panel',_0x4a52e6['AddPivotField']='addPivotField',_0x4a52e6[_0x2547f2(0x423)]=_0x2547f2(0x423),_0x4a52e6[_0x2547f2(0x2fc)]='addPivotTable',_0x4a52e6[_0x2547f2(0x30a)]=_0x2547f2(0x384),_0x4a52e6[_0x2547f2(0x3cc)]=_0x2547f2(0x30f),_0x4a52e6[_0x2547f2(0x385)]='setPivotCollapse',_0x4a52e6[_0x2547f2(0x2fd)]=_0x2547f2(0x316),_0x4a52e6[_0x2547f2(0x36f)]='setPivotSort',_0x4a52e6[_0x2547f2(0x212)]=_0x2547f2(0x37a),_0x4a52e6['UpdatePivotSource']=_0x2547f2(0x262),_0x4a52e6[_0x2547f2(0x3f0)]=_0x2547f2(0x38e),_0x4a52e6['DrillDown']='drillDown',_0x4a52e6[_0x2547f2(0x381)]=_0x2547f2(0x1e7),_0x4a52e6[_0x2547f2(0x390)]='setPivotTableConfig',_0x4a52e6['ResetPivotTable']=_0x2547f2(0x2dc),_0x4a52e6))(B||{});const yi={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x2547f2(0x355),'sheets-pivot.grandTotalText':_0x2547f2(0x2ba),'sheets-pivot.valueText':_0x2547f2(0x27d),'sheets-pivot.averageName':_0x2547f2(0x288),'sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':_0x2547f2(0x359),'sheets-pivot.maxName':_0x2547f2(0x334),'sheets-pivot.minName':_0x2547f2(0x411),'sheets-pivot.productName':_0x2547f2(0x210),'sheets-pivot.stdDevName':_0x2547f2(0x375),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x2547f2(0x43a),'sheets-pivot.subTotal':_0x2547f2(0x382),'sheets-pivot.grandTotal':_0x2547f2(0x2ba),'sheets-pivot.value':'value','sheets-pivot.blank':_0x2547f2(0x306),'sheets-pivot.emptyPivot.filter':_0x2547f2(0x2c1),'sheets-pivot.emptyPivot.row':_0x2547f2(0x36e),'sheets-pivot.emptyPivot.column':_0x2547f2(0x408),'sheets-pivot.emptyPivot.values':_0x2547f2(0x1f6)},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x4687d2(_0x2547f2(0x2c0)),Ko=_0x4bdf29(_0x2547f2(0x2ab));var He=(_0x4d05f8=>(_0x4d05f8[_0x2547f2(0x22f)]=_0x2547f2(0x22f),_0x4d05f8[_0x2547f2(0x2c9)]=_0x2547f2(0x2c9),_0x4d05f8[_0x2547f2(0x227)]=_0x2547f2(0x227),_0x4d05f8))(He||{}),L=(_0x28c4a9=>(_0x28c4a9['Add']='add',_0x28c4a9[_0x2547f2(0x2dd)]=_0x2547f2(0x402),_0x28c4a9['Delete']=_0x2547f2(0x2c9),_0x28c4a9))(L||{});const Jo={0x0:'I',0x1:'R',0x2:'F',0x3:'6',0x4:'z',0x5:'Y',0x6:'x',0x7:'u',0x8:'4',0x9:'B','w':'0','V':'1','E':'2','T':'3','W':'5','O':'7','X':'8','S':'9','K':'a','c':'b','x':'c','J':'d','H':'e','U':'f','p':'g','i':'h','d':'i','N':'j','M':'k','b':'l','R':'m','k':'n','Q':'o','D':'p','o':'q','Z':'r','B':'s','m':'t','Y':'v','t':'w','l':'y','s':'A','z':'C','A':'D','h':'E','G':'G','C':'H','v':'J','q':'K','I':'L','f':'M','r':'N','L':'O','u':'P','n':'Q','F':'S','e':'T','P':'U','j':'V','g':'W','y':'X','a':'Z'},$o='U7kxmdQk\x20JHxZlDmdQk(bdxHkBH,\x20D7cbdxqHl)\x20{\x20\x20\x20\x20mZl\x20{\x20\x20\x20\x20\x20\x20\x20\x20xQkBm\x20bdxHkBH0kUQuKZmsZZKl\x20=\x20bdxHkBH.BDbdm(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20xQkBm\x20QZdpdkfHBBKpH\x20=\x20vFLr.DKZBH(KmQc(bdxHkBH0kUQuKZmsZZKl[E]));\x20\x20\x20\x20\x20\x20\x20\x20dU\x20(!QZdpdkfHBBKpH.7J)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QZdpdkfHBBKpH.7J\x20=\x20r7RcHZ(bdxHkBH0kUQuKZmsZZKl[8]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20xQkBm\x20dBgQZMHZ\x20=\x20mlDHQU\x20gQZMHZGbQcKbFxQDH\x20!==\x20\x277kJHUdkHJ\x27\x20&&\x20BHbU\x20dkBmKkxHQU\x20gQZMHZGbQcKbFxQDH;\x20\x20\x20\x20\x20\x20\x20\x20xQkBm\x20xQkmH6m\x20=\x20dBgQZMHZ\x20?\x20BHbU\x20:\x20tdkJQt;\x20\x20\x20\x20\x20\x20\x20\x20xQkBm\x20RHBBKpHgQZJ\x20=\x20xQkmH6m.__9KBH38__.DKZBH(bdxHkBH0kUQuKZmsZZKl[E]);\x20\x20\x20\x20\x20\x20\x20\x20xQkBm\x20RHBBKpH\x20=\x20xQkmH6m.__CH6__.BmZdkpdUl(RHBBKpHgQZJ);\x20\x20\x20\x20\x20\x20\x20\x20xQkBm\x20BdpkKm7ZHgQZJ\x20=\x20xQkmH6m.__9KBH38__.DKZBH(bdxHkBH0kUQuKZmsZZKl[T]);\x20\x20\x20\x20\x20\x20\x20\x20xQkBm\x20BdpkKm7ZH\x20=\x20xQkmH6m.__CH6__.BmZdkpdUl(BdpkKm7ZHgQZJ);\x20\x20\x20\x20\x20\x20\x20\x20xQkBm\x20BdpkjKbdJ\x20=\x20xQkmH6m.__YHZdUl__(BdpkKm7ZH,\x20RHBBKpH,\x20D7cbdxqHl);\x20\x20\x20\x20\x20\x20\x20\x20xQkBm\x20JQRKdk\x20=\x20QZdpdkfHBBKpH.JR;\x20\x20\x20\x20\x20\x20\x20\x20U7kxmdQk\x20dBAQRKdkfKmxidkp(QuKmmHZk,\x20QCQBm)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xQkBm\x20DKmmHZk\x20=\x20QuKmmHZk.ZHDbKxH(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xQkBm\x20iQBm\x20=\x20QCQBm.ZHDbKxH(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xQkBm\x20DKmmHZkuKZmB\x20=\x20DKmmHZk.BDbdm(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xQkBm\x20iQBmuKZmB\x20=\x20iQBm.BDbdm(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dU\x20(!DKmmHZk.dkxb7JHB(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZHm7Zk\x20DKmmHZk\x20===\x20iQBm;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dU\x20(DKmmHZkuKZmB.bHkpmi\x20<\x20E\x20||\x20DKmmHZkuKZmB[w]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZHm7Zk\x20UKbBH;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xQkBm\x20DKmmHZkF7UUd6\x20=\x20DKmmHZkuKZmB.BbdxH(V).NQdk(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xQkBm\x20iQBmF7UUd6\x20=\x20iQBmuKZmB.BbdxH(-DKmmHZkuKZmB.bHkpmi\x20+\x20V).NQdk(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZHm7Zk\x20DKmmHZkF7UUd6\x20===\x20iQBmF7UUd6;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20bHm\x20JQRKdkjKbdJ\x20=\x20(JQRKdk\x20&&\x20JQRKdk.bHkpmi)\x20?\x20JQRKdk.BQRH((JR0mHR)\x20=>\x20dBAQRKdkfKmxidkp(JR0mHR,\x20bQxKmdQk.iQBmkKRH))\x20:\x20mZ7H;\x20\x20\x20\x20\x20\x20\x20\x20dU\x20(bQxKmdQk.iQBmkKRH\x20===\x20\x27bQxKbiQBm\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JQRKdkjKbdJ\x20=\x20mZ7H;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20xQkBm\x20YKbdJ\x20=\x20BdpkjKbdJ\x20&&\x20JQRKdkjKbdJ;\x20\x20\x20\x20\x20\x20\x20\x20ZHm7Zk\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YKbdJ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RHBBKpH:\x20QZdpdkfHBBKpH,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20xKmxi\x20(HZZQZ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20ZHm7Zk\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YKbdJ:\x20UKbBH,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RHBBKpH:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',ro={'type':_0x198ec0[_0x2547f2(0x327)],'id':_0x2547f2(0x3c2),'handler':()=>!0x0},lo={'type':_0x198ec0['MUTATION'],'id':_0x2547f2(0x338),'handler':()=>!0x0},Dt={'type':_0x198ec0[_0x2547f2(0x327)],'id':_0x2547f2(0x31b),'handler':()=>!0x0},co={'type':_0x198ec0['MUTATION'],'id':_0x2547f2(0x416),'handler':()=>!0x0},uo={'type':_0x198ec0[_0x2547f2(0x327)],'id':_0x2547f2(0x43c),'handler':()=>!0x0},wi=_0xc67bfd=>{const _0x331f19=_0x2547f2;var _0xabb065;return((_0xabb065=_0xc67bfd[_0x331f19(0x41b)])==null?void 0x0:_0xabb065[_0x331f19(0x267)]['replace'](/\r\n$/,''))||'';};class _i extends _0x4c367d{constructor(_0x4b3662,_0x5403de){const _0x2ca9d0=_0x2547f2;super(),x(this,_0x2ca9d0(0x201),{}),x(this,_0x2ca9d0(0x261)),x(this,'_host'),(this[_0x2ca9d0(0x261)]=_0x5403de,this[_0x2ca9d0(0x43f)]=_0x4b3662);}[_0x2547f2(0x324)](){const _0x2c24e1=_0x2547f2;for(const _0x351a39 in this[_0x2c24e1(0x2d4)]){const _0x442a6a=this[_0x2c24e1(0x2d4)][_0x351a39],_0x2528a5=_0x442a6a[_0x2c24e1(0x2ec)]();this[_0x2c24e1(0x201)][_0x2528a5]=_0x442a6a[_0x2c24e1(0x2d6)]();}}[_0x2547f2(0x418)](){const _0x4c4539=_0x2547f2,_0x321a2f=this[_0x4c4539(0x43f)];return Vi['bind'](_0x321a2f);}['deleteDataField'](_0xd13f70){const _0x4d9a4f=_0x2547f2,_0x339943=this[_0x4d9a4f(0x2d4)][_0xd13f70]['rangeKey'];delete this[_0x4d9a4f(0x2d4)][_0xd13f70],delete this['rangeKeyMap'][_0x339943];}[_0x2547f2(0x397)](_0xfbba32){this['dataFields'][_0xfbba32['getId']()]=_0xfbba32;}[_0x2547f2(0x38f)](_0xc857b5){const _0x97bc49=_0x2547f2;var _0x4c3898,_0x1e04c6;const _0x3152a2=this[_0x97bc49(0x43f)][_0x97bc49(0x2cd)](_0xc857b5);if(_0x3152a2){const {unitId:_0x1cad62,subUnitId:_0x28ad87}=_0x3152a2,_0x2a5e78=(_0x4c3898=this[_0x97bc49(0x43f)]['getPivotTableConfig'](_0x1cad62,_0x28ad87,_0xc857b5))==null?void 0x0:_0x4c3898[_0x97bc49(0x313)];this[_0x97bc49(0x43f)][_0x97bc49(0x1eb)]({'token':_0xc857b5,'type':He[_0x97bc49(0x2c9)],'dataRangeInfo':_0x2a5e78});}(_0x1e04c6=this['getCollection'](_0xc857b5))==null||_0x1e04c6[_0x97bc49(0x2f2)](),delete this[_0x97bc49(0x2f5)][_0xc857b5];}[_0x2547f2(0x2ec)](_0xaf7252,_0x2450b4){const {sheetName:_0x51a49b,unitId:_0x1f064c,range:_0x5866e2}=_0xaf7252,{startRow:_0x182c16,endRow:_0x14470d}=_0x5866e2;return _0x47e8c1(_0x1f064c,_0x51a49b,{'startRow':_0x182c16,'endRow':_0x14470d,'startColumn':_0x2450b4,'endColumn':_0x2450b4});}[_0x2547f2(0x3ee)](_0x3a5ebf){const _0x8cca64=_0x2547f2;return this[_0x8cca64(0x2d4)][this[_0x8cca64(0x201)][_0x3a5ebf]];}[_0x2547f2(0x3ac)](_0x3e8efe,_0x372d52){const _0x1cb6d5=_0x2547f2;this[_0x1cb6d5(0x201)][_0x3e8efe]=_0x372d52;}[_0x2547f2(0x2fb)](_0x51b643,_0x3a20e9){const _0x3591f8=_0x2547f2;this[_0x3591f8(0x201)][_0x3a20e9]=this['rangeKeyMap'][_0x51b643],delete this[_0x3591f8(0x201)][_0x51b643];}[_0x2547f2(0x429)](_0x31084b,_0x488997,_0x24bd7c,_0x298887){const _0x55989b=_0x2547f2,_0x788dd6=new _0x125601(this);_0x788dd6['fromJSON'](_0x488997);const _0x2cbe93=[];let _0x2c10df=0x0;for(const _0x44424c of _0x788dd6['fieldIds']){const _0x54c059=this['getRangeKey'](_0x24bd7c,_0x2c10df),_0x561675=this['dataFields'][_0x44424c];_0x561675&&(_0x561675[_0x55989b(0x389)]=_0x54c059,this[_0x55989b(0x3ac)](_0x54c059,_0x44424c),_0x2cbe93[_0x55989b(0x249)]({'index':_0x2c10df,'dataField':_0x561675})),_0x2c10df++;}return this[_0x55989b(0x357)](_0x31084b,_0x788dd6,_0x24bd7c,_0x298887),{'collection':_0x788dd6,'updateDataFieldList':_0x2cbe93};}[_0x2547f2(0x2cc)](_0x1fbfc5,_0x416d79){const _0x2b86d6=_0x2547f2;return _0x1fbfc5['rangeType']===_0x50d549[_0x2b86d6(0x3bf)]?{'startRow':0x0,'startColumn':_0x1fbfc5[_0x2b86d6(0x303)],'endRow':_0x416d79[_0x2b86d6(0x292)]()-0x1,'endColumn':_0x1fbfc5[_0x2b86d6(0x238)]}:{'startRow':_0x1fbfc5['startRow'],'startColumn':_0x1fbfc5[_0x2b86d6(0x303)],'endRow':_0x1fbfc5[_0x2b86d6(0x228)],'endColumn':_0x1fbfc5[_0x2b86d6(0x238)]};}['createCollectionWithDataRange'](_0x5e52e5){const _0x13dd9d=_0x2547f2,{sheetName:_0x227db0,range:_0x580771}=_0x5e52e5,_0x3b02e5=this['_univerInstanceService']['getCurrentUnitForType'](_0x4d32aa[_0x13dd9d(0x41e)]),_0x9c8fd=_0x3b02e5[_0x13dd9d(0x3d9)](_0x227db0),_0x477fdf=_0x9c8fd['getCellMatrix'](),{startColumn:_0x4528db,startRow:_0x1a3d8c,endColumn:_0x2400ce}=this[_0x13dd9d(0x2cc)](_0x580771,_0x9c8fd),_0x328b2b=_0x3b02e5['getStyles'](),_0x4e6d19=new _0x125601(this);_0x4e6d19[_0x13dd9d(0x3f4)](_0x5e52e5);const _0x38fd62=[],_0x116f53={};for(let _0x2e9edf=_0x4528db;_0x2e9edf<=_0x2400ce;_0x2e9edf++){const _0x19a73a=_0x477fdf[_0x13dd9d(0x291)](_0x1a3d8c,_0x2e9edf),_0x16ac17=this[_0x13dd9d(0x2ec)](_0x5e52e5,_0x2e9edf),_0x4cd273=this[_0x13dd9d(0x3ee)](_0x16ac17);if(_0x4cd273)_0x4e6d19[_0x13dd9d(0x230)](_0x4cd273['getId'](),_0x4cd273[_0x13dd9d(0x3d7)]());else{const _0x44d75d=this[_0x13dd9d(0x332)]();let _0x552808=this[_0x13dd9d(0x33e)](_0x19a73a,_0x328b2b,_0x116f53);_0x5d1c21(_0x552808)&&(_0x552808=_0x1430a8[_0x13dd9d(0x3b3)](_0x552808['f'],Number(_0x552808['v'])));const _0x4d713e=this['uniqueDataFieldName'](_0x552808,_0x2e9edf),_0x3139bb=new _0x2e8646(_0x44d75d,_0x4d713e,_0x1c299d(0x3));_0x3139bb[_0x13dd9d(0x389)]=_0x16ac17,this[_0x13dd9d(0x2d4)][_0x44d75d]=_0x3139bb,_0x4e6d19['addField'](_0x44d75d,_0x4d713e),_0x38fd62['push']({'index':_0x2e9edf,'dataField':_0x3139bb});}}return{'updateDataFieldList':_0x38fd62,'collection':_0x4e6d19};}[_0x2547f2(0x1e8)](_0x1bb204){const _0x3f9562=_0x2547f2;return this[_0x3f9562(0x43f)]['getTextInfo']()[_0x3f9562(0x398)]+'\x20'+_0x4d133d(_0x1bb204);}[_0x2547f2(0x36a)](_0xd5d4e5,_0x4a52ab){const _0x3ff998=_0x2547f2;return _0xd5d4e5==null||_0xd5d4e5===''?this[_0x3ff998(0x1e8)](_0x4a52ab):String(_0xd5d4e5);}['getCollection'](_0x5c0d98){const _0x6ebbd3=_0x2547f2;return this[_0x6ebbd3(0x2f5)][_0x5c0d98];}[_0x2547f2(0x357)](_0x3e12fa,_0x565f95,_0x4ae12f,_0xbd18ed){const _0x598689=_0x2547f2;this[_0x598689(0x2f5)][_0x3e12fa]=_0x565f95,_0x565f95[_0x598689(0x3f4)](_0x4ae12f),this[_0x598689(0x43f)][_0x598689(0x1eb)]({'token':_0x3e12fa,'type':He[_0x598689(0x22f)],'dataRangeInfo':_0x4ae12f,'targetCellInfo':_0xbd18ed});}[_0x2547f2(0x2d2)](_0x40d99b,_0x56265f){const _0x14bb18=_0x2547f2,_0x36721a=this[_0x14bb18(0x23d)](_0x40d99b),_0x59362b=_0x36721a[_0x14bb18(0x275)]();let _0x3ee3a0=0x0;for(const _0x3f5f6a of _0x59362b){const _0x3b07d5=_0x36721a[_0x14bb18(0x315)](_0x3f5f6a),_0x967bc8=this[_0x14bb18(0x2ec)](_0x56265f,_0x3ee3a0);this[_0x14bb18(0x2fb)](_0x3b07d5[_0x14bb18(0x389)],_0x967bc8),_0x3ee3a0++;}}[_0x2547f2(0x440)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x2547f2(0x20e)](_0x2efc2c,_0x36d3e9){const _0x8431c4=_0x2547f2;if(this['getCollection'](_0x2efc2c)){const _0x28e47f=this[_0x8431c4(0x3b8)](_0x36d3e9),_0x86f68c=[];for(const _0x505dad of _0x28e47f)this[_0x8431c4(0x201)][_0x505dad]!==void 0x0&&_0x86f68c[_0x8431c4(0x249)](this['rangeKeyMap'][_0x505dad]);const _0x960e02=this[_0x8431c4(0x400)](_0x2efc2c),_0x129fbe=[],_0x492006=new Set(_0x86f68c);for(const _0x12b714 of _0x960e02)_0x492006[_0x8431c4(0x28e)](_0x12b714)||_0x129fbe[_0x8431c4(0x249)](_0x12b714);return _0x129fbe;}}[_0x2547f2(0x41c)](_0x2e025b,_0x3c7fe2,_0x53acf7,_0x1a8c3c,_0x2dbd1f){const _0xb0e0d7=_0x2547f2;return _0x3c7fe2&&_0x3c7fe2['getValue'](_0x1a8c3c,_0x2dbd1f)?_0x3c7fe2[_0xb0e0d7(0x291)](_0x1a8c3c,_0x2dbd1f):_0x53acf7&&_0x53acf7['getValue'](_0x1a8c3c,_0x2dbd1f)?_0x53acf7[_0xb0e0d7(0x291)](_0x1a8c3c,_0x2dbd1f):_0x2e025b[_0xb0e0d7(0x291)](_0x1a8c3c,_0x2dbd1f);}['refreshDataField'](_0x1c5ce7,_0x562138,_0xd32b51,_0x199971){const _0x58369b=_0x2547f2,_0x5014e9=this['dataFields'][_0x1c5ce7];if(!_0x5014e9)return;const {subUnitId:_0x4ffcf9,range:_0x1576b5,unitId:_0x45c572}=_0x562138,_0x46eef8=this[_0x58369b(0x261)][_0x58369b(0x268)](_0x45c572);if(!_0x46eef8){console['error']('workbook\x20is\x20not\x20found');return;}const _0x3a490f=_0x46eef8[_0x58369b(0x226)](_0x4ffcf9),_0x208d22=_0x3a490f[_0x58369b(0x413)](),{arrayFormulaCellDataMatrix:_0xb83d2f,unitDataMatrix:_0x4291e8}=_0x199971||{},{startRow:_0x2e4fbd,startColumn:_0x200658,endRow:_0x28afe6}=this[_0x58369b(0x2cc)](_0x1576b5,_0x3a490f);_0x5014e9[_0x58369b(0x302)]();const _0x3a3cf9=_0x46eef8[_0x58369b(0x3d2)](),_0x30b821={},_0x3a3327=this[_0x58369b(0x41c)](_0x208d22,_0xb83d2f,_0x4291e8,_0x2e4fbd,_0x200658+_0xd32b51);let _0x5917ec=this['adjustSheetCellData'](_0x3a3327,_0x3a3cf9,_0x30b821);_0x5d1c21(_0x5917ec)&&(_0x5917ec=_0x1430a8[_0x58369b(0x3b3)](_0x5917ec['f'],Number(_0x5917ec['v'])));const _0x26e5a9=this[_0x58369b(0x36a)](_0x5917ec,_0x200658+_0xd32b51);_0x5014e9[_0x58369b(0x2a5)](_0x26e5a9);for(let _0x18c7da=_0x2e4fbd+0x1;_0x18c7da<=_0x28afe6;_0x18c7da++){const _0x5ce97d=this[_0x58369b(0x41c)](_0x208d22,_0xb83d2f,_0x4291e8,_0x18c7da,_0x200658+_0xd32b51);_0x5014e9['addRecord'](this['adjustSheetCellData'](_0x5ce97d,_0x3a3cf9,_0x30b821),_0x18c7da-0x1-_0x2e4fbd);}}[_0x2547f2(0x356)](_0x347bf6,_0x1b27f5,_0x39c332){const _0x24de5d=_0x2547f2,{subUnitId:_0x38083b,range:_0x5629ef,unitId:_0x464405}=_0x39c332,_0x3844b3=this[_0x24de5d(0x261)][_0x24de5d(0x268)](_0x464405);if(!_0x3844b3){console[_0x24de5d(0x289)](_0x24de5d(0x2ff));return;}const _0x528bce=_0x3844b3[_0x24de5d(0x226)](_0x38083b),_0x1c0b3d=_0x528bce[_0x24de5d(0x413)](),{startRow:_0x354b78,startColumn:_0x5ae643,endRow:_0x496773}=this[_0x24de5d(0x2cc)](_0x5629ef,_0x528bce),_0x525068=_0x3844b3[_0x24de5d(0x3d2)](),_0x53dcec={};for(const {dataField:_0x49a594,index:_0x4618c4}of _0x1b27f5){_0x49a594[_0x24de5d(0x302)]();const _0x2f5656=this[_0x24de5d(0x41c)](_0x1c0b3d,void 0x0,void 0x0,_0x354b78,_0x5ae643+_0x4618c4);let _0x173a1a=this[_0x24de5d(0x33e)](_0x2f5656,_0x525068,_0x53dcec);_0x5d1c21(_0x173a1a)&&(_0x173a1a=_0x1430a8[_0x24de5d(0x3b3)](_0x173a1a['f'],Number(_0x173a1a['v'])));const _0x210bf4=this[_0x24de5d(0x36a)](_0x173a1a,_0x5ae643+_0x4618c4);_0x49a594['setName'](_0x210bf4);}_0x347bf6[_0x24de5d(0x23e)]();for(let _0x54847c=_0x354b78+0x1;_0x54847c<=_0x496773;_0x54847c++)for(const {index:_0x1a240f,dataField:_0x4830af}of _0x1b27f5){const _0x2665a2=_0x1c0b3d['getValue'](_0x54847c,_0x5ae643+_0x1a240f);_0x4830af['addRecord'](this['adjustSheetCellData'](_0x2665a2,_0x525068,_0x53dcec),_0x54847c-0x1-_0x354b78);}_0x347bf6[_0x24de5d(0x2b9)](_0x496773-_0x354b78);}[_0x2547f2(0x3b8)](_0x42879c){const _0x42cbca=_0x2547f2,{range:_0xef6e90}=_0x42879c,{startColumn:_0x1b32b2,endColumn:_0x50658c}=_0xef6e90,_0x3e64e7=[];for(let _0x4141fd=_0x1b32b2;_0x4141fd<=_0x50658c;_0x4141fd++)_0x3e64e7[_0x42cbca(0x249)](this[_0x42cbca(0x2ec)](_0x42879c,_0x4141fd));return _0x3e64e7;}[_0x2547f2(0x33e)](_0x19adef,_0x28acc8,_0xcfde87){const _0x20e475=_0x2547f2;if(_0x19adef){const {s:_0x455183,v:_0x2f1fa6,t:_0x4eaf55,p:_0x3f3f1d}=_0x19adef;if(_0x3f3f1d)return wi(_0x3f3f1d);const _0x187bf3=_0x28acc8[_0x20e475(0x2bd)](_0x455183);if(_0x187bf3&&_0x4eaf55===_0xafbac6[_0x20e475(0x376)]&&_0x187bf3['n']){const {pattern:_0x16e0d1}=_0x187bf3['n'];_0xcfde87[_0x16e0d1]||(_0xcfde87[_0x16e0d1]=_0x1430a8['getInfo'](_0x16e0d1));const _0x2a2294=_0xcfde87[_0x16e0d1],_0x597922=_0x2a2294[_0x20e475(0x28d)];if(_0x2a2294[_0x20e475(0x1f0)])return String(_0x2f1fa6);if(_0x597922)return{'v':_0x2f1fa6,'f':_0x16e0d1};}if(_0x4eaf55===_0xafbac6[_0x20e475(0x376)])return Number(_0x2f1fa6);if(_0x4eaf55===_0xafbac6[_0x20e475(0x368)]||_0x4eaf55===_0xafbac6[_0x20e475(0x23c)])return String(_0x2f1fa6);if(_0x4eaf55===void 0x0){const _0x8773cf=Number(_0x2f1fa6);if(!Number[_0x20e475(0x3f9)](_0x8773cf)&&String(_0x8773cf)===_0x2f1fa6)return _0x8773cf;}return _0x2f1fa6!=null?_0x2f1fa6:null;}else return null;}[_0x2547f2(0x33b)](_0x435028){const _0x48a235=_0x2547f2,{sheetName:_0x4b661c,range:_0x28650c,unitId:_0x13efa6}=_0x435028,_0x38b710=this[_0x48a235(0x261)]['getUnit'](_0x13efa6);if(!_0x38b710)return console[_0x48a235(0x289)](_0x48a235(0x2ff)),{'header':[],'data':[]};const _0x4fe8bf=_0x38b710[_0x48a235(0x3d9)](_0x4b661c),_0x552aa5=_0x4fe8bf['getCellMatrix'](),{startRow:_0x86732d,startColumn:_0x1810fc,endRow:_0x3e3052,endColumn:_0x5c271d}=this[_0x48a235(0x2cc)](_0x28650c,_0x4fe8bf),_0x1032ef=_0x38b710[_0x48a235(0x3d2)](),_0xcc2588=[],_0x3cc3c7=[],_0x124713={};for(let _0x53de7f=_0x86732d;_0x53de7f<=_0x3e3052;_0x53de7f++){const _0x5f24c5=[];for(let _0x1bbf2b=_0x1810fc;_0x1bbf2b<=_0x5c271d;_0x1bbf2b++){const _0x331730=_0x552aa5[_0x48a235(0x291)](_0x53de7f,_0x1bbf2b);_0x53de7f===_0x86732d?_0xcc2588[_0x48a235(0x249)](_0x331730==null?null:String(_0x331730['v'])):_0x5f24c5[_0x48a235(0x249)](this[_0x48a235(0x33e)](_0x331730,_0x1032ef,_0x124713));}_0x3cc3c7[_0x48a235(0x249)](_0x5f24c5);}return{'header':_0xcc2588,'data':_0x3cc3c7};}[_0x2547f2(0x33a)](){return super['toJSON']();}[_0x2547f2(0x32a)](_0x1ec37a){const _0x416909=_0x2547f2;super[_0x416909(0x32a)](_0x1ec37a),this[_0x416909(0x324)]();}[_0x2547f2(0x2f2)](){const _0x56dfd0=_0x2547f2;super[_0x56dfd0(0x2f2)](),this[_0x56dfd0(0x201)]={},this[_0x56dfd0(0x43f)]=null;}}const Fi=_0x33135f=>{const _0x49d66c=_0x2547f2,{targetCellInfo:_0x5eea7c}=_0x33135f,{matrixCache:_0x556b5a,rangesCache:_0xb1b1db}=Qo({'filter':_0x49d66c(0x2c1),'row':_0x49d66c(0x36e),'column':'Column','values':_0x49d66c(0x1f6)},_0x5eea7c),_0x298ef3=new _0x4d28c3();return _0x556b5a[_0x49d66c(0x29a)]((_0x18371e,_0x56216f,_0x38377f)=>{const _0x46a9c2=_0x49d66c;_0x298ef3[_0x46a9c2(0x430)](_0x18371e,_0x56216f,_0x38377f);}),{'matrix':_0x298ef3,'rangesCache':_0xb1b1db};},st=_0x1d33f2=>{const _0x364ead=_0x2547f2;let _0x54dc57;if(_0x1d33f2!=null&&_0x1d33f2['v']||(_0x1d33f2==null?void 0x0:_0x1d33f2['v'])===0x0){_0x54dc57||(_0x54dc57={});const _0x3bcb59=Lo(_0x1d33f2['v']);typeof _0x3bcb59==_0x364ead(0x3a5)?_0x54dc57['t']=_0xafbac6['NUMBER']:typeof _0x3bcb59==_0x364ead(0x40f)&&(_0x54dc57['t']=_0xafbac6[_0x364ead(0x368)]),_0x54dc57['v']=_0x3bcb59;}return _0x54dc57;},Ri=(_0x3ce62c,_0x479b8c,_0x590622)=>{const _0x3d34a4=_0x2547f2;var _0x5ac122,_0x4c29ff,_0x4ed743,_0x49f063,_0x5e59dc,_0x28130c,_0x2454a2,_0x4a51d7,_0x1267b0,_0x3589b9,_0xf18bd6,_0x5964cf;const {cornerView:_0x2f04b6,rowView:_0x224b1d,colView:_0x2a5606,dataView:_0x83e989,pageView:_0x2234a7,formatMap:_0x3e7c04}=_0x3ce62c,{row:_0x4e97d5,col:_0x11a075}=_0x479b8c,_0x4b7e7d=new _0x4d28c3();let _0x79ff1b=_0x4e97d5,_0x3e52d6=_0x11a075;Object['keys'](_0x2234a7[_0x3d34a4(0x3db)])['forEach'](_0x1408dc=>{const _0x586c97=_0x3d34a4;Object[_0x586c97(0x420)](_0x2234a7[_0x586c97(0x3db)][Number(_0x1408dc)])[_0x586c97(0x3c9)](_0x39dc0c=>{const _0x153076=_0x586c97,_0x1e1f08={..._0x2234a7[_0x153076(0x3db)][Number(_0x1408dc)][Number(_0x39dc0c)]};_0x4b7e7d['setValue'](Number(_0x1408dc)+_0x79ff1b,Number(_0x39dc0c)+_0x3e52d6,st(_0x1e1f08));});});const _0x3f1bbc=Object[_0x3d34a4(0x420)](_0x2234a7['data'])[_0x3d34a4(0x1f7)];_0x79ff1b+=_0x3f1bbc+(_0x3f1bbc?It:0x0);const _0x58506d=_0x2f04b6[_0x3d34a4(0x292)](),_0x470321=_0x2f04b6['getColCount']();for(let _0x5556ef=0x0;_0x5556ef<_0x58506d;_0x5556ef++)for(let _0x571d30=0x0;_0x571d30<_0x470321;_0x571d30++){const _0x25ba2d={...(_0x4c29ff=(_0x5ac122=_0x2f04b6[_0x3d34a4(0x3db)])==null?void 0x0:_0x5ac122[_0x5556ef])==null?void 0x0:_0x4c29ff[_0x571d30]};_0x25ba2d&&((_0x4ed743=_0x224b1d[_0x3d34a4(0x35d)][_0x571d30])!=null&&_0x4ed743[_0x3d34a4(0x35f)])&&_0x571d30===_0x470321-0x1&&_0x5556ef===_0x58506d-0x1&&(_0x25ba2d['v']=''+_0x590622['sheets-pivot.value']),_0x4b7e7d[_0x3d34a4(0x430)](_0x5556ef+_0x79ff1b,_0x571d30+_0x3e52d6,st(_0x25ba2d));}_0x3e52d6+=_0x470321;const _0x527891=_0x2a5606[_0x3d34a4(0x35d)],_0x21ba70=_0x2a5606[_0x3d34a4(0x2df)]()>=0x0?_0x2a5606[_0x3d34a4(0x2df)]()+0x1:0x0,_0x593d5=_0x2a5606[_0x3d34a4(0x309)]()>=0x0?_0x2a5606[_0x3d34a4(0x309)]()+0x1:0x0;for(let _0x539b47=0x0;_0x539b47<_0x593d5;_0x539b47++)for(let _0x8aa1d5=0x0;_0x8aa1d5<_0x21ba70;_0x8aa1d5++){const _0x1e7ebe={...(_0x5e59dc=(_0x49f063=_0x2a5606[_0x3d34a4(0x3db)])==null?void 0x0:_0x49f063[_0x539b47])==null?void 0x0:_0x5e59dc[_0x8aa1d5]},_0x504e72=(_0x28130c=_0x527891[_0x539b47])==null?void 0x0:_0x28130c['tableFieldId'],_0x235b81=_0x3e7c04[_0x504e72];_0x1e7ebe&&(_0x1e7ebe['v']=ht(_0x1e7ebe,_0x539b47===0x0&&((_0x2454a2=_0x2a5606[_0x3d34a4(0x266)](_0x8aa1d5+0x1))==null?void 0x0:_0x2454a2[_0x3d34a4(0x35f)]),_0x235b81,_0x590622)),_0x4b7e7d[_0x3d34a4(0x430)](_0x539b47+_0x79ff1b,_0x8aa1d5+_0x3e52d6,st(_0x1e7ebe));}_0x79ff1b+=_0x58506d;const _0x1ac591=_0x224b1d[_0x3d34a4(0x35d)],_0x28859=_0x224b1d[_0x3d34a4(0x2df)]()>=0x0?_0x224b1d['getLastRow']()+0x1:0x0,_0x158c60=_0x224b1d['getLastCol']()>=0x0?_0x224b1d[_0x3d34a4(0x309)]()+0x1:0x0;for(let _0x5327ff=0x0;_0x5327ff<_0x28859;_0x5327ff++)for(let _0x3a9fc8=0x0;_0x3a9fc8<_0x158c60;_0x3a9fc8++){const _0x35ddcb={...(_0x1267b0=(_0x4a51d7=_0x224b1d[_0x3d34a4(0x3db)])==null?void 0x0:_0x4a51d7[_0x5327ff])==null?void 0x0:_0x1267b0[_0x3a9fc8]},_0x1377d3=(_0x3589b9=_0x1ac591[_0x3a9fc8])==null?void 0x0:_0x3589b9[_0x3d34a4(0x279)],_0xbbc72e=_0x3e7c04[_0x1377d3];_0x35ddcb&&(_0x35ddcb['v']=ht(_0x35ddcb,!0x1,_0xbbc72e,_0x590622)),_0x4b7e7d['setValue'](_0x5327ff+_0x79ff1b,_0x3a9fc8+_0x11a075,st(_0x35ddcb));}const _0x2994c8=_0x83e989['getRowCount'](),_0x491bc8=_0x83e989['getColCount']();for(let _0x43104=0x0;_0x43104<_0x2994c8;_0x43104++)for(let _0x302437=0x0;_0x302437<_0x491bc8;_0x302437++){const _0x2e9eb3={...(_0x5964cf=(_0xf18bd6=_0x83e989[_0x3d34a4(0x3db)])==null?void 0x0:_0xf18bd6[_0x43104])==null?void 0x0:_0x5964cf[_0x302437]};_0x4b7e7d[_0x3d34a4(0x430)](_0x43104+_0x79ff1b,_0x302437+_0x3e52d6,st(_0x2e9eb3));}return _0x4b7e7d;},Di=_0x537b77=>{const _0x217e0b=_0x2547f2,{view:_0x3b0a2f,targetCellInfo:_0x1ac692,isEmpty:_0x2f11fd,textInfo:_0x1a4f86}=_0x537b77;if(_0x2f11fd)return Fi(_0x537b77);const {pageView:_0x4dfa01,cornerView:_0x48efe4,rowView:_0xac50b6,colView:_0x305531,dataView:_0x303e7d}=_0x3b0a2f,_0x3bbb02=ge(_0x1ac692,_0x4dfa01,!0x0),_0x16fb71=_0x4dfa01[_0x217e0b(0x24c)]>=0x0?_0x4dfa01[_0x217e0b(0x24c)]+0x1:0x0,_0xc47e87=_0x48efe4[_0x217e0b(0x292)](),_0x28dd49=_0x48efe4[_0x217e0b(0x345)](),_0x27ff17=_0x3bbb02[_0x217e0b(0x1f7)]>0x0?It:0x0,_0x24fee7=ge({'row':_0x1ac692['row']+_0x16fb71+_0x27ff17,'col':_0x1ac692[_0x217e0b(0x2f3)]},_0x48efe4,!0x1,!0x1),_0x583552=ge({'row':_0x1ac692[_0x217e0b(0x2db)]+_0x16fb71+_0x27ff17+_0xc47e87,'col':_0x1ac692[_0x217e0b(0x2f3)]},_0xac50b6,!0x1,!0x0),_0x32ea18=ge({'row':_0x1ac692[_0x217e0b(0x2db)]+_0x16fb71+_0x27ff17,'col':_0x1ac692[_0x217e0b(0x2f3)]+_0x28dd49},_0x305531,!0x1,!0x0),_0x185e30=ge({'row':_0x1ac692[_0x217e0b(0x2db)]+_0x16fb71+_0x27ff17+_0xc47e87,'col':_0x1ac692[_0x217e0b(0x2f3)]+_0x28dd49},_0x303e7d,!0x1,!0x1),_0x38d08b={'rowRanges':_0x583552,'colRanges':_0x32ea18,'cornerRanges':_0x24fee7,'dataRanges':_0x185e30,'pageRanges':_0x3bbb02};return{'matrix':Ri(_0x3b0a2f,_0x1ac692,_0x1a4f86),'rangesCache':_0x38d08b};};var Ni=Object[_0x2547f2(0x239)],Ui=(_0x32192f,_0x22de88,_0x513ab5,_0x423464)=>{for(var _0x507e7f=_0x423464>0x1?void 0x0:_0x423464?Ni(_0x22de88,_0x513ab5):_0x22de88,_0x53e34c=_0x32192f['length']-0x1,_0x4e9b85;_0x53e34c>=0x0;_0x53e34c--)(_0x4e9b85=_0x32192f[_0x53e34c])&&(_0x507e7f=_0x4e9b85(_0x507e7f)||_0x507e7f);return _0x507e7f;},je=(_0x2d79ac,_0x56791e)=>(_0x19aee5,_0xb568fb)=>_0x56791e(_0x19aee5,_0xb568fb,_0x2d79ac);let K=class extends _0x3ffe8d{constructor(_0x4b1a7c,_0x44a0f6,_0x452052,_0xef3f21,_0x17e696,_0x37d666){const _0x22e215=_0x2547f2;super(),x(this,'_model',new Map()),x(this,_0x22e215(0x33f),new Map()),x(this,_0x22e215(0x446),new Map()),x(this,'_textInfo'),x(this,_0x22e215(0x2b2),new _0x1a1216()),x(this,_0x22e215(0x22b),this['_collectionChange$'][_0x22e215(0x2ef)]()),x(this,'_viewData$',new _0x1a1216()),x(this,_0x22e215(0x2fa),this[_0x22e215(0x285)]['asObservable']()),x(this,_0x22e215(0x34f),new _0x1a1216()),x(this,_0x22e215(0x40e),this[_0x22e215(0x34f)][_0x22e215(0x2ef)]()),x(this,_0x22e215(0x431),new Map()),x(this,_0x22e215(0x3dc),[]),x(this,_0x22e215(0x30c),new Map()),(this[_0x22e215(0x371)]=_0x4b1a7c,this['_univerInstanceService']=_0x44a0f6,this[_0x22e215(0x2f0)]=_0x452052,this[_0x22e215(0x25d)]=_0xef3f21,this[_0x22e215(0x2e0)]=_0x17e696,this[_0x22e215(0x310)]=_0x37d666,this[_0x22e215(0x3e4)]());}[_0x2547f2(0x200)](){const _0x163532=_0x2547f2;return this[_0x163532(0x41d)]?this['_textInfo']:yi;}[_0x2547f2(0x21b)](_0x307ec3){const _0x13ed5d=_0x2547f2;this[_0x13ed5d(0x41d)]=_0x307ec3;}[_0x2547f2(0x2d2)](_0x3d312f){const _0x3a7387=_0x2547f2;var _0x2b27fa;const {from:_0x39356b,to:_0x5be9e8,unitId:_0x585080,fromRange:_0x52dc36,toRange:_0x437d49}=_0x3d312f;if(_0x39356b&&_0x5be9e8){const _0x455105=this[_0x3a7387(0x2a9)](_0x585080),_0x282f83=this[_0x3a7387(0x2ad)][_0x3a7387(0x2bd)](_0x585080),_0x5378ae=(_0x2b27fa=this[_0x3a7387(0x261)][_0x3a7387(0x268)](_0x585080))==null?void 0x0:_0x2b27fa['getSheetBySheetId'](_0x5be9e8['subUnitId']);if(!_0x282f83||!_0x5378ae)return;const _0x11c8c1=_0x5378ae==null?void 0x0:_0x5378ae[_0x3a7387(0x3d7)]();for(const [_0x3288e9,_0x40f486]of _0x282f83['entries']())for(const [_0x17e173,_0x33c2a5]of _0x40f486['entries']()){const {sourceRangeInfo:_0x5b78be}=_0x33c2a5;if(_0x5b78be[_0x3a7387(0x224)]===_0x585080&&_0x5b78be['subUnitId']===_0x39356b[_0x3a7387(0x1e9)]&&_0x3c2f0c['contains'](_0x52dc36,_0x5b78be[_0x3a7387(0x36d)])){const _0x402e7c={'row':_0x5b78be['range']['startRow']-_0x52dc36['startRow'],'col':_0x5b78be[_0x3a7387(0x36d)][_0x3a7387(0x303)]-_0x52dc36[_0x3a7387(0x303)]},_0x5b2070={'unitId':_0x585080,'subUnitId':_0x5be9e8[_0x3a7387(0x1e9)],'sheetName':_0x11c8c1,'range':{'startRow':_0x437d49[_0x3a7387(0x438)]+_0x402e7c[_0x3a7387(0x2db)],'endRow':_0x437d49[_0x3a7387(0x438)]+_0x402e7c[_0x3a7387(0x2db)]+_0x5b78be['range'][_0x3a7387(0x228)]-_0x5b78be[_0x3a7387(0x36d)][_0x3a7387(0x438)],'startColumn':_0x437d49[_0x3a7387(0x303)]+_0x402e7c['col'],'endColumn':_0x437d49[_0x3a7387(0x303)]+_0x402e7c[_0x3a7387(0x2f3)]+_0x5b78be[_0x3a7387(0x36d)][_0x3a7387(0x238)]-_0x5b78be[_0x3a7387(0x36d)]['startColumn']}};_0x455105['handleMoveRange'](_0x17e173,_0x5b2070);const _0x1e5365={..._0x33c2a5,'sourceRangeInfo':_0x5b2070};this[_0x3a7387(0x233)](_0x585080,_0x5be9e8[_0x3a7387(0x1e9)],_0x17e173,_0x1e5365),this[_0x3a7387(0x1eb)]({'unitId':_0x585080,'token':_0x17e173,'type':He[_0x3a7387(0x227)],'oldSourceRangeInfo':_0x5b78be,'dataRangeInfo':_0x5b2070,'targetCellInfo':_0x33c2a5[_0x3a7387(0x422)]}),this[_0x3a7387(0x3e2)]({'unitId':_0x585080,'subUnitId':_0x5be9e8[_0x3a7387(0x1e9)],'oldSubUnitId':_0x3288e9,'pivotTableId':_0x17e173,'pivotTableConfig':_0x1e5365,'collectionConfig':_0x455105[_0x3a7387(0x33a)]()});}}}}[_0x2547f2(0x1eb)](_0x153583){this['_collectionChange$']['next'](_0x153583);}['getDataFieldManager'](_0x11453f){const _0x192314=_0x2547f2;let _0xfe213a=this['_dataFieldManagerCollection'][_0x192314(0x2bd)](_0x11453f);return _0xfe213a||(_0xfe213a=new _i(this,this[_0x192314(0x261)]),this[_0x192314(0x431)][_0x192314(0x402)](_0x11453f,_0xfe213a)),_0xfe213a;}['getCollection'](_0x3cea4e,_0x169a5c){const _0x329cf1=_0x2547f2;return this[_0x329cf1(0x2a9)](_0x3cea4e)[_0x329cf1(0x2f5)][_0x169a5c];}[_0x2547f2(0x20e)](_0x3fb4f4,_0x199132,_0x2020b0){const _0x400130=_0x2547f2;return this[_0x400130(0x2a9)](_0x3fb4f4)[_0x400130(0x20e)](_0x199132,_0x2020b0);}['_ensurePivotMap'](_0x29284a,_0x111eb7){const _0x12bdee=_0x2547f2;let _0x39f17b=this[_0x12bdee(0x2ad)][_0x12bdee(0x2bd)](_0x29284a);_0x39f17b||(_0x39f17b=new Map(),this[_0x12bdee(0x2ad)][_0x12bdee(0x402)](_0x29284a,_0x39f17b));let _0x5e1dea=_0x39f17b[_0x12bdee(0x2bd)](_0x111eb7);return _0x5e1dea||(_0x5e1dea=new Map(),_0x39f17b[_0x12bdee(0x402)](_0x111eb7,_0x5e1dea)),_0x5e1dea;}[_0x2547f2(0x233)](_0xa8daa5,_0xb3f06e,_0x215156,_0xfd2fe8){const _0x246835=_0x2547f2;this[_0x246835(0x23b)](_0xa8daa5,_0xb3f06e)[_0x246835(0x402)](_0x215156,_0xfd2fe8);}[_0x2547f2(0x2bc)](_0x3728e8,_0x43fd77,_0x437027){const _0x5bd780=_0x2547f2;var _0x2230be,_0x4ee9d0,_0x40e2b1,_0x3aa539;((_0x4ee9d0=(_0x2230be=this['_model'][_0x5bd780(0x2bd)](_0x3728e8))==null?void 0x0:_0x2230be[_0x5bd780(0x2bd)](_0x43fd77))==null?void 0x0:_0x4ee9d0[_0x5bd780(0x2bd)](_0x437027))&&((_0x3aa539=(_0x40e2b1=this[_0x5bd780(0x2ad)][_0x5bd780(0x2bd)](_0x3728e8))==null?void 0x0:_0x40e2b1[_0x5bd780(0x2bd)](_0x43fd77))==null||_0x3aa539[_0x5bd780(0x2c9)](_0x437027));}['_updatePivotTableInstanceCache'](_0x288233,_0x217ef3){const _0x15eabf=_0x2547f2;this[_0x15eabf(0x33f)][_0x15eabf(0x402)](_0x288233,_0x217ef3);}[_0x2547f2(0x314)](_0x14ad63){const _0x17f2dd=_0x2547f2;this[_0x17f2dd(0x33f)][_0x17f2dd(0x2c9)](_0x14ad63);}[_0x2547f2(0x22c)](_0x40734f,_0x16254a){const _0x1fb28a=_0x2547f2;let _0x116f8c=this[_0x1fb28a(0x446)][_0x1fb28a(0x2bd)](_0x40734f);_0x116f8c||(_0x116f8c=new Map(),this[_0x1fb28a(0x446)][_0x1fb28a(0x402)](_0x40734f,_0x116f8c));let _0x41bd39=_0x116f8c[_0x1fb28a(0x2bd)](_0x16254a);return _0x41bd39||(_0x41bd39=new Map(),_0x116f8c['set'](_0x16254a,_0x41bd39)),_0x41bd39;}[_0x2547f2(0x3e2)](_0x4ff0cf){const _0xcd561e=_0x2547f2,{unitId:_0x1ae62d,subUnitId:_0x3cc36d,pivotTableId:_0x3e570f,pivotTableConfig:_0x4757cc,collectionConfig:_0x2c8c9a}=_0x4ff0cf,_0x50cf22={'unitId':_0x1ae62d,'subUnitId':_0x3cc36d,'oldSubUnitId':_0x3cc36d,'pivotTableId':_0x3e570f,'pivotTableConfig':_0x4757cc,'collectionConfig':_0x2c8c9a};this[_0xcd561e(0x2e0)][_0xcd561e(0x300)](co['id'],_0x50cf22,{'onlyLocal':!0x0});}[_0x2547f2(0x241)](_0x3027d8,_0x4fb7f4,_0x14309c,_0x2e764c,_0x322b14,_0x8c714f,_0x4f966e,_0x590b55=!0x1){const _0x446a00=_0x2547f2;var _0x3cd566;this[_0x446a00(0x2e0)][_0x446a00(0x300)](Dt['id'],{'single':{'unitId':_0x3027d8,'subUnitId':_0x4fb7f4,'type':_0x14309c,'pivotTableId':_0x2e764c,'view':_0x322b14,'pivotConfig':_0x8c714f},'collectionConfig':{[_0x3027d8]:_0x4f966e}},{'onlyLocal':!0x0});const _0xb3ffdf=!!((_0x3cd566=this[_0x446a00(0x265)](_0x2e764c))!=null&&_0x3cd566[_0x446a00(0x3c6)]()),_0x1d31ac=this[_0x446a00(0x247)](_0x3027d8,_0x4fb7f4,_0x2e764c);_0x1d31ac&&this['updateViewData']({'view':_0x322b14,'pivotTableId':_0x2e764c,'textInfo':this[_0x446a00(0x200)](),'isEmpty':_0xb3ffdf,'targetCellInfo':_0x1d31ac['targetCellInfo']},_0x590b55);}[_0x2547f2(0x361)](_0x4c0e67,_0x18187e){const _0x419222=_0x2547f2,{targetCellInfo:_0x11b642,pivotTableId:_0x517c35}=_0x4c0e67,{unitId:_0x4679ac,subUnitId:_0x1151fb}=_0x11b642,_0x58f30f=this[_0x419222(0x22c)](_0x4679ac,_0x1151fb),_0x42d176=_0x58f30f['get'](_0x517c35);let _0x594c17,_0x901688;_0x42d176&&(_0x594c17=_0x42d176[_0x419222(0x2b7)],_0x901688=_0x42d176[_0x419222(0x28a)]);const {rangesCache:_0x2a020a,matrix:_0x425975}=Di(_0x4c0e67);_0x58f30f[_0x419222(0x402)](_0x517c35,{'rangeCache':_0x2a020a,'matrix':_0x425975,'oldMatrix':_0x901688,'oldRangeCache':_0x594c17}),_0x18187e||this[_0x419222(0x285)][_0x419222(0x3fc)]({'unitId':_0x4679ac,'subUnitId':_0x1151fb,'pivotTableId':_0x517c35});}[_0x2547f2(0x2c6)](_0x426807,_0x31eda9,_0x8f26e9,_0x1513db,_0x386da3){const _0x24e305=_0x2547f2;this[_0x24e305(0x233)](_0x426807,_0x31eda9,_0x8f26e9,_0x386da3),this[_0x24e305(0x3a2)](_0x8f26e9,_0x1513db);}['removePivotTable'](_0x2739fa,_0x4c9a8d,_0x22b6e1){const _0x68915=_0x2547f2,_0x160ab3=this[_0x68915(0x2a9)](_0x2739fa);_0x160ab3[_0x68915(0x400)](_0x22b6e1)['forEach'](_0x53884b=>{const _0xe50406=_0x68915;_0x160ab3[_0xe50406(0x2ca)](_0x53884b);}),this[_0x68915(0x392)](_0x2739fa,_0x22b6e1),this[_0x68915(0x2bc)](_0x2739fa,_0x4c9a8d,_0x22b6e1),this['_deletePivotTableInstanceCache'](_0x22b6e1);}['setPivotTable'](_0x26576a,_0x29ea4b,_0x484dc4,_0x191e12){const _0x1ee077=_0x2547f2;this[_0x1ee077(0x233)](_0x26576a,_0x29ea4b,_0x484dc4,_0x191e12);}['getPivotTableConfig'](_0x28e27e,_0x4a018c,_0x5c1ffa){const _0x1da9b5=_0x2547f2;var _0x31620c,_0x4be7c6;const _0x2f4ca7=(_0x4be7c6=(_0x31620c=this[_0x1da9b5(0x2ad)]['get'](_0x28e27e))==null?void 0x0:_0x31620c['get'](_0x4a018c))==null?void 0x0:_0x4be7c6['get'](_0x5c1ffa);if(_0x2f4ca7)return _0x2f4ca7;}[_0x2547f2(0x204)](_0x49136c,_0x29abd4,_0xcf02aa){const _0x1c4d8e=_0x2547f2;var _0x5d14c7,_0x4f6cee;const _0x21855a=(_0x4f6cee=(_0x5d14c7=this[_0x1c4d8e(0x2ad)][_0x1c4d8e(0x2bd)](_0x49136c))==null?void 0x0:_0x5d14c7[_0x1c4d8e(0x2bd)](_0x29abd4))==null?void 0x0:_0x4f6cee[_0x1c4d8e(0x2bd)](_0xcf02aa);if(_0x21855a)return _0x21855a[_0x1c4d8e(0x33c)];}[_0x2547f2(0x265)](_0x298c64){const _0x3a5b89=_0x2547f2;return this['_pivotTableInstanceCache'][_0x3a5b89(0x2bd)](_0x298c64);}[_0x2547f2(0x32e)](_0x332ff6){const _0x113100=_0x2547f2;this[_0x113100(0x2ad)][_0x113100(0x2c9)](_0x332ff6);const _0x53b5fb=this[_0x113100(0x431)]['get'](_0x332ff6);_0x53b5fb&&(_0x53b5fb[_0x113100(0x2f2)](),this[_0x113100(0x431)][_0x113100(0x2c9)](_0x332ff6)),this['_viewData'][_0x113100(0x2c9)](_0x332ff6),this[_0x113100(0x3dc)][_0x113100(0x3c9)](_0x33568e=>{const _0x55b24e=_0x113100;_0x33568e[_0x55b24e(0x32e)](_0x332ff6);});}[_0x2547f2(0x429)](_0x2c58ed,_0x18872a,_0x592c73,_0xf27f10){const _0x2ff7a1=_0x2547f2;return this[_0x2ff7a1(0x2a9)](_0x592c73[_0x2ff7a1(0x224)])[_0x2ff7a1(0x429)](_0x2c58ed,_0x18872a,_0x592c73,_0xf27f10);}[_0x2547f2(0x341)](_0xbf8da1){const _0x5df2db=_0x2547f2;return this[_0x5df2db(0x2a9)](_0xbf8da1[_0x5df2db(0x224)])[_0x5df2db(0x341)](_0xbf8da1);}['refreshData'](_0x3b5f5e,_0x9d8d67,_0x50002){const _0x170b16=_0x2547f2;this['getDataFieldManager'](_0x50002['unitId'])[_0x170b16(0x356)](_0x3b5f5e,_0x9d8d67,_0x50002);}[_0x2547f2(0x320)](_0x5cb2ba,_0x584abf){const _0x4d50ac=_0x2547f2;this[_0x4d50ac(0x2a9)](_0x5cb2ba)[_0x4d50ac(0x2ca)](_0x584abf);}['removeCollections'](_0x35ba64,_0x3208f2){const _0x476d33=_0x2547f2;this[_0x476d33(0x2a9)](_0x35ba64)[_0x476d33(0x38f)](_0x3208f2);}['getSubUnitPivotConfigs'](_0x2633b3,_0x39ae32){var _0xa0520b;return(_0xa0520b=this['_model']['get'](_0x2633b3))==null?void 0x0:_0xa0520b['get'](_0x39ae32);}[_0x2547f2(0x2cd)](_0x242065){const _0x55e8fc=_0x2547f2;for(const [_0x4ab230,_0x36aceb]of this[_0x55e8fc(0x2ad)]['entries']())for(const [_0x56e5d3,_0x250819]of _0x36aceb[_0x55e8fc(0x328)]())if(_0x250819['has'](_0x242065))return{'unitId':_0x4ab230,'subUnitId':_0x56e5d3};return null;}['sideEffectUpdateWorkerCache'](_0x528482,_0x649e97,_0x43ef06,_0x28e911){const _0x3b8ee6=_0x2547f2,_0xd74c5a=this['_ensureViewDataMap'](_0x528482,_0x649e97);_0x28e911?_0xd74c5a[_0x3b8ee6(0x402)](_0x43ef06,_0x28e911):_0xd74c5a['delete'](_0x43ef06),this[_0x3b8ee6(0x285)][_0x3b8ee6(0x3fc)]({'unitId':_0x528482,'subUnitId':_0x649e97,'pivotTableId':_0x43ef06});}['dispose'](){const _0x4054bd=_0x2547f2;super[_0x4054bd(0x2f2)]();}[_0x2547f2(0x318)](_0x6e774f,_0x5a86aa,_0x4b1bcd){const _0x36410e=_0x2547f2;var _0xab216,_0x2d7f87;const _0x41d43c=(_0x2d7f87=(_0xab216=this[_0x36410e(0x446)][_0x36410e(0x2bd)](_0x6e774f))==null?void 0x0:_0xab216[_0x36410e(0x2bd)](_0x5a86aa))==null?void 0x0:_0x2d7f87[_0x36410e(0x2bd)](_0x4b1bcd);return _0x41d43c||null;}[_0x2547f2(0x24a)](_0x28fa42){const _0x594215=_0x2547f2;this[_0x594215(0x3dd)](_0x28fa42);}[_0x2547f2(0x3dd)](_0x2573c8){const _0x4eae6d=_0x2547f2,{token:_0xc71812,unitId:_0x46a339,subUnitId:_0x4dbaa1}=_0x2573c8,_0xd6831=_0x46a339+'-'+_0x4dbaa1+'-'+_0xc71812;this[_0x4eae6d(0x30c)]['get'](_0xd6831)&&clearTimeout(this[_0x4eae6d(0x30c)][_0x4eae6d(0x2bd)](_0xd6831));const _0x54260e=setTimeout(()=>{const _0x14cdb0=_0x4eae6d;this[_0x14cdb0(0x3f7)](_0x2573c8),this[_0x14cdb0(0x30c)][_0x14cdb0(0x2c9)](_0xd6831);},Pi);this['_queryingMap'][_0x4eae6d(0x402)](_0xd6831,_0x54260e);}[_0x2547f2(0x3f7)](_0x29a32d){const _0x4087a1=_0x2547f2,{unitId:_0x4e0020,subUnitId:_0x3e0ac1,token:_0x30c8d8,type:_0x4f55db,pivotConfig:_0x19487a}=_0x29a32d,_0x3a1e12=this['getPivotTableInstance'](_0x30c8d8),_0x4183fd=_0x3a1e12==null?void 0x0:_0x3a1e12[_0x4087a1(0x406)](),_0x19758a=_0x19487a!=null?_0x19487a:this['getPivotTableConfig'](_0x4e0020,_0x3e0ac1,_0x30c8d8);_0x19758a&&(_0x19758a[_0x4087a1(0x3c6)]=!!(_0x3a1e12!=null&&_0x3a1e12[_0x4087a1(0x3c6)]())),(_0x4183fd||_0x4f55db===L[_0x4087a1(0x28c)])&&this['updateView'](_0x4e0020,_0x3e0ac1,_0x4f55db,_0x30c8d8,_0x4183fd,_0x19758a,this[_0x4087a1(0x2a9)](_0x4e0020)['toJSON']());}[_0x2547f2(0x33a)](_0x27752f){const _0x379c38=_0x2547f2,_0x3d6e89={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x379c38(0x2a9)](_0x27752f)&&(_0x3d6e89['dataFieldManagerConfig'][_0x27752f]=this[_0x379c38(0x2a9)](_0x27752f)[_0x379c38(0x33a)]()),this[_0x379c38(0x2ad)][_0x379c38(0x2bd)](_0x27752f)){_0x3d6e89[_0x379c38(0x2e1)][_0x27752f]={};const _0xc8da70=this[_0x379c38(0x2ad)][_0x379c38(0x2bd)](_0x27752f);_0xc8da70!=null&&_0xc8da70['size']&&[..._0xc8da70[_0x379c38(0x420)]()][_0x379c38(0x3c9)](_0x1efea9=>{const _0x4c8808=_0x379c38,_0x3b055b=_0xc8da70[_0x4c8808(0x2bd)](_0x1efea9);_0x3b055b!=null&&_0x3b055b[_0x4c8808(0x42a)]&&(_0x3d6e89[_0x4c8808(0x2e1)][_0x27752f][_0x1efea9]={},[..._0x3b055b[_0x4c8808(0x420)]()]['forEach'](_0x2bae23=>{const _0x260254=_0x4c8808,_0x4c2b89=_0x3b055b[_0x260254(0x2bd)](_0x2bae23);_0x4c2b89&&(_0x3d6e89[_0x260254(0x2e1)][_0x27752f][_0x1efea9][_0x2bae23]=_0x4c2b89);}));});}return _0x3d6e89;}[_0x2547f2(0x32a)](_0x2e4f87){const _0x590363=_0x2547f2;var _0x193d13;const {dataFieldManagerConfig:_0x4fc50e,pivotTableConfigs:_0x4d37df}=_0x2e4f87;_0x4fc50e&&Object[_0x590363(0x420)](_0x4fc50e)[_0x590363(0x3c9)](_0x5d2b4c=>{const _0x20b2ed=_0x590363;this['getDataFieldManager'](_0x5d2b4c)[_0x20b2ed(0x32a)](_0x4fc50e[_0x5d2b4c]);});const _0x5de6e5=[];if(_0x4d37df){const _0x1fa7eb=(_0x193d13=this[_0x590363(0x371)][_0x590363(0x2bd)](_0x376ed6)[_0x590363(0x449)](_0x19427e))!=null?_0x193d13:{},{ls:_0x19dca9,pbk:_0xb5131e}=_0x1fa7eb,_0x26c09f=go(so,_0x19dca9,_0xb5131e)[_0x590363(0x255)];Object[_0x590363(0x420)](_0x4d37df)['forEach'](_0x304d76=>{const _0x18fefe=_0x590363;let _0x39ffbb=0x0;const _0x1e23b2=_0x4d37df[_0x304d76];Object['keys'](_0x1e23b2)[_0x18fefe(0x3c9)](_0x506338=>{const _0x2c6c47=_0x18fefe,_0x51d117=_0x1e23b2[_0x506338];Object['keys'](_0x51d117)[_0x2c6c47(0x3c9)](_0x3664d7=>{const _0x2ecaf3=_0x2c6c47,_0x97fba9=_0x51d117[_0x3664d7];if(_0x97fba9){if(_0x39ffbb>=_0x26c09f)return;_0x39ffbb++;const _0x19b968=this[_0x2ecaf3(0x2a9)](_0x304d76),_0x34367b=_0x19b968[_0x2ecaf3(0x2f5)][_0x3664d7],_0x1bdf46=_0x34367b['getFieldIds']();let _0xeae5df=0x0;const _0x330289=[];for(const _0x1dfb39 of _0x1bdf46){const _0x1e554a=_0x34367b['getFieldById'](_0x1dfb39);if(_0x5f06ad(_0x1e554a)){const _0x38fcfe=_0x1e554a['getOriginFieldId'](),_0x46230a=_0x34367b[_0x2ecaf3(0x315)](_0x38fcfe);_0x46230a&&_0x330289['push']([_0x1e554a,_0x46230a]);continue;}_0x19b968['refreshDataField'](_0x1dfb39,_0x97fba9[_0x2ecaf3(0x313)],_0xeae5df),_0xeae5df++;}_0x330289['forEach'](([_0x4e0e90,_0xdc5e7])=>{_0x4e0e90['refreshGroupField'](_0xdc5e7);});const _0x871fbe=new _0x24dbbd(_0x34367b);_0x871fbe[_0x2ecaf3(0x32a)](_0x97fba9[_0x2ecaf3(0x33c)]),this['addPivotTable'](_0x304d76,_0x506338,_0x3664d7,_0x871fbe,_0x97fba9);const _0x1f7a91=_0x871fbe[_0x2ecaf3(0x406)]();_0x5de6e5[_0x2ecaf3(0x249)]({'unitId':_0x304d76,'subUnitId':_0x506338,'pivotTableId':_0x3664d7,'view':_0x1f7a91['toJSON'](),'pivotConfig':_0x97fba9,'type':L[_0x2ecaf3(0x21d)]});const _0x26bb94=!!_0x871fbe[_0x2ecaf3(0x3c6)](),_0x1290e1={'view':_0x1f7a91,'pivotTableId':_0x3664d7,'textInfo':this[_0x2ecaf3(0x200)](),'isEmpty':_0x26bb94,'targetCellInfo':_0x97fba9['targetCellInfo']};this[_0x2ecaf3(0x361)](_0x1290e1,!0x1);}});});});}_0x4fc50e&&Object[_0x590363(0x420)](_0x4fc50e)[_0x590363(0x3c9)](_0x5b9154=>{const _0x2134e5=_0x590363,_0x304d0f=this[_0x2134e5(0x2a9)](_0x5b9154);this[_0x2134e5(0x34f)][_0x2134e5(0x3fc)](_0x304d0f['collections']);}),this['_commandService'][_0x590363(0x300)](Dt['id'],{'batch':_0x5de6e5,'collectionConfig':_0x4fc50e},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x4cba45=_0x2547f2;this[_0x4cba45(0x2f6)](this[_0x4cba45(0x310)][_0x4cba45(0x287)]({'toJson':_0x5662d3=>JSON[_0x4cba45(0x1df)](this[_0x4cba45(0x33a)](_0x5662d3)),'parseJson':_0x58b1c2=>{const _0x5ca86e=_0x4cba45;if(!_0x58b1c2)return{};try{return JSON[_0x5ca86e(0x3a9)](_0x58b1c2);}catch{return{};}},'businesses':[_0x4d32aa[_0x4cba45(0x41e)]],'pluginName':ao,'onLoad':(_0x59c3b8,_0x1baf9c)=>{this['fromJSON'](_0x1baf9c);},'onUnLoad':_0x56010c=>{const _0x5f0c99=_0x4cba45;this[_0x5f0c99(0x32e)](_0x56010c);}}));}};K=Ui([je(0x0,_0x48d3dc(_0x43a13d)),je(0x1,_0x4ababf),je(0x2,_0x48d3dc(_0x3f925a)),je(0x3,_0x376ed6),je(0x4,_0xeb8ce6),je(0x5,_0x48d3dc(_0x31e3ec))],K);const xi={0x0:{0x0:{'v':_0x2547f2(0x290),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x2547f2(0x377),'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':_0x2547f2(0x2db),'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':[]},Qo=(_0x35c2b1,_0x225fed)=>{const _0x4fbe0d=_0x2547f2,_0x367010=new _0x4d28c3(),_0x51e82a=new _0x4d28c3(xi),{row:_0x53f91d,col:_0x520673}=_0x225fed;_0x51e82a[_0x4fbe0d(0x29a)]((_0x2df647,_0xc30e3c,_0x8d31b4)=>{const _0x55a1a5=_0x4fbe0d;let _0x2f2553='';_0x8d31b4['v']===_0x55a1a5(0x290)?_0x2f2553=_0x35c2b1['filter']:_0x8d31b4['v']===_0x55a1a5(0x2db)?_0x2f2553=_0x35c2b1['row']:_0x8d31b4['v']===_0x55a1a5(0x377)?_0x2f2553=_0x35c2b1[_0x55a1a5(0x377)]:_0x8d31b4['v']===_0x55a1a5(0x206)&&(_0x2f2553=_0x35c2b1['values']),_0x367010[_0x55a1a5(0x430)](_0x2df647+_0x53f91d,_0xc30e3c+_0x520673,{..._0x8d31b4,'v':_0x2f2553});});const _0x338121=_0x35bdc8['deepClone'](Ht);return Object[_0x4fbe0d(0x420)](Ht)[_0x4fbe0d(0x3c9)](_0x46c3c8=>{const _0x43506b=_0x4fbe0d;_0x338121[_0x46c3c8]=Ht[_0x46c3c8][_0x43506b(0x229)](_0x24e053=>({..._0x24e053,'startRow':_0x24e053[_0x43506b(0x438)]+_0x53f91d,'endRow':_0x24e053[_0x43506b(0x228)]+_0x53f91d,'startColumn':_0x24e053[_0x43506b(0x303)]+_0x520673,'endColumn':_0x24e053[_0x43506b(0x238)]+_0x520673}));}),{'matrixCache':_0x367010,'rangesCache':_0x338121};};function Vi(_0x5c90ed,_0x13e622){const _0x4a84b2=_0x2547f2;let _0x5c840a='';const _0x91cad=this[_0x4a84b2(0x200)]();switch(_0x13e622){case _0x3d270f[_0x4a84b2(0x2bb)]:_0x5c840a=_0x91cad[_0x4a84b2(0x351)]+_0x5c90ed;break;case _0x3d270f['count']:_0x5c840a=_0x91cad['sheets-pivot.countName']+_0x5c90ed;break;case _0x3d270f[_0x4a84b2(0x263)]:_0x5c840a=_0x91cad[_0x4a84b2(0x2e5)]+_0x5c90ed;break;case _0x3d270f[_0x4a84b2(0x240)]:_0x5c840a=_0x91cad[_0x4a84b2(0x2e3)]+_0x5c90ed;break;case _0x3d270f[_0x4a84b2(0x27f)]:_0x5c840a=_0x91cad[_0x4a84b2(0x37c)]+_0x5c90ed;break;case _0x3d270f['product']:_0x5c840a=_0x91cad['sheets-pivot.productName']+_0x5c90ed;break;case _0x3d270f[_0x4a84b2(0x2a0)]:_0x5c840a=_0x91cad[_0x4a84b2(0x326)]+_0x5c90ed;break;case _0x3d270f['stdDevp']:_0x5c840a=_0x91cad[_0x4a84b2(0x2ea)]+_0x5c90ed;break;case _0x3d270f[_0x4a84b2(0x3d0)]:_0x5c840a=_0x91cad[_0x4a84b2(0x42f)]+_0x5c90ed;break;case _0x3d270f[_0x4a84b2(0x2e2)]:_0x5c840a=_0x91cad[_0x4a84b2(0x236)]+_0x5c90ed;break;case _0x3d270f['varp']:_0x5c840a=_0x91cad[_0x4a84b2(0x30e)]+_0x5c90ed;break;default:_0x5c840a=_0x5c90ed;break;}return _0x5c840a;}function Ei(_0x110c7e,_0xf25864,_0x341e7b,_0x1e742e,_0x13125a){const _0x34e1ce=_0x2547f2;var _0x5a5d4c,_0x268fb7,_0x2fae59,_0x4cfaa0,_0x181cbd;const _0x16e844=_0x4934f2(_0x110c7e,_0xf25864),{rangesInfo:_0x3d6338,areaInfo:_0xba10d0,headerMap:_0x3771d1}=_0x13125a;if(!_0x3d6338||!_0xba10d0||!_0x3771d1)return;const _0x2d1624=Object[_0x34e1ce(0x420)](_0x3d6338)['find'](_0x5c280c=>_0x3d6338[_0x5c280c]['some'](_0x1513df=>_0x3c2f0c['contains'](_0x1513df,_0x16e844))),_0x4b3ab6=_0xba10d0;let _0x1571af,_0x38e769,_0x32aee4;if(_0x2d1624===_0x34e1ce(0x349))_0x1571af=(_0x5a5d4c=_0x4b3ab6==null?void 0x0:_0x4b3ab6[_0x34e1ce(0x22d)])==null?void 0x0:_0x5a5d4c[_0x110c7e],_0x38e769=(_0x268fb7=_0x3771d1==null?void 0x0:_0x3771d1[_0x34e1ce(0x2b6)])==null?void 0x0:_0x268fb7[_0xf25864],_0x32aee4=_0x38e769==null?void 0x0:_0x38e769[_0x34e1ce(0x279)];else{if(_0x2d1624===_0x34e1ce(0x3f6))_0x1571af=(_0x2fae59=_0x4b3ab6==null?void 0x0:_0x4b3ab6[_0x34e1ce(0x27a)])==null?void 0x0:_0x2fae59[_0xf25864],_0x38e769=(_0x4cfaa0=_0x3771d1[_0x34e1ce(0x3b5)])==null?void 0x0:_0x4cfaa0[_0x110c7e+0x1+_0xf25864-_0x3d6338['colRanges'][0x0]['startColumn']],_0x32aee4=_0x38e769==null?void 0x0:_0x38e769[_0x34e1ce(0x279)];else{if(_0x2d1624===_0x34e1ce(0x448))_0x1571af=(_0x181cbd=_0x4b3ab6==null?void 0x0:_0x4b3ab6[_0x34e1ce(0x2b5)])==null?void 0x0:_0x181cbd[_0xf25864],_0x32aee4=_0x1571af==null?void 0x0:_0x1571af['tableFieldId'];else{if(_0x2d1624==='pageRanges'){const _0x4fbfcc=_0x341e7b==null?void 0x0:_0x341e7b['fi'];_0x4fbfcc!==void 0x0&&(_0x32aee4=_0x1e742e[_0x34e1ce(0x1f8)](_0x4fbfcc));}}}}return{'filterId':_0x32aee4,'info':_0x1571af,'data':_0x341e7b,'headerInfo':_0x38e769};}function Oi(_0x1b680c,_0x57b61c,_0xed7d01){const _0x4202ed=_0x2547f2,_0x4e14cd=_0x1b680c[_0x4202ed(0x2f9)],_0x44b446=_0x4e14cd[_0x4202ed(0x275)](),_0x3825e1=new Set();_0x1b680c[_0x4202ed(0x32f)](_0x26f531=>{const _0x206b8b=_0x4202ed;_0x3825e1[_0x206b8b(0x22f)](_0x26f531[_0x206b8b(0x41a)]);});const _0x226b2f=_0x44b446['map'](_0x3c03c8=>{const _0x34e2f6=_0x4202ed,_0x180184=_0x4e14cd['getFieldById'](_0x3c03c8);return{'checked':_0x3825e1[_0x34e2f6(0x28e)](_0x3c03c8),'dataFieldId':_0x180184['id'],'id':_0x180184['id'],'name':_0x4e14cd[_0x34e2f6(0x219)](_0x180184['id']),'type':_0x180184[_0x34e2f6(0x272)](),'pivotTableId':_0x57b61c};}),_0x28ec88=[];_0x1b680c[_0x4202ed(0x2e6)](_0xac72fb[_0x4202ed(0x36e)],_0x3cf6ed=>{const _0x3f39d0=_0x4202ed;_0x28ec88[_0x3f39d0(0x249)]({'dataFieldId':_0x3cf6ed[_0x3f39d0(0x41a)],'tableFieldId':_0x3cf6ed['getId'](),'displayName':_0x3cf6ed['getDisplayName']()});});const _0x34c491=[];_0x1b680c[_0x4202ed(0x2e6)](_0xac72fb[_0x4202ed(0x408)],_0x1eb39d=>{const _0x512989=_0x4202ed;_0x34c491[_0x512989(0x249)]({'dataFieldId':_0x1eb39d[_0x512989(0x41a)],'tableFieldId':_0x1eb39d[_0x512989(0x2d6)](),'displayName':_0x1eb39d[_0x512989(0x219)]()});});const _0x43690f=[];if(_0x1b680c['iterateFieldByArea'](_0xac72fb[_0x4202ed(0x27d)],_0x55134f=>{const _0x1f1276=_0x4202ed;_0x43690f[_0x1f1276(0x249)]({'dataFieldId':_0x55134f['dataFieldId'],'tableFieldId':_0x55134f[_0x1f1276(0x2d6)](),'displayName':_0x55134f[_0x1f1276(0x219)](),'format':_0x55134f[_0x1f1276(0x274)](),'subTotalType':_0x55134f[_0x1f1276(0x34e)]()});}),_0x43690f[_0x4202ed(0x1f7)]>0x1){const _0x5e74e8=_0x1b680c['getValueIndex']();(_0x1b680c['isColMultiMeasure']()?_0x34c491:_0x28ec88)[_0x4202ed(0x362)](_0x5e74e8,0x0,{'dataFieldId':'','tableFieldId':_0x4202ed(0x410),'displayName':'ΣValue'});}const _0xb8073c=[];_0x1b680c[_0x4202ed(0x2e6)](_0xac72fb[_0x4202ed(0x2c1)],_0x28fd29=>{const _0x670f4f=_0x4202ed;_0xb8073c[_0x670f4f(0x249)]({'dataFieldId':_0x28fd29[_0x670f4f(0x41a)],'tableFieldId':_0x28fd29[_0x670f4f(0x2d6)](),'displayName':_0x28fd29['getDisplayName']()});});const _0x42dd72=_0xed7d01[_0x4202ed(0x313)];return{'sourceList':_0x226b2f,'sourceRange':_0x42dd72,'rowFields':_0x28ec88,'columnFields':_0x34c491,'valueFields':_0x43690f,'filterFields':_0xb8073c,'positionInfo':_0xed7d01[_0x4202ed(0x422)]};}function fo(_0x5d1dfa,_0x53c21a,_0x10bfb6='',_0x536937={}){const _0x840a03=_0x2547f2,_0xd84b0d=_0x5d1dfa[_0x840a03(0x2bd)](_0x209ec2);for(const _0x825e03 in _0x53c21a)if(Object['prototype'][_0x840a03(0x2c8)][_0x840a03(0x1fb)](_0x53c21a,_0x825e03)){const _0x22c7e0=_0x10bfb6?_0x10bfb6+'.'+_0x825e03:_0x825e03;typeof _0x53c21a[_0x825e03]==_0x840a03(0x22a)&&_0x53c21a[_0x825e03]!==null&&!Array[_0x840a03(0x346)](_0x53c21a[_0x825e03])?fo(_0x5d1dfa,_0x53c21a[_0x825e03],_0x22c7e0,_0x536937):_0x536937[_0x22c7e0]=_0xd84b0d['t'](_0x22c7e0);}return _0x536937;}const Lt=_0x34d6c1=>{const _0x4c8853=_0x2547f2;if(!_0x34d6c1)return[];const {rowRanges:_0x104e65,colRanges:_0x51e07d,cornerRanges:_0x5dbdf2,dataRanges:_0x2535db,pageRanges:_0x65d0ce}=_0x34d6c1,_0x5032db=[..._0x51e07d,..._0x104e65,..._0x2535db,..._0x5dbdf2][_0x4c8853(0x290)](_0x337b7c=>_0x337b7c[_0x4c8853(0x438)]>=0x0&&_0x337b7c[_0x4c8853(0x303)]>=0x0&&_0x337b7c['endRow']>=0x0&&_0x337b7c['endColumn']>=0x0);let _0xfd6e07=Number['MAX_SAFE_INTEGER'],_0x3e224e=Number[_0x4c8853(0x2c7)],_0x1d2d60=Number[_0x4c8853(0x243)],_0x364c93=Number[_0x4c8853(0x2c7)];for(let _0x1f03cd=0x0;_0x1f03cd<_0x5032db[_0x4c8853(0x1f7)];_0x1f03cd++)_0xfd6e07=Math[_0x4c8853(0x27f)](_0xfd6e07,_0x5032db[_0x1f03cd][_0x4c8853(0x438)]),_0x3e224e=Math[_0x4c8853(0x240)](_0x3e224e,_0x5032db[_0x1f03cd][_0x4c8853(0x228)]),_0x1d2d60=Math[_0x4c8853(0x27f)](_0x1d2d60,_0x5032db[_0x1f03cd][_0x4c8853(0x303)]),_0x364c93=Math[_0x4c8853(0x240)](_0x364c93,_0x5032db[_0x1f03cd]['endColumn']);return[..._0x65d0ce,{'startRow':_0xfd6e07,'endRow':_0x3e224e,'startColumn':_0x1d2d60,'endColumn':_0x364c93}];};function ki(_0x26f45b,_0x5eb47f){const _0x19d32e=_0x2547f2,_0x246181=_0x5eb47f[_0x19d32e(0x2b4)][_0x19d32e(0x207)],{pivotTableId:_0x58948b,unitId:_0x569a3e,subUnitId:_0x5a49ea}=_0x5eb47f;if(!_0x246181)return;const _0x35485d=_0x26f45b['get'](K),_0x2873d4=_0x35485d['getPivotTableInstance'](_0x58948b),_0x56f12b=_0x35485d[_0x19d32e(0x247)](_0x569a3e,_0x5a49ea,_0x58948b);if(!_0x2873d4||!_0x56f12b)return;const _0x2d65aa=_0x2873d4[_0x19d32e(0x444)](_0x246181[_0x19d32e(0x3f1)]);if(!(_0x2d65aa!=null&&_0x2d65aa[_0x19d32e(0x1f7)]))return;const _0x1c830c=_0x56f12b[_0x19d32e(0x313)],{unitId:_0x104973,subUnitId:_0x2067bb,range:_0x144cf5}=_0x1c830c;let _0x5a89fb=0x0;const _0x37ad6a=_0x2873d4[_0x19d32e(0x2f9)][_0x19d32e(0x275)]()[_0x19d32e(0x33d)]((_0x1a8f83,_0x1a572c)=>{const _0x5c02b9=_0x19d32e;var _0x5e455a;const _0x17cdc4=(_0x5e455a=_0x2873d4[_0x5c02b9(0x218)](_0x1a572c))==null?void 0x0:_0x5e455a[_0x5c02b9(0x34d)]();return _0x17cdc4&&(_0x1a8f83[String(_0x5a89fb)]=_0x17cdc4),_0x5a89fb++,_0x1a8f83;},{});return{'indexes':_0x2d65aa,'range':_0x144cf5,'sourceUnitId':_0x104973,'sourceSubUnitId':_0x2067bb,'formatMap':_0x37ad6a};}function jo(_0x3bc4e6,_0xbfcda8){const _0x4e7860=_0x2547f2;if(!_0x3bc4e6||!_0xbfcda8)return!0x0;const _0x181baa=_0x32f7c5($o,Jo),_0x35b09a=new Function(_0x4e7860(0x337)+_0x181baa)()(_0x3bc4e6,_0xbfcda8)['message'],_0x386954=_0x5cce1b(_0x35b09a,'sf',Bo);return!((_0x35b09a==null?void 0x0:_0x35b09a['rt'])===_0x40cafa[_0x4e7860(0x424)]&&!_0x386954);}function _0x4326(_0x2278dd,_0x554f31){const _0x474dfb=_0x474d();return _0x4326=function(_0x4326d4,_0x339fe0){_0x4326d4=_0x4326d4-0x1d8;let _0x5ef893=_0x474dfb[_0x4326d4];return _0x5ef893;},_0x4326(_0x2278dd,_0x554f31);}function go(_0x3a9f19,_0x4d047f,_0x375eaa){const _0x22442e=_0x2547f2,_0x1b007e={'count':_0x3a9f19,'timeValid':!0x1};if(!_0x4d047f||!_0x375eaa)return _0x1b007e;const _0xda20f=_0x32f7c5($o,Jo),_0x428077=new Function(_0x22442e(0x337)+_0xda20f)()(_0x4d047f,_0x375eaa);if(_0x428077!=null&&_0x428077['valid']){const _0x44f91f=_0x428077['message'],_0x4213db=_0x5cce1b(_0x44f91f,'sf',Bo);return{'count':_0x1705c3(_0x44f91f,_0x4213db,_0x22442e(0x1e0),_0x3a9f19,_0x3a9f19,0x0),'timeValid':_0x4213db};}return _0x1b007e;}function Go(_0x10603b,_0x1401b8,_0x1e6e55,_0x47588e){const _0x86fd74=_0x2547f2,_0x200c85={'subUnitId':_0x1e6e55,'unitId':_0x1401b8,'cellValue':_0x473d42(_0x47588e)},_0x8271f8=_0x10ea83(_0x10603b,_0x200c85);let _0x5a61a6=!0x1;return new _0x4d28c3(_0x8271f8[_0x86fd74(0x24b)])[_0x86fd74(0x29a)]((_0x45fc10,_0x37a186,_0x865b4e)=>{const _0x19ee4b=_0x86fd74;if(!_0x5a61a6&&_0x865b4e&&(_0x865b4e[_0x19ee4b(0x3b4)]||_0x865b4e['f']||_0x865b4e['p']||_0x865b4e['s']||_0x865b4e['si']||_0x865b4e['t']||_0x865b4e['v']))return _0x5a61a6=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x20e9d7['id'],'params':_0x8271f8},'setRangeValueRedoMutation':{'id':_0x20e9d7['id'],'params':_0x200c85},'shouldClear':_0x5a61a6};}function Bi(_0xee46f3){const {row:_0x4e2e28,col:_0x3b8b95}=_0xee46f3,_0x4e7b62={'startRow':_0x4e2e28,'endRow':_0x4e2e28,'startColumn':_0x3b8b95,'endColumn':_0x3b8b95},_0x46770a={'startRow':_0x4e2e28+0x2,'endRow':_0x4e2e28+0xe,'startColumn':_0x3b8b95,'endColumn':_0x3b8b95+0x6};return[_0x4e7b62,_0x46770a];}function Ai(_0x3ca3a9,_0x3e9185,_0x4828f9){const _0x557f48=_0x2547f2,{cornerView:_0x109766,rowView:_0x639af2,colView:_0xefecc8,pageView:_0x17d8a4}=_0x3ca3a9,{row:_0x1455ad,col:_0x27da66}=_0x3e9185;if(_0x4828f9)return{'rowCount':bi+_0x1455ad,'colCount':Si+_0x27da66};const _0x38af9c=_0x17d8a4[_0x557f48(0x24c)]>-0x1?_0x17d8a4[_0x557f48(0x24c)]+0x1:0x0,_0x21bd26=_0x17d8a4[_0x557f48(0x3ef)]>-0x1?_0x17d8a4['lastCol']:0x0,_0xc28853=_0x1455ad+_0x38af9c+(_0x38af9c?0x1:0x0)+_0x109766['rowCount']+_0x639af2[_0x557f48(0x2cf)],_0x4e5e4f=_0x27da66+_0x21bd26,_0x1140b5=_0x27da66+_0x109766[_0x557f48(0x3a6)]+_0xefecc8['colCount'],_0x24a270=Math[_0x557f48(0x240)](_0x4e5e4f,_0x1140b5);return{'rowCount':_0xc28853,'colCount':_0x24a270};}function we(_0x2bc5f4,_0x1410be,_0x4b8e85,_0x29ceac){const _0x383333=_0x2547f2,{row:_0x310d41,col:_0x29f8e5,unitId:_0x2b0ca5,subUnitId:_0xf66327}=_0x4b8e85,_0x296112=Ai(_0x1410be,{'row':_0x310d41,'col':_0x29f8e5},_0x29ceac),_0x2aba2f=_0x2bc5f4['get'](_0x4ababf),_0xf4345a=_0x1fc14d(_0x2aba2f,{'unitId':_0x2b0ca5,'subUnitId':_0xf66327}),_0x58467c=[],_0x42e186=[];if(!_0xf4345a)return{'undos':_0x42e186,'redos':_0x58467c};const {worksheet:_0x221951}=_0xf4345a,_0x5d8745=_0x221951[_0x383333(0x292)](),_0x4d7d4e=_0x221951[_0x383333(0x29c)]();return _0x5d8745<_0x296112['rowCount']&&(_0x58467c[_0x383333(0x249)]({'id':_0x4114d4['id'],'params':{'unitId':_0x2b0ca5,'subUnitId':_0xf66327,'range':{'startRow':_0x5d8745,'endRow':_0x296112[_0x383333(0x2cf)]-0x1,'startColumn':0x0,'endColumn':_0x4d7d4e-0x1}}}),_0x42e186[_0x383333(0x249)]({'id':_0x234dd5['id'],'params':{'unitId':_0x2b0ca5,'subUnitId':_0xf66327,'range':{'startRow':_0x5d8745,'endRow':_0x296112[_0x383333(0x2cf)]-0x1,'startColumn':0x0,'endColumn':_0x4d7d4e-0x1}}})),_0x4d7d4e<_0x296112[_0x383333(0x3a6)]&&(_0x58467c[_0x383333(0x249)]({'id':_0x3e396b['id'],'params':{'unitId':_0x2b0ca5,'subUnitId':_0xf66327,'range':{'startRow':0x0,'endRow':_0x5d8745-0x1,'startColumn':_0x4d7d4e,'endColumn':_0x296112['colCount']-0x1}}}),_0x42e186[_0x383333(0x249)]({'id':_0x117ee4['id'],'params':{'unitId':_0x2b0ca5,'subUnitId':_0xf66327,'range':{'startRow':0x0,'endRow':_0x5d8745-0x1,'startColumn':_0x4d7d4e,'endColumn':_0x296112['colCount']-0x1}}})),{'undos':_0x42e186,'redos':_0x58467c};}function Hi(_0x1dfba6){const _0x4d4d36=_0x2547f2;let _0x4b3403=0x0;for(let _0x1431a9=0x0;_0x1431a9<_0x1dfba6[_0x4d4d36(0x1f7)];_0x1431a9++){const _0x4a91aa=_0x1dfba6[_0x4d4d36(0x298)](_0x1431a9);_0x4a91aa>=0x4e00&&_0x4a91aa<=0x9fff||_0x4a91aa>=0x3000&&_0x4a91aa<=0x303f||_0x4a91aa>=0xff00&&_0x4a91aa<=0xffef?_0x4b3403+=0x2:_0x4b3403+=0x1;}return _0x4b3403;}function To(_0x10735f,_0x21d029,_0x55db98,_0x5bf495){const _0xc287de=_0x2547f2;var _0x4235a9,_0x589188,_0x296fe9,_0x1e567d;const {rowCount:_0x4fd2b3,colCount:_0x58615c,headerMap:_0x2fa64f}=_0x10735f,_0x24d977=0x64,_0x2c33f6=Math[_0xc287de(0x27f)](_0x4fd2b3,_0x24d977),_0x1463fc=Math[_0xc287de(0x27f)](_0x58615c,_0x24d977);let _0x41afbc='',_0x14b6c7=0x0;for(let _0x64aaf1=0x0;_0x64aaf1<_0x2c33f6;_0x64aaf1++)for(let _0x2e1654=0x0;_0x2e1654<_0x1463fc;_0x2e1654++){const _0x8b95b1={...(_0x589188=(_0x4235a9=_0x10735f[_0xc287de(0x3db)])==null?void 0x0:_0x4235a9[_0x64aaf1])==null?void 0x0:_0x589188[_0x2e1654]},_0x1ef897=(_0x296fe9=_0x2fa64f[_0x64aaf1])==null?void 0x0:_0x296fe9[_0xc287de(0x279)],_0x3bbabd=_0x5bf495[_0x1ef897];let _0x4eeded=_0x10735f['getValue'](_0x64aaf1,_0x2e1654);if(_0x8b95b1){const _0x588cf2=_0x55db98?_0x2e1654===0x0&&((_0x1e567d=_0x10735f['getHeaderMapItem'](_0x2e1654+0x1))==null?void 0x0:_0x1e567d[_0xc287de(0x35f)]):!0x1;_0x4eeded=ht(_0x8b95b1,_0x588cf2,_0x3bbabd,_0x21d029);}if(_0x4eeded!==void 0x0){const _0x56bd7d=Hi(String(_0x4eeded));_0x14b6c7<_0x56bd7d&&(_0x41afbc=String(_0x4eeded),_0x14b6c7=_0x56bd7d);}}return _0x41afbc;}function Li(_0x299157){const _0x21bf43=_0x2547f2,{rowCount:_0x4bbbae,colCount:_0xb991f2}=_0x299157;let _0x2fbfc4='',_0x23b0a9=0x0;for(let _0x4d23ad=_0x4bbbae-0x1;_0x4d23ad>0x0&&_0x4d23ad>_0x4bbbae-0x3;_0x4d23ad--)for(let _0xca3094=0x0;_0xca3094<_0xb991f2;_0xca3094++){const _0x3a28b5=_0x299157[_0x21bf43(0x291)](_0x4d23ad,_0xca3094);if(_0x3a28b5!==void 0x0){const _0x1dd642=String(_0x3a28b5)[_0x21bf43(0x1f7)];_0x23b0a9<_0x1dd642&&(_0x2fbfc4=String(_0x3a28b5),_0x23b0a9=_0x1dd642);}}return _0x2fbfc4;}function Ki(_0x1f0284){const _0x1b3dfe=_0x2547f2,{rowCount:_0x163bbe,colCount:_0x400d37}=_0x1f0284;let _0xbe0088='',_0x5d80d4=0x0;for(let _0x5cfdec=0x0;_0x5cfdec<_0x163bbe;_0x5cfdec++)for(let _0x5d4438=0x0;_0x5d4438<_0x400d37;_0x5d4438++){const _0xba5f9e=_0x1f0284[_0x1b3dfe(0x291)](_0x5cfdec,_0x5d4438);if(_0xba5f9e!==void 0x0){const _0x2e29c0=String(_0xba5f9e)[_0x1b3dfe(0x1f7)];_0x5d80d4<_0x2e29c0&&(_0xbe0088=String(_0xba5f9e),_0x5d80d4=_0x2e29c0);}}return _0xbe0088;}function Ji(_0x343898,_0x14d5c3){const _0x208ef8=_0x2547f2,{rowFields:_0x5ceb19,columnFields:_0x24cc04,valueFields:_0x24718e,filterFields:_0x4fac23,dimension:_0x56549b,measure:_0x41e398}=_0x14d5c3;for(const _0x58fa8c of _0x5ceb19){const _0x385736=_0x56549b[_0x58fa8c];_0x385736&&_0x343898[_0x208ef8(0x218)](_0x385736[_0x208ef8(0x41a)])&&(_0x343898[_0x208ef8(0x258)](_0x385736['dataFieldId'],_0xac72fb[_0x208ef8(0x36e)],void 0x0,_0x58fa8c),_0x385736[_0x208ef8(0x237)]&&_0x343898[_0x208ef8(0x405)](_0x385736['id'],_0x385736[_0x208ef8(0x237)]),_0x385736[_0x208ef8(0x378)]&&_0x343898[_0x208ef8(0x3e5)](_0x385736['id'],_0x385736[_0x208ef8(0x378)]),_0x385736[_0x208ef8(0x1fa)]&&_0x343898[_0x208ef8(0x23a)](_0x385736['id'],_0x385736[_0x208ef8(0x1fa)]));}for(const _0x225371 of _0x24cc04){const _0x3ba598=_0x56549b[_0x225371];_0x3ba598&&_0x343898[_0x208ef8(0x218)](_0x3ba598[_0x208ef8(0x41a)])&&(_0x343898[_0x208ef8(0x258)](_0x3ba598[_0x208ef8(0x41a)],_0xac72fb[_0x208ef8(0x408)],void 0x0,_0x225371),_0x3ba598[_0x208ef8(0x378)]&&_0x343898[_0x208ef8(0x3e5)](_0x3ba598['id'],_0x3ba598[_0x208ef8(0x378)]),_0x3ba598[_0x208ef8(0x1fa)]&&_0x343898[_0x208ef8(0x23a)](_0x3ba598['id'],_0x3ba598[_0x208ef8(0x1fa)]),_0x3ba598[_0x208ef8(0x237)]&&_0x343898['renameField'](_0x3ba598['id'],_0x3ba598[_0x208ef8(0x237)]));}for(const _0x3baf01 of _0x4fac23){const _0x44bf0d=_0x56549b[_0x3baf01];_0x44bf0d&&_0x343898['getDataFieldByDataFieldId'](_0x44bf0d[_0x208ef8(0x41a)])&&(_0x343898[_0x208ef8(0x258)](_0x44bf0d[_0x208ef8(0x41a)],_0xac72fb[_0x208ef8(0x2c1)],void 0x0,_0x3baf01),_0x44bf0d[_0x208ef8(0x378)]&&_0x343898[_0x208ef8(0x3e5)](_0x44bf0d['id'],_0x44bf0d[_0x208ef8(0x378)]),_0x44bf0d['filterInfo']&&_0x343898['setLabelFilterInfo'](_0x44bf0d['id'],_0x44bf0d['filterInfo']),_0x44bf0d[_0x208ef8(0x237)]&&_0x343898['renameField'](_0x44bf0d['id'],_0x44bf0d[_0x208ef8(0x237)]));}for(const _0x4d61d6 of _0x24718e){const _0x565b32=_0x41e398[_0x4d61d6];_0x565b32&&_0x343898[_0x208ef8(0x218)](_0x565b32[_0x208ef8(0x41a)])&&(_0x343898[_0x208ef8(0x258)](_0x565b32[_0x208ef8(0x41a)],_0xac72fb['Value'],void 0x0,_0x4d61d6),_0x565b32[_0x208ef8(0x369)]!==void 0x0&&_0x343898[_0x208ef8(0x3e7)](_0x4d61d6,_0x565b32[_0x208ef8(0x369)]),_0x565b32[_0x208ef8(0x3b3)]&&_0x343898['setFieldFormat'](_0x4d61d6,_0x565b32[_0x208ef8(0x3b3)]),_0x565b32[_0x208ef8(0x237)]&&_0x343898[_0x208ef8(0x405)](_0x565b32['id'],_0x565b32[_0x208ef8(0x237)]));}const _0x38474e=_0x14d5c3['valueFilter'];for(const {fieldId:_0x111927,filterInfo:_0x19cf09}of _0x38474e)_0x343898[_0x208ef8(0x2d7)](_0x111927,_0x19cf09);}function $i(_0x539535,_0x2d64ce){const _0x5a5246=_0x2547f2,_0x1747b8=[];_0x2d64ce===_0xac72fb[_0x5a5246(0x36e)]&&_0x539535['iterateFieldByArea'](_0xac72fb['Row'],_0x77491=>{const _0x228947=_0x5a5246;_0x1747b8['push'](_0x77491[_0x228947(0x2d6)]());}),_0x2d64ce===_0xac72fb[_0x5a5246(0x408)]&&_0x539535[_0x5a5246(0x2e6)](_0xac72fb[_0x5a5246(0x408)],_0x3d52a6=>{const _0x25fe86=_0x5a5246;_0x1747b8[_0x25fe86(0x249)](_0x3d52a6['getId']());}),_0x2d64ce===_0xac72fb[_0x5a5246(0x2c1)]&&_0x539535[_0x5a5246(0x2e6)](_0xac72fb['Filter'],_0x7e714b=>{const _0x1e6358=_0x5a5246;_0x1747b8[_0x1e6358(0x249)](_0x7e714b[_0x1e6358(0x2d6)]());}),_0x2d64ce===_0xac72fb[_0x5a5246(0x27d)]&&_0x539535[_0x5a5246(0x2e6)](_0xac72fb['Value'],_0x50a427=>{const _0x10974f=_0x5a5246;_0x1747b8[_0x10974f(0x249)](_0x50a427[_0x10974f(0x2d6)]());}),_0x2d64ce===void 0x0&&_0x539535[_0x5a5246(0x32f)](_0x18abad=>{_0x1747b8['push'](_0x18abad['getId']());});const _0x3529ef=_0x1747b8['length'];for(let _0x33b975=_0x3529ef-0x1;_0x33b975>=0x0;_0x33b975--)_0x539535['removeField'](_0x1747b8[_0x33b975]);const _0x1498ea=_0x539535[_0x5a5246(0x260)]();for(const _0x10ae9b in _0x1498ea)_0x539535[_0x5a5246(0x428)](_0x10ae9b);}function Qi(_0x19e9fb,_0x16fd13){const _0x42ed0c=_0x2547f2,_0x223a97=new Date(_0x41063c(_0x16fd13)),_0x50c8e2=new Date(_0x41063c(_0x19e9fb)),_0xd2099a=_0x223a97['getFullYear'](),_0x3a0a6f=_0x50c8e2[_0x42ed0c(0x388)](),_0x50b734=_0x223a97[_0x42ed0c(0x1de)](),_0x3d3856=_0x50c8e2[_0x42ed0c(0x1de)](),_0x942b8f=_0x223a97[_0x42ed0c(0x2de)](),_0x2ab879=_0x50c8e2['getDate'](),_0x18ef96=_0xd2099a===_0x3a0a6f,_0x32a518=_0x18ef96&&_0x50b734===_0x3d3856;return _0x18ef96&&_0x32a518&&!(_0x32a518&&_0x942b8f===_0x2ab879)?_0x583f29[_0x42ed0c(0x211)]:_0x18ef96&&!_0x32a518?_0x583f29[_0x42ed0c(0x20d)]:_0x583f29[_0x42ed0c(0x41f)];}function Wo(_0x1150e6,_0x94192f){const _0x56f712=_0x2547f2,_0x21689a=_0x1150e6[_0x56f712(0x2bd)](K)[_0x56f712(0x200)]();let _0x1be1b8='';switch(_0x94192f){case _0x583f29[_0x56f712(0x211)]:_0x1be1b8=_0x21689a['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x583f29['YearMonth']:_0x1be1b8=_0x21689a['sheets-pivot.dateGroup.yearMonth'];break;case _0x583f29[_0x56f712(0x41f)]:_0x1be1b8=_0x21689a['sheets-pivot.dateGroup.year'];break;case _0x583f29[_0x56f712(0x253)]:_0x1be1b8=_0x21689a[_0x56f712(0x21e)];break;case _0x583f29['Quarter']:_0x1be1b8=_0x21689a[_0x56f712(0x2d0)];break;case _0x583f29[_0x56f712(0x365)]:_0x1be1b8=_0x21689a['sheets-pivot.dateGroup.date'];break;case _0x583f29['HourMinute']:_0x1be1b8=_0x21689a[_0x56f712(0x3af)];break;case _0x583f29[_0x56f712(0x245)]:_0x1be1b8=_0x21689a[_0x56f712(0x426)];break;case _0x583f29[_0x56f712(0x223)]:_0x1be1b8=_0x21689a['sheets-pivot.dateGroup.minute'];break;case _0x583f29['MonthDate']:_0x1be1b8=_0x21689a[_0x56f712(0x2d5)];break;case _0x583f29[_0x56f712(0x311)]:_0x1be1b8=_0x21689a[_0x56f712(0x1e4)];break;default:_0x1be1b8='';break;}return _0x1be1b8;}const Zo=_0x2547f2(0x415),Mo={};var ji=Object[_0x2547f2(0x239)],Gi=(_0x3dc06f,_0x4760c7,_0x55687,_0x5b489b)=>{for(var _0x1443eb=_0x5b489b>0x1?void 0x0:_0x5b489b?ji(_0x4760c7,_0x55687):_0x4760c7,_0x4ac343=_0x3dc06f['length']-0x1,_0x52d2e9;_0x4ac343>=0x0;_0x4ac343--)(_0x52d2e9=_0x3dc06f[_0x4ac343])&&(_0x1443eb=_0x52d2e9(_0x1443eb)||_0x1443eb);return _0x1443eb;},at=(_0x4bac7d,_0x4384f8)=>(_0xe3c166,_0x42cdd7)=>_0x4384f8(_0xe3c166,_0x42cdd7,_0x4bac7d);let he=class extends _0x3ffe8d{constructor(_0x5a44eb,_0x5c9cb9,_0x26585a,_0x2452f2,_0x47671a){const _0x694faa=_0x2547f2;super(),x(this,_0x694faa(0x2ad),new Map()),x(this,_0x694faa(0x35c),new Map()),x(this,_0x694faa(0x3b1),new Map()),x(this,_0x694faa(0x2cb),new Map()),x(this,_0x694faa(0x20a),new _0x1a1216()),x(this,_0x694faa(0x409),new _0x1a1216()),x(this,_0x694faa(0x40d),this[_0x694faa(0x409)][_0x694faa(0x2ef)]()),x(this,_0x694faa(0x264),new _0x1a1216()),x(this,_0x694faa(0x283),this[_0x694faa(0x264)]['asObservable']()),x(this,_0x694faa(0x41d),{}),x(this,'configVersion$',this[_0x694faa(0x20a)][_0x694faa(0x2ef)]()),(this[_0x694faa(0x371)]=_0x5a44eb,this['_commandService']=_0x5c9cb9,this['_univerInstanceService']=_0x26585a,this[_0x694faa(0x310)]=_0x2452f2,this[_0x694faa(0x25d)]=_0x47671a,this['_initLocale'](),this[_0x694faa(0x1fe)]());const _0x269abf=this[_0x694faa(0x25d)][_0x694faa(0x449)](Zo);(_0x269abf==null?void 0x0:_0x269abf[_0x694faa(0x443)])===!0x0&&this[_0x694faa(0x3e4)]();}[_0x2547f2(0x1fe)](){const _0x342aa0=_0x2547f2;this[_0x342aa0(0x2f6)](this['_univerInstanceService'][_0x342aa0(0x270)](_0x4d32aa[_0x342aa0(0x41e)])[_0x342aa0(0x360)](_0x3c743a=>{const _0xc22349=_0x342aa0;this[_0xc22349(0x32e)](_0x3c743a[_0xc22349(0x374)]());}));}['setPivotInitCompleted'](){const _0x2f41fe=_0x2547f2;this[_0x2f41fe(0x409)][_0x2f41fe(0x3fc)](!0x0);}[_0x2547f2(0x23f)](){const _0x2af057=_0x2547f2,_0x127f0d=fo(this['_injector'],Ho,'',{});this[_0x2af057(0x41d)]=_0x127f0d,this[_0x2af057(0x2e0)][_0x2af057(0x300)](uo['id'],{'textInfo':_0x127f0d},{'onlyLocal':!0x0});}[_0x2547f2(0x200)](){const _0x339f90=_0x2547f2;return this[_0x339f90(0x41d)];}['updateViewInfo'](_0x1cbbe4,_0x309bc9,_0x2f650f,_0x18d24d,_0x3602ee){const _0x4d1506=_0x2547f2;this['updatePivotTableMatrixInfo'](_0x1cbbe4,_0x309bc9,_0x2f650f,_0x18d24d),this[_0x4d1506(0x3bd)](_0x1cbbe4,_0x309bc9,_0x2f650f,_0x3602ee);}[_0x2547f2(0x247)](_0x33729b,_0x536759,_0x2e5996){const _0x3f79a4=_0x2547f2;var _0x3d1318;const _0x2a2078=(_0x3d1318=this[_0x3f79a4(0x2ad)][_0x3f79a4(0x2bd)](_0x33729b))==null?void 0x0:_0x3d1318['get'](_0x536759);if(_0x2a2078)return _0x2a2078['get'](_0x2e5996);}[_0x2547f2(0x393)](_0x26e194,_0x23197d){const _0x371b54=_0x2547f2,_0x420164=this[_0x371b54(0x2ad)][_0x371b54(0x2bd)](_0x26e194);if(_0x420164){for(const [_0x2c4150,_0x137126]of _0x420164[_0x371b54(0x328)]())for(const [_0x1f2978,_0x207c2d]of _0x137126[_0x371b54(0x328)]())if(_0x1f2978===_0x23197d)return _0x207c2d[_0x371b54(0x422)];}}['getTargetByPivotId'](_0x22c96b,_0x14cc09,_0x211ca0){const _0x2c4b04=_0x2547f2,_0x3e24a8=this[_0x2c4b04(0x247)](_0x22c96b,_0x14cc09,_0x211ca0);return _0x3e24a8==null?void 0x0:_0x3e24a8[_0x2c4b04(0x422)];}['getSubUnitPivotConfigs'](_0x45933e,_0x4f073c){const _0x5a6847=_0x2547f2;var _0x3e647f;return(_0x3e647f=this[_0x5a6847(0x2ad)][_0x5a6847(0x2bd)](_0x45933e))==null?void 0x0:_0x3e647f[_0x5a6847(0x2bd)](_0x4f073c);}[_0x2547f2(0x282)](_0x55a679,_0xa22e0a,_0x36ecb2,_0x27d681){const _0x3fbbd5=_0x2547f2,_0x41c318=this['_ensurePivotMap'](_0x55a679,_0xa22e0a);_0x27d681?_0x41c318[_0x3fbbd5(0x402)](_0x36ecb2,_0x27d681):_0x41c318[_0x3fbbd5(0x2c9)](_0x36ecb2),this['_pivotConfigChange$'][_0x3fbbd5(0x3fc)]({'unitId':_0x55a679,'subUnitId':_0xa22e0a,'pivotTableId':_0x36ecb2,'pivotTableConfig':_0x27d681});}[_0x2547f2(0x23d)](_0x399404,_0x351245){const _0x7d1501=_0x2547f2;var _0x519e8d;return(_0x519e8d=this['_collectionConfigModel']['get'](_0x399404))==null?void 0x0:_0x519e8d[_0x7d1501(0x2f5)][_0x351245];}['updateCollectionConfig'](_0x278300,_0x3a2bad){const _0x16d481=_0x2547f2;this['_collectionConfigModel']['set'](_0x278300,_0x3a2bad),this['_configVersion$']['next'](Math[_0x16d481(0x3ff)]());}[_0x2547f2(0x23b)](_0x23c638,_0xaf8732){const _0x3edae7=_0x2547f2;let _0x17e996=this[_0x3edae7(0x2ad)][_0x3edae7(0x2bd)](_0x23c638);_0x17e996||(_0x17e996=new Map(),this[_0x3edae7(0x2ad)][_0x3edae7(0x402)](_0x23c638,_0x17e996));let _0x3d6005=_0x17e996[_0x3edae7(0x2bd)](_0xaf8732);return _0x3d6005||(_0x3d6005=new Map(),_0x17e996[_0x3edae7(0x402)](_0xaf8732,_0x3d6005)),_0x3d6005;}[_0x2547f2(0x1e5)](_0x5d39fe,_0x3d13f1){const _0x145102=_0x2547f2;let _0x3bef90=this[_0x145102(0x3b1)]['get'](_0x5d39fe);_0x3bef90||(_0x3bef90=new Map(),this[_0x145102(0x3b1)][_0x145102(0x402)](_0x5d39fe,_0x3bef90));let _0x2ccade=_0x3bef90[_0x145102(0x2bd)](_0x3d13f1);return _0x2ccade||(_0x2ccade=new Map(),_0x3bef90['set'](_0x3d13f1,_0x2ccade)),_0x2ccade;}['_ensurePivotTableMatrixInfo'](_0x1f63f6,_0x5609bd){const _0x5a478c=_0x2547f2;let _0x7d1b83=this[_0x5a478c(0x2cb)]['get'](_0x1f63f6);_0x7d1b83||(_0x7d1b83=new Map(),this[_0x5a478c(0x2cb)]['set'](_0x1f63f6,_0x7d1b83));let _0x5b1e84=_0x7d1b83[_0x5a478c(0x2bd)](_0x5609bd);return _0x5b1e84||(_0x5b1e84=new Map(),_0x7d1b83[_0x5a478c(0x402)](_0x5609bd,_0x5b1e84)),_0x5b1e84;}[_0x2547f2(0x3bd)](_0x159861,_0x131bec,_0x806bbb,_0x336cd6){const _0x5e71d7=_0x2547f2;var _0x2ec138;const _0x447692=this[_0x5e71d7(0x1e5)](_0x159861,_0x131bec),_0x6f787f=(_0x2ec138=_0x447692[_0x5e71d7(0x2bd)](_0x806bbb))==null?void 0x0:_0x2ec138['oldRangeInfo'];_0x447692[_0x5e71d7(0x402)](_0x806bbb,{'oldRangeInfo':_0x6f787f,'rangeInfo':_0x336cd6});}['updatePivotTableMatrixInfo'](_0x209763,_0xb4bf2f,_0x4fbf5d,_0x167592){const _0x4494c0=_0x2547f2;var _0x4ba487;const _0x45d4f0=this['_ensurePivotTableMatrixInfo'](_0x209763,_0xb4bf2f),_0x46c8a9=(_0x4ba487=_0x45d4f0[_0x4494c0(0x2bd)](_0x4fbf5d))==null?void 0x0:_0x4ba487['oldMatrix'];_0x45d4f0[_0x4494c0(0x402)](_0x4fbf5d,{'oldMatrix':_0x46c8a9,'matrix':_0x167592});}['getPivotTableRangeInfo'](_0x34fe6a,_0x3a326d,_0x208b75){const _0x1a4cf6=_0x2547f2;var _0x418fcd,_0x3c180e;return(_0x3c180e=(_0x418fcd=this[_0x1a4cf6(0x3b1)][_0x1a4cf6(0x2bd)](_0x34fe6a))==null?void 0x0:_0x418fcd['get'](_0x3a326d))==null?void 0x0:_0x3c180e[_0x1a4cf6(0x2bd)](_0x208b75);}[_0x2547f2(0x442)](_0x5ccc52,_0x4f3cce,_0x5bfb22){const _0x1bed3c=_0x2547f2;var _0x4ef499,_0x2b520c;return(_0x2b520c=(_0x4ef499=this['_pivotTableMatrixInfo'][_0x1bed3c(0x2bd)](_0x5ccc52))==null?void 0x0:_0x4ef499[_0x1bed3c(0x2bd)](_0x4f3cce))==null?void 0x0:_0x2b520c[_0x1bed3c(0x2bd)](_0x5bfb22);}['deleteUnitId'](_0x40cb52){const _0x573b2d=_0x2547f2;this[_0x573b2d(0x2ad)][_0x573b2d(0x2c9)](_0x40cb52),this['_collectionConfigModel'][_0x573b2d(0x2c9)](_0x40cb52);}[_0x2547f2(0x208)](_0x59c2d2){const _0x37618f=_0x2547f2,_0x71a7bf={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel'][_0x37618f(0x2bd)](_0x59c2d2)&&(_0x71a7bf['dataFieldManagerConfig'][_0x59c2d2]=this[_0x37618f(0x35c)][_0x37618f(0x2bd)](_0x59c2d2)),this['_model'][_0x37618f(0x2bd)](_0x59c2d2)){_0x71a7bf[_0x37618f(0x2e1)][_0x59c2d2]={};const _0x374f93=this[_0x37618f(0x2ad)][_0x37618f(0x2bd)](_0x59c2d2);_0x374f93!=null&&_0x374f93[_0x37618f(0x42a)]&&[..._0x374f93[_0x37618f(0x420)]()][_0x37618f(0x3c9)](_0xa6960a=>{const _0xf2c558=_0x37618f,_0x2b5fa6=_0x374f93[_0xf2c558(0x2bd)](_0xa6960a);_0x2b5fa6!=null&&_0x2b5fa6[_0xf2c558(0x42a)]&&(_0x71a7bf['pivotTableConfigs'][_0x59c2d2][_0xa6960a]={},[..._0x2b5fa6[_0xf2c558(0x420)]()][_0xf2c558(0x3c9)](_0x3c9157=>{const _0x5b841c=_0xf2c558,_0x548a51=_0x2b5fa6[_0x5b841c(0x2bd)](_0x3c9157);_0x548a51&&(_0x71a7bf[_0x5b841c(0x2e1)][_0x59c2d2][_0xa6960a][_0x3c9157]=_0x548a51);}));});}return _0x71a7bf;}[_0x2547f2(0x3e4)](){const _0x3efda7=_0x2547f2;this[_0x3efda7(0x2f6)](this['_resourceManagerService'][_0x3efda7(0x287)]({'toJson':_0x447fea=>JSON[_0x3efda7(0x1df)](this[_0x3efda7(0x208)](_0x447fea)),'parseJson':_0x135501=>({}),'businesses':[_0x4d32aa['UNIVER_SHEET']],'pluginName':ao,'onLoad':(_0x5ad1b7,_0x56fd58)=>{},'onUnLoad':_0x50699e=>{const _0x4b3734=_0x3efda7;this[_0x4b3734(0x32e)](_0x50699e);}}));}};he=Gi([at(0x0,_0x48d3dc(_0x43a13d)),at(0x1,_0x48d3dc(_0xeb8ce6)),at(0x2,_0x48d3dc(_0x4ababf)),at(0x3,_0x48d3dc(_0x31e3ec)),at(0x4,_0x48d3dc(_0x376ed6))],he);var Wi=Object[_0x2547f2(0x239)],Zi=(_0x37a642,_0x45d33e,_0x43bdce,_0x3f6f12)=>{const _0x1c1a89=_0x2547f2;for(var _0x3a26c8=_0x3f6f12>0x1?void 0x0:_0x3f6f12?Wi(_0x45d33e,_0x43bdce):_0x45d33e,_0x96c13b=_0x37a642[_0x1c1a89(0x1f7)]-0x1,_0x396037;_0x96c13b>=0x0;_0x96c13b--)(_0x396037=_0x37a642[_0x96c13b])&&(_0x3a26c8=_0x396037(_0x3a26c8)||_0x3a26c8);return _0x3a26c8;},rt=(_0x2c281e,_0xe5c3ee)=>(_0xa4c77d,_0x544cf0)=>_0xe5c3ee(_0xa4c77d,_0x544cf0,_0x2c281e);let Ne=class extends _0x3ffe8d{constructor(_0x4ea6f2,_0x35e2c6,_0x138ae0,_0x46fa45,_0x37cf11){const _0x59c0ed=_0x2547f2;super(),x(this,'_pivotRenderInfoCache',new Map()),x(this,_0x59c0ed(0x348),new Map()),x(this,_0x59c0ed(0x3fa),new _0x1a1216()),x(this,_0x59c0ed(0x1ef),this[_0x59c0ed(0x3fa)]['asObservable']()),x(this,_0x59c0ed(0x39a),new _0x1a1216()),x(this,_0x59c0ed(0x2d9),this[_0x59c0ed(0x39a)]['asObservable']()),x(this,_0x59c0ed(0x41d)),(this[_0x59c0ed(0x37d)]=_0x4ea6f2,this[_0x59c0ed(0x371)]=_0x35e2c6,this[_0x59c0ed(0x20b)]=_0x138ae0,this[_0x59c0ed(0x261)]=_0x46fa45,this[_0x59c0ed(0x278)]=_0x37cf11,this[_0x59c0ed(0x23f)](),this[_0x59c0ed(0x1fe)]());}[_0x2547f2(0x1fe)](){const _0x2fd116=_0x2547f2;this[_0x2fd116(0x2f6)](this[_0x2fd116(0x261)]['getTypeOfUnitDisposed$'](_0x4d32aa[_0x2fd116(0x41e)])['subscribe'](_0x1baa75=>{const _0x55097a=_0x2fd116;this[_0x55097a(0x32e)](_0x1baa75['getUnitId']());}));}[_0x2547f2(0x23f)](){const _0x13f4c1=_0x2547f2;this[_0x13f4c1(0x41d)]=fo(this['_injector'],Ho,'',{});}['updateRenderCache'](_0x1d8144){const _0x369a48=_0x2547f2,{view:_0x5328d4,unitId:_0x52c334,subUnitId:_0x575fdf,pivotTableId:_0x45e096,type:_0x329ad8}=_0x1d8144,_0x4529bf=this['_sheetsPivotTableConfigModel'][_0x369a48(0x247)](_0x52c334,_0x575fdf,_0x45e096);if(!_0x5328d4||!_0x4529bf||_0x329ad8===L[_0x369a48(0x28c)])return;const {pageView:_0x59d64c,cornerView:_0x19d2d3,rowView:_0x3d4099,colView:_0xe5a44d,dataView:_0x268558}=_0x5328d4,_0x5ce0fa=_0x4529bf[_0x369a48(0x422)],_0x1aaad2=_0x4529bf['isEmpty'],_0x50ec37=this[_0x369a48(0x403)](_0x52c334,_0x575fdf),_0x2fc5fc=this['_ensurePivotItemRenderInfoCache'](_0x52c334,_0x575fdf,_0x45e096);if(_0x1aaad2)return this[_0x369a48(0x1f4)](_0x1d8144,_0x50ec37,_0x5ce0fa,_0x2fc5fc);{const _0x5de711=ge(_0x5ce0fa,_0x59d64c,!0x0),_0x109359=_0x59d64c[_0x369a48(0x24c)]>=0x0?_0x59d64c[_0x369a48(0x24c)]+0x1:0x0,_0x246ee9=_0x19d2d3['getRowCount'](),_0x4840f0=_0x19d2d3[_0x369a48(0x345)](),_0x3654f8=_0x5de711[_0x369a48(0x1f7)]>0x0?It:0x0,_0x3d4aec=ge({'row':_0x5ce0fa[_0x369a48(0x2db)]+_0x109359+_0x3654f8,'col':_0x5ce0fa[_0x369a48(0x2f3)]},_0x19d2d3,!0x1,!0x1),_0x196b19=ge({'row':_0x5ce0fa[_0x369a48(0x2db)]+_0x109359+_0x3654f8+_0x246ee9,'col':_0x5ce0fa[_0x369a48(0x2f3)]},_0x3d4099,!0x1,!0x0),_0x4b38bd=ge({'row':_0x5ce0fa[_0x369a48(0x2db)]+_0x109359+_0x3654f8,'col':_0x5ce0fa[_0x369a48(0x2f3)]+_0x4840f0},_0xe5a44d,!0x1,!0x0),_0x1ce25d=ge({'row':_0x5ce0fa[_0x369a48(0x2db)]+_0x109359+_0x3654f8+_0x246ee9,'col':_0x5ce0fa[_0x369a48(0x2f3)]+_0x4840f0},_0x268558,!0x1,!0x1);_0x2fc5fc['rangesInfo']={'rowRanges':_0x196b19,'colRanges':_0x4b38bd,'cornerRanges':_0x3d4aec,'dataRanges':_0x1ce25d,'pageRanges':_0x5de711};const _0x2b7614=Mi(this[_0x369a48(0x371)],_0x5328d4,_0x4529bf,this['_textInfo']),{valueMatrix:_0x5d4355,rowInfo:_0x3f9855,colInfo:_0x40a44a,cornerInfo:_0x589365,rowHeaderMap:_0x49d0bc,colHeaderMap:_0x3a8c3e}=_0x2b7614;return _0x2fc5fc[_0x369a48(0x2a4)]={'rowInfo':_0x3f9855,'colInfo':_0x40a44a,'cornerInfo':_0x589365},_0x2fc5fc[_0x369a48(0x35d)]={'rowHeaderMap':_0x49d0bc,'colHeaderMap':_0x3a8c3e},_0x5d4355['forEach']((_0x2a7d97,_0x42e13d)=>{const _0x3abbc1=_0x369a48;Object[_0x3abbc1(0x420)](_0x42e13d)['forEach'](_0x266d43=>{const _0xa8c3ee=_0x3abbc1,_0x4e1e28=+_0x266d43,_0x25bfd2=_0x5d4355[_0xa8c3ee(0x291)](_0x2a7d97,_0x4e1e28);_0x50ec37[_0xa8c3ee(0x430)](_0x2a7d97,_0x4e1e28,_0x25bfd2);});}),this[_0x369a48(0x39a)][_0x369a48(0x3fc)]({'unitId':_0x52c334,'subUnitId':_0x575fdf,'valueMatrix':_0x50ec37,'rangesCache':_0x2fc5fc[_0x369a48(0x364)],'pivotTableId':_0x45e096,'type':_0x1d8144[_0x369a48(0x2ae)]}),this['_sheetsPivotTableConfigModel'][_0x369a48(0x331)](_0x52c334,_0x575fdf,_0x45e096,_0x50ec37,_0x2fc5fc[_0x369a48(0x364)]),this[_0x369a48(0x278)]['addExclusiveRange'](_0x52c334,_0x575fdf,At,this[_0x369a48(0x3f5)](_0x2fc5fc[_0x369a48(0x364)],_0x45e096)),{'rangeCache':_0x2fc5fc[_0x369a48(0x364)],'matrix':_0x50ec37};}}[_0x2547f2(0x1f4)](_0x1f5200,_0xebeba5,_0x1dca77,_0x4db288){const _0x555839=_0x2547f2,_0x2ddb36=this['_localeService']['t'],{unitId:_0x1f2255,subUnitId:_0x99b5a1,pivotTableId:_0x2acb5f}=_0x1f5200,_0x597a9e={'filter':_0x2ddb36('sheets-pivot.emptyPivot.filter'),'row':_0x2ddb36(_0x555839(0x35a)),'column':_0x2ddb36(_0x555839(0x3bb)),'values':_0x2ddb36(_0x555839(0x386))},{matrixCache:_0x2315ff,rangesCache:_0x14ed41}=Qo(_0x597a9e,_0x1dca77);return _0x2315ff['forValue']((_0x8aa445,_0x24c248,_0x3bd47c)=>{_0xebeba5['setValue'](_0x8aa445,_0x24c248,_0x3bd47c);}),_0x4db288[_0x555839(0x364)]=_0x14ed41,this['_viewUpdate$'][_0x555839(0x3fc)]({'unitId':_0x1f2255,'subUnitId':_0x99b5a1,'valueMatrix':_0xebeba5,'rangesCache':_0x14ed41,'pivotTableId':_0x2acb5f,'type':_0x1f5200[_0x555839(0x2ae)],'isEmpty':!0x0}),this[_0x555839(0x20b)][_0x555839(0x331)](_0x1f2255,_0x99b5a1,_0x2acb5f,_0xebeba5,_0x14ed41),this[_0x555839(0x278)][_0x555839(0x1da)](_0x1f2255,_0x99b5a1,At,this[_0x555839(0x3f5)](_0x14ed41,_0x2acb5f)),{'rangeCache':_0x4db288[_0x555839(0x364)],'matrix':_0xebeba5};}[_0x2547f2(0x3f5)](_0x3e1af7,_0x26c02e){const _0x45b2a8=_0x2547f2,_0x4931b0=[],_0x4a722e=Lt(_0x3e1af7);for(const _0xd995b9 of _0x4a722e)_0x4931b0[_0x45b2a8(0x249)]({'groupId':_0x26c02e,'range':_0xd995b9});return _0x4931b0;}['clearRenderCache'](_0x3d21cc){const _0x2f6027=_0x2547f2;var _0x2cb5e3,_0x19f3f5,_0x6662c4,_0xbd4077;const {pivotTableId:_0xb0a6bb,unitId:_0x414a7e,subUnitId:_0x5f8155}=_0x3d21cc;if(!_0xb0a6bb||!_0x414a7e||!_0x5f8155)return;const _0x1931a0=this[_0x2f6027(0x403)](_0x414a7e,_0x5f8155),_0x3a1f38=(_0x19f3f5=(_0x2cb5e3=this[_0x2f6027(0x2e9)][_0x2f6027(0x2bd)](_0x414a7e))==null?void 0x0:_0x2cb5e3['get'](_0x5f8155))==null?void 0x0:_0x19f3f5['get'](_0xb0a6bb);if(_0x3a1f38!=null&&_0x3a1f38['rangesInfo']){for(const _0x48e214 of Object[_0x2f6027(0x420)](_0x3a1f38[_0x2f6027(0x364)]))_0x3a1f38[_0x2f6027(0x364)][_0x48e214]['forEach'](_0x2a3daf=>{const _0x4f13bf=_0x2f6027;for(let _0x4b97ac=_0x2a3daf['startRow'];_0x4b97ac<=_0x2a3daf['endRow'];_0x4b97ac++)for(let _0x29c37a=_0x2a3daf[_0x4f13bf(0x303)];_0x29c37a<=_0x2a3daf[_0x4f13bf(0x238)];_0x29c37a++)_0x1931a0[_0x4f13bf(0x3d4)](_0x4b97ac,_0x29c37a);});}_0x3a1f38&&((_0xbd4077=(_0x6662c4=this['_pivotRenderInfoCache']['get'](_0x414a7e))==null?void 0x0:_0x6662c4['get'](_0x5f8155))==null||_0xbd4077[_0x2f6027(0x2c9)](_0xb0a6bb)),this[_0x2f6027(0x39a)][_0x2f6027(0x3fc)]({'unitId':_0x414a7e,'subUnitId':_0x5f8155,'valueMatrix':_0x1931a0,'pivotTableId':_0xb0a6bb,'rangesCache':void 0x0,'type':_0x3d21cc[_0x2f6027(0x2ae)]}),this[_0x2f6027(0x278)][_0x2f6027(0x379)](_0x414a7e,_0x5f8155,At,_0xb0a6bb);}['_ensurePivotItemRenderInfoCache'](_0x22e36e,_0x2edf68,_0x407b12){const _0x547124=_0x2547f2;var _0xf49175,_0x40ddbe,_0x43820c,_0x3cd416,_0x413b4b,_0x54c664;return this['_pivotRenderInfoCache'][_0x547124(0x28e)](_0x22e36e)||this['_pivotRenderInfoCache']['set'](_0x22e36e,new Map()),(_0xf49175=this[_0x547124(0x2e9)][_0x547124(0x2bd)](_0x22e36e))!=null&&_0xf49175['has'](_0x2edf68)||(_0x40ddbe=this[_0x547124(0x2e9)][_0x547124(0x2bd)](_0x22e36e))==null||_0x40ddbe[_0x547124(0x402)](_0x2edf68,new Map()),(_0x3cd416=(_0x43820c=this[_0x547124(0x2e9)][_0x547124(0x2bd)](_0x22e36e))==null?void 0x0:_0x43820c[_0x547124(0x2bd)](_0x2edf68))!=null&&_0x3cd416[_0x547124(0x28e)](_0x407b12)||(_0x54c664=(_0x413b4b=this['_pivotRenderInfoCache'][_0x547124(0x2bd)](_0x22e36e))==null?void 0x0:_0x413b4b['get'](_0x2edf68))==null||_0x54c664['set'](_0x407b12,{}),this[_0x547124(0x2e9)][_0x547124(0x2bd)](_0x22e36e)[_0x547124(0x2bd)](_0x2edf68)['get'](_0x407b12);}['_ensurePivotItemRenderValueMatrixCache'](_0x5cd411,_0x3c503a){const _0x2806f0=_0x2547f2;var _0x33acc1,_0x55ce45;return this['_pivotRenderValueMatrixCache'][_0x2806f0(0x28e)](_0x5cd411)||this[_0x2806f0(0x348)]['set'](_0x5cd411,new Map()),(_0x33acc1=this['_pivotRenderValueMatrixCache'][_0x2806f0(0x2bd)](_0x5cd411))!=null&&_0x33acc1['has'](_0x3c503a)||(_0x55ce45=this[_0x2806f0(0x348)][_0x2806f0(0x2bd)](_0x5cd411))==null||_0x55ce45[_0x2806f0(0x402)](_0x3c503a,new _0x4d28c3()),this[_0x2806f0(0x348)][_0x2806f0(0x2bd)](_0x5cd411)[_0x2806f0(0x2bd)](_0x3c503a);}[_0x2547f2(0x35e)](_0x4cbddd,_0x2f9935,_0x1f02b0,_0x2d00d7){const _0x379a5c=_0x2547f2;var _0x400ced,_0x39e441;const _0x24ebe6=(_0x39e441=(_0x400ced=this[_0x379a5c(0x348)][_0x379a5c(0x2bd)](_0x4cbddd))==null?void 0x0:_0x400ced['get'](_0x2f9935))==null?void 0x0:_0x39e441[_0x379a5c(0x291)](_0x1f02b0,_0x2d00d7);if(_0x24ebe6!=null)return _0x24ebe6;}[_0x2547f2(0x3e8)](_0x108206,_0x315c5e,_0x1e9db3,_0x3d8d94){const _0x84836b=_0x2547f2;var _0x44489a;const _0x558db0=_0x4934f2(_0x1e9db3,_0x3d8d94),_0x5dbd6e=(_0x44489a=this[_0x84836b(0x2e9)][_0x84836b(0x2bd)](_0x108206))==null?void 0x0:_0x44489a[_0x84836b(0x2bd)](_0x315c5e);return _0x5dbd6e?Array[_0x84836b(0x220)](_0x5dbd6e[_0x84836b(0x420)]())['find'](_0x436952=>{const _0xd1a898=_0x84836b,_0x1f0c09=_0x5dbd6e['get'](_0x436952),_0x3072d0=_0x1f0c09==null?void 0x0:_0x1f0c09[_0xd1a898(0x364)];return _0x3072d0?Object['keys'](_0x3072d0)[_0xd1a898(0x445)](_0x1fa486=>_0x3072d0[_0x1fa486]['some'](_0x558006=>_0x3c2f0c['contains'](_0x558006,_0x558db0))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x394d93,_0x210fc2,_0xa73a46){const _0x5a3ee4=_0x2547f2;var _0xa37316;const _0x290a3d=(_0xa37316=this[_0x5a3ee4(0x2e9)][_0x5a3ee4(0x2bd)](_0x394d93))==null?void 0x0:_0xa37316[_0x5a3ee4(0x2bd)](_0x210fc2),_0x26dbc0=[];return _0x290a3d&&Array[_0x5a3ee4(0x220)](_0x290a3d[_0x5a3ee4(0x420)]())['forEach'](_0x332882=>{const _0x4759e4=_0x5a3ee4,_0x3e25d5=_0x290a3d['get'](_0x332882),_0xa4c16c=_0x3e25d5==null?void 0x0:_0x3e25d5['rangesInfo'];if(_0xa4c16c)for(const _0x43de7b of Object['values'](_0xa4c16c)){let _0x11f16e=!0x1;for(const _0x3244fc of _0x43de7b)if(_0x3c2f0c[_0x4759e4(0x319)](_0x3244fc,_0xa73a46)){_0x26dbc0[_0x4759e4(0x249)](_0x332882),_0x11f16e=!0x0;break;}if(_0x11f16e)break;}}),_0x26dbc0;}[_0x2547f2(0x297)](_0x3bb16c,_0x51e104){const _0x5c2405=_0x2547f2;var _0x36f43e,_0x219e3c;return(_0x219e3c=(_0x36f43e=this[_0x5c2405(0x348)][_0x5c2405(0x2bd)](_0x3bb16c))==null?void 0x0:_0x36f43e['get'](_0x51e104))!=null?_0x219e3c:new _0x4d28c3();}['getSubUnitPivotRenderCache'](_0x1b5beb,_0x2a1c88){const _0x5e526e=_0x2547f2;var _0x2df3d3;return(_0x2df3d3=this[_0x5e526e(0x2e9)][_0x5e526e(0x2bd)](_0x1b5beb))==null?void 0x0:_0x2df3d3['get'](_0x2a1c88);}[_0x2547f2(0x271)](_0x4b51c,_0x4847bc,_0x36409e){const _0x15aa7c=_0x2547f2;var _0x1d9086,_0xb2cffe;return(_0xb2cffe=(_0x1d9086=this[_0x15aa7c(0x2e9)][_0x15aa7c(0x2bd)](_0x4b51c))==null?void 0x0:_0x1d9086[_0x15aa7c(0x2bd)](_0x4847bc))==null?void 0x0:_0xb2cffe[_0x15aa7c(0x2bd)](_0x36409e);}[_0x2547f2(0x32e)](_0xc60436){const _0x2c04f2=_0x2547f2;this[_0x2c04f2(0x2e9)][_0x2c04f2(0x2c9)](_0xc60436),this[_0x2c04f2(0x348)][_0x2c04f2(0x2c9)](_0xc60436);}[_0x2547f2(0x3d6)](_0x51aa98,_0x455578){const _0x11dde4=_0x2547f2;this[_0x11dde4(0x3fa)][_0x11dde4(0x3fc)]({'unitId':_0x51aa98,'subUnitId':_0x455578});}};Ne=Zi([rt(0x0,_0x48d3dc(_0x209ec2)),rt(0x1,_0x48d3dc(_0x43a13d)),rt(0x2,_0x48d3dc(he)),rt(0x3,_0x48d3dc(_0x4ababf)),rt(0x4,_0x48d3dc(_0x26a498))],Ne);var qi=Object['getOwnPropertyDescriptor'],Yi=(_0x335233,_0x226e0b,_0x223ccf,_0x1a464b)=>{const _0x5ed20d=_0x2547f2;for(var _0xc366cb=_0x1a464b>0x1?void 0x0:_0x1a464b?qi(_0x226e0b,_0x223ccf):_0x226e0b,_0x44cf4a=_0x335233[_0x5ed20d(0x1f7)]-0x1,_0x345ce0;_0x44cf4a>=0x0;_0x44cf4a--)(_0x345ce0=_0x335233[_0x44cf4a])&&(_0xc366cb=_0x345ce0(_0xc366cb)||_0xc366cb);return _0xc366cb;},yo=(_0x35367d,_0x169a47)=>(_0x44c0b8,_0x3cb3d0)=>_0x169a47(_0x44c0b8,_0x3cb3d0,_0x35367d);let ie=class extends _0x3ffe8d{constructor(_0x44e6d0,_0x163bd4){const _0x35924d=_0x2547f2;super(),x(this,_0x35924d(0x26a),new _0x22a4d0({'PIVOT_PERFORM_CHECK':be})),x(this,_0x35924d(0x36c),new _0x199036({'PIVOT_MUTATION_GENERATE':Ko})),(this['_sheetInterceptorService']=_0x44e6d0,this[_0x35924d(0x1e3)]=_0x163bd4,this[_0x35924d(0x312)]());}[_0x2547f2(0x312)](){const _0x478db0=_0x2547f2;this[_0x478db0(0x250)]();}[_0x2547f2(0x26d)](_0x5738d4){const _0xc2ecd8=_0x2547f2;return this[_0xc2ecd8(0x26a)][_0xc2ecd8(0x3f2)](be)(!0x1,_0x5738d4);}[_0x2547f2(0x250)](){const _0x610ba2=_0x2547f2;this['disposeWithMe'](this[_0x610ba2(0x3de)][_0x610ba2(0x217)](_0x3664fc['CELL_CONTENT'],{'priority':0xc8,'effect':_0x314d33[_0x610ba2(0x27d)]|_0x314d33[_0x610ba2(0x232)],'handler':(_0x31122d,_0x4a54b2,_0x42a39f)=>{const _0x51dfb7=_0x610ba2,{row:_0x31e518,col:_0x2c9f25,unitId:_0xabdb55,subUnitId:_0x405557,workbook:_0x53cfc9}=_0x4a54b2,_0x1ff2b2=this['_sheetsPivotTableAdaptorModel']['getPivotTableCellData'](_0xabdb55,_0x405557,_0x31e518,_0x2c9f25);if(!_0x1ff2b2)return _0x42a39f(_0x31122d);const _0x54f039={..._0x31122d};(_0x1ff2b2['v']||_0x1ff2b2['v']===0x0)&&(_0x54f039['v']=_0x1ff2b2['v']),_0x1ff2b2['t']&&(_0x54f039['t']=_0x1ff2b2['t']);const _0x3b81b5=(typeof(_0x31122d==null?void 0x0:_0x31122d['s'])=='string'?_0x53cfc9['getStyles']()[_0x51dfb7(0x2bd)](_0x31122d==null?void 0x0:_0x31122d['s']):_0x31122d==null?void 0x0:_0x31122d['s'])||{},_0x410b95=_0x53cfc9[_0x51dfb7(0x3d2)]()['get'](_0x1ff2b2['s']),_0x4fe1c1={..._0x410b95,..._0x3b81b5};_0x410b95!=null&&_0x410b95['n']&&(_0x4fe1c1['n']=_0x410b95['n']);const _0x4e7382=_0x53cfc9['getStyles']()[_0x51dfb7(0x430)](_0x4fe1c1);return _0x54f039['s']=_0x4e7382,(_0x1ff2b2['pbt']===_0x1814d9[_0x51dfb7(0x2c4)]||_0x1ff2b2[_0x51dfb7(0x3ba)]===_0x1814d9['Expand'])&&(_0x54f039['fontRenderExtension']={},_0x54f039[_0x51dfb7(0x3da)][_0x51dfb7(0x43d)]=li),_0x42a39f(_0x54f039);}}));}};ie=Yi([yo(0x0,_0x48d3dc(_0x50cdf6)),yo(0x1,_0x48d3dc(Ne))],ie);function Nt(_0x435084,_0x886361){const _0x49c811=_0x2547f2;switch(_0x886361){case _0xac72fb[_0x49c811(0x27d)]:return _0x435084['valueFields'];case _0xac72fb[_0x49c811(0x2c1)]:return _0x435084['filterFields'];case _0xac72fb['Row']:return _0x435084[_0x49c811(0x3cd)];case _0xac72fb[_0x49c811(0x408)]:return _0x435084['columnFields'];default:return[];}}function Je(_0x58aa53,_0x3bc345){const _0x5b1f65=_0x2547f2;return _0x58aa53['measure'][_0x3bc345]||_0x58aa53[_0x5b1f65(0x354)][_0x3bc345];}function zi(_0x19817b,_0xb73d96){const _0x762f15=_0x2547f2,{area:_0x4dddd9,fieldJson:_0x1ad565,index:_0x448b41}=_0xb73d96;_0x4dddd9===_0xac72fb[_0x762f15(0x27d)]?_0x19817b['measure'][_0x1ad565['id']]=_0x1ad565:_0x19817b[_0x762f15(0x354)][_0x1ad565['id']]=_0x1ad565,Nt(_0x19817b,_0x4dddd9)['splice'](_0x448b41,0x0,_0x1ad565['id']);}function Xi(_0x11f334,_0x4203a6){const _0xae2d10=_0x2547f2,{area:_0x4f2482,fieldId:_0x433592,index:_0xbe367d}=_0x4203a6;_0x4f2482===_0xac72fb[_0xae2d10(0x27d)]?delete _0x11f334[_0xae2d10(0x28b)][_0x433592]:delete _0x11f334[_0xae2d10(0x354)][_0x433592],Nt(_0x11f334,_0x4f2482)[_0xae2d10(0x362)](_0xbe367d,0x1);}function es(_0x3c967f,_0x29b9d3){const _0x498bd2=_0x2547f2,{fieldId:_0x4e06ad,name:_0x338b17}=_0x29b9d3,_0x361000=Je(_0x3c967f,_0x4e06ad);_0x361000&&(_0x361000[_0x498bd2(0x237)]=_0x338b17);}function ts(_0x3e4955,_0x4d3dee){const _0x1f90ae=_0x2547f2,{fieldId:_0x4dc04e,collapse:_0x39c3d4,item:_0x4f9c28}=_0x4d3dee;_0x4f9c28!==void 0x0?(_0x3e4955[_0x1f90ae(0x1f3)][_0x4dc04e]=_0x3e4955[_0x1f90ae(0x1f3)][_0x4dc04e]||{},_0x3e4955[_0x1f90ae(0x1f3)][_0x4dc04e][_0x4f9c28]=_0x39c3d4):_0x3e4955[_0x1f90ae(0x1f3)][_0x4dc04e]=_0x39c3d4;}function os(_0x26a9a5,_0x425752){const _0x5251de=_0x2547f2,{fieldId:_0x162b73,format:_0x401abc}=_0x425752,_0x116162=Je(_0x26a9a5,_0x162b73);_0x116162&&(_0x116162[_0x5251de(0x3b3)]=_0x401abc);}function ns(_0x213b0a,_0x1a14d4){const _0x1054ae=_0x2547f2,{fieldId:_0x27096d,filterInfo:_0x22d3c3}=_0x1a14d4,_0xb4e479=Je(_0x213b0a,_0x27096d);_0xb4e479&&(_0xb4e479[_0x1054ae(0x1fa)]=_0x22d3c3);}function is(_0x43aba0,_0x26450d){const _0xb44ffe=_0x2547f2,{fieldId:_0x6900a9,filterInfo:_0xd7f501}=_0x26450d,_0x6f9402=_0x43aba0[_0xb44ffe(0x352)][_0xb44ffe(0x290)](_0xfce10=>_0xfce10[_0xb44ffe(0x26f)]!==_0x6900a9);_0xd7f501&&_0x6f9402['push']({'fieldId':_0x6900a9,'filterInfo':_0xd7f501}),_0x43aba0[_0xb44ffe(0x352)]=_0x6f9402;}function ss(_0x18c0a1,_0x431e2b){const _0x5a1d76=_0x2547f2,{fieldId:_0x4b1ac7,subtotalType:_0x318d64}=_0x431e2b,_0x408ce9=Je(_0x18c0a1,_0x4b1ac7);_0x408ce9&&(_0x408ce9[_0x5a1d76(0x369)]=_0x318d64);}function as(_0x1bfbb1,_0x1b2462){const _0x1a32f0=_0x2547f2,{fieldId:_0x126079,oldArea:_0x878401,area:_0x4a9ccc,oldIndex:_0x136ef8,index:_0x43c47d}=_0x1b2462,_0x5946ac=_0x878401!==_0xac72fb['Value']&&_0x4a9ccc===_0xac72fb[_0x1a32f0(0x27d)],_0x43ea32=_0x878401===_0xac72fb['Value']&&_0x4a9ccc!==_0xac72fb[_0x1a32f0(0x27d)];if(_0x5946ac||_0x43ea32){const _0x34c6e5=Je(_0x1bfbb1,_0x126079);_0x34c6e5&&(_0x5946ac?(delete _0x1bfbb1[_0x1a32f0(0x354)][_0x126079],_0x1bfbb1['measure'][_0x126079]=_0x34c6e5):(delete _0x1bfbb1['measure'][_0x126079],_0x1bfbb1[_0x1a32f0(0x354)][_0x126079]=_0x34c6e5));}const _0x20748c=Nt(_0x1bfbb1,_0x878401),_0x15fca9=Nt(_0x1bfbb1,_0x4a9ccc);_0x20748c[_0x1a32f0(0x362)](_0x136ef8,0x1),_0x15fca9[_0x1a32f0(0x362)](_0x43c47d,0x0,_0x126079);}function rs(_0x4ed135,_0x39bc79){const _0x356fa5=_0x2547f2,{valuePosition:_0x4f4cb9,index:_0x8f4490}=_0x39bc79;_0x4ed135[_0x356fa5(0x447)]=_0x4f4cb9,_0x4ed135['valueIndex']=_0x8f4490;}function ls(_0x46f9f5,_0x59bd90){const _0xf0d5ea=_0x2547f2,{tableFieldId:_0x5a1ea5,sourceName:_0x211fb7,dataFieldId:_0xd79c5d}=_0x59bd90,_0x272e96=Je(_0x46f9f5,_0x5a1ea5);_0x272e96&&(_0x272e96['sourceName']=_0x211fb7,_0x272e96[_0xf0d5ea(0x41a)]=_0xd79c5d);}function ds(_0xe8dac3,_0x43df85){const _0x274c9f=_0x2547f2,{fieldId:_0x999f07,sortInfo:_0x552f75}=_0x43df85,_0x42d65e=Je(_0xe8dac3,_0x999f07);_0x42d65e&&(_0x42d65e[_0x274c9f(0x378)]=_0x552f75);}function cs(_0x6fee3d,_0x94ef55){const {options:_0x462d4d}=_0x94ef55;_0x6fee3d['options']={..._0x6fee3d['options'],..._0x462d4d};}const Kt={'type':_0x198ec0[_0x2547f2(0x327)],'id':_0x2547f2(0x1f1),'handler'(_0x17da92,_0xf71e08){const _0x559a93=_0x2547f2;if(!_0xf71e08)return!0x1;if(!!_0x17da92[_0x559a93(0x2bd)](_0x376ed6)[_0x559a93(0x449)](W))return!0x0;const _0x779ab6=_0x17da92[_0x559a93(0x2bd)](K),{pivotTableId:_0x41fdb6,fieldJson:_0x3012b1,area:_0x372daa,index:_0x37db60,unitId:_0x470b2c,subUnitId:_0x1c660b}=_0xf71e08,_0x14b0e2=_0x779ab6[_0x559a93(0x265)](_0x41fdb6);if(!_0x14b0e2)return!0x1;let _0x171bca;_0x372daa===_0xac72fb[_0x559a93(0x27d)]?_0x171bca=_0x35ecb5(_0x3012b1):_0x171bca=_0x4653e4(_0x3012b1),_0x14b0e2[_0x559a93(0x230)](_0x171bca,_0x372daa,_0x37db60);const _0x3118d2=_0x779ab6[_0x559a93(0x204)](_0x470b2c,_0x1c660b,_0x41fdb6);zi(_0x3118d2,_0xf71e08);const _0x17fecd=_0x779ab6['getPivotTableConfig'](_0x470b2c,_0x1c660b,_0x41fdb6);return _0x779ab6[_0x559a93(0x24a)]({'unitId':_0x470b2c,'subUnitId':_0x1c660b,'token':_0x41fdb6,'type':L['Set'],'pivotConfig':_0x17fecd}),!0x0;}},Jt={'type':_0x198ec0[_0x2547f2(0x327)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x377c88,_0x3f44fc){const _0x2f029a=_0x2547f2;if(!_0x3f44fc)return!0x1;if(!!_0x377c88['get'](_0x376ed6)['getConfig'](W))return!0x0;const _0x539b84=_0x377c88['get'](K),{pivotTableId:_0x1e8839,fieldId:_0x39cc57,unitId:_0x3f8d66,subUnitId:_0x28178a}=_0x3f44fc,_0x24022c=_0x539b84[_0x2f029a(0x265)](_0x1e8839);if(!_0x24022c)return!0x1;_0x24022c[_0x2f029a(0x2a7)](_0x39cc57);const _0x93426=_0x539b84[_0x2f029a(0x204)](_0x3f8d66,_0x28178a,_0x1e8839);Xi(_0x93426,_0x3f44fc);const _0x5bb1ee=_0x539b84[_0x2f029a(0x247)](_0x3f8d66,_0x28178a,_0x1e8839);return _0x539b84[_0x2f029a(0x24a)]({'unitId':_0x3f8d66,'subUnitId':_0x28178a,'token':_0x1e8839,'type':L['Set'],'pivotConfig':_0x5bb1ee}),!0x0;}},$t={'type':_0x198ec0[_0x2547f2(0x327)],'id':'sheet.mutation.rename-pivot-field','handler'(_0x548e05,_0x2df8f4){const _0x5ed56f=_0x2547f2;if(!_0x2df8f4)return!0x1;if(!!_0x548e05[_0x5ed56f(0x2bd)](_0x376ed6)[_0x5ed56f(0x449)](W))return!0x0;const _0x125efd=_0x548e05[_0x5ed56f(0x2bd)](K),{unitId:_0x3a1b25,subUnitId:_0x5077c9,pivotTableId:_0x10bdec,fieldId:_0x4ffa53,name:_0x5d2f5a}=_0x2df8f4,_0x21d9b8=_0x125efd['getPivotTableInstance'](_0x10bdec);if(!_0x21d9b8)return!0x1;_0x21d9b8['renameField'](_0x4ffa53,_0x5d2f5a);const _0x2b1bea=_0x125efd[_0x5ed56f(0x204)](_0x3a1b25,_0x5077c9,_0x10bdec);return es(_0x2b1bea,_0x2df8f4),_0x125efd[_0x5ed56f(0x24a)]({'unitId':_0x3a1b25,'subUnitId':_0x5077c9,'token':_0x10bdec,'type':L[_0x5ed56f(0x2dd)]}),!0x0;}},Qt={'type':_0x198ec0[_0x2547f2(0x327)],'id':_0x2547f2(0x2ac),'handler'(_0x482678,_0x59641e){const _0x485fce=_0x2547f2;if(!_0x59641e)return!0x1;if(!!_0x482678['get'](_0x376ed6)[_0x485fce(0x449)](W))return!0x0;const _0x600303=_0x482678['get'](K),{unitId:_0x3ab12f,subUnitId:_0x2bb810,pivotTableId:_0x5ec90f,fieldId:_0x4aa426,collapse:_0x3d8b67,item:_0x2be2d4}=_0x59641e,_0x291360=_0x600303[_0x485fce(0x265)](_0x5ec90f);if(!_0x291360)return!0x1;_0x291360['setCollapse'](_0x4aa426,_0x3d8b67,_0x2be2d4);const _0x1a759b=_0x600303['getPivotTableModelConfig'](_0x3ab12f,_0x2bb810,_0x5ec90f);return ts(_0x1a759b,_0x59641e),_0x600303['addDirtyPivotTable']({'unitId':_0x3ab12f,'subUnitId':_0x2bb810,'token':_0x5ec90f,'type':L[_0x485fce(0x2dd)]}),!0x0;}},jt={'type':_0x198ec0[_0x2547f2(0x327)],'id':_0x2547f2(0x37f),'handler'(_0x1d7650,_0x549b7c){const _0x32173b=_0x2547f2;if(!_0x549b7c)return!0x1;if(!!_0x1d7650[_0x32173b(0x2bd)](_0x376ed6)[_0x32173b(0x449)](W))return!0x0;const _0x168566=_0x1d7650['get'](K),{unitId:_0x2badd7,subUnitId:_0x59c8ac,pivotTableId:_0x159edd,fieldId:_0x596905,format:_0x387497}=_0x549b7c,_0x31b288=_0x168566['getPivotTableInstance'](_0x159edd);if(!_0x31b288)return!0x1;_0x31b288[_0x32173b(0x2f4)](_0x596905,_0x387497);const _0x3f16fa=_0x168566['getPivotTableModelConfig'](_0x2badd7,_0x59c8ac,_0x159edd);return os(_0x3f16fa,_0x549b7c),_0x168566[_0x32173b(0x24a)]({'unitId':_0x2badd7,'subUnitId':_0x59c8ac,'token':_0x159edd,'type':L[_0x32173b(0x2dd)]}),!0x0;}},Gt={'type':_0x198ec0[_0x2547f2(0x327)],'id':'sheet.mutation.set-pivot-filter','handler'(_0x4ace1a,_0x4aa252){const _0xfe50cb=_0x2547f2;if(!_0x4aa252)return!0x1;if(!!_0x4ace1a[_0xfe50cb(0x2bd)](_0x376ed6)[_0xfe50cb(0x449)](W))return!0x0;const _0x291288=_0x4ace1a[_0xfe50cb(0x2bd)](K),{unitId:_0x3b2e3c,subUnitId:_0x5b548e,pivotTableId:_0x3e8cd8,fieldId:_0x2baa75,filterInfo:_0x46b128}=_0x4aa252,_0x35ca8a=_0x291288[_0xfe50cb(0x265)](_0x3e8cd8);if(!_0x35ca8a)return!0x1;_0x35ca8a[_0xfe50cb(0x23a)](_0x2baa75,_0x46b128);const _0x1ddf3f=_0x291288[_0xfe50cb(0x204)](_0x3b2e3c,_0x5b548e,_0x3e8cd8);return ns(_0x1ddf3f,_0x4aa252),_0x291288[_0xfe50cb(0x24a)]({'unitId':_0x3b2e3c,'subUnitId':_0x5b548e,'token':_0x3e8cd8,'type':L[_0xfe50cb(0x2dd)]}),!0x0;}},Wt={'type':_0x198ec0['MUTATION'],'id':_0x2547f2(0x3f3),'handler'(_0x14ba3b,_0x2d6a27){const _0x49b4b9=_0x2547f2;if(!_0x2d6a27)return!0x1;if(!!_0x14ba3b[_0x49b4b9(0x2bd)](_0x376ed6)['getConfig'](W))return!0x0;const _0x41e048=_0x14ba3b[_0x49b4b9(0x2bd)](K),{unitId:_0x5d05fe,subUnitId:_0x343042,pivotTableId:_0x2279a2,options:_0x44f17f}=_0x2d6a27,_0x2d223f=_0x41e048[_0x49b4b9(0x265)](_0x2279a2);if(!_0x2d223f)return!0x1;_0x2d223f[_0x49b4b9(0x434)](_0x44f17f);const _0x4ff68a=_0x41e048[_0x49b4b9(0x204)](_0x5d05fe,_0x343042,_0x2279a2);return cs(_0x4ff68a,_0x2d6a27),_0x41e048[_0x49b4b9(0x24a)]({'unitId':_0x5d05fe,'subUnitId':_0x343042,'token':_0x2279a2,'type':L[_0x49b4b9(0x2dd)]}),!0x0;}},Zt={'type':_0x198ec0[_0x2547f2(0x327)],'id':_0x2547f2(0x321),'handler'(_0x21a56e,_0x214912){const _0x508442=_0x2547f2;if(!_0x214912)return!0x1;if(!!_0x21a56e[_0x508442(0x2bd)](_0x376ed6)[_0x508442(0x449)](W))return!0x0;const _0x17fb2f=_0x21a56e[_0x508442(0x2bd)](K),{unitId:_0x1d45a0,subUnitId:_0x5cc46f,pivotTableId:_0x39db95,sortInfo:_0x2e3ad8,fieldId:_0xb6d664}=_0x214912,_0x745f2e=_0x17fb2f[_0x508442(0x265)](_0x39db95);if(!_0x745f2e)return!0x1;_0x745f2e[_0x508442(0x3e5)](_0xb6d664,_0x2e3ad8);const _0x2de2ff=_0x17fb2f[_0x508442(0x204)](_0x1d45a0,_0x5cc46f,_0x39db95);return ds(_0x2de2ff,_0x214912),_0x17fb2f[_0x508442(0x24a)]({'unitId':_0x1d45a0,'subUnitId':_0x5cc46f,'token':_0x39db95,'type':L[_0x508442(0x2dd)]}),!0x0;}},qt={'type':_0x198ec0['MUTATION'],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x574e42,_0x2b30c8){const _0x465778=_0x2547f2;if(!_0x2b30c8)return!0x1;if(!!_0x574e42[_0x465778(0x2bd)](_0x376ed6)['getConfig'](W))return!0x0;const _0x555cac=_0x574e42[_0x465778(0x2bd)](K),{unitId:_0x1e61ac,subUnitId:_0x243b49,pivotTableId:_0x358e7b,fieldId:_0x3c0a9b,subtotalType:_0x395e35}=_0x2b30c8,_0x461734=_0x555cac[_0x465778(0x265)](_0x358e7b);if(!_0x461734)return!0x1;_0x461734['setSubtotalType'](_0x3c0a9b,_0x395e35);const _0x466e53=_0x555cac['getPivotTableModelConfig'](_0x1e61ac,_0x243b49,_0x358e7b);return ss(_0x466e53,_0x2b30c8),_0x555cac['addDirtyPivotTable']({'unitId':_0x1e61ac,'subUnitId':_0x243b49,'token':_0x358e7b,'type':L[_0x465778(0x2dd)]}),!0x0;}},Yt={'type':_0x198ec0[_0x2547f2(0x327)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x21e29c,_0x23eb97){const _0x345409=_0x2547f2;if(!_0x23eb97)return!0x1;if(!!_0x21e29c[_0x345409(0x2bd)](_0x376ed6)[_0x345409(0x449)](W))return!0x0;const _0x3f0c92=_0x21e29c[_0x345409(0x2bd)](K),{unitId:_0xe6370e,subUnitId:_0x841ef3,pivotTableId:_0x4df7d3,fieldId:_0x41fd3a,filterInfo:_0x41bac1}=_0x23eb97,_0x35b956=_0x3f0c92[_0x345409(0x265)](_0x4df7d3);if(!_0x35b956)return!0x1;_0x35b956[_0x345409(0x2d7)](_0x41fd3a,_0x41bac1);const _0x565b04=_0x3f0c92[_0x345409(0x204)](_0xe6370e,_0x841ef3,_0x4df7d3);return is(_0x565b04,_0x23eb97),_0x3f0c92[_0x345409(0x24a)]({'unitId':_0xe6370e,'subUnitId':_0x841ef3,'token':_0x4df7d3,'type':L[_0x345409(0x2dd)]}),!0x0;}},zt={'type':_0x198ec0[_0x2547f2(0x327)],'id':_0x2547f2(0x32b),'handler'(_0x5ef1e0,_0x5c135d){const _0x187980=_0x2547f2;if(!_0x5c135d)return!0x1;if(!!_0x5ef1e0[_0x187980(0x2bd)](_0x376ed6)[_0x187980(0x449)](W))return!0x0;const _0x35cb08=_0x5ef1e0[_0x187980(0x2bd)](K),{unitId:_0xdd1980,subUnitId:_0x400d59,pivotTableId:_0x5fa2ad,area:_0x185f95,index:_0x479512,fieldId:_0x2828c4}=_0x5c135d,_0x4b1886=_0x35cb08['getPivotTableInstance'](_0x5fa2ad);if(!_0x4b1886)return!0x1;_0x4b1886[_0x187980(0x25c)](_0x2828c4,_0x185f95,_0x479512);const _0x1477af=_0x35cb08['getPivotTableModelConfig'](_0xdd1980,_0x400d59,_0x5fa2ad);return as(_0x1477af,_0x5c135d),_0x35cb08[_0x187980(0x24a)]({'unitId':_0xdd1980,'subUnitId':_0x400d59,'token':_0x5fa2ad,'type':L[_0x187980(0x2dd)]}),!0x0;}},Xt={'type':_0x198ec0[_0x2547f2(0x327)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x1a371e,_0x34e3ed){const _0x14387f=_0x2547f2;if(!_0x34e3ed)return!0x1;if(!!_0x1a371e[_0x14387f(0x2bd)](_0x376ed6)[_0x14387f(0x449)](W))return!0x0;const _0x207d76=_0x1a371e[_0x14387f(0x2bd)](K),{unitId:_0xe52aab,subUnitId:_0x138c86,pivotTableId:_0x11f6b8,sourceName:_0xc0b666,dataFieldId:_0xcebcd5,tableFieldId:_0xb70f70}=_0x34e3ed,_0x5a7659=_0x207d76[_0x14387f(0x265)](_0x11f6b8);if(!_0x5a7659)return!0x1;_0x5a7659[_0x14387f(0x235)](_0xb70f70,_0xc0b666,_0xcebcd5);const _0x5b84b8=_0x207d76[_0x14387f(0x204)](_0xe52aab,_0x138c86,_0x11f6b8);return ls(_0x5b84b8,_0x34e3ed),_0x207d76[_0x14387f(0x24a)]({'unitId':_0xe52aab,'subUnitId':_0x138c86,'token':_0x11f6b8,'type':L[_0x14387f(0x2dd)]}),!0x0;}},eo={'type':_0x198ec0[_0x2547f2(0x327)],'id':_0x2547f2(0x1fc),'handler'(_0x43cc8f,_0x25b871){const _0x424b82=_0x2547f2;if(!_0x25b871)return!0x1;if(!!_0x43cc8f['get'](_0x376ed6)[_0x424b82(0x449)](W))return!0x0;const _0x1b7350=_0x43cc8f[_0x424b82(0x2bd)](K),{unitId:_0x23e751,subUnitId:_0x31cf96,pivotTableId:_0x3122c0,valuePosition:_0x4f3ac6,index:_0x6687bf}=_0x25b871,_0xbe54a=_0x1b7350[_0x424b82(0x265)](_0x3122c0);if(!_0xbe54a)return!0x1;_0xbe54a[_0x424b82(0x38e)](_0x4f3ac6,_0x6687bf);const _0x5bde66=_0x1b7350['getPivotTableModelConfig'](_0x23e751,_0x31cf96,_0x3122c0);return rs(_0x5bde66,_0x25b871),_0x1b7350['addDirtyPivotTable']({'unitId':_0x23e751,'subUnitId':_0x31cf96,'token':_0x3122c0,'type':L[_0x424b82(0x2dd)]}),!0x0;}};function me(_0x5d582d,_0x5027c5,_0x586fbb){const _0x34e12e=_0x2547f2,{pivotTableId:_0x45f45e,unitId:_0x4d2dfc,subUnitId:_0xf99e8f}=_0x5027c5,_0x2df54b=[],_0x6d8b0c=[];for(const _0x20cfa9 of _0x586fbb)switch(_0x20cfa9['type']){case _0x42338e[_0x34e12e(0x3c0)]:{const {fieldJson:_0xe85a1c,area:_0xbf80fa,index:_0x66b904}=_0x20cfa9,_0x24cf1a={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldJson':_0xe85a1c,'area':_0xbf80fa,'index':_0x66b904},_0x5109d0={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldId':_0xe85a1c['id'],'area':_0xbf80fa,'index':_0x66b904};_0x2df54b[_0x34e12e(0x249)]({'id':Kt['id'],'params':_0x24cf1a}),_0x6d8b0c[_0x34e12e(0x2ed)]({'id':Jt['id'],'params':_0x5109d0});}break;case _0x42338e[_0x34e12e(0x305)]:{const {fieldId:_0x25da12,newSubtotalType:_0x35ad10,oldSubtotalType:_0x424c25}=_0x20cfa9,_0x2cee15={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldId':_0x25da12,'subtotalType':_0x35ad10};_0x2df54b[_0x34e12e(0x249)]({'id':qt['id'],'params':_0x2cee15});const _0x5c9674={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldId':_0x25da12,'subtotalType':_0x424c25};_0x6d8b0c['unshift']({'id':qt['id'],'params':_0x5c9674});}break;case _0x42338e[_0x34e12e(0x3e3)]:{const {fieldId:_0x4c476e,fieldJson:_0x266731,area:_0x4bcfb4,index:_0x15338f}=_0x20cfa9,_0x271241={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldId':_0x4c476e,'index':_0x15338f,'area':_0x4bcfb4};_0x2df54b[_0x34e12e(0x249)]({'id':Jt['id'],'params':_0x271241});const _0x114f97={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldJson':_0x266731,'area':_0x4bcfb4,'index':_0x15338f};_0x6d8b0c['unshift']({'id':Kt['id'],'params':_0x114f97});}break;case _0x42338e['RenameField']:{const {fieldId:_0x4e64a0,oldName:_0x332fd5,newName:_0x3a6ed0}=_0x20cfa9,_0x40eed3={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldId':_0x4e64a0,'name':_0x3a6ed0};_0x2df54b['push']({'id':$t['id'],'params':_0x40eed3});const _0x54fa79={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldId':_0x4e64a0,'name':_0x332fd5};_0x6d8b0c[_0x34e12e(0x2ed)]({'id':$t['id'],'params':_0x54fa79});}break;case _0x42338e[_0x34e12e(0x350)]:{const {fieldId:_0xdefff5,oldFilterInfo:_0x1efaab,newFilterInfo:_0x1a2a06}=_0x20cfa9,_0x21c91d={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldId':_0xdefff5,'filterInfo':_0x1a2a06};_0x2df54b['push']({'id':Gt['id'],'params':_0x21c91d});const _0x4f83ff={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldId':_0xdefff5,'filterInfo':_0x1efaab};_0x6d8b0c[_0x34e12e(0x2ed)]({'id':Gt['id'],'params':_0x4f83ff});}break;case _0x42338e[_0x34e12e(0x31f)]:{const {fieldId:_0x4b8ac9,oldSortInfo:_0x4ee7ac,newSortInfo:_0x113809}=_0x20cfa9,_0x31009c={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldId':_0x4b8ac9,'sortInfo':_0x113809};_0x2df54b[_0x34e12e(0x249)]({'id':Zt['id'],'params':_0x31009c});const _0x5c90f9={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldId':_0x4b8ac9,'sortInfo':_0x4ee7ac};_0x6d8b0c[_0x34e12e(0x2ed)]({'id':Zt['id'],'params':_0x5c90f9});}break;case _0x42338e[_0x34e12e(0x3c7)]:{const {oldOptions:_0x4505fb,newOptions:_0x565972}=_0x20cfa9,_0x1128ad={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'options':_0x565972};_0x2df54b[_0x34e12e(0x249)]({'id':Wt['id'],'params':_0x1128ad});const _0x5c3c59={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'options':_0x4505fb};_0x6d8b0c[_0x34e12e(0x2ed)]({'id':Wt['id'],'params':_0x5c3c59});}break;case _0x42338e[_0x34e12e(0x25e)]:{const {oldArea:_0x182e3e,newArea:_0x5518a3,oldIndex:_0x4e7d37,newIndex:_0x59c97b,fieldId:_0x28b12d}=_0x20cfa9,_0x2adc86={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldId':_0x28b12d,'area':_0x5518a3,'index':_0x59c97b,'oldArea':_0x182e3e,'oldIndex':_0x4e7d37};_0x2df54b['push']({'id':zt['id'],'params':_0x2adc86});const _0x2c96c9={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldId':_0x28b12d,'area':_0x182e3e,'index':_0x4e7d37,'oldArea':_0x5518a3,'oldIndex':_0x59c97b};_0x6d8b0c['unshift']({'id':zt['id'],'params':_0x2c96c9});}break;case _0x42338e['UpdateValuePosition']:{const {oldValuePosition:_0x366e89,newValuePosition:_0x58065a,oldIndex:_0x1d055b,newIndex:_0x2d1aba}=_0x20cfa9,_0x275b5c={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'valuePosition':_0x58065a,'index':_0x2d1aba};_0x2df54b[_0x34e12e(0x249)]({'id':eo['id'],'params':_0x275b5c});const _0x39fe4d={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'valuePosition':_0x366e89,'index':_0x1d055b};_0x6d8b0c[_0x34e12e(0x2ed)]({'id':eo['id'],'params':_0x39fe4d});}break;case _0x42338e[_0x34e12e(0x37b)]:{const {fieldId:_0x809ecc,collapse:_0x325bca,item:_0x2e9bfb}=_0x20cfa9,_0x4032cd={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldId':_0x809ecc,'collapse':_0x325bca,'item':_0x2e9bfb};_0x2df54b[_0x34e12e(0x249)]({'id':Qt['id'],'params':_0x4032cd});const _0x3e9c59={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldId':_0x809ecc,'collapse':!_0x325bca,'item':_0x2e9bfb};_0x6d8b0c[_0x34e12e(0x2ed)]({'id':Qt['id'],'params':_0x3e9c59});}break;case _0x42338e['SetFieldFormat']:{const {newFormat:_0x581bff,oldFormat:_0x4958cf,fieldId:_0x537beb}=_0x20cfa9,_0x4e4268={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldId':_0x537beb,'format':_0x581bff};_0x2df54b['push']({'id':jt['id'],'params':_0x4e4268});const _0x20e816={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldId':_0x537beb,'format':_0x4958cf};_0x6d8b0c[_0x34e12e(0x2ed)]({'id':jt['id'],'params':_0x20e816});}break;case _0x42338e['UpdateSource']:{const {tableFieldId:_0x4f19a3,oldSourceName:_0x26a750,newSourceName:_0x252c71,oldDataFieldId:_0x414c95,newDataFieldId:_0x4c320b}=_0x20cfa9,_0x5df82e={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'tableFieldId':_0x4f19a3,'sourceName':_0x252c71,'dataFieldId':_0x4c320b};_0x2df54b[_0x34e12e(0x249)]({'id':Xt['id'],'params':_0x5df82e});const _0x4d03b2={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'tableFieldId':_0x4f19a3,'sourceName':_0x26a750,'dataFieldId':_0x414c95};_0x6d8b0c[_0x34e12e(0x2ed)]({'id':Xt['id'],'params':_0x4d03b2});}break;case _0x42338e[_0x34e12e(0x2a8)]:{const {fieldId:_0x9e0255,filterInfo:_0x378f73,oldFilterInfo:_0x87831d}=_0x20cfa9,_0x540574={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldId':_0x9e0255,'filterInfo':_0x378f73};_0x2df54b[_0x34e12e(0x249)]({'id':Yt['id'],'params':_0x540574});const _0xfee89c={'unitId':_0x4d2dfc,'subUnitId':_0xf99e8f,'pivotTableId':_0x45f45e,'fieldId':_0x9e0255,'filterInfo':_0x87831d};_0x6d8b0c[_0x34e12e(0x2ed)]({'id':Yt['id'],'params':_0xfee89c});}}return{'redos':_0x2df54b,'undos':_0x6d8b0c};}function _e(_0x171032,_0x2c0cf5){const _0x25fb42=_0x2547f2;var _0x13044c;const _0x33cf1d=_0x171032[_0x25fb42(0x2bd)](ie),{cellInfo:_0x30aa56,view:_0x5733b3,isEmpty:_0x3db169}=_0x2c0cf5;return(_0x13044c=_0x33cf1d[_0x25fb42(0x36c)][_0x25fb42(0x3a1)](Ko)(Po,{'cellInfo':_0x30aa56,'view':_0x5733b3,'isEmpty':_0x3db169}))!=null?_0x13044c:Po;}const us=()=>typeof process<'u'&&process[_0x2547f2(0x1e6)]!=null&&process['versions'][_0x2547f2(0x256)]!=null,Ct={'type':_0x198ec0[_0x2547f2(0x327)],'id':_0x2547f2(0x353),'handler'(_0x4f2ece,_0x43769f){const _0x305477=_0x2547f2;var _0x3366d6;if(!_0x43769f)return!0x1;const _0x837f3=_0x4f2ece[_0x305477(0x2bd)](_0x376ed6);if(!!_0x837f3[_0x305477(0x449)](W))return!0x0;const _0x4afb9d=_0x4f2ece[_0x305477(0x2bd)](_0x4ababf),_0x1e7811=_0x4f2ece[_0x305477(0x2bd)](K),{pivotTableId:_0x2f8b03,pivotTableConfig:_0x4cdf9d,collectionConfig:_0x8c8dd9,unitId:_0x1f9eef,subUnitId:_0x3656be}=_0x43769f,{sourceRangeInfo:_0x282cbf,fieldsConfig:_0x2f22d0,targetCellInfo:_0x1600c5}=_0x4cdf9d,_0x28242c=_0x4afb9d['getUnit'](_0x1f9eef);if(!_0x28242c||!_0x28242c[_0x305477(0x226)](_0x3656be))return!0x1;if(!us()){let _0x5ab6d1=0x0;_0x28242c[_0x305477(0x3e0)]()[_0x305477(0x3c9)](_0x2ece26=>{const _0x13723f=_0x305477;var _0x560c7c,_0x364bda;_0x5ab6d1+=(_0x364bda=(_0x560c7c=_0x1e7811[_0x13723f(0x28f)](_0x1f9eef,_0x2ece26[_0x13723f(0x277)]()))==null?void 0x0:_0x560c7c['size'])!=null?_0x364bda:0x0;});const _0x12135d=(_0x3366d6=_0x837f3[_0x305477(0x449)](_0x19427e))!=null?_0x3366d6:{},{ls:_0x5eecc7,pbk:_0x36a10b}=_0x12135d;if(!jo(_0x5eecc7,_0x36a10b))throw new _0xb09c31('limit\x20pivot');const _0x5022e1=go(so,_0x5eecc7,_0x36a10b)[_0x305477(0x255)];if(_0x5ab6d1>=_0x5022e1)throw new _0xb09c31(_0x305477(0x3d1));}if(!_0x8c8dd9||!_0x2f22d0)return!0x1;const {collection:_0x3382a9,updateDataFieldList:_0x5c891f}=_0x1e7811[_0x305477(0x429)](_0x2f8b03,_0x8c8dd9,_0x282cbf,_0x1600c5);_0x1e7811[_0x305477(0x356)](_0x3382a9,_0x5c891f,_0x282cbf);const _0x3b9b89=new _0x24dbbd(_0x3382a9,void 0x0,_0x2f8b03);_0x3b9b89[_0x305477(0x32a)](_0x2f22d0);const _0x10d2e6=JSON[_0x305477(0x3a9)](JSON[_0x305477(0x1df)](_0x4cdf9d));return _0x1e7811[_0x305477(0x2c6)](_0x1f9eef,_0x3656be,_0x2f8b03,_0x3b9b89,_0x10d2e6),_0x1e7811['addDirtyPivotTable']({'unitId':_0x1f9eef,'subUnitId':_0x3656be,'token':_0x2f8b03,'type':L[_0x305477(0x21d)],'pivotConfig':_0x10d2e6}),!0x0;}},Et={'type':_0x198ec0[_0x2547f2(0x327)],'id':_0x2547f2(0x1f2),'handler'(_0x4d351f,_0x405114){const _0x33e965=_0x2547f2;if(!_0x405114)return!0x1;if(!!_0x4d351f['get'](_0x376ed6)[_0x33e965(0x449)](W))return!0x0;const {pivotTableId:_0x41752b,unitId:_0x374fcf,subUnitId:_0x4ed667}=_0x405114,_0x54efa5=_0x4d351f['get'](K);return _0x54efa5['getPivotTableConfig'](_0x374fcf,_0x4ed667,_0x41752b)?(_0x54efa5[_0x33e965(0x24a)]({'unitId':_0x374fcf,'subUnitId':_0x4ed667,'token':_0x41752b,'type':L[_0x33e965(0x28c)]}),_0x54efa5[_0x33e965(0x3df)](_0x374fcf,_0x4ed667,_0x41752b),!0x0):!0x1;}},pt={'type':_0x198ec0['MUTATION'],'id':_0x2547f2(0x202),'handler'(_0x3b405c,_0x4758b2){const _0x39a791=_0x2547f2;if(!_0x4758b2)return!0x1;if(!!_0x3b405c['get'](_0x376ed6)['getConfig'](W))return!0x0;const {pivotTableId:_0xb3ac6b,targetCellPosition:_0x395fc8,unitId:_0x27732e,subUnitId:_0x26afb5}=_0x4758b2,_0x4fa856=_0x3b405c[_0x39a791(0x2bd)](K);if(!_0x4fa856[_0x39a791(0x265)](_0x4758b2[_0x39a791(0x1e1)]))return!0x1;const _0x419c5a=_0x4fa856[_0x39a791(0x2cd)](_0xb3ac6b);if(!_0x419c5a)return!0x1;const _0x2e879b=_0x4fa856['getCollection'](_0x419c5a[_0x39a791(0x224)],_0x4758b2[_0x39a791(0x1e1)]);if(!_0x2e879b)return!0x1;const _0x213ecc=_0x4fa856[_0x39a791(0x247)](_0x419c5a[_0x39a791(0x224)],_0x419c5a[_0x39a791(0x1e9)],_0xb3ac6b);if(!_0x213ecc)return!0x1;const _0x29ab13=_0x35bdc8[_0x39a791(0x3fe)](_0x213ecc);_0x29ab13[_0x39a791(0x422)]={'unitId':_0x27732e,'subUnitId':_0x26afb5,'row':_0x395fc8[_0x39a791(0x2db)],'col':_0x395fc8[_0x39a791(0x2f3)]};const _0x44ac21=_0x2e879b[_0x39a791(0x33a)]();if(_0x419c5a['subUnitId']===_0x26afb5&&_0x419c5a[_0x39a791(0x224)]===_0x27732e)_0x4fa856[_0x39a791(0x1d9)](_0x27732e,_0x26afb5,_0xb3ac6b,_0x29ab13),_0x4fa856[_0x39a791(0x24a)]({'unitId':_0x27732e,'subUnitId':_0x26afb5,'token':_0xb3ac6b,'type':L[_0x39a791(0x2dd)]});else{_0x4fa856[_0x39a791(0x24a)]({'unitId':_0x419c5a[_0x39a791(0x224)],'subUnitId':_0x419c5a[_0x39a791(0x1e9)],'token':_0xb3ac6b,'type':L['Delete']}),_0x4fa856[_0x39a791(0x3df)](_0x419c5a['unitId'],_0x419c5a[_0x39a791(0x1e9)],_0xb3ac6b);const _0x1d2659=_0x4fa856[_0x39a791(0x429)](_0xb3ac6b,_0x44ac21,_0x213ecc[_0x39a791(0x313)],_0x29ab13[_0x39a791(0x422)]),_0xa52988=new _0x24dbbd(_0x1d2659[_0x39a791(0x2b8)],void 0x0,_0xb3ac6b);_0xa52988[_0x39a791(0x32a)](_0x29ab13[_0x39a791(0x33c)]),_0x4fa856['addPivotTable'](_0x27732e,_0x26afb5,_0xb3ac6b,_0xa52988,_0x29ab13),_0x4fa856[_0x39a791(0x24a)]({'unitId':_0x27732e,'subUnitId':_0x26afb5,'token':_0xb3ac6b,'type':L[_0x39a791(0x21d)],'pivotConfig':_0x29ab13});}return!0x0;}},to={'type':_0x198ec0[_0x2547f2(0x327)],'id':_0x2547f2(0x2a1),'handler'(_0xfe05b,_0x5166a3){const _0xaf87b8=_0x2547f2;if(!_0x5166a3)return!0x1;if(!!_0xfe05b['get'](_0x376ed6)[_0xaf87b8(0x449)](W))return!0x0;const _0xbcf9e3=_0xfe05b[_0xaf87b8(0x2bd)](K),{pivotTableId:_0x8050c5,deleteIds:_0x1c9750,collectionJSON:_0x2401e3,dataRangeInfo:_0x7ae60c,unitId:_0x11a3df,subUnitId:_0x3a51b2}=_0x5166a3,_0x542c26=_0xbcf9e3['getPivotTableInstance'](_0x8050c5),_0x570c2b=_0xbcf9e3[_0xaf87b8(0x247)](_0x11a3df,_0x3a51b2,_0x8050c5);if(!_0x542c26||!_0x570c2b)return!0x1;const {collection:_0x5799f0,updateDataFieldList:_0x42205e}=_0xbcf9e3[_0xaf87b8(0x429)](_0x8050c5,_0x2401e3,_0x7ae60c,_0x570c2b[_0xaf87b8(0x422)]);_0xbcf9e3[_0xaf87b8(0x356)](_0x5799f0,_0x42205e,_0x7ae60c),_0x542c26[_0xaf87b8(0x1ed)](_0x5799f0);for(const _0x4bdfa of _0x1c9750)_0xbcf9e3[_0xaf87b8(0x320)](_0x7ae60c[_0xaf87b8(0x224)],_0x4bdfa);const _0x5e85a9=_0xbcf9e3['getPivotTableConfig'](_0x11a3df,_0x3a51b2,_0x8050c5);return _0x5e85a9[_0xaf87b8(0x313)]=JSON[_0xaf87b8(0x3a9)](JSON[_0xaf87b8(0x1df)](_0x7ae60c)),_0xbcf9e3[_0xaf87b8(0x24a)]({'unitId':_0x11a3df,'subUnitId':_0x3a51b2,'token':_0x8050c5,'type':L[_0xaf87b8(0x2dd)]}),!0x0;}},Ut={'type':_0x198ec0[_0x2547f2(0x327)],'id':_0x2547f2(0x1d8),'handler'(){return!0x0;}};var fs=Object[_0x2547f2(0x239)],gs=(_0x15609c,_0x29a64d,_0x45ed33,_0x2caba4)=>{const _0x215227=_0x2547f2;for(var _0x3ff1f5=_0x2caba4>0x1?void 0x0:_0x2caba4?fs(_0x29a64d,_0x45ed33):_0x29a64d,_0x130db9=_0x15609c[_0x215227(0x1f7)]-0x1,_0x533a9a;_0x130db9>=0x0;_0x130db9--)(_0x533a9a=_0x15609c[_0x130db9])&&(_0x3ff1f5=_0x533a9a(_0x3ff1f5)||_0x3ff1f5);return _0x3ff1f5;},wo=(_0x596f1c,_0x1308af)=>(_0x15d474,_0x1136e7)=>_0x1308af(_0x15d474,_0x1136e7,_0x596f1c);let X=class extends _0x3ffe8d{constructor(_0x1b3c54,_0x49e852){const _0x3d204e=_0x2547f2;super(),x(this,_0x3d204e(0x3ad),new Map()),(this['_injector']=_0x1b3c54,this[_0x3d204e(0x2e0)]=_0x49e852);}[_0x2547f2(0x29f)](_0x368b76){const _0x144ea8=_0x2547f2,{version:_0x1427af}=_0x368b76,_0x8306cf=this['_requestResolvers'][_0x144ea8(0x2bd)](_0x1427af);_0x8306cf&&(_0x8306cf(_0x368b76),this[_0x144ea8(0x3ad)][_0x144ea8(0x2c9)](_0x1427af));}['getPivotDisplayConfig'](_0x3c4217){return new Promise((_0x3f9ca1,_0x57f818)=>{const _0x90d93c=_0x4326,_0x281f6d=this['_generateUniqueVersion']();this[_0x90d93c(0x3ad)]['set'](_0x281f6d,_0x3f9ca1),this[_0x90d93c(0x2e0)][_0x90d93c(0x300)](ro['id'],{'version':_0x281f6d,..._0x3c4217},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x26bdab=_0x2547f2;return Math[_0x26bdab(0x3ff)]()[_0x26bdab(0x2e4)](0x24)['substring'](0x2,0x10);}};X=gs([wo(0x0,_0x48d3dc(_0x43a13d)),wo(0x1,_0x48d3dc(_0xeb8ce6))],X);const qo={'id':'sheet.mutation.add-group-collection','type':_0x198ec0[_0x2547f2(0x327)],'handler':(_0x40169b,_0x45b492)=>{const _0x269ab6=_0x2547f2;if(!_0x45b492)return!0x1;if(!!_0x40169b[_0x269ab6(0x2bd)](_0x376ed6)[_0x269ab6(0x449)](W))return!0x0;const {pivotTableId:_0x30a27e,fieldJSON:_0x2378bf,unitId:_0x4853d3,subUnitId:_0x3fa753}=_0x45b492,_0x489c75=_0x4533ea['fromJSON'](_0x2378bf);if(!_0x489c75)return!0x1;const _0xf628b3=_0x40169b['get'](K),_0xeb0c36=_0xf628b3[_0x269ab6(0x2a9)](_0x4853d3),_0x2cc287=_0xeb0c36[_0x269ab6(0x23d)](_0x30a27e);_0xeb0c36[_0x269ab6(0x397)](_0x489c75),_0x2cc287[_0x269ab6(0x230)](_0x489c75[_0x269ab6(0x2d6)](),_0x489c75[_0x269ab6(0x3d7)]());const _0x59b888=_0x2cc287[_0x269ab6(0x315)](_0x489c75[_0x269ab6(0x38c)]());_0x59b888&&_0x489c75['refreshGroupField'](_0x59b888);const _0x291609=_0xf628b3['getPivotTableConfig'](_0x4853d3,_0x3fa753,_0x30a27e);return _0xf628b3[_0x269ab6(0x24a)]({'unitId':_0x4853d3,'subUnitId':_0x3fa753,'token':_0x30a27e,'type':L[_0x269ab6(0x2dd)],'pivotConfig':_0x291609}),!0x0;}},Yo={'id':_0x2547f2(0x3fb),'type':_0x198ec0[_0x2547f2(0x327)],'handler':(_0x2a1a8,_0x3fbd05)=>{const _0x49572f=_0x2547f2;if(!_0x3fbd05)return!0x1;if(!!_0x2a1a8['get'](_0x376ed6)[_0x49572f(0x449)](W))return!0x0;const {pivotTableId:_0x402f72,dataFieldId:_0x420c1e,unitId:_0x35aa01,subUnitId:_0x7f1632}=_0x3fbd05,_0x5140b1=_0x2a1a8[_0x49572f(0x2bd)](K),_0x7adcd=_0x5140b1[_0x49572f(0x2a9)](_0x35aa01);_0x7adcd['getCollection'](_0x402f72)[_0x49572f(0x3d8)](_0x420c1e);let _0x4d698d=!0x0;for(const _0x4b7aba in _0x7adcd[_0x49572f(0x2f5)])if(_0x7adcd['collections'][_0x4b7aba][_0x49572f(0x275)]()[_0x49572f(0x3a7)](_0x420c1e)){_0x4d698d=!0x1;break;}_0x4d698d&&_0x7adcd['deleteDataField'](_0x420c1e);const _0x3d4787=_0x5140b1[_0x49572f(0x247)](_0x35aa01,_0x7f1632,_0x402f72);return _0x5140b1[_0x49572f(0x24a)]({'unitId':_0x35aa01,'subUnitId':_0x7f1632,'token':_0x402f72,'type':L[_0x49572f(0x2dd)],'pivotConfig':_0x3d4787}),!0x0;}},vs={'type':_0x198ec0[_0x2547f2(0x26e)],'id':'sheet.command.add-pivot-field',async 'handler'(_0x3e21ec,_0x316ad0){const _0xcbdcae=_0x2547f2;if(!_0x316ad0)return!0x1;const _0x531e97=_0x3e21ec[_0xcbdcae(0x2bd)](_0xeb8ce6),_0x1deae1=_0x3e21ec['get'](X),_0x5c243f=_0x3e21ec[_0xcbdcae(0x2bd)](_0x4768db),{pivotTableId:_0x224344,dataFieldId:_0x205c39,fieldArea:_0x4bd56c,index:_0x4224b2,unitId:_0x245772,subUnitId:_0x442980}=_0x316ad0,_0x25645f=(await _0x1deae1[_0xcbdcae(0x39c)]({'unitId':_0x245772,'subUnitId':_0x442980,'pivotTableId':_0x224344,'params':{'type':B['AddPivotField'],'addPivotField':{'dataFieldId':_0x205c39,'fieldArea':_0x4bd56c,'index':_0x4224b2}}}))['result'][_0xcbdcae(0x43b)];if(!_0x25645f)return!0x1;const {view:_0x48cc36,changesets:_0x31a05d,isEmpty:_0x22ff1f,pivotTableConfig:_0x2253ab,shouldBeAddedGroupJSON:_0x514535}=_0x25645f,_0x2a2573=_0x2253ab['targetCellInfo'],_0x151010=new _0x561c81();_0x151010[_0xcbdcae(0x27e)](_0x48cc36);const _0x2b0443={'cellInfo':_0x2a2573,'view':_0x151010,'isEmpty':_0x22ff1f};if(!await _0x3e21ec[_0xcbdcae(0x2bd)](ie)[_0xcbdcae(0x26a)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x2b0443))return!0x1;const _0x3405e4=we(_0x3e21ec,_0x151010,_0x2a2573,_0x22ff1f),_0x4e5f12=_e(_0x3e21ec,_0x2b0443),{undos:_0x443af8,redos:_0x2a58c2}=me(_0x531e97,{'pivotTableId':_0x224344,'unitId':_0x245772,'subUnitId':_0x442980},_0x31a05d);return _0x514535&&(_0x2a58c2[_0xcbdcae(0x2ed)]({'id':qo['id'],'params':{'pivotTableId':_0x224344,'fieldJSON':_0x514535,'unitId':_0x245772,'subUnitId':_0x442980}}),_0x443af8['push']({'id':Yo['id'],'params':{'pivotTableId':_0x224344,'dataFieldId':_0x514535['id'],'unitId':_0x245772,'subUnitId':_0x442980}})),_0x3146de([..._0x3405e4[_0xcbdcae(0x35b)],..._0x4e5f12['redos'],..._0x2a58c2],_0x531e97),_0x5c243f[_0xcbdcae(0x34c)]({'unitID':_0x245772,'redoMutations':[..._0x3405e4[_0xcbdcae(0x35b)],..._0x4e5f12['redos'],..._0x2a58c2],'undoMutations':[..._0x3405e4['undos'],..._0x4e5f12['undos'],..._0x443af8]}),!0x0;}},hs={'type':_0x198ec0['COMMAND'],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x1b703e,_0x57ca90){const _0x5700bd=_0x2547f2;if(!_0x57ca90)return!0x1;const {sourceDataInfo:_0x313714,pivotTableConfig:_0x25795d}=_0x57ca90;if(!_0x313714||!_0x25795d)return!0x1;const {unitId:_0x5cd894,subUnitId:_0x15648e,range:_0x503ba1}=_0x313714,_0x1ec9c9=_0x1b703e['get'](_0x4ababf),_0x222ed9=_0x1b703e['get'](X),_0x164cec=_0x1b703e[_0x5700bd(0x2bd)](_0x209ec2),_0x15c6a6=_0x1b703e[_0x5700bd(0x2bd)](_0xeb8ce6),_0x3b1159=_0x1ec9c9[_0x5700bd(0x268)](_0x5cd894);if(!_0x3b1159)return!0x1;const _0x28b95b=_0x3b1159[_0x5700bd(0x226)](_0x15648e);if(!_0x28b95b)return!0x1;const _0xa9070e=_0x1c299d(0x8),_0x57d601=_0x503ba1||{'startRow':0x0,'startColumn':0x0,'endRow':_0x28b95b['getRowCount']()-0x1,'endColumn':_0x28b95b[_0x5700bd(0x29c)]()-0x1};_0x57d601[_0x5700bd(0x307)]=_0x50d549[_0x5700bd(0x342)];const _0x1abcc7=(await _0x222ed9['getPivotDisplayConfig']({'unitId':_0x5cd894,'subUnitId':_0x15648e,'pivotTableId':_0xa9070e,'params':{'type':B[_0x5700bd(0x423)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x5cd894,'sheetName':_0x28b95b[_0x5700bd(0x3d7)](),'subUnitId':_0x15648e,'range':_0x57d601},'pivotTableId':_0xa9070e,'pivotTableIndexConfig':_0x25795d}}}))['result'][_0x5700bd(0x2c5)];if(!_0x1abcc7)return!0x1;const {isEmpty:_0x1f7610,fieldsConfig:_0x4079c3,collectionConfig:_0x36bcde,changesets:_0x56287b}=_0x1abcc7,_0x2d117c=_0x3b1159[_0x5700bd(0x3e0)]()['length'],_0x344d87=_0x32448d({'rowCount':_0x28b95b[_0x5700bd(0x292)]()-0x1,'columnCount':_0x28b95b[_0x5700bd(0x29c)]()-0x1});_0x344d87['id']=_0xe5d4b9(),_0x344d87['name']=_0x3b1159['generateNewSheetName'](''+_0x164cec['t'](_0x5700bd(0x387)));const _0x377d77={'index':_0x2d117c,'sheet':_0x344d87,'unitId':_0x5cd894},{redos:_0x437d6c}=me(_0x15c6a6,{'pivotTableId':_0xa9070e,'unitId':_0x5cd894,'subUnitId':_0x344d87['id']},_0x56287b),_0x5d6e62=[{'id':_0x297f03['id'],'params':_0x377d77},{'id':Ct['id'],'params':{'unitId':_0x5cd894,'subUnitId':_0x344d87['id'],'pivotTableId':_0xa9070e,'pivotTableConfig':{'isEmpty':_0x1f7610,'fieldsConfig':_0x4079c3,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x5cd894,'subUnitId':_0x344d87['id']},'sourceRangeInfo':{'subUnitId':_0x15648e,'unitId':_0x5cd894,'range':_0x57d601,'sheetName':_0x28b95b[_0x5700bd(0x3d7)]()}},'collectionConfig':_0x36bcde}},..._0x437d6c];return _0x3146de(_0x5d6e62,_0x15c6a6),!0x0;}},ps={'type':_0x198ec0[_0x2547f2(0x26e)],'id':_0x2547f2(0x31e),async 'handler'(_0xe32392,_0x158970){const _0x1d3e8f=_0x2547f2;var _0x35c9fa,_0x2682fe;const _0x563915=_0xe32392[_0x1d3e8f(0x2bd)](_0xeb8ce6),_0x1f6145=_0xe32392['get'](_0x4ababf),_0x569f86=_0xe32392[_0x1d3e8f(0x2bd)](_0x209ec2),_0x177c21=_0xe32392['get'](X),_0x5c9a91=_0xe32392[_0x1d3e8f(0x2bd)](_0x4768db),_0x2a6f60=_0xe32392[_0x1d3e8f(0x2bd)](he),_0x3f4d42=_0xe32392['get'](_0x376ed6);if(!_0x158970)return!0x1;const {pivotTableConfig:_0x36c359,positionType:_0x5b1f11}=_0x158970,{targetCellInfo:_0x46fae6,sourceRangeInfo:_0x4dfc6e}=_0x36c359,{unitId:_0x42ec6d,subUnitId:_0x3cd30d}=_0x46fae6,_0x6833c7=_0x1f6145[_0x1d3e8f(0x268)](_0x42ec6d);if(!_0x6833c7)return!0x1;let _0x51614a=0x0;_0x6833c7['getSheets']()[_0x1d3e8f(0x3c9)](_0x21fa9f=>{const _0x5d3b2c=_0x1d3e8f;var _0x4abaa3,_0x3cdd56;_0x51614a+=(_0x3cdd56=(_0x4abaa3=_0x2a6f60[_0x5d3b2c(0x28f)](_0x42ec6d,_0x21fa9f[_0x5d3b2c(0x277)]()))==null?void 0x0:_0x4abaa3[_0x5d3b2c(0x42a)])!=null?_0x3cdd56:0x0;});const _0x279157=(_0x35c9fa=_0x3f4d42['getConfig'](_0x19427e))!=null?_0x35c9fa:{},{ls:_0x33e33b,pbk:_0x91d40d}=_0x279157;if(!jo(_0x33e33b,_0x91d40d))return!0x1;const _0x57548b=go(so,_0x33e33b,_0x91d40d)[_0x1d3e8f(0x255)];if(_0x51614a>=_0x57548b)return!0x1;const _0xbcd8d8=_0x158970[_0x1d3e8f(0x1e1)]||_0x1c299d(0x8),_0x4df724=(await _0x177c21[_0x1d3e8f(0x39c)]({'unitId':_0x42ec6d,'subUnitId':_0x3cd30d,'pivotTableId':_0xbcd8d8,'params':{'type':B[_0x1d3e8f(0x2fc)],'addPivotTable':{'sourceRangeInfo':_0x4dfc6e,'pivotTableId':_0xbcd8d8}}}))[_0x1d3e8f(0x3a4)]['addPivotTable'];if(!_0x4df724)return!0x1;const {view:_0x46f838,isEmpty:_0xb04314,fieldsConfig:_0x3f8964,collectionConfig:_0x1a0fa6}=_0x4df724,_0x136f9e=[],_0x4e1df8=[];if(_0x5b1f11===Ao['New']){const _0x1c1701=_0x6833c7['getSheets']()['length'],_0x4ade4e=_0x32448d({});_0x4ade4e['id']=_0x36c359[_0x1d3e8f(0x422)]['subUnitId'],_0x4ade4e[_0x1d3e8f(0x40a)]=(_0x2682fe=_0x36c359[_0x1d3e8f(0x422)][_0x1d3e8f(0x367)])!=null?_0x2682fe:_0x6833c7[_0x1d3e8f(0x221)](''+_0x569f86['t']('sheets.tabs.sheet'));const _0x271ece={'index':_0x1c1701,'sheet':_0x4ade4e,'unitId':_0x42ec6d},_0x2acdd2=_0x432de1(_0xe32392,_0x271ece);_0x136f9e['push']({'id':_0x55eb9f['id'],'params':_0x2acdd2}),_0x4e1df8['push']({'id':_0x6b5f19['id'],'params':_0x271ece});}else{if(!_0x6833c7[_0x1d3e8f(0x226)](_0x3cd30d))return!0x1;const _0x4a949d=we(_0xe32392,new _0x561c81(),_0x46fae6,!0x0);_0x4e1df8[_0x1d3e8f(0x249)](..._0x4a949d['redos']),_0x136f9e[_0x1d3e8f(0x249)](..._0x4a949d[_0x1d3e8f(0x323)]);const _0x20d26f={'cellInfo':_0x46fae6,'view':_0x46f838,'isEmpty':_0xb04314};if(!await _0xe32392[_0x1d3e8f(0x2bd)](ie)['asyncInterceptor'][_0x1d3e8f(0x3f2)](be)(!0x0,_0x20d26f))return!0x1;const _0x4a273b=_e(_0xe32392,_0x20d26f);_0x4e1df8[_0x1d3e8f(0x249)](..._0x4a273b['redos']),_0x136f9e[_0x1d3e8f(0x249)](..._0x4a273b[_0x1d3e8f(0x323)]);}return _0x4e1df8['push']({'id':Ct['id'],'params':{'unitId':_0x46fae6[_0x1d3e8f(0x224)],'subUnitId':_0x46fae6[_0x1d3e8f(0x1e9)],'pivotTableId':_0xbcd8d8,'pivotTableConfig':{'targetCellInfo':_0x46fae6,'sourceRangeInfo':_0x4dfc6e,'fieldsConfig':_0x3f8964},'collectionConfig':_0x1a0fa6}}),_0x136f9e[_0x1d3e8f(0x2ed)]({'id':Et['id'],'params':{'unitId':_0x42ec6d,'subUnitId':_0x3cd30d,'pivotTableId':_0xbcd8d8}}),_0x3146de(_0x4e1df8,_0x563915)&&_0x5c9a91[_0x1d3e8f(0x34c)]({'unitID':_0x42ec6d,'undoMutations':_0x136f9e,'redoMutations':_0x4e1df8}),!0x0;}},ms={'type':_0x198ec0[_0x2547f2(0x26e)],'id':_0x2547f2(0x2fe),async 'handler'(_0x4aad96,_0x4f447b){const _0x388ae8=_0x2547f2;if(!_0x4f447b)return!0x1;const _0x5b63e5=_0x4aad96[_0x388ae8(0x2bd)](_0xeb8ce6),_0x427cf8=_0x4aad96['get'](X),_0x2a6883=_0x4aad96[_0x388ae8(0x2bd)](_0x4768db),{pivotTableId:_0x45b174,fieldId:_0x2be156,area:_0x4660ed,index:_0x3425b5,unitId:_0x2acd8b,subUnitId:_0x56749f}=_0x4f447b,_0x3bc410=(await _0x427cf8[_0x388ae8(0x39c)]({'unitId':_0x2acd8b,'subUnitId':_0x56749f,'pivotTableId':_0x45b174,'params':{'type':B['MovePivotField'],'movePivotField':{'fieldId':_0x2be156,'area':_0x4660ed,'index':_0x3425b5}}}))[_0x388ae8(0x3a4)][_0x388ae8(0x384)];if(!_0x3bc410)return!0x1;const {changesets:_0x576a43,view:_0x3f777c,isEmpty:_0x416b7e,pivotTableConfig:_0x1ce7a1}=_0x3bc410,_0x526bfa=_0x1ce7a1[_0x388ae8(0x422)],_0x51d74e=new _0x561c81();_0x51d74e[_0x388ae8(0x27e)](_0x3f777c);const _0x6920db={'cellInfo':_0x526bfa,'view':_0x51d74e,'isEmpty':_0x416b7e};if(!await _0x4aad96[_0x388ae8(0x2bd)](ie)[_0x388ae8(0x26a)][_0x388ae8(0x3f2)](be)(!0x0,_0x6920db))return!0x1;const _0x627499=we(_0x4aad96,_0x51d74e,_0x526bfa,_0x416b7e),_0x10b558=_e(_0x4aad96,_0x6920db),{redos:_0x29af18,undos:_0x3befef}=me(_0x5b63e5,{'pivotTableId':_0x45b174,'unitId':_0x2acd8b,'subUnitId':_0x56749f},_0x576a43);return _0x3146de([..._0x627499['redos'],..._0x10b558[_0x388ae8(0x35b)],..._0x29af18],_0x5b63e5),_0x2a6883[_0x388ae8(0x34c)]({'unitID':_0x2acd8b,'redoMutations':[..._0x627499[_0x388ae8(0x35b)],..._0x10b558[_0x388ae8(0x35b)],..._0x29af18],'undoMutations':[..._0x627499[_0x388ae8(0x323)],..._0x10b558[_0x388ae8(0x323)],..._0x3befef]}),!0x0;}},Is={'type':_0x198ec0['COMMAND'],'id':_0x2547f2(0x205),async 'handler'(_0x39056b,_0x548c82){const _0x2fac9c=_0x2547f2;var _0xdb38f3;if(!_0x548c82)return!0x1;const _0x57bf10=_0x39056b[_0x2fac9c(0x2bd)](_0x4ababf),_0x35e2ae=_0x1fc14d(_0x57bf10);if(!_0x35e2ae)return!0x1;const {unitId:_0x421a41,subUnitId:_0x4996b0,workbook:_0x3eca8b}=_0x35e2ae,{row:_0x4a69b6,col:_0x29eb74}=_0x548c82,_0x5eec18=_0x39056b[_0x2fac9c(0x2bd)](Ne),_0x144063=_0x5eec18['getPivotTableIdByCell'](_0x421a41,_0x4996b0,_0x4a69b6,_0x29eb74);if(!_0x144063)return!0x1;const _0x4c9098=(_0xdb38f3=_0x5eec18[_0x2fac9c(0x271)](_0x421a41,_0x4996b0,_0x144063))==null?void 0x0:_0xdb38f3[_0x2fac9c(0x2a4)];if(!_0x4c9098)return!0x1;const _0x317462=_0x39056b[_0x2fac9c(0x2bd)](he)['getPivotTableConfig'](_0x421a41,_0x4996b0,_0x144063);if(!_0x317462)return!0x1;const {rowInfo:_0x2faea1,colInfo:_0x5d47a4}=_0x4c9098,_0xcc6772=_0x2faea1[_0x4a69b6]['paths'],_0x31d379=_0x5d47a4[_0x29eb74][_0x2fac9c(0x215)],_0x262c9c=_0x2faea1[_0x4a69b6][_0x2fac9c(0x25b)],_0x35a01d=_0x5d47a4[_0x29eb74][_0x2fac9c(0x25b)],_0x6a3bdb=_0xcc6772[_0x2fac9c(0x43e)](_0x31d379),_0x5539df=_0x317462[_0x2fac9c(0x33c)][_0x2fac9c(0x3cd)][_0x2fac9c(0x214)](0x0,_0x262c9c),_0xa2e9af=_0x317462[_0x2fac9c(0x33c)][_0x2fac9c(0x2f7)]['slice'](0x0,_0x35a01d),_0x5d69ba=_0x5539df[_0x2fac9c(0x43e)](_0xa2e9af),_0x563845=_0x6a3bdb[_0x2fac9c(0x229)]((_0x36740b,_0x11a893)=>[_0x36740b,_0x5d69ba[_0x11a893]]),_0x1a6ea7=(await _0x39056b[_0x2fac9c(0x2bd)](X)[_0x2fac9c(0x39c)]({'unitId':_0x421a41,'subUnitId':_0x4996b0,'pivotTableId':_0x144063,'params':{'type':B['DrillDown'],'drillDown':{'tuple':_0x563845}}}))[_0x2fac9c(0x3a4)][_0x2fac9c(0x207)];if(!_0x1a6ea7)return!0x1;const {indexes:_0x1ac5d6,range:_0xdfa5c2,sourceUnitId:_0x5bd766,sourceSubUnitId:_0x55c778,formatMap:_0x684f04}=_0x1a6ea7,{startRow:_0x4e8610,endRow:_0xf9bef8,startColumn:_0x78e709,endColumn:_0x35f245}=_0xdfa5c2,_0x57b742=new _0x4d28c3(),_0x33d10b=_0xf9bef8-_0x4e8610,_0x5e1c97=_0x35f245-_0x78e709,_0xe41230={},_0xc8ec30=_0x1fc14d(_0x57bf10,{'unitId':_0x5bd766,'subUnitId':_0x55c778});if(!_0xc8ec30)return!0x1;const _0xf0f771=fe[_0x2fac9c(0x3a3)],_0x352d6d=fe[_0x2fac9c(0x242)],_0x44652d=fe[_0x2fac9c(0x242)],_0x4edfaf=_0x3eca8b[_0x2fac9c(0x3d2)]()[_0x2fac9c(0x430)](_0xf0f771),_0x48f7f9=_0x3eca8b[_0x2fac9c(0x3d2)]()['setValue'](_0x352d6d),_0x112c05=_0x3eca8b[_0x2fac9c(0x3d2)]()[_0x2fac9c(0x430)](_0x44652d),{worksheet:_0x164e12}=_0xc8ec30;let _0x2a07fa=0x0;const _0x2fc734=0x1;_0x1ac5d6[_0x2fac9c(0x3c9)](_0x542912=>{const _0x5afaaa=_0x2fac9c;for(let _0x3ae143=0x0;_0x3ae143<=_0x35f245-_0x78e709;_0x3ae143++)_0x57b742['setValue'](_0x2a07fa,_0x3ae143,_0x164e12[_0x5afaaa(0x2c3)](_0x542912+_0xdfa5c2[_0x5afaaa(0x438)]+_0x2fc734,_0x3ae143));_0x2a07fa++;});for(let _0x27bc9c=_0x78e709;_0x27bc9c<=_0x35f245;_0x27bc9c++){const _0x261bfd=_0x164e12['getCellRaw'](_0x4e8610,_0x27bc9c);_0xe41230[_0x4e8610]||(_0xe41230[_0x4e8610]={}),_0xe41230[_0x4e8610][_0x27bc9c]={..._0x261bfd,'s':_0x4edfaf};}let _0x26cfde=0x1;const _0x402b8a={},_0x25bdab={};_0x57b742[_0x2fac9c(0x31d)]((_0x250a62,_0x5884ff)=>{_0x5884ff['forEach'](_0x5727bf=>{const _0x361d27=_0x4326,_0x60fca4=_0x57b742['getValue'](_0x250a62,_0x5727bf);if(_0xe41230[_0x26cfde]||(_0xe41230[_0x26cfde]={}),_0xe41230[_0x26cfde][_0x5727bf]={..._0x60fca4,'s':_0x26cfde%0x2===0x0?_0x112c05:_0x48f7f9},_0x684f04[_0x5727bf]&&_0x250a62>=0x0){const _0x36bcc7=_0x26cfde%0x2===0x0;let _0x5cc31f=_0x36bcc7?_0x25bdab[_0x5727bf]:_0x402b8a[_0x5727bf];_0x5cc31f||(_0x5cc31f=_0x3eca8b[_0x361d27(0x3d2)]()[_0x361d27(0x430)]({..._0x36bcc7?_0x44652d:_0x352d6d,'n':{'pattern':_0x684f04[_0x5727bf]}}),_0x36bcc7?_0x25bdab[_0x5727bf]=_0x5cc31f:_0x402b8a[_0x5727bf]=_0x5cc31f),_0xe41230[_0x26cfde][_0x5727bf]['s']=_0x5cc31f;}}),_0x26cfde++;});const _0x6ca470=new _0x4d28c3(_0xe41230),_0x6be5a6={};_0x6ca470[_0x2fac9c(0x29a)]((_0x2fee37,_0x3b9c9a,_0x3517db)=>{_0x6be5a6[_0x2fee37]||(_0x6be5a6[_0x2fee37]={}),_0x6be5a6[_0x2fee37][_0x3b9c9a]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0xd090ed=[],_0x11feea=[],_0x499a03=_0x3eca8b[_0x2fac9c(0x3e0)]()[_0x2fac9c(0x1f7)],_0x7d15fd=_0x32448d({'rowCount':Math[_0x2fac9c(0x240)](_0x12046e,_0x33d10b+0xa),'columnCount':Math[_0x2fac9c(0x240)](_0x4b5b37,_0x5e1c97+0x5)}),_0x2a61c3=_0x39056b['get'](_0x209ec2);_0x7d15fd['id']=_0xe5d4b9(),_0x7d15fd['name']=_0x3eca8b[_0x2fac9c(0x221)](''+_0x2a61c3['t'](_0x2fac9c(0x387)));const _0x3b6008={'index':_0x499a03,'sheet':_0x7d15fd,'unitId':_0x421a41},_0x239747=_0x432de1(_0x39056b,_0x3b6008);_0x11feea[_0x2fac9c(0x249)]({'id':_0x6b5f19['id'],'params':_0x3b6008}),_0xd090ed[_0x2fac9c(0x249)]({'id':_0x55eb9f['id'],'params':_0x239747}),_0x11feea['push']({'id':_0x20e9d7['id'],'params':{'unitId':_0x421a41,'subUnitId':_0x7d15fd['id'],'cellValue':_0xe41230}}),_0xd090ed[_0x2fac9c(0x2ed)]({'id':_0x20e9d7['id'],'params':{'unitId':_0x421a41,'subUnitId':_0x7d15fd['id'],'cellValue':_0x6be5a6}});const _0x2b6832={'startRow':0x0,'startColumn':0x0,'endRow':_0x26cfde-0x1,'endColumn':_0x35f245};_0x11feea[_0x2fac9c(0x249)]({'id':_0xa5765e['id'],'params':{'unitId':_0x421a41,'subUnitId':_0x7d15fd['id'],'range':_0x2b6832}}),_0xd090ed[_0x2fac9c(0x2ed)]({'id':_0x1c078f['id'],'params':{'unitId':_0x421a41,'subUnitId':_0x7d15fd['id']}});const _0x5820f0=_0x39056b[_0x2fac9c(0x2bd)](_0xeb8ce6);return _0x3146de(_0x11feea,_0x5820f0)&&_0x39056b[_0x2fac9c(0x2bd)](_0x4768db)[_0x2fac9c(0x34c)]({'unitID':_0x421a41,'undoMutations':_0xd090ed,'redoMutations':_0x11feea}),!0x0;}},Cs={'type':_0x198ec0[_0x2547f2(0x26e)],'id':_0x2547f2(0x3d3),async 'handler'(_0x40c9cf,_0x1da1aa){const _0x25dc47=_0x2547f2;if(!_0x1da1aa)return!0x1;const _0x3894f2=_0x40c9cf[_0x25dc47(0x2bd)](_0xeb8ce6),_0x27ad30=_0x40c9cf[_0x25dc47(0x2bd)](X),_0x1cd91d=_0x40c9cf[_0x25dc47(0x2bd)](_0x4768db),{pivotTableId:_0x5cd805,fieldIds:_0xa665d0,unitId:_0x3423df,subUnitId:_0x5be888}=_0x1da1aa,_0x5a0d96=(await _0x27ad30['getPivotDisplayConfig']({'unitId':_0x3423df,'subUnitId':_0x5be888,'pivotTableId':_0x5cd805,'params':{'type':B[_0x25dc47(0x3cc)],'removePivotField':{'fieldIds':_0xa665d0}}}))['result'][_0x25dc47(0x30f)];if(!_0x5a0d96)return!0x1;const {view:_0x524d59,changesets:_0x2604c7,isEmpty:_0x40ddbb,pivotTableConfig:_0x51c238}=_0x5a0d96,_0x1f092a=_0x51c238['targetCellInfo'],_0x131d8e=new _0x561c81();_0x131d8e[_0x25dc47(0x27e)](_0x524d59);const _0x459146={'cellInfo':_0x1f092a,'view':_0x131d8e,'isEmpty':_0x40ddbb};if(!await _0x40c9cf[_0x25dc47(0x2bd)](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x459146))return!0x1;const _0x4c0b79=we(_0x40c9cf,_0x131d8e,_0x1f092a,_0x40ddbb),_0x118495=_e(_0x40c9cf,_0x459146),{redos:_0x38cdf0,undos:_0x2c44e5}=me(_0x3894f2,{'pivotTableId':_0x5cd805,'unitId':_0x3423df,'subUnitId':_0x5be888},_0x2604c7);return _0x3146de([..._0x4c0b79[_0x25dc47(0x35b)],..._0x118495[_0x25dc47(0x35b)],..._0x38cdf0],_0x3894f2),_0x1cd91d[_0x25dc47(0x34c)]({'unitID':_0x3423df,'redoMutations':[..._0x4c0b79['redos'],..._0x118495[_0x25dc47(0x35b)],..._0x38cdf0],'undoMutations':[..._0x4c0b79[_0x25dc47(0x323)],..._0x118495[_0x25dc47(0x323)],..._0x2c44e5]}),!0x0;}},bs={'type':_0x198ec0['COMMAND'],'id':_0x2547f2(0x401),async 'handler'(_0x3c178a,_0x5002a7){const _0x42727c=_0x2547f2;var _0x4e3b3d;const _0x3e343c=_0x3c178a[_0x42727c(0x2bd)](_0xeb8ce6),_0x1237c6=_0x3c178a['get'](X),_0x211634=_0x3c178a['get'](Ne),_0x17fab2=_0x3c178a[_0x42727c(0x2bd)](_0x4ababf),_0x5d0be7=_0x3c178a[_0x42727c(0x2bd)](_0x4768db);if(!_0x5002a7)return!0x1;const {unitId:_0x4807b4,subUnitId:_0x420899,row:_0x61378b,col:_0x479a33,collapse:_0x219617}=_0x5002a7,_0x148940=_0x17fab2[_0x42727c(0x268)](_0x4807b4);if(!_0x148940||!_0x148940['getSheetBySheetId'](_0x420899))return!0x1;const _0x2d71a2=_0x211634[_0x42727c(0x3e8)](_0x4807b4,_0x420899,_0x61378b,_0x479a33);if(!_0x2d71a2)return!0x1;const _0x847503=_0x211634[_0x42727c(0x271)](_0x4807b4,_0x420899,_0x2d71a2);if(!_0x847503)return!0x1;const _0x199bab=_0x4934f2(_0x61378b,_0x479a33),{rangesInfo:_0x2c1b45,areaInfo:_0x2d928f,headerMap:_0x2a4d69}=_0x847503;if(!_0x2c1b45||!_0x2d928f||!_0x2a4d69)return!0x1;const _0x469d0d=Object[_0x42727c(0x420)](_0x2c1b45)[_0x42727c(0x2c2)](_0x18f470=>_0x2c1b45[_0x18f470][_0x42727c(0x445)](_0x599ac7=>_0x3c2f0c[_0x42727c(0x273)](_0x599ac7,_0x199bab)));let _0x45a335;_0x469d0d===_0x42727c(0x349)?_0x45a335=_0x2a4d69['rowHeaderMap'][_0x479a33]:_0x469d0d===_0x42727c(0x3f6)&&(_0x45a335=_0x2a4d69[_0x42727c(0x3b5)][_0x61378b]);const _0xfd2e22=_0x45a335==null?void 0x0:_0x45a335[_0x42727c(0x279)],_0x434869=(_0x4e3b3d=_0x211634['getPivotTableCellData'](_0x4807b4,_0x420899,_0x61378b,_0x479a33))==null?void 0x0:_0x4e3b3d['v'];if(_0x434869==null||!_0x2d71a2||!_0xfd2e22)return!0x1;const _0x30e022=await _0x1237c6['getPivotDisplayConfig']({'unitId':_0x4807b4,'subUnitId':_0x420899,'pivotTableId':_0x2d71a2,'params':{'type':B[_0x42727c(0x385)],'setPivotCollapse':{'tableFieldId':_0xfd2e22,'collapse':_0x219617,'item':_0x434869}}}),_0x412bf6=_0x30e022==null?void 0x0:_0x30e022[_0x42727c(0x3a4)][_0x42727c(0x3b7)];if(!_0x412bf6)return!0x1;const {view:_0x17237a,pivotTableConfig:_0x2e4333,isEmpty:_0x31b790,changesets:_0x521f55}=_0x412bf6,_0x1ebaee=new _0x561c81();_0x1ebaee[_0x42727c(0x27e)](_0x17237a);const _0x39beec=_0x2e4333[_0x42727c(0x422)],_0x367be5={'cellInfo':_0x39beec,'view':_0x1ebaee,'isEmpty':_0x31b790};if(!await _0x3c178a[_0x42727c(0x2bd)](ie)[_0x42727c(0x26a)][_0x42727c(0x3f2)](be)(!0x0,_0x367be5))return!0x1;const _0x276288=we(_0x3c178a,_0x1ebaee,_0x39beec,_0x31b790),_0x330b86=_e(_0x3c178a,_0x367be5),{redos:_0x2acf8a,undos:_0x3bc87b}=me(_0x3e343c,{'pivotTableId':_0x2d71a2,'unitId':_0x4807b4,'subUnitId':_0x420899},_0x521f55);return _0x3146de([..._0x276288[_0x42727c(0x35b)],..._0x330b86[_0x42727c(0x35b)],..._0x2acf8a],_0x3e343c),_0x5d0be7[_0x42727c(0x34c)]({'unitID':_0x4807b4,'redoMutations':[..._0x276288[_0x42727c(0x35b)],..._0x330b86[_0x42727c(0x35b)],..._0x2acf8a],'undoMutations':[..._0x276288[_0x42727c(0x323)],..._0x330b86[_0x42727c(0x323)],..._0x3bc87b]}),!0x0;}},Ss={'type':_0x198ec0[_0x2547f2(0x26e)],'id':_0x2547f2(0x419),async 'handler'(_0x31df80,_0x25ae10){const _0x5c5a08=_0x2547f2;if(!_0x25ae10)return!0x1;const _0x187ac0=_0x31df80[_0x5c5a08(0x2bd)](_0xeb8ce6),{pivotTableId:_0x1c5d55,tableFieldId:_0x1e634b,items:_0x1a6941,unitId:_0xc74791,subUnitId:_0x325482,isAll:_0x56fd17}=_0x25ae10,_0x390661=_0x31df80[_0x5c5a08(0x2bd)](X),_0x3fdac0=_0x31df80['get'](_0x4768db),_0x22992e=(await _0x390661[_0x5c5a08(0x39c)]({'unitId':_0xc74791,'subUnitId':_0x325482,'pivotTableId':_0x1c5d55,'params':{'type':B[_0x5c5a08(0x2fd)],'setPivotFilter':{'tableFieldId':_0x1e634b,'items':_0x1a6941,'isAll':_0x56fd17}}}))['result'][_0x5c5a08(0x316)];if(!_0x22992e)return!0x1;const {changesets:_0x23a330,pivotTableConfig:_0x148212,isEmpty:_0x4598ef,view:_0x3dd69e}=_0x22992e,_0x29d5b8=_0x148212[_0x5c5a08(0x422)],_0x525fb7=new _0x561c81();_0x525fb7[_0x5c5a08(0x27e)](_0x3dd69e);const _0x1fbdd={'cellInfo':_0x29d5b8,'view':_0x525fb7,'isEmpty':_0x4598ef};if(!await _0x31df80[_0x5c5a08(0x2bd)](ie)[_0x5c5a08(0x26a)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x1fbdd))return!0x1;const _0x1f5e16=we(_0x31df80,_0x525fb7,_0x29d5b8,_0x4598ef),_0x2b1222=_e(_0x31df80,_0x1fbdd),{undos:_0x49afaf,redos:_0x4d10f2}=me(_0x187ac0,{'pivotTableId':_0x1c5d55,'unitId':_0xc74791,'subUnitId':_0x325482},_0x23a330);return _0x3146de([..._0x1f5e16[_0x5c5a08(0x35b)],..._0x2b1222['redos'],..._0x4d10f2],_0x187ac0),_0x3fdac0[_0x5c5a08(0x34c)]({'unitID':_0xc74791,'redoMutations':[..._0x1f5e16['redos'],..._0x2b1222[_0x5c5a08(0x35b)],..._0x4d10f2],'undoMutations':[..._0x1f5e16[_0x5c5a08(0x323)],..._0x2b1222[_0x5c5a08(0x323)],..._0x49afaf]}),!0x0;}},Ps={'type':_0x198ec0[_0x2547f2(0x26e)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x30de90,_0x34b77f){const _0x189926=_0x2547f2;if(!_0x34b77f)return!0x1;const _0x5a4e84=_0x30de90[_0x189926(0x2bd)](_0xeb8ce6),_0x4efd7f=_0x30de90['get'](_0x4768db),_0x404786=_0x30de90[_0x189926(0x2bd)](X),{info:_0x58ebc2,tableFieldId:_0x1393d3,pivotTableId:_0x5a3cac,unitId:_0x3473ca,subUnitId:_0x5ad5da}=_0x34b77f,_0x171f8a=(await _0x404786[_0x189926(0x39c)]({'unitId':_0x3473ca,'subUnitId':_0x5ad5da,'pivotTableId':_0x5a3cac,'params':{'type':B[_0x189926(0x36f)],'setPivotSort':{'tableFieldId':_0x1393d3,'info':_0x58ebc2}}}))[_0x189926(0x3a4)]['setPivotSort'];if(!_0x171f8a)return!0x1;const {changesets:_0x348d87}=_0x171f8a,{redos:_0x2604bb,undos:_0x28b1ba}=me(_0x5a4e84,{'pivotTableId':_0x5a3cac,'unitId':_0x3473ca,'subUnitId':_0x5ad5da},_0x348d87);return _0x3146de(_0x2604bb,_0x5a4e84),_0x4efd7f[_0x189926(0x34c)]({'unitID':_0x3473ca,'redoMutations':_0x2604bb,'undoMutations':_0x28b1ba}),!0x0;}},Ts={'type':_0x198ec0[_0x2547f2(0x26e)],'id':_0x2547f2(0x24f),async 'handler'(_0x631c93,_0x86b533){const _0x5a2f71=_0x2547f2;if(!_0x86b533)return!0x1;const _0x5436fe=_0x631c93[_0x5a2f71(0x2bd)](_0xeb8ce6),_0xd2abbb=_0x631c93['get'](_0x4768db),_0x4a38cb=_0x631c93[_0x5a2f71(0x2bd)](X),{displayName:_0x15f76c,subtotalType:_0x888cbd,format:_0x4fe755,tableFieldId:_0x2d2f86,pivotTableId:_0x5f1526,unitId:_0x4d0a9d,subUnitId:_0x46b3d8}=_0x86b533,_0x12c99d=(await _0x4a38cb[_0x5a2f71(0x39c)]({'unitId':_0x4d0a9d,'subUnitId':_0x46b3d8,'pivotTableId':_0x5f1526,'params':{'type':B[_0x5a2f71(0x212)],'setPivotSetting':{'tableFieldId':_0x2d2f86,'displayName':_0x15f76c,'subtotalType':_0x888cbd,'format':_0x4fe755}}}))['result'][_0x5a2f71(0x37a)];if(!_0x12c99d)return!0x1;const {changesets:_0x584737,view:_0x2ac1c0,pivotTableConfig:_0x5854c0,isEmpty:_0x1fe679}=_0x12c99d,_0x280274=_0x5854c0[_0x5a2f71(0x422)],_0x1039fb=new _0x561c81();_0x1039fb[_0x5a2f71(0x27e)](_0x2ac1c0);const _0xaa9412={'cellInfo':_0x280274,'view':_0x1039fb,'isEmpty':_0x1fe679};if(!await _0x631c93['get'](ie)[_0x5a2f71(0x26a)][_0x5a2f71(0x3f2)](be)(!0x0,_0xaa9412))return!0x1;const _0x211e30=we(_0x631c93,_0x1039fb,_0x280274,_0x1fe679),_0x1cbf8d=_e(_0x631c93,_0xaa9412),{undos:_0x503b9e,redos:_0x19a610}=me(_0x5436fe,{'pivotTableId':_0x5f1526,'unitId':_0x4d0a9d,'subUnitId':_0x46b3d8},_0x584737);return _0x3146de([..._0x211e30[_0x5a2f71(0x35b)],..._0x1cbf8d[_0x5a2f71(0x35b)],..._0x19a610],_0x5436fe),_0xd2abbb[_0x5a2f71(0x34c)]({'unitID':_0x4d0a9d,'redoMutations':[..._0x211e30[_0x5a2f71(0x35b)],..._0x1cbf8d['redos'],..._0x19a610],'undoMutations':[..._0x211e30[_0x5a2f71(0x323)],..._0x1cbf8d[_0x5a2f71(0x323)],..._0x503b9e]}),!0x0;}},Ms={'type':_0x198ec0['COMMAND'],'id':_0x2547f2(0x36b),async 'handler'(_0x5ce4ef,_0xf9d243){const _0x43b845=_0x2547f2,_0x5111e4=_0x5ce4ef[_0x43b845(0x2bd)](_0xeb8ce6),_0x4a961f=_0x5ce4ef[_0x43b845(0x2bd)](X),_0x177ab0=_0x5ce4ef[_0x43b845(0x2bd)](_0x4768db);if(!_0xf9d243)return!0x1;const {token:_0x2e0457,dataRangeInfo:_0x332f78,unitId:_0x26423a,subUnitId:_0x2ab66c}=_0xf9d243,_0x3afddf=[],_0x1ab7a8=[],_0x1c63c0=(await _0x4a961f[_0x43b845(0x39c)]({'unitId':_0x26423a,'subUnitId':_0x2ab66c,'pivotTableId':_0x2e0457,'params':{'type':B[_0x43b845(0x27c)],'updatePivotSource':{'dataRangeInfo':_0x332f78,'unitId':_0x26423a,'subUnitId':_0x2ab66c}}}))[_0x43b845(0x3a4)][_0x43b845(0x262)];if(!_0x1c63c0)return!0x1;const {changesets:_0x6b5cd3,deleteIds:_0x309716,collectionConfig:_0x5a8f37,oldCollectionConfig:_0x2be6de,view:_0x38da3f,isEmpty:_0x75d8ff,pivotTableConfig:_0x37fb18}=_0x1c63c0;_0x1ab7a8['push']({'id':to['id'],'params':{'pivotTableId':_0x2e0457,'deleteIds':_0x309716,'collectionJSON':_0x5a8f37,'dataRangeInfo':_0x332f78,'unitId':_0x26423a,'subUnitId':_0x2ab66c}}),_0x3afddf[_0x43b845(0x2ed)]({'id':to['id'],'params':{'pivotTableId':_0x2e0457,'deleteIds':[],'collectionJSON':_0x2be6de,'dataRangeInfo':_0x37fb18[_0x43b845(0x313)],'unitId':_0x26423a,'subUnitId':_0x2ab66c}});const _0x2b1289=_0x37fb18[_0x43b845(0x422)],_0x1c4875=new _0x561c81();_0x1c4875['formJSON'](_0x38da3f);const _0x311784={'cellInfo':_0x2b1289,'view':_0x1c4875,'isEmpty':_0x75d8ff};if(!await _0x5ce4ef['get'](ie)[_0x43b845(0x26a)][_0x43b845(0x3f2)](be)(!0x0,_0x311784))return!0x1;const _0x40d82d=we(_0x5ce4ef,_0x1c4875,_0x2b1289,_0x75d8ff),_0x30156b=_e(_0x5ce4ef,_0x311784),{undos:_0x45f7b7,redos:_0x17f19e}=me(_0x5111e4,{'pivotTableId':_0x2e0457,'unitId':_0x26423a,'subUnitId':_0x2ab66c},_0x6b5cd3);return _0x3146de([..._0x40d82d[_0x43b845(0x35b)],..._0x30156b[_0x43b845(0x35b)],..._0x1ab7a8,..._0x45f7b7],_0x5111e4),_0x177ab0[_0x43b845(0x34c)]({'unitID':_0x26423a,'redoMutations':[..._0x40d82d[_0x43b845(0x35b)],..._0x30156b[_0x43b845(0x35b)],..._0x1ab7a8,..._0x45f7b7],'undoMutations':[..._0x40d82d['undos'],..._0x30156b['undos'],..._0x3afddf,..._0x17f19e]}),!0x0;}},ys={'type':_0x198ec0[_0x2547f2(0x26e)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x1bede0,_0x34b482){const _0x345dbe=_0x2547f2;if(!_0x34b482)return!0x1;const _0x3cab22=_0x1bede0[_0x345dbe(0x2bd)](_0xeb8ce6),_0x381a46=_0x1bede0['get'](X),_0x568071=_0x1bede0['get'](_0x4ababf),_0x55acac=_0x1bede0[_0x345dbe(0x2bd)](_0x4768db),{pivotTableId:_0x4f4603,position:_0x334cff,index:_0x276f4a}=_0x34b482,_0x57e8cc=_0x1fc14d(_0x568071);if(!_0x57e8cc)return!0x1;const {unitId:_0x5645e9,subUnitId:_0x47371c}=_0x57e8cc,_0x1ef8ba=(await _0x381a46['getPivotDisplayConfig']({'unitId':_0x5645e9,'subUnitId':_0x47371c,'pivotTableId':_0x4f4603,'params':{'type':B[_0x345dbe(0x3f0)],'updateValuePosition':{'position':_0x334cff,'index':_0x276f4a}}}))[_0x345dbe(0x3a4)]['updateValuePosition'];if(!_0x1ef8ba)return!0x1;const {changesets:_0x5996df,view:_0x8b74ec,isEmpty:_0x891128,pivotTableConfig:_0x1ebad3}=_0x1ef8ba,_0x2c124c=_0x1ebad3['targetCellInfo'],_0x19b8ea=new _0x561c81();_0x19b8ea['formJSON'](_0x8b74ec);const _0x37302f=_0x1bede0['get'](ie),_0x5b7c75={'cellInfo':_0x2c124c,'view':_0x19b8ea,'isEmpty':_0x891128};if(!await _0x37302f[_0x345dbe(0x26a)][_0x345dbe(0x3f2)](be)(!0x0,_0x5b7c75))return!0x1;const _0xce0f32=we(_0x1bede0,_0x19b8ea,_0x2c124c,_0x891128),_0x11c795=_e(_0x1bede0,_0x5b7c75),{undos:_0x571663,redos:_0x25fb3c}=me(_0x3cab22,{'pivotTableId':_0x4f4603,'unitId':_0x5645e9,'subUnitId':_0x47371c},_0x5996df);return _0x3146de([..._0xce0f32[_0x345dbe(0x35b)],..._0x11c795[_0x345dbe(0x35b)],..._0x25fb3c],_0x3cab22),_0x55acac['pushUndoRedo']({'unitID':_0x5645e9,'redoMutations':[..._0xce0f32[_0x345dbe(0x35b)],..._0x11c795[_0x345dbe(0x35b)],..._0x25fb3c],'undoMutations':[..._0xce0f32[_0x345dbe(0x323)],..._0x11c795['undos'],..._0x571663]}),!0x0;}},ws={'type':_0x198ec0[_0x2547f2(0x26e)],'id':_0x2547f2(0x339),'handler':(_0x23eadb,_0x20845e)=>{const _0x407454=_0x2547f2,_0x5232b5=_0x23eadb[_0x407454(0x2bd)](_0xeb8ce6),_0x116242=_0x23eadb[_0x407454(0x2bd)](_0x4768db),_0x21e8db=_0x23eadb['get'](he),_0x374e21=_0x23eadb[_0x407454(0x2bd)](_0x4ababf);if(!_0x20845e)return!0x1;const _0x41e138=_0x1fc14d(_0x374e21);if(!_0x41e138)return!0x1;const {unitId:_0x57dc5f,subUnitId:_0x1573c9,workbook:_0x12beac}=_0x41e138,_0x4ac232=_0x21e8db[_0x407454(0x247)](_0x20845e[_0x407454(0x39b)][_0x407454(0x224)],_0x20845e[_0x407454(0x39b)][_0x407454(0x1e9)],_0x20845e[_0x407454(0x1e1)]);if(!_0x4ac232)return!0x1;const _0x313348=_0x12beac['getSheetBySheetId'](_0x20845e['targetCellInfo'][_0x407454(0x1e9)]);if(!_0x313348)throw new Error(_0x407454(0x3c8));const _0x2761c2=_0x313348[_0x407454(0x292)](),_0x3d135a=_0x313348['getColumnCount']();if(_0x20845e[_0x407454(0x422)][_0x407454(0x2db)]>_0x2761c2||_0x20845e[_0x407454(0x422)][_0x407454(0x2f3)]>_0x3d135a)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x423ddc=[{'id':pt['id'],'params':{'unitId':_0x57dc5f,'subUnitId':_0x20845e[_0x407454(0x422)][_0x407454(0x1e9)],'pivotTableId':_0x20845e[_0x407454(0x1e1)],'targetCellPosition':{'row':_0x20845e[_0x407454(0x422)][_0x407454(0x2db)],'col':_0x20845e[_0x407454(0x422)][_0x407454(0x2f3)]}}}],_0x31cfe6=[{'id':pt['id'],'params':{'unitId':_0x57dc5f,'subUnitId':_0x1573c9,'pivotTableId':_0x20845e[_0x407454(0x1e1)],'targetCellPosition':{'row':_0x4ac232[_0x407454(0x422)]['row'],'col':_0x4ac232[_0x407454(0x422)][_0x407454(0x2f3)]}}}];return _0x3146de(_0x423ddc,_0x5232b5)&&_0x116242['pushUndoRedo']({'unitID':_0x57dc5f,'undoMutations':_0x31cfe6,'redoMutations':_0x423ddc}),!0x0;}},_s={'type':_0x198ec0[_0x2547f2(0x26e)],'id':_0x2547f2(0x383),async 'handler'(_0x489341,_0x25e801){const _0x3c100d=_0x2547f2;if(!_0x25e801)return!0x1;const _0x5091f9=_0x489341[_0x3c100d(0x2bd)](_0xeb8ce6),{pivotTableId:_0x363c7d,fieldId:_0x2c191c,valueFilterInfo:_0x324532,unitId:_0x2648a2,subUnitId:_0x50cb78}=_0x25e801,_0x3423c7=_0x489341[_0x3c100d(0x2bd)](X),_0x2177f4=_0x489341[_0x3c100d(0x2bd)](_0x4768db),_0x4dcae2=(await _0x3423c7[_0x3c100d(0x39c)]({'unitId':_0x2648a2,'subUnitId':_0x50cb78,'pivotTableId':_0x363c7d,'params':{'type':B[_0x3c100d(0x381)],'setValuePivotFilter':{'tableFieldId':_0x2c191c,'filterInfo':_0x324532}}}))['result'][_0x3c100d(0x1e7)];if(!_0x4dcae2)return!0x1;const {changesets:_0x24808e,pivotTableConfig:_0x24986f,isEmpty:_0x19b5eb,view:_0x50967c}=_0x4dcae2,_0x3c0931=_0x24986f[_0x3c100d(0x422)],_0x468632=new _0x561c81();_0x468632[_0x3c100d(0x27e)](_0x50967c);const _0x2ba8c1={'cellInfo':_0x3c0931,'view':_0x468632,'isEmpty':_0x19b5eb};if(!await _0x489341[_0x3c100d(0x2bd)](ie)['asyncInterceptor'][_0x3c100d(0x3f2)](be)(!0x0,_0x2ba8c1))return!0x1;const _0x299601=we(_0x489341,_0x468632,_0x3c0931,_0x19b5eb),_0xf384a8=_e(_0x489341,_0x2ba8c1),{undos:_0x575ddb,redos:_0x56ac24}=me(_0x5091f9,{'pivotTableId':_0x363c7d,'unitId':_0x2648a2,'subUnitId':_0x50cb78},_0x24808e);return _0x3146de([..._0x299601[_0x3c100d(0x35b)],..._0xf384a8[_0x3c100d(0x35b)],..._0x56ac24],_0x5091f9),_0x2177f4[_0x3c100d(0x34c)]({'unitID':_0x2648a2,'redoMutations':[..._0x299601[_0x3c100d(0x35b)],..._0xf384a8[_0x3c100d(0x35b)],..._0x56ac24],'undoMutations':[..._0x299601['undos'],..._0xf384a8['undos'],..._0x575ddb]}),!0x0;}},Fs={'type':_0x198ec0[_0x2547f2(0x26e)],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x7db04b,_0x9d27a1){const _0x52da6b=_0x2547f2;if(!_0x9d27a1)return!0x1;const _0x5c4f47=_0x7db04b[_0x52da6b(0x2bd)](_0xeb8ce6),_0xb20203=_0x7db04b[_0x52da6b(0x2bd)](_0x4768db),_0x301fe6=_0x7db04b[_0x52da6b(0x2bd)](X),{pivotTableConfig:_0x410199,pivotTableId:_0x1a8ba3,unitId:_0x25b316,subUnitId:_0x12c732}=_0x9d27a1,_0x3773d2=(await _0x301fe6[_0x52da6b(0x39c)]({'unitId':_0x25b316,'subUnitId':_0x12c732,'pivotTableId':_0x1a8ba3,'params':{'type':B[_0x52da6b(0x390)],'setPivotTableConfig':{'pivotTableId':_0x1a8ba3,'pivotTableConfig':_0x410199}}}))['result']['setPivotTableConfig'];if(!_0x3773d2)return!0x1;const {changesets:_0x1f18ca}=_0x3773d2,{redos:_0x9d9f45,undos:_0x46de42}=me(_0x5c4f47,{'pivotTableId':_0x1a8ba3,'unitId':_0x25b316,'subUnitId':_0x12c732},_0x1f18ca);return _0x3146de(_0x9d9f45,_0x5c4f47),_0xb20203[_0x52da6b(0x34c)]({'unitID':_0x25b316,'redoMutations':_0x9d9f45,'undoMutations':_0x46de42}),!0x0;}},Rs={'type':_0x198ec0['COMMAND'],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x44dc45,_0x588ca9){const _0x2c5889=_0x2547f2;if(!_0x588ca9)return!0x1;const _0x19e286=_0x44dc45[_0x2c5889(0x2bd)](_0xeb8ce6),_0x42df4f=_0x44dc45[_0x2c5889(0x2bd)](_0x4768db),_0x74bb76=_0x44dc45['get'](X),{resetArea:_0x374b3a,pivotTableId:_0x4d25ed,unitId:_0x61060a,subUnitId:_0x53ea1c}=_0x588ca9,_0x4bf32a=(await _0x74bb76['getPivotDisplayConfig']({'unitId':_0x61060a,'subUnitId':_0x53ea1c,'pivotTableId':_0x4d25ed,'params':{'type':B[_0x2c5889(0x21c)],'resetPivotTable':{'pivotTableId':_0x4d25ed,'resetArea':_0x374b3a}}}))[_0x2c5889(0x3a4)][_0x2c5889(0x2dc)];if(!_0x4bf32a)return!0x1;const {changesets:_0x5e3a28}=_0x4bf32a,{redos:_0x5944f6,undos:_0x340626}=me(_0x19e286,{'pivotTableId':_0x4d25ed,'unitId':_0x61060a,'subUnitId':_0x53ea1c},_0x5e3a28);return _0x3146de(_0x5944f6,_0x19e286),_0x42df4f[_0x2c5889(0x34c)]({'unitID':_0x61060a,'redoMutations':_0x5944f6,'undoMutations':_0x340626}),!0x0;}},oo={'id':'sheet.mutation.update-date-group','type':_0x198ec0[_0x2547f2(0x327)],'handler':(_0xe366a8,_0x38e10b)=>{const _0x1a78b2=_0x2547f2;if(!_0x38e10b)return!0x1;if(!!_0xe366a8[_0x1a78b2(0x2bd)](_0x376ed6)[_0x1a78b2(0x449)](W))return!0x0;const {unitId:_0x2d6564,subUnitId:_0x1833cf,pivotTableId:_0x31185f,tableFieldId:_0x47ad5a,dateType:_0xe1caa8}=_0x38e10b,_0x43959a=_0xe366a8['get'](K),_0x2f4ea2=_0x43959a[_0x1a78b2(0x265)](_0x31185f);if(!_0x2f4ea2)return!0x1;const _0x772886=_0x2f4ea2[_0x1a78b2(0x251)](_0x47ad5a);if(!_0x772886)return!0x1;const _0x3f1a35=_0x772886[_0x1a78b2(0x38c)](),_0x39fd5d=_0x2f4ea2[_0x1a78b2(0x218)](_0x3f1a35),_0x129847=(_0x39fd5d==null?void 0x0:_0x39fd5d['getName']())+'\x20'+Wo(_0xe366a8,_0xe1caa8);_0x43959a[_0x1a78b2(0x23d)](_0x2d6564,_0x31185f)['setDisplayName'](_0x772886['id'],_0x129847);const _0x139f16=_0x2f4ea2[_0x1a78b2(0x38a)](_0x47ad5a);if(!_0x139f16)return!0x1;_0x2f4ea2[_0x1a78b2(0x405)](_0x139f16[_0x1a78b2(0x2d6)](),_0x129847),_0x772886[_0x1a78b2(0x25a)](_0xe1caa8);const _0x3c3f1f=_0x43959a[_0x1a78b2(0x247)](_0x2d6564,_0x1833cf,_0x31185f);return _0x43959a[_0x1a78b2(0x24a)]({'unitId':_0x2d6564,'subUnitId':_0x1833cf,'token':_0x31185f,'type':L['Set'],'pivotConfig':_0x3c3f1f}),!0x0;}},Ds={'id':'sheet.command.update-date-group','type':_0x198ec0[_0x2547f2(0x26e)],'handler':(_0x441503,_0x4217f5)=>{const _0x5bde87=_0x2547f2;if(!_0x4217f5)return!0x1;const _0x5d4946=_0x441503['get'](_0x4768db),{unitId:_0x5194d5,subUnitId:_0x5dc4d2,pivotTableId:_0x1054a7,tableFieldId:_0x2014ba}=_0x4217f5,_0x5793dd=[],_0x8536f1=[],_0x445fa2=_0x441503[_0x5bde87(0x2bd)](he),_0x1cf515=_0x445fa2['getCollection'](_0x5194d5,_0x1054a7),_0x52aadb=_0x445fa2[_0x5bde87(0x247)](_0x5194d5,_0x5dc4d2,_0x1054a7);if(!(_0x52aadb!=null&&_0x52aadb[_0x5bde87(0x33c)][_0x5bde87(0x354)]))return!0x1;const _0x22f4ce=Object[_0x5bde87(0x206)](_0x52aadb['fieldsConfig'][_0x5bde87(0x354)])[_0x5bde87(0x2c2)](_0x494372=>_0x494372['id']===_0x2014ba);if(!_0x22f4ce)return!0x1;const _0x2be414=_0x22f4ce['dataFieldId'];if(!(_0x1cf515!=null&&_0x1cf515['fields']))return!0x1;const _0x3a4e5f=Object[_0x5bde87(0x206)](_0x1cf515==null?void 0x0:_0x1cf515['fields'])['find'](_0x1f0f1c=>_0x1f0f1c['id']===_0x2be414);if(!_0x3a4e5f)return!0x1;_0x5a266f(_0x3a4e5f)&&_0x5793dd['push']({'id':oo['id'],'params':{..._0x4217f5,'dateType':_0x3a4e5f[_0x5bde87(0x322)]}}),_0x8536f1[_0x5bde87(0x249)]({'id':oo['id'],'params':{..._0x4217f5}});const _0x1af3a2=_0x441503[_0x5bde87(0x2bd)](_0xeb8ce6);return _0x3146de(_0x8536f1,_0x1af3a2)&&_0x5d4946[_0x5bde87(0x34c)]({'unitID':_0x5194d5,'undoMutations':_0x5793dd,'redoMutations':_0x8536f1}),!0x0;}};var Ns=Object[_0x2547f2(0x239)],Us=(_0x1f59f8,_0x54f232,_0x522293,_0x1d1ba5)=>{const _0x492488=_0x2547f2;for(var _0x1d98b6=_0x1d1ba5>0x1?void 0x0:_0x1d1ba5?Ns(_0x54f232,_0x522293):_0x54f232,_0x2301e4=_0x1f59f8[_0x492488(0x1f7)]-0x1,_0x30c04e;_0x2301e4>=0x0;_0x2301e4--)(_0x30c04e=_0x1f59f8[_0x2301e4])&&(_0x1d98b6=_0x30c04e(_0x1d98b6)||_0x1d98b6);return _0x1d98b6;},Ge=(_0x13e473,_0x509a0b)=>(_0x583a33,_0x1c1990)=>_0x509a0b(_0x583a33,_0x1c1990,_0x13e473);const xs=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Vs=(_0x4b0338,_0x2855a2,_0x122a2e)=>{const _0x48e53f=_0x2547f2,_0x4af698=_0x4b0338[_0x48e53f(0x2f9)];_0x4b0338[_0x48e53f(0x3c4)](_0x1d5d31=>{const _0x4dc7ac=_0x48e53f,_0x5958e1=_0x1d5d31[_0x4dc7ac(0x2d6)](),_0x5277c8=_0x1d5d31[_0x4dc7ac(0x425)](),_0x274d8a=_0x1d5d31['getSourceName'](),_0xfcec2d=_0x1d5d31[_0x4dc7ac(0x219)]();_0x2855a2[_0x5277c8]&&_0x2855a2[_0x5277c8]===_0xfcec2d&&_0x274d8a===_0xfcec2d&&(_0x4b0338[_0x4dc7ac(0x405)](_0x5958e1,_0x4af698[_0x4dc7ac(0x219)](_0x5277c8)),_0x1d5d31['setSourceName'](_0x4af698[_0x4dc7ac(0x219)](_0x5277c8)));}),_0x4b0338[_0x48e53f(0x2e6)](_0xac72fb['Value'],_0x6827d1=>{const _0x4f1d49=_0x48e53f,_0x301673=_0x6827d1['getId'](),_0x494a9c=_0x6827d1['getDataFieldId'](),_0x3c52ff=_0x6827d1[_0x4f1d49(0x203)](),_0x2686fb=_0x6827d1[_0x4f1d49(0x219)](),_0x3e714e=_0x6827d1['getSubtotal'](),_0x5cff74=_0x122a2e(_0x3c52ff,_0x3e714e);_0x2855a2[_0x494a9c]&&_0x2855a2[_0x494a9c]===_0x3c52ff&&_0x5cff74===_0x2686fb&&(_0x4b0338[_0x4f1d49(0x405)](_0x301673,_0x122a2e(_0x4af698[_0x4f1d49(0x219)](_0x494a9c),_0x3e714e)),_0x6827d1[_0x4f1d49(0x3c5)](_0x4af698[_0x4f1d49(0x219)](_0x494a9c)));});},Es=(_0x32d929,_0x323f7d,_0x100136)=>{const _0x5748d3=_0x2547f2;var _0x37e6f0,_0x26e3ae;const {arrayFormulaCellData:_0x5efddf,unitData:_0x4ae5d4}=_0x323f7d,{unitId:_0xd3edde,subUnitId:_0x1d7120}=_0x100136,_0x152099=_0x100136[_0x5748d3(0x36d)],{startColumn:_0x5147f5,endColumn:_0x285d10}=_0x152099,_0x5ba385=(_0x37e6f0=_0x5efddf==null?void 0x0:_0x5efddf[_0xd3edde])==null?void 0x0:_0x37e6f0[_0x1d7120],_0x27b66f=(_0x26e3ae=_0x4ae5d4==null?void 0x0:_0x4ae5d4[_0xd3edde])==null?void 0x0:_0x26e3ae[_0x1d7120],_0x2c1b16=new Set(),_0x3e8b9b=_0x285d10-_0x5147f5+0x1,{dirtyRanges:_0x46891d}=_0x32d929;if(_0x46891d)for(const {range:_0x5e9efb,sheetId:_0x6b85fa,unitId:_0x794f6a}of _0x46891d){if(_0x6b85fa!==_0x1d7120||_0xd3edde!==_0x794f6a)continue;const _0x40d66b=_0x3c2f0c[_0x5748d3(0x38b)](_0x5e9efb,_0x152099);if(_0x40d66b){const {startColumn:_0x24bd46,endColumn:_0x17af52}=_0x40d66b;for(let _0x5f5e3f=_0x24bd46;_0x5f5e3f<=_0x17af52;_0x5f5e3f++)_0x2c1b16[_0x5748d3(0x22f)](_0x5f5e3f);}}if(_0x2c1b16[_0x5748d3(0x42a)]===_0x3e8b9b||_0x2c1b16[_0x5748d3(0x42a)]===_0x3e8b9b)return Array['from'](_0x2c1b16);if(_0x27b66f){const _0x9a2813=_0x27b66f[_0x5748d3(0x37e)](),_0x3aab82=Object[_0x5748d3(0x420)](_0x9a2813);for(const _0x366ab4 of _0x3aab82){const _0x5ce294=Number(_0x366ab4),_0x5990bf=_0x9a2813[_0x5ce294];if(_0x2c1b16[_0x5748d3(0x42a)]===_0x3e8b9b)break;for(const _0x2b1aca in _0x5990bf){const _0x4ed45b=Number(_0x2b1aca);_0x4ed45b<_0x5147f5||_0x4ed45b>_0x285d10||_0x2c1b16[_0x5748d3(0x22f)](_0x4ed45b);}}}if(_0x5ba385){const _0x2a67d3=_0x5ba385[_0x5748d3(0x37e)](),_0x135c2e=Object[_0x5748d3(0x420)](_0x2a67d3);for(const _0x10afec of _0x135c2e){const _0x1c6b7f=Number(_0x10afec),_0x5ea7ab=_0x2a67d3[_0x1c6b7f];if(_0x2c1b16[_0x5748d3(0x42a)]===_0x3e8b9b)break;for(const _0x3b469b in _0x5ea7ab){const _0x21b1f9=Number(_0x3b469b);_0x21b1f9<_0x5147f5||_0x21b1f9>_0x285d10||_0x2c1b16['add'](_0x21b1f9);}}}return Array[_0x5748d3(0x220)](_0x2c1b16);},Os=_0x5c6dca=>{const _0x4c28db=_0x2547f2,_0x140840=new Set(),_0x1b0640=[];for(const _0x177449 of _0x5c6dca){const _0x23b839=_0x177449[_0x4c28db(0x438)]+','+_0x177449['endRow']+','+_0x177449[_0x4c28db(0x303)]+','+_0x177449['endColumn'];_0x140840[_0x4c28db(0x28e)](_0x23b839)||(_0x140840[_0x4c28db(0x22f)](_0x23b839),_0x1b0640[_0x4c28db(0x249)](_0x177449));}return _0x1b0640;};let dt=class extends _0x3ffe8d{constructor(_0x1ceece,_0x48011d,_0x1c87ad,_0x24cd6b,_0x5919d4,_0x3c9e67){const _0x6be53a=_0x2547f2;super(),x(this,_0x6be53a(0x370),new _0x326a55(!0x0)),x(this,_0x6be53a(0x222),_0x1f1eca=>{const _0x5a76fe=_0x6be53a;this[_0x5a76fe(0x370)][_0x5a76fe(0x3fc)](!0x1);}),x(this,_0x6be53a(0x225),_0x24fa43=>{const _0x30d6cd=_0x6be53a;this[_0x30d6cd(0x370)][_0x30d6cd(0x3fc)](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x1ceece,this[_0x6be53a(0x25d)]=_0x48011d,this[_0x6be53a(0x2e7)]=_0x1c87ad,this[_0x6be53a(0x2e0)]=_0x24cd6b,this[_0x6be53a(0x40b)]=_0x5919d4,this[_0x6be53a(0x371)]=_0x3c9e67,this['_init'](),this[_0x6be53a(0x1ec)]());}[_0x2547f2(0x312)](){const _0x43250e=_0x2547f2;this[_0x43250e(0x252)](),this[_0x43250e(0x276)](),this[_0x43250e(0x3cf)](),this[_0x43250e(0x34b)]();}[_0x2547f2(0x421)](){const _0x5392a3=_0x2547f2;this['_globalComputingSrv'][_0x5392a3(0x417)](this[_0x5392a3(0x370)]),_0x24dbbd['registerCallbackWithEvent'](_0x2b8bf2[_0x5392a3(0x330)],this[_0x5392a3(0x222)]),_0x24dbbd[_0x5392a3(0x1e2)](_0x2b8bf2['onQueryEnd'],this[_0x5392a3(0x225)]);}[_0x2547f2(0x1ec)](){const _0x5456c9=_0x2547f2;this[_0x5456c9(0x2f6)](this[_0x5456c9(0x2e0)][_0x5456c9(0x304)](_0x409545=>{const _0x539b61=_0x5456c9;_0x409545['id']===_0x34820e['id']&&this[_0x539b61(0x1f5)][_0x539b61(0x2d2)](_0x409545[_0x539b61(0x2b4)]);})),this['disposeWithMe'](this['_commandService'][_0x5456c9(0x304)](_0x2f522f=>{const _0x1e0369=_0x5456c9;if(_0x2f522f['id']!==ro['id'])return;const _0x40032d=_0x2f522f[_0x1e0369(0x2b4)],{unitId:_0x50c187,subUnitId:_0x4427d1,pivotTableId:_0x252556}=_0x40032d,_0x304f69=_0x40032d[_0x1e0369(0x2b4)][_0x1e0369(0x2ae)],_0x59f6f1={};switch(_0x304f69){case B['Filter']:{const _0x341fc4=_0x40032d[_0x1e0369(0x2b4)][_0x1e0369(0x290)];if(!_0x341fc4)return;const {row:_0x325ab2,col:_0x2b6638,cellData:_0x434ce8,pivotItemRenderInfoCache:_0xa4c59e,tableFieldId:_0x4ce7da}=_0x341fc4,_0x3ccd0c=this[_0x1e0369(0x1f5)]['getPivotTableInstance'](_0x40032d[_0x1e0369(0x1e1)]);if(!_0x3ccd0c||!_0xa4c59e)return;if(_0x4ce7da){const _0x3998ba=_0x3ccd0c[_0x1e0369(0x251)](_0x4ce7da);if(!_0x3998ba)return;_0x59f6f1[_0x1e0369(0x290)]={..._0x3ccd0c['getDataFieldItemInfo'](_0x3998ba),'tableFieldId':_0x4ce7da,'pivotTableId':_0x40032d[_0x1e0369(0x1e1)],'filterInfo':_0x3ccd0c['getFilterInfo'](_0x4ce7da),'sortInfo':_0x3ccd0c['getSortInfo'](_0x4ce7da),'format':_0x3ccd0c[_0x1e0369(0x20f)](_0x4ce7da)};}else{const _0xab1e6d=Ei(_0x325ab2,_0x2b6638,_0x434ce8,_0x3ccd0c,_0xa4c59e),_0x39d10d=_0xab1e6d==null?void 0x0:_0xab1e6d[_0x1e0369(0x254)];if(!_0x39d10d)return;const _0x1dbc87=_0x3ccd0c[_0x1e0369(0x251)](_0x39d10d);if(!_0x1dbc87)return;_0x59f6f1['filter']={..._0x3ccd0c[_0x1e0369(0x42d)](_0x1dbc87),'tableFieldId':_0x39d10d,'pivotTableId':_0x40032d[_0x1e0369(0x1e1)],'filterInfo':_0x3ccd0c[_0x1e0369(0x31c)](_0x39d10d),'sortInfo':_0x3ccd0c[_0x1e0369(0x2a2)](_0x39d10d),'format':_0x3ccd0c[_0x1e0369(0x20f)](_0x39d10d)};}}break;case B['Panel']:{const _0x2abb3b=_0x40032d[_0x1e0369(0x2b4)][_0x1e0369(0x394)];if(!_0x2abb3b)return;const {pivotTableId:_0x5c7a20}=_0x2abb3b,_0x3cc822=this[_0x1e0369(0x1f5)][_0x1e0369(0x265)](_0x5c7a20);if(!_0x3cc822)return;const _0x5dfe41=this[_0x1e0369(0x1f5)][_0x1e0369(0x247)](_0x50c187,_0x4427d1,_0x5c7a20),_0x2eba40=Oi(_0x3cc822,_0x5c7a20,_0x5dfe41);_0x59f6f1['panel']=_0x2eba40;}break;case B[_0x1e0369(0x216)]:{const _0x2ccb1b=this[_0x1e0369(0x1f5)]['getPivotTableInstance'](_0x252556),_0x2e29cf=this[_0x1e0369(0x1f5)][_0x1e0369(0x2a9)](_0x50c187),_0x31e097=_0x2e29cf[_0x1e0369(0x23d)](_0x252556);let _0x1b9914=null;const _0x4e0552=this['_sheetsPivotDataSourceModel'][_0x1e0369(0x247)](_0x50c187,_0x4427d1,_0x252556),_0x45d087=_0x40032d[_0x1e0369(0x2b4)][_0x1e0369(0x43b)];if(!_0x2ccb1b||!_0x4e0552||!_0x45d087)return!0x1;const {dataFieldId:_0x5776a8,fieldArea:_0x259d34,index:_0x119b30}=_0x45d087;_0x2ccb1b[_0x1e0369(0x3fd)]();const _0x3de532=_0x2ccb1b[_0x1e0369(0x258)](_0x5776a8,_0x259d34,_0x119b30);if(_0x3de532&&_0x259d34===_0xac72fb['Value']){const _0x3688fa=_0x3de532['getId'](),_0x56fa20=_0x2ccb1b[_0x1e0369(0x251)](_0x3688fa);if(_0x56fa20){const _0x30aa50=_0x56fa20==null?void 0x0:_0x56fa20[_0x1e0369(0x272)]();_0x2ccb1b['setSubtotalType'](_0x3de532[_0x1e0369(0x2d6)](),_0x30aa50===_0x56210e['number']?_0x3d270f['sum']:_0x3d270f[_0x1e0369(0x255)]);}const _0xd77a20=_0x2ccb1b[_0x1e0369(0x412)](),_0x3cc5da=_0x2ccb1b[_0x1e0369(0x3ab)](),_0x4b997a=_0x2ccb1b['getFieldCountByArea'](_0xac72fb[_0x1e0369(0x27d)]);if(_0xd77a20===-0x1&&_0x4b997a>0x1){const _0x256753=_0x3cc5da===_0x127548[_0x1e0369(0x380)]?_0x127548[_0x1e0369(0x408)]:_0x3cc5da,_0x534764=_0x256753===_0x127548[_0x1e0369(0x36e)]?_0xac72fb['Row']:_0xac72fb[_0x1e0369(0x408)];_0x2ccb1b[_0x1e0369(0x38e)](_0x256753,_0x2ccb1b[_0x1e0369(0x39d)](_0x534764));}}else{if(_0x3de532&&(_0x259d34===_0xac72fb['Row']||_0x259d34===_0xac72fb[_0x1e0369(0x408)])){const _0x2bb689=_0x3de532[_0x1e0369(0x2d6)](),_0x327594=_0x2ccb1b[_0x1e0369(0x251)](_0x2bb689);if(_0x327594&&(_0x327594==null?void 0x0:_0x327594[_0x1e0369(0x272)]())===_0x56210e['date']){const _0x3a7f9a=_0x327594[_0x1e0369(0x34d)]();if(_0x3a7f9a&&_0x2ccb1b[_0x1e0369(0x2f4)](_0x3de532[_0x1e0369(0x2d6)](),_0x3a7f9a),!_0x31e097['getFieldIds']()[_0x1e0369(0x445)](_0x45d0b3=>{const _0x359cd4=_0x1e0369,_0x2304cd=_0x31e097[_0x359cd4(0x315)](_0x45d0b3);return _0x31f576(_0x2304cd)?_0x2304cd['getFieldInfo']()['originalFieldId']===_0x5776a8:!0x1;})){const _0x2b6fb9=_0x2e29cf[_0x1e0369(0x332)](),_0x3fe2d8=Qi(_0x327594[_0x1e0369(0x3a0)],_0x327594[_0x1e0369(0x395)]),_0x38ebcc=_0x327594[_0x1e0369(0x3d7)]()+'\x20-\x20'+Wo(this[_0x1e0369(0x371)],_0x3fe2d8),_0x3b2264=new _0x8c75f0(_0x2b6fb9,_0x38ebcc,_0x1c299d(0x3),_0x327594[_0x1e0369(0x2d6)](),_0x3fe2d8);_0x2e29cf[_0x1e0369(0x397)](_0x3b2264),_0x31e097[_0x1e0369(0x230)](_0x2b6fb9,_0x38ebcc),_0x2ccb1b[_0x1e0369(0x258)](_0x2b6fb9,_0x259d34,(_0x119b30!=null?_0x119b30:0x0)+0x1),_0x1b9914=_0x3b2264;}}}}const _0x2c0da9=_0x2ccb1b[_0x1e0369(0x3c6)](),_0x407684=_0x2ccb1b[_0x1e0369(0x406)]()[_0x1e0369(0x33a)]();let _0x831156;if(_0x1b9914){_0x831156=_0x1b9914[_0x1e0369(0x33a)]();const _0x4d34d1=_0x1b9914[_0x1e0369(0x2d6)]();_0x31e097[_0x1e0369(0x3d8)](_0x4d34d1);let _0x30bc02=!0x0;for(const _0x1528a6 in _0x2e29cf[_0x1e0369(0x2f5)])if(_0x2e29cf[_0x1e0369(0x2f5)][_0x1528a6][_0x1e0369(0x275)]()[_0x1e0369(0x3a7)](_0x4d34d1)){_0x30bc02=!0x1;break;}_0x30bc02&&_0x2e29cf['deleteDataField'](_0x4d34d1);}const _0x5551f1=_0x2ccb1b[_0x1e0369(0x404)]();_0x59f6f1[_0x1e0369(0x43b)]={'view':_0x407684,'changesets':_0x5551f1,'isEmpty':_0x2c0da9,'pivotTableConfig':_0x4e0552,'shouldBeAddedGroupJSON':_0x831156};}break;case B['AddPivotTable']:{const _0x50425c=_0x40032d[_0x1e0369(0x2b4)]['addPivotTable'];if(!_0x50425c)return;const _0x19bb72=_0x50425c[_0x1e0369(0x313)],_0x4e97f6=_0x50425c[_0x1e0369(0x1e1)],{collection:_0xb543fe}=this[_0x1e0369(0x1f5)][_0x1e0369(0x341)]({'unitId':_0x19bb72['unitId'],'sheetName':_0x19bb72[_0x1e0369(0x367)],'subUnitId':_0x19bb72[_0x1e0369(0x1e9)],'range':_0x19bb72[_0x1e0369(0x36d)]}),_0x4deff7=new _0x24dbbd(_0xb543fe,void 0x0,_0x4e97f6),_0x378196=_0x4deff7[_0x1e0369(0x406)](),_0xabd30d=_0x4deff7['toJSON'](),_0x3df105=_0xb543fe['toJSON']();_0x59f6f1[_0x1e0369(0x2c6)]={'view':_0x378196,'fieldsConfig':_0xabd30d,'collectionConfig':_0x3df105,'isEmpty':_0x4deff7['isEmpty']()};}break;case B['MovePivotField']:{const _0x32d177=_0x40032d[_0x1e0369(0x2b4)][_0x1e0369(0x384)];if(!_0x32d177)return;const {fieldId:_0x3a96ef,area:_0x54d3a2,index:_0x2d79fe}=_0x32d177,_0x506a2b=this[_0x1e0369(0x1f5)][_0x1e0369(0x247)](_0x50c187,_0x4427d1,_0x252556);if(!_0x506a2b)return;const _0x3607db=this[_0x1e0369(0x1f5)]['getPivotTableInstance'](_0x252556);if(!_0x3607db)return;_0x3607db[_0x1e0369(0x3fd)]();const {area:_0x3617c5,index:_0x38b923}=_0x3607db[_0x1e0369(0x373)](_0x3a96ef);if(_0x3607db[_0x1e0369(0x25c)](_0x3a96ef,_0x54d3a2,_0x2d79fe),_0x54d3a2===_0xac72fb[_0x1e0369(0x27d)]&&_0x3607db[_0x1e0369(0x38a)](_0x3a96ef)[_0x1e0369(0x34e)]()===void 0x0){const _0x4abd70=_0x3607db[_0x1e0369(0x38a)](_0x3a96ef);if(_0x4abd70&&_0x4abd70[_0x1e0369(0x34e)]()===void 0x0){const _0x103b8e=_0x3607db[_0x1e0369(0x251)](_0x3a96ef);if(_0x103b8e){const _0x106daf=_0x103b8e==null?void 0x0:_0x103b8e[_0x1e0369(0x272)]();_0x3607db[_0x1e0369(0x3e7)](_0x3a96ef,_0x106daf===_0x56210e['number']?_0x3d270f['sum']:_0x3d270f[_0x1e0369(0x255)]);}}}const _0x38f65f=_0x3607db[_0x1e0369(0x3ab)](),_0x27492d=_0x3607db[_0x1e0369(0x412)](),_0x32cba8=_0x3607db[_0x1e0369(0x39d)](_0xac72fb['Value'])>0x1;if(_0x32cba8&&_0x3617c5===_0x54d3a2&&(_0x54d3a2===_0xac72fb[_0x1e0369(0x36e)]&&_0x38f65f===_0x127548[_0x1e0369(0x36e)]||_0x54d3a2===_0xac72fb[_0x1e0369(0x408)]&&_0x38f65f===_0x127548['Column'])){let _0x3ad19b=_0x27492d;_0x38b923<=_0x27492d&&_0x3ad19b--,_0x2d79fe<=_0x27492d&&_0x3ad19b++,_0x3607db[_0x1e0369(0x38e)](_0x38f65f,_0x3ad19b);}else _0x32cba8&&(_0x3617c5===_0xac72fb[_0x1e0369(0x36e)]&&_0x38f65f===_0x127548['Row']||_0x3617c5===_0xac72fb['Column']&&_0x38f65f===_0x127548[_0x1e0369(0x408)])&&_0x27492d>=_0x38b923&&_0x3607db[_0x1e0369(0x38e)](_0x38f65f,_0x27492d-0x1),_0x32cba8&&(_0x54d3a2===_0xac72fb['Row']&&_0x38f65f===_0x127548[_0x1e0369(0x36e)]||_0x54d3a2===_0xac72fb[_0x1e0369(0x408)]&&_0x38f65f===_0x127548[_0x1e0369(0x408)])&&_0x27492d>=_0x2d79fe&&_0x3607db[_0x1e0369(0x38e)](_0x38f65f,_0x27492d+0x1);const _0x19e5da=_0x3607db[_0x1e0369(0x406)](),_0x5405bd=_0x3607db[_0x1e0369(0x3c6)](),_0x530622=_0x3607db[_0x1e0369(0x404)]();_0x59f6f1[_0x1e0369(0x384)]={'view':_0x19e5da[_0x1e0369(0x33a)](),'changesets':_0x530622,'isEmpty':_0x5405bd,'pivotTableConfig':_0x506a2b};}break;case B[_0x1e0369(0x3cc)]:{const _0x5d23cf=_0x40032d[_0x1e0369(0x2b4)]['removePivotField'];if(!_0x5d23cf)return;const _0x3f9422=_0x5d23cf['fieldIds'],_0x54e357=this[_0x1e0369(0x1f5)][_0x1e0369(0x247)](_0x50c187,_0x4427d1,_0x252556);if(!_0x54e357)return!0x1;const _0x270130=this['_sheetsPivotDataSourceModel'][_0x1e0369(0x265)](_0x252556);if(!_0x270130)return!0x1;_0x270130[_0x1e0369(0x3fd)]();for(const _0x6a08e of _0x3f9422){const {area:_0x467e9d}=_0x270130[_0x1e0369(0x373)](_0x6a08e);_0x467e9d===_0xac72fb[_0x1e0369(0x27d)]&&_0x270130[_0x1e0369(0x317)](_0x6a08e),(_0x467e9d===_0xac72fb[_0x1e0369(0x36e)]||_0x467e9d===_0xac72fb[_0x1e0369(0x408)])&&_0x270130[_0x1e0369(0x428)](_0x6a08e),_0x270130['removeField'](_0x6a08e);}const _0x5832c5=_0x270130[_0x1e0369(0x3c6)](),_0x37d676=_0x270130[_0x1e0369(0x406)]()[_0x1e0369(0x33a)](),_0x8c04ed=_0x270130[_0x1e0369(0x404)]();_0x59f6f1['removePivotField']={'changesets':_0x8c04ed,'pivotTableConfig':_0x54e357,'isEmpty':_0x5832c5,'view':_0x37d676};}break;case B[_0x1e0369(0x2fd)]:{const _0x3e7885=_0x40032d[_0x1e0369(0x2b4)][_0x1e0369(0x316)];if(!_0x3e7885)return;const {tableFieldId:_0x45399a,items:_0x5dc790,isAll:_0x4fa2ee}=_0x3e7885,_0x5cbc90=this['_sheetsPivotDataSourceModel'][_0x1e0369(0x265)](_0x252556),_0x30b49c=this['_sheetsPivotDataSourceModel'][_0x1e0369(0x247)](_0x50c187,_0x4427d1,_0x252556);if(!_0x5cbc90||!_0x30b49c)return;_0x5cbc90[_0x1e0369(0x3fd)](),_0x5cbc90[_0x1e0369(0x23a)](_0x45399a,{'type':_0x375564[_0x1e0369(0x296)],'list':_0x5dc790,'isAll':_0x4fa2ee});const _0x457a7c=_0x5cbc90[_0x1e0369(0x3c6)](),_0x408fe2=_0x5cbc90[_0x1e0369(0x406)]()[_0x1e0369(0x33a)](),_0x588f6c=_0x5cbc90['endCollectChangeset']();_0x59f6f1[_0x1e0369(0x316)]={'view':_0x408fe2,'changesets':_0x588f6c,'isEmpty':_0x457a7c,'pivotTableConfig':_0x30b49c};}break;case B['SetValuePivotFilter']:{const _0x51ffa6=_0x40032d[_0x1e0369(0x2b4)][_0x1e0369(0x1e7)];if(!_0x51ffa6)return;const {tableFieldId:_0x5c9789,filterInfo:_0x249c5a}=_0x51ffa6,_0x307ce0=this['_sheetsPivotDataSourceModel'][_0x1e0369(0x265)](_0x252556),_0x36224f=this[_0x1e0369(0x1f5)][_0x1e0369(0x247)](_0x50c187,_0x4427d1,_0x252556);if(!_0x307ce0||!_0x36224f)return;_0x307ce0[_0x1e0369(0x3fd)](),_0x307ce0[_0x1e0369(0x2d7)](_0x5c9789,_0x249c5a);const _0x3e4e04=_0x307ce0[_0x1e0369(0x3c6)](),_0x36e979=_0x307ce0[_0x1e0369(0x406)]()[_0x1e0369(0x33a)](),_0x54b172=_0x307ce0[_0x1e0369(0x404)]();_0x59f6f1[_0x1e0369(0x1e7)]={'view':_0x36e979,'changesets':_0x54b172,'isEmpty':_0x3e4e04,'pivotTableConfig':_0x36224f};}break;case B[_0x1e0369(0x36f)]:{const _0x39a2ff=_0x40032d[_0x1e0369(0x2b4)]['setPivotSort'];if(!_0x39a2ff)return;const {tableFieldId:_0x36577c,info:_0x8c90d5}=_0x39a2ff,_0xa4ac98=this['_sheetsPivotDataSourceModel'][_0x1e0369(0x265)](_0x252556),_0x30c0c1=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x50c187,_0x4427d1,_0x252556);if(!_0xa4ac98||!_0x30c0c1)return;_0xa4ac98[_0x1e0369(0x3fd)](),_0xa4ac98[_0x1e0369(0x3e5)](_0x36577c,_0x8c90d5);const _0x46c09c=_0xa4ac98[_0x1e0369(0x3c6)](),_0x3bca31=_0xa4ac98['query']()['toJSON'](),_0x49d205=_0xa4ac98[_0x1e0369(0x404)]();_0x59f6f1[_0x1e0369(0x343)]={'view':_0x3bca31,'changesets':_0x49d205,'isEmpty':_0x46c09c,'pivotTableConfig':_0x30c0c1};}break;case B['SetPivotSetting']:{const _0x59bdbe=_0x40032d[_0x1e0369(0x2b4)][_0x1e0369(0x37a)];if(!_0x59bdbe)return;const {tableFieldId:_0x405fcd,displayName:_0x2f1983,subtotalType:_0x35f687,format:_0x19c632}=_0x59bdbe,_0x2748d3=this[_0x1e0369(0x1f5)]['getPivotTableInstance'](_0x252556),_0x2836ed=this[_0x1e0369(0x1f5)][_0x1e0369(0x247)](_0x50c187,_0x4427d1,_0x252556);if(!_0x2748d3||!_0x2836ed)return;_0x2748d3[_0x1e0369(0x3fd)](),_0x2f1983!==void 0x0&&_0x2748d3[_0x1e0369(0x405)](_0x405fcd,_0x2f1983),_0x35f687!==void 0x0&&_0x2748d3['setSubtotalType'](_0x405fcd,_0x35f687),_0x19c632!==void 0x0&&_0x2748d3[_0x1e0369(0x2f4)](_0x405fcd,_0x19c632);const _0x5c42d4=_0x2748d3[_0x1e0369(0x3c6)](),_0x3f3171=_0x2748d3[_0x1e0369(0x406)]()[_0x1e0369(0x33a)](),_0x35cf19=_0x2748d3[_0x1e0369(0x404)]();_0x59f6f1[_0x1e0369(0x37a)]={'changesets':_0x35cf19,'pivotTableConfig':_0x2836ed,'isEmpty':_0x5c42d4,'view':_0x3f3171};}break;case B[_0x1e0369(0x27c)]:{const _0x4c0495=_0x40032d[_0x1e0369(0x2b4)][_0x1e0369(0x262)];if(!_0x4c0495)return;const {dataRangeInfo:_0x2ece85,unitId:_0xf4e829,subUnitId:_0x351dd6}=_0x4c0495,_0x4479c5=this[_0x1e0369(0x1f5)]['getPivotTableConfig'](_0xf4e829,_0x351dd6,_0x252556),_0x16259f=this[_0x1e0369(0x1f5)]['getPivotTableInstance'](_0x252556);if(!this['_sheetsPivotDataSourceModel'][_0x1e0369(0x23d)](_0xf4e829,_0x252556)||!_0x16259f||!_0x4479c5)return;const _0x16289f=this[_0x1e0369(0x1f5)]['getUpdateRangeDeleteIds'](_0xf4e829,_0x252556,_0x2ece85),_0x1e481b=this[_0x1e0369(0x1f5)][_0x1e0369(0x23d)](_0xf4e829,_0x252556)['toJSON'](),{collection:_0x391355}=this[_0x1e0369(0x1f5)][_0x1e0369(0x341)]({'unitId':_0x2ece85[_0x1e0369(0x224)],'sheetName':_0x2ece85[_0x1e0369(0x367)],'subUnitId':_0x2ece85[_0x1e0369(0x1e9)],'range':_0x2ece85[_0x1e0369(0x36d)]}),_0x2fc80b=_0x391355[_0x1e0369(0x33a)]();_0x16259f['startCollectChangeset']();const _0x24a0d1=this[_0x1e0369(0x1f5)][_0x1e0369(0x2a9)](_0xf4e829)[_0x1e0369(0x418)]()||_0x2f2b51;_0x16259f[_0x1e0369(0x32f)](_0x3afb40=>{const _0x1c034c=_0x1e0369,_0x2bb29f=_0x3afb40[_0x1c034c(0x425)]();if(!_0x391355[_0x1c034c(0x3c1)](_0x2bb29f)){const _0x22db68=_0x391355[_0x1c034c(0x3bc)](_0x3afb40[_0x1c034c(0x203)]());if(_0x22db68){_0x16259f[_0x1c034c(0x235)](_0x3afb40['getId'](),_0x22db68[_0x1c034c(0x3d7)](),_0x22db68['getId']());const {area:_0x3f07fc}=_0x16259f[_0x1c034c(0x373)](_0x3afb40[_0x1c034c(0x2d6)]());let _0xe3d3df=_0x3afb40[_0x1c034c(0x203)]();const _0x5ef436=_0x3afb40[_0x1c034c(0x219)]();if(_0x3f07fc===_0xac72fb[_0x1c034c(0x27d)]){const _0x4a0293=_0x3afb40[_0x1c034c(0x34e)]();_0xe3d3df=_0x24a0d1(_0x22db68[_0x1c034c(0x3d7)](),_0x4a0293);}_0x5ef436!==_0xe3d3df&&_0x16259f[_0x1c034c(0x405)](_0x3afb40[_0x1c034c(0x2d6)](),_0xe3d3df);}else _0x16259f['removeField'](_0x3afb40['getId']());}});const _0x2b1b6f=_0x16259f['isEmpty'](),_0x35c0d7=_0x16259f[_0x1e0369(0x406)]()[_0x1e0369(0x33a)](),_0x473260=_0x16259f[_0x1e0369(0x404)]();_0x59f6f1[_0x1e0369(0x262)]={'view':_0x35c0d7,'changesets':_0x473260,'isEmpty':_0x2b1b6f,'pivotTableConfig':_0x4479c5,'collectionConfig':_0x2fc80b,'oldCollectionConfig':_0x1e481b,'deleteIds':_0x16289f};}break;case B['UpdateValuePosition']:{const _0x445857=_0x40032d[_0x1e0369(0x2b4)]['updateValuePosition'];if(!_0x445857)return;const {position:_0x76f968,index:_0x14347a}=_0x445857,_0x3a6c8a=this[_0x1e0369(0x1f5)][_0x1e0369(0x247)](_0x50c187,_0x4427d1,_0x252556);if(!_0x3a6c8a)return!0x1;const _0x5a276b=this['_sheetsPivotDataSourceModel'][_0x1e0369(0x265)](_0x252556);if(!_0x5a276b)return!0x1;_0x5a276b['startCollectChangeset'](),_0x5a276b[_0x1e0369(0x38e)](_0x76f968,_0x14347a);const _0x40305d=_0x5a276b[_0x1e0369(0x3c6)](),_0x145895=_0x5a276b['query']()[_0x1e0369(0x33a)](),_0x1250a4=_0x5a276b['endCollectChangeset']();_0x59f6f1[_0x1e0369(0x38e)]={'changesets':_0x1250a4,'pivotTableConfig':_0x3a6c8a,'isEmpty':_0x40305d,'view':_0x145895};}break;case B[_0x1e0369(0x385)]:{const _0x1939f2=_0x40032d[_0x1e0369(0x2b4)]['setPivotCollapse'];if(!_0x1939f2)return;const {tableFieldId:_0x25c348,collapse:_0x32672,item:_0x3ddb4d}=_0x1939f2,_0x358374=this[_0x1e0369(0x1f5)][_0x1e0369(0x265)](_0x252556),_0x11b1bc=this[_0x1e0369(0x1f5)][_0x1e0369(0x247)](_0x50c187,_0x4427d1,_0x252556);if(!_0x358374||!_0x11b1bc)return;_0x358374[_0x1e0369(0x3fd)](),_0x358374[_0x1e0369(0x372)](_0x25c348,_0x32672,_0x3ddb4d);const _0x53bdee=_0x358374[_0x1e0369(0x3c6)](),_0x42db2e=_0x358374['query']()[_0x1e0369(0x33a)](),_0x1a1455=_0x358374['endCollectChangeset']();_0x59f6f1[_0x1e0369(0x3b7)]={'view':_0x42db2e,'isEmpty':_0x53bdee,'pivotTableConfig':_0x11b1bc,'changesets':_0x1a1455};}break;case B[_0x1e0369(0x390)]:{const _0x126d05=_0x40032d[_0x1e0369(0x2b4)][_0x1e0369(0x336)];if(!_0x126d05)return;const {pivotTableConfig:_0x3d4eaf}=_0x126d05,_0x3a4693=this[_0x1e0369(0x1f5)][_0x1e0369(0x265)](_0x252556),_0x2e4baa=this[_0x1e0369(0x1f5)][_0x1e0369(0x247)](_0x50c187,_0x4427d1,_0x252556);if(!_0x3a4693||!_0x2e4baa)return;_0x3a4693[_0x1e0369(0x3fd)](),Ji(_0x3a4693,_0x3d4eaf);const _0x436f83=_0x3a4693[_0x1e0369(0x3c6)](),_0x41370f=_0x3a4693[_0x1e0369(0x406)]()[_0x1e0369(0x33a)](),_0x222337=_0x3a4693[_0x1e0369(0x404)]();_0x59f6f1['setPivotTableConfig']={'view':_0x41370f,'isEmpty':_0x436f83,'pivotTableConfig':{..._0x2e4baa,'fieldsConfig':_0x3a4693[_0x1e0369(0x33a)]()},'changesets':_0x222337};}break;case B[_0x1e0369(0x21c)]:{const _0x3a116f=_0x40032d[_0x1e0369(0x2b4)][_0x1e0369(0x2dc)];if(!_0x3a116f)return;const _0x2ded0d=this[_0x1e0369(0x1f5)]['getPivotTableInstance'](_0x252556),_0x45ef0c=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x50c187,_0x4427d1,_0x252556);if(!_0x2ded0d||!_0x45ef0c)return;_0x2ded0d[_0x1e0369(0x3fd)](),$i(_0x2ded0d,_0x3a116f[_0x1e0369(0x3a8)]);const _0x1e4512=_0x2ded0d[_0x1e0369(0x406)]()['toJSON'](),_0x23edc3=_0x2ded0d['endCollectChangeset']();_0x59f6f1[_0x1e0369(0x2dc)]={'view':_0x1e4512,'isEmpty':!0x0,'pivotTableConfig':{..._0x45ef0c,'fieldsConfig':_0x2ded0d[_0x1e0369(0x33a)]()},'changesets':_0x23edc3};}break;case B['AddPivotTableWithConfig']:{const _0x597bd6=_0x40032d['params'][_0x1e0369(0x2c5)];if(!_0x597bd6)return;const _0x544e86=_0x597bd6[_0x1e0369(0x313)],_0x10c334=_0x597bd6['pivotTableId'],{collection:_0x2c33ab}=this[_0x1e0369(0x1f5)][_0x1e0369(0x341)]({'unitId':_0x544e86[_0x1e0369(0x224)],'sheetName':_0x544e86[_0x1e0369(0x367)],'subUnitId':_0x544e86['subUnitId'],'range':_0x544e86[_0x1e0369(0x36d)]}),_0x30de33=new _0x24dbbd(_0x2c33ab,void 0x0,_0x10c334),_0xb74f93=_0x2c33ab[_0x1e0369(0x275)](),{rows:_0x38bcd3,columns:_0x2654e3,filters:_0x383078,values:_0x366b7b}=_0x597bd6['pivotTableIndexConfig'];_0x30de33[_0x1e0369(0x3fd)]();for(const {field:_0x35c679,selectedItems:_0x24b355}of _0x38bcd3||[]){const _0x4fc0f5=_0xb74f93[_0x35c679];if(_0x4fc0f5){const _0x495170=_0x30de33[_0x1e0369(0x258)](_0x4fc0f5,_0xac72fb[_0x1e0369(0x36e)]);_0x24b355&&_0x495170&&_0x30de33[_0x1e0369(0x23a)](_0x495170[_0x1e0369(0x2d6)](),{'type':_0x375564[_0x1e0369(0x296)],'list':_0x24b355,'isAll':!0x1});}}for(const {field:_0x24307e,selectedItems:_0xae1464}of _0x2654e3||[]){const _0x1eaa34=_0xb74f93[_0x24307e];if(_0x1eaa34){const _0x408842=_0x30de33[_0x1e0369(0x258)](_0x1eaa34,_0xac72fb[_0x1e0369(0x408)]);_0xae1464&&_0x408842&&_0x30de33[_0x1e0369(0x23a)](_0x408842[_0x1e0369(0x2d6)](),{'type':_0x375564[_0x1e0369(0x296)],'list':_0xae1464,'isAll':!0x1});}}for(const {field:_0x41b7d6,selectedItems:_0x31d036}of _0x383078||[]){const _0x570802=_0xb74f93[_0x41b7d6];if(_0x570802){const _0x2ac07a=_0x30de33['addFieldWithSourceId'](_0x570802,_0xac72fb[_0x1e0369(0x2c1)]);_0x31d036&&_0x2ac07a&&_0x30de33[_0x1e0369(0x23a)](_0x2ac07a[_0x1e0369(0x2d6)](),{'type':_0x375564['ManualFilter'],'list':_0x31d036,'isAll':!0x1});}}for(const {field:_0x11bac4,subTotalType:_0x552993,formatString:_0x55bfdd}of _0x366b7b||[]){const _0x27c837=_0x2c33ab[_0x1e0369(0x315)](_0xb74f93[_0x11bac4]);if(!_0x27c837)continue;const _0x43dc83=_0xb74f93[_0x11bac4];if(_0x43dc83){const _0x5a120c=_0x30de33[_0x1e0369(0x258)](_0x43dc83,_0xac72fb[_0x1e0369(0x27d)]);if(_0x5a120c){if(_0x552993!==void 0x0){_0x30de33['setSubtotalType'](_0x5a120c['getId'](),_0x552993);const _0x58ceb6=this[_0x1e0369(0x1f5)]['getDataFieldManager'](_0x544e86[_0x1e0369(0x224)])[_0x1e0369(0x418)]()||_0x2f2b51,_0x2692e5=_0x2c33ab[_0x1e0369(0x219)](_0x43dc83),_0x57d30a=_0x58ceb6(_0x2692e5,_0x552993);_0x30de33[_0x1e0369(0x405)](_0x5a120c[_0x1e0369(0x2d6)](),_0x57d30a);}else{if(_0x27c837){const _0x1a29ce=_0x27c837==null?void 0x0:_0x27c837['getFieldDataType']();_0x30de33[_0x1e0369(0x3e7)](_0x5a120c['getId'](),_0x1a29ce===_0x56210e[_0x1e0369(0x3a5)]?_0x3d270f[_0x1e0369(0x3d0)]:_0x3d270f['count']);}}_0x55bfdd&&_0x30de33[_0x1e0369(0x2f4)](_0x5a120c['getId'](),_0x55bfdd);}}}const _0x32d2e4=_0x30de33[_0x1e0369(0x406)](),_0x136f91=_0x30de33[_0x1e0369(0x33a)](),_0x3afeb5=_0x30de33['isEmpty'](),_0x2a46fd=_0x30de33[_0x1e0369(0x404)](),_0x754b96=_0x2c33ab['toJSON']();_0x59f6f1[_0x1e0369(0x2c5)]={'view':_0x32d2e4,'fieldsConfig':_0x136f91,'collectionConfig':_0x754b96,'isEmpty':_0x3afeb5,'changesets':_0x2a46fd};}break;case B[_0x1e0369(0x301)]:{const _0x51f63b=ki(this['_injector'],_0x40032d);if(!_0x51f63b)return;const {range:_0x47c2f1,sourceSubUnitId:_0x5c67e0,sourceUnitId:_0x1c10fa,formatMap:_0x51c9a4,indexes:_0x681939}=_0x51f63b;_0x59f6f1[_0x1e0369(0x207)]={'range':_0x47c2f1,'sourceSubUnitId':_0x5c67e0,'sourceUnitId':_0x1c10fa,'formatMap':_0x51c9a4,'indexes':_0x681939};}break;}this[_0x1e0369(0x2e0)][_0x1e0369(0x300)](lo['id'],{'version':_0x40032d[_0x1e0369(0x2f1)],'result':_0x59f6f1},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x2d0704=_0x2547f2;this[_0x2d0704(0x2f6)](this[_0x2d0704(0x2e0)][_0x2d0704(0x304)](_0xabfd7a=>{const _0x4b37ca=_0x2d0704;if(_0xabfd7a['id']!==uo['id'])return;const _0x4e7b82=_0xabfd7a['params'];return this[_0x4b37ca(0x1f5)][_0x4b37ca(0x21b)](_0x4e7b82[_0x4b37ca(0x25f)]),!0x0;}));}[_0x2547f2(0x252)](){const _0x462743=_0x2547f2;this['_sheetsPivotDataSourceModel'][_0x462743(0x22b)][_0x462743(0x360)](_0x27a4df=>{const _0x229a6c=_0x462743;switch(_0x27a4df[_0x229a6c(0x2ae)]){case He[_0x229a6c(0x22f)]:_0x27a4df[_0x229a6c(0x436)]&&_0x27a4df[_0x229a6c(0x422)]&&this[_0x229a6c(0x3e9)](_0x27a4df[_0x229a6c(0x286)],_0x27a4df[_0x229a6c(0x436)],_0x27a4df[_0x229a6c(0x422)]);break;case He['delete']:{const {unitId:_0x3c17e3,subUnitId:_0x40c542,token:_0x193fb6}=_0x27a4df;_0x3c17e3&&_0x40c542&&_0x193fb6&&this[_0x229a6c(0x26b)](_0x3c17e3,_0x40c542,_0x193fb6);}break;case He[_0x229a6c(0x227)]:{const {token:_0x410935,oldSourceRangeInfo:_0x2199ed,dataRangeInfo:_0x7fcd88,targetCellInfo:_0xc24c31}=_0x27a4df,{unitId:_0x15012f,subUnitId:_0x11a367}=_0x2199ed||{};_0x15012f&&_0x11a367&&_0x410935&&this['removeSourceRangeChange'](_0x15012f,_0x11a367,_0x410935),_0x7fcd88&&_0xc24c31&&this['handleSourceRangeChange'](_0x410935,_0x7fcd88,_0xc24c31);}break;}});}['_subjectFieldsCollectionChange'](){const _0x37221f=_0x2547f2;this['_sheetsPivotDataSourceModel'][_0x37221f(0x40e)][_0x37221f(0x360)](_0x13e1e5=>{const _0x353955=_0x37221f;Object['keys'](_0x13e1e5)[_0x353955(0x3c9)](_0x52f9ef=>{const _0x35ce06=_0x353955,_0x20a658=this[_0x35ce06(0x1f5)][_0x35ce06(0x2cd)](_0x52f9ef);if(_0x20a658){const _0x1d811f=this[_0x35ce06(0x1f5)][_0x35ce06(0x247)](_0x20a658==null?void 0x0:_0x20a658[_0x35ce06(0x224)],_0x20a658==null?void 0x0:_0x20a658[_0x35ce06(0x1e9)],_0x52f9ef);_0x1d811f&&(this[_0x35ce06(0x3e9)](_0x52f9ef,_0x1d811f['sourceRangeInfo'],_0x1d811f['targetCellInfo']),this['triggerDirtyFeature']([{'unitId':_0x20a658[_0x35ce06(0x224)],'subUnitId':_0x20a658['subUnitId'],'token':_0x52f9ef}]));}});});}['_subjectViewChange'](){const _0x32f477=_0x2547f2;this[_0x32f477(0x1f5)]['viewData$'][_0x32f477(0x360)](_0x364867=>{const _0x51ba1e=_0x32f477,{unitId:_0x329d3b,subUnitId:_0x3ad35e,pivotTableId:_0x34468a}=_0x364867;_0x329d3b&&_0x3ad35e&&_0x34468a&&this[_0x51ba1e(0x3f8)]([{'unitId':_0x329d3b,'subUnitId':_0x3ad35e,'token':_0x34468a}]);});}[_0x2547f2(0x3f8)](_0x228ad4){const _0x536911=_0x2547f2,_0x1ea4c8={};_0x228ad4[_0x536911(0x3c9)](_0x268670=>{var _0x460c89,_0x5affc7;const {unitId:_0x2527b6,subUnitId:_0x2732a3,token:_0x513b3a}=_0x268670;_0x1ea4c8[_0x2527b6]=(_0x460c89=_0x1ea4c8[_0x2527b6])!=null?_0x460c89:{},_0x1ea4c8[_0x2527b6][_0x2732a3]=(_0x5affc7=_0x1ea4c8[_0x2527b6][_0x2732a3])!=null?_0x5affc7:{},_0x1ea4c8[_0x2527b6][_0x2732a3][_0x513b3a]=!0x0;}),this[_0x536911(0x2e0)][_0x536911(0x300)](Ut['id'],_0x1ea4c8);}[_0x2547f2(0x26b)](_0x27ab2c,_0x5bbb16,_0x58e712){const _0x305cff=_0x2547f2;this['_featureCalculationManagerService'][_0x305cff(0x284)](_0x27ab2c,_0x5bbb16,[_0x58e712]);}['handleSourceRangeChange'](_0x1f7a04,_0x1bda63,_0x22a2be){const _0x3b9af5=_0x2547f2,{unitId:_0x4637ce,subUnitId:_0x5f0b51}=_0x1bda63;this['_featureCalculationManagerService']['has'](_0x22a2be[_0x3b9af5(0x224)],_0x22a2be[_0x3b9af5(0x1e9)],_0x1f7a04)&&this[_0x3b9af5(0x26b)](_0x4637ce,_0x5f0b51,_0x1f7a04);const _0x4493fd={'sheetId':_0x5f0b51,..._0x1bda63};this[_0x3b9af5(0x2e7)][_0x3b9af5(0x38d)](_0x22a2be[_0x3b9af5(0x224)],_0x22a2be['subUnitId'],_0x1f7a04,{'unitId':_0x22a2be['unitId'],'subUnitId':_0x22a2be[_0x3b9af5(0x1e9)],'dependencyRanges':[_0x4493fd],'getDirtyData':(_0x56f841,_0x505637)=>{const _0x17fc8d=_0x3b9af5,_0x592bb3=this[_0x17fc8d(0x1f5)],_0x226fc3=_0x592bb3[_0x17fc8d(0x2cd)](_0x1f7a04);if(!_0x226fc3)return xs();const {unitId:_0x5a91b4,subUnitId:_0x170091}=_0x226fc3,_0x120b28=Es(_0x56f841,_0x505637,_0x1bda63);if(_0x120b28[_0x17fc8d(0x1f7)]>0x0){const _0x34eb10=_0x592bb3[_0x17fc8d(0x23d)](_0x4637ce,_0x1f7a04),_0x3ae1ce=_0x34eb10[_0x17fc8d(0x275)](),_0x42e852=this[_0x17fc8d(0x366)](_0x1bda63[_0x17fc8d(0x224)],_0x1bda63[_0x17fc8d(0x1e9)],_0x505637),_0x11298d={},_0x20f4e7=this[_0x17fc8d(0x1f5)][_0x17fc8d(0x2a9)](_0x5a91b4)[_0x17fc8d(0x418)]()||_0x2f2b51,_0x5a0362=[];for(const _0xa79f2f of _0x120b28){const _0x208757=_0xa79f2f-(_0x1bda63[_0x17fc8d(0x36d)][_0x17fc8d(0x303)]||0x0),_0x22d9b9=_0x3ae1ce[_0x208757];_0x5a0362[_0x17fc8d(0x249)](_0x22d9b9),_0x11298d[_0x22d9b9]=_0x34eb10[_0x17fc8d(0x315)](_0x22d9b9)[_0x17fc8d(0x3d7)](),_0x592bb3['getDataFieldManager'](_0x4637ce)['refreshDataField'](_0x22d9b9,_0x1bda63,_0x208757,_0x42e852);}_0x34eb10['getGroupFieldsInfoByIds'](_0x5a0362)[_0x17fc8d(0x3c9)](_0x27d4c5=>{const _0x210065=_0x17fc8d,[_0x326c34,_0x288542]=_0x27d4c5,_0x29ae4e=_0x34eb10[_0x210065(0x315)](_0x326c34),_0x474874=_0x34eb10['getFieldById'](_0x288542);_0x29ae4e&&_0x474874&&_0x29ae4e[_0x210065(0x3aa)](_0x474874);}),_0x34eb10['updateAllDisplayName']();const _0xc8ac01=_0x592bb3['getPivotTableInstance'](_0x1f7a04);if(_0xc8ac01){Vs(_0xc8ac01,_0x11298d,_0x20f4e7),_0xc8ac01['setDirty'](!0x0);const _0x7ed8cc=_0xc8ac01[_0x17fc8d(0x406)](),_0x30c99c=_0x592bb3[_0x17fc8d(0x247)](_0x5a91b4,_0x170091,_0x1f7a04),_0x180f72=_0x592bb3['getDataFieldManager'](_0x4637ce)[_0x17fc8d(0x33a)]();_0x592bb3['updateView'](_0x5a91b4,_0x170091,L[_0x17fc8d(0x2dd)],_0x1f7a04,_0x7ed8cc,_0x30c99c,_0x180f72,!0x0);}}return this[_0x17fc8d(0x3ec)](_0x5a91b4,_0x170091,_0x1f7a04);}});}['getMatrixFromRunTimeData'](_0x1515da,_0x3f90b7,_0x2e2af4){var _0x425500,_0x21d506;const {arrayFormulaCellData:_0x4fcd9d,unitData:_0x5dba42}=_0x2e2af4,_0x5088fa=(_0x425500=_0x4fcd9d==null?void 0x0:_0x4fcd9d[_0x1515da])==null?void 0x0:_0x425500[_0x3f90b7],_0x397a0d=(_0x21d506=_0x5dba42==null?void 0x0:_0x5dba42[_0x1515da])==null?void 0x0:_0x21d506[_0x3f90b7];return{'arrayFormulaCellDataMatrix':_0x5088fa,'unitDataMatrix':_0x397a0d};}[_0x2547f2(0x3ec)](_0x5434b0,_0x3e304a,_0x3c2670){const _0x936631=_0x2547f2,_0x2c0bf3=this['_sheetsPivotDataSourceModel'][_0x936631(0x318)](_0x5434b0,_0x3e304a,_0x3c2670),_0x4b4365=[],_0x27484e=new _0x4d28c3();if(_0x2c0bf3){const {rangeCache:_0x495a4a,matrix:_0x1dfc8a,oldRangeCache:_0x27dad5,oldMatrix:_0x57b963}=_0x2c0bf3,_0x4e781e=Lt(_0x27dad5),_0x16d8ce=Lt(_0x495a4a);_0x4b4365['push'](..._0x16d8ce,..._0x4e781e),_0x57b963&&_0x27dad5&&_0x4e781e[_0x936631(0x3c9)](_0x3f555d=>{const _0x507a3d=_0x936631;for(let _0x19f15c=_0x3f555d['startRow'];_0x19f15c<=_0x3f555d[_0x507a3d(0x228)];_0x19f15c++)for(let _0x54968f=_0x3f555d[_0x507a3d(0x303)];_0x54968f<=_0x3f555d[_0x507a3d(0x238)];_0x54968f++)_0x27484e[_0x507a3d(0x3d4)](_0x19f15c,_0x54968f);}),_0x1dfc8a&&_0x16d8ce&&_0x16d8ce['forEach'](_0x4e69d7=>{const _0x3b0f6e=_0x936631;for(let _0x273ab3=_0x4e69d7[_0x3b0f6e(0x438)];_0x273ab3<=_0x4e69d7[_0x3b0f6e(0x228)];_0x273ab3++)for(let _0x4bf564=_0x4e69d7[_0x3b0f6e(0x303)];_0x4bf564<=_0x4e69d7[_0x3b0f6e(0x238)];_0x4bf564++)_0x27484e['setValue'](_0x273ab3,_0x4bf564,_0x1dfc8a[_0x3b0f6e(0x291)](_0x273ab3,_0x4bf564));});}const _0x3be30f={};return _0x3be30f[_0x5434b0]={[_0x3e304a]:Os(_0x4b4365)},{'runtimeCellData':{[_0x5434b0]:{[_0x3e304a]:_0x27484e}},'dirtyRanges':_0x3be30f};}[_0x2547f2(0x2f2)](){}};dt=Us([Ge(0x0,_0x48d3dc(K)),Ge(0x1,_0x376ed6),Ge(0x2,_0x48d3dc(_0x1c9711)),Ge(0x3,_0x48d3dc(_0xeb8ce6)),Ge(0x4,_0x48d3dc(_0x192fd1)),Ge(0x5,_0x48d3dc(_0x43a13d))],dt);var ks=Object[_0x2547f2(0x239)],Bs=(_0x41e40c,_0x4c2c50,_0x15f86a,_0x191ed4)=>{const _0x3e3091=_0x2547f2;for(var _0x352994=_0x191ed4>0x1?void 0x0:_0x191ed4?ks(_0x4c2c50,_0x15f86a):_0x4c2c50,_0x43e9ea=_0x41e40c[_0x3e3091(0x1f7)]-0x1,_0x41aab3;_0x43e9ea>=0x0;_0x43e9ea--)(_0x41aab3=_0x41e40c[_0x43e9ea])&&(_0x352994=_0x41aab3(_0x352994)||_0x352994);return _0x352994;},_t=(_0x5381f8,_0x54f87a)=>(_0x40656d,_0x2780a5)=>_0x54f87a(_0x40656d,_0x2780a5,_0x5381f8);let ct=class extends _0x3ffe8d{constructor(_0x861d9c,_0x1afa4c,_0x3783cc,_0x566647){const _0x5ec3a5=_0x2547f2;super(),x(this,_0x5ec3a5(0x1db),new _0x5cb9d3()),(this[_0x5ec3a5(0x261)]=_0x861d9c,this[_0x5ec3a5(0x3de)]=_0x1afa4c,this[_0x5ec3a5(0x2b0)]=_0x3783cc,this['_sheetsPivotTableConfigModel']=_0x566647,this[_0x5ec3a5(0x358)]());}[_0x2547f2(0x358)](){const _0x403b38=_0x2547f2;this[_0x403b38(0x2f6)](this[_0x403b38(0x3de)][_0x403b38(0x21f)]({'getMutations':_0x1898ba=>{const _0x4c1496=_0x403b38;if(_0x1898ba['id']===_0x1fe896['id']||_0x1898ba['id']===_0x2589a6['id']){const _0x572c5c=[],_0x26b074=[],_0x13fc88=this['_sheetsSelectionsService'][_0x4c1496(0x1f9)]()[_0x4c1496(0x229)](_0x4fbf72=>_0x4fbf72[_0x4c1496(0x36d)]),_0x4c5af7=_0x1fc14d(this['_univerInstanceService']);if(!_0x4c5af7)return{'redos':[],'undos':[]};const {unitId:_0xc54452,subUnitId:_0x1371dd}=_0x4c5af7,_0x2a5168={},_0x4321f2=this['_sheetsPivotTableConfigModel'][_0x4c1496(0x28f)](_0xc54452,_0x1371dd);if(_0x4321f2!=null&&_0x4321f2[_0x4c1496(0x42a)])for(const [_0xe8b906,_0x1744e9]of _0x4321f2){const {unitId:_0x1b50c6,subUnitId:_0x2ee1fc,row:_0x45a498,col:_0xbd3472}=_0x1744e9['targetCellInfo'];_0x1b50c6===_0x4c5af7[_0x4c1496(0x224)]&&_0x2ee1fc===_0x4c5af7['subUnitId']&&(_0x2a5168[_0x45a498+'-'+_0xbd3472]=_0xe8b906);}return _0x13fc88&&_0x4c5af7&&_0x13fc88[_0x4c1496(0x3c9)](_0x477892=>{const _0x20f4f9=_0x4c1496;_0x330e7d[_0x20f4f9(0x2e8)](_0x477892,(_0x35a57e,_0x4278be)=>{const _0x356582=_0x20f4f9,_0x9b8f0e=_0x35a57e+'-'+_0x4278be;if(_0x2a5168[_0x9b8f0e]){const _0x11ed55=_0x2a5168[_0x9b8f0e];_0x572c5c[_0x356582(0x249)]({'id':Et['id'],'params':{'unitId':_0xc54452,'subUnitId':_0x1371dd,'pivotTableId':_0x11ed55}});const _0x5f1417=this['_sheetsPivotTableConfigModel'][_0x356582(0x23d)](_0xc54452,_0x11ed55),_0x53a23a=this[_0x356582(0x20b)][_0x356582(0x247)](_0xc54452,_0x1371dd,_0x11ed55);_0x26b074[_0x356582(0x249)]({'id':Ct['id'],'params':{'unitId':_0xc54452,'subUnitId':_0x1371dd,'pivotTableId':_0x11ed55,'pivotTableConfig':_0x53a23a,'collectionConfig':_0x5f1417}});}});}),{'redos':_0x572c5c,'undos':_0x26b074};}return{'redos':[],'undos':[]};}}));}};ct=Bs([_t(0x0,_0x4ababf),_t(0x1,_0x48d3dc(_0x50cdf6)),_t(0x2,_0x48d3dc(_0x3c5fec)),_t(0x3,_0x48d3dc(he))],ct);var As=Object['getOwnPropertyDescriptor'],Hs=(_0x19998f,_0x16d301,_0x553f26,_0x384028)=>{const _0x465b58=_0x2547f2;for(var _0x30839b=_0x384028>0x1?void 0x0:_0x384028?As(_0x16d301,_0x553f26):_0x16d301,_0x643cc6=_0x19998f[_0x465b58(0x1f7)]-0x1,_0x113713;_0x643cc6>=0x0;_0x643cc6--)(_0x113713=_0x19998f[_0x643cc6])&&(_0x30839b=_0x113713(_0x30839b)||_0x30839b);return _0x30839b;},We=(_0xda075b,_0x115d3f)=>(_0x51035f,_0x1b08a4)=>_0x115d3f(_0x51035f,_0x1b08a4,_0xda075b);let ut=class extends _0x3ffe8d{constructor(_0x2118b3,_0x394933,_0x424025,_0x51dad8,_0x11abcf,_0x25a1c1){const _0x21adfc=_0x2547f2;super(),this[_0x21adfc(0x37d)]=_0x2118b3,this[_0x21adfc(0x3de)]=_0x394933,this['_injector']=_0x424025,this[_0x21adfc(0x261)]=_0x51dad8,this[_0x21adfc(0x20b)]=_0x11abcf,this[_0x21adfc(0x21a)]=_0x25a1c1,this[_0x21adfc(0x333)]();}[_0x2547f2(0x248)](_0x4bd495,_0x4cc814,_0x174d90){const _0x510404=_0x2547f2,{pageView:_0x570e84,cornerView:_0x487c58,rowView:_0x1408f5,colView:_0x3096ea,dataView:_0x1653b1}=_0x4cc814,_0x48cf1f=_0x4bd495;let _0x405878;if(_0x174d90)_0x405878=[...Bi(_0x48cf1f)];else{const _0x4f2ca2=ge(_0x48cf1f,_0x570e84,!0x0),_0x29d078=_0x570e84[_0x510404(0x24c)]>=0x0?_0x570e84[_0x510404(0x24c)]+0x1:0x0,_0xb79ff1=_0x487c58[_0x510404(0x2cf)],_0x300223=_0x487c58['colCount'],_0x20f108=_0x4f2ca2[_0x510404(0x1f7)]>0x0?It:0x0,_0x5c6109=ge({'row':_0x48cf1f[_0x510404(0x2db)]+_0x29d078+_0x20f108,'col':_0x48cf1f['col']},_0x487c58,!0x1,!0x1),_0x5d00e5=ge({'row':_0x48cf1f['row']+_0x29d078+_0x20f108+_0xb79ff1,'col':_0x48cf1f[_0x510404(0x2f3)]},_0x1408f5,!0x1,!0x0),_0x535c23=ge({'row':_0x48cf1f[_0x510404(0x2db)]+_0x29d078+_0x20f108,'col':_0x48cf1f[_0x510404(0x2f3)]+_0x300223},_0x3096ea,!0x1,!0x0),_0x32c22b=ge({'row':_0x48cf1f[_0x510404(0x2db)]+_0x29d078+_0x20f108+_0xb79ff1,'col':_0x48cf1f[_0x510404(0x2f3)]+_0x300223},_0x1653b1,!0x1,!0x0);_0x405878=[..._0x4f2ca2,..._0x5c6109,..._0x5d00e5,..._0x535c23,..._0x32c22b];}return _0x405878;}[_0x2547f2(0x333)](){const _0x3ec021=_0x2547f2;this[_0x3ec021(0x2f6)](this[_0x3ec021(0x21a)]['interceptor']['intercept'](this['_sheetsPivotTableService'][_0x3ec021(0x36c)][_0x3ec021(0x432)]()[_0x3ec021(0x3b2)],{'handler':(_0x49be7b,_0x4b0a12)=>{const _0x145a28=_0x3ec021,{cellInfo:_0x4ad174,view:_0x3a07d1,isEmpty:_0x33950f}=_0x4b0a12,_0x162034=_0x4ad174,{unitId:_0x2360d7,subUnitId:_0xef6fd0}=_0x162034,_0x167f54=this['_getPivotAppliedRanges'](_0x4ad174,_0x3a07d1,_0x33950f),_0x1b5e54=this['_sheetInterceptorService'][_0x145a28(0x234)]({'unitId':_0x2360d7,'subUnitId':_0xef6fd0,'ranges':_0x167f54}),_0x3ce5dd=Go(this[_0x145a28(0x371)],_0x2360d7,_0xef6fd0,_0x167f54);_0x3ce5dd[_0x145a28(0x1ee)]&&(_0x1b5e54[_0x145a28(0x35b)][_0x145a28(0x249)](_0x3ce5dd[_0x145a28(0x3b0)]),_0x1b5e54[_0x145a28(0x323)]['push'](_0x3ce5dd[_0x145a28(0x213)]));const _0xa93c5a=this[_0x145a28(0x2aa)](_0x3a07d1,_0x4ad174);return _0x1b5e54[_0x145a28(0x35b)][_0x145a28(0x249)](..._0xa93c5a[_0x145a28(0x35b)]),_0x1b5e54[_0x145a28(0x323)][_0x145a28(0x249)](..._0xa93c5a[_0x145a28(0x323)]),{'redos':_0x1b5e54[_0x145a28(0x35b)],'undos':_0x1b5e54[_0x145a28(0x323)]};}}));}[_0x2547f2(0x2aa)](_0x2c4015,_0x15435a){const _0x3b2ba1=_0x2547f2,{col:_0x63831a,unitId:_0x5213f7,subUnitId:_0x59c86e}=_0x15435a,_0x4cdfce=[],_0x36c49b=[],_0x32ed2b=_0x1fc14d(this['_univerInstanceService'],{'unitId':_0x5213f7,'subUnitId':_0x59c86e});if(!_0x15435a||!_0x2c4015||!_0x32ed2b)return{'undos':_0x36c49b,'redos':_0x4cdfce};const _0x2b6548=this[_0x3b2ba1(0x20b)][_0x3b2ba1(0x200)](),{colView:_0x4cf2e1,dataView:_0x14bb9d,cornerView:_0x5553a3,rowView:_0x25bfb5,formatMap:_0x2dd275}=_0x2c4015,_0x5a827c=To(_0x4cf2e1,_0x2b6548,!0x0,_0x2dd275),_0xa51f8b=To(_0x25bfb5,_0x2b6548,!0x1,_0x2dd275),_0x3b1b24=Li(_0x14bb9d),_0x577fb9=Ki(_0x5553a3),{worksheet:_0xf27cce}=_0x32ed2b;if(typeof window<'u'&&window[_0x3b2ba1(0x3ed)]){const _0xa457ba=_0x9586bc({...fe[_0x3b2ba1(0x3a3)]}),_0x1636e8=_0x8e062d[_0x3b2ba1(0x29b)](_0x5a827c,_0xa457ba)[_0x3b2ba1(0x3ca)]+0x10,_0x50482f=_0x8e062d[_0x3b2ba1(0x29b)](_0x3b1b24,_0xa457ba)[_0x3b2ba1(0x3ca)],_0x226e76=Math[_0x3b2ba1(0x1dd)](Math[_0x3b2ba1(0x240)](_0x1636e8,_0x50482f))+0x10,_0x4158f4=Math[_0x3b2ba1(0x1dd)](_0x8e062d[_0x3b2ba1(0x29b)](_0xa51f8b,_0xa457ba)[_0x3b2ba1(0x3ca)]),_0x503fbd=Math[_0x3b2ba1(0x1dd)](_0x8e062d['getTextSize'](_0x577fb9,_0xa457ba)[_0x3b2ba1(0x3ca)]),_0xaccd8f=Math[_0x3b2ba1(0x240)](_0x4158f4,_0x503fbd,0x28)+0xc,_0xa537d4=_0x4cf2e1[_0x3b2ba1(0x3a6)]+_0x5553a3[_0x3b2ba1(0x3a6)],_0x45d64c={},_0xf276af={};for(let _0x15a912=_0x63831a;_0x15a912<_0x63831a+_0xa537d4;_0x15a912++){const _0xe5938a=_0xf27cce[_0x3b2ba1(0x347)](_0x15a912);_0x45d64c[_0x15a912]=_0xe5938a,_0x15a912-_0x63831a<_0x5553a3['colCount']?_0xf276af[_0x15a912-_0x63831a]=_0xaccd8f:_0xf276af[_0x15a912-_0x63831a]=_0x226e76;}_0x4cdfce[_0x3b2ba1(0x249)]({'id':_0x1bfefb['id'],'params':{'subUnitId':_0x59c86e,'unitId':_0x5213f7,'ranges':[{'startColumn':_0x63831a,'endColumn':_0x63831a+_0xa537d4-0x1,'startRow':0x0,'endRow':_0xf27cce[_0x3b2ba1(0x292)]()-0x1}],'colWidth':_0xf276af}}),_0x36c49b[_0x3b2ba1(0x249)]({'id':_0x1bfefb['id'],'params':{'subUnitId':_0x59c86e,'unitId':_0x5213f7,'ranges':[{'startColumn':_0x63831a,'endColumn':_0x63831a+_0xa537d4-0x1,'startRow':0x0,'endRow':_0xf27cce['getRowCount']()-0x1}],'colWidth':_0x45d64c}});}return{'undos':_0x36c49b,'redos':_0x4cdfce};}};ut=Hs([We(0x0,_0x48d3dc(_0x209ec2)),We(0x1,_0x48d3dc(_0x50cdf6)),We(0x2,_0x48d3dc(_0x43a13d)),We(0x3,_0x48d3dc(_0x4ababf)),We(0x4,_0x48d3dc(he)),We(0x5,_0x48d3dc(ie))],ut);var Ls=Object[_0x2547f2(0x239)],Ks=(_0x4fa7c2,_0x2db742,_0x26da8d,_0x65fbd2)=>{for(var _0xdfb7fa=_0x65fbd2>0x1?void 0x0:_0x65fbd2?Ls(_0x2db742,_0x26da8d):_0x2db742,_0x119503=_0x4fa7c2['length']-0x1,_0x1b7013;_0x119503>=0x0;_0x119503--)(_0x1b7013=_0x4fa7c2[_0x119503])&&(_0xdfb7fa=_0x1b7013(_0xdfb7fa)||_0xdfb7fa);return _0xdfb7fa;},Be=(_0x1ea842,_0x1ef464)=>(_0xfcb84e,_0x3f28cb)=>_0x1ef464(_0xfcb84e,_0x3f28cb,_0x1ea842);let ft=class extends _0x3ffe8d{constructor(_0x53346f,_0x1e5347,_0x16e3ef,_0x1321bb,_0x540351,_0x589d6f,_0x12f944){const _0x132c88=_0x2547f2;super(),x(this,'disposableCollection',new _0x5cb9d3()),(this[_0x132c88(0x371)]=_0x53346f,this[_0x132c88(0x280)]=_0x1e5347,this[_0x132c88(0x2e0)]=_0x16e3ef,this['_univerInstanceService']=_0x1321bb,this[_0x132c88(0x20b)]=_0x540351,this[_0x132c88(0x1e3)]=_0x589d6f,this[_0x132c88(0x3de)]=_0x12f944,this[_0x132c88(0x439)]());}[_0x2547f2(0x439)](){const _0x5999cf=_0x2547f2,_0x13c516=(_0x54994b,_0x572384)=>{const _0x293f1a=_0x4326,_0x57f7c7=this[_0x293f1a(0x261)][_0x293f1a(0x2ee)](_0x4d32aa['UNIVER_SHEET']);if(!_0x57f7c7||!(_0x57f7c7==null?void 0x0:_0x57f7c7[_0x293f1a(0x226)](_0x572384)))return;this[_0x293f1a(0x1db)]['dispose']();const _0x4712d4=_0x4e3184=>this['_refRangeHandle'](_0x4e3184,_0x54994b,_0x572384),_0x215ee3=this[_0x293f1a(0x20b)][_0x293f1a(0x28f)](_0x54994b,_0x572384);if(!(_0x215ee3!=null&&_0x215ee3[_0x293f1a(0x42a)]))return;Array[_0x293f1a(0x220)](_0x215ee3['values']())[_0x293f1a(0x229)](_0x333558=>{const _0x4e4193=_0x293f1a,{row:_0x33c29a,col:_0x4f2279}=_0x333558[_0x4e4193(0x422)];return _0x4934f2(_0x33c29a,_0x4f2279);})[_0x293f1a(0x3c9)](_0x49c29f=>{const _0x4ee8fe=_0x293f1a;this[_0x4ee8fe(0x1db)]['add'](this[_0x4ee8fe(0x280)][_0x4ee8fe(0x2da)](_0x49c29f,_0x4712d4,_0x54994b,_0x572384));});},_0x323f10=()=>{const _0x1cb504=_0x4326,_0x10dde6=this['_univerInstanceService']['getCurrentUnitForType'](_0x4d32aa['UNIVER_SHEET']);if(_0x10dde6){const _0x37123d=_0x10dde6[_0x1cb504(0x3eb)]();if(!_0x37123d)return;_0x13c516(_0x10dde6[_0x1cb504(0x374)](),_0x37123d[_0x1cb504(0x277)]());}};this['disposeWithMe'](this[_0x5999cf(0x2e0)]['onCommandExecuted'](_0x247be7=>{const _0x1b96e1=_0x5999cf;if(_0x247be7['id']===_0x267a87['id']){const _0x2b0dcc=_0x247be7['params'],_0x474ee2=_0x2b0dcc[_0x1b96e1(0x1e9)],_0x2cc94b=_0x2b0dcc[_0x1b96e1(0x224)];if(!_0x474ee2||!_0x2cc94b)return;_0x13c516(_0x2cc94b,_0x474ee2);}})),this[_0x5999cf(0x2f6)](this[_0x5999cf(0x20b)][_0x5999cf(0x40d)][_0x5999cf(0x360)](_0x299205=>{_0x299205&&_0x323f10();})),this[_0x5999cf(0x2f6)](this[_0x5999cf(0x20b)]['pivotConfigChange$']['subscribe'](_0x5d0217=>{const _0x1e2f53=_0x5999cf,_0x551060=_0x1fc14d(this[_0x1e2f53(0x261)]);if(!_0x551060)return;const {unitId:_0x594005,subUnitId:_0x471ee6}=_0x551060,{unitId:_0x4735c3,subUnitId:_0x71c573}=_0x5d0217;_0x594005!==_0x4735c3||_0x471ee6!==_0x71c573||_0x13c516(_0x594005,_0x471ee6);})),_0x323f10();}['_refRangeHandle'](_0x3c898a,_0x27549d,_0x52c78e){const _0x24aad0=_0x2547f2;switch(_0x3c898a['id']){case _0x4a4049['id']:return this[_0x24aad0(0x32d)](_0x3c898a[_0x24aad0(0x2b4)],_0x27549d,_0x52c78e);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x539260,_0x258a0d,_0xd4be7f){const _0x493ae9=_0x2547f2,{fromRange:_0x357262,toRange:_0x5abfef}=_0x539260,_0x4eadae=[],_0x305ac3=[],_0x17aca9=_0x1fc14d(this[_0x493ae9(0x261)]);if(!_0x17aca9)return{'undos':_0x305ac3,'redos':_0x4eadae};if(_0x258a0d!==_0x17aca9[_0x493ae9(0x224)]||_0xd4be7f!==_0x17aca9['subUnitId'])return{'undos':_0x305ac3,'redos':_0x4eadae};const _0x4e7402=this[_0x493ae9(0x20b)][_0x493ae9(0x28f)](_0x258a0d,_0xd4be7f);if(_0x4e7402!=null&&_0x4e7402['size'])for(const [_0x28fc46,_0x146024]of _0x4e7402){const {unitId:_0x328b8a,subUnitId:_0x7db467,row:_0x134277,col:_0x5abad4}=_0x146024[_0x493ae9(0x422)];if(_0x328b8a===_0x17aca9[_0x493ae9(0x224)]&&_0x7db467===_0x17aca9[_0x493ae9(0x1e9)]){const _0xde795a=_0x4934f2(_0x134277,_0x5abad4);if(_0x3c2f0c['intersects'](_0xde795a,_0x357262)){const _0x1fd953=_0x134277-_0x357262[_0x493ae9(0x438)],_0x49fd21=_0x5abad4-_0x357262[_0x493ae9(0x303)],_0x2a92fc={'row':_0x5abfef['startRow']+_0x1fd953,'col':_0x5abfef[_0x493ae9(0x303)]+_0x49fd21};_0x4eadae[_0x493ae9(0x249)]({'id':pt['id'],'params':{'unitId':_0x328b8a,'subUnitId':_0x7db467,'pivotTableId':_0x28fc46,'targetCellPosition':_0x2a92fc}}),_0x305ac3[_0x493ae9(0x249)]({'id':pt['id'],'params':{'unitId':_0x328b8a,'subUnitId':_0x7db467,'pivotTableId':_0x28fc46,'targetCellPosition':{'row':_0x134277,'col':_0x5abad4}}});const _0x3fb715=_0x2a92fc[_0x493ae9(0x2db)]-_0x134277,_0x338bf6=_0x2a92fc[_0x493ae9(0x2f3)]-_0x5abad4,_0x43b1e9=[],_0x932f47=this[_0x493ae9(0x1e3)][_0x493ae9(0x271)](_0x328b8a,_0x7db467,_0x28fc46),_0x146e87=_0x932f47==null?void 0x0:_0x932f47[_0x493ae9(0x364)];if(_0x146e87){Object[_0x493ae9(0x420)](_0x146e87)['forEach'](_0x1cdbfc=>{_0x146e87[_0x1cdbfc]['forEach'](_0x42071b=>{const _0x38e10d=_0x4326,_0x3c8d45={..._0x42071b};_0x3c8d45[_0x38e10d(0x438)]=_0x42071b['startRow']+_0x3fb715,_0x3c8d45[_0x38e10d(0x228)]=_0x42071b[_0x38e10d(0x228)]+_0x3fb715,_0x3c8d45[_0x38e10d(0x303)]=_0x42071b[_0x38e10d(0x303)]+_0x338bf6,_0x3c8d45[_0x38e10d(0x238)]=_0x42071b[_0x38e10d(0x238)]+_0x338bf6,_0x43b1e9[_0x38e10d(0x249)](_0x3c8d45);});});const _0x13a27=this[_0x493ae9(0x3de)][_0x493ae9(0x234)]({'unitId':_0x328b8a,'subUnitId':_0x7db467,'ranges':_0x43b1e9});_0x4eadae[_0x493ae9(0x249)](..._0x13a27[_0x493ae9(0x35b)]),_0x305ac3[_0x493ae9(0x249)](..._0x13a27[_0x493ae9(0x323)]);const _0x168a06=Go(this['_injector'],_0x328b8a,_0x7db467,_0x43b1e9);_0x168a06[_0x493ae9(0x1ee)]&&(_0x4eadae[_0x493ae9(0x249)](_0x168a06['setRangeValueRedoMutation']),_0x305ac3[_0x493ae9(0x249)](_0x168a06[_0x493ae9(0x213)]));}}}}return{'redos':_0x4eadae,'undos':_0x305ac3};}};ft=Ks([Be(0x0,_0x48d3dc(_0x43a13d)),Be(0x1,_0x48d3dc(_0x4ea1c2)),Be(0x2,_0xeb8ce6),Be(0x3,_0x4ababf),Be(0x4,_0x48d3dc(he)),Be(0x5,_0x48d3dc(Ne)),Be(0x6,_0x48d3dc(_0x50cdf6))],ft);var Js=Object[_0x2547f2(0x239)],$s=(_0x152376,_0x1b51fb,_0x4e0fcb,_0x4c4b1f)=>{const _0x54eeb5=_0x2547f2;for(var _0x27a921=_0x4c4b1f>0x1?void 0x0:_0x4c4b1f?Js(_0x1b51fb,_0x4e0fcb):_0x1b51fb,_0x1b50b3=_0x152376[_0x54eeb5(0x1f7)]-0x1,_0xfb4556;_0x1b50b3>=0x0;_0x1b50b3--)(_0xfb4556=_0x152376[_0x1b50b3])&&(_0x27a921=_0xfb4556(_0x27a921)||_0x27a921);return _0x27a921;},_o=(_0x2a27d2,_0x3a69e5)=>(_0x1536e5,_0x594ee5)=>_0x3a69e5(_0x1536e5,_0x594ee5,_0x2a27d2);let gt=class extends _0x3ffe8d{constructor(_0x298e31,_0x1e2d6c){const _0x47169e=_0x2547f2;super(),this[_0x47169e(0x3de)]=_0x298e31,this[_0x47169e(0x20b)]=_0x1e2d6c,this['_initRemoveSheetCommandInterceptor']();}[_0x2547f2(0x42b)](){const _0x1d9f3a=_0x2547f2;this[_0x1d9f3a(0x2f6)](this['_sheetInterceptorService'][_0x1d9f3a(0x21f)]({'getMutations':_0x3e5041=>{const _0x2dbacd=_0x1d9f3a;if(_0x3e5041['id']===_0x4664ba['id']){const _0x397647=[],_0x466ade=[],_0x309a31=_0x3e5041[_0x2dbacd(0x2b4)],{unitId:_0x41e64c,subUnitId:_0x5dfb50}=_0x309a31;if(!_0x41e64c||!_0x5dfb50)return{'undos':_0x466ade,'redos':_0x397647};const _0x1be2fb=this[_0x2dbacd(0x20b)][_0x2dbacd(0x28f)](_0x41e64c,_0x5dfb50);if(_0x1be2fb!=null&&_0x1be2fb['size'])for(const [_0x367df7,_0x3bd6b4]of _0x1be2fb){_0x397647[_0x2dbacd(0x249)]({'id':Et['id'],'params':{'unitId':_0x41e64c,'subUnitId':_0x5dfb50,'pivotTableId':_0x367df7}});const _0x32c934={...this[_0x2dbacd(0x20b)][_0x2dbacd(0x23d)](_0x41e64c,_0x367df7)};_0x466ade[_0x2dbacd(0x249)]({'id':Ct['id'],'params':{'unitId':_0x41e64c,'subUnitId':_0x5dfb50,'pivotTableId':_0x367df7,'pivotTableConfig':_0x3bd6b4,'collectionConfig':_0x32c934}});}return{'redos':_0x397647,'undos':_0x466ade};}return{'redos':[],'undos':[]};}}));}};gt=$s([_o(0x0,_0x48d3dc(_0x50cdf6)),_o(0x1,_0x48d3dc(he))],gt);var Qs=Object[_0x2547f2(0x239)],js=(_0x94584d,_0x24b369,_0x3bfa36,_0x13c8cc)=>{const _0x1cccd3=_0x2547f2;for(var _0x1ab1d2=_0x13c8cc>0x1?void 0x0:_0x13c8cc?Qs(_0x24b369,_0x3bfa36):_0x24b369,_0x54f73a=_0x94584d[_0x1cccd3(0x1f7)]-0x1,_0x760c0d;_0x54f73a>=0x0;_0x54f73a--)(_0x760c0d=_0x94584d[_0x54f73a])&&(_0x1ab1d2=_0x760c0d(_0x1ab1d2)||_0x1ab1d2);return _0x1ab1d2;},Ze=(_0x42c1db,_0x398639)=>(_0x52ca5b,_0x145049)=>_0x398639(_0x52ca5b,_0x145049,_0x42c1db);let vt=class extends _0x3ffe8d{constructor(_0x2ff22b,_0x32d336,_0x32e356,_0x164a4d,_0x1d5a75,_0x286f09){const _0x538fd0=_0x2547f2;super(),this[_0x538fd0(0x2e0)]=_0x2ff22b,this[_0x538fd0(0x209)]=_0x32d336,this[_0x538fd0(0x1e3)]=_0x32e356,this['_sheetsPivotTableConfigModel']=_0x164a4d,this[_0x538fd0(0x261)]=_0x1d5a75,this[_0x538fd0(0x42c)]=_0x286f09,this[_0x538fd0(0x437)](),this[_0x538fd0(0x3cb)]();}[_0x2547f2(0x437)](){const _0x99299f=_0x2547f2;this[_0x99299f(0x2f6)](this[_0x99299f(0x2e0)]['onCommandExecuted'](_0x301266=>{const _0x4add90=_0x99299f;if(_0x301266['id']!==lo['id'])return;const _0x1b6921=_0x301266[_0x4add90(0x2b4)];this['_sheetsPivotRpcService'][_0x4add90(0x29f)](_0x1b6921);})),this['disposeWithMe'](this['_commandService'][_0x99299f(0x304)](_0x5f0a6b=>{const _0x156c55=_0x99299f;if(_0x5f0a6b['id']===co['id']){const _0x2204de=_0x5f0a6b[_0x156c55(0x2b4)];if(_0x2204de){const {unitId:_0x4accad,subUnitId:_0x78730d,oldSubUnitId:_0x5002c0,pivotTableId:_0x33a534,pivotTableConfig:_0x55c2ea,collectionConfig:_0x26c23c}=_0x2204de;this[_0x156c55(0x20b)][_0x156c55(0x282)](_0x4accad,_0x5002c0,_0x2204de[_0x156c55(0x1e1)],null),this[_0x156c55(0x20b)][_0x156c55(0x282)](_0x4accad,_0x78730d,_0x33a534,_0x55c2ea),this['_sheetsPivotTableConfigModel'][_0x156c55(0x26c)](_0x4accad,_0x26c23c);}}})),this[_0x99299f(0x2f6)](this[_0x99299f(0x2e0)]['onCommandExecuted'](_0x338a72=>{const _0x58bd62=_0x99299f;if(_0x338a72['id']!==Dt['id'])return;const _0x95bc50=_0x1fc14d(this['_univerInstanceService']);if(!_0x95bc50)return;const {unitId:_0x1ef2fa,subUnitId:_0x59aad1}=_0x95bc50,_0x72e450=_0x338a72['params'];if(_0x72e450[_0x58bd62(0x24d)]&&Object[_0x58bd62(0x420)](_0x72e450[_0x58bd62(0x24d)])[_0x58bd62(0x3c9)](_0x5c3285=>{const _0x4d15c3=_0x58bd62;var _0x2fd9e4;(_0x2fd9e4=_0x72e450[_0x4d15c3(0x24d)])!=null&&_0x2fd9e4[_0x5c3285]&&this[_0x4d15c3(0x20b)][_0x4d15c3(0x26c)](_0x5c3285,_0x72e450['collectionConfig'][_0x5c3285]);}),_0x72e450[_0x58bd62(0x1ea)]){const _0x53dd52=_0x72e450[_0x58bd62(0x1ea)],{unitId:_0xee66c8,subUnitId:_0x2e2027,view:_0x2d21e5,pivotTableId:_0xe82f8f,type:_0x27b40c,pivotConfig:_0xe9cba6}=_0x53dd52;if(_0x27b40c===L[_0x58bd62(0x28c)])this[_0x58bd62(0x1e3)][_0x58bd62(0x1ff)]({'unitId':_0xee66c8,'subUnitId':_0x2e2027,'pivotTableId':_0xe82f8f,'type':_0x27b40c}),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0xee66c8,_0x2e2027,_0xe82f8f,null);else{const _0x509ddd=new _0x561c81();_0x509ddd[_0x58bd62(0x27e)](_0x2d21e5),this[_0x58bd62(0x20b)][_0x58bd62(0x282)](_0xee66c8,_0x2e2027,_0xe82f8f,_0xe9cba6),this[_0x58bd62(0x1e3)][_0x58bd62(0x1ff)]({'unitId':_0xee66c8,'subUnitId':_0x2e2027,'pivotTableId':_0xe82f8f,'type':_0x27b40c,'view':_0x509ddd}),this[_0x58bd62(0x1e3)]['updateRenderCache']({'unitId':_0xee66c8,'subUnitId':_0x2e2027,'view':_0x509ddd,'pivotTableId':_0xe82f8f,'type':_0x27b40c});}}else _0x72e450[_0x58bd62(0x2b1)]&&(_0x72e450[_0x58bd62(0x2b1)][_0x58bd62(0x3c9)](_0x471d18=>{const _0x566729=_0x58bd62,{unitId:_0x5756f3,subUnitId:_0x142717,view:_0x568a27,pivotTableId:_0x4b88df,type:_0x21d55f,pivotConfig:_0x4aaa64}=_0x471d18,_0x36bfc2=new _0x561c81();_0x36bfc2[_0x566729(0x27e)](_0x568a27),this['_sheetsPivotTableConfigModel'][_0x566729(0x282)](_0x5756f3,_0x142717,_0x4b88df,_0x4aaa64),this['_sheetsPivotTableAdaptorModel'][_0x566729(0x3c3)]({'unitId':_0x5756f3,'subUnitId':_0x142717,'view':_0x36bfc2,'pivotTableId':_0x4b88df,'type':_0x21d55f});}),this['_sheetsPivotTableConfigModel'][_0x58bd62(0x39e)]());this[_0x58bd62(0x1e3)]['markDirty'](_0x1ef2fa,_0x59aad1);}));}[_0x2547f2(0x3cb)](){const _0x64c1ce=_0x2547f2;this[_0x64c1ce(0x42c)]['register'](Ut['id'],{'commandId':Ut['id'],'getDirtyData'(_0x9e1e8f){const _0x8ce6df=_0x64c1ce;return{'dirtyUnitFeatureMap':_0x9e1e8f[_0x8ce6df(0x2b4)]};}});}};vt=js([Ze(0x0,_0x48d3dc(_0xeb8ce6)),Ze(0x1,_0x48d3dc(X)),Ze(0x2,_0x48d3dc(Ne)),Ze(0x3,_0x48d3dc(he)),Ze(0x4,_0x48d3dc(_0x4ababf)),Ze(0x5,_0x30a35d)],vt);var Gs=Object['defineProperty'],Ws=Object[_0x2547f2(0x239)],Zs=(_0x53fcdb,_0xce5d2,_0x2a41e6)=>_0xce5d2 in _0x53fcdb?Gs(_0x53fcdb,_0xce5d2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a41e6}):_0x53fcdb[_0xce5d2]=_0x2a41e6,qs=(_0x3f48a6,_0x11636f,_0x515cd6,_0x1e2243)=>{for(var _0x504c4d=_0x1e2243>0x1?void 0x0:_0x1e2243?Ws(_0x11636f,_0x515cd6):_0x11636f,_0x15370c=_0x3f48a6['length']-0x1,_0x1b36d9;_0x15370c>=0x0;_0x15370c--)(_0x1b36d9=_0x3f48a6[_0x15370c])&&(_0x504c4d=_0x1b36d9(_0x504c4d)||_0x504c4d);return _0x504c4d;},Ft=(_0x13e6b8,_0x2771cc)=>(_0xb6b066,_0x5ea8ec)=>_0x2771cc(_0xb6b066,_0x5ea8ec,_0x13e6b8),zo=(_0x2b562c,_0x5c2166,_0x4270a7)=>Zs(_0x2b562c,typeof _0x5c2166!=_0x2547f2(0x2be)?_0x5c2166+'':_0x5c2166,_0x4270a7);let xt=class extends _0x581f28{constructor(_0x26cd8c=Mo,_0x3848f1,_0x2135a6,_0x46e47c,_0x26b526){const _0x40e4c1=_0x2547f2;super(),this[_0x40e4c1(0x269)]=_0x26cd8c,this[_0x40e4c1(0x371)]=_0x3848f1,this['_commandService']=_0x2135a6,this[_0x40e4c1(0x25d)]=_0x46e47c,this[_0x40e4c1(0x335)]=_0x26b526;const {..._0x45c88e}=_0x102950({},Mo,this[_0x40e4c1(0x269)]);this[_0x40e4c1(0x25d)][_0x40e4c1(0x329)](Zo,_0x45c88e),this[_0x40e4c1(0x257)](),this[_0x40e4c1(0x3ce)]();}['_initConfig'](){const _0x234e3f=_0x2547f2;var _0x2a7f9d;const _0x5905d7=(_0x2a7f9d=this[_0x234e3f(0x269)])==null?void 0x0:_0x2a7f9d[_0x234e3f(0x443)];this[_0x234e3f(0x25d)][_0x234e3f(0x329)](W,_0x5905d7===!0x0);}[_0x2547f2(0x414)](){const _0x184515=_0x2547f2;var _0x5949b1;let _0x13d4c1=[];const _0x2d8d4c=(_0x5949b1=this['_config'])==null?void 0x0:_0x5949b1[_0x184515(0x443)];_0x2d8d4c===!0x0?_0x13d4c1=[[ie],[X],[vt],[Ne],[he],[gt],[ct],[ft],[ut]]:_0x2d8d4c===!0x1?_0x13d4c1=[[K],[dt]]:_0x2d8d4c===void 0x0&&(_0x13d4c1=[[K],[dt],[ie],[X],[vt],[Ne],[he],[gt],[ct],[ft],[ut]]),_0x13d4c1[_0x184515(0x3c9)](_0x1343c9=>this[_0x184515(0x371)][_0x184515(0x22f)](_0x1343c9)),[dt,vt,ie,ct,gt,ft,ut][_0x184515(0x3c9)](_0x485fc7=>{const _0x1707ad=_0x184515;this[_0x1707ad(0x371)][_0x1707ad(0x28e)](_0x485fc7)&&this['_injector']['get'](_0x485fc7);});}['_initRegisterCommand'](){const _0x5da7a8=_0x2547f2;[hs,ps,vs,ms,Cs,ys,Ds,bs,Ps,Ss,Ts,Ms,ws,Is,Ct,oo,Et,Kt,qo,Yo,Gt,Jt,$t,Qt,Zt,Wt,pt,ro,lo,Dt,zt,eo,qt,jt,uo,to,Xt,Ut,co,_s,Yt,Fs,Rs][_0x5da7a8(0x3c9)](_0x1ea9bf=>{const _0x5038ff=_0x5da7a8;var _0x5db5bb;(_0x5db5bb=this[_0x5038ff(0x335)])==null||_0x5db5bb['registerSyncingMutations'](_0x1ea9bf),this[_0x5038ff(0x2e0)][_0x5038ff(0x433)](_0x1ea9bf);});}};zo(xt,_0x2547f2(0x2a3),ao),zo(xt,_0x2547f2(0x2ae),_0x4d32aa[_0x2547f2(0x41e)]),xt=qs([_0x2babfb(_0x50813d),Ft(0x1,_0x48d3dc(_0x43a13d)),Ft(0x2,_0x48d3dc(_0xeb8ce6)),Ft(0x3,_0x376ed6),Ft(0x4,_0x4c30fa(_0x1aaa8a))],xt);export{vs as AddPivotFieldCommand,Kt 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,B as PivotDisplayDataType,Is as PivotDrillDownCommand,L as PivotTableOperationEnum,Ut as PivotTableViewDirtyMarkOperation,Ao as PositionType,Cs as RemovePivotFieldCommand,Jt as RemovePivotFieldMutation,Et as RemovePivotTableMutation,$t as RenamePivotFieldMutation,Rs as ResetPivotFieldsConfigCommand,Zo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,Qt as SetPivotCollapseMutation,jt as SetPivotFieldFormatMutation,Fs as SetPivotFieldsConfigCommand,Ss as SetPivotFilterCommand,Gt as SetPivotFilterMutation,Wt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ps as SetPivotSortCommand,Zt as SetPivotSortMutation,qt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Yt as SetPivotValueFilterMutation,K as SheetsPivotDataSourceModel,X as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,he as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,xt as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,zt as UpdateFieldPositionMutation,Ts as UpdatePivotFieldSettingCommand,Xt as UpdatePivotFieldSourceInfoMutation,Ms as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,ys as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,jo as canUsePivot,fe as defaultThemeStyle,Go as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Bi as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Ei as getPivotCellInfo,go as getPivotInfoByLicense,Oi as getPivotTableInfo,ht as transFromCellValue,Lt as unionPivotViewRange};