@univerjs-pro/sheets-pivot 0.8.0-nightly.202506021607 → 0.8.0-nightly.202506031608
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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 +39 -39
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.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/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 _0x1675c1=_0x2dae;(function(_0x43f097,_0x66fbd1){const _0x2155ef=_0x2dae,_0x482577=_0x43f097();while(!![]){try{const _0x1d614e=parseInt(_0x2155ef(0x1d9))/0x1*(parseInt(_0x2155ef(0x186))/0x2)+-parseInt(_0x2155ef(0x129))/0x3*(parseInt(_0x2155ef(0x1d7))/0x4)+parseInt(_0x2155ef(0x1db))/0x5+parseInt(_0x2155ef(0x14f))/0x6+parseInt(_0x2155ef(0xa3))/0x7*(-parseInt(_0x2155ef(0x1f7))/0x8)+parseInt(_0x2155ef(0x2a4))/0x9*(parseInt(_0x2155ef(0x16b))/0xa)+-parseInt(_0x2155ef(0x135))/0xb*(parseInt(_0x2155ef(0x17e))/0xc);if(_0x1d614e===_0x66fbd1)break;else _0x482577['push'](_0x482577['shift']());}catch(_0x3af5fd){_0x482577['push'](_0x482577['shift']());}}}(_0x57f5,0xda893));var an=Object[_0x1675c1(0x19e)],rn=(_0x5e0d2b,_0x1498e5,_0xed734c)=>_0x1498e5 in _0x5e0d2b?an(_0x5e0d2b,_0x1498e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xed734c}):_0x5e0d2b[_0x1498e5]=_0xed734c,U=(_0xdaa18,_0x3b2fcb,_0x26ac33)=>rn(_0xdaa18,typeof _0x3b2fcb!=_0x1675c1(0x1bf)?_0x3b2fcb+'':_0x3b2fcb,_0x26ac33);import{PivotCellStyleTypeEnum as _0x3f236f,PivotViewCellValueTypeEnum as _0x285a27,isPrefixValue as _0x5b47fa,isErrorValue as _0x4c370f,PivotErrorTypeEnum as _0x397cf3,PivotDateGroupFieldDateTypeEnum as _0x2d6c66,DataFieldManager as _0x327c99,FieldsCollection as _0x22be67,isDateValue as _0x35e63e,DataField as _0x21dd75,generateHexNumber as _0x248684,isBaseGroupField as _0x467bd5,PivotTable as _0x16e808,PivotSubtotalTypeEnum as _0xd80465,PivotTableFiledAreaEnum as _0x4cc34c,excelDateToUnixMilliseconds as _0x48a5f7,createValueField as _0x3d5287,createLabelField as _0x4d2cb7,PivotTableChangeTypeEnum as _0x267aa9,BaseGroupField as _0x1c07f9,PivotView as _0x14d91f,isDateGroupFieldJSON as _0x465631,PivotCallbackEnum as _0x3cb203,PivotFilterTypeEnum as _0xa63773,getAutoDisplayName as _0x1f98bb,PivotDataFieldDataTypeEnum as _0x4f8f52,PivotTableValuePositionEnum as _0x229120,isDateGroupField as _0x3b4148,DateGroupField as _0x6b76c2}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x34e162,ObjectMatrix as _0x1d8f59,IUniverInstanceService as _0x146954,UniverInstanceType as _0x34c5bf,CellValueType as _0x5ee6bb,numfmt as _0x519cb6,LocaleService as _0x7abaf8,createAsyncInterceptorKey as _0x29104c,createInterceptorKey as _0x3fb09e,CommandType as _0x3fc5c3,RANGE_TYPE as _0x3153b7,numberToABC as _0x553a8c,Inject as _0x2fd05e,Injector as _0x854c25,LifecycleService as _0x254ee5,IConfigService as _0xe8dcbb,ICommandService as _0x3408cd,IResourceManagerService as _0x1c560e,Disposable as _0x5334b7,Rectangle as _0x351caf,Tools as _0x14991f,AsyncInterceptorManager as _0x1e1483,InterceptorManager as _0x102fa2,InterceptorEffectEnum as _0x227340,CustomCommandExecutionError as _0x5146f5,IUndoRedoService as _0x5ea86a,sequenceExecute as _0x2e7d7d,mergeWorksheetSnapshotWithDefault as _0x9aa09a,generateRandomId as _0x4444c1,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x4d9604,DEFAULT_WORKSHEET_ROW_COUNT as _0x2abe75,DisposableCollection as _0x2baf83,Range as _0x3ae671,DependentOn as _0xbd176b,Optional as _0x23ca4f,Plugin as _0x34ad3a,merge as _0x15d8c5}from'@univerjs/core';import{ErrorType as _0x406170,serializeRangeWithSpreadsheet as _0x2b24e0,IFeatureCalculationManagerService as _0x486bfd,GlobalComputingStatusService as _0x2b17f8,IActiveDirtyManagerService as _0x315a9b}from'@univerjs/engine-formula';import{generateNullCell as _0x2f9bd8,SetRangeValuesUndoMutationFactory as _0x59cfd4,SetRangeValuesMutation as _0x3f552b,getSheetCommandTarget as _0x2075c9,InsertRowMutation as _0x324b38,RemoveRowMutation as _0x1bb17f,InsertColMutation as _0x2e534e,RemoveColMutation as _0x4f9e18,IExclusiveRangeService as _0x5dc596,SheetInterceptorService as _0x5ed9f4,INTERCEPTOR_POINT as _0xc1d871,InsertSheetCommand as _0x21737c,InsertSheetUndoMutationFactory as _0x316f56,RemoveSheetMutation as _0x539518,InsertSheetMutation as _0x227c31,MoveRangeMutation as _0x39fdc9,SheetsSelectionsService as _0x434854,ClearSelectionContentCommand as _0x66bb4e,ClearSelectionAllCommand as _0x267fed,SetWorksheetColWidthMutation as _0x532405,RefRangeService as _0x47dc83,SetWorksheetActiveOperation as _0x282476,MoveRangeCommand as _0x3fcf7e,RemoveSheetCommand as _0x52bec3}from'@univerjs/sheets';import{Subject as _0x265f85,BehaviorSubject as _0x3370f8}from'rxjs';import{LS_CONFIG_KEY as _0x59310c,unshiftString as _0x41d392,isFeatureAuthorizedWithinTime as _0x1d0a9e,getSheetFeatureLimit as _0x2196c0,ReleaseType as _0x316ecc,UniverLicensePlugin as _0x5aca44}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x4328ea,RemoveSheetsFilterMutation as _0x1158ed}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x1f987d}from'@univerjs/rpc';import{getFontStyleString as _0x2c4332,FontCache as _0x53eb93}from'@univerjs/engine-render';const Ao=Number[_0x1675c1(0x223)](0x683dcdb3),li=0x10,so=0x1,ao=_0x1675c1(0x298),It=0x1,ci='rgb(240,241,243)',di=_0x1675c1(0x1f4),wt=_0x1675c1(0x1df),ui=_0x1675c1(0x2ce),fi=_0x1675c1(0x2ce),gi='#eceeff',hi='#1d32e9',vi=_0x1675c1(0x1a5),pi=_0x1675c1(0xe3),mi=_0x1675c1(0x163),Ii='#FFFFFF',Ci=_0x1675c1(0x24a),bi=0xe,Si=0x6;var Wo=(_0x5e1f4d=>(_0x5e1f4d[_0x1675c1(0x23d)]='existing',_0x5e1f4d[_0x1675c1(0x11a)]=_0x1675c1(0x122),_0x5e1f4d))(Wo||{});const ko={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Pi=0x1e,Je={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ci},'bd':Je,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':Je,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':Je,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':Je,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':Je,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':hi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':Je,'vt':0x2}};function Ti(_0x73e960,_0x1e77d5,_0x58cf90){const _0x41c092=_0x1675c1,_0x5c911f=_0x73e960[_0x41c092(0x2e9)](_0x7abaf8),_0x3e159d=_0x58cf90[_0x41c092(0x27a)]('_');switch(_0x1e77d5){case _0x2d6c66[_0x41c092(0x1a4)]:return _0x5c911f['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x3e159d);case _0x2d6c66['Minute']:return _0x5c911f['t'](_0x41c092(0x227),..._0x3e159d);case _0x2d6c66[_0x41c092(0x1d4)]:return _0x5c911f['t'](_0x41c092(0x29e),..._0x3e159d);case _0x2d6c66[_0x41c092(0x148)]:return _0x5c911f['t'](_0x41c092(0x177),..._0x3e159d);case _0x2d6c66[_0x41c092(0x2c9)]:return _0x5c911f['t'](_0x41c092(0x21b),..._0x3e159d);case _0x2d6c66[_0x41c092(0xc8)]:return _0x5c911f['t'](_0x41c092(0x1ca),..._0x3e159d);case _0x2d6c66[_0x41c092(0x2c3)]:return _0x5c911f['t'](_0x41c092(0x242),..._0x3e159d);case _0x2d6c66['YearMonth']:return _0x5c911f['t'](_0x41c092(0x2f7),..._0x3e159d);case _0x2d6c66['YearMonthDate']:return _0x5c911f['t'](_0x41c092(0x304),..._0x3e159d);case _0x2d6c66['YearQuarter']:return _0x5c911f['t'](_0x41c092(0x253),..._0x3e159d);}return'';}const it=(_0x1f4699,_0x39ccdb,_0x511252,_0x34744d)=>{const _0x38e074=_0x1675c1;let _0x8e209c;const _0x78c114=_0x1f4699[_0x38e074(0x2e9)](_0x146954)[_0x38e074(0x20c)](_0x34c5bf['UNIVER_SHEET']);if(!_0x78c114)return null;const _0x45a014=_0x78c114[_0x38e074(0x23f)]();let _0xebd117;if(_0x511252&&(_0xebd117=_0x45a014[_0x38e074(0x2d0)](_0x511252)),_0x39ccdb!=null&&_0x39ccdb['v']||(_0x39ccdb==null?void 0x0:_0x39ccdb['v'])===0x0){_0x8e209c||(_0x8e209c={});const _0x53c34c=Lo(_0x39ccdb['v']);typeof _0x53c34c==_0x38e074(0x12f)?_0x8e209c['t']=_0x5ee6bb[_0x38e074(0x192)]:typeof _0x53c34c=='string'&&(_0x8e209c['t']=_0x5ee6bb[_0x38e074(0x310)]),_0x8e209c['v']=_0x53c34c;}if((_0x39ccdb!=null&&_0x39ccdb['i']||(_0x39ccdb==null?void 0x0:_0x39ccdb['i'])===0x0)&&(_0x8e209c||(_0x8e209c={}),_0x8e209c['fi']=_0x39ccdb['i']),_0x39ccdb!=null&&_0x39ccdb['s']&&(_0x8e209c||(_0x8e209c={}),_0x8e209c[_0x38e074(0x118)]=_0x39ccdb['s']),_0x511252&&(_0x8e209c||(_0x8e209c={}),_0x8e209c['s']=_0xebd117),_0x34744d&&_0x8e209c!=null&&_0x8e209c['v']&&_0x8e209c[_0x38e074(0x118)]!==_0x3f236f[_0x38e074(0xdc)]&&_0x8e209c['pbt']!==_0x3f236f[_0x38e074(0x290)]){const _0x399ea0=String(_0x8e209c['v']),{dateType:_0xac8759}=_0x34744d;_0x8e209c['v']=Ti(_0x1f4699,_0xac8759,_0x399ea0),_0x8e209c['t']=_0x5ee6bb[_0x38e074(0x310)];}return _0x8e209c;},Mi=(_0x4f86c6,_0x4f0662,_0x27e201,_0x40b9e2)=>{const _0x581ffd=_0x1675c1;var _0x49e36e,_0x2a8ec8,_0x4b08cd,_0x3faa09,_0xf59b81,_0x3b596a,_0x3cd815,_0x570ead,_0x3833ca,_0x8f591b,_0x249b0a,_0x52f613,_0x2a8edf,_0x2167b4;const _0x2e13d3=_0x27e201[_0x581ffd(0xb1)],{cornerView:_0x34747c,rowView:_0x4a29e4,colView:_0x25ea38,dataView:_0x58e393,pageView:_0x10769f,formatMap:_0x46b803,groupInfo:_0x4c8c86}=_0x4f0662,{row:_0x43e08c,col:_0x413276}=_0x2e13d3,_0x239dbf=new _0x1d8f59(),_0x3a3d2c={},_0x543220={},_0x185522={},_0x95cebc={},_0x3a9ff7={};let _0x506864=_0x43e08c,_0x5047c4=_0x413276;Object[_0x581ffd(0x121)](_0x10769f[_0x581ffd(0x235)])['forEach'](_0x33bf27=>{const _0x52fd9d=_0x581ffd;Object[_0x52fd9d(0x121)](_0x10769f[_0x52fd9d(0x235)][Number(_0x33bf27)])['forEach'](_0x2f65fd=>{const _0x21c443=_0x52fd9d,_0x214779={..._0x10769f[_0x21c443(0x235)][Number(_0x33bf27)][Number(_0x2f65fd)]};_0x239dbf[_0x21c443(0x2d0)](Number(_0x33bf27)+_0x506864,Number(_0x2f65fd)+_0x5047c4,it(_0x4f86c6,_0x214779,fe[_0x21c443(0x217)]));});});const _0x40abeb=Object[_0x581ffd(0x121)](_0x10769f[_0x581ffd(0x235)])[_0x581ffd(0xff)];_0x506864+=_0x40abeb+(_0x40abeb?It:0x0);const _0x8b9f7e=_0x34747c[_0x581ffd(0x113)](),_0x42a6ef=_0x34747c[_0x581ffd(0x1f6)]();for(let _0x27133b=0x0;_0x27133b<_0x8b9f7e;_0x27133b++)for(let _0x23aade=0x0;_0x23aade<_0x42a6ef;_0x23aade++){const _0x4b9354={...(_0x2a8ec8=(_0x49e36e=_0x34747c[_0x581ffd(0x235)])==null?void 0x0:_0x49e36e[_0x27133b])==null?void 0x0:_0x2a8ec8[_0x23aade]};_0x4b9354&&((_0x4b08cd=_0x4a29e4[_0x581ffd(0x1e8)][_0x23aade])!=null&&_0x4b08cd[_0x581ffd(0x2cf)])&&_0x23aade===_0x42a6ef-0x1&&_0x27133b===_0x8b9f7e-0x1&&(_0x4b9354['v']=''+_0x40b9e2[_0x581ffd(0x30c)]),_0x239dbf['setValue'](_0x27133b+_0x506864,_0x23aade+_0x5047c4,it(_0x4f86c6,_0x4b9354,fe['cornerStyle']));}for(let _0x505874=0x0;_0x505874<_0x34747c[_0x581ffd(0x30f)][_0x581ffd(0xff)];_0x505874++)_0x34747c['info'][_0x505874]&&(_0x185522[''+(_0x505874+_0x5047c4)]=_0x34747c[_0x581ffd(0x30f)][_0x505874]);_0x5047c4+=_0x42a6ef;const _0x3873bd=_0x25ea38[_0x581ffd(0x1e8)],_0x49fa8e=_0x25ea38['getLastRow']()>=0x0?_0x25ea38['getLastRow']()+0x1:0x0,_0x468595=_0x25ea38[_0x581ffd(0x2d8)]()>=0x0?_0x25ea38[_0x581ffd(0x2d8)]()+0x1:0x0;for(let _0x29abb=0x0;_0x29abb<_0x468595;_0x29abb++){for(let _0x2587db=0x0;_0x2587db<_0x49fa8e;_0x2587db++){const _0x1cb173={...(_0xf59b81=(_0x3faa09=_0x25ea38['data'])==null?void 0x0:_0x3faa09[_0x2587db])==null?void 0x0:_0xf59b81[_0x29abb]},_0x27347e=(_0x3b596a=_0x3873bd[_0x2587db])==null?void 0x0:_0x3b596a['tableFieldId'],_0x481009=_0x46b803[_0x27347e],_0x5239a8=_0x4c8c86[_0x27347e];_0x1cb173&&(_0x1cb173['v']=vt(_0x1cb173,_0x2587db===0x0&&((_0x3cd815=_0x25ea38[_0x581ffd(0x272)](_0x29abb+0x1))==null?void 0x0:_0x3cd815['isValue']),_0x481009,_0x40b9e2));let _0x9c3f6c;_0x481009?_0x9c3f6c={...fe[_0x581ffd(0x2e8)],'n':{'pattern':_0x481009}}:_0x9c3f6c={...fe[_0x581ffd(0x2e8)]},_0x239dbf[_0x581ffd(0x2d0)](_0x2587db+_0x506864,_0x29abb+_0x5047c4,it(_0x4f86c6,_0x1cb173,_0x9c3f6c,_0x5239a8));}_0x25ea38[_0x581ffd(0x30f)][_0x29abb]&&(_0x543220[''+(_0x29abb+_0x5047c4)]=_0x25ea38['info'][_0x29abb]),_0x25ea38['headerMap'][_0x29abb+0x1]&&(_0x3a9ff7[''+(_0x29abb+_0x506864+0x1)]=_0x25ea38['headerMap'][_0x29abb+0x1]);}_0x506864+=_0x8b9f7e;const _0x93d7ed=_0x4a29e4['headerMap'],_0x199bbb=_0x4a29e4['getLastRow']()>=0x0?_0x4a29e4[_0x581ffd(0x2b1)]()+0x1:0x0,_0x183d00=_0x4a29e4[_0x581ffd(0x2d8)]()>=0x0?_0x4a29e4['getLastCol']()+0x1:0x0;for(let _0x4054c2=0x0;_0x4054c2<_0x199bbb;_0x4054c2++){for(let _0x572e93=0x0;_0x572e93<_0x183d00;_0x572e93++){const _0x495b2e={...(_0x3833ca=(_0x570ead=_0x4a29e4[_0x581ffd(0x235)])==null?void 0x0:_0x570ead[_0x4054c2])==null?void 0x0:_0x3833ca[_0x572e93]},_0x12d361=(_0x8f591b=_0x93d7ed[_0x572e93])==null?void 0x0:_0x8f591b[_0x581ffd(0x1e6)],_0x4c1775=_0x46b803[_0x12d361],_0x35a6bb=_0x4c8c86[_0x12d361];_0x495b2e&&(_0x495b2e['v']=vt(_0x495b2e,!0x1,_0x4c1775,_0x40b9e2));let _0xb714a8;_0x4a29e4[_0x581ffd(0x30f)][_0x4054c2][_0x581ffd(0x2bf)]===_0x4a29e4[_0x581ffd(0x1f6)]()?_0xb714a8=fe[_0x581ffd(0x2f6)]:_0x4a29e4['info'][_0x4054c2][_0x581ffd(0x30b)]?_0xb714a8=_0x4a29e4['info'][_0x4054c2]['level']===0x0?fe[_0x581ffd(0x286)]:fe[_0x581ffd(0x123)]:_0xb714a8=fe[_0x581ffd(0x12e)],_0x4c1775&&(_0xb714a8={..._0xb714a8,'n':{'pattern':_0x4c1775}}),_0x239dbf[_0x581ffd(0x2d0)](_0x4054c2+_0x506864,_0x572e93+_0x413276,it(_0x4f86c6,_0x495b2e,_0xb714a8,_0x35a6bb));}_0x4a29e4[_0x581ffd(0x30f)][_0x4054c2]&&(_0x3a3d2c[''+(_0x4054c2+_0x506864)]=_0x4a29e4[_0x581ffd(0x30f)][_0x4054c2]),_0x4a29e4[_0x581ffd(0x1e8)][_0x4054c2]&&(_0x95cebc[''+(_0x4054c2+_0x413276)]=_0x4a29e4['headerMap'][_0x4054c2]);}const _0xa04a96=_0x58e393['getRowCount'](),_0x574645=_0x58e393[_0x581ffd(0x1f6)]();for(let _0x9bbf20=0x0;_0x9bbf20<_0xa04a96;_0x9bbf20++)for(let _0x4173aa=0x0;_0x4173aa<_0x574645;_0x4173aa++){const _0x219a8e={...(_0x52f613=(_0x249b0a=_0x58e393[_0x581ffd(0x235)])==null?void 0x0:_0x249b0a[_0x9bbf20])==null?void 0x0:_0x52f613[_0x4173aa]};let _0x1f3179;_0x4a29e4[_0x581ffd(0x30f)][_0x9bbf20][_0x581ffd(0x30b)]?_0x1f3179=_0x4a29e4[_0x581ffd(0x30f)][_0x9bbf20][_0x581ffd(0x2bf)]===0x0?fe[_0x581ffd(0x286)]:fe[_0x581ffd(0x123)]:_0x1f3179=fe[_0x581ffd(0x247)];const _0x4ae98a=_0x4a29e4[_0x581ffd(0x30f)][_0x9bbf20][_0x581ffd(0x2b4)],_0x52b989=_0x25ea38[_0x581ffd(0x30f)][_0x4173aa][_0x581ffd(0x2b4)],_0x2e0d2e=Math[_0x581ffd(0x224)](_0x4ae98a,_0x52b989),_0x290407=_0x27e201[_0x581ffd(0x2bd)][_0x581ffd(0x204)][_0x581ffd(0x164)]();let _0x1aceb0='';_0x2e0d2e<0x0?_0x1aceb0=(_0x2a8edf=_0x290407[0x0])!=null?_0x2a8edf:'':_0x1aceb0=(_0x2167b4=_0x290407[_0x2e0d2e])!=null?_0x2167b4:'';const _0x3ad41a=_0x46b803[_0x1aceb0];_0x3ad41a&&(_0x1f3179={..._0x1f3179,'n':{'pattern':_0x3ad41a}}),_0x239dbf[_0x581ffd(0x2d0)](_0x9bbf20+_0x506864,_0x4173aa+_0x5047c4,it(_0x4f86c6,_0x219a8e,_0x1f3179));}return{'valueMatrix':_0x239dbf,'rowInfo':_0x3a3d2c,'colInfo':_0x543220,'cornerInfo':_0x185522,'rowHeaderMap':_0x95cebc,'colHeaderMap':_0x3a9ff7};};function vt(_0xc9f0a3,_0x240176,_0x22f2a1,_0x53f18f){const _0xfe6f7e=_0x1675c1;let _0x2083c3=_0xc9f0a3['v'];_0x240176&&(_0x2083c3=''+_0x53f18f[_0xfe6f7e(0x30c)]);const _0x189eeb=_0xc9f0a3['t']&&(_0xc9f0a3['t']&_0x285a27[_0xfe6f7e(0x126)])>0x0;if(_0x189eeb&&(_0x2083c3=''+_0x53f18f['sheets-pivot.blank']),_0xc9f0a3['s']===_0x3f236f['Subtotal']){let _0x5f06de=_0x2083c3,_0x5f2123='';_0x5b47fa(_0x2083c3)&&(_0x5f06de=_0x2083c3[_0xfe6f7e(0x13c)],_0x5f2123=_0x2083c3[_0xfe6f7e(0x2cd)]);const _0x5d9a81=_0x22f2a1&&!_0x189eeb?_0x519cb6['format'](_0x22f2a1,Number(_0x5f06de)):_0x5f06de;_0x5f2123?_0x2083c3=_0x5d9a81+'\x20'+_0x5f2123:_0x2083c3=_0x5d9a81+'\x20'+_0x53f18f[_0xfe6f7e(0x2be)];}else _0xc9f0a3['s']===_0x3f236f[_0xfe6f7e(0xdc)]&&(_0x2083c3=_0x2083c3+'\x20'+_0x53f18f[_0xfe6f7e(0x1fb)]);return _0x2083c3;}function Lo(_0x48d612){const _0x5deb34=_0x1675c1;if(_0x4c370f(_0x48d612)){const {errorType:_0x238eed}=_0x48d612;switch(_0x238eed){case _0x397cf3['Div0']:return _0x406170['DIV_BY_ZERO'];case _0x397cf3[_0x5deb34(0x1a8)]:return _0x406170[_0x5deb34(0x146)];case _0x397cf3[_0x5deb34(0x225)]:return _0x406170[_0x5deb34(0x236)];case _0x397cf3[_0x5deb34(0x218)]:return _0x406170[_0x5deb34(0x236)];case _0x397cf3[_0x5deb34(0x193)]:return _0x406170[_0x5deb34(0x1cd)];}}return _0x48d612;}function ge(_0xcf9693,_0xc31aab,_0x1cee96=!0x1,_0x16fd65=!0x1){const _0x2fffe4=_0x1675c1,{data:_0x23716d}=_0xc31aab,_0x490b6a=_0xc31aab[_0x2fffe4(0x113)](),_0x228609=_0xc31aab['getColCount']();if(_0x490b6a<=0x0||_0x228609<=0x0)return[];const _0x413b11=_0xc31aab[_0x2fffe4(0x2d8)](),_0x55aa52=_0xc31aab[_0x2fffe4(0x2b1)](),_0x5c27d4=_0x16fd65?_0x55aa52>=0x0?_0x55aa52+0x1:0x0:_0x490b6a,_0x40fa98=_0x16fd65?_0x413b11>=0x0?_0x413b11+0x1:0x0:_0x228609,{row:_0x7bdb8a,col:_0x471870}=_0xcf9693,_0x26f753=_0x7bdb8a,_0xac090b=_0x471870;if(_0x1cee96){const _0x35aaf8=[];for(const [_0x20cff6,_0x5e5ee4]of Object[_0x2fffe4(0xa8)](_0x23716d))for(const [_0x10368a,_0x2eb9fb]of Object[_0x2fffe4(0xa8)](_0x5e5ee4))_0x35aaf8[_0x2fffe4(0x1a3)](_0x34e162(_0x26f753+Number(_0x20cff6),_0xac090b+Number(_0x10368a)));return _0x35aaf8;}else{const _0x46524d=_0x16fd65?_0x5c27d4>0x0?0x1:0x0:0x1,_0x5499cf=_0x16fd65?_0x40fa98>0x0?0x1:0x0:0x1,_0x244d44=_0x7bdb8a+_0x5c27d4-_0x46524d,_0x3976dd=_0x471870+_0x40fa98-_0x5499cf;return[{'startRow':_0x26f753,'startColumn':_0xac090b,'endRow':_0x244d44,'endColumn':_0x3976dd}];}}const H='SHEET_PIVOT_IN_MAIN_THREAD',Wt='SHEET_PIVOT_EXCLUSIVE_ID';var A=(_0x3518b9=>(_0x3518b9['Filter']=_0x1675c1(0x29a),_0x3518b9['Panel']=_0x1675c1(0x173),_0x3518b9[_0x1675c1(0x13e)]=_0x1675c1(0x2ec),_0x3518b9[_0x1675c1(0x208)]=_0x1675c1(0x208),_0x3518b9[_0x1675c1(0x21d)]='addPivotTable',_0x3518b9[_0x1675c1(0x1c9)]=_0x1675c1(0x2b0),_0x3518b9[_0x1675c1(0x301)]=_0x1675c1(0x10f),_0x3518b9[_0x1675c1(0x319)]=_0x1675c1(0x321),_0x3518b9['SetPivotFilter']=_0x1675c1(0xe6),_0x3518b9[_0x1675c1(0x184)]=_0x1675c1(0x1bb),_0x3518b9[_0x1675c1(0xd8)]='setPivotSetting',_0x3518b9[_0x1675c1(0x10a)]='updatePivotSource',_0x3518b9['UpdateValuePosition']=_0x1675c1(0x2dc),_0x3518b9[_0x1675c1(0x12d)]='drillDown',_0x3518b9[_0x1675c1(0xc3)]=_0x1675c1(0x2d7),_0x3518b9[_0x1675c1(0xef)]=_0x1675c1(0x176),_0x3518b9[_0x1675c1(0x306)]=_0x1675c1(0x1e7),_0x3518b9))(A||{});const yi={'sheets-pivot.blankValue':_0x1675c1(0x22c),'sheets-pivot.columnName':_0x1675c1(0x2fa),'sheets-pivot.subTotalText':_0x1675c1(0x1b9),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x1675c1(0x9c),'sheets-pivot.averageName':_0x1675c1(0xfe),'sheets-pivot.countName':_0x1675c1(0x197),'sheets-pivot.countNumsName':_0x1675c1(0x197),'sheets-pivot.maxName':_0x1675c1(0xab),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':_0x1675c1(0xda),'sheets-pivot.stdDevName':_0x1675c1(0x1ff),'sheets-pivot.stdDevpName':_0x1675c1(0xbd),'sheets-pivot.sumName':_0x1675c1(0x315),'sheets-pivot.varName':_0x1675c1(0x200),'sheets-pivot.varpName':_0x1675c1(0x284),'sheets-pivot.subTotal':_0x1675c1(0x290),'sheets-pivot.grandTotal':_0x1675c1(0xc5),'sheets-pivot.value':_0x1675c1(0x2cd),'sheets-pivot.blank':_0x1675c1(0x126),'sheets-pivot.emptyPivot.filter':_0x1675c1(0x1aa),'sheets-pivot.emptyPivot.row':_0x1675c1(0x1e1),'sheets-pivot.emptyPivot.column':_0x1675c1(0x258),'sheets-pivot.emptyPivot.values':'Values'},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x29104c(_0x1675c1(0x2f3)),Go=_0x3fb09e(_0x1675c1(0x1b8));var ke=(_0x709242=>(_0x709242['add']=_0x1675c1(0x1a7),_0x709242['delete']=_0x1675c1(0x30d),_0x709242[_0x1675c1(0x160)]=_0x1675c1(0x160),_0x709242))(ke||{}),L=(_0x4db197=>(_0x4db197[_0x1675c1(0xa6)]=_0x1675c1(0x1a7),_0x4db197[_0x1675c1(0x2e2)]='set',_0x4db197[_0x1675c1(0x211)]='delete',_0x4db197))(L||{});const $o={0x0:'B',0x1:'m',0x2:'G',0x3:'F',0x4:'1',0x5:'I',0x6:'8',0x7:'c',0x8:'Y',0x9:'i','k':'0','X':'2','S':'3','M':'4','C':'5','o':'6','T':'7','i':'9','E':'a','q':'b','G':'d','D':'e','K':'f','U':'g','v':'h','x':'j','g':'k','w':'l','p':'n','B':'o','s':'p','N':'q','z':'r','W':'s','h':'t','l':'u','R':'v','u':'w','I':'x','O':'y','a':'z','L':'A','j':'C','b':'D','y':'E','Y':'H','t':'J','f':'K','c':'L','r':'M','m':'N','e':'O','d':'P','V':'Q','F':'R','H':'S','P':'T','Z':'U','J':'V','n':'W','Q':'X','A':'Z'},zo='Klp7h9Bp\x20GD7zOsh9Bp(w97DpWD,\x20slqw97fDO)\x20{\x20\x20\x20\x20hzO\x20{\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20w97DpWD5pKBdEzhLzzEO\x20=\x20w97DpWD.Wsw9h(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20Bz9U9prDWWEUD\x20=\x20tHem.sEzWD(EhBq(w97DpWD5pKBdEzhLzzEO[X]));\x20\x20\x20\x20\x20\x20\x20\x209K\x20(!Bz9U9prDWWEUD.lG)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bz9U9prDWWEUD.lG\x20=\x20ml1qDz(w97DpWD5pKBdEzhLzzEO[M]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x209WnBzgDz\x20=\x20hOsDBK\x20nBzgDz2wBqEwH7BsD\x20!==\x20\x27lpGDK9pDG\x27\x20&&\x20WDwK\x209pWhEp7DBK\x20nBzgDz2wBqEwH7BsD;\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x207BphDIh\x20=\x209WnBzgDz\x20?\x20WDwK\x20:\x20u9pGBu;\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x201DWWEUDnBzG\x20=\x207BphDIh.__0EWDoM__.sEzWD(w97DpWD5pKBdEzhLzzEO[X]);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x201DWWEUD\x20=\x207BphDIh.__YDI__.Whz9pU9KO(1DWWEUDnBzG);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20W9UpEhlzDnBzG\x20=\x207BphDIh.__0EWDoM__.sEzWD(w97DpWD5pKBdEzhLzzEO[S]);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20W9UpEhlzD\x20=\x207BphDIh.__YDI__.Whz9pU9KO(W9UpEhlzDnBzG);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20W9UpJEw9G\x20=\x207BphDIh.__RDz9KO__(W9UpEhlzD,\x201DWWEUD,\x20slqw97fDO);\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20GB1E9p\x20=\x20Bz9U9prDWWEUD.G1;\x20\x20\x20\x20\x20\x20\x20\x20Klp7h9Bp\x209WbB1E9prEh7v9pU(BdEhhDzp,\x20BYBWh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20sEhhDzp\x20=\x20BdEhhDzp.zDswE7D(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20vBWh\x20=\x20BYBWh.zDswE7D(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20sEhhDzpdEzhW\x20=\x20sEhhDzp.Wsw9h(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20vBWhdEzhW\x20=\x20vBWh.Wsw9h(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209K\x20(!sEhhDzp.9p7wlGDW(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20sEhhDzp\x20===\x20vBWh;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209K\x20(sEhhDzpdEzhW.wDpUhv\x20<\x20X\x20||\x20sEhhDzpdEzhW[k]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20KEwWD;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20sEhhDzpHlKK9I\x20=\x20sEhhDzpdEzhW.Ww97D(4).xB9p(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20vBWhHlKK9I\x20=\x20vBWhdEzhW.Ww97D(-sEhhDzpdEzhW.wDpUhv\x20+\x204).xB9p(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20sEhhDzpHlKK9I\x20===\x20vBWhHlKK9I;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20wDh\x20GB1E9pJEw9G\x20=\x20(GB1E9p\x20&&\x20GB1E9p.wDpUhv)\x20?\x20GB1E9p.WB1D((G15hD1)\x20=>\x209WbB1E9prEh7v9pU(G15hD1,\x20wB7Eh9Bp.vBWhpE1D))\x20:\x20hzlD;\x20\x20\x20\x20\x20\x20\x20\x209K\x20(wB7Eh9Bp.vBWhpE1D\x20===\x20\x27wB7EwvBWh\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GB1E9pJEw9G\x20=\x20hzlD;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x207BpWh\x20REw9G\x20=\x20W9UpJEw9G\x20&&\x20GB1E9pJEw9G;\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REw9G,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201DWWEUD:\x20Bz9U9prDWWEUD,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x207Eh7v\x20(DzzBz)\x20{\x20\x20\x20\x20\x20\x20\x20\x20zDhlzp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20REw9G:\x20KEwWD,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201DWWEUD:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',ro={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x2e6),'handler':()=>!0x0},lo={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},Rt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x245),'handler':()=>!0x0},co={'type':_0x3fc5c3['MUTATION'],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},uo={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x2e7),'handler':()=>!0x0},wi=_0x43c8cd=>{const _0xd880e2=_0x1675c1;var _0xb7f7f2;return((_0xb7f7f2=_0x43c8cd[_0xd880e2(0x195)])==null?void 0x0:_0xb7f7f2['dataStream']['replace'](/\r\n$/,''))||'';};class _i extends _0x327c99{constructor(_0x7ce89,_0x459b08){const _0x290492=_0x1675c1;super(),U(this,'rangeKeyMap',{}),U(this,_0x290492(0x27f)),U(this,_0x290492(0x182)),(this['_univerInstanceService']=_0x459b08,this[_0x290492(0x182)]=_0x7ce89);}[_0x1675c1(0x116)](){const _0x15bb37=_0x1675c1;for(const _0x2f180b in this[_0x15bb37(0x1f2)]){const _0x2fa7b2=this[_0x15bb37(0x1f2)][_0x2f180b],_0x105dd0=_0x2fa7b2['getRangeKey']();this[_0x15bb37(0x11e)][_0x105dd0]=_0x2fa7b2[_0x15bb37(0xf5)]();}}[_0x1675c1(0x318)](){const _0x53b824=_0x1675c1,_0x348bda=this[_0x53b824(0x182)];return Vi[_0x53b824(0x1ef)](_0x348bda);}[_0x1675c1(0x137)](_0x178ad6){const _0x3de1f9=_0x1675c1,_0x457f40=this['dataFields'][_0x178ad6]['rangeKey'];delete this[_0x3de1f9(0x1f2)][_0x178ad6],delete this[_0x3de1f9(0x11e)][_0x457f40];}[_0x1675c1(0x282)](_0x24347d){const _0x16d72b=_0x1675c1;this[_0x16d72b(0x1f2)][_0x24347d[_0x16d72b(0xf5)]()]=_0x24347d;}[_0x1675c1(0x1a1)](_0x24053b){const _0x56883f=_0x1675c1;var _0x2f0952,_0x1cd25e;const _0x594e3f=this[_0x56883f(0x182)][_0x56883f(0x209)](_0x24053b);if(_0x594e3f){const {unitId:_0x2d5233,subUnitId:_0x393759}=_0x594e3f,_0x3d5550=(_0x2f0952=this[_0x56883f(0x182)][_0x56883f(0x14e)](_0x2d5233,_0x393759,_0x24053b))==null?void 0x0:_0x2f0952[_0x56883f(0xdb)];this[_0x56883f(0x182)][_0x56883f(0x1e0)]({'token':_0x24053b,'type':ke[_0x56883f(0x30d)],'dataRangeInfo':_0x3d5550});}(_0x1cd25e=this['getCollection'](_0x24053b))==null||_0x1cd25e[_0x56883f(0x239)](),delete this[_0x56883f(0x234)][_0x24053b];}[_0x1675c1(0x257)](_0x4bf6cf,_0x3341be){const {sheetName:_0x20f18b,unitId:_0x5b5386,range:_0x3e6baf}=_0x4bf6cf,{startRow:_0x79732c,endRow:_0x176af3}=_0x3e6baf;return _0x2b24e0(_0x5b5386,_0x20f18b,{'startRow':_0x79732c,'endRow':_0x176af3,'startColumn':_0x3341be,'endColumn':_0x3341be});}[_0x1675c1(0x1bc)](_0x2411db){return this['dataFields'][this['rangeKeyMap'][_0x2411db]];}['setRangeKeyMap'](_0x341b99,_0x12c292){this['rangeKeyMap'][_0x341b99]=_0x12c292;}[_0x1675c1(0x9b)](_0x4316df,_0x1ba2b0){const _0x30e9d9=_0x1675c1;this['rangeKeyMap'][_0x1ba2b0]=this[_0x30e9d9(0x11e)][_0x4316df],delete this['rangeKeyMap'][_0x4316df];}[_0x1675c1(0x105)](_0x3ba8d6,_0x2c76af,_0x213488,_0xb86706){const _0x2ef808=_0x1675c1,_0x4e9a6f=new _0x22be67(this);_0x4e9a6f[_0x2ef808(0x31f)](_0x2c76af);const _0x42f37b=[];let _0x151479=0x0;for(const _0x513304 of _0x4e9a6f[_0x2ef808(0x1e3)]){const _0x360624=this[_0x2ef808(0x257)](_0x213488,_0x151479),_0x1781e8=this[_0x2ef808(0x1f2)][_0x513304];_0x1781e8&&(_0x1781e8['rangeKey']=_0x360624,this['setRangeKeyMap'](_0x360624,_0x513304),_0x42f37b[_0x2ef808(0x1a3)]({'index':_0x151479,'dataField':_0x1781e8})),_0x151479++;}return this[_0x2ef808(0x100)](_0x3ba8d6,_0x4e9a6f,_0x213488,_0xb86706),{'collection':_0x4e9a6f,'updateDataFieldList':_0x42f37b};}[_0x1675c1(0x259)](_0x3c21f2,_0x3d74db){const _0x1f51eb=_0x1675c1;return _0x3c21f2[_0x1f51eb(0x293)]===_0x3153b7['COLUMN']?{'startRow':0x0,'startColumn':_0x3c21f2['startColumn'],'endRow':_0x3d74db[_0x1f51eb(0x113)]()-0x1,'endColumn':_0x3c21f2['endColumn']}:{'startRow':_0x3c21f2['startRow'],'startColumn':_0x3c21f2[_0x1f51eb(0x16d)],'endRow':_0x3c21f2[_0x1f51eb(0x138)],'endColumn':_0x3c21f2['endColumn']};}[_0x1675c1(0x1c0)](_0x23bec8){const _0x3cdc6d=_0x1675c1,{sheetName:_0x3e85e0,range:_0x3655d0}=_0x23bec8,_0x353dc2=this[_0x3cdc6d(0x27f)]['getCurrentUnitForType'](_0x34c5bf[_0x3cdc6d(0x1f3)]),_0x29abe8=_0x353dc2[_0x3cdc6d(0x1f8)](_0x3e85e0),_0x4f2739=_0x29abe8[_0x3cdc6d(0x13f)](),{startColumn:_0x59c299,startRow:_0x1f0879,endColumn:_0x227c4e}=this[_0x3cdc6d(0x259)](_0x3655d0,_0x29abe8),_0x36da2c=_0x353dc2['getStyles'](),_0x3f353f=new _0x22be67(this);_0x3f353f[_0x3cdc6d(0x2c8)](_0x23bec8);const _0x35f978=[],_0xb8eef0={};for(let _0x1eb2eb=_0x59c299;_0x1eb2eb<=_0x227c4e;_0x1eb2eb++){const _0x4a7b1b=_0x4f2739['getValue'](_0x1f0879,_0x1eb2eb),_0x4478cb=this[_0x3cdc6d(0x257)](_0x23bec8,_0x1eb2eb),_0x12d0ee=this[_0x3cdc6d(0x1bc)](_0x4478cb);if(_0x12d0ee)_0x3f353f[_0x3cdc6d(0x273)](_0x12d0ee[_0x3cdc6d(0xf5)](),_0x12d0ee[_0x3cdc6d(0xce)]());else{const _0x1af9d0=this[_0x3cdc6d(0x18c)]();let _0x2d7bef=this['adjustSheetCellData'](_0x4a7b1b,_0x36da2c,_0xb8eef0);_0x35e63e(_0x2d7bef)&&(_0x2d7bef=_0x519cb6['format'](_0x2d7bef['f'],Number(_0x2d7bef['v'])));const _0x346d94=this['uniqueDataFieldName'](_0x2d7bef,_0x1eb2eb),_0x1c06f6=new _0x21dd75(_0x1af9d0,_0x346d94,_0x248684(0x3));_0x1c06f6[_0x3cdc6d(0xb7)]=_0x4478cb,this[_0x3cdc6d(0x1f2)][_0x1af9d0]=_0x1c06f6,_0x3f353f['addField'](_0x1af9d0,_0x346d94),_0x35f978[_0x3cdc6d(0x1a3)]({'index':_0x1eb2eb,'dataField':_0x1c06f6});}}return{'updateDataFieldList':_0x35f978,'collection':_0x3f353f};}[_0x1675c1(0x2f8)](_0x4fda28){const _0x4fc901=_0x1675c1;return this['_host'][_0x4fc901(0x165)]()[_0x4fc901(0x2e5)]+'\x20'+_0x553a8c(_0x4fda28);}[_0x1675c1(0xc9)](_0x3c524a,_0x39796e){return _0x3c524a==null||_0x3c524a===''?this['_getAutoName'](_0x39796e):String(_0x3c524a);}[_0x1675c1(0x28b)](_0x39a8f9){const _0x2909ba=_0x1675c1;return this[_0x2909ba(0x234)][_0x39a8f9];}[_0x1675c1(0x100)](_0x4eb141,_0xe1423a,_0x2fab90,_0x1858d7){const _0x5a285b=_0x1675c1;this[_0x5a285b(0x234)][_0x4eb141]=_0xe1423a,_0xe1423a[_0x5a285b(0x2c8)](_0x2fab90),this[_0x5a285b(0x182)][_0x5a285b(0x1e0)]({'token':_0x4eb141,'type':ke[_0x5a285b(0x1a7)],'dataRangeInfo':_0x2fab90,'targetCellInfo':_0x1858d7});}['handleMoveRange'](_0x24b951,_0x4d0b83){const _0x2107fa=_0x1675c1,_0x288694=this['getCollection'](_0x24b951),_0x2d3055=_0x288694['getFieldIds']();let _0x418aea=0x0;for(const _0x116f21 of _0x2d3055){const _0x22ca3c=_0x288694['getFieldById'](_0x116f21),_0x4c334f=this['getRangeKey'](_0x4d0b83,_0x418aea);this[_0x2107fa(0x9b)](_0x22ca3c['rangeKey'],_0x4c334f),_0x418aea++;}}[_0x1675c1(0x296)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x8421f5,_0x1d45a4){const _0x159eb8=_0x1675c1;if(this['getCollection'](_0x8421f5)){const _0x18c2fe=this[_0x159eb8(0x12b)](_0x1d45a4),_0x41d386=[];for(const _0x1b173c of _0x18c2fe)this[_0x159eb8(0x11e)][_0x1b173c]!==void 0x0&&_0x41d386[_0x159eb8(0x1a3)](this[_0x159eb8(0x11e)][_0x1b173c]);const _0x5b8f45=this['getNoUsedDataFieldIds'](_0x8421f5),_0x498079=[],_0x265ef5=new Set(_0x41d386);for(const _0x506a9e of _0x5b8f45)_0x265ef5[_0x159eb8(0x1b4)](_0x506a9e)||_0x498079[_0x159eb8(0x1a3)](_0x506a9e);return _0x498079;}}['getMatrixValue'](_0x1f215b,_0x348f6a,_0x3a84dc,_0x17bbed,_0x45a0c0){const _0x28581d=_0x1675c1;return _0x348f6a&&_0x348f6a[_0x28581d(0x22e)](_0x17bbed,_0x45a0c0)?_0x348f6a['getValue'](_0x17bbed,_0x45a0c0):_0x3a84dc&&_0x3a84dc[_0x28581d(0x22e)](_0x17bbed,_0x45a0c0)?_0x3a84dc[_0x28581d(0x22e)](_0x17bbed,_0x45a0c0):_0x1f215b[_0x28581d(0x22e)](_0x17bbed,_0x45a0c0);}[_0x1675c1(0x20e)](_0x52b3d0,_0x2970d9,_0xae2b8a,_0x490fd7){const _0x13159e=_0x1675c1,_0x28000c=this[_0x13159e(0x1f2)][_0x52b3d0];if(!_0x28000c)return;const {subUnitId:_0xec2a64,range:_0x3962cf,unitId:_0x136adc}=_0x2970d9,_0x47f7fb=this[_0x13159e(0x27f)][_0x13159e(0x2aa)](_0x136adc);if(!_0x47f7fb){console[_0x13159e(0x108)](_0x13159e(0x1c2));return;}const _0x48cc14=_0x47f7fb[_0x13159e(0x2c0)](_0xec2a64),_0x3b8fda=_0x48cc14['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x405e21,unitDataMatrix:_0x3c19e0}=_0x490fd7||{},{startRow:_0x58dc26,startColumn:_0x327320,endRow:_0x464372}=this[_0x13159e(0x259)](_0x3962cf,_0x48cc14);_0x28000c['reset']();const _0xbc1d32=_0x47f7fb[_0x13159e(0x23f)](),_0x527b70={},_0x1255f3=this[_0x13159e(0x111)](_0x3b8fda,_0x405e21,_0x3c19e0,_0x58dc26,_0x327320+_0xae2b8a);let _0x14db72=this['adjustSheetCellData'](_0x1255f3,_0xbc1d32,_0x527b70);_0x35e63e(_0x14db72)&&(_0x14db72=_0x519cb6['format'](_0x14db72['f'],Number(_0x14db72['v'])));const _0x3ce503=this[_0x13159e(0xc9)](_0x14db72,_0x327320+_0xae2b8a);_0x28000c[_0x13159e(0xf1)](_0x3ce503);for(let _0x36e925=_0x58dc26+0x1;_0x36e925<=_0x464372;_0x36e925++){const _0x4741a8=this[_0x13159e(0x111)](_0x3b8fda,_0x405e21,_0x3c19e0,_0x36e925,_0x327320+_0xae2b8a);_0x28000c['addRecord'](this[_0x13159e(0xbe)](_0x4741a8,_0xbc1d32,_0x527b70),_0x36e925-0x1-_0x58dc26);}}[_0x1675c1(0x15d)](_0x4400c8,_0x3deb82,_0xefb3ca){const _0x37ef2f=_0x1675c1,{subUnitId:_0x4cede7,range:_0x4846e9,unitId:_0x2681fa}=_0xefb3ca,_0x49efc7=this['_univerInstanceService'][_0x37ef2f(0x2aa)](_0x2681fa);if(!_0x49efc7){console['error'](_0x37ef2f(0x1c2));return;}const _0x3985de=_0x49efc7[_0x37ef2f(0x2c0)](_0x4cede7),_0x35ea76=_0x3985de['getCellMatrix'](),{startRow:_0x37b7cd,startColumn:_0xeaad3c,endRow:_0x554cae}=this['getRangeStartEndInfo'](_0x4846e9,_0x3985de),_0x52d129=_0x49efc7[_0x37ef2f(0x23f)](),_0x295ae6={};for(const {dataField:_0x34e100,index:_0x391efc}of _0x3deb82){_0x34e100[_0x37ef2f(0x101)]();const _0x4ac026=this['getMatrixValue'](_0x35ea76,void 0x0,void 0x0,_0x37b7cd,_0xeaad3c+_0x391efc);let _0x58fec6=this[_0x37ef2f(0xbe)](_0x4ac026,_0x52d129,_0x295ae6);_0x35e63e(_0x58fec6)&&(_0x58fec6=_0x519cb6[_0x37ef2f(0x1dd)](_0x58fec6['f'],Number(_0x58fec6['v'])));const _0x11ae36=this[_0x37ef2f(0xc9)](_0x58fec6,_0xeaad3c+_0x391efc);_0x34e100[_0x37ef2f(0xf1)](_0x11ae36);}_0x4400c8[_0x37ef2f(0x31e)]();for(let _0x2bcc4a=_0x37b7cd+0x1;_0x2bcc4a<=_0x554cae;_0x2bcc4a++)for(const {index:_0xe9fb9b,dataField:_0x5c6335}of _0x3deb82){const _0x548f27=_0x35ea76['getValue'](_0x2bcc4a,_0xeaad3c+_0xe9fb9b);_0x5c6335[_0x37ef2f(0x270)](this[_0x37ef2f(0xbe)](_0x548f27,_0x52d129,_0x295ae6),_0x2bcc4a-0x1-_0x37b7cd);}_0x4400c8[_0x37ef2f(0xde)](_0x554cae-_0x37b7cd);}[_0x1675c1(0x12b)](_0x197335){const _0x43515d=_0x1675c1,{range:_0x4dc049}=_0x197335,{startColumn:_0x2c2b00,endColumn:_0x5de737}=_0x4dc049,_0x2bec3f=[];for(let _0x55f850=_0x2c2b00;_0x55f850<=_0x5de737;_0x55f850++)_0x2bec3f['push'](this[_0x43515d(0x257)](_0x197335,_0x55f850));return _0x2bec3f;}[_0x1675c1(0xbe)](_0x3641bf,_0x4ee080,_0x10993b){const _0x565a68=_0x1675c1;if(_0x3641bf){const {s:_0x42b9a4,v:_0x9fa0ce,t:_0x40e821,p:_0x5c9d34}=_0x3641bf;if(_0x5c9d34)return wi(_0x5c9d34);const _0x124a69=_0x4ee080[_0x565a68(0x2e9)](_0x42b9a4);if(_0x124a69&&_0x40e821===_0x5ee6bb[_0x565a68(0x192)]&&_0x124a69['n']){const {pattern:_0x269241}=_0x124a69['n'];_0x10993b[_0x269241]||(_0x10993b[_0x269241]=_0x519cb6[_0x565a68(0x207)](_0x269241));const _0x4b2aae=_0x10993b[_0x269241],_0x16edc0=_0x4b2aae[_0x565a68(0x18a)];if(_0x4b2aae['isText'])return String(_0x9fa0ce);if(_0x16edc0)return{'v':_0x9fa0ce,'f':_0x269241};}if(_0x40e821===_0x5ee6bb[_0x565a68(0x192)])return Number(_0x9fa0ce);if(_0x40e821===_0x5ee6bb[_0x565a68(0x310)]||_0x40e821===_0x5ee6bb[_0x565a68(0x159)])return String(_0x9fa0ce);if(_0x40e821===void 0x0){const _0x51a737=Number(_0x9fa0ce);if(!Number[_0x565a68(0x213)](_0x51a737)&&String(_0x51a737)===_0x9fa0ce)return _0x51a737;}return _0x9fa0ce!=null?_0x9fa0ce:null;}else return null;}[_0x1675c1(0x281)](_0x19a610){const _0x2abed9=_0x1675c1,{sheetName:_0x273750,range:_0x4cbca1,unitId:_0x59a196}=_0x19a610,_0x1ce081=this[_0x2abed9(0x27f)]['getUnit'](_0x59a196);if(!_0x1ce081)return console['error'](_0x2abed9(0x1c2)),{'header':[],'data':[]};const _0x3172ca=_0x1ce081[_0x2abed9(0x1f8)](_0x273750),_0x593cf7=_0x3172ca[_0x2abed9(0x13f)](),{startRow:_0xd09cee,startColumn:_0x100505,endRow:_0x5986ca,endColumn:_0x427a7c}=this['getRangeStartEndInfo'](_0x4cbca1,_0x3172ca),_0x5c38c3=_0x1ce081['getStyles'](),_0xa9cc7c=[],_0x32a647=[],_0x449060={};for(let _0x375078=_0xd09cee;_0x375078<=_0x5986ca;_0x375078++){const _0x15b4c8=[];for(let _0x1b01be=_0x100505;_0x1b01be<=_0x427a7c;_0x1b01be++){const _0x4e2058=_0x593cf7['getValue'](_0x375078,_0x1b01be);_0x375078===_0xd09cee?_0xa9cc7c[_0x2abed9(0x1a3)](_0x4e2058==null?null:String(_0x4e2058['v'])):_0x15b4c8[_0x2abed9(0x1a3)](this[_0x2abed9(0xbe)](_0x4e2058,_0x5c38c3,_0x449060));}_0x32a647[_0x2abed9(0x1a3)](_0x15b4c8);}return{'header':_0xa9cc7c,'data':_0x32a647};}[_0x1675c1(0x132)](){const _0x25bfaa=_0x1675c1;return super[_0x25bfaa(0x132)]();}['fromJSON'](_0x33bf86){const _0x56eb0f=_0x1675c1;super['fromJSON'](_0x33bf86),this[_0x56eb0f(0x116)]();}[_0x1675c1(0x239)](){const _0x45b2e9=_0x1675c1;super[_0x45b2e9(0x239)](),this[_0x45b2e9(0x11e)]={},this[_0x45b2e9(0x182)]=null;}}const Fi=_0x5f17a8=>{const _0x1e22c3=_0x1675c1,{targetCellInfo:_0x46b972}=_0x5f17a8,{matrixCache:_0x5d3aa3,rangesCache:_0x836e1c}=Jo({'filter':_0x1e22c3(0x1aa),'row':'Row','column':'Column','values':_0x1e22c3(0x287)},_0x46b972),_0x462a05=new _0x1d8f59();return _0x5d3aa3['forValue']((_0x386ad2,_0x909149,_0x520c9e)=>{const _0x2cf135=_0x1e22c3;_0x462a05[_0x2cf135(0x2d0)](_0x386ad2,_0x909149,_0x520c9e);}),{'matrix':_0x462a05,'rangesCache':_0x836e1c};},st=_0x5bf8aa=>{const _0x5bae00=_0x1675c1;let _0x20b094;if(_0x5bf8aa!=null&&_0x5bf8aa['v']||(_0x5bf8aa==null?void 0x0:_0x5bf8aa['v'])===0x0){_0x20b094||(_0x20b094={});const _0x4e9a7e=Lo(_0x5bf8aa['v']);typeof _0x4e9a7e=='number'?_0x20b094['t']=_0x5ee6bb[_0x5bae00(0x192)]:typeof _0x4e9a7e==_0x5bae00(0x25c)&&(_0x20b094['t']=_0x5ee6bb[_0x5bae00(0x310)]),_0x20b094['v']=_0x4e9a7e;}return _0x20b094;},Di=(_0x2c8001,_0x2dfcd1,_0x109a38)=>{const _0x7d25d1=_0x1675c1;var _0x47cbcc,_0x1edf43,_0x4043dd,_0x202658,_0x3ceecf,_0x323b1b,_0x1259ec,_0x41e31c,_0x4fd08a,_0x35df84,_0x19d609,_0x2795a0;const {cornerView:_0x4526a0,rowView:_0x4c64b0,colView:_0x4d8d25,dataView:_0x82454b,pageView:_0x1d3013,formatMap:_0x5bc271}=_0x2c8001,{row:_0x3814ab,col:_0x2742c8}=_0x2dfcd1,_0x684f3b=new _0x1d8f59();let _0x3044cb=_0x3814ab,_0x309ff0=_0x2742c8;Object[_0x7d25d1(0x121)](_0x1d3013[_0x7d25d1(0x235)])['forEach'](_0x48ec33=>{const _0x460088=_0x7d25d1;Object['keys'](_0x1d3013[_0x460088(0x235)][Number(_0x48ec33)])[_0x460088(0x2ef)](_0x55ac22=>{const _0x4b0cd0=_0x460088,_0x41d83f={..._0x1d3013[_0x4b0cd0(0x235)][Number(_0x48ec33)][Number(_0x55ac22)]};_0x684f3b[_0x4b0cd0(0x2d0)](Number(_0x48ec33)+_0x3044cb,Number(_0x55ac22)+_0x309ff0,st(_0x41d83f));});});const _0x3536b3=Object['keys'](_0x1d3013[_0x7d25d1(0x235)])['length'];_0x3044cb+=_0x3536b3+(_0x3536b3?It:0x0);const _0x512674=_0x4526a0[_0x7d25d1(0x113)](),_0x3d86cf=_0x4526a0[_0x7d25d1(0x1f6)]();for(let _0x7b91b9=0x0;_0x7b91b9<_0x512674;_0x7b91b9++)for(let _0x2554c9=0x0;_0x2554c9<_0x3d86cf;_0x2554c9++){const _0x3121ac={...(_0x1edf43=(_0x47cbcc=_0x4526a0['data'])==null?void 0x0:_0x47cbcc[_0x7b91b9])==null?void 0x0:_0x1edf43[_0x2554c9]};_0x3121ac&&((_0x4043dd=_0x4c64b0['headerMap'][_0x2554c9])!=null&&_0x4043dd[_0x7d25d1(0x2cf)])&&_0x2554c9===_0x3d86cf-0x1&&_0x7b91b9===_0x512674-0x1&&(_0x3121ac['v']=''+_0x109a38['sheets-pivot.value']),_0x684f3b[_0x7d25d1(0x2d0)](_0x7b91b9+_0x3044cb,_0x2554c9+_0x309ff0,st(_0x3121ac));}_0x309ff0+=_0x3d86cf;const _0x78d872=_0x4d8d25['headerMap'],_0x136a4e=_0x4d8d25[_0x7d25d1(0x2b1)]()>=0x0?_0x4d8d25[_0x7d25d1(0x2b1)]()+0x1:0x0,_0x18f1dc=_0x4d8d25[_0x7d25d1(0x2d8)]()>=0x0?_0x4d8d25['getLastCol']()+0x1:0x0;for(let _0x13b3e9=0x0;_0x13b3e9<_0x18f1dc;_0x13b3e9++)for(let _0x2768b8=0x0;_0x2768b8<_0x136a4e;_0x2768b8++){const _0x1325a2={...(_0x3ceecf=(_0x202658=_0x4d8d25[_0x7d25d1(0x235)])==null?void 0x0:_0x202658[_0x13b3e9])==null?void 0x0:_0x3ceecf[_0x2768b8]},_0x58249e=(_0x323b1b=_0x78d872[_0x13b3e9])==null?void 0x0:_0x323b1b[_0x7d25d1(0x1e6)],_0x1154e9=_0x5bc271[_0x58249e];_0x1325a2&&(_0x1325a2['v']=vt(_0x1325a2,_0x13b3e9===0x0&&((_0x1259ec=_0x4d8d25[_0x7d25d1(0x272)](_0x2768b8+0x1))==null?void 0x0:_0x1259ec[_0x7d25d1(0x2cf)]),_0x1154e9,_0x109a38)),_0x684f3b[_0x7d25d1(0x2d0)](_0x13b3e9+_0x3044cb,_0x2768b8+_0x309ff0,st(_0x1325a2));}_0x3044cb+=_0x512674;const _0x58f860=_0x4c64b0['headerMap'],_0xce7a27=_0x4c64b0[_0x7d25d1(0x2b1)]()>=0x0?_0x4c64b0['getLastRow']()+0x1:0x0,_0x2ed947=_0x4c64b0[_0x7d25d1(0x2d8)]()>=0x0?_0x4c64b0['getLastCol']()+0x1:0x0;for(let _0x513b4d=0x0;_0x513b4d<_0xce7a27;_0x513b4d++)for(let _0x27f794=0x0;_0x27f794<_0x2ed947;_0x27f794++){const _0x532167={...(_0x4fd08a=(_0x41e31c=_0x4c64b0['data'])==null?void 0x0:_0x41e31c[_0x513b4d])==null?void 0x0:_0x4fd08a[_0x27f794]},_0x3dcca2=(_0x35df84=_0x58f860[_0x27f794])==null?void 0x0:_0x35df84['tableFieldId'],_0x46ec18=_0x5bc271[_0x3dcca2];_0x532167&&(_0x532167['v']=vt(_0x532167,!0x1,_0x46ec18,_0x109a38)),_0x684f3b[_0x7d25d1(0x2d0)](_0x513b4d+_0x3044cb,_0x27f794+_0x2742c8,st(_0x532167));}const _0x49c6b2=_0x82454b[_0x7d25d1(0x113)](),_0x4c6bdc=_0x82454b[_0x7d25d1(0x1f6)]();for(let _0x4b0ce0=0x0;_0x4b0ce0<_0x49c6b2;_0x4b0ce0++)for(let _0x3c978b=0x0;_0x3c978b<_0x4c6bdc;_0x3c978b++){const _0x5c8b92={...(_0x2795a0=(_0x19d609=_0x82454b['data'])==null?void 0x0:_0x19d609[_0x4b0ce0])==null?void 0x0:_0x2795a0[_0x3c978b]};_0x684f3b[_0x7d25d1(0x2d0)](_0x4b0ce0+_0x3044cb,_0x3c978b+_0x309ff0,st(_0x5c8b92));}return _0x684f3b;},Ri=_0x41de5c=>{const _0x1c1b9d=_0x1675c1,{view:_0x2fd761,targetCellInfo:_0x23c5ca,isEmpty:_0xe88363,textInfo:_0x20d114}=_0x41de5c;if(_0xe88363)return Fi(_0x41de5c);const {pageView:_0x5d56c7,cornerView:_0x5b221a,rowView:_0x1b9d46,colView:_0x374ef1,dataView:_0xb2293a}=_0x2fd761,_0x121543=ge(_0x23c5ca,_0x5d56c7,!0x0),_0x398298=_0x5d56c7[_0x1c1b9d(0x2b5)]>=0x0?_0x5d56c7[_0x1c1b9d(0x2b5)]+0x1:0x0,_0x4d49f7=_0x5b221a[_0x1c1b9d(0x113)](),_0x52b944=_0x5b221a[_0x1c1b9d(0x1f6)](),_0x5e0944=_0x121543[_0x1c1b9d(0xff)]>0x0?It:0x0,_0x470f1a=ge({'row':_0x23c5ca[_0x1c1b9d(0xcd)]+_0x398298+_0x5e0944,'col':_0x23c5ca[_0x1c1b9d(0x1d6)]},_0x5b221a,!0x1,!0x1),_0xd7c0e2=ge({'row':_0x23c5ca[_0x1c1b9d(0xcd)]+_0x398298+_0x5e0944+_0x4d49f7,'col':_0x23c5ca['col']},_0x1b9d46,!0x1,!0x0),_0x1de941=ge({'row':_0x23c5ca[_0x1c1b9d(0xcd)]+_0x398298+_0x5e0944,'col':_0x23c5ca[_0x1c1b9d(0x1d6)]+_0x52b944},_0x374ef1,!0x1,!0x0),_0x3b3986=ge({'row':_0x23c5ca[_0x1c1b9d(0xcd)]+_0x398298+_0x5e0944+_0x4d49f7,'col':_0x23c5ca[_0x1c1b9d(0x1d6)]+_0x52b944},_0xb2293a,!0x1,!0x1),_0x28e251={'rowRanges':_0xd7c0e2,'colRanges':_0x1de941,'cornerRanges':_0x470f1a,'dataRanges':_0x3b3986,'pageRanges':_0x121543};return{'matrix':Di(_0x2fd761,_0x23c5ca,_0x20d114),'rangesCache':_0x28e251};};var Ni=Object[_0x1675c1(0xd3)],Ei=(_0x56725f,_0x477b16,_0x33b153,_0x1a726f)=>{const _0x4d3818=_0x1675c1;for(var _0x437e6c=_0x1a726f>0x1?void 0x0:_0x1a726f?Ni(_0x477b16,_0x33b153):_0x477b16,_0x2aa705=_0x56725f[_0x4d3818(0xff)]-0x1,_0x5ccd1f;_0x2aa705>=0x0;_0x2aa705--)(_0x5ccd1f=_0x56725f[_0x2aa705])&&(_0x437e6c=_0x5ccd1f(_0x437e6c)||_0x437e6c);return _0x437e6c;},je=(_0x8f43cd,_0x4ee066)=>(_0x36e6cd,_0x30705f)=>_0x4ee066(_0x36e6cd,_0x30705f,_0x8f43cd);let G=class extends _0x5334b7{constructor(_0x44c818,_0xfadc14,_0x2670fd,_0x19f31b,_0xd4e530,_0x22d741){const _0x593c54=_0x1675c1;super(),U(this,_0x593c54(0x21a),new Map()),U(this,_0x593c54(0x276),new Map()),U(this,_0x593c54(0x2a2),new Map()),U(this,_0x593c54(0x1a6)),U(this,'_collectionChange$',new _0x265f85()),U(this,_0x593c54(0x19a),this['_collectionChange$'][_0x593c54(0x206)]()),U(this,'_viewData$',new _0x265f85()),U(this,_0x593c54(0x212),this[_0x593c54(0x22f)]['asObservable']()),U(this,_0x593c54(0x29c),new _0x265f85()),U(this,_0x593c54(0x16c),this[_0x593c54(0x29c)][_0x593c54(0x206)]()),U(this,_0x593c54(0x110),new Map()),U(this,_0x593c54(0x15b),[]),U(this,_0x593c54(0xaf),new Map()),(this[_0x593c54(0x312)]=_0x44c818,this[_0x593c54(0x27f)]=_0xfadc14,this[_0x593c54(0x1e5)]=_0x2670fd,this[_0x593c54(0x17a)]=_0x19f31b,this[_0x593c54(0x25d)]=_0xd4e530,this[_0x593c54(0xcb)]=_0x22d741,this[_0x593c54(0x11b)]());}[_0x1675c1(0x165)](){const _0x3e7396=_0x1675c1;return this['_textInfo']?this[_0x3e7396(0x1a6)]:yi;}[_0x1675c1(0x261)](_0x4fc054){const _0x515962=_0x1675c1;this[_0x515962(0x1a6)]=_0x4fc054;}[_0x1675c1(0xa9)](_0x468ca4){const _0x540b62=_0x1675c1;var _0x3c0b29;const {from:_0x599009,to:_0xcaf496,unitId:_0x16edb9,fromRange:_0x4c72e8,toRange:_0x34153}=_0x468ca4;if(_0x599009&&_0xcaf496){const _0x40ad3e=this[_0x540b62(0x23a)](_0x16edb9),_0x155828=this[_0x540b62(0x21a)][_0x540b62(0x2e9)](_0x16edb9),_0x2b4b1c=(_0x3c0b29=this['_univerInstanceService']['getUnit'](_0x16edb9))==null?void 0x0:_0x3c0b29[_0x540b62(0x2c0)](_0xcaf496['subUnitId']);if(!_0x155828||!_0x2b4b1c)return;const _0x3cb663=_0x2b4b1c==null?void 0x0:_0x2b4b1c[_0x540b62(0xce)]();for(const [_0x1969a9,_0x4442ee]of _0x155828[_0x540b62(0xa8)]())for(const [_0xb1878b,_0x5c3a0e]of _0x4442ee[_0x540b62(0xa8)]()){const {sourceRangeInfo:_0x1f0d09}=_0x5c3a0e;if(_0x1f0d09[_0x540b62(0x167)]===_0x16edb9&&_0x1f0d09[_0x540b62(0x20b)]===_0x599009[_0x540b62(0x20b)]&&_0x351caf[_0x540b62(0x1af)](_0x4c72e8,_0x1f0d09[_0x540b62(0x27c)])){const _0x287774={'row':_0x1f0d09[_0x540b62(0x27c)][_0x540b62(0x21c)]-_0x4c72e8[_0x540b62(0x21c)],'col':_0x1f0d09['range'][_0x540b62(0x16d)]-_0x4c72e8['startColumn']},_0x4497f9={'unitId':_0x16edb9,'subUnitId':_0xcaf496[_0x540b62(0x20b)],'sheetName':_0x3cb663,'range':{'startRow':_0x34153[_0x540b62(0x21c)]+_0x287774[_0x540b62(0xcd)],'endRow':_0x34153[_0x540b62(0x21c)]+_0x287774[_0x540b62(0xcd)]+_0x1f0d09[_0x540b62(0x27c)][_0x540b62(0x138)]-_0x1f0d09[_0x540b62(0x27c)][_0x540b62(0x21c)],'startColumn':_0x34153[_0x540b62(0x16d)]+_0x287774[_0x540b62(0x1d6)],'endColumn':_0x34153[_0x540b62(0x16d)]+_0x287774[_0x540b62(0x1d6)]+_0x1f0d09['range']['endColumn']-_0x1f0d09[_0x540b62(0x27c)][_0x540b62(0x16d)]}};_0x40ad3e['handleMoveRange'](_0xb1878b,_0x4497f9);const _0x50d582={..._0x5c3a0e,'sourceRangeInfo':_0x4497f9};this[_0x540b62(0x2c2)](_0x16edb9,_0xcaf496[_0x540b62(0x20b)],_0xb1878b,_0x50d582),this[_0x540b62(0x1e0)]({'unitId':_0x16edb9,'token':_0xb1878b,'type':ke[_0x540b62(0x160)],'oldSourceRangeInfo':_0x1f0d09,'dataRangeInfo':_0x4497f9,'targetCellInfo':_0x5c3a0e[_0x540b62(0xb1)]}),this[_0x540b62(0x14b)]({'unitId':_0x16edb9,'subUnitId':_0xcaf496['subUnitId'],'oldSubUnitId':_0x1969a9,'pivotTableId':_0xb1878b,'pivotTableConfig':_0x50d582,'collectionConfig':_0x40ad3e[_0x540b62(0x132)]()});}}}}[_0x1675c1(0x1e0)](_0x38870e){const _0x32cdc9=_0x1675c1;this[_0x32cdc9(0x266)][_0x32cdc9(0x294)](_0x38870e);}[_0x1675c1(0x23a)](_0x24788b){const _0x1d4da8=_0x1675c1;let _0xcc1b47=this[_0x1d4da8(0x110)][_0x1d4da8(0x2e9)](_0x24788b);return _0xcc1b47||(_0xcc1b47=new _i(this,this[_0x1d4da8(0x27f)]),this[_0x1d4da8(0x110)]['set'](_0x24788b,_0xcc1b47)),_0xcc1b47;}[_0x1675c1(0x28b)](_0x5ab532,_0x20abc2){return this['getDataFieldManager'](_0x5ab532)['collections'][_0x20abc2];}[_0x1675c1(0x25a)](_0x303843,_0x59e307,_0x120599){const _0x1b9b64=_0x1675c1;return this['getDataFieldManager'](_0x303843)[_0x1b9b64(0x25a)](_0x59e307,_0x120599);}[_0x1675c1(0x288)](_0x2f74fe,_0x34fefe){const _0x16051a=_0x1675c1;let _0x1efc18=this[_0x16051a(0x21a)][_0x16051a(0x2e9)](_0x2f74fe);_0x1efc18||(_0x1efc18=new Map(),this[_0x16051a(0x21a)]['set'](_0x2f74fe,_0x1efc18));let _0x3bff3b=_0x1efc18[_0x16051a(0x2e9)](_0x34fefe);return _0x3bff3b||(_0x3bff3b=new Map(),_0x1efc18[_0x16051a(0x21f)](_0x34fefe,_0x3bff3b)),_0x3bff3b;}[_0x1675c1(0x2c2)](_0x32d912,_0x224326,_0x39b427,_0x5b9e6e){const _0x1a1ec5=_0x1675c1;this[_0x1a1ec5(0x288)](_0x32d912,_0x224326)['set'](_0x39b427,_0x5b9e6e);}[_0x1675c1(0xe2)](_0x4638fc,_0x15d3de,_0x1857be){const _0x198b8b=_0x1675c1;var _0x1ce5d3,_0x4a5b88,_0x1e18e1,_0x4b3e9f;((_0x4a5b88=(_0x1ce5d3=this[_0x198b8b(0x21a)][_0x198b8b(0x2e9)](_0x4638fc))==null?void 0x0:_0x1ce5d3[_0x198b8b(0x2e9)](_0x15d3de))==null?void 0x0:_0x4a5b88['get'](_0x1857be))&&((_0x4b3e9f=(_0x1e18e1=this['_model'][_0x198b8b(0x2e9)](_0x4638fc))==null?void 0x0:_0x1e18e1[_0x198b8b(0x2e9)](_0x15d3de))==null||_0x4b3e9f[_0x198b8b(0x30d)](_0x1857be));}[_0x1675c1(0x291)](_0x1ce1f6,_0x4ef52b){const _0x1e02ac=_0x1675c1;this[_0x1e02ac(0x276)][_0x1e02ac(0x21f)](_0x1ce1f6,_0x4ef52b);}[_0x1675c1(0x28a)](_0x2da47d){const _0x585b94=_0x1675c1;this[_0x585b94(0x276)][_0x585b94(0x30d)](_0x2da47d);}[_0x1675c1(0x114)](_0x4f8199,_0x2a7f99){const _0x5caa4a=_0x1675c1;let _0xb7afc=this[_0x5caa4a(0x2a2)]['get'](_0x4f8199);_0xb7afc||(_0xb7afc=new Map(),this['_viewData'][_0x5caa4a(0x21f)](_0x4f8199,_0xb7afc));let _0xa83c15=_0xb7afc[_0x5caa4a(0x2e9)](_0x2a7f99);return _0xa83c15||(_0xa83c15=new Map(),_0xb7afc[_0x5caa4a(0x21f)](_0x2a7f99,_0xa83c15)),_0xa83c15;}[_0x1675c1(0x14b)](_0x3d5aa0){const _0x2e0015=_0x1675c1,{unitId:_0x3c274f,subUnitId:_0x1bf0cd,pivotTableId:_0x274644,pivotTableConfig:_0x319fb0,collectionConfig:_0x5ee17b}=_0x3d5aa0,_0x19218e={'unitId':_0x3c274f,'subUnitId':_0x1bf0cd,'oldSubUnitId':_0x1bf0cd,'pivotTableId':_0x274644,'pivotTableConfig':_0x319fb0,'collectionConfig':_0x5ee17b};this[_0x2e0015(0x25d)][_0x2e0015(0x2e1)](co['id'],_0x19218e,{'onlyLocal':!0x0});}[_0x1675c1(0x174)](_0x20aafb,_0x5f1e72,_0x7c3ba5,_0x11a55b,_0x20889f,_0x706e85,_0x4f9942,_0x306ca2=!0x1){const _0x25d140=_0x1675c1;var _0x356024;this['_commandService'][_0x25d140(0x2e1)](Rt['id'],{'single':{'unitId':_0x20aafb,'subUnitId':_0x5f1e72,'type':_0x7c3ba5,'pivotTableId':_0x11a55b,'view':_0x20889f,'pivotConfig':_0x706e85},'collectionConfig':{[_0x20aafb]:_0x4f9942}},{'onlyLocal':!0x0});const _0x52422c=!!((_0x356024=this['getPivotTableInstance'](_0x11a55b))!=null&&_0x356024[_0x25d140(0x22a)]()),_0x2260c4=this['getPivotTableConfig'](_0x20aafb,_0x5f1e72,_0x11a55b);_0x2260c4&&this[_0x25d140(0x219)]({'view':_0x20889f,'pivotTableId':_0x11a55b,'textInfo':this[_0x25d140(0x165)](),'isEmpty':_0x52422c,'targetCellInfo':_0x2260c4['targetCellInfo']},_0x306ca2);}[_0x1675c1(0x219)](_0x2fb939,_0x32dbd7){const _0x56126b=_0x1675c1,{targetCellInfo:_0x5a70d2,pivotTableId:_0x3b65b2}=_0x2fb939,{unitId:_0x3e56fa,subUnitId:_0x2e58a4}=_0x5a70d2,_0x1ce35c=this['_ensureViewDataMap'](_0x3e56fa,_0x2e58a4),_0x2f8c4f=_0x1ce35c['get'](_0x3b65b2);let _0x523a3d,_0x5cf1c6;_0x2f8c4f&&(_0x523a3d=_0x2f8c4f[_0x56126b(0x23b)],_0x5cf1c6=_0x2f8c4f[_0x56126b(0x187)]);const {rangesCache:_0x4190b6,matrix:_0x1c71ff}=Ri(_0x2fb939);_0x1ce35c['set'](_0x3b65b2,{'rangeCache':_0x4190b6,'matrix':_0x1c71ff,'oldMatrix':_0x5cf1c6,'oldRangeCache':_0x523a3d}),_0x32dbd7||this[_0x56126b(0x22f)][_0x56126b(0x294)]({'unitId':_0x3e56fa,'subUnitId':_0x2e58a4,'pivotTableId':_0x3b65b2});}[_0x1675c1(0x199)](_0x34e222,_0x50dd0f,_0x4384fa,_0x5d725f,_0x580836){const _0x1a54eb=_0x1675c1;this['_updateModelCache'](_0x34e222,_0x50dd0f,_0x4384fa,_0x580836),this[_0x1a54eb(0x291)](_0x4384fa,_0x5d725f);}[_0x1675c1(0x2ed)](_0xfb2047,_0x4adcba,_0x3779be){const _0x21ca37=_0x1675c1,_0x21d70e=this[_0x21ca37(0x23a)](_0xfb2047);_0x21d70e['getNoUsedDataFieldIds'](_0x3779be)['forEach'](_0x4243eb=>{const _0x891cb1=_0x21ca37;_0x21d70e[_0x891cb1(0x137)](_0x4243eb);}),this[_0x21ca37(0x244)](_0xfb2047,_0x3779be),this[_0x21ca37(0xe2)](_0xfb2047,_0x4adcba,_0x3779be),this[_0x21ca37(0x28a)](_0x3779be);}['setPivotTable'](_0xb42418,_0x971178,_0x2090f3,_0x1acde2){const _0x1aacae=_0x1675c1;this[_0x1aacae(0x2c2)](_0xb42418,_0x971178,_0x2090f3,_0x1acde2);}[_0x1675c1(0x14e)](_0x543cd3,_0x7ceb01,_0x545c60){const _0x597ff8=_0x1675c1;var _0x119c53,_0x213f70;const _0x3a32c7=(_0x213f70=(_0x119c53=this[_0x597ff8(0x21a)][_0x597ff8(0x2e9)](_0x543cd3))==null?void 0x0:_0x119c53['get'](_0x7ceb01))==null?void 0x0:_0x213f70[_0x597ff8(0x2e9)](_0x545c60);if(_0x3a32c7)return _0x3a32c7;}[_0x1675c1(0x30e)](_0x4bed44,_0x191998,_0x4547fa){const _0x59a499=_0x1675c1;var _0x2a4241,_0x541658;const _0x4ec4f7=(_0x541658=(_0x2a4241=this['_model']['get'](_0x4bed44))==null?void 0x0:_0x2a4241[_0x59a499(0x2e9)](_0x191998))==null?void 0x0:_0x541658[_0x59a499(0x2e9)](_0x4547fa);if(_0x4ec4f7)return _0x4ec4f7[_0x59a499(0x2bd)];}[_0x1675c1(0x220)](_0x1f3f05){const _0x15e2d2=_0x1675c1;return this[_0x15e2d2(0x276)]['get'](_0x1f3f05);}[_0x1675c1(0x161)](_0x585fa9){const _0x3dfaa3=_0x1675c1;this[_0x3dfaa3(0x21a)][_0x3dfaa3(0x30d)](_0x585fa9);const _0x432798=this[_0x3dfaa3(0x110)]['get'](_0x585fa9);_0x432798&&(_0x432798[_0x3dfaa3(0x239)](),this[_0x3dfaa3(0x110)]['delete'](_0x585fa9)),this[_0x3dfaa3(0x2a2)][_0x3dfaa3(0x30d)](_0x585fa9),this[_0x3dfaa3(0x15b)]['forEach'](_0x45597e=>{_0x45597e['deleteUnitId'](_0x585fa9);});}[_0x1675c1(0x105)](_0x2dcea5,_0x5a1381,_0x33c941,_0x51f576){const _0x479399=_0x1675c1;return this[_0x479399(0x23a)](_0x33c941[_0x479399(0x167)])['addCollectionByJSON'](_0x2dcea5,_0x5a1381,_0x33c941,_0x51f576);}[_0x1675c1(0x1c0)](_0x4bb35d){const _0x41b676=_0x1675c1;return this[_0x41b676(0x23a)](_0x4bb35d[_0x41b676(0x167)])[_0x41b676(0x1c0)](_0x4bb35d);}['refreshData'](_0x22aecf,_0x205acc,_0x4c6cd4){const _0x21eb64=_0x1675c1;this['getDataFieldManager'](_0x4c6cd4[_0x21eb64(0x167)])[_0x21eb64(0x15d)](_0x22aecf,_0x205acc,_0x4c6cd4);}[_0x1675c1(0x279)](_0x587ff6,_0x1a6152){const _0x598a06=_0x1675c1;this[_0x598a06(0x23a)](_0x587ff6)[_0x598a06(0x137)](_0x1a6152);}[_0x1675c1(0x244)](_0x1bfa04,_0x5eb07a){const _0x790988=_0x1675c1;this[_0x790988(0x23a)](_0x1bfa04)['removeCollectionImp'](_0x5eb07a);}[_0x1675c1(0x106)](_0x380446,_0x132e29){const _0x2062dc=_0x1675c1;var _0x4c8640;return(_0x4c8640=this[_0x2062dc(0x21a)][_0x2062dc(0x2e9)](_0x380446))==null?void 0x0:_0x4c8640[_0x2062dc(0x2e9)](_0x132e29);}[_0x1675c1(0x209)](_0xb08245){const _0x208b35=_0x1675c1;for(const [_0x3b58c5,_0xf7d18a]of this[_0x208b35(0x21a)][_0x208b35(0xa8)]())for(const [_0x116d3e,_0x268cc8]of _0xf7d18a[_0x208b35(0xa8)]())if(_0x268cc8['has'](_0xb08245))return{'unitId':_0x3b58c5,'subUnitId':_0x116d3e};return null;}[_0x1675c1(0x181)](_0x3507d2,_0x5034d3,_0x1c9005,_0x23d379){const _0x1e77c4=_0x1675c1,_0x1363ac=this[_0x1e77c4(0x114)](_0x3507d2,_0x5034d3);_0x23d379?_0x1363ac[_0x1e77c4(0x21f)](_0x1c9005,_0x23d379):_0x1363ac[_0x1e77c4(0x30d)](_0x1c9005),this[_0x1e77c4(0x22f)]['next']({'unitId':_0x3507d2,'subUnitId':_0x5034d3,'pivotTableId':_0x1c9005});}['dispose'](){const _0x465b77=_0x1675c1;super[_0x465b77(0x239)]();}['getViewData'](_0x171abf,_0x1a1bc1,_0xc9d5b7){const _0x1b9dbd=_0x1675c1;var _0x35d4de,_0x22be49;const _0x56e642=(_0x22be49=(_0x35d4de=this['_viewData'][_0x1b9dbd(0x2e9)](_0x171abf))==null?void 0x0:_0x35d4de['get'](_0x1a1bc1))==null?void 0x0:_0x22be49[_0x1b9dbd(0x2e9)](_0xc9d5b7);return _0x56e642||null;}[_0x1675c1(0x196)](_0x4d9956){const _0xd70526=_0x1675c1;this[_0xd70526(0xdf)](_0x4d9956);}['updateDirtyPivotTable'](_0x574c70){const _0x2e0560=_0x1675c1,{token:_0x1012a1,unitId:_0x104987,subUnitId:_0x214e1d}=_0x574c70,_0x528559=_0x104987+'-'+_0x214e1d+'-'+_0x1012a1;this[_0x2e0560(0xaf)][_0x2e0560(0x2e9)](_0x528559)&&clearTimeout(this['_queryingMap'][_0x2e0560(0x2e9)](_0x528559));const _0x5ec935=setTimeout(()=>{const _0x57c2ba=_0x2e0560;this[_0x57c2ba(0x305)](_0x574c70),this[_0x57c2ba(0xaf)][_0x57c2ba(0x30d)](_0x528559);},Pi);this[_0x2e0560(0xaf)][_0x2e0560(0x21f)](_0x528559,_0x5ec935);}['queryDirtyPivotTable'](_0x398ff3){const _0x5cb381=_0x1675c1,{unitId:_0x40b2bb,subUnitId:_0x563116,token:_0x27a3c5,type:_0x569ee0,pivotConfig:_0x58e997}=_0x398ff3,_0x139a99=this['getPivotTableInstance'](_0x27a3c5),_0x34cc25=_0x139a99==null?void 0x0:_0x139a99['query'](),_0x33230d=_0x58e997!=null?_0x58e997:this[_0x5cb381(0x14e)](_0x40b2bb,_0x563116,_0x27a3c5);_0x33230d&&(_0x33230d[_0x5cb381(0x22a)]=!!(_0x139a99!=null&&_0x139a99[_0x5cb381(0x22a)]())),(_0x34cc25||_0x569ee0===L['Delete'])&&this[_0x5cb381(0x174)](_0x40b2bb,_0x563116,_0x569ee0,_0x27a3c5,_0x34cc25,_0x33230d,this[_0x5cb381(0x23a)](_0x40b2bb)['toJSON']());}[_0x1675c1(0x132)](_0x5aa583){const _0x56608f=_0x1675c1,_0x1b9613={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x56608f(0x23a)](_0x5aa583)&&(_0x1b9613[_0x56608f(0x10d)][_0x5aa583]=this['getDataFieldManager'](_0x5aa583)[_0x56608f(0x132)]()),this[_0x56608f(0x21a)][_0x56608f(0x2e9)](_0x5aa583)){_0x1b9613[_0x56608f(0x210)][_0x5aa583]={};const _0x26c01b=this[_0x56608f(0x21a)]['get'](_0x5aa583);_0x26c01b!=null&&_0x26c01b[_0x56608f(0xb5)]&&[..._0x26c01b[_0x56608f(0x121)]()]['forEach'](_0x5a1e3f=>{const _0xea4291=_0x56608f,_0x455bad=_0x26c01b[_0xea4291(0x2e9)](_0x5a1e3f);_0x455bad!=null&&_0x455bad[_0xea4291(0xb5)]&&(_0x1b9613['pivotTableConfigs'][_0x5aa583][_0x5a1e3f]={},[..._0x455bad[_0xea4291(0x121)]()][_0xea4291(0x2ef)](_0x513322=>{const _0x522079=_0xea4291,_0x1d0260=_0x455bad[_0x522079(0x2e9)](_0x513322);_0x1d0260&&(_0x1b9613[_0x522079(0x210)][_0x5aa583][_0x5a1e3f][_0x513322]=_0x1d0260);}));});}return _0x1b9613;}[_0x1675c1(0x31f)](_0x2a8da1){const _0x277906=_0x1675c1;var _0x497327;const {dataFieldManagerConfig:_0x51d4f3,pivotTableConfigs:_0x52d482}=_0x2a8da1;_0x51d4f3&&Object[_0x277906(0x121)](_0x51d4f3)[_0x277906(0x2ef)](_0x428192=>{const _0x26d64b=_0x277906;this[_0x26d64b(0x23a)](_0x428192)[_0x26d64b(0x31f)](_0x51d4f3[_0x428192]);});const _0x1d5d3c=[];if(_0x52d482){const _0x13de69=(_0x497327=this[_0x277906(0x312)][_0x277906(0x2e9)](_0xe8dcbb)[_0x277906(0x1dc)](_0x59310c))!=null?_0x497327:{},{ls:_0x4c5c01,pbk:_0x1dfdbd}=_0x13de69,_0x4d58ee=go(so,_0x4c5c01,_0x1dfdbd)[_0x277906(0xd1)];Object[_0x277906(0x121)](_0x52d482)[_0x277906(0x2ef)](_0x38e33e=>{const _0x268d9d=_0x277906;let _0x4bf1fd=0x0;const _0x5ef965=_0x52d482[_0x38e33e];Object[_0x268d9d(0x121)](_0x5ef965)['forEach'](_0x1bc037=>{const _0x3e8845=_0x268d9d,_0x4cc07a=_0x5ef965[_0x1bc037];Object[_0x3e8845(0x121)](_0x4cc07a)[_0x3e8845(0x2ef)](_0x1a7841=>{const _0x14bfaa=_0x3e8845,_0x334270=_0x4cc07a[_0x1a7841];if(_0x334270){if(_0x4bf1fd>=_0x4d58ee)return;_0x4bf1fd++;const _0x2f13ca=this['getDataFieldManager'](_0x38e33e),_0x2f5ebe=_0x2f13ca[_0x14bfaa(0x234)][_0x1a7841],_0x412a2b=_0x2f5ebe[_0x14bfaa(0x2eb)]();let _0x1576b7=0x0;const _0x1fb786=[];for(const _0x218dd2 of _0x412a2b){const _0x10fdfe=_0x2f5ebe[_0x14bfaa(0xe0)](_0x218dd2);if(_0x467bd5(_0x10fdfe)){const _0x1e1df7=_0x10fdfe[_0x14bfaa(0x2e3)](),_0x2df83b=_0x2f5ebe['getFieldById'](_0x1e1df7);_0x2df83b&&_0x1fb786[_0x14bfaa(0x1a3)]([_0x10fdfe,_0x2df83b]);continue;}_0x2f13ca[_0x14bfaa(0x20e)](_0x218dd2,_0x334270[_0x14bfaa(0xdb)],_0x1576b7),_0x1576b7++;}_0x1fb786['forEach'](([_0x384c7a,_0x223cd3])=>{_0x384c7a['refreshGroupField'](_0x223cd3);});const _0xad6be3=new _0x16e808(_0x2f5ebe);_0xad6be3[_0x14bfaa(0x31f)](_0x334270[_0x14bfaa(0x2bd)]),this['addPivotTable'](_0x38e33e,_0x1bc037,_0x1a7841,_0xad6be3,_0x334270);const _0x3ead23=_0xad6be3[_0x14bfaa(0x274)]();_0x1d5d3c[_0x14bfaa(0x1a3)]({'unitId':_0x38e33e,'subUnitId':_0x1bc037,'pivotTableId':_0x1a7841,'view':_0x3ead23[_0x14bfaa(0x132)](),'pivotConfig':_0x334270,'type':L[_0x14bfaa(0xa6)]});const _0x1b4fae=!!_0xad6be3[_0x14bfaa(0x22a)](),_0x4286fe={'view':_0x3ead23,'pivotTableId':_0x1a7841,'textInfo':this[_0x14bfaa(0x165)](),'isEmpty':_0x1b4fae,'targetCellInfo':_0x334270[_0x14bfaa(0xb1)]};this['updateViewData'](_0x4286fe,!0x1);}});});});}_0x51d4f3&&Object[_0x277906(0x121)](_0x51d4f3)[_0x277906(0x2ef)](_0x152787=>{const _0x521855=_0x277906,_0x4cf07c=this['getDataFieldManager'](_0x152787);this[_0x521855(0x29c)][_0x521855(0x294)](_0x4cf07c[_0x521855(0x234)]);}),this[_0x277906(0x25d)][_0x277906(0x2e1)](Rt['id'],{'batch':_0x1d5d3c,'collectionConfig':_0x51d4f3},{'onlyLocal':!0x0});}[_0x1675c1(0x11b)](){const _0x1848ed=_0x1675c1;this['disposeWithMe'](this[_0x1848ed(0xcb)][_0x1848ed(0xbc)]({'toJson':_0x3ebf5a=>JSON['stringify'](this[_0x1848ed(0x132)](_0x3ebf5a)),'parseJson':_0x43b456=>{const _0x2a010b=_0x1848ed;if(!_0x43b456)return{};try{return JSON[_0x2a010b(0x175)](_0x43b456);}catch{return{};}},'businesses':[_0x34c5bf['UNIVER_SHEET']],'pluginName':ao,'onLoad':(_0x1e2d52,_0x4563d9)=>{const _0xd02d85=_0x1848ed;this[_0xd02d85(0x31f)](_0x4563d9);},'onUnLoad':_0x267dfa=>{const _0x2f5fde=_0x1848ed;this[_0x2f5fde(0x161)](_0x267dfa);}}));}};G=Ei([je(0x0,_0x2fd05e(_0x854c25)),je(0x1,_0x146954),je(0x2,_0x2fd05e(_0x254ee5)),je(0x3,_0xe8dcbb),je(0x4,_0x3408cd),je(0x5,_0x2fd05e(_0x1c560e))],G);const Ui={0x0:{0x0:{'v':_0x1675c1(0x29a),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x1675c1(0x133),'s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x8:{0x0:{'v':_0x1675c1(0xcd),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'values','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},kt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Jo=(_0x447bcb,_0x909eda)=>{const _0x99b77c=_0x1675c1,_0x3bc37b=new _0x1d8f59(),_0x36d3e2=new _0x1d8f59(Ui),{row:_0x5de853,col:_0x18b2fa}=_0x909eda;_0x36d3e2[_0x99b77c(0xa0)]((_0x203fe2,_0x515c32,_0x2bb4a5)=>{const _0x1dbf95=_0x99b77c;let _0xb91a2c='';_0x2bb4a5['v']===_0x1dbf95(0x29a)?_0xb91a2c=_0x447bcb[_0x1dbf95(0x29a)]:_0x2bb4a5['v']===_0x1dbf95(0xcd)?_0xb91a2c=_0x447bcb[_0x1dbf95(0xcd)]:_0x2bb4a5['v']===_0x1dbf95(0x133)?_0xb91a2c=_0x447bcb[_0x1dbf95(0x133)]:_0x2bb4a5['v']===_0x1dbf95(0x13a)&&(_0xb91a2c=_0x447bcb[_0x1dbf95(0x13a)]),_0x3bc37b[_0x1dbf95(0x2d0)](_0x203fe2+_0x5de853,_0x515c32+_0x18b2fa,{..._0x2bb4a5,'v':_0xb91a2c});});const _0x2e3358=_0x14991f[_0x99b77c(0x230)](kt);return Object['keys'](kt)[_0x99b77c(0x2ef)](_0x2fe2b5=>{const _0x49bdb2=_0x99b77c;_0x2e3358[_0x2fe2b5]=kt[_0x2fe2b5][_0x49bdb2(0x11d)](_0x432fa9=>({..._0x432fa9,'startRow':_0x432fa9[_0x49bdb2(0x21c)]+_0x5de853,'endRow':_0x432fa9[_0x49bdb2(0x138)]+_0x5de853,'startColumn':_0x432fa9['startColumn']+_0x18b2fa,'endColumn':_0x432fa9[_0x49bdb2(0xa1)]+_0x18b2fa}));}),{'matrixCache':_0x3bc37b,'rangesCache':_0x2e3358};};function Vi(_0xd53d41,_0x2ef6ea){const _0x47f997=_0x1675c1;let _0x8f0964='';const _0x20dbfc=this['getTextInfo']();switch(_0x2ef6ea){case _0xd80465[_0x47f997(0x188)]:_0x8f0964=_0x20dbfc[_0x47f997(0xc4)]+_0xd53d41;break;case _0xd80465[_0x47f997(0xd1)]:_0x8f0964=_0x20dbfc[_0x47f997(0xed)]+_0xd53d41;break;case _0xd80465[_0x47f997(0x178)]:_0x8f0964=_0x20dbfc['sheets-pivot.countNumsName']+_0xd53d41;break;case _0xd80465[_0x47f997(0x224)]:_0x8f0964=_0x20dbfc[_0x47f997(0x203)]+_0xd53d41;break;case _0xd80465['min']:_0x8f0964=_0x20dbfc[_0x47f997(0xe5)]+_0xd53d41;break;case _0xd80465[_0x47f997(0x2ff)]:_0x8f0964=_0x20dbfc['sheets-pivot.productName']+_0xd53d41;break;case _0xd80465[_0x47f997(0x183)]:_0x8f0964=_0x20dbfc[_0x47f997(0x1d0)]+_0xd53d41;break;case _0xd80465[_0x47f997(0x22d)]:_0x8f0964=_0x20dbfc[_0x47f997(0xf6)]+_0xd53d41;break;case _0xd80465[_0x47f997(0x1ba)]:_0x8f0964=_0x20dbfc[_0x47f997(0x269)]+_0xd53d41;break;case _0xd80465[_0x47f997(0x2f2)]:_0x8f0964=_0x20dbfc[_0x47f997(0x2a6)]+_0xd53d41;break;case _0xd80465[_0x47f997(0x130)]:_0x8f0964=_0x20dbfc[_0x47f997(0x143)]+_0xd53d41;break;default:_0x8f0964=_0xd53d41;break;}return _0x8f0964;}function Oi(_0x3cb966,_0x551790,_0x42df9a,_0x2147bb,_0x460a0a){const _0x53f206=_0x1675c1;var _0x39aa42,_0x1966ac,_0x4e506e,_0x316609,_0x2bdcb1;const _0x51f6bb=_0x34e162(_0x3cb966,_0x551790),{rangesInfo:_0x504244,areaInfo:_0x551e2f,headerMap:_0xca18f5}=_0x460a0a;if(!_0x504244||!_0x551e2f||!_0xca18f5)return;const _0x939bd6=Object[_0x53f206(0x121)](_0x504244)['find'](_0x2b4688=>_0x504244[_0x2b4688]['some'](_0x21548c=>_0x351caf[_0x53f206(0x1af)](_0x21548c,_0x51f6bb))),_0x34225e=_0x551e2f;let _0x2a4131,_0x2714c3,_0xab4814;if(_0x939bd6===_0x53f206(0x2d3))_0x2a4131=(_0x39aa42=_0x34225e==null?void 0x0:_0x34225e[_0x53f206(0x153)])==null?void 0x0:_0x39aa42[_0x3cb966],_0x2714c3=(_0x1966ac=_0xca18f5==null?void 0x0:_0xca18f5['rowHeaderMap'])==null?void 0x0:_0x1966ac[_0x551790],_0xab4814=_0x2714c3==null?void 0x0:_0x2714c3[_0x53f206(0x1e6)];else{if(_0x939bd6===_0x53f206(0x20a))_0x2a4131=(_0x4e506e=_0x34225e==null?void 0x0:_0x34225e[_0x53f206(0x10c)])==null?void 0x0:_0x4e506e[_0x551790],_0x2714c3=(_0x316609=_0xca18f5[_0x53f206(0x2dd)])==null?void 0x0:_0x316609[_0x3cb966+0x1+_0x551790-_0x504244[_0x53f206(0x20a)][0x0]['startColumn']],_0xab4814=_0x2714c3==null?void 0x0:_0x2714c3[_0x53f206(0x1e6)];else{if(_0x939bd6==='cornerRanges')_0x2a4131=(_0x2bdcb1=_0x34225e==null?void 0x0:_0x34225e['cornerInfo'])==null?void 0x0:_0x2bdcb1[_0x551790],_0xab4814=_0x2a4131==null?void 0x0:_0x2a4131[_0x53f206(0x1e6)];else{if(_0x939bd6===_0x53f206(0x1f0)){const _0x730518=_0x42df9a==null?void 0x0:_0x42df9a['fi'];_0x730518!==void 0x0&&(_0xab4814=_0x2147bb[_0x53f206(0x254)](_0x730518));}}}}return{'filterId':_0xab4814,'info':_0x2a4131,'data':_0x42df9a,'headerInfo':_0x2714c3};}function xi(_0x4497f2,_0x4d285e,_0x5e044b){const _0x197758=_0x1675c1,_0x121754=_0x4497f2['dataFieldsCollection'],_0x348398=_0x121754[_0x197758(0x2eb)](),_0x108975=new Set();_0x4497f2['iterateField'](_0x3294c9=>{const _0x41d1e4=_0x197758;_0x108975[_0x41d1e4(0x1a7)](_0x3294c9[_0x41d1e4(0xea)]);});const _0x47b15a=_0x348398[_0x197758(0x11d)](_0x5a2837=>{const _0x3b0d0b=_0x197758,_0x57541a=_0x121754[_0x3b0d0b(0xe0)](_0x5a2837);return{'checked':_0x108975['has'](_0x5a2837),'dataFieldId':_0x57541a['id'],'id':_0x57541a['id'],'name':_0x121754['getDisplayName'](_0x57541a['id']),'type':_0x57541a[_0x3b0d0b(0x2ea)](),'pivotTableId':_0x4d285e};}),_0x27aaa1=[];_0x4497f2['iterateFieldByArea'](_0x4cc34c['Row'],_0x443c7c=>{const _0x4cb74e=_0x197758;_0x27aaa1[_0x4cb74e(0x1a3)]({'dataFieldId':_0x443c7c['dataFieldId'],'tableFieldId':_0x443c7c[_0x4cb74e(0xf5)](),'displayName':_0x443c7c[_0x4cb74e(0x16f)]()});});const _0x34afd3=[];_0x4497f2[_0x197758(0x29b)](_0x4cc34c['Column'],_0x15d2eb=>{const _0x5a6542=_0x197758;_0x34afd3[_0x5a6542(0x1a3)]({'dataFieldId':_0x15d2eb[_0x5a6542(0xea)],'tableFieldId':_0x15d2eb['getId'](),'displayName':_0x15d2eb['getDisplayName']()});});const _0x37b192=[];if(_0x4497f2[_0x197758(0x29b)](_0x4cc34c[_0x197758(0x9c)],_0x4fce93=>{const _0x138b2c=_0x197758;_0x37b192[_0x138b2c(0x1a3)]({'dataFieldId':_0x4fce93['dataFieldId'],'tableFieldId':_0x4fce93['getId'](),'displayName':_0x4fce93[_0x138b2c(0x16f)](),'format':_0x4fce93[_0x138b2c(0x30a)](),'subTotalType':_0x4fce93['getSubtotal']()});}),_0x37b192[_0x197758(0xff)]>0x1){const _0x286752=_0x4497f2[_0x197758(0x125)]();(_0x4497f2[_0x197758(0x109)]()?_0x34afd3:_0x27aaa1)[_0x197758(0x1c1)](_0x286752,0x0,{'dataFieldId':'','tableFieldId':_0x197758(0x240),'displayName':'ΣValue'});}const _0x2a5a61=[];_0x4497f2[_0x197758(0x29b)](_0x4cc34c[_0x197758(0x1aa)],_0x2c56d8=>{const _0x5ca047=_0x197758;_0x2a5a61['push']({'dataFieldId':_0x2c56d8[_0x5ca047(0xea)],'tableFieldId':_0x2c56d8[_0x5ca047(0xf5)](),'displayName':_0x2c56d8['getDisplayName']()});});const _0x3b56b8=_0x5e044b['sourceRangeInfo'];return{'sourceList':_0x47b15a,'sourceRange':_0x3b56b8,'rowFields':_0x27aaa1,'columnFields':_0x34afd3,'valueFields':_0x37b192,'filterFields':_0x2a5a61,'positionInfo':_0x5e044b[_0x197758(0xb1)]};}function fo(_0x3111ed,_0x1f60fa,_0x5ae5ce='',_0x2d42af={}){const _0x16103b=_0x1675c1,_0x5da691=_0x3111ed[_0x16103b(0x2e9)](_0x7abaf8);for(const _0x44b645 in _0x1f60fa)if(Object[_0x16103b(0x2ab)][_0x16103b(0xb2)][_0x16103b(0x18f)](_0x1f60fa,_0x44b645)){const _0x4c71c6=_0x5ae5ce?_0x5ae5ce+'.'+_0x44b645:_0x44b645;typeof _0x1f60fa[_0x44b645]==_0x16103b(0x2c1)&&_0x1f60fa[_0x44b645]!==null&&!Array['isArray'](_0x1f60fa[_0x44b645])?fo(_0x3111ed,_0x1f60fa[_0x44b645],_0x4c71c6,_0x2d42af):_0x2d42af[_0x4c71c6]=_0x5da691['t'](_0x4c71c6);}return _0x2d42af;}const Lt=_0x3187ba=>{const _0x131142=_0x1675c1;if(!_0x3187ba)return[];const {rowRanges:_0xbbdfc,colRanges:_0x208e14,cornerRanges:_0x5b6a97,dataRanges:_0x37d0a0,pageRanges:_0x2c2273}=_0x3187ba,_0x21269b=[..._0x208e14,..._0xbbdfc,..._0x37d0a0,..._0x5b6a97][_0x131142(0x29a)](_0x41bff8=>_0x41bff8['startRow']>=0x0&&_0x41bff8[_0x131142(0x16d)]>=0x0&&_0x41bff8[_0x131142(0x138)]>=0x0&&_0x41bff8[_0x131142(0xa1)]>=0x0);let _0x328a5d=Number[_0x131142(0x154)],_0x1099cd=Number[_0x131142(0x2a0)],_0x1b5587=Number[_0x131142(0x154)],_0x25a696=Number['MIN_SAFE_INTEGER'];for(let _0x5e5fef=0x0;_0x5e5fef<_0x21269b['length'];_0x5e5fef++)_0x328a5d=Math[_0x131142(0xb6)](_0x328a5d,_0x21269b[_0x5e5fef][_0x131142(0x21c)]),_0x1099cd=Math[_0x131142(0x224)](_0x1099cd,_0x21269b[_0x5e5fef][_0x131142(0x138)]),_0x1b5587=Math['min'](_0x1b5587,_0x21269b[_0x5e5fef][_0x131142(0x16d)]),_0x25a696=Math[_0x131142(0x224)](_0x25a696,_0x21269b[_0x5e5fef][_0x131142(0xa1)]);return[..._0x2c2273,{'startRow':_0x328a5d,'endRow':_0x1099cd,'startColumn':_0x1b5587,'endColumn':_0x25a696}];};function Bi(_0x85ff1f,_0x3c7a35){const _0x5cd972=_0x1675c1,_0x57c92e=_0x3c7a35[_0x5cd972(0xa2)]['drillDown'],{pivotTableId:_0x1af21c,unitId:_0x291584,subUnitId:_0x140524}=_0x3c7a35;if(!_0x57c92e)return;const _0x8c4c92=_0x85ff1f['get'](G),_0x30e1ef=_0x8c4c92[_0x5cd972(0x220)](_0x1af21c),_0x1ff202=_0x8c4c92[_0x5cd972(0x14e)](_0x291584,_0x140524,_0x1af21c);if(!_0x30e1ef||!_0x1ff202)return;const _0x21a8d9=_0x30e1ef[_0x5cd972(0x1c3)](_0x57c92e[_0x5cd972(0x229)]);if(!(_0x21a8d9!=null&&_0x21a8d9[_0x5cd972(0xff)]))return;const _0x34354a=_0x1ff202['sourceRangeInfo'],{unitId:_0xbec705,subUnitId:_0x487235,range:_0x3774b3}=_0x34354a;let _0x53e6fa=0x0;const _0x1cd1c3=_0x30e1ef['dataFieldsCollection'][_0x5cd972(0x2eb)]()[_0x5cd972(0x2a5)]((_0x12bbcd,_0x29eeef)=>{const _0x2cbe8a=_0x5cd972;var _0x5ba6f3;const _0x2f7273=(_0x5ba6f3=_0x30e1ef['getDataFieldByDataFieldId'](_0x29eeef))==null?void 0x0:_0x5ba6f3[_0x2cbe8a(0x107)]();return _0x2f7273&&(_0x12bbcd[String(_0x53e6fa)]=_0x2f7273),_0x53e6fa++,_0x12bbcd;},{});return{'indexes':_0x21a8d9,'range':_0x3774b3,'sourceUnitId':_0xbec705,'sourceSubUnitId':_0x487235,'formatMap':_0x1cd1c3};}function jo(_0x107416,_0x2d6629){const _0x2b6c96=_0x1675c1;if(!_0x107416||!_0x2d6629)return!0x0;const _0x127ceb=_0x41d392(zo,$o),_0x469520=new Function(_0x2b6c96(0x2de)+_0x127ceb)()(_0x107416,_0x2d6629)[_0x2b6c96(0x12a)],_0x4c5eea=_0x1d0a9e(_0x469520,'sf',Ao);return!((_0x469520==null?void 0x0:_0x469520['rt'])===_0x316ecc[_0x2b6c96(0x2f4)]&&!_0x4c5eea);}function go(_0x58c54c,_0x29eb96,_0x3d8349){const _0x25418b=_0x1675c1,_0x6439d5={'count':_0x58c54c,'timeValid':!0x1};if(!_0x29eb96||!_0x3d8349)return _0x6439d5;const _0x3b7edb=_0x41d392(zo,$o),_0x38b174=new Function('return\x20'+_0x3b7edb)()(_0x29eb96,_0x3d8349);if(_0x38b174!=null&&_0x38b174[_0x25418b(0xeb)]){const _0x4b94b3=_0x38b174[_0x25418b(0x12a)],_0x24de88=_0x1d0a9e(_0x4b94b3,'sf',Ao);return{'count':_0x2196c0(_0x4b94b3,_0x24de88,_0x25418b(0x191),_0x58c54c,_0x58c54c,0x0),'timeValid':_0x24de88};}return _0x6439d5;}function Ko(_0x56c53d,_0x488f15,_0x428961,_0x981691){const _0x236dfb=_0x1675c1,_0x207044={'subUnitId':_0x428961,'unitId':_0x488f15,'cellValue':_0x2f9bd8(_0x981691)},_0x40d057=_0x59cfd4(_0x56c53d,_0x207044);let _0x429e6a=!0x1;return new _0x1d8f59(_0x40d057[_0x236dfb(0x23e)])[_0x236dfb(0xa0)]((_0x35706a,_0x50cc22,_0x5a27d9)=>{if(!_0x429e6a&&_0x5a27d9&&(_0x5a27d9['custom']||_0x5a27d9['f']||_0x5a27d9['p']||_0x5a27d9['s']||_0x5a27d9['si']||_0x5a27d9['t']||_0x5a27d9['v']))return _0x429e6a=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x3f552b['id'],'params':_0x40d057},'setRangeValueRedoMutation':{'id':_0x3f552b['id'],'params':_0x207044},'shouldClear':_0x429e6a};}function Ai(_0x48f953){const {row:_0x154410,col:_0x3c8963}=_0x48f953,_0x16dacc={'startRow':_0x154410,'endRow':_0x154410,'startColumn':_0x3c8963,'endColumn':_0x3c8963},_0x195163={'startRow':_0x154410+0x2,'endRow':_0x154410+0xe,'startColumn':_0x3c8963,'endColumn':_0x3c8963+0x6};return[_0x16dacc,_0x195163];}function Wi(_0x42725f,_0x582bb3,_0x4f99db){const _0x4df1d8=_0x1675c1,{cornerView:_0x59f9aa,rowView:_0x26d7fc,colView:_0x21cac3,pageView:_0x1f9927}=_0x42725f,{row:_0x2cab10,col:_0x20960f}=_0x582bb3;if(_0x4f99db)return{'rowCount':bi+_0x2cab10,'colCount':Si+_0x20960f};const _0x87e6eb=_0x1f9927[_0x4df1d8(0x2b5)]>-0x1?_0x1f9927['lastRow']+0x1:0x0,_0x202708=_0x1f9927[_0x4df1d8(0x1d1)]>-0x1?_0x1f9927[_0x4df1d8(0x1d1)]:0x0,_0x4c8fe1=_0x2cab10+_0x87e6eb+(_0x87e6eb?0x1:0x0)+_0x59f9aa[_0x4df1d8(0x297)]+_0x26d7fc['rowCount'],_0x3b6628=_0x20960f+_0x202708,_0x4868a5=_0x20960f+_0x59f9aa[_0x4df1d8(0x285)]+_0x21cac3[_0x4df1d8(0x285)],_0x5147b4=Math[_0x4df1d8(0x224)](_0x3b6628,_0x4868a5);return{'rowCount':_0x4c8fe1,'colCount':_0x5147b4};}function we(_0xf7d4aa,_0x151332,_0x237848,_0x1228f0){const _0x3fa030=_0x1675c1,{row:_0xae0909,col:_0x152658,unitId:_0x2d9ab3,subUnitId:_0xb2d8a7}=_0x237848,_0x263d2a=Wi(_0x151332,{'row':_0xae0909,'col':_0x152658},_0x1228f0),_0x4d7f17=_0xf7d4aa['get'](_0x146954),_0x15f889=_0x2075c9(_0x4d7f17,{'unitId':_0x2d9ab3,'subUnitId':_0xb2d8a7}),_0x130768=[],_0x2468c6=[];if(!_0x15f889)return{'undos':_0x2468c6,'redos':_0x130768};const {worksheet:_0x4f280c}=_0x15f889,_0x60d108=_0x4f280c[_0x3fa030(0x113)](),_0x1fd0fb=_0x4f280c[_0x3fa030(0xe4)]();return _0x60d108<_0x263d2a[_0x3fa030(0x297)]&&(_0x130768[_0x3fa030(0x1a3)]({'id':_0x324b38['id'],'params':{'unitId':_0x2d9ab3,'subUnitId':_0xb2d8a7,'range':{'startRow':_0x60d108,'endRow':_0x263d2a[_0x3fa030(0x297)]-0x1,'startColumn':0x0,'endColumn':_0x1fd0fb-0x1}}}),_0x2468c6[_0x3fa030(0x1a3)]({'id':_0x1bb17f['id'],'params':{'unitId':_0x2d9ab3,'subUnitId':_0xb2d8a7,'range':{'startRow':_0x60d108,'endRow':_0x263d2a[_0x3fa030(0x297)]-0x1,'startColumn':0x0,'endColumn':_0x1fd0fb-0x1}}})),_0x1fd0fb<_0x263d2a['colCount']&&(_0x130768[_0x3fa030(0x1a3)]({'id':_0x2e534e['id'],'params':{'unitId':_0x2d9ab3,'subUnitId':_0xb2d8a7,'range':{'startRow':0x0,'endRow':_0x60d108-0x1,'startColumn':_0x1fd0fb,'endColumn':_0x263d2a[_0x3fa030(0x285)]-0x1}}}),_0x2468c6[_0x3fa030(0x1a3)]({'id':_0x4f9e18['id'],'params':{'unitId':_0x2d9ab3,'subUnitId':_0xb2d8a7,'range':{'startRow':0x0,'endRow':_0x60d108-0x1,'startColumn':_0x1fd0fb,'endColumn':_0x263d2a[_0x3fa030(0x285)]-0x1}}})),{'undos':_0x2468c6,'redos':_0x130768};}function ki(_0x169f6b){let _0x5884d2=0x0;for(let _0x4dd047=0x0;_0x4dd047<_0x169f6b['length'];_0x4dd047++){const _0x1ba1d5=_0x169f6b['charCodeAt'](_0x4dd047);_0x1ba1d5>=0x4e00&&_0x1ba1d5<=0x9fff||_0x1ba1d5>=0x3000&&_0x1ba1d5<=0x303f||_0x1ba1d5>=0xff00&&_0x1ba1d5<=0xffef?_0x5884d2+=0x2:_0x5884d2+=0x1;}return _0x5884d2;}function To(_0x59c9fb,_0x3a8693,_0x2a9312,_0x43ff01){const _0x289955=_0x1675c1;var _0x4623ee,_0x5e8ca6,_0x441d44,_0x1eebc3;const {rowCount:_0xc20e54,colCount:_0x1ddffe,headerMap:_0x19d440}=_0x59c9fb,_0x3c57a1=0x64,_0x5a5cde=Math['min'](_0xc20e54,_0x3c57a1),_0x463137=Math[_0x289955(0xb6)](_0x1ddffe,_0x3c57a1);let _0x24c5a1='',_0x7c3ca7=0x0;for(let _0x1c9bce=0x0;_0x1c9bce<_0x5a5cde;_0x1c9bce++)for(let _0x3e70eb=0x0;_0x3e70eb<_0x463137;_0x3e70eb++){const _0x5a4c63={...(_0x5e8ca6=(_0x4623ee=_0x59c9fb[_0x289955(0x235)])==null?void 0x0:_0x4623ee[_0x1c9bce])==null?void 0x0:_0x5e8ca6[_0x3e70eb]},_0x37c7c1=(_0x441d44=_0x19d440[_0x1c9bce])==null?void 0x0:_0x441d44[_0x289955(0x1e6)],_0x44b1f4=_0x43ff01[_0x37c7c1];let _0x8f6b49=_0x59c9fb['getValue'](_0x1c9bce,_0x3e70eb);if(_0x5a4c63){const _0x36a352=_0x2a9312?_0x3e70eb===0x0&&((_0x1eebc3=_0x59c9fb['getHeaderMapItem'](_0x3e70eb+0x1))==null?void 0x0:_0x1eebc3[_0x289955(0x2cf)]):!0x1;_0x8f6b49=vt(_0x5a4c63,_0x36a352,_0x44b1f4,_0x3a8693);}if(_0x8f6b49!==void 0x0){const _0x420794=ki(String(_0x8f6b49));_0x7c3ca7<_0x420794&&(_0x24c5a1=String(_0x8f6b49),_0x7c3ca7=_0x420794);}}return _0x24c5a1;}function Li(_0x1f3ec2){const {rowCount:_0x2fbaba,colCount:_0x16e07d}=_0x1f3ec2;let _0x1975c2='',_0x17c4bf=0x0;for(let _0x5ddfee=_0x2fbaba-0x1;_0x5ddfee>0x0&&_0x5ddfee>_0x2fbaba-0x3;_0x5ddfee--)for(let _0x897067=0x0;_0x897067<_0x16e07d;_0x897067++){const _0xa09a67=_0x1f3ec2['getValue'](_0x5ddfee,_0x897067);if(_0xa09a67!==void 0x0){const _0x3a45e4=String(_0xa09a67)['length'];_0x17c4bf<_0x3a45e4&&(_0x1975c2=String(_0xa09a67),_0x17c4bf=_0x3a45e4);}}return _0x1975c2;}function Gi(_0x636728){const _0x33da54=_0x1675c1,{rowCount:_0x477a3d,colCount:_0x69c9aa}=_0x636728;let _0x45528a='',_0x1a1623=0x0;for(let _0x12342e=0x0;_0x12342e<_0x477a3d;_0x12342e++)for(let _0x22b36e=0x0;_0x22b36e<_0x69c9aa;_0x22b36e++){const _0x39d42c=_0x636728[_0x33da54(0x22e)](_0x12342e,_0x22b36e);if(_0x39d42c!==void 0x0){const _0x1a5dff=String(_0x39d42c)[_0x33da54(0xff)];_0x1a1623<_0x1a5dff&&(_0x45528a=String(_0x39d42c),_0x1a1623=_0x1a5dff);}}return _0x45528a;}function $i(_0x1c9369,_0x32d59c){const _0x44e4ee=_0x1675c1,{rowFields:_0x5a5026,columnFields:_0x52a0cc,valueFields:_0xbf06df,filterFields:_0x60b940,dimension:_0x292913,measure:_0x26f374}=_0x32d59c;for(const _0x3f8486 of _0x5a5026){const _0x335358=_0x292913[_0x3f8486];_0x335358&&_0x1c9369[_0x44e4ee(0x232)](_0x335358[_0x44e4ee(0xea)])&&(_0x1c9369[_0x44e4ee(0x171)](_0x335358[_0x44e4ee(0xea)],_0x4cc34c[_0x44e4ee(0x1e1)],void 0x0,_0x3f8486),_0x335358[_0x44e4ee(0x309)]&&_0x1c9369[_0x44e4ee(0x311)](_0x335358['id'],_0x335358['displayName']),_0x335358['sortInfo']&&_0x1c9369['setSortInfo'](_0x335358['id'],_0x335358[_0x44e4ee(0x1da)]),_0x335358[_0x44e4ee(0x15f)]&&_0x1c9369[_0x44e4ee(0xba)](_0x335358['id'],_0x335358['filterInfo']));}for(const _0x28d27d of _0x52a0cc){const _0x1568b9=_0x292913[_0x28d27d];_0x1568b9&&_0x1c9369[_0x44e4ee(0x232)](_0x1568b9[_0x44e4ee(0xea)])&&(_0x1c9369[_0x44e4ee(0x171)](_0x1568b9[_0x44e4ee(0xea)],_0x4cc34c[_0x44e4ee(0x258)],void 0x0,_0x28d27d),_0x1568b9[_0x44e4ee(0x1da)]&&_0x1c9369[_0x44e4ee(0x17b)](_0x1568b9['id'],_0x1568b9[_0x44e4ee(0x1da)]),_0x1568b9[_0x44e4ee(0x15f)]&&_0x1c9369['setLabelFilterInfo'](_0x1568b9['id'],_0x1568b9[_0x44e4ee(0x15f)]),_0x1568b9[_0x44e4ee(0x309)]&&_0x1c9369[_0x44e4ee(0x311)](_0x1568b9['id'],_0x1568b9[_0x44e4ee(0x309)]));}for(const _0x61b715 of _0x60b940){const _0x458bc7=_0x292913[_0x61b715];_0x458bc7&&_0x1c9369[_0x44e4ee(0x232)](_0x458bc7['dataFieldId'])&&(_0x1c9369[_0x44e4ee(0x171)](_0x458bc7[_0x44e4ee(0xea)],_0x4cc34c[_0x44e4ee(0x1aa)],void 0x0,_0x61b715),_0x458bc7['sortInfo']&&_0x1c9369['setSortInfo'](_0x458bc7['id'],_0x458bc7[_0x44e4ee(0x1da)]),_0x458bc7[_0x44e4ee(0x15f)]&&_0x1c9369[_0x44e4ee(0xba)](_0x458bc7['id'],_0x458bc7[_0x44e4ee(0x15f)]),_0x458bc7[_0x44e4ee(0x309)]&&_0x1c9369['renameField'](_0x458bc7['id'],_0x458bc7[_0x44e4ee(0x309)]));}for(const _0x3abd7b of _0xbf06df){const _0x1121bc=_0x26f374[_0x3abd7b];_0x1121bc&&_0x1c9369['getDataFieldByDataFieldId'](_0x1121bc['dataFieldId'])&&(_0x1c9369[_0x44e4ee(0x171)](_0x1121bc[_0x44e4ee(0xea)],_0x4cc34c[_0x44e4ee(0x9c)],void 0x0,_0x3abd7b),_0x1121bc[_0x44e4ee(0xfa)]!==void 0x0&&_0x1c9369[_0x44e4ee(0x231)](_0x3abd7b,_0x1121bc[_0x44e4ee(0xfa)]),_0x1121bc[_0x44e4ee(0x1dd)]&&_0x1c9369[_0x44e4ee(0x308)](_0x3abd7b,_0x1121bc[_0x44e4ee(0x1dd)]),_0x1121bc[_0x44e4ee(0x309)]&&_0x1c9369[_0x44e4ee(0x311)](_0x1121bc['id'],_0x1121bc[_0x44e4ee(0x309)]));}const _0x320476=_0x32d59c[_0x44e4ee(0x15a)];for(const {fieldId:_0x1163a,filterInfo:_0x1330e5}of _0x320476)_0x1c9369[_0x44e4ee(0x23c)](_0x1163a,_0x1330e5);}function zi(_0x19a016,_0x2eeea4){const _0x112a3c=_0x1675c1,_0x287cdc=[];_0x2eeea4===_0x4cc34c[_0x112a3c(0x1e1)]&&_0x19a016[_0x112a3c(0x29b)](_0x4cc34c[_0x112a3c(0x1e1)],_0x3d40d0=>{const _0x155227=_0x112a3c;_0x287cdc[_0x155227(0x1a3)](_0x3d40d0[_0x155227(0xf5)]());}),_0x2eeea4===_0x4cc34c['Column']&&_0x19a016[_0x112a3c(0x29b)](_0x4cc34c[_0x112a3c(0x258)],_0x93e79f=>{_0x287cdc['push'](_0x93e79f['getId']());}),_0x2eeea4===_0x4cc34c[_0x112a3c(0x1aa)]&&_0x19a016[_0x112a3c(0x29b)](_0x4cc34c[_0x112a3c(0x1aa)],_0x30071d=>{const _0x22ac31=_0x112a3c;_0x287cdc[_0x22ac31(0x1a3)](_0x30071d[_0x22ac31(0xf5)]());}),_0x2eeea4===_0x4cc34c[_0x112a3c(0x9c)]&&_0x19a016[_0x112a3c(0x29b)](_0x4cc34c['Value'],_0xd37361=>{const _0x590df8=_0x112a3c;_0x287cdc[_0x590df8(0x1a3)](_0xd37361[_0x590df8(0xf5)]());}),_0x2eeea4===void 0x0&&_0x19a016['iterateField'](_0x2b22c2=>{const _0x4b0ac5=_0x112a3c;_0x287cdc[_0x4b0ac5(0x1a3)](_0x2b22c2['getId']());});const _0x53f80d=_0x287cdc[_0x112a3c(0xff)];for(let _0x1f36e5=_0x53f80d-0x1;_0x1f36e5>=0x0;_0x1f36e5--)_0x19a016[_0x112a3c(0x198)](_0x287cdc[_0x1f36e5]);const _0x4eeedb=_0x19a016[_0x112a3c(0x31d)]();for(const _0x109cc8 in _0x4eeedb)_0x19a016['removeValueFilterInfo'](_0x109cc8);}function Ji(_0x383fcd,_0x1fa622){const _0x469fa0=_0x1675c1,_0x467c9f=new Date(_0x48a5f7(_0x1fa622)),_0xc9edc=new Date(_0x48a5f7(_0x383fcd)),_0x1f9b43=_0x467c9f['getFullYear'](),_0x41aadf=_0xc9edc[_0x469fa0(0x237)](),_0x2eab06=_0x467c9f[_0x469fa0(0x277)](),_0x1d89f0=_0xc9edc[_0x469fa0(0x277)](),_0x12f4ec=_0x467c9f['getDate'](),_0x42135c=_0xc9edc['getDate'](),_0x554411=_0x1f9b43===_0x41aadf,_0x42fae8=_0x554411&&_0x2eab06===_0x1d89f0;return _0x554411&&_0x42fae8&&!(_0x42fae8&&_0x12f4ec===_0x42135c)?_0x2d6c66[_0x469fa0(0x12c)]:_0x554411&&!_0x42fae8?_0x2d6c66[_0x469fa0(0x2f1)]:_0x2d6c66['Year'];}function Ho(_0x353a47,_0x5575a1){const _0x3e16f9=_0x1675c1,_0x4bdd04=_0x353a47['get'](G)[_0x3e16f9(0x165)]();let _0x5ec479='';switch(_0x5575a1){case _0x2d6c66['YearMonthDate']:_0x5ec479=_0x4bdd04[_0x3e16f9(0x2c7)];break;case _0x2d6c66[_0x3e16f9(0x2f1)]:_0x5ec479=_0x4bdd04[_0x3e16f9(0x1ec)];break;case _0x2d6c66[_0x3e16f9(0x1a4)]:_0x5ec479=_0x4bdd04['sheets-pivot.dateGroup.year'];break;case _0x2d6c66[_0x3e16f9(0xc8)]:_0x5ec479=_0x4bdd04['sheets-pivot.dateGroup.month'];break;case _0x2d6c66[_0x3e16f9(0x2c3)]:_0x5ec479=_0x4bdd04['sheets-pivot.dateGroup.quarter'];break;case _0x2d6c66[_0x3e16f9(0x2c9)]:_0x5ec479=_0x4bdd04[_0x3e16f9(0x1a9)];break;case _0x2d6c66[_0x3e16f9(0x148)]:_0x5ec479=_0x4bdd04['sheets-pivot.dateGroup.hourMinute'];break;case _0x2d6c66[_0x3e16f9(0x1d4)]:_0x5ec479=_0x4bdd04[_0x3e16f9(0x13b)];break;case _0x2d6c66[_0x3e16f9(0x139)]:_0x5ec479=_0x4bdd04[_0x3e16f9(0xa7)];break;case _0x2d6c66[_0x3e16f9(0x1eb)]:_0x5ec479=_0x4bdd04[_0x3e16f9(0xec)];break;case _0x2d6c66[_0x3e16f9(0x1d3)]:_0x5ec479=_0x4bdd04[_0x3e16f9(0x2a8)];break;default:_0x5ec479='';break;}return _0x5ec479;}const qo=_0x1675c1(0x295),Mo={};var ji=Object['getOwnPropertyDescriptor'],Ki=(_0x272e08,_0x226078,_0x271283,_0x18efc9)=>{const _0x54fb64=_0x1675c1;for(var _0x5eb73c=_0x18efc9>0x1?void 0x0:_0x18efc9?ji(_0x226078,_0x271283):_0x226078,_0x30e790=_0x272e08[_0x54fb64(0xff)]-0x1,_0x560c22;_0x30e790>=0x0;_0x30e790--)(_0x560c22=_0x272e08[_0x30e790])&&(_0x5eb73c=_0x560c22(_0x5eb73c)||_0x5eb73c);return _0x5eb73c;},at=(_0x3b39a4,_0x5777a8)=>(_0x4e16c2,_0x548f9f)=>_0x5777a8(_0x4e16c2,_0x548f9f,_0x3b39a4);let ve=class extends _0x5334b7{constructor(_0x52ea02,_0x28d801,_0x18bfef,_0x248985,_0x5dfb96){const _0x29b56b=_0x1675c1;super(),U(this,_0x29b56b(0x21a),new Map()),U(this,_0x29b56b(0x26d),new Map()),U(this,_0x29b56b(0x233),new Map()),U(this,_0x29b56b(0x120),new Map()),U(this,_0x29b56b(0xf2),new _0x265f85()),U(this,_0x29b56b(0x2d6),new _0x265f85()),U(this,_0x29b56b(0xfc),this[_0x29b56b(0x2d6)][_0x29b56b(0x206)]()),U(this,_0x29b56b(0x1f9),new _0x265f85()),U(this,_0x29b56b(0x1ed),this[_0x29b56b(0x1f9)][_0x29b56b(0x206)]()),U(this,'_textInfo',{}),U(this,_0x29b56b(0x1a2),this[_0x29b56b(0xf2)][_0x29b56b(0x206)]()),(this[_0x29b56b(0x312)]=_0x52ea02,this[_0x29b56b(0x25d)]=_0x28d801,this[_0x29b56b(0x27f)]=_0x18bfef,this[_0x29b56b(0xcb)]=_0x248985,this[_0x29b56b(0x17a)]=_0x5dfb96,this[_0x29b56b(0xf8)](),this['_initUnitDisposed']());const _0x25de10=this[_0x29b56b(0x17a)][_0x29b56b(0x1dc)](qo);(_0x25de10==null?void 0x0:_0x25de10[_0x29b56b(0x250)])===!0x0&&this['_initSnapshot']();}[_0x1675c1(0x29f)](){const _0x96a65c=_0x1675c1;this[_0x96a65c(0x1ea)](this[_0x96a65c(0x27f)][_0x96a65c(0x256)](_0x34c5bf[_0x96a65c(0x1f3)])[_0x96a65c(0x1b1)](_0x412945=>{const _0x2e9139=_0x96a65c;this[_0x2e9139(0x161)](_0x412945[_0x2e9139(0xc2)]());}));}[_0x1675c1(0x24f)](){const _0x561867=_0x1675c1;this[_0x561867(0x2d6)][_0x561867(0x294)](!0x0);}[_0x1675c1(0xf8)](){const _0x2754bf=_0x1675c1,_0x1bd3f1=fo(this[_0x2754bf(0x312)],ko,'',{});this['_textInfo']=_0x1bd3f1,this[_0x2754bf(0x25d)][_0x2754bf(0x2e1)](uo['id'],{'textInfo':_0x1bd3f1},{'onlyLocal':!0x0});}[_0x1675c1(0x165)](){const _0x2919f7=_0x1675c1;return this[_0x2919f7(0x1a6)];}[_0x1675c1(0x201)](_0x27c560,_0x587e3c,_0x4a50a2,_0x3f1e46,_0x187747){const _0x1a212d=_0x1675c1;this[_0x1a212d(0xf7)](_0x27c560,_0x587e3c,_0x4a50a2,_0x3f1e46),this[_0x1a212d(0x214)](_0x27c560,_0x587e3c,_0x4a50a2,_0x187747);}[_0x1675c1(0x14e)](_0x46c66d,_0x4c0894,_0x5294c6){const _0x274381=_0x1675c1;var _0x24a06c;const _0x1f461c=(_0x24a06c=this[_0x274381(0x21a)]['get'](_0x46c66d))==null?void 0x0:_0x24a06c[_0x274381(0x2e9)](_0x4c0894);if(_0x1f461c)return _0x1f461c[_0x274381(0x2e9)](_0x5294c6);}['getTargetByPivotTableId'](_0x2d70b2,_0x41b89c){const _0x3d9a51=_0x1675c1,_0x19ad07=this[_0x3d9a51(0x21a)][_0x3d9a51(0x2e9)](_0x2d70b2);if(_0x19ad07){for(const [_0x582ccd,_0x40430f]of _0x19ad07[_0x3d9a51(0xa8)]())for(const [_0x225a26,_0x3cf308]of _0x40430f['entries']())if(_0x225a26===_0x41b89c)return _0x3cf308[_0x3d9a51(0xb1)];}}[_0x1675c1(0x209)](_0x26f87e,_0x1cf25f,_0x3e9543){const _0x5c802e=_0x1675c1,_0x22a0f3=this[_0x5c802e(0x14e)](_0x26f87e,_0x1cf25f,_0x3e9543);return _0x22a0f3==null?void 0x0:_0x22a0f3['targetCellInfo'];}['getSubUnitPivotConfigs'](_0x5020a4,_0x74cb1b){const _0x1f13b0=_0x1675c1;var _0x41ae6d;return(_0x41ae6d=this[_0x1f13b0(0x21a)][_0x1f13b0(0x2e9)](_0x5020a4))==null?void 0x0:_0x41ae6d[_0x1f13b0(0x2e9)](_0x74cb1b);}[_0x1675c1(0x283)](_0x21165a,_0x1ab668,_0x3371a6,_0x76023e){const _0xe23216=_0x1675c1,_0x591195=this['_ensurePivotMap'](_0x21165a,_0x1ab668);_0x76023e?_0x591195[_0xe23216(0x21f)](_0x3371a6,_0x76023e):_0x591195['delete'](_0x3371a6),this['_pivotConfigChange$']['next']({'unitId':_0x21165a,'subUnitId':_0x1ab668,'pivotTableId':_0x3371a6,'pivotTableConfig':_0x76023e});}[_0x1675c1(0x28b)](_0x30ea9b,_0x3a3e5f){const _0x4873f5=_0x1675c1;var _0x5964c4;return(_0x5964c4=this[_0x4873f5(0x26d)]['get'](_0x30ea9b))==null?void 0x0:_0x5964c4['collections'][_0x3a3e5f];}[_0x1675c1(0x314)](_0x58644a,_0x2e6154){const _0x46f37d=_0x1675c1;this['_collectionConfigModel'][_0x46f37d(0x21f)](_0x58644a,_0x2e6154),this[_0x46f37d(0xf2)][_0x46f37d(0x294)](Math['random']());}[_0x1675c1(0x288)](_0x39906c,_0x3fcd5f){const _0x5c611a=_0x1675c1;let _0x151849=this[_0x5c611a(0x21a)][_0x5c611a(0x2e9)](_0x39906c);_0x151849||(_0x151849=new Map(),this[_0x5c611a(0x21a)][_0x5c611a(0x21f)](_0x39906c,_0x151849));let _0x2c6465=_0x151849[_0x5c611a(0x2e9)](_0x3fcd5f);return _0x2c6465||(_0x2c6465=new Map(),_0x151849['set'](_0x3fcd5f,_0x2c6465)),_0x2c6465;}[_0x1675c1(0x1b6)](_0x4ccd2a,_0x453a51){const _0x20a873=_0x1675c1;let _0x353e7b=this[_0x20a873(0x233)][_0x20a873(0x2e9)](_0x4ccd2a);_0x353e7b||(_0x353e7b=new Map(),this[_0x20a873(0x233)][_0x20a873(0x21f)](_0x4ccd2a,_0x353e7b));let _0x4d7e00=_0x353e7b['get'](_0x453a51);return _0x4d7e00||(_0x4d7e00=new Map(),_0x353e7b[_0x20a873(0x21f)](_0x453a51,_0x4d7e00)),_0x4d7e00;}['_ensurePivotTableMatrixInfo'](_0x5679c8,_0x289bcc){const _0x42e329=_0x1675c1;let _0x14c2fe=this[_0x42e329(0x120)]['get'](_0x5679c8);_0x14c2fe||(_0x14c2fe=new Map(),this['_pivotTableMatrixInfo'][_0x42e329(0x21f)](_0x5679c8,_0x14c2fe));let _0x564f50=_0x14c2fe['get'](_0x289bcc);return _0x564f50||(_0x564f50=new Map(),_0x14c2fe[_0x42e329(0x21f)](_0x289bcc,_0x564f50)),_0x564f50;}[_0x1675c1(0x214)](_0x378fe3,_0x19e9e2,_0x1a78f2,_0x42b2dc){const _0x1f1703=_0x1675c1;var _0x591043;const _0x34905f=this['_ensurePivotTableRangeInfo'](_0x378fe3,_0x19e9e2),_0x5f2ce2=(_0x591043=_0x34905f['get'](_0x1a78f2))==null?void 0x0:_0x591043[_0x1f1703(0x1e4)];_0x34905f[_0x1f1703(0x21f)](_0x1a78f2,{'oldRangeInfo':_0x5f2ce2,'rangeInfo':_0x42b2dc});}[_0x1675c1(0xf7)](_0x1b0db6,_0x5d1398,_0x14bbe8,_0x36569d){const _0x4b1c9d=_0x1675c1;var _0x1d5a42;const _0x34adbc=this[_0x4b1c9d(0x263)](_0x1b0db6,_0x5d1398),_0x1a3f4c=(_0x1d5a42=_0x34adbc[_0x4b1c9d(0x2e9)](_0x14bbe8))==null?void 0x0:_0x1d5a42[_0x4b1c9d(0xad)];_0x34adbc[_0x4b1c9d(0x21f)](_0x14bbe8,{'oldMatrix':_0x1a3f4c,'matrix':_0x36569d});}['getPivotTableRangeInfo'](_0x533000,_0x1349c3,_0x6e3be2){const _0x4dddf1=_0x1675c1;var _0x5794d0,_0xdec4d0;return(_0xdec4d0=(_0x5794d0=this[_0x4dddf1(0x233)][_0x4dddf1(0x2e9)](_0x533000))==null?void 0x0:_0x5794d0['get'](_0x1349c3))==null?void 0x0:_0xdec4d0[_0x4dddf1(0x2e9)](_0x6e3be2);}[_0x1675c1(0x17d)](_0x651759,_0x14ddd4,_0x2ab8fd){const _0x3264dd=_0x1675c1;var _0x1b5f7f,_0x3e99c6;return(_0x3e99c6=(_0x1b5f7f=this[_0x3264dd(0x120)][_0x3264dd(0x2e9)](_0x651759))==null?void 0x0:_0x1b5f7f[_0x3264dd(0x2e9)](_0x14ddd4))==null?void 0x0:_0x3e99c6['get'](_0x2ab8fd);}[_0x1675c1(0x161)](_0x1261a6){const _0x1df37b=_0x1675c1;this[_0x1df37b(0x21a)][_0x1df37b(0x30d)](_0x1261a6),this[_0x1df37b(0x26d)][_0x1df37b(0x30d)](_0x1261a6);}[_0x1675c1(0x10e)](_0x450ef9){const _0x2a1cce=_0x1675c1,_0x3af476={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2a1cce(0x26d)][_0x2a1cce(0x2e9)](_0x450ef9)&&(_0x3af476['dataFieldManagerConfig'][_0x450ef9]=this[_0x2a1cce(0x26d)][_0x2a1cce(0x2e9)](_0x450ef9)),this[_0x2a1cce(0x21a)]['get'](_0x450ef9)){_0x3af476[_0x2a1cce(0x210)][_0x450ef9]={};const _0xff3bac=this['_model']['get'](_0x450ef9);_0xff3bac!=null&&_0xff3bac[_0x2a1cce(0xb5)]&&[..._0xff3bac[_0x2a1cce(0x121)]()][_0x2a1cce(0x2ef)](_0x3bbd3b=>{const _0x3670d5=_0x2a1cce,_0x56b73b=_0xff3bac[_0x3670d5(0x2e9)](_0x3bbd3b);_0x56b73b!=null&&_0x56b73b[_0x3670d5(0xb5)]&&(_0x3af476[_0x3670d5(0x210)][_0x450ef9][_0x3bbd3b]={},[..._0x56b73b[_0x3670d5(0x121)]()][_0x3670d5(0x2ef)](_0x1d835e=>{const _0x5e453c=_0x3670d5,_0x2fbcb6=_0x56b73b['get'](_0x1d835e);_0x2fbcb6&&(_0x3af476[_0x5e453c(0x210)][_0x450ef9][_0x3bbd3b][_0x1d835e]=_0x2fbcb6);}));});}return _0x3af476;}[_0x1675c1(0x11b)](){const _0x4ce042=_0x1675c1;this['disposeWithMe'](this[_0x4ce042(0xcb)][_0x4ce042(0xbc)]({'toJson':_0x25d1f2=>JSON['stringify'](this['_toJSON'](_0x25d1f2)),'parseJson':_0x343449=>({}),'businesses':[_0x34c5bf[_0x4ce042(0x1f3)]],'pluginName':ao,'onLoad':(_0x1dad42,_0x420f76)=>{},'onUnLoad':_0x5940e3=>{const _0x1e6a9f=_0x4ce042;this[_0x1e6a9f(0x161)](_0x5940e3);}}));}};ve=Ki([at(0x0,_0x2fd05e(_0x854c25)),at(0x1,_0x2fd05e(_0x3408cd)),at(0x2,_0x2fd05e(_0x146954)),at(0x3,_0x2fd05e(_0x1c560e)),at(0x4,_0x2fd05e(_0xe8dcbb))],ve);var Hi=Object[_0x1675c1(0xd3)],qi=(_0x47fd6d,_0x44c0d3,_0x145562,_0x32e01e)=>{const _0x2470df=_0x1675c1;for(var _0x18d17f=_0x32e01e>0x1?void 0x0:_0x32e01e?Hi(_0x44c0d3,_0x145562):_0x44c0d3,_0x918a5d=_0x47fd6d[_0x2470df(0xff)]-0x1,_0x127e57;_0x918a5d>=0x0;_0x918a5d--)(_0x127e57=_0x47fd6d[_0x918a5d])&&(_0x18d17f=_0x127e57(_0x18d17f)||_0x18d17f);return _0x18d17f;},rt=(_0x14f6e2,_0xdd217b)=>(_0x373097,_0x232f51)=>_0xdd217b(_0x373097,_0x232f51,_0x14f6e2);let Ne=class extends _0x5334b7{constructor(_0x4d7b1b,_0x16bbfc,_0x566dcc,_0xc566af,_0x48d587){const _0x4781bd=_0x1675c1;super(),U(this,'_pivotRenderInfoCache',new Map()),U(this,'_pivotRenderValueMatrixCache',new Map()),U(this,_0x4781bd(0x2db),new _0x265f85()),U(this,_0x4781bd(0x2bc),this[_0x4781bd(0x2db)]['asObservable']()),U(this,_0x4781bd(0x2b2),new _0x265f85()),U(this,_0x4781bd(0x2ad),this[_0x4781bd(0x2b2)][_0x4781bd(0x206)]()),U(this,_0x4781bd(0x1a6)),(this[_0x4781bd(0xcf)]=_0x4d7b1b,this[_0x4781bd(0x312)]=_0x16bbfc,this['_sheetsPivotTableConfigModel']=_0x566dcc,this[_0x4781bd(0x27f)]=_0xc566af,this['_exclusiveRangeService']=_0x48d587,this[_0x4781bd(0xf8)](),this[_0x4781bd(0x29f)]());}[_0x1675c1(0x29f)](){const _0x4382fc=_0x1675c1;this[_0x4382fc(0x1ea)](this[_0x4382fc(0x27f)]['getTypeOfUnitDisposed$'](_0x34c5bf[_0x4382fc(0x1f3)])[_0x4382fc(0x1b1)](_0x505899=>{const _0x5d8fb4=_0x4382fc;this['deleteUnitId'](_0x505899[_0x5d8fb4(0xc2)]());}));}[_0x1675c1(0xf8)](){const _0x5c90a0=_0x1675c1;this[_0x5c90a0(0x1a6)]=fo(this[_0x5c90a0(0x312)],ko,'',{});}[_0x1675c1(0x25e)](_0x517dc4){const _0x298dc2=_0x1675c1,{view:_0x395118,unitId:_0x3f9414,subUnitId:_0x6eaa1f,pivotTableId:_0x322be5,type:_0x4f8b59}=_0x517dc4,_0x57e295=this[_0x298dc2(0x2d1)][_0x298dc2(0x14e)](_0x3f9414,_0x6eaa1f,_0x322be5);if(!_0x395118||!_0x57e295||_0x4f8b59===L[_0x298dc2(0x211)])return;const {pageView:_0x589d90,cornerView:_0x1b1c8e,rowView:_0x1eaef8,colView:_0x12b6ce,dataView:_0x4671e0}=_0x395118,_0x14b7e4=_0x57e295['targetCellInfo'],_0x5e403a=_0x57e295[_0x298dc2(0x22a)],_0x2a1d93=this[_0x298dc2(0x24d)](_0x3f9414,_0x6eaa1f),_0x308474=this[_0x298dc2(0x14a)](_0x3f9414,_0x6eaa1f,_0x322be5);if(_0x5e403a)return this[_0x298dc2(0x252)](_0x517dc4,_0x2a1d93,_0x14b7e4,_0x308474);{const _0x2a63bf=ge(_0x14b7e4,_0x589d90,!0x0),_0x4f9b1f=_0x589d90[_0x298dc2(0x2b5)]>=0x0?_0x589d90[_0x298dc2(0x2b5)]+0x1:0x0,_0xdec8ff=_0x1b1c8e[_0x298dc2(0x113)](),_0x57df6c=_0x1b1c8e[_0x298dc2(0x1f6)](),_0x309035=_0x2a63bf[_0x298dc2(0xff)]>0x0?It:0x0,_0x264b48=ge({'row':_0x14b7e4[_0x298dc2(0xcd)]+_0x4f9b1f+_0x309035,'col':_0x14b7e4[_0x298dc2(0x1d6)]},_0x1b1c8e,!0x1,!0x1),_0x564d53=ge({'row':_0x14b7e4[_0x298dc2(0xcd)]+_0x4f9b1f+_0x309035+_0xdec8ff,'col':_0x14b7e4[_0x298dc2(0x1d6)]},_0x1eaef8,!0x1,!0x0),_0x12e2e6=ge({'row':_0x14b7e4[_0x298dc2(0xcd)]+_0x4f9b1f+_0x309035,'col':_0x14b7e4[_0x298dc2(0x1d6)]+_0x57df6c},_0x12b6ce,!0x1,!0x0),_0x3e0489=ge({'row':_0x14b7e4[_0x298dc2(0xcd)]+_0x4f9b1f+_0x309035+_0xdec8ff,'col':_0x14b7e4['col']+_0x57df6c},_0x4671e0,!0x1,!0x1);_0x308474[_0x298dc2(0x189)]={'rowRanges':_0x564d53,'colRanges':_0x12e2e6,'cornerRanges':_0x264b48,'dataRanges':_0x3e0489,'pageRanges':_0x2a63bf};const _0xa2ca50=Mi(this[_0x298dc2(0x312)],_0x395118,_0x57e295,this[_0x298dc2(0x1a6)]),{valueMatrix:_0x53ac49,rowInfo:_0xfe730e,colInfo:_0x49a0b4,cornerInfo:_0x21abe8,rowHeaderMap:_0x58871b,colHeaderMap:_0xf91ab}=_0xa2ca50;return _0x308474[_0x298dc2(0xe9)]={'rowInfo':_0xfe730e,'colInfo':_0x49a0b4,'cornerInfo':_0x21abe8},_0x308474[_0x298dc2(0x1e8)]={'rowHeaderMap':_0x58871b,'colHeaderMap':_0xf91ab},_0x53ac49[_0x298dc2(0x2ef)]((_0x519ee6,_0x732098)=>{const _0x1e2dd7=_0x298dc2;Object[_0x1e2dd7(0x121)](_0x732098)[_0x1e2dd7(0x2ef)](_0x7fdd3a=>{const _0x37b53a=+_0x7fdd3a,_0x4cbc4e=_0x53ac49['getValue'](_0x519ee6,_0x37b53a);_0x2a1d93['setValue'](_0x519ee6,_0x37b53a,_0x4cbc4e);});}),this[_0x298dc2(0x2b2)][_0x298dc2(0x294)]({'unitId':_0x3f9414,'subUnitId':_0x6eaa1f,'valueMatrix':_0x2a1d93,'rangesCache':_0x308474['rangesInfo'],'pivotTableId':_0x322be5,'type':_0x517dc4[_0x298dc2(0x168)]}),this[_0x298dc2(0x2d1)][_0x298dc2(0x201)](_0x3f9414,_0x6eaa1f,_0x322be5,_0x2a1d93,_0x308474['rangesInfo']),this[_0x298dc2(0x117)][_0x298dc2(0x307)](_0x3f9414,_0x6eaa1f,Wt,this[_0x298dc2(0x1ae)](_0x308474[_0x298dc2(0x189)],_0x322be5)),{'rangeCache':_0x308474[_0x298dc2(0x189)],'matrix':_0x2a1d93};}}[_0x1675c1(0x252)](_0x295bcf,_0x2f1394,_0x33f7f3,_0x34a60c){const _0x37b992=_0x1675c1,_0x3dd612=this[_0x37b992(0xcf)]['t'],{unitId:_0x476fe4,subUnitId:_0x356ceb,pivotTableId:_0x2fb06f}=_0x295bcf,_0x2dd26f={'filter':_0x3dd612(_0x37b992(0x28c)),'row':_0x3dd612('sheets-pivot.emptyPivot.row'),'column':_0x3dd612('sheets-pivot.emptyPivot.column'),'values':_0x3dd612(_0x37b992(0x1cb))},{matrixCache:_0x4a6622,rangesCache:_0x373b8c}=Jo(_0x2dd26f,_0x33f7f3);return _0x4a6622[_0x37b992(0xa0)]((_0x2b2aff,_0x19fcfd,_0x5755ff)=>{const _0x548ee1=_0x37b992;_0x2f1394[_0x548ee1(0x2d0)](_0x2b2aff,_0x19fcfd,_0x5755ff);}),_0x34a60c['rangesInfo']=_0x373b8c,this[_0x37b992(0x2b2)][_0x37b992(0x294)]({'unitId':_0x476fe4,'subUnitId':_0x356ceb,'valueMatrix':_0x2f1394,'rangesCache':_0x373b8c,'pivotTableId':_0x2fb06f,'type':_0x295bcf[_0x37b992(0x168)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel']['updateViewInfo'](_0x476fe4,_0x356ceb,_0x2fb06f,_0x2f1394,_0x373b8c),this[_0x37b992(0x117)]['addExclusiveRange'](_0x476fe4,_0x356ceb,Wt,this[_0x37b992(0x1ae)](_0x373b8c,_0x2fb06f)),{'rangeCache':_0x34a60c[_0x37b992(0x189)],'matrix':_0x2f1394};}[_0x1675c1(0x1ae)](_0x16d174,_0x4d77e3){const _0x52a9b8=[],_0x556535=Lt(_0x16d174);for(const _0x33f698 of _0x556535)_0x52a9b8['push']({'groupId':_0x4d77e3,'range':_0x33f698});return _0x52a9b8;}['clearRenderCache'](_0x20a9ed){const _0x1483c6=_0x1675c1;var _0x476772,_0x56724b,_0x3776d3,_0x419e28;const {pivotTableId:_0x2e35e4,unitId:_0x134306,subUnitId:_0x190d46}=_0x20a9ed;if(!_0x2e35e4||!_0x134306||!_0x190d46)return;const _0x5f4a7b=this['_ensurePivotItemRenderValueMatrixCache'](_0x134306,_0x190d46),_0xbde0ac=(_0x56724b=(_0x476772=this[_0x1483c6(0xd0)][_0x1483c6(0x2e9)](_0x134306))==null?void 0x0:_0x476772[_0x1483c6(0x2e9)](_0x190d46))==null?void 0x0:_0x56724b[_0x1483c6(0x2e9)](_0x2e35e4);if(_0xbde0ac!=null&&_0xbde0ac[_0x1483c6(0x189)]){for(const _0x43a5ad of Object[_0x1483c6(0x121)](_0xbde0ac[_0x1483c6(0x189)]))_0xbde0ac[_0x1483c6(0x189)][_0x43a5ad]['forEach'](_0x2b5836=>{const _0x5ce384=_0x1483c6;for(let _0xad5dae=_0x2b5836[_0x5ce384(0x21c)];_0xad5dae<=_0x2b5836[_0x5ce384(0x138)];_0xad5dae++)for(let _0x17b504=_0x2b5836[_0x5ce384(0x16d)];_0x17b504<=_0x2b5836[_0x5ce384(0xa1)];_0x17b504++)_0x5f4a7b[_0x5ce384(0x152)](_0xad5dae,_0x17b504);});}_0xbde0ac&&((_0x419e28=(_0x3776d3=this[_0x1483c6(0xd0)][_0x1483c6(0x2e9)](_0x134306))==null?void 0x0:_0x3776d3[_0x1483c6(0x2e9)](_0x190d46))==null||_0x419e28[_0x1483c6(0x30d)](_0x2e35e4)),this['_viewUpdate$'][_0x1483c6(0x294)]({'unitId':_0x134306,'subUnitId':_0x190d46,'valueMatrix':_0x5f4a7b,'pivotTableId':_0x2e35e4,'rangesCache':void 0x0,'type':_0x20a9ed[_0x1483c6(0x168)]}),this['_exclusiveRangeService'][_0x1483c6(0xfb)](_0x134306,_0x190d46,Wt,_0x2e35e4);}[_0x1675c1(0x14a)](_0x180893,_0x402b17,_0x230568){const _0x79da30=_0x1675c1;var _0x3fbba0,_0x305a28,_0x10bce5,_0x22d110,_0x4884d5,_0x996fe6;return this['_pivotRenderInfoCache'][_0x79da30(0x1b4)](_0x180893)||this['_pivotRenderInfoCache'][_0x79da30(0x21f)](_0x180893,new Map()),(_0x3fbba0=this[_0x79da30(0xd0)][_0x79da30(0x2e9)](_0x180893))!=null&&_0x3fbba0[_0x79da30(0x1b4)](_0x402b17)||(_0x305a28=this[_0x79da30(0xd0)]['get'](_0x180893))==null||_0x305a28['set'](_0x402b17,new Map()),(_0x22d110=(_0x10bce5=this[_0x79da30(0xd0)][_0x79da30(0x2e9)](_0x180893))==null?void 0x0:_0x10bce5[_0x79da30(0x2e9)](_0x402b17))!=null&&_0x22d110['has'](_0x230568)||(_0x996fe6=(_0x4884d5=this[_0x79da30(0xd0)][_0x79da30(0x2e9)](_0x180893))==null?void 0x0:_0x4884d5[_0x79da30(0x2e9)](_0x402b17))==null||_0x996fe6[_0x79da30(0x21f)](_0x230568,{}),this[_0x79da30(0xd0)]['get'](_0x180893)[_0x79da30(0x2e9)](_0x402b17)[_0x79da30(0x2e9)](_0x230568);}[_0x1675c1(0x24d)](_0x1de067,_0x28bd88){const _0x573e06=_0x1675c1;var _0x1bac6c,_0x14cffe;return this[_0x573e06(0x2da)][_0x573e06(0x1b4)](_0x1de067)||this['_pivotRenderValueMatrixCache'][_0x573e06(0x21f)](_0x1de067,new Map()),(_0x1bac6c=this[_0x573e06(0x2da)]['get'](_0x1de067))!=null&&_0x1bac6c[_0x573e06(0x1b4)](_0x28bd88)||(_0x14cffe=this[_0x573e06(0x2da)][_0x573e06(0x2e9)](_0x1de067))==null||_0x14cffe[_0x573e06(0x21f)](_0x28bd88,new _0x1d8f59()),this[_0x573e06(0x2da)][_0x573e06(0x2e9)](_0x1de067)['get'](_0x28bd88);}['getPivotTableCellData'](_0x4bd704,_0x432533,_0x24e819,_0x183a2e){const _0x39090d=_0x1675c1;var _0xd4b28e,_0x31e914;const _0x817bd8=(_0x31e914=(_0xd4b28e=this[_0x39090d(0x2da)][_0x39090d(0x2e9)](_0x4bd704))==null?void 0x0:_0xd4b28e[_0x39090d(0x2e9)](_0x432533))==null?void 0x0:_0x31e914[_0x39090d(0x22e)](_0x24e819,_0x183a2e);if(_0x817bd8!=null)return _0x817bd8;}['getPivotTableIdByCell'](_0x578717,_0x4d64aa,_0x150ce3,_0xf28e70){const _0x3697ba=_0x1675c1;var _0x246b7e;const _0x58d55e=_0x34e162(_0x150ce3,_0xf28e70),_0x1954c5=(_0x246b7e=this[_0x3697ba(0xd0)]['get'](_0x578717))==null?void 0x0:_0x246b7e[_0x3697ba(0x2e9)](_0x4d64aa);return _0x1954c5?Array[_0x3697ba(0x2f9)](_0x1954c5[_0x3697ba(0x121)]())['find'](_0x597b34=>{const _0x267585=_0x3697ba,_0x3147a7=_0x1954c5[_0x267585(0x2e9)](_0x597b34),_0x22ea68=_0x3147a7==null?void 0x0:_0x3147a7[_0x267585(0x189)];return _0x22ea68?Object[_0x267585(0x121)](_0x22ea68)['some'](_0x44d661=>_0x22ea68[_0x44d661][_0x267585(0x2fc)](_0x16ca09=>_0x351caf[_0x267585(0x1af)](_0x16ca09,_0x58d55e))):!0x1;}):void 0x0;}[_0x1675c1(0xae)](_0x3b25e3,_0x3bd633,_0x35eb38){const _0x5bf183=_0x1675c1;var _0x46e8ec;const _0x4fad6a=(_0x46e8ec=this[_0x5bf183(0xd0)]['get'](_0x3b25e3))==null?void 0x0:_0x46e8ec[_0x5bf183(0x2e9)](_0x3bd633),_0xcd304e=[];return _0x4fad6a&&Array[_0x5bf183(0x2f9)](_0x4fad6a[_0x5bf183(0x121)]())[_0x5bf183(0x2ef)](_0x11fe27=>{const _0x27c1e7=_0x5bf183,_0x2c0649=_0x4fad6a[_0x27c1e7(0x2e9)](_0x11fe27),_0x34b38=_0x2c0649==null?void 0x0:_0x2c0649['rangesInfo'];if(_0x34b38)for(const _0x1a8d4b of Object[_0x27c1e7(0x13a)](_0x34b38)){let _0x25c1ec=!0x1;for(const _0x499b95 of _0x1a8d4b)if(_0x351caf[_0x27c1e7(0x1c8)](_0x499b95,_0x35eb38)){_0xcd304e[_0x27c1e7(0x1a3)](_0x11fe27),_0x25c1ec=!0x0;break;}if(_0x25c1ec)break;}}),_0xcd304e;}[_0x1675c1(0x25b)](_0x384efc,_0x5a5d35){const _0x2649e2=_0x1675c1;var _0x37c58a,_0x32a54f;return(_0x32a54f=(_0x37c58a=this['_pivotRenderValueMatrixCache'][_0x2649e2(0x2e9)](_0x384efc))==null?void 0x0:_0x37c58a['get'](_0x5a5d35))!=null?_0x32a54f:new _0x1d8f59();}[_0x1675c1(0x134)](_0x2d671c,_0x3b19ed){const _0x456f0b=_0x1675c1;var _0xf999f4;return(_0xf999f4=this[_0x456f0b(0xd0)]['get'](_0x2d671c))==null?void 0x0:_0xf999f4[_0x456f0b(0x2e9)](_0x3b19ed);}[_0x1675c1(0x124)](_0x595164,_0x2cf68a,_0x39b4e4){const _0x177016=_0x1675c1;var _0xaa370f,_0x5e75ea;return(_0x5e75ea=(_0xaa370f=this[_0x177016(0xd0)][_0x177016(0x2e9)](_0x595164))==null?void 0x0:_0xaa370f[_0x177016(0x2e9)](_0x2cf68a))==null?void 0x0:_0x5e75ea[_0x177016(0x2e9)](_0x39b4e4);}['deleteUnitId'](_0x532bd5){const _0x333eeb=_0x1675c1;this['_pivotRenderInfoCache']['delete'](_0x532bd5),this[_0x333eeb(0x2da)][_0x333eeb(0x30d)](_0x532bd5);}['markDirty'](_0x1945b,_0x3de256){const _0x4ebb74=_0x1675c1;this[_0x4ebb74(0x2db)][_0x4ebb74(0x294)]({'unitId':_0x1945b,'subUnitId':_0x3de256});}};Ne=qi([rt(0x0,_0x2fd05e(_0x7abaf8)),rt(0x1,_0x2fd05e(_0x854c25)),rt(0x2,_0x2fd05e(ve)),rt(0x3,_0x2fd05e(_0x146954)),rt(0x4,_0x2fd05e(_0x5dc596))],Ne);var Yi=Object['getOwnPropertyDescriptor'],Qi=(_0x108312,_0x37dc6b,_0x5e8b47,_0x4646af)=>{for(var _0x2e24d5=_0x4646af>0x1?void 0x0:_0x4646af?Yi(_0x37dc6b,_0x5e8b47):_0x37dc6b,_0xb7e6dd=_0x108312['length']-0x1,_0x1ec568;_0xb7e6dd>=0x0;_0xb7e6dd--)(_0x1ec568=_0x108312[_0xb7e6dd])&&(_0x2e24d5=_0x1ec568(_0x2e24d5)||_0x2e24d5);return _0x2e24d5;},yo=(_0x3abb16,_0x17ff86)=>(_0x1edf6d,_0x5b2f94)=>_0x17ff86(_0x1edf6d,_0x5b2f94,_0x3abb16);let ie=class extends _0x5334b7{constructor(_0x4b1560,_0x15e62a){const _0x23afae=_0x1675c1;super(),U(this,_0x23afae(0x1cf),new _0x1e1483({'PIVOT_PERFORM_CHECK':be})),U(this,_0x23afae(0xa5),new _0x102fa2({'PIVOT_MUTATION_GENERATE':Go})),(this['_sheetInterceptorService']=_0x4b1560,this[_0x23afae(0x140)]=_0x15e62a,this[_0x23afae(0x2b8)]());}[_0x1675c1(0x2b8)](){const _0x42061d=_0x1675c1;this[_0x42061d(0x24b)]();}['getPivotPerformCheck'](_0x1e7cb4){const _0x4c8ce5=_0x1675c1;return this[_0x4c8ce5(0x1cf)]['fetchThroughAsyncInterceptors'](be)(!0x1,_0x1e7cb4);}[_0x1675c1(0x24b)](){const _0x2a8172=_0x1675c1;this['disposeWithMe'](this[_0x2a8172(0x299)][_0x2a8172(0x2ac)](_0xc1d871[_0x2a8172(0xd4)],{'priority':0xc8,'effect':_0x227340['Value']|_0x227340[_0x2a8172(0x26e)],'handler':(_0x409dc6,_0x32d345,_0x1dd79f)=>{const _0x447c00=_0x2a8172,{row:_0xaebf2d,col:_0x5d506e,unitId:_0x35a38a,subUnitId:_0x40b0c7,workbook:_0x5eb79a}=_0x32d345,_0x59c8fd=this[_0x447c00(0x140)][_0x447c00(0x157)](_0x35a38a,_0x40b0c7,_0xaebf2d,_0x5d506e);if(!_0x59c8fd)return _0x1dd79f(_0x409dc6);const _0x12a164={..._0x409dc6};(_0x59c8fd['v']||_0x59c8fd['v']===0x0)&&(_0x12a164['v']=_0x59c8fd['v']),_0x59c8fd['t']&&(_0x12a164['t']=_0x59c8fd['t']);const _0x58d61f=(typeof(_0x409dc6==null?void 0x0:_0x409dc6['s'])==_0x447c00(0x25c)?_0x5eb79a[_0x447c00(0x23f)]()['get'](_0x409dc6==null?void 0x0:_0x409dc6['s']):_0x409dc6==null?void 0x0:_0x409dc6['s'])||{},_0x406a4d=_0x5eb79a['getStyles']()['get'](_0x59c8fd['s']),_0x7b8c1f={..._0x406a4d,..._0x58d61f};_0x406a4d!=null&&_0x406a4d['n']&&(_0x7b8c1f['n']=_0x406a4d['n']);const _0x187d29=_0x5eb79a['getStyles']()[_0x447c00(0x2d0)](_0x7b8c1f);return _0x12a164['s']=_0x187d29,(_0x59c8fd[_0x447c00(0x118)]===_0x3f236f[_0x447c00(0xe8)]||_0x59c8fd[_0x447c00(0x118)]===_0x3f236f[_0x447c00(0x1cc)])&&(_0x12a164[_0x447c00(0xc7)]={},_0x12a164[_0x447c00(0xc7)][_0x447c00(0x249)]=li),_0x1dd79f(_0x12a164);}}));}};ie=Qi([yo(0x0,_0x2fd05e(_0x5ed9f4)),yo(0x1,_0x2fd05e(Ne))],ie);function Nt(_0x279a67,_0x59bfd5){const _0xe80104=_0x1675c1;switch(_0x59bfd5){case _0x4cc34c[_0xe80104(0x9c)]:return _0x279a67[_0xe80104(0x204)];case _0x4cc34c['Filter']:return _0x279a67[_0xe80104(0x26a)];case _0x4cc34c['Row']:return _0x279a67['rowFields'];case _0x4cc34c['Column']:return _0x279a67['columnFields'];default:return[];}}function $e(_0x488339,_0x2b0d86){const _0x20b9f8=_0x1675c1;return _0x488339[_0x20b9f8(0x149)][_0x2b0d86]||_0x488339[_0x20b9f8(0x151)][_0x2b0d86];}function Xi(_0x2ac111,_0x155e87){const _0x10ef02=_0x1675c1,{area:_0x25faa8,fieldJson:_0x3061a8,index:_0x13a220}=_0x155e87;_0x25faa8===_0x4cc34c[_0x10ef02(0x9c)]?_0x2ac111[_0x10ef02(0x149)][_0x3061a8['id']]=_0x3061a8:_0x2ac111[_0x10ef02(0x151)][_0x3061a8['id']]=_0x3061a8,Nt(_0x2ac111,_0x25faa8)['splice'](_0x13a220,0x0,_0x3061a8['id']);}function Zi(_0x3b5870,_0x3af395){const _0x5aa231=_0x1675c1,{area:_0x225f86,fieldId:_0x1ae75e,index:_0x38f6cc}=_0x3af395;_0x225f86===_0x4cc34c[_0x5aa231(0x9c)]?delete _0x3b5870[_0x5aa231(0x149)][_0x1ae75e]:delete _0x3b5870[_0x5aa231(0x151)][_0x1ae75e],Nt(_0x3b5870,_0x225f86)[_0x5aa231(0x1c1)](_0x38f6cc,0x1);}function es(_0x205adf,_0x13e660){const {fieldId:_0xa5a260,name:_0x570f08}=_0x13e660,_0x117b23=$e(_0x205adf,_0xa5a260);_0x117b23&&(_0x117b23['displayName']=_0x570f08);}function ts(_0x34da00,_0x4a11b1){const _0xf068d1=_0x1675c1,{fieldId:_0x3772fe,collapse:_0x4964a2,item:_0x2bb381}=_0x4a11b1;_0x2bb381!==void 0x0?(_0x34da00[_0xf068d1(0x1f1)][_0x3772fe]=_0x34da00[_0xf068d1(0x1f1)][_0x3772fe]||{},_0x34da00[_0xf068d1(0x1f1)][_0x3772fe][_0x2bb381]=_0x4964a2):_0x34da00[_0xf068d1(0x1f1)][_0x3772fe]=_0x4964a2;}function os(_0x324a59,_0x4a10df){const _0x12531f=_0x1675c1,{fieldId:_0x423143,format:_0x31bda4}=_0x4a10df,_0x49fb1=$e(_0x324a59,_0x423143);_0x49fb1&&(_0x49fb1[_0x12531f(0x1dd)]=_0x31bda4);}function ns(_0x29911b,_0xd2b3b1){const _0x269bb0=_0x1675c1,{fieldId:_0x1bd88a,filterInfo:_0x2c5d66}=_0xd2b3b1,_0x5f556c=$e(_0x29911b,_0x1bd88a);_0x5f556c&&(_0x5f556c[_0x269bb0(0x15f)]=_0x2c5d66);}function is(_0x1d63c8,_0x203b47){const _0x5c456d=_0x1675c1,{fieldId:_0x6fd2ba,filterInfo:_0x2ecc30}=_0x203b47,_0x255693=_0x1d63c8[_0x5c456d(0x15a)][_0x5c456d(0x29a)](_0x1e6199=>_0x1e6199['fieldId']!==_0x6fd2ba);_0x2ecc30&&_0x255693[_0x5c456d(0x1a3)]({'fieldId':_0x6fd2ba,'filterInfo':_0x2ecc30}),_0x1d63c8['valueFilter']=_0x255693;}function ss(_0xab316a,_0x3e2655){const {fieldId:_0x10fa5a,subtotalType:_0x1e5132}=_0x3e2655,_0x4bc090=$e(_0xab316a,_0x10fa5a);_0x4bc090&&(_0x4bc090['subtotal']=_0x1e5132);}function as(_0x40f344,_0x4297ba){const _0x5f3a42=_0x1675c1,{fieldId:_0x41777f,oldArea:_0x20b117,area:_0x432aa3,oldIndex:_0x2c1e31,index:_0x30bbca}=_0x4297ba,_0x784356=_0x20b117!==_0x4cc34c['Value']&&_0x432aa3===_0x4cc34c['Value'],_0x5b7563=_0x20b117===_0x4cc34c['Value']&&_0x432aa3!==_0x4cc34c[_0x5f3a42(0x9c)];if(_0x784356||_0x5b7563){const _0x118d29=$e(_0x40f344,_0x41777f);_0x118d29&&(_0x784356?(delete _0x40f344[_0x5f3a42(0x151)][_0x41777f],_0x40f344['measure'][_0x41777f]=_0x118d29):(delete _0x40f344['measure'][_0x41777f],_0x40f344[_0x5f3a42(0x151)][_0x41777f]=_0x118d29));}const _0x346c62=Nt(_0x40f344,_0x20b117),_0x5613ec=Nt(_0x40f344,_0x432aa3);_0x346c62['splice'](_0x2c1e31,0x1),_0x5613ec['splice'](_0x30bbca,0x0,_0x41777f);}function rs(_0x3b87d5,_0x20cf4a){const _0x3f5f23=_0x1675c1,{valuePosition:_0x10bd6d,index:_0x4a119e}=_0x20cf4a;_0x3b87d5[_0x3f5f23(0x179)]=_0x10bd6d,_0x3b87d5['valueIndex']=_0x4a119e;}function ls(_0x35dee0,_0x622b5d){const _0x514188=_0x1675c1,{tableFieldId:_0x5764ab,sourceName:_0x4bb261,dataFieldId:_0x2a40a9}=_0x622b5d,_0xbecf05=$e(_0x35dee0,_0x5764ab);_0xbecf05&&(_0xbecf05[_0x514188(0x1fc)]=_0x4bb261,_0xbecf05[_0x514188(0xea)]=_0x2a40a9);}function cs(_0x56998c,_0x13a15d){const _0x2bdf20=_0x1675c1,{fieldId:_0x5abb85,sortInfo:_0x244a50}=_0x13a15d,_0x581573=$e(_0x56998c,_0x5abb85);_0x581573&&(_0x581573[_0x2bdf20(0x1da)]=_0x244a50);}function ds(_0x49881d,_0xcf3f54){const _0x1b465e=_0x1675c1,{options:_0x1fe55c}=_0xcf3f54;_0x49881d['options']={..._0x49881d[_0x1b465e(0x2a1)],..._0x1fe55c};}const Gt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.add-pivot-field','handler'(_0x340bb3,_0x52239e){const _0x2f388b=_0x1675c1;if(!_0x52239e)return!0x1;if(!!_0x340bb3[_0x2f388b(0x2e9)](_0xe8dcbb)[_0x2f388b(0x1dc)](H))return!0x0;const _0x367af2=_0x340bb3[_0x2f388b(0x2e9)](G),{pivotTableId:_0x439565,fieldJson:_0x5dbc59,area:_0x3eb375,index:_0x2b0964,unitId:_0x20800f,subUnitId:_0x286afd}=_0x52239e,_0x23d65e=_0x367af2[_0x2f388b(0x220)](_0x439565);if(!_0x23d65e)return!0x1;let _0x27b262;_0x3eb375===_0x4cc34c[_0x2f388b(0x9c)]?_0x27b262=_0x3d5287(_0x5dbc59):_0x27b262=_0x4d2cb7(_0x5dbc59),_0x23d65e[_0x2f388b(0x273)](_0x27b262,_0x3eb375,_0x2b0964);const _0x490e7f=_0x367af2[_0x2f388b(0x30e)](_0x20800f,_0x286afd,_0x439565);Xi(_0x490e7f,_0x52239e);const _0x404975=_0x367af2['getPivotTableConfig'](_0x20800f,_0x286afd,_0x439565);return _0x367af2[_0x2f388b(0x196)]({'unitId':_0x20800f,'subUnitId':_0x286afd,'token':_0x439565,'type':L[_0x2f388b(0x2e2)],'pivotConfig':_0x404975}),!0x0;}},$t={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x15e),'handler'(_0x4b2cd7,_0x5d808f){const _0x470697=_0x1675c1;if(!_0x5d808f)return!0x1;if(!!_0x4b2cd7[_0x470697(0x2e9)](_0xe8dcbb)[_0x470697(0x1dc)](H))return!0x0;const _0x2c18ff=_0x4b2cd7['get'](G),{pivotTableId:_0x5a90a7,fieldId:_0x4a06d5,unitId:_0x20e6b6,subUnitId:_0x41d9e4}=_0x5d808f,_0x56f6d4=_0x2c18ff['getPivotTableInstance'](_0x5a90a7);if(!_0x56f6d4)return!0x1;_0x56f6d4[_0x470697(0x198)](_0x4a06d5);const _0x3378eb=_0x2c18ff[_0x470697(0x30e)](_0x20e6b6,_0x41d9e4,_0x5a90a7);Zi(_0x3378eb,_0x5d808f);const _0x5039a9=_0x2c18ff[_0x470697(0x14e)](_0x20e6b6,_0x41d9e4,_0x5a90a7);return _0x2c18ff[_0x470697(0x196)]({'unitId':_0x20e6b6,'subUnitId':_0x41d9e4,'token':_0x5a90a7,'type':L[_0x470697(0x2e2)],'pivotConfig':_0x5039a9}),!0x0;}},zt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x17f),'handler'(_0x2aaf1b,_0x353cb6){const _0x451c43=_0x1675c1;if(!_0x353cb6)return!0x1;if(!!_0x2aaf1b[_0x451c43(0x2e9)](_0xe8dcbb)['getConfig'](H))return!0x0;const _0x1dc692=_0x2aaf1b[_0x451c43(0x2e9)](G),{unitId:_0x412fd6,subUnitId:_0x2f1e65,pivotTableId:_0x766410,fieldId:_0x45e74c,name:_0x3f37e3}=_0x353cb6,_0x3c7803=_0x1dc692[_0x451c43(0x220)](_0x766410);if(!_0x3c7803)return!0x1;_0x3c7803['renameField'](_0x45e74c,_0x3f37e3);const _0xc10714=_0x1dc692[_0x451c43(0x30e)](_0x412fd6,_0x2f1e65,_0x766410);return es(_0xc10714,_0x353cb6),_0x1dc692['addDirtyPivotTable']({'unitId':_0x412fd6,'subUnitId':_0x2f1e65,'token':_0x766410,'type':L[_0x451c43(0x2e2)]}),!0x0;}},Jt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x27d),'handler'(_0x2dfb73,_0xe02744){const _0x1b6c37=_0x1675c1;if(!_0xe02744)return!0x1;if(!!_0x2dfb73[_0x1b6c37(0x2e9)](_0xe8dcbb)[_0x1b6c37(0x1dc)](H))return!0x0;const _0x2559dc=_0x2dfb73[_0x1b6c37(0x2e9)](G),{unitId:_0x4da697,subUnitId:_0x35786f,pivotTableId:_0xd5a7b3,fieldId:_0x597731,collapse:_0x2af640,item:_0xc2d550}=_0xe02744,_0x396c6c=_0x2559dc[_0x1b6c37(0x220)](_0xd5a7b3);if(!_0x396c6c)return!0x1;_0x396c6c[_0x1b6c37(0x302)](_0x597731,_0x2af640,_0xc2d550);const _0x3a7d0f=_0x2559dc[_0x1b6c37(0x30e)](_0x4da697,_0x35786f,_0xd5a7b3);return ts(_0x3a7d0f,_0xe02744),_0x2559dc[_0x1b6c37(0x196)]({'unitId':_0x4da697,'subUnitId':_0x35786f,'token':_0xd5a7b3,'type':L[_0x1b6c37(0x2e2)]}),!0x0;}},jt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x14c),'handler'(_0x170a3d,_0x1aecf3){const _0x3dc460=_0x1675c1;if(!_0x1aecf3)return!0x1;if(!!_0x170a3d[_0x3dc460(0x2e9)](_0xe8dcbb)[_0x3dc460(0x1dc)](H))return!0x0;const _0x58536b=_0x170a3d[_0x3dc460(0x2e9)](G),{unitId:_0xbd827a,subUnitId:_0x5e821c,pivotTableId:_0x49804d,fieldId:_0x4e5777,format:_0x1d97c2}=_0x1aecf3,_0x753782=_0x58536b[_0x3dc460(0x220)](_0x49804d);if(!_0x753782)return!0x1;_0x753782[_0x3dc460(0x308)](_0x4e5777,_0x1d97c2);const _0x280623=_0x58536b[_0x3dc460(0x30e)](_0xbd827a,_0x5e821c,_0x49804d);return os(_0x280623,_0x1aecf3),_0x58536b[_0x3dc460(0x196)]({'unitId':_0xbd827a,'subUnitId':_0x5e821c,'token':_0x49804d,'type':L[_0x3dc460(0x2e2)]}),!0x0;}},Kt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x144),'handler'(_0x366e79,_0x453562){const _0x246b8c=_0x1675c1;if(!_0x453562)return!0x1;if(!!_0x366e79[_0x246b8c(0x2e9)](_0xe8dcbb)[_0x246b8c(0x1dc)](H))return!0x0;const _0x5d595f=_0x366e79[_0x246b8c(0x2e9)](G),{unitId:_0x42b3de,subUnitId:_0x248cc2,pivotTableId:_0x19fc39,fieldId:_0x2e4d1d,filterInfo:_0x5d3b3f}=_0x453562,_0x3b1bf5=_0x5d595f[_0x246b8c(0x220)](_0x19fc39);if(!_0x3b1bf5)return!0x1;_0x3b1bf5['setLabelFilterInfo'](_0x2e4d1d,_0x5d3b3f);const _0x4714a7=_0x5d595f[_0x246b8c(0x30e)](_0x42b3de,_0x248cc2,_0x19fc39);return ns(_0x4714a7,_0x453562),_0x5d595f[_0x246b8c(0x196)]({'unitId':_0x42b3de,'subUnitId':_0x248cc2,'token':_0x19fc39,'type':L['Set']}),!0x0;}},Ht={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.set-pivot-option','handler'(_0x52d65e,_0x4ce0d8){const _0xb54c2c=_0x1675c1;if(!_0x4ce0d8)return!0x1;if(!!_0x52d65e[_0xb54c2c(0x2e9)](_0xe8dcbb)[_0xb54c2c(0x1dc)](H))return!0x0;const _0x3c7ad4=_0x52d65e[_0xb54c2c(0x2e9)](G),{unitId:_0x2fcc6c,subUnitId:_0x4ec392,pivotTableId:_0x47c290,options:_0x3e3c0d}=_0x4ce0d8,_0x46b1bc=_0x3c7ad4[_0xb54c2c(0x220)](_0x47c290);if(!_0x46b1bc)return!0x1;_0x46b1bc[_0xb54c2c(0x147)](_0x3e3c0d);const _0x3cdf88=_0x3c7ad4[_0xb54c2c(0x30e)](_0x2fcc6c,_0x4ec392,_0x47c290);return ds(_0x3cdf88,_0x4ce0d8),_0x3c7ad4[_0xb54c2c(0x196)]({'unitId':_0x2fcc6c,'subUnitId':_0x4ec392,'token':_0x47c290,'type':L['Set']}),!0x0;}},qt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x292),'handler'(_0xc71f2d,_0x2f1dc1){const _0x5da765=_0x1675c1;if(!_0x2f1dc1)return!0x1;if(!!_0xc71f2d['get'](_0xe8dcbb)[_0x5da765(0x1dc)](H))return!0x0;const _0x247089=_0xc71f2d['get'](G),{unitId:_0xcd1eb8,subUnitId:_0x3e364c,pivotTableId:_0x420bbd,sortInfo:_0x50f779,fieldId:_0x2bcde8}=_0x2f1dc1,_0x4bae60=_0x247089[_0x5da765(0x220)](_0x420bbd);if(!_0x4bae60)return!0x1;_0x4bae60[_0x5da765(0x17b)](_0x2bcde8,_0x50f779);const _0x1c3b8f=_0x247089[_0x5da765(0x30e)](_0xcd1eb8,_0x3e364c,_0x420bbd);return cs(_0x1c3b8f,_0x2f1dc1),_0x247089[_0x5da765(0x196)]({'unitId':_0xcd1eb8,'subUnitId':_0x3e364c,'token':_0x420bbd,'type':L[_0x5da765(0x2e2)]}),!0x0;}},Yt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x26c),'handler'(_0x2a90c7,_0x346289){const _0x5f5a8a=_0x1675c1;if(!_0x346289)return!0x1;if(!!_0x2a90c7[_0x5f5a8a(0x2e9)](_0xe8dcbb)[_0x5f5a8a(0x1dc)](H))return!0x0;const _0x21356e=_0x2a90c7[_0x5f5a8a(0x2e9)](G),{unitId:_0x3029d1,subUnitId:_0x51969f,pivotTableId:_0x19c9c8,fieldId:_0xed34c1,subtotalType:_0x55a362}=_0x346289,_0x5d3f77=_0x21356e[_0x5f5a8a(0x220)](_0x19c9c8);if(!_0x5d3f77)return!0x1;_0x5d3f77['setSubtotalType'](_0xed34c1,_0x55a362);const _0x22b37c=_0x21356e[_0x5f5a8a(0x30e)](_0x3029d1,_0x51969f,_0x19c9c8);return ss(_0x22b37c,_0x346289),_0x21356e[_0x5f5a8a(0x196)]({'unitId':_0x3029d1,'subUnitId':_0x51969f,'token':_0x19c9c8,'type':L[_0x5f5a8a(0x2e2)]}),!0x0;}},Qt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0xd7),'handler'(_0x342dfb,_0x53d3be){const _0x906b09=_0x1675c1;if(!_0x53d3be)return!0x1;if(!!_0x342dfb['get'](_0xe8dcbb)['getConfig'](H))return!0x0;const _0x1e5168=_0x342dfb[_0x906b09(0x2e9)](G),{unitId:_0x17adad,subUnitId:_0x2f50bb,pivotTableId:_0x4b277b,fieldId:_0x3b7a85,filterInfo:_0x4b1b49}=_0x53d3be,_0x335c9a=_0x1e5168['getPivotTableInstance'](_0x4b277b);if(!_0x335c9a)return!0x1;_0x335c9a[_0x906b09(0x23c)](_0x3b7a85,_0x4b1b49);const _0x57a62d=_0x1e5168['getPivotTableModelConfig'](_0x17adad,_0x2f50bb,_0x4b277b);return is(_0x57a62d,_0x53d3be),_0x1e5168[_0x906b09(0x196)]({'unitId':_0x17adad,'subUnitId':_0x2f50bb,'token':_0x4b277b,'type':L[_0x906b09(0x2e2)]}),!0x0;}},Xt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x533829,_0x2fa6ca){const _0x2b6361=_0x1675c1;if(!_0x2fa6ca)return!0x1;if(!!_0x533829['get'](_0xe8dcbb)['getConfig'](H))return!0x0;const _0x1c6e2b=_0x533829[_0x2b6361(0x2e9)](G),{unitId:_0x4c01db,subUnitId:_0x4a22b7,pivotTableId:_0x365657,area:_0x463d33,index:_0xafb88f,fieldId:_0x447fd7}=_0x2fa6ca,_0x339484=_0x1c6e2b[_0x2b6361(0x220)](_0x365657);if(!_0x339484)return!0x1;_0x339484[_0x2b6361(0x2cb)](_0x447fd7,_0x463d33,_0xafb88f);const _0x45b5a2=_0x1c6e2b['getPivotTableModelConfig'](_0x4c01db,_0x4a22b7,_0x365657);return as(_0x45b5a2,_0x2fa6ca),_0x1c6e2b[_0x2b6361(0x196)]({'unitId':_0x4c01db,'subUnitId':_0x4a22b7,'token':_0x365657,'type':L[_0x2b6361(0x2e2)]}),!0x0;}},Zt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x1ec21a,_0x4f0551){const _0x26a6e6=_0x1675c1;if(!_0x4f0551)return!0x1;if(!!_0x1ec21a['get'](_0xe8dcbb)[_0x26a6e6(0x1dc)](H))return!0x0;const _0x3680d9=_0x1ec21a['get'](G),{unitId:_0x26c284,subUnitId:_0x1c131b,pivotTableId:_0xb24915,sourceName:_0x1d7283,dataFieldId:_0x278d1c,tableFieldId:_0x1f90bb}=_0x4f0551,_0xf814e7=_0x3680d9[_0x26a6e6(0x220)](_0xb24915);if(!_0xf814e7)return!0x1;_0xf814e7[_0x26a6e6(0x136)](_0x1f90bb,_0x1d7283,_0x278d1c);const _0x4a8689=_0x3680d9['getPivotTableModelConfig'](_0x26c284,_0x1c131b,_0xb24915);return ls(_0x4a8689,_0x4f0551),_0x3680d9[_0x26a6e6(0x196)]({'unitId':_0x26c284,'subUnitId':_0x1c131b,'token':_0xb24915,'type':L[_0x26a6e6(0x2e2)]}),!0x0;}},eo={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x26b),'handler'(_0x5cd7a9,_0x5e5e09){const _0x475e14=_0x1675c1;if(!_0x5e5e09)return!0x1;if(!!_0x5cd7a9[_0x475e14(0x2e9)](_0xe8dcbb)['getConfig'](H))return!0x0;const _0x5cc933=_0x5cd7a9[_0x475e14(0x2e9)](G),{unitId:_0xcef795,subUnitId:_0x3453d4,pivotTableId:_0x4296ae,valuePosition:_0x4a2649,index:_0x4c5d86}=_0x5e5e09,_0x3022dd=_0x5cc933[_0x475e14(0x220)](_0x4296ae);if(!_0x3022dd)return!0x1;_0x3022dd[_0x475e14(0x2dc)](_0x4a2649,_0x4c5d86);const _0xef6687=_0x5cc933['getPivotTableModelConfig'](_0xcef795,_0x3453d4,_0x4296ae);return rs(_0xef6687,_0x5e5e09),_0x5cc933[_0x475e14(0x196)]({'unitId':_0xcef795,'subUnitId':_0x3453d4,'token':_0x4296ae,'type':L['Set']}),!0x0;}};function me(_0x230214,_0x60a6bf,_0x573498){const _0x2243a0=_0x1675c1,{pivotTableId:_0x3b6d4c,unitId:_0x11bfb3,subUnitId:_0x46da59}=_0x60a6bf,_0x56bcc7=[],_0x2194b0=[];for(const _0x24ef05 of _0x573498)switch(_0x24ef05[_0x2243a0(0x168)]){case _0x267aa9[_0x2243a0(0x2c6)]:{const {fieldJson:_0x156260,area:_0x2752d3,index:_0x1075b6}=_0x24ef05,_0x894ace={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldJson':_0x156260,'area':_0x2752d3,'index':_0x1075b6},_0x3c83d2={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x156260['id'],'area':_0x2752d3,'index':_0x1075b6};_0x56bcc7[_0x2243a0(0x1a3)]({'id':Gt['id'],'params':_0x894ace}),_0x2194b0[_0x2243a0(0x1fe)]({'id':$t['id'],'params':_0x3c83d2});}break;case _0x267aa9[_0x2243a0(0x24c)]:{const {fieldId:_0x4c88d4,newSubtotalType:_0x141a7b,oldSubtotalType:_0xa88b58}=_0x24ef05,_0x8fff0b={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x4c88d4,'subtotalType':_0x141a7b};_0x56bcc7[_0x2243a0(0x1a3)]({'id':Yt['id'],'params':_0x8fff0b});const _0x373654={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x4c88d4,'subtotalType':_0xa88b58};_0x2194b0['unshift']({'id':Yt['id'],'params':_0x373654});}break;case _0x267aa9['RemoveField']:{const {fieldId:_0x1f70e3,fieldJson:_0x5989a4,area:_0x1deedd,index:_0x4bf60f}=_0x24ef05,_0x5a93e1={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x1f70e3,'index':_0x4bf60f,'area':_0x1deedd};_0x56bcc7['push']({'id':$t['id'],'params':_0x5a93e1});const _0x3e5267={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldJson':_0x5989a4,'area':_0x1deedd,'index':_0x4bf60f};_0x2194b0[_0x2243a0(0x1fe)]({'id':Gt['id'],'params':_0x3e5267});}break;case _0x267aa9['RenameField']:{const {fieldId:_0x38b485,oldName:_0x279da7,newName:_0x156744}=_0x24ef05,_0x21f71f={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x38b485,'name':_0x156744};_0x56bcc7[_0x2243a0(0x1a3)]({'id':zt['id'],'params':_0x21f71f});const _0xe5a460={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x38b485,'name':_0x279da7};_0x2194b0[_0x2243a0(0x1fe)]({'id':zt['id'],'params':_0xe5a460});}break;case _0x267aa9[_0x2243a0(0x268)]:{const {fieldId:_0x5a0321,oldFilterInfo:_0x36137b,newFilterInfo:_0x1224a5}=_0x24ef05,_0x3ecac8={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x5a0321,'filterInfo':_0x1224a5};_0x56bcc7[_0x2243a0(0x1a3)]({'id':Kt['id'],'params':_0x3ecac8});const _0x13cc00={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x5a0321,'filterInfo':_0x36137b};_0x2194b0[_0x2243a0(0x1fe)]({'id':Kt['id'],'params':_0x13cc00});}break;case _0x267aa9[_0x2243a0(0x246)]:{const {fieldId:_0x305f02,oldSortInfo:_0x5f52c8,newSortInfo:_0x424cb2}=_0x24ef05,_0x425137={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x305f02,'sortInfo':_0x424cb2};_0x56bcc7[_0x2243a0(0x1a3)]({'id':qt['id'],'params':_0x425137});const _0x4074de={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x305f02,'sortInfo':_0x5f52c8};_0x2194b0[_0x2243a0(0x1fe)]({'id':qt['id'],'params':_0x4074de});}break;case _0x267aa9[_0x2243a0(0x2ba)]:{const {oldOptions:_0x36c5a9,newOptions:_0x29fa96}=_0x24ef05,_0x2c95ef={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'options':_0x29fa96};_0x56bcc7['push']({'id':Ht['id'],'params':_0x2c95ef});const _0x5d914d={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'options':_0x36c5a9};_0x2194b0['unshift']({'id':Ht['id'],'params':_0x5d914d});}break;case _0x267aa9[_0x2243a0(0x18b)]:{const {oldArea:_0x12b97e,newArea:_0x13cb73,oldIndex:_0x23945e,newIndex:_0x9bf24a,fieldId:_0x2a9f1a}=_0x24ef05,_0x116783={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x2a9f1a,'area':_0x13cb73,'index':_0x9bf24a,'oldArea':_0x12b97e,'oldIndex':_0x23945e};_0x56bcc7['push']({'id':Xt['id'],'params':_0x116783});const _0x2fdb68={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x2a9f1a,'area':_0x12b97e,'index':_0x23945e,'oldArea':_0x13cb73,'oldIndex':_0x9bf24a};_0x2194b0[_0x2243a0(0x1fe)]({'id':Xt['id'],'params':_0x2fdb68});}break;case _0x267aa9[_0x2243a0(0x1b2)]:{const {oldValuePosition:_0x51760a,newValuePosition:_0x26e8bc,oldIndex:_0x1172b4,newIndex:_0x2a7cf6}=_0x24ef05,_0x2141f={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'valuePosition':_0x26e8bc,'index':_0x2a7cf6};_0x56bcc7[_0x2243a0(0x1a3)]({'id':eo['id'],'params':_0x2141f});const _0x33f864={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'valuePosition':_0x51760a,'index':_0x1172b4};_0x2194b0[_0x2243a0(0x1fe)]({'id':eo['id'],'params':_0x33f864});}break;case _0x267aa9[_0x2243a0(0x1a0)]:{const {fieldId:_0x477210,collapse:_0x124f87,item:_0x31cb69}=_0x24ef05,_0x89001={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x477210,'collapse':_0x124f87,'item':_0x31cb69};_0x56bcc7[_0x2243a0(0x1a3)]({'id':Jt['id'],'params':_0x89001});const _0x1a0994={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x477210,'collapse':!_0x124f87,'item':_0x31cb69};_0x2194b0['unshift']({'id':Jt['id'],'params':_0x1a0994});}break;case _0x267aa9['SetFieldFormat']:{const {newFormat:_0x4ebd0a,oldFormat:_0x4091b0,fieldId:_0x5a45d8}=_0x24ef05,_0x2de2ef={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x5a45d8,'format':_0x4ebd0a};_0x56bcc7[_0x2243a0(0x1a3)]({'id':jt['id'],'params':_0x2de2ef});const _0x45983c={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x5a45d8,'format':_0x4091b0};_0x2194b0[_0x2243a0(0x1fe)]({'id':jt['id'],'params':_0x45983c});}break;case _0x267aa9[_0x2243a0(0x1ac)]:{const {tableFieldId:_0x1f490f,oldSourceName:_0x2f61bd,newSourceName:_0x55cb4b,oldDataFieldId:_0x3e7c58,newDataFieldId:_0x8699c5}=_0x24ef05,_0x54137f={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'tableFieldId':_0x1f490f,'sourceName':_0x55cb4b,'dataFieldId':_0x8699c5};_0x56bcc7['push']({'id':Zt['id'],'params':_0x54137f});const _0x585209={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'tableFieldId':_0x1f490f,'sourceName':_0x2f61bd,'dataFieldId':_0x3e7c58};_0x2194b0['unshift']({'id':Zt['id'],'params':_0x585209});}break;case _0x267aa9[_0x2243a0(0xe7)]:{const {fieldId:_0x43d716,filterInfo:_0x582a27,oldFilterInfo:_0xfdca94}=_0x24ef05,_0x4698ab={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x43d716,'filterInfo':_0x582a27};_0x56bcc7[_0x2243a0(0x1a3)]({'id':Qt['id'],'params':_0x4698ab});const _0x2fc7ee={'unitId':_0x11bfb3,'subUnitId':_0x46da59,'pivotTableId':_0x3b6d4c,'fieldId':_0x43d716,'filterInfo':_0xfdca94};_0x2194b0[_0x2243a0(0x1fe)]({'id':Qt['id'],'params':_0x2fc7ee});}}return{'redos':_0x56bcc7,'undos':_0x2194b0};}function _0x57f5(){const _0x496a07=['getActiveSheet','NUM','setOptions','HourMinute','measure','_ensurePivotItemRenderInfoCache','updateConfig','sheet.mutation.set-pivot-format','versions','getPivotTableConfig','4294080iNQRwh','_initPivotDataGetListener','dimension','realDeleteValue','rowInfo','MAX_SAFE_INTEGER','pivotTableIndexConfig','COMMAND','getPivotTableCellData','collectionConfig','FORCE_STRING','valueFilter','needSameDeleteModel','getDirtyInfo','refreshData','sheet.mutation.remove-pivot-field','filterInfo','update','deleteUnitId','None','#1d32e9','concat','getTextInfo','sheet.command.update-date-group','unitId','type','getSortInfo','remove','30dyFdhG','fieldsCollectionChange$','startColumn','_initGlobalComputed','getDisplayName','onCommandExecuted','addFieldWithSourceId','_sheetsPivotTableService','panel','updateView','parse','setPivotTableConfig','sheets-pivot.cellDateGroupDisplay.hourMinute','countNums','valuePosition','_configService','setSortInfo','originalFieldId','getPivotTableMatrixInfo','70764Nmptrp','sheet.mutation.rename-pivot-field','getPivotDisplayConfig','sideEffectUpdateWorkerCache','_host','stdDev','SetPivotSort','_onRefRangeChange','3291382PxQPhy','matrix','average','rangesInfo','isDate','UpdateFieldPosition','createDataFieldId','_initConfig','getValuePosition','call','sheet.command.pivot-drill-down','ptn','NUMBER','BadReference','result','body','addDirtyPivotTable','Count\x20of\x20','removeField','addPivotTable','collectionChange$','hasField','endCollectChangeset','register','defineProperty','includes','SetCollapse','removeCollectionImp','configVersion$','push','Year','#FFFFFF','_textInfo','add','NotNumber','sheets-pivot.dateGroup.date','Filter','getDataFieldItemInfo','UpdateSource','sheet.command.update-pivot-table-source-range','_createExclusiveRange','contains','onStarting','subscribe','UpdateValuePosition','redos','has','_globalComputedStartHelpFunc','_ensurePivotTableRangeInfo','setConfig','pivotMutationGenerate','Total','sum','setPivotSort','getDataFieldByRangeKey','registerRefRange','fields','symbol','createCollectionWithDataRange','splice','workbook\x20is\x20not\x20found','getIndexesByPathStr','textInfo','updateDataFieldsCollection','onQueryEnd','getFilterInfo','intersects','MovePivotField','sheets-pivot.cellDateGroupDisplay.month','sheets-pivot.emptyPivot.values','Expand','REF','_sheetsPivotDataSourceModel','asyncInterceptor','sheets-pivot.stdDevName','lastCol','_generateUniqueVersion','YearQuarter','Hour','_featureCalculationManagerService','col','2135428EBagqi','interceptCommand','1vjDjYf','sortInfo','5332255iOlQVi','getConfig','format','registerCommand','#b2b2b2','broadcastCollectionChange','Row','undos','fieldIds','oldRangeInfo','_lifecycleService','tableFieldId','resetPivotTable','headerMap','_sheetsSelectionsService','disposeWithMe','MonthDate','sheets-pivot.dateGroup.yearMonth','pivotConfigChange$','registerDirtyService','bind','pageRanges','collapseInfo','dataFields','UNIVER_SHEET','rgb(255,255,255)','getInterceptPoints','getColCount','11893048hhtffe','getSheetBySheetName','_pivotConfigChange$','setPivotSetting','sheets-pivot.grandTotal','sourceName','columnFields','unshift','StdDev\x20of\x20','Var\x20of\x20','updateViewInfo','getRefRangeMutationsByMoveRange','sheets-pivot.maxName','valueFields','_globalComputedEndHelpFunc','asObservable','getFormatInfo','AddPivotTableWithConfig','getTargetByPivotId','colRanges','subUnitId','getCurrentUnitForType','sheet.command.reset-pivot-fields-config','refreshDataField','batch','pivotTableConfigs','Delete','viewData$','isNaN','updatePivotTableRangeInfo','_config','pushUndoRedo','pageStyle','NotName','updateViewData','_model','sheets-pivot.cellDateGroupDisplay.date','startRow','AddPivotTable','getCurrentSelections','set','getPivotTableInstance','getAutoFitColumnsMutations','handleSourceRangeChange','parseInt','max','NotFunction','_refRangeService','sheets-pivot.cellDateGroupDisplay.minute','_initCommandInterceptListener','tuple','isEmpty','sheet.command.update-pivot-value-position','(Blank)','stdDevp','getValue','_viewData$','deepClone','setSubtotalType','getDataFieldByDataFieldId','_pivotTableRangeInfo','collections','data','NAME','getFullYear','ManualFilter','dispose','getDataFieldManager','rangeCache','setValueFilterInfo','Existing','cellValue','getStyles','PivotMultipleValueId','setRangeValueRedoMutation','sheets-pivot.cellDateGroupDisplay.quarter','refreshGroupField','removeCollections','sheet.mutation.send-pivot-view-local','SetSortInfo','dataStyle','setDisplayName','leftOffset','#e6ebfb','_initViewModelBySheetInterceptor','SetSubtotalType','_ensurePivotItemRenderValueMatrixCache','originTargetInfo','setPivotInitCompleted','notExecuteFormula','setRangeValueUndoMutation','_updateRenderEmptyCache','sheets-pivot.cellDateGroupDisplay.yearQuarter','getFilterFieldIdByIndex','floor','getTypeOfUnitDisposed$','getRangeKey','Column','getRangeStartEndInfo','getUpdateRangeDeleteIds','getSubUnitPivotMatrix','string','_commandService','updateRenderCache','resetArea','setPivotTable','setTextInfo','foreach','_ensurePivotTableMatrixInfo','getPivotTableIdByCell','_initClearSelectionCommandInterceptor','_collectionChange$','getSourceName','SetFilterInfo','sheets-pivot.sumName','filterFields','sheet.mutation.pivot-update-value-position','sheet.mutation.set-pivot-field-subtotal-type','_collectionConfigModel','Style','token','addRecord','sheet.command.set-pivot-value-filter','getHeaderMapItem','addField','query','stringify','_pivotTableInstanceCache','getMonth','_globalComputingSrv','removeDataField','split','getSubtotal','range','sheet.mutation.set-pivot-collapse','forRow','_univerInstanceService','dataRangeInfo','getRangeData','addDataFieldWithoutUnitInfo','updateConfigCache','Varp\x20of\x20','colCount','grandTotal','Values','_ensurePivotMap','getTableFieldById','_deletePivotTableInstanceCache','getCollection','sheets-pivot.emptyPivot.filter','SetPivotFilter','setDateType','random','Subtotal','_updatePivotTableInstanceCache','sheet.mutation.set-pivot-sort-info','rangeType','next','sheets-pivot.config','getPivotDirtyViewInfo','rowCount','SHEET_PIVOT_TABLE_PLUGIN','_sheetInterceptorService','filter','iterateFieldByArea','_fieldsCollectionChange$','getMatrix','sheets-pivot.cellDateGroupDisplay.hour','_initUnitDisposed','MIN_SAFE_INTEGER','options','_viewData','_requestResolvers','3984030WddbfJ','reduce','sheets-pivot.varName','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','sheets-pivot.dateGroup.yearQuarter','handleAsyncResponse','getUnit','prototype','intercept','viewUpdate$','onQueryStart','_initPivotTextInfo','movePivotField','getLastRow','_viewUpdate$','minDate','valueIndex','lastRow','paths','node','_init','sheet.mutation.add-pivot-table','SetOptions','sheet.mutation.set-pivot-position','markDirty$','fieldsConfig','sheets-pivot.subTotal','level','getSheetBySheetId','object','_updateModelCache','Quarter','dateType','sheet.command.add-pivot-field','AddField','sheets-pivot.dateGroup.yearMonthDate','setRange','Date','rowHeaderMap','updateFieldPosition','sheet.command.set-pivot-field-setting','value','#f4f4f5','isValue','setValue','_sheetsPivotTableConfigModel','getMatrixFromRunTimeData','rowRanges','getDataFieldBySourceName','markDirty','_pivotInitCompleted$','setValuePivotFilter','getLastCol','_globalSubject','_pivotRenderValueMatrixCache','_markDirty$','updateValuePosition','colHeaderMap','return\x20','updatePivotSource','fetchThroughInterceptors','executeCommand','Set','getOriginFieldId','_subjectFieldsCollectionChange','sheets-pivot.columnName','sheet.mutation.get-pivot-data-local','sheet.mutation.send-init-pivot-text-local','colStyle','get','getFieldDataType','getFieldIds','addPivotField','removePivotTable','version','forEach','NORMAL','YearMonth','var','pivotPerformCheck','NO_COMMERCIAL','shouldClear','leafStyle','sheets-pivot.cellDateGroupDisplay.yearMonth','_getAutoName','from','Column\x20','pivotTableId','some','collection','_refRangeHandle','product','find','RemovePivotField','setCollapse','deleteField','sheets-pivot.cellDateGroupDisplay.yearMonthDate','queryDirtyPivotTable','ResetPivotTable','addExclusiveRange','setFieldFormat','displayName','getFormat','isBottomTotal','sheets-pivot.value','delete','getPivotTableModelConfig','info','STRING','renameField','_injector','document','updateCollectionConfig','Sum\x20of\x20','getFieldPositionInfoById','Panel','getAutoDisplayNameFunction','SetPivotCollapse','registerCallbackWithEvent','getTextSize','name','getValueFilterInfos','updateAllDisplayName','fromJSON','drillDown','setPivotCollapse','updateRangeKeyMap','Value','getSheetId','limit\x20pivot','sheet.operation.pivot-table-view-formula-mark-dirty','forValue','endColumn','params','7CRZwwz','getCellRaw','interceptor','Add','sheets-pivot.dateGroup.minute','entries','handleMoveRange','fetchThroughAsyncInterceptors','Max\x20of\x20','sheet.command.move-pivot-field','oldMatrix','getIntersectsPivotTable','_queryingMap','_activeDirtyManagerService','targetCellInfo','hasOwnProperty','generateMutationsByRanges','getFieldCountByArea','size','min','rangeKey','removeValueFilterInfoByValueFieldId','sheet.mutation.remove-group-collection','setLabelFilterInfo','getFieldFormat','registerPluginResource','StdDevp\x20of\x20','adjustSheetCellData','clearRenderCache','getDataFieldByTableId','formJSON','getUnitId','SetValuePivotFilter','sheets-pivot.averageName','Grand\x20Total','disposableCollection','fontRenderExtension','Month','uniqueDataFieldName','sheet.command.move-pivot-table','_resourceManagerService','single','row','getName','_localeService','_pivotRenderInfoCache','count','getFieldInfo','getOwnPropertyDescriptor','CELL_CONTENT','_subjectViewChange','_initDataSendListener','sheet.mutation.set-pivot-value-filter','SetPivotSetting','MUTATION','Product\x20of\x20','sourceRangeInfo','GrandTotal','sheet.command.set-pivot-filter','setDataRecordCount','updateDirtyPivotTable','getFieldById','_dataSyncPrimaryController','_deleteModelCache','#e6ebfa','getColumnCount','sheets-pivot.minName','setPivotFilter','SetValueFilter','Collapse','areaInfo','dataFieldId','valid','sheets-pivot.dateGroup.monthDate','sheets-pivot.countName','_initRegisterCommand','SetPivotTableConfig','getGroupFieldsInfoByIds','setName','_configVersion$','_initRemoveSheetCommandInterceptor','slice','getId','sheets-pivot.stdDevpName','updatePivotTableMatrixInfo','_initLocale','getSheets','subtotal','clearExclusiveRangesByGroupId','pivotInitCompleted$','width','Average\x20of\x20','length','addCollection','reset','getColumnWidth','_getPivotAppliedRanges','removeSourceRangeChange','addCollectionByJSON','getSubUnitPivotConfigs','getformat','error','isColMultiMeasure','UpdatePivotSource','setDirty','colInfo','dataFieldManagerConfig','_toJSON','removePivotField','_dataFieldManagerCollection','getMatrixValue','filterId','getRowCount','_ensureViewDataMap','generateNewSheetName','initDataRanges','_exclusiveRangeService','pbt','\x20-\x20','New','_initSnapshot','maxDate','map','rangeKeyMap','addPivotTableWithConfig','_pivotTableMatrixInfo','keys','new','subTotalStyle','getPivotItemRenderInfoCache','getValueIndex','blank','startCollectChangeset','sheetName','9rAjwEc','message','getRangeKeyList','YearMonthDate','DrillDown','rowStyle','number','varp','triggerDirtyFeature','toJSON','column','getSubUnitPivotRenderCache','1441XZvSfh','updateFieldSourceInfo','deleteDataField','endRow','Minute','values','sheets-pivot.dateGroup.hour','prefix','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','AddPivotField','getCellMatrix','_sheetsPivotTableAdaptorModel','setSourceName','sheet.command.add-pivot-table-with-config','sheets-pivot.varpName','sheet.mutation.set-pivot-filter'];_0x57f5=function(){return _0x496a07;};return _0x57f5();}function _e(_0xb746a1,_0x71f8c2){const _0x23241b=_0x1675c1;var _0xcb0137;const _0x3fe3ff=_0xb746a1[_0x23241b(0x2e9)](ie),{cellInfo:_0x5298cb,view:_0x242aac,isEmpty:_0x1f61bb}=_0x71f8c2;return(_0xcb0137=_0x3fe3ff['interceptor'][_0x23241b(0x2e0)](Go)(Po,{'cellInfo':_0x5298cb,'view':_0x242aac,'isEmpty':_0x1f61bb}))!=null?_0xcb0137:Po;}const us=()=>typeof process<'u'&&process[_0x1675c1(0x14d)]!=null&&process[_0x1675c1(0x14d)][_0x1675c1(0x2b7)]!=null,Ct={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x2b9),'handler'(_0x4d7bc1,_0x5df4df){const _0x5a5d2c=_0x1675c1;var _0x35b67b;if(!_0x5df4df)return!0x1;const _0x3a84ec=_0x4d7bc1[_0x5a5d2c(0x2e9)](_0xe8dcbb);if(!!_0x3a84ec[_0x5a5d2c(0x1dc)](H))return!0x0;const _0x2abe23=_0x4d7bc1[_0x5a5d2c(0x2e9)](_0x146954),_0x288f9e=_0x4d7bc1['get'](G),{pivotTableId:_0x3b825a,pivotTableConfig:_0x1632dd,collectionConfig:_0x2f60f1,unitId:_0x1506c4,subUnitId:_0x13714a}=_0x5df4df,{sourceRangeInfo:_0x5b3163,fieldsConfig:_0x153290,targetCellInfo:_0x473ee8}=_0x1632dd,_0x1db2f0=_0x2abe23['getUnit'](_0x1506c4);if(!_0x1db2f0||!_0x1db2f0[_0x5a5d2c(0x2c0)](_0x13714a))return!0x1;if(!us()){let _0x162212=0x0;_0x1db2f0[_0x5a5d2c(0xf9)]()[_0x5a5d2c(0x2ef)](_0x4507ed=>{const _0x5c88b8=_0x5a5d2c;var _0x3a51e4,_0x389474;_0x162212+=(_0x389474=(_0x3a51e4=_0x288f9e[_0x5c88b8(0x106)](_0x1506c4,_0x4507ed[_0x5c88b8(0x9d)]()))==null?void 0x0:_0x3a51e4[_0x5c88b8(0xb5)])!=null?_0x389474:0x0;});const _0x33d662=(_0x35b67b=_0x3a84ec['getConfig'](_0x59310c))!=null?_0x35b67b:{},{ls:_0xc82604,pbk:_0x31bbdb}=_0x33d662;if(!jo(_0xc82604,_0x31bbdb))throw new _0x5146f5('limit\x20pivot');const _0x2b00b2=go(so,_0xc82604,_0x31bbdb)['count'];if(_0x162212>=_0x2b00b2)throw new _0x5146f5(_0x5a5d2c(0x9e));}if(!_0x2f60f1||!_0x153290)return!0x1;const {collection:_0x5741e9,updateDataFieldList:_0x568cce}=_0x288f9e[_0x5a5d2c(0x105)](_0x3b825a,_0x2f60f1,_0x5b3163,_0x473ee8);_0x288f9e[_0x5a5d2c(0x15d)](_0x5741e9,_0x568cce,_0x5b3163);const _0x435703=new _0x16e808(_0x5741e9,void 0x0,_0x3b825a);_0x435703[_0x5a5d2c(0x31f)](_0x153290);const _0xa8709e=JSON[_0x5a5d2c(0x175)](JSON[_0x5a5d2c(0x275)](_0x1632dd));return _0x288f9e[_0x5a5d2c(0x199)](_0x1506c4,_0x13714a,_0x3b825a,_0x435703,_0xa8709e),_0x288f9e[_0x5a5d2c(0x196)]({'unitId':_0x1506c4,'subUnitId':_0x13714a,'token':_0x3b825a,'type':L[_0x5a5d2c(0xa6)],'pivotConfig':_0xa8709e}),!0x0;}},Ot={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x468f65,_0x34e78a){const _0x3906f0=_0x1675c1;if(!_0x34e78a)return!0x1;if(!!_0x468f65[_0x3906f0(0x2e9)](_0xe8dcbb)[_0x3906f0(0x1dc)](H))return!0x0;const {pivotTableId:_0x34866b,unitId:_0x46b427,subUnitId:_0x579617}=_0x34e78a,_0x35780e=_0x468f65[_0x3906f0(0x2e9)](G);return _0x35780e[_0x3906f0(0x14e)](_0x46b427,_0x579617,_0x34866b)?(_0x35780e['addDirtyPivotTable']({'unitId':_0x46b427,'subUnitId':_0x579617,'token':_0x34866b,'type':L['Delete']}),_0x35780e[_0x3906f0(0x2ed)](_0x46b427,_0x579617,_0x34866b),!0x0):!0x1;}},pt={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x2bb),'handler'(_0x492d90,_0x360b06){const _0x3dc6e0=_0x1675c1;if(!_0x360b06)return!0x1;if(!!_0x492d90[_0x3dc6e0(0x2e9)](_0xe8dcbb)[_0x3dc6e0(0x1dc)](H))return!0x0;const {pivotTableId:_0x3238f4,targetCellPosition:_0xba9a86,unitId:_0x48812d,subUnitId:_0x2da861}=_0x360b06,_0x199a91=_0x492d90[_0x3dc6e0(0x2e9)](G);if(!_0x199a91[_0x3dc6e0(0x220)](_0x360b06[_0x3dc6e0(0x2fb)]))return!0x1;const _0x525c22=_0x199a91[_0x3dc6e0(0x209)](_0x3238f4);if(!_0x525c22)return!0x1;const _0x22e9a2=_0x199a91[_0x3dc6e0(0x28b)](_0x525c22[_0x3dc6e0(0x167)],_0x360b06[_0x3dc6e0(0x2fb)]);if(!_0x22e9a2)return!0x1;const _0xbab11b=_0x199a91['getPivotTableConfig'](_0x525c22['unitId'],_0x525c22[_0x3dc6e0(0x20b)],_0x3238f4);if(!_0xbab11b)return!0x1;const _0x325a3a=_0x14991f[_0x3dc6e0(0x230)](_0xbab11b);_0x325a3a['targetCellInfo']={'unitId':_0x48812d,'subUnitId':_0x2da861,'row':_0xba9a86[_0x3dc6e0(0xcd)],'col':_0xba9a86[_0x3dc6e0(0x1d6)]};const _0x199ec5=_0x22e9a2['toJSON']();if(_0x525c22[_0x3dc6e0(0x20b)]===_0x2da861&&_0x525c22[_0x3dc6e0(0x167)]===_0x48812d)_0x199a91[_0x3dc6e0(0x260)](_0x48812d,_0x2da861,_0x3238f4,_0x325a3a),_0x199a91[_0x3dc6e0(0x196)]({'unitId':_0x48812d,'subUnitId':_0x2da861,'token':_0x3238f4,'type':L['Set']});else{_0x199a91[_0x3dc6e0(0x196)]({'unitId':_0x525c22[_0x3dc6e0(0x167)],'subUnitId':_0x525c22['subUnitId'],'token':_0x3238f4,'type':L[_0x3dc6e0(0x211)]}),_0x199a91['removePivotTable'](_0x525c22[_0x3dc6e0(0x167)],_0x525c22[_0x3dc6e0(0x20b)],_0x3238f4);const _0x253f34=_0x199a91[_0x3dc6e0(0x105)](_0x3238f4,_0x199ec5,_0xbab11b['sourceRangeInfo'],_0x325a3a['targetCellInfo']),_0x367e04=new _0x16e808(_0x253f34[_0x3dc6e0(0x2fd)],void 0x0,_0x3238f4);_0x367e04[_0x3dc6e0(0x31f)](_0x325a3a[_0x3dc6e0(0x2bd)]),_0x199a91[_0x3dc6e0(0x199)](_0x48812d,_0x2da861,_0x3238f4,_0x367e04,_0x325a3a),_0x199a91[_0x3dc6e0(0x196)]({'unitId':_0x48812d,'subUnitId':_0x2da861,'token':_0x3238f4,'type':L[_0x3dc6e0(0xa6)],'pivotConfig':_0x325a3a});}return!0x0;}},to={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x44afb9,_0x5cf85d){const _0x5562c4=_0x1675c1;if(!_0x5cf85d)return!0x1;if(!!_0x44afb9[_0x5562c4(0x2e9)](_0xe8dcbb)[_0x5562c4(0x1dc)](H))return!0x0;const _0x53d0b5=_0x44afb9[_0x5562c4(0x2e9)](G),{pivotTableId:_0xad9e5b,deleteIds:_0x46265b,collectionJSON:_0x427af0,dataRangeInfo:_0x44854e,unitId:_0x2f738d,subUnitId:_0x236331}=_0x5cf85d,_0x173657=_0x53d0b5[_0x5562c4(0x220)](_0xad9e5b),_0x451c64=_0x53d0b5[_0x5562c4(0x14e)](_0x2f738d,_0x236331,_0xad9e5b);if(!_0x173657||!_0x451c64)return!0x1;const {collection:_0x42ddfe,updateDataFieldList:_0x54b27e}=_0x53d0b5['addCollectionByJSON'](_0xad9e5b,_0x427af0,_0x44854e,_0x451c64[_0x5562c4(0xb1)]);_0x53d0b5[_0x5562c4(0x15d)](_0x42ddfe,_0x54b27e,_0x44854e),_0x173657[_0x5562c4(0x1c5)](_0x42ddfe);for(const _0x3adc0c of _0x46265b)_0x53d0b5[_0x5562c4(0x279)](_0x44854e[_0x5562c4(0x167)],_0x3adc0c);const _0x260140=_0x53d0b5['getPivotTableConfig'](_0x2f738d,_0x236331,_0xad9e5b);return _0x260140[_0x5562c4(0xdb)]=JSON[_0x5562c4(0x175)](JSON['stringify'](_0x44854e)),_0x53d0b5[_0x5562c4(0x196)]({'unitId':_0x2f738d,'subUnitId':_0x236331,'token':_0xad9e5b,'type':L['Set']}),!0x0;}},Et={'type':_0x3fc5c3[_0x1675c1(0xd9)],'id':_0x1675c1(0x9f),'handler'(){return!0x0;}};var fs=Object[_0x1675c1(0xd3)],gs=(_0x3bca1b,_0x1fbd17,_0x56a1e8,_0x1b0e7d)=>{for(var _0x38a3b5=_0x1b0e7d>0x1?void 0x0:_0x1b0e7d?fs(_0x1fbd17,_0x56a1e8):_0x1fbd17,_0x345d3e=_0x3bca1b['length']-0x1,_0xe0be79;_0x345d3e>=0x0;_0x345d3e--)(_0xe0be79=_0x3bca1b[_0x345d3e])&&(_0x38a3b5=_0xe0be79(_0x38a3b5)||_0x38a3b5);return _0x38a3b5;},wo=(_0x87fb7a,_0x3e2cb3)=>(_0x1e408d,_0x5b890b)=>_0x3e2cb3(_0x1e408d,_0x5b890b,_0x87fb7a);let Z=class extends _0x5334b7{constructor(_0x48f4a0,_0xccc9fb){const _0x2eae34=_0x1675c1;super(),U(this,_0x2eae34(0x2a3),new Map()),(this[_0x2eae34(0x312)]=_0x48f4a0,this[_0x2eae34(0x25d)]=_0xccc9fb);}[_0x1675c1(0x2a9)](_0x161877){const _0x442d0a=_0x1675c1,{version:_0x4f983d}=_0x161877,_0x580343=this[_0x442d0a(0x2a3)]['get'](_0x4f983d);_0x580343&&(_0x580343(_0x161877),this[_0x442d0a(0x2a3)][_0x442d0a(0x30d)](_0x4f983d));}[_0x1675c1(0x180)](_0x525317){return new Promise((_0x456c0b,_0x22fcde)=>{const _0x26db4d=_0x2dae,_0x16a592=this[_0x26db4d(0x1d2)]();this[_0x26db4d(0x2a3)][_0x26db4d(0x21f)](_0x16a592,_0x456c0b),this[_0x26db4d(0x25d)][_0x26db4d(0x2e1)](ro['id'],{'version':_0x16a592,..._0x525317},{'onlyLocal':!0x0});});}[_0x1675c1(0x1d2)](){const _0xdba69f=_0x1675c1;return Math[_0xdba69f(0x28f)]()['toString'](0x24)['substring'](0x2,0x10);}};Z=gs([wo(0x0,_0x2fd05e(_0x854c25)),wo(0x1,_0x2fd05e(_0x3408cd))],Z);const Yo={'id':'sheet.mutation.add-group-collection','type':_0x3fc5c3['MUTATION'],'handler':(_0x177921,_0x3f8d0d)=>{const _0x59582b=_0x1675c1;if(!_0x3f8d0d)return!0x1;if(!!_0x177921['get'](_0xe8dcbb)[_0x59582b(0x1dc)](H))return!0x0;const {pivotTableId:_0xda88bf,fieldJSON:_0x22bf62,unitId:_0x4709f8,subUnitId:_0x26b0a0}=_0x3f8d0d,_0xf44119=_0x1c07f9['fromJSON'](_0x22bf62);if(!_0xf44119)return!0x1;const _0x3c8d17=_0x177921[_0x59582b(0x2e9)](G),_0x4ca559=_0x3c8d17[_0x59582b(0x23a)](_0x4709f8),_0x5414b9=_0x4ca559[_0x59582b(0x28b)](_0xda88bf);_0x4ca559[_0x59582b(0x282)](_0xf44119),_0x5414b9[_0x59582b(0x273)](_0xf44119[_0x59582b(0xf5)](),_0xf44119['getName']());const _0x41be90=_0x5414b9[_0x59582b(0xe0)](_0xf44119[_0x59582b(0x2e3)]());_0x41be90&&_0xf44119[_0x59582b(0x243)](_0x41be90);const _0x37b52e=_0x3c8d17[_0x59582b(0x14e)](_0x4709f8,_0x26b0a0,_0xda88bf);return _0x3c8d17[_0x59582b(0x196)]({'unitId':_0x4709f8,'subUnitId':_0x26b0a0,'token':_0xda88bf,'type':L[_0x59582b(0x2e2)],'pivotConfig':_0x37b52e}),!0x0;}},Qo={'id':_0x1675c1(0xb9),'type':_0x3fc5c3['MUTATION'],'handler':(_0x321470,_0x4a139a)=>{const _0x38774b=_0x1675c1;if(!_0x4a139a)return!0x1;if(!!_0x321470[_0x38774b(0x2e9)](_0xe8dcbb)[_0x38774b(0x1dc)](H))return!0x0;const {pivotTableId:_0x562a45,dataFieldId:_0x24dc79,unitId:_0x58f1ff,subUnitId:_0x5dab0e}=_0x4a139a,_0x55d4ea=_0x321470[_0x38774b(0x2e9)](G),_0x5d9c0a=_0x55d4ea[_0x38774b(0x23a)](_0x58f1ff);_0x5d9c0a[_0x38774b(0x28b)](_0x562a45)[_0x38774b(0x303)](_0x24dc79);let _0x4159c4=!0x0;for(const _0xc15b46 in _0x5d9c0a['collections'])if(_0x5d9c0a[_0x38774b(0x234)][_0xc15b46][_0x38774b(0x2eb)]()[_0x38774b(0x19f)](_0x24dc79)){_0x4159c4=!0x1;break;}_0x4159c4&&_0x5d9c0a[_0x38774b(0x137)](_0x24dc79);const _0x328b0f=_0x55d4ea['getPivotTableConfig'](_0x58f1ff,_0x5dab0e,_0x562a45);return _0x55d4ea[_0x38774b(0x196)]({'unitId':_0x58f1ff,'subUnitId':_0x5dab0e,'token':_0x562a45,'type':L[_0x38774b(0x2e2)],'pivotConfig':_0x328b0f}),!0x0;}},hs={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x2c5),async 'handler'(_0x3ada4d,_0x306089){const _0x2ae278=_0x1675c1;if(!_0x306089)return!0x1;const _0x5e588e=_0x3ada4d['get'](_0x3408cd),_0x779dfb=_0x3ada4d['get'](Z),_0x4a499e=_0x3ada4d[_0x2ae278(0x2e9)](_0x5ea86a),{pivotTableId:_0x523ebb,dataFieldId:_0x5bfafe,fieldArea:_0x854f24,index:_0x58ad3a,unitId:_0x26d6f3,subUnitId:_0x2185dd}=_0x306089,_0x2cec8f=(await _0x779dfb['getPivotDisplayConfig']({'unitId':_0x26d6f3,'subUnitId':_0x2185dd,'pivotTableId':_0x523ebb,'params':{'type':A[_0x2ae278(0x13e)],'addPivotField':{'dataFieldId':_0x5bfafe,'fieldArea':_0x854f24,'index':_0x58ad3a}}}))[_0x2ae278(0x194)]['addPivotField'];if(!_0x2cec8f)return!0x1;const {view:_0x392b2f,changesets:_0x351db7,isEmpty:_0x5b236c,pivotTableConfig:_0x1f11c6,shouldBeAddedGroupJSON:_0x365050}=_0x2cec8f,_0x89e0c6=_0x1f11c6['targetCellInfo'],_0x15a798=new _0x14d91f();_0x15a798[_0x2ae278(0xc1)](_0x392b2f);const _0x5ae710={'cellInfo':_0x89e0c6,'view':_0x15a798,'isEmpty':_0x5b236c};if(!await _0x3ada4d[_0x2ae278(0x2e9)](ie)[_0x2ae278(0x1cf)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x5ae710))return!0x1;const _0x4f0fc4=we(_0x3ada4d,_0x15a798,_0x89e0c6,_0x5b236c),_0x4bfb0f=_e(_0x3ada4d,_0x5ae710),{undos:_0x13076c,redos:_0x547c43}=me(_0x5e588e,{'pivotTableId':_0x523ebb,'unitId':_0x26d6f3,'subUnitId':_0x2185dd},_0x351db7);return _0x365050&&(_0x547c43[_0x2ae278(0x1fe)]({'id':Yo['id'],'params':{'pivotTableId':_0x523ebb,'fieldJSON':_0x365050,'unitId':_0x26d6f3,'subUnitId':_0x2185dd}}),_0x13076c[_0x2ae278(0x1a3)]({'id':Qo['id'],'params':{'pivotTableId':_0x523ebb,'dataFieldId':_0x365050['id'],'unitId':_0x26d6f3,'subUnitId':_0x2185dd}})),_0x2e7d7d([..._0x4f0fc4[_0x2ae278(0x1b3)],..._0x4bfb0f[_0x2ae278(0x1b3)],..._0x547c43],_0x5e588e),_0x4a499e['pushUndoRedo']({'unitID':_0x26d6f3,'redoMutations':[..._0x4f0fc4[_0x2ae278(0x1b3)],..._0x4bfb0f[_0x2ae278(0x1b3)],..._0x547c43],'undoMutations':[..._0x4f0fc4[_0x2ae278(0x1e2)],..._0x4bfb0f[_0x2ae278(0x1e2)],..._0x13076c]}),!0x0;}},vs={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x142),async 'handler'(_0x25ada8,_0x46ce1a){const _0x5bf81e=_0x1675c1;if(!_0x46ce1a)return!0x1;const {sourceDataInfo:_0xc012a9,pivotTableConfig:_0x40dcf7}=_0x46ce1a;if(!_0xc012a9||!_0x40dcf7)return!0x1;const {unitId:_0x558a8d,subUnitId:_0x38d3d3,range:_0x1666bb}=_0xc012a9,_0x2979ae=_0x25ada8[_0x5bf81e(0x2e9)](_0x146954),_0x3dd87b=_0x25ada8[_0x5bf81e(0x2e9)](Z),_0x36b863=_0x25ada8['get'](_0x7abaf8),_0x4edf9b=_0x25ada8[_0x5bf81e(0x2e9)](_0x3408cd),_0x3d2541=_0x2979ae['getUnit'](_0x558a8d);if(!_0x3d2541)return!0x1;const _0xe202b8=_0x3d2541[_0x5bf81e(0x2c0)](_0x38d3d3);if(!_0xe202b8)return!0x1;const _0x191b3a=_0x248684(0x8),_0x449a6b=_0x1666bb||{'startRow':0x0,'startColumn':0x0,'endRow':_0xe202b8[_0x5bf81e(0x113)]()-0x1,'endColumn':_0xe202b8[_0x5bf81e(0xe4)]()-0x1};_0x449a6b['rangeType']=_0x3153b7[_0x5bf81e(0x2f0)];const _0x4882e2=(await _0x3dd87b[_0x5bf81e(0x180)]({'unitId':_0x558a8d,'subUnitId':_0x38d3d3,'pivotTableId':_0x191b3a,'params':{'type':A['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x558a8d,'sheetName':_0xe202b8['getName'](),'subUnitId':_0x38d3d3,'range':_0x449a6b},'pivotTableId':_0x191b3a,'pivotTableIndexConfig':_0x40dcf7}}}))[_0x5bf81e(0x194)][_0x5bf81e(0x11f)];if(!_0x4882e2)return!0x1;const {isEmpty:_0x59aedd,fieldsConfig:_0x35af97,collectionConfig:_0x46212c,changesets:_0x2ae493}=_0x4882e2,_0x34590a=_0x3d2541['getSheets']()[_0x5bf81e(0xff)],_0x85101b=_0x9aa09a({'rowCount':_0xe202b8[_0x5bf81e(0x113)]()-0x1,'columnCount':_0xe202b8[_0x5bf81e(0xe4)]()-0x1});_0x85101b['id']=_0x4444c1(),_0x85101b[_0x5bf81e(0x31c)]=_0x3d2541['generateNewSheetName'](''+_0x36b863['t']('sheets.tabs.sheet'));const _0x21c699={'index':_0x34590a,'sheet':_0x85101b,'unitId':_0x558a8d},{redos:_0x3b6f6c}=me(_0x4edf9b,{'pivotTableId':_0x191b3a,'unitId':_0x558a8d,'subUnitId':_0x85101b['id']},_0x2ae493),_0x141ed4=[{'id':_0x21737c['id'],'params':_0x21c699},{'id':Ct['id'],'params':{'unitId':_0x558a8d,'subUnitId':_0x85101b['id'],'pivotTableId':_0x191b3a,'pivotTableConfig':{'isEmpty':_0x59aedd,'fieldsConfig':_0x35af97,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x558a8d,'subUnitId':_0x85101b['id']},'sourceRangeInfo':{'subUnitId':_0x38d3d3,'unitId':_0x558a8d,'range':_0x449a6b,'sheetName':_0xe202b8[_0x5bf81e(0xce)]()}},'collectionConfig':_0x46212c}},..._0x3b6f6c];return _0x2e7d7d(_0x141ed4,_0x4edf9b),!0x0;}},ps={'type':_0x3fc5c3['COMMAND'],'id':'sheet.command.add-pivot-table',async 'handler'(_0x45e36d,_0x4f1c2b){const _0x1d017a=_0x1675c1;var _0x48b759,_0x1a169b;const _0x5f2ec6=_0x45e36d[_0x1d017a(0x2e9)](_0x3408cd),_0x3b03df=_0x45e36d[_0x1d017a(0x2e9)](_0x146954),_0x32ea70=_0x45e36d[_0x1d017a(0x2e9)](_0x7abaf8),_0x1f824d=_0x45e36d[_0x1d017a(0x2e9)](Z),_0x349239=_0x45e36d['get'](_0x5ea86a),_0x241e2f=_0x45e36d[_0x1d017a(0x2e9)](ve),_0x3ef4ec=_0x45e36d[_0x1d017a(0x2e9)](_0xe8dcbb);if(!_0x4f1c2b)return!0x1;const {pivotTableConfig:_0x3a341b,positionType:_0x5113ee}=_0x4f1c2b,{targetCellInfo:_0x26770b,sourceRangeInfo:_0x1ca69e}=_0x3a341b,{unitId:_0x57c9f5,subUnitId:_0x31403c}=_0x26770b,_0x56bf52=_0x3b03df[_0x1d017a(0x2aa)](_0x57c9f5);if(!_0x56bf52)return!0x1;let _0x12166a=0x0;_0x56bf52[_0x1d017a(0xf9)]()[_0x1d017a(0x2ef)](_0x3f2664=>{const _0x1d0d7e=_0x1d017a;var _0x18ae4a,_0x501a24;_0x12166a+=(_0x501a24=(_0x18ae4a=_0x241e2f['getSubUnitPivotConfigs'](_0x57c9f5,_0x3f2664[_0x1d0d7e(0x9d)]()))==null?void 0x0:_0x18ae4a[_0x1d0d7e(0xb5)])!=null?_0x501a24:0x0;});const _0x509eb9=(_0x48b759=_0x3ef4ec['getConfig'](_0x59310c))!=null?_0x48b759:{},{ls:_0x2a7683,pbk:_0x52f7eb}=_0x509eb9;if(!jo(_0x2a7683,_0x52f7eb))return!0x1;const _0x399903=go(so,_0x2a7683,_0x52f7eb)[_0x1d017a(0xd1)];if(_0x12166a>=_0x399903)return!0x1;const _0x65b9e4=_0x4f1c2b[_0x1d017a(0x2fb)]||_0x248684(0x8),_0x16ac28=(await _0x1f824d[_0x1d017a(0x180)]({'unitId':_0x57c9f5,'subUnitId':_0x31403c,'pivotTableId':_0x65b9e4,'params':{'type':A[_0x1d017a(0x21d)],'addPivotTable':{'sourceRangeInfo':_0x1ca69e,'pivotTableId':_0x65b9e4}}}))[_0x1d017a(0x194)]['addPivotTable'];if(!_0x16ac28)return!0x1;const {view:_0x3765a3,isEmpty:_0xa25733,fieldsConfig:_0x3f6468,collectionConfig:_0x25fa5a}=_0x16ac28,_0x5b910d=[],_0x27e427=[];if(_0x5113ee===Wo['New']){const _0x20eb48=_0x56bf52[_0x1d017a(0xf9)]()[_0x1d017a(0xff)],_0x1b1c0c=_0x9aa09a({});_0x1b1c0c['id']=_0x3a341b[_0x1d017a(0xb1)][_0x1d017a(0x20b)],_0x1b1c0c[_0x1d017a(0x31c)]=(_0x1a169b=_0x3a341b[_0x1d017a(0xb1)]['sheetName'])!=null?_0x1a169b:_0x56bf52[_0x1d017a(0x115)](''+_0x32ea70['t']('sheets.tabs.sheet'));const _0x315146={'index':_0x20eb48,'sheet':_0x1b1c0c,'unitId':_0x57c9f5},_0x2953c0=_0x316f56(_0x45e36d,_0x315146);_0x5b910d['push']({'id':_0x539518['id'],'params':_0x2953c0}),_0x27e427[_0x1d017a(0x1a3)]({'id':_0x227c31['id'],'params':_0x315146});}else{if(!_0x56bf52[_0x1d017a(0x2c0)](_0x31403c))return!0x1;const _0x2afc8a=we(_0x45e36d,new _0x14d91f(),_0x26770b,!0x0);_0x27e427[_0x1d017a(0x1a3)](..._0x2afc8a[_0x1d017a(0x1b3)]),_0x5b910d[_0x1d017a(0x1a3)](..._0x2afc8a[_0x1d017a(0x1e2)]);const _0x426f0c={'cellInfo':_0x26770b,'view':_0x3765a3,'isEmpty':_0xa25733};if(!await _0x45e36d[_0x1d017a(0x2e9)](ie)['asyncInterceptor'][_0x1d017a(0xaa)](be)(!0x0,_0x426f0c))return!0x1;const _0x302377=_e(_0x45e36d,_0x426f0c);_0x27e427[_0x1d017a(0x1a3)](..._0x302377[_0x1d017a(0x1b3)]),_0x5b910d['push'](..._0x302377[_0x1d017a(0x1e2)]);}return _0x27e427['push']({'id':Ct['id'],'params':{'unitId':_0x26770b[_0x1d017a(0x167)],'subUnitId':_0x26770b['subUnitId'],'pivotTableId':_0x65b9e4,'pivotTableConfig':{'targetCellInfo':_0x26770b,'sourceRangeInfo':_0x1ca69e,'fieldsConfig':_0x3f6468},'collectionConfig':_0x25fa5a}}),_0x5b910d['unshift']({'id':Ot['id'],'params':{'unitId':_0x57c9f5,'subUnitId':_0x31403c,'pivotTableId':_0x65b9e4}}),_0x2e7d7d(_0x27e427,_0x5f2ec6)&&_0x349239[_0x1d017a(0x216)]({'unitID':_0x57c9f5,'undoMutations':_0x5b910d,'redoMutations':_0x27e427}),!0x0;}},ms={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0xac),async 'handler'(_0x2d4039,_0x11c55a){const _0x59a8de=_0x1675c1;if(!_0x11c55a)return!0x1;const _0x3f42d7=_0x2d4039['get'](_0x3408cd),_0xf87521=_0x2d4039['get'](Z),_0x37c1fa=_0x2d4039[_0x59a8de(0x2e9)](_0x5ea86a),{pivotTableId:_0x201e48,fieldId:_0x58c52e,area:_0x3fffce,index:_0x5a9870,unitId:_0x295f55,subUnitId:_0x10ab00}=_0x11c55a,_0x1cef69=(await _0xf87521[_0x59a8de(0x180)]({'unitId':_0x295f55,'subUnitId':_0x10ab00,'pivotTableId':_0x201e48,'params':{'type':A[_0x59a8de(0x1c9)],'movePivotField':{'fieldId':_0x58c52e,'area':_0x3fffce,'index':_0x5a9870}}}))[_0x59a8de(0x194)]['movePivotField'];if(!_0x1cef69)return!0x1;const {changesets:_0x4156e2,view:_0x527850,isEmpty:_0x1fe5ec,pivotTableConfig:_0x226834}=_0x1cef69,_0x2c3371=_0x226834[_0x59a8de(0xb1)],_0x509811=new _0x14d91f();_0x509811[_0x59a8de(0xc1)](_0x527850);const _0x1caeb3={'cellInfo':_0x2c3371,'view':_0x509811,'isEmpty':_0x1fe5ec};if(!await _0x2d4039[_0x59a8de(0x2e9)](ie)['asyncInterceptor'][_0x59a8de(0xaa)](be)(!0x0,_0x1caeb3))return!0x1;const _0x2abde3=we(_0x2d4039,_0x509811,_0x2c3371,_0x1fe5ec),_0xb8040f=_e(_0x2d4039,_0x1caeb3),{redos:_0x22450a,undos:_0xc5fe0c}=me(_0x3f42d7,{'pivotTableId':_0x201e48,'unitId':_0x295f55,'subUnitId':_0x10ab00},_0x4156e2);return _0x2e7d7d([..._0x2abde3[_0x59a8de(0x1b3)],..._0xb8040f[_0x59a8de(0x1b3)],..._0x22450a],_0x3f42d7),_0x37c1fa['pushUndoRedo']({'unitID':_0x295f55,'redoMutations':[..._0x2abde3[_0x59a8de(0x1b3)],..._0xb8040f[_0x59a8de(0x1b3)],..._0x22450a],'undoMutations':[..._0x2abde3['undos'],..._0xb8040f[_0x59a8de(0x1e2)],..._0xc5fe0c]}),!0x0;}},Is={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x190),async 'handler'(_0xb7f6dd,_0xb4ab6a){const _0x4f9a5b=_0x1675c1;var _0x47f1c8;if(!_0xb4ab6a)return!0x1;const _0x4ab30f=_0xb7f6dd[_0x4f9a5b(0x2e9)](_0x146954),_0x22aa21=_0x2075c9(_0x4ab30f);if(!_0x22aa21)return!0x1;const {unitId:_0x4ffc34,subUnitId:_0x2d5186,workbook:_0xff121c}=_0x22aa21,{row:_0x558dbf,col:_0x57c4d1}=_0xb4ab6a,_0x5130c3=_0xb7f6dd['get'](Ne),_0x452a26=_0x5130c3['getPivotTableIdByCell'](_0x4ffc34,_0x2d5186,_0x558dbf,_0x57c4d1);if(!_0x452a26)return!0x1;const _0x4c47ee=(_0x47f1c8=_0x5130c3[_0x4f9a5b(0x124)](_0x4ffc34,_0x2d5186,_0x452a26))==null?void 0x0:_0x47f1c8[_0x4f9a5b(0xe9)];if(!_0x4c47ee)return!0x1;const _0x1d1798=_0xb7f6dd[_0x4f9a5b(0x2e9)](ve)['getPivotTableConfig'](_0x4ffc34,_0x2d5186,_0x452a26);if(!_0x1d1798)return!0x1;const {rowInfo:_0x532f7f,colInfo:_0x133102}=_0x4c47ee,_0xa02581=_0x532f7f[_0x558dbf][_0x4f9a5b(0x2b6)],_0x4d1fdf=_0x133102[_0x57c4d1][_0x4f9a5b(0x2b6)],_0x2c8644=_0x532f7f[_0x558dbf][_0x4f9a5b(0x2bf)],_0x855f3a=_0x133102[_0x57c4d1][_0x4f9a5b(0x2bf)],_0x5e1ac3=_0xa02581[_0x4f9a5b(0x164)](_0x4d1fdf),_0x103dc9=_0x1d1798[_0x4f9a5b(0x2bd)]['rowFields'][_0x4f9a5b(0xf4)](0x0,_0x2c8644),_0x7725e2=_0x1d1798['fieldsConfig'][_0x4f9a5b(0x1fd)][_0x4f9a5b(0xf4)](0x0,_0x855f3a),_0x317c2a=_0x103dc9['concat'](_0x7725e2),_0x433010=_0x5e1ac3[_0x4f9a5b(0x11d)]((_0x50bd5e,_0x45e44e)=>[_0x50bd5e,_0x317c2a[_0x45e44e]]),_0xf5ae3f=(await _0xb7f6dd['get'](Z)[_0x4f9a5b(0x180)]({'unitId':_0x4ffc34,'subUnitId':_0x2d5186,'pivotTableId':_0x452a26,'params':{'type':A['DrillDown'],'drillDown':{'tuple':_0x433010}}}))[_0x4f9a5b(0x194)][_0x4f9a5b(0x320)];if(!_0xf5ae3f)return!0x1;const {indexes:_0x1705dd,range:_0x1a2bd3,sourceUnitId:_0x3b9cc4,sourceSubUnitId:_0x2a1888,formatMap:_0xc8e166}=_0xf5ae3f,{startRow:_0x1c2468,endRow:_0x1ca7aa,startColumn:_0x3ddb19,endColumn:_0x4cb9e9}=_0x1a2bd3,_0x497035=new _0x1d8f59(),_0x5af3bf=_0x1ca7aa-_0x1c2468,_0x3baa78=_0x4cb9e9-_0x3ddb19,_0x3df3eb={},_0x5b3b5b=_0x2075c9(_0x4ab30f,{'unitId':_0x3b9cc4,'subUnitId':_0x2a1888});if(!_0x5b3b5b)return!0x1;const _0x388f58=fe[_0x4f9a5b(0x2e8)],_0x4b259d=fe[_0x4f9a5b(0x123)],_0xe43659=fe[_0x4f9a5b(0x123)],_0x181425=_0xff121c[_0x4f9a5b(0x23f)]()[_0x4f9a5b(0x2d0)](_0x388f58),_0x55859c=_0xff121c[_0x4f9a5b(0x23f)]()[_0x4f9a5b(0x2d0)](_0x4b259d),_0x4e004a=_0xff121c[_0x4f9a5b(0x23f)]()['setValue'](_0xe43659),{worksheet:_0x15bc9e}=_0x5b3b5b;let _0x3bb5db=0x0;const _0x1b57cb=0x1;_0x1705dd[_0x4f9a5b(0x2ef)](_0x222196=>{const _0x247192=_0x4f9a5b;for(let _0x593c23=0x0;_0x593c23<=_0x4cb9e9-_0x3ddb19;_0x593c23++)_0x497035['setValue'](_0x3bb5db,_0x593c23,_0x15bc9e[_0x247192(0xa4)](_0x222196+_0x1a2bd3['startRow']+_0x1b57cb,_0x593c23));_0x3bb5db++;});for(let _0x4d688a=_0x3ddb19;_0x4d688a<=_0x4cb9e9;_0x4d688a++){const _0x5a921f=_0x15bc9e[_0x4f9a5b(0xa4)](_0x1c2468,_0x4d688a);_0x3df3eb[_0x1c2468]||(_0x3df3eb[_0x1c2468]={}),_0x3df3eb[_0x1c2468][_0x4d688a]={..._0x5a921f,'s':_0x181425};}let _0x2e6b27=0x1;const _0x16c99d={},_0x2dd9c7={};_0x497035[_0x4f9a5b(0x27e)]((_0x111bf5,_0x405f07)=>{const _0x4c16fe=_0x4f9a5b;_0x405f07[_0x4c16fe(0x2ef)](_0x1c6424=>{const _0x5f4881=_0x4c16fe,_0x594313=_0x497035[_0x5f4881(0x22e)](_0x111bf5,_0x1c6424);if(_0x3df3eb[_0x2e6b27]||(_0x3df3eb[_0x2e6b27]={}),_0x3df3eb[_0x2e6b27][_0x1c6424]={..._0x594313,'s':_0x2e6b27%0x2===0x0?_0x4e004a:_0x55859c},_0xc8e166[_0x1c6424]&&_0x111bf5>=0x0){const _0x286d01=_0x2e6b27%0x2===0x0;let _0x385660=_0x286d01?_0x2dd9c7[_0x1c6424]:_0x16c99d[_0x1c6424];_0x385660||(_0x385660=_0xff121c['getStyles']()[_0x5f4881(0x2d0)]({..._0x286d01?_0xe43659:_0x4b259d,'n':{'pattern':_0xc8e166[_0x1c6424]}}),_0x286d01?_0x2dd9c7[_0x1c6424]=_0x385660:_0x16c99d[_0x1c6424]=_0x385660),_0x3df3eb[_0x2e6b27][_0x1c6424]['s']=_0x385660;}}),_0x2e6b27++;});const _0x51b81a=new _0x1d8f59(_0x3df3eb),_0x4a6ac4={};_0x51b81a[_0x4f9a5b(0xa0)]((_0x2e7937,_0x4d507d,_0x318eb1)=>{_0x4a6ac4[_0x2e7937]||(_0x4a6ac4[_0x2e7937]={}),_0x4a6ac4[_0x2e7937][_0x4d507d]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x3e3b5c=[],_0x332455=[],_0x33812d=_0xff121c[_0x4f9a5b(0xf9)]()[_0x4f9a5b(0xff)],_0x34a952=_0x9aa09a({'rowCount':Math[_0x4f9a5b(0x224)](_0x2abe75,_0x5af3bf+0xa),'columnCount':Math[_0x4f9a5b(0x224)](_0x4d9604,_0x3baa78+0x5)}),_0x377822=_0xb7f6dd[_0x4f9a5b(0x2e9)](_0x7abaf8);_0x34a952['id']=_0x4444c1(),_0x34a952[_0x4f9a5b(0x31c)]=_0xff121c[_0x4f9a5b(0x115)](''+_0x377822['t']('sheets.tabs.sheet'));const _0x3ae3c0={'index':_0x33812d,'sheet':_0x34a952,'unitId':_0x4ffc34},_0x509a9b=_0x316f56(_0xb7f6dd,_0x3ae3c0);_0x332455[_0x4f9a5b(0x1a3)]({'id':_0x227c31['id'],'params':_0x3ae3c0}),_0x3e3b5c[_0x4f9a5b(0x1a3)]({'id':_0x539518['id'],'params':_0x509a9b}),_0x332455['push']({'id':_0x3f552b['id'],'params':{'unitId':_0x4ffc34,'subUnitId':_0x34a952['id'],'cellValue':_0x3df3eb}}),_0x3e3b5c[_0x4f9a5b(0x1fe)]({'id':_0x3f552b['id'],'params':{'unitId':_0x4ffc34,'subUnitId':_0x34a952['id'],'cellValue':_0x4a6ac4}});const _0x39a15c={'startRow':0x0,'startColumn':0x0,'endRow':_0x2e6b27-0x1,'endColumn':_0x4cb9e9};_0x332455[_0x4f9a5b(0x1a3)]({'id':_0x4328ea['id'],'params':{'unitId':_0x4ffc34,'subUnitId':_0x34a952['id'],'range':_0x39a15c}}),_0x3e3b5c[_0x4f9a5b(0x1fe)]({'id':_0x1158ed['id'],'params':{'unitId':_0x4ffc34,'subUnitId':_0x34a952['id']}});const _0x4de9b5=_0xb7f6dd[_0x4f9a5b(0x2e9)](_0x3408cd);return _0x2e7d7d(_0x332455,_0x4de9b5)&&_0xb7f6dd[_0x4f9a5b(0x2e9)](_0x5ea86a)['pushUndoRedo']({'unitID':_0x4ffc34,'undoMutations':_0x3e3b5c,'redoMutations':_0x332455}),!0x0;}},Cs={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x4ededc,_0x7f5f0b){const _0x456060=_0x1675c1;if(!_0x7f5f0b)return!0x1;const _0x3957c1=_0x4ededc['get'](_0x3408cd),_0x32f776=_0x4ededc[_0x456060(0x2e9)](Z),_0x4e9e09=_0x4ededc['get'](_0x5ea86a),{pivotTableId:_0x1e4873,fieldIds:_0x15afab,unitId:_0x2071ac,subUnitId:_0x386689}=_0x7f5f0b,_0x29170e=(await _0x32f776['getPivotDisplayConfig']({'unitId':_0x2071ac,'subUnitId':_0x386689,'pivotTableId':_0x1e4873,'params':{'type':A[_0x456060(0x301)],'removePivotField':{'fieldIds':_0x15afab}}}))[_0x456060(0x194)]['removePivotField'];if(!_0x29170e)return!0x1;const {view:_0x3e4fe5,changesets:_0x3dbfc4,isEmpty:_0x14d7b7,pivotTableConfig:_0x466405}=_0x29170e,_0x299793=_0x466405[_0x456060(0xb1)],_0x344944=new _0x14d91f();_0x344944[_0x456060(0xc1)](_0x3e4fe5);const _0x5ea61b={'cellInfo':_0x299793,'view':_0x344944,'isEmpty':_0x14d7b7};if(!await _0x4ededc[_0x456060(0x2e9)](ie)['asyncInterceptor'][_0x456060(0xaa)](be)(!0x0,_0x5ea61b))return!0x1;const _0x9a6de4=we(_0x4ededc,_0x344944,_0x299793,_0x14d7b7),_0x174770=_e(_0x4ededc,_0x5ea61b),{redos:_0x1ce3fd,undos:_0x170a89}=me(_0x3957c1,{'pivotTableId':_0x1e4873,'unitId':_0x2071ac,'subUnitId':_0x386689},_0x3dbfc4);return _0x2e7d7d([..._0x9a6de4[_0x456060(0x1b3)],..._0x174770[_0x456060(0x1b3)],..._0x1ce3fd],_0x3957c1),_0x4e9e09[_0x456060(0x216)]({'unitID':_0x2071ac,'redoMutations':[..._0x9a6de4[_0x456060(0x1b3)],..._0x174770['redos'],..._0x1ce3fd],'undoMutations':[..._0x9a6de4[_0x456060(0x1e2)],..._0x174770[_0x456060(0x1e2)],..._0x170a89]}),!0x0;}},bs={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x3e05dc,_0x2376dc){const _0x4d84ad=_0x1675c1;var _0x10619b;const _0x5ae564=_0x3e05dc[_0x4d84ad(0x2e9)](_0x3408cd),_0x119150=_0x3e05dc[_0x4d84ad(0x2e9)](Z),_0x11028e=_0x3e05dc[_0x4d84ad(0x2e9)](Ne),_0x518e0e=_0x3e05dc[_0x4d84ad(0x2e9)](_0x146954),_0x46ebe9=_0x3e05dc[_0x4d84ad(0x2e9)](_0x5ea86a);if(!_0x2376dc)return!0x1;const {unitId:_0x541936,subUnitId:_0x398827,row:_0x36a749,col:_0x20833f,collapse:_0x1c82aa}=_0x2376dc,_0x37437e=_0x518e0e['getUnit'](_0x541936);if(!_0x37437e||!_0x37437e[_0x4d84ad(0x2c0)](_0x398827))return!0x1;const _0x26483b=_0x11028e[_0x4d84ad(0x264)](_0x541936,_0x398827,_0x36a749,_0x20833f);if(!_0x26483b)return!0x1;const _0x1c8ebd=_0x11028e[_0x4d84ad(0x124)](_0x541936,_0x398827,_0x26483b);if(!_0x1c8ebd)return!0x1;const _0x3b4fc2=_0x34e162(_0x36a749,_0x20833f),{rangesInfo:_0x1687fd,areaInfo:_0x2d2578,headerMap:_0x2b62e6}=_0x1c8ebd;if(!_0x1687fd||!_0x2d2578||!_0x2b62e6)return!0x1;const _0x3c0d3c=Object[_0x4d84ad(0x121)](_0x1687fd)[_0x4d84ad(0x300)](_0x6eadb9=>_0x1687fd[_0x6eadb9][_0x4d84ad(0x2fc)](_0x49ea53=>_0x351caf['contains'](_0x49ea53,_0x3b4fc2)));let _0x22091b;_0x3c0d3c==='rowRanges'?_0x22091b=_0x2b62e6[_0x4d84ad(0x2ca)][_0x20833f]:_0x3c0d3c===_0x4d84ad(0x20a)&&(_0x22091b=_0x2b62e6[_0x4d84ad(0x2dd)][_0x36a749]);const _0x52b9ce=_0x22091b==null?void 0x0:_0x22091b[_0x4d84ad(0x1e6)],_0x45cb46=(_0x10619b=_0x11028e[_0x4d84ad(0x157)](_0x541936,_0x398827,_0x36a749,_0x20833f))==null?void 0x0:_0x10619b['v'];if(_0x45cb46==null||!_0x26483b||!_0x52b9ce)return!0x1;const _0x1643f0=await _0x119150['getPivotDisplayConfig']({'unitId':_0x541936,'subUnitId':_0x398827,'pivotTableId':_0x26483b,'params':{'type':A[_0x4d84ad(0x319)],'setPivotCollapse':{'tableFieldId':_0x52b9ce,'collapse':_0x1c82aa,'item':_0x45cb46}}}),_0x228651=_0x1643f0==null?void 0x0:_0x1643f0[_0x4d84ad(0x194)][_0x4d84ad(0x321)];if(!_0x228651)return!0x1;const {view:_0x120468,pivotTableConfig:_0x2fa9c5,isEmpty:_0x146a51,changesets:_0x5a6431}=_0x228651,_0x4076a8=new _0x14d91f();_0x4076a8[_0x4d84ad(0xc1)](_0x120468);const _0x380056=_0x2fa9c5[_0x4d84ad(0xb1)],_0x1e8282={'cellInfo':_0x380056,'view':_0x4076a8,'isEmpty':_0x146a51};if(!await _0x3e05dc[_0x4d84ad(0x2e9)](ie)[_0x4d84ad(0x1cf)][_0x4d84ad(0xaa)](be)(!0x0,_0x1e8282))return!0x1;const _0x1cbe09=we(_0x3e05dc,_0x4076a8,_0x380056,_0x146a51),_0x5216c5=_e(_0x3e05dc,_0x1e8282),{redos:_0x322ff8,undos:_0x4d19db}=me(_0x5ae564,{'pivotTableId':_0x26483b,'unitId':_0x541936,'subUnitId':_0x398827},_0x5a6431);return _0x2e7d7d([..._0x1cbe09[_0x4d84ad(0x1b3)],..._0x5216c5[_0x4d84ad(0x1b3)],..._0x322ff8],_0x5ae564),_0x46ebe9[_0x4d84ad(0x216)]({'unitID':_0x541936,'redoMutations':[..._0x1cbe09[_0x4d84ad(0x1b3)],..._0x5216c5[_0x4d84ad(0x1b3)],..._0x322ff8],'undoMutations':[..._0x1cbe09[_0x4d84ad(0x1e2)],..._0x5216c5['undos'],..._0x4d19db]}),!0x0;}},Ss={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0xdd),async 'handler'(_0x230d0f,_0x2f2f12){const _0x110d63=_0x1675c1;if(!_0x2f2f12)return!0x1;const _0x3b08aa=_0x230d0f[_0x110d63(0x2e9)](_0x3408cd),{pivotTableId:_0x3c2478,tableFieldId:_0x19045d,items:_0x49ef0e,unitId:_0x25f2f8,subUnitId:_0x2b2de6,isAll:_0x33227e}=_0x2f2f12,_0x2e5d93=_0x230d0f['get'](Z),_0x29fe12=_0x230d0f['get'](_0x5ea86a),_0x27638d=(await _0x2e5d93[_0x110d63(0x180)]({'unitId':_0x25f2f8,'subUnitId':_0x2b2de6,'pivotTableId':_0x3c2478,'params':{'type':A[_0x110d63(0x28d)],'setPivotFilter':{'tableFieldId':_0x19045d,'items':_0x49ef0e,'isAll':_0x33227e}}}))[_0x110d63(0x194)][_0x110d63(0xe6)];if(!_0x27638d)return!0x1;const {changesets:_0x266420,pivotTableConfig:_0x5702ea,isEmpty:_0x1c9114,view:_0x17f4bc}=_0x27638d,_0x30fd75=_0x5702ea['targetCellInfo'],_0x21f916=new _0x14d91f();_0x21f916[_0x110d63(0xc1)](_0x17f4bc);const _0x35f01b={'cellInfo':_0x30fd75,'view':_0x21f916,'isEmpty':_0x1c9114};if(!await _0x230d0f['get'](ie)[_0x110d63(0x1cf)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x35f01b))return!0x1;const _0x25f07f=we(_0x230d0f,_0x21f916,_0x30fd75,_0x1c9114),_0x10256d=_e(_0x230d0f,_0x35f01b),{undos:_0x6d3212,redos:_0xfa8428}=me(_0x3b08aa,{'pivotTableId':_0x3c2478,'unitId':_0x25f2f8,'subUnitId':_0x2b2de6},_0x266420);return _0x2e7d7d([..._0x25f07f['redos'],..._0x10256d[_0x110d63(0x1b3)],..._0xfa8428],_0x3b08aa),_0x29fe12['pushUndoRedo']({'unitID':_0x25f2f8,'redoMutations':[..._0x25f07f['redos'],..._0x10256d[_0x110d63(0x1b3)],..._0xfa8428],'undoMutations':[..._0x25f07f[_0x110d63(0x1e2)],..._0x10256d['undos'],..._0x6d3212]}),!0x0;}},Ps={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x4329fa,_0x40c8c7){const _0x106480=_0x1675c1;if(!_0x40c8c7)return!0x1;const _0x71cbfc=_0x4329fa[_0x106480(0x2e9)](_0x3408cd),_0x71beaa=_0x4329fa[_0x106480(0x2e9)](_0x5ea86a),_0x31afdd=_0x4329fa[_0x106480(0x2e9)](Z),{info:_0x5d7b73,tableFieldId:_0x3df80c,pivotTableId:_0x23cb01,unitId:_0x180ea8,subUnitId:_0x404fc4}=_0x40c8c7,_0x3ae7d8=(await _0x31afdd['getPivotDisplayConfig']({'unitId':_0x180ea8,'subUnitId':_0x404fc4,'pivotTableId':_0x23cb01,'params':{'type':A[_0x106480(0x184)],'setPivotSort':{'tableFieldId':_0x3df80c,'info':_0x5d7b73}}}))['result'][_0x106480(0x1bb)];if(!_0x3ae7d8)return!0x1;const {changesets:_0x21a7e2}=_0x3ae7d8,{redos:_0x5b8364,undos:_0x401d87}=me(_0x71cbfc,{'pivotTableId':_0x23cb01,'unitId':_0x180ea8,'subUnitId':_0x404fc4},_0x21a7e2);return _0x2e7d7d(_0x5b8364,_0x71cbfc),_0x71beaa['pushUndoRedo']({'unitID':_0x180ea8,'redoMutations':_0x5b8364,'undoMutations':_0x401d87}),!0x0;}},Ts={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x2cc),async 'handler'(_0x37ff89,_0x22bb71){const _0x43f7b5=_0x1675c1;if(!_0x22bb71)return!0x1;const _0x1dc34a=_0x37ff89[_0x43f7b5(0x2e9)](_0x3408cd),_0x508e39=_0x37ff89[_0x43f7b5(0x2e9)](_0x5ea86a),_0x261c5a=_0x37ff89[_0x43f7b5(0x2e9)](Z),{displayName:_0x120285,subtotalType:_0xa1816c,format:_0x2d5b87,tableFieldId:_0x2f2b3f,pivotTableId:_0x547d68,unitId:_0x12a313,subUnitId:_0x4a2f89}=_0x22bb71,_0x8267e=(await _0x261c5a[_0x43f7b5(0x180)]({'unitId':_0x12a313,'subUnitId':_0x4a2f89,'pivotTableId':_0x547d68,'params':{'type':A['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x2f2b3f,'displayName':_0x120285,'subtotalType':_0xa1816c,'format':_0x2d5b87}}}))[_0x43f7b5(0x194)]['setPivotSetting'];if(!_0x8267e)return!0x1;const {changesets:_0x3d27c1,view:_0x43575e,pivotTableConfig:_0xa8be1,isEmpty:_0x107ec4}=_0x8267e,_0x4f0dd0=_0xa8be1[_0x43f7b5(0xb1)],_0x4ec1be=new _0x14d91f();_0x4ec1be[_0x43f7b5(0xc1)](_0x43575e);const _0x40b205={'cellInfo':_0x4f0dd0,'view':_0x4ec1be,'isEmpty':_0x107ec4};if(!await _0x37ff89[_0x43f7b5(0x2e9)](ie)[_0x43f7b5(0x1cf)][_0x43f7b5(0xaa)](be)(!0x0,_0x40b205))return!0x1;const _0x3e2135=we(_0x37ff89,_0x4ec1be,_0x4f0dd0,_0x107ec4),_0x1f0490=_e(_0x37ff89,_0x40b205),{undos:_0x52197f,redos:_0x323aa2}=me(_0x1dc34a,{'pivotTableId':_0x547d68,'unitId':_0x12a313,'subUnitId':_0x4a2f89},_0x3d27c1);return _0x2e7d7d([..._0x3e2135[_0x43f7b5(0x1b3)],..._0x1f0490['redos'],..._0x323aa2],_0x1dc34a),_0x508e39[_0x43f7b5(0x216)]({'unitID':_0x12a313,'redoMutations':[..._0x3e2135[_0x43f7b5(0x1b3)],..._0x1f0490[_0x43f7b5(0x1b3)],..._0x323aa2],'undoMutations':[..._0x3e2135['undos'],..._0x1f0490[_0x43f7b5(0x1e2)],..._0x52197f]}),!0x0;}},Ms={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x1ad),async 'handler'(_0x50d154,_0x530444){const _0x1f325b=_0x1675c1,_0x2fafe6=_0x50d154[_0x1f325b(0x2e9)](_0x3408cd),_0x36f2c2=_0x50d154['get'](Z),_0x43a816=_0x50d154['get'](_0x5ea86a);if(!_0x530444)return!0x1;const {token:_0x4a85a1,dataRangeInfo:_0x107be3,unitId:_0x3093d7,subUnitId:_0x3228ab}=_0x530444,_0x376106=[],_0x399e6b=[],_0x4519f1=(await _0x36f2c2[_0x1f325b(0x180)]({'unitId':_0x3093d7,'subUnitId':_0x3228ab,'pivotTableId':_0x4a85a1,'params':{'type':A['UpdatePivotSource'],'updatePivotSource':{'dataRangeInfo':_0x107be3,'unitId':_0x3093d7,'subUnitId':_0x3228ab}}}))[_0x1f325b(0x194)][_0x1f325b(0x2df)];if(!_0x4519f1)return!0x1;const {changesets:_0x1dd644,deleteIds:_0x271586,collectionConfig:_0x43347a,oldCollectionConfig:_0x3b7548,view:_0x4955ad,isEmpty:_0xe041b7,pivotTableConfig:_0x4bfee1}=_0x4519f1;_0x399e6b[_0x1f325b(0x1a3)]({'id':to['id'],'params':{'pivotTableId':_0x4a85a1,'deleteIds':_0x271586,'collectionJSON':_0x43347a,'dataRangeInfo':_0x107be3,'unitId':_0x3093d7,'subUnitId':_0x3228ab}}),_0x376106['unshift']({'id':to['id'],'params':{'pivotTableId':_0x4a85a1,'deleteIds':[],'collectionJSON':_0x3b7548,'dataRangeInfo':_0x4bfee1[_0x1f325b(0xdb)],'unitId':_0x3093d7,'subUnitId':_0x3228ab}});const _0x4978e1=_0x4bfee1[_0x1f325b(0xb1)],_0x2e07dc=new _0x14d91f();_0x2e07dc['formJSON'](_0x4955ad);const _0x176534={'cellInfo':_0x4978e1,'view':_0x2e07dc,'isEmpty':_0xe041b7};if(!await _0x50d154[_0x1f325b(0x2e9)](ie)[_0x1f325b(0x1cf)][_0x1f325b(0xaa)](be)(!0x0,_0x176534))return!0x1;const _0x327c9d=we(_0x50d154,_0x2e07dc,_0x4978e1,_0xe041b7),_0x2b15a5=_e(_0x50d154,_0x176534),{undos:_0x1c9bd3,redos:_0x261982}=me(_0x2fafe6,{'pivotTableId':_0x4a85a1,'unitId':_0x3093d7,'subUnitId':_0x3228ab},_0x1dd644);return _0x2e7d7d([..._0x327c9d['redos'],..._0x2b15a5[_0x1f325b(0x1b3)],..._0x399e6b,..._0x1c9bd3],_0x2fafe6),_0x43a816[_0x1f325b(0x216)]({'unitID':_0x3093d7,'redoMutations':[..._0x327c9d['redos'],..._0x2b15a5[_0x1f325b(0x1b3)],..._0x399e6b,..._0x1c9bd3],'undoMutations':[..._0x327c9d['undos'],..._0x2b15a5[_0x1f325b(0x1e2)],..._0x376106,..._0x261982]}),!0x0;}},ys={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x22b),async 'handler'(_0x43a981,_0x3400b3){const _0x1e0126=_0x1675c1;if(!_0x3400b3)return!0x1;const _0x4ebed0=_0x43a981['get'](_0x3408cd),_0x47024b=_0x43a981['get'](Z),_0x3698f2=_0x43a981[_0x1e0126(0x2e9)](_0x146954),_0x55ccdc=_0x43a981[_0x1e0126(0x2e9)](_0x5ea86a),{pivotTableId:_0x9377bb,position:_0x1769e8,index:_0x56ef43}=_0x3400b3,_0x57ac3b=_0x2075c9(_0x3698f2);if(!_0x57ac3b)return!0x1;const {unitId:_0x3e0b92,subUnitId:_0x385c87}=_0x57ac3b,_0x1acb6c=(await _0x47024b[_0x1e0126(0x180)]({'unitId':_0x3e0b92,'subUnitId':_0x385c87,'pivotTableId':_0x9377bb,'params':{'type':A['UpdateValuePosition'],'updateValuePosition':{'position':_0x1769e8,'index':_0x56ef43}}}))[_0x1e0126(0x194)][_0x1e0126(0x2dc)];if(!_0x1acb6c)return!0x1;const {changesets:_0x25552a,view:_0x1d0aae,isEmpty:_0x46ac5d,pivotTableConfig:_0x4fdb62}=_0x1acb6c,_0x98855e=_0x4fdb62[_0x1e0126(0xb1)],_0x3c6a39=new _0x14d91f();_0x3c6a39[_0x1e0126(0xc1)](_0x1d0aae);const _0x3e0059=_0x43a981[_0x1e0126(0x2e9)](ie),_0x4649d0={'cellInfo':_0x98855e,'view':_0x3c6a39,'isEmpty':_0x46ac5d};if(!await _0x3e0059['asyncInterceptor'][_0x1e0126(0xaa)](be)(!0x0,_0x4649d0))return!0x1;const _0x55e886=we(_0x43a981,_0x3c6a39,_0x98855e,_0x46ac5d),_0x1461f9=_e(_0x43a981,_0x4649d0),{undos:_0x7401f8,redos:_0x389c44}=me(_0x4ebed0,{'pivotTableId':_0x9377bb,'unitId':_0x3e0b92,'subUnitId':_0x385c87},_0x25552a);return _0x2e7d7d([..._0x55e886[_0x1e0126(0x1b3)],..._0x1461f9[_0x1e0126(0x1b3)],..._0x389c44],_0x4ebed0),_0x55ccdc[_0x1e0126(0x216)]({'unitID':_0x3e0b92,'redoMutations':[..._0x55e886[_0x1e0126(0x1b3)],..._0x1461f9[_0x1e0126(0x1b3)],..._0x389c44],'undoMutations':[..._0x55e886[_0x1e0126(0x1e2)],..._0x1461f9['undos'],..._0x7401f8]}),!0x0;}},ws={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0xca),'handler':(_0x5dc504,_0x5d945f)=>{const _0x1c0424=_0x1675c1,_0x134d2f=_0x5dc504['get'](_0x3408cd),_0x218328=_0x5dc504[_0x1c0424(0x2e9)](_0x5ea86a),_0x32df0e=_0x5dc504['get'](ve),_0x35c60f=_0x5dc504[_0x1c0424(0x2e9)](_0x146954);if(!_0x5d945f)return!0x1;const _0x4bf873=_0x2075c9(_0x35c60f);if(!_0x4bf873)return!0x1;const {unitId:_0x54d567,subUnitId:_0x114423,workbook:_0x5453bd}=_0x4bf873,_0x4a6db1=_0x32df0e[_0x1c0424(0x14e)](_0x5d945f['originTargetInfo'][_0x1c0424(0x167)],_0x5d945f[_0x1c0424(0x24e)][_0x1c0424(0x20b)],_0x5d945f[_0x1c0424(0x2fb)]);if(!_0x4a6db1)return!0x1;const _0x1e66c9=_0x5453bd[_0x1c0424(0x2c0)](_0x5d945f[_0x1c0424(0xb1)][_0x1c0424(0x20b)]);if(!_0x1e66c9)throw new Error(_0x1c0424(0x2a7));const _0xc2b312=_0x1e66c9['getRowCount'](),_0x504090=_0x1e66c9['getColumnCount']();if(_0x5d945f[_0x1c0424(0xb1)][_0x1c0424(0xcd)]>_0xc2b312||_0x5d945f['targetCellInfo'][_0x1c0424(0x1d6)]>_0x504090)throw new Error(_0x1c0424(0x13d));const _0x3a99ea=[{'id':pt['id'],'params':{'unitId':_0x54d567,'subUnitId':_0x5d945f[_0x1c0424(0xb1)][_0x1c0424(0x20b)],'pivotTableId':_0x5d945f[_0x1c0424(0x2fb)],'targetCellPosition':{'row':_0x5d945f[_0x1c0424(0xb1)]['row'],'col':_0x5d945f[_0x1c0424(0xb1)][_0x1c0424(0x1d6)]}}}],_0x29320d=[{'id':pt['id'],'params':{'unitId':_0x54d567,'subUnitId':_0x114423,'pivotTableId':_0x5d945f[_0x1c0424(0x2fb)],'targetCellPosition':{'row':_0x4a6db1[_0x1c0424(0xb1)]['row'],'col':_0x4a6db1[_0x1c0424(0xb1)]['col']}}}];return _0x2e7d7d(_0x3a99ea,_0x134d2f)&&_0x218328['pushUndoRedo']({'unitID':_0x54d567,'undoMutations':_0x29320d,'redoMutations':_0x3a99ea}),!0x0;}},_s={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x271),async 'handler'(_0x5c0421,_0x265ca2){const _0x17a594=_0x1675c1;if(!_0x265ca2)return!0x1;const _0x3e8cf7=_0x5c0421[_0x17a594(0x2e9)](_0x3408cd),{pivotTableId:_0x825859,fieldId:_0x2b60f4,valueFilterInfo:_0x568cac,unitId:_0x21f659,subUnitId:_0x345db3}=_0x265ca2,_0x1bbd17=_0x5c0421[_0x17a594(0x2e9)](Z),_0x599ea5=_0x5c0421[_0x17a594(0x2e9)](_0x5ea86a),_0x31431b=(await _0x1bbd17[_0x17a594(0x180)]({'unitId':_0x21f659,'subUnitId':_0x345db3,'pivotTableId':_0x825859,'params':{'type':A['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x2b60f4,'filterInfo':_0x568cac}}}))['result'][_0x17a594(0x2d7)];if(!_0x31431b)return!0x1;const {changesets:_0x6201b2,pivotTableConfig:_0x2af91e,isEmpty:_0x1fd5f7,view:_0x1a2f4c}=_0x31431b,_0x30a370=_0x2af91e[_0x17a594(0xb1)],_0x5620a8=new _0x14d91f();_0x5620a8['formJSON'](_0x1a2f4c);const _0x20e627={'cellInfo':_0x30a370,'view':_0x5620a8,'isEmpty':_0x1fd5f7};if(!await _0x5c0421[_0x17a594(0x2e9)](ie)[_0x17a594(0x1cf)][_0x17a594(0xaa)](be)(!0x0,_0x20e627))return!0x1;const _0x540424=we(_0x5c0421,_0x5620a8,_0x30a370,_0x1fd5f7),_0x5274b3=_e(_0x5c0421,_0x20e627),{undos:_0x244ff2,redos:_0x1887a7}=me(_0x3e8cf7,{'pivotTableId':_0x825859,'unitId':_0x21f659,'subUnitId':_0x345db3},_0x6201b2);return _0x2e7d7d([..._0x540424['redos'],..._0x5274b3['redos'],..._0x1887a7],_0x3e8cf7),_0x599ea5[_0x17a594(0x216)]({'unitID':_0x21f659,'redoMutations':[..._0x540424[_0x17a594(0x1b3)],..._0x5274b3[_0x17a594(0x1b3)],..._0x1887a7],'undoMutations':[..._0x540424[_0x17a594(0x1e2)],..._0x5274b3[_0x17a594(0x1e2)],..._0x244ff2]}),!0x0;}},Fs={'type':_0x3fc5c3['COMMAND'],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x1ae676,_0x4f653a){const _0xb090b0=_0x1675c1;if(!_0x4f653a)return!0x1;const _0x42cc7c=_0x1ae676['get'](_0x3408cd),_0x5698a1=_0x1ae676[_0xb090b0(0x2e9)](_0x5ea86a),_0x2fdc36=_0x1ae676['get'](Z),{pivotTableConfig:_0x3bd31e,pivotTableId:_0x2467a2,unitId:_0x3d6a31,subUnitId:_0x516d5e}=_0x4f653a,_0x37b7b9=(await _0x2fdc36[_0xb090b0(0x180)]({'unitId':_0x3d6a31,'subUnitId':_0x516d5e,'pivotTableId':_0x2467a2,'params':{'type':A[_0xb090b0(0xef)],'setPivotTableConfig':{'pivotTableId':_0x2467a2,'pivotTableConfig':_0x3bd31e}}}))[_0xb090b0(0x194)][_0xb090b0(0x176)];if(!_0x37b7b9)return!0x1;const {changesets:_0x2ac131}=_0x37b7b9,{redos:_0x490540,undos:_0x4722e0}=me(_0x42cc7c,{'pivotTableId':_0x2467a2,'unitId':_0x3d6a31,'subUnitId':_0x516d5e},_0x2ac131);return _0x2e7d7d(_0x490540,_0x42cc7c),_0x5698a1['pushUndoRedo']({'unitID':_0x3d6a31,'redoMutations':_0x490540,'undoMutations':_0x4722e0}),!0x0;}},Ds={'type':_0x3fc5c3[_0x1675c1(0x156)],'id':_0x1675c1(0x20d),async 'handler'(_0x277fcf,_0x2333e1){const _0x242ae2=_0x1675c1;if(!_0x2333e1)return!0x1;const _0x4276ce=_0x277fcf[_0x242ae2(0x2e9)](_0x3408cd),_0x29815b=_0x277fcf[_0x242ae2(0x2e9)](_0x5ea86a),_0x293a0a=_0x277fcf[_0x242ae2(0x2e9)](Z),{resetArea:_0x42052b,pivotTableId:_0x443bad,unitId:_0x4fffa7,subUnitId:_0x39518f}=_0x2333e1,_0x2e5ed0=(await _0x293a0a[_0x242ae2(0x180)]({'unitId':_0x4fffa7,'subUnitId':_0x39518f,'pivotTableId':_0x443bad,'params':{'type':A[_0x242ae2(0x306)],'resetPivotTable':{'pivotTableId':_0x443bad,'resetArea':_0x42052b}}}))[_0x242ae2(0x194)]['resetPivotTable'];if(!_0x2e5ed0)return!0x1;const {changesets:_0x5f39a5}=_0x2e5ed0,{redos:_0x2f40c8,undos:_0x390c99}=me(_0x4276ce,{'pivotTableId':_0x443bad,'unitId':_0x4fffa7,'subUnitId':_0x39518f},_0x5f39a5);return _0x2e7d7d(_0x2f40c8,_0x4276ce),_0x29815b[_0x242ae2(0x216)]({'unitID':_0x4fffa7,'redoMutations':_0x2f40c8,'undoMutations':_0x390c99}),!0x0;}},oo={'id':'sheet.mutation.update-date-group','type':_0x3fc5c3[_0x1675c1(0xd9)],'handler':(_0x19d25a,_0x358a50)=>{const _0x4af24b=_0x1675c1;if(!_0x358a50)return!0x1;if(!!_0x19d25a[_0x4af24b(0x2e9)](_0xe8dcbb)[_0x4af24b(0x1dc)](H))return!0x0;const {unitId:_0x256635,subUnitId:_0x3b68b4,pivotTableId:_0x3f8297,tableFieldId:_0x4791cb,dateType:_0x4ee5ca}=_0x358a50,_0x5eabe0=_0x19d25a['get'](G),_0x18b5d8=_0x5eabe0[_0x4af24b(0x220)](_0x3f8297);if(!_0x18b5d8)return!0x1;const _0x255ab1=_0x18b5d8[_0x4af24b(0xc0)](_0x4791cb);if(!_0x255ab1)return!0x1;const _0x774e=_0x255ab1[_0x4af24b(0x2e3)](),_0x48ccc5=_0x18b5d8['getDataFieldByDataFieldId'](_0x774e),_0x53b7a0=(_0x48ccc5==null?void 0x0:_0x48ccc5['getName']())+'\x20'+Ho(_0x19d25a,_0x4ee5ca);_0x5eabe0[_0x4af24b(0x28b)](_0x256635,_0x3f8297)[_0x4af24b(0x248)](_0x255ab1['id'],_0x53b7a0);const _0x325f9a=_0x18b5d8[_0x4af24b(0x289)](_0x4791cb);if(!_0x325f9a)return!0x1;_0x18b5d8[_0x4af24b(0x311)](_0x325f9a[_0x4af24b(0xf5)](),_0x53b7a0),_0x255ab1[_0x4af24b(0x28e)](_0x4ee5ca);const _0x269393=_0x5eabe0[_0x4af24b(0x14e)](_0x256635,_0x3b68b4,_0x3f8297);return _0x5eabe0[_0x4af24b(0x196)]({'unitId':_0x256635,'subUnitId':_0x3b68b4,'token':_0x3f8297,'type':L[_0x4af24b(0x2e2)],'pivotConfig':_0x269393}),!0x0;}},Rs={'id':_0x1675c1(0x166),'type':_0x3fc5c3[_0x1675c1(0x156)],'handler':(_0x457e11,_0xb3d48)=>{const _0x354c63=_0x1675c1;if(!_0xb3d48)return!0x1;const _0x5e1c0a=_0x457e11[_0x354c63(0x2e9)](_0x5ea86a),{unitId:_0x53a249,subUnitId:_0x49aa17,pivotTableId:_0xe26c07,tableFieldId:_0x258991}=_0xb3d48,_0x1dd836=[],_0x43c034=[],_0x5855b9=_0x457e11[_0x354c63(0x2e9)](ve),_0x185014=_0x5855b9['getCollection'](_0x53a249,_0xe26c07),_0x4a686c=_0x5855b9[_0x354c63(0x14e)](_0x53a249,_0x49aa17,_0xe26c07);if(!(_0x4a686c!=null&&_0x4a686c['fieldsConfig']['dimension']))return!0x1;const _0x5bb182=Object[_0x354c63(0x13a)](_0x4a686c[_0x354c63(0x2bd)][_0x354c63(0x151)])[_0x354c63(0x300)](_0x4dc913=>_0x4dc913['id']===_0x258991);if(!_0x5bb182)return!0x1;const _0x5cd1b7=_0x5bb182['dataFieldId'];if(!(_0x185014!=null&&_0x185014[_0x354c63(0x1be)]))return!0x1;const _0x39dcb1=Object['values'](_0x185014==null?void 0x0:_0x185014[_0x354c63(0x1be)])['find'](_0x475d08=>_0x475d08['id']===_0x5cd1b7);if(!_0x39dcb1)return!0x1;_0x465631(_0x39dcb1)&&_0x1dd836[_0x354c63(0x1a3)]({'id':oo['id'],'params':{..._0xb3d48,'dateType':_0x39dcb1[_0x354c63(0x2c4)]}}),_0x43c034[_0x354c63(0x1a3)]({'id':oo['id'],'params':{..._0xb3d48}});const _0x1a0e33=_0x457e11['get'](_0x3408cd);return _0x2e7d7d(_0x43c034,_0x1a0e33)&&_0x5e1c0a[_0x354c63(0x216)]({'unitID':_0x53a249,'undoMutations':_0x1dd836,'redoMutations':_0x43c034}),!0x0;}};var Ns=Object[_0x1675c1(0xd3)],Es=(_0x390171,_0x9ac1d9,_0x593cdf,_0x5f3094)=>{const _0x1377ff=_0x1675c1;for(var _0xd6229f=_0x5f3094>0x1?void 0x0:_0x5f3094?Ns(_0x9ac1d9,_0x593cdf):_0x9ac1d9,_0x375957=_0x390171[_0x1377ff(0xff)]-0x1,_0x32499e;_0x375957>=0x0;_0x375957--)(_0x32499e=_0x390171[_0x375957])&&(_0xd6229f=_0x32499e(_0xd6229f)||_0xd6229f);return _0xd6229f;},Ke=(_0x197dde,_0x4fe8b2)=>(_0x2c401d,_0x1ae313)=>_0x4fe8b2(_0x2c401d,_0x1ae313,_0x197dde);const Us=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Vs=(_0x59f9fc,_0x134576,_0x57da18)=>{const _0x25db8a=_0x1675c1,_0x4d9401=_0x59f9fc['dataFieldsCollection'];_0x59f9fc['iterateFieldDim'](_0xe97447=>{const _0x545487=_0x2dae,_0x1aba92=_0xe97447[_0x545487(0xf5)](),_0x6a562e=_0xe97447['getDataFieldId'](),_0x309432=_0xe97447[_0x545487(0x267)](),_0x3b4128=_0xe97447['getDisplayName']();_0x134576[_0x6a562e]&&_0x134576[_0x6a562e]===_0x3b4128&&_0x309432===_0x3b4128&&(_0x59f9fc[_0x545487(0x311)](_0x1aba92,_0x4d9401['getDisplayName'](_0x6a562e)),_0xe97447['setSourceName'](_0x4d9401[_0x545487(0x16f)](_0x6a562e)));}),_0x59f9fc[_0x25db8a(0x29b)](_0x4cc34c[_0x25db8a(0x9c)],_0x18e13b=>{const _0x2e24b4=_0x25db8a,_0x224eaf=_0x18e13b['getId'](),_0x5c2b8a=_0x18e13b['getDataFieldId'](),_0x4ce840=_0x18e13b[_0x2e24b4(0x267)](),_0x35d511=_0x18e13b[_0x2e24b4(0x16f)](),_0x9e34a6=_0x18e13b[_0x2e24b4(0x27b)](),_0x2ba1fe=_0x57da18(_0x4ce840,_0x9e34a6);_0x134576[_0x5c2b8a]&&_0x134576[_0x5c2b8a]===_0x4ce840&&_0x2ba1fe===_0x35d511&&(_0x59f9fc[_0x2e24b4(0x311)](_0x224eaf,_0x57da18(_0x4d9401[_0x2e24b4(0x16f)](_0x5c2b8a),_0x9e34a6)),_0x18e13b[_0x2e24b4(0x141)](_0x4d9401[_0x2e24b4(0x16f)](_0x5c2b8a)));});},Os=(_0x5cb149,_0x1e7a8e,_0x55c6e7)=>{const _0x31a3df=_0x1675c1;var _0x5beddb,_0x54b365;const {arrayFormulaCellData:_0x57a0a8,unitData:_0x23bc36}=_0x1e7a8e,{unitId:_0x18f904,subUnitId:_0x358eaa}=_0x55c6e7,_0xad68b9=_0x55c6e7[_0x31a3df(0x27c)],{startColumn:_0x471e77,endColumn:_0x5c8415}=_0xad68b9,_0x101c49=(_0x5beddb=_0x57a0a8==null?void 0x0:_0x57a0a8[_0x18f904])==null?void 0x0:_0x5beddb[_0x358eaa],_0x50b188=(_0x54b365=_0x23bc36==null?void 0x0:_0x23bc36[_0x18f904])==null?void 0x0:_0x54b365[_0x358eaa],_0x323cdd=new Set(),_0x2029bf=_0x5c8415-_0x471e77+0x1,{dirtyRanges:_0x367897}=_0x5cb149;if(_0x367897)for(const {range:_0x55c74f,sheetId:_0x15c484,unitId:_0x4bd436}of _0x367897){if(_0x15c484!==_0x358eaa||_0x18f904!==_0x4bd436)continue;const _0x499375=_0x351caf['getIntersects'](_0x55c74f,_0xad68b9);if(_0x499375){const {startColumn:_0x31900d,endColumn:_0x3bfe7c}=_0x499375;for(let _0x1e8168=_0x31900d;_0x1e8168<=_0x3bfe7c;_0x1e8168++)_0x323cdd[_0x31a3df(0x1a7)](_0x1e8168);}}if(_0x323cdd[_0x31a3df(0xb5)]===_0x2029bf||_0x323cdd['size']===_0x2029bf)return Array[_0x31a3df(0x2f9)](_0x323cdd);if(_0x50b188){const _0x55f7ca=_0x50b188[_0x31a3df(0x29d)](),_0x400fe4=Object['keys'](_0x55f7ca);for(const _0x294a4f of _0x400fe4){const _0x5d5e82=Number(_0x294a4f),_0xb54843=_0x55f7ca[_0x5d5e82];if(_0x323cdd[_0x31a3df(0xb5)]===_0x2029bf)break;for(const _0x55d4a0 in _0xb54843){const _0x2a0a47=Number(_0x55d4a0);_0x2a0a47<_0x471e77||_0x2a0a47>_0x5c8415||_0x323cdd[_0x31a3df(0x1a7)](_0x2a0a47);}}}if(_0x101c49){const _0x32c2de=_0x101c49['getMatrix'](),_0x551d94=Object[_0x31a3df(0x121)](_0x32c2de);for(const _0x144f8f of _0x551d94){const _0x3b7410=Number(_0x144f8f),_0x282a26=_0x32c2de[_0x3b7410];if(_0x323cdd[_0x31a3df(0xb5)]===_0x2029bf)break;for(const _0x53f4c3 in _0x282a26){const _0x5de2dd=Number(_0x53f4c3);_0x5de2dd<_0x471e77||_0x5de2dd>_0x5c8415||_0x323cdd[_0x31a3df(0x1a7)](_0x5de2dd);}}}return Array[_0x31a3df(0x2f9)](_0x323cdd);},xs=_0xf5b5ee=>{const _0x14113f=_0x1675c1,_0x53242e=new Set(),_0x24545e=[];for(const _0x2ebefe of _0xf5b5ee){const _0x5d7b48=_0x2ebefe[_0x14113f(0x21c)]+','+_0x2ebefe['endRow']+','+_0x2ebefe['startColumn']+','+_0x2ebefe[_0x14113f(0xa1)];_0x53242e[_0x14113f(0x1b4)](_0x5d7b48)||(_0x53242e[_0x14113f(0x1a7)](_0x5d7b48),_0x24545e[_0x14113f(0x1a3)](_0x2ebefe));}return _0x24545e;};let ct=class extends _0x5334b7{constructor(_0x1a10e0,_0x41f94e,_0x1dfed5,_0xd1f988,_0x23fe56,_0x335641){const _0x3c4c0d=_0x1675c1;super(),U(this,_0x3c4c0d(0x2d9),new _0x3370f8(!0x0)),U(this,_0x3c4c0d(0x1b5),_0x1a4391=>{const _0x53e7c3=_0x3c4c0d;this['_globalSubject'][_0x53e7c3(0x294)](!0x1);}),U(this,'_globalComputedEndHelpFunc',_0x2e3c9d=>{const _0x5e83fa=_0x3c4c0d;this[_0x5e83fa(0x2d9)][_0x5e83fa(0x294)](!0x0);}),(this[_0x3c4c0d(0x1ce)]=_0x1a10e0,this['_configService']=_0x41f94e,this[_0x3c4c0d(0x1d5)]=_0x1dfed5,this[_0x3c4c0d(0x25d)]=_0xd1f988,this[_0x3c4c0d(0x278)]=_0x23fe56,this[_0x3c4c0d(0x312)]=_0x335641,this[_0x3c4c0d(0x2b8)](),this[_0x3c4c0d(0x150)]());}[_0x1675c1(0x2b8)](){const _0x1e14ca=_0x1675c1;this['_subjectCollectionChange'](),this[_0x1e14ca(0xd5)](),this[_0x1e14ca(0x2af)](),this[_0x1e14ca(0x2e4)]();}[_0x1675c1(0x16e)](){const _0x52e2e6=_0x1675c1;this[_0x52e2e6(0x278)]['pushComputingStatusSubject'](this[_0x52e2e6(0x2d9)]),_0x16e808[_0x52e2e6(0x31a)](_0x3cb203[_0x52e2e6(0x2ae)],this[_0x52e2e6(0x1b5)]),_0x16e808[_0x52e2e6(0x31a)](_0x3cb203[_0x52e2e6(0x1c6)],this[_0x52e2e6(0x205)]);}[_0x1675c1(0x150)](){const _0x33b06e=_0x1675c1;this[_0x33b06e(0x1ea)](this[_0x33b06e(0x25d)][_0x33b06e(0x170)](_0x43367e=>{const _0x4ec15b=_0x33b06e;_0x43367e['id']===_0x39fdc9['id']&&this[_0x4ec15b(0x1ce)]['handleMoveRange'](_0x43367e[_0x4ec15b(0xa2)]);})),this['disposeWithMe'](this[_0x33b06e(0x25d)]['onCommandExecuted'](_0x5b668f=>{const _0x47d5b3=_0x33b06e;if(_0x5b668f['id']!==ro['id'])return;const _0xbf2241=_0x5b668f[_0x47d5b3(0xa2)],{unitId:_0x3dc222,subUnitId:_0x4d2fac,pivotTableId:_0x2de7a0}=_0xbf2241,_0x4b7142=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x168)],_0x2eb7cd={};switch(_0x4b7142){case A[_0x47d5b3(0x1aa)]:{const _0x57c99e=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x29a)];if(!_0x57c99e)return;const {row:_0x45d461,col:_0x2e0e1e,cellData:_0x1bfbe8,pivotItemRenderInfoCache:_0xcb6f5c,tableFieldId:_0x563c2b}=_0x57c99e,_0x311c2b=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0xbf2241[_0x47d5b3(0x2fb)]);if(!_0x311c2b||!_0xcb6f5c)return;if(_0x563c2b){const _0x1e4a32=_0x311c2b[_0x47d5b3(0xc0)](_0x563c2b);if(!_0x1e4a32)return;_0x2eb7cd[_0x47d5b3(0x29a)]={..._0x311c2b['getDataFieldItemInfo'](_0x1e4a32),'tableFieldId':_0x563c2b,'pivotTableId':_0xbf2241[_0x47d5b3(0x2fb)],'filterInfo':_0x311c2b[_0x47d5b3(0x1c7)](_0x563c2b),'sortInfo':_0x311c2b[_0x47d5b3(0x169)](_0x563c2b),'format':_0x311c2b[_0x47d5b3(0xbb)](_0x563c2b)};}else{const _0x1bb195=Oi(_0x45d461,_0x2e0e1e,_0x1bfbe8,_0x311c2b,_0xcb6f5c),_0x13e05f=_0x1bb195==null?void 0x0:_0x1bb195[_0x47d5b3(0x112)];if(!_0x13e05f)return;const _0x5338fe=_0x311c2b[_0x47d5b3(0xc0)](_0x13e05f);if(!_0x5338fe)return;_0x2eb7cd['filter']={..._0x311c2b[_0x47d5b3(0x1ab)](_0x5338fe),'tableFieldId':_0x13e05f,'pivotTableId':_0xbf2241[_0x47d5b3(0x2fb)],'filterInfo':_0x311c2b[_0x47d5b3(0x1c7)](_0x13e05f),'sortInfo':_0x311c2b[_0x47d5b3(0x169)](_0x13e05f),'format':_0x311c2b[_0x47d5b3(0xbb)](_0x13e05f)};}}break;case A[_0x47d5b3(0x317)]:{const _0x250bab=_0xbf2241['params']['panel'];if(!_0x250bab)return;const {pivotTableId:_0x3ee0bc}=_0x250bab,_0xd0f1f7=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x3ee0bc);if(!_0xd0f1f7)return;const _0x3104dc=this['_sheetsPivotDataSourceModel'][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x3ee0bc),_0x51de93=xi(_0xd0f1f7,_0x3ee0bc,_0x3104dc);_0x2eb7cd['panel']=_0x51de93;}break;case A[_0x47d5b3(0x13e)]:{const _0xd0f1b1=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0),_0x2011e4=this['_sheetsPivotDataSourceModel'][_0x47d5b3(0x23a)](_0x3dc222),_0x537627=_0x2011e4[_0x47d5b3(0x28b)](_0x2de7a0);let _0x92220d=null;const _0x1957a1=this['_sheetsPivotDataSourceModel'][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0),_0x4517ef=_0xbf2241['params'][_0x47d5b3(0x2ec)];if(!_0xd0f1b1||!_0x1957a1||!_0x4517ef)return!0x1;const {dataFieldId:_0x4387ea,fieldArea:_0x14b913,index:_0x48cc7c}=_0x4517ef;_0xd0f1b1['startCollectChangeset']();const _0x4bf5c0=_0xd0f1b1['addFieldWithSourceId'](_0x4387ea,_0x14b913,_0x48cc7c);if(_0x4bf5c0&&_0x14b913===_0x4cc34c['Value']){const _0x3ce831=_0x4bf5c0[_0x47d5b3(0xf5)](),_0x1dfddb=_0xd0f1b1['getDataFieldByTableId'](_0x3ce831);if(_0x1dfddb){const _0x48db3d=_0x1dfddb==null?void 0x0:_0x1dfddb[_0x47d5b3(0x2ea)]();_0xd0f1b1['setSubtotalType'](_0x4bf5c0['getId'](),_0x48db3d===_0x4f8f52[_0x47d5b3(0x12f)]?_0xd80465[_0x47d5b3(0x1ba)]:_0xd80465['count']);}const _0x29ad05=_0xd0f1b1[_0x47d5b3(0x125)](),_0x1a81f3=_0xd0f1b1['getValuePosition'](),_0x152da6=_0xd0f1b1[_0x47d5b3(0xb4)](_0x4cc34c[_0x47d5b3(0x9c)]);if(_0x29ad05===-0x1&&_0x152da6>0x1){const _0x4a22a8=_0x1a81f3===_0x229120[_0x47d5b3(0x162)]?_0x229120[_0x47d5b3(0x258)]:_0x1a81f3,_0x7ed087=_0x4a22a8===_0x229120['Row']?_0x4cc34c['Row']:_0x4cc34c[_0x47d5b3(0x258)];_0xd0f1b1[_0x47d5b3(0x2dc)](_0x4a22a8,_0xd0f1b1[_0x47d5b3(0xb4)](_0x7ed087));}}else{if(_0x4bf5c0&&(_0x14b913===_0x4cc34c[_0x47d5b3(0x1e1)]||_0x14b913===_0x4cc34c['Column'])){const _0x6b54a4=_0x4bf5c0[_0x47d5b3(0xf5)](),_0x260631=_0xd0f1b1[_0x47d5b3(0xc0)](_0x6b54a4);if(_0x260631&&(_0x260631==null?void 0x0:_0x260631[_0x47d5b3(0x2ea)]())===_0x4f8f52['date']){const _0x224010=_0x260631[_0x47d5b3(0x107)]();if(_0x224010&&_0xd0f1b1[_0x47d5b3(0x308)](_0x4bf5c0[_0x47d5b3(0xf5)](),_0x224010),!_0x537627[_0x47d5b3(0x2eb)]()['some'](_0x2774aa=>{const _0x67c62e=_0x47d5b3,_0x30b85f=_0x537627[_0x67c62e(0xe0)](_0x2774aa);return _0x3b4148(_0x30b85f)?_0x30b85f[_0x67c62e(0xd2)]()[_0x67c62e(0x17c)]===_0x4387ea:!0x1;})){const _0x52d179=_0x2011e4[_0x47d5b3(0x18c)](),_0xed4161=Ji(_0x260631[_0x47d5b3(0x11c)],_0x260631[_0x47d5b3(0x2b3)]),_0x2d70dc=_0x260631['getName']()+_0x47d5b3(0x119)+Ho(this[_0x47d5b3(0x312)],_0xed4161),_0x3a6f3c=new _0x6b76c2(_0x52d179,_0x2d70dc,_0x248684(0x3),_0x260631[_0x47d5b3(0xf5)](),_0xed4161);_0x2011e4[_0x47d5b3(0x282)](_0x3a6f3c),_0x537627[_0x47d5b3(0x273)](_0x52d179,_0x2d70dc),_0xd0f1b1[_0x47d5b3(0x171)](_0x52d179,_0x14b913,(_0x48cc7c!=null?_0x48cc7c:0x0)+0x1),_0x92220d=_0x3a6f3c;}}}}const _0x4a0669=_0xd0f1b1[_0x47d5b3(0x22a)](),_0x20cb2b=_0xd0f1b1[_0x47d5b3(0x274)]()[_0x47d5b3(0x132)]();let _0x4807cb;if(_0x92220d){_0x4807cb=_0x92220d[_0x47d5b3(0x132)]();const _0x3824c7=_0x92220d[_0x47d5b3(0xf5)]();_0x537627[_0x47d5b3(0x303)](_0x3824c7);let _0x5a40fc=!0x0;for(const _0x2f8988 in _0x2011e4[_0x47d5b3(0x234)])if(_0x2011e4[_0x47d5b3(0x234)][_0x2f8988][_0x47d5b3(0x2eb)]()[_0x47d5b3(0x19f)](_0x3824c7)){_0x5a40fc=!0x1;break;}_0x5a40fc&&_0x2011e4[_0x47d5b3(0x137)](_0x3824c7);}const _0x1543d8=_0xd0f1b1['endCollectChangeset']();_0x2eb7cd['addPivotField']={'view':_0x20cb2b,'changesets':_0x1543d8,'isEmpty':_0x4a0669,'pivotTableConfig':_0x1957a1,'shouldBeAddedGroupJSON':_0x4807cb};}break;case A['AddPivotTable']:{const _0x183166=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x199)];if(!_0x183166)return;const _0x1e6ff5=_0x183166[_0x47d5b3(0xdb)],_0x1f8839=_0x183166['pivotTableId'],{collection:_0x298744}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x1e6ff5[_0x47d5b3(0x167)],'sheetName':_0x1e6ff5[_0x47d5b3(0x128)],'subUnitId':_0x1e6ff5['subUnitId'],'range':_0x1e6ff5[_0x47d5b3(0x27c)]}),_0x9da5bf=new _0x16e808(_0x298744,void 0x0,_0x1f8839),_0xb3fafd=_0x9da5bf['query'](),_0x458597=_0x9da5bf['toJSON'](),_0x175ae1=_0x298744[_0x47d5b3(0x132)]();_0x2eb7cd[_0x47d5b3(0x199)]={'view':_0xb3fafd,'fieldsConfig':_0x458597,'collectionConfig':_0x175ae1,'isEmpty':_0x9da5bf[_0x47d5b3(0x22a)]()};}break;case A[_0x47d5b3(0x1c9)]:{const _0x5b8898=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x2b0)];if(!_0x5b8898)return;const {fieldId:_0x52df22,area:_0x256b75,index:_0x52448c}=_0x5b8898,_0x22092b=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x22092b)return;const _0x298cbe=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0);if(!_0x298cbe)return;_0x298cbe[_0x47d5b3(0x127)]();const {area:_0x3dce59,index:_0x4a26df}=_0x298cbe[_0x47d5b3(0x316)](_0x52df22);if(_0x298cbe[_0x47d5b3(0x2cb)](_0x52df22,_0x256b75,_0x52448c),_0x256b75===_0x4cc34c['Value']&&_0x298cbe['getTableFieldById'](_0x52df22)['getSubtotal']()===void 0x0){const _0x441414=_0x298cbe['getTableFieldById'](_0x52df22);if(_0x441414&&_0x441414['getSubtotal']()===void 0x0){const _0x2e7155=_0x298cbe[_0x47d5b3(0xc0)](_0x52df22);if(_0x2e7155){const _0x44c1d9=_0x2e7155==null?void 0x0:_0x2e7155[_0x47d5b3(0x2ea)]();_0x298cbe['setSubtotalType'](_0x52df22,_0x44c1d9===_0x4f8f52[_0x47d5b3(0x12f)]?_0xd80465[_0x47d5b3(0x1ba)]:_0xd80465[_0x47d5b3(0xd1)]);}}}const _0x44af0f=_0x298cbe[_0x47d5b3(0x18e)](),_0x2f124d=_0x298cbe[_0x47d5b3(0x125)](),_0x25c309=_0x298cbe[_0x47d5b3(0xb4)](_0x4cc34c[_0x47d5b3(0x9c)])>0x1;if(_0x25c309&&_0x3dce59===_0x256b75&&(_0x256b75===_0x4cc34c[_0x47d5b3(0x1e1)]&&_0x44af0f===_0x229120[_0x47d5b3(0x1e1)]||_0x256b75===_0x4cc34c['Column']&&_0x44af0f===_0x229120[_0x47d5b3(0x258)])){let _0x2a165b=_0x2f124d;_0x4a26df<=_0x2f124d&&_0x2a165b--,_0x52448c<=_0x2f124d&&_0x2a165b++,_0x298cbe['updateValuePosition'](_0x44af0f,_0x2a165b);}else _0x25c309&&(_0x3dce59===_0x4cc34c['Row']&&_0x44af0f===_0x229120[_0x47d5b3(0x1e1)]||_0x3dce59===_0x4cc34c['Column']&&_0x44af0f===_0x229120[_0x47d5b3(0x258)])&&_0x2f124d>=_0x4a26df&&_0x298cbe[_0x47d5b3(0x2dc)](_0x44af0f,_0x2f124d-0x1),_0x25c309&&(_0x256b75===_0x4cc34c[_0x47d5b3(0x1e1)]&&_0x44af0f===_0x229120['Row']||_0x256b75===_0x4cc34c[_0x47d5b3(0x258)]&&_0x44af0f===_0x229120[_0x47d5b3(0x258)])&&_0x2f124d>=_0x52448c&&_0x298cbe[_0x47d5b3(0x2dc)](_0x44af0f,_0x2f124d+0x1);const _0x54eda7=_0x298cbe[_0x47d5b3(0x274)](),_0x2d3bb8=_0x298cbe[_0x47d5b3(0x22a)](),_0x44c48e=_0x298cbe['endCollectChangeset']();_0x2eb7cd['movePivotField']={'view':_0x54eda7[_0x47d5b3(0x132)](),'changesets':_0x44c48e,'isEmpty':_0x2d3bb8,'pivotTableConfig':_0x22092b};}break;case A[_0x47d5b3(0x301)]:{const _0x2f79fd=_0xbf2241['params'][_0x47d5b3(0x10f)];if(!_0x2f79fd)return;const _0x21a62e=_0x2f79fd[_0x47d5b3(0x1e3)],_0x3bf09d=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x3bf09d)return!0x1;const _0x28d456=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0);if(!_0x28d456)return!0x1;_0x28d456[_0x47d5b3(0x127)]();for(const _0x56941d of _0x21a62e){const {area:_0x395611}=_0x28d456[_0x47d5b3(0x316)](_0x56941d);_0x395611===_0x4cc34c['Value']&&_0x28d456[_0x47d5b3(0xb8)](_0x56941d),(_0x395611===_0x4cc34c[_0x47d5b3(0x1e1)]||_0x395611===_0x4cc34c[_0x47d5b3(0x258)])&&_0x28d456['removeValueFilterInfo'](_0x56941d),_0x28d456[_0x47d5b3(0x198)](_0x56941d);}const _0xdbdb6d=_0x28d456[_0x47d5b3(0x22a)](),_0x46f79b=_0x28d456['query']()[_0x47d5b3(0x132)](),_0x401dc4=_0x28d456[_0x47d5b3(0x19c)]();_0x2eb7cd['removePivotField']={'changesets':_0x401dc4,'pivotTableConfig':_0x3bf09d,'isEmpty':_0xdbdb6d,'view':_0x46f79b};}break;case A[_0x47d5b3(0x28d)]:{const _0x4c9362=_0xbf2241['params']['setPivotFilter'];if(!_0x4c9362)return;const {tableFieldId:_0x11d5fc,items:_0xbec1fa,isAll:_0x346624}=_0x4c9362,_0x42babd=this['_sheetsPivotDataSourceModel'][_0x47d5b3(0x220)](_0x2de7a0),_0x503db4=this['_sheetsPivotDataSourceModel'][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x42babd||!_0x503db4)return;_0x42babd[_0x47d5b3(0x127)](),_0x42babd[_0x47d5b3(0xba)](_0x11d5fc,{'type':_0xa63773[_0x47d5b3(0x238)],'list':_0xbec1fa,'isAll':_0x346624});const _0x18040a=_0x42babd[_0x47d5b3(0x22a)](),_0x3f734d=_0x42babd['query']()[_0x47d5b3(0x132)](),_0x126217=_0x42babd[_0x47d5b3(0x19c)]();_0x2eb7cd[_0x47d5b3(0xe6)]={'view':_0x3f734d,'changesets':_0x126217,'isEmpty':_0x18040a,'pivotTableConfig':_0x503db4};}break;case A[_0x47d5b3(0xc3)]:{const _0x5b3585=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x2d7)];if(!_0x5b3585)return;const {tableFieldId:_0x2165a4,filterInfo:_0x10d083}=_0x5b3585,_0x29cbcb=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0),_0x14edd4=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x29cbcb||!_0x14edd4)return;_0x29cbcb[_0x47d5b3(0x127)](),_0x29cbcb[_0x47d5b3(0x23c)](_0x2165a4,_0x10d083);const _0x44f0f7=_0x29cbcb[_0x47d5b3(0x22a)](),_0xce5f45=_0x29cbcb[_0x47d5b3(0x274)]()[_0x47d5b3(0x132)](),_0x3dfcac=_0x29cbcb[_0x47d5b3(0x19c)]();_0x2eb7cd[_0x47d5b3(0x2d7)]={'view':_0xce5f45,'changesets':_0x3dfcac,'isEmpty':_0x44f0f7,'pivotTableConfig':_0x14edd4};}break;case A[_0x47d5b3(0x184)]:{const _0x3c0873=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x1bb)];if(!_0x3c0873)return;const {tableFieldId:_0x5ba73f,info:_0x27afa0}=_0x3c0873,_0x2de570=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0),_0x5ba86d=this[_0x47d5b3(0x1ce)]['getPivotTableConfig'](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x2de570||!_0x5ba86d)return;_0x2de570[_0x47d5b3(0x127)](),_0x2de570[_0x47d5b3(0x17b)](_0x5ba73f,_0x27afa0);const _0x2c6707=_0x2de570[_0x47d5b3(0x22a)](),_0x21d172=_0x2de570[_0x47d5b3(0x274)]()[_0x47d5b3(0x132)](),_0x16f2ee=_0x2de570['endCollectChangeset']();_0x2eb7cd[_0x47d5b3(0x1bb)]={'view':_0x21d172,'changesets':_0x16f2ee,'isEmpty':_0x2c6707,'pivotTableConfig':_0x5ba86d};}break;case A['SetPivotSetting']:{const _0x27bc2b=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x1fa)];if(!_0x27bc2b)return;const {tableFieldId:_0x3f0708,displayName:_0x41aa00,subtotalType:_0x3c6a02,format:_0x3fddb8}=_0x27bc2b,_0x5643d8=this['_sheetsPivotDataSourceModel'][_0x47d5b3(0x220)](_0x2de7a0),_0x226be1=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x5643d8||!_0x226be1)return;_0x5643d8['startCollectChangeset'](),_0x41aa00!==void 0x0&&_0x5643d8[_0x47d5b3(0x311)](_0x3f0708,_0x41aa00),_0x3c6a02!==void 0x0&&_0x5643d8['setSubtotalType'](_0x3f0708,_0x3c6a02),_0x3fddb8!==void 0x0&&_0x5643d8[_0x47d5b3(0x308)](_0x3f0708,_0x3fddb8);const _0x5c9601=_0x5643d8['isEmpty'](),_0xbe8cf8=_0x5643d8[_0x47d5b3(0x274)]()[_0x47d5b3(0x132)](),_0x467bcb=_0x5643d8[_0x47d5b3(0x19c)]();_0x2eb7cd[_0x47d5b3(0x1fa)]={'changesets':_0x467bcb,'pivotTableConfig':_0x226be1,'isEmpty':_0x5c9601,'view':_0xbe8cf8};}break;case A[_0x47d5b3(0x10a)]:{const _0x2465c9=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x2df)];if(!_0x2465c9)return;const {dataRangeInfo:_0x3fe36c,unitId:_0x39ae09,subUnitId:_0xa00002}=_0x2465c9,_0x2a5200=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x39ae09,_0xa00002,_0x2de7a0),_0x2128f3=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x2de7a0);if(!this[_0x47d5b3(0x1ce)]['getCollection'](_0x39ae09,_0x2de7a0)||!_0x2128f3||!_0x2a5200)return;const _0x5b4bf5=this[_0x47d5b3(0x1ce)]['getUpdateRangeDeleteIds'](_0x39ae09,_0x2de7a0,_0x3fe36c),_0x462fc3=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x28b)](_0x39ae09,_0x2de7a0)[_0x47d5b3(0x132)](),{collection:_0x1378ec}=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x1c0)]({'unitId':_0x3fe36c[_0x47d5b3(0x167)],'sheetName':_0x3fe36c['sheetName'],'subUnitId':_0x3fe36c[_0x47d5b3(0x20b)],'range':_0x3fe36c['range']}),_0x3d66ad=_0x1378ec[_0x47d5b3(0x132)]();_0x2128f3['startCollectChangeset']();const _0x4af10a=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x23a)](_0x39ae09)[_0x47d5b3(0x318)]()||_0x1f98bb;_0x2128f3['iterateField'](_0x2f8459=>{const _0x18e052=_0x47d5b3,_0x5f37ec=_0x2f8459['getDataFieldId']();if(!_0x1378ec[_0x18e052(0x19b)](_0x5f37ec)){const _0x42b978=_0x1378ec[_0x18e052(0x2d4)](_0x2f8459[_0x18e052(0x267)]());if(_0x42b978){_0x2128f3[_0x18e052(0x136)](_0x2f8459[_0x18e052(0xf5)](),_0x42b978[_0x18e052(0xce)](),_0x42b978['getId']());const {area:_0x46e964}=_0x2128f3[_0x18e052(0x316)](_0x2f8459[_0x18e052(0xf5)]());let _0x9c95fb=_0x2f8459[_0x18e052(0x267)]();const _0x38c6fa=_0x2f8459[_0x18e052(0x16f)]();if(_0x46e964===_0x4cc34c[_0x18e052(0x9c)]){const _0x5d7f77=_0x2f8459[_0x18e052(0x27b)]();_0x9c95fb=_0x4af10a(_0x42b978[_0x18e052(0xce)](),_0x5d7f77);}_0x38c6fa!==_0x9c95fb&&_0x2128f3[_0x18e052(0x311)](_0x2f8459[_0x18e052(0xf5)](),_0x9c95fb);}else _0x2128f3[_0x18e052(0x198)](_0x2f8459[_0x18e052(0xf5)]());}});const _0x372fcd=_0x2128f3[_0x47d5b3(0x22a)](),_0x217a8e=_0x2128f3[_0x47d5b3(0x274)]()['toJSON'](),_0x4db6ea=_0x2128f3['endCollectChangeset']();_0x2eb7cd[_0x47d5b3(0x2df)]={'view':_0x217a8e,'changesets':_0x4db6ea,'isEmpty':_0x372fcd,'pivotTableConfig':_0x2a5200,'collectionConfig':_0x3d66ad,'oldCollectionConfig':_0x462fc3,'deleteIds':_0x5b4bf5};}break;case A[_0x47d5b3(0x1b2)]:{const _0x50af40=_0xbf2241['params'][_0x47d5b3(0x2dc)];if(!_0x50af40)return;const {position:_0xbc8b2c,index:_0x685036}=_0x50af40,_0x5edbdd=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x5edbdd)return!0x1;const _0x4a4cb5=this[_0x47d5b3(0x1ce)]['getPivotTableInstance'](_0x2de7a0);if(!_0x4a4cb5)return!0x1;_0x4a4cb5[_0x47d5b3(0x127)](),_0x4a4cb5[_0x47d5b3(0x2dc)](_0xbc8b2c,_0x685036);const _0x5a51f0=_0x4a4cb5['isEmpty'](),_0x19b193=_0x4a4cb5['query']()[_0x47d5b3(0x132)](),_0xc335cb=_0x4a4cb5['endCollectChangeset']();_0x2eb7cd[_0x47d5b3(0x2dc)]={'changesets':_0xc335cb,'pivotTableConfig':_0x5edbdd,'isEmpty':_0x5a51f0,'view':_0x19b193};}break;case A[_0x47d5b3(0x319)]:{const _0x50f1d5=_0xbf2241[_0x47d5b3(0xa2)]['setPivotCollapse'];if(!_0x50f1d5)return;const {tableFieldId:_0x190c54,collapse:_0x2e172e,item:_0x501025}=_0x50f1d5,_0x1b5cad=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0),_0x4e7c6b=this[_0x47d5b3(0x1ce)]['getPivotTableConfig'](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x1b5cad||!_0x4e7c6b)return;_0x1b5cad[_0x47d5b3(0x127)](),_0x1b5cad[_0x47d5b3(0x302)](_0x190c54,_0x2e172e,_0x501025);const _0x98e390=_0x1b5cad[_0x47d5b3(0x22a)](),_0x573ecb=_0x1b5cad[_0x47d5b3(0x274)]()['toJSON'](),_0x2a6c0b=_0x1b5cad[_0x47d5b3(0x19c)]();_0x2eb7cd[_0x47d5b3(0x321)]={'view':_0x573ecb,'isEmpty':_0x98e390,'pivotTableConfig':_0x4e7c6b,'changesets':_0x2a6c0b};}break;case A[_0x47d5b3(0xef)]:{const _0x4f989b=_0xbf2241[_0x47d5b3(0xa2)]['setPivotTableConfig'];if(!_0x4f989b)return;const {pivotTableConfig:_0x166764}=_0x4f989b,_0x5a3030=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0),_0x4bb72a=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x14e)](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x5a3030||!_0x4bb72a)return;_0x5a3030[_0x47d5b3(0x127)](),$i(_0x5a3030,_0x166764);const _0xf6f2b0=_0x5a3030[_0x47d5b3(0x22a)](),_0x5bb61e=_0x5a3030[_0x47d5b3(0x274)]()[_0x47d5b3(0x132)](),_0x4e2423=_0x5a3030[_0x47d5b3(0x19c)]();_0x2eb7cd['setPivotTableConfig']={'view':_0x5bb61e,'isEmpty':_0xf6f2b0,'pivotTableConfig':{..._0x4bb72a,'fieldsConfig':_0x5a3030['toJSON']()},'changesets':_0x4e2423};}break;case A[_0x47d5b3(0x306)]:{const _0x26a5bc=_0xbf2241[_0x47d5b3(0xa2)][_0x47d5b3(0x1e7)];if(!_0x26a5bc)return;const _0x37ac99=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x220)](_0x2de7a0),_0x5c7edf=this[_0x47d5b3(0x1ce)]['getPivotTableConfig'](_0x3dc222,_0x4d2fac,_0x2de7a0);if(!_0x37ac99||!_0x5c7edf)return;_0x37ac99[_0x47d5b3(0x127)](),zi(_0x37ac99,_0x26a5bc[_0x47d5b3(0x25f)]);const _0x4ece8b=_0x37ac99[_0x47d5b3(0x274)]()[_0x47d5b3(0x132)](),_0x10575e=_0x37ac99[_0x47d5b3(0x19c)]();_0x2eb7cd[_0x47d5b3(0x1e7)]={'view':_0x4ece8b,'isEmpty':!0x0,'pivotTableConfig':{..._0x5c7edf,'fieldsConfig':_0x37ac99[_0x47d5b3(0x132)]()},'changesets':_0x10575e};}break;case A[_0x47d5b3(0x208)]:{const _0x2c06a1=_0xbf2241['params'][_0x47d5b3(0x11f)];if(!_0x2c06a1)return;const _0xd37a56=_0x2c06a1[_0x47d5b3(0xdb)],_0x143206=_0x2c06a1[_0x47d5b3(0x2fb)],{collection:_0x436661}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0xd37a56[_0x47d5b3(0x167)],'sheetName':_0xd37a56[_0x47d5b3(0x128)],'subUnitId':_0xd37a56[_0x47d5b3(0x20b)],'range':_0xd37a56['range']}),_0x265422=new _0x16e808(_0x436661,void 0x0,_0x143206),_0x34a0e1=_0x436661[_0x47d5b3(0x2eb)](),{rows:_0x3e6a75,columns:_0x3ef824,filters:_0x1a59df,values:_0x45f5f0}=_0x2c06a1[_0x47d5b3(0x155)];_0x265422['startCollectChangeset']();for(const {field:_0xabd9a3,selectedItems:_0x50fdae}of _0x3e6a75||[]){const _0x118612=_0x34a0e1[_0xabd9a3];if(_0x118612){const _0x2d79d2=_0x265422[_0x47d5b3(0x171)](_0x118612,_0x4cc34c[_0x47d5b3(0x1e1)]);_0x50fdae&&_0x2d79d2&&_0x265422[_0x47d5b3(0xba)](_0x2d79d2[_0x47d5b3(0xf5)](),{'type':_0xa63773[_0x47d5b3(0x238)],'list':_0x50fdae,'isAll':!0x1});}}for(const {field:_0x2d5d37,selectedItems:_0x4cb69a}of _0x3ef824||[]){const _0x424ab2=_0x34a0e1[_0x2d5d37];if(_0x424ab2){const _0x21af12=_0x265422['addFieldWithSourceId'](_0x424ab2,_0x4cc34c[_0x47d5b3(0x258)]);_0x4cb69a&&_0x21af12&&_0x265422['setLabelFilterInfo'](_0x21af12[_0x47d5b3(0xf5)](),{'type':_0xa63773[_0x47d5b3(0x238)],'list':_0x4cb69a,'isAll':!0x1});}}for(const {field:_0x49b3b6,selectedItems:_0x1ef9d2}of _0x1a59df||[]){const _0x41f6f5=_0x34a0e1[_0x49b3b6];if(_0x41f6f5){const _0xa32b0f=_0x265422['addFieldWithSourceId'](_0x41f6f5,_0x4cc34c[_0x47d5b3(0x1aa)]);_0x1ef9d2&&_0xa32b0f&&_0x265422[_0x47d5b3(0xba)](_0xa32b0f[_0x47d5b3(0xf5)](),{'type':_0xa63773[_0x47d5b3(0x238)],'list':_0x1ef9d2,'isAll':!0x1});}}for(const {field:_0x45987b,subTotalType:_0x1a8b1c,formatString:_0x4f1d2b}of _0x45f5f0||[]){const _0xfb83e3=_0x436661[_0x47d5b3(0xe0)](_0x34a0e1[_0x45987b]);if(!_0xfb83e3)continue;const _0xf64bda=_0x34a0e1[_0x45987b];if(_0xf64bda){const _0x488d7b=_0x265422[_0x47d5b3(0x171)](_0xf64bda,_0x4cc34c[_0x47d5b3(0x9c)]);if(_0x488d7b){if(_0x1a8b1c!==void 0x0){_0x265422[_0x47d5b3(0x231)](_0x488d7b['getId'](),_0x1a8b1c);const _0x1504a1=this[_0x47d5b3(0x1ce)][_0x47d5b3(0x23a)](_0xd37a56[_0x47d5b3(0x167)])[_0x47d5b3(0x318)]()||_0x1f98bb,_0x151897=_0x436661[_0x47d5b3(0x16f)](_0xf64bda),_0x44c193=_0x1504a1(_0x151897,_0x1a8b1c);_0x265422[_0x47d5b3(0x311)](_0x488d7b['getId'](),_0x44c193);}else{if(_0xfb83e3){const _0x54048c=_0xfb83e3==null?void 0x0:_0xfb83e3[_0x47d5b3(0x2ea)]();_0x265422[_0x47d5b3(0x231)](_0x488d7b['getId'](),_0x54048c===_0x4f8f52[_0x47d5b3(0x12f)]?_0xd80465[_0x47d5b3(0x1ba)]:_0xd80465[_0x47d5b3(0xd1)]);}}_0x4f1d2b&&_0x265422[_0x47d5b3(0x308)](_0x488d7b[_0x47d5b3(0xf5)](),_0x4f1d2b);}}}const _0x35bd79=_0x265422[_0x47d5b3(0x274)](),_0x4a9620=_0x265422[_0x47d5b3(0x132)](),_0x408762=_0x265422[_0x47d5b3(0x22a)](),_0x410988=_0x265422[_0x47d5b3(0x19c)](),_0x3aa7c4=_0x436661['toJSON']();_0x2eb7cd[_0x47d5b3(0x11f)]={'view':_0x35bd79,'fieldsConfig':_0x4a9620,'collectionConfig':_0x3aa7c4,'isEmpty':_0x408762,'changesets':_0x410988};}break;case A[_0x47d5b3(0x12d)]:{const _0x47a2bd=Bi(this[_0x47d5b3(0x312)],_0xbf2241);if(!_0x47a2bd)return;const {range:_0x400bea,sourceSubUnitId:_0x644407,sourceUnitId:_0x592bd0,formatMap:_0x4520ea,indexes:_0x4c69c4}=_0x47a2bd;_0x2eb7cd[_0x47d5b3(0x320)]={'range':_0x400bea,'sourceSubUnitId':_0x644407,'sourceUnitId':_0x592bd0,'formatMap':_0x4520ea,'indexes':_0x4c69c4};}break;}this[_0x47d5b3(0x25d)][_0x47d5b3(0x2e1)](lo['id'],{'version':_0xbf2241[_0x47d5b3(0x2ee)],'result':_0x2eb7cd},{'onlyLocal':!0x0});}));}[_0x1675c1(0x2af)](){const _0x43676d=_0x1675c1;this[_0x43676d(0x1ea)](this[_0x43676d(0x25d)][_0x43676d(0x170)](_0x3422f4=>{const _0x3e8243=_0x43676d;if(_0x3422f4['id']!==uo['id'])return;const _0x35fde8=_0x3422f4[_0x3e8243(0xa2)];return this['_sheetsPivotDataSourceModel']['setTextInfo'](_0x35fde8[_0x3e8243(0x1c4)]),!0x0;}));}['_subjectCollectionChange'](){const _0x5ee800=_0x1675c1;this['_sheetsPivotDataSourceModel'][_0x5ee800(0x19a)]['subscribe'](_0x32c9a5=>{const _0x121bbc=_0x5ee800;switch(_0x32c9a5[_0x121bbc(0x168)]){case ke['add']:_0x32c9a5[_0x121bbc(0x280)]&&_0x32c9a5['targetCellInfo']&&this[_0x121bbc(0x222)](_0x32c9a5[_0x121bbc(0x26f)],_0x32c9a5['dataRangeInfo'],_0x32c9a5[_0x121bbc(0xb1)]);break;case ke[_0x121bbc(0x30d)]:{const {unitId:_0x3f7835,subUnitId:_0x2e96d8,token:_0x480195}=_0x32c9a5;_0x3f7835&&_0x2e96d8&&_0x480195&&this[_0x121bbc(0x104)](_0x3f7835,_0x2e96d8,_0x480195);}break;case ke['update']:{const {token:_0x13f096,oldSourceRangeInfo:_0x12811d,dataRangeInfo:_0x53d0dc,targetCellInfo:_0x33fd7f}=_0x32c9a5,{unitId:_0x580e7c,subUnitId:_0x3dd4bc}=_0x12811d||{};_0x580e7c&&_0x3dd4bc&&_0x13f096&&this[_0x121bbc(0x104)](_0x580e7c,_0x3dd4bc,_0x13f096),_0x53d0dc&&_0x33fd7f&&this[_0x121bbc(0x222)](_0x13f096,_0x53d0dc,_0x33fd7f);}break;}});}[_0x1675c1(0x2e4)](){const _0x4079a3=_0x1675c1;this[_0x4079a3(0x1ce)][_0x4079a3(0x16c)]['subscribe'](_0x35025f=>{const _0xdc1199=_0x4079a3;Object[_0xdc1199(0x121)](_0x35025f)[_0xdc1199(0x2ef)](_0x38408c=>{const _0xe4eb31=_0xdc1199,_0x2ad95f=this[_0xe4eb31(0x1ce)][_0xe4eb31(0x209)](_0x38408c);if(_0x2ad95f){const _0x711a67=this[_0xe4eb31(0x1ce)][_0xe4eb31(0x14e)](_0x2ad95f==null?void 0x0:_0x2ad95f[_0xe4eb31(0x167)],_0x2ad95f==null?void 0x0:_0x2ad95f[_0xe4eb31(0x20b)],_0x38408c);_0x711a67&&(this[_0xe4eb31(0x222)](_0x38408c,_0x711a67[_0xe4eb31(0xdb)],_0x711a67[_0xe4eb31(0xb1)]),this[_0xe4eb31(0x131)]([{'unitId':_0x2ad95f[_0xe4eb31(0x167)],'subUnitId':_0x2ad95f['subUnitId'],'token':_0x38408c}]));}});});}[_0x1675c1(0xd5)](){const _0x399389=_0x1675c1;this[_0x399389(0x1ce)][_0x399389(0x212)][_0x399389(0x1b1)](_0x32deec=>{const _0x1e6394=_0x399389,{unitId:_0x30c719,subUnitId:_0x3f6b9e,pivotTableId:_0x59ad74}=_0x32deec;_0x30c719&&_0x3f6b9e&&_0x59ad74&&this[_0x1e6394(0x131)]([{'unitId':_0x30c719,'subUnitId':_0x3f6b9e,'token':_0x59ad74}]);});}['triggerDirtyFeature'](_0x2b884b){const _0x39f97e=_0x1675c1,_0x5bb6de={};_0x2b884b[_0x39f97e(0x2ef)](_0x5d12dc=>{var _0x20d533,_0x1c3894;const {unitId:_0x563709,subUnitId:_0x5e5ca2,token:_0x342bcd}=_0x5d12dc;_0x5bb6de[_0x563709]=(_0x20d533=_0x5bb6de[_0x563709])!=null?_0x20d533:{},_0x5bb6de[_0x563709][_0x5e5ca2]=(_0x1c3894=_0x5bb6de[_0x563709][_0x5e5ca2])!=null?_0x1c3894:{},_0x5bb6de[_0x563709][_0x5e5ca2][_0x342bcd]=!0x0;}),this[_0x39f97e(0x25d)][_0x39f97e(0x2e1)](Et['id'],_0x5bb6de);}['removeSourceRangeChange'](_0x165b01,_0x314c95,_0x374290){const _0x43fcfe=_0x1675c1;this[_0x43fcfe(0x1d5)][_0x43fcfe(0x16a)](_0x165b01,_0x314c95,[_0x374290]);}['handleSourceRangeChange'](_0x20e2e1,_0xa96826,_0xf02a01){const _0x115405=_0x1675c1,{unitId:_0x3a1255,subUnitId:_0x5703ea}=_0xa96826;this['_featureCalculationManagerService'][_0x115405(0x1b4)](_0xf02a01[_0x115405(0x167)],_0xf02a01[_0x115405(0x20b)],_0x20e2e1)&&this[_0x115405(0x104)](_0x3a1255,_0x5703ea,_0x20e2e1);const _0x5392c6={'sheetId':_0x5703ea,..._0xa96826};this[_0x115405(0x1d5)][_0x115405(0x19d)](_0xf02a01[_0x115405(0x167)],_0xf02a01[_0x115405(0x20b)],_0x20e2e1,{'unitId':_0xf02a01[_0x115405(0x167)],'subUnitId':_0xf02a01[_0x115405(0x20b)],'dependencyRanges':[_0x5392c6],'getDirtyData':(_0x70b44c,_0x52e190)=>{const _0x45653a=_0x115405,_0x530d67=this[_0x45653a(0x1ce)],_0x18a3c6=_0x530d67[_0x45653a(0x209)](_0x20e2e1);if(!_0x18a3c6)return Us();const {unitId:_0x3bb4bd,subUnitId:_0x4e9bbc}=_0x18a3c6,_0x12e327=Os(_0x70b44c,_0x52e190,_0xa96826);if(_0x12e327['length']>0x0){const _0x5c7731=_0x530d67[_0x45653a(0x28b)](_0x3a1255,_0x20e2e1),_0x3ae261=_0x5c7731[_0x45653a(0x2eb)](),_0x58e361=this['getMatrixFromRunTimeData'](_0xa96826[_0x45653a(0x167)],_0xa96826[_0x45653a(0x20b)],_0x52e190),_0x42f962={},_0x3176d0=this['_sheetsPivotDataSourceModel'][_0x45653a(0x23a)](_0x3bb4bd)['getAutoDisplayNameFunction']()||_0x1f98bb,_0x45080b=[];for(const _0x3c5be7 of _0x12e327){const _0xee9cc5=_0x3c5be7-(_0xa96826['range']['startColumn']||0x0),_0x541162=_0x3ae261[_0xee9cc5];_0x45080b[_0x45653a(0x1a3)](_0x541162),_0x42f962[_0x541162]=_0x5c7731[_0x45653a(0xe0)](_0x541162)[_0x45653a(0xce)](),_0x530d67[_0x45653a(0x23a)](_0x3a1255)['refreshDataField'](_0x541162,_0xa96826,_0xee9cc5,_0x58e361);}_0x5c7731[_0x45653a(0xf0)](_0x45080b)[_0x45653a(0x2ef)](_0x35d235=>{const _0x4bcdb4=_0x45653a,[_0x3a2b39,_0x3f0b4c]=_0x35d235,_0x27ed1e=_0x5c7731[_0x4bcdb4(0xe0)](_0x3a2b39),_0x16f53a=_0x5c7731[_0x4bcdb4(0xe0)](_0x3f0b4c);_0x27ed1e&&_0x16f53a&&_0x27ed1e[_0x4bcdb4(0x243)](_0x16f53a);}),_0x5c7731['updateAllDisplayName']();const _0x5e0202=_0x530d67[_0x45653a(0x220)](_0x20e2e1);if(_0x5e0202){Vs(_0x5e0202,_0x42f962,_0x3176d0),_0x5e0202[_0x45653a(0x10b)](!0x0);const _0x44fbf3=_0x5e0202[_0x45653a(0x274)](),_0xe70033=_0x530d67[_0x45653a(0x14e)](_0x3bb4bd,_0x4e9bbc,_0x20e2e1),_0x12bcb3=_0x530d67[_0x45653a(0x23a)](_0x3a1255)[_0x45653a(0x132)]();_0x530d67[_0x45653a(0x174)](_0x3bb4bd,_0x4e9bbc,L['Set'],_0x20e2e1,_0x44fbf3,_0xe70033,_0x12bcb3,!0x0);}}return this[_0x45653a(0x15c)](_0x3bb4bd,_0x4e9bbc,_0x20e2e1);}});}[_0x1675c1(0x2d2)](_0x3b8782,_0x435656,_0x55d01b){var _0x5aa2ae,_0x40c80e;const {arrayFormulaCellData:_0x590ad4,unitData:_0x1f32c2}=_0x55d01b,_0x2d8df2=(_0x5aa2ae=_0x590ad4==null?void 0x0:_0x590ad4[_0x3b8782])==null?void 0x0:_0x5aa2ae[_0x435656],_0x4f8ca4=(_0x40c80e=_0x1f32c2==null?void 0x0:_0x1f32c2[_0x3b8782])==null?void 0x0:_0x40c80e[_0x435656];return{'arrayFormulaCellDataMatrix':_0x2d8df2,'unitDataMatrix':_0x4f8ca4};}[_0x1675c1(0x15c)](_0x42c90e,_0x3095a1,_0xdb2f67){const _0x497fd0=_0x1675c1,_0xad5729=this[_0x497fd0(0x1ce)]['getViewData'](_0x42c90e,_0x3095a1,_0xdb2f67),_0x4c8819=[],_0x656a2d=new _0x1d8f59();if(_0xad5729){const {rangeCache:_0x4a5a3f,matrix:_0x8b4735,oldRangeCache:_0x174493,oldMatrix:_0x1856dd}=_0xad5729,_0x498083=Lt(_0x174493),_0x517dfc=Lt(_0x4a5a3f);_0x4c8819[_0x497fd0(0x1a3)](..._0x517dfc,..._0x498083),_0x1856dd&&_0x174493&&_0x498083[_0x497fd0(0x2ef)](_0x2ba3e3=>{const _0x1885ec=_0x497fd0;for(let _0x5874de=_0x2ba3e3[_0x1885ec(0x21c)];_0x5874de<=_0x2ba3e3[_0x1885ec(0x138)];_0x5874de++)for(let _0x59443f=_0x2ba3e3[_0x1885ec(0x16d)];_0x59443f<=_0x2ba3e3['endColumn'];_0x59443f++)_0x656a2d[_0x1885ec(0x152)](_0x5874de,_0x59443f);}),_0x8b4735&&_0x517dfc&&_0x517dfc[_0x497fd0(0x2ef)](_0x3a261a=>{const _0x5619ba=_0x497fd0;for(let _0x263add=_0x3a261a[_0x5619ba(0x21c)];_0x263add<=_0x3a261a[_0x5619ba(0x138)];_0x263add++)for(let _0x2c1ea3=_0x3a261a[_0x5619ba(0x16d)];_0x2c1ea3<=_0x3a261a[_0x5619ba(0xa1)];_0x2c1ea3++)_0x656a2d[_0x5619ba(0x2d0)](_0x263add,_0x2c1ea3,_0x8b4735['getValue'](_0x263add,_0x2c1ea3));});}const _0x117663={};return _0x117663[_0x42c90e]={[_0x3095a1]:xs(_0x4c8819)},{'runtimeCellData':{[_0x42c90e]:{[_0x3095a1]:_0x656a2d}},'dirtyRanges':_0x117663};}[_0x1675c1(0x239)](){}};ct=Es([Ke(0x0,_0x2fd05e(G)),Ke(0x1,_0xe8dcbb),Ke(0x2,_0x2fd05e(_0x486bfd)),Ke(0x3,_0x2fd05e(_0x3408cd)),Ke(0x4,_0x2fd05e(_0x2b17f8)),Ke(0x5,_0x2fd05e(_0x854c25))],ct);var Bs=Object[_0x1675c1(0xd3)],As=(_0x334d10,_0x2f00aa,_0x48254b,_0x6f452e)=>{const _0x465eae=_0x1675c1;for(var _0x10e0b4=_0x6f452e>0x1?void 0x0:_0x6f452e?Bs(_0x2f00aa,_0x48254b):_0x2f00aa,_0x3acf09=_0x334d10[_0x465eae(0xff)]-0x1,_0x5c65b1;_0x3acf09>=0x0;_0x3acf09--)(_0x5c65b1=_0x334d10[_0x3acf09])&&(_0x10e0b4=_0x5c65b1(_0x10e0b4)||_0x10e0b4);return _0x10e0b4;},_t=(_0x54ad39,_0xef0861)=>(_0x4c8854,_0x557442)=>_0xef0861(_0x4c8854,_0x557442,_0x54ad39);let dt=class extends _0x5334b7{constructor(_0x42a0ba,_0x5b8f51,_0x3e7e33,_0x128162){const _0x2c72f9=_0x1675c1;super(),U(this,_0x2c72f9(0xc6),new _0x2baf83()),(this[_0x2c72f9(0x27f)]=_0x42a0ba,this[_0x2c72f9(0x299)]=_0x5b8f51,this[_0x2c72f9(0x1e9)]=_0x3e7e33,this[_0x2c72f9(0x2d1)]=_0x128162,this['_initClearSelectionCommandInterceptor']());}[_0x1675c1(0x265)](){const _0x53acfd=_0x1675c1;this[_0x53acfd(0x1ea)](this['_sheetInterceptorService'][_0x53acfd(0x1d8)]({'getMutations':_0x1f44ae=>{const _0x1af1dd=_0x53acfd;if(_0x1f44ae['id']===_0x66bb4e['id']||_0x1f44ae['id']===_0x267fed['id']){const _0x17b4a8=[],_0x5be48b=[],_0x3e2f4d=this[_0x1af1dd(0x1e9)][_0x1af1dd(0x21e)]()['map'](_0x5d3dd2=>_0x5d3dd2[_0x1af1dd(0x27c)]),_0x18d4bd=_0x2075c9(this[_0x1af1dd(0x27f)]);if(!_0x18d4bd)return{'redos':[],'undos':[]};const {unitId:_0x61ecdf,subUnitId:_0xce1d2}=_0x18d4bd,_0x554eff={},_0x1f49b6=this[_0x1af1dd(0x2d1)]['getSubUnitPivotConfigs'](_0x61ecdf,_0xce1d2);if(_0x1f49b6!=null&&_0x1f49b6[_0x1af1dd(0xb5)])for(const [_0x287ec7,_0x35a456]of _0x1f49b6){const {unitId:_0x5c72c9,subUnitId:_0x9d7574,row:_0x19c31f,col:_0x526ece}=_0x35a456[_0x1af1dd(0xb1)];_0x5c72c9===_0x18d4bd[_0x1af1dd(0x167)]&&_0x9d7574===_0x18d4bd['subUnitId']&&(_0x554eff[_0x19c31f+'-'+_0x526ece]=_0x287ec7);}return _0x3e2f4d&&_0x18d4bd&&_0x3e2f4d[_0x1af1dd(0x2ef)](_0x58a83d=>{const _0x55ef6b=_0x1af1dd;_0x3ae671[_0x55ef6b(0x262)](_0x58a83d,(_0x559549,_0x566acd)=>{const _0xd96192=_0x55ef6b,_0x22d35c=_0x559549+'-'+_0x566acd;if(_0x554eff[_0x22d35c]){const _0xcb1ffc=_0x554eff[_0x22d35c];_0x17b4a8[_0xd96192(0x1a3)]({'id':Ot['id'],'params':{'unitId':_0x61ecdf,'subUnitId':_0xce1d2,'pivotTableId':_0xcb1ffc}});const _0x6d1bf4=this[_0xd96192(0x2d1)][_0xd96192(0x28b)](_0x61ecdf,_0xcb1ffc),_0x21f2ce=this['_sheetsPivotTableConfigModel']['getPivotTableConfig'](_0x61ecdf,_0xce1d2,_0xcb1ffc);_0x5be48b[_0xd96192(0x1a3)]({'id':Ct['id'],'params':{'unitId':_0x61ecdf,'subUnitId':_0xce1d2,'pivotTableId':_0xcb1ffc,'pivotTableConfig':_0x21f2ce,'collectionConfig':_0x6d1bf4}});}});}),{'redos':_0x17b4a8,'undos':_0x5be48b};}return{'redos':[],'undos':[]};}}));}};dt=As([_t(0x0,_0x146954),_t(0x1,_0x2fd05e(_0x5ed9f4)),_t(0x2,_0x2fd05e(_0x434854)),_t(0x3,_0x2fd05e(ve))],dt);var Ws=Object[_0x1675c1(0xd3)],ks=(_0x2bff0f,_0x313303,_0x3b82ad,_0x1407bb)=>{const _0x2a058d=_0x1675c1;for(var _0x1d072c=_0x1407bb>0x1?void 0x0:_0x1407bb?Ws(_0x313303,_0x3b82ad):_0x313303,_0x4e819c=_0x2bff0f[_0x2a058d(0xff)]-0x1,_0x435063;_0x4e819c>=0x0;_0x4e819c--)(_0x435063=_0x2bff0f[_0x4e819c])&&(_0x1d072c=_0x435063(_0x1d072c)||_0x1d072c);return _0x1d072c;},He=(_0x53b8be,_0x5bda39)=>(_0x4d837f,_0xb7111b)=>_0x5bda39(_0x4d837f,_0xb7111b,_0x53b8be);let ut=class extends _0x5334b7{constructor(_0x8f11b,_0xeb1319,_0x21794e,_0x16b4be,_0xf3ea94,_0x3117cd){const _0x246c9f=_0x1675c1;super(),this[_0x246c9f(0xcf)]=_0x8f11b,this[_0x246c9f(0x299)]=_0xeb1319,this['_injector']=_0x21794e,this[_0x246c9f(0x27f)]=_0x16b4be,this[_0x246c9f(0x2d1)]=_0xf3ea94,this[_0x246c9f(0x172)]=_0x3117cd,this[_0x246c9f(0x228)]();}['_getPivotAppliedRanges'](_0x11bd8e,_0x1b103f,_0x17a805){const _0x5451e6=_0x1675c1,{pageView:_0x24d4c4,cornerView:_0x3857f3,rowView:_0x3787c1,colView:_0xa9c022,dataView:_0x30bc8d}=_0x1b103f,_0x3d5952=_0x11bd8e;let _0x27cd43;if(_0x17a805)_0x27cd43=[...Ai(_0x3d5952)];else{const _0x1a6219=ge(_0x3d5952,_0x24d4c4,!0x0),_0x3e2bda=_0x24d4c4[_0x5451e6(0x2b5)]>=0x0?_0x24d4c4[_0x5451e6(0x2b5)]+0x1:0x0,_0x27d4fe=_0x3857f3['rowCount'],_0x4d3a2c=_0x3857f3['colCount'],_0x3f9d64=_0x1a6219['length']>0x0?It:0x0,_0x350156=ge({'row':_0x3d5952[_0x5451e6(0xcd)]+_0x3e2bda+_0x3f9d64,'col':_0x3d5952[_0x5451e6(0x1d6)]},_0x3857f3,!0x1,!0x1),_0x1a21a3=ge({'row':_0x3d5952[_0x5451e6(0xcd)]+_0x3e2bda+_0x3f9d64+_0x27d4fe,'col':_0x3d5952['col']},_0x3787c1,!0x1,!0x0),_0x57d865=ge({'row':_0x3d5952['row']+_0x3e2bda+_0x3f9d64,'col':_0x3d5952[_0x5451e6(0x1d6)]+_0x4d3a2c},_0xa9c022,!0x1,!0x0),_0x1125d4=ge({'row':_0x3d5952[_0x5451e6(0xcd)]+_0x3e2bda+_0x3f9d64+_0x27d4fe,'col':_0x3d5952['col']+_0x4d3a2c},_0x30bc8d,!0x1,!0x0);_0x27cd43=[..._0x1a6219,..._0x350156,..._0x1a21a3,..._0x57d865,..._0x1125d4];}return _0x27cd43;}[_0x1675c1(0x228)](){const _0x448cb7=_0x1675c1;this[_0x448cb7(0x1ea)](this[_0x448cb7(0x172)][_0x448cb7(0xa5)][_0x448cb7(0x2ac)](this[_0x448cb7(0x172)][_0x448cb7(0xa5)][_0x448cb7(0x1f5)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x263f11,_0x4f9267)=>{const _0x4e843e=_0x448cb7,{cellInfo:_0x50061e,view:_0x3089b1,isEmpty:_0x2e233b}=_0x4f9267,_0x465563=_0x50061e,{unitId:_0x2630ec,subUnitId:_0x1c8476}=_0x465563,_0x545dac=this[_0x4e843e(0x103)](_0x50061e,_0x3089b1,_0x2e233b),_0x30bf2b=this[_0x4e843e(0x299)][_0x4e843e(0xb3)]({'unitId':_0x2630ec,'subUnitId':_0x1c8476,'ranges':_0x545dac}),_0x4bbbcb=Ko(this['_injector'],_0x2630ec,_0x1c8476,_0x545dac);_0x4bbbcb['shouldClear']&&(_0x30bf2b[_0x4e843e(0x1b3)]['push'](_0x4bbbcb[_0x4e843e(0x241)]),_0x30bf2b['undos'][_0x4e843e(0x1a3)](_0x4bbbcb['setRangeValueUndoMutation']));const _0x80427a=this['getAutoFitColumnsMutations'](_0x3089b1,_0x50061e);return _0x30bf2b[_0x4e843e(0x1b3)][_0x4e843e(0x1a3)](..._0x80427a[_0x4e843e(0x1b3)]),_0x30bf2b[_0x4e843e(0x1e2)][_0x4e843e(0x1a3)](..._0x80427a['undos']),{'redos':_0x30bf2b['redos'],'undos':_0x30bf2b[_0x4e843e(0x1e2)]};}}));}[_0x1675c1(0x221)](_0x2cfe28,_0x2bfbb5){const _0x507cdb=_0x1675c1,{col:_0x4f3187,unitId:_0x12271e,subUnitId:_0x3060f8}=_0x2bfbb5,_0x2e5df0=[],_0x1e0c00=[],_0x350cf8=_0x2075c9(this[_0x507cdb(0x27f)],{'unitId':_0x12271e,'subUnitId':_0x3060f8});if(!_0x2bfbb5||!_0x2cfe28||!_0x350cf8)return{'undos':_0x1e0c00,'redos':_0x2e5df0};const _0xad9e4f=this[_0x507cdb(0x2d1)][_0x507cdb(0x165)](),{colView:_0x1e8bda,dataView:_0x4d9bc2,cornerView:_0x1ce014,rowView:_0x4a19f0,formatMap:_0x52d349}=_0x2cfe28,_0x3b3203=To(_0x1e8bda,_0xad9e4f,!0x0,_0x52d349),_0x4b928c=To(_0x4a19f0,_0xad9e4f,!0x1,_0x52d349),_0x5519e1=Li(_0x4d9bc2),_0x11ab02=Gi(_0x1ce014),{worksheet:_0x50c2b7}=_0x350cf8;if(typeof window<'u'&&window[_0x507cdb(0x313)]){const _0x15697f=_0x2c4332({...fe[_0x507cdb(0x2e8)]}),_0x42e9c2=_0x53eb93[_0x507cdb(0x31b)](_0x3b3203,_0x15697f)[_0x507cdb(0xfd)]+0x10,_0xab1401=_0x53eb93[_0x507cdb(0x31b)](_0x5519e1,_0x15697f)[_0x507cdb(0xfd)],_0x3ed44d=Math['floor'](Math['max'](_0x42e9c2,_0xab1401))+0x10,_0x44f3b1=Math['floor'](_0x53eb93[_0x507cdb(0x31b)](_0x4b928c,_0x15697f)[_0x507cdb(0xfd)]),_0x15f98c=Math[_0x507cdb(0x255)](_0x53eb93[_0x507cdb(0x31b)](_0x11ab02,_0x15697f)[_0x507cdb(0xfd)]),_0x424903=Math[_0x507cdb(0x224)](_0x44f3b1,_0x15f98c,0x28)+0xc,_0x22759a=_0x1e8bda[_0x507cdb(0x285)]+_0x1ce014[_0x507cdb(0x285)],_0x22738c={},_0x488fba={};for(let _0xdc4886=_0x4f3187;_0xdc4886<_0x4f3187+_0x22759a;_0xdc4886++){const _0x36600d=_0x50c2b7[_0x507cdb(0x102)](_0xdc4886);_0x22738c[_0xdc4886]=_0x36600d,_0xdc4886-_0x4f3187<_0x1ce014[_0x507cdb(0x285)]?_0x488fba[_0xdc4886-_0x4f3187]=_0x424903:_0x488fba[_0xdc4886-_0x4f3187]=_0x3ed44d;}_0x2e5df0[_0x507cdb(0x1a3)]({'id':_0x532405['id'],'params':{'subUnitId':_0x3060f8,'unitId':_0x12271e,'ranges':[{'startColumn':_0x4f3187,'endColumn':_0x4f3187+_0x22759a-0x1,'startRow':0x0,'endRow':_0x50c2b7[_0x507cdb(0x113)]()-0x1}],'colWidth':_0x488fba}}),_0x1e0c00[_0x507cdb(0x1a3)]({'id':_0x532405['id'],'params':{'subUnitId':_0x3060f8,'unitId':_0x12271e,'ranges':[{'startColumn':_0x4f3187,'endColumn':_0x4f3187+_0x22759a-0x1,'startRow':0x0,'endRow':_0x50c2b7['getRowCount']()-0x1}],'colWidth':_0x22738c}});}return{'undos':_0x1e0c00,'redos':_0x2e5df0};}};ut=ks([He(0x0,_0x2fd05e(_0x7abaf8)),He(0x1,_0x2fd05e(_0x5ed9f4)),He(0x2,_0x2fd05e(_0x854c25)),He(0x3,_0x2fd05e(_0x146954)),He(0x4,_0x2fd05e(ve)),He(0x5,_0x2fd05e(ie))],ut);var Ls=Object[_0x1675c1(0xd3)],Gs=(_0x4c36f2,_0xc79a4b,_0x1354bd,_0xc972c6)=>{const _0x4516c1=_0x1675c1;for(var _0x30f022=_0xc972c6>0x1?void 0x0:_0xc972c6?Ls(_0xc79a4b,_0x1354bd):_0xc79a4b,_0x57fda3=_0x4c36f2[_0x4516c1(0xff)]-0x1,_0x519be4;_0x57fda3>=0x0;_0x57fda3--)(_0x519be4=_0x4c36f2[_0x57fda3])&&(_0x30f022=_0x519be4(_0x30f022)||_0x30f022);return _0x30f022;},Ae=(_0x4d0fed,_0x3f0f85)=>(_0x24c00f,_0x18153f)=>_0x3f0f85(_0x24c00f,_0x18153f,_0x4d0fed);let ft=class extends _0x5334b7{constructor(_0x526c63,_0x3296ef,_0x17eb04,_0x153671,_0x45d453,_0x3b0a74,_0x13d2bc){const _0x2e7314=_0x1675c1;super(),U(this,_0x2e7314(0xc6),new _0x2baf83()),(this[_0x2e7314(0x312)]=_0x526c63,this[_0x2e7314(0x226)]=_0x3296ef,this[_0x2e7314(0x25d)]=_0x17eb04,this[_0x2e7314(0x27f)]=_0x153671,this[_0x2e7314(0x2d1)]=_0x45d453,this[_0x2e7314(0x140)]=_0x3b0a74,this['_sheetInterceptorService']=_0x13d2bc,this['_onRefRangeChange']());}[_0x1675c1(0x185)](){const _0x123944=_0x1675c1,_0x11585d=(_0x3a079d,_0x386059)=>{const _0x52b752=_0x2dae,_0x3abee1=this[_0x52b752(0x27f)][_0x52b752(0x20c)](_0x34c5bf[_0x52b752(0x1f3)]);if(!_0x3abee1||!(_0x3abee1==null?void 0x0:_0x3abee1['getSheetBySheetId'](_0x386059)))return;this[_0x52b752(0xc6)][_0x52b752(0x239)]();const _0xe2b283=_0x50cbd4=>this[_0x52b752(0x2fe)](_0x50cbd4,_0x3a079d,_0x386059),_0x5bd13b=this[_0x52b752(0x2d1)][_0x52b752(0x106)](_0x3a079d,_0x386059);if(!(_0x5bd13b!=null&&_0x5bd13b[_0x52b752(0xb5)]))return;Array[_0x52b752(0x2f9)](_0x5bd13b[_0x52b752(0x13a)]())[_0x52b752(0x11d)](_0xc21e38=>{const _0x41efd0=_0x52b752,{row:_0x46e29a,col:_0x21b9dc}=_0xc21e38[_0x41efd0(0xb1)];return _0x34e162(_0x46e29a,_0x21b9dc);})['forEach'](_0xd5cebb=>{const _0x355eaa=_0x52b752;this['disposableCollection'][_0x355eaa(0x1a7)](this['_refRangeService'][_0x355eaa(0x1bd)](_0xd5cebb,_0xe2b283,_0x3a079d,_0x386059));});},_0x8e2a13=()=>{const _0x56cbe5=_0x2dae,_0x1e8863=this[_0x56cbe5(0x27f)][_0x56cbe5(0x20c)](_0x34c5bf[_0x56cbe5(0x1f3)]);if(_0x1e8863){const _0x2a9e48=_0x1e8863[_0x56cbe5(0x145)]();if(!_0x2a9e48)return;_0x11585d(_0x1e8863[_0x56cbe5(0xc2)](),_0x2a9e48['getSheetId']());}};this[_0x123944(0x1ea)](this[_0x123944(0x25d)]['onCommandExecuted'](_0x116123=>{const _0x5d7d43=_0x123944;if(_0x116123['id']===_0x282476['id']){const _0x4fde1f=_0x116123[_0x5d7d43(0xa2)],_0x22c295=_0x4fde1f[_0x5d7d43(0x20b)],_0x153bb4=_0x4fde1f[_0x5d7d43(0x167)];if(!_0x22c295||!_0x153bb4)return;_0x11585d(_0x153bb4,_0x22c295);}})),this[_0x123944(0x1ea)](this[_0x123944(0x2d1)]['pivotInitCompleted$'][_0x123944(0x1b1)](_0x563a79=>{_0x563a79&&_0x8e2a13();})),this[_0x123944(0x1ea)](this[_0x123944(0x2d1)]['pivotConfigChange$'][_0x123944(0x1b1)](_0x268436=>{const _0x571922=_0x2075c9(this['_univerInstanceService']);if(!_0x571922)return;const {unitId:_0x40018c,subUnitId:_0x43d817}=_0x571922,{unitId:_0x4972f4,subUnitId:_0x751219}=_0x268436;_0x40018c!==_0x4972f4||_0x43d817!==_0x751219||_0x11585d(_0x40018c,_0x43d817);})),_0x8e2a13();}[_0x1675c1(0x2fe)](_0x238628,_0x20270f,_0x1cf513){const _0x2e71ae=_0x1675c1;switch(_0x238628['id']){case _0x3fcf7e['id']:return this[_0x2e71ae(0x202)](_0x238628[_0x2e71ae(0xa2)],_0x20270f,_0x1cf513);}return{'redos':[],'undos':[]};}[_0x1675c1(0x202)](_0x685fe4,_0x2e4105,_0x2dd8bc){const _0x5b4aea=_0x1675c1,{fromRange:_0x32c00a,toRange:_0x12c58e}=_0x685fe4,_0x360458=[],_0x485659=[],_0x56ccbf=_0x2075c9(this[_0x5b4aea(0x27f)]);if(!_0x56ccbf)return{'undos':_0x485659,'redos':_0x360458};if(_0x2e4105!==_0x56ccbf[_0x5b4aea(0x167)]||_0x2dd8bc!==_0x56ccbf['subUnitId'])return{'undos':_0x485659,'redos':_0x360458};const _0x31fce0=this[_0x5b4aea(0x2d1)]['getSubUnitPivotConfigs'](_0x2e4105,_0x2dd8bc);if(_0x31fce0!=null&&_0x31fce0[_0x5b4aea(0xb5)])for(const [_0x13afef,_0x2d4ef8]of _0x31fce0){const {unitId:_0x21936a,subUnitId:_0x459c7d,row:_0x6991cc,col:_0x297482}=_0x2d4ef8[_0x5b4aea(0xb1)];if(_0x21936a===_0x56ccbf[_0x5b4aea(0x167)]&&_0x459c7d===_0x56ccbf[_0x5b4aea(0x20b)]){const _0x59fe81=_0x34e162(_0x6991cc,_0x297482);if(_0x351caf['intersects'](_0x59fe81,_0x32c00a)){const _0x1ddee3=_0x6991cc-_0x32c00a['startRow'],_0x1a4712=_0x297482-_0x32c00a[_0x5b4aea(0x16d)],_0x1f4ead={'row':_0x12c58e[_0x5b4aea(0x21c)]+_0x1ddee3,'col':_0x12c58e[_0x5b4aea(0x16d)]+_0x1a4712};_0x360458[_0x5b4aea(0x1a3)]({'id':pt['id'],'params':{'unitId':_0x21936a,'subUnitId':_0x459c7d,'pivotTableId':_0x13afef,'targetCellPosition':_0x1f4ead}}),_0x485659['push']({'id':pt['id'],'params':{'unitId':_0x21936a,'subUnitId':_0x459c7d,'pivotTableId':_0x13afef,'targetCellPosition':{'row':_0x6991cc,'col':_0x297482}}});const _0xb3455=_0x1f4ead[_0x5b4aea(0xcd)]-_0x6991cc,_0x333008=_0x1f4ead[_0x5b4aea(0x1d6)]-_0x297482,_0x2ef96a=[],_0x46cf86=this[_0x5b4aea(0x140)]['getPivotItemRenderInfoCache'](_0x21936a,_0x459c7d,_0x13afef),_0x3dedc2=_0x46cf86==null?void 0x0:_0x46cf86[_0x5b4aea(0x189)];if(_0x3dedc2){Object[_0x5b4aea(0x121)](_0x3dedc2)[_0x5b4aea(0x2ef)](_0x5c5344=>{_0x3dedc2[_0x5c5344]['forEach'](_0x533ec1=>{const _0x53ba4a=_0x2dae,_0x3efc7e={..._0x533ec1};_0x3efc7e[_0x53ba4a(0x21c)]=_0x533ec1[_0x53ba4a(0x21c)]+_0xb3455,_0x3efc7e[_0x53ba4a(0x138)]=_0x533ec1[_0x53ba4a(0x138)]+_0xb3455,_0x3efc7e[_0x53ba4a(0x16d)]=_0x533ec1['startColumn']+_0x333008,_0x3efc7e[_0x53ba4a(0xa1)]=_0x533ec1[_0x53ba4a(0xa1)]+_0x333008,_0x2ef96a['push'](_0x3efc7e);});});const _0x56a036=this[_0x5b4aea(0x299)][_0x5b4aea(0xb3)]({'unitId':_0x21936a,'subUnitId':_0x459c7d,'ranges':_0x2ef96a});_0x360458[_0x5b4aea(0x1a3)](..._0x56a036[_0x5b4aea(0x1b3)]),_0x485659['push'](..._0x56a036[_0x5b4aea(0x1e2)]);const _0x17849a=Ko(this[_0x5b4aea(0x312)],_0x21936a,_0x459c7d,_0x2ef96a);_0x17849a[_0x5b4aea(0x2f5)]&&(_0x360458['push'](_0x17849a[_0x5b4aea(0x241)]),_0x485659['push'](_0x17849a[_0x5b4aea(0x251)]));}}}}return{'redos':_0x360458,'undos':_0x485659};}};ft=Gs([Ae(0x0,_0x2fd05e(_0x854c25)),Ae(0x1,_0x2fd05e(_0x47dc83)),Ae(0x2,_0x3408cd),Ae(0x3,_0x146954),Ae(0x4,_0x2fd05e(ve)),Ae(0x5,_0x2fd05e(Ne)),Ae(0x6,_0x2fd05e(_0x5ed9f4))],ft);var $s=Object['getOwnPropertyDescriptor'],zs=(_0x1b876e,_0x2c3c5a,_0x5949f8,_0x399cf0)=>{const _0x33928a=_0x1675c1;for(var _0x5d466b=_0x399cf0>0x1?void 0x0:_0x399cf0?$s(_0x2c3c5a,_0x5949f8):_0x2c3c5a,_0xc9aef6=_0x1b876e[_0x33928a(0xff)]-0x1,_0x161e0e;_0xc9aef6>=0x0;_0xc9aef6--)(_0x161e0e=_0x1b876e[_0xc9aef6])&&(_0x5d466b=_0x161e0e(_0x5d466b)||_0x5d466b);return _0x5d466b;},_o=(_0x34ab09,_0x1f8ed8)=>(_0x5f4f57,_0x515485)=>_0x1f8ed8(_0x5f4f57,_0x515485,_0x34ab09);let gt=class extends _0x5334b7{constructor(_0x4db1d5,_0x20804a){const _0x15f71e=_0x1675c1;super(),this[_0x15f71e(0x299)]=_0x4db1d5,this[_0x15f71e(0x2d1)]=_0x20804a,this['_initRemoveSheetCommandInterceptor']();}[_0x1675c1(0xf3)](){const _0x3c2da5=_0x1675c1;this[_0x3c2da5(0x1ea)](this[_0x3c2da5(0x299)]['interceptCommand']({'getMutations':_0x4bc33e=>{const _0x1ed6d3=_0x3c2da5;if(_0x4bc33e['id']===_0x52bec3['id']){const _0x1b4c62=[],_0x4c53d1=[],_0x4b7d37=_0x4bc33e['params'],{unitId:_0x5d08c8,subUnitId:_0xe7011c}=_0x4b7d37;if(!_0x5d08c8||!_0xe7011c)return{'undos':_0x4c53d1,'redos':_0x1b4c62};const _0x3a65bc=this[_0x1ed6d3(0x2d1)][_0x1ed6d3(0x106)](_0x5d08c8,_0xe7011c);if(_0x3a65bc!=null&&_0x3a65bc[_0x1ed6d3(0xb5)])for(const [_0x59bd8c,_0x3c28a1]of _0x3a65bc){_0x1b4c62[_0x1ed6d3(0x1a3)]({'id':Ot['id'],'params':{'unitId':_0x5d08c8,'subUnitId':_0xe7011c,'pivotTableId':_0x59bd8c}});const _0x2b2129={...this[_0x1ed6d3(0x2d1)][_0x1ed6d3(0x28b)](_0x5d08c8,_0x59bd8c)};_0x4c53d1['push']({'id':Ct['id'],'params':{'unitId':_0x5d08c8,'subUnitId':_0xe7011c,'pivotTableId':_0x59bd8c,'pivotTableConfig':_0x3c28a1,'collectionConfig':_0x2b2129}});}return{'redos':_0x1b4c62,'undos':_0x4c53d1};}return{'redos':[],'undos':[]};}}));}};gt=zs([_o(0x0,_0x2fd05e(_0x5ed9f4)),_o(0x1,_0x2fd05e(ve))],gt);function _0x2dae(_0x4482cb,_0x25dc37){const _0x57f5bf=_0x57f5();return _0x2dae=function(_0x2dae7f,_0x4a0351){_0x2dae7f=_0x2dae7f-0x9b;let _0x497d89=_0x57f5bf[_0x2dae7f];return _0x497d89;},_0x2dae(_0x4482cb,_0x25dc37);}var Js=Object['getOwnPropertyDescriptor'],js=(_0x375fe9,_0x26209c,_0x526677,_0x93ed1a)=>{const _0x4b45fa=_0x1675c1;for(var _0x234f11=_0x93ed1a>0x1?void 0x0:_0x93ed1a?Js(_0x26209c,_0x526677):_0x26209c,_0x4f386b=_0x375fe9[_0x4b45fa(0xff)]-0x1,_0x2db1bf;_0x4f386b>=0x0;_0x4f386b--)(_0x2db1bf=_0x375fe9[_0x4f386b])&&(_0x234f11=_0x2db1bf(_0x234f11)||_0x234f11);return _0x234f11;},qe=(_0x12145b,_0xa7273d)=>(_0xd8e21c,_0x519e37)=>_0xa7273d(_0xd8e21c,_0x519e37,_0x12145b);let ht=class extends _0x5334b7{constructor(_0x2c19e3,_0x599e00,_0x13068a,_0x56d18c,_0x4f9963,_0x1f29e8){const _0x2d1a8d=_0x1675c1;super(),this[_0x2d1a8d(0x25d)]=_0x2c19e3,this['_sheetsPivotRpcService']=_0x599e00,this['_sheetsPivotTableAdaptorModel']=_0x13068a,this['_sheetsPivotTableConfigModel']=_0x56d18c,this['_univerInstanceService']=_0x4f9963,this[_0x2d1a8d(0xb0)]=_0x1f29e8,this['_initDataSendListener'](),this[_0x2d1a8d(0x1ee)]();}[_0x1675c1(0xd6)](){const _0xf21b5b=_0x1675c1;this[_0xf21b5b(0x1ea)](this[_0xf21b5b(0x25d)][_0xf21b5b(0x170)](_0x1097f1=>{const _0x22b840=_0xf21b5b;if(_0x1097f1['id']!==lo['id'])return;const _0x2140ea=_0x1097f1[_0x22b840(0xa2)];this['_sheetsPivotRpcService'][_0x22b840(0x2a9)](_0x2140ea);})),this[_0xf21b5b(0x1ea)](this[_0xf21b5b(0x25d)]['onCommandExecuted'](_0x26d565=>{const _0x3fb7cf=_0xf21b5b;if(_0x26d565['id']===co['id']){const _0x114854=_0x26d565[_0x3fb7cf(0xa2)];if(_0x114854){const {unitId:_0x409b9d,subUnitId:_0x11b79b,oldSubUnitId:_0x183525,pivotTableId:_0x11228c,pivotTableConfig:_0x392714,collectionConfig:_0x3bfae6}=_0x114854;this['_sheetsPivotTableConfigModel'][_0x3fb7cf(0x283)](_0x409b9d,_0x183525,_0x114854[_0x3fb7cf(0x2fb)],null),this[_0x3fb7cf(0x2d1)][_0x3fb7cf(0x283)](_0x409b9d,_0x11b79b,_0x11228c,_0x392714),this[_0x3fb7cf(0x2d1)]['updateCollectionConfig'](_0x409b9d,_0x3bfae6);}}})),this[_0xf21b5b(0x1ea)](this['_commandService'][_0xf21b5b(0x170)](_0x4b04fc=>{const _0x416c20=_0xf21b5b;if(_0x4b04fc['id']!==Rt['id'])return;const _0x155909=_0x2075c9(this[_0x416c20(0x27f)]);if(!_0x155909)return;const {unitId:_0x2be282,subUnitId:_0x26fc48}=_0x155909,_0x1ecbf8=_0x4b04fc[_0x416c20(0xa2)];if(_0x1ecbf8[_0x416c20(0x158)]&&Object[_0x416c20(0x121)](_0x1ecbf8[_0x416c20(0x158)])[_0x416c20(0x2ef)](_0x2d334d=>{const _0x26ef76=_0x416c20;var _0x499b3e;(_0x499b3e=_0x1ecbf8['collectionConfig'])!=null&&_0x499b3e[_0x2d334d]&&this['_sheetsPivotTableConfigModel'][_0x26ef76(0x314)](_0x2d334d,_0x1ecbf8[_0x26ef76(0x158)][_0x2d334d]);}),_0x1ecbf8[_0x416c20(0xcc)]){const _0x1db46f=_0x1ecbf8[_0x416c20(0xcc)],{unitId:_0x3e7445,subUnitId:_0x1fe25f,view:_0x111335,pivotTableId:_0x36a636,type:_0x233a4b,pivotConfig:_0x62fc8b}=_0x1db46f;if(_0x233a4b===L['Delete'])this[_0x416c20(0x140)][_0x416c20(0xbf)]({'unitId':_0x3e7445,'subUnitId':_0x1fe25f,'pivotTableId':_0x36a636,'type':_0x233a4b}),this[_0x416c20(0x2d1)][_0x416c20(0x283)](_0x3e7445,_0x1fe25f,_0x36a636,null);else{const _0x53f5f3=new _0x14d91f();_0x53f5f3[_0x416c20(0xc1)](_0x111335),this[_0x416c20(0x2d1)][_0x416c20(0x283)](_0x3e7445,_0x1fe25f,_0x36a636,_0x62fc8b),this[_0x416c20(0x140)][_0x416c20(0xbf)]({'unitId':_0x3e7445,'subUnitId':_0x1fe25f,'pivotTableId':_0x36a636,'type':_0x233a4b,'view':_0x53f5f3}),this['_sheetsPivotTableAdaptorModel']['updateRenderCache']({'unitId':_0x3e7445,'subUnitId':_0x1fe25f,'view':_0x53f5f3,'pivotTableId':_0x36a636,'type':_0x233a4b});}}else _0x1ecbf8[_0x416c20(0x20f)]&&(_0x1ecbf8[_0x416c20(0x20f)][_0x416c20(0x2ef)](_0x2ef62e=>{const _0xce6bae=_0x416c20,{unitId:_0x41a675,subUnitId:_0x5190c7,view:_0x4bbe89,pivotTableId:_0x420445,type:_0x4d3279,pivotConfig:_0x528644}=_0x2ef62e,_0xcd2374=new _0x14d91f();_0xcd2374[_0xce6bae(0xc1)](_0x4bbe89),this[_0xce6bae(0x2d1)]['updateConfigCache'](_0x41a675,_0x5190c7,_0x420445,_0x528644),this[_0xce6bae(0x140)][_0xce6bae(0x25e)]({'unitId':_0x41a675,'subUnitId':_0x5190c7,'view':_0xcd2374,'pivotTableId':_0x420445,'type':_0x4d3279});}),this[_0x416c20(0x2d1)][_0x416c20(0x24f)]());this[_0x416c20(0x140)][_0x416c20(0x2d5)](_0x2be282,_0x26fc48);}));}[_0x1675c1(0x1ee)](){const _0x21124e=_0x1675c1;this[_0x21124e(0xb0)][_0x21124e(0x19d)](Et['id'],{'commandId':Et['id'],'getDirtyData'(_0x5d32b3){const _0x540d6f=_0x21124e;return{'dirtyUnitFeatureMap':_0x5d32b3[_0x540d6f(0xa2)]};}});}};ht=js([qe(0x0,_0x2fd05e(_0x3408cd)),qe(0x1,_0x2fd05e(Z)),qe(0x2,_0x2fd05e(Ne)),qe(0x3,_0x2fd05e(ve)),qe(0x4,_0x2fd05e(_0x146954)),qe(0x5,_0x315a9b)],ht);var Ks=Object['defineProperty'],Hs=Object['getOwnPropertyDescriptor'],qs=(_0x333784,_0x5acac2,_0x3213c9)=>_0x5acac2 in _0x333784?Ks(_0x333784,_0x5acac2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3213c9}):_0x333784[_0x5acac2]=_0x3213c9,Ys=(_0x86bf8b,_0x4e4757,_0x5544ba,_0x2514cb)=>{for(var _0x91429a=_0x2514cb>0x1?void 0x0:_0x2514cb?Hs(_0x4e4757,_0x5544ba):_0x4e4757,_0x581dc3=_0x86bf8b['length']-0x1,_0x3f8183;_0x581dc3>=0x0;_0x581dc3--)(_0x3f8183=_0x86bf8b[_0x581dc3])&&(_0x91429a=_0x3f8183(_0x91429a)||_0x91429a);return _0x91429a;},Ft=(_0x5b6c02,_0xc67d3b)=>(_0x231a09,_0x5ada2b)=>_0xc67d3b(_0x231a09,_0x5ada2b,_0x5b6c02),Xo=(_0x21924f,_0x59fcdb,_0x3b9188)=>qs(_0x21924f,typeof _0x59fcdb!=_0x1675c1(0x1bf)?_0x59fcdb+'':_0x59fcdb,_0x3b9188);let Ut=class extends _0x34ad3a{constructor(_0x51cfe6=Mo,_0x24ae4d,_0x5113b5,_0x48449a,_0x461e6b){const _0x2cbd7f=_0x1675c1;super(),this[_0x2cbd7f(0x215)]=_0x51cfe6,this[_0x2cbd7f(0x312)]=_0x24ae4d,this[_0x2cbd7f(0x25d)]=_0x5113b5,this[_0x2cbd7f(0x17a)]=_0x48449a,this[_0x2cbd7f(0xe1)]=_0x461e6b;const {..._0x54d196}=_0x15d8c5({},Mo,this['_config']);this[_0x2cbd7f(0x17a)][_0x2cbd7f(0x1b7)](qo,_0x54d196),this[_0x2cbd7f(0xee)](),this['_initConfig']();}[_0x1675c1(0x18d)](){const _0x1b2ddc=_0x1675c1;var _0x433005;const _0x3c5623=(_0x433005=this['_config'])==null?void 0x0:_0x433005[_0x1b2ddc(0x250)];this[_0x1b2ddc(0x17a)][_0x1b2ddc(0x1b7)](H,_0x3c5623===!0x0);}[_0x1675c1(0x1b0)](){const _0x279fd7=_0x1675c1;var _0x3094e4;let _0x26564d=[];const _0x1b9d25=(_0x3094e4=this[_0x279fd7(0x215)])==null?void 0x0:_0x3094e4[_0x279fd7(0x250)];_0x1b9d25===!0x0?_0x26564d=[[ie],[Z],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]:_0x1b9d25===!0x1?_0x26564d=[[G],[ct]]:_0x1b9d25===void 0x0&&(_0x26564d=[[G],[ct],[ie],[Z],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]),_0x26564d[_0x279fd7(0x2ef)](_0x1704fb=>this['_injector'][_0x279fd7(0x1a7)](_0x1704fb)),[ct,ht,ie,dt,gt,ft,ut][_0x279fd7(0x2ef)](_0x983f6c=>{const _0x1b373e=_0x279fd7;this['_injector'][_0x1b373e(0x1b4)](_0x983f6c)&&this[_0x1b373e(0x312)][_0x1b373e(0x2e9)](_0x983f6c);});}[_0x1675c1(0xee)](){const _0x1e584f=_0x1675c1;[vs,ps,hs,ms,Cs,ys,Rs,bs,Ps,Ss,Ts,Ms,ws,Is,Ct,oo,Ot,Gt,Yo,Qo,Kt,$t,zt,Jt,qt,Ht,pt,ro,lo,Rt,Xt,eo,Yt,jt,uo,to,Zt,Et,co,_s,Qt,Fs,Ds][_0x1e584f(0x2ef)](_0x249532=>{const _0x24d78f=_0x1e584f;var _0x2b4b98;(_0x2b4b98=this[_0x24d78f(0xe1)])==null||_0x2b4b98['registerSyncingMutations'](_0x249532),this['_commandService'][_0x24d78f(0x1de)](_0x249532);});}};Xo(Ut,'pluginName',ao),Xo(Ut,_0x1675c1(0x168),_0x34c5bf[_0x1675c1(0x1f3)]),Ut=Ys([_0xbd176b(_0x5aca44),Ft(0x1,_0x2fd05e(_0x854c25)),Ft(0x2,_0x2fd05e(_0x3408cd)),Ft(0x3,_0xe8dcbb),Ft(0x4,_0x23ca4f(_0x1f987d))],Ut);export{hs as AddPivotFieldCommand,Gt as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,vs as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,ws as MovePivotTableCommand,A as PivotDisplayDataType,Is as PivotDrillDownCommand,L as PivotTableOperationEnum,Et as PivotTableViewDirtyMarkOperation,Wo as PositionType,Cs as RemovePivotFieldCommand,$t as RemovePivotFieldMutation,Ot as RemovePivotTableMutation,zt as RenamePivotFieldMutation,Ds as ResetPivotFieldsConfigCommand,qo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,Jt as SetPivotCollapseMutation,jt as SetPivotFieldFormatMutation,Fs as SetPivotFieldsConfigCommand,Ss as SetPivotFilterCommand,Kt as SetPivotFilterMutation,Ht as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ps as SetPivotSortCommand,qt as SetPivotSortMutation,Yt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,G as SheetsPivotDataSourceModel,Z as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Ut as UniverSheetsPivotTablePlugin,Rs as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Ts as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,Ms as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,ys as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,jo as canUsePivot,fe as defaultThemeStyle,Ko as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Ai as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Oi as getPivotCellInfo,go as getPivotInfoByLicense,xi as getPivotTableInfo,vt as transFromCellValue,Lt as unionPivotViewRange};
|
|
1
|
+
const _0x1d896e=_0x1e98;(function(_0xea2f26,_0x4df26b){const _0x2d8fc0=_0x1e98,_0x10f23f=_0xea2f26();while(!![]){try{const _0x1cee5d=-parseInt(_0x2d8fc0(0x272))/0x1+-parseInt(_0x2d8fc0(0x326))/0x2+parseInt(_0x2d8fc0(0x432))/0x3*(-parseInt(_0x2d8fc0(0x2d7))/0x4)+parseInt(_0x2d8fc0(0x2f1))/0x5*(parseInt(_0x2d8fc0(0x217))/0x6)+-parseInt(_0x2d8fc0(0x260))/0x7+parseInt(_0x2d8fc0(0x2c4))/0x8*(parseInt(_0x2d8fc0(0x361))/0x9)+parseInt(_0x2d8fc0(0x21b))/0xa;if(_0x1cee5d===_0x4df26b)break;else _0x10f23f['push'](_0x10f23f['shift']());}catch(_0x1a6e75){_0x10f23f['push'](_0x10f23f['shift']());}}}(_0x46d5,0xe56cf));var an=Object['defineProperty'],rn=(_0x48ae4a,_0x95b997,_0x209b03)=>_0x95b997 in _0x48ae4a?an(_0x48ae4a,_0x95b997,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x209b03}):_0x48ae4a[_0x95b997]=_0x209b03,V=(_0x330a79,_0x35e1f4,_0x45fd76)=>rn(_0x330a79,typeof _0x35e1f4!=_0x1d896e(0x3b6)?_0x35e1f4+'':_0x35e1f4,_0x45fd76);import{PivotCellStyleTypeEnum as _0x2e5b41,PivotViewCellValueTypeEnum as _0xb847fe,isPrefixValue as _0x4c6fc5,isErrorValue as _0x291aad,PivotErrorTypeEnum as _0xd4c3c8,PivotDateGroupFieldDateTypeEnum as _0x3af201,DataFieldManager as _0x4113d9,FieldsCollection as _0x4d8a85,isDateValue as _0x384768,DataField as _0x5e678c,generateHexNumber as _0x4801c0,isBaseGroupField as _0x261c7a,PivotTable as _0x4a8226,PivotSubtotalTypeEnum as _0xdf4113,PivotTableFiledAreaEnum as _0x26bc09,excelDateToUnixMilliseconds as _0x369e12,createValueField as _0xa28297,createLabelField as _0x84f37e,PivotTableChangeTypeEnum as _0x382b5e,BaseGroupField as _0x559bfd,PivotView as _0x5457d9,isDateGroupFieldJSON as _0x5cf8b8,PivotCallbackEnum as _0x39c2c8,PivotFilterTypeEnum as _0x39bec4,getAutoDisplayName as _0x15c5c9,PivotDataFieldDataTypeEnum as _0x1643ae,PivotTableValuePositionEnum as _0x134d31,isDateGroupField as _0x42652c,DateGroupField as _0x4eb010}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x17c069,ObjectMatrix as _0x2d38e2,IUniverInstanceService as _0x1ca4cb,UniverInstanceType as _0x2fbb89,CellValueType as _0x4392b0,numfmt as _0xfe40a2,LocaleService as _0x3cd624,createAsyncInterceptorKey as _0x261aac,createInterceptorKey as _0x5b9707,CommandType as _0x16f1f0,RANGE_TYPE as _0x38b917,numberToABC as _0x4a829f,Inject as _0xefbfb7,Injector as _0x5a5cda,LifecycleService as _0x581eb5,IConfigService as _0x40c50c,ICommandService as _0x136a21,IResourceManagerService as _0x1d2dc8,Disposable as _0x215859,Rectangle as _0x27a2e6,Tools as _0x4e7c2a,AsyncInterceptorManager as _0x2b570f,InterceptorManager as _0xac56f1,InterceptorEffectEnum as _0x4ef8a5,CustomCommandExecutionError as _0xdc987d,IUndoRedoService as _0x5c455a,sequenceExecute as _0x124ed7,mergeWorksheetSnapshotWithDefault as _0x2fd2fa,generateRandomId as _0x312cad,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x5152a1,DEFAULT_WORKSHEET_ROW_COUNT as _0xfe32a0,DisposableCollection as _0x203551,Range as _0x287707,DependentOn as _0x22b0c2,Optional as _0x457838,Plugin as _0x212962,merge as _0x1db067}from'@univerjs/core';import{ErrorType as _0x28eabe,serializeRangeWithSpreadsheet as _0x33a96a,IFeatureCalculationManagerService as _0x9e27a4,GlobalComputingStatusService as _0x4bcd6c,IActiveDirtyManagerService as _0x51c817}from'@univerjs/engine-formula';import{generateNullCell as _0x18a8ce,SetRangeValuesUndoMutationFactory as _0x5715e4,SetRangeValuesMutation as _0x33e469,getSheetCommandTarget as _0x2420d3,InsertRowMutation as _0x454c7a,RemoveRowMutation as _0x432403,InsertColMutation as _0xe73d41,RemoveColMutation as _0x2d1e86,IExclusiveRangeService as _0x49b460,SheetInterceptorService as _0x5b5095,INTERCEPTOR_POINT as _0x36f82b,InsertSheetCommand as _0x5b618b,InsertSheetUndoMutationFactory as _0x55ae89,RemoveSheetMutation as _0x16661b,InsertSheetMutation as _0x4d6bae,MoveRangeMutation as _0x4883bd,SheetsSelectionsService as _0x38cacb,ClearSelectionContentCommand as _0x233047,ClearSelectionAllCommand as _0x1cc0c9,SetWorksheetColWidthMutation as _0x1dd473,RefRangeService as _0x513ccd,SetWorksheetActiveOperation as _0x9a17c9,MoveRangeCommand as _0x28e541,RemoveSheetCommand as _0x154183}from'@univerjs/sheets';import{Subject as _0x56207d,BehaviorSubject as _0x16b39e}from'rxjs';import{LS_CONFIG_KEY as _0x276871,unshiftString as _0x3d74bc,isFeatureAuthorizedWithinTime as _0x4a38d2,getSheetFeatureLimit as _0x16d0c7,ReleaseType as _0x3fc155,UniverLicensePlugin as _0x30b44b}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x514277,RemoveSheetsFilterMutation as _0x4d0912}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x4a465c}from'@univerjs/rpc';import{getFontStyleString as _0x36737d,FontCache as _0x2c9859}from'@univerjs/engine-render';const ko=Number[_0x1d896e(0x415)](0x683f1e11),li=0x10,so=0x1,ao=_0x1d896e(0x43a),mt=0x1,ci=_0x1d896e(0x398),di=_0x1d896e(0x26a),wt=_0x1d896e(0x3a2),ui=_0x1d896e(0x3b7),fi=_0x1d896e(0x3b7),gi=_0x1d896e(0x250),hi='#1d32e9',vi=_0x1d896e(0x3e3),pi='#e6ebfa',Ii=_0x1d896e(0x333),mi=_0x1d896e(0x3e3),Ci=_0x1d896e(0x37b),bi=0xe,Si=0x6;var Lo=(_0x3f7317=>(_0x3f7317[_0x1d896e(0x3d8)]=_0x1d896e(0x375),_0x3f7317['New']='new',_0x3f7317))(Lo||{});const Bo={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Ti=0x1e,We={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ci},'bd':We,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':Ii},'bd':null,'cl':{'rgb':mi},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':We,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':We,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':We,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':We,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':hi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':We,'vt':0x2}};function Pi(_0x450fb0,_0x504571,_0x1fa92e){const _0x5a3de9=_0x1d896e,_0x365b14=_0x450fb0[_0x5a3de9(0x283)](_0x3cd624),_0x1bbd0d=_0x1fa92e[_0x5a3de9(0x37e)]('_');switch(_0x504571){case _0x3af201[_0x5a3de9(0x1ee)]:return _0x365b14['t'](_0x5a3de9(0x3ad),..._0x1bbd0d);case _0x3af201[_0x5a3de9(0x36d)]:return _0x365b14['t'](_0x5a3de9(0x40e),..._0x1bbd0d);case _0x3af201[_0x5a3de9(0x453)]:return _0x365b14['t'](_0x5a3de9(0x3cd),..._0x1bbd0d);case _0x3af201[_0x5a3de9(0x1fc)]:return _0x365b14['t'](_0x5a3de9(0x24e),..._0x1bbd0d);case _0x3af201['Date']:return _0x365b14['t'](_0x5a3de9(0x2a1),..._0x1bbd0d);case _0x3af201[_0x5a3de9(0x218)]:return _0x365b14['t'](_0x5a3de9(0x27c),..._0x1bbd0d);case _0x3af201[_0x5a3de9(0x3eb)]:return _0x365b14['t'](_0x5a3de9(0x2a7),..._0x1bbd0d);case _0x3af201[_0x5a3de9(0x266)]:return _0x365b14['t'](_0x5a3de9(0x249),..._0x1bbd0d);case _0x3af201['YearMonthDate']:return _0x365b14['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0x1bbd0d);case _0x3af201[_0x5a3de9(0x44a)]:return _0x365b14['t'](_0x5a3de9(0x2b5),..._0x1bbd0d);}return'';}const it=(_0x3f5a95,_0x589e6e,_0x4b7b81,_0x70e70c)=>{const _0x1b2df4=_0x1d896e;let _0x1201ae;const _0x4244b9=_0x3f5a95[_0x1b2df4(0x283)](_0x1ca4cb)[_0x1b2df4(0x2e2)](_0x2fbb89[_0x1b2df4(0x3b8)]);if(!_0x4244b9)return null;const _0x30befc=_0x4244b9[_0x1b2df4(0x280)]();let _0x1c6211;if(_0x4b7b81&&(_0x1c6211=_0x30befc[_0x1b2df4(0x3aa)](_0x4b7b81)),_0x589e6e!=null&&_0x589e6e['v']||(_0x589e6e==null?void 0x0:_0x589e6e['v'])===0x0){_0x1201ae||(_0x1201ae={});const _0x345263=Ko(_0x589e6e['v']);typeof _0x345263==_0x1b2df4(0x1d7)?_0x1201ae['t']=_0x4392b0[_0x1b2df4(0x36e)]:typeof _0x345263==_0x1b2df4(0x1e5)&&(_0x1201ae['t']=_0x4392b0[_0x1b2df4(0x3f4)]),_0x1201ae['v']=_0x345263;}if((_0x589e6e!=null&&_0x589e6e['i']||(_0x589e6e==null?void 0x0:_0x589e6e['i'])===0x0)&&(_0x1201ae||(_0x1201ae={}),_0x1201ae['fi']=_0x589e6e['i']),_0x589e6e!=null&&_0x589e6e['s']&&(_0x1201ae||(_0x1201ae={}),_0x1201ae[_0x1b2df4(0x24c)]=_0x589e6e['s']),_0x4b7b81&&(_0x1201ae||(_0x1201ae={}),_0x1201ae['s']=_0x1c6211),_0x70e70c&&_0x1201ae!=null&&_0x1201ae['v']&&_0x1201ae[_0x1b2df4(0x24c)]!==_0x2e5b41[_0x1b2df4(0x390)]&&_0x1201ae[_0x1b2df4(0x24c)]!==_0x2e5b41[_0x1b2df4(0x434)]){const _0x566f9c=String(_0x1201ae['v']),{dateType:_0x53f610}=_0x70e70c;_0x1201ae['v']=Pi(_0x3f5a95,_0x53f610,_0x566f9c),_0x1201ae['t']=_0x4392b0['STRING'];}return _0x1201ae;},yi=(_0xe6a764,_0x5f4168,_0x4368e7,_0x21c2b3)=>{const _0x433782=_0x1d896e;var _0x85bc56,_0x7ab639,_0x5b7223,_0x38899b,_0x11ed56,_0x8de56,_0x1f7a28,_0x77f025,_0x35a26e,_0xd43e57,_0x1f816e,_0x369ce3,_0x33acb9,_0x5b5609;const _0x3d83bd=_0x4368e7[_0x433782(0x1e4)],{cornerView:_0x28405d,rowView:_0x28e12f,colView:_0x56d9e2,dataView:_0x1a6bf6,pageView:_0x30506c,formatMap:_0x4d07da,groupInfo:_0x5b769d}=_0x5f4168,{row:_0x3b6b60,col:_0x87c180}=_0x3d83bd,_0x544c9d=new _0x2d38e2(),_0x1b0229={},_0x5aae55={},_0x2e0319={},_0x3ec084={},_0x11b453={};let _0x260a2c=_0x3b6b60,_0x5ad61b=_0x87c180;Object[_0x433782(0x2c7)](_0x30506c['data'])[_0x433782(0x412)](_0x57842d=>{const _0x263702=_0x433782;Object[_0x263702(0x2c7)](_0x30506c[_0x263702(0x382)][Number(_0x57842d)])[_0x263702(0x412)](_0x20bd1c=>{const _0x177343=_0x263702,_0x35ca24={..._0x30506c['data'][Number(_0x57842d)][Number(_0x20bd1c)]};_0x544c9d[_0x177343(0x3aa)](Number(_0x57842d)+_0x260a2c,Number(_0x20bd1c)+_0x5ad61b,it(_0xe6a764,_0x35ca24,fe[_0x177343(0x336)]));});});const _0x44b84d=Object[_0x433782(0x2c7)](_0x30506c[_0x433782(0x382)])[_0x433782(0x40c)];_0x260a2c+=_0x44b84d+(_0x44b84d?mt:0x0);const _0x641d8c=_0x28405d['getRowCount'](),_0x10f7a3=_0x28405d[_0x433782(0x3c5)]();for(let _0x1d0d9d=0x0;_0x1d0d9d<_0x641d8c;_0x1d0d9d++)for(let _0x1b7e2=0x0;_0x1b7e2<_0x10f7a3;_0x1b7e2++){const _0x57de85={...(_0x7ab639=(_0x85bc56=_0x28405d[_0x433782(0x382)])==null?void 0x0:_0x85bc56[_0x1d0d9d])==null?void 0x0:_0x7ab639[_0x1b7e2]};_0x57de85&&((_0x5b7223=_0x28e12f[_0x433782(0x1d9)][_0x1b7e2])!=null&&_0x5b7223['isValue'])&&_0x1b7e2===_0x10f7a3-0x1&&_0x1d0d9d===_0x641d8c-0x1&&(_0x57de85['v']=''+_0x21c2b3[_0x433782(0x22e)]),_0x544c9d[_0x433782(0x3aa)](_0x1d0d9d+_0x260a2c,_0x1b7e2+_0x5ad61b,it(_0xe6a764,_0x57de85,fe[_0x433782(0x35f)]));}for(let _0x39f11e=0x0;_0x39f11e<_0x28405d[_0x433782(0x3bc)][_0x433782(0x40c)];_0x39f11e++)_0x28405d[_0x433782(0x3bc)][_0x39f11e]&&(_0x2e0319[''+(_0x39f11e+_0x5ad61b)]=_0x28405d[_0x433782(0x3bc)][_0x39f11e]);_0x5ad61b+=_0x10f7a3;const _0x418f12=_0x56d9e2[_0x433782(0x1d9)],_0x4ab616=_0x56d9e2[_0x433782(0x289)]()>=0x0?_0x56d9e2['getLastRow']()+0x1:0x0,_0x26c897=_0x56d9e2[_0x433782(0x282)]()>=0x0?_0x56d9e2['getLastCol']()+0x1:0x0;for(let _0x885bdd=0x0;_0x885bdd<_0x26c897;_0x885bdd++){for(let _0xd3443=0x0;_0xd3443<_0x4ab616;_0xd3443++){const _0x1eb691={...(_0x11ed56=(_0x38899b=_0x56d9e2[_0x433782(0x382)])==null?void 0x0:_0x38899b[_0xd3443])==null?void 0x0:_0x11ed56[_0x885bdd]},_0x198041=(_0x8de56=_0x418f12[_0xd3443])==null?void 0x0:_0x8de56[_0x433782(0x422)],_0x46f708=_0x4d07da[_0x198041],_0x5d92ed=_0x5b769d[_0x198041];_0x1eb691&&(_0x1eb691['v']=vt(_0x1eb691,_0xd3443===0x0&&((_0x1f7a28=_0x56d9e2['getHeaderMapItem'](_0x885bdd+0x1))==null?void 0x0:_0x1f7a28[_0x433782(0x2c3)]),_0x46f708,_0x21c2b3));let _0x2b8262;_0x46f708?_0x2b8262={...fe[_0x433782(0x367)],'n':{'pattern':_0x46f708}}:_0x2b8262={...fe['colStyle']},_0x544c9d[_0x433782(0x3aa)](_0xd3443+_0x260a2c,_0x885bdd+_0x5ad61b,it(_0xe6a764,_0x1eb691,_0x2b8262,_0x5d92ed));}_0x56d9e2[_0x433782(0x3bc)][_0x885bdd]&&(_0x5aae55[''+(_0x885bdd+_0x5ad61b)]=_0x56d9e2[_0x433782(0x3bc)][_0x885bdd]),_0x56d9e2['headerMap'][_0x885bdd+0x1]&&(_0x11b453[''+(_0x885bdd+_0x260a2c+0x1)]=_0x56d9e2[_0x433782(0x1d9)][_0x885bdd+0x1]);}_0x260a2c+=_0x641d8c;const _0x8efbf8=_0x28e12f['headerMap'],_0xc90fcb=_0x28e12f[_0x433782(0x289)]()>=0x0?_0x28e12f[_0x433782(0x289)]()+0x1:0x0,_0x10d904=_0x28e12f['getLastCol']()>=0x0?_0x28e12f[_0x433782(0x282)]()+0x1:0x0;for(let _0x51d8ca=0x0;_0x51d8ca<_0xc90fcb;_0x51d8ca++){for(let _0xc5011c=0x0;_0xc5011c<_0x10d904;_0xc5011c++){const _0x3fe06d={...(_0x35a26e=(_0x77f025=_0x28e12f[_0x433782(0x382)])==null?void 0x0:_0x77f025[_0x51d8ca])==null?void 0x0:_0x35a26e[_0xc5011c]},_0x4cf931=(_0xd43e57=_0x8efbf8[_0xc5011c])==null?void 0x0:_0xd43e57[_0x433782(0x422)],_0xbfb56b=_0x4d07da[_0x4cf931],_0x54d979=_0x5b769d[_0x4cf931];_0x3fe06d&&(_0x3fe06d['v']=vt(_0x3fe06d,!0x1,_0xbfb56b,_0x21c2b3));let _0xce40ba;_0x28e12f[_0x433782(0x3bc)][_0x51d8ca][_0x433782(0x394)]===_0x28e12f[_0x433782(0x3c5)]()?_0xce40ba=fe[_0x433782(0x305)]:_0x28e12f[_0x433782(0x3bc)][_0x51d8ca][_0x433782(0x320)]?_0xce40ba=_0x28e12f[_0x433782(0x3bc)][_0x51d8ca][_0x433782(0x394)]===0x0?fe[_0x433782(0x236)]:fe[_0x433782(0x20b)]:_0xce40ba=fe[_0x433782(0x3b1)],_0xbfb56b&&(_0xce40ba={..._0xce40ba,'n':{'pattern':_0xbfb56b}}),_0x544c9d[_0x433782(0x3aa)](_0x51d8ca+_0x260a2c,_0xc5011c+_0x87c180,it(_0xe6a764,_0x3fe06d,_0xce40ba,_0x54d979));}_0x28e12f[_0x433782(0x3bc)][_0x51d8ca]&&(_0x1b0229[''+(_0x51d8ca+_0x260a2c)]=_0x28e12f[_0x433782(0x3bc)][_0x51d8ca]),_0x28e12f['headerMap'][_0x51d8ca]&&(_0x3ec084[''+(_0x51d8ca+_0x87c180)]=_0x28e12f['headerMap'][_0x51d8ca]);}const _0x253285=_0x1a6bf6[_0x433782(0x221)](),_0x1ef4df=_0x1a6bf6[_0x433782(0x3c5)]();for(let _0x5e10ba=0x0;_0x5e10ba<_0x253285;_0x5e10ba++)for(let _0x1e426b=0x0;_0x1e426b<_0x1ef4df;_0x1e426b++){const _0x3eb34c={...(_0x369ce3=(_0x1f816e=_0x1a6bf6['data'])==null?void 0x0:_0x1f816e[_0x5e10ba])==null?void 0x0:_0x369ce3[_0x1e426b]};let _0x59bf99;_0x28e12f['info'][_0x5e10ba][_0x433782(0x320)]?_0x59bf99=_0x28e12f[_0x433782(0x3bc)][_0x5e10ba][_0x433782(0x394)]===0x0?fe[_0x433782(0x236)]:fe[_0x433782(0x20b)]:_0x59bf99=fe[_0x433782(0x1d6)];const _0xb1541=_0x28e12f[_0x433782(0x3bc)][_0x5e10ba]['valueIndex'],_0x29c5ad=_0x56d9e2[_0x433782(0x3bc)][_0x1e426b]['valueIndex'],_0x43bc97=Math[_0x433782(0x1ec)](_0xb1541,_0x29c5ad),_0x451f24=_0x4368e7['fieldsConfig'][_0x433782(0x28c)][_0x433782(0x3ff)]();let _0x262afb='';_0x43bc97<0x0?_0x262afb=(_0x33acb9=_0x451f24[0x0])!=null?_0x33acb9:'':_0x262afb=(_0x5b5609=_0x451f24[_0x43bc97])!=null?_0x5b5609:'';const _0x52225a=_0x4d07da[_0x262afb];_0x52225a&&(_0x59bf99={..._0x59bf99,'n':{'pattern':_0x52225a}}),_0x544c9d[_0x433782(0x3aa)](_0x5e10ba+_0x260a2c,_0x1e426b+_0x5ad61b,it(_0xe6a764,_0x3eb34c,_0x59bf99));}return{'valueMatrix':_0x544c9d,'rowInfo':_0x1b0229,'colInfo':_0x5aae55,'cornerInfo':_0x2e0319,'rowHeaderMap':_0x3ec084,'colHeaderMap':_0x11b453};};function vt(_0x4404ae,_0x2b5561,_0x3d54a0,_0x517cb6){const _0xe753c=_0x1d896e;let _0x462ccd=_0x4404ae['v'];_0x2b5561&&(_0x462ccd=''+_0x517cb6[_0xe753c(0x22e)]);const _0x4f9f48=_0x4404ae['t']&&(_0x4404ae['t']&_0xb847fe['blank'])>0x0;if(_0x4f9f48&&(_0x462ccd=''+_0x517cb6['sheets-pivot.blank']),_0x4404ae['s']===_0x2e5b41[_0xe753c(0x434)]){let _0x181d04=_0x462ccd,_0x23d5fe='';_0x4c6fc5(_0x462ccd)&&(_0x181d04=_0x462ccd[_0xe753c(0x38f)],_0x23d5fe=_0x462ccd[_0xe753c(0x40a)]);const _0x11d8dc=_0x3d54a0&&!_0x4f9f48?_0xfe40a2['format'](_0x3d54a0,Number(_0x181d04)):_0x181d04;_0x23d5fe?_0x462ccd=_0x11d8dc+'\x20'+_0x23d5fe:_0x462ccd=_0x11d8dc+'\x20'+_0x517cb6['sheets-pivot.subTotal'];}else _0x4404ae['s']===_0x2e5b41[_0xe753c(0x390)]&&(_0x462ccd=_0x462ccd+'\x20'+_0x517cb6[_0xe753c(0x200)]);return _0x462ccd;}function Ko(_0x4f3437){const _0x27a592=_0x1d896e;if(_0x291aad(_0x4f3437)){const {errorType:_0x1022bd}=_0x4f3437;switch(_0x1022bd){case _0xd4c3c8[_0x27a592(0x317)]:return _0x28eabe[_0x27a592(0x39c)];case _0xd4c3c8[_0x27a592(0x419)]:return _0x28eabe['NUM'];case _0xd4c3c8['NotFunction']:return _0x28eabe[_0x27a592(0x1d3)];case _0xd4c3c8[_0x27a592(0x3bf)]:return _0x28eabe[_0x27a592(0x1d3)];case _0xd4c3c8[_0x27a592(0x44b)]:return _0x28eabe[_0x27a592(0x24a)];}}return _0x4f3437;}function ge(_0x415b3f,_0x395b3a,_0x46e922=!0x1,_0x1f1bfc=!0x1){const _0x530a7a=_0x1d896e,{data:_0x31bf29}=_0x395b3a,_0x4409b3=_0x395b3a[_0x530a7a(0x221)](),_0x24c88f=_0x395b3a['getColCount']();if(_0x4409b3<=0x0||_0x24c88f<=0x0)return[];const _0x260240=_0x395b3a[_0x530a7a(0x282)](),_0x3a74e1=_0x395b3a['getLastRow'](),_0x4f3453=_0x1f1bfc?_0x3a74e1>=0x0?_0x3a74e1+0x1:0x0:_0x4409b3,_0x10ab5f=_0x1f1bfc?_0x260240>=0x0?_0x260240+0x1:0x0:_0x24c88f,{row:_0x38a13f,col:_0x2e81a6}=_0x415b3f,_0xdb2c82=_0x38a13f,_0x5ea309=_0x2e81a6;if(_0x46e922){const _0x63178f=[];for(const [_0x5d9296,_0xe3a0ee]of Object['entries'](_0x31bf29))for(const [_0x3ec342,_0x5e6f3e]of Object['entries'](_0xe3a0ee))_0x63178f['push'](_0x17c069(_0xdb2c82+Number(_0x5d9296),_0x5ea309+Number(_0x3ec342)));return _0x63178f;}else{const _0x4ee372=_0x1f1bfc?_0x4f3453>0x0?0x1:0x0:0x1,_0x390458=_0x1f1bfc?_0x10ab5f>0x0?0x1:0x0:0x1,_0x488b49=_0x38a13f+_0x4f3453-_0x4ee372,_0x139acc=_0x2e81a6+_0x10ab5f-_0x390458;return[{'startRow':_0xdb2c82,'startColumn':_0x5ea309,'endRow':_0x488b49,'endColumn':_0x139acc}];}}const q=_0x1d896e(0x3f0),Lt='SHEET_PIVOT_EXCLUSIVE_ID';var k=(_0x3b06e1=>(_0x3b06e1[_0x1d896e(0x344)]='filter',_0x3b06e1[_0x1d896e(0x43b)]=_0x1d896e(0x296),_0x3b06e1[_0x1d896e(0x2ba)]=_0x1d896e(0x29a),_0x3b06e1[_0x1d896e(0x3e0)]=_0x1d896e(0x3e0),_0x3b06e1[_0x1d896e(0x29e)]=_0x1d896e(0x34f),_0x3b06e1[_0x1d896e(0x3d6)]='movePivotField',_0x3b06e1['RemovePivotField']='removePivotField',_0x3b06e1[_0x1d896e(0x3e7)]=_0x1d896e(0x1d5),_0x3b06e1[_0x1d896e(0x38b)]=_0x1d896e(0x220),_0x3b06e1[_0x1d896e(0x1f0)]=_0x1d896e(0x25e),_0x3b06e1[_0x1d896e(0x365)]=_0x1d896e(0x332),_0x3b06e1[_0x1d896e(0x24b)]='updatePivotSource',_0x3b06e1[_0x1d896e(0x314)]=_0x1d896e(0x2a3),_0x3b06e1['DrillDown']=_0x1d896e(0x30e),_0x3b06e1[_0x1d896e(0x321)]=_0x1d896e(0x34c),_0x3b06e1[_0x1d896e(0x2bb)]=_0x1d896e(0x3c6),_0x3b06e1[_0x1d896e(0x2ef)]='resetPivotTable',_0x3b06e1))(k||{});const Mi={'sheets-pivot.blankValue':_0x1d896e(0x1ff),'sheets-pivot.columnName':_0x1d896e(0x459),'sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x1d896e(0x1fb),'sheets-pivot.averageName':_0x1d896e(0x3e8),'sheets-pivot.countName':_0x1d896e(0x293),'sheets-pivot.countNumsName':_0x1d896e(0x293),'sheets-pivot.maxName':_0x1d896e(0x401),'sheets-pivot.minName':_0x1d896e(0x447),'sheets-pivot.productName':_0x1d896e(0x30a),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x1d896e(0x3b2),'sheets-pivot.sumName':_0x1d896e(0x246),'sheets-pivot.varName':_0x1d896e(0x3a3),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x1d896e(0x24f),'sheets-pivot.value':_0x1d896e(0x40a),'sheets-pivot.blank':_0x1d896e(0x374),'sheets-pivot.emptyPivot.filter':_0x1d896e(0x344),'sheets-pivot.emptyPivot.row':_0x1d896e(0x30f),'sheets-pivot.emptyPivot.column':_0x1d896e(0x3f9),'sheets-pivot.emptyPivot.values':_0x1d896e(0x268)},To={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x261aac(_0x1d896e(0x407)),$o=_0x5b9707(_0x1d896e(0x391));var Be=(_0x5b32d4=>(_0x5b32d4[_0x1d896e(0x203)]=_0x1d896e(0x203),_0x5b32d4['delete']='delete',_0x5b32d4[_0x1d896e(0x25f)]=_0x1d896e(0x25f),_0x5b32d4))(Be||{}),K=(_0x36daca=>(_0x36daca[_0x1d896e(0x2de)]=_0x1d896e(0x203),_0x36daca[_0x1d896e(0x368)]='set',_0x36daca[_0x1d896e(0x208)]='delete',_0x36daca))(K||{});const Jo={0x0:'n',0x1:'E',0x2:'h',0x3:'p',0x4:'9',0x5:'T',0x6:'b',0x7:'0',0x8:'N',0x9:'4','V':'1','m':'2','P':'3','w':'5','Q':'6','j':'7','U':'8','S':'a','I':'c','b':'d','i':'e','O':'f','x':'g','l':'i','p':'j','n':'k','v':'l','f':'m','R':'o','N':'q','T':'r','K':'s','h':'t','L':'u','C':'v','H':'w','y':'x','B':'y','g':'z','A':'A','t':'B','X':'C','G':'D','r':'F','d':'G','e':'H','s':'I','z':'J','q':'K','c':'L','o':'M','a':'O','M':'P','u':'Q','W':'R','Z':'S','k':'U','F':'V','J':'W','Y':'X','E':'Y','D':'Z'},Go='OL0IhlR0\x20biITB3hlR0(vlIi0Ki,\x203L6vlIqiB)\x20{\x20\x20\x20\x20hTB\x20{\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20vlIi0Kis0ORMSThATTSB\x20=\x20vlIi0Ki.K3vlh(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20RTlxl0oiKKSxi\x20=\x20zZa8.3STKi(ShR6(vlIi0Kis0ORMSThATTSB[m]));\x20\x20\x20\x20\x20\x20\x20\x20lO\x20(!RTlxl0oiKKSxi.Lb)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RTlxl0oiKKSxi.Lb\x20=\x208Lf6iT(vlIi0Kis0ORMSThATTSB[9]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20lKJRTniT\x20=\x20hB3iRO\x20JRTniTdvR6SvZIR3i\x20!==\x20\x27L0biOl0ib\x27\x20&&\x20KivO\x20l0KhS0IiRO\x20JRTniTdvR6SvZIR3i;\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20IR0hiyh\x20=\x20lKJRTniT\x20?\x20KivO\x20:\x20Hl0bRH;\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20fiKKSxiJRTb\x20=\x20IR0hiyh.__tSKiQ9__.3STKi(vlIi0Kis0ORMSThATTSB[m]);\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20fiKKSxi\x20=\x20IR0hiyh.__eiy__.KhTl0xlOB(fiKKSxiJRTb);\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20Klx0ShLTiJRTb\x20=\x20IR0hiyh.__tSKiQ9__.3STKi(vlIi0Kis0ORMSThATTSB[P]);\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20Klx0ShLTi\x20=\x20IR0hiyh.__eiy__.KhTl0xlOB(Klx0ShLTiJRTb);\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20Klx0FSvlb\x20=\x20IR0hiyh.__CiTlOB__(Klx0ShLTi,\x20fiKKSxi,\x203L6vlIqiB);\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20bRfSl0\x20=\x20RTlxl0oiKKSxi.bf;\x20\x20\x20\x20\x20\x20\x20\x20OL0IhlR0\x20lKGRfSl0oShI2l0x(RMShhiT0,\x20ReRKh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x203ShhiT0\x20=\x20RMShhiT0.Ti3vSIi(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x202RKh\x20=\x20ReRKh.Ti3vSIi(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x203ShhiT0MSThK\x20=\x203ShhiT0.K3vlh(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x202RKhMSThK\x20=\x202RKh.K3vlh(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lO\x20(!3ShhiT0.l0IvLbiK(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TihLT0\x203ShhiT0\x20===\x202RKh;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lO\x20(3ShhiT0MSThK.vi0xh2\x20<\x20m\x20||\x203ShhiT0MSThK[7]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TihLT0\x20OSvKi;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x203ShhiT0ZLOOly\x20=\x203ShhiT0MSThK.KvlIi(V).pRl0(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x202RKhZLOOly\x20=\x202RKhMSThK.KvlIi(-3ShhiT0MSThK.vi0xh2\x20+\x20V).pRl0(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TihLT0\x203ShhiT0ZLOOly\x20===\x202RKhZLOOly;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20vih\x20bRfSl0FSvlb\x20=\x20(bRfSl0\x20&&\x20bRfSl0.vi0xh2)\x20?\x20bRfSl0.KRfi((bfshif)\x20=>\x20lKGRfSl0oShI2l0x(bfshif,\x20vRIShlR0.2RKh0Sfi))\x20:\x20hTLi;\x20\x20\x20\x20\x20\x20\x20\x20lO\x20(vRIShlR0.2RKh0Sfi\x20===\x20\x27vRISv2RKh\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bRfSl0FSvlb\x20=\x20hTLi;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20IR0Kh\x20CSvlb\x20=\x20Klx0FSvlb\x20&&\x20bRfSl0FSvlb;\x20\x20\x20\x20\x20\x20\x20\x20TihLT0\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CSvlb,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fiKKSxi:\x20RTlxl0oiKKSxi,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20IShI2\x20(iTTRT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20TihLT0\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CSvlb:\x20OSvKi,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fiKKSxi:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',ro={'type':_0x16f1f0[_0x1d896e(0x303)],'id':_0x1d896e(0x400),'handler':()=>!0x0},lo={'type':_0x16f1f0[_0x1d896e(0x303)],'id':_0x1d896e(0x240),'handler':()=>!0x0},Dt={'type':_0x16f1f0[_0x1d896e(0x303)],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},co={'type':_0x16f1f0[_0x1d896e(0x303)],'id':_0x1d896e(0x35e),'handler':()=>!0x0},uo={'type':_0x16f1f0[_0x1d896e(0x303)],'id':_0x1d896e(0x1fe),'handler':()=>!0x0},wi=_0x40049b=>{const _0x525945=_0x1d896e;var _0x7c6a7c;return((_0x7c6a7c=_0x40049b[_0x525945(0x287)])==null?void 0x0:_0x7c6a7c[_0x525945(0x301)][_0x525945(0x45d)](/\r\n$/,''))||'';};class _i extends _0x4113d9{constructor(_0x11d1c7,_0x372a45){const _0xbe0976=_0x1d896e;super(),V(this,_0xbe0976(0x3ee),{}),V(this,_0xbe0976(0x1ea)),V(this,_0xbe0976(0x243)),(this[_0xbe0976(0x1ea)]=_0x372a45,this[_0xbe0976(0x243)]=_0x11d1c7);}[_0x1d896e(0x3d3)](){const _0x281727=_0x1d896e;for(const _0x15e0ae in this[_0x281727(0x1e8)]){const _0x18da8e=this[_0x281727(0x1e8)][_0x15e0ae],_0x3fdd45=_0x18da8e[_0x281727(0x404)]();this[_0x281727(0x3ee)][_0x3fdd45]=_0x18da8e['getId']();}}['getAutoDisplayNameFunction'](){const _0x4b10a4=_0x1d896e,_0x1555d4=this[_0x4b10a4(0x243)];return xi[_0x4b10a4(0x21e)](_0x1555d4);}[_0x1d896e(0x452)](_0x367b3c){const _0x441402=_0x1d896e,_0x16010c=this['dataFields'][_0x367b3c][_0x441402(0x45f)];delete this[_0x441402(0x1e8)][_0x367b3c],delete this['rangeKeyMap'][_0x16010c];}[_0x1d896e(0x2e6)](_0x4e1ea9){const _0x4f8a29=_0x1d896e;this[_0x4f8a29(0x1e8)][_0x4e1ea9[_0x4f8a29(0x433)]()]=_0x4e1ea9;}[_0x1d896e(0x1f4)](_0x46515d){const _0x58ba7b=_0x1d896e;var _0x1d139a,_0x49b4f6;const _0x20ce2e=this[_0x58ba7b(0x243)][_0x58ba7b(0x39d)](_0x46515d);if(_0x20ce2e){const {unitId:_0x3f7d42,subUnitId:_0x190df8}=_0x20ce2e,_0x209807=(_0x1d139a=this[_0x58ba7b(0x243)][_0x58ba7b(0x431)](_0x3f7d42,_0x190df8,_0x46515d))==null?void 0x0:_0x1d139a[_0x58ba7b(0x456)];this['_host'][_0x58ba7b(0x1f8)]({'token':_0x46515d,'type':Be[_0x58ba7b(0x423)],'dataRangeInfo':_0x209807});}(_0x49b4f6=this['getCollection'](_0x46515d))==null||_0x49b4f6[_0x58ba7b(0x2e7)](),delete this[_0x58ba7b(0x205)][_0x46515d];}[_0x1d896e(0x404)](_0x43b677,_0x569e99){const {sheetName:_0x457db3,unitId:_0x2371f6,range:_0x307dad}=_0x43b677,{startRow:_0x4b36dd,endRow:_0x28eba6}=_0x307dad;return _0x33a96a(_0x2371f6,_0x457db3,{'startRow':_0x4b36dd,'endRow':_0x28eba6,'startColumn':_0x569e99,'endColumn':_0x569e99});}[_0x1d896e(0x23c)](_0x2d9b36){const _0x157134=_0x1d896e;return this['dataFields'][this[_0x157134(0x3ee)][_0x2d9b36]];}[_0x1d896e(0x2a4)](_0x4eb46c,_0x4707e6){const _0x52af1a=_0x1d896e;this[_0x52af1a(0x3ee)][_0x4eb46c]=_0x4707e6;}[_0x1d896e(0x438)](_0xd00727,_0x202d16){const _0x14ca26=_0x1d896e;this['rangeKeyMap'][_0x202d16]=this[_0x14ca26(0x3ee)][_0xd00727],delete this[_0x14ca26(0x3ee)][_0xd00727];}[_0x1d896e(0x201)](_0x27805a,_0x26d772,_0x52307c,_0x22fe14){const _0x48bd4d=_0x1d896e,_0x45205f=new _0x4d8a85(this);_0x45205f[_0x48bd4d(0x2cf)](_0x26d772);const _0x1a11ac=[];let _0xe6e675=0x0;for(const _0x5c7fc0 of _0x45205f['fieldIds']){const _0x17c2b5=this[_0x48bd4d(0x404)](_0x52307c,_0xe6e675),_0x28c345=this[_0x48bd4d(0x1e8)][_0x5c7fc0];_0x28c345&&(_0x28c345[_0x48bd4d(0x45f)]=_0x17c2b5,this['setRangeKeyMap'](_0x17c2b5,_0x5c7fc0),_0x1a11ac[_0x48bd4d(0x45e)]({'index':_0xe6e675,'dataField':_0x28c345})),_0xe6e675++;}return this[_0x48bd4d(0x3a8)](_0x27805a,_0x45205f,_0x52307c,_0x22fe14),{'collection':_0x45205f,'updateDataFieldList':_0x1a11ac};}[_0x1d896e(0x32c)](_0x21fdd2,_0x1adcf9){const _0x200ed9=_0x1d896e;return _0x21fdd2[_0x200ed9(0x36a)]===_0x38b917[_0x200ed9(0x448)]?{'startRow':0x0,'startColumn':_0x21fdd2[_0x200ed9(0x40f)],'endRow':_0x1adcf9['getRowCount']()-0x1,'endColumn':_0x21fdd2['endColumn']}:{'startRow':_0x21fdd2[_0x200ed9(0x1df)],'startColumn':_0x21fdd2['startColumn'],'endRow':_0x21fdd2['endRow'],'endColumn':_0x21fdd2[_0x200ed9(0x31a)]};}[_0x1d896e(0x3ba)](_0x44ac28){const _0xae805b=_0x1d896e,{sheetName:_0x311a66,range:_0x2841e2}=_0x44ac28,_0x517d10=this[_0xae805b(0x1ea)]['getCurrentUnitForType'](_0x2fbb89[_0xae805b(0x3b8)]),_0x3cc4ed=_0x517d10[_0xae805b(0x20f)](_0x311a66),_0x54b5c6=_0x3cc4ed[_0xae805b(0x353)](),{startColumn:_0x456f42,startRow:_0x47b7ee,endColumn:_0xaf98ec}=this[_0xae805b(0x32c)](_0x2841e2,_0x3cc4ed),_0x4a9d45=_0x517d10[_0xae805b(0x280)](),_0x259a68=new _0x4d8a85(this);_0x259a68[_0xae805b(0x44d)](_0x44ac28);const _0x45bc16=[],_0x3ee5b5={};for(let _0x102841=_0x456f42;_0x102841<=_0xaf98ec;_0x102841++){const _0x36ba72=_0x54b5c6['getValue'](_0x47b7ee,_0x102841),_0x439e4b=this['getRangeKey'](_0x44ac28,_0x102841),_0x335b28=this[_0xae805b(0x23c)](_0x439e4b);if(_0x335b28)_0x259a68[_0xae805b(0x43c)](_0x335b28[_0xae805b(0x433)](),_0x335b28['getName']());else{const _0x175022=this[_0xae805b(0x2b3)]();let _0x16b696=this[_0xae805b(0x35a)](_0x36ba72,_0x4a9d45,_0x3ee5b5);_0x384768(_0x16b696)&&(_0x16b696=_0xfe40a2['format'](_0x16b696['f'],Number(_0x16b696['v'])));const _0x56038a=this['uniqueDataFieldName'](_0x16b696,_0x102841),_0x40268c=new _0x5e678c(_0x175022,_0x56038a,_0x4801c0(0x3));_0x40268c['rangeKey']=_0x439e4b,this[_0xae805b(0x1e8)][_0x175022]=_0x40268c,_0x259a68[_0xae805b(0x43c)](_0x175022,_0x56038a),_0x45bc16[_0xae805b(0x45e)]({'index':_0x102841,'dataField':_0x40268c});}}return{'updateDataFieldList':_0x45bc16,'collection':_0x259a68};}[_0x1d896e(0x24d)](_0xccf598){const _0x5b270e=_0x1d896e;return this[_0x5b270e(0x243)][_0x5b270e(0x25a)]()['sheets-pivot.columnName']+'\x20'+_0x4a829f(_0xccf598);}[_0x1d896e(0x21f)](_0x64eae7,_0x10f88f){const _0x1dfb80=_0x1d896e;return _0x64eae7==null||_0x64eae7===''?this[_0x1dfb80(0x24d)](_0x10f88f):String(_0x64eae7);}[_0x1d896e(0x259)](_0x1367ae){const _0x18a7d8=_0x1d896e;return this[_0x18a7d8(0x205)][_0x1367ae];}[_0x1d896e(0x3a8)](_0x1ac8f7,_0x342db4,_0x39f754,_0x5adb76){const _0x1ab263=_0x1d896e;this[_0x1ab263(0x205)][_0x1ac8f7]=_0x342db4,_0x342db4['setRange'](_0x39f754),this[_0x1ab263(0x243)][_0x1ab263(0x1f8)]({'token':_0x1ac8f7,'type':Be[_0x1ab263(0x203)],'dataRangeInfo':_0x39f754,'targetCellInfo':_0x5adb76});}[_0x1d896e(0x2aa)](_0x4a4d0e,_0x20886a){const _0x53351d=_0x1d896e,_0x4c7493=this[_0x53351d(0x259)](_0x4a4d0e),_0x4a7bb0=_0x4c7493[_0x53351d(0x36b)]();let _0x3ad5c8=0x0;for(const _0x5d99a5 of _0x4a7bb0){const _0x5145c9=_0x4c7493['getFieldById'](_0x5d99a5),_0x19fe9b=this[_0x53351d(0x404)](_0x20886a,_0x3ad5c8);this[_0x53351d(0x438)](_0x5145c9[_0x53351d(0x45f)],_0x19fe9b),_0x3ad5c8++;}}[_0x1d896e(0x232)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x30deb8,_0x594a89){const _0x5154fe=_0x1d896e;if(this['getCollection'](_0x30deb8)){const _0x562d23=this[_0x5154fe(0x3ef)](_0x594a89),_0xf630e8=[];for(const _0x3a75b7 of _0x562d23)this[_0x5154fe(0x3ee)][_0x3a75b7]!==void 0x0&&_0xf630e8[_0x5154fe(0x45e)](this[_0x5154fe(0x3ee)][_0x3a75b7]);const _0x1bc939=this[_0x5154fe(0x2a6)](_0x30deb8),_0x38c9b4=[],_0x55bcfd=new Set(_0xf630e8);for(const _0x1fe16c of _0x1bc939)_0x55bcfd[_0x5154fe(0x244)](_0x1fe16c)||_0x38c9b4[_0x5154fe(0x45e)](_0x1fe16c);return _0x38c9b4;}}[_0x1d896e(0x427)](_0x5640b9,_0x2125b1,_0x5d7c09,_0x2ba83f,_0x528dd8){const _0x121c41=_0x1d896e;return _0x2125b1&&_0x2125b1[_0x121c41(0x3e4)](_0x2ba83f,_0x528dd8)?_0x2125b1[_0x121c41(0x3e4)](_0x2ba83f,_0x528dd8):_0x5d7c09&&_0x5d7c09['getValue'](_0x2ba83f,_0x528dd8)?_0x5d7c09[_0x121c41(0x3e4)](_0x2ba83f,_0x528dd8):_0x5640b9[_0x121c41(0x3e4)](_0x2ba83f,_0x528dd8);}['refreshDataField'](_0x2894f3,_0xb73f36,_0x309561,_0x5eb25a){const _0x2b4532=_0x1d896e,_0x55a52a=this[_0x2b4532(0x1e8)][_0x2894f3];if(!_0x55a52a)return;const {subUnitId:_0x532309,range:_0x591a0b,unitId:_0x988d9a}=_0xb73f36,_0x1db886=this['_univerInstanceService'][_0x2b4532(0x443)](_0x988d9a);if(!_0x1db886){console[_0x2b4532(0x2d3)](_0x2b4532(0x21a));return;}const _0x26cfd8=_0x1db886[_0x2b4532(0x45b)](_0x532309),_0x3b8c24=_0x26cfd8[_0x2b4532(0x353)](),{arrayFormulaCellDataMatrix:_0x4d438c,unitDataMatrix:_0x46e8fe}=_0x5eb25a||{},{startRow:_0x22f55a,startColumn:_0x30ae6b,endRow:_0x3ee0b1}=this[_0x2b4532(0x32c)](_0x591a0b,_0x26cfd8);_0x55a52a[_0x2b4532(0x460)]();const _0x48b9ac=_0x1db886[_0x2b4532(0x280)](),_0x5e34c4={},_0x19d622=this[_0x2b4532(0x427)](_0x3b8c24,_0x4d438c,_0x46e8fe,_0x22f55a,_0x30ae6b+_0x309561);let _0x32dcb3=this[_0x2b4532(0x35a)](_0x19d622,_0x48b9ac,_0x5e34c4);_0x384768(_0x32dcb3)&&(_0x32dcb3=_0xfe40a2[_0x2b4532(0x383)](_0x32dcb3['f'],Number(_0x32dcb3['v'])));const _0x43165e=this[_0x2b4532(0x21f)](_0x32dcb3,_0x30ae6b+_0x309561);_0x55a52a[_0x2b4532(0x2d5)](_0x43165e);for(let _0x1f51a0=_0x22f55a+0x1;_0x1f51a0<=_0x3ee0b1;_0x1f51a0++){const _0x132155=this['getMatrixValue'](_0x3b8c24,_0x4d438c,_0x46e8fe,_0x1f51a0,_0x30ae6b+_0x309561);_0x55a52a[_0x2b4532(0x440)](this[_0x2b4532(0x35a)](_0x132155,_0x48b9ac,_0x5e34c4),_0x1f51a0-0x1-_0x22f55a);}}[_0x1d896e(0x435)](_0x465836,_0xb7947d,_0x171e92){const _0xeae759=_0x1d896e,{subUnitId:_0x3e52c8,range:_0x4d8ecf,unitId:_0x159e04}=_0x171e92,_0x16e26b=this[_0xeae759(0x1ea)][_0xeae759(0x443)](_0x159e04);if(!_0x16e26b){console[_0xeae759(0x2d3)](_0xeae759(0x21a));return;}const _0x9b9489=_0x16e26b[_0xeae759(0x45b)](_0x3e52c8),_0x1412a8=_0x9b9489['getCellMatrix'](),{startRow:_0x1a8437,startColumn:_0x3873ad,endRow:_0x2768c5}=this[_0xeae759(0x32c)](_0x4d8ecf,_0x9b9489),_0x12638e=_0x16e26b[_0xeae759(0x280)](),_0x7587e={};for(const {dataField:_0x40f953,index:_0x2915e8}of _0xb7947d){_0x40f953['reset']();const _0x35d645=this['getMatrixValue'](_0x1412a8,void 0x0,void 0x0,_0x1a8437,_0x3873ad+_0x2915e8);let _0x3b6551=this[_0xeae759(0x35a)](_0x35d645,_0x12638e,_0x7587e);_0x384768(_0x3b6551)&&(_0x3b6551=_0xfe40a2[_0xeae759(0x383)](_0x3b6551['f'],Number(_0x3b6551['v'])));const _0x2208e8=this[_0xeae759(0x21f)](_0x3b6551,_0x3873ad+_0x2915e8);_0x40f953[_0xeae759(0x2d5)](_0x2208e8);}_0x465836[_0xeae759(0x389)]();for(let _0x184b99=_0x1a8437+0x1;_0x184b99<=_0x2768c5;_0x184b99++)for(const {index:_0x17d913,dataField:_0x27cc81}of _0xb7947d){const _0x40e6e9=_0x1412a8[_0xeae759(0x3e4)](_0x184b99,_0x3873ad+_0x17d913);_0x27cc81['addRecord'](this['adjustSheetCellData'](_0x40e6e9,_0x12638e,_0x7587e),_0x184b99-0x1-_0x1a8437);}_0x465836[_0xeae759(0x397)](_0x2768c5-_0x1a8437);}[_0x1d896e(0x3ef)](_0x1e01d5){const _0x164965=_0x1d896e,{range:_0x51b108}=_0x1e01d5,{startColumn:_0x5019ff,endColumn:_0x59c711}=_0x51b108,_0x1c85a4=[];for(let _0x4ac0e3=_0x5019ff;_0x4ac0e3<=_0x59c711;_0x4ac0e3++)_0x1c85a4['push'](this[_0x164965(0x404)](_0x1e01d5,_0x4ac0e3));return _0x1c85a4;}['adjustSheetCellData'](_0xea6c2e,_0x322f0d,_0x18ad6f){const _0x1a2f3d=_0x1d896e;if(_0xea6c2e){const {s:_0x157245,v:_0x1050ab,t:_0x2bc59a,p:_0x13438d}=_0xea6c2e;if(_0x13438d)return wi(_0x13438d);const _0x2a9200=_0x322f0d[_0x1a2f3d(0x283)](_0x157245);if(_0x2a9200&&_0x2bc59a===_0x4392b0[_0x1a2f3d(0x36e)]&&_0x2a9200['n']){const {pattern:_0x4b30ec}=_0x2a9200['n'];_0x18ad6f[_0x4b30ec]||(_0x18ad6f[_0x4b30ec]=_0xfe40a2[_0x1a2f3d(0x31f)](_0x4b30ec));const _0x529219=_0x18ad6f[_0x4b30ec],_0x2fb728=_0x529219['isDate'];if(_0x529219[_0x1a2f3d(0x26e)])return String(_0x1050ab);if(_0x2fb728)return{'v':_0x1050ab,'f':_0x4b30ec};}if(_0x2bc59a===_0x4392b0[_0x1a2f3d(0x36e)])return Number(_0x1050ab);if(_0x2bc59a===_0x4392b0['STRING']||_0x2bc59a===_0x4392b0['FORCE_STRING'])return String(_0x1050ab);if(_0x2bc59a===void 0x0){const _0x9fb25d=Number(_0x1050ab);if(!Number[_0x1a2f3d(0x254)](_0x9fb25d)&&String(_0x9fb25d)===_0x1050ab)return _0x9fb25d;}return _0x1050ab!=null?_0x1050ab:null;}else return null;}['getRangeData'](_0x5e223d){const _0x52ccfe=_0x1d896e,{sheetName:_0x5c7e2c,range:_0x47dd0a,unitId:_0x13a801}=_0x5e223d,_0x3c4196=this[_0x52ccfe(0x1ea)][_0x52ccfe(0x443)](_0x13a801);if(!_0x3c4196)return console['error']('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x3097a9=_0x3c4196['getSheetBySheetName'](_0x5c7e2c),_0x513f28=_0x3097a9[_0x52ccfe(0x353)](),{startRow:_0x505b22,startColumn:_0x424cf8,endRow:_0x432c6a,endColumn:_0x4ff4ae}=this[_0x52ccfe(0x32c)](_0x47dd0a,_0x3097a9),_0x3d0cfe=_0x3c4196['getStyles'](),_0x415830=[],_0x2626fb=[],_0x7491b={};for(let _0x23535a=_0x505b22;_0x23535a<=_0x432c6a;_0x23535a++){const _0x57aee1=[];for(let _0x3578f1=_0x424cf8;_0x3578f1<=_0x4ff4ae;_0x3578f1++){const _0x498b70=_0x513f28[_0x52ccfe(0x3e4)](_0x23535a,_0x3578f1);_0x23535a===_0x505b22?_0x415830[_0x52ccfe(0x45e)](_0x498b70==null?null:String(_0x498b70['v'])):_0x57aee1['push'](this['adjustSheetCellData'](_0x498b70,_0x3d0cfe,_0x7491b));}_0x2626fb[_0x52ccfe(0x45e)](_0x57aee1);}return{'header':_0x415830,'data':_0x2626fb};}[_0x1d896e(0x23b)](){const _0x2c0eb2=_0x1d896e;return super[_0x2c0eb2(0x23b)]();}[_0x1d896e(0x2cf)](_0x12c890){const _0x2a1659=_0x1d896e;super[_0x2a1659(0x2cf)](_0x12c890),this[_0x2a1659(0x3d3)]();}[_0x1d896e(0x2e7)](){const _0x250a02=_0x1d896e;super[_0x250a02(0x2e7)](),this[_0x250a02(0x3ee)]={},this[_0x250a02(0x243)]=null;}}const Ri=_0x569f8e=>{const _0x14ec16=_0x1d896e,{targetCellInfo:_0x47a1a4}=_0x569f8e,{matrixCache:_0x2f72e0,rangesCache:_0x28e40a}=Wo({'filter':'Filter','row':'Row','column':_0x14ec16(0x3f9),'values':'Values'},_0x47a1a4),_0x342ce8=new _0x2d38e2();return _0x2f72e0['forValue']((_0x1a2ddb,_0x4701aa,_0x18459c)=>{const _0x472cfe=_0x14ec16;_0x342ce8[_0x472cfe(0x3aa)](_0x1a2ddb,_0x4701aa,_0x18459c);}),{'matrix':_0x342ce8,'rangesCache':_0x28e40a};},st=_0x3296cb=>{const _0x2e23de=_0x1d896e;let _0x5ebb59;if(_0x3296cb!=null&&_0x3296cb['v']||(_0x3296cb==null?void 0x0:_0x3296cb['v'])===0x0){_0x5ebb59||(_0x5ebb59={});const _0x4e3932=Ko(_0x3296cb['v']);typeof _0x4e3932==_0x2e23de(0x1d7)?_0x5ebb59['t']=_0x4392b0[_0x2e23de(0x36e)]:typeof _0x4e3932==_0x2e23de(0x1e5)&&(_0x5ebb59['t']=_0x4392b0[_0x2e23de(0x3f4)]),_0x5ebb59['v']=_0x4e3932;}return _0x5ebb59;},Fi=(_0x11fbbb,_0x231a3f,_0x51e591)=>{const _0x384aff=_0x1d896e;var _0x37e8b9,_0x3180c4,_0x4d2fe5,_0x5b2786,_0x2f9738,_0x22bb3b,_0x1f3690,_0x4a36ed,_0x1a80b,_0x56b6b8,_0x5ba357,_0x51df9e;const {cornerView:_0x437dee,rowView:_0x587612,colView:_0x55fd7,dataView:_0x1b7cc5,pageView:_0x2c74ab,formatMap:_0x32b2ff}=_0x11fbbb,{row:_0x52fe8c,col:_0x3f2833}=_0x231a3f,_0x504683=new _0x2d38e2();let _0x16a780=_0x52fe8c,_0x3590c8=_0x3f2833;Object[_0x384aff(0x2c7)](_0x2c74ab['data'])['forEach'](_0x306369=>{const _0x567830=_0x384aff;Object[_0x567830(0x2c7)](_0x2c74ab[_0x567830(0x382)][Number(_0x306369)])[_0x567830(0x412)](_0xd09803=>{const _0x1f7de2=_0x567830,_0x581f83={..._0x2c74ab[_0x1f7de2(0x382)][Number(_0x306369)][Number(_0xd09803)]};_0x504683[_0x1f7de2(0x3aa)](Number(_0x306369)+_0x16a780,Number(_0xd09803)+_0x3590c8,st(_0x581f83));});});const _0x474d7c=Object[_0x384aff(0x2c7)](_0x2c74ab[_0x384aff(0x382)])[_0x384aff(0x40c)];_0x16a780+=_0x474d7c+(_0x474d7c?mt:0x0);const _0x18db5f=_0x437dee[_0x384aff(0x221)](),_0x46604b=_0x437dee[_0x384aff(0x3c5)]();for(let _0x3e3268=0x0;_0x3e3268<_0x18db5f;_0x3e3268++)for(let _0x253872=0x0;_0x253872<_0x46604b;_0x253872++){const _0x24282e={...(_0x3180c4=(_0x37e8b9=_0x437dee[_0x384aff(0x382)])==null?void 0x0:_0x37e8b9[_0x3e3268])==null?void 0x0:_0x3180c4[_0x253872]};_0x24282e&&((_0x4d2fe5=_0x587612[_0x384aff(0x1d9)][_0x253872])!=null&&_0x4d2fe5[_0x384aff(0x2c3)])&&_0x253872===_0x46604b-0x1&&_0x3e3268===_0x18db5f-0x1&&(_0x24282e['v']=''+_0x51e591['sheets-pivot.value']),_0x504683['setValue'](_0x3e3268+_0x16a780,_0x253872+_0x3590c8,st(_0x24282e));}_0x3590c8+=_0x46604b;const _0x37d711=_0x55fd7[_0x384aff(0x1d9)],_0x2788ec=_0x55fd7[_0x384aff(0x289)]()>=0x0?_0x55fd7['getLastRow']()+0x1:0x0,_0x8c4a14=_0x55fd7['getLastCol']()>=0x0?_0x55fd7[_0x384aff(0x282)]()+0x1:0x0;for(let _0x16692f=0x0;_0x16692f<_0x8c4a14;_0x16692f++)for(let _0x39004a=0x0;_0x39004a<_0x2788ec;_0x39004a++){const _0x4aea1c={...(_0x2f9738=(_0x5b2786=_0x55fd7[_0x384aff(0x382)])==null?void 0x0:_0x5b2786[_0x16692f])==null?void 0x0:_0x2f9738[_0x39004a]},_0x4d1051=(_0x22bb3b=_0x37d711[_0x16692f])==null?void 0x0:_0x22bb3b[_0x384aff(0x422)],_0x4d502c=_0x32b2ff[_0x4d1051];_0x4aea1c&&(_0x4aea1c['v']=vt(_0x4aea1c,_0x16692f===0x0&&((_0x1f3690=_0x55fd7['getHeaderMapItem'](_0x39004a+0x1))==null?void 0x0:_0x1f3690[_0x384aff(0x2c3)]),_0x4d502c,_0x51e591)),_0x504683[_0x384aff(0x3aa)](_0x16692f+_0x16a780,_0x39004a+_0x3590c8,st(_0x4aea1c));}_0x16a780+=_0x18db5f;const _0x2d0235=_0x587612['headerMap'],_0x37b6fb=_0x587612[_0x384aff(0x289)]()>=0x0?_0x587612[_0x384aff(0x289)]()+0x1:0x0,_0xcfed80=_0x587612[_0x384aff(0x282)]()>=0x0?_0x587612['getLastCol']()+0x1:0x0;for(let _0x265141=0x0;_0x265141<_0x37b6fb;_0x265141++)for(let _0x4a4237=0x0;_0x4a4237<_0xcfed80;_0x4a4237++){const _0x5e09d3={...(_0x1a80b=(_0x4a36ed=_0x587612['data'])==null?void 0x0:_0x4a36ed[_0x265141])==null?void 0x0:_0x1a80b[_0x4a4237]},_0x406372=(_0x56b6b8=_0x2d0235[_0x4a4237])==null?void 0x0:_0x56b6b8['tableFieldId'],_0x3750c5=_0x32b2ff[_0x406372];_0x5e09d3&&(_0x5e09d3['v']=vt(_0x5e09d3,!0x1,_0x3750c5,_0x51e591)),_0x504683['setValue'](_0x265141+_0x16a780,_0x4a4237+_0x3f2833,st(_0x5e09d3));}const _0x28c316=_0x1b7cc5[_0x384aff(0x221)](),_0x4c9948=_0x1b7cc5[_0x384aff(0x3c5)]();for(let _0x2e9538=0x0;_0x2e9538<_0x28c316;_0x2e9538++)for(let _0x13880f=0x0;_0x13880f<_0x4c9948;_0x13880f++){const _0x363e75={...(_0x51df9e=(_0x5ba357=_0x1b7cc5[_0x384aff(0x382)])==null?void 0x0:_0x5ba357[_0x2e9538])==null?void 0x0:_0x51df9e[_0x13880f]};_0x504683[_0x384aff(0x3aa)](_0x2e9538+_0x16a780,_0x13880f+_0x3590c8,st(_0x363e75));}return _0x504683;},Di=_0x4e60f3=>{const _0x53af6b=_0x1d896e,{view:_0x19f9c2,targetCellInfo:_0x505823,isEmpty:_0x24e3cc,textInfo:_0x39c762}=_0x4e60f3;if(_0x24e3cc)return Ri(_0x4e60f3);const {pageView:_0x245411,cornerView:_0x18e54a,rowView:_0x5d6990,colView:_0x3b2e7c,dataView:_0x527400}=_0x19f9c2,_0x14f8a0=ge(_0x505823,_0x245411,!0x0),_0xaf6d80=_0x245411['lastRow']>=0x0?_0x245411['lastRow']+0x1:0x0,_0x33d3bf=_0x18e54a[_0x53af6b(0x221)](),_0x8522c1=_0x18e54a[_0x53af6b(0x3c5)](),_0x1422de=_0x14f8a0[_0x53af6b(0x40c)]>0x0?mt:0x0,_0x5f5240=ge({'row':_0x505823[_0x53af6b(0x42f)]+_0xaf6d80+_0x1422de,'col':_0x505823['col']},_0x18e54a,!0x1,!0x1),_0x27177f=ge({'row':_0x505823[_0x53af6b(0x42f)]+_0xaf6d80+_0x1422de+_0x33d3bf,'col':_0x505823['col']},_0x5d6990,!0x1,!0x0),_0x56d82d=ge({'row':_0x505823['row']+_0xaf6d80+_0x1422de,'col':_0x505823[_0x53af6b(0x329)]+_0x8522c1},_0x3b2e7c,!0x1,!0x0),_0x46fb56=ge({'row':_0x505823[_0x53af6b(0x42f)]+_0xaf6d80+_0x1422de+_0x33d3bf,'col':_0x505823[_0x53af6b(0x329)]+_0x8522c1},_0x527400,!0x1,!0x1),_0x44a8d2={'rowRanges':_0x27177f,'colRanges':_0x56d82d,'cornerRanges':_0x5f5240,'dataRanges':_0x46fb56,'pageRanges':_0x14f8a0};return{'matrix':Fi(_0x19f9c2,_0x505823,_0x39c762),'rangesCache':_0x44a8d2};};function _0x46d5(){const _0x43c5cb=['prefix','GrandTotal','pivotMutationGenerate','_exclusiveRangeService','subUnitId','level','_viewUpdate$','getUnitId','setDataRecordCount','rgb(240,241,243)','pushComputingStatusSubject','tuple','rowCount','DIV_BY_ZERO','getTargetByPivotId','sheet.mutation.set-pivot-filter','colCount','updateFieldPosition','_initViewModelBySheetInterceptor','#b2b2b2','Var\x20of\x20','getCurrentSelections','ManualFilter','_initPivotTextInfo','setCollapse','addCollection','getSubtotal','setValue','iterateField','_initPivotDataGetListener','sheets-pivot.cellDateGroupDisplay.year','setRangeValueUndoMutation','configVersion$','unitId','rowStyle','StdDevp\x20of\x20','_dataSyncPrimaryController','getformat','getPivotTableInstance','symbol','#f4f4f5','UNIVER_SHEET','updateViewData','createCollectionWithDataRange','setSortInfo','info','sheets-pivot.dateGroup.monthDate','getSourceName','NotName','width','getDataFieldByDataFieldId','handleSourceRangeChange','oldMatrix','countNums','getColCount','setPivotTableConfig','_pivotRenderInfoCache','sortInfo','removeCollections','reduce','getFormat','sheet.command.update-pivot-value-position','sheets-pivot.cellDateGroupDisplay.hour','generateMutationsByRanges','_updateModelCache','realDeleteValue','sheets-pivot.maxName','sheet.command.remove-pivot-field','initDataRanges','sheet.command.add-pivot-table-with-config','sheet.mutation.rename-pivot-field','MovePivotField','dataFieldsCollection','Existing','Expand','getConfig','pivotTableIndexConfig','varp','sheet.mutation.set-pivot-value-filter','dataFieldId','fields','AddPivotTableWithConfig','setPivotInitCompleted','single','#FFFFFF','getValue','onQueryEnd','cornerRanges','SetPivotCollapse','Average\x20of\x20','setDateType','floor','Quarter','stdDevp','renameField','rangeKeyMap','getRangeKeyList','SHEET_PIVOT_IN_MAIN_THREAD','measure','_refRangeHandle','rowInfo','STRING','getOriginFieldId','_generateUniqueVersion','_sheetsPivotTableConfigModel','Style','Column','getPivotTableMatrixInfo','sheets-pivot.productName','sheet.command.update-date-group','_subjectViewChange','sheets-pivot.dateGroup.yearMonth','concat','sheet.mutation.get-pivot-data-local','Max\x20of\x20','getTargetByPivotTableId','stringify','getRangeKey','sheets-pivot.emptyPivot.values','clearRenderCache','pivotPerformCheck','sheet.mutation.update-date-group','_initLocale','value','_pivotRenderValueMatrixCache','length','setFieldFormat','sheets-pivot.cellDateGroupDisplay.minute','startColumn','valueIndex','_subjectFieldsCollectionChange','forEach','_refRangeService','Date','parseInt','oldRangeInfo','getDataFieldByTableId','sheet.mutation.set-pivot-sort-info','NotNumber','getRefRangeMutationsByMoveRange','displayName','_sheetsPivotDataSourceModel','getColumnWidth','viewData$','slice','executeCommand','registerCommand','tableFieldId','delete','getSheetId','getSortInfo','addFieldWithSourceId','getMatrixValue','var','setRangeValueRedoMutation','SetSubtotalType','from','removeSourceRangeChange','pivotTableConfigs','getFieldCountByArea','row','sheet.command.set-pivot-collapse','getPivotTableConfig','3pCrmUk','getId','Subtotal','refreshData','updateFieldSourceInfo','sheets.tabs.sheet','updateRangeKeyMap','getOwnPropertyDescriptor','SHEET_PIVOT_TABLE_PLUGIN','Panel','addField','PivotMultipleValueId','sum','getPivotDisplayConfig','addRecord','_configService','versions','getUnit','getPivotTableCellData','includes','_initUnitDisposed','Min\x20of\x20','COLUMN','collectionConfig','YearQuarter','BadReference','node','setRange','viewUpdate$','_updateRenderEmptyCache','sheet.mutation.remove-pivot-table','CELL_CONTENT','deleteDataField','Hour','fontRenderExtension','sheet.mutation.add-pivot-field','sourceRangeInfo','sheet.mutation.pivot-update-field-position','valueFilter','Column\x20','\x20-\x20','getSheetBySheetId','sheets-pivot.minName','replace','push','rangeKey','reset','registerRefRange','return\x20','setPivotTable','getValueIndex','NAME','deleteUnitId','setPivotCollapse','dataStyle','number','sheet.mutation.update-pivot-table-source-range','headerMap','name','_pivotInitCompleted$','rangesInfo','removeField','registerDirtyService','startRow','getFieldInfo','addDirtyPivotTable','column','getDataFieldBySourceName','targetCellInfo','string','parse','deepClone','dataFields','getIndexesByPathStr','_univerInstanceService','generateNewSheetName','max','SetValueFilter','Year','_textInfo','SetPivotSort','_viewData$','_subjectCollectionChange','fieldsCollectionChange$','removeCollectionImp','sheets-pivot.averageName','paths','pivotTableId','broadcastCollectionChange','options','collection','Value','HourMinute','setOptions','sheet.mutation.send-init-pivot-text-local','(Blank)','sheets-pivot.grandTotal','addCollectionByJSON','rowFields','add','sheets-pivot.config','collections','dataFieldManagerConfig','_sheetsPivotTableService','Delete','getSubUnitPivotMatrix','disposableCollection','subTotalStyle','subscribe','pivotInitCompleted$','getIntersects','getSheetBySheetName','contains','hasField','getFieldById','setLabelFilterInfo','resetArea','queryDirtyPivotTable','sheets-pivot.emptyPivot.filter','114qAtKVk','Month','version','workbook\x20is\x20not\x20found','56918420VcleXf','movePivotField','getMatrix','bind','uniqueDataFieldName','setPivotFilter','getRowCount','getDisplayName','colInfo','_featureCalculationManagerService','refreshGroupField','startCollectChangeset','addPivotTableWithConfig','getCellRaw','removePivotField','pluginName','_config','sheets-pivot.dateGroup.quarter','_initDataSendListener','sheets-pivot.value','sheet.command.set-pivot-field-setting','areaInfo','sheet.command.update-pivot-table-source-range','getPivotDirtyViewInfo','handleAsyncResponse','collapseInfo','asObservable','grandTotal','None','result','_toJSON','getActiveSheet','toJSON','getDataFieldByRangeKey','_initRemoveSheetCommandInterceptor','undos','matrix','sheet.mutation.send-pivot-data-local','filterInfo','getFieldFormat','_host','has','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','Sum\x20of\x20','textInfo','sheet.command.pivot-drill-down','sheets-pivot.cellDateGroupDisplay.yearMonth','REF','UpdatePivotSource','pbt','_getAutoName','sheets-pivot.cellDateGroupDisplay.hourMinute','Grand\x20Total','#eceeff','removeValueFilterInfo','updateDataFieldsCollection','_updatePivotTableInstanceCache','isNaN','sheet.command.move-pivot-field','isArray','MonthDate','min','getCollection','getTextInfo','sheet.command.set-pivot-sort','_pivotConfigChange$','filter','setPivotSort','update','9402225YWkdEv','updateView','_commandService','toString','set','getPivotTableModelConfig','YearMonth','minDate','Values','defineProperty','rgb(255,255,255)','getFilterInfo','collectionChange$','SetFieldFormat','isText','size','intercept','forRow','1065145xKbhvF','AddField','sheets-pivot.countName','getDirtyInfo','random','stdDev','sheets-pivot.stdDevName','PIVOT_MUTATION_GENERATE','custom','_sheetsPivotRpcService','sheets-pivot.cellDateGroupDisplay.month','find','getViewData','sheet.mutation.pivot-update-value-position','getStyles','getTableFieldById','getLastCol','get','dateType','markDirty$','_ensurePivotItemRenderInfoCache','body','isColMultiMeasure','getLastRow','updateRenderCache','disposeWithMe','valueFields','rowRanges','updateConfigCache','originTargetInfo','limit\x20pivot','_collectionConfigModel','interceptor','Count\x20of\x20','_queryingMap','getSheets','panel','sheets-pivot.countNumsName','sheet.mutation.set-pivot-collapse','asyncInterceptor','addPivotField','colRanges','sheet.mutation.set-pivot-option','_pivotTableMatrixInfo','AddPivotTable','entries','valuePosition','sheets-pivot.cellDateGroupDisplay.date','message','updateValuePosition','setRangeKeyMap','sheet.mutation.set-pivot-position','getNoUsedDataFieldIds','sheets-pivot.cellDateGroupDisplay.quarter','_requestResolvers','getColumnCount','handleMoveRange','_deletePivotTableInstanceCache','batch','cornerInfo','iterateFieldDim','sheet.mutation.remove-pivot-field','lastRow','YearMonthDate','average','createDataFieldId','updatePivotTableMatrixInfo','sheets-pivot.cellDateGroupDisplay.yearQuarter','getGroupFieldsInfoByIds','_pivotTableRangeInfo','columnFields','removePivotTable','AddPivotField','SetPivotTableConfig','updateDirtyPivotTable','endRow','getTextSize','isEmpty','getSubUnitPivotConfigs','_ensurePivotTableMatrixInfo','interceptCommand','isValue','8OXnwMF','cellValue','_initSnapshot','keys','markDirty','NO_COMMERCIAL','sheets-pivot.dateGroup.hourMinute','fieldsConfig','resetPivotTable','lastCol','notExecuteFormula','fromJSON','registerPluginResource','_model','setSourceName','error','dimension','setName','getPivotTableIdByCell','7494736aQfOKN','fieldId','subtotal','_createExclusiveRange','sheets-pivot.emptyPivot.row','forValue','fieldIds','Add','rowHeaderMap','fetchThroughInterceptors','getFullYear','getCurrentUnitForType','setConfig','sheets-pivot.varpName','_globalComputedStartHelpFunc','addDataFieldWithoutUnitInfo','dispose','sheetName','ptn','_sheetInterceptorService','onQueryStart','getFieldPositionInfoById','pushUndoRedo','splice','ResetPivotTable','_getPivotAppliedRanges','100GNjpTW','count','getPivotItemRenderInfoCache','query','_resourceManagerService','redos','getFieldDataType','MAX_SAFE_INTEGER','refreshDataField','type','sheet.mutation.add-pivot-table','_globalComputingSrv','_initConfig','pageRanges','some','DrillDown','dataStream','updateCollectionConfig','MUTATION','_ensurePivotMap','leafStyle','sheet.operation.pivot-table-view-formula-mark-dirty','sideEffectUpdateWorkerCache','onStarting','getDataFieldManager','Product\x20of\x20','removeDataField','_initClearSelectionCommandInterceptor','next','drillDown','Row','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','_activeDirtyManagerService','registerSyncingMutations','deleteField','UpdateValuePosition','_ensureViewDataMap','colHeaderMap','Div0','shouldClear','_onRefRangeChange','endColumn','sheets-pivot.dateGroup.minute','MIN_SAFE_INTEGER','foreach','sheet.mutation.set-pivot-field-subtotal-type','getFormatInfo','isBottomTotal','SetValuePivotFilter','_fieldsCollectionChange$','_ensurePivotTableRangeInfo','sheets-pivot.varName','object','2828666hnzLEJ','clearExclusiveRangesByGroupId','_globalComputedEndHelpFunc','col','RemovePivotField','_dataFieldManagerCollection','getRangeStartEndInfo','endCollectChangeset','sheet.mutation.remove-group-collection','addExclusiveRange','_markDirty$','leftOffset','setPivotSetting','#1d32e9','sheets-pivot.dateGroup.yearMonthDate','formJSON','pageStyle','COMMAND','getTypeOfUnitDisposed$','sheets-pivot.dateGroup.hour','sheet.command.add-pivot-table','getMatrixFromRunTimeData','updatePivotTableRangeInfo','getDate','setValueFilterInfo','onCommandExecuted','setSubtotalType','values','setDisplayName','_init','Filter','range','sheet.command.set-pivot-value-filter','sheet.command.add-pivot-field','updatePivotSource','map','_deleteModelCache','_sheetsSelectionsService','setValuePivotFilter','_initRegisterCommand','prototype','addPivotTable','getDataFieldItemInfo','maxDate','_injector','getCellMatrix','params','getFilterFieldIdByIndex','dataRangeInfo','getName','updateConfig','sourceName','adjustSheetCellData','_viewData','getDataFieldId','originalFieldId','sheet.mutation.send-pivot-config-local','cornerStyle','pivotConfigChange$','8494578mnUtjD','iterateFieldByArea','substring','getMonth','SetPivotSetting','triggerDirtyFeature','colStyle','Set','sheet.command.set-pivot-fields-config','rangeType','getFieldIds','sheet.mutation.set-pivot-format','Minute','NUMBER','updateViewInfo','getUpdateRangeDeleteIds','unshift','setDirty','register','blank','existing','_initCommandInterceptListener','RemoveField','_sheetsPivotTableAdaptorModel','UpdateFieldPosition','_ensurePivotItemRenderValueMatrixCache','#e6ebfb','setTextInfo','_pivotTableInstanceCache','split','valid','_globalSubject','getIntersectsPivotTable','data','format','_localeService','UpdateSource','_lifecycleService','getAutoDisplayNameFunction','fetchThroughAsyncInterceptors','updateAllDisplayName','SetOptions','SetPivotFilter','registerCallbackWithEvent','_configVersion$','ΣValue'];_0x46d5=function(){return _0x43c5cb;};return _0x46d5();}var Ni=Object[_0x1d896e(0x439)],Ui=(_0x45955a,_0x5a2dbb,_0x51d833,_0x596880)=>{const _0x1f6755=_0x1d896e;for(var _0x341b89=_0x596880>0x1?void 0x0:_0x596880?Ni(_0x5a2dbb,_0x51d833):_0x5a2dbb,_0x93c8e2=_0x45955a[_0x1f6755(0x40c)]-0x1,_0x5eabf5;_0x93c8e2>=0x0;_0x93c8e2--)(_0x5eabf5=_0x45955a[_0x93c8e2])&&(_0x341b89=_0x5eabf5(_0x341b89)||_0x341b89);return _0x341b89;},je=(_0x332542,_0x20e094)=>(_0xdc2b96,_0x17e03f)=>_0x20e094(_0xdc2b96,_0x17e03f,_0x332542);let $=class extends _0x215859{constructor(_0xec9206,_0x48ee60,_0x50e391,_0x3ef5cb,_0x48b0e9,_0x2ea42f){const _0x220112=_0x1d896e;super(),V(this,_0x220112(0x2d1),new Map()),V(this,_0x220112(0x37d),new Map()),V(this,_0x220112(0x35b),new Map()),V(this,_0x220112(0x1ef)),V(this,'_collectionChange$',new _0x56207d()),V(this,_0x220112(0x26c),this['_collectionChange$']['asObservable']()),V(this,_0x220112(0x1f1),new _0x56207d()),V(this,_0x220112(0x41e),this['_viewData$'][_0x220112(0x235)]()),V(this,'_fieldsCollectionChange$',new _0x56207d()),V(this,_0x220112(0x1f3),this['_fieldsCollectionChange$'][_0x220112(0x235)]()),V(this,_0x220112(0x32b),new Map()),V(this,'needSameDeleteModel',[]),V(this,'_queryingMap',new Map()),(this[_0x220112(0x352)]=_0xec9206,this[_0x220112(0x1ea)]=_0x48ee60,this[_0x220112(0x386)]=_0x50e391,this[_0x220112(0x441)]=_0x3ef5cb,this['_commandService']=_0x48b0e9,this['_resourceManagerService']=_0x2ea42f,this[_0x220112(0x2c6)]());}[_0x1d896e(0x25a)](){const _0x9ca11b=_0x1d896e;return this[_0x9ca11b(0x1ef)]?this[_0x9ca11b(0x1ef)]:Mi;}[_0x1d896e(0x37c)](_0x3a21c1){const _0x2cc2e=_0x1d896e;this[_0x2cc2e(0x1ef)]=_0x3a21c1;}[_0x1d896e(0x2aa)](_0x5a9e58){const _0x2b0061=_0x1d896e;var _0x4c443b;const {from:_0x5cfad1,to:_0x14082e,unitId:_0x5cddc5,fromRange:_0x576e4a,toRange:_0x10676c}=_0x5a9e58;if(_0x5cfad1&&_0x14082e){const _0x5bddc3=this[_0x2b0061(0x309)](_0x5cddc5),_0x9b21e0=this['_model'][_0x2b0061(0x283)](_0x5cddc5),_0x1d4d0b=(_0x4c443b=this[_0x2b0061(0x1ea)][_0x2b0061(0x443)](_0x5cddc5))==null?void 0x0:_0x4c443b['getSheetBySheetId'](_0x14082e[_0x2b0061(0x393)]);if(!_0x9b21e0||!_0x1d4d0b)return;const _0x434b5b=_0x1d4d0b==null?void 0x0:_0x1d4d0b['getName']();for(const [_0x2b611d,_0x322147]of _0x9b21e0[_0x2b0061(0x29f)]())for(const [_0x4b730c,_0x5b99dc]of _0x322147[_0x2b0061(0x29f)]()){const {sourceRangeInfo:_0x4c7827}=_0x5b99dc;if(_0x4c7827['unitId']===_0x5cddc5&&_0x4c7827[_0x2b0061(0x393)]===_0x5cfad1[_0x2b0061(0x393)]&&_0x27a2e6[_0x2b0061(0x210)](_0x576e4a,_0x4c7827[_0x2b0061(0x345)])){const _0x3ed7da={'row':_0x4c7827[_0x2b0061(0x345)]['startRow']-_0x576e4a[_0x2b0061(0x1df)],'col':_0x4c7827['range'][_0x2b0061(0x40f)]-_0x576e4a['startColumn']},_0x3da74c={'unitId':_0x5cddc5,'subUnitId':_0x14082e[_0x2b0061(0x393)],'sheetName':_0x434b5b,'range':{'startRow':_0x10676c[_0x2b0061(0x1df)]+_0x3ed7da[_0x2b0061(0x42f)],'endRow':_0x10676c[_0x2b0061(0x1df)]+_0x3ed7da[_0x2b0061(0x42f)]+_0x4c7827['range'][_0x2b0061(0x2bd)]-_0x4c7827[_0x2b0061(0x345)][_0x2b0061(0x1df)],'startColumn':_0x10676c[_0x2b0061(0x40f)]+_0x3ed7da[_0x2b0061(0x329)],'endColumn':_0x10676c[_0x2b0061(0x40f)]+_0x3ed7da[_0x2b0061(0x329)]+_0x4c7827[_0x2b0061(0x345)][_0x2b0061(0x31a)]-_0x4c7827[_0x2b0061(0x345)][_0x2b0061(0x40f)]}};_0x5bddc3[_0x2b0061(0x2aa)](_0x4b730c,_0x3da74c);const _0x7db1a4={..._0x5b99dc,'sourceRangeInfo':_0x3da74c};this[_0x2b0061(0x3cf)](_0x5cddc5,_0x14082e[_0x2b0061(0x393)],_0x4b730c,_0x7db1a4),this[_0x2b0061(0x1f8)]({'unitId':_0x5cddc5,'token':_0x4b730c,'type':Be[_0x2b0061(0x25f)],'oldSourceRangeInfo':_0x4c7827,'dataRangeInfo':_0x3da74c,'targetCellInfo':_0x5b99dc[_0x2b0061(0x1e4)]}),this[_0x2b0061(0x358)]({'unitId':_0x5cddc5,'subUnitId':_0x14082e['subUnitId'],'oldSubUnitId':_0x2b611d,'pivotTableId':_0x4b730c,'pivotTableConfig':_0x7db1a4,'collectionConfig':_0x5bddc3[_0x2b0061(0x23b)]()});}}}}[_0x1d896e(0x1f8)](_0x228bd1){const _0x1dd628=_0x1d896e;this['_collectionChange$'][_0x1dd628(0x30d)](_0x228bd1);}[_0x1d896e(0x309)](_0x12df05){const _0x2cf4d4=_0x1d896e;let _0x41cb1d=this[_0x2cf4d4(0x32b)][_0x2cf4d4(0x283)](_0x12df05);return _0x41cb1d||(_0x41cb1d=new _i(this,this[_0x2cf4d4(0x1ea)]),this[_0x2cf4d4(0x32b)][_0x2cf4d4(0x264)](_0x12df05,_0x41cb1d)),_0x41cb1d;}['getCollection'](_0x474f10,_0x3908d4){const _0x47a89f=_0x1d896e;return this[_0x47a89f(0x309)](_0x474f10)[_0x47a89f(0x205)][_0x3908d4];}[_0x1d896e(0x370)](_0x497909,_0x278f90,_0x422b58){const _0x428775=_0x1d896e;return this[_0x428775(0x309)](_0x497909)['getUpdateRangeDeleteIds'](_0x278f90,_0x422b58);}['_ensurePivotMap'](_0x453dd0,_0x2e46d0){const _0x247933=_0x1d896e;let _0x4a95e1=this['_model']['get'](_0x453dd0);_0x4a95e1||(_0x4a95e1=new Map(),this[_0x247933(0x2d1)]['set'](_0x453dd0,_0x4a95e1));let _0x49092d=_0x4a95e1[_0x247933(0x283)](_0x2e46d0);return _0x49092d||(_0x49092d=new Map(),_0x4a95e1[_0x247933(0x264)](_0x2e46d0,_0x49092d)),_0x49092d;}['_updateModelCache'](_0x26d1d7,_0x128476,_0x12519,_0xd25ca6){const _0x344322=_0x1d896e;this[_0x344322(0x304)](_0x26d1d7,_0x128476)[_0x344322(0x264)](_0x12519,_0xd25ca6);}[_0x1d896e(0x34a)](_0x37a470,_0x59cf83,_0x35d198){const _0x5abd81=_0x1d896e;var _0x12994a,_0x5594a4,_0x4ab13c,_0xb2639;((_0x5594a4=(_0x12994a=this['_model'][_0x5abd81(0x283)](_0x37a470))==null?void 0x0:_0x12994a['get'](_0x59cf83))==null?void 0x0:_0x5594a4[_0x5abd81(0x283)](_0x35d198))&&((_0xb2639=(_0x4ab13c=this['_model'][_0x5abd81(0x283)](_0x37a470))==null?void 0x0:_0x4ab13c['get'](_0x59cf83))==null||_0xb2639[_0x5abd81(0x423)](_0x35d198));}[_0x1d896e(0x253)](_0x3270ed,_0x54465b){const _0x4dbda5=_0x1d896e;this[_0x4dbda5(0x37d)][_0x4dbda5(0x264)](_0x3270ed,_0x54465b);}[_0x1d896e(0x2ab)](_0x354a28){const _0x447a42=_0x1d896e;this[_0x447a42(0x37d)][_0x447a42(0x423)](_0x354a28);}[_0x1d896e(0x315)](_0x4b4a3d,_0x53667d){const _0xf30401=_0x1d896e;let _0x314c6e=this[_0xf30401(0x35b)]['get'](_0x4b4a3d);_0x314c6e||(_0x314c6e=new Map(),this['_viewData'][_0xf30401(0x264)](_0x4b4a3d,_0x314c6e));let _0x2a52c5=_0x314c6e['get'](_0x53667d);return _0x2a52c5||(_0x2a52c5=new Map(),_0x314c6e[_0xf30401(0x264)](_0x53667d,_0x2a52c5)),_0x2a52c5;}['updateConfig'](_0xd819cf){const {unitId:_0x42120f,subUnitId:_0x206ed4,pivotTableId:_0x36e5c5,pivotTableConfig:_0x11b362,collectionConfig:_0x3b71a9}=_0xd819cf,_0x179caa={'unitId':_0x42120f,'subUnitId':_0x206ed4,'oldSubUnitId':_0x206ed4,'pivotTableId':_0x36e5c5,'pivotTableConfig':_0x11b362,'collectionConfig':_0x3b71a9};this['_commandService']['executeCommand'](co['id'],_0x179caa,{'onlyLocal':!0x0});}[_0x1d896e(0x261)](_0x59ece0,_0x4c7eb5,_0x10bf01,_0x598b82,_0x4c209a,_0x595184,_0x4ed3d7,_0x288022=!0x1){const _0x4398ae=_0x1d896e;var _0x2c69b8;this['_commandService'][_0x4398ae(0x420)](Dt['id'],{'single':{'unitId':_0x59ece0,'subUnitId':_0x4c7eb5,'type':_0x10bf01,'pivotTableId':_0x598b82,'view':_0x4c209a,'pivotConfig':_0x595184},'collectionConfig':{[_0x59ece0]:_0x4ed3d7}},{'onlyLocal':!0x0});const _0x234a25=!!((_0x2c69b8=this['getPivotTableInstance'](_0x598b82))!=null&&_0x2c69b8[_0x4398ae(0x2bf)]()),_0x154bb7=this[_0x4398ae(0x431)](_0x59ece0,_0x4c7eb5,_0x598b82);_0x154bb7&&this['updateViewData']({'view':_0x4c209a,'pivotTableId':_0x598b82,'textInfo':this[_0x4398ae(0x25a)](),'isEmpty':_0x234a25,'targetCellInfo':_0x154bb7[_0x4398ae(0x1e4)]},_0x288022);}[_0x1d896e(0x3b9)](_0x1a4290,_0x17c988){const _0x2115d0=_0x1d896e,{targetCellInfo:_0x58ae0a,pivotTableId:_0x3a3899}=_0x1a4290,{unitId:_0x12df26,subUnitId:_0x49c9ba}=_0x58ae0a,_0x4e2f6f=this[_0x2115d0(0x315)](_0x12df26,_0x49c9ba),_0x55a362=_0x4e2f6f[_0x2115d0(0x283)](_0x3a3899);let _0x111e3d,_0x37c53e;_0x55a362&&(_0x111e3d=_0x55a362['rangeCache'],_0x37c53e=_0x55a362[_0x2115d0(0x23f)]);const {rangesCache:_0x370632,matrix:_0x765ab1}=Di(_0x1a4290);_0x4e2f6f[_0x2115d0(0x264)](_0x3a3899,{'rangeCache':_0x370632,'matrix':_0x765ab1,'oldMatrix':_0x37c53e,'oldRangeCache':_0x111e3d}),_0x17c988||this['_viewData$'][_0x2115d0(0x30d)]({'unitId':_0x12df26,'subUnitId':_0x49c9ba,'pivotTableId':_0x3a3899});}[_0x1d896e(0x34f)](_0x237897,_0xa54457,_0x3530b1,_0x4c20e9,_0x34c047){this['_updateModelCache'](_0x237897,_0xa54457,_0x3530b1,_0x34c047),this['_updatePivotTableInstanceCache'](_0x3530b1,_0x4c20e9);}[_0x1d896e(0x2b9)](_0x152fc4,_0x5a171f,_0x2a0d00){const _0x58dc97=_0x1d896e,_0x5bd61e=this[_0x58dc97(0x309)](_0x152fc4);_0x5bd61e[_0x58dc97(0x2a6)](_0x2a0d00)[_0x58dc97(0x412)](_0x5b311d=>{const _0x2e1e84=_0x58dc97;_0x5bd61e[_0x2e1e84(0x452)](_0x5b311d);}),this[_0x58dc97(0x3c9)](_0x152fc4,_0x2a0d00),this[_0x58dc97(0x34a)](_0x152fc4,_0x5a171f,_0x2a0d00),this[_0x58dc97(0x2ab)](_0x2a0d00);}[_0x1d896e(0x1d1)](_0x39269a,_0x15ac2e,_0x5b7012,_0x2057c9){const _0x3819ac=_0x1d896e;this[_0x3819ac(0x3cf)](_0x39269a,_0x15ac2e,_0x5b7012,_0x2057c9);}[_0x1d896e(0x431)](_0x8d5d9c,_0x47654f,_0x8bafa8){const _0x371d09=_0x1d896e;var _0x25113e,_0xa4783d;const _0x3f9994=(_0xa4783d=(_0x25113e=this[_0x371d09(0x2d1)][_0x371d09(0x283)](_0x8d5d9c))==null?void 0x0:_0x25113e[_0x371d09(0x283)](_0x47654f))==null?void 0x0:_0xa4783d[_0x371d09(0x283)](_0x8bafa8);if(_0x3f9994)return _0x3f9994;}[_0x1d896e(0x265)](_0xc9484,_0x2474c0,_0x5138f1){const _0x1ad66c=_0x1d896e;var _0x4c49cf,_0x144c1f;const _0x5e816f=(_0x144c1f=(_0x4c49cf=this[_0x1ad66c(0x2d1)]['get'](_0xc9484))==null?void 0x0:_0x4c49cf[_0x1ad66c(0x283)](_0x2474c0))==null?void 0x0:_0x144c1f[_0x1ad66c(0x283)](_0x5138f1);if(_0x5e816f)return _0x5e816f[_0x1ad66c(0x2cb)];}[_0x1d896e(0x3b5)](_0x3d9677){return this['_pivotTableInstanceCache']['get'](_0x3d9677);}['deleteUnitId'](_0x2290bc){const _0x282bf6=_0x1d896e;this[_0x282bf6(0x2d1)]['delete'](_0x2290bc);const _0x2a1f41=this['_dataFieldManagerCollection']['get'](_0x2290bc);_0x2a1f41&&(_0x2a1f41[_0x282bf6(0x2e7)](),this[_0x282bf6(0x32b)]['delete'](_0x2290bc)),this[_0x282bf6(0x35b)]['delete'](_0x2290bc),this['needSameDeleteModel'][_0x282bf6(0x412)](_0x5ca573=>{_0x5ca573['deleteUnitId'](_0x2290bc);});}['addCollectionByJSON'](_0x1b4ff2,_0x14aded,_0xd1b028,_0x3d5b74){const _0x2e1cb5=_0x1d896e;return this[_0x2e1cb5(0x309)](_0xd1b028[_0x2e1cb5(0x3b0)])[_0x2e1cb5(0x201)](_0x1b4ff2,_0x14aded,_0xd1b028,_0x3d5b74);}[_0x1d896e(0x3ba)](_0x6c36bd){const _0x512357=_0x1d896e;return this[_0x512357(0x309)](_0x6c36bd['unitId'])[_0x512357(0x3ba)](_0x6c36bd);}[_0x1d896e(0x435)](_0x242e3d,_0x2aa7e9,_0x50608d){const _0x1fe2f6=_0x1d896e;this[_0x1fe2f6(0x309)](_0x50608d['unitId'])[_0x1fe2f6(0x435)](_0x242e3d,_0x2aa7e9,_0x50608d);}[_0x1d896e(0x30b)](_0xc54aae,_0x2b368e){const _0x34ab1f=_0x1d896e;this[_0x34ab1f(0x309)](_0xc54aae)[_0x34ab1f(0x452)](_0x2b368e);}[_0x1d896e(0x3c9)](_0x3423ce,_0x2b9e10){const _0x58d107=_0x1d896e;this[_0x58d107(0x309)](_0x3423ce)['removeCollectionImp'](_0x2b9e10);}[_0x1d896e(0x2c0)](_0x2b131c,_0x153fdf){const _0x3fc752=_0x1d896e;var _0x4a2c65;return(_0x4a2c65=this[_0x3fc752(0x2d1)][_0x3fc752(0x283)](_0x2b131c))==null?void 0x0:_0x4a2c65[_0x3fc752(0x283)](_0x153fdf);}['getTargetByPivotId'](_0x3ec9e7){const _0x3d6eea=_0x1d896e;for(const [_0x462dc9,_0x15e746]of this['_model'][_0x3d6eea(0x29f)]())for(const [_0x59b7fc,_0x2085f8]of _0x15e746[_0x3d6eea(0x29f)]())if(_0x2085f8[_0x3d6eea(0x244)](_0x3ec9e7))return{'unitId':_0x462dc9,'subUnitId':_0x59b7fc};return null;}[_0x1d896e(0x307)](_0x4ddfa4,_0x1f01e4,_0x4075f3,_0x1fd813){const _0x2549a4=_0x1d896e,_0x34b971=this['_ensureViewDataMap'](_0x4ddfa4,_0x1f01e4);_0x1fd813?_0x34b971[_0x2549a4(0x264)](_0x4075f3,_0x1fd813):_0x34b971['delete'](_0x4075f3),this['_viewData$']['next']({'unitId':_0x4ddfa4,'subUnitId':_0x1f01e4,'pivotTableId':_0x4075f3});}[_0x1d896e(0x2e7)](){const _0x276757=_0x1d896e;super[_0x276757(0x2e7)]();}['getViewData'](_0x557387,_0x5642b0,_0x1a753c){const _0x289395=_0x1d896e;var _0xf3299d,_0x588530;const _0x1473c8=(_0x588530=(_0xf3299d=this['_viewData'][_0x289395(0x283)](_0x557387))==null?void 0x0:_0xf3299d['get'](_0x5642b0))==null?void 0x0:_0x588530[_0x289395(0x283)](_0x1a753c);return _0x1473c8||null;}[_0x1d896e(0x1e1)](_0x435925){const _0x6730c8=_0x1d896e;this[_0x6730c8(0x2bc)](_0x435925);}[_0x1d896e(0x2bc)](_0x51f9cc){const _0x163347=_0x1d896e,{token:_0x33d754,unitId:_0x55bffb,subUnitId:_0x56a091}=_0x51f9cc,_0x4e5eba=_0x55bffb+'-'+_0x56a091+'-'+_0x33d754;this[_0x163347(0x294)][_0x163347(0x283)](_0x4e5eba)&&clearTimeout(this[_0x163347(0x294)]['get'](_0x4e5eba));const _0x4df0fc=setTimeout(()=>{this['queryDirtyPivotTable'](_0x51f9cc),this['_queryingMap']['delete'](_0x4e5eba);},Ti);this['_queryingMap'][_0x163347(0x264)](_0x4e5eba,_0x4df0fc);}[_0x1d896e(0x215)](_0x26d04f){const _0x50619b=_0x1d896e,{unitId:_0x2fe8ff,subUnitId:_0x188fc5,token:_0xd9e31,type:_0x3b482b,pivotConfig:_0x3f483a}=_0x26d04f,_0x4c484e=this[_0x50619b(0x3b5)](_0xd9e31),_0x2edbed=_0x4c484e==null?void 0x0:_0x4c484e[_0x50619b(0x2f4)](),_0xc09f05=_0x3f483a!=null?_0x3f483a:this[_0x50619b(0x431)](_0x2fe8ff,_0x188fc5,_0xd9e31);_0xc09f05&&(_0xc09f05['isEmpty']=!!(_0x4c484e!=null&&_0x4c484e[_0x50619b(0x2bf)]())),(_0x2edbed||_0x3b482b===K['Delete'])&&this['updateView'](_0x2fe8ff,_0x188fc5,_0x3b482b,_0xd9e31,_0x2edbed,_0xc09f05,this[_0x50619b(0x309)](_0x2fe8ff)['toJSON']());}['toJSON'](_0x28e342){const _0x53d4e8=_0x1d896e,_0x32ed73={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x53d4e8(0x309)](_0x28e342)&&(_0x32ed73[_0x53d4e8(0x206)][_0x28e342]=this[_0x53d4e8(0x309)](_0x28e342)['toJSON']()),this[_0x53d4e8(0x2d1)]['get'](_0x28e342)){_0x32ed73[_0x53d4e8(0x42d)][_0x28e342]={};const _0x2cec09=this[_0x53d4e8(0x2d1)]['get'](_0x28e342);_0x2cec09!=null&&_0x2cec09[_0x53d4e8(0x26f)]&&[..._0x2cec09['keys']()][_0x53d4e8(0x412)](_0x2f5184=>{const _0x155fdd=_0x53d4e8,_0x5d449a=_0x2cec09[_0x155fdd(0x283)](_0x2f5184);_0x5d449a!=null&&_0x5d449a[_0x155fdd(0x26f)]&&(_0x32ed73[_0x155fdd(0x42d)][_0x28e342][_0x2f5184]={},[..._0x5d449a[_0x155fdd(0x2c7)]()][_0x155fdd(0x412)](_0x3515fb=>{const _0x306251=_0x155fdd,_0x5dd20e=_0x5d449a[_0x306251(0x283)](_0x3515fb);_0x5dd20e&&(_0x32ed73[_0x306251(0x42d)][_0x28e342][_0x2f5184][_0x3515fb]=_0x5dd20e);}));});}return _0x32ed73;}[_0x1d896e(0x2cf)](_0x261fa0){const _0xab0974=_0x1d896e;var _0x763db9;const {dataFieldManagerConfig:_0x3f6fed,pivotTableConfigs:_0x1d19cf}=_0x261fa0;_0x3f6fed&&Object[_0xab0974(0x2c7)](_0x3f6fed)[_0xab0974(0x412)](_0x1a9b17=>{this['getDataFieldManager'](_0x1a9b17)['fromJSON'](_0x3f6fed[_0x1a9b17]);});const _0x43956d=[];if(_0x1d19cf){const _0x57a2cd=(_0x763db9=this[_0xab0974(0x352)][_0xab0974(0x283)](_0x40c50c)[_0xab0974(0x3da)](_0x276871))!=null?_0x763db9:{},{ls:_0x192760,pbk:_0x34876a}=_0x57a2cd,_0x3bcc44=go(so,_0x192760,_0x34876a)[_0xab0974(0x2f2)];Object[_0xab0974(0x2c7)](_0x1d19cf)[_0xab0974(0x412)](_0x58c5f8=>{const _0x391120=_0xab0974;let _0x19dabf=0x0;const _0x201a40=_0x1d19cf[_0x58c5f8];Object[_0x391120(0x2c7)](_0x201a40)['forEach'](_0x2d0981=>{const _0x1eebe3=_0x391120,_0xf8cc8=_0x201a40[_0x2d0981];Object[_0x1eebe3(0x2c7)](_0xf8cc8)[_0x1eebe3(0x412)](_0xcd2404=>{const _0x5aa10f=_0x1eebe3,_0xe080d=_0xf8cc8[_0xcd2404];if(_0xe080d){if(_0x19dabf>=_0x3bcc44)return;_0x19dabf++;const _0xb45bc8=this[_0x5aa10f(0x309)](_0x58c5f8),_0x2c08a5=_0xb45bc8['collections'][_0xcd2404],_0x3fc576=_0x2c08a5[_0x5aa10f(0x36b)]();let _0xb0671a=0x0;const _0x1e2b04=[];for(const _0x289028 of _0x3fc576){const _0x546c28=_0x2c08a5['getFieldById'](_0x289028);if(_0x261c7a(_0x546c28)){const _0x9d1bf3=_0x546c28[_0x5aa10f(0x3f5)](),_0x448782=_0x2c08a5['getFieldById'](_0x9d1bf3);_0x448782&&_0x1e2b04['push']([_0x546c28,_0x448782]);continue;}_0xb45bc8[_0x5aa10f(0x2f9)](_0x289028,_0xe080d[_0x5aa10f(0x456)],_0xb0671a),_0xb0671a++;}_0x1e2b04[_0x5aa10f(0x412)](([_0x5eab50,_0x6aaccd])=>{const _0x4120c6=_0x5aa10f;_0x5eab50[_0x4120c6(0x225)](_0x6aaccd);});const _0x98101c=new _0x4a8226(_0x2c08a5);_0x98101c[_0x5aa10f(0x2cf)](_0xe080d[_0x5aa10f(0x2cb)]),this[_0x5aa10f(0x34f)](_0x58c5f8,_0x2d0981,_0xcd2404,_0x98101c,_0xe080d);const _0x2499b9=_0x98101c[_0x5aa10f(0x2f4)]();_0x43956d[_0x5aa10f(0x45e)]({'unitId':_0x58c5f8,'subUnitId':_0x2d0981,'pivotTableId':_0xcd2404,'view':_0x2499b9[_0x5aa10f(0x23b)](),'pivotConfig':_0xe080d,'type':K[_0x5aa10f(0x2de)]});const _0x7b8979=!!_0x98101c['isEmpty'](),_0x39916b={'view':_0x2499b9,'pivotTableId':_0xcd2404,'textInfo':this[_0x5aa10f(0x25a)](),'isEmpty':_0x7b8979,'targetCellInfo':_0xe080d[_0x5aa10f(0x1e4)]};this[_0x5aa10f(0x3b9)](_0x39916b,!0x1);}});});});}_0x3f6fed&&Object[_0xab0974(0x2c7)](_0x3f6fed)['forEach'](_0x1b7429=>{const _0x260d13=_0xab0974,_0x2f2f5a=this[_0x260d13(0x309)](_0x1b7429);this[_0x260d13(0x322)][_0x260d13(0x30d)](_0x2f2f5a[_0x260d13(0x205)]);}),this[_0xab0974(0x262)]['executeCommand'](Dt['id'],{'batch':_0x43956d,'collectionConfig':_0x3f6fed},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x176051=_0x1d896e;this[_0x176051(0x28b)](this[_0x176051(0x2f5)][_0x176051(0x2d0)]({'toJson':_0x488aaf=>JSON[_0x176051(0x403)](this[_0x176051(0x23b)](_0x488aaf)),'parseJson':_0x218dc5=>{const _0x51a2a7=_0x176051;if(!_0x218dc5)return{};try{return JSON[_0x51a2a7(0x1e6)](_0x218dc5);}catch{return{};}},'businesses':[_0x2fbb89[_0x176051(0x3b8)]],'pluginName':ao,'onLoad':(_0xe528c4,_0x27163c)=>{const _0x5e935e=_0x176051;this[_0x5e935e(0x2cf)](_0x27163c);},'onUnLoad':_0x1b200b=>{const _0x4a4aba=_0x176051;this[_0x4a4aba(0x1d4)](_0x1b200b);}}));}};$=Ui([je(0x0,_0xefbfb7(_0x5a5cda)),je(0x1,_0x1ca4cb),je(0x2,_0xefbfb7(_0x581eb5)),je(0x3,_0x40c50c),je(0x4,_0x136a21),je(0x5,_0xefbfb7(_0x1d2dc8))],$);const Vi={0x0:{0x0:{'v':_0x1d896e(0x25d),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x1d896e(0x1e2),'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':_0x1d896e(0x42f),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':_0x1d896e(0x341),'s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},Bt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Wo=(_0x270c08,_0x479dde)=>{const _0x3f79a4=_0x1d896e,_0x582459=new _0x2d38e2(),_0x223d5d=new _0x2d38e2(Vi),{row:_0x4c04eb,col:_0x5b37dc}=_0x479dde;_0x223d5d['forValue']((_0x50956f,_0x129a66,_0x5a91f3)=>{const _0x40c339=_0x1e98;let _0x29ab9c='';_0x5a91f3['v']===_0x40c339(0x25d)?_0x29ab9c=_0x270c08['filter']:_0x5a91f3['v']===_0x40c339(0x42f)?_0x29ab9c=_0x270c08[_0x40c339(0x42f)]:_0x5a91f3['v']===_0x40c339(0x1e2)?_0x29ab9c=_0x270c08['column']:_0x5a91f3['v']===_0x40c339(0x341)&&(_0x29ab9c=_0x270c08[_0x40c339(0x341)]),_0x582459[_0x40c339(0x3aa)](_0x50956f+_0x4c04eb,_0x129a66+_0x5b37dc,{..._0x5a91f3,'v':_0x29ab9c});});const _0x5bcc2f=_0x4e7c2a[_0x3f79a4(0x1e7)](Bt);return Object['keys'](Bt)[_0x3f79a4(0x412)](_0x13a27a=>{const _0xd0bda4=_0x3f79a4;_0x5bcc2f[_0x13a27a]=Bt[_0x13a27a][_0xd0bda4(0x349)](_0x5a0fd2=>({..._0x5a0fd2,'startRow':_0x5a0fd2['startRow']+_0x4c04eb,'endRow':_0x5a0fd2['endRow']+_0x4c04eb,'startColumn':_0x5a0fd2[_0xd0bda4(0x40f)]+_0x5b37dc,'endColumn':_0x5a0fd2[_0xd0bda4(0x31a)]+_0x5b37dc}));}),{'matrixCache':_0x582459,'rangesCache':_0x5bcc2f};};function xi(_0x24ffe4,_0x277963){const _0x4ac696=_0x1d896e;let _0x1d5d96='';const _0x2f737f=this[_0x4ac696(0x25a)]();switch(_0x277963){case _0xdf4113[_0x4ac696(0x2b2)]:_0x1d5d96=_0x2f737f[_0x4ac696(0x1f5)]+_0x24ffe4;break;case _0xdf4113['count']:_0x1d5d96=_0x2f737f[_0x4ac696(0x274)]+_0x24ffe4;break;case _0xdf4113[_0x4ac696(0x3c4)]:_0x1d5d96=_0x2f737f[_0x4ac696(0x297)]+_0x24ffe4;break;case _0xdf4113[_0x4ac696(0x1ec)]:_0x1d5d96=_0x2f737f[_0x4ac696(0x3d1)]+_0x24ffe4;break;case _0xdf4113[_0x4ac696(0x258)]:_0x1d5d96=_0x2f737f[_0x4ac696(0x45c)]+_0x24ffe4;break;case _0xdf4113['product']:_0x1d5d96=_0x2f737f[_0x4ac696(0x3fb)]+_0x24ffe4;break;case _0xdf4113[_0x4ac696(0x277)]:_0x1d5d96=_0x2f737f[_0x4ac696(0x278)]+_0x24ffe4;break;case _0xdf4113[_0x4ac696(0x3ec)]:_0x1d5d96=_0x2f737f['sheets-pivot.stdDevpName']+_0x24ffe4;break;case _0xdf4113[_0x4ac696(0x43e)]:_0x1d5d96=_0x2f737f['sheets-pivot.sumName']+_0x24ffe4;break;case _0xdf4113[_0x4ac696(0x428)]:_0x1d5d96=_0x2f737f[_0x4ac696(0x324)]+_0x24ffe4;break;case _0xdf4113[_0x4ac696(0x3dc)]:_0x1d5d96=_0x2f737f[_0x4ac696(0x2e4)]+_0x24ffe4;break;default:_0x1d5d96=_0x24ffe4;break;}return _0x1d5d96;}function Oi(_0x4d6b62,_0x1b07e1,_0x14e171,_0x4cd391,_0x2095c3){const _0x4a8c0c=_0x1d896e;var _0x2ac313,_0x45c3c2,_0x276e4f,_0x297f22,_0x1db9b0;const _0x55b58e=_0x17c069(_0x4d6b62,_0x1b07e1),{rangesInfo:_0x33f41f,areaInfo:_0x22ca6b,headerMap:_0x225c22}=_0x2095c3;if(!_0x33f41f||!_0x22ca6b||!_0x225c22)return;const _0x5eca2d=Object[_0x4a8c0c(0x2c7)](_0x33f41f)[_0x4a8c0c(0x27d)](_0x355b32=>_0x33f41f[_0x355b32]['some'](_0x44fa8c=>_0x27a2e6['contains'](_0x44fa8c,_0x55b58e))),_0x12234f=_0x22ca6b;let _0x5d1d4b,_0x58d50c,_0x5289d2;if(_0x5eca2d===_0x4a8c0c(0x28d))_0x5d1d4b=(_0x2ac313=_0x12234f==null?void 0x0:_0x12234f[_0x4a8c0c(0x3f3)])==null?void 0x0:_0x2ac313[_0x4d6b62],_0x58d50c=(_0x45c3c2=_0x225c22==null?void 0x0:_0x225c22[_0x4a8c0c(0x2df)])==null?void 0x0:_0x45c3c2[_0x1b07e1],_0x5289d2=_0x58d50c==null?void 0x0:_0x58d50c[_0x4a8c0c(0x422)];else{if(_0x5eca2d===_0x4a8c0c(0x29b))_0x5d1d4b=(_0x276e4f=_0x12234f==null?void 0x0:_0x12234f[_0x4a8c0c(0x223)])==null?void 0x0:_0x276e4f[_0x1b07e1],_0x58d50c=(_0x297f22=_0x225c22['colHeaderMap'])==null?void 0x0:_0x297f22[_0x4d6b62+0x1+_0x1b07e1-_0x33f41f[_0x4a8c0c(0x29b)][0x0][_0x4a8c0c(0x40f)]],_0x5289d2=_0x58d50c==null?void 0x0:_0x58d50c[_0x4a8c0c(0x422)];else{if(_0x5eca2d===_0x4a8c0c(0x3e6))_0x5d1d4b=(_0x1db9b0=_0x12234f==null?void 0x0:_0x12234f[_0x4a8c0c(0x2ad)])==null?void 0x0:_0x1db9b0[_0x1b07e1],_0x5289d2=_0x5d1d4b==null?void 0x0:_0x5d1d4b[_0x4a8c0c(0x422)];else{if(_0x5eca2d===_0x4a8c0c(0x2fe)){const _0x1e62e5=_0x14e171==null?void 0x0:_0x14e171['fi'];_0x1e62e5!==void 0x0&&(_0x5289d2=_0x4cd391[_0x4a8c0c(0x355)](_0x1e62e5));}}}}return{'filterId':_0x5289d2,'info':_0x5d1d4b,'data':_0x14e171,'headerInfo':_0x58d50c};}function Ei(_0x161b50,_0x140594,_0x3f0877){const _0x2634d8=_0x1d896e,_0x13f54d=_0x161b50[_0x2634d8(0x3d7)],_0x3f13ed=_0x13f54d[_0x2634d8(0x36b)](),_0x1cb439=new Set();_0x161b50['iterateField'](_0x1a30b3=>{const _0x44ba41=_0x2634d8;_0x1cb439[_0x44ba41(0x203)](_0x1a30b3[_0x44ba41(0x3de)]);});const _0x45e878=_0x3f13ed['map'](_0x23e37a=>{const _0x212bfc=_0x2634d8,_0x5e8e8f=_0x13f54d[_0x212bfc(0x212)](_0x23e37a);return{'checked':_0x1cb439[_0x212bfc(0x244)](_0x23e37a),'dataFieldId':_0x5e8e8f['id'],'id':_0x5e8e8f['id'],'name':_0x13f54d[_0x212bfc(0x222)](_0x5e8e8f['id']),'type':_0x5e8e8f[_0x212bfc(0x2f7)](),'pivotTableId':_0x140594};}),_0x33d952=[];_0x161b50[_0x2634d8(0x362)](_0x26bc09[_0x2634d8(0x30f)],_0x145aad=>{const _0x481dba=_0x2634d8;_0x33d952[_0x481dba(0x45e)]({'dataFieldId':_0x145aad[_0x481dba(0x3de)],'tableFieldId':_0x145aad[_0x481dba(0x433)](),'displayName':_0x145aad['getDisplayName']()});});const _0x4b7c60=[];_0x161b50[_0x2634d8(0x362)](_0x26bc09['Column'],_0x5431e2=>{const _0x45ab71=_0x2634d8;_0x4b7c60[_0x45ab71(0x45e)]({'dataFieldId':_0x5431e2[_0x45ab71(0x3de)],'tableFieldId':_0x5431e2[_0x45ab71(0x433)](),'displayName':_0x5431e2[_0x45ab71(0x222)]()});});const _0x4372a5=[];if(_0x161b50[_0x2634d8(0x362)](_0x26bc09[_0x2634d8(0x1fb)],_0x153854=>{const _0x4702f4=_0x2634d8;_0x4372a5[_0x4702f4(0x45e)]({'dataFieldId':_0x153854['dataFieldId'],'tableFieldId':_0x153854[_0x4702f4(0x433)](),'displayName':_0x153854['getDisplayName'](),'format':_0x153854[_0x4702f4(0x3cb)](),'subTotalType':_0x153854['getSubtotal']()});}),_0x4372a5['length']>0x1){const _0x54aae4=_0x161b50[_0x2634d8(0x1d2)]();(_0x161b50[_0x2634d8(0x288)]()?_0x4b7c60:_0x33d952)['splice'](_0x54aae4,0x0,{'dataFieldId':'','tableFieldId':_0x2634d8(0x43d),'displayName':_0x2634d8(0x38e)});}const _0x50aa7c=[];_0x161b50[_0x2634d8(0x362)](_0x26bc09['Filter'],_0x212484=>{const _0x7300ee=_0x2634d8;_0x50aa7c['push']({'dataFieldId':_0x212484['dataFieldId'],'tableFieldId':_0x212484['getId'](),'displayName':_0x212484[_0x7300ee(0x222)]()});});const _0x2ed9e6=_0x3f0877[_0x2634d8(0x456)];return{'sourceList':_0x45e878,'sourceRange':_0x2ed9e6,'rowFields':_0x33d952,'columnFields':_0x4b7c60,'valueFields':_0x4372a5,'filterFields':_0x50aa7c,'positionInfo':_0x3f0877[_0x2634d8(0x1e4)]};}function fo(_0x2e45e4,_0x44e2de,_0x1afc4e='',_0x5cc158={}){const _0x12e370=_0x1d896e,_0x400910=_0x2e45e4[_0x12e370(0x283)](_0x3cd624);for(const _0x17c1cd in _0x44e2de)if(Object[_0x12e370(0x34e)]['hasOwnProperty']['call'](_0x44e2de,_0x17c1cd)){const _0x228a83=_0x1afc4e?_0x1afc4e+'.'+_0x17c1cd:_0x17c1cd;typeof _0x44e2de[_0x17c1cd]==_0x12e370(0x325)&&_0x44e2de[_0x17c1cd]!==null&&!Array[_0x12e370(0x256)](_0x44e2de[_0x17c1cd])?fo(_0x2e45e4,_0x44e2de[_0x17c1cd],_0x228a83,_0x5cc158):_0x5cc158[_0x228a83]=_0x400910['t'](_0x228a83);}return _0x5cc158;}const Kt=_0x14dd1d=>{const _0x4cda1e=_0x1d896e;if(!_0x14dd1d)return[];const {rowRanges:_0x193a74,colRanges:_0x3c74e8,cornerRanges:_0x3b75af,dataRanges:_0x1d96c7,pageRanges:_0x1f6b6f}=_0x14dd1d,_0x1b2e41=[..._0x3c74e8,..._0x193a74,..._0x1d96c7,..._0x3b75af][_0x4cda1e(0x25d)](_0x395fb2=>_0x395fb2[_0x4cda1e(0x1df)]>=0x0&&_0x395fb2[_0x4cda1e(0x40f)]>=0x0&&_0x395fb2[_0x4cda1e(0x2bd)]>=0x0&&_0x395fb2[_0x4cda1e(0x31a)]>=0x0);let _0x5c7a2b=Number[_0x4cda1e(0x2f8)],_0x1f6359=Number['MIN_SAFE_INTEGER'],_0x65316=Number[_0x4cda1e(0x2f8)],_0x5d9f95=Number[_0x4cda1e(0x31c)];for(let _0x1a202d=0x0;_0x1a202d<_0x1b2e41[_0x4cda1e(0x40c)];_0x1a202d++)_0x5c7a2b=Math[_0x4cda1e(0x258)](_0x5c7a2b,_0x1b2e41[_0x1a202d][_0x4cda1e(0x1df)]),_0x1f6359=Math[_0x4cda1e(0x1ec)](_0x1f6359,_0x1b2e41[_0x1a202d][_0x4cda1e(0x2bd)]),_0x65316=Math[_0x4cda1e(0x258)](_0x65316,_0x1b2e41[_0x1a202d][_0x4cda1e(0x40f)]),_0x5d9f95=Math['max'](_0x5d9f95,_0x1b2e41[_0x1a202d][_0x4cda1e(0x31a)]);return[..._0x1f6b6f,{'startRow':_0x5c7a2b,'endRow':_0x1f6359,'startColumn':_0x65316,'endColumn':_0x5d9f95}];};function Ai(_0x4c4cdb,_0x22086d){const _0x42c72a=_0x1d896e,_0x21893d=_0x22086d[_0x42c72a(0x354)]['drillDown'],{pivotTableId:_0x53c87c,unitId:_0x20e71e,subUnitId:_0x3f1a09}=_0x22086d;if(!_0x21893d)return;const _0x22700b=_0x4c4cdb['get']($),_0x295d32=_0x22700b['getPivotTableInstance'](_0x53c87c),_0x22e5b8=_0x22700b['getPivotTableConfig'](_0x20e71e,_0x3f1a09,_0x53c87c);if(!_0x295d32||!_0x22e5b8)return;const _0x190478=_0x295d32[_0x42c72a(0x1e9)](_0x21893d[_0x42c72a(0x39a)]);if(!(_0x190478!=null&&_0x190478['length']))return;const _0x5edc20=_0x22e5b8['sourceRangeInfo'],{unitId:_0x282524,subUnitId:_0x3de0d2,range:_0x5ebf9a}=_0x5edc20;let _0x5ceef0=0x0;const _0x2726bb=_0x295d32[_0x42c72a(0x3d7)]['getFieldIds']()[_0x42c72a(0x3ca)]((_0x10a0b7,_0x3489a2)=>{const _0x380071=_0x42c72a;var _0x150322;const _0x4ad05d=(_0x150322=_0x295d32[_0x380071(0x3c1)](_0x3489a2))==null?void 0x0:_0x150322[_0x380071(0x3b4)]();return _0x4ad05d&&(_0x10a0b7[String(_0x5ceef0)]=_0x4ad05d),_0x5ceef0++,_0x10a0b7;},{});return{'indexes':_0x190478,'range':_0x5ebf9a,'sourceUnitId':_0x282524,'sourceSubUnitId':_0x3de0d2,'formatMap':_0x2726bb};}function jo(_0x29139d,_0x29e3b8){const _0x701068=_0x1d896e;if(!_0x29139d||!_0x29e3b8)return!0x0;const _0x1390f9=_0x3d74bc(Go,Jo),_0x374285=new Function('return\x20'+_0x1390f9)()(_0x29139d,_0x29e3b8)[_0x701068(0x2a2)],_0x450719=_0x4a38d2(_0x374285,'sf',ko);return!((_0x374285==null?void 0x0:_0x374285['rt'])===_0x3fc155[_0x701068(0x2c9)]&&!_0x450719);}function go(_0x315851,_0x4adb13,_0x4082de){const _0x47465f=_0x1d896e,_0x400667={'count':_0x315851,'timeValid':!0x1};if(!_0x4adb13||!_0x4082de)return _0x400667;const _0x24f1f4=_0x3d74bc(Go,Jo),_0xe1c16a=new Function(_0x47465f(0x1d0)+_0x24f1f4)()(_0x4adb13,_0x4082de);if(_0xe1c16a!=null&&_0xe1c16a[_0x47465f(0x37f)]){const _0x324521=_0xe1c16a[_0x47465f(0x2a2)],_0x14c59a=_0x4a38d2(_0x324521,'sf',ko);return{'count':_0x16d0c7(_0x324521,_0x14c59a,_0x47465f(0x2e9),_0x315851,_0x315851,0x0),'timeValid':_0x14c59a};}return _0x400667;}function Ho(_0x5fba7c,_0x4407a8,_0xa5ffbd,_0x291dbf){const _0x17c7a3=_0x1d896e,_0x3dff6b={'subUnitId':_0xa5ffbd,'unitId':_0x4407a8,'cellValue':_0x18a8ce(_0x291dbf)},_0xeac031=_0x5715e4(_0x5fba7c,_0x3dff6b);let _0x311bf6=!0x1;return new _0x2d38e2(_0xeac031[_0x17c7a3(0x2c5)])[_0x17c7a3(0x2dc)]((_0x57b7fb,_0x1c3f22,_0x52f1ff)=>{const _0x543e2e=_0x17c7a3;if(!_0x311bf6&&_0x52f1ff&&(_0x52f1ff[_0x543e2e(0x27a)]||_0x52f1ff['f']||_0x52f1ff['p']||_0x52f1ff['s']||_0x52f1ff['si']||_0x52f1ff['t']||_0x52f1ff['v']))return _0x311bf6=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x33e469['id'],'params':_0xeac031},'setRangeValueRedoMutation':{'id':_0x33e469['id'],'params':_0x3dff6b},'shouldClear':_0x311bf6};}function ki(_0x44c172){const {row:_0xe2b3d6,col:_0x26ee1a}=_0x44c172,_0x489c24={'startRow':_0xe2b3d6,'endRow':_0xe2b3d6,'startColumn':_0x26ee1a,'endColumn':_0x26ee1a},_0x6e90e9={'startRow':_0xe2b3d6+0x2,'endRow':_0xe2b3d6+0xe,'startColumn':_0x26ee1a,'endColumn':_0x26ee1a+0x6};return[_0x489c24,_0x6e90e9];}function Li(_0x23ffad,_0x16929c,_0x1484b3){const _0xb24b9=_0x1d896e,{cornerView:_0x37474b,rowView:_0x2a22dd,colView:_0x1e849f,pageView:_0x4bcc49}=_0x23ffad,{row:_0x3df8e8,col:_0x41a62d}=_0x16929c;if(_0x1484b3)return{'rowCount':bi+_0x3df8e8,'colCount':Si+_0x41a62d};const _0x681b5c=_0x4bcc49['lastRow']>-0x1?_0x4bcc49[_0xb24b9(0x2b0)]+0x1:0x0,_0x2953fb=_0x4bcc49[_0xb24b9(0x2cd)]>-0x1?_0x4bcc49[_0xb24b9(0x2cd)]:0x0,_0x5318af=_0x3df8e8+_0x681b5c+(_0x681b5c?0x1:0x0)+_0x37474b[_0xb24b9(0x39b)]+_0x2a22dd['rowCount'],_0xf3d9e3=_0x41a62d+_0x2953fb,_0x36ccf5=_0x41a62d+_0x37474b[_0xb24b9(0x39f)]+_0x1e849f[_0xb24b9(0x39f)],_0x47a9a4=Math[_0xb24b9(0x1ec)](_0xf3d9e3,_0x36ccf5);return{'rowCount':_0x5318af,'colCount':_0x47a9a4};}function we(_0xd4f5ec,_0x348ce6,_0x42fa45,_0x4eaab1){const _0x31a5bb=_0x1d896e,{row:_0x114b54,col:_0x5207eb,unitId:_0x1fbec2,subUnitId:_0x5377d8}=_0x42fa45,_0x36c643=Li(_0x348ce6,{'row':_0x114b54,'col':_0x5207eb},_0x4eaab1),_0x2168d2=_0xd4f5ec[_0x31a5bb(0x283)](_0x1ca4cb),_0x987447=_0x2420d3(_0x2168d2,{'unitId':_0x1fbec2,'subUnitId':_0x5377d8}),_0x138457=[],_0x20d7c3=[];if(!_0x987447)return{'undos':_0x20d7c3,'redos':_0x138457};const {worksheet:_0x47e1ee}=_0x987447,_0x1a198d=_0x47e1ee[_0x31a5bb(0x221)](),_0x538a97=_0x47e1ee[_0x31a5bb(0x2a9)]();return _0x1a198d<_0x36c643[_0x31a5bb(0x39b)]&&(_0x138457['push']({'id':_0x454c7a['id'],'params':{'unitId':_0x1fbec2,'subUnitId':_0x5377d8,'range':{'startRow':_0x1a198d,'endRow':_0x36c643['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x538a97-0x1}}}),_0x20d7c3[_0x31a5bb(0x45e)]({'id':_0x432403['id'],'params':{'unitId':_0x1fbec2,'subUnitId':_0x5377d8,'range':{'startRow':_0x1a198d,'endRow':_0x36c643[_0x31a5bb(0x39b)]-0x1,'startColumn':0x0,'endColumn':_0x538a97-0x1}}})),_0x538a97<_0x36c643[_0x31a5bb(0x39f)]&&(_0x138457[_0x31a5bb(0x45e)]({'id':_0xe73d41['id'],'params':{'unitId':_0x1fbec2,'subUnitId':_0x5377d8,'range':{'startRow':0x0,'endRow':_0x1a198d-0x1,'startColumn':_0x538a97,'endColumn':_0x36c643['colCount']-0x1}}}),_0x20d7c3['push']({'id':_0x2d1e86['id'],'params':{'unitId':_0x1fbec2,'subUnitId':_0x5377d8,'range':{'startRow':0x0,'endRow':_0x1a198d-0x1,'startColumn':_0x538a97,'endColumn':_0x36c643[_0x31a5bb(0x39f)]-0x1}}})),{'undos':_0x20d7c3,'redos':_0x138457};}function Bi(_0x12441b){let _0x187bc4=0x0;for(let _0x35c354=0x0;_0x35c354<_0x12441b['length'];_0x35c354++){const _0x4e951d=_0x12441b['charCodeAt'](_0x35c354);_0x4e951d>=0x4e00&&_0x4e951d<=0x9fff||_0x4e951d>=0x3000&&_0x4e951d<=0x303f||_0x4e951d>=0xff00&&_0x4e951d<=0xffef?_0x187bc4+=0x2:_0x187bc4+=0x1;}return _0x187bc4;}function Po(_0x27b354,_0x5323f6,_0x1a73a7,_0x5df82c){const _0x19c50d=_0x1d896e;var _0x57ef45,_0x4df202,_0xa70841,_0x6eccf8;const {rowCount:_0x4ef4b0,colCount:_0xebfd4,headerMap:_0x295eb8}=_0x27b354,_0x201f9c=0x64,_0x5a7a7b=Math[_0x19c50d(0x258)](_0x4ef4b0,_0x201f9c),_0x5e94e3=Math[_0x19c50d(0x258)](_0xebfd4,_0x201f9c);let _0x29bb3b='',_0x3560f0=0x0;for(let _0x448243=0x0;_0x448243<_0x5a7a7b;_0x448243++)for(let _0x2adbc2=0x0;_0x2adbc2<_0x5e94e3;_0x2adbc2++){const _0x10054a={...(_0x4df202=(_0x57ef45=_0x27b354[_0x19c50d(0x382)])==null?void 0x0:_0x57ef45[_0x448243])==null?void 0x0:_0x4df202[_0x2adbc2]},_0x295f5c=(_0xa70841=_0x295eb8[_0x448243])==null?void 0x0:_0xa70841['tableFieldId'],_0x2cf73d=_0x5df82c[_0x295f5c];let _0x131f36=_0x27b354['getValue'](_0x448243,_0x2adbc2);if(_0x10054a){const _0x60e36f=_0x1a73a7?_0x2adbc2===0x0&&((_0x6eccf8=_0x27b354['getHeaderMapItem'](_0x2adbc2+0x1))==null?void 0x0:_0x6eccf8[_0x19c50d(0x2c3)]):!0x1;_0x131f36=vt(_0x10054a,_0x60e36f,_0x2cf73d,_0x5323f6);}if(_0x131f36!==void 0x0){const _0x3abd8d=Bi(String(_0x131f36));_0x3560f0<_0x3abd8d&&(_0x29bb3b=String(_0x131f36),_0x3560f0=_0x3abd8d);}}return _0x29bb3b;}function Ki(_0x1f2a63){const _0x4138d9=_0x1d896e,{rowCount:_0x4f30c9,colCount:_0x14e0a8}=_0x1f2a63;let _0x42b22b='',_0x21d122=0x0;for(let _0x5d7117=_0x4f30c9-0x1;_0x5d7117>0x0&&_0x5d7117>_0x4f30c9-0x3;_0x5d7117--)for(let _0x3a42bf=0x0;_0x3a42bf<_0x14e0a8;_0x3a42bf++){const _0x43d91b=_0x1f2a63[_0x4138d9(0x3e4)](_0x5d7117,_0x3a42bf);if(_0x43d91b!==void 0x0){const _0x114141=String(_0x43d91b)[_0x4138d9(0x40c)];_0x21d122<_0x114141&&(_0x42b22b=String(_0x43d91b),_0x21d122=_0x114141);}}return _0x42b22b;}function $i(_0x5999a0){const _0x31e9a0=_0x1d896e,{rowCount:_0x2e59be,colCount:_0x1c1805}=_0x5999a0;let _0x1b6c64='',_0xf8c206=0x0;for(let _0x46a9c1=0x0;_0x46a9c1<_0x2e59be;_0x46a9c1++)for(let _0x336fbe=0x0;_0x336fbe<_0x1c1805;_0x336fbe++){const _0x6d299a=_0x5999a0[_0x31e9a0(0x3e4)](_0x46a9c1,_0x336fbe);if(_0x6d299a!==void 0x0){const _0x58ef7d=String(_0x6d299a)[_0x31e9a0(0x40c)];_0xf8c206<_0x58ef7d&&(_0x1b6c64=String(_0x6d299a),_0xf8c206=_0x58ef7d);}}return _0x1b6c64;}function Ji(_0x186209,_0x46aa89){const _0x2dda74=_0x1d896e,{rowFields:_0x90c0d0,columnFields:_0x4caa74,valueFields:_0x373c8f,filterFields:_0x41a8d8,dimension:_0x32377f,measure:_0x1f5f8a}=_0x46aa89;for(const _0x384dfb of _0x90c0d0){const _0xc01737=_0x32377f[_0x384dfb];_0xc01737&&_0x186209[_0x2dda74(0x3c1)](_0xc01737['dataFieldId'])&&(_0x186209[_0x2dda74(0x426)](_0xc01737[_0x2dda74(0x3de)],_0x26bc09['Row'],void 0x0,_0x384dfb),_0xc01737['displayName']&&_0x186209[_0x2dda74(0x3ed)](_0xc01737['id'],_0xc01737[_0x2dda74(0x41b)]),_0xc01737['sortInfo']&&_0x186209[_0x2dda74(0x3bb)](_0xc01737['id'],_0xc01737[_0x2dda74(0x3c8)]),_0xc01737[_0x2dda74(0x241)]&&_0x186209[_0x2dda74(0x213)](_0xc01737['id'],_0xc01737[_0x2dda74(0x241)]));}for(const _0x43e285 of _0x4caa74){const _0x2decf0=_0x32377f[_0x43e285];_0x2decf0&&_0x186209[_0x2dda74(0x3c1)](_0x2decf0['dataFieldId'])&&(_0x186209['addFieldWithSourceId'](_0x2decf0[_0x2dda74(0x3de)],_0x26bc09[_0x2dda74(0x3f9)],void 0x0,_0x43e285),_0x2decf0[_0x2dda74(0x3c8)]&&_0x186209[_0x2dda74(0x3bb)](_0x2decf0['id'],_0x2decf0['sortInfo']),_0x2decf0[_0x2dda74(0x241)]&&_0x186209[_0x2dda74(0x213)](_0x2decf0['id'],_0x2decf0[_0x2dda74(0x241)]),_0x2decf0['displayName']&&_0x186209[_0x2dda74(0x3ed)](_0x2decf0['id'],_0x2decf0[_0x2dda74(0x41b)]));}for(const _0x3accc5 of _0x41a8d8){const _0x5a0d70=_0x32377f[_0x3accc5];_0x5a0d70&&_0x186209['getDataFieldByDataFieldId'](_0x5a0d70[_0x2dda74(0x3de)])&&(_0x186209[_0x2dda74(0x426)](_0x5a0d70[_0x2dda74(0x3de)],_0x26bc09[_0x2dda74(0x344)],void 0x0,_0x3accc5),_0x5a0d70[_0x2dda74(0x3c8)]&&_0x186209[_0x2dda74(0x3bb)](_0x5a0d70['id'],_0x5a0d70[_0x2dda74(0x3c8)]),_0x5a0d70[_0x2dda74(0x241)]&&_0x186209[_0x2dda74(0x213)](_0x5a0d70['id'],_0x5a0d70['filterInfo']),_0x5a0d70[_0x2dda74(0x41b)]&&_0x186209[_0x2dda74(0x3ed)](_0x5a0d70['id'],_0x5a0d70[_0x2dda74(0x41b)]));}for(const _0x156acd of _0x373c8f){const _0x4a26d6=_0x1f5f8a[_0x156acd];_0x4a26d6&&_0x186209[_0x2dda74(0x3c1)](_0x4a26d6[_0x2dda74(0x3de)])&&(_0x186209[_0x2dda74(0x426)](_0x4a26d6[_0x2dda74(0x3de)],_0x26bc09[_0x2dda74(0x1fb)],void 0x0,_0x156acd),_0x4a26d6[_0x2dda74(0x2d9)]!==void 0x0&&_0x186209[_0x2dda74(0x340)](_0x156acd,_0x4a26d6[_0x2dda74(0x2d9)]),_0x4a26d6['format']&&_0x186209[_0x2dda74(0x40d)](_0x156acd,_0x4a26d6[_0x2dda74(0x383)]),_0x4a26d6['displayName']&&_0x186209['renameField'](_0x4a26d6['id'],_0x4a26d6[_0x2dda74(0x41b)]));}const _0x467f93=_0x46aa89[_0x2dda74(0x458)];for(const {fieldId:_0x268221,filterInfo:_0x25237e}of _0x467f93)_0x186209[_0x2dda74(0x33e)](_0x268221,_0x25237e);}function Gi(_0x534397,_0x466d47){const _0x46b569=_0x1d896e,_0x113739=[];_0x466d47===_0x26bc09['Row']&&_0x534397['iterateFieldByArea'](_0x26bc09[_0x46b569(0x30f)],_0x11cd30=>{const _0xb44770=_0x46b569;_0x113739[_0xb44770(0x45e)](_0x11cd30[_0xb44770(0x433)]());}),_0x466d47===_0x26bc09[_0x46b569(0x3f9)]&&_0x534397[_0x46b569(0x362)](_0x26bc09[_0x46b569(0x3f9)],_0x5dd072=>{const _0x91d088=_0x46b569;_0x113739[_0x91d088(0x45e)](_0x5dd072[_0x91d088(0x433)]());}),_0x466d47===_0x26bc09[_0x46b569(0x344)]&&_0x534397[_0x46b569(0x362)](_0x26bc09[_0x46b569(0x344)],_0x492428=>{const _0x385c56=_0x46b569;_0x113739[_0x385c56(0x45e)](_0x492428[_0x385c56(0x433)]());}),_0x466d47===_0x26bc09[_0x46b569(0x1fb)]&&_0x534397[_0x46b569(0x362)](_0x26bc09[_0x46b569(0x1fb)],_0x5516b5=>{const _0x17445f=_0x46b569;_0x113739[_0x17445f(0x45e)](_0x5516b5[_0x17445f(0x433)]());}),_0x466d47===void 0x0&&_0x534397[_0x46b569(0x3ab)](_0x5374cf=>{const _0x3fac22=_0x46b569;_0x113739[_0x3fac22(0x45e)](_0x5374cf[_0x3fac22(0x433)]());});const _0x47287c=_0x113739[_0x46b569(0x40c)];for(let _0xe02509=_0x47287c-0x1;_0xe02509>=0x0;_0xe02509--)_0x534397[_0x46b569(0x1dd)](_0x113739[_0xe02509]);const _0x2097c7=_0x534397['getValueFilterInfos']();for(const _0x37acc2 in _0x2097c7)_0x534397[_0x46b569(0x251)](_0x37acc2);}function Wi(_0x405c95,_0x374f46){const _0x1795a1=_0x1d896e,_0x4b7ffa=new Date(_0x369e12(_0x374f46)),_0x416b57=new Date(_0x369e12(_0x405c95)),_0x63ffa5=_0x4b7ffa['getFullYear'](),_0x3ad69e=_0x416b57[_0x1795a1(0x2e1)](),_0x4310e3=_0x4b7ffa[_0x1795a1(0x364)](),_0x573f6f=_0x416b57[_0x1795a1(0x364)](),_0x5130f9=_0x4b7ffa['getDate'](),_0x5b693b=_0x416b57[_0x1795a1(0x33d)](),_0x3f2cc2=_0x63ffa5===_0x3ad69e,_0x42c312=_0x3f2cc2&&_0x4310e3===_0x573f6f;return _0x3f2cc2&&_0x42c312&&!(_0x42c312&&_0x5130f9===_0x5b693b)?_0x3af201['YearMonthDate']:_0x3f2cc2&&!_0x42c312?_0x3af201[_0x1795a1(0x266)]:_0x3af201['Year'];}function qo(_0x2a3cf6,_0x17b7a3){const _0x420c71=_0x1d896e,_0x313d72=_0x2a3cf6[_0x420c71(0x283)]($)[_0x420c71(0x25a)]();let _0x35b73b='';switch(_0x17b7a3){case _0x3af201[_0x420c71(0x2b1)]:_0x35b73b=_0x313d72[_0x420c71(0x334)];break;case _0x3af201[_0x420c71(0x266)]:_0x35b73b=_0x313d72[_0x420c71(0x3fe)];break;case _0x3af201[_0x420c71(0x1ee)]:_0x35b73b=_0x313d72['sheets-pivot.dateGroup.year'];break;case _0x3af201['Month']:_0x35b73b=_0x313d72['sheets-pivot.dateGroup.month'];break;case _0x3af201[_0x420c71(0x3eb)]:_0x35b73b=_0x313d72[_0x420c71(0x22c)];break;case _0x3af201[_0x420c71(0x414)]:_0x35b73b=_0x313d72['sheets-pivot.dateGroup.date'];break;case _0x3af201[_0x420c71(0x1fc)]:_0x35b73b=_0x313d72[_0x420c71(0x2ca)];break;case _0x3af201[_0x420c71(0x453)]:_0x35b73b=_0x313d72[_0x420c71(0x339)];break;case _0x3af201['Minute']:_0x35b73b=_0x313d72[_0x420c71(0x31b)];break;case _0x3af201[_0x420c71(0x257)]:_0x35b73b=_0x313d72[_0x420c71(0x3bd)];break;case _0x3af201[_0x420c71(0x44a)]:_0x35b73b=_0x313d72['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x35b73b='';break;}return _0x35b73b;}const Yo=_0x1d896e(0x204),yo={};function _0x1e98(_0x52381e,_0x25f637){const _0x46d55f=_0x46d5();return _0x1e98=function(_0x1e98e7,_0x24d4ef){_0x1e98e7=_0x1e98e7-0x1d0;let _0x2583f9=_0x46d55f[_0x1e98e7];return _0x2583f9;},_0x1e98(_0x52381e,_0x25f637);}var ji=Object['getOwnPropertyDescriptor'],Hi=(_0xcf629e,_0x6c5b92,_0x10659d,_0x4bf8e3)=>{const _0x41b2d1=_0x1d896e;for(var _0x4c4165=_0x4bf8e3>0x1?void 0x0:_0x4bf8e3?ji(_0x6c5b92,_0x10659d):_0x6c5b92,_0x40ee12=_0xcf629e[_0x41b2d1(0x40c)]-0x1,_0x34586a;_0x40ee12>=0x0;_0x40ee12--)(_0x34586a=_0xcf629e[_0x40ee12])&&(_0x4c4165=_0x34586a(_0x4c4165)||_0x4c4165);return _0x4c4165;},at=(_0x3ec0a0,_0x11b724)=>(_0x2b9787,_0x38ba89)=>_0x11b724(_0x2b9787,_0x38ba89,_0x3ec0a0);let ve=class extends _0x215859{constructor(_0x44655b,_0x38e46b,_0x17add8,_0x1198d8,_0x416ac4){const _0x4be376=_0x1d896e;super(),V(this,_0x4be376(0x2d1),new Map()),V(this,_0x4be376(0x291),new Map()),V(this,_0x4be376(0x2b7),new Map()),V(this,_0x4be376(0x29d),new Map()),V(this,_0x4be376(0x38d),new _0x56207d()),V(this,'_pivotInitCompleted$',new _0x56207d()),V(this,_0x4be376(0x20d),this[_0x4be376(0x1db)][_0x4be376(0x235)]()),V(this,_0x4be376(0x25c),new _0x56207d()),V(this,'pivotConfigChange$',this[_0x4be376(0x25c)][_0x4be376(0x235)]()),V(this,_0x4be376(0x1ef),{}),V(this,_0x4be376(0x3af),this[_0x4be376(0x38d)][_0x4be376(0x235)]()),(this[_0x4be376(0x352)]=_0x44655b,this['_commandService']=_0x38e46b,this['_univerInstanceService']=_0x17add8,this[_0x4be376(0x2f5)]=_0x1198d8,this[_0x4be376(0x441)]=_0x416ac4,this[_0x4be376(0x409)](),this['_initUnitDisposed']());const _0x145d3a=this[_0x4be376(0x441)][_0x4be376(0x3da)](Yo);(_0x145d3a==null?void 0x0:_0x145d3a[_0x4be376(0x2ce)])===!0x0&&this[_0x4be376(0x2c6)]();}[_0x1d896e(0x446)](){const _0x14c4de=_0x1d896e;this[_0x14c4de(0x28b)](this[_0x14c4de(0x1ea)][_0x14c4de(0x338)](_0x2fbb89[_0x14c4de(0x3b8)])[_0x14c4de(0x20c)](_0xca274c=>{const _0xf1486=_0x14c4de;this[_0xf1486(0x1d4)](_0xca274c[_0xf1486(0x396)]());}));}[_0x1d896e(0x3e1)](){const _0x159aa6=_0x1d896e;this['_pivotInitCompleted$'][_0x159aa6(0x30d)](!0x0);}[_0x1d896e(0x409)](){const _0x12400f=_0x1d896e,_0x5986bd=fo(this[_0x12400f(0x352)],Bo,'',{});this[_0x12400f(0x1ef)]=_0x5986bd,this[_0x12400f(0x262)]['executeCommand'](uo['id'],{'textInfo':_0x5986bd},{'onlyLocal':!0x0});}[_0x1d896e(0x25a)](){const _0x22b535=_0x1d896e;return this[_0x22b535(0x1ef)];}['updateViewInfo'](_0x4074f5,_0xc2182b,_0x59f814,_0x541f32,_0x3785f7){const _0x474ef6=_0x1d896e;this[_0x474ef6(0x2b4)](_0x4074f5,_0xc2182b,_0x59f814,_0x541f32),this['updatePivotTableRangeInfo'](_0x4074f5,_0xc2182b,_0x59f814,_0x3785f7);}[_0x1d896e(0x431)](_0x1d4517,_0x29e875,_0x5165bc){const _0x567e2e=_0x1d896e;var _0x13a3ed;const _0x54e2e0=(_0x13a3ed=this[_0x567e2e(0x2d1)]['get'](_0x1d4517))==null?void 0x0:_0x13a3ed[_0x567e2e(0x283)](_0x29e875);if(_0x54e2e0)return _0x54e2e0[_0x567e2e(0x283)](_0x5165bc);}[_0x1d896e(0x402)](_0x32ace4,_0x35c49b){const _0x27d4b5=_0x1d896e,_0x5f4f16=this[_0x27d4b5(0x2d1)]['get'](_0x32ace4);if(_0x5f4f16){for(const [_0x4892be,_0x216cad]of _0x5f4f16[_0x27d4b5(0x29f)]())for(const [_0x13dbb3,_0x1abecc]of _0x216cad[_0x27d4b5(0x29f)]())if(_0x13dbb3===_0x35c49b)return _0x1abecc['targetCellInfo'];}}[_0x1d896e(0x39d)](_0x4d2e6d,_0x137635,_0x5ab4eb){const _0x1bea3a=_0x1d896e,_0x3f338d=this[_0x1bea3a(0x431)](_0x4d2e6d,_0x137635,_0x5ab4eb);return _0x3f338d==null?void 0x0:_0x3f338d['targetCellInfo'];}[_0x1d896e(0x2c0)](_0x6a060f,_0x337390){const _0x22ec08=_0x1d896e;var _0x27ac0e;return(_0x27ac0e=this[_0x22ec08(0x2d1)]['get'](_0x6a060f))==null?void 0x0:_0x27ac0e[_0x22ec08(0x283)](_0x337390);}[_0x1d896e(0x28e)](_0x2f99b0,_0x3867c3,_0xadb402,_0x49f3c8){const _0x3d68a4=_0x1d896e,_0x10756b=this[_0x3d68a4(0x304)](_0x2f99b0,_0x3867c3);_0x49f3c8?_0x10756b['set'](_0xadb402,_0x49f3c8):_0x10756b[_0x3d68a4(0x423)](_0xadb402),this[_0x3d68a4(0x25c)]['next']({'unitId':_0x2f99b0,'subUnitId':_0x3867c3,'pivotTableId':_0xadb402,'pivotTableConfig':_0x49f3c8});}[_0x1d896e(0x259)](_0x5973dc,_0x953dfa){const _0x3f8cd4=_0x1d896e;var _0x503d45;return(_0x503d45=this['_collectionConfigModel'][_0x3f8cd4(0x283)](_0x5973dc))==null?void 0x0:_0x503d45['collections'][_0x953dfa];}['updateCollectionConfig'](_0x36e8a8,_0x212d16){const _0x2587c9=_0x1d896e;this[_0x2587c9(0x291)][_0x2587c9(0x264)](_0x36e8a8,_0x212d16),this['_configVersion$'][_0x2587c9(0x30d)](Math[_0x2587c9(0x276)]());}[_0x1d896e(0x304)](_0x596d6f,_0x18ac04){const _0x3f39d6=_0x1d896e;let _0x14e964=this[_0x3f39d6(0x2d1)][_0x3f39d6(0x283)](_0x596d6f);_0x14e964||(_0x14e964=new Map(),this[_0x3f39d6(0x2d1)][_0x3f39d6(0x264)](_0x596d6f,_0x14e964));let _0x3318d8=_0x14e964[_0x3f39d6(0x283)](_0x18ac04);return _0x3318d8||(_0x3318d8=new Map(),_0x14e964[_0x3f39d6(0x264)](_0x18ac04,_0x3318d8)),_0x3318d8;}[_0x1d896e(0x323)](_0x41f296,_0x1d8c9c){const _0xcc9312=_0x1d896e;let _0x1d6717=this[_0xcc9312(0x2b7)][_0xcc9312(0x283)](_0x41f296);_0x1d6717||(_0x1d6717=new Map(),this[_0xcc9312(0x2b7)]['set'](_0x41f296,_0x1d6717));let _0x5e5b07=_0x1d6717['get'](_0x1d8c9c);return _0x5e5b07||(_0x5e5b07=new Map(),_0x1d6717[_0xcc9312(0x264)](_0x1d8c9c,_0x5e5b07)),_0x5e5b07;}[_0x1d896e(0x2c1)](_0xcbc6f9,_0x5102f5){const _0x4e07cf=_0x1d896e;let _0x3667a8=this[_0x4e07cf(0x29d)]['get'](_0xcbc6f9);_0x3667a8||(_0x3667a8=new Map(),this[_0x4e07cf(0x29d)][_0x4e07cf(0x264)](_0xcbc6f9,_0x3667a8));let _0x2d0876=_0x3667a8[_0x4e07cf(0x283)](_0x5102f5);return _0x2d0876||(_0x2d0876=new Map(),_0x3667a8[_0x4e07cf(0x264)](_0x5102f5,_0x2d0876)),_0x2d0876;}[_0x1d896e(0x33c)](_0x5e09c1,_0x1a9fbc,_0x2cf6b9,_0x3d5094){const _0x178754=_0x1d896e;var _0x36c238;const _0x3ecf29=this[_0x178754(0x323)](_0x5e09c1,_0x1a9fbc),_0x3fdcfd=(_0x36c238=_0x3ecf29[_0x178754(0x283)](_0x2cf6b9))==null?void 0x0:_0x36c238[_0x178754(0x416)];_0x3ecf29[_0x178754(0x264)](_0x2cf6b9,{'oldRangeInfo':_0x3fdcfd,'rangeInfo':_0x3d5094});}[_0x1d896e(0x2b4)](_0x17bf6e,_0x33ecd3,_0x239dc7,_0x536837){const _0x331e83=_0x1d896e;var _0x51641f;const _0x4dfb5c=this[_0x331e83(0x2c1)](_0x17bf6e,_0x33ecd3),_0x38fdbc=(_0x51641f=_0x4dfb5c['get'](_0x239dc7))==null?void 0x0:_0x51641f[_0x331e83(0x3c3)];_0x4dfb5c[_0x331e83(0x264)](_0x239dc7,{'oldMatrix':_0x38fdbc,'matrix':_0x536837});}['getPivotTableRangeInfo'](_0x41dcf6,_0x586cf1,_0x5317c0){const _0x9c5ef8=_0x1d896e;var _0x524f6b,_0x35eb5f;return(_0x35eb5f=(_0x524f6b=this[_0x9c5ef8(0x2b7)][_0x9c5ef8(0x283)](_0x41dcf6))==null?void 0x0:_0x524f6b[_0x9c5ef8(0x283)](_0x586cf1))==null?void 0x0:_0x35eb5f[_0x9c5ef8(0x283)](_0x5317c0);}[_0x1d896e(0x3fa)](_0x2004aa,_0x5a5d57,_0x5a2f11){const _0x226372=_0x1d896e;var _0x1413a6,_0x4db9e5;return(_0x4db9e5=(_0x1413a6=this[_0x226372(0x29d)][_0x226372(0x283)](_0x2004aa))==null?void 0x0:_0x1413a6[_0x226372(0x283)](_0x5a5d57))==null?void 0x0:_0x4db9e5[_0x226372(0x283)](_0x5a2f11);}[_0x1d896e(0x1d4)](_0xee0bb9){const _0x5c5cba=_0x1d896e;this['_model']['delete'](_0xee0bb9),this[_0x5c5cba(0x291)]['delete'](_0xee0bb9);}[_0x1d896e(0x239)](_0x510138){const _0x91584e=_0x1d896e,_0x2db050={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x91584e(0x291)][_0x91584e(0x283)](_0x510138)&&(_0x2db050[_0x91584e(0x206)][_0x510138]=this[_0x91584e(0x291)]['get'](_0x510138)),this[_0x91584e(0x2d1)][_0x91584e(0x283)](_0x510138)){_0x2db050[_0x91584e(0x42d)][_0x510138]={};const _0x558b92=this[_0x91584e(0x2d1)][_0x91584e(0x283)](_0x510138);_0x558b92!=null&&_0x558b92[_0x91584e(0x26f)]&&[..._0x558b92['keys']()][_0x91584e(0x412)](_0x226915=>{const _0x5e0ea5=_0x91584e,_0x169230=_0x558b92[_0x5e0ea5(0x283)](_0x226915);_0x169230!=null&&_0x169230['size']&&(_0x2db050[_0x5e0ea5(0x42d)][_0x510138][_0x226915]={},[..._0x169230[_0x5e0ea5(0x2c7)]()][_0x5e0ea5(0x412)](_0x29537f=>{const _0xe369d3=_0x5e0ea5,_0x467276=_0x169230[_0xe369d3(0x283)](_0x29537f);_0x467276&&(_0x2db050['pivotTableConfigs'][_0x510138][_0x226915][_0x29537f]=_0x467276);}));});}return _0x2db050;}[_0x1d896e(0x2c6)](){const _0xf58117=_0x1d896e;this[_0xf58117(0x28b)](this[_0xf58117(0x2f5)][_0xf58117(0x2d0)]({'toJson':_0x39147d=>JSON['stringify'](this[_0xf58117(0x239)](_0x39147d)),'parseJson':_0x3534f6=>({}),'businesses':[_0x2fbb89[_0xf58117(0x3b8)]],'pluginName':ao,'onLoad':(_0x451833,_0x5445f7)=>{},'onUnLoad':_0x782165=>{const _0x4c721b=_0xf58117;this[_0x4c721b(0x1d4)](_0x782165);}}));}};ve=Hi([at(0x0,_0xefbfb7(_0x5a5cda)),at(0x1,_0xefbfb7(_0x136a21)),at(0x2,_0xefbfb7(_0x1ca4cb)),at(0x3,_0xefbfb7(_0x1d2dc8)),at(0x4,_0xefbfb7(_0x40c50c))],ve);var qi=Object['getOwnPropertyDescriptor'],Yi=(_0x2424a6,_0x54257e,_0x28f637,_0x28b611)=>{const _0x24994b=_0x1d896e;for(var _0x4f6ddb=_0x28b611>0x1?void 0x0:_0x28b611?qi(_0x54257e,_0x28f637):_0x54257e,_0x367c27=_0x2424a6[_0x24994b(0x40c)]-0x1,_0x4b7a4a;_0x367c27>=0x0;_0x367c27--)(_0x4b7a4a=_0x2424a6[_0x367c27])&&(_0x4f6ddb=_0x4b7a4a(_0x4f6ddb)||_0x4f6ddb);return _0x4f6ddb;},rt=(_0x1024d9,_0x1eca81)=>(_0x17fbc3,_0x47b1db)=>_0x1eca81(_0x17fbc3,_0x47b1db,_0x1024d9);let Ne=class extends _0x215859{constructor(_0x286fec,_0x1758cf,_0x553b00,_0x28b35e,_0x47839a){const _0x93ba2f=_0x1d896e;super(),V(this,'_pivotRenderInfoCache',new Map()),V(this,'_pivotRenderValueMatrixCache',new Map()),V(this,'_markDirty$',new _0x56207d()),V(this,_0x93ba2f(0x285),this[_0x93ba2f(0x330)]['asObservable']()),V(this,_0x93ba2f(0x395),new _0x56207d()),V(this,_0x93ba2f(0x44e),this[_0x93ba2f(0x395)][_0x93ba2f(0x235)]()),V(this,_0x93ba2f(0x1ef)),(this[_0x93ba2f(0x384)]=_0x286fec,this[_0x93ba2f(0x352)]=_0x1758cf,this[_0x93ba2f(0x3f7)]=_0x553b00,this[_0x93ba2f(0x1ea)]=_0x28b35e,this[_0x93ba2f(0x392)]=_0x47839a,this[_0x93ba2f(0x409)](),this[_0x93ba2f(0x446)]());}[_0x1d896e(0x446)](){const _0x2acfeb=_0x1d896e;this[_0x2acfeb(0x28b)](this[_0x2acfeb(0x1ea)][_0x2acfeb(0x338)](_0x2fbb89[_0x2acfeb(0x3b8)])[_0x2acfeb(0x20c)](_0x57b1aa=>{const _0x3d1837=_0x2acfeb;this[_0x3d1837(0x1d4)](_0x57b1aa[_0x3d1837(0x396)]());}));}[_0x1d896e(0x409)](){const _0x2327d1=_0x1d896e;this[_0x2327d1(0x1ef)]=fo(this[_0x2327d1(0x352)],Bo,'',{});}['updateRenderCache'](_0xe5623f){const _0x5a50c2=_0x1d896e,{view:_0x3b810f,unitId:_0xfb2f8f,subUnitId:_0xf6121f,pivotTableId:_0x5726ac,type:_0x32ee1d}=_0xe5623f,_0x340de1=this[_0x5a50c2(0x3f7)][_0x5a50c2(0x431)](_0xfb2f8f,_0xf6121f,_0x5726ac);if(!_0x3b810f||!_0x340de1||_0x32ee1d===K[_0x5a50c2(0x208)])return;const {pageView:_0x5206b6,cornerView:_0x3680d7,rowView:_0x1511fe,colView:_0x3afb29,dataView:_0x4c58cf}=_0x3b810f,_0x11df1b=_0x340de1['targetCellInfo'],_0x55e9c6=_0x340de1['isEmpty'],_0x428022=this['_ensurePivotItemRenderValueMatrixCache'](_0xfb2f8f,_0xf6121f),_0x22e85f=this[_0x5a50c2(0x286)](_0xfb2f8f,_0xf6121f,_0x5726ac);if(_0x55e9c6)return this[_0x5a50c2(0x44f)](_0xe5623f,_0x428022,_0x11df1b,_0x22e85f);{const _0x550d55=ge(_0x11df1b,_0x5206b6,!0x0),_0x1d18c5=_0x5206b6[_0x5a50c2(0x2b0)]>=0x0?_0x5206b6[_0x5a50c2(0x2b0)]+0x1:0x0,_0x5285fd=_0x3680d7[_0x5a50c2(0x221)](),_0x343984=_0x3680d7[_0x5a50c2(0x3c5)](),_0x477338=_0x550d55['length']>0x0?mt:0x0,_0x512df1=ge({'row':_0x11df1b[_0x5a50c2(0x42f)]+_0x1d18c5+_0x477338,'col':_0x11df1b['col']},_0x3680d7,!0x1,!0x1),_0x238c6c=ge({'row':_0x11df1b['row']+_0x1d18c5+_0x477338+_0x5285fd,'col':_0x11df1b['col']},_0x1511fe,!0x1,!0x0),_0x1e80be=ge({'row':_0x11df1b[_0x5a50c2(0x42f)]+_0x1d18c5+_0x477338,'col':_0x11df1b[_0x5a50c2(0x329)]+_0x343984},_0x3afb29,!0x1,!0x0),_0x23d10c=ge({'row':_0x11df1b[_0x5a50c2(0x42f)]+_0x1d18c5+_0x477338+_0x5285fd,'col':_0x11df1b[_0x5a50c2(0x329)]+_0x343984},_0x4c58cf,!0x1,!0x1);_0x22e85f[_0x5a50c2(0x1dc)]={'rowRanges':_0x238c6c,'colRanges':_0x1e80be,'cornerRanges':_0x512df1,'dataRanges':_0x23d10c,'pageRanges':_0x550d55};const _0x12de7b=yi(this[_0x5a50c2(0x352)],_0x3b810f,_0x340de1,this['_textInfo']),{valueMatrix:_0x2f0195,rowInfo:_0x9bd0b,colInfo:_0x1efa99,cornerInfo:_0x473b04,rowHeaderMap:_0xcab818,colHeaderMap:_0x548555}=_0x12de7b;return _0x22e85f[_0x5a50c2(0x230)]={'rowInfo':_0x9bd0b,'colInfo':_0x1efa99,'cornerInfo':_0x473b04},_0x22e85f[_0x5a50c2(0x1d9)]={'rowHeaderMap':_0xcab818,'colHeaderMap':_0x548555},_0x2f0195[_0x5a50c2(0x412)]((_0x1fc854,_0x474cf2)=>{const _0x335d70=_0x5a50c2;Object['keys'](_0x474cf2)[_0x335d70(0x412)](_0x57c84a=>{const _0x22640b=_0x335d70,_0xff5802=+_0x57c84a,_0x5b2614=_0x2f0195[_0x22640b(0x3e4)](_0x1fc854,_0xff5802);_0x428022['setValue'](_0x1fc854,_0xff5802,_0x5b2614);});}),this[_0x5a50c2(0x395)][_0x5a50c2(0x30d)]({'unitId':_0xfb2f8f,'subUnitId':_0xf6121f,'valueMatrix':_0x428022,'rangesCache':_0x22e85f['rangesInfo'],'pivotTableId':_0x5726ac,'type':_0xe5623f[_0x5a50c2(0x2fa)]}),this['_sheetsPivotTableConfigModel'][_0x5a50c2(0x36f)](_0xfb2f8f,_0xf6121f,_0x5726ac,_0x428022,_0x22e85f[_0x5a50c2(0x1dc)]),this[_0x5a50c2(0x392)][_0x5a50c2(0x32f)](_0xfb2f8f,_0xf6121f,Lt,this['_createExclusiveRange'](_0x22e85f[_0x5a50c2(0x1dc)],_0x5726ac)),{'rangeCache':_0x22e85f[_0x5a50c2(0x1dc)],'matrix':_0x428022};}}['_updateRenderEmptyCache'](_0x1f4665,_0x32810e,_0x429dc2,_0x2cb2ee){const _0x1e7b56=_0x1d896e,_0x3b6e26=this[_0x1e7b56(0x384)]['t'],{unitId:_0x121cff,subUnitId:_0x16e5aa,pivotTableId:_0x130bd8}=_0x1f4665,_0xd5d08f={'filter':_0x3b6e26(_0x1e7b56(0x216)),'row':_0x3b6e26(_0x1e7b56(0x2db)),'column':_0x3b6e26('sheets-pivot.emptyPivot.column'),'values':_0x3b6e26(_0x1e7b56(0x405))},{matrixCache:_0x4ab606,rangesCache:_0x169f94}=Wo(_0xd5d08f,_0x429dc2);return _0x4ab606[_0x1e7b56(0x2dc)]((_0x5c6c1a,_0x1c0439,_0x5c2e9a)=>{const _0x464f2c=_0x1e7b56;_0x32810e[_0x464f2c(0x3aa)](_0x5c6c1a,_0x1c0439,_0x5c2e9a);}),_0x2cb2ee['rangesInfo']=_0x169f94,this[_0x1e7b56(0x395)]['next']({'unitId':_0x121cff,'subUnitId':_0x16e5aa,'valueMatrix':_0x32810e,'rangesCache':_0x169f94,'pivotTableId':_0x130bd8,'type':_0x1f4665[_0x1e7b56(0x2fa)],'isEmpty':!0x0}),this[_0x1e7b56(0x3f7)][_0x1e7b56(0x36f)](_0x121cff,_0x16e5aa,_0x130bd8,_0x32810e,_0x169f94),this[_0x1e7b56(0x392)][_0x1e7b56(0x32f)](_0x121cff,_0x16e5aa,Lt,this[_0x1e7b56(0x2da)](_0x169f94,_0x130bd8)),{'rangeCache':_0x2cb2ee[_0x1e7b56(0x1dc)],'matrix':_0x32810e};}[_0x1d896e(0x2da)](_0x3f8da4,_0xeb89f6){const _0x16aab9=_0x1d896e,_0x8b7e7=[],_0x18db89=Kt(_0x3f8da4);for(const _0x10b321 of _0x18db89)_0x8b7e7[_0x16aab9(0x45e)]({'groupId':_0xeb89f6,'range':_0x10b321});return _0x8b7e7;}[_0x1d896e(0x406)](_0x97ba3b){const _0x510907=_0x1d896e;var _0x2cc21e,_0x52f085,_0x30f21e,_0x442238;const {pivotTableId:_0x45a2c7,unitId:_0xc94356,subUnitId:_0x435136}=_0x97ba3b;if(!_0x45a2c7||!_0xc94356||!_0x435136)return;const _0xea65b6=this['_ensurePivotItemRenderValueMatrixCache'](_0xc94356,_0x435136),_0x95e141=(_0x52f085=(_0x2cc21e=this['_pivotRenderInfoCache']['get'](_0xc94356))==null?void 0x0:_0x2cc21e['get'](_0x435136))==null?void 0x0:_0x52f085['get'](_0x45a2c7);if(_0x95e141!=null&&_0x95e141['rangesInfo']){for(const _0x38841a of Object[_0x510907(0x2c7)](_0x95e141['rangesInfo']))_0x95e141[_0x510907(0x1dc)][_0x38841a]['forEach'](_0x34cdcd=>{const _0x563121=_0x510907;for(let _0x2e1a1b=_0x34cdcd[_0x563121(0x1df)];_0x2e1a1b<=_0x34cdcd[_0x563121(0x2bd)];_0x2e1a1b++)for(let _0x2c4860=_0x34cdcd[_0x563121(0x40f)];_0x2c4860<=_0x34cdcd['endColumn'];_0x2c4860++)_0xea65b6[_0x563121(0x3d0)](_0x2e1a1b,_0x2c4860);});}_0x95e141&&((_0x442238=(_0x30f21e=this[_0x510907(0x3c7)][_0x510907(0x283)](_0xc94356))==null?void 0x0:_0x30f21e[_0x510907(0x283)](_0x435136))==null||_0x442238[_0x510907(0x423)](_0x45a2c7)),this['_viewUpdate$'][_0x510907(0x30d)]({'unitId':_0xc94356,'subUnitId':_0x435136,'valueMatrix':_0xea65b6,'pivotTableId':_0x45a2c7,'rangesCache':void 0x0,'type':_0x97ba3b[_0x510907(0x2fa)]}),this[_0x510907(0x392)][_0x510907(0x327)](_0xc94356,_0x435136,Lt,_0x45a2c7);}[_0x1d896e(0x286)](_0xb0f892,_0x5c5de4,_0x5a50c0){const _0x50bf55=_0x1d896e;var _0x9a01c6,_0x522829,_0x4309e7,_0xb87e79,_0x4ac607,_0xec2f8f;return this[_0x50bf55(0x3c7)][_0x50bf55(0x244)](_0xb0f892)||this['_pivotRenderInfoCache'][_0x50bf55(0x264)](_0xb0f892,new Map()),(_0x9a01c6=this[_0x50bf55(0x3c7)][_0x50bf55(0x283)](_0xb0f892))!=null&&_0x9a01c6[_0x50bf55(0x244)](_0x5c5de4)||(_0x522829=this[_0x50bf55(0x3c7)][_0x50bf55(0x283)](_0xb0f892))==null||_0x522829[_0x50bf55(0x264)](_0x5c5de4,new Map()),(_0xb87e79=(_0x4309e7=this[_0x50bf55(0x3c7)][_0x50bf55(0x283)](_0xb0f892))==null?void 0x0:_0x4309e7[_0x50bf55(0x283)](_0x5c5de4))!=null&&_0xb87e79[_0x50bf55(0x244)](_0x5a50c0)||(_0xec2f8f=(_0x4ac607=this[_0x50bf55(0x3c7)][_0x50bf55(0x283)](_0xb0f892))==null?void 0x0:_0x4ac607[_0x50bf55(0x283)](_0x5c5de4))==null||_0xec2f8f[_0x50bf55(0x264)](_0x5a50c0,{}),this[_0x50bf55(0x3c7)]['get'](_0xb0f892)[_0x50bf55(0x283)](_0x5c5de4)['get'](_0x5a50c0);}[_0x1d896e(0x37a)](_0x5c9e5e,_0x3316fc){const _0x4069d1=_0x1d896e;var _0x33b144,_0x1ee347;return this['_pivotRenderValueMatrixCache'][_0x4069d1(0x244)](_0x5c9e5e)||this[_0x4069d1(0x40b)][_0x4069d1(0x264)](_0x5c9e5e,new Map()),(_0x33b144=this[_0x4069d1(0x40b)]['get'](_0x5c9e5e))!=null&&_0x33b144['has'](_0x3316fc)||(_0x1ee347=this[_0x4069d1(0x40b)][_0x4069d1(0x283)](_0x5c9e5e))==null||_0x1ee347[_0x4069d1(0x264)](_0x3316fc,new _0x2d38e2()),this[_0x4069d1(0x40b)]['get'](_0x5c9e5e)['get'](_0x3316fc);}[_0x1d896e(0x444)](_0x5e6670,_0x66b1a8,_0x2fb8dc,_0x1d1110){const _0xea5c5a=_0x1d896e;var _0x1e3f5c,_0x3c9362;const _0x172f89=(_0x3c9362=(_0x1e3f5c=this['_pivotRenderValueMatrixCache']['get'](_0x5e6670))==null?void 0x0:_0x1e3f5c[_0xea5c5a(0x283)](_0x66b1a8))==null?void 0x0:_0x3c9362['getValue'](_0x2fb8dc,_0x1d1110);if(_0x172f89!=null)return _0x172f89;}[_0x1d896e(0x2d6)](_0x3940a8,_0x189cae,_0x364c1f,_0x2dc6c5){const _0x3ebea=_0x1d896e;var _0x854533;const _0x13437c=_0x17c069(_0x364c1f,_0x2dc6c5),_0x4d43d2=(_0x854533=this[_0x3ebea(0x3c7)][_0x3ebea(0x283)](_0x3940a8))==null?void 0x0:_0x854533['get'](_0x189cae);return _0x4d43d2?Array['from'](_0x4d43d2['keys']())[_0x3ebea(0x27d)](_0x4afc07=>{const _0x511953=_0x3ebea,_0x4f9aa3=_0x4d43d2['get'](_0x4afc07),_0x32b5a3=_0x4f9aa3==null?void 0x0:_0x4f9aa3['rangesInfo'];return _0x32b5a3?Object[_0x511953(0x2c7)](_0x32b5a3)[_0x511953(0x2ff)](_0x4e3c8f=>_0x32b5a3[_0x4e3c8f][_0x511953(0x2ff)](_0x2e3914=>_0x27a2e6['contains'](_0x2e3914,_0x13437c))):!0x1;}):void 0x0;}[_0x1d896e(0x381)](_0x72a6fc,_0x12ded8,_0x4ac9ce){const _0x119924=_0x1d896e;var _0x2af40c;const _0x33f3c7=(_0x2af40c=this[_0x119924(0x3c7)][_0x119924(0x283)](_0x72a6fc))==null?void 0x0:_0x2af40c[_0x119924(0x283)](_0x12ded8),_0x4dfcf2=[];return _0x33f3c7&&Array[_0x119924(0x42b)](_0x33f3c7[_0x119924(0x2c7)]())[_0x119924(0x412)](_0x49ee04=>{const _0x5b7bb0=_0x119924,_0x4a2407=_0x33f3c7[_0x5b7bb0(0x283)](_0x49ee04),_0xc9bb0d=_0x4a2407==null?void 0x0:_0x4a2407[_0x5b7bb0(0x1dc)];if(_0xc9bb0d)for(const _0x4a436e of Object[_0x5b7bb0(0x341)](_0xc9bb0d)){let _0x39a784=!0x1;for(const _0x36e08f of _0x4a436e)if(_0x27a2e6['intersects'](_0x36e08f,_0x4ac9ce)){_0x4dfcf2[_0x5b7bb0(0x45e)](_0x49ee04),_0x39a784=!0x0;break;}if(_0x39a784)break;}}),_0x4dfcf2;}[_0x1d896e(0x209)](_0xcd555a,_0x409115){const _0x108b61=_0x1d896e;var _0x1821b8,_0x18a35d;return(_0x18a35d=(_0x1821b8=this[_0x108b61(0x40b)][_0x108b61(0x283)](_0xcd555a))==null?void 0x0:_0x1821b8[_0x108b61(0x283)](_0x409115))!=null?_0x18a35d:new _0x2d38e2();}['getSubUnitPivotRenderCache'](_0x3be640,_0x424685){const _0x306a98=_0x1d896e;var _0x9f56af;return(_0x9f56af=this[_0x306a98(0x3c7)][_0x306a98(0x283)](_0x3be640))==null?void 0x0:_0x9f56af[_0x306a98(0x283)](_0x424685);}[_0x1d896e(0x2f3)](_0x608446,_0x58c7c8,_0x466ac0){const _0x25621e=_0x1d896e;var _0x168975,_0x28ef75;return(_0x28ef75=(_0x168975=this['_pivotRenderInfoCache'][_0x25621e(0x283)](_0x608446))==null?void 0x0:_0x168975[_0x25621e(0x283)](_0x58c7c8))==null?void 0x0:_0x28ef75[_0x25621e(0x283)](_0x466ac0);}[_0x1d896e(0x1d4)](_0x57338d){const _0x5182eb=_0x1d896e;this[_0x5182eb(0x3c7)][_0x5182eb(0x423)](_0x57338d),this[_0x5182eb(0x40b)][_0x5182eb(0x423)](_0x57338d);}[_0x1d896e(0x2c8)](_0x2b340e,_0x2852cb){const _0x23d90a=_0x1d896e;this[_0x23d90a(0x330)][_0x23d90a(0x30d)]({'unitId':_0x2b340e,'subUnitId':_0x2852cb});}};Ne=Yi([rt(0x0,_0xefbfb7(_0x3cd624)),rt(0x1,_0xefbfb7(_0x5a5cda)),rt(0x2,_0xefbfb7(ve)),rt(0x3,_0xefbfb7(_0x1ca4cb)),rt(0x4,_0xefbfb7(_0x49b460))],Ne);var zi=Object[_0x1d896e(0x439)],Qi=(_0x23fa0d,_0x467da3,_0x185ce8,_0x236e97)=>{const _0x5b51b3=_0x1d896e;for(var _0x25e4c9=_0x236e97>0x1?void 0x0:_0x236e97?zi(_0x467da3,_0x185ce8):_0x467da3,_0x43afa3=_0x23fa0d[_0x5b51b3(0x40c)]-0x1,_0x4184c7;_0x43afa3>=0x0;_0x43afa3--)(_0x4184c7=_0x23fa0d[_0x43afa3])&&(_0x25e4c9=_0x4184c7(_0x25e4c9)||_0x25e4c9);return _0x25e4c9;},Mo=(_0x49f4bb,_0x2312cc)=>(_0xef822c,_0xa69eab)=>_0x2312cc(_0xef822c,_0xa69eab,_0x49f4bb);let ie=class extends _0x215859{constructor(_0x36a92e,_0x56073b){const _0x2e0a5b=_0x1d896e;super(),V(this,'asyncInterceptor',new _0x2b570f({'PIVOT_PERFORM_CHECK':be})),V(this,_0x2e0a5b(0x292),new _0xac56f1({'PIVOT_MUTATION_GENERATE':$o})),(this['_sheetInterceptorService']=_0x36a92e,this[_0x2e0a5b(0x378)]=_0x56073b,this[_0x2e0a5b(0x343)]());}['_init'](){const _0x406a9a=_0x1d896e;this[_0x406a9a(0x3a1)]();}['getPivotPerformCheck'](_0xe059bb){const _0x567f25=_0x1d896e;return this[_0x567f25(0x299)]['fetchThroughAsyncInterceptors'](be)(!0x1,_0xe059bb);}[_0x1d896e(0x3a1)](){const _0x1a9ae9=_0x1d896e;this[_0x1a9ae9(0x28b)](this[_0x1a9ae9(0x2ea)]['intercept'](_0x36f82b[_0x1a9ae9(0x451)],{'priority':0xc8,'effect':_0x4ef8a5[_0x1a9ae9(0x1fb)]|_0x4ef8a5[_0x1a9ae9(0x3f8)],'handler':(_0x50ee91,_0xdd83aa,_0x1071aa)=>{const _0x424d5a=_0x1a9ae9,{row:_0x46fe85,col:_0x13a5d7,unitId:_0x59eb97,subUnitId:_0x557154,workbook:_0x2983e1}=_0xdd83aa,_0x558f5f=this[_0x424d5a(0x378)][_0x424d5a(0x444)](_0x59eb97,_0x557154,_0x46fe85,_0x13a5d7);if(!_0x558f5f)return _0x1071aa(_0x50ee91);const _0x4116c2={..._0x50ee91};(_0x558f5f['v']||_0x558f5f['v']===0x0)&&(_0x4116c2['v']=_0x558f5f['v']),_0x558f5f['t']&&(_0x4116c2['t']=_0x558f5f['t']);const _0x3ec398=(typeof(_0x50ee91==null?void 0x0:_0x50ee91['s'])=='string'?_0x2983e1[_0x424d5a(0x280)]()[_0x424d5a(0x283)](_0x50ee91==null?void 0x0:_0x50ee91['s']):_0x50ee91==null?void 0x0:_0x50ee91['s'])||{},_0x34adb0=_0x2983e1['getStyles']()[_0x424d5a(0x283)](_0x558f5f['s']),_0x592ce0={..._0x34adb0,..._0x3ec398};_0x34adb0!=null&&_0x34adb0['n']&&(_0x592ce0['n']=_0x34adb0['n']);const _0x306cfa=_0x2983e1['getStyles']()[_0x424d5a(0x3aa)](_0x592ce0);return _0x4116c2['s']=_0x306cfa,(_0x558f5f['pbt']===_0x2e5b41['Collapse']||_0x558f5f['pbt']===_0x2e5b41[_0x424d5a(0x3d9)])&&(_0x4116c2['fontRenderExtension']={},_0x4116c2[_0x424d5a(0x454)][_0x424d5a(0x331)]=li),_0x1071aa(_0x4116c2);}}));}};ie=Qi([Mo(0x0,_0xefbfb7(_0x5b5095)),Mo(0x1,_0xefbfb7(Ne))],ie);function Nt(_0xe5169f,_0x15d4f4){const _0x1cd957=_0x1d896e;switch(_0x15d4f4){case _0x26bc09[_0x1cd957(0x1fb)]:return _0xe5169f['valueFields'];case _0x26bc09[_0x1cd957(0x344)]:return _0xe5169f['filterFields'];case _0x26bc09[_0x1cd957(0x30f)]:return _0xe5169f['rowFields'];case _0x26bc09[_0x1cd957(0x3f9)]:return _0xe5169f[_0x1cd957(0x2b8)];default:return[];}}function Je(_0x1cd74e,_0x45bfc2){const _0x56246c=_0x1d896e;return _0x1cd74e['measure'][_0x45bfc2]||_0x1cd74e[_0x56246c(0x2d4)][_0x45bfc2];}function Zi(_0x295732,_0x11a0bf){const _0x492be4=_0x1d896e,{area:_0x5e3b13,fieldJson:_0x151105,index:_0x1028bc}=_0x11a0bf;_0x5e3b13===_0x26bc09[_0x492be4(0x1fb)]?_0x295732['measure'][_0x151105['id']]=_0x151105:_0x295732['dimension'][_0x151105['id']]=_0x151105,Nt(_0x295732,_0x5e3b13)[_0x492be4(0x2ee)](_0x1028bc,0x0,_0x151105['id']);}function Xi(_0x3832e2,_0x4d749b){const _0x2290ff=_0x1d896e,{area:_0x4fa816,fieldId:_0x2ca9e1,index:_0xd315ae}=_0x4d749b;_0x4fa816===_0x26bc09['Value']?delete _0x3832e2[_0x2290ff(0x3f1)][_0x2ca9e1]:delete _0x3832e2['dimension'][_0x2ca9e1],Nt(_0x3832e2,_0x4fa816)[_0x2290ff(0x2ee)](_0xd315ae,0x1);}function es(_0x19aec1,_0x29ea50){const _0x5b05fe=_0x1d896e,{fieldId:_0x2f540d,name:_0x252de6}=_0x29ea50,_0x429c53=Je(_0x19aec1,_0x2f540d);_0x429c53&&(_0x429c53[_0x5b05fe(0x41b)]=_0x252de6);}function ts(_0x18ec3e,_0x2d70f3){const _0x352b7e=_0x1d896e,{fieldId:_0x28b78f,collapse:_0xb2f905,item:_0x5e1651}=_0x2d70f3;_0x5e1651!==void 0x0?(_0x18ec3e[_0x352b7e(0x234)][_0x28b78f]=_0x18ec3e[_0x352b7e(0x234)][_0x28b78f]||{},_0x18ec3e[_0x352b7e(0x234)][_0x28b78f][_0x5e1651]=_0xb2f905):_0x18ec3e[_0x352b7e(0x234)][_0x28b78f]=_0xb2f905;}function os(_0x140011,_0x5ffeff){const {fieldId:_0x4b2a16,format:_0x4b0ba4}=_0x5ffeff,_0x302015=Je(_0x140011,_0x4b2a16);_0x302015&&(_0x302015['format']=_0x4b0ba4);}function ns(_0x2575bc,_0x140851){const {fieldId:_0x3d570d,filterInfo:_0xae22e0}=_0x140851,_0x2d6f33=Je(_0x2575bc,_0x3d570d);_0x2d6f33&&(_0x2d6f33['filterInfo']=_0xae22e0);}function is(_0x4ca5c2,_0x3f98de){const _0x329e95=_0x1d896e,{fieldId:_0x4a70d0,filterInfo:_0x17c84e}=_0x3f98de,_0x28906e=_0x4ca5c2[_0x329e95(0x458)][_0x329e95(0x25d)](_0x21320e=>_0x21320e[_0x329e95(0x2d8)]!==_0x4a70d0);_0x17c84e&&_0x28906e[_0x329e95(0x45e)]({'fieldId':_0x4a70d0,'filterInfo':_0x17c84e}),_0x4ca5c2[_0x329e95(0x458)]=_0x28906e;}function ss(_0x4a5cfc,_0x5a1818){const {fieldId:_0x2ceae3,subtotalType:_0x2b4c7e}=_0x5a1818,_0x321623=Je(_0x4a5cfc,_0x2ceae3);_0x321623&&(_0x321623['subtotal']=_0x2b4c7e);}function as(_0x4d07a0,_0x27c08e){const _0x3d792a=_0x1d896e,{fieldId:_0x551619,oldArea:_0x12f1e4,area:_0x2157eb,oldIndex:_0x5f05be,index:_0x16e436}=_0x27c08e,_0x5f5926=_0x12f1e4!==_0x26bc09[_0x3d792a(0x1fb)]&&_0x2157eb===_0x26bc09[_0x3d792a(0x1fb)],_0x276e8d=_0x12f1e4===_0x26bc09[_0x3d792a(0x1fb)]&&_0x2157eb!==_0x26bc09['Value'];if(_0x5f5926||_0x276e8d){const _0x4223cf=Je(_0x4d07a0,_0x551619);_0x4223cf&&(_0x5f5926?(delete _0x4d07a0[_0x3d792a(0x2d4)][_0x551619],_0x4d07a0[_0x3d792a(0x3f1)][_0x551619]=_0x4223cf):(delete _0x4d07a0[_0x3d792a(0x3f1)][_0x551619],_0x4d07a0['dimension'][_0x551619]=_0x4223cf));}const _0x815a15=Nt(_0x4d07a0,_0x12f1e4),_0x5213f4=Nt(_0x4d07a0,_0x2157eb);_0x815a15['splice'](_0x5f05be,0x1),_0x5213f4[_0x3d792a(0x2ee)](_0x16e436,0x0,_0x551619);}function rs(_0x5032e6,_0x51c629){const _0x55fdf0=_0x1d896e,{valuePosition:_0xaab40d,index:_0xa6a5b4}=_0x51c629;_0x5032e6[_0x55fdf0(0x2a0)]=_0xaab40d,_0x5032e6[_0x55fdf0(0x410)]=_0xa6a5b4;}function ls(_0x4d0723,_0x7cd715){const _0x2c5680=_0x1d896e,{tableFieldId:_0x51f31f,sourceName:_0x3f8046,dataFieldId:_0xed6368}=_0x7cd715,_0x3bb92f=Je(_0x4d0723,_0x51f31f);_0x3bb92f&&(_0x3bb92f[_0x2c5680(0x359)]=_0x3f8046,_0x3bb92f[_0x2c5680(0x3de)]=_0xed6368);}function cs(_0x3b4998,_0x33295f){const _0x5b2e37=_0x1d896e,{fieldId:_0x4e8d2c,sortInfo:_0x51c2c8}=_0x33295f,_0x2cd928=Je(_0x3b4998,_0x4e8d2c);_0x2cd928&&(_0x2cd928[_0x5b2e37(0x3c8)]=_0x51c2c8);}function ds(_0x1cc2ec,_0x4a2d3d){const _0x1736fd=_0x1d896e,{options:_0x2f4e6f}=_0x4a2d3d;_0x1cc2ec[_0x1736fd(0x1f9)]={..._0x1cc2ec['options'],..._0x2f4e6f};}const $t={'type':_0x16f1f0[_0x1d896e(0x303)],'id':_0x1d896e(0x455),'handler'(_0x657453,_0x2d4218){const _0x47b60e=_0x1d896e;if(!_0x2d4218)return!0x1;if(!!_0x657453['get'](_0x40c50c)[_0x47b60e(0x3da)](q))return!0x0;const _0x25ae56=_0x657453['get']($),{pivotTableId:_0x35d55f,fieldJson:_0x5de2c6,area:_0x422a80,index:_0x9065f,unitId:_0x35652e,subUnitId:_0x43cd7d}=_0x2d4218,_0x403dac=_0x25ae56[_0x47b60e(0x3b5)](_0x35d55f);if(!_0x403dac)return!0x1;let _0x38f97a;_0x422a80===_0x26bc09['Value']?_0x38f97a=_0xa28297(_0x5de2c6):_0x38f97a=_0x84f37e(_0x5de2c6),_0x403dac['addField'](_0x38f97a,_0x422a80,_0x9065f);const _0x39bd5d=_0x25ae56[_0x47b60e(0x265)](_0x35652e,_0x43cd7d,_0x35d55f);Zi(_0x39bd5d,_0x2d4218);const _0x1d8667=_0x25ae56['getPivotTableConfig'](_0x35652e,_0x43cd7d,_0x35d55f);return _0x25ae56['addDirtyPivotTable']({'unitId':_0x35652e,'subUnitId':_0x43cd7d,'token':_0x35d55f,'type':K[_0x47b60e(0x368)],'pivotConfig':_0x1d8667}),!0x0;}},Jt={'type':_0x16f1f0[_0x1d896e(0x303)],'id':_0x1d896e(0x2af),'handler'(_0x148953,_0xf3aca2){const _0x3e0fa6=_0x1d896e;if(!_0xf3aca2)return!0x1;if(!!_0x148953[_0x3e0fa6(0x283)](_0x40c50c)[_0x3e0fa6(0x3da)](q))return!0x0;const _0x676e5e=_0x148953[_0x3e0fa6(0x283)]($),{pivotTableId:_0x10832c,fieldId:_0x2d3607,unitId:_0x314edb,subUnitId:_0x3ccc42}=_0xf3aca2,_0x4b5a6d=_0x676e5e[_0x3e0fa6(0x3b5)](_0x10832c);if(!_0x4b5a6d)return!0x1;_0x4b5a6d['removeField'](_0x2d3607);const _0xc293dc=_0x676e5e[_0x3e0fa6(0x265)](_0x314edb,_0x3ccc42,_0x10832c);Xi(_0xc293dc,_0xf3aca2);const _0x3a7dc1=_0x676e5e[_0x3e0fa6(0x431)](_0x314edb,_0x3ccc42,_0x10832c);return _0x676e5e[_0x3e0fa6(0x1e1)]({'unitId':_0x314edb,'subUnitId':_0x3ccc42,'token':_0x10832c,'type':K['Set'],'pivotConfig':_0x3a7dc1}),!0x0;}},Gt={'type':_0x16f1f0[_0x1d896e(0x303)],'id':_0x1d896e(0x3d5),'handler'(_0x2de358,_0x383e93){const _0x4cec5a=_0x1d896e;if(!_0x383e93)return!0x1;if(!!_0x2de358[_0x4cec5a(0x283)](_0x40c50c)[_0x4cec5a(0x3da)](q))return!0x0;const _0x283d28=_0x2de358[_0x4cec5a(0x283)]($),{unitId:_0xdd1ea8,subUnitId:_0x50a1ce,pivotTableId:_0x4fe8ae,fieldId:_0x50510b,name:_0x41de58}=_0x383e93,_0x10aca3=_0x283d28[_0x4cec5a(0x3b5)](_0x4fe8ae);if(!_0x10aca3)return!0x1;_0x10aca3['renameField'](_0x50510b,_0x41de58);const _0x2057dc=_0x283d28[_0x4cec5a(0x265)](_0xdd1ea8,_0x50a1ce,_0x4fe8ae);return es(_0x2057dc,_0x383e93),_0x283d28[_0x4cec5a(0x1e1)]({'unitId':_0xdd1ea8,'subUnitId':_0x50a1ce,'token':_0x4fe8ae,'type':K[_0x4cec5a(0x368)]}),!0x0;}},Wt={'type':_0x16f1f0[_0x1d896e(0x303)],'id':_0x1d896e(0x298),'handler'(_0x558ee8,_0x25ee65){const _0xe124b1=_0x1d896e;if(!_0x25ee65)return!0x1;if(!!_0x558ee8[_0xe124b1(0x283)](_0x40c50c)[_0xe124b1(0x3da)](q))return!0x0;const _0x588013=_0x558ee8[_0xe124b1(0x283)]($),{unitId:_0xfa04d1,subUnitId:_0x162ccf,pivotTableId:_0x3ff61f,fieldId:_0x368313,collapse:_0x1827c3,item:_0x5a5907}=_0x25ee65,_0x1b5f1d=_0x588013[_0xe124b1(0x3b5)](_0x3ff61f);if(!_0x1b5f1d)return!0x1;_0x1b5f1d[_0xe124b1(0x3a7)](_0x368313,_0x1827c3,_0x5a5907);const _0x3bea32=_0x588013[_0xe124b1(0x265)](_0xfa04d1,_0x162ccf,_0x3ff61f);return ts(_0x3bea32,_0x25ee65),_0x588013[_0xe124b1(0x1e1)]({'unitId':_0xfa04d1,'subUnitId':_0x162ccf,'token':_0x3ff61f,'type':K[_0xe124b1(0x368)]}),!0x0;}},jt={'type':_0x16f1f0['MUTATION'],'id':_0x1d896e(0x36c),'handler'(_0x125e2b,_0x4aa21f){const _0x124df4=_0x1d896e;if(!_0x4aa21f)return!0x1;if(!!_0x125e2b['get'](_0x40c50c)[_0x124df4(0x3da)](q))return!0x0;const _0x536152=_0x125e2b['get']($),{unitId:_0x494160,subUnitId:_0x11881f,pivotTableId:_0x3f6571,fieldId:_0x3af93e,format:_0x1fc987}=_0x4aa21f,_0x578ad5=_0x536152[_0x124df4(0x3b5)](_0x3f6571);if(!_0x578ad5)return!0x1;_0x578ad5[_0x124df4(0x40d)](_0x3af93e,_0x1fc987);const _0x5ea4e9=_0x536152[_0x124df4(0x265)](_0x494160,_0x11881f,_0x3f6571);return os(_0x5ea4e9,_0x4aa21f),_0x536152['addDirtyPivotTable']({'unitId':_0x494160,'subUnitId':_0x11881f,'token':_0x3f6571,'type':K[_0x124df4(0x368)]}),!0x0;}},Ht={'type':_0x16f1f0[_0x1d896e(0x303)],'id':_0x1d896e(0x39e),'handler'(_0x3f8b18,_0x1b48c8){const _0x2c078d=_0x1d896e;if(!_0x1b48c8)return!0x1;if(!!_0x3f8b18[_0x2c078d(0x283)](_0x40c50c)['getConfig'](q))return!0x0;const _0x4fc121=_0x3f8b18[_0x2c078d(0x283)]($),{unitId:_0x110b20,subUnitId:_0x374f61,pivotTableId:_0x4af189,fieldId:_0x27b6e8,filterInfo:_0x45e171}=_0x1b48c8,_0x16ef4c=_0x4fc121[_0x2c078d(0x3b5)](_0x4af189);if(!_0x16ef4c)return!0x1;_0x16ef4c['setLabelFilterInfo'](_0x27b6e8,_0x45e171);const _0x3d369a=_0x4fc121[_0x2c078d(0x265)](_0x110b20,_0x374f61,_0x4af189);return ns(_0x3d369a,_0x1b48c8),_0x4fc121[_0x2c078d(0x1e1)]({'unitId':_0x110b20,'subUnitId':_0x374f61,'token':_0x4af189,'type':K['Set']}),!0x0;}},qt={'type':_0x16f1f0[_0x1d896e(0x303)],'id':_0x1d896e(0x29c),'handler'(_0x2d323e,_0xd7f3d7){const _0x548981=_0x1d896e;if(!_0xd7f3d7)return!0x1;if(!!_0x2d323e[_0x548981(0x283)](_0x40c50c)['getConfig'](q))return!0x0;const _0x413ff0=_0x2d323e[_0x548981(0x283)]($),{unitId:_0x56452f,subUnitId:_0x375c06,pivotTableId:_0x5116ce,options:_0x2b3663}=_0xd7f3d7,_0x39e9cf=_0x413ff0['getPivotTableInstance'](_0x5116ce);if(!_0x39e9cf)return!0x1;_0x39e9cf[_0x548981(0x1fd)](_0x2b3663);const _0x438477=_0x413ff0[_0x548981(0x265)](_0x56452f,_0x375c06,_0x5116ce);return ds(_0x438477,_0xd7f3d7),_0x413ff0[_0x548981(0x1e1)]({'unitId':_0x56452f,'subUnitId':_0x375c06,'token':_0x5116ce,'type':K['Set']}),!0x0;}},Yt={'type':_0x16f1f0[_0x1d896e(0x303)],'id':_0x1d896e(0x418),'handler'(_0x1429a9,_0x4c70bd){const _0x8cc3a=_0x1d896e;if(!_0x4c70bd)return!0x1;if(!!_0x1429a9[_0x8cc3a(0x283)](_0x40c50c)['getConfig'](q))return!0x0;const _0x50bc8c=_0x1429a9[_0x8cc3a(0x283)]($),{unitId:_0x18f0ba,subUnitId:_0x54f653,pivotTableId:_0x2bbb8d,sortInfo:_0x1fc588,fieldId:_0x4609ae}=_0x4c70bd,_0x3034a5=_0x50bc8c[_0x8cc3a(0x3b5)](_0x2bbb8d);if(!_0x3034a5)return!0x1;_0x3034a5['setSortInfo'](_0x4609ae,_0x1fc588);const _0x49e0de=_0x50bc8c[_0x8cc3a(0x265)](_0x18f0ba,_0x54f653,_0x2bbb8d);return cs(_0x49e0de,_0x4c70bd),_0x50bc8c[_0x8cc3a(0x1e1)]({'unitId':_0x18f0ba,'subUnitId':_0x54f653,'token':_0x2bbb8d,'type':K[_0x8cc3a(0x368)]}),!0x0;}},zt={'type':_0x16f1f0[_0x1d896e(0x303)],'id':_0x1d896e(0x31e),'handler'(_0x43314e,_0x53c83a){const _0x503008=_0x1d896e;if(!_0x53c83a)return!0x1;if(!!_0x43314e[_0x503008(0x283)](_0x40c50c)[_0x503008(0x3da)](q))return!0x0;const _0x4eb644=_0x43314e[_0x503008(0x283)]($),{unitId:_0x440481,subUnitId:_0x50eccc,pivotTableId:_0x213c86,fieldId:_0x38396e,subtotalType:_0x336822}=_0x53c83a,_0xe8f5d8=_0x4eb644['getPivotTableInstance'](_0x213c86);if(!_0xe8f5d8)return!0x1;_0xe8f5d8[_0x503008(0x340)](_0x38396e,_0x336822);const _0x1ce2b5=_0x4eb644['getPivotTableModelConfig'](_0x440481,_0x50eccc,_0x213c86);return ss(_0x1ce2b5,_0x53c83a),_0x4eb644[_0x503008(0x1e1)]({'unitId':_0x440481,'subUnitId':_0x50eccc,'token':_0x213c86,'type':K['Set']}),!0x0;}},Qt={'type':_0x16f1f0[_0x1d896e(0x303)],'id':_0x1d896e(0x3dd),'handler'(_0xf42583,_0x437b73){const _0xdc2547=_0x1d896e;if(!_0x437b73)return!0x1;if(!!_0xf42583['get'](_0x40c50c)[_0xdc2547(0x3da)](q))return!0x0;const _0x2d10b2=_0xf42583[_0xdc2547(0x283)]($),{unitId:_0x5d556b,subUnitId:_0x73074f,pivotTableId:_0x140dbc,fieldId:_0x4ec579,filterInfo:_0x240add}=_0x437b73,_0x5d2a6a=_0x2d10b2[_0xdc2547(0x3b5)](_0x140dbc);if(!_0x5d2a6a)return!0x1;_0x5d2a6a['setValueFilterInfo'](_0x4ec579,_0x240add);const _0x18ba23=_0x2d10b2[_0xdc2547(0x265)](_0x5d556b,_0x73074f,_0x140dbc);return is(_0x18ba23,_0x437b73),_0x2d10b2[_0xdc2547(0x1e1)]({'unitId':_0x5d556b,'subUnitId':_0x73074f,'token':_0x140dbc,'type':K[_0xdc2547(0x368)]}),!0x0;}},Zt={'type':_0x16f1f0['MUTATION'],'id':_0x1d896e(0x457),'handler'(_0x49c083,_0x2ab4bc){const _0x4c271a=_0x1d896e;if(!_0x2ab4bc)return!0x1;if(!!_0x49c083['get'](_0x40c50c)['getConfig'](q))return!0x0;const _0xfddf73=_0x49c083[_0x4c271a(0x283)]($),{unitId:_0x285e6c,subUnitId:_0x390508,pivotTableId:_0x4713bd,area:_0x18fe31,index:_0x5b5c1b,fieldId:_0x1abf53}=_0x2ab4bc,_0x1c247a=_0xfddf73['getPivotTableInstance'](_0x4713bd);if(!_0x1c247a)return!0x1;_0x1c247a[_0x4c271a(0x3a0)](_0x1abf53,_0x18fe31,_0x5b5c1b);const _0x4204ed=_0xfddf73[_0x4c271a(0x265)](_0x285e6c,_0x390508,_0x4713bd);return as(_0x4204ed,_0x2ab4bc),_0xfddf73[_0x4c271a(0x1e1)]({'unitId':_0x285e6c,'subUnitId':_0x390508,'token':_0x4713bd,'type':K[_0x4c271a(0x368)]}),!0x0;}},Xt={'type':_0x16f1f0[_0x1d896e(0x303)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x4431a9,_0x58ad56){const _0xce6d57=_0x1d896e;if(!_0x58ad56)return!0x1;if(!!_0x4431a9['get'](_0x40c50c)['getConfig'](q))return!0x0;const _0x19cdcd=_0x4431a9[_0xce6d57(0x283)]($),{unitId:_0x432128,subUnitId:_0x5670cf,pivotTableId:_0x86cb13,sourceName:_0x22c255,dataFieldId:_0x250f5a,tableFieldId:_0xbed74b}=_0x58ad56,_0x44cc32=_0x19cdcd[_0xce6d57(0x3b5)](_0x86cb13);if(!_0x44cc32)return!0x1;_0x44cc32[_0xce6d57(0x436)](_0xbed74b,_0x22c255,_0x250f5a);const _0x5474f0=_0x19cdcd['getPivotTableModelConfig'](_0x432128,_0x5670cf,_0x86cb13);return ls(_0x5474f0,_0x58ad56),_0x19cdcd[_0xce6d57(0x1e1)]({'unitId':_0x432128,'subUnitId':_0x5670cf,'token':_0x86cb13,'type':K[_0xce6d57(0x368)]}),!0x0;}},eo={'type':_0x16f1f0[_0x1d896e(0x303)],'id':_0x1d896e(0x27f),'handler'(_0x5bd677,_0x5ea4ef){const _0x3bf3cd=_0x1d896e;if(!_0x5ea4ef)return!0x1;if(!!_0x5bd677[_0x3bf3cd(0x283)](_0x40c50c)['getConfig'](q))return!0x0;const _0x4f4902=_0x5bd677['get']($),{unitId:_0x300c30,subUnitId:_0x27be8d,pivotTableId:_0x4e34f2,valuePosition:_0x469be9,index:_0x5ad1fa}=_0x5ea4ef,_0x64318b=_0x4f4902[_0x3bf3cd(0x3b5)](_0x4e34f2);if(!_0x64318b)return!0x1;_0x64318b[_0x3bf3cd(0x2a3)](_0x469be9,_0x5ad1fa);const _0x3a1b55=_0x4f4902[_0x3bf3cd(0x265)](_0x300c30,_0x27be8d,_0x4e34f2);return rs(_0x3a1b55,_0x5ea4ef),_0x4f4902[_0x3bf3cd(0x1e1)]({'unitId':_0x300c30,'subUnitId':_0x27be8d,'token':_0x4e34f2,'type':K[_0x3bf3cd(0x368)]}),!0x0;}};function Ie(_0x23f053,_0x15b3a9,_0x3a7972){const _0xb25a9a=_0x1d896e,{pivotTableId:_0x2d4e0d,unitId:_0x5c85d7,subUnitId:_0x31632c}=_0x15b3a9,_0x257d8f=[],_0x2b1f6d=[];for(const _0xd9a85d of _0x3a7972)switch(_0xd9a85d[_0xb25a9a(0x2fa)]){case _0x382b5e[_0xb25a9a(0x273)]:{const {fieldJson:_0x12464a,area:_0x98fb5b,index:_0x128af9}=_0xd9a85d,_0x421c53={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldJson':_0x12464a,'area':_0x98fb5b,'index':_0x128af9},_0x321294={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldId':_0x12464a['id'],'area':_0x98fb5b,'index':_0x128af9};_0x257d8f[_0xb25a9a(0x45e)]({'id':$t['id'],'params':_0x421c53}),_0x2b1f6d[_0xb25a9a(0x371)]({'id':Jt['id'],'params':_0x321294});}break;case _0x382b5e[_0xb25a9a(0x42a)]:{const {fieldId:_0x12285e,newSubtotalType:_0x43378d,oldSubtotalType:_0x1421ce}=_0xd9a85d,_0x4268e0={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldId':_0x12285e,'subtotalType':_0x43378d};_0x257d8f[_0xb25a9a(0x45e)]({'id':zt['id'],'params':_0x4268e0});const _0x24ac6e={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldId':_0x12285e,'subtotalType':_0x1421ce};_0x2b1f6d[_0xb25a9a(0x371)]({'id':zt['id'],'params':_0x24ac6e});}break;case _0x382b5e[_0xb25a9a(0x377)]:{const {fieldId:_0x1269fc,fieldJson:_0x5027c5,area:_0x257a24,index:_0x2af7ff}=_0xd9a85d,_0x2ae479={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldId':_0x1269fc,'index':_0x2af7ff,'area':_0x257a24};_0x257d8f[_0xb25a9a(0x45e)]({'id':Jt['id'],'params':_0x2ae479});const _0x1b6393={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldJson':_0x5027c5,'area':_0x257a24,'index':_0x2af7ff};_0x2b1f6d[_0xb25a9a(0x371)]({'id':$t['id'],'params':_0x1b6393});}break;case _0x382b5e['RenameField']:{const {fieldId:_0x42de9d,oldName:_0x253e49,newName:_0x4ad3f0}=_0xd9a85d,_0x584e95={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldId':_0x42de9d,'name':_0x4ad3f0};_0x257d8f['push']({'id':Gt['id'],'params':_0x584e95});const _0x4c38a4={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldId':_0x42de9d,'name':_0x253e49};_0x2b1f6d['unshift']({'id':Gt['id'],'params':_0x4c38a4});}break;case _0x382b5e['SetFilterInfo']:{const {fieldId:_0x5f363a,oldFilterInfo:_0x1e1de1,newFilterInfo:_0x537ac6}=_0xd9a85d,_0x3ade0c={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldId':_0x5f363a,'filterInfo':_0x537ac6};_0x257d8f[_0xb25a9a(0x45e)]({'id':Ht['id'],'params':_0x3ade0c});const _0x4116b9={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldId':_0x5f363a,'filterInfo':_0x1e1de1};_0x2b1f6d['unshift']({'id':Ht['id'],'params':_0x4116b9});}break;case _0x382b5e['SetSortInfo']:{const {fieldId:_0x237552,oldSortInfo:_0xea0ff8,newSortInfo:_0x1e5960}=_0xd9a85d,_0x456ae8={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldId':_0x237552,'sortInfo':_0x1e5960};_0x257d8f[_0xb25a9a(0x45e)]({'id':Yt['id'],'params':_0x456ae8});const _0x33edfd={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldId':_0x237552,'sortInfo':_0xea0ff8};_0x2b1f6d[_0xb25a9a(0x371)]({'id':Yt['id'],'params':_0x33edfd});}break;case _0x382b5e[_0xb25a9a(0x38a)]:{const {oldOptions:_0x36fce3,newOptions:_0x4f98da}=_0xd9a85d,_0x146c05={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'options':_0x4f98da};_0x257d8f['push']({'id':qt['id'],'params':_0x146c05});const _0x9d2118={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'options':_0x36fce3};_0x2b1f6d[_0xb25a9a(0x371)]({'id':qt['id'],'params':_0x9d2118});}break;case _0x382b5e[_0xb25a9a(0x379)]:{const {oldArea:_0x1315a5,newArea:_0x43b741,oldIndex:_0x1cd427,newIndex:_0x40e59f,fieldId:_0x51db41}=_0xd9a85d,_0x1b9fef={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldId':_0x51db41,'area':_0x43b741,'index':_0x40e59f,'oldArea':_0x1315a5,'oldIndex':_0x1cd427};_0x257d8f[_0xb25a9a(0x45e)]({'id':Zt['id'],'params':_0x1b9fef});const _0x53891c={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldId':_0x51db41,'area':_0x1315a5,'index':_0x1cd427,'oldArea':_0x43b741,'oldIndex':_0x40e59f};_0x2b1f6d[_0xb25a9a(0x371)]({'id':Zt['id'],'params':_0x53891c});}break;case _0x382b5e[_0xb25a9a(0x314)]:{const {oldValuePosition:_0x949e26,newValuePosition:_0x376a91,oldIndex:_0x4d3c16,newIndex:_0x2e1c0d}=_0xd9a85d,_0x212ad7={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'valuePosition':_0x376a91,'index':_0x2e1c0d};_0x257d8f['push']({'id':eo['id'],'params':_0x212ad7});const _0x10a2d1={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'valuePosition':_0x949e26,'index':_0x4d3c16};_0x2b1f6d[_0xb25a9a(0x371)]({'id':eo['id'],'params':_0x10a2d1});}break;case _0x382b5e['SetCollapse']:{const {fieldId:_0x1694ff,collapse:_0x51901c,item:_0x598ef5}=_0xd9a85d,_0x46969c={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldId':_0x1694ff,'collapse':_0x51901c,'item':_0x598ef5};_0x257d8f[_0xb25a9a(0x45e)]({'id':Wt['id'],'params':_0x46969c});const _0x467a24={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldId':_0x1694ff,'collapse':!_0x51901c,'item':_0x598ef5};_0x2b1f6d[_0xb25a9a(0x371)]({'id':Wt['id'],'params':_0x467a24});}break;case _0x382b5e[_0xb25a9a(0x26d)]:{const {newFormat:_0x15cded,oldFormat:_0x455be5,fieldId:_0x3001ca}=_0xd9a85d,_0x360704={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldId':_0x3001ca,'format':_0x15cded};_0x257d8f[_0xb25a9a(0x45e)]({'id':jt['id'],'params':_0x360704});const _0x47dc68={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldId':_0x3001ca,'format':_0x455be5};_0x2b1f6d[_0xb25a9a(0x371)]({'id':jt['id'],'params':_0x47dc68});}break;case _0x382b5e[_0xb25a9a(0x385)]:{const {tableFieldId:_0x1dd6a4,oldSourceName:_0x1b5bfe,newSourceName:_0x1cce4e,oldDataFieldId:_0x4f433d,newDataFieldId:_0x1c2ec6}=_0xd9a85d,_0x38561b={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'tableFieldId':_0x1dd6a4,'sourceName':_0x1cce4e,'dataFieldId':_0x1c2ec6};_0x257d8f['push']({'id':Xt['id'],'params':_0x38561b});const _0x5899ab={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'tableFieldId':_0x1dd6a4,'sourceName':_0x1b5bfe,'dataFieldId':_0x4f433d};_0x2b1f6d['unshift']({'id':Xt['id'],'params':_0x5899ab});}break;case _0x382b5e[_0xb25a9a(0x1ed)]:{const {fieldId:_0x5e718c,filterInfo:_0x30a940,oldFilterInfo:_0x2033cb}=_0xd9a85d,_0x1f8e50={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldId':_0x5e718c,'filterInfo':_0x30a940};_0x257d8f[_0xb25a9a(0x45e)]({'id':Qt['id'],'params':_0x1f8e50});const _0x4bf558={'unitId':_0x5c85d7,'subUnitId':_0x31632c,'pivotTableId':_0x2d4e0d,'fieldId':_0x5e718c,'filterInfo':_0x2033cb};_0x2b1f6d[_0xb25a9a(0x371)]({'id':Qt['id'],'params':_0x4bf558});}}return{'redos':_0x257d8f,'undos':_0x2b1f6d};}function _e(_0x241156,_0x74616e){const _0x1fae8d=_0x1d896e;var _0x4dd9f4;const _0x40672e=_0x241156[_0x1fae8d(0x283)](ie),{cellInfo:_0x1230b0,view:_0x2fbb6e,isEmpty:_0x8e5a15}=_0x74616e;return(_0x4dd9f4=_0x40672e[_0x1fae8d(0x292)][_0x1fae8d(0x2e0)]($o)(To,{'cellInfo':_0x1230b0,'view':_0x2fbb6e,'isEmpty':_0x8e5a15}))!=null?_0x4dd9f4:To;}const us=()=>typeof process<'u'&&process[_0x1d896e(0x442)]!=null&&process[_0x1d896e(0x442)][_0x1d896e(0x44c)]!=null,Ct={'type':_0x16f1f0[_0x1d896e(0x303)],'id':_0x1d896e(0x2fb),'handler'(_0x243506,_0x197dd0){const _0x2765da=_0x1d896e;var _0x7fead;if(!_0x197dd0)return!0x1;const _0x4b8822=_0x243506[_0x2765da(0x283)](_0x40c50c);if(!!_0x4b8822[_0x2765da(0x3da)](q))return!0x0;const _0x5d37b2=_0x243506['get'](_0x1ca4cb),_0x3d3046=_0x243506[_0x2765da(0x283)]($),{pivotTableId:_0x1f23b2,pivotTableConfig:_0x3e15fd,collectionConfig:_0x3c6e4a,unitId:_0xc32df2,subUnitId:_0x113f0e}=_0x197dd0,{sourceRangeInfo:_0x44f37f,fieldsConfig:_0x5723c4,targetCellInfo:_0x28f78b}=_0x3e15fd,_0x1ae376=_0x5d37b2[_0x2765da(0x443)](_0xc32df2);if(!_0x1ae376||!_0x1ae376[_0x2765da(0x45b)](_0x113f0e))return!0x1;if(!us()){let _0x9688cd=0x0;_0x1ae376['getSheets']()[_0x2765da(0x412)](_0x45c1c3=>{const _0x586639=_0x2765da;var _0x35eef6,_0x23eb04;_0x9688cd+=(_0x23eb04=(_0x35eef6=_0x3d3046[_0x586639(0x2c0)](_0xc32df2,_0x45c1c3[_0x586639(0x424)]()))==null?void 0x0:_0x35eef6['size'])!=null?_0x23eb04:0x0;});const _0x45a991=(_0x7fead=_0x4b8822[_0x2765da(0x3da)](_0x276871))!=null?_0x7fead:{},{ls:_0x453c15,pbk:_0x52f4ce}=_0x45a991;if(!jo(_0x453c15,_0x52f4ce))throw new _0xdc987d('limit\x20pivot');const _0x414b36=go(so,_0x453c15,_0x52f4ce)[_0x2765da(0x2f2)];if(_0x9688cd>=_0x414b36)throw new _0xdc987d(_0x2765da(0x290));}if(!_0x3c6e4a||!_0x5723c4)return!0x1;const {collection:_0x5b7b42,updateDataFieldList:_0x3f77d6}=_0x3d3046[_0x2765da(0x201)](_0x1f23b2,_0x3c6e4a,_0x44f37f,_0x28f78b);_0x3d3046[_0x2765da(0x435)](_0x5b7b42,_0x3f77d6,_0x44f37f);const _0x4b6e1f=new _0x4a8226(_0x5b7b42,void 0x0,_0x1f23b2);_0x4b6e1f[_0x2765da(0x2cf)](_0x5723c4);const _0x5b793c=JSON[_0x2765da(0x1e6)](JSON['stringify'](_0x3e15fd));return _0x3d3046[_0x2765da(0x34f)](_0xc32df2,_0x113f0e,_0x1f23b2,_0x4b6e1f,_0x5b793c),_0x3d3046['addDirtyPivotTable']({'unitId':_0xc32df2,'subUnitId':_0x113f0e,'token':_0x1f23b2,'type':K[_0x2765da(0x2de)],'pivotConfig':_0x5b793c}),!0x0;}},Ot={'type':_0x16f1f0['MUTATION'],'id':_0x1d896e(0x450),'handler'(_0x1afea6,_0x203940){const _0x888ea2=_0x1d896e;if(!_0x203940)return!0x1;if(!!_0x1afea6['get'](_0x40c50c)['getConfig'](q))return!0x0;const {pivotTableId:_0x5bae2d,unitId:_0x78cac,subUnitId:_0x48456e}=_0x203940,_0x39614d=_0x1afea6['get']($);return _0x39614d[_0x888ea2(0x431)](_0x78cac,_0x48456e,_0x5bae2d)?(_0x39614d[_0x888ea2(0x1e1)]({'unitId':_0x78cac,'subUnitId':_0x48456e,'token':_0x5bae2d,'type':K[_0x888ea2(0x208)]}),_0x39614d[_0x888ea2(0x2b9)](_0x78cac,_0x48456e,_0x5bae2d),!0x0):!0x1;}},pt={'type':_0x16f1f0[_0x1d896e(0x303)],'id':_0x1d896e(0x2a5),'handler'(_0xd794ba,_0x58e76b){const _0x18a80c=_0x1d896e;if(!_0x58e76b)return!0x1;if(!!_0xd794ba['get'](_0x40c50c)[_0x18a80c(0x3da)](q))return!0x0;const {pivotTableId:_0x514ced,targetCellPosition:_0x4e0733,unitId:_0x42167d,subUnitId:_0x5e1d47}=_0x58e76b,_0x5e7784=_0xd794ba[_0x18a80c(0x283)]($);if(!_0x5e7784[_0x18a80c(0x3b5)](_0x58e76b['pivotTableId']))return!0x1;const _0x1cc92b=_0x5e7784[_0x18a80c(0x39d)](_0x514ced);if(!_0x1cc92b)return!0x1;const _0x33df33=_0x5e7784[_0x18a80c(0x259)](_0x1cc92b[_0x18a80c(0x3b0)],_0x58e76b[_0x18a80c(0x1f7)]);if(!_0x33df33)return!0x1;const _0xd5c3f0=_0x5e7784['getPivotTableConfig'](_0x1cc92b[_0x18a80c(0x3b0)],_0x1cc92b[_0x18a80c(0x393)],_0x514ced);if(!_0xd5c3f0)return!0x1;const _0x54fb05=_0x4e7c2a[_0x18a80c(0x1e7)](_0xd5c3f0);_0x54fb05['targetCellInfo']={'unitId':_0x42167d,'subUnitId':_0x5e1d47,'row':_0x4e0733['row'],'col':_0x4e0733[_0x18a80c(0x329)]};const _0x1c5d0d=_0x33df33['toJSON']();if(_0x1cc92b[_0x18a80c(0x393)]===_0x5e1d47&&_0x1cc92b[_0x18a80c(0x3b0)]===_0x42167d)_0x5e7784['setPivotTable'](_0x42167d,_0x5e1d47,_0x514ced,_0x54fb05),_0x5e7784[_0x18a80c(0x1e1)]({'unitId':_0x42167d,'subUnitId':_0x5e1d47,'token':_0x514ced,'type':K[_0x18a80c(0x368)]});else{_0x5e7784[_0x18a80c(0x1e1)]({'unitId':_0x1cc92b[_0x18a80c(0x3b0)],'subUnitId':_0x1cc92b[_0x18a80c(0x393)],'token':_0x514ced,'type':K['Delete']}),_0x5e7784[_0x18a80c(0x2b9)](_0x1cc92b[_0x18a80c(0x3b0)],_0x1cc92b[_0x18a80c(0x393)],_0x514ced);const _0x302ee1=_0x5e7784['addCollectionByJSON'](_0x514ced,_0x1c5d0d,_0xd5c3f0[_0x18a80c(0x456)],_0x54fb05[_0x18a80c(0x1e4)]),_0x35475c=new _0x4a8226(_0x302ee1[_0x18a80c(0x1fa)],void 0x0,_0x514ced);_0x35475c[_0x18a80c(0x2cf)](_0x54fb05[_0x18a80c(0x2cb)]),_0x5e7784[_0x18a80c(0x34f)](_0x42167d,_0x5e1d47,_0x514ced,_0x35475c,_0x54fb05),_0x5e7784[_0x18a80c(0x1e1)]({'unitId':_0x42167d,'subUnitId':_0x5e1d47,'token':_0x514ced,'type':K[_0x18a80c(0x2de)],'pivotConfig':_0x54fb05});}return!0x0;}},to={'type':_0x16f1f0[_0x1d896e(0x303)],'id':_0x1d896e(0x1d8),'handler'(_0x17d6e7,_0x2de7ee){const _0x4b566e=_0x1d896e;if(!_0x2de7ee)return!0x1;if(!!_0x17d6e7[_0x4b566e(0x283)](_0x40c50c)[_0x4b566e(0x3da)](q))return!0x0;const _0x425712=_0x17d6e7[_0x4b566e(0x283)]($),{pivotTableId:_0x3cc8c7,deleteIds:_0x39d040,collectionJSON:_0x5b40e0,dataRangeInfo:_0x5122ba,unitId:_0x5af048,subUnitId:_0x95b3c6}=_0x2de7ee,_0xe7bde8=_0x425712['getPivotTableInstance'](_0x3cc8c7),_0xce89d9=_0x425712[_0x4b566e(0x431)](_0x5af048,_0x95b3c6,_0x3cc8c7);if(!_0xe7bde8||!_0xce89d9)return!0x1;const {collection:_0x2b8ca8,updateDataFieldList:_0x2b72ac}=_0x425712[_0x4b566e(0x201)](_0x3cc8c7,_0x5b40e0,_0x5122ba,_0xce89d9[_0x4b566e(0x1e4)]);_0x425712[_0x4b566e(0x435)](_0x2b8ca8,_0x2b72ac,_0x5122ba),_0xe7bde8[_0x4b566e(0x252)](_0x2b8ca8);for(const _0x290b5d of _0x39d040)_0x425712['removeDataField'](_0x5122ba[_0x4b566e(0x3b0)],_0x290b5d);const _0x1786d0=_0x425712[_0x4b566e(0x431)](_0x5af048,_0x95b3c6,_0x3cc8c7);return _0x1786d0[_0x4b566e(0x456)]=JSON[_0x4b566e(0x1e6)](JSON['stringify'](_0x5122ba)),_0x425712[_0x4b566e(0x1e1)]({'unitId':_0x5af048,'subUnitId':_0x95b3c6,'token':_0x3cc8c7,'type':K['Set']}),!0x0;}},Ut={'type':_0x16f1f0[_0x1d896e(0x303)],'id':_0x1d896e(0x306),'handler'(){return!0x0;}};var fs=Object['getOwnPropertyDescriptor'],gs=(_0x1d5994,_0x3e8479,_0x46c236,_0x3a4028)=>{for(var _0x2e281d=_0x3a4028>0x1?void 0x0:_0x3a4028?fs(_0x3e8479,_0x46c236):_0x3e8479,_0x462832=_0x1d5994['length']-0x1,_0x5a63de;_0x462832>=0x0;_0x462832--)(_0x5a63de=_0x1d5994[_0x462832])&&(_0x2e281d=_0x5a63de(_0x2e281d)||_0x2e281d);return _0x2e281d;},wo=(_0x940b19,_0x33068c)=>(_0x33caf6,_0x406107)=>_0x33068c(_0x33caf6,_0x406107,_0x940b19);let X=class extends _0x215859{constructor(_0x1f895b,_0x178fe9){const _0x429eb1=_0x1d896e;super(),V(this,_0x429eb1(0x2a8),new Map()),(this[_0x429eb1(0x352)]=_0x1f895b,this[_0x429eb1(0x262)]=_0x178fe9);}[_0x1d896e(0x233)](_0xe234e5){const _0x363a6c=_0x1d896e,{version:_0x19f6ef}=_0xe234e5,_0x1be42d=this[_0x363a6c(0x2a8)][_0x363a6c(0x283)](_0x19f6ef);_0x1be42d&&(_0x1be42d(_0xe234e5),this[_0x363a6c(0x2a8)][_0x363a6c(0x423)](_0x19f6ef));}[_0x1d896e(0x43f)](_0x2b980a){return new Promise((_0x3b56e1,_0x43e986)=>{const _0x365198=_0x1e98,_0x22df65=this[_0x365198(0x3f6)]();this[_0x365198(0x2a8)]['set'](_0x22df65,_0x3b56e1),this[_0x365198(0x262)][_0x365198(0x420)](ro['id'],{'version':_0x22df65,..._0x2b980a},{'onlyLocal':!0x0});});}[_0x1d896e(0x3f6)](){const _0x286d25=_0x1d896e;return Math[_0x286d25(0x276)]()[_0x286d25(0x263)](0x24)[_0x286d25(0x363)](0x2,0x10);}};X=gs([wo(0x0,_0xefbfb7(_0x5a5cda)),wo(0x1,_0xefbfb7(_0x136a21))],X);const zo={'id':'sheet.mutation.add-group-collection','type':_0x16f1f0[_0x1d896e(0x303)],'handler':(_0x3c2f8f,_0xd70f65)=>{const _0x5d727b=_0x1d896e;if(!_0xd70f65)return!0x1;if(!!_0x3c2f8f[_0x5d727b(0x283)](_0x40c50c)[_0x5d727b(0x3da)](q))return!0x0;const {pivotTableId:_0x25d28d,fieldJSON:_0xa6110,unitId:_0x4ca8fa,subUnitId:_0x43e650}=_0xd70f65,_0x4766a9=_0x559bfd['fromJSON'](_0xa6110);if(!_0x4766a9)return!0x1;const _0x1ee1ff=_0x3c2f8f[_0x5d727b(0x283)]($),_0x384952=_0x1ee1ff['getDataFieldManager'](_0x4ca8fa),_0x4e1303=_0x384952['getCollection'](_0x25d28d);_0x384952['addDataFieldWithoutUnitInfo'](_0x4766a9),_0x4e1303[_0x5d727b(0x43c)](_0x4766a9[_0x5d727b(0x433)](),_0x4766a9[_0x5d727b(0x357)]());const _0x446c3c=_0x4e1303['getFieldById'](_0x4766a9['getOriginFieldId']());_0x446c3c&&_0x4766a9[_0x5d727b(0x225)](_0x446c3c);const _0x96fad6=_0x1ee1ff[_0x5d727b(0x431)](_0x4ca8fa,_0x43e650,_0x25d28d);return _0x1ee1ff[_0x5d727b(0x1e1)]({'unitId':_0x4ca8fa,'subUnitId':_0x43e650,'token':_0x25d28d,'type':K['Set'],'pivotConfig':_0x96fad6}),!0x0;}},Qo={'id':_0x1d896e(0x32e),'type':_0x16f1f0[_0x1d896e(0x303)],'handler':(_0x289b2f,_0x249974)=>{const _0x427dd7=_0x1d896e;if(!_0x249974)return!0x1;if(!!_0x289b2f[_0x427dd7(0x283)](_0x40c50c)[_0x427dd7(0x3da)](q))return!0x0;const {pivotTableId:_0x506fee,dataFieldId:_0xa93bd9,unitId:_0x1491ae,subUnitId:_0x4e6a27}=_0x249974,_0x173e8b=_0x289b2f[_0x427dd7(0x283)]($),_0x1c6459=_0x173e8b[_0x427dd7(0x309)](_0x1491ae);_0x1c6459[_0x427dd7(0x259)](_0x506fee)[_0x427dd7(0x313)](_0xa93bd9);let _0x5d41f1=!0x0;for(const _0x56e56d in _0x1c6459[_0x427dd7(0x205)])if(_0x1c6459[_0x427dd7(0x205)][_0x56e56d][_0x427dd7(0x36b)]()[_0x427dd7(0x445)](_0xa93bd9)){_0x5d41f1=!0x1;break;}_0x5d41f1&&_0x1c6459[_0x427dd7(0x452)](_0xa93bd9);const _0x231405=_0x173e8b[_0x427dd7(0x431)](_0x1491ae,_0x4e6a27,_0x506fee);return _0x173e8b[_0x427dd7(0x1e1)]({'unitId':_0x1491ae,'subUnitId':_0x4e6a27,'token':_0x506fee,'type':K[_0x427dd7(0x368)],'pivotConfig':_0x231405}),!0x0;}},hs={'type':_0x16f1f0[_0x1d896e(0x337)],'id':_0x1d896e(0x347),async 'handler'(_0xcbbd53,_0x1190ac){const _0x2e10af=_0x1d896e;if(!_0x1190ac)return!0x1;const _0x3a4727=_0xcbbd53[_0x2e10af(0x283)](_0x136a21),_0x5f7da5=_0xcbbd53[_0x2e10af(0x283)](X),_0x8a4daa=_0xcbbd53['get'](_0x5c455a),{pivotTableId:_0x211ab2,dataFieldId:_0x4d7431,fieldArea:_0x974861,index:_0x81823e,unitId:_0x113723,subUnitId:_0x4d6926}=_0x1190ac,_0x200e9f=(await _0x5f7da5[_0x2e10af(0x43f)]({'unitId':_0x113723,'subUnitId':_0x4d6926,'pivotTableId':_0x211ab2,'params':{'type':k[_0x2e10af(0x2ba)],'addPivotField':{'dataFieldId':_0x4d7431,'fieldArea':_0x974861,'index':_0x81823e}}}))['result'][_0x2e10af(0x29a)];if(!_0x200e9f)return!0x1;const {view:_0x20000e,changesets:_0x36f7ba,isEmpty:_0x5d8175,pivotTableConfig:_0x75df22,shouldBeAddedGroupJSON:_0x401343}=_0x200e9f,_0x5bd039=_0x75df22[_0x2e10af(0x1e4)],_0x17b104=new _0x5457d9();_0x17b104[_0x2e10af(0x335)](_0x20000e);const _0x1bb72e={'cellInfo':_0x5bd039,'view':_0x17b104,'isEmpty':_0x5d8175};if(!await _0xcbbd53[_0x2e10af(0x283)](ie)[_0x2e10af(0x299)][_0x2e10af(0x388)](be)(!0x0,_0x1bb72e))return!0x1;const _0x6a187d=we(_0xcbbd53,_0x17b104,_0x5bd039,_0x5d8175),_0x26ddb7=_e(_0xcbbd53,_0x1bb72e),{undos:_0x1402d4,redos:_0x2c21bf}=Ie(_0x3a4727,{'pivotTableId':_0x211ab2,'unitId':_0x113723,'subUnitId':_0x4d6926},_0x36f7ba);return _0x401343&&(_0x2c21bf[_0x2e10af(0x371)]({'id':zo['id'],'params':{'pivotTableId':_0x211ab2,'fieldJSON':_0x401343,'unitId':_0x113723,'subUnitId':_0x4d6926}}),_0x1402d4[_0x2e10af(0x45e)]({'id':Qo['id'],'params':{'pivotTableId':_0x211ab2,'dataFieldId':_0x401343['id'],'unitId':_0x113723,'subUnitId':_0x4d6926}})),_0x124ed7([..._0x6a187d[_0x2e10af(0x2f6)],..._0x26ddb7[_0x2e10af(0x2f6)],..._0x2c21bf],_0x3a4727),_0x8a4daa[_0x2e10af(0x2ed)]({'unitID':_0x113723,'redoMutations':[..._0x6a187d['redos'],..._0x26ddb7[_0x2e10af(0x2f6)],..._0x2c21bf],'undoMutations':[..._0x6a187d[_0x2e10af(0x23e)],..._0x26ddb7[_0x2e10af(0x23e)],..._0x1402d4]}),!0x0;}},vs={'type':_0x16f1f0['COMMAND'],'id':_0x1d896e(0x3d4),async 'handler'(_0x9df21f,_0x7f9aa6){const _0xfd7d86=_0x1d896e;if(!_0x7f9aa6)return!0x1;const {sourceDataInfo:_0x5cb611,pivotTableConfig:_0x9f58c}=_0x7f9aa6;if(!_0x5cb611||!_0x9f58c)return!0x1;const {unitId:_0xa96885,subUnitId:_0x748457,range:_0x4f770f}=_0x5cb611,_0x4e00c8=_0x9df21f[_0xfd7d86(0x283)](_0x1ca4cb),_0x2725d9=_0x9df21f[_0xfd7d86(0x283)](X),_0x3fa9ff=_0x9df21f[_0xfd7d86(0x283)](_0x3cd624),_0x4c1724=_0x9df21f['get'](_0x136a21),_0x23c2f2=_0x4e00c8[_0xfd7d86(0x443)](_0xa96885);if(!_0x23c2f2)return!0x1;const _0x521c9c=_0x23c2f2[_0xfd7d86(0x45b)](_0x748457);if(!_0x521c9c)return!0x1;const _0x43e4f7=_0x4801c0(0x8),_0x7a9afa=_0x4f770f||{'startRow':0x0,'startColumn':0x0,'endRow':_0x521c9c[_0xfd7d86(0x221)]()-0x1,'endColumn':_0x521c9c[_0xfd7d86(0x2a9)]()-0x1};_0x7a9afa[_0xfd7d86(0x36a)]=_0x38b917['NORMAL'];const _0xe667cf=(await _0x2725d9[_0xfd7d86(0x43f)]({'unitId':_0xa96885,'subUnitId':_0x748457,'pivotTableId':_0x43e4f7,'params':{'type':k[_0xfd7d86(0x3e0)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0xa96885,'sheetName':_0x521c9c[_0xfd7d86(0x357)](),'subUnitId':_0x748457,'range':_0x7a9afa},'pivotTableId':_0x43e4f7,'pivotTableIndexConfig':_0x9f58c}}}))['result']['addPivotTableWithConfig'];if(!_0xe667cf)return!0x1;const {isEmpty:_0x4e90e0,fieldsConfig:_0x2ca416,collectionConfig:_0x5f1d95,changesets:_0x3ed2f0}=_0xe667cf,_0x3e1d51=_0x23c2f2['getSheets']()[_0xfd7d86(0x40c)],_0x3e96e8=_0x2fd2fa({'rowCount':_0x521c9c[_0xfd7d86(0x221)]()-0x1,'columnCount':_0x521c9c[_0xfd7d86(0x2a9)]()-0x1});_0x3e96e8['id']=_0x312cad(),_0x3e96e8[_0xfd7d86(0x1da)]=_0x23c2f2[_0xfd7d86(0x1eb)](''+_0x3fa9ff['t']('sheets.tabs.sheet'));const _0x24e88a={'index':_0x3e1d51,'sheet':_0x3e96e8,'unitId':_0xa96885},{redos:_0x4c39ea}=Ie(_0x4c1724,{'pivotTableId':_0x43e4f7,'unitId':_0xa96885,'subUnitId':_0x3e96e8['id']},_0x3ed2f0),_0x435139=[{'id':_0x5b618b['id'],'params':_0x24e88a},{'id':Ct['id'],'params':{'unitId':_0xa96885,'subUnitId':_0x3e96e8['id'],'pivotTableId':_0x43e4f7,'pivotTableConfig':{'isEmpty':_0x4e90e0,'fieldsConfig':_0x2ca416,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0xa96885,'subUnitId':_0x3e96e8['id']},'sourceRangeInfo':{'subUnitId':_0x748457,'unitId':_0xa96885,'range':_0x7a9afa,'sheetName':_0x521c9c[_0xfd7d86(0x357)]()}},'collectionConfig':_0x5f1d95}},..._0x4c39ea];return _0x124ed7(_0x435139,_0x4c1724),!0x0;}},ps={'type':_0x16f1f0[_0x1d896e(0x337)],'id':_0x1d896e(0x33a),async 'handler'(_0x5a1dd8,_0x47217d){const _0x5b4427=_0x1d896e;var _0xbf82e2,_0x208764;const _0x34f258=_0x5a1dd8[_0x5b4427(0x283)](_0x136a21),_0x5090b6=_0x5a1dd8[_0x5b4427(0x283)](_0x1ca4cb),_0xf1dfe3=_0x5a1dd8[_0x5b4427(0x283)](_0x3cd624),_0x59c6e2=_0x5a1dd8[_0x5b4427(0x283)](X),_0x25c25d=_0x5a1dd8[_0x5b4427(0x283)](_0x5c455a),_0x208c4f=_0x5a1dd8[_0x5b4427(0x283)](ve),_0x3d2e97=_0x5a1dd8[_0x5b4427(0x283)](_0x40c50c);if(!_0x47217d)return!0x1;const {pivotTableConfig:_0x13fe0d,positionType:_0x5e93df}=_0x47217d,{targetCellInfo:_0x536f4c,sourceRangeInfo:_0x4af7e8}=_0x13fe0d,{unitId:_0x4f0917,subUnitId:_0x582712}=_0x536f4c,_0x27285c=_0x5090b6['getUnit'](_0x4f0917);if(!_0x27285c)return!0x1;let _0x55b07a=0x0;_0x27285c['getSheets']()['forEach'](_0x4bce5e=>{const _0x5b3a6f=_0x5b4427;var _0x477db5,_0x3a6dc0;_0x55b07a+=(_0x3a6dc0=(_0x477db5=_0x208c4f['getSubUnitPivotConfigs'](_0x4f0917,_0x4bce5e[_0x5b3a6f(0x424)]()))==null?void 0x0:_0x477db5[_0x5b3a6f(0x26f)])!=null?_0x3a6dc0:0x0;});const _0x1fabed=(_0xbf82e2=_0x3d2e97[_0x5b4427(0x3da)](_0x276871))!=null?_0xbf82e2:{},{ls:_0x781590,pbk:_0x2c4254}=_0x1fabed;if(!jo(_0x781590,_0x2c4254))return!0x1;const _0x290774=go(so,_0x781590,_0x2c4254)[_0x5b4427(0x2f2)];if(_0x55b07a>=_0x290774)return!0x1;const _0x1e5fe7=_0x47217d[_0x5b4427(0x1f7)]||_0x4801c0(0x8),_0xe6edf3=(await _0x59c6e2[_0x5b4427(0x43f)]({'unitId':_0x4f0917,'subUnitId':_0x582712,'pivotTableId':_0x1e5fe7,'params':{'type':k[_0x5b4427(0x29e)],'addPivotTable':{'sourceRangeInfo':_0x4af7e8,'pivotTableId':_0x1e5fe7}}}))['result'][_0x5b4427(0x34f)];if(!_0xe6edf3)return!0x1;const {view:_0x463e1a,isEmpty:_0x10f068,fieldsConfig:_0x448f00,collectionConfig:_0x544961}=_0xe6edf3,_0x1037ba=[],_0x323092=[];if(_0x5e93df===Lo['New']){const _0x3e9950=_0x27285c['getSheets']()['length'],_0x5c5c8e=_0x2fd2fa({});_0x5c5c8e['id']=_0x13fe0d[_0x5b4427(0x1e4)][_0x5b4427(0x393)],_0x5c5c8e['name']=(_0x208764=_0x13fe0d[_0x5b4427(0x1e4)][_0x5b4427(0x2e8)])!=null?_0x208764:_0x27285c['generateNewSheetName'](''+_0xf1dfe3['t'](_0x5b4427(0x437)));const _0x3518f7={'index':_0x3e9950,'sheet':_0x5c5c8e,'unitId':_0x4f0917},_0x9eabad=_0x55ae89(_0x5a1dd8,_0x3518f7);_0x1037ba[_0x5b4427(0x45e)]({'id':_0x16661b['id'],'params':_0x9eabad}),_0x323092[_0x5b4427(0x45e)]({'id':_0x4d6bae['id'],'params':_0x3518f7});}else{if(!_0x27285c[_0x5b4427(0x45b)](_0x582712))return!0x1;const _0x5881b7=we(_0x5a1dd8,new _0x5457d9(),_0x536f4c,!0x0);_0x323092['push'](..._0x5881b7['redos']),_0x1037ba['push'](..._0x5881b7[_0x5b4427(0x23e)]);const _0x5b3435={'cellInfo':_0x536f4c,'view':_0x463e1a,'isEmpty':_0x10f068};if(!await _0x5a1dd8[_0x5b4427(0x283)](ie)[_0x5b4427(0x299)][_0x5b4427(0x388)](be)(!0x0,_0x5b3435))return!0x1;const _0x21692e=_e(_0x5a1dd8,_0x5b3435);_0x323092[_0x5b4427(0x45e)](..._0x21692e[_0x5b4427(0x2f6)]),_0x1037ba[_0x5b4427(0x45e)](..._0x21692e['undos']);}return _0x323092['push']({'id':Ct['id'],'params':{'unitId':_0x536f4c[_0x5b4427(0x3b0)],'subUnitId':_0x536f4c[_0x5b4427(0x393)],'pivotTableId':_0x1e5fe7,'pivotTableConfig':{'targetCellInfo':_0x536f4c,'sourceRangeInfo':_0x4af7e8,'fieldsConfig':_0x448f00},'collectionConfig':_0x544961}}),_0x1037ba[_0x5b4427(0x371)]({'id':Ot['id'],'params':{'unitId':_0x4f0917,'subUnitId':_0x582712,'pivotTableId':_0x1e5fe7}}),_0x124ed7(_0x323092,_0x34f258)&&_0x25c25d[_0x5b4427(0x2ed)]({'unitID':_0x4f0917,'undoMutations':_0x1037ba,'redoMutations':_0x323092}),!0x0;}},Is={'type':_0x16f1f0[_0x1d896e(0x337)],'id':_0x1d896e(0x255),async 'handler'(_0xe81260,_0x2aedfd){const _0x472c5f=_0x1d896e;if(!_0x2aedfd)return!0x1;const _0x326d43=_0xe81260[_0x472c5f(0x283)](_0x136a21),_0x58992f=_0xe81260[_0x472c5f(0x283)](X),_0x1e22fe=_0xe81260[_0x472c5f(0x283)](_0x5c455a),{pivotTableId:_0x4f8b4f,fieldId:_0x17b2a1,area:_0x5e185f,index:_0x123071,unitId:_0x5dbc90,subUnitId:_0x16fd9c}=_0x2aedfd,_0x2d6e47=(await _0x58992f['getPivotDisplayConfig']({'unitId':_0x5dbc90,'subUnitId':_0x16fd9c,'pivotTableId':_0x4f8b4f,'params':{'type':k['MovePivotField'],'movePivotField':{'fieldId':_0x17b2a1,'area':_0x5e185f,'index':_0x123071}}}))['result'][_0x472c5f(0x21c)];if(!_0x2d6e47)return!0x1;const {changesets:_0x3341b6,view:_0x32c2f1,isEmpty:_0x24ac09,pivotTableConfig:_0x3c8a2f}=_0x2d6e47,_0x503c2e=_0x3c8a2f[_0x472c5f(0x1e4)],_0xaf7d61=new _0x5457d9();_0xaf7d61[_0x472c5f(0x335)](_0x32c2f1);const _0x55a77b={'cellInfo':_0x503c2e,'view':_0xaf7d61,'isEmpty':_0x24ac09};if(!await _0xe81260[_0x472c5f(0x283)](ie)['asyncInterceptor'][_0x472c5f(0x388)](be)(!0x0,_0x55a77b))return!0x1;const _0x2b1f90=we(_0xe81260,_0xaf7d61,_0x503c2e,_0x24ac09),_0x271a14=_e(_0xe81260,_0x55a77b),{redos:_0x286656,undos:_0x5b11d8}=Ie(_0x326d43,{'pivotTableId':_0x4f8b4f,'unitId':_0x5dbc90,'subUnitId':_0x16fd9c},_0x3341b6);return _0x124ed7([..._0x2b1f90[_0x472c5f(0x2f6)],..._0x271a14[_0x472c5f(0x2f6)],..._0x286656],_0x326d43),_0x1e22fe[_0x472c5f(0x2ed)]({'unitID':_0x5dbc90,'redoMutations':[..._0x2b1f90[_0x472c5f(0x2f6)],..._0x271a14[_0x472c5f(0x2f6)],..._0x286656],'undoMutations':[..._0x2b1f90[_0x472c5f(0x23e)],..._0x271a14['undos'],..._0x5b11d8]}),!0x0;}},ms={'type':_0x16f1f0[_0x1d896e(0x337)],'id':_0x1d896e(0x248),async 'handler'(_0x206714,_0x7ef3fe){const _0x1c796f=_0x1d896e;var _0x57f66d;if(!_0x7ef3fe)return!0x1;const _0x36e64e=_0x206714[_0x1c796f(0x283)](_0x1ca4cb),_0x398d69=_0x2420d3(_0x36e64e);if(!_0x398d69)return!0x1;const {unitId:_0x5b039a,subUnitId:_0xc91dad,workbook:_0x438761}=_0x398d69,{row:_0x34113d,col:_0x228967}=_0x7ef3fe,_0x5ed412=_0x206714['get'](Ne),_0x40f979=_0x5ed412[_0x1c796f(0x2d6)](_0x5b039a,_0xc91dad,_0x34113d,_0x228967);if(!_0x40f979)return!0x1;const _0x4bfd64=(_0x57f66d=_0x5ed412[_0x1c796f(0x2f3)](_0x5b039a,_0xc91dad,_0x40f979))==null?void 0x0:_0x57f66d[_0x1c796f(0x230)];if(!_0x4bfd64)return!0x1;const _0x55f988=_0x206714[_0x1c796f(0x283)](ve)[_0x1c796f(0x431)](_0x5b039a,_0xc91dad,_0x40f979);if(!_0x55f988)return!0x1;const {rowInfo:_0xe622c1,colInfo:_0x1b93da}=_0x4bfd64,_0x39ba00=_0xe622c1[_0x34113d][_0x1c796f(0x1f6)],_0x2d6144=_0x1b93da[_0x228967]['paths'],_0x2cc677=_0xe622c1[_0x34113d][_0x1c796f(0x394)],_0x21f250=_0x1b93da[_0x228967][_0x1c796f(0x394)],_0x5bf049=_0x39ba00[_0x1c796f(0x3ff)](_0x2d6144),_0x280632=_0x55f988[_0x1c796f(0x2cb)][_0x1c796f(0x202)][_0x1c796f(0x41f)](0x0,_0x2cc677),_0x52241a=_0x55f988[_0x1c796f(0x2cb)][_0x1c796f(0x2b8)][_0x1c796f(0x41f)](0x0,_0x21f250),_0x3f2afc=_0x280632[_0x1c796f(0x3ff)](_0x52241a),_0x2f2c8d=_0x5bf049[_0x1c796f(0x349)]((_0x33eda4,_0x498894)=>[_0x33eda4,_0x3f2afc[_0x498894]]),_0x48e42a=(await _0x206714[_0x1c796f(0x283)](X)[_0x1c796f(0x43f)]({'unitId':_0x5b039a,'subUnitId':_0xc91dad,'pivotTableId':_0x40f979,'params':{'type':k[_0x1c796f(0x300)],'drillDown':{'tuple':_0x2f2c8d}}}))['result'][_0x1c796f(0x30e)];if(!_0x48e42a)return!0x1;const {indexes:_0x1783f2,range:_0xc4da12,sourceUnitId:_0x4aaccb,sourceSubUnitId:_0x4565c6,formatMap:_0x58ee10}=_0x48e42a,{startRow:_0x3401b6,endRow:_0x19d056,startColumn:_0x42ce44,endColumn:_0x5c6490}=_0xc4da12,_0x15e919=new _0x2d38e2(),_0x8534f7=_0x19d056-_0x3401b6,_0x2411b7=_0x5c6490-_0x42ce44,_0x4ae923={},_0x509a4f=_0x2420d3(_0x36e64e,{'unitId':_0x4aaccb,'subUnitId':_0x4565c6});if(!_0x509a4f)return!0x1;const _0x34ad2f=fe['colStyle'],_0x3e9d3b=fe[_0x1c796f(0x20b)],_0x405299=fe[_0x1c796f(0x20b)],_0x123f7c=_0x438761[_0x1c796f(0x280)]()[_0x1c796f(0x3aa)](_0x34ad2f),_0x3715ef=_0x438761['getStyles']()[_0x1c796f(0x3aa)](_0x3e9d3b),_0x178509=_0x438761[_0x1c796f(0x280)]()[_0x1c796f(0x3aa)](_0x405299),{worksheet:_0x3fbc66}=_0x509a4f;let _0x3807b6=0x0;const _0x2de65b=0x1;_0x1783f2['forEach'](_0x1381d4=>{const _0x29a07a=_0x1c796f;for(let _0x35f611=0x0;_0x35f611<=_0x5c6490-_0x42ce44;_0x35f611++)_0x15e919['setValue'](_0x3807b6,_0x35f611,_0x3fbc66[_0x29a07a(0x228)](_0x1381d4+_0xc4da12[_0x29a07a(0x1df)]+_0x2de65b,_0x35f611));_0x3807b6++;});for(let _0x3889b1=_0x42ce44;_0x3889b1<=_0x5c6490;_0x3889b1++){const _0x4c9eea=_0x3fbc66[_0x1c796f(0x228)](_0x3401b6,_0x3889b1);_0x4ae923[_0x3401b6]||(_0x4ae923[_0x3401b6]={}),_0x4ae923[_0x3401b6][_0x3889b1]={..._0x4c9eea,'s':_0x123f7c};}let _0x40fafd=0x1;const _0x4d1bfb={},_0x24feda={};_0x15e919[_0x1c796f(0x271)]((_0x3d3437,_0x42619e)=>{_0x42619e['forEach'](_0x42247d=>{const _0x2f4dd6=_0x1e98,_0x59f9ce=_0x15e919['getValue'](_0x3d3437,_0x42247d);if(_0x4ae923[_0x40fafd]||(_0x4ae923[_0x40fafd]={}),_0x4ae923[_0x40fafd][_0x42247d]={..._0x59f9ce,'s':_0x40fafd%0x2===0x0?_0x178509:_0x3715ef},_0x58ee10[_0x42247d]&&_0x3d3437>=0x0){const _0x3f1119=_0x40fafd%0x2===0x0;let _0x11f7ee=_0x3f1119?_0x24feda[_0x42247d]:_0x4d1bfb[_0x42247d];_0x11f7ee||(_0x11f7ee=_0x438761['getStyles']()[_0x2f4dd6(0x3aa)]({..._0x3f1119?_0x405299:_0x3e9d3b,'n':{'pattern':_0x58ee10[_0x42247d]}}),_0x3f1119?_0x24feda[_0x42247d]=_0x11f7ee:_0x4d1bfb[_0x42247d]=_0x11f7ee),_0x4ae923[_0x40fafd][_0x42247d]['s']=_0x11f7ee;}}),_0x40fafd++;});const _0x51c0de=new _0x2d38e2(_0x4ae923),_0x1a6188={};_0x51c0de['forValue']((_0x3a59bd,_0x16d1cc,_0x50a4ac)=>{_0x1a6188[_0x3a59bd]||(_0x1a6188[_0x3a59bd]={}),_0x1a6188[_0x3a59bd][_0x16d1cc]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x189790=[],_0x1dd829=[],_0x214f8a=_0x438761[_0x1c796f(0x295)]()[_0x1c796f(0x40c)],_0x5e2723=_0x2fd2fa({'rowCount':Math[_0x1c796f(0x1ec)](_0xfe32a0,_0x8534f7+0xa),'columnCount':Math[_0x1c796f(0x1ec)](_0x5152a1,_0x2411b7+0x5)}),_0x3e17fe=_0x206714[_0x1c796f(0x283)](_0x3cd624);_0x5e2723['id']=_0x312cad(),_0x5e2723[_0x1c796f(0x1da)]=_0x438761[_0x1c796f(0x1eb)](''+_0x3e17fe['t']('sheets.tabs.sheet'));const _0x4cae41={'index':_0x214f8a,'sheet':_0x5e2723,'unitId':_0x5b039a},_0x2899d7=_0x55ae89(_0x206714,_0x4cae41);_0x1dd829['push']({'id':_0x4d6bae['id'],'params':_0x4cae41}),_0x189790[_0x1c796f(0x45e)]({'id':_0x16661b['id'],'params':_0x2899d7}),_0x1dd829['push']({'id':_0x33e469['id'],'params':{'unitId':_0x5b039a,'subUnitId':_0x5e2723['id'],'cellValue':_0x4ae923}}),_0x189790[_0x1c796f(0x371)]({'id':_0x33e469['id'],'params':{'unitId':_0x5b039a,'subUnitId':_0x5e2723['id'],'cellValue':_0x1a6188}});const _0xca1747={'startRow':0x0,'startColumn':0x0,'endRow':_0x40fafd-0x1,'endColumn':_0x5c6490};_0x1dd829[_0x1c796f(0x45e)]({'id':_0x514277['id'],'params':{'unitId':_0x5b039a,'subUnitId':_0x5e2723['id'],'range':_0xca1747}}),_0x189790[_0x1c796f(0x371)]({'id':_0x4d0912['id'],'params':{'unitId':_0x5b039a,'subUnitId':_0x5e2723['id']}});const _0x106902=_0x206714[_0x1c796f(0x283)](_0x136a21);return _0x124ed7(_0x1dd829,_0x106902)&&_0x206714[_0x1c796f(0x283)](_0x5c455a)['pushUndoRedo']({'unitID':_0x5b039a,'undoMutations':_0x189790,'redoMutations':_0x1dd829}),!0x0;}},Cs={'type':_0x16f1f0['COMMAND'],'id':_0x1d896e(0x3d2),async 'handler'(_0x5963ea,_0x2948f8){const _0x583e1d=_0x1d896e;if(!_0x2948f8)return!0x1;const _0x545b33=_0x5963ea['get'](_0x136a21),_0x36a907=_0x5963ea[_0x583e1d(0x283)](X),_0x550e99=_0x5963ea[_0x583e1d(0x283)](_0x5c455a),{pivotTableId:_0x18aa40,fieldIds:_0x5f22c6,unitId:_0x2db1b7,subUnitId:_0xffabf1}=_0x2948f8,_0x1d8ff1=(await _0x36a907[_0x583e1d(0x43f)]({'unitId':_0x2db1b7,'subUnitId':_0xffabf1,'pivotTableId':_0x18aa40,'params':{'type':k[_0x583e1d(0x32a)],'removePivotField':{'fieldIds':_0x5f22c6}}}))[_0x583e1d(0x238)][_0x583e1d(0x229)];if(!_0x1d8ff1)return!0x1;const {view:_0x3e3759,changesets:_0x55590a,isEmpty:_0x2d4c28,pivotTableConfig:_0x284271}=_0x1d8ff1,_0x435354=_0x284271[_0x583e1d(0x1e4)],_0x4d85e6=new _0x5457d9();_0x4d85e6[_0x583e1d(0x335)](_0x3e3759);const _0x11cff4={'cellInfo':_0x435354,'view':_0x4d85e6,'isEmpty':_0x2d4c28};if(!await _0x5963ea[_0x583e1d(0x283)](ie)[_0x583e1d(0x299)][_0x583e1d(0x388)](be)(!0x0,_0x11cff4))return!0x1;const _0x11156d=we(_0x5963ea,_0x4d85e6,_0x435354,_0x2d4c28),_0x13abb2=_e(_0x5963ea,_0x11cff4),{redos:_0x31684a,undos:_0x2210b0}=Ie(_0x545b33,{'pivotTableId':_0x18aa40,'unitId':_0x2db1b7,'subUnitId':_0xffabf1},_0x55590a);return _0x124ed7([..._0x11156d[_0x583e1d(0x2f6)],..._0x13abb2[_0x583e1d(0x2f6)],..._0x31684a],_0x545b33),_0x550e99[_0x583e1d(0x2ed)]({'unitID':_0x2db1b7,'redoMutations':[..._0x11156d[_0x583e1d(0x2f6)],..._0x13abb2['redos'],..._0x31684a],'undoMutations':[..._0x11156d[_0x583e1d(0x23e)],..._0x13abb2[_0x583e1d(0x23e)],..._0x2210b0]}),!0x0;}},bs={'type':_0x16f1f0[_0x1d896e(0x337)],'id':_0x1d896e(0x430),async 'handler'(_0x173701,_0x7edb1b){const _0xc24447=_0x1d896e;var _0x529e71;const _0x38f04b=_0x173701[_0xc24447(0x283)](_0x136a21),_0x1e845b=_0x173701[_0xc24447(0x283)](X),_0x5605c1=_0x173701[_0xc24447(0x283)](Ne),_0x1e57bb=_0x173701[_0xc24447(0x283)](_0x1ca4cb),_0x307c3f=_0x173701[_0xc24447(0x283)](_0x5c455a);if(!_0x7edb1b)return!0x1;const {unitId:_0x5c2a08,subUnitId:_0x9b4940,row:_0x210011,col:_0x5704c5,collapse:_0x2435f7}=_0x7edb1b,_0x426aa0=_0x1e57bb[_0xc24447(0x443)](_0x5c2a08);if(!_0x426aa0||!_0x426aa0[_0xc24447(0x45b)](_0x9b4940))return!0x1;const _0x564e4d=_0x5605c1[_0xc24447(0x2d6)](_0x5c2a08,_0x9b4940,_0x210011,_0x5704c5);if(!_0x564e4d)return!0x1;const _0x146d31=_0x5605c1[_0xc24447(0x2f3)](_0x5c2a08,_0x9b4940,_0x564e4d);if(!_0x146d31)return!0x1;const _0x1f8d9c=_0x17c069(_0x210011,_0x5704c5),{rangesInfo:_0x2b5316,areaInfo:_0x1ca141,headerMap:_0x160ee1}=_0x146d31;if(!_0x2b5316||!_0x1ca141||!_0x160ee1)return!0x1;const _0x27e9a9=Object[_0xc24447(0x2c7)](_0x2b5316)['find'](_0x226517=>_0x2b5316[_0x226517]['some'](_0x1322eb=>_0x27a2e6[_0xc24447(0x210)](_0x1322eb,_0x1f8d9c)));let _0xe7adde;_0x27e9a9===_0xc24447(0x28d)?_0xe7adde=_0x160ee1[_0xc24447(0x2df)][_0x5704c5]:_0x27e9a9===_0xc24447(0x29b)&&(_0xe7adde=_0x160ee1[_0xc24447(0x316)][_0x210011]);const _0x5aa944=_0xe7adde==null?void 0x0:_0xe7adde[_0xc24447(0x422)],_0x5e4d1b=(_0x529e71=_0x5605c1[_0xc24447(0x444)](_0x5c2a08,_0x9b4940,_0x210011,_0x5704c5))==null?void 0x0:_0x529e71['v'];if(_0x5e4d1b==null||!_0x564e4d||!_0x5aa944)return!0x1;const _0x56fc63=await _0x1e845b['getPivotDisplayConfig']({'unitId':_0x5c2a08,'subUnitId':_0x9b4940,'pivotTableId':_0x564e4d,'params':{'type':k[_0xc24447(0x3e7)],'setPivotCollapse':{'tableFieldId':_0x5aa944,'collapse':_0x2435f7,'item':_0x5e4d1b}}}),_0x1dd73b=_0x56fc63==null?void 0x0:_0x56fc63[_0xc24447(0x238)][_0xc24447(0x1d5)];if(!_0x1dd73b)return!0x1;const {view:_0x52444c,pivotTableConfig:_0x180085,isEmpty:_0x314720,changesets:_0x22b9ee}=_0x1dd73b,_0x4cc142=new _0x5457d9();_0x4cc142['formJSON'](_0x52444c);const _0x2f3f9d=_0x180085[_0xc24447(0x1e4)],_0x3f56b7={'cellInfo':_0x2f3f9d,'view':_0x4cc142,'isEmpty':_0x314720};if(!await _0x173701[_0xc24447(0x283)](ie)['asyncInterceptor'][_0xc24447(0x388)](be)(!0x0,_0x3f56b7))return!0x1;const _0x4c8832=we(_0x173701,_0x4cc142,_0x2f3f9d,_0x314720),_0xa872d=_e(_0x173701,_0x3f56b7),{redos:_0x127708,undos:_0x16df2a}=Ie(_0x38f04b,{'pivotTableId':_0x564e4d,'unitId':_0x5c2a08,'subUnitId':_0x9b4940},_0x22b9ee);return _0x124ed7([..._0x4c8832[_0xc24447(0x2f6)],..._0xa872d[_0xc24447(0x2f6)],..._0x127708],_0x38f04b),_0x307c3f['pushUndoRedo']({'unitID':_0x5c2a08,'redoMutations':[..._0x4c8832['redos'],..._0xa872d['redos'],..._0x127708],'undoMutations':[..._0x4c8832[_0xc24447(0x23e)],..._0xa872d[_0xc24447(0x23e)],..._0x16df2a]}),!0x0;}},Ss={'type':_0x16f1f0[_0x1d896e(0x337)],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x402660,_0x314c1d){const _0x374a10=_0x1d896e;if(!_0x314c1d)return!0x1;const _0x5ec346=_0x402660[_0x374a10(0x283)](_0x136a21),{pivotTableId:_0x355266,tableFieldId:_0x480f2c,items:_0x4a636a,unitId:_0x2692b6,subUnitId:_0x1c0557,isAll:_0x1baad3}=_0x314c1d,_0x2ad2c2=_0x402660[_0x374a10(0x283)](X),_0x398cab=_0x402660[_0x374a10(0x283)](_0x5c455a),_0xa77f55=(await _0x2ad2c2[_0x374a10(0x43f)]({'unitId':_0x2692b6,'subUnitId':_0x1c0557,'pivotTableId':_0x355266,'params':{'type':k[_0x374a10(0x38b)],'setPivotFilter':{'tableFieldId':_0x480f2c,'items':_0x4a636a,'isAll':_0x1baad3}}}))[_0x374a10(0x238)]['setPivotFilter'];if(!_0xa77f55)return!0x1;const {changesets:_0x3bc4b2,pivotTableConfig:_0x23f6d0,isEmpty:_0x35d942,view:_0x1636c9}=_0xa77f55,_0x4d53e8=_0x23f6d0[_0x374a10(0x1e4)],_0x57e26b=new _0x5457d9();_0x57e26b[_0x374a10(0x335)](_0x1636c9);const _0x5bfe7c={'cellInfo':_0x4d53e8,'view':_0x57e26b,'isEmpty':_0x35d942};if(!await _0x402660['get'](ie)[_0x374a10(0x299)][_0x374a10(0x388)](be)(!0x0,_0x5bfe7c))return!0x1;const _0x3670b0=we(_0x402660,_0x57e26b,_0x4d53e8,_0x35d942),_0x257556=_e(_0x402660,_0x5bfe7c),{undos:_0x3458a3,redos:_0x469cd1}=Ie(_0x5ec346,{'pivotTableId':_0x355266,'unitId':_0x2692b6,'subUnitId':_0x1c0557},_0x3bc4b2);return _0x124ed7([..._0x3670b0[_0x374a10(0x2f6)],..._0x257556[_0x374a10(0x2f6)],..._0x469cd1],_0x5ec346),_0x398cab[_0x374a10(0x2ed)]({'unitID':_0x2692b6,'redoMutations':[..._0x3670b0[_0x374a10(0x2f6)],..._0x257556['redos'],..._0x469cd1],'undoMutations':[..._0x3670b0[_0x374a10(0x23e)],..._0x257556[_0x374a10(0x23e)],..._0x3458a3]}),!0x0;}},Ts={'type':_0x16f1f0[_0x1d896e(0x337)],'id':_0x1d896e(0x25b),async 'handler'(_0x31d41d,_0x488c06){const _0x2d995b=_0x1d896e;if(!_0x488c06)return!0x1;const _0x5d2346=_0x31d41d[_0x2d995b(0x283)](_0x136a21),_0x44cac5=_0x31d41d['get'](_0x5c455a),_0x410fbc=_0x31d41d[_0x2d995b(0x283)](X),{info:_0x36b8eb,tableFieldId:_0x2cacd9,pivotTableId:_0x31c862,unitId:_0x92996d,subUnitId:_0x27832f}=_0x488c06,_0x45893c=(await _0x410fbc['getPivotDisplayConfig']({'unitId':_0x92996d,'subUnitId':_0x27832f,'pivotTableId':_0x31c862,'params':{'type':k['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x2cacd9,'info':_0x36b8eb}}}))[_0x2d995b(0x238)][_0x2d995b(0x25e)];if(!_0x45893c)return!0x1;const {changesets:_0x352a1d}=_0x45893c,{redos:_0x10c6dc,undos:_0x50e882}=Ie(_0x5d2346,{'pivotTableId':_0x31c862,'unitId':_0x92996d,'subUnitId':_0x27832f},_0x352a1d);return _0x124ed7(_0x10c6dc,_0x5d2346),_0x44cac5[_0x2d995b(0x2ed)]({'unitID':_0x92996d,'redoMutations':_0x10c6dc,'undoMutations':_0x50e882}),!0x0;}},Ps={'type':_0x16f1f0[_0x1d896e(0x337)],'id':_0x1d896e(0x22f),async 'handler'(_0x6122e1,_0x3caf2b){const _0x36329e=_0x1d896e;if(!_0x3caf2b)return!0x1;const _0x172291=_0x6122e1[_0x36329e(0x283)](_0x136a21),_0x3167fd=_0x6122e1[_0x36329e(0x283)](_0x5c455a),_0x7bcf8=_0x6122e1[_0x36329e(0x283)](X),{displayName:_0x14bb6f,subtotalType:_0x51b46c,format:_0x8edf28,tableFieldId:_0xfc55f,pivotTableId:_0x20a595,unitId:_0x5d648a,subUnitId:_0x3c12a1}=_0x3caf2b,_0x1537d8=(await _0x7bcf8[_0x36329e(0x43f)]({'unitId':_0x5d648a,'subUnitId':_0x3c12a1,'pivotTableId':_0x20a595,'params':{'type':k['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0xfc55f,'displayName':_0x14bb6f,'subtotalType':_0x51b46c,'format':_0x8edf28}}}))[_0x36329e(0x238)][_0x36329e(0x332)];if(!_0x1537d8)return!0x1;const {changesets:_0x17fe21,view:_0x1c5c1a,pivotTableConfig:_0x248b13,isEmpty:_0x1fb945}=_0x1537d8,_0x53b11e=_0x248b13[_0x36329e(0x1e4)],_0xdafe9d=new _0x5457d9();_0xdafe9d[_0x36329e(0x335)](_0x1c5c1a);const _0x585fd3={'cellInfo':_0x53b11e,'view':_0xdafe9d,'isEmpty':_0x1fb945};if(!await _0x6122e1[_0x36329e(0x283)](ie)[_0x36329e(0x299)][_0x36329e(0x388)](be)(!0x0,_0x585fd3))return!0x1;const _0x253f9e=we(_0x6122e1,_0xdafe9d,_0x53b11e,_0x1fb945),_0x350e21=_e(_0x6122e1,_0x585fd3),{undos:_0x31f965,redos:_0x5c7793}=Ie(_0x172291,{'pivotTableId':_0x20a595,'unitId':_0x5d648a,'subUnitId':_0x3c12a1},_0x17fe21);return _0x124ed7([..._0x253f9e[_0x36329e(0x2f6)],..._0x350e21[_0x36329e(0x2f6)],..._0x5c7793],_0x172291),_0x3167fd[_0x36329e(0x2ed)]({'unitID':_0x5d648a,'redoMutations':[..._0x253f9e['redos'],..._0x350e21['redos'],..._0x5c7793],'undoMutations':[..._0x253f9e[_0x36329e(0x23e)],..._0x350e21[_0x36329e(0x23e)],..._0x31f965]}),!0x0;}},ys={'type':_0x16f1f0[_0x1d896e(0x337)],'id':_0x1d896e(0x231),async 'handler'(_0x14308a,_0x20cf65){const _0x578fb6=_0x1d896e,_0x47ecfd=_0x14308a['get'](_0x136a21),_0x2a3dee=_0x14308a[_0x578fb6(0x283)](X),_0x2b6e3d=_0x14308a[_0x578fb6(0x283)](_0x5c455a);if(!_0x20cf65)return!0x1;const {token:_0x19e075,dataRangeInfo:_0x541239,unitId:_0x2ed9f3,subUnitId:_0x53e633}=_0x20cf65,_0xe7cf8=[],_0x30ff86=[],_0x162590=(await _0x2a3dee[_0x578fb6(0x43f)]({'unitId':_0x2ed9f3,'subUnitId':_0x53e633,'pivotTableId':_0x19e075,'params':{'type':k[_0x578fb6(0x24b)],'updatePivotSource':{'dataRangeInfo':_0x541239,'unitId':_0x2ed9f3,'subUnitId':_0x53e633}}}))[_0x578fb6(0x238)]['updatePivotSource'];if(!_0x162590)return!0x1;const {changesets:_0x5445bd,deleteIds:_0x4708ec,collectionConfig:_0x56a199,oldCollectionConfig:_0x35ac13,view:_0x4f0d61,isEmpty:_0xe589a7,pivotTableConfig:_0x21339b}=_0x162590;_0x30ff86['push']({'id':to['id'],'params':{'pivotTableId':_0x19e075,'deleteIds':_0x4708ec,'collectionJSON':_0x56a199,'dataRangeInfo':_0x541239,'unitId':_0x2ed9f3,'subUnitId':_0x53e633}}),_0xe7cf8['unshift']({'id':to['id'],'params':{'pivotTableId':_0x19e075,'deleteIds':[],'collectionJSON':_0x35ac13,'dataRangeInfo':_0x21339b[_0x578fb6(0x456)],'unitId':_0x2ed9f3,'subUnitId':_0x53e633}});const _0x2c56d7=_0x21339b[_0x578fb6(0x1e4)],_0x2e225e=new _0x5457d9();_0x2e225e[_0x578fb6(0x335)](_0x4f0d61);const _0x29bac8={'cellInfo':_0x2c56d7,'view':_0x2e225e,'isEmpty':_0xe589a7};if(!await _0x14308a[_0x578fb6(0x283)](ie)[_0x578fb6(0x299)][_0x578fb6(0x388)](be)(!0x0,_0x29bac8))return!0x1;const _0x41f569=we(_0x14308a,_0x2e225e,_0x2c56d7,_0xe589a7),_0x1d9392=_e(_0x14308a,_0x29bac8),{undos:_0x5c926e,redos:_0x4bf1e9}=Ie(_0x47ecfd,{'pivotTableId':_0x19e075,'unitId':_0x2ed9f3,'subUnitId':_0x53e633},_0x5445bd);return _0x124ed7([..._0x41f569[_0x578fb6(0x2f6)],..._0x1d9392[_0x578fb6(0x2f6)],..._0x30ff86,..._0x5c926e],_0x47ecfd),_0x2b6e3d['pushUndoRedo']({'unitID':_0x2ed9f3,'redoMutations':[..._0x41f569['redos'],..._0x1d9392[_0x578fb6(0x2f6)],..._0x30ff86,..._0x5c926e],'undoMutations':[..._0x41f569[_0x578fb6(0x23e)],..._0x1d9392[_0x578fb6(0x23e)],..._0xe7cf8,..._0x4bf1e9]}),!0x0;}},Ms={'type':_0x16f1f0[_0x1d896e(0x337)],'id':_0x1d896e(0x3cc),async 'handler'(_0x1b5b12,_0x52a39a){const _0x51ca26=_0x1d896e;if(!_0x52a39a)return!0x1;const _0x14a6db=_0x1b5b12[_0x51ca26(0x283)](_0x136a21),_0x36c486=_0x1b5b12[_0x51ca26(0x283)](X),_0x10d413=_0x1b5b12[_0x51ca26(0x283)](_0x1ca4cb),_0x39d71f=_0x1b5b12[_0x51ca26(0x283)](_0x5c455a),{pivotTableId:_0x2f0964,position:_0x115774,index:_0x59cd20}=_0x52a39a,_0x1ab7ec=_0x2420d3(_0x10d413);if(!_0x1ab7ec)return!0x1;const {unitId:_0x381da5,subUnitId:_0x1da3bc}=_0x1ab7ec,_0x2e5859=(await _0x36c486[_0x51ca26(0x43f)]({'unitId':_0x381da5,'subUnitId':_0x1da3bc,'pivotTableId':_0x2f0964,'params':{'type':k[_0x51ca26(0x314)],'updateValuePosition':{'position':_0x115774,'index':_0x59cd20}}}))[_0x51ca26(0x238)][_0x51ca26(0x2a3)];if(!_0x2e5859)return!0x1;const {changesets:_0x207051,view:_0x3da75d,isEmpty:_0x2dffa3,pivotTableConfig:_0x23e61b}=_0x2e5859,_0x398230=_0x23e61b['targetCellInfo'],_0x44dda7=new _0x5457d9();_0x44dda7['formJSON'](_0x3da75d);const _0x2ac49e=_0x1b5b12[_0x51ca26(0x283)](ie),_0x3520fa={'cellInfo':_0x398230,'view':_0x44dda7,'isEmpty':_0x2dffa3};if(!await _0x2ac49e[_0x51ca26(0x299)][_0x51ca26(0x388)](be)(!0x0,_0x3520fa))return!0x1;const _0x32e118=we(_0x1b5b12,_0x44dda7,_0x398230,_0x2dffa3),_0x32a92f=_e(_0x1b5b12,_0x3520fa),{undos:_0x14f149,redos:_0x18d69b}=Ie(_0x14a6db,{'pivotTableId':_0x2f0964,'unitId':_0x381da5,'subUnitId':_0x1da3bc},_0x207051);return _0x124ed7([..._0x32e118[_0x51ca26(0x2f6)],..._0x32a92f[_0x51ca26(0x2f6)],..._0x18d69b],_0x14a6db),_0x39d71f['pushUndoRedo']({'unitID':_0x381da5,'redoMutations':[..._0x32e118['redos'],..._0x32a92f[_0x51ca26(0x2f6)],..._0x18d69b],'undoMutations':[..._0x32e118[_0x51ca26(0x23e)],..._0x32a92f[_0x51ca26(0x23e)],..._0x14f149]}),!0x0;}},ws={'type':_0x16f1f0[_0x1d896e(0x337)],'id':'sheet.command.move-pivot-table','handler':(_0x42b113,_0x356a64)=>{const _0x21450c=_0x1d896e,_0x1aaa5b=_0x42b113[_0x21450c(0x283)](_0x136a21),_0x4acd2a=_0x42b113['get'](_0x5c455a),_0x521652=_0x42b113['get'](ve),_0x3c1294=_0x42b113[_0x21450c(0x283)](_0x1ca4cb);if(!_0x356a64)return!0x1;const _0x51a121=_0x2420d3(_0x3c1294);if(!_0x51a121)return!0x1;const {unitId:_0x212c7b,subUnitId:_0x2ac555,workbook:_0x1d86f0}=_0x51a121,_0x1f1c81=_0x521652[_0x21450c(0x431)](_0x356a64['originTargetInfo'][_0x21450c(0x3b0)],_0x356a64[_0x21450c(0x28f)][_0x21450c(0x393)],_0x356a64[_0x21450c(0x1f7)]);if(!_0x1f1c81)return!0x1;const _0x482cb5=_0x1d86f0['getSheetBySheetId'](_0x356a64['targetCellInfo'][_0x21450c(0x393)]);if(!_0x482cb5)throw new Error(_0x21450c(0x245));const _0xf7c1af=_0x482cb5[_0x21450c(0x221)](),_0x23e176=_0x482cb5[_0x21450c(0x2a9)]();if(_0x356a64[_0x21450c(0x1e4)]['row']>_0xf7c1af||_0x356a64[_0x21450c(0x1e4)][_0x21450c(0x329)]>_0x23e176)throw new Error(_0x21450c(0x310));const _0x44c1ce=[{'id':pt['id'],'params':{'unitId':_0x212c7b,'subUnitId':_0x356a64[_0x21450c(0x1e4)]['subUnitId'],'pivotTableId':_0x356a64[_0x21450c(0x1f7)],'targetCellPosition':{'row':_0x356a64['targetCellInfo'][_0x21450c(0x42f)],'col':_0x356a64['targetCellInfo']['col']}}}],_0x2a2832=[{'id':pt['id'],'params':{'unitId':_0x212c7b,'subUnitId':_0x2ac555,'pivotTableId':_0x356a64[_0x21450c(0x1f7)],'targetCellPosition':{'row':_0x1f1c81[_0x21450c(0x1e4)][_0x21450c(0x42f)],'col':_0x1f1c81[_0x21450c(0x1e4)]['col']}}}];return _0x124ed7(_0x44c1ce,_0x1aaa5b)&&_0x4acd2a[_0x21450c(0x2ed)]({'unitID':_0x212c7b,'undoMutations':_0x2a2832,'redoMutations':_0x44c1ce}),!0x0;}},_s={'type':_0x16f1f0[_0x1d896e(0x337)],'id':_0x1d896e(0x346),async 'handler'(_0x464879,_0x365de3){const _0x426681=_0x1d896e;if(!_0x365de3)return!0x1;const _0x5ac428=_0x464879[_0x426681(0x283)](_0x136a21),{pivotTableId:_0x4cd930,fieldId:_0x42aed1,valueFilterInfo:_0x4982e8,unitId:_0x32eb2a,subUnitId:_0x1d15f8}=_0x365de3,_0x263af5=_0x464879[_0x426681(0x283)](X),_0x7c1e76=_0x464879['get'](_0x5c455a),_0x29dd57=(await _0x263af5['getPivotDisplayConfig']({'unitId':_0x32eb2a,'subUnitId':_0x1d15f8,'pivotTableId':_0x4cd930,'params':{'type':k['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x42aed1,'filterInfo':_0x4982e8}}}))['result']['setValuePivotFilter'];if(!_0x29dd57)return!0x1;const {changesets:_0x142c8d,pivotTableConfig:_0x125417,isEmpty:_0x5e40bd,view:_0x132b1a}=_0x29dd57,_0x462bcc=_0x125417[_0x426681(0x1e4)],_0x303d74=new _0x5457d9();_0x303d74[_0x426681(0x335)](_0x132b1a);const _0x4a3ef2={'cellInfo':_0x462bcc,'view':_0x303d74,'isEmpty':_0x5e40bd};if(!await _0x464879['get'](ie)[_0x426681(0x299)][_0x426681(0x388)](be)(!0x0,_0x4a3ef2))return!0x1;const _0xe4511f=we(_0x464879,_0x303d74,_0x462bcc,_0x5e40bd),_0x359b1c=_e(_0x464879,_0x4a3ef2),{undos:_0x2492fa,redos:_0x3b4ed7}=Ie(_0x5ac428,{'pivotTableId':_0x4cd930,'unitId':_0x32eb2a,'subUnitId':_0x1d15f8},_0x142c8d);return _0x124ed7([..._0xe4511f[_0x426681(0x2f6)],..._0x359b1c['redos'],..._0x3b4ed7],_0x5ac428),_0x7c1e76[_0x426681(0x2ed)]({'unitID':_0x32eb2a,'redoMutations':[..._0xe4511f[_0x426681(0x2f6)],..._0x359b1c['redos'],..._0x3b4ed7],'undoMutations':[..._0xe4511f[_0x426681(0x23e)],..._0x359b1c['undos'],..._0x2492fa]}),!0x0;}},Rs={'type':_0x16f1f0[_0x1d896e(0x337)],'id':_0x1d896e(0x369),async 'handler'(_0xac4cb3,_0x519c4e){const _0x2dbf8c=_0x1d896e;if(!_0x519c4e)return!0x1;const _0x22e640=_0xac4cb3[_0x2dbf8c(0x283)](_0x136a21),_0x35cdcc=_0xac4cb3[_0x2dbf8c(0x283)](_0x5c455a),_0x97ae1=_0xac4cb3[_0x2dbf8c(0x283)](X),{pivotTableConfig:_0x34c0f6,pivotTableId:_0x34d4f2,unitId:_0x33ae9a,subUnitId:_0x23786b}=_0x519c4e,_0x366785=(await _0x97ae1[_0x2dbf8c(0x43f)]({'unitId':_0x33ae9a,'subUnitId':_0x23786b,'pivotTableId':_0x34d4f2,'params':{'type':k[_0x2dbf8c(0x2bb)],'setPivotTableConfig':{'pivotTableId':_0x34d4f2,'pivotTableConfig':_0x34c0f6}}}))[_0x2dbf8c(0x238)][_0x2dbf8c(0x3c6)];if(!_0x366785)return!0x1;const {changesets:_0x38ead0}=_0x366785,{redos:_0x1f55ca,undos:_0x3bc408}=Ie(_0x22e640,{'pivotTableId':_0x34d4f2,'unitId':_0x33ae9a,'subUnitId':_0x23786b},_0x38ead0);return _0x124ed7(_0x1f55ca,_0x22e640),_0x35cdcc[_0x2dbf8c(0x2ed)]({'unitID':_0x33ae9a,'redoMutations':_0x1f55ca,'undoMutations':_0x3bc408}),!0x0;}},Fs={'type':_0x16f1f0[_0x1d896e(0x337)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0xc99838,_0x5d7d28){const _0xd1bd9f=_0x1d896e;if(!_0x5d7d28)return!0x1;const _0x2822a2=_0xc99838[_0xd1bd9f(0x283)](_0x136a21),_0x5052a9=_0xc99838[_0xd1bd9f(0x283)](_0x5c455a),_0x4b9883=_0xc99838[_0xd1bd9f(0x283)](X),{resetArea:_0x18d11e,pivotTableId:_0x27d6d9,unitId:_0xa6b975,subUnitId:_0x2dffb2}=_0x5d7d28,_0x2ab976=(await _0x4b9883[_0xd1bd9f(0x43f)]({'unitId':_0xa6b975,'subUnitId':_0x2dffb2,'pivotTableId':_0x27d6d9,'params':{'type':k[_0xd1bd9f(0x2ef)],'resetPivotTable':{'pivotTableId':_0x27d6d9,'resetArea':_0x18d11e}}}))[_0xd1bd9f(0x238)][_0xd1bd9f(0x2cc)];if(!_0x2ab976)return!0x1;const {changesets:_0x3f10a5}=_0x2ab976,{redos:_0x2a0d0f,undos:_0x389cf5}=Ie(_0x2822a2,{'pivotTableId':_0x27d6d9,'unitId':_0xa6b975,'subUnitId':_0x2dffb2},_0x3f10a5);return _0x124ed7(_0x2a0d0f,_0x2822a2),_0x5052a9['pushUndoRedo']({'unitID':_0xa6b975,'redoMutations':_0x2a0d0f,'undoMutations':_0x389cf5}),!0x0;}},oo={'id':_0x1d896e(0x408),'type':_0x16f1f0['MUTATION'],'handler':(_0x5b97df,_0x411e1d)=>{const _0x135480=_0x1d896e;if(!_0x411e1d)return!0x1;if(!!_0x5b97df['get'](_0x40c50c)['getConfig'](q))return!0x0;const {unitId:_0x5495ae,subUnitId:_0x4db16c,pivotTableId:_0x4e4404,tableFieldId:_0x2a8780,dateType:_0x38636a}=_0x411e1d,_0x531f11=_0x5b97df[_0x135480(0x283)]($),_0x38fe63=_0x531f11[_0x135480(0x3b5)](_0x4e4404);if(!_0x38fe63)return!0x1;const _0x18a42c=_0x38fe63[_0x135480(0x417)](_0x2a8780);if(!_0x18a42c)return!0x1;const _0x408cef=_0x18a42c[_0x135480(0x3f5)](),_0x517c1a=_0x38fe63[_0x135480(0x3c1)](_0x408cef),_0x330d87=(_0x517c1a==null?void 0x0:_0x517c1a[_0x135480(0x357)]())+'\x20'+qo(_0x5b97df,_0x38636a);_0x531f11[_0x135480(0x259)](_0x5495ae,_0x4e4404)[_0x135480(0x342)](_0x18a42c['id'],_0x330d87);const _0x5269a1=_0x38fe63[_0x135480(0x281)](_0x2a8780);if(!_0x5269a1)return!0x1;_0x38fe63[_0x135480(0x3ed)](_0x5269a1[_0x135480(0x433)](),_0x330d87),_0x18a42c[_0x135480(0x3e9)](_0x38636a);const _0x471dd3=_0x531f11['getPivotTableConfig'](_0x5495ae,_0x4db16c,_0x4e4404);return _0x531f11[_0x135480(0x1e1)]({'unitId':_0x5495ae,'subUnitId':_0x4db16c,'token':_0x4e4404,'type':K[_0x135480(0x368)],'pivotConfig':_0x471dd3}),!0x0;}},Ds={'id':_0x1d896e(0x3fc),'type':_0x16f1f0[_0x1d896e(0x337)],'handler':(_0x3ea00e,_0x4f6ada)=>{const _0x211dce=_0x1d896e;if(!_0x4f6ada)return!0x1;const _0x572f82=_0x3ea00e['get'](_0x5c455a),{unitId:_0x28b8d5,subUnitId:_0x341318,pivotTableId:_0x520b10,tableFieldId:_0x198f3a}=_0x4f6ada,_0x5aa201=[],_0x2fc953=[],_0x2727a7=_0x3ea00e['get'](ve),_0x224f95=_0x2727a7['getCollection'](_0x28b8d5,_0x520b10),_0x2dd31e=_0x2727a7[_0x211dce(0x431)](_0x28b8d5,_0x341318,_0x520b10);if(!(_0x2dd31e!=null&&_0x2dd31e[_0x211dce(0x2cb)]['dimension']))return!0x1;const _0x2b5360=Object[_0x211dce(0x341)](_0x2dd31e[_0x211dce(0x2cb)][_0x211dce(0x2d4)])[_0x211dce(0x27d)](_0x139f38=>_0x139f38['id']===_0x198f3a);if(!_0x2b5360)return!0x1;const _0xbdb62f=_0x2b5360['dataFieldId'];if(!(_0x224f95!=null&&_0x224f95[_0x211dce(0x3df)]))return!0x1;const _0x36f070=Object[_0x211dce(0x341)](_0x224f95==null?void 0x0:_0x224f95['fields'])[_0x211dce(0x27d)](_0x596829=>_0x596829['id']===_0xbdb62f);if(!_0x36f070)return!0x1;_0x5cf8b8(_0x36f070)&&_0x5aa201[_0x211dce(0x45e)]({'id':oo['id'],'params':{..._0x4f6ada,'dateType':_0x36f070[_0x211dce(0x284)]}}),_0x2fc953[_0x211dce(0x45e)]({'id':oo['id'],'params':{..._0x4f6ada}});const _0x3c85b7=_0x3ea00e['get'](_0x136a21);return _0x124ed7(_0x2fc953,_0x3c85b7)&&_0x572f82[_0x211dce(0x2ed)]({'unitID':_0x28b8d5,'undoMutations':_0x5aa201,'redoMutations':_0x2fc953}),!0x0;}};var Ns=Object[_0x1d896e(0x439)],Us=(_0x3959fa,_0x28d69c,_0x5436a8,_0x1e6e48)=>{const _0x1a4371=_0x1d896e;for(var _0x19f50e=_0x1e6e48>0x1?void 0x0:_0x1e6e48?Ns(_0x28d69c,_0x5436a8):_0x28d69c,_0x3341ca=_0x3959fa[_0x1a4371(0x40c)]-0x1,_0x5af2a2;_0x3341ca>=0x0;_0x3341ca--)(_0x5af2a2=_0x3959fa[_0x3341ca])&&(_0x19f50e=_0x5af2a2(_0x19f50e)||_0x19f50e);return _0x19f50e;},He=(_0x2519d5,_0x3edf7e)=>(_0x54a228,_0x7fa69e)=>_0x3edf7e(_0x54a228,_0x7fa69e,_0x2519d5);const Vs=()=>({'runtimeCellData':{},'dirtyRanges':{}}),xs=(_0x477019,_0x2c974e,_0x3be08e)=>{const _0x9fc860=_0x1d896e,_0x2b8c4e=_0x477019[_0x9fc860(0x3d7)];_0x477019[_0x9fc860(0x2ae)](_0x2967b9=>{const _0x552b34=_0x9fc860,_0x28999b=_0x2967b9[_0x552b34(0x433)](),_0xce6c61=_0x2967b9[_0x552b34(0x35c)](),_0x4c2172=_0x2967b9['getSourceName'](),_0x304f4d=_0x2967b9[_0x552b34(0x222)]();_0x2c974e[_0xce6c61]&&_0x2c974e[_0xce6c61]===_0x304f4d&&_0x4c2172===_0x304f4d&&(_0x477019['renameField'](_0x28999b,_0x2b8c4e[_0x552b34(0x222)](_0xce6c61)),_0x2967b9[_0x552b34(0x2d2)](_0x2b8c4e[_0x552b34(0x222)](_0xce6c61)));}),_0x477019[_0x9fc860(0x362)](_0x26bc09[_0x9fc860(0x1fb)],_0x2525c0=>{const _0x235d9c=_0x9fc860,_0x4ddd71=_0x2525c0[_0x235d9c(0x433)](),_0x19231d=_0x2525c0[_0x235d9c(0x35c)](),_0x596930=_0x2525c0[_0x235d9c(0x3be)](),_0xd66b87=_0x2525c0[_0x235d9c(0x222)](),_0x167b4a=_0x2525c0[_0x235d9c(0x3a9)](),_0x38506e=_0x3be08e(_0x596930,_0x167b4a);_0x2c974e[_0x19231d]&&_0x2c974e[_0x19231d]===_0x596930&&_0x38506e===_0xd66b87&&(_0x477019['renameField'](_0x4ddd71,_0x3be08e(_0x2b8c4e[_0x235d9c(0x222)](_0x19231d),_0x167b4a)),_0x2525c0['setSourceName'](_0x2b8c4e[_0x235d9c(0x222)](_0x19231d)));});},Os=(_0x49631f,_0x3012ee,_0x52eaae)=>{const _0x170a77=_0x1d896e;var _0xb20317,_0xbc1fbf;const {arrayFormulaCellData:_0x16b486,unitData:_0x432390}=_0x3012ee,{unitId:_0x42b6fc,subUnitId:_0x4bf3bf}=_0x52eaae,_0x30566e=_0x52eaae[_0x170a77(0x345)],{startColumn:_0x59d556,endColumn:_0x1a99b5}=_0x30566e,_0x1d0d1f=(_0xb20317=_0x16b486==null?void 0x0:_0x16b486[_0x42b6fc])==null?void 0x0:_0xb20317[_0x4bf3bf],_0x8beb85=(_0xbc1fbf=_0x432390==null?void 0x0:_0x432390[_0x42b6fc])==null?void 0x0:_0xbc1fbf[_0x4bf3bf],_0x42715d=new Set(),_0x4e7e0d=_0x1a99b5-_0x59d556+0x1,{dirtyRanges:_0xc42ecc}=_0x49631f;if(_0xc42ecc)for(const {range:_0x20c512,sheetId:_0x3c79c3,unitId:_0x2debec}of _0xc42ecc){if(_0x3c79c3!==_0x4bf3bf||_0x42b6fc!==_0x2debec)continue;const _0x2d21a8=_0x27a2e6[_0x170a77(0x20e)](_0x20c512,_0x30566e);if(_0x2d21a8){const {startColumn:_0x181039,endColumn:_0x2770ff}=_0x2d21a8;for(let _0x1db8ec=_0x181039;_0x1db8ec<=_0x2770ff;_0x1db8ec++)_0x42715d[_0x170a77(0x203)](_0x1db8ec);}}if(_0x42715d[_0x170a77(0x26f)]===_0x4e7e0d||_0x42715d[_0x170a77(0x26f)]===_0x4e7e0d)return Array[_0x170a77(0x42b)](_0x42715d);if(_0x8beb85){const _0xd91728=_0x8beb85[_0x170a77(0x21d)](),_0x128c92=Object[_0x170a77(0x2c7)](_0xd91728);for(const _0x543635 of _0x128c92){const _0x25f053=Number(_0x543635),_0x245219=_0xd91728[_0x25f053];if(_0x42715d[_0x170a77(0x26f)]===_0x4e7e0d)break;for(const _0x1e82bd in _0x245219){const _0x3a6b68=Number(_0x1e82bd);_0x3a6b68<_0x59d556||_0x3a6b68>_0x1a99b5||_0x42715d[_0x170a77(0x203)](_0x3a6b68);}}}if(_0x1d0d1f){const _0x80b4d6=_0x1d0d1f['getMatrix'](),_0x393065=Object[_0x170a77(0x2c7)](_0x80b4d6);for(const _0x219d6f of _0x393065){const _0x4a4df6=Number(_0x219d6f),_0x39ff10=_0x80b4d6[_0x4a4df6];if(_0x42715d[_0x170a77(0x26f)]===_0x4e7e0d)break;for(const _0x54c29c in _0x39ff10){const _0x14bb95=Number(_0x54c29c);_0x14bb95<_0x59d556||_0x14bb95>_0x1a99b5||_0x42715d[_0x170a77(0x203)](_0x14bb95);}}}return Array[_0x170a77(0x42b)](_0x42715d);},Es=_0x133d51=>{const _0x106419=_0x1d896e,_0x30f7dc=new Set(),_0x3b183c=[];for(const _0x5867a3 of _0x133d51){const _0x437e02=_0x5867a3[_0x106419(0x1df)]+','+_0x5867a3[_0x106419(0x2bd)]+','+_0x5867a3[_0x106419(0x40f)]+','+_0x5867a3['endColumn'];_0x30f7dc['has'](_0x437e02)||(_0x30f7dc[_0x106419(0x203)](_0x437e02),_0x3b183c[_0x106419(0x45e)](_0x5867a3));}return _0x3b183c;};let ct=class extends _0x215859{constructor(_0x5dde9c,_0x487abf,_0xeb1b10,_0x33dc65,_0x3d1355,_0x2b6ed5){const _0x459f5d=_0x1d896e;super(),V(this,_0x459f5d(0x380),new _0x16b39e(!0x0)),V(this,_0x459f5d(0x2e5),_0x4b5e18=>{const _0x1c5f94=_0x459f5d;this[_0x1c5f94(0x380)][_0x1c5f94(0x30d)](!0x1);}),V(this,'_globalComputedEndHelpFunc',_0x4c7e44=>{const _0x20e9eb=_0x459f5d;this[_0x20e9eb(0x380)][_0x20e9eb(0x30d)](!0x0);}),(this[_0x459f5d(0x41c)]=_0x5dde9c,this[_0x459f5d(0x441)]=_0x487abf,this['_featureCalculationManagerService']=_0xeb1b10,this[_0x459f5d(0x262)]=_0x33dc65,this[_0x459f5d(0x2fc)]=_0x3d1355,this[_0x459f5d(0x352)]=_0x2b6ed5,this[_0x459f5d(0x343)](),this[_0x459f5d(0x3ac)]());}[_0x1d896e(0x343)](){const _0x5f0cd0=_0x1d896e;this[_0x5f0cd0(0x1f2)](),this[_0x5f0cd0(0x3fd)](),this['_initPivotTextInfo'](),this[_0x5f0cd0(0x411)]();}['_initGlobalComputed'](){const _0x4a0ab5=_0x1d896e;this[_0x4a0ab5(0x2fc)][_0x4a0ab5(0x399)](this[_0x4a0ab5(0x380)]),_0x4a8226[_0x4a0ab5(0x38c)](_0x39c2c8[_0x4a0ab5(0x2eb)],this[_0x4a0ab5(0x2e5)]),_0x4a8226[_0x4a0ab5(0x38c)](_0x39c2c8[_0x4a0ab5(0x3e5)],this[_0x4a0ab5(0x328)]);}[_0x1d896e(0x3ac)](){const _0x3ff06f=_0x1d896e;this[_0x3ff06f(0x28b)](this[_0x3ff06f(0x262)][_0x3ff06f(0x33f)](_0x3d9c67=>{const _0x595ba6=_0x3ff06f;_0x3d9c67['id']===_0x4883bd['id']&&this['_sheetsPivotDataSourceModel'][_0x595ba6(0x2aa)](_0x3d9c67[_0x595ba6(0x354)]);})),this[_0x3ff06f(0x28b)](this[_0x3ff06f(0x262)]['onCommandExecuted'](_0x309eae=>{const _0x19c74a=_0x3ff06f;if(_0x309eae['id']!==ro['id'])return;const _0x39c498=_0x309eae['params'],{unitId:_0x3305bc,subUnitId:_0x264d54,pivotTableId:_0x2289e2}=_0x39c498,_0x8a6035=_0x39c498[_0x19c74a(0x354)][_0x19c74a(0x2fa)],_0x49dd4c={};switch(_0x8a6035){case k[_0x19c74a(0x344)]:{const _0x7027a3=_0x39c498[_0x19c74a(0x354)]['filter'];if(!_0x7027a3)return;const {row:_0x33f963,col:_0x316298,cellData:_0x24f569,pivotItemRenderInfoCache:_0x530d26,tableFieldId:_0x3e1a56}=_0x7027a3,_0x220b31=this[_0x19c74a(0x41c)][_0x19c74a(0x3b5)](_0x39c498['pivotTableId']);if(!_0x220b31||!_0x530d26)return;if(_0x3e1a56){const _0x4f6eab=_0x220b31['getDataFieldByTableId'](_0x3e1a56);if(!_0x4f6eab)return;_0x49dd4c[_0x19c74a(0x25d)]={..._0x220b31[_0x19c74a(0x350)](_0x4f6eab),'tableFieldId':_0x3e1a56,'pivotTableId':_0x39c498[_0x19c74a(0x1f7)],'filterInfo':_0x220b31[_0x19c74a(0x26b)](_0x3e1a56),'sortInfo':_0x220b31['getSortInfo'](_0x3e1a56),'format':_0x220b31[_0x19c74a(0x242)](_0x3e1a56)};}else{const _0x6af1d8=Oi(_0x33f963,_0x316298,_0x24f569,_0x220b31,_0x530d26),_0x308730=_0x6af1d8==null?void 0x0:_0x6af1d8['filterId'];if(!_0x308730)return;const _0x5d632f=_0x220b31[_0x19c74a(0x417)](_0x308730);if(!_0x5d632f)return;_0x49dd4c['filter']={..._0x220b31[_0x19c74a(0x350)](_0x5d632f),'tableFieldId':_0x308730,'pivotTableId':_0x39c498[_0x19c74a(0x1f7)],'filterInfo':_0x220b31['getFilterInfo'](_0x308730),'sortInfo':_0x220b31[_0x19c74a(0x425)](_0x308730),'format':_0x220b31['getFieldFormat'](_0x308730)};}}break;case k['Panel']:{const _0x2082c2=_0x39c498[_0x19c74a(0x354)]['panel'];if(!_0x2082c2)return;const {pivotTableId:_0x42e174}=_0x2082c2,_0x394a05=this[_0x19c74a(0x41c)][_0x19c74a(0x3b5)](_0x42e174);if(!_0x394a05)return;const _0x22260b=this[_0x19c74a(0x41c)]['getPivotTableConfig'](_0x3305bc,_0x264d54,_0x42e174),_0x84031d=Ei(_0x394a05,_0x42e174,_0x22260b);_0x49dd4c['panel']=_0x84031d;}break;case k['AddPivotField']:{const _0x3ebaee=this['_sheetsPivotDataSourceModel'][_0x19c74a(0x3b5)](_0x2289e2),_0x13b8af=this['_sheetsPivotDataSourceModel'][_0x19c74a(0x309)](_0x3305bc),_0x4f32e1=_0x13b8af[_0x19c74a(0x259)](_0x2289e2);let _0x2a06d9=null;const _0x4ecfe8=this[_0x19c74a(0x41c)]['getPivotTableConfig'](_0x3305bc,_0x264d54,_0x2289e2),_0x4aa7b6=_0x39c498[_0x19c74a(0x354)][_0x19c74a(0x29a)];if(!_0x3ebaee||!_0x4ecfe8||!_0x4aa7b6)return!0x1;const {dataFieldId:_0x4036ea,fieldArea:_0x4639c5,index:_0x38a242}=_0x4aa7b6;_0x3ebaee[_0x19c74a(0x226)]();const _0x7dfa4e=_0x3ebaee[_0x19c74a(0x426)](_0x4036ea,_0x4639c5,_0x38a242);if(_0x7dfa4e&&_0x4639c5===_0x26bc09[_0x19c74a(0x1fb)]){const _0x277555=_0x7dfa4e[_0x19c74a(0x433)](),_0x3a334c=_0x3ebaee['getDataFieldByTableId'](_0x277555);if(_0x3a334c){const _0x1857df=_0x3a334c==null?void 0x0:_0x3a334c['getFieldDataType']();_0x3ebaee['setSubtotalType'](_0x7dfa4e[_0x19c74a(0x433)](),_0x1857df===_0x1643ae[_0x19c74a(0x1d7)]?_0xdf4113['sum']:_0xdf4113['count']);}const _0x36c9c7=_0x3ebaee[_0x19c74a(0x1d2)](),_0x544d01=_0x3ebaee['getValuePosition'](),_0x3f4137=_0x3ebaee[_0x19c74a(0x42e)](_0x26bc09['Value']);if(_0x36c9c7===-0x1&&_0x3f4137>0x1){const _0x35e3c3=_0x544d01===_0x134d31[_0x19c74a(0x237)]?_0x134d31[_0x19c74a(0x3f9)]:_0x544d01,_0x179365=_0x35e3c3===_0x134d31[_0x19c74a(0x30f)]?_0x26bc09[_0x19c74a(0x30f)]:_0x26bc09[_0x19c74a(0x3f9)];_0x3ebaee[_0x19c74a(0x2a3)](_0x35e3c3,_0x3ebaee['getFieldCountByArea'](_0x179365));}}else{if(_0x7dfa4e&&(_0x4639c5===_0x26bc09[_0x19c74a(0x30f)]||_0x4639c5===_0x26bc09[_0x19c74a(0x3f9)])){const _0x3e1881=_0x7dfa4e['getId'](),_0x1db568=_0x3ebaee[_0x19c74a(0x417)](_0x3e1881);if(_0x1db568&&(_0x1db568==null?void 0x0:_0x1db568[_0x19c74a(0x2f7)]())===_0x1643ae['date']){const _0x22ce39=_0x1db568[_0x19c74a(0x3b4)]();if(_0x22ce39&&_0x3ebaee['setFieldFormat'](_0x7dfa4e[_0x19c74a(0x433)](),_0x22ce39),!_0x4f32e1[_0x19c74a(0x36b)]()[_0x19c74a(0x2ff)](_0xbcc51e=>{const _0x568ab2=_0x19c74a,_0x449536=_0x4f32e1[_0x568ab2(0x212)](_0xbcc51e);return _0x42652c(_0x449536)?_0x449536[_0x568ab2(0x1e0)]()[_0x568ab2(0x35d)]===_0x4036ea:!0x1;})){const _0x1407bd=_0x13b8af[_0x19c74a(0x2b3)](),_0x57ee33=Wi(_0x1db568[_0x19c74a(0x351)],_0x1db568[_0x19c74a(0x267)]),_0x31e004=_0x1db568[_0x19c74a(0x357)]()+_0x19c74a(0x45a)+qo(this[_0x19c74a(0x352)],_0x57ee33),_0x3073ec=new _0x4eb010(_0x1407bd,_0x31e004,_0x4801c0(0x3),_0x1db568[_0x19c74a(0x433)](),_0x57ee33);_0x13b8af['addDataFieldWithoutUnitInfo'](_0x3073ec),_0x4f32e1[_0x19c74a(0x43c)](_0x1407bd,_0x31e004),_0x3ebaee['addFieldWithSourceId'](_0x1407bd,_0x4639c5,(_0x38a242!=null?_0x38a242:0x0)+0x1),_0x2a06d9=_0x3073ec;}}}}const _0x44bf9e=_0x3ebaee['isEmpty'](),_0x1f2fb3=_0x3ebaee[_0x19c74a(0x2f4)]()[_0x19c74a(0x23b)]();let _0x3b54da;if(_0x2a06d9){_0x3b54da=_0x2a06d9['toJSON']();const _0x2193f2=_0x2a06d9[_0x19c74a(0x433)]();_0x4f32e1[_0x19c74a(0x313)](_0x2193f2);let _0x4df1ce=!0x0;for(const _0xe8b904 in _0x13b8af['collections'])if(_0x13b8af[_0x19c74a(0x205)][_0xe8b904][_0x19c74a(0x36b)]()[_0x19c74a(0x445)](_0x2193f2)){_0x4df1ce=!0x1;break;}_0x4df1ce&&_0x13b8af[_0x19c74a(0x452)](_0x2193f2);}const _0x8b7081=_0x3ebaee[_0x19c74a(0x32d)]();_0x49dd4c[_0x19c74a(0x29a)]={'view':_0x1f2fb3,'changesets':_0x8b7081,'isEmpty':_0x44bf9e,'pivotTableConfig':_0x4ecfe8,'shouldBeAddedGroupJSON':_0x3b54da};}break;case k[_0x19c74a(0x29e)]:{const _0x5da33a=_0x39c498['params'][_0x19c74a(0x34f)];if(!_0x5da33a)return;const _0x44e424=_0x5da33a[_0x19c74a(0x456)],_0x2092a9=_0x5da33a[_0x19c74a(0x1f7)],{collection:_0x5dcfa5}=this[_0x19c74a(0x41c)][_0x19c74a(0x3ba)]({'unitId':_0x44e424[_0x19c74a(0x3b0)],'sheetName':_0x44e424[_0x19c74a(0x2e8)],'subUnitId':_0x44e424[_0x19c74a(0x393)],'range':_0x44e424['range']}),_0x41c48d=new _0x4a8226(_0x5dcfa5,void 0x0,_0x2092a9),_0x16a496=_0x41c48d[_0x19c74a(0x2f4)](),_0x230bea=_0x41c48d[_0x19c74a(0x23b)](),_0x2acee8=_0x5dcfa5[_0x19c74a(0x23b)]();_0x49dd4c[_0x19c74a(0x34f)]={'view':_0x16a496,'fieldsConfig':_0x230bea,'collectionConfig':_0x2acee8,'isEmpty':_0x41c48d[_0x19c74a(0x2bf)]()};}break;case k['MovePivotField']:{const _0x4393c7=_0x39c498[_0x19c74a(0x354)][_0x19c74a(0x21c)];if(!_0x4393c7)return;const {fieldId:_0x308641,area:_0x54a7d8,index:_0x54cd7a}=_0x4393c7,_0x4f28f5=this['_sheetsPivotDataSourceModel'][_0x19c74a(0x431)](_0x3305bc,_0x264d54,_0x2289e2);if(!_0x4f28f5)return;const _0x35d577=this[_0x19c74a(0x41c)]['getPivotTableInstance'](_0x2289e2);if(!_0x35d577)return;_0x35d577[_0x19c74a(0x226)]();const {area:_0x2a3d3d,index:_0x480be8}=_0x35d577[_0x19c74a(0x2ec)](_0x308641);if(_0x35d577[_0x19c74a(0x3a0)](_0x308641,_0x54a7d8,_0x54cd7a),_0x54a7d8===_0x26bc09['Value']&&_0x35d577[_0x19c74a(0x281)](_0x308641)[_0x19c74a(0x3a9)]()===void 0x0){const _0x392d20=_0x35d577['getTableFieldById'](_0x308641);if(_0x392d20&&_0x392d20['getSubtotal']()===void 0x0){const _0x556b4a=_0x35d577[_0x19c74a(0x417)](_0x308641);if(_0x556b4a){const _0x5aa2ed=_0x556b4a==null?void 0x0:_0x556b4a[_0x19c74a(0x2f7)]();_0x35d577[_0x19c74a(0x340)](_0x308641,_0x5aa2ed===_0x1643ae[_0x19c74a(0x1d7)]?_0xdf4113['sum']:_0xdf4113[_0x19c74a(0x2f2)]);}}}const _0x534396=_0x35d577['getValuePosition'](),_0x35893b=_0x35d577[_0x19c74a(0x1d2)](),_0x1ba98a=_0x35d577[_0x19c74a(0x42e)](_0x26bc09[_0x19c74a(0x1fb)])>0x1;if(_0x1ba98a&&_0x2a3d3d===_0x54a7d8&&(_0x54a7d8===_0x26bc09[_0x19c74a(0x30f)]&&_0x534396===_0x134d31[_0x19c74a(0x30f)]||_0x54a7d8===_0x26bc09[_0x19c74a(0x3f9)]&&_0x534396===_0x134d31[_0x19c74a(0x3f9)])){let _0x5d0bf9=_0x35893b;_0x480be8<=_0x35893b&&_0x5d0bf9--,_0x54cd7a<=_0x35893b&&_0x5d0bf9++,_0x35d577['updateValuePosition'](_0x534396,_0x5d0bf9);}else _0x1ba98a&&(_0x2a3d3d===_0x26bc09[_0x19c74a(0x30f)]&&_0x534396===_0x134d31['Row']||_0x2a3d3d===_0x26bc09[_0x19c74a(0x3f9)]&&_0x534396===_0x134d31[_0x19c74a(0x3f9)])&&_0x35893b>=_0x480be8&&_0x35d577[_0x19c74a(0x2a3)](_0x534396,_0x35893b-0x1),_0x1ba98a&&(_0x54a7d8===_0x26bc09[_0x19c74a(0x30f)]&&_0x534396===_0x134d31[_0x19c74a(0x30f)]||_0x54a7d8===_0x26bc09[_0x19c74a(0x3f9)]&&_0x534396===_0x134d31[_0x19c74a(0x3f9)])&&_0x35893b>=_0x54cd7a&&_0x35d577[_0x19c74a(0x2a3)](_0x534396,_0x35893b+0x1);const _0x4ba8dd=_0x35d577[_0x19c74a(0x2f4)](),_0x1fc727=_0x35d577[_0x19c74a(0x2bf)](),_0x347e1d=_0x35d577['endCollectChangeset']();_0x49dd4c['movePivotField']={'view':_0x4ba8dd[_0x19c74a(0x23b)](),'changesets':_0x347e1d,'isEmpty':_0x1fc727,'pivotTableConfig':_0x4f28f5};}break;case k[_0x19c74a(0x32a)]:{const _0x2b479f=_0x39c498['params']['removePivotField'];if(!_0x2b479f)return;const _0x40bfde=_0x2b479f[_0x19c74a(0x2dd)],_0x31fd8=this[_0x19c74a(0x41c)]['getPivotTableConfig'](_0x3305bc,_0x264d54,_0x2289e2);if(!_0x31fd8)return!0x1;const _0x47000d=this['_sheetsPivotDataSourceModel'][_0x19c74a(0x3b5)](_0x2289e2);if(!_0x47000d)return!0x1;_0x47000d[_0x19c74a(0x226)]();for(const _0x43e779 of _0x40bfde){const {area:_0x16aa8f}=_0x47000d[_0x19c74a(0x2ec)](_0x43e779);_0x16aa8f===_0x26bc09[_0x19c74a(0x1fb)]&&_0x47000d['removeValueFilterInfoByValueFieldId'](_0x43e779),(_0x16aa8f===_0x26bc09[_0x19c74a(0x30f)]||_0x16aa8f===_0x26bc09[_0x19c74a(0x3f9)])&&_0x47000d[_0x19c74a(0x251)](_0x43e779),_0x47000d[_0x19c74a(0x1dd)](_0x43e779);}const _0x1c22a5=_0x47000d[_0x19c74a(0x2bf)](),_0x3f3b63=_0x47000d[_0x19c74a(0x2f4)]()['toJSON'](),_0x5d2da9=_0x47000d['endCollectChangeset']();_0x49dd4c[_0x19c74a(0x229)]={'changesets':_0x5d2da9,'pivotTableConfig':_0x31fd8,'isEmpty':_0x1c22a5,'view':_0x3f3b63};}break;case k[_0x19c74a(0x38b)]:{const _0x57cdcf=_0x39c498[_0x19c74a(0x354)][_0x19c74a(0x220)];if(!_0x57cdcf)return;const {tableFieldId:_0x2f15af,items:_0x3c7f5e,isAll:_0x58f67d}=_0x57cdcf,_0x1abb9c=this[_0x19c74a(0x41c)][_0x19c74a(0x3b5)](_0x2289e2),_0x55f4d0=this[_0x19c74a(0x41c)][_0x19c74a(0x431)](_0x3305bc,_0x264d54,_0x2289e2);if(!_0x1abb9c||!_0x55f4d0)return;_0x1abb9c['startCollectChangeset'](),_0x1abb9c[_0x19c74a(0x213)](_0x2f15af,{'type':_0x39bec4[_0x19c74a(0x3a5)],'list':_0x3c7f5e,'isAll':_0x58f67d});const _0xe306e0=_0x1abb9c[_0x19c74a(0x2bf)](),_0x585c25=_0x1abb9c[_0x19c74a(0x2f4)]()[_0x19c74a(0x23b)](),_0x38e9a3=_0x1abb9c[_0x19c74a(0x32d)]();_0x49dd4c[_0x19c74a(0x220)]={'view':_0x585c25,'changesets':_0x38e9a3,'isEmpty':_0xe306e0,'pivotTableConfig':_0x55f4d0};}break;case k[_0x19c74a(0x321)]:{const _0x210ba1=_0x39c498[_0x19c74a(0x354)][_0x19c74a(0x34c)];if(!_0x210ba1)return;const {tableFieldId:_0x5b0092,filterInfo:_0x1a764d}=_0x210ba1,_0x287772=this[_0x19c74a(0x41c)][_0x19c74a(0x3b5)](_0x2289e2),_0x13f1a0=this[_0x19c74a(0x41c)]['getPivotTableConfig'](_0x3305bc,_0x264d54,_0x2289e2);if(!_0x287772||!_0x13f1a0)return;_0x287772[_0x19c74a(0x226)](),_0x287772[_0x19c74a(0x33e)](_0x5b0092,_0x1a764d);const _0x5ab8fe=_0x287772['isEmpty'](),_0x4bf811=_0x287772[_0x19c74a(0x2f4)]()[_0x19c74a(0x23b)](),_0x4c76ed=_0x287772['endCollectChangeset']();_0x49dd4c[_0x19c74a(0x34c)]={'view':_0x4bf811,'changesets':_0x4c76ed,'isEmpty':_0x5ab8fe,'pivotTableConfig':_0x13f1a0};}break;case k['SetPivotSort']:{const _0xe82479=_0x39c498[_0x19c74a(0x354)][_0x19c74a(0x25e)];if(!_0xe82479)return;const {tableFieldId:_0x20d2ac,info:_0xa98e6a}=_0xe82479,_0x51165d=this[_0x19c74a(0x41c)][_0x19c74a(0x3b5)](_0x2289e2),_0x59d1c4=this[_0x19c74a(0x41c)][_0x19c74a(0x431)](_0x3305bc,_0x264d54,_0x2289e2);if(!_0x51165d||!_0x59d1c4)return;_0x51165d[_0x19c74a(0x226)](),_0x51165d[_0x19c74a(0x3bb)](_0x20d2ac,_0xa98e6a);const _0xeff3ef=_0x51165d[_0x19c74a(0x2bf)](),_0x91ac79=_0x51165d['query']()['toJSON'](),_0x3b423b=_0x51165d['endCollectChangeset']();_0x49dd4c['setPivotSort']={'view':_0x91ac79,'changesets':_0x3b423b,'isEmpty':_0xeff3ef,'pivotTableConfig':_0x59d1c4};}break;case k[_0x19c74a(0x365)]:{const _0x2301fe=_0x39c498['params'][_0x19c74a(0x332)];if(!_0x2301fe)return;const {tableFieldId:_0x3e17ae,displayName:_0x290e76,subtotalType:_0x3fb9cb,format:_0x1aea27}=_0x2301fe,_0x2afc92=this[_0x19c74a(0x41c)][_0x19c74a(0x3b5)](_0x2289e2),_0x5a95d5=this[_0x19c74a(0x41c)][_0x19c74a(0x431)](_0x3305bc,_0x264d54,_0x2289e2);if(!_0x2afc92||!_0x5a95d5)return;_0x2afc92[_0x19c74a(0x226)](),_0x290e76!==void 0x0&&_0x2afc92[_0x19c74a(0x3ed)](_0x3e17ae,_0x290e76),_0x3fb9cb!==void 0x0&&_0x2afc92[_0x19c74a(0x340)](_0x3e17ae,_0x3fb9cb),_0x1aea27!==void 0x0&&_0x2afc92[_0x19c74a(0x40d)](_0x3e17ae,_0x1aea27);const _0xeb5a34=_0x2afc92['isEmpty'](),_0x5f376f=_0x2afc92[_0x19c74a(0x2f4)]()[_0x19c74a(0x23b)](),_0x1ed727=_0x2afc92['endCollectChangeset']();_0x49dd4c[_0x19c74a(0x332)]={'changesets':_0x1ed727,'pivotTableConfig':_0x5a95d5,'isEmpty':_0xeb5a34,'view':_0x5f376f};}break;case k[_0x19c74a(0x24b)]:{const _0xa43765=_0x39c498[_0x19c74a(0x354)][_0x19c74a(0x348)];if(!_0xa43765)return;const {dataRangeInfo:_0x3f208e,unitId:_0x39363e,subUnitId:_0x13a781}=_0xa43765,_0x16d0a1=this[_0x19c74a(0x41c)][_0x19c74a(0x431)](_0x39363e,_0x13a781,_0x2289e2),_0x4206e7=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x2289e2);if(!this[_0x19c74a(0x41c)][_0x19c74a(0x259)](_0x39363e,_0x2289e2)||!_0x4206e7||!_0x16d0a1)return;const _0x562e77=this[_0x19c74a(0x41c)]['getUpdateRangeDeleteIds'](_0x39363e,_0x2289e2,_0x3f208e),_0x32bab1=this[_0x19c74a(0x41c)][_0x19c74a(0x259)](_0x39363e,_0x2289e2)[_0x19c74a(0x23b)](),{collection:_0x540d51}=this[_0x19c74a(0x41c)]['createCollectionWithDataRange']({'unitId':_0x3f208e[_0x19c74a(0x3b0)],'sheetName':_0x3f208e[_0x19c74a(0x2e8)],'subUnitId':_0x3f208e['subUnitId'],'range':_0x3f208e['range']}),_0x2766ba=_0x540d51[_0x19c74a(0x23b)]();_0x4206e7[_0x19c74a(0x226)]();const _0x2d12a7=this[_0x19c74a(0x41c)][_0x19c74a(0x309)](_0x39363e)[_0x19c74a(0x387)]()||_0x15c5c9;_0x4206e7[_0x19c74a(0x3ab)](_0x11fead=>{const _0x115083=_0x19c74a,_0x388df9=_0x11fead[_0x115083(0x35c)]();if(!_0x540d51[_0x115083(0x211)](_0x388df9)){const _0x3e7a3b=_0x540d51[_0x115083(0x1e3)](_0x11fead[_0x115083(0x3be)]());if(_0x3e7a3b){_0x4206e7[_0x115083(0x436)](_0x11fead[_0x115083(0x433)](),_0x3e7a3b[_0x115083(0x357)](),_0x3e7a3b[_0x115083(0x433)]());const {area:_0x181119}=_0x4206e7[_0x115083(0x2ec)](_0x11fead[_0x115083(0x433)]());let _0x184f34=_0x11fead[_0x115083(0x3be)]();const _0x6777e7=_0x11fead[_0x115083(0x222)]();if(_0x181119===_0x26bc09['Value']){const _0x804a41=_0x11fead[_0x115083(0x3a9)]();_0x184f34=_0x2d12a7(_0x3e7a3b[_0x115083(0x357)](),_0x804a41);}_0x6777e7!==_0x184f34&&_0x4206e7[_0x115083(0x3ed)](_0x11fead['getId'](),_0x184f34);}else _0x4206e7['removeField'](_0x11fead[_0x115083(0x433)]());}});const _0x3730f6=_0x4206e7[_0x19c74a(0x2bf)](),_0x1682a6=_0x4206e7[_0x19c74a(0x2f4)]()[_0x19c74a(0x23b)](),_0x274263=_0x4206e7[_0x19c74a(0x32d)]();_0x49dd4c['updatePivotSource']={'view':_0x1682a6,'changesets':_0x274263,'isEmpty':_0x3730f6,'pivotTableConfig':_0x16d0a1,'collectionConfig':_0x2766ba,'oldCollectionConfig':_0x32bab1,'deleteIds':_0x562e77};}break;case k['UpdateValuePosition']:{const _0x3feffd=_0x39c498[_0x19c74a(0x354)]['updateValuePosition'];if(!_0x3feffd)return;const {position:_0x3f8086,index:_0x1edbf2}=_0x3feffd,_0x3f289b=this[_0x19c74a(0x41c)][_0x19c74a(0x431)](_0x3305bc,_0x264d54,_0x2289e2);if(!_0x3f289b)return!0x1;const _0x11ba11=this['_sheetsPivotDataSourceModel'][_0x19c74a(0x3b5)](_0x2289e2);if(!_0x11ba11)return!0x1;_0x11ba11[_0x19c74a(0x226)](),_0x11ba11['updateValuePosition'](_0x3f8086,_0x1edbf2);const _0x2805fa=_0x11ba11[_0x19c74a(0x2bf)](),_0x2f64f6=_0x11ba11[_0x19c74a(0x2f4)]()[_0x19c74a(0x23b)](),_0x5e31c7=_0x11ba11[_0x19c74a(0x32d)]();_0x49dd4c[_0x19c74a(0x2a3)]={'changesets':_0x5e31c7,'pivotTableConfig':_0x3f289b,'isEmpty':_0x2805fa,'view':_0x2f64f6};}break;case k['SetPivotCollapse']:{const _0xa26915=_0x39c498[_0x19c74a(0x354)][_0x19c74a(0x1d5)];if(!_0xa26915)return;const {tableFieldId:_0x5d0f00,collapse:_0x20fb44,item:_0xe1a443}=_0xa26915,_0x1b11ce=this[_0x19c74a(0x41c)][_0x19c74a(0x3b5)](_0x2289e2),_0x57f108=this['_sheetsPivotDataSourceModel'][_0x19c74a(0x431)](_0x3305bc,_0x264d54,_0x2289e2);if(!_0x1b11ce||!_0x57f108)return;_0x1b11ce['startCollectChangeset'](),_0x1b11ce[_0x19c74a(0x3a7)](_0x5d0f00,_0x20fb44,_0xe1a443);const _0x1763d0=_0x1b11ce[_0x19c74a(0x2bf)](),_0x239f57=_0x1b11ce[_0x19c74a(0x2f4)]()['toJSON'](),_0x1b5bee=_0x1b11ce['endCollectChangeset']();_0x49dd4c['setPivotCollapse']={'view':_0x239f57,'isEmpty':_0x1763d0,'pivotTableConfig':_0x57f108,'changesets':_0x1b5bee};}break;case k[_0x19c74a(0x2bb)]:{const _0x3034c0=_0x39c498[_0x19c74a(0x354)][_0x19c74a(0x3c6)];if(!_0x3034c0)return;const {pivotTableConfig:_0x3621a2}=_0x3034c0,_0x2c1488=this[_0x19c74a(0x41c)]['getPivotTableInstance'](_0x2289e2),_0x4f3c15=this[_0x19c74a(0x41c)][_0x19c74a(0x431)](_0x3305bc,_0x264d54,_0x2289e2);if(!_0x2c1488||!_0x4f3c15)return;_0x2c1488[_0x19c74a(0x226)](),Ji(_0x2c1488,_0x3621a2);const _0x56ac88=_0x2c1488['isEmpty'](),_0x431616=_0x2c1488['query']()[_0x19c74a(0x23b)](),_0x30369e=_0x2c1488[_0x19c74a(0x32d)]();_0x49dd4c[_0x19c74a(0x3c6)]={'view':_0x431616,'isEmpty':_0x56ac88,'pivotTableConfig':{..._0x4f3c15,'fieldsConfig':_0x2c1488[_0x19c74a(0x23b)]()},'changesets':_0x30369e};}break;case k[_0x19c74a(0x2ef)]:{const _0x473925=_0x39c498[_0x19c74a(0x354)][_0x19c74a(0x2cc)];if(!_0x473925)return;const _0x2d6065=this['_sheetsPivotDataSourceModel'][_0x19c74a(0x3b5)](_0x2289e2),_0x452e5f=this[_0x19c74a(0x41c)][_0x19c74a(0x431)](_0x3305bc,_0x264d54,_0x2289e2);if(!_0x2d6065||!_0x452e5f)return;_0x2d6065[_0x19c74a(0x226)](),Gi(_0x2d6065,_0x473925[_0x19c74a(0x214)]);const _0x219ec0=_0x2d6065[_0x19c74a(0x2f4)]()['toJSON'](),_0x252c03=_0x2d6065['endCollectChangeset']();_0x49dd4c[_0x19c74a(0x2cc)]={'view':_0x219ec0,'isEmpty':!0x0,'pivotTableConfig':{..._0x452e5f,'fieldsConfig':_0x2d6065[_0x19c74a(0x23b)]()},'changesets':_0x252c03};}break;case k[_0x19c74a(0x3e0)]:{const _0x1c7bc2=_0x39c498[_0x19c74a(0x354)][_0x19c74a(0x227)];if(!_0x1c7bc2)return;const _0x37a4ea=_0x1c7bc2[_0x19c74a(0x456)],_0x2541de=_0x1c7bc2[_0x19c74a(0x1f7)],{collection:_0x5a6a38}=this['_sheetsPivotDataSourceModel'][_0x19c74a(0x3ba)]({'unitId':_0x37a4ea['unitId'],'sheetName':_0x37a4ea[_0x19c74a(0x2e8)],'subUnitId':_0x37a4ea[_0x19c74a(0x393)],'range':_0x37a4ea[_0x19c74a(0x345)]}),_0x503d6f=new _0x4a8226(_0x5a6a38,void 0x0,_0x2541de),_0x21826a=_0x5a6a38[_0x19c74a(0x36b)](),{rows:_0x3d9c7c,columns:_0x4e5403,filters:_0x481f57,values:_0xdf1cd3}=_0x1c7bc2[_0x19c74a(0x3db)];_0x503d6f[_0x19c74a(0x226)]();for(const {field:_0x449a61,selectedItems:_0x56d2d1}of _0x3d9c7c||[]){const _0x575cda=_0x21826a[_0x449a61];if(_0x575cda){const _0x315427=_0x503d6f[_0x19c74a(0x426)](_0x575cda,_0x26bc09['Row']);_0x56d2d1&&_0x315427&&_0x503d6f[_0x19c74a(0x213)](_0x315427[_0x19c74a(0x433)](),{'type':_0x39bec4[_0x19c74a(0x3a5)],'list':_0x56d2d1,'isAll':!0x1});}}for(const {field:_0x4b840f,selectedItems:_0x16bd2d}of _0x4e5403||[]){const _0x30ce42=_0x21826a[_0x4b840f];if(_0x30ce42){const _0xebcef8=_0x503d6f[_0x19c74a(0x426)](_0x30ce42,_0x26bc09['Column']);_0x16bd2d&&_0xebcef8&&_0x503d6f['setLabelFilterInfo'](_0xebcef8[_0x19c74a(0x433)](),{'type':_0x39bec4[_0x19c74a(0x3a5)],'list':_0x16bd2d,'isAll':!0x1});}}for(const {field:_0x4ad8de,selectedItems:_0x35987c}of _0x481f57||[]){const _0x11877f=_0x21826a[_0x4ad8de];if(_0x11877f){const _0x1414b2=_0x503d6f[_0x19c74a(0x426)](_0x11877f,_0x26bc09[_0x19c74a(0x344)]);_0x35987c&&_0x1414b2&&_0x503d6f[_0x19c74a(0x213)](_0x1414b2[_0x19c74a(0x433)](),{'type':_0x39bec4[_0x19c74a(0x3a5)],'list':_0x35987c,'isAll':!0x1});}}for(const {field:_0x53e5de,subTotalType:_0x233e06,formatString:_0x186aab}of _0xdf1cd3||[]){const _0x5a96d5=_0x5a6a38[_0x19c74a(0x212)](_0x21826a[_0x53e5de]);if(!_0x5a96d5)continue;const _0x45cd9c=_0x21826a[_0x53e5de];if(_0x45cd9c){const _0x28b657=_0x503d6f['addFieldWithSourceId'](_0x45cd9c,_0x26bc09[_0x19c74a(0x1fb)]);if(_0x28b657){if(_0x233e06!==void 0x0){_0x503d6f[_0x19c74a(0x340)](_0x28b657['getId'](),_0x233e06);const _0xd01de9=this[_0x19c74a(0x41c)][_0x19c74a(0x309)](_0x37a4ea[_0x19c74a(0x3b0)])[_0x19c74a(0x387)]()||_0x15c5c9,_0x221400=_0x5a6a38[_0x19c74a(0x222)](_0x45cd9c),_0x2c3644=_0xd01de9(_0x221400,_0x233e06);_0x503d6f[_0x19c74a(0x3ed)](_0x28b657[_0x19c74a(0x433)](),_0x2c3644);}else{if(_0x5a96d5){const _0x595e41=_0x5a96d5==null?void 0x0:_0x5a96d5[_0x19c74a(0x2f7)]();_0x503d6f['setSubtotalType'](_0x28b657[_0x19c74a(0x433)](),_0x595e41===_0x1643ae[_0x19c74a(0x1d7)]?_0xdf4113[_0x19c74a(0x43e)]:_0xdf4113['count']);}}_0x186aab&&_0x503d6f[_0x19c74a(0x40d)](_0x28b657[_0x19c74a(0x433)](),_0x186aab);}}}const _0x5698f1=_0x503d6f[_0x19c74a(0x2f4)](),_0x896def=_0x503d6f[_0x19c74a(0x23b)](),_0x3541b6=_0x503d6f['isEmpty'](),_0x223f50=_0x503d6f[_0x19c74a(0x32d)](),_0x31b142=_0x5a6a38[_0x19c74a(0x23b)]();_0x49dd4c[_0x19c74a(0x227)]={'view':_0x5698f1,'fieldsConfig':_0x896def,'collectionConfig':_0x31b142,'isEmpty':_0x3541b6,'changesets':_0x223f50};}break;case k[_0x19c74a(0x300)]:{const _0x523eb0=Ai(this[_0x19c74a(0x352)],_0x39c498);if(!_0x523eb0)return;const {range:_0x1a4eb2,sourceSubUnitId:_0x5e8f59,sourceUnitId:_0x4c257c,formatMap:_0x16e591,indexes:_0xd3f15e}=_0x523eb0;_0x49dd4c[_0x19c74a(0x30e)]={'range':_0x1a4eb2,'sourceSubUnitId':_0x5e8f59,'sourceUnitId':_0x4c257c,'formatMap':_0x16e591,'indexes':_0xd3f15e};}break;}this[_0x19c74a(0x262)]['executeCommand'](lo['id'],{'version':_0x39c498[_0x19c74a(0x219)],'result':_0x49dd4c},{'onlyLocal':!0x0});}));}[_0x1d896e(0x3a6)](){const _0x1f6d30=_0x1d896e;this['disposeWithMe'](this[_0x1f6d30(0x262)][_0x1f6d30(0x33f)](_0x3b0928=>{const _0x1c8ec5=_0x1f6d30;if(_0x3b0928['id']!==uo['id'])return;const _0x174463=_0x3b0928[_0x1c8ec5(0x354)];return this[_0x1c8ec5(0x41c)][_0x1c8ec5(0x37c)](_0x174463[_0x1c8ec5(0x247)]),!0x0;}));}[_0x1d896e(0x1f2)](){const _0x3f2a09=_0x1d896e;this['_sheetsPivotDataSourceModel']['collectionChange$'][_0x3f2a09(0x20c)](_0x31c587=>{const _0x55a64c=_0x3f2a09;switch(_0x31c587[_0x55a64c(0x2fa)]){case Be['add']:_0x31c587[_0x55a64c(0x356)]&&_0x31c587[_0x55a64c(0x1e4)]&&this[_0x55a64c(0x3c2)](_0x31c587['token'],_0x31c587['dataRangeInfo'],_0x31c587[_0x55a64c(0x1e4)]);break;case Be[_0x55a64c(0x423)]:{const {unitId:_0x422c15,subUnitId:_0x44c379,token:_0x3be52c}=_0x31c587;_0x422c15&&_0x44c379&&_0x3be52c&&this[_0x55a64c(0x42c)](_0x422c15,_0x44c379,_0x3be52c);}break;case Be[_0x55a64c(0x25f)]:{const {token:_0x260ecb,oldSourceRangeInfo:_0x545322,dataRangeInfo:_0x23884a,targetCellInfo:_0x1b5f44}=_0x31c587,{unitId:_0x85d3d,subUnitId:_0x484cab}=_0x545322||{};_0x85d3d&&_0x484cab&&_0x260ecb&&this[_0x55a64c(0x42c)](_0x85d3d,_0x484cab,_0x260ecb),_0x23884a&&_0x1b5f44&&this[_0x55a64c(0x3c2)](_0x260ecb,_0x23884a,_0x1b5f44);}break;}});}[_0x1d896e(0x411)](){const _0x15bce3=_0x1d896e;this[_0x15bce3(0x41c)]['fieldsCollectionChange$'][_0x15bce3(0x20c)](_0x503c49=>{const _0x1d9b1a=_0x15bce3;Object[_0x1d9b1a(0x2c7)](_0x503c49)['forEach'](_0x52b28b=>{const _0x3d0ab0=_0x1d9b1a,_0x8f6a26=this['_sheetsPivotDataSourceModel'][_0x3d0ab0(0x39d)](_0x52b28b);if(_0x8f6a26){const _0x1e7d83=this[_0x3d0ab0(0x41c)][_0x3d0ab0(0x431)](_0x8f6a26==null?void 0x0:_0x8f6a26[_0x3d0ab0(0x3b0)],_0x8f6a26==null?void 0x0:_0x8f6a26[_0x3d0ab0(0x393)],_0x52b28b);_0x1e7d83&&(this[_0x3d0ab0(0x3c2)](_0x52b28b,_0x1e7d83[_0x3d0ab0(0x456)],_0x1e7d83[_0x3d0ab0(0x1e4)]),this[_0x3d0ab0(0x366)]([{'unitId':_0x8f6a26[_0x3d0ab0(0x3b0)],'subUnitId':_0x8f6a26['subUnitId'],'token':_0x52b28b}]));}});});}[_0x1d896e(0x3fd)](){const _0x4b3e20=_0x1d896e;this[_0x4b3e20(0x41c)]['viewData$'][_0x4b3e20(0x20c)](_0x3b9866=>{const _0x5eb943=_0x4b3e20,{unitId:_0x2b4ce9,subUnitId:_0xc7119,pivotTableId:_0xcdd279}=_0x3b9866;_0x2b4ce9&&_0xc7119&&_0xcdd279&&this[_0x5eb943(0x366)]([{'unitId':_0x2b4ce9,'subUnitId':_0xc7119,'token':_0xcdd279}]);});}[_0x1d896e(0x366)](_0x3dc971){const _0x4761f4=_0x1d896e,_0x1055c4={};_0x3dc971[_0x4761f4(0x412)](_0x33bfa8=>{var _0x5d0bf4,_0x812d88;const {unitId:_0x3b7f33,subUnitId:_0x7cc855,token:_0xc8246b}=_0x33bfa8;_0x1055c4[_0x3b7f33]=(_0x5d0bf4=_0x1055c4[_0x3b7f33])!=null?_0x5d0bf4:{},_0x1055c4[_0x3b7f33][_0x7cc855]=(_0x812d88=_0x1055c4[_0x3b7f33][_0x7cc855])!=null?_0x812d88:{},_0x1055c4[_0x3b7f33][_0x7cc855][_0xc8246b]=!0x0;}),this['_commandService'][_0x4761f4(0x420)](Ut['id'],_0x1055c4);}[_0x1d896e(0x42c)](_0x234119,_0x3996f8,_0x117765){const _0x2f023d=_0x1d896e;this[_0x2f023d(0x224)]['remove'](_0x234119,_0x3996f8,[_0x117765]);}[_0x1d896e(0x3c2)](_0x38cf3f,_0x394021,_0x49fb06){const _0x6b9ae7=_0x1d896e,{unitId:_0x44d8e1,subUnitId:_0x1f58d8}=_0x394021;this[_0x6b9ae7(0x224)][_0x6b9ae7(0x244)](_0x49fb06[_0x6b9ae7(0x3b0)],_0x49fb06[_0x6b9ae7(0x393)],_0x38cf3f)&&this['removeSourceRangeChange'](_0x44d8e1,_0x1f58d8,_0x38cf3f);const _0x5d6802={'sheetId':_0x1f58d8,..._0x394021};this[_0x6b9ae7(0x224)][_0x6b9ae7(0x373)](_0x49fb06[_0x6b9ae7(0x3b0)],_0x49fb06[_0x6b9ae7(0x393)],_0x38cf3f,{'unitId':_0x49fb06[_0x6b9ae7(0x3b0)],'subUnitId':_0x49fb06[_0x6b9ae7(0x393)],'dependencyRanges':[_0x5d6802],'getDirtyData':(_0x48b9c3,_0x22d6f5)=>{const _0x5355fd=_0x6b9ae7,_0x30cfc3=this[_0x5355fd(0x41c)],_0x32bcc8=_0x30cfc3[_0x5355fd(0x39d)](_0x38cf3f);if(!_0x32bcc8)return Vs();const {unitId:_0x350ac2,subUnitId:_0x5367d0}=_0x32bcc8,_0x56760f=Os(_0x48b9c3,_0x22d6f5,_0x394021);if(_0x56760f[_0x5355fd(0x40c)]>0x0){const _0x2df339=_0x30cfc3[_0x5355fd(0x259)](_0x44d8e1,_0x38cf3f),_0x316358=_0x2df339[_0x5355fd(0x36b)](),_0x4ff5f6=this['getMatrixFromRunTimeData'](_0x394021[_0x5355fd(0x3b0)],_0x394021[_0x5355fd(0x393)],_0x22d6f5),_0x561091={},_0x5bba14=this['_sheetsPivotDataSourceModel'][_0x5355fd(0x309)](_0x350ac2)[_0x5355fd(0x387)]()||_0x15c5c9,_0x32ac21=[];for(const _0x2917bc of _0x56760f){const _0x3f9496=_0x2917bc-(_0x394021[_0x5355fd(0x345)][_0x5355fd(0x40f)]||0x0),_0x48385e=_0x316358[_0x3f9496];_0x32ac21[_0x5355fd(0x45e)](_0x48385e),_0x561091[_0x48385e]=_0x2df339['getFieldById'](_0x48385e)['getName'](),_0x30cfc3[_0x5355fd(0x309)](_0x44d8e1)[_0x5355fd(0x2f9)](_0x48385e,_0x394021,_0x3f9496,_0x4ff5f6);}_0x2df339[_0x5355fd(0x2b6)](_0x32ac21)[_0x5355fd(0x412)](_0x2abedd=>{const _0x2151c3=_0x5355fd,[_0x52d3ca,_0x345470]=_0x2abedd,_0x2d52ab=_0x2df339[_0x2151c3(0x212)](_0x52d3ca),_0x3f7249=_0x2df339['getFieldById'](_0x345470);_0x2d52ab&&_0x3f7249&&_0x2d52ab['refreshGroupField'](_0x3f7249);}),_0x2df339[_0x5355fd(0x389)]();const _0x402757=_0x30cfc3['getPivotTableInstance'](_0x38cf3f);if(_0x402757){xs(_0x402757,_0x561091,_0x5bba14),_0x402757[_0x5355fd(0x372)](!0x0);const _0x59bbe7=_0x402757[_0x5355fd(0x2f4)](),_0xee12ec=_0x30cfc3['getPivotTableConfig'](_0x350ac2,_0x5367d0,_0x38cf3f),_0x5a211e=_0x30cfc3[_0x5355fd(0x309)](_0x44d8e1)[_0x5355fd(0x23b)]();_0x30cfc3[_0x5355fd(0x261)](_0x350ac2,_0x5367d0,K['Set'],_0x38cf3f,_0x59bbe7,_0xee12ec,_0x5a211e,!0x0);}}return this[_0x5355fd(0x275)](_0x350ac2,_0x5367d0,_0x38cf3f);}});}[_0x1d896e(0x33b)](_0x193933,_0x58e2fe,_0x1ad8d3){var _0x533bad,_0x247817;const {arrayFormulaCellData:_0x125a32,unitData:_0x5970a4}=_0x1ad8d3,_0x3e7dbc=(_0x533bad=_0x125a32==null?void 0x0:_0x125a32[_0x193933])==null?void 0x0:_0x533bad[_0x58e2fe],_0x131ae9=(_0x247817=_0x5970a4==null?void 0x0:_0x5970a4[_0x193933])==null?void 0x0:_0x247817[_0x58e2fe];return{'arrayFormulaCellDataMatrix':_0x3e7dbc,'unitDataMatrix':_0x131ae9};}['getDirtyInfo'](_0x5e7263,_0x5b7d7b,_0x5cbbfb){const _0x33f231=_0x1d896e,_0x25be25=this[_0x33f231(0x41c)][_0x33f231(0x27e)](_0x5e7263,_0x5b7d7b,_0x5cbbfb),_0x452827=[],_0x1650a9=new _0x2d38e2();if(_0x25be25){const {rangeCache:_0x556cb8,matrix:_0x5bbd0c,oldRangeCache:_0x304a66,oldMatrix:_0x418bc4}=_0x25be25,_0x3e1f85=Kt(_0x304a66),_0x4ea79a=Kt(_0x556cb8);_0x452827[_0x33f231(0x45e)](..._0x4ea79a,..._0x3e1f85),_0x418bc4&&_0x304a66&&_0x3e1f85['forEach'](_0x45caf7=>{const _0x471fef=_0x33f231;for(let _0x590f56=_0x45caf7['startRow'];_0x590f56<=_0x45caf7['endRow'];_0x590f56++)for(let _0x4c831f=_0x45caf7[_0x471fef(0x40f)];_0x4c831f<=_0x45caf7['endColumn'];_0x4c831f++)_0x1650a9['realDeleteValue'](_0x590f56,_0x4c831f);}),_0x5bbd0c&&_0x4ea79a&&_0x4ea79a[_0x33f231(0x412)](_0x41d2ac=>{const _0x1efa75=_0x33f231;for(let _0x195a98=_0x41d2ac[_0x1efa75(0x1df)];_0x195a98<=_0x41d2ac[_0x1efa75(0x2bd)];_0x195a98++)for(let _0x983513=_0x41d2ac[_0x1efa75(0x40f)];_0x983513<=_0x41d2ac[_0x1efa75(0x31a)];_0x983513++)_0x1650a9['setValue'](_0x195a98,_0x983513,_0x5bbd0c[_0x1efa75(0x3e4)](_0x195a98,_0x983513));});}const _0x3dfba0={};return _0x3dfba0[_0x5e7263]={[_0x5b7d7b]:Es(_0x452827)},{'runtimeCellData':{[_0x5e7263]:{[_0x5b7d7b]:_0x1650a9}},'dirtyRanges':_0x3dfba0};}[_0x1d896e(0x2e7)](){}};ct=Us([He(0x0,_0xefbfb7($)),He(0x1,_0x40c50c),He(0x2,_0xefbfb7(_0x9e27a4)),He(0x3,_0xefbfb7(_0x136a21)),He(0x4,_0xefbfb7(_0x4bcd6c)),He(0x5,_0xefbfb7(_0x5a5cda))],ct);var As=Object[_0x1d896e(0x439)],ks=(_0x45ccea,_0x45643c,_0x19d276,_0x2fe591)=>{for(var _0x21726e=_0x2fe591>0x1?void 0x0:_0x2fe591?As(_0x45643c,_0x19d276):_0x45643c,_0x15c79e=_0x45ccea['length']-0x1,_0x5b2c86;_0x15c79e>=0x0;_0x15c79e--)(_0x5b2c86=_0x45ccea[_0x15c79e])&&(_0x21726e=_0x5b2c86(_0x21726e)||_0x21726e);return _0x21726e;},_t=(_0x3807ef,_0x3b9648)=>(_0x139d0c,_0x3f728c)=>_0x3b9648(_0x139d0c,_0x3f728c,_0x3807ef);let dt=class extends _0x215859{constructor(_0x3bd57f,_0x22716d,_0x13261d,_0x68de98){const _0x2919f0=_0x1d896e;super(),V(this,'disposableCollection',new _0x203551()),(this[_0x2919f0(0x1ea)]=_0x3bd57f,this[_0x2919f0(0x2ea)]=_0x22716d,this[_0x2919f0(0x34b)]=_0x13261d,this[_0x2919f0(0x3f7)]=_0x68de98,this[_0x2919f0(0x30c)]());}[_0x1d896e(0x30c)](){const _0x5141d1=_0x1d896e;this[_0x5141d1(0x28b)](this[_0x5141d1(0x2ea)][_0x5141d1(0x2c2)]({'getMutations':_0x55996e=>{const _0x290349=_0x5141d1;if(_0x55996e['id']===_0x233047['id']||_0x55996e['id']===_0x1cc0c9['id']){const _0x215550=[],_0x2e806f=[],_0x373b7a=this['_sheetsSelectionsService'][_0x290349(0x3a4)]()[_0x290349(0x349)](_0x2e1b89=>_0x2e1b89[_0x290349(0x345)]),_0x8320c7=_0x2420d3(this[_0x290349(0x1ea)]);if(!_0x8320c7)return{'redos':[],'undos':[]};const {unitId:_0x4133d8,subUnitId:_0x3afc27}=_0x8320c7,_0x372189={},_0x36e2a5=this[_0x290349(0x3f7)][_0x290349(0x2c0)](_0x4133d8,_0x3afc27);if(_0x36e2a5!=null&&_0x36e2a5[_0x290349(0x26f)])for(const [_0x4aa101,_0x4932b7]of _0x36e2a5){const {unitId:_0x59e785,subUnitId:_0x238367,row:_0x762dd5,col:_0x5c951a}=_0x4932b7[_0x290349(0x1e4)];_0x59e785===_0x8320c7[_0x290349(0x3b0)]&&_0x238367===_0x8320c7['subUnitId']&&(_0x372189[_0x762dd5+'-'+_0x5c951a]=_0x4aa101);}return _0x373b7a&&_0x8320c7&&_0x373b7a[_0x290349(0x412)](_0x24aa40=>{const _0x12f493=_0x290349;_0x287707[_0x12f493(0x31d)](_0x24aa40,(_0x3facaa,_0x4a5323)=>{const _0x10e842=_0x12f493,_0x3d1894=_0x3facaa+'-'+_0x4a5323;if(_0x372189[_0x3d1894]){const _0x3f1503=_0x372189[_0x3d1894];_0x215550['push']({'id':Ot['id'],'params':{'unitId':_0x4133d8,'subUnitId':_0x3afc27,'pivotTableId':_0x3f1503}});const _0x4bd079=this[_0x10e842(0x3f7)][_0x10e842(0x259)](_0x4133d8,_0x3f1503),_0x2f5ed3=this[_0x10e842(0x3f7)][_0x10e842(0x431)](_0x4133d8,_0x3afc27,_0x3f1503);_0x2e806f['push']({'id':Ct['id'],'params':{'unitId':_0x4133d8,'subUnitId':_0x3afc27,'pivotTableId':_0x3f1503,'pivotTableConfig':_0x2f5ed3,'collectionConfig':_0x4bd079}});}});}),{'redos':_0x215550,'undos':_0x2e806f};}return{'redos':[],'undos':[]};}}));}};dt=ks([_t(0x0,_0x1ca4cb),_t(0x1,_0xefbfb7(_0x5b5095)),_t(0x2,_0xefbfb7(_0x38cacb)),_t(0x3,_0xefbfb7(ve))],dt);var Ls=Object['getOwnPropertyDescriptor'],Bs=(_0x168a9d,_0x55277f,_0x4e93f8,_0x5c6a26)=>{const _0x4d92db=_0x1d896e;for(var _0x20f3f2=_0x5c6a26>0x1?void 0x0:_0x5c6a26?Ls(_0x55277f,_0x4e93f8):_0x55277f,_0xa59180=_0x168a9d[_0x4d92db(0x40c)]-0x1,_0x417774;_0xa59180>=0x0;_0xa59180--)(_0x417774=_0x168a9d[_0xa59180])&&(_0x20f3f2=_0x417774(_0x20f3f2)||_0x20f3f2);return _0x20f3f2;},qe=(_0x53b264,_0x4e0304)=>(_0x187e0e,_0x2e5699)=>_0x4e0304(_0x187e0e,_0x2e5699,_0x53b264);let ut=class extends _0x215859{constructor(_0x4bf1fe,_0x345d22,_0xd074b2,_0x1c3b05,_0x26083a,_0x1b06bd){const _0x49e6bc=_0x1d896e;super(),this[_0x49e6bc(0x384)]=_0x4bf1fe,this[_0x49e6bc(0x2ea)]=_0x345d22,this[_0x49e6bc(0x352)]=_0xd074b2,this['_univerInstanceService']=_0x1c3b05,this[_0x49e6bc(0x3f7)]=_0x26083a,this['_sheetsPivotTableService']=_0x1b06bd,this[_0x49e6bc(0x376)]();}[_0x1d896e(0x2f0)](_0x24fd3f,_0x73ac6f,_0x51356f){const _0x2f90fb=_0x1d896e,{pageView:_0x22e994,cornerView:_0x394f54,rowView:_0x4bfdbf,colView:_0x342635,dataView:_0x234c20}=_0x73ac6f,_0x18325f=_0x24fd3f;let _0x356774;if(_0x51356f)_0x356774=[...ki(_0x18325f)];else{const _0x3bd87c=ge(_0x18325f,_0x22e994,!0x0),_0x1b5162=_0x22e994[_0x2f90fb(0x2b0)]>=0x0?_0x22e994[_0x2f90fb(0x2b0)]+0x1:0x0,_0x1f5ecd=_0x394f54[_0x2f90fb(0x39b)],_0x1d9d69=_0x394f54[_0x2f90fb(0x39f)],_0x3fd495=_0x3bd87c[_0x2f90fb(0x40c)]>0x0?mt:0x0,_0x475178=ge({'row':_0x18325f[_0x2f90fb(0x42f)]+_0x1b5162+_0x3fd495,'col':_0x18325f[_0x2f90fb(0x329)]},_0x394f54,!0x1,!0x1),_0x91308a=ge({'row':_0x18325f[_0x2f90fb(0x42f)]+_0x1b5162+_0x3fd495+_0x1f5ecd,'col':_0x18325f[_0x2f90fb(0x329)]},_0x4bfdbf,!0x1,!0x0),_0x2f87cb=ge({'row':_0x18325f[_0x2f90fb(0x42f)]+_0x1b5162+_0x3fd495,'col':_0x18325f['col']+_0x1d9d69},_0x342635,!0x1,!0x0),_0x371159=ge({'row':_0x18325f[_0x2f90fb(0x42f)]+_0x1b5162+_0x3fd495+_0x1f5ecd,'col':_0x18325f[_0x2f90fb(0x329)]+_0x1d9d69},_0x234c20,!0x1,!0x0);_0x356774=[..._0x3bd87c,..._0x475178,..._0x91308a,..._0x2f87cb,..._0x371159];}return _0x356774;}[_0x1d896e(0x376)](){const _0x1c96fb=_0x1d896e;this[_0x1c96fb(0x28b)](this['_sheetsPivotTableService']['interceptor'][_0x1c96fb(0x270)](this[_0x1c96fb(0x207)][_0x1c96fb(0x292)]['getInterceptPoints']()[_0x1c96fb(0x279)],{'handler':(_0x415570,_0x7f5eb9)=>{const _0x2ff0dd=_0x1c96fb,{cellInfo:_0x2df459,view:_0x516d42,isEmpty:_0x392fe7}=_0x7f5eb9,_0xa071ee=_0x2df459,{unitId:_0x50d14f,subUnitId:_0x5329ea}=_0xa071ee,_0x3bd749=this['_getPivotAppliedRanges'](_0x2df459,_0x516d42,_0x392fe7),_0x22d5f9=this[_0x2ff0dd(0x2ea)][_0x2ff0dd(0x3ce)]({'unitId':_0x50d14f,'subUnitId':_0x5329ea,'ranges':_0x3bd749}),_0x178cf1=Ho(this['_injector'],_0x50d14f,_0x5329ea,_0x3bd749);_0x178cf1[_0x2ff0dd(0x318)]&&(_0x22d5f9[_0x2ff0dd(0x2f6)][_0x2ff0dd(0x45e)](_0x178cf1[_0x2ff0dd(0x429)]),_0x22d5f9[_0x2ff0dd(0x23e)][_0x2ff0dd(0x45e)](_0x178cf1[_0x2ff0dd(0x3ae)]));const _0x1d1866=this['getAutoFitColumnsMutations'](_0x516d42,_0x2df459);return _0x22d5f9[_0x2ff0dd(0x2f6)][_0x2ff0dd(0x45e)](..._0x1d1866[_0x2ff0dd(0x2f6)]),_0x22d5f9['undos'][_0x2ff0dd(0x45e)](..._0x1d1866[_0x2ff0dd(0x23e)]),{'redos':_0x22d5f9['redos'],'undos':_0x22d5f9[_0x2ff0dd(0x23e)]};}}));}['getAutoFitColumnsMutations'](_0x5a1ff0,_0x1739e3){const _0x569a76=_0x1d896e,{col:_0x879654,unitId:_0x225611,subUnitId:_0x2e666d}=_0x1739e3,_0xf5af46=[],_0x5d4318=[],_0x405b7b=_0x2420d3(this[_0x569a76(0x1ea)],{'unitId':_0x225611,'subUnitId':_0x2e666d});if(!_0x1739e3||!_0x5a1ff0||!_0x405b7b)return{'undos':_0x5d4318,'redos':_0xf5af46};const _0x4b5149=this[_0x569a76(0x3f7)][_0x569a76(0x25a)](),{colView:_0xc41565,dataView:_0x1bbd23,cornerView:_0x4f2d5e,rowView:_0x429461,formatMap:_0x6a54f3}=_0x5a1ff0,_0x48bdbb=Po(_0xc41565,_0x4b5149,!0x0,_0x6a54f3),_0x2cc987=Po(_0x429461,_0x4b5149,!0x1,_0x6a54f3),_0x8e357c=Ki(_0x1bbd23),_0x9690fc=$i(_0x4f2d5e),{worksheet:_0x1a5863}=_0x405b7b;if(typeof window<'u'&&window['document']){const _0x29b148=_0x36737d({...fe['colStyle']}),_0x246baf=_0x2c9859[_0x569a76(0x2be)](_0x48bdbb,_0x29b148)[_0x569a76(0x3c0)]+0x10,_0x26b6b0=_0x2c9859[_0x569a76(0x2be)](_0x8e357c,_0x29b148)[_0x569a76(0x3c0)],_0x2bea8f=Math['floor'](Math[_0x569a76(0x1ec)](_0x246baf,_0x26b6b0))+0x10,_0x1bf974=Math[_0x569a76(0x3ea)](_0x2c9859[_0x569a76(0x2be)](_0x2cc987,_0x29b148)[_0x569a76(0x3c0)]),_0x1ca955=Math[_0x569a76(0x3ea)](_0x2c9859['getTextSize'](_0x9690fc,_0x29b148)[_0x569a76(0x3c0)]),_0xded85d=Math[_0x569a76(0x1ec)](_0x1bf974,_0x1ca955,0x28)+0xc,_0x52be56=_0xc41565[_0x569a76(0x39f)]+_0x4f2d5e[_0x569a76(0x39f)],_0x23cd53={},_0x2d8f78={};for(let _0x5a10eb=_0x879654;_0x5a10eb<_0x879654+_0x52be56;_0x5a10eb++){const _0x49c832=_0x1a5863[_0x569a76(0x41d)](_0x5a10eb);_0x23cd53[_0x5a10eb]=_0x49c832,_0x5a10eb-_0x879654<_0x4f2d5e[_0x569a76(0x39f)]?_0x2d8f78[_0x5a10eb-_0x879654]=_0xded85d:_0x2d8f78[_0x5a10eb-_0x879654]=_0x2bea8f;}_0xf5af46[_0x569a76(0x45e)]({'id':_0x1dd473['id'],'params':{'subUnitId':_0x2e666d,'unitId':_0x225611,'ranges':[{'startColumn':_0x879654,'endColumn':_0x879654+_0x52be56-0x1,'startRow':0x0,'endRow':_0x1a5863[_0x569a76(0x221)]()-0x1}],'colWidth':_0x2d8f78}}),_0x5d4318['push']({'id':_0x1dd473['id'],'params':{'subUnitId':_0x2e666d,'unitId':_0x225611,'ranges':[{'startColumn':_0x879654,'endColumn':_0x879654+_0x52be56-0x1,'startRow':0x0,'endRow':_0x1a5863[_0x569a76(0x221)]()-0x1}],'colWidth':_0x23cd53}});}return{'undos':_0x5d4318,'redos':_0xf5af46};}};ut=Bs([qe(0x0,_0xefbfb7(_0x3cd624)),qe(0x1,_0xefbfb7(_0x5b5095)),qe(0x2,_0xefbfb7(_0x5a5cda)),qe(0x3,_0xefbfb7(_0x1ca4cb)),qe(0x4,_0xefbfb7(ve)),qe(0x5,_0xefbfb7(ie))],ut);var Ks=Object['getOwnPropertyDescriptor'],$s=(_0x4aa349,_0x3c1659,_0x5d441b,_0x50f887)=>{const _0x415501=_0x1d896e;for(var _0x1c94dd=_0x50f887>0x1?void 0x0:_0x50f887?Ks(_0x3c1659,_0x5d441b):_0x3c1659,_0x219782=_0x4aa349[_0x415501(0x40c)]-0x1,_0x121764;_0x219782>=0x0;_0x219782--)(_0x121764=_0x4aa349[_0x219782])&&(_0x1c94dd=_0x121764(_0x1c94dd)||_0x1c94dd);return _0x1c94dd;},ke=(_0x3d11e9,_0x55a921)=>(_0x281cd8,_0x1e3be5)=>_0x55a921(_0x281cd8,_0x1e3be5,_0x3d11e9);let ft=class extends _0x215859{constructor(_0x5bb936,_0x17bc95,_0x367d2d,_0x109bc2,_0x1ceef0,_0x941585,_0x82ead9){const _0xb09f0d=_0x1d896e;super(),V(this,_0xb09f0d(0x20a),new _0x203551()),(this['_injector']=_0x5bb936,this['_refRangeService']=_0x17bc95,this[_0xb09f0d(0x262)]=_0x367d2d,this[_0xb09f0d(0x1ea)]=_0x109bc2,this[_0xb09f0d(0x3f7)]=_0x1ceef0,this[_0xb09f0d(0x378)]=_0x941585,this['_sheetInterceptorService']=_0x82ead9,this[_0xb09f0d(0x319)]());}[_0x1d896e(0x319)](){const _0x59e807=_0x1d896e,_0x43b05b=(_0x2e49b1,_0x2e2806)=>{const _0x3d4da4=_0x1e98,_0x66f3e3=this['_univerInstanceService'][_0x3d4da4(0x2e2)](_0x2fbb89[_0x3d4da4(0x3b8)]);if(!_0x66f3e3||!(_0x66f3e3==null?void 0x0:_0x66f3e3[_0x3d4da4(0x45b)](_0x2e2806)))return;this[_0x3d4da4(0x20a)]['dispose']();const _0x251913=_0x49df63=>this[_0x3d4da4(0x3f2)](_0x49df63,_0x2e49b1,_0x2e2806),_0x3e52a6=this[_0x3d4da4(0x3f7)][_0x3d4da4(0x2c0)](_0x2e49b1,_0x2e2806);if(!(_0x3e52a6!=null&&_0x3e52a6[_0x3d4da4(0x26f)]))return;Array[_0x3d4da4(0x42b)](_0x3e52a6[_0x3d4da4(0x341)]())[_0x3d4da4(0x349)](_0x16e231=>{const _0x5d73b5=_0x3d4da4,{row:_0x112afb,col:_0x3ae0a9}=_0x16e231[_0x5d73b5(0x1e4)];return _0x17c069(_0x112afb,_0x3ae0a9);})[_0x3d4da4(0x412)](_0x8b9fba=>{const _0x392bd=_0x3d4da4;this['disposableCollection'][_0x392bd(0x203)](this[_0x392bd(0x413)][_0x392bd(0x461)](_0x8b9fba,_0x251913,_0x2e49b1,_0x2e2806));});},_0x31112c=()=>{const _0x1ff400=_0x1e98,_0x47957a=this['_univerInstanceService'][_0x1ff400(0x2e2)](_0x2fbb89[_0x1ff400(0x3b8)]);if(_0x47957a){const _0x4a214c=_0x47957a[_0x1ff400(0x23a)]();if(!_0x4a214c)return;_0x43b05b(_0x47957a[_0x1ff400(0x396)](),_0x4a214c[_0x1ff400(0x424)]());}};this['disposeWithMe'](this[_0x59e807(0x262)]['onCommandExecuted'](_0x29573a=>{const _0x5cf01c=_0x59e807;if(_0x29573a['id']===_0x9a17c9['id']){const _0x19d96e=_0x29573a[_0x5cf01c(0x354)],_0x28b8f6=_0x19d96e[_0x5cf01c(0x393)],_0x484f76=_0x19d96e[_0x5cf01c(0x3b0)];if(!_0x28b8f6||!_0x484f76)return;_0x43b05b(_0x484f76,_0x28b8f6);}})),this['disposeWithMe'](this[_0x59e807(0x3f7)][_0x59e807(0x20d)]['subscribe'](_0x12d6a8=>{_0x12d6a8&&_0x31112c();})),this[_0x59e807(0x28b)](this[_0x59e807(0x3f7)][_0x59e807(0x360)]['subscribe'](_0x54e4c5=>{const _0x2d65f3=_0x2420d3(this['_univerInstanceService']);if(!_0x2d65f3)return;const {unitId:_0x223468,subUnitId:_0x50f790}=_0x2d65f3,{unitId:_0x53918a,subUnitId:_0x198b4e}=_0x54e4c5;_0x223468!==_0x53918a||_0x50f790!==_0x198b4e||_0x43b05b(_0x223468,_0x50f790);})),_0x31112c();}[_0x1d896e(0x3f2)](_0x42512b,_0x44c0fa,_0x23a6b7){const _0x3ed160=_0x1d896e;switch(_0x42512b['id']){case _0x28e541['id']:return this[_0x3ed160(0x41a)](_0x42512b[_0x3ed160(0x354)],_0x44c0fa,_0x23a6b7);}return{'redos':[],'undos':[]};}[_0x1d896e(0x41a)](_0xcd1fb,_0x3ab49a,_0x326490){const _0x59b285=_0x1d896e,{fromRange:_0x202502,toRange:_0x4ba7f4}=_0xcd1fb,_0x22c9f7=[],_0xa7521c=[],_0x244844=_0x2420d3(this[_0x59b285(0x1ea)]);if(!_0x244844)return{'undos':_0xa7521c,'redos':_0x22c9f7};if(_0x3ab49a!==_0x244844[_0x59b285(0x3b0)]||_0x326490!==_0x244844['subUnitId'])return{'undos':_0xa7521c,'redos':_0x22c9f7};const _0x424077=this[_0x59b285(0x3f7)][_0x59b285(0x2c0)](_0x3ab49a,_0x326490);if(_0x424077!=null&&_0x424077[_0x59b285(0x26f)])for(const [_0x16e986,_0x32d6df]of _0x424077){const {unitId:_0x464aba,subUnitId:_0x45e104,row:_0x144f98,col:_0x1beb7}=_0x32d6df[_0x59b285(0x1e4)];if(_0x464aba===_0x244844['unitId']&&_0x45e104===_0x244844[_0x59b285(0x393)]){const _0x29525c=_0x17c069(_0x144f98,_0x1beb7);if(_0x27a2e6['intersects'](_0x29525c,_0x202502)){const _0x779d9f=_0x144f98-_0x202502[_0x59b285(0x1df)],_0x3f9e91=_0x1beb7-_0x202502[_0x59b285(0x40f)],_0x4101bd={'row':_0x4ba7f4[_0x59b285(0x1df)]+_0x779d9f,'col':_0x4ba7f4[_0x59b285(0x40f)]+_0x3f9e91};_0x22c9f7[_0x59b285(0x45e)]({'id':pt['id'],'params':{'unitId':_0x464aba,'subUnitId':_0x45e104,'pivotTableId':_0x16e986,'targetCellPosition':_0x4101bd}}),_0xa7521c['push']({'id':pt['id'],'params':{'unitId':_0x464aba,'subUnitId':_0x45e104,'pivotTableId':_0x16e986,'targetCellPosition':{'row':_0x144f98,'col':_0x1beb7}}});const _0x2b7f8e=_0x4101bd[_0x59b285(0x42f)]-_0x144f98,_0xc748a3=_0x4101bd[_0x59b285(0x329)]-_0x1beb7,_0x4d1383=[],_0x2493e6=this[_0x59b285(0x378)][_0x59b285(0x2f3)](_0x464aba,_0x45e104,_0x16e986),_0x380a9d=_0x2493e6==null?void 0x0:_0x2493e6[_0x59b285(0x1dc)];if(_0x380a9d){Object[_0x59b285(0x2c7)](_0x380a9d)[_0x59b285(0x412)](_0xf6e934=>{const _0xff982c=_0x59b285;_0x380a9d[_0xf6e934][_0xff982c(0x412)](_0x3e484c=>{const _0x5e182e=_0xff982c,_0x460d5a={..._0x3e484c};_0x460d5a['startRow']=_0x3e484c[_0x5e182e(0x1df)]+_0x2b7f8e,_0x460d5a[_0x5e182e(0x2bd)]=_0x3e484c[_0x5e182e(0x2bd)]+_0x2b7f8e,_0x460d5a[_0x5e182e(0x40f)]=_0x3e484c['startColumn']+_0xc748a3,_0x460d5a[_0x5e182e(0x31a)]=_0x3e484c[_0x5e182e(0x31a)]+_0xc748a3,_0x4d1383[_0x5e182e(0x45e)](_0x460d5a);});});const _0x9adac0=this[_0x59b285(0x2ea)][_0x59b285(0x3ce)]({'unitId':_0x464aba,'subUnitId':_0x45e104,'ranges':_0x4d1383});_0x22c9f7[_0x59b285(0x45e)](..._0x9adac0['redos']),_0xa7521c['push'](..._0x9adac0['undos']);const _0x1093af=Ho(this['_injector'],_0x464aba,_0x45e104,_0x4d1383);_0x1093af[_0x59b285(0x318)]&&(_0x22c9f7[_0x59b285(0x45e)](_0x1093af['setRangeValueRedoMutation']),_0xa7521c[_0x59b285(0x45e)](_0x1093af[_0x59b285(0x3ae)]));}}}}return{'redos':_0x22c9f7,'undos':_0xa7521c};}};ft=$s([ke(0x0,_0xefbfb7(_0x5a5cda)),ke(0x1,_0xefbfb7(_0x513ccd)),ke(0x2,_0x136a21),ke(0x3,_0x1ca4cb),ke(0x4,_0xefbfb7(ve)),ke(0x5,_0xefbfb7(Ne)),ke(0x6,_0xefbfb7(_0x5b5095))],ft);var Js=Object['getOwnPropertyDescriptor'],Gs=(_0x21910a,_0x229f99,_0x333459,_0x2bbde0)=>{const _0xfb8a64=_0x1d896e;for(var _0x7f808=_0x2bbde0>0x1?void 0x0:_0x2bbde0?Js(_0x229f99,_0x333459):_0x229f99,_0x5262b9=_0x21910a[_0xfb8a64(0x40c)]-0x1,_0x35ff3e;_0x5262b9>=0x0;_0x5262b9--)(_0x35ff3e=_0x21910a[_0x5262b9])&&(_0x7f808=_0x35ff3e(_0x7f808)||_0x7f808);return _0x7f808;},_o=(_0x3cc547,_0x479b22)=>(_0x35e2f5,_0x18c981)=>_0x479b22(_0x35e2f5,_0x18c981,_0x3cc547);let gt=class extends _0x215859{constructor(_0x1f9f8f,_0x199281){const _0x4a378e=_0x1d896e;super(),this[_0x4a378e(0x2ea)]=_0x1f9f8f,this['_sheetsPivotTableConfigModel']=_0x199281,this[_0x4a378e(0x23d)]();}[_0x1d896e(0x23d)](){const _0x13b1ac=_0x1d896e;this[_0x13b1ac(0x28b)](this[_0x13b1ac(0x2ea)][_0x13b1ac(0x2c2)]({'getMutations':_0xabef2=>{const _0x4eb189=_0x13b1ac;if(_0xabef2['id']===_0x154183['id']){const _0x9f528e=[],_0x2c7150=[],_0x21e77b=_0xabef2[_0x4eb189(0x354)],{unitId:_0x54bede,subUnitId:_0x2de782}=_0x21e77b;if(!_0x54bede||!_0x2de782)return{'undos':_0x2c7150,'redos':_0x9f528e};const _0xdf5fc3=this[_0x4eb189(0x3f7)][_0x4eb189(0x2c0)](_0x54bede,_0x2de782);if(_0xdf5fc3!=null&&_0xdf5fc3[_0x4eb189(0x26f)])for(const [_0x2e7f18,_0xbefb51]of _0xdf5fc3){_0x9f528e[_0x4eb189(0x45e)]({'id':Ot['id'],'params':{'unitId':_0x54bede,'subUnitId':_0x2de782,'pivotTableId':_0x2e7f18}});const _0xb88bb3={...this[_0x4eb189(0x3f7)]['getCollection'](_0x54bede,_0x2e7f18)};_0x2c7150[_0x4eb189(0x45e)]({'id':Ct['id'],'params':{'unitId':_0x54bede,'subUnitId':_0x2de782,'pivotTableId':_0x2e7f18,'pivotTableConfig':_0xbefb51,'collectionConfig':_0xb88bb3}});}return{'redos':_0x9f528e,'undos':_0x2c7150};}return{'redos':[],'undos':[]};}}));}};gt=Gs([_o(0x0,_0xefbfb7(_0x5b5095)),_o(0x1,_0xefbfb7(ve))],gt);var Ws=Object[_0x1d896e(0x439)],js=(_0x4aa5e9,_0xc2f551,_0x16da00,_0x324db2)=>{const _0x2b7e59=_0x1d896e;for(var _0x48d776=_0x324db2>0x1?void 0x0:_0x324db2?Ws(_0xc2f551,_0x16da00):_0xc2f551,_0x2a75ed=_0x4aa5e9[_0x2b7e59(0x40c)]-0x1,_0x254216;_0x2a75ed>=0x0;_0x2a75ed--)(_0x254216=_0x4aa5e9[_0x2a75ed])&&(_0x48d776=_0x254216(_0x48d776)||_0x48d776);return _0x48d776;},Ye=(_0x140883,_0x23973b)=>(_0x140494,_0xb34359)=>_0x23973b(_0x140494,_0xb34359,_0x140883);let ht=class extends _0x215859{constructor(_0x3ce5de,_0x2796ce,_0x38e499,_0x25b15c,_0x511b87,_0x267826){const _0x5019f7=_0x1d896e;super(),this[_0x5019f7(0x262)]=_0x3ce5de,this[_0x5019f7(0x27b)]=_0x2796ce,this[_0x5019f7(0x378)]=_0x38e499,this[_0x5019f7(0x3f7)]=_0x25b15c,this[_0x5019f7(0x1ea)]=_0x511b87,this['_activeDirtyManagerService']=_0x267826,this[_0x5019f7(0x22d)](),this['registerDirtyService']();}[_0x1d896e(0x22d)](){const _0x48cf67=_0x1d896e;this['disposeWithMe'](this[_0x48cf67(0x262)][_0x48cf67(0x33f)](_0x284131=>{const _0x17df99=_0x48cf67;if(_0x284131['id']!==lo['id'])return;const _0x4c2de2=_0x284131[_0x17df99(0x354)];this['_sheetsPivotRpcService'][_0x17df99(0x233)](_0x4c2de2);})),this['disposeWithMe'](this['_commandService'][_0x48cf67(0x33f)](_0x211d68=>{const _0x1d3e52=_0x48cf67;if(_0x211d68['id']===co['id']){const _0x7d5018=_0x211d68[_0x1d3e52(0x354)];if(_0x7d5018){const {unitId:_0x41ce27,subUnitId:_0x3da72f,oldSubUnitId:_0x1b721b,pivotTableId:_0x302f51,pivotTableConfig:_0x951173,collectionConfig:_0x126e56}=_0x7d5018;this['_sheetsPivotTableConfigModel'][_0x1d3e52(0x28e)](_0x41ce27,_0x1b721b,_0x7d5018[_0x1d3e52(0x1f7)],null),this[_0x1d3e52(0x3f7)][_0x1d3e52(0x28e)](_0x41ce27,_0x3da72f,_0x302f51,_0x951173),this[_0x1d3e52(0x3f7)][_0x1d3e52(0x302)](_0x41ce27,_0x126e56);}}})),this[_0x48cf67(0x28b)](this[_0x48cf67(0x262)]['onCommandExecuted'](_0x3294f9=>{const _0x10e2f9=_0x48cf67;if(_0x3294f9['id']!==Dt['id'])return;const _0x406700=_0x2420d3(this['_univerInstanceService']);if(!_0x406700)return;const {unitId:_0x24d7fa,subUnitId:_0x4057ea}=_0x406700,_0x4f8d75=_0x3294f9[_0x10e2f9(0x354)];if(_0x4f8d75[_0x10e2f9(0x449)]&&Object[_0x10e2f9(0x2c7)](_0x4f8d75[_0x10e2f9(0x449)])[_0x10e2f9(0x412)](_0x410bc5=>{const _0x2ca9bc=_0x10e2f9;var _0x4a99f1;(_0x4a99f1=_0x4f8d75[_0x2ca9bc(0x449)])!=null&&_0x4a99f1[_0x410bc5]&&this[_0x2ca9bc(0x3f7)]['updateCollectionConfig'](_0x410bc5,_0x4f8d75[_0x2ca9bc(0x449)][_0x410bc5]);}),_0x4f8d75['single']){const _0x46ba88=_0x4f8d75[_0x10e2f9(0x3e2)],{unitId:_0x5c6402,subUnitId:_0x4cb0d5,view:_0x2a51f6,pivotTableId:_0x51d3b5,type:_0x36088e,pivotConfig:_0x1cf8f4}=_0x46ba88;if(_0x36088e===K['Delete'])this[_0x10e2f9(0x378)][_0x10e2f9(0x406)]({'unitId':_0x5c6402,'subUnitId':_0x4cb0d5,'pivotTableId':_0x51d3b5,'type':_0x36088e}),this['_sheetsPivotTableConfigModel'][_0x10e2f9(0x28e)](_0x5c6402,_0x4cb0d5,_0x51d3b5,null);else{const _0x14554e=new _0x5457d9();_0x14554e[_0x10e2f9(0x335)](_0x2a51f6),this[_0x10e2f9(0x3f7)][_0x10e2f9(0x28e)](_0x5c6402,_0x4cb0d5,_0x51d3b5,_0x1cf8f4),this['_sheetsPivotTableAdaptorModel'][_0x10e2f9(0x406)]({'unitId':_0x5c6402,'subUnitId':_0x4cb0d5,'pivotTableId':_0x51d3b5,'type':_0x36088e,'view':_0x14554e}),this[_0x10e2f9(0x378)][_0x10e2f9(0x28a)]({'unitId':_0x5c6402,'subUnitId':_0x4cb0d5,'view':_0x14554e,'pivotTableId':_0x51d3b5,'type':_0x36088e});}}else _0x4f8d75['batch']&&(_0x4f8d75[_0x10e2f9(0x2ac)][_0x10e2f9(0x412)](_0x3d8a8f=>{const _0x95455e=_0x10e2f9,{unitId:_0x577b07,subUnitId:_0x551d7f,view:_0x1db60c,pivotTableId:_0x472452,type:_0x26b247,pivotConfig:_0x3aa5eb}=_0x3d8a8f,_0x34213d=new _0x5457d9();_0x34213d['formJSON'](_0x1db60c),this[_0x95455e(0x3f7)]['updateConfigCache'](_0x577b07,_0x551d7f,_0x472452,_0x3aa5eb),this[_0x95455e(0x378)][_0x95455e(0x28a)]({'unitId':_0x577b07,'subUnitId':_0x551d7f,'view':_0x34213d,'pivotTableId':_0x472452,'type':_0x26b247});}),this[_0x10e2f9(0x3f7)]['setPivotInitCompleted']());this[_0x10e2f9(0x378)]['markDirty'](_0x24d7fa,_0x4057ea);}));}[_0x1d896e(0x1de)](){const _0x419dc8=_0x1d896e;this[_0x419dc8(0x311)][_0x419dc8(0x373)](Ut['id'],{'commandId':Ut['id'],'getDirtyData'(_0x1570cb){const _0x49853a=_0x419dc8;return{'dirtyUnitFeatureMap':_0x1570cb[_0x49853a(0x354)]};}});}};ht=js([Ye(0x0,_0xefbfb7(_0x136a21)),Ye(0x1,_0xefbfb7(X)),Ye(0x2,_0xefbfb7(Ne)),Ye(0x3,_0xefbfb7(ve)),Ye(0x4,_0xefbfb7(_0x1ca4cb)),Ye(0x5,_0x51c817)],ht);var Hs=Object[_0x1d896e(0x269)],qs=Object[_0x1d896e(0x439)],Ys=(_0xcb4fec,_0xf49d82,_0x35fc57)=>_0xf49d82 in _0xcb4fec?Hs(_0xcb4fec,_0xf49d82,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x35fc57}):_0xcb4fec[_0xf49d82]=_0x35fc57,zs=(_0x4c0b24,_0x522eb9,_0x38f845,_0x3310bf)=>{const _0x13a53b=_0x1d896e;for(var _0x49111e=_0x3310bf>0x1?void 0x0:_0x3310bf?qs(_0x522eb9,_0x38f845):_0x522eb9,_0x5c46c6=_0x4c0b24[_0x13a53b(0x40c)]-0x1,_0x1ba887;_0x5c46c6>=0x0;_0x5c46c6--)(_0x1ba887=_0x4c0b24[_0x5c46c6])&&(_0x49111e=_0x1ba887(_0x49111e)||_0x49111e);return _0x49111e;},Rt=(_0x71f003,_0x4c4700)=>(_0x116643,_0x1fb886)=>_0x4c4700(_0x116643,_0x1fb886,_0x71f003),Zo=(_0x2b5183,_0x39c9a7,_0xfb0f99)=>Ys(_0x2b5183,typeof _0x39c9a7!=_0x1d896e(0x3b6)?_0x39c9a7+'':_0x39c9a7,_0xfb0f99);let Vt=class extends _0x212962{constructor(_0x2d0109=yo,_0x370693,_0xd50c3c,_0x1bc95e,_0x384894){const _0x576b41=_0x1d896e;super(),this['_config']=_0x2d0109,this['_injector']=_0x370693,this[_0x576b41(0x262)]=_0xd50c3c,this['_configService']=_0x1bc95e,this['_dataSyncPrimaryController']=_0x384894;const {..._0x3dce8e}=_0x1db067({},yo,this['_config']);this[_0x576b41(0x441)][_0x576b41(0x2e3)](Yo,_0x3dce8e),this['_initRegisterCommand'](),this[_0x576b41(0x2fd)]();}[_0x1d896e(0x2fd)](){const _0x3be407=_0x1d896e;var _0x56e33f;const _0x6fca1f=(_0x56e33f=this[_0x3be407(0x22b)])==null?void 0x0:_0x56e33f['notExecuteFormula'];this['_configService'][_0x3be407(0x2e3)](q,_0x6fca1f===!0x0);}[_0x1d896e(0x308)](){const _0x415e56=_0x1d896e;var _0x5c20b3;let _0x5a8dc7=[];const _0x562739=(_0x5c20b3=this[_0x415e56(0x22b)])==null?void 0x0:_0x5c20b3[_0x415e56(0x2ce)];_0x562739===!0x0?_0x5a8dc7=[[ie],[X],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]:_0x562739===!0x1?_0x5a8dc7=[[$],[ct]]:_0x562739===void 0x0&&(_0x5a8dc7=[[$],[ct],[ie],[X],[ht],[Ne],[ve],[gt],[dt],[ft],[ut]]),_0x5a8dc7[_0x415e56(0x412)](_0x3abc6d=>this[_0x415e56(0x352)][_0x415e56(0x203)](_0x3abc6d)),[ct,ht,ie,dt,gt,ft,ut][_0x415e56(0x412)](_0x95e716=>{const _0x3804fa=_0x415e56;this['_injector'][_0x3804fa(0x244)](_0x95e716)&&this[_0x3804fa(0x352)][_0x3804fa(0x283)](_0x95e716);});}[_0x1d896e(0x34d)](){const _0xf4b9f5=_0x1d896e;[vs,ps,hs,Is,Cs,Ms,Ds,bs,Ts,Ss,Ps,ys,ws,ms,Ct,oo,Ot,$t,zo,Qo,Ht,Jt,Gt,Wt,Yt,qt,pt,ro,lo,Dt,Zt,eo,zt,jt,uo,to,Xt,Ut,co,_s,Qt,Rs,Fs][_0xf4b9f5(0x412)](_0x502b1d=>{const _0x22b348=_0xf4b9f5;var _0x305aff;(_0x305aff=this[_0x22b348(0x3b3)])==null||_0x305aff[_0x22b348(0x312)](_0x502b1d),this[_0x22b348(0x262)][_0x22b348(0x421)](_0x502b1d);});}};Zo(Vt,_0x1d896e(0x22a),ao),Zo(Vt,_0x1d896e(0x2fa),_0x2fbb89[_0x1d896e(0x3b8)]),Vt=zs([_0x22b0c2(_0x30b44b),Rt(0x1,_0xefbfb7(_0x5a5cda)),Rt(0x2,_0xefbfb7(_0x136a21)),Rt(0x3,_0x40c50c),Rt(0x4,_0x457838(_0x4a465c))],Vt);export{hs as AddPivotFieldCommand,$t as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,vs as AddPivotTableWithConfigCommand,mt as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,Is as MovePivotFieldCommand,ws as MovePivotTableCommand,k as PivotDisplayDataType,ms as PivotDrillDownCommand,K as PivotTableOperationEnum,Ut as PivotTableViewDirtyMarkOperation,Lo as PositionType,Cs as RemovePivotFieldCommand,Jt as RemovePivotFieldMutation,Ot as RemovePivotTableMutation,Gt as RenamePivotFieldMutation,Fs as ResetPivotFieldsConfigCommand,Yo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,Wt as SetPivotCollapseMutation,jt as SetPivotFieldFormatMutation,Rs as SetPivotFieldsConfigCommand,Ss as SetPivotFilterCommand,Ht as SetPivotFilterMutation,qt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ts as SetPivotSortCommand,Yt as SetPivotSortMutation,zt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,$ as SheetsPivotDataSourceModel,X as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Vt as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,Zt as UpdateFieldPositionMutation,Ps as UpdatePivotFieldSettingCommand,Xt as UpdatePivotFieldSourceInfoMutation,ys as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,Ms as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,Ie as applyChangeSet,jo as canUsePivot,fe as defaultThemeStyle,Ho as generateSetRangeValueMutations,ge as getAdjustRangesPosition,ki as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Oi as getPivotCellInfo,go as getPivotInfoByLicense,Ei as getPivotTableInfo,vt as transFromCellValue,Kt as unionPivotViewRange};
|