@univerjs-pro/sheets-pivot 0.12.2-nightly.202511241159 → 0.12.2-nightly.202511290732
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +41 -41
- 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/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x214f(){const _0x3b9d04=['function','LocaleService','Optional','getFieldFormat','rowStyle','PIVOT_MUTATION_GENERATE','fieldsConfig','getFieldIds','_updatePivotTableInstanceCache','addCollection','sheets-pivot.dateGroup.yearMonthDate','_sheetsPivotTableConfigModel','max','CommandType','Product\x20of\x20','sheet.command.set-pivot-fields-config','_viewData','AddPivotField','forEach','sheet.mutation.set-pivot-collapse','GlobalComputingStatusService','updateView','PivotViewCellValueTypeEnum','drillDown','_createExclusiveRange','_configVersion$','_initClearSelectionCommandInterceptor','dimension','grandTotal','clearRenderCache','Sum\x20of\x20','updatePivotSource','AddPivotTableCommand','isColMultiMeasure','name','getColumnCount','STRING','min','measure','InsertSheetCommand','subUnitId','broadcastCollectionChange','updateConfigCache','fieldId','collection','rangeType','minDate','ClearSelectionAllCommand','SetOptions','getEmptyPivotRanges','getViewData','_dataFieldManagerCollection','interceptor','getSheetId','PivotSubtotalTypeEnum','rxjs','InsertRowMutation','row','executeCommand','addDataFieldWithoutUnitInfo','getSubtotal','removePivotField','fieldIds','BLANK_ROW_COUNT','_globalComputedStartHelpFunc','setValuePivotFilter','@univerjs/sheets-filter','UpdateValuePosition','getAutoDisplayName','unitId','PivotView','subTotalStyle','generateMutationsByRanges','2729170FSagKl','forRow','Subtotal','refreshDataField','update','getStyles','add','registerDirtyService','addCollectionByJSON','_globalComputingSrv','has','0uPla3MP\x20pTlg1Ua3MP(r3lTPAT,\x20Uu6r3ljT1)\x20{\x20\x20\x20\x20ag1\x20{\x20\x20\x20\x20\x20\x20\x20\x20lMPAa\x20r3lTPAT9P0ME2gaNgg21\x20=\x20r3lTPAT.AUr3a(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20lMPAa\x20Mg3d3PFTAA2dT\x20=\x20H8nW.U2gAT(2aM6(r3lTPAT9P0ME2gaNgg21[c]));\x20\x20\x20\x20\x20\x20\x20\x2030\x20(!Mg3d3PFTAA2dT.up)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mg3d3PFTAA2dT.up\x20=\x20Wux6Tg(r3lTPAT9P0ME2gaNgg21[V]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20lMPAa\x203AoMgITg\x20=\x20a1UTM0\x20oMgITgCrM62r8lMUT\x20!==\x20\x27uPpT03PTp\x27\x20&&\x20ATr0\x203PAa2PlTM0\x20oMgITgCrM62r8lMUT;\x20\x20\x20\x20\x20\x20\x20\x20lMPAa\x203AKgMJATg\x20=\x20a1UTM0\x20J3PpMJ\x20!==\x20\x27uPpT03PTp\x27\x20&&\x20a1UTM0\x20J3PpMJ.rMl2a3MP\x20!==\x20\x27uPpT03PTp\x27;\x20\x20\x20\x20\x20\x20\x20\x20lMPAa\x20lMPaTDa\x20=\x203AoMgITg\x20?\x20ATr0\x20:\x20(3AKgMJATg\x20?\x20J3PpMJ\x20:\x20drM62rzb3A);\x20\x20\x20\x20\x20\x20\x20\x20lMPAa\x20xTAA2dToMgp\x20=\x20lMPaTDa.__K2ATeV__.U2gAT(r3lTPAT9P0ME2gaNgg21[c]);\x20\x20\x20\x20\x20\x20\x20\x20lMPAa\x20xTAA2dT\x20=\x20lMPaTDa.__wTD__.Aag3Pd301(xTAA2dToMgp);\x20\x20\x20\x20\x20\x20\x20\x20lMPAa\x20A3dP2augToMgp\x20=\x20lMPaTDa.__K2ATeV__.U2gAT(r3lTPAT9P0ME2gaNgg21[k]);\x20\x20\x20\x20\x20\x20\x20\x20lMPAa\x20A3dP2augT\x20=\x20lMPaTDa.__wTD__.Aag3Pd301(A3dP2augToMgp);\x20\x20\x20\x20\x20\x20\x20\x20lMPAa\x20A3dPh2r3p\x20=\x20lMPaTDa.__sTg301__(A3dP2augT,\x20xTAA2dT,\x20Uu6r3ljT1);\x20\x20\x20\x20\x20\x20\x20\x20lMPAa\x20pMx23P\x20=\x20Mg3d3PFTAA2dT.px;\x20\x20\x20\x20\x20\x20\x20\x200uPla3MP\x203ARMx23PF2alb3Pd(ME2aaTgP,\x20MwMAa)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lMPAa\x20U2aaTgP\x20=\x20ME2aaTgP.gTUr2lT(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lMPAa\x20bMAa\x20=\x20MwMAa.gTUr2lT(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lMPAa\x20U2aaTgPE2gaA\x20=\x20U2aaTgP.AUr3a(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lMPAa\x20bMAaE2gaA\x20=\x20bMAa.AUr3a(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(!U2aaTgP.3PlrupTA(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gTaugP\x20U2aaTgP\x20===\x20bMAa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(U2aaTgPE2gaA.rTPdab\x20<\x20c\x20||\x20U2aaTgPE2gaA[B]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gTaugP\x2002rAT;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lMPAa\x20U2aaTgP8u003D\x20=\x20U2aaTgPE2gaA.Ar3lT(m).qM3P(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lMPAa\x20bMAa8u003D\x20=\x20bMAaE2gaA.Ar3lT(-U2aaTgPE2gaA.rTPdab\x20+\x20m).qM3P(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gTaugP\x20U2aaTgP8u003D\x20===\x20bMAa8u003D;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20rTa\x20pMx23Ph2r3p\x20=\x2002rAT;\x20\x20\x20\x20\x20\x20\x20\x2030\x20(3AKgMJATg)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pMx23Ph2r3p\x20=\x20(pMx23P\x20&&\x20pMx23P.rTPdab)\x20?\x20pMx23P.AMxT((px9aTx)\x20=>\x203ARMx23PF2alb3Pd(px9aTx,\x20rMl2a3MP.bMAaP2xT))\x20:\x20aguT;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(rMl2a3MP.bMAaP2xT\x20===\x20\x27rMl2rbMAa\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pMx23Ph2r3p\x20=\x20aguT;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20TrAT\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pMx23Ph2r3p\x20=\x20aguT;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20lMPAa\x20s2r3p\x20=\x20A3dPh2r3p\x20&&\x20pMx23Ph2r3p;\x20\x20\x20\x20\x20\x20\x20\x20gTaugP\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20s2r3p,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xTAA2dT:\x20Mg3d3PFTAA2dT,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20l2alb\x20(TggMg)\x20{\x20\x20\x20\x20\x20\x20\x20\x20gTaugP\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20s2r3p:\x2002rAT,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xTAA2dT:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','originTargetInfo','UpdateFieldPositionMutation','PivotTableOperationEnum','contains','params','SheetsPivotTableAdaptorModel','UniverLicensePlugin','RemoveSheetMutation','isPrefixValue','SetPivotSort','SetRangeValuesMutation','getValue','dataStream','addField','PivotCellStyleTypeEnum','isBottomTotal','slice','getOriginFieldId','registerSyncingMutations','Value','cornerInfo','sheets-pivot.dateGroup.hour','PositionType','_pivotTableMatrixInfo','displayName','7YoouII','getCollection','setPivotSetting','UpdatePivotValuePositionCommand','getFieldDataType','data','createDataFieldId','RenameField','other','serializeRangeWithSpreadsheet','RemovePivotFieldMutation','_collectionConfigModel','stringify','resetArea','Column\x20','merge','rangesInfo','_subjectCollectionChange','SetFieldFormat','InsertSheetUndoMutationFactory','sheets-pivot.dateGroup.quarter','SetPivotFieldsConfigCommand','_initPivotTextInfo','getSheetFeatureLimit','IUndoRedoService','getPivotTableCellData','_fieldsCollectionChange$','NotFunction','getFieldInfo','setPivotSort','next','getCellRaw','sheets-pivot.dateGroup.minute','sheet.mutation.send-pivot-config-local','UniverSheets','endRow','remove','toJSON','getPivotTableInfo','getFullYear','collectionConfig','bind','movePivotField','setLabelFilterInfo','RemovePivotFieldCommand','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','keys','PivotErrorTypeEnum','isArray','call','fromJSON','intercept','_sheetInterceptorService','isDateGroupFieldJSON','handleMoveRange','Row','UpdatePivotTableSourceRangeCommand','panel','#f4f4f5','_updateModelCache','getAdjustRangesPosition','lastRow','DateGroupField','UpdatePivotTableSourceRangeMutation','setValueFilterInfo','getPivotTableIdByCell','width','cornerRanges','Filter','pivotTableId','generateNullCell','StdDev\x20of\x20','mergeWorksheetSnapshotWithDefault','sheet.command.add-pivot-table-with-config','SHEET_PIVOT_EXCLUSIVE_ID','getFieldById','var','#FFFFFF','versions','getDataFieldManager','_exclusiveRangeService','_textInfo','symbol','onStarting','defineProperty','_commandService','_initViewModelBySheetInterceptor','fetchThroughAsyncInterceptors','getFilterFieldIdByIndex','sheets-pivot.dateGroup.yearMonth','values','RemoveSheetsFilterMutation','foreach','object','AddPivotTable','removePivotTable','map','getTableFieldById','pivotConfigChange$','PivotTableFiledAreaEnum','RANGE_TYPE','_sheetsPivotTableService','setPivotCollapse','getAutoDisplayNameFunction','_updateRenderEmptyCache','_pivotInitCompleted$','SetPivotSetting','sheet.mutation.pivot-update-value-position','iterateField','getSheetBySheetId','getPivotDirtyViewInfo','sheets-pivot.sumName','MoveRangeMutation','sheets-pivot.cellDateGroupDisplay.hourMinute','setPivotTableConfig','addFieldWithSourceId','sideEffectUpdateWorkerCache','IActiveDirtyManagerService','length','INTERCEPTOR_POINT','filter','getFormatInfo','pivotPerformCheck','date','NO_COMMERCIAL','workbook\x20is\x20not\x20found','setSortInfo','createAsyncInterceptorKey','MovePivotField','sheet.command.update-date-group','removeField','leftOffset','sheet.command.update-pivot-table-source-range','PivotTable','1018212BzdEQv','UpdatePivotFieldSourceInfoMutation','UniverSheetsPivotTablePlugin','_resourceManagerService','_sheetsPivotTableAdaptorModel','_pivotRenderInfoCache','_model','pbt','updateAllDisplayName','fieldsCollectionChange$','SheetsPivotTableConfigModel','addPivotField','RemoveRowMutation','getPivotItemRenderInfoCache','sheets-pivot.blank','set','reduce','deleteField','generateNewSheetName','setRangeValueRedoMutation','getFilterInfo','_onRefRangeChange','sortInfo','UNIVER_SHEET','sheets-pivot.cellDateGroupDisplay.quarter','LS_CONFIG_KEY','NotNumber','@univerjs-pro/license','getPivotTableMatrixInfo','updateDataFieldsCollection','LifecycleService','node','1054348MrDqdA','UniverEngineFormula','sheets-pivot.dateGroup.month','fields','PivotDateGroupFieldDateTypeEnum','getHeaderMapItem','Minute','getValuePosition','SetPivotSortCommand','token','Set','Quarter','dispose','MonthDate','setSourceName','hasOwnProperty','batch','BLANK_PLACEHOLDER','_config','cellValue','colInfo','updateViewData','initDataRanges','BadReference','shouldClear','GrandTotal','interceptCommand','YearMonthDate','SheetInterceptorService','pushUndoRedo','collections','getCellMatrix','originalFieldId','viewUpdate$','getTextInfo','stdDevp','replace','BehaviorSubject','leafStyle','some','ReleaseType','ptn','2mnlpHl','unionPivotViewRange','sheets-pivot.productName','sheet.mutation.set-pivot-filter','dataFieldManagerConfig','Style','SetPivotFilter','colCount','_host','rangeKeyMap','getPivotTableInstance','needSameDeleteModel','FORCE_STRING','SheetsPivotDataSourceModel','filterInfo','isFeatureAuthorizedWithinTime','MAX_SAFE_INTEGER','Panel','getPivotTableModelConfig','format','SheetsPivotTableService','tuple','clearExclusiveRangesByGroupId','number','sheet.command.add-pivot-table','getMonth','setPivotFilter','NAME','getPivotCellInfo','valueIndex','removeSourceRangeChange','Div0','SetPivotFilterCommand','result','areaInfo','getPivotTableConfig','getMatrixFromRunTimeData','getTargetByPivotId','Max\x20of\x20','getSheetCommandTarget','rgb(240,241,243)','SetWorksheetActiveOperation','removeCollections','9572205zoOjro','setTextInfo','sum','sheet.mutation.add-group-collection','iterateFieldByArea','sheets-pivot.grandTotal','13232yxCRrm','getFieldPositionInfoById','resetPivotTable','addPivotTable','asyncInterceptor','IConfigService','RenamePivotFieldMutation','_pivotConfigChange$','_initPivotDataGetListener','body','markDirty','_pivotTableRangeInfo','getDirtyInfo','refreshData','getSortInfo','Tools','pivotTableIndexConfig','SetSubtotalType','sequenceExecute','New','44PIDNxG','updateConfig','exports','Injector','getTargetByPivotTableId','YearQuarter','canUsePivot','setRangeKeyMap','getRangeKey','setOptions','removeDataField','disposableCollection','getInterceptPoints','subscribe','SheetsPivotRPCService','_dataSyncPrimaryController','addPivotTableWithConfig','_pivotRenderValueMatrixCache','sheets-pivot.emptyPivot.row','SetPivotCollapse','valuePosition','AddPivotTableWithConfig','SHEET_PIVOT_TABLE_PLUGIN','endCollectChangeset','targetCellInfo','range','valid','sheet.command.set-pivot-value-filter','notExecuteFormula','isDate','_globalSubject','reset','intersects','generateRandomId','createValueField','Hour','registerCommand','sheets-pivot.cellDateGroupDisplay.minute','Month','sheets-pivot.averageName','RemoveColMutation','disposeWithMe','IUniverInstanceService','numberToABC','from','average','handleAsyncResponse','sheets-pivot.dateGroup.date','sheets-pivot.dateGroup.hourMinute','includes','sheets-pivot.cellDateGroupDisplay.year','1989qiifvx','_init','getFieldListByArea','string','FontCache','getCurrentUnitForType','UpdatePivotSource','sheet.mutation.update-date-group','renameField','RemovePivotTableMutation','SetPivotSubtotalTypeMutation','SetPivotValueFilterMutation','Existing','MovePivotTableCommand','getDataFieldByTableId','5824758ZyyOKB','UpdateDateGroupCommand','valueFilter','rowInfo','updateViewInfo','setValue','unshiftString','random','_ensurePivotTableRangeInfo','refreshGroupField','removeCollectionImp','setPivotTable','_refRangeHandle','setRange','get','Add','getConfig','_initRemoveSheetCommandInterceptor','generateHexNumber','getSheetBySheetName','_queryingMap','_deleteModelCache','Year','sheets-pivot.cellDateGroupDisplay.yearQuarter','onQueryEnd','Average\x20of\x20','getRangeKeyList','collectionChange$','getAutoFitColumnsMutations','getId','_localeService','ΣValue','registerPluginResource','new','sheet.mutation.remove-pivot-field','col','deleteDataField','sheet.command.set-pivot-collapse','uniqueDataFieldName','UpdatePivotFieldSettingCommand','RemovePivotField','isDateValue','_ensurePivotTableMatrixInfo','registerCallbackWithEvent','sheets-pivot.maxName','ManualFilter','getActiveSheet','HourMinute','version','RemoveField','InsertColMutation','addDirtyPivotTable','Subject','sheetName','subtotal','setSubtotalType','rangeCache','options','sourceRangeInfo','IExclusiveRangeService','oldRangeInfo','_lifecycleService','getMatrix','_sheetsPivotRpcService','SetPivotCollapseMutation','_pivotTableInstanceCache','SetPivotTableConfig','getTextSize','getPivotDisplayConfig','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','@univerjs/rpc','Grand\x20Total','updateValuePosition','sheets-pivot.value','sheets-pivot.dateGroup.year','colHeaderMap','sheet.command.set-pivot-sort','SetValuePivotFilter','rowCount','removeValueFilterInfoByValueFieldId','stdDev','createCollectionWithDataRange','sheet.mutation.pivot-update-field-source-info','PivotDisplayDataType','_initRegisterCommand','getUnit','UniverProLicense','single','isNaN','GlobalConfig','SetPivotOptionMutation','_generateUniqueVersion','_viewData$','_requestResolvers','delete','startRow','PivotDrillDownCommand','DrillDown','getColumnWidth','Date','Disposable','61426aqqMOI','_ensurePivotItemRenderValueMatrixCache','_ensureViewDataMap','NUM','getDataFieldItemInfo','getFieldCountByArea','ICommandService','count','registerRefRange','getUnitId','getColCount','colRanges','UniverCore','prefix','sheet.command.move-pivot-field','DependentOn','blank','ErrorType','splice','_featureCalculationManagerService','updateCollectionConfig','@univerjs/engine-render','addExclusiveRange','UpdateSource','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','_injector','transFromCellValue','_getAutoName','AddPivotTableWithConfigCommand','dataRangeInfo','deepClone','getMatrixValue','sheet.mutation.send-pivot-view-local','rgb(255,255,255)','getRowCount','updatePivotTableRangeInfo','MoveRangeCommand','UniverInstanceType','Delete','sheet.operation.pivot-table-view-formula-mark-dirty','getDate','fetchThroughInterceptors','Inject','setCollapse','Column','setDateType','formJSON','Rectangle','level','size','getSubUnitPivotConfigs','startCollectChangeset','return\x20','PivotTableChangeTypeEnum','textInfo','sheet.command.add-pivot-field','getSubUnitPivotMatrix','COMMAND','getDataFieldId','tableFieldId','sheets-pivot.dateGroup.monthDate','sheets-pivot.cellDateGroupDisplay.month','error','forValue','pivotTableConfigs','NUMBER','sheet.command.update-pivot-value-position','_refRangeService','SetValueFilter','PivotTableViewDirtyMarkOperation','UniverProSheetsPivot','SetWorksheetColWidthMutation','parse','fontRenderExtension','pivotInitCompleted$','rowRanges','getSubUnitPivotRenderCache','getUpdateRangeDeleteIds','asObservable','getLastCol','Values','SHEET_PIVOT_IN_MAIN_THREAD','redos','getNoUsedDataFieldIds','amd','sheet.mutation.pivot-update-field-position','query','concat','sheets-pivot.cellDateGroupDisplay.hour','sheet.mutation.update-pivot-table-source-range','updateDirtyPivotTable','getRangeStartEndInfo','_initCommandInterceptListener','Range','getIntersects','_ensurePivotItemRenderInfoCache','_sheetsPivotDataSourceModel','None','addRecord','sheet.mutation.add-pivot-table','sheet.mutation.set-pivot-format','AddPivotFieldCommand','hasField','getDataFieldByDataFieldId','_univerInstanceService','InsertSheetMutation','_collectionChange$','setConfig','SetSortInfo','18rmYgmH','setDisplayName','getName','entries','unshift','FieldsCollection','setName','sheet.mutation.remove-pivot-table','getCurrentSelections','UniverRpc','configVersion$','UniverProEnginePivot','_configService','headerMap','sheet.mutation.add-pivot-field','_subjectFieldsCollectionChange','setFieldFormat','getValueIndex','viewData$','limit\x20pivot','rangeKey','sheets-pivot.config','sheet.command.remove-pivot-field','value','pushComputingStatusSubject','deleteUnitId','undos','DEFAULT_WORKSHEET_COLUMN_COUNT','AddPivotFieldMutation','getLastRow','_activeDirtyManagerService','InterceptorManager','setRangeValueUndoMutation','colStyle','SetPivotPositionMutation','PivotFilterTypeEnum','getIntersectsPivotTable','type','getSourceName','pageStyle','_markDirty$','numfmt','startColumn','Collapse','PivotTableValuePositionEnum','getDisplayName','getPivotInfoByLicense','push','markDirty$','matrix','handleSourceRangeChange','isValue','getformat','DisposableCollection','#b2b2b2','sheets-pivot.varName','REF','dataFieldsCollection','MovePivotFieldCommand','_ensurePivotMap','SetPivotValueFilterCommand','UniverSheetsFilter','dateType','getRefRangeMutationsByMoveRange','sheet.mutation.set-pivot-sort-info','collapseInfo','oldMatrix','sheets-pivot.other','sheet.command.pivot-drill-down','sheets-pivot.subTotal','paths','sourceName','dataFields','_initDataSendListener','sheets-pivot.emptyPivot.values','cornerStyle','getSheets','rowFields','getDataFieldByRangeKey','SetRangeValuesUndoMutationFactory','_initConfig','_initUnitDisposed','find','queryDirtyPivotTable','removeValueFilterInfo','endColumn','@univerjs/engine-formula','_initLocale','isEmpty','setPivotInitCompleted','sheet.command.set-pivot-field-setting','_initSnapshot','updateRangeKeyMap','_viewUpdate$','getOwnPropertyDescriptor','@univerjs-pro/engine-pivot','_toJSON','triggerDirtyFeature','ResetPivotTable','InterceptorEffectEnum','sheet.command.set-pivot-filter','updateFieldSourceInfo','onCommandExecuted','lastCol','updatePivotTableMatrixInfo','SetFilterInfo','adjustSheetCellData','sheet.mutation.remove-group-collection','column','StdDevp\x20of\x20','isText','SetPivotFieldFormatMutation','sheets.tabs.sheet','sheets-pivot.cellDateGroupDisplay.date','ObjectMatrix','sheet.mutation.set-pivot-position','UpdateFieldPosition','excelDateToUnixMilliseconds','dataFieldId','CustomCommandExecutionError','MUTATION','floor','updateFieldPosition','realDeleteValue','PivotDataFieldDataTypeEnum','@univerjs/core','rowHeaderMap','DataSyncPrimaryController','sheets-pivot.columnName','cellToRange','pivotMutationGenerate','defaultThemeStyle','AddField','CellValueType','#1d32e9','YearMonth','info','register','getTypeOfUnitDisposed$'];_0x214f=function(){return _0x3b9d04;};return _0x214f();}function _0x22af(_0xffc119,_0x2cd6fa){const _0x214f58=_0x214f();return _0x22af=function(_0x22af61,_0x349ac0){_0x22af61=_0x22af61-0x1c6;let _0xd9679d=_0x214f58[_0x22af61];return _0xd9679d;},_0x22af(_0xffc119,_0x2cd6fa);}(function(_0x3baee8,_0x18e2d){const _0x5b3fc2=_0x22af,_0x567bda=_0x3baee8();while(!![]){try{const _0x9f417e=-parseInt(_0x5b3fc2(0x20e))/0x1*(-parseInt(_0x5b3fc2(0x2fa))/0x2)+-parseInt(_0x5b3fc2(0x367))/0x3*(parseInt(_0x5b3fc2(0x1e4))/0x4)+parseInt(_0x5b3fc2(0x239))/0x5+-parseInt(_0x5b3fc2(0x295))/0x6*(parseInt(_0x5b3fc2(0x460))/0x7)+parseInt(_0x5b3fc2(0x23f))/0x8*(parseInt(_0x5b3fc2(0x286))/0x9)+-parseInt(_0x5b3fc2(0x43b))/0xa*(-parseInt(_0x5b3fc2(0x253))/0xb)+parseInt(_0x5b3fc2(0x4e6))/0xc;if(_0x9f417e===_0x18e2d)break;else _0x567bda['push'](_0x567bda['shift']());}catch(_0x230cab){_0x567bda['push'](_0x567bda['shift']());}}}(_0x214f,0xebbe5),function(_0x3ec920,_0x1e8ebd){const _0x21ca21=_0x22af;typeof exports==_0x21ca21(0x4bd)&&typeof module<'u'?_0x1e8ebd(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define==_0x21ca21(0x3f2)&&define[_0x21ca21(0x34e)]?define([_0x21ca21(0x255),_0x21ca21(0x3c6),_0x21ca21(0x3e4),_0x21ca21(0x3bd),'@univerjs/sheets',_0x21ca21(0x429),_0x21ca21(0x1df),_0x21ca21(0x434),_0x21ca21(0x2db),_0x21ca21(0x30f)],_0x1e8ebd):(_0x3ec920=typeof globalThis<'u'?globalThis:_0x3ec920||self,_0x1e8ebd(_0x3ec920[_0x21ca21(0x340)]={},_0x3ec920[_0x21ca21(0x372)],_0x3ec920[_0x21ca21(0x306)],_0x3ec920[_0x21ca21(0x1e5)],_0x3ec920[_0x21ca21(0x482)],_0x3ec920['rxjs'],_0x3ec920[_0x21ca21(0x2eb)],_0x3ec920[_0x21ca21(0x3a4)],_0x3ec920[_0x21ca21(0x370)],_0x3ec920['UniverEngineRender']));}(this,function(_0x2a78c5,_0x3b8531,_0x12d885,_0x4b1b80,_0x28e907,_0xa1e6e9,_0x1abd15,_0x29e0a4,_0x16f1a7,_0x1fa83b){'use strict';const _0x489679=_0x22af;var _0x275a13=Object[_0x489679(0x4b4)],_0x3a0e50=(_0xa201cd,_0x1e0940,_0x304e9a)=>_0x1e0940 in _0xa201cd?_0x275a13(_0xa201cd,_0x1e0940,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x304e9a}):_0xa201cd[_0x1e0940]=_0x304e9a,_0x474ffa=(_0x4daa20,_0x354ced,_0x5e36bf)=>_0x3a0e50(_0x4daa20,typeof _0x354ced!=_0x489679(0x4b2)?_0x354ced+'':_0x354ced,_0x5e36bf);const _0x2c773d=Number['parseInt'](0x692449c5),_0x5bcc22=0x10,_0x183f2a=0x1,_0x3acf44=_0x489679(0x269),_0x18be36=0x1,_0x51d6e1=_0x489679(0x236),_0x51641f=_0x489679(0x31b),_0x3b0d33=_0x489679(0x39d),_0x58ba93='#f4f4f5',_0x312499=_0x489679(0x49a),_0x4ba5a5='#eceeff',_0x1b5e11=_0x489679(0x3ed),_0x3716eb=_0x489679(0x4ad),_0x3a1807='#e6ebfa',_0x5800e6='#1d32e9',_0x4532d2='#FFFFFF',_0x312dfe='#e6ebfb',_0x2ee24c=0xe,_0x4e72ce=0x6;var _0x455057=(_0x40c23f=>(_0x40c23f[_0x489679(0x292)]='existing',_0x40c23f[_0x489679(0x252)]=_0x489679(0x2b6),_0x40c23f))(_0x455057||{});const _0x15a93e={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','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':''}}},_0x244eda=0x1e,_0xeedc01={'b':{'s':0x1,'cl':{'rgb':_0x3b0d33}},'l':{'s':0x1,'cl':{'rgb':_0x3b0d33}},'r':{'s':0x1,'cl':{'rgb':_0x3b0d33}},'t':{'s':0x1,'cl':{'rgb':_0x3b0d33}}},_0x5b4ef5={'bg':{'rgb':_0x51d6e1},'ht':0x2,'vt':0x2,'tb':0x1},_0x459439={'bg':{'rgb':_0x51641f},'ht':0x2,'vt':0x2,'tb':0x1},_0x5de2ba={'rowStyle':{'bg':{'rgb':_0x312dfe},'bd':_0xeedc01,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x5800e6},'bd':null,'cl':{'rgb':_0x4532d2},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0xeedc01,'bg':{'rgb':_0x3a1807},'vt':0x2},'cornerStyle':{'bd':_0xeedc01,'bg':{'rgb':_0x4ba5a5},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0xeedc01,'bg':{'rgb':_0x58ba93},'vt':0x2},'leafStyle':{'bd':_0xeedc01,'bg':{'rgb':_0x312499},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x1b5e11},'cl':{'rgb':_0x3716eb},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0xeedc01,'vt':0x2}};function _0x45f5d8(_0x59ba46,_0x1dda80,_0x33c6a7){const _0x4c3707=_0x489679,_0x8fa789=_0x59ba46['get'](_0x12d885[_0x4c3707(0x3f3)]),_0x12dbb6=_0x33c6a7['split']('_');switch(_0x1dda80){case _0x3b8531['PivotDateGroupFieldDateTypeEnum'][_0x4c3707(0x2ab)]:return _0x8fa789['t'](_0x4c3707(0x285),..._0x12dbb6);case _0x3b8531[_0x4c3707(0x1e8)][_0x4c3707(0x1ea)]:return _0x8fa789['t'](_0x4c3707(0x278),..._0x12dbb6);case _0x3b8531[_0x4c3707(0x1e8)][_0x4c3707(0x276)]:return _0x8fa789['t'](_0x4c3707(0x352),..._0x12dbb6);case _0x3b8531[_0x4c3707(0x1e8)][_0x4c3707(0x2c4)]:return _0x8fa789['t'](_0x4c3707(0x4d1),..._0x12dbb6);case _0x3b8531['PivotDateGroupFieldDateTypeEnum'][_0x4c3707(0x2f8)]:return _0x8fa789['t'](_0x4c3707(0x3d8),..._0x12dbb6);case _0x3b8531[_0x4c3707(0x1e8)][_0x4c3707(0x279)]:return _0x8fa789['t'](_0x4c3707(0x337),..._0x12dbb6);case _0x3b8531['PivotDateGroupFieldDateTypeEnum'][_0x4c3707(0x1ef)]:return _0x8fa789['t'](_0x4c3707(0x1dc),..._0x12dbb6);case _0x3b8531[_0x4c3707(0x1e8)]['YearMonth']:return _0x8fa789['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x12dbb6);case _0x3b8531[_0x4c3707(0x1e8)][_0x4c3707(0x1ff)]:return _0x8fa789['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0x12dbb6);case _0x3b8531[_0x4c3707(0x1e8)][_0x4c3707(0x258)]:return _0x8fa789['t'](_0x4c3707(0x2ac),..._0x12dbb6);}return'';}const _0x172fc9=(_0x2a0f11,_0x218c68,_0x587664,_0x25bbe8)=>{const _0xbb387d=_0x489679;let _0x5b6324;const _0x285dd2=_0x2a0f11[_0xbb387d(0x2a3)](_0x12d885[_0xbb387d(0x27d)])['getCurrentUnitForType'](_0x12d885[_0xbb387d(0x31f)][_0xbb387d(0x1db)]);if(!_0x285dd2)return null;const _0x3d8709=_0x285dd2[_0xbb387d(0x440)]();let _0x48ea22;if(_0x587664&&(_0x48ea22=_0x3d8709[_0xbb387d(0x29a)](_0x587664)),_0x218c68!=null&&_0x218c68['v']||(_0x218c68==null?void 0x0:_0x218c68['v'])===0x0){_0x5b6324||(_0x5b6324={});const _0x528919=_0x3ab11f(_0x218c68['v']);typeof _0x528919==_0xbb387d(0x225)?_0x5b6324['t']=_0x12d885['CellValueType'][_0xbb387d(0x33b)]:typeof _0x528919=='string'&&(_0x5b6324['t']=_0x12d885[_0xbb387d(0x3ec)][_0xbb387d(0x416)]),_0x5b6324['v']=_0x528919;}if((_0x218c68!=null&&_0x218c68['i']||(_0x218c68==null?void 0x0:_0x218c68['i'])===0x0)&&(_0x5b6324||(_0x5b6324={}),_0x5b6324['fi']=_0x218c68['i']),_0x218c68!=null&&_0x218c68['s']&&(_0x5b6324||(_0x5b6324={}),_0x5b6324[_0xbb387d(0x1cb)]=_0x218c68['s']),_0x587664&&(_0x5b6324||(_0x5b6324={}),_0x5b6324['s']=_0x48ea22),_0x25bbe8&&_0x5b6324!=null&&_0x5b6324['v']&&_0x5b6324[_0xbb387d(0x1cb)]!==_0x3b8531[_0xbb387d(0x455)][_0xbb387d(0x1fd)]&&_0x5b6324[_0xbb387d(0x1cb)]!==_0x3b8531['PivotCellStyleTypeEnum'][_0xbb387d(0x43d)]){const _0x480d87=String(_0x5b6324['v']),{dateType:_0x18d5f0}=_0x25bbe8;_0x5b6324['v']=_0x45f5d8(_0x2a0f11,_0x18d5f0,_0x480d87),_0x5b6324['t']=_0x12d885[_0xbb387d(0x3ec)][_0xbb387d(0x416)];}return _0x5b6324;},_0x49c413=(_0x53fb35,_0x10b1f1,_0x25d2e1,_0xcc73c6)=>{const _0x155a80=_0x489679;var _0x12a489,_0x52103d,_0x59560a,_0x19885c,_0xecab5f,_0x2e7d6,_0x6447ee,_0x55c226,_0x2a8b02,_0x31f91a,_0x3fe83e,_0x1597bd,_0x5769f7,_0x3c8e22;const _0x46ee95=_0x25d2e1[_0x155a80(0x26b)],{cornerView:_0x1b9084,rowView:_0x3975a0,colView:_0x5652e5,dataView:_0x3a12a3,pageView:_0x48466a,formatMap:_0x4c81e4,groupInfo:_0x17bada}=_0x10b1f1,{row:_0x3bbcc8,col:_0x14db02}=_0x46ee95,_0x505589=new _0x12d885[(_0x155a80(0x3d9))](),_0x267842={},_0x2f6d27={},_0x327d7b={},_0x27b204={},_0x5e09fb={};let _0x1d194e=_0x3bbcc8,_0x3193a7=_0x14db02;Object[_0x155a80(0x48e)](_0x48466a[_0x155a80(0x465)])[_0x155a80(0x404)](_0x1934d9=>{const _0x3c17a7=_0x155a80;Object[_0x3c17a7(0x48e)](_0x48466a['data'][Number(_0x1934d9)])['forEach'](_0x59198f=>{const _0x4fee6b=_0x3c17a7,_0x2a2845={..._0x48466a[_0x4fee6b(0x465)][Number(_0x1934d9)][Number(_0x59198f)]};_0x505589[_0x4fee6b(0x29a)](Number(_0x1934d9)+_0x1d194e,Number(_0x59198f)+_0x3193a7,_0x172fc9(_0x53fb35,_0x2a2845,_0x5de2ba[_0x4fee6b(0x38e)]));});});const _0x523dde=Object['keys'](_0x48466a['data'])['length'];_0x1d194e+=_0x523dde+(_0x523dde?_0x18be36:0x0);const _0x32033e=_0x1b9084[_0x155a80(0x31c)](),_0x143583=_0x1b9084[_0x155a80(0x304)]();for(let _0x4d44fc=0x0;_0x4d44fc<_0x32033e;_0x4d44fc++)for(let _0x3d1d87=0x0;_0x3d1d87<_0x143583;_0x3d1d87++){const _0x584ace={...(_0x52103d=(_0x12a489=_0x1b9084[_0x155a80(0x465)])==null?void 0x0:_0x12a489[_0x4d44fc])==null?void 0x0:_0x52103d[_0x3d1d87]};_0x584ace&&((_0x59560a=_0x3975a0[_0x155a80(0x374)][_0x3d1d87])!=null&&_0x59560a['isValue'])&&_0x3d1d87===_0x143583-0x1&&_0x4d44fc===_0x32033e-0x1&&(_0x584ace['v']=''+_0xcc73c6['sheets-pivot.value']),_0x505589['setValue'](_0x4d44fc+_0x1d194e,_0x3d1d87+_0x3193a7,_0x172fc9(_0x53fb35,_0x584ace,_0x5de2ba[_0x155a80(0x3b2)]));}for(let _0x2f3b00=0x0;_0x2f3b00<_0x1b9084['info'][_0x155a80(0x4d6)];_0x2f3b00++)_0x1b9084['info'][_0x2f3b00]&&(_0x327d7b[''+(_0x2f3b00+_0x3193a7)]=_0x1b9084['info'][_0x2f3b00]);_0x3193a7+=_0x143583;const _0x20e247=_0x5652e5[_0x155a80(0x374)],_0x3730ac=_0x5652e5[_0x155a80(0x384)]()>=0x0?_0x5652e5['getLastRow']()+0x1:0x0,_0x2bf955=_0x5652e5['getLastCol']()>=0x0?_0x5652e5[_0x155a80(0x349)]()+0x1:0x0;for(let _0x3227b7=0x0;_0x3227b7<_0x2bf955;_0x3227b7++){for(let _0xd70c76=0x0;_0xd70c76<_0x3730ac;_0xd70c76++){const _0xc74ed1={...(_0xecab5f=(_0x19885c=_0x5652e5[_0x155a80(0x465)])==null?void 0x0:_0x19885c[_0xd70c76])==null?void 0x0:_0xecab5f[_0x3227b7]},_0x53d64b=(_0x2e7d6=_0x20e247[_0xd70c76])==null?void 0x0:_0x2e7d6['tableFieldId'],_0x3b3387=_0x4c81e4[_0x53d64b],_0xcb1712=_0x17bada[_0x53d64b];_0xc74ed1&&(_0xc74ed1['v']=_0x4f34cd(_0xc74ed1,_0xd70c76===0x0&&((_0x6447ee=_0x5652e5[_0x155a80(0x1e9)](_0x3227b7+0x1))==null?void 0x0:_0x6447ee[_0x155a80(0x39a)]),_0x3b3387,_0xcc73c6));let _0x54ccc6;_0x3b3387?_0x54ccc6={..._0x5de2ba[_0x155a80(0x388)],'n':{'pattern':_0x3b3387}}:_0x54ccc6={..._0x5de2ba[_0x155a80(0x388)]},_0x505589[_0x155a80(0x29a)](_0xd70c76+_0x1d194e,_0x3227b7+_0x3193a7,_0x172fc9(_0x53fb35,_0xc74ed1,_0x54ccc6,_0xcb1712));}_0x5652e5['info'][_0x3227b7]&&(_0x2f6d27[''+(_0x3227b7+_0x3193a7)]=_0x5652e5['info'][_0x3227b7]),_0x5652e5[_0x155a80(0x374)][_0x3227b7+0x1]&&(_0x5e09fb[''+(_0x3227b7+_0x1d194e+0x1)]=_0x5652e5[_0x155a80(0x374)][_0x3227b7+0x1]);}_0x1d194e+=_0x32033e;const _0x3a789a=_0x3975a0['headerMap'],_0x4521b9=_0x3975a0[_0x155a80(0x384)]()>=0x0?_0x3975a0[_0x155a80(0x384)]()+0x1:0x0,_0x28a75f=_0x3975a0[_0x155a80(0x349)]()>=0x0?_0x3975a0[_0x155a80(0x349)]()+0x1:0x0;for(let _0x3ac9ef=0x0;_0x3ac9ef<_0x4521b9;_0x3ac9ef++){for(let _0x7c5f35=0x0;_0x7c5f35<_0x28a75f;_0x7c5f35++){const _0x57f6b7={...(_0x2a8b02=(_0x55c226=_0x3975a0[_0x155a80(0x465)])==null?void 0x0:_0x55c226[_0x3ac9ef])==null?void 0x0:_0x2a8b02[_0x7c5f35]},_0x592c72=(_0x31f91a=_0x3a789a[_0x7c5f35])==null?void 0x0:_0x31f91a['tableFieldId'],_0x37b500=_0x4c81e4[_0x592c72],_0x154620=_0x17bada[_0x592c72];_0x57f6b7&&(_0x57f6b7['v']=_0x4f34cd(_0x57f6b7,!0x1,_0x37b500,_0xcc73c6));let _0x1a10ac;_0x3975a0[_0x155a80(0x3ef)][_0x3ac9ef]['level']===_0x3975a0[_0x155a80(0x304)]()?_0x1a10ac=_0x5de2ba[_0x155a80(0x20a)]:_0x3975a0['info'][_0x3ac9ef][_0x155a80(0x456)]?_0x1a10ac=_0x3975a0[_0x155a80(0x3ef)][_0x3ac9ef]['level']===0x0?_0x5de2ba[_0x155a80(0x40e)]:_0x5de2ba['subTotalStyle']:_0x1a10ac=_0x5de2ba[_0x155a80(0x3f6)],_0x37b500&&(_0x1a10ac={..._0x1a10ac,'n':{'pattern':_0x37b500}}),_0x505589['setValue'](_0x3ac9ef+_0x1d194e,_0x7c5f35+_0x14db02,_0x172fc9(_0x53fb35,_0x57f6b7,_0x1a10ac,_0x154620));}_0x3975a0[_0x155a80(0x3ef)][_0x3ac9ef]&&(_0x267842[''+(_0x3ac9ef+_0x1d194e)]=_0x3975a0[_0x155a80(0x3ef)][_0x3ac9ef]),_0x3975a0[_0x155a80(0x374)][_0x3ac9ef]&&(_0x27b204[''+(_0x3ac9ef+_0x14db02)]=_0x3975a0[_0x155a80(0x374)][_0x3ac9ef]);}const _0x4d6a7d=_0x3a12a3['getRowCount'](),_0x199bc2=_0x3a12a3[_0x155a80(0x304)]();for(let _0x3abec9=0x0;_0x3abec9<_0x4d6a7d;_0x3abec9++)for(let _0x3e5ad1=0x0;_0x3e5ad1<_0x199bc2;_0x3e5ad1++){const _0x10c69b={...(_0x1597bd=(_0x3fe83e=_0x3a12a3[_0x155a80(0x465)])==null?void 0x0:_0x3fe83e[_0x3abec9])==null?void 0x0:_0x1597bd[_0x3e5ad1]};let _0x490830;_0x3975a0[_0x155a80(0x3ef)][_0x3abec9][_0x155a80(0x456)]?_0x490830=_0x3975a0[_0x155a80(0x3ef)][_0x3abec9]['level']===0x0?_0x5de2ba['grandTotal']:_0x5de2ba[_0x155a80(0x439)]:_0x490830=_0x5de2ba['dataStyle'];const _0x4ef5e2=_0x3975a0[_0x155a80(0x3ef)][_0x3abec9][_0x155a80(0x22b)],_0x176a21=_0x5652e5[_0x155a80(0x3ef)][_0x3e5ad1][_0x155a80(0x22b)],_0x4a6af3=Math[_0x155a80(0x3fe)](_0x4ef5e2,_0x176a21),_0x42bbe0=_0x25d2e1[_0x155a80(0x3f8)]['valueFields'][_0x155a80(0x351)]();let _0x310bbe='';_0x4a6af3<0x0?_0x310bbe=(_0x5769f7=_0x42bbe0[0x0])!=null?_0x5769f7:'':_0x310bbe=(_0x3c8e22=_0x42bbe0[_0x4a6af3])!=null?_0x3c8e22:'';const _0x479ffe=_0x4c81e4[_0x310bbe];_0x479ffe&&(_0x490830={..._0x490830,'n':{'pattern':_0x479ffe}}),_0x505589[_0x155a80(0x29a)](_0x3abec9+_0x1d194e,_0x3e5ad1+_0x3193a7,_0x172fc9(_0x53fb35,_0x10c69b,_0x490830));}return{'valueMatrix':_0x505589,'rowInfo':_0x267842,'colInfo':_0x2f6d27,'cornerInfo':_0x327d7b,'rowHeaderMap':_0x27b204,'colHeaderMap':_0x5e09fb};};function _0x4f34cd(_0x8c4a70,_0x569e60,_0xb59856,_0x226b65){const _0x10c594=_0x489679;let _0x1412d0=_0x8c4a70['v'];_0x569e60&&(_0x1412d0=''+_0x226b65[_0x10c594(0x2de)]);const _0x534169=_0x8c4a70['t']&&(_0x8c4a70['t']&_0x3b8531['PivotViewCellValueTypeEnum'][_0x10c594(0x30a)])>0x0;_0x534169&&(_0x1412d0=''+_0x226b65[_0x10c594(0x1d2)]);const _0x373d6=_0x8c4a70['t']&&(_0x8c4a70['t']&_0x3b8531[_0x10c594(0x408)]['other'])>0x0;if(_0x373d6&&(_0x1412d0=''+_0x226b65[_0x10c594(0x3aa)]),_0x8c4a70['s']===_0x3b8531[_0x10c594(0x455)][_0x10c594(0x43d)]){let _0x553ab0=_0x1412d0,_0x398183='';_0x3b8531[_0x10c594(0x44f)](_0x1412d0)&&(_0x553ab0=_0x1412d0[_0x10c594(0x307)],_0x398183=_0x1412d0[_0x10c594(0x37e)]);const _0x5c2964=_0xb59856&&!_0x534169&&!_0x373d6?_0x12d885[_0x10c594(0x390)][_0x10c594(0x221)](_0xb59856,Number(_0x553ab0)):_0x553ab0;_0x398183?_0x1412d0=_0x5c2964+'\x20'+_0x398183:_0x1412d0=_0x5c2964+'\x20'+_0x226b65[_0x10c594(0x3ac)];}else _0x8c4a70['s']===_0x3b8531[_0x10c594(0x455)]['GrandTotal']&&(_0x1412d0=_0x1412d0+'\x20'+_0x226b65[_0x10c594(0x23e)]);return _0x1412d0;}function _0x3ab11f(_0x12f948){const _0x3c33d0=_0x489679;if(_0x3b8531['isErrorValue'](_0x12f948)){const {errorType:_0x445a5d}=_0x12f948;switch(_0x445a5d){case _0x3b8531[_0x3c33d0(0x48f)][_0x3c33d0(0x22d)]:return _0x4b1b80['ErrorType']['DIV_BY_ZERO'];case _0x3b8531['PivotErrorTypeEnum'][_0x3c33d0(0x1de)]:return _0x4b1b80[_0x3c33d0(0x30b)][_0x3c33d0(0x2fd)];case _0x3b8531['PivotErrorTypeEnum'][_0x3c33d0(0x47b)]:return _0x4b1b80[_0x3c33d0(0x30b)]['NAME'];case _0x3b8531['PivotErrorTypeEnum']['NotName']:return _0x4b1b80[_0x3c33d0(0x30b)][_0x3c33d0(0x229)];case _0x3b8531[_0x3c33d0(0x48f)][_0x3c33d0(0x1fb)]:return _0x4b1b80[_0x3c33d0(0x30b)][_0x3c33d0(0x39f)];}}return _0x12f948;}function _0x3b9ebf(_0x21be21,_0x3dce32,_0x1ec52e=!0x1,_0x5c4b29=!0x1){const _0x8a6efe=_0x489679,{data:_0x5cd40f}=_0x3dce32,_0x288b05=_0x3dce32[_0x8a6efe(0x31c)](),_0x2e24f2=_0x3dce32[_0x8a6efe(0x304)]();if(_0x288b05<=0x0||_0x2e24f2<=0x0)return[];const _0x3350e8=_0x3dce32[_0x8a6efe(0x349)](),_0x37153a=_0x3dce32['getLastRow'](),_0x414af0=_0x5c4b29?_0x37153a>=0x0?_0x37153a+0x1:0x0:_0x288b05,_0x1b9f3b=_0x5c4b29?_0x3350e8>=0x0?_0x3350e8+0x1:0x0:_0x2e24f2,{row:_0x16845e,col:_0x47c777}=_0x21be21,_0x487043=_0x16845e,_0x2f9d5b=_0x47c777;if(_0x1ec52e){const _0x50a757=[];for(const [_0x15f4d7,_0x40b82a]of Object[_0x8a6efe(0x36a)](_0x5cd40f))for(const [_0x3768a3,_0x126b11]of Object['entries'](_0x40b82a))_0x50a757[_0x8a6efe(0x396)](_0x12d885['cellToRange'](_0x487043+Number(_0x15f4d7),_0x2f9d5b+Number(_0x3768a3)));return _0x50a757;}else{const _0x59d051=_0x5c4b29?_0x414af0>0x0?0x1:0x0:0x1,_0x4db4f4=_0x5c4b29?_0x1b9f3b>0x0?0x1:0x0:0x1,_0x57c304=_0x16845e+_0x414af0-_0x59d051,_0x4feae7=_0x47c777+_0x1b9f3b-_0x4db4f4;return[{'startRow':_0x487043,'startColumn':_0x2f9d5b,'endRow':_0x57c304,'endColumn':_0x4feae7}];}}const _0x45fab7=_0x489679(0x34b),_0x263daf=_0x489679(0x4aa);var _0x475b7c=(_0x44ef16=>(_0x44ef16['Filter']=_0x489679(0x4d8),_0x44ef16[_0x489679(0x21f)]='panel',_0x44ef16['AddPivotField']=_0x489679(0x1cf),_0x44ef16['AddPivotTableWithConfig']=_0x489679(0x268),_0x44ef16[_0x489679(0x4be)]='addPivotTable',_0x44ef16[_0x489679(0x4e0)]=_0x489679(0x48a),_0x44ef16[_0x489679(0x2bd)]=_0x489679(0x42f),_0x44ef16['SetPivotCollapse']='setPivotCollapse',_0x44ef16[_0x489679(0x214)]=_0x489679(0x228),_0x44ef16[_0x489679(0x450)]=_0x489679(0x47d),_0x44ef16[_0x489679(0x4ca)]=_0x489679(0x462),_0x44ef16[_0x489679(0x28c)]=_0x489679(0x411),_0x44ef16[_0x489679(0x435)]=_0x489679(0x2dd),_0x44ef16[_0x489679(0x2f6)]=_0x489679(0x409),_0x44ef16['SetValuePivotFilter']=_0x489679(0x433),_0x44ef16[_0x489679(0x2d7)]=_0x489679(0x4d2),_0x44ef16[_0x489679(0x3c9)]=_0x489679(0x241),_0x44ef16))(_0x475b7c||{});const _0xd9863a={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':_0x489679(0x46e),'sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':_0x489679(0x2dc),'sheets-pivot.valueText':_0x489679(0x45a),'sheets-pivot.averageName':_0x489679(0x2ae),'sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':_0x489679(0x234),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':_0x489679(0x400),'sheets-pivot.stdDevName':_0x489679(0x4a7),'sheets-pivot.stdDevpName':_0x489679(0x3d4),'sheets-pivot.sumName':_0x489679(0x410),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':_0x489679(0x43d),'sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':_0x489679(0x37e),'sheets-pivot.blank':_0x489679(0x30a),'sheets-pivot.other':_0x489679(0x468),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x489679(0x497),'sheets-pivot.emptyPivot.column':_0x489679(0x326),'sheets-pivot.emptyPivot.values':_0x489679(0x34a)},_0x7e6769={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x3cfee6=_0x12d885[_0x489679(0x4df)](_0x489679(0x4da)),_0x4b11c5=_0x12d885['createInterceptorKey'](_0x489679(0x3e9));var _0x329095=(_0x3d0763=>(_0x3d0763[_0x489679(0x441)]=_0x489679(0x441),_0x3d0763[_0x489679(0x2f3)]=_0x489679(0x2f3),_0x3d0763[_0x489679(0x43f)]='update',_0x3d0763))(_0x329095||{}),_0xc924d8=(_0x17ffc7=>(_0x17ffc7['Add']=_0x489679(0x441),_0x17ffc7[_0x489679(0x1ee)]=_0x489679(0x1d3),_0x17ffc7[_0x489679(0x320)]=_0x489679(0x2f3),_0x17ffc7))(_0xc924d8||{});const _0x788a94={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x3df)],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},_0x3b0ede={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x3df)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x51ccb6={'type':_0x12d885['CommandType']['MUTATION'],'id':_0x489679(0x31a),'handler':()=>!0x0},_0x21539e={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x3df)],'id':_0x489679(0x481),'handler':()=>!0x0},_0x7a4a18={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x3df)],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0};var _0x4034f9=Object[_0x489679(0x3c5)],_0x2e7515=(_0x2a20c0,_0x598ceb,_0x30d80b,_0x1c5c93)=>{const _0x8b2986=_0x489679;for(var _0x1b630f=_0x1c5c93>0x1?void 0x0:_0x1c5c93?_0x4034f9(_0x598ceb,_0x30d80b):_0x598ceb,_0x2e8b50=_0x2a20c0[_0x8b2986(0x4d6)]-0x1,_0x5d3932;_0x2e8b50>=0x0;_0x2e8b50--)(_0x5d3932=_0x2a20c0[_0x2e8b50])&&(_0x1b630f=_0x5d3932(_0x1b630f)||_0x1b630f);return _0x1b630f;},_0x3b4429=(_0x2dfe50,_0x15663a)=>(_0x31b2e9,_0x364687)=>_0x15663a(_0x31b2e9,_0x364687,_0x2dfe50);_0x2a78c5[_0x489679(0x261)]=class extends _0x12d885[_0x489679(0x2f9)]{constructor(_0x23d16c){const _0x109007=_0x489679;super(),_0x474ffa(this,_0x109007(0x2f2),new Map()),this[_0x109007(0x4b5)]=_0x23d16c;}[_0x489679(0x281)](_0x1d5ab7){const _0x122470=_0x489679,{version:_0x37761f}=_0x1d5ab7,_0x3bf20b=this['_requestResolvers'][_0x122470(0x2a3)](_0x37761f);_0x3bf20b&&(_0x3bf20b(_0x1d5ab7),this[_0x122470(0x2f2)]['delete'](_0x37761f));}[_0x489679(0x2d9)](_0x4c0dd0){return new Promise((_0x554cbf,_0x2b7d76)=>{const _0x2b3f6e=_0x22af,_0x4ec557=this[_0x2b3f6e(0x2f0)]();this['_requestResolvers'][_0x2b3f6e(0x1d3)](_0x4ec557,_0x554cbf),this[_0x2b3f6e(0x4b5)][_0x2b3f6e(0x42c)](_0x788a94['id'],{'version':_0x4ec557,..._0x4c0dd0},{'onlyLocal':!0x0});});}[_0x489679(0x2f0)](){const _0xa791fb=_0x489679;return Math[_0xa791fb(0x29c)]()['toString'](0x24)['substring'](0x2,0x10);}},_0x2a78c5['SheetsPivotRPCService']=_0x2e7515([_0x3b4429(0x0,_0x12d885['Inject'](_0x12d885['ICommandService']))],_0x2a78c5[_0x489679(0x261)]);const _0x558590={0x0:'f',0x1:'y',0x2:'a',0x3:'i',0x4:'q',0x5:'X',0x6:'b',0x7:'C',0x8:'S',0x9:'I','B':'0','m':'1','c':'2','k':'3','V':'4','Y':'5','e':'6','L':'7','X':'8','Z':'9','l':'c','p':'d','T':'e','d':'g','b':'h','q':'j','I':'k','r':'l','x':'m','P':'n','M':'o','U':'p','g':'r','A':'s','a':'t','u':'u','s':'v','J':'w','D':'x','O':'z','N':'A','K':'B','R':'D','t':'E','v':'F','C':'G','w':'H','H':'J','j':'K','S':'L','F':'M','W':'N','n':'O','E':'P','Q':'Q','i':'R','z':'T','f':'U','h':'V','o':'W','y':'Y','G':'Z'},_0x6ae533=_0x489679(0x446),_0x597cc3=_0x17c22d=>{const _0x41d8c1=_0x489679;var _0x5c3bb9;return((_0x5c3bb9=_0x17c22d[_0x41d8c1(0x248)])==null?void 0x0:_0x5c3bb9[_0x41d8c1(0x453)][_0x41d8c1(0x208)](/\r\n$/,''))||'';};class _0x1d3388 extends _0x3b8531['DataFieldManager']{constructor(_0x14c97e,_0x392462){const _0x569141=_0x489679;super(),_0x474ffa(this,_0x569141(0x217),{}),_0x474ffa(this,'_univerInstanceService'),_0x474ffa(this,_0x569141(0x216)),(this[_0x569141(0x362)]=_0x392462,this['_host']=_0x14c97e);}[_0x489679(0x1fa)](){const _0x96d3f1=_0x489679;for(const _0x304846 in this[_0x96d3f1(0x3af)]){const _0x49e30d=this['dataFields'][_0x304846],_0x5b26a5=_0x49e30d[_0x96d3f1(0x25b)]();this[_0x96d3f1(0x217)][_0x5b26a5]=_0x49e30d[_0x96d3f1(0x2b2)]();}}['getAutoDisplayNameFunction'](){const _0x35f10d=_0x489679,_0x4bf07b=this[_0x35f10d(0x216)];return _0x282554[_0x35f10d(0x489)](_0x4bf07b);}[_0x489679(0x2b9)](_0x8e70cb){const _0x551f4e=_0x489679,_0x1d29f7=this['dataFields'][_0x8e70cb][_0x551f4e(0x37b)];delete this[_0x551f4e(0x3af)][_0x8e70cb],delete this[_0x551f4e(0x217)][_0x1d29f7];}['addDataFieldWithoutUnitInfo'](_0x9e9641){const _0x4c508f=_0x489679;this[_0x4c508f(0x3af)][_0x9e9641[_0x4c508f(0x2b2)]()]=_0x9e9641;}[_0x489679(0x29f)](_0x18e081){const _0x1bbad0=_0x489679;var _0x4e5134,_0x29ead1;const _0x261e46=this[_0x1bbad0(0x216)]['getTargetByPivotId'](_0x18e081);if(_0x261e46){const {unitId:_0xec546d,subUnitId:_0x1cd93b}=_0x261e46,_0x395c1d=(_0x4e5134=this[_0x1bbad0(0x216)]['getPivotTableConfig'](_0xec546d,_0x1cd93b,_0x18e081))==null?void 0x0:_0x4e5134[_0x1bbad0(0x2cf)];this[_0x1bbad0(0x216)][_0x1bbad0(0x41b)]({'token':_0x18e081,'type':_0x329095['delete'],'dataRangeInfo':_0x395c1d});}(_0x29ead1=this['getCollection'](_0x18e081))==null||_0x29ead1[_0x1bbad0(0x1f0)](),delete this[_0x1bbad0(0x202)][_0x18e081];}[_0x489679(0x25b)](_0xd4117e,_0x4f404a){const _0x11f439=_0x489679,{sheetName:_0x21a321,unitId:_0x3a25e6,range:_0x579251}=_0xd4117e,{startRow:_0xf1bbbb,endRow:_0x492451}=_0x579251;return _0x4b1b80[_0x11f439(0x469)](_0x3a25e6,_0x21a321,{'startRow':_0xf1bbbb,'endRow':_0x492451,'startColumn':_0x4f404a,'endColumn':_0x4f404a});}['getDataFieldByRangeKey'](_0x37ac9a){const _0x37c70b=_0x489679;return this[_0x37c70b(0x3af)][this[_0x37c70b(0x217)][_0x37ac9a]];}['setRangeKeyMap'](_0x4e8797,_0x4ca6a8){const _0x596b43=_0x489679;this[_0x596b43(0x217)][_0x4e8797]=_0x4ca6a8;}[_0x489679(0x3c3)](_0x32b63c,_0x5c57be){const _0x448af8=_0x489679;this[_0x448af8(0x217)][_0x5c57be]=this['rangeKeyMap'][_0x32b63c],delete this[_0x448af8(0x217)][_0x32b63c];}[_0x489679(0x443)](_0x3bbb20,_0x56eb2d,_0x41dcac,_0x3b6999){const _0x14d608=_0x489679,_0x2086e0=new _0x3b8531['FieldsCollection'](this);_0x2086e0[_0x14d608(0x492)](_0x56eb2d);const _0x34ee60=[];let _0x1fd4ea=0x0;for(const _0x394aec of _0x2086e0['fieldIds']){const _0xf9972=this['getRangeKey'](_0x41dcac,_0x1fd4ea),_0x11559c=this[_0x14d608(0x3af)][_0x394aec];_0x11559c&&(_0x11559c['rangeKey']=_0xf9972,this[_0x14d608(0x25a)](_0xf9972,_0x394aec),_0x34ee60[_0x14d608(0x396)]({'index':_0x1fd4ea,'dataField':_0x11559c})),_0x1fd4ea++;}return this['addCollection'](_0x3bbb20,_0x2086e0,_0x41dcac,_0x3b6999),{'collection':_0x2086e0,'updateDataFieldList':_0x34ee60};}[_0x489679(0x355)](_0x55d86f,_0x1665ba){const _0x3a6f57=_0x489679;return _0x55d86f[_0x3a6f57(0x41f)]===_0x12d885[_0x3a6f57(0x4c4)]['COLUMN']?{'startRow':0x0,'startColumn':_0x55d86f[_0x3a6f57(0x391)],'endRow':_0x1665ba[_0x3a6f57(0x31c)]()-0x1,'endColumn':_0x55d86f[_0x3a6f57(0x3bc)]}:{'startRow':_0x55d86f[_0x3a6f57(0x2f4)],'startColumn':_0x55d86f[_0x3a6f57(0x391)],'endRow':_0x55d86f[_0x3a6f57(0x483)],'endColumn':_0x55d86f[_0x3a6f57(0x3bc)]};}[_0x489679(0x2e6)](_0x1390eb){const _0x1c4cb3=_0x489679,{sheetName:_0x13b040,range:_0x5bdd7b}=_0x1390eb,_0xcd912b=this[_0x1c4cb3(0x362)][_0x1c4cb3(0x28b)](_0x12d885[_0x1c4cb3(0x31f)][_0x1c4cb3(0x1db)]),_0x149489=_0xcd912b[_0x1c4cb3(0x2a8)](_0x13b040),_0x5c3562=_0x149489['getCellMatrix'](),{startColumn:_0x137cd4,startRow:_0xd69770,endColumn:_0x4a031f}=this[_0x1c4cb3(0x355)](_0x5bdd7b,_0x149489),_0x283e4f=_0xcd912b[_0x1c4cb3(0x440)](),_0x2dcdf6=new _0x3b8531[(_0x1c4cb3(0x36c))](this);_0x2dcdf6[_0x1c4cb3(0x2a2)](_0x1390eb);const _0x37e11b=[],_0x40fedd={};for(let _0x12840e=_0x137cd4;_0x12840e<=_0x4a031f;_0x12840e++){const _0x553a72=_0x5c3562[_0x1c4cb3(0x452)](_0xd69770,_0x12840e),_0x354ae2=this['getRangeKey'](_0x1390eb,_0x12840e),_0x376783=this[_0x1c4cb3(0x3b5)](_0x354ae2);if(_0x376783)_0x2dcdf6[_0x1c4cb3(0x454)](_0x376783[_0x1c4cb3(0x2b2)](),_0x376783[_0x1c4cb3(0x369)]());else{const _0x41a695=this[_0x1c4cb3(0x466)]();let _0x6825c1=this['adjustSheetCellData'](_0x553a72,_0x283e4f,_0x40fedd);_0x3b8531[_0x1c4cb3(0x2be)](_0x6825c1)&&(_0x6825c1=_0x12d885[_0x1c4cb3(0x390)][_0x1c4cb3(0x221)](_0x6825c1['f'],Number(_0x6825c1['v'])));const _0xe3e41a=this[_0x1c4cb3(0x2bb)](_0x6825c1,_0x12840e),_0x265715=new _0x3b8531['DataField'](_0x41a695,_0xe3e41a,_0x3b8531[_0x1c4cb3(0x2a7)](0x3));_0x265715[_0x1c4cb3(0x37b)]=_0x354ae2,this[_0x1c4cb3(0x3af)][_0x41a695]=_0x265715,_0x2dcdf6[_0x1c4cb3(0x454)](_0x41a695,_0xe3e41a),_0x37e11b[_0x1c4cb3(0x396)]({'index':_0x12840e,'dataField':_0x265715});}}return{'updateDataFieldList':_0x37e11b,'collection':_0x2dcdf6};}[_0x489679(0x315)](_0x147be4){const _0x36d63c=_0x489679;return this[_0x36d63c(0x216)][_0x36d63c(0x206)]()[_0x36d63c(0x3e7)]+'\x20'+_0x12d885[_0x36d63c(0x27e)](_0x147be4);}['uniqueDataFieldName'](_0x5f2743,_0x1cf46c){const _0x3637cb=_0x489679;return _0x5f2743==null||_0x5f2743===''?this[_0x3637cb(0x315)](_0x1cf46c):String(_0x5f2743);}[_0x489679(0x461)](_0x53ae64){const _0x3e0edc=_0x489679;return this[_0x3e0edc(0x202)][_0x53ae64];}[_0x489679(0x3fb)](_0x3d0628,_0x12fe97,_0x2b03e7,_0x389b43){const _0x55e15b=_0x489679;this[_0x55e15b(0x202)][_0x3d0628]=_0x12fe97,_0x12fe97[_0x55e15b(0x2a2)](_0x2b03e7),this[_0x55e15b(0x216)][_0x55e15b(0x41b)]({'token':_0x3d0628,'type':_0x329095[_0x55e15b(0x441)],'dataRangeInfo':_0x2b03e7,'targetCellInfo':_0x389b43});}[_0x489679(0x496)](_0x185826,_0x19292a){const _0x4a163e=_0x489679,_0x492397=this[_0x4a163e(0x461)](_0x185826),_0x594f27=_0x492397[_0x4a163e(0x3f9)]();let _0x592b44=0x0;for(const _0xb715b2 of _0x594f27){const _0x1da116=_0x492397[_0x4a163e(0x4ab)](_0xb715b2),_0x3a3a62=this[_0x4a163e(0x25b)](_0x19292a,_0x592b44);this[_0x4a163e(0x3c3)](_0x1da116[_0x4a163e(0x37b)],_0x3a3a62),_0x592b44++;}}[_0x489679(0x4ce)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x489679(0x347)](_0x1a0fa1,_0x46eb24){const _0x496202=_0x489679;if(this['getCollection'](_0x1a0fa1)){const _0x5537ab=this[_0x496202(0x2af)](_0x46eb24),_0x5e268a=[];for(const _0x2b08fa of _0x5537ab)this['rangeKeyMap'][_0x2b08fa]!==void 0x0&&_0x5e268a['push'](this[_0x496202(0x217)][_0x2b08fa]);const _0x483502=this[_0x496202(0x34d)](_0x1a0fa1),_0xf15804=[],_0x55924b=new Set(_0x5e268a);for(const _0x56122b of _0x483502)_0x55924b['has'](_0x56122b)||_0xf15804[_0x496202(0x396)](_0x56122b);return _0xf15804;}}[_0x489679(0x319)](_0x45e8de,_0x297bc7,_0x4e9faf,_0x3793ea,_0x1ffb5c){const _0x25b8c4=_0x489679;return _0x297bc7&&_0x297bc7[_0x25b8c4(0x452)](_0x3793ea,_0x1ffb5c)?_0x297bc7[_0x25b8c4(0x452)](_0x3793ea,_0x1ffb5c):_0x4e9faf&&_0x4e9faf[_0x25b8c4(0x452)](_0x3793ea,_0x1ffb5c)?_0x4e9faf[_0x25b8c4(0x452)](_0x3793ea,_0x1ffb5c):_0x45e8de[_0x25b8c4(0x452)](_0x3793ea,_0x1ffb5c);}[_0x489679(0x43e)](_0x17e687,_0x568834,_0x258841,_0x348b08){const _0x483eef=_0x489679,_0x400176=this[_0x483eef(0x3af)][_0x17e687];if(!_0x400176)return;const {subUnitId:_0x2905b9,range:_0x5e2e9e,unitId:_0x3952e7}=_0x568834,_0x5db6bc=this[_0x483eef(0x362)][_0x483eef(0x2ea)](_0x3952e7);if(!_0x5db6bc){console['error']('workbook\x20is\x20not\x20found');return;}const _0x4cb134=_0x5db6bc[_0x483eef(0x4cd)](_0x2905b9),_0xac38c3=_0x4cb134[_0x483eef(0x203)](),{arrayFormulaCellDataMatrix:_0x1f6086,unitDataMatrix:_0x33f021}=_0x348b08||{},{startRow:_0x52d7a9,startColumn:_0x559bab,endRow:_0x5558f7}=this[_0x483eef(0x355)](_0x5e2e9e,_0x4cb134);_0x400176[_0x483eef(0x272)]();const _0x453ca2=_0x5db6bc['getStyles'](),_0x1e576b={},_0x594951=this[_0x483eef(0x319)](_0xac38c3,_0x1f6086,_0x33f021,_0x52d7a9,_0x559bab+_0x258841);let _0x26ff34=this[_0x483eef(0x3d1)](_0x594951,_0x453ca2,_0x1e576b);_0x3b8531[_0x483eef(0x2be)](_0x26ff34)&&(_0x26ff34=_0x12d885[_0x483eef(0x390)][_0x483eef(0x221)](_0x26ff34['f'],Number(_0x26ff34['v'])));const _0x59b557=this[_0x483eef(0x2bb)](_0x26ff34,_0x559bab+_0x258841);_0x400176[_0x483eef(0x36d)](_0x59b557);for(let _0x4d2046=_0x52d7a9+0x1;_0x4d2046<=_0x5558f7;_0x4d2046++){const _0x373307=this[_0x483eef(0x319)](_0xac38c3,_0x1f6086,_0x33f021,_0x4d2046,_0x559bab+_0x258841);_0x400176[_0x483eef(0x35c)](this['adjustSheetCellData'](_0x373307,_0x453ca2,_0x1e576b),_0x4d2046-0x1-_0x52d7a9);}}[_0x489679(0x24c)](_0x42af06,_0x4a5de0,_0x19e004){const _0x46ed80=_0x489679,{subUnitId:_0x15e9db,range:_0x51ee44,unitId:_0x12be4c}=_0x19e004,_0x4b221d=this['_univerInstanceService']['getUnit'](_0x12be4c);if(!_0x4b221d){console[_0x46ed80(0x338)](_0x46ed80(0x4dd));return;}const _0x5d3894=_0x4b221d[_0x46ed80(0x4cd)](_0x15e9db),_0x981a88=_0x5d3894[_0x46ed80(0x203)](),{startRow:_0x580324,startColumn:_0x137b00,endRow:_0x219cc3}=this[_0x46ed80(0x355)](_0x51ee44,_0x5d3894),_0x18209d=_0x4b221d[_0x46ed80(0x440)](),_0xb66d45={};for(const {dataField:_0x548963,index:_0x46ccf9}of _0x4a5de0){_0x548963['reset']();const _0x228aa2=this[_0x46ed80(0x319)](_0x981a88,void 0x0,void 0x0,_0x580324,_0x137b00+_0x46ccf9);let _0x3d3252=this[_0x46ed80(0x3d1)](_0x228aa2,_0x18209d,_0xb66d45);_0x3b8531[_0x46ed80(0x2be)](_0x3d3252)&&(_0x3d3252=_0x12d885[_0x46ed80(0x390)]['format'](_0x3d3252['f'],Number(_0x3d3252['v'])));const _0x41c6da=this['uniqueDataFieldName'](_0x3d3252,_0x137b00+_0x46ccf9);_0x548963[_0x46ed80(0x36d)](_0x41c6da);}_0x42af06[_0x46ed80(0x1cc)]();for(let _0x3a9f6f=_0x580324+0x1;_0x3a9f6f<=_0x219cc3;_0x3a9f6f++)for(const {index:_0xb85606,dataField:_0x2d16cc}of _0x4a5de0){const _0x2e3116=_0x981a88[_0x46ed80(0x452)](_0x3a9f6f,_0x137b00+_0xb85606);_0x2d16cc['addRecord'](this['adjustSheetCellData'](_0x2e3116,_0x18209d,_0xb66d45),_0x3a9f6f-0x1-_0x580324);}_0x42af06['setDataRecordCount'](_0x219cc3-_0x580324);}['getRangeKeyList'](_0x2925d0){const _0x492271=_0x489679,{range:_0x567241}=_0x2925d0,{startColumn:_0x156c90,endColumn:_0x680a29}=_0x567241,_0x15fa3b=[];for(let _0x541a02=_0x156c90;_0x541a02<=_0x680a29;_0x541a02++)_0x15fa3b[_0x492271(0x396)](this[_0x492271(0x25b)](_0x2925d0,_0x541a02));return _0x15fa3b;}['adjustSheetCellData'](_0x2c2c79,_0x54bc64,_0x5dd884){const _0x315320=_0x489679;if(_0x2c2c79){const {s:_0x30d7a4,v:_0x34d561,t:_0x1e2c6f,p:_0x1ae9f8}=_0x2c2c79;if(_0x1ae9f8)return _0x597cc3(_0x1ae9f8);const _0x3b747a=_0x54bc64[_0x315320(0x2a3)](_0x30d7a4);if(_0x3b747a&&_0x1e2c6f===_0x12d885['CellValueType'][_0x315320(0x33b)]&&_0x3b747a['n']){const {pattern:_0x27229b}=_0x3b747a['n'];_0x5dd884[_0x27229b]||(_0x5dd884[_0x27229b]=_0x12d885[_0x315320(0x390)][_0x315320(0x4d9)](_0x27229b));const _0x223afc=_0x5dd884[_0x27229b],_0x48fe2a=_0x223afc[_0x315320(0x270)];if(_0x223afc[_0x315320(0x3d5)])return String(_0x34d561);if(_0x48fe2a)return{'v':_0x34d561,'f':_0x27229b};}if(_0x1e2c6f===_0x12d885[_0x315320(0x3ec)]['NUMBER'])return Number(_0x34d561);if(_0x1e2c6f===_0x12d885[_0x315320(0x3ec)][_0x315320(0x416)]||_0x1e2c6f===_0x12d885[_0x315320(0x3ec)][_0x315320(0x21a)])return String(_0x34d561);if(_0x1e2c6f===void 0x0){const _0x29a7fb=Number(_0x34d561);if(!Number[_0x315320(0x2ed)](_0x29a7fb)&&String(_0x29a7fb)===_0x34d561)return _0x29a7fb;}return _0x34d561!=null?_0x34d561:null;}else return null;}['getRangeData'](_0x90a33b){const _0x20035a=_0x489679,{sheetName:_0x2e00f1,range:_0x19153a,unitId:_0x31c88e}=_0x90a33b,_0x35cb4c=this[_0x20035a(0x362)]['getUnit'](_0x31c88e);if(!_0x35cb4c)return console[_0x20035a(0x338)](_0x20035a(0x4dd)),{'header':[],'data':[]};const _0x3a9720=_0x35cb4c[_0x20035a(0x2a8)](_0x2e00f1),_0x2e8a60=_0x3a9720['getCellMatrix'](),{startRow:_0xaab880,startColumn:_0x9a39d3,endRow:_0x5d1217,endColumn:_0x266bdc}=this[_0x20035a(0x355)](_0x19153a,_0x3a9720),_0xb271fb=_0x35cb4c[_0x20035a(0x440)](),_0x5e1c91=[],_0x3c0702=[],_0x63e904={};for(let _0x550fce=_0xaab880;_0x550fce<=_0x5d1217;_0x550fce++){const _0x5d4352=[];for(let _0xf63eef=_0x9a39d3;_0xf63eef<=_0x266bdc;_0xf63eef++){const _0x7540b5=_0x2e8a60[_0x20035a(0x452)](_0x550fce,_0xf63eef);_0x550fce===_0xaab880?_0x5e1c91[_0x20035a(0x396)](_0x7540b5==null?null:String(_0x7540b5['v'])):_0x5d4352[_0x20035a(0x396)](this[_0x20035a(0x3d1)](_0x7540b5,_0xb271fb,_0x63e904));}_0x3c0702[_0x20035a(0x396)](_0x5d4352);}return{'header':_0x5e1c91,'data':_0x3c0702};}[_0x489679(0x485)](){const _0x1007f4=_0x489679;return super[_0x1007f4(0x485)]();}[_0x489679(0x492)](_0x41a186){const _0xd3f715=_0x489679;super[_0xd3f715(0x492)](_0x41a186),this[_0xd3f715(0x1fa)]();}[_0x489679(0x1f0)](){const _0x2fa3b3=_0x489679;super[_0x2fa3b3(0x1f0)](),this[_0x2fa3b3(0x217)]={},this[_0x2fa3b3(0x216)]=null;}}const _0x24ba6a=_0x469faa=>{const _0x33c568=_0x489679,{targetCellInfo:_0x54c6ed}=_0x469faa,{matrixCache:_0x538a68,rangesCache:_0x10e489}=_0x5dad44({'filter':'Filter','row':'Row','column':_0x33c568(0x326),'values':'Values'},_0x54c6ed),_0x5f1918=new _0x12d885[(_0x33c568(0x3d9))]();return _0x538a68[_0x33c568(0x339)]((_0x4433e3,_0xa2781f,_0x226f3b)=>{const _0x133415=_0x33c568;_0x5f1918[_0x133415(0x29a)](_0x4433e3,_0xa2781f,_0x226f3b);}),{'matrix':_0x5f1918,'rangesCache':_0x10e489};},_0x23ce83=_0xf14230=>{const _0x2f7f25=_0x489679;let _0x32842d;if(_0xf14230!=null&&_0xf14230['v']||(_0xf14230==null?void 0x0:_0xf14230['v'])===0x0){_0x32842d||(_0x32842d={});const _0x59ce4b=_0x3ab11f(_0xf14230['v']);typeof _0x59ce4b==_0x2f7f25(0x225)?_0x32842d['t']=_0x12d885[_0x2f7f25(0x3ec)][_0x2f7f25(0x33b)]:typeof _0x59ce4b==_0x2f7f25(0x289)&&(_0x32842d['t']=_0x12d885['CellValueType'][_0x2f7f25(0x416)]),_0x32842d['v']=_0x59ce4b;}return _0x32842d;},_0x298230=(_0xc9a567,_0xbb10b,_0x1cd627)=>{const _0x25a39b=_0x489679;var _0x1253c6,_0x5d7a4a,_0x3d690a,_0x24552a,_0x124630,_0x54517e,_0x3466b7,_0x272713,_0x108513,_0x465827,_0x2773fb,_0xc1658c;const {cornerView:_0x406eb9,rowView:_0x2f43ad,colView:_0x216532,dataView:_0xb1f989,pageView:_0x6f2f60,formatMap:_0x3fde27}=_0xc9a567,{row:_0x29adc9,col:_0x263f07}=_0xbb10b,_0x46228b=new _0x12d885[(_0x25a39b(0x3d9))]();let _0x3d8271=_0x29adc9,_0x14b045=_0x263f07;Object[_0x25a39b(0x48e)](_0x6f2f60[_0x25a39b(0x465)])[_0x25a39b(0x404)](_0x237377=>{const _0x51f22e=_0x25a39b;Object[_0x51f22e(0x48e)](_0x6f2f60[_0x51f22e(0x465)][Number(_0x237377)])['forEach'](_0x2f98fd=>{const _0x5554b9=_0x51f22e,_0x193ead={..._0x6f2f60['data'][Number(_0x237377)][Number(_0x2f98fd)]};_0x46228b[_0x5554b9(0x29a)](Number(_0x237377)+_0x3d8271,Number(_0x2f98fd)+_0x14b045,_0x23ce83(_0x193ead));});});const _0x2793eb=Object[_0x25a39b(0x48e)](_0x6f2f60['data'])[_0x25a39b(0x4d6)];_0x3d8271+=_0x2793eb+(_0x2793eb?_0x18be36:0x0);const _0x5a3695=_0x406eb9['getRowCount'](),_0x204620=_0x406eb9['getColCount']();for(let _0x2a4a95=0x0;_0x2a4a95<_0x5a3695;_0x2a4a95++)for(let _0x449f57=0x0;_0x449f57<_0x204620;_0x449f57++){const _0x447baf={...(_0x5d7a4a=(_0x1253c6=_0x406eb9[_0x25a39b(0x465)])==null?void 0x0:_0x1253c6[_0x2a4a95])==null?void 0x0:_0x5d7a4a[_0x449f57]};_0x447baf&&((_0x3d690a=_0x2f43ad[_0x25a39b(0x374)][_0x449f57])!=null&&_0x3d690a[_0x25a39b(0x39a)])&&_0x449f57===_0x204620-0x1&&_0x2a4a95===_0x5a3695-0x1&&(_0x447baf['v']=''+_0x1cd627[_0x25a39b(0x2de)]),_0x46228b['setValue'](_0x2a4a95+_0x3d8271,_0x449f57+_0x14b045,_0x23ce83(_0x447baf));}_0x14b045+=_0x204620;const _0x506235=_0x216532[_0x25a39b(0x374)],_0x47a472=_0x216532[_0x25a39b(0x384)]()>=0x0?_0x216532[_0x25a39b(0x384)]()+0x1:0x0,_0x550b3a=_0x216532['getLastCol']()>=0x0?_0x216532[_0x25a39b(0x349)]()+0x1:0x0;for(let _0x257c16=0x0;_0x257c16<_0x550b3a;_0x257c16++)for(let _0x491ad2=0x0;_0x491ad2<_0x47a472;_0x491ad2++){const _0x39c20e={...(_0x124630=(_0x24552a=_0x216532[_0x25a39b(0x465)])==null?void 0x0:_0x24552a[_0x257c16])==null?void 0x0:_0x124630[_0x491ad2]},_0x55d5a5=(_0x54517e=_0x506235[_0x257c16])==null?void 0x0:_0x54517e[_0x25a39b(0x335)],_0xf8f461=_0x3fde27[_0x55d5a5];_0x39c20e&&(_0x39c20e['v']=_0x4f34cd(_0x39c20e,_0x257c16===0x0&&((_0x3466b7=_0x216532['getHeaderMapItem'](_0x491ad2+0x1))==null?void 0x0:_0x3466b7[_0x25a39b(0x39a)]),_0xf8f461,_0x1cd627)),_0x46228b['setValue'](_0x257c16+_0x3d8271,_0x491ad2+_0x14b045,_0x23ce83(_0x39c20e));}_0x3d8271+=_0x5a3695;const _0x3d5e36=_0x2f43ad['headerMap'],_0x305f19=_0x2f43ad[_0x25a39b(0x384)]()>=0x0?_0x2f43ad['getLastRow']()+0x1:0x0,_0xad7c22=_0x2f43ad[_0x25a39b(0x349)]()>=0x0?_0x2f43ad[_0x25a39b(0x349)]()+0x1:0x0;for(let _0xccdb21=0x0;_0xccdb21<_0x305f19;_0xccdb21++)for(let _0x27d62f=0x0;_0x27d62f<_0xad7c22;_0x27d62f++){const _0x4cf3e8={...(_0x108513=(_0x272713=_0x2f43ad[_0x25a39b(0x465)])==null?void 0x0:_0x272713[_0xccdb21])==null?void 0x0:_0x108513[_0x27d62f]},_0x298c40=(_0x465827=_0x3d5e36[_0x27d62f])==null?void 0x0:_0x465827[_0x25a39b(0x335)],_0x5cec73=_0x3fde27[_0x298c40];_0x4cf3e8&&(_0x4cf3e8['v']=_0x4f34cd(_0x4cf3e8,!0x1,_0x5cec73,_0x1cd627)),_0x46228b['setValue'](_0xccdb21+_0x3d8271,_0x27d62f+_0x263f07,_0x23ce83(_0x4cf3e8));}const _0x5dcd8e=_0xb1f989[_0x25a39b(0x31c)](),_0x5d81dc=_0xb1f989['getColCount']();for(let _0x2012b5=0x0;_0x2012b5<_0x5dcd8e;_0x2012b5++)for(let _0x83f9cf=0x0;_0x83f9cf<_0x5d81dc;_0x83f9cf++){const _0x3da649={...(_0xc1658c=(_0x2773fb=_0xb1f989[_0x25a39b(0x465)])==null?void 0x0:_0x2773fb[_0x2012b5])==null?void 0x0:_0xc1658c[_0x83f9cf]};_0x46228b['setValue'](_0x2012b5+_0x3d8271,_0x83f9cf+_0x14b045,_0x23ce83(_0x3da649));}return _0x46228b;},_0xa01b2f=_0x133643=>{const _0x24dec9=_0x489679,{view:_0x5edf9e,targetCellInfo:_0xf0a0b2,isEmpty:_0xd5abaf,textInfo:_0x248466}=_0x133643;if(_0xd5abaf)return _0x24ba6a(_0x133643);const {pageView:_0x57a240,cornerView:_0x250d67,rowView:_0x10ff56,colView:_0x51c0d8,dataView:_0x222da5}=_0x5edf9e,_0x594475=_0x3b9ebf(_0xf0a0b2,_0x57a240,!0x0),_0x406ef6=_0x57a240[_0x24dec9(0x49d)]>=0x0?_0x57a240[_0x24dec9(0x49d)]+0x1:0x0,_0xec3154=_0x250d67['getRowCount'](),_0x41a9f2=_0x250d67[_0x24dec9(0x304)](),_0x412a56=_0x594475[_0x24dec9(0x4d6)]>0x0?_0x18be36:0x0,_0x16fad4=_0x3b9ebf({'row':_0xf0a0b2[_0x24dec9(0x42b)]+_0x406ef6+_0x412a56,'col':_0xf0a0b2['col']},_0x250d67,!0x1,!0x1),_0x3e56a3=_0x3b9ebf({'row':_0xf0a0b2[_0x24dec9(0x42b)]+_0x406ef6+_0x412a56+_0xec3154,'col':_0xf0a0b2['col']},_0x10ff56,!0x1,!0x0),_0xc50cc0=_0x3b9ebf({'row':_0xf0a0b2[_0x24dec9(0x42b)]+_0x406ef6+_0x412a56,'col':_0xf0a0b2[_0x24dec9(0x2b8)]+_0x41a9f2},_0x51c0d8,!0x1,!0x0),_0xf65820=_0x3b9ebf({'row':_0xf0a0b2[_0x24dec9(0x42b)]+_0x406ef6+_0x412a56+_0xec3154,'col':_0xf0a0b2[_0x24dec9(0x2b8)]+_0x41a9f2},_0x222da5,!0x1,!0x1),_0x881b1={'rowRanges':_0x3e56a3,'colRanges':_0xc50cc0,'cornerRanges':_0x16fad4,'dataRanges':_0xf65820,'pageRanges':_0x594475};return{'matrix':_0x298230(_0x5edf9e,_0xf0a0b2,_0x248466),'rangesCache':_0x881b1};};var _0x291f45=Object[_0x489679(0x3c5)],_0x3234da=(_0x182b64,_0x25852e,_0xd1a11,_0x2517e2)=>{const _0x265eb3=_0x489679;for(var _0x20a17c=_0x2517e2>0x1?void 0x0:_0x2517e2?_0x291f45(_0x25852e,_0xd1a11):_0x25852e,_0x1bf77f=_0x182b64[_0x265eb3(0x4d6)]-0x1,_0x25b41c;_0x1bf77f>=0x0;_0x1bf77f--)(_0x25b41c=_0x182b64[_0x1bf77f])&&(_0x20a17c=_0x25b41c(_0x20a17c)||_0x20a17c);return _0x20a17c;},_0x1ce7a2=(_0x456d77,_0x1d3e24)=>(_0x50f254,_0xdb56b2)=>_0x1d3e24(_0x50f254,_0xdb56b2,_0x456d77);_0x2a78c5['SheetsPivotDataSourceModel']=class extends _0x12d885['Disposable']{constructor(_0x530fe8,_0x11dd3f,_0x48e2d3,_0x422efd,_0x1d4dae){const _0x246a96=_0x489679;super(),_0x474ffa(this,_0x246a96(0x1ca),new Map()),_0x474ffa(this,_0x246a96(0x2d6),new Map()),_0x474ffa(this,_0x246a96(0x402),new Map()),_0x474ffa(this,'_textInfo'),_0x474ffa(this,'_collectionChange$',new _0xa1e6e9[(_0x246a96(0x2c9))]()),_0x474ffa(this,_0x246a96(0x2b0),this[_0x246a96(0x364)][_0x246a96(0x348)]()),_0x474ffa(this,_0x246a96(0x2f1),new _0xa1e6e9[(_0x246a96(0x2c9))]()),_0x474ffa(this,'viewData$',this[_0x246a96(0x2f1)][_0x246a96(0x348)]()),_0x474ffa(this,_0x246a96(0x47a),new _0xa1e6e9[(_0x246a96(0x2c9))]()),_0x474ffa(this,_0x246a96(0x1cd),this[_0x246a96(0x47a)][_0x246a96(0x348)]()),_0x474ffa(this,_0x246a96(0x425),new Map()),_0x474ffa(this,'needSameDeleteModel',[]),_0x474ffa(this,_0x246a96(0x2a9),new Map()),(this['_injector']=_0x530fe8,this['_univerInstanceService']=_0x11dd3f,this[_0x246a96(0x2d2)]=_0x48e2d3,this[_0x246a96(0x4b5)]=_0x422efd,this[_0x246a96(0x1c7)]=_0x1d4dae,this[_0x246a96(0x3c2)]());}[_0x489679(0x206)](){const _0x11139d=_0x489679;return this[_0x11139d(0x4b1)]?this[_0x11139d(0x4b1)]:_0xd9863a;}[_0x489679(0x23a)](_0x40631c){const _0x409992=_0x489679;this[_0x409992(0x4b1)]=_0x40631c;}[_0x489679(0x496)](_0x2eae45){const _0x2e2bca=_0x489679;var _0x2e4ad8;const {from:_0x3ec7cb,to:_0x495c8b,unitId:_0x39720e,fromRange:_0x4db79d,toRange:_0xe9bb4e}=_0x2eae45;if(_0x3ec7cb&&_0x495c8b){const _0x248576=this[_0x2e2bca(0x4af)](_0x39720e),_0x143e08=this[_0x2e2bca(0x1ca)][_0x2e2bca(0x2a3)](_0x39720e),_0x5c644b=(_0x2e4ad8=this['_univerInstanceService'][_0x2e2bca(0x2ea)](_0x39720e))==null?void 0x0:_0x2e4ad8[_0x2e2bca(0x4cd)](_0x495c8b[_0x2e2bca(0x41a)]);if(!_0x143e08||!_0x5c644b)return;const _0x2d8a48=_0x5c644b==null?void 0x0:_0x5c644b[_0x2e2bca(0x369)]();for(const [_0x2bb50a,_0x4e7358]of _0x143e08[_0x2e2bca(0x36a)]())for(const [_0xc1ccc0,_0x422c18]of _0x4e7358[_0x2e2bca(0x36a)]()){const {sourceRangeInfo:_0xfe5e33}=_0x422c18;if(_0xfe5e33['unitId']===_0x39720e&&_0xfe5e33[_0x2e2bca(0x41a)]===_0x3ec7cb[_0x2e2bca(0x41a)]&&_0x12d885[_0x2e2bca(0x329)]['contains'](_0x4db79d,_0xfe5e33['range'])){const _0x3a4f08={'row':_0xfe5e33[_0x2e2bca(0x26c)][_0x2e2bca(0x2f4)]-_0x4db79d[_0x2e2bca(0x2f4)],'col':_0xfe5e33[_0x2e2bca(0x26c)][_0x2e2bca(0x391)]-_0x4db79d[_0x2e2bca(0x391)]},_0x508edb={'unitId':_0x39720e,'subUnitId':_0x495c8b[_0x2e2bca(0x41a)],'sheetName':_0x2d8a48,'range':{'startRow':_0xe9bb4e[_0x2e2bca(0x2f4)]+_0x3a4f08['row'],'endRow':_0xe9bb4e['startRow']+_0x3a4f08[_0x2e2bca(0x42b)]+_0xfe5e33[_0x2e2bca(0x26c)]['endRow']-_0xfe5e33[_0x2e2bca(0x26c)][_0x2e2bca(0x2f4)],'startColumn':_0xe9bb4e[_0x2e2bca(0x391)]+_0x3a4f08[_0x2e2bca(0x2b8)],'endColumn':_0xe9bb4e[_0x2e2bca(0x391)]+_0x3a4f08[_0x2e2bca(0x2b8)]+_0xfe5e33['range'][_0x2e2bca(0x3bc)]-_0xfe5e33[_0x2e2bca(0x26c)][_0x2e2bca(0x391)]}};_0x248576[_0x2e2bca(0x496)](_0xc1ccc0,_0x508edb);const _0x13937e={..._0x422c18,'sourceRangeInfo':_0x508edb};this[_0x2e2bca(0x49b)](_0x39720e,_0x495c8b[_0x2e2bca(0x41a)],_0xc1ccc0,_0x13937e),this['broadcastCollectionChange']({'unitId':_0x39720e,'token':_0xc1ccc0,'type':_0x329095[_0x2e2bca(0x43f)],'oldSourceRangeInfo':_0xfe5e33,'dataRangeInfo':_0x508edb,'targetCellInfo':_0x422c18[_0x2e2bca(0x26b)]}),this[_0x2e2bca(0x254)]({'unitId':_0x39720e,'subUnitId':_0x495c8b[_0x2e2bca(0x41a)],'oldSubUnitId':_0x2bb50a,'pivotTableId':_0xc1ccc0,'pivotTableConfig':_0x13937e,'collectionConfig':_0x248576['toJSON']()});}}}}['broadcastCollectionChange'](_0x5107c0){const _0x518dae=_0x489679;this[_0x518dae(0x364)][_0x518dae(0x47e)](_0x5107c0);}[_0x489679(0x4af)](_0x5b52db){const _0x5b4080=_0x489679;let _0x8aa5a3=this[_0x5b4080(0x425)][_0x5b4080(0x2a3)](_0x5b52db);return _0x8aa5a3||(_0x8aa5a3=new _0x1d3388(this,this['_univerInstanceService']),this[_0x5b4080(0x425)]['set'](_0x5b52db,_0x8aa5a3)),_0x8aa5a3;}[_0x489679(0x461)](_0x149d50,_0x216f51){const _0x430b71=_0x489679;return this[_0x430b71(0x4af)](_0x149d50)[_0x430b71(0x202)][_0x216f51];}[_0x489679(0x347)](_0x49d7b4,_0x477b0b,_0xccf650){const _0x43b700=_0x489679;return this['getDataFieldManager'](_0x49d7b4)[_0x43b700(0x347)](_0x477b0b,_0xccf650);}[_0x489679(0x3a2)](_0x584139,_0x235c43){const _0x1b7810=_0x489679;let _0x1600c1=this[_0x1b7810(0x1ca)]['get'](_0x584139);_0x1600c1||(_0x1600c1=new Map(),this['_model']['set'](_0x584139,_0x1600c1));let _0x35f4dc=_0x1600c1[_0x1b7810(0x2a3)](_0x235c43);return _0x35f4dc||(_0x35f4dc=new Map(),_0x1600c1['set'](_0x235c43,_0x35f4dc)),_0x35f4dc;}[_0x489679(0x49b)](_0x49cc7b,_0x1cf15b,_0x34f805,_0x80d303){const _0x2c7af1=_0x489679;this[_0x2c7af1(0x3a2)](_0x49cc7b,_0x1cf15b)[_0x2c7af1(0x1d3)](_0x34f805,_0x80d303);}[_0x489679(0x2aa)](_0x2a2baf,_0x4e8345,_0x557711){const _0x32cd9c=_0x489679;var _0x21e669,_0x4720d6,_0x24acd2,_0x16df73;((_0x4720d6=(_0x21e669=this[_0x32cd9c(0x1ca)]['get'](_0x2a2baf))==null?void 0x0:_0x21e669[_0x32cd9c(0x2a3)](_0x4e8345))==null?void 0x0:_0x4720d6['get'](_0x557711))&&((_0x16df73=(_0x24acd2=this[_0x32cd9c(0x1ca)][_0x32cd9c(0x2a3)](_0x2a2baf))==null?void 0x0:_0x24acd2[_0x32cd9c(0x2a3)](_0x4e8345))==null||_0x16df73[_0x32cd9c(0x2f3)](_0x557711));}['_updatePivotTableInstanceCache'](_0x1a71a7,_0x499720){const _0x1c014b=_0x489679;this[_0x1c014b(0x2d6)]['set'](_0x1a71a7,_0x499720);}['_deletePivotTableInstanceCache'](_0xd4c9d9){this['_pivotTableInstanceCache']['delete'](_0xd4c9d9);}[_0x489679(0x2fc)](_0x39eb1c,_0x547dfd){const _0x3c4571=_0x489679;let _0xff0f7d=this[_0x3c4571(0x402)]['get'](_0x39eb1c);_0xff0f7d||(_0xff0f7d=new Map(),this[_0x3c4571(0x402)][_0x3c4571(0x1d3)](_0x39eb1c,_0xff0f7d));let _0x4a01a7=_0xff0f7d[_0x3c4571(0x2a3)](_0x547dfd);return _0x4a01a7||(_0x4a01a7=new Map(),_0xff0f7d['set'](_0x547dfd,_0x4a01a7)),_0x4a01a7;}[_0x489679(0x254)](_0x4af72b){const _0x387f4d=_0x489679,{unitId:_0x59ceb8,subUnitId:_0x576218,pivotTableId:_0xe1330f,pivotTableConfig:_0x15fb22,collectionConfig:_0x9bec71}=_0x4af72b,_0x4ad749={'unitId':_0x59ceb8,'subUnitId':_0x576218,'oldSubUnitId':_0x576218,'pivotTableId':_0xe1330f,'pivotTableConfig':_0x15fb22,'collectionConfig':_0x9bec71};this[_0x387f4d(0x4b5)][_0x387f4d(0x42c)](_0x21539e['id'],_0x4ad749,{'onlyLocal':!0x0});}[_0x489679(0x407)](_0xaedbbe,_0x2b8646,_0x53a01e,_0x2d018a,_0x3b6ec9,_0x49e9e0,_0x52fb13,_0xe6a26=!0x1){const _0x34194c=_0x489679;var _0x4d3e5f;this['_commandService'][_0x34194c(0x42c)](_0x51ccb6['id'],{'single':{'unitId':_0xaedbbe,'subUnitId':_0x2b8646,'type':_0x53a01e,'pivotTableId':_0x2d018a,'view':_0x3b6ec9,'pivotConfig':_0x49e9e0},'collectionConfig':{[_0xaedbbe]:_0x52fb13}},{'onlyLocal':!0x0});const _0x43e225=!!((_0x4d3e5f=this[_0x34194c(0x218)](_0x2d018a))!=null&&_0x4d3e5f[_0x34194c(0x3bf)]()),_0x37450a=this['getPivotTableConfig'](_0xaedbbe,_0x2b8646,_0x2d018a);_0x37450a&&this['updateViewData']({'view':_0x3b6ec9,'pivotTableId':_0x2d018a,'textInfo':this[_0x34194c(0x206)](),'isEmpty':_0x43e225,'targetCellInfo':_0x37450a[_0x34194c(0x26b)]},_0xe6a26);}[_0x489679(0x1f9)](_0x542017,_0x4b8802){const _0x4c252c=_0x489679,{targetCellInfo:_0x56d731,pivotTableId:_0x122f8a}=_0x542017,{unitId:_0x5db0fa,subUnitId:_0x12183f}=_0x56d731,_0x3fdb2a=this[_0x4c252c(0x2fc)](_0x5db0fa,_0x12183f),_0x5fc503=_0x3fdb2a[_0x4c252c(0x2a3)](_0x122f8a);let _0x11e126,_0x75411e;_0x5fc503&&(_0x11e126=_0x5fc503[_0x4c252c(0x2cd)],_0x75411e=_0x5fc503[_0x4c252c(0x398)]);const {rangesCache:_0x270c00,matrix:_0x341135}=_0xa01b2f(_0x542017);_0x3fdb2a[_0x4c252c(0x1d3)](_0x122f8a,{'rangeCache':_0x270c00,'matrix':_0x341135,'oldMatrix':_0x75411e,'oldRangeCache':_0x11e126}),_0x4b8802||this[_0x4c252c(0x2f1)]['next']({'unitId':_0x5db0fa,'subUnitId':_0x12183f,'pivotTableId':_0x122f8a});}[_0x489679(0x242)](_0x30aa40,_0x112ebd,_0x2d0e60,_0x2a116c,_0xd9a190){const _0x44b91f=_0x489679;this[_0x44b91f(0x49b)](_0x30aa40,_0x112ebd,_0x2d0e60,_0xd9a190),this[_0x44b91f(0x3fa)](_0x2d0e60,_0x2a116c);}[_0x489679(0x4bf)](_0x2bd234,_0x143ca9,_0x15f0da){const _0x409d19=_0x489679,_0x250bd2=this['getDataFieldManager'](_0x2bd234);_0x250bd2[_0x409d19(0x34d)](_0x15f0da)[_0x409d19(0x404)](_0x85595f=>{const _0x39f62d=_0x409d19;_0x250bd2[_0x39f62d(0x2b9)](_0x85595f);}),this[_0x409d19(0x238)](_0x2bd234,_0x15f0da),this[_0x409d19(0x2aa)](_0x2bd234,_0x143ca9,_0x15f0da),this['_deletePivotTableInstanceCache'](_0x15f0da);}[_0x489679(0x2a0)](_0xbd8e13,_0x3a98bb,_0x1470f5,_0x293e2a){this['_updateModelCache'](_0xbd8e13,_0x3a98bb,_0x1470f5,_0x293e2a);}[_0x489679(0x231)](_0x4e96a2,_0x309994,_0x6fd1f){const _0x24111d=_0x489679;var _0x258e4e,_0xce27fc;const _0x134421=(_0xce27fc=(_0x258e4e=this[_0x24111d(0x1ca)]['get'](_0x4e96a2))==null?void 0x0:_0x258e4e['get'](_0x309994))==null?void 0x0:_0xce27fc[_0x24111d(0x2a3)](_0x6fd1f);if(_0x134421)return _0x134421;}[_0x489679(0x220)](_0x429374,_0x3ce715,_0x4c5a49){const _0x3db4a3=_0x489679;var _0x53b116,_0x3d88b9;const _0x423ec0=(_0x3d88b9=(_0x53b116=this[_0x3db4a3(0x1ca)][_0x3db4a3(0x2a3)](_0x429374))==null?void 0x0:_0x53b116[_0x3db4a3(0x2a3)](_0x3ce715))==null?void 0x0:_0x3d88b9[_0x3db4a3(0x2a3)](_0x4c5a49);if(_0x423ec0)return _0x423ec0[_0x3db4a3(0x3f8)];}[_0x489679(0x218)](_0x4d4e35){const _0x53ea28=_0x489679;return this[_0x53ea28(0x2d6)][_0x53ea28(0x2a3)](_0x4d4e35);}['deleteUnitId'](_0x1d6bfd){const _0x5c05a4=_0x489679;this[_0x5c05a4(0x1ca)]['delete'](_0x1d6bfd);const _0x4836c7=this['_dataFieldManagerCollection'][_0x5c05a4(0x2a3)](_0x1d6bfd);_0x4836c7&&(_0x4836c7[_0x5c05a4(0x1f0)](),this[_0x5c05a4(0x425)][_0x5c05a4(0x2f3)](_0x1d6bfd)),this[_0x5c05a4(0x402)][_0x5c05a4(0x2f3)](_0x1d6bfd),this[_0x5c05a4(0x219)][_0x5c05a4(0x404)](_0x331fff=>{const _0x3e0765=_0x5c05a4;_0x331fff[_0x3e0765(0x380)](_0x1d6bfd);});}[_0x489679(0x443)](_0x28e59a,_0x34c922,_0xbe2cfb,_0x470ffe){const _0x18cf83=_0x489679;return this[_0x18cf83(0x4af)](_0xbe2cfb['unitId'])[_0x18cf83(0x443)](_0x28e59a,_0x34c922,_0xbe2cfb,_0x470ffe);}[_0x489679(0x2e6)](_0x330062){const _0x253eaf=_0x489679;return this[_0x253eaf(0x4af)](_0x330062[_0x253eaf(0x437)])[_0x253eaf(0x2e6)](_0x330062);}[_0x489679(0x24c)](_0x49797f,_0x4d3686,_0x389e75){const _0x540671=_0x489679;this[_0x540671(0x4af)](_0x389e75[_0x540671(0x437)])[_0x540671(0x24c)](_0x49797f,_0x4d3686,_0x389e75);}['removeDataField'](_0x4c8205,_0xe1d6ad){const _0x5a4c9e=_0x489679;this[_0x5a4c9e(0x4af)](_0x4c8205)['deleteDataField'](_0xe1d6ad);}[_0x489679(0x238)](_0x4f172b,_0x368e0c){const _0x399c10=_0x489679;this[_0x399c10(0x4af)](_0x4f172b)[_0x399c10(0x29f)](_0x368e0c);}[_0x489679(0x32c)](_0x1fc7f1,_0x7ade5f){const _0x19261d=_0x489679;var _0x5be01a;return(_0x5be01a=this[_0x19261d(0x1ca)][_0x19261d(0x2a3)](_0x1fc7f1))==null?void 0x0:_0x5be01a['get'](_0x7ade5f);}[_0x489679(0x233)](_0x85cbf9){const _0x37de36=_0x489679;for(const [_0x66b45c,_0x2459c5]of this['_model'][_0x37de36(0x36a)]())for(const [_0x511adb,_0x323032]of _0x2459c5[_0x37de36(0x36a)]())if(_0x323032[_0x37de36(0x445)](_0x85cbf9))return{'unitId':_0x66b45c,'subUnitId':_0x511adb};return null;}[_0x489679(0x4d4)](_0x330a29,_0x3a9289,_0x55cfcd,_0x143b07){const _0x45e33c=_0x489679,_0x546c21=this[_0x45e33c(0x2fc)](_0x330a29,_0x3a9289);_0x143b07?_0x546c21[_0x45e33c(0x1d3)](_0x55cfcd,_0x143b07):_0x546c21[_0x45e33c(0x2f3)](_0x55cfcd),this[_0x45e33c(0x2f1)][_0x45e33c(0x47e)]({'unitId':_0x330a29,'subUnitId':_0x3a9289,'pivotTableId':_0x55cfcd});}[_0x489679(0x1f0)](){super['dispose']();}[_0x489679(0x424)](_0x273577,_0x4339b6,_0x1c4afc){const _0x40bf8f=_0x489679;var _0x307e51,_0x5037e3;const _0x105f44=(_0x5037e3=(_0x307e51=this[_0x40bf8f(0x402)]['get'](_0x273577))==null?void 0x0:_0x307e51[_0x40bf8f(0x2a3)](_0x4339b6))==null?void 0x0:_0x5037e3[_0x40bf8f(0x2a3)](_0x1c4afc);return _0x105f44||null;}[_0x489679(0x2c8)](_0x1ae0fe){this['updateDirtyPivotTable'](_0x1ae0fe);}[_0x489679(0x354)](_0xae6fb6){const _0x15fb65=_0x489679,{token:_0x55a508,unitId:_0xbd4fdf,subUnitId:_0x49769d}=_0xae6fb6,_0x5dab75=_0xbd4fdf+'-'+_0x49769d+'-'+_0x55a508;this[_0x15fb65(0x2a9)][_0x15fb65(0x2a3)](_0x5dab75)&&clearTimeout(this[_0x15fb65(0x2a9)][_0x15fb65(0x2a3)](_0x5dab75));const _0x5d0472=setTimeout(()=>{const _0x30b7f0=_0x15fb65;this[_0x30b7f0(0x3ba)](_0xae6fb6),this[_0x30b7f0(0x2a9)][_0x30b7f0(0x2f3)](_0x5dab75);},_0x244eda);this[_0x15fb65(0x2a9)][_0x15fb65(0x1d3)](_0x5dab75,_0x5d0472);}[_0x489679(0x3ba)](_0x2ea47b){const _0x368e97=_0x489679,{unitId:_0x5312de,subUnitId:_0x4e4b54,token:_0x1d304d,type:_0x5c444c,pivotConfig:_0x373229}=_0x2ea47b,_0x58456c=this['getPivotTableInstance'](_0x1d304d),_0x1efbd6=_0x58456c==null?void 0x0:_0x58456c[_0x368e97(0x350)](),_0x468b67=_0x373229!=null?_0x373229:this['getPivotTableConfig'](_0x5312de,_0x4e4b54,_0x1d304d);_0x468b67&&(_0x468b67[_0x368e97(0x3bf)]=!!(_0x58456c!=null&&_0x58456c[_0x368e97(0x3bf)]())),(_0x1efbd6||_0x5c444c===_0xc924d8['Delete'])&&this['updateView'](_0x5312de,_0x4e4b54,_0x5c444c,_0x1d304d,_0x1efbd6,_0x468b67,this[_0x368e97(0x4af)](_0x5312de)[_0x368e97(0x485)]());}[_0x489679(0x485)](_0x15d3aa){const _0x110a84=_0x489679,_0x8e2c20={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x110a84(0x4af)](_0x15d3aa)&&(_0x8e2c20['dataFieldManagerConfig'][_0x15d3aa]=this[_0x110a84(0x4af)](_0x15d3aa)['toJSON']()),this[_0x110a84(0x1ca)][_0x110a84(0x2a3)](_0x15d3aa)){_0x8e2c20['pivotTableConfigs'][_0x15d3aa]={};const _0x66084=this[_0x110a84(0x1ca)]['get'](_0x15d3aa);_0x66084!=null&&_0x66084[_0x110a84(0x32b)]&&[..._0x66084[_0x110a84(0x48e)]()][_0x110a84(0x404)](_0x16f996=>{const _0x3e2538=_0x110a84,_0x44ff6e=_0x66084['get'](_0x16f996);_0x44ff6e!=null&&_0x44ff6e[_0x3e2538(0x32b)]&&(_0x8e2c20[_0x3e2538(0x33a)][_0x15d3aa][_0x16f996]={},[..._0x44ff6e[_0x3e2538(0x48e)]()][_0x3e2538(0x404)](_0x27f44d=>{const _0x4bd808=_0x44ff6e['get'](_0x27f44d);_0x4bd808&&(_0x8e2c20['pivotTableConfigs'][_0x15d3aa][_0x16f996][_0x27f44d]=_0x4bd808);}));});}return _0x8e2c20;}[_0x489679(0x492)](_0x56c179){const _0x5d0e13=_0x489679;var _0x4260f9;const {dataFieldManagerConfig:_0x352ed1,pivotTableConfigs:_0x18d1b4}=_0x56c179;_0x352ed1&&Object[_0x5d0e13(0x48e)](_0x352ed1)[_0x5d0e13(0x404)](_0xe303f0=>{const _0x539d7c=_0x5d0e13;this[_0x539d7c(0x4af)](_0xe303f0)[_0x539d7c(0x492)](_0x352ed1[_0xe303f0]);});const _0x2c9e00=[];if(_0x18d1b4){const _0x20f756=(_0x4260f9=this[_0x5d0e13(0x313)][_0x5d0e13(0x2a3)](_0x12d885[_0x5d0e13(0x244)])[_0x5d0e13(0x2a5)](_0x1abd15[_0x5d0e13(0x1dd)]))!=null?_0x4260f9:{},{ls:_0x16baa2,pbk:_0x41c173}=_0x20f756,_0x4f622f=_0x3fa75d(_0x183f2a,_0x16baa2,_0x41c173)[_0x5d0e13(0x301)];Object[_0x5d0e13(0x48e)](_0x18d1b4)['forEach'](_0x1097b5=>{const _0xc7aab4=_0x5d0e13;let _0x3138c2=0x0;const _0x4151cc=_0x18d1b4[_0x1097b5];Object[_0xc7aab4(0x48e)](_0x4151cc)[_0xc7aab4(0x404)](_0x16c830=>{const _0x366e74=_0xc7aab4,_0x63239f=_0x4151cc[_0x16c830];Object[_0x366e74(0x48e)](_0x63239f)[_0x366e74(0x404)](_0x23d07c=>{const _0x87c957=_0x366e74,_0x156256=_0x63239f[_0x23d07c];if(_0x156256){if(_0x3138c2>=_0x4f622f)return;_0x3138c2++;const _0x973918=this[_0x87c957(0x4af)](_0x1097b5),_0x5a16d5=_0x973918[_0x87c957(0x202)][_0x23d07c],_0x405387=_0x5a16d5['getFieldIds']();let _0x1acf7c=0x0;const _0x57dd41=[];for(const _0x8098d7 of _0x405387){const _0x48a8df=_0x5a16d5[_0x87c957(0x4ab)](_0x8098d7);if(_0x3b8531['isBaseGroupField'](_0x48a8df)){const _0xf7563a=_0x48a8df[_0x87c957(0x458)](),_0x2f2b00=_0x5a16d5[_0x87c957(0x4ab)](_0xf7563a);_0x2f2b00&&_0x57dd41[_0x87c957(0x396)]([_0x48a8df,_0x2f2b00]);continue;}_0x973918['refreshDataField'](_0x8098d7,_0x156256[_0x87c957(0x2cf)],_0x1acf7c),_0x1acf7c++;}_0x57dd41['forEach'](([_0x221689,_0x3ed36b])=>{const _0x33b739=_0x87c957;_0x221689[_0x33b739(0x29e)](_0x3ed36b);});const _0x29de76=new _0x3b8531['PivotTable'](_0x5a16d5);_0x29de76[_0x87c957(0x492)](_0x156256[_0x87c957(0x3f8)]),this[_0x87c957(0x242)](_0x1097b5,_0x16c830,_0x23d07c,_0x29de76,_0x156256);const _0x1e1070=_0x29de76[_0x87c957(0x350)]();_0x2c9e00[_0x87c957(0x396)]({'unitId':_0x1097b5,'subUnitId':_0x16c830,'pivotTableId':_0x23d07c,'view':_0x1e1070[_0x87c957(0x485)](),'pivotConfig':_0x156256,'type':_0xc924d8[_0x87c957(0x2a4)]});const _0x75cc34=!!_0x29de76['isEmpty'](),_0x46a8c3={'view':_0x1e1070,'pivotTableId':_0x23d07c,'textInfo':this[_0x87c957(0x206)](),'isEmpty':_0x75cc34,'targetCellInfo':_0x156256['targetCellInfo']};this[_0x87c957(0x1f9)](_0x46a8c3,!0x1);}});});});}_0x352ed1&&Object[_0x5d0e13(0x48e)](_0x352ed1)[_0x5d0e13(0x404)](_0x2292df=>{const _0x559ecd=_0x5d0e13,_0xccf89c=this[_0x559ecd(0x4af)](_0x2292df);this[_0x559ecd(0x47a)][_0x559ecd(0x47e)](_0xccf89c[_0x559ecd(0x202)]);}),this[_0x5d0e13(0x4b5)]['executeCommand'](_0x51ccb6['id'],{'batch':_0x2c9e00,'collectionConfig':_0x352ed1},{'onlyLocal':!0x0});}[_0x489679(0x3c2)](){const _0x455b5e=_0x489679;this['disposeWithMe'](this[_0x455b5e(0x1c7)][_0x455b5e(0x2b5)]({'toJson':_0x5115b5=>JSON[_0x455b5e(0x46c)](this[_0x455b5e(0x485)](_0x5115b5)),'parseJson':_0x2e4924=>{const _0x373a13=_0x455b5e;if(!_0x2e4924)return{};try{return JSON[_0x373a13(0x342)](_0x2e4924);}catch{return{};}},'businesses':[_0x12d885[_0x455b5e(0x31f)][_0x455b5e(0x1db)]],'pluginName':_0x3acf44,'onLoad':(_0x5643dc,_0x5776e3)=>{this['fromJSON'](_0x5776e3);},'onUnLoad':_0x1bfeb9=>{const _0x359ac4=_0x455b5e;this[_0x359ac4(0x380)](_0x1bfeb9);}}));}},_0x2a78c5[_0x489679(0x21b)]=_0x3234da([_0x1ce7a2(0x0,_0x12d885[_0x489679(0x324)](_0x12d885[_0x489679(0x256)])),_0x1ce7a2(0x1,_0x12d885[_0x489679(0x27d)]),_0x1ce7a2(0x2,_0x12d885[_0x489679(0x324)](_0x12d885[_0x489679(0x1e2)])),_0x1ce7a2(0x3,_0x12d885[_0x489679(0x300)]),_0x1ce7a2(0x4,_0x12d885['Inject'](_0x12d885['IResourceManagerService']))],_0x2a78c5[_0x489679(0x21b)]);const _0xb4c76b={0x0:{0x0:{'v':_0x489679(0x4d8),'s':_0x5b4ef5}},0x2:{0x1:{'v':'','s':_0x5b4ef5},0x2:{'v':'','s':_0x5b4ef5},0x3:{'v':_0x489679(0x3d3),'s':_0x5b4ef5},0x4:{'v':'','s':_0x5b4ef5},0x5:{'v':'','s':_0x5b4ef5}},0x3:{0x0:{'v':'','s':_0x5b4ef5},0x1:{'v':'','s':_0x459439},0x2:{'v':'','s':_0x459439},0x3:{'v':'','s':_0x459439},0x4:{'v':'','s':_0x459439},0x5:{'v':'','s':_0x459439}},0x4:{0x0:{'v':'','s':_0x5b4ef5},0x1:{'v':'','s':_0x459439},0x2:{'v':'','s':_0x459439},0x3:{'v':'','s':_0x459439},0x4:{'v':'','s':_0x459439},0x5:{'v':'','s':_0x459439}},0x5:{0x0:{'v':'','s':_0x5b4ef5},0x1:{'v':'','s':_0x459439},0x2:{'v':'','s':_0x459439},0x3:{'v':'','s':_0x459439},0x4:{'v':'','s':_0x459439},0x5:{'v':'','s':_0x459439}},0x6:{0x0:{'v':'','s':_0x5b4ef5},0x1:{'v':'','s':_0x459439},0x2:{'v':'','s':_0x459439},0x3:{'v':'','s':_0x459439},0x4:{'v':'','s':_0x459439},0x5:{'v':'','s':_0x459439}},0x7:{0x0:{'v':'','s':_0x5b4ef5},0x1:{'v':'','s':_0x459439},0x2:{'v':'','s':_0x459439},0x3:{'v':'','s':_0x459439},0x4:{'v':'','s':_0x459439},0x5:{'v':'','s':_0x459439}},0x8:{0x0:{'v':_0x489679(0x42b),'s':_0x5b4ef5},0x1:{'v':'','s':_0x459439},0x2:{'v':'','s':_0x459439},0x3:{'v':_0x489679(0x4ba),'s':_0x459439},0x4:{'v':'','s':_0x459439},0x5:{'v':'','s':_0x459439}},0x9:{0x0:{'v':'','s':_0x5b4ef5},0x1:{'v':'','s':_0x459439},0x2:{'v':'','s':_0x459439},0x3:{'v':'','s':_0x459439},0x4:{'v':'','s':_0x459439},0x5:{'v':'','s':_0x459439}},0xa:{0x0:{'v':'','s':_0x5b4ef5},0x1:{'v':'','s':_0x459439},0x2:{'v':'','s':_0x459439},0x3:{'v':'','s':_0x459439},0x4:{'v':'','s':_0x459439},0x5:{'v':'','s':_0x459439}},0xb:{0x0:{'v':'','s':_0x5b4ef5},0x1:{'v':'','s':_0x459439},0x2:{'v':'','s':_0x459439},0x3:{'v':'','s':_0x459439},0x4:{'v':'','s':_0x459439},0x5:{'v':'','s':_0x459439}},0xc:{0x0:{'v':'','s':_0x5b4ef5},0x1:{'v':'','s':_0x459439},0x2:{'v':'','s':_0x459439},0x3:{'v':'','s':_0x459439},0x4:{'v':'','s':_0x459439},0x5:{'v':'','s':_0x459439}},0xd:{0x0:{'v':'','s':_0x5b4ef5},0x1:{'v':'','s':_0x459439},0x2:{'v':'','s':_0x459439},0x3:{'v':'','s':_0x459439},0x4:{'v':'','s':_0x459439},0x5:{'v':'','s':_0x459439}}},_0x22f5f8={'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':[]},_0x5dad44=(_0x5a6fcb,_0x3236bc)=>{const _0x4f49e8=_0x489679,_0x14ac36=new _0x12d885[(_0x4f49e8(0x3d9))](),_0x37f3e7=new _0x12d885[(_0x4f49e8(0x3d9))](_0xb4c76b),{row:_0xae03da,col:_0x351bf4}=_0x3236bc;_0x37f3e7[_0x4f49e8(0x339)]((_0x3ff04c,_0x37d85e,_0x52b584)=>{const _0x1737ba=_0x4f49e8;let _0x1d3306='';_0x52b584['v']===_0x1737ba(0x4d8)?_0x1d3306=_0x5a6fcb[_0x1737ba(0x4d8)]:_0x52b584['v']===_0x1737ba(0x42b)?_0x1d3306=_0x5a6fcb[_0x1737ba(0x42b)]:_0x52b584['v']===_0x1737ba(0x3d3)?_0x1d3306=_0x5a6fcb[_0x1737ba(0x3d3)]:_0x52b584['v']===_0x1737ba(0x4ba)&&(_0x1d3306=_0x5a6fcb[_0x1737ba(0x4ba)]),_0x14ac36['setValue'](_0x3ff04c+_0xae03da,_0x37d85e+_0x351bf4,{..._0x52b584,'v':_0x1d3306});});const _0x47d2ae=_0x12d885[_0x4f49e8(0x24e)][_0x4f49e8(0x318)](_0x22f5f8);return Object[_0x4f49e8(0x48e)](_0x22f5f8)[_0x4f49e8(0x404)](_0x4d1125=>{const _0x1864af=_0x4f49e8;_0x47d2ae[_0x4d1125]=_0x22f5f8[_0x4d1125][_0x1864af(0x4c0)](_0x362ac3=>({..._0x362ac3,'startRow':_0x362ac3[_0x1864af(0x2f4)]+_0xae03da,'endRow':_0x362ac3['endRow']+_0xae03da,'startColumn':_0x362ac3['startColumn']+_0x351bf4,'endColumn':_0x362ac3[_0x1864af(0x3bc)]+_0x351bf4}));}),{'matrixCache':_0x14ac36,'rangesCache':_0x47d2ae};};function _0x282554(_0x56767c,_0x4e3f34){const _0x4c6a21=_0x489679;let _0x35f867='';const _0x5533e3=this[_0x4c6a21(0x206)]();switch(_0x4e3f34){case _0x3b8531[_0x4c6a21(0x428)][_0x4c6a21(0x280)]:_0x35f867=_0x5533e3[_0x4c6a21(0x27a)]+_0x56767c;break;case _0x3b8531['PivotSubtotalTypeEnum'][_0x4c6a21(0x301)]:_0x35f867=_0x5533e3['sheets-pivot.countName']+_0x56767c;break;case _0x3b8531[_0x4c6a21(0x428)]['countNums']:_0x35f867=_0x5533e3['sheets-pivot.countNumsName']+_0x56767c;break;case _0x3b8531[_0x4c6a21(0x428)][_0x4c6a21(0x3fe)]:_0x35f867=_0x5533e3[_0x4c6a21(0x2c1)]+_0x56767c;break;case _0x3b8531['PivotSubtotalTypeEnum'][_0x4c6a21(0x417)]:_0x35f867=_0x5533e3['sheets-pivot.minName']+_0x56767c;break;case _0x3b8531[_0x4c6a21(0x428)]['product']:_0x35f867=_0x5533e3[_0x4c6a21(0x210)]+_0x56767c;break;case _0x3b8531[_0x4c6a21(0x428)][_0x4c6a21(0x2e5)]:_0x35f867=_0x5533e3['sheets-pivot.stdDevName']+_0x56767c;break;case _0x3b8531[_0x4c6a21(0x428)][_0x4c6a21(0x207)]:_0x35f867=_0x5533e3['sheets-pivot.stdDevpName']+_0x56767c;break;case _0x3b8531[_0x4c6a21(0x428)][_0x4c6a21(0x23b)]:_0x35f867=_0x5533e3[_0x4c6a21(0x4cf)]+_0x56767c;break;case _0x3b8531[_0x4c6a21(0x428)][_0x4c6a21(0x4ac)]:_0x35f867=_0x5533e3[_0x4c6a21(0x39e)]+_0x56767c;break;case _0x3b8531[_0x4c6a21(0x428)]['varp']:_0x35f867=_0x5533e3['sheets-pivot.varpName']+_0x56767c;break;default:_0x35f867=_0x56767c;break;}return _0x35f867;}function _0xaed900(_0x533a94,_0xcf878e,_0x3d22d0,_0x10d2e9,_0x20d6aa){const _0x54fbcb=_0x489679;var _0x4e6528,_0x905b9d,_0x22eae7,_0x5b0d8f,_0x1ffdfd;const _0x246968=_0x12d885['cellToRange'](_0x533a94,_0xcf878e),{rangesInfo:_0x16f09e,areaInfo:_0x4b59d3,headerMap:_0x1cea4d}=_0x20d6aa;if(!_0x16f09e||!_0x4b59d3||!_0x1cea4d)return;const _0x11397d=Object['keys'](_0x16f09e)[_0x54fbcb(0x3b9)](_0x176873=>_0x16f09e[_0x176873][_0x54fbcb(0x20b)](_0x5c73a8=>_0x12d885['Rectangle'][_0x54fbcb(0x44a)](_0x5c73a8,_0x246968))),_0x733f0e=_0x4b59d3;let _0x2e7f9d,_0x5d6e92,_0x125877;if(_0x11397d===_0x54fbcb(0x345))_0x2e7f9d=(_0x4e6528=_0x733f0e==null?void 0x0:_0x733f0e[_0x54fbcb(0x298)])==null?void 0x0:_0x4e6528[_0x533a94],_0x5d6e92=(_0x905b9d=_0x1cea4d==null?void 0x0:_0x1cea4d[_0x54fbcb(0x3e5)])==null?void 0x0:_0x905b9d[_0xcf878e],_0x125877=_0x5d6e92==null?void 0x0:_0x5d6e92['tableFieldId'];else{if(_0x11397d===_0x54fbcb(0x305))_0x2e7f9d=(_0x22eae7=_0x733f0e==null?void 0x0:_0x733f0e[_0x54fbcb(0x1f8)])==null?void 0x0:_0x22eae7[_0xcf878e],_0x5d6e92=(_0x5b0d8f=_0x1cea4d[_0x54fbcb(0x2e0)])==null?void 0x0:_0x5b0d8f[_0x533a94+0x1+_0xcf878e-_0x16f09e[_0x54fbcb(0x305)][0x0][_0x54fbcb(0x391)]],_0x125877=_0x5d6e92==null?void 0x0:_0x5d6e92['tableFieldId'];else{if(_0x11397d===_0x54fbcb(0x4a3))_0x2e7f9d=(_0x1ffdfd=_0x733f0e==null?void 0x0:_0x733f0e[_0x54fbcb(0x45b)])==null?void 0x0:_0x1ffdfd[_0xcf878e],_0x125877=_0x2e7f9d==null?void 0x0:_0x2e7f9d['tableFieldId'];else{if(_0x11397d==='pageRanges'){const _0x117509=_0x3d22d0==null?void 0x0:_0x3d22d0['fi'];_0x117509!==void 0x0&&(_0x125877=_0x10d2e9[_0x54fbcb(0x4b8)](_0x117509));}}}}return{'filterId':_0x125877,'info':_0x2e7f9d,'data':_0x3d22d0,'headerInfo':_0x5d6e92};}function _0x22ae99(_0x3b40a1,_0xe5683c,_0x5ea05c){const _0x480216=_0x489679,_0x3040cf=_0x3b40a1[_0x480216(0x3a0)],_0xc1ce95=_0x3040cf[_0x480216(0x3f9)](),_0x29c9d7=new Set();_0x3b40a1[_0x480216(0x4cc)](_0xbe38c0=>{const _0x543a7b=_0x480216;_0x29c9d7[_0x543a7b(0x441)](_0xbe38c0[_0x543a7b(0x3dd)]);});const _0x131614=_0xc1ce95[_0x480216(0x4c0)](_0x12f5cd=>{const _0x3e4a2d=_0x480216,_0x6f35fb=_0x3040cf['getFieldById'](_0x12f5cd);return{'checked':_0x29c9d7[_0x3e4a2d(0x445)](_0x12f5cd),'dataFieldId':_0x6f35fb['id'],'id':_0x6f35fb['id'],'name':_0x3040cf[_0x3e4a2d(0x394)](_0x6f35fb['id']),'type':_0x6f35fb['getFieldDataType'](),'pivotTableId':_0xe5683c};}),_0x3b76b3=[];_0x3b40a1['iterateFieldByArea'](_0x3b8531[_0x480216(0x4c3)]['Row'],_0x1b8922=>{const _0x18847e=_0x480216;_0x3b76b3[_0x18847e(0x396)]({'dataFieldId':_0x1b8922[_0x18847e(0x3dd)],'tableFieldId':_0x1b8922['getId'](),'displayName':_0x1b8922['getDisplayName']()});});const _0x3eab12=[];_0x3b40a1[_0x480216(0x23d)](_0x3b8531[_0x480216(0x4c3)]['Column'],_0x1b8a9c=>{const _0x1625c9=_0x480216;_0x3eab12[_0x1625c9(0x396)]({'dataFieldId':_0x1b8a9c[_0x1625c9(0x3dd)],'tableFieldId':_0x1b8a9c[_0x1625c9(0x2b2)](),'displayName':_0x1b8a9c[_0x1625c9(0x394)]()});});const _0x3711cf=[];if(_0x3b40a1[_0x480216(0x23d)](_0x3b8531[_0x480216(0x4c3)][_0x480216(0x45a)],_0x28d755=>{const _0x1871ee=_0x480216;_0x3711cf[_0x1871ee(0x396)]({'dataFieldId':_0x28d755[_0x1871ee(0x3dd)],'tableFieldId':_0x28d755['getId'](),'displayName':_0x28d755[_0x1871ee(0x394)](),'format':_0x28d755['getFormat'](),'subTotalType':_0x28d755[_0x1871ee(0x42e)]()});}),_0x3711cf[_0x480216(0x4d6)]>0x1){const _0x853d56=_0x3b40a1[_0x480216(0x378)]();(_0x3b40a1[_0x480216(0x413)]()?_0x3eab12:_0x3b76b3)[_0x480216(0x30c)](_0x853d56,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x480216(0x2b4)});}const _0x12728e=[];_0x3b40a1['iterateFieldByArea'](_0x3b8531['PivotTableFiledAreaEnum'][_0x480216(0x4a4)],_0x43bbb8=>{const _0x293b5c=_0x480216;_0x12728e[_0x293b5c(0x396)]({'dataFieldId':_0x43bbb8[_0x293b5c(0x3dd)],'tableFieldId':_0x43bbb8[_0x293b5c(0x2b2)](),'displayName':_0x43bbb8[_0x293b5c(0x394)]()});});const _0x48bf0f=_0x5ea05c['sourceRangeInfo'];return{'sourceList':_0x131614,'sourceRange':_0x48bf0f,'rowFields':_0x3b76b3,'columnFields':_0x3eab12,'valueFields':_0x3711cf,'filterFields':_0x12728e,'positionInfo':_0x5ea05c[_0x480216(0x26b)]};}function _0x259cc6(_0x3ee18d,_0x413cbe,_0x373093='',_0x4e51a1={}){const _0x507394=_0x489679,_0x21391d=_0x3ee18d['get'](_0x12d885[_0x507394(0x3f3)]);for(const _0x1e55d5 in _0x413cbe)if(Object['prototype'][_0x507394(0x1f3)][_0x507394(0x491)](_0x413cbe,_0x1e55d5)){const _0x2a5258=_0x373093?_0x373093+'.'+_0x1e55d5:_0x1e55d5;typeof _0x413cbe[_0x1e55d5]==_0x507394(0x4bd)&&_0x413cbe[_0x1e55d5]!==null&&!Array[_0x507394(0x490)](_0x413cbe[_0x1e55d5])?_0x259cc6(_0x3ee18d,_0x413cbe[_0x1e55d5],_0x2a5258,_0x4e51a1):_0x4e51a1[_0x2a5258]=_0x21391d['t'](_0x2a5258);}return _0x4e51a1;}const _0x448a97=_0x3d20c4=>{const _0x466a6d=_0x489679;if(!_0x3d20c4)return[];const {rowRanges:_0x16762f,colRanges:_0xccc663,cornerRanges:_0x5cab71,dataRanges:_0x1b6254,pageRanges:_0x3caa27}=_0x3d20c4,_0x57a335=[..._0xccc663,..._0x16762f,..._0x1b6254,..._0x5cab71]['filter'](_0x3ebfc6=>_0x3ebfc6[_0x466a6d(0x2f4)]>=0x0&&_0x3ebfc6[_0x466a6d(0x391)]>=0x0&&_0x3ebfc6[_0x466a6d(0x483)]>=0x0&&_0x3ebfc6['endColumn']>=0x0);let _0x33d173=Number[_0x466a6d(0x21e)],_0x2114f7=Number['MIN_SAFE_INTEGER'],_0x1dbe55=Number[_0x466a6d(0x21e)],_0x451c32=Number['MIN_SAFE_INTEGER'];for(let _0x5a04f2=0x0;_0x5a04f2<_0x57a335[_0x466a6d(0x4d6)];_0x5a04f2++)_0x33d173=Math[_0x466a6d(0x417)](_0x33d173,_0x57a335[_0x5a04f2][_0x466a6d(0x2f4)]),_0x2114f7=Math[_0x466a6d(0x3fe)](_0x2114f7,_0x57a335[_0x5a04f2][_0x466a6d(0x483)]),_0x1dbe55=Math['min'](_0x1dbe55,_0x57a335[_0x5a04f2]['startColumn']),_0x451c32=Math[_0x466a6d(0x3fe)](_0x451c32,_0x57a335[_0x5a04f2][_0x466a6d(0x3bc)]);return[..._0x3caa27,{'startRow':_0x33d173,'endRow':_0x2114f7,'startColumn':_0x1dbe55,'endColumn':_0x451c32}];};function _0x42534f(_0xb1fb12,_0x2f498e){const _0x16c7f4=_0x489679,_0x21aba9=_0x2f498e[_0x16c7f4(0x44b)]['drillDown'],{pivotTableId:_0x3b5dea,unitId:_0x4d1709,subUnitId:_0x5a8c74}=_0x2f498e;if(!_0x21aba9)return;const _0x48f5df=_0xb1fb12[_0x16c7f4(0x2a3)](_0x2a78c5[_0x16c7f4(0x21b)]),_0x2db621=_0x48f5df[_0x16c7f4(0x218)](_0x3b5dea),_0x4100a7=_0x48f5df[_0x16c7f4(0x231)](_0x4d1709,_0x5a8c74,_0x3b5dea);if(!_0x2db621||!_0x4100a7)return;const _0x4866c0=_0x2db621['getIndexesByPathStr'](_0x21aba9[_0x16c7f4(0x223)]);if(!(_0x4866c0!=null&&_0x4866c0[_0x16c7f4(0x4d6)]))return;const _0x3e77e3=_0x4100a7['sourceRangeInfo'],{unitId:_0x8c6c4,subUnitId:_0x2589d0,range:_0x36c818}=_0x3e77e3;let _0x2ea7b3=0x0;const _0x38eeba=_0x2db621[_0x16c7f4(0x3a0)]['getFieldIds']()[_0x16c7f4(0x1d4)]((_0x40ac74,_0x5d3bde)=>{const _0x4c33b1=_0x16c7f4;var _0x509d2e;const _0x52d984=(_0x509d2e=_0x2db621[_0x4c33b1(0x361)](_0x5d3bde))==null?void 0x0:_0x509d2e[_0x4c33b1(0x39b)]();return _0x52d984&&(_0x40ac74[String(_0x2ea7b3)]=_0x52d984),_0x2ea7b3++,_0x40ac74;},{});return{'indexes':_0x4866c0,'range':_0x36c818,'sourceUnitId':_0x8c6c4,'sourceSubUnitId':_0x2589d0,'formatMap':_0x38eeba};}function _0x21f2aa(_0x37f034,_0x17e8d3){const _0x72ed6e=_0x489679;if(!_0x37f034||!_0x17e8d3)return!0x0;const _0x2fa012=_0x1abd15[_0x72ed6e(0x29b)](_0x6ae533,_0x558590),_0x17d9ce=new Function(_0x72ed6e(0x32e)+_0x2fa012)()(_0x37f034,_0x17e8d3)['message'],_0x42e906=_0x1abd15[_0x72ed6e(0x21d)](_0x17d9ce,'sf',_0x2c773d);return!((_0x17d9ce==null?void 0x0:_0x17d9ce['rt'])===_0x1abd15[_0x72ed6e(0x20c)][_0x72ed6e(0x4dc)]&&!_0x42e906);}function _0x3fa75d(_0x4b18cb,_0x2e5fe8,_0x2f091b){const _0x34bffa=_0x489679,_0x12baab={'count':_0x4b18cb,'timeValid':!0x1};if(!_0x2e5fe8||!_0x2f091b)return _0x12baab;const _0xbb63c0=_0x1abd15[_0x34bffa(0x29b)](_0x6ae533,_0x558590),_0x65ad1b=new Function(_0x34bffa(0x32e)+_0xbb63c0)()(_0x2e5fe8,_0x2f091b);if(_0x65ad1b!=null&&_0x65ad1b[_0x34bffa(0x26d)]){const _0x32ce6f=_0x65ad1b['message'],_0x59043f=_0x1abd15[_0x34bffa(0x21d)](_0x32ce6f,'sf',_0x2c773d);return{'count':_0x1abd15[_0x34bffa(0x477)](_0x32ce6f,_0x59043f,_0x34bffa(0x20d),_0x4b18cb,_0x4b18cb,0x0),'timeValid':_0x59043f};}return _0x12baab;}function _0x5729a1(_0x4d4b70,_0x113bfc,_0x38df81,_0x442a91){const _0x1d2c1f=_0x489679,_0x4f8e33={'subUnitId':_0x38df81,'unitId':_0x113bfc,'cellValue':_0x28e907[_0x1d2c1f(0x4a6)](_0x442a91)},_0x20f9ef=_0x28e907[_0x1d2c1f(0x3b6)](_0x4d4b70,_0x4f8e33);let _0x14639f=!0x1;return new _0x12d885[(_0x1d2c1f(0x3d9))](_0x20f9ef[_0x1d2c1f(0x1f7)])[_0x1d2c1f(0x339)]((_0x20b5fb,_0x168819,_0x5c7b66)=>{if(!_0x14639f&&_0x5c7b66&&(_0x5c7b66['custom']||_0x5c7b66['f']||_0x5c7b66['p']||_0x5c7b66['s']||_0x5c7b66['si']||_0x5c7b66['t']||_0x5c7b66['v']))return _0x14639f=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x28e907['SetRangeValuesMutation']['id'],'params':_0x20f9ef},'setRangeValueRedoMutation':{'id':_0x28e907[_0x1d2c1f(0x451)]['id'],'params':_0x4f8e33},'shouldClear':_0x14639f};}function _0x3577ec(_0x1da3e9){const {row:_0x3de424,col:_0x283c1c}=_0x1da3e9,_0x22b97d={'startRow':_0x3de424,'endRow':_0x3de424,'startColumn':_0x283c1c,'endColumn':_0x283c1c},_0x520469={'startRow':_0x3de424+0x2,'endRow':_0x3de424+0xe,'startColumn':_0x283c1c,'endColumn':_0x283c1c+0x6};return[_0x22b97d,_0x520469];}function _0x32c62f(_0x3ea6c7,_0x4a3d32,_0x41f680){const _0x2aec64=_0x489679,{cornerView:_0x14ff0e,rowView:_0x161f9b,colView:_0x595e28,pageView:_0xd7addf}=_0x3ea6c7,{row:_0x2fcb7c,col:_0x46589}=_0x4a3d32;if(_0x41f680)return{'rowCount':_0x2ee24c+_0x2fcb7c,'colCount':_0x4e72ce+_0x46589};const _0x40df8f=_0xd7addf[_0x2aec64(0x49d)]>-0x1?_0xd7addf['lastRow']+0x1:0x0,_0x59a7bc=_0xd7addf[_0x2aec64(0x3ce)]>-0x1?_0xd7addf['lastCol']:0x0,_0x2012fd=_0x2fcb7c+_0x40df8f+(_0x40df8f?0x1:0x0)+_0x14ff0e[_0x2aec64(0x2e3)]+_0x161f9b['rowCount'],_0x244232=_0x46589+_0x59a7bc,_0x22327b=_0x46589+_0x14ff0e[_0x2aec64(0x215)]+_0x595e28['colCount'],_0x275e29=Math['max'](_0x244232,_0x22327b);return{'rowCount':_0x2012fd,'colCount':_0x275e29};}function _0x1d3f54(_0x1182f9,_0x2aa6f5,_0x29e759,_0x599818){const _0x21ca04=_0x489679,{row:_0xdbc4cc,col:_0x21b619,unitId:_0x1cbe6b,subUnitId:_0x42e0c8}=_0x29e759,_0xdb3554=_0x32c62f(_0x2aa6f5,{'row':_0xdbc4cc,'col':_0x21b619},_0x599818),_0xd5d986=_0x1182f9[_0x21ca04(0x2a3)](_0x12d885[_0x21ca04(0x27d)]),_0x283219=_0x28e907[_0x21ca04(0x235)](_0xd5d986,{'unitId':_0x1cbe6b,'subUnitId':_0x42e0c8}),_0x195971=[],_0x54eba3=[];if(!_0x283219)return{'undos':_0x54eba3,'redos':_0x195971};const {worksheet:_0x59cd2b}=_0x283219,_0x18aed4=_0x59cd2b['getRowCount'](),_0x19e22d=_0x59cd2b['getColumnCount']();return _0x18aed4<_0xdb3554[_0x21ca04(0x2e3)]&&(_0x195971[_0x21ca04(0x396)]({'id':_0x28e907[_0x21ca04(0x42a)]['id'],'params':{'unitId':_0x1cbe6b,'subUnitId':_0x42e0c8,'range':{'startRow':_0x18aed4,'endRow':_0xdb3554[_0x21ca04(0x2e3)]-0x1,'startColumn':0x0,'endColumn':_0x19e22d-0x1}}}),_0x54eba3['push']({'id':_0x28e907[_0x21ca04(0x1d0)]['id'],'params':{'unitId':_0x1cbe6b,'subUnitId':_0x42e0c8,'range':{'startRow':_0x18aed4,'endRow':_0xdb3554[_0x21ca04(0x2e3)]-0x1,'startColumn':0x0,'endColumn':_0x19e22d-0x1}}})),_0x19e22d<_0xdb3554[_0x21ca04(0x215)]&&(_0x195971[_0x21ca04(0x396)]({'id':_0x28e907[_0x21ca04(0x2c7)]['id'],'params':{'unitId':_0x1cbe6b,'subUnitId':_0x42e0c8,'range':{'startRow':0x0,'endRow':_0x18aed4-0x1,'startColumn':_0x19e22d,'endColumn':_0xdb3554[_0x21ca04(0x215)]-0x1}}}),_0x54eba3[_0x21ca04(0x396)]({'id':_0x28e907[_0x21ca04(0x27b)]['id'],'params':{'unitId':_0x1cbe6b,'subUnitId':_0x42e0c8,'range':{'startRow':0x0,'endRow':_0x18aed4-0x1,'startColumn':_0x19e22d,'endColumn':_0xdb3554['colCount']-0x1}}})),{'undos':_0x54eba3,'redos':_0x195971};}function _0x323975(_0x155ea8){let _0x50e7e6=0x0;for(let _0x90f04b=0x0;_0x90f04b<_0x155ea8['length'];_0x90f04b++){const _0x637f3c=_0x155ea8['charCodeAt'](_0x90f04b);_0x637f3c>=0x4e00&&_0x637f3c<=0x9fff||_0x637f3c>=0x3000&&_0x637f3c<=0x303f||_0x637f3c>=0xff00&&_0x637f3c<=0xffef?_0x50e7e6+=0x2:_0x50e7e6+=0x1;}return _0x50e7e6;}function _0x5e7c72(_0x5a1084,_0x762079,_0x4f8329,_0x2eefaf){const _0x128eef=_0x489679;var _0x2782dd,_0x63499c,_0x462ccb,_0x404c7b;const {rowCount:_0x37bd81,colCount:_0x1e4546,headerMap:_0x30bd45}=_0x5a1084,_0x28b15f=0x64,_0x250f39=Math[_0x128eef(0x417)](_0x37bd81,_0x28b15f),_0x2e7fb9=Math['min'](_0x1e4546,_0x28b15f);let _0x49884f='',_0x1d4e27=0x0;for(let _0x4ee941=0x0;_0x4ee941<_0x250f39;_0x4ee941++)for(let _0x58c466=0x0;_0x58c466<_0x2e7fb9;_0x58c466++){const _0xae8db7={...(_0x63499c=(_0x2782dd=_0x5a1084[_0x128eef(0x465)])==null?void 0x0:_0x2782dd[_0x4ee941])==null?void 0x0:_0x63499c[_0x58c466]},_0x1541f5=(_0x462ccb=_0x30bd45[_0x4ee941])==null?void 0x0:_0x462ccb['tableFieldId'],_0x469b21=_0x2eefaf[_0x1541f5];let _0x516377=_0x5a1084[_0x128eef(0x452)](_0x4ee941,_0x58c466);if(_0xae8db7){const _0x41cc1a=_0x4f8329?_0x58c466===0x0&&((_0x404c7b=_0x5a1084['getHeaderMapItem'](_0x58c466+0x1))==null?void 0x0:_0x404c7b['isValue']):!0x1;_0x516377=_0x4f34cd(_0xae8db7,_0x41cc1a,_0x469b21,_0x762079);}if(_0x516377!==void 0x0){const _0x198c07=_0x323975(String(_0x516377));_0x1d4e27<_0x198c07&&(_0x49884f=String(_0x516377),_0x1d4e27=_0x198c07);}}return _0x49884f;}function _0x1a66bd(_0x10bfad){const _0xa3dba2=_0x489679,{rowCount:_0x24f027,colCount:_0x4000c9}=_0x10bfad;let _0x337e4c='',_0x518f3b=0x0;for(let _0x31eac1=_0x24f027-0x1;_0x31eac1>0x0&&_0x31eac1>_0x24f027-0x3;_0x31eac1--)for(let _0x4a2449=0x0;_0x4a2449<_0x4000c9;_0x4a2449++){const _0x48e20e=_0x10bfad['getValue'](_0x31eac1,_0x4a2449);if(_0x48e20e!==void 0x0){const _0xcbb90c=String(_0x48e20e)[_0xa3dba2(0x4d6)];_0x518f3b<_0xcbb90c&&(_0x337e4c=String(_0x48e20e),_0x518f3b=_0xcbb90c);}}return _0x337e4c;}function _0x1b9a72(_0x16a2c6){const _0x72c3e9=_0x489679,{rowCount:_0x321a38,colCount:_0x40748d}=_0x16a2c6;let _0x4f2e64='',_0x497a9d=0x0;for(let _0x58546e=0x0;_0x58546e<_0x321a38;_0x58546e++)for(let _0x11d5b6=0x0;_0x11d5b6<_0x40748d;_0x11d5b6++){const _0x440452=_0x16a2c6[_0x72c3e9(0x452)](_0x58546e,_0x11d5b6);if(_0x440452!==void 0x0){const _0x103dec=String(_0x440452)[_0x72c3e9(0x4d6)];_0x497a9d<_0x103dec&&(_0x4f2e64=String(_0x440452),_0x497a9d=_0x103dec);}}return _0x4f2e64;}function _0x444f1a(_0x4c6111,_0x2ac690){const _0x1a62e9=_0x489679,{rowFields:_0x11f2b8,columnFields:_0x537b9c,valueFields:_0x1cc621,filterFields:_0x49ca8e,dimension:_0x5e3e05,measure:_0x48f4c8}=_0x2ac690;for(const _0x33be55 of _0x11f2b8){const _0x3f7f01=_0x5e3e05[_0x33be55];_0x3f7f01&&_0x4c6111[_0x1a62e9(0x361)](_0x3f7f01[_0x1a62e9(0x3dd)])&&(_0x4c6111['addFieldWithSourceId'](_0x3f7f01[_0x1a62e9(0x3dd)],_0x3b8531['PivotTableFiledAreaEnum'][_0x1a62e9(0x497)],void 0x0,_0x33be55),_0x3f7f01[_0x1a62e9(0x45f)]&&_0x4c6111['renameField'](_0x3f7f01['id'],_0x3f7f01['displayName']),_0x3f7f01[_0x1a62e9(0x1da)]&&_0x4c6111[_0x1a62e9(0x4de)](_0x3f7f01['id'],_0x3f7f01[_0x1a62e9(0x1da)]),_0x3f7f01[_0x1a62e9(0x21c)]&&_0x4c6111[_0x1a62e9(0x48b)](_0x3f7f01['id'],_0x3f7f01[_0x1a62e9(0x21c)]));}for(const _0x473a27 of _0x537b9c){const _0x413be4=_0x5e3e05[_0x473a27];_0x413be4&&_0x4c6111[_0x1a62e9(0x361)](_0x413be4[_0x1a62e9(0x3dd)])&&(_0x4c6111['addFieldWithSourceId'](_0x413be4[_0x1a62e9(0x3dd)],_0x3b8531[_0x1a62e9(0x4c3)][_0x1a62e9(0x326)],void 0x0,_0x473a27),_0x413be4[_0x1a62e9(0x1da)]&&_0x4c6111['setSortInfo'](_0x413be4['id'],_0x413be4['sortInfo']),_0x413be4[_0x1a62e9(0x21c)]&&_0x4c6111[_0x1a62e9(0x48b)](_0x413be4['id'],_0x413be4[_0x1a62e9(0x21c)]),_0x413be4['displayName']&&_0x4c6111[_0x1a62e9(0x28e)](_0x413be4['id'],_0x413be4[_0x1a62e9(0x45f)]));}for(const _0x336df6 of _0x49ca8e){const _0x408b63=_0x5e3e05[_0x336df6];_0x408b63&&_0x4c6111['getDataFieldByDataFieldId'](_0x408b63[_0x1a62e9(0x3dd)])&&(_0x4c6111[_0x1a62e9(0x4d3)](_0x408b63['dataFieldId'],_0x3b8531[_0x1a62e9(0x4c3)][_0x1a62e9(0x4a4)],void 0x0,_0x336df6),_0x408b63[_0x1a62e9(0x1da)]&&_0x4c6111[_0x1a62e9(0x4de)](_0x408b63['id'],_0x408b63['sortInfo']),_0x408b63['filterInfo']&&_0x4c6111[_0x1a62e9(0x48b)](_0x408b63['id'],_0x408b63[_0x1a62e9(0x21c)]),_0x408b63[_0x1a62e9(0x45f)]&&_0x4c6111[_0x1a62e9(0x28e)](_0x408b63['id'],_0x408b63[_0x1a62e9(0x45f)]));}for(const _0xf08e00 of _0x1cc621){const _0x35ad41=_0x48f4c8[_0xf08e00];_0x35ad41&&_0x4c6111[_0x1a62e9(0x361)](_0x35ad41[_0x1a62e9(0x3dd)])&&(_0x4c6111[_0x1a62e9(0x4d3)](_0x35ad41[_0x1a62e9(0x3dd)],_0x3b8531[_0x1a62e9(0x4c3)][_0x1a62e9(0x45a)],void 0x0,_0xf08e00),_0x35ad41[_0x1a62e9(0x2cb)]!==void 0x0&&_0x4c6111[_0x1a62e9(0x2cc)](_0xf08e00,_0x35ad41[_0x1a62e9(0x2cb)]),_0x35ad41[_0x1a62e9(0x221)]&&_0x4c6111['setFieldFormat'](_0xf08e00,_0x35ad41[_0x1a62e9(0x221)]),_0x35ad41[_0x1a62e9(0x45f)]&&_0x4c6111[_0x1a62e9(0x28e)](_0x35ad41['id'],_0x35ad41[_0x1a62e9(0x45f)]));}const _0x393faa=_0x2ac690[_0x1a62e9(0x297)];for(const {fieldId:_0x7ac807,filterInfo:_0x4c156d}of _0x393faa)_0x4c6111[_0x1a62e9(0x4a0)](_0x7ac807,_0x4c156d);}function _0x4f25a5(_0x4ffb6b,_0x490d57){const _0xf7172a=_0x489679,_0x2721b8=[];_0x490d57===_0x3b8531['PivotTableFiledAreaEnum'][_0xf7172a(0x497)]&&_0x4ffb6b[_0xf7172a(0x23d)](_0x3b8531[_0xf7172a(0x4c3)]['Row'],_0xb6d60=>{const _0x3a5fdd=_0xf7172a;_0x2721b8[_0x3a5fdd(0x396)](_0xb6d60[_0x3a5fdd(0x2b2)]());}),_0x490d57===_0x3b8531[_0xf7172a(0x4c3)][_0xf7172a(0x326)]&&_0x4ffb6b['iterateFieldByArea'](_0x3b8531['PivotTableFiledAreaEnum'][_0xf7172a(0x326)],_0x565af=>{const _0x4decd7=_0xf7172a;_0x2721b8[_0x4decd7(0x396)](_0x565af[_0x4decd7(0x2b2)]());}),_0x490d57===_0x3b8531['PivotTableFiledAreaEnum'][_0xf7172a(0x4a4)]&&_0x4ffb6b[_0xf7172a(0x23d)](_0x3b8531['PivotTableFiledAreaEnum'][_0xf7172a(0x4a4)],_0x1c29f3=>{const _0x3e5278=_0xf7172a;_0x2721b8[_0x3e5278(0x396)](_0x1c29f3[_0x3e5278(0x2b2)]());}),_0x490d57===_0x3b8531[_0xf7172a(0x4c3)][_0xf7172a(0x45a)]&&_0x4ffb6b[_0xf7172a(0x23d)](_0x3b8531[_0xf7172a(0x4c3)]['Value'],_0x4d5e99=>{const _0x5f2729=_0xf7172a;_0x2721b8[_0x5f2729(0x396)](_0x4d5e99[_0x5f2729(0x2b2)]());}),_0x490d57===void 0x0&&_0x4ffb6b['iterateField'](_0xeb7f15=>{const _0x1cd34f=_0xf7172a;_0x2721b8[_0x1cd34f(0x396)](_0xeb7f15[_0x1cd34f(0x2b2)]());});const _0xb1129=_0x2721b8[_0xf7172a(0x4d6)];for(let _0x1e1bf6=_0xb1129-0x1;_0x1e1bf6>=0x0;_0x1e1bf6--)_0x4ffb6b[_0xf7172a(0x4e2)](_0x2721b8[_0x1e1bf6]);const _0x1e8545=_0x4ffb6b['getValueFilterInfos']();for(const _0x29c360 in _0x1e8545)_0x4ffb6b['removeValueFilterInfo'](_0x29c360);}function _0x695cfe(_0x38085e,_0x45b49c){const _0x58c7b1=_0x489679,_0xe9ab77=new Date(_0x3b8531[_0x58c7b1(0x3dc)](_0x45b49c)),_0x33147b=new Date(_0x3b8531['excelDateToUnixMilliseconds'](_0x38085e)),_0x412281=_0xe9ab77[_0x58c7b1(0x487)](),_0x4ec833=_0x33147b[_0x58c7b1(0x487)](),_0x5acc0d=_0xe9ab77['getMonth'](),_0x17610a=_0x33147b[_0x58c7b1(0x227)](),_0x8ed972=_0xe9ab77[_0x58c7b1(0x322)](),_0x38465f=_0x33147b[_0x58c7b1(0x322)](),_0x499f3f=_0x412281===_0x4ec833,_0x2274c8=_0x499f3f&&_0x5acc0d===_0x17610a;return _0x499f3f&&_0x2274c8&&!(_0x2274c8&&_0x8ed972===_0x38465f)?_0x3b8531[_0x58c7b1(0x1e8)][_0x58c7b1(0x1ff)]:_0x499f3f&&!_0x2274c8?_0x3b8531['PivotDateGroupFieldDateTypeEnum'][_0x58c7b1(0x3ee)]:_0x3b8531[_0x58c7b1(0x1e8)][_0x58c7b1(0x2ab)];}function _0x1e87fe(_0x28c6b8,_0x25f91e){const _0xf6f8ca=_0x489679,_0x610974=_0x28c6b8['get'](_0x2a78c5[_0xf6f8ca(0x21b)])[_0xf6f8ca(0x206)]();let _0xd4b22c='';switch(_0x25f91e){case _0x3b8531[_0xf6f8ca(0x1e8)][_0xf6f8ca(0x1ff)]:_0xd4b22c=_0x610974[_0xf6f8ca(0x3fc)];break;case _0x3b8531[_0xf6f8ca(0x1e8)][_0xf6f8ca(0x3ee)]:_0xd4b22c=_0x610974[_0xf6f8ca(0x4b9)];break;case _0x3b8531[_0xf6f8ca(0x1e8)][_0xf6f8ca(0x2ab)]:_0xd4b22c=_0x610974[_0xf6f8ca(0x2df)];break;case _0x3b8531[_0xf6f8ca(0x1e8)][_0xf6f8ca(0x279)]:_0xd4b22c=_0x610974[_0xf6f8ca(0x1e6)];break;case _0x3b8531[_0xf6f8ca(0x1e8)][_0xf6f8ca(0x1ef)]:_0xd4b22c=_0x610974[_0xf6f8ca(0x474)];break;case _0x3b8531[_0xf6f8ca(0x1e8)][_0xf6f8ca(0x2f8)]:_0xd4b22c=_0x610974[_0xf6f8ca(0x282)];break;case _0x3b8531[_0xf6f8ca(0x1e8)][_0xf6f8ca(0x2c4)]:_0xd4b22c=_0x610974[_0xf6f8ca(0x283)];break;case _0x3b8531[_0xf6f8ca(0x1e8)][_0xf6f8ca(0x276)]:_0xd4b22c=_0x610974[_0xf6f8ca(0x45c)];break;case _0x3b8531[_0xf6f8ca(0x1e8)]['Minute']:_0xd4b22c=_0x610974[_0xf6f8ca(0x480)];break;case _0x3b8531[_0xf6f8ca(0x1e8)][_0xf6f8ca(0x1f1)]:_0xd4b22c=_0x610974[_0xf6f8ca(0x336)];break;case _0x3b8531[_0xf6f8ca(0x1e8)][_0xf6f8ca(0x258)]:_0xd4b22c=_0x610974['sheets-pivot.dateGroup.yearQuarter'];break;default:_0xd4b22c='';break;}return _0xd4b22c;}const _0x1ca355=_0x489679(0x37c),_0x970b83={};var _0x446224=Object['getOwnPropertyDescriptor'],_0x5b4252=(_0x479f75,_0x2ad175,_0x12e18b,_0xd3f68f)=>{const _0x33ff56=_0x489679;for(var _0x21776a=_0xd3f68f>0x1?void 0x0:_0xd3f68f?_0x446224(_0x2ad175,_0x12e18b):_0x2ad175,_0x5b4ced=_0x479f75[_0x33ff56(0x4d6)]-0x1,_0x5d5ff5;_0x5b4ced>=0x0;_0x5b4ced--)(_0x5d5ff5=_0x479f75[_0x5b4ced])&&(_0x21776a=_0x5d5ff5(_0x21776a)||_0x21776a);return _0x21776a;},_0x390311=(_0x2cd429,_0x39caee)=>(_0x36d97f,_0x4cb2e0)=>_0x39caee(_0x36d97f,_0x4cb2e0,_0x2cd429);_0x2a78c5['SheetsPivotTableConfigModel']=class extends _0x12d885[_0x489679(0x2f9)]{constructor(_0x2cdc74,_0x34501f,_0x38db24,_0x3c613c,_0x3965b1){const _0x27744e=_0x489679;super(),_0x474ffa(this,'_model',new Map()),_0x474ffa(this,_0x27744e(0x46b),new Map()),_0x474ffa(this,_0x27744e(0x24a),new Map()),_0x474ffa(this,_0x27744e(0x45e),new Map()),_0x474ffa(this,'_configVersion$',new _0xa1e6e9[(_0x27744e(0x2c9))]()),_0x474ffa(this,'_pivotInitCompleted$',new _0xa1e6e9[(_0x27744e(0x2c9))]()),_0x474ffa(this,_0x27744e(0x344),this[_0x27744e(0x4c9)][_0x27744e(0x348)]()),_0x474ffa(this,_0x27744e(0x246),new _0xa1e6e9[(_0x27744e(0x2c9))]()),_0x474ffa(this,_0x27744e(0x4c2),this['_pivotConfigChange$'][_0x27744e(0x348)]()),_0x474ffa(this,_0x27744e(0x4b1),{}),_0x474ffa(this,_0x27744e(0x371),this[_0x27744e(0x40b)][_0x27744e(0x348)]()),(this[_0x27744e(0x313)]=_0x2cdc74,this['_commandService']=_0x34501f,this[_0x27744e(0x362)]=_0x38db24,this[_0x27744e(0x1c7)]=_0x3c613c,this['_configService']=_0x3965b1,this[_0x27744e(0x3be)](),this['_initUnitDisposed']());const _0x2e6e8a=this[_0x27744e(0x373)][_0x27744e(0x2a5)](_0x1ca355);(_0x2e6e8a==null?void 0x0:_0x2e6e8a[_0x27744e(0x26f)])===!0x0&&this[_0x27744e(0x3c2)]();}[_0x489679(0x3b8)](){const _0x4a280b=_0x489679;this[_0x4a280b(0x27c)](this[_0x4a280b(0x362)]['getTypeOfUnitDisposed$'](_0x12d885[_0x4a280b(0x31f)]['UNIVER_SHEET'])[_0x4a280b(0x260)](_0x2ed2cb=>{const _0x208cb5=_0x4a280b;this[_0x208cb5(0x380)](_0x2ed2cb[_0x208cb5(0x303)]());}));}[_0x489679(0x3c0)](){const _0x302433=_0x489679;this[_0x302433(0x4c9)][_0x302433(0x47e)](!0x0);}[_0x489679(0x3be)](){const _0x1bdc21=_0x489679,_0x44c666=_0x259cc6(this[_0x1bdc21(0x313)],_0x15a93e,'',{});this[_0x1bdc21(0x4b1)]=_0x44c666,this[_0x1bdc21(0x4b5)][_0x1bdc21(0x42c)](_0x7a4a18['id'],{'textInfo':_0x44c666},{'onlyLocal':!0x0});}[_0x489679(0x206)](){return this['_textInfo'];}[_0x489679(0x299)](_0x5be7fc,_0x3330fa,_0x4250ba,_0x31fa4e,_0x20db95){const _0x168ba5=_0x489679;this[_0x168ba5(0x3cf)](_0x5be7fc,_0x3330fa,_0x4250ba,_0x31fa4e),this[_0x168ba5(0x31d)](_0x5be7fc,_0x3330fa,_0x4250ba,_0x20db95);}[_0x489679(0x231)](_0x37b91e,_0x227e38,_0x226aeb){const _0x21536a=_0x489679;var _0x18ac48;const _0x39f44a=(_0x18ac48=this[_0x21536a(0x1ca)][_0x21536a(0x2a3)](_0x37b91e))==null?void 0x0:_0x18ac48['get'](_0x227e38);if(_0x39f44a)return _0x39f44a[_0x21536a(0x2a3)](_0x226aeb);}[_0x489679(0x257)](_0x22b4c9,_0x3705d8){const _0x2e9cd7=_0x489679,_0xff2a42=this[_0x2e9cd7(0x1ca)][_0x2e9cd7(0x2a3)](_0x22b4c9);if(_0xff2a42){for(const [_0xa3e95f,_0x126f34]of _0xff2a42[_0x2e9cd7(0x36a)]())for(const [_0x3ed8f9,_0x18f7b7]of _0x126f34[_0x2e9cd7(0x36a)]())if(_0x3ed8f9===_0x3705d8)return _0x18f7b7['targetCellInfo'];}}[_0x489679(0x233)](_0x272ce0,_0x291ff8,_0x2f7903){const _0x6027a9=_0x489679,_0x5f0cac=this[_0x6027a9(0x231)](_0x272ce0,_0x291ff8,_0x2f7903);return _0x5f0cac==null?void 0x0:_0x5f0cac[_0x6027a9(0x26b)];}[_0x489679(0x32c)](_0x3a4afd,_0x420f74){const _0x2fbd85=_0x489679;var _0x281e5a;return(_0x281e5a=this['_model'][_0x2fbd85(0x2a3)](_0x3a4afd))==null?void 0x0:_0x281e5a[_0x2fbd85(0x2a3)](_0x420f74);}[_0x489679(0x41c)](_0xbe75a2,_0xaffbea,_0x180c4b,_0xe2d8f2){const _0x321feb=_0x489679,_0x4f6bbd=this[_0x321feb(0x3a2)](_0xbe75a2,_0xaffbea);_0xe2d8f2?_0x4f6bbd[_0x321feb(0x1d3)](_0x180c4b,_0xe2d8f2):_0x4f6bbd[_0x321feb(0x2f3)](_0x180c4b),this[_0x321feb(0x246)][_0x321feb(0x47e)]({'unitId':_0xbe75a2,'subUnitId':_0xaffbea,'pivotTableId':_0x180c4b,'pivotTableConfig':_0xe2d8f2});}['getCollection'](_0x4afe12,_0x158a94){const _0x3c92fa=_0x489679;var _0x111b3d;return(_0x111b3d=this[_0x3c92fa(0x46b)][_0x3c92fa(0x2a3)](_0x4afe12))==null?void 0x0:_0x111b3d['collections'][_0x158a94];}[_0x489679(0x30e)](_0x3feeaf,_0x5ed388){const _0x4d4fcd=_0x489679;this['_collectionConfigModel'][_0x4d4fcd(0x1d3)](_0x3feeaf,_0x5ed388),this[_0x4d4fcd(0x40b)][_0x4d4fcd(0x47e)](Math['random']());}[_0x489679(0x3a2)](_0x472113,_0x2dd727){const _0x451469=_0x489679;let _0x136afe=this[_0x451469(0x1ca)]['get'](_0x472113);_0x136afe||(_0x136afe=new Map(),this[_0x451469(0x1ca)][_0x451469(0x1d3)](_0x472113,_0x136afe));let _0x2d2760=_0x136afe['get'](_0x2dd727);return _0x2d2760||(_0x2d2760=new Map(),_0x136afe[_0x451469(0x1d3)](_0x2dd727,_0x2d2760)),_0x2d2760;}[_0x489679(0x29d)](_0xab8da7,_0x3870e0){const _0x22b219=_0x489679;let _0x369528=this[_0x22b219(0x24a)][_0x22b219(0x2a3)](_0xab8da7);_0x369528||(_0x369528=new Map(),this[_0x22b219(0x24a)][_0x22b219(0x1d3)](_0xab8da7,_0x369528));let _0x29d752=_0x369528[_0x22b219(0x2a3)](_0x3870e0);return _0x29d752||(_0x29d752=new Map(),_0x369528['set'](_0x3870e0,_0x29d752)),_0x29d752;}[_0x489679(0x2bf)](_0x275384,_0x12bb0b){const _0x35e38f=_0x489679;let _0x19a086=this['_pivotTableMatrixInfo'][_0x35e38f(0x2a3)](_0x275384);_0x19a086||(_0x19a086=new Map(),this[_0x35e38f(0x45e)][_0x35e38f(0x1d3)](_0x275384,_0x19a086));let _0x28ac92=_0x19a086['get'](_0x12bb0b);return _0x28ac92||(_0x28ac92=new Map(),_0x19a086[_0x35e38f(0x1d3)](_0x12bb0b,_0x28ac92)),_0x28ac92;}[_0x489679(0x31d)](_0x4b358e,_0x37ed55,_0x412c1e,_0x4ad4d7){const _0x59a32b=_0x489679;var _0x9f6eda;const _0x37e8ba=this[_0x59a32b(0x29d)](_0x4b358e,_0x37ed55),_0x2616c6=(_0x9f6eda=_0x37e8ba[_0x59a32b(0x2a3)](_0x412c1e))==null?void 0x0:_0x9f6eda[_0x59a32b(0x2d1)];_0x37e8ba[_0x59a32b(0x1d3)](_0x412c1e,{'oldRangeInfo':_0x2616c6,'rangeInfo':_0x4ad4d7});}[_0x489679(0x3cf)](_0x17dfd2,_0x4b1142,_0x1e63f9,_0xb1153a){const _0x5592be=_0x489679;var _0x568d1b;const _0x245725=this[_0x5592be(0x2bf)](_0x17dfd2,_0x4b1142),_0x2d71fb=(_0x568d1b=_0x245725[_0x5592be(0x2a3)](_0x1e63f9))==null?void 0x0:_0x568d1b[_0x5592be(0x3a9)];_0x245725[_0x5592be(0x1d3)](_0x1e63f9,{'oldMatrix':_0x2d71fb,'matrix':_0xb1153a});}['getPivotTableRangeInfo'](_0x575424,_0x48f3bc,_0x588caa){const _0x3da2ae=_0x489679;var _0x547fa3,_0x4abc37;return(_0x4abc37=(_0x547fa3=this[_0x3da2ae(0x24a)]['get'](_0x575424))==null?void 0x0:_0x547fa3[_0x3da2ae(0x2a3)](_0x48f3bc))==null?void 0x0:_0x4abc37[_0x3da2ae(0x2a3)](_0x588caa);}[_0x489679(0x1e0)](_0x8eca3e,_0x56e4cd,_0x193044){const _0x1c2d81=_0x489679;var _0x1b44e5,_0xad9591;return(_0xad9591=(_0x1b44e5=this[_0x1c2d81(0x45e)]['get'](_0x8eca3e))==null?void 0x0:_0x1b44e5['get'](_0x56e4cd))==null?void 0x0:_0xad9591['get'](_0x193044);}['deleteUnitId'](_0x146bfb){const _0x194580=_0x489679;this[_0x194580(0x1ca)]['delete'](_0x146bfb),this[_0x194580(0x46b)]['delete'](_0x146bfb);}[_0x489679(0x3c7)](_0x4744e3){const _0xe8f61a=_0x489679,_0x5bc453={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0xe8f61a(0x46b)][_0xe8f61a(0x2a3)](_0x4744e3)&&(_0x5bc453[_0xe8f61a(0x212)][_0x4744e3]=this['_collectionConfigModel']['get'](_0x4744e3)),this[_0xe8f61a(0x1ca)][_0xe8f61a(0x2a3)](_0x4744e3)){_0x5bc453[_0xe8f61a(0x33a)][_0x4744e3]={};const _0x51b80a=this[_0xe8f61a(0x1ca)][_0xe8f61a(0x2a3)](_0x4744e3);_0x51b80a!=null&&_0x51b80a[_0xe8f61a(0x32b)]&&[..._0x51b80a['keys']()][_0xe8f61a(0x404)](_0x1af049=>{const _0x228608=_0xe8f61a,_0x152e0f=_0x51b80a[_0x228608(0x2a3)](_0x1af049);_0x152e0f!=null&&_0x152e0f[_0x228608(0x32b)]&&(_0x5bc453[_0x228608(0x33a)][_0x4744e3][_0x1af049]={},[..._0x152e0f[_0x228608(0x48e)]()][_0x228608(0x404)](_0x42e468=>{const _0x1abc7a=_0x228608,_0x37e724=_0x152e0f[_0x1abc7a(0x2a3)](_0x42e468);_0x37e724&&(_0x5bc453[_0x1abc7a(0x33a)][_0x4744e3][_0x1af049][_0x42e468]=_0x37e724);}));});}return _0x5bc453;}[_0x489679(0x3c2)](){const _0x29b04b=_0x489679;this[_0x29b04b(0x27c)](this['_resourceManagerService'][_0x29b04b(0x2b5)]({'toJson':_0x838de4=>JSON['stringify'](this['_toJSON'](_0x838de4)),'parseJson':_0x24a9ce=>({}),'businesses':[_0x12d885['UniverInstanceType'][_0x29b04b(0x1db)]],'pluginName':_0x3acf44,'onLoad':(_0x4636e7,_0x28b681)=>{},'onUnLoad':_0x29b18a=>{const _0x40567c=_0x29b04b;this[_0x40567c(0x380)](_0x29b18a);}}));}},_0x2a78c5['SheetsPivotTableConfigModel']=_0x5b4252([_0x390311(0x0,_0x12d885['Inject'](_0x12d885[_0x489679(0x256)])),_0x390311(0x1,_0x12d885['Inject'](_0x12d885[_0x489679(0x300)])),_0x390311(0x2,_0x12d885[_0x489679(0x324)](_0x12d885[_0x489679(0x27d)])),_0x390311(0x3,_0x12d885[_0x489679(0x324)](_0x12d885['IResourceManagerService'])),_0x390311(0x4,_0x12d885[_0x489679(0x324)](_0x12d885[_0x489679(0x244)]))],_0x2a78c5[_0x489679(0x1ce)]);var _0x4d1a54=Object['getOwnPropertyDescriptor'],_0x29739b=(_0x161d7e,_0x2c8645,_0x324f53,_0x4cb555)=>{const _0x48edab=_0x489679;for(var _0xb14a22=_0x4cb555>0x1?void 0x0:_0x4cb555?_0x4d1a54(_0x2c8645,_0x324f53):_0x2c8645,_0x294361=_0x161d7e[_0x48edab(0x4d6)]-0x1,_0x1b8035;_0x294361>=0x0;_0x294361--)(_0x1b8035=_0x161d7e[_0x294361])&&(_0xb14a22=_0x1b8035(_0xb14a22)||_0xb14a22);return _0xb14a22;},_0x5d99b5=(_0x217000,_0x2ede26)=>(_0x5e7606,_0x47668a)=>_0x2ede26(_0x5e7606,_0x47668a,_0x217000);_0x2a78c5[_0x489679(0x44c)]=class extends _0x12d885[_0x489679(0x2f9)]{constructor(_0x46f557,_0x257781,_0x4acb2f,_0xdf929e,_0x3a0842){const _0x5c5205=_0x489679;super(),_0x474ffa(this,_0x5c5205(0x1c9),new Map()),_0x474ffa(this,_0x5c5205(0x264),new Map()),_0x474ffa(this,_0x5c5205(0x38f),new _0xa1e6e9[(_0x5c5205(0x2c9))]()),_0x474ffa(this,_0x5c5205(0x397),this['_markDirty$'][_0x5c5205(0x348)]()),_0x474ffa(this,_0x5c5205(0x3c4),new _0xa1e6e9[(_0x5c5205(0x2c9))]()),_0x474ffa(this,_0x5c5205(0x205),this['_viewUpdate$']['asObservable']()),_0x474ffa(this,'_textInfo'),(this[_0x5c5205(0x2b3)]=_0x46f557,this[_0x5c5205(0x313)]=_0x257781,this[_0x5c5205(0x3fd)]=_0x4acb2f,this[_0x5c5205(0x362)]=_0xdf929e,this[_0x5c5205(0x4b0)]=_0x3a0842,this[_0x5c5205(0x3be)](),this[_0x5c5205(0x3b8)]());}[_0x489679(0x3b8)](){const _0x1a8ad6=_0x489679;this[_0x1a8ad6(0x27c)](this[_0x1a8ad6(0x362)][_0x1a8ad6(0x3f1)](_0x12d885[_0x1a8ad6(0x31f)]['UNIVER_SHEET'])['subscribe'](_0x301669=>{const _0x587a5d=_0x1a8ad6;this[_0x587a5d(0x380)](_0x301669['getUnitId']());}));}[_0x489679(0x3be)](){const _0x1592e1=_0x489679;this[_0x1592e1(0x4b1)]=_0x259cc6(this[_0x1592e1(0x313)],_0x15a93e,'',{});}['updateRenderCache'](_0x34234e){const _0x2d8381=_0x489679,{view:_0x302671,unitId:_0xdea894,subUnitId:_0x24f241,pivotTableId:_0x560b08,type:_0x5bf3f5}=_0x34234e,_0x58828f=this[_0x2d8381(0x3fd)][_0x2d8381(0x231)](_0xdea894,_0x24f241,_0x560b08);if(!_0x302671||!_0x58828f||_0x5bf3f5===_0xc924d8[_0x2d8381(0x320)])return;const {pageView:_0x68c730,cornerView:_0x58c637,rowView:_0x38dd02,colView:_0x8d4e1,dataView:_0x43f7b6}=_0x302671,_0x13ca1f=_0x58828f['targetCellInfo'],_0x16d156=_0x58828f[_0x2d8381(0x3bf)],_0x545889=this[_0x2d8381(0x2fb)](_0xdea894,_0x24f241),_0x52f4a6=this[_0x2d8381(0x359)](_0xdea894,_0x24f241,_0x560b08);if(_0x16d156)return this[_0x2d8381(0x4c8)](_0x34234e,_0x545889,_0x13ca1f,_0x52f4a6);{const _0xc8a167=_0x3b9ebf(_0x13ca1f,_0x68c730,!0x0),_0x54b886=_0x68c730[_0x2d8381(0x49d)]>=0x0?_0x68c730[_0x2d8381(0x49d)]+0x1:0x0,_0x18ee07=_0x58c637[_0x2d8381(0x31c)](),_0x3dd6d0=_0x58c637[_0x2d8381(0x304)](),_0x6ad98e=_0xc8a167[_0x2d8381(0x4d6)]>0x0?_0x18be36:0x0,_0x109e71=_0x3b9ebf({'row':_0x13ca1f[_0x2d8381(0x42b)]+_0x54b886+_0x6ad98e,'col':_0x13ca1f[_0x2d8381(0x2b8)]},_0x58c637,!0x1,!0x1),_0x4baab4=_0x3b9ebf({'row':_0x13ca1f['row']+_0x54b886+_0x6ad98e+_0x18ee07,'col':_0x13ca1f[_0x2d8381(0x2b8)]},_0x38dd02,!0x1,!0x0),_0x2fede7=_0x3b9ebf({'row':_0x13ca1f[_0x2d8381(0x42b)]+_0x54b886+_0x6ad98e,'col':_0x13ca1f[_0x2d8381(0x2b8)]+_0x3dd6d0},_0x8d4e1,!0x1,!0x0),_0x3cded4=_0x3b9ebf({'row':_0x13ca1f[_0x2d8381(0x42b)]+_0x54b886+_0x6ad98e+_0x18ee07,'col':_0x13ca1f[_0x2d8381(0x2b8)]+_0x3dd6d0},_0x43f7b6,!0x1,!0x1);_0x52f4a6[_0x2d8381(0x470)]={'rowRanges':_0x4baab4,'colRanges':_0x2fede7,'cornerRanges':_0x109e71,'dataRanges':_0x3cded4,'pageRanges':_0xc8a167};const _0x394c78=_0x49c413(this[_0x2d8381(0x313)],_0x302671,_0x58828f,this[_0x2d8381(0x4b1)]),{valueMatrix:_0x376c47,rowInfo:_0x47554b,colInfo:_0x2da1ec,cornerInfo:_0x1c648d,rowHeaderMap:_0x514368,colHeaderMap:_0x301133}=_0x394c78;return _0x52f4a6[_0x2d8381(0x230)]={'rowInfo':_0x47554b,'colInfo':_0x2da1ec,'cornerInfo':_0x1c648d},_0x52f4a6[_0x2d8381(0x374)]={'rowHeaderMap':_0x514368,'colHeaderMap':_0x301133},_0x376c47[_0x2d8381(0x404)]((_0x2f8e10,_0x531eba)=>{const _0x488f8a=_0x2d8381;Object[_0x488f8a(0x48e)](_0x531eba)[_0x488f8a(0x404)](_0x4d26e4=>{const _0x1a1ecb=_0x488f8a,_0x39196b=+_0x4d26e4,_0x24a14a=_0x376c47[_0x1a1ecb(0x452)](_0x2f8e10,_0x39196b);_0x545889[_0x1a1ecb(0x29a)](_0x2f8e10,_0x39196b,_0x24a14a);});}),this[_0x2d8381(0x3c4)][_0x2d8381(0x47e)]({'unitId':_0xdea894,'subUnitId':_0x24f241,'valueMatrix':_0x545889,'rangesCache':_0x52f4a6[_0x2d8381(0x470)],'pivotTableId':_0x560b08,'type':_0x34234e[_0x2d8381(0x38c)]}),this['_sheetsPivotTableConfigModel'][_0x2d8381(0x299)](_0xdea894,_0x24f241,_0x560b08,_0x545889,_0x52f4a6[_0x2d8381(0x470)]),this[_0x2d8381(0x4b0)][_0x2d8381(0x310)](_0xdea894,_0x24f241,_0x263daf,this[_0x2d8381(0x40a)](_0x52f4a6['rangesInfo'],_0x560b08)),{'rangeCache':_0x52f4a6[_0x2d8381(0x470)],'matrix':_0x545889};}}[_0x489679(0x4c8)](_0x3740f1,_0x282262,_0x4ff7ae,_0xeae7f2){const _0x3140cf=_0x489679,_0x399a3a=this['_localeService']['t'],{unitId:_0x4fc9c5,subUnitId:_0x35ff09,pivotTableId:_0x500767}=_0x3740f1,_0x5b3236={'filter':_0x399a3a('sheets-pivot.emptyPivot.filter'),'row':_0x399a3a(_0x3140cf(0x265)),'column':_0x399a3a('sheets-pivot.emptyPivot.column'),'values':_0x399a3a(_0x3140cf(0x3b1))},{matrixCache:_0x417513,rangesCache:_0x1bcd6c}=_0x5dad44(_0x5b3236,_0x4ff7ae);return _0x417513['forValue']((_0x481fdc,_0x4361ec,_0x9c3f67)=>{_0x282262['setValue'](_0x481fdc,_0x4361ec,_0x9c3f67);}),_0xeae7f2[_0x3140cf(0x470)]=_0x1bcd6c,this[_0x3140cf(0x3c4)]['next']({'unitId':_0x4fc9c5,'subUnitId':_0x35ff09,'valueMatrix':_0x282262,'rangesCache':_0x1bcd6c,'pivotTableId':_0x500767,'type':_0x3740f1[_0x3140cf(0x38c)],'isEmpty':!0x0}),this[_0x3140cf(0x3fd)]['updateViewInfo'](_0x4fc9c5,_0x35ff09,_0x500767,_0x282262,_0x1bcd6c),this[_0x3140cf(0x4b0)][_0x3140cf(0x310)](_0x4fc9c5,_0x35ff09,_0x263daf,this['_createExclusiveRange'](_0x1bcd6c,_0x500767)),{'rangeCache':_0xeae7f2['rangesInfo'],'matrix':_0x282262};}[_0x489679(0x40a)](_0x3ebf77,_0x273432){const _0x54f276=[],_0x5f5626=_0x448a97(_0x3ebf77);for(const _0x59bc4f of _0x5f5626)_0x54f276['push']({'groupId':_0x273432,'range':_0x59bc4f});return _0x54f276;}[_0x489679(0x40f)](_0x459558){const _0x2f8930=_0x489679;var _0x1b1774,_0x326c11,_0x5dca62,_0x49d5c8;const {pivotTableId:_0x24d279,unitId:_0xe5d18a,subUnitId:_0x3da3c7}=_0x459558;if(!_0x24d279||!_0xe5d18a||!_0x3da3c7)return;const _0x4ff4a4=this[_0x2f8930(0x2fb)](_0xe5d18a,_0x3da3c7),_0x201ba5=(_0x326c11=(_0x1b1774=this[_0x2f8930(0x1c9)][_0x2f8930(0x2a3)](_0xe5d18a))==null?void 0x0:_0x1b1774[_0x2f8930(0x2a3)](_0x3da3c7))==null?void 0x0:_0x326c11['get'](_0x24d279);if(_0x201ba5!=null&&_0x201ba5['rangesInfo']){for(const _0x3e0b3a of Object[_0x2f8930(0x48e)](_0x201ba5[_0x2f8930(0x470)]))_0x201ba5[_0x2f8930(0x470)][_0x3e0b3a][_0x2f8930(0x404)](_0x185a36=>{const _0x26676b=_0x2f8930;for(let _0x29418a=_0x185a36['startRow'];_0x29418a<=_0x185a36[_0x26676b(0x483)];_0x29418a++)for(let _0x151961=_0x185a36[_0x26676b(0x391)];_0x151961<=_0x185a36['endColumn'];_0x151961++)_0x4ff4a4['realDeleteValue'](_0x29418a,_0x151961);});}_0x201ba5&&((_0x49d5c8=(_0x5dca62=this[_0x2f8930(0x1c9)][_0x2f8930(0x2a3)](_0xe5d18a))==null?void 0x0:_0x5dca62[_0x2f8930(0x2a3)](_0x3da3c7))==null||_0x49d5c8[_0x2f8930(0x2f3)](_0x24d279)),this[_0x2f8930(0x3c4)][_0x2f8930(0x47e)]({'unitId':_0xe5d18a,'subUnitId':_0x3da3c7,'valueMatrix':_0x4ff4a4,'pivotTableId':_0x24d279,'rangesCache':void 0x0,'type':_0x459558[_0x2f8930(0x38c)]}),this[_0x2f8930(0x4b0)][_0x2f8930(0x224)](_0xe5d18a,_0x3da3c7,_0x263daf,_0x24d279);}[_0x489679(0x359)](_0x2185fc,_0x5c610d,_0x4197f4){const _0x2af611=_0x489679;var _0x11c43f,_0x4e0804,_0x2e14e1,_0x32edef,_0x37fac1,_0xc02f18;return this[_0x2af611(0x1c9)][_0x2af611(0x445)](_0x2185fc)||this[_0x2af611(0x1c9)][_0x2af611(0x1d3)](_0x2185fc,new Map()),(_0x11c43f=this['_pivotRenderInfoCache'][_0x2af611(0x2a3)](_0x2185fc))!=null&&_0x11c43f[_0x2af611(0x445)](_0x5c610d)||(_0x4e0804=this[_0x2af611(0x1c9)][_0x2af611(0x2a3)](_0x2185fc))==null||_0x4e0804[_0x2af611(0x1d3)](_0x5c610d,new Map()),(_0x32edef=(_0x2e14e1=this[_0x2af611(0x1c9)][_0x2af611(0x2a3)](_0x2185fc))==null?void 0x0:_0x2e14e1[_0x2af611(0x2a3)](_0x5c610d))!=null&&_0x32edef[_0x2af611(0x445)](_0x4197f4)||(_0xc02f18=(_0x37fac1=this['_pivotRenderInfoCache']['get'](_0x2185fc))==null?void 0x0:_0x37fac1['get'](_0x5c610d))==null||_0xc02f18[_0x2af611(0x1d3)](_0x4197f4,{}),this[_0x2af611(0x1c9)][_0x2af611(0x2a3)](_0x2185fc)[_0x2af611(0x2a3)](_0x5c610d)['get'](_0x4197f4);}[_0x489679(0x2fb)](_0x3e6e0f,_0xfbd3a1){const _0x32912b=_0x489679;var _0xacdc39,_0x18ee3f;return this[_0x32912b(0x264)][_0x32912b(0x445)](_0x3e6e0f)||this['_pivotRenderValueMatrixCache'][_0x32912b(0x1d3)](_0x3e6e0f,new Map()),(_0xacdc39=this['_pivotRenderValueMatrixCache'][_0x32912b(0x2a3)](_0x3e6e0f))!=null&&_0xacdc39[_0x32912b(0x445)](_0xfbd3a1)||(_0x18ee3f=this['_pivotRenderValueMatrixCache'][_0x32912b(0x2a3)](_0x3e6e0f))==null||_0x18ee3f[_0x32912b(0x1d3)](_0xfbd3a1,new _0x12d885[(_0x32912b(0x3d9))]()),this[_0x32912b(0x264)][_0x32912b(0x2a3)](_0x3e6e0f)[_0x32912b(0x2a3)](_0xfbd3a1);}[_0x489679(0x479)](_0xca2ff0,_0x4ea67a,_0x14366d,_0x21677e){const _0x32c8d4=_0x489679;var _0x156258,_0x3810d1;const _0x14e91f=(_0x3810d1=(_0x156258=this[_0x32c8d4(0x264)]['get'](_0xca2ff0))==null?void 0x0:_0x156258[_0x32c8d4(0x2a3)](_0x4ea67a))==null?void 0x0:_0x3810d1['getValue'](_0x14366d,_0x21677e);if(_0x14e91f!=null)return _0x14e91f;}[_0x489679(0x4a1)](_0x23dcde,_0x13b09e,_0x267bc7,_0x37eb48){const _0xae6332=_0x489679;var _0x508cc3;const _0x19eabd=_0x12d885['cellToRange'](_0x267bc7,_0x37eb48),_0x310185=(_0x508cc3=this['_pivotRenderInfoCache']['get'](_0x23dcde))==null?void 0x0:_0x508cc3[_0xae6332(0x2a3)](_0x13b09e);return _0x310185?Array[_0xae6332(0x27f)](_0x310185['keys']())[_0xae6332(0x3b9)](_0x1557cf=>{const _0x5c7e01=_0xae6332,_0x533674=_0x310185['get'](_0x1557cf),_0x4cedb0=_0x533674==null?void 0x0:_0x533674[_0x5c7e01(0x470)];return _0x4cedb0?Object['keys'](_0x4cedb0)['some'](_0x2254b3=>_0x4cedb0[_0x2254b3]['some'](_0x33b762=>_0x12d885[_0x5c7e01(0x329)]['contains'](_0x33b762,_0x19eabd))):!0x1;}):void 0x0;}[_0x489679(0x38b)](_0x2d9418,_0x2e6d08,_0x470043){const _0x5a5f34=_0x489679;var _0x3ecd62;const _0x505645=(_0x3ecd62=this['_pivotRenderInfoCache']['get'](_0x2d9418))==null?void 0x0:_0x3ecd62[_0x5a5f34(0x2a3)](_0x2e6d08),_0x594f10=[];return _0x505645&&Array[_0x5a5f34(0x27f)](_0x505645[_0x5a5f34(0x48e)]())[_0x5a5f34(0x404)](_0x34c2df=>{const _0x37b446=_0x5a5f34,_0x1f2b1e=_0x505645[_0x37b446(0x2a3)](_0x34c2df),_0x4834a1=_0x1f2b1e==null?void 0x0:_0x1f2b1e[_0x37b446(0x470)];if(_0x4834a1)for(const _0x347ef5 of Object['values'](_0x4834a1)){let _0x4332c2=!0x1;for(const _0x57871b of _0x347ef5)if(_0x12d885[_0x37b446(0x329)][_0x37b446(0x273)](_0x57871b,_0x470043)){_0x594f10[_0x37b446(0x396)](_0x34c2df),_0x4332c2=!0x0;break;}if(_0x4332c2)break;}}),_0x594f10;}[_0x489679(0x332)](_0x11e099,_0x34e4e7){const _0x2a2267=_0x489679;var _0x9d9642,_0x497d50;return(_0x497d50=(_0x9d9642=this[_0x2a2267(0x264)][_0x2a2267(0x2a3)](_0x11e099))==null?void 0x0:_0x9d9642[_0x2a2267(0x2a3)](_0x34e4e7))!=null?_0x497d50:new _0x12d885['ObjectMatrix']();}[_0x489679(0x346)](_0x52743c,_0x2ccfbf){const _0x81faf2=_0x489679;var _0x35281d;return(_0x35281d=this[_0x81faf2(0x1c9)][_0x81faf2(0x2a3)](_0x52743c))==null?void 0x0:_0x35281d[_0x81faf2(0x2a3)](_0x2ccfbf);}[_0x489679(0x1d1)](_0x2e7454,_0x54e8a6,_0x575f4a){const _0x471d47=_0x489679;var _0x545b28,_0x3b4d57;return(_0x3b4d57=(_0x545b28=this[_0x471d47(0x1c9)][_0x471d47(0x2a3)](_0x2e7454))==null?void 0x0:_0x545b28[_0x471d47(0x2a3)](_0x54e8a6))==null?void 0x0:_0x3b4d57[_0x471d47(0x2a3)](_0x575f4a);}[_0x489679(0x380)](_0x22fd64){const _0xd1505d=_0x489679;this[_0xd1505d(0x1c9)][_0xd1505d(0x2f3)](_0x22fd64),this[_0xd1505d(0x264)][_0xd1505d(0x2f3)](_0x22fd64);}[_0x489679(0x249)](_0x4e7667,_0x233c07){const _0x46bd11=_0x489679;this[_0x46bd11(0x38f)][_0x46bd11(0x47e)]({'unitId':_0x4e7667,'subUnitId':_0x233c07});}},_0x2a78c5[_0x489679(0x44c)]=_0x29739b([_0x5d99b5(0x0,_0x12d885[_0x489679(0x324)](_0x12d885[_0x489679(0x3f3)])),_0x5d99b5(0x1,_0x12d885['Inject'](_0x12d885[_0x489679(0x256)])),_0x5d99b5(0x2,_0x12d885[_0x489679(0x324)](_0x2a78c5['SheetsPivotTableConfigModel'])),_0x5d99b5(0x3,_0x12d885['Inject'](_0x12d885[_0x489679(0x27d)])),_0x5d99b5(0x4,_0x12d885[_0x489679(0x324)](_0x28e907[_0x489679(0x2d0)]))],_0x2a78c5[_0x489679(0x44c)]);var _0x2416e2=Object[_0x489679(0x3c5)],_0x17c2c8=(_0x3ed181,_0xb079d4,_0x4ec54b,_0x103955)=>{const _0x2e0eda=_0x489679;for(var _0x5ec695=_0x103955>0x1?void 0x0:_0x103955?_0x2416e2(_0xb079d4,_0x4ec54b):_0xb079d4,_0x53e364=_0x3ed181[_0x2e0eda(0x4d6)]-0x1,_0x36b14b;_0x53e364>=0x0;_0x53e364--)(_0x36b14b=_0x3ed181[_0x53e364])&&(_0x5ec695=_0x36b14b(_0x5ec695)||_0x5ec695);return _0x5ec695;},_0x298df3=(_0x45b9ce,_0x27fe13)=>(_0xbe29c6,_0x3d11d8)=>_0x27fe13(_0xbe29c6,_0x3d11d8,_0x45b9ce);_0x2a78c5[_0x489679(0x222)]=class extends _0x12d885[_0x489679(0x2f9)]{constructor(_0x4c2388,_0x371eb4){const _0x18694a=_0x489679;super(),_0x474ffa(this,_0x18694a(0x243),new _0x12d885['AsyncInterceptorManager']({'PIVOT_PERFORM_CHECK':_0x3cfee6})),_0x474ffa(this,'interceptor',new _0x12d885[(_0x18694a(0x386))]({'PIVOT_MUTATION_GENERATE':_0x4b11c5})),(this[_0x18694a(0x494)]=_0x4c2388,this[_0x18694a(0x1c8)]=_0x371eb4,this[_0x18694a(0x287)]());}[_0x489679(0x287)](){this['_initViewModelBySheetInterceptor']();}['getPivotPerformCheck'](_0xff94e4){const _0x42233a=_0x489679;return this[_0x42233a(0x243)][_0x42233a(0x4b7)](_0x3cfee6)(!0x1,_0xff94e4);}[_0x489679(0x4b6)](){const _0x281b98=_0x489679;this[_0x281b98(0x27c)](this[_0x281b98(0x494)][_0x281b98(0x493)](_0x28e907[_0x281b98(0x4d7)]['CELL_CONTENT'],{'priority':0xc8,'effect':_0x12d885[_0x281b98(0x3ca)][_0x281b98(0x45a)]|_0x12d885[_0x281b98(0x3ca)][_0x281b98(0x213)],'handler':(_0x1f3900,_0x228149,_0x5d65c0)=>{const _0x2badfb=_0x281b98,{row:_0x15edce,col:_0x370ffc,unitId:_0x37503d,subUnitId:_0x473323,workbook:_0x38add1}=_0x228149,_0x1a36ea=this[_0x2badfb(0x1c8)][_0x2badfb(0x479)](_0x37503d,_0x473323,_0x15edce,_0x370ffc);if(!_0x1a36ea)return _0x5d65c0(_0x1f3900);const _0x14985c={..._0x1f3900};(_0x1a36ea['v']||_0x1a36ea['v']===0x0)&&(_0x14985c['v']=_0x1a36ea['v']),_0x1a36ea['t']&&(_0x14985c['t']=_0x1a36ea['t']);const _0x1144f3=(typeof(_0x1f3900==null?void 0x0:_0x1f3900['s'])==_0x2badfb(0x289)?_0x38add1[_0x2badfb(0x440)]()[_0x2badfb(0x2a3)](_0x1f3900==null?void 0x0:_0x1f3900['s']):_0x1f3900==null?void 0x0:_0x1f3900['s'])||{},_0xcc8c4b=_0x38add1['getStyles']()['get'](_0x1a36ea['s']),_0x2d33f5={..._0xcc8c4b,..._0x1144f3};_0xcc8c4b!=null&&_0xcc8c4b['n']&&(_0x2d33f5['n']=_0xcc8c4b['n']);const _0xa0afca=_0x38add1['getStyles']()['setValue'](_0x2d33f5);return _0x14985c['s']=_0xa0afca,(_0x1a36ea[_0x2badfb(0x1cb)]===_0x3b8531[_0x2badfb(0x455)][_0x2badfb(0x392)]||_0x1a36ea[_0x2badfb(0x1cb)]===_0x3b8531[_0x2badfb(0x455)]['Expand'])&&(_0x14985c['fontRenderExtension']={},_0x14985c[_0x2badfb(0x343)][_0x2badfb(0x4e3)]=_0x5bcc22),_0x5d65c0(_0x14985c);}}));}},_0x2a78c5[_0x489679(0x222)]=_0x17c2c8([_0x298df3(0x0,_0x12d885[_0x489679(0x324)](_0x28e907[_0x489679(0x200)])),_0x298df3(0x1,_0x12d885[_0x489679(0x324)](_0x2a78c5[_0x489679(0x44c)]))],_0x2a78c5[_0x489679(0x222)]);const _0x47b9ab={'id':_0x489679(0x23c),'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x3df)],'handler':(_0x20c24d,_0x4de719)=>{const _0x5a887c=_0x489679;if(!_0x4de719)return!0x1;if(!!_0x20c24d[_0x5a887c(0x2a3)](_0x12d885[_0x5a887c(0x244)])[_0x5a887c(0x2a5)](_0x45fab7))return!0x0;const {pivotTableId:_0x449b9c,fieldJSON:_0x36858b,unitId:_0x333237,subUnitId:_0x48983f}=_0x4de719;let _0x1aba9c;const {dataFieldType:_0xfae5b9,id:_0x21cb1b,name:_0x36774e,hexCode:_0x4adc53,originalFieldId:_0x28dfd0}=_0x36858b;if(_0xfae5b9===_0x3b8531['PivotDataFieldTypeEnum']['dateGroupField']&&(_0x1aba9c=new _0x3b8531['DateGroupField'](_0x21cb1b,_0x36774e,_0x4adc53,_0x28dfd0)),!_0x1aba9c)return!0x1;const _0x5f38c5=_0x20c24d[_0x5a887c(0x2a3)](_0x2a78c5[_0x5a887c(0x21b)]),_0x21b3ff=_0x5f38c5[_0x5a887c(0x4af)](_0x333237),_0x219573=_0x21b3ff[_0x5a887c(0x461)](_0x449b9c);_0x21b3ff[_0x5a887c(0x42d)](_0x1aba9c),_0x219573['addField'](_0x1aba9c[_0x5a887c(0x2b2)](),_0x1aba9c[_0x5a887c(0x369)]());const _0x2fb4b4=_0x219573[_0x5a887c(0x4ab)](_0x1aba9c[_0x5a887c(0x458)]());_0x2fb4b4&&_0x1aba9c[_0x5a887c(0x29e)](_0x2fb4b4);const _0x3a5d87=_0x5f38c5[_0x5a887c(0x231)](_0x333237,_0x48983f,_0x449b9c);return _0x5f38c5['addDirtyPivotTable']({'unitId':_0x333237,'subUnitId':_0x48983f,'token':_0x449b9c,'type':_0xc924d8['Set'],'pivotConfig':_0x3a5d87}),!0x0;}},_0xb86c82={'id':_0x489679(0x3d2),'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x3df)],'handler':(_0x48e30e,_0x5e1e92)=>{const _0x267301=_0x489679;if(!_0x5e1e92)return!0x1;if(!!_0x48e30e[_0x267301(0x2a3)](_0x12d885[_0x267301(0x244)])['getConfig'](_0x45fab7))return!0x0;const {pivotTableId:_0x3cba57,dataFieldId:_0x31361f,unitId:_0x10e704,subUnitId:_0x52288c}=_0x5e1e92,_0x2176ce=_0x48e30e[_0x267301(0x2a3)](_0x2a78c5[_0x267301(0x21b)]),_0x189dd7=_0x2176ce[_0x267301(0x4af)](_0x10e704);_0x189dd7[_0x267301(0x461)](_0x3cba57)[_0x267301(0x1d5)](_0x31361f);let _0x273993=!0x0;for(const _0x252e10 in _0x189dd7['collections'])if(_0x189dd7['collections'][_0x252e10][_0x267301(0x3f9)]()[_0x267301(0x284)](_0x31361f)){_0x273993=!0x1;break;}_0x273993&&_0x189dd7['deleteDataField'](_0x31361f);const _0x412aac=_0x2176ce[_0x267301(0x231)](_0x10e704,_0x52288c,_0x3cba57);return _0x2176ce[_0x267301(0x2c8)]({'unitId':_0x10e704,'subUnitId':_0x52288c,'token':_0x3cba57,'type':_0xc924d8[_0x267301(0x1ee)],'pivotConfig':_0x412aac}),!0x0;}};function _0x418ebb(_0x23b6c4,_0x4613b2){const _0x74d359=_0x489679;switch(_0x4613b2){case _0x3b8531[_0x74d359(0x4c3)][_0x74d359(0x45a)]:return _0x23b6c4['valueFields'];case _0x3b8531[_0x74d359(0x4c3)]['Filter']:return _0x23b6c4['filterFields'];case _0x3b8531[_0x74d359(0x4c3)][_0x74d359(0x497)]:return _0x23b6c4[_0x74d359(0x3b4)];case _0x3b8531['PivotTableFiledAreaEnum'][_0x74d359(0x326)]:return _0x23b6c4['columnFields'];default:return[];}}function _0x144a0c(_0x5ba789,_0x46e202){const _0x24f752=_0x489679;return _0x5ba789[_0x24f752(0x418)][_0x46e202]||_0x5ba789['dimension'][_0x46e202];}function _0x56baea(_0x5726f6,_0x370e49){const _0x24a7f8=_0x489679,{area:_0x13a56f,fieldJson:_0x2e8a3d,index:_0x4c9e0a}=_0x370e49;_0x13a56f===_0x3b8531[_0x24a7f8(0x4c3)][_0x24a7f8(0x45a)]?_0x5726f6[_0x24a7f8(0x418)][_0x2e8a3d['id']]=_0x2e8a3d:_0x5726f6[_0x24a7f8(0x40d)][_0x2e8a3d['id']]=_0x2e8a3d,_0x418ebb(_0x5726f6,_0x13a56f)[_0x24a7f8(0x30c)](_0x4c9e0a,0x0,_0x2e8a3d['id']);}function _0x1774f2(_0x676aa,_0x32dbb6){const _0x4ec15a=_0x489679,{area:_0x5c2f4d,fieldId:_0x2f3f0f,index:_0x32bc45}=_0x32dbb6;_0x5c2f4d===_0x3b8531['PivotTableFiledAreaEnum'][_0x4ec15a(0x45a)]?delete _0x676aa[_0x4ec15a(0x418)][_0x2f3f0f]:delete _0x676aa[_0x4ec15a(0x40d)][_0x2f3f0f],_0x418ebb(_0x676aa,_0x5c2f4d)[_0x4ec15a(0x30c)](_0x32bc45,0x1);}function _0x4ac18f(_0x578912,_0x44b8bc){const _0x135de5=_0x489679,{fieldId:_0xf5ad23,name:_0x10ba4f}=_0x44b8bc,_0x1d66db=_0x144a0c(_0x578912,_0xf5ad23);_0x1d66db&&(_0x1d66db[_0x135de5(0x45f)]=_0x10ba4f);}function _0x1b3ccd(_0x2d1155,_0x34a139){const _0x494e50=_0x489679,{fieldId:_0x428068,collapse:_0x4dcf3f,item:_0x59256d}=_0x34a139;_0x59256d!==void 0x0?(_0x2d1155[_0x494e50(0x3a8)][_0x428068]=_0x2d1155[_0x494e50(0x3a8)][_0x428068]||{},_0x2d1155['collapseInfo'][_0x428068][_0x59256d]=_0x4dcf3f):_0x2d1155['collapseInfo'][_0x428068]=_0x4dcf3f;}function _0x3e9476(_0x51d4c5,_0x3ac3b2){const _0x1cfe0f=_0x489679,{fieldId:_0x281f88,format:_0x561fb8}=_0x3ac3b2,_0x1a3926=_0x144a0c(_0x51d4c5,_0x281f88);_0x1a3926&&(_0x1a3926[_0x1cfe0f(0x221)]=_0x561fb8);}function _0x42b5a1(_0x43ce4b,_0x1bb139){const _0x22da54=_0x489679,{fieldId:_0x1378f5,filterInfo:_0x353138}=_0x1bb139,_0x3f58aa=_0x144a0c(_0x43ce4b,_0x1378f5);_0x3f58aa&&(_0x3f58aa[_0x22da54(0x21c)]=_0x353138);}function _0x213df0(_0x268100,_0x525d1c){const _0x659ac8=_0x489679,{fieldId:_0x634d85,filterInfo:_0x30d663}=_0x525d1c,_0x4ac019=_0x268100[_0x659ac8(0x297)][_0x659ac8(0x4d8)](_0x8a779c=>_0x8a779c[_0x659ac8(0x41d)]!==_0x634d85);_0x30d663&&_0x4ac019['push']({'fieldId':_0x634d85,'filterInfo':_0x30d663}),_0x268100[_0x659ac8(0x297)]=_0x4ac019;}function _0x1705a3(_0xed88cf,_0x3a2c8c){const _0x4db91c=_0x489679,{fieldId:_0x49a14b,subtotalType:_0x289916}=_0x3a2c8c,_0x5c141e=_0x144a0c(_0xed88cf,_0x49a14b);_0x5c141e&&(_0x5c141e[_0x4db91c(0x2cb)]=_0x289916);}function _0x53e2f6(_0x5b670c,_0x1de82d){const _0x3fb3f4=_0x489679,{fieldId:_0x52b8e8,oldArea:_0x57a2ae,area:_0x22ecb0,oldIndex:_0x5d2e39,index:_0x89169f}=_0x1de82d,_0xcd6515=_0x57a2ae!==_0x3b8531[_0x3fb3f4(0x4c3)][_0x3fb3f4(0x45a)]&&_0x22ecb0===_0x3b8531['PivotTableFiledAreaEnum'][_0x3fb3f4(0x45a)],_0x3856cf=_0x57a2ae===_0x3b8531[_0x3fb3f4(0x4c3)][_0x3fb3f4(0x45a)]&&_0x22ecb0!==_0x3b8531[_0x3fb3f4(0x4c3)]['Value'];if(_0xcd6515||_0x3856cf){const _0x34e36a=_0x144a0c(_0x5b670c,_0x52b8e8);_0x34e36a&&(_0xcd6515?(delete _0x5b670c['dimension'][_0x52b8e8],_0x5b670c[_0x3fb3f4(0x418)][_0x52b8e8]=_0x34e36a):(delete _0x5b670c[_0x3fb3f4(0x418)][_0x52b8e8],_0x5b670c[_0x3fb3f4(0x40d)][_0x52b8e8]=_0x34e36a));}const _0x35e302=_0x418ebb(_0x5b670c,_0x57a2ae),_0x5b6712=_0x418ebb(_0x5b670c,_0x22ecb0);_0x35e302[_0x3fb3f4(0x30c)](_0x5d2e39,0x1),_0x5b6712[_0x3fb3f4(0x30c)](_0x89169f,0x0,_0x52b8e8);}function _0x4c447b(_0x48e69e,_0x38f733){const _0x37450b=_0x489679,{valuePosition:_0xb0256a,index:_0x1559d3}=_0x38f733;_0x48e69e[_0x37450b(0x267)]=_0xb0256a,_0x48e69e[_0x37450b(0x22b)]=_0x1559d3;}function _0x3b0ece(_0x142bbd,_0x4ca468){const _0x22406d=_0x489679,{tableFieldId:_0x1743bd,sourceName:_0x28551c,dataFieldId:_0x4cf91e}=_0x4ca468,_0x56f76c=_0x144a0c(_0x142bbd,_0x1743bd);_0x56f76c&&(_0x56f76c[_0x22406d(0x3ae)]=_0x28551c,_0x56f76c[_0x22406d(0x3dd)]=_0x4cf91e);}function _0x5a6f32(_0x1bafa6,_0x130281){const _0x57b5bd=_0x489679,{fieldId:_0x220e35,sortInfo:_0x2acb12}=_0x130281,_0x24f808=_0x144a0c(_0x1bafa6,_0x220e35);_0x24f808&&(_0x24f808[_0x57b5bd(0x1da)]=_0x2acb12);}function _0x32d527(_0x551a91,_0x1b23f1){const _0x4883b3=_0x489679,{options:_0x4f0b30}=_0x1b23f1;_0x551a91[_0x4883b3(0x2ce)]={..._0x551a91['options'],..._0x4f0b30};}const _0x34d091={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x3df)],'id':_0x489679(0x375),'handler'(_0x211ff1,_0x38a811){const _0x3e83be=_0x489679;if(!_0x38a811)return!0x1;if(!!_0x211ff1['get'](_0x12d885['IConfigService'])[_0x3e83be(0x2a5)](_0x45fab7))return!0x0;const _0xb637d0=_0x211ff1[_0x3e83be(0x2a3)](_0x2a78c5['SheetsPivotDataSourceModel']),{pivotTableId:_0x471a3c,fieldJson:_0xab9a43,area:_0x2cec72,index:_0x19b17a,unitId:_0x35a180,subUnitId:_0x361e3a}=_0x38a811,_0x9bff1d=_0xb637d0['getPivotTableInstance'](_0x471a3c);if(!_0x9bff1d)return!0x1;let _0x6af7d9;_0x2cec72===_0x3b8531[_0x3e83be(0x4c3)][_0x3e83be(0x45a)]?_0x6af7d9=_0x3b8531[_0x3e83be(0x275)](_0xab9a43):_0x6af7d9=_0x3b8531['createLabelField'](_0xab9a43),_0x9bff1d['addField'](_0x6af7d9,_0x2cec72,_0x19b17a);const _0x18433c=_0xb637d0[_0x3e83be(0x220)](_0x35a180,_0x361e3a,_0x471a3c);_0x56baea(_0x18433c,_0x38a811);const _0x54d973=_0xb637d0[_0x3e83be(0x231)](_0x35a180,_0x361e3a,_0x471a3c);return _0xb637d0[_0x3e83be(0x2c8)]({'unitId':_0x35a180,'subUnitId':_0x361e3a,'token':_0x471a3c,'type':_0xc924d8[_0x3e83be(0x1ee)],'pivotConfig':_0x54d973}),!0x0;}},_0x16e113={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x3df)],'id':_0x489679(0x2b7),'handler'(_0x5e5ad4,_0x5d57d2){const _0x5b4bfe=_0x489679;if(!_0x5d57d2)return!0x1;if(!!_0x5e5ad4['get'](_0x12d885['IConfigService'])[_0x5b4bfe(0x2a5)](_0x45fab7))return!0x0;const _0x5d2a84=_0x5e5ad4[_0x5b4bfe(0x2a3)](_0x2a78c5[_0x5b4bfe(0x21b)]),{pivotTableId:_0x5d2361,fieldId:_0x33c72e,unitId:_0x3a5e3b,subUnitId:_0x54b9bc}=_0x5d57d2,_0x1dafa6=_0x5d2a84[_0x5b4bfe(0x218)](_0x5d2361);if(!_0x1dafa6)return!0x1;_0x1dafa6['removeField'](_0x33c72e);const _0x369b25=_0x5d2a84['getPivotTableModelConfig'](_0x3a5e3b,_0x54b9bc,_0x5d2361);_0x1774f2(_0x369b25,_0x5d57d2);const _0x50d449=_0x5d2a84[_0x5b4bfe(0x231)](_0x3a5e3b,_0x54b9bc,_0x5d2361);return _0x5d2a84[_0x5b4bfe(0x2c8)]({'unitId':_0x3a5e3b,'subUnitId':_0x54b9bc,'token':_0x5d2361,'type':_0xc924d8[_0x5b4bfe(0x1ee)],'pivotConfig':_0x50d449}),!0x0;}},_0x23ca55={'type':_0x12d885['CommandType'][_0x489679(0x3df)],'id':'sheet.mutation.rename-pivot-field','handler'(_0x4af5a9,_0x297f67){const _0x3d3528=_0x489679;if(!_0x297f67)return!0x1;if(!!_0x4af5a9[_0x3d3528(0x2a3)](_0x12d885['IConfigService'])[_0x3d3528(0x2a5)](_0x45fab7))return!0x0;const _0x9f5882=_0x4af5a9['get'](_0x2a78c5[_0x3d3528(0x21b)]),{unitId:_0x45610a,subUnitId:_0x12d9c9,pivotTableId:_0x319678,fieldId:_0x40d3c6,name:_0x4dae46}=_0x297f67,_0x256473=_0x9f5882[_0x3d3528(0x218)](_0x319678);if(!_0x256473)return!0x1;_0x256473[_0x3d3528(0x28e)](_0x40d3c6,_0x4dae46);const _0x2c380a=_0x9f5882[_0x3d3528(0x220)](_0x45610a,_0x12d9c9,_0x319678);return _0x4ac18f(_0x2c380a,_0x297f67),_0x9f5882['addDirtyPivotTable']({'unitId':_0x45610a,'subUnitId':_0x12d9c9,'token':_0x319678,'type':_0xc924d8[_0x3d3528(0x1ee)]}),!0x0;}},_0x58f452={'type':_0x12d885[_0x489679(0x3ff)]['MUTATION'],'id':_0x489679(0x405),'handler'(_0x11c26a,_0x503713){const _0x505420=_0x489679;if(!_0x503713)return!0x1;if(!!_0x11c26a[_0x505420(0x2a3)](_0x12d885[_0x505420(0x244)])[_0x505420(0x2a5)](_0x45fab7))return!0x0;const _0x2df155=_0x11c26a[_0x505420(0x2a3)](_0x2a78c5[_0x505420(0x21b)]),{unitId:_0x566d5d,subUnitId:_0x358427,pivotTableId:_0x1cd624,fieldId:_0x1afc50,collapse:_0x2b8b5b,item:_0x470087}=_0x503713,_0x56f507=_0x2df155['getPivotTableInstance'](_0x1cd624);if(!_0x56f507)return!0x1;_0x56f507[_0x505420(0x325)](_0x1afc50,_0x2b8b5b,_0x470087);const _0x538e78=_0x2df155[_0x505420(0x220)](_0x566d5d,_0x358427,_0x1cd624);return _0x1b3ccd(_0x538e78,_0x503713),_0x2df155['addDirtyPivotTable']({'unitId':_0x566d5d,'subUnitId':_0x358427,'token':_0x1cd624,'type':_0xc924d8['Set']}),!0x0;}},_0x3a6ec9={'type':_0x12d885[_0x489679(0x3ff)]['MUTATION'],'id':_0x489679(0x35e),'handler'(_0xc30b3f,_0x2ae8d1){const _0x430303=_0x489679;if(!_0x2ae8d1)return!0x1;if(!!_0xc30b3f['get'](_0x12d885[_0x430303(0x244)])['getConfig'](_0x45fab7))return!0x0;const _0x2d8b13=_0xc30b3f[_0x430303(0x2a3)](_0x2a78c5[_0x430303(0x21b)]),{unitId:_0x2bbad9,subUnitId:_0x4409fc,pivotTableId:_0x3e01e6,fieldId:_0xe57a1,format:_0x53bb19}=_0x2ae8d1,_0x5b1c70=_0x2d8b13[_0x430303(0x218)](_0x3e01e6);if(!_0x5b1c70)return!0x1;_0x5b1c70['setFieldFormat'](_0xe57a1,_0x53bb19);const _0x253c6d=_0x2d8b13['getPivotTableModelConfig'](_0x2bbad9,_0x4409fc,_0x3e01e6);return _0x3e9476(_0x253c6d,_0x2ae8d1),_0x2d8b13['addDirtyPivotTable']({'unitId':_0x2bbad9,'subUnitId':_0x4409fc,'token':_0x3e01e6,'type':_0xc924d8['Set']}),!0x0;}},_0x2dae8c={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x3df)],'id':_0x489679(0x211),'handler'(_0x2ce710,_0x4b08ed){const _0x14192a=_0x489679;if(!_0x4b08ed)return!0x1;if(!!_0x2ce710['get'](_0x12d885['IConfigService'])['getConfig'](_0x45fab7))return!0x0;const _0x488737=_0x2ce710[_0x14192a(0x2a3)](_0x2a78c5['SheetsPivotDataSourceModel']),{unitId:_0x150182,subUnitId:_0x459765,pivotTableId:_0x39743e,fieldId:_0x8be9e4,filterInfo:_0x586b81}=_0x4b08ed,_0x58a6a2=_0x488737[_0x14192a(0x218)](_0x39743e);if(!_0x58a6a2)return!0x1;_0x58a6a2[_0x14192a(0x48b)](_0x8be9e4,_0x586b81);const _0xacc3d8=_0x488737[_0x14192a(0x220)](_0x150182,_0x459765,_0x39743e);return _0x42b5a1(_0xacc3d8,_0x4b08ed),_0x488737[_0x14192a(0x2c8)]({'unitId':_0x150182,'subUnitId':_0x459765,'token':_0x39743e,'type':_0xc924d8['Set']}),!0x0;}},_0xedc4af={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x3df)],'id':'sheet.mutation.set-pivot-option','handler'(_0x52d01,_0x559d31){const _0x12e151=_0x489679;if(!_0x559d31)return!0x1;if(!!_0x52d01[_0x12e151(0x2a3)](_0x12d885['IConfigService'])[_0x12e151(0x2a5)](_0x45fab7))return!0x0;const _0x575c5b=_0x52d01[_0x12e151(0x2a3)](_0x2a78c5[_0x12e151(0x21b)]),{unitId:_0x950ba6,subUnitId:_0x3daa3a,pivotTableId:_0x17101b,options:_0x15346c}=_0x559d31,_0x3a64c9=_0x575c5b[_0x12e151(0x218)](_0x17101b);if(!_0x3a64c9)return!0x1;_0x3a64c9[_0x12e151(0x25c)](_0x15346c);const _0x3b0de7=_0x575c5b['getPivotTableModelConfig'](_0x950ba6,_0x3daa3a,_0x17101b);return _0x32d527(_0x3b0de7,_0x559d31),_0x575c5b['addDirtyPivotTable']({'unitId':_0x950ba6,'subUnitId':_0x3daa3a,'token':_0x17101b,'type':_0xc924d8[_0x12e151(0x1ee)]}),!0x0;}},_0x5bfb57={'type':_0x12d885['CommandType']['MUTATION'],'id':_0x489679(0x3a7),'handler'(_0x449690,_0x2a03c7){const _0x3c371f=_0x489679;if(!_0x2a03c7)return!0x1;if(!!_0x449690[_0x3c371f(0x2a3)](_0x12d885[_0x3c371f(0x244)])['getConfig'](_0x45fab7))return!0x0;const _0x57a341=_0x449690[_0x3c371f(0x2a3)](_0x2a78c5['SheetsPivotDataSourceModel']),{unitId:_0x9a6e29,subUnitId:_0x9b8007,pivotTableId:_0x16e9d1,sortInfo:_0x2a8e00,fieldId:_0x38407c}=_0x2a03c7,_0x491b74=_0x57a341[_0x3c371f(0x218)](_0x16e9d1);if(!_0x491b74)return!0x1;_0x491b74[_0x3c371f(0x4de)](_0x38407c,_0x2a8e00);const _0x5c4662=_0x57a341[_0x3c371f(0x220)](_0x9a6e29,_0x9b8007,_0x16e9d1);return _0x5a6f32(_0x5c4662,_0x2a03c7),_0x57a341[_0x3c371f(0x2c8)]({'unitId':_0x9a6e29,'subUnitId':_0x9b8007,'token':_0x16e9d1,'type':_0xc924d8[_0x3c371f(0x1ee)]}),!0x0;}},_0x2883ff={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x3df)],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x3f19c0,_0x3ec3b7){const _0x412d2=_0x489679;if(!_0x3ec3b7)return!0x1;if(!!_0x3f19c0[_0x412d2(0x2a3)](_0x12d885[_0x412d2(0x244)])[_0x412d2(0x2a5)](_0x45fab7))return!0x0;const _0x27b8b2=_0x3f19c0[_0x412d2(0x2a3)](_0x2a78c5[_0x412d2(0x21b)]),{unitId:_0x258fd0,subUnitId:_0x58a15b,pivotTableId:_0x54f663,fieldId:_0x191851,subtotalType:_0xee9d30}=_0x3ec3b7,_0xbe87be=_0x27b8b2[_0x412d2(0x218)](_0x54f663);if(!_0xbe87be)return!0x1;_0xbe87be[_0x412d2(0x2cc)](_0x191851,_0xee9d30);const _0x4aec50=_0x27b8b2[_0x412d2(0x220)](_0x258fd0,_0x58a15b,_0x54f663);return _0x1705a3(_0x4aec50,_0x3ec3b7),_0x27b8b2['addDirtyPivotTable']({'unitId':_0x258fd0,'subUnitId':_0x58a15b,'token':_0x54f663,'type':_0xc924d8['Set']}),!0x0;}},_0x47d8da={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x3df)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x3aa497,_0x8527c3){const _0xa06f8a=_0x489679;if(!_0x8527c3)return!0x1;if(!!_0x3aa497['get'](_0x12d885[_0xa06f8a(0x244)])['getConfig'](_0x45fab7))return!0x0;const _0x4f7b95=_0x3aa497[_0xa06f8a(0x2a3)](_0x2a78c5[_0xa06f8a(0x21b)]),{unitId:_0x296c26,subUnitId:_0x551819,pivotTableId:_0x5c8e96,fieldId:_0x368786,filterInfo:_0xb66c1c}=_0x8527c3,_0x99a75b=_0x4f7b95[_0xa06f8a(0x218)](_0x5c8e96);if(!_0x99a75b)return!0x1;_0x99a75b[_0xa06f8a(0x4a0)](_0x368786,_0xb66c1c);const _0x596edf=_0x4f7b95['getPivotTableModelConfig'](_0x296c26,_0x551819,_0x5c8e96);return _0x213df0(_0x596edf,_0x8527c3),_0x4f7b95[_0xa06f8a(0x2c8)]({'unitId':_0x296c26,'subUnitId':_0x551819,'token':_0x5c8e96,'type':_0xc924d8[_0xa06f8a(0x1ee)]}),!0x0;}},_0x42730c={'type':_0x12d885['CommandType'][_0x489679(0x3df)],'id':_0x489679(0x34f),'handler'(_0x551465,_0x38422c){const _0x538253=_0x489679;if(!_0x38422c)return!0x1;if(!!_0x551465[_0x538253(0x2a3)](_0x12d885[_0x538253(0x244)])['getConfig'](_0x45fab7))return!0x0;const _0x369ad0=_0x551465[_0x538253(0x2a3)](_0x2a78c5[_0x538253(0x21b)]),{unitId:_0x508009,subUnitId:_0x29d64d,pivotTableId:_0xad0dcd,area:_0x5c5267,index:_0x12d72f,fieldId:_0x378056}=_0x38422c,_0x5eacad=_0x369ad0[_0x538253(0x218)](_0xad0dcd);if(!_0x5eacad)return!0x1;_0x5eacad[_0x538253(0x3e1)](_0x378056,_0x5c5267,_0x12d72f);const _0x19ec23=_0x369ad0[_0x538253(0x220)](_0x508009,_0x29d64d,_0xad0dcd);return _0x53e2f6(_0x19ec23,_0x38422c),_0x369ad0[_0x538253(0x2c8)]({'unitId':_0x508009,'subUnitId':_0x29d64d,'token':_0xad0dcd,'type':_0xc924d8['Set']}),!0x0;}},_0x2e98cc={'type':_0x12d885['CommandType']['MUTATION'],'id':_0x489679(0x2e7),'handler'(_0x1f075,_0x444f65){const _0x4c4752=_0x489679;if(!_0x444f65)return!0x1;if(!!_0x1f075[_0x4c4752(0x2a3)](_0x12d885[_0x4c4752(0x244)])[_0x4c4752(0x2a5)](_0x45fab7))return!0x0;const _0x2aa5a6=_0x1f075[_0x4c4752(0x2a3)](_0x2a78c5['SheetsPivotDataSourceModel']),{unitId:_0x2008af,subUnitId:_0x20294e,pivotTableId:_0x82d0f8,sourceName:_0x13a7cf,dataFieldId:_0x1d0691,tableFieldId:_0x5f5b63}=_0x444f65,_0x1acfc4=_0x2aa5a6['getPivotTableInstance'](_0x82d0f8);if(!_0x1acfc4)return!0x1;_0x1acfc4[_0x4c4752(0x3cc)](_0x5f5b63,_0x13a7cf,_0x1d0691);const _0x565474=_0x2aa5a6['getPivotTableModelConfig'](_0x2008af,_0x20294e,_0x82d0f8);return _0x3b0ece(_0x565474,_0x444f65),_0x2aa5a6[_0x4c4752(0x2c8)]({'unitId':_0x2008af,'subUnitId':_0x20294e,'token':_0x82d0f8,'type':_0xc924d8[_0x4c4752(0x1ee)]}),!0x0;}},_0x152897={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x3df)],'id':_0x489679(0x4cb),'handler'(_0x4761a1,_0x5171c1){const _0x471c78=_0x489679;if(!_0x5171c1)return!0x1;if(!!_0x4761a1[_0x471c78(0x2a3)](_0x12d885['IConfigService'])['getConfig'](_0x45fab7))return!0x0;const _0xed8889=_0x4761a1[_0x471c78(0x2a3)](_0x2a78c5['SheetsPivotDataSourceModel']),{unitId:_0x573e8b,subUnitId:_0x631c2c,pivotTableId:_0x3b13a1,valuePosition:_0x2c6bc7,index:_0x626e0c}=_0x5171c1,_0x5b528f=_0xed8889['getPivotTableInstance'](_0x3b13a1);if(!_0x5b528f)return!0x1;_0x5b528f['updateValuePosition'](_0x2c6bc7,_0x626e0c);const _0x4a4cb0=_0xed8889['getPivotTableModelConfig'](_0x573e8b,_0x631c2c,_0x3b13a1);return _0x4c447b(_0x4a4cb0,_0x5171c1),_0xed8889[_0x471c78(0x2c8)]({'unitId':_0x573e8b,'subUnitId':_0x631c2c,'token':_0x3b13a1,'type':_0xc924d8['Set']}),!0x0;}};function _0x559a1f(_0xecf545,_0x3c8a0c,_0x5ed5b2){const _0x5d21d7=_0x489679,{pivotTableId:_0x574304,unitId:_0x51d168,subUnitId:_0x3a686a}=_0x3c8a0c,_0x5e962d=[],_0x2158a1=[];for(const _0x2838de of _0x5ed5b2)switch(_0x2838de[_0x5d21d7(0x38c)]){case _0x3b8531['PivotTableChangeTypeEnum'][_0x5d21d7(0x3eb)]:{const {fieldJson:_0x51d8b3,area:_0x58c1b4,index:_0x5154a3}=_0x2838de,_0x2d656e={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldJson':_0x51d8b3,'area':_0x58c1b4,'index':_0x5154a3},_0x5f4cb3={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldId':_0x51d8b3['id'],'area':_0x58c1b4,'index':_0x5154a3};_0x5e962d[_0x5d21d7(0x396)]({'id':_0x34d091['id'],'params':_0x2d656e}),_0x2158a1['unshift']({'id':_0x16e113['id'],'params':_0x5f4cb3});}break;case _0x3b8531[_0x5d21d7(0x32f)][_0x5d21d7(0x250)]:{const {fieldId:_0x85ba,newSubtotalType:_0x2c0e7a,oldSubtotalType:_0x1a40f4}=_0x2838de,_0x6728c7={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldId':_0x85ba,'subtotalType':_0x2c0e7a};_0x5e962d[_0x5d21d7(0x396)]({'id':_0x2883ff['id'],'params':_0x6728c7});const _0x134b8c={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldId':_0x85ba,'subtotalType':_0x1a40f4};_0x2158a1[_0x5d21d7(0x36b)]({'id':_0x2883ff['id'],'params':_0x134b8c});}break;case _0x3b8531[_0x5d21d7(0x32f)][_0x5d21d7(0x2c6)]:{const {fieldId:_0x5768c0,fieldJson:_0x54c270,area:_0x3dc91d,index:_0xdfa1b8}=_0x2838de,_0x304fba={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldId':_0x5768c0,'index':_0xdfa1b8,'area':_0x3dc91d};_0x5e962d[_0x5d21d7(0x396)]({'id':_0x16e113['id'],'params':_0x304fba});const _0x538eba={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldJson':_0x54c270,'area':_0x3dc91d,'index':_0xdfa1b8};_0x2158a1['unshift']({'id':_0x34d091['id'],'params':_0x538eba});}break;case _0x3b8531[_0x5d21d7(0x32f)][_0x5d21d7(0x467)]:{const {fieldId:_0x52a869,oldName:_0x494b79,newName:_0x4b2776}=_0x2838de,_0x396f76={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldId':_0x52a869,'name':_0x4b2776};_0x5e962d[_0x5d21d7(0x396)]({'id':_0x23ca55['id'],'params':_0x396f76});const _0x1fd6e4={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldId':_0x52a869,'name':_0x494b79};_0x2158a1[_0x5d21d7(0x36b)]({'id':_0x23ca55['id'],'params':_0x1fd6e4});}break;case _0x3b8531['PivotTableChangeTypeEnum'][_0x5d21d7(0x3d0)]:{const {fieldId:_0x10abf3,oldFilterInfo:_0x2d4566,newFilterInfo:_0x42a3a2}=_0x2838de,_0x348b74={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldId':_0x10abf3,'filterInfo':_0x42a3a2};_0x5e962d[_0x5d21d7(0x396)]({'id':_0x2dae8c['id'],'params':_0x348b74});const _0x2ec9a3={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldId':_0x10abf3,'filterInfo':_0x2d4566};_0x2158a1['unshift']({'id':_0x2dae8c['id'],'params':_0x2ec9a3});}break;case _0x3b8531[_0x5d21d7(0x32f)][_0x5d21d7(0x366)]:{const {fieldId:_0x3caf56,oldSortInfo:_0x4f51c8,newSortInfo:_0x325389}=_0x2838de,_0x386c99={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldId':_0x3caf56,'sortInfo':_0x325389};_0x5e962d[_0x5d21d7(0x396)]({'id':_0x5bfb57['id'],'params':_0x386c99});const _0x1e13db={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldId':_0x3caf56,'sortInfo':_0x4f51c8};_0x2158a1[_0x5d21d7(0x36b)]({'id':_0x5bfb57['id'],'params':_0x1e13db});}break;case _0x3b8531[_0x5d21d7(0x32f)][_0x5d21d7(0x422)]:{const {oldOptions:_0x2d050a,newOptions:_0x311c33}=_0x2838de,_0xf7124a={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'options':_0x311c33};_0x5e962d[_0x5d21d7(0x396)]({'id':_0xedc4af['id'],'params':_0xf7124a});const _0x5d9e90={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'options':_0x2d050a};_0x2158a1[_0x5d21d7(0x36b)]({'id':_0xedc4af['id'],'params':_0x5d9e90});}break;case _0x3b8531[_0x5d21d7(0x32f)][_0x5d21d7(0x3db)]:{const {oldArea:_0x4d049d,newArea:_0x1124e6,oldIndex:_0x412a9d,newIndex:_0xbe8bef,fieldId:_0x45a017}=_0x2838de,_0x29200f={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldId':_0x45a017,'area':_0x1124e6,'index':_0xbe8bef,'oldArea':_0x4d049d,'oldIndex':_0x412a9d};_0x5e962d[_0x5d21d7(0x396)]({'id':_0x42730c['id'],'params':_0x29200f});const _0x4432b7={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldId':_0x45a017,'area':_0x4d049d,'index':_0x412a9d,'oldArea':_0x1124e6,'oldIndex':_0xbe8bef};_0x2158a1[_0x5d21d7(0x36b)]({'id':_0x42730c['id'],'params':_0x4432b7});}break;case _0x3b8531[_0x5d21d7(0x32f)][_0x5d21d7(0x435)]:{const {oldValuePosition:_0x5ac472,newValuePosition:_0x13e52b,oldIndex:_0x245aec,newIndex:_0x2534fd}=_0x2838de,_0x498363={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'valuePosition':_0x13e52b,'index':_0x2534fd};_0x5e962d[_0x5d21d7(0x396)]({'id':_0x152897['id'],'params':_0x498363});const _0x3bd267={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'valuePosition':_0x5ac472,'index':_0x245aec};_0x2158a1[_0x5d21d7(0x36b)]({'id':_0x152897['id'],'params':_0x3bd267});}break;case _0x3b8531[_0x5d21d7(0x32f)]['SetCollapse']:{const {fieldId:_0x3d1b22,collapse:_0x49283f,item:_0x4fe708}=_0x2838de,_0x2e5d26={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldId':_0x3d1b22,'collapse':_0x49283f,'item':_0x4fe708};_0x5e962d[_0x5d21d7(0x396)]({'id':_0x58f452['id'],'params':_0x2e5d26});const _0xc6754a={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldId':_0x3d1b22,'collapse':!_0x49283f,'item':_0x4fe708};_0x2158a1[_0x5d21d7(0x36b)]({'id':_0x58f452['id'],'params':_0xc6754a});}break;case _0x3b8531[_0x5d21d7(0x32f)][_0x5d21d7(0x472)]:{const {newFormat:_0x18aa08,oldFormat:_0x52019e,fieldId:_0x35a623}=_0x2838de,_0x5091f8={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldId':_0x35a623,'format':_0x18aa08};_0x5e962d[_0x5d21d7(0x396)]({'id':_0x3a6ec9['id'],'params':_0x5091f8});const _0x1f0d26={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldId':_0x35a623,'format':_0x52019e};_0x2158a1[_0x5d21d7(0x36b)]({'id':_0x3a6ec9['id'],'params':_0x1f0d26});}break;case _0x3b8531['PivotTableChangeTypeEnum'][_0x5d21d7(0x311)]:{const {tableFieldId:_0x40d9ea,oldSourceName:_0x34bb89,newSourceName:_0x54099b,oldDataFieldId:_0x5b65f6,newDataFieldId:_0x343530}=_0x2838de,_0x1513ff={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'tableFieldId':_0x40d9ea,'sourceName':_0x54099b,'dataFieldId':_0x343530};_0x5e962d[_0x5d21d7(0x396)]({'id':_0x2e98cc['id'],'params':_0x1513ff});const _0x44cb2d={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'tableFieldId':_0x40d9ea,'sourceName':_0x34bb89,'dataFieldId':_0x5b65f6};_0x2158a1[_0x5d21d7(0x36b)]({'id':_0x2e98cc['id'],'params':_0x44cb2d});}break;case _0x3b8531[_0x5d21d7(0x32f)][_0x5d21d7(0x33e)]:{const {fieldId:_0x3dd65a,filterInfo:_0x3d1bbe,oldFilterInfo:_0x3c0919}=_0x2838de,_0x524ec0={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldId':_0x3dd65a,'filterInfo':_0x3d1bbe};_0x5e962d['push']({'id':_0x47d8da['id'],'params':_0x524ec0});const _0x2164bf={'unitId':_0x51d168,'subUnitId':_0x3a686a,'pivotTableId':_0x574304,'fieldId':_0x3dd65a,'filterInfo':_0x3c0919};_0x2158a1[_0x5d21d7(0x36b)]({'id':_0x47d8da['id'],'params':_0x2164bf});}}return{'redos':_0x5e962d,'undos':_0x2158a1};}function _0x2ebf0a(_0x56e874,_0x468aea){const _0x49da75=_0x489679;var _0x5357d2;const _0x4e5b36=_0x56e874[_0x49da75(0x2a3)](_0x2a78c5['SheetsPivotTableService']),{cellInfo:_0x1e128a,view:_0x2b90ff,isEmpty:_0xaa1751}=_0x468aea;return(_0x5357d2=_0x4e5b36[_0x49da75(0x426)][_0x49da75(0x323)](_0x4b11c5)(_0x7e6769,{'cellInfo':_0x1e128a,'view':_0x2b90ff,'isEmpty':_0xaa1751}))!=null?_0x5357d2:_0x7e6769;}const _0x88b891={'type':_0x12d885[_0x489679(0x3ff)]['COMMAND'],'id':_0x489679(0x331),async 'handler'(_0x17a0dd,_0x281139){const _0x1ec81c=_0x489679;if(!_0x281139)return!0x1;const _0x2a10a3=_0x17a0dd['get'](_0x12d885['ICommandService']),_0x353c1a=_0x17a0dd[_0x1ec81c(0x2a3)](_0x2a78c5[_0x1ec81c(0x261)]),_0xebf9d2=_0x17a0dd['get'](_0x12d885[_0x1ec81c(0x478)]),{pivotTableId:_0x30f06e,dataFieldId:_0x430984,fieldArea:_0x18bd94,index:_0x1836b3,unitId:_0x498300,subUnitId:_0x5da9d6}=_0x281139,_0x2e5061=(await _0x353c1a[_0x1ec81c(0x2d9)]({'unitId':_0x498300,'subUnitId':_0x5da9d6,'pivotTableId':_0x30f06e,'params':{'type':_0x475b7c[_0x1ec81c(0x403)],'addPivotField':{'dataFieldId':_0x430984,'fieldArea':_0x18bd94,'index':_0x1836b3}}}))['result'][_0x1ec81c(0x1cf)];if(!_0x2e5061)return!0x1;const {view:_0x21addd,changesets:_0x5810ec,isEmpty:_0x205317,pivotTableConfig:_0x2ee58d,shouldBeAddedGroupJSON:_0x4a1ba3}=_0x2e5061,_0x42e9bf=_0x2ee58d['targetCellInfo'],_0x10599e=new _0x3b8531[(_0x1ec81c(0x438))]();_0x10599e[_0x1ec81c(0x328)](_0x21addd);const _0x181b8c={'cellInfo':_0x42e9bf,'view':_0x10599e,'isEmpty':_0x205317};if(!await _0x17a0dd[_0x1ec81c(0x2a3)](_0x2a78c5[_0x1ec81c(0x222)])[_0x1ec81c(0x243)][_0x1ec81c(0x4b7)](_0x3cfee6)(!0x0,_0x181b8c))return!0x1;const _0x1a46f3=_0x1d3f54(_0x17a0dd,_0x10599e,_0x42e9bf,_0x205317),_0x498146=_0x2ebf0a(_0x17a0dd,_0x181b8c),{undos:_0x57a936,redos:_0x1fd6a3}=_0x559a1f(_0x2a10a3,{'pivotTableId':_0x30f06e,'unitId':_0x498300,'subUnitId':_0x5da9d6},_0x5810ec);return _0x4a1ba3&&(_0x1fd6a3[_0x1ec81c(0x36b)]({'id':_0x47b9ab['id'],'params':{'pivotTableId':_0x30f06e,'fieldJSON':_0x4a1ba3,'unitId':_0x498300,'subUnitId':_0x5da9d6}}),_0x57a936['push']({'id':_0xb86c82['id'],'params':{'pivotTableId':_0x30f06e,'dataFieldId':_0x4a1ba3['id'],'unitId':_0x498300,'subUnitId':_0x5da9d6}})),_0x12d885[_0x1ec81c(0x251)]([..._0x1a46f3[_0x1ec81c(0x34c)],..._0x498146[_0x1ec81c(0x34c)],..._0x1fd6a3],_0x2a10a3),_0xebf9d2[_0x1ec81c(0x201)]({'unitID':_0x498300,'redoMutations':[..._0x1a46f3['redos'],..._0x498146[_0x1ec81c(0x34c)],..._0x1fd6a3],'undoMutations':[..._0x1a46f3[_0x1ec81c(0x381)],..._0x498146[_0x1ec81c(0x381)],..._0x57a936]}),!0x0;}},_0x550c63=()=>typeof process<'u'&&process[_0x489679(0x4ae)]!=null&&process[_0x489679(0x4ae)][_0x489679(0x1e3)]!=null,_0x37cbf6={'type':_0x12d885[_0x489679(0x3ff)]['MUTATION'],'id':_0x489679(0x35d),'handler'(_0x2b5bd4,_0x2204f6){const _0x1980ff=_0x489679;var _0x13c4fc;if(!_0x2204f6)return!0x1;const _0x2aa4c1=_0x2b5bd4['get'](_0x12d885['IConfigService']);if(!!_0x2aa4c1[_0x1980ff(0x2a5)](_0x45fab7))return!0x0;const _0x87b728=_0x2b5bd4[_0x1980ff(0x2a3)](_0x12d885[_0x1980ff(0x27d)]),_0x5ab360=_0x2b5bd4['get'](_0x2a78c5[_0x1980ff(0x21b)]),{pivotTableId:_0x4a8bf8,pivotTableConfig:_0x3d0581,collectionConfig:_0x355ee0,unitId:_0x461d94,subUnitId:_0x5b1b0b}=_0x2204f6,{sourceRangeInfo:_0x18701b,fieldsConfig:_0x56a394,targetCellInfo:_0x1ca974}=_0x3d0581,_0x1702e1=_0x87b728['getUnit'](_0x461d94);if(!_0x1702e1||!_0x1702e1['getSheetBySheetId'](_0x5b1b0b))return!0x1;if(!_0x550c63()){let _0x1a6866=0x0;_0x1702e1[_0x1980ff(0x3b3)]()[_0x1980ff(0x404)](_0x1e350f=>{const _0x35511e=_0x1980ff;var _0x353cb2,_0x5f0bd0;_0x1a6866+=(_0x5f0bd0=(_0x353cb2=_0x5ab360['getSubUnitPivotConfigs'](_0x461d94,_0x1e350f[_0x35511e(0x427)]()))==null?void 0x0:_0x353cb2[_0x35511e(0x32b)])!=null?_0x5f0bd0:0x0;});const _0x28aaab=(_0x13c4fc=_0x2aa4c1[_0x1980ff(0x2a5)](_0x1abd15['LS_CONFIG_KEY']))!=null?_0x13c4fc:{},{ls:_0x36e871,pbk:_0x57f446}=_0x28aaab;if(!_0x21f2aa(_0x36e871,_0x57f446))throw new _0x12d885[(_0x1980ff(0x3de))](_0x1980ff(0x37a));const _0x773971=_0x3fa75d(_0x183f2a,_0x36e871,_0x57f446)[_0x1980ff(0x301)];if(_0x1a6866>=_0x773971)throw new _0x12d885[(_0x1980ff(0x3de))](_0x1980ff(0x37a));}if(!_0x355ee0||!_0x56a394)return!0x1;const {collection:_0x297a2d,updateDataFieldList:_0x3054b5}=_0x5ab360[_0x1980ff(0x443)](_0x4a8bf8,_0x355ee0,_0x18701b,_0x1ca974);_0x5ab360[_0x1980ff(0x24c)](_0x297a2d,_0x3054b5,_0x18701b);const _0x29d645=new _0x3b8531['PivotTable'](_0x297a2d,void 0x0,_0x4a8bf8);_0x29d645['fromJSON'](_0x56a394);const _0x356d27=JSON[_0x1980ff(0x342)](JSON[_0x1980ff(0x46c)](_0x3d0581));return _0x5ab360[_0x1980ff(0x242)](_0x461d94,_0x5b1b0b,_0x4a8bf8,_0x29d645,_0x356d27),_0x5ab360[_0x1980ff(0x2c8)]({'unitId':_0x461d94,'subUnitId':_0x5b1b0b,'token':_0x4a8bf8,'type':_0xc924d8[_0x1980ff(0x2a4)],'pivotConfig':_0x356d27}),!0x0;}},_0xe7c5b9={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x333)],'id':_0x489679(0x4a9),async 'handler'(_0x4e9434,_0xbba870){const _0x155d85=_0x489679;if(!_0xbba870)return!0x1;const {sourceDataInfo:_0x56a25e,pivotTableConfig:_0x19b992}=_0xbba870;if(!_0x56a25e||!_0x19b992)return!0x1;const {unitId:_0x29485b,subUnitId:_0x42bb99,range:_0x5d5a38}=_0x56a25e,_0x1b0c1c=_0x4e9434[_0x155d85(0x2a3)](_0x12d885[_0x155d85(0x27d)]),_0x55cc7b=_0x4e9434[_0x155d85(0x2a3)](_0x2a78c5[_0x155d85(0x261)]),_0x3142ab=_0x4e9434[_0x155d85(0x2a3)](_0x12d885['LocaleService']),_0x37e8bb=_0x4e9434[_0x155d85(0x2a3)](_0x12d885['ICommandService']),_0x1b6359=_0x1b0c1c[_0x155d85(0x2ea)](_0x29485b);if(!_0x1b6359)return!0x1;const _0x4b75eb=_0x1b6359[_0x155d85(0x4cd)](_0x42bb99);if(!_0x4b75eb)return!0x1;const _0x1ebc53=_0x3b8531['generateHexNumber'](0x8),_0x23a77e=_0x5d5a38||{'startRow':0x0,'startColumn':0x0,'endRow':_0x4b75eb[_0x155d85(0x31c)]()-0x1,'endColumn':_0x4b75eb[_0x155d85(0x415)]()-0x1};_0x23a77e[_0x155d85(0x41f)]=_0x12d885[_0x155d85(0x4c4)]['NORMAL'];const _0x587113=(await _0x55cc7b['getPivotDisplayConfig']({'unitId':_0x29485b,'subUnitId':_0x42bb99,'pivotTableId':_0x1ebc53,'params':{'type':_0x475b7c[_0x155d85(0x268)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x29485b,'sheetName':_0x4b75eb[_0x155d85(0x369)](),'subUnitId':_0x42bb99,'range':_0x23a77e},'pivotTableId':_0x1ebc53,'pivotTableIndexConfig':_0x19b992}}}))[_0x155d85(0x22f)][_0x155d85(0x263)];if(!_0x587113)return!0x1;const {isEmpty:_0x5da412,fieldsConfig:_0x4d5b96,collectionConfig:_0x101b57,changesets:_0x3e674a}=_0x587113,_0x6890a1=_0x1b6359['getSheets']()[_0x155d85(0x4d6)],_0x180cf1=_0x12d885[_0x155d85(0x4a8)]({'rowCount':_0x4b75eb[_0x155d85(0x31c)]()-0x1,'columnCount':_0x4b75eb['getColumnCount']()-0x1});_0x180cf1['id']=_0x12d885[_0x155d85(0x274)](),_0x180cf1[_0x155d85(0x414)]=_0x1b6359[_0x155d85(0x1d6)](''+_0x3142ab['t'](_0x155d85(0x3d7)));const _0x19d62f={'index':_0x6890a1,'sheet':_0x180cf1,'unitId':_0x29485b},{redos:_0x4ea726}=_0x559a1f(_0x37e8bb,{'pivotTableId':_0x1ebc53,'unitId':_0x29485b,'subUnitId':_0x180cf1['id']},_0x3e674a),_0x421b16=[{'id':_0x28e907[_0x155d85(0x419)]['id'],'params':_0x19d62f},{'id':_0x37cbf6['id'],'params':{'unitId':_0x29485b,'subUnitId':_0x180cf1['id'],'pivotTableId':_0x1ebc53,'pivotTableConfig':{'isEmpty':_0x5da412,'fieldsConfig':_0x4d5b96,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x29485b,'subUnitId':_0x180cf1['id']},'sourceRangeInfo':{'subUnitId':_0x42bb99,'unitId':_0x29485b,'range':_0x23a77e,'sheetName':_0x4b75eb[_0x155d85(0x369)]()}},'collectionConfig':_0x101b57}},..._0x4ea726];return _0x12d885[_0x155d85(0x251)](_0x421b16,_0x37e8bb),!0x0;}},_0x566b44={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x3df)],'id':_0x489679(0x36e),'handler'(_0x2b5c0c,_0x2ab5a9){const _0x2603b6=_0x489679;if(!_0x2ab5a9)return!0x1;if(!!_0x2b5c0c[_0x2603b6(0x2a3)](_0x12d885[_0x2603b6(0x244)])['getConfig'](_0x45fab7))return!0x0;const {pivotTableId:_0x22c3dc,unitId:_0x427bb5,subUnitId:_0x867d4f}=_0x2ab5a9,_0x50f4b4=_0x2b5c0c[_0x2603b6(0x2a3)](_0x2a78c5['SheetsPivotDataSourceModel']);return _0x50f4b4['getPivotTableConfig'](_0x427bb5,_0x867d4f,_0x22c3dc)?(_0x50f4b4['addDirtyPivotTable']({'unitId':_0x427bb5,'subUnitId':_0x867d4f,'token':_0x22c3dc,'type':_0xc924d8[_0x2603b6(0x320)]}),_0x50f4b4['removePivotTable'](_0x427bb5,_0x867d4f,_0x22c3dc),!0x0):!0x1;}},_0x405e9e={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x333)],'id':_0x489679(0x226),async 'handler'(_0x4a20f6,_0x3648f4){const _0x4b710b=_0x489679;var _0x12ecc1,_0x2d520c;const _0x1d44d2=_0x4a20f6[_0x4b710b(0x2a3)](_0x12d885['ICommandService']),_0x1fc683=_0x4a20f6[_0x4b710b(0x2a3)](_0x12d885[_0x4b710b(0x27d)]),_0x25feeb=_0x4a20f6[_0x4b710b(0x2a3)](_0x12d885[_0x4b710b(0x3f3)]),_0x4fea00=_0x4a20f6['get'](_0x2a78c5[_0x4b710b(0x261)]),_0x5f0ceb=_0x4a20f6[_0x4b710b(0x2a3)](_0x12d885[_0x4b710b(0x478)]),_0x104f37=_0x4a20f6['get'](_0x2a78c5[_0x4b710b(0x1ce)]),_0x33d130=_0x4a20f6['get'](_0x12d885[_0x4b710b(0x244)]);if(!_0x3648f4)return!0x1;const {pivotTableConfig:_0x1b8363,positionType:_0x4c73db}=_0x3648f4,{targetCellInfo:_0x2d2dc8,sourceRangeInfo:_0x6cff1}=_0x1b8363,{unitId:_0x4fe21b,subUnitId:_0x2cdafa}=_0x2d2dc8,_0x4a0b45=_0x1fc683[_0x4b710b(0x2ea)](_0x4fe21b);if(!_0x4a0b45)return!0x1;let _0x2866d9=0x0;_0x4a0b45[_0x4b710b(0x3b3)]()[_0x4b710b(0x404)](_0x36399e=>{const _0x53b8df=_0x4b710b;var _0x23a269,_0x574878;_0x2866d9+=(_0x574878=(_0x23a269=_0x104f37[_0x53b8df(0x32c)](_0x4fe21b,_0x36399e[_0x53b8df(0x427)]()))==null?void 0x0:_0x23a269[_0x53b8df(0x32b)])!=null?_0x574878:0x0;});const _0xd1d27f=(_0x12ecc1=_0x33d130[_0x4b710b(0x2a5)](_0x1abd15['LS_CONFIG_KEY']))!=null?_0x12ecc1:{},{ls:_0x422334,pbk:_0xa6680f}=_0xd1d27f;if(!_0x21f2aa(_0x422334,_0xa6680f))return!0x1;const _0xe8a2d9=_0x3fa75d(_0x183f2a,_0x422334,_0xa6680f)['count'];if(_0x2866d9>=_0xe8a2d9)return!0x1;const _0x367dc3=_0x3648f4[_0x4b710b(0x4a5)]||_0x3b8531[_0x4b710b(0x2a7)](0x8),_0x247afe=(await _0x4fea00['getPivotDisplayConfig']({'unitId':_0x4fe21b,'subUnitId':_0x2cdafa,'pivotTableId':_0x367dc3,'params':{'type':_0x475b7c[_0x4b710b(0x4be)],'addPivotTable':{'sourceRangeInfo':_0x6cff1,'pivotTableId':_0x367dc3}}}))[_0x4b710b(0x22f)][_0x4b710b(0x242)];if(!_0x247afe)return!0x1;const {view:_0x29af1a,isEmpty:_0x18bb15,fieldsConfig:_0x2ba1d1,collectionConfig:_0x4da7a3}=_0x247afe,_0x4c5b88=[],_0x41036d=[];if(_0x4c73db===_0x455057[_0x4b710b(0x252)]){const _0x5cf632=_0x4a0b45['getSheets']()[_0x4b710b(0x4d6)],_0x35d9d3=_0x12d885[_0x4b710b(0x4a8)]({});_0x35d9d3['id']=_0x1b8363[_0x4b710b(0x26b)][_0x4b710b(0x41a)],_0x35d9d3[_0x4b710b(0x414)]=(_0x2d520c=_0x1b8363['targetCellInfo'][_0x4b710b(0x2ca)])!=null?_0x2d520c:_0x4a0b45[_0x4b710b(0x1d6)](''+_0x25feeb['t'](_0x4b710b(0x3d7)));const _0x472669={'index':_0x5cf632,'sheet':_0x35d9d3,'unitId':_0x4fe21b},_0xf2bdc0=_0x28e907['InsertSheetUndoMutationFactory'](_0x4a20f6,_0x472669);_0x4c5b88[_0x4b710b(0x396)]({'id':_0x28e907[_0x4b710b(0x44e)]['id'],'params':_0xf2bdc0}),_0x41036d[_0x4b710b(0x396)]({'id':_0x28e907[_0x4b710b(0x363)]['id'],'params':_0x472669});}else{if(!_0x4a0b45[_0x4b710b(0x4cd)](_0x2cdafa))return!0x1;const _0x36f2dc=_0x1d3f54(_0x4a20f6,new _0x3b8531['PivotView'](),_0x2d2dc8,!0x0);_0x41036d['push'](..._0x36f2dc['redos']),_0x4c5b88[_0x4b710b(0x396)](..._0x36f2dc[_0x4b710b(0x381)]);const _0x107d61={'cellInfo':_0x2d2dc8,'view':_0x29af1a,'isEmpty':_0x18bb15};if(!await _0x4a20f6['get'](_0x2a78c5['SheetsPivotTableService'])[_0x4b710b(0x243)][_0x4b710b(0x4b7)](_0x3cfee6)(!0x0,_0x107d61))return!0x1;const _0x1bad5c=_0x2ebf0a(_0x4a20f6,_0x107d61);_0x41036d[_0x4b710b(0x396)](..._0x1bad5c[_0x4b710b(0x34c)]),_0x4c5b88[_0x4b710b(0x396)](..._0x1bad5c[_0x4b710b(0x381)]);}return _0x41036d[_0x4b710b(0x396)]({'id':_0x37cbf6['id'],'params':{'unitId':_0x2d2dc8[_0x4b710b(0x437)],'subUnitId':_0x2d2dc8[_0x4b710b(0x41a)],'pivotTableId':_0x367dc3,'pivotTableConfig':{'targetCellInfo':_0x2d2dc8,'sourceRangeInfo':_0x6cff1,'fieldsConfig':_0x2ba1d1},'collectionConfig':_0x4da7a3}}),_0x4c5b88[_0x4b710b(0x36b)]({'id':_0x566b44['id'],'params':{'unitId':_0x4fe21b,'subUnitId':_0x2cdafa,'pivotTableId':_0x367dc3}}),_0x12d885[_0x4b710b(0x251)](_0x41036d,_0x1d44d2)&&_0x5f0ceb['pushUndoRedo']({'unitID':_0x4fe21b,'undoMutations':_0x4c5b88,'redoMutations':_0x41036d}),!0x0;}},_0x3eccec={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x333)],'id':_0x489679(0x308),async 'handler'(_0x105120,_0x11e078){const _0x3b2c5a=_0x489679;if(!_0x11e078)return!0x1;const _0x5ed161=_0x105120[_0x3b2c5a(0x2a3)](_0x12d885['ICommandService']),_0x1ce5a=_0x105120[_0x3b2c5a(0x2a3)](_0x2a78c5[_0x3b2c5a(0x261)]),_0x344554=_0x105120[_0x3b2c5a(0x2a3)](_0x12d885['IUndoRedoService']),{pivotTableId:_0x28504f,fieldId:_0x5f241,area:_0x400494,index:_0x39218b,unitId:_0x525ab9,subUnitId:_0x33a7ec}=_0x11e078,_0x1655c5=(await _0x1ce5a['getPivotDisplayConfig']({'unitId':_0x525ab9,'subUnitId':_0x33a7ec,'pivotTableId':_0x28504f,'params':{'type':_0x475b7c[_0x3b2c5a(0x4e0)],'movePivotField':{'fieldId':_0x5f241,'area':_0x400494,'index':_0x39218b}}}))[_0x3b2c5a(0x22f)]['movePivotField'];if(!_0x1655c5)return!0x1;const {changesets:_0x5d8843,view:_0x479378,isEmpty:_0x1878b3,pivotTableConfig:_0x58104f}=_0x1655c5,_0x444222=_0x58104f['targetCellInfo'],_0x1022eb=new _0x3b8531[(_0x3b2c5a(0x438))]();_0x1022eb[_0x3b2c5a(0x328)](_0x479378);const _0x2cf54c={'cellInfo':_0x444222,'view':_0x1022eb,'isEmpty':_0x1878b3};if(!await _0x105120[_0x3b2c5a(0x2a3)](_0x2a78c5[_0x3b2c5a(0x222)])[_0x3b2c5a(0x243)]['fetchThroughAsyncInterceptors'](_0x3cfee6)(!0x0,_0x2cf54c))return!0x1;const _0x471a8=_0x1d3f54(_0x105120,_0x1022eb,_0x444222,_0x1878b3),_0x160bf6=_0x2ebf0a(_0x105120,_0x2cf54c),{redos:_0x55a962,undos:_0x3597b1}=_0x559a1f(_0x5ed161,{'pivotTableId':_0x28504f,'unitId':_0x525ab9,'subUnitId':_0x33a7ec},_0x5d8843);return _0x12d885[_0x3b2c5a(0x251)]([..._0x471a8[_0x3b2c5a(0x34c)],..._0x160bf6[_0x3b2c5a(0x34c)],..._0x55a962],_0x5ed161),_0x344554[_0x3b2c5a(0x201)]({'unitID':_0x525ab9,'redoMutations':[..._0x471a8[_0x3b2c5a(0x34c)],..._0x160bf6[_0x3b2c5a(0x34c)],..._0x55a962],'undoMutations':[..._0x471a8['undos'],..._0x160bf6['undos'],..._0x3597b1]}),!0x0;}},_0x5615ed={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x3df)],'id':_0x489679(0x3da),'handler'(_0x20007c,_0x32ec32){const _0x49704d=_0x489679;if(!_0x32ec32)return!0x1;if(!!_0x20007c['get'](_0x12d885[_0x49704d(0x244)])[_0x49704d(0x2a5)](_0x45fab7))return!0x0;const {pivotTableId:_0x49f61e,targetCellPosition:_0x19d707,unitId:_0x21d597,subUnitId:_0x495301}=_0x32ec32,_0x3ed892=_0x20007c[_0x49704d(0x2a3)](_0x2a78c5[_0x49704d(0x21b)]);if(!_0x3ed892[_0x49704d(0x218)](_0x32ec32[_0x49704d(0x4a5)]))return!0x1;const _0x58d8cb=_0x3ed892[_0x49704d(0x233)](_0x49f61e);if(!_0x58d8cb)return!0x1;const _0x658202=_0x3ed892['getCollection'](_0x58d8cb[_0x49704d(0x437)],_0x32ec32[_0x49704d(0x4a5)]);if(!_0x658202)return!0x1;const _0x40e6d9=_0x3ed892[_0x49704d(0x231)](_0x58d8cb[_0x49704d(0x437)],_0x58d8cb[_0x49704d(0x41a)],_0x49f61e);if(!_0x40e6d9)return!0x1;const _0x3eb8e4=_0x12d885['Tools'][_0x49704d(0x318)](_0x40e6d9);_0x3eb8e4[_0x49704d(0x26b)]={'unitId':_0x21d597,'subUnitId':_0x495301,'row':_0x19d707[_0x49704d(0x42b)],'col':_0x19d707[_0x49704d(0x2b8)]};const _0x284c26=_0x658202[_0x49704d(0x485)]();if(_0x58d8cb[_0x49704d(0x41a)]===_0x495301&&_0x58d8cb[_0x49704d(0x437)]===_0x21d597)_0x3ed892[_0x49704d(0x2a0)](_0x21d597,_0x495301,_0x49f61e,_0x3eb8e4),_0x3ed892[_0x49704d(0x2c8)]({'unitId':_0x21d597,'subUnitId':_0x495301,'token':_0x49f61e,'type':_0xc924d8['Set']});else{_0x3ed892[_0x49704d(0x2c8)]({'unitId':_0x58d8cb['unitId'],'subUnitId':_0x58d8cb[_0x49704d(0x41a)],'token':_0x49f61e,'type':_0xc924d8[_0x49704d(0x320)]}),_0x3ed892[_0x49704d(0x4bf)](_0x58d8cb[_0x49704d(0x437)],_0x58d8cb[_0x49704d(0x41a)],_0x49f61e);const _0x36e485=_0x3ed892['addCollectionByJSON'](_0x49f61e,_0x284c26,_0x40e6d9['sourceRangeInfo'],_0x3eb8e4[_0x49704d(0x26b)]),_0x56b2a7=new _0x3b8531[(_0x49704d(0x4e5))](_0x36e485[_0x49704d(0x41e)],void 0x0,_0x49f61e);_0x56b2a7[_0x49704d(0x492)](_0x3eb8e4[_0x49704d(0x3f8)]),_0x3ed892[_0x49704d(0x242)](_0x21d597,_0x495301,_0x49f61e,_0x56b2a7,_0x3eb8e4),_0x3ed892[_0x49704d(0x2c8)]({'unitId':_0x21d597,'subUnitId':_0x495301,'token':_0x49f61e,'type':_0xc924d8[_0x49704d(0x2a4)],'pivotConfig':_0x3eb8e4});}return!0x0;}},_0x49b59b={'type':_0x12d885[_0x489679(0x3ff)]['COMMAND'],'id':'sheet.command.move-pivot-table','handler':(_0x443286,_0x2ab69b)=>{const _0x31b1e9=_0x489679,_0x5aedbc=_0x443286[_0x31b1e9(0x2a3)](_0x12d885['ICommandService']),_0x2165e9=_0x443286[_0x31b1e9(0x2a3)](_0x12d885[_0x31b1e9(0x478)]),_0x5f30d0=_0x443286[_0x31b1e9(0x2a3)](_0x2a78c5[_0x31b1e9(0x1ce)]),_0x438f9e=_0x443286['get'](_0x12d885[_0x31b1e9(0x27d)]);if(!_0x2ab69b)return!0x1;const _0x5ac66c=_0x28e907[_0x31b1e9(0x235)](_0x438f9e);if(!_0x5ac66c)return!0x1;const {unitId:_0x51fa33,subUnitId:_0x2fa34e,workbook:_0x40c9e4}=_0x5ac66c,_0x39e831=_0x5f30d0[_0x31b1e9(0x231)](_0x2ab69b[_0x31b1e9(0x447)][_0x31b1e9(0x437)],_0x2ab69b[_0x31b1e9(0x447)][_0x31b1e9(0x41a)],_0x2ab69b[_0x31b1e9(0x4a5)]);if(!_0x39e831)return!0x1;const _0x34df6f=_0x40c9e4[_0x31b1e9(0x4cd)](_0x2ab69b['targetCellInfo'][_0x31b1e9(0x41a)]);if(!_0x34df6f)throw new Error(_0x31b1e9(0x48d));const _0x51973d=_0x34df6f[_0x31b1e9(0x31c)](),_0x3d7623=_0x34df6f[_0x31b1e9(0x415)]();if(_0x2ab69b[_0x31b1e9(0x26b)]['row']>_0x51973d||_0x2ab69b[_0x31b1e9(0x26b)][_0x31b1e9(0x2b8)]>_0x3d7623)throw new Error(_0x31b1e9(0x312));const _0x5a5435=[{'id':_0x5615ed['id'],'params':{'unitId':_0x51fa33,'subUnitId':_0x2ab69b[_0x31b1e9(0x26b)][_0x31b1e9(0x41a)],'pivotTableId':_0x2ab69b[_0x31b1e9(0x4a5)],'targetCellPosition':{'row':_0x2ab69b[_0x31b1e9(0x26b)]['row'],'col':_0x2ab69b[_0x31b1e9(0x26b)]['col']}}}],_0x3d17f5=[{'id':_0x5615ed['id'],'params':{'unitId':_0x51fa33,'subUnitId':_0x2fa34e,'pivotTableId':_0x2ab69b['pivotTableId'],'targetCellPosition':{'row':_0x39e831[_0x31b1e9(0x26b)][_0x31b1e9(0x42b)],'col':_0x39e831[_0x31b1e9(0x26b)][_0x31b1e9(0x2b8)]}}}];return _0x12d885[_0x31b1e9(0x251)](_0x5a5435,_0x5aedbc)&&_0x2165e9[_0x31b1e9(0x201)]({'unitID':_0x51fa33,'undoMutations':_0x3d17f5,'redoMutations':_0x5a5435}),!0x0;}},_0x9e42d1={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x333)],'id':_0x489679(0x3ab),async 'handler'(_0x52d001,_0x242dd0){const _0x10e047=_0x489679;var _0x3192e0;if(!_0x242dd0)return!0x1;const _0x3d4936=_0x52d001[_0x10e047(0x2a3)](_0x12d885[_0x10e047(0x27d)]),_0x55ae03=_0x28e907[_0x10e047(0x235)](_0x3d4936);if(!_0x55ae03)return!0x1;const {unitId:_0xadd0a9,subUnitId:_0x142448,workbook:_0x5c9426}=_0x55ae03,{row:_0x3c2e8f,col:_0x519f27}=_0x242dd0,_0x2d04d3=_0x52d001[_0x10e047(0x2a3)](_0x2a78c5[_0x10e047(0x44c)]),_0x1cdc25=_0x2d04d3['getPivotTableIdByCell'](_0xadd0a9,_0x142448,_0x3c2e8f,_0x519f27);if(!_0x1cdc25)return!0x1;const _0x2d0bca=(_0x3192e0=_0x2d04d3['getPivotItemRenderInfoCache'](_0xadd0a9,_0x142448,_0x1cdc25))==null?void 0x0:_0x3192e0[_0x10e047(0x230)];if(!_0x2d0bca)return!0x1;const _0x3a77f6=_0x52d001['get'](_0x2a78c5[_0x10e047(0x1ce)])['getPivotTableConfig'](_0xadd0a9,_0x142448,_0x1cdc25);if(!_0x3a77f6)return!0x1;const {rowInfo:_0x3b14af,colInfo:_0x489480}=_0x2d0bca,_0x7b69d6=_0x3b14af[_0x3c2e8f][_0x10e047(0x3ad)],_0x345b55=_0x489480[_0x519f27][_0x10e047(0x3ad)],_0x1f5537=_0x3b14af[_0x3c2e8f]['level'],_0x19be95=_0x489480[_0x519f27][_0x10e047(0x32a)],_0x35c4a2=_0x7b69d6[_0x10e047(0x351)](_0x345b55),_0x2c979d=_0x3a77f6[_0x10e047(0x3f8)]['rowFields'][_0x10e047(0x457)](0x0,_0x1f5537),_0x47bde6=_0x3a77f6[_0x10e047(0x3f8)]['columnFields']['slice'](0x0,_0x19be95),_0x29f8e6=_0x2c979d['concat'](_0x47bde6),_0x43d4cf=_0x35c4a2[_0x10e047(0x4c0)]((_0x5cbe25,_0x544f35)=>[_0x5cbe25,_0x29f8e6[_0x544f35]]),_0x5c7f43=(await _0x52d001[_0x10e047(0x2a3)](_0x2a78c5[_0x10e047(0x261)])[_0x10e047(0x2d9)]({'unitId':_0xadd0a9,'subUnitId':_0x142448,'pivotTableId':_0x1cdc25,'params':{'type':_0x475b7c['DrillDown'],'drillDown':{'tuple':_0x43d4cf}}}))[_0x10e047(0x22f)][_0x10e047(0x409)];if(!_0x5c7f43)return!0x1;const {indexes:_0x8abc8,range:_0x4d3037,sourceUnitId:_0x19edc2,sourceSubUnitId:_0x53ea27,formatMap:_0x5b8644}=_0x5c7f43,{startRow:_0x327734,endRow:_0x37e68e,startColumn:_0x394b58,endColumn:_0x3394f4}=_0x4d3037,_0x4670c3=new _0x12d885[(_0x10e047(0x3d9))](),_0x563183=_0x37e68e-_0x327734,_0x254e55=_0x3394f4-_0x394b58,_0x119adb={},_0x46cb3c=_0x28e907['getSheetCommandTarget'](_0x3d4936,{'unitId':_0x19edc2,'subUnitId':_0x53ea27});if(!_0x46cb3c)return!0x1;const _0x151157=_0x5de2ba[_0x10e047(0x388)],_0x8338eb=_0x5de2ba[_0x10e047(0x439)],_0x286bed=_0x5de2ba[_0x10e047(0x439)],_0x16d911=_0x5c9426[_0x10e047(0x440)]()[_0x10e047(0x29a)](_0x151157),_0x1b2a76=_0x5c9426['getStyles']()['setValue'](_0x8338eb),_0x2a5c82=_0x5c9426[_0x10e047(0x440)]()[_0x10e047(0x29a)](_0x286bed),{worksheet:_0x504161}=_0x46cb3c;let _0x276ef2=0x0;const _0x9b85c6=0x1;_0x8abc8[_0x10e047(0x404)](_0x1f94c0=>{const _0x333273=_0x10e047;for(let _0x4b2d32=0x0;_0x4b2d32<=_0x3394f4-_0x394b58;_0x4b2d32++)_0x4670c3['setValue'](_0x276ef2,_0x4b2d32,_0x504161[_0x333273(0x47f)](_0x1f94c0+_0x4d3037[_0x333273(0x2f4)]+_0x9b85c6,_0x4b2d32));_0x276ef2++;});for(let _0x50c6c1=_0x394b58;_0x50c6c1<=_0x3394f4;_0x50c6c1++){const _0xdd95c8=_0x504161['getCellRaw'](_0x327734,_0x50c6c1);_0x119adb[_0x327734]||(_0x119adb[_0x327734]={}),_0x119adb[_0x327734][_0x50c6c1]={..._0xdd95c8,'s':_0x16d911};}let _0x846eaa=0x1;const _0x7be105={},_0x4355d9={};_0x4670c3[_0x10e047(0x43c)]((_0x3deec6,_0x1a9d6a)=>{const _0x1ce89a=_0x10e047;_0x1a9d6a[_0x1ce89a(0x404)](_0xcf6a33=>{const _0x10a387=_0x1ce89a,_0x1ccf7c=_0x4670c3[_0x10a387(0x452)](_0x3deec6,_0xcf6a33);if(_0x119adb[_0x846eaa]||(_0x119adb[_0x846eaa]={}),_0x119adb[_0x846eaa][_0xcf6a33]={..._0x1ccf7c,'s':_0x846eaa%0x2===0x0?_0x2a5c82:_0x1b2a76},_0x5b8644[_0xcf6a33]&&_0x3deec6>=0x0){const _0x278174=_0x846eaa%0x2===0x0;let _0x12259b=_0x278174?_0x4355d9[_0xcf6a33]:_0x7be105[_0xcf6a33];_0x12259b||(_0x12259b=_0x5c9426[_0x10a387(0x440)]()['setValue']({..._0x278174?_0x286bed:_0x8338eb,'n':{'pattern':_0x5b8644[_0xcf6a33]}}),_0x278174?_0x4355d9[_0xcf6a33]=_0x12259b:_0x7be105[_0xcf6a33]=_0x12259b),_0x119adb[_0x846eaa][_0xcf6a33]['s']=_0x12259b;}}),_0x846eaa++;});const _0xa936a1=new _0x12d885[(_0x10e047(0x3d9))](_0x119adb),_0xc26fd0={};_0xa936a1['forValue']((_0x56e040,_0x3d68a9,_0x2f854b)=>{_0xc26fd0[_0x56e040]||(_0xc26fd0[_0x56e040]={}),_0xc26fd0[_0x56e040][_0x3d68a9]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x3e208a=[],_0x399719=[],_0x4661ab=_0x5c9426[_0x10e047(0x3b3)]()['length'],_0x256ac3=_0x12d885['mergeWorksheetSnapshotWithDefault']({'rowCount':Math[_0x10e047(0x3fe)](_0x12d885['DEFAULT_WORKSHEET_ROW_COUNT'],_0x563183+0xa),'columnCount':Math[_0x10e047(0x3fe)](_0x12d885[_0x10e047(0x382)],_0x254e55+0x5)}),_0x552814=_0x52d001['get'](_0x12d885[_0x10e047(0x3f3)]);_0x256ac3['id']=_0x12d885[_0x10e047(0x274)](),_0x256ac3[_0x10e047(0x414)]=_0x5c9426['generateNewSheetName'](''+_0x552814['t'](_0x10e047(0x3d7)));const _0x4ebbd9={'index':_0x4661ab,'sheet':_0x256ac3,'unitId':_0xadd0a9},_0x4f4284=_0x28e907[_0x10e047(0x473)](_0x52d001,_0x4ebbd9);_0x399719[_0x10e047(0x396)]({'id':_0x28e907[_0x10e047(0x363)]['id'],'params':_0x4ebbd9}),_0x3e208a['push']({'id':_0x28e907[_0x10e047(0x44e)]['id'],'params':_0x4f4284}),_0x399719[_0x10e047(0x396)]({'id':_0x28e907[_0x10e047(0x451)]['id'],'params':{'unitId':_0xadd0a9,'subUnitId':_0x256ac3['id'],'cellValue':_0x119adb}}),_0x3e208a[_0x10e047(0x36b)]({'id':_0x28e907[_0x10e047(0x451)]['id'],'params':{'unitId':_0xadd0a9,'subUnitId':_0x256ac3['id'],'cellValue':_0xc26fd0}});const _0x1a5f5f={'startRow':0x0,'startColumn':0x0,'endRow':_0x846eaa-0x1,'endColumn':_0x3394f4};_0x399719[_0x10e047(0x396)]({'id':_0x29e0a4['SetSheetsFilterRangeMutation']['id'],'params':{'unitId':_0xadd0a9,'subUnitId':_0x256ac3['id'],'range':_0x1a5f5f}}),_0x3e208a[_0x10e047(0x36b)]({'id':_0x29e0a4[_0x10e047(0x4bb)]['id'],'params':{'unitId':_0xadd0a9,'subUnitId':_0x256ac3['id']}});const _0x4cb09d=_0x52d001[_0x10e047(0x2a3)](_0x12d885[_0x10e047(0x300)]);return _0x12d885['sequenceExecute'](_0x399719,_0x4cb09d)&&_0x52d001[_0x10e047(0x2a3)](_0x12d885[_0x10e047(0x478)])['pushUndoRedo']({'unitID':_0xadd0a9,'undoMutations':_0x3e208a,'redoMutations':_0x399719}),!0x0;}},_0x593dfb={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x333)],'id':_0x489679(0x37d),async 'handler'(_0x336384,_0x17f12f){const _0x4bbae6=_0x489679;if(!_0x17f12f)return!0x1;const _0x5937a7=_0x336384[_0x4bbae6(0x2a3)](_0x12d885[_0x4bbae6(0x300)]),_0x4b34ff=_0x336384[_0x4bbae6(0x2a3)](_0x2a78c5[_0x4bbae6(0x261)]),_0x341620=_0x336384[_0x4bbae6(0x2a3)](_0x12d885['IUndoRedoService']),{pivotTableId:_0x186080,fieldIds:_0x52b133,unitId:_0x2ac93a,subUnitId:_0x3da682}=_0x17f12f,_0x4035da=(await _0x4b34ff[_0x4bbae6(0x2d9)]({'unitId':_0x2ac93a,'subUnitId':_0x3da682,'pivotTableId':_0x186080,'params':{'type':_0x475b7c[_0x4bbae6(0x2bd)],'removePivotField':{'fieldIds':_0x52b133}}}))[_0x4bbae6(0x22f)][_0x4bbae6(0x42f)];if(!_0x4035da)return!0x1;const {view:_0x57e803,changesets:_0x3165cf,isEmpty:_0x4e2402,pivotTableConfig:_0x30916b}=_0x4035da,_0x4fb78b=_0x30916b[_0x4bbae6(0x26b)],_0x5e7e9b=new _0x3b8531['PivotView']();_0x5e7e9b['formJSON'](_0x57e803);const _0x5a1e0a={'cellInfo':_0x4fb78b,'view':_0x5e7e9b,'isEmpty':_0x4e2402};if(!await _0x336384[_0x4bbae6(0x2a3)](_0x2a78c5[_0x4bbae6(0x222)])['asyncInterceptor'][_0x4bbae6(0x4b7)](_0x3cfee6)(!0x0,_0x5a1e0a))return!0x1;const _0x235ca4=_0x1d3f54(_0x336384,_0x5e7e9b,_0x4fb78b,_0x4e2402),_0x1868df=_0x2ebf0a(_0x336384,_0x5a1e0a),{redos:_0x3f2eaa,undos:_0xc9c565}=_0x559a1f(_0x5937a7,{'pivotTableId':_0x186080,'unitId':_0x2ac93a,'subUnitId':_0x3da682},_0x3165cf);return _0x12d885[_0x4bbae6(0x251)]([..._0x235ca4[_0x4bbae6(0x34c)],..._0x1868df['redos'],..._0x3f2eaa],_0x5937a7),_0x341620[_0x4bbae6(0x201)]({'unitID':_0x2ac93a,'redoMutations':[..._0x235ca4[_0x4bbae6(0x34c)],..._0x1868df[_0x4bbae6(0x34c)],..._0x3f2eaa],'undoMutations':[..._0x235ca4[_0x4bbae6(0x381)],..._0x1868df[_0x4bbae6(0x381)],..._0xc9c565]}),!0x0;}},_0x16caf1={'type':_0x12d885['CommandType'][_0x489679(0x333)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x9511fc,_0x419cd9){const _0x2fddf1=_0x489679;if(!_0x419cd9)return!0x1;const _0x9373b8=_0x9511fc[_0x2fddf1(0x2a3)](_0x12d885[_0x2fddf1(0x300)]),_0x1f5f48=_0x9511fc[_0x2fddf1(0x2a3)](_0x12d885[_0x2fddf1(0x478)]),_0x252e11=_0x9511fc[_0x2fddf1(0x2a3)](_0x2a78c5[_0x2fddf1(0x261)]),{resetArea:_0x41aabc,pivotTableId:_0x3aa029,unitId:_0x368d56,subUnitId:_0x5126f1}=_0x419cd9,_0x419c30=(await _0x252e11[_0x2fddf1(0x2d9)]({'unitId':_0x368d56,'subUnitId':_0x5126f1,'pivotTableId':_0x3aa029,'params':{'type':_0x475b7c[_0x2fddf1(0x3c9)],'resetPivotTable':{'pivotTableId':_0x3aa029,'resetArea':_0x41aabc}}}))['result'][_0x2fddf1(0x241)];if(!_0x419c30)return!0x1;const {changesets:_0x20b616}=_0x419c30,{redos:_0x1bd1a6,undos:_0x102de1}=_0x559a1f(_0x9373b8,{'pivotTableId':_0x3aa029,'unitId':_0x368d56,'subUnitId':_0x5126f1},_0x20b616);return _0x12d885[_0x2fddf1(0x251)](_0x1bd1a6,_0x9373b8),_0x1f5f48[_0x2fddf1(0x201)]({'unitID':_0x368d56,'redoMutations':_0x1bd1a6,'undoMutations':_0x102de1}),!0x0;}},_0x3d8dfe={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x333)],'id':_0x489679(0x2ba),async 'handler'(_0x214576,_0x40f082){const _0x397e77=_0x489679,_0x46f1ca=_0x214576[_0x397e77(0x2a3)](_0x12d885['ICommandService']),_0x51a85d=_0x214576[_0x397e77(0x2a3)](_0x2a78c5['SheetsPivotRPCService']),_0x17e33f=_0x214576[_0x397e77(0x2a3)](_0x2a78c5[_0x397e77(0x44c)]),_0x20b241=_0x214576[_0x397e77(0x2a3)](_0x12d885[_0x397e77(0x27d)]),_0x1fa61e=_0x214576[_0x397e77(0x2a3)](_0x12d885['LocaleService']),_0xd0b684=_0x214576['get'](_0x12d885['IUndoRedoService']);if(!_0x40f082)return!0x1;const {unitId:_0x301ca6,subUnitId:_0x4e61c1,row:_0x28426e,col:_0x323595,collapse:_0x50d1d9}=_0x40f082,_0x3e79b2=_0x20b241['getUnit'](_0x301ca6);if(!_0x3e79b2||!_0x3e79b2['getSheetBySheetId'](_0x4e61c1))return!0x1;const _0x5a95eb=_0x17e33f[_0x397e77(0x4a1)](_0x301ca6,_0x4e61c1,_0x28426e,_0x323595);if(!_0x5a95eb)return!0x1;const _0x29a7fa=_0x17e33f['getPivotItemRenderInfoCache'](_0x301ca6,_0x4e61c1,_0x5a95eb);if(!_0x29a7fa)return!0x1;const _0x27abf8=_0x12d885[_0x397e77(0x3e8)](_0x28426e,_0x323595),{rangesInfo:_0x5c4eb9,areaInfo:_0x3babe3,headerMap:_0x2c2b7c}=_0x29a7fa;if(!_0x5c4eb9||!_0x3babe3||!_0x2c2b7c)return!0x1;const _0x3334d4=Object[_0x397e77(0x48e)](_0x5c4eb9)[_0x397e77(0x3b9)](_0x13c3ae=>_0x5c4eb9[_0x13c3ae][_0x397e77(0x20b)](_0x221f00=>_0x12d885['Rectangle'][_0x397e77(0x44a)](_0x221f00,_0x27abf8)));let _0x2bacb4;_0x3334d4===_0x397e77(0x345)?_0x2bacb4=_0x2c2b7c[_0x397e77(0x3e5)][_0x323595]:_0x3334d4==='colRanges'&&(_0x2bacb4=_0x2c2b7c[_0x397e77(0x2e0)][_0x28426e]);const _0x2551dd=_0x2bacb4==null?void 0x0:_0x2bacb4[_0x397e77(0x335)],_0x2e4c22=_0x17e33f[_0x397e77(0x479)](_0x301ca6,_0x4e61c1,_0x28426e,_0x323595);let _0x33279c=_0x2e4c22==null?void 0x0:_0x2e4c22['v'];if(_0x33279c===_0x1fa61e['t'](_0x397e77(0x1d2))&&(_0x33279c=_0x3b8531[_0x397e77(0x2ee)][_0x397e77(0x1f5)]),_0x33279c==null||!_0x5a95eb||!_0x2551dd)return!0x1;const _0x38844=await _0x51a85d[_0x397e77(0x2d9)]({'unitId':_0x301ca6,'subUnitId':_0x4e61c1,'pivotTableId':_0x5a95eb,'params':{'type':_0x475b7c[_0x397e77(0x266)],'setPivotCollapse':{'tableFieldId':_0x2551dd,'collapse':_0x50d1d9,'item':_0x33279c}}}),_0xe2a1d=_0x38844==null?void 0x0:_0x38844['result'][_0x397e77(0x4c6)];if(!_0xe2a1d)return!0x1;const {view:_0x5af801,pivotTableConfig:_0x48f86b,isEmpty:_0x385e17,changesets:_0x3ab48d}=_0xe2a1d,_0x1a6903=new _0x3b8531[(_0x397e77(0x438))]();_0x1a6903['formJSON'](_0x5af801);const _0xde2735=_0x48f86b[_0x397e77(0x26b)],_0x67815b={'cellInfo':_0xde2735,'view':_0x1a6903,'isEmpty':_0x385e17};if(!await _0x214576[_0x397e77(0x2a3)](_0x2a78c5[_0x397e77(0x222)])[_0x397e77(0x243)][_0x397e77(0x4b7)](_0x3cfee6)(!0x0,_0x67815b))return!0x1;const _0x55ba50=_0x1d3f54(_0x214576,_0x1a6903,_0xde2735,_0x385e17),_0x2b0e8a=_0x2ebf0a(_0x214576,_0x67815b),{redos:_0x111a36,undos:_0x2bb5db}=_0x559a1f(_0x46f1ca,{'pivotTableId':_0x5a95eb,'unitId':_0x301ca6,'subUnitId':_0x4e61c1},_0x3ab48d);return _0x12d885[_0x397e77(0x251)]([..._0x55ba50['redos'],..._0x2b0e8a[_0x397e77(0x34c)],..._0x111a36],_0x46f1ca),_0xd0b684[_0x397e77(0x201)]({'unitID':_0x301ca6,'redoMutations':[..._0x55ba50[_0x397e77(0x34c)],..._0x2b0e8a['redos'],..._0x111a36],'undoMutations':[..._0x55ba50[_0x397e77(0x381)],..._0x2b0e8a[_0x397e77(0x381)],..._0x2bb5db]}),!0x0;}},_0x347388={'type':_0x12d885[_0x489679(0x3ff)]['COMMAND'],'id':_0x489679(0x401),async 'handler'(_0x70edcd,_0x639d45){const _0x4eef7a=_0x489679;if(!_0x639d45)return!0x1;const _0x197b8e=_0x70edcd[_0x4eef7a(0x2a3)](_0x12d885['ICommandService']),_0x332bb9=_0x70edcd['get'](_0x12d885[_0x4eef7a(0x478)]),_0x359d3f=_0x70edcd['get'](_0x2a78c5[_0x4eef7a(0x261)]),{pivotTableConfig:_0x35be0c,pivotTableId:_0x4c0cde,unitId:_0x368375,subUnitId:_0x280bcb}=_0x639d45,_0x2c7cd2=(await _0x359d3f['getPivotDisplayConfig']({'unitId':_0x368375,'subUnitId':_0x280bcb,'pivotTableId':_0x4c0cde,'params':{'type':_0x475b7c[_0x4eef7a(0x2d7)],'setPivotTableConfig':{'pivotTableId':_0x4c0cde,'pivotTableConfig':_0x35be0c}}}))[_0x4eef7a(0x22f)]['setPivotTableConfig'];if(!_0x2c7cd2)return!0x1;const {changesets:_0x4af4c4}=_0x2c7cd2,{redos:_0x375bf8,undos:_0x579ae5}=_0x559a1f(_0x197b8e,{'pivotTableId':_0x4c0cde,'unitId':_0x368375,'subUnitId':_0x280bcb},_0x4af4c4);return _0x12d885[_0x4eef7a(0x251)](_0x375bf8,_0x197b8e),_0x332bb9[_0x4eef7a(0x201)]({'unitID':_0x368375,'redoMutations':_0x375bf8,'undoMutations':_0x579ae5}),!0x0;}},_0x36b7c0={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x333)],'id':_0x489679(0x3cb),async 'handler'(_0x3c90cf,_0x2204ea){const _0x4237bf=_0x489679;if(!_0x2204ea)return!0x1;const _0x206082=_0x3c90cf[_0x4237bf(0x2a3)](_0x12d885[_0x4237bf(0x300)]),{pivotTableId:_0x36a394,tableFieldId:_0x3377f0,items:_0x39aff3,unitId:_0x185175,subUnitId:_0x513048,isAll:_0x8bcb6f}=_0x2204ea,_0x42a12c=_0x3c90cf['get'](_0x2a78c5[_0x4237bf(0x261)]),_0x224b78=_0x3c90cf[_0x4237bf(0x2a3)](_0x12d885[_0x4237bf(0x478)]),_0x2e9482=(await _0x42a12c[_0x4237bf(0x2d9)]({'unitId':_0x185175,'subUnitId':_0x513048,'pivotTableId':_0x36a394,'params':{'type':_0x475b7c[_0x4237bf(0x214)],'setPivotFilter':{'tableFieldId':_0x3377f0,'items':_0x39aff3,'isAll':_0x8bcb6f}}}))[_0x4237bf(0x22f)]['setPivotFilter'];if(!_0x2e9482)return!0x1;const {changesets:_0x3bce76,pivotTableConfig:_0x299f19,isEmpty:_0x4a4cae,view:_0x370186}=_0x2e9482,_0x41b996=_0x299f19['targetCellInfo'],_0x5ad0a7=new _0x3b8531[(_0x4237bf(0x438))]();_0x5ad0a7[_0x4237bf(0x328)](_0x370186);const _0x559974={'cellInfo':_0x41b996,'view':_0x5ad0a7,'isEmpty':_0x4a4cae};if(!await _0x3c90cf[_0x4237bf(0x2a3)](_0x2a78c5[_0x4237bf(0x222)])['asyncInterceptor'][_0x4237bf(0x4b7)](_0x3cfee6)(!0x0,_0x559974))return!0x1;const _0x2dba4b=_0x1d3f54(_0x3c90cf,_0x5ad0a7,_0x41b996,_0x4a4cae),_0x582871=_0x2ebf0a(_0x3c90cf,_0x559974),{undos:_0xd9879a,redos:_0x5bad0a}=_0x559a1f(_0x206082,{'pivotTableId':_0x36a394,'unitId':_0x185175,'subUnitId':_0x513048},_0x3bce76);return _0x12d885['sequenceExecute']([..._0x2dba4b[_0x4237bf(0x34c)],..._0x582871[_0x4237bf(0x34c)],..._0x5bad0a],_0x206082),_0x224b78['pushUndoRedo']({'unitID':_0x185175,'redoMutations':[..._0x2dba4b[_0x4237bf(0x34c)],..._0x582871['redos'],..._0x5bad0a],'undoMutations':[..._0x2dba4b['undos'],..._0x582871[_0x4237bf(0x381)],..._0xd9879a]}),!0x0;}},_0x138de5={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x333)],'id':_0x489679(0x2e1),async 'handler'(_0x5a9576,_0x68eda6){const _0x505610=_0x489679;if(!_0x68eda6)return!0x1;const _0x2faad5=_0x5a9576[_0x505610(0x2a3)](_0x12d885['ICommandService']),_0x333231=_0x5a9576[_0x505610(0x2a3)](_0x12d885[_0x505610(0x478)]),_0x8aed57=_0x5a9576['get'](_0x2a78c5[_0x505610(0x261)]),{info:_0x374b71,tableFieldId:_0xb5497,pivotTableId:_0x5c54c9,unitId:_0x37b141,subUnitId:_0x455070}=_0x68eda6,_0x348fa0=(await _0x8aed57['getPivotDisplayConfig']({'unitId':_0x37b141,'subUnitId':_0x455070,'pivotTableId':_0x5c54c9,'params':{'type':_0x475b7c[_0x505610(0x450)],'setPivotSort':{'tableFieldId':_0xb5497,'info':_0x374b71}}}))[_0x505610(0x22f)][_0x505610(0x47d)];if(!_0x348fa0)return!0x1;const {changesets:_0x3f4b25}=_0x348fa0,{redos:_0x3fd2a7,undos:_0x59cfb8}=_0x559a1f(_0x2faad5,{'pivotTableId':_0x5c54c9,'unitId':_0x37b141,'subUnitId':_0x455070},_0x3f4b25);return _0x12d885[_0x505610(0x251)](_0x3fd2a7,_0x2faad5),_0x333231[_0x505610(0x201)]({'unitID':_0x37b141,'redoMutations':_0x3fd2a7,'undoMutations':_0x59cfb8}),!0x0;}},_0x105519={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x333)],'id':_0x489679(0x26e),async 'handler'(_0x38ff41,_0x4f8dda){const _0xf2759e=_0x489679;if(!_0x4f8dda)return!0x1;const _0x3d18d8=_0x38ff41[_0xf2759e(0x2a3)](_0x12d885[_0xf2759e(0x300)]),{pivotTableId:_0x4e72ee,fieldId:_0x31fd6d,valueFilterInfo:_0x471228,unitId:_0x4a2765,subUnitId:_0x43f761}=_0x4f8dda,_0x2d4141=_0x38ff41[_0xf2759e(0x2a3)](_0x2a78c5['SheetsPivotRPCService']),_0x4ee7ff=_0x38ff41['get'](_0x12d885[_0xf2759e(0x478)]),_0x2c3f83=(await _0x2d4141[_0xf2759e(0x2d9)]({'unitId':_0x4a2765,'subUnitId':_0x43f761,'pivotTableId':_0x4e72ee,'params':{'type':_0x475b7c[_0xf2759e(0x2e2)],'setValuePivotFilter':{'tableFieldId':_0x31fd6d,'filterInfo':_0x471228}}}))[_0xf2759e(0x22f)][_0xf2759e(0x433)];if(!_0x2c3f83)return!0x1;const {changesets:_0x5c4315,pivotTableConfig:_0x300a73,isEmpty:_0x5ce934,view:_0x5cdf04}=_0x2c3f83,_0x234bb2=_0x300a73[_0xf2759e(0x26b)],_0x4b8dde=new _0x3b8531[(_0xf2759e(0x438))]();_0x4b8dde['formJSON'](_0x5cdf04);const _0xc7c5f8={'cellInfo':_0x234bb2,'view':_0x4b8dde,'isEmpty':_0x5ce934};if(!await _0x38ff41[_0xf2759e(0x2a3)](_0x2a78c5[_0xf2759e(0x222)])['asyncInterceptor'][_0xf2759e(0x4b7)](_0x3cfee6)(!0x0,_0xc7c5f8))return!0x1;const _0x5c02d4=_0x1d3f54(_0x38ff41,_0x4b8dde,_0x234bb2,_0x5ce934),_0x40ad29=_0x2ebf0a(_0x38ff41,_0xc7c5f8),{undos:_0x58bdaa,redos:_0x3a153b}=_0x559a1f(_0x3d18d8,{'pivotTableId':_0x4e72ee,'unitId':_0x4a2765,'subUnitId':_0x43f761},_0x5c4315);return _0x12d885[_0xf2759e(0x251)]([..._0x5c02d4['redos'],..._0x40ad29[_0xf2759e(0x34c)],..._0x3a153b],_0x3d18d8),_0x4ee7ff[_0xf2759e(0x201)]({'unitID':_0x4a2765,'redoMutations':[..._0x5c02d4[_0xf2759e(0x34c)],..._0x40ad29[_0xf2759e(0x34c)],..._0x3a153b],'undoMutations':[..._0x5c02d4['undos'],..._0x40ad29['undos'],..._0x58bdaa]}),!0x0;}},_0x4529a0={'id':_0x489679(0x28d),'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x3df)],'handler':(_0x44a282,_0x5750ad)=>{const _0x26df29=_0x489679;if(!_0x5750ad)return!0x1;if(!!_0x44a282[_0x26df29(0x2a3)](_0x12d885[_0x26df29(0x244)])[_0x26df29(0x2a5)](_0x45fab7))return!0x0;const {unitId:_0x4d46b5,subUnitId:_0x45f1be,pivotTableId:_0xa782e0,tableFieldId:_0x4adc92,dateType:_0x4767f1}=_0x5750ad,_0x4e4e2c=_0x44a282[_0x26df29(0x2a3)](_0x2a78c5['SheetsPivotDataSourceModel']),_0x1045b8=_0x4e4e2c[_0x26df29(0x218)](_0xa782e0);if(!_0x1045b8)return!0x1;const _0x471de2=_0x1045b8[_0x26df29(0x294)](_0x4adc92);if(!_0x471de2)return!0x1;const _0x2291a1=_0x471de2[_0x26df29(0x458)](),_0x4359fd=_0x1045b8[_0x26df29(0x361)](_0x2291a1),_0xd06e03=(_0x4359fd==null?void 0x0:_0x4359fd['getName']())+'\x20'+_0x1e87fe(_0x44a282,_0x4767f1);_0x4e4e2c['getCollection'](_0x4d46b5,_0xa782e0)[_0x26df29(0x368)](_0x471de2['id'],_0xd06e03);const _0x27bbab=_0x1045b8['getTableFieldById'](_0x4adc92);if(!_0x27bbab)return!0x1;_0x1045b8[_0x26df29(0x28e)](_0x27bbab['getId'](),_0xd06e03),_0x471de2[_0x26df29(0x327)](_0x4767f1);const _0x605033=_0x4e4e2c[_0x26df29(0x231)](_0x4d46b5,_0x45f1be,_0xa782e0);return _0x4e4e2c[_0x26df29(0x2c8)]({'unitId':_0x4d46b5,'subUnitId':_0x45f1be,'token':_0xa782e0,'type':_0xc924d8[_0x26df29(0x1ee)],'pivotConfig':_0x605033}),!0x0;}},_0x31fadf={'id':_0x489679(0x4e1),'type':_0x12d885['CommandType'][_0x489679(0x333)],'handler':(_0x31b7d9,_0x54a4e3)=>{const _0x4b80f6=_0x489679;if(!_0x54a4e3)return!0x1;const _0x3c7ad7=_0x31b7d9[_0x4b80f6(0x2a3)](_0x12d885[_0x4b80f6(0x478)]),{unitId:_0x34bc93,subUnitId:_0x3502ed,pivotTableId:_0x912f1f,tableFieldId:_0x16a418}=_0x54a4e3,_0x2d3854=[],_0x44ff46=[],_0x265cbc=_0x31b7d9['get'](_0x2a78c5[_0x4b80f6(0x1ce)]),_0x4cc845=_0x265cbc[_0x4b80f6(0x461)](_0x34bc93,_0x912f1f),_0x543315=_0x265cbc[_0x4b80f6(0x231)](_0x34bc93,_0x3502ed,_0x912f1f);if(!(_0x543315!=null&&_0x543315[_0x4b80f6(0x3f8)][_0x4b80f6(0x40d)]))return!0x1;const _0x4b2c60=Object[_0x4b80f6(0x4ba)](_0x543315[_0x4b80f6(0x3f8)][_0x4b80f6(0x40d)])['find'](_0x1f068b=>_0x1f068b['id']===_0x16a418);if(!_0x4b2c60)return!0x1;const _0x4bafbd=_0x4b2c60[_0x4b80f6(0x3dd)];if(!(_0x4cc845!=null&&_0x4cc845[_0x4b80f6(0x1e7)]))return!0x1;const _0x37b8d3=Object[_0x4b80f6(0x4ba)](_0x4cc845==null?void 0x0:_0x4cc845[_0x4b80f6(0x1e7)])[_0x4b80f6(0x3b9)](_0x8323d3=>_0x8323d3['id']===_0x4bafbd);if(!_0x37b8d3)return!0x1;_0x3b8531[_0x4b80f6(0x495)](_0x37b8d3)&&_0x2d3854[_0x4b80f6(0x396)]({'id':_0x4529a0['id'],'params':{..._0x54a4e3,'dateType':_0x37b8d3[_0x4b80f6(0x3a5)]}}),_0x44ff46[_0x4b80f6(0x396)]({'id':_0x4529a0['id'],'params':{..._0x54a4e3}});const _0x203bdb=_0x31b7d9[_0x4b80f6(0x2a3)](_0x12d885[_0x4b80f6(0x300)]);return _0x12d885[_0x4b80f6(0x251)](_0x44ff46,_0x203bdb)&&_0x3c7ad7[_0x4b80f6(0x201)]({'unitID':_0x34bc93,'undoMutations':_0x2d3854,'redoMutations':_0x44ff46}),!0x0;}},_0xe4ed23={'type':_0x12d885[_0x489679(0x3ff)]['COMMAND'],'id':_0x489679(0x3c1),async 'handler'(_0x5524d0,_0x570b48){const _0x352583=_0x489679;if(!_0x570b48)return!0x1;const _0x2cddf1=_0x5524d0[_0x352583(0x2a3)](_0x12d885['ICommandService']),_0x4dd106=_0x5524d0[_0x352583(0x2a3)](_0x12d885[_0x352583(0x478)]),_0x3261c8=_0x5524d0[_0x352583(0x2a3)](_0x2a78c5[_0x352583(0x261)]),{displayName:_0x309fbc,subtotalType:_0xd91ba8,format:_0x4b82b8,tableFieldId:_0x46a74,pivotTableId:_0x1d602b,unitId:_0x26f91f,subUnitId:_0x22f340}=_0x570b48,_0x15bebe=(await _0x3261c8['getPivotDisplayConfig']({'unitId':_0x26f91f,'subUnitId':_0x22f340,'pivotTableId':_0x1d602b,'params':{'type':_0x475b7c['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x46a74,'displayName':_0x309fbc,'subtotalType':_0xd91ba8,'format':_0x4b82b8}}}))[_0x352583(0x22f)][_0x352583(0x462)];if(!_0x15bebe)return!0x1;const {changesets:_0x36952a,view:_0x1c367a,pivotTableConfig:_0x4c9539,isEmpty:_0x4c0976}=_0x15bebe,_0x44ed06=_0x4c9539[_0x352583(0x26b)],_0x28a7fb=new _0x3b8531['PivotView']();_0x28a7fb[_0x352583(0x328)](_0x1c367a);const _0x1d4881={'cellInfo':_0x44ed06,'view':_0x28a7fb,'isEmpty':_0x4c0976};if(!await _0x5524d0[_0x352583(0x2a3)](_0x2a78c5[_0x352583(0x222)])[_0x352583(0x243)][_0x352583(0x4b7)](_0x3cfee6)(!0x0,_0x1d4881))return!0x1;const _0x4cd158=_0x1d3f54(_0x5524d0,_0x28a7fb,_0x44ed06,_0x4c0976),_0x9b17f9=_0x2ebf0a(_0x5524d0,_0x1d4881),{undos:_0x53c6c7,redos:_0x547ba3}=_0x559a1f(_0x2cddf1,{'pivotTableId':_0x1d602b,'unitId':_0x26f91f,'subUnitId':_0x22f340},_0x36952a);return _0x12d885['sequenceExecute']([..._0x4cd158[_0x352583(0x34c)],..._0x9b17f9[_0x352583(0x34c)],..._0x547ba3],_0x2cddf1),_0x4dd106[_0x352583(0x201)]({'unitID':_0x26f91f,'redoMutations':[..._0x4cd158[_0x352583(0x34c)],..._0x9b17f9[_0x352583(0x34c)],..._0x547ba3],'undoMutations':[..._0x4cd158[_0x352583(0x381)],..._0x9b17f9['undos'],..._0x53c6c7]}),!0x0;}},_0x2d1d8b={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x3df)],'id':_0x489679(0x353),'handler'(_0x254d21,_0x11d87d){const _0x406598=_0x489679;if(!_0x11d87d)return!0x1;if(!!_0x254d21[_0x406598(0x2a3)](_0x12d885[_0x406598(0x244)])[_0x406598(0x2a5)](_0x45fab7))return!0x0;const _0xcdb92a=_0x254d21[_0x406598(0x2a3)](_0x2a78c5[_0x406598(0x21b)]),{pivotTableId:_0x439f4d,deleteIds:_0x29db2b,collectionJSON:_0x358b49,dataRangeInfo:_0x4cbe15,unitId:_0x533faf,subUnitId:_0xa8a708}=_0x11d87d,_0x420898=_0xcdb92a['getPivotTableInstance'](_0x439f4d),_0x5c9d5b=_0xcdb92a[_0x406598(0x231)](_0x533faf,_0xa8a708,_0x439f4d);if(!_0x420898||!_0x5c9d5b)return!0x1;const {collection:_0x49a52c,updateDataFieldList:_0x45a6e0}=_0xcdb92a[_0x406598(0x443)](_0x439f4d,_0x358b49,_0x4cbe15,_0x5c9d5b['targetCellInfo']);_0xcdb92a[_0x406598(0x24c)](_0x49a52c,_0x45a6e0,_0x4cbe15),_0x420898[_0x406598(0x1e1)](_0x49a52c);for(const _0x4a8b27 of _0x29db2b)_0xcdb92a[_0x406598(0x25d)](_0x4cbe15[_0x406598(0x437)],_0x4a8b27);const _0x5455b6=_0xcdb92a[_0x406598(0x231)](_0x533faf,_0xa8a708,_0x439f4d);return _0x5455b6['sourceRangeInfo']=JSON[_0x406598(0x342)](JSON[_0x406598(0x46c)](_0x4cbe15)),_0xcdb92a[_0x406598(0x2c8)]({'unitId':_0x533faf,'subUnitId':_0xa8a708,'token':_0x439f4d,'type':_0xc924d8[_0x406598(0x1ee)]}),!0x0;}},_0x2081c4={'type':_0x12d885['CommandType'][_0x489679(0x333)],'id':_0x489679(0x4e4),async 'handler'(_0x15e987,_0x4cdc6f){const _0x59d518=_0x489679,_0x5e61f0=_0x15e987['get'](_0x12d885['ICommandService']),_0x1c5f3f=_0x15e987[_0x59d518(0x2a3)](_0x2a78c5[_0x59d518(0x261)]),_0x539143=_0x15e987['get'](_0x12d885[_0x59d518(0x478)]);if(!_0x4cdc6f)return!0x1;const {token:_0x194593,dataRangeInfo:_0x2a6ec6,unitId:_0x5c4628,subUnitId:_0x2c05dd}=_0x4cdc6f,_0x5d2950=[],_0x2dcda7=[],_0x121027=(await _0x1c5f3f[_0x59d518(0x2d9)]({'unitId':_0x5c4628,'subUnitId':_0x2c05dd,'pivotTableId':_0x194593,'params':{'type':_0x475b7c[_0x59d518(0x28c)],'updatePivotSource':{'dataRangeInfo':_0x2a6ec6,'unitId':_0x5c4628,'subUnitId':_0x2c05dd}}}))[_0x59d518(0x22f)]['updatePivotSource'];if(!_0x121027)return!0x1;const {changesets:_0x287df6,deleteIds:_0x1e6d12,collectionConfig:_0x4be2ad,oldCollectionConfig:_0x16046c,view:_0xbef27a,isEmpty:_0xc488fd,pivotTableConfig:_0x46aad9}=_0x121027;_0x2dcda7[_0x59d518(0x396)]({'id':_0x2d1d8b['id'],'params':{'pivotTableId':_0x194593,'deleteIds':_0x1e6d12,'collectionJSON':_0x4be2ad,'dataRangeInfo':_0x2a6ec6,'unitId':_0x5c4628,'subUnitId':_0x2c05dd}}),_0x5d2950[_0x59d518(0x36b)]({'id':_0x2d1d8b['id'],'params':{'pivotTableId':_0x194593,'deleteIds':[],'collectionJSON':_0x16046c,'dataRangeInfo':_0x46aad9[_0x59d518(0x2cf)],'unitId':_0x5c4628,'subUnitId':_0x2c05dd}});const _0x4fc5f9=_0x46aad9[_0x59d518(0x26b)],_0x413f51=new _0x3b8531[(_0x59d518(0x438))]();_0x413f51[_0x59d518(0x328)](_0xbef27a);const _0x842e3b={'cellInfo':_0x4fc5f9,'view':_0x413f51,'isEmpty':_0xc488fd};if(!await _0x15e987[_0x59d518(0x2a3)](_0x2a78c5['SheetsPivotTableService'])['asyncInterceptor'][_0x59d518(0x4b7)](_0x3cfee6)(!0x0,_0x842e3b))return!0x1;const _0x1f8554=_0x1d3f54(_0x15e987,_0x413f51,_0x4fc5f9,_0xc488fd),_0x2e5c1b=_0x2ebf0a(_0x15e987,_0x842e3b),{undos:_0x11b153,redos:_0x33539d}=_0x559a1f(_0x5e61f0,{'pivotTableId':_0x194593,'unitId':_0x5c4628,'subUnitId':_0x2c05dd},_0x287df6);return _0x12d885[_0x59d518(0x251)]([..._0x1f8554[_0x59d518(0x34c)],..._0x2e5c1b[_0x59d518(0x34c)],..._0x2dcda7,..._0x11b153],_0x5e61f0),_0x539143[_0x59d518(0x201)]({'unitID':_0x5c4628,'redoMutations':[..._0x1f8554[_0x59d518(0x34c)],..._0x2e5c1b[_0x59d518(0x34c)],..._0x2dcda7,..._0x11b153],'undoMutations':[..._0x1f8554[_0x59d518(0x381)],..._0x2e5c1b['undos'],..._0x5d2950,..._0x33539d]}),!0x0;}},_0x4eeba8={'type':_0x12d885[_0x489679(0x3ff)][_0x489679(0x333)],'id':_0x489679(0x33c),async 'handler'(_0x1f7e99,_0x543601){const _0x22a67e=_0x489679;if(!_0x543601)return!0x1;const _0x413e9c=_0x1f7e99[_0x22a67e(0x2a3)](_0x12d885['ICommandService']),_0x5bb0db=_0x1f7e99[_0x22a67e(0x2a3)](_0x2a78c5[_0x22a67e(0x261)]),_0x33a044=_0x1f7e99[_0x22a67e(0x2a3)](_0x12d885[_0x22a67e(0x27d)]),_0x4683c8=_0x1f7e99[_0x22a67e(0x2a3)](_0x12d885[_0x22a67e(0x478)]),{pivotTableId:_0x14a073,position:_0x5f2cc7,index:_0x2d234d}=_0x543601,_0x5eeb42=_0x28e907[_0x22a67e(0x235)](_0x33a044);if(!_0x5eeb42)return!0x1;const {unitId:_0x2d14c6,subUnitId:_0x51e141}=_0x5eeb42,_0xa3da56=(await _0x5bb0db[_0x22a67e(0x2d9)]({'unitId':_0x2d14c6,'subUnitId':_0x51e141,'pivotTableId':_0x14a073,'params':{'type':_0x475b7c[_0x22a67e(0x435)],'updateValuePosition':{'position':_0x5f2cc7,'index':_0x2d234d}}}))[_0x22a67e(0x22f)][_0x22a67e(0x2dd)];if(!_0xa3da56)return!0x1;const {changesets:_0x15afc0,view:_0x3703de,isEmpty:_0x5278f6,pivotTableConfig:_0x39fdde}=_0xa3da56,_0x269ca4=_0x39fdde[_0x22a67e(0x26b)],_0x756d2e=new _0x3b8531[(_0x22a67e(0x438))]();_0x756d2e[_0x22a67e(0x328)](_0x3703de);const _0xf7c0a0=_0x1f7e99[_0x22a67e(0x2a3)](_0x2a78c5[_0x22a67e(0x222)]),_0x1db50a={'cellInfo':_0x269ca4,'view':_0x756d2e,'isEmpty':_0x5278f6};if(!await _0xf7c0a0[_0x22a67e(0x243)][_0x22a67e(0x4b7)](_0x3cfee6)(!0x0,_0x1db50a))return!0x1;const _0x3e129c=_0x1d3f54(_0x1f7e99,_0x756d2e,_0x269ca4,_0x5278f6),_0x3442fa=_0x2ebf0a(_0x1f7e99,_0x1db50a),{undos:_0x3fe128,redos:_0x1f65f4}=_0x559a1f(_0x413e9c,{'pivotTableId':_0x14a073,'unitId':_0x2d14c6,'subUnitId':_0x51e141},_0x15afc0);return _0x12d885['sequenceExecute']([..._0x3e129c[_0x22a67e(0x34c)],..._0x3442fa[_0x22a67e(0x34c)],..._0x1f65f4],_0x413e9c),_0x4683c8[_0x22a67e(0x201)]({'unitID':_0x2d14c6,'redoMutations':[..._0x3e129c[_0x22a67e(0x34c)],..._0x3442fa[_0x22a67e(0x34c)],..._0x1f65f4],'undoMutations':[..._0x3e129c[_0x22a67e(0x381)],..._0x3442fa['undos'],..._0x3fe128]}),!0x0;}},_0x23fc84={'type':_0x12d885['CommandType']['MUTATION'],'id':_0x489679(0x321),'handler'(){return!0x0;}};var _0x4cd8be=Object[_0x489679(0x3c5)],_0x42b2b7=(_0x52a2aa,_0x287c1d,_0x381f58,_0x2522c4)=>{const _0x465156=_0x489679;for(var _0xf5d360=_0x2522c4>0x1?void 0x0:_0x2522c4?_0x4cd8be(_0x287c1d,_0x381f58):_0x287c1d,_0x58e8c4=_0x52a2aa[_0x465156(0x4d6)]-0x1,_0x1e8d00;_0x58e8c4>=0x0;_0x58e8c4--)(_0x1e8d00=_0x52a2aa[_0x58e8c4])&&(_0xf5d360=_0x1e8d00(_0xf5d360)||_0xf5d360);return _0xf5d360;},_0x1bd23b=(_0x464d72,_0x2861df)=>(_0x3073d0,_0x24771c)=>_0x2861df(_0x3073d0,_0x24771c,_0x464d72);const _0x3d0b1b=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x31fc77=(_0x47fb97,_0xcfdb64,_0x557f2d)=>{const _0x50a91b=_0x489679,_0x1176b1=_0x47fb97['dataFieldsCollection'];_0x47fb97['iterateFieldDim'](_0x5c025b=>{const _0x87854c=_0x22af,_0xbeb49d=_0x5c025b[_0x87854c(0x2b2)](),_0x45466c=_0x5c025b[_0x87854c(0x334)](),_0x3d3879=_0x5c025b['getSourceName'](),_0x54e1a9=_0x5c025b[_0x87854c(0x394)]();_0xcfdb64[_0x45466c]&&_0xcfdb64[_0x45466c]===_0x54e1a9&&_0x3d3879===_0x54e1a9&&(_0x47fb97[_0x87854c(0x28e)](_0xbeb49d,_0x1176b1[_0x87854c(0x394)](_0x45466c)),_0x5c025b[_0x87854c(0x1f2)](_0x1176b1['getDisplayName'](_0x45466c)));}),_0x47fb97['iterateFieldByArea'](_0x3b8531[_0x50a91b(0x4c3)]['Value'],_0x4d6ba5=>{const _0x5cdb27=_0x50a91b,_0x7d8ba0=_0x4d6ba5['getId'](),_0x7d5cd6=_0x4d6ba5['getDataFieldId'](),_0x391c16=_0x4d6ba5[_0x5cdb27(0x38d)](),_0x4eba82=_0x4d6ba5['getDisplayName'](),_0xf949f2=_0x4d6ba5[_0x5cdb27(0x42e)](),_0xb259e1=_0x557f2d(_0x391c16,_0xf949f2);_0xcfdb64[_0x7d5cd6]&&_0xcfdb64[_0x7d5cd6]===_0x391c16&&_0xb259e1===_0x4eba82&&(_0x47fb97[_0x5cdb27(0x28e)](_0x7d8ba0,_0x557f2d(_0x1176b1[_0x5cdb27(0x394)](_0x7d5cd6),_0xf949f2)),_0x4d6ba5['setSourceName'](_0x1176b1[_0x5cdb27(0x394)](_0x7d5cd6)));});},_0x4ce98e=(_0x4df669,_0x2f73ce,_0x4dfeb4)=>{const _0x2301a8=_0x489679;var _0x2c252e,_0x1db69e;const {arrayFormulaCellData:_0x5f0a2e,unitData:_0x32b6cb}=_0x2f73ce,{unitId:_0x4bbe74,subUnitId:_0x15a777}=_0x4dfeb4,_0xb44ec5=_0x4dfeb4[_0x2301a8(0x26c)],{startColumn:_0x8c0c57,endColumn:_0x1898ee}=_0xb44ec5,_0x50ce7e=(_0x2c252e=_0x5f0a2e==null?void 0x0:_0x5f0a2e[_0x4bbe74])==null?void 0x0:_0x2c252e[_0x15a777],_0x10cdec=(_0x1db69e=_0x32b6cb==null?void 0x0:_0x32b6cb[_0x4bbe74])==null?void 0x0:_0x1db69e[_0x15a777],_0x3456fb=new Set(),_0x2d128c=_0x1898ee-_0x8c0c57+0x1,{dirtyRanges:_0x4bad12}=_0x4df669;if(_0x4bad12)for(const {range:_0x5a739a,sheetId:_0x455470,unitId:_0x3fd801}of _0x4bad12){if(_0x455470!==_0x15a777||_0x4bbe74!==_0x3fd801)continue;const _0x4246cc=_0x12d885[_0x2301a8(0x329)][_0x2301a8(0x358)](_0x5a739a,_0xb44ec5);if(_0x4246cc){const {startColumn:_0x4194fc,endColumn:_0x51dbec}=_0x4246cc;for(let _0x59e078=_0x4194fc;_0x59e078<=_0x51dbec;_0x59e078++)_0x3456fb[_0x2301a8(0x441)](_0x59e078);}}if(_0x3456fb[_0x2301a8(0x32b)]===_0x2d128c||_0x3456fb[_0x2301a8(0x32b)]===_0x2d128c)return Array[_0x2301a8(0x27f)](_0x3456fb);if(_0x10cdec){const _0x414800=_0x10cdec['getMatrix'](),_0x46c3ef=Object[_0x2301a8(0x48e)](_0x414800);for(const _0x1b01bc of _0x46c3ef){const _0x47add2=Number(_0x1b01bc),_0x2dc2a8=_0x414800[_0x47add2];if(_0x3456fb['size']===_0x2d128c)break;for(const _0x22bb39 in _0x2dc2a8){const _0x246f2d=Number(_0x22bb39);_0x246f2d<_0x8c0c57||_0x246f2d>_0x1898ee||_0x3456fb[_0x2301a8(0x441)](_0x246f2d);}}}if(_0x50ce7e){const _0x125cc5=_0x50ce7e[_0x2301a8(0x2d3)](),_0x2798fe=Object['keys'](_0x125cc5);for(const _0x334108 of _0x2798fe){const _0x51cf41=Number(_0x334108),_0x52a26e=_0x125cc5[_0x51cf41];if(_0x3456fb[_0x2301a8(0x32b)]===_0x2d128c)break;for(const _0x428f2b in _0x52a26e){const _0x51148d=Number(_0x428f2b);_0x51148d<_0x8c0c57||_0x51148d>_0x1898ee||_0x3456fb[_0x2301a8(0x441)](_0x51148d);}}}return Array[_0x2301a8(0x27f)](_0x3456fb);},_0x5503a9=_0x430122=>{const _0x1660bb=_0x489679,_0x408da1=new Set(),_0x5d8d90=[];for(const _0x34b789 of _0x430122){const _0x209ca0=_0x34b789[_0x1660bb(0x2f4)]+','+_0x34b789[_0x1660bb(0x483)]+','+_0x34b789[_0x1660bb(0x391)]+','+_0x34b789[_0x1660bb(0x3bc)];_0x408da1[_0x1660bb(0x445)](_0x209ca0)||(_0x408da1['add'](_0x209ca0),_0x5d8d90[_0x1660bb(0x396)](_0x34b789));}return _0x5d8d90;};let _0x2ed521=class extends _0x12d885['Disposable']{constructor(_0x5e3683,_0x2bf1bf,_0x18a805,_0x2bcab5,_0x39501b){const _0x1923bf=_0x489679;super(),_0x474ffa(this,_0x1923bf(0x271),new _0xa1e6e9[(_0x1923bf(0x209))](!0x0)),_0x474ffa(this,_0x1923bf(0x432),_0x213031=>{const _0x2b7c6e=_0x1923bf;this[_0x2b7c6e(0x271)][_0x2b7c6e(0x47e)](!0x1);}),_0x474ffa(this,'_globalComputedEndHelpFunc',_0x55b92a=>{const _0x16f1e6=_0x1923bf;this[_0x16f1e6(0x271)][_0x16f1e6(0x47e)](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x5e3683,this[_0x1923bf(0x30d)]=_0x2bf1bf,this[_0x1923bf(0x4b5)]=_0x18a805,this[_0x1923bf(0x444)]=_0x2bcab5,this[_0x1923bf(0x313)]=_0x39501b,this[_0x1923bf(0x287)](),this['_initPivotDataGetListener']());}[_0x489679(0x287)](){const _0x452725=_0x489679;this[_0x452725(0x471)](),this['_subjectViewChange'](),this[_0x452725(0x476)](),this['_subjectFieldsCollectionChange']();}['_initGlobalComputed'](){const _0x27c85c=_0x489679;this['_globalComputingSrv'][_0x27c85c(0x37f)](this[_0x27c85c(0x271)]),_0x3b8531[_0x27c85c(0x4e5)][_0x27c85c(0x2c0)](_0x3b8531['PivotCallbackEnum']['onQueryStart'],this[_0x27c85c(0x432)]),_0x3b8531[_0x27c85c(0x4e5)][_0x27c85c(0x2c0)](_0x3b8531['PivotCallbackEnum'][_0x27c85c(0x2ad)],this['_globalComputedEndHelpFunc']);}[_0x489679(0x247)](){const _0x413d06=_0x489679;this[_0x413d06(0x27c)](this[_0x413d06(0x4b5)][_0x413d06(0x3cd)](_0x26d8c0=>{const _0x2d48c5=_0x413d06;_0x26d8c0['id']===_0x28e907[_0x2d48c5(0x4d0)]['id']&&this[_0x2d48c5(0x35a)][_0x2d48c5(0x496)](_0x26d8c0[_0x2d48c5(0x44b)]);})),this['disposeWithMe'](this[_0x413d06(0x4b5)]['onCommandExecuted'](_0x166840=>{const _0x41930b=_0x413d06;if(_0x166840['id']!==_0x788a94['id'])return;const _0x359a3a=_0x166840[_0x41930b(0x44b)],{unitId:_0x573dea,subUnitId:_0x244523,pivotTableId:_0x344520}=_0x359a3a,_0x432b5f=_0x359a3a[_0x41930b(0x44b)]['type'],_0x2fad30={};switch(_0x432b5f){case _0x475b7c[_0x41930b(0x4a4)]:{const _0x922af9=_0x359a3a['params'][_0x41930b(0x4d8)];if(!_0x922af9)return;const {row:_0x20ad66,col:_0x1d1bfb,cellData:_0x57db73,pivotItemRenderInfoCache:_0x402ca5,tableFieldId:_0x3c2005}=_0x922af9,_0xc81b7c=this[_0x41930b(0x35a)][_0x41930b(0x218)](_0x359a3a[_0x41930b(0x4a5)]);if(!_0xc81b7c||!_0x402ca5)return;if(_0x3c2005){const _0x59346e=_0xc81b7c[_0x41930b(0x294)](_0x3c2005);if(!_0x59346e)return;_0x2fad30['filter']={..._0xc81b7c[_0x41930b(0x2fe)](_0x59346e),'tableFieldId':_0x3c2005,'pivotTableId':_0x359a3a[_0x41930b(0x4a5)],'filterInfo':_0xc81b7c[_0x41930b(0x1d8)](_0x3c2005),'sortInfo':_0xc81b7c[_0x41930b(0x24d)](_0x3c2005),'format':_0xc81b7c['getFieldFormat'](_0x3c2005)};}else{const _0xc90878=_0xaed900(_0x20ad66,_0x1d1bfb,_0x57db73,_0xc81b7c,_0x402ca5),_0x2cbad5=_0xc90878==null?void 0x0:_0xc90878['filterId'];if(!_0x2cbad5)return;const _0x3d083b=_0xc81b7c[_0x41930b(0x294)](_0x2cbad5);if(!_0x3d083b)return;_0x2fad30[_0x41930b(0x4d8)]={..._0xc81b7c[_0x41930b(0x2fe)](_0x3d083b),'tableFieldId':_0x2cbad5,'pivotTableId':_0x359a3a[_0x41930b(0x4a5)],'filterInfo':_0xc81b7c[_0x41930b(0x1d8)](_0x2cbad5),'sortInfo':_0xc81b7c[_0x41930b(0x24d)](_0x2cbad5),'format':_0xc81b7c[_0x41930b(0x3f5)](_0x2cbad5)};}}break;case _0x475b7c[_0x41930b(0x21f)]:{const _0x120196=_0x359a3a[_0x41930b(0x44b)][_0x41930b(0x499)];if(!_0x120196)return;const {pivotTableId:_0x70dbed}=_0x120196,_0x1d5d9f=this[_0x41930b(0x35a)][_0x41930b(0x218)](_0x70dbed);if(!_0x1d5d9f)return;const _0x18214d=this[_0x41930b(0x35a)][_0x41930b(0x231)](_0x573dea,_0x244523,_0x70dbed),_0x166863=_0x22ae99(_0x1d5d9f,_0x70dbed,_0x18214d);_0x2fad30[_0x41930b(0x499)]=_0x166863;}break;case _0x475b7c[_0x41930b(0x403)]:{const _0x59dcda=this[_0x41930b(0x35a)]['getPivotTableInstance'](_0x344520),_0x230570=this['_sheetsPivotDataSourceModel'][_0x41930b(0x4af)](_0x573dea),_0x4206d5=_0x230570['getCollection'](_0x344520);let _0x56f06c=null;const _0x46eee0=this[_0x41930b(0x35a)]['getPivotTableConfig'](_0x573dea,_0x244523,_0x344520),_0x434962=_0x359a3a[_0x41930b(0x44b)]['addPivotField'];if(!_0x59dcda||!_0x46eee0||!_0x434962)return!0x1;const {dataFieldId:_0x233bad,fieldArea:_0x25089d,index:_0x2d8783}=_0x434962;_0x59dcda[_0x41930b(0x32d)]();const _0x51d760=_0x59dcda[_0x41930b(0x4d3)](_0x233bad,_0x25089d,_0x2d8783);if(_0x51d760&&_0x25089d===_0x3b8531[_0x41930b(0x4c3)]['Value']){const _0x113c30=_0x51d760[_0x41930b(0x2b2)](),_0x5ddad3=_0x59dcda[_0x41930b(0x294)](_0x113c30);if(_0x5ddad3){const _0x3f2997=_0x5ddad3==null?void 0x0:_0x5ddad3[_0x41930b(0x464)]();_0x59dcda[_0x41930b(0x2cc)](_0x51d760[_0x41930b(0x2b2)](),_0x3f2997===_0x3b8531[_0x41930b(0x3e3)][_0x41930b(0x225)]?_0x3b8531[_0x41930b(0x428)]['sum']:_0x3b8531['PivotSubtotalTypeEnum'][_0x41930b(0x301)]);}const _0x410ce4=_0x59dcda['getValueIndex'](),_0x158d6e=_0x59dcda['getValuePosition'](),_0x56ec22=_0x59dcda[_0x41930b(0x2ff)](_0x3b8531[_0x41930b(0x4c3)][_0x41930b(0x45a)]);if(_0x410ce4===-0x1&&_0x56ec22>0x1){const _0x4ca625=_0x158d6e===_0x3b8531[_0x41930b(0x393)][_0x41930b(0x35b)]?_0x3b8531['PivotTableValuePositionEnum'][_0x41930b(0x326)]:_0x158d6e,_0xacdaa4=_0x4ca625===_0x3b8531['PivotTableValuePositionEnum']['Row']?_0x3b8531[_0x41930b(0x4c3)][_0x41930b(0x497)]:_0x3b8531[_0x41930b(0x4c3)][_0x41930b(0x326)];_0x59dcda[_0x41930b(0x2dd)](_0x4ca625,_0x59dcda[_0x41930b(0x2ff)](_0xacdaa4));}}else{if(_0x51d760&&(_0x25089d===_0x3b8531[_0x41930b(0x4c3)][_0x41930b(0x497)]||_0x25089d===_0x3b8531[_0x41930b(0x4c3)][_0x41930b(0x326)])){const _0x17e70a=_0x51d760[_0x41930b(0x2b2)](),_0x1f44cd=_0x59dcda['getDataFieldByTableId'](_0x17e70a);if(_0x1f44cd&&(_0x1f44cd==null?void 0x0:_0x1f44cd[_0x41930b(0x464)]())===_0x3b8531[_0x41930b(0x3e3)][_0x41930b(0x4db)]){const _0x8b94f3=_0x1f44cd[_0x41930b(0x39b)]();if(_0x8b94f3&&_0x59dcda[_0x41930b(0x377)](_0x51d760[_0x41930b(0x2b2)](),_0x8b94f3),!_0x4206d5[_0x41930b(0x3f9)]()[_0x41930b(0x20b)](_0xfc30be=>{const _0x55953c=_0x41930b,_0x558a58=_0x4206d5[_0x55953c(0x4ab)](_0xfc30be);return _0x3b8531['isDateGroupField'](_0x558a58)?_0x558a58[_0x55953c(0x47c)]()[_0x55953c(0x204)]===_0x233bad:!0x1;})){const _0x418084=_0x230570[_0x41930b(0x466)](),_0x5d055a=_0x695cfe(_0x1f44cd['maxDate'],_0x1f44cd[_0x41930b(0x420)]),_0x4adaa1=_0x1f44cd[_0x41930b(0x369)]()+'\x20-\x20'+_0x1e87fe(this[_0x41930b(0x313)],_0x5d055a),_0x176eb0=new _0x3b8531[(_0x41930b(0x49e))](_0x418084,_0x4adaa1,_0x3b8531['generateHexNumber'](0x3),_0x1f44cd[_0x41930b(0x2b2)](),_0x5d055a);_0x230570[_0x41930b(0x42d)](_0x176eb0),_0x4206d5[_0x41930b(0x454)](_0x418084,_0x4adaa1),_0x59dcda[_0x41930b(0x4d3)](_0x418084,_0x25089d,(_0x2d8783!=null?_0x2d8783:0x0)+0x1),_0x56f06c=_0x176eb0;}}}}const _0x891e27=_0x59dcda['isEmpty'](),_0x278e5d=_0x59dcda['query']()['toJSON']();let _0x435639;if(_0x56f06c){_0x435639=_0x56f06c[_0x41930b(0x485)]();const _0x4ba0e7=_0x56f06c[_0x41930b(0x2b2)]();_0x4206d5[_0x41930b(0x1d5)](_0x4ba0e7);let _0x2d06e4=!0x0;for(const _0xfdff08 in _0x230570[_0x41930b(0x202)])if(_0x230570[_0x41930b(0x202)][_0xfdff08][_0x41930b(0x3f9)]()[_0x41930b(0x284)](_0x4ba0e7)){_0x2d06e4=!0x1;break;}_0x2d06e4&&_0x230570[_0x41930b(0x2b9)](_0x4ba0e7);}const _0x35d68d=_0x59dcda[_0x41930b(0x26a)]();_0x2fad30[_0x41930b(0x1cf)]={'view':_0x278e5d,'changesets':_0x35d68d,'isEmpty':_0x891e27,'pivotTableConfig':_0x46eee0,'shouldBeAddedGroupJSON':_0x435639};}break;case _0x475b7c['AddPivotTable']:{const _0x36a7cc=_0x359a3a[_0x41930b(0x44b)][_0x41930b(0x242)];if(!_0x36a7cc)return;const _0x3e1f57=_0x36a7cc[_0x41930b(0x2cf)],_0x314374=_0x36a7cc['pivotTableId'],{collection:_0x5b352a}=this[_0x41930b(0x35a)][_0x41930b(0x2e6)]({'unitId':_0x3e1f57[_0x41930b(0x437)],'sheetName':_0x3e1f57[_0x41930b(0x2ca)],'subUnitId':_0x3e1f57[_0x41930b(0x41a)],'range':_0x3e1f57[_0x41930b(0x26c)]}),_0x7967d9=new _0x3b8531[(_0x41930b(0x4e5))](_0x5b352a,void 0x0,_0x314374),_0x4160ca=_0x7967d9[_0x41930b(0x350)](),_0x247e4e=_0x7967d9[_0x41930b(0x485)](),_0x4cdede=_0x5b352a['toJSON']();_0x2fad30[_0x41930b(0x242)]={'view':_0x4160ca,'fieldsConfig':_0x247e4e,'collectionConfig':_0x4cdede,'isEmpty':_0x7967d9[_0x41930b(0x3bf)]()};}break;case _0x475b7c[_0x41930b(0x4e0)]:{const _0x4ef64f=_0x359a3a[_0x41930b(0x44b)][_0x41930b(0x48a)];if(!_0x4ef64f)return;const {fieldId:_0x51ea29,area:_0x3448e7,index:_0x2449b4}=_0x4ef64f,_0x1743d7=this[_0x41930b(0x35a)][_0x41930b(0x231)](_0x573dea,_0x244523,_0x344520);if(!_0x1743d7)return;const _0x580f9a=this[_0x41930b(0x35a)][_0x41930b(0x218)](_0x344520);if(!_0x580f9a)return;_0x580f9a[_0x41930b(0x32d)]();const {area:_0x59fdc0,index:_0x17cf88}=_0x580f9a['getFieldPositionInfoById'](_0x51ea29);if(_0x580f9a[_0x41930b(0x3e1)](_0x51ea29,_0x3448e7,_0x2449b4),_0x3448e7===_0x3b8531[_0x41930b(0x4c3)][_0x41930b(0x45a)]&&_0x580f9a['getTableFieldById'](_0x51ea29)[_0x41930b(0x42e)]()===void 0x0){const _0x3e4e90=_0x580f9a[_0x41930b(0x4c1)](_0x51ea29);if(_0x3e4e90&&_0x3e4e90[_0x41930b(0x42e)]()===void 0x0){const _0x14a953=_0x580f9a['getDataFieldByTableId'](_0x51ea29);if(_0x14a953){const _0x7e1a0c=_0x14a953==null?void 0x0:_0x14a953[_0x41930b(0x464)]();_0x580f9a[_0x41930b(0x2cc)](_0x51ea29,_0x7e1a0c===_0x3b8531['PivotDataFieldDataTypeEnum'][_0x41930b(0x225)]?_0x3b8531[_0x41930b(0x428)][_0x41930b(0x23b)]:_0x3b8531[_0x41930b(0x428)][_0x41930b(0x301)]);}}}const _0x3d2119=_0x580f9a[_0x41930b(0x1eb)](),_0x3a5b47=_0x580f9a['getValueIndex'](),_0x1a8d1a=_0x580f9a[_0x41930b(0x2ff)](_0x3b8531[_0x41930b(0x4c3)][_0x41930b(0x45a)])>0x1;if(_0x1a8d1a&&_0x59fdc0===_0x3448e7&&(_0x3448e7===_0x3b8531['PivotTableFiledAreaEnum'][_0x41930b(0x497)]&&_0x3d2119===_0x3b8531['PivotTableValuePositionEnum'][_0x41930b(0x497)]||_0x3448e7===_0x3b8531[_0x41930b(0x4c3)][_0x41930b(0x326)]&&_0x3d2119===_0x3b8531[_0x41930b(0x393)][_0x41930b(0x326)])){let _0x297ed1=_0x3a5b47;_0x17cf88<=_0x3a5b47&&_0x297ed1--,_0x2449b4<=_0x3a5b47&&_0x297ed1++,_0x580f9a[_0x41930b(0x2dd)](_0x3d2119,_0x297ed1);}else _0x1a8d1a&&(_0x59fdc0===_0x3b8531[_0x41930b(0x4c3)][_0x41930b(0x497)]&&_0x3d2119===_0x3b8531[_0x41930b(0x393)][_0x41930b(0x497)]||_0x59fdc0===_0x3b8531[_0x41930b(0x4c3)][_0x41930b(0x326)]&&_0x3d2119===_0x3b8531['PivotTableValuePositionEnum'][_0x41930b(0x326)])&&_0x3a5b47>=_0x17cf88&&_0x580f9a[_0x41930b(0x2dd)](_0x3d2119,_0x3a5b47-0x1),_0x1a8d1a&&(_0x3448e7===_0x3b8531[_0x41930b(0x4c3)]['Row']&&_0x3d2119===_0x3b8531['PivotTableValuePositionEnum']['Row']||_0x3448e7===_0x3b8531['PivotTableFiledAreaEnum']['Column']&&_0x3d2119===_0x3b8531[_0x41930b(0x393)][_0x41930b(0x326)])&&_0x3a5b47>=_0x2449b4&&_0x580f9a[_0x41930b(0x2dd)](_0x3d2119,_0x3a5b47+0x1);const _0x30b264=_0x580f9a[_0x41930b(0x350)](),_0x2e696a=_0x580f9a[_0x41930b(0x3bf)](),_0xb8b4b1=_0x580f9a['endCollectChangeset']();_0x2fad30[_0x41930b(0x48a)]={'view':_0x30b264[_0x41930b(0x485)](),'changesets':_0xb8b4b1,'isEmpty':_0x2e696a,'pivotTableConfig':_0x1743d7};}break;case _0x475b7c['RemovePivotField']:{const _0x1528db=_0x359a3a[_0x41930b(0x44b)][_0x41930b(0x42f)];if(!_0x1528db)return;const _0x4db5c6=_0x1528db[_0x41930b(0x430)],_0x50c43a=this[_0x41930b(0x35a)][_0x41930b(0x231)](_0x573dea,_0x244523,_0x344520);if(!_0x50c43a)return!0x1;const _0x4653d2=this[_0x41930b(0x35a)][_0x41930b(0x218)](_0x344520);if(!_0x4653d2)return!0x1;_0x4653d2[_0x41930b(0x32d)]();for(const _0xbd1f19 of _0x4db5c6){const {area:_0x3c0654}=_0x4653d2[_0x41930b(0x240)](_0xbd1f19);_0x3c0654===_0x3b8531[_0x41930b(0x4c3)][_0x41930b(0x45a)]&&_0x4653d2[_0x41930b(0x2e4)](_0xbd1f19),(_0x3c0654===_0x3b8531[_0x41930b(0x4c3)][_0x41930b(0x497)]||_0x3c0654===_0x3b8531[_0x41930b(0x4c3)][_0x41930b(0x326)])&&_0x4653d2[_0x41930b(0x3bb)](_0xbd1f19),_0x4653d2[_0x41930b(0x4e2)](_0xbd1f19);}const _0x4722c5=_0x4653d2[_0x41930b(0x3bf)](),_0x592329=_0x4653d2['query']()[_0x41930b(0x485)](),_0x4d55ab=_0x4653d2[_0x41930b(0x26a)]();_0x2fad30['removePivotField']={'changesets':_0x4d55ab,'pivotTableConfig':_0x50c43a,'isEmpty':_0x4722c5,'view':_0x592329};}break;case _0x475b7c[_0x41930b(0x214)]:{const _0x3e150b=_0x359a3a[_0x41930b(0x44b)][_0x41930b(0x228)];if(!_0x3e150b)return;const {tableFieldId:_0x17b47,items:_0x1d8ceb,isAll:_0x2989e7}=_0x3e150b,_0x562305=this[_0x41930b(0x35a)][_0x41930b(0x218)](_0x344520),_0x738804=this['_sheetsPivotDataSourceModel'][_0x41930b(0x231)](_0x573dea,_0x244523,_0x344520);if(!_0x562305||!_0x738804)return;_0x562305[_0x41930b(0x32d)](),_0x562305['setLabelFilterInfo'](_0x17b47,{'type':_0x3b8531['PivotFilterTypeEnum'][_0x41930b(0x2c2)],'list':_0x1d8ceb,'isAll':_0x2989e7});const _0x1febc7=_0x562305['isEmpty'](),_0x5a1791=_0x562305[_0x41930b(0x350)]()[_0x41930b(0x485)](),_0x13cc13=_0x562305['endCollectChangeset']();_0x2fad30[_0x41930b(0x228)]={'view':_0x5a1791,'changesets':_0x13cc13,'isEmpty':_0x1febc7,'pivotTableConfig':_0x738804};}break;case _0x475b7c['SetValuePivotFilter']:{const _0x3302cf=_0x359a3a[_0x41930b(0x44b)][_0x41930b(0x433)];if(!_0x3302cf)return;const {tableFieldId:_0xcb08a,filterInfo:_0x27d379}=_0x3302cf,_0x5031e0=this[_0x41930b(0x35a)]['getPivotTableInstance'](_0x344520),_0x4b7aee=this['_sheetsPivotDataSourceModel'][_0x41930b(0x231)](_0x573dea,_0x244523,_0x344520);if(!_0x5031e0||!_0x4b7aee)return;_0x5031e0['startCollectChangeset'](),_0x5031e0['setValueFilterInfo'](_0xcb08a,_0x27d379);const _0x4f2b49=_0x5031e0['isEmpty'](),_0xa26c56=_0x5031e0[_0x41930b(0x350)]()[_0x41930b(0x485)](),_0x222a00=_0x5031e0[_0x41930b(0x26a)]();_0x2fad30['setValuePivotFilter']={'view':_0xa26c56,'changesets':_0x222a00,'isEmpty':_0x4f2b49,'pivotTableConfig':_0x4b7aee};}break;case _0x475b7c[_0x41930b(0x450)]:{const _0x42f325=_0x359a3a['params']['setPivotSort'];if(!_0x42f325)return;const {tableFieldId:_0x348cad,info:_0x37c52c}=_0x42f325,_0x3a7e6e=this[_0x41930b(0x35a)][_0x41930b(0x218)](_0x344520),_0x327533=this['_sheetsPivotDataSourceModel'][_0x41930b(0x231)](_0x573dea,_0x244523,_0x344520);if(!_0x3a7e6e||!_0x327533)return;_0x3a7e6e[_0x41930b(0x32d)](),_0x3a7e6e[_0x41930b(0x4de)](_0x348cad,_0x37c52c);const _0x5eabca=_0x3a7e6e[_0x41930b(0x3bf)](),_0x20106b=_0x3a7e6e[_0x41930b(0x350)]()[_0x41930b(0x485)](),_0x5a15eb=_0x3a7e6e['endCollectChangeset']();_0x2fad30[_0x41930b(0x47d)]={'view':_0x20106b,'changesets':_0x5a15eb,'isEmpty':_0x5eabca,'pivotTableConfig':_0x327533};}break;case _0x475b7c[_0x41930b(0x4ca)]:{const _0x11a07c=_0x359a3a[_0x41930b(0x44b)][_0x41930b(0x462)];if(!_0x11a07c)return;const {tableFieldId:_0x12a144,displayName:_0x1d0d90,subtotalType:_0x4ce66b,format:_0x16c544}=_0x11a07c,_0x1bb281=this[_0x41930b(0x35a)][_0x41930b(0x218)](_0x344520),_0x414c5e=this[_0x41930b(0x35a)][_0x41930b(0x231)](_0x573dea,_0x244523,_0x344520);if(!_0x1bb281||!_0x414c5e)return;_0x1bb281[_0x41930b(0x32d)](),_0x1d0d90!==void 0x0&&_0x1bb281[_0x41930b(0x28e)](_0x12a144,_0x1d0d90),_0x4ce66b!==void 0x0&&_0x1bb281[_0x41930b(0x2cc)](_0x12a144,_0x4ce66b),_0x16c544!==void 0x0&&_0x1bb281[_0x41930b(0x377)](_0x12a144,_0x16c544);const _0x2155cd=_0x1bb281[_0x41930b(0x3bf)](),_0x4d186f=_0x1bb281[_0x41930b(0x350)]()[_0x41930b(0x485)](),_0xeacaee=_0x1bb281[_0x41930b(0x26a)]();_0x2fad30[_0x41930b(0x462)]={'changesets':_0xeacaee,'pivotTableConfig':_0x414c5e,'isEmpty':_0x2155cd,'view':_0x4d186f};}break;case _0x475b7c[_0x41930b(0x28c)]:{const _0x3f74a1=_0x359a3a[_0x41930b(0x44b)][_0x41930b(0x411)];if(!_0x3f74a1)return;const {dataRangeInfo:_0x40b17f,unitId:_0x21d1bc,subUnitId:_0xf86537}=_0x3f74a1,_0x3a2ebd=this['_sheetsPivotDataSourceModel'][_0x41930b(0x231)](_0x21d1bc,_0xf86537,_0x344520),_0x3eaf13=this[_0x41930b(0x35a)]['getPivotTableInstance'](_0x344520);if(!this[_0x41930b(0x35a)]['getCollection'](_0x21d1bc,_0x344520)||!_0x3eaf13||!_0x3a2ebd)return;const _0x43aac5=this['_sheetsPivotDataSourceModel'][_0x41930b(0x347)](_0x21d1bc,_0x344520,_0x40b17f),_0x2260f7=this[_0x41930b(0x35a)]['getCollection'](_0x21d1bc,_0x344520)[_0x41930b(0x485)](),{collection:_0x1a332a}=this[_0x41930b(0x35a)][_0x41930b(0x2e6)]({'unitId':_0x40b17f[_0x41930b(0x437)],'sheetName':_0x40b17f[_0x41930b(0x2ca)],'subUnitId':_0x40b17f[_0x41930b(0x41a)],'range':_0x40b17f['range']}),_0x43184a=_0x1a332a[_0x41930b(0x485)]();_0x3eaf13[_0x41930b(0x32d)]();const _0x48ada0=this[_0x41930b(0x35a)][_0x41930b(0x4af)](_0x21d1bc)[_0x41930b(0x4c7)]()||_0x3b8531['getAutoDisplayName'];_0x3eaf13[_0x41930b(0x4cc)](_0x231eb8=>{const _0x2b6663=_0x41930b,_0x1a4f3f=_0x231eb8[_0x2b6663(0x334)]();if(!_0x1a332a[_0x2b6663(0x360)](_0x1a4f3f)){const _0x4d0178=_0x1a332a['getDataFieldBySourceName'](_0x231eb8['getSourceName']());if(_0x4d0178){_0x3eaf13[_0x2b6663(0x3cc)](_0x231eb8[_0x2b6663(0x2b2)](),_0x4d0178[_0x2b6663(0x369)](),_0x4d0178[_0x2b6663(0x2b2)]());const {area:_0x2981b7}=_0x3eaf13['getFieldPositionInfoById'](_0x231eb8['getId']());let _0x48d9d9=_0x231eb8['getSourceName']();const _0x5e8a71=_0x231eb8['getDisplayName']();if(_0x2981b7===_0x3b8531['PivotTableFiledAreaEnum'][_0x2b6663(0x45a)]){const _0x2965b5=_0x231eb8[_0x2b6663(0x42e)]();_0x48d9d9=_0x48ada0(_0x4d0178[_0x2b6663(0x369)](),_0x2965b5);}_0x5e8a71!==_0x48d9d9&&_0x3eaf13[_0x2b6663(0x28e)](_0x231eb8[_0x2b6663(0x2b2)](),_0x48d9d9);}else _0x3eaf13[_0x2b6663(0x4e2)](_0x231eb8[_0x2b6663(0x2b2)]());}});const _0x1603e8=_0x3eaf13[_0x41930b(0x3bf)](),_0x23d388=_0x3eaf13['query']()['toJSON'](),_0x329357=_0x3eaf13[_0x41930b(0x26a)]();_0x2fad30[_0x41930b(0x411)]={'view':_0x23d388,'changesets':_0x329357,'isEmpty':_0x1603e8,'pivotTableConfig':_0x3a2ebd,'collectionConfig':_0x43184a,'oldCollectionConfig':_0x2260f7,'deleteIds':_0x43aac5};}break;case _0x475b7c[_0x41930b(0x435)]:{const _0x2de5bc=_0x359a3a['params'][_0x41930b(0x2dd)];if(!_0x2de5bc)return;const {position:_0x24b26a,index:_0x315764}=_0x2de5bc,_0x33ef04=this[_0x41930b(0x35a)][_0x41930b(0x231)](_0x573dea,_0x244523,_0x344520);if(!_0x33ef04)return!0x1;const _0x3da1ae=this[_0x41930b(0x35a)][_0x41930b(0x218)](_0x344520);if(!_0x3da1ae)return!0x1;_0x3da1ae[_0x41930b(0x32d)](),_0x3da1ae['updateValuePosition'](_0x24b26a,_0x315764);const _0x549e0a=_0x3da1ae[_0x41930b(0x3bf)](),_0x38f342=_0x3da1ae[_0x41930b(0x350)]()['toJSON'](),_0x1b5ccd=_0x3da1ae[_0x41930b(0x26a)]();_0x2fad30[_0x41930b(0x2dd)]={'changesets':_0x1b5ccd,'pivotTableConfig':_0x33ef04,'isEmpty':_0x549e0a,'view':_0x38f342};}break;case _0x475b7c[_0x41930b(0x266)]:{const _0x505775=_0x359a3a[_0x41930b(0x44b)][_0x41930b(0x4c6)];if(!_0x505775)return;const {tableFieldId:_0x455785,collapse:_0x118598,item:_0x1afdda}=_0x505775,_0x436736=this[_0x41930b(0x35a)][_0x41930b(0x218)](_0x344520),_0x1f93bd=this['_sheetsPivotDataSourceModel'][_0x41930b(0x231)](_0x573dea,_0x244523,_0x344520);if(!_0x436736||!_0x1f93bd)return;_0x436736['startCollectChangeset'](),_0x436736[_0x41930b(0x325)](_0x455785,_0x118598,_0x1afdda);const _0xf54e11=_0x436736['isEmpty'](),_0x5c8d54=_0x436736[_0x41930b(0x350)]()[_0x41930b(0x485)](),_0x23bbd7=_0x436736['endCollectChangeset']();_0x2fad30['setPivotCollapse']={'view':_0x5c8d54,'isEmpty':_0xf54e11,'pivotTableConfig':_0x1f93bd,'changesets':_0x23bbd7};}break;case _0x475b7c['SetPivotTableConfig']:{const _0xe6cd32=_0x359a3a['params'][_0x41930b(0x4d2)];if(!_0xe6cd32)return;const {pivotTableConfig:_0x12c61a}=_0xe6cd32,_0x4906e7=this[_0x41930b(0x35a)][_0x41930b(0x218)](_0x344520),_0x2b3988=this[_0x41930b(0x35a)]['getPivotTableConfig'](_0x573dea,_0x244523,_0x344520);if(!_0x4906e7||!_0x2b3988)return;_0x4906e7[_0x41930b(0x32d)](),_0x444f1a(_0x4906e7,_0x12c61a);const _0x102df1=_0x4906e7[_0x41930b(0x3bf)](),_0x3f4da9=_0x4906e7[_0x41930b(0x350)]()[_0x41930b(0x485)](),_0xa34b6b=_0x4906e7[_0x41930b(0x26a)]();_0x2fad30[_0x41930b(0x4d2)]={'view':_0x3f4da9,'isEmpty':_0x102df1,'pivotTableConfig':{..._0x2b3988,'fieldsConfig':_0x4906e7[_0x41930b(0x485)]()},'changesets':_0xa34b6b};}break;case _0x475b7c[_0x41930b(0x3c9)]:{const _0x5e440d=_0x359a3a[_0x41930b(0x44b)][_0x41930b(0x241)];if(!_0x5e440d)return;const _0x11b44e=this[_0x41930b(0x35a)][_0x41930b(0x218)](_0x344520),_0x3f3416=this[_0x41930b(0x35a)][_0x41930b(0x231)](_0x573dea,_0x244523,_0x344520);if(!_0x11b44e||!_0x3f3416)return;_0x11b44e[_0x41930b(0x32d)](),_0x4f25a5(_0x11b44e,_0x5e440d[_0x41930b(0x46d)]);const _0x3f976f=_0x11b44e[_0x41930b(0x350)]()[_0x41930b(0x485)](),_0x9b0d8f=_0x11b44e[_0x41930b(0x26a)]();_0x2fad30[_0x41930b(0x241)]={'view':_0x3f976f,'isEmpty':!0x0,'pivotTableConfig':{..._0x3f3416,'fieldsConfig':_0x11b44e[_0x41930b(0x485)]()},'changesets':_0x9b0d8f};}break;case _0x475b7c['AddPivotTableWithConfig']:{const _0x56336b=_0x359a3a[_0x41930b(0x44b)][_0x41930b(0x263)];if(!_0x56336b)return;const _0x4cc931=_0x56336b[_0x41930b(0x2cf)],_0x34ede7=_0x56336b[_0x41930b(0x4a5)],{collection:_0x3c63bf}=this[_0x41930b(0x35a)][_0x41930b(0x2e6)]({'unitId':_0x4cc931[_0x41930b(0x437)],'sheetName':_0x4cc931[_0x41930b(0x2ca)],'subUnitId':_0x4cc931[_0x41930b(0x41a)],'range':_0x4cc931[_0x41930b(0x26c)]}),_0x1e1190=new _0x3b8531['PivotTable'](_0x3c63bf,void 0x0,_0x34ede7),_0x2c3244=_0x3c63bf['getFieldIds'](),{rows:_0x20f38a,columns:_0xf3b6eb,filters:_0xda373f,values:_0x56101d}=_0x56336b[_0x41930b(0x24f)];_0x1e1190['startCollectChangeset']();for(const {field:_0x34041d,selectedItems:_0x2f4911}of _0x20f38a||[]){const _0x2a9950=_0x2c3244[_0x34041d];if(_0x2a9950){const _0x5bdf3c=_0x1e1190[_0x41930b(0x4d3)](_0x2a9950,_0x3b8531['PivotTableFiledAreaEnum']['Row']);_0x2f4911&&_0x5bdf3c&&_0x1e1190['setLabelFilterInfo'](_0x5bdf3c[_0x41930b(0x2b2)](),{'type':_0x3b8531['PivotFilterTypeEnum'][_0x41930b(0x2c2)],'list':_0x2f4911,'isAll':!0x1});}}for(const {field:_0x5f2f29,selectedItems:_0x4a0b78}of _0xf3b6eb||[]){const _0x28867d=_0x2c3244[_0x5f2f29];if(_0x28867d){const _0x583993=_0x1e1190[_0x41930b(0x4d3)](_0x28867d,_0x3b8531[_0x41930b(0x4c3)][_0x41930b(0x326)]);_0x4a0b78&&_0x583993&&_0x1e1190[_0x41930b(0x48b)](_0x583993[_0x41930b(0x2b2)](),{'type':_0x3b8531[_0x41930b(0x38a)]['ManualFilter'],'list':_0x4a0b78,'isAll':!0x1});}}for(const {field:_0x3c1dc5,selectedItems:_0x220267}of _0xda373f||[]){const _0x4ba5ce=_0x2c3244[_0x3c1dc5];if(_0x4ba5ce){const _0x439ccc=_0x1e1190[_0x41930b(0x4d3)](_0x4ba5ce,_0x3b8531['PivotTableFiledAreaEnum'][_0x41930b(0x4a4)]);_0x220267&&_0x439ccc&&_0x1e1190['setLabelFilterInfo'](_0x439ccc[_0x41930b(0x2b2)](),{'type':_0x3b8531[_0x41930b(0x38a)][_0x41930b(0x2c2)],'list':_0x220267,'isAll':!0x1});}}for(const {field:_0x56a666,subTotalType:_0x571a27,formatString:_0x443d52}of _0x56101d||[]){const _0x1cf381=_0x3c63bf['getFieldById'](_0x2c3244[_0x56a666]);if(!_0x1cf381)continue;const _0x21638d=_0x2c3244[_0x56a666];if(_0x21638d){const _0x35530b=_0x1e1190[_0x41930b(0x4d3)](_0x21638d,_0x3b8531[_0x41930b(0x4c3)][_0x41930b(0x45a)]);if(_0x35530b){if(_0x571a27!==void 0x0){_0x1e1190[_0x41930b(0x2cc)](_0x35530b['getId'](),_0x571a27);const _0x579585=this[_0x41930b(0x35a)]['getDataFieldManager'](_0x4cc931[_0x41930b(0x437)])[_0x41930b(0x4c7)]()||_0x3b8531[_0x41930b(0x436)],_0x1f34d8=_0x3c63bf['getDisplayName'](_0x21638d),_0x504912=_0x579585(_0x1f34d8,_0x571a27);_0x1e1190['renameField'](_0x35530b[_0x41930b(0x2b2)](),_0x504912);}else{if(_0x1cf381){const _0x33a9dd=_0x1cf381==null?void 0x0:_0x1cf381[_0x41930b(0x464)]();_0x1e1190[_0x41930b(0x2cc)](_0x35530b['getId'](),_0x33a9dd===_0x3b8531[_0x41930b(0x3e3)][_0x41930b(0x225)]?_0x3b8531[_0x41930b(0x428)][_0x41930b(0x23b)]:_0x3b8531['PivotSubtotalTypeEnum'][_0x41930b(0x301)]);}}_0x443d52&&_0x1e1190[_0x41930b(0x377)](_0x35530b[_0x41930b(0x2b2)](),_0x443d52);}}}const _0x193a92=_0x1e1190[_0x41930b(0x350)](),_0x2975d8=_0x1e1190[_0x41930b(0x485)](),_0x352068=_0x1e1190['isEmpty'](),_0x4e3dd3=_0x1e1190['endCollectChangeset'](),_0x20b2cb=_0x3c63bf[_0x41930b(0x485)]();_0x2fad30[_0x41930b(0x263)]={'view':_0x193a92,'fieldsConfig':_0x2975d8,'collectionConfig':_0x20b2cb,'isEmpty':_0x352068,'changesets':_0x4e3dd3};}break;case _0x475b7c['DrillDown']:{const _0xb166=_0x42534f(this[_0x41930b(0x313)],_0x359a3a);if(!_0xb166)return;const {range:_0x1694a3,sourceSubUnitId:_0x4c1ec4,sourceUnitId:_0x4fb6f1,formatMap:_0x285fd3,indexes:_0x4becd7}=_0xb166;_0x2fad30[_0x41930b(0x409)]={'range':_0x1694a3,'sourceSubUnitId':_0x4c1ec4,'sourceUnitId':_0x4fb6f1,'formatMap':_0x285fd3,'indexes':_0x4becd7};}break;}this['_commandService'][_0x41930b(0x42c)](_0x3b0ede['id'],{'version':_0x359a3a[_0x41930b(0x2c5)],'result':_0x2fad30},{'onlyLocal':!0x0});}));}[_0x489679(0x476)](){const _0x2bd37f=_0x489679;this[_0x2bd37f(0x27c)](this[_0x2bd37f(0x4b5)][_0x2bd37f(0x3cd)](_0x5d5d43=>{const _0x19bf0e=_0x2bd37f;if(_0x5d5d43['id']!==_0x7a4a18['id'])return;const _0x277ac9=_0x5d5d43[_0x19bf0e(0x44b)];return this[_0x19bf0e(0x35a)]['setTextInfo'](_0x277ac9[_0x19bf0e(0x330)]),!0x0;}));}['_subjectCollectionChange'](){const _0x1a5516=_0x489679;this[_0x1a5516(0x35a)][_0x1a5516(0x2b0)]['subscribe'](_0x5111a3=>{const _0x23e187=_0x1a5516;switch(_0x5111a3[_0x23e187(0x38c)]){case _0x329095[_0x23e187(0x441)]:_0x5111a3[_0x23e187(0x317)]&&_0x5111a3[_0x23e187(0x26b)]&&this[_0x23e187(0x399)](_0x5111a3[_0x23e187(0x1ed)],_0x5111a3['dataRangeInfo'],_0x5111a3[_0x23e187(0x26b)]);break;case _0x329095['delete']:{const {unitId:_0x2ed0a3,subUnitId:_0x3fc942,token:_0x52a5e4}=_0x5111a3;_0x2ed0a3&&_0x3fc942&&_0x52a5e4&&this[_0x23e187(0x22c)](_0x2ed0a3,_0x3fc942,_0x52a5e4);}break;case _0x329095[_0x23e187(0x43f)]:{const {token:_0x5f34f1,oldSourceRangeInfo:_0x27f75a,dataRangeInfo:_0x35c82d,targetCellInfo:_0xd1aa9c}=_0x5111a3,{unitId:_0x53e07c,subUnitId:_0x5c2c47}=_0x27f75a||{};_0x53e07c&&_0x5c2c47&&_0x5f34f1&&this['removeSourceRangeChange'](_0x53e07c,_0x5c2c47,_0x5f34f1),_0x35c82d&&_0xd1aa9c&&this[_0x23e187(0x399)](_0x5f34f1,_0x35c82d,_0xd1aa9c);}break;}});}[_0x489679(0x376)](){const _0x57f717=_0x489679;this[_0x57f717(0x35a)][_0x57f717(0x1cd)]['subscribe'](_0x434795=>{const _0x20e558=_0x57f717;Object['keys'](_0x434795)[_0x20e558(0x404)](_0x3de28c=>{const _0x7966af=_0x20e558,_0x4c2527=this[_0x7966af(0x35a)][_0x7966af(0x233)](_0x3de28c);if(_0x4c2527){const _0x4f7c85=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x4c2527==null?void 0x0:_0x4c2527[_0x7966af(0x437)],_0x4c2527==null?void 0x0:_0x4c2527[_0x7966af(0x41a)],_0x3de28c);_0x4f7c85&&(this['handleSourceRangeChange'](_0x3de28c,_0x4f7c85[_0x7966af(0x2cf)],_0x4f7c85[_0x7966af(0x26b)]),this[_0x7966af(0x3c8)]([{'unitId':_0x4c2527[_0x7966af(0x437)],'subUnitId':_0x4c2527['subUnitId'],'token':_0x3de28c}]));}});});}['_subjectViewChange'](){const _0x172131=_0x489679;this[_0x172131(0x35a)][_0x172131(0x379)]['subscribe'](_0x2158da=>{const {unitId:_0x152b2b,subUnitId:_0x3b1dc0,pivotTableId:_0xc34367}=_0x2158da;_0x152b2b&&_0x3b1dc0&&_0xc34367&&this['triggerDirtyFeature']([{'unitId':_0x152b2b,'subUnitId':_0x3b1dc0,'token':_0xc34367}]);});}[_0x489679(0x3c8)](_0x204c15){const _0x309127=_0x489679,_0xafaa93={};_0x204c15[_0x309127(0x404)](_0x10ddc4=>{var _0x19361f,_0x3659b5;const {unitId:_0xed96d3,subUnitId:_0x390884,token:_0x5019e1}=_0x10ddc4;_0xafaa93[_0xed96d3]=(_0x19361f=_0xafaa93[_0xed96d3])!=null?_0x19361f:{},_0xafaa93[_0xed96d3][_0x390884]=(_0x3659b5=_0xafaa93[_0xed96d3][_0x390884])!=null?_0x3659b5:{},_0xafaa93[_0xed96d3][_0x390884][_0x5019e1]=!0x0;}),this[_0x309127(0x4b5)]['executeCommand'](_0x23fc84['id'],_0xafaa93);}[_0x489679(0x22c)](_0x4563fe,_0x1e8373,_0x5df7be){const _0x488b61=_0x489679;this[_0x488b61(0x30d)][_0x488b61(0x484)](_0x4563fe,_0x1e8373,[_0x5df7be]);}[_0x489679(0x399)](_0x305d6e,_0x25fcb2,_0x21b925){const _0x26d024=_0x489679,{unitId:_0x3a9a0e,subUnitId:_0x267146}=_0x25fcb2;this[_0x26d024(0x30d)][_0x26d024(0x445)](_0x21b925[_0x26d024(0x437)],_0x21b925['subUnitId'],_0x305d6e)&&this[_0x26d024(0x22c)](_0x3a9a0e,_0x267146,_0x305d6e);const _0xf919ff={'sheetId':_0x267146,..._0x25fcb2};this[_0x26d024(0x30d)][_0x26d024(0x3f0)](_0x21b925['unitId'],_0x21b925[_0x26d024(0x41a)],_0x305d6e,{'unitId':_0x21b925['unitId'],'subUnitId':_0x21b925[_0x26d024(0x41a)],'dependencyRanges':[_0xf919ff],'getDirtyData':(_0x46cf05,_0x369219)=>{const _0x31d7f3=_0x26d024,_0x28c384=this[_0x31d7f3(0x35a)],_0x4e89a6=_0x28c384['getTargetByPivotId'](_0x305d6e);if(!_0x4e89a6)return _0x3d0b1b();const {unitId:_0x1a6ead,subUnitId:_0x4ba497}=_0x4e89a6,_0x58aca2=_0x4ce98e(_0x46cf05,_0x369219,_0x25fcb2);if(_0x58aca2[_0x31d7f3(0x4d6)]>0x0){const _0x1d6f56=_0x28c384['getCollection'](_0x3a9a0e,_0x305d6e),_0x537c76=_0x1d6f56[_0x31d7f3(0x3f9)](),_0xe5d5d=this['getMatrixFromRunTimeData'](_0x25fcb2['unitId'],_0x25fcb2['subUnitId'],_0x369219),_0x4d1739={},_0x698dd5=this[_0x31d7f3(0x35a)][_0x31d7f3(0x4af)](_0x1a6ead)[_0x31d7f3(0x4c7)]()||_0x3b8531[_0x31d7f3(0x436)],_0xbc9cc3=[];for(const _0x24768e of _0x58aca2){const _0x49dde1=_0x24768e-(_0x25fcb2['range'][_0x31d7f3(0x391)]||0x0),_0x442f44=_0x537c76[_0x49dde1];_0xbc9cc3[_0x31d7f3(0x396)](_0x442f44),_0x4d1739[_0x442f44]=_0x1d6f56[_0x31d7f3(0x4ab)](_0x442f44)['getName'](),_0x28c384[_0x31d7f3(0x4af)](_0x3a9a0e)[_0x31d7f3(0x43e)](_0x442f44,_0x25fcb2,_0x49dde1,_0xe5d5d);}_0x1d6f56['getGroupFieldsInfoByIds'](_0xbc9cc3)[_0x31d7f3(0x404)](_0x50a94d=>{const _0x14c7b7=_0x31d7f3,[_0x2a9279,_0x411e9a]=_0x50a94d,_0x3e5b13=_0x1d6f56[_0x14c7b7(0x4ab)](_0x2a9279),_0x1d13b3=_0x1d6f56['getFieldById'](_0x411e9a);_0x3e5b13&&_0x1d13b3&&_0x3e5b13[_0x14c7b7(0x29e)](_0x1d13b3);}),_0x1d6f56[_0x31d7f3(0x1cc)]();const _0x1c6abd=_0x28c384[_0x31d7f3(0x218)](_0x305d6e);if(_0x1c6abd){_0x31fc77(_0x1c6abd,_0x4d1739,_0x698dd5),_0x1c6abd['setDirty'](!0x0);const _0x24a14d=_0x1c6abd[_0x31d7f3(0x350)](),_0x459163=_0x28c384[_0x31d7f3(0x231)](_0x1a6ead,_0x4ba497,_0x305d6e),_0x401422=_0x28c384[_0x31d7f3(0x4af)](_0x3a9a0e)[_0x31d7f3(0x485)]();_0x28c384[_0x31d7f3(0x407)](_0x1a6ead,_0x4ba497,_0xc924d8[_0x31d7f3(0x1ee)],_0x305d6e,_0x24a14d,_0x459163,_0x401422,!0x0);}}return this[_0x31d7f3(0x24b)](_0x1a6ead,_0x4ba497,_0x305d6e);}});}[_0x489679(0x232)](_0x53523a,_0x226cf8,_0xdaba1e){var _0x34686c,_0x1909e0;const {arrayFormulaCellData:_0x2ddda9,unitData:_0x26d22d}=_0xdaba1e,_0x56266e=(_0x34686c=_0x2ddda9==null?void 0x0:_0x2ddda9[_0x53523a])==null?void 0x0:_0x34686c[_0x226cf8],_0x3742b7=(_0x1909e0=_0x26d22d==null?void 0x0:_0x26d22d[_0x53523a])==null?void 0x0:_0x1909e0[_0x226cf8];return{'arrayFormulaCellDataMatrix':_0x56266e,'unitDataMatrix':_0x3742b7};}[_0x489679(0x24b)](_0x1468c3,_0x43a233,_0x48883b){const _0x38282c=_0x489679,_0x5da552=this[_0x38282c(0x35a)][_0x38282c(0x424)](_0x1468c3,_0x43a233,_0x48883b),_0x1d0244=[],_0x40abda=new _0x12d885[(_0x38282c(0x3d9))]();if(_0x5da552){const {rangeCache:_0x173138,matrix:_0x1c1069,oldRangeCache:_0xbbf6e9,oldMatrix:_0x3ffe44}=_0x5da552,_0xaabaa4=_0x448a97(_0xbbf6e9),_0x59d943=_0x448a97(_0x173138);_0x1d0244[_0x38282c(0x396)](..._0x59d943,..._0xaabaa4),_0x3ffe44&&_0xbbf6e9&&_0xaabaa4['forEach'](_0x536607=>{const _0x52022d=_0x38282c;for(let _0xa83bc9=_0x536607[_0x52022d(0x2f4)];_0xa83bc9<=_0x536607[_0x52022d(0x483)];_0xa83bc9++)for(let _0x446784=_0x536607[_0x52022d(0x391)];_0x446784<=_0x536607[_0x52022d(0x3bc)];_0x446784++)_0x40abda[_0x52022d(0x3e2)](_0xa83bc9,_0x446784);}),_0x1c1069&&_0x59d943&&_0x59d943[_0x38282c(0x404)](_0x360a37=>{const _0x261038=_0x38282c;for(let _0x5c4134=_0x360a37[_0x261038(0x2f4)];_0x5c4134<=_0x360a37['endRow'];_0x5c4134++)for(let _0x5d48f7=_0x360a37[_0x261038(0x391)];_0x5d48f7<=_0x360a37[_0x261038(0x3bc)];_0x5d48f7++)_0x40abda[_0x261038(0x29a)](_0x5c4134,_0x5d48f7,_0x1c1069[_0x261038(0x452)](_0x5c4134,_0x5d48f7));});}const _0x27886f={};return _0x27886f[_0x1468c3]={[_0x43a233]:_0x5503a9(_0x1d0244)},{'runtimeCellData':{[_0x1468c3]:{[_0x43a233]:_0x40abda}},'dirtyRanges':_0x27886f};}[_0x489679(0x1f0)](){}};_0x2ed521=_0x42b2b7([_0x1bd23b(0x0,_0x12d885['Inject'](_0x2a78c5[_0x489679(0x21b)])),_0x1bd23b(0x1,_0x12d885[_0x489679(0x324)](_0x4b1b80['IFeatureCalculationManagerService'])),_0x1bd23b(0x2,_0x12d885[_0x489679(0x324)](_0x12d885[_0x489679(0x300)])),_0x1bd23b(0x3,_0x12d885[_0x489679(0x324)](_0x4b1b80[_0x489679(0x406)])),_0x1bd23b(0x4,_0x12d885['Inject'](_0x12d885[_0x489679(0x256)]))],_0x2ed521);var _0x574b98=Object[_0x489679(0x3c5)],_0x3c201e=(_0x5d87ce,_0x5bf528,_0x2ab2a3,_0x546c7c)=>{const _0x26c7e3=_0x489679;for(var _0x1a123d=_0x546c7c>0x1?void 0x0:_0x546c7c?_0x574b98(_0x5bf528,_0x2ab2a3):_0x5bf528,_0x2ec958=_0x5d87ce[_0x26c7e3(0x4d6)]-0x1,_0xbe0628;_0x2ec958>=0x0;_0x2ec958--)(_0xbe0628=_0x5d87ce[_0x2ec958])&&(_0x1a123d=_0xbe0628(_0x1a123d)||_0x1a123d);return _0x1a123d;},_0x59a07b=(_0x4c1bab,_0x301363)=>(_0x306065,_0x526ad4)=>_0x301363(_0x306065,_0x526ad4,_0x4c1bab);let _0x41e2ca=class extends _0x12d885['Disposable']{constructor(_0x182100,_0x1fa298,_0xf1b70f,_0x2966f6){const _0x79d191=_0x489679;super(),_0x474ffa(this,_0x79d191(0x25e),new _0x12d885['DisposableCollection']()),(this[_0x79d191(0x362)]=_0x182100,this[_0x79d191(0x494)]=_0x1fa298,this['_sheetsSelectionsService']=_0xf1b70f,this[_0x79d191(0x3fd)]=_0x2966f6,this[_0x79d191(0x40c)]());}[_0x489679(0x40c)](){const _0x195069=_0x489679;this[_0x195069(0x27c)](this[_0x195069(0x494)][_0x195069(0x1fe)]({'getMutations':_0x44be78=>{const _0x4215a9=_0x195069;if(_0x44be78['id']===_0x28e907['ClearSelectionContentCommand']['id']||_0x44be78['id']===_0x28e907[_0x4215a9(0x421)]['id']){const _0xf753e6=[],_0x432b3d=[],_0x3fe1f7=this['_sheetsSelectionsService'][_0x4215a9(0x36f)]()[_0x4215a9(0x4c0)](_0x1576c1=>_0x1576c1[_0x4215a9(0x26c)]),_0x3fc288=_0x28e907[_0x4215a9(0x235)](this[_0x4215a9(0x362)]);if(!_0x3fc288)return{'redos':[],'undos':[]};const {unitId:_0x1d6514,subUnitId:_0x4e26f5}=_0x3fc288,_0x475be9={},_0x2503e2=this['_sheetsPivotTableConfigModel'][_0x4215a9(0x32c)](_0x1d6514,_0x4e26f5);if(_0x2503e2!=null&&_0x2503e2[_0x4215a9(0x32b)])for(const [_0x8941d2,_0x521215]of _0x2503e2){const {unitId:_0x36a96b,subUnitId:_0x574eca,row:_0x33c477,col:_0x5b7f40}=_0x521215[_0x4215a9(0x26b)];_0x36a96b===_0x3fc288[_0x4215a9(0x437)]&&_0x574eca===_0x3fc288[_0x4215a9(0x41a)]&&(_0x475be9[_0x33c477+'-'+_0x5b7f40]=_0x8941d2);}return _0x3fe1f7&&_0x3fc288&&_0x3fe1f7[_0x4215a9(0x404)](_0x26e30e=>{const _0x25b112=_0x4215a9;_0x12d885[_0x25b112(0x357)][_0x25b112(0x4bc)](_0x26e30e,(_0x144463,_0xd3e142)=>{const _0xf9ccb0=_0x25b112,_0x34e380=_0x144463+'-'+_0xd3e142;if(_0x475be9[_0x34e380]){const _0x3e6d1d=_0x475be9[_0x34e380];_0xf753e6[_0xf9ccb0(0x396)]({'id':_0x566b44['id'],'params':{'unitId':_0x1d6514,'subUnitId':_0x4e26f5,'pivotTableId':_0x3e6d1d}});const _0x2ec3fb=this[_0xf9ccb0(0x3fd)][_0xf9ccb0(0x461)](_0x1d6514,_0x3e6d1d),_0x54b84f=this[_0xf9ccb0(0x3fd)][_0xf9ccb0(0x231)](_0x1d6514,_0x4e26f5,_0x3e6d1d);_0x432b3d[_0xf9ccb0(0x396)]({'id':_0x37cbf6['id'],'params':{'unitId':_0x1d6514,'subUnitId':_0x4e26f5,'pivotTableId':_0x3e6d1d,'pivotTableConfig':_0x54b84f,'collectionConfig':_0x2ec3fb}});}});}),{'redos':_0xf753e6,'undos':_0x432b3d};}return{'redos':[],'undos':[]};}}));}};_0x41e2ca=_0x3c201e([_0x59a07b(0x0,_0x12d885['IUniverInstanceService']),_0x59a07b(0x1,_0x12d885['Inject'](_0x28e907[_0x489679(0x200)])),_0x59a07b(0x2,_0x12d885[_0x489679(0x324)](_0x28e907['SheetsSelectionsService'])),_0x59a07b(0x3,_0x12d885['Inject'](_0x2a78c5[_0x489679(0x1ce)]))],_0x41e2ca);var _0x226cd2=Object['getOwnPropertyDescriptor'],_0x17b02c=(_0x2029ed,_0x11187b,_0x42d801,_0x3c4a38)=>{const _0x57bb0f=_0x489679;for(var _0x2dc10f=_0x3c4a38>0x1?void 0x0:_0x3c4a38?_0x226cd2(_0x11187b,_0x42d801):_0x11187b,_0x3ff6f2=_0x2029ed[_0x57bb0f(0x4d6)]-0x1,_0xd7bbe9;_0x3ff6f2>=0x0;_0x3ff6f2--)(_0xd7bbe9=_0x2029ed[_0x3ff6f2])&&(_0x2dc10f=_0xd7bbe9(_0x2dc10f)||_0x2dc10f);return _0x2dc10f;},_0x59b218=(_0x421caa,_0x58f06c)=>(_0x589e57,_0x34a6ba)=>_0x58f06c(_0x589e57,_0x34a6ba,_0x421caa);let _0x1fe42f=class extends _0x12d885['Disposable']{constructor(_0x4bac75,_0x132af8,_0x233095,_0xba0631,_0x5ee0b2){const _0x3cb42d=_0x489679;super(),this[_0x3cb42d(0x494)]=_0x4bac75,this['_injector']=_0x132af8,this[_0x3cb42d(0x362)]=_0x233095,this[_0x3cb42d(0x3fd)]=_0xba0631,this[_0x3cb42d(0x4c5)]=_0x5ee0b2,this['_initCommandInterceptListener']();}['_getPivotAppliedRanges'](_0x131737,_0x5481ca,_0x3822a2){const _0x26781b=_0x489679,{pageView:_0x4ca7bc,cornerView:_0x592320,rowView:_0x2e0b60,colView:_0x274e25,dataView:_0x2931bd}=_0x5481ca,_0x250a1b=_0x131737;let _0x460ae4;if(_0x3822a2)_0x460ae4=[..._0x3577ec(_0x250a1b)];else{const _0x45e3ef=_0x3b9ebf(_0x250a1b,_0x4ca7bc,!0x0),_0x306ca7=_0x4ca7bc[_0x26781b(0x49d)]>=0x0?_0x4ca7bc['lastRow']+0x1:0x0,_0x1aa473=_0x592320[_0x26781b(0x2e3)],_0x202bd5=_0x592320[_0x26781b(0x215)],_0x320eeb=_0x45e3ef[_0x26781b(0x4d6)]>0x0?_0x18be36:0x0,_0x3c269b=_0x3b9ebf({'row':_0x250a1b['row']+_0x306ca7+_0x320eeb,'col':_0x250a1b[_0x26781b(0x2b8)]},_0x592320,!0x1,!0x1),_0x558599=_0x3b9ebf({'row':_0x250a1b[_0x26781b(0x42b)]+_0x306ca7+_0x320eeb+_0x1aa473,'col':_0x250a1b[_0x26781b(0x2b8)]},_0x2e0b60,!0x1,!0x0),_0x5c4922=_0x3b9ebf({'row':_0x250a1b[_0x26781b(0x42b)]+_0x306ca7+_0x320eeb,'col':_0x250a1b['col']+_0x202bd5},_0x274e25,!0x1,!0x0),_0x64fdc1=_0x3b9ebf({'row':_0x250a1b[_0x26781b(0x42b)]+_0x306ca7+_0x320eeb+_0x1aa473,'col':_0x250a1b[_0x26781b(0x2b8)]+_0x202bd5},_0x2931bd,!0x1,!0x0);_0x460ae4=[..._0x45e3ef,..._0x3c269b,..._0x558599,..._0x5c4922,..._0x64fdc1];}return _0x460ae4;}[_0x489679(0x356)](){const _0x4f290b=_0x489679;this[_0x4f290b(0x27c)](this['_sheetsPivotTableService'][_0x4f290b(0x426)][_0x4f290b(0x493)](this[_0x4f290b(0x4c5)][_0x4f290b(0x426)][_0x4f290b(0x25f)]()[_0x4f290b(0x3f7)],{'handler':(_0x11d9e3,_0xdf5927)=>{const _0x56b293=_0x4f290b,{cellInfo:_0x4f9204,view:_0x43697b,isEmpty:_0xd80b8f}=_0xdf5927,_0xe27e0d=_0x4f9204,{unitId:_0x57ec0c,subUnitId:_0x69856f}=_0xe27e0d,_0x189419=this['_getPivotAppliedRanges'](_0x4f9204,_0x43697b,_0xd80b8f),_0x4315ab=this['_sheetInterceptorService'][_0x56b293(0x43a)]({'unitId':_0x57ec0c,'subUnitId':_0x69856f,'ranges':_0x189419}),_0x45f053=_0x5729a1(this[_0x56b293(0x313)],_0x57ec0c,_0x69856f,_0x189419);_0x45f053[_0x56b293(0x1fc)]&&(_0x4315ab['redos'][_0x56b293(0x396)](_0x45f053[_0x56b293(0x1d7)]),_0x4315ab[_0x56b293(0x381)]['push'](_0x45f053[_0x56b293(0x387)]));const _0x731c25=this[_0x56b293(0x2b1)](_0x43697b,_0x4f9204);return _0x4315ab[_0x56b293(0x34c)][_0x56b293(0x396)](..._0x731c25[_0x56b293(0x34c)]),_0x4315ab[_0x56b293(0x381)]['push'](..._0x731c25[_0x56b293(0x381)]),{'redos':_0x4315ab['redos'],'undos':_0x4315ab[_0x56b293(0x381)]};}}));}[_0x489679(0x2b1)](_0x3bdf4e,_0x5ce2f5){const _0x31faf1=_0x489679,{col:_0x44a1d3,unitId:_0x37fd74,subUnitId:_0x2536c9}=_0x5ce2f5,_0x5b1ca0=[],_0x4f5a0b=[],_0x9d7363=_0x28e907[_0x31faf1(0x235)](this[_0x31faf1(0x362)],{'unitId':_0x37fd74,'subUnitId':_0x2536c9});if(!_0x5ce2f5||!_0x3bdf4e||!_0x9d7363)return{'undos':_0x4f5a0b,'redos':_0x5b1ca0};const _0x5befa7=this[_0x31faf1(0x3fd)]['getTextInfo'](),{colView:_0x1494e8,dataView:_0x38b8d9,cornerView:_0x24c616,rowView:_0x10b624,formatMap:_0x46346c}=_0x3bdf4e,_0x5dfb2=_0x5e7c72(_0x1494e8,_0x5befa7,!0x0,_0x46346c),_0x360d5c=_0x5e7c72(_0x10b624,_0x5befa7,!0x1,_0x46346c),_0x11d332=_0x1a66bd(_0x38b8d9),_0x258736=_0x1b9a72(_0x24c616),{worksheet:_0x5dc239}=_0x9d7363;if(typeof window<'u'&&window['document']){const _0x46babe=_0x1fa83b['getFontStyleString']({..._0x5de2ba[_0x31faf1(0x388)]}),_0x23ebf1=_0x1fa83b[_0x31faf1(0x28a)][_0x31faf1(0x2d8)](_0x5dfb2,_0x46babe)['width']+0x10,_0x17dc34=_0x1fa83b[_0x31faf1(0x28a)]['getTextSize'](_0x11d332,_0x46babe)['width'],_0x49ef2a=Math[_0x31faf1(0x3e0)](Math[_0x31faf1(0x3fe)](_0x23ebf1,_0x17dc34))+0x10,_0x24c237=Math[_0x31faf1(0x3e0)](_0x1fa83b['FontCache'][_0x31faf1(0x2d8)](_0x360d5c,_0x46babe)[_0x31faf1(0x4a2)]),_0x1dca0b=Math[_0x31faf1(0x3e0)](_0x1fa83b[_0x31faf1(0x28a)][_0x31faf1(0x2d8)](_0x258736,_0x46babe)[_0x31faf1(0x4a2)]),_0x261f68=Math[_0x31faf1(0x3fe)](_0x24c237,_0x1dca0b,0x28)+0xc,_0x3f337b=_0x1494e8[_0x31faf1(0x215)]+_0x24c616[_0x31faf1(0x215)],_0x3fb264={},_0x365c1b={};for(let _0x3f990d=_0x44a1d3;_0x3f990d<_0x44a1d3+_0x3f337b;_0x3f990d++){const _0x939fe8=_0x5dc239[_0x31faf1(0x2f7)](_0x3f990d);_0x3fb264[_0x3f990d]=_0x939fe8,_0x3f990d-_0x44a1d3<_0x24c616[_0x31faf1(0x215)]?_0x365c1b[_0x3f990d-_0x44a1d3]=_0x261f68:_0x365c1b[_0x3f990d-_0x44a1d3]=_0x49ef2a;}_0x5b1ca0[_0x31faf1(0x396)]({'id':_0x28e907[_0x31faf1(0x341)]['id'],'params':{'subUnitId':_0x2536c9,'unitId':_0x37fd74,'ranges':[{'startColumn':_0x44a1d3,'endColumn':_0x44a1d3+_0x3f337b-0x1,'startRow':0x0,'endRow':_0x5dc239['getRowCount']()-0x1}],'colWidth':_0x365c1b}}),_0x4f5a0b[_0x31faf1(0x396)]({'id':_0x28e907[_0x31faf1(0x341)]['id'],'params':{'subUnitId':_0x2536c9,'unitId':_0x37fd74,'ranges':[{'startColumn':_0x44a1d3,'endColumn':_0x44a1d3+_0x3f337b-0x1,'startRow':0x0,'endRow':_0x5dc239['getRowCount']()-0x1}],'colWidth':_0x3fb264}});}return{'undos':_0x4f5a0b,'redos':_0x5b1ca0};}};_0x1fe42f=_0x17b02c([_0x59b218(0x0,_0x12d885[_0x489679(0x324)](_0x28e907[_0x489679(0x200)])),_0x59b218(0x1,_0x12d885[_0x489679(0x324)](_0x12d885[_0x489679(0x256)])),_0x59b218(0x2,_0x12d885[_0x489679(0x324)](_0x12d885[_0x489679(0x27d)])),_0x59b218(0x3,_0x12d885[_0x489679(0x324)](_0x2a78c5[_0x489679(0x1ce)])),_0x59b218(0x4,_0x12d885['Inject'](_0x2a78c5[_0x489679(0x222)]))],_0x1fe42f);var _0x53a592=Object[_0x489679(0x3c5)],_0xfc76ef=(_0x4c06b8,_0x29b1f6,_0x266ca1,_0x328e39)=>{const _0x338930=_0x489679;for(var _0x328b74=_0x328e39>0x1?void 0x0:_0x328e39?_0x53a592(_0x29b1f6,_0x266ca1):_0x29b1f6,_0x341b37=_0x4c06b8[_0x338930(0x4d6)]-0x1,_0x294c9d;_0x341b37>=0x0;_0x341b37--)(_0x294c9d=_0x4c06b8[_0x341b37])&&(_0x328b74=_0x294c9d(_0x328b74)||_0x328b74);return _0x328b74;},_0x40bbb5=(_0x56d3ee,_0xa8e8a5)=>(_0x1dc46b,_0xa8eea9)=>_0xa8e8a5(_0x1dc46b,_0xa8eea9,_0x56d3ee);let _0x37ed61=class extends _0x12d885[_0x489679(0x2f9)]{constructor(_0x254a44,_0x3e03c7,_0x35de77,_0x2ce038,_0x20edf9,_0x2ce67b,_0x1f4597){const _0x380d8b=_0x489679;super(),_0x474ffa(this,_0x380d8b(0x25e),new _0x12d885[(_0x380d8b(0x39c))]()),(this[_0x380d8b(0x313)]=_0x254a44,this[_0x380d8b(0x33d)]=_0x3e03c7,this[_0x380d8b(0x4b5)]=_0x35de77,this[_0x380d8b(0x362)]=_0x2ce038,this[_0x380d8b(0x3fd)]=_0x20edf9,this[_0x380d8b(0x1c8)]=_0x2ce67b,this[_0x380d8b(0x494)]=_0x1f4597,this[_0x380d8b(0x1d9)]());}['_onRefRangeChange'](){const _0x2abc47=_0x489679,_0x5be3a5=(_0x1eb7ae,_0x2302ed)=>{const _0x595e74=_0x22af,_0xa2031f=this['_univerInstanceService']['getCurrentUnitForType'](_0x12d885[_0x595e74(0x31f)]['UNIVER_SHEET']);if(!_0xa2031f||!(_0xa2031f==null?void 0x0:_0xa2031f[_0x595e74(0x4cd)](_0x2302ed)))return;this[_0x595e74(0x25e)][_0x595e74(0x1f0)]();const _0xd184e3=_0x308662=>this[_0x595e74(0x2a1)](_0x308662,_0x1eb7ae,_0x2302ed),_0x1a4da4=this[_0x595e74(0x3fd)]['getSubUnitPivotConfigs'](_0x1eb7ae,_0x2302ed);if(!(_0x1a4da4!=null&&_0x1a4da4[_0x595e74(0x32b)]))return;Array[_0x595e74(0x27f)](_0x1a4da4['values']())[_0x595e74(0x4c0)](_0x22d23c=>{const _0x155176=_0x595e74,{row:_0x3dab9e,col:_0x586f74}=_0x22d23c[_0x155176(0x26b)];return _0x12d885[_0x155176(0x3e8)](_0x3dab9e,_0x586f74);})[_0x595e74(0x404)](_0x5c0b4b=>{const _0x26f4cb=_0x595e74;this[_0x26f4cb(0x25e)]['add'](this[_0x26f4cb(0x33d)][_0x26f4cb(0x302)](_0x5c0b4b,_0xd184e3,_0x1eb7ae,_0x2302ed));});},_0x37e25e=()=>{const _0x47a701=_0x22af,_0x4a5c15=this['_univerInstanceService'][_0x47a701(0x28b)](_0x12d885[_0x47a701(0x31f)][_0x47a701(0x1db)]);if(_0x4a5c15){const _0x19d072=_0x4a5c15[_0x47a701(0x2c3)]();if(!_0x19d072)return;_0x5be3a5(_0x4a5c15[_0x47a701(0x303)](),_0x19d072['getSheetId']());}};this[_0x2abc47(0x27c)](this['_commandService']['onCommandExecuted'](_0x3cff4e=>{const _0x42d42b=_0x2abc47;if(_0x3cff4e['id']===_0x28e907[_0x42d42b(0x237)]['id']){const _0x405345=_0x3cff4e[_0x42d42b(0x44b)],_0x1a294a=_0x405345[_0x42d42b(0x41a)],_0x2c972f=_0x405345[_0x42d42b(0x437)];if(!_0x1a294a||!_0x2c972f)return;_0x5be3a5(_0x2c972f,_0x1a294a);}})),this[_0x2abc47(0x27c)](this['_sheetsPivotTableConfigModel']['pivotInitCompleted$'][_0x2abc47(0x260)](_0x581b9b=>{_0x581b9b&&_0x37e25e();})),this[_0x2abc47(0x27c)](this[_0x2abc47(0x3fd)][_0x2abc47(0x4c2)][_0x2abc47(0x260)](_0x207249=>{const _0x5a7637=_0x2abc47,_0x5288d9=_0x28e907[_0x5a7637(0x235)](this[_0x5a7637(0x362)]);if(!_0x5288d9)return;const {unitId:_0x48cbe7,subUnitId:_0x3bdd7a}=_0x5288d9,{unitId:_0x430dac,subUnitId:_0x1811a1}=_0x207249;_0x48cbe7!==_0x430dac||_0x3bdd7a!==_0x1811a1||_0x5be3a5(_0x48cbe7,_0x3bdd7a);})),_0x37e25e();}[_0x489679(0x2a1)](_0x4b9d84,_0x3bc942,_0x3999b4){const _0x3e32ae=_0x489679;switch(_0x4b9d84['id']){case _0x28e907[_0x3e32ae(0x31e)]['id']:return this[_0x3e32ae(0x3a6)](_0x4b9d84[_0x3e32ae(0x44b)],_0x3bc942,_0x3999b4);}return{'redos':[],'undos':[]};}[_0x489679(0x3a6)](_0x36a4df,_0x599e9d,_0x2a5d0b){const _0x2003df=_0x489679,{fromRange:_0x1e37b0,toRange:_0x45fc37}=_0x36a4df,_0x1ca300=[],_0x24a455=[],_0x49601f=_0x28e907[_0x2003df(0x235)](this['_univerInstanceService']);if(!_0x49601f)return{'undos':_0x24a455,'redos':_0x1ca300};if(_0x599e9d!==_0x49601f[_0x2003df(0x437)]||_0x2a5d0b!==_0x49601f['subUnitId'])return{'undos':_0x24a455,'redos':_0x1ca300};const _0x5b4a58=this[_0x2003df(0x3fd)][_0x2003df(0x32c)](_0x599e9d,_0x2a5d0b);if(_0x5b4a58!=null&&_0x5b4a58[_0x2003df(0x32b)])for(const [_0x38be82,_0x5003be]of _0x5b4a58){const {unitId:_0x46312c,subUnitId:_0x51ff68,row:_0x667a44,col:_0x49c6c6}=_0x5003be[_0x2003df(0x26b)];if(_0x46312c===_0x49601f[_0x2003df(0x437)]&&_0x51ff68===_0x49601f[_0x2003df(0x41a)]){const _0x18ea31=_0x12d885['cellToRange'](_0x667a44,_0x49c6c6);if(_0x12d885[_0x2003df(0x329)][_0x2003df(0x273)](_0x18ea31,_0x1e37b0)){const _0x2f483f=_0x667a44-_0x1e37b0[_0x2003df(0x2f4)],_0x2869d0=_0x49c6c6-_0x1e37b0[_0x2003df(0x391)],_0x21374b={'row':_0x45fc37[_0x2003df(0x2f4)]+_0x2f483f,'col':_0x45fc37[_0x2003df(0x391)]+_0x2869d0};_0x1ca300[_0x2003df(0x396)]({'id':_0x5615ed['id'],'params':{'unitId':_0x46312c,'subUnitId':_0x51ff68,'pivotTableId':_0x38be82,'targetCellPosition':_0x21374b}}),_0x24a455[_0x2003df(0x396)]({'id':_0x5615ed['id'],'params':{'unitId':_0x46312c,'subUnitId':_0x51ff68,'pivotTableId':_0x38be82,'targetCellPosition':{'row':_0x667a44,'col':_0x49c6c6}}});const _0x43299b=_0x21374b[_0x2003df(0x42b)]-_0x667a44,_0x446436=_0x21374b['col']-_0x49c6c6,_0x1f7fd5=[],_0x1b4204=this[_0x2003df(0x1c8)]['getPivotItemRenderInfoCache'](_0x46312c,_0x51ff68,_0x38be82),_0x41c57e=_0x1b4204==null?void 0x0:_0x1b4204[_0x2003df(0x470)];if(_0x41c57e){Object[_0x2003df(0x48e)](_0x41c57e)[_0x2003df(0x404)](_0xe84d69=>{const _0x2e37c8=_0x2003df;_0x41c57e[_0xe84d69][_0x2e37c8(0x404)](_0x4b2e65=>{const _0x13137a=_0x2e37c8,_0x499875={..._0x4b2e65};_0x499875[_0x13137a(0x2f4)]=_0x4b2e65['startRow']+_0x43299b,_0x499875['endRow']=_0x4b2e65[_0x13137a(0x483)]+_0x43299b,_0x499875['startColumn']=_0x4b2e65[_0x13137a(0x391)]+_0x446436,_0x499875[_0x13137a(0x3bc)]=_0x4b2e65['endColumn']+_0x446436,_0x1f7fd5[_0x13137a(0x396)](_0x499875);});});const _0x2305e4=this[_0x2003df(0x494)][_0x2003df(0x43a)]({'unitId':_0x46312c,'subUnitId':_0x51ff68,'ranges':_0x1f7fd5});_0x1ca300[_0x2003df(0x396)](..._0x2305e4[_0x2003df(0x34c)]),_0x24a455[_0x2003df(0x396)](..._0x2305e4['undos']);const _0x491875=_0x5729a1(this[_0x2003df(0x313)],_0x46312c,_0x51ff68,_0x1f7fd5);_0x491875['shouldClear']&&(_0x1ca300[_0x2003df(0x396)](_0x491875[_0x2003df(0x1d7)]),_0x24a455[_0x2003df(0x396)](_0x491875['setRangeValueUndoMutation']));}}}}return{'redos':_0x1ca300,'undos':_0x24a455};}};_0x37ed61=_0xfc76ef([_0x40bbb5(0x0,_0x12d885['Inject'](_0x12d885[_0x489679(0x256)])),_0x40bbb5(0x1,_0x12d885[_0x489679(0x324)](_0x28e907['RefRangeService'])),_0x40bbb5(0x2,_0x12d885[_0x489679(0x300)]),_0x40bbb5(0x3,_0x12d885[_0x489679(0x27d)]),_0x40bbb5(0x4,_0x12d885[_0x489679(0x324)](_0x2a78c5[_0x489679(0x1ce)])),_0x40bbb5(0x5,_0x12d885[_0x489679(0x324)](_0x2a78c5[_0x489679(0x44c)])),_0x40bbb5(0x6,_0x12d885['Inject'](_0x28e907[_0x489679(0x200)]))],_0x37ed61);var _0x3cc786=Object[_0x489679(0x3c5)],_0x1edad4=(_0x3e6ad1,_0x209f3f,_0x4cf566,_0x11ae6a)=>{for(var _0x53e010=_0x11ae6a>0x1?void 0x0:_0x11ae6a?_0x3cc786(_0x209f3f,_0x4cf566):_0x209f3f,_0x2952=_0x3e6ad1['length']-0x1,_0x1f2dc4;_0x2952>=0x0;_0x2952--)(_0x1f2dc4=_0x3e6ad1[_0x2952])&&(_0x53e010=_0x1f2dc4(_0x53e010)||_0x53e010);return _0x53e010;},_0x3404e9=(_0x43db85,_0x3cad12)=>(_0x5d3d60,_0x26eaeb)=>_0x3cad12(_0x5d3d60,_0x26eaeb,_0x43db85);let _0x492078=class extends _0x12d885['Disposable']{constructor(_0x1d86d5,_0x515aab){const _0x390bd6=_0x489679;super(),this[_0x390bd6(0x494)]=_0x1d86d5,this[_0x390bd6(0x3fd)]=_0x515aab,this[_0x390bd6(0x2a6)]();}[_0x489679(0x2a6)](){const _0x24df7c=_0x489679;this[_0x24df7c(0x27c)](this[_0x24df7c(0x494)][_0x24df7c(0x1fe)]({'getMutations':_0x540f6d=>{const _0x179a64=_0x24df7c;if(_0x540f6d['id']===_0x28e907['RemoveSheetCommand']['id']){const _0x5802ff=[],_0x3fcc45=[],_0xa7fb93=_0x540f6d[_0x179a64(0x44b)],{unitId:_0x2fa2df,subUnitId:_0x766da6}=_0xa7fb93;if(!_0x2fa2df||!_0x766da6)return{'undos':_0x3fcc45,'redos':_0x5802ff};const _0x116b95=this[_0x179a64(0x3fd)][_0x179a64(0x32c)](_0x2fa2df,_0x766da6);if(_0x116b95!=null&&_0x116b95[_0x179a64(0x32b)])for(const [_0x2aec49,_0x2aa15b]of _0x116b95){_0x5802ff['push']({'id':_0x566b44['id'],'params':{'unitId':_0x2fa2df,'subUnitId':_0x766da6,'pivotTableId':_0x2aec49}});const _0x55b5d0={...this[_0x179a64(0x3fd)][_0x179a64(0x461)](_0x2fa2df,_0x2aec49)};_0x3fcc45[_0x179a64(0x396)]({'id':_0x37cbf6['id'],'params':{'unitId':_0x2fa2df,'subUnitId':_0x766da6,'pivotTableId':_0x2aec49,'pivotTableConfig':_0x2aa15b,'collectionConfig':_0x55b5d0}});}return{'redos':_0x5802ff,'undos':_0x3fcc45};}return{'redos':[],'undos':[]};}}));}};_0x492078=_0x1edad4([_0x3404e9(0x0,_0x12d885[_0x489679(0x324)](_0x28e907[_0x489679(0x200)])),_0x3404e9(0x1,_0x12d885[_0x489679(0x324)](_0x2a78c5[_0x489679(0x1ce)]))],_0x492078);var _0x23257c=Object[_0x489679(0x3c5)],_0x39a05c=(_0x6576aa,_0x718776,_0x3afde9,_0x2dffd9)=>{const _0x3ada16=_0x489679;for(var _0x3442e6=_0x2dffd9>0x1?void 0x0:_0x2dffd9?_0x23257c(_0x718776,_0x3afde9):_0x718776,_0x45f998=_0x6576aa[_0x3ada16(0x4d6)]-0x1,_0x5652c9;_0x45f998>=0x0;_0x45f998--)(_0x5652c9=_0x6576aa[_0x45f998])&&(_0x3442e6=_0x5652c9(_0x3442e6)||_0x3442e6);return _0x3442e6;},_0x5898be=(_0x222943,_0x51330a)=>(_0x4ed40c,_0xc2c3e9)=>_0x51330a(_0x4ed40c,_0xc2c3e9,_0x222943);let _0x431c7a=class extends _0x12d885[_0x489679(0x2f9)]{constructor(_0x5a58d4,_0x5586a5,_0x4e1f79,_0x55959e,_0x199bfd,_0x4c36ec){const _0x158984=_0x489679;super(),this[_0x158984(0x4b5)]=_0x5a58d4,this[_0x158984(0x2d4)]=_0x5586a5,this[_0x158984(0x1c8)]=_0x4e1f79,this[_0x158984(0x3fd)]=_0x55959e,this[_0x158984(0x362)]=_0x199bfd,this[_0x158984(0x385)]=_0x4c36ec,this[_0x158984(0x3b0)](),this[_0x158984(0x442)]();}[_0x489679(0x3b0)](){const _0x8238d8=_0x489679;this[_0x8238d8(0x27c)](this[_0x8238d8(0x4b5)][_0x8238d8(0x3cd)](_0x2deb39=>{const _0x50e6a6=_0x8238d8;if(_0x2deb39['id']!==_0x3b0ede['id'])return;const _0x20e951=_0x2deb39[_0x50e6a6(0x44b)];this[_0x50e6a6(0x2d4)][_0x50e6a6(0x281)](_0x20e951);})),this[_0x8238d8(0x27c)](this[_0x8238d8(0x4b5)][_0x8238d8(0x3cd)](_0x5bd54f=>{const _0x479bd1=_0x8238d8;if(_0x5bd54f['id']===_0x21539e['id']){const _0x4bd392=_0x5bd54f[_0x479bd1(0x44b)];if(_0x4bd392){const {unitId:_0x45a852,subUnitId:_0x207596,oldSubUnitId:_0x104fe2,pivotTableId:_0x510f0b,pivotTableConfig:_0x4f279e,collectionConfig:_0x1d3439}=_0x4bd392;this['_sheetsPivotTableConfigModel'][_0x479bd1(0x41c)](_0x45a852,_0x104fe2,_0x4bd392[_0x479bd1(0x4a5)],null),this[_0x479bd1(0x3fd)][_0x479bd1(0x41c)](_0x45a852,_0x207596,_0x510f0b,_0x4f279e),this[_0x479bd1(0x3fd)][_0x479bd1(0x30e)](_0x45a852,_0x1d3439);}}})),this[_0x8238d8(0x27c)](this[_0x8238d8(0x4b5)]['onCommandExecuted'](_0x48d9da=>{const _0x578e95=_0x8238d8;if(_0x48d9da['id']!==_0x51ccb6['id'])return;const _0x592dd9=_0x28e907[_0x578e95(0x235)](this['_univerInstanceService']);if(!_0x592dd9)return;const {unitId:_0x120fd6,subUnitId:_0x4c8ef7}=_0x592dd9,_0x51b57b=_0x48d9da[_0x578e95(0x44b)];if(_0x51b57b[_0x578e95(0x488)]&&Object[_0x578e95(0x48e)](_0x51b57b[_0x578e95(0x488)])[_0x578e95(0x404)](_0x2a9cec=>{const _0x3399a4=_0x578e95;var _0x473a29;(_0x473a29=_0x51b57b[_0x3399a4(0x488)])!=null&&_0x473a29[_0x2a9cec]&&this['_sheetsPivotTableConfigModel']['updateCollectionConfig'](_0x2a9cec,_0x51b57b[_0x3399a4(0x488)][_0x2a9cec]);}),_0x51b57b['single']){const _0xc177d8=_0x51b57b[_0x578e95(0x2ec)],{unitId:_0xff1d7a,subUnitId:_0x58cdad,view:_0x1ac645,pivotTableId:_0x1f5389,type:_0x1dac16,pivotConfig:_0x3eb3e9}=_0xc177d8;if(_0x1dac16===_0xc924d8[_0x578e95(0x320)])this[_0x578e95(0x1c8)][_0x578e95(0x40f)]({'unitId':_0xff1d7a,'subUnitId':_0x58cdad,'pivotTableId':_0x1f5389,'type':_0x1dac16}),this[_0x578e95(0x3fd)][_0x578e95(0x41c)](_0xff1d7a,_0x58cdad,_0x1f5389,null);else{const _0x4c81a7=new _0x3b8531['PivotView']();_0x4c81a7[_0x578e95(0x328)](_0x1ac645),this['_sheetsPivotTableConfigModel'][_0x578e95(0x41c)](_0xff1d7a,_0x58cdad,_0x1f5389,_0x3eb3e9),this[_0x578e95(0x1c8)][_0x578e95(0x40f)]({'unitId':_0xff1d7a,'subUnitId':_0x58cdad,'pivotTableId':_0x1f5389,'type':_0x1dac16,'view':_0x4c81a7}),this[_0x578e95(0x1c8)]['updateRenderCache']({'unitId':_0xff1d7a,'subUnitId':_0x58cdad,'view':_0x4c81a7,'pivotTableId':_0x1f5389,'type':_0x1dac16});}}else _0x51b57b[_0x578e95(0x1f4)]&&(_0x51b57b[_0x578e95(0x1f4)]['forEach'](_0x2ed9bd=>{const _0x70a490=_0x578e95,{unitId:_0xb25405,subUnitId:_0x2f6cfa,view:_0x250510,pivotTableId:_0x59f22f,type:_0x45c41b,pivotConfig:_0xae642b}=_0x2ed9bd,_0x5ce5a2=new _0x3b8531[(_0x70a490(0x438))]();_0x5ce5a2[_0x70a490(0x328)](_0x250510),this[_0x70a490(0x3fd)][_0x70a490(0x41c)](_0xb25405,_0x2f6cfa,_0x59f22f,_0xae642b),this[_0x70a490(0x1c8)]['updateRenderCache']({'unitId':_0xb25405,'subUnitId':_0x2f6cfa,'view':_0x5ce5a2,'pivotTableId':_0x59f22f,'type':_0x45c41b});}),this[_0x578e95(0x3fd)][_0x578e95(0x3c0)]());this['_sheetsPivotTableAdaptorModel'][_0x578e95(0x249)](_0x120fd6,_0x4c8ef7);}));}[_0x489679(0x442)](){const _0x1260a2=_0x489679;this[_0x1260a2(0x385)][_0x1260a2(0x3f0)](_0x23fc84['id'],{'commandId':_0x23fc84['id'],'getDirtyData'(_0x3a861a){return{'dirtyUnitFeatureMap':_0x3a861a['params']};}});}};_0x431c7a=_0x39a05c([_0x5898be(0x0,_0x12d885['Inject'](_0x12d885['ICommandService'])),_0x5898be(0x1,_0x12d885[_0x489679(0x324)](_0x2a78c5[_0x489679(0x261)])),_0x5898be(0x2,_0x12d885['Inject'](_0x2a78c5[_0x489679(0x44c)])),_0x5898be(0x3,_0x12d885['Inject'](_0x2a78c5[_0x489679(0x1ce)])),_0x5898be(0x4,_0x12d885[_0x489679(0x324)](_0x12d885['IUniverInstanceService'])),_0x5898be(0x5,_0x4b1b80[_0x489679(0x4d5)])],_0x431c7a);var _0x12c0cd=Object['defineProperty'],_0x3d9f61=Object[_0x489679(0x3c5)],_0x4a6583=(_0x668703,_0x59b0e3,_0x5f0a72)=>_0x59b0e3 in _0x668703?_0x12c0cd(_0x668703,_0x59b0e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f0a72}):_0x668703[_0x59b0e3]=_0x5f0a72,_0x4eef7d=(_0x4e7fc0,_0x12f1e5,_0x2131bd,_0xfb5d6c)=>{const _0x1b362e=_0x489679;for(var _0x5130f3=_0xfb5d6c>0x1?void 0x0:_0xfb5d6c?_0x3d9f61(_0x12f1e5,_0x2131bd):_0x12f1e5,_0x59b31f=_0x4e7fc0[_0x1b362e(0x4d6)]-0x1,_0x42e560;_0x59b31f>=0x0;_0x59b31f--)(_0x42e560=_0x4e7fc0[_0x59b31f])&&(_0x5130f3=_0x42e560(_0x5130f3)||_0x5130f3);return _0x5130f3;},_0x505481=(_0x1badfe,_0x4581f6)=>(_0x329f9f,_0x3fcf9a)=>_0x4581f6(_0x329f9f,_0x3fcf9a,_0x1badfe),_0x26dcce=(_0xf6126d,_0x18d855,_0x1e499c)=>_0x4a6583(_0xf6126d,typeof _0x18d855!=_0x489679(0x4b2)?_0x18d855+'':_0x18d855,_0x1e499c);_0x2a78c5['UniverSheetsPivotTablePlugin']=class extends _0x12d885['Plugin']{constructor(_0x5dd065=_0x970b83,_0x22ab01,_0x561755,_0x50e62a,_0x4fb8aa){const _0x3cd06e=_0x489679;super(),this[_0x3cd06e(0x1f6)]=_0x5dd065,this[_0x3cd06e(0x313)]=_0x22ab01,this['_commandService']=_0x561755,this[_0x3cd06e(0x373)]=_0x50e62a,this[_0x3cd06e(0x262)]=_0x4fb8aa;const {..._0x2f1ce9}=_0x12d885[_0x3cd06e(0x46f)]({},_0x970b83,this['_config']);this[_0x3cd06e(0x373)][_0x3cd06e(0x365)](_0x1ca355,_0x2f1ce9),this[_0x3cd06e(0x2e9)](),this['_initConfig']();}[_0x489679(0x3b7)](){const _0x1c713a=_0x489679;var _0x39e89f;const _0x4cc1f4=(_0x39e89f=this[_0x1c713a(0x1f6)])==null?void 0x0:_0x39e89f[_0x1c713a(0x26f)];this[_0x1c713a(0x373)][_0x1c713a(0x365)](_0x45fab7,_0x4cc1f4===!0x0);}[_0x489679(0x4b3)](){const _0x267019=_0x489679;var _0xc7cc39;let _0x55f199=[];const _0x4ac8b4=(_0xc7cc39=this[_0x267019(0x1f6)])==null?void 0x0:_0xc7cc39[_0x267019(0x26f)];_0x4ac8b4===!0x0?_0x55f199=[[_0x2a78c5[_0x267019(0x222)]],[_0x2a78c5[_0x267019(0x261)]],[_0x431c7a],[_0x2a78c5['SheetsPivotTableAdaptorModel']],[_0x2a78c5[_0x267019(0x1ce)]],[_0x492078],[_0x41e2ca],[_0x37ed61],[_0x1fe42f]]:_0x4ac8b4===!0x1?_0x55f199=[[_0x2a78c5[_0x267019(0x21b)]],[_0x2ed521]]:_0x4ac8b4===void 0x0&&(_0x55f199=[[_0x2a78c5[_0x267019(0x21b)]],[_0x2ed521],[_0x2a78c5[_0x267019(0x222)]],[_0x2a78c5['SheetsPivotRPCService']],[_0x431c7a],[_0x2a78c5[_0x267019(0x44c)]],[_0x2a78c5[_0x267019(0x1ce)]],[_0x492078],[_0x41e2ca],[_0x37ed61],[_0x1fe42f]]),_0x55f199[_0x267019(0x404)](_0x27eafb=>this[_0x267019(0x313)][_0x267019(0x441)](_0x27eafb)),[_0x2ed521,_0x431c7a,_0x2a78c5['SheetsPivotTableService'],_0x41e2ca,_0x492078,_0x37ed61,_0x1fe42f][_0x267019(0x404)](_0xb1d122=>{const _0x1466ff=_0x267019;this[_0x1466ff(0x313)][_0x1466ff(0x445)](_0xb1d122)&&this['_injector'][_0x1466ff(0x2a3)](_0xb1d122);});}[_0x489679(0x2e9)](){const _0x341984=_0x489679;[_0xe7c5b9,_0x405e9e,_0x88b891,_0x3eccec,_0x593dfb,_0x4eeba8,_0x31fadf,_0x3d8dfe,_0x138de5,_0x36b7c0,_0xe4ed23,_0x2081c4,_0x49b59b,_0x9e42d1,_0x37cbf6,_0x4529a0,_0x566b44,_0x34d091,_0x47b9ab,_0xb86c82,_0x2dae8c,_0x16e113,_0x23ca55,_0x58f452,_0x5bfb57,_0xedc4af,_0x5615ed,_0x788a94,_0x3b0ede,_0x51ccb6,_0x42730c,_0x152897,_0x2883ff,_0x3a6ec9,_0x7a4a18,_0x2d1d8b,_0x2e98cc,_0x23fc84,_0x21539e,_0x105519,_0x47d8da,_0x347388,_0x16caf1][_0x341984(0x404)](_0x40e8b0=>{const _0x2b34a4=_0x341984;var _0x153d86;(_0x153d86=this[_0x2b34a4(0x262)])==null||_0x153d86[_0x2b34a4(0x459)](_0x40e8b0),this[_0x2b34a4(0x4b5)][_0x2b34a4(0x277)](_0x40e8b0);});}},_0x26dcce(_0x2a78c5[_0x489679(0x1c6)],'pluginName',_0x3acf44),_0x26dcce(_0x2a78c5['UniverSheetsPivotTablePlugin'],'type',_0x12d885['UniverInstanceType'][_0x489679(0x1db)]),_0x2a78c5[_0x489679(0x1c6)]=_0x4eef7d([_0x12d885[_0x489679(0x309)](_0x1abd15[_0x489679(0x44d)]),_0x505481(0x1,_0x12d885[_0x489679(0x324)](_0x12d885[_0x489679(0x256)])),_0x505481(0x2,_0x12d885['Inject'](_0x12d885[_0x489679(0x300)])),_0x505481(0x3,_0x12d885[_0x489679(0x244)]),_0x505481(0x4,_0x12d885[_0x489679(0x3f4)](_0x16f1a7[_0x489679(0x3e6)]))],_0x2a78c5[_0x489679(0x1c6)]),_0x2a78c5[_0x489679(0x35f)]=_0x88b891,_0x2a78c5[_0x489679(0x383)]=_0x34d091,_0x2a78c5[_0x489679(0x412)]=_0x405e9e,_0x2a78c5['AddPivotTableMutation']=_0x37cbf6,_0x2a78c5[_0x489679(0x316)]=_0xe7c5b9,_0x2a78c5[_0x489679(0x431)]=_0x18be36,_0x2a78c5['DEFAULT_PIVOT_NUMBER']=_0x183f2a,_0x2a78c5[_0x489679(0x3a1)]=_0x3eccec,_0x2a78c5[_0x489679(0x293)]=_0x49b59b,_0x2a78c5[_0x489679(0x2e8)]=_0x475b7c,_0x2a78c5[_0x489679(0x2f5)]=_0x9e42d1,_0x2a78c5[_0x489679(0x449)]=_0xc924d8,_0x2a78c5[_0x489679(0x33f)]=_0x23fc84,_0x2a78c5[_0x489679(0x45d)]=_0x455057,_0x2a78c5[_0x489679(0x48c)]=_0x593dfb,_0x2a78c5[_0x489679(0x46a)]=_0x16e113,_0x2a78c5[_0x489679(0x28f)]=_0x566b44,_0x2a78c5[_0x489679(0x245)]=_0x23ca55,_0x2a78c5['ResetPivotFieldsConfigCommand']=_0x16caf1,_0x2a78c5[_0x489679(0x2da)]=_0x1ca355,_0x2a78c5['SHEET_PIVOT_TABLE_PLUGIN']=_0x3acf44,_0x2a78c5['SetPivotCollapseCommand']=_0x3d8dfe,_0x2a78c5[_0x489679(0x2d5)]=_0x58f452,_0x2a78c5[_0x489679(0x3d6)]=_0x3a6ec9,_0x2a78c5[_0x489679(0x475)]=_0x347388,_0x2a78c5[_0x489679(0x22e)]=_0x36b7c0,_0x2a78c5['SetPivotFilterMutation']=_0x2dae8c,_0x2a78c5[_0x489679(0x2ef)]=_0xedc4af,_0x2a78c5[_0x489679(0x389)]=_0x5615ed,_0x2a78c5[_0x489679(0x1ec)]=_0x138de5,_0x2a78c5['SetPivotSortMutation']=_0x5bfb57,_0x2a78c5[_0x489679(0x290)]=_0x2883ff,_0x2a78c5[_0x489679(0x3a3)]=_0x105519,_0x2a78c5[_0x489679(0x291)]=_0x47d8da,_0x2a78c5[_0x489679(0x296)]=_0x31fadf,_0x2a78c5[_0x489679(0x448)]=_0x42730c,_0x2a78c5[_0x489679(0x2bc)]=_0xe4ed23,_0x2a78c5[_0x489679(0x4e7)]=_0x2e98cc,_0x2a78c5[_0x489679(0x498)]=_0x2081c4,_0x2a78c5[_0x489679(0x49f)]=_0x2d1d8b,_0x2a78c5[_0x489679(0x463)]=_0x4eeba8,_0x2a78c5['UpdateValuePositionMutation']=_0x152897,_0x2a78c5['applyChangeSet']=_0x559a1f,_0x2a78c5[_0x489679(0x259)]=_0x21f2aa,_0x2a78c5[_0x489679(0x3ea)]=_0x5de2ba,_0x2a78c5['generateSetRangeValueMutations']=_0x5729a1,_0x2a78c5[_0x489679(0x49c)]=_0x3b9ebf,_0x2a78c5[_0x489679(0x423)]=_0x3577ec,_0x2a78c5[_0x489679(0x288)]=_0x418ebb,_0x2a78c5['getInsertRowColMutations']=_0x1d3f54,_0x2a78c5[_0x489679(0x22a)]=_0xaed900,_0x2a78c5[_0x489679(0x395)]=_0x3fa75d,_0x2a78c5[_0x489679(0x486)]=_0x22ae99,_0x2a78c5[_0x489679(0x314)]=_0x4f34cd,_0x2a78c5[_0x489679(0x20f)]=_0x448a97,Object[_0x489679(0x4b4)](_0x2a78c5,Symbol['toStringTag'],{'value':'Module'});}));
|
|
1
|
+
function _0x5d05(_0x9f2ed1,_0x510c7e){const _0x58718f=_0x5871();return _0x5d05=function(_0x5d05b7,_0x40a672){_0x5d05b7=_0x5d05b7-0x66;let _0x1b9a41=_0x58718f[_0x5d05b7];return _0x1b9a41;},_0x5d05(_0x9f2ed1,_0x510c7e);}function _0x5871(){const _0x117985=['sheets.tabs.sheet','dispose','leafStyle','getFieldDataType','endCollectChangeset','createLabelField','sideEffectUpdateWorkerCache','cellValue','remove','sheet.mutation.pivot-update-field-position','UniverSheetsPivotTablePlugin','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','unshift','rowHeaderMap','iterateField','sheet.mutation.update-pivot-table-source-range','2394pLRqlT','fromJSON','_subjectFieldsCollectionChange','getDataFieldByRangeKey','dataFieldsCollection','getCellMatrix','setConfig','DataFieldManager','_exclusiveRangeService','_initPivotDataGetListener','notExecuteFormula','keys','removeField','_activeDirtyManagerService','getValueIndex','sheets-pivot.cellDateGroupDisplay.yearQuarter','IConfigService','Year','MIN_SAFE_INTEGER','sheets-pivot.cellDateGroupDisplay.month','setPivotTableConfig','PivotTableValuePositionEnum','(Blank)','valueFields','Subtotal','Minute','leftOffset','SetPivotCollapseMutation','pushUndoRedo','asyncInterceptor','#eceeff','product','PivotMultipleValueId','colInfo','UpdateValuePositionMutation','sheets-pivot.minName','other','size','SetValuePivotFilter','targetCellInfo','getPivotPerformCheck','SHEET_PIVOT_TABLE_PLUGIN','column','Delete','format','fetchThroughInterceptors','#f4f4f5','_initConfig','endRow','NUMBER','getIntersects','pivotTableConfigs','Value','SetFieldFormat','var','_globalComputingSrv','setDataRecordCount','YearMonthDate','_generateUniqueVersion','query','getCurrentSelections','isDate','UniverEngineRender','pivotMutationGenerate','IExclusiveRangeService','getMatrix','getDataFieldManager','generateRandomId','sheet.mutation.remove-pivot-field','createCollectionWithDataRange','getValuePosition','getSheetFeatureLimit','pivotConfigChange$','@univerjs/sheets-filter','updatePivotTableRangeInfo','getPivotItemRenderInfoCache','_featureCalculationManagerService','sequenceExecute','Min\x20of\x20','setPivotSetting','SetPivotFieldFormatMutation','addPivotTableWithConfig','_dataSyncPrimaryController','_ensurePivotItemRenderValueMatrixCache','intercept','getPivotDirtyViewInfo','sheet.command.set-pivot-sort','DateGroupField','CommandType','addDirtyPivotTable','getInsertRowColMutations','getStyles','@univerjs/engine-formula','PivotCallbackEnum','getSubUnitPivotConfigs','NORMAL','valuePosition','ClearSelectionAllCommand','getMatrixValue','matrix','addField','SheetsPivotTableService','data','sheet.mutation.add-pivot-field','isDateGroupFieldJSON','getSheetBySheetName','sheet.command.add-pivot-field','refreshDataField','getFormatInfo','getValue','getDirtyInfo','sheets-pivot.dateGroup.yearMonth','rowCount','sheets-pivot.countName','SetPivotPositionMutation','defineProperty','DisposableCollection','getDate','removePivotTable','InsertSheetUndoMutationFactory','Average\x20of\x20','iterateFieldByArea','rangesInfo','_config','executeCommand','renameField','setOptions','Optional','DEFAULT_WORKSHEET_ROW_COUNT','_configService','measure','LS_CONFIG_KEY','SetSubtotalType','UniverSheets','_collectionConfigModel','IUndoRedoService','Hour','updateViewData','SetPivotFilterMutation','_initDataSendListener','UpdateSource','sheets-pivot.subTotal','UniverSheetsFilter','tuple','parse','getName','_configVersion$','#1d32e9','_updateRenderEmptyCache','sheet.mutation.send-pivot-view-local','Plugin','setPivotFilter','UniverProEnginePivot','queryDirtyPivotTable','sheet.command.set-pivot-collapse','oldMatrix','5905020WJfDFj','isValue','Inject','UniverEngineFormula','SetCollapse','getCellRaw','AddPivotTableWithConfigCommand','formJSON','hasField','rangeType','getDataFieldItemInfo','Set','collapseInfo','sheets-pivot.emptyPivot.filter','fetchThroughAsyncInterceptors','getDisplayName','sheet.mutation.set-pivot-format','count','YearMonth','markDirty','handleSourceRangeChange','sheets-pivot.varpName','_sheetInterceptorService','startColumn','getColumnCount','5403318uWWLuB','getMatrixFromRunTimeData','getPivotTableModelConfig','SheetsPivotTableConfigModel','getFieldPositionInfoById','endColumn','textInfo','getDataFieldByDataFieldId','getFieldListByArea','pageStyle','UniverProLicense','_refRangeHandle','sheet.command.set-pivot-field-setting','14344crgWDS','new','_sheetsPivotDataSourceModel','RemoveSheetsFilterMutation','getAdjustRangesPosition','_lifecycleService','AddPivotTableCommand','valid','isEmpty','Tools','#FFFFFF','_univerInstanceService','numberToABC','fieldsCollectionChange$','PivotTable','custom','MovePivotFieldCommand','subscribe','SetRangeValuesMutation','708204ObQpSP','width','columnFields','getRowCount','AddPivotTable','panel','PivotTableFiledAreaEnum','getTextInfo','row','sheet.command.update-date-group','sourceRangeInfo','CustomCommandExecutionError','CellValueType','dataStream','PivotView','UpdateDateGroupCommand','defaultThemeStyle','AddPivotFieldCommand','RemovePivotFieldMutation','isDateValue','sheet.mutation.set-pivot-position','ReleaseType','charCodeAt','deleteDataField','SetWorksheetColWidthMutation','isDateGroupField','SetPivotFilter','handleAsyncResponse','dimension','_initPivotTextInfo','_ensurePivotItemRenderInfoCache','InsertSheetMutation','createDataFieldId','result','entries','gWTYGJ7T\x20fQYx3hGJ7T(vJYQTNQ,\x20hWIvJYlQ3)\x20{\x20\x20\x20\x20Gx3\x20{\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20vJYQTNQoTg7VixG8xxi3\x20=\x20vJYQTNQ.NhvJG(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x207xJFJTHQNNiFQ\x20=\x202Seb.hixNQ(iG7I(vJYQTNQoTg7VixG8xxi3[C]));\x20\x20\x20\x20\x20\x20\x20\x20Jg\x20(!7xJFJTHQNNiFQ.Wf)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207xJFJTHQNNiFQ.Wf\x20=\x20bWcIQx(vJYQTNQoTg7VixG8xxi3[k]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20JNw7xpQx\x20=\x20G3hQ7g\x20w7xpQxtv7IivSY7hQ\x20!==\x20\x27WTfQgJTQf\x27\x20&&\x20NQvg\x20JTNGiTYQ7g\x20w7xpQxtv7IivSY7hQ;\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20JN6x7ONQx\x20=\x20G3hQ7g\x20OJTf7O\x20!==\x20\x27WTfQgJTQf\x27\x20&&\x20G3hQ7g\x20OJTf7O.v7YiGJ7T\x20!==\x20\x27WTfQgJTQf\x27;\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20Y7TGQmG\x20=\x20JNw7xpQx\x20?\x20NQvg\x20:\x20(JN6x7ONQx\x20?\x20OJTf7O\x20:\x20Fv7IivqRJN);\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20cQNNiFQw7xf\x20=\x20Y7TGQmG.__6iNQAk__.hixNQ(vJYQTNQoTg7VixG8xxi3[C]);\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20cQNNiFQ\x20=\x20Y7TGQmG.__DQm__.NGxJTFJg3(cQNNiFQw7xf);\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20NJFTiGWxQw7xf\x20=\x20Y7TGQmG.__6iNQAk__.hixNQ(vJYQTNQoTg7VixG8xxi3[r]);\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20NJFTiGWxQ\x20=\x20Y7TGQmG.__DQm__.NGxJTFJg3(NJFTiGWxQw7xf);\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20NJFT5ivJf\x20=\x20Y7TGQmG.__PQxJg3__(NJFTiGWxQ,\x20cQNNiFQ,\x20hWIvJYlQ3);\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20f7ciJT\x20=\x207xJFJTHQNNiFQ.fc;\x20\x20\x20\x20\x20\x20\x20\x20gWTYGJ7T\x20JNj7ciJTHiGYRJTF(7ViGGQxT,\x207D7NG)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20hiGGQxT\x20=\x207ViGGQxT.xQhviYQ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20R7NG\x20=\x207D7NG.xQhviYQ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20hiGGQxTVixGN\x20=\x20hiGGQxT.NhvJG(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20R7NGVixGN\x20=\x20R7NG.NhvJG(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Jg\x20(!hiGGQxT.JTYvWfQN(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xQGWxT\x20hiGGQxT\x20===\x20R7NG;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Jg\x20(hiGGQxTVixGN.vQTFGR\x20<\x20C\x20||\x20hiGGQxTVixGN[L]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xQGWxT\x20givNQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20hiGGQxTSWggJm\x20=\x20hiGGQxTVixGN.NvJYQ(Z).u7JT(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20R7NGSWggJm\x20=\x20R7NGVixGN.NvJYQ(-hiGGQxTVixGN.vQTFGR\x20+\x20Z).u7JT(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xQGWxT\x20hiGGQxTSWggJm\x20===\x20R7NGSWggJm;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20vQG\x20f7ciJT5ivJf\x20=\x20givNQ;\x20\x20\x20\x20\x20\x20\x20\x20Jg\x20(JN6x7ONQx)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20f7ciJT5ivJf\x20=\x20(f7ciJT\x20&&\x20f7ciJT.vQTFGR)\x20?\x20f7ciJT.N7cQ((fcoGQc)\x20=>\x20JNj7ciJTHiGYRJTF(fcoGQc,\x20v7YiGJ7T.R7NGTicQ))\x20:\x20GxWQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Jg\x20(v7YiGJ7T.R7NGTicQ\x20===\x20\x27v7YivR7NG\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20f7ciJT5ivJf\x20=\x20GxWQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20QvNQ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20f7ciJT5ivJf\x20=\x20GxWQ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20PivJf\x20=\x20NJFT5ivJf\x20&&\x20f7ciJT5ivJf;\x20\x20\x20\x20\x20\x20\x20\x20xQGWxT\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PivJf,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cQNNiFQ:\x207xJFJTHQNNiFQ,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20YiGYR\x20(Qxx7x)\x20{\x20\x20\x20\x20\x20\x20\x20\x20xQGWxT\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PivJf:\x20givNQ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cQNNiFQ:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','colRanges','ResetPivotTable','DEFAULT_PIVOT_NUMBER','MonthDate','limit\x20pivot','CELL_CONTENT','level','Var\x20of\x20','getPivotTableRangeInfo','_initCommandInterceptListener','Varp\x20of\x20','get','RemoveSheetMutation','cellToRange','_model','max','mergeWorksheetSnapshotWithDefault','split','_pivotInitCompleted$','RenamePivotFieldMutation','getDataFieldByTableId','subTotalStyle','SetPivotSortCommand','updateFieldSourceInfo','ErrorType','updateCollectionConfig','_globalComputedStartHelpFunc','dataRangeInfo','sheets-pivot.dateGroup.yearMonthDate','filterId','valueFilter','sheets-pivot.dateGroup.quarter','sheets-pivot.dateGroup.date','originTargetInfo','SetSortInfo','lastRow','RemoveColMutation','Quarter','PivotFilterTypeEnum','Div0','sheet.command.set-pivot-fields-config','getPivotDisplayConfig','clearExclusiveRangesByGroupId','2396796CwGXZQ','Row','asObservable','_ensurePivotTableRangeInfo','sheets-pivot.maxName','hasOwnProperty','BehaviorSubject','setSourceName','getUpdateRangeDeleteIds','sheet.command.set-pivot-filter','sheet.operation.pivot-table-view-formula-mark-dirty','getRangeData','@univerjs-pro/license','initDataRanges','IActiveDirtyManagerService','stringify','Add','registerPluginResource','sourceName','BLANK_ROW_COUNT','UpdatePivotTableSourceRangeMutation','sheet.mutation.remove-group-collection','registerDirtyService','_sheetsPivotTableConfigModel','getMonth','_initClearSelectionCommandInterceptor','sheet.mutation.set-pivot-option','pbt','sheets-pivot.cellDateGroupDisplay.date','_sheetsPivotTableService','deleteField','getSheetBySheetId','_initViewModelBySheetInterceptor','_pivotTableRangeInfo','PivotDrillDownCommand','onQueryStart','resetArea','DIV_BY_ZERO','dataStyle','sheet.command.add-pivot-table-with-config','sheets-pivot.config','PivotViewCellValueTypeEnum','_fieldsCollectionChange$','setValueFilterInfo','#e6ebfa','value','lastCol','cornerInfo','updateViewInfo','Count\x20of\x20','RemoveRowMutation','getSubUnitPivotMatrix','refreshData','HourMinute','@univerjs/engine-render','_ensureViewDataMap','RemovePivotField','workbook\x20is\x20not\x20found','fields','isBottomTotal','FORCE_STRING','AddPivotFieldMutation','contains','updateView','_host','removeSourceRangeChange','random','SheetInterceptorService','AddPivotTableWithConfig','updateFieldPosition','rangeKey','18FEiVgs','min','getAutoFitColumnsMutations','getformat','addPivotField','isErrorValue','versions','sheets-pivot.columnName','includes','foreach','MoveRangeCommand','_pivotTableMatrixInfo','tableFieldId','addPivotTable','map','set','_initRegisterCommand','error','SHEET_PIVOT_EXCLUSIVE_ID','removePivotField','_sheetsPivotTableAdaptorModel','updateDirtyPivotTable','Rectangle','LocaleService','updateConfigCache','_onRefRangeChange','merge','getFilterInfo','isNaN','generateHexNumber','filter','unitId','InterceptorEffectEnum','getDataFieldBySourceName','getIntersectsPivotTable','_pivotRenderValueMatrixCache','DataSyncPrimaryController','getOwnPropertyDescriptor','_requestResolvers','updateDataFieldsCollection','getPivotTableInstance','sheets-pivot.dateGroup.minute','name','setRange','options','_sheetsPivotRpcService','register','SetValueFilter','serializeRangeWithSpreadsheet','excelDateToUnixMilliseconds','FieldsCollection','sheets-pivot.dateGroup.yearQuarter','AsyncInterceptorManager','updateConfig','InsertColMutation','addExclusiveRange','registerCommand','isText','valueIndex','pivotTableId','sheets-pivot.blank','removeCollections','rangeKeyMap','registerSyncingMutations','_queryingMap','collectionChange$','_markDirty$','sheets-pivot.dateGroup.month','needSameDeleteModel','push','getRangeKey','SetPivotCollapse','sheetName','registerRefRange','Collapse','getSheetId','Total','sheets-pivot.cellDateGroupDisplay.hourMinute','setSortInfo','bind','intersects','collectionConfig','sheet.command.move-pivot-field','_viewData$','filterInfo','setRangeValueUndoMutation','countNums','PivotTableChangeTypeEnum','col','parseInt','_getPivotAppliedRanges','find','UpdateValuePosition','3kfVOhB','SetPivotSort','1264260ylMTAy','updatePivotSource','@univerjs-pro/engine-pivot','sheet.mutation.pivot-update-field-source-info','_globalComputedEndHelpFunc','setRangeValueRedoMutation','FontCache','1vQIXwg','removeCollectionImp','ObjectMatrix','onStarting','PivotDateGroupFieldDateTypeEnum','startRow','Disposable','string','PivotTableOperationEnum','onCommandExecuted','SetPivotOptionMutation','batch','sheet.mutation.send-pivot-data-local','pluginName','getNoUsedDataFieldIds','setCollapse','_pivotConfigChange$','removeDataField','MAX_SAFE_INTEGER','sheet.mutation.pivot-update-value-position','_localeService','splice','_updateModelCache','generateMutationsByRanges','MUTATION','handleMoveRange','AddPivotField','getOriginFieldId','UpdatePivotFieldSourceInfoMutation','subtotal','Panel','unshiftString','SetPivotValueFilterMutation','IResourceManagerService','rowRanges','numfmt','sheet.command.reset-pivot-fields-config','SheetsPivotRPCService','dataFieldManagerConfig','_toJSON','_deleteModelCache','createInterceptorKey','sheet.mutation.set-pivot-sort-info','setPivotCollapse','updateAllDisplayName','sheet.command.remove-pivot-field','movePivotField','UpdatePivotValuePositionCommand','resetPivotTable','Filter','PivotDataFieldDataTypeEnum','getPivotTableConfig','displayName','createValueField','getRangeKeyList','_getAutoName','@univerjs/sheets','object','getSubUnitPivotRenderCache','getFieldIds','prototype','sheet.command.update-pivot-value-position','getCollection','ICommandService','SetPivotSortMutation','getColCount','getSubtotal','transFromCellValue','isPrefixValue','return\x20','startCollectChangeset','addCollectionByJSON','values','RemoveSheetCommand','154wWTIhY','_globalSubject','updateRenderCache','Values','sheet.command.add-pivot-table','generateNullCell','setValuePivotFilter','configVersion$','number','sheets-pivot.varName','getTableFieldById','getRefRangeMutationsByMoveRange','getTextSize','collections','getAutoDisplayName','from','rxjs','addCollection','sortInfo','viewUpdate$','floor','sheet.mutation.add-pivot-table','info','registerCallbackWithEvent','getAutoDisplayNameFunction','sheets-pivot.emptyPivot.column','_updatePivotTableInstanceCache','New','SetPivotTableConfig','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','interceptor','getDataFieldId','node','undos','setDisplayName','_resourceManagerService','stdDev','clearRenderCache','fontRenderExtension','addDataFieldWithoutUnitInfo','SheetsPivotDataSourceModel','UniverProSheetsPivot','Max\x20of\x20','UniverInstanceType','forValue','UpdateFieldPosition','sheets-pivot.productName','drillDown','getUnitId','getFieldById','setSubtotalType','AddPivotTableMutation','LifecycleService','cornerRanges','getConfig','_injector','DrillDown','generateNewSheetName','PivotErrorTypeEnum','PivotCellStyleTypeEnum','setPivotSort','getFullYear','_ensurePivotTableMatrixInfo','#e6ebfb','headerMap','_viewUpdate$','fieldIds','getColumnWidth','removeValueFilterInfo','isArray','forRow','Grand\x20Total','updateRangeKeyMap','DEFAULT_WORKSHEET_COLUMN_COUNT','pivotPerformCheck','sheet.command.set-pivot-value-filter','varp','getRangeStartEndInfo','RenameField','reduce','fieldId','addRecord','updateValuePosition','getActiveSheet','sheet.mutation.send-init-pivot-text-local','NotNumber','RANGE_TYPE','getSourceName','slice','_pivotTableInstanceCache','toJSON','sheet.command.move-pivot-table','SetPivotSetting','SetPivotSubtotalTypeMutation','Date','updatePivotTableMatrixInfo','Column','Subject','maxDate','PivotSubtotalTypeEnum','function','redos','setTextInfo','colCount','UniverLicensePlugin','length','blank','realDeleteValue','refreshGroupField','NAME','exports','COMMAND','filterFields','Product\x20of\x20','_ensurePivotMap','Style','IFeatureCalculationManagerService','_pivotRenderInfoCache','some','GrandTotal','getPivotInfoByLicense','UpdatePivotSource','getPivotTableIdByCell','MovePivotField','average','grandTotal','ΣValue','single','getId','dataFields','_subjectCollectionChange','disposableCollection','getPivotTableInfo','_viewData','GlobalComputingStatusService','_dataFieldManagerCollection','sheet.mutation.set-pivot-field-subtotal-type','getFieldCountByArea','getSheets','concat','_initRemoveSheetCommandInterceptor','ClearSelectionContentCommand','ResetPivotFieldsConfigCommand','subUnitId','getFontStyleString','_sheetsSelectionsService','areaInfo','getSortInfo','isBaseGroupField','message','delete','_deletePivotTableInstanceCache','SetPivotFieldsConfigCommand','getViewData','removeValueFilterInfoByValueFieldId','getLastCol','Expand','generateSetRangeValueMutations','addFieldWithSourceId','update','SheetsPivotTableAdaptorModel','interceptCommand','getTargetByPivotId','sheets-pivot.grandTotal','YearQuarter','MovePivotTableCommand','adjustSheetCellData','RefRangeService','forEach','dateGroupField','has','sheet.mutation.get-pivot-data-local','rgb(255,255,255)','uniqueDataFieldName','UpdateFieldPositionMutation','sheets-pivot.cellDateGroupDisplay.yearMonthDate','broadcastCollectionChange','setPivotInitCompleted','getSheetCommandTarget','replace','_initLocale','deepClone','setLabelFilterInfo','getIndexesByPathStr','setValue','range','_commandService','getLastRow','deleteUnitId','_init','BLANK_PLACEHOLDER','sheet.mutation.set-pivot-value-filter','existing','getGroupFieldsInfoByIds','setFieldFormat','getCurrentUnitForType','Month','sheets-pivot.countNumsName','add','getHeaderMapItem','type','rowInfo','_collectionChange$','getTypeOfUnitDisposed$','_textInfo','sheet.mutation.rename-pivot-field','setRangeKeyMap','Injector','getFieldFormat','colStyle','getPivotTableCellData','substring','InsertRowMutation','sheets-pivot.cellDateGroupDisplay.yearMonth','viewData$','rowFields','UniverCore','_initSnapshot','sheets-pivot.value','SetRangeValuesUndoMutationFactory','params','setName','shouldClear','toStringTag','SetSheetsFilterRangeMutation','PIVOT_MUTATION_GENERATE','IUniverInstanceService','disposeWithMe','getUnit','ManualFilter','UNIVER_SHEET','_createExclusiveRange','dataFieldId','isFeatureAuthorizedWithinTime','paths','UniverRpc','setPivotTable','NUM','getEmptyPivotRanges','_initUnitDisposed','1552006tiyBpc','next','fieldsConfig','SHEET_PIVOT_IN_MAIN_THREAD','STRING'];_0x5871=function(){return _0x117985;};return _0x5871();}(function(_0x8a5223,_0x4b0660){const _0x34df5c=_0x5d05,_0x475dd0=_0x8a5223();while(!![]){try{const _0x117680=-parseInt(_0x34df5c(0xfb))/0x1*(parseInt(_0x34df5c(0x235))/0x2)+-parseInt(_0x34df5c(0xf2))/0x3*(parseInt(_0x34df5c(0x36e))/0x4)+parseInt(_0x34df5c(0x2e6))/0x5+-parseInt(_0x34df5c(0x2ff))/0x6+-parseInt(_0x34df5c(0x24a))/0x7*(-parseInt(_0x34df5c(0x30c))/0x8)+parseInt(_0x34df5c(0x95))/0x9*(parseInt(_0x34df5c(0xf4))/0xa)+-parseInt(_0x34df5c(0x145))/0xb*(-parseInt(_0x34df5c(0x31f))/0xc);if(_0x117680===_0x4b0660)break;else _0x475dd0['push'](_0x475dd0['shift']());}catch(_0xfdc97){_0x475dd0['push'](_0x475dd0['shift']());}}}(_0x5871,0x91e29),function(_0x3f8ef4,_0x18d73b){const _0x49cfdf=_0x5d05;typeof exports==_0x49cfdf(0x134)&&typeof module<'u'?_0x18d73b(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define==_0x49cfdf(0x1a9)&&define['amd']?define([_0x49cfdf(0x1b3),_0x49cfdf(0xf6),'@univerjs/core',_0x49cfdf(0x2a6),_0x49cfdf(0x133),_0x49cfdf(0x155),_0x49cfdf(0x37a),_0x49cfdf(0x293),'@univerjs/rpc',_0x49cfdf(0x84)],_0x18d73b):(_0x3f8ef4=typeof globalThis<'u'?globalThis:_0x3f8ef4||self,_0x18d73b(_0x3f8ef4[_0x49cfdf(0x16e)]={},_0x3f8ef4[_0x49cfdf(0x2e2)],_0x3f8ef4[_0x49cfdf(0x21d)],_0x3f8ef4[_0x49cfdf(0x2e9)],_0x3f8ef4[_0x49cfdf(0x2cf)],_0x3f8ef4[_0x49cfdf(0x155)],_0x3f8ef4[_0x49cfdf(0x309)],_0x3f8ef4[_0x49cfdf(0x2d8)],_0x3f8ef4[_0x49cfdf(0x230)],_0x3f8ef4[_0x49cfdf(0x288)]));}(this,function(_0x488dae,_0x10f223,_0x136a03,_0x5bf515,_0x47d532,_0x4d3cd2,_0x3f0c04,_0x2c33e2,_0x3fa942,_0xa6f0ba){'use strict';const _0x4ff3ff=_0x5d05;var _0x4f8224=Object[_0x4ff3ff(0x2bd)],_0x169afb=(_0x43f2b1,_0x599774,_0x1daca5)=>_0x599774 in _0x43f2b1?_0x4f8224(_0x43f2b1,_0x599774,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1daca5}):_0x43f2b1[_0x599774]=_0x1daca5,_0x4779db=(_0x4e9e0c,_0x12566a,_0xed592e)=>_0x169afb(_0x4e9e0c,typeof _0x12566a!='symbol'?_0x12566a+'':_0x12566a,_0xed592e);const _0x5a2b1a=Number[_0x4ff3ff(0xee)](0x692aa290),_0x294e08=0x10,_0x2e79d7=0x1,_0x1cd2aa=_0x4ff3ff(0x273),_0x2fd7f7=0x1,_0x39d61f='rgb(240,241,243)',_0x3fd82d=_0x4ff3ff(0x1f1),_0x6b434f='#b2b2b2',_0x549131=_0x4ff3ff(0x278),_0x29cedf=_0x4ff3ff(0x278),_0x2561a3=_0x4ff3ff(0x268),_0x9fdfcb=_0x4ff3ff(0x2dd),_0x1587a1=_0x4ff3ff(0x316),_0x3253b1=_0x4ff3ff(0x7a),_0x54d036=_0x4ff3ff(0x2dd),_0x3e58bf=_0x4ff3ff(0x316),_0x2d487f=_0x4ff3ff(0x184),_0x556934=0xe,_0x54b8fb=0x6;var _0x55bf83=(_0x3a70c5=>(_0x3a70c5['Existing']=_0x4ff3ff(0x205),_0x3a70c5[_0x4ff3ff(0x160)]=_0x4ff3ff(0x30d),_0x3a70c5))(_0x55bf83||{});const _0xaf0570={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','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':''}}},_0x6ee84b=0x1e,_0x12cf4d={'b':{'s':0x1,'cl':{'rgb':_0x6b434f}},'l':{'s':0x1,'cl':{'rgb':_0x6b434f}},'r':{'s':0x1,'cl':{'rgb':_0x6b434f}},'t':{'s':0x1,'cl':{'rgb':_0x6b434f}}},_0x2a750b={'bg':{'rgb':_0x39d61f},'ht':0x2,'vt':0x2,'tb':0x1},_0x3d916b={'bg':{'rgb':_0x3fd82d},'ht':0x2,'vt':0x2,'tb':0x1},_0x1a3ef9={'rowStyle':{'bg':{'rgb':_0x2d487f},'bd':_0x12cf4d,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x54d036},'bd':null,'cl':{'rgb':_0x3e58bf},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x12cf4d,'bg':{'rgb':_0x3253b1},'vt':0x2},'cornerStyle':{'bd':_0x12cf4d,'bg':{'rgb':_0x2561a3},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x12cf4d,'bg':{'rgb':_0x549131},'vt':0x2},'leafStyle':{'bd':_0x12cf4d,'bg':{'rgb':_0x29cedf},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x9fdfcb},'cl':{'rgb':_0x1587a1},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x12cf4d,'vt':0x2}};function _0x1ae3e7(_0x34a977,_0x36cbaa,_0x1202cc){const _0x48cc07=_0x4ff3ff,_0x478405=_0x34a977['get'](_0x136a03[_0x48cc07(0xac)]),_0x309829=_0x1202cc[_0x48cc07(0x354)]('_');switch(_0x36cbaa){case _0x10f223[_0x48cc07(0xff)][_0x48cc07(0x25b)]:return _0x478405['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x309829);case _0x10f223[_0x48cc07(0xff)][_0x48cc07(0x263)]:return _0x478405['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x309829);case _0x10f223['PivotDateGroupFieldDateTypeEnum'][_0x48cc07(0x2d2)]:return _0x478405['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x309829);case _0x10f223[_0x48cc07(0xff)][_0x48cc07(0x83)]:return _0x478405['t'](_0x48cc07(0xe2),..._0x309829);case _0x10f223[_0x48cc07(0xff)]['Date']:return _0x478405['t'](_0x48cc07(0x6a),..._0x309829);case _0x10f223['PivotDateGroupFieldDateTypeEnum']['Month']:return _0x478405['t'](_0x48cc07(0x25d),..._0x309829);case _0x10f223[_0x48cc07(0xff)][_0x48cc07(0x368)]:return _0x478405['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x309829);case _0x10f223[_0x48cc07(0xff)]['YearMonth']:return _0x478405['t'](_0x48cc07(0x21a),..._0x309829);case _0x10f223[_0x48cc07(0xff)][_0x48cc07(0x283)]:return _0x478405['t'](_0x48cc07(0x1f4),..._0x309829);case _0x10f223[_0x48cc07(0xff)][_0x48cc07(0x1e9)]:return _0x478405['t'](_0x48cc07(0x259),..._0x309829);}return'';}const _0x1cd3ca=(_0x5576ad,_0x4ca654,_0x101feb,_0x236074)=>{const _0x259c19=_0x4ff3ff;let _0x59c7c7;const _0x32be72=_0x5576ad['get'](_0x136a03[_0x259c19(0x227)])[_0x259c19(0x208)](_0x136a03[_0x259c19(0x170)][_0x259c19(0x22b)]);if(!_0x32be72)return null;const _0x45fed2=_0x32be72['getStyles']();let _0x52ae24;if(_0x101feb&&(_0x52ae24=_0x45fed2[_0x259c19(0x1fd)](_0x101feb)),_0x4ca654!=null&&_0x4ca654['v']||(_0x4ca654==null?void 0x0:_0x4ca654['v'])===0x0){_0x59c7c7||(_0x59c7c7={});const _0x2b1bbf=_0x5942aa(_0x4ca654['v']);typeof _0x2b1bbf==_0x259c19(0x14d)?_0x59c7c7['t']=_0x136a03[_0x259c19(0x32b)][_0x259c19(0x27b)]:typeof _0x2b1bbf==_0x259c19(0x102)&&(_0x59c7c7['t']=_0x136a03[_0x259c19(0x32b)]['STRING']),_0x59c7c7['v']=_0x2b1bbf;}if((_0x4ca654!=null&&_0x4ca654['i']||(_0x4ca654==null?void 0x0:_0x4ca654['i'])===0x0)&&(_0x59c7c7||(_0x59c7c7={}),_0x59c7c7['fi']=_0x4ca654['i']),_0x4ca654!=null&&_0x4ca654['s']&&(_0x59c7c7||(_0x59c7c7={}),_0x59c7c7[_0x259c19(0x69)]=_0x4ca654['s']),_0x101feb&&(_0x59c7c7||(_0x59c7c7={}),_0x59c7c7['s']=_0x52ae24),_0x236074&&_0x59c7c7!=null&&_0x59c7c7['v']&&_0x59c7c7[_0x259c19(0x69)]!==_0x10f223['PivotCellStyleTypeEnum'][_0x259c19(0x1bc)]&&_0x59c7c7['pbt']!==_0x10f223['PivotCellStyleTypeEnum'][_0x259c19(0x262)]){const _0x192875=String(_0x59c7c7['v']),{dateType:_0x598d9a}=_0x236074;_0x59c7c7['v']=_0x1ae3e7(_0x5576ad,_0x598d9a,_0x192875),_0x59c7c7['t']=_0x136a03[_0x259c19(0x32b)][_0x259c19(0x239)];}return _0x59c7c7;},_0x468a1e=(_0xac53be,_0x4a6703,_0x95c2de,_0x2ed196)=>{const _0x447d76=_0x4ff3ff;var _0x388530,_0x346ab3,_0x8e8471,_0x2be617,_0x316be4,_0x9c9a43,_0x23c4d4,_0x4d6bb2,_0x1790ea,_0x48bec8,_0x510a3e,_0x7c5746,_0x3a5b2f,_0x1d4a29;const _0x107efd=_0x95c2de[_0x447d76(0x271)],{cornerView:_0x175ff9,rowView:_0x33968e,colView:_0x408d36,dataView:_0x355bf4,pageView:_0x37d30b,formatMap:_0x55090f,groupInfo:_0x31871c}=_0x4a6703,{row:_0x128556,col:_0x420407}=_0x107efd,_0x284ab6=new _0x136a03[(_0x447d76(0xfd))](),_0x4b40fe={},_0x1dcde0={},_0x39bbc0={},_0x2ab706={},_0x2856f9={};let _0x266e9e=_0x128556,_0x2f89e7=_0x420407;Object[_0x447d76(0x255)](_0x37d30b[_0x447d76(0x2b0)])[_0x447d76(0x1ed)](_0x2f22b2=>{const _0x42fcd4=_0x447d76;Object[_0x42fcd4(0x255)](_0x37d30b[_0x42fcd4(0x2b0)][Number(_0x2f22b2)])[_0x42fcd4(0x1ed)](_0x15a49a=>{const _0x1b4e84=_0x42fcd4,_0x241bf2={..._0x37d30b[_0x1b4e84(0x2b0)][Number(_0x2f22b2)][Number(_0x15a49a)]};_0x284ab6[_0x1b4e84(0x1fd)](Number(_0x2f22b2)+_0x266e9e,Number(_0x15a49a)+_0x2f89e7,_0x1cd3ca(_0xac53be,_0x241bf2,_0x1a3ef9[_0x1b4e84(0x308)]));});});const _0x4cc8dd=Object['keys'](_0x37d30b[_0x447d76(0x2b0)])[_0x447d76(0x1ae)];_0x266e9e+=_0x4cc8dd+(_0x4cc8dd?_0x2fd7f7:0x0);const _0x324ff1=_0x175ff9[_0x447d76(0x322)](),_0x3b68f3=_0x175ff9[_0x447d76(0x13c)]();for(let _0x30c757=0x0;_0x30c757<_0x324ff1;_0x30c757++)for(let _0x767b2f=0x0;_0x767b2f<_0x3b68f3;_0x767b2f++){const _0xbbbfde={...(_0x346ab3=(_0x388530=_0x175ff9['data'])==null?void 0x0:_0x388530[_0x30c757])==null?void 0x0:_0x346ab3[_0x767b2f]};_0xbbbfde&&((_0x8e8471=_0x33968e[_0x447d76(0x185)][_0x767b2f])!=null&&_0x8e8471['isValue'])&&_0x767b2f===_0x3b68f3-0x1&&_0x30c757===_0x324ff1-0x1&&(_0xbbbfde['v']=''+_0x2ed196[_0x447d76(0x21f)]),_0x284ab6[_0x447d76(0x1fd)](_0x30c757+_0x266e9e,_0x767b2f+_0x2f89e7,_0x1cd3ca(_0xac53be,_0xbbbfde,_0x1a3ef9['cornerStyle']));}for(let _0x831c35=0x0;_0x831c35<_0x175ff9[_0x447d76(0x15b)][_0x447d76(0x1ae)];_0x831c35++)_0x175ff9[_0x447d76(0x15b)][_0x831c35]&&(_0x39bbc0[''+(_0x831c35+_0x2f89e7)]=_0x175ff9[_0x447d76(0x15b)][_0x831c35]);_0x2f89e7+=_0x3b68f3;const _0x8b14ed=_0x408d36['headerMap'],_0x54ee69=_0x408d36['getLastRow']()>=0x0?_0x408d36[_0x447d76(0x200)]()+0x1:0x0,_0x286598=_0x408d36['getLastCol']()>=0x0?_0x408d36[_0x447d76(0x1e0)]()+0x1:0x0;for(let _0x58bd99=0x0;_0x58bd99<_0x286598;_0x58bd99++){for(let _0x381f5e=0x0;_0x381f5e<_0x54ee69;_0x381f5e++){const _0x9f0647={...(_0x316be4=(_0x2be617=_0x408d36[_0x447d76(0x2b0)])==null?void 0x0:_0x2be617[_0x381f5e])==null?void 0x0:_0x316be4[_0x58bd99]},_0x197427=(_0x9c9a43=_0x8b14ed[_0x381f5e])==null?void 0x0:_0x9c9a43[_0x447d76(0xa1)],_0x4c6c08=_0x55090f[_0x197427],_0x3cfb26=_0x31871c[_0x197427];_0x9f0647&&(_0x9f0647['v']=_0x25418d(_0x9f0647,_0x381f5e===0x0&&((_0x23c4d4=_0x408d36[_0x447d76(0x20c)](_0x58bd99+0x1))==null?void 0x0:_0x23c4d4[_0x447d76(0x2e7)]),_0x4c6c08,_0x2ed196));let _0x2e3fb5;_0x4c6c08?_0x2e3fb5={..._0x1a3ef9['colStyle'],'n':{'pattern':_0x4c6c08}}:_0x2e3fb5={..._0x1a3ef9[_0x447d76(0x216)]},_0x284ab6['setValue'](_0x381f5e+_0x266e9e,_0x58bd99+_0x2f89e7,_0x1cd3ca(_0xac53be,_0x9f0647,_0x2e3fb5,_0x3cfb26));}_0x408d36[_0x447d76(0x15b)][_0x58bd99]&&(_0x1dcde0[''+(_0x58bd99+_0x2f89e7)]=_0x408d36[_0x447d76(0x15b)][_0x58bd99]),_0x408d36['headerMap'][_0x58bd99+0x1]&&(_0x2856f9[''+(_0x58bd99+_0x266e9e+0x1)]=_0x408d36['headerMap'][_0x58bd99+0x1]);}_0x266e9e+=_0x324ff1;const _0x171522=_0x33968e[_0x447d76(0x185)],_0x564cdd=_0x33968e[_0x447d76(0x200)]()>=0x0?_0x33968e[_0x447d76(0x200)]()+0x1:0x0,_0x2eebb1=_0x33968e[_0x447d76(0x1e0)]()>=0x0?_0x33968e[_0x447d76(0x1e0)]()+0x1:0x0;for(let _0x409df6=0x0;_0x409df6<_0x564cdd;_0x409df6++){for(let _0x329cb9=0x0;_0x329cb9<_0x2eebb1;_0x329cb9++){const _0x15eb28={...(_0x1790ea=(_0x4d6bb2=_0x33968e[_0x447d76(0x2b0)])==null?void 0x0:_0x4d6bb2[_0x409df6])==null?void 0x0:_0x1790ea[_0x329cb9]},_0x45759f=(_0x48bec8=_0x171522[_0x329cb9])==null?void 0x0:_0x48bec8['tableFieldId'],_0x12e2b9=_0x55090f[_0x45759f],_0x31bfc0=_0x31871c[_0x45759f];_0x15eb28&&(_0x15eb28['v']=_0x25418d(_0x15eb28,!0x1,_0x12e2b9,_0x2ed196));let _0x53af00;_0x33968e[_0x447d76(0x15b)][_0x409df6][_0x447d76(0x349)]===_0x33968e[_0x447d76(0x13c)]()?_0x53af00=_0x1a3ef9[_0x447d76(0x23c)]:_0x33968e[_0x447d76(0x15b)][_0x409df6][_0x447d76(0x89)]?_0x53af00=_0x33968e[_0x447d76(0x15b)][_0x409df6][_0x447d76(0x349)]===0x0?_0x1a3ef9[_0x447d76(0x1c2)]:_0x1a3ef9[_0x447d76(0x358)]:_0x53af00=_0x1a3ef9['rowStyle'],_0x12e2b9&&(_0x53af00={..._0x53af00,'n':{'pattern':_0x12e2b9}}),_0x284ab6['setValue'](_0x409df6+_0x266e9e,_0x329cb9+_0x420407,_0x1cd3ca(_0xac53be,_0x15eb28,_0x53af00,_0x31bfc0));}_0x33968e[_0x447d76(0x15b)][_0x409df6]&&(_0x4b40fe[''+(_0x409df6+_0x266e9e)]=_0x33968e[_0x447d76(0x15b)][_0x409df6]),_0x33968e[_0x447d76(0x185)][_0x409df6]&&(_0x2ab706[''+(_0x409df6+_0x420407)]=_0x33968e['headerMap'][_0x409df6]);}const _0x533f9e=_0x355bf4[_0x447d76(0x322)](),_0x28155e=_0x355bf4['getColCount']();for(let _0xbb93e6=0x0;_0xbb93e6<_0x533f9e;_0xbb93e6++)for(let _0x2d3b21=0x0;_0x2d3b21<_0x28155e;_0x2d3b21++){const _0x251b4e={...(_0x7c5746=(_0x510a3e=_0x355bf4[_0x447d76(0x2b0)])==null?void 0x0:_0x510a3e[_0xbb93e6])==null?void 0x0:_0x7c5746[_0x2d3b21]};let _0x256102;_0x33968e[_0x447d76(0x15b)][_0xbb93e6][_0x447d76(0x89)]?_0x256102=_0x33968e['info'][_0xbb93e6][_0x447d76(0x349)]===0x0?_0x1a3ef9[_0x447d76(0x1c2)]:_0x1a3ef9['subTotalStyle']:_0x256102=_0x1a3ef9[_0x447d76(0x74)];const _0x22d8c7=_0x33968e[_0x447d76(0x15b)][_0xbb93e6]['valueIndex'],_0x14d6e2=_0x408d36[_0x447d76(0x15b)][_0x2d3b21][_0x447d76(0xcf)],_0x98b3a1=Math['max'](_0x22d8c7,_0x14d6e2),_0x5e3f2e=_0x95c2de[_0x447d76(0x237)][_0x447d76(0x261)][_0x447d76(0x1d0)]();let _0x3740f2='';_0x98b3a1<0x0?_0x3740f2=(_0x3a5b2f=_0x5e3f2e[0x0])!=null?_0x3a5b2f:'':_0x3740f2=(_0x1d4a29=_0x5e3f2e[_0x98b3a1])!=null?_0x1d4a29:'';const _0x3d8c33=_0x55090f[_0x3740f2];_0x3d8c33&&(_0x256102={..._0x256102,'n':{'pattern':_0x3d8c33}}),_0x284ab6[_0x447d76(0x1fd)](_0xbb93e6+_0x266e9e,_0x2d3b21+_0x2f89e7,_0x1cd3ca(_0xac53be,_0x251b4e,_0x256102));}return{'valueMatrix':_0x284ab6,'rowInfo':_0x4b40fe,'colInfo':_0x1dcde0,'cornerInfo':_0x39bbc0,'rowHeaderMap':_0x2ab706,'colHeaderMap':_0x2856f9};};function _0x25418d(_0x40341c,_0x179e05,_0x2a1d38,_0x1f79b9){const _0x2d3ebe=_0x4ff3ff;let _0x6b232d=_0x40341c['v'];_0x179e05&&(_0x6b232d=''+_0x1f79b9['sheets-pivot.value']);const _0x680a5b=_0x40341c['t']&&(_0x40341c['t']&_0x10f223[_0x2d3ebe(0x77)][_0x2d3ebe(0x1af)])>0x0;_0x680a5b&&(_0x6b232d=''+_0x1f79b9[_0x2d3ebe(0xd1)]);const _0x519c49=_0x40341c['t']&&(_0x40341c['t']&_0x10f223[_0x2d3ebe(0x77)]['other'])>0x0;if(_0x519c49&&(_0x6b232d=''+_0x1f79b9['sheets-pivot.other']),_0x40341c['s']===_0x10f223['PivotCellStyleTypeEnum'][_0x2d3ebe(0x262)]){let _0x595712=_0x6b232d,_0x500a5b='';_0x10f223[_0x2d3ebe(0x13f)](_0x6b232d)&&(_0x595712=_0x6b232d['prefix'],_0x500a5b=_0x6b232d[_0x2d3ebe(0x7b)]);const _0x5934b4=_0x2a1d38&&!_0x680a5b&&!_0x519c49?_0x136a03[_0x2d3ebe(0x11e)]['format'](_0x2a1d38,Number(_0x595712)):_0x595712;_0x500a5b?_0x6b232d=_0x5934b4+'\x20'+_0x500a5b:_0x6b232d=_0x5934b4+'\x20'+_0x1f79b9[_0x2d3ebe(0x2d7)];}else _0x40341c['s']===_0x10f223[_0x2d3ebe(0x180)][_0x2d3ebe(0x1bc)]&&(_0x6b232d=_0x6b232d+'\x20'+_0x1f79b9[_0x2d3ebe(0x1e8)]);return _0x6b232d;}function _0x5942aa(_0x44f1ef){const _0x29fbb8=_0x4ff3ff;if(_0x10f223[_0x29fbb8(0x9a)](_0x44f1ef)){const {errorType:_0x494b45}=_0x44f1ef;switch(_0x494b45){case _0x10f223[_0x29fbb8(0x17f)][_0x29fbb8(0x36a)]:return _0x5bf515[_0x29fbb8(0x35b)][_0x29fbb8(0x73)];case _0x10f223[_0x29fbb8(0x17f)][_0x29fbb8(0x19a)]:return _0x5bf515[_0x29fbb8(0x35b)][_0x29fbb8(0x232)];case _0x10f223['PivotErrorTypeEnum']['NotFunction']:return _0x5bf515[_0x29fbb8(0x35b)][_0x29fbb8(0x1b2)];case _0x10f223[_0x29fbb8(0x17f)]['NotName']:return _0x5bf515['ErrorType']['NAME'];case _0x10f223[_0x29fbb8(0x17f)]['BadReference']:return _0x5bf515[_0x29fbb8(0x35b)]['REF'];}}return _0x44f1ef;}function _0x50f2e9(_0x2960f2,_0x3057fa,_0x4cfeca=!0x1,_0x3d26b0=!0x1){const _0x320169=_0x4ff3ff,{data:_0x1e7510}=_0x3057fa,_0x8ce90b=_0x3057fa[_0x320169(0x322)](),_0xc0f48f=_0x3057fa[_0x320169(0x13c)]();if(_0x8ce90b<=0x0||_0xc0f48f<=0x0)return[];const _0x2f1fda=_0x3057fa['getLastCol'](),_0x15aab1=_0x3057fa[_0x320169(0x200)](),_0x3a5258=_0x3d26b0?_0x15aab1>=0x0?_0x15aab1+0x1:0x0:_0x8ce90b,_0x440f84=_0x3d26b0?_0x2f1fda>=0x0?_0x2f1fda+0x1:0x0:_0xc0f48f,{row:_0x2dd212,col:_0x33f568}=_0x2960f2,_0x38b69f=_0x2dd212,_0xfd5367=_0x33f568;if(_0x4cfeca){const _0x5cf9d9=[];for(const [_0x4a5d8e,_0x3d2fb6]of Object[_0x320169(0x341)](_0x1e7510))for(const [_0x1f6f0d,_0x5ae17e]of Object[_0x320169(0x341)](_0x3d2fb6))_0x5cf9d9[_0x320169(0xda)](_0x136a03[_0x320169(0x350)](_0x38b69f+Number(_0x4a5d8e),_0xfd5367+Number(_0x1f6f0d)));return _0x5cf9d9;}else{const _0x4d30ac=_0x3d26b0?_0x3a5258>0x0?0x1:0x0:0x1,_0x1de5be=_0x3d26b0?_0x440f84>0x0?0x1:0x0:0x1,_0x27563d=_0x2dd212+_0x3a5258-_0x4d30ac,_0x43d551=_0x33f568+_0x440f84-_0x1de5be;return[{'startRow':_0x38b69f,'startColumn':_0xfd5367,'endRow':_0x27563d,'endColumn':_0x43d551}];}}const _0x2432cb=_0x4ff3ff(0x238),_0x136553=_0x4ff3ff(0xa7);var _0x434fd6=(_0x53c2b1=>(_0x53c2b1[_0x4ff3ff(0x12c)]=_0x4ff3ff(0xb3),_0x53c2b1[_0x4ff3ff(0x119)]=_0x4ff3ff(0x324),_0x53c2b1[_0x4ff3ff(0x115)]=_0x4ff3ff(0x99),_0x53c2b1[_0x4ff3ff(0x92)]=_0x4ff3ff(0x92),_0x53c2b1[_0x4ff3ff(0x323)]=_0x4ff3ff(0xa2),_0x53c2b1[_0x4ff3ff(0x1c0)]='movePivotField',_0x53c2b1[_0x4ff3ff(0x86)]=_0x4ff3ff(0xa8),_0x53c2b1['SetPivotCollapse']=_0x4ff3ff(0x126),_0x53c2b1[_0x4ff3ff(0x339)]=_0x4ff3ff(0x2e1),_0x53c2b1[_0x4ff3ff(0xf3)]='setPivotSort',_0x53c2b1[_0x4ff3ff(0x1a1)]='setPivotSetting',_0x53c2b1['UpdatePivotSource']='updatePivotSource',_0x53c2b1[_0x4ff3ff(0xf1)]=_0x4ff3ff(0x197),_0x53c2b1[_0x4ff3ff(0x17d)]=_0x4ff3ff(0x174),_0x53c2b1[_0x4ff3ff(0x270)]='setValuePivotFilter',_0x53c2b1['SetPivotTableConfig']=_0x4ff3ff(0x25e),_0x53c2b1['ResetPivotTable']=_0x4ff3ff(0x12b),_0x53c2b1))(_0x434fd6||{});const _0x4a7d2={'sheets-pivot.blankValue':_0x4ff3ff(0x260),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x4ff3ff(0xe1),'sheets-pivot.grandTotalText':_0x4ff3ff(0x18c),'sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x4ff3ff(0x2c2),'sheets-pivot.countName':_0x4ff3ff(0x7f),'sheets-pivot.countNumsName':_0x4ff3ff(0x7f),'sheets-pivot.maxName':_0x4ff3ff(0x16f),'sheets-pivot.minName':_0x4ff3ff(0x298),'sheets-pivot.productName':_0x4ff3ff(0x1b6),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x4ff3ff(0x34a),'sheets-pivot.varpName':_0x4ff3ff(0x34d),'sheets-pivot.subTotal':_0x4ff3ff(0x262),'sheets-pivot.grandTotal':_0x4ff3ff(0x18c),'sheets-pivot.value':_0x4ff3ff(0x7b),'sheets-pivot.blank':_0x4ff3ff(0x1af),'sheets-pivot.other':_0x4ff3ff(0x26e),'sheets-pivot.emptyPivot.filter':_0x4ff3ff(0x12c),'sheets-pivot.emptyPivot.row':_0x4ff3ff(0x36f),'sheets-pivot.emptyPivot.column':_0x4ff3ff(0x1a5),'sheets-pivot.emptyPivot.values':_0x4ff3ff(0x148)},_0x5cc8fa={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x3a4963=_0x136a03['createAsyncInterceptorKey'](_0x4ff3ff(0x18f)),_0x117ec4=_0x136a03[_0x4ff3ff(0x124)](_0x4ff3ff(0x289));var _0x33fa65=(_0x4c9569=>(_0x4c9569['add']=_0x4ff3ff(0x20b),_0x4c9569[_0x4ff3ff(0x1db)]=_0x4ff3ff(0x1db),_0x4c9569['update']=_0x4ff3ff(0x1e4),_0x4c9569))(_0x33fa65||{}),_0x39c7b1=(_0x19dd3b=>(_0x19dd3b[_0x4ff3ff(0x37e)]=_0x4ff3ff(0x20b),_0x19dd3b['Set']=_0x4ff3ff(0xa4),_0x19dd3b[_0x4ff3ff(0x275)]=_0x4ff3ff(0x1db),_0x19dd3b))(_0x39c7b1||{});const _0x5ccc55={'type':_0x136a03['CommandType'][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x1f0),'handler':()=>!0x0},_0x4e105c={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x107),'handler':()=>!0x0},_0xb34b97={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x2df),'handler':()=>!0x0},_0x278df3={'type':_0x136a03[_0x4ff3ff(0x2a2)]['MUTATION'],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x30da9f={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x199),'handler':()=>!0x0};var _0x3e5260=Object['getOwnPropertyDescriptor'],_0x2f85fc=(_0x445449,_0x1a94c3,_0x278713,_0x3a1e1f)=>{const _0x2c5ea4=_0x4ff3ff;for(var _0x210701=_0x3a1e1f>0x1?void 0x0:_0x3a1e1f?_0x3e5260(_0x1a94c3,_0x278713):_0x1a94c3,_0x484832=_0x445449[_0x2c5ea4(0x1ae)]-0x1,_0x4a58de;_0x484832>=0x0;_0x484832--)(_0x4a58de=_0x445449[_0x484832])&&(_0x210701=_0x4a58de(_0x210701)||_0x210701);return _0x210701;},_0x51f93d=(_0x34e3ed,_0x237974)=>(_0x2813c9,_0x3f2e4e)=>_0x237974(_0x2813c9,_0x3f2e4e,_0x34e3ed);_0x488dae[_0x4ff3ff(0x120)]=class extends _0x136a03['Disposable']{constructor(_0x360940){const _0x1c7936=_0x4ff3ff;super(),_0x4779db(this,'_requestResolvers',new Map()),this[_0x1c7936(0x1ff)]=_0x360940;}[_0x4ff3ff(0x33a)](_0x2e5454){const _0x593597=_0x4ff3ff,{version:_0x1bc4e6}=_0x2e5454,_0x4387bf=this[_0x593597(0xbb)][_0x593597(0x34e)](_0x1bc4e6);_0x4387bf&&(_0x4387bf(_0x2e5454),this[_0x593597(0xbb)][_0x593597(0x1db)](_0x1bc4e6));}[_0x4ff3ff(0x36c)](_0x3e2db0){return new Promise((_0x3f1207,_0x1a901e)=>{const _0x20a0f3=_0x5d05,_0x4c7363=this[_0x20a0f3(0x284)]();this[_0x20a0f3(0xbb)][_0x20a0f3(0xa4)](_0x4c7363,_0x3f1207),this[_0x20a0f3(0x1ff)][_0x20a0f3(0x2c6)](_0x5ccc55['id'],{'version':_0x4c7363,..._0x3e2db0},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x4de278=_0x4ff3ff;return Math[_0x4de278(0x90)]()['toString'](0x24)[_0x4de278(0x218)](0x2,0x10);}},_0x488dae[_0x4ff3ff(0x120)]=_0x2f85fc([_0x51f93d(0x0,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x13a)]))],_0x488dae[_0x4ff3ff(0x120)]);const _0x1a7eec={0x0:'5',0x1:'U',0x2:'J',0x3:'y',0x4:'F',0x5:'V',0x6:'B',0x7:'o',0x8:'A',0x9:'7','L':'0','Z':'1','C':'2','r':'3','k':'4','A':'6','n':'8','U':'9','i':'a','I':'b','Y':'c','f':'d','Q':'e','g':'f','F':'g','R':'h','J':'i','u':'j','p':'k','v':'l','c':'m','T':'n','h':'p','B':'q','x':'r','N':'s','G':'t','W':'u','P':'v','O':'w','m':'x','X':'z','z':'C','j':'D','d':'E','t':'G','D':'H','o':'I','l':'K','y':'L','H':'M','b':'N','e':'O','V':'P','M':'Q','s':'R','S':'S','q':'T','w':'W','E':'X','K':'Y','a':'Z'},_0x45ffe5=_0x4ff3ff(0x342),_0x1ec59b=_0x34885a=>{const _0x164026=_0x4ff3ff;var _0x5d7940;return((_0x5d7940=_0x34885a['body'])==null?void 0x0:_0x5d7940[_0x164026(0x32c)][_0x164026(0x1f8)](/\r\n$/,''))||'';};class _0x4a251f extends _0x10f223[_0x4ff3ff(0x251)]{constructor(_0x3c2145,_0x46c52f){const _0x3b4f60=_0x4ff3ff;super(),_0x4779db(this,_0x3b4f60(0xd3),{}),_0x4779db(this,_0x3b4f60(0x317)),_0x4779db(this,_0x3b4f60(0x8e)),(this[_0x3b4f60(0x317)]=_0x46c52f,this['_host']=_0x3c2145);}[_0x4ff3ff(0x37b)](){const _0x351619=_0x4ff3ff;for(const _0x4df983 in this['dataFields']){const _0x3aeb4d=this['dataFields'][_0x4df983],_0x16d974=_0x3aeb4d[_0x351619(0xdb)]();this[_0x351619(0xd3)][_0x16d974]=_0x3aeb4d['getId']();}}[_0x4ff3ff(0x15d)](){const _0x32c2c2=_0x4ff3ff,_0x1dafe6=this['_host'];return _0x197ec3[_0x32c2c2(0xe4)](_0x1dafe6);}['deleteDataField'](_0x442c2){const _0x2e2024=_0x4ff3ff,_0x5db658=this[_0x2e2024(0x1c6)][_0x442c2][_0x2e2024(0x94)];delete this[_0x2e2024(0x1c6)][_0x442c2],delete this[_0x2e2024(0xd3)][_0x5db658];}[_0x4ff3ff(0x16c)](_0x48ab52){const _0x218624=_0x4ff3ff;this[_0x218624(0x1c6)][_0x48ab52[_0x218624(0x1c5)]()]=_0x48ab52;}[_0x4ff3ff(0xfc)](_0x199673){const _0xf2338c=_0x4ff3ff;var _0x5336aa,_0x5c0adb;const _0x2dcdf9=this[_0xf2338c(0x8e)][_0xf2338c(0x1e7)](_0x199673);if(_0x2dcdf9){const {unitId:_0x3ddc30,subUnitId:_0xeb3848}=_0x2dcdf9,_0x50c573=(_0x5336aa=this[_0xf2338c(0x8e)]['getPivotTableConfig'](_0x3ddc30,_0xeb3848,_0x199673))==null?void 0x0:_0x5336aa[_0xf2338c(0x329)];this[_0xf2338c(0x8e)][_0xf2338c(0x1f5)]({'token':_0x199673,'type':_0x33fa65['delete'],'dataRangeInfo':_0x50c573});}(_0x5c0adb=this[_0xf2338c(0x139)](_0x199673))==null||_0x5c0adb[_0xf2338c(0x23b)](),delete this['collections'][_0x199673];}[_0x4ff3ff(0xdb)](_0x40a2b1,_0x2abc6c){const _0x3f04fe=_0x4ff3ff,{sheetName:_0x25d67d,unitId:_0x42db2b,range:_0x49bc39}=_0x40a2b1,{startRow:_0x366d8d,endRow:_0x46d752}=_0x49bc39;return _0x5bf515[_0x3f04fe(0xc5)](_0x42db2b,_0x25d67d,{'startRow':_0x366d8d,'endRow':_0x46d752,'startColumn':_0x2abc6c,'endColumn':_0x2abc6c});}[_0x4ff3ff(0x24d)](_0x55a120){const _0x1089ed=_0x4ff3ff;return this['dataFields'][this[_0x1089ed(0xd3)][_0x55a120]];}[_0x4ff3ff(0x213)](_0x357c52,_0x151180){this['rangeKeyMap'][_0x357c52]=_0x151180;}[_0x4ff3ff(0x18d)](_0x17360b,_0x13038e){const _0x230702=_0x4ff3ff;this[_0x230702(0xd3)][_0x13038e]=this[_0x230702(0xd3)][_0x17360b],delete this[_0x230702(0xd3)][_0x17360b];}['addCollectionByJSON'](_0x2e0740,_0x21d641,_0x4638cd,_0x2adc39){const _0xa90df3=_0x4ff3ff,_0x138e47=new _0x10f223[(_0xa90df3(0xc7))](this);_0x138e47[_0xa90df3(0x24b)](_0x21d641);const _0x79b92a=[];let _0x6bf017=0x0;for(const _0x18e0ef of _0x138e47['fieldIds']){const _0xa1e6e=this[_0xa90df3(0xdb)](_0x4638cd,_0x6bf017),_0x44003a=this[_0xa90df3(0x1c6)][_0x18e0ef];_0x44003a&&(_0x44003a[_0xa90df3(0x94)]=_0xa1e6e,this['setRangeKeyMap'](_0xa1e6e,_0x18e0ef),_0x79b92a[_0xa90df3(0xda)]({'index':_0x6bf017,'dataField':_0x44003a})),_0x6bf017++;}return this[_0xa90df3(0x156)](_0x2e0740,_0x138e47,_0x4638cd,_0x2adc39),{'collection':_0x138e47,'updateDataFieldList':_0x79b92a};}['getRangeStartEndInfo'](_0x38353c,_0x314f13){const _0x2d8841=_0x4ff3ff;return _0x38353c[_0x2d8841(0x2ef)]===_0x136a03[_0x2d8841(0x19b)]['COLUMN']?{'startRow':0x0,'startColumn':_0x38353c[_0x2d8841(0x2fd)],'endRow':_0x314f13[_0x2d8841(0x322)]()-0x1,'endColumn':_0x38353c['endColumn']}:{'startRow':_0x38353c[_0x2d8841(0x100)],'startColumn':_0x38353c[_0x2d8841(0x2fd)],'endRow':_0x38353c[_0x2d8841(0x27a)],'endColumn':_0x38353c[_0x2d8841(0x304)]};}[_0x4ff3ff(0x28f)](_0x53a13d){const _0x3265c3=_0x4ff3ff,{sheetName:_0x50f87b,range:_0x54ed1f}=_0x53a13d,_0x3dfa18=this[_0x3265c3(0x317)][_0x3265c3(0x208)](_0x136a03[_0x3265c3(0x170)][_0x3265c3(0x22b)]),_0x3b3266=_0x3dfa18[_0x3265c3(0x2b3)](_0x50f87b),_0x4726c3=_0x3b3266[_0x3265c3(0x24f)](),{startColumn:_0x3963bd,startRow:_0x1a76a1,endColumn:_0x2257f4}=this['getRangeStartEndInfo'](_0x54ed1f,_0x3b3266),_0x24e03d=_0x3dfa18[_0x3265c3(0x2a5)](),_0x161430=new _0x10f223[(_0x3265c3(0xc7))](this);_0x161430[_0x3265c3(0xc0)](_0x53a13d);const _0x330527=[],_0x34dd42={};for(let _0x260470=_0x3963bd;_0x260470<=_0x2257f4;_0x260470++){const _0xd02bd6=_0x4726c3[_0x3265c3(0x2b7)](_0x1a76a1,_0x260470),_0x5f407f=this[_0x3265c3(0xdb)](_0x53a13d,_0x260470),_0x49c336=this['getDataFieldByRangeKey'](_0x5f407f);if(_0x49c336)_0x161430['addField'](_0x49c336[_0x3265c3(0x1c5)](),_0x49c336[_0x3265c3(0x2db)]());else{const _0x12a05a=this[_0x3265c3(0x33f)]();let _0x3302eb=this[_0x3265c3(0x1eb)](_0xd02bd6,_0x24e03d,_0x34dd42);_0x10f223[_0x3265c3(0x332)](_0x3302eb)&&(_0x3302eb=_0x136a03[_0x3265c3(0x11e)]['format'](_0x3302eb['f'],Number(_0x3302eb['v'])));const _0x5862f4=this[_0x3265c3(0x1f2)](_0x3302eb,_0x260470),_0xfcee1d=new _0x10f223['DataField'](_0x12a05a,_0x5862f4,_0x10f223[_0x3265c3(0xb2)](0x3));_0xfcee1d['rangeKey']=_0x5f407f,this[_0x3265c3(0x1c6)][_0x12a05a]=_0xfcee1d,_0x161430[_0x3265c3(0x2ae)](_0x12a05a,_0x5862f4),_0x330527[_0x3265c3(0xda)]({'index':_0x260470,'dataField':_0xfcee1d});}}return{'updateDataFieldList':_0x330527,'collection':_0x161430};}[_0x4ff3ff(0x132)](_0x1ba429){const _0xb36218=_0x4ff3ff;return this[_0xb36218(0x8e)][_0xb36218(0x326)]()[_0xb36218(0x9c)]+'\x20'+_0x136a03[_0xb36218(0x318)](_0x1ba429);}[_0x4ff3ff(0x1f2)](_0x466e9f,_0x5cb5d4){return _0x466e9f==null||_0x466e9f===''?this['_getAutoName'](_0x5cb5d4):String(_0x466e9f);}[_0x4ff3ff(0x139)](_0x2f7a24){return this['collections'][_0x2f7a24];}[_0x4ff3ff(0x156)](_0x1dd419,_0x56d372,_0x32b52c,_0x139d9a){const _0x435816=_0x4ff3ff;this[_0x435816(0x152)][_0x1dd419]=_0x56d372,_0x56d372['setRange'](_0x32b52c),this[_0x435816(0x8e)][_0x435816(0x1f5)]({'token':_0x1dd419,'type':_0x33fa65['add'],'dataRangeInfo':_0x32b52c,'targetCellInfo':_0x139d9a});}[_0x4ff3ff(0x114)](_0x5dcf40,_0x4f6fe9){const _0x325b56=_0x4ff3ff,_0x1aaa89=this['getCollection'](_0x5dcf40),_0x157602=_0x1aaa89[_0x325b56(0x136)]();let _0x2880e9=0x0;for(const _0x25dc88 of _0x157602){const _0x39469c=_0x1aaa89['getFieldById'](_0x25dc88),_0x3d94cd=this[_0x325b56(0xdb)](_0x4f6fe9,_0x2880e9);this[_0x325b56(0x18d)](_0x39469c[_0x325b56(0x94)],_0x3d94cd),_0x2880e9++;}}[_0x4ff3ff(0x29f)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x4ff3ff(0x376)](_0x38f600,_0x3f46e0){const _0x43f938=_0x4ff3ff;if(this[_0x43f938(0x139)](_0x38f600)){const _0x224bf0=this['getRangeKeyList'](_0x3f46e0),_0x377d6f=[];for(const _0x263331 of _0x224bf0)this[_0x43f938(0xd3)][_0x263331]!==void 0x0&&_0x377d6f[_0x43f938(0xda)](this['rangeKeyMap'][_0x263331]);const _0xf2961e=this[_0x43f938(0x109)](_0x38f600),_0xbc5e78=[],_0x42f6c8=new Set(_0x377d6f);for(const _0x1cfdcc of _0xf2961e)_0x42f6c8['has'](_0x1cfdcc)||_0xbc5e78[_0x43f938(0xda)](_0x1cfdcc);return _0xbc5e78;}}['getMatrixValue'](_0x465416,_0x29a601,_0x4c223f,_0x1653ec,_0x39ed8d){const _0x37ff75=_0x4ff3ff;return _0x29a601&&_0x29a601[_0x37ff75(0x2b7)](_0x1653ec,_0x39ed8d)?_0x29a601[_0x37ff75(0x2b7)](_0x1653ec,_0x39ed8d):_0x4c223f&&_0x4c223f['getValue'](_0x1653ec,_0x39ed8d)?_0x4c223f['getValue'](_0x1653ec,_0x39ed8d):_0x465416['getValue'](_0x1653ec,_0x39ed8d);}[_0x4ff3ff(0x2b5)](_0x14697c,_0x50b114,_0x19b8b0,_0x4e8163){const _0x4d8ce8=_0x4ff3ff,_0x49cfed=this['dataFields'][_0x14697c];if(!_0x49cfed)return;const {subUnitId:_0x5d83a6,range:_0x549608,unitId:_0x3a6ab8}=_0x50b114,_0x5128cf=this[_0x4d8ce8(0x317)]['getUnit'](_0x3a6ab8);if(!_0x5128cf){console['error']('workbook\x20is\x20not\x20found');return;}const _0x3c6af6=_0x5128cf[_0x4d8ce8(0x6d)](_0x5d83a6),_0x275500=_0x3c6af6[_0x4d8ce8(0x24f)](),{arrayFormulaCellDataMatrix:_0x48872e,unitDataMatrix:_0x50f1c1}=_0x4e8163||{},{startRow:_0x3e0fe2,startColumn:_0x373afb,endRow:_0x54a389}=this[_0x4d8ce8(0x192)](_0x549608,_0x3c6af6);_0x49cfed['reset']();const _0x5ead56=_0x5128cf['getStyles'](),_0x86ca22={},_0x582d27=this[_0x4d8ce8(0x2ac)](_0x275500,_0x48872e,_0x50f1c1,_0x3e0fe2,_0x373afb+_0x19b8b0);let _0x2e295f=this[_0x4d8ce8(0x1eb)](_0x582d27,_0x5ead56,_0x86ca22);_0x10f223[_0x4d8ce8(0x332)](_0x2e295f)&&(_0x2e295f=_0x136a03[_0x4d8ce8(0x11e)][_0x4d8ce8(0x276)](_0x2e295f['f'],Number(_0x2e295f['v'])));const _0x3f26c2=this[_0x4d8ce8(0x1f2)](_0x2e295f,_0x373afb+_0x19b8b0);_0x49cfed['setName'](_0x3f26c2);for(let _0x211f17=_0x3e0fe2+0x1;_0x211f17<=_0x54a389;_0x211f17++){const _0x544f38=this['getMatrixValue'](_0x275500,_0x48872e,_0x50f1c1,_0x211f17,_0x373afb+_0x19b8b0);_0x49cfed[_0x4d8ce8(0x196)](this[_0x4d8ce8(0x1eb)](_0x544f38,_0x5ead56,_0x86ca22),_0x211f17-0x1-_0x3e0fe2);}}[_0x4ff3ff(0x82)](_0x406133,_0x17f250,_0x4e3f29){const _0x50cbd9=_0x4ff3ff,{subUnitId:_0x202dcd,range:_0x220aba,unitId:_0x40dcf1}=_0x4e3f29,_0x8ffb70=this[_0x50cbd9(0x317)][_0x50cbd9(0x229)](_0x40dcf1);if(!_0x8ffb70){console[_0x50cbd9(0xa6)](_0x50cbd9(0x87));return;}const _0x2ae64a=_0x8ffb70[_0x50cbd9(0x6d)](_0x202dcd),_0x565e2f=_0x2ae64a[_0x50cbd9(0x24f)](),{startRow:_0x431d18,startColumn:_0x38755,endRow:_0x4fad7f}=this[_0x50cbd9(0x192)](_0x220aba,_0x2ae64a),_0x503edb=_0x8ffb70[_0x50cbd9(0x2a5)](),_0x3333cb={};for(const {dataField:_0x4aaed6,index:_0x34ac60}of _0x17f250){_0x4aaed6['reset']();const _0x2cfec6=this[_0x50cbd9(0x2ac)](_0x565e2f,void 0x0,void 0x0,_0x431d18,_0x38755+_0x34ac60);let _0x50ef73=this[_0x50cbd9(0x1eb)](_0x2cfec6,_0x503edb,_0x3333cb);_0x10f223[_0x50cbd9(0x332)](_0x50ef73)&&(_0x50ef73=_0x136a03[_0x50cbd9(0x11e)][_0x50cbd9(0x276)](_0x50ef73['f'],Number(_0x50ef73['v'])));const _0x4a1a2c=this[_0x50cbd9(0x1f2)](_0x50ef73,_0x38755+_0x34ac60);_0x4aaed6[_0x50cbd9(0x222)](_0x4a1a2c);}_0x406133[_0x50cbd9(0x127)]();for(let _0x1e9677=_0x431d18+0x1;_0x1e9677<=_0x4fad7f;_0x1e9677++)for(const {index:_0x4bc73a,dataField:_0xe27185}of _0x17f250){const _0x18a652=_0x565e2f['getValue'](_0x1e9677,_0x38755+_0x4bc73a);_0xe27185[_0x50cbd9(0x196)](this[_0x50cbd9(0x1eb)](_0x18a652,_0x503edb,_0x3333cb),_0x1e9677-0x1-_0x431d18);}_0x406133[_0x50cbd9(0x282)](_0x4fad7f-_0x431d18);}[_0x4ff3ff(0x131)](_0x33d0e6){const _0x243be1=_0x4ff3ff,{range:_0x4a2a02}=_0x33d0e6,{startColumn:_0x5c13ec,endColumn:_0x516484}=_0x4a2a02,_0x1542d9=[];for(let _0x417703=_0x5c13ec;_0x417703<=_0x516484;_0x417703++)_0x1542d9[_0x243be1(0xda)](this[_0x243be1(0xdb)](_0x33d0e6,_0x417703));return _0x1542d9;}[_0x4ff3ff(0x1eb)](_0x5300ad,_0x271cd9,_0x2acfda){const _0x454804=_0x4ff3ff;if(_0x5300ad){const {s:_0x3f67c9,v:_0x25d4d0,t:_0x2a4c9e,p:_0x25473a}=_0x5300ad;if(_0x25473a)return _0x1ec59b(_0x25473a);const _0x44fc3a=_0x271cd9['get'](_0x3f67c9);if(_0x44fc3a&&_0x2a4c9e===_0x136a03[_0x454804(0x32b)][_0x454804(0x27b)]&&_0x44fc3a['n']){const {pattern:_0x433d59}=_0x44fc3a['n'];_0x2acfda[_0x433d59]||(_0x2acfda[_0x433d59]=_0x136a03[_0x454804(0x11e)][_0x454804(0x2b6)](_0x433d59));const _0x2aa05c=_0x2acfda[_0x433d59],_0xcc8ec2=_0x2aa05c[_0x454804(0x287)];if(_0x2aa05c[_0x454804(0xce)])return String(_0x25d4d0);if(_0xcc8ec2)return{'v':_0x25d4d0,'f':_0x433d59};}if(_0x2a4c9e===_0x136a03[_0x454804(0x32b)]['NUMBER'])return Number(_0x25d4d0);if(_0x2a4c9e===_0x136a03[_0x454804(0x32b)]['STRING']||_0x2a4c9e===_0x136a03['CellValueType'][_0x454804(0x8a)])return String(_0x25d4d0);if(_0x2a4c9e===void 0x0){const _0x2d5eb8=Number(_0x25d4d0);if(!Number[_0x454804(0xb1)](_0x2d5eb8)&&String(_0x2d5eb8)===_0x25d4d0)return _0x2d5eb8;}return _0x25d4d0!=null?_0x25d4d0:null;}else return null;}[_0x4ff3ff(0x379)](_0xeb2c06){const _0x2f0f8e=_0x4ff3ff,{sheetName:_0x3acf91,range:_0x3d178f,unitId:_0x21b801}=_0xeb2c06,_0x451fad=this[_0x2f0f8e(0x317)][_0x2f0f8e(0x229)](_0x21b801);if(!_0x451fad)return console[_0x2f0f8e(0xa6)](_0x2f0f8e(0x87)),{'header':[],'data':[]};const _0x3875e5=_0x451fad[_0x2f0f8e(0x2b3)](_0x3acf91),_0x149050=_0x3875e5[_0x2f0f8e(0x24f)](),{startRow:_0x5d7ad2,startColumn:_0x27aa3a,endRow:_0x3df981,endColumn:_0x4427a2}=this[_0x2f0f8e(0x192)](_0x3d178f,_0x3875e5),_0x43f605=_0x451fad[_0x2f0f8e(0x2a5)](),_0x515c90=[],_0x527a99=[],_0x46b7da={};for(let _0x4081de=_0x5d7ad2;_0x4081de<=_0x3df981;_0x4081de++){const _0x5ac761=[];for(let _0x488061=_0x27aa3a;_0x488061<=_0x4427a2;_0x488061++){const _0x5ce045=_0x149050['getValue'](_0x4081de,_0x488061);_0x4081de===_0x5d7ad2?_0x515c90['push'](_0x5ce045==null?null:String(_0x5ce045['v'])):_0x5ac761[_0x2f0f8e(0xda)](this[_0x2f0f8e(0x1eb)](_0x5ce045,_0x43f605,_0x46b7da));}_0x527a99[_0x2f0f8e(0xda)](_0x5ac761);}return{'header':_0x515c90,'data':_0x527a99};}['toJSON'](){const _0xfabe9c=_0x4ff3ff;return super[_0xfabe9c(0x19f)]();}[_0x4ff3ff(0x24b)](_0x349470){const _0x115025=_0x4ff3ff;super[_0x115025(0x24b)](_0x349470),this[_0x115025(0x37b)]();}[_0x4ff3ff(0x23b)](){const _0x13dba0=_0x4ff3ff;super[_0x13dba0(0x23b)](),this[_0x13dba0(0xd3)]={},this[_0x13dba0(0x8e)]=null;}}const _0x1c2c45=_0x52b7b4=>{const _0x1229b9=_0x4ff3ff,{targetCellInfo:_0x5eafe3}=_0x52b7b4,{matrixCache:_0x293f31,rangesCache:_0x3ea901}=_0x3932c7({'filter':_0x1229b9(0x12c),'row':'Row','column':'Column','values':_0x1229b9(0x148)},_0x5eafe3),_0x479cea=new _0x136a03[(_0x1229b9(0xfd))]();return _0x293f31[_0x1229b9(0x171)]((_0x47dba0,_0x1b624f,_0x1b6fa8)=>{_0x479cea['setValue'](_0x47dba0,_0x1b624f,_0x1b6fa8);}),{'matrix':_0x479cea,'rangesCache':_0x3ea901};},_0x4806c0=_0x3adb15=>{const _0xeceb2f=_0x4ff3ff;let _0x343552;if(_0x3adb15!=null&&_0x3adb15['v']||(_0x3adb15==null?void 0x0:_0x3adb15['v'])===0x0){_0x343552||(_0x343552={});const _0x2a1d7a=_0x5942aa(_0x3adb15['v']);typeof _0x2a1d7a==_0xeceb2f(0x14d)?_0x343552['t']=_0x136a03[_0xeceb2f(0x32b)][_0xeceb2f(0x27b)]:typeof _0x2a1d7a=='string'&&(_0x343552['t']=_0x136a03[_0xeceb2f(0x32b)][_0xeceb2f(0x239)]),_0x343552['v']=_0x2a1d7a;}return _0x343552;},_0x4454a1=(_0x20350e,_0x2bb281,_0x3fb39f)=>{const _0x1065d0=_0x4ff3ff;var _0x55cd59,_0xe204d9,_0x317ec8,_0x2e89a9,_0x4dc2ea,_0x3781c3,_0x1895f6,_0x72cc1d,_0x437110,_0x4fb4f4,_0xf69a34,_0x4c4e03;const {cornerView:_0x154976,rowView:_0x4e154a,colView:_0x3525aa,dataView:_0x4221f0,pageView:_0xaeb9d3,formatMap:_0x575e96}=_0x20350e,{row:_0x3dbb5b,col:_0x4f3649}=_0x2bb281,_0x3a3d11=new _0x136a03['ObjectMatrix']();let _0x4d151f=_0x3dbb5b,_0x3ba980=_0x4f3649;Object[_0x1065d0(0x255)](_0xaeb9d3[_0x1065d0(0x2b0)])[_0x1065d0(0x1ed)](_0x38e895=>{const _0x3d7d10=_0x1065d0;Object[_0x3d7d10(0x255)](_0xaeb9d3[_0x3d7d10(0x2b0)][Number(_0x38e895)])[_0x3d7d10(0x1ed)](_0x23529c=>{const _0x4145b1=_0x3d7d10,_0x58e47f={..._0xaeb9d3[_0x4145b1(0x2b0)][Number(_0x38e895)][Number(_0x23529c)]};_0x3a3d11[_0x4145b1(0x1fd)](Number(_0x38e895)+_0x4d151f,Number(_0x23529c)+_0x3ba980,_0x4806c0(_0x58e47f));});});const _0x12326c=Object['keys'](_0xaeb9d3['data'])[_0x1065d0(0x1ae)];_0x4d151f+=_0x12326c+(_0x12326c?_0x2fd7f7:0x0);const _0x408a00=_0x154976[_0x1065d0(0x322)](),_0x22d7aa=_0x154976[_0x1065d0(0x13c)]();for(let _0x274e2a=0x0;_0x274e2a<_0x408a00;_0x274e2a++)for(let _0x1e1195=0x0;_0x1e1195<_0x22d7aa;_0x1e1195++){const _0x191b33={...(_0xe204d9=(_0x55cd59=_0x154976[_0x1065d0(0x2b0)])==null?void 0x0:_0x55cd59[_0x274e2a])==null?void 0x0:_0xe204d9[_0x1e1195]};_0x191b33&&((_0x317ec8=_0x4e154a[_0x1065d0(0x185)][_0x1e1195])!=null&&_0x317ec8[_0x1065d0(0x2e7)])&&_0x1e1195===_0x22d7aa-0x1&&_0x274e2a===_0x408a00-0x1&&(_0x191b33['v']=''+_0x3fb39f[_0x1065d0(0x21f)]),_0x3a3d11[_0x1065d0(0x1fd)](_0x274e2a+_0x4d151f,_0x1e1195+_0x3ba980,_0x4806c0(_0x191b33));}_0x3ba980+=_0x22d7aa;const _0x7eeb09=_0x3525aa[_0x1065d0(0x185)],_0x5628df=_0x3525aa[_0x1065d0(0x200)]()>=0x0?_0x3525aa[_0x1065d0(0x200)]()+0x1:0x0,_0x29f60b=_0x3525aa[_0x1065d0(0x1e0)]()>=0x0?_0x3525aa[_0x1065d0(0x1e0)]()+0x1:0x0;for(let _0x46c3e1=0x0;_0x46c3e1<_0x29f60b;_0x46c3e1++)for(let _0x7e3f6c=0x0;_0x7e3f6c<_0x5628df;_0x7e3f6c++){const _0x112f45={...(_0x4dc2ea=(_0x2e89a9=_0x3525aa[_0x1065d0(0x2b0)])==null?void 0x0:_0x2e89a9[_0x46c3e1])==null?void 0x0:_0x4dc2ea[_0x7e3f6c]},_0x5045d5=(_0x3781c3=_0x7eeb09[_0x46c3e1])==null?void 0x0:_0x3781c3[_0x1065d0(0xa1)],_0x40b136=_0x575e96[_0x5045d5];_0x112f45&&(_0x112f45['v']=_0x25418d(_0x112f45,_0x46c3e1===0x0&&((_0x1895f6=_0x3525aa[_0x1065d0(0x20c)](_0x7e3f6c+0x1))==null?void 0x0:_0x1895f6[_0x1065d0(0x2e7)]),_0x40b136,_0x3fb39f)),_0x3a3d11['setValue'](_0x46c3e1+_0x4d151f,_0x7e3f6c+_0x3ba980,_0x4806c0(_0x112f45));}_0x4d151f+=_0x408a00;const _0x3f859c=_0x4e154a[_0x1065d0(0x185)],_0x5ca70b=_0x4e154a['getLastRow']()>=0x0?_0x4e154a[_0x1065d0(0x200)]()+0x1:0x0,_0x41cea3=_0x4e154a[_0x1065d0(0x1e0)]()>=0x0?_0x4e154a['getLastCol']()+0x1:0x0;for(let _0x3879bd=0x0;_0x3879bd<_0x5ca70b;_0x3879bd++)for(let _0x3dc6b6=0x0;_0x3dc6b6<_0x41cea3;_0x3dc6b6++){const _0x5b576e={...(_0x437110=(_0x72cc1d=_0x4e154a['data'])==null?void 0x0:_0x72cc1d[_0x3879bd])==null?void 0x0:_0x437110[_0x3dc6b6]},_0x7ba68b=(_0x4fb4f4=_0x3f859c[_0x3dc6b6])==null?void 0x0:_0x4fb4f4[_0x1065d0(0xa1)],_0xbd2c9=_0x575e96[_0x7ba68b];_0x5b576e&&(_0x5b576e['v']=_0x25418d(_0x5b576e,!0x1,_0xbd2c9,_0x3fb39f)),_0x3a3d11['setValue'](_0x3879bd+_0x4d151f,_0x3dc6b6+_0x4f3649,_0x4806c0(_0x5b576e));}const _0x3f0064=_0x4221f0[_0x1065d0(0x322)](),_0x231d99=_0x4221f0['getColCount']();for(let _0xf2fd92=0x0;_0xf2fd92<_0x3f0064;_0xf2fd92++)for(let _0xf3473c=0x0;_0xf3473c<_0x231d99;_0xf3473c++){const _0x13d80c={...(_0x4c4e03=(_0xf69a34=_0x4221f0[_0x1065d0(0x2b0)])==null?void 0x0:_0xf69a34[_0xf2fd92])==null?void 0x0:_0x4c4e03[_0xf3473c]};_0x3a3d11[_0x1065d0(0x1fd)](_0xf2fd92+_0x4d151f,_0xf3473c+_0x3ba980,_0x4806c0(_0x13d80c));}return _0x3a3d11;},_0x26861b=_0x1289eb=>{const _0x39a3f5=_0x4ff3ff,{view:_0x36c58d,targetCellInfo:_0x15ad9e,isEmpty:_0x385135,textInfo:_0x19cc8e}=_0x1289eb;if(_0x385135)return _0x1c2c45(_0x1289eb);const {pageView:_0x55dcbf,cornerView:_0x440e8f,rowView:_0x36d9d6,colView:_0x5921d3,dataView:_0x51cab}=_0x36c58d,_0x6aa425=_0x50f2e9(_0x15ad9e,_0x55dcbf,!0x0),_0x3eb832=_0x55dcbf[_0x39a3f5(0x366)]>=0x0?_0x55dcbf[_0x39a3f5(0x366)]+0x1:0x0,_0x38f15c=_0x440e8f[_0x39a3f5(0x322)](),_0x1a3dc4=_0x440e8f[_0x39a3f5(0x13c)](),_0x220b15=_0x6aa425['length']>0x0?_0x2fd7f7:0x0,_0x1ad4fd=_0x50f2e9({'row':_0x15ad9e[_0x39a3f5(0x327)]+_0x3eb832+_0x220b15,'col':_0x15ad9e['col']},_0x440e8f,!0x1,!0x1),_0x3dc844=_0x50f2e9({'row':_0x15ad9e[_0x39a3f5(0x327)]+_0x3eb832+_0x220b15+_0x38f15c,'col':_0x15ad9e[_0x39a3f5(0xed)]},_0x36d9d6,!0x1,!0x0),_0x25618f=_0x50f2e9({'row':_0x15ad9e[_0x39a3f5(0x327)]+_0x3eb832+_0x220b15,'col':_0x15ad9e[_0x39a3f5(0xed)]+_0x1a3dc4},_0x5921d3,!0x1,!0x0),_0x4a0412=_0x50f2e9({'row':_0x15ad9e[_0x39a3f5(0x327)]+_0x3eb832+_0x220b15+_0x38f15c,'col':_0x15ad9e[_0x39a3f5(0xed)]+_0x1a3dc4},_0x51cab,!0x1,!0x1),_0x1ded57={'rowRanges':_0x3dc844,'colRanges':_0x25618f,'cornerRanges':_0x1ad4fd,'dataRanges':_0x4a0412,'pageRanges':_0x6aa425};return{'matrix':_0x4454a1(_0x36c58d,_0x15ad9e,_0x19cc8e),'rangesCache':_0x1ded57};};var _0xaf6b96=Object[_0x4ff3ff(0xba)],_0x55fd76=(_0x21c73d,_0x255cb3,_0x4cad7b,_0x174f55)=>{const _0x1b49a1=_0x4ff3ff;for(var _0x581c96=_0x174f55>0x1?void 0x0:_0x174f55?_0xaf6b96(_0x255cb3,_0x4cad7b):_0x255cb3,_0xd62f23=_0x21c73d[_0x1b49a1(0x1ae)]-0x1,_0x3277ed;_0xd62f23>=0x0;_0xd62f23--)(_0x3277ed=_0x21c73d[_0xd62f23])&&(_0x581c96=_0x3277ed(_0x581c96)||_0x581c96);return _0x581c96;},_0x2e088c=(_0x2b14d2,_0x3f2aa8)=>(_0x71786f,_0x214285)=>_0x3f2aa8(_0x71786f,_0x214285,_0x2b14d2);_0x488dae[_0x4ff3ff(0x16d)]=class extends _0x136a03[_0x4ff3ff(0x101)]{constructor(_0x41a992,_0x41f5af,_0x5e0e21,_0x44b4e1,_0xea0cf4){const _0x313c80=_0x4ff3ff;super(),_0x4779db(this,_0x313c80(0x351),new Map()),_0x4779db(this,_0x313c80(0x19e),new Map()),_0x4779db(this,_0x313c80(0x1ca),new Map()),_0x4779db(this,_0x313c80(0x211)),_0x4779db(this,_0x313c80(0x20f),new _0x4d3cd2[(_0x313c80(0x1a6))]()),_0x4779db(this,_0x313c80(0xd6),this['_collectionChange$'][_0x313c80(0x370)]()),_0x4779db(this,_0x313c80(0xe8),new _0x4d3cd2[(_0x313c80(0x1a6))]()),_0x4779db(this,_0x313c80(0x21b),this[_0x313c80(0xe8)][_0x313c80(0x370)]()),_0x4779db(this,_0x313c80(0x78),new _0x4d3cd2[(_0x313c80(0x1a6))]()),_0x4779db(this,_0x313c80(0x319),this[_0x313c80(0x78)][_0x313c80(0x370)]()),_0x4779db(this,'_dataFieldManagerCollection',new Map()),_0x4779db(this,_0x313c80(0xd9),[]),_0x4779db(this,'_queryingMap',new Map()),(this[_0x313c80(0x17c)]=_0x41a992,this[_0x313c80(0x317)]=_0x41f5af,this[_0x313c80(0x311)]=_0x5e0e21,this[_0x313c80(0x1ff)]=_0x44b4e1,this[_0x313c80(0x168)]=_0xea0cf4,this[_0x313c80(0x21e)]());}[_0x4ff3ff(0x326)](){const _0x3643ed=_0x4ff3ff;return this[_0x3643ed(0x211)]?this[_0x3643ed(0x211)]:_0x4a7d2;}[_0x4ff3ff(0x1ab)](_0x4e4c32){const _0x21e072=_0x4ff3ff;this[_0x21e072(0x211)]=_0x4e4c32;}[_0x4ff3ff(0x114)](_0x554c25){const _0xa6ab54=_0x4ff3ff;var _0x26f0b7;const {from:_0x3477be,to:_0x4df575,unitId:_0x5e0cc5,fromRange:_0x335641,toRange:_0x3a9c84}=_0x554c25;if(_0x3477be&&_0x4df575){const _0x23f1f4=this[_0xa6ab54(0x28c)](_0x5e0cc5),_0x52e21a=this['_model'][_0xa6ab54(0x34e)](_0x5e0cc5),_0x425754=(_0x26f0b7=this[_0xa6ab54(0x317)]['getUnit'](_0x5e0cc5))==null?void 0x0:_0x26f0b7[_0xa6ab54(0x6d)](_0x4df575[_0xa6ab54(0x1d4)]);if(!_0x52e21a||!_0x425754)return;const _0x1164fa=_0x425754==null?void 0x0:_0x425754[_0xa6ab54(0x2db)]();for(const [_0x5a6aa8,_0x386a72]of _0x52e21a[_0xa6ab54(0x341)]())for(const [_0x41f6c4,_0x4c4ab4]of _0x386a72[_0xa6ab54(0x341)]()){const {sourceRangeInfo:_0x25c433}=_0x4c4ab4;if(_0x25c433['unitId']===_0x5e0cc5&&_0x25c433[_0xa6ab54(0x1d4)]===_0x3477be[_0xa6ab54(0x1d4)]&&_0x136a03['Rectangle'][_0xa6ab54(0x8c)](_0x335641,_0x25c433[_0xa6ab54(0x1fe)])){const _0x14276e={'row':_0x25c433[_0xa6ab54(0x1fe)][_0xa6ab54(0x100)]-_0x335641[_0xa6ab54(0x100)],'col':_0x25c433[_0xa6ab54(0x1fe)][_0xa6ab54(0x2fd)]-_0x335641[_0xa6ab54(0x2fd)]},_0x2543b8={'unitId':_0x5e0cc5,'subUnitId':_0x4df575[_0xa6ab54(0x1d4)],'sheetName':_0x1164fa,'range':{'startRow':_0x3a9c84[_0xa6ab54(0x100)]+_0x14276e[_0xa6ab54(0x327)],'endRow':_0x3a9c84[_0xa6ab54(0x100)]+_0x14276e['row']+_0x25c433[_0xa6ab54(0x1fe)][_0xa6ab54(0x27a)]-_0x25c433['range'][_0xa6ab54(0x100)],'startColumn':_0x3a9c84[_0xa6ab54(0x2fd)]+_0x14276e['col'],'endColumn':_0x3a9c84[_0xa6ab54(0x2fd)]+_0x14276e[_0xa6ab54(0xed)]+_0x25c433[_0xa6ab54(0x1fe)][_0xa6ab54(0x304)]-_0x25c433[_0xa6ab54(0x1fe)][_0xa6ab54(0x2fd)]}};_0x23f1f4['handleMoveRange'](_0x41f6c4,_0x2543b8);const _0x113900={..._0x4c4ab4,'sourceRangeInfo':_0x2543b8};this[_0xa6ab54(0x111)](_0x5e0cc5,_0x4df575[_0xa6ab54(0x1d4)],_0x41f6c4,_0x113900),this[_0xa6ab54(0x1f5)]({'unitId':_0x5e0cc5,'token':_0x41f6c4,'type':_0x33fa65[_0xa6ab54(0x1e4)],'oldSourceRangeInfo':_0x25c433,'dataRangeInfo':_0x2543b8,'targetCellInfo':_0x4c4ab4[_0xa6ab54(0x271)]}),this[_0xa6ab54(0xca)]({'unitId':_0x5e0cc5,'subUnitId':_0x4df575[_0xa6ab54(0x1d4)],'oldSubUnitId':_0x5a6aa8,'pivotTableId':_0x41f6c4,'pivotTableConfig':_0x113900,'collectionConfig':_0x23f1f4[_0xa6ab54(0x19f)]()});}}}}[_0x4ff3ff(0x1f5)](_0x35f114){const _0x5431e1=_0x4ff3ff;this[_0x5431e1(0x20f)]['next'](_0x35f114);}[_0x4ff3ff(0x28c)](_0x1cebda){const _0x264b33=_0x4ff3ff;let _0x2054a2=this[_0x264b33(0x1cc)][_0x264b33(0x34e)](_0x1cebda);return _0x2054a2||(_0x2054a2=new _0x4a251f(this,this[_0x264b33(0x317)]),this[_0x264b33(0x1cc)][_0x264b33(0xa4)](_0x1cebda,_0x2054a2)),_0x2054a2;}[_0x4ff3ff(0x139)](_0x3ed96e,_0x5c9d8a){const _0x16795d=_0x4ff3ff;return this['getDataFieldManager'](_0x3ed96e)[_0x16795d(0x152)][_0x5c9d8a];}[_0x4ff3ff(0x376)](_0x16225f,_0x51c166,_0x3a647b){const _0x79a60b=_0x4ff3ff;return this[_0x79a60b(0x28c)](_0x16225f)[_0x79a60b(0x376)](_0x51c166,_0x3a647b);}[_0x4ff3ff(0x1b7)](_0x1e7893,_0x1d78c8){const _0x28cd5f=_0x4ff3ff;let _0x2a73c9=this[_0x28cd5f(0x351)][_0x28cd5f(0x34e)](_0x1e7893);_0x2a73c9||(_0x2a73c9=new Map(),this['_model'][_0x28cd5f(0xa4)](_0x1e7893,_0x2a73c9));let _0x58ce97=_0x2a73c9[_0x28cd5f(0x34e)](_0x1d78c8);return _0x58ce97||(_0x58ce97=new Map(),_0x2a73c9[_0x28cd5f(0xa4)](_0x1d78c8,_0x58ce97)),_0x58ce97;}[_0x4ff3ff(0x111)](_0x19900f,_0x31c3fc,_0x2339be,_0x134f68){const _0x1373a3=_0x4ff3ff;this[_0x1373a3(0x1b7)](_0x19900f,_0x31c3fc)[_0x1373a3(0xa4)](_0x2339be,_0x134f68);}[_0x4ff3ff(0x123)](_0x292c74,_0x464a24,_0x4f4dda){const _0x29853c=_0x4ff3ff;var _0x5d3ad4,_0x3fc7d5,_0x507560,_0x574895;((_0x3fc7d5=(_0x5d3ad4=this[_0x29853c(0x351)]['get'](_0x292c74))==null?void 0x0:_0x5d3ad4['get'](_0x464a24))==null?void 0x0:_0x3fc7d5[_0x29853c(0x34e)](_0x4f4dda))&&((_0x574895=(_0x507560=this[_0x29853c(0x351)][_0x29853c(0x34e)](_0x292c74))==null?void 0x0:_0x507560['get'](_0x464a24))==null||_0x574895['delete'](_0x4f4dda));}[_0x4ff3ff(0x15f)](_0x537d18,_0x3c9043){const _0x1a1bd9=_0x4ff3ff;this[_0x1a1bd9(0x19e)][_0x1a1bd9(0xa4)](_0x537d18,_0x3c9043);}['_deletePivotTableInstanceCache'](_0x449eac){const _0x4b3cf7=_0x4ff3ff;this[_0x4b3cf7(0x19e)][_0x4b3cf7(0x1db)](_0x449eac);}[_0x4ff3ff(0x85)](_0x32c64d,_0x59d5c6){const _0x4f8ef3=_0x4ff3ff;let _0x23a45d=this[_0x4f8ef3(0x1ca)]['get'](_0x32c64d);_0x23a45d||(_0x23a45d=new Map(),this[_0x4f8ef3(0x1ca)][_0x4f8ef3(0xa4)](_0x32c64d,_0x23a45d));let _0xcfe640=_0x23a45d['get'](_0x59d5c6);return _0xcfe640||(_0xcfe640=new Map(),_0x23a45d[_0x4f8ef3(0xa4)](_0x59d5c6,_0xcfe640)),_0xcfe640;}['updateConfig'](_0x11210c){const _0x4284a1=_0x4ff3ff,{unitId:_0x2bbb17,subUnitId:_0x458241,pivotTableId:_0x40c77c,pivotTableConfig:_0x256e41,collectionConfig:_0xb86b9c}=_0x11210c,_0x17635a={'unitId':_0x2bbb17,'subUnitId':_0x458241,'oldSubUnitId':_0x458241,'pivotTableId':_0x40c77c,'pivotTableConfig':_0x256e41,'collectionConfig':_0xb86b9c};this[_0x4284a1(0x1ff)][_0x4284a1(0x2c6)](_0x278df3['id'],_0x17635a,{'onlyLocal':!0x0});}[_0x4ff3ff(0x8d)](_0x558d39,_0x37c748,_0x39a52a,_0x219b26,_0x4cfaa1,_0x48e6fc,_0xb95f25,_0x79ca41=!0x1){const _0x3b41a7=_0x4ff3ff;var _0x5af693;this['_commandService'][_0x3b41a7(0x2c6)](_0xb34b97['id'],{'single':{'unitId':_0x558d39,'subUnitId':_0x37c748,'type':_0x39a52a,'pivotTableId':_0x219b26,'view':_0x4cfaa1,'pivotConfig':_0x48e6fc},'collectionConfig':{[_0x558d39]:_0xb95f25}},{'onlyLocal':!0x0});const _0x1f6099=!!((_0x5af693=this[_0x3b41a7(0xbd)](_0x219b26))!=null&&_0x5af693[_0x3b41a7(0x314)]()),_0x50acc4=this[_0x3b41a7(0x12e)](_0x558d39,_0x37c748,_0x219b26);_0x50acc4&&this['updateViewData']({'view':_0x4cfaa1,'pivotTableId':_0x219b26,'textInfo':this[_0x3b41a7(0x326)](),'isEmpty':_0x1f6099,'targetCellInfo':_0x50acc4[_0x3b41a7(0x271)]},_0x79ca41);}[_0x4ff3ff(0x2d3)](_0x537177,_0x52b47d){const _0x1cb469=_0x4ff3ff,{targetCellInfo:_0x252bfd,pivotTableId:_0xfa8e0b}=_0x537177,{unitId:_0x4ef06a,subUnitId:_0xe92304}=_0x252bfd,_0x450e2f=this[_0x1cb469(0x85)](_0x4ef06a,_0xe92304),_0x4192d6=_0x450e2f[_0x1cb469(0x34e)](_0xfa8e0b);let _0x3d07a7,_0x52db0d;_0x4192d6&&(_0x3d07a7=_0x4192d6['rangeCache'],_0x52db0d=_0x4192d6[_0x1cb469(0x2ad)]);const {rangesCache:_0x401b5b,matrix:_0x34107f}=_0x26861b(_0x537177);_0x450e2f[_0x1cb469(0xa4)](_0xfa8e0b,{'rangeCache':_0x401b5b,'matrix':_0x34107f,'oldMatrix':_0x52db0d,'oldRangeCache':_0x3d07a7}),_0x52b47d||this[_0x1cb469(0xe8)][_0x1cb469(0x236)]({'unitId':_0x4ef06a,'subUnitId':_0xe92304,'pivotTableId':_0xfa8e0b});}[_0x4ff3ff(0xa2)](_0x289053,_0x293502,_0x5c808,_0xcdcbfb,_0x4e9642){const _0x275877=_0x4ff3ff;this['_updateModelCache'](_0x289053,_0x293502,_0x5c808,_0x4e9642),this[_0x275877(0x15f)](_0x5c808,_0xcdcbfb);}['removePivotTable'](_0x18be02,_0x14d6fe,_0x1642d7){const _0x148449=_0x4ff3ff,_0x1c2368=this[_0x148449(0x28c)](_0x18be02);_0x1c2368['getNoUsedDataFieldIds'](_0x1642d7)['forEach'](_0x4fcd70=>{const _0x54d206=_0x148449;_0x1c2368[_0x54d206(0x336)](_0x4fcd70);}),this[_0x148449(0xd2)](_0x18be02,_0x1642d7),this['_deleteModelCache'](_0x18be02,_0x14d6fe,_0x1642d7),this[_0x148449(0x1dc)](_0x1642d7);}[_0x4ff3ff(0x231)](_0x348de8,_0x2565da,_0x8c9151,_0x17031e){const _0x32683=_0x4ff3ff;this[_0x32683(0x111)](_0x348de8,_0x2565da,_0x8c9151,_0x17031e);}[_0x4ff3ff(0x12e)](_0x118f39,_0x38b6f9,_0x4f4eaa){const _0x418a03=_0x4ff3ff;var _0x252e5f,_0x1e71aa;const _0x103876=(_0x1e71aa=(_0x252e5f=this[_0x418a03(0x351)][_0x418a03(0x34e)](_0x118f39))==null?void 0x0:_0x252e5f[_0x418a03(0x34e)](_0x38b6f9))==null?void 0x0:_0x1e71aa[_0x418a03(0x34e)](_0x4f4eaa);if(_0x103876)return _0x103876;}[_0x4ff3ff(0x301)](_0x23b393,_0x47ab02,_0x290b89){const _0x3d7e65=_0x4ff3ff;var _0x33577e,_0x4ba86b;const _0x3297a7=(_0x4ba86b=(_0x33577e=this[_0x3d7e65(0x351)][_0x3d7e65(0x34e)](_0x23b393))==null?void 0x0:_0x33577e['get'](_0x47ab02))==null?void 0x0:_0x4ba86b[_0x3d7e65(0x34e)](_0x290b89);if(_0x3297a7)return _0x3297a7['fieldsConfig'];}[_0x4ff3ff(0xbd)](_0x4cfb56){const _0x595153=_0x4ff3ff;return this[_0x595153(0x19e)]['get'](_0x4cfb56);}[_0x4ff3ff(0x201)](_0x2ba080){const _0x154187=_0x4ff3ff;this['_model'][_0x154187(0x1db)](_0x2ba080);const _0x1be894=this['_dataFieldManagerCollection'][_0x154187(0x34e)](_0x2ba080);_0x1be894&&(_0x1be894['dispose'](),this[_0x154187(0x1cc)][_0x154187(0x1db)](_0x2ba080)),this['_viewData'][_0x154187(0x1db)](_0x2ba080),this[_0x154187(0xd9)][_0x154187(0x1ed)](_0x396579=>{const _0x74c5db=_0x154187;_0x396579[_0x74c5db(0x201)](_0x2ba080);});}['addCollectionByJSON'](_0x39408c,_0xf09aa5,_0x58be53,_0x4b9a49){return this['getDataFieldManager'](_0x58be53['unitId'])['addCollectionByJSON'](_0x39408c,_0xf09aa5,_0x58be53,_0x4b9a49);}[_0x4ff3ff(0x28f)](_0x19ea73){const _0x5efa9b=_0x4ff3ff;return this[_0x5efa9b(0x28c)](_0x19ea73['unitId'])[_0x5efa9b(0x28f)](_0x19ea73);}[_0x4ff3ff(0x82)](_0x401a55,_0x10ffab,_0xe5585a){const _0x1c80a2=_0x4ff3ff;this[_0x1c80a2(0x28c)](_0xe5585a['unitId'])['refreshData'](_0x401a55,_0x10ffab,_0xe5585a);}['removeDataField'](_0x4a5e1c,_0x28b915){const _0x313116=_0x4ff3ff;this[_0x313116(0x28c)](_0x4a5e1c)[_0x313116(0x336)](_0x28b915);}[_0x4ff3ff(0xd2)](_0x23015e,_0x31f8f4){const _0x4f16da=_0x4ff3ff;this[_0x4f16da(0x28c)](_0x23015e)[_0x4f16da(0xfc)](_0x31f8f4);}[_0x4ff3ff(0x2a8)](_0x56f76c,_0x1138e9){const _0x29b564=_0x4ff3ff;var _0x387c0b;return(_0x387c0b=this[_0x29b564(0x351)][_0x29b564(0x34e)](_0x56f76c))==null?void 0x0:_0x387c0b[_0x29b564(0x34e)](_0x1138e9);}['getTargetByPivotId'](_0x22c142){const _0xbb3d49=_0x4ff3ff;for(const [_0x3f8bb7,_0x10500b]of this['_model'][_0xbb3d49(0x341)]())for(const [_0x3c2123,_0x1b41b3]of _0x10500b[_0xbb3d49(0x341)]())if(_0x1b41b3[_0xbb3d49(0x1ef)](_0x22c142))return{'unitId':_0x3f8bb7,'subUnitId':_0x3c2123};return null;}[_0x4ff3ff(0x240)](_0x4b4227,_0x23f480,_0x46879a,_0x58701a){const _0x4e0491=_0x4ff3ff,_0x4ef785=this[_0x4e0491(0x85)](_0x4b4227,_0x23f480);_0x58701a?_0x4ef785['set'](_0x46879a,_0x58701a):_0x4ef785['delete'](_0x46879a),this[_0x4e0491(0xe8)][_0x4e0491(0x236)]({'unitId':_0x4b4227,'subUnitId':_0x23f480,'pivotTableId':_0x46879a});}[_0x4ff3ff(0x23b)](){super['dispose']();}[_0x4ff3ff(0x1de)](_0x3279f9,_0x31a18c,_0x1e40d4){const _0x1ba65c=_0x4ff3ff;var _0x13205b,_0x1fac4f;const _0x2fdbf6=(_0x1fac4f=(_0x13205b=this[_0x1ba65c(0x1ca)]['get'](_0x3279f9))==null?void 0x0:_0x13205b[_0x1ba65c(0x34e)](_0x31a18c))==null?void 0x0:_0x1fac4f[_0x1ba65c(0x34e)](_0x1e40d4);return _0x2fdbf6||null;}[_0x4ff3ff(0x2a3)](_0x2a02d5){const _0x59fb49=_0x4ff3ff;this[_0x59fb49(0xaa)](_0x2a02d5);}[_0x4ff3ff(0xaa)](_0x42391e){const _0x52a869=_0x4ff3ff,{token:_0x4b5ba4,unitId:_0x578f9f,subUnitId:_0x42c807}=_0x42391e,_0x4167e5=_0x578f9f+'-'+_0x42c807+'-'+_0x4b5ba4;this[_0x52a869(0xd5)][_0x52a869(0x34e)](_0x4167e5)&&clearTimeout(this[_0x52a869(0xd5)][_0x52a869(0x34e)](_0x4167e5));const _0x2b9762=setTimeout(()=>{const _0x4df873=_0x52a869;this['queryDirtyPivotTable'](_0x42391e),this[_0x4df873(0xd5)][_0x4df873(0x1db)](_0x4167e5);},_0x6ee84b);this[_0x52a869(0xd5)][_0x52a869(0xa4)](_0x4167e5,_0x2b9762);}[_0x4ff3ff(0x2e3)](_0x2b4347){const _0x46086e=_0x4ff3ff,{unitId:_0x10f615,subUnitId:_0x5dab0,token:_0xc3437d,type:_0x306874,pivotConfig:_0x1c9381}=_0x2b4347,_0x31b98c=this[_0x46086e(0xbd)](_0xc3437d),_0x28dafa=_0x31b98c==null?void 0x0:_0x31b98c[_0x46086e(0x285)](),_0x406257=_0x1c9381!=null?_0x1c9381:this[_0x46086e(0x12e)](_0x10f615,_0x5dab0,_0xc3437d);_0x406257&&(_0x406257[_0x46086e(0x314)]=!!(_0x31b98c!=null&&_0x31b98c[_0x46086e(0x314)]())),(_0x28dafa||_0x306874===_0x39c7b1[_0x46086e(0x275)])&&this['updateView'](_0x10f615,_0x5dab0,_0x306874,_0xc3437d,_0x28dafa,_0x406257,this[_0x46086e(0x28c)](_0x10f615)[_0x46086e(0x19f)]());}[_0x4ff3ff(0x19f)](_0x4e3052){const _0x45c4b9=_0x4ff3ff,_0x2326fc={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x4e3052)&&(_0x2326fc[_0x45c4b9(0x121)][_0x4e3052]=this['getDataFieldManager'](_0x4e3052)[_0x45c4b9(0x19f)]()),this['_model'][_0x45c4b9(0x34e)](_0x4e3052)){_0x2326fc[_0x45c4b9(0x27d)][_0x4e3052]={};const _0x26b95d=this[_0x45c4b9(0x351)]['get'](_0x4e3052);_0x26b95d!=null&&_0x26b95d[_0x45c4b9(0x26f)]&&[..._0x26b95d[_0x45c4b9(0x255)]()][_0x45c4b9(0x1ed)](_0x4635e=>{const _0x3d6591=_0x45c4b9,_0x37e163=_0x26b95d[_0x3d6591(0x34e)](_0x4635e);_0x37e163!=null&&_0x37e163['size']&&(_0x2326fc[_0x3d6591(0x27d)][_0x4e3052][_0x4635e]={},[..._0x37e163[_0x3d6591(0x255)]()]['forEach'](_0x3ce322=>{const _0xfe747b=_0x3d6591,_0x3a9152=_0x37e163['get'](_0x3ce322);_0x3a9152&&(_0x2326fc[_0xfe747b(0x27d)][_0x4e3052][_0x4635e][_0x3ce322]=_0x3a9152);}));});}return _0x2326fc;}[_0x4ff3ff(0x24b)](_0x2a87e8){const _0x2aa37f=_0x4ff3ff;var _0x21b33a;const {dataFieldManagerConfig:_0x41cdb5,pivotTableConfigs:_0x6648df}=_0x2a87e8;_0x41cdb5&&Object[_0x2aa37f(0x255)](_0x41cdb5)[_0x2aa37f(0x1ed)](_0x11d798=>{const _0xf3554e=_0x2aa37f;this[_0xf3554e(0x28c)](_0x11d798)[_0xf3554e(0x24b)](_0x41cdb5[_0x11d798]);});const _0x4e6a4e=[];if(_0x6648df){const _0x58a96f=(_0x21b33a=this['_injector']['get'](_0x136a03[_0x2aa37f(0x25a)])['getConfig'](_0x3f0c04['LS_CONFIG_KEY']))!=null?_0x21b33a:{},{ls:_0x3be6b8,pbk:_0x179d48}=_0x58a96f,_0x4e6586=_0x3f7c6d(_0x2e79d7,_0x3be6b8,_0x179d48)[_0x2aa37f(0x2f7)];Object['keys'](_0x6648df)[_0x2aa37f(0x1ed)](_0x4aa325=>{const _0x5ad2c2=_0x2aa37f;let _0x57ba11=0x0;const _0xe0712=_0x6648df[_0x4aa325];Object[_0x5ad2c2(0x255)](_0xe0712)[_0x5ad2c2(0x1ed)](_0xa7a5dc=>{const _0xb4515a=_0x5ad2c2,_0x3ac73f=_0xe0712[_0xa7a5dc];Object[_0xb4515a(0x255)](_0x3ac73f)[_0xb4515a(0x1ed)](_0x14ca39=>{const _0xb5ba3c=_0xb4515a,_0x4f8ea3=_0x3ac73f[_0x14ca39];if(_0x4f8ea3){if(_0x57ba11>=_0x4e6586)return;_0x57ba11++;const _0x4e2176=this[_0xb5ba3c(0x28c)](_0x4aa325),_0x5167c0=_0x4e2176[_0xb5ba3c(0x152)][_0x14ca39],_0x125aee=_0x5167c0[_0xb5ba3c(0x136)]();let _0x584e6a=0x0;const _0x2d5a5b=[];for(const _0x38c6de of _0x125aee){const _0x551cb4=_0x5167c0[_0xb5ba3c(0x176)](_0x38c6de);if(_0x10f223[_0xb5ba3c(0x1d9)](_0x551cb4)){const _0x547950=_0x551cb4[_0xb5ba3c(0x116)](),_0x1ce381=_0x5167c0['getFieldById'](_0x547950);_0x1ce381&&_0x2d5a5b[_0xb5ba3c(0xda)]([_0x551cb4,_0x1ce381]);continue;}_0x4e2176['refreshDataField'](_0x38c6de,_0x4f8ea3[_0xb5ba3c(0x329)],_0x584e6a),_0x584e6a++;}_0x2d5a5b['forEach'](([_0x4e71be,_0x3d8c71])=>{const _0x45671c=_0xb5ba3c;_0x4e71be[_0x45671c(0x1b1)](_0x3d8c71);});const _0x2996f0=new _0x10f223['PivotTable'](_0x5167c0);_0x2996f0[_0xb5ba3c(0x24b)](_0x4f8ea3[_0xb5ba3c(0x237)]),this['addPivotTable'](_0x4aa325,_0xa7a5dc,_0x14ca39,_0x2996f0,_0x4f8ea3);const _0x459c20=_0x2996f0[_0xb5ba3c(0x285)]();_0x4e6a4e[_0xb5ba3c(0xda)]({'unitId':_0x4aa325,'subUnitId':_0xa7a5dc,'pivotTableId':_0x14ca39,'view':_0x459c20[_0xb5ba3c(0x19f)](),'pivotConfig':_0x4f8ea3,'type':_0x39c7b1['Add']});const _0x1efac2=!!_0x2996f0['isEmpty'](),_0x79d216={'view':_0x459c20,'pivotTableId':_0x14ca39,'textInfo':this[_0xb5ba3c(0x326)](),'isEmpty':_0x1efac2,'targetCellInfo':_0x4f8ea3[_0xb5ba3c(0x271)]};this[_0xb5ba3c(0x2d3)](_0x79d216,!0x1);}});});});}_0x41cdb5&&Object[_0x2aa37f(0x255)](_0x41cdb5)[_0x2aa37f(0x1ed)](_0x940de2=>{const _0x1d9dee=_0x2aa37f,_0x508a7e=this[_0x1d9dee(0x28c)](_0x940de2);this['_fieldsCollectionChange$'][_0x1d9dee(0x236)](_0x508a7e[_0x1d9dee(0x152)]);}),this[_0x2aa37f(0x1ff)]['executeCommand'](_0xb34b97['id'],{'batch':_0x4e6a4e,'collectionConfig':_0x41cdb5},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x252b58=_0x4ff3ff;this[_0x252b58(0x228)](this[_0x252b58(0x168)]['registerPluginResource']({'toJson':_0x4e762c=>JSON['stringify'](this['toJSON'](_0x4e762c)),'parseJson':_0x7ae164=>{if(!_0x7ae164)return{};try{return JSON['parse'](_0x7ae164);}catch{return{};}},'businesses':[_0x136a03[_0x252b58(0x170)][_0x252b58(0x22b)]],'pluginName':_0x1cd2aa,'onLoad':(_0x2a83ac,_0x1f56e4)=>{this['fromJSON'](_0x1f56e4);},'onUnLoad':_0x1231b9=>{const _0x355c90=_0x252b58;this[_0x355c90(0x201)](_0x1231b9);}}));}},_0x488dae[_0x4ff3ff(0x16d)]=_0x55fd76([_0x2e088c(0x0,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03['Injector'])),_0x2e088c(0x1,_0x136a03['IUniverInstanceService']),_0x2e088c(0x2,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x179)])),_0x2e088c(0x3,_0x136a03[_0x4ff3ff(0x13a)]),_0x2e088c(0x4,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x11c)]))],_0x488dae[_0x4ff3ff(0x16d)]);const _0x301814={0x0:{0x0:{'v':_0x4ff3ff(0xb3),'s':_0x2a750b}},0x2:{0x1:{'v':'','s':_0x2a750b},0x2:{'v':'','s':_0x2a750b},0x3:{'v':_0x4ff3ff(0x274),'s':_0x2a750b},0x4:{'v':'','s':_0x2a750b},0x5:{'v':'','s':_0x2a750b}},0x3:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0x4:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0x5:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0x6:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0x7:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0x8:{0x0:{'v':_0x4ff3ff(0x327),'s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':_0x4ff3ff(0x143),'s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0x9:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0xa:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0xb:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0xc:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0xd:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}}},_0x325ef4={'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':[]},_0x3932c7=(_0x455958,_0x4d92c8)=>{const _0x56af7d=_0x4ff3ff,_0x264719=new _0x136a03[(_0x56af7d(0xfd))](),_0x3a37b9=new _0x136a03[(_0x56af7d(0xfd))](_0x301814),{row:_0x4ea1dd,col:_0x489302}=_0x4d92c8;_0x3a37b9[_0x56af7d(0x171)]((_0x18b46a,_0x2b390d,_0x2047f3)=>{const _0x96b732=_0x56af7d;let _0xb12654='';_0x2047f3['v']===_0x96b732(0xb3)?_0xb12654=_0x455958[_0x96b732(0xb3)]:_0x2047f3['v']===_0x96b732(0x327)?_0xb12654=_0x455958[_0x96b732(0x327)]:_0x2047f3['v']==='column'?_0xb12654=_0x455958[_0x96b732(0x274)]:_0x2047f3['v']===_0x96b732(0x143)&&(_0xb12654=_0x455958['values']),_0x264719['setValue'](_0x18b46a+_0x4ea1dd,_0x2b390d+_0x489302,{..._0x2047f3,'v':_0xb12654});});const _0x1a0094=_0x136a03['Tools'][_0x56af7d(0x1fa)](_0x325ef4);return Object[_0x56af7d(0x255)](_0x325ef4)[_0x56af7d(0x1ed)](_0x5afb1d=>{const _0x5bf7ad=_0x56af7d;_0x1a0094[_0x5afb1d]=_0x325ef4[_0x5afb1d][_0x5bf7ad(0xa3)](_0x3b6771=>({..._0x3b6771,'startRow':_0x3b6771[_0x5bf7ad(0x100)]+_0x4ea1dd,'endRow':_0x3b6771[_0x5bf7ad(0x27a)]+_0x4ea1dd,'startColumn':_0x3b6771[_0x5bf7ad(0x2fd)]+_0x489302,'endColumn':_0x3b6771[_0x5bf7ad(0x304)]+_0x489302}));}),{'matrixCache':_0x264719,'rangesCache':_0x1a0094};};function _0x197ec3(_0x38cd53,_0x5c11e0){const _0x375221=_0x4ff3ff;let _0x8ca0ce='';const _0xb5b905=this['getTextInfo']();switch(_0x5c11e0){case _0x10f223['PivotSubtotalTypeEnum'][_0x375221(0x1c1)]:_0x8ca0ce=_0xb5b905['sheets-pivot.averageName']+_0x38cd53;break;case _0x10f223[_0x375221(0x1a8)][_0x375221(0x2f7)]:_0x8ca0ce=_0xb5b905[_0x375221(0x2bb)]+_0x38cd53;break;case _0x10f223[_0x375221(0x1a8)][_0x375221(0xeb)]:_0x8ca0ce=_0xb5b905[_0x375221(0x20a)]+_0x38cd53;break;case _0x10f223['PivotSubtotalTypeEnum'][_0x375221(0x352)]:_0x8ca0ce=_0xb5b905[_0x375221(0x372)]+_0x38cd53;break;case _0x10f223['PivotSubtotalTypeEnum'][_0x375221(0x96)]:_0x8ca0ce=_0xb5b905[_0x375221(0x26d)]+_0x38cd53;break;case _0x10f223['PivotSubtotalTypeEnum'][_0x375221(0x269)]:_0x8ca0ce=_0xb5b905[_0x375221(0x173)]+_0x38cd53;break;case _0x10f223[_0x375221(0x1a8)][_0x375221(0x169)]:_0x8ca0ce=_0xb5b905['sheets-pivot.stdDevName']+_0x38cd53;break;case _0x10f223[_0x375221(0x1a8)]['stdDevp']:_0x8ca0ce=_0xb5b905['sheets-pivot.stdDevpName']+_0x38cd53;break;case _0x10f223[_0x375221(0x1a8)]['sum']:_0x8ca0ce=_0xb5b905['sheets-pivot.sumName']+_0x38cd53;break;case _0x10f223['PivotSubtotalTypeEnum'][_0x375221(0x280)]:_0x8ca0ce=_0xb5b905[_0x375221(0x14e)]+_0x38cd53;break;case _0x10f223[_0x375221(0x1a8)][_0x375221(0x191)]:_0x8ca0ce=_0xb5b905[_0x375221(0x2fb)]+_0x38cd53;break;default:_0x8ca0ce=_0x38cd53;break;}return _0x8ca0ce;}function _0x3872a6(_0x4d4e70,_0x4cd004,_0xc3803a,_0x24bde7,_0x4d5062){const _0x5ea1d8=_0x4ff3ff;var _0x49f5f6,_0xcf6a6e,_0x233b0f,_0x470cc1,_0x76ee0e;const _0x57e70f=_0x136a03[_0x5ea1d8(0x350)](_0x4d4e70,_0x4cd004),{rangesInfo:_0x36aa72,areaInfo:_0x43e4ce,headerMap:_0x4111ad}=_0x4d5062;if(!_0x36aa72||!_0x43e4ce||!_0x4111ad)return;const _0x2b3ff4=Object[_0x5ea1d8(0x255)](_0x36aa72)[_0x5ea1d8(0xf0)](_0x8db462=>_0x36aa72[_0x8db462][_0x5ea1d8(0x1bb)](_0x2f61e3=>_0x136a03['Rectangle'][_0x5ea1d8(0x8c)](_0x2f61e3,_0x57e70f))),_0x1fa8de=_0x43e4ce;let _0x29c3a1,_0x44c5d6,_0x3ac895;if(_0x2b3ff4===_0x5ea1d8(0x11d))_0x29c3a1=(_0x49f5f6=_0x1fa8de==null?void 0x0:_0x1fa8de[_0x5ea1d8(0x20e)])==null?void 0x0:_0x49f5f6[_0x4d4e70],_0x44c5d6=(_0xcf6a6e=_0x4111ad==null?void 0x0:_0x4111ad[_0x5ea1d8(0x247)])==null?void 0x0:_0xcf6a6e[_0x4cd004],_0x3ac895=_0x44c5d6==null?void 0x0:_0x44c5d6[_0x5ea1d8(0xa1)];else{if(_0x2b3ff4===_0x5ea1d8(0x343))_0x29c3a1=(_0x233b0f=_0x1fa8de==null?void 0x0:_0x1fa8de[_0x5ea1d8(0x26b)])==null?void 0x0:_0x233b0f[_0x4cd004],_0x44c5d6=(_0x470cc1=_0x4111ad['colHeaderMap'])==null?void 0x0:_0x470cc1[_0x4d4e70+0x1+_0x4cd004-_0x36aa72[_0x5ea1d8(0x343)][0x0][_0x5ea1d8(0x2fd)]],_0x3ac895=_0x44c5d6==null?void 0x0:_0x44c5d6[_0x5ea1d8(0xa1)];else{if(_0x2b3ff4===_0x5ea1d8(0x17a))_0x29c3a1=(_0x76ee0e=_0x1fa8de==null?void 0x0:_0x1fa8de[_0x5ea1d8(0x7d)])==null?void 0x0:_0x76ee0e[_0x4cd004],_0x3ac895=_0x29c3a1==null?void 0x0:_0x29c3a1[_0x5ea1d8(0xa1)];else{if(_0x2b3ff4==='pageRanges'){const _0x4f64eb=_0xc3803a==null?void 0x0:_0xc3803a['fi'];_0x4f64eb!==void 0x0&&(_0x3ac895=_0x24bde7['getFilterFieldIdByIndex'](_0x4f64eb));}}}}return{'filterId':_0x3ac895,'info':_0x29c3a1,'data':_0xc3803a,'headerInfo':_0x44c5d6};}function _0xfefbb8(_0x29681a,_0x2385ac,_0x50ab26){const _0x4ba746=_0x4ff3ff,_0x1c6471=_0x29681a[_0x4ba746(0x24e)],_0x36fb2e=_0x1c6471[_0x4ba746(0x136)](),_0x42be57=new Set();_0x29681a[_0x4ba746(0x248)](_0x2508ba=>{_0x42be57['add'](_0x2508ba['dataFieldId']);});const _0x1a892f=_0x36fb2e['map'](_0x4c3be3=>{const _0x4c722f=_0x4ba746,_0xddf6f7=_0x1c6471[_0x4c722f(0x176)](_0x4c3be3);return{'checked':_0x42be57[_0x4c722f(0x1ef)](_0x4c3be3),'dataFieldId':_0xddf6f7['id'],'id':_0xddf6f7['id'],'name':_0x1c6471[_0x4c722f(0x2f5)](_0xddf6f7['id']),'type':_0xddf6f7[_0x4c722f(0x23d)](),'pivotTableId':_0x2385ac};}),_0x4c02a9=[];_0x29681a[_0x4ba746(0x2c3)](_0x10f223[_0x4ba746(0x325)][_0x4ba746(0x36f)],_0x4b429b=>{const _0x5ae927=_0x4ba746;_0x4c02a9['push']({'dataFieldId':_0x4b429b[_0x5ae927(0x22d)],'tableFieldId':_0x4b429b[_0x5ae927(0x1c5)](),'displayName':_0x4b429b[_0x5ae927(0x2f5)]()});});const _0x5d03e8=[];_0x29681a['iterateFieldByArea'](_0x10f223['PivotTableFiledAreaEnum']['Column'],_0x47dea6=>{const _0x421d09=_0x4ba746;_0x5d03e8['push']({'dataFieldId':_0x47dea6['dataFieldId'],'tableFieldId':_0x47dea6['getId'](),'displayName':_0x47dea6[_0x421d09(0x2f5)]()});});const _0x26c3be=[];if(_0x29681a[_0x4ba746(0x2c3)](_0x10f223[_0x4ba746(0x325)][_0x4ba746(0x27e)],_0xde04aa=>{const _0x510593=_0x4ba746;_0x26c3be[_0x510593(0xda)]({'dataFieldId':_0xde04aa[_0x510593(0x22d)],'tableFieldId':_0xde04aa['getId'](),'displayName':_0xde04aa[_0x510593(0x2f5)](),'format':_0xde04aa['getFormat'](),'subTotalType':_0xde04aa[_0x510593(0x13d)]()});}),_0x26c3be[_0x4ba746(0x1ae)]>0x1){const _0x1b02cc=_0x29681a[_0x4ba746(0x258)]();(_0x29681a['isColMultiMeasure']()?_0x5d03e8:_0x4c02a9)['splice'](_0x1b02cc,0x0,{'dataFieldId':'','tableFieldId':_0x4ba746(0x26a),'displayName':_0x4ba746(0x1c3)});}const _0x3ad0eb=[];_0x29681a[_0x4ba746(0x2c3)](_0x10f223['PivotTableFiledAreaEnum'][_0x4ba746(0x12c)],_0x68b561=>{const _0x1cecd9=_0x4ba746;_0x3ad0eb[_0x1cecd9(0xda)]({'dataFieldId':_0x68b561[_0x1cecd9(0x22d)],'tableFieldId':_0x68b561[_0x1cecd9(0x1c5)](),'displayName':_0x68b561[_0x1cecd9(0x2f5)]()});});const _0x43276d=_0x50ab26[_0x4ba746(0x329)];return{'sourceList':_0x1a892f,'sourceRange':_0x43276d,'rowFields':_0x4c02a9,'columnFields':_0x5d03e8,'valueFields':_0x26c3be,'filterFields':_0x3ad0eb,'positionInfo':_0x50ab26[_0x4ba746(0x271)]};}function _0x244586(_0xbfc175,_0x465ee0,_0x2f298b='',_0x4dcea9={}){const _0x3ed539=_0x4ff3ff,_0x53a661=_0xbfc175[_0x3ed539(0x34e)](_0x136a03[_0x3ed539(0xac)]);for(const _0x463027 in _0x465ee0)if(Object[_0x3ed539(0x137)][_0x3ed539(0x373)]['call'](_0x465ee0,_0x463027)){const _0xc02e38=_0x2f298b?_0x2f298b+'.'+_0x463027:_0x463027;typeof _0x465ee0[_0x463027]==_0x3ed539(0x134)&&_0x465ee0[_0x463027]!==null&&!Array[_0x3ed539(0x18a)](_0x465ee0[_0x463027])?_0x244586(_0xbfc175,_0x465ee0[_0x463027],_0xc02e38,_0x4dcea9):_0x4dcea9[_0xc02e38]=_0x53a661['t'](_0xc02e38);}return _0x4dcea9;}const _0x2a3c2e=_0x299f97=>{const _0x2f719d=_0x4ff3ff;if(!_0x299f97)return[];const {rowRanges:_0x2c2f01,colRanges:_0x4adbec,cornerRanges:_0x2e9d65,dataRanges:_0x370178,pageRanges:_0xbdb901}=_0x299f97,_0x50c103=[..._0x4adbec,..._0x2c2f01,..._0x370178,..._0x2e9d65][_0x2f719d(0xb3)](_0x353bf4=>_0x353bf4[_0x2f719d(0x100)]>=0x0&&_0x353bf4[_0x2f719d(0x2fd)]>=0x0&&_0x353bf4['endRow']>=0x0&&_0x353bf4[_0x2f719d(0x304)]>=0x0);let _0x1735ab=Number['MAX_SAFE_INTEGER'],_0x3d79d6=Number[_0x2f719d(0x25c)],_0x3d0280=Number[_0x2f719d(0x10d)],_0x4d534d=Number[_0x2f719d(0x25c)];for(let _0x5f5c53=0x0;_0x5f5c53<_0x50c103[_0x2f719d(0x1ae)];_0x5f5c53++)_0x1735ab=Math['min'](_0x1735ab,_0x50c103[_0x5f5c53][_0x2f719d(0x100)]),_0x3d79d6=Math[_0x2f719d(0x352)](_0x3d79d6,_0x50c103[_0x5f5c53][_0x2f719d(0x27a)]),_0x3d0280=Math['min'](_0x3d0280,_0x50c103[_0x5f5c53][_0x2f719d(0x2fd)]),_0x4d534d=Math['max'](_0x4d534d,_0x50c103[_0x5f5c53][_0x2f719d(0x304)]);return[..._0xbdb901,{'startRow':_0x1735ab,'endRow':_0x3d79d6,'startColumn':_0x3d0280,'endColumn':_0x4d534d}];};function _0x3e3f3b(_0xde5fad,_0x30cd54){const _0x59c3f4=_0x4ff3ff,_0xdab665=_0x30cd54[_0x59c3f4(0x221)]['drillDown'],{pivotTableId:_0x4271ee,unitId:_0x60b666,subUnitId:_0x5594fb}=_0x30cd54;if(!_0xdab665)return;const _0x587424=_0xde5fad[_0x59c3f4(0x34e)](_0x488dae[_0x59c3f4(0x16d)]),_0x2c1537=_0x587424['getPivotTableInstance'](_0x4271ee),_0x174084=_0x587424['getPivotTableConfig'](_0x60b666,_0x5594fb,_0x4271ee);if(!_0x2c1537||!_0x174084)return;const _0x15ce14=_0x2c1537[_0x59c3f4(0x1fc)](_0xdab665[_0x59c3f4(0x2d9)]);if(!(_0x15ce14!=null&&_0x15ce14[_0x59c3f4(0x1ae)]))return;const _0x186c75=_0x174084['sourceRangeInfo'],{unitId:_0x4457f0,subUnitId:_0x460ca9,range:_0x41e749}=_0x186c75;let _0x4af211=0x0;const _0xbe377f=_0x2c1537['dataFieldsCollection'][_0x59c3f4(0x136)]()[_0x59c3f4(0x194)]((_0x3dce02,_0x2f66ab)=>{const _0x1b5988=_0x59c3f4;var _0x5e4e6a;const _0x52170e=(_0x5e4e6a=_0x2c1537['getDataFieldByDataFieldId'](_0x2f66ab))==null?void 0x0:_0x5e4e6a[_0x1b5988(0x98)]();return _0x52170e&&(_0x3dce02[String(_0x4af211)]=_0x52170e),_0x4af211++,_0x3dce02;},{});return{'indexes':_0x15ce14,'range':_0x41e749,'sourceUnitId':_0x4457f0,'sourceSubUnitId':_0x460ca9,'formatMap':_0xbe377f};}function _0x2974b0(_0x582288,_0xc9db24){const _0x177207=_0x4ff3ff;if(!_0x582288||!_0xc9db24)return!0x0;const _0x554e79=_0x3f0c04[_0x177207(0x11a)](_0x45ffe5,_0x1a7eec),_0x143c67=new Function(_0x177207(0x140)+_0x554e79)()(_0x582288,_0xc9db24)[_0x177207(0x1da)],_0x7d4a94=_0x3f0c04[_0x177207(0x22e)](_0x143c67,'sf',_0x5a2b1a);return!((_0x143c67==null?void 0x0:_0x143c67['rt'])===_0x3f0c04[_0x177207(0x334)]['NO_COMMERCIAL']&&!_0x7d4a94);}function _0x3f7c6d(_0x216398,_0x184cdd,_0x4ee1f2){const _0x543864=_0x4ff3ff,_0x1aeb72={'count':_0x216398,'timeValid':!0x1};if(!_0x184cdd||!_0x4ee1f2)return _0x1aeb72;const _0x1ce44c=_0x3f0c04['unshiftString'](_0x45ffe5,_0x1a7eec),_0x49c5ec=new Function(_0x543864(0x140)+_0x1ce44c)()(_0x184cdd,_0x4ee1f2);if(_0x49c5ec!=null&&_0x49c5ec[_0x543864(0x313)]){const _0x15257b=_0x49c5ec[_0x543864(0x1da)],_0x3ad204=_0x3f0c04[_0x543864(0x22e)](_0x15257b,'sf',_0x5a2b1a);return{'count':_0x3f0c04[_0x543864(0x291)](_0x15257b,_0x3ad204,'ptn',_0x216398,_0x216398,0x0),'timeValid':_0x3ad204};}return _0x1aeb72;}function _0x536fef(_0xb6b58,_0x458aee,_0x5883b8,_0x5ed20e){const _0x592b39=_0x4ff3ff,_0xe45008={'subUnitId':_0x5883b8,'unitId':_0x458aee,'cellValue':_0x47d532[_0x592b39(0x14a)](_0x5ed20e)},_0x5749ca=_0x47d532[_0x592b39(0x220)](_0xb6b58,_0xe45008);let _0x5171b7=!0x1;return new _0x136a03[(_0x592b39(0xfd))](_0x5749ca[_0x592b39(0x241)])[_0x592b39(0x171)]((_0x43d756,_0x591319,_0x5187e9)=>{const _0x1bf262=_0x592b39;if(!_0x5171b7&&_0x5187e9&&(_0x5187e9[_0x1bf262(0x31b)]||_0x5187e9['f']||_0x5187e9['p']||_0x5187e9['s']||_0x5187e9['si']||_0x5187e9['t']||_0x5187e9['v']))return _0x5171b7=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x47d532[_0x592b39(0x31e)]['id'],'params':_0x5749ca},'setRangeValueRedoMutation':{'id':_0x47d532[_0x592b39(0x31e)]['id'],'params':_0xe45008},'shouldClear':_0x5171b7};}function _0x4095bd(_0x2712b4){const {row:_0x467deb,col:_0x26114f}=_0x2712b4,_0x2c42fe={'startRow':_0x467deb,'endRow':_0x467deb,'startColumn':_0x26114f,'endColumn':_0x26114f},_0x46b7d6={'startRow':_0x467deb+0x2,'endRow':_0x467deb+0xe,'startColumn':_0x26114f,'endColumn':_0x26114f+0x6};return[_0x2c42fe,_0x46b7d6];}function _0x45a63a(_0x5e5efe,_0x21148e,_0x3a375f){const _0x2b5d66=_0x4ff3ff,{cornerView:_0x336a8b,rowView:_0x3ad5d6,colView:_0x3e0b2a,pageView:_0x293b10}=_0x5e5efe,{row:_0x1dce69,col:_0x43cdda}=_0x21148e;if(_0x3a375f)return{'rowCount':_0x556934+_0x1dce69,'colCount':_0x54b8fb+_0x43cdda};const _0x129348=_0x293b10[_0x2b5d66(0x366)]>-0x1?_0x293b10[_0x2b5d66(0x366)]+0x1:0x0,_0x20b690=_0x293b10[_0x2b5d66(0x7c)]>-0x1?_0x293b10[_0x2b5d66(0x7c)]:0x0,_0x504ed1=_0x1dce69+_0x129348+(_0x129348?0x1:0x0)+_0x336a8b['rowCount']+_0x3ad5d6[_0x2b5d66(0x2ba)],_0x2d95ef=_0x43cdda+_0x20b690,_0x16119b=_0x43cdda+_0x336a8b[_0x2b5d66(0x1ac)]+_0x3e0b2a['colCount'],_0x45d8b0=Math['max'](_0x2d95ef,_0x16119b);return{'rowCount':_0x504ed1,'colCount':_0x45d8b0};}function _0x1fa301(_0x313a21,_0x3dd972,_0x39f1b2,_0x1be3f5){const _0x5cbc75=_0x4ff3ff,{row:_0x3fa788,col:_0x3e87a2,unitId:_0x3a6452,subUnitId:_0xe65842}=_0x39f1b2,_0x1ba4d9=_0x45a63a(_0x3dd972,{'row':_0x3fa788,'col':_0x3e87a2},_0x1be3f5),_0x56776b=_0x313a21[_0x5cbc75(0x34e)](_0x136a03[_0x5cbc75(0x227)]),_0x2dd036=_0x47d532[_0x5cbc75(0x1f7)](_0x56776b,{'unitId':_0x3a6452,'subUnitId':_0xe65842}),_0x2e6284=[],_0x12d798=[];if(!_0x2dd036)return{'undos':_0x12d798,'redos':_0x2e6284};const {worksheet:_0x27e941}=_0x2dd036,_0x5011bf=_0x27e941['getRowCount'](),_0x3e185a=_0x27e941[_0x5cbc75(0x2fe)]();return _0x5011bf<_0x1ba4d9['rowCount']&&(_0x2e6284[_0x5cbc75(0xda)]({'id':_0x47d532[_0x5cbc75(0x219)]['id'],'params':{'unitId':_0x3a6452,'subUnitId':_0xe65842,'range':{'startRow':_0x5011bf,'endRow':_0x1ba4d9[_0x5cbc75(0x2ba)]-0x1,'startColumn':0x0,'endColumn':_0x3e185a-0x1}}}),_0x12d798['push']({'id':_0x47d532[_0x5cbc75(0x80)]['id'],'params':{'unitId':_0x3a6452,'subUnitId':_0xe65842,'range':{'startRow':_0x5011bf,'endRow':_0x1ba4d9['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x3e185a-0x1}}})),_0x3e185a<_0x1ba4d9[_0x5cbc75(0x1ac)]&&(_0x2e6284[_0x5cbc75(0xda)]({'id':_0x47d532[_0x5cbc75(0xcb)]['id'],'params':{'unitId':_0x3a6452,'subUnitId':_0xe65842,'range':{'startRow':0x0,'endRow':_0x5011bf-0x1,'startColumn':_0x3e185a,'endColumn':_0x1ba4d9['colCount']-0x1}}}),_0x12d798[_0x5cbc75(0xda)]({'id':_0x47d532[_0x5cbc75(0x367)]['id'],'params':{'unitId':_0x3a6452,'subUnitId':_0xe65842,'range':{'startRow':0x0,'endRow':_0x5011bf-0x1,'startColumn':_0x3e185a,'endColumn':_0x1ba4d9[_0x5cbc75(0x1ac)]-0x1}}})),{'undos':_0x12d798,'redos':_0x2e6284};}function _0x4ff569(_0x433536){const _0x466861=_0x4ff3ff;let _0x5702ad=0x0;for(let _0x252394=0x0;_0x252394<_0x433536['length'];_0x252394++){const _0x1f25b3=_0x433536[_0x466861(0x335)](_0x252394);_0x1f25b3>=0x4e00&&_0x1f25b3<=0x9fff||_0x1f25b3>=0x3000&&_0x1f25b3<=0x303f||_0x1f25b3>=0xff00&&_0x1f25b3<=0xffef?_0x5702ad+=0x2:_0x5702ad+=0x1;}return _0x5702ad;}function _0x3cfabb(_0x4fc717,_0x2f8a7a,_0x44a867,_0x1f27e6){const _0x55ce42=_0x4ff3ff;var _0x169a0e,_0xb6b857,_0x154b4a,_0x6b26f0;const {rowCount:_0x392c25,colCount:_0x2aa1fd,headerMap:_0x1d530a}=_0x4fc717,_0x116406=0x64,_0x215dfa=Math[_0x55ce42(0x96)](_0x392c25,_0x116406),_0x170863=Math['min'](_0x2aa1fd,_0x116406);let _0x1dc591='',_0x85a19a=0x0;for(let _0x9d8721=0x0;_0x9d8721<_0x215dfa;_0x9d8721++)for(let _0x5a524c=0x0;_0x5a524c<_0x170863;_0x5a524c++){const _0x3d998e={...(_0xb6b857=(_0x169a0e=_0x4fc717[_0x55ce42(0x2b0)])==null?void 0x0:_0x169a0e[_0x9d8721])==null?void 0x0:_0xb6b857[_0x5a524c]},_0x9900f6=(_0x154b4a=_0x1d530a[_0x9d8721])==null?void 0x0:_0x154b4a['tableFieldId'],_0x20e02f=_0x1f27e6[_0x9900f6];let _0x5988d1=_0x4fc717[_0x55ce42(0x2b7)](_0x9d8721,_0x5a524c);if(_0x3d998e){const _0x367ba8=_0x44a867?_0x5a524c===0x0&&((_0x6b26f0=_0x4fc717[_0x55ce42(0x20c)](_0x5a524c+0x1))==null?void 0x0:_0x6b26f0[_0x55ce42(0x2e7)]):!0x1;_0x5988d1=_0x25418d(_0x3d998e,_0x367ba8,_0x20e02f,_0x2f8a7a);}if(_0x5988d1!==void 0x0){const _0x4aae45=_0x4ff569(String(_0x5988d1));_0x85a19a<_0x4aae45&&(_0x1dc591=String(_0x5988d1),_0x85a19a=_0x4aae45);}}return _0x1dc591;}function _0x23b946(_0x39ac04){const _0x2b29f1=_0x4ff3ff,{rowCount:_0x45cbf5,colCount:_0x4f9e7c}=_0x39ac04;let _0x36e1c0='',_0x3e4fe5=0x0;for(let _0x39baf9=_0x45cbf5-0x1;_0x39baf9>0x0&&_0x39baf9>_0x45cbf5-0x3;_0x39baf9--)for(let _0x546b04=0x0;_0x546b04<_0x4f9e7c;_0x546b04++){const _0x3f595b=_0x39ac04['getValue'](_0x39baf9,_0x546b04);if(_0x3f595b!==void 0x0){const _0x1640fd=String(_0x3f595b)[_0x2b29f1(0x1ae)];_0x3e4fe5<_0x1640fd&&(_0x36e1c0=String(_0x3f595b),_0x3e4fe5=_0x1640fd);}}return _0x36e1c0;}function _0x18e8a2(_0x203817){const _0xe635cf=_0x4ff3ff,{rowCount:_0x53c02f,colCount:_0x4880fe}=_0x203817;let _0x32af01='',_0x5b083e=0x0;for(let _0x148c77=0x0;_0x148c77<_0x53c02f;_0x148c77++)for(let _0x21ced5=0x0;_0x21ced5<_0x4880fe;_0x21ced5++){const _0x7b749c=_0x203817[_0xe635cf(0x2b7)](_0x148c77,_0x21ced5);if(_0x7b749c!==void 0x0){const _0x201a00=String(_0x7b749c)[_0xe635cf(0x1ae)];_0x5b083e<_0x201a00&&(_0x32af01=String(_0x7b749c),_0x5b083e=_0x201a00);}}return _0x32af01;}function _0x3d01c0(_0x5c3f1c,_0x334696){const _0x30e831=_0x4ff3ff,{rowFields:_0xca2eff,columnFields:_0x3cf97f,valueFields:_0x25430b,filterFields:_0x1d7d46,dimension:_0x48ddd6,measure:_0xef39fc}=_0x334696;for(const _0x5815ed of _0xca2eff){const _0x24e974=_0x48ddd6[_0x5815ed];_0x24e974&&_0x5c3f1c[_0x30e831(0x306)](_0x24e974[_0x30e831(0x22d)])&&(_0x5c3f1c[_0x30e831(0x1e3)](_0x24e974[_0x30e831(0x22d)],_0x10f223[_0x30e831(0x325)][_0x30e831(0x36f)],void 0x0,_0x5815ed),_0x24e974[_0x30e831(0x12f)]&&_0x5c3f1c[_0x30e831(0x2c7)](_0x24e974['id'],_0x24e974['displayName']),_0x24e974['sortInfo']&&_0x5c3f1c['setSortInfo'](_0x24e974['id'],_0x24e974['sortInfo']),_0x24e974[_0x30e831(0xe9)]&&_0x5c3f1c[_0x30e831(0x1fb)](_0x24e974['id'],_0x24e974['filterInfo']));}for(const _0x27ab1a of _0x3cf97f){const _0x4a855e=_0x48ddd6[_0x27ab1a];_0x4a855e&&_0x5c3f1c[_0x30e831(0x306)](_0x4a855e[_0x30e831(0x22d)])&&(_0x5c3f1c['addFieldWithSourceId'](_0x4a855e[_0x30e831(0x22d)],_0x10f223['PivotTableFiledAreaEnum'][_0x30e831(0x1a5)],void 0x0,_0x27ab1a),_0x4a855e[_0x30e831(0x157)]&&_0x5c3f1c['setSortInfo'](_0x4a855e['id'],_0x4a855e[_0x30e831(0x157)]),_0x4a855e['filterInfo']&&_0x5c3f1c[_0x30e831(0x1fb)](_0x4a855e['id'],_0x4a855e[_0x30e831(0xe9)]),_0x4a855e['displayName']&&_0x5c3f1c[_0x30e831(0x2c7)](_0x4a855e['id'],_0x4a855e[_0x30e831(0x12f)]));}for(const _0x3e64b2 of _0x1d7d46){const _0x2c3bf3=_0x48ddd6[_0x3e64b2];_0x2c3bf3&&_0x5c3f1c[_0x30e831(0x306)](_0x2c3bf3[_0x30e831(0x22d)])&&(_0x5c3f1c[_0x30e831(0x1e3)](_0x2c3bf3[_0x30e831(0x22d)],_0x10f223[_0x30e831(0x325)][_0x30e831(0x12c)],void 0x0,_0x3e64b2),_0x2c3bf3['sortInfo']&&_0x5c3f1c[_0x30e831(0xe3)](_0x2c3bf3['id'],_0x2c3bf3[_0x30e831(0x157)]),_0x2c3bf3[_0x30e831(0xe9)]&&_0x5c3f1c['setLabelFilterInfo'](_0x2c3bf3['id'],_0x2c3bf3[_0x30e831(0xe9)]),_0x2c3bf3['displayName']&&_0x5c3f1c[_0x30e831(0x2c7)](_0x2c3bf3['id'],_0x2c3bf3[_0x30e831(0x12f)]));}for(const _0x1f2631 of _0x25430b){const _0x59a602=_0xef39fc[_0x1f2631];_0x59a602&&_0x5c3f1c[_0x30e831(0x306)](_0x59a602['dataFieldId'])&&(_0x5c3f1c[_0x30e831(0x1e3)](_0x59a602['dataFieldId'],_0x10f223['PivotTableFiledAreaEnum'][_0x30e831(0x27e)],void 0x0,_0x1f2631),_0x59a602['subtotal']!==void 0x0&&_0x5c3f1c['setSubtotalType'](_0x1f2631,_0x59a602[_0x30e831(0x118)]),_0x59a602[_0x30e831(0x276)]&&_0x5c3f1c[_0x30e831(0x207)](_0x1f2631,_0x59a602[_0x30e831(0x276)]),_0x59a602[_0x30e831(0x12f)]&&_0x5c3f1c[_0x30e831(0x2c7)](_0x59a602['id'],_0x59a602['displayName']));}const _0x8908f1=_0x334696[_0x30e831(0x361)];for(const {fieldId:_0x1d593b,filterInfo:_0x53a89a}of _0x8908f1)_0x5c3f1c[_0x30e831(0x79)](_0x1d593b,_0x53a89a);}function _0x3e5ccc(_0x39fbde,_0x3bade0){const _0x28f001=_0x4ff3ff,_0x1659f1=[];_0x3bade0===_0x10f223[_0x28f001(0x325)][_0x28f001(0x36f)]&&_0x39fbde['iterateFieldByArea'](_0x10f223[_0x28f001(0x325)]['Row'],_0x36a8ab=>{const _0xf99c2b=_0x28f001;_0x1659f1[_0xf99c2b(0xda)](_0x36a8ab[_0xf99c2b(0x1c5)]());}),_0x3bade0===_0x10f223[_0x28f001(0x325)]['Column']&&_0x39fbde[_0x28f001(0x2c3)](_0x10f223['PivotTableFiledAreaEnum'][_0x28f001(0x1a5)],_0x38cf1f=>{const _0x3390d9=_0x28f001;_0x1659f1[_0x3390d9(0xda)](_0x38cf1f[_0x3390d9(0x1c5)]());}),_0x3bade0===_0x10f223[_0x28f001(0x325)][_0x28f001(0x12c)]&&_0x39fbde[_0x28f001(0x2c3)](_0x10f223[_0x28f001(0x325)]['Filter'],_0x1a97b6=>{_0x1659f1['push'](_0x1a97b6['getId']());}),_0x3bade0===_0x10f223[_0x28f001(0x325)]['Value']&&_0x39fbde[_0x28f001(0x2c3)](_0x10f223[_0x28f001(0x325)][_0x28f001(0x27e)],_0x4f045b=>{const _0x5a8b36=_0x28f001;_0x1659f1[_0x5a8b36(0xda)](_0x4f045b[_0x5a8b36(0x1c5)]());}),_0x3bade0===void 0x0&&_0x39fbde[_0x28f001(0x248)](_0x38754c=>{const _0x1deace=_0x28f001;_0x1659f1[_0x1deace(0xda)](_0x38754c[_0x1deace(0x1c5)]());});const _0xcabe0e=_0x1659f1[_0x28f001(0x1ae)];for(let _0x41dd9a=_0xcabe0e-0x1;_0x41dd9a>=0x0;_0x41dd9a--)_0x39fbde['removeField'](_0x1659f1[_0x41dd9a]);const _0x1e3b3c=_0x39fbde['getValueFilterInfos']();for(const _0x384e6a in _0x1e3b3c)_0x39fbde[_0x28f001(0x189)](_0x384e6a);}function _0x16f9d4(_0x1cbe11,_0x3a7a01){const _0x3d6cac=_0x4ff3ff,_0x58a37a=new Date(_0x10f223[_0x3d6cac(0xc6)](_0x3a7a01)),_0x4f2780=new Date(_0x10f223[_0x3d6cac(0xc6)](_0x1cbe11)),_0x25996b=_0x58a37a['getFullYear'](),_0x1f614c=_0x4f2780[_0x3d6cac(0x182)](),_0x4e7d6d=_0x58a37a[_0x3d6cac(0x66)](),_0x20203d=_0x4f2780[_0x3d6cac(0x66)](),_0x542946=_0x58a37a[_0x3d6cac(0x2bf)](),_0x8ad9b1=_0x4f2780[_0x3d6cac(0x2bf)](),_0xb7b825=_0x25996b===_0x1f614c,_0x182030=_0xb7b825&&_0x4e7d6d===_0x20203d;return _0xb7b825&&_0x182030&&!(_0x182030&&_0x542946===_0x8ad9b1)?_0x10f223[_0x3d6cac(0xff)][_0x3d6cac(0x283)]:_0xb7b825&&!_0x182030?_0x10f223['PivotDateGroupFieldDateTypeEnum'][_0x3d6cac(0x2f8)]:_0x10f223['PivotDateGroupFieldDateTypeEnum'][_0x3d6cac(0x25b)];}function _0x435c15(_0x3214ae,_0x101ced){const _0x346d3d=_0x4ff3ff,_0xe1d09e=_0x3214ae[_0x346d3d(0x34e)](_0x488dae[_0x346d3d(0x16d)])['getTextInfo']();let _0x24e5f2='';switch(_0x101ced){case _0x10f223[_0x346d3d(0xff)][_0x346d3d(0x283)]:_0x24e5f2=_0xe1d09e[_0x346d3d(0x35f)];break;case _0x10f223[_0x346d3d(0xff)][_0x346d3d(0x2f8)]:_0x24e5f2=_0xe1d09e[_0x346d3d(0x2b9)];break;case _0x10f223[_0x346d3d(0xff)]['Year']:_0x24e5f2=_0xe1d09e['sheets-pivot.dateGroup.year'];break;case _0x10f223[_0x346d3d(0xff)][_0x346d3d(0x209)]:_0x24e5f2=_0xe1d09e[_0x346d3d(0xd8)];break;case _0x10f223[_0x346d3d(0xff)][_0x346d3d(0x368)]:_0x24e5f2=_0xe1d09e[_0x346d3d(0x362)];break;case _0x10f223[_0x346d3d(0xff)][_0x346d3d(0x1a3)]:_0x24e5f2=_0xe1d09e[_0x346d3d(0x363)];break;case _0x10f223['PivotDateGroupFieldDateTypeEnum']['HourMinute']:_0x24e5f2=_0xe1d09e['sheets-pivot.dateGroup.hourMinute'];break;case _0x10f223[_0x346d3d(0xff)][_0x346d3d(0x2d2)]:_0x24e5f2=_0xe1d09e['sheets-pivot.dateGroup.hour'];break;case _0x10f223['PivotDateGroupFieldDateTypeEnum'][_0x346d3d(0x263)]:_0x24e5f2=_0xe1d09e[_0x346d3d(0xbe)];break;case _0x10f223[_0x346d3d(0xff)][_0x346d3d(0x346)]:_0x24e5f2=_0xe1d09e['sheets-pivot.dateGroup.monthDate'];break;case _0x10f223['PivotDateGroupFieldDateTypeEnum'][_0x346d3d(0x1e9)]:_0x24e5f2=_0xe1d09e[_0x346d3d(0xc8)];break;default:_0x24e5f2='';break;}return _0x24e5f2;}const _0x3b6c37=_0x4ff3ff(0x76),_0x1af530={};var _0x5bfd6d=Object[_0x4ff3ff(0xba)],_0x24bd1e=(_0x368167,_0x42c7a5,_0x264172,_0xe16e24)=>{const _0xd7424f=_0x4ff3ff;for(var _0x38547e=_0xe16e24>0x1?void 0x0:_0xe16e24?_0x5bfd6d(_0x42c7a5,_0x264172):_0x42c7a5,_0x1014c2=_0x368167[_0xd7424f(0x1ae)]-0x1,_0x28ebfd;_0x1014c2>=0x0;_0x1014c2--)(_0x28ebfd=_0x368167[_0x1014c2])&&(_0x38547e=_0x28ebfd(_0x38547e)||_0x38547e);return _0x38547e;},_0x4eb64f=(_0x7c736f,_0x23d423)=>(_0x566702,_0x2fdbb2)=>_0x23d423(_0x566702,_0x2fdbb2,_0x7c736f);_0x488dae[_0x4ff3ff(0x302)]=class extends _0x136a03[_0x4ff3ff(0x101)]{constructor(_0x2e9317,_0x354e79,_0x1cc82a,_0x529d2,_0x7f22d6){const _0x5baf64=_0x4ff3ff;super(),_0x4779db(this,'_model',new Map()),_0x4779db(this,_0x5baf64(0x2d0),new Map()),_0x4779db(this,'_pivotTableRangeInfo',new Map()),_0x4779db(this,_0x5baf64(0xa0),new Map()),_0x4779db(this,'_configVersion$',new _0x4d3cd2[(_0x5baf64(0x1a6))]()),_0x4779db(this,_0x5baf64(0x355),new _0x4d3cd2['Subject']()),_0x4779db(this,'pivotInitCompleted$',this[_0x5baf64(0x355)][_0x5baf64(0x370)]()),_0x4779db(this,_0x5baf64(0x10b),new _0x4d3cd2[(_0x5baf64(0x1a6))]()),_0x4779db(this,'pivotConfigChange$',this[_0x5baf64(0x10b)][_0x5baf64(0x370)]()),_0x4779db(this,'_textInfo',{}),_0x4779db(this,_0x5baf64(0x14c),this[_0x5baf64(0x2dc)]['asObservable']()),(this[_0x5baf64(0x17c)]=_0x2e9317,this[_0x5baf64(0x1ff)]=_0x354e79,this[_0x5baf64(0x317)]=_0x1cc82a,this[_0x5baf64(0x168)]=_0x529d2,this[_0x5baf64(0x2cb)]=_0x7f22d6,this[_0x5baf64(0x1f9)](),this['_initUnitDisposed']());const _0x2cc5ab=this['_configService']['getConfig'](_0x3b6c37);(_0x2cc5ab==null?void 0x0:_0x2cc5ab[_0x5baf64(0x254)])===!0x0&&this[_0x5baf64(0x21e)]();}[_0x4ff3ff(0x234)](){const _0x3f46d4=_0x4ff3ff;this[_0x3f46d4(0x228)](this[_0x3f46d4(0x317)][_0x3f46d4(0x210)](_0x136a03[_0x3f46d4(0x170)][_0x3f46d4(0x22b)])['subscribe'](_0x4f0603=>{this['deleteUnitId'](_0x4f0603['getUnitId']());}));}[_0x4ff3ff(0x1f6)](){const _0x17d8b8=_0x4ff3ff;this[_0x17d8b8(0x355)]['next'](!0x0);}[_0x4ff3ff(0x1f9)](){const _0x812b8=_0x4ff3ff,_0x355dc8=_0x244586(this[_0x812b8(0x17c)],_0xaf0570,'',{});this[_0x812b8(0x211)]=_0x355dc8,this['_commandService']['executeCommand'](_0x30da9f['id'],{'textInfo':_0x355dc8},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x57d006=_0x4ff3ff;return this[_0x57d006(0x211)];}[_0x4ff3ff(0x7e)](_0x4a9152,_0x5c7f5d,_0x1e0987,_0x10e818,_0x32df30){this['updatePivotTableMatrixInfo'](_0x4a9152,_0x5c7f5d,_0x1e0987,_0x10e818),this['updatePivotTableRangeInfo'](_0x4a9152,_0x5c7f5d,_0x1e0987,_0x32df30);}[_0x4ff3ff(0x12e)](_0x216d3a,_0x4ccf08,_0x20ddff){const _0x2e9b98=_0x4ff3ff;var _0x18615b;const _0x5261f6=(_0x18615b=this[_0x2e9b98(0x351)][_0x2e9b98(0x34e)](_0x216d3a))==null?void 0x0:_0x18615b[_0x2e9b98(0x34e)](_0x4ccf08);if(_0x5261f6)return _0x5261f6['get'](_0x20ddff);}['getTargetByPivotTableId'](_0x2e5e4e,_0x3ad7ed){const _0x55ebd3=_0x4ff3ff,_0x41daae=this['_model']['get'](_0x2e5e4e);if(_0x41daae){for(const [_0x31d42b,_0x184af7]of _0x41daae['entries']())for(const [_0x462998,_0x5a1dda]of _0x184af7[_0x55ebd3(0x341)]())if(_0x462998===_0x3ad7ed)return _0x5a1dda['targetCellInfo'];}}[_0x4ff3ff(0x1e7)](_0x4abc12,_0x23e127,_0x34985b){const _0x4e36dd=_0x4ff3ff,_0x14c4d0=this[_0x4e36dd(0x12e)](_0x4abc12,_0x23e127,_0x34985b);return _0x14c4d0==null?void 0x0:_0x14c4d0[_0x4e36dd(0x271)];}[_0x4ff3ff(0x2a8)](_0x2a6cae,_0xf6ab24){const _0x5a5208=_0x4ff3ff;var _0x5455ff;return(_0x5455ff=this[_0x5a5208(0x351)]['get'](_0x2a6cae))==null?void 0x0:_0x5455ff[_0x5a5208(0x34e)](_0xf6ab24);}[_0x4ff3ff(0xad)](_0x17299c,_0x699a33,_0x41f7eb,_0x40f651){const _0x295eaf=_0x4ff3ff,_0x5aa1e5=this[_0x295eaf(0x1b7)](_0x17299c,_0x699a33);_0x40f651?_0x5aa1e5[_0x295eaf(0xa4)](_0x41f7eb,_0x40f651):_0x5aa1e5[_0x295eaf(0x1db)](_0x41f7eb),this[_0x295eaf(0x10b)][_0x295eaf(0x236)]({'unitId':_0x17299c,'subUnitId':_0x699a33,'pivotTableId':_0x41f7eb,'pivotTableConfig':_0x40f651});}['getCollection'](_0x811db3,_0x19cf53){const _0x359a8e=_0x4ff3ff;var _0x59ecb4;return(_0x59ecb4=this[_0x359a8e(0x2d0)][_0x359a8e(0x34e)](_0x811db3))==null?void 0x0:_0x59ecb4[_0x359a8e(0x152)][_0x19cf53];}[_0x4ff3ff(0x35c)](_0x564354,_0x4987a4){const _0x230a51=_0x4ff3ff;this[_0x230a51(0x2d0)]['set'](_0x564354,_0x4987a4),this[_0x230a51(0x2dc)][_0x230a51(0x236)](Math[_0x230a51(0x90)]());}['_ensurePivotMap'](_0x28a918,_0x43c493){const _0x32f22d=_0x4ff3ff;let _0x4449d4=this['_model'][_0x32f22d(0x34e)](_0x28a918);_0x4449d4||(_0x4449d4=new Map(),this[_0x32f22d(0x351)][_0x32f22d(0xa4)](_0x28a918,_0x4449d4));let _0x6b1dfb=_0x4449d4[_0x32f22d(0x34e)](_0x43c493);return _0x6b1dfb||(_0x6b1dfb=new Map(),_0x4449d4[_0x32f22d(0xa4)](_0x43c493,_0x6b1dfb)),_0x6b1dfb;}[_0x4ff3ff(0x371)](_0x10aad4,_0x3b50fd){const _0x4aa75f=_0x4ff3ff;let _0x26dbdb=this[_0x4aa75f(0x6f)][_0x4aa75f(0x34e)](_0x10aad4);_0x26dbdb||(_0x26dbdb=new Map(),this[_0x4aa75f(0x6f)][_0x4aa75f(0xa4)](_0x10aad4,_0x26dbdb));let _0x7ad869=_0x26dbdb[_0x4aa75f(0x34e)](_0x3b50fd);return _0x7ad869||(_0x7ad869=new Map(),_0x26dbdb['set'](_0x3b50fd,_0x7ad869)),_0x7ad869;}[_0x4ff3ff(0x183)](_0x13f112,_0xacb7fa){const _0xbffbe9=_0x4ff3ff;let _0x2f1932=this[_0xbffbe9(0xa0)][_0xbffbe9(0x34e)](_0x13f112);_0x2f1932||(_0x2f1932=new Map(),this[_0xbffbe9(0xa0)][_0xbffbe9(0xa4)](_0x13f112,_0x2f1932));let _0x4cf526=_0x2f1932[_0xbffbe9(0x34e)](_0xacb7fa);return _0x4cf526||(_0x4cf526=new Map(),_0x2f1932[_0xbffbe9(0xa4)](_0xacb7fa,_0x4cf526)),_0x4cf526;}[_0x4ff3ff(0x294)](_0x58d72b,_0x2cf586,_0x1b04be,_0x47764c){const _0x1816ce=_0x4ff3ff;var _0x5fb094;const _0x5c5dce=this[_0x1816ce(0x371)](_0x58d72b,_0x2cf586),_0x3ac48e=(_0x5fb094=_0x5c5dce[_0x1816ce(0x34e)](_0x1b04be))==null?void 0x0:_0x5fb094['oldRangeInfo'];_0x5c5dce[_0x1816ce(0xa4)](_0x1b04be,{'oldRangeInfo':_0x3ac48e,'rangeInfo':_0x47764c});}[_0x4ff3ff(0x1a4)](_0x4781a3,_0x3005f4,_0x191c23,_0x31d82f){const _0x3c5f0f=_0x4ff3ff;var _0xb7c8a7;const _0x125baa=this[_0x3c5f0f(0x183)](_0x4781a3,_0x3005f4),_0x4795be=(_0xb7c8a7=_0x125baa['get'](_0x191c23))==null?void 0x0:_0xb7c8a7[_0x3c5f0f(0x2e5)];_0x125baa[_0x3c5f0f(0xa4)](_0x191c23,{'oldMatrix':_0x4795be,'matrix':_0x31d82f});}[_0x4ff3ff(0x34b)](_0x2f4c5e,_0x320cc2,_0x2223e5){const _0x451aca=_0x4ff3ff;var _0xc0ffbd,_0x4c5830;return(_0x4c5830=(_0xc0ffbd=this[_0x451aca(0x6f)][_0x451aca(0x34e)](_0x2f4c5e))==null?void 0x0:_0xc0ffbd[_0x451aca(0x34e)](_0x320cc2))==null?void 0x0:_0x4c5830[_0x451aca(0x34e)](_0x2223e5);}['getPivotTableMatrixInfo'](_0xf7e00,_0x2ed265,_0x2222bc){const _0x4546a4=_0x4ff3ff;var _0x7f058f,_0x6300c6;return(_0x6300c6=(_0x7f058f=this[_0x4546a4(0xa0)][_0x4546a4(0x34e)](_0xf7e00))==null?void 0x0:_0x7f058f[_0x4546a4(0x34e)](_0x2ed265))==null?void 0x0:_0x6300c6[_0x4546a4(0x34e)](_0x2222bc);}['deleteUnitId'](_0x1ca61d){const _0x292687=_0x4ff3ff;this[_0x292687(0x351)][_0x292687(0x1db)](_0x1ca61d),this[_0x292687(0x2d0)][_0x292687(0x1db)](_0x1ca61d);}['_toJSON'](_0x1867ea){const _0x5c3563=_0x4ff3ff,_0x1ca2c4={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x5c3563(0x2d0)][_0x5c3563(0x34e)](_0x1867ea)&&(_0x1ca2c4[_0x5c3563(0x121)][_0x1867ea]=this[_0x5c3563(0x2d0)][_0x5c3563(0x34e)](_0x1867ea)),this[_0x5c3563(0x351)][_0x5c3563(0x34e)](_0x1867ea)){_0x1ca2c4[_0x5c3563(0x27d)][_0x1867ea]={};const _0x30bf15=this[_0x5c3563(0x351)]['get'](_0x1867ea);_0x30bf15!=null&&_0x30bf15['size']&&[..._0x30bf15[_0x5c3563(0x255)]()]['forEach'](_0x5b1aff=>{const _0x29ade4=_0x5c3563,_0x433b17=_0x30bf15[_0x29ade4(0x34e)](_0x5b1aff);_0x433b17!=null&&_0x433b17[_0x29ade4(0x26f)]&&(_0x1ca2c4[_0x29ade4(0x27d)][_0x1867ea][_0x5b1aff]={},[..._0x433b17[_0x29ade4(0x255)]()][_0x29ade4(0x1ed)](_0x45fd90=>{const _0x891b67=_0x433b17['get'](_0x45fd90);_0x891b67&&(_0x1ca2c4['pivotTableConfigs'][_0x1867ea][_0x5b1aff][_0x45fd90]=_0x891b67);}));});}return _0x1ca2c4;}['_initSnapshot'](){const _0x4f0e8d=_0x4ff3ff;this[_0x4f0e8d(0x228)](this[_0x4f0e8d(0x168)][_0x4f0e8d(0x37f)]({'toJson':_0x44be57=>JSON[_0x4f0e8d(0x37d)](this[_0x4f0e8d(0x122)](_0x44be57)),'parseJson':_0x2bf1ec=>({}),'businesses':[_0x136a03['UniverInstanceType'][_0x4f0e8d(0x22b)]],'pluginName':_0x1cd2aa,'onLoad':(_0x2f995b,_0x24cccc)=>{},'onUnLoad':_0xc404a7=>{const _0xe76ec3=_0x4f0e8d;this[_0xe76ec3(0x201)](_0xc404a7);}}));}},_0x488dae[_0x4ff3ff(0x302)]=_0x24bd1e([_0x4eb64f(0x0,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x214)])),_0x4eb64f(0x1,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03['ICommandService'])),_0x4eb64f(0x2,_0x136a03['Inject'](_0x136a03[_0x4ff3ff(0x227)])),_0x4eb64f(0x3,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x11c)])),_0x4eb64f(0x4,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x25a)]))],_0x488dae['SheetsPivotTableConfigModel']);var _0x1e70b6=Object[_0x4ff3ff(0xba)],_0x45a1a8=(_0x41f506,_0x15e750,_0x2b8144,_0x422b0f)=>{const _0x3036ff=_0x4ff3ff;for(var _0x3bb2ad=_0x422b0f>0x1?void 0x0:_0x422b0f?_0x1e70b6(_0x15e750,_0x2b8144):_0x15e750,_0x537981=_0x41f506[_0x3036ff(0x1ae)]-0x1,_0x374683;_0x537981>=0x0;_0x537981--)(_0x374683=_0x41f506[_0x537981])&&(_0x3bb2ad=_0x374683(_0x3bb2ad)||_0x3bb2ad);return _0x3bb2ad;},_0x58b0f0=(_0x5b7579,_0x300a51)=>(_0x5fe6c2,_0x51e6b8)=>_0x300a51(_0x5fe6c2,_0x51e6b8,_0x5b7579);_0x488dae['SheetsPivotTableAdaptorModel']=class extends _0x136a03[_0x4ff3ff(0x101)]{constructor(_0xe62979,_0x210ea4,_0x1b7637,_0x1a90cb,_0x3eb003){const _0x285b80=_0x4ff3ff;super(),_0x4779db(this,_0x285b80(0x1ba),new Map()),_0x4779db(this,'_pivotRenderValueMatrixCache',new Map()),_0x4779db(this,_0x285b80(0xd7),new _0x4d3cd2[(_0x285b80(0x1a6))]()),_0x4779db(this,'markDirty$',this['_markDirty$'][_0x285b80(0x370)]()),_0x4779db(this,_0x285b80(0x186),new _0x4d3cd2[(_0x285b80(0x1a6))]()),_0x4779db(this,_0x285b80(0x158),this[_0x285b80(0x186)][_0x285b80(0x370)]()),_0x4779db(this,'_textInfo'),(this[_0x285b80(0x10f)]=_0xe62979,this['_injector']=_0x210ea4,this[_0x285b80(0x385)]=_0x1b7637,this[_0x285b80(0x317)]=_0x1a90cb,this[_0x285b80(0x252)]=_0x3eb003,this[_0x285b80(0x1f9)](),this['_initUnitDisposed']());}[_0x4ff3ff(0x234)](){const _0x4f918a=_0x4ff3ff;this[_0x4f918a(0x228)](this[_0x4f918a(0x317)][_0x4f918a(0x210)](_0x136a03[_0x4f918a(0x170)][_0x4f918a(0x22b)])[_0x4f918a(0x31d)](_0x2b9903=>{const _0x25ee77=_0x4f918a;this['deleteUnitId'](_0x2b9903[_0x25ee77(0x175)]());}));}[_0x4ff3ff(0x1f9)](){const _0x5bcc3e=_0x4ff3ff;this[_0x5bcc3e(0x211)]=_0x244586(this['_injector'],_0xaf0570,'',{});}[_0x4ff3ff(0x147)](_0x43d546){const _0x3b4102=_0x4ff3ff,{view:_0x2bf9cb,unitId:_0x2b1756,subUnitId:_0x1aafa3,pivotTableId:_0x202d99,type:_0x55f1f4}=_0x43d546,_0x58d92e=this['_sheetsPivotTableConfigModel']['getPivotTableConfig'](_0x2b1756,_0x1aafa3,_0x202d99);if(!_0x2bf9cb||!_0x58d92e||_0x55f1f4===_0x39c7b1[_0x3b4102(0x275)])return;const {pageView:_0x438d29,cornerView:_0x5b3bb9,rowView:_0x1f3c43,colView:_0xea6536,dataView:_0x1818d2}=_0x2bf9cb,_0x60cdaa=_0x58d92e[_0x3b4102(0x271)],_0x559f76=_0x58d92e[_0x3b4102(0x314)],_0x470003=this['_ensurePivotItemRenderValueMatrixCache'](_0x2b1756,_0x1aafa3),_0x48d58e=this[_0x3b4102(0x33d)](_0x2b1756,_0x1aafa3,_0x202d99);if(_0x559f76)return this[_0x3b4102(0x2de)](_0x43d546,_0x470003,_0x60cdaa,_0x48d58e);{const _0x9c4869=_0x50f2e9(_0x60cdaa,_0x438d29,!0x0),_0x46379a=_0x438d29[_0x3b4102(0x366)]>=0x0?_0x438d29[_0x3b4102(0x366)]+0x1:0x0,_0xeba596=_0x5b3bb9[_0x3b4102(0x322)](),_0x1d830d=_0x5b3bb9[_0x3b4102(0x13c)](),_0x22fd4d=_0x9c4869[_0x3b4102(0x1ae)]>0x0?_0x2fd7f7:0x0,_0x4f0c43=_0x50f2e9({'row':_0x60cdaa[_0x3b4102(0x327)]+_0x46379a+_0x22fd4d,'col':_0x60cdaa[_0x3b4102(0xed)]},_0x5b3bb9,!0x1,!0x1),_0x44ae2e=_0x50f2e9({'row':_0x60cdaa[_0x3b4102(0x327)]+_0x46379a+_0x22fd4d+_0xeba596,'col':_0x60cdaa['col']},_0x1f3c43,!0x1,!0x0),_0x17ec8f=_0x50f2e9({'row':_0x60cdaa[_0x3b4102(0x327)]+_0x46379a+_0x22fd4d,'col':_0x60cdaa[_0x3b4102(0xed)]+_0x1d830d},_0xea6536,!0x1,!0x0),_0x4a3157=_0x50f2e9({'row':_0x60cdaa[_0x3b4102(0x327)]+_0x46379a+_0x22fd4d+_0xeba596,'col':_0x60cdaa['col']+_0x1d830d},_0x1818d2,!0x1,!0x1);_0x48d58e[_0x3b4102(0x2c4)]={'rowRanges':_0x44ae2e,'colRanges':_0x17ec8f,'cornerRanges':_0x4f0c43,'dataRanges':_0x4a3157,'pageRanges':_0x9c4869};const _0x33937f=_0x468a1e(this[_0x3b4102(0x17c)],_0x2bf9cb,_0x58d92e,this['_textInfo']),{valueMatrix:_0x5da25b,rowInfo:_0x5e295e,colInfo:_0x1c6e76,cornerInfo:_0x1a9c21,rowHeaderMap:_0x138289,colHeaderMap:_0x5accaa}=_0x33937f;return _0x48d58e['areaInfo']={'rowInfo':_0x5e295e,'colInfo':_0x1c6e76,'cornerInfo':_0x1a9c21},_0x48d58e['headerMap']={'rowHeaderMap':_0x138289,'colHeaderMap':_0x5accaa},_0x5da25b[_0x3b4102(0x1ed)]((_0x149048,_0x24350d)=>{const _0x352ac5=_0x3b4102;Object[_0x352ac5(0x255)](_0x24350d)[_0x352ac5(0x1ed)](_0x312c53=>{const _0x30a2d5=_0x352ac5,_0x5c7802=+_0x312c53,_0x45ac5f=_0x5da25b[_0x30a2d5(0x2b7)](_0x149048,_0x5c7802);_0x470003[_0x30a2d5(0x1fd)](_0x149048,_0x5c7802,_0x45ac5f);});}),this[_0x3b4102(0x186)][_0x3b4102(0x236)]({'unitId':_0x2b1756,'subUnitId':_0x1aafa3,'valueMatrix':_0x470003,'rangesCache':_0x48d58e[_0x3b4102(0x2c4)],'pivotTableId':_0x202d99,'type':_0x43d546[_0x3b4102(0x20d)]}),this['_sheetsPivotTableConfigModel'][_0x3b4102(0x7e)](_0x2b1756,_0x1aafa3,_0x202d99,_0x470003,_0x48d58e['rangesInfo']),this[_0x3b4102(0x252)][_0x3b4102(0xcc)](_0x2b1756,_0x1aafa3,_0x136553,this[_0x3b4102(0x22c)](_0x48d58e[_0x3b4102(0x2c4)],_0x202d99)),{'rangeCache':_0x48d58e[_0x3b4102(0x2c4)],'matrix':_0x470003};}}[_0x4ff3ff(0x2de)](_0x56c314,_0x57fc39,_0x51b0a2,_0x49a85f){const _0x3f7cff=_0x4ff3ff,_0x408620=this['_localeService']['t'],{unitId:_0x295ed9,subUnitId:_0x3848aa,pivotTableId:_0x74cc4d}=_0x56c314,_0xe1bfe={'filter':_0x408620(_0x3f7cff(0x2f3)),'row':_0x408620('sheets-pivot.emptyPivot.row'),'column':_0x408620(_0x3f7cff(0x15e)),'values':_0x408620('sheets-pivot.emptyPivot.values')},{matrixCache:_0x449ddf,rangesCache:_0x4aa3e9}=_0x3932c7(_0xe1bfe,_0x51b0a2);return _0x449ddf[_0x3f7cff(0x171)]((_0xdae882,_0x2f89c8,_0x163841)=>{const _0x1cb009=_0x3f7cff;_0x57fc39[_0x1cb009(0x1fd)](_0xdae882,_0x2f89c8,_0x163841);}),_0x49a85f[_0x3f7cff(0x2c4)]=_0x4aa3e9,this[_0x3f7cff(0x186)]['next']({'unitId':_0x295ed9,'subUnitId':_0x3848aa,'valueMatrix':_0x57fc39,'rangesCache':_0x4aa3e9,'pivotTableId':_0x74cc4d,'type':_0x56c314[_0x3f7cff(0x20d)],'isEmpty':!0x0}),this[_0x3f7cff(0x385)][_0x3f7cff(0x7e)](_0x295ed9,_0x3848aa,_0x74cc4d,_0x57fc39,_0x4aa3e9),this[_0x3f7cff(0x252)]['addExclusiveRange'](_0x295ed9,_0x3848aa,_0x136553,this[_0x3f7cff(0x22c)](_0x4aa3e9,_0x74cc4d)),{'rangeCache':_0x49a85f['rangesInfo'],'matrix':_0x57fc39};}[_0x4ff3ff(0x22c)](_0x326ed3,_0x3f0061){const _0x2ee328=_0x4ff3ff,_0xd10021=[],_0x4ae67a=_0x2a3c2e(_0x326ed3);for(const _0x4b0d8d of _0x4ae67a)_0xd10021[_0x2ee328(0xda)]({'groupId':_0x3f0061,'range':_0x4b0d8d});return _0xd10021;}[_0x4ff3ff(0x16a)](_0x49620d){const _0x555fbc=_0x4ff3ff;var _0x25febd,_0x1458ad,_0x29bd7c,_0xc859b1;const {pivotTableId:_0x90a752,unitId:_0x52ae12,subUnitId:_0x212d46}=_0x49620d;if(!_0x90a752||!_0x52ae12||!_0x212d46)return;const _0x5f2397=this[_0x555fbc(0x29d)](_0x52ae12,_0x212d46),_0x22ede3=(_0x1458ad=(_0x25febd=this[_0x555fbc(0x1ba)][_0x555fbc(0x34e)](_0x52ae12))==null?void 0x0:_0x25febd[_0x555fbc(0x34e)](_0x212d46))==null?void 0x0:_0x1458ad[_0x555fbc(0x34e)](_0x90a752);if(_0x22ede3!=null&&_0x22ede3[_0x555fbc(0x2c4)]){for(const _0x274402 of Object[_0x555fbc(0x255)](_0x22ede3[_0x555fbc(0x2c4)]))_0x22ede3['rangesInfo'][_0x274402]['forEach'](_0x1988dd=>{const _0x5b4251=_0x555fbc;for(let _0x57452c=_0x1988dd[_0x5b4251(0x100)];_0x57452c<=_0x1988dd[_0x5b4251(0x27a)];_0x57452c++)for(let _0x10a5f6=_0x1988dd[_0x5b4251(0x2fd)];_0x10a5f6<=_0x1988dd[_0x5b4251(0x304)];_0x10a5f6++)_0x5f2397[_0x5b4251(0x1b0)](_0x57452c,_0x10a5f6);});}_0x22ede3&&((_0xc859b1=(_0x29bd7c=this['_pivotRenderInfoCache'][_0x555fbc(0x34e)](_0x52ae12))==null?void 0x0:_0x29bd7c[_0x555fbc(0x34e)](_0x212d46))==null||_0xc859b1[_0x555fbc(0x1db)](_0x90a752)),this[_0x555fbc(0x186)][_0x555fbc(0x236)]({'unitId':_0x52ae12,'subUnitId':_0x212d46,'valueMatrix':_0x5f2397,'pivotTableId':_0x90a752,'rangesCache':void 0x0,'type':_0x49620d[_0x555fbc(0x20d)]}),this[_0x555fbc(0x252)][_0x555fbc(0x36d)](_0x52ae12,_0x212d46,_0x136553,_0x90a752);}[_0x4ff3ff(0x33d)](_0x11a531,_0x59dc17,_0x1e32cd){const _0x5974ad=_0x4ff3ff;var _0x155952,_0x4a9879,_0x4ba393,_0x26392b,_0x34233e,_0x1ae548;return this[_0x5974ad(0x1ba)]['has'](_0x11a531)||this[_0x5974ad(0x1ba)][_0x5974ad(0xa4)](_0x11a531,new Map()),(_0x155952=this['_pivotRenderInfoCache'][_0x5974ad(0x34e)](_0x11a531))!=null&&_0x155952['has'](_0x59dc17)||(_0x4a9879=this[_0x5974ad(0x1ba)]['get'](_0x11a531))==null||_0x4a9879[_0x5974ad(0xa4)](_0x59dc17,new Map()),(_0x26392b=(_0x4ba393=this[_0x5974ad(0x1ba)][_0x5974ad(0x34e)](_0x11a531))==null?void 0x0:_0x4ba393[_0x5974ad(0x34e)](_0x59dc17))!=null&&_0x26392b[_0x5974ad(0x1ef)](_0x1e32cd)||(_0x1ae548=(_0x34233e=this[_0x5974ad(0x1ba)][_0x5974ad(0x34e)](_0x11a531))==null?void 0x0:_0x34233e['get'](_0x59dc17))==null||_0x1ae548['set'](_0x1e32cd,{}),this[_0x5974ad(0x1ba)][_0x5974ad(0x34e)](_0x11a531)[_0x5974ad(0x34e)](_0x59dc17)['get'](_0x1e32cd);}[_0x4ff3ff(0x29d)](_0x4bd7b2,_0x1fc75a){const _0x1c59a3=_0x4ff3ff;var _0x18aa13,_0x303820;return this['_pivotRenderValueMatrixCache']['has'](_0x4bd7b2)||this[_0x1c59a3(0xb8)][_0x1c59a3(0xa4)](_0x4bd7b2,new Map()),(_0x18aa13=this[_0x1c59a3(0xb8)][_0x1c59a3(0x34e)](_0x4bd7b2))!=null&&_0x18aa13[_0x1c59a3(0x1ef)](_0x1fc75a)||(_0x303820=this[_0x1c59a3(0xb8)][_0x1c59a3(0x34e)](_0x4bd7b2))==null||_0x303820[_0x1c59a3(0xa4)](_0x1fc75a,new _0x136a03[(_0x1c59a3(0xfd))]()),this[_0x1c59a3(0xb8)][_0x1c59a3(0x34e)](_0x4bd7b2)[_0x1c59a3(0x34e)](_0x1fc75a);}[_0x4ff3ff(0x217)](_0x89640e,_0x14b28d,_0x4228f5,_0x2dd097){const _0x20e7e5=_0x4ff3ff;var _0x2697ce,_0xdaa70a;const _0xb214a1=(_0xdaa70a=(_0x2697ce=this[_0x20e7e5(0xb8)][_0x20e7e5(0x34e)](_0x89640e))==null?void 0x0:_0x2697ce[_0x20e7e5(0x34e)](_0x14b28d))==null?void 0x0:_0xdaa70a['getValue'](_0x4228f5,_0x2dd097);if(_0xb214a1!=null)return _0xb214a1;}['getPivotTableIdByCell'](_0x3bdb3d,_0x2e9fdf,_0x273edf,_0xd8385a){const _0x3e8e77=_0x4ff3ff;var _0xfc0eed;const _0x1cb511=_0x136a03[_0x3e8e77(0x350)](_0x273edf,_0xd8385a),_0x139a30=(_0xfc0eed=this[_0x3e8e77(0x1ba)]['get'](_0x3bdb3d))==null?void 0x0:_0xfc0eed[_0x3e8e77(0x34e)](_0x2e9fdf);return _0x139a30?Array[_0x3e8e77(0x154)](_0x139a30[_0x3e8e77(0x255)]())[_0x3e8e77(0xf0)](_0x5a5fb1=>{const _0x268d6c=_0x3e8e77,_0x2be1f4=_0x139a30['get'](_0x5a5fb1),_0x229c87=_0x2be1f4==null?void 0x0:_0x2be1f4[_0x268d6c(0x2c4)];return _0x229c87?Object[_0x268d6c(0x255)](_0x229c87)[_0x268d6c(0x1bb)](_0x557ef0=>_0x229c87[_0x557ef0][_0x268d6c(0x1bb)](_0x15b929=>_0x136a03[_0x268d6c(0xab)][_0x268d6c(0x8c)](_0x15b929,_0x1cb511))):!0x1;}):void 0x0;}[_0x4ff3ff(0xb7)](_0x3f321c,_0xc44571,_0x1e9834){const _0x3df67b=_0x4ff3ff;var _0x48225d;const _0x546351=(_0x48225d=this['_pivotRenderInfoCache'][_0x3df67b(0x34e)](_0x3f321c))==null?void 0x0:_0x48225d[_0x3df67b(0x34e)](_0xc44571),_0x36728f=[];return _0x546351&&Array['from'](_0x546351[_0x3df67b(0x255)]())[_0x3df67b(0x1ed)](_0x1b013c=>{const _0x4fa4f0=_0x3df67b,_0x1c6dc3=_0x546351[_0x4fa4f0(0x34e)](_0x1b013c),_0x975e0=_0x1c6dc3==null?void 0x0:_0x1c6dc3[_0x4fa4f0(0x2c4)];if(_0x975e0)for(const _0x36058e of Object[_0x4fa4f0(0x143)](_0x975e0)){let _0x238ddd=!0x1;for(const _0x54cbf2 of _0x36058e)if(_0x136a03['Rectangle'][_0x4fa4f0(0xe5)](_0x54cbf2,_0x1e9834)){_0x36728f['push'](_0x1b013c),_0x238ddd=!0x0;break;}if(_0x238ddd)break;}}),_0x36728f;}[_0x4ff3ff(0x81)](_0x819f9d,_0x13fe0f){const _0xf1532b=_0x4ff3ff;var _0x480bc2,_0x30b153;return(_0x30b153=(_0x480bc2=this[_0xf1532b(0xb8)][_0xf1532b(0x34e)](_0x819f9d))==null?void 0x0:_0x480bc2['get'](_0x13fe0f))!=null?_0x30b153:new _0x136a03[(_0xf1532b(0xfd))]();}[_0x4ff3ff(0x135)](_0x12d854,_0x35a821){const _0x46772d=_0x4ff3ff;var _0x426f5a;return(_0x426f5a=this[_0x46772d(0x1ba)]['get'](_0x12d854))==null?void 0x0:_0x426f5a[_0x46772d(0x34e)](_0x35a821);}[_0x4ff3ff(0x295)](_0x1d3c72,_0x37473e,_0x37644e){const _0x184dcd=_0x4ff3ff;var _0x18a461,_0x3d30b8;return(_0x3d30b8=(_0x18a461=this['_pivotRenderInfoCache'][_0x184dcd(0x34e)](_0x1d3c72))==null?void 0x0:_0x18a461['get'](_0x37473e))==null?void 0x0:_0x3d30b8[_0x184dcd(0x34e)](_0x37644e);}[_0x4ff3ff(0x201)](_0x3deafb){const _0x1887c3=_0x4ff3ff;this[_0x1887c3(0x1ba)][_0x1887c3(0x1db)](_0x3deafb),this[_0x1887c3(0xb8)][_0x1887c3(0x1db)](_0x3deafb);}[_0x4ff3ff(0x2f9)](_0x1d1c8f,_0xce0ec6){const _0x4a075d=_0x4ff3ff;this[_0x4a075d(0xd7)][_0x4a075d(0x236)]({'unitId':_0x1d1c8f,'subUnitId':_0xce0ec6});}},_0x488dae[_0x4ff3ff(0x1e5)]=_0x45a1a8([_0x58b0f0(0x0,_0x136a03['Inject'](_0x136a03['LocaleService'])),_0x58b0f0(0x1,_0x136a03['Inject'](_0x136a03[_0x4ff3ff(0x214)])),_0x58b0f0(0x2,_0x136a03[_0x4ff3ff(0x2e8)](_0x488dae[_0x4ff3ff(0x302)])),_0x58b0f0(0x3,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x227)])),_0x58b0f0(0x4,_0x136a03[_0x4ff3ff(0x2e8)](_0x47d532[_0x4ff3ff(0x28a)]))],_0x488dae[_0x4ff3ff(0x1e5)]);var _0x6774ea=Object[_0x4ff3ff(0xba)],_0x27cc62=(_0x335a57,_0x500fe9,_0x462878,_0x4485f6)=>{const _0x1fa2ba=_0x4ff3ff;for(var _0x29edf9=_0x4485f6>0x1?void 0x0:_0x4485f6?_0x6774ea(_0x500fe9,_0x462878):_0x500fe9,_0x150ea3=_0x335a57[_0x1fa2ba(0x1ae)]-0x1,_0x585983;_0x150ea3>=0x0;_0x150ea3--)(_0x585983=_0x335a57[_0x150ea3])&&(_0x29edf9=_0x585983(_0x29edf9)||_0x29edf9);return _0x29edf9;},_0x2309f9=(_0x4fd6cc,_0x3578c3)=>(_0x50931d,_0xce4efb)=>_0x3578c3(_0x50931d,_0xce4efb,_0x4fd6cc);_0x488dae[_0x4ff3ff(0x2af)]=class extends _0x136a03['Disposable']{constructor(_0x2bb262,_0x2eca00){const _0x27aed2=_0x4ff3ff;super(),_0x4779db(this,'asyncInterceptor',new _0x136a03[(_0x27aed2(0xc9))]({'PIVOT_PERFORM_CHECK':_0x3a4963})),_0x4779db(this,_0x27aed2(0x163),new _0x136a03['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x117ec4})),(this[_0x27aed2(0x2fc)]=_0x2bb262,this[_0x27aed2(0xa9)]=_0x2eca00,this[_0x27aed2(0x202)]());}['_init'](){const _0x3e38e6=_0x4ff3ff;this[_0x3e38e6(0x6e)]();}[_0x4ff3ff(0x272)](_0x39e6f4){const _0xb81248=_0x4ff3ff;return this['asyncInterceptor'][_0xb81248(0x2f4)](_0x3a4963)(!0x1,_0x39e6f4);}[_0x4ff3ff(0x6e)](){const _0x2f6357=_0x4ff3ff;this['disposeWithMe'](this[_0x2f6357(0x2fc)][_0x2f6357(0x29e)](_0x47d532['INTERCEPTOR_POINT'][_0x2f6357(0x348)],{'priority':0xc8,'effect':_0x136a03[_0x2f6357(0xb5)][_0x2f6357(0x27e)]|_0x136a03[_0x2f6357(0xb5)][_0x2f6357(0x1b8)],'handler':(_0x9b9afd,_0x552ff1,_0x175622)=>{const _0x87ab11=_0x2f6357,{row:_0x194685,col:_0x3ec9fe,unitId:_0x342a1f,subUnitId:_0x53442d,workbook:_0x209e8c}=_0x552ff1,_0x31d1d3=this['_sheetsPivotTableAdaptorModel'][_0x87ab11(0x217)](_0x342a1f,_0x53442d,_0x194685,_0x3ec9fe);if(!_0x31d1d3)return _0x175622(_0x9b9afd);const _0x551f20={..._0x9b9afd};(_0x31d1d3['v']||_0x31d1d3['v']===0x0)&&(_0x551f20['v']=_0x31d1d3['v']),_0x31d1d3['t']&&(_0x551f20['t']=_0x31d1d3['t']);const _0x4b2174=(typeof(_0x9b9afd==null?void 0x0:_0x9b9afd['s'])=='string'?_0x209e8c['getStyles']()['get'](_0x9b9afd==null?void 0x0:_0x9b9afd['s']):_0x9b9afd==null?void 0x0:_0x9b9afd['s'])||{},_0x230ee6=_0x209e8c['getStyles']()['get'](_0x31d1d3['s']),_0x24b0f9={..._0x230ee6,..._0x4b2174};_0x230ee6!=null&&_0x230ee6['n']&&(_0x24b0f9['n']=_0x230ee6['n']);const _0x3600e7=_0x209e8c[_0x87ab11(0x2a5)]()[_0x87ab11(0x1fd)](_0x24b0f9);return _0x551f20['s']=_0x3600e7,(_0x31d1d3[_0x87ab11(0x69)]===_0x10f223[_0x87ab11(0x180)][_0x87ab11(0xdf)]||_0x31d1d3[_0x87ab11(0x69)]===_0x10f223[_0x87ab11(0x180)][_0x87ab11(0x1e1)])&&(_0x551f20['fontRenderExtension']={},_0x551f20[_0x87ab11(0x16b)][_0x87ab11(0x264)]=_0x294e08),_0x175622(_0x551f20);}}));}},_0x488dae[_0x4ff3ff(0x2af)]=_0x27cc62([_0x2309f9(0x0,_0x136a03[_0x4ff3ff(0x2e8)](_0x47d532[_0x4ff3ff(0x91)])),_0x2309f9(0x1,_0x136a03['Inject'](_0x488dae[_0x4ff3ff(0x1e5)]))],_0x488dae[_0x4ff3ff(0x2af)]);const _0x5454da={'id':'sheet.mutation.add-group-collection','type':_0x136a03[_0x4ff3ff(0x2a2)]['MUTATION'],'handler':(_0x1e6e06,_0x346f69)=>{const _0x4b549b=_0x4ff3ff;if(!_0x346f69)return!0x1;if(!!_0x1e6e06[_0x4b549b(0x34e)](_0x136a03[_0x4b549b(0x25a)])[_0x4b549b(0x17b)](_0x2432cb))return!0x0;const {pivotTableId:_0x53f68e,fieldJSON:_0x50f5b1,unitId:_0x1abdd5,subUnitId:_0x362ec0}=_0x346f69;let _0x55903d;const {dataFieldType:_0x1ae077,id:_0x49388d,name:_0x520cf8,hexCode:_0x15e71b,originalFieldId:_0x34ed1}=_0x50f5b1;if(_0x1ae077===_0x10f223['PivotDataFieldTypeEnum'][_0x4b549b(0x1ee)]&&(_0x55903d=new _0x10f223[(_0x4b549b(0x2a1))](_0x49388d,_0x520cf8,_0x15e71b,_0x34ed1)),!_0x55903d)return!0x1;const _0x1fd059=_0x1e6e06[_0x4b549b(0x34e)](_0x488dae['SheetsPivotDataSourceModel']),_0x45fd6c=_0x1fd059[_0x4b549b(0x28c)](_0x1abdd5),_0x43b1b0=_0x45fd6c[_0x4b549b(0x139)](_0x53f68e);_0x45fd6c[_0x4b549b(0x16c)](_0x55903d),_0x43b1b0[_0x4b549b(0x2ae)](_0x55903d[_0x4b549b(0x1c5)](),_0x55903d[_0x4b549b(0x2db)]());const _0x11588c=_0x43b1b0[_0x4b549b(0x176)](_0x55903d[_0x4b549b(0x116)]());_0x11588c&&_0x55903d['refreshGroupField'](_0x11588c);const _0x5ca7c1=_0x1fd059['getPivotTableConfig'](_0x1abdd5,_0x362ec0,_0x53f68e);return _0x1fd059[_0x4b549b(0x2a3)]({'unitId':_0x1abdd5,'subUnitId':_0x362ec0,'token':_0x53f68e,'type':_0x39c7b1[_0x4b549b(0x2f1)],'pivotConfig':_0x5ca7c1}),!0x0;}},_0x1b9fed={'id':_0x4ff3ff(0x383),'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'handler':(_0x1c47b6,_0xed3d90)=>{const _0x1af72a=_0x4ff3ff;if(!_0xed3d90)return!0x1;if(!!_0x1c47b6['get'](_0x136a03[_0x1af72a(0x25a)])[_0x1af72a(0x17b)](_0x2432cb))return!0x0;const {pivotTableId:_0x105b4d,dataFieldId:_0x4d9117,unitId:_0x455ab4,subUnitId:_0x3c1a92}=_0xed3d90,_0x4d7be5=_0x1c47b6['get'](_0x488dae[_0x1af72a(0x16d)]),_0x3743c1=_0x4d7be5[_0x1af72a(0x28c)](_0x455ab4);_0x3743c1[_0x1af72a(0x139)](_0x105b4d)[_0x1af72a(0x6c)](_0x4d9117);let _0x2bee80=!0x0;for(const _0xd71375 in _0x3743c1['collections'])if(_0x3743c1['collections'][_0xd71375][_0x1af72a(0x136)]()[_0x1af72a(0x9d)](_0x4d9117)){_0x2bee80=!0x1;break;}_0x2bee80&&_0x3743c1[_0x1af72a(0x336)](_0x4d9117);const _0x1caf64=_0x4d7be5[_0x1af72a(0x12e)](_0x455ab4,_0x3c1a92,_0x105b4d);return _0x4d7be5['addDirtyPivotTable']({'unitId':_0x455ab4,'subUnitId':_0x3c1a92,'token':_0x105b4d,'type':_0x39c7b1[_0x1af72a(0x2f1)],'pivotConfig':_0x1caf64}),!0x0;}};function _0x1ffc3c(_0x527946,_0x1543c4){const _0x45f699=_0x4ff3ff;switch(_0x1543c4){case _0x10f223['PivotTableFiledAreaEnum'][_0x45f699(0x27e)]:return _0x527946[_0x45f699(0x261)];case _0x10f223[_0x45f699(0x325)][_0x45f699(0x12c)]:return _0x527946[_0x45f699(0x1b5)];case _0x10f223[_0x45f699(0x325)]['Row']:return _0x527946[_0x45f699(0x21c)];case _0x10f223[_0x45f699(0x325)]['Column']:return _0x527946[_0x45f699(0x321)];default:return[];}}function _0x5d22a3(_0x97bc7,_0x3b02c7){const _0x2776b0=_0x4ff3ff;return _0x97bc7['measure'][_0x3b02c7]||_0x97bc7[_0x2776b0(0x33b)][_0x3b02c7];}function _0xf976b(_0xdab03e,_0x15bdad){const _0xbac986=_0x4ff3ff,{area:_0x508d73,fieldJson:_0x40b4ca,index:_0x4d431a}=_0x15bdad;_0x508d73===_0x10f223[_0xbac986(0x325)][_0xbac986(0x27e)]?_0xdab03e[_0xbac986(0x2cc)][_0x40b4ca['id']]=_0x40b4ca:_0xdab03e[_0xbac986(0x33b)][_0x40b4ca['id']]=_0x40b4ca,_0x1ffc3c(_0xdab03e,_0x508d73)['splice'](_0x4d431a,0x0,_0x40b4ca['id']);}function _0x29519b(_0x343ae2,_0x2ba1f1){const _0x362075=_0x4ff3ff,{area:_0x5c5c7d,fieldId:_0x2392c7,index:_0x21647f}=_0x2ba1f1;_0x5c5c7d===_0x10f223[_0x362075(0x325)][_0x362075(0x27e)]?delete _0x343ae2['measure'][_0x2392c7]:delete _0x343ae2[_0x362075(0x33b)][_0x2392c7],_0x1ffc3c(_0x343ae2,_0x5c5c7d)[_0x362075(0x110)](_0x21647f,0x1);}function _0x331b16(_0x4e6e06,_0x4e3b62){const _0x397fc2=_0x4ff3ff,{fieldId:_0x119447,name:_0x5b5039}=_0x4e3b62,_0x1cad48=_0x5d22a3(_0x4e6e06,_0x119447);_0x1cad48&&(_0x1cad48[_0x397fc2(0x12f)]=_0x5b5039);}function _0x594ae2(_0x417489,_0x48cba1){const _0x146960=_0x4ff3ff,{fieldId:_0x2c7a21,collapse:_0x221534,item:_0x2bb68b}=_0x48cba1;_0x2bb68b!==void 0x0?(_0x417489[_0x146960(0x2f2)][_0x2c7a21]=_0x417489[_0x146960(0x2f2)][_0x2c7a21]||{},_0x417489['collapseInfo'][_0x2c7a21][_0x2bb68b]=_0x221534):_0x417489['collapseInfo'][_0x2c7a21]=_0x221534;}function _0x5be1e9(_0x1ab291,_0x31bc4a){const {fieldId:_0x1f3957,format:_0x3b9925}=_0x31bc4a,_0x25d41d=_0x5d22a3(_0x1ab291,_0x1f3957);_0x25d41d&&(_0x25d41d['format']=_0x3b9925);}function _0x2860b9(_0x56e914,_0x28f622){const _0x31922f=_0x4ff3ff,{fieldId:_0x1f1f3a,filterInfo:_0xcef871}=_0x28f622,_0x497db1=_0x5d22a3(_0x56e914,_0x1f1f3a);_0x497db1&&(_0x497db1[_0x31922f(0xe9)]=_0xcef871);}function _0x51a574(_0x47d36c,_0x4438f2){const _0x192b5f=_0x4ff3ff,{fieldId:_0x1cfd6e,filterInfo:_0x807a1b}=_0x4438f2,_0x540357=_0x47d36c['valueFilter'][_0x192b5f(0xb3)](_0x9ecce6=>_0x9ecce6[_0x192b5f(0x195)]!==_0x1cfd6e);_0x807a1b&&_0x540357[_0x192b5f(0xda)]({'fieldId':_0x1cfd6e,'filterInfo':_0x807a1b}),_0x47d36c[_0x192b5f(0x361)]=_0x540357;}function _0x3dc9f2(_0x4c3e16,_0x5bde55){const _0x1d3e5c=_0x4ff3ff,{fieldId:_0x6b3017,subtotalType:_0x553e87}=_0x5bde55,_0x32b5e8=_0x5d22a3(_0x4c3e16,_0x6b3017);_0x32b5e8&&(_0x32b5e8[_0x1d3e5c(0x118)]=_0x553e87);}function _0x51a1ad(_0x4d6de2,_0x1ec6c3){const _0x235f8a=_0x4ff3ff,{fieldId:_0x7b279d,oldArea:_0x4561c3,area:_0x162d7f,oldIndex:_0x3ba46b,index:_0x47f68b}=_0x1ec6c3,_0x5b04d6=_0x4561c3!==_0x10f223[_0x235f8a(0x325)][_0x235f8a(0x27e)]&&_0x162d7f===_0x10f223[_0x235f8a(0x325)][_0x235f8a(0x27e)],_0x28959d=_0x4561c3===_0x10f223['PivotTableFiledAreaEnum'][_0x235f8a(0x27e)]&&_0x162d7f!==_0x10f223['PivotTableFiledAreaEnum'][_0x235f8a(0x27e)];if(_0x5b04d6||_0x28959d){const _0x43dae2=_0x5d22a3(_0x4d6de2,_0x7b279d);_0x43dae2&&(_0x5b04d6?(delete _0x4d6de2[_0x235f8a(0x33b)][_0x7b279d],_0x4d6de2[_0x235f8a(0x2cc)][_0x7b279d]=_0x43dae2):(delete _0x4d6de2['measure'][_0x7b279d],_0x4d6de2[_0x235f8a(0x33b)][_0x7b279d]=_0x43dae2));}const _0x36cd6f=_0x1ffc3c(_0x4d6de2,_0x4561c3),_0x1fdf4c=_0x1ffc3c(_0x4d6de2,_0x162d7f);_0x36cd6f[_0x235f8a(0x110)](_0x3ba46b,0x1),_0x1fdf4c['splice'](_0x47f68b,0x0,_0x7b279d);}function _0x583359(_0x2d3794,_0xd5c14b){const _0xc71e49=_0x4ff3ff,{valuePosition:_0x49189b,index:_0x138b06}=_0xd5c14b;_0x2d3794[_0xc71e49(0x2aa)]=_0x49189b,_0x2d3794['valueIndex']=_0x138b06;}function _0x1aeedd(_0x24b99f,_0x3272f1){const _0x297316=_0x4ff3ff,{tableFieldId:_0x82d56d,sourceName:_0x24d45d,dataFieldId:_0x316dee}=_0x3272f1,_0x26829a=_0x5d22a3(_0x24b99f,_0x82d56d);_0x26829a&&(_0x26829a[_0x297316(0x380)]=_0x24d45d,_0x26829a[_0x297316(0x22d)]=_0x316dee);}function _0x4fcb11(_0x2995a1,_0x55557e){const _0x46fda8=_0x4ff3ff,{fieldId:_0x87a306,sortInfo:_0x28818a}=_0x55557e,_0x2ec38f=_0x5d22a3(_0x2995a1,_0x87a306);_0x2ec38f&&(_0x2ec38f[_0x46fda8(0x157)]=_0x28818a);}function _0x675bc2(_0x58ac34,_0xfa8168){const _0x2bac68=_0x4ff3ff,{options:_0x2b6f17}=_0xfa8168;_0x58ac34[_0x2bac68(0xc1)]={..._0x58ac34[_0x2bac68(0xc1)],..._0x2b6f17};}const _0x537a11={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x2b1),'handler'(_0x377c59,_0x2dacea){const _0x464d29=_0x4ff3ff;if(!_0x2dacea)return!0x1;if(!!_0x377c59[_0x464d29(0x34e)](_0x136a03[_0x464d29(0x25a)])['getConfig'](_0x2432cb))return!0x0;const _0x47d827=_0x377c59['get'](_0x488dae[_0x464d29(0x16d)]),{pivotTableId:_0x1d94f6,fieldJson:_0x246b63,area:_0x59b6ed,index:_0xdfe821,unitId:_0x3667c2,subUnitId:_0x5724c2}=_0x2dacea,_0x3baeaf=_0x47d827['getPivotTableInstance'](_0x1d94f6);if(!_0x3baeaf)return!0x1;let _0x20da28;_0x59b6ed===_0x10f223[_0x464d29(0x325)][_0x464d29(0x27e)]?_0x20da28=_0x10f223[_0x464d29(0x130)](_0x246b63):_0x20da28=_0x10f223[_0x464d29(0x23f)](_0x246b63),_0x3baeaf[_0x464d29(0x2ae)](_0x20da28,_0x59b6ed,_0xdfe821);const _0x422f6e=_0x47d827[_0x464d29(0x301)](_0x3667c2,_0x5724c2,_0x1d94f6);_0xf976b(_0x422f6e,_0x2dacea);const _0xd12fd3=_0x47d827['getPivotTableConfig'](_0x3667c2,_0x5724c2,_0x1d94f6);return _0x47d827[_0x464d29(0x2a3)]({'unitId':_0x3667c2,'subUnitId':_0x5724c2,'token':_0x1d94f6,'type':_0x39c7b1[_0x464d29(0x2f1)],'pivotConfig':_0xd12fd3}),!0x0;}},_0x4870f1={'type':_0x136a03[_0x4ff3ff(0x2a2)]['MUTATION'],'id':_0x4ff3ff(0x28e),'handler'(_0x24df93,_0x5b8d38){const _0x2d685e=_0x4ff3ff;if(!_0x5b8d38)return!0x1;if(!!_0x24df93[_0x2d685e(0x34e)](_0x136a03[_0x2d685e(0x25a)])[_0x2d685e(0x17b)](_0x2432cb))return!0x0;const _0x4de44b=_0x24df93[_0x2d685e(0x34e)](_0x488dae[_0x2d685e(0x16d)]),{pivotTableId:_0x2a8576,fieldId:_0x8cbd6f,unitId:_0x397ac0,subUnitId:_0x36a31d}=_0x5b8d38,_0x273079=_0x4de44b['getPivotTableInstance'](_0x2a8576);if(!_0x273079)return!0x1;_0x273079[_0x2d685e(0x256)](_0x8cbd6f);const _0x5496a0=_0x4de44b[_0x2d685e(0x301)](_0x397ac0,_0x36a31d,_0x2a8576);_0x29519b(_0x5496a0,_0x5b8d38);const _0x5415bd=_0x4de44b[_0x2d685e(0x12e)](_0x397ac0,_0x36a31d,_0x2a8576);return _0x4de44b['addDirtyPivotTable']({'unitId':_0x397ac0,'subUnitId':_0x36a31d,'token':_0x2a8576,'type':_0x39c7b1[_0x2d685e(0x2f1)],'pivotConfig':_0x5415bd}),!0x0;}},_0x8a2cc4={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x212),'handler'(_0x32e25c,_0x578a69){const _0x58cce5=_0x4ff3ff;if(!_0x578a69)return!0x1;if(!!_0x32e25c[_0x58cce5(0x34e)](_0x136a03[_0x58cce5(0x25a)])[_0x58cce5(0x17b)](_0x2432cb))return!0x0;const _0x567ab1=_0x32e25c[_0x58cce5(0x34e)](_0x488dae['SheetsPivotDataSourceModel']),{unitId:_0x4ead2a,subUnitId:_0x47c65b,pivotTableId:_0x4cf6e6,fieldId:_0x58c82b,name:_0x399ed8}=_0x578a69,_0x5da824=_0x567ab1[_0x58cce5(0xbd)](_0x4cf6e6);if(!_0x5da824)return!0x1;_0x5da824['renameField'](_0x58c82b,_0x399ed8);const _0x46e274=_0x567ab1[_0x58cce5(0x301)](_0x4ead2a,_0x47c65b,_0x4cf6e6);return _0x331b16(_0x46e274,_0x578a69),_0x567ab1[_0x58cce5(0x2a3)]({'unitId':_0x4ead2a,'subUnitId':_0x47c65b,'token':_0x4cf6e6,'type':_0x39c7b1[_0x58cce5(0x2f1)]}),!0x0;}},_0x4c3b79={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x14cf26,_0x1ceeac){const _0x43a4df=_0x4ff3ff;if(!_0x1ceeac)return!0x1;if(!!_0x14cf26[_0x43a4df(0x34e)](_0x136a03[_0x43a4df(0x25a)])[_0x43a4df(0x17b)](_0x2432cb))return!0x0;const _0xf53960=_0x14cf26[_0x43a4df(0x34e)](_0x488dae[_0x43a4df(0x16d)]),{unitId:_0x5e4d32,subUnitId:_0x2106c2,pivotTableId:_0x20a74e,fieldId:_0x2c252e,collapse:_0xbac753,item:_0x269561}=_0x1ceeac,_0x2f6af0=_0xf53960['getPivotTableInstance'](_0x20a74e);if(!_0x2f6af0)return!0x1;_0x2f6af0[_0x43a4df(0x10a)](_0x2c252e,_0xbac753,_0x269561);const _0x49c458=_0xf53960['getPivotTableModelConfig'](_0x5e4d32,_0x2106c2,_0x20a74e);return _0x594ae2(_0x49c458,_0x1ceeac),_0xf53960[_0x43a4df(0x2a3)]({'unitId':_0x5e4d32,'subUnitId':_0x2106c2,'token':_0x20a74e,'type':_0x39c7b1['Set']}),!0x0;}},_0x47e9c4={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x2f6),'handler'(_0x45448f,_0x3e458c){const _0x5e6fa8=_0x4ff3ff;if(!_0x3e458c)return!0x1;if(!!_0x45448f[_0x5e6fa8(0x34e)](_0x136a03[_0x5e6fa8(0x25a)])[_0x5e6fa8(0x17b)](_0x2432cb))return!0x0;const _0x5c8359=_0x45448f['get'](_0x488dae[_0x5e6fa8(0x16d)]),{unitId:_0x7da92d,subUnitId:_0x5a8932,pivotTableId:_0x762bf2,fieldId:_0x58b90c,format:_0x456f2c}=_0x3e458c,_0x46fc67=_0x5c8359['getPivotTableInstance'](_0x762bf2);if(!_0x46fc67)return!0x1;_0x46fc67['setFieldFormat'](_0x58b90c,_0x456f2c);const _0x38c1f3=_0x5c8359[_0x5e6fa8(0x301)](_0x7da92d,_0x5a8932,_0x762bf2);return _0x5be1e9(_0x38c1f3,_0x3e458c),_0x5c8359['addDirtyPivotTable']({'unitId':_0x7da92d,'subUnitId':_0x5a8932,'token':_0x762bf2,'type':_0x39c7b1[_0x5e6fa8(0x2f1)]}),!0x0;}},_0x1594e5={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':'sheet.mutation.set-pivot-filter','handler'(_0x45151f,_0x221aac){const _0x5368f8=_0x4ff3ff;if(!_0x221aac)return!0x1;if(!!_0x45151f['get'](_0x136a03['IConfigService'])['getConfig'](_0x2432cb))return!0x0;const _0x3b2667=_0x45151f[_0x5368f8(0x34e)](_0x488dae[_0x5368f8(0x16d)]),{unitId:_0x5c1330,subUnitId:_0x399012,pivotTableId:_0x176915,fieldId:_0x410f76,filterInfo:_0x130728}=_0x221aac,_0xf49a0=_0x3b2667[_0x5368f8(0xbd)](_0x176915);if(!_0xf49a0)return!0x1;_0xf49a0['setLabelFilterInfo'](_0x410f76,_0x130728);const _0x22b0eb=_0x3b2667[_0x5368f8(0x301)](_0x5c1330,_0x399012,_0x176915);return _0x2860b9(_0x22b0eb,_0x221aac),_0x3b2667['addDirtyPivotTable']({'unitId':_0x5c1330,'subUnitId':_0x399012,'token':_0x176915,'type':_0x39c7b1[_0x5368f8(0x2f1)]}),!0x0;}},_0x5118aa={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x68),'handler'(_0x13ac09,_0x545e59){const _0x200ede=_0x4ff3ff;if(!_0x545e59)return!0x1;if(!!_0x13ac09[_0x200ede(0x34e)](_0x136a03[_0x200ede(0x25a)])[_0x200ede(0x17b)](_0x2432cb))return!0x0;const _0x2d84ab=_0x13ac09[_0x200ede(0x34e)](_0x488dae[_0x200ede(0x16d)]),{unitId:_0x23fca4,subUnitId:_0x4e5301,pivotTableId:_0x38b293,options:_0x51df5f}=_0x545e59,_0x412319=_0x2d84ab[_0x200ede(0xbd)](_0x38b293);if(!_0x412319)return!0x1;_0x412319[_0x200ede(0x2c8)](_0x51df5f);const _0x30e15c=_0x2d84ab[_0x200ede(0x301)](_0x23fca4,_0x4e5301,_0x38b293);return _0x675bc2(_0x30e15c,_0x545e59),_0x2d84ab[_0x200ede(0x2a3)]({'unitId':_0x23fca4,'subUnitId':_0x4e5301,'token':_0x38b293,'type':_0x39c7b1['Set']}),!0x0;}},_0x553b85={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x125),'handler'(_0x3831cf,_0x396467){const _0x2202d3=_0x4ff3ff;if(!_0x396467)return!0x1;if(!!_0x3831cf[_0x2202d3(0x34e)](_0x136a03[_0x2202d3(0x25a)])[_0x2202d3(0x17b)](_0x2432cb))return!0x0;const _0x2cc417=_0x3831cf[_0x2202d3(0x34e)](_0x488dae[_0x2202d3(0x16d)]),{unitId:_0x47a866,subUnitId:_0x5cd1e1,pivotTableId:_0x51039c,sortInfo:_0x38db63,fieldId:_0xf92966}=_0x396467,_0x55c3e2=_0x2cc417[_0x2202d3(0xbd)](_0x51039c);if(!_0x55c3e2)return!0x1;_0x55c3e2['setSortInfo'](_0xf92966,_0x38db63);const _0xf385ab=_0x2cc417[_0x2202d3(0x301)](_0x47a866,_0x5cd1e1,_0x51039c);return _0x4fcb11(_0xf385ab,_0x396467),_0x2cc417['addDirtyPivotTable']({'unitId':_0x47a866,'subUnitId':_0x5cd1e1,'token':_0x51039c,'type':_0x39c7b1[_0x2202d3(0x2f1)]}),!0x0;}},_0x203adf={'type':_0x136a03['CommandType']['MUTATION'],'id':_0x4ff3ff(0x1cd),'handler'(_0x2add21,_0x1a3355){const _0xd75488=_0x4ff3ff;if(!_0x1a3355)return!0x1;if(!!_0x2add21['get'](_0x136a03[_0xd75488(0x25a)])['getConfig'](_0x2432cb))return!0x0;const _0x11e4b5=_0x2add21['get'](_0x488dae[_0xd75488(0x16d)]),{unitId:_0x262d7e,subUnitId:_0x447e1f,pivotTableId:_0x2aabd4,fieldId:_0x27511e,subtotalType:_0x11ef22}=_0x1a3355,_0x350c07=_0x11e4b5[_0xd75488(0xbd)](_0x2aabd4);if(!_0x350c07)return!0x1;_0x350c07[_0xd75488(0x177)](_0x27511e,_0x11ef22);const _0x14d8e5=_0x11e4b5[_0xd75488(0x301)](_0x262d7e,_0x447e1f,_0x2aabd4);return _0x3dc9f2(_0x14d8e5,_0x1a3355),_0x11e4b5[_0xd75488(0x2a3)]({'unitId':_0x262d7e,'subUnitId':_0x447e1f,'token':_0x2aabd4,'type':_0x39c7b1[_0xd75488(0x2f1)]}),!0x0;}},_0x119fca={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x204),'handler'(_0x5285d2,_0x3a018a){const _0x502b3d=_0x4ff3ff;if(!_0x3a018a)return!0x1;if(!!_0x5285d2[_0x502b3d(0x34e)](_0x136a03[_0x502b3d(0x25a)])[_0x502b3d(0x17b)](_0x2432cb))return!0x0;const _0x331655=_0x5285d2[_0x502b3d(0x34e)](_0x488dae[_0x502b3d(0x16d)]),{unitId:_0x7af721,subUnitId:_0x2e739e,pivotTableId:_0x22a0d8,fieldId:_0x397298,filterInfo:_0x285517}=_0x3a018a,_0x404008=_0x331655[_0x502b3d(0xbd)](_0x22a0d8);if(!_0x404008)return!0x1;_0x404008[_0x502b3d(0x79)](_0x397298,_0x285517);const _0xc905ef=_0x331655[_0x502b3d(0x301)](_0x7af721,_0x2e739e,_0x22a0d8);return _0x51a574(_0xc905ef,_0x3a018a),_0x331655['addDirtyPivotTable']({'unitId':_0x7af721,'subUnitId':_0x2e739e,'token':_0x22a0d8,'type':_0x39c7b1[_0x502b3d(0x2f1)]}),!0x0;}},_0x22ec60={'type':_0x136a03[_0x4ff3ff(0x2a2)]['MUTATION'],'id':_0x4ff3ff(0x243),'handler'(_0x60fb15,_0x202bfe){const _0x484732=_0x4ff3ff;if(!_0x202bfe)return!0x1;if(!!_0x60fb15[_0x484732(0x34e)](_0x136a03[_0x484732(0x25a)])[_0x484732(0x17b)](_0x2432cb))return!0x0;const _0x5e7163=_0x60fb15[_0x484732(0x34e)](_0x488dae[_0x484732(0x16d)]),{unitId:_0x469261,subUnitId:_0x4f3d26,pivotTableId:_0x57d401,area:_0x37af95,index:_0x4f229a,fieldId:_0x2db3b7}=_0x202bfe,_0x37ab5a=_0x5e7163[_0x484732(0xbd)](_0x57d401);if(!_0x37ab5a)return!0x1;_0x37ab5a[_0x484732(0x93)](_0x2db3b7,_0x37af95,_0x4f229a);const _0x38559a=_0x5e7163[_0x484732(0x301)](_0x469261,_0x4f3d26,_0x57d401);return _0x51a1ad(_0x38559a,_0x202bfe),_0x5e7163[_0x484732(0x2a3)]({'unitId':_0x469261,'subUnitId':_0x4f3d26,'token':_0x57d401,'type':_0x39c7b1[_0x484732(0x2f1)]}),!0x0;}},_0x5d9f62={'type':_0x136a03['CommandType'][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0xf7),'handler'(_0x3cdf0a,_0xceeb00){const _0x1debdf=_0x4ff3ff;if(!_0xceeb00)return!0x1;if(!!_0x3cdf0a[_0x1debdf(0x34e)](_0x136a03[_0x1debdf(0x25a)])[_0x1debdf(0x17b)](_0x2432cb))return!0x0;const _0x28e54e=_0x3cdf0a[_0x1debdf(0x34e)](_0x488dae[_0x1debdf(0x16d)]),{unitId:_0x24e71e,subUnitId:_0x1b44bf,pivotTableId:_0x329abf,sourceName:_0x360c29,dataFieldId:_0xfb047a,tableFieldId:_0x1dd2ee}=_0xceeb00,_0x198efe=_0x28e54e[_0x1debdf(0xbd)](_0x329abf);if(!_0x198efe)return!0x1;_0x198efe[_0x1debdf(0x35a)](_0x1dd2ee,_0x360c29,_0xfb047a);const _0x3524d1=_0x28e54e[_0x1debdf(0x301)](_0x24e71e,_0x1b44bf,_0x329abf);return _0x1aeedd(_0x3524d1,_0xceeb00),_0x28e54e['addDirtyPivotTable']({'unitId':_0x24e71e,'subUnitId':_0x1b44bf,'token':_0x329abf,'type':_0x39c7b1['Set']}),!0x0;}},_0x232f99={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x10e),'handler'(_0x28180a,_0x3ba4b1){const _0x2544f9=_0x4ff3ff;if(!_0x3ba4b1)return!0x1;if(!!_0x28180a[_0x2544f9(0x34e)](_0x136a03['IConfigService'])[_0x2544f9(0x17b)](_0x2432cb))return!0x0;const _0x16d6e8=_0x28180a[_0x2544f9(0x34e)](_0x488dae[_0x2544f9(0x16d)]),{unitId:_0x46699e,subUnitId:_0xb785f7,pivotTableId:_0x4aa586,valuePosition:_0x3d2c1c,index:_0x408894}=_0x3ba4b1,_0x282b80=_0x16d6e8['getPivotTableInstance'](_0x4aa586);if(!_0x282b80)return!0x1;_0x282b80[_0x2544f9(0x197)](_0x3d2c1c,_0x408894);const _0x155c31=_0x16d6e8[_0x2544f9(0x301)](_0x46699e,_0xb785f7,_0x4aa586);return _0x583359(_0x155c31,_0x3ba4b1),_0x16d6e8[_0x2544f9(0x2a3)]({'unitId':_0x46699e,'subUnitId':_0xb785f7,'token':_0x4aa586,'type':_0x39c7b1[_0x2544f9(0x2f1)]}),!0x0;}};function _0x3837e3(_0x5e8f1d,_0x881efd,_0x370c06){const _0x52bf66=_0x4ff3ff,{pivotTableId:_0xf467a5,unitId:_0x7a145f,subUnitId:_0x3f9848}=_0x881efd,_0x50bf61=[],_0x503ca9=[];for(const _0x1e3fac of _0x370c06)switch(_0x1e3fac[_0x52bf66(0x20d)]){case _0x10f223[_0x52bf66(0xec)]['AddField']:{const {fieldJson:_0x192c0d,area:_0x5d18e2,index:_0xd200b9}=_0x1e3fac,_0x20d69f={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldJson':_0x192c0d,'area':_0x5d18e2,'index':_0xd200b9},_0x436d9c={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x192c0d['id'],'area':_0x5d18e2,'index':_0xd200b9};_0x50bf61[_0x52bf66(0xda)]({'id':_0x537a11['id'],'params':_0x20d69f}),_0x503ca9[_0x52bf66(0x246)]({'id':_0x4870f1['id'],'params':_0x436d9c});}break;case _0x10f223[_0x52bf66(0xec)][_0x52bf66(0x2ce)]:{const {fieldId:_0x421fe1,newSubtotalType:_0x252f01,oldSubtotalType:_0x209eb6}=_0x1e3fac,_0x3a7316={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x421fe1,'subtotalType':_0x252f01};_0x50bf61['push']({'id':_0x203adf['id'],'params':_0x3a7316});const _0x46569d={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x421fe1,'subtotalType':_0x209eb6};_0x503ca9[_0x52bf66(0x246)]({'id':_0x203adf['id'],'params':_0x46569d});}break;case _0x10f223[_0x52bf66(0xec)]['RemoveField']:{const {fieldId:_0x3a7f74,fieldJson:_0x46cd1b,area:_0x2bc54e,index:_0x538cb4}=_0x1e3fac,_0x2537a0={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x3a7f74,'index':_0x538cb4,'area':_0x2bc54e};_0x50bf61[_0x52bf66(0xda)]({'id':_0x4870f1['id'],'params':_0x2537a0});const _0x72c0cf={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldJson':_0x46cd1b,'area':_0x2bc54e,'index':_0x538cb4};_0x503ca9[_0x52bf66(0x246)]({'id':_0x537a11['id'],'params':_0x72c0cf});}break;case _0x10f223[_0x52bf66(0xec)][_0x52bf66(0x193)]:{const {fieldId:_0xa8f071,oldName:_0x234454,newName:_0x3b29b8}=_0x1e3fac,_0x47fbd5={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0xa8f071,'name':_0x3b29b8};_0x50bf61[_0x52bf66(0xda)]({'id':_0x8a2cc4['id'],'params':_0x47fbd5});const _0x1fc254={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0xa8f071,'name':_0x234454};_0x503ca9['unshift']({'id':_0x8a2cc4['id'],'params':_0x1fc254});}break;case _0x10f223[_0x52bf66(0xec)]['SetFilterInfo']:{const {fieldId:_0x777ea8,oldFilterInfo:_0x3dc9b3,newFilterInfo:_0x3d26d5}=_0x1e3fac,_0x234aec={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x777ea8,'filterInfo':_0x3d26d5};_0x50bf61[_0x52bf66(0xda)]({'id':_0x1594e5['id'],'params':_0x234aec});const _0x4f48a2={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x777ea8,'filterInfo':_0x3dc9b3};_0x503ca9['unshift']({'id':_0x1594e5['id'],'params':_0x4f48a2});}break;case _0x10f223[_0x52bf66(0xec)][_0x52bf66(0x365)]:{const {fieldId:_0x2c358a,oldSortInfo:_0x4b13c2,newSortInfo:_0x4a3f7d}=_0x1e3fac,_0x428729={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x2c358a,'sortInfo':_0x4a3f7d};_0x50bf61['push']({'id':_0x553b85['id'],'params':_0x428729});const _0x4bf7dd={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x2c358a,'sortInfo':_0x4b13c2};_0x503ca9[_0x52bf66(0x246)]({'id':_0x553b85['id'],'params':_0x4bf7dd});}break;case _0x10f223['PivotTableChangeTypeEnum']['SetOptions']:{const {oldOptions:_0x39ef2d,newOptions:_0x1129d1}=_0x1e3fac,_0x291848={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'options':_0x1129d1};_0x50bf61[_0x52bf66(0xda)]({'id':_0x5118aa['id'],'params':_0x291848});const _0x205fc8={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'options':_0x39ef2d};_0x503ca9[_0x52bf66(0x246)]({'id':_0x5118aa['id'],'params':_0x205fc8});}break;case _0x10f223[_0x52bf66(0xec)][_0x52bf66(0x172)]:{const {oldArea:_0x29b8f5,newArea:_0x116be6,oldIndex:_0xf3f7f8,newIndex:_0x380bfe,fieldId:_0x84a3f1}=_0x1e3fac,_0x565de4={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x84a3f1,'area':_0x116be6,'index':_0x380bfe,'oldArea':_0x29b8f5,'oldIndex':_0xf3f7f8};_0x50bf61['push']({'id':_0x22ec60['id'],'params':_0x565de4});const _0x3dce45={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x84a3f1,'area':_0x29b8f5,'index':_0xf3f7f8,'oldArea':_0x116be6,'oldIndex':_0x380bfe};_0x503ca9[_0x52bf66(0x246)]({'id':_0x22ec60['id'],'params':_0x3dce45});}break;case _0x10f223['PivotTableChangeTypeEnum'][_0x52bf66(0xf1)]:{const {oldValuePosition:_0x521c73,newValuePosition:_0x374939,oldIndex:_0x93a329,newIndex:_0xc9295b}=_0x1e3fac,_0x49915b={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'valuePosition':_0x374939,'index':_0xc9295b};_0x50bf61[_0x52bf66(0xda)]({'id':_0x232f99['id'],'params':_0x49915b});const _0x8a219d={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'valuePosition':_0x521c73,'index':_0x93a329};_0x503ca9['unshift']({'id':_0x232f99['id'],'params':_0x8a219d});}break;case _0x10f223[_0x52bf66(0xec)][_0x52bf66(0x2ea)]:{const {fieldId:_0x526b25,collapse:_0x2c3583,item:_0x259abc}=_0x1e3fac,_0x2717ca={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x526b25,'collapse':_0x2c3583,'item':_0x259abc};_0x50bf61[_0x52bf66(0xda)]({'id':_0x4c3b79['id'],'params':_0x2717ca});const _0x276228={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x526b25,'collapse':!_0x2c3583,'item':_0x259abc};_0x503ca9['unshift']({'id':_0x4c3b79['id'],'params':_0x276228});}break;case _0x10f223[_0x52bf66(0xec)][_0x52bf66(0x27f)]:{const {newFormat:_0x109ee0,oldFormat:_0x58a677,fieldId:_0x12ca72}=_0x1e3fac,_0x1b49d7={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x12ca72,'format':_0x109ee0};_0x50bf61['push']({'id':_0x47e9c4['id'],'params':_0x1b49d7});const _0x57ade5={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x12ca72,'format':_0x58a677};_0x503ca9[_0x52bf66(0x246)]({'id':_0x47e9c4['id'],'params':_0x57ade5});}break;case _0x10f223[_0x52bf66(0xec)][_0x52bf66(0x2d6)]:{const {tableFieldId:_0x265704,oldSourceName:_0x48193d,newSourceName:_0x2f67ee,oldDataFieldId:_0x137131,newDataFieldId:_0x215cea}=_0x1e3fac,_0x49aed7={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'tableFieldId':_0x265704,'sourceName':_0x2f67ee,'dataFieldId':_0x215cea};_0x50bf61[_0x52bf66(0xda)]({'id':_0x5d9f62['id'],'params':_0x49aed7});const _0x368442={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'tableFieldId':_0x265704,'sourceName':_0x48193d,'dataFieldId':_0x137131};_0x503ca9[_0x52bf66(0x246)]({'id':_0x5d9f62['id'],'params':_0x368442});}break;case _0x10f223[_0x52bf66(0xec)][_0x52bf66(0xc4)]:{const {fieldId:_0x326213,filterInfo:_0x33d3f4,oldFilterInfo:_0x1377f4}=_0x1e3fac,_0x23105c={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x326213,'filterInfo':_0x33d3f4};_0x50bf61[_0x52bf66(0xda)]({'id':_0x119fca['id'],'params':_0x23105c});const _0x3c35d3={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x326213,'filterInfo':_0x1377f4};_0x503ca9[_0x52bf66(0x246)]({'id':_0x119fca['id'],'params':_0x3c35d3});}}return{'redos':_0x50bf61,'undos':_0x503ca9};}function _0x15a8dc(_0x4a5a5b,_0x58c325){const _0x513519=_0x4ff3ff;var _0x4d204f;const _0x411bd4=_0x4a5a5b['get'](_0x488dae[_0x513519(0x2af)]),{cellInfo:_0x34e86f,view:_0x4c4266,isEmpty:_0x55bcee}=_0x58c325;return(_0x4d204f=_0x411bd4['interceptor'][_0x513519(0x277)](_0x117ec4)(_0x5cc8fa,{'cellInfo':_0x34e86f,'view':_0x4c4266,'isEmpty':_0x55bcee}))!=null?_0x4d204f:_0x5cc8fa;}const _0x2c0605={'type':_0x136a03[_0x4ff3ff(0x2a2)]['COMMAND'],'id':_0x4ff3ff(0x2b4),async 'handler'(_0x534f3a,_0x240349){const _0x579684=_0x4ff3ff;if(!_0x240349)return!0x1;const _0x50eeb2=_0x534f3a[_0x579684(0x34e)](_0x136a03[_0x579684(0x13a)]),_0x585dc7=_0x534f3a[_0x579684(0x34e)](_0x488dae['SheetsPivotRPCService']),_0x45fc88=_0x534f3a['get'](_0x136a03[_0x579684(0x2d1)]),{pivotTableId:_0xccc26a,dataFieldId:_0x45e5e5,fieldArea:_0x49aa54,index:_0x200d90,unitId:_0x710f4f,subUnitId:_0x2854b9}=_0x240349,_0x5f1486=(await _0x585dc7['getPivotDisplayConfig']({'unitId':_0x710f4f,'subUnitId':_0x2854b9,'pivotTableId':_0xccc26a,'params':{'type':_0x434fd6['AddPivotField'],'addPivotField':{'dataFieldId':_0x45e5e5,'fieldArea':_0x49aa54,'index':_0x200d90}}}))['result']['addPivotField'];if(!_0x5f1486)return!0x1;const {view:_0x3f12d8,changesets:_0x4bdd6d,isEmpty:_0xb97af6,pivotTableConfig:_0x5ee1bc,shouldBeAddedGroupJSON:_0x52641f}=_0x5f1486,_0x1e3730=_0x5ee1bc[_0x579684(0x271)],_0x40060b=new _0x10f223[(_0x579684(0x32d))]();_0x40060b[_0x579684(0x2ed)](_0x3f12d8);const _0x4012f1={'cellInfo':_0x1e3730,'view':_0x40060b,'isEmpty':_0xb97af6};if(!await _0x534f3a[_0x579684(0x34e)](_0x488dae[_0x579684(0x2af)])['asyncInterceptor'][_0x579684(0x2f4)](_0x3a4963)(!0x0,_0x4012f1))return!0x1;const _0x441bd4=_0x1fa301(_0x534f3a,_0x40060b,_0x1e3730,_0xb97af6),_0x16c2a8=_0x15a8dc(_0x534f3a,_0x4012f1),{undos:_0x71b431,redos:_0x122e31}=_0x3837e3(_0x50eeb2,{'pivotTableId':_0xccc26a,'unitId':_0x710f4f,'subUnitId':_0x2854b9},_0x4bdd6d);return _0x52641f&&(_0x122e31[_0x579684(0x246)]({'id':_0x5454da['id'],'params':{'pivotTableId':_0xccc26a,'fieldJSON':_0x52641f,'unitId':_0x710f4f,'subUnitId':_0x2854b9}}),_0x71b431[_0x579684(0xda)]({'id':_0x1b9fed['id'],'params':{'pivotTableId':_0xccc26a,'dataFieldId':_0x52641f['id'],'unitId':_0x710f4f,'subUnitId':_0x2854b9}})),_0x136a03[_0x579684(0x297)]([..._0x441bd4[_0x579684(0x1aa)],..._0x16c2a8[_0x579684(0x1aa)],..._0x122e31],_0x50eeb2),_0x45fc88[_0x579684(0x266)]({'unitID':_0x710f4f,'redoMutations':[..._0x441bd4[_0x579684(0x1aa)],..._0x16c2a8[_0x579684(0x1aa)],..._0x122e31],'undoMutations':[..._0x441bd4[_0x579684(0x166)],..._0x16c2a8[_0x579684(0x166)],..._0x71b431]}),!0x0;}},_0x4ef1ea=()=>typeof process<'u'&&process[_0x4ff3ff(0x9b)]!=null&&process[_0x4ff3ff(0x9b)][_0x4ff3ff(0x165)]!=null,_0x5f77cb={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x15a),'handler'(_0x4a0dec,_0x253cb6){const _0x3fad60=_0x4ff3ff;var _0x19ce1e;if(!_0x253cb6)return!0x1;const _0x59d53e=_0x4a0dec[_0x3fad60(0x34e)](_0x136a03[_0x3fad60(0x25a)]);if(!!_0x59d53e[_0x3fad60(0x17b)](_0x2432cb))return!0x0;const _0x2d51cf=_0x4a0dec[_0x3fad60(0x34e)](_0x136a03[_0x3fad60(0x227)]),_0x332541=_0x4a0dec[_0x3fad60(0x34e)](_0x488dae[_0x3fad60(0x16d)]),{pivotTableId:_0x96b0fb,pivotTableConfig:_0x74c6fb,collectionConfig:_0x3a4134,unitId:_0x11e526,subUnitId:_0x4d0c6a}=_0x253cb6,{sourceRangeInfo:_0x4fdc3a,fieldsConfig:_0x1be45c,targetCellInfo:_0x4ff652}=_0x74c6fb,_0x203e45=_0x2d51cf[_0x3fad60(0x229)](_0x11e526);if(!_0x203e45||!_0x203e45[_0x3fad60(0x6d)](_0x4d0c6a))return!0x1;if(!_0x4ef1ea()){let _0x4b2617=0x0;_0x203e45[_0x3fad60(0x1cf)]()['forEach'](_0x39a8e2=>{const _0x44fed7=_0x3fad60;var _0x105877,_0x4214ab;_0x4b2617+=(_0x4214ab=(_0x105877=_0x332541['getSubUnitPivotConfigs'](_0x11e526,_0x39a8e2['getSheetId']()))==null?void 0x0:_0x105877[_0x44fed7(0x26f)])!=null?_0x4214ab:0x0;});const _0x36c73a=(_0x19ce1e=_0x59d53e[_0x3fad60(0x17b)](_0x3f0c04['LS_CONFIG_KEY']))!=null?_0x19ce1e:{},{ls:_0x14760d,pbk:_0x1f9e4f}=_0x36c73a;if(!_0x2974b0(_0x14760d,_0x1f9e4f))throw new _0x136a03[(_0x3fad60(0x32a))]('limit\x20pivot');const _0x29a206=_0x3f7c6d(_0x2e79d7,_0x14760d,_0x1f9e4f)['count'];if(_0x4b2617>=_0x29a206)throw new _0x136a03[(_0x3fad60(0x32a))](_0x3fad60(0x347));}if(!_0x3a4134||!_0x1be45c)return!0x1;const {collection:_0x42501e,updateDataFieldList:_0x112d8f}=_0x332541[_0x3fad60(0x142)](_0x96b0fb,_0x3a4134,_0x4fdc3a,_0x4ff652);_0x332541[_0x3fad60(0x82)](_0x42501e,_0x112d8f,_0x4fdc3a);const _0x13984e=new _0x10f223[(_0x3fad60(0x31a))](_0x42501e,void 0x0,_0x96b0fb);_0x13984e['fromJSON'](_0x1be45c);const _0x12790f=JSON[_0x3fad60(0x2da)](JSON[_0x3fad60(0x37d)](_0x74c6fb));return _0x332541[_0x3fad60(0xa2)](_0x11e526,_0x4d0c6a,_0x96b0fb,_0x13984e,_0x12790f),_0x332541[_0x3fad60(0x2a3)]({'unitId':_0x11e526,'subUnitId':_0x4d0c6a,'token':_0x96b0fb,'type':_0x39c7b1[_0x3fad60(0x37e)],'pivotConfig':_0x12790f}),!0x0;}},_0x3e865c={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x75),async 'handler'(_0x1c469e,_0x159d29){const _0x19d2ae=_0x4ff3ff;if(!_0x159d29)return!0x1;const {sourceDataInfo:_0x39aced,pivotTableConfig:_0x3f66ef}=_0x159d29;if(!_0x39aced||!_0x3f66ef)return!0x1;const {unitId:_0x23731b,subUnitId:_0x49263e,range:_0x2ee2cf}=_0x39aced,_0x32ca24=_0x1c469e[_0x19d2ae(0x34e)](_0x136a03[_0x19d2ae(0x227)]),_0x246c3d=_0x1c469e[_0x19d2ae(0x34e)](_0x488dae['SheetsPivotRPCService']),_0x4a3449=_0x1c469e['get'](_0x136a03[_0x19d2ae(0xac)]),_0x38ece0=_0x1c469e['get'](_0x136a03[_0x19d2ae(0x13a)]),_0x521185=_0x32ca24[_0x19d2ae(0x229)](_0x23731b);if(!_0x521185)return!0x1;const _0x120efe=_0x521185[_0x19d2ae(0x6d)](_0x49263e);if(!_0x120efe)return!0x1;const _0x11df60=_0x10f223[_0x19d2ae(0xb2)](0x8),_0x4197ac=_0x2ee2cf||{'startRow':0x0,'startColumn':0x0,'endRow':_0x120efe[_0x19d2ae(0x322)]()-0x1,'endColumn':_0x120efe[_0x19d2ae(0x2fe)]()-0x1};_0x4197ac['rangeType']=_0x136a03[_0x19d2ae(0x19b)][_0x19d2ae(0x2a9)];const _0x3478bc=(await _0x246c3d[_0x19d2ae(0x36c)]({'unitId':_0x23731b,'subUnitId':_0x49263e,'pivotTableId':_0x11df60,'params':{'type':_0x434fd6[_0x19d2ae(0x92)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x23731b,'sheetName':_0x120efe[_0x19d2ae(0x2db)](),'subUnitId':_0x49263e,'range':_0x4197ac},'pivotTableId':_0x11df60,'pivotTableIndexConfig':_0x3f66ef}}}))[_0x19d2ae(0x340)][_0x19d2ae(0x29b)];if(!_0x3478bc)return!0x1;const {isEmpty:_0x5273ce,fieldsConfig:_0xfb1485,collectionConfig:_0xfaf74a,changesets:_0x2371f4}=_0x3478bc,_0x535f7f=_0x521185[_0x19d2ae(0x1cf)]()[_0x19d2ae(0x1ae)],_0x1a2c0d=_0x136a03[_0x19d2ae(0x353)]({'rowCount':_0x120efe[_0x19d2ae(0x322)]()-0x1,'columnCount':_0x120efe[_0x19d2ae(0x2fe)]()-0x1});_0x1a2c0d['id']=_0x136a03['generateRandomId'](),_0x1a2c0d['name']=_0x521185[_0x19d2ae(0x17e)](''+_0x4a3449['t'](_0x19d2ae(0x23a)));const _0x434d72={'index':_0x535f7f,'sheet':_0x1a2c0d,'unitId':_0x23731b},{redos:_0x454457}=_0x3837e3(_0x38ece0,{'pivotTableId':_0x11df60,'unitId':_0x23731b,'subUnitId':_0x1a2c0d['id']},_0x2371f4),_0x431b3f=[{'id':_0x47d532['InsertSheetCommand']['id'],'params':_0x434d72},{'id':_0x5f77cb['id'],'params':{'unitId':_0x23731b,'subUnitId':_0x1a2c0d['id'],'pivotTableId':_0x11df60,'pivotTableConfig':{'isEmpty':_0x5273ce,'fieldsConfig':_0xfb1485,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x23731b,'subUnitId':_0x1a2c0d['id']},'sourceRangeInfo':{'subUnitId':_0x49263e,'unitId':_0x23731b,'range':_0x4197ac,'sheetName':_0x120efe[_0x19d2ae(0x2db)]()}},'collectionConfig':_0xfaf74a}},..._0x454457];return _0x136a03[_0x19d2ae(0x297)](_0x431b3f,_0x38ece0),!0x0;}},_0x1e490e={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':'sheet.mutation.remove-pivot-table','handler'(_0xdfa5a6,_0x528e6c){const _0x771aaa=_0x4ff3ff;if(!_0x528e6c)return!0x1;if(!!_0xdfa5a6[_0x771aaa(0x34e)](_0x136a03[_0x771aaa(0x25a)])[_0x771aaa(0x17b)](_0x2432cb))return!0x0;const {pivotTableId:_0x25c86e,unitId:_0x3977c7,subUnitId:_0x30e3f5}=_0x528e6c,_0x2d7e7e=_0xdfa5a6[_0x771aaa(0x34e)](_0x488dae[_0x771aaa(0x16d)]);return _0x2d7e7e[_0x771aaa(0x12e)](_0x3977c7,_0x30e3f5,_0x25c86e)?(_0x2d7e7e[_0x771aaa(0x2a3)]({'unitId':_0x3977c7,'subUnitId':_0x30e3f5,'token':_0x25c86e,'type':_0x39c7b1[_0x771aaa(0x275)]}),_0x2d7e7e[_0x771aaa(0x2c0)](_0x3977c7,_0x30e3f5,_0x25c86e),!0x0):!0x1;}},_0x4fcdd3={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x149),async 'handler'(_0x384c4e,_0x51ed88){const _0x573d2b=_0x4ff3ff;var _0x4596fe,_0x592aa5;const _0x417b79=_0x384c4e[_0x573d2b(0x34e)](_0x136a03[_0x573d2b(0x13a)]),_0x2b74c2=_0x384c4e[_0x573d2b(0x34e)](_0x136a03[_0x573d2b(0x227)]),_0x144853=_0x384c4e[_0x573d2b(0x34e)](_0x136a03[_0x573d2b(0xac)]),_0x210146=_0x384c4e[_0x573d2b(0x34e)](_0x488dae[_0x573d2b(0x120)]),_0x58a87a=_0x384c4e['get'](_0x136a03[_0x573d2b(0x2d1)]),_0xd31529=_0x384c4e[_0x573d2b(0x34e)](_0x488dae[_0x573d2b(0x302)]),_0x596fb3=_0x384c4e[_0x573d2b(0x34e)](_0x136a03[_0x573d2b(0x25a)]);if(!_0x51ed88)return!0x1;const {pivotTableConfig:_0x27b040,positionType:_0x14e49c}=_0x51ed88,{targetCellInfo:_0x42a3af,sourceRangeInfo:_0x348532}=_0x27b040,{unitId:_0x55fada,subUnitId:_0x3c908b}=_0x42a3af,_0x409540=_0x2b74c2['getUnit'](_0x55fada);if(!_0x409540)return!0x1;let _0x3f9d0a=0x0;_0x409540['getSheets']()[_0x573d2b(0x1ed)](_0x28f108=>{const _0x43bf3d=_0x573d2b;var _0x27aaf0,_0x4482d7;_0x3f9d0a+=(_0x4482d7=(_0x27aaf0=_0xd31529['getSubUnitPivotConfigs'](_0x55fada,_0x28f108[_0x43bf3d(0xe0)]()))==null?void 0x0:_0x27aaf0[_0x43bf3d(0x26f)])!=null?_0x4482d7:0x0;});const _0x23fccc=(_0x4596fe=_0x596fb3[_0x573d2b(0x17b)](_0x3f0c04[_0x573d2b(0x2cd)]))!=null?_0x4596fe:{},{ls:_0x474e0b,pbk:_0x529f95}=_0x23fccc;if(!_0x2974b0(_0x474e0b,_0x529f95))return!0x1;const _0x248e73=_0x3f7c6d(_0x2e79d7,_0x474e0b,_0x529f95)[_0x573d2b(0x2f7)];if(_0x3f9d0a>=_0x248e73)return!0x1;const _0x3f5609=_0x51ed88[_0x573d2b(0xd0)]||_0x10f223['generateHexNumber'](0x8),_0x23dc1e=(await _0x210146[_0x573d2b(0x36c)]({'unitId':_0x55fada,'subUnitId':_0x3c908b,'pivotTableId':_0x3f5609,'params':{'type':_0x434fd6['AddPivotTable'],'addPivotTable':{'sourceRangeInfo':_0x348532,'pivotTableId':_0x3f5609}}}))[_0x573d2b(0x340)][_0x573d2b(0xa2)];if(!_0x23dc1e)return!0x1;const {view:_0x376d2b,isEmpty:_0x4b2a44,fieldsConfig:_0x2f7323,collectionConfig:_0x491029}=_0x23dc1e,_0x51650b=[],_0x2637b0=[];if(_0x14e49c===_0x55bf83[_0x573d2b(0x160)]){const _0x388ca0=_0x409540[_0x573d2b(0x1cf)]()[_0x573d2b(0x1ae)],_0x2ca2c5=_0x136a03['mergeWorksheetSnapshotWithDefault']({});_0x2ca2c5['id']=_0x27b040['targetCellInfo'][_0x573d2b(0x1d4)],_0x2ca2c5['name']=(_0x592aa5=_0x27b040['targetCellInfo'][_0x573d2b(0xdd)])!=null?_0x592aa5:_0x409540[_0x573d2b(0x17e)](''+_0x144853['t'](_0x573d2b(0x23a)));const _0x1bf7fb={'index':_0x388ca0,'sheet':_0x2ca2c5,'unitId':_0x55fada},_0x4188e0=_0x47d532[_0x573d2b(0x2c1)](_0x384c4e,_0x1bf7fb);_0x51650b['push']({'id':_0x47d532[_0x573d2b(0x34f)]['id'],'params':_0x4188e0}),_0x2637b0[_0x573d2b(0xda)]({'id':_0x47d532['InsertSheetMutation']['id'],'params':_0x1bf7fb});}else{if(!_0x409540[_0x573d2b(0x6d)](_0x3c908b))return!0x1;const _0x2fbb5e=_0x1fa301(_0x384c4e,new _0x10f223[(_0x573d2b(0x32d))](),_0x42a3af,!0x0);_0x2637b0[_0x573d2b(0xda)](..._0x2fbb5e[_0x573d2b(0x1aa)]),_0x51650b[_0x573d2b(0xda)](..._0x2fbb5e[_0x573d2b(0x166)]);const _0x45837d={'cellInfo':_0x42a3af,'view':_0x376d2b,'isEmpty':_0x4b2a44};if(!await _0x384c4e['get'](_0x488dae['SheetsPivotTableService'])[_0x573d2b(0x267)][_0x573d2b(0x2f4)](_0x3a4963)(!0x0,_0x45837d))return!0x1;const _0x282e11=_0x15a8dc(_0x384c4e,_0x45837d);_0x2637b0[_0x573d2b(0xda)](..._0x282e11['redos']),_0x51650b[_0x573d2b(0xda)](..._0x282e11[_0x573d2b(0x166)]);}return _0x2637b0[_0x573d2b(0xda)]({'id':_0x5f77cb['id'],'params':{'unitId':_0x42a3af[_0x573d2b(0xb4)],'subUnitId':_0x42a3af['subUnitId'],'pivotTableId':_0x3f5609,'pivotTableConfig':{'targetCellInfo':_0x42a3af,'sourceRangeInfo':_0x348532,'fieldsConfig':_0x2f7323},'collectionConfig':_0x491029}}),_0x51650b[_0x573d2b(0x246)]({'id':_0x1e490e['id'],'params':{'unitId':_0x55fada,'subUnitId':_0x3c908b,'pivotTableId':_0x3f5609}}),_0x136a03[_0x573d2b(0x297)](_0x2637b0,_0x417b79)&&_0x58a87a[_0x573d2b(0x266)]({'unitID':_0x55fada,'undoMutations':_0x51650b,'redoMutations':_0x2637b0}),!0x0;}},_0x48cd17={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0xe7),async 'handler'(_0x453a2b,_0x3324cc){const _0x5889ba=_0x4ff3ff;if(!_0x3324cc)return!0x1;const _0x3e2136=_0x453a2b['get'](_0x136a03[_0x5889ba(0x13a)]),_0x1bbf72=_0x453a2b[_0x5889ba(0x34e)](_0x488dae[_0x5889ba(0x120)]),_0x8340d1=_0x453a2b[_0x5889ba(0x34e)](_0x136a03['IUndoRedoService']),{pivotTableId:_0x2941e9,fieldId:_0x2108f7,area:_0x20893d,index:_0x53ce9f,unitId:_0x399101,subUnitId:_0x576196}=_0x3324cc,_0x46399a=(await _0x1bbf72[_0x5889ba(0x36c)]({'unitId':_0x399101,'subUnitId':_0x576196,'pivotTableId':_0x2941e9,'params':{'type':_0x434fd6[_0x5889ba(0x1c0)],'movePivotField':{'fieldId':_0x2108f7,'area':_0x20893d,'index':_0x53ce9f}}}))[_0x5889ba(0x340)][_0x5889ba(0x129)];if(!_0x46399a)return!0x1;const {changesets:_0x372d3e,view:_0x52ed7c,isEmpty:_0x1e07d2,pivotTableConfig:_0x3bceda}=_0x46399a,_0x4c4773=_0x3bceda[_0x5889ba(0x271)],_0x266e38=new _0x10f223['PivotView']();_0x266e38['formJSON'](_0x52ed7c);const _0x454854={'cellInfo':_0x4c4773,'view':_0x266e38,'isEmpty':_0x1e07d2};if(!await _0x453a2b[_0x5889ba(0x34e)](_0x488dae[_0x5889ba(0x2af)])[_0x5889ba(0x267)]['fetchThroughAsyncInterceptors'](_0x3a4963)(!0x0,_0x454854))return!0x1;const _0x239be9=_0x1fa301(_0x453a2b,_0x266e38,_0x4c4773,_0x1e07d2),_0x23154f=_0x15a8dc(_0x453a2b,_0x454854),{redos:_0x251a1b,undos:_0x19a0ba}=_0x3837e3(_0x3e2136,{'pivotTableId':_0x2941e9,'unitId':_0x399101,'subUnitId':_0x576196},_0x372d3e);return _0x136a03['sequenceExecute']([..._0x239be9['redos'],..._0x23154f['redos'],..._0x251a1b],_0x3e2136),_0x8340d1[_0x5889ba(0x266)]({'unitID':_0x399101,'redoMutations':[..._0x239be9[_0x5889ba(0x1aa)],..._0x23154f[_0x5889ba(0x1aa)],..._0x251a1b],'undoMutations':[..._0x239be9[_0x5889ba(0x166)],..._0x23154f['undos'],..._0x19a0ba]}),!0x0;}},_0x351ec9={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x333),'handler'(_0x1183a,_0x52c6c3){const _0x2cab59=_0x4ff3ff;if(!_0x52c6c3)return!0x1;if(!!_0x1183a['get'](_0x136a03[_0x2cab59(0x25a)])[_0x2cab59(0x17b)](_0x2432cb))return!0x0;const {pivotTableId:_0x4b109a,targetCellPosition:_0x317a83,unitId:_0x22ffad,subUnitId:_0x26e410}=_0x52c6c3,_0x1082c1=_0x1183a[_0x2cab59(0x34e)](_0x488dae['SheetsPivotDataSourceModel']);if(!_0x1082c1[_0x2cab59(0xbd)](_0x52c6c3['pivotTableId']))return!0x1;const _0x1563b0=_0x1082c1[_0x2cab59(0x1e7)](_0x4b109a);if(!_0x1563b0)return!0x1;const _0xec8233=_0x1082c1[_0x2cab59(0x139)](_0x1563b0['unitId'],_0x52c6c3['pivotTableId']);if(!_0xec8233)return!0x1;const _0x5e8064=_0x1082c1[_0x2cab59(0x12e)](_0x1563b0[_0x2cab59(0xb4)],_0x1563b0['subUnitId'],_0x4b109a);if(!_0x5e8064)return!0x1;const _0x2f8204=_0x136a03[_0x2cab59(0x315)][_0x2cab59(0x1fa)](_0x5e8064);_0x2f8204[_0x2cab59(0x271)]={'unitId':_0x22ffad,'subUnitId':_0x26e410,'row':_0x317a83[_0x2cab59(0x327)],'col':_0x317a83['col']};const _0x22bd8c=_0xec8233[_0x2cab59(0x19f)]();if(_0x1563b0[_0x2cab59(0x1d4)]===_0x26e410&&_0x1563b0[_0x2cab59(0xb4)]===_0x22ffad)_0x1082c1[_0x2cab59(0x231)](_0x22ffad,_0x26e410,_0x4b109a,_0x2f8204),_0x1082c1[_0x2cab59(0x2a3)]({'unitId':_0x22ffad,'subUnitId':_0x26e410,'token':_0x4b109a,'type':_0x39c7b1[_0x2cab59(0x2f1)]});else{_0x1082c1[_0x2cab59(0x2a3)]({'unitId':_0x1563b0['unitId'],'subUnitId':_0x1563b0['subUnitId'],'token':_0x4b109a,'type':_0x39c7b1[_0x2cab59(0x275)]}),_0x1082c1[_0x2cab59(0x2c0)](_0x1563b0[_0x2cab59(0xb4)],_0x1563b0[_0x2cab59(0x1d4)],_0x4b109a);const _0x5157e3=_0x1082c1[_0x2cab59(0x142)](_0x4b109a,_0x22bd8c,_0x5e8064[_0x2cab59(0x329)],_0x2f8204[_0x2cab59(0x271)]),_0x1af182=new _0x10f223[(_0x2cab59(0x31a))](_0x5157e3['collection'],void 0x0,_0x4b109a);_0x1af182[_0x2cab59(0x24b)](_0x2f8204[_0x2cab59(0x237)]),_0x1082c1[_0x2cab59(0xa2)](_0x22ffad,_0x26e410,_0x4b109a,_0x1af182,_0x2f8204),_0x1082c1[_0x2cab59(0x2a3)]({'unitId':_0x22ffad,'subUnitId':_0x26e410,'token':_0x4b109a,'type':_0x39c7b1[_0x2cab59(0x37e)],'pivotConfig':_0x2f8204});}return!0x0;}},_0x3cb7e4={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x1a0),'handler':(_0x548029,_0x3b9676)=>{const _0xf9af8d=_0x4ff3ff,_0x5afd0d=_0x548029[_0xf9af8d(0x34e)](_0x136a03[_0xf9af8d(0x13a)]),_0x30657b=_0x548029['get'](_0x136a03[_0xf9af8d(0x2d1)]),_0x49b7c8=_0x548029[_0xf9af8d(0x34e)](_0x488dae[_0xf9af8d(0x302)]),_0x52ff33=_0x548029['get'](_0x136a03[_0xf9af8d(0x227)]);if(!_0x3b9676)return!0x1;const _0x4ed4da=_0x47d532[_0xf9af8d(0x1f7)](_0x52ff33);if(!_0x4ed4da)return!0x1;const {unitId:_0x223421,subUnitId:_0x2b0fbc,workbook:_0x45a9fb}=_0x4ed4da,_0x5e2426=_0x49b7c8['getPivotTableConfig'](_0x3b9676[_0xf9af8d(0x364)][_0xf9af8d(0xb4)],_0x3b9676[_0xf9af8d(0x364)][_0xf9af8d(0x1d4)],_0x3b9676[_0xf9af8d(0xd0)]);if(!_0x5e2426)return!0x1;const _0x222e05=_0x45a9fb[_0xf9af8d(0x6d)](_0x3b9676[_0xf9af8d(0x271)]['subUnitId']);if(!_0x222e05)throw new Error(_0xf9af8d(0x162));const _0x59b1ac=_0x222e05[_0xf9af8d(0x322)](),_0x2cd540=_0x222e05[_0xf9af8d(0x2fe)]();if(_0x3b9676['targetCellInfo'][_0xf9af8d(0x327)]>_0x59b1ac||_0x3b9676[_0xf9af8d(0x271)]['col']>_0x2cd540)throw new Error(_0xf9af8d(0x245));const _0xa2edcd=[{'id':_0x351ec9['id'],'params':{'unitId':_0x223421,'subUnitId':_0x3b9676[_0xf9af8d(0x271)]['subUnitId'],'pivotTableId':_0x3b9676[_0xf9af8d(0xd0)],'targetCellPosition':{'row':_0x3b9676['targetCellInfo'][_0xf9af8d(0x327)],'col':_0x3b9676[_0xf9af8d(0x271)][_0xf9af8d(0xed)]}}}],_0x5c5e16=[{'id':_0x351ec9['id'],'params':{'unitId':_0x223421,'subUnitId':_0x2b0fbc,'pivotTableId':_0x3b9676[_0xf9af8d(0xd0)],'targetCellPosition':{'row':_0x5e2426[_0xf9af8d(0x271)][_0xf9af8d(0x327)],'col':_0x5e2426[_0xf9af8d(0x271)][_0xf9af8d(0xed)]}}}];return _0x136a03[_0xf9af8d(0x297)](_0xa2edcd,_0x5afd0d)&&_0x30657b['pushUndoRedo']({'unitID':_0x223421,'undoMutations':_0x5c5e16,'redoMutations':_0xa2edcd}),!0x0;}},_0xa870fc={'type':_0x136a03['CommandType'][_0x4ff3ff(0x1b4)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x3e8125,_0x2cb599){const _0x1cc08f=_0x4ff3ff;var _0x4b2878;if(!_0x2cb599)return!0x1;const _0x59ae02=_0x3e8125[_0x1cc08f(0x34e)](_0x136a03[_0x1cc08f(0x227)]),_0x15d8eb=_0x47d532[_0x1cc08f(0x1f7)](_0x59ae02);if(!_0x15d8eb)return!0x1;const {unitId:_0xdd699c,subUnitId:_0x1be0e3,workbook:_0x1b3dd2}=_0x15d8eb,{row:_0xb28891,col:_0x4b77ef}=_0x2cb599,_0x498cb3=_0x3e8125[_0x1cc08f(0x34e)](_0x488dae[_0x1cc08f(0x1e5)]),_0x15d3e5=_0x498cb3[_0x1cc08f(0x1bf)](_0xdd699c,_0x1be0e3,_0xb28891,_0x4b77ef);if(!_0x15d3e5)return!0x1;const _0x136ce4=(_0x4b2878=_0x498cb3[_0x1cc08f(0x295)](_0xdd699c,_0x1be0e3,_0x15d3e5))==null?void 0x0:_0x4b2878[_0x1cc08f(0x1d7)];if(!_0x136ce4)return!0x1;const _0x39c149=_0x3e8125[_0x1cc08f(0x34e)](_0x488dae[_0x1cc08f(0x302)])['getPivotTableConfig'](_0xdd699c,_0x1be0e3,_0x15d3e5);if(!_0x39c149)return!0x1;const {rowInfo:_0x2f7123,colInfo:_0x333d62}=_0x136ce4,_0x3b66ea=_0x2f7123[_0xb28891][_0x1cc08f(0x22f)],_0x7a1c1c=_0x333d62[_0x4b77ef][_0x1cc08f(0x22f)],_0x3c8eee=_0x2f7123[_0xb28891][_0x1cc08f(0x349)],_0x26913d=_0x333d62[_0x4b77ef][_0x1cc08f(0x349)],_0x510977=_0x3b66ea[_0x1cc08f(0x1d0)](_0x7a1c1c),_0x4b4fe5=_0x39c149['fieldsConfig'][_0x1cc08f(0x21c)][_0x1cc08f(0x19d)](0x0,_0x3c8eee),_0x12c0a2=_0x39c149[_0x1cc08f(0x237)]['columnFields'][_0x1cc08f(0x19d)](0x0,_0x26913d),_0x3c018b=_0x4b4fe5['concat'](_0x12c0a2),_0x468941=_0x510977['map']((_0x2849af,_0x1d3cad)=>[_0x2849af,_0x3c018b[_0x1d3cad]]),_0x4deb28=(await _0x3e8125['get'](_0x488dae['SheetsPivotRPCService'])[_0x1cc08f(0x36c)]({'unitId':_0xdd699c,'subUnitId':_0x1be0e3,'pivotTableId':_0x15d3e5,'params':{'type':_0x434fd6['DrillDown'],'drillDown':{'tuple':_0x468941}}}))[_0x1cc08f(0x340)]['drillDown'];if(!_0x4deb28)return!0x1;const {indexes:_0x2336d0,range:_0x432678,sourceUnitId:_0x2219ba,sourceSubUnitId:_0x2beac0,formatMap:_0x2954d4}=_0x4deb28,{startRow:_0x5b0fcf,endRow:_0x13fde2,startColumn:_0x1662ae,endColumn:_0x40f293}=_0x432678,_0x5a508d=new _0x136a03[(_0x1cc08f(0xfd))](),_0x4c5abc=_0x13fde2-_0x5b0fcf,_0x401e07=_0x40f293-_0x1662ae,_0x31e233={},_0x46a6a3=_0x47d532['getSheetCommandTarget'](_0x59ae02,{'unitId':_0x2219ba,'subUnitId':_0x2beac0});if(!_0x46a6a3)return!0x1;const _0x3f240a=_0x1a3ef9[_0x1cc08f(0x216)],_0x374b07=_0x1a3ef9[_0x1cc08f(0x358)],_0x8f282b=_0x1a3ef9['subTotalStyle'],_0x22d94f=_0x1b3dd2['getStyles']()[_0x1cc08f(0x1fd)](_0x3f240a),_0x3f8ecb=_0x1b3dd2['getStyles']()[_0x1cc08f(0x1fd)](_0x374b07),_0x2957ea=_0x1b3dd2['getStyles']()[_0x1cc08f(0x1fd)](_0x8f282b),{worksheet:_0x11b33b}=_0x46a6a3;let _0x30a706=0x0;const _0x5bc33c=0x1;_0x2336d0[_0x1cc08f(0x1ed)](_0x2a3f74=>{for(let _0x491396=0x0;_0x491396<=_0x40f293-_0x1662ae;_0x491396++)_0x5a508d['setValue'](_0x30a706,_0x491396,_0x11b33b['getCellRaw'](_0x2a3f74+_0x432678['startRow']+_0x5bc33c,_0x491396));_0x30a706++;});for(let _0x4f1ece=_0x1662ae;_0x4f1ece<=_0x40f293;_0x4f1ece++){const _0x138bbc=_0x11b33b[_0x1cc08f(0x2eb)](_0x5b0fcf,_0x4f1ece);_0x31e233[_0x5b0fcf]||(_0x31e233[_0x5b0fcf]={}),_0x31e233[_0x5b0fcf][_0x4f1ece]={..._0x138bbc,'s':_0x22d94f};}let _0x28a453=0x1;const _0x207e74={},_0x46381e={};_0x5a508d[_0x1cc08f(0x18b)]((_0x237ded,_0x4d7eb0)=>{const _0x1f342b=_0x1cc08f;_0x4d7eb0[_0x1f342b(0x1ed)](_0x39faa5=>{const _0x394fa3=_0x1f342b,_0x199fc7=_0x5a508d[_0x394fa3(0x2b7)](_0x237ded,_0x39faa5);if(_0x31e233[_0x28a453]||(_0x31e233[_0x28a453]={}),_0x31e233[_0x28a453][_0x39faa5]={..._0x199fc7,'s':_0x28a453%0x2===0x0?_0x2957ea:_0x3f8ecb},_0x2954d4[_0x39faa5]&&_0x237ded>=0x0){const _0x52f1d7=_0x28a453%0x2===0x0;let _0x58931f=_0x52f1d7?_0x46381e[_0x39faa5]:_0x207e74[_0x39faa5];_0x58931f||(_0x58931f=_0x1b3dd2['getStyles']()[_0x394fa3(0x1fd)]({..._0x52f1d7?_0x8f282b:_0x374b07,'n':{'pattern':_0x2954d4[_0x39faa5]}}),_0x52f1d7?_0x46381e[_0x39faa5]=_0x58931f:_0x207e74[_0x39faa5]=_0x58931f),_0x31e233[_0x28a453][_0x39faa5]['s']=_0x58931f;}}),_0x28a453++;});const _0x254d1c=new _0x136a03['ObjectMatrix'](_0x31e233),_0x31900c={};_0x254d1c[_0x1cc08f(0x171)]((_0x720209,_0xeef907,_0x363d46)=>{_0x31900c[_0x720209]||(_0x31900c[_0x720209]={}),_0x31900c[_0x720209][_0xeef907]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x34acad=[],_0x50112d=[],_0x34b206=_0x1b3dd2[_0x1cc08f(0x1cf)]()[_0x1cc08f(0x1ae)],_0x49a000=_0x136a03['mergeWorksheetSnapshotWithDefault']({'rowCount':Math['max'](_0x136a03[_0x1cc08f(0x2ca)],_0x4c5abc+0xa),'columnCount':Math[_0x1cc08f(0x352)](_0x136a03[_0x1cc08f(0x18e)],_0x401e07+0x5)}),_0x2bb704=_0x3e8125['get'](_0x136a03[_0x1cc08f(0xac)]);_0x49a000['id']=_0x136a03[_0x1cc08f(0x28d)](),_0x49a000[_0x1cc08f(0xbf)]=_0x1b3dd2['generateNewSheetName'](''+_0x2bb704['t'](_0x1cc08f(0x23a)));const _0x2d05c9={'index':_0x34b206,'sheet':_0x49a000,'unitId':_0xdd699c},_0x3ff01a=_0x47d532['InsertSheetUndoMutationFactory'](_0x3e8125,_0x2d05c9);_0x50112d[_0x1cc08f(0xda)]({'id':_0x47d532[_0x1cc08f(0x33e)]['id'],'params':_0x2d05c9}),_0x34acad['push']({'id':_0x47d532[_0x1cc08f(0x34f)]['id'],'params':_0x3ff01a}),_0x50112d[_0x1cc08f(0xda)]({'id':_0x47d532['SetRangeValuesMutation']['id'],'params':{'unitId':_0xdd699c,'subUnitId':_0x49a000['id'],'cellValue':_0x31e233}}),_0x34acad[_0x1cc08f(0x246)]({'id':_0x47d532[_0x1cc08f(0x31e)]['id'],'params':{'unitId':_0xdd699c,'subUnitId':_0x49a000['id'],'cellValue':_0x31900c}});const _0x45cd1c={'startRow':0x0,'startColumn':0x0,'endRow':_0x28a453-0x1,'endColumn':_0x40f293};_0x50112d[_0x1cc08f(0xda)]({'id':_0x2c33e2[_0x1cc08f(0x225)]['id'],'params':{'unitId':_0xdd699c,'subUnitId':_0x49a000['id'],'range':_0x45cd1c}}),_0x34acad['unshift']({'id':_0x2c33e2[_0x1cc08f(0x30f)]['id'],'params':{'unitId':_0xdd699c,'subUnitId':_0x49a000['id']}});const _0x308e5c=_0x3e8125[_0x1cc08f(0x34e)](_0x136a03[_0x1cc08f(0x13a)]);return _0x136a03['sequenceExecute'](_0x50112d,_0x308e5c)&&_0x3e8125['get'](_0x136a03[_0x1cc08f(0x2d1)])[_0x1cc08f(0x266)]({'unitID':_0xdd699c,'undoMutations':_0x34acad,'redoMutations':_0x50112d}),!0x0;}},_0x3ca2c5={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x128),async 'handler'(_0x543320,_0x2dbea7){const _0x4919c2=_0x4ff3ff;if(!_0x2dbea7)return!0x1;const _0x2d4c3f=_0x543320['get'](_0x136a03[_0x4919c2(0x13a)]),_0x183939=_0x543320[_0x4919c2(0x34e)](_0x488dae[_0x4919c2(0x120)]),_0x190084=_0x543320[_0x4919c2(0x34e)](_0x136a03[_0x4919c2(0x2d1)]),{pivotTableId:_0xbc307a,fieldIds:_0x128dce,unitId:_0x5e5621,subUnitId:_0xf147dc}=_0x2dbea7,_0x224e70=(await _0x183939[_0x4919c2(0x36c)]({'unitId':_0x5e5621,'subUnitId':_0xf147dc,'pivotTableId':_0xbc307a,'params':{'type':_0x434fd6[_0x4919c2(0x86)],'removePivotField':{'fieldIds':_0x128dce}}}))[_0x4919c2(0x340)][_0x4919c2(0xa8)];if(!_0x224e70)return!0x1;const {view:_0x1594c7,changesets:_0x812fb0,isEmpty:_0x26107e,pivotTableConfig:_0x4d339a}=_0x224e70,_0x36a770=_0x4d339a['targetCellInfo'],_0x306b0c=new _0x10f223[(_0x4919c2(0x32d))]();_0x306b0c['formJSON'](_0x1594c7);const _0x34493d={'cellInfo':_0x36a770,'view':_0x306b0c,'isEmpty':_0x26107e};if(!await _0x543320[_0x4919c2(0x34e)](_0x488dae['SheetsPivotTableService'])[_0x4919c2(0x267)][_0x4919c2(0x2f4)](_0x3a4963)(!0x0,_0x34493d))return!0x1;const _0x921707=_0x1fa301(_0x543320,_0x306b0c,_0x36a770,_0x26107e),_0x28b3da=_0x15a8dc(_0x543320,_0x34493d),{redos:_0x23668d,undos:_0x1a8514}=_0x3837e3(_0x2d4c3f,{'pivotTableId':_0xbc307a,'unitId':_0x5e5621,'subUnitId':_0xf147dc},_0x812fb0);return _0x136a03['sequenceExecute']([..._0x921707['redos'],..._0x28b3da[_0x4919c2(0x1aa)],..._0x23668d],_0x2d4c3f),_0x190084[_0x4919c2(0x266)]({'unitID':_0x5e5621,'redoMutations':[..._0x921707['redos'],..._0x28b3da[_0x4919c2(0x1aa)],..._0x23668d],'undoMutations':[..._0x921707[_0x4919c2(0x166)],..._0x28b3da[_0x4919c2(0x166)],..._0x1a8514]}),!0x0;}},_0x59c06a={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x11f),async 'handler'(_0x5af379,_0xae2528){const _0x2a5308=_0x4ff3ff;if(!_0xae2528)return!0x1;const _0x29f170=_0x5af379[_0x2a5308(0x34e)](_0x136a03[_0x2a5308(0x13a)]),_0x364be0=_0x5af379[_0x2a5308(0x34e)](_0x136a03[_0x2a5308(0x2d1)]),_0x17af71=_0x5af379[_0x2a5308(0x34e)](_0x488dae['SheetsPivotRPCService']),{resetArea:_0x17003e,pivotTableId:_0x5566d,unitId:_0x1c055d,subUnitId:_0x183e74}=_0xae2528,_0x13082f=(await _0x17af71[_0x2a5308(0x36c)]({'unitId':_0x1c055d,'subUnitId':_0x183e74,'pivotTableId':_0x5566d,'params':{'type':_0x434fd6['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x5566d,'resetArea':_0x17003e}}}))[_0x2a5308(0x340)]['resetPivotTable'];if(!_0x13082f)return!0x1;const {changesets:_0xe15fa4}=_0x13082f,{redos:_0x166155,undos:_0x92650c}=_0x3837e3(_0x29f170,{'pivotTableId':_0x5566d,'unitId':_0x1c055d,'subUnitId':_0x183e74},_0xe15fa4);return _0x136a03['sequenceExecute'](_0x166155,_0x29f170),_0x364be0[_0x2a5308(0x266)]({'unitID':_0x1c055d,'redoMutations':_0x166155,'undoMutations':_0x92650c}),!0x0;}},_0x5cb834={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x2e4),async 'handler'(_0x55e5f8,_0x5aa130){const _0x16c4e9=_0x4ff3ff,_0x44775f=_0x55e5f8[_0x16c4e9(0x34e)](_0x136a03[_0x16c4e9(0x13a)]),_0x46957e=_0x55e5f8[_0x16c4e9(0x34e)](_0x488dae[_0x16c4e9(0x120)]),_0x1c11a6=_0x55e5f8[_0x16c4e9(0x34e)](_0x488dae[_0x16c4e9(0x1e5)]),_0x2a0027=_0x55e5f8[_0x16c4e9(0x34e)](_0x136a03[_0x16c4e9(0x227)]),_0x2c4a12=_0x55e5f8[_0x16c4e9(0x34e)](_0x136a03[_0x16c4e9(0xac)]),_0x5aa231=_0x55e5f8[_0x16c4e9(0x34e)](_0x136a03[_0x16c4e9(0x2d1)]);if(!_0x5aa130)return!0x1;const {unitId:_0x447825,subUnitId:_0x2f37ea,row:_0x60ad6c,col:_0x234094,collapse:_0x11a09c}=_0x5aa130,_0x5cab9c=_0x2a0027[_0x16c4e9(0x229)](_0x447825);if(!_0x5cab9c||!_0x5cab9c[_0x16c4e9(0x6d)](_0x2f37ea))return!0x1;const _0x5c967f=_0x1c11a6[_0x16c4e9(0x1bf)](_0x447825,_0x2f37ea,_0x60ad6c,_0x234094);if(!_0x5c967f)return!0x1;const _0x37fe82=_0x1c11a6[_0x16c4e9(0x295)](_0x447825,_0x2f37ea,_0x5c967f);if(!_0x37fe82)return!0x1;const _0x2bc523=_0x136a03['cellToRange'](_0x60ad6c,_0x234094),{rangesInfo:_0x36cd64,areaInfo:_0x14e36e,headerMap:_0x29ad19}=_0x37fe82;if(!_0x36cd64||!_0x14e36e||!_0x29ad19)return!0x1;const _0x1e17c4=Object[_0x16c4e9(0x255)](_0x36cd64)[_0x16c4e9(0xf0)](_0x11d451=>_0x36cd64[_0x11d451][_0x16c4e9(0x1bb)](_0x81fcba=>_0x136a03[_0x16c4e9(0xab)][_0x16c4e9(0x8c)](_0x81fcba,_0x2bc523)));let _0xaa9e33;_0x1e17c4==='rowRanges'?_0xaa9e33=_0x29ad19[_0x16c4e9(0x247)][_0x234094]:_0x1e17c4===_0x16c4e9(0x343)&&(_0xaa9e33=_0x29ad19['colHeaderMap'][_0x60ad6c]);const _0x1ef593=_0xaa9e33==null?void 0x0:_0xaa9e33[_0x16c4e9(0xa1)],_0x135bd1=_0x1c11a6[_0x16c4e9(0x217)](_0x447825,_0x2f37ea,_0x60ad6c,_0x234094);let _0x3180b2=_0x135bd1==null?void 0x0:_0x135bd1['v'];if(_0x3180b2===_0x2c4a12['t']('sheets-pivot.blank')&&(_0x3180b2=_0x10f223['GlobalConfig'][_0x16c4e9(0x203)]),_0x3180b2==null||!_0x5c967f||!_0x1ef593)return!0x1;const _0x177d90=await _0x46957e[_0x16c4e9(0x36c)]({'unitId':_0x447825,'subUnitId':_0x2f37ea,'pivotTableId':_0x5c967f,'params':{'type':_0x434fd6[_0x16c4e9(0xdc)],'setPivotCollapse':{'tableFieldId':_0x1ef593,'collapse':_0x11a09c,'item':_0x3180b2}}}),_0x455e8d=_0x177d90==null?void 0x0:_0x177d90[_0x16c4e9(0x340)][_0x16c4e9(0x126)];if(!_0x455e8d)return!0x1;const {view:_0x4ef9ba,pivotTableConfig:_0x540fa4,isEmpty:_0x12fce3,changesets:_0x1b4dcd}=_0x455e8d,_0x20ed77=new _0x10f223[(_0x16c4e9(0x32d))]();_0x20ed77[_0x16c4e9(0x2ed)](_0x4ef9ba);const _0x4f76f5=_0x540fa4[_0x16c4e9(0x271)],_0x590484={'cellInfo':_0x4f76f5,'view':_0x20ed77,'isEmpty':_0x12fce3};if(!await _0x55e5f8[_0x16c4e9(0x34e)](_0x488dae[_0x16c4e9(0x2af)])[_0x16c4e9(0x267)][_0x16c4e9(0x2f4)](_0x3a4963)(!0x0,_0x590484))return!0x1;const _0x32b941=_0x1fa301(_0x55e5f8,_0x20ed77,_0x4f76f5,_0x12fce3),_0x339f93=_0x15a8dc(_0x55e5f8,_0x590484),{redos:_0x148f64,undos:_0x38e805}=_0x3837e3(_0x44775f,{'pivotTableId':_0x5c967f,'unitId':_0x447825,'subUnitId':_0x2f37ea},_0x1b4dcd);return _0x136a03['sequenceExecute']([..._0x32b941[_0x16c4e9(0x1aa)],..._0x339f93[_0x16c4e9(0x1aa)],..._0x148f64],_0x44775f),_0x5aa231[_0x16c4e9(0x266)]({'unitID':_0x447825,'redoMutations':[..._0x32b941[_0x16c4e9(0x1aa)],..._0x339f93[_0x16c4e9(0x1aa)],..._0x148f64],'undoMutations':[..._0x32b941[_0x16c4e9(0x166)],..._0x339f93[_0x16c4e9(0x166)],..._0x38e805]}),!0x0;}},_0x2f4958={'type':_0x136a03['CommandType'][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x36b),async 'handler'(_0x4e87df,_0x5edbac){const _0x2d00a2=_0x4ff3ff;if(!_0x5edbac)return!0x1;const _0x2a2463=_0x4e87df[_0x2d00a2(0x34e)](_0x136a03['ICommandService']),_0x5e7723=_0x4e87df[_0x2d00a2(0x34e)](_0x136a03[_0x2d00a2(0x2d1)]),_0x212fca=_0x4e87df['get'](_0x488dae['SheetsPivotRPCService']),{pivotTableConfig:_0x11d333,pivotTableId:_0x386d94,unitId:_0x3c9e51,subUnitId:_0xc08a6c}=_0x5edbac,_0x4d0bae=(await _0x212fca[_0x2d00a2(0x36c)]({'unitId':_0x3c9e51,'subUnitId':_0xc08a6c,'pivotTableId':_0x386d94,'params':{'type':_0x434fd6[_0x2d00a2(0x161)],'setPivotTableConfig':{'pivotTableId':_0x386d94,'pivotTableConfig':_0x11d333}}}))[_0x2d00a2(0x340)]['setPivotTableConfig'];if(!_0x4d0bae)return!0x1;const {changesets:_0x9fd9d0}=_0x4d0bae,{redos:_0x58f8e5,undos:_0x305cec}=_0x3837e3(_0x2a2463,{'pivotTableId':_0x386d94,'unitId':_0x3c9e51,'subUnitId':_0xc08a6c},_0x9fd9d0);return _0x136a03[_0x2d00a2(0x297)](_0x58f8e5,_0x2a2463),_0x5e7723[_0x2d00a2(0x266)]({'unitID':_0x3c9e51,'redoMutations':_0x58f8e5,'undoMutations':_0x305cec}),!0x0;}},_0x25fe6b={'type':_0x136a03['CommandType'][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x377),async 'handler'(_0x3304a4,_0x332706){const _0x4c20a5=_0x4ff3ff;if(!_0x332706)return!0x1;const _0x5c4346=_0x3304a4[_0x4c20a5(0x34e)](_0x136a03[_0x4c20a5(0x13a)]),{pivotTableId:_0x3d81a3,tableFieldId:_0x4934aa,items:_0x21b1fb,unitId:_0x381007,subUnitId:_0x5782fb,isAll:_0x391da3}=_0x332706,_0x512a34=_0x3304a4[_0x4c20a5(0x34e)](_0x488dae[_0x4c20a5(0x120)]),_0x1f15f3=_0x3304a4[_0x4c20a5(0x34e)](_0x136a03[_0x4c20a5(0x2d1)]),_0x11366c=(await _0x512a34['getPivotDisplayConfig']({'unitId':_0x381007,'subUnitId':_0x5782fb,'pivotTableId':_0x3d81a3,'params':{'type':_0x434fd6[_0x4c20a5(0x339)],'setPivotFilter':{'tableFieldId':_0x4934aa,'items':_0x21b1fb,'isAll':_0x391da3}}}))[_0x4c20a5(0x340)][_0x4c20a5(0x2e1)];if(!_0x11366c)return!0x1;const {changesets:_0x36e53f,pivotTableConfig:_0x3ba719,isEmpty:_0x4a2383,view:_0x29614a}=_0x11366c,_0x1a4ba7=_0x3ba719['targetCellInfo'],_0x21e901=new _0x10f223[(_0x4c20a5(0x32d))]();_0x21e901['formJSON'](_0x29614a);const _0x3fa190={'cellInfo':_0x1a4ba7,'view':_0x21e901,'isEmpty':_0x4a2383};if(!await _0x3304a4[_0x4c20a5(0x34e)](_0x488dae['SheetsPivotTableService'])[_0x4c20a5(0x267)][_0x4c20a5(0x2f4)](_0x3a4963)(!0x0,_0x3fa190))return!0x1;const _0x10444c=_0x1fa301(_0x3304a4,_0x21e901,_0x1a4ba7,_0x4a2383),_0x2c3fea=_0x15a8dc(_0x3304a4,_0x3fa190),{undos:_0x188113,redos:_0x2e2849}=_0x3837e3(_0x5c4346,{'pivotTableId':_0x3d81a3,'unitId':_0x381007,'subUnitId':_0x5782fb},_0x36e53f);return _0x136a03[_0x4c20a5(0x297)]([..._0x10444c[_0x4c20a5(0x1aa)],..._0x2c3fea['redos'],..._0x2e2849],_0x5c4346),_0x1f15f3[_0x4c20a5(0x266)]({'unitID':_0x381007,'redoMutations':[..._0x10444c[_0x4c20a5(0x1aa)],..._0x2c3fea[_0x4c20a5(0x1aa)],..._0x2e2849],'undoMutations':[..._0x10444c[_0x4c20a5(0x166)],..._0x2c3fea['undos'],..._0x188113]}),!0x0;}},_0x31c60a={'type':_0x136a03[_0x4ff3ff(0x2a2)]['COMMAND'],'id':_0x4ff3ff(0x2a0),async 'handler'(_0x2625e0,_0x59769d){const _0x9af9e7=_0x4ff3ff;if(!_0x59769d)return!0x1;const _0x22eb26=_0x2625e0[_0x9af9e7(0x34e)](_0x136a03[_0x9af9e7(0x13a)]),_0x2b9ecf=_0x2625e0[_0x9af9e7(0x34e)](_0x136a03[_0x9af9e7(0x2d1)]),_0xceaad6=_0x2625e0['get'](_0x488dae[_0x9af9e7(0x120)]),{info:_0x4e4fb2,tableFieldId:_0x48769d,pivotTableId:_0x378d21,unitId:_0x2efdcf,subUnitId:_0x2326fa}=_0x59769d,_0xa1e61c=(await _0xceaad6[_0x9af9e7(0x36c)]({'unitId':_0x2efdcf,'subUnitId':_0x2326fa,'pivotTableId':_0x378d21,'params':{'type':_0x434fd6[_0x9af9e7(0xf3)],'setPivotSort':{'tableFieldId':_0x48769d,'info':_0x4e4fb2}}}))['result'][_0x9af9e7(0x181)];if(!_0xa1e61c)return!0x1;const {changesets:_0x379799}=_0xa1e61c,{redos:_0x11a927,undos:_0x52e6da}=_0x3837e3(_0x22eb26,{'pivotTableId':_0x378d21,'unitId':_0x2efdcf,'subUnitId':_0x2326fa},_0x379799);return _0x136a03[_0x9af9e7(0x297)](_0x11a927,_0x22eb26),_0x2b9ecf[_0x9af9e7(0x266)]({'unitID':_0x2efdcf,'redoMutations':_0x11a927,'undoMutations':_0x52e6da}),!0x0;}},_0xacb440={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x190),async 'handler'(_0x141497,_0xd19539){const _0x3dfe7b=_0x4ff3ff;if(!_0xd19539)return!0x1;const _0xe10382=_0x141497[_0x3dfe7b(0x34e)](_0x136a03[_0x3dfe7b(0x13a)]),{pivotTableId:_0x34a0bc,fieldId:_0x46470f,valueFilterInfo:_0x253561,unitId:_0x780f1a,subUnitId:_0x554ef0}=_0xd19539,_0x2dee01=_0x141497[_0x3dfe7b(0x34e)](_0x488dae[_0x3dfe7b(0x120)]),_0x16a18d=_0x141497[_0x3dfe7b(0x34e)](_0x136a03[_0x3dfe7b(0x2d1)]),_0x181495=(await _0x2dee01['getPivotDisplayConfig']({'unitId':_0x780f1a,'subUnitId':_0x554ef0,'pivotTableId':_0x34a0bc,'params':{'type':_0x434fd6[_0x3dfe7b(0x270)],'setValuePivotFilter':{'tableFieldId':_0x46470f,'filterInfo':_0x253561}}}))[_0x3dfe7b(0x340)][_0x3dfe7b(0x14b)];if(!_0x181495)return!0x1;const {changesets:_0x59d2b4,pivotTableConfig:_0x520893,isEmpty:_0x4c1587,view:_0x4cb18e}=_0x181495,_0x402ac7=_0x520893[_0x3dfe7b(0x271)],_0x1e1c84=new _0x10f223[(_0x3dfe7b(0x32d))]();_0x1e1c84[_0x3dfe7b(0x2ed)](_0x4cb18e);const _0x258e25={'cellInfo':_0x402ac7,'view':_0x1e1c84,'isEmpty':_0x4c1587};if(!await _0x141497[_0x3dfe7b(0x34e)](_0x488dae[_0x3dfe7b(0x2af)])[_0x3dfe7b(0x267)]['fetchThroughAsyncInterceptors'](_0x3a4963)(!0x0,_0x258e25))return!0x1;const _0x2dd738=_0x1fa301(_0x141497,_0x1e1c84,_0x402ac7,_0x4c1587),_0x1556e7=_0x15a8dc(_0x141497,_0x258e25),{undos:_0x19aedf,redos:_0x456f7b}=_0x3837e3(_0xe10382,{'pivotTableId':_0x34a0bc,'unitId':_0x780f1a,'subUnitId':_0x554ef0},_0x59d2b4);return _0x136a03[_0x3dfe7b(0x297)]([..._0x2dd738[_0x3dfe7b(0x1aa)],..._0x1556e7[_0x3dfe7b(0x1aa)],..._0x456f7b],_0xe10382),_0x16a18d[_0x3dfe7b(0x266)]({'unitID':_0x780f1a,'redoMutations':[..._0x2dd738[_0x3dfe7b(0x1aa)],..._0x1556e7[_0x3dfe7b(0x1aa)],..._0x456f7b],'undoMutations':[..._0x2dd738[_0x3dfe7b(0x166)],..._0x1556e7[_0x3dfe7b(0x166)],..._0x19aedf]}),!0x0;}},_0x11f031={'id':'sheet.mutation.update-date-group','type':_0x136a03['CommandType'][_0x4ff3ff(0x113)],'handler':(_0x55bd08,_0x34f2b5)=>{const _0x573718=_0x4ff3ff;if(!_0x34f2b5)return!0x1;if(!!_0x55bd08[_0x573718(0x34e)](_0x136a03[_0x573718(0x25a)])[_0x573718(0x17b)](_0x2432cb))return!0x0;const {unitId:_0x413690,subUnitId:_0x4f3dc6,pivotTableId:_0x5f2fd2,tableFieldId:_0x46f31c,dateType:_0x3071a5}=_0x34f2b5,_0x4dd7fd=_0x55bd08[_0x573718(0x34e)](_0x488dae[_0x573718(0x16d)]),_0x56ef56=_0x4dd7fd['getPivotTableInstance'](_0x5f2fd2);if(!_0x56ef56)return!0x1;const _0x1e8e73=_0x56ef56['getDataFieldByTableId'](_0x46f31c);if(!_0x1e8e73)return!0x1;const _0x2b0792=_0x1e8e73[_0x573718(0x116)](),_0x4bd851=_0x56ef56['getDataFieldByDataFieldId'](_0x2b0792),_0x27b41e=(_0x4bd851==null?void 0x0:_0x4bd851[_0x573718(0x2db)]())+'\x20'+_0x435c15(_0x55bd08,_0x3071a5);_0x4dd7fd[_0x573718(0x139)](_0x413690,_0x5f2fd2)[_0x573718(0x167)](_0x1e8e73['id'],_0x27b41e);const _0x3a26c8=_0x56ef56['getTableFieldById'](_0x46f31c);if(!_0x3a26c8)return!0x1;_0x56ef56[_0x573718(0x2c7)](_0x3a26c8[_0x573718(0x1c5)](),_0x27b41e),_0x1e8e73['setDateType'](_0x3071a5);const _0x20a922=_0x4dd7fd[_0x573718(0x12e)](_0x413690,_0x4f3dc6,_0x5f2fd2);return _0x4dd7fd['addDirtyPivotTable']({'unitId':_0x413690,'subUnitId':_0x4f3dc6,'token':_0x5f2fd2,'type':_0x39c7b1[_0x573718(0x2f1)],'pivotConfig':_0x20a922}),!0x0;}},_0x23226d={'id':_0x4ff3ff(0x328),'type':_0x136a03[_0x4ff3ff(0x2a2)]['COMMAND'],'handler':(_0x65b378,_0x5a5e0a)=>{const _0x294d61=_0x4ff3ff;if(!_0x5a5e0a)return!0x1;const _0x4ab466=_0x65b378[_0x294d61(0x34e)](_0x136a03[_0x294d61(0x2d1)]),{unitId:_0x10de41,subUnitId:_0x380c98,pivotTableId:_0x166a38,tableFieldId:_0x10fecf}=_0x5a5e0a,_0x55c813=[],_0x36b821=[],_0x5c22ad=_0x65b378[_0x294d61(0x34e)](_0x488dae[_0x294d61(0x302)]),_0x78903c=_0x5c22ad[_0x294d61(0x139)](_0x10de41,_0x166a38),_0x4ebe48=_0x5c22ad[_0x294d61(0x12e)](_0x10de41,_0x380c98,_0x166a38);if(!(_0x4ebe48!=null&&_0x4ebe48[_0x294d61(0x237)][_0x294d61(0x33b)]))return!0x1;const _0x216188=Object[_0x294d61(0x143)](_0x4ebe48[_0x294d61(0x237)][_0x294d61(0x33b)])['find'](_0x9c5477=>_0x9c5477['id']===_0x10fecf);if(!_0x216188)return!0x1;const _0x3a03e6=_0x216188['dataFieldId'];if(!(_0x78903c!=null&&_0x78903c['fields']))return!0x1;const _0x2ecdda=Object['values'](_0x78903c==null?void 0x0:_0x78903c[_0x294d61(0x88)])[_0x294d61(0xf0)](_0x2c113d=>_0x2c113d['id']===_0x3a03e6);if(!_0x2ecdda)return!0x1;_0x10f223[_0x294d61(0x2b2)](_0x2ecdda)&&_0x55c813['push']({'id':_0x11f031['id'],'params':{..._0x5a5e0a,'dateType':_0x2ecdda['dateType']}}),_0x36b821['push']({'id':_0x11f031['id'],'params':{..._0x5a5e0a}});const _0x335ade=_0x65b378[_0x294d61(0x34e)](_0x136a03[_0x294d61(0x13a)]);return _0x136a03[_0x294d61(0x297)](_0x36b821,_0x335ade)&&_0x4ab466[_0x294d61(0x266)]({'unitID':_0x10de41,'undoMutations':_0x55c813,'redoMutations':_0x36b821}),!0x0;}},_0x2fd21d={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x30b),async 'handler'(_0x416b25,_0x3ee46e){const _0x3f472f=_0x4ff3ff;if(!_0x3ee46e)return!0x1;const _0x1a62ef=_0x416b25['get'](_0x136a03[_0x3f472f(0x13a)]),_0x35bf1d=_0x416b25[_0x3f472f(0x34e)](_0x136a03[_0x3f472f(0x2d1)]),_0x6734f2=_0x416b25['get'](_0x488dae[_0x3f472f(0x120)]),{displayName:_0x1d6aa5,subtotalType:_0xa1b25b,format:_0x1fae95,tableFieldId:_0x660eb3,pivotTableId:_0x440bbe,unitId:_0x5c4093,subUnitId:_0x4090dc}=_0x3ee46e,_0x7af690=(await _0x6734f2[_0x3f472f(0x36c)]({'unitId':_0x5c4093,'subUnitId':_0x4090dc,'pivotTableId':_0x440bbe,'params':{'type':_0x434fd6[_0x3f472f(0x1a1)],'setPivotSetting':{'tableFieldId':_0x660eb3,'displayName':_0x1d6aa5,'subtotalType':_0xa1b25b,'format':_0x1fae95}}}))['result'][_0x3f472f(0x299)];if(!_0x7af690)return!0x1;const {changesets:_0x609b5c,view:_0x1fa7d1,pivotTableConfig:_0x5e5ddd,isEmpty:_0x2a82c2}=_0x7af690,_0x47aa23=_0x5e5ddd['targetCellInfo'],_0x449342=new _0x10f223['PivotView']();_0x449342[_0x3f472f(0x2ed)](_0x1fa7d1);const _0x40f2bc={'cellInfo':_0x47aa23,'view':_0x449342,'isEmpty':_0x2a82c2};if(!await _0x416b25[_0x3f472f(0x34e)](_0x488dae[_0x3f472f(0x2af)])[_0x3f472f(0x267)][_0x3f472f(0x2f4)](_0x3a4963)(!0x0,_0x40f2bc))return!0x1;const _0x5b811a=_0x1fa301(_0x416b25,_0x449342,_0x47aa23,_0x2a82c2),_0x486b11=_0x15a8dc(_0x416b25,_0x40f2bc),{undos:_0x4df000,redos:_0x3ed30a}=_0x3837e3(_0x1a62ef,{'pivotTableId':_0x440bbe,'unitId':_0x5c4093,'subUnitId':_0x4090dc},_0x609b5c);return _0x136a03[_0x3f472f(0x297)]([..._0x5b811a[_0x3f472f(0x1aa)],..._0x486b11[_0x3f472f(0x1aa)],..._0x3ed30a],_0x1a62ef),_0x35bf1d[_0x3f472f(0x266)]({'unitID':_0x5c4093,'redoMutations':[..._0x5b811a['redos'],..._0x486b11['redos'],..._0x3ed30a],'undoMutations':[..._0x5b811a[_0x3f472f(0x166)],..._0x486b11['undos'],..._0x4df000]}),!0x0;}},_0x4fa7f7={'type':_0x136a03['CommandType'][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x249),'handler'(_0x4da11f,_0x59cfe1){const _0x544be1=_0x4ff3ff;if(!_0x59cfe1)return!0x1;if(!!_0x4da11f[_0x544be1(0x34e)](_0x136a03['IConfigService'])[_0x544be1(0x17b)](_0x2432cb))return!0x0;const _0xf5becc=_0x4da11f['get'](_0x488dae[_0x544be1(0x16d)]),{pivotTableId:_0x562253,deleteIds:_0x4f8cb4,collectionJSON:_0x248371,dataRangeInfo:_0x290bee,unitId:_0x40edd5,subUnitId:_0x218794}=_0x59cfe1,_0x9aa2d6=_0xf5becc[_0x544be1(0xbd)](_0x562253),_0x2e9f1a=_0xf5becc['getPivotTableConfig'](_0x40edd5,_0x218794,_0x562253);if(!_0x9aa2d6||!_0x2e9f1a)return!0x1;const {collection:_0x36ae40,updateDataFieldList:_0x38938e}=_0xf5becc['addCollectionByJSON'](_0x562253,_0x248371,_0x290bee,_0x2e9f1a[_0x544be1(0x271)]);_0xf5becc['refreshData'](_0x36ae40,_0x38938e,_0x290bee),_0x9aa2d6[_0x544be1(0xbc)](_0x36ae40);for(const _0x2bc1b7 of _0x4f8cb4)_0xf5becc[_0x544be1(0x10c)](_0x290bee[_0x544be1(0xb4)],_0x2bc1b7);const _0x2713a6=_0xf5becc[_0x544be1(0x12e)](_0x40edd5,_0x218794,_0x562253);return _0x2713a6[_0x544be1(0x329)]=JSON['parse'](JSON[_0x544be1(0x37d)](_0x290bee)),_0xf5becc['addDirtyPivotTable']({'unitId':_0x40edd5,'subUnitId':_0x218794,'token':_0x562253,'type':_0x39c7b1[_0x544be1(0x2f1)]}),!0x0;}},_0x5d30e7={'type':_0x136a03[_0x4ff3ff(0x2a2)]['COMMAND'],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x5b53c8,_0x32bbc4){const _0x3bdbd2=_0x4ff3ff,_0x9df874=_0x5b53c8[_0x3bdbd2(0x34e)](_0x136a03['ICommandService']),_0x21e74b=_0x5b53c8[_0x3bdbd2(0x34e)](_0x488dae[_0x3bdbd2(0x120)]),_0x529074=_0x5b53c8[_0x3bdbd2(0x34e)](_0x136a03[_0x3bdbd2(0x2d1)]);if(!_0x32bbc4)return!0x1;const {token:_0xb56560,dataRangeInfo:_0x286735,unitId:_0x32b379,subUnitId:_0x2a761f}=_0x32bbc4,_0x533250=[],_0x1dd0fb=[],_0x2173e5=(await _0x21e74b[_0x3bdbd2(0x36c)]({'unitId':_0x32b379,'subUnitId':_0x2a761f,'pivotTableId':_0xb56560,'params':{'type':_0x434fd6[_0x3bdbd2(0x1be)],'updatePivotSource':{'dataRangeInfo':_0x286735,'unitId':_0x32b379,'subUnitId':_0x2a761f}}}))[_0x3bdbd2(0x340)][_0x3bdbd2(0xf5)];if(!_0x2173e5)return!0x1;const {changesets:_0x2ce94d,deleteIds:_0x39f8b1,collectionConfig:_0xcdb7c6,oldCollectionConfig:_0x1ea34d,view:_0x3040a9,isEmpty:_0x2e1359,pivotTableConfig:_0x1b5a44}=_0x2173e5;_0x1dd0fb['push']({'id':_0x4fa7f7['id'],'params':{'pivotTableId':_0xb56560,'deleteIds':_0x39f8b1,'collectionJSON':_0xcdb7c6,'dataRangeInfo':_0x286735,'unitId':_0x32b379,'subUnitId':_0x2a761f}}),_0x533250[_0x3bdbd2(0x246)]({'id':_0x4fa7f7['id'],'params':{'pivotTableId':_0xb56560,'deleteIds':[],'collectionJSON':_0x1ea34d,'dataRangeInfo':_0x1b5a44[_0x3bdbd2(0x329)],'unitId':_0x32b379,'subUnitId':_0x2a761f}});const _0x1ae3c0=_0x1b5a44[_0x3bdbd2(0x271)],_0x1f0e9f=new _0x10f223[(_0x3bdbd2(0x32d))]();_0x1f0e9f['formJSON'](_0x3040a9);const _0x333ce1={'cellInfo':_0x1ae3c0,'view':_0x1f0e9f,'isEmpty':_0x2e1359};if(!await _0x5b53c8[_0x3bdbd2(0x34e)](_0x488dae[_0x3bdbd2(0x2af)])[_0x3bdbd2(0x267)][_0x3bdbd2(0x2f4)](_0x3a4963)(!0x0,_0x333ce1))return!0x1;const _0x228353=_0x1fa301(_0x5b53c8,_0x1f0e9f,_0x1ae3c0,_0x2e1359),_0x1849a5=_0x15a8dc(_0x5b53c8,_0x333ce1),{undos:_0x19342c,redos:_0x140a44}=_0x3837e3(_0x9df874,{'pivotTableId':_0xb56560,'unitId':_0x32b379,'subUnitId':_0x2a761f},_0x2ce94d);return _0x136a03['sequenceExecute']([..._0x228353['redos'],..._0x1849a5['redos'],..._0x1dd0fb,..._0x19342c],_0x9df874),_0x529074['pushUndoRedo']({'unitID':_0x32b379,'redoMutations':[..._0x228353['redos'],..._0x1849a5[_0x3bdbd2(0x1aa)],..._0x1dd0fb,..._0x19342c],'undoMutations':[..._0x228353['undos'],..._0x1849a5[_0x3bdbd2(0x166)],..._0x533250,..._0x140a44]}),!0x0;}},_0x39841d={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x138),async 'handler'(_0x27a162,_0x2fb5e2){const _0x534c22=_0x4ff3ff;if(!_0x2fb5e2)return!0x1;const _0x15a13f=_0x27a162[_0x534c22(0x34e)](_0x136a03[_0x534c22(0x13a)]),_0x53d7e4=_0x27a162[_0x534c22(0x34e)](_0x488dae[_0x534c22(0x120)]),_0x220d9d=_0x27a162['get'](_0x136a03['IUniverInstanceService']),_0x5e33ae=_0x27a162[_0x534c22(0x34e)](_0x136a03[_0x534c22(0x2d1)]),{pivotTableId:_0x4bfb32,position:_0x500415,index:_0x2cd83d}=_0x2fb5e2,_0x5dfdea=_0x47d532[_0x534c22(0x1f7)](_0x220d9d);if(!_0x5dfdea)return!0x1;const {unitId:_0x3dcf7d,subUnitId:_0x2886b8}=_0x5dfdea,_0x496885=(await _0x53d7e4[_0x534c22(0x36c)]({'unitId':_0x3dcf7d,'subUnitId':_0x2886b8,'pivotTableId':_0x4bfb32,'params':{'type':_0x434fd6['UpdateValuePosition'],'updateValuePosition':{'position':_0x500415,'index':_0x2cd83d}}}))[_0x534c22(0x340)][_0x534c22(0x197)];if(!_0x496885)return!0x1;const {changesets:_0x6611a0,view:_0x4e18d7,isEmpty:_0x14e794,pivotTableConfig:_0x2bb680}=_0x496885,_0x26a8f5=_0x2bb680[_0x534c22(0x271)],_0x3a3865=new _0x10f223[(_0x534c22(0x32d))]();_0x3a3865[_0x534c22(0x2ed)](_0x4e18d7);const _0x1c5a0d=_0x27a162[_0x534c22(0x34e)](_0x488dae[_0x534c22(0x2af)]),_0x548ff9={'cellInfo':_0x26a8f5,'view':_0x3a3865,'isEmpty':_0x14e794};if(!await _0x1c5a0d['asyncInterceptor'][_0x534c22(0x2f4)](_0x3a4963)(!0x0,_0x548ff9))return!0x1;const _0x1bd913=_0x1fa301(_0x27a162,_0x3a3865,_0x26a8f5,_0x14e794),_0x48f547=_0x15a8dc(_0x27a162,_0x548ff9),{undos:_0x4e8034,redos:_0x3d37f3}=_0x3837e3(_0x15a13f,{'pivotTableId':_0x4bfb32,'unitId':_0x3dcf7d,'subUnitId':_0x2886b8},_0x6611a0);return _0x136a03[_0x534c22(0x297)]([..._0x1bd913[_0x534c22(0x1aa)],..._0x48f547['redos'],..._0x3d37f3],_0x15a13f),_0x5e33ae[_0x534c22(0x266)]({'unitID':_0x3dcf7d,'redoMutations':[..._0x1bd913['redos'],..._0x48f547[_0x534c22(0x1aa)],..._0x3d37f3],'undoMutations':[..._0x1bd913[_0x534c22(0x166)],..._0x48f547[_0x534c22(0x166)],..._0x4e8034]}),!0x0;}},_0x4f48b1={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x378),'handler'(){return!0x0;}};var _0x572bbb=Object[_0x4ff3ff(0xba)],_0x1326f5=(_0x56e392,_0xc3ce24,_0x20c4cc,_0x54c7be)=>{for(var _0x366d98=_0x54c7be>0x1?void 0x0:_0x54c7be?_0x572bbb(_0xc3ce24,_0x20c4cc):_0xc3ce24,_0x3d66b6=_0x56e392['length']-0x1,_0x58fc24;_0x3d66b6>=0x0;_0x3d66b6--)(_0x58fc24=_0x56e392[_0x3d66b6])&&(_0x366d98=_0x58fc24(_0x366d98)||_0x366d98);return _0x366d98;},_0x424f0b=(_0x35f1d7,_0x153eac)=>(_0x3cadb4,_0x1361e2)=>_0x153eac(_0x3cadb4,_0x1361e2,_0x35f1d7);const _0x55cac3=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x501ff4=(_0x4cebf6,_0x848185,_0x236cc0)=>{const _0xe56af1=_0x4ff3ff,_0x1f5fa3=_0x4cebf6[_0xe56af1(0x24e)];_0x4cebf6['iterateFieldDim'](_0x5912d1=>{const _0x4197bd=_0xe56af1,_0x5d1282=_0x5912d1[_0x4197bd(0x1c5)](),_0x3aa6dc=_0x5912d1[_0x4197bd(0x164)](),_0x1502ea=_0x5912d1[_0x4197bd(0x19c)](),_0x6b1563=_0x5912d1['getDisplayName']();_0x848185[_0x3aa6dc]&&_0x848185[_0x3aa6dc]===_0x6b1563&&_0x1502ea===_0x6b1563&&(_0x4cebf6[_0x4197bd(0x2c7)](_0x5d1282,_0x1f5fa3['getDisplayName'](_0x3aa6dc)),_0x5912d1[_0x4197bd(0x375)](_0x1f5fa3[_0x4197bd(0x2f5)](_0x3aa6dc)));}),_0x4cebf6[_0xe56af1(0x2c3)](_0x10f223[_0xe56af1(0x325)][_0xe56af1(0x27e)],_0x23c443=>{const _0x447216=_0xe56af1,_0x405ea2=_0x23c443[_0x447216(0x1c5)](),_0x22a5d5=_0x23c443[_0x447216(0x164)](),_0x58771b=_0x23c443['getSourceName'](),_0x386ada=_0x23c443[_0x447216(0x2f5)](),_0x592297=_0x23c443['getSubtotal'](),_0x401604=_0x236cc0(_0x58771b,_0x592297);_0x848185[_0x22a5d5]&&_0x848185[_0x22a5d5]===_0x58771b&&_0x401604===_0x386ada&&(_0x4cebf6['renameField'](_0x405ea2,_0x236cc0(_0x1f5fa3['getDisplayName'](_0x22a5d5),_0x592297)),_0x23c443[_0x447216(0x375)](_0x1f5fa3[_0x447216(0x2f5)](_0x22a5d5)));});},_0x52c006=(_0x320f40,_0x4f9b60,_0x19500f)=>{const _0x1fbd2e=_0x4ff3ff;var _0x3f4aae,_0x35ee74;const {arrayFormulaCellData:_0xddc126,unitData:_0x97cf}=_0x4f9b60,{unitId:_0x5234ba,subUnitId:_0x26caa1}=_0x19500f,_0x592eea=_0x19500f[_0x1fbd2e(0x1fe)],{startColumn:_0x5f3beb,endColumn:_0x24beaa}=_0x592eea,_0x37a50f=(_0x3f4aae=_0xddc126==null?void 0x0:_0xddc126[_0x5234ba])==null?void 0x0:_0x3f4aae[_0x26caa1],_0xef543c=(_0x35ee74=_0x97cf==null?void 0x0:_0x97cf[_0x5234ba])==null?void 0x0:_0x35ee74[_0x26caa1],_0x5de340=new Set(),_0x2fbcd0=_0x24beaa-_0x5f3beb+0x1,{dirtyRanges:_0x3539b4}=_0x320f40;if(_0x3539b4)for(const {range:_0x22642d,sheetId:_0x30c1c4,unitId:_0x292a38}of _0x3539b4){if(_0x30c1c4!==_0x26caa1||_0x5234ba!==_0x292a38)continue;const _0x50003b=_0x136a03[_0x1fbd2e(0xab)][_0x1fbd2e(0x27c)](_0x22642d,_0x592eea);if(_0x50003b){const {startColumn:_0xa400eb,endColumn:_0x242f41}=_0x50003b;for(let _0xd48eb=_0xa400eb;_0xd48eb<=_0x242f41;_0xd48eb++)_0x5de340['add'](_0xd48eb);}}if(_0x5de340[_0x1fbd2e(0x26f)]===_0x2fbcd0||_0x5de340[_0x1fbd2e(0x26f)]===_0x2fbcd0)return Array['from'](_0x5de340);if(_0xef543c){const _0x44a3c6=_0xef543c[_0x1fbd2e(0x28b)](),_0x257807=Object['keys'](_0x44a3c6);for(const _0x19ba6e of _0x257807){const _0x5365bb=Number(_0x19ba6e),_0x3b971c=_0x44a3c6[_0x5365bb];if(_0x5de340[_0x1fbd2e(0x26f)]===_0x2fbcd0)break;for(const _0x3c469c in _0x3b971c){const _0x118e66=Number(_0x3c469c);_0x118e66<_0x5f3beb||_0x118e66>_0x24beaa||_0x5de340[_0x1fbd2e(0x20b)](_0x118e66);}}}if(_0x37a50f){const _0x405c23=_0x37a50f[_0x1fbd2e(0x28b)](),_0x5b8a22=Object[_0x1fbd2e(0x255)](_0x405c23);for(const _0x470687 of _0x5b8a22){const _0x1c905e=Number(_0x470687),_0x6073e8=_0x405c23[_0x1c905e];if(_0x5de340[_0x1fbd2e(0x26f)]===_0x2fbcd0)break;for(const _0x30ec40 in _0x6073e8){const _0x67f501=Number(_0x30ec40);_0x67f501<_0x5f3beb||_0x67f501>_0x24beaa||_0x5de340[_0x1fbd2e(0x20b)](_0x67f501);}}}return Array[_0x1fbd2e(0x154)](_0x5de340);},_0x338db6=_0x50612f=>{const _0x307139=_0x4ff3ff,_0xa21f9=new Set(),_0x48fa7a=[];for(const _0x425da5 of _0x50612f){const _0x5a7dd4=_0x425da5['startRow']+','+_0x425da5[_0x307139(0x27a)]+','+_0x425da5[_0x307139(0x2fd)]+','+_0x425da5[_0x307139(0x304)];_0xa21f9[_0x307139(0x1ef)](_0x5a7dd4)||(_0xa21f9['add'](_0x5a7dd4),_0x48fa7a[_0x307139(0xda)](_0x425da5));}return _0x48fa7a;};let _0x1f28d6=class extends _0x136a03['Disposable']{constructor(_0x562bf2,_0x454cb3,_0x235261,_0x2f0735,_0x181015){const _0x4b671f=_0x4ff3ff;super(),_0x4779db(this,_0x4b671f(0x146),new _0x4d3cd2[(_0x4b671f(0x374))](!0x0)),_0x4779db(this,_0x4b671f(0x35d),_0x169cb0=>{const _0x41d046=_0x4b671f;this[_0x41d046(0x146)]['next'](!0x1);}),_0x4779db(this,'_globalComputedEndHelpFunc',_0x2a94c7=>{const _0x2ea715=_0x4b671f;this[_0x2ea715(0x146)][_0x2ea715(0x236)](!0x0);}),(this[_0x4b671f(0x30e)]=_0x562bf2,this[_0x4b671f(0x296)]=_0x454cb3,this[_0x4b671f(0x1ff)]=_0x235261,this[_0x4b671f(0x281)]=_0x2f0735,this['_injector']=_0x181015,this[_0x4b671f(0x202)](),this['_initPivotDataGetListener']());}[_0x4ff3ff(0x202)](){const _0x262143=_0x4ff3ff;this[_0x262143(0x1c7)](),this['_subjectViewChange'](),this[_0x262143(0x33c)](),this[_0x262143(0x24c)]();}['_initGlobalComputed'](){const _0xd9f09e=_0x4ff3ff;this[_0xd9f09e(0x281)]['pushComputingStatusSubject'](this[_0xd9f09e(0x146)]),_0x10f223[_0xd9f09e(0x31a)][_0xd9f09e(0x15c)](_0x10f223[_0xd9f09e(0x2a7)][_0xd9f09e(0x71)],this[_0xd9f09e(0x35d)]),_0x10f223[_0xd9f09e(0x31a)][_0xd9f09e(0x15c)](_0x10f223[_0xd9f09e(0x2a7)]['onQueryEnd'],this[_0xd9f09e(0xf8)]);}[_0x4ff3ff(0x253)](){const _0x22f34c=_0x4ff3ff;this[_0x22f34c(0x228)](this['_commandService'][_0x22f34c(0x104)](_0x2ddbe4=>{const _0x56357f=_0x22f34c;_0x2ddbe4['id']===_0x47d532['MoveRangeMutation']['id']&&this[_0x56357f(0x30e)][_0x56357f(0x114)](_0x2ddbe4[_0x56357f(0x221)]);})),this[_0x22f34c(0x228)](this[_0x22f34c(0x1ff)]['onCommandExecuted'](_0x229d24=>{const _0x57e85b=_0x22f34c;if(_0x229d24['id']!==_0x5ccc55['id'])return;const _0x456ed7=_0x229d24[_0x57e85b(0x221)],{unitId:_0x567cae,subUnitId:_0x4e729d,pivotTableId:_0x19771c}=_0x456ed7,_0x42a52f=_0x456ed7['params'][_0x57e85b(0x20d)],_0x587168={};switch(_0x42a52f){case _0x434fd6[_0x57e85b(0x12c)]:{const _0x347d31=_0x456ed7[_0x57e85b(0x221)]['filter'];if(!_0x347d31)return;const {row:_0x39d3c9,col:_0x1c1262,cellData:_0x301eba,pivotItemRenderInfoCache:_0x575035,tableFieldId:_0x47d274}=_0x347d31,_0x450580=this['_sheetsPivotDataSourceModel'][_0x57e85b(0xbd)](_0x456ed7[_0x57e85b(0xd0)]);if(!_0x450580||!_0x575035)return;if(_0x47d274){const _0x1cde4f=_0x450580['getDataFieldByTableId'](_0x47d274);if(!_0x1cde4f)return;_0x587168[_0x57e85b(0xb3)]={..._0x450580[_0x57e85b(0x2f0)](_0x1cde4f),'tableFieldId':_0x47d274,'pivotTableId':_0x456ed7['pivotTableId'],'filterInfo':_0x450580[_0x57e85b(0xb0)](_0x47d274),'sortInfo':_0x450580[_0x57e85b(0x1d8)](_0x47d274),'format':_0x450580[_0x57e85b(0x215)](_0x47d274)};}else{const _0x4e46bb=_0x3872a6(_0x39d3c9,_0x1c1262,_0x301eba,_0x450580,_0x575035),_0x80bed6=_0x4e46bb==null?void 0x0:_0x4e46bb[_0x57e85b(0x360)];if(!_0x80bed6)return;const _0x231952=_0x450580[_0x57e85b(0x357)](_0x80bed6);if(!_0x231952)return;_0x587168[_0x57e85b(0xb3)]={..._0x450580[_0x57e85b(0x2f0)](_0x231952),'tableFieldId':_0x80bed6,'pivotTableId':_0x456ed7[_0x57e85b(0xd0)],'filterInfo':_0x450580[_0x57e85b(0xb0)](_0x80bed6),'sortInfo':_0x450580['getSortInfo'](_0x80bed6),'format':_0x450580['getFieldFormat'](_0x80bed6)};}}break;case _0x434fd6[_0x57e85b(0x119)]:{const _0x40ff5d=_0x456ed7[_0x57e85b(0x221)]['panel'];if(!_0x40ff5d)return;const {pivotTableId:_0x525a87}=_0x40ff5d,_0x56277d=this[_0x57e85b(0x30e)]['getPivotTableInstance'](_0x525a87);if(!_0x56277d)return;const _0x2fdd52=this['_sheetsPivotDataSourceModel'][_0x57e85b(0x12e)](_0x567cae,_0x4e729d,_0x525a87),_0x465a2c=_0xfefbb8(_0x56277d,_0x525a87,_0x2fdd52);_0x587168[_0x57e85b(0x324)]=_0x465a2c;}break;case _0x434fd6[_0x57e85b(0x115)]:{const _0x46ab21=this['_sheetsPivotDataSourceModel'][_0x57e85b(0xbd)](_0x19771c),_0x4a582a=this[_0x57e85b(0x30e)]['getDataFieldManager'](_0x567cae),_0xf13a7e=_0x4a582a['getCollection'](_0x19771c);let _0x3cd53f=null;const _0x5a4c85=this['_sheetsPivotDataSourceModel'][_0x57e85b(0x12e)](_0x567cae,_0x4e729d,_0x19771c),_0x202b75=_0x456ed7[_0x57e85b(0x221)]['addPivotField'];if(!_0x46ab21||!_0x5a4c85||!_0x202b75)return!0x1;const {dataFieldId:_0x1143f5,fieldArea:_0x353d94,index:_0x535c82}=_0x202b75;_0x46ab21[_0x57e85b(0x141)]();const _0x3201c1=_0x46ab21['addFieldWithSourceId'](_0x1143f5,_0x353d94,_0x535c82);if(_0x3201c1&&_0x353d94===_0x10f223[_0x57e85b(0x325)]['Value']){const _0x29fb25=_0x3201c1['getId'](),_0x22d3b3=_0x46ab21[_0x57e85b(0x357)](_0x29fb25);if(_0x22d3b3){const _0x346e54=_0x22d3b3==null?void 0x0:_0x22d3b3['getFieldDataType']();_0x46ab21[_0x57e85b(0x177)](_0x3201c1['getId'](),_0x346e54===_0x10f223[_0x57e85b(0x12d)][_0x57e85b(0x14d)]?_0x10f223[_0x57e85b(0x1a8)]['sum']:_0x10f223[_0x57e85b(0x1a8)]['count']);}const _0x461d18=_0x46ab21['getValueIndex'](),_0x2755b4=_0x46ab21[_0x57e85b(0x290)](),_0x1bc372=_0x46ab21['getFieldCountByArea'](_0x10f223[_0x57e85b(0x325)][_0x57e85b(0x27e)]);if(_0x461d18===-0x1&&_0x1bc372>0x1){const _0x396dc3=_0x2755b4===_0x10f223[_0x57e85b(0x25f)]['None']?_0x10f223[_0x57e85b(0x25f)]['Column']:_0x2755b4,_0x2b0951=_0x396dc3===_0x10f223[_0x57e85b(0x25f)][_0x57e85b(0x36f)]?_0x10f223[_0x57e85b(0x325)]['Row']:_0x10f223[_0x57e85b(0x325)][_0x57e85b(0x1a5)];_0x46ab21[_0x57e85b(0x197)](_0x396dc3,_0x46ab21['getFieldCountByArea'](_0x2b0951));}}else{if(_0x3201c1&&(_0x353d94===_0x10f223[_0x57e85b(0x325)]['Row']||_0x353d94===_0x10f223[_0x57e85b(0x325)][_0x57e85b(0x1a5)])){const _0x280a9c=_0x3201c1[_0x57e85b(0x1c5)](),_0x55166d=_0x46ab21[_0x57e85b(0x357)](_0x280a9c);if(_0x55166d&&(_0x55166d==null?void 0x0:_0x55166d[_0x57e85b(0x23d)]())===_0x10f223[_0x57e85b(0x12d)]['date']){const _0x2a21d4=_0x55166d[_0x57e85b(0x98)]();if(_0x2a21d4&&_0x46ab21[_0x57e85b(0x207)](_0x3201c1[_0x57e85b(0x1c5)](),_0x2a21d4),!_0xf13a7e['getFieldIds']()[_0x57e85b(0x1bb)](_0x2913b3=>{const _0x47fc0e=_0x57e85b,_0x15a538=_0xf13a7e[_0x47fc0e(0x176)](_0x2913b3);return _0x10f223[_0x47fc0e(0x338)](_0x15a538)?_0x15a538['getFieldInfo']()['originalFieldId']===_0x1143f5:!0x1;})){const _0x1025e3=_0x4a582a[_0x57e85b(0x33f)](),_0x6c2a8=_0x16f9d4(_0x55166d[_0x57e85b(0x1a7)],_0x55166d['minDate']),_0xc9d5f3=_0x55166d[_0x57e85b(0x2db)]()+'\x20-\x20'+_0x435c15(this[_0x57e85b(0x17c)],_0x6c2a8),_0x265ea8=new _0x10f223[(_0x57e85b(0x2a1))](_0x1025e3,_0xc9d5f3,_0x10f223['generateHexNumber'](0x3),_0x55166d['getId'](),_0x6c2a8);_0x4a582a[_0x57e85b(0x16c)](_0x265ea8),_0xf13a7e[_0x57e85b(0x2ae)](_0x1025e3,_0xc9d5f3),_0x46ab21[_0x57e85b(0x1e3)](_0x1025e3,_0x353d94,(_0x535c82!=null?_0x535c82:0x0)+0x1),_0x3cd53f=_0x265ea8;}}}}const _0x11d4a4=_0x46ab21[_0x57e85b(0x314)](),_0x5f337f=_0x46ab21[_0x57e85b(0x285)]()[_0x57e85b(0x19f)]();let _0x5e60cd;if(_0x3cd53f){_0x5e60cd=_0x3cd53f[_0x57e85b(0x19f)]();const _0x531cb4=_0x3cd53f[_0x57e85b(0x1c5)]();_0xf13a7e[_0x57e85b(0x6c)](_0x531cb4);let _0x111d28=!0x0;for(const _0x31a5dc in _0x4a582a['collections'])if(_0x4a582a[_0x57e85b(0x152)][_0x31a5dc][_0x57e85b(0x136)]()[_0x57e85b(0x9d)](_0x531cb4)){_0x111d28=!0x1;break;}_0x111d28&&_0x4a582a[_0x57e85b(0x336)](_0x531cb4);}const _0x242e67=_0x46ab21[_0x57e85b(0x23e)]();_0x587168[_0x57e85b(0x99)]={'view':_0x5f337f,'changesets':_0x242e67,'isEmpty':_0x11d4a4,'pivotTableConfig':_0x5a4c85,'shouldBeAddedGroupJSON':_0x5e60cd};}break;case _0x434fd6[_0x57e85b(0x323)]:{const _0x238c0c=_0x456ed7[_0x57e85b(0x221)][_0x57e85b(0xa2)];if(!_0x238c0c)return;const _0x168692=_0x238c0c[_0x57e85b(0x329)],_0x8e5cd1=_0x238c0c[_0x57e85b(0xd0)],{collection:_0x2b9ec1}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x168692[_0x57e85b(0xb4)],'sheetName':_0x168692[_0x57e85b(0xdd)],'subUnitId':_0x168692['subUnitId'],'range':_0x168692[_0x57e85b(0x1fe)]}),_0x106f0f=new _0x10f223[(_0x57e85b(0x31a))](_0x2b9ec1,void 0x0,_0x8e5cd1),_0x49d4e8=_0x106f0f[_0x57e85b(0x285)](),_0x53a5c4=_0x106f0f['toJSON'](),_0x2091f9=_0x2b9ec1[_0x57e85b(0x19f)]();_0x587168[_0x57e85b(0xa2)]={'view':_0x49d4e8,'fieldsConfig':_0x53a5c4,'collectionConfig':_0x2091f9,'isEmpty':_0x106f0f[_0x57e85b(0x314)]()};}break;case _0x434fd6[_0x57e85b(0x1c0)]:{const _0x2b982e=_0x456ed7[_0x57e85b(0x221)][_0x57e85b(0x129)];if(!_0x2b982e)return;const {fieldId:_0x556907,area:_0x57e403,index:_0x49edeb}=_0x2b982e,_0x57ceba=this[_0x57e85b(0x30e)][_0x57e85b(0x12e)](_0x567cae,_0x4e729d,_0x19771c);if(!_0x57ceba)return;const _0x106e87=this[_0x57e85b(0x30e)]['getPivotTableInstance'](_0x19771c);if(!_0x106e87)return;_0x106e87[_0x57e85b(0x141)]();const {area:_0x2e2c6e,index:_0x2d30fa}=_0x106e87[_0x57e85b(0x303)](_0x556907);if(_0x106e87[_0x57e85b(0x93)](_0x556907,_0x57e403,_0x49edeb),_0x57e403===_0x10f223[_0x57e85b(0x325)][_0x57e85b(0x27e)]&&_0x106e87[_0x57e85b(0x14f)](_0x556907)[_0x57e85b(0x13d)]()===void 0x0){const _0x51877d=_0x106e87[_0x57e85b(0x14f)](_0x556907);if(_0x51877d&&_0x51877d[_0x57e85b(0x13d)]()===void 0x0){const _0x479d72=_0x106e87['getDataFieldByTableId'](_0x556907);if(_0x479d72){const _0x521a0c=_0x479d72==null?void 0x0:_0x479d72[_0x57e85b(0x23d)]();_0x106e87['setSubtotalType'](_0x556907,_0x521a0c===_0x10f223[_0x57e85b(0x12d)][_0x57e85b(0x14d)]?_0x10f223[_0x57e85b(0x1a8)]['sum']:_0x10f223['PivotSubtotalTypeEnum'][_0x57e85b(0x2f7)]);}}}const _0x261a1c=_0x106e87[_0x57e85b(0x290)](),_0x2a9011=_0x106e87[_0x57e85b(0x258)](),_0x35a993=_0x106e87[_0x57e85b(0x1ce)](_0x10f223[_0x57e85b(0x325)]['Value'])>0x1;if(_0x35a993&&_0x2e2c6e===_0x57e403&&(_0x57e403===_0x10f223[_0x57e85b(0x325)][_0x57e85b(0x36f)]&&_0x261a1c===_0x10f223[_0x57e85b(0x25f)][_0x57e85b(0x36f)]||_0x57e403===_0x10f223[_0x57e85b(0x325)][_0x57e85b(0x1a5)]&&_0x261a1c===_0x10f223['PivotTableValuePositionEnum'][_0x57e85b(0x1a5)])){let _0x2e339d=_0x2a9011;_0x2d30fa<=_0x2a9011&&_0x2e339d--,_0x49edeb<=_0x2a9011&&_0x2e339d++,_0x106e87[_0x57e85b(0x197)](_0x261a1c,_0x2e339d);}else _0x35a993&&(_0x2e2c6e===_0x10f223[_0x57e85b(0x325)]['Row']&&_0x261a1c===_0x10f223[_0x57e85b(0x25f)][_0x57e85b(0x36f)]||_0x2e2c6e===_0x10f223[_0x57e85b(0x325)][_0x57e85b(0x1a5)]&&_0x261a1c===_0x10f223[_0x57e85b(0x25f)]['Column'])&&_0x2a9011>=_0x2d30fa&&_0x106e87[_0x57e85b(0x197)](_0x261a1c,_0x2a9011-0x1),_0x35a993&&(_0x57e403===_0x10f223[_0x57e85b(0x325)][_0x57e85b(0x36f)]&&_0x261a1c===_0x10f223[_0x57e85b(0x25f)][_0x57e85b(0x36f)]||_0x57e403===_0x10f223['PivotTableFiledAreaEnum'][_0x57e85b(0x1a5)]&&_0x261a1c===_0x10f223[_0x57e85b(0x25f)][_0x57e85b(0x1a5)])&&_0x2a9011>=_0x49edeb&&_0x106e87[_0x57e85b(0x197)](_0x261a1c,_0x2a9011+0x1);const _0x131de4=_0x106e87[_0x57e85b(0x285)](),_0x315c6d=_0x106e87[_0x57e85b(0x314)](),_0x2520fa=_0x106e87[_0x57e85b(0x23e)]();_0x587168[_0x57e85b(0x129)]={'view':_0x131de4[_0x57e85b(0x19f)](),'changesets':_0x2520fa,'isEmpty':_0x315c6d,'pivotTableConfig':_0x57ceba};}break;case _0x434fd6[_0x57e85b(0x86)]:{const _0x479d8f=_0x456ed7[_0x57e85b(0x221)]['removePivotField'];if(!_0x479d8f)return;const _0x229f69=_0x479d8f[_0x57e85b(0x187)],_0x8f1201=this[_0x57e85b(0x30e)]['getPivotTableConfig'](_0x567cae,_0x4e729d,_0x19771c);if(!_0x8f1201)return!0x1;const _0x3cda09=this[_0x57e85b(0x30e)]['getPivotTableInstance'](_0x19771c);if(!_0x3cda09)return!0x1;_0x3cda09[_0x57e85b(0x141)]();for(const _0x5c9d8b of _0x229f69){const {area:_0x2af3e3}=_0x3cda09[_0x57e85b(0x303)](_0x5c9d8b);_0x2af3e3===_0x10f223['PivotTableFiledAreaEnum'][_0x57e85b(0x27e)]&&_0x3cda09[_0x57e85b(0x1df)](_0x5c9d8b),(_0x2af3e3===_0x10f223[_0x57e85b(0x325)]['Row']||_0x2af3e3===_0x10f223['PivotTableFiledAreaEnum'][_0x57e85b(0x1a5)])&&_0x3cda09[_0x57e85b(0x189)](_0x5c9d8b),_0x3cda09[_0x57e85b(0x256)](_0x5c9d8b);}const _0x1a9ac9=_0x3cda09[_0x57e85b(0x314)](),_0x439b79=_0x3cda09[_0x57e85b(0x285)]()[_0x57e85b(0x19f)](),_0x5ca669=_0x3cda09[_0x57e85b(0x23e)]();_0x587168[_0x57e85b(0xa8)]={'changesets':_0x5ca669,'pivotTableConfig':_0x8f1201,'isEmpty':_0x1a9ac9,'view':_0x439b79};}break;case _0x434fd6['SetPivotFilter']:{const _0xc9aaf0=_0x456ed7[_0x57e85b(0x221)][_0x57e85b(0x2e1)];if(!_0xc9aaf0)return;const {tableFieldId:_0x32b6cc,items:_0x55e1ca,isAll:_0xddcce8}=_0xc9aaf0,_0x40d55d=this[_0x57e85b(0x30e)]['getPivotTableInstance'](_0x19771c),_0x2f8568=this['_sheetsPivotDataSourceModel'][_0x57e85b(0x12e)](_0x567cae,_0x4e729d,_0x19771c);if(!_0x40d55d||!_0x2f8568)return;_0x40d55d['startCollectChangeset'](),_0x40d55d['setLabelFilterInfo'](_0x32b6cc,{'type':_0x10f223[_0x57e85b(0x369)][_0x57e85b(0x22a)],'list':_0x55e1ca,'isAll':_0xddcce8});const _0x4d6f42=_0x40d55d['isEmpty'](),_0xb583fb=_0x40d55d[_0x57e85b(0x285)]()[_0x57e85b(0x19f)](),_0x11a82=_0x40d55d['endCollectChangeset']();_0x587168[_0x57e85b(0x2e1)]={'view':_0xb583fb,'changesets':_0x11a82,'isEmpty':_0x4d6f42,'pivotTableConfig':_0x2f8568};}break;case _0x434fd6[_0x57e85b(0x270)]:{const _0x1ee83a=_0x456ed7[_0x57e85b(0x221)][_0x57e85b(0x14b)];if(!_0x1ee83a)return;const {tableFieldId:_0x57db18,filterInfo:_0x178ae7}=_0x1ee83a,_0x807fa8=this[_0x57e85b(0x30e)][_0x57e85b(0xbd)](_0x19771c),_0x4d56f8=this[_0x57e85b(0x30e)][_0x57e85b(0x12e)](_0x567cae,_0x4e729d,_0x19771c);if(!_0x807fa8||!_0x4d56f8)return;_0x807fa8[_0x57e85b(0x141)](),_0x807fa8[_0x57e85b(0x79)](_0x57db18,_0x178ae7);const _0x97283a=_0x807fa8[_0x57e85b(0x314)](),_0x5030a3=_0x807fa8[_0x57e85b(0x285)]()[_0x57e85b(0x19f)](),_0x3260ab=_0x807fa8[_0x57e85b(0x23e)]();_0x587168[_0x57e85b(0x14b)]={'view':_0x5030a3,'changesets':_0x3260ab,'isEmpty':_0x97283a,'pivotTableConfig':_0x4d56f8};}break;case _0x434fd6['SetPivotSort']:{const _0x11840b=_0x456ed7[_0x57e85b(0x221)][_0x57e85b(0x181)];if(!_0x11840b)return;const {tableFieldId:_0x22412f,info:_0x3de475}=_0x11840b,_0x2a5c24=this[_0x57e85b(0x30e)]['getPivotTableInstance'](_0x19771c),_0x5ba65b=this[_0x57e85b(0x30e)][_0x57e85b(0x12e)](_0x567cae,_0x4e729d,_0x19771c);if(!_0x2a5c24||!_0x5ba65b)return;_0x2a5c24[_0x57e85b(0x141)](),_0x2a5c24['setSortInfo'](_0x22412f,_0x3de475);const _0x30a2f2=_0x2a5c24['isEmpty'](),_0x52e5f2=_0x2a5c24['query']()[_0x57e85b(0x19f)](),_0xd1829c=_0x2a5c24[_0x57e85b(0x23e)]();_0x587168[_0x57e85b(0x181)]={'view':_0x52e5f2,'changesets':_0xd1829c,'isEmpty':_0x30a2f2,'pivotTableConfig':_0x5ba65b};}break;case _0x434fd6['SetPivotSetting']:{const _0x54dd2a=_0x456ed7['params'][_0x57e85b(0x299)];if(!_0x54dd2a)return;const {tableFieldId:_0xfd2b8,displayName:_0x4a48eb,subtotalType:_0x53702f,format:_0x289f93}=_0x54dd2a,_0x37b418=this[_0x57e85b(0x30e)][_0x57e85b(0xbd)](_0x19771c),_0x5e2773=this[_0x57e85b(0x30e)]['getPivotTableConfig'](_0x567cae,_0x4e729d,_0x19771c);if(!_0x37b418||!_0x5e2773)return;_0x37b418[_0x57e85b(0x141)](),_0x4a48eb!==void 0x0&&_0x37b418[_0x57e85b(0x2c7)](_0xfd2b8,_0x4a48eb),_0x53702f!==void 0x0&&_0x37b418['setSubtotalType'](_0xfd2b8,_0x53702f),_0x289f93!==void 0x0&&_0x37b418[_0x57e85b(0x207)](_0xfd2b8,_0x289f93);const _0x25855d=_0x37b418[_0x57e85b(0x314)](),_0x23a047=_0x37b418[_0x57e85b(0x285)]()['toJSON'](),_0x12e652=_0x37b418[_0x57e85b(0x23e)]();_0x587168[_0x57e85b(0x299)]={'changesets':_0x12e652,'pivotTableConfig':_0x5e2773,'isEmpty':_0x25855d,'view':_0x23a047};}break;case _0x434fd6[_0x57e85b(0x1be)]:{const _0x2e685d=_0x456ed7[_0x57e85b(0x221)]['updatePivotSource'];if(!_0x2e685d)return;const {dataRangeInfo:_0x53593a,unitId:_0x698b84,subUnitId:_0x529a39}=_0x2e685d,_0x30bcaf=this[_0x57e85b(0x30e)]['getPivotTableConfig'](_0x698b84,_0x529a39,_0x19771c),_0x743928=this['_sheetsPivotDataSourceModel'][_0x57e85b(0xbd)](_0x19771c);if(!this['_sheetsPivotDataSourceModel'][_0x57e85b(0x139)](_0x698b84,_0x19771c)||!_0x743928||!_0x30bcaf)return;const _0x5c83b8=this[_0x57e85b(0x30e)][_0x57e85b(0x376)](_0x698b84,_0x19771c,_0x53593a),_0x2e7bd8=this[_0x57e85b(0x30e)]['getCollection'](_0x698b84,_0x19771c)['toJSON'](),{collection:_0x15cc13}=this[_0x57e85b(0x30e)][_0x57e85b(0x28f)]({'unitId':_0x53593a[_0x57e85b(0xb4)],'sheetName':_0x53593a[_0x57e85b(0xdd)],'subUnitId':_0x53593a[_0x57e85b(0x1d4)],'range':_0x53593a['range']}),_0x1d3f6b=_0x15cc13[_0x57e85b(0x19f)]();_0x743928[_0x57e85b(0x141)]();const _0x1135ec=this[_0x57e85b(0x30e)][_0x57e85b(0x28c)](_0x698b84)[_0x57e85b(0x15d)]()||_0x10f223[_0x57e85b(0x153)];_0x743928[_0x57e85b(0x248)](_0x4686b3=>{const _0x45fbbd=_0x57e85b,_0x5315d9=_0x4686b3[_0x45fbbd(0x164)]();if(!_0x15cc13[_0x45fbbd(0x2ee)](_0x5315d9)){const _0x163a78=_0x15cc13[_0x45fbbd(0xb6)](_0x4686b3[_0x45fbbd(0x19c)]());if(_0x163a78){_0x743928[_0x45fbbd(0x35a)](_0x4686b3[_0x45fbbd(0x1c5)](),_0x163a78[_0x45fbbd(0x2db)](),_0x163a78[_0x45fbbd(0x1c5)]());const {area:_0x160acd}=_0x743928[_0x45fbbd(0x303)](_0x4686b3[_0x45fbbd(0x1c5)]());let _0x245a4c=_0x4686b3[_0x45fbbd(0x19c)]();const _0x5e53db=_0x4686b3[_0x45fbbd(0x2f5)]();if(_0x160acd===_0x10f223['PivotTableFiledAreaEnum'][_0x45fbbd(0x27e)]){const _0x3639fb=_0x4686b3['getSubtotal']();_0x245a4c=_0x1135ec(_0x163a78[_0x45fbbd(0x2db)](),_0x3639fb);}_0x5e53db!==_0x245a4c&&_0x743928[_0x45fbbd(0x2c7)](_0x4686b3['getId'](),_0x245a4c);}else _0x743928[_0x45fbbd(0x256)](_0x4686b3['getId']());}});const _0x177ed6=_0x743928[_0x57e85b(0x314)](),_0x2845d4=_0x743928[_0x57e85b(0x285)]()['toJSON'](),_0x407a32=_0x743928['endCollectChangeset']();_0x587168['updatePivotSource']={'view':_0x2845d4,'changesets':_0x407a32,'isEmpty':_0x177ed6,'pivotTableConfig':_0x30bcaf,'collectionConfig':_0x1d3f6b,'oldCollectionConfig':_0x2e7bd8,'deleteIds':_0x5c83b8};}break;case _0x434fd6[_0x57e85b(0xf1)]:{const _0x4fcefc=_0x456ed7[_0x57e85b(0x221)][_0x57e85b(0x197)];if(!_0x4fcefc)return;const {position:_0x3bf75e,index:_0x24dd74}=_0x4fcefc,_0x374042=this[_0x57e85b(0x30e)][_0x57e85b(0x12e)](_0x567cae,_0x4e729d,_0x19771c);if(!_0x374042)return!0x1;const _0x2f78d6=this['_sheetsPivotDataSourceModel'][_0x57e85b(0xbd)](_0x19771c);if(!_0x2f78d6)return!0x1;_0x2f78d6[_0x57e85b(0x141)](),_0x2f78d6[_0x57e85b(0x197)](_0x3bf75e,_0x24dd74);const _0x5cca00=_0x2f78d6[_0x57e85b(0x314)](),_0x1e9179=_0x2f78d6[_0x57e85b(0x285)]()[_0x57e85b(0x19f)](),_0x5d0bd9=_0x2f78d6['endCollectChangeset']();_0x587168[_0x57e85b(0x197)]={'changesets':_0x5d0bd9,'pivotTableConfig':_0x374042,'isEmpty':_0x5cca00,'view':_0x1e9179};}break;case _0x434fd6['SetPivotCollapse']:{const _0x36b9eb=_0x456ed7[_0x57e85b(0x221)][_0x57e85b(0x126)];if(!_0x36b9eb)return;const {tableFieldId:_0x81a600,collapse:_0x379af1,item:_0xa35d6}=_0x36b9eb,_0xac9e9=this[_0x57e85b(0x30e)]['getPivotTableInstance'](_0x19771c),_0x198077=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x567cae,_0x4e729d,_0x19771c);if(!_0xac9e9||!_0x198077)return;_0xac9e9['startCollectChangeset'](),_0xac9e9[_0x57e85b(0x10a)](_0x81a600,_0x379af1,_0xa35d6);const _0x25abec=_0xac9e9[_0x57e85b(0x314)](),_0x3c4f6b=_0xac9e9[_0x57e85b(0x285)]()[_0x57e85b(0x19f)](),_0x241e02=_0xac9e9['endCollectChangeset']();_0x587168[_0x57e85b(0x126)]={'view':_0x3c4f6b,'isEmpty':_0x25abec,'pivotTableConfig':_0x198077,'changesets':_0x241e02};}break;case _0x434fd6[_0x57e85b(0x161)]:{const _0x3f9c40=_0x456ed7[_0x57e85b(0x221)][_0x57e85b(0x25e)];if(!_0x3f9c40)return;const {pivotTableConfig:_0xa1aea0}=_0x3f9c40,_0x4643bf=this[_0x57e85b(0x30e)]['getPivotTableInstance'](_0x19771c),_0x7ec432=this[_0x57e85b(0x30e)][_0x57e85b(0x12e)](_0x567cae,_0x4e729d,_0x19771c);if(!_0x4643bf||!_0x7ec432)return;_0x4643bf['startCollectChangeset'](),_0x3d01c0(_0x4643bf,_0xa1aea0);const _0x3dea67=_0x4643bf[_0x57e85b(0x314)](),_0x4ce91b=_0x4643bf['query']()[_0x57e85b(0x19f)](),_0x5d6517=_0x4643bf[_0x57e85b(0x23e)]();_0x587168[_0x57e85b(0x25e)]={'view':_0x4ce91b,'isEmpty':_0x3dea67,'pivotTableConfig':{..._0x7ec432,'fieldsConfig':_0x4643bf[_0x57e85b(0x19f)]()},'changesets':_0x5d6517};}break;case _0x434fd6[_0x57e85b(0x344)]:{const _0x55891a=_0x456ed7[_0x57e85b(0x221)]['resetPivotTable'];if(!_0x55891a)return;const _0xcaf20a=this[_0x57e85b(0x30e)][_0x57e85b(0xbd)](_0x19771c),_0x5e2a70=this[_0x57e85b(0x30e)][_0x57e85b(0x12e)](_0x567cae,_0x4e729d,_0x19771c);if(!_0xcaf20a||!_0x5e2a70)return;_0xcaf20a[_0x57e85b(0x141)](),_0x3e5ccc(_0xcaf20a,_0x55891a[_0x57e85b(0x72)]);const _0x38bab7=_0xcaf20a[_0x57e85b(0x285)]()['toJSON'](),_0x34afbc=_0xcaf20a[_0x57e85b(0x23e)]();_0x587168[_0x57e85b(0x12b)]={'view':_0x38bab7,'isEmpty':!0x0,'pivotTableConfig':{..._0x5e2a70,'fieldsConfig':_0xcaf20a[_0x57e85b(0x19f)]()},'changesets':_0x34afbc};}break;case _0x434fd6[_0x57e85b(0x92)]:{const _0x515e78=_0x456ed7[_0x57e85b(0x221)][_0x57e85b(0x29b)];if(!_0x515e78)return;const _0x235c50=_0x515e78[_0x57e85b(0x329)],_0x5e7111=_0x515e78[_0x57e85b(0xd0)],{collection:_0x252c0f}=this['_sheetsPivotDataSourceModel'][_0x57e85b(0x28f)]({'unitId':_0x235c50[_0x57e85b(0xb4)],'sheetName':_0x235c50[_0x57e85b(0xdd)],'subUnitId':_0x235c50[_0x57e85b(0x1d4)],'range':_0x235c50[_0x57e85b(0x1fe)]}),_0x294451=new _0x10f223[(_0x57e85b(0x31a))](_0x252c0f,void 0x0,_0x5e7111),_0x5de7f1=_0x252c0f[_0x57e85b(0x136)](),{rows:_0x1788ec,columns:_0x2d7b26,filters:_0x2844cf,values:_0x52daff}=_0x515e78['pivotTableIndexConfig'];_0x294451[_0x57e85b(0x141)]();for(const {field:_0x4ff6b1,selectedItems:_0x3c2d06}of _0x1788ec||[]){const _0x45f48a=_0x5de7f1[_0x4ff6b1];if(_0x45f48a){const _0x580f6e=_0x294451[_0x57e85b(0x1e3)](_0x45f48a,_0x10f223['PivotTableFiledAreaEnum'][_0x57e85b(0x36f)]);_0x3c2d06&&_0x580f6e&&_0x294451[_0x57e85b(0x1fb)](_0x580f6e['getId'](),{'type':_0x10f223[_0x57e85b(0x369)]['ManualFilter'],'list':_0x3c2d06,'isAll':!0x1});}}for(const {field:_0x2cb8c2,selectedItems:_0x1747c7}of _0x2d7b26||[]){const _0x412db7=_0x5de7f1[_0x2cb8c2];if(_0x412db7){const _0x3c2f8a=_0x294451[_0x57e85b(0x1e3)](_0x412db7,_0x10f223['PivotTableFiledAreaEnum'][_0x57e85b(0x1a5)]);_0x1747c7&&_0x3c2f8a&&_0x294451[_0x57e85b(0x1fb)](_0x3c2f8a[_0x57e85b(0x1c5)](),{'type':_0x10f223[_0x57e85b(0x369)]['ManualFilter'],'list':_0x1747c7,'isAll':!0x1});}}for(const {field:_0x5d0ab7,selectedItems:_0x2ffc03}of _0x2844cf||[]){const _0x4d241a=_0x5de7f1[_0x5d0ab7];if(_0x4d241a){const _0xcd765=_0x294451[_0x57e85b(0x1e3)](_0x4d241a,_0x10f223[_0x57e85b(0x325)]['Filter']);_0x2ffc03&&_0xcd765&&_0x294451[_0x57e85b(0x1fb)](_0xcd765['getId'](),{'type':_0x10f223[_0x57e85b(0x369)][_0x57e85b(0x22a)],'list':_0x2ffc03,'isAll':!0x1});}}for(const {field:_0x48e5c6,subTotalType:_0x3eb09b,formatString:_0x2b8421}of _0x52daff||[]){const _0x46c88b=_0x252c0f[_0x57e85b(0x176)](_0x5de7f1[_0x48e5c6]);if(!_0x46c88b)continue;const _0x281432=_0x5de7f1[_0x48e5c6];if(_0x281432){const _0x14015d=_0x294451['addFieldWithSourceId'](_0x281432,_0x10f223[_0x57e85b(0x325)]['Value']);if(_0x14015d){if(_0x3eb09b!==void 0x0){_0x294451[_0x57e85b(0x177)](_0x14015d[_0x57e85b(0x1c5)](),_0x3eb09b);const _0x2a8e02=this[_0x57e85b(0x30e)][_0x57e85b(0x28c)](_0x235c50[_0x57e85b(0xb4)])[_0x57e85b(0x15d)]()||_0x10f223['getAutoDisplayName'],_0x3b7c07=_0x252c0f[_0x57e85b(0x2f5)](_0x281432),_0x3b6aa7=_0x2a8e02(_0x3b7c07,_0x3eb09b);_0x294451['renameField'](_0x14015d[_0x57e85b(0x1c5)](),_0x3b6aa7);}else{if(_0x46c88b){const _0x38f2fe=_0x46c88b==null?void 0x0:_0x46c88b[_0x57e85b(0x23d)]();_0x294451[_0x57e85b(0x177)](_0x14015d[_0x57e85b(0x1c5)](),_0x38f2fe===_0x10f223[_0x57e85b(0x12d)]['number']?_0x10f223[_0x57e85b(0x1a8)]['sum']:_0x10f223[_0x57e85b(0x1a8)][_0x57e85b(0x2f7)]);}}_0x2b8421&&_0x294451['setFieldFormat'](_0x14015d['getId'](),_0x2b8421);}}}const _0x1894e1=_0x294451[_0x57e85b(0x285)](),_0x5a9e16=_0x294451['toJSON'](),_0x22e8ee=_0x294451[_0x57e85b(0x314)](),_0x31de56=_0x294451['endCollectChangeset'](),_0x48d536=_0x252c0f['toJSON']();_0x587168['addPivotTableWithConfig']={'view':_0x1894e1,'fieldsConfig':_0x5a9e16,'collectionConfig':_0x48d536,'isEmpty':_0x22e8ee,'changesets':_0x31de56};}break;case _0x434fd6[_0x57e85b(0x17d)]:{const _0x2db13f=_0x3e3f3b(this[_0x57e85b(0x17c)],_0x456ed7);if(!_0x2db13f)return;const {range:_0x5e8e48,sourceSubUnitId:_0x17389c,sourceUnitId:_0xe284e9,formatMap:_0x15d0ff,indexes:_0x182667}=_0x2db13f;_0x587168[_0x57e85b(0x174)]={'range':_0x5e8e48,'sourceSubUnitId':_0x17389c,'sourceUnitId':_0xe284e9,'formatMap':_0x15d0ff,'indexes':_0x182667};}break;}this[_0x57e85b(0x1ff)]['executeCommand'](_0x4e105c['id'],{'version':_0x456ed7['version'],'result':_0x587168},{'onlyLocal':!0x0});}));}[_0x4ff3ff(0x33c)](){const _0x2a8622=_0x4ff3ff;this[_0x2a8622(0x228)](this['_commandService']['onCommandExecuted'](_0x147c61=>{const _0x9e6618=_0x2a8622;if(_0x147c61['id']!==_0x30da9f['id'])return;const _0x21c677=_0x147c61[_0x9e6618(0x221)];return this[_0x9e6618(0x30e)][_0x9e6618(0x1ab)](_0x21c677[_0x9e6618(0x305)]),!0x0;}));}[_0x4ff3ff(0x1c7)](){const _0xb25d24=_0x4ff3ff;this['_sheetsPivotDataSourceModel'][_0xb25d24(0xd6)][_0xb25d24(0x31d)](_0x146ae6=>{const _0x5126d0=_0xb25d24;switch(_0x146ae6['type']){case _0x33fa65[_0x5126d0(0x20b)]:_0x146ae6[_0x5126d0(0x35e)]&&_0x146ae6[_0x5126d0(0x271)]&&this[_0x5126d0(0x2fa)](_0x146ae6['token'],_0x146ae6[_0x5126d0(0x35e)],_0x146ae6['targetCellInfo']);break;case _0x33fa65[_0x5126d0(0x1db)]:{const {unitId:_0x2a0097,subUnitId:_0x4ae102,token:_0x599685}=_0x146ae6;_0x2a0097&&_0x4ae102&&_0x599685&&this[_0x5126d0(0x8f)](_0x2a0097,_0x4ae102,_0x599685);}break;case _0x33fa65[_0x5126d0(0x1e4)]:{const {token:_0x2a0f7a,oldSourceRangeInfo:_0x77ef10,dataRangeInfo:_0x39f6f7,targetCellInfo:_0x5bdc88}=_0x146ae6,{unitId:_0x3a6159,subUnitId:_0xfca317}=_0x77ef10||{};_0x3a6159&&_0xfca317&&_0x2a0f7a&&this[_0x5126d0(0x8f)](_0x3a6159,_0xfca317,_0x2a0f7a),_0x39f6f7&&_0x5bdc88&&this[_0x5126d0(0x2fa)](_0x2a0f7a,_0x39f6f7,_0x5bdc88);}break;}});}[_0x4ff3ff(0x24c)](){const _0x33fee5=_0x4ff3ff;this['_sheetsPivotDataSourceModel'][_0x33fee5(0x319)][_0x33fee5(0x31d)](_0x140467=>{const _0x3d425d=_0x33fee5;Object[_0x3d425d(0x255)](_0x140467)['forEach'](_0x58ef91=>{const _0x1fd9e2=_0x3d425d,_0x122bcd=this[_0x1fd9e2(0x30e)][_0x1fd9e2(0x1e7)](_0x58ef91);if(_0x122bcd){const _0x5af47e=this[_0x1fd9e2(0x30e)][_0x1fd9e2(0x12e)](_0x122bcd==null?void 0x0:_0x122bcd[_0x1fd9e2(0xb4)],_0x122bcd==null?void 0x0:_0x122bcd['subUnitId'],_0x58ef91);_0x5af47e&&(this[_0x1fd9e2(0x2fa)](_0x58ef91,_0x5af47e['sourceRangeInfo'],_0x5af47e[_0x1fd9e2(0x271)]),this['triggerDirtyFeature']([{'unitId':_0x122bcd[_0x1fd9e2(0xb4)],'subUnitId':_0x122bcd['subUnitId'],'token':_0x58ef91}]));}});});}['_subjectViewChange'](){const _0x828026=_0x4ff3ff;this[_0x828026(0x30e)][_0x828026(0x21b)][_0x828026(0x31d)](_0x31f3c5=>{const {unitId:_0x3eb757,subUnitId:_0x55f338,pivotTableId:_0xb249a0}=_0x31f3c5;_0x3eb757&&_0x55f338&&_0xb249a0&&this['triggerDirtyFeature']([{'unitId':_0x3eb757,'subUnitId':_0x55f338,'token':_0xb249a0}]);});}['triggerDirtyFeature'](_0x85e20a){const _0x3ad13a=_0x4ff3ff,_0x36bfdf={};_0x85e20a['forEach'](_0x3c58d5=>{var _0x5ea791,_0x8fdb06;const {unitId:_0x5d1eda,subUnitId:_0x2c8751,token:_0x219bb1}=_0x3c58d5;_0x36bfdf[_0x5d1eda]=(_0x5ea791=_0x36bfdf[_0x5d1eda])!=null?_0x5ea791:{},_0x36bfdf[_0x5d1eda][_0x2c8751]=(_0x8fdb06=_0x36bfdf[_0x5d1eda][_0x2c8751])!=null?_0x8fdb06:{},_0x36bfdf[_0x5d1eda][_0x2c8751][_0x219bb1]=!0x0;}),this[_0x3ad13a(0x1ff)]['executeCommand'](_0x4f48b1['id'],_0x36bfdf);}[_0x4ff3ff(0x8f)](_0x288518,_0x1518d4,_0x168f2c){const _0x34a656=_0x4ff3ff;this[_0x34a656(0x296)][_0x34a656(0x242)](_0x288518,_0x1518d4,[_0x168f2c]);}[_0x4ff3ff(0x2fa)](_0x465336,_0x1f377a,_0x5bf9dd){const _0x1a2231=_0x4ff3ff,{unitId:_0xa8b46f,subUnitId:_0x43eac2}=_0x1f377a;this[_0x1a2231(0x296)][_0x1a2231(0x1ef)](_0x5bf9dd['unitId'],_0x5bf9dd[_0x1a2231(0x1d4)],_0x465336)&&this[_0x1a2231(0x8f)](_0xa8b46f,_0x43eac2,_0x465336);const _0x31f04e={'sheetId':_0x43eac2,..._0x1f377a};this[_0x1a2231(0x296)][_0x1a2231(0xc3)](_0x5bf9dd[_0x1a2231(0xb4)],_0x5bf9dd[_0x1a2231(0x1d4)],_0x465336,{'unitId':_0x5bf9dd[_0x1a2231(0xb4)],'subUnitId':_0x5bf9dd['subUnitId'],'dependencyRanges':[_0x31f04e],'getDirtyData':(_0x417c1f,_0x447dc8)=>{const _0x299dc=_0x1a2231,_0x43335e=this[_0x299dc(0x30e)],_0x5acf55=_0x43335e['getTargetByPivotId'](_0x465336);if(!_0x5acf55)return _0x55cac3();const {unitId:_0x54657c,subUnitId:_0x13b06e}=_0x5acf55,_0x498403=_0x52c006(_0x417c1f,_0x447dc8,_0x1f377a);if(_0x498403[_0x299dc(0x1ae)]>0x0){const _0x5cec17=_0x43335e[_0x299dc(0x139)](_0xa8b46f,_0x465336),_0x1db0b9=_0x5cec17[_0x299dc(0x136)](),_0x1b4010=this[_0x299dc(0x300)](_0x1f377a['unitId'],_0x1f377a[_0x299dc(0x1d4)],_0x447dc8),_0x40c942={},_0x1ee56b=this[_0x299dc(0x30e)][_0x299dc(0x28c)](_0x54657c)[_0x299dc(0x15d)]()||_0x10f223[_0x299dc(0x153)],_0x42657e=[];for(const _0x2a3017 of _0x498403){const _0x2d55b9=_0x2a3017-(_0x1f377a[_0x299dc(0x1fe)][_0x299dc(0x2fd)]||0x0),_0x199ad6=_0x1db0b9[_0x2d55b9];_0x42657e[_0x299dc(0xda)](_0x199ad6),_0x40c942[_0x199ad6]=_0x5cec17['getFieldById'](_0x199ad6)[_0x299dc(0x2db)](),_0x43335e[_0x299dc(0x28c)](_0xa8b46f)['refreshDataField'](_0x199ad6,_0x1f377a,_0x2d55b9,_0x1b4010);}_0x5cec17[_0x299dc(0x206)](_0x42657e)[_0x299dc(0x1ed)](_0x5e1bff=>{const _0x4a3378=_0x299dc,[_0x39f8f2,_0x2ab18d]=_0x5e1bff,_0xa1113f=_0x5cec17[_0x4a3378(0x176)](_0x39f8f2),_0x5807eb=_0x5cec17[_0x4a3378(0x176)](_0x2ab18d);_0xa1113f&&_0x5807eb&&_0xa1113f['refreshGroupField'](_0x5807eb);}),_0x5cec17[_0x299dc(0x127)]();const _0x5d66c5=_0x43335e[_0x299dc(0xbd)](_0x465336);if(_0x5d66c5){_0x501ff4(_0x5d66c5,_0x40c942,_0x1ee56b),_0x5d66c5['setDirty'](!0x0);const _0x3e1fe8=_0x5d66c5[_0x299dc(0x285)](),_0x3fbc74=_0x43335e[_0x299dc(0x12e)](_0x54657c,_0x13b06e,_0x465336),_0x10e941=_0x43335e[_0x299dc(0x28c)](_0xa8b46f)[_0x299dc(0x19f)]();_0x43335e[_0x299dc(0x8d)](_0x54657c,_0x13b06e,_0x39c7b1[_0x299dc(0x2f1)],_0x465336,_0x3e1fe8,_0x3fbc74,_0x10e941,!0x0);}}return this[_0x299dc(0x2b8)](_0x54657c,_0x13b06e,_0x465336);}});}[_0x4ff3ff(0x300)](_0x4cc614,_0x5ed7ce,_0x53ce98){var _0x36e8a4,_0x188d9b;const {arrayFormulaCellData:_0x392916,unitData:_0x37103d}=_0x53ce98,_0x4f2e0a=(_0x36e8a4=_0x392916==null?void 0x0:_0x392916[_0x4cc614])==null?void 0x0:_0x36e8a4[_0x5ed7ce],_0x74fa12=(_0x188d9b=_0x37103d==null?void 0x0:_0x37103d[_0x4cc614])==null?void 0x0:_0x188d9b[_0x5ed7ce];return{'arrayFormulaCellDataMatrix':_0x4f2e0a,'unitDataMatrix':_0x74fa12};}[_0x4ff3ff(0x2b8)](_0x5bc93b,_0x238eee,_0x3de63e){const _0x45a1da=_0x4ff3ff,_0x20071f=this[_0x45a1da(0x30e)][_0x45a1da(0x1de)](_0x5bc93b,_0x238eee,_0x3de63e),_0x2eea6e=[],_0x284cdb=new _0x136a03[(_0x45a1da(0xfd))]();if(_0x20071f){const {rangeCache:_0x235f69,matrix:_0x13995f,oldRangeCache:_0x4a66a2,oldMatrix:_0x47c6c3}=_0x20071f,_0x12e8de=_0x2a3c2e(_0x4a66a2),_0x50bcec=_0x2a3c2e(_0x235f69);_0x2eea6e[_0x45a1da(0xda)](..._0x50bcec,..._0x12e8de),_0x47c6c3&&_0x4a66a2&&_0x12e8de[_0x45a1da(0x1ed)](_0x325e9c=>{const _0x26d35a=_0x45a1da;for(let _0x1773d4=_0x325e9c[_0x26d35a(0x100)];_0x1773d4<=_0x325e9c[_0x26d35a(0x27a)];_0x1773d4++)for(let _0x263393=_0x325e9c[_0x26d35a(0x2fd)];_0x263393<=_0x325e9c[_0x26d35a(0x304)];_0x263393++)_0x284cdb['realDeleteValue'](_0x1773d4,_0x263393);}),_0x13995f&&_0x50bcec&&_0x50bcec['forEach'](_0x4620ac=>{const _0x34319d=_0x45a1da;for(let _0x1e8395=_0x4620ac[_0x34319d(0x100)];_0x1e8395<=_0x4620ac[_0x34319d(0x27a)];_0x1e8395++)for(let _0x45c16c=_0x4620ac[_0x34319d(0x2fd)];_0x45c16c<=_0x4620ac['endColumn'];_0x45c16c++)_0x284cdb[_0x34319d(0x1fd)](_0x1e8395,_0x45c16c,_0x13995f[_0x34319d(0x2b7)](_0x1e8395,_0x45c16c));});}const _0x4c299c={};return _0x4c299c[_0x5bc93b]={[_0x238eee]:_0x338db6(_0x2eea6e)},{'runtimeCellData':{[_0x5bc93b]:{[_0x238eee]:_0x284cdb}},'dirtyRanges':_0x4c299c};}['dispose'](){}};_0x1f28d6=_0x1326f5([_0x424f0b(0x0,_0x136a03['Inject'](_0x488dae[_0x4ff3ff(0x16d)])),_0x424f0b(0x1,_0x136a03[_0x4ff3ff(0x2e8)](_0x5bf515[_0x4ff3ff(0x1b9)])),_0x424f0b(0x2,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03['ICommandService'])),_0x424f0b(0x3,_0x136a03['Inject'](_0x5bf515[_0x4ff3ff(0x1cb)])),_0x424f0b(0x4,_0x136a03['Inject'](_0x136a03['Injector']))],_0x1f28d6);var _0x439228=Object[_0x4ff3ff(0xba)],_0x370026=(_0x463ff1,_0x574fa5,_0x85bb40,_0x487cf0)=>{const _0x2fb4a2=_0x4ff3ff;for(var _0x498ef8=_0x487cf0>0x1?void 0x0:_0x487cf0?_0x439228(_0x574fa5,_0x85bb40):_0x574fa5,_0xd0627b=_0x463ff1[_0x2fb4a2(0x1ae)]-0x1,_0xed63b9;_0xd0627b>=0x0;_0xd0627b--)(_0xed63b9=_0x463ff1[_0xd0627b])&&(_0x498ef8=_0xed63b9(_0x498ef8)||_0x498ef8);return _0x498ef8;},_0x293040=(_0x38e167,_0x205be6)=>(_0xd507ce,_0x1c841c)=>_0x205be6(_0xd507ce,_0x1c841c,_0x38e167);let _0x1a92b1=class extends _0x136a03['Disposable']{constructor(_0x50f60a,_0x27a70b,_0x2cd239,_0x36fade){const _0x271201=_0x4ff3ff;super(),_0x4779db(this,_0x271201(0x1c8),new _0x136a03[(_0x271201(0x2be))]()),(this[_0x271201(0x317)]=_0x50f60a,this[_0x271201(0x2fc)]=_0x27a70b,this[_0x271201(0x1d6)]=_0x2cd239,this[_0x271201(0x385)]=_0x36fade,this[_0x271201(0x67)]());}['_initClearSelectionCommandInterceptor'](){const _0x10cd5d=_0x4ff3ff;this[_0x10cd5d(0x228)](this['_sheetInterceptorService'][_0x10cd5d(0x1e6)]({'getMutations':_0x4914f1=>{const _0x505c38=_0x10cd5d;if(_0x4914f1['id']===_0x47d532[_0x505c38(0x1d2)]['id']||_0x4914f1['id']===_0x47d532[_0x505c38(0x2ab)]['id']){const _0x3da2e9=[],_0x2270ac=[],_0x3fdfc3=this[_0x505c38(0x1d6)][_0x505c38(0x286)]()[_0x505c38(0xa3)](_0x242e7a=>_0x242e7a[_0x505c38(0x1fe)]),_0xf9c523=_0x47d532[_0x505c38(0x1f7)](this['_univerInstanceService']);if(!_0xf9c523)return{'redos':[],'undos':[]};const {unitId:_0x1b1ccf,subUnitId:_0x148665}=_0xf9c523,_0x4b0199={},_0x1e15c4=this[_0x505c38(0x385)]['getSubUnitPivotConfigs'](_0x1b1ccf,_0x148665);if(_0x1e15c4!=null&&_0x1e15c4['size'])for(const [_0x5b34f8,_0x24044c]of _0x1e15c4){const {unitId:_0x4824c7,subUnitId:_0xdcec65,row:_0x5cbf21,col:_0x4adddf}=_0x24044c['targetCellInfo'];_0x4824c7===_0xf9c523[_0x505c38(0xb4)]&&_0xdcec65===_0xf9c523[_0x505c38(0x1d4)]&&(_0x4b0199[_0x5cbf21+'-'+_0x4adddf]=_0x5b34f8);}return _0x3fdfc3&&_0xf9c523&&_0x3fdfc3[_0x505c38(0x1ed)](_0x3c8f97=>{const _0xee3341=_0x505c38;_0x136a03['Range'][_0xee3341(0x9e)](_0x3c8f97,(_0x173dd7,_0xf2ca6a)=>{const _0x4eeeb8=_0xee3341,_0x34956f=_0x173dd7+'-'+_0xf2ca6a;if(_0x4b0199[_0x34956f]){const _0x35346d=_0x4b0199[_0x34956f];_0x3da2e9[_0x4eeeb8(0xda)]({'id':_0x1e490e['id'],'params':{'unitId':_0x1b1ccf,'subUnitId':_0x148665,'pivotTableId':_0x35346d}});const _0x32e16d=this[_0x4eeeb8(0x385)][_0x4eeeb8(0x139)](_0x1b1ccf,_0x35346d),_0x54d491=this[_0x4eeeb8(0x385)][_0x4eeeb8(0x12e)](_0x1b1ccf,_0x148665,_0x35346d);_0x2270ac[_0x4eeeb8(0xda)]({'id':_0x5f77cb['id'],'params':{'unitId':_0x1b1ccf,'subUnitId':_0x148665,'pivotTableId':_0x35346d,'pivotTableConfig':_0x54d491,'collectionConfig':_0x32e16d}});}});}),{'redos':_0x3da2e9,'undos':_0x2270ac};}return{'redos':[],'undos':[]};}}));}};_0x1a92b1=_0x370026([_0x293040(0x0,_0x136a03[_0x4ff3ff(0x227)]),_0x293040(0x1,_0x136a03[_0x4ff3ff(0x2e8)](_0x47d532[_0x4ff3ff(0x91)])),_0x293040(0x2,_0x136a03[_0x4ff3ff(0x2e8)](_0x47d532['SheetsSelectionsService'])),_0x293040(0x3,_0x136a03[_0x4ff3ff(0x2e8)](_0x488dae[_0x4ff3ff(0x302)]))],_0x1a92b1);var _0x2d73dc=Object[_0x4ff3ff(0xba)],_0x27cc15=(_0x4c5325,_0x1c7f2c,_0x5ea6ad,_0x3c21e2)=>{const _0xacb128=_0x4ff3ff;for(var _0x261978=_0x3c21e2>0x1?void 0x0:_0x3c21e2?_0x2d73dc(_0x1c7f2c,_0x5ea6ad):_0x1c7f2c,_0x39bd11=_0x4c5325[_0xacb128(0x1ae)]-0x1,_0x8aaca1;_0x39bd11>=0x0;_0x39bd11--)(_0x8aaca1=_0x4c5325[_0x39bd11])&&(_0x261978=_0x8aaca1(_0x261978)||_0x261978);return _0x261978;},_0x1889dd=(_0x133d16,_0x49cbb0)=>(_0x22d257,_0x1a032c)=>_0x49cbb0(_0x22d257,_0x1a032c,_0x133d16);let _0x10deb4=class extends _0x136a03[_0x4ff3ff(0x101)]{constructor(_0x13ec9f,_0x355964,_0x343be6,_0x26e6c9,_0x193832){const _0x300a9c=_0x4ff3ff;super(),this[_0x300a9c(0x2fc)]=_0x13ec9f,this[_0x300a9c(0x17c)]=_0x355964,this[_0x300a9c(0x317)]=_0x343be6,this[_0x300a9c(0x385)]=_0x26e6c9,this[_0x300a9c(0x6b)]=_0x193832,this[_0x300a9c(0x34c)]();}[_0x4ff3ff(0xef)](_0x374494,_0x45285e,_0x29125f){const _0x487e95=_0x4ff3ff,{pageView:_0x498744,cornerView:_0x480a14,rowView:_0x1fe37e,colView:_0x554e39,dataView:_0x584e37}=_0x45285e,_0x4972fe=_0x374494;let _0x1b2b3e;if(_0x29125f)_0x1b2b3e=[..._0x4095bd(_0x4972fe)];else{const _0x1de6e1=_0x50f2e9(_0x4972fe,_0x498744,!0x0),_0x5af187=_0x498744['lastRow']>=0x0?_0x498744[_0x487e95(0x366)]+0x1:0x0,_0x473258=_0x480a14[_0x487e95(0x2ba)],_0x109e25=_0x480a14[_0x487e95(0x1ac)],_0x704033=_0x1de6e1['length']>0x0?_0x2fd7f7:0x0,_0x8fbcd9=_0x50f2e9({'row':_0x4972fe[_0x487e95(0x327)]+_0x5af187+_0x704033,'col':_0x4972fe[_0x487e95(0xed)]},_0x480a14,!0x1,!0x1),_0x379605=_0x50f2e9({'row':_0x4972fe[_0x487e95(0x327)]+_0x5af187+_0x704033+_0x473258,'col':_0x4972fe['col']},_0x1fe37e,!0x1,!0x0),_0x2655f8=_0x50f2e9({'row':_0x4972fe[_0x487e95(0x327)]+_0x5af187+_0x704033,'col':_0x4972fe[_0x487e95(0xed)]+_0x109e25},_0x554e39,!0x1,!0x0),_0x14b1c2=_0x50f2e9({'row':_0x4972fe[_0x487e95(0x327)]+_0x5af187+_0x704033+_0x473258,'col':_0x4972fe[_0x487e95(0xed)]+_0x109e25},_0x584e37,!0x1,!0x0);_0x1b2b3e=[..._0x1de6e1,..._0x8fbcd9,..._0x379605,..._0x2655f8,..._0x14b1c2];}return _0x1b2b3e;}[_0x4ff3ff(0x34c)](){const _0x56234f=_0x4ff3ff;this[_0x56234f(0x228)](this[_0x56234f(0x6b)][_0x56234f(0x163)]['intercept'](this[_0x56234f(0x6b)][_0x56234f(0x163)]['getInterceptPoints']()[_0x56234f(0x226)],{'handler':(_0x1eca1b,_0x7c1a9f)=>{const _0x5e2138=_0x56234f,{cellInfo:_0x22643a,view:_0x3406c8,isEmpty:_0x17f317}=_0x7c1a9f,_0xc7439=_0x22643a,{unitId:_0x3b8a04,subUnitId:_0x304006}=_0xc7439,_0x6eb2e1=this[_0x5e2138(0xef)](_0x22643a,_0x3406c8,_0x17f317),_0x2a98c5=this['_sheetInterceptorService'][_0x5e2138(0x112)]({'unitId':_0x3b8a04,'subUnitId':_0x304006,'ranges':_0x6eb2e1}),_0x39c2d7=_0x536fef(this['_injector'],_0x3b8a04,_0x304006,_0x6eb2e1);_0x39c2d7[_0x5e2138(0x223)]&&(_0x2a98c5[_0x5e2138(0x1aa)][_0x5e2138(0xda)](_0x39c2d7[_0x5e2138(0xf9)]),_0x2a98c5[_0x5e2138(0x166)]['push'](_0x39c2d7[_0x5e2138(0xea)]));const _0x5e215c=this[_0x5e2138(0x97)](_0x3406c8,_0x22643a);return _0x2a98c5[_0x5e2138(0x1aa)][_0x5e2138(0xda)](..._0x5e215c['redos']),_0x2a98c5[_0x5e2138(0x166)][_0x5e2138(0xda)](..._0x5e215c[_0x5e2138(0x166)]),{'redos':_0x2a98c5[_0x5e2138(0x1aa)],'undos':_0x2a98c5[_0x5e2138(0x166)]};}}));}[_0x4ff3ff(0x97)](_0xf1023b,_0x240334){const _0x546580=_0x4ff3ff,{col:_0xe5361e,unitId:_0x43bdea,subUnitId:_0x553fbf}=_0x240334,_0x14f512=[],_0x15604c=[],_0x4783bf=_0x47d532[_0x546580(0x1f7)](this[_0x546580(0x317)],{'unitId':_0x43bdea,'subUnitId':_0x553fbf});if(!_0x240334||!_0xf1023b||!_0x4783bf)return{'undos':_0x15604c,'redos':_0x14f512};const _0x57ebf6=this['_sheetsPivotTableConfigModel'][_0x546580(0x326)](),{colView:_0x2ecdc6,dataView:_0x99a040,cornerView:_0x233303,rowView:_0x512ed7,formatMap:_0x33bb76}=_0xf1023b,_0x22a527=_0x3cfabb(_0x2ecdc6,_0x57ebf6,!0x0,_0x33bb76),_0x1da894=_0x3cfabb(_0x512ed7,_0x57ebf6,!0x1,_0x33bb76),_0x4d001f=_0x23b946(_0x99a040),_0x3b493a=_0x18e8a2(_0x233303),{worksheet:_0x5b176a}=_0x4783bf;if(typeof window<'u'&&window['document']){const _0x275db5=_0xa6f0ba[_0x546580(0x1d5)]({..._0x1a3ef9[_0x546580(0x216)]}),_0x2cfa42=_0xa6f0ba[_0x546580(0xfa)]['getTextSize'](_0x22a527,_0x275db5)[_0x546580(0x320)]+0x10,_0x55f03f=_0xa6f0ba[_0x546580(0xfa)][_0x546580(0x151)](_0x4d001f,_0x275db5)['width'],_0x15232e=Math[_0x546580(0x159)](Math[_0x546580(0x352)](_0x2cfa42,_0x55f03f))+0x10,_0x16cd4d=Math[_0x546580(0x159)](_0xa6f0ba[_0x546580(0xfa)][_0x546580(0x151)](_0x1da894,_0x275db5)[_0x546580(0x320)]),_0x5645f3=Math[_0x546580(0x159)](_0xa6f0ba[_0x546580(0xfa)][_0x546580(0x151)](_0x3b493a,_0x275db5)[_0x546580(0x320)]),_0x641f9f=Math[_0x546580(0x352)](_0x16cd4d,_0x5645f3,0x28)+0xc,_0x3a613a=_0x2ecdc6[_0x546580(0x1ac)]+_0x233303[_0x546580(0x1ac)],_0x35dfbb={},_0x20c226={};for(let _0x550ab8=_0xe5361e;_0x550ab8<_0xe5361e+_0x3a613a;_0x550ab8++){const _0x3a4db5=_0x5b176a[_0x546580(0x188)](_0x550ab8);_0x35dfbb[_0x550ab8]=_0x3a4db5,_0x550ab8-_0xe5361e<_0x233303[_0x546580(0x1ac)]?_0x20c226[_0x550ab8-_0xe5361e]=_0x641f9f:_0x20c226[_0x550ab8-_0xe5361e]=_0x15232e;}_0x14f512[_0x546580(0xda)]({'id':_0x47d532[_0x546580(0x337)]['id'],'params':{'subUnitId':_0x553fbf,'unitId':_0x43bdea,'ranges':[{'startColumn':_0xe5361e,'endColumn':_0xe5361e+_0x3a613a-0x1,'startRow':0x0,'endRow':_0x5b176a['getRowCount']()-0x1}],'colWidth':_0x20c226}}),_0x15604c[_0x546580(0xda)]({'id':_0x47d532[_0x546580(0x337)]['id'],'params':{'subUnitId':_0x553fbf,'unitId':_0x43bdea,'ranges':[{'startColumn':_0xe5361e,'endColumn':_0xe5361e+_0x3a613a-0x1,'startRow':0x0,'endRow':_0x5b176a[_0x546580(0x322)]()-0x1}],'colWidth':_0x35dfbb}});}return{'undos':_0x15604c,'redos':_0x14f512};}};_0x10deb4=_0x27cc15([_0x1889dd(0x0,_0x136a03[_0x4ff3ff(0x2e8)](_0x47d532[_0x4ff3ff(0x91)])),_0x1889dd(0x1,_0x136a03['Inject'](_0x136a03[_0x4ff3ff(0x214)])),_0x1889dd(0x2,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x227)])),_0x1889dd(0x3,_0x136a03[_0x4ff3ff(0x2e8)](_0x488dae[_0x4ff3ff(0x302)])),_0x1889dd(0x4,_0x136a03[_0x4ff3ff(0x2e8)](_0x488dae[_0x4ff3ff(0x2af)]))],_0x10deb4);var _0x412154=Object[_0x4ff3ff(0xba)],_0x15226f=(_0x185774,_0x547e3d,_0x87e960,_0x58984a)=>{const _0x5821cf=_0x4ff3ff;for(var _0x3abd51=_0x58984a>0x1?void 0x0:_0x58984a?_0x412154(_0x547e3d,_0x87e960):_0x547e3d,_0x61f00b=_0x185774[_0x5821cf(0x1ae)]-0x1,_0x28c42c;_0x61f00b>=0x0;_0x61f00b--)(_0x28c42c=_0x185774[_0x61f00b])&&(_0x3abd51=_0x28c42c(_0x3abd51)||_0x3abd51);return _0x3abd51;},_0x187819=(_0x53dc73,_0xf0f2c4)=>(_0x3f5f19,_0x65cd04)=>_0xf0f2c4(_0x3f5f19,_0x65cd04,_0x53dc73);let _0x1ed7ab=class extends _0x136a03[_0x4ff3ff(0x101)]{constructor(_0x4ee911,_0xdafb73,_0x1b89d1,_0x51bb7b,_0x48857e,_0x6f7a6e,_0x15b334){const _0x1948f9=_0x4ff3ff;super(),_0x4779db(this,_0x1948f9(0x1c8),new _0x136a03[(_0x1948f9(0x2be))]()),(this['_injector']=_0x4ee911,this['_refRangeService']=_0xdafb73,this[_0x1948f9(0x1ff)]=_0x1b89d1,this[_0x1948f9(0x317)]=_0x51bb7b,this['_sheetsPivotTableConfigModel']=_0x48857e,this[_0x1948f9(0xa9)]=_0x6f7a6e,this[_0x1948f9(0x2fc)]=_0x15b334,this['_onRefRangeChange']());}[_0x4ff3ff(0xae)](){const _0x7b30fc=_0x4ff3ff,_0x2be66f=(_0x36f82f,_0x7396eb)=>{const _0x2184e9=_0x5d05,_0x2f8d79=this[_0x2184e9(0x317)][_0x2184e9(0x208)](_0x136a03[_0x2184e9(0x170)][_0x2184e9(0x22b)]);if(!_0x2f8d79||!(_0x2f8d79==null?void 0x0:_0x2f8d79[_0x2184e9(0x6d)](_0x7396eb)))return;this[_0x2184e9(0x1c8)][_0x2184e9(0x23b)]();const _0x399167=_0x5a98b7=>this[_0x2184e9(0x30a)](_0x5a98b7,_0x36f82f,_0x7396eb),_0x56d072=this[_0x2184e9(0x385)][_0x2184e9(0x2a8)](_0x36f82f,_0x7396eb);if(!(_0x56d072!=null&&_0x56d072[_0x2184e9(0x26f)]))return;Array['from'](_0x56d072[_0x2184e9(0x143)]())[_0x2184e9(0xa3)](_0x590870=>{const _0x4aa940=_0x2184e9,{row:_0x42c6d3,col:_0xfe82b9}=_0x590870[_0x4aa940(0x271)];return _0x136a03[_0x4aa940(0x350)](_0x42c6d3,_0xfe82b9);})[_0x2184e9(0x1ed)](_0x5a6f65=>{const _0x98211c=_0x2184e9;this[_0x98211c(0x1c8)]['add'](this['_refRangeService'][_0x98211c(0xde)](_0x5a6f65,_0x399167,_0x36f82f,_0x7396eb));});},_0x55dabb=()=>{const _0x19ab76=_0x5d05,_0x4a96aa=this['_univerInstanceService'][_0x19ab76(0x208)](_0x136a03[_0x19ab76(0x170)]['UNIVER_SHEET']);if(_0x4a96aa){const _0x179051=_0x4a96aa[_0x19ab76(0x198)]();if(!_0x179051)return;_0x2be66f(_0x4a96aa['getUnitId'](),_0x179051[_0x19ab76(0xe0)]());}};this[_0x7b30fc(0x228)](this[_0x7b30fc(0x1ff)]['onCommandExecuted'](_0x57a3cd=>{const _0x597359=_0x7b30fc;if(_0x57a3cd['id']===_0x47d532['SetWorksheetActiveOperation']['id']){const _0x1af08b=_0x57a3cd[_0x597359(0x221)],_0xd264b7=_0x1af08b[_0x597359(0x1d4)],_0x478fe1=_0x1af08b[_0x597359(0xb4)];if(!_0xd264b7||!_0x478fe1)return;_0x2be66f(_0x478fe1,_0xd264b7);}})),this[_0x7b30fc(0x228)](this['_sheetsPivotTableConfigModel']['pivotInitCompleted$'][_0x7b30fc(0x31d)](_0x3b373e=>{_0x3b373e&&_0x55dabb();})),this['disposeWithMe'](this[_0x7b30fc(0x385)][_0x7b30fc(0x292)][_0x7b30fc(0x31d)](_0x1950b1=>{const _0x2322b0=_0x7b30fc,_0x35b3e5=_0x47d532[_0x2322b0(0x1f7)](this[_0x2322b0(0x317)]);if(!_0x35b3e5)return;const {unitId:_0x3c6b0b,subUnitId:_0x52d9b5}=_0x35b3e5,{unitId:_0x267655,subUnitId:_0x53272b}=_0x1950b1;_0x3c6b0b!==_0x267655||_0x52d9b5!==_0x53272b||_0x2be66f(_0x3c6b0b,_0x52d9b5);})),_0x55dabb();}[_0x4ff3ff(0x30a)](_0x44a420,_0xfd29f0,_0x28d392){const _0x52420d=_0x4ff3ff;switch(_0x44a420['id']){case _0x47d532[_0x52420d(0x9f)]['id']:return this[_0x52420d(0x150)](_0x44a420[_0x52420d(0x221)],_0xfd29f0,_0x28d392);}return{'redos':[],'undos':[]};}[_0x4ff3ff(0x150)](_0xcd3ae6,_0x38c3f4,_0x335226){const _0x23ade0=_0x4ff3ff,{fromRange:_0x5b98fc,toRange:_0x2b40e2}=_0xcd3ae6,_0xce0b0a=[],_0x9c9984=[],_0x5b9bf3=_0x47d532[_0x23ade0(0x1f7)](this[_0x23ade0(0x317)]);if(!_0x5b9bf3)return{'undos':_0x9c9984,'redos':_0xce0b0a};if(_0x38c3f4!==_0x5b9bf3[_0x23ade0(0xb4)]||_0x335226!==_0x5b9bf3[_0x23ade0(0x1d4)])return{'undos':_0x9c9984,'redos':_0xce0b0a};const _0x3a5ffa=this[_0x23ade0(0x385)][_0x23ade0(0x2a8)](_0x38c3f4,_0x335226);if(_0x3a5ffa!=null&&_0x3a5ffa[_0x23ade0(0x26f)])for(const [_0x499a14,_0x3fba30]of _0x3a5ffa){const {unitId:_0x9c9a99,subUnitId:_0x5a1b61,row:_0x2dd220,col:_0x9108a8}=_0x3fba30['targetCellInfo'];if(_0x9c9a99===_0x5b9bf3[_0x23ade0(0xb4)]&&_0x5a1b61===_0x5b9bf3['subUnitId']){const _0x1b85d0=_0x136a03['cellToRange'](_0x2dd220,_0x9108a8);if(_0x136a03[_0x23ade0(0xab)][_0x23ade0(0xe5)](_0x1b85d0,_0x5b98fc)){const _0x5cd495=_0x2dd220-_0x5b98fc['startRow'],_0x53f4de=_0x9108a8-_0x5b98fc[_0x23ade0(0x2fd)],_0xa2a409={'row':_0x2b40e2[_0x23ade0(0x100)]+_0x5cd495,'col':_0x2b40e2[_0x23ade0(0x2fd)]+_0x53f4de};_0xce0b0a[_0x23ade0(0xda)]({'id':_0x351ec9['id'],'params':{'unitId':_0x9c9a99,'subUnitId':_0x5a1b61,'pivotTableId':_0x499a14,'targetCellPosition':_0xa2a409}}),_0x9c9984[_0x23ade0(0xda)]({'id':_0x351ec9['id'],'params':{'unitId':_0x9c9a99,'subUnitId':_0x5a1b61,'pivotTableId':_0x499a14,'targetCellPosition':{'row':_0x2dd220,'col':_0x9108a8}}});const _0x1007f7=_0xa2a409[_0x23ade0(0x327)]-_0x2dd220,_0x46d430=_0xa2a409[_0x23ade0(0xed)]-_0x9108a8,_0x503376=[],_0x2be1ec=this[_0x23ade0(0xa9)]['getPivotItemRenderInfoCache'](_0x9c9a99,_0x5a1b61,_0x499a14),_0x33133c=_0x2be1ec==null?void 0x0:_0x2be1ec[_0x23ade0(0x2c4)];if(_0x33133c){Object['keys'](_0x33133c)[_0x23ade0(0x1ed)](_0x5a0387=>{const _0x2e9097=_0x23ade0;_0x33133c[_0x5a0387][_0x2e9097(0x1ed)](_0x3e8677=>{const _0x7b92cb=_0x2e9097,_0x3b4419={..._0x3e8677};_0x3b4419[_0x7b92cb(0x100)]=_0x3e8677[_0x7b92cb(0x100)]+_0x1007f7,_0x3b4419['endRow']=_0x3e8677[_0x7b92cb(0x27a)]+_0x1007f7,_0x3b4419[_0x7b92cb(0x2fd)]=_0x3e8677[_0x7b92cb(0x2fd)]+_0x46d430,_0x3b4419[_0x7b92cb(0x304)]=_0x3e8677['endColumn']+_0x46d430,_0x503376[_0x7b92cb(0xda)](_0x3b4419);});});const _0xb39f35=this['_sheetInterceptorService'][_0x23ade0(0x112)]({'unitId':_0x9c9a99,'subUnitId':_0x5a1b61,'ranges':_0x503376});_0xce0b0a[_0x23ade0(0xda)](..._0xb39f35[_0x23ade0(0x1aa)]),_0x9c9984[_0x23ade0(0xda)](..._0xb39f35['undos']);const _0x1a7209=_0x536fef(this[_0x23ade0(0x17c)],_0x9c9a99,_0x5a1b61,_0x503376);_0x1a7209['shouldClear']&&(_0xce0b0a[_0x23ade0(0xda)](_0x1a7209['setRangeValueRedoMutation']),_0x9c9984[_0x23ade0(0xda)](_0x1a7209['setRangeValueUndoMutation']));}}}}return{'redos':_0xce0b0a,'undos':_0x9c9984};}};_0x1ed7ab=_0x15226f([_0x187819(0x0,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03['Injector'])),_0x187819(0x1,_0x136a03[_0x4ff3ff(0x2e8)](_0x47d532[_0x4ff3ff(0x1ec)])),_0x187819(0x2,_0x136a03[_0x4ff3ff(0x13a)]),_0x187819(0x3,_0x136a03[_0x4ff3ff(0x227)]),_0x187819(0x4,_0x136a03['Inject'](_0x488dae[_0x4ff3ff(0x302)])),_0x187819(0x5,_0x136a03[_0x4ff3ff(0x2e8)](_0x488dae[_0x4ff3ff(0x1e5)])),_0x187819(0x6,_0x136a03['Inject'](_0x47d532[_0x4ff3ff(0x91)]))],_0x1ed7ab);var _0x3d7726=Object[_0x4ff3ff(0xba)],_0x10787c=(_0x306762,_0x353885,_0x164114,_0x581073)=>{const _0x83be21=_0x4ff3ff;for(var _0x211bde=_0x581073>0x1?void 0x0:_0x581073?_0x3d7726(_0x353885,_0x164114):_0x353885,_0x2dfd6b=_0x306762[_0x83be21(0x1ae)]-0x1,_0x37caeb;_0x2dfd6b>=0x0;_0x2dfd6b--)(_0x37caeb=_0x306762[_0x2dfd6b])&&(_0x211bde=_0x37caeb(_0x211bde)||_0x211bde);return _0x211bde;},_0x2d915d=(_0x54b95b,_0x39f8b9)=>(_0x1e2dbb,_0x20dd25)=>_0x39f8b9(_0x1e2dbb,_0x20dd25,_0x54b95b);let _0xfe1da=class extends _0x136a03[_0x4ff3ff(0x101)]{constructor(_0x2ff474,_0x438704){const _0x2f608d=_0x4ff3ff;super(),this[_0x2f608d(0x2fc)]=_0x2ff474,this[_0x2f608d(0x385)]=_0x438704,this[_0x2f608d(0x1d1)]();}[_0x4ff3ff(0x1d1)](){const _0x545ff9=_0x4ff3ff;this['disposeWithMe'](this[_0x545ff9(0x2fc)][_0x545ff9(0x1e6)]({'getMutations':_0x7f0d1d=>{const _0x3ea96d=_0x545ff9;if(_0x7f0d1d['id']===_0x47d532[_0x3ea96d(0x144)]['id']){const _0x5707d8=[],_0x5e504e=[],_0x2ac3cc=_0x7f0d1d[_0x3ea96d(0x221)],{unitId:_0x2fb0a8,subUnitId:_0x5bb2ae}=_0x2ac3cc;if(!_0x2fb0a8||!_0x5bb2ae)return{'undos':_0x5e504e,'redos':_0x5707d8};const _0x19f2d8=this['_sheetsPivotTableConfigModel'][_0x3ea96d(0x2a8)](_0x2fb0a8,_0x5bb2ae);if(_0x19f2d8!=null&&_0x19f2d8['size'])for(const [_0x3ffb51,_0x1f1015]of _0x19f2d8){_0x5707d8['push']({'id':_0x1e490e['id'],'params':{'unitId':_0x2fb0a8,'subUnitId':_0x5bb2ae,'pivotTableId':_0x3ffb51}});const _0x3a3530={...this[_0x3ea96d(0x385)][_0x3ea96d(0x139)](_0x2fb0a8,_0x3ffb51)};_0x5e504e[_0x3ea96d(0xda)]({'id':_0x5f77cb['id'],'params':{'unitId':_0x2fb0a8,'subUnitId':_0x5bb2ae,'pivotTableId':_0x3ffb51,'pivotTableConfig':_0x1f1015,'collectionConfig':_0x3a3530}});}return{'redos':_0x5707d8,'undos':_0x5e504e};}return{'redos':[],'undos':[]};}}));}};_0xfe1da=_0x10787c([_0x2d915d(0x0,_0x136a03['Inject'](_0x47d532[_0x4ff3ff(0x91)])),_0x2d915d(0x1,_0x136a03['Inject'](_0x488dae[_0x4ff3ff(0x302)]))],_0xfe1da);var _0x6cee3b=Object[_0x4ff3ff(0xba)],_0x477d68=(_0x3efab1,_0x103e59,_0x350711,_0x26270c)=>{const _0x1c3be8=_0x4ff3ff;for(var _0x5eea73=_0x26270c>0x1?void 0x0:_0x26270c?_0x6cee3b(_0x103e59,_0x350711):_0x103e59,_0x263eb7=_0x3efab1[_0x1c3be8(0x1ae)]-0x1,_0x18f5d8;_0x263eb7>=0x0;_0x263eb7--)(_0x18f5d8=_0x3efab1[_0x263eb7])&&(_0x5eea73=_0x18f5d8(_0x5eea73)||_0x5eea73);return _0x5eea73;},_0x40971c=(_0x3f7aad,_0x51d33f)=>(_0x24bc84,_0x2767b0)=>_0x51d33f(_0x24bc84,_0x2767b0,_0x3f7aad);let _0x2e1acf=class extends _0x136a03['Disposable']{constructor(_0x32b209,_0x5780b5,_0x52313d,_0x11fccc,_0x2b0c59,_0x27ad3a){const _0xb2c8ee=_0x4ff3ff;super(),this[_0xb2c8ee(0x1ff)]=_0x32b209,this[_0xb2c8ee(0xc2)]=_0x5780b5,this[_0xb2c8ee(0xa9)]=_0x52313d,this[_0xb2c8ee(0x385)]=_0x11fccc,this['_univerInstanceService']=_0x2b0c59,this[_0xb2c8ee(0x257)]=_0x27ad3a,this['_initDataSendListener'](),this['registerDirtyService']();}[_0x4ff3ff(0x2d5)](){const _0xf1d664=_0x4ff3ff;this['disposeWithMe'](this[_0xf1d664(0x1ff)][_0xf1d664(0x104)](_0x38287d=>{const _0x7cb4d1=_0xf1d664;if(_0x38287d['id']!==_0x4e105c['id'])return;const _0x4383cb=_0x38287d['params'];this[_0x7cb4d1(0xc2)][_0x7cb4d1(0x33a)](_0x4383cb);})),this[_0xf1d664(0x228)](this['_commandService'][_0xf1d664(0x104)](_0x3de645=>{const _0x2da204=_0xf1d664;if(_0x3de645['id']===_0x278df3['id']){const _0x447e84=_0x3de645['params'];if(_0x447e84){const {unitId:_0x41eff8,subUnitId:_0x486dbc,oldSubUnitId:_0x25136d,pivotTableId:_0x46daa2,pivotTableConfig:_0x15d55d,collectionConfig:_0x540758}=_0x447e84;this['_sheetsPivotTableConfigModel'][_0x2da204(0xad)](_0x41eff8,_0x25136d,_0x447e84[_0x2da204(0xd0)],null),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x41eff8,_0x486dbc,_0x46daa2,_0x15d55d),this[_0x2da204(0x385)][_0x2da204(0x35c)](_0x41eff8,_0x540758);}}})),this[_0xf1d664(0x228)](this[_0xf1d664(0x1ff)][_0xf1d664(0x104)](_0x4f450b=>{const _0x3f5314=_0xf1d664;if(_0x4f450b['id']!==_0xb34b97['id'])return;const _0x5f56c0=_0x47d532['getSheetCommandTarget'](this[_0x3f5314(0x317)]);if(!_0x5f56c0)return;const {unitId:_0x19bfa6,subUnitId:_0x37287d}=_0x5f56c0,_0x4757db=_0x4f450b[_0x3f5314(0x221)];if(_0x4757db[_0x3f5314(0xe6)]&&Object[_0x3f5314(0x255)](_0x4757db[_0x3f5314(0xe6)])[_0x3f5314(0x1ed)](_0x4a4ec6=>{const _0x230f21=_0x3f5314;var _0x1476f9;(_0x1476f9=_0x4757db[_0x230f21(0xe6)])!=null&&_0x1476f9[_0x4a4ec6]&&this[_0x230f21(0x385)][_0x230f21(0x35c)](_0x4a4ec6,_0x4757db[_0x230f21(0xe6)][_0x4a4ec6]);}),_0x4757db[_0x3f5314(0x1c4)]){const _0x3cfe8b=_0x4757db[_0x3f5314(0x1c4)],{unitId:_0x3fb899,subUnitId:_0x146031,view:_0x21411d,pivotTableId:_0x341c7a,type:_0x3ed1fd,pivotConfig:_0x1138f4}=_0x3cfe8b;if(_0x3ed1fd===_0x39c7b1[_0x3f5314(0x275)])this[_0x3f5314(0xa9)][_0x3f5314(0x16a)]({'unitId':_0x3fb899,'subUnitId':_0x146031,'pivotTableId':_0x341c7a,'type':_0x3ed1fd}),this[_0x3f5314(0x385)][_0x3f5314(0xad)](_0x3fb899,_0x146031,_0x341c7a,null);else{const _0x2ffd5c=new _0x10f223['PivotView']();_0x2ffd5c[_0x3f5314(0x2ed)](_0x21411d),this[_0x3f5314(0x385)][_0x3f5314(0xad)](_0x3fb899,_0x146031,_0x341c7a,_0x1138f4),this[_0x3f5314(0xa9)][_0x3f5314(0x16a)]({'unitId':_0x3fb899,'subUnitId':_0x146031,'pivotTableId':_0x341c7a,'type':_0x3ed1fd,'view':_0x2ffd5c}),this['_sheetsPivotTableAdaptorModel'][_0x3f5314(0x147)]({'unitId':_0x3fb899,'subUnitId':_0x146031,'view':_0x2ffd5c,'pivotTableId':_0x341c7a,'type':_0x3ed1fd});}}else _0x4757db[_0x3f5314(0x106)]&&(_0x4757db[_0x3f5314(0x106)][_0x3f5314(0x1ed)](_0x2ac060=>{const _0x5eeee6=_0x3f5314,{unitId:_0x127f7b,subUnitId:_0x17db73,view:_0x4dba4b,pivotTableId:_0x3ac860,type:_0x4cac64,pivotConfig:_0x3a572f}=_0x2ac060,_0x129390=new _0x10f223[(_0x5eeee6(0x32d))]();_0x129390[_0x5eeee6(0x2ed)](_0x4dba4b),this[_0x5eeee6(0x385)][_0x5eeee6(0xad)](_0x127f7b,_0x17db73,_0x3ac860,_0x3a572f),this[_0x5eeee6(0xa9)][_0x5eeee6(0x147)]({'unitId':_0x127f7b,'subUnitId':_0x17db73,'view':_0x129390,'pivotTableId':_0x3ac860,'type':_0x4cac64});}),this[_0x3f5314(0x385)][_0x3f5314(0x1f6)]());this[_0x3f5314(0xa9)][_0x3f5314(0x2f9)](_0x19bfa6,_0x37287d);}));}[_0x4ff3ff(0x384)](){const _0x548200=_0x4ff3ff;this['_activeDirtyManagerService'][_0x548200(0xc3)](_0x4f48b1['id'],{'commandId':_0x4f48b1['id'],'getDirtyData'(_0x107729){const _0x588069=_0x548200;return{'dirtyUnitFeatureMap':_0x107729[_0x588069(0x221)]};}});}};_0x2e1acf=_0x477d68([_0x40971c(0x0,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x13a)])),_0x40971c(0x1,_0x136a03[_0x4ff3ff(0x2e8)](_0x488dae[_0x4ff3ff(0x120)])),_0x40971c(0x2,_0x136a03[_0x4ff3ff(0x2e8)](_0x488dae[_0x4ff3ff(0x1e5)])),_0x40971c(0x3,_0x136a03[_0x4ff3ff(0x2e8)](_0x488dae['SheetsPivotTableConfigModel'])),_0x40971c(0x4,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x227)])),_0x40971c(0x5,_0x5bf515[_0x4ff3ff(0x37c)])],_0x2e1acf);var _0x1b774e=Object[_0x4ff3ff(0x2bd)],_0x6f291f=Object['getOwnPropertyDescriptor'],_0x4c6454=(_0x2914f9,_0x1f51b3,_0x175904)=>_0x1f51b3 in _0x2914f9?_0x1b774e(_0x2914f9,_0x1f51b3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x175904}):_0x2914f9[_0x1f51b3]=_0x175904,_0x3a4f69=(_0x22d78b,_0x455a6f,_0x48e36c,_0x24e5a9)=>{const _0x5227d5=_0x4ff3ff;for(var _0x4048c7=_0x24e5a9>0x1?void 0x0:_0x24e5a9?_0x6f291f(_0x455a6f,_0x48e36c):_0x455a6f,_0x320505=_0x22d78b[_0x5227d5(0x1ae)]-0x1,_0xd9d64b;_0x320505>=0x0;_0x320505--)(_0xd9d64b=_0x22d78b[_0x320505])&&(_0x4048c7=_0xd9d64b(_0x4048c7)||_0x4048c7);return _0x4048c7;},_0x6dd671=(_0x403bd5,_0x49cbc6)=>(_0x227630,_0x3bb98e)=>_0x49cbc6(_0x227630,_0x3bb98e,_0x403bd5),_0xd4baea=(_0x5db1e0,_0x549740,_0x22adce)=>_0x4c6454(_0x5db1e0,typeof _0x549740!='symbol'?_0x549740+'':_0x549740,_0x22adce);_0x488dae[_0x4ff3ff(0x244)]=class extends _0x136a03[_0x4ff3ff(0x2e0)]{constructor(_0x7e6f77=_0x1af530,_0x4290f7,_0x4c3b94,_0x4d5c04,_0x232c63){const _0x37db60=_0x4ff3ff;super(),this[_0x37db60(0x2c5)]=_0x7e6f77,this[_0x37db60(0x17c)]=_0x4290f7,this['_commandService']=_0x4c3b94,this['_configService']=_0x4d5c04,this[_0x37db60(0x29c)]=_0x232c63;const {..._0xca3e10}=_0x136a03[_0x37db60(0xaf)]({},_0x1af530,this[_0x37db60(0x2c5)]);this[_0x37db60(0x2cb)][_0x37db60(0x250)](_0x3b6c37,_0xca3e10),this[_0x37db60(0xa5)](),this[_0x37db60(0x279)]();}['_initConfig'](){const _0x16c2fd=_0x4ff3ff;var _0x104e8c;const _0xe19fd9=(_0x104e8c=this[_0x16c2fd(0x2c5)])==null?void 0x0:_0x104e8c[_0x16c2fd(0x254)];this[_0x16c2fd(0x2cb)][_0x16c2fd(0x250)](_0x2432cb,_0xe19fd9===!0x0);}[_0x4ff3ff(0xfe)](){const _0x103dd0=_0x4ff3ff;var _0xe65591;let _0x229bff=[];const _0x3e7c00=(_0xe65591=this[_0x103dd0(0x2c5)])==null?void 0x0:_0xe65591['notExecuteFormula'];_0x3e7c00===!0x0?_0x229bff=[[_0x488dae[_0x103dd0(0x2af)]],[_0x488dae[_0x103dd0(0x120)]],[_0x2e1acf],[_0x488dae['SheetsPivotTableAdaptorModel']],[_0x488dae[_0x103dd0(0x302)]],[_0xfe1da],[_0x1a92b1],[_0x1ed7ab],[_0x10deb4]]:_0x3e7c00===!0x1?_0x229bff=[[_0x488dae[_0x103dd0(0x16d)]],[_0x1f28d6]]:_0x3e7c00===void 0x0&&(_0x229bff=[[_0x488dae[_0x103dd0(0x16d)]],[_0x1f28d6],[_0x488dae['SheetsPivotTableService']],[_0x488dae[_0x103dd0(0x120)]],[_0x2e1acf],[_0x488dae[_0x103dd0(0x1e5)]],[_0x488dae[_0x103dd0(0x302)]],[_0xfe1da],[_0x1a92b1],[_0x1ed7ab],[_0x10deb4]]),_0x229bff[_0x103dd0(0x1ed)](_0x4387d3=>this['_injector'][_0x103dd0(0x20b)](_0x4387d3)),[_0x1f28d6,_0x2e1acf,_0x488dae[_0x103dd0(0x2af)],_0x1a92b1,_0xfe1da,_0x1ed7ab,_0x10deb4]['forEach'](_0xc2c378=>{const _0x30ae65=_0x103dd0;this[_0x30ae65(0x17c)]['has'](_0xc2c378)&&this[_0x30ae65(0x17c)][_0x30ae65(0x34e)](_0xc2c378);});}[_0x4ff3ff(0xa5)](){const _0x5f0fdc=_0x4ff3ff;[_0x3e865c,_0x4fcdd3,_0x2c0605,_0x48cd17,_0x3ca2c5,_0x39841d,_0x23226d,_0x5cb834,_0x31c60a,_0x25fe6b,_0x2fd21d,_0x5d30e7,_0x3cb7e4,_0xa870fc,_0x5f77cb,_0x11f031,_0x1e490e,_0x537a11,_0x5454da,_0x1b9fed,_0x1594e5,_0x4870f1,_0x8a2cc4,_0x4c3b79,_0x553b85,_0x5118aa,_0x351ec9,_0x5ccc55,_0x4e105c,_0xb34b97,_0x22ec60,_0x232f99,_0x203adf,_0x47e9c4,_0x30da9f,_0x4fa7f7,_0x5d9f62,_0x4f48b1,_0x278df3,_0xacb440,_0x119fca,_0x2f4958,_0x59c06a][_0x5f0fdc(0x1ed)](_0x2a14ee=>{const _0x207afe=_0x5f0fdc;var _0x1f63ed;(_0x1f63ed=this['_dataSyncPrimaryController'])==null||_0x1f63ed[_0x207afe(0xd4)](_0x2a14ee),this[_0x207afe(0x1ff)][_0x207afe(0xcd)](_0x2a14ee);});}},_0xd4baea(_0x488dae[_0x4ff3ff(0x244)],_0x4ff3ff(0x108),_0x1cd2aa),_0xd4baea(_0x488dae[_0x4ff3ff(0x244)],_0x4ff3ff(0x20d),_0x136a03['UniverInstanceType'][_0x4ff3ff(0x22b)]),_0x488dae[_0x4ff3ff(0x244)]=_0x3a4f69([_0x136a03['DependentOn'](_0x3f0c04[_0x4ff3ff(0x1ad)]),_0x6dd671(0x1,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x214)])),_0x6dd671(0x2,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03['ICommandService'])),_0x6dd671(0x3,_0x136a03[_0x4ff3ff(0x25a)]),_0x6dd671(0x4,_0x136a03[_0x4ff3ff(0x2c9)](_0x3fa942[_0x4ff3ff(0xb9)]))],_0x488dae[_0x4ff3ff(0x244)]),_0x488dae[_0x4ff3ff(0x330)]=_0x2c0605,_0x488dae[_0x4ff3ff(0x8b)]=_0x537a11,_0x488dae[_0x4ff3ff(0x312)]=_0x4fcdd3,_0x488dae[_0x4ff3ff(0x178)]=_0x5f77cb,_0x488dae[_0x4ff3ff(0x2ec)]=_0x3e865c,_0x488dae[_0x4ff3ff(0x381)]=_0x2fd7f7,_0x488dae[_0x4ff3ff(0x345)]=_0x2e79d7,_0x488dae[_0x4ff3ff(0x31c)]=_0x48cd17,_0x488dae[_0x4ff3ff(0x1ea)]=_0x3cb7e4,_0x488dae['PivotDisplayDataType']=_0x434fd6,_0x488dae[_0x4ff3ff(0x70)]=_0xa870fc,_0x488dae[_0x4ff3ff(0x103)]=_0x39c7b1,_0x488dae['PivotTableViewDirtyMarkOperation']=_0x4f48b1,_0x488dae['PositionType']=_0x55bf83,_0x488dae['RemovePivotFieldCommand']=_0x3ca2c5,_0x488dae[_0x4ff3ff(0x331)]=_0x4870f1,_0x488dae['RemovePivotTableMutation']=_0x1e490e,_0x488dae[_0x4ff3ff(0x356)]=_0x8a2cc4,_0x488dae[_0x4ff3ff(0x1d3)]=_0x59c06a,_0x488dae['SHEETS_PIVOT_PLUGIN_CONFIG_KEY']=_0x3b6c37,_0x488dae[_0x4ff3ff(0x273)]=_0x1cd2aa,_0x488dae['SetPivotCollapseCommand']=_0x5cb834,_0x488dae[_0x4ff3ff(0x265)]=_0x4c3b79,_0x488dae[_0x4ff3ff(0x29a)]=_0x47e9c4,_0x488dae[_0x4ff3ff(0x1dd)]=_0x2f4958,_0x488dae['SetPivotFilterCommand']=_0x25fe6b,_0x488dae[_0x4ff3ff(0x2d4)]=_0x1594e5,_0x488dae[_0x4ff3ff(0x105)]=_0x5118aa,_0x488dae[_0x4ff3ff(0x2bc)]=_0x351ec9,_0x488dae[_0x4ff3ff(0x359)]=_0x31c60a,_0x488dae[_0x4ff3ff(0x13b)]=_0x553b85,_0x488dae[_0x4ff3ff(0x1a2)]=_0x203adf,_0x488dae['SetPivotValueFilterCommand']=_0xacb440,_0x488dae[_0x4ff3ff(0x11b)]=_0x119fca,_0x488dae[_0x4ff3ff(0x32e)]=_0x23226d,_0x488dae[_0x4ff3ff(0x1f3)]=_0x22ec60,_0x488dae['UpdatePivotFieldSettingCommand']=_0x2fd21d,_0x488dae[_0x4ff3ff(0x117)]=_0x5d9f62,_0x488dae['UpdatePivotTableSourceRangeCommand']=_0x5d30e7,_0x488dae[_0x4ff3ff(0x382)]=_0x4fa7f7,_0x488dae[_0x4ff3ff(0x12a)]=_0x39841d,_0x488dae[_0x4ff3ff(0x26c)]=_0x232f99,_0x488dae['applyChangeSet']=_0x3837e3,_0x488dae['canUsePivot']=_0x2974b0,_0x488dae[_0x4ff3ff(0x32f)]=_0x1a3ef9,_0x488dae[_0x4ff3ff(0x1e2)]=_0x536fef,_0x488dae[_0x4ff3ff(0x310)]=_0x50f2e9,_0x488dae[_0x4ff3ff(0x233)]=_0x4095bd,_0x488dae[_0x4ff3ff(0x307)]=_0x1ffc3c,_0x488dae[_0x4ff3ff(0x2a4)]=_0x1fa301,_0x488dae['getPivotCellInfo']=_0x3872a6,_0x488dae[_0x4ff3ff(0x1bd)]=_0x3f7c6d,_0x488dae[_0x4ff3ff(0x1c9)]=_0xfefbb8,_0x488dae[_0x4ff3ff(0x13e)]=_0x25418d,_0x488dae['unionPivotViewRange']=_0x2a3c2e,Object[_0x4ff3ff(0x2bd)](_0x488dae,Symbol[_0x4ff3ff(0x224)],{'value':'Module'});}));
|