@univerjs-pro/sheets-pivot 0.10.1-nightly.202508020912 → 0.10.2-nightly.202508071209
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +43 -43
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/types/index.d.ts +36 -36
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3e64d8=_0x141d;(function(_0x12aba3,_0x572d42){const _0x557d48=_0x141d,_0x1859c7=_0x12aba3();while(!![]){try{const _0x247ad2=-parseInt(_0x557d48(0x29e))/0x1*(parseInt(_0x557d48(0x32c))/0x2)+parseInt(_0x557d48(0x331))/0x3+-parseInt(_0x557d48(0x15f))/0x4+-parseInt(_0x557d48(0x282))/0x5*(parseInt(_0x557d48(0x117))/0x6)+parseInt(_0x557d48(0x159))/0x7+-parseInt(_0x557d48(0x151))/0x8*(-parseInt(_0x557d48(0x262))/0x9)+parseInt(_0x557d48(0x147))/0xa*(parseInt(_0x557d48(0x2f0))/0xb);if(_0x247ad2===_0x572d42)break;else _0x1859c7['push'](_0x1859c7['shift']());}catch(_0x5ebac0){_0x1859c7['push'](_0x1859c7['shift']());}}}(_0x458c,0xf2ba9));var sn=Object[_0x3e64d8(0x2f6)],an=(_0x2044b8,_0x1601cb,_0x31e2bd)=>_0x1601cb in _0x2044b8?sn(_0x2044b8,_0x1601cb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31e2bd}):_0x2044b8[_0x1601cb]=_0x31e2bd,V=(_0x468e4f,_0x302a45,_0x2d95d4)=>an(_0x468e4f,typeof _0x302a45!='symbol'?_0x302a45+'':_0x302a45,_0x2d95d4);import{PivotCellStyleTypeEnum as _0x2ceb7a,PivotViewCellValueTypeEnum as _0x485151,isPrefixValue as _0x2b5b63,isErrorValue as _0x537346,PivotErrorTypeEnum as _0x386f17,PivotDateGroupFieldDateTypeEnum as _0x4b4fce,DataFieldManager as _0x20a600,FieldsCollection as _0x4ba63e,isDateValue as _0x3a6c8c,DataField as _0x14a95a,generateHexNumber as _0x6b8c21,isBaseGroupField as _0xf5ac43,PivotTable as _0x1c5293,PivotSubtotalTypeEnum as _0x2ae972,PivotTableFiledAreaEnum as _0x5bb14c,excelDateToUnixMilliseconds as _0x6532fb,createValueField as _0x4fd228,createLabelField as _0x19df2b,PivotTableChangeTypeEnum as _0x107a7c,BaseGroupField as _0x3a7abb,PivotView as _0x7d4b1b,isDateGroupFieldJSON as _0x6861e6,PivotCallbackEnum as _0x3b65ab,PivotFilterTypeEnum as _0x578352,getAutoDisplayName as _0x42d109,PivotDataFieldDataTypeEnum as _0x161891,PivotTableValuePositionEnum as _0x1a7c94,isDateGroupField as _0x21063d,DateGroupField as _0x48fd7b}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x42af7f,ObjectMatrix as _0x2067c1,IUniverInstanceService as _0x4eff45,UniverInstanceType as _0x273a5e,CellValueType as _0x13b1fc,numfmt as _0x2d4f3d,LocaleService as _0x34afa6,createAsyncInterceptorKey as _0x198675,createInterceptorKey as _0x402567,CommandType as _0x1e552e,RANGE_TYPE as _0x391d1d,numberToABC as _0x2f4efc,Inject as _0x5e764c,Injector as _0x4a79fb,LifecycleService as _0x53e3f8,ICommandService as _0x56dc87,IResourceManagerService as _0x38cbb2,Disposable as _0x41248b,Rectangle as _0x5e2546,IConfigService as _0x1b9dd7,Tools as _0x4d403b,AsyncInterceptorManager as _0x5dc865,InterceptorManager as _0x5f0f7b,InterceptorEffectEnum as _0x46ae8e,CustomCommandExecutionError as _0x462fc5,IUndoRedoService as _0xaae365,sequenceExecute as _0x594e7c,mergeWorksheetSnapshotWithDefault as _0x4472ab,generateRandomId as _0x3f23a1,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x300091,DEFAULT_WORKSHEET_ROW_COUNT as _0x52a9f7,DisposableCollection as _0xd254f0,Range as _0x32c45e,DependentOn as _0xa5a44,Optional as _0x3c8be7,Plugin as _0x39cb72,merge as _0x45a86b}from'@univerjs/core';import{ErrorType as _0x2f552b,serializeRangeWithSpreadsheet as _0xb58f84,IFeatureCalculationManagerService as _0x43eff9,GlobalComputingStatusService as _0x14b9f2,IActiveDirtyManagerService as _0x43401c}from'@univerjs/engine-formula';import{generateNullCell as _0x2a217c,SetRangeValuesUndoMutationFactory as _0x52bcf3,SetRangeValuesMutation as _0x1f88a6,getSheetCommandTarget as _0x3a629a,InsertRowMutation as _0x20bd3b,RemoveRowMutation as _0x260841,InsertColMutation as _0x4d5485,RemoveColMutation as _0x1c8efe,IExclusiveRangeService as _0xf1fdac,SheetInterceptorService as _0x595b5e,INTERCEPTOR_POINT as _0x36bbf1,InsertSheetCommand as _0x23475d,InsertSheetUndoMutationFactory as _0x5769ca,RemoveSheetMutation as _0x206ea9,InsertSheetMutation as _0x24da71,MoveRangeMutation as _0x20e208,SheetsSelectionsService as _0x3cf03c,ClearSelectionContentCommand as _0x3914b7,ClearSelectionAllCommand as _0x3ec062,SetWorksheetColWidthMutation as _0x15cb3a,RefRangeService as _0x5463fa,SetWorksheetActiveOperation as _0x167c02,MoveRangeCommand as _0x581a37,RemoveSheetCommand as _0x61ec53}from'@univerjs/sheets';import{Subject as _0x37d4e0,BehaviorSubject as _0x3af789}from'rxjs';import{LS_CONFIG_KEY as _0x1eec45,unshiftString as _0x2f865f,isFeatureAuthorizedWithinTime as _0x2859f2,getSheetFeatureLimit as _0x345642,ReleaseType as _0x409f2c,UniverLicensePlugin as _0x214898}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x50d66f,RemoveSheetsFilterMutation as _0x445fce}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x11af54}from'@univerjs/rpc';import{getFontStyleString as _0x205650,FontCache as _0x4c6db8}from'@univerjs/engine-render';const Ao=Number['parseInt'](0x688dd73d),ri=0x10,so=0x1,ao='SHEET_PIVOT_TABLE_PLUGIN',mt=0x1,li=_0x3e64d8(0x33b),ci=_0x3e64d8(0x1a6),wt=_0x3e64d8(0x16e),di=_0x3e64d8(0x1d1),ui='#f4f4f5',fi='#eceeff',gi=_0x3e64d8(0x2e0),vi=_0x3e64d8(0xe9),hi=_0x3e64d8(0x18a),pi=_0x3e64d8(0x2e0),Ii=_0x3e64d8(0xe9),mi=_0x3e64d8(0x32b),Ci=0xe,bi=0x6;var ko=(_0x2a8464=>(_0x2a8464[_0x3e64d8(0x1d5)]=_0x3e64d8(0x206),_0x2a8464[_0x3e64d8(0x22d)]='new',_0x2a8464))(ko||{});const Bo={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Pi=0x1e,We={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':li},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':mi},'bd':We,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':pi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':We,'bg':{'rgb':hi},'vt':0x2},'cornerStyle':{'bd':We,'bg':{'rgb':fi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':We,'bg':{'rgb':di},'vt':0x2},'leafStyle':{'bd':We,'bg':{'rgb':ui},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':gi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':We,'vt':0x2}};function Si(_0x32288c,_0x111287,_0x177eea){const _0x298c8b=_0x3e64d8,_0x2819e3=_0x32288c[_0x298c8b(0x1f3)](_0x34afa6),_0x591c25=_0x177eea[_0x298c8b(0x234)]('_');switch(_0x111287){case _0x4b4fce['Year']:return _0x2819e3['t'](_0x298c8b(0x34b),..._0x591c25);case _0x4b4fce['Minute']:return _0x2819e3['t'](_0x298c8b(0x1d6),..._0x591c25);case _0x4b4fce['Hour']:return _0x2819e3['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x591c25);case _0x4b4fce[_0x298c8b(0x2b8)]:return _0x2819e3['t'](_0x298c8b(0x2fb),..._0x591c25);case _0x4b4fce[_0x298c8b(0x31d)]:return _0x2819e3['t'](_0x298c8b(0x342),..._0x591c25);case _0x4b4fce['Month']:return _0x2819e3['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x591c25);case _0x4b4fce[_0x298c8b(0x2d5)]:return _0x2819e3['t'](_0x298c8b(0x347),..._0x591c25);case _0x4b4fce['YearMonth']:return _0x2819e3['t'](_0x298c8b(0x1b1),..._0x591c25);case _0x4b4fce[_0x298c8b(0x228)]:return _0x2819e3['t'](_0x298c8b(0x333),..._0x591c25);case _0x4b4fce[_0x298c8b(0x34c)]:return _0x2819e3['t'](_0x298c8b(0x32e),..._0x591c25);}return'';}const tt=(_0x426af1,_0x3a60f1,_0x12b92f,_0x408d7c)=>{const _0x565b9c=_0x3e64d8;let _0x1f294f;const _0x5d434c=_0x426af1[_0x565b9c(0x1f3)](_0x4eff45)[_0x565b9c(0x18d)](_0x273a5e['UNIVER_SHEET']);if(!_0x5d434c)return null;const _0x2cfe8b=_0x5d434c['getStyles']();let _0x315a22;if(_0x12b92f&&(_0x315a22=_0x2cfe8b['setValue'](_0x12b92f)),_0x3a60f1!=null&&_0x3a60f1['v']||(_0x3a60f1==null?void 0x0:_0x3a60f1['v'])===0x0){_0x1f294f||(_0x1f294f={});const _0x4bfe66=Lo(_0x3a60f1['v']);typeof _0x4bfe66==_0x565b9c(0x336)?_0x1f294f['t']=_0x13b1fc[_0x565b9c(0x20f)]:typeof _0x4bfe66==_0x565b9c(0x1e0)&&(_0x1f294f['t']=_0x13b1fc[_0x565b9c(0x303)]),_0x1f294f['v']=_0x4bfe66;}if((_0x3a60f1!=null&&_0x3a60f1['i']||(_0x3a60f1==null?void 0x0:_0x3a60f1['i'])===0x0)&&(_0x1f294f||(_0x1f294f={}),_0x1f294f['fi']=_0x3a60f1['i']),_0x3a60f1!=null&&_0x3a60f1['s']&&(_0x1f294f||(_0x1f294f={}),_0x1f294f[_0x565b9c(0x2d4)]=_0x3a60f1['s']),_0x12b92f&&(_0x1f294f||(_0x1f294f={}),_0x1f294f['s']=_0x315a22),_0x408d7c&&_0x1f294f!=null&&_0x1f294f['v']&&_0x1f294f['pbt']!==_0x2ceb7a[_0x565b9c(0x121)]&&_0x1f294f['pbt']!==_0x2ceb7a[_0x565b9c(0x156)]){const _0x105680=String(_0x1f294f['v']),{dateType:_0x4d6d01}=_0x408d7c;_0x1f294f['v']=Si(_0x426af1,_0x4d6d01,_0x105680),_0x1f294f['t']=_0x13b1fc[_0x565b9c(0x303)];}return _0x1f294f;},Mi=(_0x577d2b,_0x50b73c,_0x1ab9ad,_0x3ed98)=>{const _0x243d01=_0x3e64d8;var _0x4486b9,_0x5e1546,_0x1a2f94,_0x29e06c,_0x2bff59,_0x5166d9,_0x2664b2,_0x4ef1b4,_0x1e43a8,_0x19db8c,_0x205c50,_0x1fd2a4,_0x423b73,_0xdc5c61;const _0x3e9977=_0x1ab9ad['targetCellInfo'],{cornerView:_0xfb2714,rowView:_0x345932,colView:_0x4062f9,dataView:_0x3ae1cb,pageView:_0x457627,formatMap:_0x45f6be,groupInfo:_0x5370e1}=_0x50b73c,{row:_0x10f726,col:_0x2f129d}=_0x3e9977,_0xd8c547=new _0x2067c1(),_0x556e38={},_0x3cbb61={},_0x834b43={},_0x535516={},_0x1afa88={};let _0x3537ed=_0x10f726,_0x4c4477=_0x2f129d;Object[_0x243d01(0x19b)](_0x457627[_0x243d01(0x274)])[_0x243d01(0x14a)](_0x2c7705=>{const _0x4458a1=_0x243d01;Object[_0x4458a1(0x19b)](_0x457627['data'][Number(_0x2c7705)])[_0x4458a1(0x14a)](_0x14a341=>{const _0x589dc4=_0x4458a1,_0x4e0592={..._0x457627['data'][Number(_0x2c7705)][Number(_0x14a341)]};_0xd8c547[_0x589dc4(0x1df)](Number(_0x2c7705)+_0x3537ed,Number(_0x14a341)+_0x4c4477,tt(_0x577d2b,_0x4e0592,fe[_0x589dc4(0x2d6)]));});});const _0x1c3119=Object[_0x243d01(0x19b)](_0x457627[_0x243d01(0x274)])[_0x243d01(0x169)];_0x3537ed+=_0x1c3119+(_0x1c3119?mt:0x0);const _0x4415ca=_0xfb2714[_0x243d01(0x240)](),_0x4b924e=_0xfb2714['getColCount']();for(let _0xa6d538=0x0;_0xa6d538<_0x4415ca;_0xa6d538++)for(let _0x131ef4=0x0;_0x131ef4<_0x4b924e;_0x131ef4++){const _0x290556={...(_0x5e1546=(_0x4486b9=_0xfb2714[_0x243d01(0x274)])==null?void 0x0:_0x4486b9[_0xa6d538])==null?void 0x0:_0x5e1546[_0x131ef4]};_0x290556&&((_0x1a2f94=_0x345932['headerMap'][_0x131ef4])!=null&&_0x1a2f94['isValue'])&&_0x131ef4===_0x4b924e-0x1&&_0xa6d538===_0x4415ca-0x1&&(_0x290556['v']=''+_0x3ed98[_0x243d01(0xd6)]),_0xd8c547[_0x243d01(0x1df)](_0xa6d538+_0x3537ed,_0x131ef4+_0x4c4477,tt(_0x577d2b,_0x290556,fe['cornerStyle']));}for(let _0xf9d7ac=0x0;_0xf9d7ac<_0xfb2714[_0x243d01(0x2c8)][_0x243d01(0x169)];_0xf9d7ac++)_0xfb2714[_0x243d01(0x2c8)][_0xf9d7ac]&&(_0x834b43[''+(_0xf9d7ac+_0x4c4477)]=_0xfb2714[_0x243d01(0x2c8)][_0xf9d7ac]);_0x4c4477+=_0x4b924e;const _0x5ac3a6=_0x4062f9[_0x243d01(0x1e3)],_0x26feb2=_0x4062f9[_0x243d01(0x2c0)]()>=0x0?_0x4062f9[_0x243d01(0x2c0)]()+0x1:0x0,_0x44209b=_0x4062f9['getLastCol']()>=0x0?_0x4062f9[_0x243d01(0x2eb)]()+0x1:0x0;for(let _0x440401=0x0;_0x440401<_0x44209b;_0x440401++){for(let _0x35e440=0x0;_0x35e440<_0x26feb2;_0x35e440++){const _0x5e6343={...(_0x2bff59=(_0x29e06c=_0x4062f9[_0x243d01(0x274)])==null?void 0x0:_0x29e06c[_0x35e440])==null?void 0x0:_0x2bff59[_0x440401]},_0x257155=(_0x5166d9=_0x5ac3a6[_0x35e440])==null?void 0x0:_0x5166d9[_0x243d01(0x298)],_0x4b5b35=_0x45f6be[_0x257155],_0x21c24e=_0x5370e1[_0x257155];_0x5e6343&&(_0x5e6343['v']=ht(_0x5e6343,_0x35e440===0x0&&((_0x2664b2=_0x4062f9[_0x243d01(0x1fb)](_0x440401+0x1))==null?void 0x0:_0x2664b2[_0x243d01(0x1c4)]),_0x4b5b35,_0x3ed98));let _0x592816;_0x4b5b35?_0x592816={...fe[_0x243d01(0x1a7)],'n':{'pattern':_0x4b5b35}}:_0x592816={...fe['colStyle']},_0xd8c547[_0x243d01(0x1df)](_0x35e440+_0x3537ed,_0x440401+_0x4c4477,tt(_0x577d2b,_0x5e6343,_0x592816,_0x21c24e));}_0x4062f9[_0x243d01(0x2c8)][_0x440401]&&(_0x3cbb61[''+(_0x440401+_0x4c4477)]=_0x4062f9[_0x243d01(0x2c8)][_0x440401]),_0x4062f9[_0x243d01(0x1e3)][_0x440401+0x1]&&(_0x1afa88[''+(_0x440401+_0x3537ed+0x1)]=_0x4062f9[_0x243d01(0x1e3)][_0x440401+0x1]);}_0x3537ed+=_0x4415ca;const _0x68aa46=_0x345932[_0x243d01(0x1e3)],_0x29ca20=_0x345932[_0x243d01(0x2c0)]()>=0x0?_0x345932[_0x243d01(0x2c0)]()+0x1:0x0,_0x45a2bc=_0x345932['getLastCol']()>=0x0?_0x345932[_0x243d01(0x2eb)]()+0x1:0x0;for(let _0x21332e=0x0;_0x21332e<_0x29ca20;_0x21332e++){for(let _0x3da090=0x0;_0x3da090<_0x45a2bc;_0x3da090++){const _0x7ee776={...(_0x1e43a8=(_0x4ef1b4=_0x345932['data'])==null?void 0x0:_0x4ef1b4[_0x21332e])==null?void 0x0:_0x1e43a8[_0x3da090]},_0xda81e9=(_0x19db8c=_0x68aa46[_0x3da090])==null?void 0x0:_0x19db8c[_0x243d01(0x298)],_0x3d6696=_0x45f6be[_0xda81e9],_0x51ae6b=_0x5370e1[_0xda81e9];_0x7ee776&&(_0x7ee776['v']=ht(_0x7ee776,!0x1,_0x3d6696,_0x3ed98));let _0x3f72bb;_0x345932['info'][_0x21332e][_0x243d01(0x27e)]===_0x345932[_0x243d01(0x1a9)]()?_0x3f72bb=fe[_0x243d01(0x294)]:_0x345932[_0x243d01(0x2c8)][_0x21332e][_0x243d01(0x195)]?_0x3f72bb=_0x345932[_0x243d01(0x2c8)][_0x21332e][_0x243d01(0x27e)]===0x0?fe['grandTotal']:fe[_0x243d01(0x332)]:_0x3f72bb=fe[_0x243d01(0x2da)],_0x3d6696&&(_0x3f72bb={..._0x3f72bb,'n':{'pattern':_0x3d6696}}),_0xd8c547[_0x243d01(0x1df)](_0x21332e+_0x3537ed,_0x3da090+_0x2f129d,tt(_0x577d2b,_0x7ee776,_0x3f72bb,_0x51ae6b));}_0x345932[_0x243d01(0x2c8)][_0x21332e]&&(_0x556e38[''+(_0x21332e+_0x3537ed)]=_0x345932['info'][_0x21332e]),_0x345932[_0x243d01(0x1e3)][_0x21332e]&&(_0x535516[''+(_0x21332e+_0x2f129d)]=_0x345932[_0x243d01(0x1e3)][_0x21332e]);}const _0x371aac=_0x3ae1cb[_0x243d01(0x240)](),_0x1bd128=_0x3ae1cb['getColCount']();for(let _0x5c5e84=0x0;_0x5c5e84<_0x371aac;_0x5c5e84++)for(let _0x2381fb=0x0;_0x2381fb<_0x1bd128;_0x2381fb++){const _0x23e7d8={...(_0x1fd2a4=(_0x205c50=_0x3ae1cb[_0x243d01(0x274)])==null?void 0x0:_0x205c50[_0x5c5e84])==null?void 0x0:_0x1fd2a4[_0x2381fb]};let _0x135847;_0x345932['info'][_0x5c5e84][_0x243d01(0x195)]?_0x135847=_0x345932[_0x243d01(0x2c8)][_0x5c5e84][_0x243d01(0x27e)]===0x0?fe[_0x243d01(0x34a)]:fe[_0x243d01(0x332)]:_0x135847=fe[_0x243d01(0x13f)];const _0x35ac0e=_0x345932[_0x243d01(0x2c8)][_0x5c5e84]['valueIndex'],_0x2b60a3=_0x4062f9['info'][_0x2381fb][_0x243d01(0x252)],_0x3aaada=Math[_0x243d01(0x343)](_0x35ac0e,_0x2b60a3),_0x4621bd=_0x1ab9ad[_0x243d01(0x31f)][_0x243d01(0x2b0)][_0x243d01(0x162)]();let _0x1df1c3='';_0x3aaada<0x0?_0x1df1c3=(_0x423b73=_0x4621bd[0x0])!=null?_0x423b73:'':_0x1df1c3=(_0xdc5c61=_0x4621bd[_0x3aaada])!=null?_0xdc5c61:'';const _0x1af556=_0x45f6be[_0x1df1c3];_0x1af556&&(_0x135847={..._0x135847,'n':{'pattern':_0x1af556}}),_0xd8c547[_0x243d01(0x1df)](_0x5c5e84+_0x3537ed,_0x2381fb+_0x4c4477,tt(_0x577d2b,_0x23e7d8,_0x135847));}return{'valueMatrix':_0xd8c547,'rowInfo':_0x556e38,'colInfo':_0x3cbb61,'cornerInfo':_0x834b43,'rowHeaderMap':_0x535516,'colHeaderMap':_0x1afa88};};function ht(_0xcc6427,_0xbc90f4,_0x41214c,_0x50067e){const _0x341f5c=_0x3e64d8;let _0x2c2fa3=_0xcc6427['v'];_0xbc90f4&&(_0x2c2fa3=''+_0x50067e['sheets-pivot.value']);const _0x55555c=_0xcc6427['t']&&(_0xcc6427['t']&_0x485151['blank'])>0x0;if(_0x55555c&&(_0x2c2fa3=''+_0x50067e[_0x341f5c(0x1ac)]),_0xcc6427['s']===_0x2ceb7a[_0x341f5c(0x156)]){let _0x1b43b9=_0x2c2fa3,_0x36e321='';_0x2b5b63(_0x2c2fa3)&&(_0x1b43b9=_0x2c2fa3['prefix'],_0x36e321=_0x2c2fa3['value']);const _0x3cd07a=_0x41214c&&!_0x55555c?_0x2d4f3d['format'](_0x41214c,Number(_0x1b43b9)):_0x1b43b9;_0x36e321?_0x2c2fa3=_0x3cd07a+'\x20'+_0x36e321:_0x2c2fa3=_0x3cd07a+'\x20'+_0x50067e[_0x341f5c(0x339)];}else _0xcc6427['s']===_0x2ceb7a[_0x341f5c(0x121)]&&(_0x2c2fa3=_0x2c2fa3+'\x20'+_0x50067e[_0x341f5c(0x2d0)]);return _0x2c2fa3;}function Lo(_0x23b5f2){const _0x3e3e1b=_0x3e64d8;if(_0x537346(_0x23b5f2)){const {errorType:_0x104487}=_0x23b5f2;switch(_0x104487){case _0x386f17[_0x3e3e1b(0x29b)]:return _0x2f552b[_0x3e3e1b(0x212)];case _0x386f17[_0x3e3e1b(0x1ee)]:return _0x2f552b[_0x3e3e1b(0x1b3)];case _0x386f17[_0x3e3e1b(0x163)]:return _0x2f552b['NAME'];case _0x386f17[_0x3e3e1b(0x308)]:return _0x2f552b[_0x3e3e1b(0x237)];case _0x386f17[_0x3e3e1b(0x272)]:return _0x2f552b[_0x3e3e1b(0x170)];}}return _0x23b5f2;}function ge(_0xa4ba49,_0x56a480,_0xcbfea4=!0x1,_0x3ba635=!0x1){const _0x3566c6=_0x3e64d8,{data:_0x5770c6}=_0x56a480,_0x462cf4=_0x56a480[_0x3566c6(0x240)](),_0x3c6500=_0x56a480[_0x3566c6(0x1a9)]();if(_0x462cf4<=0x0||_0x3c6500<=0x0)return[];const _0x2d4564=_0x56a480['getLastCol'](),_0xd49d70=_0x56a480[_0x3566c6(0x2c0)](),_0x511305=_0x3ba635?_0xd49d70>=0x0?_0xd49d70+0x1:0x0:_0x462cf4,_0x266aa9=_0x3ba635?_0x2d4564>=0x0?_0x2d4564+0x1:0x0:_0x3c6500,{row:_0x4a6b17,col:_0x80b686}=_0xa4ba49,_0x4e6dcb=_0x4a6b17,_0x5eb7f5=_0x80b686;if(_0xcbfea4){const _0x44f72a=[];for(const [_0x327949,_0x131331]of Object[_0x3566c6(0x2f8)](_0x5770c6))for(const [_0x5d3d69,_0x513a90]of Object[_0x3566c6(0x2f8)](_0x131331))_0x44f72a[_0x3566c6(0x2b6)](_0x42af7f(_0x4e6dcb+Number(_0x327949),_0x5eb7f5+Number(_0x5d3d69)));return _0x44f72a;}else{const _0x512d19=_0x3ba635?_0x511305>0x0?0x1:0x0:0x1,_0x30b902=_0x3ba635?_0x266aa9>0x0?0x1:0x0:0x1,_0x34a034=_0x4a6b17+_0x511305-_0x512d19,_0x4cd68c=_0x80b686+_0x266aa9-_0x30b902;return[{'startRow':_0x4e6dcb,'startColumn':_0x5eb7f5,'endRow':_0x34a034,'endColumn':_0x4cd68c}];}}const q='SHEET_PIVOT_IN_MAIN_THREAD',Bt=_0x3e64d8(0x14b);var k=(_0x158d33=>(_0x158d33[_0x3e64d8(0x233)]=_0x3e64d8(0x2b5),_0x158d33[_0x3e64d8(0x15c)]=_0x3e64d8(0x28c),_0x158d33['AddPivotField']='addPivotField',_0x158d33[_0x3e64d8(0x13b)]=_0x3e64d8(0x13b),_0x158d33[_0x3e64d8(0x23f)]=_0x3e64d8(0x12f),_0x158d33[_0x3e64d8(0x253)]=_0x3e64d8(0x242),_0x158d33[_0x3e64d8(0x177)]=_0x3e64d8(0x280),_0x158d33[_0x3e64d8(0x18c)]=_0x3e64d8(0x113),_0x158d33['SetPivotFilter']=_0x3e64d8(0x17b),_0x158d33[_0x3e64d8(0x2c6)]=_0x3e64d8(0x1f8),_0x158d33['SetPivotSetting']='setPivotSetting',_0x158d33[_0x3e64d8(0x33c)]=_0x3e64d8(0x17d),_0x158d33['UpdateValuePosition']='updateValuePosition',_0x158d33[_0x3e64d8(0x26a)]=_0x3e64d8(0x335),_0x158d33[_0x3e64d8(0x221)]='setValuePivotFilter',_0x158d33['SetPivotTableConfig']=_0x3e64d8(0x186),_0x158d33[_0x3e64d8(0x2d9)]=_0x3e64d8(0xd9),_0x158d33))(k||{});const Ti={'sheets-pivot.blankValue':_0x3e64d8(0x28d),'sheets-pivot.columnName':_0x3e64d8(0x153),'sheets-pivot.subTotalText':_0x3e64d8(0x2fe),'sheets-pivot.grandTotalText':_0x3e64d8(0x2af),'sheets-pivot.valueText':_0x3e64d8(0x203),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x3e64d8(0x2e9),'sheets-pivot.countNumsName':_0x3e64d8(0x2e9),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0x3e64d8(0x1ae),'sheets-pivot.stdDevpName':_0x3e64d8(0x1c7),'sheets-pivot.sumName':_0x3e64d8(0x100),'sheets-pivot.varName':_0x3e64d8(0x120),'sheets-pivot.varpName':_0x3e64d8(0x2ce),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x3e64d8(0x2af),'sheets-pivot.value':_0x3e64d8(0x341),'sheets-pivot.blank':_0x3e64d8(0x2f2),'sheets-pivot.emptyPivot.filter':_0x3e64d8(0x233),'sheets-pivot.emptyPivot.row':_0x3e64d8(0x16b),'sheets-pivot.emptyPivot.column':_0x3e64d8(0x2d2),'sheets-pivot.emptyPivot.values':_0x3e64d8(0x349)},So={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x198675(_0x3e64d8(0x194)),Ho=_0x402567(_0x3e64d8(0x292));var Be=(_0x305d97=>(_0x305d97[_0x3e64d8(0x167)]=_0x3e64d8(0x167),_0x305d97[_0x3e64d8(0xda)]=_0x3e64d8(0xda),_0x305d97['update']=_0x3e64d8(0x109),_0x305d97))(Be||{}),H=(_0x400db5=>(_0x400db5[_0x3e64d8(0x1fd)]=_0x3e64d8(0x167),_0x400db5[_0x3e64d8(0x249)]=_0x3e64d8(0x1b9),_0x400db5[_0x3e64d8(0x28e)]=_0x3e64d8(0xda),_0x400db5))(H||{});const $o={0x0:'5',0x1:'O',0x2:'y',0x3:'1',0x4:'9',0x5:'j',0x6:'g',0x7:'J',0x8:'X',0x9:'K','v':'0','a':'2','t':'3','U':'4','L':'6','X':'7','Q':'8','O':'a','j':'b','V':'c','w':'d','r':'e','c':'f','D':'h','H':'i','N':'k','A':'l','F':'m','P':'n','g':'o','B':'p','S':'q','M':'r','f':'s','I':'t','C':'u','i':'v','G':'w','T':'x','d':'z','K':'A','q':'B','Y':'C','n':'D','e':'E','x':'F','z':'G','W':'H','p':'I','o':'L','k':'M','h':'N','E':'P','J':'Q','s':'R','u':'S','R':'T','l':'U','y':'V','b':'W','m':'Y','Z':'Z'},Jo=_0x3e64d8(0x26f),ro={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x191),'handler':()=>!0x0},lo={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x192),'handler':()=>!0x0},Dt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x12a),'handler':()=>!0x0},co={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0xf0),'handler':()=>!0x0},uo={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x22b),'handler':()=>!0x0},yi=_0x5485a8=>{const _0x6f5c0e=_0x3e64d8;var _0xebe7e;return((_0xebe7e=_0x5485a8[_0x6f5c0e(0x1af)])==null?void 0x0:_0xebe7e[_0x6f5c0e(0xd8)][_0x6f5c0e(0x1ef)](/\r\n$/,''))||'';};class wi extends _0x20a600{constructor(_0x19a531,_0x3ee295){const _0x398ee1=_0x3e64d8;super(),V(this,_0x398ee1(0x161),{}),V(this,_0x398ee1(0x309)),V(this,'_host'),(this['_univerInstanceService']=_0x3ee295,this[_0x398ee1(0x122)]=_0x19a531);}[_0x3e64d8(0x235)](){const _0x53f9d1=_0x3e64d8;for(const _0x2fc435 in this[_0x53f9d1(0x131)]){const _0x330a75=this[_0x53f9d1(0x131)][_0x2fc435],_0x382b9a=_0x330a75[_0x53f9d1(0x130)]();this['rangeKeyMap'][_0x382b9a]=_0x330a75[_0x53f9d1(0x10b)]();}}['getAutoDisplayNameFunction'](){const _0x289e63=_0x3e64d8,_0x4a29df=this[_0x289e63(0x122)];return Oi['bind'](_0x4a29df);}[_0x3e64d8(0x16a)](_0x32c146){const _0x3f3c70=_0x3e64d8,_0x34a2dd=this[_0x3f3c70(0x131)][_0x32c146][_0x3f3c70(0x283)];delete this[_0x3f3c70(0x131)][_0x32c146],delete this['rangeKeyMap'][_0x34a2dd];}[_0x3e64d8(0x2cb)](_0x1d25b2){const _0x2003c9=_0x3e64d8;this['dataFields'][_0x1d25b2[_0x2003c9(0x10b)]()]=_0x1d25b2;}[_0x3e64d8(0xf8)](_0x4fb638){const _0x9885df=_0x3e64d8;var _0x367eb6,_0x19bf48;const _0x42d21f=this[_0x9885df(0x122)][_0x9885df(0x187)](_0x4fb638);if(_0x42d21f){const {unitId:_0x33f00a,subUnitId:_0x2412ed}=_0x42d21f,_0x3bd2ff=(_0x367eb6=this['_host'][_0x9885df(0x26b)](_0x33f00a,_0x2412ed,_0x4fb638))==null?void 0x0:_0x367eb6[_0x9885df(0x1e8)];this[_0x9885df(0x122)][_0x9885df(0x299)]({'token':_0x4fb638,'type':Be[_0x9885df(0xda)],'dataRangeInfo':_0x3bd2ff});}(_0x19bf48=this[_0x9885df(0x1fc)](_0x4fb638))==null||_0x19bf48[_0x9885df(0x295)](),delete this['collections'][_0x4fb638];}[_0x3e64d8(0x130)](_0x48dae6,_0x44c439){const {sheetName:_0x34160d,unitId:_0x4b6494,range:_0x16a1ee}=_0x48dae6,{startRow:_0x4fa4ee,endRow:_0x56c684}=_0x16a1ee;return _0xb58f84(_0x4b6494,_0x34160d,{'startRow':_0x4fa4ee,'endRow':_0x56c684,'startColumn':_0x44c439,'endColumn':_0x44c439});}[_0x3e64d8(0x2e4)](_0x5ba7bf){const _0x385288=_0x3e64d8;return this[_0x385288(0x131)][this['rangeKeyMap'][_0x5ba7bf]];}[_0x3e64d8(0x314)](_0x33d7ca,_0x34b3c2){const _0x3a4d02=_0x3e64d8;this[_0x3a4d02(0x161)][_0x33d7ca]=_0x34b3c2;}['updateRangeKeyMap'](_0x13bb30,_0x2880cb){const _0x49c4ff=_0x3e64d8;this[_0x49c4ff(0x161)][_0x2880cb]=this[_0x49c4ff(0x161)][_0x13bb30],delete this[_0x49c4ff(0x161)][_0x13bb30];}[_0x3e64d8(0x260)](_0x525645,_0xd54e8e,_0xb73ea5,_0x27d588){const _0x4fe4ff=_0x3e64d8,_0x5dd58f=new _0x4ba63e(this);_0x5dd58f['fromJSON'](_0xd54e8e);const _0x1d7bcf=[];let _0x262436=0x0;for(const _0x497bee of _0x5dd58f['fieldIds']){const _0x3418d1=this[_0x4fe4ff(0x130)](_0xb73ea5,_0x262436),_0x34545e=this['dataFields'][_0x497bee];_0x34545e&&(_0x34545e['rangeKey']=_0x3418d1,this['setRangeKeyMap'](_0x3418d1,_0x497bee),_0x1d7bcf[_0x4fe4ff(0x2b6)]({'index':_0x262436,'dataField':_0x34545e})),_0x262436++;}return this[_0x4fe4ff(0x2fd)](_0x525645,_0x5dd58f,_0xb73ea5,_0x27d588),{'collection':_0x5dd58f,'updateDataFieldList':_0x1d7bcf};}[_0x3e64d8(0x2ca)](_0x36ffd7,_0x405a51){const _0x355d36=_0x3e64d8;return _0x36ffd7[_0x355d36(0x107)]===_0x391d1d[_0x355d36(0x29f)]?{'startRow':0x0,'startColumn':_0x36ffd7[_0x355d36(0x178)],'endRow':_0x405a51[_0x355d36(0x240)]()-0x1,'endColumn':_0x36ffd7[_0x355d36(0x1fa)]}:{'startRow':_0x36ffd7[_0x355d36(0x31a)],'startColumn':_0x36ffd7[_0x355d36(0x178)],'endRow':_0x36ffd7[_0x355d36(0x129)],'endColumn':_0x36ffd7[_0x355d36(0x1fa)]};}[_0x3e64d8(0x239)](_0x4ba6d9){const _0x203d39=_0x3e64d8,{sheetName:_0x2d7b98,range:_0x1f1803}=_0x4ba6d9,_0x5adaca=this[_0x203d39(0x309)]['getCurrentUnitForType'](_0x273a5e[_0x203d39(0x180)]),_0x17269e=_0x5adaca[_0x203d39(0x2cf)](_0x2d7b98),_0x11e07f=_0x17269e[_0x203d39(0x1a1)](),{startColumn:_0x449aac,startRow:_0x12db09,endColumn:_0x201234}=this[_0x203d39(0x2ca)](_0x1f1803,_0x17269e),_0x536085=_0x5adaca[_0x203d39(0x1de)](),_0x1c9047=new _0x4ba63e(this);_0x1c9047[_0x203d39(0x204)](_0x4ba6d9);const _0x2ccea4=[],_0x4d8cc6={};for(let _0x33ed29=_0x449aac;_0x33ed29<=_0x201234;_0x33ed29++){const _0x5ac786=_0x11e07f[_0x203d39(0x1d2)](_0x12db09,_0x33ed29),_0x7f7ac2=this[_0x203d39(0x130)](_0x4ba6d9,_0x33ed29),_0x40bbae=this['getDataFieldByRangeKey'](_0x7f7ac2);if(_0x40bbae)_0x1c9047['addField'](_0x40bbae[_0x203d39(0x10b)](),_0x40bbae['getName']());else{const _0x4a6037=this[_0x203d39(0x2d3)]();let _0x114b42=this[_0x203d39(0x1a5)](_0x5ac786,_0x536085,_0x4d8cc6);_0x3a6c8c(_0x114b42)&&(_0x114b42=_0x2d4f3d[_0x203d39(0x193)](_0x114b42['f'],Number(_0x114b42['v'])));const _0x288c81=this[_0x203d39(0x281)](_0x114b42,_0x33ed29),_0x2c0260=new _0x14a95a(_0x4a6037,_0x288c81,_0x6b8c21(0x3));_0x2c0260[_0x203d39(0x283)]=_0x7f7ac2,this['dataFields'][_0x4a6037]=_0x2c0260,_0x1c9047['addField'](_0x4a6037,_0x288c81),_0x2ccea4[_0x203d39(0x2b6)]({'index':_0x33ed29,'dataField':_0x2c0260});}}return{'updateDataFieldList':_0x2ccea4,'collection':_0x1c9047};}[_0x3e64d8(0x17e)](_0x3828e6){const _0x389af8=_0x3e64d8;return this[_0x389af8(0x122)]['getTextInfo']()[_0x389af8(0x149)]+'\x20'+_0x2f4efc(_0x3828e6);}[_0x3e64d8(0x281)](_0x3b0d10,_0x32ee36){const _0x39d183=_0x3e64d8;return _0x3b0d10==null||_0x3b0d10===''?this[_0x39d183(0x17e)](_0x32ee36):String(_0x3b0d10);}[_0x3e64d8(0x1fc)](_0x144859){const _0x3a0447=_0x3e64d8;return this[_0x3a0447(0x256)][_0x144859];}[_0x3e64d8(0x2fd)](_0x11e5fe,_0x407067,_0x4894a3,_0x1187bf){const _0x3b7af3=_0x3e64d8;this[_0x3b7af3(0x256)][_0x11e5fe]=_0x407067,_0x407067['setRange'](_0x4894a3),this[_0x3b7af3(0x122)][_0x3b7af3(0x299)]({'token':_0x11e5fe,'type':Be[_0x3b7af3(0x167)],'dataRangeInfo':_0x4894a3,'targetCellInfo':_0x1187bf});}[_0x3e64d8(0x19f)](_0x5df46e,_0x30614a){const _0x4fd678=_0x3e64d8,_0xf75b4=this[_0x4fd678(0x1fc)](_0x5df46e),_0x4e5f2f=_0xf75b4['getFieldIds']();let _0x224e68=0x0;for(const _0xe5eda5 of _0x4e5f2f){const _0x558738=_0xf75b4[_0x4fd678(0x1ca)](_0xe5eda5),_0x1fa9e9=this[_0x4fd678(0x130)](_0x30614a,_0x224e68);this[_0x4fd678(0x269)](_0x558738['rangeKey'],_0x1fa9e9),_0x224e68++;}}[_0x3e64d8(0x29a)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x2609c5,_0x2ef8f9){const _0x1ea325=_0x3e64d8;if(this['getCollection'](_0x2609c5)){const _0xb38ca8=this['getRangeKeyList'](_0x2ef8f9),_0x5ebe54=[];for(const _0x53af15 of _0xb38ca8)this[_0x1ea325(0x161)][_0x53af15]!==void 0x0&&_0x5ebe54[_0x1ea325(0x2b6)](this[_0x1ea325(0x161)][_0x53af15]);const _0x47e6e6=this[_0x1ea325(0x286)](_0x2609c5),_0x1e21b4=[],_0x465762=new Set(_0x5ebe54);for(const _0x3bcb44 of _0x47e6e6)_0x465762[_0x1ea325(0xe7)](_0x3bcb44)||_0x1e21b4[_0x1ea325(0x2b6)](_0x3bcb44);return _0x1e21b4;}}[_0x3e64d8(0x2f4)](_0x5d3ba8,_0x40dd2f,_0x44e221,_0x1c3a31,_0xc73805){const _0x56cd86=_0x3e64d8;return _0x40dd2f&&_0x40dd2f['getValue'](_0x1c3a31,_0xc73805)?_0x40dd2f['getValue'](_0x1c3a31,_0xc73805):_0x44e221&&_0x44e221['getValue'](_0x1c3a31,_0xc73805)?_0x44e221[_0x56cd86(0x1d2)](_0x1c3a31,_0xc73805):_0x5d3ba8[_0x56cd86(0x1d2)](_0x1c3a31,_0xc73805);}[_0x3e64d8(0xd2)](_0x923bc2,_0x25c57f,_0x54a092,_0x37f855){const _0x403090=_0x3e64d8,_0x1bdbcd=this[_0x403090(0x131)][_0x923bc2];if(!_0x1bdbcd)return;const {subUnitId:_0x4471e7,range:_0x14b52e,unitId:_0x54ee96}=_0x25c57f,_0x95cc9=this[_0x403090(0x309)][_0x403090(0xfe)](_0x54ee96);if(!_0x95cc9){console[_0x403090(0x345)](_0x403090(0x267));return;}const _0x4a9691=_0x95cc9[_0x403090(0x190)](_0x4471e7),_0x131918=_0x4a9691[_0x403090(0x1a1)](),{arrayFormulaCellDataMatrix:_0x4d5055,unitDataMatrix:_0x49060b}=_0x37f855||{},{startRow:_0x5f0610,startColumn:_0x3a0731,endRow:_0xfa5f30}=this[_0x403090(0x2ca)](_0x14b52e,_0x4a9691);_0x1bdbcd[_0x403090(0x22c)]();const _0x1fc00d=_0x95cc9['getStyles'](),_0x4fd344={},_0x2838e9=this['getMatrixValue'](_0x131918,_0x4d5055,_0x49060b,_0x5f0610,_0x3a0731+_0x54a092);let _0x1a832a=this[_0x403090(0x1a5)](_0x2838e9,_0x1fc00d,_0x4fd344);_0x3a6c8c(_0x1a832a)&&(_0x1a832a=_0x2d4f3d['format'](_0x1a832a['f'],Number(_0x1a832a['v'])));const _0x231319=this[_0x403090(0x281)](_0x1a832a,_0x3a0731+_0x54a092);_0x1bdbcd[_0x403090(0x1d0)](_0x231319);for(let _0x4898b2=_0x5f0610+0x1;_0x4898b2<=_0xfa5f30;_0x4898b2++){const _0xd9dce7=this[_0x403090(0x2f4)](_0x131918,_0x4d5055,_0x49060b,_0x4898b2,_0x3a0731+_0x54a092);_0x1bdbcd[_0x403090(0x276)](this[_0x403090(0x1a5)](_0xd9dce7,_0x1fc00d,_0x4fd344),_0x4898b2-0x1-_0x5f0610);}}[_0x3e64d8(0x141)](_0x5a170f,_0x320775,_0xd4985a){const _0x2c375b=_0x3e64d8,{subUnitId:_0x2a6f97,range:_0x113d8b,unitId:_0x2b2f5a}=_0xd4985a,_0x55530c=this['_univerInstanceService'][_0x2c375b(0xfe)](_0x2b2f5a);if(!_0x55530c){console[_0x2c375b(0x345)](_0x2c375b(0x267));return;}const _0xa8d441=_0x55530c[_0x2c375b(0x190)](_0x2a6f97),_0x1ccccd=_0xa8d441['getCellMatrix'](),{startRow:_0x51d5b5,startColumn:_0x212318,endRow:_0x339d04}=this[_0x2c375b(0x2ca)](_0x113d8b,_0xa8d441),_0x497257=_0x55530c[_0x2c375b(0x1de)](),_0x45292c={};for(const {dataField:_0x2f8e88,index:_0x273451}of _0x320775){_0x2f8e88[_0x2c375b(0x22c)]();const _0x4cd6d3=this[_0x2c375b(0x2f4)](_0x1ccccd,void 0x0,void 0x0,_0x51d5b5,_0x212318+_0x273451);let _0x2fc62d=this[_0x2c375b(0x1a5)](_0x4cd6d3,_0x497257,_0x45292c);_0x3a6c8c(_0x2fc62d)&&(_0x2fc62d=_0x2d4f3d['format'](_0x2fc62d['f'],Number(_0x2fc62d['v'])));const _0x17c911=this[_0x2c375b(0x281)](_0x2fc62d,_0x212318+_0x273451);_0x2f8e88[_0x2c375b(0x1d0)](_0x17c911);}_0x5a170f[_0x2c375b(0x1d8)]();for(let _0x1f79c4=_0x51d5b5+0x1;_0x1f79c4<=_0x339d04;_0x1f79c4++)for(const {index:_0x52ff78,dataField:_0xc1da3e}of _0x320775){const _0x54a730=_0x1ccccd[_0x2c375b(0x1d2)](_0x1f79c4,_0x212318+_0x52ff78);_0xc1da3e[_0x2c375b(0x276)](this[_0x2c375b(0x1a5)](_0x54a730,_0x497257,_0x45292c),_0x1f79c4-0x1-_0x51d5b5);}_0x5a170f[_0x2c375b(0x165)](_0x339d04-_0x51d5b5);}['getRangeKeyList'](_0x55a678){const _0x3b8d26=_0x3e64d8,{range:_0x5330e0}=_0x55a678,{startColumn:_0x3fcd65,endColumn:_0x3902a8}=_0x5330e0,_0xa6accb=[];for(let _0x27d699=_0x3fcd65;_0x27d699<=_0x3902a8;_0x27d699++)_0xa6accb[_0x3b8d26(0x2b6)](this[_0x3b8d26(0x130)](_0x55a678,_0x27d699));return _0xa6accb;}[_0x3e64d8(0x1a5)](_0x18e3c6,_0x1aed04,_0x30b399){const _0x3f6ad0=_0x3e64d8;if(_0x18e3c6){const {s:_0x23bf8e,v:_0x22de43,t:_0x3b3226,p:_0x3a925d}=_0x18e3c6;if(_0x3a925d)return yi(_0x3a925d);const _0x493372=_0x1aed04[_0x3f6ad0(0x1f3)](_0x23bf8e);if(_0x493372&&_0x3b3226===_0x13b1fc['NUMBER']&&_0x493372['n']){const {pattern:_0x37190c}=_0x493372['n'];_0x30b399[_0x37190c]||(_0x30b399[_0x37190c]=_0x2d4f3d[_0x3f6ad0(0x246)](_0x37190c));const _0x27768b=_0x30b399[_0x37190c],_0x585405=_0x27768b[_0x3f6ad0(0x24d)];if(_0x27768b[_0x3f6ad0(0xfc)])return String(_0x22de43);if(_0x585405)return{'v':_0x22de43,'f':_0x37190c};}if(_0x3b3226===_0x13b1fc['NUMBER'])return Number(_0x22de43);if(_0x3b3226===_0x13b1fc[_0x3f6ad0(0x303)]||_0x3b3226===_0x13b1fc[_0x3f6ad0(0x1b2)])return String(_0x22de43);if(_0x3b3226===void 0x0){const _0xc729a2=Number(_0x22de43);if(!Number[_0x3f6ad0(0x259)](_0xc729a2)&&String(_0xc729a2)===_0x22de43)return _0xc729a2;}return _0x22de43!=null?_0x22de43:null;}else return null;}['getRangeData'](_0x73741c){const _0x113aae=_0x3e64d8,{sheetName:_0x50f1f9,range:_0xc3d921,unitId:_0x133947}=_0x73741c,_0x10410=this['_univerInstanceService'][_0x113aae(0xfe)](_0x133947);if(!_0x10410)return console[_0x113aae(0x345)](_0x113aae(0x267)),{'header':[],'data':[]};const _0x1d0ee8=_0x10410[_0x113aae(0x2cf)](_0x50f1f9),_0x549051=_0x1d0ee8['getCellMatrix'](),{startRow:_0x4e7d22,startColumn:_0x1577d4,endRow:_0x425150,endColumn:_0x299088}=this[_0x113aae(0x2ca)](_0xc3d921,_0x1d0ee8),_0x526ede=_0x10410[_0x113aae(0x1de)](),_0x199a34=[],_0x3d2057=[],_0x36e7d7={};for(let _0x109974=_0x4e7d22;_0x109974<=_0x425150;_0x109974++){const _0x5a2524=[];for(let _0xa1d162=_0x1577d4;_0xa1d162<=_0x299088;_0xa1d162++){const _0x3b36e0=_0x549051[_0x113aae(0x1d2)](_0x109974,_0xa1d162);_0x109974===_0x4e7d22?_0x199a34[_0x113aae(0x2b6)](_0x3b36e0==null?null:String(_0x3b36e0['v'])):_0x5a2524[_0x113aae(0x2b6)](this['adjustSheetCellData'](_0x3b36e0,_0x526ede,_0x36e7d7));}_0x3d2057['push'](_0x5a2524);}return{'header':_0x199a34,'data':_0x3d2057};}[_0x3e64d8(0x2db)](){const _0x106718=_0x3e64d8;return super[_0x106718(0x2db)]();}[_0x3e64d8(0x2c3)](_0x410896){const _0x48f73f=_0x3e64d8;super['fromJSON'](_0x410896),this[_0x48f73f(0x235)]();}[_0x3e64d8(0x295)](){const _0x1edb39=_0x3e64d8;super['dispose'](),this[_0x1edb39(0x161)]={},this[_0x1edb39(0x122)]=null;}}const _i=_0x2cbc09=>{const _0xfc2807=_0x3e64d8,{targetCellInfo:_0x215fbb}=_0x2cbc09,{matrixCache:_0xe4c09,rangesCache:_0x901a63}=Wo({'filter':_0xfc2807(0x233),'row':_0xfc2807(0x16b),'column':'Column','values':'Values'},_0x215fbb),_0x3ebf6e=new _0x2067c1();return _0xe4c09[_0xfc2807(0xde)]((_0x513258,_0xa2e6f0,_0x10fe64)=>{const _0x3549fc=_0xfc2807;_0x3ebf6e[_0x3549fc(0x1df)](_0x513258,_0xa2e6f0,_0x10fe64);}),{'matrix':_0x3ebf6e,'rangesCache':_0x901a63};},ot=_0x524269=>{const _0x4e5a44=_0x3e64d8;let _0x1db4a;if(_0x524269!=null&&_0x524269['v']||(_0x524269==null?void 0x0:_0x524269['v'])===0x0){_0x1db4a||(_0x1db4a={});const _0x4f7cbc=Lo(_0x524269['v']);typeof _0x4f7cbc==_0x4e5a44(0x336)?_0x1db4a['t']=_0x13b1fc[_0x4e5a44(0x20f)]:typeof _0x4f7cbc=='string'&&(_0x1db4a['t']=_0x13b1fc[_0x4e5a44(0x303)]),_0x1db4a['v']=_0x4f7cbc;}return _0x1db4a;},Fi=(_0x42824c,_0xe184b5,_0x4a2a64)=>{const _0x33e36b=_0x3e64d8;var _0x26d710,_0x524e9e,_0x5babc7,_0x158fe8,_0x300d2e,_0x273733,_0x50250a,_0xfd7505,_0x5c7543,_0x3ac470,_0x19c8ff,_0x2938f3;const {cornerView:_0x5109d7,rowView:_0x55683d,colView:_0x38af39,dataView:_0x2fc6b9,pageView:_0x19a996,formatMap:_0x443bc5}=_0x42824c,{row:_0x350e1c,col:_0xdcc1d6}=_0xe184b5,_0x369e9f=new _0x2067c1();let _0x4e02f3=_0x350e1c,_0x33c480=_0xdcc1d6;Object[_0x33e36b(0x19b)](_0x19a996['data'])[_0x33e36b(0x14a)](_0x1b5899=>{const _0x113575=_0x33e36b;Object['keys'](_0x19a996[_0x113575(0x274)][Number(_0x1b5899)])[_0x113575(0x14a)](_0x3f718d=>{const _0x16b23c=_0x113575,_0x372868={..._0x19a996['data'][Number(_0x1b5899)][Number(_0x3f718d)]};_0x369e9f[_0x16b23c(0x1df)](Number(_0x1b5899)+_0x4e02f3,Number(_0x3f718d)+_0x33c480,ot(_0x372868));});});const _0x9ab3a2=Object[_0x33e36b(0x19b)](_0x19a996[_0x33e36b(0x274)])['length'];_0x4e02f3+=_0x9ab3a2+(_0x9ab3a2?mt:0x0);const _0x349cc2=_0x5109d7['getRowCount'](),_0x2c20c1=_0x5109d7[_0x33e36b(0x1a9)]();for(let _0x28d057=0x0;_0x28d057<_0x349cc2;_0x28d057++)for(let _0x59c06c=0x0;_0x59c06c<_0x2c20c1;_0x59c06c++){const _0x377cc8={...(_0x524e9e=(_0x26d710=_0x5109d7[_0x33e36b(0x274)])==null?void 0x0:_0x26d710[_0x28d057])==null?void 0x0:_0x524e9e[_0x59c06c]};_0x377cc8&&((_0x5babc7=_0x55683d[_0x33e36b(0x1e3)][_0x59c06c])!=null&&_0x5babc7[_0x33e36b(0x1c4)])&&_0x59c06c===_0x2c20c1-0x1&&_0x28d057===_0x349cc2-0x1&&(_0x377cc8['v']=''+_0x4a2a64[_0x33e36b(0xd6)]),_0x369e9f[_0x33e36b(0x1df)](_0x28d057+_0x4e02f3,_0x59c06c+_0x33c480,ot(_0x377cc8));}_0x33c480+=_0x2c20c1;const _0x5abc3f=_0x38af39['headerMap'],_0xa0c8ef=_0x38af39[_0x33e36b(0x2c0)]()>=0x0?_0x38af39[_0x33e36b(0x2c0)]()+0x1:0x0,_0x3442a1=_0x38af39[_0x33e36b(0x2eb)]()>=0x0?_0x38af39[_0x33e36b(0x2eb)]()+0x1:0x0;for(let _0x2d4aa2=0x0;_0x2d4aa2<_0x3442a1;_0x2d4aa2++)for(let _0x4cb377=0x0;_0x4cb377<_0xa0c8ef;_0x4cb377++){const _0x2b0b3a={...(_0x300d2e=(_0x158fe8=_0x38af39['data'])==null?void 0x0:_0x158fe8[_0x2d4aa2])==null?void 0x0:_0x300d2e[_0x4cb377]},_0x77aeed=(_0x273733=_0x5abc3f[_0x2d4aa2])==null?void 0x0:_0x273733[_0x33e36b(0x298)],_0x21e29c=_0x443bc5[_0x77aeed];_0x2b0b3a&&(_0x2b0b3a['v']=ht(_0x2b0b3a,_0x2d4aa2===0x0&&((_0x50250a=_0x38af39[_0x33e36b(0x1fb)](_0x4cb377+0x1))==null?void 0x0:_0x50250a[_0x33e36b(0x1c4)]),_0x21e29c,_0x4a2a64)),_0x369e9f[_0x33e36b(0x1df)](_0x2d4aa2+_0x4e02f3,_0x4cb377+_0x33c480,ot(_0x2b0b3a));}_0x4e02f3+=_0x349cc2;const _0x48afc2=_0x55683d[_0x33e36b(0x1e3)],_0x1dedec=_0x55683d[_0x33e36b(0x2c0)]()>=0x0?_0x55683d[_0x33e36b(0x2c0)]()+0x1:0x0,_0xe28f24=_0x55683d[_0x33e36b(0x2eb)]()>=0x0?_0x55683d[_0x33e36b(0x2eb)]()+0x1:0x0;for(let _0x43c3f3=0x0;_0x43c3f3<_0x1dedec;_0x43c3f3++)for(let _0x1eb208=0x0;_0x1eb208<_0xe28f24;_0x1eb208++){const _0x16e1c3={...(_0x5c7543=(_0xfd7505=_0x55683d['data'])==null?void 0x0:_0xfd7505[_0x43c3f3])==null?void 0x0:_0x5c7543[_0x1eb208]},_0x370f83=(_0x3ac470=_0x48afc2[_0x1eb208])==null?void 0x0:_0x3ac470['tableFieldId'],_0x29f3a7=_0x443bc5[_0x370f83];_0x16e1c3&&(_0x16e1c3['v']=ht(_0x16e1c3,!0x1,_0x29f3a7,_0x4a2a64)),_0x369e9f[_0x33e36b(0x1df)](_0x43c3f3+_0x4e02f3,_0x1eb208+_0xdcc1d6,ot(_0x16e1c3));}const _0x40f323=_0x2fc6b9[_0x33e36b(0x240)](),_0x46050f=_0x2fc6b9[_0x33e36b(0x1a9)]();for(let _0x57f8cb=0x0;_0x57f8cb<_0x40f323;_0x57f8cb++)for(let _0x2fb966=0x0;_0x2fb966<_0x46050f;_0x2fb966++){const _0x4a173e={...(_0x2938f3=(_0x19c8ff=_0x2fc6b9[_0x33e36b(0x274)])==null?void 0x0:_0x19c8ff[_0x57f8cb])==null?void 0x0:_0x2938f3[_0x2fb966]};_0x369e9f[_0x33e36b(0x1df)](_0x57f8cb+_0x4e02f3,_0x2fb966+_0x33c480,ot(_0x4a173e));}return _0x369e9f;},Ri=_0xfd962f=>{const _0x2d0f67=_0x3e64d8,{view:_0x3ea956,targetCellInfo:_0x18e145,isEmpty:_0xfcd0e3,textInfo:_0x27d973}=_0xfd962f;if(_0xfcd0e3)return _i(_0xfd962f);const {pageView:_0x3c50bc,cornerView:_0x4ab38a,rowView:_0x4338ce,colView:_0x2b380f,dataView:_0x43ee3a}=_0x3ea956,_0x31b0c1=ge(_0x18e145,_0x3c50bc,!0x0),_0x5c247b=_0x3c50bc[_0x2d0f67(0x21e)]>=0x0?_0x3c50bc[_0x2d0f67(0x21e)]+0x1:0x0,_0x19dab0=_0x4ab38a[_0x2d0f67(0x240)](),_0x2b41df=_0x4ab38a['getColCount'](),_0x1ef5c7=_0x31b0c1[_0x2d0f67(0x169)]>0x0?mt:0x0,_0x328067=ge({'row':_0x18e145[_0x2d0f67(0x2e7)]+_0x5c247b+_0x1ef5c7,'col':_0x18e145[_0x2d0f67(0x2c4)]},_0x4ab38a,!0x1,!0x1),_0x59f9cc=ge({'row':_0x18e145['row']+_0x5c247b+_0x1ef5c7+_0x19dab0,'col':_0x18e145[_0x2d0f67(0x2c4)]},_0x4338ce,!0x1,!0x0),_0x5b3e5d=ge({'row':_0x18e145[_0x2d0f67(0x2e7)]+_0x5c247b+_0x1ef5c7,'col':_0x18e145[_0x2d0f67(0x2c4)]+_0x2b41df},_0x2b380f,!0x1,!0x0),_0xc22e03=ge({'row':_0x18e145['row']+_0x5c247b+_0x1ef5c7+_0x19dab0,'col':_0x18e145[_0x2d0f67(0x2c4)]+_0x2b41df},_0x43ee3a,!0x1,!0x1),_0x229105={'rowRanges':_0x59f9cc,'colRanges':_0x5b3e5d,'cornerRanges':_0x328067,'dataRanges':_0xc22e03,'pageRanges':_0x31b0c1};return{'matrix':Fi(_0x3ea956,_0x18e145,_0x27d973),'rangesCache':_0x229105};};var Di=Object[_0x3e64d8(0x1f1)],Ni=(_0x3a6061,_0x95a5ac,_0x5c114d,_0x201700)=>{const _0x1e442c=_0x3e64d8;for(var _0x1a1423=_0x201700>0x1?void 0x0:_0x201700?Di(_0x95a5ac,_0x5c114d):_0x95a5ac,_0x336d2b=_0x3a6061[_0x1e442c(0x169)]-0x1,_0x1a6811;_0x336d2b>=0x0;_0x336d2b--)(_0x1a6811=_0x3a6061[_0x336d2b])&&(_0x1a1423=_0x1a6811(_0x1a1423)||_0x1a1423);return _0x1a1423;},nt=(_0xe7d6a5,_0x5ac38b)=>(_0x22d71d,_0x141207)=>_0x5ac38b(_0x22d71d,_0x141207,_0xe7d6a5);let $=class extends _0x41248b{constructor(_0x591989,_0x1a26ed,_0x509025,_0x223cca,_0x5dc9e9){const _0x2a7c7c=_0x3e64d8;super(),V(this,_0x2a7c7c(0x1a3),new Map()),V(this,_0x2a7c7c(0x10d),new Map()),V(this,'_viewData',new Map()),V(this,'_textInfo'),V(this,_0x2a7c7c(0x344),new _0x37d4e0()),V(this,_0x2a7c7c(0x1cd),this[_0x2a7c7c(0x344)][_0x2a7c7c(0x1cc)]()),V(this,'_viewData$',new _0x37d4e0()),V(this,_0x2a7c7c(0x2d7),this['_viewData$'][_0x2a7c7c(0x1cc)]()),V(this,_0x2a7c7c(0x318),new _0x37d4e0()),V(this,'fieldsCollectionChange$',this['_fieldsCollectionChange$'][_0x2a7c7c(0x1cc)]()),V(this,_0x2a7c7c(0x2d8),new Map()),V(this,_0x2a7c7c(0x266),[]),V(this,'_queryingMap',new Map()),(this[_0x2a7c7c(0x146)]=_0x591989,this['_univerInstanceService']=_0x1a26ed,this[_0x2a7c7c(0x301)]=_0x509025,this[_0x2a7c7c(0x13a)]=_0x223cca,this[_0x2a7c7c(0x2e6)]=_0x5dc9e9,this[_0x2a7c7c(0x31b)]());}['getTextInfo'](){const _0x443de4=_0x3e64d8;return this[_0x443de4(0x123)]?this[_0x443de4(0x123)]:Ti;}[_0x3e64d8(0x27f)](_0x3e1541){this['_textInfo']=_0x3e1541;}[_0x3e64d8(0x19f)](_0x34431f){const _0x2e3c80=_0x3e64d8;var _0x2f4c37;const {from:_0x43ce3c,to:_0x291d6b,unitId:_0x41ea0d,fromRange:_0x5c7cc8,toRange:_0x5f380a}=_0x34431f;if(_0x43ce3c&&_0x291d6b){const _0x20b4a2=this['getDataFieldManager'](_0x41ea0d),_0x4e2535=this['_model']['get'](_0x41ea0d),_0x1e58fa=(_0x2f4c37=this[_0x2e3c80(0x309)][_0x2e3c80(0xfe)](_0x41ea0d))==null?void 0x0:_0x2f4c37[_0x2e3c80(0x190)](_0x291d6b['subUnitId']);if(!_0x4e2535||!_0x1e58fa)return;const _0x22681e=_0x1e58fa==null?void 0x0:_0x1e58fa[_0x2e3c80(0x275)]();for(const [_0x25b1ef,_0x50e119]of _0x4e2535[_0x2e3c80(0x2f8)]())for(const [_0x55bcbd,_0x3dae6d]of _0x50e119['entries']()){const {sourceRangeInfo:_0x1ec36c}=_0x3dae6d;if(_0x1ec36c['unitId']===_0x41ea0d&&_0x1ec36c['subUnitId']===_0x43ce3c['subUnitId']&&_0x5e2546[_0x2e3c80(0x1bf)](_0x5c7cc8,_0x1ec36c['range'])){const _0x4c103a={'row':_0x1ec36c['range'][_0x2e3c80(0x31a)]-_0x5c7cc8[_0x2e3c80(0x31a)],'col':_0x1ec36c['range'][_0x2e3c80(0x178)]-_0x5c7cc8[_0x2e3c80(0x178)]},_0x458c43={'unitId':_0x41ea0d,'subUnitId':_0x291d6b[_0x2e3c80(0x268)],'sheetName':_0x22681e,'range':{'startRow':_0x5f380a['startRow']+_0x4c103a['row'],'endRow':_0x5f380a[_0x2e3c80(0x31a)]+_0x4c103a[_0x2e3c80(0x2e7)]+_0x1ec36c[_0x2e3c80(0x168)][_0x2e3c80(0x129)]-_0x1ec36c[_0x2e3c80(0x168)]['startRow'],'startColumn':_0x5f380a['startColumn']+_0x4c103a['col'],'endColumn':_0x5f380a[_0x2e3c80(0x178)]+_0x4c103a[_0x2e3c80(0x2c4)]+_0x1ec36c[_0x2e3c80(0x168)]['endColumn']-_0x1ec36c['range']['startColumn']}};_0x20b4a2['handleMoveRange'](_0x55bcbd,_0x458c43);const _0x1786dc={..._0x3dae6d,'sourceRangeInfo':_0x458c43};this[_0x2e3c80(0x34d)](_0x41ea0d,_0x291d6b['subUnitId'],_0x55bcbd,_0x1786dc),this[_0x2e3c80(0x299)]({'unitId':_0x41ea0d,'token':_0x55bcbd,'type':Be[_0x2e3c80(0x109)],'oldSourceRangeInfo':_0x1ec36c,'dataRangeInfo':_0x458c43,'targetCellInfo':_0x3dae6d['targetCellInfo']}),this[_0x2e3c80(0xe3)]({'unitId':_0x41ea0d,'subUnitId':_0x291d6b['subUnitId'],'oldSubUnitId':_0x25b1ef,'pivotTableId':_0x55bcbd,'pivotTableConfig':_0x1786dc,'collectionConfig':_0x20b4a2[_0x2e3c80(0x2db)]()});}}}}[_0x3e64d8(0x299)](_0x23983c){const _0x3c8650=_0x3e64d8;this[_0x3c8650(0x344)]['next'](_0x23983c);}[_0x3e64d8(0x207)](_0x4073a2){const _0x2f55d4=_0x3e64d8;let _0x15fd41=this[_0x2f55d4(0x2d8)][_0x2f55d4(0x1f3)](_0x4073a2);return _0x15fd41||(_0x15fd41=new wi(this,this[_0x2f55d4(0x309)]),this[_0x2f55d4(0x2d8)]['set'](_0x4073a2,_0x15fd41)),_0x15fd41;}[_0x3e64d8(0x1fc)](_0x3c756d,_0x412b66){const _0x545dc6=_0x3e64d8;return this[_0x545dc6(0x207)](_0x3c756d)[_0x545dc6(0x256)][_0x412b66];}[_0x3e64d8(0x326)](_0x14e9a8,_0x59620c,_0x5b83f5){const _0x46df6c=_0x3e64d8;return this[_0x46df6c(0x207)](_0x14e9a8)['getUpdateRangeDeleteIds'](_0x59620c,_0x5b83f5);}[_0x3e64d8(0x257)](_0x4ba98b,_0x5e3864){const _0x26169b=_0x3e64d8;let _0x793b91=this[_0x26169b(0x1a3)][_0x26169b(0x1f3)](_0x4ba98b);_0x793b91||(_0x793b91=new Map(),this[_0x26169b(0x1a3)]['set'](_0x4ba98b,_0x793b91));let _0x4a14fc=_0x793b91[_0x26169b(0x1f3)](_0x5e3864);return _0x4a14fc||(_0x4a14fc=new Map(),_0x793b91[_0x26169b(0x1b9)](_0x5e3864,_0x4a14fc)),_0x4a14fc;}['_updateModelCache'](_0x370bca,_0x113429,_0x534ea8,_0x5a760f){const _0x5cbd18=_0x3e64d8;this[_0x5cbd18(0x257)](_0x370bca,_0x113429)[_0x5cbd18(0x1b9)](_0x534ea8,_0x5a760f);}['_deleteModelCache'](_0x40fb17,_0x5dbb39,_0x258de2){const _0x8451c3=_0x3e64d8;var _0x304157,_0xfc2828,_0x26192f,_0x2cbdf3;((_0xfc2828=(_0x304157=this['_model'][_0x8451c3(0x1f3)](_0x40fb17))==null?void 0x0:_0x304157[_0x8451c3(0x1f3)](_0x5dbb39))==null?void 0x0:_0xfc2828[_0x8451c3(0x1f3)](_0x258de2))&&((_0x2cbdf3=(_0x26192f=this[_0x8451c3(0x1a3)]['get'](_0x40fb17))==null?void 0x0:_0x26192f['get'](_0x5dbb39))==null||_0x2cbdf3[_0x8451c3(0xda)](_0x258de2));}[_0x3e64d8(0x340)](_0x395f1f,_0x303f0e){const _0xcd76ff=_0x3e64d8;this[_0xcd76ff(0x10d)][_0xcd76ff(0x1b9)](_0x395f1f,_0x303f0e);}['_deletePivotTableInstanceCache'](_0x2eaf1d){const _0x2af004=_0x3e64d8;this[_0x2af004(0x10d)][_0x2af004(0xda)](_0x2eaf1d);}[_0x3e64d8(0x250)](_0x21c63b,_0x188dfa){const _0x1cbc96=_0x3e64d8;let _0x419f44=this['_viewData'][_0x1cbc96(0x1f3)](_0x21c63b);_0x419f44||(_0x419f44=new Map(),this[_0x1cbc96(0x2a5)]['set'](_0x21c63b,_0x419f44));let _0x27fa2e=_0x419f44[_0x1cbc96(0x1f3)](_0x188dfa);return _0x27fa2e||(_0x27fa2e=new Map(),_0x419f44[_0x1cbc96(0x1b9)](_0x188dfa,_0x27fa2e)),_0x27fa2e;}[_0x3e64d8(0xe3)](_0x12d437){const _0x23831f=_0x3e64d8,{unitId:_0x565af0,subUnitId:_0x2017b2,pivotTableId:_0x5a9cdf,pivotTableConfig:_0x420c5d,collectionConfig:_0x33f203}=_0x12d437,_0x58a722={'unitId':_0x565af0,'subUnitId':_0x2017b2,'oldSubUnitId':_0x2017b2,'pivotTableId':_0x5a9cdf,'pivotTableConfig':_0x420c5d,'collectionConfig':_0x33f203};this['_commandService'][_0x23831f(0x279)](co['id'],_0x58a722,{'onlyLocal':!0x0});}['updateView'](_0x1f128b,_0x80fa4f,_0x241450,_0x2f7b7b,_0x5a1a7a,_0x1bac35,_0x4ccf42,_0xc2dafd=!0x1){const _0x3202e9=_0x3e64d8;var _0x22014e;this[_0x3202e9(0x13a)][_0x3202e9(0x279)](Dt['id'],{'single':{'unitId':_0x1f128b,'subUnitId':_0x80fa4f,'type':_0x241450,'pivotTableId':_0x2f7b7b,'view':_0x5a1a7a,'pivotConfig':_0x1bac35},'collectionConfig':{[_0x1f128b]:_0x4ccf42}},{'onlyLocal':!0x0});const _0x1c7472=!!((_0x22014e=this[_0x3202e9(0x33f)](_0x2f7b7b))!=null&&_0x22014e[_0x3202e9(0x1c5)]()),_0x1efc56=this[_0x3202e9(0x26b)](_0x1f128b,_0x80fa4f,_0x2f7b7b);_0x1efc56&&this['updateViewData']({'view':_0x5a1a7a,'pivotTableId':_0x2f7b7b,'textInfo':this['getTextInfo'](),'isEmpty':_0x1c7472,'targetCellInfo':_0x1efc56[_0x3202e9(0x1ff)]},_0xc2dafd);}[_0x3e64d8(0x30a)](_0x5379af,_0x582ea4){const _0xb34ebd=_0x3e64d8,{targetCellInfo:_0x799bda,pivotTableId:_0x5b0472}=_0x5379af,{unitId:_0xeff376,subUnitId:_0xc17714}=_0x799bda,_0x233d0b=this[_0xb34ebd(0x250)](_0xeff376,_0xc17714),_0x3eb219=_0x233d0b['get'](_0x5b0472);let _0x31dae1,_0x2cec9c;_0x3eb219&&(_0x31dae1=_0x3eb219[_0xb34ebd(0x289)],_0x2cec9c=_0x3eb219[_0xb34ebd(0xe0)]);const {rangesCache:_0x3a0d64,matrix:_0x3634c8}=Ri(_0x5379af);_0x233d0b[_0xb34ebd(0x1b9)](_0x5b0472,{'rangeCache':_0x3a0d64,'matrix':_0x3634c8,'oldMatrix':_0x2cec9c,'oldRangeCache':_0x31dae1}),_0x582ea4||this[_0xb34ebd(0x214)]['next']({'unitId':_0xeff376,'subUnitId':_0xc17714,'pivotTableId':_0x5b0472});}[_0x3e64d8(0x12f)](_0x54f091,_0x264ad2,_0xe46d15,_0x10e510,_0x4de1c9){const _0x3a8495=_0x3e64d8;this[_0x3a8495(0x34d)](_0x54f091,_0x264ad2,_0xe46d15,_0x4de1c9),this[_0x3a8495(0x340)](_0xe46d15,_0x10e510);}[_0x3e64d8(0x2e5)](_0x4dedef,_0x3521d9,_0x2fb470){const _0x4015ff=_0x3e64d8,_0x25c4c1=this[_0x4015ff(0x207)](_0x4dedef);_0x25c4c1[_0x4015ff(0x286)](_0x2fb470)[_0x4015ff(0x14a)](_0xb6fe9a=>{_0x25c4c1['deleteDataField'](_0xb6fe9a);}),this['removeCollections'](_0x4dedef,_0x2fb470),this[_0x4015ff(0x11e)](_0x4dedef,_0x3521d9,_0x2fb470),this['_deletePivotTableInstanceCache'](_0x2fb470);}['setPivotTable'](_0x1d0896,_0x331b6e,_0x248c19,_0x402711){const _0x1d9683=_0x3e64d8;this[_0x1d9683(0x34d)](_0x1d0896,_0x331b6e,_0x248c19,_0x402711);}[_0x3e64d8(0x26b)](_0x19b814,_0x4a189c,_0x44cbd8){const _0x38918b=_0x3e64d8;var _0x2cc01e,_0x43406c;const _0x314611=(_0x43406c=(_0x2cc01e=this[_0x38918b(0x1a3)]['get'](_0x19b814))==null?void 0x0:_0x2cc01e['get'](_0x4a189c))==null?void 0x0:_0x43406c['get'](_0x44cbd8);if(_0x314611)return _0x314611;}[_0x3e64d8(0x24b)](_0x56cf0b,_0x4f71fb,_0x4d69a8){const _0xbc53d3=_0x3e64d8;var _0x23f676,_0x59b1ad;const _0x349374=(_0x59b1ad=(_0x23f676=this[_0xbc53d3(0x1a3)][_0xbc53d3(0x1f3)](_0x56cf0b))==null?void 0x0:_0x23f676[_0xbc53d3(0x1f3)](_0x4f71fb))==null?void 0x0:_0x59b1ad[_0xbc53d3(0x1f3)](_0x4d69a8);if(_0x349374)return _0x349374['fieldsConfig'];}[_0x3e64d8(0x33f)](_0x5be1ba){const _0x5a5bd8=_0x3e64d8;return this[_0x5a5bd8(0x10d)][_0x5a5bd8(0x1f3)](_0x5be1ba);}['deleteUnitId'](_0x507e03){const _0x533507=_0x3e64d8;this[_0x533507(0x1a3)][_0x533507(0xda)](_0x507e03);const _0x36cea9=this[_0x533507(0x2d8)][_0x533507(0x1f3)](_0x507e03);_0x36cea9&&(_0x36cea9['dispose'](),this[_0x533507(0x2d8)][_0x533507(0xda)](_0x507e03)),this['_viewData'][_0x533507(0xda)](_0x507e03),this[_0x533507(0x266)][_0x533507(0x14a)](_0x234f3b=>{const _0x43b335=_0x533507;_0x234f3b[_0x43b335(0x197)](_0x507e03);});}['addCollectionByJSON'](_0x249abf,_0x265741,_0x52cb60,_0xd39864){const _0x34c56d=_0x3e64d8;return this[_0x34c56d(0x207)](_0x52cb60[_0x34c56d(0x1ba)])['addCollectionByJSON'](_0x249abf,_0x265741,_0x52cb60,_0xd39864);}[_0x3e64d8(0x239)](_0x3e14e5){const _0x51250b=_0x3e64d8;return this[_0x51250b(0x207)](_0x3e14e5['unitId'])[_0x51250b(0x239)](_0x3e14e5);}[_0x3e64d8(0x141)](_0x5cbf4d,_0x30d7d7,_0x43ec97){const _0x9168ee=_0x3e64d8;this[_0x9168ee(0x207)](_0x43ec97[_0x9168ee(0x1ba)])[_0x9168ee(0x141)](_0x5cbf4d,_0x30d7d7,_0x43ec97);}[_0x3e64d8(0x1f0)](_0x2970b9,_0x41df4f){const _0x1073d2=_0x3e64d8;this['getDataFieldManager'](_0x2970b9)[_0x1073d2(0x16a)](_0x41df4f);}[_0x3e64d8(0x105)](_0x39eb49,_0x495108){const _0x75175b=_0x3e64d8;this[_0x75175b(0x207)](_0x39eb49)['removeCollectionImp'](_0x495108);}[_0x3e64d8(0x2ae)](_0x31964e,_0x1b5eaf){const _0x5aaf10=_0x3e64d8;var _0x2b85c7;return(_0x2b85c7=this[_0x5aaf10(0x1a3)]['get'](_0x31964e))==null?void 0x0:_0x2b85c7[_0x5aaf10(0x1f3)](_0x1b5eaf);}[_0x3e64d8(0x187)](_0x178625){const _0x485626=_0x3e64d8;for(const [_0x643c9e,_0x64d974]of this[_0x485626(0x1a3)][_0x485626(0x2f8)]())for(const [_0x2f0303,_0x9a89c6]of _0x64d974[_0x485626(0x2f8)]())if(_0x9a89c6[_0x485626(0xe7)](_0x178625))return{'unitId':_0x643c9e,'subUnitId':_0x2f0303};return null;}[_0x3e64d8(0x1ad)](_0x262c64,_0x5890f6,_0x36b844,_0x5e4ab2){const _0x202bb3=_0x3e64d8,_0x150bc4=this[_0x202bb3(0x250)](_0x262c64,_0x5890f6);_0x5e4ab2?_0x150bc4[_0x202bb3(0x1b9)](_0x36b844,_0x5e4ab2):_0x150bc4['delete'](_0x36b844),this[_0x202bb3(0x214)][_0x202bb3(0xf6)]({'unitId':_0x262c64,'subUnitId':_0x5890f6,'pivotTableId':_0x36b844});}[_0x3e64d8(0x295)](){super['dispose']();}[_0x3e64d8(0x2a7)](_0x8873c5,_0x24afa3,_0x2ec3e2){const _0x3c8144=_0x3e64d8;var _0x4b8395,_0x559173;const _0x742031=(_0x559173=(_0x4b8395=this[_0x3c8144(0x2a5)][_0x3c8144(0x1f3)](_0x8873c5))==null?void 0x0:_0x4b8395['get'](_0x24afa3))==null?void 0x0:_0x559173['get'](_0x2ec3e2);return _0x742031||null;}[_0x3e64d8(0x157)](_0x240c7a){const _0x1d6939=_0x3e64d8;this[_0x1d6939(0x302)](_0x240c7a);}['updateDirtyPivotTable'](_0x3475b7){const _0x38a0c9=_0x3e64d8,{token:_0x2718c5,unitId:_0x558201,subUnitId:_0x106670}=_0x3475b7,_0x404ecf=_0x558201+'-'+_0x106670+'-'+_0x2718c5;this[_0x38a0c9(0x25e)][_0x38a0c9(0x1f3)](_0x404ecf)&&clearTimeout(this[_0x38a0c9(0x25e)]['get'](_0x404ecf));const _0x17956b=setTimeout(()=>{const _0x1c2495=_0x38a0c9;this[_0x1c2495(0x291)](_0x3475b7),this[_0x1c2495(0x25e)][_0x1c2495(0xda)](_0x404ecf);},Pi);this['_queryingMap'][_0x38a0c9(0x1b9)](_0x404ecf,_0x17956b);}['queryDirtyPivotTable'](_0x4a37df){const _0x38045c=_0x3e64d8,{unitId:_0x42c168,subUnitId:_0x27bb56,token:_0x471ac3,type:_0x4edc59,pivotConfig:_0x290a82}=_0x4a37df,_0x262c12=this[_0x38045c(0x33f)](_0x471ac3),_0x64008=_0x262c12==null?void 0x0:_0x262c12[_0x38045c(0x2ba)](),_0x6b9cd7=_0x290a82!=null?_0x290a82:this[_0x38045c(0x26b)](_0x42c168,_0x27bb56,_0x471ac3);_0x6b9cd7&&(_0x6b9cd7['isEmpty']=!!(_0x262c12!=null&&_0x262c12[_0x38045c(0x1c5)]())),(_0x64008||_0x4edc59===H[_0x38045c(0x28e)])&&this[_0x38045c(0x19e)](_0x42c168,_0x27bb56,_0x4edc59,_0x471ac3,_0x64008,_0x6b9cd7,this['getDataFieldManager'](_0x42c168)[_0x38045c(0x2db)]());}[_0x3e64d8(0x2db)](_0x17218b){const _0x19e7de=_0x3e64d8,_0x24d8cc={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x19e7de(0x207)](_0x17218b)&&(_0x24d8cc[_0x19e7de(0x2a3)][_0x17218b]=this[_0x19e7de(0x207)](_0x17218b)[_0x19e7de(0x2db)]()),this[_0x19e7de(0x1a3)]['get'](_0x17218b)){_0x24d8cc[_0x19e7de(0xe8)][_0x17218b]={};const _0x2969a3=this[_0x19e7de(0x1a3)][_0x19e7de(0x1f3)](_0x17218b);_0x2969a3!=null&&_0x2969a3[_0x19e7de(0x2b7)]&&[..._0x2969a3[_0x19e7de(0x19b)]()][_0x19e7de(0x14a)](_0x4734d3=>{const _0x2a768e=_0x19e7de,_0x19c6e9=_0x2969a3['get'](_0x4734d3);_0x19c6e9!=null&&_0x19c6e9[_0x2a768e(0x2b7)]&&(_0x24d8cc[_0x2a768e(0xe8)][_0x17218b][_0x4734d3]={},[..._0x19c6e9[_0x2a768e(0x19b)]()][_0x2a768e(0x14a)](_0x3da1f8=>{const _0x442609=_0x2a768e,_0x4dcb7b=_0x19c6e9[_0x442609(0x1f3)](_0x3da1f8);_0x4dcb7b&&(_0x24d8cc[_0x442609(0xe8)][_0x17218b][_0x4734d3][_0x3da1f8]=_0x4dcb7b);}));});}return _0x24d8cc;}[_0x3e64d8(0x2c3)](_0x6f2703){const _0x27c602=_0x3e64d8;var _0x18bf3f;const {dataFieldManagerConfig:_0x436d04,pivotTableConfigs:_0x40f8a8}=_0x6f2703;_0x436d04&&Object[_0x27c602(0x19b)](_0x436d04)[_0x27c602(0x14a)](_0x1606b7=>{const _0x30df04=_0x27c602;this['getDataFieldManager'](_0x1606b7)[_0x30df04(0x2c3)](_0x436d04[_0x1606b7]);});const _0x3bffb9=[];if(_0x40f8a8){const _0x690cff=(_0x18bf3f=this['_injector'][_0x27c602(0x1f3)](_0x1b9dd7)['getConfig'](_0x1eec45))!=null?_0x18bf3f:{},{ls:_0x3923d7,pbk:_0x112d2f}=_0x690cff,_0x2befef=go(so,_0x3923d7,_0x112d2f)[_0x27c602(0x19a)];Object[_0x27c602(0x19b)](_0x40f8a8)[_0x27c602(0x14a)](_0x2f88a2=>{const _0x2631af=_0x27c602;let _0x3eac66=0x0;const _0x342e1c=_0x40f8a8[_0x2f88a2];Object[_0x2631af(0x19b)](_0x342e1c)[_0x2631af(0x14a)](_0x127aed=>{const _0x18ddf5=_0x2631af,_0x320e5f=_0x342e1c[_0x127aed];Object[_0x18ddf5(0x19b)](_0x320e5f)[_0x18ddf5(0x14a)](_0x4f3564=>{const _0x46a65f=_0x18ddf5,_0x46f425=_0x320e5f[_0x4f3564];if(_0x46f425){if(_0x3eac66>=_0x2befef)return;_0x3eac66++;const _0x3a896b=this[_0x46a65f(0x207)](_0x2f88a2),_0x52dc93=_0x3a896b[_0x46a65f(0x256)][_0x4f3564],_0xbfd42=_0x52dc93['getFieldIds']();let _0x1b91f7=0x0;const _0x59ee91=[];for(const _0x727f9c of _0xbfd42){const _0x1e14cb=_0x52dc93[_0x46a65f(0x1ca)](_0x727f9c);if(_0xf5ac43(_0x1e14cb)){const _0x18288a=_0x1e14cb[_0x46a65f(0x21c)](),_0x8bc795=_0x52dc93['getFieldById'](_0x18288a);_0x8bc795&&_0x59ee91['push']([_0x1e14cb,_0x8bc795]);continue;}_0x3a896b[_0x46a65f(0xd2)](_0x727f9c,_0x46f425[_0x46a65f(0x1e8)],_0x1b91f7),_0x1b91f7++;}_0x59ee91['forEach'](([_0x519db1,_0x226de6])=>{const _0x2397b3=_0x46a65f;_0x519db1[_0x2397b3(0x1a8)](_0x226de6);});const _0x45460f=new _0x1c5293(_0x52dc93);_0x45460f[_0x46a65f(0x2c3)](_0x46f425[_0x46a65f(0x31f)]),this[_0x46a65f(0x12f)](_0x2f88a2,_0x127aed,_0x4f3564,_0x45460f,_0x46f425);const _0xa81de0=_0x45460f[_0x46a65f(0x2ba)]();_0x3bffb9[_0x46a65f(0x2b6)]({'unitId':_0x2f88a2,'subUnitId':_0x127aed,'pivotTableId':_0x4f3564,'view':_0xa81de0[_0x46a65f(0x2db)](),'pivotConfig':_0x46f425,'type':H['Add']});const _0x14fe7a=!!_0x45460f[_0x46a65f(0x1c5)](),_0x524025={'view':_0xa81de0,'pivotTableId':_0x4f3564,'textInfo':this[_0x46a65f(0x175)](),'isEmpty':_0x14fe7a,'targetCellInfo':_0x46f425[_0x46a65f(0x1ff)]};this['updateViewData'](_0x524025,!0x1);}});});});}_0x436d04&&Object[_0x27c602(0x19b)](_0x436d04)['forEach'](_0x3816d9=>{const _0x392504=_0x27c602,_0x259022=this[_0x392504(0x207)](_0x3816d9);this[_0x392504(0x318)][_0x392504(0xf6)](_0x259022[_0x392504(0x256)]);}),this[_0x27c602(0x13a)][_0x27c602(0x279)](Dt['id'],{'batch':_0x3bffb9,'collectionConfig':_0x436d04},{'onlyLocal':!0x0});}[_0x3e64d8(0x31b)](){const _0x2f6baa=_0x3e64d8;this['disposeWithMe'](this[_0x2f6baa(0x2e6)][_0x2f6baa(0x171)]({'toJson':_0x71207=>JSON[_0x2f6baa(0x20b)](this[_0x2f6baa(0x2db)](_0x71207)),'parseJson':_0x6e773f=>{const _0x37e6b2=_0x2f6baa;if(!_0x6e773f)return{};try{return JSON[_0x37e6b2(0xe2)](_0x6e773f);}catch{return{};}},'businesses':[_0x273a5e[_0x2f6baa(0x180)]],'pluginName':ao,'onLoad':(_0x3b9d0f,_0x2c63f0)=>{const _0x453071=_0x2f6baa;this[_0x453071(0x2c3)](_0x2c63f0);},'onUnLoad':_0x1f7954=>{const _0x10b626=_0x2f6baa;this[_0x10b626(0x197)](_0x1f7954);}}));}};$=Ni([nt(0x0,_0x5e764c(_0x4a79fb)),nt(0x1,_0x4eff45),nt(0x2,_0x5e764c(_0x53e3f8)),nt(0x3,_0x56dc87),nt(0x4,_0x5e764c(_0x38cbb2))],$);const Vi={0x0:{0x0:{'v':'filter','s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':'column','s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x8:{0x0:{'v':_0x3e64d8(0x2e7),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':_0x3e64d8(0x21d),'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':[]},Wo=(_0xe350f0,_0x22a458)=>{const _0x4e5f29=_0x3e64d8,_0x3d3769=new _0x2067c1(),_0xcb91d4=new _0x2067c1(Vi),{row:_0x3dc382,col:_0x4cbdf2}=_0x22a458;_0xcb91d4[_0x4e5f29(0xde)]((_0x3376c5,_0x1a1a82,_0x5d17cc)=>{const _0x386b32=_0x4e5f29;let _0x1f3a8f='';_0x5d17cc['v']===_0x386b32(0x2b5)?_0x1f3a8f=_0xe350f0[_0x386b32(0x2b5)]:_0x5d17cc['v']===_0x386b32(0x2e7)?_0x1f3a8f=_0xe350f0[_0x386b32(0x2e7)]:_0x5d17cc['v']===_0x386b32(0x226)?_0x1f3a8f=_0xe350f0['column']:_0x5d17cc['v']===_0x386b32(0x21d)&&(_0x1f3a8f=_0xe350f0['values']),_0x3d3769['setValue'](_0x3376c5+_0x3dc382,_0x1a1a82+_0x4cbdf2,{..._0x5d17cc,'v':_0x1f3a8f});});const _0x484510=_0x4d403b[_0x4e5f29(0x1f9)](Lt);return Object[_0x4e5f29(0x19b)](Lt)[_0x4e5f29(0x14a)](_0x39d117=>{const _0xceb68f=_0x4e5f29;_0x484510[_0x39d117]=Lt[_0x39d117]['map'](_0x4e877a=>({..._0x4e877a,'startRow':_0x4e877a[_0xceb68f(0x31a)]+_0x3dc382,'endRow':_0x4e877a[_0xceb68f(0x129)]+_0x3dc382,'startColumn':_0x4e877a[_0xceb68f(0x178)]+_0x4cbdf2,'endColumn':_0x4e877a[_0xceb68f(0x1fa)]+_0x4cbdf2}));}),{'matrixCache':_0x3d3769,'rangesCache':_0x484510};};function Oi(_0x5c82c8,_0x313095){const _0x44907c=_0x3e64d8;let _0x139f00='';const _0x324065=this['getTextInfo']();switch(_0x313095){case _0x2ae972[_0x44907c(0x31c)]:_0x139f00=_0x324065[_0x44907c(0x108)]+_0x5c82c8;break;case _0x2ae972[_0x44907c(0x19a)]:_0x139f00=_0x324065[_0x44907c(0x12b)]+_0x5c82c8;break;case _0x2ae972[_0x44907c(0xec)]:_0x139f00=_0x324065[_0x44907c(0x11d)]+_0x5c82c8;break;case _0x2ae972[_0x44907c(0x343)]:_0x139f00=_0x324065[_0x44907c(0x20d)]+_0x5c82c8;break;case _0x2ae972['min']:_0x139f00=_0x324065[_0x44907c(0x30b)]+_0x5c82c8;break;case _0x2ae972[_0x44907c(0xe1)]:_0x139f00=_0x324065['sheets-pivot.productName']+_0x5c82c8;break;case _0x2ae972[_0x44907c(0x232)]:_0x139f00=_0x324065['sheets-pivot.stdDevName']+_0x5c82c8;break;case _0x2ae972[_0x44907c(0x247)]:_0x139f00=_0x324065['sheets-pivot.stdDevpName']+_0x5c82c8;break;case _0x2ae972[_0x44907c(0x264)]:_0x139f00=_0x324065['sheets-pivot.sumName']+_0x5c82c8;break;case _0x2ae972['var']:_0x139f00=_0x324065[_0x44907c(0x2c2)]+_0x5c82c8;break;case _0x2ae972[_0x44907c(0xd3)]:_0x139f00=_0x324065[_0x44907c(0x317)]+_0x5c82c8;break;default:_0x139f00=_0x5c82c8;break;}return _0x139f00;}function Ui(_0x54b1db,_0x12ceb8,_0x48135a,_0x33990c,_0xdd3111){const _0x6aa28c=_0x3e64d8;var _0x26030f,_0x242661,_0x30ec73,_0x28bb89,_0x388f2d;const _0x436a88=_0x42af7f(_0x54b1db,_0x12ceb8),{rangesInfo:_0x744932,areaInfo:_0x5d8595,headerMap:_0x5cae6a}=_0xdd3111;if(!_0x744932||!_0x5d8595||!_0x5cae6a)return;const _0x57052e=Object['keys'](_0x744932)[_0x6aa28c(0x20a)](_0x2be704=>_0x744932[_0x2be704]['some'](_0x1c639c=>_0x5e2546[_0x6aa28c(0x1bf)](_0x1c639c,_0x436a88))),_0x4488eb=_0x5d8595;let _0x2964ac,_0x5ca6d8,_0x440132;if(_0x57052e===_0x6aa28c(0xdd))_0x2964ac=(_0x26030f=_0x4488eb==null?void 0x0:_0x4488eb[_0x6aa28c(0x258)])==null?void 0x0:_0x26030f[_0x54b1db],_0x5ca6d8=(_0x242661=_0x5cae6a==null?void 0x0:_0x5cae6a['rowHeaderMap'])==null?void 0x0:_0x242661[_0x12ceb8],_0x440132=_0x5ca6d8==null?void 0x0:_0x5ca6d8[_0x6aa28c(0x298)];else{if(_0x57052e==='colRanges')_0x2964ac=(_0x30ec73=_0x4488eb==null?void 0x0:_0x4488eb[_0x6aa28c(0x138)])==null?void 0x0:_0x30ec73[_0x12ceb8],_0x5ca6d8=(_0x28bb89=_0x5cae6a[_0x6aa28c(0x324)])==null?void 0x0:_0x28bb89[_0x54b1db+0x1+_0x12ceb8-_0x744932['colRanges'][0x0]['startColumn']],_0x440132=_0x5ca6d8==null?void 0x0:_0x5ca6d8['tableFieldId'];else{if(_0x57052e==='cornerRanges')_0x2964ac=(_0x388f2d=_0x4488eb==null?void 0x0:_0x4488eb[_0x6aa28c(0x2d1)])==null?void 0x0:_0x388f2d[_0x12ceb8],_0x440132=_0x2964ac==null?void 0x0:_0x2964ac[_0x6aa28c(0x298)];else{if(_0x57052e==='pageRanges'){const _0x3f39f3=_0x48135a==null?void 0x0:_0x48135a['fi'];_0x3f39f3!==void 0x0&&(_0x440132=_0x33990c[_0x6aa28c(0x189)](_0x3f39f3));}}}}return{'filterId':_0x440132,'info':_0x2964ac,'data':_0x48135a,'headerInfo':_0x5ca6d8};}function Ei(_0x51d4f9,_0x508d83,_0x317973){const _0x11c432=_0x3e64d8,_0x2ef95b=_0x51d4f9[_0x11c432(0x1dd)],_0x30aadf=_0x2ef95b['getFieldIds'](),_0x21b7ac=new Set();_0x51d4f9[_0x11c432(0x11f)](_0x1df538=>{const _0x5537e3=_0x11c432;_0x21b7ac[_0x5537e3(0x167)](_0x1df538['dataFieldId']);});const _0x4c9c97=_0x30aadf['map'](_0x1564ae=>{const _0x2bc460=_0x11c432,_0x511e3c=_0x2ef95b[_0x2bc460(0x1ca)](_0x1564ae);return{'checked':_0x21b7ac['has'](_0x1564ae),'dataFieldId':_0x511e3c['id'],'id':_0x511e3c['id'],'name':_0x2ef95b[_0x2bc460(0x1c3)](_0x511e3c['id']),'type':_0x511e3c[_0x2bc460(0x304)](),'pivotTableId':_0x508d83};}),_0x433277=[];_0x51d4f9[_0x11c432(0x201)](_0x5bb14c[_0x11c432(0x16b)],_0x547138=>{const _0x5658e8=_0x11c432;_0x433277[_0x5658e8(0x2b6)]({'dataFieldId':_0x547138[_0x5658e8(0x293)],'tableFieldId':_0x547138['getId'](),'displayName':_0x547138[_0x5658e8(0x1c3)]()});});const _0x157335=[];_0x51d4f9[_0x11c432(0x201)](_0x5bb14c[_0x11c432(0x2d2)],_0x10ea21=>{const _0x38ebc4=_0x11c432;_0x157335[_0x38ebc4(0x2b6)]({'dataFieldId':_0x10ea21[_0x38ebc4(0x293)],'tableFieldId':_0x10ea21[_0x38ebc4(0x10b)](),'displayName':_0x10ea21[_0x38ebc4(0x1c3)]()});});const _0x3015f1=[];if(_0x51d4f9[_0x11c432(0x201)](_0x5bb14c[_0x11c432(0x203)],_0x21ab11=>{const _0x24310f=_0x11c432;_0x3015f1[_0x24310f(0x2b6)]({'dataFieldId':_0x21ab11[_0x24310f(0x293)],'tableFieldId':_0x21ab11['getId'](),'displayName':_0x21ab11[_0x24310f(0x1c3)](),'format':_0x21ab11[_0x24310f(0x150)](),'subTotalType':_0x21ab11[_0x24310f(0x334)]()});}),_0x3015f1['length']>0x1){const _0x291cb1=_0x51d4f9[_0x11c432(0x183)]();(_0x51d4f9[_0x11c432(0x261)]()?_0x157335:_0x433277)['splice'](_0x291cb1,0x0,{'dataFieldId':'','tableFieldId':_0x11c432(0x119),'displayName':_0x11c432(0x2a9)});}const _0x42dac3=[];_0x51d4f9[_0x11c432(0x201)](_0x5bb14c[_0x11c432(0x233)],_0x5879e0=>{const _0x476c22=_0x11c432;_0x42dac3['push']({'dataFieldId':_0x5879e0[_0x476c22(0x293)],'tableFieldId':_0x5879e0[_0x476c22(0x10b)](),'displayName':_0x5879e0[_0x476c22(0x1c3)]()});});const _0x4a7bd9=_0x317973[_0x11c432(0x1e8)];return{'sourceList':_0x4c9c97,'sourceRange':_0x4a7bd9,'rowFields':_0x433277,'columnFields':_0x157335,'valueFields':_0x3015f1,'filterFields':_0x42dac3,'positionInfo':_0x317973['targetCellInfo']};}function fo(_0x50bb68,_0x23a8e8,_0x5a697e='',_0x1894a8={}){const _0x1b3a0c=_0x3e64d8,_0x4925a8=_0x50bb68[_0x1b3a0c(0x1f3)](_0x34afa6);for(const _0x36a794 in _0x23a8e8)if(Object['prototype']['hasOwnProperty'][_0x1b3a0c(0x1db)](_0x23a8e8,_0x36a794)){const _0xfb2ef0=_0x5a697e?_0x5a697e+'.'+_0x36a794:_0x36a794;typeof _0x23a8e8[_0x36a794]==_0x1b3a0c(0x2a8)&&_0x23a8e8[_0x36a794]!==null&&!Array[_0x1b3a0c(0x126)](_0x23a8e8[_0x36a794])?fo(_0x50bb68,_0x23a8e8[_0x36a794],_0xfb2ef0,_0x1894a8):_0x1894a8[_0xfb2ef0]=_0x4925a8['t'](_0xfb2ef0);}return _0x1894a8;}const Ht=_0x3dcc14=>{const _0x5b0ce6=_0x3e64d8;if(!_0x3dcc14)return[];const {rowRanges:_0x2976f6,colRanges:_0x3d3657,cornerRanges:_0x40ad09,dataRanges:_0x582cea,pageRanges:_0x327bf4}=_0x3dcc14,_0x3b50aa=[..._0x3d3657,..._0x2976f6,..._0x582cea,..._0x40ad09][_0x5b0ce6(0x2b5)](_0x1c9489=>_0x1c9489[_0x5b0ce6(0x31a)]>=0x0&&_0x1c9489[_0x5b0ce6(0x178)]>=0x0&&_0x1c9489[_0x5b0ce6(0x129)]>=0x0&&_0x1c9489[_0x5b0ce6(0x1fa)]>=0x0);let _0x254d85=Number['MAX_SAFE_INTEGER'],_0x3a39c1=Number[_0x5b0ce6(0xf2)],_0x5ca542=Number[_0x5b0ce6(0x179)],_0x51c517=Number[_0x5b0ce6(0xf2)];for(let _0x2acd7b=0x0;_0x2acd7b<_0x3b50aa[_0x5b0ce6(0x169)];_0x2acd7b++)_0x254d85=Math[_0x5b0ce6(0x1ec)](_0x254d85,_0x3b50aa[_0x2acd7b][_0x5b0ce6(0x31a)]),_0x3a39c1=Math[_0x5b0ce6(0x343)](_0x3a39c1,_0x3b50aa[_0x2acd7b]['endRow']),_0x5ca542=Math['min'](_0x5ca542,_0x3b50aa[_0x2acd7b]['startColumn']),_0x51c517=Math[_0x5b0ce6(0x343)](_0x51c517,_0x3b50aa[_0x2acd7b][_0x5b0ce6(0x1fa)]);return[..._0x327bf4,{'startRow':_0x254d85,'endRow':_0x3a39c1,'startColumn':_0x5ca542,'endColumn':_0x51c517}];};function xi(_0x34a28b,_0x704cdb){const _0x421ee8=_0x3e64d8,_0x267a55=_0x704cdb[_0x421ee8(0x1e6)][_0x421ee8(0x335)],{pivotTableId:_0x536bde,unitId:_0x2ba4d4,subUnitId:_0x561644}=_0x704cdb;if(!_0x267a55)return;const _0x39b3bf=_0x34a28b[_0x421ee8(0x1f3)]($),_0x55ae5e=_0x39b3bf[_0x421ee8(0x33f)](_0x536bde),_0x113c61=_0x39b3bf[_0x421ee8(0x26b)](_0x2ba4d4,_0x561644,_0x536bde);if(!_0x55ae5e||!_0x113c61)return;const _0x4b38f8=_0x55ae5e[_0x421ee8(0x223)](_0x267a55[_0x421ee8(0xeb)]);if(!(_0x4b38f8!=null&&_0x4b38f8[_0x421ee8(0x169)]))return;const _0x17ba38=_0x113c61['sourceRangeInfo'],{unitId:_0x4a0819,subUnitId:_0x4584c3,range:_0x749405}=_0x17ba38;let _0x21d03c=0x0;const _0x56994f=_0x55ae5e['dataFieldsCollection'][_0x421ee8(0x215)]()[_0x421ee8(0x208)]((_0x1d53ce,_0x484a61)=>{const _0x539dcd=_0x421ee8;var _0x4fabd4;const _0x126e5e=(_0x4fabd4=_0x55ae5e[_0x539dcd(0x128)](_0x484a61))==null?void 0x0:_0x4fabd4[_0x539dcd(0x1b0)]();return _0x126e5e&&(_0x1d53ce[String(_0x21d03c)]=_0x126e5e),_0x21d03c++,_0x1d53ce;},{});return{'indexes':_0x4b38f8,'range':_0x749405,'sourceUnitId':_0x4a0819,'sourceSubUnitId':_0x4584c3,'formatMap':_0x56994f};}function jo(_0x1164c6,_0x3f8931){const _0x5577f4=_0x3e64d8;if(!_0x1164c6||!_0x3f8931)return!0x0;const _0x14ab6d=_0x2f865f(Jo,$o),_0x546047=new Function(_0x5577f4(0xdf)+_0x14ab6d)()(_0x1164c6,_0x3f8931)[_0x5577f4(0x2ec)],_0x2cb8c9=_0x2859f2(_0x546047,'sf',Ao);return!((_0x546047==null?void 0x0:_0x546047['rt'])===_0x409f2c[_0x5577f4(0xd1)]&&!_0x2cb8c9);}function go(_0x38110e,_0xa20952,_0x1d2cb3){const _0x5e2d24=_0x3e64d8,_0x4c55b2={'count':_0x38110e,'timeValid':!0x1};if(!_0xa20952||!_0x1d2cb3)return _0x4c55b2;const _0x3dffd8=_0x2f865f(Jo,$o),_0x392110=new Function(_0x5e2d24(0xdf)+_0x3dffd8)()(_0xa20952,_0x1d2cb3);if(_0x392110!=null&&_0x392110[_0x5e2d24(0x26c)]){const _0x4a8dfb=_0x392110['message'],_0x9cfde6=_0x2859f2(_0x4a8dfb,'sf',Ao);return{'count':_0x345642(_0x4a8dfb,_0x9cfde6,'ptn',_0x38110e,_0x38110e,0x0),'timeValid':_0x9cfde6};}return _0x4c55b2;}function Go(_0x2bfd0e,_0x267a67,_0x33556a,_0x263054){const _0x2f90d2=_0x3e64d8,_0x5cffe7={'subUnitId':_0x33556a,'unitId':_0x267a67,'cellValue':_0x2a217c(_0x263054)},_0x249752=_0x52bcf3(_0x2bfd0e,_0x5cffe7);let _0x2d51ec=!0x1;return new _0x2067c1(_0x249752[_0x2f90d2(0x2ad)])[_0x2f90d2(0xde)]((_0x5b371f,_0x32f409,_0x18d59a)=>{const _0x45bded=_0x2f90d2;if(!_0x2d51ec&&_0x18d59a&&(_0x18d59a[_0x45bded(0x33e)]||_0x18d59a['f']||_0x18d59a['p']||_0x18d59a['s']||_0x18d59a['si']||_0x18d59a['t']||_0x18d59a['v']))return _0x2d51ec=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x1f88a6['id'],'params':_0x249752},'setRangeValueRedoMutation':{'id':_0x1f88a6['id'],'params':_0x5cffe7},'shouldClear':_0x2d51ec};}function Ai(_0x603e20){const {row:_0x2a80ec,col:_0x44a8da}=_0x603e20,_0x452f4c={'startRow':_0x2a80ec,'endRow':_0x2a80ec,'startColumn':_0x44a8da,'endColumn':_0x44a8da},_0xeecb31={'startRow':_0x2a80ec+0x2,'endRow':_0x2a80ec+0xe,'startColumn':_0x44a8da,'endColumn':_0x44a8da+0x6};return[_0x452f4c,_0xeecb31];}function ki(_0x5b0162,_0x2b9260,_0x1e3ac5){const _0x221250=_0x3e64d8,{cornerView:_0x25bd01,rowView:_0x578c54,colView:_0x29c887,pageView:_0x3cf5d4}=_0x5b0162,{row:_0x2b0fc3,col:_0xa2a9a6}=_0x2b9260;if(_0x1e3ac5)return{'rowCount':Ci+_0x2b0fc3,'colCount':bi+_0xa2a9a6};const _0x1a57ef=_0x3cf5d4[_0x221250(0x21e)]>-0x1?_0x3cf5d4[_0x221250(0x21e)]+0x1:0x0,_0x3e2aa1=_0x3cf5d4['lastCol']>-0x1?_0x3cf5d4[_0x221250(0x2f9)]:0x0,_0x17e25d=_0x2b0fc3+_0x1a57ef+(_0x1a57ef?0x1:0x0)+_0x25bd01[_0x221250(0x114)]+_0x578c54[_0x221250(0x114)],_0x4b3b63=_0xa2a9a6+_0x3e2aa1,_0x26e973=_0xa2a9a6+_0x25bd01[_0x221250(0x101)]+_0x29c887[_0x221250(0x101)],_0x1184da=Math[_0x221250(0x343)](_0x4b3b63,_0x26e973);return{'rowCount':_0x17e25d,'colCount':_0x1184da};}function we(_0x3e4766,_0x3848e9,_0x1ae252,_0x510e57){const _0x1d6592=_0x3e64d8,{row:_0xe61cf4,col:_0x2a7443,unitId:_0x37cf07,subUnitId:_0x535b74}=_0x1ae252,_0x190bb6=ki(_0x3848e9,{'row':_0xe61cf4,'col':_0x2a7443},_0x510e57),_0xb4bf3=_0x3e4766[_0x1d6592(0x1f3)](_0x4eff45),_0x3dd6f3=_0x3a629a(_0xb4bf3,{'unitId':_0x37cf07,'subUnitId':_0x535b74}),_0x1d4894=[],_0x2cbecc=[];if(!_0x3dd6f3)return{'undos':_0x2cbecc,'redos':_0x1d4894};const {worksheet:_0x253dee}=_0x3dd6f3,_0x5bc367=_0x253dee[_0x1d6592(0x240)](),_0xa1c340=_0x253dee['getColumnCount']();return _0x5bc367<_0x190bb6['rowCount']&&(_0x1d4894[_0x1d6592(0x2b6)]({'id':_0x20bd3b['id'],'params':{'unitId':_0x37cf07,'subUnitId':_0x535b74,'range':{'startRow':_0x5bc367,'endRow':_0x190bb6['rowCount']-0x1,'startColumn':0x0,'endColumn':_0xa1c340-0x1}}}),_0x2cbecc[_0x1d6592(0x2b6)]({'id':_0x260841['id'],'params':{'unitId':_0x37cf07,'subUnitId':_0x535b74,'range':{'startRow':_0x5bc367,'endRow':_0x190bb6[_0x1d6592(0x114)]-0x1,'startColumn':0x0,'endColumn':_0xa1c340-0x1}}})),_0xa1c340<_0x190bb6['colCount']&&(_0x1d4894[_0x1d6592(0x2b6)]({'id':_0x4d5485['id'],'params':{'unitId':_0x37cf07,'subUnitId':_0x535b74,'range':{'startRow':0x0,'endRow':_0x5bc367-0x1,'startColumn':_0xa1c340,'endColumn':_0x190bb6['colCount']-0x1}}}),_0x2cbecc['push']({'id':_0x1c8efe['id'],'params':{'unitId':_0x37cf07,'subUnitId':_0x535b74,'range':{'startRow':0x0,'endRow':_0x5bc367-0x1,'startColumn':_0xa1c340,'endColumn':_0x190bb6[_0x1d6592(0x101)]-0x1}}})),{'undos':_0x2cbecc,'redos':_0x1d4894};}function Bi(_0x34d549){const _0x481326=_0x3e64d8;let _0x2c0828=0x0;for(let _0x255b4e=0x0;_0x255b4e<_0x34d549[_0x481326(0x169)];_0x255b4e++){const _0x4240e8=_0x34d549[_0x481326(0xdc)](_0x255b4e);_0x4240e8>=0x4e00&&_0x4240e8<=0x9fff||_0x4240e8>=0x3000&&_0x4240e8<=0x303f||_0x4240e8>=0xff00&&_0x4240e8<=0xffef?_0x2c0828+=0x2:_0x2c0828+=0x1;}return _0x2c0828;}function Mo(_0x20f25e,_0x26bade,_0x490e42,_0x2a2a98){const _0x28e71d=_0x3e64d8;var _0x2071b6,_0xde41,_0x1c4f95,_0x5dfed5;const {rowCount:_0x291336,colCount:_0x2f209b,headerMap:_0x36f9c8}=_0x20f25e,_0x14bff9=0x64,_0xf63d37=Math[_0x28e71d(0x1ec)](_0x291336,_0x14bff9),_0x21d3be=Math[_0x28e71d(0x1ec)](_0x2f209b,_0x14bff9);let _0x57d152='',_0x2a94a0=0x0;for(let _0xb22412=0x0;_0xb22412<_0xf63d37;_0xb22412++)for(let _0xb47c98=0x0;_0xb47c98<_0x21d3be;_0xb47c98++){const _0x46b037={...(_0xde41=(_0x2071b6=_0x20f25e['data'])==null?void 0x0:_0x2071b6[_0xb22412])==null?void 0x0:_0xde41[_0xb47c98]},_0x1d6d86=(_0x1c4f95=_0x36f9c8[_0xb22412])==null?void 0x0:_0x1c4f95['tableFieldId'],_0x4d8e2e=_0x2a2a98[_0x1d6d86];let _0x3ef92e=_0x20f25e[_0x28e71d(0x1d2)](_0xb22412,_0xb47c98);if(_0x46b037){const _0x54e63c=_0x490e42?_0xb47c98===0x0&&((_0x5dfed5=_0x20f25e['getHeaderMapItem'](_0xb47c98+0x1))==null?void 0x0:_0x5dfed5[_0x28e71d(0x1c4)]):!0x1;_0x3ef92e=ht(_0x46b037,_0x54e63c,_0x4d8e2e,_0x26bade);}if(_0x3ef92e!==void 0x0){const _0x485d6a=Bi(String(_0x3ef92e));_0x2a94a0<_0x485d6a&&(_0x57d152=String(_0x3ef92e),_0x2a94a0=_0x485d6a);}}return _0x57d152;}function Li(_0x41ded2){const _0x3176b1=_0x3e64d8,{rowCount:_0x46a24f,colCount:_0x1db97f}=_0x41ded2;let _0x7061f7='',_0x2017b4=0x0;for(let _0x542604=_0x46a24f-0x1;_0x542604>0x0&&_0x542604>_0x46a24f-0x3;_0x542604--)for(let _0x393298=0x0;_0x393298<_0x1db97f;_0x393298++){const _0x59e71a=_0x41ded2[_0x3176b1(0x1d2)](_0x542604,_0x393298);if(_0x59e71a!==void 0x0){const _0x3cc28e=String(_0x59e71a)[_0x3176b1(0x169)];_0x2017b4<_0x3cc28e&&(_0x7061f7=String(_0x59e71a),_0x2017b4=_0x3cc28e);}}return _0x7061f7;}function Hi(_0xd1f609){const _0x568a1c=_0x3e64d8,{rowCount:_0x3bea26,colCount:_0x25fcd4}=_0xd1f609;let _0x30fe57='',_0x4528ae=0x0;for(let _0x21b9b4=0x0;_0x21b9b4<_0x3bea26;_0x21b9b4++)for(let _0xe63c4b=0x0;_0xe63c4b<_0x25fcd4;_0xe63c4b++){const _0x385c56=_0xd1f609[_0x568a1c(0x1d2)](_0x21b9b4,_0xe63c4b);if(_0x385c56!==void 0x0){const _0xff038a=String(_0x385c56)[_0x568a1c(0x169)];_0x4528ae<_0xff038a&&(_0x30fe57=String(_0x385c56),_0x4528ae=_0xff038a);}}return _0x30fe57;}function $i(_0x17a589,_0x43f54c){const _0x5b5c03=_0x3e64d8,{rowFields:_0x12969e,columnFields:_0x14de56,valueFields:_0x50185c,filterFields:_0x4909fc,dimension:_0x5b1911,measure:_0x3f2c8c}=_0x43f54c;for(const _0x3b3d2d of _0x12969e){const _0x17aae9=_0x5b1911[_0x3b3d2d];_0x17aae9&&_0x17a589['getDataFieldByDataFieldId'](_0x17aae9[_0x5b5c03(0x293)])&&(_0x17a589[_0x5b5c03(0x148)](_0x17aae9[_0x5b5c03(0x293)],_0x5bb14c[_0x5b5c03(0x16b)],void 0x0,_0x3b3d2d),_0x17aae9[_0x5b5c03(0x10a)]&&_0x17a589[_0x5b5c03(0x2ff)](_0x17aae9['id'],_0x17aae9['displayName']),_0x17aae9[_0x5b5c03(0x1f2)]&&_0x17a589[_0x5b5c03(0x28f)](_0x17aae9['id'],_0x17aae9[_0x5b5c03(0x1f2)]),_0x17aae9[_0x5b5c03(0x154)]&&_0x17a589[_0x5b5c03(0x166)](_0x17aae9['id'],_0x17aae9[_0x5b5c03(0x154)]));}for(const _0x1349eb of _0x14de56){const _0x3c7e00=_0x5b1911[_0x1349eb];_0x3c7e00&&_0x17a589[_0x5b5c03(0x128)](_0x3c7e00[_0x5b5c03(0x293)])&&(_0x17a589['addFieldWithSourceId'](_0x3c7e00[_0x5b5c03(0x293)],_0x5bb14c[_0x5b5c03(0x2d2)],void 0x0,_0x1349eb),_0x3c7e00[_0x5b5c03(0x1f2)]&&_0x17a589[_0x5b5c03(0x28f)](_0x3c7e00['id'],_0x3c7e00[_0x5b5c03(0x1f2)]),_0x3c7e00[_0x5b5c03(0x154)]&&_0x17a589[_0x5b5c03(0x166)](_0x3c7e00['id'],_0x3c7e00[_0x5b5c03(0x154)]),_0x3c7e00['displayName']&&_0x17a589[_0x5b5c03(0x2ff)](_0x3c7e00['id'],_0x3c7e00[_0x5b5c03(0x10a)]));}for(const _0x4a1f58 of _0x4909fc){const _0x127621=_0x5b1911[_0x4a1f58];_0x127621&&_0x17a589[_0x5b5c03(0x128)](_0x127621[_0x5b5c03(0x293)])&&(_0x17a589[_0x5b5c03(0x148)](_0x127621[_0x5b5c03(0x293)],_0x5bb14c['Filter'],void 0x0,_0x4a1f58),_0x127621[_0x5b5c03(0x1f2)]&&_0x17a589[_0x5b5c03(0x28f)](_0x127621['id'],_0x127621[_0x5b5c03(0x1f2)]),_0x127621[_0x5b5c03(0x154)]&&_0x17a589[_0x5b5c03(0x166)](_0x127621['id'],_0x127621['filterInfo']),_0x127621['displayName']&&_0x17a589[_0x5b5c03(0x2ff)](_0x127621['id'],_0x127621[_0x5b5c03(0x10a)]));}for(const _0x10799b of _0x50185c){const _0x2e6993=_0x3f2c8c[_0x10799b];_0x2e6993&&_0x17a589['getDataFieldByDataFieldId'](_0x2e6993['dataFieldId'])&&(_0x17a589[_0x5b5c03(0x148)](_0x2e6993['dataFieldId'],_0x5bb14c[_0x5b5c03(0x203)],void 0x0,_0x10799b),_0x2e6993[_0x5b5c03(0x16c)]!==void 0x0&&_0x17a589['setSubtotalType'](_0x10799b,_0x2e6993[_0x5b5c03(0x16c)]),_0x2e6993[_0x5b5c03(0x193)]&&_0x17a589[_0x5b5c03(0x1ed)](_0x10799b,_0x2e6993[_0x5b5c03(0x193)]),_0x2e6993[_0x5b5c03(0x10a)]&&_0x17a589[_0x5b5c03(0x2ff)](_0x2e6993['id'],_0x2e6993[_0x5b5c03(0x10a)]));}const _0x4b131a=_0x43f54c[_0x5b5c03(0x23d)];for(const {fieldId:_0x244f7b,filterInfo:_0x165a9e}of _0x4b131a)_0x17a589[_0x5b5c03(0x173)](_0x244f7b,_0x165a9e);}function Ji(_0x262c77,_0x474efa){const _0xba1d33=_0x3e64d8,_0x2bcb6d=[];_0x474efa===_0x5bb14c[_0xba1d33(0x16b)]&&_0x262c77[_0xba1d33(0x201)](_0x5bb14c[_0xba1d33(0x16b)],_0xff26e=>{const _0x279576=_0xba1d33;_0x2bcb6d[_0x279576(0x2b6)](_0xff26e[_0x279576(0x10b)]());}),_0x474efa===_0x5bb14c['Column']&&_0x262c77['iterateFieldByArea'](_0x5bb14c[_0xba1d33(0x2d2)],_0x20cb95=>{const _0x387c61=_0xba1d33;_0x2bcb6d[_0x387c61(0x2b6)](_0x20cb95[_0x387c61(0x10b)]());}),_0x474efa===_0x5bb14c[_0xba1d33(0x233)]&&_0x262c77['iterateFieldByArea'](_0x5bb14c[_0xba1d33(0x233)],_0x47e623=>{const _0x35dd77=_0xba1d33;_0x2bcb6d[_0x35dd77(0x2b6)](_0x47e623[_0x35dd77(0x10b)]());}),_0x474efa===_0x5bb14c[_0xba1d33(0x203)]&&_0x262c77[_0xba1d33(0x201)](_0x5bb14c[_0xba1d33(0x203)],_0xa92268=>{const _0x3f9742=_0xba1d33;_0x2bcb6d[_0x3f9742(0x2b6)](_0xa92268[_0x3f9742(0x10b)]());}),_0x474efa===void 0x0&&_0x262c77[_0xba1d33(0x11f)](_0x253e4e=>{const _0x469f55=_0xba1d33;_0x2bcb6d['push'](_0x253e4e[_0x469f55(0x10b)]());});const _0x45a4e7=_0x2bcb6d['length'];for(let _0x43054c=_0x45a4e7-0x1;_0x43054c>=0x0;_0x43054c--)_0x262c77[_0xba1d33(0x30c)](_0x2bcb6d[_0x43054c]);const _0x1cac99=_0x262c77[_0xba1d33(0x2b4)]();for(const _0x14ee28 in _0x1cac99)_0x262c77[_0xba1d33(0x346)](_0x14ee28);}function Wi(_0xb52a83,_0x464f45){const _0x19ca43=_0x3e64d8,_0xc90ddc=new Date(_0x6532fb(_0x464f45)),_0x54395e=new Date(_0x6532fb(_0xb52a83)),_0x3aecb3=_0xc90ddc[_0x19ca43(0x217)](),_0x1b5d72=_0x54395e[_0x19ca43(0x217)](),_0x14fde5=_0xc90ddc['getMonth'](),_0x2bc886=_0x54395e['getMonth'](),_0x53e6c2=_0xc90ddc['getDate'](),_0x556ba0=_0x54395e[_0x19ca43(0x143)](),_0x3febfb=_0x3aecb3===_0x1b5d72,_0x4115d4=_0x3febfb&&_0x14fde5===_0x2bc886;return _0x3febfb&&_0x4115d4&&!(_0x4115d4&&_0x53e6c2===_0x556ba0)?_0x4b4fce[_0x19ca43(0x228)]:_0x3febfb&&!_0x4115d4?_0x4b4fce['YearMonth']:_0x4b4fce['Year'];}function Ko(_0x5c4ab3,_0xf0ee09){const _0x15e5ac=_0x3e64d8,_0x52f476=_0x5c4ab3[_0x15e5ac(0x1f3)]($)[_0x15e5ac(0x175)]();let _0x191433='';switch(_0xf0ee09){case _0x4b4fce[_0x15e5ac(0x228)]:_0x191433=_0x52f476[_0x15e5ac(0x200)];break;case _0x4b4fce['YearMonth']:_0x191433=_0x52f476['sheets-pivot.dateGroup.yearMonth'];break;case _0x4b4fce['Year']:_0x191433=_0x52f476['sheets-pivot.dateGroup.year'];break;case _0x4b4fce[_0x15e5ac(0x1b7)]:_0x191433=_0x52f476[_0x15e5ac(0x32a)];break;case _0x4b4fce[_0x15e5ac(0x2d5)]:_0x191433=_0x52f476[_0x15e5ac(0xcf)];break;case _0x4b4fce['Date']:_0x191433=_0x52f476[_0x15e5ac(0x1aa)];break;case _0x4b4fce['HourMinute']:_0x191433=_0x52f476[_0x15e5ac(0x254)];break;case _0x4b4fce['Hour']:_0x191433=_0x52f476[_0x15e5ac(0x104)];break;case _0x4b4fce['Minute']:_0x191433=_0x52f476[_0x15e5ac(0x2f1)];break;case _0x4b4fce[_0x15e5ac(0x1d4)]:_0x191433=_0x52f476[_0x15e5ac(0x125)];break;case _0x4b4fce[_0x15e5ac(0x34c)]:_0x191433=_0x52f476['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x191433='';break;}return _0x191433;}const qo=_0x3e64d8(0x1a4),To={};var ji=Object[_0x3e64d8(0x1f1)],Gi=(_0x25c507,_0x2c5732,_0x58c988,_0x1f5185)=>{const _0x4f3b26=_0x3e64d8;for(var _0x3645a4=_0x1f5185>0x1?void 0x0:_0x1f5185?ji(_0x2c5732,_0x58c988):_0x2c5732,_0x4877d0=_0x25c507[_0x4f3b26(0x169)]-0x1,_0x4cf477;_0x4877d0>=0x0;_0x4877d0--)(_0x4cf477=_0x25c507[_0x4877d0])&&(_0x3645a4=_0x4cf477(_0x3645a4)||_0x3645a4);return _0x3645a4;},it=(_0x5c1251,_0x246296)=>(_0x1fbe4c,_0x1f05c0)=>_0x246296(_0x1fbe4c,_0x1f05c0,_0x5c1251);let he=class extends _0x41248b{constructor(_0x1cbb31,_0x37a42e,_0x5a37f8,_0x4be9f9,_0xaaea4b){const _0xf55455=_0x3e64d8;super(),V(this,_0xf55455(0x1a3),new Map()),V(this,_0xf55455(0x338),new Map()),V(this,_0xf55455(0x2f5),new Map()),V(this,'_pivotTableMatrixInfo',new Map()),V(this,_0xf55455(0xf1),new _0x37d4e0()),V(this,'_pivotInitCompleted$',new _0x37d4e0()),V(this,_0xf55455(0x311),this['_pivotInitCompleted$'][_0xf55455(0x1cc)]()),V(this,_0xf55455(0x1e7),new _0x37d4e0()),V(this,_0xf55455(0x1dc),this[_0xf55455(0x1e7)][_0xf55455(0x1cc)]()),V(this,_0xf55455(0x123),{}),V(this,_0xf55455(0x14d),this[_0xf55455(0xf1)][_0xf55455(0x1cc)]()),(this[_0xf55455(0x146)]=_0x1cbb31,this[_0xf55455(0x13a)]=_0x37a42e,this[_0xf55455(0x309)]=_0x5a37f8,this[_0xf55455(0x2e6)]=_0x4be9f9,this[_0xf55455(0x26e)]=_0xaaea4b,this[_0xf55455(0x1cb)](),this[_0xf55455(0x273)]());const _0x3e6602=this[_0xf55455(0x26e)]['getConfig'](qo);(_0x3e6602==null?void 0x0:_0x3e6602['notExecuteFormula'])===!0x0&&this[_0xf55455(0x31b)]();}[_0x3e64d8(0x273)](){const _0x24b95a=_0x3e64d8;this[_0x24b95a(0x103)](this['_univerInstanceService'][_0x24b95a(0x11a)](_0x273a5e['UNIVER_SHEET'])[_0x24b95a(0x1b6)](_0x4ce05c=>{const _0x2d3277=_0x24b95a;this[_0x2d3277(0x197)](_0x4ce05c['getUnitId']());}));}[_0x3e64d8(0x300)](){const _0x31e38f=_0x3e64d8;this[_0x31e38f(0x20c)][_0x31e38f(0xf6)](!0x0);}[_0x3e64d8(0x1cb)](){const _0xed00e5=_0x3e64d8,_0x298115=fo(this[_0xed00e5(0x146)],Bo,'',{});this['_textInfo']=_0x298115,this['_commandService'][_0xed00e5(0x279)](uo['id'],{'textInfo':_0x298115},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x504d73=_0x3e64d8;return this[_0x504d73(0x123)];}[_0x3e64d8(0xd5)](_0x47f7bd,_0x64426e,_0x5e8f62,_0x2d85bf,_0x32599a){const _0x1ac2e8=_0x3e64d8;this[_0x1ac2e8(0x27a)](_0x47f7bd,_0x64426e,_0x5e8f62,_0x2d85bf),this[_0x1ac2e8(0x290)](_0x47f7bd,_0x64426e,_0x5e8f62,_0x32599a);}[_0x3e64d8(0x26b)](_0x4d7894,_0x35ad5c,_0x27a5c2){const _0x1f54bc=_0x3e64d8;var _0x2751d0;const _0x1e7b68=(_0x2751d0=this[_0x1f54bc(0x1a3)][_0x1f54bc(0x1f3)](_0x4d7894))==null?void 0x0:_0x2751d0[_0x1f54bc(0x1f3)](_0x35ad5c);if(_0x1e7b68)return _0x1e7b68[_0x1f54bc(0x1f3)](_0x27a5c2);}[_0x3e64d8(0x14f)](_0x20a176,_0x23930c){const _0x182a69=_0x3e64d8,_0xe6f516=this[_0x182a69(0x1a3)]['get'](_0x20a176);if(_0xe6f516){for(const [_0x5ab1e9,_0x3557d5]of _0xe6f516[_0x182a69(0x2f8)]())for(const [_0x55296d,_0xd8135d]of _0x3557d5['entries']())if(_0x55296d===_0x23930c)return _0xd8135d[_0x182a69(0x1ff)];}}[_0x3e64d8(0x187)](_0x1950dd,_0x578aef,_0x48b366){const _0x484904=_0x3e64d8,_0x12dec6=this[_0x484904(0x26b)](_0x1950dd,_0x578aef,_0x48b366);return _0x12dec6==null?void 0x0:_0x12dec6[_0x484904(0x1ff)];}[_0x3e64d8(0x2ae)](_0x2e0bbd,_0x8a95e6){const _0x91ed17=_0x3e64d8;var _0x10ff3d;return(_0x10ff3d=this[_0x91ed17(0x1a3)][_0x91ed17(0x1f3)](_0x2e0bbd))==null?void 0x0:_0x10ff3d['get'](_0x8a95e6);}[_0x3e64d8(0x21a)](_0x22663c,_0x14a171,_0x1a20e1,_0xf49c92){const _0x1b0c57=_0x3e64d8,_0x416bb2=this['_ensurePivotMap'](_0x22663c,_0x14a171);_0xf49c92?_0x416bb2['set'](_0x1a20e1,_0xf49c92):_0x416bb2[_0x1b0c57(0xda)](_0x1a20e1),this[_0x1b0c57(0x1e7)][_0x1b0c57(0xf6)]({'unitId':_0x22663c,'subUnitId':_0x14a171,'pivotTableId':_0x1a20e1,'pivotTableConfig':_0xf49c92});}[_0x3e64d8(0x1fc)](_0x26903a,_0x3cc0fb){const _0x27269d=_0x3e64d8;var _0x458e4d;return(_0x458e4d=this[_0x27269d(0x338)]['get'](_0x26903a))==null?void 0x0:_0x458e4d[_0x27269d(0x256)][_0x3cc0fb];}['updateCollectionConfig'](_0x58fe73,_0x4de9dc){const _0x40178b=_0x3e64d8;this[_0x40178b(0x338)][_0x40178b(0x1b9)](_0x58fe73,_0x4de9dc),this[_0x40178b(0xf1)][_0x40178b(0xf6)](Math[_0x40178b(0x278)]());}[_0x3e64d8(0x257)](_0x1cd87e,_0x3472e5){const _0x455c3c=_0x3e64d8;let _0x2e8360=this[_0x455c3c(0x1a3)][_0x455c3c(0x1f3)](_0x1cd87e);_0x2e8360||(_0x2e8360=new Map(),this['_model'][_0x455c3c(0x1b9)](_0x1cd87e,_0x2e8360));let _0x3a0faf=_0x2e8360[_0x455c3c(0x1f3)](_0x3472e5);return _0x3a0faf||(_0x3a0faf=new Map(),_0x2e8360[_0x455c3c(0x1b9)](_0x3472e5,_0x3a0faf)),_0x3a0faf;}[_0x3e64d8(0x17c)](_0x128927,_0x4c3a5a){const _0x35113f=_0x3e64d8;let _0x4b53d1=this[_0x35113f(0x2f5)][_0x35113f(0x1f3)](_0x128927);_0x4b53d1||(_0x4b53d1=new Map(),this[_0x35113f(0x2f5)][_0x35113f(0x1b9)](_0x128927,_0x4b53d1));let _0x41fe4a=_0x4b53d1[_0x35113f(0x1f3)](_0x4c3a5a);return _0x41fe4a||(_0x41fe4a=new Map(),_0x4b53d1[_0x35113f(0x1b9)](_0x4c3a5a,_0x41fe4a)),_0x41fe4a;}[_0x3e64d8(0x1bb)](_0x2949df,_0x26ea42){const _0x25dc12=_0x3e64d8;let _0x6cea6d=this[_0x25dc12(0x124)]['get'](_0x2949df);_0x6cea6d||(_0x6cea6d=new Map(),this['_pivotTableMatrixInfo'][_0x25dc12(0x1b9)](_0x2949df,_0x6cea6d));let _0x32e21f=_0x6cea6d['get'](_0x26ea42);return _0x32e21f||(_0x32e21f=new Map(),_0x6cea6d[_0x25dc12(0x1b9)](_0x26ea42,_0x32e21f)),_0x32e21f;}[_0x3e64d8(0x290)](_0x4c99d0,_0x4aeeaf,_0x1cbb9e,_0x43782){const _0x19c609=_0x3e64d8;var _0x1ae4d3;const _0x327c5f=this['_ensurePivotTableRangeInfo'](_0x4c99d0,_0x4aeeaf),_0x287019=(_0x1ae4d3=_0x327c5f[_0x19c609(0x1f3)](_0x1cbb9e))==null?void 0x0:_0x1ae4d3[_0x19c609(0x23b)];_0x327c5f[_0x19c609(0x1b9)](_0x1cbb9e,{'oldRangeInfo':_0x287019,'rangeInfo':_0x43782});}[_0x3e64d8(0x27a)](_0x614a69,_0x2c758d,_0xea8b49,_0x4bda3b){const _0x428eef=_0x3e64d8;var _0x26f732;const _0x587b54=this[_0x428eef(0x1bb)](_0x614a69,_0x2c758d),_0x1a7e71=(_0x26f732=_0x587b54[_0x428eef(0x1f3)](_0xea8b49))==null?void 0x0:_0x26f732[_0x428eef(0x2a4)];_0x587b54[_0x428eef(0x1b9)](_0xea8b49,{'oldMatrix':_0x1a7e71,'matrix':_0x4bda3b});}['getPivotTableRangeInfo'](_0x425a1a,_0x3eb106,_0x2830b2){const _0x35ca50=_0x3e64d8;var _0x551be8,_0x4606d8;return(_0x4606d8=(_0x551be8=this['_pivotTableRangeInfo'][_0x35ca50(0x1f3)](_0x425a1a))==null?void 0x0:_0x551be8['get'](_0x3eb106))==null?void 0x0:_0x4606d8[_0x35ca50(0x1f3)](_0x2830b2);}[_0x3e64d8(0x21f)](_0x4e0399,_0x37ebff,_0x150ff6){const _0x102ca6=_0x3e64d8;var _0xf6f206,_0x11011f;return(_0x11011f=(_0xf6f206=this[_0x102ca6(0x124)]['get'](_0x4e0399))==null?void 0x0:_0xf6f206['get'](_0x37ebff))==null?void 0x0:_0x11011f[_0x102ca6(0x1f3)](_0x150ff6);}[_0x3e64d8(0x197)](_0x33076b){const _0x35301a=_0x3e64d8;this[_0x35301a(0x1a3)][_0x35301a(0xda)](_0x33076b),this[_0x35301a(0x338)][_0x35301a(0xda)](_0x33076b);}[_0x3e64d8(0x15a)](_0x393947){const _0x25abc7=_0x3e64d8,_0x14ced0={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x25abc7(0x338)]['get'](_0x393947)&&(_0x14ced0[_0x25abc7(0x2a3)][_0x393947]=this[_0x25abc7(0x338)][_0x25abc7(0x1f3)](_0x393947)),this[_0x25abc7(0x1a3)][_0x25abc7(0x1f3)](_0x393947)){_0x14ced0[_0x25abc7(0xe8)][_0x393947]={};const _0xb630ab=this[_0x25abc7(0x1a3)]['get'](_0x393947);_0xb630ab!=null&&_0xb630ab[_0x25abc7(0x2b7)]&&[..._0xb630ab[_0x25abc7(0x19b)]()][_0x25abc7(0x14a)](_0x36ad89=>{const _0x27cab6=_0x25abc7,_0x3590f9=_0xb630ab[_0x27cab6(0x1f3)](_0x36ad89);_0x3590f9!=null&&_0x3590f9[_0x27cab6(0x2b7)]&&(_0x14ced0['pivotTableConfigs'][_0x393947][_0x36ad89]={},[..._0x3590f9[_0x27cab6(0x19b)]()][_0x27cab6(0x14a)](_0x35369b=>{const _0x51c1e7=_0x27cab6,_0x2816e9=_0x3590f9['get'](_0x35369b);_0x2816e9&&(_0x14ced0[_0x51c1e7(0xe8)][_0x393947][_0x36ad89][_0x35369b]=_0x2816e9);}));});}return _0x14ced0;}[_0x3e64d8(0x31b)](){const _0x27caa5=_0x3e64d8;this['disposeWithMe'](this[_0x27caa5(0x2e6)][_0x27caa5(0x171)]({'toJson':_0x6b4a25=>JSON[_0x27caa5(0x20b)](this[_0x27caa5(0x15a)](_0x6b4a25)),'parseJson':_0x5bdb6f=>({}),'businesses':[_0x273a5e[_0x27caa5(0x180)]],'pluginName':ao,'onLoad':(_0x3f76e8,_0x19c789)=>{},'onUnLoad':_0x1778e0=>{const _0x1452f9=_0x27caa5;this[_0x1452f9(0x197)](_0x1778e0);}}));}};he=Gi([it(0x0,_0x5e764c(_0x4a79fb)),it(0x1,_0x5e764c(_0x56dc87)),it(0x2,_0x5e764c(_0x4eff45)),it(0x3,_0x5e764c(_0x38cbb2)),it(0x4,_0x5e764c(_0x1b9dd7))],he);var Ki=Object[_0x3e64d8(0x1f1)],qi=(_0x3792c2,_0x58418f,_0x1f67eb,_0x50de90)=>{const _0x1b106a=_0x3e64d8;for(var _0x19871c=_0x50de90>0x1?void 0x0:_0x50de90?Ki(_0x58418f,_0x1f67eb):_0x58418f,_0xd90552=_0x3792c2[_0x1b106a(0x169)]-0x1,_0x15983e;_0xd90552>=0x0;_0xd90552--)(_0x15983e=_0x3792c2[_0xd90552])&&(_0x19871c=_0x15983e(_0x19871c)||_0x19871c);return _0x19871c;},st=(_0xf0bec2,_0x4ec707)=>(_0x3da0bd,_0x1b2a59)=>_0x4ec707(_0x3da0bd,_0x1b2a59,_0xf0bec2);let Ne=class extends _0x41248b{constructor(_0x48440d,_0x1e8afa,_0x5a4b95,_0x1f638f,_0x4850b8){const _0x2c5aee=_0x3e64d8;super(),V(this,'_pivotRenderInfoCache',new Map()),V(this,_0x2c5aee(0x2ab),new Map()),V(this,_0x2c5aee(0x134),new _0x37d4e0()),V(this,'markDirty$',this[_0x2c5aee(0x134)][_0x2c5aee(0x1cc)]()),V(this,_0x2c5aee(0x22f),new _0x37d4e0()),V(this,_0x2c5aee(0x2f3),this['_viewUpdate$'][_0x2c5aee(0x1cc)]()),V(this,_0x2c5aee(0x123)),(this[_0x2c5aee(0x270)]=_0x48440d,this['_injector']=_0x1e8afa,this[_0x2c5aee(0x329)]=_0x5a4b95,this[_0x2c5aee(0x309)]=_0x1f638f,this['_exclusiveRangeService']=_0x4850b8,this[_0x2c5aee(0x1cb)](),this[_0x2c5aee(0x273)]());}[_0x3e64d8(0x273)](){const _0x5bf571=_0x3e64d8;this[_0x5bf571(0x103)](this[_0x5bf571(0x309)][_0x5bf571(0x11a)](_0x273a5e[_0x5bf571(0x180)])[_0x5bf571(0x1b6)](_0x171e3b=>{const _0x454eb0=_0x5bf571;this[_0x454eb0(0x197)](_0x171e3b[_0x454eb0(0x337)]());}));}[_0x3e64d8(0x1cb)](){const _0x3c552b=_0x3e64d8;this[_0x3c552b(0x123)]=fo(this['_injector'],Bo,'',{});}['updateRenderCache'](_0x53057b){const _0x228fdf=_0x3e64d8,{view:_0x197152,unitId:_0x3e0159,subUnitId:_0x38d34b,pivotTableId:_0x457c7b,type:_0x591778}=_0x53057b,_0x36bec1=this['_sheetsPivotTableConfigModel'][_0x228fdf(0x26b)](_0x3e0159,_0x38d34b,_0x457c7b);if(!_0x197152||!_0x36bec1||_0x591778===H[_0x228fdf(0x28e)])return;const {pageView:_0x37baaa,cornerView:_0x4c1367,rowView:_0x185da8,colView:_0x34ba3e,dataView:_0x97e86}=_0x197152,_0x8e854e=_0x36bec1[_0x228fdf(0x1ff)],_0xd4c281=_0x36bec1[_0x228fdf(0x1c5)],_0x16e1ca=this[_0x228fdf(0x1a2)](_0x3e0159,_0x38d34b),_0x1dfbfb=this[_0x228fdf(0x174)](_0x3e0159,_0x38d34b,_0x457c7b);if(_0xd4c281)return this['_updateRenderEmptyCache'](_0x53057b,_0x16e1ca,_0x8e854e,_0x1dfbfb);{const _0x486f12=ge(_0x8e854e,_0x37baaa,!0x0),_0x12f954=_0x37baaa['lastRow']>=0x0?_0x37baaa[_0x228fdf(0x21e)]+0x1:0x0,_0x43fdbf=_0x4c1367[_0x228fdf(0x240)](),_0x290f7a=_0x4c1367[_0x228fdf(0x1a9)](),_0x5c368d=_0x486f12[_0x228fdf(0x169)]>0x0?mt:0x0,_0xd2bfb4=ge({'row':_0x8e854e[_0x228fdf(0x2e7)]+_0x12f954+_0x5c368d,'col':_0x8e854e['col']},_0x4c1367,!0x1,!0x1),_0x376b6c=ge({'row':_0x8e854e[_0x228fdf(0x2e7)]+_0x12f954+_0x5c368d+_0x43fdbf,'col':_0x8e854e[_0x228fdf(0x2c4)]},_0x185da8,!0x1,!0x0),_0x138f41=ge({'row':_0x8e854e[_0x228fdf(0x2e7)]+_0x12f954+_0x5c368d,'col':_0x8e854e[_0x228fdf(0x2c4)]+_0x290f7a},_0x34ba3e,!0x1,!0x0),_0x166f5a=ge({'row':_0x8e854e['row']+_0x12f954+_0x5c368d+_0x43fdbf,'col':_0x8e854e[_0x228fdf(0x2c4)]+_0x290f7a},_0x97e86,!0x1,!0x1);_0x1dfbfb['rangesInfo']={'rowRanges':_0x376b6c,'colRanges':_0x138f41,'cornerRanges':_0xd2bfb4,'dataRanges':_0x166f5a,'pageRanges':_0x486f12};const _0x38cb1b=Mi(this[_0x228fdf(0x146)],_0x197152,_0x36bec1,this[_0x228fdf(0x123)]),{valueMatrix:_0x234ba4,rowInfo:_0x260a0c,colInfo:_0x1d5087,cornerInfo:_0x1707bf,rowHeaderMap:_0x2d1de3,colHeaderMap:_0x559f48}=_0x38cb1b;return _0x1dfbfb[_0x228fdf(0x297)]={'rowInfo':_0x260a0c,'colInfo':_0x1d5087,'cornerInfo':_0x1707bf},_0x1dfbfb[_0x228fdf(0x1e3)]={'rowHeaderMap':_0x2d1de3,'colHeaderMap':_0x559f48},_0x234ba4['forEach']((_0x35644a,_0x236b66)=>{const _0x1aec75=_0x228fdf;Object[_0x1aec75(0x19b)](_0x236b66)[_0x1aec75(0x14a)](_0x5008b1=>{const _0x3affb9=_0x1aec75,_0x111d7b=+_0x5008b1,_0x598369=_0x234ba4[_0x3affb9(0x1d2)](_0x35644a,_0x111d7b);_0x16e1ca[_0x3affb9(0x1df)](_0x35644a,_0x111d7b,_0x598369);});}),this[_0x228fdf(0x22f)][_0x228fdf(0xf6)]({'unitId':_0x3e0159,'subUnitId':_0x38d34b,'valueMatrix':_0x16e1ca,'rangesCache':_0x1dfbfb[_0x228fdf(0x2ed)],'pivotTableId':_0x457c7b,'type':_0x53057b[_0x228fdf(0x1da)]}),this[_0x228fdf(0x329)][_0x228fdf(0xd5)](_0x3e0159,_0x38d34b,_0x457c7b,_0x16e1ca,_0x1dfbfb[_0x228fdf(0x2ed)]),this[_0x228fdf(0x1fe)]['addExclusiveRange'](_0x3e0159,_0x38d34b,Bt,this['_createExclusiveRange'](_0x1dfbfb[_0x228fdf(0x2ed)],_0x457c7b)),{'rangeCache':_0x1dfbfb[_0x228fdf(0x2ed)],'matrix':_0x16e1ca};}}[_0x3e64d8(0x2bd)](_0x39e13e,_0x1ace89,_0x21fc56,_0x385c72){const _0x5f21d6=_0x3e64d8,_0xc1000=this[_0x5f21d6(0x270)]['t'],{unitId:_0x4a979b,subUnitId:_0x3e0032,pivotTableId:_0x4b755b}=_0x39e13e,_0x361b7e={'filter':_0xc1000(_0x5f21d6(0x1ce)),'row':_0xc1000('sheets-pivot.emptyPivot.row'),'column':_0xc1000('sheets-pivot.emptyPivot.column'),'values':_0xc1000('sheets-pivot.emptyPivot.values')},{matrixCache:_0x55e133,rangesCache:_0x5077a6}=Wo(_0x361b7e,_0x21fc56);return _0x55e133['forValue']((_0xe1c585,_0x1734d6,_0x33e9c7)=>{const _0x515181=_0x5f21d6;_0x1ace89[_0x515181(0x1df)](_0xe1c585,_0x1734d6,_0x33e9c7);}),_0x385c72['rangesInfo']=_0x5077a6,this['_viewUpdate$'][_0x5f21d6(0xf6)]({'unitId':_0x4a979b,'subUnitId':_0x3e0032,'valueMatrix':_0x1ace89,'rangesCache':_0x5077a6,'pivotTableId':_0x4b755b,'type':_0x39e13e[_0x5f21d6(0x1da)],'isEmpty':!0x0}),this[_0x5f21d6(0x329)][_0x5f21d6(0xd5)](_0x4a979b,_0x3e0032,_0x4b755b,_0x1ace89,_0x5077a6),this['_exclusiveRangeService'][_0x5f21d6(0x22a)](_0x4a979b,_0x3e0032,Bt,this[_0x5f21d6(0x1c0)](_0x5077a6,_0x4b755b)),{'rangeCache':_0x385c72[_0x5f21d6(0x2ed)],'matrix':_0x1ace89};}[_0x3e64d8(0x1c0)](_0x526aa7,_0x3ddfd2){const _0x257766=_0x3e64d8,_0x49a764=[],_0x5e706b=Ht(_0x526aa7);for(const _0x1f1a18 of _0x5e706b)_0x49a764[_0x257766(0x2b6)]({'groupId':_0x3ddfd2,'range':_0x1f1a18});return _0x49a764;}[_0x3e64d8(0x2a0)](_0x45404d){const _0xc4fefc=_0x3e64d8;var _0x48e8df,_0xaee651,_0x411a3d,_0x4a5bd1;const {pivotTableId:_0x2e10a6,unitId:_0x32f038,subUnitId:_0x2557d9}=_0x45404d;if(!_0x2e10a6||!_0x32f038||!_0x2557d9)return;const _0x59e0d6=this['_ensurePivotItemRenderValueMatrixCache'](_0x32f038,_0x2557d9),_0x9c1d81=(_0xaee651=(_0x48e8df=this['_pivotRenderInfoCache']['get'](_0x32f038))==null?void 0x0:_0x48e8df['get'](_0x2557d9))==null?void 0x0:_0xaee651[_0xc4fefc(0x1f3)](_0x2e10a6);if(_0x9c1d81!=null&&_0x9c1d81[_0xc4fefc(0x2ed)]){for(const _0xeaaaa8 of Object[_0xc4fefc(0x19b)](_0x9c1d81[_0xc4fefc(0x2ed)]))_0x9c1d81[_0xc4fefc(0x2ed)][_0xeaaaa8]['forEach'](_0x27729b=>{const _0x5acfb0=_0xc4fefc;for(let _0x3e4618=_0x27729b[_0x5acfb0(0x31a)];_0x3e4618<=_0x27729b['endRow'];_0x3e4618++)for(let _0x343e60=_0x27729b['startColumn'];_0x343e60<=_0x27729b['endColumn'];_0x343e60++)_0x59e0d6['realDeleteValue'](_0x3e4618,_0x343e60);});}_0x9c1d81&&((_0x4a5bd1=(_0x411a3d=this[_0xc4fefc(0x1f5)][_0xc4fefc(0x1f3)](_0x32f038))==null?void 0x0:_0x411a3d[_0xc4fefc(0x1f3)](_0x2557d9))==null||_0x4a5bd1[_0xc4fefc(0xda)](_0x2e10a6)),this[_0xc4fefc(0x22f)][_0xc4fefc(0xf6)]({'unitId':_0x32f038,'subUnitId':_0x2557d9,'valueMatrix':_0x59e0d6,'pivotTableId':_0x2e10a6,'rangesCache':void 0x0,'type':_0x45404d[_0xc4fefc(0x1da)]}),this['_exclusiveRangeService'][_0xc4fefc(0x158)](_0x32f038,_0x2557d9,Bt,_0x2e10a6);}[_0x3e64d8(0x174)](_0x31b6b0,_0x30e642,_0x4a1e1c){const _0x327844=_0x3e64d8;var _0x418ddf,_0xd0cdd6,_0x4ffc09,_0xa9f960,_0x4148c7,_0x397d4d;return this[_0x327844(0x1f5)]['has'](_0x31b6b0)||this[_0x327844(0x1f5)][_0x327844(0x1b9)](_0x31b6b0,new Map()),(_0x418ddf=this['_pivotRenderInfoCache'][_0x327844(0x1f3)](_0x31b6b0))!=null&&_0x418ddf['has'](_0x30e642)||(_0xd0cdd6=this[_0x327844(0x1f5)][_0x327844(0x1f3)](_0x31b6b0))==null||_0xd0cdd6['set'](_0x30e642,new Map()),(_0xa9f960=(_0x4ffc09=this['_pivotRenderInfoCache']['get'](_0x31b6b0))==null?void 0x0:_0x4ffc09[_0x327844(0x1f3)](_0x30e642))!=null&&_0xa9f960[_0x327844(0xe7)](_0x4a1e1c)||(_0x397d4d=(_0x4148c7=this[_0x327844(0x1f5)][_0x327844(0x1f3)](_0x31b6b0))==null?void 0x0:_0x4148c7['get'](_0x30e642))==null||_0x397d4d[_0x327844(0x1b9)](_0x4a1e1c,{}),this[_0x327844(0x1f5)]['get'](_0x31b6b0)[_0x327844(0x1f3)](_0x30e642)['get'](_0x4a1e1c);}[_0x3e64d8(0x1a2)](_0x1ec952,_0x4fbee8){const _0x29820c=_0x3e64d8;var _0x39d256,_0x585b1c;return this['_pivotRenderValueMatrixCache'][_0x29820c(0xe7)](_0x1ec952)||this[_0x29820c(0x2ab)]['set'](_0x1ec952,new Map()),(_0x39d256=this[_0x29820c(0x2ab)][_0x29820c(0x1f3)](_0x1ec952))!=null&&_0x39d256[_0x29820c(0xe7)](_0x4fbee8)||(_0x585b1c=this[_0x29820c(0x2ab)][_0x29820c(0x1f3)](_0x1ec952))==null||_0x585b1c[_0x29820c(0x1b9)](_0x4fbee8,new _0x2067c1()),this[_0x29820c(0x2ab)][_0x29820c(0x1f3)](_0x1ec952)[_0x29820c(0x1f3)](_0x4fbee8);}[_0x3e64d8(0x245)](_0xd0da6f,_0x247b2c,_0x40439b,_0x161e37){const _0x64f98c=_0x3e64d8;var _0x2afecb,_0x4c0ebc;const _0x3d7590=(_0x4c0ebc=(_0x2afecb=this[_0x64f98c(0x2ab)][_0x64f98c(0x1f3)](_0xd0da6f))==null?void 0x0:_0x2afecb[_0x64f98c(0x1f3)](_0x247b2c))==null?void 0x0:_0x4c0ebc[_0x64f98c(0x1d2)](_0x40439b,_0x161e37);if(_0x3d7590!=null)return _0x3d7590;}[_0x3e64d8(0x277)](_0x426d77,_0x375fc2,_0x43d31a,_0x9cac09){const _0x4a41fc=_0x3e64d8;var _0x21cd59;const _0x8b2e92=_0x42af7f(_0x43d31a,_0x9cac09),_0x5811d7=(_0x21cd59=this[_0x4a41fc(0x1f5)][_0x4a41fc(0x1f3)](_0x426d77))==null?void 0x0:_0x21cd59[_0x4a41fc(0x1f3)](_0x375fc2);return _0x5811d7?Array[_0x4a41fc(0x202)](_0x5811d7[_0x4a41fc(0x19b)]())[_0x4a41fc(0x20a)](_0x3c04ef=>{const _0x877d8f=_0x4a41fc,_0x56eccd=_0x5811d7[_0x877d8f(0x1f3)](_0x3c04ef),_0x3fe7ff=_0x56eccd==null?void 0x0:_0x56eccd[_0x877d8f(0x2ed)];return _0x3fe7ff?Object[_0x877d8f(0x19b)](_0x3fe7ff)[_0x877d8f(0x28a)](_0x4eaa62=>_0x3fe7ff[_0x4eaa62][_0x877d8f(0x28a)](_0x3e0533=>_0x5e2546['contains'](_0x3e0533,_0x8b2e92))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x57493e,_0x539d94,_0x2c21be){const _0xc1ccf7=_0x3e64d8;var _0x43b23f;const _0x673e8=(_0x43b23f=this[_0xc1ccf7(0x1f5)][_0xc1ccf7(0x1f3)](_0x57493e))==null?void 0x0:_0x43b23f[_0xc1ccf7(0x1f3)](_0x539d94),_0x475231=[];return _0x673e8&&Array['from'](_0x673e8[_0xc1ccf7(0x19b)]())[_0xc1ccf7(0x14a)](_0x1d2d1b=>{const _0x1902a9=_0xc1ccf7,_0x58597c=_0x673e8[_0x1902a9(0x1f3)](_0x1d2d1b),_0x35e992=_0x58597c==null?void 0x0:_0x58597c[_0x1902a9(0x2ed)];if(_0x35e992)for(const _0x49633e of Object['values'](_0x35e992)){let _0x32ffe6=!0x1;for(const _0x3fe50f of _0x49633e)if(_0x5e2546['intersects'](_0x3fe50f,_0x2c21be)){_0x475231[_0x1902a9(0x2b6)](_0x1d2d1b),_0x32ffe6=!0x0;break;}if(_0x32ffe6)break;}}),_0x475231;}['getSubUnitPivotMatrix'](_0x54112f,_0x21fd48){const _0x47de34=_0x3e64d8;var _0x4d4ec0,_0x323ee5;return(_0x323ee5=(_0x4d4ec0=this[_0x47de34(0x2ab)]['get'](_0x54112f))==null?void 0x0:_0x4d4ec0[_0x47de34(0x1f3)](_0x21fd48))!=null?_0x323ee5:new _0x2067c1();}[_0x3e64d8(0x10c)](_0x14e696,_0x1ce97c){const _0x2d54ea=_0x3e64d8;var _0x5ccbf7;return(_0x5ccbf7=this[_0x2d54ea(0x1f5)][_0x2d54ea(0x1f3)](_0x14e696))==null?void 0x0:_0x5ccbf7[_0x2d54ea(0x1f3)](_0x1ce97c);}['getPivotItemRenderInfoCache'](_0x10737c,_0x3dc198,_0x4c623c){const _0x2cc525=_0x3e64d8;var _0x452c7a,_0x5cbecb;return(_0x5cbecb=(_0x452c7a=this[_0x2cc525(0x1f5)]['get'](_0x10737c))==null?void 0x0:_0x452c7a[_0x2cc525(0x1f3)](_0x3dc198))==null?void 0x0:_0x5cbecb[_0x2cc525(0x1f3)](_0x4c623c);}[_0x3e64d8(0x197)](_0x35f8f4){const _0x4a5a25=_0x3e64d8;this[_0x4a5a25(0x1f5)]['delete'](_0x35f8f4),this[_0x4a5a25(0x2ab)][_0x4a5a25(0xda)](_0x35f8f4);}['markDirty'](_0x9b299b,_0x3215ce){const _0x20810a=_0x3e64d8;this['_markDirty$'][_0x20810a(0xf6)]({'unitId':_0x9b299b,'subUnitId':_0x3215ce});}};Ne=qi([st(0x0,_0x5e764c(_0x34afa6)),st(0x1,_0x5e764c(_0x4a79fb)),st(0x2,_0x5e764c(he)),st(0x3,_0x5e764c(_0x4eff45)),st(0x4,_0x5e764c(_0xf1fdac))],Ne);var Yi=Object[_0x3e64d8(0x1f1)],zi=(_0x4dc4ff,_0x1f0079,_0x5855ad,_0x420b2e)=>{const _0x296559=_0x3e64d8;for(var _0xa2742=_0x420b2e>0x1?void 0x0:_0x420b2e?Yi(_0x1f0079,_0x5855ad):_0x1f0079,_0x5c04e0=_0x4dc4ff[_0x296559(0x169)]-0x1,_0x536334;_0x5c04e0>=0x0;_0x5c04e0--)(_0x536334=_0x4dc4ff[_0x5c04e0])&&(_0xa2742=_0x536334(_0xa2742)||_0xa2742);return _0xa2742;},yo=(_0x1678e4,_0x59cb45)=>(_0x33dfe7,_0x2b731d)=>_0x59cb45(_0x33dfe7,_0x2b731d,_0x1678e4);let ie=class extends _0x41248b{constructor(_0x129357,_0x1187a6){const _0x59e0b3=_0x3e64d8;super(),V(this,_0x59e0b3(0x132),new _0x5dc865({'PIVOT_PERFORM_CHECK':be})),V(this,'interceptor',new _0x5f0f7b({'PIVOT_MUTATION_GENERATE':Ho})),(this[_0x59e0b3(0x142)]=_0x129357,this[_0x59e0b3(0x198)]=_0x1187a6,this['_init']());}[_0x3e64d8(0xdb)](){this['_initViewModelBySheetInterceptor']();}['getPivotPerformCheck'](_0x15dff8){const _0x56d4d2=_0x3e64d8;return this['asyncInterceptor'][_0x56d4d2(0x306)](be)(!0x1,_0x15dff8);}['_initViewModelBySheetInterceptor'](){const _0x1d9df6=_0x3e64d8;this['disposeWithMe'](this[_0x1d9df6(0x142)][_0x1d9df6(0x218)](_0x36bbf1[_0x1d9df6(0x116)],{'priority':0xc8,'effect':_0x46ae8e[_0x1d9df6(0x203)]|_0x46ae8e[_0x1d9df6(0x24c)],'handler':(_0x5e4bde,_0x2acefa,_0xa9fea3)=>{const _0x5a5554=_0x1d9df6,{row:_0x9c6eb5,col:_0x4a44ce,unitId:_0x2d7b3b,subUnitId:_0x384b62,workbook:_0x282e84}=_0x2acefa,_0x53ada1=this[_0x5a5554(0x198)][_0x5a5554(0x245)](_0x2d7b3b,_0x384b62,_0x9c6eb5,_0x4a44ce);if(!_0x53ada1)return _0xa9fea3(_0x5e4bde);const _0x4d5567={..._0x5e4bde};(_0x53ada1['v']||_0x53ada1['v']===0x0)&&(_0x4d5567['v']=_0x53ada1['v']),_0x53ada1['t']&&(_0x4d5567['t']=_0x53ada1['t']);const _0x467d45=(typeof(_0x5e4bde==null?void 0x0:_0x5e4bde['s'])==_0x5a5554(0x1e0)?_0x282e84[_0x5a5554(0x1de)]()[_0x5a5554(0x1f3)](_0x5e4bde==null?void 0x0:_0x5e4bde['s']):_0x5e4bde==null?void 0x0:_0x5e4bde['s'])||{},_0x26d1aa=_0x282e84['getStyles']()['get'](_0x53ada1['s']),_0x3e7be9={..._0x26d1aa,..._0x467d45};_0x26d1aa!=null&&_0x26d1aa['n']&&(_0x3e7be9['n']=_0x26d1aa['n']);const _0x8aeee8=_0x282e84['getStyles']()[_0x5a5554(0x1df)](_0x3e7be9);return _0x4d5567['s']=_0x8aeee8,(_0x53ada1[_0x5a5554(0x2d4)]===_0x2ceb7a[_0x5a5554(0x27d)]||_0x53ada1[_0x5a5554(0x2d4)]===_0x2ceb7a[_0x5a5554(0xff)])&&(_0x4d5567['fontRenderExtension']={},_0x4d5567['fontRenderExtension'][_0x5a5554(0x21b)]=ri),_0xa9fea3(_0x4d5567);}}));}};ie=zi([yo(0x0,_0x5e764c(_0x595b5e)),yo(0x1,_0x5e764c(Ne))],ie);function Nt(_0x2ae742,_0x406911){const _0x50abb0=_0x3e64d8;switch(_0x406911){case _0x5bb14c[_0x50abb0(0x203)]:return _0x2ae742[_0x50abb0(0x2b0)];case _0x5bb14c[_0x50abb0(0x233)]:return _0x2ae742[_0x50abb0(0x18f)];case _0x5bb14c[_0x50abb0(0x16b)]:return _0x2ae742['rowFields'];case _0x5bb14c[_0x50abb0(0x2d2)]:return _0x2ae742[_0x50abb0(0x1d9)];default:return[];}}function $e(_0x4feadf,_0x4047aa){const _0x5a0cd6=_0x3e64d8;return _0x4feadf['measure'][_0x4047aa]||_0x4feadf[_0x5a0cd6(0x2b9)][_0x4047aa];}function Qi(_0x4b86a0,_0x35ee2f){const _0x21810d=_0x3e64d8,{area:_0x475173,fieldJson:_0x32085a,index:_0x2f893a}=_0x35ee2f;_0x475173===_0x5bb14c[_0x21810d(0x203)]?_0x4b86a0['measure'][_0x32085a['id']]=_0x32085a:_0x4b86a0['dimension'][_0x32085a['id']]=_0x32085a,Nt(_0x4b86a0,_0x475173)[_0x21810d(0x22e)](_0x2f893a,0x0,_0x32085a['id']);}function Xi(_0x518e23,_0x544eeb){const _0x392d62=_0x3e64d8,{area:_0x347dc6,fieldId:_0x3951f0,index:_0x1e4c15}=_0x544eeb;_0x347dc6===_0x5bb14c[_0x392d62(0x203)]?delete _0x518e23[_0x392d62(0x2bc)][_0x3951f0]:delete _0x518e23[_0x392d62(0x2b9)][_0x3951f0],Nt(_0x518e23,_0x347dc6)[_0x392d62(0x22e)](_0x1e4c15,0x1);}function Zi(_0x1a1c9d,_0x3b6f89){const _0x14e033=_0x3e64d8,{fieldId:_0x52aa8d,name:_0x1c32c8}=_0x3b6f89,_0x1f13b3=$e(_0x1a1c9d,_0x52aa8d);_0x1f13b3&&(_0x1f13b3[_0x14e033(0x10a)]=_0x1c32c8);}function es(_0x26eaa4,_0x13b05a){const _0x3b8df5=_0x3e64d8,{fieldId:_0x34af41,collapse:_0x33c1cb,item:_0x5c2620}=_0x13b05a;_0x5c2620!==void 0x0?(_0x26eaa4['collapseInfo'][_0x34af41]=_0x26eaa4[_0x3b8df5(0x2de)][_0x34af41]||{},_0x26eaa4[_0x3b8df5(0x2de)][_0x34af41][_0x5c2620]=_0x33c1cb):_0x26eaa4[_0x3b8df5(0x2de)][_0x34af41]=_0x33c1cb;}function ts(_0x548295,_0x5beb21){const _0x5e0c59=_0x3e64d8,{fieldId:_0x1560c3,format:_0x2e376e}=_0x5beb21,_0x1c61dc=$e(_0x548295,_0x1560c3);_0x1c61dc&&(_0x1c61dc[_0x5e0c59(0x193)]=_0x2e376e);}function os(_0x35759d,_0x3f010a){const _0x48d165=_0x3e64d8,{fieldId:_0x1587e5,filterInfo:_0x4a629c}=_0x3f010a,_0x2aaeb4=$e(_0x35759d,_0x1587e5);_0x2aaeb4&&(_0x2aaeb4[_0x48d165(0x154)]=_0x4a629c);}function ns(_0x171283,_0x51e9b7){const _0x14d987=_0x3e64d8,{fieldId:_0x24be06,filterInfo:_0x3d5418}=_0x51e9b7,_0x2fe3b7=_0x171283[_0x14d987(0x23d)]['filter'](_0x45f1c8=>_0x45f1c8[_0x14d987(0x323)]!==_0x24be06);_0x3d5418&&_0x2fe3b7['push']({'fieldId':_0x24be06,'filterInfo':_0x3d5418}),_0x171283['valueFilter']=_0x2fe3b7;}function is(_0x1e2b4a,_0x3707c9){const _0x3141b1=_0x3e64d8,{fieldId:_0x56c87c,subtotalType:_0x29dde5}=_0x3707c9,_0x1eeed5=$e(_0x1e2b4a,_0x56c87c);_0x1eeed5&&(_0x1eeed5[_0x3141b1(0x16c)]=_0x29dde5);}function ss(_0x1efb2d,_0x1e56fe){const _0x2e1b32=_0x3e64d8,{fieldId:_0x302400,oldArea:_0x5cf0df,area:_0x211c59,oldIndex:_0x3e06a6,index:_0x586688}=_0x1e56fe,_0x36ee82=_0x5cf0df!==_0x5bb14c['Value']&&_0x211c59===_0x5bb14c[_0x2e1b32(0x203)],_0x26377a=_0x5cf0df===_0x5bb14c[_0x2e1b32(0x203)]&&_0x211c59!==_0x5bb14c[_0x2e1b32(0x203)];if(_0x36ee82||_0x26377a){const _0x261c93=$e(_0x1efb2d,_0x302400);_0x261c93&&(_0x36ee82?(delete _0x1efb2d['dimension'][_0x302400],_0x1efb2d[_0x2e1b32(0x2bc)][_0x302400]=_0x261c93):(delete _0x1efb2d[_0x2e1b32(0x2bc)][_0x302400],_0x1efb2d[_0x2e1b32(0x2b9)][_0x302400]=_0x261c93));}const _0x4bad81=Nt(_0x1efb2d,_0x5cf0df),_0x293226=Nt(_0x1efb2d,_0x211c59);_0x4bad81['splice'](_0x3e06a6,0x1),_0x293226['splice'](_0x586688,0x0,_0x302400);}function as(_0x3170fb,_0x5a7f66){const {valuePosition:_0x25e430,index:_0x2228f3}=_0x5a7f66;_0x3170fb['valuePosition']=_0x25e430,_0x3170fb['valueIndex']=_0x2228f3;}function rs(_0x447203,_0x1cda55){const _0x27ab2d=_0x3e64d8,{tableFieldId:_0x2cb5b2,sourceName:_0x501edc,dataFieldId:_0x17779c}=_0x1cda55,_0xb08c9b=$e(_0x447203,_0x2cb5b2);_0xb08c9b&&(_0xb08c9b[_0x27ab2d(0x2cc)]=_0x501edc,_0xb08c9b['dataFieldId']=_0x17779c);}function ls(_0x3d02d9,_0x32965a){const _0x29704d=_0x3e64d8,{fieldId:_0x556843,sortInfo:_0x116d43}=_0x32965a,_0x43693b=$e(_0x3d02d9,_0x556843);_0x43693b&&(_0x43693b[_0x29704d(0x1f2)]=_0x116d43);}function cs(_0x2b9715,_0x5c88e6){const _0x3c4836=_0x3e64d8,{options:_0x256b3e}=_0x5c88e6;_0x2b9715[_0x3c4836(0x1c2)]={..._0x2b9715[_0x3c4836(0x1c2)],..._0x256b3e};}const $t={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x115),'handler'(_0x591ef8,_0x453ca3){const _0x3b152c=_0x3e64d8;if(!_0x453ca3)return!0x1;if(!!_0x591ef8[_0x3b152c(0x1f3)](_0x1b9dd7)[_0x3b152c(0x2e2)](q))return!0x0;const _0x1edfe3=_0x591ef8[_0x3b152c(0x1f3)]($),{pivotTableId:_0x5bd7bf,fieldJson:_0x94dd63,area:_0x40bf9a,index:_0x4ae6ac,unitId:_0x378f15,subUnitId:_0x4d4527}=_0x453ca3,_0x317a01=_0x1edfe3[_0x3b152c(0x33f)](_0x5bd7bf);if(!_0x317a01)return!0x1;let _0x5aa610;_0x40bf9a===_0x5bb14c['Value']?_0x5aa610=_0x4fd228(_0x94dd63):_0x5aa610=_0x19df2b(_0x94dd63),_0x317a01[_0x3b152c(0xe4)](_0x5aa610,_0x40bf9a,_0x4ae6ac);const _0x5d9f54=_0x1edfe3['getPivotTableModelConfig'](_0x378f15,_0x4d4527,_0x5bd7bf);Qi(_0x5d9f54,_0x453ca3);const _0x2f3e41=_0x1edfe3['getPivotTableConfig'](_0x378f15,_0x4d4527,_0x5bd7bf);return _0x1edfe3['addDirtyPivotTable']({'unitId':_0x378f15,'subUnitId':_0x4d4527,'token':_0x5bd7bf,'type':H['Set'],'pivotConfig':_0x2f3e41}),!0x0;}},Jt={'type':_0x1e552e['MUTATION'],'id':_0x3e64d8(0x30d),'handler'(_0x5327a9,_0x1c5648){const _0x332725=_0x3e64d8;if(!_0x1c5648)return!0x1;if(!!_0x5327a9[_0x332725(0x1f3)](_0x1b9dd7)[_0x332725(0x2e2)](q))return!0x0;const _0x38a5b0=_0x5327a9['get']($),{pivotTableId:_0x230b85,fieldId:_0x58b47c,unitId:_0x10b3a8,subUnitId:_0x40c252}=_0x1c5648,_0x4797fc=_0x38a5b0[_0x332725(0x33f)](_0x230b85);if(!_0x4797fc)return!0x1;_0x4797fc[_0x332725(0x30c)](_0x58b47c);const _0x131ea2=_0x38a5b0['getPivotTableModelConfig'](_0x10b3a8,_0x40c252,_0x230b85);Xi(_0x131ea2,_0x1c5648);const _0x553812=_0x38a5b0[_0x332725(0x26b)](_0x10b3a8,_0x40c252,_0x230b85);return _0x38a5b0[_0x332725(0x157)]({'unitId':_0x10b3a8,'subUnitId':_0x40c252,'token':_0x230b85,'type':H[_0x332725(0x249)],'pivotConfig':_0x553812}),!0x0;}},Wt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x12c),'handler'(_0x537d20,_0x178767){const _0x4e1407=_0x3e64d8;if(!_0x178767)return!0x1;if(!!_0x537d20[_0x4e1407(0x1f3)](_0x1b9dd7)[_0x4e1407(0x2e2)](q))return!0x0;const _0x51c9b1=_0x537d20[_0x4e1407(0x1f3)]($),{unitId:_0x221af3,subUnitId:_0x5cccee,pivotTableId:_0x5579bf,fieldId:_0x18249d,name:_0x4afb37}=_0x178767,_0x4fd4c5=_0x51c9b1[_0x4e1407(0x33f)](_0x5579bf);if(!_0x4fd4c5)return!0x1;_0x4fd4c5['renameField'](_0x18249d,_0x4afb37);const _0x5168e8=_0x51c9b1[_0x4e1407(0x24b)](_0x221af3,_0x5cccee,_0x5579bf);return Zi(_0x5168e8,_0x178767),_0x51c9b1[_0x4e1407(0x157)]({'unitId':_0x221af3,'subUnitId':_0x5cccee,'token':_0x5579bf,'type':H[_0x4e1407(0x249)]}),!0x0;}},jt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x4b99bc,_0x42a9ae){const _0x401fdf=_0x3e64d8;if(!_0x42a9ae)return!0x1;if(!!_0x4b99bc[_0x401fdf(0x1f3)](_0x1b9dd7)[_0x401fdf(0x2e2)](q))return!0x0;const _0x21973a=_0x4b99bc[_0x401fdf(0x1f3)]($),{unitId:_0x3d52a6,subUnitId:_0x1518cb,pivotTableId:_0x4049df,fieldId:_0x593d8b,collapse:_0x23359c,item:_0x31ec58}=_0x42a9ae,_0x248f75=_0x21973a[_0x401fdf(0x33f)](_0x4049df);if(!_0x248f75)return!0x1;_0x248f75[_0x401fdf(0x13e)](_0x593d8b,_0x23359c,_0x31ec58);const _0x323d29=_0x21973a[_0x401fdf(0x24b)](_0x3d52a6,_0x1518cb,_0x4049df);return es(_0x323d29,_0x42a9ae),_0x21973a['addDirtyPivotTable']({'unitId':_0x3d52a6,'subUnitId':_0x1518cb,'token':_0x4049df,'type':H['Set']}),!0x0;}},Gt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x241),'handler'(_0x507262,_0x541b7a){const _0x3a4448=_0x3e64d8;if(!_0x541b7a)return!0x1;if(!!_0x507262[_0x3a4448(0x1f3)](_0x1b9dd7)[_0x3a4448(0x2e2)](q))return!0x0;const _0x3b265b=_0x507262['get']($),{unitId:_0x3b6f1e,subUnitId:_0x1def5f,pivotTableId:_0x4c64e8,fieldId:_0x15ad55,format:_0x2a40bf}=_0x541b7a,_0x35f38d=_0x3b265b[_0x3a4448(0x33f)](_0x4c64e8);if(!_0x35f38d)return!0x1;_0x35f38d[_0x3a4448(0x1ed)](_0x15ad55,_0x2a40bf);const _0x39d384=_0x3b265b[_0x3a4448(0x24b)](_0x3b6f1e,_0x1def5f,_0x4c64e8);return ts(_0x39d384,_0x541b7a),_0x3b265b['addDirtyPivotTable']({'unitId':_0x3b6f1e,'subUnitId':_0x1def5f,'token':_0x4c64e8,'type':H['Set']}),!0x0;}},Kt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x176),'handler'(_0x48feba,_0x217b65){const _0x1166cc=_0x3e64d8;if(!_0x217b65)return!0x1;if(!!_0x48feba[_0x1166cc(0x1f3)](_0x1b9dd7)['getConfig'](q))return!0x0;const _0x5d104e=_0x48feba[_0x1166cc(0x1f3)]($),{unitId:_0x266c03,subUnitId:_0x3463a3,pivotTableId:_0x207125,fieldId:_0x2e2020,filterInfo:_0x572590}=_0x217b65,_0x199b64=_0x5d104e[_0x1166cc(0x33f)](_0x207125);if(!_0x199b64)return!0x1;_0x199b64[_0x1166cc(0x166)](_0x2e2020,_0x572590);const _0x5c2fd0=_0x5d104e[_0x1166cc(0x24b)](_0x266c03,_0x3463a3,_0x207125);return os(_0x5c2fd0,_0x217b65),_0x5d104e[_0x1166cc(0x157)]({'unitId':_0x266c03,'subUnitId':_0x3463a3,'token':_0x207125,'type':H[_0x1166cc(0x249)]}),!0x0;}},qt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x155),'handler'(_0x4553d6,_0x3113cd){const _0x449cd7=_0x3e64d8;if(!_0x3113cd)return!0x1;if(!!_0x4553d6[_0x449cd7(0x1f3)](_0x1b9dd7)[_0x449cd7(0x2e2)](q))return!0x0;const _0x10197c=_0x4553d6[_0x449cd7(0x1f3)]($),{unitId:_0x406234,subUnitId:_0x34cbef,pivotTableId:_0x198703,options:_0x29bcfb}=_0x3113cd,_0x42ce74=_0x10197c['getPivotTableInstance'](_0x198703);if(!_0x42ce74)return!0x1;_0x42ce74[_0x449cd7(0x248)](_0x29bcfb);const _0x1ef86f=_0x10197c[_0x449cd7(0x24b)](_0x406234,_0x34cbef,_0x198703);return cs(_0x1ef86f,_0x3113cd),_0x10197c['addDirtyPivotTable']({'unitId':_0x406234,'subUnitId':_0x34cbef,'token':_0x198703,'type':H[_0x449cd7(0x249)]}),!0x0;}},Yt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x1c6),'handler'(_0x1d7905,_0x32a874){const _0x536f1f=_0x3e64d8;if(!_0x32a874)return!0x1;if(!!_0x1d7905['get'](_0x1b9dd7)['getConfig'](q))return!0x0;const _0x4c1d99=_0x1d7905[_0x536f1f(0x1f3)]($),{unitId:_0x402429,subUnitId:_0x54f56f,pivotTableId:_0x2d0473,sortInfo:_0x5537f7,fieldId:_0x4f1ff6}=_0x32a874,_0x19faad=_0x4c1d99[_0x536f1f(0x33f)](_0x2d0473);if(!_0x19faad)return!0x1;_0x19faad[_0x536f1f(0x28f)](_0x4f1ff6,_0x5537f7);const _0x20ac05=_0x4c1d99[_0x536f1f(0x24b)](_0x402429,_0x54f56f,_0x2d0473);return ls(_0x20ac05,_0x32a874),_0x4c1d99[_0x536f1f(0x157)]({'unitId':_0x402429,'subUnitId':_0x54f56f,'token':_0x2d0473,'type':H[_0x536f1f(0x249)]}),!0x0;}},zt={'type':_0x1e552e['MUTATION'],'id':_0x3e64d8(0x17a),'handler'(_0x3c6af3,_0x3d6ed1){const _0xb5bdff=_0x3e64d8;if(!_0x3d6ed1)return!0x1;if(!!_0x3c6af3['get'](_0x1b9dd7)['getConfig'](q))return!0x0;const _0x9f1e61=_0x3c6af3[_0xb5bdff(0x1f3)]($),{unitId:_0x1fc4fb,subUnitId:_0x189a5b,pivotTableId:_0x1b7a5e,fieldId:_0x2a036c,subtotalType:_0x4cf9d8}=_0x3d6ed1,_0xb3d60f=_0x9f1e61[_0xb5bdff(0x33f)](_0x1b7a5e);if(!_0xb3d60f)return!0x1;_0xb3d60f[_0xb5bdff(0x2c5)](_0x2a036c,_0x4cf9d8);const _0x5cabe6=_0x9f1e61['getPivotTableModelConfig'](_0x1fc4fb,_0x189a5b,_0x1b7a5e);return is(_0x5cabe6,_0x3d6ed1),_0x9f1e61[_0xb5bdff(0x157)]({'unitId':_0x1fc4fb,'subUnitId':_0x189a5b,'token':_0x1b7a5e,'type':H[_0xb5bdff(0x249)]}),!0x0;}},Qt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x4ef6ba,_0x2a9ec4){const _0x1796d7=_0x3e64d8;if(!_0x2a9ec4)return!0x1;if(!!_0x4ef6ba[_0x1796d7(0x1f3)](_0x1b9dd7)['getConfig'](q))return!0x0;const _0x5807ee=_0x4ef6ba[_0x1796d7(0x1f3)]($),{unitId:_0x3d0858,subUnitId:_0x2dbc77,pivotTableId:_0x472c70,fieldId:_0x195c08,filterInfo:_0x2d9be3}=_0x2a9ec4,_0x43f17b=_0x5807ee[_0x1796d7(0x33f)](_0x472c70);if(!_0x43f17b)return!0x1;_0x43f17b[_0x1796d7(0x173)](_0x195c08,_0x2d9be3);const _0x3072e1=_0x5807ee[_0x1796d7(0x24b)](_0x3d0858,_0x2dbc77,_0x472c70);return ns(_0x3072e1,_0x2a9ec4),_0x5807ee[_0x1796d7(0x157)]({'unitId':_0x3d0858,'subUnitId':_0x2dbc77,'token':_0x472c70,'type':H['Set']}),!0x0;}},Xt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0xd7),'handler'(_0xe1dba6,_0x5bf1da){const _0x5cd66f=_0x3e64d8;if(!_0x5bf1da)return!0x1;if(!!_0xe1dba6[_0x5cd66f(0x1f3)](_0x1b9dd7)[_0x5cd66f(0x2e2)](q))return!0x0;const _0x5a4813=_0xe1dba6[_0x5cd66f(0x1f3)]($),{unitId:_0x1d2600,subUnitId:_0x3ea59a,pivotTableId:_0x32745e,area:_0x570a08,index:_0x4b8b49,fieldId:_0x458132}=_0x5bf1da,_0x951cef=_0x5a4813['getPivotTableInstance'](_0x32745e);if(!_0x951cef)return!0x1;_0x951cef[_0x5cd66f(0x211)](_0x458132,_0x570a08,_0x4b8b49);const _0x284136=_0x5a4813[_0x5cd66f(0x24b)](_0x1d2600,_0x3ea59a,_0x32745e);return ss(_0x284136,_0x5bf1da),_0x5a4813['addDirtyPivotTable']({'unitId':_0x1d2600,'subUnitId':_0x3ea59a,'token':_0x32745e,'type':H[_0x5cd66f(0x249)]}),!0x0;}},Zt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x209),'handler'(_0x513dbf,_0x41d610){const _0x278a21=_0x3e64d8;if(!_0x41d610)return!0x1;if(!!_0x513dbf[_0x278a21(0x1f3)](_0x1b9dd7)[_0x278a21(0x2e2)](q))return!0x0;const _0x12e4ed=_0x513dbf['get']($),{unitId:_0x2a74ed,subUnitId:_0x308c99,pivotTableId:_0x53d1db,sourceName:_0x2bf257,dataFieldId:_0x507ba0,tableFieldId:_0x15d8c9}=_0x41d610,_0x28c2a6=_0x12e4ed[_0x278a21(0x33f)](_0x53d1db);if(!_0x28c2a6)return!0x1;_0x28c2a6['updateFieldSourceInfo'](_0x15d8c9,_0x2bf257,_0x507ba0);const _0x2049f2=_0x12e4ed[_0x278a21(0x24b)](_0x2a74ed,_0x308c99,_0x53d1db);return rs(_0x2049f2,_0x41d610),_0x12e4ed[_0x278a21(0x157)]({'unitId':_0x2a74ed,'subUnitId':_0x308c99,'token':_0x53d1db,'type':H[_0x278a21(0x249)]}),!0x0;}},eo={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x111),'handler'(_0x1b1781,_0x1b322a){const _0x394a27=_0x3e64d8;if(!_0x1b322a)return!0x1;if(!!_0x1b1781['get'](_0x1b9dd7)['getConfig'](q))return!0x0;const _0x348819=_0x1b1781[_0x394a27(0x1f3)]($),{unitId:_0x2ecdc1,subUnitId:_0x37d107,pivotTableId:_0x3deef1,valuePosition:_0x3412b9,index:_0x89afb7}=_0x1b322a,_0x36c1f7=_0x348819[_0x394a27(0x33f)](_0x3deef1);if(!_0x36c1f7)return!0x1;_0x36c1f7[_0x394a27(0x1ea)](_0x3412b9,_0x89afb7);const _0x3fe64d=_0x348819['getPivotTableModelConfig'](_0x2ecdc1,_0x37d107,_0x3deef1);return as(_0x3fe64d,_0x1b322a),_0x348819[_0x394a27(0x157)]({'unitId':_0x2ecdc1,'subUnitId':_0x37d107,'token':_0x3deef1,'type':H['Set']}),!0x0;}};function Ie(_0x4386e2,_0x5f2c41,_0x4b04c8){const _0x45819d=_0x3e64d8,{pivotTableId:_0x47ba77,unitId:_0x451fe9,subUnitId:_0x263bfb}=_0x5f2c41,_0x192ef7=[],_0x488c3a=[];for(const _0x3d9d69 of _0x4b04c8)switch(_0x3d9d69['type']){case _0x107a7c[_0x45819d(0x1f7)]:{const {fieldJson:_0x2b3c5c,area:_0x30a488,index:_0x49c404}=_0x3d9d69,_0x35881c={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldJson':_0x2b3c5c,'area':_0x30a488,'index':_0x49c404},_0x4adbdf={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x2b3c5c['id'],'area':_0x30a488,'index':_0x49c404};_0x192ef7['push']({'id':$t['id'],'params':_0x35881c}),_0x488c3a[_0x45819d(0x28b)]({'id':Jt['id'],'params':_0x4adbdf});}break;case _0x107a7c[_0x45819d(0x14e)]:{const {fieldId:_0x4bc0bc,newSubtotalType:_0xc5c5a5,oldSubtotalType:_0x4e169c}=_0x3d9d69,_0x49c358={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x4bc0bc,'subtotalType':_0xc5c5a5};_0x192ef7['push']({'id':zt['id'],'params':_0x49c358});const _0x30743c={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x4bc0bc,'subtotalType':_0x4e169c};_0x488c3a[_0x45819d(0x28b)]({'id':zt['id'],'params':_0x30743c});}break;case _0x107a7c[_0x45819d(0x11b)]:{const {fieldId:_0x2d2ef6,fieldJson:_0x4f59eb,area:_0x8619b4,index:_0x2a511c}=_0x3d9d69,_0x238f71={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x2d2ef6,'index':_0x2a511c,'area':_0x8619b4};_0x192ef7['push']({'id':Jt['id'],'params':_0x238f71});const _0x5b6e20={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldJson':_0x4f59eb,'area':_0x8619b4,'index':_0x2a511c};_0x488c3a[_0x45819d(0x28b)]({'id':$t['id'],'params':_0x5b6e20});}break;case _0x107a7c[_0x45819d(0x227)]:{const {fieldId:_0x17c904,oldName:_0x16805a,newName:_0x5d6589}=_0x3d9d69,_0x294308={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x17c904,'name':_0x5d6589};_0x192ef7['push']({'id':Wt['id'],'params':_0x294308});const _0x1c0ea1={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x17c904,'name':_0x16805a};_0x488c3a[_0x45819d(0x28b)]({'id':Wt['id'],'params':_0x1c0ea1});}break;case _0x107a7c[_0x45819d(0x229)]:{const {fieldId:_0x6cf27d,oldFilterInfo:_0x13ea67,newFilterInfo:_0x168975}=_0x3d9d69,_0x257a3f={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x6cf27d,'filterInfo':_0x168975};_0x192ef7[_0x45819d(0x2b6)]({'id':Kt['id'],'params':_0x257a3f});const _0x1b7511={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x6cf27d,'filterInfo':_0x13ea67};_0x488c3a['unshift']({'id':Kt['id'],'params':_0x1b7511});}break;case _0x107a7c[_0x45819d(0x30f)]:{const {fieldId:_0x110932,oldSortInfo:_0xede839,newSortInfo:_0x485d22}=_0x3d9d69,_0x4783b8={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x110932,'sortInfo':_0x485d22};_0x192ef7['push']({'id':Yt['id'],'params':_0x4783b8});const _0x5739c3={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x110932,'sortInfo':_0xede839};_0x488c3a[_0x45819d(0x28b)]({'id':Yt['id'],'params':_0x5739c3});}break;case _0x107a7c[_0x45819d(0xee)]:{const {oldOptions:_0x2591b2,newOptions:_0x55102d}=_0x3d9d69,_0x40ae27={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'options':_0x55102d};_0x192ef7[_0x45819d(0x2b6)]({'id':qt['id'],'params':_0x40ae27});const _0x11e03c={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'options':_0x2591b2};_0x488c3a[_0x45819d(0x28b)]({'id':qt['id'],'params':_0x11e03c});}break;case _0x107a7c[_0x45819d(0x2ac)]:{const {oldArea:_0x8456ad,newArea:_0x1b6a89,oldIndex:_0x39117c,newIndex:_0x35e8e9,fieldId:_0x5706e7}=_0x3d9d69,_0x5d8b30={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x5706e7,'area':_0x1b6a89,'index':_0x35e8e9,'oldArea':_0x8456ad,'oldIndex':_0x39117c};_0x192ef7['push']({'id':Xt['id'],'params':_0x5d8b30});const _0x3308b5={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x5706e7,'area':_0x8456ad,'index':_0x39117c,'oldArea':_0x1b6a89,'oldIndex':_0x35e8e9};_0x488c3a[_0x45819d(0x28b)]({'id':Xt['id'],'params':_0x3308b5});}break;case _0x107a7c[_0x45819d(0x10f)]:{const {oldValuePosition:_0x4fd821,newValuePosition:_0x5c6e10,oldIndex:_0x4c9450,newIndex:_0x463943}=_0x3d9d69,_0x14518a={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'valuePosition':_0x5c6e10,'index':_0x463943};_0x192ef7['push']({'id':eo['id'],'params':_0x14518a});const _0x437230={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'valuePosition':_0x4fd821,'index':_0x4c9450};_0x488c3a[_0x45819d(0x28b)]({'id':eo['id'],'params':_0x437230});}break;case _0x107a7c['SetCollapse']:{const {fieldId:_0x179def,collapse:_0x2ae659,item:_0x25c787}=_0x3d9d69,_0x1a495c={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x179def,'collapse':_0x2ae659,'item':_0x25c787};_0x192ef7['push']({'id':jt['id'],'params':_0x1a495c});const _0x4dad2a={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x179def,'collapse':!_0x2ae659,'item':_0x25c787};_0x488c3a[_0x45819d(0x28b)]({'id':jt['id'],'params':_0x4dad2a});}break;case _0x107a7c[_0x45819d(0x145)]:{const {newFormat:_0x5e31b9,oldFormat:_0x5a3837,fieldId:_0x551427}=_0x3d9d69,_0x4b1299={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x551427,'format':_0x5e31b9};_0x192ef7['push']({'id':Gt['id'],'params':_0x4b1299});const _0xe3364e={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x551427,'format':_0x5a3837};_0x488c3a[_0x45819d(0x28b)]({'id':Gt['id'],'params':_0xe3364e});}break;case _0x107a7c['UpdateSource']:{const {tableFieldId:_0x2113e5,oldSourceName:_0x3c4eb7,newSourceName:_0xb15e1,oldDataFieldId:_0x3a30c3,newDataFieldId:_0x3edc13}=_0x3d9d69,_0x391a0e={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'tableFieldId':_0x2113e5,'sourceName':_0xb15e1,'dataFieldId':_0x3edc13};_0x192ef7[_0x45819d(0x2b6)]({'id':Zt['id'],'params':_0x391a0e});const _0x2ad4d3={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'tableFieldId':_0x2113e5,'sourceName':_0x3c4eb7,'dataFieldId':_0x3a30c3};_0x488c3a[_0x45819d(0x28b)]({'id':Zt['id'],'params':_0x2ad4d3});}break;case _0x107a7c['SetValueFilter']:{const {fieldId:_0x5cb023,filterInfo:_0x2e6597,oldFilterInfo:_0x37054e}=_0x3d9d69,_0x5de9d5={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x5cb023,'filterInfo':_0x2e6597};_0x192ef7[_0x45819d(0x2b6)]({'id':Qt['id'],'params':_0x5de9d5});const _0x594ee7={'unitId':_0x451fe9,'subUnitId':_0x263bfb,'pivotTableId':_0x47ba77,'fieldId':_0x5cb023,'filterInfo':_0x37054e};_0x488c3a['unshift']({'id':Qt['id'],'params':_0x594ee7});}}return{'redos':_0x192ef7,'undos':_0x488c3a};}function _e(_0xe6e7db,_0xc19907){const _0xa8760d=_0x3e64d8;var _0x57152c;const _0x31cde8=_0xe6e7db[_0xa8760d(0x1f3)](ie),{cellInfo:_0xa031b0,view:_0x1bbb67,isEmpty:_0x123394}=_0xc19907;return(_0x57152c=_0x31cde8['interceptor'][_0xa8760d(0x1e2)](Ho)(So,{'cellInfo':_0xa031b0,'view':_0x1bbb67,'isEmpty':_0x123394}))!=null?_0x57152c:So;}const ds=()=>typeof process<'u'&&process[_0x3e64d8(0x24a)]!=null&&process[_0x3e64d8(0x24a)][_0x3e64d8(0x15b)]!=null,Ct={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':'sheet.mutation.add-pivot-table','handler'(_0x44168d,_0x545eca){const _0x99e8bb=_0x3e64d8;var _0x14b739;if(!_0x545eca)return!0x1;const _0x594dae=_0x44168d[_0x99e8bb(0x1f3)](_0x1b9dd7);if(!!_0x594dae[_0x99e8bb(0x2e2)](q))return!0x0;const _0x2a6b35=_0x44168d['get'](_0x4eff45),_0x347435=_0x44168d[_0x99e8bb(0x1f3)]($),{pivotTableId:_0x1d7acb,pivotTableConfig:_0x2190ee,collectionConfig:_0x5e22b3,unitId:_0x42beb1,subUnitId:_0x208d38}=_0x545eca,{sourceRangeInfo:_0x28b04b,fieldsConfig:_0x1cb425,targetCellInfo:_0x1cf2cd}=_0x2190ee,_0x45b2c5=_0x2a6b35[_0x99e8bb(0xfe)](_0x42beb1);if(!_0x45b2c5||!_0x45b2c5[_0x99e8bb(0x190)](_0x208d38))return!0x1;if(!ds()){let _0x18655b=0x0;_0x45b2c5[_0x99e8bb(0x2e3)]()['forEach'](_0x1cfbc0=>{const _0xe5aad5=_0x99e8bb;var _0x260979,_0x58daf0;_0x18655b+=(_0x58daf0=(_0x260979=_0x347435[_0xe5aad5(0x2ae)](_0x42beb1,_0x1cfbc0[_0xe5aad5(0x18e)]()))==null?void 0x0:_0x260979[_0xe5aad5(0x2b7)])!=null?_0x58daf0:0x0;});const _0x314fdc=(_0x14b739=_0x594dae['getConfig'](_0x1eec45))!=null?_0x14b739:{},{ls:_0x4fde32,pbk:_0x39d564}=_0x314fdc;if(!jo(_0x4fde32,_0x39d564))throw new _0x462fc5(_0x99e8bb(0x2b2));const _0x3f0836=go(so,_0x4fde32,_0x39d564)[_0x99e8bb(0x19a)];if(_0x18655b>=_0x3f0836)throw new _0x462fc5('limit\x20pivot');}if(!_0x5e22b3||!_0x1cb425)return!0x1;const {collection:_0x1ee760,updateDataFieldList:_0x3c3763}=_0x347435['addCollectionByJSON'](_0x1d7acb,_0x5e22b3,_0x28b04b,_0x1cf2cd);_0x347435[_0x99e8bb(0x141)](_0x1ee760,_0x3c3763,_0x28b04b);const _0xc55638=new _0x1c5293(_0x1ee760,void 0x0,_0x1d7acb);_0xc55638[_0x99e8bb(0x2c3)](_0x1cb425);const _0x2af15d=JSON[_0x99e8bb(0xe2)](JSON[_0x99e8bb(0x20b)](_0x2190ee));return _0x347435[_0x99e8bb(0x12f)](_0x42beb1,_0x208d38,_0x1d7acb,_0xc55638,_0x2af15d),_0x347435[_0x99e8bb(0x157)]({'unitId':_0x42beb1,'subUnitId':_0x208d38,'token':_0x1d7acb,'type':H['Add'],'pivotConfig':_0x2af15d}),!0x0;}},Et={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x230),'handler'(_0x2e701f,_0x34db28){const _0x4317bf=_0x3e64d8;if(!_0x34db28)return!0x1;if(!!_0x2e701f[_0x4317bf(0x1f3)](_0x1b9dd7)[_0x4317bf(0x2e2)](q))return!0x0;const {pivotTableId:_0x39b120,unitId:_0x1e8f32,subUnitId:_0x43f39c}=_0x34db28,_0xdd840d=_0x2e701f[_0x4317bf(0x1f3)]($);return _0xdd840d[_0x4317bf(0x26b)](_0x1e8f32,_0x43f39c,_0x39b120)?(_0xdd840d[_0x4317bf(0x157)]({'unitId':_0x1e8f32,'subUnitId':_0x43f39c,'token':_0x39b120,'type':H['Delete']}),_0xdd840d['removePivotTable'](_0x1e8f32,_0x43f39c,_0x39b120),!0x0):!0x1;}},pt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x29d),'handler'(_0x4820aa,_0x43ebd6){const _0x35f884=_0x3e64d8;if(!_0x43ebd6)return!0x1;if(!!_0x4820aa[_0x35f884(0x1f3)](_0x1b9dd7)[_0x35f884(0x2e2)](q))return!0x0;const {pivotTableId:_0x32c3f2,targetCellPosition:_0x2260ee,unitId:_0x700dfd,subUnitId:_0x20380a}=_0x43ebd6,_0x4f51ff=_0x4820aa[_0x35f884(0x1f3)]($);if(!_0x4f51ff[_0x35f884(0x33f)](_0x43ebd6[_0x35f884(0x152)]))return!0x1;const _0x28e6e5=_0x4f51ff[_0x35f884(0x187)](_0x32c3f2);if(!_0x28e6e5)return!0x1;const _0x33c4e8=_0x4f51ff[_0x35f884(0x1fc)](_0x28e6e5[_0x35f884(0x1ba)],_0x43ebd6[_0x35f884(0x152)]);if(!_0x33c4e8)return!0x1;const _0x1aa02d=_0x4f51ff[_0x35f884(0x26b)](_0x28e6e5[_0x35f884(0x1ba)],_0x28e6e5['subUnitId'],_0x32c3f2);if(!_0x1aa02d)return!0x1;const _0x15ba7f=_0x4d403b['deepClone'](_0x1aa02d);_0x15ba7f['targetCellInfo']={'unitId':_0x700dfd,'subUnitId':_0x20380a,'row':_0x2260ee[_0x35f884(0x2e7)],'col':_0x2260ee['col']};const _0xb43ffb=_0x33c4e8[_0x35f884(0x2db)]();if(_0x28e6e5['subUnitId']===_0x20380a&&_0x28e6e5[_0x35f884(0x1ba)]===_0x700dfd)_0x4f51ff[_0x35f884(0x19c)](_0x700dfd,_0x20380a,_0x32c3f2,_0x15ba7f),_0x4f51ff[_0x35f884(0x157)]({'unitId':_0x700dfd,'subUnitId':_0x20380a,'token':_0x32c3f2,'type':H['Set']});else{_0x4f51ff[_0x35f884(0x157)]({'unitId':_0x28e6e5[_0x35f884(0x1ba)],'subUnitId':_0x28e6e5[_0x35f884(0x268)],'token':_0x32c3f2,'type':H[_0x35f884(0x28e)]}),_0x4f51ff[_0x35f884(0x2e5)](_0x28e6e5[_0x35f884(0x1ba)],_0x28e6e5['subUnitId'],_0x32c3f2);const _0xc6b8f3=_0x4f51ff['addCollectionByJSON'](_0x32c3f2,_0xb43ffb,_0x1aa02d['sourceRangeInfo'],_0x15ba7f[_0x35f884(0x1ff)]),_0x305c62=new _0x1c5293(_0xc6b8f3[_0x35f884(0xf9)],void 0x0,_0x32c3f2);_0x305c62[_0x35f884(0x2c3)](_0x15ba7f[_0x35f884(0x31f)]),_0x4f51ff[_0x35f884(0x12f)](_0x700dfd,_0x20380a,_0x32c3f2,_0x305c62,_0x15ba7f),_0x4f51ff[_0x35f884(0x157)]({'unitId':_0x700dfd,'subUnitId':_0x20380a,'token':_0x32c3f2,'type':H[_0x35f884(0x1fd)],'pivotConfig':_0x15ba7f});}return!0x0;}},to={'type':_0x1e552e['MUTATION'],'id':_0x3e64d8(0x17f),'handler'(_0x41aea3,_0x2403d7){const _0x1f1f83=_0x3e64d8;if(!_0x2403d7)return!0x1;if(!!_0x41aea3['get'](_0x1b9dd7)[_0x1f1f83(0x2e2)](q))return!0x0;const _0x986fe8=_0x41aea3[_0x1f1f83(0x1f3)]($),{pivotTableId:_0x25f125,deleteIds:_0x117a79,collectionJSON:_0x167f03,dataRangeInfo:_0x1300a7,unitId:_0x3fb510,subUnitId:_0x260618}=_0x2403d7,_0x1a3ed2=_0x986fe8[_0x1f1f83(0x33f)](_0x25f125),_0x1292c9=_0x986fe8[_0x1f1f83(0x26b)](_0x3fb510,_0x260618,_0x25f125);if(!_0x1a3ed2||!_0x1292c9)return!0x1;const {collection:_0x4c75d6,updateDataFieldList:_0x47737a}=_0x986fe8['addCollectionByJSON'](_0x25f125,_0x167f03,_0x1300a7,_0x1292c9['targetCellInfo']);_0x986fe8[_0x1f1f83(0x141)](_0x4c75d6,_0x47737a,_0x1300a7),_0x1a3ed2[_0x1f1f83(0x2ea)](_0x4c75d6);for(const _0x16f6a5 of _0x117a79)_0x986fe8[_0x1f1f83(0x1f0)](_0x1300a7['unitId'],_0x16f6a5);const _0x2c7b42=_0x986fe8['getPivotTableConfig'](_0x3fb510,_0x260618,_0x25f125);return _0x2c7b42[_0x1f1f83(0x1e8)]=JSON[_0x1f1f83(0xe2)](JSON[_0x1f1f83(0x20b)](_0x1300a7)),_0x986fe8['addDirtyPivotTable']({'unitId':_0x3fb510,'subUnitId':_0x260618,'token':_0x25f125,'type':H[_0x1f1f83(0x249)]}),!0x0;}},Vt={'type':_0x1e552e[_0x3e64d8(0x2bb)],'id':_0x3e64d8(0x34e),'handler'(){return!0x0;}};var us=Object['getOwnPropertyDescriptor'],fs=(_0x3b42de,_0x4ded1c,_0x6999de,_0x2486b2)=>{for(var _0x3ca8a7=_0x2486b2>0x1?void 0x0:_0x2486b2?us(_0x4ded1c,_0x6999de):_0x4ded1c,_0x75037=_0x3b42de['length']-0x1,_0x46cc87;_0x75037>=0x0;_0x75037--)(_0x46cc87=_0x3b42de[_0x75037])&&(_0x3ca8a7=_0x46cc87(_0x3ca8a7)||_0x3ca8a7);return _0x3ca8a7;},gs=(_0x5bcc66,_0x5a48e6)=>(_0x3b9251,_0x94c9d3)=>_0x5a48e6(_0x3b9251,_0x94c9d3,_0x5bcc66);let Z=class extends _0x41248b{constructor(_0x31e6ce){const _0x2e9aaa=_0x3e64d8;super(),V(this,_0x2e9aaa(0x26d),new Map()),this[_0x2e9aaa(0x13a)]=_0x31e6ce;}[_0x3e64d8(0x2dd)](_0x1229f5){const _0x1419b9=_0x3e64d8,{version:_0x11aee5}=_0x1229f5,_0x36539a=this[_0x1419b9(0x26d)][_0x1419b9(0x1f3)](_0x11aee5);_0x36539a&&(_0x36539a(_0x1229f5),this[_0x1419b9(0x26d)]['delete'](_0x11aee5));}[_0x3e64d8(0x2b1)](_0x557a1e){return new Promise((_0x5ce9a7,_0x432cdc)=>{const _0x46e54a=_0x141d,_0x3c3486=this['_generateUniqueVersion']();this[_0x46e54a(0x26d)][_0x46e54a(0x1b9)](_0x3c3486,_0x5ce9a7),this[_0x46e54a(0x13a)][_0x46e54a(0x279)](ro['id'],{'version':_0x3c3486,..._0x557a1e},{'onlyLocal':!0x0});});}[_0x3e64d8(0x2cd)](){const _0x36ae4f=_0x3e64d8;return Math[_0x36ae4f(0x278)]()[_0x36ae4f(0x106)](0x24)[_0x36ae4f(0x1bd)](0x2,0x10);}};Z=fs([gs(0x0,_0x5e764c(_0x56dc87))],Z);const Yo={'id':'sheet.mutation.add-group-collection','type':_0x1e552e[_0x3e64d8(0x2bb)],'handler':(_0x46492b,_0x437e18)=>{const _0x3bb979=_0x3e64d8;if(!_0x437e18)return!0x1;if(!!_0x46492b['get'](_0x1b9dd7)[_0x3bb979(0x2e2)](q))return!0x0;const {pivotTableId:_0x2b083d,fieldJSON:_0x2e9e6d,unitId:_0x564360,subUnitId:_0x9678f5}=_0x437e18,_0x4c7390=_0x3a7abb[_0x3bb979(0x2c3)](_0x2e9e6d);if(!_0x4c7390)return!0x1;const _0x27e86a=_0x46492b[_0x3bb979(0x1f3)]($),_0x3a95fb=_0x27e86a['getDataFieldManager'](_0x564360),_0x32759c=_0x3a95fb[_0x3bb979(0x1fc)](_0x2b083d);_0x3a95fb[_0x3bb979(0x2cb)](_0x4c7390),_0x32759c[_0x3bb979(0xe4)](_0x4c7390[_0x3bb979(0x10b)](),_0x4c7390['getName']());const _0x343257=_0x32759c[_0x3bb979(0x1ca)](_0x4c7390[_0x3bb979(0x21c)]());_0x343257&&_0x4c7390['refreshGroupField'](_0x343257);const _0x42b46c=_0x27e86a[_0x3bb979(0x26b)](_0x564360,_0x9678f5,_0x2b083d);return _0x27e86a[_0x3bb979(0x157)]({'unitId':_0x564360,'subUnitId':_0x9678f5,'token':_0x2b083d,'type':H[_0x3bb979(0x249)],'pivotConfig':_0x42b46c}),!0x0;}},zo={'id':'sheet.mutation.remove-group-collection','type':_0x1e552e[_0x3e64d8(0x2bb)],'handler':(_0x5515af,_0x148df0)=>{const _0x3cd129=_0x3e64d8;if(!_0x148df0)return!0x1;if(!!_0x5515af[_0x3cd129(0x1f3)](_0x1b9dd7)[_0x3cd129(0x2e2)](q))return!0x0;const {pivotTableId:_0x40313f,dataFieldId:_0x4d8e73,unitId:_0x23f2ed,subUnitId:_0x1743f8}=_0x148df0,_0xd092ed=_0x5515af[_0x3cd129(0x1f3)]($),_0xd6c21c=_0xd092ed[_0x3cd129(0x207)](_0x23f2ed);_0xd6c21c[_0x3cd129(0x1fc)](_0x40313f)['deleteField'](_0x4d8e73);let _0x2f1f36=!0x0;for(const _0x5f2d12 in _0xd6c21c[_0x3cd129(0x256)])if(_0xd6c21c[_0x3cd129(0x256)][_0x5f2d12][_0x3cd129(0x215)]()['includes'](_0x4d8e73)){_0x2f1f36=!0x1;break;}_0x2f1f36&&_0xd6c21c[_0x3cd129(0x16a)](_0x4d8e73);const _0x547639=_0xd092ed[_0x3cd129(0x26b)](_0x23f2ed,_0x1743f8,_0x40313f);return _0xd092ed[_0x3cd129(0x157)]({'unitId':_0x23f2ed,'subUnitId':_0x1743f8,'token':_0x40313f,'type':H['Set'],'pivotConfig':_0x547639}),!0x0;}},vs={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':_0x3e64d8(0x2df),async 'handler'(_0x4b1280,_0x1e1922){const _0x204ce3=_0x3e64d8;if(!_0x1e1922)return!0x1;const _0x4addd6=_0x4b1280[_0x204ce3(0x1f3)](_0x56dc87),_0x2e1212=_0x4b1280['get'](Z),_0x5c82aa=_0x4b1280[_0x204ce3(0x1f3)](_0xaae365),{pivotTableId:_0x2a2efb,dataFieldId:_0x3ce09f,fieldArea:_0x5cc293,index:_0x45544a,unitId:_0x173253,subUnitId:_0x36f02c}=_0x1e1922,_0x462177=(await _0x2e1212[_0x204ce3(0x2b1)]({'unitId':_0x173253,'subUnitId':_0x36f02c,'pivotTableId':_0x2a2efb,'params':{'type':k[_0x204ce3(0x219)],'addPivotField':{'dataFieldId':_0x3ce09f,'fieldArea':_0x5cc293,'index':_0x45544a}}}))[_0x204ce3(0x316)][_0x204ce3(0x263)];if(!_0x462177)return!0x1;const {view:_0x166dae,changesets:_0x46b5ec,isEmpty:_0x371ee8,pivotTableConfig:_0x5eb6bb,shouldBeAddedGroupJSON:_0x8011c0}=_0x462177,_0x30ef0f=_0x5eb6bb[_0x204ce3(0x1ff)],_0x407505=new _0x7d4b1b();_0x407505['formJSON'](_0x166dae);const _0x5171b5={'cellInfo':_0x30ef0f,'view':_0x407505,'isEmpty':_0x371ee8};if(!await _0x4b1280['get'](ie)[_0x204ce3(0x132)][_0x204ce3(0x306)](be)(!0x0,_0x5171b5))return!0x1;const _0x16d822=we(_0x4b1280,_0x407505,_0x30ef0f,_0x371ee8),_0x584d6f=_e(_0x4b1280,_0x5171b5),{undos:_0x3f53b2,redos:_0x149513}=Ie(_0x4addd6,{'pivotTableId':_0x2a2efb,'unitId':_0x173253,'subUnitId':_0x36f02c},_0x46b5ec);return _0x8011c0&&(_0x149513['unshift']({'id':Yo['id'],'params':{'pivotTableId':_0x2a2efb,'fieldJSON':_0x8011c0,'unitId':_0x173253,'subUnitId':_0x36f02c}}),_0x3f53b2[_0x204ce3(0x2b6)]({'id':zo['id'],'params':{'pivotTableId':_0x2a2efb,'dataFieldId':_0x8011c0['id'],'unitId':_0x173253,'subUnitId':_0x36f02c}})),_0x594e7c([..._0x16d822[_0x204ce3(0x288)],..._0x584d6f['redos'],..._0x149513],_0x4addd6),_0x5c82aa['pushUndoRedo']({'unitID':_0x173253,'redoMutations':[..._0x16d822['redos'],..._0x584d6f[_0x204ce3(0x288)],..._0x149513],'undoMutations':[..._0x16d822[_0x204ce3(0x1d3)],..._0x584d6f[_0x204ce3(0x1d3)],..._0x3f53b2]}),!0x0;}},hs={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':_0x3e64d8(0x2f7),async 'handler'(_0x3f51ae,_0x1f79e2){const _0x4edbfb=_0x3e64d8;if(!_0x1f79e2)return!0x1;const {sourceDataInfo:_0xbaa46,pivotTableConfig:_0x4d8b80}=_0x1f79e2;if(!_0xbaa46||!_0x4d8b80)return!0x1;const {unitId:_0x21be62,subUnitId:_0x2d682e,range:_0x30e36e}=_0xbaa46,_0x419e01=_0x3f51ae[_0x4edbfb(0x1f3)](_0x4eff45),_0x3e4a39=_0x3f51ae[_0x4edbfb(0x1f3)](Z),_0x2e444a=_0x3f51ae[_0x4edbfb(0x1f3)](_0x34afa6),_0x2c9001=_0x3f51ae[_0x4edbfb(0x1f3)](_0x56dc87),_0x4ba78c=_0x419e01[_0x4edbfb(0xfe)](_0x21be62);if(!_0x4ba78c)return!0x1;const _0x497c26=_0x4ba78c[_0x4edbfb(0x190)](_0x2d682e);if(!_0x497c26)return!0x1;const _0x373632=_0x6b8c21(0x8),_0xef0f45=_0x30e36e||{'startRow':0x0,'startColumn':0x0,'endRow':_0x497c26['getRowCount']()-0x1,'endColumn':_0x497c26[_0x4edbfb(0x164)]()-0x1};_0xef0f45[_0x4edbfb(0x107)]=_0x391d1d[_0x4edbfb(0x102)];const _0x2fe509=(await _0x3e4a39['getPivotDisplayConfig']({'unitId':_0x21be62,'subUnitId':_0x2d682e,'pivotTableId':_0x373632,'params':{'type':k[_0x4edbfb(0x13b)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x21be62,'sheetName':_0x497c26[_0x4edbfb(0x275)](),'subUnitId':_0x2d682e,'range':_0xef0f45},'pivotTableId':_0x373632,'pivotTableIndexConfig':_0x4d8b80}}}))[_0x4edbfb(0x316)][_0x4edbfb(0xfa)];if(!_0x2fe509)return!0x1;const {isEmpty:_0x4540c7,fieldsConfig:_0x15d3a0,collectionConfig:_0x29be6c,changesets:_0x20409f}=_0x2fe509,_0x134338=_0x4ba78c[_0x4edbfb(0x2e3)]()['length'],_0x22bcdb=_0x4472ab({'rowCount':_0x497c26[_0x4edbfb(0x240)]()-0x1,'columnCount':_0x497c26[_0x4edbfb(0x164)]()-0x1});_0x22bcdb['id']=_0x3f23a1(),_0x22bcdb[_0x4edbfb(0x2bf)]=_0x4ba78c[_0x4edbfb(0xf4)](''+_0x2e444a['t'](_0x4edbfb(0x1a0)));const _0xafc2e2={'index':_0x134338,'sheet':_0x22bcdb,'unitId':_0x21be62},{redos:_0x271ca9}=Ie(_0x2c9001,{'pivotTableId':_0x373632,'unitId':_0x21be62,'subUnitId':_0x22bcdb['id']},_0x20409f),_0x4a1652=[{'id':_0x23475d['id'],'params':_0xafc2e2},{'id':Ct['id'],'params':{'unitId':_0x21be62,'subUnitId':_0x22bcdb['id'],'pivotTableId':_0x373632,'pivotTableConfig':{'isEmpty':_0x4540c7,'fieldsConfig':_0x15d3a0,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x21be62,'subUnitId':_0x22bcdb['id']},'sourceRangeInfo':{'subUnitId':_0x2d682e,'unitId':_0x21be62,'range':_0xef0f45,'sheetName':_0x497c26[_0x4edbfb(0x275)]()}},'collectionConfig':_0x29be6c}},..._0x271ca9];return _0x594e7c(_0x4a1652,_0x2c9001),!0x0;}},ps={'type':_0x1e552e['COMMAND'],'id':'sheet.command.add-pivot-table',async 'handler'(_0x3a1739,_0x1ed671){const _0x35c47a=_0x3e64d8;var _0x22eb28,_0x1a9137;const _0x51a732=_0x3a1739[_0x35c47a(0x1f3)](_0x56dc87),_0x124752=_0x3a1739[_0x35c47a(0x1f3)](_0x4eff45),_0x1372f7=_0x3a1739[_0x35c47a(0x1f3)](_0x34afa6),_0x54aec9=_0x3a1739[_0x35c47a(0x1f3)](Z),_0x57d62b=_0x3a1739[_0x35c47a(0x1f3)](_0xaae365),_0x320aa9=_0x3a1739[_0x35c47a(0x1f3)](he),_0x32ebaa=_0x3a1739[_0x35c47a(0x1f3)](_0x1b9dd7);if(!_0x1ed671)return!0x1;const {pivotTableConfig:_0x1c32f8,positionType:_0x1516e0}=_0x1ed671,{targetCellInfo:_0x5cae69,sourceRangeInfo:_0x5d972d}=_0x1c32f8,{unitId:_0x1b67bc,subUnitId:_0x2b4b74}=_0x5cae69,_0x2a34c9=_0x124752['getUnit'](_0x1b67bc);if(!_0x2a34c9)return!0x1;let _0x57006e=0x0;_0x2a34c9[_0x35c47a(0x2e3)]()['forEach'](_0x3aa358=>{const _0x33cc89=_0x35c47a;var _0x252cad,_0x3f8868;_0x57006e+=(_0x3f8868=(_0x252cad=_0x320aa9[_0x33cc89(0x2ae)](_0x1b67bc,_0x3aa358['getSheetId']()))==null?void 0x0:_0x252cad[_0x33cc89(0x2b7)])!=null?_0x3f8868:0x0;});const _0x157c87=(_0x22eb28=_0x32ebaa[_0x35c47a(0x2e2)](_0x1eec45))!=null?_0x22eb28:{},{ls:_0x81e946,pbk:_0x59476b}=_0x157c87;if(!jo(_0x81e946,_0x59476b))return!0x1;const _0x4d2abd=go(so,_0x81e946,_0x59476b)[_0x35c47a(0x19a)];if(_0x57006e>=_0x4d2abd)return!0x1;const _0x3387df=_0x1ed671[_0x35c47a(0x152)]||_0x6b8c21(0x8),_0x2b5f21=(await _0x54aec9[_0x35c47a(0x2b1)]({'unitId':_0x1b67bc,'subUnitId':_0x2b4b74,'pivotTableId':_0x3387df,'params':{'type':k[_0x35c47a(0x23f)],'addPivotTable':{'sourceRangeInfo':_0x5d972d,'pivotTableId':_0x3387df}}}))[_0x35c47a(0x316)][_0x35c47a(0x12f)];if(!_0x2b5f21)return!0x1;const {view:_0x32a00b,isEmpty:_0x5415ae,fieldsConfig:_0x12446a,collectionConfig:_0xe50027}=_0x2b5f21,_0x1ae29b=[],_0x39a7e4=[];if(_0x1516e0===ko[_0x35c47a(0x22d)]){const _0x2f761a=_0x2a34c9[_0x35c47a(0x2e3)]()['length'],_0x597433=_0x4472ab({});_0x597433['id']=_0x1c32f8[_0x35c47a(0x1ff)][_0x35c47a(0x268)],_0x597433['name']=(_0x1a9137=_0x1c32f8[_0x35c47a(0x1ff)][_0x35c47a(0x231)])!=null?_0x1a9137:_0x2a34c9[_0x35c47a(0xf4)](''+_0x1372f7['t'](_0x35c47a(0x1a0)));const _0x5795c0={'index':_0x2f761a,'sheet':_0x597433,'unitId':_0x1b67bc},_0x31b668=_0x5769ca(_0x3a1739,_0x5795c0);_0x1ae29b[_0x35c47a(0x2b6)]({'id':_0x206ea9['id'],'params':_0x31b668}),_0x39a7e4[_0x35c47a(0x2b6)]({'id':_0x24da71['id'],'params':_0x5795c0});}else{if(!_0x2a34c9[_0x35c47a(0x190)](_0x2b4b74))return!0x1;const _0x576f6c=we(_0x3a1739,new _0x7d4b1b(),_0x5cae69,!0x0);_0x39a7e4[_0x35c47a(0x2b6)](..._0x576f6c[_0x35c47a(0x288)]),_0x1ae29b['push'](..._0x576f6c['undos']);const _0x393ac6={'cellInfo':_0x5cae69,'view':_0x32a00b,'isEmpty':_0x5415ae};if(!await _0x3a1739[_0x35c47a(0x1f3)](ie)['asyncInterceptor'][_0x35c47a(0x306)](be)(!0x0,_0x393ac6))return!0x1;const _0x179185=_e(_0x3a1739,_0x393ac6);_0x39a7e4[_0x35c47a(0x2b6)](..._0x179185[_0x35c47a(0x288)]),_0x1ae29b[_0x35c47a(0x2b6)](..._0x179185['undos']);}return _0x39a7e4[_0x35c47a(0x2b6)]({'id':Ct['id'],'params':{'unitId':_0x5cae69[_0x35c47a(0x1ba)],'subUnitId':_0x5cae69[_0x35c47a(0x268)],'pivotTableId':_0x3387df,'pivotTableConfig':{'targetCellInfo':_0x5cae69,'sourceRangeInfo':_0x5d972d,'fieldsConfig':_0x12446a},'collectionConfig':_0xe50027}}),_0x1ae29b[_0x35c47a(0x28b)]({'id':Et['id'],'params':{'unitId':_0x1b67bc,'subUnitId':_0x2b4b74,'pivotTableId':_0x3387df}}),_0x594e7c(_0x39a7e4,_0x51a732)&&_0x57d62b[_0x35c47a(0x210)]({'unitID':_0x1b67bc,'undoMutations':_0x1ae29b,'redoMutations':_0x39a7e4}),!0x0;}},Is={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':_0x3e64d8(0x13c),async 'handler'(_0x314e22,_0x467213){const _0x5e1700=_0x3e64d8;if(!_0x467213)return!0x1;const _0x2c8a36=_0x314e22[_0x5e1700(0x1f3)](_0x56dc87),_0x351818=_0x314e22['get'](Z),_0x26f3f3=_0x314e22['get'](_0xaae365),{pivotTableId:_0x263602,fieldId:_0x1c3295,area:_0x2e3214,index:_0x2bdca2,unitId:_0x58d40a,subUnitId:_0x23b615}=_0x467213,_0x4edfc6=(await _0x351818['getPivotDisplayConfig']({'unitId':_0x58d40a,'subUnitId':_0x23b615,'pivotTableId':_0x263602,'params':{'type':k[_0x5e1700(0x253)],'movePivotField':{'fieldId':_0x1c3295,'area':_0x2e3214,'index':_0x2bdca2}}}))['result'][_0x5e1700(0x242)];if(!_0x4edfc6)return!0x1;const {changesets:_0x35ec07,view:_0xb16577,isEmpty:_0x314268,pivotTableConfig:_0x225426}=_0x4edfc6,_0x2b334b=_0x225426[_0x5e1700(0x1ff)],_0x15e0d1=new _0x7d4b1b();_0x15e0d1[_0x5e1700(0x1b4)](_0xb16577);const _0x5e0c68={'cellInfo':_0x2b334b,'view':_0x15e0d1,'isEmpty':_0x314268};if(!await _0x314e22[_0x5e1700(0x1f3)](ie)['asyncInterceptor'][_0x5e1700(0x306)](be)(!0x0,_0x5e0c68))return!0x1;const _0x38812a=we(_0x314e22,_0x15e0d1,_0x2b334b,_0x314268),_0x1b7368=_e(_0x314e22,_0x5e0c68),{redos:_0x390a3a,undos:_0x337ea4}=Ie(_0x2c8a36,{'pivotTableId':_0x263602,'unitId':_0x58d40a,'subUnitId':_0x23b615},_0x35ec07);return _0x594e7c([..._0x38812a['redos'],..._0x1b7368['redos'],..._0x390a3a],_0x2c8a36),_0x26f3f3[_0x5e1700(0x210)]({'unitID':_0x58d40a,'redoMutations':[..._0x38812a['redos'],..._0x1b7368[_0x5e1700(0x288)],..._0x390a3a],'undoMutations':[..._0x38812a[_0x5e1700(0x1d3)],..._0x1b7368[_0x5e1700(0x1d3)],..._0x337ea4]}),!0x0;}},ms={'type':_0x1e552e['COMMAND'],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x2b4d58,_0x4bed2f){const _0x2628a1=_0x3e64d8;var _0xf5b05a;if(!_0x4bed2f)return!0x1;const _0x3c6b24=_0x2b4d58['get'](_0x4eff45),_0x46fcc4=_0x3a629a(_0x3c6b24);if(!_0x46fcc4)return!0x1;const {unitId:_0x5a7cf9,subUnitId:_0x12e510,workbook:_0xef8c18}=_0x46fcc4,{row:_0x1a02de,col:_0x1ec3e5}=_0x4bed2f,_0x1cf807=_0x2b4d58[_0x2628a1(0x1f3)](Ne),_0x452a73=_0x1cf807[_0x2628a1(0x277)](_0x5a7cf9,_0x12e510,_0x1a02de,_0x1ec3e5);if(!_0x452a73)return!0x1;const _0x5b89e6=(_0xf5b05a=_0x1cf807[_0x2628a1(0x29c)](_0x5a7cf9,_0x12e510,_0x452a73))==null?void 0x0:_0xf5b05a[_0x2628a1(0x297)];if(!_0x5b89e6)return!0x1;const _0x5df19f=_0x2b4d58[_0x2628a1(0x1f3)](he)[_0x2628a1(0x26b)](_0x5a7cf9,_0x12e510,_0x452a73);if(!_0x5df19f)return!0x1;const {rowInfo:_0x477b71,colInfo:_0x3bf78b}=_0x5b89e6,_0xcc7186=_0x477b71[_0x1a02de]['paths'],_0x2519c3=_0x3bf78b[_0x1ec3e5][_0x2628a1(0x18b)],_0x15e5f4=_0x477b71[_0x1a02de][_0x2628a1(0x27e)],_0x19191d=_0x3bf78b[_0x1ec3e5][_0x2628a1(0x27e)],_0x3432fd=_0xcc7186[_0x2628a1(0x162)](_0x2519c3),_0x475be5=_0x5df19f[_0x2628a1(0x31f)][_0x2628a1(0x238)][_0x2628a1(0x1c8)](0x0,_0x15e5f4),_0x3e37e6=_0x5df19f[_0x2628a1(0x31f)]['columnFields'][_0x2628a1(0x1c8)](0x0,_0x19191d),_0x2405af=_0x475be5[_0x2628a1(0x162)](_0x3e37e6),_0x2578dd=_0x3432fd['map']((_0x9dd82e,_0x37ddb9)=>[_0x9dd82e,_0x2405af[_0x37ddb9]]),_0x2fb87d=(await _0x2b4d58['get'](Z)['getPivotDisplayConfig']({'unitId':_0x5a7cf9,'subUnitId':_0x12e510,'pivotTableId':_0x452a73,'params':{'type':k['DrillDown'],'drillDown':{'tuple':_0x2578dd}}}))['result'][_0x2628a1(0x335)];if(!_0x2fb87d)return!0x1;const {indexes:_0x21c1c8,range:_0x20fbe1,sourceUnitId:_0x510829,sourceSubUnitId:_0x5a263b,formatMap:_0x53ebda}=_0x2fb87d,{startRow:_0x51bf63,endRow:_0x4326b9,startColumn:_0x36e96b,endColumn:_0xdd4b4c}=_0x20fbe1,_0x3c960b=new _0x2067c1(),_0x1e5a30=_0x4326b9-_0x51bf63,_0x318ea9=_0xdd4b4c-_0x36e96b,_0x17578b={},_0x27052c=_0x3a629a(_0x3c6b24,{'unitId':_0x510829,'subUnitId':_0x5a263b});if(!_0x27052c)return!0x1;const _0x47ab3b=fe['colStyle'],_0xb670f=fe[_0x2628a1(0x332)],_0x18a055=fe[_0x2628a1(0x332)],_0x86b058=_0xef8c18['getStyles']()[_0x2628a1(0x1df)](_0x47ab3b),_0x5bf08f=_0xef8c18[_0x2628a1(0x1de)]()['setValue'](_0xb670f),_0x3bdaf5=_0xef8c18[_0x2628a1(0x1de)]()[_0x2628a1(0x1df)](_0x18a055),{worksheet:_0x429fa7}=_0x27052c;let _0x456e15=0x0;const _0x4451be=0x1;_0x21c1c8[_0x2628a1(0x14a)](_0x9445d2=>{const _0x48f0c6=_0x2628a1;for(let _0x7f7da6=0x0;_0x7f7da6<=_0xdd4b4c-_0x36e96b;_0x7f7da6++)_0x3c960b[_0x48f0c6(0x1df)](_0x456e15,_0x7f7da6,_0x429fa7['getCellRaw'](_0x9445d2+_0x20fbe1[_0x48f0c6(0x31a)]+_0x4451be,_0x7f7da6));_0x456e15++;});for(let _0x53c102=_0x36e96b;_0x53c102<=_0xdd4b4c;_0x53c102++){const _0x542f43=_0x429fa7[_0x2628a1(0xed)](_0x51bf63,_0x53c102);_0x17578b[_0x51bf63]||(_0x17578b[_0x51bf63]={}),_0x17578b[_0x51bf63][_0x53c102]={..._0x542f43,'s':_0x86b058};}let _0x32d293=0x1;const _0x4dfc6c={},_0x2ac355={};_0x3c960b[_0x2628a1(0x11c)]((_0x4a6cfa,_0x20744a)=>{const _0x799541=_0x2628a1;_0x20744a[_0x799541(0x14a)](_0x4f03cc=>{const _0x2308dd=_0x799541,_0x206689=_0x3c960b['getValue'](_0x4a6cfa,_0x4f03cc);if(_0x17578b[_0x32d293]||(_0x17578b[_0x32d293]={}),_0x17578b[_0x32d293][_0x4f03cc]={..._0x206689,'s':_0x32d293%0x2===0x0?_0x3bdaf5:_0x5bf08f},_0x53ebda[_0x4f03cc]&&_0x4a6cfa>=0x0){const _0x4ab71f=_0x32d293%0x2===0x0;let _0x143788=_0x4ab71f?_0x2ac355[_0x4f03cc]:_0x4dfc6c[_0x4f03cc];_0x143788||(_0x143788=_0xef8c18[_0x2308dd(0x1de)]()[_0x2308dd(0x1df)]({..._0x4ab71f?_0x18a055:_0xb670f,'n':{'pattern':_0x53ebda[_0x4f03cc]}}),_0x4ab71f?_0x2ac355[_0x4f03cc]=_0x143788:_0x4dfc6c[_0x4f03cc]=_0x143788),_0x17578b[_0x32d293][_0x4f03cc]['s']=_0x143788;}}),_0x32d293++;});const _0x2fc05b=new _0x2067c1(_0x17578b),_0x7595b9={};_0x2fc05b['forValue']((_0xfebe4e,_0x22b9f9,_0xd75ba6)=>{_0x7595b9[_0xfebe4e]||(_0x7595b9[_0xfebe4e]={}),_0x7595b9[_0xfebe4e][_0x22b9f9]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x24a405=[],_0x18273f=[],_0x1e1fa2=_0xef8c18[_0x2628a1(0x2e3)]()[_0x2628a1(0x169)],_0x2ec1a8=_0x4472ab({'rowCount':Math['max'](_0x52a9f7,_0x1e5a30+0xa),'columnCount':Math[_0x2628a1(0x343)](_0x300091,_0x318ea9+0x5)}),_0x56275d=_0x2b4d58['get'](_0x34afa6);_0x2ec1a8['id']=_0x3f23a1(),_0x2ec1a8[_0x2628a1(0x2bf)]=_0xef8c18[_0x2628a1(0xf4)](''+_0x56275d['t']('sheets.tabs.sheet'));const _0x109268={'index':_0x1e1fa2,'sheet':_0x2ec1a8,'unitId':_0x5a7cf9},_0x2fc5e6=_0x5769ca(_0x2b4d58,_0x109268);_0x18273f['push']({'id':_0x24da71['id'],'params':_0x109268}),_0x24a405[_0x2628a1(0x2b6)]({'id':_0x206ea9['id'],'params':_0x2fc5e6}),_0x18273f[_0x2628a1(0x2b6)]({'id':_0x1f88a6['id'],'params':{'unitId':_0x5a7cf9,'subUnitId':_0x2ec1a8['id'],'cellValue':_0x17578b}}),_0x24a405['unshift']({'id':_0x1f88a6['id'],'params':{'unitId':_0x5a7cf9,'subUnitId':_0x2ec1a8['id'],'cellValue':_0x7595b9}});const _0x4f6996={'startRow':0x0,'startColumn':0x0,'endRow':_0x32d293-0x1,'endColumn':_0xdd4b4c};_0x18273f[_0x2628a1(0x2b6)]({'id':_0x50d66f['id'],'params':{'unitId':_0x5a7cf9,'subUnitId':_0x2ec1a8['id'],'range':_0x4f6996}}),_0x24a405[_0x2628a1(0x28b)]({'id':_0x445fce['id'],'params':{'unitId':_0x5a7cf9,'subUnitId':_0x2ec1a8['id']}});const _0x45b507=_0x2b4d58[_0x2628a1(0x1f3)](_0x56dc87);return _0x594e7c(_0x18273f,_0x45b507)&&_0x2b4d58[_0x2628a1(0x1f3)](_0xaae365)[_0x2628a1(0x210)]({'unitID':_0x5a7cf9,'undoMutations':_0x24a405,'redoMutations':_0x18273f}),!0x0;}},Cs={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x3bdaa2,_0x3b337b){const _0x379536=_0x3e64d8;if(!_0x3b337b)return!0x1;const _0x1e3585=_0x3bdaa2[_0x379536(0x1f3)](_0x56dc87),_0x885170=_0x3bdaa2[_0x379536(0x1f3)](Z),_0x273d38=_0x3bdaa2[_0x379536(0x1f3)](_0xaae365),{pivotTableId:_0x433990,fieldIds:_0x520dd9,unitId:_0x11f9c0,subUnitId:_0x497bf1}=_0x3b337b,_0x1856d2=(await _0x885170[_0x379536(0x2b1)]({'unitId':_0x11f9c0,'subUnitId':_0x497bf1,'pivotTableId':_0x433990,'params':{'type':k['RemovePivotField'],'removePivotField':{'fieldIds':_0x520dd9}}}))[_0x379536(0x316)][_0x379536(0x280)];if(!_0x1856d2)return!0x1;const {view:_0x20a4d6,changesets:_0x45d9c4,isEmpty:_0x2aa586,pivotTableConfig:_0x28f2b3}=_0x1856d2,_0x41ccfb=_0x28f2b3['targetCellInfo'],_0x41a1e2=new _0x7d4b1b();_0x41a1e2[_0x379536(0x1b4)](_0x20a4d6);const _0x1b9d96={'cellInfo':_0x41ccfb,'view':_0x41a1e2,'isEmpty':_0x2aa586};if(!await _0x3bdaa2[_0x379536(0x1f3)](ie)['asyncInterceptor'][_0x379536(0x306)](be)(!0x0,_0x1b9d96))return!0x1;const _0x86cd37=we(_0x3bdaa2,_0x41a1e2,_0x41ccfb,_0x2aa586),_0x53a98d=_e(_0x3bdaa2,_0x1b9d96),{redos:_0x196e60,undos:_0x4a1aef}=Ie(_0x1e3585,{'pivotTableId':_0x433990,'unitId':_0x11f9c0,'subUnitId':_0x497bf1},_0x45d9c4);return _0x594e7c([..._0x86cd37[_0x379536(0x288)],..._0x53a98d[_0x379536(0x288)],..._0x196e60],_0x1e3585),_0x273d38[_0x379536(0x210)]({'unitID':_0x11f9c0,'redoMutations':[..._0x86cd37[_0x379536(0x288)],..._0x53a98d['redos'],..._0x196e60],'undoMutations':[..._0x86cd37['undos'],..._0x53a98d['undos'],..._0x4a1aef]}),!0x0;}},bs={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x3f1890,_0x48ea49){const _0x4370e3=_0x3e64d8;var _0x4fc738;const _0x4a1c2c=_0x3f1890[_0x4370e3(0x1f3)](_0x56dc87),_0x1734e7=_0x3f1890[_0x4370e3(0x1f3)](Z),_0x114bbb=_0x3f1890[_0x4370e3(0x1f3)](Ne),_0x1e9b72=_0x3f1890[_0x4370e3(0x1f3)](_0x4eff45),_0x35e34f=_0x3f1890['get'](_0xaae365);if(!_0x48ea49)return!0x1;const {unitId:_0x42edb6,subUnitId:_0x1eae3b,row:_0x35202b,col:_0x3266d9,collapse:_0x4eae3e}=_0x48ea49,_0x4d9172=_0x1e9b72['getUnit'](_0x42edb6);if(!_0x4d9172||!_0x4d9172[_0x4370e3(0x190)](_0x1eae3b))return!0x1;const _0x5a40fd=_0x114bbb[_0x4370e3(0x277)](_0x42edb6,_0x1eae3b,_0x35202b,_0x3266d9);if(!_0x5a40fd)return!0x1;const _0x5d7d02=_0x114bbb[_0x4370e3(0x29c)](_0x42edb6,_0x1eae3b,_0x5a40fd);if(!_0x5d7d02)return!0x1;const _0x100faf=_0x42af7f(_0x35202b,_0x3266d9),{rangesInfo:_0x1c7eba,areaInfo:_0x4c9ae9,headerMap:_0x24dedd}=_0x5d7d02;if(!_0x1c7eba||!_0x4c9ae9||!_0x24dedd)return!0x1;const _0x50fc3a=Object[_0x4370e3(0x19b)](_0x1c7eba)['find'](_0x1213fd=>_0x1c7eba[_0x1213fd][_0x4370e3(0x28a)](_0xafafdd=>_0x5e2546[_0x4370e3(0x1bf)](_0xafafdd,_0x100faf)));let _0x35f42c;_0x50fc3a==='rowRanges'?_0x35f42c=_0x24dedd[_0x4370e3(0x140)][_0x3266d9]:_0x50fc3a==='colRanges'&&(_0x35f42c=_0x24dedd['colHeaderMap'][_0x35202b]);const _0x1460ea=_0x35f42c==null?void 0x0:_0x35f42c['tableFieldId'],_0x490f78=(_0x4fc738=_0x114bbb[_0x4370e3(0x245)](_0x42edb6,_0x1eae3b,_0x35202b,_0x3266d9))==null?void 0x0:_0x4fc738['v'];if(_0x490f78==null||!_0x5a40fd||!_0x1460ea)return!0x1;const _0x5a0af0=await _0x1734e7[_0x4370e3(0x2b1)]({'unitId':_0x42edb6,'subUnitId':_0x1eae3b,'pivotTableId':_0x5a40fd,'params':{'type':k[_0x4370e3(0x18c)],'setPivotCollapse':{'tableFieldId':_0x1460ea,'collapse':_0x4eae3e,'item':_0x490f78}}}),_0x53bee4=_0x5a0af0==null?void 0x0:_0x5a0af0[_0x4370e3(0x316)][_0x4370e3(0x113)];if(!_0x53bee4)return!0x1;const {view:_0x54ea23,pivotTableConfig:_0x3b0fbe,isEmpty:_0x2fef5c,changesets:_0x2c3b40}=_0x53bee4,_0x36bfbb=new _0x7d4b1b();_0x36bfbb[_0x4370e3(0x1b4)](_0x54ea23);const _0x2610d7=_0x3b0fbe[_0x4370e3(0x1ff)],_0x55ad0e={'cellInfo':_0x2610d7,'view':_0x36bfbb,'isEmpty':_0x2fef5c};if(!await _0x3f1890['get'](ie)[_0x4370e3(0x132)][_0x4370e3(0x306)](be)(!0x0,_0x55ad0e))return!0x1;const _0x394c73=we(_0x3f1890,_0x36bfbb,_0x2610d7,_0x2fef5c),_0x2c1d6b=_e(_0x3f1890,_0x55ad0e),{redos:_0x5113fc,undos:_0x2c2ce0}=Ie(_0x4a1c2c,{'pivotTableId':_0x5a40fd,'unitId':_0x42edb6,'subUnitId':_0x1eae3b},_0x2c3b40);return _0x594e7c([..._0x394c73[_0x4370e3(0x288)],..._0x2c1d6b[_0x4370e3(0x288)],..._0x5113fc],_0x4a1c2c),_0x35e34f[_0x4370e3(0x210)]({'unitID':_0x42edb6,'redoMutations':[..._0x394c73[_0x4370e3(0x288)],..._0x2c1d6b[_0x4370e3(0x288)],..._0x5113fc],'undoMutations':[..._0x394c73[_0x4370e3(0x1d3)],..._0x2c1d6b[_0x4370e3(0x1d3)],..._0x2c2ce0]}),!0x0;}},Ps={'type':_0x1e552e['COMMAND'],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x1adac0,_0x54f528){const _0x1ecb65=_0x3e64d8;if(!_0x54f528)return!0x1;const _0x50a934=_0x1adac0[_0x1ecb65(0x1f3)](_0x56dc87),{pivotTableId:_0x30b7ed,tableFieldId:_0x23eea9,items:_0x90d22e,unitId:_0x21693a,subUnitId:_0xed930c,isAll:_0x85a843}=_0x54f528,_0x40e754=_0x1adac0[_0x1ecb65(0x1f3)](Z),_0x4ff57b=_0x1adac0['get'](_0xaae365),_0x174140=(await _0x40e754[_0x1ecb65(0x2b1)]({'unitId':_0x21693a,'subUnitId':_0xed930c,'pivotTableId':_0x30b7ed,'params':{'type':k['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x23eea9,'items':_0x90d22e,'isAll':_0x85a843}}}))['result'][_0x1ecb65(0x17b)];if(!_0x174140)return!0x1;const {changesets:_0x73ec90,pivotTableConfig:_0x3a60e4,isEmpty:_0x4ec6e9,view:_0x3d5485}=_0x174140,_0x208d8a=_0x3a60e4[_0x1ecb65(0x1ff)],_0x233268=new _0x7d4b1b();_0x233268['formJSON'](_0x3d5485);const _0x45fcca={'cellInfo':_0x208d8a,'view':_0x233268,'isEmpty':_0x4ec6e9};if(!await _0x1adac0[_0x1ecb65(0x1f3)](ie)[_0x1ecb65(0x132)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x45fcca))return!0x1;const _0x507174=we(_0x1adac0,_0x233268,_0x208d8a,_0x4ec6e9),_0x35854e=_e(_0x1adac0,_0x45fcca),{undos:_0x55d3fc,redos:_0x5e2889}=Ie(_0x50a934,{'pivotTableId':_0x30b7ed,'unitId':_0x21693a,'subUnitId':_0xed930c},_0x73ec90);return _0x594e7c([..._0x507174['redos'],..._0x35854e[_0x1ecb65(0x288)],..._0x5e2889],_0x50a934),_0x4ff57b[_0x1ecb65(0x210)]({'unitID':_0x21693a,'redoMutations':[..._0x507174[_0x1ecb65(0x288)],..._0x35854e['redos'],..._0x5e2889],'undoMutations':[..._0x507174['undos'],..._0x35854e[_0x1ecb65(0x1d3)],..._0x55d3fc]}),!0x0;}},Ss={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':_0x3e64d8(0x23c),async 'handler'(_0x1653c2,_0x5b38c2){const _0x3868c7=_0x3e64d8;if(!_0x5b38c2)return!0x1;const _0x3fa62a=_0x1653c2[_0x3868c7(0x1f3)](_0x56dc87),_0xad7610=_0x1653c2[_0x3868c7(0x1f3)](_0xaae365),_0x266bc7=_0x1653c2[_0x3868c7(0x1f3)](Z),{info:_0x3eda0d,tableFieldId:_0x96d306,pivotTableId:_0xcc78cd,unitId:_0x5504e9,subUnitId:_0x264c91}=_0x5b38c2,_0x1730f8=(await _0x266bc7['getPivotDisplayConfig']({'unitId':_0x5504e9,'subUnitId':_0x264c91,'pivotTableId':_0xcc78cd,'params':{'type':k[_0x3868c7(0x2c6)],'setPivotSort':{'tableFieldId':_0x96d306,'info':_0x3eda0d}}}))[_0x3868c7(0x316)][_0x3868c7(0x1f8)];if(!_0x1730f8)return!0x1;const {changesets:_0x1fbd5f}=_0x1730f8,{redos:_0x2167a9,undos:_0x2dab1f}=Ie(_0x3fa62a,{'pivotTableId':_0xcc78cd,'unitId':_0x5504e9,'subUnitId':_0x264c91},_0x1fbd5f);return _0x594e7c(_0x2167a9,_0x3fa62a),_0xad7610[_0x3868c7(0x210)]({'unitID':_0x5504e9,'redoMutations':_0x2167a9,'undoMutations':_0x2dab1f}),!0x0;}},Ms={'type':_0x1e552e['COMMAND'],'id':_0x3e64d8(0x31e),async 'handler'(_0xcb41e1,_0x16bc35){const _0x257510=_0x3e64d8;if(!_0x16bc35)return!0x1;const _0x39eb0e=_0xcb41e1[_0x257510(0x1f3)](_0x56dc87),_0x114d41=_0xcb41e1[_0x257510(0x1f3)](_0xaae365),_0x13dd02=_0xcb41e1[_0x257510(0x1f3)](Z),{displayName:_0xa5fd34,subtotalType:_0x8c3ceb,format:_0x1894c0,tableFieldId:_0x250f65,pivotTableId:_0x6685b,unitId:_0x5abf22,subUnitId:_0x4a6aca}=_0x16bc35,_0x8fae5e=(await _0x13dd02[_0x257510(0x2b1)]({'unitId':_0x5abf22,'subUnitId':_0x4a6aca,'pivotTableId':_0x6685b,'params':{'type':k[_0x257510(0x181)],'setPivotSetting':{'tableFieldId':_0x250f65,'displayName':_0xa5fd34,'subtotalType':_0x8c3ceb,'format':_0x1894c0}}}))['result'][_0x257510(0x27c)];if(!_0x8fae5e)return!0x1;const {changesets:_0x85b311,view:_0x3b3e58,pivotTableConfig:_0x3f6e9d,isEmpty:_0x17bfb8}=_0x8fae5e,_0xd0a45e=_0x3f6e9d[_0x257510(0x1ff)],_0x341a92=new _0x7d4b1b();_0x341a92['formJSON'](_0x3b3e58);const _0x34c6b9={'cellInfo':_0xd0a45e,'view':_0x341a92,'isEmpty':_0x17bfb8};if(!await _0xcb41e1['get'](ie)['asyncInterceptor'][_0x257510(0x306)](be)(!0x0,_0x34c6b9))return!0x1;const _0x212eee=we(_0xcb41e1,_0x341a92,_0xd0a45e,_0x17bfb8),_0x3c7675=_e(_0xcb41e1,_0x34c6b9),{undos:_0x23f0dc,redos:_0x352ed9}=Ie(_0x39eb0e,{'pivotTableId':_0x6685b,'unitId':_0x5abf22,'subUnitId':_0x4a6aca},_0x85b311);return _0x594e7c([..._0x212eee[_0x257510(0x288)],..._0x3c7675['redos'],..._0x352ed9],_0x39eb0e),_0x114d41['pushUndoRedo']({'unitID':_0x5abf22,'redoMutations':[..._0x212eee[_0x257510(0x288)],..._0x3c7675[_0x257510(0x288)],..._0x352ed9],'undoMutations':[..._0x212eee[_0x257510(0x1d3)],..._0x3c7675[_0x257510(0x1d3)],..._0x23f0dc]}),!0x0;}},Ts={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':_0x3e64d8(0x15e),async 'handler'(_0xe98bb7,_0x51b2b8){const _0x2a26d9=_0x3e64d8,_0xfa776a=_0xe98bb7[_0x2a26d9(0x1f3)](_0x56dc87),_0x132419=_0xe98bb7[_0x2a26d9(0x1f3)](Z),_0xc4c811=_0xe98bb7['get'](_0xaae365);if(!_0x51b2b8)return!0x1;const {token:_0xf7fa38,dataRangeInfo:_0x45c8d7,unitId:_0x1cf95b,subUnitId:_0x40a2b3}=_0x51b2b8,_0xd05497=[],_0x237e12=[],_0x8b57b4=(await _0x132419[_0x2a26d9(0x2b1)]({'unitId':_0x1cf95b,'subUnitId':_0x40a2b3,'pivotTableId':_0xf7fa38,'params':{'type':k[_0x2a26d9(0x33c)],'updatePivotSource':{'dataRangeInfo':_0x45c8d7,'unitId':_0x1cf95b,'subUnitId':_0x40a2b3}}}))['result'][_0x2a26d9(0x17d)];if(!_0x8b57b4)return!0x1;const {changesets:_0x562891,deleteIds:_0xc0a9bf,collectionConfig:_0x7863ac,oldCollectionConfig:_0x5adcc0,view:_0x173708,isEmpty:_0x3f9e85,pivotTableConfig:_0xc24728}=_0x8b57b4;_0x237e12[_0x2a26d9(0x2b6)]({'id':to['id'],'params':{'pivotTableId':_0xf7fa38,'deleteIds':_0xc0a9bf,'collectionJSON':_0x7863ac,'dataRangeInfo':_0x45c8d7,'unitId':_0x1cf95b,'subUnitId':_0x40a2b3}}),_0xd05497[_0x2a26d9(0x28b)]({'id':to['id'],'params':{'pivotTableId':_0xf7fa38,'deleteIds':[],'collectionJSON':_0x5adcc0,'dataRangeInfo':_0xc24728[_0x2a26d9(0x1e8)],'unitId':_0x1cf95b,'subUnitId':_0x40a2b3}});const _0x554c5d=_0xc24728['targetCellInfo'],_0x5d2540=new _0x7d4b1b();_0x5d2540[_0x2a26d9(0x1b4)](_0x173708);const _0x5f0f50={'cellInfo':_0x554c5d,'view':_0x5d2540,'isEmpty':_0x3f9e85};if(!await _0xe98bb7[_0x2a26d9(0x1f3)](ie)[_0x2a26d9(0x132)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x5f0f50))return!0x1;const _0x10bac0=we(_0xe98bb7,_0x5d2540,_0x554c5d,_0x3f9e85),_0x27a0a0=_e(_0xe98bb7,_0x5f0f50),{undos:_0x5d8ca1,redos:_0xe81b11}=Ie(_0xfa776a,{'pivotTableId':_0xf7fa38,'unitId':_0x1cf95b,'subUnitId':_0x40a2b3},_0x562891);return _0x594e7c([..._0x10bac0[_0x2a26d9(0x288)],..._0x27a0a0['redos'],..._0x237e12,..._0x5d8ca1],_0xfa776a),_0xc4c811['pushUndoRedo']({'unitID':_0x1cf95b,'redoMutations':[..._0x10bac0[_0x2a26d9(0x288)],..._0x27a0a0[_0x2a26d9(0x288)],..._0x237e12,..._0x5d8ca1],'undoMutations':[..._0x10bac0[_0x2a26d9(0x1d3)],..._0x27a0a0['undos'],..._0xd05497,..._0xe81b11]}),!0x0;}},ys={'type':_0x1e552e['COMMAND'],'id':_0x3e64d8(0x320),async 'handler'(_0x3f65e5,_0x2b1efd){const _0x53ab03=_0x3e64d8;if(!_0x2b1efd)return!0x1;const _0x31c35c=_0x3f65e5[_0x53ab03(0x1f3)](_0x56dc87),_0x411d2b=_0x3f65e5[_0x53ab03(0x1f3)](Z),_0x4683d7=_0x3f65e5[_0x53ab03(0x1f3)](_0x4eff45),_0x3eb020=_0x3f65e5[_0x53ab03(0x1f3)](_0xaae365),{pivotTableId:_0x521fd5,position:_0x3f4312,index:_0x1365eb}=_0x2b1efd,_0x5055ca=_0x3a629a(_0x4683d7);if(!_0x5055ca)return!0x1;const {unitId:_0x44ee9e,subUnitId:_0x394207}=_0x5055ca,_0x327a06=(await _0x411d2b['getPivotDisplayConfig']({'unitId':_0x44ee9e,'subUnitId':_0x394207,'pivotTableId':_0x521fd5,'params':{'type':k[_0x53ab03(0x10f)],'updateValuePosition':{'position':_0x3f4312,'index':_0x1365eb}}}))['result'][_0x53ab03(0x1ea)];if(!_0x327a06)return!0x1;const {changesets:_0x403329,view:_0x1e82ad,isEmpty:_0x588c28,pivotTableConfig:_0x4d50ed}=_0x327a06,_0x342f23=_0x4d50ed[_0x53ab03(0x1ff)],_0x48a7ac=new _0x7d4b1b();_0x48a7ac['formJSON'](_0x1e82ad);const _0x1f6b9c=_0x3f65e5[_0x53ab03(0x1f3)](ie),_0x1d6d26={'cellInfo':_0x342f23,'view':_0x48a7ac,'isEmpty':_0x588c28};if(!await _0x1f6b9c['asyncInterceptor'][_0x53ab03(0x306)](be)(!0x0,_0x1d6d26))return!0x1;const _0xc65b39=we(_0x3f65e5,_0x48a7ac,_0x342f23,_0x588c28),_0x39276e=_e(_0x3f65e5,_0x1d6d26),{undos:_0x5be93a,redos:_0x1a6498}=Ie(_0x31c35c,{'pivotTableId':_0x521fd5,'unitId':_0x44ee9e,'subUnitId':_0x394207},_0x403329);return _0x594e7c([..._0xc65b39[_0x53ab03(0x288)],..._0x39276e[_0x53ab03(0x288)],..._0x1a6498],_0x31c35c),_0x3eb020[_0x53ab03(0x210)]({'unitID':_0x44ee9e,'redoMutations':[..._0xc65b39[_0x53ab03(0x288)],..._0x39276e[_0x53ab03(0x288)],..._0x1a6498],'undoMutations':[..._0xc65b39[_0x53ab03(0x1d3)],..._0x39276e[_0x53ab03(0x1d3)],..._0x5be93a]}),!0x0;}},ws={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':_0x3e64d8(0x25d),'handler':(_0x40c510,_0x3a6f6f)=>{const _0x285305=_0x3e64d8,_0x5a7e3a=_0x40c510['get'](_0x56dc87),_0x17d151=_0x40c510[_0x285305(0x1f3)](_0xaae365),_0x4bae5f=_0x40c510[_0x285305(0x1f3)](he),_0x5d7aad=_0x40c510['get'](_0x4eff45);if(!_0x3a6f6f)return!0x1;const _0x5bd305=_0x3a629a(_0x5d7aad);if(!_0x5bd305)return!0x1;const {unitId:_0x347296,subUnitId:_0x4645ff,workbook:_0x3c3910}=_0x5bd305,_0x2ede03=_0x4bae5f[_0x285305(0x26b)](_0x3a6f6f[_0x285305(0xfd)]['unitId'],_0x3a6f6f[_0x285305(0xfd)][_0x285305(0x268)],_0x3a6f6f['pivotTableId']);if(!_0x2ede03)return!0x1;const _0x20c2f2=_0x3c3910[_0x285305(0x190)](_0x3a6f6f[_0x285305(0x1ff)][_0x285305(0x268)]);if(!_0x20c2f2)throw new Error(_0x285305(0x12d));const _0x1e89ee=_0x20c2f2[_0x285305(0x240)](),_0x4fc562=_0x20c2f2[_0x285305(0x164)]();if(_0x3a6f6f['targetCellInfo'][_0x285305(0x2e7)]>_0x1e89ee||_0x3a6f6f['targetCellInfo'][_0x285305(0x2c4)]>_0x4fc562)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x3d3fd3=[{'id':pt['id'],'params':{'unitId':_0x347296,'subUnitId':_0x3a6f6f[_0x285305(0x1ff)][_0x285305(0x268)],'pivotTableId':_0x3a6f6f[_0x285305(0x152)],'targetCellPosition':{'row':_0x3a6f6f[_0x285305(0x1ff)][_0x285305(0x2e7)],'col':_0x3a6f6f[_0x285305(0x1ff)][_0x285305(0x2c4)]}}}],_0x420b93=[{'id':pt['id'],'params':{'unitId':_0x347296,'subUnitId':_0x4645ff,'pivotTableId':_0x3a6f6f[_0x285305(0x152)],'targetCellPosition':{'row':_0x2ede03[_0x285305(0x1ff)][_0x285305(0x2e7)],'col':_0x2ede03['targetCellInfo'][_0x285305(0x2c4)]}}}];return _0x594e7c(_0x3d3fd3,_0x5a7e3a)&&_0x17d151[_0x285305(0x210)]({'unitID':_0x347296,'undoMutations':_0x420b93,'redoMutations':_0x3d3fd3}),!0x0;}},_s={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':_0x3e64d8(0x2e1),async 'handler'(_0x611ce3,_0x11b40b){const _0x3433ca=_0x3e64d8;if(!_0x11b40b)return!0x1;const _0x1cd37c=_0x611ce3[_0x3433ca(0x1f3)](_0x56dc87),{pivotTableId:_0x195762,fieldId:_0x4eaedd,valueFilterInfo:_0x659d51,unitId:_0x41f47c,subUnitId:_0x25b318}=_0x11b40b,_0x1435cb=_0x611ce3['get'](Z),_0x58c864=_0x611ce3[_0x3433ca(0x1f3)](_0xaae365),_0x150662=(await _0x1435cb[_0x3433ca(0x2b1)]({'unitId':_0x41f47c,'subUnitId':_0x25b318,'pivotTableId':_0x195762,'params':{'type':k['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x4eaedd,'filterInfo':_0x659d51}}}))[_0x3433ca(0x316)][_0x3433ca(0x2b3)];if(!_0x150662)return!0x1;const {changesets:_0xa8a325,pivotTableConfig:_0x22b21c,isEmpty:_0x23f8e2,view:_0x4a4502}=_0x150662,_0x3bede2=_0x22b21c[_0x3433ca(0x1ff)],_0x336016=new _0x7d4b1b();_0x336016['formJSON'](_0x4a4502);const _0x1c079c={'cellInfo':_0x3bede2,'view':_0x336016,'isEmpty':_0x23f8e2};if(!await _0x611ce3['get'](ie)[_0x3433ca(0x132)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x1c079c))return!0x1;const _0x5dc10d=we(_0x611ce3,_0x336016,_0x3bede2,_0x23f8e2),_0x3da399=_e(_0x611ce3,_0x1c079c),{undos:_0x5be72d,redos:_0x94d561}=Ie(_0x1cd37c,{'pivotTableId':_0x195762,'unitId':_0x41f47c,'subUnitId':_0x25b318},_0xa8a325);return _0x594e7c([..._0x5dc10d[_0x3433ca(0x288)],..._0x3da399[_0x3433ca(0x288)],..._0x94d561],_0x1cd37c),_0x58c864[_0x3433ca(0x210)]({'unitID':_0x41f47c,'redoMutations':[..._0x5dc10d[_0x3433ca(0x288)],..._0x3da399['redos'],..._0x94d561],'undoMutations':[..._0x5dc10d[_0x3433ca(0x1d3)],..._0x3da399['undos'],..._0x5be72d]}),!0x0;}},Fs={'type':_0x1e552e[_0x3e64d8(0x2dc)],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x13bad6,_0xe83875){const _0xdc4e3c=_0x3e64d8;if(!_0xe83875)return!0x1;const _0x2d060f=_0x13bad6['get'](_0x56dc87),_0x55f568=_0x13bad6[_0xdc4e3c(0x1f3)](_0xaae365),_0x317194=_0x13bad6[_0xdc4e3c(0x1f3)](Z),{pivotTableConfig:_0x132f1c,pivotTableId:_0x254034,unitId:_0x3b6ec4,subUnitId:_0x55029d}=_0xe83875,_0x4a8ee9=(await _0x317194[_0xdc4e3c(0x2b1)]({'unitId':_0x3b6ec4,'subUnitId':_0x55029d,'pivotTableId':_0x254034,'params':{'type':k[_0xdc4e3c(0x2a6)],'setPivotTableConfig':{'pivotTableId':_0x254034,'pivotTableConfig':_0x132f1c}}}))[_0xdc4e3c(0x316)][_0xdc4e3c(0x186)];if(!_0x4a8ee9)return!0x1;const {changesets:_0x47830a}=_0x4a8ee9,{redos:_0x2d2271,undos:_0xd3b0a3}=Ie(_0x2d060f,{'pivotTableId':_0x254034,'unitId':_0x3b6ec4,'subUnitId':_0x55029d},_0x47830a);return _0x594e7c(_0x2d2271,_0x2d060f),_0x55f568[_0xdc4e3c(0x210)]({'unitID':_0x3b6ec4,'redoMutations':_0x2d2271,'undoMutations':_0xd3b0a3}),!0x0;}},Rs={'type':_0x1e552e['COMMAND'],'id':_0x3e64d8(0x1cf),async 'handler'(_0x1bad2b,_0x1fe9bc){const _0x5636db=_0x3e64d8;if(!_0x1fe9bc)return!0x1;const _0x1a7cfe=_0x1bad2b[_0x5636db(0x1f3)](_0x56dc87),_0x47f2b2=_0x1bad2b['get'](_0xaae365),_0x22edba=_0x1bad2b[_0x5636db(0x1f3)](Z),{resetArea:_0x1afbd3,pivotTableId:_0x5efa1c,unitId:_0x4b84d8,subUnitId:_0x497ab6}=_0x1fe9bc,_0x431a3d=(await _0x22edba[_0x5636db(0x2b1)]({'unitId':_0x4b84d8,'subUnitId':_0x497ab6,'pivotTableId':_0x5efa1c,'params':{'type':k[_0x5636db(0x2d9)],'resetPivotTable':{'pivotTableId':_0x5efa1c,'resetArea':_0x1afbd3}}}))[_0x5636db(0x316)][_0x5636db(0xd9)];if(!_0x431a3d)return!0x1;const {changesets:_0x1f4b5c}=_0x431a3d,{redos:_0x279c62,undos:_0x4c4cea}=Ie(_0x1a7cfe,{'pivotTableId':_0x5efa1c,'unitId':_0x4b84d8,'subUnitId':_0x497ab6},_0x1f4b5c);return _0x594e7c(_0x279c62,_0x1a7cfe),_0x47f2b2[_0x5636db(0x210)]({'unitID':_0x4b84d8,'redoMutations':_0x279c62,'undoMutations':_0x4c4cea}),!0x0;}},oo={'id':_0x3e64d8(0x327),'type':_0x1e552e[_0x3e64d8(0x2bb)],'handler':(_0xafc728,_0xd8c7cb)=>{const _0x1b18bf=_0x3e64d8;if(!_0xd8c7cb)return!0x1;if(!!_0xafc728[_0x1b18bf(0x1f3)](_0x1b9dd7)[_0x1b18bf(0x2e2)](q))return!0x0;const {unitId:_0x2859f3,subUnitId:_0x272cd0,pivotTableId:_0x35b52a,tableFieldId:_0x1926cb,dateType:_0x3a12a7}=_0xd8c7cb,_0x5b6c6d=_0xafc728['get']($),_0x24e22f=_0x5b6c6d[_0x1b18bf(0x33f)](_0x35b52a);if(!_0x24e22f)return!0x1;const _0x53b2bf=_0x24e22f[_0x1b18bf(0xf5)](_0x1926cb);if(!_0x53b2bf)return!0x1;const _0x9fa9d2=_0x53b2bf[_0x1b18bf(0x21c)](),_0x448944=_0x24e22f['getDataFieldByDataFieldId'](_0x9fa9d2),_0xd73eff=(_0x448944==null?void 0x0:_0x448944[_0x1b18bf(0x275)]())+'\x20'+Ko(_0xafc728,_0x3a12a7);_0x5b6c6d[_0x1b18bf(0x1fc)](_0x2859f3,_0x35b52a)['setDisplayName'](_0x53b2bf['id'],_0xd73eff);const _0x375ce8=_0x24e22f['getTableFieldById'](_0x1926cb);if(!_0x375ce8)return!0x1;_0x24e22f['renameField'](_0x375ce8['getId'](),_0xd73eff),_0x53b2bf[_0x1b18bf(0x24e)](_0x3a12a7);const _0x5ac222=_0x5b6c6d[_0x1b18bf(0x26b)](_0x2859f3,_0x272cd0,_0x35b52a);return _0x5b6c6d[_0x1b18bf(0x157)]({'unitId':_0x2859f3,'subUnitId':_0x272cd0,'token':_0x35b52a,'type':H[_0x1b18bf(0x249)],'pivotConfig':_0x5ac222}),!0x0;}},Ds={'id':_0x3e64d8(0x110),'type':_0x1e552e[_0x3e64d8(0x2dc)],'handler':(_0x1c0a31,_0x5e1319)=>{const _0x349b91=_0x3e64d8;if(!_0x5e1319)return!0x1;const _0x44903f=_0x1c0a31[_0x349b91(0x1f3)](_0xaae365),{unitId:_0x2665e8,subUnitId:_0x14db22,pivotTableId:_0x3c4c5c,tableFieldId:_0x5d3280}=_0x5e1319,_0x10f39e=[],_0x4ca416=[],_0x489404=_0x1c0a31['get'](he),_0x4477b6=_0x489404['getCollection'](_0x2665e8,_0x3c4c5c),_0x3788de=_0x489404[_0x349b91(0x26b)](_0x2665e8,_0x14db22,_0x3c4c5c);if(!(_0x3788de!=null&&_0x3788de[_0x349b91(0x31f)][_0x349b91(0x2b9)]))return!0x1;const _0x43bc3d=Object['values'](_0x3788de['fieldsConfig'][_0x349b91(0x2b9)])[_0x349b91(0x20a)](_0x5998b=>_0x5998b['id']===_0x5d3280);if(!_0x43bc3d)return!0x1;const _0x2e784b=_0x43bc3d[_0x349b91(0x293)];if(!(_0x4477b6!=null&&_0x4477b6['fields']))return!0x1;const _0x5a935c=Object[_0x349b91(0x21d)](_0x4477b6==null?void 0x0:_0x4477b6[_0x349b91(0x20e)])[_0x349b91(0x20a)](_0x561d04=>_0x561d04['id']===_0x2e784b);if(!_0x5a935c)return!0x1;_0x6861e6(_0x5a935c)&&_0x10f39e[_0x349b91(0x2b6)]({'id':oo['id'],'params':{..._0x5e1319,'dateType':_0x5a935c[_0x349b91(0x24f)]}}),_0x4ca416[_0x349b91(0x2b6)]({'id':oo['id'],'params':{..._0x5e1319}});const _0x244f50=_0x1c0a31['get'](_0x56dc87);return _0x594e7c(_0x4ca416,_0x244f50)&&_0x44903f[_0x349b91(0x210)]({'unitID':_0x2665e8,'undoMutations':_0x10f39e,'redoMutations':_0x4ca416}),!0x0;}};var Ns=Object['getOwnPropertyDescriptor'],Vs=(_0x5e1300,_0x3c2e4d,_0x3d3daa,_0xa56f23)=>{const _0x1aad30=_0x3e64d8;for(var _0x4bb9c1=_0xa56f23>0x1?void 0x0:_0xa56f23?Ns(_0x3c2e4d,_0x3d3daa):_0x3c2e4d,_0x149dbb=_0x5e1300[_0x1aad30(0x169)]-0x1,_0x1cb2da;_0x149dbb>=0x0;_0x149dbb--)(_0x1cb2da=_0x5e1300[_0x149dbb])&&(_0x4bb9c1=_0x1cb2da(_0x4bb9c1)||_0x4bb9c1);return _0x4bb9c1;},at=(_0x8a0fee,_0x40c9e9)=>(_0x209b44,_0x32bac6)=>_0x40c9e9(_0x209b44,_0x32bac6,_0x8a0fee);const Os=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Us=(_0x183a18,_0x41a46e,_0x2bf5d1)=>{const _0x5b94b6=_0x3e64d8,_0x3de327=_0x183a18[_0x5b94b6(0x1dd)];_0x183a18[_0x5b94b6(0x13d)](_0x2fb404=>{const _0x259a12=_0x5b94b6,_0x8d1959=_0x2fb404[_0x259a12(0x10b)](),_0x162fe9=_0x2fb404['getDataFieldId'](),_0x3627a8=_0x2fb404[_0x259a12(0x1e4)](),_0x58773a=_0x2fb404[_0x259a12(0x1c3)]();_0x41a46e[_0x162fe9]&&_0x41a46e[_0x162fe9]===_0x58773a&&_0x3627a8===_0x58773a&&(_0x183a18[_0x259a12(0x2ff)](_0x8d1959,_0x3de327[_0x259a12(0x1c3)](_0x162fe9)),_0x2fb404[_0x259a12(0x182)](_0x3de327[_0x259a12(0x1c3)](_0x162fe9)));}),_0x183a18[_0x5b94b6(0x201)](_0x5bb14c[_0x5b94b6(0x203)],_0x2041cb=>{const _0x6de11a=_0x5b94b6,_0x376c8d=_0x2041cb['getId'](),_0x2ae393=_0x2041cb[_0x6de11a(0x2e8)](),_0x472353=_0x2041cb['getSourceName'](),_0xf1f618=_0x2041cb[_0x6de11a(0x1c3)](),_0x39aec0=_0x2041cb[_0x6de11a(0x334)](),_0x224abb=_0x2bf5d1(_0x472353,_0x39aec0);_0x41a46e[_0x2ae393]&&_0x41a46e[_0x2ae393]===_0x472353&&_0x224abb===_0xf1f618&&(_0x183a18[_0x6de11a(0x2ff)](_0x376c8d,_0x2bf5d1(_0x3de327[_0x6de11a(0x1c3)](_0x2ae393),_0x39aec0)),_0x2041cb[_0x6de11a(0x182)](_0x3de327[_0x6de11a(0x1c3)](_0x2ae393)));});},Es=(_0x2bae78,_0x82a213,_0x6e424c)=>{const _0x39ba12=_0x3e64d8;var _0x55e8da,_0x544375;const {arrayFormulaCellData:_0x52c0a3,unitData:_0xfe559a}=_0x82a213,{unitId:_0x528790,subUnitId:_0x7c41a3}=_0x6e424c,_0x4202b8=_0x6e424c[_0x39ba12(0x168)],{startColumn:_0x48fd96,endColumn:_0x836feb}=_0x4202b8,_0x2cdbdf=(_0x55e8da=_0x52c0a3==null?void 0x0:_0x52c0a3[_0x528790])==null?void 0x0:_0x55e8da[_0x7c41a3],_0x1273a1=(_0x544375=_0xfe559a==null?void 0x0:_0xfe559a[_0x528790])==null?void 0x0:_0x544375[_0x7c41a3],_0x2e0a31=new Set(),_0x22804f=_0x836feb-_0x48fd96+0x1,{dirtyRanges:_0x416f84}=_0x2bae78;if(_0x416f84)for(const {range:_0x47df7f,sheetId:_0x584c14,unitId:_0x33b56f}of _0x416f84){if(_0x584c14!==_0x7c41a3||_0x528790!==_0x33b56f)continue;const _0x2a0d0d=_0x5e2546['getIntersects'](_0x47df7f,_0x4202b8);if(_0x2a0d0d){const {startColumn:_0x348668,endColumn:_0xe7b507}=_0x2a0d0d;for(let _0x12c97b=_0x348668;_0x12c97b<=_0xe7b507;_0x12c97b++)_0x2e0a31[_0x39ba12(0x167)](_0x12c97b);}}if(_0x2e0a31[_0x39ba12(0x2b7)]===_0x22804f||_0x2e0a31[_0x39ba12(0x2b7)]===_0x22804f)return Array[_0x39ba12(0x202)](_0x2e0a31);if(_0x1273a1){const _0x5a6b13=_0x1273a1[_0x39ba12(0x284)](),_0x2e8144=Object['keys'](_0x5a6b13);for(const _0x2c8a69 of _0x2e8144){const _0x593f4b=Number(_0x2c8a69),_0x2f98f9=_0x5a6b13[_0x593f4b];if(_0x2e0a31[_0x39ba12(0x2b7)]===_0x22804f)break;for(const _0x34027d in _0x2f98f9){const _0x1bb94a=Number(_0x34027d);_0x1bb94a<_0x48fd96||_0x1bb94a>_0x836feb||_0x2e0a31[_0x39ba12(0x167)](_0x1bb94a);}}}if(_0x2cdbdf){const _0x486402=_0x2cdbdf[_0x39ba12(0x284)](),_0x43cb61=Object[_0x39ba12(0x19b)](_0x486402);for(const _0x306c3c of _0x43cb61){const _0x3ac605=Number(_0x306c3c),_0x84c411=_0x486402[_0x3ac605];if(_0x2e0a31[_0x39ba12(0x2b7)]===_0x22804f)break;for(const _0x335332 in _0x84c411){const _0x345bfc=Number(_0x335332);_0x345bfc<_0x48fd96||_0x345bfc>_0x836feb||_0x2e0a31['add'](_0x345bfc);}}}return Array[_0x39ba12(0x202)](_0x2e0a31);},xs=_0x548a16=>{const _0x4722c4=_0x3e64d8,_0x1a3527=new Set(),_0xb2d6d0=[];for(const _0x426717 of _0x548a16){const _0x16ab43=_0x426717[_0x4722c4(0x31a)]+','+_0x426717[_0x4722c4(0x129)]+','+_0x426717['startColumn']+','+_0x426717[_0x4722c4(0x1fa)];_0x1a3527[_0x4722c4(0xe7)](_0x16ab43)||(_0x1a3527[_0x4722c4(0x167)](_0x16ab43),_0xb2d6d0['push'](_0x426717));}return _0xb2d6d0;};function _0x141d(_0x4859bf,_0x4e58ef){const _0x458c43=_0x458c();return _0x141d=function(_0x141d19,_0x5a0dd7){_0x141d19=_0x141d19-0xcf;let _0x478201=_0x458c43[_0x141d19];return _0x478201;},_0x141d(_0x4859bf,_0x4e58ef);}function _0x458c(){const _0x38c7c5=['AddField','setPivotSort','deepClone','endColumn','getHeaderMapItem','getCollection','Add','_exclusiveRangeService','targetCellInfo','sheets-pivot.dateGroup.yearMonthDate','iterateFieldByArea','from','Value','setRange','includes','existing','getDataFieldManager','reduce','sheet.mutation.pivot-update-field-source-info','find','stringify','_pivotInitCompleted$','sheets-pivot.maxName','fields','NUMBER','pushUndoRedo','updateFieldPosition','DIV_BY_ZERO','_globalComputingSrv','_viewData$','getFieldIds','notExecuteFormula','getFullYear','intercept','AddPivotField','updateConfigCache','leftOffset','getOriginFieldId','values','lastRow','getPivotTableMatrixInfo','registerSyncingMutations','SetValuePivotFilter','_initPivotDataGetListener','getIndexesByPathStr','map','getValuePosition','column','RenameField','YearMonthDate','SetFilterInfo','addExclusiveRange','sheet.mutation.send-init-pivot-text-local','reset','New','splice','_viewUpdate$','sheet.mutation.remove-pivot-table','sheetName','stdDev','Filter','split','initDataRanges','interceptor','NAME','rowFields','createCollectionWithDataRange','_initConfig','oldRangeInfo','sheet.command.set-pivot-sort','valueFilter','_initDataSendListener','AddPivotTable','getRowCount','sheet.mutation.set-pivot-format','movePivotField','fieldsCollectionChange$','register','getPivotTableCellData','getFormatInfo','stdDevp','setOptions','Set','versions','getPivotTableModelConfig','Style','isDate','setDateType','dateType','_ensureViewDataMap','batch','valueIndex','MovePivotField','sheets-pivot.dateGroup.hourMinute','maxDate','collections','_ensurePivotMap','rowInfo','isNaN','foreach','setConfig','updateRenderCache','sheet.command.move-pivot-table','_queryingMap','setDirty','addCollectionByJSON','isColMultiMeasure','423kOfrjl','addPivotField','sum','removeSourceRangeChange','needSameDeleteModel','workbook\x20is\x20not\x20found','subUnitId','updateRangeKeyMap','DrillDown','getPivotTableConfig','valid','_requestResolvers','_configService','cCPVIHgP\x20wrVM2BIHgP(AHVrPfr,\x20BCjAHV9r2)\x20{\x20\x20\x20\x20IM2\x20{\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20AHVrPfrpPcgEOMIKMMO2\x20=\x20AHVrPfr.fBAHI(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20gMH6HPkrffO6r\x20=\x207u1h.BOMfr(OIgj(AHVrPfrpPcgEOMIKMMO2[a]));\x20\x20\x20\x20\x20\x20\x20\x20Hc\x20(!gMH6HPkrffO6r.Cw)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gMH6HPkrffO6r.Cw\x20=\x20hCFjrM(AHVrPfrpPcgEOMIKMMO2[U]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20HfbgMNrM\x20=\x20I2Brgc\x20bgMNrMzAgjOAuVgBr\x20!==\x20\x27CPwrcHPrw\x27\x20&&\x20frAc\x20HPfIOPVrgc\x20bgMNrMzAgjOAuVgBr;\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20VgPIrTI\x20=\x20HfbgMNrM\x20?\x20frAc\x20:\x20GHPwgG;\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20FrffO6rbgMw\x20=\x20VgPIrTI.__qOfrLU__.BOMfr(AHVrPfrpPcgEOMIKMMO2[a]);\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20FrffO6r\x20=\x20VgPIrTI.__WrT__.fIMHP6Hc2(FrffO6rbgMw);\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20fH6POICMrbgMw\x20=\x20VgPIrTI.__qOfrLU__.BOMfr(AHVrPfrpPcgEOMIKMMO2[t]);\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20fH6POICMr\x20=\x20VgPIrTI.__WrT__.fIMHP6Hc2(fH6POICMrbgMw);\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20fH6PyOAHw\x20=\x20VgPIrTI.__irMHc2__(fH6POICMr,\x20FrffO6r,\x20BCjAHV9r2);\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20wgFOHP\x20=\x20gMH6HPkrffO6r.wF;\x20\x20\x20\x20\x20\x20\x20\x20cCPVIHgP\x20HfngFOHPkOIVDHP6(gEOIIrMP,\x20gWgfI)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20BOIIrMP\x20=\x20gEOIIrMP.MrBAOVr(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20DgfI\x20=\x20gWgfI.MrBAOVr(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20BOIIrMPEOMIf\x20=\x20BOIIrMP.fBAHI(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20DgfIEOMIf\x20=\x20DgfI.fBAHI(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hc\x20(!BOIIrMP.HPVACwrf(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MrICMP\x20BOIIrMP\x20===\x20DgfI;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Hc\x20(BOIIrMPEOMIf.ArP6ID\x20<\x20a\x20||\x20BOIIrMPEOMIf[v]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MrICMP\x20cOAfr;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20BOIIrMPuCccHT\x20=\x20BOIIrMPEOMIf.fAHVr(3).5gHP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20DgfIuCccHT\x20=\x20DgfIEOMIf.fAHVr(-BOIIrMPEOMIf.ArP6ID\x20+\x203).5gHP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MrICMP\x20BOIIrMPuCccHT\x20===\x20DgfIuCccHT;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ArI\x20wgFOHPyOAHw\x20=\x20(wgFOHP\x20&&\x20wgFOHP.ArP6ID)\x20?\x20wgFOHP.fgFr((wFpIrF)\x20=>\x20HfngFOHPkOIVDHP6(wFpIrF,\x20AgVOIHgP.DgfIPOFr))\x20:\x20IMCr;\x20\x20\x20\x20\x20\x20\x20\x20Hc\x20(AgVOIHgP.DgfIPOFr\x20===\x20\x27AgVOADgfI\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wgFOHPyOAHw\x20=\x20IMCr;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20VgPfI\x20iOAHw\x20=\x20fH6PyOAHw\x20&&\x20wgFOHPyOAHw;\x20\x20\x20\x20\x20\x20\x20\x20MrICMP\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iOAHw,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FrffO6r:\x20gMH6HPkrffO6r,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20VOIVD\x20(rMMgM)\x20{\x20\x20\x20\x20\x20\x20\x20\x20MrICMP\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iOAHw:\x20cOAfr,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FrffO6r:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_localeService','removeValueFilterInfoByValueFieldId','BadReference','_initUnitDisposed','data','getName','addRecord','getPivotTableIdByCell','random','executeCommand','updatePivotTableMatrixInfo','handleSourceRangeChange','setPivotSetting','Collapse','level','setTextInfo','removePivotField','uniqueDataFieldName','355bEsNZo','rangeKey','getMatrix','PIVOT_MUTATION_GENERATE','getNoUsedDataFieldIds','deleteField','redos','rangeCache','some','unshift','panel','(Blank)','Delete','setSortInfo','updatePivotTableRangeInfo','queryDirtyPivotTable','pivotMutationGenerate','dataFieldId','leafStyle','dispose','_activeDirtyManagerService','areaInfo','tableFieldId','broadcastCollectionChange','getPivotDirtyViewInfo','Div0','getPivotItemRenderInfoCache','sheet.mutation.set-pivot-position','1uPmJhX','COLUMN','clearRenderCache','disposableCollection','getAutoDisplayNameFunction','dataFieldManagerConfig','oldMatrix','_viewData','SetPivotTableConfig','getViewData','object','ΣValue','getMatrixFromRunTimeData','_pivotRenderValueMatrixCache','UpdateFieldPosition','cellValue','getSubUnitPivotConfigs','Grand\x20Total','valueFields','getPivotDisplayConfig','limit\x20pivot','setValuePivotFilter','getValueFilterInfos','filter','push','size','HourMinute','dimension','query','MUTATION','measure','_updateRenderEmptyCache','_sheetsPivotDataSourceModel','name','getLastRow','_refRangeService','sheets-pivot.varName','fromJSON','col','setSubtotalType','SetPivotSort','setRangeValueRedoMutation','info','minDate','getRangeStartEndInfo','addDataFieldWithoutUnitInfo','sourceName','_generateUniqueVersion','Varp\x20of\x20','getSheetBySheetName','sheets-pivot.grandTotal','cornerInfo','Column','createDataFieldId','pbt','Quarter','pageStyle','viewData$','_dataFieldManagerCollection','ResetPivotTable','rowStyle','toJSON','COMMAND','handleAsyncResponse','collapseInfo','sheet.command.add-pivot-field','#1d32e9','sheet.command.set-pivot-value-filter','getConfig','getSheets','getDataFieldByRangeKey','removePivotTable','_resourceManagerService','row','getDataFieldId','Count\x20of\x20','updateDataFieldsCollection','getLastCol','message','rangesInfo','registerRefRange','getFieldPositionInfoById','35948ifEjoz','sheets-pivot.dateGroup.minute','blank','viewUpdate$','getMatrixValue','_pivotTableRangeInfo','defineProperty','sheet.command.add-pivot-table-with-config','entries','lastCol','realDeleteValue','sheets-pivot.cellDateGroupDisplay.hourMinute','fieldIds','addCollection','Total','renameField','setPivotInitCompleted','_lifecycleService','updateDirtyPivotTable','STRING','getFieldDataType','getSortInfo','fetchThroughAsyncInterceptors','token','NotName','_univerInstanceService','updateViewData','sheets-pivot.minName','removeField','sheet.mutation.remove-pivot-field','registerCallbackWithEvent','SetSortInfo','_getPivotAppliedRanges','pivotInitCompleted$','_sheetsSelectionsService','_sheetsPivotTableService','setRangeKeyMap','onQueryStart','result','sheets-pivot.varpName','_fieldsCollectionChange$','onCommandExecuted','startRow','_initSnapshot','average','Date','sheet.command.set-pivot-field-setting','fieldsConfig','sheet.command.update-pivot-value-position','_sheetsPivotRpcService','document','fieldId','colHeaderMap','getTextSize','getUpdateRangeDeleteIds','sheet.mutation.update-date-group','dataRangeInfo','_sheetsPivotTableConfigModel','sheets-pivot.dateGroup.month','#e6ebfb','2144898inVTIs','date','sheets-pivot.cellDateGroupDisplay.yearQuarter','single','_initRegisterCommand','2088033bxmnHR','subTotalStyle','sheets-pivot.cellDateGroupDisplay.yearMonthDate','getSubtotal','drillDown','number','getUnitId','_collectionConfigModel','sheets-pivot.subTotal','_subjectViewChange','rgb(240,241,243)','UpdatePivotSource','triggerDirtyFeature','custom','getPivotTableInstance','_updatePivotTableInstanceCache','value','sheets-pivot.cellDateGroupDisplay.date','max','_collectionChange$','error','removeValueFilterInfo','sheets-pivot.cellDateGroupDisplay.quarter','updateFieldSourceInfo','Values','grandTotal','sheets-pivot.cellDateGroupDisplay.year','YearQuarter','_updateModelCache','sheet.operation.pivot-table-view-formula-mark-dirty','sheets-pivot.dateGroup.quarter','_subjectFieldsCollectionChange','NO_COMMERCIAL','refreshDataField','varp','endCollectChangeset','updateViewInfo','sheets-pivot.value','sheet.mutation.pivot-update-field-position','dataStream','resetPivotTable','delete','_init','charCodeAt','rowRanges','forValue','return\x20','matrix','product','parse','updateConfig','addField','getFieldCountByArea','filterId','has','pivotTableConfigs','#FFFFFF','getDataFieldBySourceName','tuple','countNums','getCellRaw','SetOptions','_initRemoveSheetCommandInterceptor','sheet.mutation.send-pivot-config-local','_configVersion$','MIN_SAFE_INTEGER','symbol','generateNewSheetName','getDataFieldByTableId','next','_globalComputedEndHelpFunc','removeCollectionImp','collection','addPivotTableWithConfig','collectionConfig','isText','originTargetInfo','getUnit','Expand','Sum\x20of\x20','colCount','NORMAL','disposeWithMe','sheets-pivot.dateGroup.hour','removeCollections','toString','rangeType','sheets-pivot.averageName','update','displayName','getId','getSubUnitPivotRenderCache','_pivotTableInstanceCache','startCollectChangeset','UpdateValuePosition','sheet.command.update-date-group','sheet.mutation.pivot-update-value-position','registerDirtyService','setPivotCollapse','rowCount','sheet.mutation.add-pivot-field','CELL_CONTENT','14814gPrpoP','getActiveSheet','PivotMultipleValueId','getTypeOfUnitDisposed$','RemoveField','forRow','sheets-pivot.countNumsName','_deleteModelCache','iterateField','Var\x20of\x20','GrandTotal','_host','_textInfo','_pivotTableMatrixInfo','sheets-pivot.dateGroup.monthDate','isArray','_globalSubject','getDataFieldByDataFieldId','endRow','sheet.mutation.send-pivot-view-local','sheets-pivot.countName','sheet.mutation.rename-pivot-field','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','getColumnWidth','addPivotTable','getRangeKey','dataFields','asyncInterceptor','updateCollectionConfig','_markDirty$','onStarting','width','getFieldInfo','colInfo','getInterceptPoints','_commandService','AddPivotTableWithConfig','sheet.command.move-pivot-field','iterateFieldDim','setCollapse','dataStyle','rowHeaderMap','refreshData','_sheetInterceptorService','getDate','_globalComputedStartHelpFunc','SetFieldFormat','_injector','530lZWNzr','addFieldWithSourceId','sheets-pivot.columnName','forEach','SHEET_PIVOT_EXCLUSIVE_ID','SetPivotFilter','configVersion$','SetSubtotalType','getTargetByPivotTableId','getFormat','5880liDktM','pivotTableId','Column\x20','filterInfo','sheet.mutation.set-pivot-option','Subtotal','addDirtyPivotTable','clearExclusiveRangesByGroupId','11629170jyOePt','_toJSON','node','Panel','resetArea','sheet.command.update-pivot-table-source-range','1292420bkhAZC','getAutoFitColumnsMutations','rangeKeyMap','concat','NotFunction','getColumnCount','setDataRecordCount','setLabelFilterInfo','add','range','length','deleteDataField','Row','subtotal','originalFieldId','#b2b2b2','textInfo','REF','registerPluginResource','_featureCalculationManagerService','setValueFilterInfo','_ensurePivotItemRenderInfoCache','getTextInfo','sheet.mutation.set-pivot-filter','RemovePivotField','startColumn','MAX_SAFE_INTEGER','sheet.mutation.set-pivot-field-subtotal-type','setPivotFilter','_ensurePivotTableRangeInfo','updatePivotSource','_getAutoName','sheet.mutation.update-pivot-table-source-range','UNIVER_SHEET','SetPivotSetting','setSourceName','getValueIndex','getDirtyInfo','markDirty','setPivotTableConfig','getTargetByPivotId','onQueryEnd','getFilterFieldIdByIndex','#e6ebfa','paths','SetPivotCollapse','getCurrentUnitForType','getSheetId','filterFields','getSheetBySheetId','sheet.mutation.get-pivot-data-local','sheet.mutation.send-pivot-data-local','format','pivotPerformCheck','isBottomTotal','ManualFilter','deleteUnitId','_sheetsPivotTableAdaptorModel','floor','count','keys','setPivotTable','generateMutationsByRanges','updateView','handleMoveRange','sheets.tabs.sheet','getCellMatrix','_ensurePivotItemRenderValueMatrixCache','_model','sheets-pivot.config','adjustSheetCellData','rgb(255,255,255)','colStyle','refreshGroupField','getColCount','sheets-pivot.dateGroup.date','_onRefRangeChange','sheets-pivot.blank','sideEffectUpdateWorkerCache','StdDev\x20of\x20','body','getformat','sheets-pivot.cellDateGroupDisplay.yearMonth','FORCE_STRING','NUM','formJSON','getFieldFormat','subscribe','Month','getDataFieldItemInfo','set','unitId','_ensurePivotTableMatrixInfo','_config','substring','interceptCommand','contains','_createExclusiveRange','None','options','getDisplayName','isValue','isEmpty','sheet.mutation.set-pivot-sort-info','StdDevp\x20of\x20','slice','getFilterInfo','getFieldById','_initLocale','asObservable','collectionChange$','sheets-pivot.emptyPivot.filter','sheet.command.reset-pivot-fields-config','setName','#f4f4f5','getValue','undos','MonthDate','Existing','sheets-pivot.cellDateGroupDisplay.minute','getTableFieldById','updateAllDisplayName','columnFields','type','call','pivotConfigChange$','dataFieldsCollection','getStyles','setValue','string','setRangeValueUndoMutation','fetchThroughInterceptors','headerMap','getSourceName','pivotTableIndexConfig','params','_pivotConfigChange$','sourceRangeInfo','_initCommandInterceptListener','updateValuePosition','_initPivotTextInfo','min','setFieldFormat','NotNumber','replace','removeDataField','getOwnPropertyDescriptor','sortInfo','get','_dataSyncPrimaryController','_pivotRenderInfoCache','intersects'];_0x458c=function(){return _0x38c7c5;};return _0x458c();}let ct=class extends _0x41248b{constructor(_0x5acb9b,_0x5404f0,_0x2252a4,_0x5ca84b,_0xd787a0){const _0x4c4794=_0x3e64d8;super(),V(this,_0x4c4794(0x127),new _0x3af789(!0x0)),V(this,_0x4c4794(0x144),_0x354b2e=>{const _0x578b87=_0x4c4794;this[_0x578b87(0x127)]['next'](!0x1);}),V(this,'_globalComputedEndHelpFunc',_0x2038d7=>{const _0x4fb2f5=_0x4c4794;this[_0x4fb2f5(0x127)][_0x4fb2f5(0xf6)](!0x0);}),(this[_0x4c4794(0x2be)]=_0x5acb9b,this['_featureCalculationManagerService']=_0x5404f0,this[_0x4c4794(0x13a)]=_0x2252a4,this[_0x4c4794(0x213)]=_0x5ca84b,this[_0x4c4794(0x146)]=_0xd787a0,this[_0x4c4794(0xdb)](),this[_0x4c4794(0x222)]());}[_0x3e64d8(0xdb)](){const _0x256975=_0x3e64d8;this['_subjectCollectionChange'](),this['_subjectViewChange'](),this['_initPivotTextInfo'](),this[_0x256975(0xd0)]();}['_initGlobalComputed'](){const _0x2e67a2=_0x3e64d8;this['_globalComputingSrv']['pushComputingStatusSubject'](this[_0x2e67a2(0x127)]),_0x1c5293[_0x2e67a2(0x30e)](_0x3b65ab[_0x2e67a2(0x315)],this['_globalComputedStartHelpFunc']),_0x1c5293[_0x2e67a2(0x30e)](_0x3b65ab[_0x2e67a2(0x188)],this[_0x2e67a2(0xf7)]);}[_0x3e64d8(0x222)](){const _0x5c37aa=_0x3e64d8;this[_0x5c37aa(0x103)](this[_0x5c37aa(0x13a)]['onCommandExecuted'](_0x395d43=>{const _0x51ba92=_0x5c37aa;_0x395d43['id']===_0x20e208['id']&&this['_sheetsPivotDataSourceModel'][_0x51ba92(0x19f)](_0x395d43['params']);})),this['disposeWithMe'](this[_0x5c37aa(0x13a)][_0x5c37aa(0x319)](_0x193f2e=>{const _0x45a303=_0x5c37aa;if(_0x193f2e['id']!==ro['id'])return;const _0x3a09a3=_0x193f2e['params'],{unitId:_0x5a5fcc,subUnitId:_0x506176,pivotTableId:_0x1a8b95}=_0x3a09a3,_0x5763b8=_0x3a09a3['params'][_0x45a303(0x1da)],_0x1d9c8d={};switch(_0x5763b8){case k[_0x45a303(0x233)]:{const _0x3f1f24=_0x3a09a3[_0x45a303(0x1e6)][_0x45a303(0x2b5)];if(!_0x3f1f24)return;const {row:_0xe136d5,col:_0x2f8177,cellData:_0x4fb88c,pivotItemRenderInfoCache:_0x174952,tableFieldId:_0x4fd995}=_0x3f1f24,_0x2e6ed4=this[_0x45a303(0x2be)][_0x45a303(0x33f)](_0x3a09a3['pivotTableId']);if(!_0x2e6ed4||!_0x174952)return;if(_0x4fd995){const _0x10791b=_0x2e6ed4[_0x45a303(0xf5)](_0x4fd995);if(!_0x10791b)return;_0x1d9c8d['filter']={..._0x2e6ed4[_0x45a303(0x1b8)](_0x10791b),'tableFieldId':_0x4fd995,'pivotTableId':_0x3a09a3[_0x45a303(0x152)],'filterInfo':_0x2e6ed4['getFilterInfo'](_0x4fd995),'sortInfo':_0x2e6ed4['getSortInfo'](_0x4fd995),'format':_0x2e6ed4['getFieldFormat'](_0x4fd995)};}else{const _0x54bc0b=Ui(_0xe136d5,_0x2f8177,_0x4fb88c,_0x2e6ed4,_0x174952),_0x25c598=_0x54bc0b==null?void 0x0:_0x54bc0b[_0x45a303(0xe6)];if(!_0x25c598)return;const _0x2178fd=_0x2e6ed4[_0x45a303(0xf5)](_0x25c598);if(!_0x2178fd)return;_0x1d9c8d[_0x45a303(0x2b5)]={..._0x2e6ed4[_0x45a303(0x1b8)](_0x2178fd),'tableFieldId':_0x25c598,'pivotTableId':_0x3a09a3[_0x45a303(0x152)],'filterInfo':_0x2e6ed4[_0x45a303(0x1c9)](_0x25c598),'sortInfo':_0x2e6ed4[_0x45a303(0x305)](_0x25c598),'format':_0x2e6ed4[_0x45a303(0x1b5)](_0x25c598)};}}break;case k['Panel']:{const _0x38aab1=_0x3a09a3[_0x45a303(0x1e6)]['panel'];if(!_0x38aab1)return;const {pivotTableId:_0x406b33}=_0x38aab1,_0x27742a=this['_sheetsPivotDataSourceModel'][_0x45a303(0x33f)](_0x406b33);if(!_0x27742a)return;const _0x160b2e=this[_0x45a303(0x2be)][_0x45a303(0x26b)](_0x5a5fcc,_0x506176,_0x406b33),_0x5a03c2=Ei(_0x27742a,_0x406b33,_0x160b2e);_0x1d9c8d[_0x45a303(0x28c)]=_0x5a03c2;}break;case k[_0x45a303(0x219)]:{const _0x5d6e44=this[_0x45a303(0x2be)][_0x45a303(0x33f)](_0x1a8b95),_0x3d2fe9=this[_0x45a303(0x2be)][_0x45a303(0x207)](_0x5a5fcc),_0x29f1ee=_0x3d2fe9[_0x45a303(0x1fc)](_0x1a8b95);let _0x4fd3c0=null;const _0x50cc72=this[_0x45a303(0x2be)]['getPivotTableConfig'](_0x5a5fcc,_0x506176,_0x1a8b95),_0x2609da=_0x3a09a3[_0x45a303(0x1e6)][_0x45a303(0x263)];if(!_0x5d6e44||!_0x50cc72||!_0x2609da)return!0x1;const {dataFieldId:_0x318422,fieldArea:_0x2644ad,index:_0x30292d}=_0x2609da;_0x5d6e44[_0x45a303(0x10e)]();const _0xb55330=_0x5d6e44[_0x45a303(0x148)](_0x318422,_0x2644ad,_0x30292d);if(_0xb55330&&_0x2644ad===_0x5bb14c[_0x45a303(0x203)]){const _0x4383ec=_0xb55330[_0x45a303(0x10b)](),_0x2e7341=_0x5d6e44[_0x45a303(0xf5)](_0x4383ec);if(_0x2e7341){const _0x2022ed=_0x2e7341==null?void 0x0:_0x2e7341[_0x45a303(0x304)]();_0x5d6e44[_0x45a303(0x2c5)](_0xb55330[_0x45a303(0x10b)](),_0x2022ed===_0x161891[_0x45a303(0x336)]?_0x2ae972[_0x45a303(0x264)]:_0x2ae972[_0x45a303(0x19a)]);}const _0x242d93=_0x5d6e44[_0x45a303(0x183)](),_0x4f5177=_0x5d6e44[_0x45a303(0x225)](),_0x463d20=_0x5d6e44[_0x45a303(0xe5)](_0x5bb14c[_0x45a303(0x203)]);if(_0x242d93===-0x1&&_0x463d20>0x1){const _0xc6da55=_0x4f5177===_0x1a7c94[_0x45a303(0x1c1)]?_0x1a7c94[_0x45a303(0x2d2)]:_0x4f5177,_0x405420=_0xc6da55===_0x1a7c94['Row']?_0x5bb14c['Row']:_0x5bb14c[_0x45a303(0x2d2)];_0x5d6e44['updateValuePosition'](_0xc6da55,_0x5d6e44[_0x45a303(0xe5)](_0x405420));}}else{if(_0xb55330&&(_0x2644ad===_0x5bb14c[_0x45a303(0x16b)]||_0x2644ad===_0x5bb14c[_0x45a303(0x2d2)])){const _0xcb3fcc=_0xb55330[_0x45a303(0x10b)](),_0x31a1ce=_0x5d6e44[_0x45a303(0xf5)](_0xcb3fcc);if(_0x31a1ce&&(_0x31a1ce==null?void 0x0:_0x31a1ce[_0x45a303(0x304)]())===_0x161891[_0x45a303(0x32d)]){const _0x181fff=_0x31a1ce[_0x45a303(0x1b0)]();if(_0x181fff&&_0x5d6e44[_0x45a303(0x1ed)](_0xb55330[_0x45a303(0x10b)](),_0x181fff),!_0x29f1ee[_0x45a303(0x215)]()[_0x45a303(0x28a)](_0x1356c8=>{const _0x5a5b37=_0x45a303,_0x486273=_0x29f1ee[_0x5a5b37(0x1ca)](_0x1356c8);return _0x21063d(_0x486273)?_0x486273[_0x5a5b37(0x137)]()[_0x5a5b37(0x16d)]===_0x318422:!0x1;})){const _0x448bd9=_0x3d2fe9[_0x45a303(0x2d3)](),_0x5298a2=Wi(_0x31a1ce[_0x45a303(0x255)],_0x31a1ce[_0x45a303(0x2c9)]),_0x210fb9=_0x31a1ce[_0x45a303(0x275)]()+'\x20-\x20'+Ko(this[_0x45a303(0x146)],_0x5298a2),_0x43cbeb=new _0x48fd7b(_0x448bd9,_0x210fb9,_0x6b8c21(0x3),_0x31a1ce[_0x45a303(0x10b)](),_0x5298a2);_0x3d2fe9[_0x45a303(0x2cb)](_0x43cbeb),_0x29f1ee[_0x45a303(0xe4)](_0x448bd9,_0x210fb9),_0x5d6e44[_0x45a303(0x148)](_0x448bd9,_0x2644ad,(_0x30292d!=null?_0x30292d:0x0)+0x1),_0x4fd3c0=_0x43cbeb;}}}}const _0x1890cf=_0x5d6e44[_0x45a303(0x1c5)](),_0x1bfbb6=_0x5d6e44[_0x45a303(0x2ba)]()[_0x45a303(0x2db)]();let _0x2f0fdb;if(_0x4fd3c0){_0x2f0fdb=_0x4fd3c0['toJSON']();const _0x3d1025=_0x4fd3c0[_0x45a303(0x10b)]();_0x29f1ee[_0x45a303(0x287)](_0x3d1025);let _0x17cb3e=!0x0;for(const _0x427c5d in _0x3d2fe9[_0x45a303(0x256)])if(_0x3d2fe9[_0x45a303(0x256)][_0x427c5d][_0x45a303(0x215)]()[_0x45a303(0x205)](_0x3d1025)){_0x17cb3e=!0x1;break;}_0x17cb3e&&_0x3d2fe9[_0x45a303(0x16a)](_0x3d1025);}const _0x15aa76=_0x5d6e44['endCollectChangeset']();_0x1d9c8d[_0x45a303(0x263)]={'view':_0x1bfbb6,'changesets':_0x15aa76,'isEmpty':_0x1890cf,'pivotTableConfig':_0x50cc72,'shouldBeAddedGroupJSON':_0x2f0fdb};}break;case k[_0x45a303(0x23f)]:{const _0x1097e0=_0x3a09a3[_0x45a303(0x1e6)][_0x45a303(0x12f)];if(!_0x1097e0)return;const _0x57bcaa=_0x1097e0[_0x45a303(0x1e8)],_0x10d20d=_0x1097e0[_0x45a303(0x152)],{collection:_0x32225e}=this[_0x45a303(0x2be)][_0x45a303(0x239)]({'unitId':_0x57bcaa['unitId'],'sheetName':_0x57bcaa[_0x45a303(0x231)],'subUnitId':_0x57bcaa[_0x45a303(0x268)],'range':_0x57bcaa['range']}),_0x5551ea=new _0x1c5293(_0x32225e,void 0x0,_0x10d20d),_0x16436a=_0x5551ea[_0x45a303(0x2ba)](),_0x214d00=_0x5551ea[_0x45a303(0x2db)](),_0x86e716=_0x32225e[_0x45a303(0x2db)]();_0x1d9c8d[_0x45a303(0x12f)]={'view':_0x16436a,'fieldsConfig':_0x214d00,'collectionConfig':_0x86e716,'isEmpty':_0x5551ea['isEmpty']()};}break;case k['MovePivotField']:{const _0x1de312=_0x3a09a3[_0x45a303(0x1e6)][_0x45a303(0x242)];if(!_0x1de312)return;const {fieldId:_0x4dcff8,area:_0x26b4bd,index:_0x30c858}=_0x1de312,_0x481c9f=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x481c9f)return;const _0x119dc4=this[_0x45a303(0x2be)][_0x45a303(0x33f)](_0x1a8b95);if(!_0x119dc4)return;_0x119dc4[_0x45a303(0x10e)]();const {area:_0x68b8ab,index:_0x1d0d1b}=_0x119dc4[_0x45a303(0x2ef)](_0x4dcff8);if(_0x119dc4[_0x45a303(0x211)](_0x4dcff8,_0x26b4bd,_0x30c858),_0x26b4bd===_0x5bb14c[_0x45a303(0x203)]&&_0x119dc4[_0x45a303(0x1d7)](_0x4dcff8)['getSubtotal']()===void 0x0){const _0x2b3e8b=_0x119dc4[_0x45a303(0x1d7)](_0x4dcff8);if(_0x2b3e8b&&_0x2b3e8b[_0x45a303(0x334)]()===void 0x0){const _0x204edc=_0x119dc4[_0x45a303(0xf5)](_0x4dcff8);if(_0x204edc){const _0xae8fd8=_0x204edc==null?void 0x0:_0x204edc[_0x45a303(0x304)]();_0x119dc4[_0x45a303(0x2c5)](_0x4dcff8,_0xae8fd8===_0x161891[_0x45a303(0x336)]?_0x2ae972[_0x45a303(0x264)]:_0x2ae972['count']);}}}const _0x5f45ce=_0x119dc4[_0x45a303(0x225)](),_0x4fea90=_0x119dc4[_0x45a303(0x183)](),_0x14ce3c=_0x119dc4['getFieldCountByArea'](_0x5bb14c[_0x45a303(0x203)])>0x1;if(_0x14ce3c&&_0x68b8ab===_0x26b4bd&&(_0x26b4bd===_0x5bb14c['Row']&&_0x5f45ce===_0x1a7c94[_0x45a303(0x16b)]||_0x26b4bd===_0x5bb14c['Column']&&_0x5f45ce===_0x1a7c94['Column'])){let _0x52d78e=_0x4fea90;_0x1d0d1b<=_0x4fea90&&_0x52d78e--,_0x30c858<=_0x4fea90&&_0x52d78e++,_0x119dc4[_0x45a303(0x1ea)](_0x5f45ce,_0x52d78e);}else _0x14ce3c&&(_0x68b8ab===_0x5bb14c['Row']&&_0x5f45ce===_0x1a7c94[_0x45a303(0x16b)]||_0x68b8ab===_0x5bb14c['Column']&&_0x5f45ce===_0x1a7c94[_0x45a303(0x2d2)])&&_0x4fea90>=_0x1d0d1b&&_0x119dc4[_0x45a303(0x1ea)](_0x5f45ce,_0x4fea90-0x1),_0x14ce3c&&(_0x26b4bd===_0x5bb14c[_0x45a303(0x16b)]&&_0x5f45ce===_0x1a7c94[_0x45a303(0x16b)]||_0x26b4bd===_0x5bb14c[_0x45a303(0x2d2)]&&_0x5f45ce===_0x1a7c94['Column'])&&_0x4fea90>=_0x30c858&&_0x119dc4['updateValuePosition'](_0x5f45ce,_0x4fea90+0x1);const _0x59e932=_0x119dc4[_0x45a303(0x2ba)](),_0x4c3646=_0x119dc4['isEmpty'](),_0x267be5=_0x119dc4[_0x45a303(0xd4)]();_0x1d9c8d[_0x45a303(0x242)]={'view':_0x59e932[_0x45a303(0x2db)](),'changesets':_0x267be5,'isEmpty':_0x4c3646,'pivotTableConfig':_0x481c9f};}break;case k['RemovePivotField']:{const _0xee1340=_0x3a09a3[_0x45a303(0x1e6)]['removePivotField'];if(!_0xee1340)return;const _0x8168f2=_0xee1340[_0x45a303(0x2fc)],_0x4ca739=this[_0x45a303(0x2be)][_0x45a303(0x26b)](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x4ca739)return!0x1;const _0x43f1c5=this[_0x45a303(0x2be)]['getPivotTableInstance'](_0x1a8b95);if(!_0x43f1c5)return!0x1;_0x43f1c5[_0x45a303(0x10e)]();for(const _0x3ed9da of _0x8168f2){const {area:_0x4e5389}=_0x43f1c5[_0x45a303(0x2ef)](_0x3ed9da);_0x4e5389===_0x5bb14c[_0x45a303(0x203)]&&_0x43f1c5[_0x45a303(0x271)](_0x3ed9da),(_0x4e5389===_0x5bb14c[_0x45a303(0x16b)]||_0x4e5389===_0x5bb14c['Column'])&&_0x43f1c5['removeValueFilterInfo'](_0x3ed9da),_0x43f1c5[_0x45a303(0x30c)](_0x3ed9da);}const _0x318790=_0x43f1c5[_0x45a303(0x1c5)](),_0x17836e=_0x43f1c5[_0x45a303(0x2ba)]()['toJSON'](),_0xa0d176=_0x43f1c5[_0x45a303(0xd4)]();_0x1d9c8d['removePivotField']={'changesets':_0xa0d176,'pivotTableConfig':_0x4ca739,'isEmpty':_0x318790,'view':_0x17836e};}break;case k[_0x45a303(0x14c)]:{const _0x3e1d9f=_0x3a09a3['params'][_0x45a303(0x17b)];if(!_0x3e1d9f)return;const {tableFieldId:_0x88c779,items:_0x17b7f0,isAll:_0x1759b1}=_0x3e1d9f,_0x58207d=this[_0x45a303(0x2be)]['getPivotTableInstance'](_0x1a8b95),_0x14fab8=this['_sheetsPivotDataSourceModel'][_0x45a303(0x26b)](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x58207d||!_0x14fab8)return;_0x58207d[_0x45a303(0x10e)](),_0x58207d['setLabelFilterInfo'](_0x88c779,{'type':_0x578352[_0x45a303(0x196)],'list':_0x17b7f0,'isAll':_0x1759b1});const _0x2719d1=_0x58207d[_0x45a303(0x1c5)](),_0x470978=_0x58207d['query']()['toJSON'](),_0x53a1d4=_0x58207d[_0x45a303(0xd4)]();_0x1d9c8d[_0x45a303(0x17b)]={'view':_0x470978,'changesets':_0x53a1d4,'isEmpty':_0x2719d1,'pivotTableConfig':_0x14fab8};}break;case k[_0x45a303(0x221)]:{const _0x478fae=_0x3a09a3['params']['setValuePivotFilter'];if(!_0x478fae)return;const {tableFieldId:_0x4e44e3,filterInfo:_0x4c739b}=_0x478fae,_0x1b5752=this[_0x45a303(0x2be)][_0x45a303(0x33f)](_0x1a8b95),_0x4102f3=this[_0x45a303(0x2be)]['getPivotTableConfig'](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x1b5752||!_0x4102f3)return;_0x1b5752[_0x45a303(0x10e)](),_0x1b5752[_0x45a303(0x173)](_0x4e44e3,_0x4c739b);const _0x92e25b=_0x1b5752['isEmpty'](),_0x1da6a6=_0x1b5752['query']()[_0x45a303(0x2db)](),_0x47ddd6=_0x1b5752['endCollectChangeset']();_0x1d9c8d[_0x45a303(0x2b3)]={'view':_0x1da6a6,'changesets':_0x47ddd6,'isEmpty':_0x92e25b,'pivotTableConfig':_0x4102f3};}break;case k['SetPivotSort']:{const _0x9f5e80=_0x3a09a3[_0x45a303(0x1e6)]['setPivotSort'];if(!_0x9f5e80)return;const {tableFieldId:_0x58a1d0,info:_0x5b962e}=_0x9f5e80,_0x3b1666=this[_0x45a303(0x2be)]['getPivotTableInstance'](_0x1a8b95),_0x29bc90=this[_0x45a303(0x2be)]['getPivotTableConfig'](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x3b1666||!_0x29bc90)return;_0x3b1666[_0x45a303(0x10e)](),_0x3b1666[_0x45a303(0x28f)](_0x58a1d0,_0x5b962e);const _0x5c0170=_0x3b1666[_0x45a303(0x1c5)](),_0x2c1237=_0x3b1666[_0x45a303(0x2ba)]()[_0x45a303(0x2db)](),_0x2dcb99=_0x3b1666[_0x45a303(0xd4)]();_0x1d9c8d['setPivotSort']={'view':_0x2c1237,'changesets':_0x2dcb99,'isEmpty':_0x5c0170,'pivotTableConfig':_0x29bc90};}break;case k['SetPivotSetting']:{const _0x40f83c=_0x3a09a3[_0x45a303(0x1e6)]['setPivotSetting'];if(!_0x40f83c)return;const {tableFieldId:_0x29991d,displayName:_0x299136,subtotalType:_0x1137ae,format:_0xfa07d3}=_0x40f83c,_0x34d88c=this[_0x45a303(0x2be)][_0x45a303(0x33f)](_0x1a8b95),_0x37731b=this['_sheetsPivotDataSourceModel'][_0x45a303(0x26b)](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x34d88c||!_0x37731b)return;_0x34d88c[_0x45a303(0x10e)](),_0x299136!==void 0x0&&_0x34d88c[_0x45a303(0x2ff)](_0x29991d,_0x299136),_0x1137ae!==void 0x0&&_0x34d88c[_0x45a303(0x2c5)](_0x29991d,_0x1137ae),_0xfa07d3!==void 0x0&&_0x34d88c[_0x45a303(0x1ed)](_0x29991d,_0xfa07d3);const _0x181415=_0x34d88c['isEmpty'](),_0x5368cd=_0x34d88c[_0x45a303(0x2ba)]()['toJSON'](),_0x3b85bb=_0x34d88c['endCollectChangeset']();_0x1d9c8d[_0x45a303(0x27c)]={'changesets':_0x3b85bb,'pivotTableConfig':_0x37731b,'isEmpty':_0x181415,'view':_0x5368cd};}break;case k['UpdatePivotSource']:{const _0xa9d82c=_0x3a09a3['params'][_0x45a303(0x17d)];if(!_0xa9d82c)return;const {dataRangeInfo:_0x4694c8,unitId:_0x366e62,subUnitId:_0x1257df}=_0xa9d82c,_0x211181=this[_0x45a303(0x2be)]['getPivotTableConfig'](_0x366e62,_0x1257df,_0x1a8b95),_0x5343e5=this[_0x45a303(0x2be)][_0x45a303(0x33f)](_0x1a8b95);if(!this['_sheetsPivotDataSourceModel']['getCollection'](_0x366e62,_0x1a8b95)||!_0x5343e5||!_0x211181)return;const _0xae2419=this[_0x45a303(0x2be)]['getUpdateRangeDeleteIds'](_0x366e62,_0x1a8b95,_0x4694c8),_0x379191=this[_0x45a303(0x2be)][_0x45a303(0x1fc)](_0x366e62,_0x1a8b95)[_0x45a303(0x2db)](),{collection:_0x494bbc}=this[_0x45a303(0x2be)][_0x45a303(0x239)]({'unitId':_0x4694c8['unitId'],'sheetName':_0x4694c8[_0x45a303(0x231)],'subUnitId':_0x4694c8[_0x45a303(0x268)],'range':_0x4694c8[_0x45a303(0x168)]}),_0x446ada=_0x494bbc[_0x45a303(0x2db)]();_0x5343e5[_0x45a303(0x10e)]();const _0x245fb2=this[_0x45a303(0x2be)][_0x45a303(0x207)](_0x366e62)['getAutoDisplayNameFunction']()||_0x42d109;_0x5343e5[_0x45a303(0x11f)](_0x28802e=>{const _0x3d67ce=_0x45a303,_0x29e86c=_0x28802e['getDataFieldId']();if(!_0x494bbc['hasField'](_0x29e86c)){const _0x60d199=_0x494bbc[_0x3d67ce(0xea)](_0x28802e[_0x3d67ce(0x1e4)]());if(_0x60d199){_0x5343e5[_0x3d67ce(0x348)](_0x28802e[_0x3d67ce(0x10b)](),_0x60d199[_0x3d67ce(0x275)](),_0x60d199['getId']());const {area:_0x140a8e}=_0x5343e5[_0x3d67ce(0x2ef)](_0x28802e[_0x3d67ce(0x10b)]());let _0x41deb3=_0x28802e[_0x3d67ce(0x1e4)]();const _0x4e4f2a=_0x28802e[_0x3d67ce(0x1c3)]();if(_0x140a8e===_0x5bb14c[_0x3d67ce(0x203)]){const _0x499896=_0x28802e[_0x3d67ce(0x334)]();_0x41deb3=_0x245fb2(_0x60d199[_0x3d67ce(0x275)](),_0x499896);}_0x4e4f2a!==_0x41deb3&&_0x5343e5[_0x3d67ce(0x2ff)](_0x28802e[_0x3d67ce(0x10b)](),_0x41deb3);}else _0x5343e5['removeField'](_0x28802e[_0x3d67ce(0x10b)]());}});const _0xe070f8=_0x5343e5[_0x45a303(0x1c5)](),_0x7c7ee2=_0x5343e5['query']()[_0x45a303(0x2db)](),_0x4da30b=_0x5343e5['endCollectChangeset']();_0x1d9c8d[_0x45a303(0x17d)]={'view':_0x7c7ee2,'changesets':_0x4da30b,'isEmpty':_0xe070f8,'pivotTableConfig':_0x211181,'collectionConfig':_0x446ada,'oldCollectionConfig':_0x379191,'deleteIds':_0xae2419};}break;case k['UpdateValuePosition']:{const _0xe7a7af=_0x3a09a3[_0x45a303(0x1e6)]['updateValuePosition'];if(!_0xe7a7af)return;const {position:_0x5b8b7e,index:_0x2b5995}=_0xe7a7af,_0x298bea=this[_0x45a303(0x2be)]['getPivotTableConfig'](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x298bea)return!0x1;const _0x9cdae2=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x1a8b95);if(!_0x9cdae2)return!0x1;_0x9cdae2[_0x45a303(0x10e)](),_0x9cdae2[_0x45a303(0x1ea)](_0x5b8b7e,_0x2b5995);const _0x3560d1=_0x9cdae2[_0x45a303(0x1c5)](),_0x345a56=_0x9cdae2[_0x45a303(0x2ba)]()[_0x45a303(0x2db)](),_0x535bd4=_0x9cdae2[_0x45a303(0xd4)]();_0x1d9c8d[_0x45a303(0x1ea)]={'changesets':_0x535bd4,'pivotTableConfig':_0x298bea,'isEmpty':_0x3560d1,'view':_0x345a56};}break;case k[_0x45a303(0x18c)]:{const _0x1d3a18=_0x3a09a3[_0x45a303(0x1e6)][_0x45a303(0x113)];if(!_0x1d3a18)return;const {tableFieldId:_0x1e50ae,collapse:_0x27cb85,item:_0x411916}=_0x1d3a18,_0x3c39c9=this['_sheetsPivotDataSourceModel'][_0x45a303(0x33f)](_0x1a8b95),_0x3a9aed=this[_0x45a303(0x2be)][_0x45a303(0x26b)](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x3c39c9||!_0x3a9aed)return;_0x3c39c9[_0x45a303(0x10e)](),_0x3c39c9[_0x45a303(0x13e)](_0x1e50ae,_0x27cb85,_0x411916);const _0x6f6264=_0x3c39c9[_0x45a303(0x1c5)](),_0x3f7190=_0x3c39c9[_0x45a303(0x2ba)]()[_0x45a303(0x2db)](),_0x410c42=_0x3c39c9[_0x45a303(0xd4)]();_0x1d9c8d[_0x45a303(0x113)]={'view':_0x3f7190,'isEmpty':_0x6f6264,'pivotTableConfig':_0x3a9aed,'changesets':_0x410c42};}break;case k[_0x45a303(0x2a6)]:{const _0x3601ab=_0x3a09a3[_0x45a303(0x1e6)][_0x45a303(0x186)];if(!_0x3601ab)return;const {pivotTableConfig:_0x29f656}=_0x3601ab,_0x594093=this[_0x45a303(0x2be)][_0x45a303(0x33f)](_0x1a8b95),_0x4f27e2=this[_0x45a303(0x2be)][_0x45a303(0x26b)](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x594093||!_0x4f27e2)return;_0x594093['startCollectChangeset'](),$i(_0x594093,_0x29f656);const _0x840a98=_0x594093[_0x45a303(0x1c5)](),_0x392401=_0x594093[_0x45a303(0x2ba)]()['toJSON'](),_0x2a3510=_0x594093['endCollectChangeset']();_0x1d9c8d[_0x45a303(0x186)]={'view':_0x392401,'isEmpty':_0x840a98,'pivotTableConfig':{..._0x4f27e2,'fieldsConfig':_0x594093[_0x45a303(0x2db)]()},'changesets':_0x2a3510};}break;case k[_0x45a303(0x2d9)]:{const _0xddb0ae=_0x3a09a3[_0x45a303(0x1e6)][_0x45a303(0xd9)];if(!_0xddb0ae)return;const _0x16f9c0=this[_0x45a303(0x2be)][_0x45a303(0x33f)](_0x1a8b95),_0x49ae17=this[_0x45a303(0x2be)][_0x45a303(0x26b)](_0x5a5fcc,_0x506176,_0x1a8b95);if(!_0x16f9c0||!_0x49ae17)return;_0x16f9c0[_0x45a303(0x10e)](),Ji(_0x16f9c0,_0xddb0ae[_0x45a303(0x15d)]);const _0x11dc79=_0x16f9c0['query']()['toJSON'](),_0xea3baa=_0x16f9c0[_0x45a303(0xd4)]();_0x1d9c8d['resetPivotTable']={'view':_0x11dc79,'isEmpty':!0x0,'pivotTableConfig':{..._0x49ae17,'fieldsConfig':_0x16f9c0[_0x45a303(0x2db)]()},'changesets':_0xea3baa};}break;case k[_0x45a303(0x13b)]:{const _0x566d27=_0x3a09a3[_0x45a303(0x1e6)][_0x45a303(0xfa)];if(!_0x566d27)return;const _0x7b4fa2=_0x566d27[_0x45a303(0x1e8)],_0x309816=_0x566d27[_0x45a303(0x152)],{collection:_0x1212b9}=this[_0x45a303(0x2be)]['createCollectionWithDataRange']({'unitId':_0x7b4fa2['unitId'],'sheetName':_0x7b4fa2[_0x45a303(0x231)],'subUnitId':_0x7b4fa2[_0x45a303(0x268)],'range':_0x7b4fa2['range']}),_0x43f1b5=new _0x1c5293(_0x1212b9,void 0x0,_0x309816),_0x38e68e=_0x1212b9[_0x45a303(0x215)](),{rows:_0x37a62c,columns:_0x34bdac,filters:_0x5629a4,values:_0x39115a}=_0x566d27[_0x45a303(0x1e5)];_0x43f1b5['startCollectChangeset']();for(const {field:_0x15b2af,selectedItems:_0x1d8e4f}of _0x37a62c||[]){const _0x205690=_0x38e68e[_0x15b2af];if(_0x205690){const _0x431e18=_0x43f1b5[_0x45a303(0x148)](_0x205690,_0x5bb14c[_0x45a303(0x16b)]);_0x1d8e4f&&_0x431e18&&_0x43f1b5[_0x45a303(0x166)](_0x431e18[_0x45a303(0x10b)](),{'type':_0x578352['ManualFilter'],'list':_0x1d8e4f,'isAll':!0x1});}}for(const {field:_0x242d45,selectedItems:_0x2cb63c}of _0x34bdac||[]){const _0x37dd2c=_0x38e68e[_0x242d45];if(_0x37dd2c){const _0x33e1e9=_0x43f1b5[_0x45a303(0x148)](_0x37dd2c,_0x5bb14c[_0x45a303(0x2d2)]);_0x2cb63c&&_0x33e1e9&&_0x43f1b5[_0x45a303(0x166)](_0x33e1e9[_0x45a303(0x10b)](),{'type':_0x578352[_0x45a303(0x196)],'list':_0x2cb63c,'isAll':!0x1});}}for(const {field:_0x4714bf,selectedItems:_0x3dae1c}of _0x5629a4||[]){const _0x19f8c7=_0x38e68e[_0x4714bf];if(_0x19f8c7){const _0x18dcaf=_0x43f1b5[_0x45a303(0x148)](_0x19f8c7,_0x5bb14c[_0x45a303(0x233)]);_0x3dae1c&&_0x18dcaf&&_0x43f1b5[_0x45a303(0x166)](_0x18dcaf[_0x45a303(0x10b)](),{'type':_0x578352[_0x45a303(0x196)],'list':_0x3dae1c,'isAll':!0x1});}}for(const {field:_0x3f5962,subTotalType:_0x7cc08d,formatString:_0x716471}of _0x39115a||[]){const _0x559984=_0x1212b9[_0x45a303(0x1ca)](_0x38e68e[_0x3f5962]);if(!_0x559984)continue;const _0x1085b9=_0x38e68e[_0x3f5962];if(_0x1085b9){const _0x778e72=_0x43f1b5['addFieldWithSourceId'](_0x1085b9,_0x5bb14c[_0x45a303(0x203)]);if(_0x778e72){if(_0x7cc08d!==void 0x0){_0x43f1b5[_0x45a303(0x2c5)](_0x778e72[_0x45a303(0x10b)](),_0x7cc08d);const _0x3a0064=this[_0x45a303(0x2be)][_0x45a303(0x207)](_0x7b4fa2[_0x45a303(0x1ba)])['getAutoDisplayNameFunction']()||_0x42d109,_0x426f52=_0x1212b9['getDisplayName'](_0x1085b9),_0x25e0bd=_0x3a0064(_0x426f52,_0x7cc08d);_0x43f1b5[_0x45a303(0x2ff)](_0x778e72[_0x45a303(0x10b)](),_0x25e0bd);}else{if(_0x559984){const _0x67fd92=_0x559984==null?void 0x0:_0x559984[_0x45a303(0x304)]();_0x43f1b5[_0x45a303(0x2c5)](_0x778e72[_0x45a303(0x10b)](),_0x67fd92===_0x161891[_0x45a303(0x336)]?_0x2ae972['sum']:_0x2ae972['count']);}}_0x716471&&_0x43f1b5[_0x45a303(0x1ed)](_0x778e72['getId'](),_0x716471);}}}const _0x28783a=_0x43f1b5[_0x45a303(0x2ba)](),_0xd6daff=_0x43f1b5['toJSON'](),_0x480936=_0x43f1b5[_0x45a303(0x1c5)](),_0x55565a=_0x43f1b5[_0x45a303(0xd4)](),_0x2d24ba=_0x1212b9['toJSON']();_0x1d9c8d[_0x45a303(0xfa)]={'view':_0x28783a,'fieldsConfig':_0xd6daff,'collectionConfig':_0x2d24ba,'isEmpty':_0x480936,'changesets':_0x55565a};}break;case k['DrillDown']:{const _0x216141=xi(this[_0x45a303(0x146)],_0x3a09a3);if(!_0x216141)return;const {range:_0x10bf36,sourceSubUnitId:_0x1ab332,sourceUnitId:_0x97851b,formatMap:_0x342f72,indexes:_0x56ad06}=_0x216141;_0x1d9c8d[_0x45a303(0x335)]={'range':_0x10bf36,'sourceSubUnitId':_0x1ab332,'sourceUnitId':_0x97851b,'formatMap':_0x342f72,'indexes':_0x56ad06};}break;}this[_0x45a303(0x13a)]['executeCommand'](lo['id'],{'version':_0x3a09a3['version'],'result':_0x1d9c8d},{'onlyLocal':!0x0});}));}[_0x3e64d8(0x1eb)](){const _0x4caabb=_0x3e64d8;this[_0x4caabb(0x103)](this[_0x4caabb(0x13a)][_0x4caabb(0x319)](_0x5ce540=>{const _0x18fda4=_0x4caabb;if(_0x5ce540['id']!==uo['id'])return;const _0x13d81b=_0x5ce540['params'];return this[_0x18fda4(0x2be)][_0x18fda4(0x27f)](_0x13d81b[_0x18fda4(0x16f)]),!0x0;}));}['_subjectCollectionChange'](){const _0x235bcc=_0x3e64d8;this['_sheetsPivotDataSourceModel'][_0x235bcc(0x1cd)][_0x235bcc(0x1b6)](_0x40dbce=>{const _0x222dfb=_0x235bcc;switch(_0x40dbce[_0x222dfb(0x1da)]){case Be['add']:_0x40dbce[_0x222dfb(0x328)]&&_0x40dbce['targetCellInfo']&&this[_0x222dfb(0x27b)](_0x40dbce[_0x222dfb(0x307)],_0x40dbce['dataRangeInfo'],_0x40dbce[_0x222dfb(0x1ff)]);break;case Be['delete']:{const {unitId:_0x2bcf5a,subUnitId:_0x1ee867,token:_0x5b4121}=_0x40dbce;_0x2bcf5a&&_0x1ee867&&_0x5b4121&&this['removeSourceRangeChange'](_0x2bcf5a,_0x1ee867,_0x5b4121);}break;case Be[_0x222dfb(0x109)]:{const {token:_0x3dbb94,oldSourceRangeInfo:_0xcda334,dataRangeInfo:_0x4acbbd,targetCellInfo:_0x272dad}=_0x40dbce,{unitId:_0x5a20e2,subUnitId:_0x34f4e4}=_0xcda334||{};_0x5a20e2&&_0x34f4e4&&_0x3dbb94&&this[_0x222dfb(0x265)](_0x5a20e2,_0x34f4e4,_0x3dbb94),_0x4acbbd&&_0x272dad&&this[_0x222dfb(0x27b)](_0x3dbb94,_0x4acbbd,_0x272dad);}break;}});}[_0x3e64d8(0xd0)](){const _0x13ee16=_0x3e64d8;this[_0x13ee16(0x2be)][_0x13ee16(0x243)][_0x13ee16(0x1b6)](_0x4d8798=>{const _0x7f62b8=_0x13ee16;Object[_0x7f62b8(0x19b)](_0x4d8798)[_0x7f62b8(0x14a)](_0x4f4b1b=>{const _0x38a4fe=_0x7f62b8,_0x10e9a0=this['_sheetsPivotDataSourceModel'][_0x38a4fe(0x187)](_0x4f4b1b);if(_0x10e9a0){const _0x2b3c2d=this[_0x38a4fe(0x2be)][_0x38a4fe(0x26b)](_0x10e9a0==null?void 0x0:_0x10e9a0[_0x38a4fe(0x1ba)],_0x10e9a0==null?void 0x0:_0x10e9a0['subUnitId'],_0x4f4b1b);_0x2b3c2d&&(this[_0x38a4fe(0x27b)](_0x4f4b1b,_0x2b3c2d['sourceRangeInfo'],_0x2b3c2d[_0x38a4fe(0x1ff)]),this['triggerDirtyFeature']([{'unitId':_0x10e9a0[_0x38a4fe(0x1ba)],'subUnitId':_0x10e9a0[_0x38a4fe(0x268)],'token':_0x4f4b1b}]));}});});}[_0x3e64d8(0x33a)](){const _0x19f772=_0x3e64d8;this[_0x19f772(0x2be)][_0x19f772(0x2d7)][_0x19f772(0x1b6)](_0x58cda7=>{const _0x2b0959=_0x19f772,{unitId:_0x10c698,subUnitId:_0x5e6f06,pivotTableId:_0x40e0c0}=_0x58cda7;_0x10c698&&_0x5e6f06&&_0x40e0c0&&this[_0x2b0959(0x33d)]([{'unitId':_0x10c698,'subUnitId':_0x5e6f06,'token':_0x40e0c0}]);});}[_0x3e64d8(0x33d)](_0x23ad99){const _0x3b4644=_0x3e64d8,_0x3150cb={};_0x23ad99['forEach'](_0x2fcbed=>{var _0x4e6841,_0xeea22e;const {unitId:_0x3a170a,subUnitId:_0x57d7b3,token:_0x544dfb}=_0x2fcbed;_0x3150cb[_0x3a170a]=(_0x4e6841=_0x3150cb[_0x3a170a])!=null?_0x4e6841:{},_0x3150cb[_0x3a170a][_0x57d7b3]=(_0xeea22e=_0x3150cb[_0x3a170a][_0x57d7b3])!=null?_0xeea22e:{},_0x3150cb[_0x3a170a][_0x57d7b3][_0x544dfb]=!0x0;}),this[_0x3b4644(0x13a)][_0x3b4644(0x279)](Vt['id'],_0x3150cb);}['removeSourceRangeChange'](_0x446af5,_0x3e80eb,_0x47b086){const _0x53bba4=_0x3e64d8;this[_0x53bba4(0x172)]['remove'](_0x446af5,_0x3e80eb,[_0x47b086]);}[_0x3e64d8(0x27b)](_0x589051,_0x5c97e9,_0x7f6a23){const _0x160adb=_0x3e64d8,{unitId:_0x2a2920,subUnitId:_0x2276c6}=_0x5c97e9;this[_0x160adb(0x172)][_0x160adb(0xe7)](_0x7f6a23['unitId'],_0x7f6a23[_0x160adb(0x268)],_0x589051)&&this[_0x160adb(0x265)](_0x2a2920,_0x2276c6,_0x589051);const _0x26fd2={'sheetId':_0x2276c6,..._0x5c97e9};this[_0x160adb(0x172)]['register'](_0x7f6a23[_0x160adb(0x1ba)],_0x7f6a23[_0x160adb(0x268)],_0x589051,{'unitId':_0x7f6a23[_0x160adb(0x1ba)],'subUnitId':_0x7f6a23[_0x160adb(0x268)],'dependencyRanges':[_0x26fd2],'getDirtyData':(_0x3a180f,_0x361f16)=>{const _0x4bc155=_0x160adb,_0x2967a2=this[_0x4bc155(0x2be)],_0x46c974=_0x2967a2[_0x4bc155(0x187)](_0x589051);if(!_0x46c974)return Os();const {unitId:_0x3da5c3,subUnitId:_0x17a748}=_0x46c974,_0xf0a4a0=Es(_0x3a180f,_0x361f16,_0x5c97e9);if(_0xf0a4a0[_0x4bc155(0x169)]>0x0){const _0xb06e98=_0x2967a2[_0x4bc155(0x1fc)](_0x2a2920,_0x589051),_0x1ccab0=_0xb06e98['getFieldIds'](),_0x3892aa=this[_0x4bc155(0x2aa)](_0x5c97e9[_0x4bc155(0x1ba)],_0x5c97e9[_0x4bc155(0x268)],_0x361f16),_0xb41bf8={},_0x65b5b=this[_0x4bc155(0x2be)][_0x4bc155(0x207)](_0x3da5c3)[_0x4bc155(0x2a2)]()||_0x42d109,_0x50b51e=[];for(const _0x42e686 of _0xf0a4a0){const _0x5559b4=_0x42e686-(_0x5c97e9[_0x4bc155(0x168)]['startColumn']||0x0),_0x3d6d07=_0x1ccab0[_0x5559b4];_0x50b51e[_0x4bc155(0x2b6)](_0x3d6d07),_0xb41bf8[_0x3d6d07]=_0xb06e98[_0x4bc155(0x1ca)](_0x3d6d07)[_0x4bc155(0x275)](),_0x2967a2[_0x4bc155(0x207)](_0x2a2920)[_0x4bc155(0xd2)](_0x3d6d07,_0x5c97e9,_0x5559b4,_0x3892aa);}_0xb06e98['getGroupFieldsInfoByIds'](_0x50b51e)[_0x4bc155(0x14a)](_0x27d18a=>{const _0x3936db=_0x4bc155,[_0x2e36f9,_0x2279f6]=_0x27d18a,_0x389dc2=_0xb06e98[_0x3936db(0x1ca)](_0x2e36f9),_0x2f2d3e=_0xb06e98['getFieldById'](_0x2279f6);_0x389dc2&&_0x2f2d3e&&_0x389dc2[_0x3936db(0x1a8)](_0x2f2d3e);}),_0xb06e98[_0x4bc155(0x1d8)]();const _0x407155=_0x2967a2[_0x4bc155(0x33f)](_0x589051);if(_0x407155){Us(_0x407155,_0xb41bf8,_0x65b5b),_0x407155[_0x4bc155(0x25f)](!0x0);const _0x4dd4d6=_0x407155[_0x4bc155(0x2ba)](),_0x8f971a=_0x2967a2['getPivotTableConfig'](_0x3da5c3,_0x17a748,_0x589051),_0x10a173=_0x2967a2['getDataFieldManager'](_0x2a2920)[_0x4bc155(0x2db)]();_0x2967a2[_0x4bc155(0x19e)](_0x3da5c3,_0x17a748,H[_0x4bc155(0x249)],_0x589051,_0x4dd4d6,_0x8f971a,_0x10a173,!0x0);}}return this[_0x4bc155(0x184)](_0x3da5c3,_0x17a748,_0x589051);}});}[_0x3e64d8(0x2aa)](_0x464de1,_0x287d69,_0x4c24dd){var _0x70c15,_0x359c8e;const {arrayFormulaCellData:_0x16dbe1,unitData:_0x450feb}=_0x4c24dd,_0x130877=(_0x70c15=_0x16dbe1==null?void 0x0:_0x16dbe1[_0x464de1])==null?void 0x0:_0x70c15[_0x287d69],_0x385ec6=(_0x359c8e=_0x450feb==null?void 0x0:_0x450feb[_0x464de1])==null?void 0x0:_0x359c8e[_0x287d69];return{'arrayFormulaCellDataMatrix':_0x130877,'unitDataMatrix':_0x385ec6};}[_0x3e64d8(0x184)](_0x20c33e,_0x2006c7,_0x248b99){const _0x6a101c=_0x3e64d8,_0x2cb4e1=this[_0x6a101c(0x2be)]['getViewData'](_0x20c33e,_0x2006c7,_0x248b99),_0xdfbc7=[],_0x47644b=new _0x2067c1();if(_0x2cb4e1){const {rangeCache:_0x375659,matrix:_0x5ca819,oldRangeCache:_0x511c6f,oldMatrix:_0x404662}=_0x2cb4e1,_0x82e5be=Ht(_0x511c6f),_0x302f7e=Ht(_0x375659);_0xdfbc7[_0x6a101c(0x2b6)](..._0x302f7e,..._0x82e5be),_0x404662&&_0x511c6f&&_0x82e5be[_0x6a101c(0x14a)](_0x28b848=>{const _0x487a39=_0x6a101c;for(let _0x559bce=_0x28b848[_0x487a39(0x31a)];_0x559bce<=_0x28b848[_0x487a39(0x129)];_0x559bce++)for(let _0x3db2b5=_0x28b848[_0x487a39(0x178)];_0x3db2b5<=_0x28b848[_0x487a39(0x1fa)];_0x3db2b5++)_0x47644b[_0x487a39(0x2fa)](_0x559bce,_0x3db2b5);}),_0x5ca819&&_0x302f7e&&_0x302f7e[_0x6a101c(0x14a)](_0x442dbf=>{const _0x160f44=_0x6a101c;for(let _0x38f7fe=_0x442dbf[_0x160f44(0x31a)];_0x38f7fe<=_0x442dbf[_0x160f44(0x129)];_0x38f7fe++)for(let _0x2a7961=_0x442dbf[_0x160f44(0x178)];_0x2a7961<=_0x442dbf[_0x160f44(0x1fa)];_0x2a7961++)_0x47644b[_0x160f44(0x1df)](_0x38f7fe,_0x2a7961,_0x5ca819[_0x160f44(0x1d2)](_0x38f7fe,_0x2a7961));});}const _0x47754d={};return _0x47754d[_0x20c33e]={[_0x2006c7]:xs(_0xdfbc7)},{'runtimeCellData':{[_0x20c33e]:{[_0x2006c7]:_0x47644b}},'dirtyRanges':_0x47754d};}[_0x3e64d8(0x295)](){}};ct=Vs([at(0x0,_0x5e764c($)),at(0x1,_0x5e764c(_0x43eff9)),at(0x2,_0x5e764c(_0x56dc87)),at(0x3,_0x5e764c(_0x14b9f2)),at(0x4,_0x5e764c(_0x4a79fb))],ct);var As=Object[_0x3e64d8(0x1f1)],ks=(_0x262b37,_0x1b6ddd,_0x365c43,_0x3a67f4)=>{for(var _0x40c83a=_0x3a67f4>0x1?void 0x0:_0x3a67f4?As(_0x1b6ddd,_0x365c43):_0x1b6ddd,_0x32d1f8=_0x262b37['length']-0x1,_0x250597;_0x32d1f8>=0x0;_0x32d1f8--)(_0x250597=_0x262b37[_0x32d1f8])&&(_0x40c83a=_0x250597(_0x40c83a)||_0x40c83a);return _0x40c83a;},_t=(_0x2d5295,_0x28d716)=>(_0x120a10,_0x38a2af)=>_0x28d716(_0x120a10,_0x38a2af,_0x2d5295);let dt=class extends _0x41248b{constructor(_0x275c66,_0x1c6b99,_0x7d2dbf,_0x2e2dd2){const _0x32bf01=_0x3e64d8;super(),V(this,'disposableCollection',new _0xd254f0()),(this[_0x32bf01(0x309)]=_0x275c66,this[_0x32bf01(0x142)]=_0x1c6b99,this['_sheetsSelectionsService']=_0x7d2dbf,this[_0x32bf01(0x329)]=_0x2e2dd2,this['_initClearSelectionCommandInterceptor']());}['_initClearSelectionCommandInterceptor'](){const _0x2606d7=_0x3e64d8;this[_0x2606d7(0x103)](this[_0x2606d7(0x142)][_0x2606d7(0x1be)]({'getMutations':_0x1b7cbc=>{const _0x4af9fd=_0x2606d7;if(_0x1b7cbc['id']===_0x3914b7['id']||_0x1b7cbc['id']===_0x3ec062['id']){const _0x1fe5d6=[],_0x3948ea=[],_0x4bd3db=this[_0x4af9fd(0x312)]['getCurrentSelections']()[_0x4af9fd(0x224)](_0x4b5a72=>_0x4b5a72[_0x4af9fd(0x168)]),_0x2fd5e5=_0x3a629a(this[_0x4af9fd(0x309)]);if(!_0x2fd5e5)return{'redos':[],'undos':[]};const {unitId:_0x3a9641,subUnitId:_0x169cdb}=_0x2fd5e5,_0x1f9ccb={},_0x34a22f=this[_0x4af9fd(0x329)][_0x4af9fd(0x2ae)](_0x3a9641,_0x169cdb);if(_0x34a22f!=null&&_0x34a22f[_0x4af9fd(0x2b7)])for(const [_0xf2c31a,_0x24e73f]of _0x34a22f){const {unitId:_0x4ee7a3,subUnitId:_0x87fe03,row:_0x3659b3,col:_0x1b452b}=_0x24e73f[_0x4af9fd(0x1ff)];_0x4ee7a3===_0x2fd5e5[_0x4af9fd(0x1ba)]&&_0x87fe03===_0x2fd5e5[_0x4af9fd(0x268)]&&(_0x1f9ccb[_0x3659b3+'-'+_0x1b452b]=_0xf2c31a);}return _0x4bd3db&&_0x2fd5e5&&_0x4bd3db[_0x4af9fd(0x14a)](_0x2e0630=>{const _0x5da5eb=_0x4af9fd;_0x32c45e[_0x5da5eb(0x25a)](_0x2e0630,(_0x31e771,_0x4862a3)=>{const _0x45cf73=_0x5da5eb,_0x4cf8ed=_0x31e771+'-'+_0x4862a3;if(_0x1f9ccb[_0x4cf8ed]){const _0x307e0d=_0x1f9ccb[_0x4cf8ed];_0x1fe5d6[_0x45cf73(0x2b6)]({'id':Et['id'],'params':{'unitId':_0x3a9641,'subUnitId':_0x169cdb,'pivotTableId':_0x307e0d}});const _0x3f7e6f=this['_sheetsPivotTableConfigModel'][_0x45cf73(0x1fc)](_0x3a9641,_0x307e0d),_0x365621=this[_0x45cf73(0x329)][_0x45cf73(0x26b)](_0x3a9641,_0x169cdb,_0x307e0d);_0x3948ea['push']({'id':Ct['id'],'params':{'unitId':_0x3a9641,'subUnitId':_0x169cdb,'pivotTableId':_0x307e0d,'pivotTableConfig':_0x365621,'collectionConfig':_0x3f7e6f}});}});}),{'redos':_0x1fe5d6,'undos':_0x3948ea};}return{'redos':[],'undos':[]};}}));}};dt=ks([_t(0x0,_0x4eff45),_t(0x1,_0x5e764c(_0x595b5e)),_t(0x2,_0x5e764c(_0x3cf03c)),_t(0x3,_0x5e764c(he))],dt);var Bs=Object[_0x3e64d8(0x1f1)],Ls=(_0x406740,_0x2e04fe,_0x1e7e69,_0x4e05a4)=>{const _0x2f145c=_0x3e64d8;for(var _0x3af05c=_0x4e05a4>0x1?void 0x0:_0x4e05a4?Bs(_0x2e04fe,_0x1e7e69):_0x2e04fe,_0x39fe73=_0x406740[_0x2f145c(0x169)]-0x1,_0x59538e;_0x39fe73>=0x0;_0x39fe73--)(_0x59538e=_0x406740[_0x39fe73])&&(_0x3af05c=_0x59538e(_0x3af05c)||_0x3af05c);return _0x3af05c;},rt=(_0x4a9f03,_0xcdc702)=>(_0xfca20e,_0x4124e8)=>_0xcdc702(_0xfca20e,_0x4124e8,_0x4a9f03);let ut=class extends _0x41248b{constructor(_0x13660e,_0x320a91,_0xfcd33e,_0x7c3a49,_0x2680e6){const _0x520edc=_0x3e64d8;super(),this[_0x520edc(0x142)]=_0x13660e,this[_0x520edc(0x146)]=_0x320a91,this[_0x520edc(0x309)]=_0xfcd33e,this[_0x520edc(0x329)]=_0x7c3a49,this['_sheetsPivotTableService']=_0x2680e6,this[_0x520edc(0x1e9)]();}['_getPivotAppliedRanges'](_0x138646,_0x41c16f,_0x1d29e2){const _0x242483=_0x3e64d8,{pageView:_0x481c0f,cornerView:_0x40f198,rowView:_0x3e3839,colView:_0x225934,dataView:_0x4317ed}=_0x41c16f,_0x5e5e74=_0x138646;let _0x1e6cb2;if(_0x1d29e2)_0x1e6cb2=[...Ai(_0x5e5e74)];else{const _0x3476d1=ge(_0x5e5e74,_0x481c0f,!0x0),_0x53dbae=_0x481c0f[_0x242483(0x21e)]>=0x0?_0x481c0f[_0x242483(0x21e)]+0x1:0x0,_0x4d9d59=_0x40f198[_0x242483(0x114)],_0x45b444=_0x40f198[_0x242483(0x101)],_0x2df96b=_0x3476d1[_0x242483(0x169)]>0x0?mt:0x0,_0x3247d6=ge({'row':_0x5e5e74['row']+_0x53dbae+_0x2df96b,'col':_0x5e5e74['col']},_0x40f198,!0x1,!0x1),_0x588c5b=ge({'row':_0x5e5e74[_0x242483(0x2e7)]+_0x53dbae+_0x2df96b+_0x4d9d59,'col':_0x5e5e74['col']},_0x3e3839,!0x1,!0x0),_0x10319f=ge({'row':_0x5e5e74['row']+_0x53dbae+_0x2df96b,'col':_0x5e5e74[_0x242483(0x2c4)]+_0x45b444},_0x225934,!0x1,!0x0),_0x2176dc=ge({'row':_0x5e5e74[_0x242483(0x2e7)]+_0x53dbae+_0x2df96b+_0x4d9d59,'col':_0x5e5e74['col']+_0x45b444},_0x4317ed,!0x1,!0x0);_0x1e6cb2=[..._0x3476d1,..._0x3247d6,..._0x588c5b,..._0x10319f,..._0x2176dc];}return _0x1e6cb2;}[_0x3e64d8(0x1e9)](){const _0x3adbbf=_0x3e64d8;this[_0x3adbbf(0x103)](this[_0x3adbbf(0x313)]['interceptor'][_0x3adbbf(0x218)](this['_sheetsPivotTableService'][_0x3adbbf(0x236)][_0x3adbbf(0x139)]()[_0x3adbbf(0x285)],{'handler':(_0x10c978,_0x10eb70)=>{const _0x40d9cf=_0x3adbbf,{cellInfo:_0x15853f,view:_0x4495c6,isEmpty:_0x361363}=_0x10eb70,_0x549224=_0x15853f,{unitId:_0x11c22b,subUnitId:_0x1c863d}=_0x549224,_0x116263=this[_0x40d9cf(0x310)](_0x15853f,_0x4495c6,_0x361363),_0x11fdb2=this[_0x40d9cf(0x142)][_0x40d9cf(0x19d)]({'unitId':_0x11c22b,'subUnitId':_0x1c863d,'ranges':_0x116263}),_0x37f9fa=Go(this[_0x40d9cf(0x146)],_0x11c22b,_0x1c863d,_0x116263);_0x37f9fa['shouldClear']&&(_0x11fdb2['redos'][_0x40d9cf(0x2b6)](_0x37f9fa[_0x40d9cf(0x2c7)]),_0x11fdb2[_0x40d9cf(0x1d3)]['push'](_0x37f9fa[_0x40d9cf(0x1e1)]));const _0x540f8f=this['getAutoFitColumnsMutations'](_0x4495c6,_0x15853f);return _0x11fdb2['redos'][_0x40d9cf(0x2b6)](..._0x540f8f[_0x40d9cf(0x288)]),_0x11fdb2[_0x40d9cf(0x1d3)][_0x40d9cf(0x2b6)](..._0x540f8f[_0x40d9cf(0x1d3)]),{'redos':_0x11fdb2[_0x40d9cf(0x288)],'undos':_0x11fdb2[_0x40d9cf(0x1d3)]};}}));}[_0x3e64d8(0x160)](_0x351b70,_0x34ec80){const _0x5dae48=_0x3e64d8,{col:_0x2f1f29,unitId:_0x3202f7,subUnitId:_0x233053}=_0x34ec80,_0x515de1=[],_0x3dfaf2=[],_0x3d11f7=_0x3a629a(this['_univerInstanceService'],{'unitId':_0x3202f7,'subUnitId':_0x233053});if(!_0x34ec80||!_0x351b70||!_0x3d11f7)return{'undos':_0x3dfaf2,'redos':_0x515de1};const _0x59287f=this[_0x5dae48(0x329)][_0x5dae48(0x175)](),{colView:_0xddf1ed,dataView:_0x4a18df,cornerView:_0x23a7dc,rowView:_0x5e3392,formatMap:_0xfc166b}=_0x351b70,_0x502d57=Mo(_0xddf1ed,_0x59287f,!0x0,_0xfc166b),_0x1bfc98=Mo(_0x5e3392,_0x59287f,!0x1,_0xfc166b),_0x115ccf=Li(_0x4a18df),_0x4ebe0c=Hi(_0x23a7dc),{worksheet:_0x14e491}=_0x3d11f7;if(typeof window<'u'&&window[_0x5dae48(0x322)]){const _0x19884f=_0x205650({...fe[_0x5dae48(0x1a7)]}),_0x16fbd1=_0x4c6db8[_0x5dae48(0x325)](_0x502d57,_0x19884f)[_0x5dae48(0x136)]+0x10,_0x6042a7=_0x4c6db8[_0x5dae48(0x325)](_0x115ccf,_0x19884f)[_0x5dae48(0x136)],_0x1c7e9f=Math[_0x5dae48(0x199)](Math['max'](_0x16fbd1,_0x6042a7))+0x10,_0x31d88a=Math['floor'](_0x4c6db8['getTextSize'](_0x1bfc98,_0x19884f)[_0x5dae48(0x136)]),_0x312e6a=Math[_0x5dae48(0x199)](_0x4c6db8[_0x5dae48(0x325)](_0x4ebe0c,_0x19884f)[_0x5dae48(0x136)]),_0x316592=Math[_0x5dae48(0x343)](_0x31d88a,_0x312e6a,0x28)+0xc,_0x39f494=_0xddf1ed[_0x5dae48(0x101)]+_0x23a7dc['colCount'],_0x351e76={},_0x238ef0={};for(let _0x3238cc=_0x2f1f29;_0x3238cc<_0x2f1f29+_0x39f494;_0x3238cc++){const _0x18b5a6=_0x14e491[_0x5dae48(0x12e)](_0x3238cc);_0x351e76[_0x3238cc]=_0x18b5a6,_0x3238cc-_0x2f1f29<_0x23a7dc[_0x5dae48(0x101)]?_0x238ef0[_0x3238cc-_0x2f1f29]=_0x316592:_0x238ef0[_0x3238cc-_0x2f1f29]=_0x1c7e9f;}_0x515de1[_0x5dae48(0x2b6)]({'id':_0x15cb3a['id'],'params':{'subUnitId':_0x233053,'unitId':_0x3202f7,'ranges':[{'startColumn':_0x2f1f29,'endColumn':_0x2f1f29+_0x39f494-0x1,'startRow':0x0,'endRow':_0x14e491[_0x5dae48(0x240)]()-0x1}],'colWidth':_0x238ef0}}),_0x3dfaf2[_0x5dae48(0x2b6)]({'id':_0x15cb3a['id'],'params':{'subUnitId':_0x233053,'unitId':_0x3202f7,'ranges':[{'startColumn':_0x2f1f29,'endColumn':_0x2f1f29+_0x39f494-0x1,'startRow':0x0,'endRow':_0x14e491[_0x5dae48(0x240)]()-0x1}],'colWidth':_0x351e76}});}return{'undos':_0x3dfaf2,'redos':_0x515de1};}};ut=Ls([rt(0x0,_0x5e764c(_0x595b5e)),rt(0x1,_0x5e764c(_0x4a79fb)),rt(0x2,_0x5e764c(_0x4eff45)),rt(0x3,_0x5e764c(he)),rt(0x4,_0x5e764c(ie))],ut);var Hs=Object[_0x3e64d8(0x1f1)],$s=(_0x3edb03,_0x3bd5e5,_0x485d1c,_0x10884e)=>{const _0x186a17=_0x3e64d8;for(var _0x53e27a=_0x10884e>0x1?void 0x0:_0x10884e?Hs(_0x3bd5e5,_0x485d1c):_0x3bd5e5,_0x501588=_0x3edb03[_0x186a17(0x169)]-0x1,_0x185631;_0x501588>=0x0;_0x501588--)(_0x185631=_0x3edb03[_0x501588])&&(_0x53e27a=_0x185631(_0x53e27a)||_0x53e27a);return _0x53e27a;},Ae=(_0x3db834,_0x2b2e46)=>(_0x4ebab6,_0x2504ae)=>_0x2b2e46(_0x4ebab6,_0x2504ae,_0x3db834);let ft=class extends _0x41248b{constructor(_0x69b325,_0x10dd7d,_0x4ea7e6,_0x5a0604,_0x41cfcd,_0x20820c,_0x6ce65c){const _0x6342be=_0x3e64d8;super(),V(this,_0x6342be(0x2a1),new _0xd254f0()),(this[_0x6342be(0x146)]=_0x69b325,this[_0x6342be(0x2c1)]=_0x10dd7d,this[_0x6342be(0x13a)]=_0x4ea7e6,this[_0x6342be(0x309)]=_0x5a0604,this[_0x6342be(0x329)]=_0x41cfcd,this['_sheetsPivotTableAdaptorModel']=_0x20820c,this[_0x6342be(0x142)]=_0x6ce65c,this['_onRefRangeChange']());}[_0x3e64d8(0x1ab)](){const _0x58601b=_0x3e64d8,_0x4c873b=(_0x407337,_0x2dc17d)=>{const _0x225315=_0x141d,_0x24eb76=this[_0x225315(0x309)]['getCurrentUnitForType'](_0x273a5e[_0x225315(0x180)]);if(!_0x24eb76||!(_0x24eb76==null?void 0x0:_0x24eb76[_0x225315(0x190)](_0x2dc17d)))return;this[_0x225315(0x2a1)][_0x225315(0x295)]();const _0x3ba1eb=_0x552a2c=>this['_refRangeHandle'](_0x552a2c,_0x407337,_0x2dc17d),_0x5a5d41=this[_0x225315(0x329)]['getSubUnitPivotConfigs'](_0x407337,_0x2dc17d);if(!(_0x5a5d41!=null&&_0x5a5d41[_0x225315(0x2b7)]))return;Array[_0x225315(0x202)](_0x5a5d41[_0x225315(0x21d)]())[_0x225315(0x224)](_0x31b000=>{const _0x5d1c19=_0x225315,{row:_0x2f2d6f,col:_0x17ea77}=_0x31b000[_0x5d1c19(0x1ff)];return _0x42af7f(_0x2f2d6f,_0x17ea77);})['forEach'](_0x15280c=>{const _0x4a9742=_0x225315;this[_0x4a9742(0x2a1)][_0x4a9742(0x167)](this['_refRangeService'][_0x4a9742(0x2ee)](_0x15280c,_0x3ba1eb,_0x407337,_0x2dc17d));});},_0x197350=()=>{const _0xb2db44=_0x141d,_0x45f1f4=this[_0xb2db44(0x309)][_0xb2db44(0x18d)](_0x273a5e[_0xb2db44(0x180)]);if(_0x45f1f4){const _0x40e9c0=_0x45f1f4[_0xb2db44(0x118)]();if(!_0x40e9c0)return;_0x4c873b(_0x45f1f4[_0xb2db44(0x337)](),_0x40e9c0[_0xb2db44(0x18e)]());}};this[_0x58601b(0x103)](this[_0x58601b(0x13a)]['onCommandExecuted'](_0x1b5b82=>{const _0x50a015=_0x58601b;if(_0x1b5b82['id']===_0x167c02['id']){const _0x5661ac=_0x1b5b82['params'],_0x3232c2=_0x5661ac[_0x50a015(0x268)],_0x4dd10a=_0x5661ac[_0x50a015(0x1ba)];if(!_0x3232c2||!_0x4dd10a)return;_0x4c873b(_0x4dd10a,_0x3232c2);}})),this['disposeWithMe'](this[_0x58601b(0x329)][_0x58601b(0x311)][_0x58601b(0x1b6)](_0x23fc23=>{_0x23fc23&&_0x197350();})),this['disposeWithMe'](this[_0x58601b(0x329)][_0x58601b(0x1dc)][_0x58601b(0x1b6)](_0x393375=>{const _0xa5053d=_0x58601b,_0xa37057=_0x3a629a(this[_0xa5053d(0x309)]);if(!_0xa37057)return;const {unitId:_0x5e31da,subUnitId:_0x460fbb}=_0xa37057,{unitId:_0x3fa408,subUnitId:_0x5e2ff7}=_0x393375;_0x5e31da!==_0x3fa408||_0x460fbb!==_0x5e2ff7||_0x4c873b(_0x5e31da,_0x460fbb);})),_0x197350();}['_refRangeHandle'](_0x50ad5e,_0x494451,_0x4f15f4){const _0x2b4543=_0x3e64d8;switch(_0x50ad5e['id']){case _0x581a37['id']:return this['getRefRangeMutationsByMoveRange'](_0x50ad5e[_0x2b4543(0x1e6)],_0x494451,_0x4f15f4);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x27aecc,_0x4ec927,_0x4cdb74){const _0x4ceb78=_0x3e64d8,{fromRange:_0x4d6fa5,toRange:_0x2bf98c}=_0x27aecc,_0x488f12=[],_0x7b3523=[],_0x15239a=_0x3a629a(this['_univerInstanceService']);if(!_0x15239a)return{'undos':_0x7b3523,'redos':_0x488f12};if(_0x4ec927!==_0x15239a['unitId']||_0x4cdb74!==_0x15239a[_0x4ceb78(0x268)])return{'undos':_0x7b3523,'redos':_0x488f12};const _0x141365=this[_0x4ceb78(0x329)][_0x4ceb78(0x2ae)](_0x4ec927,_0x4cdb74);if(_0x141365!=null&&_0x141365[_0x4ceb78(0x2b7)])for(const [_0x3d6fa4,_0x4528d9]of _0x141365){const {unitId:_0x430aef,subUnitId:_0x530dbd,row:_0xe76f12,col:_0x324273}=_0x4528d9[_0x4ceb78(0x1ff)];if(_0x430aef===_0x15239a[_0x4ceb78(0x1ba)]&&_0x530dbd===_0x15239a['subUnitId']){const _0x3eaf62=_0x42af7f(_0xe76f12,_0x324273);if(_0x5e2546[_0x4ceb78(0x1f6)](_0x3eaf62,_0x4d6fa5)){const _0x13e290=_0xe76f12-_0x4d6fa5[_0x4ceb78(0x31a)],_0x5288fa=_0x324273-_0x4d6fa5['startColumn'],_0x20debf={'row':_0x2bf98c[_0x4ceb78(0x31a)]+_0x13e290,'col':_0x2bf98c[_0x4ceb78(0x178)]+_0x5288fa};_0x488f12[_0x4ceb78(0x2b6)]({'id':pt['id'],'params':{'unitId':_0x430aef,'subUnitId':_0x530dbd,'pivotTableId':_0x3d6fa4,'targetCellPosition':_0x20debf}}),_0x7b3523[_0x4ceb78(0x2b6)]({'id':pt['id'],'params':{'unitId':_0x430aef,'subUnitId':_0x530dbd,'pivotTableId':_0x3d6fa4,'targetCellPosition':{'row':_0xe76f12,'col':_0x324273}}});const _0x9191d8=_0x20debf[_0x4ceb78(0x2e7)]-_0xe76f12,_0x46f617=_0x20debf[_0x4ceb78(0x2c4)]-_0x324273,_0x3660c0=[],_0x188bb4=this['_sheetsPivotTableAdaptorModel'][_0x4ceb78(0x29c)](_0x430aef,_0x530dbd,_0x3d6fa4),_0x5d77c0=_0x188bb4==null?void 0x0:_0x188bb4['rangesInfo'];if(_0x5d77c0){Object[_0x4ceb78(0x19b)](_0x5d77c0)['forEach'](_0x3db931=>{_0x5d77c0[_0x3db931]['forEach'](_0x32cb8a=>{const _0x51c5fd=_0x141d,_0x4964f7={..._0x32cb8a};_0x4964f7[_0x51c5fd(0x31a)]=_0x32cb8a['startRow']+_0x9191d8,_0x4964f7['endRow']=_0x32cb8a[_0x51c5fd(0x129)]+_0x9191d8,_0x4964f7[_0x51c5fd(0x178)]=_0x32cb8a[_0x51c5fd(0x178)]+_0x46f617,_0x4964f7[_0x51c5fd(0x1fa)]=_0x32cb8a[_0x51c5fd(0x1fa)]+_0x46f617,_0x3660c0[_0x51c5fd(0x2b6)](_0x4964f7);});});const _0x188105=this['_sheetInterceptorService'][_0x4ceb78(0x19d)]({'unitId':_0x430aef,'subUnitId':_0x530dbd,'ranges':_0x3660c0});_0x488f12[_0x4ceb78(0x2b6)](..._0x188105[_0x4ceb78(0x288)]),_0x7b3523[_0x4ceb78(0x2b6)](..._0x188105[_0x4ceb78(0x1d3)]);const _0x187114=Go(this['_injector'],_0x430aef,_0x530dbd,_0x3660c0);_0x187114['shouldClear']&&(_0x488f12[_0x4ceb78(0x2b6)](_0x187114[_0x4ceb78(0x2c7)]),_0x7b3523['push'](_0x187114[_0x4ceb78(0x1e1)]));}}}}return{'redos':_0x488f12,'undos':_0x7b3523};}};ft=$s([Ae(0x0,_0x5e764c(_0x4a79fb)),Ae(0x1,_0x5e764c(_0x5463fa)),Ae(0x2,_0x56dc87),Ae(0x3,_0x4eff45),Ae(0x4,_0x5e764c(he)),Ae(0x5,_0x5e764c(Ne)),Ae(0x6,_0x5e764c(_0x595b5e))],ft);var Js=Object[_0x3e64d8(0x1f1)],Ws=(_0xbf6c02,_0x4a93e6,_0x69fef5,_0x2b577e)=>{const _0x110f63=_0x3e64d8;for(var _0x39906a=_0x2b577e>0x1?void 0x0:_0x2b577e?Js(_0x4a93e6,_0x69fef5):_0x4a93e6,_0x544f9e=_0xbf6c02[_0x110f63(0x169)]-0x1,_0x48666a;_0x544f9e>=0x0;_0x544f9e--)(_0x48666a=_0xbf6c02[_0x544f9e])&&(_0x39906a=_0x48666a(_0x39906a)||_0x39906a);return _0x39906a;},wo=(_0x2ce3b2,_0x58697b)=>(_0x5bba81,_0x38b82e)=>_0x58697b(_0x5bba81,_0x38b82e,_0x2ce3b2);let gt=class extends _0x41248b{constructor(_0x11e850,_0x325d78){const _0x590751=_0x3e64d8;super(),this[_0x590751(0x142)]=_0x11e850,this[_0x590751(0x329)]=_0x325d78,this[_0x590751(0xef)]();}[_0x3e64d8(0xef)](){const _0x49c7ed=_0x3e64d8;this[_0x49c7ed(0x103)](this['_sheetInterceptorService'][_0x49c7ed(0x1be)]({'getMutations':_0x5a44fe=>{const _0x241fdc=_0x49c7ed;if(_0x5a44fe['id']===_0x61ec53['id']){const _0xc2e861=[],_0x368a0d=[],_0x4976bc=_0x5a44fe[_0x241fdc(0x1e6)],{unitId:_0x259b7a,subUnitId:_0x558cf4}=_0x4976bc;if(!_0x259b7a||!_0x558cf4)return{'undos':_0x368a0d,'redos':_0xc2e861};const _0x2b057b=this[_0x241fdc(0x329)][_0x241fdc(0x2ae)](_0x259b7a,_0x558cf4);if(_0x2b057b!=null&&_0x2b057b[_0x241fdc(0x2b7)])for(const [_0x3e3822,_0x5853f2]of _0x2b057b){_0xc2e861[_0x241fdc(0x2b6)]({'id':Et['id'],'params':{'unitId':_0x259b7a,'subUnitId':_0x558cf4,'pivotTableId':_0x3e3822}});const _0x9c9030={...this[_0x241fdc(0x329)][_0x241fdc(0x1fc)](_0x259b7a,_0x3e3822)};_0x368a0d[_0x241fdc(0x2b6)]({'id':Ct['id'],'params':{'unitId':_0x259b7a,'subUnitId':_0x558cf4,'pivotTableId':_0x3e3822,'pivotTableConfig':_0x5853f2,'collectionConfig':_0x9c9030}});}return{'redos':_0xc2e861,'undos':_0x368a0d};}return{'redos':[],'undos':[]};}}));}};gt=Ws([wo(0x0,_0x5e764c(_0x595b5e)),wo(0x1,_0x5e764c(he))],gt);var js=Object[_0x3e64d8(0x1f1)],Gs=(_0x9c4b9d,_0x1ed5c7,_0x178b58,_0x20d840)=>{const _0x238832=_0x3e64d8;for(var _0x45f900=_0x20d840>0x1?void 0x0:_0x20d840?js(_0x1ed5c7,_0x178b58):_0x1ed5c7,_0x320ac0=_0x9c4b9d[_0x238832(0x169)]-0x1,_0x2ca70b;_0x320ac0>=0x0;_0x320ac0--)(_0x2ca70b=_0x9c4b9d[_0x320ac0])&&(_0x45f900=_0x2ca70b(_0x45f900)||_0x45f900);return _0x45f900;},je=(_0x4cd01e,_0x5c450b)=>(_0x276230,_0x5588e4)=>_0x5c450b(_0x276230,_0x5588e4,_0x4cd01e);let vt=class extends _0x41248b{constructor(_0x31108d,_0x5897e3,_0x9db0e5,_0x3496ff,_0x2ff3c8,_0x179fb7){const _0x386e9d=_0x3e64d8;super(),this[_0x386e9d(0x13a)]=_0x31108d,this[_0x386e9d(0x321)]=_0x5897e3,this[_0x386e9d(0x198)]=_0x9db0e5,this[_0x386e9d(0x329)]=_0x3496ff,this[_0x386e9d(0x309)]=_0x2ff3c8,this[_0x386e9d(0x296)]=_0x179fb7,this[_0x386e9d(0x23e)](),this[_0x386e9d(0x112)]();}['_initDataSendListener'](){const _0x1a7ffd=_0x3e64d8;this[_0x1a7ffd(0x103)](this[_0x1a7ffd(0x13a)]['onCommandExecuted'](_0x2cd47d=>{const _0x128bc9=_0x1a7ffd;if(_0x2cd47d['id']!==lo['id'])return;const _0x5ad930=_0x2cd47d[_0x128bc9(0x1e6)];this[_0x128bc9(0x321)]['handleAsyncResponse'](_0x5ad930);})),this[_0x1a7ffd(0x103)](this[_0x1a7ffd(0x13a)]['onCommandExecuted'](_0x1a5bfc=>{const _0x2ac570=_0x1a7ffd;if(_0x1a5bfc['id']===co['id']){const _0x33ee7b=_0x1a5bfc[_0x2ac570(0x1e6)];if(_0x33ee7b){const {unitId:_0x54e192,subUnitId:_0x194169,oldSubUnitId:_0x56d3d1,pivotTableId:_0x4f58fd,pivotTableConfig:_0x48ef8e,collectionConfig:_0x8665ee}=_0x33ee7b;this[_0x2ac570(0x329)][_0x2ac570(0x21a)](_0x54e192,_0x56d3d1,_0x33ee7b[_0x2ac570(0x152)],null),this[_0x2ac570(0x329)][_0x2ac570(0x21a)](_0x54e192,_0x194169,_0x4f58fd,_0x48ef8e),this[_0x2ac570(0x329)][_0x2ac570(0x133)](_0x54e192,_0x8665ee);}}})),this[_0x1a7ffd(0x103)](this[_0x1a7ffd(0x13a)][_0x1a7ffd(0x319)](_0x49f192=>{const _0x183db2=_0x1a7ffd;if(_0x49f192['id']!==Dt['id'])return;const _0x4f1760=_0x3a629a(this[_0x183db2(0x309)]);if(!_0x4f1760)return;const {unitId:_0x4e3199,subUnitId:_0x5464e1}=_0x4f1760,_0x215bb5=_0x49f192[_0x183db2(0x1e6)];if(_0x215bb5[_0x183db2(0xfb)]&&Object[_0x183db2(0x19b)](_0x215bb5['collectionConfig'])[_0x183db2(0x14a)](_0x14a158=>{const _0x5ecf47=_0x183db2;var _0x1bb902;(_0x1bb902=_0x215bb5[_0x5ecf47(0xfb)])!=null&&_0x1bb902[_0x14a158]&&this[_0x5ecf47(0x329)][_0x5ecf47(0x133)](_0x14a158,_0x215bb5[_0x5ecf47(0xfb)][_0x14a158]);}),_0x215bb5['single']){const _0x35aed8=_0x215bb5[_0x183db2(0x32f)],{unitId:_0xe72b58,subUnitId:_0x36a9e1,view:_0x51c4cb,pivotTableId:_0x1df494,type:_0x5705b5,pivotConfig:_0x30fa90}=_0x35aed8;if(_0x5705b5===H['Delete'])this[_0x183db2(0x198)]['clearRenderCache']({'unitId':_0xe72b58,'subUnitId':_0x36a9e1,'pivotTableId':_0x1df494,'type':_0x5705b5}),this[_0x183db2(0x329)][_0x183db2(0x21a)](_0xe72b58,_0x36a9e1,_0x1df494,null);else{const _0x1bad4b=new _0x7d4b1b();_0x1bad4b[_0x183db2(0x1b4)](_0x51c4cb),this[_0x183db2(0x329)]['updateConfigCache'](_0xe72b58,_0x36a9e1,_0x1df494,_0x30fa90),this[_0x183db2(0x198)][_0x183db2(0x2a0)]({'unitId':_0xe72b58,'subUnitId':_0x36a9e1,'pivotTableId':_0x1df494,'type':_0x5705b5,'view':_0x1bad4b}),this[_0x183db2(0x198)][_0x183db2(0x25c)]({'unitId':_0xe72b58,'subUnitId':_0x36a9e1,'view':_0x1bad4b,'pivotTableId':_0x1df494,'type':_0x5705b5});}}else _0x215bb5['batch']&&(_0x215bb5[_0x183db2(0x251)][_0x183db2(0x14a)](_0x2584fe=>{const _0x55aa83=_0x183db2,{unitId:_0x3ed39d,subUnitId:_0x490c3e,view:_0x4a33b5,pivotTableId:_0xd565b1,type:_0x36e4be,pivotConfig:_0x5bc270}=_0x2584fe,_0x11b75d=new _0x7d4b1b();_0x11b75d['formJSON'](_0x4a33b5),this['_sheetsPivotTableConfigModel'][_0x55aa83(0x21a)](_0x3ed39d,_0x490c3e,_0xd565b1,_0x5bc270),this[_0x55aa83(0x198)][_0x55aa83(0x25c)]({'unitId':_0x3ed39d,'subUnitId':_0x490c3e,'view':_0x11b75d,'pivotTableId':_0xd565b1,'type':_0x36e4be});}),this[_0x183db2(0x329)][_0x183db2(0x300)]());this[_0x183db2(0x198)][_0x183db2(0x185)](_0x4e3199,_0x5464e1);}));}[_0x3e64d8(0x112)](){const _0x547d67=_0x3e64d8;this[_0x547d67(0x296)][_0x547d67(0x244)](Vt['id'],{'commandId':Vt['id'],'getDirtyData'(_0x1fcaf7){const _0xd5938c=_0x547d67;return{'dirtyUnitFeatureMap':_0x1fcaf7[_0xd5938c(0x1e6)]};}});}};vt=Gs([je(0x0,_0x5e764c(_0x56dc87)),je(0x1,_0x5e764c(Z)),je(0x2,_0x5e764c(Ne)),je(0x3,_0x5e764c(he)),je(0x4,_0x5e764c(_0x4eff45)),je(0x5,_0x43401c)],vt);var Ks=Object[_0x3e64d8(0x2f6)],qs=Object[_0x3e64d8(0x1f1)],Ys=(_0x1abf57,_0x2b1011,_0x1366e7)=>_0x2b1011 in _0x1abf57?Ks(_0x1abf57,_0x2b1011,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1366e7}):_0x1abf57[_0x2b1011]=_0x1366e7,zs=(_0x8608bb,_0x4880c4,_0x1a6c06,_0x38a68f)=>{const _0x9e98f7=_0x3e64d8;for(var _0x4c65f5=_0x38a68f>0x1?void 0x0:_0x38a68f?qs(_0x4880c4,_0x1a6c06):_0x4880c4,_0x56d2bc=_0x8608bb[_0x9e98f7(0x169)]-0x1,_0x552549;_0x56d2bc>=0x0;_0x56d2bc--)(_0x552549=_0x8608bb[_0x56d2bc])&&(_0x4c65f5=_0x552549(_0x4c65f5)||_0x4c65f5);return _0x4c65f5;},Ft=(_0x3e0f50,_0x2d4017)=>(_0x1089cc,_0x2208c7)=>_0x2d4017(_0x1089cc,_0x2208c7,_0x3e0f50),Qo=(_0x20b29a,_0x5f4d30,_0x1cd518)=>Ys(_0x20b29a,typeof _0x5f4d30!=_0x3e64d8(0xf3)?_0x5f4d30+'':_0x5f4d30,_0x1cd518);let Ot=class extends _0x39cb72{constructor(_0x1456b4=To,_0x485523,_0x157f85,_0x21e41a,_0x39ddf5){const _0x53d177=_0x3e64d8;super(),this[_0x53d177(0x1bc)]=_0x1456b4,this[_0x53d177(0x146)]=_0x485523,this[_0x53d177(0x13a)]=_0x157f85,this[_0x53d177(0x26e)]=_0x21e41a,this[_0x53d177(0x1f4)]=_0x39ddf5;const {..._0x1177cd}=_0x45a86b({},To,this['_config']);this[_0x53d177(0x26e)][_0x53d177(0x25b)](qo,_0x1177cd),this[_0x53d177(0x330)](),this[_0x53d177(0x23a)]();}[_0x3e64d8(0x23a)](){const _0x36f504=_0x3e64d8;var _0x48aed2;const _0x2b4194=(_0x48aed2=this['_config'])==null?void 0x0:_0x48aed2['notExecuteFormula'];this['_configService'][_0x36f504(0x25b)](q,_0x2b4194===!0x0);}[_0x3e64d8(0x135)](){const _0x5adb84=_0x3e64d8;var _0x1cb49a;let _0x47a186=[];const _0x2bf657=(_0x1cb49a=this['_config'])==null?void 0x0:_0x1cb49a[_0x5adb84(0x216)];_0x2bf657===!0x0?_0x47a186=[[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]:_0x2bf657===!0x1?_0x47a186=[[$],[ct]]:_0x2bf657===void 0x0&&(_0x47a186=[[$],[ct],[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]),_0x47a186[_0x5adb84(0x14a)](_0x5ee610=>this[_0x5adb84(0x146)][_0x5adb84(0x167)](_0x5ee610)),[ct,vt,ie,dt,gt,ft,ut][_0x5adb84(0x14a)](_0x465795=>{const _0x5dd146=_0x5adb84;this[_0x5dd146(0x146)]['has'](_0x465795)&&this[_0x5dd146(0x146)]['get'](_0x465795);});}[_0x3e64d8(0x330)](){[hs,ps,vs,Is,Cs,ys,Ds,bs,Ss,Ps,Ms,Ts,ws,ms,Ct,oo,Et,$t,Yo,zo,Kt,Jt,Wt,jt,Yt,qt,pt,ro,lo,Dt,Xt,eo,zt,Gt,uo,to,Zt,Vt,co,_s,Qt,Fs,Rs]['forEach'](_0x92157d=>{const _0x94b344=_0x141d;var _0x4a46c9;(_0x4a46c9=this['_dataSyncPrimaryController'])==null||_0x4a46c9[_0x94b344(0x220)](_0x92157d),this['_commandService']['registerCommand'](_0x92157d);});}};Qo(Ot,'pluginName',ao),Qo(Ot,_0x3e64d8(0x1da),_0x273a5e['UNIVER_SHEET']),Ot=zs([_0xa5a44(_0x214898),Ft(0x1,_0x5e764c(_0x4a79fb)),Ft(0x2,_0x5e764c(_0x56dc87)),Ft(0x3,_0x1b9dd7),Ft(0x4,_0x3c8be7(_0x11af54))],Ot);export{vs as AddPivotFieldCommand,$t as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,hs as AddPivotTableWithConfigCommand,mt as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,Is as MovePivotFieldCommand,ws as MovePivotTableCommand,k as PivotDisplayDataType,ms as PivotDrillDownCommand,H as PivotTableOperationEnum,Vt as PivotTableViewDirtyMarkOperation,ko as PositionType,Cs as RemovePivotFieldCommand,Jt as RemovePivotFieldMutation,Et 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,Ps as SetPivotFilterCommand,Kt as SetPivotFilterMutation,qt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ss as SetPivotSortCommand,Yt as SetPivotSortMutation,zt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,$ as SheetsPivotDataSourceModel,Z as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,he as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Ot as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Ms as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,Ts as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,ys as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,Ie as applyChangeSet,jo as canUsePivot,fe as defaultThemeStyle,Go as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Ai as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Ui as getPivotCellInfo,go as getPivotInfoByLicense,Ei as getPivotTableInfo,ht as transFromCellValue,Ht as unionPivotViewRange};
|
|
1
|
+
const _0x381a5c=_0x1367;(function(_0x8e5b20,_0x1d9e46){const _0x7a7ef8=_0x1367,_0x3d4e67=_0x8e5b20();while(!![]){try{const _0x577847=parseInt(_0x7a7ef8(0x197))/0x1+parseInt(_0x7a7ef8(0x2db))/0x2+parseInt(_0x7a7ef8(0x37f))/0x3*(parseInt(_0x7a7ef8(0x17a))/0x4)+-parseInt(_0x7a7ef8(0x28c))/0x5*(parseInt(_0x7a7ef8(0x1fa))/0x6)+parseInt(_0x7a7ef8(0x3b2))/0x7+parseInt(_0x7a7ef8(0x348))/0x8+parseInt(_0x7a7ef8(0x34d))/0x9*(-parseInt(_0x7a7ef8(0x30f))/0xa);if(_0x577847===_0x1d9e46)break;else _0x3d4e67['push'](_0x3d4e67['shift']());}catch(_0x2fb0f9){_0x3d4e67['push'](_0x3d4e67['shift']());}}}(_0x595b,0xb7303));var an=Object[_0x381a5c(0x2b9)],rn=(_0xe47e08,_0x1aa71c,_0x6465fb)=>_0x1aa71c in _0xe47e08?an(_0xe47e08,_0x1aa71c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x6465fb}):_0xe47e08[_0x1aa71c]=_0x6465fb,N=(_0x1baf66,_0x47b54a,_0x4d04fa)=>rn(_0x1baf66,typeof _0x47b54a!=_0x381a5c(0x394)?_0x47b54a+'':_0x47b54a,_0x4d04fa);import{PivotCellStyleTypeEnum as _0x360784,PivotViewCellValueTypeEnum as _0x2c3012,isPrefixValue as _0x59db47,isErrorValue as _0x125d0a,PivotErrorTypeEnum as _0x54ee1c,PivotDateGroupFieldDateTypeEnum as _0x5f51fd,DataFieldManager as _0x1e840f,FieldsCollection as _0x1f2256,isDateValue as _0x25f6bf,DataField as _0x4b79e7,generateHexNumber as _0x27f790,isBaseGroupField as _0x38c467,PivotTable as _0x54993e,PivotSubtotalTypeEnum as _0x363f11,PivotTableFiledAreaEnum as _0x1a0bb8,excelDateToUnixMilliseconds as _0x41cad6,PivotDataFieldTypeEnum as _0x380298,DateGroupField as _0x32f501,createValueField as _0x24e313,createLabelField as _0x184b93,PivotTableChangeTypeEnum as _0x2944b2,PivotView as _0x510616,isDateGroupFieldJSON as _0xa8bf55,PivotCallbackEnum as _0x2b5401,PivotFilterTypeEnum as _0x19ef2d,getAutoDisplayName as _0x64e447,PivotDataFieldDataTypeEnum as _0x1702fa,PivotTableValuePositionEnum as _0x24b19f,isDateGroupField as _0x4a2711}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x36b650,ObjectMatrix as _0x399667,IUniverInstanceService as _0x121e43,UniverInstanceType as _0x3fc262,CellValueType as _0x47d7d7,numfmt as _0x1138d1,LocaleService as _0x2d274a,createAsyncInterceptorKey as _0xb0b8a,createInterceptorKey as _0x36e47d,CommandType as _0x1f600d,Inject as _0x4b1a54,ICommandService as _0x34de0e,Disposable as _0x131022,RANGE_TYPE as _0x2817a2,numberToABC as _0x15c899,Injector as _0x5bf0f9,LifecycleService as _0x2f76fd,IResourceManagerService as _0x20df2a,Rectangle as _0x293797,IConfigService as _0x1095fa,Tools as _0xb5c948,AsyncInterceptorManager as _0x2cd23f,InterceptorManager as _0x25dba6,InterceptorEffectEnum as _0x26b97a,IUndoRedoService as _0x50549a,sequenceExecute as _0x46d846,CustomCommandExecutionError as _0x589a0b,mergeWorksheetSnapshotWithDefault as _0x3f854c,generateRandomId as _0x5ad8e1,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x2a747f,DEFAULT_WORKSHEET_ROW_COUNT as _0x5deb97,DisposableCollection as _0x2ed757,Range as _0x39b476,DependentOn as _0x2b3407,Optional as _0x375047,Plugin as _0x40a88e,merge as _0x1ac5c3}from'@univerjs/core';import{ErrorType as _0x508631,serializeRangeWithSpreadsheet as _0x36da4a,IFeatureCalculationManagerService as _0xfb59db,GlobalComputingStatusService as _0xcee84f,IActiveDirtyManagerService as _0x41cad9}from'@univerjs/engine-formula';import{generateNullCell as _0x211e73,SetRangeValuesUndoMutationFactory as _0x36dad3,SetRangeValuesMutation as _0x12dc3c,getSheetCommandTarget as _0x19f1df,InsertRowMutation as _0x624abc,RemoveRowMutation as _0x1b5bb8,InsertColMutation as _0x17984a,RemoveColMutation as _0x3a8753,IExclusiveRangeService as _0x47af93,SheetInterceptorService as _0x15b37e,INTERCEPTOR_POINT as _0x1f81ba,InsertSheetCommand as _0x298d22,InsertSheetUndoMutationFactory as _0x544f78,RemoveSheetMutation as _0x331e55,InsertSheetMutation as _0x4f8c8e,MoveRangeMutation as _0x3dc94c,SheetsSelectionsService as _0x555c93,ClearSelectionContentCommand as _0x95cac8,ClearSelectionAllCommand as _0x27fdda,SetWorksheetColWidthMutation as _0x66ccb0,RefRangeService as _0x568ae5,SetWorksheetActiveOperation as _0x52ecf9,MoveRangeCommand as _0x29af4e,RemoveSheetCommand as _0x55700a}from'@univerjs/sheets';import{Subject as _0x56386d,BehaviorSubject as _0x4e3084}from'rxjs';import{LS_CONFIG_KEY as _0x3311a5,unshiftString as _0xe5aa76,isFeatureAuthorizedWithinTime as _0x5d105c,getSheetFeatureLimit as _0x255964,ReleaseType as _0x73259b,UniverLicensePlugin as _0x392825}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x45de1a,RemoveSheetsFilterMutation as _0x1367de}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x5a68e2}from'@univerjs/rpc';import{getFontStyleString as _0x5e77d4,FontCache as _0x2495b6}from'@univerjs/engine-render';const ko=Number['parseInt'](0x689498af),ri=0x10,so=0x1,ao='SHEET_PIVOT_TABLE_PLUGIN',It=0x1,li=_0x381a5c(0x18f),ci=_0x381a5c(0x231),wt=_0x381a5c(0x1f5),di=_0x381a5c(0x2e5),ui=_0x381a5c(0x2e5),fi=_0x381a5c(0x36a),gi=_0x381a5c(0x1e9),hi=_0x381a5c(0x21f),vi=_0x381a5c(0x32e),pi=_0x381a5c(0x1e9),mi=_0x381a5c(0x21f),Ii=_0x381a5c(0x16e),Ci=0xe,bi=0x6;var Bo=(_0x84aede=>(_0x84aede[_0x381a5c(0x2df)]=_0x381a5c(0x38c),_0x84aede[_0x381a5c(0x176)]=_0x381a5c(0x1a1),_0x84aede))(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':''}}},Si=0x1e,We={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':li},'ht':0x2,'vt':0x2,'tb':0x1},R={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ii},'bd':We,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':pi},'bd':null,'cl':{'rgb':mi},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':We,'bg':{'rgb':vi},'vt':0x2},'cornerStyle':{'bd':We,'bg':{'rgb':fi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':We,'bg':{'rgb':di},'vt':0x2},'leafStyle':{'bd':We,'bg':{'rgb':ui},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':gi},'cl':{'rgb':hi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':We,'vt':0x2}};function Pi(_0x2b058f,_0x4b0754,_0x2ba643){const _0x55e1cd=_0x381a5c,_0x4c209e=_0x2b058f[_0x55e1cd(0x1b0)](_0x2d274a),_0x2b1a67=_0x2ba643[_0x55e1cd(0x26f)]('_');switch(_0x4b0754){case _0x5f51fd[_0x55e1cd(0x1b7)]:return _0x4c209e['t'](_0x55e1cd(0x259),..._0x2b1a67);case _0x5f51fd['Minute']:return _0x4c209e['t'](_0x55e1cd(0x36d),..._0x2b1a67);case _0x5f51fd['Hour']:return _0x4c209e['t'](_0x55e1cd(0x31d),..._0x2b1a67);case _0x5f51fd[_0x55e1cd(0x2bf)]:return _0x4c209e['t'](_0x55e1cd(0x2a6),..._0x2b1a67);case _0x5f51fd['Date']:return _0x4c209e['t'](_0x55e1cd(0x2b8),..._0x2b1a67);case _0x5f51fd['Month']:return _0x4c209e['t'](_0x55e1cd(0x389),..._0x2b1a67);case _0x5f51fd['Quarter']:return _0x4c209e['t'](_0x55e1cd(0x27d),..._0x2b1a67);case _0x5f51fd[_0x55e1cd(0x326)]:return _0x4c209e['t'](_0x55e1cd(0x39e),..._0x2b1a67);case _0x5f51fd[_0x55e1cd(0x18c)]:return _0x4c209e['t'](_0x55e1cd(0x191),..._0x2b1a67);case _0x5f51fd[_0x55e1cd(0x250)]:return _0x4c209e['t'](_0x55e1cd(0x36c),..._0x2b1a67);}return'';}const tt=(_0x1acb56,_0x5900d1,_0x2cdc32,_0x14ba2d)=>{const _0x7f5942=_0x381a5c;let _0x104285;const _0x972064=_0x1acb56[_0x7f5942(0x1b0)](_0x121e43)[_0x7f5942(0x22a)](_0x3fc262[_0x7f5942(0x33d)]);if(!_0x972064)return null;const _0x3bdf8b=_0x972064[_0x7f5942(0x1cd)]();let _0x4b5954;if(_0x2cdc32&&(_0x4b5954=_0x3bdf8b[_0x7f5942(0x18e)](_0x2cdc32)),_0x5900d1!=null&&_0x5900d1['v']||(_0x5900d1==null?void 0x0:_0x5900d1['v'])===0x0){_0x104285||(_0x104285={});const _0x574e1d=Jo(_0x5900d1['v']);typeof _0x574e1d==_0x7f5942(0x17f)?_0x104285['t']=_0x47d7d7[_0x7f5942(0x3b4)]:typeof _0x574e1d==_0x7f5942(0x2f3)&&(_0x104285['t']=_0x47d7d7['STRING']),_0x104285['v']=_0x574e1d;}if((_0x5900d1!=null&&_0x5900d1['i']||(_0x5900d1==null?void 0x0:_0x5900d1['i'])===0x0)&&(_0x104285||(_0x104285={}),_0x104285['fi']=_0x5900d1['i']),_0x5900d1!=null&&_0x5900d1['s']&&(_0x104285||(_0x104285={}),_0x104285[_0x7f5942(0x38d)]=_0x5900d1['s']),_0x2cdc32&&(_0x104285||(_0x104285={}),_0x104285['s']=_0x4b5954),_0x14ba2d&&_0x104285!=null&&_0x104285['v']&&_0x104285[_0x7f5942(0x38d)]!==_0x360784['GrandTotal']&&_0x104285[_0x7f5942(0x38d)]!==_0x360784[_0x7f5942(0x261)]){const _0x3c86e8=String(_0x104285['v']),{dateType:_0x35375e}=_0x14ba2d;_0x104285['v']=Pi(_0x1acb56,_0x35375e,_0x3c86e8),_0x104285['t']=_0x47d7d7[_0x7f5942(0x21c)];}return _0x104285;},Ti=(_0x5455de,_0x2b860f,_0x1ea577,_0x2639e0)=>{const _0x15243f=_0x381a5c;var _0x3a65a3,_0xa51e1a,_0x5b6a1b,_0x1a5f67,_0x4f017a,_0x546342,_0xa3d40c,_0x36bd86,_0x53c32f,_0x289186,_0x4ef0e8,_0x17bec1,_0x297389,_0xe33a17;const _0x4c299e=_0x1ea577[_0x15243f(0x254)],{cornerView:_0x31e919,rowView:_0x24720e,colView:_0x3c2433,dataView:_0x27db99,pageView:_0x21d074,formatMap:_0x457462,groupInfo:_0x5cb36c}=_0x2b860f,{row:_0x5e79da,col:_0x1ae5b5}=_0x4c299e,_0x5cf03a=new _0x399667(),_0xbb4c57={},_0x29d7fd={},_0x24176f={},_0x3d14b7={},_0x561160={};let _0x5c05cc=_0x5e79da,_0x122771=_0x1ae5b5;Object['keys'](_0x21d074[_0x15243f(0x2dd)])['forEach'](_0x4ea0af=>{const _0x5d33fc=_0x15243f;Object[_0x5d33fc(0x374)](_0x21d074['data'][Number(_0x4ea0af)])['forEach'](_0x4f5080=>{const _0x2100d1=_0x5d33fc,_0xf884f0={..._0x21d074[_0x2100d1(0x2dd)][Number(_0x4ea0af)][Number(_0x4f5080)]};_0x5cf03a[_0x2100d1(0x18e)](Number(_0x4ea0af)+_0x5c05cc,Number(_0x4f5080)+_0x122771,tt(_0x5455de,_0xf884f0,fe[_0x2100d1(0x273)]));});});const _0x2a845e=Object[_0x15243f(0x374)](_0x21d074[_0x15243f(0x2dd)])['length'];_0x5c05cc+=_0x2a845e+(_0x2a845e?It:0x0);const _0x54db3d=_0x31e919['getRowCount'](),_0x24229b=_0x31e919['getColCount']();for(let _0x14dbf9=0x0;_0x14dbf9<_0x54db3d;_0x14dbf9++)for(let _0x502152=0x0;_0x502152<_0x24229b;_0x502152++){const _0x2784b4={...(_0xa51e1a=(_0x3a65a3=_0x31e919[_0x15243f(0x2dd)])==null?void 0x0:_0x3a65a3[_0x14dbf9])==null?void 0x0:_0xa51e1a[_0x502152]};_0x2784b4&&((_0x5b6a1b=_0x24720e[_0x15243f(0x3cb)][_0x502152])!=null&&_0x5b6a1b['isValue'])&&_0x502152===_0x24229b-0x1&&_0x14dbf9===_0x54db3d-0x1&&(_0x2784b4['v']=''+_0x2639e0[_0x15243f(0x154)]),_0x5cf03a[_0x15243f(0x18e)](_0x14dbf9+_0x5c05cc,_0x502152+_0x122771,tt(_0x5455de,_0x2784b4,fe[_0x15243f(0x3cf)]));}for(let _0x39d165=0x0;_0x39d165<_0x31e919[_0x15243f(0x1c9)][_0x15243f(0x173)];_0x39d165++)_0x31e919['info'][_0x39d165]&&(_0x24176f[''+(_0x39d165+_0x122771)]=_0x31e919[_0x15243f(0x1c9)][_0x39d165]);_0x122771+=_0x24229b;const _0x9d3cda=_0x3c2433[_0x15243f(0x3cb)],_0x111c4f=_0x3c2433['getLastRow']()>=0x0?_0x3c2433['getLastRow']()+0x1:0x0,_0x23ce8b=_0x3c2433[_0x15243f(0x2b6)]()>=0x0?_0x3c2433[_0x15243f(0x2b6)]()+0x1:0x0;for(let _0xd6d62a=0x0;_0xd6d62a<_0x23ce8b;_0xd6d62a++){for(let _0x3476c8=0x0;_0x3476c8<_0x111c4f;_0x3476c8++){const _0x309754={...(_0x4f017a=(_0x1a5f67=_0x3c2433['data'])==null?void 0x0:_0x1a5f67[_0x3476c8])==null?void 0x0:_0x4f017a[_0xd6d62a]},_0x594279=(_0x546342=_0x9d3cda[_0x3476c8])==null?void 0x0:_0x546342['tableFieldId'],_0x4eb062=_0x457462[_0x594279],_0x4cafd5=_0x5cb36c[_0x594279];_0x309754&&(_0x309754['v']=vt(_0x309754,_0x3476c8===0x0&&((_0xa3d40c=_0x3c2433[_0x15243f(0x1fb)](_0xd6d62a+0x1))==null?void 0x0:_0xa3d40c['isValue']),_0x4eb062,_0x2639e0));let _0x595b27;_0x4eb062?_0x595b27={...fe['colStyle'],'n':{'pattern':_0x4eb062}}:_0x595b27={...fe[_0x15243f(0x330)]},_0x5cf03a['setValue'](_0x3476c8+_0x5c05cc,_0xd6d62a+_0x122771,tt(_0x5455de,_0x309754,_0x595b27,_0x4cafd5));}_0x3c2433['info'][_0xd6d62a]&&(_0x29d7fd[''+(_0xd6d62a+_0x122771)]=_0x3c2433['info'][_0xd6d62a]),_0x3c2433[_0x15243f(0x3cb)][_0xd6d62a+0x1]&&(_0x561160[''+(_0xd6d62a+_0x5c05cc+0x1)]=_0x3c2433['headerMap'][_0xd6d62a+0x1]);}_0x5c05cc+=_0x54db3d;const _0x362aa8=_0x24720e['headerMap'],_0x1d7159=_0x24720e[_0x15243f(0x163)]()>=0x0?_0x24720e[_0x15243f(0x163)]()+0x1:0x0,_0x484090=_0x24720e[_0x15243f(0x2b6)]()>=0x0?_0x24720e[_0x15243f(0x2b6)]()+0x1:0x0;for(let _0x463fb9=0x0;_0x463fb9<_0x1d7159;_0x463fb9++){for(let _0x3d5127=0x0;_0x3d5127<_0x484090;_0x3d5127++){const _0x46270a={...(_0x53c32f=(_0x36bd86=_0x24720e[_0x15243f(0x2dd)])==null?void 0x0:_0x36bd86[_0x463fb9])==null?void 0x0:_0x53c32f[_0x3d5127]},_0x521aac=(_0x289186=_0x362aa8[_0x3d5127])==null?void 0x0:_0x289186[_0x15243f(0x209)],_0xd1ba36=_0x457462[_0x521aac],_0x13da26=_0x5cb36c[_0x521aac];_0x46270a&&(_0x46270a['v']=vt(_0x46270a,!0x1,_0xd1ba36,_0x2639e0));let _0x31b085;_0x24720e[_0x15243f(0x1c9)][_0x463fb9][_0x15243f(0x230)]===_0x24720e['getColCount']()?_0x31b085=fe[_0x15243f(0x207)]:_0x24720e[_0x15243f(0x1c9)][_0x463fb9][_0x15243f(0x23e)]?_0x31b085=_0x24720e['info'][_0x463fb9]['level']===0x0?fe[_0x15243f(0x217)]:fe['subTotalStyle']:_0x31b085=fe['rowStyle'],_0xd1ba36&&(_0x31b085={..._0x31b085,'n':{'pattern':_0xd1ba36}}),_0x5cf03a['setValue'](_0x463fb9+_0x5c05cc,_0x3d5127+_0x1ae5b5,tt(_0x5455de,_0x46270a,_0x31b085,_0x13da26));}_0x24720e[_0x15243f(0x1c9)][_0x463fb9]&&(_0xbb4c57[''+(_0x463fb9+_0x5c05cc)]=_0x24720e['info'][_0x463fb9]),_0x24720e[_0x15243f(0x3cb)][_0x463fb9]&&(_0x3d14b7[''+(_0x463fb9+_0x1ae5b5)]=_0x24720e[_0x15243f(0x3cb)][_0x463fb9]);}const _0x409eed=_0x27db99[_0x15243f(0x358)](),_0x5bb749=_0x27db99[_0x15243f(0x2d0)]();for(let _0x2ba8ef=0x0;_0x2ba8ef<_0x409eed;_0x2ba8ef++)for(let _0x19bf1c=0x0;_0x19bf1c<_0x5bb749;_0x19bf1c++){const _0x78a7bc={...(_0x17bec1=(_0x4ef0e8=_0x27db99[_0x15243f(0x2dd)])==null?void 0x0:_0x4ef0e8[_0x2ba8ef])==null?void 0x0:_0x17bec1[_0x19bf1c]};let _0x28bd34;_0x24720e[_0x15243f(0x1c9)][_0x2ba8ef]['isBottomTotal']?_0x28bd34=_0x24720e[_0x15243f(0x1c9)][_0x2ba8ef][_0x15243f(0x230)]===0x0?fe[_0x15243f(0x217)]:fe[_0x15243f(0x306)]:_0x28bd34=fe[_0x15243f(0x1f7)];const _0x134a07=_0x24720e[_0x15243f(0x1c9)][_0x2ba8ef]['valueIndex'],_0xa3acb8=_0x3c2433[_0x15243f(0x1c9)][_0x19bf1c][_0x15243f(0x210)],_0x314bc1=Math[_0x15243f(0x346)](_0x134a07,_0xa3acb8),_0x56cc28=_0x1ea577['fieldsConfig'][_0x15243f(0x2fa)]['concat']();let _0xc0f7e5='';_0x314bc1<0x0?_0xc0f7e5=(_0x297389=_0x56cc28[0x0])!=null?_0x297389:'':_0xc0f7e5=(_0xe33a17=_0x56cc28[_0x314bc1])!=null?_0xe33a17:'';const _0x23f196=_0x457462[_0xc0f7e5];_0x23f196&&(_0x28bd34={..._0x28bd34,'n':{'pattern':_0x23f196}}),_0x5cf03a['setValue'](_0x2ba8ef+_0x5c05cc,_0x19bf1c+_0x122771,tt(_0x5455de,_0x78a7bc,_0x28bd34));}return{'valueMatrix':_0x5cf03a,'rowInfo':_0xbb4c57,'colInfo':_0x29d7fd,'cornerInfo':_0x24176f,'rowHeaderMap':_0x3d14b7,'colHeaderMap':_0x561160};};function vt(_0x46f672,_0x40bb27,_0x22e15f,_0x24b2e3){const _0x4dce4e=_0x381a5c;let _0x53eb18=_0x46f672['v'];_0x40bb27&&(_0x53eb18=''+_0x24b2e3[_0x4dce4e(0x154)]);const _0x398b3f=_0x46f672['t']&&(_0x46f672['t']&_0x2c3012['blank'])>0x0;if(_0x398b3f&&(_0x53eb18=''+_0x24b2e3['sheets-pivot.blank']),_0x46f672['s']===_0x360784[_0x4dce4e(0x261)]){let _0x320b1b=_0x53eb18,_0x3876ae='';_0x59db47(_0x53eb18)&&(_0x320b1b=_0x53eb18[_0x4dce4e(0x1ad)],_0x3876ae=_0x53eb18[_0x4dce4e(0x199)]);const _0x5447ac=_0x22e15f&&!_0x398b3f?_0x1138d1[_0x4dce4e(0x3a2)](_0x22e15f,Number(_0x320b1b)):_0x320b1b;_0x3876ae?_0x53eb18=_0x5447ac+'\x20'+_0x3876ae:_0x53eb18=_0x5447ac+'\x20'+_0x24b2e3['sheets-pivot.subTotal'];}else _0x46f672['s']===_0x360784[_0x4dce4e(0x1e2)]&&(_0x53eb18=_0x53eb18+'\x20'+_0x24b2e3[_0x4dce4e(0x23d)]);return _0x53eb18;}function Jo(_0x3f4e16){const _0x401a92=_0x381a5c;if(_0x125d0a(_0x3f4e16)){const {errorType:_0x1aa8e4}=_0x3f4e16;switch(_0x1aa8e4){case _0x54ee1c[_0x401a92(0x339)]:return _0x508631[_0x401a92(0x3cc)];case _0x54ee1c[_0x401a92(0x377)]:return _0x508631['NUM'];case _0x54ee1c[_0x401a92(0x34a)]:return _0x508631['NAME'];case _0x54ee1c[_0x401a92(0x272)]:return _0x508631[_0x401a92(0x370)];case _0x54ee1c[_0x401a92(0x371)]:return _0x508631[_0x401a92(0x208)];}}return _0x3f4e16;}function ge(_0x36ef06,_0xada6cc,_0x12b239=!0x1,_0x3eae60=!0x1){const _0x3439e7=_0x381a5c,{data:_0x2d6bb4}=_0xada6cc,_0x3738e6=_0xada6cc[_0x3439e7(0x358)](),_0x22a9e4=_0xada6cc['getColCount']();if(_0x3738e6<=0x0||_0x22a9e4<=0x0)return[];const _0x1ce471=_0xada6cc[_0x3439e7(0x2b6)](),_0x4c42ab=_0xada6cc[_0x3439e7(0x163)](),_0x3d0a27=_0x3eae60?_0x4c42ab>=0x0?_0x4c42ab+0x1:0x0:_0x3738e6,_0x4c671b=_0x3eae60?_0x1ce471>=0x0?_0x1ce471+0x1:0x0:_0x22a9e4,{row:_0x5516a0,col:_0x16e677}=_0x36ef06,_0xc6e031=_0x5516a0,_0x58827a=_0x16e677;if(_0x12b239){const _0x3bc6f7=[];for(const [_0x535776,_0x553f2b]of Object['entries'](_0x2d6bb4))for(const [_0x5b4ed5,_0x47d6d4]of Object['entries'](_0x553f2b))_0x3bc6f7[_0x3439e7(0x3a1)](_0x36b650(_0xc6e031+Number(_0x535776),_0x58827a+Number(_0x5b4ed5)));return _0x3bc6f7;}else{const _0x1d7aba=_0x3eae60?_0x3d0a27>0x0?0x1:0x0:0x1,_0x4495fd=_0x3eae60?_0x4c671b>0x0?0x1:0x0:0x1,_0x5c4ac0=_0x5516a0+_0x3d0a27-_0x1d7aba,_0x3b6f07=_0x16e677+_0x4c671b-_0x4495fd;return[{'startRow':_0xc6e031,'startColumn':_0x58827a,'endRow':_0x5c4ac0,'endColumn':_0x3b6f07}];}}const H='SHEET_PIVOT_IN_MAIN_THREAD',Bt=_0x381a5c(0x253);var k=(_0x49e559=>(_0x49e559[_0x381a5c(0x1be)]=_0x381a5c(0x174),_0x49e559[_0x381a5c(0x26c)]=_0x381a5c(0x275),_0x49e559[_0x381a5c(0x2a7)]='addPivotField',_0x49e559[_0x381a5c(0x1cf)]=_0x381a5c(0x1cf),_0x49e559[_0x381a5c(0x32d)]=_0x381a5c(0x23b),_0x49e559[_0x381a5c(0x290)]='movePivotField',_0x49e559[_0x381a5c(0x321)]=_0x381a5c(0x1bb),_0x49e559[_0x381a5c(0x235)]=_0x381a5c(0x3bb),_0x49e559[_0x381a5c(0x1a7)]=_0x381a5c(0x2f7),_0x49e559[_0x381a5c(0x17d)]=_0x381a5c(0x30a),_0x49e559['SetPivotSetting']='setPivotSetting',_0x49e559[_0x381a5c(0x2ab)]='updatePivotSource',_0x49e559[_0x381a5c(0x251)]='updateValuePosition',_0x49e559['DrillDown']='drillDown',_0x49e559['SetValuePivotFilter']=_0x381a5c(0x1c5),_0x49e559[_0x381a5c(0x3d3)]='setPivotTableConfig',_0x49e559[_0x381a5c(0x15f)]=_0x381a5c(0x362),_0x49e559))(k||{});const yi={'sheets-pivot.blankValue':_0x381a5c(0x1d6),'sheets-pivot.columnName':_0x381a5c(0x16c),'sheets-pivot.subTotalText':_0x381a5c(0x3a6),'sheets-pivot.grandTotalText':_0x381a5c(0x39d),'sheets-pivot.valueText':_0x381a5c(0x2ac),'sheets-pivot.averageName':_0x381a5c(0x3a9),'sheets-pivot.countName':_0x381a5c(0x32c),'sheets-pivot.countNumsName':_0x381a5c(0x32c),'sheets-pivot.maxName':_0x381a5c(0x219),'sheets-pivot.minName':_0x381a5c(0x25a),'sheets-pivot.productName':_0x381a5c(0x1df),'sheets-pivot.stdDevName':_0x381a5c(0x239),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x381a5c(0x2ae),'sheets-pivot.varName':_0x381a5c(0x3bf),'sheets-pivot.varpName':_0x381a5c(0x1d0),'sheets-pivot.subTotal':_0x381a5c(0x261),'sheets-pivot.grandTotal':_0x381a5c(0x39d),'sheets-pivot.value':_0x381a5c(0x199),'sheets-pivot.blank':_0x381a5c(0x363),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x381a5c(0x294),'sheets-pivot.emptyPivot.values':_0x381a5c(0x3ac)},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0xb0b8a(_0x381a5c(0x283)),$o=_0x36e47d('pivotMutationGenerate');var Be=(_0x5bd8c4=>(_0x5bd8c4[_0x381a5c(0x3b5)]=_0x381a5c(0x3b5),_0x5bd8c4[_0x381a5c(0x2e2)]=_0x381a5c(0x2e2),_0x5bd8c4[_0x381a5c(0x19a)]=_0x381a5c(0x19a),_0x5bd8c4))(Be||{}),J=(_0x4d6682=>(_0x4d6682[_0x381a5c(0x229)]=_0x381a5c(0x3b5),_0x4d6682[_0x381a5c(0x186)]='set',_0x4d6682[_0x381a5c(0x347)]=_0x381a5c(0x2e2),_0x4d6682))(J||{});const ro={'type':_0x1f600d[_0x381a5c(0x26e)],'id':_0x381a5c(0x32b),'handler':()=>!0x0},lo={'type':_0x1f600d[_0x381a5c(0x26e)],'id':_0x381a5c(0x390),'handler':()=>!0x0},Dt={'type':_0x1f600d[_0x381a5c(0x26e)],'id':_0x381a5c(0x2c5),'handler':()=>!0x0},co={'type':_0x1f600d[_0x381a5c(0x26e)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},uo={'type':_0x1f600d[_0x381a5c(0x26e)],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0};var Mi=Object['getOwnPropertyDescriptor'],wi=(_0x5bcfc1,_0x1c64be,_0x26e48b,_0x52f8dd)=>{const _0x3b1f7f=_0x381a5c;for(var _0x397018=_0x52f8dd>0x1?void 0x0:_0x52f8dd?Mi(_0x1c64be,_0x26e48b):_0x1c64be,_0x3f9498=_0x5bcfc1[_0x3b1f7f(0x173)]-0x1,_0x13113b;_0x3f9498>=0x0;_0x3f9498--)(_0x13113b=_0x5bcfc1[_0x3f9498])&&(_0x397018=_0x13113b(_0x397018)||_0x397018);return _0x397018;},Ri=(_0x48eac2,_0x14fd05)=>(_0x37bc90,_0x587918)=>_0x14fd05(_0x37bc90,_0x587918,_0x48eac2);let X=class extends _0x131022{constructor(_0x3adfca){const _0x32ee7c=_0x381a5c;super(),N(this,_0x32ee7c(0x16a),new Map()),this[_0x32ee7c(0x367)]=_0x3adfca;}[_0x381a5c(0x369)](_0x74b19c){const _0x308225=_0x381a5c,{version:_0x72433}=_0x74b19c,_0x176ff1=this[_0x308225(0x16a)][_0x308225(0x1b0)](_0x72433);_0x176ff1&&(_0x176ff1(_0x74b19c),this['_requestResolvers'][_0x308225(0x2e2)](_0x72433));}[_0x381a5c(0x193)](_0x4b50fb){return new Promise((_0x3e4438,_0xfbb5da)=>{const _0x232598=_0x1367,_0x3c96a5=this['_generateUniqueVersion']();this[_0x232598(0x16a)][_0x232598(0x279)](_0x3c96a5,_0x3e4438),this['_commandService']['executeCommand'](ro['id'],{'version':_0x3c96a5,..._0x4b50fb},{'onlyLocal':!0x0});});}[_0x381a5c(0x222)](){const _0x110054=_0x381a5c;return Math[_0x110054(0x27e)]()[_0x110054(0x256)](0x24)['substring'](0x2,0x10);}};X=wi([Ri(0x0,_0x4b1a54(_0x34de0e))],X);const jo={0x0:'l',0x1:'B',0x2:'5',0x3:'G',0x4:'h',0x5:'F',0x6:'Y',0x7:'c',0x8:'7',0x9:'q','n':'0','d':'1','z':'2','A':'3','C':'4','I':'6','k':'8','a':'9','c':'a','g':'b','q':'d','D':'e','v':'f','B':'g','r':'i','H':'j','o':'k','Z':'m','O':'n','R':'o','J':'p','e':'r','E':'s','h':'t','U':'u','L':'v','t':'w','j':'x','Q':'y','s':'z','T':'A','X':'C','G':'D','p':'E','N':'H','l':'I','u':'J','W':'K','M':'L','P':'M','m':'N','K':'O','f':'P','b':'Q','x':'R','y':'S','V':'T','w':'U','F':'V','i':'W','S':'X','Y':'Z'},Wo=_0x381a5c(0x2d8),_i=_0x4b6948=>{const _0x13fc2a=_0x381a5c;var _0x22e6f3;return((_0x22e6f3=_0x4b6948[_0x13fc2a(0x30b)])==null?void 0x0:_0x22e6f3[_0x13fc2a(0x3a7)][_0x13fc2a(0x169)](/\r\n$/,''))||'';};class Fi extends _0x1e840f{constructor(_0x3e48b6,_0x152d62){const _0x42c94a=_0x381a5c;super(),N(this,_0x42c94a(0x22b),{}),N(this,_0x42c94a(0x153)),N(this,_0x42c94a(0x333)),(this[_0x42c94a(0x153)]=_0x152d62,this[_0x42c94a(0x333)]=_0x3e48b6);}[_0x381a5c(0x152)](){const _0x199b27=_0x381a5c;for(const _0x39b901 in this[_0x199b27(0x30d)]){const _0x305b87=this[_0x199b27(0x30d)][_0x39b901],_0x135f82=_0x305b87[_0x199b27(0x31a)]();this[_0x199b27(0x22b)][_0x135f82]=_0x305b87[_0x199b27(0x2a2)]();}}['getAutoDisplayNameFunction'](){const _0x4638dd=_0x381a5c,_0x230cb6=this[_0x4638dd(0x333)];return xi[_0x4638dd(0x27f)](_0x230cb6);}['deleteDataField'](_0x44f620){const _0x4e366e=_0x381a5c,_0x108528=this[_0x4e366e(0x30d)][_0x44f620][_0x4e366e(0x21b)];delete this[_0x4e366e(0x30d)][_0x44f620],delete this[_0x4e366e(0x22b)][_0x108528];}[_0x381a5c(0x2fe)](_0x11be05){this['dataFields'][_0x11be05['getId']()]=_0x11be05;}[_0x381a5c(0x29e)](_0x4f510f){const _0x2c9b5f=_0x381a5c;var _0x43422e,_0x8a25e6;const _0xd1eebb=this[_0x2c9b5f(0x333)][_0x2c9b5f(0x366)](_0x4f510f);if(_0xd1eebb){const {unitId:_0x3aaf9f,subUnitId:_0xb21fc9}=_0xd1eebb,_0x1819b2=(_0x43422e=this[_0x2c9b5f(0x333)][_0x2c9b5f(0x260)](_0x3aaf9f,_0xb21fc9,_0x4f510f))==null?void 0x0:_0x43422e[_0x2c9b5f(0x21d)];this[_0x2c9b5f(0x333)][_0x2c9b5f(0x284)]({'token':_0x4f510f,'type':Be[_0x2c9b5f(0x2e2)],'dataRangeInfo':_0x1819b2});}(_0x8a25e6=this[_0x2c9b5f(0x323)](_0x4f510f))==null||_0x8a25e6[_0x2c9b5f(0x37b)](),delete this['collections'][_0x4f510f];}[_0x381a5c(0x31a)](_0x52cc2a,_0x1211f8){const {sheetName:_0x3ddac6,unitId:_0x110629,range:_0x38a63a}=_0x52cc2a,{startRow:_0x42d5cf,endRow:_0x204b75}=_0x38a63a;return _0x36da4a(_0x110629,_0x3ddac6,{'startRow':_0x42d5cf,'endRow':_0x204b75,'startColumn':_0x1211f8,'endColumn':_0x1211f8});}['getDataFieldByRangeKey'](_0x1917f2){const _0x4692ef=_0x381a5c;return this[_0x4692ef(0x30d)][this[_0x4692ef(0x22b)][_0x1917f2]];}[_0x381a5c(0x27c)](_0x3fff24,_0x2d7b17){this['rangeKeyMap'][_0x3fff24]=_0x2d7b17;}[_0x381a5c(0x1bf)](_0x503f69,_0x5a772b){const _0x363c28=_0x381a5c;this[_0x363c28(0x22b)][_0x5a772b]=this[_0x363c28(0x22b)][_0x503f69],delete this['rangeKeyMap'][_0x503f69];}['addCollectionByJSON'](_0x403a2b,_0x49b8eb,_0x89f9b0,_0x102d33){const _0xc27aeb=_0x381a5c,_0x50a9a0=new _0x1f2256(this);_0x50a9a0[_0xc27aeb(0x344)](_0x49b8eb);const _0x345953=[];let _0x3ecd12=0x0;for(const _0x4dbed5 of _0x50a9a0[_0xc27aeb(0x1d7)]){const _0x2a47d1=this[_0xc27aeb(0x31a)](_0x89f9b0,_0x3ecd12),_0x17c482=this[_0xc27aeb(0x30d)][_0x4dbed5];_0x17c482&&(_0x17c482[_0xc27aeb(0x21b)]=_0x2a47d1,this[_0xc27aeb(0x27c)](_0x2a47d1,_0x4dbed5),_0x345953[_0xc27aeb(0x3a1)]({'index':_0x3ecd12,'dataField':_0x17c482})),_0x3ecd12++;}return this[_0xc27aeb(0x218)](_0x403a2b,_0x50a9a0,_0x89f9b0,_0x102d33),{'collection':_0x50a9a0,'updateDataFieldList':_0x345953};}[_0x381a5c(0x276)](_0x1b4e3f,_0x2c9472){const _0x4b0a8c=_0x381a5c;return _0x1b4e3f[_0x4b0a8c(0x1c0)]===_0x2817a2[_0x4b0a8c(0x213)]?{'startRow':0x0,'startColumn':_0x1b4e3f[_0x4b0a8c(0x187)],'endRow':_0x2c9472['getRowCount']()-0x1,'endColumn':_0x1b4e3f[_0x4b0a8c(0x1f3)]}:{'startRow':_0x1b4e3f['startRow'],'startColumn':_0x1b4e3f[_0x4b0a8c(0x187)],'endRow':_0x1b4e3f[_0x4b0a8c(0x39a)],'endColumn':_0x1b4e3f['endColumn']};}[_0x381a5c(0x2cc)](_0x240332){const _0x1f60f5=_0x381a5c,{sheetName:_0x1adc74,range:_0x26bf33}=_0x240332,_0x31b9b5=this[_0x1f60f5(0x153)][_0x1f60f5(0x22a)](_0x3fc262[_0x1f60f5(0x33d)]),_0x127539=_0x31b9b5['getSheetBySheetName'](_0x1adc74),_0x4d5499=_0x127539[_0x1f60f5(0x281)](),{startColumn:_0x4d92a9,startRow:_0x1b2f8b,endColumn:_0x51b0be}=this[_0x1f60f5(0x276)](_0x26bf33,_0x127539),_0xb101b=_0x31b9b5['getStyles'](),_0x49b491=new _0x1f2256(this);_0x49b491['setRange'](_0x240332);const _0x1fb658=[],_0x5161a9={};for(let _0x5e5ff4=_0x4d92a9;_0x5e5ff4<=_0x51b0be;_0x5e5ff4++){const _0x49db61=_0x4d5499[_0x1f60f5(0x2bc)](_0x1b2f8b,_0x5e5ff4),_0x1d08ad=this[_0x1f60f5(0x31a)](_0x240332,_0x5e5ff4),_0x5c92bf=this[_0x1f60f5(0x399)](_0x1d08ad);if(_0x5c92bf)_0x49b491[_0x1f60f5(0x214)](_0x5c92bf[_0x1f60f5(0x2a2)](),_0x5c92bf[_0x1f60f5(0x3c7)]());else{const _0x56c5d1=this[_0x1f60f5(0x3bc)]();let _0x568579=this[_0x1f60f5(0x271)](_0x49db61,_0xb101b,_0x5161a9);_0x25f6bf(_0x568579)&&(_0x568579=_0x1138d1[_0x1f60f5(0x3a2)](_0x568579['f'],Number(_0x568579['v'])));const _0x36d326=this[_0x1f60f5(0x298)](_0x568579,_0x5e5ff4),_0x2a2989=new _0x4b79e7(_0x56c5d1,_0x36d326,_0x27f790(0x3));_0x2a2989['rangeKey']=_0x1d08ad,this[_0x1f60f5(0x30d)][_0x56c5d1]=_0x2a2989,_0x49b491[_0x1f60f5(0x214)](_0x56c5d1,_0x36d326),_0x1fb658[_0x1f60f5(0x3a1)]({'index':_0x5e5ff4,'dataField':_0x2a2989});}}return{'updateDataFieldList':_0x1fb658,'collection':_0x49b491};}[_0x381a5c(0x3c6)](_0x1664f5){const _0x5d9ab4=_0x381a5c;return this[_0x5d9ab4(0x333)]['getTextInfo']()[_0x5d9ab4(0x2be)]+'\x20'+_0x15c899(_0x1664f5);}[_0x381a5c(0x298)](_0x4a58f4,_0x1733a5){const _0xe1111a=_0x381a5c;return _0x4a58f4==null||_0x4a58f4===''?this[_0xe1111a(0x3c6)](_0x1733a5):String(_0x4a58f4);}[_0x381a5c(0x323)](_0x38f5e4){const _0x5d8f57=_0x381a5c;return this[_0x5d8f57(0x302)][_0x38f5e4];}['addCollection'](_0x58245c,_0x30c55a,_0x1f7dd7,_0x493bae){const _0x20c219=_0x381a5c;this['collections'][_0x58245c]=_0x30c55a,_0x30c55a[_0x20c219(0x266)](_0x1f7dd7),this['_host'][_0x20c219(0x284)]({'token':_0x58245c,'type':Be[_0x20c219(0x3b5)],'dataRangeInfo':_0x1f7dd7,'targetCellInfo':_0x493bae});}[_0x381a5c(0x3ba)](_0x48b0b9,_0x492e53){const _0x302380=_0x381a5c,_0x588fdc=this['getCollection'](_0x48b0b9),_0x1fbc8e=_0x588fdc['getFieldIds']();let _0x5f427c=0x0;for(const _0x48d98f of _0x1fbc8e){const _0x5e372d=_0x588fdc[_0x302380(0x203)](_0x48d98f),_0x32b312=this[_0x302380(0x31a)](_0x492e53,_0x5f427c);this[_0x302380(0x1bf)](_0x5e372d[_0x302380(0x21b)],_0x32b312),_0x5f427c++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x4d013b,_0xdf74a9){const _0x14fd60=_0x381a5c;if(this['getCollection'](_0x4d013b)){const _0x35018f=this[_0x14fd60(0x1c8)](_0xdf74a9),_0x246fdd=[];for(const _0x456e7a of _0x35018f)this['rangeKeyMap'][_0x456e7a]!==void 0x0&&_0x246fdd[_0x14fd60(0x3a1)](this['rangeKeyMap'][_0x456e7a]);const _0x25325a=this[_0x14fd60(0x349)](_0x4d013b),_0x1ddc58=[],_0x57cbf7=new Set(_0x246fdd);for(const _0xd7a87e of _0x25325a)_0x57cbf7[_0x14fd60(0x2d7)](_0xd7a87e)||_0x1ddc58[_0x14fd60(0x3a1)](_0xd7a87e);return _0x1ddc58;}}[_0x381a5c(0x2c2)](_0x5a093e,_0x46cfc3,_0x3f4de5,_0x288174,_0x5349c6){const _0x293b88=_0x381a5c;return _0x46cfc3&&_0x46cfc3[_0x293b88(0x2bc)](_0x288174,_0x5349c6)?_0x46cfc3[_0x293b88(0x2bc)](_0x288174,_0x5349c6):_0x3f4de5&&_0x3f4de5[_0x293b88(0x2bc)](_0x288174,_0x5349c6)?_0x3f4de5[_0x293b88(0x2bc)](_0x288174,_0x5349c6):_0x5a093e[_0x293b88(0x2bc)](_0x288174,_0x5349c6);}[_0x381a5c(0x2dc)](_0x575fb1,_0x5517bc,_0x377849,_0x5150a8){const _0x3fef46=_0x381a5c,_0x1a210d=this[_0x3fef46(0x30d)][_0x575fb1];if(!_0x1a210d)return;const {subUnitId:_0x228d47,range:_0x178232,unitId:_0x3fe144}=_0x5517bc,_0x81f20b=this['_univerInstanceService'][_0x3fef46(0x14e)](_0x3fe144);if(!_0x81f20b){console[_0x3fef46(0x24b)](_0x3fef46(0x201));return;}const _0x2a0003=_0x81f20b[_0x3fef46(0x391)](_0x228d47),_0x2d2e9e=_0x2a0003[_0x3fef46(0x281)](),{arrayFormulaCellDataMatrix:_0x196f5d,unitDataMatrix:_0x489e14}=_0x5150a8||{},{startRow:_0x5d149d,startColumn:_0x378401,endRow:_0x35daf9}=this['getRangeStartEndInfo'](_0x178232,_0x2a0003);_0x1a210d['reset']();const _0x373060=_0x81f20b[_0x3fef46(0x1cd)](),_0x4d1a71={},_0x56d773=this['getMatrixValue'](_0x2d2e9e,_0x196f5d,_0x489e14,_0x5d149d,_0x378401+_0x377849);let _0x5924c8=this[_0x3fef46(0x271)](_0x56d773,_0x373060,_0x4d1a71);_0x25f6bf(_0x5924c8)&&(_0x5924c8=_0x1138d1[_0x3fef46(0x3a2)](_0x5924c8['f'],Number(_0x5924c8['v'])));const _0x11d931=this[_0x3fef46(0x298)](_0x5924c8,_0x378401+_0x377849);_0x1a210d['setName'](_0x11d931);for(let _0x5d4a8a=_0x5d149d+0x1;_0x5d4a8a<=_0x35daf9;_0x5d4a8a++){const _0x388110=this[_0x3fef46(0x2c2)](_0x2d2e9e,_0x196f5d,_0x489e14,_0x5d4a8a,_0x378401+_0x377849);_0x1a210d[_0x3fef46(0x2ed)](this[_0x3fef46(0x271)](_0x388110,_0x373060,_0x4d1a71),_0x5d4a8a-0x1-_0x5d149d);}}['refreshData'](_0x37136f,_0x3d76d6,_0x370bf3){const _0x7bd9cd=_0x381a5c,{subUnitId:_0x1daa87,range:_0x4f3011,unitId:_0x4d2b2b}=_0x370bf3,_0x569199=this[_0x7bd9cd(0x153)][_0x7bd9cd(0x14e)](_0x4d2b2b);if(!_0x569199){console['error'](_0x7bd9cd(0x201));return;}const _0x5dd0e2=_0x569199['getSheetBySheetId'](_0x1daa87),_0x3d5839=_0x5dd0e2[_0x7bd9cd(0x281)](),{startRow:_0xdc1074,startColumn:_0x1be728,endRow:_0x3a393c}=this['getRangeStartEndInfo'](_0x4f3011,_0x5dd0e2),_0x2f300e=_0x569199[_0x7bd9cd(0x1cd)](),_0x57dc00={};for(const {dataField:_0x488573,index:_0x4a19d6}of _0x3d76d6){_0x488573['reset']();const _0x30c640=this[_0x7bd9cd(0x2c2)](_0x3d5839,void 0x0,void 0x0,_0xdc1074,_0x1be728+_0x4a19d6);let _0x26a0bd=this[_0x7bd9cd(0x271)](_0x30c640,_0x2f300e,_0x57dc00);_0x25f6bf(_0x26a0bd)&&(_0x26a0bd=_0x1138d1[_0x7bd9cd(0x3a2)](_0x26a0bd['f'],Number(_0x26a0bd['v'])));const _0x105507=this['uniqueDataFieldName'](_0x26a0bd,_0x1be728+_0x4a19d6);_0x488573[_0x7bd9cd(0x311)](_0x105507);}_0x37136f['updateAllDisplayName']();for(let _0x38e195=_0xdc1074+0x1;_0x38e195<=_0x3a393c;_0x38e195++)for(const {index:_0x2ddc30,dataField:_0x1e0ded}of _0x3d76d6){const _0x5d7736=_0x3d5839[_0x7bd9cd(0x2bc)](_0x38e195,_0x1be728+_0x2ddc30);_0x1e0ded[_0x7bd9cd(0x2ed)](this[_0x7bd9cd(0x271)](_0x5d7736,_0x2f300e,_0x57dc00),_0x38e195-0x1-_0xdc1074);}_0x37136f[_0x7bd9cd(0x1ac)](_0x3a393c-_0xdc1074);}['getRangeKeyList'](_0x5b176c){const _0x172fec=_0x381a5c,{range:_0x282cb8}=_0x5b176c,{startColumn:_0x11ae6b,endColumn:_0x27a352}=_0x282cb8,_0x751a5a=[];for(let _0x5b2de6=_0x11ae6b;_0x5b2de6<=_0x27a352;_0x5b2de6++)_0x751a5a[_0x172fec(0x3a1)](this[_0x172fec(0x31a)](_0x5b176c,_0x5b2de6));return _0x751a5a;}[_0x381a5c(0x271)](_0x5f338e,_0x4659da,_0x2b396d){const _0x39271e=_0x381a5c;if(_0x5f338e){const {s:_0x732ded,v:_0x240c4b,t:_0x26698d,p:_0x1f9064}=_0x5f338e;if(_0x1f9064)return _i(_0x1f9064);const _0xe596c4=_0x4659da[_0x39271e(0x1b0)](_0x732ded);if(_0xe596c4&&_0x26698d===_0x47d7d7['NUMBER']&&_0xe596c4['n']){const {pattern:_0x595661}=_0xe596c4['n'];_0x2b396d[_0x595661]||(_0x2b396d[_0x595661]=_0x1138d1[_0x39271e(0x29a)](_0x595661));const _0x5ae05a=_0x2b396d[_0x595661],_0x530dda=_0x5ae05a[_0x39271e(0x2e9)];if(_0x5ae05a[_0x39271e(0x2d2)])return String(_0x240c4b);if(_0x530dda)return{'v':_0x240c4b,'f':_0x595661};}if(_0x26698d===_0x47d7d7[_0x39271e(0x3b4)])return Number(_0x240c4b);if(_0x26698d===_0x47d7d7[_0x39271e(0x21c)]||_0x26698d===_0x47d7d7[_0x39271e(0x3c0)])return String(_0x240c4b);if(_0x26698d===void 0x0){const _0x53852d=Number(_0x240c4b);if(!Number['isNaN'](_0x53852d)&&String(_0x53852d)===_0x240c4b)return _0x53852d;}return _0x240c4b!=null?_0x240c4b:null;}else return null;}['getRangeData'](_0x1c30c6){const _0x4808f7=_0x381a5c,{sheetName:_0x259c63,range:_0x2fd5a3,unitId:_0x29fdb0}=_0x1c30c6,_0xfd4063=this['_univerInstanceService']['getUnit'](_0x29fdb0);if(!_0xfd4063)return console[_0x4808f7(0x24b)]('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x3b3cdf=_0xfd4063[_0x4808f7(0x1d1)](_0x259c63),_0x48a516=_0x3b3cdf[_0x4808f7(0x281)](),{startRow:_0x10402c,startColumn:_0x2d7222,endRow:_0x3e67f5,endColumn:_0x382838}=this[_0x4808f7(0x276)](_0x2fd5a3,_0x3b3cdf),_0x5823e3=_0xfd4063[_0x4808f7(0x1cd)](),_0x396e86=[],_0xe093d7=[],_0x2a636d={};for(let _0x9f07f0=_0x10402c;_0x9f07f0<=_0x3e67f5;_0x9f07f0++){const _0xc372c9=[];for(let _0x232b44=_0x2d7222;_0x232b44<=_0x382838;_0x232b44++){const _0x26ce59=_0x48a516[_0x4808f7(0x2bc)](_0x9f07f0,_0x232b44);_0x9f07f0===_0x10402c?_0x396e86['push'](_0x26ce59==null?null:String(_0x26ce59['v'])):_0xc372c9[_0x4808f7(0x3a1)](this[_0x4808f7(0x271)](_0x26ce59,_0x5823e3,_0x2a636d));}_0xe093d7[_0x4808f7(0x3a1)](_0xc372c9);}return{'header':_0x396e86,'data':_0xe093d7};}[_0x381a5c(0x365)](){const _0xcaccc3=_0x381a5c;return super[_0xcaccc3(0x365)]();}[_0x381a5c(0x344)](_0x5c06d3){const _0x3c4c4e=_0x381a5c;super[_0x3c4c4e(0x344)](_0x5c06d3),this[_0x3c4c4e(0x152)]();}[_0x381a5c(0x37b)](){const _0x38d38d=_0x381a5c;super[_0x38d38d(0x37b)](),this['rangeKeyMap']={},this[_0x38d38d(0x333)]=null;}}const Di=_0x3f4375=>{const _0x52a635=_0x381a5c,{targetCellInfo:_0x28f2c1}=_0x3f4375,{matrixCache:_0x2b644d,rangesCache:_0x21b54f}=Go({'filter':_0x52a635(0x1be),'row':_0x52a635(0x216),'column':_0x52a635(0x294),'values':_0x52a635(0x3ac)},_0x28f2c1),_0xf74fb4=new _0x399667();return _0x2b644d[_0x52a635(0x380)]((_0x12e1f1,_0x449e64,_0x5195c3)=>{const _0x54ac11=_0x52a635;_0xf74fb4[_0x54ac11(0x18e)](_0x12e1f1,_0x449e64,_0x5195c3);}),{'matrix':_0xf74fb4,'rangesCache':_0x21b54f};},ot=_0x30a28e=>{const _0x4f24e5=_0x381a5c;let _0x56401a;if(_0x30a28e!=null&&_0x30a28e['v']||(_0x30a28e==null?void 0x0:_0x30a28e['v'])===0x0){_0x56401a||(_0x56401a={});const _0x556c81=Jo(_0x30a28e['v']);typeof _0x556c81==_0x4f24e5(0x17f)?_0x56401a['t']=_0x47d7d7['NUMBER']:typeof _0x556c81==_0x4f24e5(0x2f3)&&(_0x56401a['t']=_0x47d7d7[_0x4f24e5(0x21c)]),_0x56401a['v']=_0x556c81;}return _0x56401a;},Ei=(_0x3ebed4,_0x436573,_0xdcdfa4)=>{const _0x1a20a5=_0x381a5c;var _0x201922,_0x2114e5,_0xe8b531,_0x3a43bc,_0x50fc6e,_0x30fba3,_0x377905,_0x5c83e3,_0x413b76,_0xf9bfd6,_0x407a65,_0x29bf5b;const {cornerView:_0x69f0eb,rowView:_0x1f099b,colView:_0x187b83,dataView:_0x40329d,pageView:_0x2056d5,formatMap:_0x2a3b0b}=_0x3ebed4,{row:_0x4bdc32,col:_0xe20682}=_0x436573,_0x4654d2=new _0x399667();let _0x22f568=_0x4bdc32,_0x102ce5=_0xe20682;Object[_0x1a20a5(0x374)](_0x2056d5[_0x1a20a5(0x2dd)])[_0x1a20a5(0x397)](_0x568b17=>{const _0x5bf008=_0x1a20a5;Object[_0x5bf008(0x374)](_0x2056d5[_0x5bf008(0x2dd)][Number(_0x568b17)])[_0x5bf008(0x397)](_0x1a841e=>{const _0x3cef50=_0x5bf008,_0x3ef94e={..._0x2056d5[_0x3cef50(0x2dd)][Number(_0x568b17)][Number(_0x1a841e)]};_0x4654d2[_0x3cef50(0x18e)](Number(_0x568b17)+_0x22f568,Number(_0x1a841e)+_0x102ce5,ot(_0x3ef94e));});});const _0x48eeab=Object['keys'](_0x2056d5['data'])[_0x1a20a5(0x173)];_0x22f568+=_0x48eeab+(_0x48eeab?It:0x0);const _0x3dd89c=_0x69f0eb[_0x1a20a5(0x358)](),_0x5cbfa9=_0x69f0eb[_0x1a20a5(0x2d0)]();for(let _0x4a7c9c=0x0;_0x4a7c9c<_0x3dd89c;_0x4a7c9c++)for(let _0xbc61a2=0x0;_0xbc61a2<_0x5cbfa9;_0xbc61a2++){const _0x34934b={...(_0x2114e5=(_0x201922=_0x69f0eb[_0x1a20a5(0x2dd)])==null?void 0x0:_0x201922[_0x4a7c9c])==null?void 0x0:_0x2114e5[_0xbc61a2]};_0x34934b&&((_0xe8b531=_0x1f099b['headerMap'][_0xbc61a2])!=null&&_0xe8b531['isValue'])&&_0xbc61a2===_0x5cbfa9-0x1&&_0x4a7c9c===_0x3dd89c-0x1&&(_0x34934b['v']=''+_0xdcdfa4[_0x1a20a5(0x154)]),_0x4654d2[_0x1a20a5(0x18e)](_0x4a7c9c+_0x22f568,_0xbc61a2+_0x102ce5,ot(_0x34934b));}_0x102ce5+=_0x5cbfa9;const _0x53da3a=_0x187b83[_0x1a20a5(0x3cb)],_0x5c141d=_0x187b83['getLastRow']()>=0x0?_0x187b83[_0x1a20a5(0x163)]()+0x1:0x0,_0x295f73=_0x187b83[_0x1a20a5(0x2b6)]()>=0x0?_0x187b83[_0x1a20a5(0x2b6)]()+0x1:0x0;for(let _0x5c2dc9=0x0;_0x5c2dc9<_0x295f73;_0x5c2dc9++)for(let _0xb07819=0x0;_0xb07819<_0x5c141d;_0xb07819++){const _0x1761fe={...(_0x50fc6e=(_0x3a43bc=_0x187b83['data'])==null?void 0x0:_0x3a43bc[_0x5c2dc9])==null?void 0x0:_0x50fc6e[_0xb07819]},_0x398766=(_0x30fba3=_0x53da3a[_0x5c2dc9])==null?void 0x0:_0x30fba3[_0x1a20a5(0x209)],_0x187a15=_0x2a3b0b[_0x398766];_0x1761fe&&(_0x1761fe['v']=vt(_0x1761fe,_0x5c2dc9===0x0&&((_0x377905=_0x187b83[_0x1a20a5(0x1fb)](_0xb07819+0x1))==null?void 0x0:_0x377905[_0x1a20a5(0x28a)]),_0x187a15,_0xdcdfa4)),_0x4654d2[_0x1a20a5(0x18e)](_0x5c2dc9+_0x22f568,_0xb07819+_0x102ce5,ot(_0x1761fe));}_0x22f568+=_0x3dd89c;const _0x3d6f64=_0x1f099b[_0x1a20a5(0x3cb)],_0x129d8b=_0x1f099b['getLastRow']()>=0x0?_0x1f099b['getLastRow']()+0x1:0x0,_0x732c0c=_0x1f099b['getLastCol']()>=0x0?_0x1f099b[_0x1a20a5(0x2b6)]()+0x1:0x0;for(let _0x494eab=0x0;_0x494eab<_0x129d8b;_0x494eab++)for(let _0x2fea99=0x0;_0x2fea99<_0x732c0c;_0x2fea99++){const _0x56b8d7={...(_0x413b76=(_0x5c83e3=_0x1f099b[_0x1a20a5(0x2dd)])==null?void 0x0:_0x5c83e3[_0x494eab])==null?void 0x0:_0x413b76[_0x2fea99]},_0x4e3ebd=(_0xf9bfd6=_0x3d6f64[_0x2fea99])==null?void 0x0:_0xf9bfd6[_0x1a20a5(0x209)],_0x54c19d=_0x2a3b0b[_0x4e3ebd];_0x56b8d7&&(_0x56b8d7['v']=vt(_0x56b8d7,!0x1,_0x54c19d,_0xdcdfa4)),_0x4654d2[_0x1a20a5(0x18e)](_0x494eab+_0x22f568,_0x2fea99+_0xe20682,ot(_0x56b8d7));}const _0x1a57ed=_0x40329d[_0x1a20a5(0x358)](),_0xfd1966=_0x40329d[_0x1a20a5(0x2d0)]();for(let _0x4128c9=0x0;_0x4128c9<_0x1a57ed;_0x4128c9++)for(let _0x4a6337=0x0;_0x4a6337<_0xfd1966;_0x4a6337++){const _0x17c244={...(_0x29bf5b=(_0x407a65=_0x40329d[_0x1a20a5(0x2dd)])==null?void 0x0:_0x407a65[_0x4128c9])==null?void 0x0:_0x29bf5b[_0x4a6337]};_0x4654d2[_0x1a20a5(0x18e)](_0x4128c9+_0x22f568,_0x4a6337+_0x102ce5,ot(_0x17c244));}return _0x4654d2;},Ni=_0x389760=>{const _0x49fd56=_0x381a5c,{view:_0x2905fb,targetCellInfo:_0x8e84f7,isEmpty:_0x482ce7,textInfo:_0xe915e}=_0x389760;if(_0x482ce7)return Di(_0x389760);const {pageView:_0x22f6ce,cornerView:_0x4c9228,rowView:_0x53d684,colView:_0xadcf1c,dataView:_0x1cbb4f}=_0x2905fb,_0x5ed768=ge(_0x8e84f7,_0x22f6ce,!0x0),_0x5d3712=_0x22f6ce[_0x49fd56(0x1cb)]>=0x0?_0x22f6ce['lastRow']+0x1:0x0,_0x2de64f=_0x4c9228['getRowCount'](),_0x1cfc67=_0x4c9228['getColCount'](),_0x15af3f=_0x5ed768[_0x49fd56(0x173)]>0x0?It:0x0,_0x221b4c=ge({'row':_0x8e84f7['row']+_0x5d3712+_0x15af3f,'col':_0x8e84f7[_0x49fd56(0x340)]},_0x4c9228,!0x1,!0x1),_0x2757bd=ge({'row':_0x8e84f7[_0x49fd56(0x1ea)]+_0x5d3712+_0x15af3f+_0x2de64f,'col':_0x8e84f7['col']},_0x53d684,!0x1,!0x0),_0x25ec1d=ge({'row':_0x8e84f7[_0x49fd56(0x1ea)]+_0x5d3712+_0x15af3f,'col':_0x8e84f7[_0x49fd56(0x340)]+_0x1cfc67},_0xadcf1c,!0x1,!0x0),_0x472c2a=ge({'row':_0x8e84f7[_0x49fd56(0x1ea)]+_0x5d3712+_0x15af3f+_0x2de64f,'col':_0x8e84f7[_0x49fd56(0x340)]+_0x1cfc67},_0x1cbb4f,!0x1,!0x1),_0x3f8409={'rowRanges':_0x2757bd,'colRanges':_0x25ec1d,'cornerRanges':_0x221b4c,'dataRanges':_0x472c2a,'pageRanges':_0x5ed768};return{'matrix':Ei(_0x2905fb,_0x8e84f7,_0xe915e),'rangesCache':_0x3f8409};};var Oi=Object['getOwnPropertyDescriptor'],Ui=(_0x2fdb67,_0x1d9bd9,_0x3467c7,_0x16e6ab)=>{const _0x436d5a=_0x381a5c;for(var _0x456017=_0x16e6ab>0x1?void 0x0:_0x16e6ab?Oi(_0x1d9bd9,_0x3467c7):_0x1d9bd9,_0x1d7178=_0x2fdb67[_0x436d5a(0x173)]-0x1,_0x1f4eff;_0x1d7178>=0x0;_0x1d7178--)(_0x1f4eff=_0x2fdb67[_0x1d7178])&&(_0x456017=_0x1f4eff(_0x456017)||_0x456017);return _0x456017;},nt=(_0x38e93,_0x152f71)=>(_0x21046d,_0x235f60)=>_0x152f71(_0x21046d,_0x235f60,_0x38e93);let $=class extends _0x131022{constructor(_0x5a20be,_0x4cc787,_0x2fabae,_0x3f1d1e,_0x2074af){const _0x450e1a=_0x381a5c;super(),N(this,_0x450e1a(0x2f8),new Map()),N(this,_0x450e1a(0x258),new Map()),N(this,'_viewData',new Map()),N(this,_0x450e1a(0x15d)),N(this,_0x450e1a(0x2cb),new _0x56386d()),N(this,'collectionChange$',this[_0x450e1a(0x2cb)][_0x450e1a(0x32f)]()),N(this,_0x450e1a(0x2e4),new _0x56386d()),N(this,_0x450e1a(0x295),this[_0x450e1a(0x2e4)]['asObservable']()),N(this,_0x450e1a(0x237),new _0x56386d()),N(this,_0x450e1a(0x288),this[_0x450e1a(0x237)]['asObservable']()),N(this,_0x450e1a(0x2bd),new Map()),N(this,_0x450e1a(0x30c),[]),N(this,_0x450e1a(0x2cf),new Map()),(this[_0x450e1a(0x383)]=_0x5a20be,this[_0x450e1a(0x153)]=_0x4cc787,this[_0x450e1a(0x3bd)]=_0x2fabae,this[_0x450e1a(0x367)]=_0x3f1d1e,this[_0x450e1a(0x21e)]=_0x2074af,this[_0x450e1a(0x343)]());}[_0x381a5c(0x2c8)](){const _0x5f2b66=_0x381a5c;return this['_textInfo']?this[_0x5f2b66(0x15d)]:yi;}[_0x381a5c(0x28d)](_0x598848){const _0x59fe71=_0x381a5c;this[_0x59fe71(0x15d)]=_0x598848;}['handleMoveRange'](_0x496bbe){const _0x23438d=_0x381a5c;var _0x5b81b8;const {from:_0x45a56b,to:_0x2e637e,unitId:_0x59311a,fromRange:_0x458f08,toRange:_0x85f268}=_0x496bbe;if(_0x45a56b&&_0x2e637e){const _0x399f9b=this['getDataFieldManager'](_0x59311a),_0x4c3c18=this[_0x23438d(0x2f8)][_0x23438d(0x1b0)](_0x59311a),_0x1d0211=(_0x5b81b8=this[_0x23438d(0x153)]['getUnit'](_0x59311a))==null?void 0x0:_0x5b81b8[_0x23438d(0x391)](_0x2e637e[_0x23438d(0x1aa)]);if(!_0x4c3c18||!_0x1d0211)return;const _0x27f53c=_0x1d0211==null?void 0x0:_0x1d0211[_0x23438d(0x3c7)]();for(const [_0x4577f4,_0x114715]of _0x4c3c18[_0x23438d(0x264)]())for(const [_0x59111f,_0x443573]of _0x114715[_0x23438d(0x264)]()){const {sourceRangeInfo:_0x24c474}=_0x443573;if(_0x24c474[_0x23438d(0x2d5)]===_0x59311a&&_0x24c474[_0x23438d(0x1aa)]===_0x45a56b['subUnitId']&&_0x293797[_0x23438d(0x354)](_0x458f08,_0x24c474['range'])){const _0x324f8b={'row':_0x24c474['range'][_0x23438d(0x1dc)]-_0x458f08[_0x23438d(0x1dc)],'col':_0x24c474[_0x23438d(0x3ad)][_0x23438d(0x187)]-_0x458f08['startColumn']},_0x1a8253={'unitId':_0x59311a,'subUnitId':_0x2e637e['subUnitId'],'sheetName':_0x27f53c,'range':{'startRow':_0x85f268[_0x23438d(0x1dc)]+_0x324f8b[_0x23438d(0x1ea)],'endRow':_0x85f268[_0x23438d(0x1dc)]+_0x324f8b[_0x23438d(0x1ea)]+_0x24c474[_0x23438d(0x3ad)][_0x23438d(0x39a)]-_0x24c474[_0x23438d(0x3ad)]['startRow'],'startColumn':_0x85f268[_0x23438d(0x187)]+_0x324f8b[_0x23438d(0x340)],'endColumn':_0x85f268[_0x23438d(0x187)]+_0x324f8b[_0x23438d(0x340)]+_0x24c474[_0x23438d(0x3ad)]['endColumn']-_0x24c474[_0x23438d(0x3ad)]['startColumn']}};_0x399f9b[_0x23438d(0x3ba)](_0x59111f,_0x1a8253);const _0x2ab25a={..._0x443573,'sourceRangeInfo':_0x1a8253};this['_updateModelCache'](_0x59311a,_0x2e637e['subUnitId'],_0x59111f,_0x2ab25a),this[_0x23438d(0x284)]({'unitId':_0x59311a,'token':_0x59111f,'type':Be[_0x23438d(0x19a)],'oldSourceRangeInfo':_0x24c474,'dataRangeInfo':_0x1a8253,'targetCellInfo':_0x443573[_0x23438d(0x254)]}),this[_0x23438d(0x233)]({'unitId':_0x59311a,'subUnitId':_0x2e637e[_0x23438d(0x1aa)],'oldSubUnitId':_0x4577f4,'pivotTableId':_0x59111f,'pivotTableConfig':_0x2ab25a,'collectionConfig':_0x399f9b[_0x23438d(0x365)]()});}}}}[_0x381a5c(0x284)](_0x5b62f0){const _0xa85d1=_0x381a5c;this['_collectionChange$'][_0xa85d1(0x1c3)](_0x5b62f0);}[_0x381a5c(0x37e)](_0x48926d){const _0x4d6142=_0x381a5c;let _0x12718a=this['_dataFieldManagerCollection'][_0x4d6142(0x1b0)](_0x48926d);return _0x12718a||(_0x12718a=new Fi(this,this['_univerInstanceService']),this[_0x4d6142(0x2bd)][_0x4d6142(0x279)](_0x48926d,_0x12718a)),_0x12718a;}[_0x381a5c(0x323)](_0x3f7a7a,_0x5de72e){const _0x3a7cb1=_0x381a5c;return this[_0x3a7cb1(0x37e)](_0x3f7a7a)[_0x3a7cb1(0x302)][_0x5de72e];}[_0x381a5c(0x2ca)](_0x5439a6,_0x4f474b,_0x31e669){const _0x3f61fe=_0x381a5c;return this[_0x3f61fe(0x37e)](_0x5439a6)[_0x3f61fe(0x2ca)](_0x4f474b,_0x31e669);}[_0x381a5c(0x2c4)](_0x5461f9,_0x5d42af){const _0x5bcdd0=_0x381a5c;let _0x1ba347=this[_0x5bcdd0(0x2f8)][_0x5bcdd0(0x1b0)](_0x5461f9);_0x1ba347||(_0x1ba347=new Map(),this[_0x5bcdd0(0x2f8)][_0x5bcdd0(0x279)](_0x5461f9,_0x1ba347));let _0x25b92e=_0x1ba347['get'](_0x5d42af);return _0x25b92e||(_0x25b92e=new Map(),_0x1ba347['set'](_0x5d42af,_0x25b92e)),_0x25b92e;}[_0x381a5c(0x20b)](_0x1a17c7,_0x188a34,_0x23334a,_0x5aee14){const _0x1882e4=_0x381a5c;this['_ensurePivotMap'](_0x1a17c7,_0x188a34)[_0x1882e4(0x279)](_0x23334a,_0x5aee14);}['_deleteModelCache'](_0x5374bf,_0x5d0235,_0x115bc4){const _0x2f719=_0x381a5c;var _0x2cf736,_0x3fffcd,_0x46216c,_0x23c36b;((_0x3fffcd=(_0x2cf736=this[_0x2f719(0x2f8)][_0x2f719(0x1b0)](_0x5374bf))==null?void 0x0:_0x2cf736['get'](_0x5d0235))==null?void 0x0:_0x3fffcd[_0x2f719(0x1b0)](_0x115bc4))&&((_0x23c36b=(_0x46216c=this['_model'][_0x2f719(0x1b0)](_0x5374bf))==null?void 0x0:_0x46216c[_0x2f719(0x1b0)](_0x5d0235))==null||_0x23c36b[_0x2f719(0x2e2)](_0x115bc4));}[_0x381a5c(0x1c1)](_0x44a9f6,_0x25045c){const _0x2f9933=_0x381a5c;this['_pivotTableInstanceCache'][_0x2f9933(0x279)](_0x44a9f6,_0x25045c);}['_deletePivotTableInstanceCache'](_0x87e44d){const _0x1ef704=_0x381a5c;this[_0x1ef704(0x258)]['delete'](_0x87e44d);}[_0x381a5c(0x25d)](_0x48ab07,_0x5e6a0f){const _0x5aaf85=_0x381a5c;let _0x78d084=this[_0x5aaf85(0x17e)][_0x5aaf85(0x1b0)](_0x48ab07);_0x78d084||(_0x78d084=new Map(),this[_0x5aaf85(0x17e)][_0x5aaf85(0x279)](_0x48ab07,_0x78d084));let _0x39114e=_0x78d084[_0x5aaf85(0x1b0)](_0x5e6a0f);return _0x39114e||(_0x39114e=new Map(),_0x78d084['set'](_0x5e6a0f,_0x39114e)),_0x39114e;}['updateConfig'](_0x49c284){const _0x2fb5e2=_0x381a5c,{unitId:_0x111a68,subUnitId:_0x885f62,pivotTableId:_0x3760b0,pivotTableConfig:_0x235a2d,collectionConfig:_0x1ef4e8}=_0x49c284,_0x2bd244={'unitId':_0x111a68,'subUnitId':_0x885f62,'oldSubUnitId':_0x885f62,'pivotTableId':_0x3760b0,'pivotTableConfig':_0x235a2d,'collectionConfig':_0x1ef4e8};this[_0x2fb5e2(0x367)][_0x2fb5e2(0x2c6)](co['id'],_0x2bd244,{'onlyLocal':!0x0});}[_0x381a5c(0x33b)](_0x46c6b8,_0x4807e8,_0x4894fd,_0x111e3d,_0x335f64,_0x2bc62d,_0x3ec2c2,_0x1cea71=!0x1){const _0x523eb0=_0x381a5c;var _0x53b6d0;this[_0x523eb0(0x367)][_0x523eb0(0x2c6)](Dt['id'],{'single':{'unitId':_0x46c6b8,'subUnitId':_0x4807e8,'type':_0x4894fd,'pivotTableId':_0x111e3d,'view':_0x335f64,'pivotConfig':_0x2bc62d},'collectionConfig':{[_0x46c6b8]:_0x3ec2c2}},{'onlyLocal':!0x0});const _0x4983a8=!!((_0x53b6d0=this['getPivotTableInstance'](_0x111e3d))!=null&&_0x53b6d0[_0x523eb0(0x282)]()),_0x398632=this[_0x523eb0(0x260)](_0x46c6b8,_0x4807e8,_0x111e3d);_0x398632&&this[_0x523eb0(0x189)]({'view':_0x335f64,'pivotTableId':_0x111e3d,'textInfo':this[_0x523eb0(0x2c8)](),'isEmpty':_0x4983a8,'targetCellInfo':_0x398632[_0x523eb0(0x254)]},_0x1cea71);}[_0x381a5c(0x189)](_0x50e036,_0x3026a3){const _0x1d4241=_0x381a5c,{targetCellInfo:_0x4b1a57,pivotTableId:_0x22803c}=_0x50e036,{unitId:_0xf13680,subUnitId:_0x1f5b5d}=_0x4b1a57,_0x2d2530=this[_0x1d4241(0x25d)](_0xf13680,_0x1f5b5d),_0x5d90a2=_0x2d2530[_0x1d4241(0x1b0)](_0x22803c);let _0x39acb6,_0x2751ed;_0x5d90a2&&(_0x39acb6=_0x5d90a2[_0x1d4241(0x372)],_0x2751ed=_0x5d90a2[_0x1d4241(0x162)]);const {rangesCache:_0x31f9f2,matrix:_0x218c79}=Ni(_0x50e036);_0x2d2530[_0x1d4241(0x279)](_0x22803c,{'rangeCache':_0x31f9f2,'matrix':_0x218c79,'oldMatrix':_0x2751ed,'oldRangeCache':_0x39acb6}),_0x3026a3||this[_0x1d4241(0x2e4)][_0x1d4241(0x1c3)]({'unitId':_0xf13680,'subUnitId':_0x1f5b5d,'pivotTableId':_0x22803c});}[_0x381a5c(0x23b)](_0x335a48,_0x225ad0,_0x1a05f9,_0x482727,_0x23220d){const _0x36dc35=_0x381a5c;this['_updateModelCache'](_0x335a48,_0x225ad0,_0x1a05f9,_0x23220d),this[_0x36dc35(0x1c1)](_0x1a05f9,_0x482727);}['removePivotTable'](_0x1a748b,_0x15b9eb,_0x580368){const _0x4d12cf=_0x381a5c,_0x243560=this['getDataFieldManager'](_0x1a748b);_0x243560[_0x4d12cf(0x349)](_0x580368)[_0x4d12cf(0x397)](_0x258946=>{const _0xf363b3=_0x4d12cf;_0x243560[_0xf363b3(0x2d6)](_0x258946);}),this[_0x4d12cf(0x31c)](_0x1a748b,_0x580368),this[_0x4d12cf(0x22e)](_0x1a748b,_0x15b9eb,_0x580368),this[_0x4d12cf(0x177)](_0x580368);}[_0x381a5c(0x2e8)](_0x12b89d,_0x30007,_0x5b3001,_0x2d95e5){this['_updateModelCache'](_0x12b89d,_0x30007,_0x5b3001,_0x2d95e5);}[_0x381a5c(0x260)](_0x1dbe20,_0x325ab3,_0x45cc04){const _0x3e9e28=_0x381a5c;var _0x42f00a,_0x497852;const _0x4f7d48=(_0x497852=(_0x42f00a=this[_0x3e9e28(0x2f8)]['get'](_0x1dbe20))==null?void 0x0:_0x42f00a[_0x3e9e28(0x1b0)](_0x325ab3))==null?void 0x0:_0x497852['get'](_0x45cc04);if(_0x4f7d48)return _0x4f7d48;}[_0x381a5c(0x1d5)](_0x2e6316,_0x3426ce,_0x20a074){const _0x39445e=_0x381a5c;var _0x1eff7e,_0x4799b0;const _0x467868=(_0x4799b0=(_0x1eff7e=this['_model']['get'](_0x2e6316))==null?void 0x0:_0x1eff7e['get'](_0x3426ce))==null?void 0x0:_0x4799b0[_0x39445e(0x1b0)](_0x20a074);if(_0x467868)return _0x467868[_0x39445e(0x26a)];}['getPivotTableInstance'](_0x22cf0f){const _0x18592=_0x381a5c;return this[_0x18592(0x258)][_0x18592(0x1b0)](_0x22cf0f);}[_0x381a5c(0x1f0)](_0x25e22b){const _0x44c5dd=_0x381a5c;this[_0x44c5dd(0x2f8)][_0x44c5dd(0x2e2)](_0x25e22b);const _0x17d1b8=this['_dataFieldManagerCollection'][_0x44c5dd(0x1b0)](_0x25e22b);_0x17d1b8&&(_0x17d1b8[_0x44c5dd(0x37b)](),this['_dataFieldManagerCollection'][_0x44c5dd(0x2e2)](_0x25e22b)),this[_0x44c5dd(0x17e)]['delete'](_0x25e22b),this[_0x44c5dd(0x30c)][_0x44c5dd(0x397)](_0x450f51=>{const _0x6b84ad=_0x44c5dd;_0x450f51[_0x6b84ad(0x1f0)](_0x25e22b);});}['addCollectionByJSON'](_0x4a837f,_0x11e981,_0x3fca54,_0x51ae02){const _0x55fdef=_0x381a5c;return this[_0x55fdef(0x37e)](_0x3fca54[_0x55fdef(0x2d5)])[_0x55fdef(0x28f)](_0x4a837f,_0x11e981,_0x3fca54,_0x51ae02);}[_0x381a5c(0x2cc)](_0x5e59e0){const _0xb62d11=_0x381a5c;return this[_0xb62d11(0x37e)](_0x5e59e0[_0xb62d11(0x2d5)])[_0xb62d11(0x2cc)](_0x5e59e0);}[_0x381a5c(0x341)](_0x582b97,_0x3cacdf,_0x371cc9){const _0x465749=_0x381a5c;this['getDataFieldManager'](_0x371cc9[_0x465749(0x2d5)])[_0x465749(0x341)](_0x582b97,_0x3cacdf,_0x371cc9);}[_0x381a5c(0x3b7)](_0x53a226,_0x179a32){const _0x4dabd9=_0x381a5c;this[_0x4dabd9(0x37e)](_0x53a226)[_0x4dabd9(0x2d6)](_0x179a32);}[_0x381a5c(0x31c)](_0x35d44b,_0x439eef){const _0x1f4a5a=_0x381a5c;this['getDataFieldManager'](_0x35d44b)[_0x1f4a5a(0x29e)](_0x439eef);}['getSubUnitPivotConfigs'](_0xe73524,_0x3beae9){const _0x11227a=_0x381a5c;var _0xe41d3b;return(_0xe41d3b=this['_model'][_0x11227a(0x1b0)](_0xe73524))==null?void 0x0:_0xe41d3b[_0x11227a(0x1b0)](_0x3beae9);}[_0x381a5c(0x366)](_0x5cefa7){const _0x132c9d=_0x381a5c;for(const [_0x3d7b10,_0x2aafe9]of this[_0x132c9d(0x2f8)][_0x132c9d(0x264)]())for(const [_0x38c65d,_0x4a4726]of _0x2aafe9['entries']())if(_0x4a4726[_0x132c9d(0x2d7)](_0x5cefa7))return{'unitId':_0x3d7b10,'subUnitId':_0x38c65d};return null;}['sideEffectUpdateWorkerCache'](_0x4c64c4,_0x51ab4e,_0x409716,_0x4986e2){const _0x598d3b=_0x381a5c,_0x2818ee=this[_0x598d3b(0x25d)](_0x4c64c4,_0x51ab4e);_0x4986e2?_0x2818ee[_0x598d3b(0x279)](_0x409716,_0x4986e2):_0x2818ee['delete'](_0x409716),this['_viewData$'][_0x598d3b(0x1c3)]({'unitId':_0x4c64c4,'subUnitId':_0x51ab4e,'pivotTableId':_0x409716});}['dispose'](){super['dispose']();}[_0x381a5c(0x24d)](_0x27484c,_0x2a9710,_0x3facf8){const _0x4783d7=_0x381a5c;var _0x2ee839,_0x2745f4;const _0x312164=(_0x2745f4=(_0x2ee839=this['_viewData']['get'](_0x27484c))==null?void 0x0:_0x2ee839[_0x4783d7(0x1b0)](_0x2a9710))==null?void 0x0:_0x2745f4['get'](_0x3facf8);return _0x312164||null;}[_0x381a5c(0x223)](_0x454165){const _0xfe6943=_0x381a5c;this[_0xfe6943(0x28e)](_0x454165);}[_0x381a5c(0x28e)](_0x3ed0df){const _0x387b14=_0x381a5c,{token:_0x181ee1,unitId:_0x15ccce,subUnitId:_0x50c93c}=_0x3ed0df,_0x553c57=_0x15ccce+'-'+_0x50c93c+'-'+_0x181ee1;this[_0x387b14(0x2cf)][_0x387b14(0x1b0)](_0x553c57)&&clearTimeout(this[_0x387b14(0x2cf)][_0x387b14(0x1b0)](_0x553c57));const _0xae2ef6=setTimeout(()=>{const _0x8ab8f8=_0x387b14;this[_0x8ab8f8(0x1d2)](_0x3ed0df),this[_0x8ab8f8(0x2cf)][_0x8ab8f8(0x2e2)](_0x553c57);},Si);this[_0x387b14(0x2cf)]['set'](_0x553c57,_0xae2ef6);}['queryDirtyPivotTable'](_0x35a9c6){const _0x14319d=_0x381a5c,{unitId:_0x55769f,subUnitId:_0x5c9f49,token:_0x2c16a3,type:_0x3f1804,pivotConfig:_0x3313ba}=_0x35a9c6,_0x3f757e=this['getPivotTableInstance'](_0x2c16a3),_0x141ca8=_0x3f757e==null?void 0x0:_0x3f757e[_0x14319d(0x2f4)](),_0x555ee0=_0x3313ba!=null?_0x3313ba:this[_0x14319d(0x260)](_0x55769f,_0x5c9f49,_0x2c16a3);_0x555ee0&&(_0x555ee0[_0x14319d(0x282)]=!!(_0x3f757e!=null&&_0x3f757e[_0x14319d(0x282)]())),(_0x141ca8||_0x3f1804===J[_0x14319d(0x347)])&&this['updateView'](_0x55769f,_0x5c9f49,_0x3f1804,_0x2c16a3,_0x141ca8,_0x555ee0,this[_0x14319d(0x37e)](_0x55769f)['toJSON']());}[_0x381a5c(0x365)](_0xb555ce){const _0x28f73f=_0x381a5c,_0x230226={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0xb555ce)&&(_0x230226['dataFieldManagerConfig'][_0xb555ce]=this['getDataFieldManager'](_0xb555ce)[_0x28f73f(0x365)]()),this[_0x28f73f(0x2f8)][_0x28f73f(0x1b0)](_0xb555ce)){_0x230226[_0x28f73f(0x317)][_0xb555ce]={};const _0x48306b=this[_0x28f73f(0x2f8)]['get'](_0xb555ce);_0x48306b!=null&&_0x48306b[_0x28f73f(0x22d)]&&[..._0x48306b['keys']()]['forEach'](_0x4d3b0f=>{const _0x3fa52a=_0x28f73f,_0xf1a092=_0x48306b[_0x3fa52a(0x1b0)](_0x4d3b0f);_0xf1a092!=null&&_0xf1a092[_0x3fa52a(0x22d)]&&(_0x230226[_0x3fa52a(0x317)][_0xb555ce][_0x4d3b0f]={},[..._0xf1a092[_0x3fa52a(0x374)]()]['forEach'](_0x4b8453=>{const _0xded7ae=_0x3fa52a,_0x5639d7=_0xf1a092[_0xded7ae(0x1b0)](_0x4b8453);_0x5639d7&&(_0x230226[_0xded7ae(0x317)][_0xb555ce][_0x4d3b0f][_0x4b8453]=_0x5639d7);}));});}return _0x230226;}[_0x381a5c(0x344)](_0x167356){const _0x1d7e89=_0x381a5c;var _0x222efb;const {dataFieldManagerConfig:_0x251982,pivotTableConfigs:_0x58b597}=_0x167356;_0x251982&&Object[_0x1d7e89(0x374)](_0x251982)[_0x1d7e89(0x397)](_0x192564=>{const _0x1c9791=_0x1d7e89;this[_0x1c9791(0x37e)](_0x192564)['fromJSON'](_0x251982[_0x192564]);});const _0x404dff=[];if(_0x58b597){const _0x164b31=(_0x222efb=this['_injector'][_0x1d7e89(0x1b0)](_0x1095fa)[_0x1d7e89(0x1f6)](_0x3311a5))!=null?_0x222efb:{},{ls:_0x5bc6ff,pbk:_0x382724}=_0x164b31,_0x146e7c=go(so,_0x5bc6ff,_0x382724)[_0x1d7e89(0x293)];Object[_0x1d7e89(0x374)](_0x58b597)[_0x1d7e89(0x397)](_0x3c4ca6=>{const _0x505a29=_0x1d7e89;let _0x4f5eeb=0x0;const _0x3c0269=_0x58b597[_0x3c4ca6];Object[_0x505a29(0x374)](_0x3c0269)[_0x505a29(0x397)](_0x15c33d=>{const _0xcc12c1=_0x505a29,_0x5357c7=_0x3c0269[_0x15c33d];Object[_0xcc12c1(0x374)](_0x5357c7)[_0xcc12c1(0x397)](_0x2859cd=>{const _0x4b831c=_0xcc12c1,_0x1cb943=_0x5357c7[_0x2859cd];if(_0x1cb943){if(_0x4f5eeb>=_0x146e7c)return;_0x4f5eeb++;const _0x2e17e6=this[_0x4b831c(0x37e)](_0x3c4ca6),_0x3696b8=_0x2e17e6[_0x4b831c(0x302)][_0x2859cd],_0x1c40ce=_0x3696b8[_0x4b831c(0x1d8)]();let _0xb464fd=0x0;const _0x5edac1=[];for(const _0x1da2fa of _0x1c40ce){const _0x51849b=_0x3696b8['getFieldById'](_0x1da2fa);if(_0x38c467(_0x51849b)){const _0x3b5601=_0x51849b[_0x4b831c(0x2ee)](),_0x3dd6d2=_0x3696b8[_0x4b831c(0x203)](_0x3b5601);_0x3dd6d2&&_0x5edac1[_0x4b831c(0x3a1)]([_0x51849b,_0x3dd6d2]);continue;}_0x2e17e6[_0x4b831c(0x2dc)](_0x1da2fa,_0x1cb943[_0x4b831c(0x21d)],_0xb464fd),_0xb464fd++;}_0x5edac1[_0x4b831c(0x397)](([_0x4c2311,_0x3e5e28])=>{const _0x10a93d=_0x4b831c;_0x4c2311[_0x10a93d(0x2a1)](_0x3e5e28);});const _0x16d7f9=new _0x54993e(_0x3696b8);_0x16d7f9[_0x4b831c(0x344)](_0x1cb943[_0x4b831c(0x26a)]),this[_0x4b831c(0x23b)](_0x3c4ca6,_0x15c33d,_0x2859cd,_0x16d7f9,_0x1cb943);const _0x52b5f1=_0x16d7f9[_0x4b831c(0x2f4)]();_0x404dff['push']({'unitId':_0x3c4ca6,'subUnitId':_0x15c33d,'pivotTableId':_0x2859cd,'view':_0x52b5f1[_0x4b831c(0x365)](),'pivotConfig':_0x1cb943,'type':J[_0x4b831c(0x229)]});const _0x1fb030=!!_0x16d7f9[_0x4b831c(0x282)](),_0x11e90e={'view':_0x52b5f1,'pivotTableId':_0x2859cd,'textInfo':this[_0x4b831c(0x2c8)](),'isEmpty':_0x1fb030,'targetCellInfo':_0x1cb943[_0x4b831c(0x254)]};this['updateViewData'](_0x11e90e,!0x1);}});});});}_0x251982&&Object[_0x1d7e89(0x374)](_0x251982)[_0x1d7e89(0x397)](_0xe38711=>{const _0x297291=_0x1d7e89,_0x59ca8=this[_0x297291(0x37e)](_0xe38711);this[_0x297291(0x237)][_0x297291(0x1c3)](_0x59ca8['collections']);}),this[_0x1d7e89(0x367)][_0x1d7e89(0x2c6)](Dt['id'],{'batch':_0x404dff,'collectionConfig':_0x251982},{'onlyLocal':!0x0});}[_0x381a5c(0x343)](){const _0x2190ac=_0x381a5c;this['disposeWithMe'](this[_0x2190ac(0x21e)][_0x2190ac(0x14d)]({'toJson':_0xfa5ba7=>JSON[_0x2190ac(0x2c7)](this[_0x2190ac(0x365)](_0xfa5ba7)),'parseJson':_0x18873a=>{if(!_0x18873a)return{};try{return JSON['parse'](_0x18873a);}catch{return{};}},'businesses':[_0x3fc262[_0x2190ac(0x33d)]],'pluginName':ao,'onLoad':(_0x5ace4d,_0x26fe9e)=>{const _0xa2a643=_0x2190ac;this[_0xa2a643(0x344)](_0x26fe9e);},'onUnLoad':_0x429079=>{this['deleteUnitId'](_0x429079);}}));}};$=Ui([nt(0x0,_0x4b1a54(_0x5bf0f9)),nt(0x1,_0x121e43),nt(0x2,_0x4b1a54(_0x2f76fd)),nt(0x3,_0x34de0e),nt(0x4,_0x4b1a54(_0x20df2a))],$);const Vi={0x0:{0x0:{'v':_0x381a5c(0x174),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x381a5c(0x3ab),'s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x8:{0x0:{'v':_0x381a5c(0x1ea),'s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':_0x381a5c(0x334),'s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':R},0x2:{'v':'','s':R},0x3:{'v':'','s':R},0x4:{'v':'','s':R},0x5:{'v':'','s':R}}},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':[]},Go=(_0x2f78d6,_0x18426e)=>{const _0x6e860d=_0x381a5c,_0x3a10ce=new _0x399667(),_0x2069aa=new _0x399667(Vi),{row:_0x4d8372,col:_0x3f2b30}=_0x18426e;_0x2069aa[_0x6e860d(0x380)]((_0x3f44fb,_0x5c329a,_0x47b76b)=>{const _0x10c1e0=_0x6e860d;let _0x246de4='';_0x47b76b['v']===_0x10c1e0(0x174)?_0x246de4=_0x2f78d6['filter']:_0x47b76b['v']===_0x10c1e0(0x1ea)?_0x246de4=_0x2f78d6[_0x10c1e0(0x1ea)]:_0x47b76b['v']==='column'?_0x246de4=_0x2f78d6[_0x10c1e0(0x3ab)]:_0x47b76b['v']==='values'&&(_0x246de4=_0x2f78d6[_0x10c1e0(0x334)]),_0x3a10ce[_0x10c1e0(0x18e)](_0x3f44fb+_0x4d8372,_0x5c329a+_0x3f2b30,{..._0x47b76b,'v':_0x246de4});});const _0x535a02=_0xb5c948[_0x6e860d(0x29f)](Lt);return Object[_0x6e860d(0x374)](Lt)[_0x6e860d(0x397)](_0x44a264=>{const _0x241555=_0x6e860d;_0x535a02[_0x44a264]=Lt[_0x44a264]['map'](_0x5f4989=>({..._0x5f4989,'startRow':_0x5f4989[_0x241555(0x1dc)]+_0x4d8372,'endRow':_0x5f4989[_0x241555(0x39a)]+_0x4d8372,'startColumn':_0x5f4989[_0x241555(0x187)]+_0x3f2b30,'endColumn':_0x5f4989['endColumn']+_0x3f2b30}));}),{'matrixCache':_0x3a10ce,'rangesCache':_0x535a02};};function xi(_0x50e1d2,_0x96e172){const _0x49142c=_0x381a5c;let _0x42e831='';const _0xa24e75=this['getTextInfo']();switch(_0x96e172){case _0x363f11[_0x49142c(0x262)]:_0x42e831=_0xa24e75[_0x49142c(0x1f1)]+_0x50e1d2;break;case _0x363f11[_0x49142c(0x293)]:_0x42e831=_0xa24e75[_0x49142c(0x327)]+_0x50e1d2;break;case _0x363f11[_0x49142c(0x335)]:_0x42e831=_0xa24e75[_0x49142c(0x14c)]+_0x50e1d2;break;case _0x363f11[_0x49142c(0x346)]:_0x42e831=_0xa24e75['sheets-pivot.maxName']+_0x50e1d2;break;case _0x363f11[_0x49142c(0x2d1)]:_0x42e831=_0xa24e75[_0x49142c(0x315)]+_0x50e1d2;break;case _0x363f11[_0x49142c(0x33e)]:_0x42e831=_0xa24e75[_0x49142c(0x195)]+_0x50e1d2;break;case _0x363f11[_0x49142c(0x1dd)]:_0x42e831=_0xa24e75['sheets-pivot.stdDevName']+_0x50e1d2;break;case _0x363f11[_0x49142c(0x2b7)]:_0x42e831=_0xa24e75[_0x49142c(0x277)]+_0x50e1d2;break;case _0x363f11['sum']:_0x42e831=_0xa24e75[_0x49142c(0x364)]+_0x50e1d2;break;case _0x363f11[_0x49142c(0x20a)]:_0x42e831=_0xa24e75['sheets-pivot.varName']+_0x50e1d2;break;case _0x363f11['varp']:_0x42e831=_0xa24e75[_0x49142c(0x35a)]+_0x50e1d2;break;default:_0x42e831=_0x50e1d2;break;}return _0x42e831;}function Ai(_0x25032c,_0x53270b,_0x4f28d9,_0x19504d,_0x2022be){const _0x57cc3d=_0x381a5c;var _0x32d0ff,_0x14fd99,_0x513119,_0x36176d,_0x580ec0;const _0x1d16ef=_0x36b650(_0x25032c,_0x53270b),{rangesInfo:_0x330afd,areaInfo:_0x1a416d,headerMap:_0x47a324}=_0x2022be;if(!_0x330afd||!_0x1a416d||!_0x47a324)return;const _0x4c6118=Object['keys'](_0x330afd)[_0x57cc3d(0x378)](_0x14a111=>_0x330afd[_0x14a111][_0x57cc3d(0x1fd)](_0x1d596f=>_0x293797[_0x57cc3d(0x354)](_0x1d596f,_0x1d16ef))),_0x3c6338=_0x1a416d;let _0x2478e6,_0xf069c3,_0x64d55d;if(_0x4c6118===_0x57cc3d(0x1a2))_0x2478e6=(_0x32d0ff=_0x3c6338==null?void 0x0:_0x3c6338[_0x57cc3d(0x338)])==null?void 0x0:_0x32d0ff[_0x25032c],_0xf069c3=(_0x14fd99=_0x47a324==null?void 0x0:_0x47a324[_0x57cc3d(0x3b0)])==null?void 0x0:_0x14fd99[_0x53270b],_0x64d55d=_0xf069c3==null?void 0x0:_0xf069c3[_0x57cc3d(0x209)];else{if(_0x4c6118===_0x57cc3d(0x2b5))_0x2478e6=(_0x513119=_0x3c6338==null?void 0x0:_0x3c6338[_0x57cc3d(0x3c8)])==null?void 0x0:_0x513119[_0x53270b],_0xf069c3=(_0x36176d=_0x47a324[_0x57cc3d(0x31f)])==null?void 0x0:_0x36176d[_0x25032c+0x1+_0x53270b-_0x330afd[_0x57cc3d(0x2b5)][0x0][_0x57cc3d(0x187)]],_0x64d55d=_0xf069c3==null?void 0x0:_0xf069c3[_0x57cc3d(0x209)];else{if(_0x4c6118==='cornerRanges')_0x2478e6=(_0x580ec0=_0x3c6338==null?void 0x0:_0x3c6338[_0x57cc3d(0x180)])==null?void 0x0:_0x580ec0[_0x53270b],_0x64d55d=_0x2478e6==null?void 0x0:_0x2478e6['tableFieldId'];else{if(_0x4c6118===_0x57cc3d(0x1c2)){const _0x126eb1=_0x4f28d9==null?void 0x0:_0x4f28d9['fi'];_0x126eb1!==void 0x0&&(_0x64d55d=_0x19504d[_0x57cc3d(0x243)](_0x126eb1));}}}}return{'filterId':_0x64d55d,'info':_0x2478e6,'data':_0x4f28d9,'headerInfo':_0xf069c3};}function ki(_0x23ce54,_0x5ac6ae,_0x355165){const _0x28d2c0=_0x381a5c,_0x25d50b=_0x23ce54[_0x28d2c0(0x3b6)],_0x57f826=_0x25d50b['getFieldIds'](),_0x566a83=new Set();_0x23ce54['iterateField'](_0x2b9865=>{const _0x44f0a3=_0x28d2c0;_0x566a83[_0x44f0a3(0x3b5)](_0x2b9865[_0x44f0a3(0x2e0)]);});const _0x2a3cc6=_0x57f826[_0x28d2c0(0x15c)](_0x29a1b0=>{const _0x2067a2=_0x28d2c0,_0x37c182=_0x25d50b[_0x2067a2(0x203)](_0x29a1b0);return{'checked':_0x566a83[_0x2067a2(0x2d7)](_0x29a1b0),'dataFieldId':_0x37c182['id'],'id':_0x37c182['id'],'name':_0x25d50b[_0x2067a2(0x27b)](_0x37c182['id']),'type':_0x37c182[_0x2067a2(0x352)](),'pivotTableId':_0x5ac6ae};}),_0xf4ed25=[];_0x23ce54[_0x28d2c0(0x1e1)](_0x1a0bb8[_0x28d2c0(0x216)],_0x1a34ea=>{const _0x514539=_0x28d2c0;_0xf4ed25[_0x514539(0x3a1)]({'dataFieldId':_0x1a34ea[_0x514539(0x2e0)],'tableFieldId':_0x1a34ea[_0x514539(0x2a2)](),'displayName':_0x1a34ea[_0x514539(0x27b)]()});});const _0x209101=[];_0x23ce54[_0x28d2c0(0x1e1)](_0x1a0bb8[_0x28d2c0(0x294)],_0x359ee7=>{const _0x9eae06=_0x28d2c0;_0x209101[_0x9eae06(0x3a1)]({'dataFieldId':_0x359ee7[_0x9eae06(0x2e0)],'tableFieldId':_0x359ee7[_0x9eae06(0x2a2)](),'displayName':_0x359ee7['getDisplayName']()});});const _0x454c9c=[];if(_0x23ce54[_0x28d2c0(0x1e1)](_0x1a0bb8[_0x28d2c0(0x2ac)],_0x5808a1=>{const _0x23c24a=_0x28d2c0;_0x454c9c[_0x23c24a(0x3a1)]({'dataFieldId':_0x5808a1['dataFieldId'],'tableFieldId':_0x5808a1[_0x23c24a(0x2a2)](),'displayName':_0x5808a1[_0x23c24a(0x27b)](),'format':_0x5808a1[_0x23c24a(0x18a)](),'subTotalType':_0x5808a1[_0x23c24a(0x2a4)]()});}),_0x454c9c[_0x28d2c0(0x173)]>0x1){const _0xaa4346=_0x23ce54[_0x28d2c0(0x178)]();(_0x23ce54[_0x28d2c0(0x23a)]()?_0x209101:_0xf4ed25)[_0x28d2c0(0x35d)](_0xaa4346,0x0,{'dataFieldId':'','tableFieldId':_0x28d2c0(0x1b6),'displayName':_0x28d2c0(0x1ec)});}const _0x1cbd77=[];_0x23ce54[_0x28d2c0(0x1e1)](_0x1a0bb8[_0x28d2c0(0x1be)],_0x24caa7=>{const _0x3afb07=_0x28d2c0;_0x1cbd77[_0x3afb07(0x3a1)]({'dataFieldId':_0x24caa7['dataFieldId'],'tableFieldId':_0x24caa7[_0x3afb07(0x2a2)](),'displayName':_0x24caa7[_0x3afb07(0x27b)]()});});const _0x3b01c6=_0x355165[_0x28d2c0(0x21d)];return{'sourceList':_0x2a3cc6,'sourceRange':_0x3b01c6,'rowFields':_0xf4ed25,'columnFields':_0x209101,'valueFields':_0x454c9c,'filterFields':_0x1cbd77,'positionInfo':_0x355165['targetCellInfo']};}function fo(_0x3533c0,_0xd7a4b6,_0x4f6908='',_0x2ead81={}){const _0x254040=_0x381a5c,_0x698ff7=_0x3533c0[_0x254040(0x1b0)](_0x2d274a);for(const _0x1a89b6 in _0xd7a4b6)if(Object[_0x254040(0x16b)]['hasOwnProperty'][_0x254040(0x205)](_0xd7a4b6,_0x1a89b6)){const _0x177144=_0x4f6908?_0x4f6908+'.'+_0x1a89b6:_0x1a89b6;typeof _0xd7a4b6[_0x1a89b6]==_0x254040(0x3cd)&&_0xd7a4b6[_0x1a89b6]!==null&&!Array[_0x254040(0x156)](_0xd7a4b6[_0x1a89b6])?fo(_0x3533c0,_0xd7a4b6[_0x1a89b6],_0x177144,_0x2ead81):_0x2ead81[_0x177144]=_0x698ff7['t'](_0x177144);}return _0x2ead81;}const Jt=_0x528cdd=>{const _0x2aed54=_0x381a5c;if(!_0x528cdd)return[];const {rowRanges:_0x32f123,colRanges:_0x10b3ef,cornerRanges:_0x4c15d6,dataRanges:_0x442d43,pageRanges:_0x127689}=_0x528cdd,_0x537113=[..._0x10b3ef,..._0x32f123,..._0x442d43,..._0x4c15d6][_0x2aed54(0x174)](_0x156394=>_0x156394[_0x2aed54(0x1dc)]>=0x0&&_0x156394[_0x2aed54(0x187)]>=0x0&&_0x156394[_0x2aed54(0x39a)]>=0x0&&_0x156394[_0x2aed54(0x1f3)]>=0x0);let _0x578058=Number[_0x2aed54(0x2e7)],_0x35e205=Number[_0x2aed54(0x393)],_0xbdcf52=Number[_0x2aed54(0x2e7)],_0x39714e=Number['MIN_SAFE_INTEGER'];for(let _0x4c54dc=0x0;_0x4c54dc<_0x537113[_0x2aed54(0x173)];_0x4c54dc++)_0x578058=Math[_0x2aed54(0x2d1)](_0x578058,_0x537113[_0x4c54dc][_0x2aed54(0x1dc)]),_0x35e205=Math[_0x2aed54(0x346)](_0x35e205,_0x537113[_0x4c54dc]['endRow']),_0xbdcf52=Math['min'](_0xbdcf52,_0x537113[_0x4c54dc][_0x2aed54(0x187)]),_0x39714e=Math['max'](_0x39714e,_0x537113[_0x4c54dc]['endColumn']);return[..._0x127689,{'startRow':_0x578058,'endRow':_0x35e205,'startColumn':_0xbdcf52,'endColumn':_0x39714e}];};function Bi(_0x2e620c,_0x19579f){const _0x2d1d31=_0x381a5c,_0xd78be=_0x19579f['params'][_0x2d1d31(0x36f)],{pivotTableId:_0xd5c197,unitId:_0x284179,subUnitId:_0x21863d}=_0x19579f;if(!_0xd78be)return;const _0x4aebd9=_0x2e620c[_0x2d1d31(0x1b0)]($),_0x1ec7b3=_0x4aebd9[_0x2d1d31(0x31e)](_0xd5c197),_0x5e3888=_0x4aebd9[_0x2d1d31(0x260)](_0x284179,_0x21863d,_0xd5c197);if(!_0x1ec7b3||!_0x5e3888)return;const _0x92cfd6=_0x1ec7b3[_0x2d1d31(0x2a8)](_0xd78be[_0x2d1d31(0x1e7)]);if(!(_0x92cfd6!=null&&_0x92cfd6[_0x2d1d31(0x173)]))return;const _0x24847f=_0x5e3888['sourceRangeInfo'],{unitId:_0x5949ac,subUnitId:_0x46fc5b,range:_0xc94332}=_0x24847f;let _0x37f482=0x0;const _0x56b02e=_0x1ec7b3[_0x2d1d31(0x3b6)]['getFieldIds']()[_0x2d1d31(0x289)]((_0x1a5ecc,_0x2e3cb5)=>{var _0x17754b;const _0x814df9=(_0x17754b=_0x1ec7b3['getDataFieldByDataFieldId'](_0x2e3cb5))==null?void 0x0:_0x17754b['getformat']();return _0x814df9&&(_0x1a5ecc[String(_0x37f482)]=_0x814df9),_0x37f482++,_0x1a5ecc;},{});return{'indexes':_0x92cfd6,'range':_0xc94332,'sourceUnitId':_0x5949ac,'sourceSubUnitId':_0x46fc5b,'formatMap':_0x56b02e};}function qo(_0xec4c6f,_0x46d548){const _0x447ac9=_0x381a5c;if(!_0xec4c6f||!_0x46d548)return!0x0;const _0x2d7bb2=_0xe5aa76(Wo,jo),_0xcb0d35=new Function('return\x20'+_0x2d7bb2)()(_0xec4c6f,_0x46d548)[_0x447ac9(0x357)],_0x594e0a=_0x5d105c(_0xcb0d35,'sf',ko);return!((_0xcb0d35==null?void 0x0:_0xcb0d35['rt'])===_0x73259b[_0x447ac9(0x299)]&&!_0x594e0a);}function go(_0x382e90,_0x3d8f56,_0x1de630){const _0x21eede=_0x381a5c,_0x1c9f3d={'count':_0x382e90,'timeValid':!0x1};if(!_0x3d8f56||!_0x1de630)return _0x1c9f3d;const _0x1fd5a3=_0xe5aa76(Wo,jo),_0x326189=new Function(_0x21eede(0x3c4)+_0x1fd5a3)()(_0x3d8f56,_0x1de630);if(_0x326189!=null&&_0x326189['valid']){const _0x115303=_0x326189['message'],_0x3f331b=_0x5d105c(_0x115303,'sf',ko);return{'count':_0x255964(_0x115303,_0x3f331b,'ptn',_0x382e90,_0x382e90,0x0),'timeValid':_0x3f331b};}return _0x1c9f3d;}function Ko(_0x22f715,_0x1fd820,_0x4d6280,_0x50b2c7){const _0x42f42d=_0x381a5c,_0x4c01fd={'subUnitId':_0x4d6280,'unitId':_0x1fd820,'cellValue':_0x211e73(_0x50b2c7)},_0x183e76=_0x36dad3(_0x22f715,_0x4c01fd);let _0x2592f6=!0x1;return new _0x399667(_0x183e76['cellValue'])[_0x42f42d(0x380)]((_0x101e54,_0x40a17b,_0x3b623f)=>{const _0xb4134a=_0x42f42d;if(!_0x2592f6&&_0x3b623f&&(_0x3b623f[_0xb4134a(0x227)]||_0x3b623f['f']||_0x3b623f['p']||_0x3b623f['s']||_0x3b623f['si']||_0x3b623f['t']||_0x3b623f['v']))return _0x2592f6=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x12dc3c['id'],'params':_0x183e76},'setRangeValueRedoMutation':{'id':_0x12dc3c['id'],'params':_0x4c01fd},'shouldClear':_0x2592f6};}function Li(_0x37a5c0){const {row:_0x22faad,col:_0x29604d}=_0x37a5c0,_0x3c3248={'startRow':_0x22faad,'endRow':_0x22faad,'startColumn':_0x29604d,'endColumn':_0x29604d},_0x2fbfe4={'startRow':_0x22faad+0x2,'endRow':_0x22faad+0xe,'startColumn':_0x29604d,'endColumn':_0x29604d+0x6};return[_0x3c3248,_0x2fbfe4];}function Ji(_0x2d78e0,_0x550026,_0x14fb1d){const _0x2734f6=_0x381a5c,{cornerView:_0x60ce3,rowView:_0x43e671,colView:_0x45a457,pageView:_0x1a7f97}=_0x2d78e0,{row:_0xb5ee2a,col:_0x47735e}=_0x550026;if(_0x14fb1d)return{'rowCount':Ci+_0xb5ee2a,'colCount':bi+_0x47735e};const _0x5c4a14=_0x1a7f97['lastRow']>-0x1?_0x1a7f97[_0x2734f6(0x1cb)]+0x1:0x0,_0x18d4cc=_0x1a7f97['lastCol']>-0x1?_0x1a7f97[_0x2734f6(0x297)]:0x0,_0x1e4f6a=_0xb5ee2a+_0x5c4a14+(_0x5c4a14?0x1:0x0)+_0x60ce3[_0x2734f6(0x33a)]+_0x43e671[_0x2734f6(0x33a)],_0xb67d2d=_0x47735e+_0x18d4cc,_0x30a4b2=_0x47735e+_0x60ce3[_0x2734f6(0x267)]+_0x45a457[_0x2734f6(0x267)],_0x26ae0b=Math['max'](_0xb67d2d,_0x30a4b2);return{'rowCount':_0x1e4f6a,'colCount':_0x26ae0b};}function we(_0x4e68de,_0x454bc5,_0x1a7fc8,_0x1aeed){const _0x3523c3=_0x381a5c,{row:_0x5571a8,col:_0xe61f32,unitId:_0x404b7c,subUnitId:_0x84341}=_0x1a7fc8,_0x4ed9c0=Ji(_0x454bc5,{'row':_0x5571a8,'col':_0xe61f32},_0x1aeed),_0xabdc95=_0x4e68de[_0x3523c3(0x1b0)](_0x121e43),_0x122456=_0x19f1df(_0xabdc95,{'unitId':_0x404b7c,'subUnitId':_0x84341}),_0x57e299=[],_0x245004=[];if(!_0x122456)return{'undos':_0x245004,'redos':_0x57e299};const {worksheet:_0x5b1d5f}=_0x122456,_0x5146a4=_0x5b1d5f[_0x3523c3(0x358)](),_0xca4ef2=_0x5b1d5f[_0x3523c3(0x1e5)]();return _0x5146a4<_0x4ed9c0[_0x3523c3(0x33a)]&&(_0x57e299[_0x3523c3(0x3a1)]({'id':_0x624abc['id'],'params':{'unitId':_0x404b7c,'subUnitId':_0x84341,'range':{'startRow':_0x5146a4,'endRow':_0x4ed9c0[_0x3523c3(0x33a)]-0x1,'startColumn':0x0,'endColumn':_0xca4ef2-0x1}}}),_0x245004[_0x3523c3(0x3a1)]({'id':_0x1b5bb8['id'],'params':{'unitId':_0x404b7c,'subUnitId':_0x84341,'range':{'startRow':_0x5146a4,'endRow':_0x4ed9c0[_0x3523c3(0x33a)]-0x1,'startColumn':0x0,'endColumn':_0xca4ef2-0x1}}})),_0xca4ef2<_0x4ed9c0[_0x3523c3(0x267)]&&(_0x57e299['push']({'id':_0x17984a['id'],'params':{'unitId':_0x404b7c,'subUnitId':_0x84341,'range':{'startRow':0x0,'endRow':_0x5146a4-0x1,'startColumn':_0xca4ef2,'endColumn':_0x4ed9c0['colCount']-0x1}}}),_0x245004[_0x3523c3(0x3a1)]({'id':_0x3a8753['id'],'params':{'unitId':_0x404b7c,'subUnitId':_0x84341,'range':{'startRow':0x0,'endRow':_0x5146a4-0x1,'startColumn':_0xca4ef2,'endColumn':_0x4ed9c0['colCount']-0x1}}})),{'undos':_0x245004,'redos':_0x57e299};}function $i(_0x192d07){const _0x5ae7b6=_0x381a5c;let _0x3233fb=0x0;for(let _0x50cc21=0x0;_0x50cc21<_0x192d07[_0x5ae7b6(0x173)];_0x50cc21++){const _0x329ac4=_0x192d07['charCodeAt'](_0x50cc21);_0x329ac4>=0x4e00&&_0x329ac4<=0x9fff||_0x329ac4>=0x3000&&_0x329ac4<=0x303f||_0x329ac4>=0xff00&&_0x329ac4<=0xffef?_0x3233fb+=0x2:_0x3233fb+=0x1;}return _0x3233fb;}function To(_0x5c81b4,_0x57c22d,_0x490cdd,_0x46eef0){const _0x125ad2=_0x381a5c;var _0x395d19,_0xc31cdc,_0x21891c,_0xe91c5b;const {rowCount:_0x4be630,colCount:_0x1aadeb,headerMap:_0x4652de}=_0x5c81b4,_0x104b1c=0x64,_0x57dd49=Math[_0x125ad2(0x2d1)](_0x4be630,_0x104b1c),_0x46f05c=Math[_0x125ad2(0x2d1)](_0x1aadeb,_0x104b1c);let _0xaf175d='',_0x510ff2=0x0;for(let _0x36a044=0x0;_0x36a044<_0x57dd49;_0x36a044++)for(let _0x4ea132=0x0;_0x4ea132<_0x46f05c;_0x4ea132++){const _0x5c7223={...(_0xc31cdc=(_0x395d19=_0x5c81b4[_0x125ad2(0x2dd)])==null?void 0x0:_0x395d19[_0x36a044])==null?void 0x0:_0xc31cdc[_0x4ea132]},_0x1f8ba=(_0x21891c=_0x4652de[_0x36a044])==null?void 0x0:_0x21891c['tableFieldId'],_0x11f797=_0x46eef0[_0x1f8ba];let _0x21506e=_0x5c81b4['getValue'](_0x36a044,_0x4ea132);if(_0x5c7223){const _0x333104=_0x490cdd?_0x4ea132===0x0&&((_0xe91c5b=_0x5c81b4['getHeaderMapItem'](_0x4ea132+0x1))==null?void 0x0:_0xe91c5b[_0x125ad2(0x28a)]):!0x1;_0x21506e=vt(_0x5c7223,_0x333104,_0x11f797,_0x57c22d);}if(_0x21506e!==void 0x0){const _0x395747=$i(String(_0x21506e));_0x510ff2<_0x395747&&(_0xaf175d=String(_0x21506e),_0x510ff2=_0x395747);}}return _0xaf175d;}function ji(_0x24b151){const _0x2a160a=_0x381a5c,{rowCount:_0x305d1e,colCount:_0x517fc0}=_0x24b151;let _0x25336a='',_0x57d8bf=0x0;for(let _0x436c77=_0x305d1e-0x1;_0x436c77>0x0&&_0x436c77>_0x305d1e-0x3;_0x436c77--)for(let _0x1bc89f=0x0;_0x1bc89f<_0x517fc0;_0x1bc89f++){const _0x5435b7=_0x24b151['getValue'](_0x436c77,_0x1bc89f);if(_0x5435b7!==void 0x0){const _0x481382=String(_0x5435b7)[_0x2a160a(0x173)];_0x57d8bf<_0x481382&&(_0x25336a=String(_0x5435b7),_0x57d8bf=_0x481382);}}return _0x25336a;}function Wi(_0x480d3b){const _0x2f32de=_0x381a5c,{rowCount:_0x5ed20f,colCount:_0x13b753}=_0x480d3b;let _0x4284bf='',_0xda9394=0x0;for(let _0x5a1843=0x0;_0x5a1843<_0x5ed20f;_0x5a1843++)for(let _0x4d0389=0x0;_0x4d0389<_0x13b753;_0x4d0389++){const _0x1b9e1e=_0x480d3b[_0x2f32de(0x2bc)](_0x5a1843,_0x4d0389);if(_0x1b9e1e!==void 0x0){const _0x4f697e=String(_0x1b9e1e)[_0x2f32de(0x173)];_0xda9394<_0x4f697e&&(_0x4284bf=String(_0x1b9e1e),_0xda9394=_0x4f697e);}}return _0x4284bf;}function _0x1367(_0x5d290c,_0x21f51e){const _0x595bca=_0x595b();return _0x1367=function(_0x13670c,_0x460464){_0x13670c=_0x13670c-0x14a;let _0x44c894=_0x595bca[_0x13670c];return _0x44c894;},_0x1367(_0x5d290c,_0x21f51e);}function Gi(_0x575e77,_0x296e96){const _0x554f99=_0x381a5c,{rowFields:_0x53bbe5,columnFields:_0x4318e1,valueFields:_0x538610,filterFields:_0x547abb,dimension:_0x2353ec,measure:_0x46a720}=_0x296e96;for(const _0xf25d98 of _0x53bbe5){const _0x47a057=_0x2353ec[_0xf25d98];_0x47a057&&_0x575e77['getDataFieldByDataFieldId'](_0x47a057[_0x554f99(0x2e0)])&&(_0x575e77['addFieldWithSourceId'](_0x47a057[_0x554f99(0x2e0)],_0x1a0bb8['Row'],void 0x0,_0xf25d98),_0x47a057[_0x554f99(0x269)]&&_0x575e77[_0x554f99(0x1bd)](_0x47a057['id'],_0x47a057[_0x554f99(0x269)]),_0x47a057[_0x554f99(0x242)]&&_0x575e77[_0x554f99(0x312)](_0x47a057['id'],_0x47a057[_0x554f99(0x242)]),_0x47a057[_0x554f99(0x2ba)]&&_0x575e77[_0x554f99(0x29b)](_0x47a057['id'],_0x47a057[_0x554f99(0x2ba)]));}for(const _0x292478 of _0x4318e1){const _0x2950f6=_0x2353ec[_0x292478];_0x2950f6&&_0x575e77['getDataFieldByDataFieldId'](_0x2950f6[_0x554f99(0x2e0)])&&(_0x575e77[_0x554f99(0x3b9)](_0x2950f6[_0x554f99(0x2e0)],_0x1a0bb8['Column'],void 0x0,_0x292478),_0x2950f6[_0x554f99(0x242)]&&_0x575e77[_0x554f99(0x312)](_0x2950f6['id'],_0x2950f6[_0x554f99(0x242)]),_0x2950f6[_0x554f99(0x2ba)]&&_0x575e77[_0x554f99(0x29b)](_0x2950f6['id'],_0x2950f6[_0x554f99(0x2ba)]),_0x2950f6[_0x554f99(0x269)]&&_0x575e77[_0x554f99(0x1bd)](_0x2950f6['id'],_0x2950f6[_0x554f99(0x269)]));}for(const _0x7c0f56 of _0x547abb){const _0x553f57=_0x2353ec[_0x7c0f56];_0x553f57&&_0x575e77['getDataFieldByDataFieldId'](_0x553f57[_0x554f99(0x2e0)])&&(_0x575e77['addFieldWithSourceId'](_0x553f57['dataFieldId'],_0x1a0bb8[_0x554f99(0x1be)],void 0x0,_0x7c0f56),_0x553f57[_0x554f99(0x242)]&&_0x575e77[_0x554f99(0x312)](_0x553f57['id'],_0x553f57[_0x554f99(0x242)]),_0x553f57['filterInfo']&&_0x575e77[_0x554f99(0x29b)](_0x553f57['id'],_0x553f57[_0x554f99(0x2ba)]),_0x553f57[_0x554f99(0x269)]&&_0x575e77['renameField'](_0x553f57['id'],_0x553f57['displayName']));}for(const _0x2cd264 of _0x538610){const _0x4d59af=_0x46a720[_0x2cd264];_0x4d59af&&_0x575e77[_0x554f99(0x37d)](_0x4d59af[_0x554f99(0x2e0)])&&(_0x575e77[_0x554f99(0x3b9)](_0x4d59af[_0x554f99(0x2e0)],_0x1a0bb8[_0x554f99(0x2ac)],void 0x0,_0x2cd264),_0x4d59af[_0x554f99(0x309)]!==void 0x0&&_0x575e77['setSubtotalType'](_0x2cd264,_0x4d59af[_0x554f99(0x309)]),_0x4d59af[_0x554f99(0x3a2)]&&_0x575e77['setFieldFormat'](_0x2cd264,_0x4d59af[_0x554f99(0x3a2)]),_0x4d59af[_0x554f99(0x269)]&&_0x575e77[_0x554f99(0x1bd)](_0x4d59af['id'],_0x4d59af[_0x554f99(0x269)]));}const _0x653f67=_0x296e96[_0x554f99(0x1de)];for(const {fieldId:_0x57e1fc,filterInfo:_0x3182f3}of _0x653f67)_0x575e77[_0x554f99(0x392)](_0x57e1fc,_0x3182f3);}function qi(_0x2b4e6a,_0x5988e5){const _0x39d8ca=_0x381a5c,_0x348fe6=[];_0x5988e5===_0x1a0bb8['Row']&&_0x2b4e6a[_0x39d8ca(0x1e1)](_0x1a0bb8[_0x39d8ca(0x216)],_0x5d4009=>{const _0x107094=_0x39d8ca;_0x348fe6[_0x107094(0x3a1)](_0x5d4009[_0x107094(0x2a2)]());}),_0x5988e5===_0x1a0bb8['Column']&&_0x2b4e6a[_0x39d8ca(0x1e1)](_0x1a0bb8['Column'],_0x5879b3=>{const _0x3712f3=_0x39d8ca;_0x348fe6[_0x3712f3(0x3a1)](_0x5879b3[_0x3712f3(0x2a2)]());}),_0x5988e5===_0x1a0bb8['Filter']&&_0x2b4e6a['iterateFieldByArea'](_0x1a0bb8[_0x39d8ca(0x1be)],_0x28d58f=>{const _0x230e06=_0x39d8ca;_0x348fe6[_0x230e06(0x3a1)](_0x28d58f[_0x230e06(0x2a2)]());}),_0x5988e5===_0x1a0bb8[_0x39d8ca(0x2ac)]&&_0x2b4e6a[_0x39d8ca(0x1e1)](_0x1a0bb8[_0x39d8ca(0x2ac)],_0x51ce80=>{const _0x27474b=_0x39d8ca;_0x348fe6[_0x27474b(0x3a1)](_0x51ce80[_0x27474b(0x2a2)]());}),_0x5988e5===void 0x0&&_0x2b4e6a[_0x39d8ca(0x1ef)](_0x4ac2d3=>{const _0x51f453=_0x39d8ca;_0x348fe6[_0x51f453(0x3a1)](_0x4ac2d3[_0x51f453(0x2a2)]());});const _0x26d2b6=_0x348fe6['length'];for(let _0x4e2a17=_0x26d2b6-0x1;_0x4e2a17>=0x0;_0x4e2a17--)_0x2b4e6a[_0x39d8ca(0x361)](_0x348fe6[_0x4e2a17]);const _0x3e0e97=_0x2b4e6a['getValueFilterInfos']();for(const _0x761756 in _0x3e0e97)_0x2b4e6a[_0x39d8ca(0x300)](_0x761756);}function Ki(_0x22ed81,_0x3b7b74){const _0x1d486c=_0x381a5c,_0x21d0d5=new Date(_0x41cad6(_0x3b7b74)),_0x43bb42=new Date(_0x41cad6(_0x22ed81)),_0x30ba78=_0x21d0d5['getFullYear'](),_0x25df5d=_0x43bb42[_0x1d486c(0x353)](),_0x13667c=_0x21d0d5['getMonth'](),_0x1e2ee9=_0x43bb42[_0x1d486c(0x247)](),_0x4f5f04=_0x21d0d5['getDate'](),_0x2e5a76=_0x43bb42[_0x1d486c(0x314)](),_0x59f0f3=_0x30ba78===_0x25df5d,_0x190c5d=_0x59f0f3&&_0x13667c===_0x1e2ee9;return _0x59f0f3&&_0x190c5d&&!(_0x190c5d&&_0x4f5f04===_0x2e5a76)?_0x5f51fd[_0x1d486c(0x18c)]:_0x59f0f3&&!_0x190c5d?_0x5f51fd[_0x1d486c(0x326)]:_0x5f51fd[_0x1d486c(0x1b7)];}function Ho(_0x44f4ef,_0x85971f){const _0x1666f4=_0x381a5c,_0x1c27b4=_0x44f4ef[_0x1666f4(0x1b0)]($)[_0x1666f4(0x2c8)]();let _0x31da52='';switch(_0x85971f){case _0x5f51fd[_0x1666f4(0x18c)]:_0x31da52=_0x1c27b4['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x5f51fd['YearMonth']:_0x31da52=_0x1c27b4[_0x1666f4(0x386)];break;case _0x5f51fd[_0x1666f4(0x1b7)]:_0x31da52=_0x1c27b4[_0x1666f4(0x221)];break;case _0x5f51fd[_0x1666f4(0x3ae)]:_0x31da52=_0x1c27b4['sheets-pivot.dateGroup.month'];break;case _0x5f51fd[_0x1666f4(0x14a)]:_0x31da52=_0x1c27b4['sheets-pivot.dateGroup.quarter'];break;case _0x5f51fd[_0x1666f4(0x324)]:_0x31da52=_0x1c27b4[_0x1666f4(0x20c)];break;case _0x5f51fd['HourMinute']:_0x31da52=_0x1c27b4[_0x1666f4(0x2d9)];break;case _0x5f51fd[_0x1666f4(0x24f)]:_0x31da52=_0x1c27b4[_0x1666f4(0x2b4)];break;case _0x5f51fd['Minute']:_0x31da52=_0x1c27b4['sheets-pivot.dateGroup.minute'];break;case _0x5f51fd[_0x1666f4(0x1e4)]:_0x31da52=_0x1c27b4['sheets-pivot.dateGroup.monthDate'];break;case _0x5f51fd[_0x1666f4(0x250)]:_0x31da52=_0x1c27b4[_0x1666f4(0x351)];break;default:_0x31da52='';break;}return _0x31da52;}const Yo=_0x381a5c(0x25c),yo={};var Hi=Object['getOwnPropertyDescriptor'],Yi=(_0x7e2956,_0x2b4fc4,_0x5589f2,_0x17b865)=>{const _0x4eb0a3=_0x381a5c;for(var _0xc1c30d=_0x17b865>0x1?void 0x0:_0x17b865?Hi(_0x2b4fc4,_0x5589f2):_0x2b4fc4,_0x4a6929=_0x7e2956[_0x4eb0a3(0x173)]-0x1,_0x272cd6;_0x4a6929>=0x0;_0x4a6929--)(_0x272cd6=_0x7e2956[_0x4a6929])&&(_0xc1c30d=_0x272cd6(_0xc1c30d)||_0xc1c30d);return _0xc1c30d;},it=(_0x3c6e53,_0xeb2952)=>(_0x3ec69e,_0x1a0f51)=>_0xeb2952(_0x3ec69e,_0x1a0f51,_0x3c6e53);let ve=class extends _0x131022{constructor(_0x340cd5,_0x785ba4,_0x4e2fee,_0x3b85c8,_0x6d56df){const _0x29e15b=_0x381a5c;super(),N(this,'_model',new Map()),N(this,_0x29e15b(0x212),new Map()),N(this,_0x29e15b(0x14f),new Map()),N(this,'_pivotTableMatrixInfo',new Map()),N(this,'_configVersion$',new _0x56386d()),N(this,_0x29e15b(0x268),new _0x56386d()),N(this,_0x29e15b(0x396),this[_0x29e15b(0x268)][_0x29e15b(0x32f)]()),N(this,'_pivotConfigChange$',new _0x56386d()),N(this,_0x29e15b(0x304),this['_pivotConfigChange$']['asObservable']()),N(this,'_textInfo',{}),N(this,_0x29e15b(0x3d1),this[_0x29e15b(0x175)][_0x29e15b(0x32f)]()),(this[_0x29e15b(0x383)]=_0x340cd5,this[_0x29e15b(0x367)]=_0x785ba4,this[_0x29e15b(0x153)]=_0x4e2fee,this[_0x29e15b(0x21e)]=_0x3b85c8,this[_0x29e15b(0x34f)]=_0x6d56df,this[_0x29e15b(0x342)](),this[_0x29e15b(0x257)]());const _0x252332=this[_0x29e15b(0x34f)][_0x29e15b(0x1f6)](Yo);(_0x252332==null?void 0x0:_0x252332[_0x29e15b(0x171)])===!0x0&&this[_0x29e15b(0x343)]();}['_initUnitDisposed'](){const _0x364883=_0x381a5c;this[_0x364883(0x3c9)](this[_0x364883(0x153)][_0x364883(0x215)](_0x3fc262['UNIVER_SHEET'])[_0x364883(0x21a)](_0x2be05b=>{const _0x116be8=_0x364883;this['deleteUnitId'](_0x2be05b[_0x116be8(0x3b1)]());}));}[_0x381a5c(0x1b1)](){this['_pivotInitCompleted$']['next'](!0x0);}['_initLocale'](){const _0x17de87=_0x381a5c,_0xc08021=fo(this[_0x17de87(0x383)],Lo,'',{});this[_0x17de87(0x15d)]=_0xc08021,this['_commandService'][_0x17de87(0x2c6)](uo['id'],{'textInfo':_0xc08021},{'onlyLocal':!0x0});}[_0x381a5c(0x2c8)](){return this['_textInfo'];}['updateViewInfo'](_0x127d5e,_0x1dd89f,_0x3080a7,_0x1eab3a,_0x195bb8){const _0x24f472=_0x381a5c;this[_0x24f472(0x305)](_0x127d5e,_0x1dd89f,_0x3080a7,_0x1eab3a),this[_0x24f472(0x22f)](_0x127d5e,_0x1dd89f,_0x3080a7,_0x195bb8);}['getPivotTableConfig'](_0x468895,_0x83cb65,_0x317653){const _0x460bb2=_0x381a5c;var _0x571241;const _0x1f7724=(_0x571241=this[_0x460bb2(0x2f8)][_0x460bb2(0x1b0)](_0x468895))==null?void 0x0:_0x571241[_0x460bb2(0x1b0)](_0x83cb65);if(_0x1f7724)return _0x1f7724[_0x460bb2(0x1b0)](_0x317653);}[_0x381a5c(0x337)](_0x2f4b3b,_0x254a73){const _0x48b7ee=_0x381a5c,_0x4a4577=this[_0x48b7ee(0x2f8)]['get'](_0x2f4b3b);if(_0x4a4577){for(const [_0x41cf41,_0x41a1b3]of _0x4a4577[_0x48b7ee(0x264)]())for(const [_0x314f9f,_0x1b497b]of _0x41a1b3[_0x48b7ee(0x264)]())if(_0x314f9f===_0x254a73)return _0x1b497b['targetCellInfo'];}}[_0x381a5c(0x366)](_0x20bf77,_0x4f0004,_0x37dcb3){const _0x14ba01=_0x381a5c,_0x5e4396=this[_0x14ba01(0x260)](_0x20bf77,_0x4f0004,_0x37dcb3);return _0x5e4396==null?void 0x0:_0x5e4396[_0x14ba01(0x254)];}[_0x381a5c(0x35f)](_0x4ad056,_0x59e88d){const _0x37dc37=_0x381a5c;var _0x175c7c;return(_0x175c7c=this[_0x37dc37(0x2f8)][_0x37dc37(0x1b0)](_0x4ad056))==null?void 0x0:_0x175c7c[_0x37dc37(0x1b0)](_0x59e88d);}[_0x381a5c(0x159)](_0xbb13cb,_0x217b60,_0x508b64,_0x2448d7){const _0x523b3d=_0x381a5c,_0x2419ff=this['_ensurePivotMap'](_0xbb13cb,_0x217b60);_0x2448d7?_0x2419ff[_0x523b3d(0x279)](_0x508b64,_0x2448d7):_0x2419ff[_0x523b3d(0x2e2)](_0x508b64),this[_0x523b3d(0x3b3)][_0x523b3d(0x1c3)]({'unitId':_0xbb13cb,'subUnitId':_0x217b60,'pivotTableId':_0x508b64,'pivotTableConfig':_0x2448d7});}[_0x381a5c(0x323)](_0x3cc149,_0x113cc3){const _0x1d5b5a=_0x381a5c;var _0x5b3053;return(_0x5b3053=this[_0x1d5b5a(0x212)][_0x1d5b5a(0x1b0)](_0x3cc149))==null?void 0x0:_0x5b3053[_0x1d5b5a(0x302)][_0x113cc3];}[_0x381a5c(0x2a9)](_0x233fb0,_0x3c628f){const _0xa12684=_0x381a5c;this[_0xa12684(0x212)][_0xa12684(0x279)](_0x233fb0,_0x3c628f),this[_0xa12684(0x175)]['next'](Math[_0xa12684(0x27e)]());}[_0x381a5c(0x2c4)](_0x87fdca,_0x4c90ce){const _0x46b707=_0x381a5c;let _0x587a5f=this[_0x46b707(0x2f8)][_0x46b707(0x1b0)](_0x87fdca);_0x587a5f||(_0x587a5f=new Map(),this['_model']['set'](_0x87fdca,_0x587a5f));let _0x2edd3d=_0x587a5f[_0x46b707(0x1b0)](_0x4c90ce);return _0x2edd3d||(_0x2edd3d=new Map(),_0x587a5f['set'](_0x4c90ce,_0x2edd3d)),_0x2edd3d;}['_ensurePivotTableRangeInfo'](_0x497f24,_0x485ab8){const _0x1f1320=_0x381a5c;let _0x618af9=this['_pivotTableRangeInfo'][_0x1f1320(0x1b0)](_0x497f24);_0x618af9||(_0x618af9=new Map(),this[_0x1f1320(0x14f)][_0x1f1320(0x279)](_0x497f24,_0x618af9));let _0x2c8826=_0x618af9[_0x1f1320(0x1b0)](_0x485ab8);return _0x2c8826||(_0x2c8826=new Map(),_0x618af9[_0x1f1320(0x279)](_0x485ab8,_0x2c8826)),_0x2c8826;}[_0x381a5c(0x1fe)](_0x251132,_0x5c71a3){const _0x1e6d89=_0x381a5c;let _0x244331=this[_0x1e6d89(0x313)][_0x1e6d89(0x1b0)](_0x251132);_0x244331||(_0x244331=new Map(),this[_0x1e6d89(0x313)][_0x1e6d89(0x279)](_0x251132,_0x244331));let _0x268e90=_0x244331[_0x1e6d89(0x1b0)](_0x5c71a3);return _0x268e90||(_0x268e90=new Map(),_0x244331['set'](_0x5c71a3,_0x268e90)),_0x268e90;}[_0x381a5c(0x22f)](_0x4eca4d,_0x2f8280,_0xfa714c,_0x53db8a){const _0x2d00b7=_0x381a5c;var _0x11d1a3;const _0x3c4b5f=this[_0x2d00b7(0x200)](_0x4eca4d,_0x2f8280),_0x59e878=(_0x11d1a3=_0x3c4b5f[_0x2d00b7(0x1b0)](_0xfa714c))==null?void 0x0:_0x11d1a3[_0x2d00b7(0x3c5)];_0x3c4b5f[_0x2d00b7(0x279)](_0xfa714c,{'oldRangeInfo':_0x59e878,'rangeInfo':_0x53db8a});}[_0x381a5c(0x305)](_0x4d4c4c,_0x5ea2a0,_0x383f69,_0x4f811b){const _0xc4fcad=_0x381a5c;var _0x546a0b;const _0x2859ef=this[_0xc4fcad(0x1fe)](_0x4d4c4c,_0x5ea2a0),_0x9c1190=(_0x546a0b=_0x2859ef[_0xc4fcad(0x1b0)](_0x383f69))==null?void 0x0:_0x546a0b['oldMatrix'];_0x2859ef[_0xc4fcad(0x279)](_0x383f69,{'oldMatrix':_0x9c1190,'matrix':_0x4f811b});}[_0x381a5c(0x2fb)](_0x23ad5d,_0x1f6e36,_0x9bd471){const _0x52f055=_0x381a5c;var _0x58c9c5,_0x451a34;return(_0x451a34=(_0x58c9c5=this[_0x52f055(0x14f)][_0x52f055(0x1b0)](_0x23ad5d))==null?void 0x0:_0x58c9c5['get'](_0x1f6e36))==null?void 0x0:_0x451a34[_0x52f055(0x1b0)](_0x9bd471);}[_0x381a5c(0x1a9)](_0x2c97dc,_0x263c5d,_0x230b05){const _0x41e922=_0x381a5c;var _0x1256a0,_0x4848e8;return(_0x4848e8=(_0x1256a0=this[_0x41e922(0x313)][_0x41e922(0x1b0)](_0x2c97dc))==null?void 0x0:_0x1256a0['get'](_0x263c5d))==null?void 0x0:_0x4848e8[_0x41e922(0x1b0)](_0x230b05);}[_0x381a5c(0x1f0)](_0x40f243){const _0xe204f2=_0x381a5c;this[_0xe204f2(0x2f8)][_0xe204f2(0x2e2)](_0x40f243),this['_collectionConfigModel'][_0xe204f2(0x2e2)](_0x40f243);}[_0x381a5c(0x167)](_0x1b86bc){const _0x33ae5c=_0x381a5c,_0x150553={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x33ae5c(0x212)][_0x33ae5c(0x1b0)](_0x1b86bc)&&(_0x150553[_0x33ae5c(0x202)][_0x1b86bc]=this[_0x33ae5c(0x212)][_0x33ae5c(0x1b0)](_0x1b86bc)),this[_0x33ae5c(0x2f8)][_0x33ae5c(0x1b0)](_0x1b86bc)){_0x150553[_0x33ae5c(0x317)][_0x1b86bc]={};const _0x123754=this['_model'][_0x33ae5c(0x1b0)](_0x1b86bc);_0x123754!=null&&_0x123754[_0x33ae5c(0x22d)]&&[..._0x123754[_0x33ae5c(0x374)]()][_0x33ae5c(0x397)](_0x3edd80=>{const _0x4d7220=_0x33ae5c,_0x502968=_0x123754['get'](_0x3edd80);_0x502968!=null&&_0x502968[_0x4d7220(0x22d)]&&(_0x150553[_0x4d7220(0x317)][_0x1b86bc][_0x3edd80]={},[..._0x502968[_0x4d7220(0x374)]()][_0x4d7220(0x397)](_0x2e9112=>{const _0x6ec365=_0x4d7220,_0x56892b=_0x502968[_0x6ec365(0x1b0)](_0x2e9112);_0x56892b&&(_0x150553['pivotTableConfigs'][_0x1b86bc][_0x3edd80][_0x2e9112]=_0x56892b);}));});}return _0x150553;}[_0x381a5c(0x343)](){const _0xee94d=_0x381a5c;this['disposeWithMe'](this['_resourceManagerService']['registerPluginResource']({'toJson':_0x340a67=>JSON[_0xee94d(0x2c7)](this[_0xee94d(0x167)](_0x340a67)),'parseJson':_0x33b6a4=>({}),'businesses':[_0x3fc262[_0xee94d(0x33d)]],'pluginName':ao,'onLoad':(_0x375133,_0x1e7e6c)=>{},'onUnLoad':_0x5d2004=>{this['deleteUnitId'](_0x5d2004);}}));}};ve=Yi([it(0x0,_0x4b1a54(_0x5bf0f9)),it(0x1,_0x4b1a54(_0x34de0e)),it(0x2,_0x4b1a54(_0x121e43)),it(0x3,_0x4b1a54(_0x20df2a)),it(0x4,_0x4b1a54(_0x1095fa))],ve);var Zi=Object[_0x381a5c(0x25e)],zi=(_0x215829,_0x35def1,_0x28e813,_0x359c73)=>{const _0x7f20a1=_0x381a5c;for(var _0x1d46c3=_0x359c73>0x1?void 0x0:_0x359c73?Zi(_0x35def1,_0x28e813):_0x35def1,_0x5e2764=_0x215829[_0x7f20a1(0x173)]-0x1,_0xcbebb3;_0x5e2764>=0x0;_0x5e2764--)(_0xcbebb3=_0x215829[_0x5e2764])&&(_0x1d46c3=_0xcbebb3(_0x1d46c3)||_0x1d46c3);return _0x1d46c3;},st=(_0x5a41cf,_0x3c84a3)=>(_0x560239,_0x36e11c)=>_0x3c84a3(_0x560239,_0x36e11c,_0x5a41cf);let Ee=class extends _0x131022{constructor(_0x4fb918,_0x1d6e44,_0x1e827f,_0x52b53c,_0x1c67a3){const _0x371d76=_0x381a5c;super(),N(this,_0x371d76(0x345),new Map()),N(this,_0x371d76(0x20f),new Map()),N(this,_0x371d76(0x387),new _0x56386d()),N(this,_0x371d76(0x291),this['_markDirty$']['asObservable']()),N(this,_0x371d76(0x35c),new _0x56386d()),N(this,_0x371d76(0x1ca),this[_0x371d76(0x35c)]['asObservable']()),N(this,_0x371d76(0x15d)),(this[_0x371d76(0x3c3)]=_0x4fb918,this[_0x371d76(0x383)]=_0x1d6e44,this[_0x371d76(0x172)]=_0x1e827f,this[_0x371d76(0x153)]=_0x52b53c,this['_exclusiveRangeService']=_0x1c67a3,this[_0x371d76(0x342)](),this[_0x371d76(0x257)]());}[_0x381a5c(0x257)](){const _0x3209ed=_0x381a5c;this[_0x3209ed(0x3c9)](this['_univerInstanceService'][_0x3209ed(0x215)](_0x3fc262[_0x3209ed(0x33d)])[_0x3209ed(0x21a)](_0xae9090=>{const _0x1929de=_0x3209ed;this[_0x1929de(0x1f0)](_0xae9090[_0x1929de(0x3b1)]());}));}[_0x381a5c(0x342)](){const _0x510324=_0x381a5c;this[_0x510324(0x15d)]=fo(this['_injector'],Lo,'',{});}[_0x381a5c(0x319)](_0x2a63ec){const _0x81a259=_0x381a5c,{view:_0x327697,unitId:_0x515e41,subUnitId:_0x147a5f,pivotTableId:_0x31f02d,type:_0x344df7}=_0x2a63ec,_0x18aec1=this['_sheetsPivotTableConfigModel'][_0x81a259(0x260)](_0x515e41,_0x147a5f,_0x31f02d);if(!_0x327697||!_0x18aec1||_0x344df7===J[_0x81a259(0x347)])return;const {pageView:_0xc6517f,cornerView:_0x20091d,rowView:_0x2a061f,colView:_0x126dc1,dataView:_0xc5a445}=_0x327697,_0x3fb533=_0x18aec1['targetCellInfo'],_0x21ceff=_0x18aec1['isEmpty'],_0x1c4409=this[_0x81a259(0x26d)](_0x515e41,_0x147a5f),_0x234aaa=this['_ensurePivotItemRenderInfoCache'](_0x515e41,_0x147a5f,_0x31f02d);if(_0x21ceff)return this[_0x81a259(0x3a5)](_0x2a63ec,_0x1c4409,_0x3fb533,_0x234aaa);{const _0x5942b4=ge(_0x3fb533,_0xc6517f,!0x0),_0x11c53e=_0xc6517f['lastRow']>=0x0?_0xc6517f[_0x81a259(0x1cb)]+0x1:0x0,_0x54b3a8=_0x20091d['getRowCount'](),_0x5968ff=_0x20091d['getColCount'](),_0x1e46fe=_0x5942b4[_0x81a259(0x173)]>0x0?It:0x0,_0x4d76a5=ge({'row':_0x3fb533['row']+_0x11c53e+_0x1e46fe,'col':_0x3fb533[_0x81a259(0x340)]},_0x20091d,!0x1,!0x1),_0xd24810=ge({'row':_0x3fb533[_0x81a259(0x1ea)]+_0x11c53e+_0x1e46fe+_0x54b3a8,'col':_0x3fb533['col']},_0x2a061f,!0x1,!0x0),_0x7e162f=ge({'row':_0x3fb533[_0x81a259(0x1ea)]+_0x11c53e+_0x1e46fe,'col':_0x3fb533[_0x81a259(0x340)]+_0x5968ff},_0x126dc1,!0x1,!0x0),_0x267197=ge({'row':_0x3fb533[_0x81a259(0x1ea)]+_0x11c53e+_0x1e46fe+_0x54b3a8,'col':_0x3fb533[_0x81a259(0x340)]+_0x5968ff},_0xc5a445,!0x1,!0x1);_0x234aaa[_0x81a259(0x168)]={'rowRanges':_0xd24810,'colRanges':_0x7e162f,'cornerRanges':_0x4d76a5,'dataRanges':_0x267197,'pageRanges':_0x5942b4};const _0x203260=Ti(this[_0x81a259(0x383)],_0x327697,_0x18aec1,this[_0x81a259(0x15d)]),{valueMatrix:_0xa5bd44,rowInfo:_0x50aaf7,colInfo:_0x4d94f9,cornerInfo:_0x1b4c0e,rowHeaderMap:_0xc248cf,colHeaderMap:_0x33595c}=_0x203260;return _0x234aaa[_0x81a259(0x1d9)]={'rowInfo':_0x50aaf7,'colInfo':_0x4d94f9,'cornerInfo':_0x1b4c0e},_0x234aaa[_0x81a259(0x3cb)]={'rowHeaderMap':_0xc248cf,'colHeaderMap':_0x33595c},_0xa5bd44[_0x81a259(0x397)]((_0x39862e,_0x556141)=>{const _0x3bee8d=_0x81a259;Object[_0x3bee8d(0x374)](_0x556141)[_0x3bee8d(0x397)](_0x30fbef=>{const _0x520579=_0x3bee8d,_0x525c0b=+_0x30fbef,_0x323c54=_0xa5bd44[_0x520579(0x2bc)](_0x39862e,_0x525c0b);_0x1c4409[_0x520579(0x18e)](_0x39862e,_0x525c0b,_0x323c54);});}),this[_0x81a259(0x35c)][_0x81a259(0x1c3)]({'unitId':_0x515e41,'subUnitId':_0x147a5f,'valueMatrix':_0x1c4409,'rangesCache':_0x234aaa[_0x81a259(0x168)],'pivotTableId':_0x31f02d,'type':_0x2a63ec['type']}),this[_0x81a259(0x172)][_0x81a259(0x1a0)](_0x515e41,_0x147a5f,_0x31f02d,_0x1c4409,_0x234aaa[_0x81a259(0x168)]),this[_0x81a259(0x1eb)][_0x81a259(0x34e)](_0x515e41,_0x147a5f,Bt,this['_createExclusiveRange'](_0x234aaa[_0x81a259(0x168)],_0x31f02d)),{'rangeCache':_0x234aaa[_0x81a259(0x168)],'matrix':_0x1c4409};}}[_0x381a5c(0x3a5)](_0x536d06,_0x5a18c3,_0x340ed2,_0x21730e){const _0x313585=_0x381a5c,_0x562ecc=this[_0x313585(0x3c3)]['t'],{unitId:_0x1db7c3,subUnitId:_0x4fb780,pivotTableId:_0x208122}=_0x536d06,_0x3571b3={'filter':_0x562ecc(_0x313585(0x322)),'row':_0x562ecc(_0x313585(0x35b)),'column':_0x562ecc(_0x313585(0x234)),'values':_0x562ecc(_0x313585(0x1b4))},{matrixCache:_0xab4288,rangesCache:_0x4cca81}=Go(_0x3571b3,_0x340ed2);return _0xab4288['forValue']((_0x103494,_0x265026,_0x186b8f)=>{const _0x1d3cfc=_0x313585;_0x5a18c3[_0x1d3cfc(0x18e)](_0x103494,_0x265026,_0x186b8f);}),_0x21730e[_0x313585(0x168)]=_0x4cca81,this[_0x313585(0x35c)][_0x313585(0x1c3)]({'unitId':_0x1db7c3,'subUnitId':_0x4fb780,'valueMatrix':_0x5a18c3,'rangesCache':_0x4cca81,'pivotTableId':_0x208122,'type':_0x536d06[_0x313585(0x382)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0x313585(0x1a0)](_0x1db7c3,_0x4fb780,_0x208122,_0x5a18c3,_0x4cca81),this[_0x313585(0x1eb)][_0x313585(0x34e)](_0x1db7c3,_0x4fb780,Bt,this['_createExclusiveRange'](_0x4cca81,_0x208122)),{'rangeCache':_0x21730e[_0x313585(0x168)],'matrix':_0x5a18c3};}[_0x381a5c(0x307)](_0x477a54,_0x9f5513){const _0x418330=[],_0x15ca54=Jt(_0x477a54);for(const _0x50c834 of _0x15ca54)_0x418330['push']({'groupId':_0x9f5513,'range':_0x50c834});return _0x418330;}[_0x381a5c(0x270)](_0x232455){const _0x87fc49=_0x381a5c;var _0xeb6dcd,_0x5ce2c9,_0x2a0ff2,_0x3b170b;const {pivotTableId:_0x4d20e0,unitId:_0xc24a18,subUnitId:_0x19cdac}=_0x232455;if(!_0x4d20e0||!_0xc24a18||!_0x19cdac)return;const _0x43c33e=this['_ensurePivotItemRenderValueMatrixCache'](_0xc24a18,_0x19cdac),_0x2426e8=(_0x5ce2c9=(_0xeb6dcd=this[_0x87fc49(0x345)][_0x87fc49(0x1b0)](_0xc24a18))==null?void 0x0:_0xeb6dcd[_0x87fc49(0x1b0)](_0x19cdac))==null?void 0x0:_0x5ce2c9[_0x87fc49(0x1b0)](_0x4d20e0);if(_0x2426e8!=null&&_0x2426e8['rangesInfo']){for(const _0x41f114 of Object[_0x87fc49(0x374)](_0x2426e8[_0x87fc49(0x168)]))_0x2426e8[_0x87fc49(0x168)][_0x41f114][_0x87fc49(0x397)](_0x266a8e=>{const _0x469ee2=_0x87fc49;for(let _0xc6970=_0x266a8e[_0x469ee2(0x1dc)];_0xc6970<=_0x266a8e[_0x469ee2(0x39a)];_0xc6970++)for(let _0x7f3e72=_0x266a8e['startColumn'];_0x7f3e72<=_0x266a8e[_0x469ee2(0x1f3)];_0x7f3e72++)_0x43c33e[_0x469ee2(0x381)](_0xc6970,_0x7f3e72);});}_0x2426e8&&((_0x3b170b=(_0x2a0ff2=this['_pivotRenderInfoCache'][_0x87fc49(0x1b0)](_0xc24a18))==null?void 0x0:_0x2a0ff2[_0x87fc49(0x1b0)](_0x19cdac))==null||_0x3b170b[_0x87fc49(0x2e2)](_0x4d20e0)),this['_viewUpdate$'][_0x87fc49(0x1c3)]({'unitId':_0xc24a18,'subUnitId':_0x19cdac,'valueMatrix':_0x43c33e,'pivotTableId':_0x4d20e0,'rangesCache':void 0x0,'type':_0x232455[_0x87fc49(0x382)]}),this['_exclusiveRangeService']['clearExclusiveRangesByGroupId'](_0xc24a18,_0x19cdac,Bt,_0x4d20e0);}[_0x381a5c(0x190)](_0x553332,_0x27f134,_0x449712){const _0x1cbf48=_0x381a5c;var _0x467e19,_0x264739,_0x32d0be,_0x4911a7,_0x3ed53a,_0xe50d8d;return this[_0x1cbf48(0x345)][_0x1cbf48(0x2d7)](_0x553332)||this[_0x1cbf48(0x345)]['set'](_0x553332,new Map()),(_0x467e19=this[_0x1cbf48(0x345)]['get'](_0x553332))!=null&&_0x467e19['has'](_0x27f134)||(_0x264739=this[_0x1cbf48(0x345)][_0x1cbf48(0x1b0)](_0x553332))==null||_0x264739[_0x1cbf48(0x279)](_0x27f134,new Map()),(_0x4911a7=(_0x32d0be=this[_0x1cbf48(0x345)]['get'](_0x553332))==null?void 0x0:_0x32d0be[_0x1cbf48(0x1b0)](_0x27f134))!=null&&_0x4911a7[_0x1cbf48(0x2d7)](_0x449712)||(_0xe50d8d=(_0x3ed53a=this['_pivotRenderInfoCache']['get'](_0x553332))==null?void 0x0:_0x3ed53a[_0x1cbf48(0x1b0)](_0x27f134))==null||_0xe50d8d[_0x1cbf48(0x279)](_0x449712,{}),this[_0x1cbf48(0x345)][_0x1cbf48(0x1b0)](_0x553332)[_0x1cbf48(0x1b0)](_0x27f134)[_0x1cbf48(0x1b0)](_0x449712);}[_0x381a5c(0x26d)](_0x74b1ee,_0x54a84d){const _0x9cc4a0=_0x381a5c;var _0x1a8fbf,_0x20d083;return this[_0x9cc4a0(0x20f)][_0x9cc4a0(0x2d7)](_0x74b1ee)||this[_0x9cc4a0(0x20f)][_0x9cc4a0(0x279)](_0x74b1ee,new Map()),(_0x1a8fbf=this[_0x9cc4a0(0x20f)]['get'](_0x74b1ee))!=null&&_0x1a8fbf[_0x9cc4a0(0x2d7)](_0x54a84d)||(_0x20d083=this[_0x9cc4a0(0x20f)][_0x9cc4a0(0x1b0)](_0x74b1ee))==null||_0x20d083[_0x9cc4a0(0x279)](_0x54a84d,new _0x399667()),this['_pivotRenderValueMatrixCache']['get'](_0x74b1ee)[_0x9cc4a0(0x1b0)](_0x54a84d);}['getPivotTableCellData'](_0x3a39a4,_0x5bb7c0,_0x33758a,_0x1d3db1){const _0x1880cb=_0x381a5c;var _0x2e5b64,_0x316004;const _0x15d25c=(_0x316004=(_0x2e5b64=this[_0x1880cb(0x20f)][_0x1880cb(0x1b0)](_0x3a39a4))==null?void 0x0:_0x2e5b64[_0x1880cb(0x1b0)](_0x5bb7c0))==null?void 0x0:_0x316004[_0x1880cb(0x2bc)](_0x33758a,_0x1d3db1);if(_0x15d25c!=null)return _0x15d25c;}[_0x381a5c(0x19d)](_0x2de1d8,_0x507ff8,_0x4042ef,_0x10ff06){const _0x4e22bb=_0x381a5c;var _0x34e1aa;const _0x9840ec=_0x36b650(_0x4042ef,_0x10ff06),_0x27d667=(_0x34e1aa=this[_0x4e22bb(0x345)][_0x4e22bb(0x1b0)](_0x2de1d8))==null?void 0x0:_0x34e1aa['get'](_0x507ff8);return _0x27d667?Array[_0x4e22bb(0x285)](_0x27d667['keys']())['find'](_0x3e9975=>{const _0x5660e2=_0x4e22bb,_0x36fda7=_0x27d667[_0x5660e2(0x1b0)](_0x3e9975),_0x4a29c5=_0x36fda7==null?void 0x0:_0x36fda7[_0x5660e2(0x168)];return _0x4a29c5?Object[_0x5660e2(0x374)](_0x4a29c5)['some'](_0xc47e77=>_0x4a29c5[_0xc47e77][_0x5660e2(0x1fd)](_0x1ecbce=>_0x293797[_0x5660e2(0x354)](_0x1ecbce,_0x9840ec))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x198f0d,_0x1349d1,_0x23d5b2){const _0x32771a=_0x381a5c;var _0x231693;const _0x14b62e=(_0x231693=this['_pivotRenderInfoCache'][_0x32771a(0x1b0)](_0x198f0d))==null?void 0x0:_0x231693[_0x32771a(0x1b0)](_0x1349d1),_0x31be82=[];return _0x14b62e&&Array[_0x32771a(0x285)](_0x14b62e['keys']())[_0x32771a(0x397)](_0x29062f=>{const _0x529a=_0x32771a,_0x257a7e=_0x14b62e[_0x529a(0x1b0)](_0x29062f),_0x56d48a=_0x257a7e==null?void 0x0:_0x257a7e['rangesInfo'];if(_0x56d48a)for(const _0x57d7aa of Object['values'](_0x56d48a)){let _0x1c219e=!0x1;for(const _0x58ba83 of _0x57d7aa)if(_0x293797['intersects'](_0x58ba83,_0x23d5b2)){_0x31be82['push'](_0x29062f),_0x1c219e=!0x0;break;}if(_0x1c219e)break;}}),_0x31be82;}['getSubUnitPivotMatrix'](_0xc1be58,_0x4013bd){const _0x37f0a5=_0x381a5c;var _0x279eb3,_0x193609;return(_0x193609=(_0x279eb3=this[_0x37f0a5(0x20f)]['get'](_0xc1be58))==null?void 0x0:_0x279eb3[_0x37f0a5(0x1b0)](_0x4013bd))!=null?_0x193609:new _0x399667();}[_0x381a5c(0x1a3)](_0x22df96,_0xd5b8d6){const _0x27522d=_0x381a5c;var _0x388035;return(_0x388035=this[_0x27522d(0x345)][_0x27522d(0x1b0)](_0x22df96))==null?void 0x0:_0x388035[_0x27522d(0x1b0)](_0xd5b8d6);}['getPivotItemRenderInfoCache'](_0x4884e2,_0x94dc80,_0x3dd40e){const _0x408822=_0x381a5c;var _0xbc25c3,_0x17b55d;return(_0x17b55d=(_0xbc25c3=this[_0x408822(0x345)]['get'](_0x4884e2))==null?void 0x0:_0xbc25c3[_0x408822(0x1b0)](_0x94dc80))==null?void 0x0:_0x17b55d['get'](_0x3dd40e);}[_0x381a5c(0x1f0)](_0x3ec475){const _0x22ff0c=_0x381a5c;this[_0x22ff0c(0x345)][_0x22ff0c(0x2e2)](_0x3ec475),this[_0x22ff0c(0x20f)]['delete'](_0x3ec475);}[_0x381a5c(0x2eb)](_0x17796d,_0x1b38ac){const _0x4d2a4a=_0x381a5c;this[_0x4d2a4a(0x387)][_0x4d2a4a(0x1c3)]({'unitId':_0x17796d,'subUnitId':_0x1b38ac});}};Ee=zi([st(0x0,_0x4b1a54(_0x2d274a)),st(0x1,_0x4b1a54(_0x5bf0f9)),st(0x2,_0x4b1a54(ve)),st(0x3,_0x4b1a54(_0x121e43)),st(0x4,_0x4b1a54(_0x47af93))],Ee);var Qi=Object['getOwnPropertyDescriptor'],Xi=(_0x414925,_0x4d7368,_0x1a96c8,_0x4ac6fd)=>{const _0x41eb24=_0x381a5c;for(var _0x14d674=_0x4ac6fd>0x1?void 0x0:_0x4ac6fd?Qi(_0x4d7368,_0x1a96c8):_0x4d7368,_0xd07f2b=_0x414925[_0x41eb24(0x173)]-0x1,_0x3f6235;_0xd07f2b>=0x0;_0xd07f2b--)(_0x3f6235=_0x414925[_0xd07f2b])&&(_0x14d674=_0x3f6235(_0x14d674)||_0x14d674);return _0x14d674;},Mo=(_0x2b3828,_0x49481a)=>(_0x28491f,_0x11ce07)=>_0x49481a(_0x28491f,_0x11ce07,_0x2b3828);let ie=class extends _0x131022{constructor(_0x115767,_0x5c3dd6){const _0x368e4e=_0x381a5c;super(),N(this,_0x368e4e(0x192),new _0x2cd23f({'PIVOT_PERFORM_CHECK':be})),N(this,_0x368e4e(0x3d2),new _0x25dba6({'PIVOT_MUTATION_GENERATE':$o})),(this['_sheetInterceptorService']=_0x115767,this[_0x368e4e(0x246)]=_0x5c3dd6,this[_0x368e4e(0x16f)]());}[_0x381a5c(0x16f)](){const _0x42d65e=_0x381a5c;this[_0x42d65e(0x179)]();}[_0x381a5c(0x2f1)](_0x1b6c86){const _0x53d6c0=_0x381a5c;return this[_0x53d6c0(0x192)][_0x53d6c0(0x18b)](be)(!0x1,_0x1b6c86);}[_0x381a5c(0x179)](){const _0x3840ba=_0x381a5c;this[_0x3840ba(0x3c9)](this['_sheetInterceptorService']['intercept'](_0x1f81ba[_0x3840ba(0x296)],{'priority':0xc8,'effect':_0x26b97a[_0x3840ba(0x2ac)]|_0x26b97a[_0x3840ba(0x1ee)],'handler':(_0x2a8c50,_0x168a27,_0x3b14c6)=>{const _0x3c898a=_0x3840ba,{row:_0x47ab45,col:_0x556ffe,unitId:_0x107f5b,subUnitId:_0x11b7a0,workbook:_0x46ca4b}=_0x168a27,_0xdc0012=this[_0x3c898a(0x246)][_0x3c898a(0x3c1)](_0x107f5b,_0x11b7a0,_0x47ab45,_0x556ffe);if(!_0xdc0012)return _0x3b14c6(_0x2a8c50);const _0x52ec70={..._0x2a8c50};(_0xdc0012['v']||_0xdc0012['v']===0x0)&&(_0x52ec70['v']=_0xdc0012['v']),_0xdc0012['t']&&(_0x52ec70['t']=_0xdc0012['t']);const _0x1e5992=(typeof(_0x2a8c50==null?void 0x0:_0x2a8c50['s'])==_0x3c898a(0x2f3)?_0x46ca4b[_0x3c898a(0x1cd)]()[_0x3c898a(0x1b0)](_0x2a8c50==null?void 0x0:_0x2a8c50['s']):_0x2a8c50==null?void 0x0:_0x2a8c50['s'])||{},_0x645cbd=_0x46ca4b[_0x3c898a(0x1cd)]()[_0x3c898a(0x1b0)](_0xdc0012['s']),_0x561068={..._0x645cbd,..._0x1e5992};_0x645cbd!=null&&_0x645cbd['n']&&(_0x561068['n']=_0x645cbd['n']);const _0x15093f=_0x46ca4b['getStyles']()[_0x3c898a(0x18e)](_0x561068);return _0x52ec70['s']=_0x15093f,(_0xdc0012['pbt']===_0x360784[_0x3c898a(0x2f2)]||_0xdc0012['pbt']===_0x360784[_0x3c898a(0x2ff)])&&(_0x52ec70['fontRenderExtension']={},_0x52ec70[_0x3c898a(0x2b1)][_0x3c898a(0x17c)]=ri),_0x3b14c6(_0x52ec70);}}));}};ie=Xi([Mo(0x0,_0x4b1a54(_0x15b37e)),Mo(0x1,_0x4b1a54(Ee))],ie);const Zo={'id':_0x381a5c(0x194),'type':_0x1f600d['MUTATION'],'handler':(_0x573b40,_0x49672)=>{const _0x214935=_0x381a5c;if(!_0x49672)return!0x1;if(!!_0x573b40[_0x214935(0x1b0)](_0x1095fa)['getConfig'](H))return!0x0;const {pivotTableId:_0x567b1c,fieldJSON:_0x5308a9,unitId:_0x3b8b35,subUnitId:_0xcb1bd0}=_0x49672;let _0x5a5c84;const {dataFieldType:_0x4312c5,id:_0x5a780a,name:_0x1f4982,hexCode:_0x42a002,originalFieldId:_0x2bda9b}=_0x5308a9;if(_0x4312c5===_0x380298[_0x214935(0x2f5)]&&(_0x5a5c84=new _0x32f501(_0x5a780a,_0x1f4982,_0x42a002,_0x2bda9b)),!_0x5a5c84)return!0x1;const _0x155632=_0x573b40['get']($),_0x198416=_0x155632[_0x214935(0x37e)](_0x3b8b35),_0x4e7c5e=_0x198416[_0x214935(0x323)](_0x567b1c);_0x198416[_0x214935(0x2fe)](_0x5a5c84),_0x4e7c5e[_0x214935(0x214)](_0x5a5c84[_0x214935(0x2a2)](),_0x5a5c84['getName']());const _0x42ce99=_0x4e7c5e[_0x214935(0x203)](_0x5a5c84[_0x214935(0x2ee)]());_0x42ce99&&_0x5a5c84[_0x214935(0x2a1)](_0x42ce99);const _0x57cd16=_0x155632[_0x214935(0x260)](_0x3b8b35,_0xcb1bd0,_0x567b1c);return _0x155632[_0x214935(0x223)]({'unitId':_0x3b8b35,'subUnitId':_0xcb1bd0,'token':_0x567b1c,'type':J[_0x214935(0x186)],'pivotConfig':_0x57cd16}),!0x0;}},zo={'id':_0x381a5c(0x170),'type':_0x1f600d[_0x381a5c(0x26e)],'handler':(_0x36ec27,_0x4d8a68)=>{const _0x273133=_0x381a5c;if(!_0x4d8a68)return!0x1;if(!!_0x36ec27[_0x273133(0x1b0)](_0x1095fa)[_0x273133(0x1f6)](H))return!0x0;const {pivotTableId:_0x438f57,dataFieldId:_0x2b5186,unitId:_0x17a256,subUnitId:_0x39ab41}=_0x4d8a68,_0x2250c3=_0x36ec27['get']($),_0x3e4801=_0x2250c3[_0x273133(0x37e)](_0x17a256);_0x3e4801[_0x273133(0x323)](_0x438f57)['deleteField'](_0x2b5186);let _0x1cb53c=!0x0;for(const _0x164f7a in _0x3e4801[_0x273133(0x302)])if(_0x3e4801[_0x273133(0x302)][_0x164f7a][_0x273133(0x1d8)]()['includes'](_0x2b5186)){_0x1cb53c=!0x1;break;}_0x1cb53c&&_0x3e4801[_0x273133(0x2d6)](_0x2b5186);const _0x23b40d=_0x2250c3[_0x273133(0x260)](_0x17a256,_0x39ab41,_0x438f57);return _0x2250c3[_0x273133(0x223)]({'unitId':_0x17a256,'subUnitId':_0x39ab41,'token':_0x438f57,'type':J[_0x273133(0x186)],'pivotConfig':_0x23b40d}),!0x0;}};function Et(_0x45a3f7,_0x26f467){const _0x4a3db8=_0x381a5c;switch(_0x26f467){case _0x1a0bb8[_0x4a3db8(0x2ac)]:return _0x45a3f7[_0x4a3db8(0x2fa)];case _0x1a0bb8[_0x4a3db8(0x1be)]:return _0x45a3f7['filterFields'];case _0x1a0bb8[_0x4a3db8(0x216)]:return _0x45a3f7[_0x4a3db8(0x39f)];case _0x1a0bb8[_0x4a3db8(0x294)]:return _0x45a3f7[_0x4a3db8(0x395)];default:return[];}}function $e(_0x3f67fa,_0x142d42){const _0x3a1b15=_0x381a5c;return _0x3f67fa[_0x3a1b15(0x3b8)][_0x142d42]||_0x3f67fa['dimension'][_0x142d42];}function es(_0x1ab2a9,_0x4a9c43){const _0x415c0c=_0x381a5c,{area:_0x56ce9b,fieldJson:_0x3b7bb6,index:_0x3458e4}=_0x4a9c43;_0x56ce9b===_0x1a0bb8['Value']?_0x1ab2a9[_0x415c0c(0x3b8)][_0x3b7bb6['id']]=_0x3b7bb6:_0x1ab2a9[_0x415c0c(0x3a4)][_0x3b7bb6['id']]=_0x3b7bb6,Et(_0x1ab2a9,_0x56ce9b)[_0x415c0c(0x35d)](_0x3458e4,0x0,_0x3b7bb6['id']);}function ts(_0x695418,_0x15f6df){const _0xec9ad0=_0x381a5c,{area:_0x41d5f4,fieldId:_0x177973,index:_0x53413b}=_0x15f6df;_0x41d5f4===_0x1a0bb8[_0xec9ad0(0x2ac)]?delete _0x695418[_0xec9ad0(0x3b8)][_0x177973]:delete _0x695418[_0xec9ad0(0x3a4)][_0x177973],Et(_0x695418,_0x41d5f4)[_0xec9ad0(0x35d)](_0x53413b,0x1);}function os(_0x57c46d,_0x17d4ad){const {fieldId:_0xfbd3dc,name:_0x4595b9}=_0x17d4ad,_0x2f3fb7=$e(_0x57c46d,_0xfbd3dc);_0x2f3fb7&&(_0x2f3fb7['displayName']=_0x4595b9);}function ns(_0x3c09f1,_0x18ddae){const _0x3472f3=_0x381a5c,{fieldId:_0x36b709,collapse:_0xa9b4f6,item:_0x1d51c8}=_0x18ddae;_0x1d51c8!==void 0x0?(_0x3c09f1[_0x3472f3(0x165)][_0x36b709]=_0x3c09f1[_0x3472f3(0x165)][_0x36b709]||{},_0x3c09f1['collapseInfo'][_0x36b709][_0x1d51c8]=_0xa9b4f6):_0x3c09f1['collapseInfo'][_0x36b709]=_0xa9b4f6;}function is(_0x5553f2,_0x27a549){const _0x44fb5b=_0x381a5c,{fieldId:_0x16edd4,format:_0x1e5ec0}=_0x27a549,_0x31b4bd=$e(_0x5553f2,_0x16edd4);_0x31b4bd&&(_0x31b4bd[_0x44fb5b(0x3a2)]=_0x1e5ec0);}function ss(_0x3d86b3,_0x4b5fb3){const _0x3496b2=_0x381a5c,{fieldId:_0x2e525a,filterInfo:_0x45bb65}=_0x4b5fb3,_0x437ba8=$e(_0x3d86b3,_0x2e525a);_0x437ba8&&(_0x437ba8[_0x3496b2(0x2ba)]=_0x45bb65);}function as(_0x2107fa,_0x44a0ed){const _0x561456=_0x381a5c,{fieldId:_0x308614,filterInfo:_0x23a919}=_0x44a0ed,_0x38b560=_0x2107fa[_0x561456(0x1de)]['filter'](_0x348172=>_0x348172['fieldId']!==_0x308614);_0x23a919&&_0x38b560[_0x561456(0x3a1)]({'fieldId':_0x308614,'filterInfo':_0x23a919}),_0x2107fa[_0x561456(0x1de)]=_0x38b560;}function rs(_0x27f2fe,_0x2346cf){const _0x158994=_0x381a5c,{fieldId:_0x240af8,subtotalType:_0x3a7e8f}=_0x2346cf,_0x1927ac=$e(_0x27f2fe,_0x240af8);_0x1927ac&&(_0x1927ac[_0x158994(0x309)]=_0x3a7e8f);}function ls(_0x58f738,_0xa9dbc2){const _0x337da1=_0x381a5c,{fieldId:_0x15a12b,oldArea:_0x2a570a,area:_0x16c0ac,oldIndex:_0x42823c,index:_0x4c0a57}=_0xa9dbc2,_0x2415e3=_0x2a570a!==_0x1a0bb8[_0x337da1(0x2ac)]&&_0x16c0ac===_0x1a0bb8['Value'],_0x4f8851=_0x2a570a===_0x1a0bb8[_0x337da1(0x2ac)]&&_0x16c0ac!==_0x1a0bb8[_0x337da1(0x2ac)];if(_0x2415e3||_0x4f8851){const _0x146069=$e(_0x58f738,_0x15a12b);_0x146069&&(_0x2415e3?(delete _0x58f738[_0x337da1(0x3a4)][_0x15a12b],_0x58f738[_0x337da1(0x3b8)][_0x15a12b]=_0x146069):(delete _0x58f738[_0x337da1(0x3b8)][_0x15a12b],_0x58f738[_0x337da1(0x3a4)][_0x15a12b]=_0x146069));}const _0x382527=Et(_0x58f738,_0x2a570a),_0x411ad8=Et(_0x58f738,_0x16c0ac);_0x382527[_0x337da1(0x35d)](_0x42823c,0x1),_0x411ad8[_0x337da1(0x35d)](_0x4c0a57,0x0,_0x15a12b);}function cs(_0x5fda75,_0x34efc2){const _0x2b1fb2=_0x381a5c,{valuePosition:_0x55cc22,index:_0x3493ea}=_0x34efc2;_0x5fda75[_0x2b1fb2(0x29d)]=_0x55cc22,_0x5fda75['valueIndex']=_0x3493ea;}function ds(_0x18de0d,_0x4a6ee9){const _0x5d294d=_0x381a5c,{tableFieldId:_0x5c4d7f,sourceName:_0x1cbc70,dataFieldId:_0x21f5dc}=_0x4a6ee9,_0x1224f5=$e(_0x18de0d,_0x5c4d7f);_0x1224f5&&(_0x1224f5[_0x5d294d(0x19b)]=_0x1cbc70,_0x1224f5['dataFieldId']=_0x21f5dc);}function us(_0x5122b4,_0x14d5a3){const _0x395abb=_0x381a5c,{fieldId:_0xf7e41a,sortInfo:_0x4c2d00}=_0x14d5a3,_0x3573bc=$e(_0x5122b4,_0xf7e41a);_0x3573bc&&(_0x3573bc[_0x395abb(0x242)]=_0x4c2d00);}function fs(_0x4ee483,_0x3eea57){const _0x297b64=_0x381a5c,{options:_0x59bd60}=_0x3eea57;_0x4ee483[_0x297b64(0x16d)]={..._0x4ee483[_0x297b64(0x16d)],..._0x59bd60};}const $t={'type':_0x1f600d[_0x381a5c(0x26e)],'id':_0x381a5c(0x19e),'handler'(_0x410d1d,_0x137886){const _0x25c191=_0x381a5c;if(!_0x137886)return!0x1;if(!!_0x410d1d[_0x25c191(0x1b0)](_0x1095fa)[_0x25c191(0x1f6)](H))return!0x0;const _0x4eeab2=_0x410d1d[_0x25c191(0x1b0)]($),{pivotTableId:_0x356fa5,fieldJson:_0x1f5cc5,area:_0x24ff11,index:_0x21679c,unitId:_0x58d4d3,subUnitId:_0x1840ae}=_0x137886,_0x439948=_0x4eeab2[_0x25c191(0x31e)](_0x356fa5);if(!_0x439948)return!0x1;let _0x16c5c2;_0x24ff11===_0x1a0bb8[_0x25c191(0x2ac)]?_0x16c5c2=_0x24e313(_0x1f5cc5):_0x16c5c2=_0x184b93(_0x1f5cc5),_0x439948[_0x25c191(0x214)](_0x16c5c2,_0x24ff11,_0x21679c);const _0x403349=_0x4eeab2[_0x25c191(0x1d5)](_0x58d4d3,_0x1840ae,_0x356fa5);es(_0x403349,_0x137886);const _0x5a827a=_0x4eeab2[_0x25c191(0x260)](_0x58d4d3,_0x1840ae,_0x356fa5);return _0x4eeab2[_0x25c191(0x223)]({'unitId':_0x58d4d3,'subUnitId':_0x1840ae,'token':_0x356fa5,'type':J[_0x25c191(0x186)],'pivotConfig':_0x5a827a}),!0x0;}},jt={'type':_0x1f600d['MUTATION'],'id':_0x381a5c(0x2fd),'handler'(_0x50c3f1,_0x3ffa26){const _0x450c6c=_0x381a5c;if(!_0x3ffa26)return!0x1;if(!!_0x50c3f1[_0x450c6c(0x1b0)](_0x1095fa)[_0x450c6c(0x1f6)](H))return!0x0;const _0x28fb43=_0x50c3f1[_0x450c6c(0x1b0)]($),{pivotTableId:_0x31cc92,fieldId:_0x27aacc,unitId:_0xcad51c,subUnitId:_0x18db20}=_0x3ffa26,_0x31e44a=_0x28fb43['getPivotTableInstance'](_0x31cc92);if(!_0x31e44a)return!0x1;_0x31e44a[_0x450c6c(0x361)](_0x27aacc);const _0x5d584d=_0x28fb43['getPivotTableModelConfig'](_0xcad51c,_0x18db20,_0x31cc92);ts(_0x5d584d,_0x3ffa26);const _0x5e135d=_0x28fb43['getPivotTableConfig'](_0xcad51c,_0x18db20,_0x31cc92);return _0x28fb43[_0x450c6c(0x223)]({'unitId':_0xcad51c,'subUnitId':_0x18db20,'token':_0x31cc92,'type':J[_0x450c6c(0x186)],'pivotConfig':_0x5e135d}),!0x0;}},Wt={'type':_0x1f600d['MUTATION'],'id':'sheet.mutation.rename-pivot-field','handler'(_0x221008,_0x176044){const _0x489b11=_0x381a5c;if(!_0x176044)return!0x1;if(!!_0x221008[_0x489b11(0x1b0)](_0x1095fa)[_0x489b11(0x1f6)](H))return!0x0;const _0x37f018=_0x221008[_0x489b11(0x1b0)]($),{unitId:_0x4f5faa,subUnitId:_0x56fd5d,pivotTableId:_0x2b3103,fieldId:_0x5d6a51,name:_0xfce3ec}=_0x176044,_0x227398=_0x37f018[_0x489b11(0x31e)](_0x2b3103);if(!_0x227398)return!0x1;_0x227398['renameField'](_0x5d6a51,_0xfce3ec);const _0x5df63a=_0x37f018[_0x489b11(0x1d5)](_0x4f5faa,_0x56fd5d,_0x2b3103);return os(_0x5df63a,_0x176044),_0x37f018[_0x489b11(0x223)]({'unitId':_0x4f5faa,'subUnitId':_0x56fd5d,'token':_0x2b3103,'type':J[_0x489b11(0x186)]}),!0x0;}},Gt={'type':_0x1f600d['MUTATION'],'id':_0x381a5c(0x225),'handler'(_0x2c459a,_0x53c12b){const _0x58d2c1=_0x381a5c;if(!_0x53c12b)return!0x1;if(!!_0x2c459a[_0x58d2c1(0x1b0)](_0x1095fa)[_0x58d2c1(0x1f6)](H))return!0x0;const _0xaefcf2=_0x2c459a['get']($),{unitId:_0x3d29b5,subUnitId:_0x1f61d7,pivotTableId:_0x3e9b92,fieldId:_0x25c4a3,collapse:_0x4133d3,item:_0x293122}=_0x53c12b,_0x876fc0=_0xaefcf2['getPivotTableInstance'](_0x3e9b92);if(!_0x876fc0)return!0x1;_0x876fc0[_0x58d2c1(0x206)](_0x25c4a3,_0x4133d3,_0x293122);const _0x5f471c=_0xaefcf2[_0x58d2c1(0x1d5)](_0x3d29b5,_0x1f61d7,_0x3e9b92);return ns(_0x5f471c,_0x53c12b),_0xaefcf2[_0x58d2c1(0x223)]({'unitId':_0x3d29b5,'subUnitId':_0x1f61d7,'token':_0x3e9b92,'type':J[_0x58d2c1(0x186)]}),!0x0;}},qt={'type':_0x1f600d[_0x381a5c(0x26e)],'id':_0x381a5c(0x2de),'handler'(_0x2687ab,_0x3e955e){const _0x4113f8=_0x381a5c;if(!_0x3e955e)return!0x1;if(!!_0x2687ab['get'](_0x1095fa)[_0x4113f8(0x1f6)](H))return!0x0;const _0x270494=_0x2687ab['get']($),{unitId:_0x145008,subUnitId:_0x31dfb0,pivotTableId:_0x3a6278,fieldId:_0x2e63bf,format:_0x363fba}=_0x3e955e,_0x44d0cc=_0x270494[_0x4113f8(0x31e)](_0x3a6278);if(!_0x44d0cc)return!0x1;_0x44d0cc[_0x4113f8(0x28b)](_0x2e63bf,_0x363fba);const _0x19b65e=_0x270494[_0x4113f8(0x1d5)](_0x145008,_0x31dfb0,_0x3a6278);return is(_0x19b65e,_0x3e955e),_0x270494[_0x4113f8(0x223)]({'unitId':_0x145008,'subUnitId':_0x31dfb0,'token':_0x3a6278,'type':J[_0x4113f8(0x186)]}),!0x0;}},Kt={'type':_0x1f600d['MUTATION'],'id':'sheet.mutation.set-pivot-filter','handler'(_0x36bc0a,_0x10a24b){const _0x16cfaa=_0x381a5c;if(!_0x10a24b)return!0x1;if(!!_0x36bc0a['get'](_0x1095fa)[_0x16cfaa(0x1f6)](H))return!0x0;const _0x4c0248=_0x36bc0a[_0x16cfaa(0x1b0)]($),{unitId:_0x188a7b,subUnitId:_0x3ee275,pivotTableId:_0x4d090b,fieldId:_0x556bf2,filterInfo:_0x106c54}=_0x10a24b,_0x12c8ff=_0x4c0248[_0x16cfaa(0x31e)](_0x4d090b);if(!_0x12c8ff)return!0x1;_0x12c8ff[_0x16cfaa(0x29b)](_0x556bf2,_0x106c54);const _0x46f1df=_0x4c0248[_0x16cfaa(0x1d5)](_0x188a7b,_0x3ee275,_0x4d090b);return ss(_0x46f1df,_0x10a24b),_0x4c0248[_0x16cfaa(0x223)]({'unitId':_0x188a7b,'subUnitId':_0x3ee275,'token':_0x4d090b,'type':J['Set']}),!0x0;}},Ht={'type':_0x1f600d['MUTATION'],'id':_0x381a5c(0x1ae),'handler'(_0x23e409,_0x48e49d){const _0x473897=_0x381a5c;if(!_0x48e49d)return!0x1;if(!!_0x23e409[_0x473897(0x1b0)](_0x1095fa)[_0x473897(0x1f6)](H))return!0x0;const _0x44e1c6=_0x23e409['get']($),{unitId:_0xd00240,subUnitId:_0x44bf70,pivotTableId:_0x14787e,options:_0x164337}=_0x48e49d,_0x1e0f69=_0x44e1c6[_0x473897(0x31e)](_0x14787e);if(!_0x1e0f69)return!0x1;_0x1e0f69['setOptions'](_0x164337);const _0x438721=_0x44e1c6['getPivotTableModelConfig'](_0xd00240,_0x44bf70,_0x14787e);return fs(_0x438721,_0x48e49d),_0x44e1c6[_0x473897(0x223)]({'unitId':_0xd00240,'subUnitId':_0x44bf70,'token':_0x14787e,'type':J[_0x473897(0x186)]}),!0x0;}},Yt={'type':_0x1f600d[_0x381a5c(0x26e)],'id':_0x381a5c(0x1e6),'handler'(_0x5a5b49,_0x2e123c){const _0x1993c6=_0x381a5c;if(!_0x2e123c)return!0x1;if(!!_0x5a5b49[_0x1993c6(0x1b0)](_0x1095fa)[_0x1993c6(0x1f6)](H))return!0x0;const _0x163c8d=_0x5a5b49[_0x1993c6(0x1b0)]($),{unitId:_0x11b186,subUnitId:_0x2163ee,pivotTableId:_0xcb5f40,sortInfo:_0x270f30,fieldId:_0xb757a7}=_0x2e123c,_0x4ca888=_0x163c8d['getPivotTableInstance'](_0xcb5f40);if(!_0x4ca888)return!0x1;_0x4ca888['setSortInfo'](_0xb757a7,_0x270f30);const _0x46e1ee=_0x163c8d[_0x1993c6(0x1d5)](_0x11b186,_0x2163ee,_0xcb5f40);return us(_0x46e1ee,_0x2e123c),_0x163c8d[_0x1993c6(0x223)]({'unitId':_0x11b186,'subUnitId':_0x2163ee,'token':_0xcb5f40,'type':J['Set']}),!0x0;}},Zt={'type':_0x1f600d['MUTATION'],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x1905d5,_0x263d31){const _0x21832d=_0x381a5c;if(!_0x263d31)return!0x1;if(!!_0x1905d5[_0x21832d(0x1b0)](_0x1095fa)[_0x21832d(0x1f6)](H))return!0x0;const _0x23727f=_0x1905d5[_0x21832d(0x1b0)]($),{unitId:_0x258987,subUnitId:_0x1220d3,pivotTableId:_0x2332a3,fieldId:_0x31f7c8,subtotalType:_0x44e6bc}=_0x263d31,_0x20af18=_0x23727f[_0x21832d(0x31e)](_0x2332a3);if(!_0x20af18)return!0x1;_0x20af18['setSubtotalType'](_0x31f7c8,_0x44e6bc);const _0x5a4f04=_0x23727f[_0x21832d(0x1d5)](_0x258987,_0x1220d3,_0x2332a3);return rs(_0x5a4f04,_0x263d31),_0x23727f['addDirtyPivotTable']({'unitId':_0x258987,'subUnitId':_0x1220d3,'token':_0x2332a3,'type':J['Set']}),!0x0;}},zt={'type':_0x1f600d[_0x381a5c(0x26e)],'id':_0x381a5c(0x379),'handler'(_0x52a63c,_0x6d975e){const _0x1990b1=_0x381a5c;if(!_0x6d975e)return!0x1;if(!!_0x52a63c[_0x1990b1(0x1b0)](_0x1095fa)[_0x1990b1(0x1f6)](H))return!0x0;const _0x5e39c9=_0x52a63c[_0x1990b1(0x1b0)]($),{unitId:_0x6f008f,subUnitId:_0x40cd4a,pivotTableId:_0x14d6f5,fieldId:_0x7bb34f,filterInfo:_0x40b90c}=_0x6d975e,_0x735e75=_0x5e39c9['getPivotTableInstance'](_0x14d6f5);if(!_0x735e75)return!0x1;_0x735e75['setValueFilterInfo'](_0x7bb34f,_0x40b90c);const _0x34c482=_0x5e39c9[_0x1990b1(0x1d5)](_0x6f008f,_0x40cd4a,_0x14d6f5);return as(_0x34c482,_0x6d975e),_0x5e39c9[_0x1990b1(0x223)]({'unitId':_0x6f008f,'subUnitId':_0x40cd4a,'token':_0x14d6f5,'type':J[_0x1990b1(0x186)]}),!0x0;}},Qt={'type':_0x1f600d[_0x381a5c(0x26e)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x5a2e0e,_0x46180c){const _0xcc9426=_0x381a5c;if(!_0x46180c)return!0x1;if(!!_0x5a2e0e[_0xcc9426(0x1b0)](_0x1095fa)[_0xcc9426(0x1f6)](H))return!0x0;const _0x54367f=_0x5a2e0e[_0xcc9426(0x1b0)]($),{unitId:_0x208979,subUnitId:_0x308b48,pivotTableId:_0x108568,area:_0x15cc04,index:_0xe8c4,fieldId:_0x3650e5}=_0x46180c,_0x2ffe45=_0x54367f[_0xcc9426(0x31e)](_0x108568);if(!_0x2ffe45)return!0x1;_0x2ffe45[_0xcc9426(0x37c)](_0x3650e5,_0x15cc04,_0xe8c4);const _0x317d38=_0x54367f[_0xcc9426(0x1d5)](_0x208979,_0x308b48,_0x108568);return ls(_0x317d38,_0x46180c),_0x54367f[_0xcc9426(0x223)]({'unitId':_0x208979,'subUnitId':_0x308b48,'token':_0x108568,'type':J[_0xcc9426(0x186)]}),!0x0;}},Xt={'type':_0x1f600d[_0x381a5c(0x26e)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x4e3e7b,_0x33ff95){const _0x5389da=_0x381a5c;if(!_0x33ff95)return!0x1;if(!!_0x4e3e7b['get'](_0x1095fa)[_0x5389da(0x1f6)](H))return!0x0;const _0x4419b6=_0x4e3e7b[_0x5389da(0x1b0)]($),{unitId:_0x39c9fe,subUnitId:_0x21ed50,pivotTableId:_0x5e11e9,sourceName:_0x25d946,dataFieldId:_0x4fa4ff,tableFieldId:_0x2e971e}=_0x33ff95,_0xa12f9b=_0x4419b6['getPivotTableInstance'](_0x5e11e9);if(!_0xa12f9b)return!0x1;_0xa12f9b[_0x5389da(0x375)](_0x2e971e,_0x25d946,_0x4fa4ff);const _0x4cae9f=_0x4419b6[_0x5389da(0x1d5)](_0x39c9fe,_0x21ed50,_0x5e11e9);return ds(_0x4cae9f,_0x33ff95),_0x4419b6[_0x5389da(0x223)]({'unitId':_0x39c9fe,'subUnitId':_0x21ed50,'token':_0x5e11e9,'type':J[_0x5389da(0x186)]}),!0x0;}},eo={'type':_0x1f600d[_0x381a5c(0x26e)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x52e1d3,_0x11086e){const _0x331a83=_0x381a5c;if(!_0x11086e)return!0x1;if(!!_0x52e1d3[_0x331a83(0x1b0)](_0x1095fa)[_0x331a83(0x1f6)](H))return!0x0;const _0x4be8ef=_0x52e1d3[_0x331a83(0x1b0)]($),{unitId:_0x507a87,subUnitId:_0x2c113a,pivotTableId:_0x1b50a4,valuePosition:_0x493752,index:_0x48895f}=_0x11086e,_0x403d02=_0x4be8ef[_0x331a83(0x31e)](_0x1b50a4);if(!_0x403d02)return!0x1;_0x403d02['updateValuePosition'](_0x493752,_0x48895f);const _0x1046e8=_0x4be8ef[_0x331a83(0x1d5)](_0x507a87,_0x2c113a,_0x1b50a4);return cs(_0x1046e8,_0x11086e),_0x4be8ef[_0x331a83(0x223)]({'unitId':_0x507a87,'subUnitId':_0x2c113a,'token':_0x1b50a4,'type':J[_0x331a83(0x186)]}),!0x0;}};function me(_0x6e38a0,_0x2c4ec0,_0x241254){const _0x4c12c2=_0x381a5c,{pivotTableId:_0x403aa7,unitId:_0x2bc0fa,subUnitId:_0xffbae7}=_0x2c4ec0,_0x53a3cd=[],_0x13178e=[];for(const _0x13b530 of _0x241254)switch(_0x13b530[_0x4c12c2(0x382)]){case _0x2944b2['AddField']:{const {fieldJson:_0x441363,area:_0x473b0b,index:_0x431588}=_0x13b530,_0x3db176={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldJson':_0x441363,'area':_0x473b0b,'index':_0x431588},_0x53c4c6={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldId':_0x441363['id'],'area':_0x473b0b,'index':_0x431588};_0x53a3cd['push']({'id':$t['id'],'params':_0x3db176}),_0x13178e['unshift']({'id':jt['id'],'params':_0x53c4c6});}break;case _0x2944b2['SetSubtotalType']:{const {fieldId:_0x143407,newSubtotalType:_0x297e4a,oldSubtotalType:_0x454eba}=_0x13b530,_0x5b3c80={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldId':_0x143407,'subtotalType':_0x297e4a};_0x53a3cd[_0x4c12c2(0x3a1)]({'id':Zt['id'],'params':_0x5b3c80});const _0x349b44={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldId':_0x143407,'subtotalType':_0x454eba};_0x13178e[_0x4c12c2(0x398)]({'id':Zt['id'],'params':_0x349b44});}break;case _0x2944b2[_0x4c12c2(0x244)]:{const {fieldId:_0x49be25,fieldJson:_0xc25127,area:_0x4299bb,index:_0x294d8d}=_0x13b530,_0x35a139={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldId':_0x49be25,'index':_0x294d8d,'area':_0x4299bb};_0x53a3cd[_0x4c12c2(0x3a1)]({'id':jt['id'],'params':_0x35a139});const _0x4bcf3d={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldJson':_0xc25127,'area':_0x4299bb,'index':_0x294d8d};_0x13178e[_0x4c12c2(0x398)]({'id':$t['id'],'params':_0x4bcf3d});}break;case _0x2944b2[_0x4c12c2(0x249)]:{const {fieldId:_0x3360ff,oldName:_0x5b6621,newName:_0xbfeb62}=_0x13b530,_0x187bdc={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldId':_0x3360ff,'name':_0xbfeb62};_0x53a3cd['push']({'id':Wt['id'],'params':_0x187bdc});const _0x407a94={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldId':_0x3360ff,'name':_0x5b6621};_0x13178e[_0x4c12c2(0x398)]({'id':Wt['id'],'params':_0x407a94});}break;case _0x2944b2[_0x4c12c2(0x183)]:{const {fieldId:_0x52668f,oldFilterInfo:_0x2e98bc,newFilterInfo:_0x7da52f}=_0x13b530,_0x396a61={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldId':_0x52668f,'filterInfo':_0x7da52f};_0x53a3cd['push']({'id':Kt['id'],'params':_0x396a61});const _0x129f35={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldId':_0x52668f,'filterInfo':_0x2e98bc};_0x13178e[_0x4c12c2(0x398)]({'id':Kt['id'],'params':_0x129f35});}break;case _0x2944b2['SetSortInfo']:{const {fieldId:_0x550dcc,oldSortInfo:_0x453401,newSortInfo:_0x36a3bd}=_0x13b530,_0x116f76={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldId':_0x550dcc,'sortInfo':_0x36a3bd};_0x53a3cd[_0x4c12c2(0x3a1)]({'id':Yt['id'],'params':_0x116f76});const _0x4a525c={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldId':_0x550dcc,'sortInfo':_0x453401};_0x13178e['unshift']({'id':Yt['id'],'params':_0x4a525c});}break;case _0x2944b2['SetOptions']:{const {oldOptions:_0x3b8e63,newOptions:_0x136663}=_0x13b530,_0x40b030={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'options':_0x136663};_0x53a3cd[_0x4c12c2(0x3a1)]({'id':Ht['id'],'params':_0x40b030});const _0x2a81f5={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'options':_0x3b8e63};_0x13178e[_0x4c12c2(0x398)]({'id':Ht['id'],'params':_0x2a81f5});}break;case _0x2944b2[_0x4c12c2(0x33f)]:{const {oldArea:_0x1eda3d,newArea:_0x4e0ad3,oldIndex:_0x3782f0,newIndex:_0x2a2663,fieldId:_0x56a86e}=_0x13b530,_0x2d13ac={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldId':_0x56a86e,'area':_0x4e0ad3,'index':_0x2a2663,'oldArea':_0x1eda3d,'oldIndex':_0x3782f0};_0x53a3cd[_0x4c12c2(0x3a1)]({'id':Qt['id'],'params':_0x2d13ac});const _0x2a09d4={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldId':_0x56a86e,'area':_0x1eda3d,'index':_0x3782f0,'oldArea':_0x4e0ad3,'oldIndex':_0x2a2663};_0x13178e['unshift']({'id':Qt['id'],'params':_0x2a09d4});}break;case _0x2944b2[_0x4c12c2(0x251)]:{const {oldValuePosition:_0x3e2439,newValuePosition:_0x2c77d6,oldIndex:_0x413fcb,newIndex:_0x7e10e1}=_0x13b530,_0x58e2cd={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'valuePosition':_0x2c77d6,'index':_0x7e10e1};_0x53a3cd['push']({'id':eo['id'],'params':_0x58e2cd});const _0x5d2d0f={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'valuePosition':_0x3e2439,'index':_0x413fcb};_0x13178e[_0x4c12c2(0x398)]({'id':eo['id'],'params':_0x5d2d0f});}break;case _0x2944b2[_0x4c12c2(0x226)]:{const {fieldId:_0x39fec3,collapse:_0x310db0,item:_0x190382}=_0x13b530,_0x49d980={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldId':_0x39fec3,'collapse':_0x310db0,'item':_0x190382};_0x53a3cd[_0x4c12c2(0x3a1)]({'id':Gt['id'],'params':_0x49d980});const _0x5791e6={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldId':_0x39fec3,'collapse':!_0x310db0,'item':_0x190382};_0x13178e[_0x4c12c2(0x398)]({'id':Gt['id'],'params':_0x5791e6});}break;case _0x2944b2[_0x4c12c2(0x38e)]:{const {newFormat:_0x3f049a,oldFormat:_0x132f2a,fieldId:_0x556304}=_0x13b530,_0x29bcee={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldId':_0x556304,'format':_0x3f049a};_0x53a3cd[_0x4c12c2(0x3a1)]({'id':qt['id'],'params':_0x29bcee});const _0x3b9d50={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldId':_0x556304,'format':_0x132f2a};_0x13178e['unshift']({'id':qt['id'],'params':_0x3b9d50});}break;case _0x2944b2[_0x4c12c2(0x2b2)]:{const {tableFieldId:_0x5ef5ab,oldSourceName:_0x1f7f62,newSourceName:_0x44e0c7,oldDataFieldId:_0x164a2e,newDataFieldId:_0x5acf07}=_0x13b530,_0x30ba28={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'tableFieldId':_0x5ef5ab,'sourceName':_0x44e0c7,'dataFieldId':_0x5acf07};_0x53a3cd['push']({'id':Xt['id'],'params':_0x30ba28});const _0x1552b2={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'tableFieldId':_0x5ef5ab,'sourceName':_0x1f7f62,'dataFieldId':_0x164a2e};_0x13178e[_0x4c12c2(0x398)]({'id':Xt['id'],'params':_0x1552b2});}break;case _0x2944b2[_0x4c12c2(0x3be)]:{const {fieldId:_0x3621e7,filterInfo:_0x3b88b0,oldFilterInfo:_0x4e35ad}=_0x13b530,_0x221ca1={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldId':_0x3621e7,'filterInfo':_0x3b88b0};_0x53a3cd[_0x4c12c2(0x3a1)]({'id':zt['id'],'params':_0x221ca1});const _0x2e6730={'unitId':_0x2bc0fa,'subUnitId':_0xffbae7,'pivotTableId':_0x403aa7,'fieldId':_0x3621e7,'filterInfo':_0x4e35ad};_0x13178e[_0x4c12c2(0x398)]({'id':zt['id'],'params':_0x2e6730});}}return{'redos':_0x53a3cd,'undos':_0x13178e};}function Re(_0x1fa429,_0x354950){const _0x2a7e67=_0x381a5c;var _0x490e42;const _0x21c245=_0x1fa429[_0x2a7e67(0x1b0)](ie),{cellInfo:_0x2681aa,view:_0x9e5598,isEmpty:_0x2adafe}=_0x354950;return(_0x490e42=_0x21c245[_0x2a7e67(0x3d2)]['fetchThroughInterceptors']($o)(Po,{'cellInfo':_0x2681aa,'view':_0x9e5598,'isEmpty':_0x2adafe}))!=null?_0x490e42:Po;}const gs={'type':_0x1f600d[_0x381a5c(0x301)],'id':'sheet.command.add-pivot-field',async 'handler'(_0x52431b,_0x2e4cdb){const _0x754441=_0x381a5c;if(!_0x2e4cdb)return!0x1;const _0x51cfd6=_0x52431b[_0x754441(0x1b0)](_0x34de0e),_0x2e2eac=_0x52431b[_0x754441(0x1b0)](X),_0x3b07a5=_0x52431b[_0x754441(0x1b0)](_0x50549a),{pivotTableId:_0x3a4a36,dataFieldId:_0x33c0ed,fieldArea:_0x46fd9e,index:_0x4a60ef,unitId:_0x17d093,subUnitId:_0x2d7b00}=_0x2e4cdb,_0x4c46d9=(await _0x2e2eac['getPivotDisplayConfig']({'unitId':_0x17d093,'subUnitId':_0x2d7b00,'pivotTableId':_0x3a4a36,'params':{'type':k[_0x754441(0x2a7)],'addPivotField':{'dataFieldId':_0x33c0ed,'fieldArea':_0x46fd9e,'index':_0x4a60ef}}}))['result'][_0x754441(0x1cc)];if(!_0x4c46d9)return!0x1;const {view:_0xf54ab2,changesets:_0x390fa2,isEmpty:_0x2942ee,pivotTableConfig:_0x4687ef,shouldBeAddedGroupJSON:_0x50c2a3}=_0x4c46d9,_0x1b0a40=_0x4687ef[_0x754441(0x254)],_0x193e25=new _0x510616();_0x193e25[_0x754441(0x18d)](_0xf54ab2);const _0x118273={'cellInfo':_0x1b0a40,'view':_0x193e25,'isEmpty':_0x2942ee};if(!await _0x52431b[_0x754441(0x1b0)](ie)[_0x754441(0x192)][_0x754441(0x18b)](be)(!0x0,_0x118273))return!0x1;const _0x3bf11b=we(_0x52431b,_0x193e25,_0x1b0a40,_0x2942ee),_0x56e499=Re(_0x52431b,_0x118273),{undos:_0x2f0d63,redos:_0x27ef83}=me(_0x51cfd6,{'pivotTableId':_0x3a4a36,'unitId':_0x17d093,'subUnitId':_0x2d7b00},_0x390fa2);return _0x50c2a3&&(_0x27ef83[_0x754441(0x398)]({'id':Zo['id'],'params':{'pivotTableId':_0x3a4a36,'fieldJSON':_0x50c2a3,'unitId':_0x17d093,'subUnitId':_0x2d7b00}}),_0x2f0d63[_0x754441(0x3a1)]({'id':zo['id'],'params':{'pivotTableId':_0x3a4a36,'dataFieldId':_0x50c2a3['id'],'unitId':_0x17d093,'subUnitId':_0x2d7b00}})),_0x46d846([..._0x3bf11b[_0x754441(0x34b)],..._0x56e499[_0x754441(0x34b)],..._0x27ef83],_0x51cfd6),_0x3b07a5['pushUndoRedo']({'unitID':_0x17d093,'redoMutations':[..._0x3bf11b[_0x754441(0x34b)],..._0x56e499[_0x754441(0x34b)],..._0x27ef83],'undoMutations':[..._0x3bf11b[_0x754441(0x25b)],..._0x56e499['undos'],..._0x2f0d63]}),!0x0;}},hs=()=>typeof process<'u'&&process[_0x381a5c(0x14b)]!=null&&process[_0x381a5c(0x14b)][_0x381a5c(0x2f9)]!=null,Ct={'type':_0x1f600d[_0x381a5c(0x26e)],'id':_0x381a5c(0x355),'handler'(_0x2e800e,_0x4407b8){const _0x1e7463=_0x381a5c;var _0x1f182a;if(!_0x4407b8)return!0x1;const _0x6c437f=_0x2e800e['get'](_0x1095fa);if(!!_0x6c437f[_0x1e7463(0x1f6)](H))return!0x0;const _0x37532b=_0x2e800e[_0x1e7463(0x1b0)](_0x121e43),_0x2a494d=_0x2e800e[_0x1e7463(0x1b0)]($),{pivotTableId:_0xa2b04e,pivotTableConfig:_0x8bcf24,collectionConfig:_0x420021,unitId:_0x2e68ee,subUnitId:_0x191b8a}=_0x4407b8,{sourceRangeInfo:_0x49a962,fieldsConfig:_0x5741a2,targetCellInfo:_0x27a80f}=_0x8bcf24,_0x389879=_0x37532b['getUnit'](_0x2e68ee);if(!_0x389879||!_0x389879['getSheetBySheetId'](_0x191b8a))return!0x1;if(!hs()){let _0x11102b=0x0;_0x389879[_0x1e7463(0x2a5)]()[_0x1e7463(0x397)](_0x14d431=>{const _0xdd7ee3=_0x1e7463;var _0x51f421,_0x1ae77b;_0x11102b+=(_0x1ae77b=(_0x51f421=_0x2a494d[_0xdd7ee3(0x35f)](_0x2e68ee,_0x14d431[_0xdd7ee3(0x32a)]()))==null?void 0x0:_0x51f421[_0xdd7ee3(0x22d)])!=null?_0x1ae77b:0x0;});const _0x287ef4=(_0x1f182a=_0x6c437f[_0x1e7463(0x1f6)](_0x3311a5))!=null?_0x1f182a:{},{ls:_0x5818ea,pbk:_0x3c28fd}=_0x287ef4;if(!qo(_0x5818ea,_0x3c28fd))throw new _0x589a0b('limit\x20pivot');const _0xf5869d=go(so,_0x5818ea,_0x3c28fd)['count'];if(_0x11102b>=_0xf5869d)throw new _0x589a0b(_0x1e7463(0x238));}if(!_0x420021||!_0x5741a2)return!0x1;const {collection:_0x40ac74,updateDataFieldList:_0x56fa39}=_0x2a494d[_0x1e7463(0x28f)](_0xa2b04e,_0x420021,_0x49a962,_0x27a80f);_0x2a494d[_0x1e7463(0x341)](_0x40ac74,_0x56fa39,_0x49a962);const _0x4c85ad=new _0x54993e(_0x40ac74,void 0x0,_0xa2b04e);_0x4c85ad[_0x1e7463(0x344)](_0x5741a2);const _0x40f94c=JSON[_0x1e7463(0x3af)](JSON[_0x1e7463(0x2c7)](_0x8bcf24));return _0x2a494d['addPivotTable'](_0x2e68ee,_0x191b8a,_0xa2b04e,_0x4c85ad,_0x40f94c),_0x2a494d[_0x1e7463(0x223)]({'unitId':_0x2e68ee,'subUnitId':_0x191b8a,'token':_0xa2b04e,'type':J['Add'],'pivotConfig':_0x40f94c}),!0x0;}},vs={'type':_0x1f600d['COMMAND'],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x396bc2,_0x297fef){const _0x10e7d6=_0x381a5c;if(!_0x297fef)return!0x1;const {sourceDataInfo:_0x41b06a,pivotTableConfig:_0x454e7a}=_0x297fef;if(!_0x41b06a||!_0x454e7a)return!0x1;const {unitId:_0x34a809,subUnitId:_0x1c29ee,range:_0x28b21d}=_0x41b06a,_0x21a600=_0x396bc2[_0x10e7d6(0x1b0)](_0x121e43),_0x1e6865=_0x396bc2['get'](X),_0x6b3f1f=_0x396bc2[_0x10e7d6(0x1b0)](_0x2d274a),_0x53ceba=_0x396bc2[_0x10e7d6(0x1b0)](_0x34de0e),_0x2bb155=_0x21a600['getUnit'](_0x34a809);if(!_0x2bb155)return!0x1;const _0x196e88=_0x2bb155[_0x10e7d6(0x391)](_0x1c29ee);if(!_0x196e88)return!0x1;const _0x2f3106=_0x27f790(0x8),_0x34ded6=_0x28b21d||{'startRow':0x0,'startColumn':0x0,'endRow':_0x196e88[_0x10e7d6(0x358)]()-0x1,'endColumn':_0x196e88[_0x10e7d6(0x1e5)]()-0x1};_0x34ded6['rangeType']=_0x2817a2[_0x10e7d6(0x160)];const _0x39b329=(await _0x1e6865[_0x10e7d6(0x193)]({'unitId':_0x34a809,'subUnitId':_0x1c29ee,'pivotTableId':_0x2f3106,'params':{'type':k[_0x10e7d6(0x1cf)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x34a809,'sheetName':_0x196e88['getName'](),'subUnitId':_0x1c29ee,'range':_0x34ded6},'pivotTableId':_0x2f3106,'pivotTableIndexConfig':_0x454e7a}}}))[_0x10e7d6(0x232)][_0x10e7d6(0x35e)];if(!_0x39b329)return!0x1;const {isEmpty:_0x7fccb1,fieldsConfig:_0x59cd30,collectionConfig:_0x3817f8,changesets:_0x3c7159}=_0x39b329,_0x496135=_0x2bb155[_0x10e7d6(0x2a5)]()[_0x10e7d6(0x173)],_0x3a0ccd=_0x3f854c({'rowCount':_0x196e88[_0x10e7d6(0x358)]()-0x1,'columnCount':_0x196e88[_0x10e7d6(0x1e5)]()-0x1});_0x3a0ccd['id']=_0x5ad8e1(),_0x3a0ccd[_0x10e7d6(0x1a6)]=_0x2bb155[_0x10e7d6(0x150)](''+_0x6b3f1f['t'](_0x10e7d6(0x1b8)));const _0xab26d7={'index':_0x496135,'sheet':_0x3a0ccd,'unitId':_0x34a809},{redos:_0xc6a164}=me(_0x53ceba,{'pivotTableId':_0x2f3106,'unitId':_0x34a809,'subUnitId':_0x3a0ccd['id']},_0x3c7159),_0xe90a7d=[{'id':_0x298d22['id'],'params':_0xab26d7},{'id':Ct['id'],'params':{'unitId':_0x34a809,'subUnitId':_0x3a0ccd['id'],'pivotTableId':_0x2f3106,'pivotTableConfig':{'isEmpty':_0x7fccb1,'fieldsConfig':_0x59cd30,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x34a809,'subUnitId':_0x3a0ccd['id']},'sourceRangeInfo':{'subUnitId':_0x1c29ee,'unitId':_0x34a809,'range':_0x34ded6,'sheetName':_0x196e88[_0x10e7d6(0x3c7)]()}},'collectionConfig':_0x3817f8}},..._0xc6a164];return _0x46d846(_0xe90a7d,_0x53ceba),!0x0;}},Vt={'type':_0x1f600d['MUTATION'],'id':'sheet.mutation.remove-pivot-table','handler'(_0x4f8811,_0x474e1b){const _0x4b42d0=_0x381a5c;if(!_0x474e1b)return!0x1;if(!!_0x4f8811[_0x4b42d0(0x1b0)](_0x1095fa)['getConfig'](H))return!0x0;const {pivotTableId:_0x3272cb,unitId:_0x2dee1e,subUnitId:_0x2c49ac}=_0x474e1b,_0x48231b=_0x4f8811[_0x4b42d0(0x1b0)]($);return _0x48231b[_0x4b42d0(0x260)](_0x2dee1e,_0x2c49ac,_0x3272cb)?(_0x48231b[_0x4b42d0(0x223)]({'unitId':_0x2dee1e,'subUnitId':_0x2c49ac,'token':_0x3272cb,'type':J['Delete']}),_0x48231b[_0x4b42d0(0x308)](_0x2dee1e,_0x2c49ac,_0x3272cb),!0x0):!0x1;}},ps={'type':_0x1f600d[_0x381a5c(0x301)],'id':_0x381a5c(0x2c9),async 'handler'(_0x13b667,_0x260897){const _0x96bf6c=_0x381a5c;var _0x5d3d0b,_0x2cf52c;const _0x46aa5c=_0x13b667[_0x96bf6c(0x1b0)](_0x34de0e),_0x39382d=_0x13b667['get'](_0x121e43),_0x7d33cb=_0x13b667[_0x96bf6c(0x1b0)](_0x2d274a),_0x113520=_0x13b667[_0x96bf6c(0x1b0)](X),_0x4d7f26=_0x13b667['get'](_0x50549a),_0x25efcd=_0x13b667['get'](ve),_0x3cb788=_0x13b667[_0x96bf6c(0x1b0)](_0x1095fa);if(!_0x260897)return!0x1;const {pivotTableConfig:_0xd35b53,positionType:_0x2b37f1}=_0x260897,{targetCellInfo:_0x2a541e,sourceRangeInfo:_0x3fb909}=_0xd35b53,{unitId:_0x29ffcd,subUnitId:_0x356e85}=_0x2a541e,_0x27d414=_0x39382d[_0x96bf6c(0x14e)](_0x29ffcd);if(!_0x27d414)return!0x1;let _0x4e1dff=0x0;_0x27d414[_0x96bf6c(0x2a5)]()[_0x96bf6c(0x397)](_0x5a4334=>{const _0xa7b8f3=_0x96bf6c;var _0x478d55,_0x39b124;_0x4e1dff+=(_0x39b124=(_0x478d55=_0x25efcd[_0xa7b8f3(0x35f)](_0x29ffcd,_0x5a4334[_0xa7b8f3(0x32a)]()))==null?void 0x0:_0x478d55[_0xa7b8f3(0x22d)])!=null?_0x39b124:0x0;});const _0x28d50a=(_0x5d3d0b=_0x3cb788[_0x96bf6c(0x1f6)](_0x3311a5))!=null?_0x5d3d0b:{},{ls:_0x47da3f,pbk:_0x237249}=_0x28d50a;if(!qo(_0x47da3f,_0x237249))return!0x1;const _0x38190b=go(so,_0x47da3f,_0x237249)[_0x96bf6c(0x293)];if(_0x4e1dff>=_0x38190b)return!0x1;const _0x28f4d9=_0x260897['pivotTableId']||_0x27f790(0x8),_0x4381c4=(await _0x113520[_0x96bf6c(0x193)]({'unitId':_0x29ffcd,'subUnitId':_0x356e85,'pivotTableId':_0x28f4d9,'params':{'type':k[_0x96bf6c(0x32d)],'addPivotTable':{'sourceRangeInfo':_0x3fb909,'pivotTableId':_0x28f4d9}}}))[_0x96bf6c(0x232)]['addPivotTable'];if(!_0x4381c4)return!0x1;const {view:_0x599882,isEmpty:_0x259178,fieldsConfig:_0x3bd9ba,collectionConfig:_0x3f699b}=_0x4381c4,_0xdcc67f=[],_0x45305f=[];if(_0x2b37f1===Bo['New']){const _0x104566=_0x27d414[_0x96bf6c(0x2a5)]()['length'],_0x156806=_0x3f854c({});_0x156806['id']=_0xd35b53[_0x96bf6c(0x254)]['subUnitId'],_0x156806[_0x96bf6c(0x1a6)]=(_0x2cf52c=_0xd35b53[_0x96bf6c(0x254)][_0x96bf6c(0x245)])!=null?_0x2cf52c:_0x27d414[_0x96bf6c(0x150)](''+_0x7d33cb['t'](_0x96bf6c(0x1b8)));const _0x348d84={'index':_0x104566,'sheet':_0x156806,'unitId':_0x29ffcd},_0x636838=_0x544f78(_0x13b667,_0x348d84);_0xdcc67f['push']({'id':_0x331e55['id'],'params':_0x636838}),_0x45305f[_0x96bf6c(0x3a1)]({'id':_0x4f8c8e['id'],'params':_0x348d84});}else{if(!_0x27d414['getSheetBySheetId'](_0x356e85))return!0x1;const _0x3522b7=we(_0x13b667,new _0x510616(),_0x2a541e,!0x0);_0x45305f[_0x96bf6c(0x3a1)](..._0x3522b7['redos']),_0xdcc67f[_0x96bf6c(0x3a1)](..._0x3522b7[_0x96bf6c(0x25b)]);const _0x21b149={'cellInfo':_0x2a541e,'view':_0x599882,'isEmpty':_0x259178};if(!await _0x13b667['get'](ie)[_0x96bf6c(0x192)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x21b149))return!0x1;const _0x12607a=Re(_0x13b667,_0x21b149);_0x45305f['push'](..._0x12607a['redos']),_0xdcc67f[_0x96bf6c(0x3a1)](..._0x12607a[_0x96bf6c(0x25b)]);}return _0x45305f[_0x96bf6c(0x3a1)]({'id':Ct['id'],'params':{'unitId':_0x2a541e[_0x96bf6c(0x2d5)],'subUnitId':_0x2a541e[_0x96bf6c(0x1aa)],'pivotTableId':_0x28f4d9,'pivotTableConfig':{'targetCellInfo':_0x2a541e,'sourceRangeInfo':_0x3fb909,'fieldsConfig':_0x3bd9ba},'collectionConfig':_0x3f699b}}),_0xdcc67f[_0x96bf6c(0x398)]({'id':Vt['id'],'params':{'unitId':_0x29ffcd,'subUnitId':_0x356e85,'pivotTableId':_0x28f4d9}}),_0x46d846(_0x45305f,_0x46aa5c)&&_0x4d7f26[_0x96bf6c(0x1ff)]({'unitID':_0x29ffcd,'undoMutations':_0xdcc67f,'redoMutations':_0x45305f}),!0x0;}},ms={'type':_0x1f600d[_0x381a5c(0x301)],'id':_0x381a5c(0x22c),async 'handler'(_0x951541,_0x20d4bd){const _0x6298ce=_0x381a5c;if(!_0x20d4bd)return!0x1;const _0x59eb5f=_0x951541[_0x6298ce(0x1b0)](_0x34de0e),_0x4de28c=_0x951541['get'](X),_0x2a3704=_0x951541[_0x6298ce(0x1b0)](_0x50549a),{pivotTableId:_0x10a631,fieldId:_0xbd9213,area:_0x50ea39,index:_0xa22fe9,unitId:_0x388b31,subUnitId:_0x4ad041}=_0x20d4bd,_0x234137=(await _0x4de28c[_0x6298ce(0x193)]({'unitId':_0x388b31,'subUnitId':_0x4ad041,'pivotTableId':_0x10a631,'params':{'type':k[_0x6298ce(0x290)],'movePivotField':{'fieldId':_0xbd9213,'area':_0x50ea39,'index':_0xa22fe9}}}))[_0x6298ce(0x232)][_0x6298ce(0x20e)];if(!_0x234137)return!0x1;const {changesets:_0x558fb6,view:_0x309b67,isEmpty:_0x419854,pivotTableConfig:_0x380d8c}=_0x234137,_0x2cd75b=_0x380d8c[_0x6298ce(0x254)],_0x4708aa=new _0x510616();_0x4708aa[_0x6298ce(0x18d)](_0x309b67);const _0x5e34c1={'cellInfo':_0x2cd75b,'view':_0x4708aa,'isEmpty':_0x419854};if(!await _0x951541[_0x6298ce(0x1b0)](ie)[_0x6298ce(0x192)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x5e34c1))return!0x1;const _0x4db5f0=we(_0x951541,_0x4708aa,_0x2cd75b,_0x419854),_0x577f6e=Re(_0x951541,_0x5e34c1),{redos:_0x2378d1,undos:_0x54d1fa}=me(_0x59eb5f,{'pivotTableId':_0x10a631,'unitId':_0x388b31,'subUnitId':_0x4ad041},_0x558fb6);return _0x46d846([..._0x4db5f0[_0x6298ce(0x34b)],..._0x577f6e['redos'],..._0x2378d1],_0x59eb5f),_0x2a3704[_0x6298ce(0x1ff)]({'unitID':_0x388b31,'redoMutations':[..._0x4db5f0[_0x6298ce(0x34b)],..._0x577f6e[_0x6298ce(0x34b)],..._0x2378d1],'undoMutations':[..._0x4db5f0[_0x6298ce(0x25b)],..._0x577f6e[_0x6298ce(0x25b)],..._0x54d1fa]}),!0x0;}},pt={'type':_0x1f600d[_0x381a5c(0x26e)],'id':_0x381a5c(0x2d4),'handler'(_0x3bceed,_0x530712){const _0x8b0a5f=_0x381a5c;if(!_0x530712)return!0x1;if(!!_0x3bceed[_0x8b0a5f(0x1b0)](_0x1095fa)[_0x8b0a5f(0x1f6)](H))return!0x0;const {pivotTableId:_0x21defd,targetCellPosition:_0x405d19,unitId:_0x4ff1c1,subUnitId:_0x56cda1}=_0x530712,_0x2c1df9=_0x3bceed['get']($);if(!_0x2c1df9['getPivotTableInstance'](_0x530712[_0x8b0a5f(0x1b9)]))return!0x1;const _0x32c60c=_0x2c1df9[_0x8b0a5f(0x366)](_0x21defd);if(!_0x32c60c)return!0x1;const _0x2e07f5=_0x2c1df9['getCollection'](_0x32c60c[_0x8b0a5f(0x2d5)],_0x530712['pivotTableId']);if(!_0x2e07f5)return!0x1;const _0x310d8b=_0x2c1df9['getPivotTableConfig'](_0x32c60c[_0x8b0a5f(0x2d5)],_0x32c60c['subUnitId'],_0x21defd);if(!_0x310d8b)return!0x1;const _0x2b3899=_0xb5c948[_0x8b0a5f(0x29f)](_0x310d8b);_0x2b3899[_0x8b0a5f(0x254)]={'unitId':_0x4ff1c1,'subUnitId':_0x56cda1,'row':_0x405d19[_0x8b0a5f(0x1ea)],'col':_0x405d19[_0x8b0a5f(0x340)]};const _0x673d00=_0x2e07f5[_0x8b0a5f(0x365)]();if(_0x32c60c[_0x8b0a5f(0x1aa)]===_0x56cda1&&_0x32c60c['unitId']===_0x4ff1c1)_0x2c1df9[_0x8b0a5f(0x2e8)](_0x4ff1c1,_0x56cda1,_0x21defd,_0x2b3899),_0x2c1df9['addDirtyPivotTable']({'unitId':_0x4ff1c1,'subUnitId':_0x56cda1,'token':_0x21defd,'type':J[_0x8b0a5f(0x186)]});else{_0x2c1df9[_0x8b0a5f(0x223)]({'unitId':_0x32c60c[_0x8b0a5f(0x2d5)],'subUnitId':_0x32c60c[_0x8b0a5f(0x1aa)],'token':_0x21defd,'type':J['Delete']}),_0x2c1df9['removePivotTable'](_0x32c60c[_0x8b0a5f(0x2d5)],_0x32c60c[_0x8b0a5f(0x1aa)],_0x21defd);const _0x496c8b=_0x2c1df9[_0x8b0a5f(0x28f)](_0x21defd,_0x673d00,_0x310d8b[_0x8b0a5f(0x21d)],_0x2b3899[_0x8b0a5f(0x254)]),_0xac5913=new _0x54993e(_0x496c8b[_0x8b0a5f(0x38b)],void 0x0,_0x21defd);_0xac5913['fromJSON'](_0x2b3899[_0x8b0a5f(0x26a)]),_0x2c1df9[_0x8b0a5f(0x23b)](_0x4ff1c1,_0x56cda1,_0x21defd,_0xac5913,_0x2b3899),_0x2c1df9[_0x8b0a5f(0x223)]({'unitId':_0x4ff1c1,'subUnitId':_0x56cda1,'token':_0x21defd,'type':J[_0x8b0a5f(0x229)],'pivotConfig':_0x2b3899});}return!0x0;}},Is={'type':_0x1f600d[_0x381a5c(0x301)],'id':_0x381a5c(0x26b),'handler':(_0x25f68d,_0x188e4c)=>{const _0x480e3c=_0x381a5c,_0xcd0d22=_0x25f68d[_0x480e3c(0x1b0)](_0x34de0e),_0x208f2d=_0x25f68d[_0x480e3c(0x1b0)](_0x50549a),_0x3d7465=_0x25f68d['get'](ve),_0x4c868b=_0x25f68d[_0x480e3c(0x1b0)](_0x121e43);if(!_0x188e4c)return!0x1;const _0x8c8995=_0x19f1df(_0x4c868b);if(!_0x8c8995)return!0x1;const {unitId:_0x331a41,subUnitId:_0x41414d,workbook:_0x57b3ae}=_0x8c8995,_0x49d5a2=_0x3d7465[_0x480e3c(0x260)](_0x188e4c[_0x480e3c(0x24a)][_0x480e3c(0x2d5)],_0x188e4c['originTargetInfo'][_0x480e3c(0x1aa)],_0x188e4c[_0x480e3c(0x1b9)]);if(!_0x49d5a2)return!0x1;const _0x17a3c9=_0x57b3ae[_0x480e3c(0x391)](_0x188e4c['targetCellInfo']['subUnitId']);if(!_0x17a3c9)throw new Error(_0x480e3c(0x329));const _0x1fe50a=_0x17a3c9['getRowCount'](),_0x251de7=_0x17a3c9[_0x480e3c(0x1e5)]();if(_0x188e4c['targetCellInfo'][_0x480e3c(0x1ea)]>_0x1fe50a||_0x188e4c['targetCellInfo'][_0x480e3c(0x340)]>_0x251de7)throw new Error(_0x480e3c(0x36b));const _0x8ef9b3=[{'id':pt['id'],'params':{'unitId':_0x331a41,'subUnitId':_0x188e4c[_0x480e3c(0x254)][_0x480e3c(0x1aa)],'pivotTableId':_0x188e4c[_0x480e3c(0x1b9)],'targetCellPosition':{'row':_0x188e4c[_0x480e3c(0x254)][_0x480e3c(0x1ea)],'col':_0x188e4c[_0x480e3c(0x254)]['col']}}}],_0xeefab8=[{'id':pt['id'],'params':{'unitId':_0x331a41,'subUnitId':_0x41414d,'pivotTableId':_0x188e4c[_0x480e3c(0x1b9)],'targetCellPosition':{'row':_0x49d5a2['targetCellInfo'][_0x480e3c(0x1ea)],'col':_0x49d5a2[_0x480e3c(0x254)]['col']}}}];return _0x46d846(_0x8ef9b3,_0xcd0d22)&&_0x208f2d[_0x480e3c(0x1ff)]({'unitID':_0x331a41,'undoMutations':_0xeefab8,'redoMutations':_0x8ef9b3}),!0x0;}},Cs={'type':_0x1f600d['COMMAND'],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x26edcb,_0x3f9017){const _0x30e07a=_0x381a5c;var _0x5625c2;if(!_0x3f9017)return!0x1;const _0x1328b8=_0x26edcb[_0x30e07a(0x1b0)](_0x121e43),_0x57eeee=_0x19f1df(_0x1328b8);if(!_0x57eeee)return!0x1;const {unitId:_0x396bbb,subUnitId:_0x57ba1f,workbook:_0x4f2825}=_0x57eeee,{row:_0x366a07,col:_0x5185a4}=_0x3f9017,_0x22810d=_0x26edcb[_0x30e07a(0x1b0)](Ee),_0x25ab90=_0x22810d[_0x30e07a(0x19d)](_0x396bbb,_0x57ba1f,_0x366a07,_0x5185a4);if(!_0x25ab90)return!0x1;const _0x2c9782=(_0x5625c2=_0x22810d['getPivotItemRenderInfoCache'](_0x396bbb,_0x57ba1f,_0x25ab90))==null?void 0x0:_0x5625c2[_0x30e07a(0x1d9)];if(!_0x2c9782)return!0x1;const _0x3f8982=_0x26edcb[_0x30e07a(0x1b0)](ve)[_0x30e07a(0x260)](_0x396bbb,_0x57ba1f,_0x25ab90);if(!_0x3f8982)return!0x1;const {rowInfo:_0x4b4a50,colInfo:_0x50c6ec}=_0x2c9782,_0x2db763=_0x4b4a50[_0x366a07][_0x30e07a(0x1ce)],_0x53b137=_0x50c6ec[_0x5185a4][_0x30e07a(0x1ce)],_0x14a3c4=_0x4b4a50[_0x366a07][_0x30e07a(0x230)],_0x3655b2=_0x50c6ec[_0x5185a4][_0x30e07a(0x230)],_0x52b994=_0x2db763[_0x30e07a(0x1f2)](_0x53b137),_0x13955e=_0x3f8982[_0x30e07a(0x26a)][_0x30e07a(0x39f)]['slice'](0x0,_0x14a3c4),_0x42ac12=_0x3f8982[_0x30e07a(0x26a)][_0x30e07a(0x395)][_0x30e07a(0x3a0)](0x0,_0x3655b2),_0x58567f=_0x13955e['concat'](_0x42ac12),_0x41d2e3=_0x52b994[_0x30e07a(0x15c)]((_0x258ce7,_0x1a031e)=>[_0x258ce7,_0x58567f[_0x1a031e]]),_0x138fb4=(await _0x26edcb[_0x30e07a(0x1b0)](X)[_0x30e07a(0x193)]({'unitId':_0x396bbb,'subUnitId':_0x57ba1f,'pivotTableId':_0x25ab90,'params':{'type':k[_0x30e07a(0x316)],'drillDown':{'tuple':_0x41d2e3}}}))[_0x30e07a(0x232)][_0x30e07a(0x36f)];if(!_0x138fb4)return!0x1;const {indexes:_0x216c3a,range:_0x904666,sourceUnitId:_0x1f7a2e,sourceSubUnitId:_0x34ac75,formatMap:_0x4cb313}=_0x138fb4,{startRow:_0x44c63b,endRow:_0x2d9654,startColumn:_0x2f7f61,endColumn:_0x22a772}=_0x904666,_0x42e281=new _0x399667(),_0xf87536=_0x2d9654-_0x44c63b,_0x3133da=_0x22a772-_0x2f7f61,_0x52927d={},_0x467947=_0x19f1df(_0x1328b8,{'unitId':_0x1f7a2e,'subUnitId':_0x34ac75});if(!_0x467947)return!0x1;const _0xe6c8d1=fe[_0x30e07a(0x330)],_0x46d1e1=fe['subTotalStyle'],_0x2012e5=fe['subTotalStyle'],_0x3bd4f6=_0x4f2825['getStyles']()[_0x30e07a(0x18e)](_0xe6c8d1),_0xb1b9f2=_0x4f2825[_0x30e07a(0x1cd)]()[_0x30e07a(0x18e)](_0x46d1e1),_0x19ec7f=_0x4f2825['getStyles']()[_0x30e07a(0x18e)](_0x2012e5),{worksheet:_0x49e00f}=_0x467947;let _0x6f2a02=0x0;const _0x4089c9=0x1;_0x216c3a[_0x30e07a(0x397)](_0x41c03d=>{const _0x595338=_0x30e07a;for(let _0x524b8d=0x0;_0x524b8d<=_0x22a772-_0x2f7f61;_0x524b8d++)_0x42e281[_0x595338(0x18e)](_0x6f2a02,_0x524b8d,_0x49e00f[_0x595338(0x2ea)](_0x41c03d+_0x904666['startRow']+_0x4089c9,_0x524b8d));_0x6f2a02++;});for(let _0x542dd8=_0x2f7f61;_0x542dd8<=_0x22a772;_0x542dd8++){const _0x520b24=_0x49e00f[_0x30e07a(0x2ea)](_0x44c63b,_0x542dd8);_0x52927d[_0x44c63b]||(_0x52927d[_0x44c63b]={}),_0x52927d[_0x44c63b][_0x542dd8]={..._0x520b24,'s':_0x3bd4f6};}let _0x29fe21=0x1;const _0x1c3652={},_0x2d5fbf={};_0x42e281[_0x30e07a(0x228)]((_0x5859a6,_0x3d5fe3)=>{_0x3d5fe3['forEach'](_0xcb0f09=>{const _0x4ec134=_0x1367,_0x4376c6=_0x42e281[_0x4ec134(0x2bc)](_0x5859a6,_0xcb0f09);if(_0x52927d[_0x29fe21]||(_0x52927d[_0x29fe21]={}),_0x52927d[_0x29fe21][_0xcb0f09]={..._0x4376c6,'s':_0x29fe21%0x2===0x0?_0x19ec7f:_0xb1b9f2},_0x4cb313[_0xcb0f09]&&_0x5859a6>=0x0){const _0x5cce7a=_0x29fe21%0x2===0x0;let _0x44ac28=_0x5cce7a?_0x2d5fbf[_0xcb0f09]:_0x1c3652[_0xcb0f09];_0x44ac28||(_0x44ac28=_0x4f2825[_0x4ec134(0x1cd)]()['setValue']({..._0x5cce7a?_0x2012e5:_0x46d1e1,'n':{'pattern':_0x4cb313[_0xcb0f09]}}),_0x5cce7a?_0x2d5fbf[_0xcb0f09]=_0x44ac28:_0x1c3652[_0xcb0f09]=_0x44ac28),_0x52927d[_0x29fe21][_0xcb0f09]['s']=_0x44ac28;}}),_0x29fe21++;});const _0xf6072f=new _0x399667(_0x52927d),_0x356cc4={};_0xf6072f[_0x30e07a(0x380)]((_0x428514,_0x36665a,_0x5e9e55)=>{_0x356cc4[_0x428514]||(_0x356cc4[_0x428514]={}),_0x356cc4[_0x428514][_0x36665a]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x3019c1=[],_0x1bc943=[],_0x55431b=_0x4f2825[_0x30e07a(0x2a5)]()[_0x30e07a(0x173)],_0x536724=_0x3f854c({'rowCount':Math[_0x30e07a(0x346)](_0x5deb97,_0xf87536+0xa),'columnCount':Math['max'](_0x2a747f,_0x3133da+0x5)}),_0x123314=_0x26edcb[_0x30e07a(0x1b0)](_0x2d274a);_0x536724['id']=_0x5ad8e1(),_0x536724[_0x30e07a(0x1a6)]=_0x4f2825[_0x30e07a(0x150)](''+_0x123314['t']('sheets.tabs.sheet'));const _0x12d138={'index':_0x55431b,'sheet':_0x536724,'unitId':_0x396bbb},_0x53cb1e=_0x544f78(_0x26edcb,_0x12d138);_0x1bc943[_0x30e07a(0x3a1)]({'id':_0x4f8c8e['id'],'params':_0x12d138}),_0x3019c1[_0x30e07a(0x3a1)]({'id':_0x331e55['id'],'params':_0x53cb1e}),_0x1bc943[_0x30e07a(0x3a1)]({'id':_0x12dc3c['id'],'params':{'unitId':_0x396bbb,'subUnitId':_0x536724['id'],'cellValue':_0x52927d}}),_0x3019c1[_0x30e07a(0x398)]({'id':_0x12dc3c['id'],'params':{'unitId':_0x396bbb,'subUnitId':_0x536724['id'],'cellValue':_0x356cc4}});const _0xd322f9={'startRow':0x0,'startColumn':0x0,'endRow':_0x29fe21-0x1,'endColumn':_0x22a772};_0x1bc943[_0x30e07a(0x3a1)]({'id':_0x45de1a['id'],'params':{'unitId':_0x396bbb,'subUnitId':_0x536724['id'],'range':_0xd322f9}}),_0x3019c1[_0x30e07a(0x398)]({'id':_0x1367de['id'],'params':{'unitId':_0x396bbb,'subUnitId':_0x536724['id']}});const _0x22b912=_0x26edcb[_0x30e07a(0x1b0)](_0x34de0e);return _0x46d846(_0x1bc943,_0x22b912)&&_0x26edcb[_0x30e07a(0x1b0)](_0x50549a)[_0x30e07a(0x1ff)]({'unitID':_0x396bbb,'undoMutations':_0x3019c1,'redoMutations':_0x1bc943}),!0x0;}},bs={'type':_0x1f600d['COMMAND'],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x10a5d6,_0x2641ff){const _0x2fb9a9=_0x381a5c;if(!_0x2641ff)return!0x1;const _0x290c5e=_0x10a5d6[_0x2fb9a9(0x1b0)](_0x34de0e),_0x513595=_0x10a5d6[_0x2fb9a9(0x1b0)](X),_0x4b3f2a=_0x10a5d6[_0x2fb9a9(0x1b0)](_0x50549a),{pivotTableId:_0x83abde,fieldIds:_0x4bda67,unitId:_0xc2ca21,subUnitId:_0x506973}=_0x2641ff,_0x303d20=(await _0x513595['getPivotDisplayConfig']({'unitId':_0xc2ca21,'subUnitId':_0x506973,'pivotTableId':_0x83abde,'params':{'type':k['RemovePivotField'],'removePivotField':{'fieldIds':_0x4bda67}}}))[_0x2fb9a9(0x232)]['removePivotField'];if(!_0x303d20)return!0x1;const {view:_0x274604,changesets:_0x3239ce,isEmpty:_0x4b9342,pivotTableConfig:_0xe15081}=_0x303d20,_0x4b1b0f=_0xe15081[_0x2fb9a9(0x254)],_0xbbedd=new _0x510616();_0xbbedd[_0x2fb9a9(0x18d)](_0x274604);const _0x7bcda7={'cellInfo':_0x4b1b0f,'view':_0xbbedd,'isEmpty':_0x4b9342};if(!await _0x10a5d6['get'](ie)[_0x2fb9a9(0x192)][_0x2fb9a9(0x18b)](be)(!0x0,_0x7bcda7))return!0x1;const _0x3549c0=we(_0x10a5d6,_0xbbedd,_0x4b1b0f,_0x4b9342),_0x59426f=Re(_0x10a5d6,_0x7bcda7),{redos:_0x37c6b5,undos:_0xcf578a}=me(_0x290c5e,{'pivotTableId':_0x83abde,'unitId':_0xc2ca21,'subUnitId':_0x506973},_0x3239ce);return _0x46d846([..._0x3549c0[_0x2fb9a9(0x34b)],..._0x59426f['redos'],..._0x37c6b5],_0x290c5e),_0x4b3f2a[_0x2fb9a9(0x1ff)]({'unitID':_0xc2ca21,'redoMutations':[..._0x3549c0[_0x2fb9a9(0x34b)],..._0x59426f[_0x2fb9a9(0x34b)],..._0x37c6b5],'undoMutations':[..._0x3549c0[_0x2fb9a9(0x25b)],..._0x59426f['undos'],..._0xcf578a]}),!0x0;}},Ss={'type':_0x1f600d[_0x381a5c(0x301)],'id':_0x381a5c(0x38f),async 'handler'(_0x14f6b8,_0x578351){const _0x37881c=_0x381a5c;if(!_0x578351)return!0x1;const _0x1c157a=_0x14f6b8[_0x37881c(0x1b0)](_0x34de0e),_0x41b8be=_0x14f6b8[_0x37881c(0x1b0)](_0x50549a),_0x11701d=_0x14f6b8[_0x37881c(0x1b0)](X),{resetArea:_0x6e5c0d,pivotTableId:_0x40b539,unitId:_0x28d1a8,subUnitId:_0x1ce399}=_0x578351,_0x380928=(await _0x11701d['getPivotDisplayConfig']({'unitId':_0x28d1a8,'subUnitId':_0x1ce399,'pivotTableId':_0x40b539,'params':{'type':k['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x40b539,'resetArea':_0x6e5c0d}}}))[_0x37881c(0x232)]['resetPivotTable'];if(!_0x380928)return!0x1;const {changesets:_0x3d6127}=_0x380928,{redos:_0x14bec3,undos:_0x25c8bc}=me(_0x1c157a,{'pivotTableId':_0x40b539,'unitId':_0x28d1a8,'subUnitId':_0x1ce399},_0x3d6127);return _0x46d846(_0x14bec3,_0x1c157a),_0x41b8be[_0x37881c(0x1ff)]({'unitID':_0x28d1a8,'redoMutations':_0x14bec3,'undoMutations':_0x25c8bc}),!0x0;}},Ps={'type':_0x1f600d[_0x381a5c(0x301)],'id':_0x381a5c(0x23f),async 'handler'(_0x4f6750,_0x4ccfe){const _0x2bf6f0=_0x381a5c;var _0xc10294;const _0x2f301a=_0x4f6750['get'](_0x34de0e),_0x57581b=_0x4f6750[_0x2bf6f0(0x1b0)](X),_0x193621=_0x4f6750['get'](Ee),_0x130540=_0x4f6750[_0x2bf6f0(0x1b0)](_0x121e43),_0x536d46=_0x4f6750['get'](_0x50549a);if(!_0x4ccfe)return!0x1;const {unitId:_0x42371f,subUnitId:_0x38e76a,row:_0xdb24c,col:_0xc1d3f,collapse:_0x2d15e1}=_0x4ccfe,_0x5304f5=_0x130540[_0x2bf6f0(0x14e)](_0x42371f);if(!_0x5304f5||!_0x5304f5[_0x2bf6f0(0x391)](_0x38e76a))return!0x1;const _0x57ac6c=_0x193621[_0x2bf6f0(0x19d)](_0x42371f,_0x38e76a,_0xdb24c,_0xc1d3f);if(!_0x57ac6c)return!0x1;const _0x5eba99=_0x193621[_0x2bf6f0(0x1bc)](_0x42371f,_0x38e76a,_0x57ac6c);if(!_0x5eba99)return!0x1;const _0x5de5dd=_0x36b650(_0xdb24c,_0xc1d3f),{rangesInfo:_0x3bdb11,areaInfo:_0x325359,headerMap:_0x213d03}=_0x5eba99;if(!_0x3bdb11||!_0x325359||!_0x213d03)return!0x1;const _0x4114d2=Object[_0x2bf6f0(0x374)](_0x3bdb11)[_0x2bf6f0(0x378)](_0x49505b=>_0x3bdb11[_0x49505b][_0x2bf6f0(0x1fd)](_0x127235=>_0x293797[_0x2bf6f0(0x354)](_0x127235,_0x5de5dd)));let _0x4fed2e;_0x4114d2===_0x2bf6f0(0x1a2)?_0x4fed2e=_0x213d03[_0x2bf6f0(0x3b0)][_0xc1d3f]:_0x4114d2===_0x2bf6f0(0x2b5)&&(_0x4fed2e=_0x213d03[_0x2bf6f0(0x31f)][_0xdb24c]);const _0x2a817a=_0x4fed2e==null?void 0x0:_0x4fed2e[_0x2bf6f0(0x209)],_0x5c9a1c=(_0xc10294=_0x193621[_0x2bf6f0(0x3c1)](_0x42371f,_0x38e76a,_0xdb24c,_0xc1d3f))==null?void 0x0:_0xc10294['v'];if(_0x5c9a1c==null||!_0x57ac6c||!_0x2a817a)return!0x1;const _0x4945bb=await _0x57581b[_0x2bf6f0(0x193)]({'unitId':_0x42371f,'subUnitId':_0x38e76a,'pivotTableId':_0x57ac6c,'params':{'type':k[_0x2bf6f0(0x235)],'setPivotCollapse':{'tableFieldId':_0x2a817a,'collapse':_0x2d15e1,'item':_0x5c9a1c}}}),_0x4aaa0d=_0x4945bb==null?void 0x0:_0x4945bb[_0x2bf6f0(0x232)]['setPivotCollapse'];if(!_0x4aaa0d)return!0x1;const {view:_0x30a22f,pivotTableConfig:_0x428e72,isEmpty:_0x4051d4,changesets:_0xc6f388}=_0x4aaa0d,_0x40e6a5=new _0x510616();_0x40e6a5[_0x2bf6f0(0x18d)](_0x30a22f);const _0x23cc0f=_0x428e72[_0x2bf6f0(0x254)],_0x35b53a={'cellInfo':_0x23cc0f,'view':_0x40e6a5,'isEmpty':_0x4051d4};if(!await _0x4f6750[_0x2bf6f0(0x1b0)](ie)[_0x2bf6f0(0x192)][_0x2bf6f0(0x18b)](be)(!0x0,_0x35b53a))return!0x1;const _0x4c0574=we(_0x4f6750,_0x40e6a5,_0x23cc0f,_0x4051d4),_0x4bbc95=Re(_0x4f6750,_0x35b53a),{redos:_0x4b46c0,undos:_0x33eab2}=me(_0x2f301a,{'pivotTableId':_0x57ac6c,'unitId':_0x42371f,'subUnitId':_0x38e76a},_0xc6f388);return _0x46d846([..._0x4c0574['redos'],..._0x4bbc95[_0x2bf6f0(0x34b)],..._0x4b46c0],_0x2f301a),_0x536d46[_0x2bf6f0(0x1ff)]({'unitID':_0x42371f,'redoMutations':[..._0x4c0574[_0x2bf6f0(0x34b)],..._0x4bbc95['redos'],..._0x4b46c0],'undoMutations':[..._0x4c0574[_0x2bf6f0(0x25b)],..._0x4bbc95[_0x2bf6f0(0x25b)],..._0x33eab2]}),!0x0;}},Ts={'type':_0x1f600d[_0x381a5c(0x301)],'id':_0x381a5c(0x368),async 'handler'(_0xb2d7da,_0xbe9e1e){const _0x3fa8bb=_0x381a5c;if(!_0xbe9e1e)return!0x1;const _0xace3cb=_0xb2d7da[_0x3fa8bb(0x1b0)](_0x34de0e),_0x443644=_0xb2d7da[_0x3fa8bb(0x1b0)](_0x50549a),_0x6d6e6c=_0xb2d7da['get'](X),{pivotTableConfig:_0x5eff1e,pivotTableId:_0xa071b8,unitId:_0x194f7a,subUnitId:_0x35ea28}=_0xbe9e1e,_0x4200fc=(await _0x6d6e6c[_0x3fa8bb(0x193)]({'unitId':_0x194f7a,'subUnitId':_0x35ea28,'pivotTableId':_0xa071b8,'params':{'type':k[_0x3fa8bb(0x3d3)],'setPivotTableConfig':{'pivotTableId':_0xa071b8,'pivotTableConfig':_0x5eff1e}}}))['result'][_0x3fa8bb(0x1d3)];if(!_0x4200fc)return!0x1;const {changesets:_0x4350e7}=_0x4200fc,{redos:_0x59f5d1,undos:_0x29cd33}=me(_0xace3cb,{'pivotTableId':_0xa071b8,'unitId':_0x194f7a,'subUnitId':_0x35ea28},_0x4350e7);return _0x46d846(_0x59f5d1,_0xace3cb),_0x443644[_0x3fa8bb(0x1ff)]({'unitID':_0x194f7a,'redoMutations':_0x59f5d1,'undoMutations':_0x29cd33}),!0x0;}},ys={'type':_0x1f600d[_0x381a5c(0x301)],'id':_0x381a5c(0x2fc),async 'handler'(_0x1bb18c,_0x32e046){const _0x50b181=_0x381a5c;if(!_0x32e046)return!0x1;const _0x537973=_0x1bb18c[_0x50b181(0x1b0)](_0x34de0e),{pivotTableId:_0xe3c420,tableFieldId:_0x50667d,items:_0x23fe51,unitId:_0xb09740,subUnitId:_0x1f83b5,isAll:_0x590cab}=_0x32e046,_0x18faf0=_0x1bb18c['get'](X),_0x8734fa=_0x1bb18c[_0x50b181(0x1b0)](_0x50549a),_0x889635=(await _0x18faf0[_0x50b181(0x193)]({'unitId':_0xb09740,'subUnitId':_0x1f83b5,'pivotTableId':_0xe3c420,'params':{'type':k[_0x50b181(0x1a7)],'setPivotFilter':{'tableFieldId':_0x50667d,'items':_0x23fe51,'isAll':_0x590cab}}}))[_0x50b181(0x232)][_0x50b181(0x2f7)];if(!_0x889635)return!0x1;const {changesets:_0x69d5d3,pivotTableConfig:_0x588af6,isEmpty:_0x341702,view:_0x2c6de6}=_0x889635,_0x428ec1=_0x588af6[_0x50b181(0x254)],_0x14bf22=new _0x510616();_0x14bf22[_0x50b181(0x18d)](_0x2c6de6);const _0x7e8582={'cellInfo':_0x428ec1,'view':_0x14bf22,'isEmpty':_0x341702};if(!await _0x1bb18c[_0x50b181(0x1b0)](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x7e8582))return!0x1;const _0x1dd8c3=we(_0x1bb18c,_0x14bf22,_0x428ec1,_0x341702),_0x45523e=Re(_0x1bb18c,_0x7e8582),{undos:_0x5b1275,redos:_0x492e7b}=me(_0x537973,{'pivotTableId':_0xe3c420,'unitId':_0xb09740,'subUnitId':_0x1f83b5},_0x69d5d3);return _0x46d846([..._0x1dd8c3['redos'],..._0x45523e[_0x50b181(0x34b)],..._0x492e7b],_0x537973),_0x8734fa[_0x50b181(0x1ff)]({'unitID':_0xb09740,'redoMutations':[..._0x1dd8c3[_0x50b181(0x34b)],..._0x45523e['redos'],..._0x492e7b],'undoMutations':[..._0x1dd8c3[_0x50b181(0x25b)],..._0x45523e[_0x50b181(0x25b)],..._0x5b1275]}),!0x0;}},Ms={'type':_0x1f600d[_0x381a5c(0x301)],'id':_0x381a5c(0x24e),async 'handler'(_0x19fb8d,_0x84d386){const _0x188e7b=_0x381a5c;if(!_0x84d386)return!0x1;const _0xcba517=_0x19fb8d[_0x188e7b(0x1b0)](_0x34de0e),_0x377c1b=_0x19fb8d[_0x188e7b(0x1b0)](_0x50549a),_0x5f5417=_0x19fb8d['get'](X),{info:_0x4a532c,tableFieldId:_0x12abb9,pivotTableId:_0x559479,unitId:_0xc2a93f,subUnitId:_0x2e80b2}=_0x84d386,_0x3a6f7a=(await _0x5f5417[_0x188e7b(0x193)]({'unitId':_0xc2a93f,'subUnitId':_0x2e80b2,'pivotTableId':_0x559479,'params':{'type':k[_0x188e7b(0x17d)],'setPivotSort':{'tableFieldId':_0x12abb9,'info':_0x4a532c}}}))['result'][_0x188e7b(0x30a)];if(!_0x3a6f7a)return!0x1;const {changesets:_0x2d1b9f}=_0x3a6f7a,{redos:_0x805aa,undos:_0x16577a}=me(_0xcba517,{'pivotTableId':_0x559479,'unitId':_0xc2a93f,'subUnitId':_0x2e80b2},_0x2d1b9f);return _0x46d846(_0x805aa,_0xcba517),_0x377c1b[_0x188e7b(0x1ff)]({'unitID':_0xc2a93f,'redoMutations':_0x805aa,'undoMutations':_0x16577a}),!0x0;}},ws={'type':_0x1f600d[_0x381a5c(0x301)],'id':_0x381a5c(0x17b),async 'handler'(_0x561adc,_0x3172a6){const _0x280e4e=_0x381a5c;if(!_0x3172a6)return!0x1;const _0x57a435=_0x561adc[_0x280e4e(0x1b0)](_0x34de0e),{pivotTableId:_0x5a694a,fieldId:_0x5252ea,valueFilterInfo:_0x1db106,unitId:_0x9d1d7b,subUnitId:_0x7cfeeb}=_0x3172a6,_0x3452fe=_0x561adc['get'](X),_0x3cc9d0=_0x561adc[_0x280e4e(0x1b0)](_0x50549a),_0x4186e5=(await _0x3452fe[_0x280e4e(0x193)]({'unitId':_0x9d1d7b,'subUnitId':_0x7cfeeb,'pivotTableId':_0x5a694a,'params':{'type':k['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x5252ea,'filterInfo':_0x1db106}}}))[_0x280e4e(0x232)][_0x280e4e(0x1c5)];if(!_0x4186e5)return!0x1;const {changesets:_0x446b0a,pivotTableConfig:_0x2db9cd,isEmpty:_0x3648ae,view:_0x3fa507}=_0x4186e5,_0x3a53a4=_0x2db9cd['targetCellInfo'],_0x58d659=new _0x510616();_0x58d659[_0x280e4e(0x18d)](_0x3fa507);const _0x2c3411={'cellInfo':_0x3a53a4,'view':_0x58d659,'isEmpty':_0x3648ae};if(!await _0x561adc[_0x280e4e(0x1b0)](ie)[_0x280e4e(0x192)][_0x280e4e(0x18b)](be)(!0x0,_0x2c3411))return!0x1;const _0x3ee33f=we(_0x561adc,_0x58d659,_0x3a53a4,_0x3648ae),_0x12b5ec=Re(_0x561adc,_0x2c3411),{undos:_0x10b480,redos:_0xdffd3e}=me(_0x57a435,{'pivotTableId':_0x5a694a,'unitId':_0x9d1d7b,'subUnitId':_0x7cfeeb},_0x446b0a);return _0x46d846([..._0x3ee33f[_0x280e4e(0x34b)],..._0x12b5ec[_0x280e4e(0x34b)],..._0xdffd3e],_0x57a435),_0x3cc9d0[_0x280e4e(0x1ff)]({'unitID':_0x9d1d7b,'redoMutations':[..._0x3ee33f[_0x280e4e(0x34b)],..._0x12b5ec[_0x280e4e(0x34b)],..._0xdffd3e],'undoMutations':[..._0x3ee33f['undos'],..._0x12b5ec[_0x280e4e(0x25b)],..._0x10b480]}),!0x0;}},to={'id':_0x381a5c(0x359),'type':_0x1f600d[_0x381a5c(0x26e)],'handler':(_0x56c8ec,_0x35e03e)=>{const _0x2be1e1=_0x381a5c;if(!_0x35e03e)return!0x1;if(!!_0x56c8ec[_0x2be1e1(0x1b0)](_0x1095fa)['getConfig'](H))return!0x0;const {unitId:_0x263266,subUnitId:_0x47470e,pivotTableId:_0x4488aa,tableFieldId:_0xbe60da,dateType:_0x1ceab8}=_0x35e03e,_0x2f415c=_0x56c8ec['get']($),_0x17c28f=_0x2f415c[_0x2be1e1(0x31e)](_0x4488aa);if(!_0x17c28f)return!0x1;const _0x3897be=_0x17c28f[_0x2be1e1(0x332)](_0xbe60da);if(!_0x3897be)return!0x1;const _0x4795d9=_0x3897be[_0x2be1e1(0x2ee)](),_0xf461cf=_0x17c28f['getDataFieldByDataFieldId'](_0x4795d9),_0x5810a8=(_0xf461cf==null?void 0x0:_0xf461cf[_0x2be1e1(0x3c7)]())+'\x20'+Ho(_0x56c8ec,_0x1ceab8);_0x2f415c['getCollection'](_0x263266,_0x4488aa)[_0x2be1e1(0x204)](_0x3897be['id'],_0x5810a8);const _0x4f5823=_0x17c28f[_0x2be1e1(0x252)](_0xbe60da);if(!_0x4f5823)return!0x1;_0x17c28f[_0x2be1e1(0x1bd)](_0x4f5823[_0x2be1e1(0x2a2)](),_0x5810a8),_0x3897be[_0x2be1e1(0x2f0)](_0x1ceab8);const _0x4f349f=_0x2f415c[_0x2be1e1(0x260)](_0x263266,_0x47470e,_0x4488aa);return _0x2f415c['addDirtyPivotTable']({'unitId':_0x263266,'subUnitId':_0x47470e,'token':_0x4488aa,'type':J[_0x2be1e1(0x186)],'pivotConfig':_0x4f349f}),!0x0;}},Rs={'id':'sheet.command.update-date-group','type':_0x1f600d[_0x381a5c(0x301)],'handler':(_0x1d18b6,_0x4f07c2)=>{const _0x8ec4ac=_0x381a5c;if(!_0x4f07c2)return!0x1;const _0xcda66a=_0x1d18b6[_0x8ec4ac(0x1b0)](_0x50549a),{unitId:_0x4ee33c,subUnitId:_0x3ae260,pivotTableId:_0x28bf33,tableFieldId:_0x1c842a}=_0x4f07c2,_0x492043=[],_0x4dc681=[],_0x219416=_0x1d18b6[_0x8ec4ac(0x1b0)](ve),_0x1153bb=_0x219416['getCollection'](_0x4ee33c,_0x28bf33),_0x5205ef=_0x219416[_0x8ec4ac(0x260)](_0x4ee33c,_0x3ae260,_0x28bf33);if(!(_0x5205ef!=null&&_0x5205ef[_0x8ec4ac(0x26a)][_0x8ec4ac(0x3a4)]))return!0x1;const _0x40c74d=Object[_0x8ec4ac(0x334)](_0x5205ef[_0x8ec4ac(0x26a)][_0x8ec4ac(0x3a4)])['find'](_0x147e10=>_0x147e10['id']===_0x1c842a);if(!_0x40c74d)return!0x1;const _0x17ce8c=_0x40c74d[_0x8ec4ac(0x2e0)];if(!(_0x1153bb!=null&&_0x1153bb[_0x8ec4ac(0x318)]))return!0x1;const _0xb42ef=Object[_0x8ec4ac(0x334)](_0x1153bb==null?void 0x0:_0x1153bb[_0x8ec4ac(0x318)])[_0x8ec4ac(0x378)](_0xeb9451=>_0xeb9451['id']===_0x17ce8c);if(!_0xb42ef)return!0x1;_0xa8bf55(_0xb42ef)&&_0x492043[_0x8ec4ac(0x3a1)]({'id':to['id'],'params':{..._0x4f07c2,'dateType':_0xb42ef[_0x8ec4ac(0x3ce)]}}),_0x4dc681['push']({'id':to['id'],'params':{..._0x4f07c2}});const _0x15b2dc=_0x1d18b6[_0x8ec4ac(0x1b0)](_0x34de0e);return _0x46d846(_0x4dc681,_0x15b2dc)&&_0xcda66a[_0x8ec4ac(0x1ff)]({'unitID':_0x4ee33c,'undoMutations':_0x492043,'redoMutations':_0x4dc681}),!0x0;}},_s={'type':_0x1f600d[_0x381a5c(0x301)],'id':_0x381a5c(0x303),async 'handler'(_0x30ec36,_0x64a5e9){const _0x1564d4=_0x381a5c;if(!_0x64a5e9)return!0x1;const _0x773d6a=_0x30ec36[_0x1564d4(0x1b0)](_0x34de0e),_0x244bf9=_0x30ec36['get'](_0x50549a),_0x2aad5f=_0x30ec36[_0x1564d4(0x1b0)](X),{displayName:_0x5544b8,subtotalType:_0x2aad00,format:_0xac741c,tableFieldId:_0x4afee3,pivotTableId:_0x5d86ce,unitId:_0x3906e6,subUnitId:_0x21e5cb}=_0x64a5e9,_0x572468=(await _0x2aad5f[_0x1564d4(0x193)]({'unitId':_0x3906e6,'subUnitId':_0x21e5cb,'pivotTableId':_0x5d86ce,'params':{'type':k['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x4afee3,'displayName':_0x5544b8,'subtotalType':_0x2aad00,'format':_0xac741c}}}))['result'][_0x1564d4(0x241)];if(!_0x572468)return!0x1;const {changesets:_0x4d4f3d,view:_0xae4d52,pivotTableConfig:_0x2c9134,isEmpty:_0x36b657}=_0x572468,_0x553205=_0x2c9134['targetCellInfo'],_0x489cc0=new _0x510616();_0x489cc0[_0x1564d4(0x18d)](_0xae4d52);const _0x54492d={'cellInfo':_0x553205,'view':_0x489cc0,'isEmpty':_0x36b657};if(!await _0x30ec36[_0x1564d4(0x1b0)](ie)[_0x1564d4(0x192)][_0x1564d4(0x18b)](be)(!0x0,_0x54492d))return!0x1;const _0x52e948=we(_0x30ec36,_0x489cc0,_0x553205,_0x36b657),_0x409a55=Re(_0x30ec36,_0x54492d),{undos:_0x314628,redos:_0xc4013}=me(_0x773d6a,{'pivotTableId':_0x5d86ce,'unitId':_0x3906e6,'subUnitId':_0x21e5cb},_0x4d4f3d);return _0x46d846([..._0x52e948['redos'],..._0x409a55[_0x1564d4(0x34b)],..._0xc4013],_0x773d6a),_0x244bf9['pushUndoRedo']({'unitID':_0x3906e6,'redoMutations':[..._0x52e948[_0x1564d4(0x34b)],..._0x409a55['redos'],..._0xc4013],'undoMutations':[..._0x52e948[_0x1564d4(0x25b)],..._0x409a55['undos'],..._0x314628]}),!0x0;}},oo={'type':_0x1f600d[_0x381a5c(0x26e)],'id':_0x381a5c(0x1f9),'handler'(_0x12371f,_0xf2be74){const _0x4df27a=_0x381a5c;if(!_0xf2be74)return!0x1;if(!!_0x12371f[_0x4df27a(0x1b0)](_0x1095fa)[_0x4df27a(0x1f6)](H))return!0x0;const _0x2af3d1=_0x12371f[_0x4df27a(0x1b0)]($),{pivotTableId:_0x3cdd9f,deleteIds:_0x28df28,collectionJSON:_0x20fb77,dataRangeInfo:_0x101b76,unitId:_0x1cb02e,subUnitId:_0x2874b1}=_0xf2be74,_0xd50662=_0x2af3d1[_0x4df27a(0x31e)](_0x3cdd9f),_0x671775=_0x2af3d1[_0x4df27a(0x260)](_0x1cb02e,_0x2874b1,_0x3cdd9f);if(!_0xd50662||!_0x671775)return!0x1;const {collection:_0x3a9651,updateDataFieldList:_0x160ab6}=_0x2af3d1[_0x4df27a(0x28f)](_0x3cdd9f,_0x20fb77,_0x101b76,_0x671775[_0x4df27a(0x254)]);_0x2af3d1[_0x4df27a(0x341)](_0x3a9651,_0x160ab6,_0x101b76),_0xd50662[_0x4df27a(0x2e6)](_0x3a9651);for(const _0x3443bb of _0x28df28)_0x2af3d1[_0x4df27a(0x3b7)](_0x101b76[_0x4df27a(0x2d5)],_0x3443bb);const _0x5ab8e8=_0x2af3d1[_0x4df27a(0x260)](_0x1cb02e,_0x2874b1,_0x3cdd9f);return _0x5ab8e8[_0x4df27a(0x21d)]=JSON['parse'](JSON[_0x4df27a(0x2c7)](_0x101b76)),_0x2af3d1[_0x4df27a(0x223)]({'unitId':_0x1cb02e,'subUnitId':_0x2874b1,'token':_0x3cdd9f,'type':J[_0x4df27a(0x186)]}),!0x0;}},Fs={'type':_0x1f600d[_0x381a5c(0x301)],'id':_0x381a5c(0x23c),async 'handler'(_0x4802f4,_0x6446ff){const _0x3df16a=_0x381a5c,_0x3a618d=_0x4802f4[_0x3df16a(0x1b0)](_0x34de0e),_0x281732=_0x4802f4[_0x3df16a(0x1b0)](X),_0x4a6e23=_0x4802f4[_0x3df16a(0x1b0)](_0x50549a);if(!_0x6446ff)return!0x1;const {token:_0x235edf,dataRangeInfo:_0x4b3eb4,unitId:_0x22c6a5,subUnitId:_0x1c23a4}=_0x6446ff,_0x56e527=[],_0x269e45=[],_0x46250c=(await _0x281732[_0x3df16a(0x193)]({'unitId':_0x22c6a5,'subUnitId':_0x1c23a4,'pivotTableId':_0x235edf,'params':{'type':k[_0x3df16a(0x2ab)],'updatePivotSource':{'dataRangeInfo':_0x4b3eb4,'unitId':_0x22c6a5,'subUnitId':_0x1c23a4}}}))[_0x3df16a(0x232)][_0x3df16a(0x34c)];if(!_0x46250c)return!0x1;const {changesets:_0x19d7b7,deleteIds:_0x994efe,collectionConfig:_0xb0da20,oldCollectionConfig:_0x3af530,view:_0x559463,isEmpty:_0xdc01fa,pivotTableConfig:_0x5b9411}=_0x46250c;_0x269e45[_0x3df16a(0x3a1)]({'id':oo['id'],'params':{'pivotTableId':_0x235edf,'deleteIds':_0x994efe,'collectionJSON':_0xb0da20,'dataRangeInfo':_0x4b3eb4,'unitId':_0x22c6a5,'subUnitId':_0x1c23a4}}),_0x56e527[_0x3df16a(0x398)]({'id':oo['id'],'params':{'pivotTableId':_0x235edf,'deleteIds':[],'collectionJSON':_0x3af530,'dataRangeInfo':_0x5b9411[_0x3df16a(0x21d)],'unitId':_0x22c6a5,'subUnitId':_0x1c23a4}});const _0x381f13=_0x5b9411[_0x3df16a(0x254)],_0x10fcf7=new _0x510616();_0x10fcf7[_0x3df16a(0x18d)](_0x559463);const _0x3336fe={'cellInfo':_0x381f13,'view':_0x10fcf7,'isEmpty':_0xdc01fa};if(!await _0x4802f4[_0x3df16a(0x1b0)](ie)[_0x3df16a(0x192)][_0x3df16a(0x18b)](be)(!0x0,_0x3336fe))return!0x1;const _0x4c511b=we(_0x4802f4,_0x10fcf7,_0x381f13,_0xdc01fa),_0x2ca5b9=Re(_0x4802f4,_0x3336fe),{undos:_0x3b2e3a,redos:_0x117fc6}=me(_0x3a618d,{'pivotTableId':_0x235edf,'unitId':_0x22c6a5,'subUnitId':_0x1c23a4},_0x19d7b7);return _0x46d846([..._0x4c511b['redos'],..._0x2ca5b9[_0x3df16a(0x34b)],..._0x269e45,..._0x3b2e3a],_0x3a618d),_0x4a6e23[_0x3df16a(0x1ff)]({'unitID':_0x22c6a5,'redoMutations':[..._0x4c511b[_0x3df16a(0x34b)],..._0x2ca5b9[_0x3df16a(0x34b)],..._0x269e45,..._0x3b2e3a],'undoMutations':[..._0x4c511b[_0x3df16a(0x25b)],..._0x2ca5b9[_0x3df16a(0x25b)],..._0x56e527,..._0x117fc6]}),!0x0;}},Ds={'type':_0x1f600d[_0x381a5c(0x301)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x2ca16d,_0x1cda45){const _0xb7544f=_0x381a5c;if(!_0x1cda45)return!0x1;const _0x3343f8=_0x2ca16d['get'](_0x34de0e),_0x443959=_0x2ca16d[_0xb7544f(0x1b0)](X),_0x20cd7=_0x2ca16d[_0xb7544f(0x1b0)](_0x121e43),_0x5e1a03=_0x2ca16d['get'](_0x50549a),{pivotTableId:_0x517ba3,position:_0x1f2dc6,index:_0x52e9e4}=_0x1cda45,_0x3b66a9=_0x19f1df(_0x20cd7);if(!_0x3b66a9)return!0x1;const {unitId:_0x577f7b,subUnitId:_0x314c4e}=_0x3b66a9,_0x3aac1e=(await _0x443959[_0xb7544f(0x193)]({'unitId':_0x577f7b,'subUnitId':_0x314c4e,'pivotTableId':_0x517ba3,'params':{'type':k[_0xb7544f(0x251)],'updateValuePosition':{'position':_0x1f2dc6,'index':_0x52e9e4}}}))['result']['updateValuePosition'];if(!_0x3aac1e)return!0x1;const {changesets:_0x3bcc13,view:_0x479142,isEmpty:_0x4e0be2,pivotTableConfig:_0x234b57}=_0x3aac1e,_0x123ca7=_0x234b57[_0xb7544f(0x254)],_0xaf12dc=new _0x510616();_0xaf12dc[_0xb7544f(0x18d)](_0x479142);const _0x1d4abb=_0x2ca16d[_0xb7544f(0x1b0)](ie),_0x2939d3={'cellInfo':_0x123ca7,'view':_0xaf12dc,'isEmpty':_0x4e0be2};if(!await _0x1d4abb[_0xb7544f(0x192)][_0xb7544f(0x18b)](be)(!0x0,_0x2939d3))return!0x1;const _0x1980f3=we(_0x2ca16d,_0xaf12dc,_0x123ca7,_0x4e0be2),_0x25e987=Re(_0x2ca16d,_0x2939d3),{undos:_0x3154ab,redos:_0x44d0fe}=me(_0x3343f8,{'pivotTableId':_0x517ba3,'unitId':_0x577f7b,'subUnitId':_0x314c4e},_0x3bcc13);return _0x46d846([..._0x1980f3[_0xb7544f(0x34b)],..._0x25e987[_0xb7544f(0x34b)],..._0x44d0fe],_0x3343f8),_0x5e1a03[_0xb7544f(0x1ff)]({'unitID':_0x577f7b,'redoMutations':[..._0x1980f3[_0xb7544f(0x34b)],..._0x25e987[_0xb7544f(0x34b)],..._0x44d0fe],'undoMutations':[..._0x1980f3[_0xb7544f(0x25b)],..._0x25e987[_0xb7544f(0x25b)],..._0x3154ab]}),!0x0;}},Nt={'type':_0x1f600d[_0x381a5c(0x26e)],'id':_0x381a5c(0x196),'handler'(){return!0x0;}};var Es=Object[_0x381a5c(0x25e)],Ns=(_0x5bf0ba,_0x27b502,_0x4a4230,_0x41050f)=>{for(var _0x587099=_0x41050f>0x1?void 0x0:_0x41050f?Es(_0x27b502,_0x4a4230):_0x27b502,_0x2f995=_0x5bf0ba['length']-0x1,_0x31843f;_0x2f995>=0x0;_0x2f995--)(_0x31843f=_0x5bf0ba[_0x2f995])&&(_0x587099=_0x31843f(_0x587099)||_0x587099);return _0x587099;},at=(_0x49d7a2,_0x24b6d7)=>(_0x148c47,_0x1cf7aa)=>_0x24b6d7(_0x148c47,_0x1cf7aa,_0x49d7a2);const Os=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Us=(_0x121db1,_0x5dcdfd,_0x13276c)=>{const _0x133a0d=_0x381a5c,_0x512220=_0x121db1['dataFieldsCollection'];_0x121db1[_0x133a0d(0x292)](_0x3aa6ff=>{const _0x33b6d7=_0x133a0d,_0x5e77e8=_0x3aa6ff['getId'](),_0x2e3895=_0x3aa6ff[_0x33b6d7(0x240)](),_0x2e1383=_0x3aa6ff[_0x33b6d7(0x336)](),_0x421f56=_0x3aa6ff[_0x33b6d7(0x27b)]();_0x5dcdfd[_0x2e3895]&&_0x5dcdfd[_0x2e3895]===_0x421f56&&_0x2e1383===_0x421f56&&(_0x121db1[_0x33b6d7(0x1bd)](_0x5e77e8,_0x512220['getDisplayName'](_0x2e3895)),_0x3aa6ff['setSourceName'](_0x512220[_0x33b6d7(0x27b)](_0x2e3895)));}),_0x121db1[_0x133a0d(0x1e1)](_0x1a0bb8[_0x133a0d(0x2ac)],_0x568196=>{const _0x40ce11=_0x133a0d,_0x2e8c74=_0x568196[_0x40ce11(0x2a2)](),_0x1b31f3=_0x568196[_0x40ce11(0x240)](),_0xb77aab=_0x568196[_0x40ce11(0x336)](),_0x25b877=_0x568196[_0x40ce11(0x27b)](),_0x25234b=_0x568196[_0x40ce11(0x2a4)](),_0x17e713=_0x13276c(_0xb77aab,_0x25234b);_0x5dcdfd[_0x1b31f3]&&_0x5dcdfd[_0x1b31f3]===_0xb77aab&&_0x17e713===_0x25b877&&(_0x121db1[_0x40ce11(0x1bd)](_0x2e8c74,_0x13276c(_0x512220[_0x40ce11(0x27b)](_0x1b31f3),_0x25234b)),_0x568196[_0x40ce11(0x1e8)](_0x512220[_0x40ce11(0x27b)](_0x1b31f3)));});},Vs=(_0x130e56,_0x158538,_0x51522a)=>{const _0x1dbc3a=_0x381a5c;var _0x385d45,_0x3ca545;const {arrayFormulaCellData:_0xbbf1f4,unitData:_0x134f8}=_0x158538,{unitId:_0x5f044d,subUnitId:_0x3850e5}=_0x51522a,_0x13b7cf=_0x51522a['range'],{startColumn:_0x184e55,endColumn:_0x50ba43}=_0x13b7cf,_0x2f6ade=(_0x385d45=_0xbbf1f4==null?void 0x0:_0xbbf1f4[_0x5f044d])==null?void 0x0:_0x385d45[_0x3850e5],_0x5caaa0=(_0x3ca545=_0x134f8==null?void 0x0:_0x134f8[_0x5f044d])==null?void 0x0:_0x3ca545[_0x3850e5],_0x4184e2=new Set(),_0x35bb97=_0x50ba43-_0x184e55+0x1,{dirtyRanges:_0x35b26e}=_0x130e56;if(_0x35b26e)for(const {range:_0x522d99,sheetId:_0x5c1a6b,unitId:_0x5bd94a}of _0x35b26e){if(_0x5c1a6b!==_0x3850e5||_0x5f044d!==_0x5bd94a)continue;const _0x1dedae=_0x293797['getIntersects'](_0x522d99,_0x13b7cf);if(_0x1dedae){const {startColumn:_0x500d6a,endColumn:_0x1d6f7d}=_0x1dedae;for(let _0x220549=_0x500d6a;_0x220549<=_0x1d6f7d;_0x220549++)_0x4184e2[_0x1dbc3a(0x3b5)](_0x220549);}}if(_0x4184e2[_0x1dbc3a(0x22d)]===_0x35bb97||_0x4184e2[_0x1dbc3a(0x22d)]===_0x35bb97)return Array[_0x1dbc3a(0x285)](_0x4184e2);if(_0x5caaa0){const _0x2c4b26=_0x5caaa0[_0x1dbc3a(0x211)](),_0x15e382=Object[_0x1dbc3a(0x374)](_0x2c4b26);for(const _0x4591f3 of _0x15e382){const _0x5de9dd=Number(_0x4591f3),_0x8f5abd=_0x2c4b26[_0x5de9dd];if(_0x4184e2[_0x1dbc3a(0x22d)]===_0x35bb97)break;for(const _0x6a01d4 in _0x8f5abd){const _0x563b30=Number(_0x6a01d4);_0x563b30<_0x184e55||_0x563b30>_0x50ba43||_0x4184e2[_0x1dbc3a(0x3b5)](_0x563b30);}}}if(_0x2f6ade){const _0x47a50e=_0x2f6ade[_0x1dbc3a(0x211)](),_0x5c5dc8=Object[_0x1dbc3a(0x374)](_0x47a50e);for(const _0x4e13fd of _0x5c5dc8){const _0x442966=Number(_0x4e13fd),_0x29154b=_0x47a50e[_0x442966];if(_0x4184e2[_0x1dbc3a(0x22d)]===_0x35bb97)break;for(const _0x5f0e0a in _0x29154b){const _0x447b97=Number(_0x5f0e0a);_0x447b97<_0x184e55||_0x447b97>_0x50ba43||_0x4184e2[_0x1dbc3a(0x3b5)](_0x447b97);}}}return Array['from'](_0x4184e2);},xs=_0x491f10=>{const _0x4791e9=_0x381a5c,_0x27aa71=new Set(),_0x4a27fc=[];for(const _0x1d111f of _0x491f10){const _0x5331e4=_0x1d111f[_0x4791e9(0x1dc)]+','+_0x1d111f[_0x4791e9(0x39a)]+','+_0x1d111f[_0x4791e9(0x187)]+','+_0x1d111f['endColumn'];_0x27aa71[_0x4791e9(0x2d7)](_0x5331e4)||(_0x27aa71['add'](_0x5331e4),_0x4a27fc[_0x4791e9(0x3a1)](_0x1d111f));}return _0x4a27fc;};let ct=class extends _0x131022{constructor(_0x4d0be2,_0x2aefdf,_0x5c138e,_0x44217b,_0x172dee){const _0x87948e=_0x381a5c;super(),N(this,_0x87948e(0x274),new _0x4e3084(!0x0)),N(this,'_globalComputedStartHelpFunc',_0xbfbae0=>{const _0x2afd53=_0x87948e;this['_globalSubject'][_0x2afd53(0x1c3)](!0x1);}),N(this,_0x87948e(0x164),_0x188df4=>{const _0x505ec1=_0x87948e;this[_0x505ec1(0x274)][_0x505ec1(0x1c3)](!0x0);}),(this[_0x87948e(0x1b2)]=_0x4d0be2,this[_0x87948e(0x320)]=_0x2aefdf,this[_0x87948e(0x367)]=_0x5c138e,this[_0x87948e(0x1e0)]=_0x44217b,this[_0x87948e(0x383)]=_0x172dee,this[_0x87948e(0x16f)](),this[_0x87948e(0x3ca)]());}[_0x381a5c(0x16f)](){const _0xb4a5d7=_0x381a5c;this[_0xb4a5d7(0x2b0)](),this[_0xb4a5d7(0x1b5)](),this[_0xb4a5d7(0x388)](),this[_0xb4a5d7(0x1a4)]();}[_0x381a5c(0x2da)](){const _0xa0aa98=_0x381a5c;this['_globalComputingSrv'][_0xa0aa98(0x38a)](this[_0xa0aa98(0x274)]),_0x54993e[_0xa0aa98(0x24c)](_0x2b5401[_0xa0aa98(0x2f6)],this[_0xa0aa98(0x2a3)]),_0x54993e[_0xa0aa98(0x24c)](_0x2b5401[_0xa0aa98(0x325)],this['_globalComputedEndHelpFunc']);}['_initPivotDataGetListener'](){const _0xf44eec=_0x381a5c;this[_0xf44eec(0x3c9)](this[_0xf44eec(0x367)]['onCommandExecuted'](_0x58407a=>{const _0x4f1418=_0xf44eec;_0x58407a['id']===_0x3dc94c['id']&&this[_0x4f1418(0x1b2)][_0x4f1418(0x3ba)](_0x58407a[_0x4f1418(0x2ec)]);})),this[_0xf44eec(0x3c9)](this[_0xf44eec(0x367)][_0xf44eec(0x236)](_0x1ce23a=>{const _0x3c6b1a=_0xf44eec;if(_0x1ce23a['id']!==ro['id'])return;const _0x586511=_0x1ce23a[_0x3c6b1a(0x2ec)],{unitId:_0x19cb53,subUnitId:_0x4182f1,pivotTableId:_0x4a1767}=_0x586511,_0x1db9ec=_0x586511['params'][_0x3c6b1a(0x382)],_0x3e59c6={};switch(_0x1db9ec){case k[_0x3c6b1a(0x1be)]:{const _0x469940=_0x586511[_0x3c6b1a(0x2ec)]['filter'];if(!_0x469940)return;const {row:_0x5000bf,col:_0x51cd29,cellData:_0x4db53f,pivotItemRenderInfoCache:_0x3ee1df,tableFieldId:_0x1e41d9}=_0x469940,_0x1af4d5=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x31e)](_0x586511[_0x3c6b1a(0x1b9)]);if(!_0x1af4d5||!_0x3ee1df)return;if(_0x1e41d9){const _0x420741=_0x1af4d5['getDataFieldByTableId'](_0x1e41d9);if(!_0x420741)return;_0x3e59c6[_0x3c6b1a(0x174)]={..._0x1af4d5[_0x3c6b1a(0x39b)](_0x420741),'tableFieldId':_0x1e41d9,'pivotTableId':_0x586511[_0x3c6b1a(0x1b9)],'filterInfo':_0x1af4d5[_0x3c6b1a(0x25f)](_0x1e41d9),'sortInfo':_0x1af4d5[_0x3c6b1a(0x1da)](_0x1e41d9),'format':_0x1af4d5[_0x3c6b1a(0x2ce)](_0x1e41d9)};}else{const _0x3ad819=Ai(_0x5000bf,_0x51cd29,_0x4db53f,_0x1af4d5,_0x3ee1df),_0x5ef340=_0x3ad819==null?void 0x0:_0x3ad819[_0x3c6b1a(0x20d)];if(!_0x5ef340)return;const _0x492969=_0x1af4d5[_0x3c6b1a(0x332)](_0x5ef340);if(!_0x492969)return;_0x3e59c6[_0x3c6b1a(0x174)]={..._0x1af4d5[_0x3c6b1a(0x39b)](_0x492969),'tableFieldId':_0x5ef340,'pivotTableId':_0x586511[_0x3c6b1a(0x1b9)],'filterInfo':_0x1af4d5[_0x3c6b1a(0x25f)](_0x5ef340),'sortInfo':_0x1af4d5[_0x3c6b1a(0x1da)](_0x5ef340),'format':_0x1af4d5['getFieldFormat'](_0x5ef340)};}}break;case k[_0x3c6b1a(0x26c)]:{const _0x59c996=_0x586511[_0x3c6b1a(0x2ec)][_0x3c6b1a(0x275)];if(!_0x59c996)return;const {pivotTableId:_0x4320ca}=_0x59c996,_0x209f64=this[_0x3c6b1a(0x1b2)]['getPivotTableInstance'](_0x4320ca);if(!_0x209f64)return;const _0x352065=this[_0x3c6b1a(0x1b2)]['getPivotTableConfig'](_0x19cb53,_0x4182f1,_0x4320ca),_0x3b43e9=ki(_0x209f64,_0x4320ca,_0x352065);_0x3e59c6[_0x3c6b1a(0x275)]=_0x3b43e9;}break;case k[_0x3c6b1a(0x2a7)]:{const _0x13e8c9=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x4a1767),_0x36f9ae=this[_0x3c6b1a(0x1b2)]['getDataFieldManager'](_0x19cb53),_0x4de2de=_0x36f9ae['getCollection'](_0x4a1767);let _0xf2933a=null;const _0x5a623b=this[_0x3c6b1a(0x1b2)]['getPivotTableConfig'](_0x19cb53,_0x4182f1,_0x4a1767),_0x6b4bee=_0x586511['params'][_0x3c6b1a(0x1cc)];if(!_0x13e8c9||!_0x5a623b||!_0x6b4bee)return!0x1;const {dataFieldId:_0x870a59,fieldArea:_0x177794,index:_0x3bcfa3}=_0x6b4bee;_0x13e8c9[_0x3c6b1a(0x248)]();const _0x4e4daf=_0x13e8c9['addFieldWithSourceId'](_0x870a59,_0x177794,_0x3bcfa3);if(_0x4e4daf&&_0x177794===_0x1a0bb8[_0x3c6b1a(0x2ac)]){const _0x429ec4=_0x4e4daf[_0x3c6b1a(0x2a2)](),_0x514ba3=_0x13e8c9[_0x3c6b1a(0x332)](_0x429ec4);if(_0x514ba3){const _0x4227d4=_0x514ba3==null?void 0x0:_0x514ba3['getFieldDataType']();_0x13e8c9['setSubtotalType'](_0x4e4daf[_0x3c6b1a(0x2a2)](),_0x4227d4===_0x1702fa[_0x3c6b1a(0x17f)]?_0x363f11['sum']:_0x363f11['count']);}const _0x5f3310=_0x13e8c9[_0x3c6b1a(0x178)](),_0x134f40=_0x13e8c9[_0x3c6b1a(0x280)](),_0x20e4de=_0x13e8c9[_0x3c6b1a(0x224)](_0x1a0bb8['Value']);if(_0x5f3310===-0x1&&_0x20e4de>0x1){const _0x298ebb=_0x134f40===_0x24b19f[_0x3c6b1a(0x1f4)]?_0x24b19f[_0x3c6b1a(0x294)]:_0x134f40,_0x303482=_0x298ebb===_0x24b19f[_0x3c6b1a(0x216)]?_0x1a0bb8[_0x3c6b1a(0x216)]:_0x1a0bb8[_0x3c6b1a(0x294)];_0x13e8c9[_0x3c6b1a(0x27a)](_0x298ebb,_0x13e8c9['getFieldCountByArea'](_0x303482));}}else{if(_0x4e4daf&&(_0x177794===_0x1a0bb8[_0x3c6b1a(0x216)]||_0x177794===_0x1a0bb8['Column'])){const _0x537ebd=_0x4e4daf[_0x3c6b1a(0x2a2)](),_0x132680=_0x13e8c9[_0x3c6b1a(0x332)](_0x537ebd);if(_0x132680&&(_0x132680==null?void 0x0:_0x132680[_0x3c6b1a(0x352)]())===_0x1702fa['date']){const _0x4b216d=_0x132680[_0x3c6b1a(0x1ab)]();if(_0x4b216d&&_0x13e8c9[_0x3c6b1a(0x28b)](_0x4e4daf[_0x3c6b1a(0x2a2)](),_0x4b216d),!_0x4de2de[_0x3c6b1a(0x1d8)]()[_0x3c6b1a(0x1fd)](_0x51d282=>{const _0x5d0ea4=_0x3c6b1a,_0xcf54dd=_0x4de2de[_0x5d0ea4(0x203)](_0x51d282);return _0x4a2711(_0xcf54dd)?_0xcf54dd[_0x5d0ea4(0x1d4)]()[_0x5d0ea4(0x157)]===_0x870a59:!0x1;})){const _0x2f4e54=_0x36f9ae[_0x3c6b1a(0x3bc)](),_0x15015c=Ki(_0x132680[_0x3c6b1a(0x2aa)],_0x132680[_0x3c6b1a(0x2ad)]),_0x22de79=_0x132680[_0x3c6b1a(0x3c7)]()+_0x3c6b1a(0x263)+Ho(this[_0x3c6b1a(0x383)],_0x15015c),_0x43635c=new _0x32f501(_0x2f4e54,_0x22de79,_0x27f790(0x3),_0x132680[_0x3c6b1a(0x2a2)](),_0x15015c);_0x36f9ae[_0x3c6b1a(0x2fe)](_0x43635c),_0x4de2de['addField'](_0x2f4e54,_0x22de79),_0x13e8c9[_0x3c6b1a(0x3b9)](_0x2f4e54,_0x177794,(_0x3bcfa3!=null?_0x3bcfa3:0x0)+0x1),_0xf2933a=_0x43635c;}}}}const _0x2a7642=_0x13e8c9[_0x3c6b1a(0x282)](),_0x2e6744=_0x13e8c9[_0x3c6b1a(0x2f4)]()[_0x3c6b1a(0x365)]();let _0x1004f2;if(_0xf2933a){_0x1004f2=_0xf2933a[_0x3c6b1a(0x365)]();const _0x1c6723=_0xf2933a[_0x3c6b1a(0x2a2)]();_0x4de2de[_0x3c6b1a(0x19f)](_0x1c6723);let _0x35e562=!0x0;for(const _0x5e9f42 in _0x36f9ae[_0x3c6b1a(0x302)])if(_0x36f9ae[_0x3c6b1a(0x302)][_0x5e9f42][_0x3c6b1a(0x1d8)]()[_0x3c6b1a(0x182)](_0x1c6723)){_0x35e562=!0x1;break;}_0x35e562&&_0x36f9ae['deleteDataField'](_0x1c6723);}const _0x2f6d9a=_0x13e8c9[_0x3c6b1a(0x3d0)]();_0x3e59c6[_0x3c6b1a(0x1cc)]={'view':_0x2e6744,'changesets':_0x2f6d9a,'isEmpty':_0x2a7642,'pivotTableConfig':_0x5a623b,'shouldBeAddedGroupJSON':_0x1004f2};}break;case k['AddPivotTable']:{const _0x55568d=_0x586511[_0x3c6b1a(0x2ec)][_0x3c6b1a(0x23b)];if(!_0x55568d)return;const _0xc91350=_0x55568d[_0x3c6b1a(0x21d)],_0x4e0bc0=_0x55568d[_0x3c6b1a(0x1b9)],{collection:_0x2fd175}=this['_sheetsPivotDataSourceModel'][_0x3c6b1a(0x2cc)]({'unitId':_0xc91350[_0x3c6b1a(0x2d5)],'sheetName':_0xc91350[_0x3c6b1a(0x245)],'subUnitId':_0xc91350['subUnitId'],'range':_0xc91350[_0x3c6b1a(0x3ad)]}),_0x375fc9=new _0x54993e(_0x2fd175,void 0x0,_0x4e0bc0),_0x422935=_0x375fc9['query'](),_0x14f760=_0x375fc9[_0x3c6b1a(0x365)](),_0x441961=_0x2fd175[_0x3c6b1a(0x365)]();_0x3e59c6['addPivotTable']={'view':_0x422935,'fieldsConfig':_0x14f760,'collectionConfig':_0x441961,'isEmpty':_0x375fc9[_0x3c6b1a(0x282)]()};}break;case k['MovePivotField']:{const _0x2fc35c=_0x586511[_0x3c6b1a(0x2ec)]['movePivotField'];if(!_0x2fc35c)return;const {fieldId:_0x5bd55d,area:_0x20659b,index:_0x2a4fac}=_0x2fc35c,_0x58cd72=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x260)](_0x19cb53,_0x4182f1,_0x4a1767);if(!_0x58cd72)return;const _0x4a23e9=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x31e)](_0x4a1767);if(!_0x4a23e9)return;_0x4a23e9[_0x3c6b1a(0x248)]();const {area:_0xbfd8c5,index:_0x41bff3}=_0x4a23e9[_0x3c6b1a(0x310)](_0x5bd55d);if(_0x4a23e9[_0x3c6b1a(0x37c)](_0x5bd55d,_0x20659b,_0x2a4fac),_0x20659b===_0x1a0bb8[_0x3c6b1a(0x2ac)]&&_0x4a23e9[_0x3c6b1a(0x252)](_0x5bd55d)[_0x3c6b1a(0x2a4)]()===void 0x0){const _0x231830=_0x4a23e9[_0x3c6b1a(0x252)](_0x5bd55d);if(_0x231830&&_0x231830[_0x3c6b1a(0x2a4)]()===void 0x0){const _0x294322=_0x4a23e9[_0x3c6b1a(0x332)](_0x5bd55d);if(_0x294322){const _0x41ecf9=_0x294322==null?void 0x0:_0x294322['getFieldDataType']();_0x4a23e9[_0x3c6b1a(0x350)](_0x5bd55d,_0x41ecf9===_0x1702fa[_0x3c6b1a(0x17f)]?_0x363f11[_0x3c6b1a(0x328)]:_0x363f11[_0x3c6b1a(0x293)]);}}}const _0x4cbdc8=_0x4a23e9['getValuePosition'](),_0x5a167d=_0x4a23e9[_0x3c6b1a(0x178)](),_0x642b2e=_0x4a23e9[_0x3c6b1a(0x224)](_0x1a0bb8[_0x3c6b1a(0x2ac)])>0x1;if(_0x642b2e&&_0xbfd8c5===_0x20659b&&(_0x20659b===_0x1a0bb8['Row']&&_0x4cbdc8===_0x24b19f[_0x3c6b1a(0x216)]||_0x20659b===_0x1a0bb8[_0x3c6b1a(0x294)]&&_0x4cbdc8===_0x24b19f[_0x3c6b1a(0x294)])){let _0x13bd68=_0x5a167d;_0x41bff3<=_0x5a167d&&_0x13bd68--,_0x2a4fac<=_0x5a167d&&_0x13bd68++,_0x4a23e9[_0x3c6b1a(0x27a)](_0x4cbdc8,_0x13bd68);}else _0x642b2e&&(_0xbfd8c5===_0x1a0bb8[_0x3c6b1a(0x216)]&&_0x4cbdc8===_0x24b19f[_0x3c6b1a(0x216)]||_0xbfd8c5===_0x1a0bb8[_0x3c6b1a(0x294)]&&_0x4cbdc8===_0x24b19f[_0x3c6b1a(0x294)])&&_0x5a167d>=_0x41bff3&&_0x4a23e9[_0x3c6b1a(0x27a)](_0x4cbdc8,_0x5a167d-0x1),_0x642b2e&&(_0x20659b===_0x1a0bb8[_0x3c6b1a(0x216)]&&_0x4cbdc8===_0x24b19f['Row']||_0x20659b===_0x1a0bb8[_0x3c6b1a(0x294)]&&_0x4cbdc8===_0x24b19f[_0x3c6b1a(0x294)])&&_0x5a167d>=_0x2a4fac&&_0x4a23e9[_0x3c6b1a(0x27a)](_0x4cbdc8,_0x5a167d+0x1);const _0x52cdf5=_0x4a23e9[_0x3c6b1a(0x2f4)](),_0x25bc8f=_0x4a23e9['isEmpty'](),_0x11aaad=_0x4a23e9[_0x3c6b1a(0x3d0)]();_0x3e59c6[_0x3c6b1a(0x20e)]={'view':_0x52cdf5[_0x3c6b1a(0x365)](),'changesets':_0x11aaad,'isEmpty':_0x25bc8f,'pivotTableConfig':_0x58cd72};}break;case k['RemovePivotField']:{const _0x5a9ae9=_0x586511['params'][_0x3c6b1a(0x1bb)];if(!_0x5a9ae9)return;const _0x21428d=_0x5a9ae9[_0x3c6b1a(0x1d7)],_0x38f8b8=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x260)](_0x19cb53,_0x4182f1,_0x4a1767);if(!_0x38f8b8)return!0x1;const _0x3f112d=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x31e)](_0x4a1767);if(!_0x3f112d)return!0x1;_0x3f112d['startCollectChangeset']();for(const _0xd1158b of _0x21428d){const {area:_0x28a386}=_0x3f112d[_0x3c6b1a(0x310)](_0xd1158b);_0x28a386===_0x1a0bb8[_0x3c6b1a(0x2ac)]&&_0x3f112d[_0x3c6b1a(0x356)](_0xd1158b),(_0x28a386===_0x1a0bb8[_0x3c6b1a(0x216)]||_0x28a386===_0x1a0bb8[_0x3c6b1a(0x294)])&&_0x3f112d[_0x3c6b1a(0x300)](_0xd1158b),_0x3f112d['removeField'](_0xd1158b);}const _0x202378=_0x3f112d[_0x3c6b1a(0x282)](),_0x5102d1=_0x3f112d[_0x3c6b1a(0x2f4)]()[_0x3c6b1a(0x365)](),_0x104793=_0x3f112d[_0x3c6b1a(0x3d0)]();_0x3e59c6['removePivotField']={'changesets':_0x104793,'pivotTableConfig':_0x38f8b8,'isEmpty':_0x202378,'view':_0x5102d1};}break;case k[_0x3c6b1a(0x1a7)]:{const _0x931d20=_0x586511[_0x3c6b1a(0x2ec)]['setPivotFilter'];if(!_0x931d20)return;const {tableFieldId:_0x4bf736,items:_0x5f31f5,isAll:_0x55f6eb}=_0x931d20,_0x1d181e=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x31e)](_0x4a1767),_0x4aa614=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x260)](_0x19cb53,_0x4182f1,_0x4a1767);if(!_0x1d181e||!_0x4aa614)return;_0x1d181e[_0x3c6b1a(0x248)](),_0x1d181e[_0x3c6b1a(0x29b)](_0x4bf736,{'type':_0x19ef2d['ManualFilter'],'list':_0x5f31f5,'isAll':_0x55f6eb});const _0x37173a=_0x1d181e['isEmpty'](),_0x1fd75d=_0x1d181e[_0x3c6b1a(0x2f4)]()[_0x3c6b1a(0x365)](),_0xc9381f=_0x1d181e[_0x3c6b1a(0x3d0)]();_0x3e59c6[_0x3c6b1a(0x2f7)]={'view':_0x1fd75d,'changesets':_0xc9381f,'isEmpty':_0x37173a,'pivotTableConfig':_0x4aa614};}break;case k[_0x3c6b1a(0x1ed)]:{const _0x6a907b=_0x586511[_0x3c6b1a(0x2ec)]['setValuePivotFilter'];if(!_0x6a907b)return;const {tableFieldId:_0x2caabb,filterInfo:_0x4930ac}=_0x6a907b,_0x50b98e=this[_0x3c6b1a(0x1b2)]['getPivotTableInstance'](_0x4a1767),_0x4de88f=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x260)](_0x19cb53,_0x4182f1,_0x4a1767);if(!_0x50b98e||!_0x4de88f)return;_0x50b98e[_0x3c6b1a(0x248)](),_0x50b98e[_0x3c6b1a(0x392)](_0x2caabb,_0x4930ac);const _0x5c4791=_0x50b98e[_0x3c6b1a(0x282)](),_0x24d62d=_0x50b98e[_0x3c6b1a(0x2f4)]()[_0x3c6b1a(0x365)](),_0xb08953=_0x50b98e['endCollectChangeset']();_0x3e59c6['setValuePivotFilter']={'view':_0x24d62d,'changesets':_0xb08953,'isEmpty':_0x5c4791,'pivotTableConfig':_0x4de88f};}break;case k[_0x3c6b1a(0x17d)]:{const _0xe32979=_0x586511['params'][_0x3c6b1a(0x30a)];if(!_0xe32979)return;const {tableFieldId:_0x4e2602,info:_0x132133}=_0xe32979,_0x5c2dad=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x31e)](_0x4a1767),_0x23c555=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x260)](_0x19cb53,_0x4182f1,_0x4a1767);if(!_0x5c2dad||!_0x23c555)return;_0x5c2dad[_0x3c6b1a(0x248)](),_0x5c2dad[_0x3c6b1a(0x312)](_0x4e2602,_0x132133);const _0x54b398=_0x5c2dad[_0x3c6b1a(0x282)](),_0x4dff24=_0x5c2dad[_0x3c6b1a(0x2f4)]()['toJSON'](),_0x21be56=_0x5c2dad[_0x3c6b1a(0x3d0)]();_0x3e59c6[_0x3c6b1a(0x30a)]={'view':_0x4dff24,'changesets':_0x21be56,'isEmpty':_0x54b398,'pivotTableConfig':_0x23c555};}break;case k[_0x3c6b1a(0x1a5)]:{const _0x5ab86c=_0x586511[_0x3c6b1a(0x2ec)]['setPivotSetting'];if(!_0x5ab86c)return;const {tableFieldId:_0xc56646,displayName:_0x5151d2,subtotalType:_0x40da59,format:_0x3e7528}=_0x5ab86c,_0x4a4037=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x31e)](_0x4a1767),_0x10c378=this['_sheetsPivotDataSourceModel'][_0x3c6b1a(0x260)](_0x19cb53,_0x4182f1,_0x4a1767);if(!_0x4a4037||!_0x10c378)return;_0x4a4037[_0x3c6b1a(0x248)](),_0x5151d2!==void 0x0&&_0x4a4037[_0x3c6b1a(0x1bd)](_0xc56646,_0x5151d2),_0x40da59!==void 0x0&&_0x4a4037[_0x3c6b1a(0x350)](_0xc56646,_0x40da59),_0x3e7528!==void 0x0&&_0x4a4037[_0x3c6b1a(0x28b)](_0xc56646,_0x3e7528);const _0xe039fd=_0x4a4037[_0x3c6b1a(0x282)](),_0x42403b=_0x4a4037['query']()[_0x3c6b1a(0x365)](),_0x1a559c=_0x4a4037[_0x3c6b1a(0x3d0)]();_0x3e59c6[_0x3c6b1a(0x241)]={'changesets':_0x1a559c,'pivotTableConfig':_0x10c378,'isEmpty':_0xe039fd,'view':_0x42403b};}break;case k[_0x3c6b1a(0x2ab)]:{const _0x313642=_0x586511[_0x3c6b1a(0x2ec)][_0x3c6b1a(0x34c)];if(!_0x313642)return;const {dataRangeInfo:_0x1f585b,unitId:_0x4dbb39,subUnitId:_0x45586f}=_0x313642,_0x179b41=this['_sheetsPivotDataSourceModel'][_0x3c6b1a(0x260)](_0x4dbb39,_0x45586f,_0x4a1767),_0x28082d=this[_0x3c6b1a(0x1b2)]['getPivotTableInstance'](_0x4a1767);if(!this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x323)](_0x4dbb39,_0x4a1767)||!_0x28082d||!_0x179b41)return;const _0x43d27c=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x2ca)](_0x4dbb39,_0x4a1767,_0x1f585b),_0x8ca761=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x323)](_0x4dbb39,_0x4a1767)[_0x3c6b1a(0x365)](),{collection:_0x37299c}=this['_sheetsPivotDataSourceModel'][_0x3c6b1a(0x2cc)]({'unitId':_0x1f585b[_0x3c6b1a(0x2d5)],'sheetName':_0x1f585b[_0x3c6b1a(0x245)],'subUnitId':_0x1f585b['subUnitId'],'range':_0x1f585b['range']}),_0x446346=_0x37299c['toJSON']();_0x28082d[_0x3c6b1a(0x248)]();const _0x6e0410=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x37e)](_0x4dbb39)[_0x3c6b1a(0x1c4)]()||_0x64e447;_0x28082d[_0x3c6b1a(0x1ef)](_0x56867c=>{const _0x78e282=_0x3c6b1a,_0x142a7b=_0x56867c[_0x78e282(0x240)]();if(!_0x37299c[_0x78e282(0x185)](_0x142a7b)){const _0x3e6cb2=_0x37299c[_0x78e282(0x2c3)](_0x56867c['getSourceName']());if(_0x3e6cb2){_0x28082d['updateFieldSourceInfo'](_0x56867c[_0x78e282(0x2a2)](),_0x3e6cb2[_0x78e282(0x3c7)](),_0x3e6cb2[_0x78e282(0x2a2)]());const {area:_0xb3de04}=_0x28082d[_0x78e282(0x310)](_0x56867c[_0x78e282(0x2a2)]());let _0x61164=_0x56867c[_0x78e282(0x336)]();const _0x3c665b=_0x56867c[_0x78e282(0x27b)]();if(_0xb3de04===_0x1a0bb8[_0x78e282(0x2ac)]){const _0x2226f0=_0x56867c[_0x78e282(0x2a4)]();_0x61164=_0x6e0410(_0x3e6cb2['getName'](),_0x2226f0);}_0x3c665b!==_0x61164&&_0x28082d[_0x78e282(0x1bd)](_0x56867c[_0x78e282(0x2a2)](),_0x61164);}else _0x28082d[_0x78e282(0x361)](_0x56867c['getId']());}});const _0x477bf7=_0x28082d[_0x3c6b1a(0x282)](),_0x2bfea5=_0x28082d[_0x3c6b1a(0x2f4)]()[_0x3c6b1a(0x365)](),_0x40ab6d=_0x28082d['endCollectChangeset']();_0x3e59c6[_0x3c6b1a(0x34c)]={'view':_0x2bfea5,'changesets':_0x40ab6d,'isEmpty':_0x477bf7,'pivotTableConfig':_0x179b41,'collectionConfig':_0x446346,'oldCollectionConfig':_0x8ca761,'deleteIds':_0x43d27c};}break;case k['UpdateValuePosition']:{const _0x3c685c=_0x586511[_0x3c6b1a(0x2ec)][_0x3c6b1a(0x27a)];if(!_0x3c685c)return;const {position:_0x36428c,index:_0x590474}=_0x3c685c,_0x2c4369=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x260)](_0x19cb53,_0x4182f1,_0x4a1767);if(!_0x2c4369)return!0x1;const _0x142383=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x31e)](_0x4a1767);if(!_0x142383)return!0x1;_0x142383[_0x3c6b1a(0x248)](),_0x142383[_0x3c6b1a(0x27a)](_0x36428c,_0x590474);const _0x533ada=_0x142383[_0x3c6b1a(0x282)](),_0x140814=_0x142383['query']()[_0x3c6b1a(0x365)](),_0x39581d=_0x142383[_0x3c6b1a(0x3d0)]();_0x3e59c6['updateValuePosition']={'changesets':_0x39581d,'pivotTableConfig':_0x2c4369,'isEmpty':_0x533ada,'view':_0x140814};}break;case k['SetPivotCollapse']:{const _0x47389b=_0x586511[_0x3c6b1a(0x2ec)][_0x3c6b1a(0x3bb)];if(!_0x47389b)return;const {tableFieldId:_0x28d2f0,collapse:_0x2f5430,item:_0x453a28}=_0x47389b,_0x10d208=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x31e)](_0x4a1767),_0x1fad7c=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x260)](_0x19cb53,_0x4182f1,_0x4a1767);if(!_0x10d208||!_0x1fad7c)return;_0x10d208[_0x3c6b1a(0x248)](),_0x10d208[_0x3c6b1a(0x206)](_0x28d2f0,_0x2f5430,_0x453a28);const _0x12c7ab=_0x10d208[_0x3c6b1a(0x282)](),_0x3072ae=_0x10d208['query']()['toJSON'](),_0x3475af=_0x10d208[_0x3c6b1a(0x3d0)]();_0x3e59c6[_0x3c6b1a(0x3bb)]={'view':_0x3072ae,'isEmpty':_0x12c7ab,'pivotTableConfig':_0x1fad7c,'changesets':_0x3475af};}break;case k[_0x3c6b1a(0x3d3)]:{const _0x3b4c04=_0x586511['params'][_0x3c6b1a(0x1d3)];if(!_0x3b4c04)return;const {pivotTableConfig:_0x1816c4}=_0x3b4c04,_0x13154e=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x31e)](_0x4a1767),_0x12abf6=this['_sheetsPivotDataSourceModel'][_0x3c6b1a(0x260)](_0x19cb53,_0x4182f1,_0x4a1767);if(!_0x13154e||!_0x12abf6)return;_0x13154e[_0x3c6b1a(0x248)](),Gi(_0x13154e,_0x1816c4);const _0x13b60c=_0x13154e['isEmpty'](),_0x16165f=_0x13154e[_0x3c6b1a(0x2f4)]()[_0x3c6b1a(0x365)](),_0x17f99a=_0x13154e[_0x3c6b1a(0x3d0)]();_0x3e59c6[_0x3c6b1a(0x1d3)]={'view':_0x16165f,'isEmpty':_0x13b60c,'pivotTableConfig':{..._0x12abf6,'fieldsConfig':_0x13154e[_0x3c6b1a(0x365)]()},'changesets':_0x17f99a};}break;case k[_0x3c6b1a(0x15f)]:{const _0x5596dd=_0x586511[_0x3c6b1a(0x2ec)][_0x3c6b1a(0x362)];if(!_0x5596dd)return;const _0x432182=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x31e)](_0x4a1767),_0x1e7468=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x260)](_0x19cb53,_0x4182f1,_0x4a1767);if(!_0x432182||!_0x1e7468)return;_0x432182[_0x3c6b1a(0x248)](),qi(_0x432182,_0x5596dd[_0x3c6b1a(0x1db)]);const _0x8547c4=_0x432182[_0x3c6b1a(0x2f4)]()[_0x3c6b1a(0x365)](),_0x2f929d=_0x432182[_0x3c6b1a(0x3d0)]();_0x3e59c6[_0x3c6b1a(0x362)]={'view':_0x8547c4,'isEmpty':!0x0,'pivotTableConfig':{..._0x1e7468,'fieldsConfig':_0x432182[_0x3c6b1a(0x365)]()},'changesets':_0x2f929d};}break;case k[_0x3c6b1a(0x1cf)]:{const _0x58cf76=_0x586511[_0x3c6b1a(0x2ec)][_0x3c6b1a(0x35e)];if(!_0x58cf76)return;const _0x2ed9ae=_0x58cf76['sourceRangeInfo'],_0x5b3b70=_0x58cf76[_0x3c6b1a(0x1b9)],{collection:_0x2825bb}=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x2cc)]({'unitId':_0x2ed9ae[_0x3c6b1a(0x2d5)],'sheetName':_0x2ed9ae['sheetName'],'subUnitId':_0x2ed9ae['subUnitId'],'range':_0x2ed9ae[_0x3c6b1a(0x3ad)]}),_0x3d7f54=new _0x54993e(_0x2825bb,void 0x0,_0x5b3b70),_0x4b5a92=_0x2825bb['getFieldIds'](),{rows:_0x1095fc,columns:_0x30379e,filters:_0x30d4e8,values:_0x359ac1}=_0x58cf76[_0x3c6b1a(0x36e)];_0x3d7f54['startCollectChangeset']();for(const {field:_0x3aa215,selectedItems:_0x293cef}of _0x1095fc||[]){const _0x4f083d=_0x4b5a92[_0x3aa215];if(_0x4f083d){const _0xd6bda8=_0x3d7f54[_0x3c6b1a(0x3b9)](_0x4f083d,_0x1a0bb8[_0x3c6b1a(0x216)]);_0x293cef&&_0xd6bda8&&_0x3d7f54['setLabelFilterInfo'](_0xd6bda8[_0x3c6b1a(0x2a2)](),{'type':_0x19ef2d['ManualFilter'],'list':_0x293cef,'isAll':!0x1});}}for(const {field:_0x1c7762,selectedItems:_0x57768e}of _0x30379e||[]){const _0x46ebf5=_0x4b5a92[_0x1c7762];if(_0x46ebf5){const _0x1df195=_0x3d7f54[_0x3c6b1a(0x3b9)](_0x46ebf5,_0x1a0bb8[_0x3c6b1a(0x294)]);_0x57768e&&_0x1df195&&_0x3d7f54[_0x3c6b1a(0x29b)](_0x1df195['getId'](),{'type':_0x19ef2d['ManualFilter'],'list':_0x57768e,'isAll':!0x1});}}for(const {field:_0x148eab,selectedItems:_0x29c585}of _0x30d4e8||[]){const _0x5bff40=_0x4b5a92[_0x148eab];if(_0x5bff40){const _0x3fa084=_0x3d7f54['addFieldWithSourceId'](_0x5bff40,_0x1a0bb8[_0x3c6b1a(0x1be)]);_0x29c585&&_0x3fa084&&_0x3d7f54[_0x3c6b1a(0x29b)](_0x3fa084[_0x3c6b1a(0x2a2)](),{'type':_0x19ef2d['ManualFilter'],'list':_0x29c585,'isAll':!0x1});}}for(const {field:_0xe41f68,subTotalType:_0x5a4de6,formatString:_0x3c7564}of _0x359ac1||[]){const _0x191476=_0x2825bb[_0x3c6b1a(0x203)](_0x4b5a92[_0xe41f68]);if(!_0x191476)continue;const _0xca3194=_0x4b5a92[_0xe41f68];if(_0xca3194){const _0x22a549=_0x3d7f54[_0x3c6b1a(0x3b9)](_0xca3194,_0x1a0bb8[_0x3c6b1a(0x2ac)]);if(_0x22a549){if(_0x5a4de6!==void 0x0){_0x3d7f54[_0x3c6b1a(0x350)](_0x22a549[_0x3c6b1a(0x2a2)](),_0x5a4de6);const _0x39e9ef=this[_0x3c6b1a(0x1b2)][_0x3c6b1a(0x37e)](_0x2ed9ae[_0x3c6b1a(0x2d5)])[_0x3c6b1a(0x1c4)]()||_0x64e447,_0x5a03c4=_0x2825bb[_0x3c6b1a(0x27b)](_0xca3194),_0x3e860d=_0x39e9ef(_0x5a03c4,_0x5a4de6);_0x3d7f54['renameField'](_0x22a549[_0x3c6b1a(0x2a2)](),_0x3e860d);}else{if(_0x191476){const _0x26eaec=_0x191476==null?void 0x0:_0x191476[_0x3c6b1a(0x352)]();_0x3d7f54[_0x3c6b1a(0x350)](_0x22a549[_0x3c6b1a(0x2a2)](),_0x26eaec===_0x1702fa[_0x3c6b1a(0x17f)]?_0x363f11['sum']:_0x363f11[_0x3c6b1a(0x293)]);}}_0x3c7564&&_0x3d7f54[_0x3c6b1a(0x28b)](_0x22a549[_0x3c6b1a(0x2a2)](),_0x3c7564);}}}const _0x6687fe=_0x3d7f54['query'](),_0x4c68d0=_0x3d7f54[_0x3c6b1a(0x365)](),_0x5e6e67=_0x3d7f54[_0x3c6b1a(0x282)](),_0x1b9bca=_0x3d7f54['endCollectChangeset'](),_0x53efd1=_0x2825bb[_0x3c6b1a(0x365)]();_0x3e59c6['addPivotTableWithConfig']={'view':_0x6687fe,'fieldsConfig':_0x4c68d0,'collectionConfig':_0x53efd1,'isEmpty':_0x5e6e67,'changesets':_0x1b9bca};}break;case k['DrillDown']:{const _0x8db17a=Bi(this['_injector'],_0x586511);if(!_0x8db17a)return;const {range:_0xdf6cd1,sourceSubUnitId:_0x2c3831,sourceUnitId:_0x1f6100,formatMap:_0x3d98da,indexes:_0x3e8258}=_0x8db17a;_0x3e59c6[_0x3c6b1a(0x36f)]={'range':_0xdf6cd1,'sourceSubUnitId':_0x2c3831,'sourceUnitId':_0x1f6100,'formatMap':_0x3d98da,'indexes':_0x3e8258};}break;}this[_0x3c6b1a(0x367)]['executeCommand'](lo['id'],{'version':_0x586511[_0x3c6b1a(0x3aa)],'result':_0x3e59c6},{'onlyLocal':!0x0});}));}[_0x381a5c(0x388)](){const _0x3a36c9=_0x381a5c;this[_0x3a36c9(0x3c9)](this[_0x3a36c9(0x367)]['onCommandExecuted'](_0x5c9c2d=>{const _0x441807=_0x3a36c9;if(_0x5c9c2d['id']!==uo['id'])return;const _0x59fef8=_0x5c9c2d[_0x441807(0x2ec)];return this[_0x441807(0x1b2)]['setTextInfo'](_0x59fef8[_0x441807(0x376)]),!0x0;}));}[_0x381a5c(0x2b0)](){const _0x18d54c=_0x381a5c;this[_0x18d54c(0x1b2)][_0x18d54c(0x2d3)]['subscribe'](_0x135ebf=>{const _0x2389eb=_0x18d54c;switch(_0x135ebf[_0x2389eb(0x382)]){case Be[_0x2389eb(0x3b5)]:_0x135ebf[_0x2389eb(0x198)]&&_0x135ebf[_0x2389eb(0x254)]&&this['handleSourceRangeChange'](_0x135ebf['token'],_0x135ebf[_0x2389eb(0x198)],_0x135ebf[_0x2389eb(0x254)]);break;case Be[_0x2389eb(0x2e2)]:{const {unitId:_0x3e3891,subUnitId:_0xe09a98,token:_0x4cf3fc}=_0x135ebf;_0x3e3891&&_0xe09a98&&_0x4cf3fc&&this[_0x2389eb(0x2ef)](_0x3e3891,_0xe09a98,_0x4cf3fc);}break;case Be[_0x2389eb(0x19a)]:{const {token:_0x2d04e4,oldSourceRangeInfo:_0x5eb75e,dataRangeInfo:_0x4f20de,targetCellInfo:_0x3c2e44}=_0x135ebf,{unitId:_0x4240b0,subUnitId:_0x300bca}=_0x5eb75e||{};_0x4240b0&&_0x300bca&&_0x2d04e4&&this[_0x2389eb(0x2ef)](_0x4240b0,_0x300bca,_0x2d04e4),_0x4f20de&&_0x3c2e44&&this[_0x2389eb(0x155)](_0x2d04e4,_0x4f20de,_0x3c2e44);}break;}});}[_0x381a5c(0x1a4)](){const _0x7e3dca=_0x381a5c;this[_0x7e3dca(0x1b2)][_0x7e3dca(0x288)]['subscribe'](_0x179af0=>{const _0x37e23b=_0x7e3dca;Object[_0x37e23b(0x374)](_0x179af0)['forEach'](_0x1d21c3=>{const _0x5ea837=_0x37e23b,_0x5b956e=this[_0x5ea837(0x1b2)]['getTargetByPivotId'](_0x1d21c3);if(_0x5b956e){const _0x428880=this[_0x5ea837(0x1b2)][_0x5ea837(0x260)](_0x5b956e==null?void 0x0:_0x5b956e[_0x5ea837(0x2d5)],_0x5b956e==null?void 0x0:_0x5b956e[_0x5ea837(0x1aa)],_0x1d21c3);_0x428880&&(this['handleSourceRangeChange'](_0x1d21c3,_0x428880[_0x5ea837(0x21d)],_0x428880[_0x5ea837(0x254)]),this['triggerDirtyFeature']([{'unitId':_0x5b956e[_0x5ea837(0x2d5)],'subUnitId':_0x5b956e[_0x5ea837(0x1aa)],'token':_0x1d21c3}]));}});});}[_0x381a5c(0x1b5)](){const _0x1483d3=_0x381a5c;this[_0x1483d3(0x1b2)][_0x1483d3(0x295)][_0x1483d3(0x21a)](_0x2131fb=>{const _0x4b0f59=_0x1483d3,{unitId:_0x423287,subUnitId:_0x43867b,pivotTableId:_0x3a5d4a}=_0x2131fb;_0x423287&&_0x43867b&&_0x3a5d4a&&this[_0x4b0f59(0x287)]([{'unitId':_0x423287,'subUnitId':_0x43867b,'token':_0x3a5d4a}]);});}[_0x381a5c(0x287)](_0x42d59c){const _0x6232aa=_0x381a5c,_0x1130f6={};_0x42d59c[_0x6232aa(0x397)](_0x132323=>{var _0xc30828,_0x39256e;const {unitId:_0xc2706f,subUnitId:_0xc1c8ad,token:_0x5d95aa}=_0x132323;_0x1130f6[_0xc2706f]=(_0xc30828=_0x1130f6[_0xc2706f])!=null?_0xc30828:{},_0x1130f6[_0xc2706f][_0xc1c8ad]=(_0x39256e=_0x1130f6[_0xc2706f][_0xc1c8ad])!=null?_0x39256e:{},_0x1130f6[_0xc2706f][_0xc1c8ad][_0x5d95aa]=!0x0;}),this[_0x6232aa(0x367)][_0x6232aa(0x2c6)](Nt['id'],_0x1130f6);}['removeSourceRangeChange'](_0xf71f47,_0x5cee39,_0x4c6ba3){const _0xf588ed=_0x381a5c;this[_0xf588ed(0x320)][_0xf588ed(0x15b)](_0xf71f47,_0x5cee39,[_0x4c6ba3]);}[_0x381a5c(0x155)](_0x34199d,_0x58ff01,_0x15d6cb){const _0x3ee222=_0x381a5c,{unitId:_0xe23845,subUnitId:_0x2cdd93}=_0x58ff01;this[_0x3ee222(0x320)][_0x3ee222(0x2d7)](_0x15d6cb[_0x3ee222(0x2d5)],_0x15d6cb[_0x3ee222(0x1aa)],_0x34199d)&&this['removeSourceRangeChange'](_0xe23845,_0x2cdd93,_0x34199d);const _0x2a3dc7={'sheetId':_0x2cdd93,..._0x58ff01};this[_0x3ee222(0x320)]['register'](_0x15d6cb[_0x3ee222(0x2d5)],_0x15d6cb[_0x3ee222(0x1aa)],_0x34199d,{'unitId':_0x15d6cb[_0x3ee222(0x2d5)],'subUnitId':_0x15d6cb['subUnitId'],'dependencyRanges':[_0x2a3dc7],'getDirtyData':(_0x2a570d,_0x16cfd0)=>{const _0x2a17c3=_0x3ee222,_0x1a709e=this[_0x2a17c3(0x1b2)],_0x580263=_0x1a709e['getTargetByPivotId'](_0x34199d);if(!_0x580263)return Os();const {unitId:_0x1e7759,subUnitId:_0x584b02}=_0x580263,_0x38133f=Vs(_0x2a570d,_0x16cfd0,_0x58ff01);if(_0x38133f['length']>0x0){const _0x39e96b=_0x1a709e[_0x2a17c3(0x323)](_0xe23845,_0x34199d),_0x1ececd=_0x39e96b[_0x2a17c3(0x1d8)](),_0x1d51dd=this['getMatrixFromRunTimeData'](_0x58ff01[_0x2a17c3(0x2d5)],_0x58ff01[_0x2a17c3(0x1aa)],_0x16cfd0),_0x57b18c={},_0x23b12b=this['_sheetsPivotDataSourceModel'][_0x2a17c3(0x37e)](_0x1e7759)[_0x2a17c3(0x1c4)]()||_0x64e447,_0x228855=[];for(const _0x502d80 of _0x38133f){const _0x5440b6=_0x502d80-(_0x58ff01[_0x2a17c3(0x3ad)][_0x2a17c3(0x187)]||0x0),_0x302d89=_0x1ececd[_0x5440b6];_0x228855['push'](_0x302d89),_0x57b18c[_0x302d89]=_0x39e96b['getFieldById'](_0x302d89)['getName'](),_0x1a709e[_0x2a17c3(0x37e)](_0xe23845)[_0x2a17c3(0x2dc)](_0x302d89,_0x58ff01,_0x5440b6,_0x1d51dd);}_0x39e96b[_0x2a17c3(0x1b3)](_0x228855)[_0x2a17c3(0x397)](_0x194ec3=>{const _0x2835d4=_0x2a17c3,[_0xac6a,_0x52c0d5]=_0x194ec3,_0x558c6c=_0x39e96b[_0x2835d4(0x203)](_0xac6a),_0x3cdbb6=_0x39e96b['getFieldById'](_0x52c0d5);_0x558c6c&&_0x3cdbb6&&_0x558c6c['refreshGroupField'](_0x3cdbb6);}),_0x39e96b[_0x2a17c3(0x181)]();const _0x56c44f=_0x1a709e[_0x2a17c3(0x31e)](_0x34199d);if(_0x56c44f){Us(_0x56c44f,_0x57b18c,_0x23b12b),_0x56c44f['setDirty'](!0x0);const _0x3cd3e8=_0x56c44f[_0x2a17c3(0x2f4)](),_0x165e35=_0x1a709e[_0x2a17c3(0x260)](_0x1e7759,_0x584b02,_0x34199d),_0x567374=_0x1a709e[_0x2a17c3(0x37e)](_0xe23845)['toJSON']();_0x1a709e[_0x2a17c3(0x33b)](_0x1e7759,_0x584b02,J[_0x2a17c3(0x186)],_0x34199d,_0x3cd3e8,_0x165e35,_0x567374,!0x0);}}return this[_0x2a17c3(0x1ba)](_0x1e7759,_0x584b02,_0x34199d);}});}['getMatrixFromRunTimeData'](_0x259d19,_0x52abaa,_0x39958c){var _0x289c33,_0x248d7d;const {arrayFormulaCellData:_0x275107,unitData:_0x1b7a24}=_0x39958c,_0x2cbbe5=(_0x289c33=_0x275107==null?void 0x0:_0x275107[_0x259d19])==null?void 0x0:_0x289c33[_0x52abaa],_0x20c13a=(_0x248d7d=_0x1b7a24==null?void 0x0:_0x1b7a24[_0x259d19])==null?void 0x0:_0x248d7d[_0x52abaa];return{'arrayFormulaCellDataMatrix':_0x2cbbe5,'unitDataMatrix':_0x20c13a};}[_0x381a5c(0x1ba)](_0x164750,_0x51c66f,_0x20dd7f){const _0x52a711=_0x381a5c,_0x5d8a85=this[_0x52a711(0x1b2)][_0x52a711(0x24d)](_0x164750,_0x51c66f,_0x20dd7f),_0x1f7727=[],_0x53b171=new _0x399667();if(_0x5d8a85){const {rangeCache:_0x2f783c,matrix:_0x479801,oldRangeCache:_0x32d06a,oldMatrix:_0xf074ba}=_0x5d8a85,_0x2d50ed=Jt(_0x32d06a),_0x160365=Jt(_0x2f783c);_0x1f7727[_0x52a711(0x3a1)](..._0x160365,..._0x2d50ed),_0xf074ba&&_0x32d06a&&_0x2d50ed['forEach'](_0x556ef0=>{const _0x5d356f=_0x52a711;for(let _0x1c4906=_0x556ef0[_0x5d356f(0x1dc)];_0x1c4906<=_0x556ef0[_0x5d356f(0x39a)];_0x1c4906++)for(let _0xe8127f=_0x556ef0[_0x5d356f(0x187)];_0xe8127f<=_0x556ef0[_0x5d356f(0x1f3)];_0xe8127f++)_0x53b171[_0x5d356f(0x381)](_0x1c4906,_0xe8127f);}),_0x479801&&_0x160365&&_0x160365[_0x52a711(0x397)](_0x2fba3c=>{const _0x5afa79=_0x52a711;for(let _0x39fcd6=_0x2fba3c[_0x5afa79(0x1dc)];_0x39fcd6<=_0x2fba3c[_0x5afa79(0x39a)];_0x39fcd6++)for(let _0x10bcdd=_0x2fba3c['startColumn'];_0x10bcdd<=_0x2fba3c[_0x5afa79(0x1f3)];_0x10bcdd++)_0x53b171[_0x5afa79(0x18e)](_0x39fcd6,_0x10bcdd,_0x479801[_0x5afa79(0x2bc)](_0x39fcd6,_0x10bcdd));});}const _0x1b8554={};return _0x1b8554[_0x164750]={[_0x51c66f]:xs(_0x1f7727)},{'runtimeCellData':{[_0x164750]:{[_0x51c66f]:_0x53b171}},'dirtyRanges':_0x1b8554};}[_0x381a5c(0x37b)](){}};ct=Ns([at(0x0,_0x4b1a54($)),at(0x1,_0x4b1a54(_0xfb59db)),at(0x2,_0x4b1a54(_0x34de0e)),at(0x3,_0x4b1a54(_0xcee84f)),at(0x4,_0x4b1a54(_0x5bf0f9))],ct);var As=Object[_0x381a5c(0x25e)],ks=(_0x216162,_0x57570b,_0x2f2efa,_0x22d029)=>{for(var _0x35bde7=_0x22d029>0x1?void 0x0:_0x22d029?As(_0x57570b,_0x2f2efa):_0x57570b,_0x337f68=_0x216162['length']-0x1,_0x55f0bb;_0x337f68>=0x0;_0x337f68--)(_0x55f0bb=_0x216162[_0x337f68])&&(_0x35bde7=_0x55f0bb(_0x35bde7)||_0x35bde7);return _0x35bde7;},Rt=(_0x446af5,_0x9f516)=>(_0x12e992,_0x234419)=>_0x9f516(_0x12e992,_0x234419,_0x446af5);let dt=class extends _0x131022{constructor(_0x3d1afd,_0x2fe593,_0x218f00,_0x3a0d70){const _0xfe3838=_0x381a5c;super(),N(this,_0xfe3838(0x2af),new _0x2ed757()),(this[_0xfe3838(0x153)]=_0x3d1afd,this[_0xfe3838(0x1a8)]=_0x2fe593,this[_0xfe3838(0x360)]=_0x218f00,this[_0xfe3838(0x172)]=_0x3a0d70,this['_initClearSelectionCommandInterceptor']());}[_0x381a5c(0x158)](){const _0x4d6985=_0x381a5c;this[_0x4d6985(0x3c9)](this['_sheetInterceptorService'][_0x4d6985(0x39c)]({'getMutations':_0xbfd442=>{const _0xffa2d2=_0x4d6985;if(_0xbfd442['id']===_0x95cac8['id']||_0xbfd442['id']===_0x27fdda['id']){const _0x27bdd=[],_0xdd3291=[],_0x21bb73=this[_0xffa2d2(0x360)][_0xffa2d2(0x166)]()[_0xffa2d2(0x15c)](_0x4a7a85=>_0x4a7a85[_0xffa2d2(0x3ad)]),_0x2bde6d=_0x19f1df(this[_0xffa2d2(0x153)]);if(!_0x2bde6d)return{'redos':[],'undos':[]};const {unitId:_0x40cd31,subUnitId:_0x3f241a}=_0x2bde6d,_0x55e276={},_0x2cd90c=this[_0xffa2d2(0x172)][_0xffa2d2(0x35f)](_0x40cd31,_0x3f241a);if(_0x2cd90c!=null&&_0x2cd90c[_0xffa2d2(0x22d)])for(const [_0xf3973f,_0x645c84]of _0x2cd90c){const {unitId:_0x52352e,subUnitId:_0x5f13ba,row:_0x362793,col:_0x10387a}=_0x645c84['targetCellInfo'];_0x52352e===_0x2bde6d[_0xffa2d2(0x2d5)]&&_0x5f13ba===_0x2bde6d[_0xffa2d2(0x1aa)]&&(_0x55e276[_0x362793+'-'+_0x10387a]=_0xf3973f);}return _0x21bb73&&_0x2bde6d&&_0x21bb73['forEach'](_0x5164aa=>{const _0x2b8c8c=_0xffa2d2;_0x39b476[_0x2b8c8c(0x2bb)](_0x5164aa,(_0x408c33,_0x40e78d)=>{const _0x13e417=_0x2b8c8c,_0x5cb123=_0x408c33+'-'+_0x40e78d;if(_0x55e276[_0x5cb123]){const _0x4ea7b6=_0x55e276[_0x5cb123];_0x27bdd[_0x13e417(0x3a1)]({'id':Vt['id'],'params':{'unitId':_0x40cd31,'subUnitId':_0x3f241a,'pivotTableId':_0x4ea7b6}});const _0x1d5f4f=this['_sheetsPivotTableConfigModel'][_0x13e417(0x323)](_0x40cd31,_0x4ea7b6),_0x44d295=this[_0x13e417(0x172)][_0x13e417(0x260)](_0x40cd31,_0x3f241a,_0x4ea7b6);_0xdd3291[_0x13e417(0x3a1)]({'id':Ct['id'],'params':{'unitId':_0x40cd31,'subUnitId':_0x3f241a,'pivotTableId':_0x4ea7b6,'pivotTableConfig':_0x44d295,'collectionConfig':_0x1d5f4f}});}});}),{'redos':_0x27bdd,'undos':_0xdd3291};}return{'redos':[],'undos':[]};}}));}};dt=ks([Rt(0x0,_0x121e43),Rt(0x1,_0x4b1a54(_0x15b37e)),Rt(0x2,_0x4b1a54(_0x555c93)),Rt(0x3,_0x4b1a54(ve))],dt);var Bs=Object['getOwnPropertyDescriptor'],Ls=(_0x240c08,_0x423374,_0x4a5a0f,_0xf02387)=>{const _0x2a0815=_0x381a5c;for(var _0x30c2f3=_0xf02387>0x1?void 0x0:_0xf02387?Bs(_0x423374,_0x4a5a0f):_0x423374,_0xa99535=_0x240c08[_0x2a0815(0x173)]-0x1,_0x45fba2;_0xa99535>=0x0;_0xa99535--)(_0x45fba2=_0x240c08[_0xa99535])&&(_0x30c2f3=_0x45fba2(_0x30c2f3)||_0x30c2f3);return _0x30c2f3;},rt=(_0x30ed1d,_0x5ca793)=>(_0x4d253b,_0x1769f4)=>_0x5ca793(_0x4d253b,_0x1769f4,_0x30ed1d);let ut=class extends _0x131022{constructor(_0x4b1aef,_0x4cf39c,_0x2a23b2,_0x39bbd9,_0x30f735){const _0xbac9a2=_0x381a5c;super(),this[_0xbac9a2(0x1a8)]=_0x4b1aef,this[_0xbac9a2(0x383)]=_0x4cf39c,this[_0xbac9a2(0x153)]=_0x2a23b2,this['_sheetsPivotTableConfigModel']=_0x39bbd9,this[_0xbac9a2(0x33c)]=_0x30f735,this['_initCommandInterceptListener']();}['_getPivotAppliedRanges'](_0x3bb9c5,_0x2ac7dd,_0x328ab2){const _0x43d38a=_0x381a5c,{pageView:_0x4f9fb0,cornerView:_0x329bdd,rowView:_0x2f19a8,colView:_0x6701ec,dataView:_0x2f264d}=_0x2ac7dd,_0x1742bc=_0x3bb9c5;let _0x17ffa1;if(_0x328ab2)_0x17ffa1=[...Li(_0x1742bc)];else{const _0xc0d2f5=ge(_0x1742bc,_0x4f9fb0,!0x0),_0xb6c468=_0x4f9fb0[_0x43d38a(0x1cb)]>=0x0?_0x4f9fb0['lastRow']+0x1:0x0,_0x2fb7ed=_0x329bdd['rowCount'],_0x385e28=_0x329bdd[_0x43d38a(0x267)],_0x22f295=_0xc0d2f5[_0x43d38a(0x173)]>0x0?It:0x0,_0xe20f4d=ge({'row':_0x1742bc['row']+_0xb6c468+_0x22f295,'col':_0x1742bc[_0x43d38a(0x340)]},_0x329bdd,!0x1,!0x1),_0x1703af=ge({'row':_0x1742bc[_0x43d38a(0x1ea)]+_0xb6c468+_0x22f295+_0x2fb7ed,'col':_0x1742bc[_0x43d38a(0x340)]},_0x2f19a8,!0x1,!0x0),_0x35c13e=ge({'row':_0x1742bc[_0x43d38a(0x1ea)]+_0xb6c468+_0x22f295,'col':_0x1742bc[_0x43d38a(0x340)]+_0x385e28},_0x6701ec,!0x1,!0x0),_0x34425f=ge({'row':_0x1742bc[_0x43d38a(0x1ea)]+_0xb6c468+_0x22f295+_0x2fb7ed,'col':_0x1742bc[_0x43d38a(0x340)]+_0x385e28},_0x2f264d,!0x1,!0x0);_0x17ffa1=[..._0xc0d2f5,..._0xe20f4d,..._0x1703af,..._0x35c13e,..._0x34425f];}return _0x17ffa1;}[_0x381a5c(0x37a)](){const _0x2d2eeb=_0x381a5c;this[_0x2d2eeb(0x3c9)](this[_0x2d2eeb(0x33c)]['interceptor'][_0x2d2eeb(0x255)](this[_0x2d2eeb(0x33c)]['interceptor']['getInterceptPoints']()[_0x2d2eeb(0x15a)],{'handler':(_0x47317d,_0x13b745)=>{const _0x30ea12=_0x2d2eeb,{cellInfo:_0x1f6386,view:_0x4faee6,isEmpty:_0x267e39}=_0x13b745,_0xa5d4eb=_0x1f6386,{unitId:_0x21ca5b,subUnitId:_0xc07811}=_0xa5d4eb,_0x2a5ff1=this[_0x30ea12(0x15e)](_0x1f6386,_0x4faee6,_0x267e39),_0x46cf1d=this[_0x30ea12(0x1a8)]['generateMutationsByRanges']({'unitId':_0x21ca5b,'subUnitId':_0xc07811,'ranges':_0x2a5ff1}),_0x8546da=Ko(this['_injector'],_0x21ca5b,_0xc07811,_0x2a5ff1);_0x8546da['shouldClear']&&(_0x46cf1d[_0x30ea12(0x34b)][_0x30ea12(0x3a1)](_0x8546da['setRangeValueRedoMutation']),_0x46cf1d[_0x30ea12(0x25b)]['push'](_0x8546da[_0x30ea12(0x2e3)]));const _0x48a462=this[_0x30ea12(0x278)](_0x4faee6,_0x1f6386);return _0x46cf1d['redos']['push'](..._0x48a462[_0x30ea12(0x34b)]),_0x46cf1d[_0x30ea12(0x25b)][_0x30ea12(0x3a1)](..._0x48a462[_0x30ea12(0x25b)]),{'redos':_0x46cf1d[_0x30ea12(0x34b)],'undos':_0x46cf1d[_0x30ea12(0x25b)]};}}));}[_0x381a5c(0x278)](_0x51f35c,_0x3a31cc){const _0x5223aa=_0x381a5c,{col:_0x3adf63,unitId:_0x2cc2c4,subUnitId:_0x3d5c}=_0x3a31cc,_0x476d66=[],_0x5b608b=[],_0x827e94=_0x19f1df(this[_0x5223aa(0x153)],{'unitId':_0x2cc2c4,'subUnitId':_0x3d5c});if(!_0x3a31cc||!_0x51f35c||!_0x827e94)return{'undos':_0x5b608b,'redos':_0x476d66};const _0x749e57=this[_0x5223aa(0x172)][_0x5223aa(0x2c8)](),{colView:_0x4e77be,dataView:_0x16a9c6,cornerView:_0x16681f,rowView:_0x5dd797,formatMap:_0x25a9fa}=_0x51f35c,_0x303b7f=To(_0x4e77be,_0x749e57,!0x0,_0x25a9fa),_0x5c0bb5=To(_0x5dd797,_0x749e57,!0x1,_0x25a9fa),_0x466785=ji(_0x16a9c6),_0x3e1506=Wi(_0x16681f),{worksheet:_0x161dac}=_0x827e94;if(typeof window<'u'&&window[_0x5223aa(0x2e1)]){const _0x2aab12=_0x5e77d4({...fe[_0x5223aa(0x330)]}),_0x4b5c97=_0x2495b6[_0x5223aa(0x286)](_0x303b7f,_0x2aab12)[_0x5223aa(0x151)]+0x10,_0x3e521a=_0x2495b6[_0x5223aa(0x286)](_0x466785,_0x2aab12)[_0x5223aa(0x151)],_0x1a25ce=Math[_0x5223aa(0x2cd)](Math[_0x5223aa(0x346)](_0x4b5c97,_0x3e521a))+0x10,_0x186967=Math[_0x5223aa(0x2cd)](_0x2495b6['getTextSize'](_0x5c0bb5,_0x2aab12)['width']),_0x2d22d8=Math['floor'](_0x2495b6['getTextSize'](_0x3e1506,_0x2aab12)[_0x5223aa(0x151)]),_0x459a21=Math[_0x5223aa(0x346)](_0x186967,_0x2d22d8,0x28)+0xc,_0x21d0d0=_0x4e77be[_0x5223aa(0x267)]+_0x16681f['colCount'],_0x4bc28c={},_0x3df19b={};for(let _0x3eb16d=_0x3adf63;_0x3eb16d<_0x3adf63+_0x21d0d0;_0x3eb16d++){const _0x1f853c=_0x161dac[_0x5223aa(0x161)](_0x3eb16d);_0x4bc28c[_0x3eb16d]=_0x1f853c,_0x3eb16d-_0x3adf63<_0x16681f[_0x5223aa(0x267)]?_0x3df19b[_0x3eb16d-_0x3adf63]=_0x459a21:_0x3df19b[_0x3eb16d-_0x3adf63]=_0x1a25ce;}_0x476d66[_0x5223aa(0x3a1)]({'id':_0x66ccb0['id'],'params':{'subUnitId':_0x3d5c,'unitId':_0x2cc2c4,'ranges':[{'startColumn':_0x3adf63,'endColumn':_0x3adf63+_0x21d0d0-0x1,'startRow':0x0,'endRow':_0x161dac[_0x5223aa(0x358)]()-0x1}],'colWidth':_0x3df19b}}),_0x5b608b[_0x5223aa(0x3a1)]({'id':_0x66ccb0['id'],'params':{'subUnitId':_0x3d5c,'unitId':_0x2cc2c4,'ranges':[{'startColumn':_0x3adf63,'endColumn':_0x3adf63+_0x21d0d0-0x1,'startRow':0x0,'endRow':_0x161dac[_0x5223aa(0x358)]()-0x1}],'colWidth':_0x4bc28c}});}return{'undos':_0x5b608b,'redos':_0x476d66};}};function _0x595b(){const _0x46dd04=['onStarting','8620xqPjYY','getFieldPositionInfoById','setName','setSortInfo','_pivotTableMatrixInfo','getDate','sheets-pivot.minName','DrillDown','pivotTableConfigs','fields','updateRenderCache','getRangeKey','pluginName','removeCollections','sheets-pivot.cellDateGroupDisplay.hour','getPivotTableInstance','colHeaderMap','_featureCalculationManagerService','RemovePivotField','sheets-pivot.emptyPivot.filter','getCollection','Date','onQueryEnd','YearMonth','sheets-pivot.countName','sum','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','getSheetId','sheet.mutation.get-pivot-data-local','Count\x20of\x20','AddPivotTable','#e6ebfa','asObservable','colStyle','shouldClear','getDataFieldByTableId','_host','values','countNums','getSourceName','getTargetByPivotTableId','rowInfo','Div0','rowCount','updateView','_sheetsPivotTableService','UNIVER_SHEET','product','UpdateFieldPosition','col','refreshData','_initLocale','_initSnapshot','fromJSON','_pivotRenderInfoCache','max','Delete','3573992UNtBDv','getNoUsedDataFieldIds','NotFunction','redos','updatePivotSource','5058XQoRZM','addExclusiveRange','_configService','setSubtotalType','sheets-pivot.dateGroup.yearQuarter','getFieldDataType','getFullYear','contains','sheet.mutation.add-pivot-table','removeValueFilterInfoByValueFieldId','message','getRowCount','sheet.mutation.update-date-group','sheets-pivot.varpName','sheets-pivot.emptyPivot.row','_viewUpdate$','splice','addPivotTableWithConfig','getSubUnitPivotConfigs','_sheetsSelectionsService','removeField','resetPivotTable','blank','sheets-pivot.sumName','toJSON','getTargetByPivotId','_commandService','sheet.command.set-pivot-fields-config','handleAsyncResponse','#eceeff','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','sheets-pivot.cellDateGroupDisplay.yearQuarter','sheets-pivot.cellDateGroupDisplay.minute','pivotTableIndexConfig','drillDown','NAME','BadReference','rangeCache','intersects','keys','updateFieldSourceInfo','textInfo','NotNumber','find','sheet.mutation.set-pivot-value-filter','_initCommandInterceptListener','dispose','updateFieldPosition','getDataFieldByDataFieldId','getDataFieldManager','3PmEyBg','forValue','realDeleteValue','type','_injector','_initConfig','register','sheets-pivot.dateGroup.yearMonth','_markDirty$','_initPivotTextInfo','sheets-pivot.cellDateGroupDisplay.month','pushComputingStatusSubject','collection','existing','pbt','SetFieldFormat','sheet.command.reset-pivot-fields-config','sheet.mutation.send-pivot-data-local','getSheetBySheetId','setValueFilterInfo','MIN_SAFE_INTEGER','symbol','columnFields','pivotInitCompleted$','forEach','unshift','getDataFieldByRangeKey','endRow','getDataFieldItemInfo','interceptCommand','Grand\x20Total','sheets-pivot.cellDateGroupDisplay.yearMonth','rowFields','slice','push','format','setConfig','dimension','_updateRenderEmptyCache','Total','dataStream','registerSyncingMutations','Average\x20of\x20','version','column','Values','range','Month','parse','rowHeaderMap','getUnitId','2542519ncovGJ','_pivotConfigChange$','NUMBER','add','dataFieldsCollection','removeDataField','measure','addFieldWithSourceId','handleMoveRange','setPivotCollapse','createDataFieldId','_lifecycleService','SetValueFilter','Var\x20of\x20','FORCE_STRING','getPivotTableCellData','getRefRangeMutationsByMoveRange','_localeService','return\x20','oldRangeInfo','_getAutoName','getName','colInfo','disposeWithMe','_initPivotDataGetListener','headerMap','DIV_BY_ZERO','object','dateType','cornerStyle','endCollectChangeset','configVersion$','interceptor','SetPivotTableConfig','Quarter','versions','sheets-pivot.countNumsName','registerPluginResource','getUnit','_pivotTableRangeInfo','generateNewSheetName','width','initDataRanges','_univerInstanceService','sheets-pivot.value','handleSourceRangeChange','isArray','originalFieldId','_initClearSelectionCommandInterceptor','updateConfigCache','PIVOT_MUTATION_GENERATE','remove','map','_textInfo','_getPivotAppliedRanges','ResetPivotTable','NORMAL','getColumnWidth','matrix','getLastRow','_globalComputedEndHelpFunc','collapseInfo','getCurrentSelections','_toJSON','rangesInfo','replace','_requestResolvers','prototype','Column\x20','options','#e6ebfb','_init','sheet.mutation.remove-group-collection','notExecuteFormula','_sheetsPivotTableConfigModel','length','filter','_configVersion$','New','_deletePivotTableInstanceCache','getValueIndex','_initViewModelBySheetInterceptor','1056032hLCaWj','sheet.command.set-pivot-value-filter','leftOffset','SetPivotSort','_viewData','number','cornerInfo','updateAllDisplayName','includes','SetFilterInfo','_dataSyncPrimaryController','hasField','Set','startColumn','registerDirtyService','updateViewData','getFormat','fetchThroughAsyncInterceptors','YearMonthDate','formJSON','setValue','rgb(240,241,243)','_ensurePivotItemRenderInfoCache','sheets-pivot.cellDateGroupDisplay.yearMonthDate','asyncInterceptor','getPivotDisplayConfig','sheet.mutation.add-group-collection','sheets-pivot.productName','sheet.operation.pivot-table-view-formula-mark-dirty','1075174skhUcZ','dataRangeInfo','value','update','sourceName','_sheetsPivotRpcService','getPivotTableIdByCell','sheet.mutation.add-pivot-field','deleteField','updateViewInfo','new','rowRanges','getSubUnitPivotRenderCache','_subjectFieldsCollectionChange','SetPivotSetting','name','SetPivotFilter','_sheetInterceptorService','getPivotTableMatrixInfo','subUnitId','getformat','setDataRecordCount','prefix','sheet.mutation.set-pivot-option','registerRefRange','get','setPivotInitCompleted','_sheetsPivotDataSourceModel','getGroupFieldsInfoByIds','sheets-pivot.emptyPivot.values','_subjectViewChange','PivotMultipleValueId','Year','sheets.tabs.sheet','pivotTableId','getDirtyInfo','removePivotField','getPivotItemRenderInfoCache','renameField','Filter','updateRangeKeyMap','rangeType','_updatePivotTableInstanceCache','pageRanges','next','getAutoDisplayNameFunction','setValuePivotFilter','generateMutationsByRanges','batch','getRangeKeyList','info','viewUpdate$','lastRow','addPivotField','getStyles','paths','AddPivotTableWithConfig','Varp\x20of\x20','getSheetBySheetName','queryDirtyPivotTable','setPivotTableConfig','getFieldInfo','getPivotTableModelConfig','(Blank)','fieldIds','getFieldIds','areaInfo','getSortInfo','resetArea','startRow','stdDev','valueFilter','Product\x20of\x20','_globalComputingSrv','iterateFieldByArea','GrandTotal','_activeDirtyManagerService','MonthDate','getColumnCount','sheet.mutation.set-pivot-sort-info','tuple','setSourceName','#1d32e9','row','_exclusiveRangeService','ΣValue','SetValuePivotFilter','Style','iterateField','deleteUnitId','sheets-pivot.averageName','concat','endColumn','None','#b2b2b2','getConfig','dataStyle','_config','sheet.mutation.update-pivot-table-source-range','12USfbUh','getHeaderMapItem','_refRangeService','some','_ensurePivotTableMatrixInfo','pushUndoRedo','_ensurePivotTableRangeInfo','workbook\x20is\x20not\x20found','dataFieldManagerConfig','getFieldById','setDisplayName','call','setCollapse','leafStyle','REF','tableFieldId','var','_updateModelCache','sheets-pivot.dateGroup.date','filterId','movePivotField','_pivotRenderValueMatrixCache','valueIndex','getMatrix','_collectionConfigModel','COLUMN','addField','getTypeOfUnitDisposed$','Row','grandTotal','addCollection','Max\x20of\x20','subscribe','rangeKey','STRING','sourceRangeInfo','_resourceManagerService','#FFFFFF','_initRegisterCommand','sheets-pivot.dateGroup.year','_generateUniqueVersion','addDirtyPivotTable','getFieldCountByArea','sheet.mutation.set-pivot-collapse','SetCollapse','custom','forRow','Add','getCurrentUnitForType','rangeKeyMap','sheet.command.move-pivot-field','size','_deleteModelCache','updatePivotTableRangeInfo','level','rgb(255,255,255)','result','updateConfig','sheets-pivot.emptyPivot.column','SetPivotCollapse','onCommandExecuted','_fieldsCollectionChange$','limit\x20pivot','StdDev\x20of\x20','isColMultiMeasure','addPivotTable','sheet.command.update-pivot-table-source-range','sheets-pivot.grandTotal','isBottomTotal','sheet.command.set-pivot-collapse','getDataFieldId','setPivotSetting','sortInfo','getFilterFieldIdByIndex','RemoveField','sheetName','_sheetsPivotTableAdaptorModel','getMonth','startCollectChangeset','RenameField','originTargetInfo','error','registerCallbackWithEvent','getViewData','sheet.command.set-pivot-sort','Hour','YearQuarter','UpdateValuePosition','getTableFieldById','SHEET_PIVOT_EXCLUSIVE_ID','targetCellInfo','intercept','toString','_initUnitDisposed','_pivotTableInstanceCache','sheets-pivot.cellDateGroupDisplay.year','Min\x20of\x20','undos','sheets-pivot.config','_ensureViewDataMap','getOwnPropertyDescriptor','getFilterInfo','getPivotTableConfig','Subtotal','average','\x20-\x20','entries','_initRemoveSheetCommandInterceptor','setRange','colCount','_pivotInitCompleted$','displayName','fieldsConfig','sheet.command.move-pivot-table','Panel','_ensurePivotItemRenderValueMatrixCache','MUTATION','split','clearRenderCache','adjustSheetCellData','NotName','pageStyle','_globalSubject','panel','getRangeStartEndInfo','sheets-pivot.stdDevpName','getAutoFitColumnsMutations','set','updateValuePosition','getDisplayName','setRangeKeyMap','sheets-pivot.cellDateGroupDisplay.quarter','random','bind','getValuePosition','getCellMatrix','isEmpty','pivotPerformCheck','broadcastCollectionChange','from','getTextSize','triggerDirtyFeature','fieldsCollectionChange$','reduce','isValue','setFieldFormat','2291275trwXLo','setTextInfo','updateDirtyPivotTable','addCollectionByJSON','MovePivotField','markDirty$','iterateFieldDim','count','Column','viewData$','CELL_CONTENT','lastCol','uniqueDataFieldName','NO_COMMERCIAL','getFormatInfo','setLabelFilterInfo','_onRefRangeChange','valuePosition','removeCollectionImp','deepClone','registerCommand','refreshGroupField','getId','_globalComputedStartHelpFunc','getSubtotal','getSheets','sheets-pivot.cellDateGroupDisplay.hourMinute','AddPivotField','getIndexesByPathStr','updateCollectionConfig','maxDate','UpdatePivotSource','Value','minDate','Sum\x20of\x20','disposableCollection','_subjectCollectionChange','fontRenderExtension','UpdateSource','_initDataSendListener','sheets-pivot.dateGroup.hour','colRanges','getLastCol','stdDevp','sheets-pivot.cellDateGroupDisplay.date','defineProperty','filterInfo','foreach','getValue','_dataFieldManagerCollection','sheets-pivot.columnName','HourMinute','collectionConfig','single','getMatrixValue','getDataFieldBySourceName','_ensurePivotMap','sheet.mutation.send-pivot-view-local','executeCommand','stringify','getTextInfo','sheet.command.add-pivot-table','getUpdateRangeDeleteIds','_collectionChange$','createCollectionWithDataRange','floor','getFieldFormat','_queryingMap','getColCount','min','isText','collectionChange$','sheet.mutation.set-pivot-position','unitId','deleteDataField','has','vUO7hrRO\x20qD7eQJhrRO(0r7DOED,\x20JUg0r7WDQ)\x20{\x20\x20\x20\x20heQ\x20{\x20\x20\x20\x20\x20\x20\x20\x207ROEh\x200r7DOEDlOvRfcehTeecQ\x20=\x200r7DOED.EJ0rh(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x207ROEh\x20RerBrOPDEEcBD\x20=\x20uyKm.JceED(chRg(0r7DOEDlOvRfcehTeecQ[z]));\x20\x20\x20\x20\x20\x20\x20\x20rv\x20(!RerBrOPDEEcBD.Uq)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RerBrOPDEEcBD.Uq\x20=\x20mUZgDe(0r7DOEDlOvRfcehTeecQ[C]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x207ROEh\x20rEiReoDe\x20=\x20hQJDRv\x20iReoDe30Rgc0y7RJD\x20!==\x20\x27UOqDvrODq\x27\x20&&\x20ED0v\x20rOEhcO7DRv\x20iReoDe30Rgc0y7RJD;\x20\x20\x20\x20\x20\x20\x20\x207ROEh\x207ROhDjh\x20=\x20rEiReoDe\x20?\x20ED0v\x20:\x20trOqRt;\x20\x20\x20\x20\x20\x20\x20\x207ROEh\x20ZDEEcBDiReq\x20=\x207ROhDjh.__1cEDIC__.JceED(0r7DOEDlOvRfcehTeecQ[z]);\x20\x20\x20\x20\x20\x20\x20\x207ROEh\x20ZDEEcBD\x20=\x207ROhDjh.__NDj__.EherOBrvQ(ZDEEcBDiReq);\x20\x20\x20\x20\x20\x20\x20\x207ROEh\x20ErBOchUeDiReq\x20=\x207ROhDjh.__1cEDIC__.JceED(0r7DOEDlOvRfcehTeecQ[A]);\x20\x20\x20\x20\x20\x20\x20\x207ROEh\x20ErBOchUeD\x20=\x207ROhDjh.__NDj__.EherOBrvQ(ErBOchUeDiReq);\x20\x20\x20\x20\x20\x20\x20\x207ROEh\x20ErBOFc0rq\x20=\x207ROhDjh.__LDervQ__(ErBOchUeD,\x20ZDEEcBD,\x20JUg0r7WDQ);\x20\x20\x20\x20\x20\x20\x20\x207ROEh\x20qRZcrO\x20=\x20RerBrOPDEEcBD.qZ;\x20\x20\x20\x20\x20\x20\x20\x20vUO7hrRO\x20rEGRZcrOPch74rOB(RfchhDeO,\x20RNREh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207ROEh\x20JchhDeO\x20=\x20RfchhDeO.eDJ0c7D(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207ROEh\x204REh\x20=\x20RNREh.eDJ0c7D(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207ROEh\x20JchhDeOfcehE\x20=\x20JchhDeO.EJ0rh(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207ROEh\x204REhfcehE\x20=\x204REh.EJ0rh(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rv\x20(!JchhDeO.rO70UqDE(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eDhUeO\x20JchhDeO\x20===\x204REh;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rv\x20(JchhDeOfcehE.0DOBh4\x20<\x20z\x20||\x20JchhDeOfcehE[n]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eDhUeO\x20vc0ED;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207ROEh\x20JchhDeOyUvvrj\x20=\x20JchhDeOfcehE.E0r7D(d).HRrO(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207ROEh\x204REhyUvvrj\x20=\x204REhfcehE.E0r7D(-JchhDeOfcehE.0DOBh4\x20+\x20d).HRrO(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eDhUeO\x20JchhDeOyUvvrj\x20===\x204REhyUvvrj;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x200Dh\x20qRZcrOFc0rq\x20=\x20(qRZcrO\x20&&\x20qRZcrO.0DOBh4)\x20?\x20qRZcrO.ERZD((qZlhDZ)\x20=>\x20rEGRZcrOPch74rOB(qZlhDZ,\x200R7chrRO.4REhOcZD))\x20:\x20heUD;\x20\x20\x20\x20\x20\x20\x20\x20rv\x20(0R7chrRO.4REhOcZD\x20===\x20\x270R7c04REh\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20qRZcrOFc0rq\x20=\x20heUD;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x207ROEh\x20Lc0rq\x20=\x20ErBOFc0rq\x20&&\x20qRZcrOFc0rq;\x20\x20\x20\x20\x20\x20\x20\x20eDhUeO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Lc0rq,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZDEEcBD:\x20RerBrOPDEEcBD,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x207ch74\x20(DeeRe)\x20{\x20\x20\x20\x20\x20\x20\x20\x20eDhUeO\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Lc0rq:\x20vc0ED,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZDEEcBD:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','sheets-pivot.dateGroup.hourMinute','_initGlobalComputed','4290uuEKUw','refreshDataField','data','sheet.mutation.set-pivot-format','Existing','dataFieldId','document','delete','setRangeValueUndoMutation','_viewData$','#f4f4f5','updateDataFieldsCollection','MAX_SAFE_INTEGER','setPivotTable','isDate','getCellRaw','markDirty','params','addRecord','getOriginFieldId','removeSourceRangeChange','setDateType','getPivotPerformCheck','Collapse','string','query','dateGroupField','onQueryStart','setPivotFilter','_model','node','valueFields','getPivotTableRangeInfo','sheet.command.set-pivot-filter','sheet.mutation.remove-pivot-field','addDataFieldWithoutUnitInfo','Expand','removeValueFilterInfo','COMMAND','collections','sheet.command.set-pivot-field-setting','pivotConfigChange$','updatePivotTableMatrixInfo','subTotalStyle','_createExclusiveRange','removePivotTable','subtotal','setPivotSort','body','needSameDeleteModel','dataFields'];_0x595b=function(){return _0x46dd04;};return _0x595b();}ut=Ls([rt(0x0,_0x4b1a54(_0x15b37e)),rt(0x1,_0x4b1a54(_0x5bf0f9)),rt(0x2,_0x4b1a54(_0x121e43)),rt(0x3,_0x4b1a54(ve)),rt(0x4,_0x4b1a54(ie))],ut);var Js=Object[_0x381a5c(0x25e)],$s=(_0x1ba501,_0x3acd6d,_0x4d6bd1,_0x8b0578)=>{for(var _0x2c0552=_0x8b0578>0x1?void 0x0:_0x8b0578?Js(_0x3acd6d,_0x4d6bd1):_0x3acd6d,_0x7a23cf=_0x1ba501['length']-0x1,_0x5ec61e;_0x7a23cf>=0x0;_0x7a23cf--)(_0x5ec61e=_0x1ba501[_0x7a23cf])&&(_0x2c0552=_0x5ec61e(_0x2c0552)||_0x2c0552);return _0x2c0552;},Ae=(_0x1fcbe0,_0x16727c)=>(_0x3186e1,_0x59d4a8)=>_0x16727c(_0x3186e1,_0x59d4a8,_0x1fcbe0);let ft=class extends _0x131022{constructor(_0x22d0b1,_0x2e10f1,_0x3296a3,_0x22c558,_0x408549,_0x5afd4b,_0x409511){const _0x14f6d0=_0x381a5c;super(),N(this,'disposableCollection',new _0x2ed757()),(this['_injector']=_0x22d0b1,this[_0x14f6d0(0x1fc)]=_0x2e10f1,this[_0x14f6d0(0x367)]=_0x3296a3,this[_0x14f6d0(0x153)]=_0x22c558,this[_0x14f6d0(0x172)]=_0x408549,this[_0x14f6d0(0x246)]=_0x5afd4b,this['_sheetInterceptorService']=_0x409511,this[_0x14f6d0(0x29c)]());}[_0x381a5c(0x29c)](){const _0x290eee=_0x381a5c,_0x455b43=(_0x5c6491,_0x1e5523)=>{const _0x49cd8d=_0x1367,_0x41dc12=this[_0x49cd8d(0x153)]['getCurrentUnitForType'](_0x3fc262[_0x49cd8d(0x33d)]);if(!_0x41dc12||!(_0x41dc12==null?void 0x0:_0x41dc12[_0x49cd8d(0x391)](_0x1e5523)))return;this[_0x49cd8d(0x2af)][_0x49cd8d(0x37b)]();const _0x2bab78=_0x19dc0c=>this['_refRangeHandle'](_0x19dc0c,_0x5c6491,_0x1e5523),_0x43766c=this[_0x49cd8d(0x172)][_0x49cd8d(0x35f)](_0x5c6491,_0x1e5523);if(!(_0x43766c!=null&&_0x43766c[_0x49cd8d(0x22d)]))return;Array[_0x49cd8d(0x285)](_0x43766c['values']())['map'](_0x3a1aa4=>{const _0x30a057=_0x49cd8d,{row:_0x89507,col:_0x28201e}=_0x3a1aa4[_0x30a057(0x254)];return _0x36b650(_0x89507,_0x28201e);})[_0x49cd8d(0x397)](_0x614247=>{const _0xd463b4=_0x49cd8d;this['disposableCollection'][_0xd463b4(0x3b5)](this['_refRangeService'][_0xd463b4(0x1af)](_0x614247,_0x2bab78,_0x5c6491,_0x1e5523));});},_0x364657=()=>{const _0x228ccf=_0x1367,_0x45da80=this[_0x228ccf(0x153)][_0x228ccf(0x22a)](_0x3fc262['UNIVER_SHEET']);if(_0x45da80){const _0x39597b=_0x45da80['getActiveSheet']();if(!_0x39597b)return;_0x455b43(_0x45da80['getUnitId'](),_0x39597b[_0x228ccf(0x32a)]());}};this['disposeWithMe'](this['_commandService'][_0x290eee(0x236)](_0x48dc57=>{const _0x357623=_0x290eee;if(_0x48dc57['id']===_0x52ecf9['id']){const _0xb38827=_0x48dc57[_0x357623(0x2ec)],_0x5c976b=_0xb38827[_0x357623(0x1aa)],_0x27e8ce=_0xb38827['unitId'];if(!_0x5c976b||!_0x27e8ce)return;_0x455b43(_0x27e8ce,_0x5c976b);}})),this['disposeWithMe'](this[_0x290eee(0x172)][_0x290eee(0x396)]['subscribe'](_0x539aae=>{_0x539aae&&_0x364657();})),this[_0x290eee(0x3c9)](this[_0x290eee(0x172)][_0x290eee(0x304)]['subscribe'](_0x6b2db9=>{const _0x3307de=_0x290eee,_0x3bc9f9=_0x19f1df(this[_0x3307de(0x153)]);if(!_0x3bc9f9)return;const {unitId:_0x726b74,subUnitId:_0x24c5c0}=_0x3bc9f9,{unitId:_0x4e314c,subUnitId:_0x52fb53}=_0x6b2db9;_0x726b74!==_0x4e314c||_0x24c5c0!==_0x52fb53||_0x455b43(_0x726b74,_0x24c5c0);})),_0x364657();}['_refRangeHandle'](_0x57d608,_0x4a4a3b,_0x26ae93){const _0x45b472=_0x381a5c;switch(_0x57d608['id']){case _0x29af4e['id']:return this[_0x45b472(0x3c2)](_0x57d608[_0x45b472(0x2ec)],_0x4a4a3b,_0x26ae93);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x3cfdd0,_0x3f6599,_0x160628){const _0x3b9199=_0x381a5c,{fromRange:_0x525635,toRange:_0x246f81}=_0x3cfdd0,_0x1b3de5=[],_0x3599e2=[],_0x298ae7=_0x19f1df(this['_univerInstanceService']);if(!_0x298ae7)return{'undos':_0x3599e2,'redos':_0x1b3de5};if(_0x3f6599!==_0x298ae7['unitId']||_0x160628!==_0x298ae7[_0x3b9199(0x1aa)])return{'undos':_0x3599e2,'redos':_0x1b3de5};const _0xd8334a=this[_0x3b9199(0x172)][_0x3b9199(0x35f)](_0x3f6599,_0x160628);if(_0xd8334a!=null&&_0xd8334a[_0x3b9199(0x22d)])for(const [_0x44f9a8,_0x3aa5e2]of _0xd8334a){const {unitId:_0x280f48,subUnitId:_0x169e3b,row:_0x2f1948,col:_0x33d312}=_0x3aa5e2[_0x3b9199(0x254)];if(_0x280f48===_0x298ae7[_0x3b9199(0x2d5)]&&_0x169e3b===_0x298ae7[_0x3b9199(0x1aa)]){const _0x34c0f8=_0x36b650(_0x2f1948,_0x33d312);if(_0x293797[_0x3b9199(0x373)](_0x34c0f8,_0x525635)){const _0x24e508=_0x2f1948-_0x525635[_0x3b9199(0x1dc)],_0x446764=_0x33d312-_0x525635[_0x3b9199(0x187)],_0x5eff24={'row':_0x246f81['startRow']+_0x24e508,'col':_0x246f81['startColumn']+_0x446764};_0x1b3de5[_0x3b9199(0x3a1)]({'id':pt['id'],'params':{'unitId':_0x280f48,'subUnitId':_0x169e3b,'pivotTableId':_0x44f9a8,'targetCellPosition':_0x5eff24}}),_0x3599e2[_0x3b9199(0x3a1)]({'id':pt['id'],'params':{'unitId':_0x280f48,'subUnitId':_0x169e3b,'pivotTableId':_0x44f9a8,'targetCellPosition':{'row':_0x2f1948,'col':_0x33d312}}});const _0x3ecdfa=_0x5eff24['row']-_0x2f1948,_0x2fc41d=_0x5eff24[_0x3b9199(0x340)]-_0x33d312,_0x4ca511=[],_0x32d50f=this[_0x3b9199(0x246)]['getPivotItemRenderInfoCache'](_0x280f48,_0x169e3b,_0x44f9a8),_0x9e1342=_0x32d50f==null?void 0x0:_0x32d50f['rangesInfo'];if(_0x9e1342){Object[_0x3b9199(0x374)](_0x9e1342)[_0x3b9199(0x397)](_0x4fff13=>{const _0x266787=_0x3b9199;_0x9e1342[_0x4fff13][_0x266787(0x397)](_0x1c9b20=>{const _0x8f7e9a=_0x266787,_0x52709b={..._0x1c9b20};_0x52709b['startRow']=_0x1c9b20['startRow']+_0x3ecdfa,_0x52709b['endRow']=_0x1c9b20[_0x8f7e9a(0x39a)]+_0x3ecdfa,_0x52709b[_0x8f7e9a(0x187)]=_0x1c9b20[_0x8f7e9a(0x187)]+_0x2fc41d,_0x52709b[_0x8f7e9a(0x1f3)]=_0x1c9b20[_0x8f7e9a(0x1f3)]+_0x2fc41d,_0x4ca511[_0x8f7e9a(0x3a1)](_0x52709b);});});const _0x56c6ad=this['_sheetInterceptorService'][_0x3b9199(0x1c6)]({'unitId':_0x280f48,'subUnitId':_0x169e3b,'ranges':_0x4ca511});_0x1b3de5[_0x3b9199(0x3a1)](..._0x56c6ad[_0x3b9199(0x34b)]),_0x3599e2[_0x3b9199(0x3a1)](..._0x56c6ad['undos']);const _0x2b6bdc=Ko(this[_0x3b9199(0x383)],_0x280f48,_0x169e3b,_0x4ca511);_0x2b6bdc[_0x3b9199(0x331)]&&(_0x1b3de5['push'](_0x2b6bdc['setRangeValueRedoMutation']),_0x3599e2[_0x3b9199(0x3a1)](_0x2b6bdc['setRangeValueUndoMutation']));}}}}return{'redos':_0x1b3de5,'undos':_0x3599e2};}};ft=$s([Ae(0x0,_0x4b1a54(_0x5bf0f9)),Ae(0x1,_0x4b1a54(_0x568ae5)),Ae(0x2,_0x34de0e),Ae(0x3,_0x121e43),Ae(0x4,_0x4b1a54(ve)),Ae(0x5,_0x4b1a54(Ee)),Ae(0x6,_0x4b1a54(_0x15b37e))],ft);var js=Object['getOwnPropertyDescriptor'],Ws=(_0x28e3ad,_0x37710f,_0x1d347a,_0x46535d)=>{for(var _0x276271=_0x46535d>0x1?void 0x0:_0x46535d?js(_0x37710f,_0x1d347a):_0x37710f,_0x3a117f=_0x28e3ad['length']-0x1,_0x4b2261;_0x3a117f>=0x0;_0x3a117f--)(_0x4b2261=_0x28e3ad[_0x3a117f])&&(_0x276271=_0x4b2261(_0x276271)||_0x276271);return _0x276271;},wo=(_0x565d0f,_0x33e1e2)=>(_0x431132,_0xac5a8f)=>_0x33e1e2(_0x431132,_0xac5a8f,_0x565d0f);let gt=class extends _0x131022{constructor(_0x349e49,_0x4050cb){const _0x49dd30=_0x381a5c;super(),this[_0x49dd30(0x1a8)]=_0x349e49,this['_sheetsPivotTableConfigModel']=_0x4050cb,this['_initRemoveSheetCommandInterceptor']();}[_0x381a5c(0x265)](){const _0x488cf9=_0x381a5c;this[_0x488cf9(0x3c9)](this[_0x488cf9(0x1a8)]['interceptCommand']({'getMutations':_0x1b7ec7=>{const _0x1dda1d=_0x488cf9;if(_0x1b7ec7['id']===_0x55700a['id']){const _0x18d31f=[],_0x16241c=[],_0xac9dd=_0x1b7ec7['params'],{unitId:_0x18a50f,subUnitId:_0x413285}=_0xac9dd;if(!_0x18a50f||!_0x413285)return{'undos':_0x16241c,'redos':_0x18d31f};const _0x5e27aa=this[_0x1dda1d(0x172)][_0x1dda1d(0x35f)](_0x18a50f,_0x413285);if(_0x5e27aa!=null&&_0x5e27aa['size'])for(const [_0x2c556d,_0x4cf96b]of _0x5e27aa){_0x18d31f[_0x1dda1d(0x3a1)]({'id':Vt['id'],'params':{'unitId':_0x18a50f,'subUnitId':_0x413285,'pivotTableId':_0x2c556d}});const _0x29aa60={...this[_0x1dda1d(0x172)][_0x1dda1d(0x323)](_0x18a50f,_0x2c556d)};_0x16241c[_0x1dda1d(0x3a1)]({'id':Ct['id'],'params':{'unitId':_0x18a50f,'subUnitId':_0x413285,'pivotTableId':_0x2c556d,'pivotTableConfig':_0x4cf96b,'collectionConfig':_0x29aa60}});}return{'redos':_0x18d31f,'undos':_0x16241c};}return{'redos':[],'undos':[]};}}));}};gt=Ws([wo(0x0,_0x4b1a54(_0x15b37e)),wo(0x1,_0x4b1a54(ve))],gt);var Gs=Object[_0x381a5c(0x25e)],qs=(_0x5490f1,_0x287ad7,_0x5a3ac3,_0x2d96e5)=>{const _0x537170=_0x381a5c;for(var _0x534d73=_0x2d96e5>0x1?void 0x0:_0x2d96e5?Gs(_0x287ad7,_0x5a3ac3):_0x287ad7,_0xeb5d68=_0x5490f1[_0x537170(0x173)]-0x1,_0x56623e;_0xeb5d68>=0x0;_0xeb5d68--)(_0x56623e=_0x5490f1[_0xeb5d68])&&(_0x534d73=_0x56623e(_0x534d73)||_0x534d73);return _0x534d73;},Ge=(_0x4252d7,_0x242da1)=>(_0x122721,_0x57d723)=>_0x242da1(_0x122721,_0x57d723,_0x4252d7);let ht=class extends _0x131022{constructor(_0x1a05ac,_0x20996b,_0x4a70fc,_0xe3e48d,_0x1d4e72,_0x53077f){const _0x4c8e44=_0x381a5c;super(),this[_0x4c8e44(0x367)]=_0x1a05ac,this[_0x4c8e44(0x19c)]=_0x20996b,this['_sheetsPivotTableAdaptorModel']=_0x4a70fc,this[_0x4c8e44(0x172)]=_0xe3e48d,this[_0x4c8e44(0x153)]=_0x1d4e72,this[_0x4c8e44(0x1e3)]=_0x53077f,this[_0x4c8e44(0x2b3)](),this['registerDirtyService']();}[_0x381a5c(0x2b3)](){const _0xba3eb8=_0x381a5c;this['disposeWithMe'](this['_commandService'][_0xba3eb8(0x236)](_0x4dfe1a=>{const _0x3b6c60=_0xba3eb8;if(_0x4dfe1a['id']!==lo['id'])return;const _0x3f2fcd=_0x4dfe1a['params'];this['_sheetsPivotRpcService'][_0x3b6c60(0x369)](_0x3f2fcd);})),this['disposeWithMe'](this[_0xba3eb8(0x367)]['onCommandExecuted'](_0x2768e9=>{const _0x1fae64=_0xba3eb8;if(_0x2768e9['id']===co['id']){const _0x21a28a=_0x2768e9[_0x1fae64(0x2ec)];if(_0x21a28a){const {unitId:_0x5f32fc,subUnitId:_0x48409e,oldSubUnitId:_0x34b4c1,pivotTableId:_0x1b4ea6,pivotTableConfig:_0x415747,collectionConfig:_0x2612c7}=_0x21a28a;this[_0x1fae64(0x172)][_0x1fae64(0x159)](_0x5f32fc,_0x34b4c1,_0x21a28a[_0x1fae64(0x1b9)],null),this[_0x1fae64(0x172)][_0x1fae64(0x159)](_0x5f32fc,_0x48409e,_0x1b4ea6,_0x415747),this[_0x1fae64(0x172)][_0x1fae64(0x2a9)](_0x5f32fc,_0x2612c7);}}})),this[_0xba3eb8(0x3c9)](this[_0xba3eb8(0x367)]['onCommandExecuted'](_0x25c55a=>{const _0x193bab=_0xba3eb8;if(_0x25c55a['id']!==Dt['id'])return;const _0x3d5307=_0x19f1df(this[_0x193bab(0x153)]);if(!_0x3d5307)return;const {unitId:_0x4ec670,subUnitId:_0x5b6c63}=_0x3d5307,_0x260848=_0x25c55a['params'];if(_0x260848[_0x193bab(0x2c0)]&&Object[_0x193bab(0x374)](_0x260848[_0x193bab(0x2c0)])[_0x193bab(0x397)](_0xa7b0f0=>{const _0x3d33a6=_0x193bab;var _0x2d81c3;(_0x2d81c3=_0x260848['collectionConfig'])!=null&&_0x2d81c3[_0xa7b0f0]&&this[_0x3d33a6(0x172)][_0x3d33a6(0x2a9)](_0xa7b0f0,_0x260848['collectionConfig'][_0xa7b0f0]);}),_0x260848[_0x193bab(0x2c1)]){const _0x1ceca0=_0x260848[_0x193bab(0x2c1)],{unitId:_0x5d3ef8,subUnitId:_0xbe2ab8,view:_0xc80445,pivotTableId:_0x1c4acc,type:_0x499697,pivotConfig:_0x4a2705}=_0x1ceca0;if(_0x499697===J[_0x193bab(0x347)])this[_0x193bab(0x246)][_0x193bab(0x270)]({'unitId':_0x5d3ef8,'subUnitId':_0xbe2ab8,'pivotTableId':_0x1c4acc,'type':_0x499697}),this[_0x193bab(0x172)]['updateConfigCache'](_0x5d3ef8,_0xbe2ab8,_0x1c4acc,null);else{const _0x1cf1e2=new _0x510616();_0x1cf1e2[_0x193bab(0x18d)](_0xc80445),this[_0x193bab(0x172)][_0x193bab(0x159)](_0x5d3ef8,_0xbe2ab8,_0x1c4acc,_0x4a2705),this[_0x193bab(0x246)][_0x193bab(0x270)]({'unitId':_0x5d3ef8,'subUnitId':_0xbe2ab8,'pivotTableId':_0x1c4acc,'type':_0x499697,'view':_0x1cf1e2}),this[_0x193bab(0x246)][_0x193bab(0x319)]({'unitId':_0x5d3ef8,'subUnitId':_0xbe2ab8,'view':_0x1cf1e2,'pivotTableId':_0x1c4acc,'type':_0x499697});}}else _0x260848[_0x193bab(0x1c7)]&&(_0x260848[_0x193bab(0x1c7)][_0x193bab(0x397)](_0x1f895e=>{const _0x1c9924=_0x193bab,{unitId:_0x20d440,subUnitId:_0x57d0dc,view:_0x6d2a66,pivotTableId:_0x39d6c6,type:_0x28d991,pivotConfig:_0x278883}=_0x1f895e,_0xb425b8=new _0x510616();_0xb425b8[_0x1c9924(0x18d)](_0x6d2a66),this[_0x1c9924(0x172)][_0x1c9924(0x159)](_0x20d440,_0x57d0dc,_0x39d6c6,_0x278883),this[_0x1c9924(0x246)]['updateRenderCache']({'unitId':_0x20d440,'subUnitId':_0x57d0dc,'view':_0xb425b8,'pivotTableId':_0x39d6c6,'type':_0x28d991});}),this[_0x193bab(0x172)]['setPivotInitCompleted']());this[_0x193bab(0x246)][_0x193bab(0x2eb)](_0x4ec670,_0x5b6c63);}));}[_0x381a5c(0x188)](){const _0x2bff21=_0x381a5c;this['_activeDirtyManagerService'][_0x2bff21(0x385)](Nt['id'],{'commandId':Nt['id'],'getDirtyData'(_0x1052ed){const _0x58f4dc=_0x2bff21;return{'dirtyUnitFeatureMap':_0x1052ed[_0x58f4dc(0x2ec)]};}});}};ht=qs([Ge(0x0,_0x4b1a54(_0x34de0e)),Ge(0x1,_0x4b1a54(X)),Ge(0x2,_0x4b1a54(Ee)),Ge(0x3,_0x4b1a54(ve)),Ge(0x4,_0x4b1a54(_0x121e43)),Ge(0x5,_0x41cad9)],ht);var Ks=Object['defineProperty'],Hs=Object[_0x381a5c(0x25e)],Ys=(_0x55899c,_0x2d8e7f,_0x199ac6)=>_0x2d8e7f in _0x55899c?Ks(_0x55899c,_0x2d8e7f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x199ac6}):_0x55899c[_0x2d8e7f]=_0x199ac6,Zs=(_0x5a832d,_0xb8692e,_0x2d817d,_0x76bec1)=>{const _0x2e843d=_0x381a5c;for(var _0x2898bb=_0x76bec1>0x1?void 0x0:_0x76bec1?Hs(_0xb8692e,_0x2d817d):_0xb8692e,_0x2fc1af=_0x5a832d[_0x2e843d(0x173)]-0x1,_0x296a5d;_0x2fc1af>=0x0;_0x2fc1af--)(_0x296a5d=_0x5a832d[_0x2fc1af])&&(_0x2898bb=_0x296a5d(_0x2898bb)||_0x2898bb);return _0x2898bb;},_t=(_0x6eadea,_0x4077ab)=>(_0x31ad98,_0xbb3fd9)=>_0x4077ab(_0x31ad98,_0xbb3fd9,_0x6eadea),Qo=(_0x58e410,_0x302f12,_0x17092f)=>Ys(_0x58e410,typeof _0x302f12!=_0x381a5c(0x394)?_0x302f12+'':_0x302f12,_0x17092f);let Ot=class extends _0x40a88e{constructor(_0x13c97b=yo,_0x20a243,_0x90c653,_0x277954,_0x4ce098){const _0x5b6c1b=_0x381a5c;super(),this[_0x5b6c1b(0x1f8)]=_0x13c97b,this[_0x5b6c1b(0x383)]=_0x20a243,this[_0x5b6c1b(0x367)]=_0x90c653,this[_0x5b6c1b(0x34f)]=_0x277954,this[_0x5b6c1b(0x184)]=_0x4ce098;const {..._0x57cd62}=_0x1ac5c3({},yo,this[_0x5b6c1b(0x1f8)]);this[_0x5b6c1b(0x34f)][_0x5b6c1b(0x3a3)](Yo,_0x57cd62),this[_0x5b6c1b(0x220)](),this['_initConfig']();}[_0x381a5c(0x384)](){const _0x5a8eff=_0x381a5c;var _0x5ce213;const _0x420ff4=(_0x5ce213=this[_0x5a8eff(0x1f8)])==null?void 0x0:_0x5ce213[_0x5a8eff(0x171)];this[_0x5a8eff(0x34f)][_0x5a8eff(0x3a3)](H,_0x420ff4===!0x0);}[_0x381a5c(0x30e)](){const _0x270ab7=_0x381a5c;var _0xc6a8a7;let _0x35b785=[];const _0x1e8cd2=(_0xc6a8a7=this[_0x270ab7(0x1f8)])==null?void 0x0:_0xc6a8a7[_0x270ab7(0x171)];_0x1e8cd2===!0x0?_0x35b785=[[ie],[X],[ht],[Ee],[ve],[gt],[dt],[ft],[ut]]:_0x1e8cd2===!0x1?_0x35b785=[[$],[ct]]:_0x1e8cd2===void 0x0&&(_0x35b785=[[$],[ct],[ie],[X],[ht],[Ee],[ve],[gt],[dt],[ft],[ut]]),_0x35b785[_0x270ab7(0x397)](_0x19275=>this['_injector'][_0x270ab7(0x3b5)](_0x19275)),[ct,ht,ie,dt,gt,ft,ut][_0x270ab7(0x397)](_0x2da598=>{const _0x4a85a2=_0x270ab7;this[_0x4a85a2(0x383)][_0x4a85a2(0x2d7)](_0x2da598)&&this[_0x4a85a2(0x383)][_0x4a85a2(0x1b0)](_0x2da598);});}['_initRegisterCommand'](){const _0x60323b=_0x381a5c;[vs,ps,gs,ms,bs,Ds,Rs,Ps,Ms,ys,_s,Fs,Is,Cs,Ct,to,Vt,$t,Zo,zo,Kt,jt,Wt,Gt,Yt,Ht,pt,ro,lo,Dt,Qt,eo,Zt,qt,uo,oo,Xt,Nt,co,ws,zt,Ts,Ss][_0x60323b(0x397)](_0x5162dd=>{const _0x484529=_0x60323b;var _0x5e03fa;(_0x5e03fa=this['_dataSyncPrimaryController'])==null||_0x5e03fa[_0x484529(0x3a8)](_0x5162dd),this['_commandService'][_0x484529(0x2a0)](_0x5162dd);});}};Qo(Ot,_0x381a5c(0x31b),ao),Qo(Ot,_0x381a5c(0x382),_0x3fc262['UNIVER_SHEET']),Ot=Zs([_0x2b3407(_0x392825),_t(0x1,_0x4b1a54(_0x5bf0f9)),_t(0x2,_0x4b1a54(_0x34de0e)),_t(0x3,_0x1095fa),_t(0x4,_0x375047(_0x5a68e2))],Ot);export{gs as AddPivotFieldCommand,$t as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,vs as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,Is as MovePivotTableCommand,k as PivotDisplayDataType,Cs as PivotDrillDownCommand,J as PivotTableOperationEnum,Nt as PivotTableViewDirtyMarkOperation,Bo as PositionType,bs as RemovePivotFieldCommand,jt as RemovePivotFieldMutation,Vt as RemovePivotTableMutation,Wt as RenamePivotFieldMutation,Ss as ResetPivotFieldsConfigCommand,Yo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,Ps as SetPivotCollapseCommand,Gt as SetPivotCollapseMutation,qt as SetPivotFieldFormatMutation,Ts as SetPivotFieldsConfigCommand,ys as SetPivotFilterCommand,Kt as SetPivotFilterMutation,Ht as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ms as SetPivotSortCommand,Yt as SetPivotSortMutation,Zt as SetPivotSubtotalTypeMutation,ws as SetPivotValueFilterCommand,zt as SetPivotValueFilterMutation,$ as SheetsPivotDataSourceModel,X as SheetsPivotRPCService,Ee as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Ot as UniverSheetsPivotTablePlugin,Rs as UpdateDateGroupCommand,Qt as UpdateFieldPositionMutation,_s as UpdatePivotFieldSettingCommand,Xt as UpdatePivotFieldSourceInfoMutation,Fs as UpdatePivotTableSourceRangeCommand,oo as UpdatePivotTableSourceRangeMutation,Ds as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,qo as canUsePivot,fe as defaultThemeStyle,Ko as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Li as getEmptyPivotRanges,Et as getFieldListByArea,we as getInsertRowColMutations,Ai as getPivotCellInfo,go as getPivotInfoByLicense,ki as getPivotTableInfo,vt as transFromCellValue,Jt as unionPivotViewRange};
|