@univerjs-pro/sheets-pivot 0.6.10-experimental.20250410-d40d076 → 0.6.10-nightly.202504101607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +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/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x50dd(_0x2b07b2,_0x220693){const _0x332454=_0x3324();return _0x50dd=function(_0x50dd32,_0x14a391){_0x50dd32=_0x50dd32-0x77;let _0x200869=_0x332454[_0x50dd32];return _0x200869;},_0x50dd(_0x2b07b2,_0x220693);}function _0x3324(){const _0x3cd157=['updateView','stdDev','@univerjs/sheets','getCellRaw','sheets-pivot.countNumsName','_host','pushComputingStatusSubject','AddPivotTableCommand','sheets-pivot.varName','setPivotCollapse','movePivotField','_deleteModelCache','getAutoDisplayNameFunction','sheetName','setRangeValueUndoMutation','getDataFieldManager','_ensurePivotMap','DataField','charCodeAt','NotFunction','forValue','dataStream','width','IResourceManagerService','addPivotField','subUnitId','getNoUsedDataFieldIds','PivotDisplayDataType','interceptCommand','sheet.mutation.pivot-update-field-source-info','sheets-pivot.dateGroup.month','collectionChange$','@univerjs/sheets-filter','lastCol','paths','getPivotTableConfig','addCollectionByJSON','setDirty','intersects','sequenceExecute','setValueFilterInfo','SetPivotPositionMutation','RemoveSheetCommand','updateViewData','getDate','asyncInterceptor','pivotPerformCheck','DependentOn','Rectangle','defaultThemeStyle','getSubUnitPivotRenderCache','concat','getDisplayName','_localeService','subtotal','_sheetInterceptorService','collections','exports','asObservable','InterceptorEffectEnum','register','addField','UniverCore','UniverProSheetsPivot','targetCellInfo','_config','entries','removeValueFilterInfoByValueFieldId','NAME','getRangeKey','_ensurePivotItemRenderValueMatrixCache','hasField','_ensurePivotTableMatrixInfo','setSubtotalType','sheet.command.move-pivot-field','sheet.command.set-pivot-filter','cellToRange','UNIVER_SHEET','Value','_pivotTableMatrixInfo','pivotTableId','from','Tools','_fieldsCollectionChange$','_pivotRenderInfoCache','Quarter','document','PivotTableValuePositionEnum','Count\x20of\x20','Sum\x20of\x20','sheet.command.set-pivot-sort','_globalComputedStartHelpFunc','sheets-pivot.cellDateGroupDisplay.date','Date','getCellMatrix','setOptions','sheet.operation.pivot-table-view-formula-mark-dirty','setTextInfo','_initDataSendListener','FontCache','_ensurePivotItemRenderInfoCache','MoveRangeCommand','PivotCellStyleTypeEnum','serializeRangeWithSpreadsheet','valueFields','existing','_textInfo','toJSON','GrandTotal','isPrefixValue','setRangeValueRedoMutation','valid','sheets-pivot.blank','token','_resourceManagerService','executeCommand','interceptor','maxDate','drillDown','startRow','dataFields','PivotDateGroupFieldDateTypeEnum','sheets-pivot.grandTotal','InsertRowMutation','COLUMN','PIVOT_MUTATION_GENERATE','get','InterceptorManager','_commandService','SHEET_PIVOT_IN_MAIN_THREAD','Min\x20of\x20','SetPivotFilter','generateNewSheetName','SheetsPivotTableService','textInfo','limit\x20pivot','blank','random','forEach','Module','handleSourceRangeChange','_createExclusiveRange','getDirtyInfo','isDateGroupFieldJSON','SetCollapse','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','toStringTag','rangeCache','LS_CONFIG_KEY','_sheetsPivotTableConfigModel','SetPivotSort','foreach','_initGlobalComputed','getSheetBySheetName','fieldIds','fields','getMatrix','pluginName','IExclusiveRangeService','fetchThroughAsyncInterceptors','remove','isArray','row','sheets-pivot.sumName','addCollection','colRanges','startColumn','IUniverInstanceService','generateHexNumber','filterInfo','some','options','getSheets','contains','ErrorType','number','DrillDown','hasOwnProperty','SetWorksheetActiveOperation','isBaseGroupField','endColumn','update','addExclusiveRange','@univerjs-pro/license','SheetsPivotTableAdaptorModel','getDataFieldId','sheets-pivot.productName','format','SetPivotFieldsConfigCommand','_sheetsPivotTableAdaptorModel','_univerInstanceService','setDataRecordCount','setValue','next','removePivotTable','registerCallbackWithEvent','isColMultiMeasure','new','STRING','getUnitId','_pivotTableInstanceCache','unshiftString','createDataFieldId','getFilterFieldIdByIndex','body','displayName','UpdateDateGroupCommand','addFieldWithSourceId','substring','getCurrentSelections','DataFieldManager','updateFieldPosition','getPivotPerformCheck','AddPivotTable','_pivotConfigChange$','addPivotTable','ReleaseType','tuple','getFieldInfo','sortInfo','getPivotItemRenderInfoCache','registerCommand','@univerjs-pro/engine-pivot','getIndexesByPathStr','pivotConfigChange$','onQueryEnd','sheets-pivot.maxName','_viewData','setRange','getSheetId','getPivotTableRangeInfo','_globalSubject','sheets-pivot.cellDateGroupDisplay.yearMonthDate','getDataFieldByDataFieldId','New','getAutoFitColumnsMutations','info','rangeKeyMap','getUnit','setLabelFilterInfo','setSourceName','adjustSheetCellData','getSheetBySheetId','getTypeOfUnitDisposed$','RenamePivotFieldMutation','updateRenderCache','params','add','getAutoDisplayName','_pivotInitCompleted$','result','delete','getFilterInfo','Add','_requestResolvers','NUMBER','Column\x20','sheets-pivot.dateGroup.hour','PivotSubtotalTypeEnum','_featureCalculationManagerService','getAdjustRangesPosition','versions','(Blank)','pushUndoRedo','Set','onQueryStart','131967NkCAqr','unshift','tableFieldId','pageStyle','_updateModelCache','getInfo','defineProperty','RemovePivotFieldMutation','notExecuteFormula','deepClone','updateDataFieldsCollection','deleteUnitId','Subtotal','_initPivotTextInfo','configVersion$','rangeKey','merge','reduce','PivotViewCellValueTypeEnum','applyChangeSet','getViewData','addDataFieldWithoutUnitInfo','name','DEFAULT_WORKSHEET_ROW_COUNT','_subjectFieldsCollectionChange','removePivotField','IConfigService','getTargetByPivotTableId','isBottomTotal','removeCollections','amd','YearQuarter','MoveRangeMutation','getConfig','areaInfo','pbt','disposeWithMe','type','startCollectChangeset','sheet.mutation.remove-pivot-table','headerMap','getFullYear','getTableFieldById','SetPivotValueFilterMutation','UpdatePivotValuePositionCommand','sheet.command.reset-pivot-fields-config','slice','_refRangeHandle','queryDirtyPivotTable','100194RzUUgS','ClearSelectionContentCommand','generateNullCell','_ensureViewDataMap','#f4f4f5','subscribe','rangeType','updatePivotSource','rgb(255,255,255)','sheet.mutation.set-pivot-format','isDateValue','getFieldPositionInfoById','REF','MIN_SAFE_INTEGER','Minute','getActiveSheet','lastRow','95LWuzlC','_markDirty$','fieldsConfig','getInsertRowColMutations','collection','sheet.command.set-pivot-fields-config','push','sheet.command.set-pivot-field-setting','MonthDate','PivotTableChangeTypeEnum','updateValuePosition','sheet.mutation.update-pivot-table-source-range','collapseInfo','UpdatePivotSource','Month','dataFieldsCollection','size','getTargetByPivotId','getDataFieldByTableId','getColumnWidth','Row','rangesInfo','originalFieldId','measure','dataFieldId','endRow','_dataSyncPrimaryController','MUTATION','ptn','undos','COMMAND','updatePivotTableRangeInfo','getCurrentUnitForType','getValueIndex','single','FORCE_STRING','bind','col','Filter','sheets-pivot.dateGroup.yearQuarter','setDisplayName','colStyle','sheets-pivot.stdDevName','Grand\x20Total','UpdatePivotTableSourceRangeMutation','getOwnPropertyDescriptor','panel','getLastRow','iterateField','SetPivotTableConfig','getValueFilterInfos','_sheetsPivotTableService','floor','sheets-pivot.cellDateGroupDisplay.month','has','setPivotSetting','PivotDataFieldDataTypeEnum','mergeWorksheetSnapshotWithDefault','SetPivotSetting','sheet.mutation.rename-pivot-field','return\x20','_viewUpdate$','_sheetsSelectionsService','cornerStyle','UpdatePivotFieldSettingCommand','sheet.command.pivot-drill-down','column','sheet.mutation.remove-group-collection','SetSubtotalType','getMatrixValue','rowStyle','sheets-pivot.emptyPivot.column','valueIndex','_getAutoName','_deletePivotTableInstanceCache','SetPivotCollapseCommand','IActiveDirtyManagerService','getSubUnitPivotConfigs','DEFAULT_PIVOT_NUMBER','level','matrix','IUndoRedoService','Inject','clearExclusiveRangesByGroupId','MovePivotTableCommand','_subjectCollectionChange','getPivotTableInfo','updateRangeKeyMap','AddPivotField','_refRangeService','_subjectViewChange','refreshGroupField','NORMAL','getPivotDisplayConfig','SetOptions','sum','#e6ebfa','parse','unionPivotViewRange','InsertSheetUndoMutationFactory','setFieldFormat','setName','1822220iUrdcR','DisposableCollection','_globalComputingSrv','ObjectMatrix','Delete','_initPivotDataGetListener','DataSyncPrimaryController','sheets-pivot.dateGroup.monthDate','varp','dimension','sheets-pivot.dateGroup.yearMonthDate','AddPivotTableWithConfig','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','dataRangeInfo','broadcastCollectionChange','Injector','PivotTableViewDirtyMarkOperation','_globalComputedEndHelpFunc','getValue','CELL_CONTENT','UniverSheetsFilter','pivotTableConfigs','deleteField','columnFields','SetPivotOptionMutation','realDeleteValue','UniverEngineRender','SetFieldFormat','_sheetsPivotRpcService','YearMonthDate','registerSyncingMutations','generateSetRangeValueMutations','canUsePivot','removeSourceRangeChange','setPivotTableConfig','registerRefRange','InsertSheetCommand','StdDev\x20of\x20','filter','range','getColCount','message','handleMoveRange','fromJSON','stringify','UniverProLicense','getTextInfo','SheetsPivotDataSourceModel','sheet.command.add-pivot-table','#e6ebfb','SetPivotValueFilterCommand','numfmt','_ensurePivotTableRangeInfo','SetValuePivotFilter','_configVersion$','formJSON','getFieldCountByArea','_sheetsPivotDataSourceModel','_initLocale','_initRegisterCommand','getSubUnitPivotMatrix','isFeatureAuthorizedWithinTime','CommandType','addRecord','MAX_SAFE_INTEGER','@univerjs/rpc','UpdateValuePosition','_pivotTableRangeInfo','unitId','refreshData','sheets-pivot.cellDateGroupDisplay.minute','LocaleService','sheet.command.set-pivot-value-filter','object','replace','needSameDeleteModel','refreshDataField','UpdateSource','_injector','SetRangeValuesMutation','362803QhAVzc','triggerDirtyFeature','colCount','values','sheet.mutation.pivot-update-field-position','sheets-pivot.emptyPivot.values','getLastCol','updateCollectionConfig','oldRangeInfo','updateConfig','getSheetFeatureLimit','Column','getIntersectsPivotTable','Max\x20of\x20','getFieldFormat','clearRenderCache','SetPivotCollapseMutation','markDirty','cornerRanges','version','INTERCEPTOR_POINT','createValueField','createInterceptorKey','query','getSortInfo','sheet.mutation.set-pivot-collapse','getId','UpdatePivotTableSourceRangeCommand','cornerInfo','RemoveField','function','splice','updateFieldSourceInfo','_generateUniqueVersion','minDate','viewData$','Year','PivotErrorTypeEnum','sheet.command.remove-pivot-field','error','_onRefRangeChange','getStyles','ResetPivotFieldsConfigCommand','updatePivotTableMatrixInfo','Varp\x20of\x20','SetPivotFilterCommand','getMatrixFromRunTimeData','addPivotTableWithConfig','symbol','sheets-pivot.cellDateGroupDisplay.hour','PivotView','UniverRpc','sheet.mutation.set-pivot-value-filter','MovePivotFieldCommand','16jGsdcI','getFieldIds','sheet.mutation.add-group-collection','getPivotTableModelConfig','pageRanges','Hour','AddPivotTableMutation','map','createAsyncInterceptorKey','BLANK_ROW_COUNT','sheets-pivot.minName','updateViewInfo','getPivotCellInfo','onCommandExecuted','_toJSON','valueFilter','endCollectChangeset','createCollectionWithDataRange','getRowCount','RemovePivotField','Div0','RemoveSheetsFilterMutation','@univerjs/core','_viewData$','sheet.mutation.set-pivot-filter','getIntersects','set','DateGroupField','SheetsSelectionsService','UniverLicensePlugin','getGroupFieldsInfoByIds','getOriginFieldId','YearMonth','NotName','PivotCallbackEnum','sheets-pivot.config','rowHeaderMap','initDataRanges','ResetPivotTable','_lifecycleService','custom','CellValueType','setPivotFilter','getMonth','registerDirtyService','getFieldById','pivotMutationGenerate','createLabelField','ManualFilter','uniqueDataFieldName','disposableCollection','sheet.command.update-date-group','getRangeKeyList','_initRemoveSheetCommandInterceptor','3325500dEEaJT','sheet.command.update-pivot-value-position','_initViewModelBySheetInterceptor','find','HourMinute','setDateType','Panel','setRangeKeyMap','sheet.command.add-pivot-field','getSubtotal','intercept','transFromCellValue','redos','_updateRenderEmptyCache','_initSnapshot','sheet.command.set-pivot-collapse','sheets.tabs.sheet','resetPivotTable','Subject','SheetInterceptorService','batch','fieldsCollectionChange$','keys','fontRenderExtension','removeCollectionImp','getSheetCommandTarget','parseInt','getFieldDataType','getSourceName','_activeDirtyManagerService','UpdatePivotFieldSourceInfoMutation','getPivotTableIdByCell','UniverInstanceType','SetPivotSortCommand','getTextSize','dateType','_collectionChange$','_dataFieldManagerCollection','updateConfigCache','ClearSelectionAllCommand','isErrorValue','sideEffectUpdateWorkerCache','pxo93aso\x20Pu9hfg3aso(Ya9uoMu,\x20gxNYa9Buf)\x20{\x20\x20\x20\x203hf\x20{\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20Ya9uoMuLopsD7h3nhh7f\x20=\x20Ya9uoMu.MgYa3(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20shaHaoGuMM7Hu\x20=\x20wrmF.g7hMu(73sN(Ya9uoMuLopsD7h3nhh7f[Q]));\x20\x20\x20\x20\x20\x20\x20\x20ap\x20(!shaHaoGuMM7Hu.xP)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20shaHaoGuMM7Hu.xP\x20=\x20Fx4Nuh(Ya9uoMuLopsD7h3nhh7f[K]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20aM2shRuh\x20=\x203fgusp\x202shRuhtYsN7Yr9sgu\x20!==\x20\x27xoPupaouP\x27\x20&&\x20MuYp\x20aoM37o9usp\x202shRuhtYsN7Yr9sgu;\x20\x20\x20\x20\x20\x20\x20\x209soM3\x209so3ub3\x20=\x20aM2shRuh\x20?\x20MuYp\x20:\x20jaoPsj;\x20\x20\x20\x20\x20\x20\x20\x209soM3\x204uMM7Hu2shP\x20=\x209so3ub3.__67MuqK__.g7hMu(Ya9uoMuLopsD7h3nhh7f[Q]);\x20\x20\x20\x20\x20\x20\x20\x209soM3\x204uMM7Hu\x20=\x209so3ub3.__cub__.M3haoHapf(4uMM7Hu2shP);\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20MaHo73xhu2shP\x20=\x209so3ub3.__67MuqK__.g7hMu(Ya9uoMuLopsD7h3nhh7f[C]);\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20MaHo73xhu\x20=\x209so3ub3.__cub__.M3haoHapf(MaHo73xhu2shP);\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20MaHoi7YaP\x20=\x209so3ub3.__Zuhapf__(MaHo73xhu,\x204uMM7Hu,\x20gxNYa9Buf);\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20Ps47ao\x20=\x20shaHaoGuMM7Hu.P4;\x20\x20\x20\x20\x20\x20\x20\x20pxo93aso\x20aMJs47aoG739IaoH(sD733uho,\x20scsM3)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20g733uho\x20=\x20sD733uho.hugY79u(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20IsM3\x20=\x20scsM3.hugY79u(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20g733uhoD7h3M\x20=\x20g733uho.MgYa3(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20IsM3D7h3M\x20=\x20IsM3.MgYa3(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ap\x20(!g733uho.ao9YxPuM(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hu3xho\x20g733uho\x20===\x20IsM3;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ap\x20(g733uhoD7h3M.YuoH3I\x20<\x20Q\x20||\x20g733uhoD7h3M[y]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hu3xho\x20p7YMu;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20g733uhorxppab\x20=\x20g733uhoD7h3M.MYa9u(X).Osao(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20IsM3rxppab\x20=\x20IsM3D7h3M.MYa9u(-g733uhoD7h3M.YuoH3I\x20+\x20X).Osao(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hu3xho\x20g733uhorxppab\x20===\x20IsM3rxppab;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Yu3\x20Ps47aoi7YaP\x20=\x20(Ps47ao\x20&&\x20Ps47ao.YuoH3I)\x20?\x20Ps47ao.Ms4u((P4L3u4)\x20=>\x20aMJs47aoG739IaoH(P4L3u4,\x20Ys973aso.IsM3o74u))\x20:\x203hxu;\x20\x20\x20\x20\x20\x20\x20\x20ap\x20(Ys973aso.IsM3o74u\x20===\x20\x27Ys97YIsM3\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ps47aoi7YaP\x20=\x203hxu;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x209soM3\x20Z7YaP\x20=\x20MaHoi7YaP\x20&&\x20Ps47aoi7YaP;\x20\x20\x20\x20\x20\x20\x20\x20hu3xho\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Z7YaP,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204uMM7Hu:\x20shaHaoGuMM7Hu,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x209739I\x20(uhhsh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20hu3xho\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Z7YaP:\x20p7YMu,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204uMM7Hu:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','sheets-pivot.subTotal','SetSheetsFilterRangeMutation','getUpdateRangeDeleteIds','Disposable','grandTotal','_updatePivotTableInstanceCache','setPivotTable','updateDirtyPivotTable','filterId','getInterceptPoints','shouldClear','sheets-pivot.dateGroup.hourMinute','Existing','setPivotInitCompleted','isValue','generateRandomId','sheets-pivot.emptyPivot.filter','getPivotTableInstance','sheet.mutation.set-pivot-field-subtotal-type','isNaN','Expand','sheets-pivot.cellDateGroupDisplay.year','SetWorksheetColWidthMutation','removeField','sheets-pivot.dateGroup.yearMonth','setSortInfo','sheet.command.add-pivot-table-with-config','iterateFieldByArea','#FFFFFF','_initConfig','setPivotSort','_initClearSelectionCommandInterceptor','length','SetPivotFilterMutation','workbook\x20is\x20not\x20found','SetPivotSubtotalTypeMutation','ICommandService','dispose','MovePivotField','setCollapse','rxjs','UniverSheetsPivotTablePlugin','date','SHEET_PIVOT_TABLE_PLUGIN','min','getName','InsertSheetMutation','isEmpty','includes','rowRanges','getPivotTableCellData','getHeaderMapItem','renameField','@univerjs/engine-formula','UniverEngineFormula','sheets-pivot.value','SetRangeValuesUndoMutationFactory','getValuePosition','DIV_BY_ZERO','rowFields','value','RANGE_TYPE','_init','_pivotRenderValueMatrixCache','_configService','Range','sourceRangeInfo','SheetsPivotTableConfigModel','getRangeStartEndInfo','8vnrhhV','Values','_initUnitDisposed','975662eiBfsm','fieldId','149832faHjwV','setConfig','collectionConfig','originTargetInfo','_model','excelDateToUnixMilliseconds','sheets-pivot.dateGroup.year','Product\x20of\x20','_collectionConfigModel','PivotTableFiledAreaEnum','CustomCommandExecutionError','@univerjs/engine-render','sourceName','None','sheets-pivot.cellDateGroupDisplay.quarter','data','PivotTable','generateMutationsByRanges','Collapse','#1d32e9','SetPivotCollapse','sheet.mutation.set-pivot-sort-info','deleteDataField','getDataFieldByRangeKey','SHEET_PIVOT_EXCLUSIVE_ID','rowCount','RemovePivotTableMutation','registerPluginResource','DEFAULT_WORKSHEET_COLUMN_COUNT','getDataFieldItemInfo','SheetsPivotRPCService','getFontStyleString','SetPivotSortMutation','addDirtyPivotTable','Var\x20of\x20','string','removeValueFilterInfo','colHeaderMap','setValuePivotFilter','sheet.mutation.get-pivot-data-local','subTotalStyle','PivotFilterTypeEnum','fetchThroughInterceptors','UpdateFieldPositionMutation','getColumnCount','split','count','_exclusiveRangeService','sheets-pivot.stdDevpName','updateAllDisplayName','getCollection','_queryingMap','FieldsCollection','#eceeff','max','NO_COMMERCIAL'];_0x3324=function(){return _0x3cd157;};return _0x3324();}(function(_0x140c35,_0x17f852){const _0x5eed26=_0x50dd,_0x23f531=_0x140c35();while(!![]){try{const _0x1b8d12=-parseInt(_0x5eed26(0xb0))/0x1+parseInt(_0x5eed26(0x287))/0x2+-parseInt(_0x5eed26(0xe1))/0x3*(parseInt(_0x5eed26(0x284))/0x4)+-parseInt(_0x5eed26(0xf2))/0x5*(-parseInt(_0x5eed26(0x289))/0x6)+parseInt(_0x5eed26(0x1a8))/0x7*(parseInt(_0x5eed26(0x1de))/0x8)+-parseInt(_0x5eed26(0x214))/0x9+-parseInt(_0x5eed26(0x158))/0xa;if(_0x1b8d12===_0x17f852)break;else _0x23f531['push'](_0x23f531['shift']());}catch(_0xa760ad){_0x23f531['push'](_0x23f531['shift']());}}}(_0x3324,0x4d050),function(_0x9e7281,_0xf91070){const _0x3611c4=_0x50dd;typeof exports==_0x3611c4(0x1a1)&&typeof module<'u'?_0xf91070(exports,require(_0x3611c4(0x84)),require(_0x3611c4(0x1f4)),require(_0x3611c4(0x274)),require(_0x3611c4(0x2c3)),require(_0x3611c4(0x267)),require(_0x3611c4(0x378)),require('@univerjs/sheets-filter'),require(_0x3611c4(0x199)),require(_0x3611c4(0x294))):typeof define==_0x3611c4(0x1c6)&&define[_0x3611c4(0xce)]?define([_0x3611c4(0x2fa),'@univerjs-pro/engine-pivot',_0x3611c4(0x1f4),_0x3611c4(0x274),'@univerjs/sheets',_0x3611c4(0x267),_0x3611c4(0x378),_0x3611c4(0x2e1),'@univerjs/rpc',_0x3611c4(0x294)],_0xf91070):(_0x9e7281=typeof globalThis<'u'?globalThis:_0x9e7281||self,_0xf91070(_0x9e7281[_0x3611c4(0x300)]={},_0x9e7281['UniverProEnginePivot'],_0x9e7281[_0x3611c4(0x2ff)],_0x9e7281[_0x3611c4(0x275)],_0x9e7281['UniverSheets'],_0x9e7281[_0x3611c4(0x267)],_0x9e7281[_0x3611c4(0x185)],_0x9e7281[_0x3611c4(0x16c)],_0x9e7281[_0x3611c4(0x1db)],_0x9e7281[_0x3611c4(0x172)]));}(this,function(_0x159003,_0x3ed89a,_0x2814ce,_0x58eb5c,_0x5cc6ba,_0x139446,_0xde1950,_0x184d1f,_0x558e05,_0x10c6a9){'use strict';const _0x2d3cd7=_0x50dd;var _0x5c106c=Object[_0x2d3cd7(0xb6)],_0x3b17e3=(_0x341309,_0x282459,_0x36854a)=>_0x282459 in _0x341309?_0x5c106c(_0x341309,_0x282459,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36854a}):_0x341309[_0x282459]=_0x36854a,_0x4a4d7d=(_0x201dc4,_0xa49694,_0x38c33a)=>_0x3b17e3(_0x201dc4,typeof _0xa49694!=_0x2d3cd7(0x1d8)?_0xa49694+'':_0xa49694,_0x38c33a);const _0x542082=Number[_0x2d3cd7(0x22e)](0x67f7ba78),_0x4573e1=0x10,_0x3c672e=0x1,_0x3e4154=_0x2d3cd7(0x26a),_0x1312a9=0x1,_0x1e026f='rgb(240,241,243)',_0x50109f=_0x2d3cd7(0xe9),_0x57e884='#b2b2b2',_0x35ea8c='#f4f4f5',_0x1e7973=_0x2d3cd7(0xe5),_0x570016=_0x2d3cd7(0x2be),_0x2e0afc=_0x2d3cd7(0x29c),_0x48ad7c=_0x2d3cd7(0x25b),_0x285ef1=_0x2d3cd7(0x152),_0x2d1e69='#1d32e9',_0xd0d4c8=_0x2d3cd7(0x25b),_0x26989f=_0x2d3cd7(0x189),_0x1a5fe3=0xe,_0xdc74e6=0x6;var _0x45e53c=(_0x276fbb=>(_0x276fbb[_0x2d3cd7(0x24b)]=_0x2d3cd7(0x32a),_0x276fbb[_0x2d3cd7(0x90)]=_0x2d3cd7(0x386),_0x276fbb))(_0x45e53c||{});const _0x1ab070={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x289787=0x1e,_0x44309e={'b':{'s':0x1,'cl':{'rgb':_0x57e884}},'l':{'s':0x1,'cl':{'rgb':_0x57e884}},'r':{'s':0x1,'cl':{'rgb':_0x57e884}},'t':{'s':0x1,'cl':{'rgb':_0x57e884}}},_0x4cb2bd={'bg':{'rgb':_0x1e026f},'ht':0x2,'vt':0x2,'tb':0x1},_0x325ec1={'bg':{'rgb':_0x50109f},'ht':0x2,'vt':0x2,'tb':0x1},_0x473100={'rowStyle':{'bg':{'rgb':_0x26989f},'bd':_0x44309e,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x2d1e69},'bd':null,'cl':{'rgb':_0xd0d4c8},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x44309e,'bg':{'rgb':_0x285ef1},'vt':0x2},'cornerStyle':{'bd':_0x44309e,'bg':{'rgb':_0x570016},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x44309e,'bg':{'rgb':_0x35ea8c},'vt':0x2},'leafStyle':{'bd':_0x44309e,'bg':{'rgb':_0x1e7973},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x2e0afc},'cl':{'rgb':_0x48ad7c},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x44309e,'vt':0x2}};function _0x43e0b0(_0x5c6e91,_0xa941a6,_0x47fe28){const _0x2f0954=_0x2d3cd7,_0x2cdabd=_0x5c6e91[_0x2f0954(0x33f)](_0x2814ce[_0x2f0954(0x19f)]),_0x4f7f12=_0x47fe28[_0x2f0954(0x2b6)]('_');switch(_0xa941a6){case _0x3ed89a[_0x2f0954(0x33a)]['Year']:return _0x2cdabd['t'](_0x2f0954(0x254),..._0x4f7f12);case _0x3ed89a[_0x2f0954(0x33a)][_0x2f0954(0xef)]:return _0x2cdabd['t'](_0x2f0954(0x19e),..._0x4f7f12);case _0x3ed89a[_0x2f0954(0x33a)]['Hour']:return _0x2cdabd['t'](_0x2f0954(0x1d9),..._0x4f7f12);case _0x3ed89a[_0x2f0954(0x33a)][_0x2f0954(0x218)]:return _0x2cdabd['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x4f7f12);case _0x3ed89a[_0x2f0954(0x33a)]['Date']:return _0x2cdabd['t'](_0x2f0954(0x31d),..._0x4f7f12);case _0x3ed89a[_0x2f0954(0x33a)][_0x2f0954(0x100)]:return _0x2cdabd['t'](_0x2f0954(0x127),..._0x4f7f12);case _0x3ed89a[_0x2f0954(0x33a)][_0x2f0954(0x316)]:return _0x2cdabd['t'](_0x2f0954(0x297),..._0x4f7f12);case _0x3ed89a[_0x2f0954(0x33a)][_0x2f0954(0x1fe)]:return _0x2cdabd['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x4f7f12);case _0x3ed89a['PivotDateGroupFieldDateTypeEnum'][_0x2f0954(0x175)]:return _0x2cdabd['t'](_0x2f0954(0x8e),..._0x4f7f12);case _0x3ed89a['PivotDateGroupFieldDateTypeEnum']['YearQuarter']:return _0x2cdabd['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x4f7f12);}return'';}const _0x12fede=(_0x58f6d2,_0x5f45d5,_0x2098f2,_0x5688fe)=>{const _0x58500b=_0x2d3cd7;let _0x4f7f74;const _0x2600b1=_0x58f6d2[_0x58500b(0x33f)](_0x2814ce[_0x58500b(0x368)])[_0x58500b(0x112)](_0x2814ce[_0x58500b(0x234)]['UNIVER_SHEET']);if(!_0x2600b1)return null;const _0x5d5c36=_0x2600b1[_0x58500b(0x1d1)]();let _0x3d5157;if(_0x2098f2&&(_0x3d5157=_0x5d5c36[_0x58500b(0x381)](_0x2098f2)),_0x5f45d5!=null&&_0x5f45d5['v']||(_0x5f45d5==null?void 0x0:_0x5f45d5['v'])===0x0){_0x4f7f74||(_0x4f7f74={});const _0x142629=_0x202265(_0x5f45d5['v']);typeof _0x142629==_0x58500b(0x370)?_0x4f7f74['t']=_0x2814ce[_0x58500b(0x207)][_0x58500b(0xa5)]:typeof _0x142629=='string'&&(_0x4f7f74['t']=_0x2814ce['CellValueType'][_0x58500b(0x387)]),_0x4f7f74['v']=_0x142629;}if((_0x5f45d5!=null&&_0x5f45d5['i']||(_0x5f45d5==null?void 0x0:_0x5f45d5['i'])===0x0)&&(_0x4f7f74||(_0x4f7f74={}),_0x4f7f74['fi']=_0x5f45d5['i']),_0x5f45d5!=null&&_0x5f45d5['s']&&(_0x4f7f74||(_0x4f7f74={}),_0x4f7f74['pbt']=_0x5f45d5['s']),_0x2098f2&&(_0x4f7f74||(_0x4f7f74={}),_0x4f7f74['s']=_0x3d5157),_0x5688fe&&_0x4f7f74!=null&&_0x4f7f74['v']&&_0x4f7f74[_0x58500b(0xd3)]!==_0x3ed89a[_0x58500b(0x327)][_0x58500b(0x32d)]&&_0x4f7f74['pbt']!==_0x3ed89a[_0x58500b(0x327)][_0x58500b(0xbc)]){const _0x2a89cd=String(_0x4f7f74['v']),{dateType:_0x5cb930}=_0x5688fe;_0x4f7f74['v']=_0x43e0b0(_0x58f6d2,_0x5cb930,_0x2a89cd),_0x4f7f74['t']=_0x2814ce[_0x58500b(0x207)][_0x58500b(0x387)];}return _0x4f7f74;},_0x53bb8f=(_0x391fe2,_0x576804,_0x2c31b3,_0x569d03)=>{const _0x3912f7=_0x2d3cd7;var _0xcf2b0a,_0x26c81c,_0x483b87,_0x471244,_0x291c43,_0x5eb315,_0x106695,_0x587958,_0x3b8e4c,_0x677b59,_0x5d7430,_0x9905f5,_0x588bbd,_0x736f4c;const _0x178a15=_0x2c31b3[_0x3912f7(0x301)],{cornerView:_0x27c88c,rowView:_0x11e800,colView:_0x79a916,dataView:_0x39a1a9,pageView:_0x46c44a,formatMap:_0x2bc126,groupInfo:_0x39e607}=_0x576804,{row:_0x323cea,col:_0x5a68a7}=_0x178a15,_0x317c6f=new _0x2814ce[(_0x3912f7(0x15b))](),_0x192fb2={},_0x238320={},_0x415771={},_0x54f585={},_0x2c4026={};let _0xdbba94=_0x323cea,_0x1a489a=_0x5a68a7;Object[_0x3912f7(0x22a)](_0x46c44a[_0x3912f7(0x298)])['forEach'](_0x2dd78f=>{const _0x553579=_0x3912f7;Object[_0x553579(0x22a)](_0x46c44a['data'][Number(_0x2dd78f)])[_0x553579(0x34b)](_0x4496e4=>{const _0xce0919=_0x553579,_0xf7984b={..._0x46c44a[_0xce0919(0x298)][Number(_0x2dd78f)][Number(_0x4496e4)]};_0x317c6f[_0xce0919(0x381)](Number(_0x2dd78f)+_0xdbba94,Number(_0x4496e4)+_0x1a489a,_0x12fede(_0x391fe2,_0xf7984b,_0x473100[_0xce0919(0xb3)]));});});const _0x3eac12=Object[_0x3912f7(0x22a)](_0x46c44a[_0x3912f7(0x298)])[_0x3912f7(0x25f)];_0xdbba94+=_0x3eac12+(_0x3eac12?_0x1312a9:0x0);const _0x514a0d=_0x27c88c[_0x3912f7(0x1f0)](),_0x3e4e04=_0x27c88c[_0x3912f7(0x180)]();for(let _0x1868d5=0x0;_0x1868d5<_0x514a0d;_0x1868d5++)for(let _0x3d921a=0x0;_0x3d921a<_0x3e4e04;_0x3d921a++){const _0x4818a7={...(_0x26c81c=(_0xcf2b0a=_0x27c88c['data'])==null?void 0x0:_0xcf2b0a[_0x1868d5])==null?void 0x0:_0x26c81c[_0x3d921a]};_0x4818a7&&((_0x483b87=_0x11e800[_0x3912f7(0xd8)][_0x3d921a])!=null&&_0x483b87[_0x3912f7(0x24d)])&&_0x3d921a===_0x3e4e04-0x1&&_0x1868d5===_0x514a0d-0x1&&(_0x4818a7['v']=''+_0x569d03[_0x3912f7(0x276)]),_0x317c6f[_0x3912f7(0x381)](_0x1868d5+_0xdbba94,_0x3d921a+_0x1a489a,_0x12fede(_0x391fe2,_0x4818a7,_0x473100[_0x3912f7(0x131)]));}for(let _0x2a2d18=0x0;_0x2a2d18<_0x27c88c['info'][_0x3912f7(0x25f)];_0x2a2d18++)_0x27c88c[_0x3912f7(0x92)][_0x2a2d18]&&(_0x415771[''+(_0x2a2d18+_0x1a489a)]=_0x27c88c[_0x3912f7(0x92)][_0x2a2d18]);_0x1a489a+=_0x3e4e04;const _0x4fe4f0=_0x79a916[_0x3912f7(0xd8)],_0xf8989f=_0x79a916[_0x3912f7(0x121)]()>=0x0?_0x79a916['getLastRow']()+0x1:0x0,_0x4d9114=_0x79a916['getLastCol']()>=0x0?_0x79a916[_0x3912f7(0x1ae)]()+0x1:0x0;for(let _0x5a4140=0x0;_0x5a4140<_0x4d9114;_0x5a4140++){for(let _0x5d1de6=0x0;_0x5d1de6<_0xf8989f;_0x5d1de6++){const _0x586a6b={...(_0x291c43=(_0x471244=_0x79a916[_0x3912f7(0x298)])==null?void 0x0:_0x471244[_0x5d1de6])==null?void 0x0:_0x291c43[_0x5a4140]},_0x4ed258=(_0x5eb315=_0x4fe4f0[_0x5d1de6])==null?void 0x0:_0x5eb315[_0x3912f7(0xb2)],_0x3d19bf=_0x2bc126[_0x4ed258],_0x5d4275=_0x39e607[_0x4ed258];_0x586a6b&&(_0x586a6b['v']=_0x5764ab(_0x586a6b,_0x5d1de6===0x0&&((_0x106695=_0x79a916[_0x3912f7(0x272)](_0x5a4140+0x1))==null?void 0x0:_0x106695[_0x3912f7(0x24d)]),_0x3d19bf,_0x569d03));let _0x26c9d5;_0x3d19bf?_0x26c9d5={..._0x473100[_0x3912f7(0x11b)],'n':{'pattern':_0x3d19bf}}:_0x26c9d5={..._0x473100[_0x3912f7(0x11b)]},_0x317c6f['setValue'](_0x5d1de6+_0xdbba94,_0x5a4140+_0x1a489a,_0x12fede(_0x391fe2,_0x586a6b,_0x26c9d5,_0x5d4275));}_0x79a916[_0x3912f7(0x92)][_0x5a4140]&&(_0x238320[''+(_0x5a4140+_0x1a489a)]=_0x79a916['info'][_0x5a4140]),_0x79a916['headerMap'][_0x5a4140+0x1]&&(_0x2c4026[''+(_0x5a4140+_0xdbba94+0x1)]=_0x79a916[_0x3912f7(0xd8)][_0x5a4140+0x1]);}_0xdbba94+=_0x514a0d;const _0x4361ae=_0x11e800['headerMap'],_0x2e53bf=_0x11e800['getLastRow']()>=0x0?_0x11e800[_0x3912f7(0x121)]()+0x1:0x0,_0x1d1475=_0x11e800[_0x3912f7(0x1ae)]()>=0x0?_0x11e800[_0x3912f7(0x1ae)]()+0x1:0x0;for(let _0x328fc9=0x0;_0x328fc9<_0x2e53bf;_0x328fc9++){for(let _0x226fa7=0x0;_0x226fa7<_0x1d1475;_0x226fa7++){const _0x20225c={...(_0x3b8e4c=(_0x587958=_0x11e800[_0x3912f7(0x298)])==null?void 0x0:_0x587958[_0x328fc9])==null?void 0x0:_0x3b8e4c[_0x226fa7]},_0x17fb34=(_0x677b59=_0x4361ae[_0x226fa7])==null?void 0x0:_0x677b59['tableFieldId'],_0x3ebd97=_0x2bc126[_0x17fb34],_0x2241ec=_0x39e607[_0x17fb34];_0x20225c&&(_0x20225c['v']=_0x5764ab(_0x20225c,!0x1,_0x3ebd97,_0x569d03));let _0x399ba5;_0x11e800[_0x3912f7(0x92)][_0x328fc9][_0x3912f7(0x141)]===_0x11e800[_0x3912f7(0x180)]()?_0x399ba5=_0x473100['leafStyle']:_0x11e800[_0x3912f7(0x92)][_0x328fc9][_0x3912f7(0xcc)]?_0x399ba5=_0x11e800[_0x3912f7(0x92)][_0x328fc9][_0x3912f7(0x141)]===0x0?_0x473100['grandTotal']:_0x473100[_0x3912f7(0x2b1)]:_0x399ba5=_0x473100[_0x3912f7(0x138)],_0x3ebd97&&(_0x399ba5={..._0x399ba5,'n':{'pattern':_0x3ebd97}}),_0x317c6f['setValue'](_0x328fc9+_0xdbba94,_0x226fa7+_0x5a68a7,_0x12fede(_0x391fe2,_0x20225c,_0x399ba5,_0x2241ec));}_0x11e800[_0x3912f7(0x92)][_0x328fc9]&&(_0x192fb2[''+(_0x328fc9+_0xdbba94)]=_0x11e800[_0x3912f7(0x92)][_0x328fc9]),_0x11e800[_0x3912f7(0xd8)][_0x328fc9]&&(_0x54f585[''+(_0x328fc9+_0x5a68a7)]=_0x11e800['headerMap'][_0x328fc9]);}const _0x5f2504=_0x39a1a9[_0x3912f7(0x1f0)](),_0x57846c=_0x39a1a9['getColCount']();for(let _0x14aff3=0x0;_0x14aff3<_0x5f2504;_0x14aff3++)for(let _0x108c60=0x0;_0x108c60<_0x57846c;_0x108c60++){const _0x55b3b1={...(_0x9905f5=(_0x5d7430=_0x39a1a9['data'])==null?void 0x0:_0x5d7430[_0x14aff3])==null?void 0x0:_0x9905f5[_0x108c60]};let _0x1c15d5;_0x11e800['info'][_0x14aff3][_0x3912f7(0xcc)]?_0x1c15d5=_0x11e800[_0x3912f7(0x92)][_0x14aff3][_0x3912f7(0x141)]===0x0?_0x473100[_0x3912f7(0x243)]:_0x473100[_0x3912f7(0x2b1)]:_0x1c15d5=_0x473100['dataStyle'];const _0x1b0018=_0x11e800[_0x3912f7(0x92)][_0x14aff3][_0x3912f7(0x13a)],_0x381732=_0x79a916['info'][_0x108c60][_0x3912f7(0x13a)],_0x45103e=Math[_0x3912f7(0x2bf)](_0x1b0018,_0x381732),_0x3863b6=_0x2c31b3[_0x3912f7(0xf4)][_0x3912f7(0x329)][_0x3912f7(0x2f4)]();let _0x2c4c80='';_0x45103e<0x0?_0x2c4c80=(_0x588bbd=_0x3863b6[0x0])!=null?_0x588bbd:'':_0x2c4c80=(_0x736f4c=_0x3863b6[_0x45103e])!=null?_0x736f4c:'';const _0x393f6f=_0x2bc126[_0x2c4c80];_0x393f6f&&(_0x1c15d5={..._0x1c15d5,'n':{'pattern':_0x393f6f}}),_0x317c6f[_0x3912f7(0x381)](_0x14aff3+_0xdbba94,_0x108c60+_0x1a489a,_0x12fede(_0x391fe2,_0x55b3b1,_0x1c15d5));}return{'valueMatrix':_0x317c6f,'rowInfo':_0x192fb2,'colInfo':_0x238320,'cornerInfo':_0x415771,'rowHeaderMap':_0x54f585,'colHeaderMap':_0x2c4026};};function _0x5764ab(_0x2f5469,_0x271d01,_0x5eaff2,_0x3588aa){const _0x753a57=_0x2d3cd7;let _0x3a624e=_0x2f5469['v'];_0x271d01&&(_0x3a624e=''+_0x3588aa['sheets-pivot.value']);const _0x18c083=_0x2f5469['t']&&(_0x2f5469['t']&_0x3ed89a[_0x753a57(0xc2)][_0x753a57(0x349)])>0x0;if(_0x18c083&&(_0x3a624e=''+_0x3588aa[_0x753a57(0x331)]),_0x2f5469['s']===_0x3ed89a[_0x753a57(0x327)]['Subtotal']){let _0xd3eca8=_0x3a624e,_0x6a7f4e='';_0x3ed89a[_0x753a57(0x32e)](_0x3a624e)&&(_0xd3eca8=_0x3a624e['prefix'],_0x6a7f4e=_0x3a624e[_0x753a57(0x27b)]);const _0x363fac=_0x5eaff2&&!_0x18c083?_0x2814ce[_0x753a57(0x18b)][_0x753a57(0x37c)](_0x5eaff2,Number(_0xd3eca8)):_0xd3eca8;_0x6a7f4e?_0x3a624e=_0x363fac+'\x20'+_0x6a7f4e:_0x3a624e=_0x363fac+'\x20'+_0x3588aa[_0x753a57(0x23f)];}else _0x2f5469['s']===_0x3ed89a['PivotCellStyleTypeEnum'][_0x753a57(0x32d)]&&(_0x3a624e=_0x3a624e+'\x20'+_0x3588aa[_0x753a57(0x33b)]);return _0x3a624e;}function _0x202265(_0x1a2e26){const _0x83c6b5=_0x2d3cd7;if(_0x3ed89a[_0x83c6b5(0x23c)](_0x1a2e26)){const {errorType:_0x294c65}=_0x1a2e26;switch(_0x294c65){case _0x3ed89a[_0x83c6b5(0x1cd)][_0x83c6b5(0x1f2)]:return _0x58eb5c['ErrorType'][_0x83c6b5(0x279)];case _0x3ed89a[_0x83c6b5(0x1cd)]['NotNumber']:return _0x58eb5c['ErrorType']['NUM'];case _0x3ed89a[_0x83c6b5(0x1cd)][_0x83c6b5(0x2d4)]:return _0x58eb5c['ErrorType']['NAME'];case _0x3ed89a[_0x83c6b5(0x1cd)][_0x83c6b5(0x1ff)]:return _0x58eb5c[_0x83c6b5(0x36f)][_0x83c6b5(0x305)];case _0x3ed89a[_0x83c6b5(0x1cd)]['BadReference']:return _0x58eb5c['ErrorType'][_0x83c6b5(0xed)];}}return _0x1a2e26;}function _0x341800(_0x2cf114,_0x23dce8,_0x51f6a8=!0x1,_0x13c293=!0x1){const _0x50eaee=_0x2d3cd7,{data:_0x39b282}=_0x23dce8,_0x159a63=_0x23dce8['getRowCount'](),_0x44936a=_0x23dce8[_0x50eaee(0x180)]();if(_0x159a63<=0x0||_0x44936a<=0x0)return[];const _0x3e0ebc=_0x23dce8[_0x50eaee(0x1ae)](),_0x11c61d=_0x23dce8[_0x50eaee(0x121)](),_0x500b7a=_0x13c293?_0x11c61d>=0x0?_0x11c61d+0x1:0x0:_0x159a63,_0x13d278=_0x13c293?_0x3e0ebc>=0x0?_0x3e0ebc+0x1:0x0:_0x44936a,{row:_0x3fd1ca,col:_0x34cffd}=_0x2cf114,_0x2ef250=_0x3fd1ca,_0x45beb9=_0x34cffd;if(_0x51f6a8){const _0x1e144d=[];for(const [_0x2204f6,_0x371b3b]of Object[_0x50eaee(0x303)](_0x39b282))for(const [_0x19e5be,_0x8e30f4]of Object[_0x50eaee(0x303)](_0x371b3b))_0x1e144d[_0x50eaee(0xf8)](_0x2814ce[_0x50eaee(0x30d)](_0x2ef250+Number(_0x2204f6),_0x45beb9+Number(_0x19e5be)));return _0x1e144d;}else{const _0xb97862=_0x13c293?_0x500b7a>0x0?0x1:0x0:0x1,_0x3d0ae3=_0x13c293?_0x13d278>0x0?0x1:0x0:0x1,_0x51e43e=_0x3fd1ca+_0x500b7a-_0xb97862,_0xc84231=_0x34cffd+_0x13d278-_0x3d0ae3;return[{'startRow':_0x2ef250,'startColumn':_0x45beb9,'endRow':_0x51e43e,'endColumn':_0xc84231}];}}const _0x3fcf75=_0x2d3cd7(0x342),_0x18e776=_0x2d3cd7(0x2a1);var _0x6c21f4=(_0x4a3cef=>(_0x4a3cef[_0x2d3cd7(0x118)]=_0x2d3cd7(0x17e),_0x4a3cef[_0x2d3cd7(0x21a)]=_0x2d3cd7(0x120),_0x4a3cef[_0x2d3cd7(0x14a)]='addPivotField',_0x4a3cef[_0x2d3cd7(0x163)]=_0x2d3cd7(0x163),_0x4a3cef[_0x2d3cd7(0x7b)]=_0x2d3cd7(0x7d),_0x4a3cef[_0x2d3cd7(0x265)]=_0x2d3cd7(0x2cb),_0x4a3cef[_0x2d3cd7(0x1f1)]=_0x2d3cd7(0xc9),_0x4a3cef[_0x2d3cd7(0x29d)]=_0x2d3cd7(0x2ca),_0x4a3cef[_0x2d3cd7(0x344)]=_0x2d3cd7(0x208),_0x4a3cef['SetPivotSort']=_0x2d3cd7(0x25d),_0x4a3cef[_0x2d3cd7(0x12c)]=_0x2d3cd7(0x129),_0x4a3cef[_0x2d3cd7(0xff)]=_0x2d3cd7(0xe8),_0x4a3cef[_0x2d3cd7(0x19a)]=_0x2d3cd7(0xfc),_0x4a3cef[_0x2d3cd7(0x371)]=_0x2d3cd7(0x337),_0x4a3cef[_0x2d3cd7(0x18d)]='setValuePivotFilter',_0x4a3cef[_0x2d3cd7(0x123)]=_0x2d3cd7(0x17a),_0x4a3cef[_0x2d3cd7(0x204)]=_0x2d3cd7(0x225),_0x4a3cef))(_0x6c21f4||{});const _0x4fe1c6={'sheets-pivot.blankValue':_0x2d3cd7(0xac),'sheets-pivot.columnName':_0x2d3cd7(0xa6),'sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':_0x2d3cd7(0x11d),'sheets-pivot.valueText':_0x2d3cd7(0x30f),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':_0x2d3cd7(0x319),'sheets-pivot.maxName':_0x2d3cd7(0x1b5),'sheets-pivot.minName':_0x2d3cd7(0x343),'sheets-pivot.productName':_0x2d3cd7(0x290),'sheets-pivot.stdDevName':_0x2d3cd7(0x17d),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x2d3cd7(0x31a),'sheets-pivot.varName':_0x2d3cd7(0x2ab),'sheets-pivot.varpName':_0x2d3cd7(0x1d4),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':_0x2d3cd7(0x27b),'sheets-pivot.blank':_0x2d3cd7(0x349),'sheets-pivot.emptyPivot.filter':_0x2d3cd7(0x118),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x2d3cd7(0x1b3),'sheets-pivot.emptyPivot.values':_0x2d3cd7(0x285)},_0x2e95a7={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x17b1a6=_0x2814ce[_0x2d3cd7(0x1e6)](_0x2d3cd7(0x2ef)),_0x4a5516=_0x2814ce[_0x2d3cd7(0x1be)](_0x2d3cd7(0x20c));var _0x488eeb=(_0x4b8e72=>(_0x4b8e72[_0x2d3cd7(0x9d)]=_0x2d3cd7(0x9d),_0x4b8e72[_0x2d3cd7(0xa1)]=_0x2d3cd7(0xa1),_0x4b8e72[_0x2d3cd7(0x376)]=_0x2d3cd7(0x376),_0x4b8e72))(_0x488eeb||{}),_0x2229c0=(_0x4c8661=>(_0x4c8661['Add']=_0x2d3cd7(0x9d),_0x4c8661[_0x2d3cd7(0xae)]='set',_0x4c8661[_0x2d3cd7(0x15c)]=_0x2d3cd7(0xa1),_0x4c8661))(_0x2229c0||{});const _0x1c86e9={0x0:'X',0x1:'q',0x2:'W',0x3:'t',0x4:'m',0x5:'Q',0x6:'B',0x7:'a',0x8:'U',0x9:'c','y':'0','X':'1','Q':'2','C':'3','K':'4','z':'5','q':'6','U':'7','k':'8','d':'9','N':'b','P':'d','u':'e','p':'f','H':'g','I':'h','a':'i','O':'j','R':'k','Y':'l','o':'n','s':'o','g':'p','h':'r','M':'s','x':'u','Z':'v','j':'w','b':'x','f':'y','v':'z','n':'A','l':'C','J':'D','W':'E','T':'F','t':'G','c':'H','L':'I','w':'J','B':'K','A':'L','G':'M','F':'N','m':'O','D':'P','S':'R','r':'S','V':'T','i':'V','e':'Y','E':'Z'},_0x5a898f=_0x2d3cd7(0x23e),_0x3b71d1={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0x2b0),'handler':()=>!0x0},_0x5e28f5={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x4b3f05={'type':_0x2814ce[_0x2d3cd7(0x196)]['MUTATION'],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x137307={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x411e65={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0},_0x3d8b31=_0x4a9a86=>{const _0x1cdb73=_0x2d3cd7;var _0x418bfc;return((_0x418bfc=_0x4a9a86[_0x1cdb73(0x38d)])==null?void 0x0:_0x418bfc[_0x1cdb73(0x2d6)][_0x1cdb73(0x1a2)](/\r\n$/,''))||'';};class _0x26395d extends _0x3ed89a[_0x2d3cd7(0x78)]{constructor(_0x4c2083,_0x511b21){const _0x11db0d=_0x2d3cd7;super(),_0x4a4d7d(this,_0x11db0d(0x93),{}),_0x4a4d7d(this,_0x11db0d(0x37f)),_0x4a4d7d(this,'_host'),(this[_0x11db0d(0x37f)]=_0x511b21,this[_0x11db0d(0x2c6)]=_0x4c2083);}[_0x2d3cd7(0x203)](){const _0x4d6139=_0x2d3cd7;for(const _0x3bcbbf in this['dataFields']){const _0x2e37d3=this[_0x4d6139(0x339)][_0x3bcbbf],_0x6017d3=_0x2e37d3['getRangeKey']();this[_0x4d6139(0x93)][_0x6017d3]=_0x2e37d3[_0x4d6139(0x1c2)]();}}['getAutoDisplayNameFunction'](){const _0x4de52d=_0x2d3cd7,_0x375748=this[_0x4de52d(0x2c6)];return _0x48dae4[_0x4de52d(0x116)](_0x375748);}[_0x2d3cd7(0x29f)](_0x529dee){const _0x4b0dfc=_0x2d3cd7,_0xe35984=this[_0x4b0dfc(0x339)][_0x529dee][_0x4b0dfc(0xbf)];delete this[_0x4b0dfc(0x339)][_0x529dee],delete this[_0x4b0dfc(0x93)][_0xe35984];}['addDataFieldWithoutUnitInfo'](_0x275b59){const _0x53499f=_0x2d3cd7;this[_0x53499f(0x339)][_0x275b59[_0x53499f(0x1c2)]()]=_0x275b59;}[_0x2d3cd7(0x22c)](_0x5dfb3d){const _0x25496d=_0x2d3cd7;var _0x516cd5,_0x31e466;const _0x3ddd0c=this[_0x25496d(0x2c6)][_0x25496d(0x103)](_0x5dfb3d);if(_0x3ddd0c){const {unitId:_0x24a119,subUnitId:_0x446568}=_0x3ddd0c,_0xfec032=(_0x516cd5=this['_host']['getPivotTableConfig'](_0x24a119,_0x446568,_0x5dfb3d))==null?void 0x0:_0x516cd5[_0x25496d(0x281)];this[_0x25496d(0x2c6)][_0x25496d(0x166)]({'token':_0x5dfb3d,'type':_0x488eeb[_0x25496d(0xa1)],'dataRangeInfo':_0xfec032});}(_0x31e466=this[_0x25496d(0x2bb)](_0x5dfb3d))==null||_0x31e466[_0x25496d(0x264)](),delete this[_0x25496d(0x2f9)][_0x5dfb3d];}['getRangeKey'](_0x4670f1,_0x1e8d42){const _0x373eab=_0x2d3cd7,{sheetName:_0x5df7f9,unitId:_0x47e719,range:_0x4034b3}=_0x4670f1,{startRow:_0x2b22bc,endRow:_0x545545}=_0x4034b3;return _0x58eb5c[_0x373eab(0x328)](_0x47e719,_0x5df7f9,{'startRow':_0x2b22bc,'endRow':_0x545545,'startColumn':_0x1e8d42,'endColumn':_0x1e8d42});}[_0x2d3cd7(0x2a0)](_0x57e8cf){const _0x5ebfeb=_0x2d3cd7;return this[_0x5ebfeb(0x339)][this['rangeKeyMap'][_0x57e8cf]];}[_0x2d3cd7(0x21b)](_0xb246f6,_0x19ca1e){const _0x53d1e=_0x2d3cd7;this[_0x53d1e(0x93)][_0xb246f6]=_0x19ca1e;}[_0x2d3cd7(0x149)](_0x3de284,_0x305b96){this['rangeKeyMap'][_0x305b96]=this['rangeKeyMap'][_0x3de284],delete this['rangeKeyMap'][_0x3de284];}[_0x2d3cd7(0x2e5)](_0x51a3b7,_0x32836d,_0x4c33f5,_0x3c73ba){const _0x44ba57=_0x2d3cd7,_0x584491=new _0x3ed89a['FieldsCollection'](this);_0x584491[_0x44ba57(0x183)](_0x32836d);const _0x391f9d=[];let _0x43a11c=0x0;for(const _0x209287 of _0x584491[_0x44ba57(0x35b)]){const _0xa50bf8=this[_0x44ba57(0x306)](_0x4c33f5,_0x43a11c),_0x589121=this[_0x44ba57(0x339)][_0x209287];_0x589121&&(_0x589121[_0x44ba57(0xbf)]=_0xa50bf8,this[_0x44ba57(0x21b)](_0xa50bf8,_0x209287),_0x391f9d[_0x44ba57(0xf8)]({'index':_0x43a11c,'dataField':_0x589121})),_0x43a11c++;}return this[_0x44ba57(0x365)](_0x51a3b7,_0x584491,_0x4c33f5,_0x3c73ba),{'collection':_0x584491,'updateDataFieldList':_0x391f9d};}[_0x2d3cd7(0x283)](_0x2373d2,_0x23c427){const _0x47fe83=_0x2d3cd7;return _0x2373d2[_0x47fe83(0xe7)]===_0x2814ce['RANGE_TYPE'][_0x47fe83(0x33d)]?{'startRow':0x0,'startColumn':_0x2373d2[_0x47fe83(0x367)],'endRow':_0x23c427['getRowCount']()-0x1,'endColumn':_0x2373d2['endColumn']}:{'startRow':_0x2373d2['startRow'],'startColumn':_0x2373d2[_0x47fe83(0x367)],'endRow':_0x2373d2[_0x47fe83(0x10b)],'endColumn':_0x2373d2[_0x47fe83(0x375)]};}[_0x2d3cd7(0x1ef)](_0x3313b7){const _0x1a93ea=_0x2d3cd7,{sheetName:_0x318824,range:_0x3e38f7}=_0x3313b7,_0x30751e=this[_0x1a93ea(0x37f)][_0x1a93ea(0x112)](_0x2814ce[_0x1a93ea(0x234)][_0x1a93ea(0x30e)]),_0x1f1a66=_0x30751e[_0x1a93ea(0x35a)](_0x318824),_0x1885b4=_0x1f1a66[_0x1a93ea(0x31f)](),{startColumn:_0x48b073,startRow:_0x5dd603,endColumn:_0x3d45ce}=this[_0x1a93ea(0x283)](_0x3e38f7,_0x1f1a66),_0x29a919=_0x30751e[_0x1a93ea(0x1d1)](),_0x12caf0=new _0x3ed89a[(_0x1a93ea(0x2bd))](this);_0x12caf0[_0x1a93ea(0x8a)](_0x3313b7);const _0x368cb2=[],_0x57cc2b={};for(let _0x5c934b=_0x48b073;_0x5c934b<=_0x3d45ce;_0x5c934b++){const _0x55f5c1=_0x1885b4['getValue'](_0x5dd603,_0x5c934b),_0x402d91=this[_0x1a93ea(0x306)](_0x3313b7,_0x5c934b),_0x4d3c43=this[_0x1a93ea(0x2a0)](_0x402d91);if(_0x4d3c43)_0x12caf0[_0x1a93ea(0x2fe)](_0x4d3c43[_0x1a93ea(0x1c2)](),_0x4d3c43['getName']());else{const _0x27cefc=this[_0x1a93ea(0x38b)]();let _0x383c94=this[_0x1a93ea(0x97)](_0x55f5c1,_0x29a919,_0x57cc2b);_0x3ed89a[_0x1a93ea(0xeb)](_0x383c94)&&(_0x383c94=_0x2814ce['numfmt'][_0x1a93ea(0x37c)](_0x383c94['f'],Number(_0x383c94['v'])));const _0x2b29c0=this['uniqueDataFieldName'](_0x383c94,_0x5c934b),_0x139623=new _0x3ed89a[(_0x1a93ea(0x2d2))](_0x27cefc,_0x2b29c0,_0x3ed89a[_0x1a93ea(0x369)](0x3));_0x139623['rangeKey']=_0x402d91,this[_0x1a93ea(0x339)][_0x27cefc]=_0x139623,_0x12caf0['addField'](_0x27cefc,_0x2b29c0),_0x368cb2['push']({'index':_0x5c934b,'dataField':_0x139623});}}return{'updateDataFieldList':_0x368cb2,'collection':_0x12caf0};}[_0x2d3cd7(0x13b)](_0x1bf909){const _0x5e1e7c=_0x2d3cd7;return this['_host'][_0x5e1e7c(0x186)]()['sheets-pivot.columnName']+'\x20'+_0x2814ce['numberToABC'](_0x1bf909);}[_0x2d3cd7(0x20f)](_0x45c3f6,_0x4bce34){const _0xce35d8=_0x2d3cd7;return _0x45c3f6==null||_0x45c3f6===''?this[_0xce35d8(0x13b)](_0x4bce34):String(_0x45c3f6);}[_0x2d3cd7(0x2bb)](_0xca7a9a){const _0x618a0c=_0x2d3cd7;return this[_0x618a0c(0x2f9)][_0xca7a9a];}[_0x2d3cd7(0x365)](_0x51c3e7,_0x2f0acf,_0x3f30e6,_0x5731b2){const _0xf3bd5a=_0x2d3cd7;this[_0xf3bd5a(0x2f9)][_0x51c3e7]=_0x2f0acf,_0x2f0acf[_0xf3bd5a(0x8a)](_0x3f30e6),this[_0xf3bd5a(0x2c6)]['broadcastCollectionChange']({'token':_0x51c3e7,'type':_0x488eeb[_0xf3bd5a(0x9d)],'dataRangeInfo':_0x3f30e6,'targetCellInfo':_0x5731b2});}[_0x2d3cd7(0x182)](_0x102e3f,_0x3be165){const _0x26b9ff=_0x2d3cd7,_0x42f9bc=this[_0x26b9ff(0x2bb)](_0x102e3f),_0x38e9f6=_0x42f9bc['getFieldIds']();let _0x4a5f72=0x0;for(const _0x46bd95 of _0x38e9f6){const _0x897670=_0x42f9bc[_0x26b9ff(0x20b)](_0x46bd95),_0x152a81=this[_0x26b9ff(0x306)](_0x3be165,_0x4a5f72);this['updateRangeKeyMap'](_0x897670[_0x26b9ff(0xbf)],_0x152a81),_0x4a5f72++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x2d3cd7(0x241)](_0x14c93f,_0x196d63){const _0x37eea8=_0x2d3cd7;if(this[_0x37eea8(0x2bb)](_0x14c93f)){const _0x2a53f6=this[_0x37eea8(0x212)](_0x196d63),_0x2a9b21=[];for(const _0x5b2b16 of _0x2a53f6)this[_0x37eea8(0x93)][_0x5b2b16]!==void 0x0&&_0x2a9b21[_0x37eea8(0xf8)](this[_0x37eea8(0x93)][_0x5b2b16]);const _0x4880d4=this['getNoUsedDataFieldIds'](_0x14c93f),_0x280e1f=[],_0x2073a2=new Set(_0x2a9b21);for(const _0x542e79 of _0x4880d4)_0x2073a2[_0x37eea8(0x128)](_0x542e79)||_0x280e1f[_0x37eea8(0xf8)](_0x542e79);return _0x280e1f;}}[_0x2d3cd7(0x137)](_0x5ea967,_0x26bba1,_0x376e8e,_0x26de25,_0xbb348a){const _0x363b9f=_0x2d3cd7;return _0x26bba1&&_0x26bba1[_0x363b9f(0x16a)](_0x26de25,_0xbb348a)?_0x26bba1[_0x363b9f(0x16a)](_0x26de25,_0xbb348a):_0x376e8e&&_0x376e8e[_0x363b9f(0x16a)](_0x26de25,_0xbb348a)?_0x376e8e[_0x363b9f(0x16a)](_0x26de25,_0xbb348a):_0x5ea967['getValue'](_0x26de25,_0xbb348a);}['refreshDataField'](_0x394555,_0x102856,_0xea31b2,_0x23f6c0){const _0x522eb2=_0x2d3cd7,_0x4c3e44=this[_0x522eb2(0x339)][_0x394555];if(!_0x4c3e44)return;const {subUnitId:_0x3bf1c4,range:_0x503182,unitId:_0x149866}=_0x102856,_0x490b81=this[_0x522eb2(0x37f)][_0x522eb2(0x94)](_0x149866);if(!_0x490b81){console[_0x522eb2(0x1cf)](_0x522eb2(0x261));return;}const _0xaaa49d=_0x490b81[_0x522eb2(0x98)](_0x3bf1c4),_0xf9aa68=_0xaaa49d[_0x522eb2(0x31f)](),{arrayFormulaCellDataMatrix:_0x35c943,unitDataMatrix:_0x136249}=_0x23f6c0||{},{startRow:_0x545f49,startColumn:_0x444038,endRow:_0x5aa16b}=this['getRangeStartEndInfo'](_0x503182,_0xaaa49d);_0x4c3e44['reset']();const _0x516b31=_0x490b81[_0x522eb2(0x1d1)](),_0x455f57={},_0x222a3f=this['getMatrixValue'](_0xf9aa68,_0x35c943,_0x136249,_0x545f49,_0x444038+_0xea31b2);let _0x37cb70=this['adjustSheetCellData'](_0x222a3f,_0x516b31,_0x455f57);_0x3ed89a[_0x522eb2(0xeb)](_0x37cb70)&&(_0x37cb70=_0x2814ce['numfmt'][_0x522eb2(0x37c)](_0x37cb70['f'],Number(_0x37cb70['v'])));const _0x6cb354=this[_0x522eb2(0x20f)](_0x37cb70,_0x444038+_0xea31b2);_0x4c3e44[_0x522eb2(0x157)](_0x6cb354);for(let _0x50f335=_0x545f49+0x1;_0x50f335<=_0x5aa16b;_0x50f335++){const _0x2eb5cf=this[_0x522eb2(0x137)](_0xf9aa68,_0x35c943,_0x136249,_0x50f335,_0x444038+_0xea31b2);_0x4c3e44[_0x522eb2(0x197)](this[_0x522eb2(0x97)](_0x2eb5cf,_0x516b31,_0x455f57),_0x50f335-0x1-_0x545f49);}}[_0x2d3cd7(0x19d)](_0x201417,_0x22d769,_0x3cb6a5){const _0x5a690c=_0x2d3cd7,{subUnitId:_0x3eedde,range:_0x9a290a,unitId:_0x51674d}=_0x3cb6a5,_0x1f4465=this[_0x5a690c(0x37f)]['getUnit'](_0x51674d);if(!_0x1f4465){console[_0x5a690c(0x1cf)](_0x5a690c(0x261));return;}const _0x3f0fb1=_0x1f4465[_0x5a690c(0x98)](_0x3eedde),_0xe28647=_0x3f0fb1['getCellMatrix'](),{startRow:_0x505926,startColumn:_0x53a2c0,endRow:_0x31291a}=this[_0x5a690c(0x283)](_0x9a290a,_0x3f0fb1),_0x3205bb=_0x1f4465[_0x5a690c(0x1d1)](),_0x9cd0de={};for(const {dataField:_0x18aebb,index:_0x1f8507}of _0x22d769){_0x18aebb['reset']();const _0x139f62=this[_0x5a690c(0x137)](_0xe28647,void 0x0,void 0x0,_0x505926,_0x53a2c0+_0x1f8507);let _0x4bbe96=this[_0x5a690c(0x97)](_0x139f62,_0x3205bb,_0x9cd0de);_0x3ed89a[_0x5a690c(0xeb)](_0x4bbe96)&&(_0x4bbe96=_0x2814ce['numfmt'][_0x5a690c(0x37c)](_0x4bbe96['f'],Number(_0x4bbe96['v'])));const _0x53f561=this[_0x5a690c(0x20f)](_0x4bbe96,_0x53a2c0+_0x1f8507);_0x18aebb['setName'](_0x53f561);}_0x201417[_0x5a690c(0x2ba)]();for(let _0x40840e=_0x505926+0x1;_0x40840e<=_0x31291a;_0x40840e++)for(const {index:_0x115dac,dataField:_0x27db65}of _0x22d769){const _0x4f2f4b=_0xe28647[_0x5a690c(0x16a)](_0x40840e,_0x53a2c0+_0x115dac);_0x27db65['addRecord'](this['adjustSheetCellData'](_0x4f2f4b,_0x3205bb,_0x9cd0de),_0x40840e-0x1-_0x505926);}_0x201417[_0x5a690c(0x380)](_0x31291a-_0x505926);}[_0x2d3cd7(0x212)](_0x413388){const _0x3d6970=_0x2d3cd7,{range:_0x44bd76}=_0x413388,{startColumn:_0x512d52,endColumn:_0xaf084e}=_0x44bd76,_0x4d14ce=[];for(let _0x29eb43=_0x512d52;_0x29eb43<=_0xaf084e;_0x29eb43++)_0x4d14ce[_0x3d6970(0xf8)](this['getRangeKey'](_0x413388,_0x29eb43));return _0x4d14ce;}[_0x2d3cd7(0x97)](_0x35da0c,_0xe1327f,_0x129ec4){const _0x183d95=_0x2d3cd7;if(_0x35da0c){const {s:_0x3036c4,v:_0x386de4,t:_0x329b1c,p:_0x22e399}=_0x35da0c;if(_0x22e399)return _0x3d8b31(_0x22e399);const _0x1943b0=_0xe1327f['get'](_0x3036c4);if(_0x1943b0&&_0x329b1c===_0x2814ce[_0x183d95(0x207)]['NUMBER']&&_0x1943b0['n']){const {pattern:_0x13a18e}=_0x1943b0['n'];_0x129ec4[_0x13a18e]||(_0x129ec4[_0x13a18e]=_0x2814ce[_0x183d95(0x18b)][_0x183d95(0xb5)](_0x13a18e));const _0x170725=_0x129ec4[_0x13a18e],_0x1aed36=_0x170725['isDate'];if(_0x170725['isText'])return String(_0x386de4);if(_0x1aed36)return{'v':_0x386de4,'f':_0x13a18e};}if(_0x329b1c===_0x2814ce[_0x183d95(0x207)][_0x183d95(0xa5)])return Number(_0x386de4);if(_0x329b1c===_0x2814ce[_0x183d95(0x207)][_0x183d95(0x387)]||_0x329b1c===_0x2814ce['CellValueType'][_0x183d95(0x115)])return String(_0x386de4);if(_0x329b1c===void 0x0){const _0x1661e6=Number(_0x386de4);if(!Number[_0x183d95(0x252)](_0x1661e6)&&String(_0x1661e6)===_0x386de4)return _0x1661e6;}return _0x386de4!=null?_0x386de4:null;}else return null;}['getRangeData'](_0x39de1c){const _0x1723be=_0x2d3cd7,{sheetName:_0x47ec30,range:_0xdb9c57,unitId:_0x3813a2}=_0x39de1c,_0x5437d0=this[_0x1723be(0x37f)][_0x1723be(0x94)](_0x3813a2);if(!_0x5437d0)return console[_0x1723be(0x1cf)]('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x596c47=_0x5437d0[_0x1723be(0x35a)](_0x47ec30),_0x37afa1=_0x596c47[_0x1723be(0x31f)](),{startRow:_0x300434,startColumn:_0x45f220,endRow:_0x34b4a5,endColumn:_0x15b603}=this[_0x1723be(0x283)](_0xdb9c57,_0x596c47),_0x4605df=_0x5437d0[_0x1723be(0x1d1)](),_0x56d9cf=[],_0x1db3a3=[],_0x24775b={};for(let _0x5107eb=_0x300434;_0x5107eb<=_0x34b4a5;_0x5107eb++){const _0x498239=[];for(let _0x3fb9ce=_0x45f220;_0x3fb9ce<=_0x15b603;_0x3fb9ce++){const _0x2f6063=_0x37afa1['getValue'](_0x5107eb,_0x3fb9ce);_0x5107eb===_0x300434?_0x56d9cf[_0x1723be(0xf8)](_0x2f6063==null?null:String(_0x2f6063['v'])):_0x498239[_0x1723be(0xf8)](this[_0x1723be(0x97)](_0x2f6063,_0x4605df,_0x24775b));}_0x1db3a3[_0x1723be(0xf8)](_0x498239);}return{'header':_0x56d9cf,'data':_0x1db3a3};}[_0x2d3cd7(0x32c)](){const _0x3a618b=_0x2d3cd7;return super[_0x3a618b(0x32c)]();}[_0x2d3cd7(0x183)](_0x2ee3e5){const _0x5a6479=_0x2d3cd7;super[_0x5a6479(0x183)](_0x2ee3e5),this[_0x5a6479(0x203)]();}[_0x2d3cd7(0x264)](){const _0x48ad86=_0x2d3cd7;super[_0x48ad86(0x264)](),this['rangeKeyMap']={},this[_0x48ad86(0x2c6)]=null;}}const _0x1b53c9=_0x34b182=>{const _0x102977=_0x2d3cd7,{targetCellInfo:_0x3c5b81}=_0x34b182,{matrixCache:_0x37d7d4,rangesCache:_0x122b63}=_0x104896({'filter':_0x102977(0x118),'row':'Row','column':_0x102977(0x1b3),'values':_0x102977(0x285)},_0x3c5b81),_0x2592a1=new _0x2814ce[(_0x102977(0x15b))]();return _0x37d7d4[_0x102977(0x2d5)]((_0x534d5e,_0x4e6124,_0x5e66a4)=>{const _0x21ed7d=_0x102977;_0x2592a1[_0x21ed7d(0x381)](_0x534d5e,_0x4e6124,_0x5e66a4);}),{'matrix':_0x2592a1,'rangesCache':_0x122b63};},_0x331072=_0x2c0ebd=>{const _0x2956f5=_0x2d3cd7;let _0x47680e;if(_0x2c0ebd!=null&&_0x2c0ebd['v']||(_0x2c0ebd==null?void 0x0:_0x2c0ebd['v'])===0x0){_0x47680e||(_0x47680e={});const _0x460bda=_0x202265(_0x2c0ebd['v']);typeof _0x460bda==_0x2956f5(0x370)?_0x47680e['t']=_0x2814ce[_0x2956f5(0x207)][_0x2956f5(0xa5)]:typeof _0x460bda==_0x2956f5(0x2ac)&&(_0x47680e['t']=_0x2814ce[_0x2956f5(0x207)][_0x2956f5(0x387)]),_0x47680e['v']=_0x460bda;}return _0x47680e;},_0x555fd9=(_0xc497b,_0x54d3a9,_0x566b56)=>{const _0x5d1a40=_0x2d3cd7;var _0x44dfeb,_0x2d39e7,_0x1579b7,_0x52f187,_0x5efec4,_0x4efba4,_0x3464e1,_0x4a5dd0,_0x596570,_0x2140c5,_0x58d934,_0x49e8c0;const {cornerView:_0x276ab8,rowView:_0x3a19a9,colView:_0x8fcec8,dataView:_0xb441b7,pageView:_0x126c2d,formatMap:_0x4f82ee}=_0xc497b,{row:_0x2b5c22,col:_0x5e8e74}=_0x54d3a9,_0x376870=new _0x2814ce[(_0x5d1a40(0x15b))]();let _0x148bcb=_0x2b5c22,_0x46b914=_0x5e8e74;Object[_0x5d1a40(0x22a)](_0x126c2d[_0x5d1a40(0x298)])[_0x5d1a40(0x34b)](_0x4c1ef6=>{const _0x3a4c26=_0x5d1a40;Object['keys'](_0x126c2d[_0x3a4c26(0x298)][Number(_0x4c1ef6)])[_0x3a4c26(0x34b)](_0x273413=>{const _0x583597={..._0x126c2d['data'][Number(_0x4c1ef6)][Number(_0x273413)]};_0x376870['setValue'](Number(_0x4c1ef6)+_0x148bcb,Number(_0x273413)+_0x46b914,_0x331072(_0x583597));});});const _0x422adf=Object[_0x5d1a40(0x22a)](_0x126c2d[_0x5d1a40(0x298)])[_0x5d1a40(0x25f)];_0x148bcb+=_0x422adf+(_0x422adf?_0x1312a9:0x0);const _0x2cf817=_0x276ab8[_0x5d1a40(0x1f0)](),_0x4ed2a7=_0x276ab8[_0x5d1a40(0x180)]();for(let _0x539940=0x0;_0x539940<_0x2cf817;_0x539940++)for(let _0x36ce20=0x0;_0x36ce20<_0x4ed2a7;_0x36ce20++){const _0x1162f2={...(_0x2d39e7=(_0x44dfeb=_0x276ab8[_0x5d1a40(0x298)])==null?void 0x0:_0x44dfeb[_0x539940])==null?void 0x0:_0x2d39e7[_0x36ce20]};_0x1162f2&&((_0x1579b7=_0x3a19a9[_0x5d1a40(0xd8)][_0x36ce20])!=null&&_0x1579b7['isValue'])&&_0x36ce20===_0x4ed2a7-0x1&&_0x539940===_0x2cf817-0x1&&(_0x1162f2['v']=''+_0x566b56['sheets-pivot.value']),_0x376870[_0x5d1a40(0x381)](_0x539940+_0x148bcb,_0x36ce20+_0x46b914,_0x331072(_0x1162f2));}_0x46b914+=_0x4ed2a7;const _0x125961=_0x8fcec8[_0x5d1a40(0xd8)],_0x3c77b7=_0x8fcec8[_0x5d1a40(0x121)]()>=0x0?_0x8fcec8[_0x5d1a40(0x121)]()+0x1:0x0,_0x4de9e6=_0x8fcec8[_0x5d1a40(0x1ae)]()>=0x0?_0x8fcec8[_0x5d1a40(0x1ae)]()+0x1:0x0;for(let _0x49d3c8=0x0;_0x49d3c8<_0x4de9e6;_0x49d3c8++)for(let _0x3e79e5=0x0;_0x3e79e5<_0x3c77b7;_0x3e79e5++){const _0x1387b8={...(_0x5efec4=(_0x52f187=_0x8fcec8[_0x5d1a40(0x298)])==null?void 0x0:_0x52f187[_0x49d3c8])==null?void 0x0:_0x5efec4[_0x3e79e5]},_0x513aa3=(_0x4efba4=_0x125961[_0x49d3c8])==null?void 0x0:_0x4efba4[_0x5d1a40(0xb2)],_0x502b2f=_0x4f82ee[_0x513aa3];_0x1387b8&&(_0x1387b8['v']=_0x5764ab(_0x1387b8,_0x49d3c8===0x0&&((_0x3464e1=_0x8fcec8[_0x5d1a40(0x272)](_0x3e79e5+0x1))==null?void 0x0:_0x3464e1[_0x5d1a40(0x24d)]),_0x502b2f,_0x566b56)),_0x376870[_0x5d1a40(0x381)](_0x49d3c8+_0x148bcb,_0x3e79e5+_0x46b914,_0x331072(_0x1387b8));}_0x148bcb+=_0x2cf817;const _0x5a0764=_0x3a19a9['headerMap'],_0x4cce91=_0x3a19a9['getLastRow']()>=0x0?_0x3a19a9['getLastRow']()+0x1:0x0,_0x2d25b5=_0x3a19a9[_0x5d1a40(0x1ae)]()>=0x0?_0x3a19a9[_0x5d1a40(0x1ae)]()+0x1:0x0;for(let _0x136bae=0x0;_0x136bae<_0x4cce91;_0x136bae++)for(let _0x3d29b8=0x0;_0x3d29b8<_0x2d25b5;_0x3d29b8++){const _0x3cc743={...(_0x596570=(_0x4a5dd0=_0x3a19a9[_0x5d1a40(0x298)])==null?void 0x0:_0x4a5dd0[_0x136bae])==null?void 0x0:_0x596570[_0x3d29b8]},_0x559bd8=(_0x2140c5=_0x5a0764[_0x3d29b8])==null?void 0x0:_0x2140c5['tableFieldId'],_0x187287=_0x4f82ee[_0x559bd8];_0x3cc743&&(_0x3cc743['v']=_0x5764ab(_0x3cc743,!0x1,_0x187287,_0x566b56)),_0x376870[_0x5d1a40(0x381)](_0x136bae+_0x148bcb,_0x3d29b8+_0x5e8e74,_0x331072(_0x3cc743));}const _0xb4ec25=_0xb441b7[_0x5d1a40(0x1f0)](),_0x36d49e=_0xb441b7['getColCount']();for(let _0x693cf5=0x0;_0x693cf5<_0xb4ec25;_0x693cf5++)for(let _0x37c5ab=0x0;_0x37c5ab<_0x36d49e;_0x37c5ab++){const _0x577e72={...(_0x49e8c0=(_0x58d934=_0xb441b7[_0x5d1a40(0x298)])==null?void 0x0:_0x58d934[_0x693cf5])==null?void 0x0:_0x49e8c0[_0x37c5ab]};_0x376870[_0x5d1a40(0x381)](_0x693cf5+_0x148bcb,_0x37c5ab+_0x46b914,_0x331072(_0x577e72));}return _0x376870;},_0x1e6598=_0xc13846=>{const _0x4b21ad=_0x2d3cd7,{view:_0x57eac7,targetCellInfo:_0x28c7fd,isEmpty:_0xf8374d,textInfo:_0x3c47d9}=_0xc13846;if(_0xf8374d)return _0x1b53c9(_0xc13846);const {pageView:_0x52aa44,cornerView:_0x5acd7e,rowView:_0x4b1f4a,colView:_0x15dcd6,dataView:_0x502a58}=_0x57eac7,_0x32ede6=_0x341800(_0x28c7fd,_0x52aa44,!0x0),_0x327d7e=_0x52aa44[_0x4b21ad(0xf1)]>=0x0?_0x52aa44[_0x4b21ad(0xf1)]+0x1:0x0,_0x392571=_0x5acd7e['getRowCount'](),_0xed5227=_0x5acd7e['getColCount'](),_0x4d44a8=_0x32ede6[_0x4b21ad(0x25f)]>0x0?_0x1312a9:0x0,_0x2e6825=_0x341800({'row':_0x28c7fd['row']+_0x327d7e+_0x4d44a8,'col':_0x28c7fd[_0x4b21ad(0x117)]},_0x5acd7e,!0x1,!0x1),_0x38dde4=_0x341800({'row':_0x28c7fd['row']+_0x327d7e+_0x4d44a8+_0x392571,'col':_0x28c7fd[_0x4b21ad(0x117)]},_0x4b1f4a,!0x1,!0x0),_0x81d8ac=_0x341800({'row':_0x28c7fd[_0x4b21ad(0x363)]+_0x327d7e+_0x4d44a8,'col':_0x28c7fd[_0x4b21ad(0x117)]+_0xed5227},_0x15dcd6,!0x1,!0x0),_0x247e81=_0x341800({'row':_0x28c7fd[_0x4b21ad(0x363)]+_0x327d7e+_0x4d44a8+_0x392571,'col':_0x28c7fd[_0x4b21ad(0x117)]+_0xed5227},_0x502a58,!0x1,!0x1),_0x43b70e={'rowRanges':_0x38dde4,'colRanges':_0x81d8ac,'cornerRanges':_0x2e6825,'dataRanges':_0x247e81,'pageRanges':_0x32ede6};return{'matrix':_0x555fd9(_0x57eac7,_0x28c7fd,_0x3c47d9),'rangesCache':_0x43b70e};};var _0x2d2b5c=Object[_0x2d3cd7(0x11f)],_0x2551a6=(_0x39f22a,_0x2dec50,_0x25c091,_0x5726d1)=>{for(var _0x19ec99=_0x5726d1>0x1?void 0x0:_0x5726d1?_0x2d2b5c(_0x2dec50,_0x25c091):_0x2dec50,_0x595a82=_0x39f22a['length']-0x1,_0x334ad8;_0x595a82>=0x0;_0x595a82--)(_0x334ad8=_0x39f22a[_0x595a82])&&(_0x19ec99=_0x334ad8(_0x19ec99)||_0x19ec99);return _0x19ec99;},_0x284f5a=(_0x3d35bf,_0x1b385c)=>(_0x55ee1e,_0x31d230)=>_0x1b385c(_0x55ee1e,_0x31d230,_0x3d35bf);_0x159003['SheetsPivotDataSourceModel']=class extends _0x2814ce[_0x2d3cd7(0x242)]{constructor(_0x232e7e,_0x1fa6d4,_0x2e4a4b,_0x934d06,_0x664e8,_0x534207){const _0x25eaca=_0x2d3cd7;super(),_0x4a4d7d(this,_0x25eaca(0x28d),new Map()),_0x4a4d7d(this,_0x25eaca(0x389),new Map()),_0x4a4d7d(this,_0x25eaca(0x89),new Map()),_0x4a4d7d(this,'_textInfo'),_0x4a4d7d(this,'_collectionChange$',new _0x139446[(_0x25eaca(0x226))]()),_0x4a4d7d(this,_0x25eaca(0x2e0),this[_0x25eaca(0x238)][_0x25eaca(0x2fb)]()),_0x4a4d7d(this,_0x25eaca(0x1f5),new _0x139446[(_0x25eaca(0x226))]()),_0x4a4d7d(this,_0x25eaca(0x1cb),this[_0x25eaca(0x1f5)][_0x25eaca(0x2fb)]()),_0x4a4d7d(this,_0x25eaca(0x314),new _0x139446['Subject']()),_0x4a4d7d(this,_0x25eaca(0x229),this['_fieldsCollectionChange$'][_0x25eaca(0x2fb)]()),_0x4a4d7d(this,_0x25eaca(0x239),new Map()),_0x4a4d7d(this,'needSameDeleteModel',[]),_0x4a4d7d(this,_0x25eaca(0x2bc),new Map()),(this[_0x25eaca(0x1a6)]=_0x232e7e,this[_0x25eaca(0x37f)]=_0x1fa6d4,this[_0x25eaca(0x205)]=_0x2e4a4b,this['_configService']=_0x934d06,this[_0x25eaca(0x341)]=_0x664e8,this[_0x25eaca(0x333)]=_0x534207,this['_initSnapshot']());}[_0x2d3cd7(0x186)](){const _0x60f855=_0x2d3cd7;return this[_0x60f855(0x32b)]?this['_textInfo']:_0x4fe1c6;}[_0x2d3cd7(0x322)](_0x1eddf1){const _0x3f0075=_0x2d3cd7;this[_0x3f0075(0x32b)]=_0x1eddf1;}['handleMoveRange'](_0x4250a8){const _0x2f439a=_0x2d3cd7;var _0x27a065;const {from:_0x482351,to:_0x22f021,unitId:_0x573a5b,fromRange:_0x637a0,toRange:_0x3959d9}=_0x4250a8;if(_0x482351&&_0x22f021){const _0x4303f0=this['getDataFieldManager'](_0x573a5b),_0x11c797=this[_0x2f439a(0x28d)]['get'](_0x573a5b),_0x31f67d=(_0x27a065=this[_0x2f439a(0x37f)]['getUnit'](_0x573a5b))==null?void 0x0:_0x27a065[_0x2f439a(0x98)](_0x22f021[_0x2f439a(0x2da)]);if(!_0x11c797||!_0x31f67d)return;const _0x414001=_0x31f67d==null?void 0x0:_0x31f67d[_0x2f439a(0x26c)]();for(const [_0x1f479d,_0xf693d0]of _0x11c797[_0x2f439a(0x303)]())for(const [_0x3452bc,_0x5e73d0]of _0xf693d0['entries']()){const {sourceRangeInfo:_0x1a1915}=_0x5e73d0;if(_0x1a1915[_0x2f439a(0x19c)]===_0x573a5b&&_0x1a1915[_0x2f439a(0x2da)]===_0x482351[_0x2f439a(0x2da)]&&_0x2814ce[_0x2f439a(0x2f1)][_0x2f439a(0x36e)](_0x637a0,_0x1a1915[_0x2f439a(0x17f)])){const _0xfa97a8={'row':_0x1a1915[_0x2f439a(0x17f)][_0x2f439a(0x338)]-_0x637a0[_0x2f439a(0x338)],'col':_0x1a1915[_0x2f439a(0x17f)][_0x2f439a(0x367)]-_0x637a0['startColumn']},_0x46dfbb={'unitId':_0x573a5b,'subUnitId':_0x22f021['subUnitId'],'sheetName':_0x414001,'range':{'startRow':_0x3959d9[_0x2f439a(0x338)]+_0xfa97a8[_0x2f439a(0x363)],'endRow':_0x3959d9[_0x2f439a(0x338)]+_0xfa97a8['row']+_0x1a1915[_0x2f439a(0x17f)][_0x2f439a(0x10b)]-_0x1a1915[_0x2f439a(0x17f)][_0x2f439a(0x338)],'startColumn':_0x3959d9[_0x2f439a(0x367)]+_0xfa97a8['col'],'endColumn':_0x3959d9[_0x2f439a(0x367)]+_0xfa97a8['col']+_0x1a1915[_0x2f439a(0x17f)][_0x2f439a(0x375)]-_0x1a1915['range'][_0x2f439a(0x367)]}};_0x4303f0[_0x2f439a(0x182)](_0x3452bc,_0x46dfbb);const _0x316176={..._0x5e73d0,'sourceRangeInfo':_0x46dfbb};this[_0x2f439a(0xb4)](_0x573a5b,_0x22f021[_0x2f439a(0x2da)],_0x3452bc,_0x316176),this[_0x2f439a(0x166)]({'unitId':_0x573a5b,'token':_0x3452bc,'type':_0x488eeb[_0x2f439a(0x376)],'oldSourceRangeInfo':_0x1a1915,'dataRangeInfo':_0x46dfbb,'targetCellInfo':_0x5e73d0[_0x2f439a(0x301)]}),this['updateConfig']({'unitId':_0x573a5b,'subUnitId':_0x22f021[_0x2f439a(0x2da)],'oldSubUnitId':_0x1f479d,'pivotTableId':_0x3452bc,'pivotTableConfig':_0x316176,'collectionConfig':_0x4303f0[_0x2f439a(0x32c)]()});}}}}['broadcastCollectionChange'](_0x40b010){const _0x31b230=_0x2d3cd7;this[_0x31b230(0x238)]['next'](_0x40b010);}[_0x2d3cd7(0x2d0)](_0x314415){const _0x139e33=_0x2d3cd7;let _0xd48777=this[_0x139e33(0x239)][_0x139e33(0x33f)](_0x314415);return _0xd48777||(_0xd48777=new _0x26395d(this,this[_0x139e33(0x37f)]),this['_dataFieldManagerCollection']['set'](_0x314415,_0xd48777)),_0xd48777;}['getCollection'](_0x2837ba,_0x3ace5f){const _0x1fd914=_0x2d3cd7;return this['getDataFieldManager'](_0x2837ba)[_0x1fd914(0x2f9)][_0x3ace5f];}[_0x2d3cd7(0x241)](_0x1e3128,_0x3ed7e2,_0x385073){const _0x48b8d4=_0x2d3cd7;return this[_0x48b8d4(0x2d0)](_0x1e3128)[_0x48b8d4(0x241)](_0x3ed7e2,_0x385073);}[_0x2d3cd7(0x2d1)](_0x3f4485,_0x37f80c){const _0x45a9f1=_0x2d3cd7;let _0x15e19c=this[_0x45a9f1(0x28d)][_0x45a9f1(0x33f)](_0x3f4485);_0x15e19c||(_0x15e19c=new Map(),this[_0x45a9f1(0x28d)]['set'](_0x3f4485,_0x15e19c));let _0x32ef32=_0x15e19c[_0x45a9f1(0x33f)](_0x37f80c);return _0x32ef32||(_0x32ef32=new Map(),_0x15e19c[_0x45a9f1(0x1f8)](_0x37f80c,_0x32ef32)),_0x32ef32;}[_0x2d3cd7(0xb4)](_0x26af70,_0xfc9587,_0x3f7c6b,_0x3f88a9){const _0x3bcdde=_0x2d3cd7;this[_0x3bcdde(0x2d1)](_0x26af70,_0xfc9587)[_0x3bcdde(0x1f8)](_0x3f7c6b,_0x3f88a9);}[_0x2d3cd7(0x2cc)](_0x31d31d,_0x334904,_0x2dd844){const _0x37a30b=_0x2d3cd7;var _0x8ad3d0,_0x46dc4d,_0xd4bf97,_0x5a0b3c;((_0x46dc4d=(_0x8ad3d0=this['_model'][_0x37a30b(0x33f)](_0x31d31d))==null?void 0x0:_0x8ad3d0[_0x37a30b(0x33f)](_0x334904))==null?void 0x0:_0x46dc4d[_0x37a30b(0x33f)](_0x2dd844))&&((_0x5a0b3c=(_0xd4bf97=this[_0x37a30b(0x28d)][_0x37a30b(0x33f)](_0x31d31d))==null?void 0x0:_0xd4bf97[_0x37a30b(0x33f)](_0x334904))==null||_0x5a0b3c[_0x37a30b(0xa1)](_0x2dd844));}[_0x2d3cd7(0x244)](_0x54d2ca,_0x317ee6){const _0x4b9557=_0x2d3cd7;this['_pivotTableInstanceCache'][_0x4b9557(0x1f8)](_0x54d2ca,_0x317ee6);}['_deletePivotTableInstanceCache'](_0x9836c0){const _0x42e319=_0x2d3cd7;this[_0x42e319(0x389)][_0x42e319(0xa1)](_0x9836c0);}[_0x2d3cd7(0xe4)](_0x216cc3,_0x37b5d8){const _0x4636f4=_0x2d3cd7;let _0x2f0be5=this['_viewData'][_0x4636f4(0x33f)](_0x216cc3);_0x2f0be5||(_0x2f0be5=new Map(),this['_viewData']['set'](_0x216cc3,_0x2f0be5));let _0xb9e60c=_0x2f0be5[_0x4636f4(0x33f)](_0x37b5d8);return _0xb9e60c||(_0xb9e60c=new Map(),_0x2f0be5['set'](_0x37b5d8,_0xb9e60c)),_0xb9e60c;}[_0x2d3cd7(0x1b1)](_0x41ab1f){const _0x297db4=_0x2d3cd7,{unitId:_0x312e0d,subUnitId:_0x177473,pivotTableId:_0x24f36c,pivotTableConfig:_0x24433d,collectionConfig:_0x3a7ed8}=_0x41ab1f,_0x381e46={'unitId':_0x312e0d,'subUnitId':_0x177473,'oldSubUnitId':_0x177473,'pivotTableId':_0x24f36c,'pivotTableConfig':_0x24433d,'collectionConfig':_0x3a7ed8};this['_commandService'][_0x297db4(0x334)](_0x137307['id'],_0x381e46,{'onlyLocal':!0x0});}[_0x2d3cd7(0x2c1)](_0x1ad01f,_0x519f1c,_0x3d7147,_0x4cfee3,_0x92be31,_0x195a8f,_0x241fc5,_0x404900=!0x1){const _0x3375f2=_0x2d3cd7;var _0x47529c;this[_0x3375f2(0x341)][_0x3375f2(0x334)](_0x4b3f05['id'],{'single':{'unitId':_0x1ad01f,'subUnitId':_0x519f1c,'type':_0x3d7147,'pivotTableId':_0x4cfee3,'view':_0x92be31,'pivotConfig':_0x195a8f},'collectionConfig':{[_0x1ad01f]:_0x241fc5}},{'onlyLocal':!0x0});const _0x36159b=!!((_0x47529c=this[_0x3375f2(0x250)](_0x4cfee3))!=null&&_0x47529c['isEmpty']()),_0x4550e2=this['getPivotTableConfig'](_0x1ad01f,_0x519f1c,_0x4cfee3);_0x4550e2&&this[_0x3375f2(0x2ec)]({'view':_0x92be31,'pivotTableId':_0x4cfee3,'textInfo':this[_0x3375f2(0x186)](),'isEmpty':_0x36159b,'targetCellInfo':_0x4550e2[_0x3375f2(0x301)]},_0x404900);}[_0x2d3cd7(0x2ec)](_0x363040,_0x501f91){const _0x17278b=_0x2d3cd7,{targetCellInfo:_0x149a96,pivotTableId:_0x4da07e}=_0x363040,{unitId:_0xb826ee,subUnitId:_0x3fe2c7}=_0x149a96,_0x304613=this[_0x17278b(0xe4)](_0xb826ee,_0x3fe2c7),_0x5f23e5=_0x304613[_0x17278b(0x33f)](_0x4da07e);let _0x3cec7c,_0x1861d6;_0x5f23e5&&(_0x3cec7c=_0x5f23e5[_0x17278b(0x354)],_0x1861d6=_0x5f23e5[_0x17278b(0x142)]);const {rangesCache:_0x4da0bd,matrix:_0x565edc}=_0x1e6598(_0x363040);_0x304613[_0x17278b(0x1f8)](_0x4da07e,{'rangeCache':_0x4da0bd,'matrix':_0x565edc,'oldMatrix':_0x1861d6,'oldRangeCache':_0x3cec7c}),_0x501f91||this[_0x17278b(0x1f5)][_0x17278b(0x382)]({'unitId':_0xb826ee,'subUnitId':_0x3fe2c7,'pivotTableId':_0x4da07e});}[_0x2d3cd7(0x7d)](_0x120d78,_0x3de824,_0x511047,_0x28de03,_0x579447){const _0x18c7ed=_0x2d3cd7;this['_updateModelCache'](_0x120d78,_0x3de824,_0x511047,_0x579447),this[_0x18c7ed(0x244)](_0x511047,_0x28de03);}[_0x2d3cd7(0x383)](_0x4955bf,_0x274cf3,_0xa82c4e){const _0x31d25e=_0x2d3cd7,_0x2483f0=this['getDataFieldManager'](_0x4955bf);_0x2483f0[_0x31d25e(0x2db)](_0xa82c4e)['forEach'](_0x1b9124=>{const _0x1d3d56=_0x31d25e;_0x2483f0[_0x1d3d56(0x29f)](_0x1b9124);}),this['removeCollections'](_0x4955bf,_0xa82c4e),this[_0x31d25e(0x2cc)](_0x4955bf,_0x274cf3,_0xa82c4e),this[_0x31d25e(0x13c)](_0xa82c4e);}[_0x2d3cd7(0x245)](_0x26a5d7,_0x106185,_0x18ee1e,_0x2ab6ee){const _0x61a9f9=_0x2d3cd7;this[_0x61a9f9(0xb4)](_0x26a5d7,_0x106185,_0x18ee1e,_0x2ab6ee);}['getPivotTableConfig'](_0x562e77,_0x42cd09,_0x33770d){const _0x3d8322=_0x2d3cd7;var _0x5e8b45,_0x4f7b3d;const _0x4e22b6=(_0x4f7b3d=(_0x5e8b45=this[_0x3d8322(0x28d)][_0x3d8322(0x33f)](_0x562e77))==null?void 0x0:_0x5e8b45['get'](_0x42cd09))==null?void 0x0:_0x4f7b3d['get'](_0x33770d);if(_0x4e22b6)return _0x4e22b6;}['getPivotTableModelConfig'](_0x1cb314,_0x4c4b0b,_0x4412c5){const _0x54463f=_0x2d3cd7;var _0x518567,_0x16ddb6;const _0x2db7ea=(_0x16ddb6=(_0x518567=this['_model'][_0x54463f(0x33f)](_0x1cb314))==null?void 0x0:_0x518567[_0x54463f(0x33f)](_0x4c4b0b))==null?void 0x0:_0x16ddb6[_0x54463f(0x33f)](_0x4412c5);if(_0x2db7ea)return _0x2db7ea[_0x54463f(0xf4)];}[_0x2d3cd7(0x250)](_0x462cea){const _0x14fef0=_0x2d3cd7;return this[_0x14fef0(0x389)][_0x14fef0(0x33f)](_0x462cea);}[_0x2d3cd7(0xbb)](_0x1187b5){const _0x3a8248=_0x2d3cd7;this[_0x3a8248(0x28d)][_0x3a8248(0xa1)](_0x1187b5);const _0xb03e3=this[_0x3a8248(0x239)]['get'](_0x1187b5);_0xb03e3&&(_0xb03e3[_0x3a8248(0x264)](),this[_0x3a8248(0x239)][_0x3a8248(0xa1)](_0x1187b5)),this[_0x3a8248(0x89)][_0x3a8248(0xa1)](_0x1187b5),this[_0x3a8248(0x1a3)][_0x3a8248(0x34b)](_0x5d2022=>{const _0x11555a=_0x3a8248;_0x5d2022[_0x11555a(0xbb)](_0x1187b5);});}[_0x2d3cd7(0x2e5)](_0x57ac78,_0x281d2e,_0x35c890,_0x1d2ade){const _0x4efa1f=_0x2d3cd7;return this[_0x4efa1f(0x2d0)](_0x35c890[_0x4efa1f(0x19c)])[_0x4efa1f(0x2e5)](_0x57ac78,_0x281d2e,_0x35c890,_0x1d2ade);}[_0x2d3cd7(0x1ef)](_0x361ebf){const _0x189a85=_0x2d3cd7;return this['getDataFieldManager'](_0x361ebf[_0x189a85(0x19c)])['createCollectionWithDataRange'](_0x361ebf);}[_0x2d3cd7(0x19d)](_0x49a6b6,_0x8ffff8,_0x2cb376){const _0x4136dd=_0x2d3cd7;this[_0x4136dd(0x2d0)](_0x2cb376['unitId'])[_0x4136dd(0x19d)](_0x49a6b6,_0x8ffff8,_0x2cb376);}['removeDataField'](_0x69d338,_0xf10002){const _0x1ae3fa=_0x2d3cd7;this[_0x1ae3fa(0x2d0)](_0x69d338)[_0x1ae3fa(0x29f)](_0xf10002);}[_0x2d3cd7(0xcd)](_0x44fd26,_0x19f7ba){const _0x3ef0cc=_0x2d3cd7;this[_0x3ef0cc(0x2d0)](_0x44fd26)[_0x3ef0cc(0x22c)](_0x19f7ba);}[_0x2d3cd7(0x13f)](_0x269346,_0x1c90c6){const _0x5ecb51=_0x2d3cd7;var _0x5a3291;return(_0x5a3291=this[_0x5ecb51(0x28d)][_0x5ecb51(0x33f)](_0x269346))==null?void 0x0:_0x5a3291[_0x5ecb51(0x33f)](_0x1c90c6);}[_0x2d3cd7(0x103)](_0x3cc537){const _0x4dde08=_0x2d3cd7;for(const [_0x1b2daa,_0x30c722]of this[_0x4dde08(0x28d)]['entries']())for(const [_0x22e650,_0xf57a25]of _0x30c722[_0x4dde08(0x303)]())if(_0xf57a25[_0x4dde08(0x128)](_0x3cc537))return{'unitId':_0x1b2daa,'subUnitId':_0x22e650};return null;}[_0x2d3cd7(0x23d)](_0xccea4e,_0x2123a2,_0xa70cae,_0x5e3d49){const _0x350f90=_0x2d3cd7,_0x51bf46=this[_0x350f90(0xe4)](_0xccea4e,_0x2123a2);_0x5e3d49?_0x51bf46['set'](_0xa70cae,_0x5e3d49):_0x51bf46['delete'](_0xa70cae),this[_0x350f90(0x1f5)]['next']({'unitId':_0xccea4e,'subUnitId':_0x2123a2,'pivotTableId':_0xa70cae});}['dispose'](){const _0x37510c=_0x2d3cd7;super[_0x37510c(0x264)]();}[_0x2d3cd7(0xc4)](_0x89a9cd,_0x216795,_0x1e94a9){const _0x50719d=_0x2d3cd7;var _0x534df7,_0x384982;const _0x51776e=(_0x384982=(_0x534df7=this['_viewData'][_0x50719d(0x33f)](_0x89a9cd))==null?void 0x0:_0x534df7[_0x50719d(0x33f)](_0x216795))==null?void 0x0:_0x384982[_0x50719d(0x33f)](_0x1e94a9);return _0x51776e||null;}[_0x2d3cd7(0x2aa)](_0x379ef2){const _0x4d5d0d=_0x2d3cd7;this[_0x4d5d0d(0x246)](_0x379ef2);}[_0x2d3cd7(0x246)](_0x4e2829){const _0x2df6b1=_0x2d3cd7,{token:_0x1be10b,unitId:_0x3b62e9,subUnitId:_0xef4eab}=_0x4e2829,_0x469d93=_0x3b62e9+'-'+_0xef4eab+'-'+_0x1be10b;this['_queryingMap'][_0x2df6b1(0x33f)](_0x469d93)&&clearTimeout(this[_0x2df6b1(0x2bc)][_0x2df6b1(0x33f)](_0x469d93));const _0x1429f2=setTimeout(()=>{const _0x8b2eff=_0x2df6b1;this['queryDirtyPivotTable'](_0x4e2829),this[_0x8b2eff(0x2bc)][_0x8b2eff(0xa1)](_0x469d93);},_0x289787);this[_0x2df6b1(0x2bc)]['set'](_0x469d93,_0x1429f2);}[_0x2d3cd7(0xe0)](_0x50243e){const _0x38239f=_0x2d3cd7,{unitId:_0x2d74dd,subUnitId:_0x234845,token:_0x31394b,type:_0xe9a948,pivotConfig:_0x3e3cb5}=_0x50243e,_0x45fb32=this[_0x38239f(0x250)](_0x31394b),_0x1d7ee2=_0x45fb32==null?void 0x0:_0x45fb32[_0x38239f(0x1bf)](),_0x1e0d2a=_0x3e3cb5!=null?_0x3e3cb5:this[_0x38239f(0x2e4)](_0x2d74dd,_0x234845,_0x31394b);_0x1e0d2a&&(_0x1e0d2a[_0x38239f(0x26e)]=!!(_0x45fb32!=null&&_0x45fb32['isEmpty']())),(_0x1d7ee2||_0xe9a948===_0x2229c0[_0x38239f(0x15c)])&&this[_0x38239f(0x2c1)](_0x2d74dd,_0x234845,_0xe9a948,_0x31394b,_0x1d7ee2,_0x1e0d2a,this[_0x38239f(0x2d0)](_0x2d74dd)['toJSON']());}[_0x2d3cd7(0x32c)](_0x20ca48){const _0x3578ba=_0x2d3cd7,_0x236d66={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x3578ba(0x2d0)](_0x20ca48)&&(_0x236d66['dataFieldManagerConfig'][_0x20ca48]=this[_0x3578ba(0x2d0)](_0x20ca48)[_0x3578ba(0x32c)]()),this[_0x3578ba(0x28d)][_0x3578ba(0x33f)](_0x20ca48)){_0x236d66[_0x3578ba(0x16d)][_0x20ca48]={};const _0x83de6a=this[_0x3578ba(0x28d)][_0x3578ba(0x33f)](_0x20ca48);_0x83de6a!=null&&_0x83de6a['size']&&[..._0x83de6a[_0x3578ba(0x22a)]()]['forEach'](_0x557801=>{const _0x1557eb=_0x3578ba,_0x1faf5b=_0x83de6a[_0x1557eb(0x33f)](_0x557801);_0x1faf5b!=null&&_0x1faf5b[_0x1557eb(0x102)]&&(_0x236d66['pivotTableConfigs'][_0x20ca48][_0x557801]={},[..._0x1faf5b['keys']()][_0x1557eb(0x34b)](_0xe400e7=>{const _0x53121f=_0x1557eb,_0x3682b2=_0x1faf5b[_0x53121f(0x33f)](_0xe400e7);_0x3682b2&&(_0x236d66['pivotTableConfigs'][_0x20ca48][_0x557801][_0xe400e7]=_0x3682b2);}));});}return _0x236d66;}[_0x2d3cd7(0x183)](_0x12bdf8){const _0x59ed15=_0x2d3cd7;var _0x43a60e;const {dataFieldManagerConfig:_0x551331,pivotTableConfigs:_0x47fc82}=_0x12bdf8;_0x551331&&Object[_0x59ed15(0x22a)](_0x551331)[_0x59ed15(0x34b)](_0x284eda=>{const _0x37f7dc=_0x59ed15;this[_0x37f7dc(0x2d0)](_0x284eda)[_0x37f7dc(0x183)](_0x551331[_0x284eda]);});const _0x4499a9=[];if(_0x47fc82){const _0x52a78c=(_0x43a60e=this[_0x59ed15(0x1a6)]['get'](_0x2814ce[_0x59ed15(0xca)])[_0x59ed15(0xd1)](_0xde1950['LS_CONFIG_KEY']))!=null?_0x43a60e:{},{ls:_0x3474fa,pbk:_0x5e1a30}=_0x52a78c,_0x1f97c0=_0x104462(_0x3c672e,_0x3474fa,_0x5e1a30)[_0x59ed15(0x2b7)];Object[_0x59ed15(0x22a)](_0x47fc82)[_0x59ed15(0x34b)](_0x33ff90=>{const _0x24c80b=_0x59ed15;let _0x4c9f6b=0x0;const _0x1897bf=_0x47fc82[_0x33ff90];Object[_0x24c80b(0x22a)](_0x1897bf)[_0x24c80b(0x34b)](_0x387029=>{const _0x9aeb70=_0x24c80b,_0x5082c3=_0x1897bf[_0x387029];Object[_0x9aeb70(0x22a)](_0x5082c3)[_0x9aeb70(0x34b)](_0x13cd5b=>{const _0x23be04=_0x9aeb70,_0x2887b6=_0x5082c3[_0x13cd5b];if(_0x2887b6){if(_0x4c9f6b>=_0x1f97c0)return;_0x4c9f6b++;const _0x13c83b=this['getDataFieldManager'](_0x33ff90),_0xf3a2bd=_0x13c83b[_0x23be04(0x2f9)][_0x13cd5b],_0x2f1bc1=_0xf3a2bd['getFieldIds']();let _0x165bb7=0x0;const _0x1514cb=[];for(const _0x3b50c0 of _0x2f1bc1){const _0x3937e6=_0xf3a2bd['getFieldById'](_0x3b50c0);if(_0x3ed89a[_0x23be04(0x374)](_0x3937e6)){const _0x2eb342=_0x3937e6[_0x23be04(0x1fd)](),_0x23414e=_0xf3a2bd[_0x23be04(0x20b)](_0x2eb342);_0x23414e&&_0x1514cb[_0x23be04(0xf8)]([_0x3937e6,_0x23414e]);continue;}_0x13c83b[_0x23be04(0x1a4)](_0x3b50c0,_0x2887b6[_0x23be04(0x281)],_0x165bb7),_0x165bb7++;}_0x1514cb['forEach'](([_0x232319,_0x3f56b9])=>{const _0x4c9cb0=_0x23be04;_0x232319[_0x4c9cb0(0x14d)](_0x3f56b9);});const _0x245ece=new _0x3ed89a[(_0x23be04(0x299))](_0xf3a2bd);_0x245ece[_0x23be04(0x183)](_0x2887b6[_0x23be04(0xf4)]),this[_0x23be04(0x7d)](_0x33ff90,_0x387029,_0x13cd5b,_0x245ece,_0x2887b6);const _0x20fccf=_0x245ece[_0x23be04(0x1bf)]();_0x4499a9[_0x23be04(0xf8)]({'unitId':_0x33ff90,'subUnitId':_0x387029,'pivotTableId':_0x13cd5b,'view':_0x20fccf[_0x23be04(0x32c)](),'pivotConfig':_0x2887b6,'type':_0x2229c0[_0x23be04(0xa3)]});const _0x195987=!!_0x245ece['isEmpty'](),_0x4eeafd={'view':_0x20fccf,'pivotTableId':_0x13cd5b,'textInfo':this[_0x23be04(0x186)](),'isEmpty':_0x195987,'targetCellInfo':_0x2887b6[_0x23be04(0x301)]};this[_0x23be04(0x2ec)](_0x4eeafd,!0x1);}});});});}_0x551331&&Object['keys'](_0x551331)[_0x59ed15(0x34b)](_0x463afa=>{const _0x78fc0e=_0x59ed15,_0x2a57b9=this[_0x78fc0e(0x2d0)](_0x463afa);this['_fieldsCollectionChange$']['next'](_0x2a57b9[_0x78fc0e(0x2f9)]);}),this[_0x59ed15(0x341)][_0x59ed15(0x334)](_0x4b3f05['id'],{'batch':_0x4499a9,'collectionConfig':_0x551331},{'onlyLocal':!0x0});}[_0x2d3cd7(0x222)](){const _0x208ce4=_0x2d3cd7;this['disposeWithMe'](this[_0x208ce4(0x333)][_0x208ce4(0x2a4)]({'toJson':_0x1da496=>JSON['stringify'](this[_0x208ce4(0x32c)](_0x1da496)),'parseJson':_0x56be5a=>{const _0x2906fa=_0x208ce4;if(!_0x56be5a)return{};try{return JSON[_0x2906fa(0x153)](_0x56be5a);}catch{return{};}},'businesses':[_0x2814ce[_0x208ce4(0x234)][_0x208ce4(0x30e)]],'pluginName':_0x3e4154,'onLoad':(_0x4f006,_0x91707b)=>{const _0x1aecc3=_0x208ce4;this[_0x1aecc3(0x183)](_0x91707b);},'onUnLoad':_0xcd2716=>{const _0x3fb6ee=_0x208ce4;this[_0x3fb6ee(0xbb)](_0xcd2716);}}));}},_0x159003[_0x2d3cd7(0x187)]=_0x2551a6([_0x284f5a(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x167)])),_0x284f5a(0x1,_0x2814ce[_0x2d3cd7(0x368)]),_0x284f5a(0x2,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce['LifecycleService'])),_0x284f5a(0x3,_0x2814ce[_0x2d3cd7(0xca)]),_0x284f5a(0x4,_0x2814ce[_0x2d3cd7(0x263)]),_0x284f5a(0x5,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x2d8)]))],_0x159003['SheetsPivotDataSourceModel']);const _0xe53759={0x0:{0x0:{'v':_0x2d3cd7(0x17e),'s':_0x4cb2bd}},0x2:{0x1:{'v':'','s':_0x4cb2bd},0x2:{'v':'','s':_0x4cb2bd},0x3:{'v':_0x2d3cd7(0x134),'s':_0x4cb2bd},0x4:{'v':'','s':_0x4cb2bd},0x5:{'v':'','s':_0x4cb2bd}},0x3:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0x4:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0x5:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0x6:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0x7:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0x8:{0x0:{'v':'row','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':_0x2d3cd7(0x1ab),'s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0x9:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0xa:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0xb:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0xc:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}},0xd:{0x0:{'v':'','s':_0x4cb2bd},0x1:{'v':'','s':_0x325ec1},0x2:{'v':'','s':_0x325ec1},0x3:{'v':'','s':_0x325ec1},0x4:{'v':'','s':_0x325ec1},0x5:{'v':'','s':_0x325ec1}}},_0x214f00={'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':[]},_0x104896=(_0x3f3507,_0x435e65)=>{const _0x58f28b=_0x2d3cd7,_0x5ecae8=new _0x2814ce[(_0x58f28b(0x15b))](),_0x79392=new _0x2814ce[(_0x58f28b(0x15b))](_0xe53759),{row:_0x2dad87,col:_0x2559c6}=_0x435e65;_0x79392[_0x58f28b(0x2d5)]((_0x501ef6,_0x3a5b08,_0x910b3c)=>{const _0x33180b=_0x58f28b;let _0x481862='';_0x910b3c['v']===_0x33180b(0x17e)?_0x481862=_0x3f3507[_0x33180b(0x17e)]:_0x910b3c['v']===_0x33180b(0x363)?_0x481862=_0x3f3507[_0x33180b(0x363)]:_0x910b3c['v']===_0x33180b(0x134)?_0x481862=_0x3f3507[_0x33180b(0x134)]:_0x910b3c['v']===_0x33180b(0x1ab)&&(_0x481862=_0x3f3507[_0x33180b(0x1ab)]),_0x5ecae8['setValue'](_0x501ef6+_0x2dad87,_0x3a5b08+_0x2559c6,{..._0x910b3c,'v':_0x481862});});const _0x52fa04=_0x2814ce[_0x58f28b(0x313)]['deepClone'](_0x214f00);return Object[_0x58f28b(0x22a)](_0x214f00)['forEach'](_0x129d04=>{const _0xc41b5=_0x58f28b;_0x52fa04[_0x129d04]=_0x214f00[_0x129d04]['map'](_0x553b64=>({..._0x553b64,'startRow':_0x553b64[_0xc41b5(0x338)]+_0x2dad87,'endRow':_0x553b64[_0xc41b5(0x10b)]+_0x2dad87,'startColumn':_0x553b64[_0xc41b5(0x367)]+_0x2559c6,'endColumn':_0x553b64[_0xc41b5(0x375)]+_0x2559c6}));}),{'matrixCache':_0x5ecae8,'rangesCache':_0x52fa04};};function _0x48dae4(_0x1642d8,_0x4632b3){const _0x2cc33c=_0x2d3cd7;let _0x8e5a26='';const _0x56e741=this[_0x2cc33c(0x186)]();switch(_0x4632b3){case _0x3ed89a['PivotSubtotalTypeEnum']['average']:_0x8e5a26=_0x56e741['sheets-pivot.averageName']+_0x1642d8;break;case _0x3ed89a[_0x2cc33c(0xa8)][_0x2cc33c(0x2b7)]:_0x8e5a26=_0x56e741['sheets-pivot.countName']+_0x1642d8;break;case _0x3ed89a[_0x2cc33c(0xa8)]['countNums']:_0x8e5a26=_0x56e741[_0x2cc33c(0x2c5)]+_0x1642d8;break;case _0x3ed89a[_0x2cc33c(0xa8)][_0x2cc33c(0x2bf)]:_0x8e5a26=_0x56e741[_0x2cc33c(0x88)]+_0x1642d8;break;case _0x3ed89a[_0x2cc33c(0xa8)][_0x2cc33c(0x26b)]:_0x8e5a26=_0x56e741[_0x2cc33c(0x1e8)]+_0x1642d8;break;case _0x3ed89a[_0x2cc33c(0xa8)]['product']:_0x8e5a26=_0x56e741[_0x2cc33c(0x37b)]+_0x1642d8;break;case _0x3ed89a['PivotSubtotalTypeEnum'][_0x2cc33c(0x2c2)]:_0x8e5a26=_0x56e741[_0x2cc33c(0x11c)]+_0x1642d8;break;case _0x3ed89a[_0x2cc33c(0xa8)]['stdDevp']:_0x8e5a26=_0x56e741[_0x2cc33c(0x2b9)]+_0x1642d8;break;case _0x3ed89a[_0x2cc33c(0xa8)]['sum']:_0x8e5a26=_0x56e741[_0x2cc33c(0x364)]+_0x1642d8;break;case _0x3ed89a['PivotSubtotalTypeEnum']['var']:_0x8e5a26=_0x56e741[_0x2cc33c(0x2c9)]+_0x1642d8;break;case _0x3ed89a['PivotSubtotalTypeEnum'][_0x2cc33c(0x160)]:_0x8e5a26=_0x56e741['sheets-pivot.varpName']+_0x1642d8;break;default:_0x8e5a26=_0x1642d8;break;}return _0x8e5a26;}function _0x41da6f(_0x1d568a,_0xd8aa08,_0x585d00,_0x377cef,_0x150e07){const _0x1185e1=_0x2d3cd7;var _0xb44ae4,_0x395b7e,_0x416e87,_0x477dd2,_0x3ba7c1;const _0x458a77=_0x2814ce[_0x1185e1(0x30d)](_0x1d568a,_0xd8aa08),{rangesInfo:_0x520fb3,areaInfo:_0x28e242,headerMap:_0x217107}=_0x150e07;if(!_0x520fb3||!_0x28e242||!_0x217107)return;const _0x41f560=Object[_0x1185e1(0x22a)](_0x520fb3)[_0x1185e1(0x217)](_0x4d62b9=>_0x520fb3[_0x4d62b9][_0x1185e1(0x36b)](_0x21eb31=>_0x2814ce[_0x1185e1(0x2f1)][_0x1185e1(0x36e)](_0x21eb31,_0x458a77))),_0x47df5e=_0x28e242;let _0x2d33db,_0x24e9f5,_0x2d6619;if(_0x41f560===_0x1185e1(0x270))_0x2d33db=(_0xb44ae4=_0x47df5e==null?void 0x0:_0x47df5e['rowInfo'])==null?void 0x0:_0xb44ae4[_0x1d568a],_0x24e9f5=(_0x395b7e=_0x217107==null?void 0x0:_0x217107[_0x1185e1(0x202)])==null?void 0x0:_0x395b7e[_0xd8aa08],_0x2d6619=_0x24e9f5==null?void 0x0:_0x24e9f5[_0x1185e1(0xb2)];else{if(_0x41f560==='colRanges')_0x2d33db=(_0x416e87=_0x47df5e==null?void 0x0:_0x47df5e['colInfo'])==null?void 0x0:_0x416e87[_0xd8aa08],_0x24e9f5=(_0x477dd2=_0x217107[_0x1185e1(0x2ae)])==null?void 0x0:_0x477dd2[_0x1d568a+0x1+_0xd8aa08-_0x520fb3[_0x1185e1(0x366)][0x0][_0x1185e1(0x367)]],_0x2d6619=_0x24e9f5==null?void 0x0:_0x24e9f5[_0x1185e1(0xb2)];else{if(_0x41f560===_0x1185e1(0x1ba))_0x2d33db=(_0x3ba7c1=_0x47df5e==null?void 0x0:_0x47df5e[_0x1185e1(0x1c4)])==null?void 0x0:_0x3ba7c1[_0xd8aa08],_0x2d6619=_0x2d33db==null?void 0x0:_0x2d33db[_0x1185e1(0xb2)];else{if(_0x41f560===_0x1185e1(0x1e2)){const _0x137826=_0x585d00==null?void 0x0:_0x585d00['fi'];_0x137826!==void 0x0&&(_0x2d6619=_0x377cef[_0x1185e1(0x38c)](_0x137826));}}}}return{'filterId':_0x2d6619,'info':_0x2d33db,'data':_0x585d00,'headerInfo':_0x24e9f5};}function _0xd34b8d(_0x296957,_0x510b95,_0x6156d3){const _0x2adcc3=_0x2d3cd7,_0x533c74=_0x296957[_0x2adcc3(0x101)],_0x2fd92c=_0x533c74[_0x2adcc3(0x1df)](),_0x493fa1=new Set();_0x296957[_0x2adcc3(0x122)](_0x51c2f1=>{const _0x13225f=_0x2adcc3;_0x493fa1['add'](_0x51c2f1[_0x13225f(0x10a)]);});const _0x38adc2=_0x2fd92c[_0x2adcc3(0x1e5)](_0x21a2b6=>{const _0x5848fc=_0x2adcc3,_0x41a952=_0x533c74['getFieldById'](_0x21a2b6);return{'checked':_0x493fa1['has'](_0x21a2b6),'dataFieldId':_0x41a952['id'],'id':_0x41a952['id'],'name':_0x533c74[_0x5848fc(0x2f5)](_0x41a952['id']),'type':_0x41a952[_0x5848fc(0x22f)](),'pivotTableId':_0x510b95};}),_0x429ea1=[];_0x296957['iterateFieldByArea'](_0x3ed89a[_0x2adcc3(0x292)][_0x2adcc3(0x106)],_0x1de674=>{const _0xe4ccee=_0x2adcc3;_0x429ea1['push']({'dataFieldId':_0x1de674[_0xe4ccee(0x10a)],'tableFieldId':_0x1de674[_0xe4ccee(0x1c2)](),'displayName':_0x1de674[_0xe4ccee(0x2f5)]()});});const _0x102d89=[];_0x296957['iterateFieldByArea'](_0x3ed89a[_0x2adcc3(0x292)][_0x2adcc3(0x1b3)],_0x4ce367=>{const _0x35fdaa=_0x2adcc3;_0x102d89[_0x35fdaa(0xf8)]({'dataFieldId':_0x4ce367['dataFieldId'],'tableFieldId':_0x4ce367[_0x35fdaa(0x1c2)](),'displayName':_0x4ce367[_0x35fdaa(0x2f5)]()});});const _0x2eb358=[];if(_0x296957['iterateFieldByArea'](_0x3ed89a['PivotTableFiledAreaEnum'][_0x2adcc3(0x30f)],_0x52f336=>{const _0x43517d=_0x2adcc3;_0x2eb358[_0x43517d(0xf8)]({'dataFieldId':_0x52f336[_0x43517d(0x10a)],'tableFieldId':_0x52f336[_0x43517d(0x1c2)](),'displayName':_0x52f336[_0x43517d(0x2f5)](),'format':_0x52f336['getFormat'](),'subTotalType':_0x52f336[_0x43517d(0x21d)]()});}),_0x2eb358[_0x2adcc3(0x25f)]>0x1){const _0x2aafa8=_0x296957[_0x2adcc3(0x113)]();(_0x296957[_0x2adcc3(0x385)]()?_0x102d89:_0x429ea1)[_0x2adcc3(0x1c7)](_0x2aafa8,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':'ΣValue'});}const _0x25d543=[];_0x296957[_0x2adcc3(0x25a)](_0x3ed89a['PivotTableFiledAreaEnum'][_0x2adcc3(0x118)],_0x5295cd=>{const _0x1ebc8e=_0x2adcc3;_0x25d543[_0x1ebc8e(0xf8)]({'dataFieldId':_0x5295cd[_0x1ebc8e(0x10a)],'tableFieldId':_0x5295cd['getId'](),'displayName':_0x5295cd[_0x1ebc8e(0x2f5)]()});});const _0x3c35c9=_0x6156d3['sourceRangeInfo'];return{'sourceList':_0x38adc2,'sourceRange':_0x3c35c9,'rowFields':_0x429ea1,'columnFields':_0x102d89,'valueFields':_0x2eb358,'filterFields':_0x25d543,'positionInfo':_0x6156d3[_0x2adcc3(0x301)]};}function _0x38d384(_0x32632d,_0x257b5b,_0x2c4880='',_0x415098={}){const _0x116b75=_0x2d3cd7,_0xf6d650=_0x32632d[_0x116b75(0x33f)](_0x2814ce['LocaleService']);for(const _0x18a8c0 in _0x257b5b)if(Object['prototype'][_0x116b75(0x372)]['call'](_0x257b5b,_0x18a8c0)){const _0x5ee40a=_0x2c4880?_0x2c4880+'.'+_0x18a8c0:_0x18a8c0;typeof _0x257b5b[_0x18a8c0]==_0x116b75(0x1a1)&&_0x257b5b[_0x18a8c0]!==null&&!Array[_0x116b75(0x362)](_0x257b5b[_0x18a8c0])?_0x38d384(_0x32632d,_0x257b5b[_0x18a8c0],_0x5ee40a,_0x415098):_0x415098[_0x5ee40a]=_0xf6d650['t'](_0x5ee40a);}return _0x415098;}const _0x5e6293=_0x384523=>{const _0x371436=_0x2d3cd7;if(!_0x384523)return[];const {rowRanges:_0x14c4d4,colRanges:_0xdabf09,cornerRanges:_0x42bd17,dataRanges:_0x40f06c,pageRanges:_0x164907}=_0x384523,_0x2a481c=[..._0xdabf09,..._0x14c4d4,..._0x40f06c,..._0x42bd17][_0x371436(0x17e)](_0x30cb81=>_0x30cb81[_0x371436(0x338)]>=0x0&&_0x30cb81[_0x371436(0x367)]>=0x0&&_0x30cb81['endRow']>=0x0&&_0x30cb81[_0x371436(0x375)]>=0x0);let _0x515316=Number[_0x371436(0x198)],_0x544580=Number[_0x371436(0xee)],_0x322475=Number[_0x371436(0x198)],_0x54b826=Number['MIN_SAFE_INTEGER'];for(let _0x117e80=0x0;_0x117e80<_0x2a481c[_0x371436(0x25f)];_0x117e80++)_0x515316=Math[_0x371436(0x26b)](_0x515316,_0x2a481c[_0x117e80]['startRow']),_0x544580=Math[_0x371436(0x2bf)](_0x544580,_0x2a481c[_0x117e80][_0x371436(0x10b)]),_0x322475=Math[_0x371436(0x26b)](_0x322475,_0x2a481c[_0x117e80][_0x371436(0x367)]),_0x54b826=Math['max'](_0x54b826,_0x2a481c[_0x117e80][_0x371436(0x375)]);return[..._0x164907,{'startRow':_0x515316,'endRow':_0x544580,'startColumn':_0x322475,'endColumn':_0x54b826}];};function _0x2bb1f6(_0x3e8501,_0x43067b){const _0x522c1a=_0x2d3cd7,_0x2f996d=_0x43067b[_0x522c1a(0x9c)]['drillDown'],{pivotTableId:_0x5d03e6,unitId:_0x2c7ba4,subUnitId:_0x5a90da}=_0x43067b;if(!_0x2f996d)return;const _0x1c7293=_0x3e8501['get'](_0x159003['SheetsPivotDataSourceModel']),_0x3a634d=_0x1c7293[_0x522c1a(0x250)](_0x5d03e6),_0x3f2428=_0x1c7293['getPivotTableConfig'](_0x2c7ba4,_0x5a90da,_0x5d03e6);if(!_0x3a634d||!_0x3f2428)return;const _0x5f236f=_0x3a634d[_0x522c1a(0x85)](_0x2f996d[_0x522c1a(0x7f)]);if(!(_0x5f236f!=null&&_0x5f236f[_0x522c1a(0x25f)]))return;const _0x7e198c=_0x3f2428['sourceRangeInfo'],{unitId:_0x2732e5,subUnitId:_0x169483,range:_0x10ee64}=_0x7e198c;let _0x2cafe6=0x0;const _0x258299=_0x3a634d[_0x522c1a(0x101)][_0x522c1a(0x1df)]()[_0x522c1a(0xc1)]((_0x4af4c,_0x53261d)=>{const _0x15cafd=_0x522c1a;var _0x3a3301;const _0x5c5386=(_0x3a3301=_0x3a634d[_0x15cafd(0x8f)](_0x53261d))==null?void 0x0:_0x3a3301['getformat']();return _0x5c5386&&(_0x4af4c[String(_0x2cafe6)]=_0x5c5386),_0x2cafe6++,_0x4af4c;},{});return{'indexes':_0x5f236f,'range':_0x10ee64,'sourceUnitId':_0x2732e5,'sourceSubUnitId':_0x169483,'formatMap':_0x258299};}function _0x404469(_0x427217,_0x6ff2ff){const _0x59f77c=_0x2d3cd7;if(!_0x427217||!_0x6ff2ff)return!0x0;const _0x4fe276=_0xde1950[_0x59f77c(0x38a)](_0x5a898f,_0x1c86e9),_0x5639f3=new Function(_0x59f77c(0x12e)+_0x4fe276)()(_0x427217,_0x6ff2ff)[_0x59f77c(0x181)],_0x1536d2=_0xde1950[_0x59f77c(0x195)](_0x5639f3,'sf',_0x542082);return!((_0x5639f3==null?void 0x0:_0x5639f3['rt'])===_0xde1950[_0x59f77c(0x7e)][_0x59f77c(0x2c0)]&&!_0x1536d2);}function _0x104462(_0x3fbe7c,_0x23b27e,_0x1a66d7){const _0x335a7e=_0x2d3cd7,_0x220b80={'count':_0x3fbe7c,'timeValid':!0x1};if(!_0x23b27e||!_0x1a66d7)return _0x220b80;const _0x5b79bb=_0xde1950[_0x335a7e(0x38a)](_0x5a898f,_0x1c86e9),_0x142314=new Function(_0x335a7e(0x12e)+_0x5b79bb)()(_0x23b27e,_0x1a66d7);if(_0x142314!=null&&_0x142314[_0x335a7e(0x330)]){const _0x4f694e=_0x142314[_0x335a7e(0x181)],_0x160c98=_0xde1950[_0x335a7e(0x195)](_0x4f694e,'sf',_0x542082);return{'count':_0xde1950[_0x335a7e(0x1b2)](_0x4f694e,_0x160c98,_0x335a7e(0x10e),_0x3fbe7c,_0x3fbe7c,0x0),'timeValid':_0x160c98};}return _0x220b80;}function _0x34a613(_0x452207,_0x45b692,_0x41f83e,_0x344c3a){const _0xe7873a=_0x2d3cd7,_0x41dfe5={'subUnitId':_0x41f83e,'unitId':_0x45b692,'cellValue':_0x5cc6ba[_0xe7873a(0xe3)](_0x344c3a)},_0x307181=_0x5cc6ba[_0xe7873a(0x277)](_0x452207,_0x41dfe5);let _0x5d74bf=!0x1;return new _0x2814ce[(_0xe7873a(0x15b))](_0x307181['cellValue'])['forValue']((_0x3355,_0x1fea25,_0x21ebbe)=>{const _0x119b3a=_0xe7873a;if(!_0x5d74bf&&_0x21ebbe&&(_0x21ebbe[_0x119b3a(0x206)]||_0x21ebbe['f']||_0x21ebbe['p']||_0x21ebbe['s']||_0x21ebbe['si']||_0x21ebbe['t']||_0x21ebbe['v']))return _0x5d74bf=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x5cc6ba[_0xe7873a(0x1a7)]['id'],'params':_0x307181},'setRangeValueRedoMutation':{'id':_0x5cc6ba[_0xe7873a(0x1a7)]['id'],'params':_0x41dfe5},'shouldClear':_0x5d74bf};}function _0x3bc057(_0xb85543){const {row:_0x4f132c,col:_0x55cc0c}=_0xb85543,_0x53ab09={'startRow':_0x4f132c,'endRow':_0x4f132c,'startColumn':_0x55cc0c,'endColumn':_0x55cc0c},_0x3d0c01={'startRow':_0x4f132c+0x2,'endRow':_0x4f132c+0xe,'startColumn':_0x55cc0c,'endColumn':_0x55cc0c+0x6};return[_0x53ab09,_0x3d0c01];}function _0x312e8c(_0x223182,_0x449387,_0x1c2217){const _0x567bf1=_0x2d3cd7,{cornerView:_0x27da85,rowView:_0x5e971b,colView:_0x3e1cde,pageView:_0x2cfd0b}=_0x223182,{row:_0x525cd2,col:_0x3567d6}=_0x449387;if(_0x1c2217)return{'rowCount':_0x1a5fe3+_0x525cd2,'colCount':_0xdc74e6+_0x3567d6};const _0x4697d9=_0x2cfd0b[_0x567bf1(0xf1)]>-0x1?_0x2cfd0b[_0x567bf1(0xf1)]+0x1:0x0,_0x1f69eb=_0x2cfd0b[_0x567bf1(0x2e2)]>-0x1?_0x2cfd0b[_0x567bf1(0x2e2)]:0x0,_0x56fa59=_0x525cd2+_0x4697d9+(_0x4697d9?0x1:0x0)+_0x27da85[_0x567bf1(0x2a2)]+_0x5e971b[_0x567bf1(0x2a2)],_0x4d16d2=_0x3567d6+_0x1f69eb,_0x3f074c=_0x3567d6+_0x27da85[_0x567bf1(0x1aa)]+_0x3e1cde[_0x567bf1(0x1aa)],_0x505b52=Math[_0x567bf1(0x2bf)](_0x4d16d2,_0x3f074c);return{'rowCount':_0x56fa59,'colCount':_0x505b52};}function _0x21902f(_0x247c2e,_0x21bfb5,_0x5e92f2,_0x311203){const _0x1ba5c8=_0x2d3cd7,{row:_0x3ad980,col:_0x5aa1e9,unitId:_0xa4ddfe,subUnitId:_0x425ee4}=_0x5e92f2,_0x30dd97=_0x312e8c(_0x21bfb5,{'row':_0x3ad980,'col':_0x5aa1e9},_0x311203),_0x3fa9a2=_0x247c2e[_0x1ba5c8(0x33f)](_0x2814ce[_0x1ba5c8(0x368)]),_0x7a9b0d=_0x5cc6ba['getSheetCommandTarget'](_0x3fa9a2,{'unitId':_0xa4ddfe,'subUnitId':_0x425ee4}),_0xb01ec0=[],_0x147965=[];if(!_0x7a9b0d)return{'undos':_0x147965,'redos':_0xb01ec0};const {worksheet:_0x5c4a18}=_0x7a9b0d,_0x134ca3=_0x5c4a18[_0x1ba5c8(0x1f0)](),_0x3e25e7=_0x5c4a18['getColumnCount']();return _0x134ca3<_0x30dd97['rowCount']&&(_0xb01ec0[_0x1ba5c8(0xf8)]({'id':_0x5cc6ba[_0x1ba5c8(0x33c)]['id'],'params':{'unitId':_0xa4ddfe,'subUnitId':_0x425ee4,'range':{'startRow':_0x134ca3,'endRow':_0x30dd97[_0x1ba5c8(0x2a2)]-0x1,'startColumn':0x0,'endColumn':_0x3e25e7-0x1}}}),_0x147965[_0x1ba5c8(0xf8)]({'id':_0x5cc6ba['RemoveRowMutation']['id'],'params':{'unitId':_0xa4ddfe,'subUnitId':_0x425ee4,'range':{'startRow':_0x134ca3,'endRow':_0x30dd97['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x3e25e7-0x1}}})),_0x3e25e7<_0x30dd97[_0x1ba5c8(0x1aa)]&&(_0xb01ec0[_0x1ba5c8(0xf8)]({'id':_0x5cc6ba['InsertColMutation']['id'],'params':{'unitId':_0xa4ddfe,'subUnitId':_0x425ee4,'range':{'startRow':0x0,'endRow':_0x134ca3-0x1,'startColumn':_0x3e25e7,'endColumn':_0x30dd97[_0x1ba5c8(0x1aa)]-0x1}}}),_0x147965[_0x1ba5c8(0xf8)]({'id':_0x5cc6ba['RemoveColMutation']['id'],'params':{'unitId':_0xa4ddfe,'subUnitId':_0x425ee4,'range':{'startRow':0x0,'endRow':_0x134ca3-0x1,'startColumn':_0x3e25e7,'endColumn':_0x30dd97[_0x1ba5c8(0x1aa)]-0x1}}})),{'undos':_0x147965,'redos':_0xb01ec0};}function _0x331f48(_0x28a9e5){const _0x3b525f=_0x2d3cd7;let _0x22b3cb=0x0;for(let _0x2a1b59=0x0;_0x2a1b59<_0x28a9e5[_0x3b525f(0x25f)];_0x2a1b59++){const _0x5b3501=_0x28a9e5[_0x3b525f(0x2d3)](_0x2a1b59);_0x5b3501>=0x4e00&&_0x5b3501<=0x9fff||_0x5b3501>=0x3000&&_0x5b3501<=0x303f||_0x5b3501>=0xff00&&_0x5b3501<=0xffef?_0x22b3cb+=0x2:_0x22b3cb+=0x1;}return _0x22b3cb;}function _0x5229da(_0x3f250c,_0x383a17,_0x34baf8,_0x5dfe98){const _0x474f15=_0x2d3cd7;var _0x27dc13,_0x26f10f,_0x41bb9a,_0x1406f7;const {rowCount:_0x15cac9,colCount:_0x307fc5,headerMap:_0x30b68c}=_0x3f250c,_0x56bee0=0x64,_0x3ea19b=Math[_0x474f15(0x26b)](_0x15cac9,_0x56bee0),_0x141c15=Math[_0x474f15(0x26b)](_0x307fc5,_0x56bee0);let _0x46a3b3='',_0x921ed6=0x0;for(let _0x5b9e9b=0x0;_0x5b9e9b<_0x3ea19b;_0x5b9e9b++)for(let _0x1ab145=0x0;_0x1ab145<_0x141c15;_0x1ab145++){const _0x15cb05={...(_0x26f10f=(_0x27dc13=_0x3f250c[_0x474f15(0x298)])==null?void 0x0:_0x27dc13[_0x5b9e9b])==null?void 0x0:_0x26f10f[_0x1ab145]},_0x56506a=(_0x41bb9a=_0x30b68c[_0x5b9e9b])==null?void 0x0:_0x41bb9a[_0x474f15(0xb2)],_0x1ad268=_0x5dfe98[_0x56506a];let _0x45d1dd=_0x3f250c[_0x474f15(0x16a)](_0x5b9e9b,_0x1ab145);if(_0x15cb05){const _0x42c066=_0x34baf8?_0x1ab145===0x0&&((_0x1406f7=_0x3f250c[_0x474f15(0x272)](_0x1ab145+0x1))==null?void 0x0:_0x1406f7['isValue']):!0x1;_0x45d1dd=_0x5764ab(_0x15cb05,_0x42c066,_0x1ad268,_0x383a17);}if(_0x45d1dd!==void 0x0){const _0x5a7d78=_0x331f48(String(_0x45d1dd));_0x921ed6<_0x5a7d78&&(_0x46a3b3=String(_0x45d1dd),_0x921ed6=_0x5a7d78);}}return _0x46a3b3;}function _0x4af06f(_0x33292b){const _0xdc917c=_0x2d3cd7,{rowCount:_0xcb9183,colCount:_0x19e5af}=_0x33292b;let _0x11abae='',_0x293b52=0x0;for(let _0x5e9d67=_0xcb9183-0x1;_0x5e9d67>0x0&&_0x5e9d67>_0xcb9183-0x3;_0x5e9d67--)for(let _0x3dbdeb=0x0;_0x3dbdeb<_0x19e5af;_0x3dbdeb++){const _0x46f84c=_0x33292b[_0xdc917c(0x16a)](_0x5e9d67,_0x3dbdeb);if(_0x46f84c!==void 0x0){const _0x1c8873=String(_0x46f84c)[_0xdc917c(0x25f)];_0x293b52<_0x1c8873&&(_0x11abae=String(_0x46f84c),_0x293b52=_0x1c8873);}}return _0x11abae;}function _0x5225e7(_0x2a3178){const _0x215937=_0x2d3cd7,{rowCount:_0x3edda5,colCount:_0x3a0614}=_0x2a3178;let _0x9cc9b7='',_0x4f005b=0x0;for(let _0x325b19=0x0;_0x325b19<_0x3edda5;_0x325b19++)for(let _0x4372a2=0x0;_0x4372a2<_0x3a0614;_0x4372a2++){const _0x3685c7=_0x2a3178[_0x215937(0x16a)](_0x325b19,_0x4372a2);if(_0x3685c7!==void 0x0){const _0x10ecb5=String(_0x3685c7)[_0x215937(0x25f)];_0x4f005b<_0x10ecb5&&(_0x9cc9b7=String(_0x3685c7),_0x4f005b=_0x10ecb5);}}return _0x9cc9b7;}function _0x37b34a(_0x53997d,_0x1d00e0){const _0x3ced55=_0x2d3cd7,{rowFields:_0x4b815c,columnFields:_0x4cb9f2,valueFields:_0x35c406,filterFields:_0x29b334,dimension:_0x192d3e,measure:_0x40b654}=_0x1d00e0;for(const _0x333b3d of _0x4b815c){const _0x469dee=_0x192d3e[_0x333b3d];_0x469dee&&_0x53997d[_0x3ced55(0x8f)](_0x469dee[_0x3ced55(0x10a)])&&(_0x53997d[_0x3ced55(0x390)](_0x469dee[_0x3ced55(0x10a)],_0x3ed89a[_0x3ced55(0x292)][_0x3ced55(0x106)],void 0x0,_0x333b3d),_0x469dee[_0x3ced55(0x38e)]&&_0x53997d[_0x3ced55(0x273)](_0x469dee['id'],_0x469dee[_0x3ced55(0x38e)]),_0x469dee[_0x3ced55(0x81)]&&_0x53997d[_0x3ced55(0x258)](_0x469dee['id'],_0x469dee[_0x3ced55(0x81)]),_0x469dee['filterInfo']&&_0x53997d['setLabelFilterInfo'](_0x469dee['id'],_0x469dee['filterInfo']));}for(const _0x500e47 of _0x4cb9f2){const _0x3780e9=_0x192d3e[_0x500e47];_0x3780e9&&_0x53997d[_0x3ced55(0x8f)](_0x3780e9[_0x3ced55(0x10a)])&&(_0x53997d[_0x3ced55(0x390)](_0x3780e9['dataFieldId'],_0x3ed89a[_0x3ced55(0x292)]['Column'],void 0x0,_0x500e47),_0x3780e9[_0x3ced55(0x81)]&&_0x53997d[_0x3ced55(0x258)](_0x3780e9['id'],_0x3780e9[_0x3ced55(0x81)]),_0x3780e9[_0x3ced55(0x36a)]&&_0x53997d[_0x3ced55(0x95)](_0x3780e9['id'],_0x3780e9[_0x3ced55(0x36a)]),_0x3780e9[_0x3ced55(0x38e)]&&_0x53997d[_0x3ced55(0x273)](_0x3780e9['id'],_0x3780e9['displayName']));}for(const _0x437917 of _0x29b334){const _0x1fb8c5=_0x192d3e[_0x437917];_0x1fb8c5&&_0x53997d[_0x3ced55(0x8f)](_0x1fb8c5[_0x3ced55(0x10a)])&&(_0x53997d[_0x3ced55(0x390)](_0x1fb8c5['dataFieldId'],_0x3ed89a[_0x3ced55(0x292)][_0x3ced55(0x118)],void 0x0,_0x437917),_0x1fb8c5['sortInfo']&&_0x53997d[_0x3ced55(0x258)](_0x1fb8c5['id'],_0x1fb8c5['sortInfo']),_0x1fb8c5[_0x3ced55(0x36a)]&&_0x53997d[_0x3ced55(0x95)](_0x1fb8c5['id'],_0x1fb8c5[_0x3ced55(0x36a)]),_0x1fb8c5[_0x3ced55(0x38e)]&&_0x53997d[_0x3ced55(0x273)](_0x1fb8c5['id'],_0x1fb8c5['displayName']));}for(const _0x61634d of _0x35c406){const _0x36e61d=_0x40b654[_0x61634d];_0x36e61d&&_0x53997d[_0x3ced55(0x8f)](_0x36e61d[_0x3ced55(0x10a)])&&(_0x53997d[_0x3ced55(0x390)](_0x36e61d[_0x3ced55(0x10a)],_0x3ed89a['PivotTableFiledAreaEnum'][_0x3ced55(0x30f)],void 0x0,_0x61634d),_0x36e61d['subtotal']!==void 0x0&&_0x53997d[_0x3ced55(0x30a)](_0x61634d,_0x36e61d[_0x3ced55(0x2f7)]),_0x36e61d[_0x3ced55(0x37c)]&&_0x53997d[_0x3ced55(0x156)](_0x61634d,_0x36e61d[_0x3ced55(0x37c)]),_0x36e61d[_0x3ced55(0x38e)]&&_0x53997d[_0x3ced55(0x273)](_0x36e61d['id'],_0x36e61d[_0x3ced55(0x38e)]));}const _0x518060=_0x1d00e0[_0x3ced55(0x1ed)];for(const {fieldId:_0x5127f5,filterInfo:_0x59354d}of _0x518060)_0x53997d['setValueFilterInfo'](_0x5127f5,_0x59354d);}function _0x39e240(_0x38fdb8,_0x3dfe7a){const _0x50eea3=_0x2d3cd7,_0x3a7088=[];_0x3dfe7a===_0x3ed89a[_0x50eea3(0x292)][_0x50eea3(0x106)]&&_0x38fdb8[_0x50eea3(0x25a)](_0x3ed89a['PivotTableFiledAreaEnum']['Row'],_0x1334ed=>{const _0x5c5d32=_0x50eea3;_0x3a7088[_0x5c5d32(0xf8)](_0x1334ed[_0x5c5d32(0x1c2)]());}),_0x3dfe7a===_0x3ed89a[_0x50eea3(0x292)]['Column']&&_0x38fdb8['iterateFieldByArea'](_0x3ed89a[_0x50eea3(0x292)][_0x50eea3(0x1b3)],_0x1ce8d8=>{const _0x43915e=_0x50eea3;_0x3a7088['push'](_0x1ce8d8[_0x43915e(0x1c2)]());}),_0x3dfe7a===_0x3ed89a[_0x50eea3(0x292)][_0x50eea3(0x118)]&&_0x38fdb8[_0x50eea3(0x25a)](_0x3ed89a[_0x50eea3(0x292)]['Filter'],_0x986898=>{const _0x9783b7=_0x50eea3;_0x3a7088[_0x9783b7(0xf8)](_0x986898[_0x9783b7(0x1c2)]());}),_0x3dfe7a===_0x3ed89a[_0x50eea3(0x292)][_0x50eea3(0x30f)]&&_0x38fdb8['iterateFieldByArea'](_0x3ed89a[_0x50eea3(0x292)][_0x50eea3(0x30f)],_0x1643d0=>{const _0x65f52a=_0x50eea3;_0x3a7088[_0x65f52a(0xf8)](_0x1643d0[_0x65f52a(0x1c2)]());}),_0x3dfe7a===void 0x0&&_0x38fdb8[_0x50eea3(0x122)](_0x159a85=>{const _0x3c8a0b=_0x50eea3;_0x3a7088[_0x3c8a0b(0xf8)](_0x159a85[_0x3c8a0b(0x1c2)]());});const _0x2d4a02=_0x3a7088[_0x50eea3(0x25f)];for(let _0x43e67f=_0x2d4a02-0x1;_0x43e67f>=0x0;_0x43e67f--)_0x38fdb8[_0x50eea3(0x256)](_0x3a7088[_0x43e67f]);const _0x572a49=_0x38fdb8[_0x50eea3(0x124)]();for(const _0x1785e1 in _0x572a49)_0x38fdb8[_0x50eea3(0x2ad)](_0x1785e1);}function _0x2c2634(_0x8f631c,_0x5ceed5){const _0xd1a7ed=_0x2d3cd7,_0x18712b=new Date(_0x3ed89a[_0xd1a7ed(0x28e)](_0x5ceed5)),_0x2a98f8=new Date(_0x3ed89a[_0xd1a7ed(0x28e)](_0x8f631c)),_0x29be98=_0x18712b[_0xd1a7ed(0xd9)](),_0x1fb3ac=_0x2a98f8['getFullYear'](),_0x27b613=_0x18712b[_0xd1a7ed(0x209)](),_0x3f09f2=_0x2a98f8[_0xd1a7ed(0x209)](),_0x5ca6b1=_0x18712b[_0xd1a7ed(0x2ed)](),_0x351207=_0x2a98f8[_0xd1a7ed(0x2ed)](),_0x556172=_0x29be98===_0x1fb3ac,_0x5d6f18=_0x556172&&_0x27b613===_0x3f09f2;return _0x556172&&_0x5d6f18&&!(_0x5d6f18&&_0x5ca6b1===_0x351207)?_0x3ed89a[_0xd1a7ed(0x33a)][_0xd1a7ed(0x175)]:_0x556172&&!_0x5d6f18?_0x3ed89a[_0xd1a7ed(0x33a)][_0xd1a7ed(0x1fe)]:_0x3ed89a[_0xd1a7ed(0x33a)][_0xd1a7ed(0x1cc)];}function _0x3996df(_0x4daa75,_0x1f17e9){const _0x34b64f=_0x2d3cd7,_0x10547f=_0x4daa75[_0x34b64f(0x33f)](_0x159003[_0x34b64f(0x187)])['getTextInfo']();let _0x193b44='';switch(_0x1f17e9){case _0x3ed89a[_0x34b64f(0x33a)][_0x34b64f(0x175)]:_0x193b44=_0x10547f[_0x34b64f(0x162)];break;case _0x3ed89a[_0x34b64f(0x33a)][_0x34b64f(0x1fe)]:_0x193b44=_0x10547f[_0x34b64f(0x257)];break;case _0x3ed89a[_0x34b64f(0x33a)][_0x34b64f(0x1cc)]:_0x193b44=_0x10547f[_0x34b64f(0x28f)];break;case _0x3ed89a[_0x34b64f(0x33a)][_0x34b64f(0x100)]:_0x193b44=_0x10547f[_0x34b64f(0x2df)];break;case _0x3ed89a['PivotDateGroupFieldDateTypeEnum'][_0x34b64f(0x316)]:_0x193b44=_0x10547f['sheets-pivot.dateGroup.quarter'];break;case _0x3ed89a[_0x34b64f(0x33a)][_0x34b64f(0x31e)]:_0x193b44=_0x10547f['sheets-pivot.dateGroup.date'];break;case _0x3ed89a[_0x34b64f(0x33a)][_0x34b64f(0x218)]:_0x193b44=_0x10547f[_0x34b64f(0x24a)];break;case _0x3ed89a[_0x34b64f(0x33a)][_0x34b64f(0x1e3)]:_0x193b44=_0x10547f[_0x34b64f(0xa7)];break;case _0x3ed89a['PivotDateGroupFieldDateTypeEnum'][_0x34b64f(0xef)]:_0x193b44=_0x10547f['sheets-pivot.dateGroup.minute'];break;case _0x3ed89a[_0x34b64f(0x33a)][_0x34b64f(0xfa)]:_0x193b44=_0x10547f[_0x34b64f(0x15f)];break;case _0x3ed89a[_0x34b64f(0x33a)][_0x34b64f(0xcf)]:_0x193b44=_0x10547f[_0x34b64f(0x119)];break;default:_0x193b44='';break;}return _0x193b44;}const _0x3eacdb=_0x2d3cd7(0x201),_0x2e2525={};var _0x4d3d40=Object[_0x2d3cd7(0x11f)],_0x52a174=(_0x3985fe,_0x37c825,_0x483b3e,_0x2b39eb)=>{const _0x5c744f=_0x2d3cd7;for(var _0x145a38=_0x2b39eb>0x1?void 0x0:_0x2b39eb?_0x4d3d40(_0x37c825,_0x483b3e):_0x37c825,_0x142a80=_0x3985fe[_0x5c744f(0x25f)]-0x1,_0x58610f;_0x142a80>=0x0;_0x142a80--)(_0x58610f=_0x3985fe[_0x142a80])&&(_0x145a38=_0x58610f(_0x145a38)||_0x145a38);return _0x145a38;},_0x52cc5b=(_0x4bc244,_0x3b9faf)=>(_0x4574b0,_0x5d30a8)=>_0x3b9faf(_0x4574b0,_0x5d30a8,_0x4bc244);_0x159003['SheetsPivotTableConfigModel']=class extends _0x2814ce['Disposable']{constructor(_0x5a4e24,_0x2581b5,_0xc562e7,_0x1f49fc,_0x864036){const _0x110cd3=_0x2d3cd7;super(),_0x4a4d7d(this,'_model',new Map()),_0x4a4d7d(this,_0x110cd3(0x291),new Map()),_0x4a4d7d(this,_0x110cd3(0x19b),new Map()),_0x4a4d7d(this,'_pivotTableMatrixInfo',new Map()),_0x4a4d7d(this,_0x110cd3(0x18e),new _0x139446['Subject']()),_0x4a4d7d(this,_0x110cd3(0x9f),new _0x139446[(_0x110cd3(0x226))]()),_0x4a4d7d(this,'pivotInitCompleted$',this[_0x110cd3(0x9f)][_0x110cd3(0x2fb)]()),_0x4a4d7d(this,_0x110cd3(0x7c),new _0x139446[(_0x110cd3(0x226))]()),_0x4a4d7d(this,_0x110cd3(0x86),this[_0x110cd3(0x7c)]['asObservable']()),_0x4a4d7d(this,_0x110cd3(0x32b),{}),_0x4a4d7d(this,_0x110cd3(0xbe),this[_0x110cd3(0x18e)][_0x110cd3(0x2fb)]()),(this['_injector']=_0x5a4e24,this[_0x110cd3(0x341)]=_0x2581b5,this[_0x110cd3(0x37f)]=_0xc562e7,this[_0x110cd3(0x333)]=_0x1f49fc,this['_configService']=_0x864036,this[_0x110cd3(0x192)](),this[_0x110cd3(0x286)]());const _0x5e91c3=this['_configService'][_0x110cd3(0xd1)](_0x3eacdb);(_0x5e91c3==null?void 0x0:_0x5e91c3[_0x110cd3(0xb8)])===!0x0&&this[_0x110cd3(0x222)]();}[_0x2d3cd7(0x286)](){const _0x4f846d=_0x2d3cd7;this[_0x4f846d(0xd4)](this[_0x4f846d(0x37f)][_0x4f846d(0x99)](_0x2814ce['UniverInstanceType'][_0x4f846d(0x30e)])['subscribe'](_0x475498=>{const _0x4f004f=_0x4f846d;this[_0x4f004f(0xbb)](_0x475498[_0x4f004f(0x388)]());}));}[_0x2d3cd7(0x24c)](){const _0x278c97=_0x2d3cd7;this[_0x278c97(0x9f)][_0x278c97(0x382)](!0x0);}['_initLocale'](){const _0xd6147=_0x2d3cd7,_0x47c8c7=_0x38d384(this['_injector'],_0x1ab070,'',{});this[_0xd6147(0x32b)]=_0x47c8c7,this['_commandService'][_0xd6147(0x334)](_0x411e65['id'],{'textInfo':_0x47c8c7},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x118d43=_0x2d3cd7;return this[_0x118d43(0x32b)];}[_0x2d3cd7(0x1e9)](_0x30bcf7,_0x42793a,_0x2813ee,_0x595a59,_0x5caa34){const _0x566e43=_0x2d3cd7;this['updatePivotTableMatrixInfo'](_0x30bcf7,_0x42793a,_0x2813ee,_0x595a59),this[_0x566e43(0x111)](_0x30bcf7,_0x42793a,_0x2813ee,_0x5caa34);}['getPivotTableConfig'](_0x125b9f,_0x54c6b9,_0x534899){const _0x112a7c=_0x2d3cd7;var _0x155653;const _0x4cadd7=(_0x155653=this['_model'][_0x112a7c(0x33f)](_0x125b9f))==null?void 0x0:_0x155653['get'](_0x54c6b9);if(_0x4cadd7)return _0x4cadd7[_0x112a7c(0x33f)](_0x534899);}[_0x2d3cd7(0xcb)](_0x566c15,_0x52fbaa){const _0x1a6256=_0x2d3cd7,_0x207a8d=this[_0x1a6256(0x28d)][_0x1a6256(0x33f)](_0x566c15);if(_0x207a8d){for(const [_0x180124,_0x2bc78b]of _0x207a8d[_0x1a6256(0x303)]())for(const [_0x2bba27,_0x196484]of _0x2bc78b[_0x1a6256(0x303)]())if(_0x2bba27===_0x52fbaa)return _0x196484[_0x1a6256(0x301)];}}['getTargetByPivotId'](_0x3c5075,_0x18ee45,_0x2e3563){const _0x46ad44=_0x2d3cd7,_0x53d0f5=this['getPivotTableConfig'](_0x3c5075,_0x18ee45,_0x2e3563);return _0x53d0f5==null?void 0x0:_0x53d0f5[_0x46ad44(0x301)];}['getSubUnitPivotConfigs'](_0x480172,_0x119c3d){const _0x5365b9=_0x2d3cd7;var _0x2f4a1d;return(_0x2f4a1d=this[_0x5365b9(0x28d)]['get'](_0x480172))==null?void 0x0:_0x2f4a1d[_0x5365b9(0x33f)](_0x119c3d);}['updateConfigCache'](_0x37be0e,_0x2735b6,_0x28e930,_0x283769){const _0x324012=_0x2d3cd7,_0x5f42c2=this[_0x324012(0x2d1)](_0x37be0e,_0x2735b6);_0x283769?_0x5f42c2[_0x324012(0x1f8)](_0x28e930,_0x283769):_0x5f42c2[_0x324012(0xa1)](_0x28e930),this[_0x324012(0x7c)][_0x324012(0x382)]({'unitId':_0x37be0e,'subUnitId':_0x2735b6,'pivotTableId':_0x28e930,'pivotTableConfig':_0x283769});}[_0x2d3cd7(0x2bb)](_0xdc74f2,_0x3f5fe2){const _0x5268d6=_0x2d3cd7;var _0x13879d;return(_0x13879d=this[_0x5268d6(0x291)][_0x5268d6(0x33f)](_0xdc74f2))==null?void 0x0:_0x13879d['collections'][_0x3f5fe2];}['updateCollectionConfig'](_0x486de8,_0x37317c){const _0x4fe907=_0x2d3cd7;this[_0x4fe907(0x291)]['set'](_0x486de8,_0x37317c),this[_0x4fe907(0x18e)]['next'](Math['random']());}[_0x2d3cd7(0x2d1)](_0x3fcc0e,_0x5255a4){const _0x38c0b2=_0x2d3cd7;let _0xc8b279=this[_0x38c0b2(0x28d)]['get'](_0x3fcc0e);_0xc8b279||(_0xc8b279=new Map(),this[_0x38c0b2(0x28d)][_0x38c0b2(0x1f8)](_0x3fcc0e,_0xc8b279));let _0x246a1a=_0xc8b279['get'](_0x5255a4);return _0x246a1a||(_0x246a1a=new Map(),_0xc8b279['set'](_0x5255a4,_0x246a1a)),_0x246a1a;}[_0x2d3cd7(0x18c)](_0x475307,_0x5f4e7c){const _0x55fde9=_0x2d3cd7;let _0xc87bc1=this[_0x55fde9(0x19b)][_0x55fde9(0x33f)](_0x475307);_0xc87bc1||(_0xc87bc1=new Map(),this[_0x55fde9(0x19b)][_0x55fde9(0x1f8)](_0x475307,_0xc87bc1));let _0x4099b4=_0xc87bc1[_0x55fde9(0x33f)](_0x5f4e7c);return _0x4099b4||(_0x4099b4=new Map(),_0xc87bc1[_0x55fde9(0x1f8)](_0x5f4e7c,_0x4099b4)),_0x4099b4;}[_0x2d3cd7(0x309)](_0x40b36c,_0x5d82b9){const _0x4a0c51=_0x2d3cd7;let _0x4e0c33=this[_0x4a0c51(0x310)][_0x4a0c51(0x33f)](_0x40b36c);_0x4e0c33||(_0x4e0c33=new Map(),this[_0x4a0c51(0x310)][_0x4a0c51(0x1f8)](_0x40b36c,_0x4e0c33));let _0x86af24=_0x4e0c33['get'](_0x5d82b9);return _0x86af24||(_0x86af24=new Map(),_0x4e0c33[_0x4a0c51(0x1f8)](_0x5d82b9,_0x86af24)),_0x86af24;}['updatePivotTableRangeInfo'](_0x5c1078,_0x55b8b8,_0xfbb851,_0x360a65){const _0x1c9cf1=_0x2d3cd7;var _0x513907;const _0x4fcedc=this[_0x1c9cf1(0x18c)](_0x5c1078,_0x55b8b8),_0x5104cb=(_0x513907=_0x4fcedc['get'](_0xfbb851))==null?void 0x0:_0x513907[_0x1c9cf1(0x1b0)];_0x4fcedc[_0x1c9cf1(0x1f8)](_0xfbb851,{'oldRangeInfo':_0x5104cb,'rangeInfo':_0x360a65});}[_0x2d3cd7(0x1d3)](_0x12694e,_0x1f0ccc,_0x17368a,_0x4ec6f7){const _0x16fe16=_0x2d3cd7;var _0x45b3ab;const _0x3c9396=this[_0x16fe16(0x309)](_0x12694e,_0x1f0ccc),_0x1d5ea2=(_0x45b3ab=_0x3c9396[_0x16fe16(0x33f)](_0x17368a))==null?void 0x0:_0x45b3ab['oldMatrix'];_0x3c9396[_0x16fe16(0x1f8)](_0x17368a,{'oldMatrix':_0x1d5ea2,'matrix':_0x4ec6f7});}[_0x2d3cd7(0x8c)](_0x4a7da2,_0xa2fde4,_0x1c92b4){const _0x35aa15=_0x2d3cd7;var _0x4ed24c,_0x25fb07;return(_0x25fb07=(_0x4ed24c=this[_0x35aa15(0x19b)][_0x35aa15(0x33f)](_0x4a7da2))==null?void 0x0:_0x4ed24c[_0x35aa15(0x33f)](_0xa2fde4))==null?void 0x0:_0x25fb07[_0x35aa15(0x33f)](_0x1c92b4);}['getPivotTableMatrixInfo'](_0x2f1024,_0x6045ee,_0x2d2572){const _0x5880d9=_0x2d3cd7;var _0x3cb388,_0x586937;return(_0x586937=(_0x3cb388=this[_0x5880d9(0x310)][_0x5880d9(0x33f)](_0x2f1024))==null?void 0x0:_0x3cb388[_0x5880d9(0x33f)](_0x6045ee))==null?void 0x0:_0x586937['get'](_0x2d2572);}[_0x2d3cd7(0xbb)](_0x4b4917){const _0x54b8d0=_0x2d3cd7;this[_0x54b8d0(0x28d)]['delete'](_0x4b4917),this[_0x54b8d0(0x291)][_0x54b8d0(0xa1)](_0x4b4917);}['_toJSON'](_0x2433e8){const _0x85a08e=_0x2d3cd7,_0x47fb9e={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x85a08e(0x291)]['get'](_0x2433e8)&&(_0x47fb9e['dataFieldManagerConfig'][_0x2433e8]=this[_0x85a08e(0x291)][_0x85a08e(0x33f)](_0x2433e8)),this['_model'][_0x85a08e(0x33f)](_0x2433e8)){_0x47fb9e['pivotTableConfigs'][_0x2433e8]={};const _0x6c9f09=this[_0x85a08e(0x28d)][_0x85a08e(0x33f)](_0x2433e8);_0x6c9f09!=null&&_0x6c9f09[_0x85a08e(0x102)]&&[..._0x6c9f09[_0x85a08e(0x22a)]()][_0x85a08e(0x34b)](_0x5abc98=>{const _0x4ea591=_0x85a08e,_0x31e491=_0x6c9f09[_0x4ea591(0x33f)](_0x5abc98);_0x31e491!=null&&_0x31e491[_0x4ea591(0x102)]&&(_0x47fb9e[_0x4ea591(0x16d)][_0x2433e8][_0x5abc98]={},[..._0x31e491[_0x4ea591(0x22a)]()][_0x4ea591(0x34b)](_0x1829db=>{const _0x2d43e7=_0x4ea591,_0x85c2a9=_0x31e491[_0x2d43e7(0x33f)](_0x1829db);_0x85c2a9&&(_0x47fb9e[_0x2d43e7(0x16d)][_0x2433e8][_0x5abc98][_0x1829db]=_0x85c2a9);}));});}return _0x47fb9e;}[_0x2d3cd7(0x222)](){const _0x5eb45b=_0x2d3cd7;this['disposeWithMe'](this[_0x5eb45b(0x333)]['registerPluginResource']({'toJson':_0x399b55=>JSON[_0x5eb45b(0x184)](this[_0x5eb45b(0x1ec)](_0x399b55)),'parseJson':_0x578cc9=>({}),'businesses':[_0x2814ce['UniverInstanceType']['UNIVER_SHEET']],'pluginName':_0x3e4154,'onLoad':(_0x56fa19,_0x14b2fa)=>{},'onUnLoad':_0x374ca3=>{const _0x14be9d=_0x5eb45b;this[_0x14be9d(0xbb)](_0x374ca3);}}));}},_0x159003['SheetsPivotTableConfigModel']=_0x52a174([_0x52cc5b(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x167)])),_0x52cc5b(0x1,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce['ICommandService'])),_0x52cc5b(0x2,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x368)])),_0x52cc5b(0x3,_0x2814ce['Inject'](_0x2814ce[_0x2d3cd7(0x2d8)])),_0x52cc5b(0x4,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0xca)]))],_0x159003['SheetsPivotTableConfigModel']);var _0x3c2555=Object[_0x2d3cd7(0x11f)],_0x2d0cd6=(_0xedfea9,_0x5684aa,_0x5e4061,_0x2b7681)=>{for(var _0x2b75e6=_0x2b7681>0x1?void 0x0:_0x2b7681?_0x3c2555(_0x5684aa,_0x5e4061):_0x5684aa,_0x1b6d9e=_0xedfea9['length']-0x1,_0x1d8a7c;_0x1b6d9e>=0x0;_0x1b6d9e--)(_0x1d8a7c=_0xedfea9[_0x1b6d9e])&&(_0x2b75e6=_0x1d8a7c(_0x2b75e6)||_0x2b75e6);return _0x2b75e6;},_0x2c3cf2=(_0x3f4e90,_0x5dee6d)=>(_0x1ff6b8,_0x4fa981)=>_0x5dee6d(_0x1ff6b8,_0x4fa981,_0x3f4e90);_0x159003['SheetsPivotTableAdaptorModel']=class extends _0x2814ce['Disposable']{constructor(_0x31b0c9,_0x101eca,_0x5bb4bd,_0x108f74,_0x38e60a){const _0x28b0ba=_0x2d3cd7;super(),_0x4a4d7d(this,_0x28b0ba(0x315),new Map()),_0x4a4d7d(this,_0x28b0ba(0x27e),new Map()),_0x4a4d7d(this,_0x28b0ba(0xf3),new _0x139446['Subject']()),_0x4a4d7d(this,'markDirty$',this[_0x28b0ba(0xf3)]['asObservable']()),_0x4a4d7d(this,_0x28b0ba(0x12f),new _0x139446[(_0x28b0ba(0x226))]()),_0x4a4d7d(this,'viewUpdate$',this[_0x28b0ba(0x12f)][_0x28b0ba(0x2fb)]()),_0x4a4d7d(this,_0x28b0ba(0x32b)),(this['_localeService']=_0x31b0c9,this[_0x28b0ba(0x1a6)]=_0x101eca,this[_0x28b0ba(0x356)]=_0x5bb4bd,this[_0x28b0ba(0x37f)]=_0x108f74,this['_exclusiveRangeService']=_0x38e60a,this[_0x28b0ba(0x192)](),this[_0x28b0ba(0x286)]());}[_0x2d3cd7(0x286)](){const _0x16de86=_0x2d3cd7;this[_0x16de86(0xd4)](this[_0x16de86(0x37f)][_0x16de86(0x99)](_0x2814ce[_0x16de86(0x234)]['UNIVER_SHEET'])['subscribe'](_0x2b2a2b=>{this['deleteUnitId'](_0x2b2a2b['getUnitId']());}));}['_initLocale'](){const _0x443907=_0x2d3cd7;this[_0x443907(0x32b)]=_0x38d384(this['_injector'],_0x1ab070,'',{});}[_0x2d3cd7(0x9b)](_0x2faf34){const _0x303d61=_0x2d3cd7,{view:_0x5602cb,unitId:_0x3d381b,subUnitId:_0xd6d6a5,pivotTableId:_0x3af64f,type:_0x496ddf}=_0x2faf34,_0x3474d5=this[_0x303d61(0x356)][_0x303d61(0x2e4)](_0x3d381b,_0xd6d6a5,_0x3af64f);if(!_0x5602cb||!_0x3474d5||_0x496ddf===_0x2229c0[_0x303d61(0x15c)])return;const {pageView:_0x5cec77,cornerView:_0x426c0c,rowView:_0x377a8b,colView:_0x244542,dataView:_0xb9b095}=_0x5602cb,_0x20acda=_0x3474d5[_0x303d61(0x301)],_0x16571b=_0x3474d5[_0x303d61(0x26e)],_0x40e479=this['_ensurePivotItemRenderValueMatrixCache'](_0x3d381b,_0xd6d6a5),_0x336985=this[_0x303d61(0x325)](_0x3d381b,_0xd6d6a5,_0x3af64f);if(_0x16571b)return this[_0x303d61(0x221)](_0x2faf34,_0x40e479,_0x20acda,_0x336985);{const _0x3072eb=_0x341800(_0x20acda,_0x5cec77,!0x0),_0x4d7960=_0x5cec77[_0x303d61(0xf1)]>=0x0?_0x5cec77['lastRow']+0x1:0x0,_0x1388c9=_0x426c0c['getRowCount'](),_0x2ba085=_0x426c0c[_0x303d61(0x180)](),_0x3b58d6=_0x3072eb[_0x303d61(0x25f)]>0x0?_0x1312a9:0x0,_0x2b0cca=_0x341800({'row':_0x20acda[_0x303d61(0x363)]+_0x4d7960+_0x3b58d6,'col':_0x20acda[_0x303d61(0x117)]},_0x426c0c,!0x1,!0x1),_0x4b80b6=_0x341800({'row':_0x20acda[_0x303d61(0x363)]+_0x4d7960+_0x3b58d6+_0x1388c9,'col':_0x20acda[_0x303d61(0x117)]},_0x377a8b,!0x1,!0x0),_0x12a7ae=_0x341800({'row':_0x20acda['row']+_0x4d7960+_0x3b58d6,'col':_0x20acda[_0x303d61(0x117)]+_0x2ba085},_0x244542,!0x1,!0x0),_0x508af1=_0x341800({'row':_0x20acda['row']+_0x4d7960+_0x3b58d6+_0x1388c9,'col':_0x20acda['col']+_0x2ba085},_0xb9b095,!0x1,!0x1);_0x336985['rangesInfo']={'rowRanges':_0x4b80b6,'colRanges':_0x12a7ae,'cornerRanges':_0x2b0cca,'dataRanges':_0x508af1,'pageRanges':_0x3072eb};const _0xcd2054=_0x53bb8f(this['_injector'],_0x5602cb,_0x3474d5,this[_0x303d61(0x32b)]),{valueMatrix:_0xeb95a6,rowInfo:_0x393fd4,colInfo:_0x41dcc3,cornerInfo:_0x567a42,rowHeaderMap:_0x57d982,colHeaderMap:_0x337a4a}=_0xcd2054;return _0x336985[_0x303d61(0xd2)]={'rowInfo':_0x393fd4,'colInfo':_0x41dcc3,'cornerInfo':_0x567a42},_0x336985['headerMap']={'rowHeaderMap':_0x57d982,'colHeaderMap':_0x337a4a},_0xeb95a6[_0x303d61(0x34b)]((_0xee6ee0,_0x281bfd)=>{const _0x1cf17f=_0x303d61;Object['keys'](_0x281bfd)[_0x1cf17f(0x34b)](_0x4f8993=>{const _0x2d0a58=_0x1cf17f,_0x13a6cf=+_0x4f8993,_0x59baf5=_0xeb95a6[_0x2d0a58(0x16a)](_0xee6ee0,_0x13a6cf);_0x40e479[_0x2d0a58(0x381)](_0xee6ee0,_0x13a6cf,_0x59baf5);});}),this[_0x303d61(0x12f)][_0x303d61(0x382)]({'unitId':_0x3d381b,'subUnitId':_0xd6d6a5,'valueMatrix':_0x40e479,'rangesCache':_0x336985[_0x303d61(0x107)],'pivotTableId':_0x3af64f,'type':_0x2faf34['type']}),this['_sheetsPivotTableConfigModel'][_0x303d61(0x1e9)](_0x3d381b,_0xd6d6a5,_0x3af64f,_0x40e479,_0x336985[_0x303d61(0x107)]),this[_0x303d61(0x2b8)][_0x303d61(0x377)](_0x3d381b,_0xd6d6a5,_0x18e776,this['_createExclusiveRange'](_0x336985[_0x303d61(0x107)],_0x3af64f)),{'rangeCache':_0x336985[_0x303d61(0x107)],'matrix':_0x40e479};}}[_0x2d3cd7(0x221)](_0x26adc5,_0x549db9,_0x512d6c,_0x30b1cf){const _0x208140=_0x2d3cd7,_0x28ca74=this[_0x208140(0x2f6)]['t'],{unitId:_0x306f03,subUnitId:_0x1fb983,pivotTableId:_0x150076}=_0x26adc5,_0x3af5e9={'filter':_0x28ca74(_0x208140(0x24f)),'row':_0x28ca74('sheets-pivot.emptyPivot.row'),'column':_0x28ca74(_0x208140(0x139)),'values':_0x28ca74(_0x208140(0x1ad))},{matrixCache:_0x56b550,rangesCache:_0x43a0fc}=_0x104896(_0x3af5e9,_0x512d6c);return _0x56b550[_0x208140(0x2d5)]((_0xca900d,_0x246c77,_0x10a35a)=>{const _0x4788df=_0x208140;_0x549db9[_0x4788df(0x381)](_0xca900d,_0x246c77,_0x10a35a);}),_0x30b1cf[_0x208140(0x107)]=_0x43a0fc,this[_0x208140(0x12f)][_0x208140(0x382)]({'unitId':_0x306f03,'subUnitId':_0x1fb983,'valueMatrix':_0x549db9,'rangesCache':_0x43a0fc,'pivotTableId':_0x150076,'type':_0x26adc5['type'],'isEmpty':!0x0}),this[_0x208140(0x356)][_0x208140(0x1e9)](_0x306f03,_0x1fb983,_0x150076,_0x549db9,_0x43a0fc),this[_0x208140(0x2b8)][_0x208140(0x377)](_0x306f03,_0x1fb983,_0x18e776,this[_0x208140(0x34e)](_0x43a0fc,_0x150076)),{'rangeCache':_0x30b1cf[_0x208140(0x107)],'matrix':_0x549db9};}[_0x2d3cd7(0x34e)](_0x4995d0,_0x242cfd){const _0xca18cc=_0x2d3cd7,_0x1898c2=[],_0x3742fe=_0x5e6293(_0x4995d0);for(const _0x2df35f of _0x3742fe)_0x1898c2[_0xca18cc(0xf8)]({'groupId':_0x242cfd,'range':_0x2df35f});return _0x1898c2;}['clearRenderCache'](_0x1812d8){const _0x4056c8=_0x2d3cd7;var _0x5d18fd,_0x4bc2bf,_0x11885d,_0x510614;const {pivotTableId:_0x25ee67,unitId:_0x2a0678,subUnitId:_0x4b7373}=_0x1812d8;if(!_0x25ee67||!_0x2a0678||!_0x4b7373)return;const _0x335e9d=this[_0x4056c8(0x307)](_0x2a0678,_0x4b7373),_0x4a938e=(_0x4bc2bf=(_0x5d18fd=this['_pivotRenderInfoCache']['get'](_0x2a0678))==null?void 0x0:_0x5d18fd[_0x4056c8(0x33f)](_0x4b7373))==null?void 0x0:_0x4bc2bf[_0x4056c8(0x33f)](_0x25ee67);if(_0x4a938e!=null&&_0x4a938e[_0x4056c8(0x107)]){for(const _0x204eff of Object[_0x4056c8(0x22a)](_0x4a938e['rangesInfo']))_0x4a938e['rangesInfo'][_0x204eff][_0x4056c8(0x34b)](_0x4fff32=>{const _0x5a7bec=_0x4056c8;for(let _0x274890=_0x4fff32[_0x5a7bec(0x338)];_0x274890<=_0x4fff32[_0x5a7bec(0x10b)];_0x274890++)for(let _0x13bc03=_0x4fff32['startColumn'];_0x13bc03<=_0x4fff32[_0x5a7bec(0x375)];_0x13bc03++)_0x335e9d[_0x5a7bec(0x171)](_0x274890,_0x13bc03);});}_0x4a938e&&((_0x510614=(_0x11885d=this[_0x4056c8(0x315)][_0x4056c8(0x33f)](_0x2a0678))==null?void 0x0:_0x11885d['get'](_0x4b7373))==null||_0x510614[_0x4056c8(0xa1)](_0x25ee67)),this['_viewUpdate$']['next']({'unitId':_0x2a0678,'subUnitId':_0x4b7373,'valueMatrix':_0x335e9d,'pivotTableId':_0x25ee67,'rangesCache':void 0x0,'type':_0x1812d8[_0x4056c8(0xd5)]}),this[_0x4056c8(0x2b8)][_0x4056c8(0x145)](_0x2a0678,_0x4b7373,_0x18e776,_0x25ee67);}[_0x2d3cd7(0x325)](_0x1eba89,_0x586f24,_0x12331a){const _0x43963e=_0x2d3cd7;var _0x92ba84,_0x257abf,_0x2f8a5a,_0x1a988b,_0x429618,_0x247b29;return this[_0x43963e(0x315)]['has'](_0x1eba89)||this['_pivotRenderInfoCache'][_0x43963e(0x1f8)](_0x1eba89,new Map()),(_0x92ba84=this[_0x43963e(0x315)][_0x43963e(0x33f)](_0x1eba89))!=null&&_0x92ba84['has'](_0x586f24)||(_0x257abf=this[_0x43963e(0x315)][_0x43963e(0x33f)](_0x1eba89))==null||_0x257abf[_0x43963e(0x1f8)](_0x586f24,new Map()),(_0x1a988b=(_0x2f8a5a=this[_0x43963e(0x315)][_0x43963e(0x33f)](_0x1eba89))==null?void 0x0:_0x2f8a5a[_0x43963e(0x33f)](_0x586f24))!=null&&_0x1a988b[_0x43963e(0x128)](_0x12331a)||(_0x247b29=(_0x429618=this[_0x43963e(0x315)][_0x43963e(0x33f)](_0x1eba89))==null?void 0x0:_0x429618[_0x43963e(0x33f)](_0x586f24))==null||_0x247b29[_0x43963e(0x1f8)](_0x12331a,{}),this[_0x43963e(0x315)]['get'](_0x1eba89)[_0x43963e(0x33f)](_0x586f24)['get'](_0x12331a);}[_0x2d3cd7(0x307)](_0x28dca6,_0x7fe562){const _0x33545c=_0x2d3cd7;var _0x3fdc1b,_0x237572;return this[_0x33545c(0x27e)]['has'](_0x28dca6)||this[_0x33545c(0x27e)][_0x33545c(0x1f8)](_0x28dca6,new Map()),(_0x3fdc1b=this[_0x33545c(0x27e)][_0x33545c(0x33f)](_0x28dca6))!=null&&_0x3fdc1b[_0x33545c(0x128)](_0x7fe562)||(_0x237572=this[_0x33545c(0x27e)][_0x33545c(0x33f)](_0x28dca6))==null||_0x237572['set'](_0x7fe562,new _0x2814ce[(_0x33545c(0x15b))]()),this['_pivotRenderValueMatrixCache'][_0x33545c(0x33f)](_0x28dca6)['get'](_0x7fe562);}[_0x2d3cd7(0x271)](_0x5d29f0,_0x16fd60,_0x5c7a2b,_0x2dea79){const _0xf5711=_0x2d3cd7;var _0x1d211a,_0x28cf1c;const _0x3c71ae=(_0x28cf1c=(_0x1d211a=this[_0xf5711(0x27e)][_0xf5711(0x33f)](_0x5d29f0))==null?void 0x0:_0x1d211a[_0xf5711(0x33f)](_0x16fd60))==null?void 0x0:_0x28cf1c[_0xf5711(0x16a)](_0x5c7a2b,_0x2dea79);if(_0x3c71ae!=null)return _0x3c71ae;}['getPivotTableIdByCell'](_0x1df653,_0x5ac12d,_0x2bb9d6,_0x49e160){const _0x558057=_0x2d3cd7;var _0x407cfe;const _0x3a705a=_0x2814ce[_0x558057(0x30d)](_0x2bb9d6,_0x49e160),_0x49844f=(_0x407cfe=this[_0x558057(0x315)][_0x558057(0x33f)](_0x1df653))==null?void 0x0:_0x407cfe['get'](_0x5ac12d);return _0x49844f?Array[_0x558057(0x312)](_0x49844f[_0x558057(0x22a)]())[_0x558057(0x217)](_0x755b1d=>{const _0x3942e3=_0x558057,_0x283dca=_0x49844f[_0x3942e3(0x33f)](_0x755b1d),_0x1f1784=_0x283dca==null?void 0x0:_0x283dca[_0x3942e3(0x107)];return _0x1f1784?Object['keys'](_0x1f1784)['some'](_0x87825b=>_0x1f1784[_0x87825b][_0x3942e3(0x36b)](_0x2e5804=>_0x2814ce[_0x3942e3(0x2f1)][_0x3942e3(0x36e)](_0x2e5804,_0x3a705a))):!0x1;}):void 0x0;}[_0x2d3cd7(0x1b4)](_0x31b5ab,_0x576a1f,_0x347065){const _0x1dd61e=_0x2d3cd7;var _0x32b043;const _0x5121da=(_0x32b043=this[_0x1dd61e(0x315)][_0x1dd61e(0x33f)](_0x31b5ab))==null?void 0x0:_0x32b043[_0x1dd61e(0x33f)](_0x576a1f),_0x37083b=[];return _0x5121da&&Array[_0x1dd61e(0x312)](_0x5121da[_0x1dd61e(0x22a)]())[_0x1dd61e(0x34b)](_0x177f24=>{const _0x12e42d=_0x1dd61e,_0x25d3c5=_0x5121da[_0x12e42d(0x33f)](_0x177f24),_0x264207=_0x25d3c5==null?void 0x0:_0x25d3c5['rangesInfo'];if(_0x264207)for(const _0x4b295f of Object[_0x12e42d(0x1ab)](_0x264207)){let _0x1e946e=!0x1;for(const _0x398406 of _0x4b295f)if(_0x2814ce[_0x12e42d(0x2f1)][_0x12e42d(0x2e7)](_0x398406,_0x347065)){_0x37083b['push'](_0x177f24),_0x1e946e=!0x0;break;}if(_0x1e946e)break;}}),_0x37083b;}[_0x2d3cd7(0x194)](_0x41026f,_0x4b06aa){const _0x8f4aa7=_0x2d3cd7;var _0x1106c4,_0x85d67b;return(_0x85d67b=(_0x1106c4=this[_0x8f4aa7(0x27e)][_0x8f4aa7(0x33f)](_0x41026f))==null?void 0x0:_0x1106c4[_0x8f4aa7(0x33f)](_0x4b06aa))!=null?_0x85d67b:new _0x2814ce[(_0x8f4aa7(0x15b))]();}[_0x2d3cd7(0x2f3)](_0x576338,_0x1717b4){const _0x423709=_0x2d3cd7;var _0x51c1a7;return(_0x51c1a7=this[_0x423709(0x315)][_0x423709(0x33f)](_0x576338))==null?void 0x0:_0x51c1a7['get'](_0x1717b4);}['getPivotItemRenderInfoCache'](_0x5e5d52,_0xfd203f,_0x3f2d0f){const _0x3b3989=_0x2d3cd7;var _0x5f5486,_0x43355d;return(_0x43355d=(_0x5f5486=this[_0x3b3989(0x315)][_0x3b3989(0x33f)](_0x5e5d52))==null?void 0x0:_0x5f5486[_0x3b3989(0x33f)](_0xfd203f))==null?void 0x0:_0x43355d['get'](_0x3f2d0f);}[_0x2d3cd7(0xbb)](_0x5785b2){const _0x35b48c=_0x2d3cd7;this[_0x35b48c(0x315)][_0x35b48c(0xa1)](_0x5785b2),this[_0x35b48c(0x27e)][_0x35b48c(0xa1)](_0x5785b2);}[_0x2d3cd7(0x1b9)](_0x57c2f4,_0x2ef447){const _0x309cee=_0x2d3cd7;this[_0x309cee(0xf3)][_0x309cee(0x382)]({'unitId':_0x57c2f4,'subUnitId':_0x2ef447});}},_0x159003[_0x2d3cd7(0x379)]=_0x2d0cd6([_0x2c3cf2(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce['LocaleService'])),_0x2c3cf2(0x1,_0x2814ce['Inject'](_0x2814ce[_0x2d3cd7(0x167)])),_0x2c3cf2(0x2,_0x2814ce['Inject'](_0x159003[_0x2d3cd7(0x282)])),_0x2c3cf2(0x3,_0x2814ce['Inject'](_0x2814ce[_0x2d3cd7(0x368)])),_0x2c3cf2(0x4,_0x2814ce[_0x2d3cd7(0x144)](_0x5cc6ba[_0x2d3cd7(0x35f)]))],_0x159003[_0x2d3cd7(0x379)]);var _0x499c3b=Object[_0x2d3cd7(0x11f)],_0x523f10=(_0x41f176,_0x784338,_0xe5b3c,_0x1f6545)=>{const _0x486f9a=_0x2d3cd7;for(var _0x6061fd=_0x1f6545>0x1?void 0x0:_0x1f6545?_0x499c3b(_0x784338,_0xe5b3c):_0x784338,_0xa88dc4=_0x41f176[_0x486f9a(0x25f)]-0x1,_0x2a7b90;_0xa88dc4>=0x0;_0xa88dc4--)(_0x2a7b90=_0x41f176[_0xa88dc4])&&(_0x6061fd=_0x2a7b90(_0x6061fd)||_0x6061fd);return _0x6061fd;},_0x3f0d6c=(_0x5bd479,_0x2e9856)=>(_0x2f6284,_0x425779)=>_0x2e9856(_0x2f6284,_0x425779,_0x5bd479);_0x159003[_0x2d3cd7(0x346)]=class extends _0x2814ce[_0x2d3cd7(0x242)]{constructor(_0x2ebfba,_0x4c5655){const _0x523ea=_0x2d3cd7;super(),_0x4a4d7d(this,_0x523ea(0x2ee),new _0x2814ce['AsyncInterceptorManager']({'PIVOT_PERFORM_CHECK':_0x17b1a6})),_0x4a4d7d(this,'interceptor',new _0x2814ce[(_0x523ea(0x340))]({'PIVOT_MUTATION_GENERATE':_0x4a5516})),(this[_0x523ea(0x2f8)]=_0x2ebfba,this[_0x523ea(0x37e)]=_0x4c5655,this[_0x523ea(0x27d)]());}[_0x2d3cd7(0x27d)](){const _0x212145=_0x2d3cd7;this[_0x212145(0x216)]();}[_0x2d3cd7(0x7a)](_0x26187c){const _0x3e104c=_0x2d3cd7;return this[_0x3e104c(0x2ee)][_0x3e104c(0x360)](_0x17b1a6)(!0x1,_0x26187c);}[_0x2d3cd7(0x216)](){const _0x15fd6b=_0x2d3cd7;this[_0x15fd6b(0xd4)](this[_0x15fd6b(0x2f8)][_0x15fd6b(0x21e)](_0x5cc6ba[_0x15fd6b(0x1bc)][_0x15fd6b(0x16b)],{'priority':0xc8,'effect':_0x2814ce[_0x15fd6b(0x2fc)][_0x15fd6b(0x30f)]|_0x2814ce['InterceptorEffectEnum']['Style'],'handler':(_0xac695c,_0xa41806,_0x5702f3)=>{const _0x442061=_0x15fd6b,{row:_0x501de8,col:_0x462824,unitId:_0x1e746f,subUnitId:_0x4d671c,workbook:_0x12e5b8}=_0xa41806,_0x2bca2d=this[_0x442061(0x37e)][_0x442061(0x271)](_0x1e746f,_0x4d671c,_0x501de8,_0x462824);if(!_0x2bca2d)return _0x5702f3(_0xac695c);const _0x2408f9={..._0xac695c};(_0x2bca2d['v']||_0x2bca2d['v']===0x0)&&(_0x2408f9['v']=_0x2bca2d['v']),_0x2bca2d['t']&&(_0x2408f9['t']=_0x2bca2d['t']);const _0x4dd50=(typeof(_0xac695c==null?void 0x0:_0xac695c['s'])=='string'?_0x12e5b8['getStyles']()[_0x442061(0x33f)](_0xac695c==null?void 0x0:_0xac695c['s']):_0xac695c==null?void 0x0:_0xac695c['s'])||{},_0x4831cc=_0x12e5b8[_0x442061(0x1d1)]()[_0x442061(0x33f)](_0x2bca2d['s']),_0x53292e={..._0x4831cc,..._0x4dd50};_0x4831cc!=null&&_0x4831cc['n']&&(_0x53292e['n']=_0x4831cc['n']);const _0x37afde=_0x12e5b8[_0x442061(0x1d1)]()[_0x442061(0x381)](_0x53292e);return _0x2408f9['s']=_0x37afde,(_0x2bca2d[_0x442061(0xd3)]===_0x3ed89a[_0x442061(0x327)][_0x442061(0x29b)]||_0x2bca2d['pbt']===_0x3ed89a['PivotCellStyleTypeEnum'][_0x442061(0x253)])&&(_0x2408f9['fontRenderExtension']={},_0x2408f9[_0x442061(0x22b)]['leftOffset']=_0x4573e1),_0x5702f3(_0x2408f9);}}));}},_0x159003[_0x2d3cd7(0x346)]=_0x523f10([_0x3f0d6c(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x5cc6ba[_0x2d3cd7(0x227)])),_0x3f0d6c(0x1,_0x2814ce[_0x2d3cd7(0x144)](_0x159003[_0x2d3cd7(0x379)]))],_0x159003['SheetsPivotTableService']);function _0x4bb0a2(_0x3db31d,_0x37b700){const _0x46e170=_0x2d3cd7;switch(_0x37b700){case _0x3ed89a['PivotTableFiledAreaEnum'][_0x46e170(0x30f)]:return _0x3db31d[_0x46e170(0x329)];case _0x3ed89a[_0x46e170(0x292)]['Filter']:return _0x3db31d['filterFields'];case _0x3ed89a['PivotTableFiledAreaEnum']['Row']:return _0x3db31d['rowFields'];case _0x3ed89a['PivotTableFiledAreaEnum']['Column']:return _0x3db31d[_0x46e170(0x16f)];default:return[];}}function _0x105d8b(_0x1d8207,_0x47ab3b){const _0x241872=_0x2d3cd7;return _0x1d8207[_0x241872(0x109)][_0x47ab3b]||_0x1d8207[_0x241872(0x161)][_0x47ab3b];}function _0x375ffb(_0x21a8eb,_0x4c3c8a){const _0x27f1fc=_0x2d3cd7,{area:_0x55a1d7,fieldJson:_0x3a495c,index:_0xc20891}=_0x4c3c8a;_0x55a1d7===_0x3ed89a[_0x27f1fc(0x292)][_0x27f1fc(0x30f)]?_0x21a8eb[_0x27f1fc(0x109)][_0x3a495c['id']]=_0x3a495c:_0x21a8eb[_0x27f1fc(0x161)][_0x3a495c['id']]=_0x3a495c,_0x4bb0a2(_0x21a8eb,_0x55a1d7)[_0x27f1fc(0x1c7)](_0xc20891,0x0,_0x3a495c['id']);}function _0x381c84(_0x297c2d,_0x558325){const _0x1faaa1=_0x2d3cd7,{area:_0x1f7af6,fieldId:_0x156533,index:_0x596ef3}=_0x558325;_0x1f7af6===_0x3ed89a['PivotTableFiledAreaEnum']['Value']?delete _0x297c2d[_0x1faaa1(0x109)][_0x156533]:delete _0x297c2d[_0x1faaa1(0x161)][_0x156533],_0x4bb0a2(_0x297c2d,_0x1f7af6)[_0x1faaa1(0x1c7)](_0x596ef3,0x1);}function _0x269b4f(_0x44684e,_0x35f924){const {fieldId:_0x3018fb,name:_0x5f32ee}=_0x35f924,_0x42a39b=_0x105d8b(_0x44684e,_0x3018fb);_0x42a39b&&(_0x42a39b['displayName']=_0x5f32ee);}function _0x5dad8a(_0x59d794,_0x1b2e27){const _0xeed89b=_0x2d3cd7,{fieldId:_0x4290fa,collapse:_0x30d8d5,item:_0x5ee894}=_0x1b2e27;_0x5ee894!==void 0x0?(_0x59d794[_0xeed89b(0xfe)][_0x4290fa]=_0x59d794[_0xeed89b(0xfe)][_0x4290fa]||{},_0x59d794[_0xeed89b(0xfe)][_0x4290fa][_0x5ee894]=_0x30d8d5):_0x59d794['collapseInfo'][_0x4290fa]=_0x30d8d5;}function _0x56abf6(_0x97287,_0xad3c24){const {fieldId:_0x3fa5d2,format:_0x57f597}=_0xad3c24,_0x4c2a13=_0x105d8b(_0x97287,_0x3fa5d2);_0x4c2a13&&(_0x4c2a13['format']=_0x57f597);}function _0x266e01(_0x245f5e,_0x36fcb7){const _0x1d3120=_0x2d3cd7,{fieldId:_0x304028,filterInfo:_0xbbad21}=_0x36fcb7,_0xbcd960=_0x105d8b(_0x245f5e,_0x304028);_0xbcd960&&(_0xbcd960[_0x1d3120(0x36a)]=_0xbbad21);}function _0x23d394(_0x6e65b0,_0x5df72e){const _0x549cea=_0x2d3cd7,{fieldId:_0x2b5a55,filterInfo:_0x2efed6}=_0x5df72e,_0x4db85f=_0x6e65b0[_0x549cea(0x1ed)][_0x549cea(0x17e)](_0x152bc1=>_0x152bc1[_0x549cea(0x288)]!==_0x2b5a55);_0x2efed6&&_0x4db85f[_0x549cea(0xf8)]({'fieldId':_0x2b5a55,'filterInfo':_0x2efed6}),_0x6e65b0[_0x549cea(0x1ed)]=_0x4db85f;}function _0x5bba95(_0x1a1750,_0x206f67){const {fieldId:_0x429bae,subtotalType:_0x15de52}=_0x206f67,_0xc37c04=_0x105d8b(_0x1a1750,_0x429bae);_0xc37c04&&(_0xc37c04['subtotal']=_0x15de52);}function _0x1079ac(_0x5071a6,_0x30aa26){const _0x6b7688=_0x2d3cd7,{fieldId:_0x2ec3f1,oldArea:_0x175f68,area:_0x19abe3,oldIndex:_0x48dddd,index:_0x450f2b}=_0x30aa26,_0x4ed362=_0x175f68!==_0x3ed89a[_0x6b7688(0x292)]['Value']&&_0x19abe3===_0x3ed89a['PivotTableFiledAreaEnum'][_0x6b7688(0x30f)],_0x92ce15=_0x175f68===_0x3ed89a[_0x6b7688(0x292)][_0x6b7688(0x30f)]&&_0x19abe3!==_0x3ed89a[_0x6b7688(0x292)][_0x6b7688(0x30f)];if(_0x4ed362||_0x92ce15){const _0x41d7f2=_0x105d8b(_0x5071a6,_0x2ec3f1);_0x41d7f2&&(_0x4ed362?(delete _0x5071a6[_0x6b7688(0x161)][_0x2ec3f1],_0x5071a6['measure'][_0x2ec3f1]=_0x41d7f2):(delete _0x5071a6[_0x6b7688(0x109)][_0x2ec3f1],_0x5071a6[_0x6b7688(0x161)][_0x2ec3f1]=_0x41d7f2));}const _0x1b07dc=_0x4bb0a2(_0x5071a6,_0x175f68),_0x4b59bd=_0x4bb0a2(_0x5071a6,_0x19abe3);_0x1b07dc[_0x6b7688(0x1c7)](_0x48dddd,0x1),_0x4b59bd[_0x6b7688(0x1c7)](_0x450f2b,0x0,_0x2ec3f1);}function _0x5bb190(_0x22e6f4,_0x16aec2){const _0x3d5bcd=_0x2d3cd7,{valuePosition:_0x24bb50,index:_0x104a7f}=_0x16aec2;_0x22e6f4['valuePosition']=_0x24bb50,_0x22e6f4[_0x3d5bcd(0x13a)]=_0x104a7f;}function _0x1c6909(_0x3f673d,_0x12d15b){const _0x7cc8d1=_0x2d3cd7,{tableFieldId:_0x2441a8,sourceName:_0x19e926,dataFieldId:_0x155cf2}=_0x12d15b,_0x23b94b=_0x105d8b(_0x3f673d,_0x2441a8);_0x23b94b&&(_0x23b94b[_0x7cc8d1(0x295)]=_0x19e926,_0x23b94b['dataFieldId']=_0x155cf2);}function _0x5d8215(_0x47058b,_0x292ba8){const _0x2ca122=_0x2d3cd7,{fieldId:_0xbc4cd0,sortInfo:_0x358c36}=_0x292ba8,_0x384bfd=_0x105d8b(_0x47058b,_0xbc4cd0);_0x384bfd&&(_0x384bfd[_0x2ca122(0x81)]=_0x358c36);}function _0xc3a4f3(_0x5cd1ef,_0x19d8d2){const _0x9e216=_0x2d3cd7,{options:_0x45d0df}=_0x19d8d2;_0x5cd1ef['options']={..._0x5cd1ef[_0x9e216(0x36c)],..._0x45d0df};}const _0x290f89={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':'sheet.mutation.add-pivot-field','handler'(_0x38eea3,_0x575c49){const _0x23c63f=_0x2d3cd7;if(!_0x575c49)return!0x1;if(!!_0x38eea3['get'](_0x2814ce[_0x23c63f(0xca)])['getConfig'](_0x3fcf75))return!0x0;const _0x2eac05=_0x38eea3['get'](_0x159003[_0x23c63f(0x187)]),{pivotTableId:_0x1a0479,fieldJson:_0x504bc0,area:_0x7b697,index:_0x4eb00a,unitId:_0x2ad065,subUnitId:_0x49b05c}=_0x575c49,_0x44e8e4=_0x2eac05['getPivotTableInstance'](_0x1a0479);if(!_0x44e8e4)return!0x1;let _0x383eb1;_0x7b697===_0x3ed89a[_0x23c63f(0x292)][_0x23c63f(0x30f)]?_0x383eb1=_0x3ed89a[_0x23c63f(0x1bd)](_0x504bc0):_0x383eb1=_0x3ed89a[_0x23c63f(0x20d)](_0x504bc0),_0x44e8e4[_0x23c63f(0x2fe)](_0x383eb1,_0x7b697,_0x4eb00a);const _0x5e2998=_0x2eac05[_0x23c63f(0x1e1)](_0x2ad065,_0x49b05c,_0x1a0479);_0x375ffb(_0x5e2998,_0x575c49);const _0x3c51b4=_0x2eac05['getPivotTableConfig'](_0x2ad065,_0x49b05c,_0x1a0479);return _0x2eac05['addDirtyPivotTable']({'unitId':_0x2ad065,'subUnitId':_0x49b05c,'token':_0x1a0479,'type':_0x2229c0[_0x23c63f(0xae)],'pivotConfig':_0x3c51b4}),!0x0;}},_0x55c8da={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x26e70a,_0x220d0a){const _0x57caf2=_0x2d3cd7;if(!_0x220d0a)return!0x1;if(!!_0x26e70a[_0x57caf2(0x33f)](_0x2814ce[_0x57caf2(0xca)])[_0x57caf2(0xd1)](_0x3fcf75))return!0x0;const _0x27648c=_0x26e70a['get'](_0x159003[_0x57caf2(0x187)]),{pivotTableId:_0x20033c,fieldId:_0x17129b,unitId:_0x172a5b,subUnitId:_0x3aaf26}=_0x220d0a,_0x2973e6=_0x27648c[_0x57caf2(0x250)](_0x20033c);if(!_0x2973e6)return!0x1;_0x2973e6[_0x57caf2(0x256)](_0x17129b);const _0x30a585=_0x27648c[_0x57caf2(0x1e1)](_0x172a5b,_0x3aaf26,_0x20033c);_0x381c84(_0x30a585,_0x220d0a);const _0x4358e2=_0x27648c[_0x57caf2(0x2e4)](_0x172a5b,_0x3aaf26,_0x20033c);return _0x27648c['addDirtyPivotTable']({'unitId':_0x172a5b,'subUnitId':_0x3aaf26,'token':_0x20033c,'type':_0x2229c0[_0x57caf2(0xae)],'pivotConfig':_0x4358e2}),!0x0;}},_0x44a6d7={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0x12d),'handler'(_0x42846e,_0x2ab784){const _0x39f3fa=_0x2d3cd7;if(!_0x2ab784)return!0x1;if(!!_0x42846e['get'](_0x2814ce['IConfigService'])[_0x39f3fa(0xd1)](_0x3fcf75))return!0x0;const _0x21cff1=_0x42846e['get'](_0x159003[_0x39f3fa(0x187)]),{unitId:_0x19137f,subUnitId:_0x143295,pivotTableId:_0x2cfb73,fieldId:_0x1572f1,name:_0x2f7825}=_0x2ab784,_0x135852=_0x21cff1[_0x39f3fa(0x250)](_0x2cfb73);if(!_0x135852)return!0x1;_0x135852['renameField'](_0x1572f1,_0x2f7825);const _0x107c78=_0x21cff1[_0x39f3fa(0x1e1)](_0x19137f,_0x143295,_0x2cfb73);return _0x269b4f(_0x107c78,_0x2ab784),_0x21cff1[_0x39f3fa(0x2aa)]({'unitId':_0x19137f,'subUnitId':_0x143295,'token':_0x2cfb73,'type':_0x2229c0[_0x39f3fa(0xae)]}),!0x0;}},_0x51c8d6={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0x1c1),'handler'(_0x1f1d9d,_0x3046bf){const _0x2a8d49=_0x2d3cd7;if(!_0x3046bf)return!0x1;if(!!_0x1f1d9d[_0x2a8d49(0x33f)](_0x2814ce['IConfigService'])[_0x2a8d49(0xd1)](_0x3fcf75))return!0x0;const _0x19c8e0=_0x1f1d9d['get'](_0x159003[_0x2a8d49(0x187)]),{unitId:_0xc2e5a1,subUnitId:_0x2ad86b,pivotTableId:_0x4999f6,fieldId:_0x32da7e,collapse:_0x49a54f,item:_0x4bc287}=_0x3046bf,_0x2cf3d3=_0x19c8e0[_0x2a8d49(0x250)](_0x4999f6);if(!_0x2cf3d3)return!0x1;_0x2cf3d3[_0x2a8d49(0x266)](_0x32da7e,_0x49a54f,_0x4bc287);const _0x1794c0=_0x19c8e0[_0x2a8d49(0x1e1)](_0xc2e5a1,_0x2ad86b,_0x4999f6);return _0x5dad8a(_0x1794c0,_0x3046bf),_0x19c8e0[_0x2a8d49(0x2aa)]({'unitId':_0xc2e5a1,'subUnitId':_0x2ad86b,'token':_0x4999f6,'type':_0x2229c0[_0x2a8d49(0xae)]}),!0x0;}},_0x17f918={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0xea),'handler'(_0x244ca1,_0x2a748c){const _0x58812d=_0x2d3cd7;if(!_0x2a748c)return!0x1;if(!!_0x244ca1[_0x58812d(0x33f)](_0x2814ce['IConfigService'])[_0x58812d(0xd1)](_0x3fcf75))return!0x0;const _0x49e9cc=_0x244ca1[_0x58812d(0x33f)](_0x159003['SheetsPivotDataSourceModel']),{unitId:_0x14edf4,subUnitId:_0x4de748,pivotTableId:_0x37a0a1,fieldId:_0x434abd,format:_0x401f3b}=_0x2a748c,_0x298c5a=_0x49e9cc[_0x58812d(0x250)](_0x37a0a1);if(!_0x298c5a)return!0x1;_0x298c5a['setFieldFormat'](_0x434abd,_0x401f3b);const _0x1819e0=_0x49e9cc[_0x58812d(0x1e1)](_0x14edf4,_0x4de748,_0x37a0a1);return _0x56abf6(_0x1819e0,_0x2a748c),_0x49e9cc['addDirtyPivotTable']({'unitId':_0x14edf4,'subUnitId':_0x4de748,'token':_0x37a0a1,'type':_0x2229c0[_0x58812d(0xae)]}),!0x0;}},_0x175887={'type':_0x2814ce[_0x2d3cd7(0x196)]['MUTATION'],'id':_0x2d3cd7(0x1f6),'handler'(_0x1199d3,_0x395163){const _0x41e3a3=_0x2d3cd7;if(!_0x395163)return!0x1;if(!!_0x1199d3[_0x41e3a3(0x33f)](_0x2814ce[_0x41e3a3(0xca)])[_0x41e3a3(0xd1)](_0x3fcf75))return!0x0;const _0x4e25c1=_0x1199d3[_0x41e3a3(0x33f)](_0x159003[_0x41e3a3(0x187)]),{unitId:_0x534e20,subUnitId:_0x59c037,pivotTableId:_0x5937a9,fieldId:_0x4923bc,filterInfo:_0x22ad51}=_0x395163,_0x570a51=_0x4e25c1[_0x41e3a3(0x250)](_0x5937a9);if(!_0x570a51)return!0x1;_0x570a51[_0x41e3a3(0x95)](_0x4923bc,_0x22ad51);const _0xcd43cb=_0x4e25c1[_0x41e3a3(0x1e1)](_0x534e20,_0x59c037,_0x5937a9);return _0x266e01(_0xcd43cb,_0x395163),_0x4e25c1['addDirtyPivotTable']({'unitId':_0x534e20,'subUnitId':_0x59c037,'token':_0x5937a9,'type':_0x2229c0[_0x41e3a3(0xae)]}),!0x0;}},_0x244b36={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':'sheet.mutation.set-pivot-option','handler'(_0x239abe,_0x428b6c){const _0x14d9ec=_0x2d3cd7;if(!_0x428b6c)return!0x1;if(!!_0x239abe[_0x14d9ec(0x33f)](_0x2814ce[_0x14d9ec(0xca)])[_0x14d9ec(0xd1)](_0x3fcf75))return!0x0;const _0x4d2302=_0x239abe[_0x14d9ec(0x33f)](_0x159003['SheetsPivotDataSourceModel']),{unitId:_0x1ba070,subUnitId:_0x150f4e,pivotTableId:_0x2124c8,options:_0x333bd1}=_0x428b6c,_0x4316aa=_0x4d2302[_0x14d9ec(0x250)](_0x2124c8);if(!_0x4316aa)return!0x1;_0x4316aa[_0x14d9ec(0x320)](_0x333bd1);const _0x359895=_0x4d2302[_0x14d9ec(0x1e1)](_0x1ba070,_0x150f4e,_0x2124c8);return _0xc3a4f3(_0x359895,_0x428b6c),_0x4d2302[_0x14d9ec(0x2aa)]({'unitId':_0x1ba070,'subUnitId':_0x150f4e,'token':_0x2124c8,'type':_0x2229c0[_0x14d9ec(0xae)]}),!0x0;}},_0x564b11={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0x29e),'handler'(_0x36c5ae,_0x45063b){const _0x1753a3=_0x2d3cd7;if(!_0x45063b)return!0x1;if(!!_0x36c5ae['get'](_0x2814ce[_0x1753a3(0xca)])[_0x1753a3(0xd1)](_0x3fcf75))return!0x0;const _0x38e151=_0x36c5ae['get'](_0x159003['SheetsPivotDataSourceModel']),{unitId:_0x277d61,subUnitId:_0x32f0d2,pivotTableId:_0x38fd2f,sortInfo:_0x11cf34,fieldId:_0x382c1f}=_0x45063b,_0x553809=_0x38e151[_0x1753a3(0x250)](_0x38fd2f);if(!_0x553809)return!0x1;_0x553809['setSortInfo'](_0x382c1f,_0x11cf34);const _0x2c5a2c=_0x38e151[_0x1753a3(0x1e1)](_0x277d61,_0x32f0d2,_0x38fd2f);return _0x5d8215(_0x2c5a2c,_0x45063b),_0x38e151['addDirtyPivotTable']({'unitId':_0x277d61,'subUnitId':_0x32f0d2,'token':_0x38fd2f,'type':_0x2229c0[_0x1753a3(0xae)]}),!0x0;}},_0x9c00fc={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0x251),'handler'(_0x48810a,_0x29c039){const _0x28fc9d=_0x2d3cd7;if(!_0x29c039)return!0x1;if(!!_0x48810a[_0x28fc9d(0x33f)](_0x2814ce[_0x28fc9d(0xca)])[_0x28fc9d(0xd1)](_0x3fcf75))return!0x0;const _0x4d71e5=_0x48810a[_0x28fc9d(0x33f)](_0x159003[_0x28fc9d(0x187)]),{unitId:_0x151478,subUnitId:_0x11e0e8,pivotTableId:_0x4221df,fieldId:_0x4fbc19,subtotalType:_0x414aa6}=_0x29c039,_0x4f00f9=_0x4d71e5[_0x28fc9d(0x250)](_0x4221df);if(!_0x4f00f9)return!0x1;_0x4f00f9[_0x28fc9d(0x30a)](_0x4fbc19,_0x414aa6);const _0x3f7928=_0x4d71e5['getPivotTableModelConfig'](_0x151478,_0x11e0e8,_0x4221df);return _0x5bba95(_0x3f7928,_0x29c039),_0x4d71e5[_0x28fc9d(0x2aa)]({'unitId':_0x151478,'subUnitId':_0x11e0e8,'token':_0x4221df,'type':_0x2229c0['Set']}),!0x0;}},_0x225a87={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0x1dc),'handler'(_0x3b2fc2,_0x5960b3){const _0x50d51a=_0x2d3cd7;if(!_0x5960b3)return!0x1;if(!!_0x3b2fc2['get'](_0x2814ce[_0x50d51a(0xca)])[_0x50d51a(0xd1)](_0x3fcf75))return!0x0;const _0xf5f4ea=_0x3b2fc2[_0x50d51a(0x33f)](_0x159003[_0x50d51a(0x187)]),{unitId:_0xf80243,subUnitId:_0x3264ca,pivotTableId:_0x3d3308,fieldId:_0x17fec9,filterInfo:_0xbd3de2}=_0x5960b3,_0x365d04=_0xf5f4ea['getPivotTableInstance'](_0x3d3308);if(!_0x365d04)return!0x1;_0x365d04['setValueFilterInfo'](_0x17fec9,_0xbd3de2);const _0x589980=_0xf5f4ea[_0x50d51a(0x1e1)](_0xf80243,_0x3264ca,_0x3d3308);return _0x23d394(_0x589980,_0x5960b3),_0xf5f4ea[_0x50d51a(0x2aa)]({'unitId':_0xf80243,'subUnitId':_0x3264ca,'token':_0x3d3308,'type':_0x2229c0[_0x50d51a(0xae)]}),!0x0;}},_0x4bb57b={'type':_0x2814ce['CommandType']['MUTATION'],'id':_0x2d3cd7(0x1ac),'handler'(_0x56d345,_0xe9a9d){const _0x10f28e=_0x2d3cd7;if(!_0xe9a9d)return!0x1;if(!!_0x56d345['get'](_0x2814ce['IConfigService'])[_0x10f28e(0xd1)](_0x3fcf75))return!0x0;const _0x5e22e4=_0x56d345[_0x10f28e(0x33f)](_0x159003['SheetsPivotDataSourceModel']),{unitId:_0x91c8a2,subUnitId:_0x502e17,pivotTableId:_0x16c8f0,area:_0x2fa1d8,index:_0x1ab4d9,fieldId:_0x38533f}=_0xe9a9d,_0x4e3e47=_0x5e22e4[_0x10f28e(0x250)](_0x16c8f0);if(!_0x4e3e47)return!0x1;_0x4e3e47[_0x10f28e(0x79)](_0x38533f,_0x2fa1d8,_0x1ab4d9);const _0x429eb4=_0x5e22e4['getPivotTableModelConfig'](_0x91c8a2,_0x502e17,_0x16c8f0);return _0x1079ac(_0x429eb4,_0xe9a9d),_0x5e22e4[_0x10f28e(0x2aa)]({'unitId':_0x91c8a2,'subUnitId':_0x502e17,'token':_0x16c8f0,'type':_0x2229c0[_0x10f28e(0xae)]}),!0x0;}},_0xd67a87={'type':_0x2814ce['CommandType'][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0x2de),'handler'(_0xb8258d,_0x3c1d59){const _0x57c9c6=_0x2d3cd7;if(!_0x3c1d59)return!0x1;if(!!_0xb8258d[_0x57c9c6(0x33f)](_0x2814ce[_0x57c9c6(0xca)])[_0x57c9c6(0xd1)](_0x3fcf75))return!0x0;const _0x7ace31=_0xb8258d[_0x57c9c6(0x33f)](_0x159003[_0x57c9c6(0x187)]),{unitId:_0x333265,subUnitId:_0x2268bf,pivotTableId:_0x21e1c4,sourceName:_0x5e1e87,dataFieldId:_0x24d0a2,tableFieldId:_0x4407f2}=_0x3c1d59,_0x3d58fb=_0x7ace31['getPivotTableInstance'](_0x21e1c4);if(!_0x3d58fb)return!0x1;_0x3d58fb[_0x57c9c6(0x1c8)](_0x4407f2,_0x5e1e87,_0x24d0a2);const _0x2cc01b=_0x7ace31[_0x57c9c6(0x1e1)](_0x333265,_0x2268bf,_0x21e1c4);return _0x1c6909(_0x2cc01b,_0x3c1d59),_0x7ace31[_0x57c9c6(0x2aa)]({'unitId':_0x333265,'subUnitId':_0x2268bf,'token':_0x21e1c4,'type':_0x2229c0[_0x57c9c6(0xae)]}),!0x0;}},_0x224e89={'type':_0x2814ce[_0x2d3cd7(0x196)]['MUTATION'],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x591450,_0x3821ff){const _0x192ddb=_0x2d3cd7;if(!_0x3821ff)return!0x1;if(!!_0x591450[_0x192ddb(0x33f)](_0x2814ce[_0x192ddb(0xca)])['getConfig'](_0x3fcf75))return!0x0;const _0x29f0c2=_0x591450[_0x192ddb(0x33f)](_0x159003['SheetsPivotDataSourceModel']),{unitId:_0x3a0ac2,subUnitId:_0x211626,pivotTableId:_0x4aa0be,valuePosition:_0x105475,index:_0x4d98ae}=_0x3821ff,_0x1acebf=_0x29f0c2['getPivotTableInstance'](_0x4aa0be);if(!_0x1acebf)return!0x1;_0x1acebf[_0x192ddb(0xfc)](_0x105475,_0x4d98ae);const _0x42a48e=_0x29f0c2[_0x192ddb(0x1e1)](_0x3a0ac2,_0x211626,_0x4aa0be);return _0x5bb190(_0x42a48e,_0x3821ff),_0x29f0c2[_0x192ddb(0x2aa)]({'unitId':_0x3a0ac2,'subUnitId':_0x211626,'token':_0x4aa0be,'type':_0x2229c0[_0x192ddb(0xae)]}),!0x0;}};function _0x122f37(_0x2d2e18,_0x298f8f,_0x3b4b1a){const _0x30dc04=_0x2d3cd7,{pivotTableId:_0x37623d,unitId:_0x487d78,subUnitId:_0x49e915}=_0x298f8f,_0x108e05=[],_0x32257c=[];for(const _0x2147d6 of _0x3b4b1a)switch(_0x2147d6['type']){case _0x3ed89a[_0x30dc04(0xfb)]['AddField']:{const {fieldJson:_0xa37735,area:_0x243e45,index:_0x29ff2d}=_0x2147d6,_0x195205={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldJson':_0xa37735,'area':_0x243e45,'index':_0x29ff2d},_0x5f2aef={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0xa37735['id'],'area':_0x243e45,'index':_0x29ff2d};_0x108e05['push']({'id':_0x290f89['id'],'params':_0x195205}),_0x32257c['unshift']({'id':_0x55c8da['id'],'params':_0x5f2aef});}break;case _0x3ed89a[_0x30dc04(0xfb)][_0x30dc04(0x136)]:{const {fieldId:_0x135615,newSubtotalType:_0x2439c4,oldSubtotalType:_0x27ff0a}=_0x2147d6,_0x5dff53={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x135615,'subtotalType':_0x2439c4};_0x108e05['push']({'id':_0x9c00fc['id'],'params':_0x5dff53});const _0x527953={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x135615,'subtotalType':_0x27ff0a};_0x32257c[_0x30dc04(0xb1)]({'id':_0x9c00fc['id'],'params':_0x527953});}break;case _0x3ed89a[_0x30dc04(0xfb)][_0x30dc04(0x1c5)]:{const {fieldId:_0x149a5a,fieldJson:_0x215d39,area:_0x3c662e,index:_0x2357de}=_0x2147d6,_0x46f151={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x149a5a,'index':_0x2357de,'area':_0x3c662e};_0x108e05[_0x30dc04(0xf8)]({'id':_0x55c8da['id'],'params':_0x46f151});const _0x47f4a4={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldJson':_0x215d39,'area':_0x3c662e,'index':_0x2357de};_0x32257c['unshift']({'id':_0x290f89['id'],'params':_0x47f4a4});}break;case _0x3ed89a['PivotTableChangeTypeEnum']['RenameField']:{const {fieldId:_0x39415a,oldName:_0x3f3eca,newName:_0x2a0d44}=_0x2147d6,_0x222dc0={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x39415a,'name':_0x2a0d44};_0x108e05['push']({'id':_0x44a6d7['id'],'params':_0x222dc0});const _0x2b0de5={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x39415a,'name':_0x3f3eca};_0x32257c[_0x30dc04(0xb1)]({'id':_0x44a6d7['id'],'params':_0x2b0de5});}break;case _0x3ed89a[_0x30dc04(0xfb)]['SetFilterInfo']:{const {fieldId:_0x2b2fd2,oldFilterInfo:_0x5a0ac0,newFilterInfo:_0x2dbfce}=_0x2147d6,_0x5d460a={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x2b2fd2,'filterInfo':_0x2dbfce};_0x108e05[_0x30dc04(0xf8)]({'id':_0x175887['id'],'params':_0x5d460a});const _0x55d77c={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x2b2fd2,'filterInfo':_0x5a0ac0};_0x32257c['unshift']({'id':_0x175887['id'],'params':_0x55d77c});}break;case _0x3ed89a[_0x30dc04(0xfb)]['SetSortInfo']:{const {fieldId:_0x482b52,oldSortInfo:_0x4e3fd7,newSortInfo:_0x23dc3f}=_0x2147d6,_0x59f160={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x482b52,'sortInfo':_0x23dc3f};_0x108e05['push']({'id':_0x564b11['id'],'params':_0x59f160});const _0x4e8f07={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x482b52,'sortInfo':_0x4e3fd7};_0x32257c[_0x30dc04(0xb1)]({'id':_0x564b11['id'],'params':_0x4e8f07});}break;case _0x3ed89a[_0x30dc04(0xfb)][_0x30dc04(0x150)]:{const {oldOptions:_0x16df3a,newOptions:_0x4191ba}=_0x2147d6,_0x446635={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'options':_0x4191ba};_0x108e05[_0x30dc04(0xf8)]({'id':_0x244b36['id'],'params':_0x446635});const _0x4acb38={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'options':_0x16df3a};_0x32257c[_0x30dc04(0xb1)]({'id':_0x244b36['id'],'params':_0x4acb38});}break;case _0x3ed89a[_0x30dc04(0xfb)]['UpdateFieldPosition']:{const {oldArea:_0x3f4a6c,newArea:_0x468dc6,oldIndex:_0xfd94d5,newIndex:_0x36ea66,fieldId:_0x13446e}=_0x2147d6,_0x3de993={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x13446e,'area':_0x468dc6,'index':_0x36ea66,'oldArea':_0x3f4a6c,'oldIndex':_0xfd94d5};_0x108e05['push']({'id':_0x4bb57b['id'],'params':_0x3de993});const _0x35ed23={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x13446e,'area':_0x3f4a6c,'index':_0xfd94d5,'oldArea':_0x468dc6,'oldIndex':_0x36ea66};_0x32257c[_0x30dc04(0xb1)]({'id':_0x4bb57b['id'],'params':_0x35ed23});}break;case _0x3ed89a[_0x30dc04(0xfb)]['UpdateValuePosition']:{const {oldValuePosition:_0x4e4621,newValuePosition:_0x2e2958,oldIndex:_0x2052cf,newIndex:_0x15d8d6}=_0x2147d6,_0x38e80a={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'valuePosition':_0x2e2958,'index':_0x15d8d6};_0x108e05[_0x30dc04(0xf8)]({'id':_0x224e89['id'],'params':_0x38e80a});const _0x16e409={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'valuePosition':_0x4e4621,'index':_0x2052cf};_0x32257c[_0x30dc04(0xb1)]({'id':_0x224e89['id'],'params':_0x16e409});}break;case _0x3ed89a[_0x30dc04(0xfb)][_0x30dc04(0x351)]:{const {fieldId:_0x45cf11,collapse:_0x4d9182,item:_0x220e7a}=_0x2147d6,_0x431c14={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x45cf11,'collapse':_0x4d9182,'item':_0x220e7a};_0x108e05[_0x30dc04(0xf8)]({'id':_0x51c8d6['id'],'params':_0x431c14});const _0x1e67cf={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x45cf11,'collapse':!_0x4d9182,'item':_0x220e7a};_0x32257c[_0x30dc04(0xb1)]({'id':_0x51c8d6['id'],'params':_0x1e67cf});}break;case _0x3ed89a[_0x30dc04(0xfb)][_0x30dc04(0x173)]:{const {newFormat:_0x569cf8,oldFormat:_0x55a060,fieldId:_0x4521a2}=_0x2147d6,_0x44cda4={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x4521a2,'format':_0x569cf8};_0x108e05['push']({'id':_0x17f918['id'],'params':_0x44cda4});const _0x27bd40={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x4521a2,'format':_0x55a060};_0x32257c['unshift']({'id':_0x17f918['id'],'params':_0x27bd40});}break;case _0x3ed89a[_0x30dc04(0xfb)][_0x30dc04(0x1a5)]:{const {tableFieldId:_0x125c58,oldSourceName:_0x35bd86,newSourceName:_0x58d3ef,oldDataFieldId:_0x48a5f5,newDataFieldId:_0x46a3ef}=_0x2147d6,_0x5e12f1={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'tableFieldId':_0x125c58,'sourceName':_0x58d3ef,'dataFieldId':_0x46a3ef};_0x108e05[_0x30dc04(0xf8)]({'id':_0xd67a87['id'],'params':_0x5e12f1});const _0x72d032={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'tableFieldId':_0x125c58,'sourceName':_0x35bd86,'dataFieldId':_0x48a5f5};_0x32257c[_0x30dc04(0xb1)]({'id':_0xd67a87['id'],'params':_0x72d032});}break;case _0x3ed89a[_0x30dc04(0xfb)]['SetValueFilter']:{const {fieldId:_0x124461,filterInfo:_0x1a9ef3,oldFilterInfo:_0x5b7a04}=_0x2147d6,_0x300c52={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x124461,'filterInfo':_0x1a9ef3};_0x108e05[_0x30dc04(0xf8)]({'id':_0x225a87['id'],'params':_0x300c52});const _0x29bf6f={'unitId':_0x487d78,'subUnitId':_0x49e915,'pivotTableId':_0x37623d,'fieldId':_0x124461,'filterInfo':_0x5b7a04};_0x32257c['unshift']({'id':_0x225a87['id'],'params':_0x29bf6f});}}return{'redos':_0x108e05,'undos':_0x32257c};}function _0x3d5d35(_0x4dc3da,_0x1c4eb5){const _0x383d84=_0x2d3cd7;var _0x474ac1;const _0x3c2767=_0x4dc3da[_0x383d84(0x33f)](_0x159003['SheetsPivotTableService']),{cellInfo:_0xa684f0,view:_0x339e06,isEmpty:_0x557ddd}=_0x1c4eb5;return(_0x474ac1=_0x3c2767[_0x383d84(0x335)][_0x383d84(0x2b3)](_0x4a5516)(_0x2e95a7,{'cellInfo':_0xa684f0,'view':_0x339e06,'isEmpty':_0x557ddd}))!=null?_0x474ac1:_0x2e95a7;}const _0x42c047=()=>typeof process<'u'&&process[_0x2d3cd7(0xab)]!=null&&process['versions']['node']!=null,_0x25211b={'type':_0x2814ce[_0x2d3cd7(0x196)]['MUTATION'],'id':'sheet.mutation.add-pivot-table','handler'(_0x2589c8,_0x5eede5){const _0x40e156=_0x2d3cd7;var _0x5ef561;if(!_0x5eede5)return!0x1;const _0x162c7f=_0x2589c8[_0x40e156(0x33f)](_0x2814ce[_0x40e156(0xca)]);if(!!_0x162c7f['getConfig'](_0x3fcf75))return!0x0;const _0x55fc75=_0x2589c8[_0x40e156(0x33f)](_0x2814ce[_0x40e156(0x368)]),_0x539f26=_0x2589c8[_0x40e156(0x33f)](_0x159003[_0x40e156(0x187)]),{pivotTableId:_0x373298,pivotTableConfig:_0xe45970,collectionConfig:_0x5ac033,unitId:_0x54cab6,subUnitId:_0x50dc99}=_0x5eede5,{sourceRangeInfo:_0x586a7a,fieldsConfig:_0x1459e3,targetCellInfo:_0x34f81f}=_0xe45970,_0x4b88a5=_0x55fc75[_0x40e156(0x94)](_0x54cab6);if(!_0x4b88a5||!_0x4b88a5['getSheetBySheetId'](_0x50dc99))return!0x1;if(!_0x42c047()){let _0xf42032=0x0;_0x4b88a5[_0x40e156(0x36d)]()['forEach'](_0x5f315a=>{var _0x1e75e9,_0x14e078;_0xf42032+=(_0x14e078=(_0x1e75e9=_0x539f26['getSubUnitPivotConfigs'](_0x54cab6,_0x5f315a['getSheetId']()))==null?void 0x0:_0x1e75e9['size'])!=null?_0x14e078:0x0;});const _0x250959=(_0x5ef561=_0x162c7f[_0x40e156(0xd1)](_0xde1950[_0x40e156(0x355)]))!=null?_0x5ef561:{},{ls:_0x549376,pbk:_0x5e8a9e}=_0x250959;if(!_0x404469(_0x549376,_0x5e8a9e))throw new _0x2814ce[(_0x40e156(0x293))](_0x40e156(0x348));const _0x41bc17=_0x104462(_0x3c672e,_0x549376,_0x5e8a9e)['count'];if(_0xf42032>=_0x41bc17)throw new _0x2814ce[(_0x40e156(0x293))](_0x40e156(0x348));}if(!_0x5ac033||!_0x1459e3)return!0x1;const {collection:_0x543a51,updateDataFieldList:_0x6fa83b}=_0x539f26[_0x40e156(0x2e5)](_0x373298,_0x5ac033,_0x586a7a,_0x34f81f);_0x539f26[_0x40e156(0x19d)](_0x543a51,_0x6fa83b,_0x586a7a);const _0x34f579=new _0x3ed89a[(_0x40e156(0x299))](_0x543a51,void 0x0,_0x373298);_0x34f579[_0x40e156(0x183)](_0x1459e3);const _0x2f9618=JSON[_0x40e156(0x153)](JSON[_0x40e156(0x184)](_0xe45970));return _0x539f26['addPivotTable'](_0x54cab6,_0x50dc99,_0x373298,_0x34f579,_0x2f9618),_0x539f26[_0x40e156(0x2aa)]({'unitId':_0x54cab6,'subUnitId':_0x50dc99,'token':_0x373298,'type':_0x2229c0[_0x40e156(0xa3)],'pivotConfig':_0x2f9618}),!0x0;}},_0x3bf3ed={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0xd7),'handler'(_0x371309,_0x2eaf43){const _0x3a7f33=_0x2d3cd7;if(!_0x2eaf43)return!0x1;if(!!_0x371309[_0x3a7f33(0x33f)](_0x2814ce[_0x3a7f33(0xca)])[_0x3a7f33(0xd1)](_0x3fcf75))return!0x0;const {pivotTableId:_0xb027a6,unitId:_0x2341fd,subUnitId:_0x3d04a1}=_0x2eaf43,_0x2ce4a8=_0x371309[_0x3a7f33(0x33f)](_0x159003[_0x3a7f33(0x187)]);return _0x2ce4a8[_0x3a7f33(0x2e4)](_0x2341fd,_0x3d04a1,_0xb027a6)?(_0x2ce4a8[_0x3a7f33(0x2aa)]({'unitId':_0x2341fd,'subUnitId':_0x3d04a1,'token':_0xb027a6,'type':_0x2229c0['Delete']}),_0x2ce4a8[_0x3a7f33(0x383)](_0x2341fd,_0x3d04a1,_0xb027a6),!0x0):!0x1;}},_0x530b7f={'type':_0x2814ce['CommandType'][_0x2d3cd7(0x10d)],'id':'sheet.mutation.set-pivot-position','handler'(_0x4e1bcf,_0x5849f1){const _0x55319a=_0x2d3cd7;if(!_0x5849f1)return!0x1;if(!!_0x4e1bcf[_0x55319a(0x33f)](_0x2814ce['IConfigService'])[_0x55319a(0xd1)](_0x3fcf75))return!0x0;const {pivotTableId:_0x2d7150,targetCellPosition:_0x38f7b5,unitId:_0x4e15a0,subUnitId:_0x2d16be}=_0x5849f1,_0x19654e=_0x4e1bcf[_0x55319a(0x33f)](_0x159003[_0x55319a(0x187)]);if(!_0x19654e[_0x55319a(0x250)](_0x5849f1[_0x55319a(0x311)]))return!0x1;const _0x5f3aa4=_0x19654e[_0x55319a(0x103)](_0x2d7150);if(!_0x5f3aa4)return!0x1;const _0x318dca=_0x19654e[_0x55319a(0x2bb)](_0x5f3aa4[_0x55319a(0x19c)],_0x5849f1['pivotTableId']);if(!_0x318dca)return!0x1;const _0x4e7942=_0x19654e['getPivotTableConfig'](_0x5f3aa4[_0x55319a(0x19c)],_0x5f3aa4['subUnitId'],_0x2d7150);if(!_0x4e7942)return!0x1;const _0x29ce99=_0x2814ce[_0x55319a(0x313)][_0x55319a(0xb9)](_0x4e7942);_0x29ce99[_0x55319a(0x301)]={'unitId':_0x4e15a0,'subUnitId':_0x2d16be,'row':_0x38f7b5[_0x55319a(0x363)],'col':_0x38f7b5[_0x55319a(0x117)]};const _0x390ff4=_0x318dca['toJSON']();if(_0x5f3aa4[_0x55319a(0x2da)]===_0x2d16be&&_0x5f3aa4[_0x55319a(0x19c)]===_0x4e15a0)_0x19654e['setPivotTable'](_0x4e15a0,_0x2d16be,_0x2d7150,_0x29ce99),_0x19654e[_0x55319a(0x2aa)]({'unitId':_0x4e15a0,'subUnitId':_0x2d16be,'token':_0x2d7150,'type':_0x2229c0[_0x55319a(0xae)]});else{_0x19654e[_0x55319a(0x2aa)]({'unitId':_0x5f3aa4[_0x55319a(0x19c)],'subUnitId':_0x5f3aa4[_0x55319a(0x2da)],'token':_0x2d7150,'type':_0x2229c0[_0x55319a(0x15c)]}),_0x19654e[_0x55319a(0x383)](_0x5f3aa4[_0x55319a(0x19c)],_0x5f3aa4[_0x55319a(0x2da)],_0x2d7150);const _0x147d1d=_0x19654e[_0x55319a(0x2e5)](_0x2d7150,_0x390ff4,_0x4e7942[_0x55319a(0x281)],_0x29ce99[_0x55319a(0x301)]),_0x437ebc=new _0x3ed89a[(_0x55319a(0x299))](_0x147d1d[_0x55319a(0xf6)],void 0x0,_0x2d7150);_0x437ebc[_0x55319a(0x183)](_0x29ce99[_0x55319a(0xf4)]),_0x19654e[_0x55319a(0x7d)](_0x4e15a0,_0x2d16be,_0x2d7150,_0x437ebc,_0x29ce99),_0x19654e[_0x55319a(0x2aa)]({'unitId':_0x4e15a0,'subUnitId':_0x2d16be,'token':_0x2d7150,'type':_0x2229c0[_0x55319a(0xa3)],'pivotConfig':_0x29ce99});}return!0x0;}},_0x574367={'type':_0x2814ce[_0x2d3cd7(0x196)]['MUTATION'],'id':_0x2d3cd7(0xfd),'handler'(_0x45b7de,_0x979565){const _0xb559f9=_0x2d3cd7;if(!_0x979565)return!0x1;if(!!_0x45b7de[_0xb559f9(0x33f)](_0x2814ce[_0xb559f9(0xca)])[_0xb559f9(0xd1)](_0x3fcf75))return!0x0;const _0x173ba1=_0x45b7de[_0xb559f9(0x33f)](_0x159003[_0xb559f9(0x187)]),{pivotTableId:_0x2bbfcc,deleteIds:_0x20a27b,collectionJSON:_0x38b6aa,dataRangeInfo:_0x4c38e1,unitId:_0x3869a3,subUnitId:_0x55cc9c}=_0x979565,_0x17591e=_0x173ba1[_0xb559f9(0x250)](_0x2bbfcc),_0x173a7d=_0x173ba1[_0xb559f9(0x2e4)](_0x3869a3,_0x55cc9c,_0x2bbfcc);if(!_0x17591e||!_0x173a7d)return!0x1;const {collection:_0x516890,updateDataFieldList:_0x469b5f}=_0x173ba1[_0xb559f9(0x2e5)](_0x2bbfcc,_0x38b6aa,_0x4c38e1,_0x173a7d[_0xb559f9(0x301)]);_0x173ba1[_0xb559f9(0x19d)](_0x516890,_0x469b5f,_0x4c38e1),_0x17591e[_0xb559f9(0xba)](_0x516890);for(const _0x245c45 of _0x20a27b)_0x173ba1['removeDataField'](_0x4c38e1[_0xb559f9(0x19c)],_0x245c45);const _0x4f4cb9=_0x173ba1[_0xb559f9(0x2e4)](_0x3869a3,_0x55cc9c,_0x2bbfcc);return _0x4f4cb9[_0xb559f9(0x281)]=JSON[_0xb559f9(0x153)](JSON[_0xb559f9(0x184)](_0x4c38e1)),_0x173ba1[_0xb559f9(0x2aa)]({'unitId':_0x3869a3,'subUnitId':_0x55cc9c,'token':_0x2bbfcc,'type':_0x2229c0['Set']}),!0x0;}},_0x488c22={'type':_0x2814ce['CommandType'][_0x2d3cd7(0x10d)],'id':_0x2d3cd7(0x321),'handler'(){return!0x0;}};var _0x1295d1=Object[_0x2d3cd7(0x11f)],_0x4830b5=(_0x1827fb,_0x311aa6,_0x37c73d,_0x4cee0c)=>{const _0x4f0192=_0x2d3cd7;for(var _0x50c0fa=_0x4cee0c>0x1?void 0x0:_0x4cee0c?_0x1295d1(_0x311aa6,_0x37c73d):_0x311aa6,_0x43df92=_0x1827fb[_0x4f0192(0x25f)]-0x1,_0x227832;_0x43df92>=0x0;_0x43df92--)(_0x227832=_0x1827fb[_0x43df92])&&(_0x50c0fa=_0x227832(_0x50c0fa)||_0x50c0fa);return _0x50c0fa;},_0x2a3b0c=(_0x414cd8,_0xe55b7e)=>(_0x56b87d,_0x3a30ce)=>_0xe55b7e(_0x56b87d,_0x3a30ce,_0x414cd8);_0x159003[_0x2d3cd7(0x2a7)]=class extends _0x2814ce['Disposable']{constructor(_0x38f28f,_0x2e5256){const _0x16a915=_0x2d3cd7;super(),_0x4a4d7d(this,_0x16a915(0xa4),new Map()),(this['_injector']=_0x38f28f,this[_0x16a915(0x341)]=_0x2e5256);}['handleAsyncResponse'](_0x19db6d){const _0x274dc4=_0x2d3cd7,{version:_0x27f3da}=_0x19db6d,_0x5bd610=this['_requestResolvers']['get'](_0x27f3da);_0x5bd610&&(_0x5bd610(_0x19db6d),this[_0x274dc4(0xa4)][_0x274dc4(0xa1)](_0x27f3da));}[_0x2d3cd7(0x14f)](_0x41b4bf){return new Promise((_0x35d5ba,_0x10df64)=>{const _0x3bb7fb=_0x50dd,_0x184870=this[_0x3bb7fb(0x1c9)]();this['_requestResolvers'][_0x3bb7fb(0x1f8)](_0x184870,_0x35d5ba),this[_0x3bb7fb(0x341)]['executeCommand'](_0x3b71d1['id'],{'version':_0x184870,..._0x41b4bf},{'onlyLocal':!0x0});});}[_0x2d3cd7(0x1c9)](){const _0x1778d2=_0x2d3cd7;return Math[_0x1778d2(0x34a)]()['toString'](0x24)[_0x1778d2(0x391)](0x2,0x10);}},_0x159003[_0x2d3cd7(0x2a7)]=_0x4830b5([_0x2a3b0c(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x167)])),_0x2a3b0c(0x1,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x263)]))],_0x159003[_0x2d3cd7(0x2a7)]);const _0x3b090e={'id':_0x2d3cd7(0x1e0),'type':_0x2814ce['CommandType']['MUTATION'],'handler':(_0x12523b,_0x411ec7)=>{const _0x4f50bc=_0x2d3cd7;if(!_0x411ec7)return!0x1;if(!!_0x12523b['get'](_0x2814ce['IConfigService'])[_0x4f50bc(0xd1)](_0x3fcf75))return!0x0;const {pivotTableId:_0x2d0131,fieldJSON:_0x137dfb,unitId:_0xc390fb,subUnitId:_0x2fadad}=_0x411ec7,_0x5a5723=_0x3ed89a['BaseGroupField']['fromJSON'](_0x137dfb);if(!_0x5a5723)return!0x1;const _0x573da8=_0x12523b[_0x4f50bc(0x33f)](_0x159003[_0x4f50bc(0x187)]),_0x5012e6=_0x573da8[_0x4f50bc(0x2d0)](_0xc390fb),_0x3780e8=_0x5012e6[_0x4f50bc(0x2bb)](_0x2d0131);_0x5012e6[_0x4f50bc(0xc5)](_0x5a5723),_0x3780e8['addField'](_0x5a5723[_0x4f50bc(0x1c2)](),_0x5a5723['getName']());const _0xa9b979=_0x3780e8['getFieldById'](_0x5a5723[_0x4f50bc(0x1fd)]());_0xa9b979&&_0x5a5723[_0x4f50bc(0x14d)](_0xa9b979);const _0x9d8755=_0x573da8[_0x4f50bc(0x2e4)](_0xc390fb,_0x2fadad,_0x2d0131);return _0x573da8[_0x4f50bc(0x2aa)]({'unitId':_0xc390fb,'subUnitId':_0x2fadad,'token':_0x2d0131,'type':_0x2229c0['Set'],'pivotConfig':_0x9d8755}),!0x0;}},_0x27d387={'id':_0x2d3cd7(0x135),'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'handler':(_0x3014b0,_0x3e4f1c)=>{const _0x5e0f70=_0x2d3cd7;if(!_0x3e4f1c)return!0x1;if(!!_0x3014b0['get'](_0x2814ce[_0x5e0f70(0xca)])['getConfig'](_0x3fcf75))return!0x0;const {pivotTableId:_0x4bb17,dataFieldId:_0x2db916,unitId:_0x43114e,subUnitId:_0x4fd6de}=_0x3e4f1c,_0x32e45b=_0x3014b0[_0x5e0f70(0x33f)](_0x159003[_0x5e0f70(0x187)]),_0x54a3bd=_0x32e45b[_0x5e0f70(0x2d0)](_0x43114e);_0x54a3bd['getCollection'](_0x4bb17)[_0x5e0f70(0x16e)](_0x2db916);let _0x4e97c8=!0x0;for(const _0x5bf615 in _0x54a3bd[_0x5e0f70(0x2f9)])if(_0x54a3bd[_0x5e0f70(0x2f9)][_0x5bf615]['getFieldIds']()[_0x5e0f70(0x26f)](_0x2db916)){_0x4e97c8=!0x1;break;}_0x4e97c8&&_0x54a3bd[_0x5e0f70(0x29f)](_0x2db916);const _0x49f590=_0x32e45b[_0x5e0f70(0x2e4)](_0x43114e,_0x4fd6de,_0x4bb17);return _0x32e45b[_0x5e0f70(0x2aa)]({'unitId':_0x43114e,'subUnitId':_0x4fd6de,'token':_0x4bb17,'type':_0x2229c0[_0x5e0f70(0xae)],'pivotConfig':_0x49f590}),!0x0;}},_0x2bc2bb={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0x21c),async 'handler'(_0x22f4a9,_0x5cb521){const _0x253f66=_0x2d3cd7;if(!_0x5cb521)return!0x1;const _0x48565f=_0x22f4a9[_0x253f66(0x33f)](_0x2814ce['ICommandService']),_0x57612a=_0x22f4a9[_0x253f66(0x33f)](_0x159003[_0x253f66(0x2a7)]),_0x36f8cf=_0x22f4a9[_0x253f66(0x33f)](_0x2814ce[_0x253f66(0x143)]),{pivotTableId:_0x55a86e,dataFieldId:_0x157865,fieldArea:_0x49f5c2,index:_0x2b8c2a,unitId:_0x33acbf,subUnitId:_0x3df6c0}=_0x5cb521,_0x3aa6bb=(await _0x57612a[_0x253f66(0x14f)]({'unitId':_0x33acbf,'subUnitId':_0x3df6c0,'pivotTableId':_0x55a86e,'params':{'type':_0x6c21f4[_0x253f66(0x14a)],'addPivotField':{'dataFieldId':_0x157865,'fieldArea':_0x49f5c2,'index':_0x2b8c2a}}}))['result'][_0x253f66(0x2d9)];if(!_0x3aa6bb)return!0x1;const {view:_0x8c2300,changesets:_0x886c8f,isEmpty:_0x1e0628,pivotTableConfig:_0x378636,shouldBeAddedGroupJSON:_0x33b0c0}=_0x3aa6bb,_0x4aa17f=_0x378636['targetCellInfo'],_0x10471d=new _0x3ed89a[(_0x253f66(0x1da))]();_0x10471d[_0x253f66(0x18f)](_0x8c2300);const _0x5c97a6={'cellInfo':_0x4aa17f,'view':_0x10471d,'isEmpty':_0x1e0628};if(!await _0x22f4a9[_0x253f66(0x33f)](_0x159003[_0x253f66(0x346)])[_0x253f66(0x2ee)][_0x253f66(0x360)](_0x17b1a6)(!0x0,_0x5c97a6))return!0x1;const _0x5ba5a1=_0x21902f(_0x22f4a9,_0x10471d,_0x4aa17f,_0x1e0628),_0x2c0f23=_0x3d5d35(_0x22f4a9,_0x5c97a6),{undos:_0x4e3766,redos:_0x580899}=_0x122f37(_0x48565f,{'pivotTableId':_0x55a86e,'unitId':_0x33acbf,'subUnitId':_0x3df6c0},_0x886c8f);return _0x33b0c0&&(_0x580899['unshift']({'id':_0x3b090e['id'],'params':{'pivotTableId':_0x55a86e,'fieldJSON':_0x33b0c0,'unitId':_0x33acbf,'subUnitId':_0x3df6c0}}),_0x4e3766['push']({'id':_0x27d387['id'],'params':{'pivotTableId':_0x55a86e,'dataFieldId':_0x33b0c0['id'],'unitId':_0x33acbf,'subUnitId':_0x3df6c0}})),_0x2814ce[_0x253f66(0x2e8)]([..._0x5ba5a1[_0x253f66(0x220)],..._0x2c0f23[_0x253f66(0x220)],..._0x580899],_0x48565f),_0x36f8cf[_0x253f66(0xad)]({'unitID':_0x33acbf,'redoMutations':[..._0x5ba5a1[_0x253f66(0x220)],..._0x2c0f23[_0x253f66(0x220)],..._0x580899],'undoMutations':[..._0x5ba5a1[_0x253f66(0x10f)],..._0x2c0f23[_0x253f66(0x10f)],..._0x4e3766]}),!0x0;}},_0xfa0d1={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0x259),async 'handler'(_0x179a17,_0x3fabf9){const _0x2830a7=_0x2d3cd7;if(!_0x3fabf9)return!0x1;const {sourceDataInfo:_0x523671,pivotTableConfig:_0x4890b6}=_0x3fabf9;if(!_0x523671||!_0x4890b6)return!0x1;const {unitId:_0x4d59c8,subUnitId:_0x3e75ce,range:_0x3894b4}=_0x523671,_0x1691dd=_0x179a17[_0x2830a7(0x33f)](_0x2814ce[_0x2830a7(0x368)]),_0xb93160=_0x179a17[_0x2830a7(0x33f)](_0x159003['SheetsPivotRPCService']),_0x13d9b1=_0x179a17[_0x2830a7(0x33f)](_0x2814ce[_0x2830a7(0x19f)]),_0x4ad1d7=_0x179a17[_0x2830a7(0x33f)](_0x2814ce[_0x2830a7(0x263)]),_0x177fe8=_0x1691dd[_0x2830a7(0x94)](_0x4d59c8);if(!_0x177fe8)return!0x1;const _0x3a1836=_0x177fe8['getSheetBySheetId'](_0x3e75ce);if(!_0x3a1836)return!0x1;const _0x26f0e6=_0x3ed89a[_0x2830a7(0x369)](0x8),_0x38f631=_0x3894b4||{'startRow':0x0,'startColumn':0x0,'endRow':_0x3a1836['getRowCount']()-0x1,'endColumn':_0x3a1836['getColumnCount']()-0x1};_0x38f631[_0x2830a7(0xe7)]=_0x2814ce[_0x2830a7(0x27c)][_0x2830a7(0x14e)];const _0x1a890d=(await _0xb93160[_0x2830a7(0x14f)]({'unitId':_0x4d59c8,'subUnitId':_0x3e75ce,'pivotTableId':_0x26f0e6,'params':{'type':_0x6c21f4[_0x2830a7(0x163)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x4d59c8,'sheetName':_0x3a1836['getName'](),'subUnitId':_0x3e75ce,'range':_0x38f631},'pivotTableId':_0x26f0e6,'pivotTableIndexConfig':_0x4890b6}}}))[_0x2830a7(0xa0)]['addPivotTableWithConfig'];if(!_0x1a890d)return!0x1;const {isEmpty:_0x1b26ee,fieldsConfig:_0x2289e5,collectionConfig:_0x401645,changesets:_0x5cad5d}=_0x1a890d,_0x42cfaa=_0x177fe8[_0x2830a7(0x36d)]()['length'],_0xa6e09f=_0x2814ce[_0x2830a7(0x12b)]({'rowCount':_0x3a1836[_0x2830a7(0x1f0)]()-0x1,'columnCount':_0x3a1836[_0x2830a7(0x2b5)]()-0x1});_0xa6e09f['id']=_0x2814ce[_0x2830a7(0x24e)](),_0xa6e09f['name']=_0x177fe8[_0x2830a7(0x345)](''+_0x13d9b1['t']('sheets.tabs.sheet'));const _0x4c4dd8={'index':_0x42cfaa,'sheet':_0xa6e09f,'unitId':_0x4d59c8},{redos:_0x2dccfe}=_0x122f37(_0x4ad1d7,{'pivotTableId':_0x26f0e6,'unitId':_0x4d59c8,'subUnitId':_0xa6e09f['id']},_0x5cad5d),_0x11ae7b=[{'id':_0x5cc6ba[_0x2830a7(0x17c)]['id'],'params':_0x4c4dd8},{'id':_0x25211b['id'],'params':{'unitId':_0x4d59c8,'subUnitId':_0xa6e09f['id'],'pivotTableId':_0x26f0e6,'pivotTableConfig':{'isEmpty':_0x1b26ee,'fieldsConfig':_0x2289e5,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x4d59c8,'subUnitId':_0xa6e09f['id']},'sourceRangeInfo':{'subUnitId':_0x3e75ce,'unitId':_0x4d59c8,'range':_0x38f631,'sheetName':_0x3a1836[_0x2830a7(0x26c)]()}},'collectionConfig':_0x401645}},..._0x2dccfe];return _0x2814ce[_0x2830a7(0x2e8)](_0x11ae7b,_0x4ad1d7),!0x0;}},_0x1e55f6={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0x188),async 'handler'(_0x4482fa,_0x2f49cf){const _0x272dda=_0x2d3cd7;var _0x661ae6,_0x18e95f;const _0xb508ce=_0x4482fa[_0x272dda(0x33f)](_0x2814ce[_0x272dda(0x263)]),_0x40329f=_0x4482fa[_0x272dda(0x33f)](_0x2814ce[_0x272dda(0x368)]),_0x159f89=_0x4482fa[_0x272dda(0x33f)](_0x2814ce[_0x272dda(0x19f)]),_0x456b93=_0x4482fa[_0x272dda(0x33f)](_0x159003[_0x272dda(0x2a7)]),_0x268138=_0x4482fa[_0x272dda(0x33f)](_0x2814ce['IUndoRedoService']),_0x8de7c=_0x4482fa[_0x272dda(0x33f)](_0x159003[_0x272dda(0x282)]),_0x2b9e24=_0x4482fa[_0x272dda(0x33f)](_0x2814ce[_0x272dda(0xca)]);if(!_0x2f49cf)return!0x1;const {pivotTableConfig:_0x2c487c,positionType:_0x51de6a}=_0x2f49cf,{targetCellInfo:_0x571d13,sourceRangeInfo:_0x48c66d}=_0x2c487c,{unitId:_0x182035,subUnitId:_0x4d179c}=_0x571d13,_0x198ad7=_0x40329f['getUnit'](_0x182035);if(!_0x198ad7)return!0x1;let _0x1f4823=0x0;_0x198ad7['getSheets']()[_0x272dda(0x34b)](_0xc0dd96=>{const _0x55347f=_0x272dda;var _0x484385,_0x1d652f;_0x1f4823+=(_0x1d652f=(_0x484385=_0x8de7c[_0x55347f(0x13f)](_0x182035,_0xc0dd96[_0x55347f(0x8b)]()))==null?void 0x0:_0x484385['size'])!=null?_0x1d652f:0x0;});const _0x1b1012=(_0x661ae6=_0x2b9e24[_0x272dda(0xd1)](_0xde1950[_0x272dda(0x355)]))!=null?_0x661ae6:{},{ls:_0x11bf93,pbk:_0x26d5e4}=_0x1b1012;if(!_0x404469(_0x11bf93,_0x26d5e4))return!0x1;const _0x4c9e0a=_0x104462(_0x3c672e,_0x11bf93,_0x26d5e4)[_0x272dda(0x2b7)];if(_0x1f4823>=_0x4c9e0a)return!0x1;const _0x389395=_0x2f49cf['pivotTableId']||_0x3ed89a[_0x272dda(0x369)](0x8),_0x59b15e=(await _0x456b93[_0x272dda(0x14f)]({'unitId':_0x182035,'subUnitId':_0x4d179c,'pivotTableId':_0x389395,'params':{'type':_0x6c21f4[_0x272dda(0x7b)],'addPivotTable':{'sourceRangeInfo':_0x48c66d,'pivotTableId':_0x389395}}}))['result'][_0x272dda(0x7d)];if(!_0x59b15e)return!0x1;const {view:_0xd4b7a4,isEmpty:_0x4f4c63,fieldsConfig:_0x362dd1,collectionConfig:_0x4227a9}=_0x59b15e,_0x27d83d=[],_0x684023=[];if(_0x51de6a===_0x45e53c[_0x272dda(0x90)]){const _0x125c6b=_0x198ad7[_0x272dda(0x36d)]()[_0x272dda(0x25f)],_0x19b025=_0x2814ce['mergeWorksheetSnapshotWithDefault']({});_0x19b025['id']=_0x2c487c[_0x272dda(0x301)][_0x272dda(0x2da)],_0x19b025[_0x272dda(0xc6)]=(_0x18e95f=_0x2c487c[_0x272dda(0x301)][_0x272dda(0x2ce)])!=null?_0x18e95f:_0x198ad7[_0x272dda(0x345)](''+_0x159f89['t'](_0x272dda(0x224)));const _0x4c4e01={'index':_0x125c6b,'sheet':_0x19b025,'unitId':_0x182035},_0x565e13=_0x5cc6ba[_0x272dda(0x155)](_0x4482fa,_0x4c4e01);_0x27d83d['push']({'id':_0x5cc6ba['RemoveSheetMutation']['id'],'params':_0x565e13}),_0x684023['push']({'id':_0x5cc6ba[_0x272dda(0x26d)]['id'],'params':_0x4c4e01});}else{if(!_0x198ad7[_0x272dda(0x98)](_0x4d179c))return!0x1;const _0x25ecbb=_0x21902f(_0x4482fa,new _0x3ed89a[(_0x272dda(0x1da))](),_0x571d13,!0x0);_0x684023['push'](..._0x25ecbb[_0x272dda(0x220)]),_0x27d83d[_0x272dda(0xf8)](..._0x25ecbb['undos']);const _0x43c24a={'cellInfo':_0x571d13,'view':_0xd4b7a4,'isEmpty':_0x4f4c63};if(!await _0x4482fa[_0x272dda(0x33f)](_0x159003[_0x272dda(0x346)])[_0x272dda(0x2ee)][_0x272dda(0x360)](_0x17b1a6)(!0x0,_0x43c24a))return!0x1;const _0x51662c=_0x3d5d35(_0x4482fa,_0x43c24a);_0x684023[_0x272dda(0xf8)](..._0x51662c[_0x272dda(0x220)]),_0x27d83d[_0x272dda(0xf8)](..._0x51662c[_0x272dda(0x10f)]);}return _0x684023['push']({'id':_0x25211b['id'],'params':{'unitId':_0x571d13['unitId'],'subUnitId':_0x571d13['subUnitId'],'pivotTableId':_0x389395,'pivotTableConfig':{'targetCellInfo':_0x571d13,'sourceRangeInfo':_0x48c66d,'fieldsConfig':_0x362dd1},'collectionConfig':_0x4227a9}}),_0x27d83d[_0x272dda(0xb1)]({'id':_0x3bf3ed['id'],'params':{'unitId':_0x182035,'subUnitId':_0x4d179c,'pivotTableId':_0x389395}}),_0x2814ce[_0x272dda(0x2e8)](_0x684023,_0xb508ce)&&_0x268138[_0x272dda(0xad)]({'unitID':_0x182035,'undoMutations':_0x27d83d,'redoMutations':_0x684023}),!0x0;}},_0x458d2a={'type':_0x2814ce['CommandType'][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0x30b),async 'handler'(_0x56816a,_0x25653f){const _0xa81338=_0x2d3cd7;if(!_0x25653f)return!0x1;const _0x2523ee=_0x56816a[_0xa81338(0x33f)](_0x2814ce[_0xa81338(0x263)]),_0x2706ff=_0x56816a[_0xa81338(0x33f)](_0x159003[_0xa81338(0x2a7)]),_0xe4f32a=_0x56816a[_0xa81338(0x33f)](_0x2814ce[_0xa81338(0x143)]),{pivotTableId:_0x5e204b,fieldId:_0x5361b4,area:_0xf24511,index:_0x119d1d,unitId:_0x4e3171,subUnitId:_0x564117}=_0x25653f,_0x5b0b94=(await _0x2706ff['getPivotDisplayConfig']({'unitId':_0x4e3171,'subUnitId':_0x564117,'pivotTableId':_0x5e204b,'params':{'type':_0x6c21f4[_0xa81338(0x265)],'movePivotField':{'fieldId':_0x5361b4,'area':_0xf24511,'index':_0x119d1d}}}))[_0xa81338(0xa0)][_0xa81338(0x2cb)];if(!_0x5b0b94)return!0x1;const {changesets:_0x274fee,view:_0x523e44,isEmpty:_0x4c10d4,pivotTableConfig:_0x1f5861}=_0x5b0b94,_0x319443=_0x1f5861[_0xa81338(0x301)],_0x344253=new _0x3ed89a[(_0xa81338(0x1da))]();_0x344253[_0xa81338(0x18f)](_0x523e44);const _0x1269e2={'cellInfo':_0x319443,'view':_0x344253,'isEmpty':_0x4c10d4};if(!await _0x56816a[_0xa81338(0x33f)](_0x159003[_0xa81338(0x346)])['asyncInterceptor'][_0xa81338(0x360)](_0x17b1a6)(!0x0,_0x1269e2))return!0x1;const _0x336c70=_0x21902f(_0x56816a,_0x344253,_0x319443,_0x4c10d4),_0x30eb20=_0x3d5d35(_0x56816a,_0x1269e2),{redos:_0x2e5fa3,undos:_0xe1ae48}=_0x122f37(_0x2523ee,{'pivotTableId':_0x5e204b,'unitId':_0x4e3171,'subUnitId':_0x564117},_0x274fee);return _0x2814ce[_0xa81338(0x2e8)]([..._0x336c70[_0xa81338(0x220)],..._0x30eb20[_0xa81338(0x220)],..._0x2e5fa3],_0x2523ee),_0xe4f32a[_0xa81338(0xad)]({'unitID':_0x4e3171,'redoMutations':[..._0x336c70['redos'],..._0x30eb20['redos'],..._0x2e5fa3],'undoMutations':[..._0x336c70['undos'],..._0x30eb20[_0xa81338(0x10f)],..._0xe1ae48]}),!0x0;}},_0x4ea26a={'type':_0x2814ce[_0x2d3cd7(0x196)]['COMMAND'],'id':_0x2d3cd7(0x133),async 'handler'(_0x1a6a55,_0x4284a5){const _0x930f08=_0x2d3cd7;var _0x11d017;if(!_0x4284a5)return!0x1;const _0x377d99=_0x1a6a55[_0x930f08(0x33f)](_0x2814ce[_0x930f08(0x368)]),_0x2b15aa=_0x5cc6ba[_0x930f08(0x22d)](_0x377d99);if(!_0x2b15aa)return!0x1;const {unitId:_0x3ac378,subUnitId:_0x46eaf3,workbook:_0x30d9c7}=_0x2b15aa,{row:_0x11f587,col:_0x3abeae}=_0x4284a5,_0xe937b5=_0x1a6a55[_0x930f08(0x33f)](_0x159003['SheetsPivotTableAdaptorModel']),_0x2c6dcc=_0xe937b5[_0x930f08(0x233)](_0x3ac378,_0x46eaf3,_0x11f587,_0x3abeae);if(!_0x2c6dcc)return!0x1;const _0x4b3fd8=(_0x11d017=_0xe937b5[_0x930f08(0x82)](_0x3ac378,_0x46eaf3,_0x2c6dcc))==null?void 0x0:_0x11d017[_0x930f08(0xd2)];if(!_0x4b3fd8)return!0x1;const _0x45bae5=_0x1a6a55[_0x930f08(0x33f)](_0x159003[_0x930f08(0x282)])[_0x930f08(0x2e4)](_0x3ac378,_0x46eaf3,_0x2c6dcc);if(!_0x45bae5)return!0x1;const {rowInfo:_0x327d17,colInfo:_0x1df377}=_0x4b3fd8,_0x343be0=_0x327d17[_0x11f587][_0x930f08(0x2e3)],_0x163de6=_0x1df377[_0x3abeae][_0x930f08(0x2e3)],_0x38e5d4=_0x327d17[_0x11f587][_0x930f08(0x141)],_0xe83818=_0x1df377[_0x3abeae][_0x930f08(0x141)],_0x2c6772=_0x343be0[_0x930f08(0x2f4)](_0x163de6),_0x2ef9ee=_0x45bae5[_0x930f08(0xf4)][_0x930f08(0x27a)][_0x930f08(0xde)](0x0,_0x38e5d4),_0x1542ad=_0x45bae5['fieldsConfig']['columnFields'][_0x930f08(0xde)](0x0,_0xe83818),_0x309043=_0x2ef9ee['concat'](_0x1542ad),_0x3ff5ea=_0x2c6772['map']((_0x59b65d,_0x2330f2)=>[_0x59b65d,_0x309043[_0x2330f2]]),_0x5ba05e=(await _0x1a6a55[_0x930f08(0x33f)](_0x159003['SheetsPivotRPCService'])['getPivotDisplayConfig']({'unitId':_0x3ac378,'subUnitId':_0x46eaf3,'pivotTableId':_0x2c6dcc,'params':{'type':_0x6c21f4[_0x930f08(0x371)],'drillDown':{'tuple':_0x3ff5ea}}}))['result']['drillDown'];if(!_0x5ba05e)return!0x1;const {indexes:_0x4d7139,range:_0x374454,sourceUnitId:_0x5e4d39,sourceSubUnitId:_0x19ea43,formatMap:_0x2896af}=_0x5ba05e,{startRow:_0x4b70b7,endRow:_0x4f8688,startColumn:_0x2483f3,endColumn:_0x1d81bf}=_0x374454,_0x1a48f7=new _0x2814ce[(_0x930f08(0x15b))](),_0x5c0660=_0x4f8688-_0x4b70b7,_0x9bb61f=_0x1d81bf-_0x2483f3,_0x29b4c8={},_0x28dcd4=_0x5cc6ba[_0x930f08(0x22d)](_0x377d99,{'unitId':_0x5e4d39,'subUnitId':_0x19ea43});if(!_0x28dcd4)return!0x1;const _0xbe8680=_0x473100[_0x930f08(0x11b)],_0x2d6e1b=_0x473100['subTotalStyle'],_0x11476f=_0x473100[_0x930f08(0x2b1)],_0x131668=_0x30d9c7[_0x930f08(0x1d1)]()['setValue'](_0xbe8680),_0x49b967=_0x30d9c7[_0x930f08(0x1d1)]()[_0x930f08(0x381)](_0x2d6e1b),_0x57ecb1=_0x30d9c7['getStyles']()[_0x930f08(0x381)](_0x11476f),{worksheet:_0x1a543b}=_0x28dcd4;let _0x34e2af=0x0;const _0x208449=0x1;_0x4d7139[_0x930f08(0x34b)](_0x4f9e01=>{const _0xba9536=_0x930f08;for(let _0x54d5f9=0x0;_0x54d5f9<=_0x1d81bf-_0x2483f3;_0x54d5f9++)_0x1a48f7[_0xba9536(0x381)](_0x34e2af,_0x54d5f9,_0x1a543b[_0xba9536(0x2c4)](_0x4f9e01+_0x374454['startRow']+_0x208449,_0x54d5f9));_0x34e2af++;});for(let _0x4dfb18=_0x2483f3;_0x4dfb18<=_0x1d81bf;_0x4dfb18++){const _0x5a9086=_0x1a543b[_0x930f08(0x2c4)](_0x4b70b7,_0x4dfb18);_0x29b4c8[_0x4b70b7]||(_0x29b4c8[_0x4b70b7]={}),_0x29b4c8[_0x4b70b7][_0x4dfb18]={..._0x5a9086,'s':_0x131668};}let _0xa64607=0x1;const _0x88dc43={},_0x7df133={};_0x1a48f7['forRow']((_0x213ba1,_0x16ac94)=>{const _0x4218aa=_0x930f08;_0x16ac94[_0x4218aa(0x34b)](_0x165f61=>{const _0x1cb907=_0x4218aa,_0x4c14dd=_0x1a48f7['getValue'](_0x213ba1,_0x165f61);if(_0x29b4c8[_0xa64607]||(_0x29b4c8[_0xa64607]={}),_0x29b4c8[_0xa64607][_0x165f61]={..._0x4c14dd,'s':_0xa64607%0x2===0x0?_0x57ecb1:_0x49b967},_0x2896af[_0x165f61]&&_0x213ba1>=0x0){const _0x53d439=_0xa64607%0x2===0x0;let _0x1ecfc2=_0x53d439?_0x7df133[_0x165f61]:_0x88dc43[_0x165f61];_0x1ecfc2||(_0x1ecfc2=_0x30d9c7[_0x1cb907(0x1d1)]()['setValue']({..._0x53d439?_0x11476f:_0x2d6e1b,'n':{'pattern':_0x2896af[_0x165f61]}}),_0x53d439?_0x7df133[_0x165f61]=_0x1ecfc2:_0x88dc43[_0x165f61]=_0x1ecfc2),_0x29b4c8[_0xa64607][_0x165f61]['s']=_0x1ecfc2;}}),_0xa64607++;});const _0x23f14d=new _0x2814ce[(_0x930f08(0x15b))](_0x29b4c8),_0x211a5c={};_0x23f14d[_0x930f08(0x2d5)]((_0x24b10f,_0x19d409,_0xa58563)=>{_0x211a5c[_0x24b10f]||(_0x211a5c[_0x24b10f]={}),_0x211a5c[_0x24b10f][_0x19d409]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x25255e=[],_0x7994dc=[],_0x783053=_0x30d9c7[_0x930f08(0x36d)]()['length'],_0x3831d5=_0x2814ce[_0x930f08(0x12b)]({'rowCount':Math[_0x930f08(0x2bf)](_0x2814ce[_0x930f08(0xc7)],_0x5c0660+0xa),'columnCount':Math[_0x930f08(0x2bf)](_0x2814ce[_0x930f08(0x2a5)],_0x9bb61f+0x5)}),_0x576acb=_0x1a6a55[_0x930f08(0x33f)](_0x2814ce['LocaleService']);_0x3831d5['id']=_0x2814ce[_0x930f08(0x24e)](),_0x3831d5[_0x930f08(0xc6)]=_0x30d9c7['generateNewSheetName'](''+_0x576acb['t']('sheets.tabs.sheet'));const _0x16035f={'index':_0x783053,'sheet':_0x3831d5,'unitId':_0x3ac378},_0x5209a7=_0x5cc6ba[_0x930f08(0x155)](_0x1a6a55,_0x16035f);_0x7994dc[_0x930f08(0xf8)]({'id':_0x5cc6ba[_0x930f08(0x26d)]['id'],'params':_0x16035f}),_0x25255e[_0x930f08(0xf8)]({'id':_0x5cc6ba['RemoveSheetMutation']['id'],'params':_0x5209a7}),_0x7994dc['push']({'id':_0x5cc6ba[_0x930f08(0x1a7)]['id'],'params':{'unitId':_0x3ac378,'subUnitId':_0x3831d5['id'],'cellValue':_0x29b4c8}}),_0x25255e[_0x930f08(0xb1)]({'id':_0x5cc6ba[_0x930f08(0x1a7)]['id'],'params':{'unitId':_0x3ac378,'subUnitId':_0x3831d5['id'],'cellValue':_0x211a5c}});const _0x5db833={'startRow':0x0,'startColumn':0x0,'endRow':_0xa64607-0x1,'endColumn':_0x1d81bf};_0x7994dc[_0x930f08(0xf8)]({'id':_0x184d1f[_0x930f08(0x240)]['id'],'params':{'unitId':_0x3ac378,'subUnitId':_0x3831d5['id'],'range':_0x5db833}}),_0x25255e['unshift']({'id':_0x184d1f[_0x930f08(0x1f3)]['id'],'params':{'unitId':_0x3ac378,'subUnitId':_0x3831d5['id']}});const _0x47dbfb=_0x1a6a55['get'](_0x2814ce[_0x930f08(0x263)]);return _0x2814ce[_0x930f08(0x2e8)](_0x7994dc,_0x47dbfb)&&_0x1a6a55[_0x930f08(0x33f)](_0x2814ce[_0x930f08(0x143)])[_0x930f08(0xad)]({'unitID':_0x3ac378,'undoMutations':_0x25255e,'redoMutations':_0x7994dc}),!0x0;}},_0x1053de={'type':_0x2814ce['CommandType'][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0x1ce),async 'handler'(_0x2391b8,_0x26a497){const _0x445f06=_0x2d3cd7;if(!_0x26a497)return!0x1;const _0x3566f1=_0x2391b8[_0x445f06(0x33f)](_0x2814ce[_0x445f06(0x263)]),_0x364d47=_0x2391b8[_0x445f06(0x33f)](_0x159003[_0x445f06(0x2a7)]),_0xf93cee=_0x2391b8[_0x445f06(0x33f)](_0x2814ce['IUndoRedoService']),{pivotTableId:_0x17c570,fieldIds:_0x10edf3,unitId:_0x158e10,subUnitId:_0x77eb6e}=_0x26a497,_0x3e1bc3=(await _0x364d47[_0x445f06(0x14f)]({'unitId':_0x158e10,'subUnitId':_0x77eb6e,'pivotTableId':_0x17c570,'params':{'type':_0x6c21f4[_0x445f06(0x1f1)],'removePivotField':{'fieldIds':_0x10edf3}}}))['result'][_0x445f06(0xc9)];if(!_0x3e1bc3)return!0x1;const {view:_0x6f730,changesets:_0x829f13,isEmpty:_0x5c0c9e,pivotTableConfig:_0x24d697}=_0x3e1bc3,_0x6f9f59=_0x24d697['targetCellInfo'],_0x474d18=new _0x3ed89a[(_0x445f06(0x1da))]();_0x474d18['formJSON'](_0x6f730);const _0x3daa2f={'cellInfo':_0x6f9f59,'view':_0x474d18,'isEmpty':_0x5c0c9e};if(!await _0x2391b8['get'](_0x159003[_0x445f06(0x346)])[_0x445f06(0x2ee)][_0x445f06(0x360)](_0x17b1a6)(!0x0,_0x3daa2f))return!0x1;const _0x1d7269=_0x21902f(_0x2391b8,_0x474d18,_0x6f9f59,_0x5c0c9e),_0x553394=_0x3d5d35(_0x2391b8,_0x3daa2f),{redos:_0x4b9bb1,undos:_0x291165}=_0x122f37(_0x3566f1,{'pivotTableId':_0x17c570,'unitId':_0x158e10,'subUnitId':_0x77eb6e},_0x829f13);return _0x2814ce[_0x445f06(0x2e8)]([..._0x1d7269[_0x445f06(0x220)],..._0x553394[_0x445f06(0x220)],..._0x4b9bb1],_0x3566f1),_0xf93cee[_0x445f06(0xad)]({'unitID':_0x158e10,'redoMutations':[..._0x1d7269[_0x445f06(0x220)],..._0x553394['redos'],..._0x4b9bb1],'undoMutations':[..._0x1d7269[_0x445f06(0x10f)],..._0x553394[_0x445f06(0x10f)],..._0x291165]}),!0x0;}},_0x22bc39={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0x223),async 'handler'(_0x54615c,_0x2fdcf9){const _0x254409=_0x2d3cd7;var _0x5905b7;const _0x393d27=_0x54615c['get'](_0x2814ce['ICommandService']),_0x1d40a1=_0x54615c[_0x254409(0x33f)](_0x159003[_0x254409(0x2a7)]),_0x4a1755=_0x54615c[_0x254409(0x33f)](_0x159003[_0x254409(0x379)]),_0x37c3a2=_0x54615c['get'](_0x2814ce[_0x254409(0x368)]),_0x30aa37=_0x54615c[_0x254409(0x33f)](_0x2814ce[_0x254409(0x143)]);if(!_0x2fdcf9)return!0x1;const {unitId:_0x55e710,subUnitId:_0x31ff02,row:_0x12af8a,col:_0x3efaab,collapse:_0x105fd6}=_0x2fdcf9,_0x8d649b=_0x37c3a2[_0x254409(0x94)](_0x55e710);if(!_0x8d649b||!_0x8d649b[_0x254409(0x98)](_0x31ff02))return!0x1;const _0x538c66=_0x4a1755['getPivotTableIdByCell'](_0x55e710,_0x31ff02,_0x12af8a,_0x3efaab);if(!_0x538c66)return!0x1;const _0x1d9057=_0x4a1755[_0x254409(0x82)](_0x55e710,_0x31ff02,_0x538c66);if(!_0x1d9057)return!0x1;const _0x49e84a=_0x2814ce[_0x254409(0x30d)](_0x12af8a,_0x3efaab),{rangesInfo:_0x274c34,areaInfo:_0x30d228,headerMap:_0xda1cf5}=_0x1d9057;if(!_0x274c34||!_0x30d228||!_0xda1cf5)return!0x1;const _0x1aeb4a=Object['keys'](_0x274c34)[_0x254409(0x217)](_0x487746=>_0x274c34[_0x487746]['some'](_0x283fd3=>_0x2814ce[_0x254409(0x2f1)]['contains'](_0x283fd3,_0x49e84a)));let _0x4a1055;_0x1aeb4a===_0x254409(0x270)?_0x4a1055=_0xda1cf5[_0x254409(0x202)][_0x3efaab]:_0x1aeb4a===_0x254409(0x366)&&(_0x4a1055=_0xda1cf5[_0x254409(0x2ae)][_0x12af8a]);const _0x193664=_0x4a1055==null?void 0x0:_0x4a1055[_0x254409(0xb2)],_0x572cf8=(_0x5905b7=_0x4a1755[_0x254409(0x271)](_0x55e710,_0x31ff02,_0x12af8a,_0x3efaab))==null?void 0x0:_0x5905b7['v'];if(_0x572cf8==null||!_0x538c66||!_0x193664)return!0x1;const _0x2e69af=await _0x1d40a1['getPivotDisplayConfig']({'unitId':_0x55e710,'subUnitId':_0x31ff02,'pivotTableId':_0x538c66,'params':{'type':_0x6c21f4[_0x254409(0x29d)],'setPivotCollapse':{'tableFieldId':_0x193664,'collapse':_0x105fd6,'item':_0x572cf8}}}),_0x465a5e=_0x2e69af==null?void 0x0:_0x2e69af[_0x254409(0xa0)][_0x254409(0x2ca)];if(!_0x465a5e)return!0x1;const {view:_0x3ded7a,pivotTableConfig:_0x2f8146,isEmpty:_0x40c146,changesets:_0x245d31}=_0x465a5e,_0x370d6f=new _0x3ed89a[(_0x254409(0x1da))]();_0x370d6f['formJSON'](_0x3ded7a);const _0x5493bd=_0x2f8146[_0x254409(0x301)],_0x2f4ddf={'cellInfo':_0x5493bd,'view':_0x370d6f,'isEmpty':_0x40c146};if(!await _0x54615c[_0x254409(0x33f)](_0x159003[_0x254409(0x346)])['asyncInterceptor'][_0x254409(0x360)](_0x17b1a6)(!0x0,_0x2f4ddf))return!0x1;const _0x51e03b=_0x21902f(_0x54615c,_0x370d6f,_0x5493bd,_0x40c146),_0x407abe=_0x3d5d35(_0x54615c,_0x2f4ddf),{redos:_0x2b831c,undos:_0x51a745}=_0x122f37(_0x393d27,{'pivotTableId':_0x538c66,'unitId':_0x55e710,'subUnitId':_0x31ff02},_0x245d31);return _0x2814ce[_0x254409(0x2e8)]([..._0x51e03b[_0x254409(0x220)],..._0x407abe[_0x254409(0x220)],..._0x2b831c],_0x393d27),_0x30aa37[_0x254409(0xad)]({'unitID':_0x55e710,'redoMutations':[..._0x51e03b['redos'],..._0x407abe[_0x254409(0x220)],..._0x2b831c],'undoMutations':[..._0x51e03b[_0x254409(0x10f)],..._0x407abe[_0x254409(0x10f)],..._0x51a745]}),!0x0;}},_0x2f2cf4={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0x30c),async 'handler'(_0x535aac,_0x28cba9){const _0x4b3e1f=_0x2d3cd7;if(!_0x28cba9)return!0x1;const _0x4d17e1=_0x535aac[_0x4b3e1f(0x33f)](_0x2814ce[_0x4b3e1f(0x263)]),{pivotTableId:_0x5355cb,tableFieldId:_0x1e9b4b,items:_0x2b2aed,unitId:_0x1562f7,subUnitId:_0x278944,isAll:_0x2e6867}=_0x28cba9,_0x230a6d=_0x535aac[_0x4b3e1f(0x33f)](_0x159003[_0x4b3e1f(0x2a7)]),_0x2b0045=_0x535aac[_0x4b3e1f(0x33f)](_0x2814ce[_0x4b3e1f(0x143)]),_0x4c1673=(await _0x230a6d['getPivotDisplayConfig']({'unitId':_0x1562f7,'subUnitId':_0x278944,'pivotTableId':_0x5355cb,'params':{'type':_0x6c21f4['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x1e9b4b,'items':_0x2b2aed,'isAll':_0x2e6867}}}))[_0x4b3e1f(0xa0)]['setPivotFilter'];if(!_0x4c1673)return!0x1;const {changesets:_0x235458,pivotTableConfig:_0x4f0410,isEmpty:_0x5c034e,view:_0x47a3ae}=_0x4c1673,_0x56d58b=_0x4f0410['targetCellInfo'],_0x342a53=new _0x3ed89a[(_0x4b3e1f(0x1da))]();_0x342a53[_0x4b3e1f(0x18f)](_0x47a3ae);const _0x5c067b={'cellInfo':_0x56d58b,'view':_0x342a53,'isEmpty':_0x5c034e};if(!await _0x535aac['get'](_0x159003[_0x4b3e1f(0x346)])[_0x4b3e1f(0x2ee)][_0x4b3e1f(0x360)](_0x17b1a6)(!0x0,_0x5c067b))return!0x1;const _0x11621f=_0x21902f(_0x535aac,_0x342a53,_0x56d58b,_0x5c034e),_0x501da7=_0x3d5d35(_0x535aac,_0x5c067b),{undos:_0x15265f,redos:_0x27aa66}=_0x122f37(_0x4d17e1,{'pivotTableId':_0x5355cb,'unitId':_0x1562f7,'subUnitId':_0x278944},_0x235458);return _0x2814ce[_0x4b3e1f(0x2e8)]([..._0x11621f[_0x4b3e1f(0x220)],..._0x501da7[_0x4b3e1f(0x220)],..._0x27aa66],_0x4d17e1),_0x2b0045[_0x4b3e1f(0xad)]({'unitID':_0x1562f7,'redoMutations':[..._0x11621f[_0x4b3e1f(0x220)],..._0x501da7['redos'],..._0x27aa66],'undoMutations':[..._0x11621f[_0x4b3e1f(0x10f)],..._0x501da7[_0x4b3e1f(0x10f)],..._0x15265f]}),!0x0;}},_0x23cd38={'type':_0x2814ce[_0x2d3cd7(0x196)]['COMMAND'],'id':_0x2d3cd7(0x31b),async 'handler'(_0x29ca13,_0x5b6307){const _0x469f02=_0x2d3cd7;if(!_0x5b6307)return!0x1;const _0x5014b8=_0x29ca13['get'](_0x2814ce[_0x469f02(0x263)]),_0x562715=_0x29ca13[_0x469f02(0x33f)](_0x2814ce[_0x469f02(0x143)]),_0x50beb2=_0x29ca13[_0x469f02(0x33f)](_0x159003[_0x469f02(0x2a7)]),{info:_0x3ea3c6,tableFieldId:_0x36245e,pivotTableId:_0x2ee9b6,unitId:_0x4f873a,subUnitId:_0x21da16}=_0x5b6307,_0x1592c6=(await _0x50beb2['getPivotDisplayConfig']({'unitId':_0x4f873a,'subUnitId':_0x21da16,'pivotTableId':_0x2ee9b6,'params':{'type':_0x6c21f4[_0x469f02(0x357)],'setPivotSort':{'tableFieldId':_0x36245e,'info':_0x3ea3c6}}}))['result'][_0x469f02(0x25d)];if(!_0x1592c6)return!0x1;const {changesets:_0x1b1746}=_0x1592c6,{redos:_0x163f66,undos:_0x51c262}=_0x122f37(_0x5014b8,{'pivotTableId':_0x2ee9b6,'unitId':_0x4f873a,'subUnitId':_0x21da16},_0x1b1746);return _0x2814ce[_0x469f02(0x2e8)](_0x163f66,_0x5014b8),_0x562715[_0x469f02(0xad)]({'unitID':_0x4f873a,'redoMutations':_0x163f66,'undoMutations':_0x51c262}),!0x0;}},_0x2228f4={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0xf9),async 'handler'(_0x1a0619,_0x39d09d){const _0x3902d7=_0x2d3cd7;if(!_0x39d09d)return!0x1;const _0x2444a8=_0x1a0619[_0x3902d7(0x33f)](_0x2814ce[_0x3902d7(0x263)]),_0x4a609a=_0x1a0619[_0x3902d7(0x33f)](_0x2814ce[_0x3902d7(0x143)]),_0x2390a2=_0x1a0619[_0x3902d7(0x33f)](_0x159003[_0x3902d7(0x2a7)]),{displayName:_0x5b2766,subtotalType:_0x5cd7b2,format:_0x388128,tableFieldId:_0x147671,pivotTableId:_0x8d01b7,unitId:_0x28d64c,subUnitId:_0x4836f9}=_0x39d09d,_0x2f12a7=(await _0x2390a2[_0x3902d7(0x14f)]({'unitId':_0x28d64c,'subUnitId':_0x4836f9,'pivotTableId':_0x8d01b7,'params':{'type':_0x6c21f4[_0x3902d7(0x12c)],'setPivotSetting':{'tableFieldId':_0x147671,'displayName':_0x5b2766,'subtotalType':_0x5cd7b2,'format':_0x388128}}}))['result']['setPivotSetting'];if(!_0x2f12a7)return!0x1;const {changesets:_0x32da84,view:_0x5c02b6,pivotTableConfig:_0x4cb630,isEmpty:_0x4a4b5b}=_0x2f12a7,_0x4efbab=_0x4cb630[_0x3902d7(0x301)],_0xee2bfa=new _0x3ed89a[(_0x3902d7(0x1da))]();_0xee2bfa[_0x3902d7(0x18f)](_0x5c02b6);const _0x1e1359={'cellInfo':_0x4efbab,'view':_0xee2bfa,'isEmpty':_0x4a4b5b};if(!await _0x1a0619[_0x3902d7(0x33f)](_0x159003[_0x3902d7(0x346)])[_0x3902d7(0x2ee)][_0x3902d7(0x360)](_0x17b1a6)(!0x0,_0x1e1359))return!0x1;const _0x22db72=_0x21902f(_0x1a0619,_0xee2bfa,_0x4efbab,_0x4a4b5b),_0x327e8d=_0x3d5d35(_0x1a0619,_0x1e1359),{undos:_0x20157d,redos:_0x2e3449}=_0x122f37(_0x2444a8,{'pivotTableId':_0x8d01b7,'unitId':_0x28d64c,'subUnitId':_0x4836f9},_0x32da84);return _0x2814ce['sequenceExecute']([..._0x22db72['redos'],..._0x327e8d['redos'],..._0x2e3449],_0x2444a8),_0x4a609a[_0x3902d7(0xad)]({'unitID':_0x28d64c,'redoMutations':[..._0x22db72['redos'],..._0x327e8d['redos'],..._0x2e3449],'undoMutations':[..._0x22db72[_0x3902d7(0x10f)],..._0x327e8d[_0x3902d7(0x10f)],..._0x20157d]}),!0x0;}},_0x417b20={'type':_0x2814ce[_0x2d3cd7(0x196)]['COMMAND'],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x5b9994,_0x2942d3){const _0x3995a8=_0x2d3cd7,_0x2bc58b=_0x5b9994[_0x3995a8(0x33f)](_0x2814ce[_0x3995a8(0x263)]),_0x1ba04f=_0x5b9994[_0x3995a8(0x33f)](_0x159003['SheetsPivotRPCService']),_0x243b47=_0x5b9994['get'](_0x2814ce[_0x3995a8(0x143)]);if(!_0x2942d3)return!0x1;const {token:_0x309417,dataRangeInfo:_0x79b2c0,unitId:_0x593483,subUnitId:_0x51a77e}=_0x2942d3,_0x20616a=[],_0xcf9934=[],_0x333664=(await _0x1ba04f[_0x3995a8(0x14f)]({'unitId':_0x593483,'subUnitId':_0x51a77e,'pivotTableId':_0x309417,'params':{'type':_0x6c21f4[_0x3995a8(0xff)],'updatePivotSource':{'dataRangeInfo':_0x79b2c0,'unitId':_0x593483,'subUnitId':_0x51a77e}}}))[_0x3995a8(0xa0)][_0x3995a8(0xe8)];if(!_0x333664)return!0x1;const {changesets:_0x59a219,deleteIds:_0x31d4f8,collectionConfig:_0x39d6dc,oldCollectionConfig:_0x3ddba6,view:_0x596c31,isEmpty:_0x3badd2,pivotTableConfig:_0x147282}=_0x333664;_0xcf9934[_0x3995a8(0xf8)]({'id':_0x574367['id'],'params':{'pivotTableId':_0x309417,'deleteIds':_0x31d4f8,'collectionJSON':_0x39d6dc,'dataRangeInfo':_0x79b2c0,'unitId':_0x593483,'subUnitId':_0x51a77e}}),_0x20616a[_0x3995a8(0xb1)]({'id':_0x574367['id'],'params':{'pivotTableId':_0x309417,'deleteIds':[],'collectionJSON':_0x3ddba6,'dataRangeInfo':_0x147282[_0x3995a8(0x281)],'unitId':_0x593483,'subUnitId':_0x51a77e}});const _0x24d745=_0x147282[_0x3995a8(0x301)],_0x2e83d5=new _0x3ed89a[(_0x3995a8(0x1da))]();_0x2e83d5['formJSON'](_0x596c31);const _0xb83893={'cellInfo':_0x24d745,'view':_0x2e83d5,'isEmpty':_0x3badd2};if(!await _0x5b9994[_0x3995a8(0x33f)](_0x159003['SheetsPivotTableService'])[_0x3995a8(0x2ee)]['fetchThroughAsyncInterceptors'](_0x17b1a6)(!0x0,_0xb83893))return!0x1;const _0x5d7ea9=_0x21902f(_0x5b9994,_0x2e83d5,_0x24d745,_0x3badd2),_0x4b92e1=_0x3d5d35(_0x5b9994,_0xb83893),{undos:_0x54b8a3,redos:_0x5de06d}=_0x122f37(_0x2bc58b,{'pivotTableId':_0x309417,'unitId':_0x593483,'subUnitId':_0x51a77e},_0x59a219);return _0x2814ce[_0x3995a8(0x2e8)]([..._0x5d7ea9[_0x3995a8(0x220)],..._0x4b92e1['redos'],..._0xcf9934,..._0x54b8a3],_0x2bc58b),_0x243b47[_0x3995a8(0xad)]({'unitID':_0x593483,'redoMutations':[..._0x5d7ea9[_0x3995a8(0x220)],..._0x4b92e1[_0x3995a8(0x220)],..._0xcf9934,..._0x54b8a3],'undoMutations':[..._0x5d7ea9[_0x3995a8(0x10f)],..._0x4b92e1[_0x3995a8(0x10f)],..._0x20616a,..._0x5de06d]}),!0x0;}},_0xe3d45c={'type':_0x2814ce['CommandType'][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0x215),async 'handler'(_0x54faad,_0x1d5fc2){const _0x59028d=_0x2d3cd7;if(!_0x1d5fc2)return!0x1;const _0x410411=_0x54faad['get'](_0x2814ce[_0x59028d(0x263)]),_0x50138e=_0x54faad[_0x59028d(0x33f)](_0x159003['SheetsPivotRPCService']),_0x3432f6=_0x54faad[_0x59028d(0x33f)](_0x2814ce[_0x59028d(0x368)]),_0x53679e=_0x54faad['get'](_0x2814ce['IUndoRedoService']),{pivotTableId:_0x2015e8,position:_0x4efa0d,index:_0x169582}=_0x1d5fc2,_0x28a23b=_0x5cc6ba['getSheetCommandTarget'](_0x3432f6);if(!_0x28a23b)return!0x1;const {unitId:_0x43e00d,subUnitId:_0x1824bb}=_0x28a23b,_0x43450f=(await _0x50138e[_0x59028d(0x14f)]({'unitId':_0x43e00d,'subUnitId':_0x1824bb,'pivotTableId':_0x2015e8,'params':{'type':_0x6c21f4['UpdateValuePosition'],'updateValuePosition':{'position':_0x4efa0d,'index':_0x169582}}}))[_0x59028d(0xa0)][_0x59028d(0xfc)];if(!_0x43450f)return!0x1;const {changesets:_0xce9b9b,view:_0x5d879d,isEmpty:_0x41df8e,pivotTableConfig:_0x3d48c8}=_0x43450f,_0x3832ff=_0x3d48c8['targetCellInfo'],_0x440713=new _0x3ed89a[(_0x59028d(0x1da))]();_0x440713[_0x59028d(0x18f)](_0x5d879d);const _0x5f173d=_0x54faad['get'](_0x159003[_0x59028d(0x346)]),_0x71c6c0={'cellInfo':_0x3832ff,'view':_0x440713,'isEmpty':_0x41df8e};if(!await _0x5f173d['asyncInterceptor'][_0x59028d(0x360)](_0x17b1a6)(!0x0,_0x71c6c0))return!0x1;const _0x13383c=_0x21902f(_0x54faad,_0x440713,_0x3832ff,_0x41df8e),_0x128249=_0x3d5d35(_0x54faad,_0x71c6c0),{undos:_0x1541b7,redos:_0x149f4a}=_0x122f37(_0x410411,{'pivotTableId':_0x2015e8,'unitId':_0x43e00d,'subUnitId':_0x1824bb},_0xce9b9b);return _0x2814ce[_0x59028d(0x2e8)]([..._0x13383c[_0x59028d(0x220)],..._0x128249[_0x59028d(0x220)],..._0x149f4a],_0x410411),_0x53679e[_0x59028d(0xad)]({'unitID':_0x43e00d,'redoMutations':[..._0x13383c[_0x59028d(0x220)],..._0x128249[_0x59028d(0x220)],..._0x149f4a],'undoMutations':[..._0x13383c[_0x59028d(0x10f)],..._0x128249[_0x59028d(0x10f)],..._0x1541b7]}),!0x0;}},_0x363f51={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':'sheet.command.move-pivot-table','handler':(_0x2104f9,_0x3e0afa)=>{const _0x2ff602=_0x2d3cd7,_0x49395d=_0x2104f9['get'](_0x2814ce[_0x2ff602(0x263)]),_0x3ae82e=_0x2104f9[_0x2ff602(0x33f)](_0x2814ce[_0x2ff602(0x143)]),_0x17184c=_0x2104f9[_0x2ff602(0x33f)](_0x159003['SheetsPivotTableConfigModel']),_0x3f4091=_0x2104f9[_0x2ff602(0x33f)](_0x2814ce[_0x2ff602(0x368)]);if(!_0x3e0afa)return!0x1;const _0x490900=_0x5cc6ba[_0x2ff602(0x22d)](_0x3f4091);if(!_0x490900)return!0x1;const {unitId:_0x1c153e,subUnitId:_0x1d1f8a,workbook:_0x16ccb4}=_0x490900,_0x212c8a=_0x17184c[_0x2ff602(0x2e4)](_0x3e0afa[_0x2ff602(0x28c)][_0x2ff602(0x19c)],_0x3e0afa[_0x2ff602(0x28c)][_0x2ff602(0x2da)],_0x3e0afa[_0x2ff602(0x311)]);if(!_0x212c8a)return!0x1;const _0x5c72e7=_0x16ccb4[_0x2ff602(0x98)](_0x3e0afa[_0x2ff602(0x301)][_0x2ff602(0x2da)]);if(!_0x5c72e7)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0xaf4fda=_0x5c72e7[_0x2ff602(0x1f0)](),_0x2dd780=_0x5c72e7['getColumnCount']();if(_0x3e0afa[_0x2ff602(0x301)][_0x2ff602(0x363)]>_0xaf4fda||_0x3e0afa[_0x2ff602(0x301)][_0x2ff602(0x117)]>_0x2dd780)throw new Error(_0x2ff602(0x164));const _0x1e32e7=[{'id':_0x530b7f['id'],'params':{'unitId':_0x1c153e,'subUnitId':_0x3e0afa[_0x2ff602(0x301)][_0x2ff602(0x2da)],'pivotTableId':_0x3e0afa[_0x2ff602(0x311)],'targetCellPosition':{'row':_0x3e0afa['targetCellInfo']['row'],'col':_0x3e0afa[_0x2ff602(0x301)][_0x2ff602(0x117)]}}}],_0x10ac53=[{'id':_0x530b7f['id'],'params':{'unitId':_0x1c153e,'subUnitId':_0x1d1f8a,'pivotTableId':_0x3e0afa['pivotTableId'],'targetCellPosition':{'row':_0x212c8a[_0x2ff602(0x301)][_0x2ff602(0x363)],'col':_0x212c8a[_0x2ff602(0x301)][_0x2ff602(0x117)]}}}];return _0x2814ce['sequenceExecute'](_0x1e32e7,_0x49395d)&&_0x3ae82e[_0x2ff602(0xad)]({'unitID':_0x1c153e,'undoMutations':_0x10ac53,'redoMutations':_0x1e32e7}),!0x0;}},_0x24d4f9={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0x1a0),async 'handler'(_0x17e83b,_0x5bb6cd){const _0x216907=_0x2d3cd7;if(!_0x5bb6cd)return!0x1;const _0x28a749=_0x17e83b[_0x216907(0x33f)](_0x2814ce[_0x216907(0x263)]),{pivotTableId:_0x48d0cc,fieldId:_0x5f303e,valueFilterInfo:_0x479d32,unitId:_0xc22a3a,subUnitId:_0x1ea4c9}=_0x5bb6cd,_0x2dc6aa=_0x17e83b[_0x216907(0x33f)](_0x159003['SheetsPivotRPCService']),_0x18c47e=_0x17e83b['get'](_0x2814ce[_0x216907(0x143)]),_0x2d9eb4=(await _0x2dc6aa[_0x216907(0x14f)]({'unitId':_0xc22a3a,'subUnitId':_0x1ea4c9,'pivotTableId':_0x48d0cc,'params':{'type':_0x6c21f4[_0x216907(0x18d)],'setValuePivotFilter':{'tableFieldId':_0x5f303e,'filterInfo':_0x479d32}}}))[_0x216907(0xa0)][_0x216907(0x2af)];if(!_0x2d9eb4)return!0x1;const {changesets:_0x7ac95,pivotTableConfig:_0x4886ae,isEmpty:_0x34949d,view:_0x45cee7}=_0x2d9eb4,_0x4a9f0f=_0x4886ae['targetCellInfo'],_0x426f3d=new _0x3ed89a['PivotView']();_0x426f3d[_0x216907(0x18f)](_0x45cee7);const _0x59e3c0={'cellInfo':_0x4a9f0f,'view':_0x426f3d,'isEmpty':_0x34949d};if(!await _0x17e83b[_0x216907(0x33f)](_0x159003[_0x216907(0x346)])[_0x216907(0x2ee)][_0x216907(0x360)](_0x17b1a6)(!0x0,_0x59e3c0))return!0x1;const _0x2a3e7b=_0x21902f(_0x17e83b,_0x426f3d,_0x4a9f0f,_0x34949d),_0x1b8458=_0x3d5d35(_0x17e83b,_0x59e3c0),{undos:_0x712b3e,redos:_0x179579}=_0x122f37(_0x28a749,{'pivotTableId':_0x48d0cc,'unitId':_0xc22a3a,'subUnitId':_0x1ea4c9},_0x7ac95);return _0x2814ce[_0x216907(0x2e8)]([..._0x2a3e7b[_0x216907(0x220)],..._0x1b8458[_0x216907(0x220)],..._0x179579],_0x28a749),_0x18c47e[_0x216907(0xad)]({'unitID':_0xc22a3a,'redoMutations':[..._0x2a3e7b[_0x216907(0x220)],..._0x1b8458[_0x216907(0x220)],..._0x179579],'undoMutations':[..._0x2a3e7b[_0x216907(0x10f)],..._0x1b8458[_0x216907(0x10f)],..._0x712b3e]}),!0x0;}},_0x514954={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0xf7),async 'handler'(_0x592e6b,_0x3f2534){const _0x5a8d8f=_0x2d3cd7;if(!_0x3f2534)return!0x1;const _0x3b0747=_0x592e6b[_0x5a8d8f(0x33f)](_0x2814ce['ICommandService']),_0x4b18da=_0x592e6b['get'](_0x2814ce['IUndoRedoService']),_0x14f1a3=_0x592e6b['get'](_0x159003['SheetsPivotRPCService']),{pivotTableConfig:_0x507175,pivotTableId:_0x5c03e0,unitId:_0x2a86f8,subUnitId:_0x45a6dc}=_0x3f2534,_0x782dee=(await _0x14f1a3[_0x5a8d8f(0x14f)]({'unitId':_0x2a86f8,'subUnitId':_0x45a6dc,'pivotTableId':_0x5c03e0,'params':{'type':_0x6c21f4[_0x5a8d8f(0x123)],'setPivotTableConfig':{'pivotTableId':_0x5c03e0,'pivotTableConfig':_0x507175}}}))['result'][_0x5a8d8f(0x17a)];if(!_0x782dee)return!0x1;const {changesets:_0x3cc7a8}=_0x782dee,{redos:_0x26959f,undos:_0x59691e}=_0x122f37(_0x3b0747,{'pivotTableId':_0x5c03e0,'unitId':_0x2a86f8,'subUnitId':_0x45a6dc},_0x3cc7a8);return _0x2814ce[_0x5a8d8f(0x2e8)](_0x26959f,_0x3b0747),_0x4b18da[_0x5a8d8f(0xad)]({'unitID':_0x2a86f8,'redoMutations':_0x26959f,'undoMutations':_0x59691e}),!0x0;}},_0x59b4c1={'type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x110)],'id':_0x2d3cd7(0xdd),async 'handler'(_0x3f3eee,_0x39d5ea){const _0x290a40=_0x2d3cd7;if(!_0x39d5ea)return!0x1;const _0x327047=_0x3f3eee[_0x290a40(0x33f)](_0x2814ce[_0x290a40(0x263)]),_0x2b891b=_0x3f3eee[_0x290a40(0x33f)](_0x2814ce[_0x290a40(0x143)]),_0x401984=_0x3f3eee[_0x290a40(0x33f)](_0x159003[_0x290a40(0x2a7)]),{resetArea:_0x540e54,pivotTableId:_0x412575,unitId:_0x1d21bf,subUnitId:_0x292b77}=_0x39d5ea,_0x4f2bda=(await _0x401984[_0x290a40(0x14f)]({'unitId':_0x1d21bf,'subUnitId':_0x292b77,'pivotTableId':_0x412575,'params':{'type':_0x6c21f4[_0x290a40(0x204)],'resetPivotTable':{'pivotTableId':_0x412575,'resetArea':_0x540e54}}}))[_0x290a40(0xa0)][_0x290a40(0x225)];if(!_0x4f2bda)return!0x1;const {changesets:_0x14baea}=_0x4f2bda,{redos:_0x3bee4b,undos:_0x14cdec}=_0x122f37(_0x327047,{'pivotTableId':_0x412575,'unitId':_0x1d21bf,'subUnitId':_0x292b77},_0x14baea);return _0x2814ce['sequenceExecute'](_0x3bee4b,_0x327047),_0x2b891b[_0x290a40(0xad)]({'unitID':_0x1d21bf,'redoMutations':_0x3bee4b,'undoMutations':_0x14cdec}),!0x0;}},_0x38408b={'id':'sheet.mutation.update-date-group','type':_0x2814ce[_0x2d3cd7(0x196)][_0x2d3cd7(0x10d)],'handler':(_0x4eceae,_0x3dd4d7)=>{const _0x27f455=_0x2d3cd7;if(!_0x3dd4d7)return!0x1;if(!!_0x4eceae['get'](_0x2814ce[_0x27f455(0xca)])[_0x27f455(0xd1)](_0x3fcf75))return!0x0;const {unitId:_0xf5bf8c,subUnitId:_0x2cd206,pivotTableId:_0x51b849,tableFieldId:_0x33f12c,dateType:_0x4e9b5a}=_0x3dd4d7,_0x6dbe17=_0x4eceae[_0x27f455(0x33f)](_0x159003[_0x27f455(0x187)]),_0x1bf4bf=_0x6dbe17['getPivotTableInstance'](_0x51b849);if(!_0x1bf4bf)return!0x1;const _0x41e8d6=_0x1bf4bf[_0x27f455(0x104)](_0x33f12c);if(!_0x41e8d6)return!0x1;const _0x2b3418=_0x41e8d6[_0x27f455(0x1fd)](),_0x4ce4b8=_0x1bf4bf['getDataFieldByDataFieldId'](_0x2b3418),_0x1e8073=(_0x4ce4b8==null?void 0x0:_0x4ce4b8['getName']())+'\x20'+_0x3996df(_0x4eceae,_0x4e9b5a);_0x6dbe17[_0x27f455(0x2bb)](_0xf5bf8c,_0x51b849)[_0x27f455(0x11a)](_0x41e8d6['id'],_0x1e8073);const _0x53603a=_0x1bf4bf[_0x27f455(0xda)](_0x33f12c);if(!_0x53603a)return!0x1;_0x1bf4bf[_0x27f455(0x273)](_0x53603a['getId'](),_0x1e8073),_0x41e8d6[_0x27f455(0x219)](_0x4e9b5a);const _0x425d78=_0x6dbe17[_0x27f455(0x2e4)](_0xf5bf8c,_0x2cd206,_0x51b849);return _0x6dbe17[_0x27f455(0x2aa)]({'unitId':_0xf5bf8c,'subUnitId':_0x2cd206,'token':_0x51b849,'type':_0x2229c0[_0x27f455(0xae)],'pivotConfig':_0x425d78}),!0x0;}},_0x7033b1={'id':_0x2d3cd7(0x211),'type':_0x2814ce[_0x2d3cd7(0x196)]['COMMAND'],'handler':(_0x50034a,_0x45a1a3)=>{const _0x4dd0bb=_0x2d3cd7;if(!_0x45a1a3)return!0x1;const _0x3f5ffa=_0x50034a[_0x4dd0bb(0x33f)](_0x2814ce[_0x4dd0bb(0x143)]),{unitId:_0x11d068,subUnitId:_0x3aff92,pivotTableId:_0x352a50,tableFieldId:_0x127da6}=_0x45a1a3,_0x5e5b6b=[],_0x2f087d=[],_0x5b10c3=_0x50034a['get'](_0x159003[_0x4dd0bb(0x282)]),_0x352a67=_0x5b10c3[_0x4dd0bb(0x2bb)](_0x11d068,_0x352a50),_0x2cd5e7=_0x5b10c3[_0x4dd0bb(0x2e4)](_0x11d068,_0x3aff92,_0x352a50);if(!(_0x2cd5e7!=null&&_0x2cd5e7[_0x4dd0bb(0xf4)][_0x4dd0bb(0x161)]))return!0x1;const _0x597796=Object[_0x4dd0bb(0x1ab)](_0x2cd5e7['fieldsConfig'][_0x4dd0bb(0x161)])['find'](_0x36a2d4=>_0x36a2d4['id']===_0x127da6);if(!_0x597796)return!0x1;const _0x10d6a0=_0x597796[_0x4dd0bb(0x10a)];if(!(_0x352a67!=null&&_0x352a67['fields']))return!0x1;const _0x209ef0=Object[_0x4dd0bb(0x1ab)](_0x352a67==null?void 0x0:_0x352a67[_0x4dd0bb(0x35c)])[_0x4dd0bb(0x217)](_0x2c9af1=>_0x2c9af1['id']===_0x10d6a0);if(!_0x209ef0)return!0x1;_0x3ed89a[_0x4dd0bb(0x350)](_0x209ef0)&&_0x5e5b6b[_0x4dd0bb(0xf8)]({'id':_0x38408b['id'],'params':{..._0x45a1a3,'dateType':_0x209ef0[_0x4dd0bb(0x237)]}}),_0x2f087d[_0x4dd0bb(0xf8)]({'id':_0x38408b['id'],'params':{..._0x45a1a3}});const _0x163577=_0x50034a[_0x4dd0bb(0x33f)](_0x2814ce[_0x4dd0bb(0x263)]);return _0x2814ce[_0x4dd0bb(0x2e8)](_0x2f087d,_0x163577)&&_0x3f5ffa[_0x4dd0bb(0xad)]({'unitID':_0x11d068,'undoMutations':_0x5e5b6b,'redoMutations':_0x2f087d}),!0x0;}};var _0x6fe369=Object[_0x2d3cd7(0x11f)],_0x40e635=(_0x41e652,_0x3dc806,_0x5a7c4a,_0x2966ce)=>{for(var _0x37ee5d=_0x2966ce>0x1?void 0x0:_0x2966ce?_0x6fe369(_0x3dc806,_0x5a7c4a):_0x3dc806,_0x58663b=_0x41e652['length']-0x1,_0x539904;_0x58663b>=0x0;_0x58663b--)(_0x539904=_0x41e652[_0x58663b])&&(_0x37ee5d=_0x539904(_0x37ee5d)||_0x37ee5d);return _0x37ee5d;},_0x362e6d=(_0x4e2002,_0x49db29)=>(_0x4d5762,_0x3feda2)=>_0x49db29(_0x4d5762,_0x3feda2,_0x4e2002);const _0x1b57ac=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x4421bf=(_0x2de21b,_0x48d27f,_0x636ed3)=>{const _0x307ffa=_0x2d3cd7,_0x1ac2b5=_0x2de21b['dataFieldsCollection'];_0x2de21b['iterateFieldDim'](_0xfc90d=>{const _0x173908=_0x50dd,_0x104367=_0xfc90d[_0x173908(0x1c2)](),_0x33ff9d=_0xfc90d[_0x173908(0x37a)](),_0x3e0f1f=_0xfc90d['getSourceName'](),_0x3de470=_0xfc90d[_0x173908(0x2f5)]();_0x48d27f[_0x33ff9d]&&_0x48d27f[_0x33ff9d]===_0x3de470&&_0x3e0f1f===_0x3de470&&(_0x2de21b[_0x173908(0x273)](_0x104367,_0x1ac2b5[_0x173908(0x2f5)](_0x33ff9d)),_0xfc90d[_0x173908(0x96)](_0x1ac2b5[_0x173908(0x2f5)](_0x33ff9d)));}),_0x2de21b[_0x307ffa(0x25a)](_0x3ed89a[_0x307ffa(0x292)][_0x307ffa(0x30f)],_0x5196e9=>{const _0x55af4f=_0x307ffa,_0x27db51=_0x5196e9['getId'](),_0x328032=_0x5196e9[_0x55af4f(0x37a)](),_0x2f0b26=_0x5196e9[_0x55af4f(0x230)](),_0x4da299=_0x5196e9['getDisplayName'](),_0x3ef797=_0x5196e9[_0x55af4f(0x21d)](),_0x23704d=_0x636ed3(_0x2f0b26,_0x3ef797);_0x48d27f[_0x328032]&&_0x48d27f[_0x328032]===_0x2f0b26&&_0x23704d===_0x4da299&&(_0x2de21b[_0x55af4f(0x273)](_0x27db51,_0x636ed3(_0x1ac2b5[_0x55af4f(0x2f5)](_0x328032),_0x3ef797)),_0x5196e9[_0x55af4f(0x96)](_0x1ac2b5['getDisplayName'](_0x328032)));});},_0x32a0db=(_0x1a1fbc,_0x6ac3c6,_0x404532)=>{const _0x1de0bf=_0x2d3cd7;var _0x55edbc,_0x26d7b1;const {arrayFormulaCellData:_0x3eba02,unitData:_0x15ef34}=_0x6ac3c6,{unitId:_0x7efd54,subUnitId:_0x2638ef}=_0x404532,_0x24ba12=_0x404532[_0x1de0bf(0x17f)],{startColumn:_0x52184e,endColumn:_0x12d252}=_0x24ba12,_0x10a9c1=(_0x55edbc=_0x3eba02==null?void 0x0:_0x3eba02[_0x7efd54])==null?void 0x0:_0x55edbc[_0x2638ef],_0xa1de0e=(_0x26d7b1=_0x15ef34==null?void 0x0:_0x15ef34[_0x7efd54])==null?void 0x0:_0x26d7b1[_0x2638ef],_0x431b48=new Set(),_0x33e520=_0x12d252-_0x52184e+0x1,{dirtyRanges:_0x26499e}=_0x1a1fbc;if(_0x26499e)for(const {range:_0x5964f2,sheetId:_0x1c4b73,unitId:_0x42fc45}of _0x26499e){if(_0x1c4b73!==_0x2638ef||_0x7efd54!==_0x42fc45)continue;const _0x45e6ea=_0x2814ce[_0x1de0bf(0x2f1)][_0x1de0bf(0x1f7)](_0x5964f2,_0x24ba12);if(_0x45e6ea){const {startColumn:_0x4e4650,endColumn:_0x3af743}=_0x45e6ea;for(let _0x4fff9a=_0x4e4650;_0x4fff9a<=_0x3af743;_0x4fff9a++)_0x431b48[_0x1de0bf(0x9d)](_0x4fff9a);}}if(_0x431b48[_0x1de0bf(0x102)]===_0x33e520||_0x431b48[_0x1de0bf(0x102)]===_0x33e520)return Array[_0x1de0bf(0x312)](_0x431b48);if(_0xa1de0e){const _0x2304f0=_0xa1de0e[_0x1de0bf(0x35d)](),_0x565ab3=Object[_0x1de0bf(0x22a)](_0x2304f0);for(const _0x89ed71 of _0x565ab3){const _0x4197df=Number(_0x89ed71),_0x165d29=_0x2304f0[_0x4197df];if(_0x431b48['size']===_0x33e520)break;for(const _0xf07980 in _0x165d29){const _0x28e5fb=Number(_0xf07980);_0x28e5fb<_0x52184e||_0x28e5fb>_0x12d252||_0x431b48[_0x1de0bf(0x9d)](_0x28e5fb);}}}if(_0x10a9c1){const _0x2fc087=_0x10a9c1[_0x1de0bf(0x35d)](),_0x1ccee4=Object['keys'](_0x2fc087);for(const _0x4954a9 of _0x1ccee4){const _0xf53d2=Number(_0x4954a9),_0x3227ee=_0x2fc087[_0xf53d2];if(_0x431b48[_0x1de0bf(0x102)]===_0x33e520)break;for(const _0x508d1a in _0x3227ee){const _0x8e7f40=Number(_0x508d1a);_0x8e7f40<_0x52184e||_0x8e7f40>_0x12d252||_0x431b48[_0x1de0bf(0x9d)](_0x8e7f40);}}}return Array['from'](_0x431b48);},_0x781158=_0xadff86=>{const _0x3a9085=_0x2d3cd7,_0x14535d=new Set(),_0x3e2dd0=[];for(const _0x28db45 of _0xadff86){const _0x268777=_0x28db45['startRow']+','+_0x28db45[_0x3a9085(0x10b)]+','+_0x28db45[_0x3a9085(0x367)]+','+_0x28db45[_0x3a9085(0x375)];_0x14535d['has'](_0x268777)||(_0x14535d[_0x3a9085(0x9d)](_0x268777),_0x3e2dd0['push'](_0x28db45));}return _0x3e2dd0;};let _0x3c83bb=class extends _0x2814ce['Disposable']{constructor(_0x5be067,_0x24da6e,_0x486d25,_0x5ba1b5,_0xb74e5,_0x5ba1a1){const _0x36dfaf=_0x2d3cd7;super(),_0x4a4d7d(this,'_globalSubject',new _0x139446['BehaviorSubject'](!0x0)),_0x4a4d7d(this,_0x36dfaf(0x31c),_0x4dc374=>{const _0x340d2e=_0x36dfaf;this[_0x340d2e(0x8d)][_0x340d2e(0x382)](!0x1);}),_0x4a4d7d(this,_0x36dfaf(0x169),_0x50ea73=>{const _0x3171a5=_0x36dfaf;this[_0x3171a5(0x8d)][_0x3171a5(0x382)](!0x0);}),(this[_0x36dfaf(0x191)]=_0x5be067,this[_0x36dfaf(0x27f)]=_0x24da6e,this[_0x36dfaf(0xa9)]=_0x486d25,this[_0x36dfaf(0x341)]=_0x5ba1b5,this[_0x36dfaf(0x15a)]=_0xb74e5,this[_0x36dfaf(0x1a6)]=_0x5ba1a1,this['_init'](),this[_0x36dfaf(0x15d)]());}[_0x2d3cd7(0x27d)](){const _0x1a09e3=_0x2d3cd7;this['_subjectCollectionChange'](),this[_0x1a09e3(0x14c)](),this[_0x1a09e3(0xbd)](),this['_subjectFieldsCollectionChange']();}[_0x2d3cd7(0x359)](){const _0xc71f2=_0x2d3cd7;this[_0xc71f2(0x15a)][_0xc71f2(0x2c7)](this[_0xc71f2(0x8d)]),_0x3ed89a[_0xc71f2(0x299)]['registerCallbackWithEvent'](_0x3ed89a[_0xc71f2(0x200)][_0xc71f2(0xaf)],this['_globalComputedStartHelpFunc']),_0x3ed89a['PivotTable'][_0xc71f2(0x384)](_0x3ed89a[_0xc71f2(0x200)][_0xc71f2(0x87)],this[_0xc71f2(0x169)]);}[_0x2d3cd7(0x15d)](){const _0x872f9c=_0x2d3cd7;this[_0x872f9c(0xd4)](this[_0x872f9c(0x341)][_0x872f9c(0x1eb)](_0x58bbe0=>{const _0x192902=_0x872f9c;_0x58bbe0['id']===_0x5cc6ba[_0x192902(0xd0)]['id']&&this['_sheetsPivotDataSourceModel']['handleMoveRange'](_0x58bbe0[_0x192902(0x9c)]);})),this[_0x872f9c(0xd4)](this['_commandService'][_0x872f9c(0x1eb)](_0x3901a3=>{const _0x2aae0d=_0x872f9c;if(_0x3901a3['id']!==_0x3b71d1['id'])return;const _0x2b9352=_0x3901a3[_0x2aae0d(0x9c)],{unitId:_0x1b6317,subUnitId:_0x54f129,pivotTableId:_0x3fee6f}=_0x2b9352,_0xef8845=_0x2b9352[_0x2aae0d(0x9c)][_0x2aae0d(0xd5)],_0x4d811b={};switch(_0xef8845){case _0x6c21f4[_0x2aae0d(0x118)]:{const _0xfc5d65=_0x2b9352[_0x2aae0d(0x9c)][_0x2aae0d(0x17e)];if(!_0xfc5d65)return;const {row:_0x133481,col:_0x4b8da0,cellData:_0x1d22e0,pivotItemRenderInfoCache:_0x4a3a4b,tableFieldId:_0xcfbf9e}=_0xfc5d65,_0x5badfe=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x2b9352['pivotTableId']);if(!_0x5badfe||!_0x4a3a4b)return;if(_0xcfbf9e){const _0x381d73=_0x5badfe[_0x2aae0d(0x104)](_0xcfbf9e);if(!_0x381d73)return;_0x4d811b[_0x2aae0d(0x17e)]={..._0x5badfe[_0x2aae0d(0x2a6)](_0x381d73),'tableFieldId':_0xcfbf9e,'pivotTableId':_0x2b9352[_0x2aae0d(0x311)],'filterInfo':_0x5badfe['getFilterInfo'](_0xcfbf9e),'sortInfo':_0x5badfe[_0x2aae0d(0x1c0)](_0xcfbf9e),'format':_0x5badfe[_0x2aae0d(0x1b6)](_0xcfbf9e)};}else{const _0x42fa6d=_0x41da6f(_0x133481,_0x4b8da0,_0x1d22e0,_0x5badfe,_0x4a3a4b),_0x3cad57=_0x42fa6d==null?void 0x0:_0x42fa6d[_0x2aae0d(0x247)];if(!_0x3cad57)return;const _0x1876f5=_0x5badfe[_0x2aae0d(0x104)](_0x3cad57);if(!_0x1876f5)return;_0x4d811b[_0x2aae0d(0x17e)]={..._0x5badfe[_0x2aae0d(0x2a6)](_0x1876f5),'tableFieldId':_0x3cad57,'pivotTableId':_0x2b9352[_0x2aae0d(0x311)],'filterInfo':_0x5badfe[_0x2aae0d(0xa2)](_0x3cad57),'sortInfo':_0x5badfe[_0x2aae0d(0x1c0)](_0x3cad57),'format':_0x5badfe['getFieldFormat'](_0x3cad57)};}}break;case _0x6c21f4[_0x2aae0d(0x21a)]:{const _0x575395=_0x2b9352[_0x2aae0d(0x9c)]['panel'];if(!_0x575395)return;const {pivotTableId:_0x5b54b2}=_0x575395,_0x5e0b73=this['_sheetsPivotDataSourceModel'][_0x2aae0d(0x250)](_0x5b54b2);if(!_0x5e0b73)return;const _0x74875d=this[_0x2aae0d(0x191)][_0x2aae0d(0x2e4)](_0x1b6317,_0x54f129,_0x5b54b2),_0x4d3b27=_0xd34b8d(_0x5e0b73,_0x5b54b2,_0x74875d);_0x4d811b[_0x2aae0d(0x120)]=_0x4d3b27;}break;case _0x6c21f4[_0x2aae0d(0x14a)]:{const _0x47c6ab=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x3fee6f),_0x197075=this['_sheetsPivotDataSourceModel'][_0x2aae0d(0x2d0)](_0x1b6317),_0x4daea7=_0x197075[_0x2aae0d(0x2bb)](_0x3fee6f);let _0x1bc8f3=null;const _0x3f7316=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x1b6317,_0x54f129,_0x3fee6f),_0x29ee9f=_0x2b9352['params'][_0x2aae0d(0x2d9)];if(!_0x47c6ab||!_0x3f7316||!_0x29ee9f)return!0x1;const {dataFieldId:_0x53b18c,fieldArea:_0x1f18ee,index:_0x49b61d}=_0x29ee9f;_0x47c6ab[_0x2aae0d(0xd6)]();const _0x95ff70=_0x47c6ab[_0x2aae0d(0x390)](_0x53b18c,_0x1f18ee,_0x49b61d);if(_0x95ff70&&_0x1f18ee===_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x30f)]){const _0x5a2a6f=_0x95ff70[_0x2aae0d(0x1c2)](),_0xcdffc8=_0x47c6ab[_0x2aae0d(0x104)](_0x5a2a6f);if(_0xcdffc8){const _0x29b173=_0xcdffc8==null?void 0x0:_0xcdffc8[_0x2aae0d(0x22f)]();_0x47c6ab[_0x2aae0d(0x30a)](_0x95ff70[_0x2aae0d(0x1c2)](),_0x29b173===_0x3ed89a[_0x2aae0d(0x12a)][_0x2aae0d(0x370)]?_0x3ed89a[_0x2aae0d(0xa8)][_0x2aae0d(0x151)]:_0x3ed89a[_0x2aae0d(0xa8)][_0x2aae0d(0x2b7)]);}const _0x2604d8=_0x47c6ab[_0x2aae0d(0x113)](),_0x34957d=_0x47c6ab[_0x2aae0d(0x278)](),_0xd2331f=_0x47c6ab[_0x2aae0d(0x190)](_0x3ed89a['PivotTableFiledAreaEnum']['Value']);if(_0x2604d8===-0x1&&_0xd2331f>0x1){const _0xdac4da=_0x34957d===_0x3ed89a[_0x2aae0d(0x318)][_0x2aae0d(0x296)]?_0x3ed89a[_0x2aae0d(0x318)][_0x2aae0d(0x1b3)]:_0x34957d,_0x2a0f8c=_0xdac4da===_0x3ed89a[_0x2aae0d(0x318)][_0x2aae0d(0x106)]?_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x106)]:_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x1b3)];_0x47c6ab[_0x2aae0d(0xfc)](_0xdac4da,_0x47c6ab[_0x2aae0d(0x190)](_0x2a0f8c));}}else{if(_0x95ff70&&(_0x1f18ee===_0x3ed89a['PivotTableFiledAreaEnum'][_0x2aae0d(0x106)]||_0x1f18ee===_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x1b3)])){const _0x29ecf3=_0x95ff70[_0x2aae0d(0x1c2)](),_0x24bee1=_0x47c6ab['getDataFieldByTableId'](_0x29ecf3);if(_0x24bee1&&(_0x24bee1==null?void 0x0:_0x24bee1['getFieldDataType']())===_0x3ed89a['PivotDataFieldDataTypeEnum'][_0x2aae0d(0x269)]){const _0x8b40f2=_0x24bee1['getformat']();if(_0x8b40f2&&_0x47c6ab[_0x2aae0d(0x156)](_0x95ff70['getId'](),_0x8b40f2),!_0x4daea7[_0x2aae0d(0x1df)]()[_0x2aae0d(0x36b)](_0x2aa08c=>{const _0xd8ccff=_0x2aae0d,_0x5918fb=_0x4daea7[_0xd8ccff(0x20b)](_0x2aa08c);return _0x3ed89a['isDateGroupField'](_0x5918fb)?_0x5918fb[_0xd8ccff(0x80)]()[_0xd8ccff(0x108)]===_0x53b18c:!0x1;})){const _0x114be1=_0x197075[_0x2aae0d(0x38b)](),_0x444584=_0x2c2634(_0x24bee1[_0x2aae0d(0x336)],_0x24bee1[_0x2aae0d(0x1ca)]),_0x191bce=_0x24bee1['getName']()+'\x20-\x20'+_0x3996df(this[_0x2aae0d(0x1a6)],_0x444584),_0x3452b8=new _0x3ed89a[(_0x2aae0d(0x1f9))](_0x114be1,_0x191bce,_0x3ed89a[_0x2aae0d(0x369)](0x3),_0x24bee1[_0x2aae0d(0x1c2)](),_0x444584);_0x197075[_0x2aae0d(0xc5)](_0x3452b8),_0x4daea7[_0x2aae0d(0x2fe)](_0x114be1,_0x191bce),_0x47c6ab[_0x2aae0d(0x390)](_0x114be1,_0x1f18ee,(_0x49b61d!=null?_0x49b61d:0x0)+0x1),_0x1bc8f3=_0x3452b8;}}}}const _0x4e43d3=_0x47c6ab[_0x2aae0d(0x26e)](),_0x55de2e=_0x47c6ab['query']()[_0x2aae0d(0x32c)]();let _0x2daafe;if(_0x1bc8f3){_0x2daafe=_0x1bc8f3[_0x2aae0d(0x32c)]();const _0x4f467c=_0x1bc8f3[_0x2aae0d(0x1c2)]();_0x4daea7['deleteField'](_0x4f467c);let _0x13e3f8=!0x0;for(const _0x37b801 in _0x197075['collections'])if(_0x197075[_0x2aae0d(0x2f9)][_0x37b801][_0x2aae0d(0x1df)]()[_0x2aae0d(0x26f)](_0x4f467c)){_0x13e3f8=!0x1;break;}_0x13e3f8&&_0x197075[_0x2aae0d(0x29f)](_0x4f467c);}const _0x5a9ce3=_0x47c6ab[_0x2aae0d(0x1ee)]();_0x4d811b[_0x2aae0d(0x2d9)]={'view':_0x55de2e,'changesets':_0x5a9ce3,'isEmpty':_0x4e43d3,'pivotTableConfig':_0x3f7316,'shouldBeAddedGroupJSON':_0x2daafe};}break;case _0x6c21f4[_0x2aae0d(0x7b)]:{const _0x404d1d=_0x2b9352['params'][_0x2aae0d(0x7d)];if(!_0x404d1d)return;const _0x149134=_0x404d1d[_0x2aae0d(0x281)],_0x5556c0=_0x404d1d[_0x2aae0d(0x311)],{collection:_0xfa992f}=this[_0x2aae0d(0x191)][_0x2aae0d(0x1ef)]({'unitId':_0x149134[_0x2aae0d(0x19c)],'sheetName':_0x149134[_0x2aae0d(0x2ce)],'subUnitId':_0x149134[_0x2aae0d(0x2da)],'range':_0x149134[_0x2aae0d(0x17f)]}),_0x155c0e=new _0x3ed89a['PivotTable'](_0xfa992f,void 0x0,_0x5556c0),_0x3b7a21=_0x155c0e[_0x2aae0d(0x1bf)](),_0x46bcf7=_0x155c0e[_0x2aae0d(0x32c)](),_0x3b807e=_0xfa992f['toJSON']();_0x4d811b[_0x2aae0d(0x7d)]={'view':_0x3b7a21,'fieldsConfig':_0x46bcf7,'collectionConfig':_0x3b807e,'isEmpty':_0x155c0e[_0x2aae0d(0x26e)]()};}break;case _0x6c21f4[_0x2aae0d(0x265)]:{const _0x5e4f85=_0x2b9352['params'][_0x2aae0d(0x2cb)];if(!_0x5e4f85)return;const {fieldId:_0x2b733d,area:_0x582e0b,index:_0x289211}=_0x5e4f85,_0x534f9a=this[_0x2aae0d(0x191)][_0x2aae0d(0x2e4)](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0x534f9a)return;const _0x4e2d2d=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x3fee6f);if(!_0x4e2d2d)return;_0x4e2d2d[_0x2aae0d(0xd6)]();const {area:_0x3f442e,index:_0x32cd8c}=_0x4e2d2d[_0x2aae0d(0xec)](_0x2b733d);if(_0x4e2d2d[_0x2aae0d(0x79)](_0x2b733d,_0x582e0b,_0x289211),_0x582e0b===_0x3ed89a['PivotTableFiledAreaEnum'][_0x2aae0d(0x30f)]&&_0x4e2d2d['getTableFieldById'](_0x2b733d)['getSubtotal']()===void 0x0){const _0xeefe0a=_0x4e2d2d['getTableFieldById'](_0x2b733d);if(_0xeefe0a&&_0xeefe0a[_0x2aae0d(0x21d)]()===void 0x0){const _0x3f9326=_0x4e2d2d[_0x2aae0d(0x104)](_0x2b733d);if(_0x3f9326){const _0x6e978e=_0x3f9326==null?void 0x0:_0x3f9326[_0x2aae0d(0x22f)]();_0x4e2d2d[_0x2aae0d(0x30a)](_0x2b733d,_0x6e978e===_0x3ed89a['PivotDataFieldDataTypeEnum'][_0x2aae0d(0x370)]?_0x3ed89a[_0x2aae0d(0xa8)][_0x2aae0d(0x151)]:_0x3ed89a['PivotSubtotalTypeEnum']['count']);}}}const _0x1ea83f=_0x4e2d2d[_0x2aae0d(0x278)](),_0x58086d=_0x4e2d2d[_0x2aae0d(0x113)](),_0x5c7e7c=_0x4e2d2d[_0x2aae0d(0x190)](_0x3ed89a['PivotTableFiledAreaEnum'][_0x2aae0d(0x30f)])>0x1;if(_0x5c7e7c&&_0x3f442e===_0x582e0b&&(_0x582e0b===_0x3ed89a[_0x2aae0d(0x292)]['Row']&&_0x1ea83f===_0x3ed89a[_0x2aae0d(0x318)][_0x2aae0d(0x106)]||_0x582e0b===_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x1b3)]&&_0x1ea83f===_0x3ed89a['PivotTableValuePositionEnum']['Column'])){let _0x48b261=_0x58086d;_0x32cd8c<=_0x58086d&&_0x48b261--,_0x289211<=_0x58086d&&_0x48b261++,_0x4e2d2d[_0x2aae0d(0xfc)](_0x1ea83f,_0x48b261);}else _0x5c7e7c&&(_0x3f442e===_0x3ed89a['PivotTableFiledAreaEnum'][_0x2aae0d(0x106)]&&_0x1ea83f===_0x3ed89a[_0x2aae0d(0x318)]['Row']||_0x3f442e===_0x3ed89a[_0x2aae0d(0x292)]['Column']&&_0x1ea83f===_0x3ed89a[_0x2aae0d(0x318)][_0x2aae0d(0x1b3)])&&_0x58086d>=_0x32cd8c&&_0x4e2d2d[_0x2aae0d(0xfc)](_0x1ea83f,_0x58086d-0x1),_0x5c7e7c&&(_0x582e0b===_0x3ed89a['PivotTableFiledAreaEnum'][_0x2aae0d(0x106)]&&_0x1ea83f===_0x3ed89a[_0x2aae0d(0x318)]['Row']||_0x582e0b===_0x3ed89a[_0x2aae0d(0x292)]['Column']&&_0x1ea83f===_0x3ed89a[_0x2aae0d(0x318)][_0x2aae0d(0x1b3)])&&_0x58086d>=_0x289211&&_0x4e2d2d['updateValuePosition'](_0x1ea83f,_0x58086d+0x1);const _0x369317=_0x4e2d2d[_0x2aae0d(0x1bf)](),_0x24535b=_0x4e2d2d[_0x2aae0d(0x26e)](),_0x306cba=_0x4e2d2d[_0x2aae0d(0x1ee)]();_0x4d811b[_0x2aae0d(0x2cb)]={'view':_0x369317[_0x2aae0d(0x32c)](),'changesets':_0x306cba,'isEmpty':_0x24535b,'pivotTableConfig':_0x534f9a};}break;case _0x6c21f4[_0x2aae0d(0x1f1)]:{const _0x52f202=_0x2b9352[_0x2aae0d(0x9c)]['removePivotField'];if(!_0x52f202)return;const _0x1bf504=_0x52f202[_0x2aae0d(0x35b)],_0xf68343=this[_0x2aae0d(0x191)][_0x2aae0d(0x2e4)](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0xf68343)return!0x1;const _0x1a5444=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x3fee6f);if(!_0x1a5444)return!0x1;_0x1a5444['startCollectChangeset']();for(const _0x48f0df of _0x1bf504){const {area:_0x2cf9}=_0x1a5444['getFieldPositionInfoById'](_0x48f0df);_0x2cf9===_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x30f)]&&_0x1a5444[_0x2aae0d(0x304)](_0x48f0df),(_0x2cf9===_0x3ed89a['PivotTableFiledAreaEnum'][_0x2aae0d(0x106)]||_0x2cf9===_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x1b3)])&&_0x1a5444[_0x2aae0d(0x2ad)](_0x48f0df),_0x1a5444[_0x2aae0d(0x256)](_0x48f0df);}const _0x2ef6ba=_0x1a5444[_0x2aae0d(0x26e)](),_0x3478e3=_0x1a5444[_0x2aae0d(0x1bf)]()[_0x2aae0d(0x32c)](),_0x3077ec=_0x1a5444[_0x2aae0d(0x1ee)]();_0x4d811b[_0x2aae0d(0xc9)]={'changesets':_0x3077ec,'pivotTableConfig':_0xf68343,'isEmpty':_0x2ef6ba,'view':_0x3478e3};}break;case _0x6c21f4['SetPivotFilter']:{const _0xf5635=_0x2b9352[_0x2aae0d(0x9c)][_0x2aae0d(0x208)];if(!_0xf5635)return;const {tableFieldId:_0x11d90e,items:_0x5d8c23,isAll:_0x5dd37e}=_0xf5635,_0x165512=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x3fee6f),_0x24eb46=this[_0x2aae0d(0x191)][_0x2aae0d(0x2e4)](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0x165512||!_0x24eb46)return;_0x165512[_0x2aae0d(0xd6)](),_0x165512['setLabelFilterInfo'](_0x11d90e,{'type':_0x3ed89a[_0x2aae0d(0x2b2)][_0x2aae0d(0x20e)],'list':_0x5d8c23,'isAll':_0x5dd37e});const _0x2f708d=_0x165512[_0x2aae0d(0x26e)](),_0x2674f3=_0x165512[_0x2aae0d(0x1bf)]()['toJSON'](),_0x41cf7c=_0x165512[_0x2aae0d(0x1ee)]();_0x4d811b[_0x2aae0d(0x208)]={'view':_0x2674f3,'changesets':_0x41cf7c,'isEmpty':_0x2f708d,'pivotTableConfig':_0x24eb46};}break;case _0x6c21f4[_0x2aae0d(0x18d)]:{const _0x568b56=_0x2b9352[_0x2aae0d(0x9c)]['setValuePivotFilter'];if(!_0x568b56)return;const {tableFieldId:_0xd0fef5,filterInfo:_0x4c8565}=_0x568b56,_0x58d5fa=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x3fee6f),_0x3c9687=this[_0x2aae0d(0x191)]['getPivotTableConfig'](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0x58d5fa||!_0x3c9687)return;_0x58d5fa[_0x2aae0d(0xd6)](),_0x58d5fa[_0x2aae0d(0x2e9)](_0xd0fef5,_0x4c8565);const _0x49e484=_0x58d5fa[_0x2aae0d(0x26e)](),_0x26ee74=_0x58d5fa[_0x2aae0d(0x1bf)]()['toJSON'](),_0x272a0f=_0x58d5fa[_0x2aae0d(0x1ee)]();_0x4d811b['setValuePivotFilter']={'view':_0x26ee74,'changesets':_0x272a0f,'isEmpty':_0x49e484,'pivotTableConfig':_0x3c9687};}break;case _0x6c21f4['SetPivotSort']:{const _0x1fb03f=_0x2b9352[_0x2aae0d(0x9c)]['setPivotSort'];if(!_0x1fb03f)return;const {tableFieldId:_0x1c31e4,info:_0x1f285b}=_0x1fb03f,_0x2dc106=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x3fee6f),_0x575330=this[_0x2aae0d(0x191)][_0x2aae0d(0x2e4)](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0x2dc106||!_0x575330)return;_0x2dc106['startCollectChangeset'](),_0x2dc106[_0x2aae0d(0x258)](_0x1c31e4,_0x1f285b);const _0x506cad=_0x2dc106['isEmpty'](),_0x2ef442=_0x2dc106['query']()['toJSON'](),_0x48d0af=_0x2dc106['endCollectChangeset']();_0x4d811b[_0x2aae0d(0x25d)]={'view':_0x2ef442,'changesets':_0x48d0af,'isEmpty':_0x506cad,'pivotTableConfig':_0x575330};}break;case _0x6c21f4[_0x2aae0d(0x12c)]:{const _0x369e2b=_0x2b9352['params']['setPivotSetting'];if(!_0x369e2b)return;const {tableFieldId:_0x3e2a63,displayName:_0x5b61b3,subtotalType:_0x52024d,format:_0x4906f1}=_0x369e2b,_0x48e21d=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x3fee6f),_0x8ba06e=this[_0x2aae0d(0x191)][_0x2aae0d(0x2e4)](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0x48e21d||!_0x8ba06e)return;_0x48e21d[_0x2aae0d(0xd6)](),_0x5b61b3!==void 0x0&&_0x48e21d[_0x2aae0d(0x273)](_0x3e2a63,_0x5b61b3),_0x52024d!==void 0x0&&_0x48e21d['setSubtotalType'](_0x3e2a63,_0x52024d),_0x4906f1!==void 0x0&&_0x48e21d[_0x2aae0d(0x156)](_0x3e2a63,_0x4906f1);const _0x381892=_0x48e21d['isEmpty'](),_0x343be6=_0x48e21d[_0x2aae0d(0x1bf)]()[_0x2aae0d(0x32c)](),_0x2bd762=_0x48e21d['endCollectChangeset']();_0x4d811b[_0x2aae0d(0x129)]={'changesets':_0x2bd762,'pivotTableConfig':_0x8ba06e,'isEmpty':_0x381892,'view':_0x343be6};}break;case _0x6c21f4['UpdatePivotSource']:{const _0x3bfc6f=_0x2b9352[_0x2aae0d(0x9c)][_0x2aae0d(0xe8)];if(!_0x3bfc6f)return;const {dataRangeInfo:_0x53650f,unitId:_0x9d9db9,subUnitId:_0x4d1356}=_0x3bfc6f,_0x325383=this[_0x2aae0d(0x191)][_0x2aae0d(0x2e4)](_0x9d9db9,_0x4d1356,_0x3fee6f),_0xfb5e6c=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x3fee6f);if(!this[_0x2aae0d(0x191)][_0x2aae0d(0x2bb)](_0x9d9db9,_0x3fee6f)||!_0xfb5e6c||!_0x325383)return;const _0x2608fa=this[_0x2aae0d(0x191)][_0x2aae0d(0x241)](_0x9d9db9,_0x3fee6f,_0x53650f),_0x55ca86=this[_0x2aae0d(0x191)][_0x2aae0d(0x2bb)](_0x9d9db9,_0x3fee6f)[_0x2aae0d(0x32c)](),{collection:_0x379bbc}=this[_0x2aae0d(0x191)][_0x2aae0d(0x1ef)]({'unitId':_0x53650f['unitId'],'sheetName':_0x53650f[_0x2aae0d(0x2ce)],'subUnitId':_0x53650f[_0x2aae0d(0x2da)],'range':_0x53650f[_0x2aae0d(0x17f)]}),_0x4e25f3=_0x379bbc['toJSON']();_0xfb5e6c[_0x2aae0d(0xd6)]();const _0xd74d2b=this[_0x2aae0d(0x191)][_0x2aae0d(0x2d0)](_0x9d9db9)['getAutoDisplayNameFunction']()||_0x3ed89a['getAutoDisplayName'];_0xfb5e6c['iterateField'](_0xd7b210=>{const _0x2a7da1=_0x2aae0d,_0x1885d7=_0xd7b210['getDataFieldId']();if(!_0x379bbc[_0x2a7da1(0x308)](_0x1885d7)){const _0x5f44b1=_0x379bbc['getDataFieldBySourceName'](_0xd7b210['getSourceName']());if(_0x5f44b1){_0xfb5e6c[_0x2a7da1(0x1c8)](_0xd7b210[_0x2a7da1(0x1c2)](),_0x5f44b1[_0x2a7da1(0x26c)](),_0x5f44b1[_0x2a7da1(0x1c2)]());const {area:_0x5d2632}=_0xfb5e6c[_0x2a7da1(0xec)](_0xd7b210[_0x2a7da1(0x1c2)]());let _0x1e054d=_0xd7b210['getSourceName']();const _0x48d550=_0xd7b210['getDisplayName']();if(_0x5d2632===_0x3ed89a[_0x2a7da1(0x292)][_0x2a7da1(0x30f)]){const _0xa0284b=_0xd7b210[_0x2a7da1(0x21d)]();_0x1e054d=_0xd74d2b(_0x5f44b1['getName'](),_0xa0284b);}_0x48d550!==_0x1e054d&&_0xfb5e6c[_0x2a7da1(0x273)](_0xd7b210[_0x2a7da1(0x1c2)](),_0x1e054d);}else _0xfb5e6c[_0x2a7da1(0x256)](_0xd7b210[_0x2a7da1(0x1c2)]());}});const _0x4f28f9=_0xfb5e6c[_0x2aae0d(0x26e)](),_0x51314b=_0xfb5e6c['query']()[_0x2aae0d(0x32c)](),_0x2d1d42=_0xfb5e6c[_0x2aae0d(0x1ee)]();_0x4d811b[_0x2aae0d(0xe8)]={'view':_0x51314b,'changesets':_0x2d1d42,'isEmpty':_0x4f28f9,'pivotTableConfig':_0x325383,'collectionConfig':_0x4e25f3,'oldCollectionConfig':_0x55ca86,'deleteIds':_0x2608fa};}break;case _0x6c21f4[_0x2aae0d(0x19a)]:{const _0x2b6013=_0x2b9352[_0x2aae0d(0x9c)][_0x2aae0d(0xfc)];if(!_0x2b6013)return;const {position:_0x57f756,index:_0x34a7a7}=_0x2b6013,_0x504edb=this[_0x2aae0d(0x191)][_0x2aae0d(0x2e4)](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0x504edb)return!0x1;const _0x65dd5c=this[_0x2aae0d(0x191)][_0x2aae0d(0x250)](_0x3fee6f);if(!_0x65dd5c)return!0x1;_0x65dd5c['startCollectChangeset'](),_0x65dd5c[_0x2aae0d(0xfc)](_0x57f756,_0x34a7a7);const _0x117208=_0x65dd5c[_0x2aae0d(0x26e)](),_0x3d97d9=_0x65dd5c[_0x2aae0d(0x1bf)]()[_0x2aae0d(0x32c)](),_0x213e55=_0x65dd5c['endCollectChangeset']();_0x4d811b[_0x2aae0d(0xfc)]={'changesets':_0x213e55,'pivotTableConfig':_0x504edb,'isEmpty':_0x117208,'view':_0x3d97d9};}break;case _0x6c21f4['SetPivotCollapse']:{const _0xf8ea77=_0x2b9352['params'][_0x2aae0d(0x2ca)];if(!_0xf8ea77)return;const {tableFieldId:_0x28752e,collapse:_0x21ab8c,item:_0x5cdd6f}=_0xf8ea77,_0x2f5323=this[_0x2aae0d(0x191)]['getPivotTableInstance'](_0x3fee6f),_0xcd8b5=this[_0x2aae0d(0x191)]['getPivotTableConfig'](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0x2f5323||!_0xcd8b5)return;_0x2f5323[_0x2aae0d(0xd6)](),_0x2f5323[_0x2aae0d(0x266)](_0x28752e,_0x21ab8c,_0x5cdd6f);const _0x1432ce=_0x2f5323[_0x2aae0d(0x26e)](),_0x45fdb2=_0x2f5323[_0x2aae0d(0x1bf)]()[_0x2aae0d(0x32c)](),_0x5aebad=_0x2f5323[_0x2aae0d(0x1ee)]();_0x4d811b[_0x2aae0d(0x2ca)]={'view':_0x45fdb2,'isEmpty':_0x1432ce,'pivotTableConfig':_0xcd8b5,'changesets':_0x5aebad};}break;case _0x6c21f4[_0x2aae0d(0x123)]:{const _0xa38620=_0x2b9352['params'][_0x2aae0d(0x17a)];if(!_0xa38620)return;const {pivotTableConfig:_0x4a55bb}=_0xa38620,_0x433386=this['_sheetsPivotDataSourceModel'][_0x2aae0d(0x250)](_0x3fee6f),_0x390f78=this[_0x2aae0d(0x191)]['getPivotTableConfig'](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0x433386||!_0x390f78)return;_0x433386[_0x2aae0d(0xd6)](),_0x37b34a(_0x433386,_0x4a55bb);const _0x3968db=_0x433386['isEmpty'](),_0x32845a=_0x433386['query']()['toJSON'](),_0x3ebf4b=_0x433386[_0x2aae0d(0x1ee)]();_0x4d811b[_0x2aae0d(0x17a)]={'view':_0x32845a,'isEmpty':_0x3968db,'pivotTableConfig':{..._0x390f78,'fieldsConfig':_0x433386[_0x2aae0d(0x32c)]()},'changesets':_0x3ebf4b};}break;case _0x6c21f4[_0x2aae0d(0x204)]:{const _0x4cf7bc=_0x2b9352[_0x2aae0d(0x9c)][_0x2aae0d(0x225)];if(!_0x4cf7bc)return;const _0xe2d10c=this['_sheetsPivotDataSourceModel'][_0x2aae0d(0x250)](_0x3fee6f),_0x1a0287=this[_0x2aae0d(0x191)][_0x2aae0d(0x2e4)](_0x1b6317,_0x54f129,_0x3fee6f);if(!_0xe2d10c||!_0x1a0287)return;_0xe2d10c[_0x2aae0d(0xd6)](),_0x39e240(_0xe2d10c,_0x4cf7bc['resetArea']);const _0x157649=_0xe2d10c[_0x2aae0d(0x1bf)]()[_0x2aae0d(0x32c)](),_0x3ee471=_0xe2d10c['endCollectChangeset']();_0x4d811b[_0x2aae0d(0x225)]={'view':_0x157649,'isEmpty':!0x0,'pivotTableConfig':{..._0x1a0287,'fieldsConfig':_0xe2d10c[_0x2aae0d(0x32c)]()},'changesets':_0x3ee471};}break;case _0x6c21f4[_0x2aae0d(0x163)]:{const _0x3d48e8=_0x2b9352[_0x2aae0d(0x9c)][_0x2aae0d(0x1d7)];if(!_0x3d48e8)return;const _0x3563f2=_0x3d48e8[_0x2aae0d(0x281)],_0x1233ea=_0x3d48e8[_0x2aae0d(0x311)],{collection:_0x54c74c}=this['_sheetsPivotDataSourceModel'][_0x2aae0d(0x1ef)]({'unitId':_0x3563f2[_0x2aae0d(0x19c)],'sheetName':_0x3563f2[_0x2aae0d(0x2ce)],'subUnitId':_0x3563f2['subUnitId'],'range':_0x3563f2[_0x2aae0d(0x17f)]}),_0x6865a4=new _0x3ed89a['PivotTable'](_0x54c74c,void 0x0,_0x1233ea),_0x4c8ba9=_0x54c74c[_0x2aae0d(0x1df)](),{rows:_0x1c5eb0,columns:_0x25cb13,filters:_0x8b223,values:_0xc90bec}=_0x3d48e8['pivotTableIndexConfig'];_0x6865a4[_0x2aae0d(0xd6)]();for(const {field:_0x37cc32,selectedItems:_0x1b6892}of _0x1c5eb0||[]){const _0x106ae8=_0x4c8ba9[_0x37cc32];if(_0x106ae8){const _0x4988d9=_0x6865a4[_0x2aae0d(0x390)](_0x106ae8,_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x106)]);_0x1b6892&&_0x4988d9&&_0x6865a4[_0x2aae0d(0x95)](_0x4988d9[_0x2aae0d(0x1c2)](),{'type':_0x3ed89a[_0x2aae0d(0x2b2)]['ManualFilter'],'list':_0x1b6892,'isAll':!0x1});}}for(const {field:_0x2b9a4c,selectedItems:_0x74aee9}of _0x25cb13||[]){const _0x5a750b=_0x4c8ba9[_0x2b9a4c];if(_0x5a750b){const _0x3a3d72=_0x6865a4[_0x2aae0d(0x390)](_0x5a750b,_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x1b3)]);_0x74aee9&&_0x3a3d72&&_0x6865a4[_0x2aae0d(0x95)](_0x3a3d72[_0x2aae0d(0x1c2)](),{'type':_0x3ed89a[_0x2aae0d(0x2b2)][_0x2aae0d(0x20e)],'list':_0x74aee9,'isAll':!0x1});}}for(const {field:_0x3fd53e,selectedItems:_0x117d66}of _0x8b223||[]){const _0x3df596=_0x4c8ba9[_0x3fd53e];if(_0x3df596){const _0x4c86d9=_0x6865a4[_0x2aae0d(0x390)](_0x3df596,_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x118)]);_0x117d66&&_0x4c86d9&&_0x6865a4['setLabelFilterInfo'](_0x4c86d9[_0x2aae0d(0x1c2)](),{'type':_0x3ed89a[_0x2aae0d(0x2b2)][_0x2aae0d(0x20e)],'list':_0x117d66,'isAll':!0x1});}}for(const {field:_0x6ac954,subTotalType:_0x15a972,formatString:_0x3653aa}of _0xc90bec||[]){const _0x5b80cd=_0x54c74c[_0x2aae0d(0x20b)](_0x4c8ba9[_0x6ac954]);if(!_0x5b80cd)continue;const _0x5b9b40=_0x4c8ba9[_0x6ac954];if(_0x5b9b40){const _0xa565a0=_0x6865a4[_0x2aae0d(0x390)](_0x5b9b40,_0x3ed89a[_0x2aae0d(0x292)][_0x2aae0d(0x30f)]);if(_0xa565a0){if(_0x15a972!==void 0x0){_0x6865a4['setSubtotalType'](_0xa565a0[_0x2aae0d(0x1c2)](),_0x15a972);const _0x369335=this[_0x2aae0d(0x191)]['getDataFieldManager'](_0x3563f2[_0x2aae0d(0x19c)])[_0x2aae0d(0x2cd)]()||_0x3ed89a['getAutoDisplayName'],_0x10438f=_0x54c74c[_0x2aae0d(0x2f5)](_0x5b9b40),_0x19abad=_0x369335(_0x10438f,_0x15a972);_0x6865a4[_0x2aae0d(0x273)](_0xa565a0[_0x2aae0d(0x1c2)](),_0x19abad);}else{if(_0x5b80cd){const _0x42471f=_0x5b80cd==null?void 0x0:_0x5b80cd[_0x2aae0d(0x22f)]();_0x6865a4[_0x2aae0d(0x30a)](_0xa565a0[_0x2aae0d(0x1c2)](),_0x42471f===_0x3ed89a[_0x2aae0d(0x12a)][_0x2aae0d(0x370)]?_0x3ed89a[_0x2aae0d(0xa8)][_0x2aae0d(0x151)]:_0x3ed89a[_0x2aae0d(0xa8)][_0x2aae0d(0x2b7)]);}}_0x3653aa&&_0x6865a4[_0x2aae0d(0x156)](_0xa565a0[_0x2aae0d(0x1c2)](),_0x3653aa);}}}const _0x137210=_0x6865a4['query'](),_0x176880=_0x6865a4[_0x2aae0d(0x32c)](),_0x2814c8=_0x6865a4[_0x2aae0d(0x26e)](),_0x5f0623=_0x6865a4['endCollectChangeset'](),_0x5a478a=_0x54c74c['toJSON']();_0x4d811b[_0x2aae0d(0x1d7)]={'view':_0x137210,'fieldsConfig':_0x176880,'collectionConfig':_0x5a478a,'isEmpty':_0x2814c8,'changesets':_0x5f0623};}break;case _0x6c21f4[_0x2aae0d(0x371)]:{const _0x1648fc=_0x2bb1f6(this[_0x2aae0d(0x1a6)],_0x2b9352);if(!_0x1648fc)return;const {range:_0x3f1709,sourceSubUnitId:_0x730761,sourceUnitId:_0x5c149d,formatMap:_0x1c55ff,indexes:_0xad7975}=_0x1648fc;_0x4d811b[_0x2aae0d(0x337)]={'range':_0x3f1709,'sourceSubUnitId':_0x730761,'sourceUnitId':_0x5c149d,'formatMap':_0x1c55ff,'indexes':_0xad7975};}break;}this['_commandService'][_0x2aae0d(0x334)](_0x5e28f5['id'],{'version':_0x2b9352[_0x2aae0d(0x1bb)],'result':_0x4d811b},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x5ad50e=_0x2d3cd7;this[_0x5ad50e(0xd4)](this[_0x5ad50e(0x341)][_0x5ad50e(0x1eb)](_0x414ba7=>{const _0x4567d0=_0x5ad50e;if(_0x414ba7['id']!==_0x411e65['id'])return;const _0x52c1a9=_0x414ba7[_0x4567d0(0x9c)];return this[_0x4567d0(0x191)]['setTextInfo'](_0x52c1a9[_0x4567d0(0x347)]),!0x0;}));}[_0x2d3cd7(0x147)](){const _0xa2c5c6=_0x2d3cd7;this[_0xa2c5c6(0x191)][_0xa2c5c6(0x2e0)][_0xa2c5c6(0xe6)](_0x5f1d9c=>{const _0x1c7844=_0xa2c5c6;switch(_0x5f1d9c[_0x1c7844(0xd5)]){case _0x488eeb['add']:_0x5f1d9c[_0x1c7844(0x165)]&&_0x5f1d9c[_0x1c7844(0x301)]&&this[_0x1c7844(0x34d)](_0x5f1d9c[_0x1c7844(0x332)],_0x5f1d9c['dataRangeInfo'],_0x5f1d9c['targetCellInfo']);break;case _0x488eeb[_0x1c7844(0xa1)]:{const {unitId:_0x2e1a93,subUnitId:_0x519911,token:_0x39497f}=_0x5f1d9c;_0x2e1a93&&_0x519911&&_0x39497f&&this[_0x1c7844(0x179)](_0x2e1a93,_0x519911,_0x39497f);}break;case _0x488eeb['update']:{const {token:_0xcedbc,oldSourceRangeInfo:_0x25575d,dataRangeInfo:_0x33b336,targetCellInfo:_0x1f54da}=_0x5f1d9c,{unitId:_0xe7627a,subUnitId:_0x3f877c}=_0x25575d||{};_0xe7627a&&_0x3f877c&&_0xcedbc&&this['removeSourceRangeChange'](_0xe7627a,_0x3f877c,_0xcedbc),_0x33b336&&_0x1f54da&&this[_0x1c7844(0x34d)](_0xcedbc,_0x33b336,_0x1f54da);}break;}});}[_0x2d3cd7(0xc8)](){const _0x281f8f=_0x2d3cd7;this[_0x281f8f(0x191)]['fieldsCollectionChange$']['subscribe'](_0x134ed3=>{const _0x11e70f=_0x281f8f;Object['keys'](_0x134ed3)[_0x11e70f(0x34b)](_0x2a4657=>{const _0x22f735=_0x11e70f,_0x1fe63f=this[_0x22f735(0x191)][_0x22f735(0x103)](_0x2a4657);if(_0x1fe63f){const _0x2d1d15=this[_0x22f735(0x191)][_0x22f735(0x2e4)](_0x1fe63f==null?void 0x0:_0x1fe63f[_0x22f735(0x19c)],_0x1fe63f==null?void 0x0:_0x1fe63f['subUnitId'],_0x2a4657);_0x2d1d15&&(this[_0x22f735(0x34d)](_0x2a4657,_0x2d1d15[_0x22f735(0x281)],_0x2d1d15[_0x22f735(0x301)]),this[_0x22f735(0x1a9)]([{'unitId':_0x1fe63f[_0x22f735(0x19c)],'subUnitId':_0x1fe63f[_0x22f735(0x2da)],'token':_0x2a4657}]));}});});}[_0x2d3cd7(0x14c)](){const _0xe939ac=_0x2d3cd7;this[_0xe939ac(0x191)][_0xe939ac(0x1cb)]['subscribe'](_0x40a25d=>{const {unitId:_0x562a74,subUnitId:_0x3e19dd,pivotTableId:_0x3deac9}=_0x40a25d;_0x562a74&&_0x3e19dd&&_0x3deac9&&this['triggerDirtyFeature']([{'unitId':_0x562a74,'subUnitId':_0x3e19dd,'token':_0x3deac9}]);});}['triggerDirtyFeature'](_0x3a5d1d){const _0x1e8042=_0x2d3cd7,_0x1af353={};_0x3a5d1d[_0x1e8042(0x34b)](_0x294a78=>{var _0x44b273,_0x529616;const {unitId:_0x2466d5,subUnitId:_0x59bfc6,token:_0x5c54d8}=_0x294a78;_0x1af353[_0x2466d5]=(_0x44b273=_0x1af353[_0x2466d5])!=null?_0x44b273:{},_0x1af353[_0x2466d5][_0x59bfc6]=(_0x529616=_0x1af353[_0x2466d5][_0x59bfc6])!=null?_0x529616:{},_0x1af353[_0x2466d5][_0x59bfc6][_0x5c54d8]=!0x0;}),this['_commandService'][_0x1e8042(0x334)](_0x488c22['id'],_0x1af353);}['removeSourceRangeChange'](_0x149254,_0x2eb0e9,_0x4d8704){const _0x3a7e2d=_0x2d3cd7;this['_featureCalculationManagerService'][_0x3a7e2d(0x361)](_0x149254,_0x2eb0e9,[_0x4d8704]);}[_0x2d3cd7(0x34d)](_0x2c87a5,_0x1489f5,_0x25a84f){const _0x4a31f6=_0x2d3cd7,{unitId:_0x543389,subUnitId:_0x8db04a}=_0x1489f5;this['_featureCalculationManagerService']['has'](_0x25a84f['unitId'],_0x25a84f['subUnitId'],_0x2c87a5)&&this[_0x4a31f6(0x179)](_0x543389,_0x8db04a,_0x2c87a5);const _0x25aafc={'sheetId':_0x8db04a,..._0x1489f5};this[_0x4a31f6(0xa9)]['register'](_0x25a84f[_0x4a31f6(0x19c)],_0x25a84f[_0x4a31f6(0x2da)],_0x2c87a5,{'unitId':_0x25a84f[_0x4a31f6(0x19c)],'subUnitId':_0x25a84f[_0x4a31f6(0x2da)],'dependencyRanges':[_0x25aafc],'getDirtyData':(_0x2c530b,_0x5b39b1)=>{const _0x37627b=_0x4a31f6,_0x86862a=this[_0x37627b(0x191)],_0x3cd178=_0x86862a[_0x37627b(0x103)](_0x2c87a5);if(!_0x3cd178)return _0x1b57ac();const {unitId:_0x2d8909,subUnitId:_0x48db90}=_0x3cd178,_0x117481=_0x32a0db(_0x2c530b,_0x5b39b1,_0x1489f5);if(_0x117481[_0x37627b(0x25f)]>0x0){const _0xd1b4f5=_0x86862a[_0x37627b(0x2bb)](_0x543389,_0x2c87a5),_0x244048=_0xd1b4f5[_0x37627b(0x1df)](),_0x812bbc=this[_0x37627b(0x1d6)](_0x1489f5[_0x37627b(0x19c)],_0x1489f5[_0x37627b(0x2da)],_0x5b39b1),_0x7b9fae={},_0xf258c=this[_0x37627b(0x191)][_0x37627b(0x2d0)](_0x2d8909)['getAutoDisplayNameFunction']()||_0x3ed89a[_0x37627b(0x9e)],_0x1e8845=[];for(const _0x18e22a of _0x117481){const _0x2865c1=_0x18e22a-(_0x1489f5[_0x37627b(0x17f)][_0x37627b(0x367)]||0x0),_0x4b6eb2=_0x244048[_0x2865c1];_0x1e8845[_0x37627b(0xf8)](_0x4b6eb2),_0x7b9fae[_0x4b6eb2]=_0xd1b4f5['getFieldById'](_0x4b6eb2)['getName'](),_0x86862a[_0x37627b(0x2d0)](_0x543389)[_0x37627b(0x1a4)](_0x4b6eb2,_0x1489f5,_0x2865c1,_0x812bbc);}_0xd1b4f5[_0x37627b(0x1fc)](_0x1e8845)[_0x37627b(0x34b)](_0x5299bc=>{const _0x2431fc=_0x37627b,[_0x365761,_0x97406e]=_0x5299bc,_0x387d89=_0xd1b4f5[_0x2431fc(0x20b)](_0x365761),_0x1952c6=_0xd1b4f5['getFieldById'](_0x97406e);_0x387d89&&_0x1952c6&&_0x387d89['refreshGroupField'](_0x1952c6);}),_0xd1b4f5[_0x37627b(0x2ba)]();const _0x29d825=_0x86862a[_0x37627b(0x250)](_0x2c87a5);if(_0x29d825){_0x4421bf(_0x29d825,_0x7b9fae,_0xf258c),_0x29d825[_0x37627b(0x2e6)](!0x0);const _0x3e3873=_0x29d825['query'](),_0x97622=_0x86862a[_0x37627b(0x2e4)](_0x2d8909,_0x48db90,_0x2c87a5),_0x1c8756=_0x86862a[_0x37627b(0x2d0)](_0x543389)[_0x37627b(0x32c)]();_0x86862a[_0x37627b(0x2c1)](_0x2d8909,_0x48db90,_0x2229c0[_0x37627b(0xae)],_0x2c87a5,_0x3e3873,_0x97622,_0x1c8756,!0x0);}}return this[_0x37627b(0x34f)](_0x2d8909,_0x48db90,_0x2c87a5);}});}[_0x2d3cd7(0x1d6)](_0xc1ccca,_0x4163db,_0x8820a5){var _0x273761,_0x452f48;const {arrayFormulaCellData:_0x1390ee,unitData:_0x2a0554}=_0x8820a5,_0xf16f5a=(_0x273761=_0x1390ee==null?void 0x0:_0x1390ee[_0xc1ccca])==null?void 0x0:_0x273761[_0x4163db],_0x2081cd=(_0x452f48=_0x2a0554==null?void 0x0:_0x2a0554[_0xc1ccca])==null?void 0x0:_0x452f48[_0x4163db];return{'arrayFormulaCellDataMatrix':_0xf16f5a,'unitDataMatrix':_0x2081cd};}[_0x2d3cd7(0x34f)](_0x33d1ee,_0x51e17d,_0x572b00){const _0x1dd83e=_0x2d3cd7,_0x3e40b7=this[_0x1dd83e(0x191)]['getViewData'](_0x33d1ee,_0x51e17d,_0x572b00),_0x4de42c=[],_0x52ffe7=new _0x2814ce[(_0x1dd83e(0x15b))]();if(_0x3e40b7){const {rangeCache:_0x33dfcc,matrix:_0x9d1684,oldRangeCache:_0x24424d,oldMatrix:_0x64bab3}=_0x3e40b7,_0xf77326=_0x5e6293(_0x24424d),_0x2b42b4=_0x5e6293(_0x33dfcc);_0x4de42c[_0x1dd83e(0xf8)](..._0x2b42b4,..._0xf77326),_0x64bab3&&_0x24424d&&_0xf77326[_0x1dd83e(0x34b)](_0x288f92=>{const _0x1d670f=_0x1dd83e;for(let _0x46f51d=_0x288f92[_0x1d670f(0x338)];_0x46f51d<=_0x288f92[_0x1d670f(0x10b)];_0x46f51d++)for(let _0x1cc870=_0x288f92[_0x1d670f(0x367)];_0x1cc870<=_0x288f92[_0x1d670f(0x375)];_0x1cc870++)_0x52ffe7[_0x1d670f(0x171)](_0x46f51d,_0x1cc870);}),_0x9d1684&&_0x2b42b4&&_0x2b42b4[_0x1dd83e(0x34b)](_0x3add03=>{const _0x104545=_0x1dd83e;for(let _0x34120a=_0x3add03['startRow'];_0x34120a<=_0x3add03[_0x104545(0x10b)];_0x34120a++)for(let _0x52a82c=_0x3add03[_0x104545(0x367)];_0x52a82c<=_0x3add03[_0x104545(0x375)];_0x52a82c++)_0x52ffe7['setValue'](_0x34120a,_0x52a82c,_0x9d1684[_0x104545(0x16a)](_0x34120a,_0x52a82c));});}const _0x2622b7={};return _0x2622b7[_0x33d1ee]={[_0x51e17d]:_0x781158(_0x4de42c)},{'runtimeCellData':{[_0x33d1ee]:{[_0x51e17d]:_0x52ffe7}},'dirtyRanges':_0x2622b7};}[_0x2d3cd7(0x264)](){}};_0x3c83bb=_0x40e635([_0x362e6d(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x159003['SheetsPivotDataSourceModel'])),_0x362e6d(0x1,_0x2814ce[_0x2d3cd7(0xca)]),_0x362e6d(0x2,_0x2814ce[_0x2d3cd7(0x144)](_0x58eb5c['IFeatureCalculationManagerService'])),_0x362e6d(0x3,_0x2814ce['Inject'](_0x2814ce[_0x2d3cd7(0x263)])),_0x362e6d(0x4,_0x2814ce[_0x2d3cd7(0x144)](_0x58eb5c['GlobalComputingStatusService'])),_0x362e6d(0x5,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x167)]))],_0x3c83bb);var _0x340874=Object[_0x2d3cd7(0x11f)],_0x37ad7f=(_0x4f8639,_0x508fd1,_0x36db31,_0x1c2963)=>{const _0x5cf24f=_0x2d3cd7;for(var _0x2da38b=_0x1c2963>0x1?void 0x0:_0x1c2963?_0x340874(_0x508fd1,_0x36db31):_0x508fd1,_0x41deba=_0x4f8639[_0x5cf24f(0x25f)]-0x1,_0x426c47;_0x41deba>=0x0;_0x41deba--)(_0x426c47=_0x4f8639[_0x41deba])&&(_0x2da38b=_0x426c47(_0x2da38b)||_0x2da38b);return _0x2da38b;},_0xae932=(_0x3b52d0,_0x56b610)=>(_0x50da37,_0x318031)=>_0x56b610(_0x50da37,_0x318031,_0x3b52d0);let _0x56c778=class extends _0x2814ce[_0x2d3cd7(0x242)]{constructor(_0xa0f330,_0x4fa20b,_0x41667e,_0x28f592){const _0x50e3cf=_0x2d3cd7;super(),_0x4a4d7d(this,_0x50e3cf(0x210),new _0x2814ce['DisposableCollection']()),(this[_0x50e3cf(0x37f)]=_0xa0f330,this[_0x50e3cf(0x2f8)]=_0x4fa20b,this[_0x50e3cf(0x130)]=_0x41667e,this[_0x50e3cf(0x356)]=_0x28f592,this['_initClearSelectionCommandInterceptor']());}[_0x2d3cd7(0x25e)](){const _0x26bd49=_0x2d3cd7;this[_0x26bd49(0xd4)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x126411=>{const _0x530d6a=_0x26bd49;if(_0x126411['id']===_0x5cc6ba[_0x530d6a(0xe2)]['id']||_0x126411['id']===_0x5cc6ba[_0x530d6a(0x23b)]['id']){const _0x4846a7=[],_0x15a532=[],_0x45da40=this[_0x530d6a(0x130)][_0x530d6a(0x77)]()['map'](_0x543636=>_0x543636[_0x530d6a(0x17f)]),_0x38ee4b=_0x5cc6ba[_0x530d6a(0x22d)](this[_0x530d6a(0x37f)]);if(!_0x38ee4b)return{'redos':[],'undos':[]};const {unitId:_0x3c3c22,subUnitId:_0x36d4c5}=_0x38ee4b,_0x112bee={},_0x435068=this[_0x530d6a(0x356)][_0x530d6a(0x13f)](_0x3c3c22,_0x36d4c5);if(_0x435068!=null&&_0x435068[_0x530d6a(0x102)])for(const [_0x223dbf,_0x90b366]of _0x435068){const {unitId:_0x5ab949,subUnitId:_0x559c54,row:_0x17e900,col:_0x5173f9}=_0x90b366[_0x530d6a(0x301)];_0x5ab949===_0x38ee4b[_0x530d6a(0x19c)]&&_0x559c54===_0x38ee4b[_0x530d6a(0x2da)]&&(_0x112bee[_0x17e900+'-'+_0x5173f9]=_0x223dbf);}return _0x45da40&&_0x38ee4b&&_0x45da40[_0x530d6a(0x34b)](_0x373ba0=>{const _0x2e2666=_0x530d6a;_0x2814ce[_0x2e2666(0x280)][_0x2e2666(0x358)](_0x373ba0,(_0x4ad82f,_0x3c8ccd)=>{const _0x25d452=_0x2e2666,_0xe68541=_0x4ad82f+'-'+_0x3c8ccd;if(_0x112bee[_0xe68541]){const _0x23e895=_0x112bee[_0xe68541];_0x4846a7['push']({'id':_0x3bf3ed['id'],'params':{'unitId':_0x3c3c22,'subUnitId':_0x36d4c5,'pivotTableId':_0x23e895}});const _0x3ed687=this[_0x25d452(0x356)]['getCollection'](_0x3c3c22,_0x23e895),_0x374576=this[_0x25d452(0x356)][_0x25d452(0x2e4)](_0x3c3c22,_0x36d4c5,_0x23e895);_0x15a532[_0x25d452(0xf8)]({'id':_0x25211b['id'],'params':{'unitId':_0x3c3c22,'subUnitId':_0x36d4c5,'pivotTableId':_0x23e895,'pivotTableConfig':_0x374576,'collectionConfig':_0x3ed687}});}});}),{'redos':_0x4846a7,'undos':_0x15a532};}return{'redos':[],'undos':[]};}}));}};_0x56c778=_0x37ad7f([_0xae932(0x0,_0x2814ce[_0x2d3cd7(0x368)]),_0xae932(0x1,_0x2814ce[_0x2d3cd7(0x144)](_0x5cc6ba[_0x2d3cd7(0x227)])),_0xae932(0x2,_0x2814ce[_0x2d3cd7(0x144)](_0x5cc6ba[_0x2d3cd7(0x1fa)])),_0xae932(0x3,_0x2814ce[_0x2d3cd7(0x144)](_0x159003['SheetsPivotTableConfigModel']))],_0x56c778);var _0x12b366=Object['getOwnPropertyDescriptor'],_0x64e31=(_0x328477,_0x4fa05f,_0x5af71d,_0x44bae2)=>{const _0x2f6112=_0x2d3cd7;for(var _0x282af0=_0x44bae2>0x1?void 0x0:_0x44bae2?_0x12b366(_0x4fa05f,_0x5af71d):_0x4fa05f,_0x47c577=_0x328477[_0x2f6112(0x25f)]-0x1,_0x3cf92c;_0x47c577>=0x0;_0x47c577--)(_0x3cf92c=_0x328477[_0x47c577])&&(_0x282af0=_0x3cf92c(_0x282af0)||_0x282af0);return _0x282af0;},_0x2296d8=(_0x439c16,_0x13030c)=>(_0x1c5792,_0x155681)=>_0x13030c(_0x1c5792,_0x155681,_0x439c16);let _0x5a1f58=class extends _0x2814ce['Disposable']{constructor(_0x22f5e8,_0x256c10,_0x37844c,_0x716084,_0x1f308a,_0x4f232a){const _0x444261=_0x2d3cd7;super(),this[_0x444261(0x2f6)]=_0x22f5e8,this[_0x444261(0x2f8)]=_0x256c10,this[_0x444261(0x1a6)]=_0x37844c,this['_univerInstanceService']=_0x716084,this[_0x444261(0x356)]=_0x1f308a,this[_0x444261(0x125)]=_0x4f232a,this['_initCommandInterceptListener']();}['_getPivotAppliedRanges'](_0xb4869b,_0x16f278,_0x3d0798){const _0x19c0d1=_0x2d3cd7,{pageView:_0x2672d7,cornerView:_0x4c85e4,rowView:_0x526f37,colView:_0x1baf7c,dataView:_0x513537}=_0x16f278,_0x25e421=_0xb4869b;let _0x48d730;if(_0x3d0798)_0x48d730=[..._0x3bc057(_0x25e421)];else{const _0xf5c957=_0x341800(_0x25e421,_0x2672d7,!0x0),_0x250d3f=_0x2672d7[_0x19c0d1(0xf1)]>=0x0?_0x2672d7[_0x19c0d1(0xf1)]+0x1:0x0,_0x2a705f=_0x4c85e4['rowCount'],_0x46fd09=_0x4c85e4[_0x19c0d1(0x1aa)],_0x5190fc=_0xf5c957[_0x19c0d1(0x25f)]>0x0?_0x1312a9:0x0,_0x27ac88=_0x341800({'row':_0x25e421[_0x19c0d1(0x363)]+_0x250d3f+_0x5190fc,'col':_0x25e421[_0x19c0d1(0x117)]},_0x4c85e4,!0x1,!0x1),_0x3ed8c0=_0x341800({'row':_0x25e421[_0x19c0d1(0x363)]+_0x250d3f+_0x5190fc+_0x2a705f,'col':_0x25e421[_0x19c0d1(0x117)]},_0x526f37,!0x1,!0x0),_0x443c30=_0x341800({'row':_0x25e421[_0x19c0d1(0x363)]+_0x250d3f+_0x5190fc,'col':_0x25e421[_0x19c0d1(0x117)]+_0x46fd09},_0x1baf7c,!0x1,!0x0),_0x2cb751=_0x341800({'row':_0x25e421[_0x19c0d1(0x363)]+_0x250d3f+_0x5190fc+_0x2a705f,'col':_0x25e421[_0x19c0d1(0x117)]+_0x46fd09},_0x513537,!0x1,!0x0);_0x48d730=[..._0xf5c957,..._0x27ac88,..._0x3ed8c0,..._0x443c30,..._0x2cb751];}return _0x48d730;}['_initCommandInterceptListener'](){const _0x535ee2=_0x2d3cd7;this['disposeWithMe'](this[_0x535ee2(0x125)][_0x535ee2(0x335)][_0x535ee2(0x21e)](this[_0x535ee2(0x125)][_0x535ee2(0x335)][_0x535ee2(0x248)]()[_0x535ee2(0x33e)],{'handler':(_0x1bd9ff,_0x12a303)=>{const _0x2ba03e=_0x535ee2,{cellInfo:_0x1c0a4a,view:_0x3ab224,isEmpty:_0x26432f}=_0x12a303,_0x5b7ec3=_0x1c0a4a,{unitId:_0x15034f,subUnitId:_0x134476}=_0x5b7ec3,_0x4e766a=this['_getPivotAppliedRanges'](_0x1c0a4a,_0x3ab224,_0x26432f),_0x47f397=this['_sheetInterceptorService'][_0x2ba03e(0x29a)]({'unitId':_0x15034f,'subUnitId':_0x134476,'ranges':_0x4e766a}),_0x517e99=_0x34a613(this[_0x2ba03e(0x1a6)],_0x15034f,_0x134476,_0x4e766a);_0x517e99[_0x2ba03e(0x249)]&&(_0x47f397[_0x2ba03e(0x220)]['push'](_0x517e99[_0x2ba03e(0x32f)]),_0x47f397[_0x2ba03e(0x10f)][_0x2ba03e(0xf8)](_0x517e99[_0x2ba03e(0x2cf)]));const _0x4dac28=this[_0x2ba03e(0x91)](_0x3ab224,_0x1c0a4a);return _0x47f397[_0x2ba03e(0x220)][_0x2ba03e(0xf8)](..._0x4dac28[_0x2ba03e(0x220)]),_0x47f397[_0x2ba03e(0x10f)][_0x2ba03e(0xf8)](..._0x4dac28[_0x2ba03e(0x10f)]),{'redos':_0x47f397[_0x2ba03e(0x220)],'undos':_0x47f397[_0x2ba03e(0x10f)]};}}));}[_0x2d3cd7(0x91)](_0x130c65,_0x22f44e){const _0x39f1cc=_0x2d3cd7,{col:_0x30a28a,unitId:_0x1bae2e,subUnitId:_0xba6cc8}=_0x22f44e,_0x247630=[],_0x53950b=[],_0x29dd33=_0x5cc6ba[_0x39f1cc(0x22d)](this[_0x39f1cc(0x37f)],{'unitId':_0x1bae2e,'subUnitId':_0xba6cc8});if(!_0x22f44e||!_0x130c65||!_0x29dd33)return{'undos':_0x53950b,'redos':_0x247630};const _0x13c32f=this['_sheetsPivotTableConfigModel']['getTextInfo'](),{colView:_0x4f6fee,dataView:_0x47b657,cornerView:_0x58c9cc,rowView:_0x2d0225,formatMap:_0x4e5097}=_0x130c65,_0x16ba4b=_0x5229da(_0x4f6fee,_0x13c32f,!0x0,_0x4e5097),_0x10b3d8=_0x5229da(_0x2d0225,_0x13c32f,!0x1,_0x4e5097),_0x300c1e=_0x4af06f(_0x47b657),_0x1dfa87=_0x5225e7(_0x58c9cc),{worksheet:_0x2c3ecd}=_0x29dd33;if(typeof window<'u'&&window[_0x39f1cc(0x317)]){const _0x16b0da=_0x10c6a9[_0x39f1cc(0x2a8)]({..._0x473100[_0x39f1cc(0x11b)]}),_0x26ee7b=_0x10c6a9[_0x39f1cc(0x324)][_0x39f1cc(0x236)](_0x16ba4b,_0x16b0da)[_0x39f1cc(0x2d7)]+0x10,_0x3521f8=_0x10c6a9[_0x39f1cc(0x324)]['getTextSize'](_0x300c1e,_0x16b0da)[_0x39f1cc(0x2d7)],_0x52252a=Math[_0x39f1cc(0x126)](Math['max'](_0x26ee7b,_0x3521f8))+0x10,_0x50df2b=Math[_0x39f1cc(0x126)](_0x10c6a9['FontCache'][_0x39f1cc(0x236)](_0x10b3d8,_0x16b0da)[_0x39f1cc(0x2d7)]),_0x46be52=Math[_0x39f1cc(0x126)](_0x10c6a9[_0x39f1cc(0x324)]['getTextSize'](_0x1dfa87,_0x16b0da)[_0x39f1cc(0x2d7)]),_0x4225fa=Math[_0x39f1cc(0x2bf)](_0x50df2b,_0x46be52,0x28)+0xc,_0x155932=_0x4f6fee[_0x39f1cc(0x1aa)]+_0x58c9cc[_0x39f1cc(0x1aa)],_0x44c6a3={},_0x13f0bc={};for(let _0x3f6764=_0x30a28a;_0x3f6764<_0x30a28a+_0x155932;_0x3f6764++){const _0x2dc142=_0x2c3ecd[_0x39f1cc(0x105)](_0x3f6764);_0x44c6a3[_0x3f6764]=_0x2dc142,_0x3f6764-_0x30a28a<_0x58c9cc['colCount']?_0x13f0bc[_0x3f6764-_0x30a28a]=_0x4225fa:_0x13f0bc[_0x3f6764-_0x30a28a]=_0x52252a;}_0x247630[_0x39f1cc(0xf8)]({'id':_0x5cc6ba[_0x39f1cc(0x255)]['id'],'params':{'subUnitId':_0xba6cc8,'unitId':_0x1bae2e,'ranges':[{'startColumn':_0x30a28a,'endColumn':_0x30a28a+_0x155932-0x1,'startRow':0x0,'endRow':_0x2c3ecd[_0x39f1cc(0x1f0)]()-0x1}],'colWidth':_0x13f0bc}}),_0x53950b[_0x39f1cc(0xf8)]({'id':_0x5cc6ba[_0x39f1cc(0x255)]['id'],'params':{'subUnitId':_0xba6cc8,'unitId':_0x1bae2e,'ranges':[{'startColumn':_0x30a28a,'endColumn':_0x30a28a+_0x155932-0x1,'startRow':0x0,'endRow':_0x2c3ecd['getRowCount']()-0x1}],'colWidth':_0x44c6a3}});}return{'undos':_0x53950b,'redos':_0x247630};}};_0x5a1f58=_0x64e31([_0x2296d8(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x19f)])),_0x2296d8(0x1,_0x2814ce[_0x2d3cd7(0x144)](_0x5cc6ba['SheetInterceptorService'])),_0x2296d8(0x2,_0x2814ce['Inject'](_0x2814ce[_0x2d3cd7(0x167)])),_0x2296d8(0x3,_0x2814ce['Inject'](_0x2814ce[_0x2d3cd7(0x368)])),_0x2296d8(0x4,_0x2814ce[_0x2d3cd7(0x144)](_0x159003[_0x2d3cd7(0x282)])),_0x2296d8(0x5,_0x2814ce[_0x2d3cd7(0x144)](_0x159003[_0x2d3cd7(0x346)]))],_0x5a1f58);var _0x229e52=Object[_0x2d3cd7(0x11f)],_0x4142dd=(_0x271165,_0x4e9821,_0x3af73d,_0x53010c)=>{const _0x2c23d4=_0x2d3cd7;for(var _0xd453b6=_0x53010c>0x1?void 0x0:_0x53010c?_0x229e52(_0x4e9821,_0x3af73d):_0x4e9821,_0x37b438=_0x271165[_0x2c23d4(0x25f)]-0x1,_0x560a00;_0x37b438>=0x0;_0x37b438--)(_0x560a00=_0x271165[_0x37b438])&&(_0xd453b6=_0x560a00(_0xd453b6)||_0xd453b6);return _0xd453b6;},_0x25134f=(_0x345326,_0x54858d)=>(_0x38391a,_0x532232)=>_0x54858d(_0x38391a,_0x532232,_0x345326);let _0x537899=class extends _0x2814ce[_0x2d3cd7(0x242)]{constructor(_0x2f2cf2,_0x2f3a9d,_0x27278a,_0x73d0,_0x3b7db2,_0x4bede5,_0x352a27){const _0x323a48=_0x2d3cd7;super(),_0x4a4d7d(this,_0x323a48(0x210),new _0x2814ce[(_0x323a48(0x159))]()),(this[_0x323a48(0x1a6)]=_0x2f2cf2,this[_0x323a48(0x14b)]=_0x2f3a9d,this[_0x323a48(0x341)]=_0x27278a,this[_0x323a48(0x37f)]=_0x73d0,this[_0x323a48(0x356)]=_0x3b7db2,this[_0x323a48(0x37e)]=_0x4bede5,this[_0x323a48(0x2f8)]=_0x352a27,this[_0x323a48(0x1d0)]());}[_0x2d3cd7(0x1d0)](){const _0x589531=_0x2d3cd7,_0x47fe91=(_0x4a8c7a,_0x15e7f1)=>{const _0x3bd0b6=_0x50dd,_0x502044=this[_0x3bd0b6(0x37f)][_0x3bd0b6(0x112)](_0x2814ce[_0x3bd0b6(0x234)][_0x3bd0b6(0x30e)]);if(!_0x502044||!(_0x502044==null?void 0x0:_0x502044[_0x3bd0b6(0x98)](_0x15e7f1)))return;this['disposableCollection'][_0x3bd0b6(0x264)]();const _0x53ddc8=_0x442881=>this[_0x3bd0b6(0xdf)](_0x442881,_0x4a8c7a,_0x15e7f1),_0x44bc69=this[_0x3bd0b6(0x356)][_0x3bd0b6(0x13f)](_0x4a8c7a,_0x15e7f1);if(!(_0x44bc69!=null&&_0x44bc69[_0x3bd0b6(0x102)]))return;Array['from'](_0x44bc69[_0x3bd0b6(0x1ab)]())[_0x3bd0b6(0x1e5)](_0x17f485=>{const _0x47588=_0x3bd0b6,{row:_0x46d6d3,col:_0x49f48a}=_0x17f485['targetCellInfo'];return _0x2814ce[_0x47588(0x30d)](_0x46d6d3,_0x49f48a);})[_0x3bd0b6(0x34b)](_0x2e46bf=>{const _0x16bdfd=_0x3bd0b6;this[_0x16bdfd(0x210)][_0x16bdfd(0x9d)](this[_0x16bdfd(0x14b)][_0x16bdfd(0x17b)](_0x2e46bf,_0x53ddc8,_0x4a8c7a,_0x15e7f1));});},_0x368873=()=>{const _0x4fddcb=_0x50dd,_0xc163b8=this[_0x4fddcb(0x37f)][_0x4fddcb(0x112)](_0x2814ce[_0x4fddcb(0x234)][_0x4fddcb(0x30e)]);if(_0xc163b8){const _0x458d06=_0xc163b8[_0x4fddcb(0xf0)]();if(!_0x458d06)return;_0x47fe91(_0xc163b8[_0x4fddcb(0x388)](),_0x458d06[_0x4fddcb(0x8b)]());}};this[_0x589531(0xd4)](this[_0x589531(0x341)][_0x589531(0x1eb)](_0x3eedae=>{const _0x427a5c=_0x589531;if(_0x3eedae['id']===_0x5cc6ba[_0x427a5c(0x373)]['id']){const _0x2f6c24=_0x3eedae[_0x427a5c(0x9c)],_0x1c67f9=_0x2f6c24[_0x427a5c(0x2da)],_0x14030b=_0x2f6c24[_0x427a5c(0x19c)];if(!_0x1c67f9||!_0x14030b)return;_0x47fe91(_0x14030b,_0x1c67f9);}})),this[_0x589531(0xd4)](this['_sheetsPivotTableConfigModel']['pivotInitCompleted$'][_0x589531(0xe6)](_0x20f779=>{_0x20f779&&_0x368873();})),this['disposeWithMe'](this[_0x589531(0x356)][_0x589531(0x86)]['subscribe'](_0x5796cf=>{const _0x458fe3=_0x589531,_0x24c352=_0x5cc6ba[_0x458fe3(0x22d)](this[_0x458fe3(0x37f)]);if(!_0x24c352)return;const {unitId:_0x57cbee,subUnitId:_0x25db43}=_0x24c352,{unitId:_0x3f23a0,subUnitId:_0x48f768}=_0x5796cf;_0x57cbee!==_0x3f23a0||_0x25db43!==_0x48f768||_0x47fe91(_0x57cbee,_0x25db43);})),_0x368873();}[_0x2d3cd7(0xdf)](_0x585797,_0x477f08,_0x494b09){const _0x528ff0=_0x2d3cd7;switch(_0x585797['id']){case _0x5cc6ba[_0x528ff0(0x326)]['id']:return this['getRefRangeMutationsByMoveRange'](_0x585797[_0x528ff0(0x9c)],_0x477f08,_0x494b09);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x705eca,_0x4909e4,_0xd763a){const _0x8aa5a1=_0x2d3cd7,{fromRange:_0x1b5f7e,toRange:_0x281f4a}=_0x705eca,_0x146cbe=[],_0x121e4f=[],_0x25fabd=_0x5cc6ba[_0x8aa5a1(0x22d)](this['_univerInstanceService']);if(!_0x25fabd)return{'undos':_0x121e4f,'redos':_0x146cbe};if(_0x4909e4!==_0x25fabd['unitId']||_0xd763a!==_0x25fabd[_0x8aa5a1(0x2da)])return{'undos':_0x121e4f,'redos':_0x146cbe};const _0x5aa348=this[_0x8aa5a1(0x356)]['getSubUnitPivotConfigs'](_0x4909e4,_0xd763a);if(_0x5aa348!=null&&_0x5aa348[_0x8aa5a1(0x102)])for(const [_0x5004b9,_0x29e9b3]of _0x5aa348){const {unitId:_0x347958,subUnitId:_0x31143a,row:_0x17bd5b,col:_0x1b369c}=_0x29e9b3[_0x8aa5a1(0x301)];if(_0x347958===_0x25fabd[_0x8aa5a1(0x19c)]&&_0x31143a===_0x25fabd['subUnitId']){const _0x2530c5=_0x2814ce[_0x8aa5a1(0x30d)](_0x17bd5b,_0x1b369c);if(_0x2814ce['Rectangle'][_0x8aa5a1(0x2e7)](_0x2530c5,_0x1b5f7e)){const _0x18f2ec=_0x17bd5b-_0x1b5f7e['startRow'],_0x4dbbd5=_0x1b369c-_0x1b5f7e[_0x8aa5a1(0x367)],_0x1deb3d={'row':_0x281f4a['startRow']+_0x18f2ec,'col':_0x281f4a[_0x8aa5a1(0x367)]+_0x4dbbd5};_0x146cbe['push']({'id':_0x530b7f['id'],'params':{'unitId':_0x347958,'subUnitId':_0x31143a,'pivotTableId':_0x5004b9,'targetCellPosition':_0x1deb3d}}),_0x121e4f[_0x8aa5a1(0xf8)]({'id':_0x530b7f['id'],'params':{'unitId':_0x347958,'subUnitId':_0x31143a,'pivotTableId':_0x5004b9,'targetCellPosition':{'row':_0x17bd5b,'col':_0x1b369c}}});const _0x2c92c9=_0x1deb3d[_0x8aa5a1(0x363)]-_0x17bd5b,_0x4cbdcf=_0x1deb3d[_0x8aa5a1(0x117)]-_0x1b369c,_0x4eef17=[],_0x597d8c=this['_sheetsPivotTableAdaptorModel']['getPivotItemRenderInfoCache'](_0x347958,_0x31143a,_0x5004b9),_0x48a973=_0x597d8c==null?void 0x0:_0x597d8c['rangesInfo'];if(_0x48a973){Object[_0x8aa5a1(0x22a)](_0x48a973)['forEach'](_0x54b5ac=>{const _0xd4d4c1=_0x8aa5a1;_0x48a973[_0x54b5ac][_0xd4d4c1(0x34b)](_0x56d930=>{const _0x138824=_0xd4d4c1,_0x42e828={..._0x56d930};_0x42e828[_0x138824(0x338)]=_0x56d930[_0x138824(0x338)]+_0x2c92c9,_0x42e828[_0x138824(0x10b)]=_0x56d930[_0x138824(0x10b)]+_0x2c92c9,_0x42e828[_0x138824(0x367)]=_0x56d930[_0x138824(0x367)]+_0x4cbdcf,_0x42e828[_0x138824(0x375)]=_0x56d930[_0x138824(0x375)]+_0x4cbdcf,_0x4eef17[_0x138824(0xf8)](_0x42e828);});});const _0x43d288=this['_sheetInterceptorService'][_0x8aa5a1(0x29a)]({'unitId':_0x347958,'subUnitId':_0x31143a,'ranges':_0x4eef17});_0x146cbe[_0x8aa5a1(0xf8)](..._0x43d288['redos']),_0x121e4f[_0x8aa5a1(0xf8)](..._0x43d288[_0x8aa5a1(0x10f)]);const _0x437ef2=_0x34a613(this[_0x8aa5a1(0x1a6)],_0x347958,_0x31143a,_0x4eef17);_0x437ef2[_0x8aa5a1(0x249)]&&(_0x146cbe[_0x8aa5a1(0xf8)](_0x437ef2['setRangeValueRedoMutation']),_0x121e4f[_0x8aa5a1(0xf8)](_0x437ef2[_0x8aa5a1(0x2cf)]));}}}}return{'redos':_0x146cbe,'undos':_0x121e4f};}};_0x537899=_0x4142dd([_0x25134f(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x167)])),_0x25134f(0x1,_0x2814ce['Inject'](_0x5cc6ba['RefRangeService'])),_0x25134f(0x2,_0x2814ce['ICommandService']),_0x25134f(0x3,_0x2814ce[_0x2d3cd7(0x368)]),_0x25134f(0x4,_0x2814ce[_0x2d3cd7(0x144)](_0x159003[_0x2d3cd7(0x282)])),_0x25134f(0x5,_0x2814ce[_0x2d3cd7(0x144)](_0x159003[_0x2d3cd7(0x379)])),_0x25134f(0x6,_0x2814ce[_0x2d3cd7(0x144)](_0x5cc6ba[_0x2d3cd7(0x227)]))],_0x537899);var _0x5ccaca=Object[_0x2d3cd7(0x11f)],_0xbdd495=(_0x3e932f,_0x36aded,_0x2877ef,_0x5d8e67)=>{const _0x5cea31=_0x2d3cd7;for(var _0x86d32e=_0x5d8e67>0x1?void 0x0:_0x5d8e67?_0x5ccaca(_0x36aded,_0x2877ef):_0x36aded,_0x1696ee=_0x3e932f[_0x5cea31(0x25f)]-0x1,_0x1c3491;_0x1696ee>=0x0;_0x1696ee--)(_0x1c3491=_0x3e932f[_0x1696ee])&&(_0x86d32e=_0x1c3491(_0x86d32e)||_0x86d32e);return _0x86d32e;},_0x42a84d=(_0xb34e76,_0x2dd21f)=>(_0xbc6a68,_0xbd3946)=>_0x2dd21f(_0xbc6a68,_0xbd3946,_0xb34e76);let _0x5f3fb5=class extends _0x2814ce['Disposable']{constructor(_0x5006cb,_0x1b42a2){const _0x1cf14d=_0x2d3cd7;super(),this[_0x1cf14d(0x2f8)]=_0x5006cb,this[_0x1cf14d(0x356)]=_0x1b42a2,this[_0x1cf14d(0x213)]();}[_0x2d3cd7(0x213)](){const _0x3a41ba=_0x2d3cd7;this[_0x3a41ba(0xd4)](this[_0x3a41ba(0x2f8)][_0x3a41ba(0x2dd)]({'getMutations':_0x14a93d=>{const _0x1d6ae6=_0x3a41ba;if(_0x14a93d['id']===_0x5cc6ba[_0x1d6ae6(0x2eb)]['id']){const _0x112db4=[],_0x34b37f=[],_0x2aff65=_0x14a93d[_0x1d6ae6(0x9c)],{unitId:_0x296736,subUnitId:_0x5741b2}=_0x2aff65;if(!_0x296736||!_0x5741b2)return{'undos':_0x34b37f,'redos':_0x112db4};const _0x54db8e=this[_0x1d6ae6(0x356)][_0x1d6ae6(0x13f)](_0x296736,_0x5741b2);if(_0x54db8e!=null&&_0x54db8e[_0x1d6ae6(0x102)])for(const [_0x51b7be,_0x546c01]of _0x54db8e){_0x112db4[_0x1d6ae6(0xf8)]({'id':_0x3bf3ed['id'],'params':{'unitId':_0x296736,'subUnitId':_0x5741b2,'pivotTableId':_0x51b7be}});const _0xb34551={...this['_sheetsPivotTableConfigModel'][_0x1d6ae6(0x2bb)](_0x296736,_0x51b7be)};_0x34b37f['push']({'id':_0x25211b['id'],'params':{'unitId':_0x296736,'subUnitId':_0x5741b2,'pivotTableId':_0x51b7be,'pivotTableConfig':_0x546c01,'collectionConfig':_0xb34551}});}return{'redos':_0x112db4,'undos':_0x34b37f};}return{'redos':[],'undos':[]};}}));}};_0x5f3fb5=_0xbdd495([_0x42a84d(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x5cc6ba['SheetInterceptorService'])),_0x42a84d(0x1,_0x2814ce[_0x2d3cd7(0x144)](_0x159003[_0x2d3cd7(0x282)]))],_0x5f3fb5);var _0x324a2c=Object['getOwnPropertyDescriptor'],_0x5748c3=(_0xf4b0a,_0x2dc929,_0x281c52,_0x36e4c1)=>{const _0x4b0e3a=_0x2d3cd7;for(var _0x1d7b7c=_0x36e4c1>0x1?void 0x0:_0x36e4c1?_0x324a2c(_0x2dc929,_0x281c52):_0x2dc929,_0x14fd99=_0xf4b0a[_0x4b0e3a(0x25f)]-0x1,_0x206279;_0x14fd99>=0x0;_0x14fd99--)(_0x206279=_0xf4b0a[_0x14fd99])&&(_0x1d7b7c=_0x206279(_0x1d7b7c)||_0x1d7b7c);return _0x1d7b7c;},_0x54e0b6=(_0x1ba90a,_0x24487)=>(_0x192e8f,_0xc9083b)=>_0x24487(_0x192e8f,_0xc9083b,_0x1ba90a);let _0x27dba9=class extends _0x2814ce[_0x2d3cd7(0x242)]{constructor(_0x59e06a,_0x50de2b,_0x279bad,_0x7c5421,_0x2d1b53,_0x204277){const _0x34c847=_0x2d3cd7;super(),this['_commandService']=_0x59e06a,this[_0x34c847(0x174)]=_0x50de2b,this['_sheetsPivotTableAdaptorModel']=_0x279bad,this['_sheetsPivotTableConfigModel']=_0x7c5421,this[_0x34c847(0x37f)]=_0x2d1b53,this[_0x34c847(0x231)]=_0x204277,this[_0x34c847(0x323)](),this['registerDirtyService']();}[_0x2d3cd7(0x323)](){const _0x571d2a=_0x2d3cd7;this[_0x571d2a(0xd4)](this[_0x571d2a(0x341)]['onCommandExecuted'](_0x408abd=>{const _0x8efc9d=_0x571d2a;if(_0x408abd['id']!==_0x5e28f5['id'])return;const _0x271f05=_0x408abd[_0x8efc9d(0x9c)];this[_0x8efc9d(0x174)]['handleAsyncResponse'](_0x271f05);})),this[_0x571d2a(0xd4)](this[_0x571d2a(0x341)]['onCommandExecuted'](_0x586832=>{const _0x3401e5=_0x571d2a;if(_0x586832['id']===_0x137307['id']){const _0xb79d5b=_0x586832[_0x3401e5(0x9c)];if(_0xb79d5b){const {unitId:_0x523e1d,subUnitId:_0x4116ec,oldSubUnitId:_0x20cf2a,pivotTableId:_0x5dbf0f,pivotTableConfig:_0x3ad2d6,collectionConfig:_0x20a693}=_0xb79d5b;this[_0x3401e5(0x356)][_0x3401e5(0x23a)](_0x523e1d,_0x20cf2a,_0xb79d5b[_0x3401e5(0x311)],null),this[_0x3401e5(0x356)][_0x3401e5(0x23a)](_0x523e1d,_0x4116ec,_0x5dbf0f,_0x3ad2d6),this[_0x3401e5(0x356)][_0x3401e5(0x1af)](_0x523e1d,_0x20a693);}}})),this[_0x571d2a(0xd4)](this[_0x571d2a(0x341)][_0x571d2a(0x1eb)](_0x58e245=>{const _0x28cc5b=_0x571d2a;if(_0x58e245['id']!==_0x4b3f05['id'])return;const _0x5ab71c=_0x5cc6ba[_0x28cc5b(0x22d)](this[_0x28cc5b(0x37f)]);if(!_0x5ab71c)return;const {unitId:_0x2968e3,subUnitId:_0x3124c0}=_0x5ab71c,_0x170477=_0x58e245['params'];if(_0x170477['collectionConfig']&&Object[_0x28cc5b(0x22a)](_0x170477[_0x28cc5b(0x28b)])[_0x28cc5b(0x34b)](_0x1c29b2=>{const _0x327eb7=_0x28cc5b;var _0xb7130c;(_0xb7130c=_0x170477['collectionConfig'])!=null&&_0xb7130c[_0x1c29b2]&&this['_sheetsPivotTableConfigModel'][_0x327eb7(0x1af)](_0x1c29b2,_0x170477[_0x327eb7(0x28b)][_0x1c29b2]);}),_0x170477['single']){const _0x416319=_0x170477[_0x28cc5b(0x114)],{unitId:_0xad8e74,subUnitId:_0x1c99e2,view:_0x332ffe,pivotTableId:_0x5bd6b2,type:_0x14a46b,pivotConfig:_0x16de7e}=_0x416319;if(_0x14a46b===_0x2229c0[_0x28cc5b(0x15c)])this['_sheetsPivotTableAdaptorModel'][_0x28cc5b(0x1b7)]({'unitId':_0xad8e74,'subUnitId':_0x1c99e2,'pivotTableId':_0x5bd6b2,'type':_0x14a46b}),this[_0x28cc5b(0x356)][_0x28cc5b(0x23a)](_0xad8e74,_0x1c99e2,_0x5bd6b2,null);else{const _0x31af4c=new _0x3ed89a[(_0x28cc5b(0x1da))]();_0x31af4c[_0x28cc5b(0x18f)](_0x332ffe),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0xad8e74,_0x1c99e2,_0x5bd6b2,_0x16de7e),this[_0x28cc5b(0x37e)][_0x28cc5b(0x1b7)]({'unitId':_0xad8e74,'subUnitId':_0x1c99e2,'pivotTableId':_0x5bd6b2,'type':_0x14a46b,'view':_0x31af4c}),this['_sheetsPivotTableAdaptorModel']['updateRenderCache']({'unitId':_0xad8e74,'subUnitId':_0x1c99e2,'view':_0x31af4c,'pivotTableId':_0x5bd6b2,'type':_0x14a46b});}}else _0x170477['batch']&&(_0x170477[_0x28cc5b(0x228)][_0x28cc5b(0x34b)](_0x1a803a=>{const _0x37b1c8=_0x28cc5b,{unitId:_0x5eb3b1,subUnitId:_0x7f75a2,view:_0x528436,pivotTableId:_0x2b133d,type:_0x55ca87,pivotConfig:_0x5a23e9}=_0x1a803a,_0x52a74b=new _0x3ed89a[(_0x37b1c8(0x1da))]();_0x52a74b[_0x37b1c8(0x18f)](_0x528436),this['_sheetsPivotTableConfigModel'][_0x37b1c8(0x23a)](_0x5eb3b1,_0x7f75a2,_0x2b133d,_0x5a23e9),this['_sheetsPivotTableAdaptorModel'][_0x37b1c8(0x9b)]({'unitId':_0x5eb3b1,'subUnitId':_0x7f75a2,'view':_0x52a74b,'pivotTableId':_0x2b133d,'type':_0x55ca87});}),this[_0x28cc5b(0x356)][_0x28cc5b(0x24c)]());this[_0x28cc5b(0x37e)]['markDirty'](_0x2968e3,_0x3124c0);}));}[_0x2d3cd7(0x20a)](){const _0xc4a157=_0x2d3cd7;this[_0xc4a157(0x231)][_0xc4a157(0x2fd)](_0x488c22['id'],{'commandId':_0x488c22['id'],'getDirtyData'(_0x4aabf3){const _0x4f42bb=_0xc4a157;return{'dirtyUnitFeatureMap':_0x4aabf3[_0x4f42bb(0x9c)]};}});}};_0x27dba9=_0x5748c3([_0x54e0b6(0x0,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce['ICommandService'])),_0x54e0b6(0x1,_0x2814ce[_0x2d3cd7(0x144)](_0x159003[_0x2d3cd7(0x2a7)])),_0x54e0b6(0x2,_0x2814ce[_0x2d3cd7(0x144)](_0x159003[_0x2d3cd7(0x379)])),_0x54e0b6(0x3,_0x2814ce[_0x2d3cd7(0x144)](_0x159003[_0x2d3cd7(0x282)])),_0x54e0b6(0x4,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x368)])),_0x54e0b6(0x5,_0x58eb5c[_0x2d3cd7(0x13e)])],_0x27dba9);var _0x546695=Object[_0x2d3cd7(0xb6)],_0x5b7853=Object['getOwnPropertyDescriptor'],_0x4bf214=(_0x291f54,_0x52ea63,_0x3dfe70)=>_0x52ea63 in _0x291f54?_0x546695(_0x291f54,_0x52ea63,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3dfe70}):_0x291f54[_0x52ea63]=_0x3dfe70,_0x16ad13=(_0x24e2b9,_0x56f411,_0x1ccffa,_0x30f87c)=>{const _0x19682f=_0x2d3cd7;for(var _0x103161=_0x30f87c>0x1?void 0x0:_0x30f87c?_0x5b7853(_0x56f411,_0x1ccffa):_0x56f411,_0x1ee868=_0x24e2b9[_0x19682f(0x25f)]-0x1,_0x200e20;_0x1ee868>=0x0;_0x1ee868--)(_0x200e20=_0x24e2b9[_0x1ee868])&&(_0x103161=_0x200e20(_0x103161)||_0x103161);return _0x103161;},_0x216932=(_0x106796,_0x1283b1)=>(_0x116371,_0x265931)=>_0x1283b1(_0x116371,_0x265931,_0x106796),_0x393db8=(_0x324a90,_0x2587f9,_0x333769)=>_0x4bf214(_0x324a90,typeof _0x2587f9!=_0x2d3cd7(0x1d8)?_0x2587f9+'':_0x2587f9,_0x333769);_0x159003[_0x2d3cd7(0x268)]=class extends _0x2814ce['Plugin']{constructor(_0x16d944=_0x2e2525,_0x3cdb31,_0x59fe96,_0x2e6132,_0x5840f6){const _0x4b72be=_0x2d3cd7;super(),this[_0x4b72be(0x302)]=_0x16d944,this[_0x4b72be(0x1a6)]=_0x3cdb31,this[_0x4b72be(0x341)]=_0x59fe96,this[_0x4b72be(0x27f)]=_0x2e6132,this['_dataSyncPrimaryController']=_0x5840f6;const {..._0x1cced5}=_0x2814ce[_0x4b72be(0xc0)]({},_0x2e2525,this[_0x4b72be(0x302)]);this[_0x4b72be(0x27f)][_0x4b72be(0x28a)](_0x3eacdb,_0x1cced5),this[_0x4b72be(0x193)](),this[_0x4b72be(0x25c)]();}[_0x2d3cd7(0x25c)](){const _0x382122=_0x2d3cd7;var _0x5c98d2;const _0x56ef07=(_0x5c98d2=this[_0x382122(0x302)])==null?void 0x0:_0x5c98d2[_0x382122(0xb8)];this[_0x382122(0x27f)][_0x382122(0x28a)](_0x3fcf75,_0x56ef07===!0x0);}['onStarting'](){const _0x27d4b4=_0x2d3cd7;var _0x57299a;let _0x50b490=[];const _0x3575ab=(_0x57299a=this[_0x27d4b4(0x302)])==null?void 0x0:_0x57299a[_0x27d4b4(0xb8)];_0x3575ab===!0x0?_0x50b490=[[_0x159003[_0x27d4b4(0x346)]],[_0x159003[_0x27d4b4(0x2a7)]],[_0x27dba9],[_0x159003[_0x27d4b4(0x379)]],[_0x159003[_0x27d4b4(0x282)]],[_0x5f3fb5],[_0x56c778],[_0x537899],[_0x5a1f58]]:_0x3575ab===!0x1?_0x50b490=[[_0x159003[_0x27d4b4(0x187)]],[_0x3c83bb]]:_0x3575ab===void 0x0&&(_0x50b490=[[_0x159003['SheetsPivotDataSourceModel']],[_0x3c83bb],[_0x159003[_0x27d4b4(0x346)]],[_0x159003['SheetsPivotRPCService']],[_0x27dba9],[_0x159003[_0x27d4b4(0x379)]],[_0x159003[_0x27d4b4(0x282)]],[_0x5f3fb5],[_0x56c778],[_0x537899],[_0x5a1f58]]),_0x50b490['forEach'](_0x53a967=>this[_0x27d4b4(0x1a6)][_0x27d4b4(0x9d)](_0x53a967)),[_0x3c83bb,_0x27dba9,_0x159003[_0x27d4b4(0x346)],_0x56c778,_0x5f3fb5,_0x537899,_0x5a1f58]['forEach'](_0x4b1a4d=>{const _0x27f640=_0x27d4b4;this[_0x27f640(0x1a6)]['has'](_0x4b1a4d)&&this['_injector'][_0x27f640(0x33f)](_0x4b1a4d);});}['_initRegisterCommand'](){const _0x4b1a93=_0x2d3cd7;[_0xfa0d1,_0x1e55f6,_0x2bc2bb,_0x458d2a,_0x1053de,_0xe3d45c,_0x7033b1,_0x22bc39,_0x23cd38,_0x2f2cf4,_0x2228f4,_0x417b20,_0x363f51,_0x4ea26a,_0x25211b,_0x38408b,_0x3bf3ed,_0x290f89,_0x3b090e,_0x27d387,_0x175887,_0x55c8da,_0x44a6d7,_0x51c8d6,_0x564b11,_0x244b36,_0x530b7f,_0x3b71d1,_0x5e28f5,_0x4b3f05,_0x4bb57b,_0x224e89,_0x9c00fc,_0x17f918,_0x411e65,_0x574367,_0xd67a87,_0x488c22,_0x137307,_0x24d4f9,_0x225a87,_0x514954,_0x59b4c1][_0x4b1a93(0x34b)](_0x7bcbf=>{const _0x2ebeaf=_0x4b1a93;var _0x2701db;(_0x2701db=this[_0x2ebeaf(0x10c)])==null||_0x2701db[_0x2ebeaf(0x176)](_0x7bcbf),this[_0x2ebeaf(0x341)][_0x2ebeaf(0x83)](_0x7bcbf);});}},_0x393db8(_0x159003['UniverSheetsPivotTablePlugin'],_0x2d3cd7(0x35e),_0x3e4154),_0x393db8(_0x159003[_0x2d3cd7(0x268)],_0x2d3cd7(0xd5),_0x2814ce['UniverInstanceType'][_0x2d3cd7(0x30e)]),_0x159003[_0x2d3cd7(0x268)]=_0x16ad13([_0x2814ce[_0x2d3cd7(0x2f0)](_0xde1950[_0x2d3cd7(0x1fb)]),_0x216932(0x1,_0x2814ce[_0x2d3cd7(0x144)](_0x2814ce[_0x2d3cd7(0x167)])),_0x216932(0x2,_0x2814ce['Inject'](_0x2814ce[_0x2d3cd7(0x263)])),_0x216932(0x3,_0x2814ce['IConfigService']),_0x216932(0x4,_0x2814ce['Optional'](_0x558e05[_0x2d3cd7(0x15e)]))],_0x159003[_0x2d3cd7(0x268)]),_0x159003['AddPivotFieldCommand']=_0x2bc2bb,_0x159003['AddPivotFieldMutation']=_0x290f89,_0x159003[_0x2d3cd7(0x2c8)]=_0x1e55f6,_0x159003[_0x2d3cd7(0x1e4)]=_0x25211b,_0x159003['AddPivotTableWithConfigCommand']=_0xfa0d1,_0x159003[_0x2d3cd7(0x1e7)]=_0x1312a9,_0x159003[_0x2d3cd7(0x140)]=_0x3c672e,_0x159003[_0x2d3cd7(0x1dd)]=_0x458d2a,_0x159003[_0x2d3cd7(0x146)]=_0x363f51,_0x159003[_0x2d3cd7(0x2dc)]=_0x6c21f4,_0x159003['PivotDrillDownCommand']=_0x4ea26a,_0x159003['PivotTableOperationEnum']=_0x2229c0,_0x159003[_0x2d3cd7(0x168)]=_0x488c22,_0x159003['PositionType']=_0x45e53c,_0x159003['RemovePivotFieldCommand']=_0x1053de,_0x159003[_0x2d3cd7(0xb7)]=_0x55c8da,_0x159003[_0x2d3cd7(0x2a3)]=_0x3bf3ed,_0x159003[_0x2d3cd7(0x9a)]=_0x44a6d7,_0x159003[_0x2d3cd7(0x1d2)]=_0x59b4c1,_0x159003[_0x2d3cd7(0x352)]=_0x3eacdb,_0x159003[_0x2d3cd7(0x26a)]=_0x3e4154,_0x159003[_0x2d3cd7(0x13d)]=_0x22bc39,_0x159003[_0x2d3cd7(0x1b8)]=_0x51c8d6,_0x159003['SetPivotFieldFormatMutation']=_0x17f918,_0x159003[_0x2d3cd7(0x37d)]=_0x514954,_0x159003[_0x2d3cd7(0x1d5)]=_0x2f2cf4,_0x159003[_0x2d3cd7(0x260)]=_0x175887,_0x159003[_0x2d3cd7(0x170)]=_0x244b36,_0x159003[_0x2d3cd7(0x2ea)]=_0x530b7f,_0x159003[_0x2d3cd7(0x235)]=_0x23cd38,_0x159003[_0x2d3cd7(0x2a9)]=_0x564b11,_0x159003[_0x2d3cd7(0x262)]=_0x9c00fc,_0x159003[_0x2d3cd7(0x18a)]=_0x24d4f9,_0x159003[_0x2d3cd7(0xdb)]=_0x225a87,_0x159003[_0x2d3cd7(0x38f)]=_0x7033b1,_0x159003[_0x2d3cd7(0x2b4)]=_0x4bb57b,_0x159003[_0x2d3cd7(0x132)]=_0x2228f4,_0x159003[_0x2d3cd7(0x232)]=_0xd67a87,_0x159003[_0x2d3cd7(0x1c3)]=_0x417b20,_0x159003[_0x2d3cd7(0x11e)]=_0x574367,_0x159003[_0x2d3cd7(0xdc)]=_0xe3d45c,_0x159003['UpdateValuePositionMutation']=_0x224e89,_0x159003[_0x2d3cd7(0xc3)]=_0x122f37,_0x159003[_0x2d3cd7(0x178)]=_0x404469,_0x159003[_0x2d3cd7(0x2f2)]=_0x473100,_0x159003[_0x2d3cd7(0x177)]=_0x34a613,_0x159003[_0x2d3cd7(0xaa)]=_0x341800,_0x159003['getEmptyPivotRanges']=_0x3bc057,_0x159003['getFieldListByArea']=_0x4bb0a2,_0x159003[_0x2d3cd7(0xf5)]=_0x21902f,_0x159003[_0x2d3cd7(0x1ea)]=_0x41da6f,_0x159003['getPivotInfoByLicense']=_0x104462,_0x159003[_0x2d3cd7(0x148)]=_0xd34b8d,_0x159003[_0x2d3cd7(0x21f)]=_0x5764ab,_0x159003[_0x2d3cd7(0x154)]=_0x5e6293,Object[_0x2d3cd7(0xb6)](_0x159003,Symbol[_0x2d3cd7(0x353)],{'value':_0x2d3cd7(0x34c)});}));
|
|
1
|
+
(function(_0xa4693f,_0x53b2ec){const _0x305273=_0x3024,_0x2d2c11=_0xa4693f();while(!![]){try{const _0x59ec0d=-parseInt(_0x305273(0x401))/0x1+-parseInt(_0x305273(0x43c))/0x2+-parseInt(_0x305273(0x2fa))/0x3*(parseInt(_0x305273(0x31f))/0x4)+-parseInt(_0x305273(0x440))/0x5+-parseInt(_0x305273(0x1ea))/0x6*(-parseInt(_0x305273(0x17c))/0x7)+-parseInt(_0x305273(0x305))/0x8*(parseInt(_0x305273(0x239))/0x9)+-parseInt(_0x305273(0x15c))/0xa*(-parseInt(_0x305273(0x214))/0xb);if(_0x59ec0d===_0x53b2ec)break;else _0x2d2c11['push'](_0x2d2c11['shift']());}catch(_0x17fb07){_0x2d2c11['push'](_0x2d2c11['shift']());}}}(_0x3213,0xa6ac1),function(_0x25994b,_0x12b67c){const _0x194c60=_0x3024;typeof exports=='object'&&typeof module<'u'?_0x12b67c(exports,require('@univerjs-pro/engine-pivot'),require(_0x194c60(0x254)),require(_0x194c60(0x456)),require(_0x194c60(0x36a)),require('rxjs'),require(_0x194c60(0x3b4)),require('@univerjs/sheets-filter'),require(_0x194c60(0x460)),require(_0x194c60(0x444))):typeof define=='function'&&define[_0x194c60(0x3ab)]?define(['exports',_0x194c60(0x18c),_0x194c60(0x254),'@univerjs/engine-formula',_0x194c60(0x36a),_0x194c60(0x441),_0x194c60(0x3b4),_0x194c60(0x291),_0x194c60(0x460),_0x194c60(0x444)],_0x12b67c):(_0x25994b=typeof globalThis<'u'?globalThis:_0x25994b||self,_0x12b67c(_0x25994b['UniverProSheetsPivot']={},_0x25994b[_0x194c60(0x37d)],_0x25994b[_0x194c60(0x2da)],_0x25994b[_0x194c60(0x316)],_0x25994b[_0x194c60(0x3c6)],_0x25994b[_0x194c60(0x441)],_0x25994b[_0x194c60(0x341)],_0x25994b[_0x194c60(0x2e1)],_0x25994b[_0x194c60(0x31a)],_0x25994b[_0x194c60(0x23b)]));}(this,function(_0xca2f35,_0x6ee1ef,_0x373a9f,_0xe8d623,_0x204566,_0x124e24,_0x2291e4,_0xc432c7,_0x12bfbe,_0x1941db){'use strict';const _0x254bc1=_0x3024;var _0x46664=Object[_0x254bc1(0x1fc)],_0x2d67e3=(_0x4e5d4f,_0x3928cb,_0x2f4e3f)=>_0x3928cb in _0x4e5d4f?_0x46664(_0x4e5d4f,_0x3928cb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f4e3f}):_0x4e5d4f[_0x3928cb]=_0x2f4e3f,_0x9a3aa2=(_0x3f17a,_0x1c5f23,_0x5f307c)=>_0x2d67e3(_0x3f17a,typeof _0x1c5f23!='symbol'?_0x1c5f23+'':_0x1c5f23,_0x5f307c);const _0x12a30f=Number['parseInt'](0x67f7ed89),_0x1908eb=0x10,_0x2c6c8b=0x1,_0x5d0173='SHEET_PIVOT_TABLE_PLUGIN',_0x257ea1=0x1,_0x1c8f2e=_0x254bc1(0x33b),_0x32799d=_0x254bc1(0x312),_0x257042=_0x254bc1(0x188),_0x490214=_0x254bc1(0x428),_0xb567e2='#f4f4f5',_0x4f736c=_0x254bc1(0x178),_0x391588=_0x254bc1(0x2ff),_0x583960=_0x254bc1(0x2f3),_0x3e8ac0=_0x254bc1(0x1a4),_0x5bc838=_0x254bc1(0x2ff),_0x5cca9e='#FFFFFF',_0x1b395=_0x254bc1(0x2d7),_0x4be2d2=0xe,_0x15a831=0x6;var _0x3cbd6=(_0x2ce86a=>(_0x2ce86a['Existing']=_0x254bc1(0x17d),_0x2ce86a[_0x254bc1(0x194)]='new',_0x2ce86a))(_0x3cbd6||{});const _0x145720={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x23f5d3=0x1e,_0x19cad1={'b':{'s':0x1,'cl':{'rgb':_0x257042}},'l':{'s':0x1,'cl':{'rgb':_0x257042}},'r':{'s':0x1,'cl':{'rgb':_0x257042}},'t':{'s':0x1,'cl':{'rgb':_0x257042}}},_0x5da0c1={'bg':{'rgb':_0x1c8f2e},'ht':0x2,'vt':0x2,'tb':0x1},_0xb63add={'bg':{'rgb':_0x32799d},'ht':0x2,'vt':0x2,'tb':0x1},_0x2a53fa={'rowStyle':{'bg':{'rgb':_0x1b395},'bd':_0x19cad1,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x5bc838},'bd':null,'cl':{'rgb':_0x5cca9e},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x19cad1,'bg':{'rgb':_0x3e8ac0},'vt':0x2},'cornerStyle':{'bd':_0x19cad1,'bg':{'rgb':_0x4f736c},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x19cad1,'bg':{'rgb':_0x490214},'vt':0x2},'leafStyle':{'bd':_0x19cad1,'bg':{'rgb':_0xb567e2},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x391588},'cl':{'rgb':_0x583960},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x19cad1,'vt':0x2}};function _0x5c7b93(_0x1c7702,_0xf98d59,_0x123e50){const _0x17035a=_0x254bc1,_0xb715a2=_0x1c7702[_0x17035a(0x404)](_0x373a9f[_0x17035a(0x2f8)]),_0x24ea3a=_0x123e50[_0x17035a(0x331)]('_');switch(_0xf98d59){case _0x6ee1ef['PivotDateGroupFieldDateTypeEnum'][_0x17035a(0x1b5)]:return _0xb715a2['t'](_0x17035a(0x1e7),..._0x24ea3a);case _0x6ee1ef[_0x17035a(0x3f5)][_0x17035a(0x2ad)]:return _0xb715a2['t'](_0x17035a(0x34d),..._0x24ea3a);case _0x6ee1ef['PivotDateGroupFieldDateTypeEnum'][_0x17035a(0x21a)]:return _0xb715a2['t'](_0x17035a(0x28a),..._0x24ea3a);case _0x6ee1ef[_0x17035a(0x3f5)][_0x17035a(0x276)]:return _0xb715a2['t'](_0x17035a(0x2fc),..._0x24ea3a);case _0x6ee1ef[_0x17035a(0x3f5)][_0x17035a(0x1a0)]:return _0xb715a2['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x24ea3a);case _0x6ee1ef[_0x17035a(0x3f5)][_0x17035a(0x3e6)]:return _0xb715a2['t'](_0x17035a(0x33d),..._0x24ea3a);case _0x6ee1ef[_0x17035a(0x3f5)][_0x17035a(0x411)]:return _0xb715a2['t'](_0x17035a(0x344),..._0x24ea3a);case _0x6ee1ef[_0x17035a(0x3f5)][_0x17035a(0x1fb)]:return _0xb715a2['t'](_0x17035a(0x2b3),..._0x24ea3a);case _0x6ee1ef[_0x17035a(0x3f5)][_0x17035a(0x3a4)]:return _0xb715a2['t'](_0x17035a(0x393),..._0x24ea3a);case _0x6ee1ef[_0x17035a(0x3f5)][_0x17035a(0x271)]:return _0xb715a2['t'](_0x17035a(0x372),..._0x24ea3a);}return'';}const _0x229ddb=(_0x5caa49,_0x56d864,_0x3796df,_0x2d1495)=>{const _0x59dba8=_0x254bc1;let _0x21d932;const _0x5dc737=_0x5caa49['get'](_0x373a9f['IUniverInstanceService'])[_0x59dba8(0x31e)](_0x373a9f[_0x59dba8(0x15d)][_0x59dba8(0x3bd)]);if(!_0x5dc737)return null;const _0x5e6af7=_0x5dc737[_0x59dba8(0x445)]();let _0x10226a;if(_0x3796df&&(_0x10226a=_0x5e6af7[_0x59dba8(0x212)](_0x3796df)),_0x56d864!=null&&_0x56d864['v']||(_0x56d864==null?void 0x0:_0x56d864['v'])===0x0){_0x21d932||(_0x21d932={});const _0x51671b=_0x9dbefc(_0x56d864['v']);typeof _0x51671b==_0x59dba8(0x3a5)?_0x21d932['t']=_0x373a9f['CellValueType'][_0x59dba8(0x268)]:typeof _0x51671b==_0x59dba8(0x16e)&&(_0x21d932['t']=_0x373a9f[_0x59dba8(0x400)][_0x59dba8(0x42c)]),_0x21d932['v']=_0x51671b;}if((_0x56d864!=null&&_0x56d864['i']||(_0x56d864==null?void 0x0:_0x56d864['i'])===0x0)&&(_0x21d932||(_0x21d932={}),_0x21d932['fi']=_0x56d864['i']),_0x56d864!=null&&_0x56d864['s']&&(_0x21d932||(_0x21d932={}),_0x21d932[_0x59dba8(0x3bc)]=_0x56d864['s']),_0x3796df&&(_0x21d932||(_0x21d932={}),_0x21d932['s']=_0x10226a),_0x2d1495&&_0x21d932!=null&&_0x21d932['v']&&_0x21d932[_0x59dba8(0x3bc)]!==_0x6ee1ef['PivotCellStyleTypeEnum'][_0x59dba8(0x451)]&&_0x21d932[_0x59dba8(0x3bc)]!==_0x6ee1ef[_0x59dba8(0x235)]['Subtotal']){const _0x3f9633=String(_0x21d932['v']),{dateType:_0x52970f}=_0x2d1495;_0x21d932['v']=_0x5c7b93(_0x5caa49,_0x52970f,_0x3f9633),_0x21d932['t']=_0x373a9f[_0x59dba8(0x400)]['STRING'];}return _0x21d932;},_0x117d2e=(_0x186838,_0x1af8a4,_0x121d12,_0x42ff3c)=>{const _0x4887bd=_0x254bc1;var _0x23b2bf,_0x238b0e,_0x34c72c,_0x4a1cfb,_0xe9ecd5,_0xb44d58,_0x414f5f,_0x2c996e,_0x23f515,_0x10928c,_0x55046b,_0x47055a,_0x570f68,_0x1899e8;const _0x5006f8=_0x121d12[_0x4887bd(0x41a)],{cornerView:_0x1f7c3d,rowView:_0x40154e,colView:_0x213d50,dataView:_0x50cb9b,pageView:_0x462a42,formatMap:_0x246134,groupInfo:_0x5b6e99}=_0x1af8a4,{row:_0x43357a,col:_0x33e54a}=_0x5006f8,_0x1b68cc=new _0x373a9f[(_0x4887bd(0x2db))](),_0x292641={},_0x3ab7ee={},_0x558256={},_0x43e9cb={},_0x104711={};let _0x462860=_0x43357a,_0x1d8bab=_0x33e54a;Object[_0x4887bd(0x3b6)](_0x462a42['data'])[_0x4887bd(0x2b2)](_0x2b5118=>{const _0x4e8686=_0x4887bd;Object[_0x4e8686(0x3b6)](_0x462a42[_0x4e8686(0x27f)][Number(_0x2b5118)])['forEach'](_0x263dfe=>{const _0xa5f92e={..._0x462a42['data'][Number(_0x2b5118)][Number(_0x263dfe)]};_0x1b68cc['setValue'](Number(_0x2b5118)+_0x462860,Number(_0x263dfe)+_0x1d8bab,_0x229ddb(_0x186838,_0xa5f92e,_0x2a53fa['pageStyle']));});});const _0x21841c=Object['keys'](_0x462a42[_0x4887bd(0x27f)])[_0x4887bd(0x3a6)];_0x462860+=_0x21841c+(_0x21841c?_0x257ea1:0x0);const _0x18b62f=_0x1f7c3d[_0x4887bd(0x314)](),_0x1b4702=_0x1f7c3d['getColCount']();for(let _0x5f5434=0x0;_0x5f5434<_0x18b62f;_0x5f5434++)for(let _0x14b00f=0x0;_0x14b00f<_0x1b4702;_0x14b00f++){const _0x19c773={...(_0x238b0e=(_0x23b2bf=_0x1f7c3d[_0x4887bd(0x27f)])==null?void 0x0:_0x23b2bf[_0x5f5434])==null?void 0x0:_0x238b0e[_0x14b00f]};_0x19c773&&((_0x34c72c=_0x40154e['headerMap'][_0x14b00f])!=null&&_0x34c72c[_0x4887bd(0x211)])&&_0x14b00f===_0x1b4702-0x1&&_0x5f5434===_0x18b62f-0x1&&(_0x19c773['v']=''+_0x42ff3c[_0x4887bd(0x299)]),_0x1b68cc[_0x4887bd(0x212)](_0x5f5434+_0x462860,_0x14b00f+_0x1d8bab,_0x229ddb(_0x186838,_0x19c773,_0x2a53fa[_0x4887bd(0x379)]));}for(let _0x441387=0x0;_0x441387<_0x1f7c3d[_0x4887bd(0x1f6)]['length'];_0x441387++)_0x1f7c3d[_0x4887bd(0x1f6)][_0x441387]&&(_0x558256[''+(_0x441387+_0x1d8bab)]=_0x1f7c3d['info'][_0x441387]);_0x1d8bab+=_0x1b4702;const _0x357fac=_0x213d50[_0x4887bd(0x442)],_0x4c04a0=_0x213d50['getLastRow']()>=0x0?_0x213d50[_0x4887bd(0x298)]()+0x1:0x0,_0x1e1036=_0x213d50[_0x4887bd(0x1c7)]()>=0x0?_0x213d50[_0x4887bd(0x1c7)]()+0x1:0x0;for(let _0xf92425=0x0;_0xf92425<_0x1e1036;_0xf92425++){for(let _0x1d9cc7=0x0;_0x1d9cc7<_0x4c04a0;_0x1d9cc7++){const _0x91f0d2={...(_0xe9ecd5=(_0x4a1cfb=_0x213d50[_0x4887bd(0x27f)])==null?void 0x0:_0x4a1cfb[_0x1d9cc7])==null?void 0x0:_0xe9ecd5[_0xf92425]},_0x33d0b2=(_0xb44d58=_0x357fac[_0x1d9cc7])==null?void 0x0:_0xb44d58[_0x4887bd(0x348)],_0x3805a5=_0x246134[_0x33d0b2],_0x2b0d6e=_0x5b6e99[_0x33d0b2];_0x91f0d2&&(_0x91f0d2['v']=_0x5f0428(_0x91f0d2,_0x1d9cc7===0x0&&((_0x414f5f=_0x213d50['getHeaderMapItem'](_0xf92425+0x1))==null?void 0x0:_0x414f5f['isValue']),_0x3805a5,_0x42ff3c));let _0x2ea15e;_0x3805a5?_0x2ea15e={..._0x2a53fa[_0x4887bd(0x413)],'n':{'pattern':_0x3805a5}}:_0x2ea15e={..._0x2a53fa['colStyle']},_0x1b68cc[_0x4887bd(0x212)](_0x1d9cc7+_0x462860,_0xf92425+_0x1d8bab,_0x229ddb(_0x186838,_0x91f0d2,_0x2ea15e,_0x2b0d6e));}_0x213d50[_0x4887bd(0x1f6)][_0xf92425]&&(_0x3ab7ee[''+(_0xf92425+_0x1d8bab)]=_0x213d50[_0x4887bd(0x1f6)][_0xf92425]),_0x213d50[_0x4887bd(0x442)][_0xf92425+0x1]&&(_0x104711[''+(_0xf92425+_0x462860+0x1)]=_0x213d50[_0x4887bd(0x442)][_0xf92425+0x1]);}_0x462860+=_0x18b62f;const _0x46b919=_0x40154e[_0x4887bd(0x442)],_0x1aa619=_0x40154e['getLastRow']()>=0x0?_0x40154e[_0x4887bd(0x298)]()+0x1:0x0,_0xb4dd77=_0x40154e[_0x4887bd(0x1c7)]()>=0x0?_0x40154e[_0x4887bd(0x1c7)]()+0x1:0x0;for(let _0x40eea0=0x0;_0x40eea0<_0x1aa619;_0x40eea0++){for(let _0x443d1e=0x0;_0x443d1e<_0xb4dd77;_0x443d1e++){const _0xb7145c={...(_0x23f515=(_0x2c996e=_0x40154e[_0x4887bd(0x27f)])==null?void 0x0:_0x2c996e[_0x40eea0])==null?void 0x0:_0x23f515[_0x443d1e]},_0x26a7a8=(_0x10928c=_0x46b919[_0x443d1e])==null?void 0x0:_0x10928c[_0x4887bd(0x348)],_0x7a73c1=_0x246134[_0x26a7a8],_0x20e8c2=_0x5b6e99[_0x26a7a8];_0xb7145c&&(_0xb7145c['v']=_0x5f0428(_0xb7145c,!0x1,_0x7a73c1,_0x42ff3c));let _0x421d92;_0x40154e[_0x4887bd(0x1f6)][_0x40eea0][_0x4887bd(0x259)]===_0x40154e['getColCount']()?_0x421d92=_0x2a53fa['leafStyle']:_0x40154e[_0x4887bd(0x1f6)][_0x40eea0]['isBottomTotal']?_0x421d92=_0x40154e[_0x4887bd(0x1f6)][_0x40eea0][_0x4887bd(0x259)]===0x0?_0x2a53fa[_0x4887bd(0x245)]:_0x2a53fa['subTotalStyle']:_0x421d92=_0x2a53fa[_0x4887bd(0x1ae)],_0x7a73c1&&(_0x421d92={..._0x421d92,'n':{'pattern':_0x7a73c1}}),_0x1b68cc[_0x4887bd(0x212)](_0x40eea0+_0x462860,_0x443d1e+_0x33e54a,_0x229ddb(_0x186838,_0xb7145c,_0x421d92,_0x20e8c2));}_0x40154e['info'][_0x40eea0]&&(_0x292641[''+(_0x40eea0+_0x462860)]=_0x40154e[_0x4887bd(0x1f6)][_0x40eea0]),_0x40154e[_0x4887bd(0x442)][_0x40eea0]&&(_0x43e9cb[''+(_0x40eea0+_0x33e54a)]=_0x40154e[_0x4887bd(0x442)][_0x40eea0]);}const _0x18dfef=_0x50cb9b[_0x4887bd(0x314)](),_0x3454be=_0x50cb9b['getColCount']();for(let _0x51ce8b=0x0;_0x51ce8b<_0x18dfef;_0x51ce8b++)for(let _0x17a55b=0x0;_0x17a55b<_0x3454be;_0x17a55b++){const _0x584064={...(_0x47055a=(_0x55046b=_0x50cb9b[_0x4887bd(0x27f)])==null?void 0x0:_0x55046b[_0x51ce8b])==null?void 0x0:_0x47055a[_0x17a55b]};let _0x5403c6;_0x40154e[_0x4887bd(0x1f6)][_0x51ce8b]['isBottomTotal']?_0x5403c6=_0x40154e[_0x4887bd(0x1f6)][_0x51ce8b][_0x4887bd(0x259)]===0x0?_0x2a53fa[_0x4887bd(0x245)]:_0x2a53fa[_0x4887bd(0x354)]:_0x5403c6=_0x2a53fa[_0x4887bd(0x161)];const _0x268808=_0x40154e[_0x4887bd(0x1f6)][_0x51ce8b][_0x4887bd(0x2aa)],_0x1cc308=_0x213d50[_0x4887bd(0x1f6)][_0x17a55b][_0x4887bd(0x2aa)],_0x53ebcd=Math['max'](_0x268808,_0x1cc308),_0x19ba53=_0x121d12[_0x4887bd(0x240)]['valueFields'][_0x4887bd(0x389)]();let _0x1f2d3a='';_0x53ebcd<0x0?_0x1f2d3a=(_0x570f68=_0x19ba53[0x0])!=null?_0x570f68:'':_0x1f2d3a=(_0x1899e8=_0x19ba53[_0x53ebcd])!=null?_0x1899e8:'';const _0x22dd66=_0x246134[_0x1f2d3a];_0x22dd66&&(_0x5403c6={..._0x5403c6,'n':{'pattern':_0x22dd66}}),_0x1b68cc[_0x4887bd(0x212)](_0x51ce8b+_0x462860,_0x17a55b+_0x1d8bab,_0x229ddb(_0x186838,_0x584064,_0x5403c6));}return{'valueMatrix':_0x1b68cc,'rowInfo':_0x292641,'colInfo':_0x3ab7ee,'cornerInfo':_0x558256,'rowHeaderMap':_0x43e9cb,'colHeaderMap':_0x104711};};function _0x5f0428(_0x5b81f4,_0x5adf9f,_0x1a0e03,_0x1f6566){const _0x33e08a=_0x254bc1;let _0x4186b0=_0x5b81f4['v'];_0x5adf9f&&(_0x4186b0=''+_0x1f6566[_0x33e08a(0x299)]);const _0x460ccc=_0x5b81f4['t']&&(_0x5b81f4['t']&_0x6ee1ef[_0x33e08a(0x25e)]['blank'])>0x0;if(_0x460ccc&&(_0x4186b0=''+_0x1f6566[_0x33e08a(0x432)]),_0x5b81f4['s']===_0x6ee1ef['PivotCellStyleTypeEnum']['Subtotal']){let _0x2fb96e=_0x4186b0,_0x1dceac='';_0x6ee1ef[_0x33e08a(0x431)](_0x4186b0)&&(_0x2fb96e=_0x4186b0[_0x33e08a(0x3d5)],_0x1dceac=_0x4186b0[_0x33e08a(0x394)]);const _0x492a48=_0x1a0e03&&!_0x460ccc?_0x373a9f['numfmt'][_0x33e08a(0x286)](_0x1a0e03,Number(_0x2fb96e)):_0x2fb96e;_0x1dceac?_0x4186b0=_0x492a48+'\x20'+_0x1dceac:_0x4186b0=_0x492a48+'\x20'+_0x1f6566['sheets-pivot.subTotal'];}else _0x5b81f4['s']===_0x6ee1ef['PivotCellStyleTypeEnum']['GrandTotal']&&(_0x4186b0=_0x4186b0+'\x20'+_0x1f6566['sheets-pivot.grandTotal']);return _0x4186b0;}function _0x9dbefc(_0x5ba410){const _0x1a2397=_0x254bc1;if(_0x6ee1ef[_0x1a2397(0x213)](_0x5ba410)){const {errorType:_0x3a8037}=_0x5ba410;switch(_0x3a8037){case _0x6ee1ef[_0x1a2397(0x1f8)][_0x1a2397(0x387)]:return _0xe8d623[_0x1a2397(0x405)][_0x1a2397(0x343)];case _0x6ee1ef[_0x1a2397(0x1f8)]['NotNumber']:return _0xe8d623['ErrorType'][_0x1a2397(0x407)];case _0x6ee1ef[_0x1a2397(0x1f8)][_0x1a2397(0x41b)]:return _0xe8d623[_0x1a2397(0x405)][_0x1a2397(0x33e)];case _0x6ee1ef[_0x1a2397(0x1f8)][_0x1a2397(0x261)]:return _0xe8d623[_0x1a2397(0x405)][_0x1a2397(0x33e)];case _0x6ee1ef[_0x1a2397(0x1f8)][_0x1a2397(0x238)]:return _0xe8d623[_0x1a2397(0x405)][_0x1a2397(0x1d4)];}}return _0x5ba410;}function _0x483390(_0x18b7f2,_0xcf060e,_0x26bbfb=!0x1,_0x9695ae=!0x1){const _0x1ef7f5=_0x254bc1,{data:_0x478f45}=_0xcf060e,_0x590f88=_0xcf060e['getRowCount'](),_0x594eaa=_0xcf060e[_0x1ef7f5(0x1a3)]();if(_0x590f88<=0x0||_0x594eaa<=0x0)return[];const _0x4e67d6=_0xcf060e[_0x1ef7f5(0x1c7)](),_0x568804=_0xcf060e[_0x1ef7f5(0x298)](),_0x433f7b=_0x9695ae?_0x568804>=0x0?_0x568804+0x1:0x0:_0x590f88,_0x3ef8d5=_0x9695ae?_0x4e67d6>=0x0?_0x4e67d6+0x1:0x0:_0x594eaa,{row:_0x427497,col:_0x429f3f}=_0x18b7f2,_0xe8e1b7=_0x427497,_0x1bd967=_0x429f3f;if(_0x26bbfb){const _0x517426=[];for(const [_0x2d0c3c,_0x1f47fa]of Object[_0x1ef7f5(0x42a)](_0x478f45))for(const [_0x3f6276,_0x470b62]of Object[_0x1ef7f5(0x42a)](_0x1f47fa))_0x517426['push'](_0x373a9f[_0x1ef7f5(0x16d)](_0xe8e1b7+Number(_0x2d0c3c),_0x1bd967+Number(_0x3f6276)));return _0x517426;}else{const _0x2e298b=_0x9695ae?_0x433f7b>0x0?0x1:0x0:0x1,_0x1e6fa6=_0x9695ae?_0x3ef8d5>0x0?0x1:0x0:0x1,_0x58607c=_0x427497+_0x433f7b-_0x2e298b,_0x5d8df8=_0x429f3f+_0x3ef8d5-_0x1e6fa6;return[{'startRow':_0xe8e1b7,'startColumn':_0x1bd967,'endRow':_0x58607c,'endColumn':_0x5d8df8}];}}const _0x43c827=_0x254bc1(0x1f2),_0x102c3b='SHEET_PIVOT_EXCLUSIVE_ID';var _0x126194=(_0x34fb3e=>(_0x34fb3e['Filter']=_0x254bc1(0x418),_0x34fb3e[_0x254bc1(0x3e8)]=_0x254bc1(0x1ec),_0x34fb3e[_0x254bc1(0x246)]='addPivotField',_0x34fb3e[_0x254bc1(0x185)]='AddPivotTableWithConfig',_0x34fb3e[_0x254bc1(0x1c6)]=_0x254bc1(0x3c8),_0x34fb3e[_0x254bc1(0x19e)]='movePivotField',_0x34fb3e['RemovePivotField']=_0x254bc1(0x349),_0x34fb3e['SetPivotCollapse']=_0x254bc1(0x267),_0x34fb3e[_0x254bc1(0x1b2)]=_0x254bc1(0x301),_0x34fb3e['SetPivotSort']=_0x254bc1(0x44f),_0x34fb3e[_0x254bc1(0x210)]=_0x254bc1(0x368),_0x34fb3e['UpdatePivotSource']='updatePivotSource',_0x34fb3e[_0x254bc1(0x1d6)]='updateValuePosition',_0x34fb3e[_0x254bc1(0x36f)]=_0x254bc1(0x337),_0x34fb3e[_0x254bc1(0x1e1)]=_0x254bc1(0x1d1),_0x34fb3e[_0x254bc1(0x397)]=_0x254bc1(0x3f0),_0x34fb3e[_0x254bc1(0x2f2)]='resetPivotTable',_0x34fb3e))(_0x126194||{});const _0x16da38={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x254bc1(0x1df),'sheets-pivot.grandTotalText':_0x254bc1(0x1b1),'sheets-pivot.valueText':_0x254bc1(0x206),'sheets-pivot.averageName':_0x254bc1(0x43d),'sheets-pivot.countName':_0x254bc1(0x282),'sheets-pivot.countNumsName':_0x254bc1(0x282),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x254bc1(0x2f7),'sheets-pivot.productName':_0x254bc1(0x33f),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':_0x254bc1(0x323),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':_0x254bc1(0x35e),'sheets-pivot.grandTotal':_0x254bc1(0x1b1),'sheets-pivot.value':_0x254bc1(0x394),'sheets-pivot.blank':_0x254bc1(0x3dd),'sheets-pivot.emptyPivot.filter':_0x254bc1(0x172),'sheets-pivot.emptyPivot.row':_0x254bc1(0x19c),'sheets-pivot.emptyPivot.column':_0x254bc1(0x3b9),'sheets-pivot.emptyPivot.values':_0x254bc1(0x256)},_0x57dbe5={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x52fd93=_0x373a9f['createAsyncInterceptorKey']('pivotPerformCheck'),_0x542c9a=_0x373a9f[_0x254bc1(0x1aa)](_0x254bc1(0x2e4));var _0x2668c5=(_0x5e0e00=>(_0x5e0e00[_0x254bc1(0x2fd)]='add',_0x5e0e00['delete']='delete',_0x5e0e00['update']=_0x254bc1(0x230),_0x5e0e00))(_0x2668c5||{}),_0x17805c=(_0x8132cf=>(_0x8132cf[_0x254bc1(0x467)]=_0x254bc1(0x2fd),_0x8132cf['Set']=_0x254bc1(0x377),_0x8132cf[_0x254bc1(0x288)]=_0x254bc1(0x1a1),_0x8132cf))(_0x17805c||{});const _0x524a2c={0x0:'G',0x1:'2',0x2:'0',0x3:'V',0x4:'i',0x5:'K',0x6:'v',0x7:'F',0x8:'T',0x9:'6','d':'1','m':'3','F':'4','A':'5','T':'7','l':'8','w':'9','Z':'a','f':'b','a':'c','s':'d','S':'e','b':'f','U':'g','P':'h','j':'j','K':'k','E':'l','e':'m','J':'n','g':'o','h':'p','R':'q','B':'r','c':'s','y':'t','v':'u','Y':'w','q':'x','z':'y','W':'z','k':'A','o':'B','p':'C','N':'D','n':'E','x':'H','Q':'I','G':'J','r':'L','X':'M','t':'N','H':'O','I':'P','i':'Q','L':'R','u':'S','O':'U','C':'W','D':'X','V':'Y','M':'Z'},_0x3dfee5=_0x254bc1(0x244),_0x5d9248={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x21b)],'id':_0x254bc1(0x38a),'handler':()=>!0x0},_0x4d19cb={'type':_0x373a9f[_0x254bc1(0x163)]['MUTATION'],'id':_0x254bc1(0x1ff),'handler':()=>!0x0},_0x256c66={'type':_0x373a9f['CommandType'][_0x254bc1(0x21b)],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x2d5dfb={'type':_0x373a9f['CommandType']['MUTATION'],'id':_0x254bc1(0x1f9),'handler':()=>!0x0},_0x2c9b7e={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x21b)],'id':_0x254bc1(0x25c),'handler':()=>!0x0},_0x87ae96=_0xc92854=>{const _0x3aec30=_0x254bc1;var _0x565105;return((_0x565105=_0xc92854[_0x3aec30(0x433)])==null?void 0x0:_0x565105[_0x3aec30(0x262)][_0x3aec30(0x31d)](/\r\n$/,''))||'';};class _0x586584 extends _0x6ee1ef[_0x254bc1(0x1a5)]{constructor(_0x262479,_0x5ce53e){const _0x1d6b2f=_0x254bc1;super(),_0x9a3aa2(this,_0x1d6b2f(0x223),{}),_0x9a3aa2(this,_0x1d6b2f(0x182)),_0x9a3aa2(this,_0x1d6b2f(0x2d9)),(this[_0x1d6b2f(0x182)]=_0x5ce53e,this['_host']=_0x262479);}[_0x254bc1(0x2be)](){const _0x5432f3=_0x254bc1;for(const _0x156e97 in this['dataFields']){const _0x19099d=this[_0x5432f3(0x2a3)][_0x156e97],_0x48ac30=_0x19099d[_0x5432f3(0x2ab)]();this[_0x5432f3(0x223)][_0x48ac30]=_0x19099d[_0x5432f3(0x443)]();}}[_0x254bc1(0x468)](){const _0x59b101=_0x254bc1,_0x31c4e2=this[_0x59b101(0x2d9)];return _0x48150a[_0x59b101(0x1f7)](_0x31c4e2);}['deleteDataField'](_0x539b75){const _0x41eb04=_0x254bc1,_0x351e92=this['dataFields'][_0x539b75]['rangeKey'];delete this[_0x41eb04(0x2a3)][_0x539b75],delete this[_0x41eb04(0x223)][_0x351e92];}[_0x254bc1(0x3c2)](_0x59b964){const _0x436cf7=_0x254bc1;this['dataFields'][_0x59b964[_0x436cf7(0x443)]()]=_0x59b964;}[_0x254bc1(0x3a2)](_0xa1b044){const _0x4519bf=_0x254bc1;var _0x2abe99,_0x2bd987;const _0x549e92=this[_0x4519bf(0x2d9)][_0x4519bf(0x317)](_0xa1b044);if(_0x549e92){const {unitId:_0xa26b19,subUnitId:_0x197861}=_0x549e92,_0x3f5d55=(_0x2abe99=this[_0x4519bf(0x2d9)][_0x4519bf(0x329)](_0xa26b19,_0x197861,_0xa1b044))==null?void 0x0:_0x2abe99[_0x4519bf(0x3d7)];this[_0x4519bf(0x2d9)]['broadcastCollectionChange']({'token':_0xa1b044,'type':_0x2668c5[_0x4519bf(0x1a1)],'dataRangeInfo':_0x3f5d55});}(_0x2bd987=this[_0x4519bf(0x3dc)](_0xa1b044))==null||_0x2bd987[_0x4519bf(0x35d)](),delete this[_0x4519bf(0x20d)][_0xa1b044];}[_0x254bc1(0x2ab)](_0xb6f327,_0x1113a2){const _0x3791d8=_0x254bc1,{sheetName:_0x1c4761,unitId:_0x4d7434,range:_0x2cab49}=_0xb6f327,{startRow:_0x2e9761,endRow:_0x1eefcc}=_0x2cab49;return _0xe8d623[_0x3791d8(0x25f)](_0x4d7434,_0x1c4761,{'startRow':_0x2e9761,'endRow':_0x1eefcc,'startColumn':_0x1113a2,'endColumn':_0x1113a2});}[_0x254bc1(0x449)](_0x211017){const _0x52f885=_0x254bc1;return this['dataFields'][this[_0x52f885(0x223)][_0x211017]];}['setRangeKeyMap'](_0x4899d9,_0x71013f){const _0x1a3f97=_0x254bc1;this[_0x1a3f97(0x223)][_0x4899d9]=_0x71013f;}[_0x254bc1(0x190)](_0x5968df,_0x44aae9){const _0x2d76d2=_0x254bc1;this[_0x2d76d2(0x223)][_0x44aae9]=this[_0x2d76d2(0x223)][_0x5968df],delete this[_0x2d76d2(0x223)][_0x5968df];}[_0x254bc1(0x342)](_0xb5c9fa,_0x99f706,_0x21b185,_0x3bdeb6){const _0x44b3ca=_0x254bc1,_0x21e988=new _0x6ee1ef[(_0x44b3ca(0x3d9))](this);_0x21e988[_0x44b3ca(0x184)](_0x99f706);const _0x8de3f2=[];let _0x17d673=0x0;for(const _0x26e8d5 of _0x21e988[_0x44b3ca(0x1dc)]){const _0x2018a6=this['getRangeKey'](_0x21b185,_0x17d673),_0x27435c=this[_0x44b3ca(0x2a3)][_0x26e8d5];_0x27435c&&(_0x27435c['rangeKey']=_0x2018a6,this['setRangeKeyMap'](_0x2018a6,_0x26e8d5),_0x8de3f2[_0x44b3ca(0x23c)]({'index':_0x17d673,'dataField':_0x27435c})),_0x17d673++;}return this[_0x44b3ca(0x2ae)](_0xb5c9fa,_0x21e988,_0x21b185,_0x3bdeb6),{'collection':_0x21e988,'updateDataFieldList':_0x8de3f2};}['getRangeStartEndInfo'](_0x31a60c,_0x19db8d){const _0x239d7d=_0x254bc1;return _0x31a60c[_0x239d7d(0x15a)]===_0x373a9f['RANGE_TYPE']['COLUMN']?{'startRow':0x0,'startColumn':_0x31a60c[_0x239d7d(0x22f)],'endRow':_0x19db8d[_0x239d7d(0x314)]()-0x1,'endColumn':_0x31a60c[_0x239d7d(0x3db)]}:{'startRow':_0x31a60c[_0x239d7d(0x2a5)],'startColumn':_0x31a60c[_0x239d7d(0x22f)],'endRow':_0x31a60c[_0x239d7d(0x42b)],'endColumn':_0x31a60c[_0x239d7d(0x3db)]};}[_0x254bc1(0x266)](_0x5d6a2e){const _0x163f7=_0x254bc1,{sheetName:_0x1a6514,range:_0xe0885f}=_0x5d6a2e,_0x3082e2=this[_0x163f7(0x182)][_0x163f7(0x31e)](_0x373a9f[_0x163f7(0x15d)][_0x163f7(0x3bd)]),_0x2c50fb=_0x3082e2[_0x163f7(0x40c)](_0x1a6514),_0x58a64b=_0x2c50fb[_0x163f7(0x396)](),{startColumn:_0x37c330,startRow:_0x2925db,endColumn:_0xc6c35f}=this[_0x163f7(0x319)](_0xe0885f,_0x2c50fb),_0x540f7f=_0x3082e2[_0x163f7(0x445)](),_0x124951=new _0x6ee1ef[(_0x163f7(0x3d9))](this);_0x124951[_0x163f7(0x18f)](_0x5d6a2e);const _0x3c6893=[],_0x40ff23={};for(let _0x265169=_0x37c330;_0x265169<=_0xc6c35f;_0x265169++){const _0x5e2d33=_0x58a64b[_0x163f7(0x3fd)](_0x2925db,_0x265169),_0x3ecf31=this['getRangeKey'](_0x5d6a2e,_0x265169),_0x510dd7=this['getDataFieldByRangeKey'](_0x3ecf31);if(_0x510dd7)_0x124951[_0x163f7(0x20c)](_0x510dd7[_0x163f7(0x443)](),_0x510dd7['getName']());else{const _0x1f8d71=this[_0x163f7(0x186)]();let _0x23a1f8=this['adjustSheetCellData'](_0x5e2d33,_0x540f7f,_0x40ff23);_0x6ee1ef[_0x163f7(0x3fc)](_0x23a1f8)&&(_0x23a1f8=_0x373a9f['numfmt'][_0x163f7(0x286)](_0x23a1f8['f'],Number(_0x23a1f8['v'])));const _0x622865=this[_0x163f7(0x3e3)](_0x23a1f8,_0x265169),_0x1344e5=new _0x6ee1ef[(_0x163f7(0x45a))](_0x1f8d71,_0x622865,_0x6ee1ef[_0x163f7(0x32b)](0x3));_0x1344e5['rangeKey']=_0x3ecf31,this[_0x163f7(0x2a3)][_0x1f8d71]=_0x1344e5,_0x124951[_0x163f7(0x20c)](_0x1f8d71,_0x622865),_0x3c6893[_0x163f7(0x23c)]({'index':_0x265169,'dataField':_0x1344e5});}}return{'updateDataFieldList':_0x3c6893,'collection':_0x124951};}[_0x254bc1(0x189)](_0x468ec7){const _0x1cc5a9=_0x254bc1;return this['_host']['getTextInfo']()[_0x1cc5a9(0x209)]+'\x20'+_0x373a9f[_0x1cc5a9(0x459)](_0x468ec7);}[_0x254bc1(0x3e3)](_0x4b60db,_0x4b4a7a){const _0x55cac9=_0x254bc1;return _0x4b60db==null||_0x4b60db===''?this[_0x55cac9(0x189)](_0x4b4a7a):String(_0x4b60db);}['getCollection'](_0x14458d){const _0x1cff8c=_0x254bc1;return this[_0x1cff8c(0x20d)][_0x14458d];}[_0x254bc1(0x2ae)](_0x3c1304,_0x353b99,_0x1da5c4,_0x2d84cc){const _0x248bf3=_0x254bc1;this[_0x248bf3(0x20d)][_0x3c1304]=_0x353b99,_0x353b99[_0x248bf3(0x18f)](_0x1da5c4),this[_0x248bf3(0x2d9)][_0x248bf3(0x2e2)]({'token':_0x3c1304,'type':_0x2668c5[_0x248bf3(0x2fd)],'dataRangeInfo':_0x1da5c4,'targetCellInfo':_0x2d84cc});}[_0x254bc1(0x231)](_0x580515,_0x21f956){const _0xa7b4d7=_0x254bc1,_0x49c6c3=this[_0xa7b4d7(0x3dc)](_0x580515),_0x33c4ed=_0x49c6c3['getFieldIds']();let _0xbe2847=0x0;for(const _0x55ec8f of _0x33c4ed){const _0x3cceb5=_0x49c6c3[_0xa7b4d7(0x365)](_0x55ec8f),_0x50c3cd=this[_0xa7b4d7(0x2ab)](_0x21f956,_0xbe2847);this[_0xa7b4d7(0x190)](_0x3cceb5[_0xa7b4d7(0x16b)],_0x50c3cd),_0xbe2847++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x254bc1(0x419)](_0x46f3ba,_0x5cbaf8){const _0x2eee2a=_0x254bc1;if(this['getCollection'](_0x46f3ba)){const _0x77fe56=this[_0x2eee2a(0x30a)](_0x5cbaf8),_0x4545b2=[];for(const _0x3ed616 of _0x77fe56)this[_0x2eee2a(0x223)][_0x3ed616]!==void 0x0&&_0x4545b2['push'](this[_0x2eee2a(0x223)][_0x3ed616]);const _0x1bfb4d=this[_0x2eee2a(0x1e8)](_0x46f3ba),_0x7dcb13=[],_0x3b49e5=new Set(_0x4545b2);for(const _0xec5c88 of _0x1bfb4d)_0x3b49e5[_0x2eee2a(0x2f6)](_0xec5c88)||_0x7dcb13[_0x2eee2a(0x23c)](_0xec5c88);return _0x7dcb13;}}[_0x254bc1(0x3e9)](_0x4573bd,_0x41b1ae,_0xbc2958,_0x12dd2d,_0x4096e2){const _0xb1b3db=_0x254bc1;return _0x41b1ae&&_0x41b1ae[_0xb1b3db(0x3fd)](_0x12dd2d,_0x4096e2)?_0x41b1ae['getValue'](_0x12dd2d,_0x4096e2):_0xbc2958&&_0xbc2958[_0xb1b3db(0x3fd)](_0x12dd2d,_0x4096e2)?_0xbc2958[_0xb1b3db(0x3fd)](_0x12dd2d,_0x4096e2):_0x4573bd['getValue'](_0x12dd2d,_0x4096e2);}[_0x254bc1(0x255)](_0x44d393,_0x503d6e,_0x3d2165,_0x1c06cc){const _0xb375e1=_0x254bc1,_0x141a08=this[_0xb375e1(0x2a3)][_0x44d393];if(!_0x141a08)return;const {subUnitId:_0x4763e9,range:_0x4612e6,unitId:_0x13c615}=_0x503d6e,_0x5dd6e0=this[_0xb375e1(0x182)][_0xb375e1(0x46d)](_0x13c615);if(!_0x5dd6e0){console[_0xb375e1(0x275)](_0xb375e1(0x437));return;}const _0x36c7c5=_0x5dd6e0[_0xb375e1(0x335)](_0x4763e9),_0x2b0ce3=_0x36c7c5['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x333761,unitDataMatrix:_0x300148}=_0x1c06cc||{},{startRow:_0x57cce3,startColumn:_0x40561f,endRow:_0x217ef3}=this[_0xb375e1(0x319)](_0x4612e6,_0x36c7c5);_0x141a08['reset']();const _0x449c3f=_0x5dd6e0['getStyles'](),_0x19dd40={},_0x45178d=this['getMatrixValue'](_0x2b0ce3,_0x333761,_0x300148,_0x57cce3,_0x40561f+_0x3d2165);let _0x4ec067=this['adjustSheetCellData'](_0x45178d,_0x449c3f,_0x19dd40);_0x6ee1ef['isDateValue'](_0x4ec067)&&(_0x4ec067=_0x373a9f[_0xb375e1(0x29e)]['format'](_0x4ec067['f'],Number(_0x4ec067['v'])));const _0x1cda3f=this[_0xb375e1(0x3e3)](_0x4ec067,_0x40561f+_0x3d2165);_0x141a08[_0xb375e1(0x1a6)](_0x1cda3f);for(let _0x14a1be=_0x57cce3+0x1;_0x14a1be<=_0x217ef3;_0x14a1be++){const _0x133352=this['getMatrixValue'](_0x2b0ce3,_0x333761,_0x300148,_0x14a1be,_0x40561f+_0x3d2165);_0x141a08[_0xb375e1(0x3c9)](this[_0xb375e1(0x35c)](_0x133352,_0x449c3f,_0x19dd40),_0x14a1be-0x1-_0x57cce3);}}['refreshData'](_0x57b77c,_0x22a690,_0x2b421e){const _0x130e84=_0x254bc1,{subUnitId:_0x11edd9,range:_0x534a5a,unitId:_0x51f00d}=_0x2b421e,_0x5cc3f6=this[_0x130e84(0x182)][_0x130e84(0x46d)](_0x51f00d);if(!_0x5cc3f6){console[_0x130e84(0x275)](_0x130e84(0x437));return;}const _0x3ae58c=_0x5cc3f6['getSheetBySheetId'](_0x11edd9),_0x2b0b43=_0x3ae58c[_0x130e84(0x396)](),{startRow:_0x34eeec,startColumn:_0x3591dd,endRow:_0x378974}=this[_0x130e84(0x319)](_0x534a5a,_0x3ae58c),_0xad7b90=_0x5cc3f6['getStyles'](),_0x57e2f2={};for(const {dataField:_0x49c925,index:_0x1b5ed3}of _0x22a690){_0x49c925[_0x130e84(0x40d)]();const _0x369473=this[_0x130e84(0x3e9)](_0x2b0b43,void 0x0,void 0x0,_0x34eeec,_0x3591dd+_0x1b5ed3);let _0x250851=this[_0x130e84(0x35c)](_0x369473,_0xad7b90,_0x57e2f2);_0x6ee1ef[_0x130e84(0x3fc)](_0x250851)&&(_0x250851=_0x373a9f[_0x130e84(0x29e)][_0x130e84(0x286)](_0x250851['f'],Number(_0x250851['v'])));const _0x1b9efa=this[_0x130e84(0x3e3)](_0x250851,_0x3591dd+_0x1b5ed3);_0x49c925[_0x130e84(0x1a6)](_0x1b9efa);}_0x57b77c[_0x130e84(0x1bd)]();for(let _0x343f71=_0x34eeec+0x1;_0x343f71<=_0x378974;_0x343f71++)for(const {index:_0x29c497,dataField:_0x31f558}of _0x22a690){const _0x4d0886=_0x2b0b43[_0x130e84(0x3fd)](_0x343f71,_0x3591dd+_0x29c497);_0x31f558[_0x130e84(0x3c9)](this[_0x130e84(0x35c)](_0x4d0886,_0xad7b90,_0x57e2f2),_0x343f71-0x1-_0x34eeec);}_0x57b77c[_0x130e84(0x2bf)](_0x378974-_0x34eeec);}[_0x254bc1(0x30a)](_0x36b456){const _0x2201ad=_0x254bc1,{range:_0x5ada86}=_0x36b456,{startColumn:_0x255fd9,endColumn:_0x37356a}=_0x5ada86,_0x38cd1e=[];for(let _0x441edb=_0x255fd9;_0x441edb<=_0x37356a;_0x441edb++)_0x38cd1e[_0x2201ad(0x23c)](this[_0x2201ad(0x2ab)](_0x36b456,_0x441edb));return _0x38cd1e;}[_0x254bc1(0x35c)](_0xaebef6,_0x27dc12,_0x1b87d6){const _0x24821f=_0x254bc1;if(_0xaebef6){const {s:_0x2255c5,v:_0x487474,t:_0x540432,p:_0x4bc445}=_0xaebef6;if(_0x4bc445)return _0x87ae96(_0x4bc445);const _0x1aed01=_0x27dc12['get'](_0x2255c5);if(_0x1aed01&&_0x540432===_0x373a9f[_0x24821f(0x400)][_0x24821f(0x268)]&&_0x1aed01['n']){const {pattern:_0x528921}=_0x1aed01['n'];_0x1b87d6[_0x528921]||(_0x1b87d6[_0x528921]=_0x373a9f['numfmt'][_0x24821f(0x398)](_0x528921));const _0x4e7329=_0x1b87d6[_0x528921],_0x4f485b=_0x4e7329[_0x24821f(0x403)];if(_0x4e7329[_0x24821f(0x17f)])return String(_0x487474);if(_0x4f485b)return{'v':_0x487474,'f':_0x528921};}if(_0x540432===_0x373a9f[_0x24821f(0x400)][_0x24821f(0x268)])return Number(_0x487474);if(_0x540432===_0x373a9f['CellValueType'][_0x24821f(0x42c)]||_0x540432===_0x373a9f[_0x24821f(0x400)][_0x24821f(0x242)])return String(_0x487474);if(_0x540432===void 0x0){const _0x31bc2a=Number(_0x487474);if(!Number[_0x24821f(0x25b)](_0x31bc2a)&&String(_0x31bc2a)===_0x487474)return _0x31bc2a;}return _0x487474!=null?_0x487474:null;}else return null;}[_0x254bc1(0x17a)](_0x4fd7f8){const _0x20f80a=_0x254bc1,{sheetName:_0xe15f19,range:_0x54b8d1,unitId:_0x1b3317}=_0x4fd7f8,_0x79398=this[_0x20f80a(0x182)]['getUnit'](_0x1b3317);if(!_0x79398)return console['error'](_0x20f80a(0x437)),{'header':[],'data':[]};const _0x3436f1=_0x79398[_0x20f80a(0x40c)](_0xe15f19),_0x652e17=_0x3436f1[_0x20f80a(0x396)](),{startRow:_0x20ac7a,startColumn:_0x52df3f,endRow:_0x256c06,endColumn:_0x381daa}=this[_0x20f80a(0x319)](_0x54b8d1,_0x3436f1),_0x1dafac=_0x79398[_0x20f80a(0x445)](),_0x38676c=[],_0x33b339=[],_0x1d0039={};for(let _0x5e072e=_0x20ac7a;_0x5e072e<=_0x256c06;_0x5e072e++){const _0x6de5f4=[];for(let _0x129448=_0x52df3f;_0x129448<=_0x381daa;_0x129448++){const _0x5426b8=_0x652e17['getValue'](_0x5e072e,_0x129448);_0x5e072e===_0x20ac7a?_0x38676c[_0x20f80a(0x23c)](_0x5426b8==null?null:String(_0x5426b8['v'])):_0x6de5f4[_0x20f80a(0x23c)](this['adjustSheetCellData'](_0x5426b8,_0x1dafac,_0x1d0039));}_0x33b339[_0x20f80a(0x23c)](_0x6de5f4);}return{'header':_0x38676c,'data':_0x33b339};}[_0x254bc1(0x257)](){return super['toJSON']();}['fromJSON'](_0x1f0fb4){const _0x32c38e=_0x254bc1;super[_0x32c38e(0x184)](_0x1f0fb4),this[_0x32c38e(0x2be)]();}[_0x254bc1(0x35d)](){const _0x2453f1=_0x254bc1;super[_0x2453f1(0x35d)](),this[_0x2453f1(0x223)]={},this[_0x2453f1(0x2d9)]=null;}}const _0x122775=_0xd81e43=>{const _0x2188d7=_0x254bc1,{targetCellInfo:_0x3a85c1}=_0xd81e43,{matrixCache:_0x495874,rangesCache:_0xe61ba4}=_0x74e9b6({'filter':_0x2188d7(0x172),'row':'Row','column':_0x2188d7(0x3b9),'values':_0x2188d7(0x256)},_0x3a85c1),_0x2fb394=new _0x373a9f[(_0x2188d7(0x2db))]();return _0x495874['forValue']((_0x318fac,_0x48c407,_0x5d7983)=>{const _0x4dedd8=_0x2188d7;_0x2fb394[_0x4dedd8(0x212)](_0x318fac,_0x48c407,_0x5d7983);}),{'matrix':_0x2fb394,'rangesCache':_0xe61ba4};},_0x250700=_0x2bd163=>{const _0x5351be=_0x254bc1;let _0x388258;if(_0x2bd163!=null&&_0x2bd163['v']||(_0x2bd163==null?void 0x0:_0x2bd163['v'])===0x0){_0x388258||(_0x388258={});const _0xd32d44=_0x9dbefc(_0x2bd163['v']);typeof _0xd32d44==_0x5351be(0x3a5)?_0x388258['t']=_0x373a9f['CellValueType'][_0x5351be(0x268)]:typeof _0xd32d44==_0x5351be(0x16e)&&(_0x388258['t']=_0x373a9f[_0x5351be(0x400)][_0x5351be(0x42c)]),_0x388258['v']=_0xd32d44;}return _0x388258;},_0x90072e=(_0xdac04a,_0x4e0ba8,_0xdfe14f)=>{const _0x18a244=_0x254bc1;var _0x494e80,_0x10e8af,_0x167c3b,_0x210f77,_0x2baa29,_0x46f964,_0x214376,_0x29d817,_0x476a78,_0x19be86,_0x5f290d,_0x578866;const {cornerView:_0xe78339,rowView:_0x112169,colView:_0x3d58c7,dataView:_0x5d1af9,pageView:_0x2b988a,formatMap:_0x30ed18}=_0xdac04a,{row:_0x2349de,col:_0x450a5f}=_0x4e0ba8,_0x321aa3=new _0x373a9f['ObjectMatrix']();let _0x2fd5fe=_0x2349de,_0x50feb1=_0x450a5f;Object[_0x18a244(0x3b6)](_0x2b988a[_0x18a244(0x27f)])[_0x18a244(0x2b2)](_0x8b0d7c=>{const _0x1668ae=_0x18a244;Object['keys'](_0x2b988a['data'][Number(_0x8b0d7c)])[_0x1668ae(0x2b2)](_0x1a08c0=>{const _0xcec96a=_0x1668ae,_0xc47f4e={..._0x2b988a[_0xcec96a(0x27f)][Number(_0x8b0d7c)][Number(_0x1a08c0)]};_0x321aa3['setValue'](Number(_0x8b0d7c)+_0x2fd5fe,Number(_0x1a08c0)+_0x50feb1,_0x250700(_0xc47f4e));});});const _0x2af840=Object['keys'](_0x2b988a[_0x18a244(0x27f)])[_0x18a244(0x3a6)];_0x2fd5fe+=_0x2af840+(_0x2af840?_0x257ea1:0x0);const _0x4d6a08=_0xe78339[_0x18a244(0x314)](),_0x6fdf5c=_0xe78339[_0x18a244(0x1a3)]();for(let _0x755670=0x0;_0x755670<_0x4d6a08;_0x755670++)for(let _0x722d0e=0x0;_0x722d0e<_0x6fdf5c;_0x722d0e++){const _0x3b89bb={...(_0x10e8af=(_0x494e80=_0xe78339['data'])==null?void 0x0:_0x494e80[_0x755670])==null?void 0x0:_0x10e8af[_0x722d0e]};_0x3b89bb&&((_0x167c3b=_0x112169[_0x18a244(0x442)][_0x722d0e])!=null&&_0x167c3b['isValue'])&&_0x722d0e===_0x6fdf5c-0x1&&_0x755670===_0x4d6a08-0x1&&(_0x3b89bb['v']=''+_0xdfe14f[_0x18a244(0x299)]),_0x321aa3[_0x18a244(0x212)](_0x755670+_0x2fd5fe,_0x722d0e+_0x50feb1,_0x250700(_0x3b89bb));}_0x50feb1+=_0x6fdf5c;const _0x20ab0a=_0x3d58c7[_0x18a244(0x442)],_0x309709=_0x3d58c7[_0x18a244(0x298)]()>=0x0?_0x3d58c7[_0x18a244(0x298)]()+0x1:0x0,_0x88407e=_0x3d58c7[_0x18a244(0x1c7)]()>=0x0?_0x3d58c7[_0x18a244(0x1c7)]()+0x1:0x0;for(let _0x417146=0x0;_0x417146<_0x88407e;_0x417146++)for(let _0xcd0021=0x0;_0xcd0021<_0x309709;_0xcd0021++){const _0x57793c={...(_0x2baa29=(_0x210f77=_0x3d58c7[_0x18a244(0x27f)])==null?void 0x0:_0x210f77[_0x417146])==null?void 0x0:_0x2baa29[_0xcd0021]},_0x207f9c=(_0x46f964=_0x20ab0a[_0x417146])==null?void 0x0:_0x46f964[_0x18a244(0x348)],_0x197f2e=_0x30ed18[_0x207f9c];_0x57793c&&(_0x57793c['v']=_0x5f0428(_0x57793c,_0x417146===0x0&&((_0x214376=_0x3d58c7[_0x18a244(0x263)](_0xcd0021+0x1))==null?void 0x0:_0x214376[_0x18a244(0x211)]),_0x197f2e,_0xdfe14f)),_0x321aa3[_0x18a244(0x212)](_0x417146+_0x2fd5fe,_0xcd0021+_0x50feb1,_0x250700(_0x57793c));}_0x2fd5fe+=_0x4d6a08;const _0x302615=_0x112169[_0x18a244(0x442)],_0x48ab9b=_0x112169[_0x18a244(0x298)]()>=0x0?_0x112169['getLastRow']()+0x1:0x0,_0x2adc69=_0x112169['getLastCol']()>=0x0?_0x112169['getLastCol']()+0x1:0x0;for(let _0x1a03ba=0x0;_0x1a03ba<_0x48ab9b;_0x1a03ba++)for(let _0x363c7d=0x0;_0x363c7d<_0x2adc69;_0x363c7d++){const _0x3838bc={...(_0x476a78=(_0x29d817=_0x112169[_0x18a244(0x27f)])==null?void 0x0:_0x29d817[_0x1a03ba])==null?void 0x0:_0x476a78[_0x363c7d]},_0x5acebb=(_0x19be86=_0x302615[_0x363c7d])==null?void 0x0:_0x19be86['tableFieldId'],_0x28d2ee=_0x30ed18[_0x5acebb];_0x3838bc&&(_0x3838bc['v']=_0x5f0428(_0x3838bc,!0x1,_0x28d2ee,_0xdfe14f)),_0x321aa3[_0x18a244(0x212)](_0x1a03ba+_0x2fd5fe,_0x363c7d+_0x450a5f,_0x250700(_0x3838bc));}const _0x4c2043=_0x5d1af9[_0x18a244(0x314)](),_0x5f2beb=_0x5d1af9['getColCount']();for(let _0x2b2462=0x0;_0x2b2462<_0x4c2043;_0x2b2462++)for(let _0x2cedcf=0x0;_0x2cedcf<_0x5f2beb;_0x2cedcf++){const _0x25d249={...(_0x578866=(_0x5f290d=_0x5d1af9[_0x18a244(0x27f)])==null?void 0x0:_0x5f290d[_0x2b2462])==null?void 0x0:_0x578866[_0x2cedcf]};_0x321aa3['setValue'](_0x2b2462+_0x2fd5fe,_0x2cedcf+_0x50feb1,_0x250700(_0x25d249));}return _0x321aa3;},_0x38121b=_0x31595b=>{const _0x4c23e1=_0x254bc1,{view:_0x7b292d,targetCellInfo:_0x1f330c,isEmpty:_0x48a918,textInfo:_0x2cef7a}=_0x31595b;if(_0x48a918)return _0x122775(_0x31595b);const {pageView:_0x3cdb54,cornerView:_0x1a00e1,rowView:_0x158d19,colView:_0x2f50d7,dataView:_0x499531}=_0x7b292d,_0x31f98d=_0x483390(_0x1f330c,_0x3cdb54,!0x0),_0x20deb9=_0x3cdb54[_0x4c23e1(0x20b)]>=0x0?_0x3cdb54['lastRow']+0x1:0x0,_0x6e7c06=_0x1a00e1[_0x4c23e1(0x314)](),_0x31b591=_0x1a00e1[_0x4c23e1(0x1a3)](),_0x494746=_0x31f98d['length']>0x0?_0x257ea1:0x0,_0x15a98c=_0x483390({'row':_0x1f330c['row']+_0x20deb9+_0x494746,'col':_0x1f330c[_0x4c23e1(0x2a7)]},_0x1a00e1,!0x1,!0x1),_0x361989=_0x483390({'row':_0x1f330c[_0x4c23e1(0x166)]+_0x20deb9+_0x494746+_0x6e7c06,'col':_0x1f330c[_0x4c23e1(0x2a7)]},_0x158d19,!0x1,!0x0),_0x5b270f=_0x483390({'row':_0x1f330c[_0x4c23e1(0x166)]+_0x20deb9+_0x494746,'col':_0x1f330c['col']+_0x31b591},_0x2f50d7,!0x1,!0x0),_0x128059=_0x483390({'row':_0x1f330c[_0x4c23e1(0x166)]+_0x20deb9+_0x494746+_0x6e7c06,'col':_0x1f330c[_0x4c23e1(0x2a7)]+_0x31b591},_0x499531,!0x1,!0x1),_0x275b67={'rowRanges':_0x361989,'colRanges':_0x5b270f,'cornerRanges':_0x15a98c,'dataRanges':_0x128059,'pageRanges':_0x31f98d};return{'matrix':_0x90072e(_0x7b292d,_0x1f330c,_0x2cef7a),'rangesCache':_0x275b67};};var _0x59d666=Object[_0x254bc1(0x1f0)],_0x4a082=(_0x518c77,_0x463037,_0x1e3c7e,_0x186be9)=>{const _0x1388f0=_0x254bc1;for(var _0x2c8893=_0x186be9>0x1?void 0x0:_0x186be9?_0x59d666(_0x463037,_0x1e3c7e):_0x463037,_0x4d82d1=_0x518c77[_0x1388f0(0x3a6)]-0x1,_0x5ec117;_0x4d82d1>=0x0;_0x4d82d1--)(_0x5ec117=_0x518c77[_0x4d82d1])&&(_0x2c8893=_0x5ec117(_0x2c8893)||_0x2c8893);return _0x2c8893;},_0x11b91d=(_0x44f417,_0x5e732a)=>(_0x1233e9,_0x124dba)=>_0x5e732a(_0x1233e9,_0x124dba,_0x44f417);_0xca2f35[_0x254bc1(0x2cb)]=class extends _0x373a9f[_0x254bc1(0x292)]{constructor(_0x5013da,_0x14c271,_0x22ad3b,_0x275872,_0x1540cb,_0x5de05b){const _0x397193=_0x254bc1;super(),_0x9a3aa2(this,_0x397193(0x2ca),new Map()),_0x9a3aa2(this,_0x397193(0x175),new Map()),_0x9a3aa2(this,'_viewData',new Map()),_0x9a3aa2(this,_0x397193(0x32d)),_0x9a3aa2(this,'_collectionChange$',new _0x124e24[(_0x397193(0x1e9))]()),_0x9a3aa2(this,_0x397193(0x1bf),this['_collectionChange$'][_0x397193(0x2e6)]()),_0x9a3aa2(this,_0x397193(0x1f4),new _0x124e24[(_0x397193(0x1e9))]()),_0x9a3aa2(this,_0x397193(0x2a1),this[_0x397193(0x1f4)][_0x397193(0x2e6)]()),_0x9a3aa2(this,_0x397193(0x2b1),new _0x124e24[(_0x397193(0x1e9))]()),_0x9a3aa2(this,_0x397193(0x30f),this['_fieldsCollectionChange$']['asObservable']()),_0x9a3aa2(this,_0x397193(0x2ec),new Map()),_0x9a3aa2(this,_0x397193(0x3af),[]),_0x9a3aa2(this,'_queryingMap',new Map()),(this[_0x397193(0x3ca)]=_0x5013da,this[_0x397193(0x182)]=_0x14c271,this['_lifecycleService']=_0x22ad3b,this[_0x397193(0x3d1)]=_0x275872,this[_0x397193(0x3c1)]=_0x1540cb,this[_0x397193(0x2e7)]=_0x5de05b,this['_initSnapshot']());}[_0x254bc1(0x2e9)](){const _0xa024f1=_0x254bc1;return this['_textInfo']?this[_0xa024f1(0x32d)]:_0x16da38;}['setTextInfo'](_0x184220){const _0x16c933=_0x254bc1;this[_0x16c933(0x32d)]=_0x184220;}['handleMoveRange'](_0x48e998){const _0x23c398=_0x254bc1;var _0x303ad7;const {from:_0x56d78f,to:_0x3c2429,unitId:_0x36c106,fromRange:_0x17b8b4,toRange:_0x1ae9af}=_0x48e998;if(_0x56d78f&&_0x3c2429){const _0x54bcc8=this['getDataFieldManager'](_0x36c106),_0x1ea0dd=this['_model'][_0x23c398(0x404)](_0x36c106),_0x1b3cf9=(_0x303ad7=this[_0x23c398(0x182)]['getUnit'](_0x36c106))==null?void 0x0:_0x303ad7[_0x23c398(0x335)](_0x3c2429['subUnitId']);if(!_0x1ea0dd||!_0x1b3cf9)return;const _0x43f28b=_0x1b3cf9==null?void 0x0:_0x1b3cf9['getName']();for(const [_0xa231d3,_0x380e95]of _0x1ea0dd[_0x23c398(0x42a)]())for(const [_0xfee324,_0x18e9d7]of _0x380e95['entries']()){const {sourceRangeInfo:_0x4a180d}=_0x18e9d7;if(_0x4a180d[_0x23c398(0x3fa)]===_0x36c106&&_0x4a180d[_0x23c398(0x24b)]===_0x56d78f['subUnitId']&&_0x373a9f['Rectangle']['contains'](_0x17b8b4,_0x4a180d[_0x23c398(0x2ed)])){const _0x4988ba={'row':_0x4a180d['range'][_0x23c398(0x2a5)]-_0x17b8b4[_0x23c398(0x2a5)],'col':_0x4a180d[_0x23c398(0x2ed)]['startColumn']-_0x17b8b4[_0x23c398(0x22f)]},_0x2e6bf2={'unitId':_0x36c106,'subUnitId':_0x3c2429['subUnitId'],'sheetName':_0x43f28b,'range':{'startRow':_0x1ae9af[_0x23c398(0x2a5)]+_0x4988ba[_0x23c398(0x166)],'endRow':_0x1ae9af[_0x23c398(0x2a5)]+_0x4988ba[_0x23c398(0x166)]+_0x4a180d[_0x23c398(0x2ed)][_0x23c398(0x42b)]-_0x4a180d[_0x23c398(0x2ed)][_0x23c398(0x2a5)],'startColumn':_0x1ae9af[_0x23c398(0x22f)]+_0x4988ba['col'],'endColumn':_0x1ae9af[_0x23c398(0x22f)]+_0x4988ba[_0x23c398(0x2a7)]+_0x4a180d[_0x23c398(0x2ed)][_0x23c398(0x3db)]-_0x4a180d[_0x23c398(0x2ed)]['startColumn']}};_0x54bcc8['handleMoveRange'](_0xfee324,_0x2e6bf2);const _0x2cda5b={..._0x18e9d7,'sourceRangeInfo':_0x2e6bf2};this[_0x23c398(0x367)](_0x36c106,_0x3c2429['subUnitId'],_0xfee324,_0x2cda5b),this['broadcastCollectionChange']({'unitId':_0x36c106,'token':_0xfee324,'type':_0x2668c5[_0x23c398(0x230)],'oldSourceRangeInfo':_0x4a180d,'dataRangeInfo':_0x2e6bf2,'targetCellInfo':_0x18e9d7[_0x23c398(0x41a)]}),this['updateConfig']({'unitId':_0x36c106,'subUnitId':_0x3c2429[_0x23c398(0x24b)],'oldSubUnitId':_0xa231d3,'pivotTableId':_0xfee324,'pivotTableConfig':_0x2cda5b,'collectionConfig':_0x54bcc8[_0x23c398(0x257)]()});}}}}['broadcastCollectionChange'](_0x33237e){const _0x1b3e95=_0x254bc1;this[_0x1b3e95(0x315)][_0x1b3e95(0x1e4)](_0x33237e);}[_0x254bc1(0x41e)](_0x1cf565){const _0x12c04f=_0x254bc1;let _0x1c0abe=this[_0x12c04f(0x2ec)][_0x12c04f(0x404)](_0x1cf565);return _0x1c0abe||(_0x1c0abe=new _0x586584(this,this['_univerInstanceService']),this[_0x12c04f(0x2ec)]['set'](_0x1cf565,_0x1c0abe)),_0x1c0abe;}['getCollection'](_0xe5888d,_0x7c8941){return this['getDataFieldManager'](_0xe5888d)['collections'][_0x7c8941];}[_0x254bc1(0x419)](_0x1ed757,_0x21f9fe,_0x13a1eb){const _0x413f81=_0x254bc1;return this[_0x413f81(0x41e)](_0x1ed757)[_0x413f81(0x419)](_0x21f9fe,_0x13a1eb);}[_0x254bc1(0x3ef)](_0x16eec7,_0x531657){const _0x3ca09e=_0x254bc1;let _0x59c517=this['_model'][_0x3ca09e(0x404)](_0x16eec7);_0x59c517||(_0x59c517=new Map(),this[_0x3ca09e(0x2ca)][_0x3ca09e(0x377)](_0x16eec7,_0x59c517));let _0xf77ae8=_0x59c517[_0x3ca09e(0x404)](_0x531657);return _0xf77ae8||(_0xf77ae8=new Map(),_0x59c517[_0x3ca09e(0x377)](_0x531657,_0xf77ae8)),_0xf77ae8;}[_0x254bc1(0x367)](_0x35e6ea,_0x5dadcd,_0x1d8568,_0x51feef){const _0x2ab9f4=_0x254bc1;this[_0x2ab9f4(0x3ef)](_0x35e6ea,_0x5dadcd)[_0x2ab9f4(0x377)](_0x1d8568,_0x51feef);}[_0x254bc1(0x43a)](_0x13f9d5,_0x348c4e,_0xa6b97e){const _0x481b13=_0x254bc1;var _0x2c91b8,_0x151649,_0x56b61f,_0x355028;((_0x151649=(_0x2c91b8=this[_0x481b13(0x2ca)][_0x481b13(0x404)](_0x13f9d5))==null?void 0x0:_0x2c91b8[_0x481b13(0x404)](_0x348c4e))==null?void 0x0:_0x151649[_0x481b13(0x404)](_0xa6b97e))&&((_0x355028=(_0x56b61f=this[_0x481b13(0x2ca)][_0x481b13(0x404)](_0x13f9d5))==null?void 0x0:_0x56b61f[_0x481b13(0x404)](_0x348c4e))==null||_0x355028[_0x481b13(0x1a1)](_0xa6b97e));}[_0x254bc1(0x17b)](_0x35c2b5,_0x19732c){const _0x254577=_0x254bc1;this[_0x254577(0x175)][_0x254577(0x377)](_0x35c2b5,_0x19732c);}[_0x254bc1(0x307)](_0x351793){const _0x29d5a7=_0x254bc1;this[_0x29d5a7(0x175)]['delete'](_0x351793);}[_0x254bc1(0x224)](_0x268968,_0x59feab){const _0x41b79d=_0x254bc1;let _0x581531=this[_0x41b79d(0x2eb)][_0x41b79d(0x404)](_0x268968);_0x581531||(_0x581531=new Map(),this[_0x41b79d(0x2eb)][_0x41b79d(0x377)](_0x268968,_0x581531));let _0xa0fe20=_0x581531['get'](_0x59feab);return _0xa0fe20||(_0xa0fe20=new Map(),_0x581531[_0x41b79d(0x377)](_0x59feab,_0xa0fe20)),_0xa0fe20;}['updateConfig'](_0x2551d2){const _0x9ad50c=_0x254bc1,{unitId:_0x312c67,subUnitId:_0x487f76,pivotTableId:_0x50f9e3,pivotTableConfig:_0x42d67c,collectionConfig:_0x3ea3ac}=_0x2551d2,_0x31b8d0={'unitId':_0x312c67,'subUnitId':_0x487f76,'oldSubUnitId':_0x487f76,'pivotTableId':_0x50f9e3,'pivotTableConfig':_0x42d67c,'collectionConfig':_0x3ea3ac};this[_0x9ad50c(0x3c1)][_0x9ad50c(0x220)](_0x2d5dfb['id'],_0x31b8d0,{'onlyLocal':!0x0});}[_0x254bc1(0x159)](_0x14b502,_0x33d64c,_0x44f4a3,_0x17f129,_0x291e74,_0x3aa1fd,_0x38a88b,_0x1ed301=!0x1){const _0x476752=_0x254bc1;var _0x4cfeac;this[_0x476752(0x3c1)]['executeCommand'](_0x256c66['id'],{'single':{'unitId':_0x14b502,'subUnitId':_0x33d64c,'type':_0x44f4a3,'pivotTableId':_0x17f129,'view':_0x291e74,'pivotConfig':_0x3aa1fd},'collectionConfig':{[_0x14b502]:_0x38a88b}},{'onlyLocal':!0x0});const _0x42a385=!!((_0x4cfeac=this[_0x476752(0x2df)](_0x17f129))!=null&&_0x4cfeac[_0x476752(0x44a)]()),_0x140c9b=this[_0x476752(0x329)](_0x14b502,_0x33d64c,_0x17f129);_0x140c9b&&this[_0x476752(0x3ae)]({'view':_0x291e74,'pivotTableId':_0x17f129,'textInfo':this['getTextInfo'](),'isEmpty':_0x42a385,'targetCellInfo':_0x140c9b[_0x476752(0x41a)]},_0x1ed301);}[_0x254bc1(0x3ae)](_0x2b412a,_0x147907){const _0x1ca687=_0x254bc1,{targetCellInfo:_0x4a2c21,pivotTableId:_0x5af435}=_0x2b412a,{unitId:_0x441ad7,subUnitId:_0x197683}=_0x4a2c21,_0x1b7dee=this[_0x1ca687(0x224)](_0x441ad7,_0x197683),_0x4ae3ab=_0x1b7dee[_0x1ca687(0x404)](_0x5af435);let _0x121bba,_0x143504;_0x4ae3ab&&(_0x121bba=_0x4ae3ab['rangeCache'],_0x143504=_0x4ae3ab[_0x1ca687(0x253)]);const {rangesCache:_0x5932d9,matrix:_0x2164d5}=_0x38121b(_0x2b412a);_0x1b7dee[_0x1ca687(0x377)](_0x5af435,{'rangeCache':_0x5932d9,'matrix':_0x2164d5,'oldMatrix':_0x143504,'oldRangeCache':_0x121bba}),_0x147907||this[_0x1ca687(0x1f4)]['next']({'unitId':_0x441ad7,'subUnitId':_0x197683,'pivotTableId':_0x5af435});}[_0x254bc1(0x3c8)](_0x22a9d8,_0x34af56,_0x140209,_0x550d24,_0x253377){const _0x6385ca=_0x254bc1;this[_0x6385ca(0x367)](_0x22a9d8,_0x34af56,_0x140209,_0x253377),this['_updatePivotTableInstanceCache'](_0x140209,_0x550d24);}['removePivotTable'](_0x237451,_0x25492e,_0xb0ec00){const _0x2e037a=_0x254bc1,_0x2911cf=this['getDataFieldManager'](_0x237451);_0x2911cf[_0x2e037a(0x1e8)](_0xb0ec00)[_0x2e037a(0x2b2)](_0xe0a79e=>{const _0x53462d=_0x2e037a;_0x2911cf[_0x53462d(0x3ba)](_0xe0a79e);}),this['removeCollections'](_0x237451,_0xb0ec00),this[_0x2e037a(0x43a)](_0x237451,_0x25492e,_0xb0ec00),this[_0x2e037a(0x307)](_0xb0ec00);}[_0x254bc1(0x277)](_0x9fc288,_0x21d75d,_0x48d4d3,_0x521dfb){this['_updateModelCache'](_0x9fc288,_0x21d75d,_0x48d4d3,_0x521dfb);}[_0x254bc1(0x329)](_0x223f93,_0x3efa11,_0xd47031){const _0x1d190c=_0x254bc1;var _0x1a0f7f,_0x481e19;const _0x31ccd8=(_0x481e19=(_0x1a0f7f=this[_0x1d190c(0x2ca)][_0x1d190c(0x404)](_0x223f93))==null?void 0x0:_0x1a0f7f[_0x1d190c(0x404)](_0x3efa11))==null?void 0x0:_0x481e19[_0x1d190c(0x404)](_0xd47031);if(_0x31ccd8)return _0x31ccd8;}['getPivotTableModelConfig'](_0x318be9,_0x5cc7b5,_0x39d4a7){const _0x4fe9d8=_0x254bc1;var _0x4b12e7,_0xe43ea6;const _0x47c3f4=(_0xe43ea6=(_0x4b12e7=this[_0x4fe9d8(0x2ca)]['get'](_0x318be9))==null?void 0x0:_0x4b12e7[_0x4fe9d8(0x404)](_0x5cc7b5))==null?void 0x0:_0xe43ea6[_0x4fe9d8(0x404)](_0x39d4a7);if(_0x47c3f4)return _0x47c3f4[_0x4fe9d8(0x240)];}['getPivotTableInstance'](_0x4f15b1){const _0x36214e=_0x254bc1;return this[_0x36214e(0x175)][_0x36214e(0x404)](_0x4f15b1);}[_0x254bc1(0x36c)](_0x25735e){const _0x56133f=_0x254bc1;this['_model'][_0x56133f(0x1a1)](_0x25735e);const _0x222ca2=this['_dataFieldManagerCollection'][_0x56133f(0x404)](_0x25735e);_0x222ca2&&(_0x222ca2[_0x56133f(0x35d)](),this[_0x56133f(0x2ec)]['delete'](_0x25735e)),this[_0x56133f(0x2eb)][_0x56133f(0x1a1)](_0x25735e),this[_0x56133f(0x3af)][_0x56133f(0x2b2)](_0x3dc96c=>{_0x3dc96c['deleteUnitId'](_0x25735e);});}[_0x254bc1(0x342)](_0x9386f7,_0x327db6,_0x2480e0,_0x173c72){const _0xa99104=_0x254bc1;return this[_0xa99104(0x41e)](_0x2480e0[_0xa99104(0x3fa)])['addCollectionByJSON'](_0x9386f7,_0x327db6,_0x2480e0,_0x173c72);}[_0x254bc1(0x266)](_0x5ea44f){const _0x54fe80=_0x254bc1;return this[_0x54fe80(0x41e)](_0x5ea44f[_0x54fe80(0x3fa)])[_0x54fe80(0x266)](_0x5ea44f);}[_0x254bc1(0x416)](_0x591f71,_0xccdcd1,_0x152566){const _0x3e8cdc=_0x254bc1;this[_0x3e8cdc(0x41e)](_0x152566['unitId'])['refreshData'](_0x591f71,_0xccdcd1,_0x152566);}[_0x254bc1(0x22c)](_0x526245,_0xba3264){const _0x31905e=_0x254bc1;this[_0x31905e(0x41e)](_0x526245)[_0x31905e(0x3ba)](_0xba3264);}[_0x254bc1(0x381)](_0x2e4a94,_0x27e00c){const _0x4131cc=_0x254bc1;this[_0x4131cc(0x41e)](_0x2e4a94)[_0x4131cc(0x3a2)](_0x27e00c);}[_0x254bc1(0x187)](_0x11c0a9,_0x55bc66){const _0x10dc6d=_0x254bc1;var _0x1caf92;return(_0x1caf92=this[_0x10dc6d(0x2ca)][_0x10dc6d(0x404)](_0x11c0a9))==null?void 0x0:_0x1caf92[_0x10dc6d(0x404)](_0x55bc66);}['getTargetByPivotId'](_0xecab41){const _0x274345=_0x254bc1;for(const [_0x1ec1ea,_0x58dbc8]of this[_0x274345(0x2ca)][_0x274345(0x42a)]())for(const [_0x3fa519,_0x2728b4]of _0x58dbc8['entries']())if(_0x2728b4[_0x274345(0x2f6)](_0xecab41))return{'unitId':_0x1ec1ea,'subUnitId':_0x3fa519};return null;}['sideEffectUpdateWorkerCache'](_0x802bcf,_0x2341f9,_0x5a8392,_0x40f99d){const _0x3fc6d4=_0x254bc1,_0x44f1f3=this[_0x3fc6d4(0x224)](_0x802bcf,_0x2341f9);_0x40f99d?_0x44f1f3[_0x3fc6d4(0x377)](_0x5a8392,_0x40f99d):_0x44f1f3[_0x3fc6d4(0x1a1)](_0x5a8392),this[_0x3fc6d4(0x1f4)]['next']({'unitId':_0x802bcf,'subUnitId':_0x2341f9,'pivotTableId':_0x5a8392});}[_0x254bc1(0x35d)](){super['dispose']();}[_0x254bc1(0x22b)](_0x1f91cd,_0x3d813f,_0x2f2e57){const _0x4d6f0f=_0x254bc1;var _0x30e772,_0x2e2e49;const _0x311a05=(_0x2e2e49=(_0x30e772=this[_0x4d6f0f(0x2eb)][_0x4d6f0f(0x404)](_0x1f91cd))==null?void 0x0:_0x30e772[_0x4d6f0f(0x404)](_0x3d813f))==null?void 0x0:_0x2e2e49[_0x4d6f0f(0x404)](_0x2f2e57);return _0x311a05||null;}[_0x254bc1(0x2d5)](_0x2a78ef){const _0x3e786a=_0x254bc1;this[_0x3e786a(0x461)](_0x2a78ef);}['updateDirtyPivotTable'](_0x5f2386){const _0x50ad7e=_0x254bc1,{token:_0x49f04d,unitId:_0x125745,subUnitId:_0x1e9999}=_0x5f2386,_0x313a0c=_0x125745+'-'+_0x1e9999+'-'+_0x49f04d;this[_0x50ad7e(0x1e0)]['get'](_0x313a0c)&&clearTimeout(this['_queryingMap']['get'](_0x313a0c));const _0x4c16dd=setTimeout(()=>{const _0x59dedd=_0x50ad7e;this[_0x59dedd(0x26e)](_0x5f2386),this[_0x59dedd(0x1e0)][_0x59dedd(0x1a1)](_0x313a0c);},_0x23f5d3);this[_0x50ad7e(0x1e0)][_0x50ad7e(0x377)](_0x313a0c,_0x4c16dd);}[_0x254bc1(0x26e)](_0x4bbe3f){const _0x5022ab=_0x254bc1,{unitId:_0xc7d2b6,subUnitId:_0x3c9139,token:_0x332126,type:_0x517f89,pivotConfig:_0x9b5cac}=_0x4bbe3f,_0x4bf1dd=this['getPivotTableInstance'](_0x332126),_0x866023=_0x4bf1dd==null?void 0x0:_0x4bf1dd[_0x5022ab(0x421)](),_0x94d24f=_0x9b5cac!=null?_0x9b5cac:this[_0x5022ab(0x329)](_0xc7d2b6,_0x3c9139,_0x332126);_0x94d24f&&(_0x94d24f[_0x5022ab(0x44a)]=!!(_0x4bf1dd!=null&&_0x4bf1dd[_0x5022ab(0x44a)]())),(_0x866023||_0x517f89===_0x17805c[_0x5022ab(0x288)])&&this['updateView'](_0xc7d2b6,_0x3c9139,_0x517f89,_0x332126,_0x866023,_0x94d24f,this[_0x5022ab(0x41e)](_0xc7d2b6)['toJSON']());}['toJSON'](_0x2bfe51){const _0x9ed84a=_0x254bc1,_0x5cb919={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x9ed84a(0x41e)](_0x2bfe51)&&(_0x5cb919[_0x9ed84a(0x274)][_0x2bfe51]=this[_0x9ed84a(0x41e)](_0x2bfe51)[_0x9ed84a(0x257)]()),this[_0x9ed84a(0x2ca)][_0x9ed84a(0x404)](_0x2bfe51)){_0x5cb919['pivotTableConfigs'][_0x2bfe51]={};const _0x5a5da8=this[_0x9ed84a(0x2ca)][_0x9ed84a(0x404)](_0x2bfe51);_0x5a5da8!=null&&_0x5a5da8['size']&&[..._0x5a5da8[_0x9ed84a(0x3b6)]()]['forEach'](_0x2dd559=>{const _0x56f30e=_0x9ed84a,_0x5e1cc4=_0x5a5da8[_0x56f30e(0x404)](_0x2dd559);_0x5e1cc4!=null&&_0x5e1cc4[_0x56f30e(0x35a)]&&(_0x5cb919[_0x56f30e(0x20a)][_0x2bfe51][_0x2dd559]={},[..._0x5e1cc4['keys']()][_0x56f30e(0x2b2)](_0x47fa69=>{const _0x283673=_0x56f30e,_0x167ce8=_0x5e1cc4[_0x283673(0x404)](_0x47fa69);_0x167ce8&&(_0x5cb919[_0x283673(0x20a)][_0x2bfe51][_0x2dd559][_0x47fa69]=_0x167ce8);}));});}return _0x5cb919;}[_0x254bc1(0x184)](_0x4df7da){const _0x4c84f0=_0x254bc1;var _0x50421e;const {dataFieldManagerConfig:_0x21bfb9,pivotTableConfigs:_0xe676e4}=_0x4df7da;_0x21bfb9&&Object[_0x4c84f0(0x3b6)](_0x21bfb9)[_0x4c84f0(0x2b2)](_0xcd0678=>{const _0x59ea77=_0x4c84f0;this['getDataFieldManager'](_0xcd0678)[_0x59ea77(0x184)](_0x21bfb9[_0xcd0678]);});const _0x13f4ad=[];if(_0xe676e4){const _0x34fde2=(_0x50421e=this[_0x4c84f0(0x3ca)]['get'](_0x373a9f[_0x4c84f0(0x2a9)])[_0x4c84f0(0x249)](_0x2291e4['LS_CONFIG_KEY']))!=null?_0x50421e:{},{ls:_0x1a18e2,pbk:_0x143f2b}=_0x34fde2,_0x4c7ba5=_0x45cb20(_0x2c6c8b,_0x1a18e2,_0x143f2b)['count'];Object[_0x4c84f0(0x3b6)](_0xe676e4)['forEach'](_0x4f5497=>{const _0x128fdf=_0x4c84f0;let _0x59519a=0x0;const _0x45d136=_0xe676e4[_0x4f5497];Object[_0x128fdf(0x3b6)](_0x45d136)['forEach'](_0x5e6cab=>{const _0xc1fee5=_0x128fdf,_0x462aba=_0x45d136[_0x5e6cab];Object[_0xc1fee5(0x3b6)](_0x462aba)[_0xc1fee5(0x2b2)](_0x36300b=>{const _0x15f0a2=_0xc1fee5,_0x412632=_0x462aba[_0x36300b];if(_0x412632){if(_0x59519a>=_0x4c7ba5)return;_0x59519a++;const _0x3fc44e=this[_0x15f0a2(0x41e)](_0x4f5497),_0x468955=_0x3fc44e[_0x15f0a2(0x20d)][_0x36300b],_0x3bb086=_0x468955[_0x15f0a2(0x22a)]();let _0x23457f=0x0;const _0x3f73ed=[];for(const _0x39cb59 of _0x3bb086){const _0x58880d=_0x468955['getFieldById'](_0x39cb59);if(_0x6ee1ef[_0x15f0a2(0x46b)](_0x58880d)){const _0x3a8c44=_0x58880d[_0x15f0a2(0x193)](),_0x3dc3c4=_0x468955[_0x15f0a2(0x365)](_0x3a8c44);_0x3dc3c4&&_0x3f73ed[_0x15f0a2(0x23c)]([_0x58880d,_0x3dc3c4]);continue;}_0x3fc44e[_0x15f0a2(0x255)](_0x39cb59,_0x412632[_0x15f0a2(0x3d7)],_0x23457f),_0x23457f++;}_0x3f73ed[_0x15f0a2(0x2b2)](([_0x1dbb64,_0x5b1450])=>{const _0x3d8274=_0x15f0a2;_0x1dbb64[_0x3d8274(0x2c9)](_0x5b1450);});const _0x4f65e6=new _0x6ee1ef[(_0x15f0a2(0x339))](_0x468955);_0x4f65e6['fromJSON'](_0x412632[_0x15f0a2(0x240)]),this['addPivotTable'](_0x4f5497,_0x5e6cab,_0x36300b,_0x4f65e6,_0x412632);const _0xa021f8=_0x4f65e6[_0x15f0a2(0x421)]();_0x13f4ad['push']({'unitId':_0x4f5497,'subUnitId':_0x5e6cab,'pivotTableId':_0x36300b,'view':_0xa021f8[_0x15f0a2(0x257)](),'pivotConfig':_0x412632,'type':_0x17805c['Add']});const _0x285754=!!_0x4f65e6[_0x15f0a2(0x44a)](),_0x41bff1={'view':_0xa021f8,'pivotTableId':_0x36300b,'textInfo':this[_0x15f0a2(0x2e9)](),'isEmpty':_0x285754,'targetCellInfo':_0x412632[_0x15f0a2(0x41a)]};this[_0x15f0a2(0x3ae)](_0x41bff1,!0x1);}});});});}_0x21bfb9&&Object[_0x4c84f0(0x3b6)](_0x21bfb9)[_0x4c84f0(0x2b2)](_0x222454=>{const _0xddfa14=_0x4c84f0,_0x267135=this['getDataFieldManager'](_0x222454);this[_0xddfa14(0x2b1)][_0xddfa14(0x1e4)](_0x267135[_0xddfa14(0x20d)]);}),this['_commandService'][_0x4c84f0(0x220)](_0x256c66['id'],{'batch':_0x13f4ad,'collectionConfig':_0x21bfb9},{'onlyLocal':!0x0});}[_0x254bc1(0x355)](){const _0x22f1bc=_0x254bc1;this[_0x22f1bc(0x165)](this[_0x22f1bc(0x2e7)][_0x22f1bc(0x21e)]({'toJson':_0x46094f=>JSON['stringify'](this[_0x22f1bc(0x257)](_0x46094f)),'parseJson':_0x475560=>{const _0x25cfa2=_0x22f1bc;if(!_0x475560)return{};try{return JSON[_0x25cfa2(0x1e6)](_0x475560);}catch{return{};}},'businesses':[_0x373a9f['UniverInstanceType'][_0x22f1bc(0x3bd)]],'pluginName':_0x5d0173,'onLoad':(_0x1e43a9,_0x144e98)=>{const _0x42054f=_0x22f1bc;this[_0x42054f(0x184)](_0x144e98);},'onUnLoad':_0x5a25f8=>{const _0x4563c1=_0x22f1bc;this[_0x4563c1(0x36c)](_0x5a25f8);}}));}},_0xca2f35[_0x254bc1(0x2cb)]=_0x4a082([_0x11b91d(0x0,_0x373a9f[_0x254bc1(0x308)](_0x373a9f[_0x254bc1(0x42e)])),_0x11b91d(0x1,_0x373a9f[_0x254bc1(0x243)]),_0x11b91d(0x2,_0x373a9f[_0x254bc1(0x308)](_0x373a9f['LifecycleService'])),_0x11b91d(0x3,_0x373a9f[_0x254bc1(0x2a9)]),_0x11b91d(0x4,_0x373a9f[_0x254bc1(0x1fe)]),_0x11b91d(0x5,_0x373a9f['Inject'](_0x373a9f[_0x254bc1(0x29d)]))],_0xca2f35[_0x254bc1(0x2cb)]);const _0x149bc9={0x0:{0x0:{'v':_0x254bc1(0x418),'s':_0x5da0c1}},0x2:{0x1:{'v':'','s':_0x5da0c1},0x2:{'v':'','s':_0x5da0c1},0x3:{'v':_0x254bc1(0x448),'s':_0x5da0c1},0x4:{'v':'','s':_0x5da0c1},0x5:{'v':'','s':_0x5da0c1}},0x3:{0x0:{'v':'','s':_0x5da0c1},0x1:{'v':'','s':_0xb63add},0x2:{'v':'','s':_0xb63add},0x3:{'v':'','s':_0xb63add},0x4:{'v':'','s':_0xb63add},0x5:{'v':'','s':_0xb63add}},0x4:{0x0:{'v':'','s':_0x5da0c1},0x1:{'v':'','s':_0xb63add},0x2:{'v':'','s':_0xb63add},0x3:{'v':'','s':_0xb63add},0x4:{'v':'','s':_0xb63add},0x5:{'v':'','s':_0xb63add}},0x5:{0x0:{'v':'','s':_0x5da0c1},0x1:{'v':'','s':_0xb63add},0x2:{'v':'','s':_0xb63add},0x3:{'v':'','s':_0xb63add},0x4:{'v':'','s':_0xb63add},0x5:{'v':'','s':_0xb63add}},0x6:{0x0:{'v':'','s':_0x5da0c1},0x1:{'v':'','s':_0xb63add},0x2:{'v':'','s':_0xb63add},0x3:{'v':'','s':_0xb63add},0x4:{'v':'','s':_0xb63add},0x5:{'v':'','s':_0xb63add}},0x7:{0x0:{'v':'','s':_0x5da0c1},0x1:{'v':'','s':_0xb63add},0x2:{'v':'','s':_0xb63add},0x3:{'v':'','s':_0xb63add},0x4:{'v':'','s':_0xb63add},0x5:{'v':'','s':_0xb63add}},0x8:{0x0:{'v':_0x254bc1(0x166),'s':_0x5da0c1},0x1:{'v':'','s':_0xb63add},0x2:{'v':'','s':_0xb63add},0x3:{'v':_0x254bc1(0x1de),'s':_0xb63add},0x4:{'v':'','s':_0xb63add},0x5:{'v':'','s':_0xb63add}},0x9:{0x0:{'v':'','s':_0x5da0c1},0x1:{'v':'','s':_0xb63add},0x2:{'v':'','s':_0xb63add},0x3:{'v':'','s':_0xb63add},0x4:{'v':'','s':_0xb63add},0x5:{'v':'','s':_0xb63add}},0xa:{0x0:{'v':'','s':_0x5da0c1},0x1:{'v':'','s':_0xb63add},0x2:{'v':'','s':_0xb63add},0x3:{'v':'','s':_0xb63add},0x4:{'v':'','s':_0xb63add},0x5:{'v':'','s':_0xb63add}},0xb:{0x0:{'v':'','s':_0x5da0c1},0x1:{'v':'','s':_0xb63add},0x2:{'v':'','s':_0xb63add},0x3:{'v':'','s':_0xb63add},0x4:{'v':'','s':_0xb63add},0x5:{'v':'','s':_0xb63add}},0xc:{0x0:{'v':'','s':_0x5da0c1},0x1:{'v':'','s':_0xb63add},0x2:{'v':'','s':_0xb63add},0x3:{'v':'','s':_0xb63add},0x4:{'v':'','s':_0xb63add},0x5:{'v':'','s':_0xb63add}},0xd:{0x0:{'v':'','s':_0x5da0c1},0x1:{'v':'','s':_0xb63add},0x2:{'v':'','s':_0xb63add},0x3:{'v':'','s':_0xb63add},0x4:{'v':'','s':_0xb63add},0x5:{'v':'','s':_0xb63add}}},_0x11ac47={'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':[]},_0x74e9b6=(_0x1d5e86,_0x1c7c34)=>{const _0x580da4=_0x254bc1,_0x4a55ff=new _0x373a9f['ObjectMatrix'](),_0x390978=new _0x373a9f[(_0x580da4(0x2db))](_0x149bc9),{row:_0x339257,col:_0x45d5ad}=_0x1c7c34;_0x390978[_0x580da4(0x45c)]((_0x172f49,_0x569413,_0xcdc048)=>{const _0x25cdfa=_0x580da4;let _0x1fbffd='';_0xcdc048['v']===_0x25cdfa(0x418)?_0x1fbffd=_0x1d5e86[_0x25cdfa(0x418)]:_0xcdc048['v']===_0x25cdfa(0x166)?_0x1fbffd=_0x1d5e86['row']:_0xcdc048['v']==='column'?_0x1fbffd=_0x1d5e86['column']:_0xcdc048['v']===_0x25cdfa(0x1de)&&(_0x1fbffd=_0x1d5e86[_0x25cdfa(0x1de)]),_0x4a55ff[_0x25cdfa(0x212)](_0x172f49+_0x339257,_0x569413+_0x45d5ad,{..._0xcdc048,'v':_0x1fbffd});});const _0x311e81=_0x373a9f[_0x580da4(0x18e)]['deepClone'](_0x11ac47);return Object['keys'](_0x11ac47)[_0x580da4(0x2b2)](_0x31a6b5=>{const _0x4f50f9=_0x580da4;_0x311e81[_0x31a6b5]=_0x11ac47[_0x31a6b5][_0x4f50f9(0x34b)](_0x27a646=>({..._0x27a646,'startRow':_0x27a646[_0x4f50f9(0x2a5)]+_0x339257,'endRow':_0x27a646[_0x4f50f9(0x42b)]+_0x339257,'startColumn':_0x27a646['startColumn']+_0x45d5ad,'endColumn':_0x27a646[_0x4f50f9(0x3db)]+_0x45d5ad}));}),{'matrixCache':_0x4a55ff,'rangesCache':_0x311e81};};function _0x48150a(_0x42a03a,_0x2a4a6f){const _0x34c819=_0x254bc1;let _0x57f840='';const _0x5a16fa=this[_0x34c819(0x2e9)]();switch(_0x2a4a6f){case _0x6ee1ef[_0x34c819(0x326)]['average']:_0x57f840=_0x5a16fa[_0x34c819(0x284)]+_0x42a03a;break;case _0x6ee1ef[_0x34c819(0x326)][_0x34c819(0x429)]:_0x57f840=_0x5a16fa[_0x34c819(0x260)]+_0x42a03a;break;case _0x6ee1ef[_0x34c819(0x326)]['countNums']:_0x57f840=_0x5a16fa[_0x34c819(0x359)]+_0x42a03a;break;case _0x6ee1ef[_0x34c819(0x326)][_0x34c819(0x264)]:_0x57f840=_0x5a16fa[_0x34c819(0x458)]+_0x42a03a;break;case _0x6ee1ef[_0x34c819(0x326)][_0x34c819(0x346)]:_0x57f840=_0x5a16fa[_0x34c819(0x309)]+_0x42a03a;break;case _0x6ee1ef[_0x34c819(0x326)]['product']:_0x57f840=_0x5a16fa[_0x34c819(0x3eb)]+_0x42a03a;break;case _0x6ee1ef[_0x34c819(0x326)][_0x34c819(0x2e3)]:_0x57f840=_0x5a16fa['sheets-pivot.stdDevName']+_0x42a03a;break;case _0x6ee1ef[_0x34c819(0x326)][_0x34c819(0x40a)]:_0x57f840=_0x5a16fa[_0x34c819(0x426)]+_0x42a03a;break;case _0x6ee1ef['PivotSubtotalTypeEnum'][_0x34c819(0x1cf)]:_0x57f840=_0x5a16fa['sheets-pivot.sumName']+_0x42a03a;break;case _0x6ee1ef[_0x34c819(0x326)][_0x34c819(0x41c)]:_0x57f840=_0x5a16fa[_0x34c819(0x18b)]+_0x42a03a;break;case _0x6ee1ef[_0x34c819(0x326)]['varp']:_0x57f840=_0x5a16fa[_0x34c819(0x463)]+_0x42a03a;break;default:_0x57f840=_0x42a03a;break;}return _0x57f840;}function _0x10d4d2(_0x32b067,_0x1c8aa8,_0x8c4b73,_0x44e917,_0x18de15){const _0xf31a34=_0x254bc1;var _0x5006f1,_0xcfe41f,_0x240ad9,_0x27a219,_0x5dedcf;const _0x30c071=_0x373a9f[_0xf31a34(0x16d)](_0x32b067,_0x1c8aa8),{rangesInfo:_0xd3e49,areaInfo:_0x21bcb3,headerMap:_0x43e499}=_0x18de15;if(!_0xd3e49||!_0x21bcb3||!_0x43e499)return;const _0x6ec382=Object[_0xf31a34(0x3b6)](_0xd3e49)[_0xf31a34(0x380)](_0x5626bc=>_0xd3e49[_0x5626bc][_0xf31a34(0x287)](_0x29e0bf=>_0x373a9f['Rectangle'][_0xf31a34(0x303)](_0x29e0bf,_0x30c071))),_0x32ae4f=_0x21bcb3;let _0x440da8,_0x5bd439,_0x44bb0f;if(_0x6ec382===_0xf31a34(0x3d8))_0x440da8=(_0x5006f1=_0x32ae4f==null?void 0x0:_0x32ae4f[_0xf31a34(0x28d)])==null?void 0x0:_0x5006f1[_0x32b067],_0x5bd439=(_0xcfe41f=_0x43e499==null?void 0x0:_0x43e499['rowHeaderMap'])==null?void 0x0:_0xcfe41f[_0x1c8aa8],_0x44bb0f=_0x5bd439==null?void 0x0:_0x5bd439[_0xf31a34(0x348)];else{if(_0x6ec382==='colRanges')_0x440da8=(_0x240ad9=_0x32ae4f==null?void 0x0:_0x32ae4f['colInfo'])==null?void 0x0:_0x240ad9[_0x1c8aa8],_0x5bd439=(_0x27a219=_0x43e499['colHeaderMap'])==null?void 0x0:_0x27a219[_0x32b067+0x1+_0x1c8aa8-_0xd3e49['colRanges'][0x0][_0xf31a34(0x22f)]],_0x44bb0f=_0x5bd439==null?void 0x0:_0x5bd439['tableFieldId'];else{if(_0x6ec382==='cornerRanges')_0x440da8=(_0x5dedcf=_0x32ae4f==null?void 0x0:_0x32ae4f['cornerInfo'])==null?void 0x0:_0x5dedcf[_0x1c8aa8],_0x44bb0f=_0x440da8==null?void 0x0:_0x440da8['tableFieldId'];else{if(_0x6ec382===_0xf31a34(0x26c)){const _0x12c3f2=_0x8c4b73==null?void 0x0:_0x8c4b73['fi'];_0x12c3f2!==void 0x0&&(_0x44bb0f=_0x44e917[_0xf31a34(0x1f1)](_0x12c3f2));}}}}return{'filterId':_0x44bb0f,'info':_0x440da8,'data':_0x8c4b73,'headerInfo':_0x5bd439};}function _0x10604e(_0x5ca4bd,_0x3052ec,_0x4729ca){const _0x273d60=_0x254bc1,_0x3b2d9e=_0x5ca4bd[_0x273d60(0x1a7)],_0x406f58=_0x3b2d9e[_0x273d60(0x22a)](),_0x1713ea=new Set();_0x5ca4bd[_0x273d60(0x28c)](_0x419507=>{const _0x57c81b=_0x273d60;_0x1713ea[_0x57c81b(0x2fd)](_0x419507[_0x57c81b(0x15f)]);});const _0x19b411=_0x406f58['map'](_0x59bc71=>{const _0x367685=_0x273d60,_0x47f2ae=_0x3b2d9e[_0x367685(0x365)](_0x59bc71);return{'checked':_0x1713ea[_0x367685(0x2f6)](_0x59bc71),'dataFieldId':_0x47f2ae['id'],'id':_0x47f2ae['id'],'name':_0x3b2d9e[_0x367685(0x2b5)](_0x47f2ae['id']),'type':_0x47f2ae[_0x367685(0x16f)](),'pivotTableId':_0x3052ec};}),_0x424ed6=[];_0x5ca4bd['iterateFieldByArea'](_0x6ee1ef['PivotTableFiledAreaEnum'][_0x273d60(0x19c)],_0x3e931e=>{const _0x31219f=_0x273d60;_0x424ed6[_0x31219f(0x23c)]({'dataFieldId':_0x3e931e[_0x31219f(0x15f)],'tableFieldId':_0x3e931e[_0x31219f(0x443)](),'displayName':_0x3e931e['getDisplayName']()});});const _0x7faf9f=[];_0x5ca4bd[_0x273d60(0x311)](_0x6ee1ef[_0x273d60(0x158)]['Column'],_0x57b4d3=>{const _0x3e3f13=_0x273d60;_0x7faf9f[_0x3e3f13(0x23c)]({'dataFieldId':_0x57b4d3['dataFieldId'],'tableFieldId':_0x57b4d3[_0x3e3f13(0x443)](),'displayName':_0x57b4d3[_0x3e3f13(0x2b5)]()});});const _0x477800=[];if(_0x5ca4bd['iterateFieldByArea'](_0x6ee1ef[_0x273d60(0x158)][_0x273d60(0x206)],_0x3f5c01=>{const _0x800d55=_0x273d60;_0x477800[_0x800d55(0x23c)]({'dataFieldId':_0x3f5c01[_0x800d55(0x15f)],'tableFieldId':_0x3f5c01[_0x800d55(0x443)](),'displayName':_0x3f5c01[_0x800d55(0x2b5)](),'format':_0x3f5c01[_0x800d55(0x38d)](),'subTotalType':_0x3f5c01[_0x800d55(0x1b9)]()});}),_0x477800[_0x273d60(0x3a6)]>0x1){const _0x1c2ae5=_0x5ca4bd[_0x273d60(0x1b8)]();(_0x5ca4bd['isColMultiMeasure']()?_0x7faf9f:_0x424ed6)[_0x273d60(0x216)](_0x1c2ae5,0x0,{'dataFieldId':'','tableFieldId':_0x273d60(0x24e),'displayName':_0x273d60(0x3f3)});}const _0x3220f5=[];_0x5ca4bd['iterateFieldByArea'](_0x6ee1ef[_0x273d60(0x158)][_0x273d60(0x172)],_0x5132e8=>{const _0x40da4f=_0x273d60;_0x3220f5['push']({'dataFieldId':_0x5132e8[_0x40da4f(0x15f)],'tableFieldId':_0x5132e8['getId'](),'displayName':_0x5132e8[_0x40da4f(0x2b5)]()});});const _0x320199=_0x4729ca[_0x273d60(0x3d7)];return{'sourceList':_0x19b411,'sourceRange':_0x320199,'rowFields':_0x424ed6,'columnFields':_0x7faf9f,'valueFields':_0x477800,'filterFields':_0x3220f5,'positionInfo':_0x4729ca['targetCellInfo']};}function _0x834c38(_0x14ad7a,_0x1fd3b4,_0x5356dd='',_0x10a323={}){const _0x4042b4=_0x254bc1,_0x24da6f=_0x14ad7a[_0x4042b4(0x404)](_0x373a9f[_0x4042b4(0x2f8)]);for(const _0x2ed6d9 in _0x1fd3b4)if(Object[_0x4042b4(0x462)]['hasOwnProperty'][_0x4042b4(0x228)](_0x1fd3b4,_0x2ed6d9)){const _0x61e603=_0x5356dd?_0x5356dd+'.'+_0x2ed6d9:_0x2ed6d9;typeof _0x1fd3b4[_0x2ed6d9]==_0x4042b4(0x2b4)&&_0x1fd3b4[_0x2ed6d9]!==null&&!Array[_0x4042b4(0x1f5)](_0x1fd3b4[_0x2ed6d9])?_0x834c38(_0x14ad7a,_0x1fd3b4[_0x2ed6d9],_0x61e603,_0x10a323):_0x10a323[_0x61e603]=_0x24da6f['t'](_0x61e603);}return _0x10a323;}const _0x377430=_0x5bc733=>{const _0x7f69a0=_0x254bc1;if(!_0x5bc733)return[];const {rowRanges:_0x4f37d6,colRanges:_0x148fac,cornerRanges:_0x48f56f,dataRanges:_0x7cccf,pageRanges:_0xf6306a}=_0x5bc733,_0x4778ca=[..._0x148fac,..._0x4f37d6,..._0x7cccf,..._0x48f56f][_0x7f69a0(0x418)](_0x3a8f12=>_0x3a8f12[_0x7f69a0(0x2a5)]>=0x0&&_0x3a8f12['startColumn']>=0x0&&_0x3a8f12[_0x7f69a0(0x42b)]>=0x0&&_0x3a8f12['endColumn']>=0x0);let _0x560d4b=Number[_0x7f69a0(0x3a7)],_0x396355=Number[_0x7f69a0(0x234)],_0x130a7b=Number[_0x7f69a0(0x3a7)],_0x52fa3d=Number['MIN_SAFE_INTEGER'];for(let _0x2981eb=0x0;_0x2981eb<_0x4778ca[_0x7f69a0(0x3a6)];_0x2981eb++)_0x560d4b=Math['min'](_0x560d4b,_0x4778ca[_0x2981eb][_0x7f69a0(0x2a5)]),_0x396355=Math[_0x7f69a0(0x264)](_0x396355,_0x4778ca[_0x2981eb]['endRow']),_0x130a7b=Math[_0x7f69a0(0x346)](_0x130a7b,_0x4778ca[_0x2981eb]['startColumn']),_0x52fa3d=Math[_0x7f69a0(0x264)](_0x52fa3d,_0x4778ca[_0x2981eb][_0x7f69a0(0x3db)]);return[..._0xf6306a,{'startRow':_0x560d4b,'endRow':_0x396355,'startColumn':_0x130a7b,'endColumn':_0x52fa3d}];};function _0x2dee28(_0x1f75bd,_0x351564){const _0x51d1fe=_0x254bc1,_0xe4248e=_0x351564[_0x51d1fe(0x2ee)][_0x51d1fe(0x337)],{pivotTableId:_0xfab21f,unitId:_0x109557,subUnitId:_0x4352fa}=_0x351564;if(!_0xe4248e)return;const _0x5224fa=_0x1f75bd[_0x51d1fe(0x404)](_0xca2f35[_0x51d1fe(0x2cb)]),_0x49acc7=_0x5224fa[_0x51d1fe(0x2df)](_0xfab21f),_0x565769=_0x5224fa[_0x51d1fe(0x329)](_0x109557,_0x4352fa,_0xfab21f);if(!_0x49acc7||!_0x565769)return;const _0x363b74=_0x49acc7[_0x51d1fe(0x269)](_0xe4248e['tuple']);if(!(_0x363b74!=null&&_0x363b74['length']))return;const _0x35938f=_0x565769['sourceRangeInfo'],{unitId:_0x43bec8,subUnitId:_0x21755c,range:_0x53b39f}=_0x35938f;let _0x24774b=0x0;const _0x49348d=_0x49acc7[_0x51d1fe(0x1a7)][_0x51d1fe(0x22a)]()[_0x51d1fe(0x204)]((_0x807b44,_0x18085c)=>{const _0x3439dd=_0x51d1fe;var _0x1a7d2b;const _0x1e684a=(_0x1a7d2b=_0x49acc7[_0x3439dd(0x28e)](_0x18085c))==null?void 0x0:_0x1a7d2b['getformat']();return _0x1e684a&&(_0x807b44[String(_0x24774b)]=_0x1e684a),_0x24774b++,_0x807b44;},{});return{'indexes':_0x363b74,'range':_0x53b39f,'sourceUnitId':_0x43bec8,'sourceSubUnitId':_0x21755c,'formatMap':_0x49348d};}function _0x235a8b(_0x2e711c,_0x24e5e9){const _0x37cce3=_0x254bc1;if(!_0x2e711c||!_0x24e5e9)return!0x0;const _0x3bd167=_0x2291e4['unshiftString'](_0x3dfee5,_0x524a2c),_0x31f893=new Function(_0x37cce3(0x17e)+_0x3bd167)()(_0x2e711c,_0x24e5e9)['message'],_0x52479e=_0x2291e4[_0x37cce3(0x295)](_0x31f893,'sf',_0x12a30f);return!((_0x31f893==null?void 0x0:_0x31f893['rt'])===_0x2291e4['ReleaseType'][_0x37cce3(0x410)]&&!_0x52479e);}function _0x45cb20(_0x3eafc0,_0x44984c,_0x29c408){const _0x1a5265=_0x254bc1,_0x3e8202={'count':_0x3eafc0,'timeValid':!0x1};if(!_0x44984c||!_0x29c408)return _0x3e8202;const _0x45ec6d=_0x2291e4['unshiftString'](_0x3dfee5,_0x524a2c),_0x58ff9a=new Function(_0x1a5265(0x17e)+_0x45ec6d)()(_0x44984c,_0x29c408);if(_0x58ff9a!=null&&_0x58ff9a[_0x1a5265(0x29f)]){const _0x1fcc92=_0x58ff9a[_0x1a5265(0x2c8)],_0x44f1b5=_0x2291e4[_0x1a5265(0x295)](_0x1fcc92,'sf',_0x12a30f);return{'count':_0x2291e4[_0x1a5265(0x27e)](_0x1fcc92,_0x44f1b5,_0x1a5265(0x347),_0x3eafc0,_0x3eafc0,0x0),'timeValid':_0x44f1b5};}return _0x3e8202;}function _0x6a93e8(_0x4b82c3,_0x52efc8,_0x3ef47f,_0x402f2b){const _0x3aa45d=_0x254bc1,_0x4aa5f2={'subUnitId':_0x3ef47f,'unitId':_0x52efc8,'cellValue':_0x204566[_0x3aa45d(0x374)](_0x402f2b)},_0x165501=_0x204566[_0x3aa45d(0x16c)](_0x4b82c3,_0x4aa5f2);let _0x4d3944=!0x1;return new _0x373a9f[(_0x3aa45d(0x2db))](_0x165501[_0x3aa45d(0x2f9)])[_0x3aa45d(0x45c)]((_0x358131,_0xb620e2,_0x2abd97)=>{const _0x21d546=_0x3aa45d;if(!_0x4d3944&&_0x2abd97&&(_0x2abd97[_0x21d546(0x2f1)]||_0x2abd97['f']||_0x2abd97['p']||_0x2abd97['s']||_0x2abd97['si']||_0x2abd97['t']||_0x2abd97['v']))return _0x4d3944=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x204566['SetRangeValuesMutation']['id'],'params':_0x165501},'setRangeValueRedoMutation':{'id':_0x204566[_0x3aa45d(0x3c5)]['id'],'params':_0x4aa5f2},'shouldClear':_0x4d3944};}function _0xba84c5(_0x143950){const {row:_0x21dfa7,col:_0x4faa20}=_0x143950,_0x27d9d9={'startRow':_0x21dfa7,'endRow':_0x21dfa7,'startColumn':_0x4faa20,'endColumn':_0x4faa20},_0x2604a7={'startRow':_0x21dfa7+0x2,'endRow':_0x21dfa7+0xe,'startColumn':_0x4faa20,'endColumn':_0x4faa20+0x6};return[_0x27d9d9,_0x2604a7];}function _0x4c6849(_0x3468bc,_0x2d7ce8,_0x59e095){const _0x4db50a=_0x254bc1,{cornerView:_0xe50697,rowView:_0x4a3c8b,colView:_0x40d299,pageView:_0x5cbc74}=_0x3468bc,{row:_0x22e7d3,col:_0x5344f4}=_0x2d7ce8;if(_0x59e095)return{'rowCount':_0x4be2d2+_0x22e7d3,'colCount':_0x15a831+_0x5344f4};const _0x371a3a=_0x5cbc74[_0x4db50a(0x20b)]>-0x1?_0x5cbc74[_0x4db50a(0x20b)]+0x1:0x0,_0x4284f6=_0x5cbc74[_0x4db50a(0x164)]>-0x1?_0x5cbc74[_0x4db50a(0x164)]:0x0,_0x3a246c=_0x22e7d3+_0x371a3a+(_0x371a3a?0x1:0x0)+_0xe50697['rowCount']+_0x4a3c8b[_0x4db50a(0x3cb)],_0x20c09b=_0x5344f4+_0x4284f6,_0x477012=_0x5344f4+_0xe50697[_0x4db50a(0x3fe)]+_0x40d299[_0x4db50a(0x3fe)],_0x4f8976=Math[_0x4db50a(0x264)](_0x20c09b,_0x477012);return{'rowCount':_0x3a246c,'colCount':_0x4f8976};}function _0x4853f9(_0x340ff9,_0x12e67e,_0x27afd4,_0x1fb369){const _0x40dfce=_0x254bc1,{row:_0x22a459,col:_0x271eca,unitId:_0xd81956,subUnitId:_0x5a5154}=_0x27afd4,_0x431909=_0x4c6849(_0x12e67e,{'row':_0x22a459,'col':_0x271eca},_0x1fb369),_0x11e756=_0x340ff9[_0x40dfce(0x404)](_0x373a9f['IUniverInstanceService']),_0x52b5f3=_0x204566[_0x40dfce(0x1d7)](_0x11e756,{'unitId':_0xd81956,'subUnitId':_0x5a5154}),_0x427182=[],_0x5aca5d=[];if(!_0x52b5f3)return{'undos':_0x5aca5d,'redos':_0x427182};const {worksheet:_0x16e5b9}=_0x52b5f3,_0x45692f=_0x16e5b9['getRowCount'](),_0x31f5d3=_0x16e5b9[_0x40dfce(0x181)]();return _0x45692f<_0x431909['rowCount']&&(_0x427182['push']({'id':_0x204566['InsertRowMutation']['id'],'params':{'unitId':_0xd81956,'subUnitId':_0x5a5154,'range':{'startRow':_0x45692f,'endRow':_0x431909[_0x40dfce(0x3cb)]-0x1,'startColumn':0x0,'endColumn':_0x31f5d3-0x1}}}),_0x5aca5d[_0x40dfce(0x23c)]({'id':_0x204566[_0x40dfce(0x352)]['id'],'params':{'unitId':_0xd81956,'subUnitId':_0x5a5154,'range':{'startRow':_0x45692f,'endRow':_0x431909[_0x40dfce(0x3cb)]-0x1,'startColumn':0x0,'endColumn':_0x31f5d3-0x1}}})),_0x31f5d3<_0x431909[_0x40dfce(0x3fe)]&&(_0x427182[_0x40dfce(0x23c)]({'id':_0x204566[_0x40dfce(0x24d)]['id'],'params':{'unitId':_0xd81956,'subUnitId':_0x5a5154,'range':{'startRow':0x0,'endRow':_0x45692f-0x1,'startColumn':_0x31f5d3,'endColumn':_0x431909['colCount']-0x1}}}),_0x5aca5d[_0x40dfce(0x23c)]({'id':_0x204566[_0x40dfce(0x25d)]['id'],'params':{'unitId':_0xd81956,'subUnitId':_0x5a5154,'range':{'startRow':0x0,'endRow':_0x45692f-0x1,'startColumn':_0x31f5d3,'endColumn':_0x431909[_0x40dfce(0x3fe)]-0x1}}})),{'undos':_0x5aca5d,'redos':_0x427182};}function _0x39d6cd(_0xc0d714){const _0x2eca89=_0x254bc1;let _0x311745=0x0;for(let _0x2c8330=0x0;_0x2c8330<_0xc0d714[_0x2eca89(0x3a6)];_0x2c8330++){const _0x5a7dae=_0xc0d714[_0x2eca89(0x162)](_0x2c8330);_0x5a7dae>=0x4e00&&_0x5a7dae<=0x9fff||_0x5a7dae>=0x3000&&_0x5a7dae<=0x303f||_0x5a7dae>=0xff00&&_0x5a7dae<=0xffef?_0x311745+=0x2:_0x311745+=0x1;}return _0x311745;}function _0x17bba9(_0x15e8a9,_0x547e78,_0x1bf34f,_0x4715d6){const _0x119e09=_0x254bc1;var _0x413114,_0xc63031,_0x502e40,_0xba2565;const {rowCount:_0x1a0803,colCount:_0x174f61,headerMap:_0x1ad655}=_0x15e8a9,_0x7004ec=0x64,_0x33c273=Math[_0x119e09(0x346)](_0x1a0803,_0x7004ec),_0x2d5867=Math['min'](_0x174f61,_0x7004ec);let _0x48d260='',_0x561f88=0x0;for(let _0x387285=0x0;_0x387285<_0x33c273;_0x387285++)for(let _0x2a501f=0x0;_0x2a501f<_0x2d5867;_0x2a501f++){const _0x3b3d4a={...(_0xc63031=(_0x413114=_0x15e8a9[_0x119e09(0x27f)])==null?void 0x0:_0x413114[_0x387285])==null?void 0x0:_0xc63031[_0x2a501f]},_0x2fe741=(_0x502e40=_0x1ad655[_0x387285])==null?void 0x0:_0x502e40['tableFieldId'],_0x116448=_0x4715d6[_0x2fe741];let _0x5b4b80=_0x15e8a9[_0x119e09(0x3fd)](_0x387285,_0x2a501f);if(_0x3b3d4a){const _0x509c92=_0x1bf34f?_0x2a501f===0x0&&((_0xba2565=_0x15e8a9[_0x119e09(0x263)](_0x2a501f+0x1))==null?void 0x0:_0xba2565[_0x119e09(0x211)]):!0x1;_0x5b4b80=_0x5f0428(_0x3b3d4a,_0x509c92,_0x116448,_0x547e78);}if(_0x5b4b80!==void 0x0){const _0x281a92=_0x39d6cd(String(_0x5b4b80));_0x561f88<_0x281a92&&(_0x48d260=String(_0x5b4b80),_0x561f88=_0x281a92);}}return _0x48d260;}function _0x16ad7f(_0x2d34a4){const _0x4a6d92=_0x254bc1,{rowCount:_0x3f155d,colCount:_0x2b5d55}=_0x2d34a4;let _0x486d38='',_0x4d7ace=0x0;for(let _0x20e11e=_0x3f155d-0x1;_0x20e11e>0x0&&_0x20e11e>_0x3f155d-0x3;_0x20e11e--)for(let _0x4ffa80=0x0;_0x4ffa80<_0x2b5d55;_0x4ffa80++){const _0x14a407=_0x2d34a4[_0x4a6d92(0x3fd)](_0x20e11e,_0x4ffa80);if(_0x14a407!==void 0x0){const _0xba4d6b=String(_0x14a407)[_0x4a6d92(0x3a6)];_0x4d7ace<_0xba4d6b&&(_0x486d38=String(_0x14a407),_0x4d7ace=_0xba4d6b);}}return _0x486d38;}function _0x520d3e(_0x1fbaf7){const _0x21d2d5=_0x254bc1,{rowCount:_0x23af04,colCount:_0x2c0a7c}=_0x1fbaf7;let _0x57fe71='',_0x1b4c0e=0x0;for(let _0x580289=0x0;_0x580289<_0x23af04;_0x580289++)for(let _0x421157=0x0;_0x421157<_0x2c0a7c;_0x421157++){const _0x1abe05=_0x1fbaf7['getValue'](_0x580289,_0x421157);if(_0x1abe05!==void 0x0){const _0x1b6eb6=String(_0x1abe05)[_0x21d2d5(0x3a6)];_0x1b4c0e<_0x1b6eb6&&(_0x57fe71=String(_0x1abe05),_0x1b4c0e=_0x1b6eb6);}}return _0x57fe71;}function _0x87498d(_0x1b4167,_0x159631){const _0x3d9993=_0x254bc1,{rowFields:_0xccbe94,columnFields:_0x141efe,valueFields:_0x53dca5,filterFields:_0x27b332,dimension:_0x58c12e,measure:_0x6b7c9a}=_0x159631;for(const _0x26862a of _0xccbe94){const _0x4adebb=_0x58c12e[_0x26862a];_0x4adebb&&_0x1b4167['getDataFieldByDataFieldId'](_0x4adebb[_0x3d9993(0x15f)])&&(_0x1b4167[_0x3d9993(0x19d)](_0x4adebb[_0x3d9993(0x15f)],_0x6ee1ef['PivotTableFiledAreaEnum']['Row'],void 0x0,_0x26862a),_0x4adebb[_0x3d9993(0x1ab)]&&_0x1b4167[_0x3d9993(0x466)](_0x4adebb['id'],_0x4adebb['displayName']),_0x4adebb[_0x3d9993(0x1ef)]&&_0x1b4167['setSortInfo'](_0x4adebb['id'],_0x4adebb[_0x3d9993(0x1ef)]),_0x4adebb[_0x3d9993(0x3cd)]&&_0x1b4167[_0x3d9993(0x353)](_0x4adebb['id'],_0x4adebb[_0x3d9993(0x3cd)]));}for(const _0x45281d of _0x141efe){const _0x58c3ed=_0x58c12e[_0x45281d];_0x58c3ed&&_0x1b4167[_0x3d9993(0x28e)](_0x58c3ed[_0x3d9993(0x15f)])&&(_0x1b4167[_0x3d9993(0x19d)](_0x58c3ed[_0x3d9993(0x15f)],_0x6ee1ef[_0x3d9993(0x158)]['Column'],void 0x0,_0x45281d),_0x58c3ed[_0x3d9993(0x1ef)]&&_0x1b4167[_0x3d9993(0x320)](_0x58c3ed['id'],_0x58c3ed[_0x3d9993(0x1ef)]),_0x58c3ed[_0x3d9993(0x3cd)]&&_0x1b4167[_0x3d9993(0x353)](_0x58c3ed['id'],_0x58c3ed['filterInfo']),_0x58c3ed['displayName']&&_0x1b4167['renameField'](_0x58c3ed['id'],_0x58c3ed['displayName']));}for(const _0x2ab91c of _0x27b332){const _0x4761a4=_0x58c12e[_0x2ab91c];_0x4761a4&&_0x1b4167['getDataFieldByDataFieldId'](_0x4761a4[_0x3d9993(0x15f)])&&(_0x1b4167[_0x3d9993(0x19d)](_0x4761a4[_0x3d9993(0x15f)],_0x6ee1ef['PivotTableFiledAreaEnum'][_0x3d9993(0x172)],void 0x0,_0x2ab91c),_0x4761a4[_0x3d9993(0x1ef)]&&_0x1b4167['setSortInfo'](_0x4761a4['id'],_0x4761a4[_0x3d9993(0x1ef)]),_0x4761a4[_0x3d9993(0x3cd)]&&_0x1b4167[_0x3d9993(0x353)](_0x4761a4['id'],_0x4761a4['filterInfo']),_0x4761a4[_0x3d9993(0x1ab)]&&_0x1b4167[_0x3d9993(0x466)](_0x4761a4['id'],_0x4761a4['displayName']));}for(const _0x3eca81 of _0x53dca5){const _0x101643=_0x6b7c9a[_0x3eca81];_0x101643&&_0x1b4167['getDataFieldByDataFieldId'](_0x101643[_0x3d9993(0x15f)])&&(_0x1b4167[_0x3d9993(0x19d)](_0x101643[_0x3d9993(0x15f)],_0x6ee1ef[_0x3d9993(0x158)]['Value'],void 0x0,_0x3eca81),_0x101643['subtotal']!==void 0x0&&_0x1b4167[_0x3d9993(0x34c)](_0x3eca81,_0x101643['subtotal']),_0x101643['format']&&_0x1b4167[_0x3d9993(0x217)](_0x3eca81,_0x101643[_0x3d9993(0x286)]),_0x101643['displayName']&&_0x1b4167[_0x3d9993(0x466)](_0x101643['id'],_0x101643[_0x3d9993(0x1ab)]));}const _0x339d69=_0x159631[_0x3d9993(0x1c4)];for(const {fieldId:_0x15c3a5,filterInfo:_0x306c20}of _0x339d69)_0x1b4167['setValueFilterInfo'](_0x15c3a5,_0x306c20);}function _0x55f7e1(_0x2bef3b,_0x1b8a00){const _0x33bee9=_0x254bc1,_0x27c99c=[];_0x1b8a00===_0x6ee1ef[_0x33bee9(0x158)][_0x33bee9(0x19c)]&&_0x2bef3b['iterateFieldByArea'](_0x6ee1ef['PivotTableFiledAreaEnum'][_0x33bee9(0x19c)],_0x2d0893=>{const _0x3146be=_0x33bee9;_0x27c99c['push'](_0x2d0893[_0x3146be(0x443)]());}),_0x1b8a00===_0x6ee1ef[_0x33bee9(0x158)]['Column']&&_0x2bef3b[_0x33bee9(0x311)](_0x6ee1ef['PivotTableFiledAreaEnum'][_0x33bee9(0x3b9)],_0x277ac7=>{const _0x53dee4=_0x33bee9;_0x27c99c[_0x53dee4(0x23c)](_0x277ac7[_0x53dee4(0x443)]());}),_0x1b8a00===_0x6ee1ef[_0x33bee9(0x158)][_0x33bee9(0x172)]&&_0x2bef3b[_0x33bee9(0x311)](_0x6ee1ef['PivotTableFiledAreaEnum'][_0x33bee9(0x172)],_0xb3c4d0=>{const _0x4787d2=_0x33bee9;_0x27c99c[_0x4787d2(0x23c)](_0xb3c4d0['getId']());}),_0x1b8a00===_0x6ee1ef['PivotTableFiledAreaEnum'][_0x33bee9(0x206)]&&_0x2bef3b['iterateFieldByArea'](_0x6ee1ef['PivotTableFiledAreaEnum']['Value'],_0xbd30c3=>{const _0x54bddf=_0x33bee9;_0x27c99c[_0x54bddf(0x23c)](_0xbd30c3[_0x54bddf(0x443)]());}),_0x1b8a00===void 0x0&&_0x2bef3b[_0x33bee9(0x28c)](_0x3e6285=>{const _0x207e57=_0x33bee9;_0x27c99c[_0x207e57(0x23c)](_0x3e6285['getId']());});const _0xadd2b8=_0x27c99c[_0x33bee9(0x3a6)];for(let _0x494b4b=_0xadd2b8-0x1;_0x494b4b>=0x0;_0x494b4b--)_0x2bef3b['removeField'](_0x27c99c[_0x494b4b]);const _0x5f8df1=_0x2bef3b['getValueFilterInfos']();for(const _0x5cf233 in _0x5f8df1)_0x2bef3b[_0x33bee9(0x215)](_0x5cf233);}function _0x5a7317(_0x474744,_0x1e7ccd){const _0x1bcea2=_0x254bc1,_0x954b30=new Date(_0x6ee1ef[_0x1bcea2(0x179)](_0x1e7ccd)),_0x508df1=new Date(_0x6ee1ef['excelDateToUnixMilliseconds'](_0x474744)),_0x139303=_0x954b30['getFullYear'](),_0x3df1b4=_0x508df1[_0x1bcea2(0x2c0)](),_0x3097f0=_0x954b30[_0x1bcea2(0x1ac)](),_0x39f481=_0x508df1[_0x1bcea2(0x1ac)](),_0x524808=_0x954b30[_0x1bcea2(0x409)](),_0x1593fa=_0x508df1[_0x1bcea2(0x409)](),_0xa92d7b=_0x139303===_0x3df1b4,_0xda9e8d=_0xa92d7b&&_0x3097f0===_0x39f481;return _0xa92d7b&&_0xda9e8d&&!(_0xda9e8d&&_0x524808===_0x1593fa)?_0x6ee1ef['PivotDateGroupFieldDateTypeEnum'][_0x1bcea2(0x3a4)]:_0xa92d7b&&!_0xda9e8d?_0x6ee1ef[_0x1bcea2(0x3f5)][_0x1bcea2(0x1fb)]:_0x6ee1ef[_0x1bcea2(0x3f5)][_0x1bcea2(0x1b5)];}function _0x28a53d(_0x28fe52,_0x465642){const _0x2c2395=_0x254bc1,_0x19e32d=_0x28fe52[_0x2c2395(0x404)](_0xca2f35[_0x2c2395(0x2cb)])[_0x2c2395(0x2e9)]();let _0x48b33b='';switch(_0x465642){case _0x6ee1ef[_0x2c2395(0x3f5)]['YearMonthDate']:_0x48b33b=_0x19e32d['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x6ee1ef['PivotDateGroupFieldDateTypeEnum'][_0x2c2395(0x1fb)]:_0x48b33b=_0x19e32d[_0x2c2395(0x452)];break;case _0x6ee1ef[_0x2c2395(0x3f5)]['Year']:_0x48b33b=_0x19e32d[_0x2c2395(0x351)];break;case _0x6ee1ef['PivotDateGroupFieldDateTypeEnum'][_0x2c2395(0x3e6)]:_0x48b33b=_0x19e32d['sheets-pivot.dateGroup.month'];break;case _0x6ee1ef[_0x2c2395(0x3f5)][_0x2c2395(0x411)]:_0x48b33b=_0x19e32d[_0x2c2395(0x2d8)];break;case _0x6ee1ef[_0x2c2395(0x3f5)][_0x2c2395(0x1a0)]:_0x48b33b=_0x19e32d[_0x2c2395(0x279)];break;case _0x6ee1ef[_0x2c2395(0x3f5)]['HourMinute']:_0x48b33b=_0x19e32d[_0x2c2395(0x290)];break;case _0x6ee1ef['PivotDateGroupFieldDateTypeEnum'][_0x2c2395(0x21a)]:_0x48b33b=_0x19e32d['sheets-pivot.dateGroup.hour'];break;case _0x6ee1ef[_0x2c2395(0x3f5)][_0x2c2395(0x2ad)]:_0x48b33b=_0x19e32d[_0x2c2395(0x2b8)];break;case _0x6ee1ef[_0x2c2395(0x3f5)]['MonthDate']:_0x48b33b=_0x19e32d[_0x2c2395(0x252)];break;case _0x6ee1ef[_0x2c2395(0x3f5)][_0x2c2395(0x271)]:_0x48b33b=_0x19e32d['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x48b33b='';break;}return _0x48b33b;}const _0x1ed690=_0x254bc1(0x345),_0x3dfca3={};var _0xf4c3d3=Object[_0x254bc1(0x1f0)],_0x3577ae=(_0x2a285d,_0x3e31ab,_0x49fa8f,_0x1c2b8d)=>{const _0x1c5738=_0x254bc1;for(var _0x3a065d=_0x1c2b8d>0x1?void 0x0:_0x1c2b8d?_0xf4c3d3(_0x3e31ab,_0x49fa8f):_0x3e31ab,_0x144882=_0x2a285d[_0x1c5738(0x3a6)]-0x1,_0x5d2a00;_0x144882>=0x0;_0x144882--)(_0x5d2a00=_0x2a285d[_0x144882])&&(_0x3a065d=_0x5d2a00(_0x3a065d)||_0x3a065d);return _0x3a065d;},_0x5d2001=(_0x229bf5,_0x329fd4)=>(_0x1584c4,_0x51eed0)=>_0x329fd4(_0x1584c4,_0x51eed0,_0x229bf5);_0xca2f35['SheetsPivotTableConfigModel']=class extends _0x373a9f[_0x254bc1(0x292)]{constructor(_0x3c0ca7,_0x4637d4,_0x33eeb2,_0x395866,_0x5903a3){const _0xc31e48=_0x254bc1;super(),_0x9a3aa2(this,_0xc31e48(0x2ca),new Map()),_0x9a3aa2(this,_0xc31e48(0x16a),new Map()),_0x9a3aa2(this,_0xc31e48(0x350),new Map()),_0x9a3aa2(this,_0xc31e48(0x2ac),new Map()),_0x9a3aa2(this,_0xc31e48(0x32e),new _0x124e24[(_0xc31e48(0x1e9))]()),_0x9a3aa2(this,_0xc31e48(0x332),new _0x124e24[(_0xc31e48(0x1e9))]()),_0x9a3aa2(this,_0xc31e48(0x3de),this[_0xc31e48(0x332)][_0xc31e48(0x2e6)]()),_0x9a3aa2(this,_0xc31e48(0x3c3),new _0x124e24['Subject']()),_0x9a3aa2(this,_0xc31e48(0x3da),this[_0xc31e48(0x3c3)][_0xc31e48(0x2e6)]()),_0x9a3aa2(this,'_textInfo',{}),_0x9a3aa2(this,_0xc31e48(0x296),this['_configVersion$']['asObservable']()),(this[_0xc31e48(0x3ca)]=_0x3c0ca7,this['_commandService']=_0x4637d4,this[_0xc31e48(0x182)]=_0x33eeb2,this[_0xc31e48(0x2e7)]=_0x395866,this[_0xc31e48(0x3d1)]=_0x5903a3,this['_initLocale'](),this[_0xc31e48(0x3f6)]());const _0x340383=this[_0xc31e48(0x3d1)][_0xc31e48(0x249)](_0x1ed690);(_0x340383==null?void 0x0:_0x340383['notExecuteFormula'])===!0x0&&this['_initSnapshot']();}[_0x254bc1(0x3f6)](){const _0x55017b=_0x254bc1;this[_0x55017b(0x165)](this['_univerInstanceService'][_0x55017b(0x192)](_0x373a9f[_0x55017b(0x15d)]['UNIVER_SHEET'])['subscribe'](_0x4f010e=>{const _0x4b1208=_0x55017b;this[_0x4b1208(0x36c)](_0x4f010e['getUnitId']());}));}['setPivotInitCompleted'](){const _0x412ebf=_0x254bc1;this['_pivotInitCompleted$'][_0x412ebf(0x1e4)](!0x0);}[_0x254bc1(0x1f3)](){const _0x3f91b1=_0x254bc1,_0x168052=_0x834c38(this['_injector'],_0x145720,'',{});this[_0x3f91b1(0x32d)]=_0x168052,this[_0x3f91b1(0x3c1)][_0x3f91b1(0x220)](_0x2c9b7e['id'],{'textInfo':_0x168052},{'onlyLocal':!0x0});}[_0x254bc1(0x2e9)](){const _0x1dc3f8=_0x254bc1;return this[_0x1dc3f8(0x32d)];}['updateViewInfo'](_0x4746da,_0x2e4b86,_0x4a595d,_0x3932a1,_0x18f694){const _0x2f4f2f=_0x254bc1;this[_0x2f4f2f(0x322)](_0x4746da,_0x2e4b86,_0x4a595d,_0x3932a1),this['updatePivotTableRangeInfo'](_0x4746da,_0x2e4b86,_0x4a595d,_0x18f694);}['getPivotTableConfig'](_0xb9dc0e,_0x3d3fdb,_0x505a1c){const _0x47462e=_0x254bc1;var _0x4e5dde;const _0x3d3e2a=(_0x4e5dde=this[_0x47462e(0x2ca)][_0x47462e(0x404)](_0xb9dc0e))==null?void 0x0:_0x4e5dde[_0x47462e(0x404)](_0x3d3fdb);if(_0x3d3e2a)return _0x3d3e2a[_0x47462e(0x404)](_0x505a1c);}[_0x254bc1(0x2de)](_0x4a7b00,_0x14dcdf){const _0x385598=_0x254bc1,_0x3b271a=this[_0x385598(0x2ca)][_0x385598(0x404)](_0x4a7b00);if(_0x3b271a){for(const [_0x28a7d0,_0xf24651]of _0x3b271a[_0x385598(0x42a)]())for(const [_0x47f25a,_0x5c2d31]of _0xf24651[_0x385598(0x42a)]())if(_0x47f25a===_0x14dcdf)return _0x5c2d31['targetCellInfo'];}}[_0x254bc1(0x317)](_0x52fce1,_0x21ed81,_0x5e208a){const _0x2e7cdc=_0x254bc1,_0x3d0d93=this['getPivotTableConfig'](_0x52fce1,_0x21ed81,_0x5e208a);return _0x3d0d93==null?void 0x0:_0x3d0d93[_0x2e7cdc(0x41a)];}['getSubUnitPivotConfigs'](_0x4ae562,_0x5a065b){const _0x24bfe3=_0x254bc1;var _0x5f03dc;return(_0x5f03dc=this[_0x24bfe3(0x2ca)]['get'](_0x4ae562))==null?void 0x0:_0x5f03dc['get'](_0x5a065b);}['updateConfigCache'](_0x1f5f8b,_0x3da1e8,_0x235635,_0x2578dc){const _0x85c112=_0x254bc1,_0x1e1782=this[_0x85c112(0x3ef)](_0x1f5f8b,_0x3da1e8);_0x2578dc?_0x1e1782[_0x85c112(0x377)](_0x235635,_0x2578dc):_0x1e1782['delete'](_0x235635),this[_0x85c112(0x3c3)][_0x85c112(0x1e4)]({'unitId':_0x1f5f8b,'subUnitId':_0x3da1e8,'pivotTableId':_0x235635,'pivotTableConfig':_0x2578dc});}[_0x254bc1(0x3dc)](_0x2edacc,_0x2f04fe){const _0x44e9e2=_0x254bc1;var _0x2cbdd8;return(_0x2cbdd8=this['_collectionConfigModel']['get'](_0x2edacc))==null?void 0x0:_0x2cbdd8[_0x44e9e2(0x20d)][_0x2f04fe];}[_0x254bc1(0x250)](_0x3fe564,_0x27ba5c){const _0x4dc5dd=_0x254bc1;this['_collectionConfigModel'][_0x4dc5dd(0x377)](_0x3fe564,_0x27ba5c),this[_0x4dc5dd(0x32e)]['next'](Math['random']());}[_0x254bc1(0x3ef)](_0x339836,_0x31954b){const _0x2c7873=_0x254bc1;let _0x8d8b81=this[_0x2c7873(0x2ca)]['get'](_0x339836);_0x8d8b81||(_0x8d8b81=new Map(),this[_0x2c7873(0x2ca)]['set'](_0x339836,_0x8d8b81));let _0x3b43a5=_0x8d8b81['get'](_0x31954b);return _0x3b43a5||(_0x3b43a5=new Map(),_0x8d8b81[_0x2c7873(0x377)](_0x31954b,_0x3b43a5)),_0x3b43a5;}[_0x254bc1(0x169)](_0x2a9551,_0x4c58ae){const _0x26a32e=_0x254bc1;let _0x2a9356=this['_pivotTableRangeInfo'][_0x26a32e(0x404)](_0x2a9551);_0x2a9356||(_0x2a9356=new Map(),this[_0x26a32e(0x350)][_0x26a32e(0x377)](_0x2a9551,_0x2a9356));let _0x1b1431=_0x2a9356[_0x26a32e(0x404)](_0x4c58ae);return _0x1b1431||(_0x1b1431=new Map(),_0x2a9356['set'](_0x4c58ae,_0x1b1431)),_0x1b1431;}[_0x254bc1(0x160)](_0x2a79a5,_0x2e1848){const _0x2c605a=_0x254bc1;let _0x54a642=this[_0x2c605a(0x2ac)][_0x2c605a(0x404)](_0x2a79a5);_0x54a642||(_0x54a642=new Map(),this[_0x2c605a(0x2ac)][_0x2c605a(0x377)](_0x2a79a5,_0x54a642));let _0x4ef92a=_0x54a642[_0x2c605a(0x404)](_0x2e1848);return _0x4ef92a||(_0x4ef92a=new Map(),_0x54a642[_0x2c605a(0x377)](_0x2e1848,_0x4ef92a)),_0x4ef92a;}[_0x254bc1(0x1d5)](_0x515048,_0x996aa6,_0x31f042,_0x315103){const _0x42acda=_0x254bc1;var _0x274b41;const _0xab695b=this[_0x42acda(0x169)](_0x515048,_0x996aa6),_0x13bf6b=(_0x274b41=_0xab695b['get'](_0x31f042))==null?void 0x0:_0x274b41[_0x42acda(0x42f)];_0xab695b[_0x42acda(0x377)](_0x31f042,{'oldRangeInfo':_0x13bf6b,'rangeInfo':_0x315103});}[_0x254bc1(0x322)](_0x1f529d,_0xd456a1,_0x599810,_0x1d08e5){const _0x12195d=_0x254bc1;var _0x2d0659;const _0x2b4c89=this[_0x12195d(0x160)](_0x1f529d,_0xd456a1),_0x11d34a=(_0x2d0659=_0x2b4c89['get'](_0x599810))==null?void 0x0:_0x2d0659[_0x12195d(0x237)];_0x2b4c89[_0x12195d(0x377)](_0x599810,{'oldMatrix':_0x11d34a,'matrix':_0x1d08e5});}['getPivotTableRangeInfo'](_0x2c1c69,_0x38d816,_0x4f26e0){const _0x5ceffd=_0x254bc1;var _0x1f5595,_0x2b1efb;return(_0x2b1efb=(_0x1f5595=this['_pivotTableRangeInfo'][_0x5ceffd(0x404)](_0x2c1c69))==null?void 0x0:_0x1f5595['get'](_0x38d816))==null?void 0x0:_0x2b1efb['get'](_0x4f26e0);}[_0x254bc1(0x218)](_0x110389,_0x23a2df,_0x39b010){const _0x243bff=_0x254bc1;var _0x2f7f79,_0x18ff38;return(_0x18ff38=(_0x2f7f79=this[_0x243bff(0x2ac)][_0x243bff(0x404)](_0x110389))==null?void 0x0:_0x2f7f79['get'](_0x23a2df))==null?void 0x0:_0x18ff38[_0x243bff(0x404)](_0x39b010);}[_0x254bc1(0x36c)](_0x17e38e){const _0x4a7a0a=_0x254bc1;this[_0x4a7a0a(0x2ca)][_0x4a7a0a(0x1a1)](_0x17e38e),this['_collectionConfigModel'][_0x4a7a0a(0x1a1)](_0x17e38e);}['_toJSON'](_0x374750){const _0x75f0d4=_0x254bc1,_0x3b44ab={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x75f0d4(0x16a)][_0x75f0d4(0x404)](_0x374750)&&(_0x3b44ab[_0x75f0d4(0x274)][_0x374750]=this[_0x75f0d4(0x16a)][_0x75f0d4(0x404)](_0x374750)),this[_0x75f0d4(0x2ca)][_0x75f0d4(0x404)](_0x374750)){_0x3b44ab['pivotTableConfigs'][_0x374750]={};const _0x52f7eb=this[_0x75f0d4(0x2ca)][_0x75f0d4(0x404)](_0x374750);_0x52f7eb!=null&&_0x52f7eb[_0x75f0d4(0x35a)]&&[..._0x52f7eb[_0x75f0d4(0x3b6)]()]['forEach'](_0x393fd4=>{const _0x306650=_0x75f0d4,_0x3a1894=_0x52f7eb['get'](_0x393fd4);_0x3a1894!=null&&_0x3a1894[_0x306650(0x35a)]&&(_0x3b44ab[_0x306650(0x20a)][_0x374750][_0x393fd4]={},[..._0x3a1894[_0x306650(0x3b6)]()][_0x306650(0x2b2)](_0x2dcb30=>{const _0x1f9b8c=_0x306650,_0x27a234=_0x3a1894[_0x1f9b8c(0x404)](_0x2dcb30);_0x27a234&&(_0x3b44ab[_0x1f9b8c(0x20a)][_0x374750][_0x393fd4][_0x2dcb30]=_0x27a234);}));});}return _0x3b44ab;}['_initSnapshot'](){const _0x142ee4=_0x254bc1;this[_0x142ee4(0x165)](this[_0x142ee4(0x2e7)]['registerPluginResource']({'toJson':_0x12a74b=>JSON[_0x142ee4(0x1b4)](this[_0x142ee4(0x278)](_0x12a74b)),'parseJson':_0x24fa4e=>({}),'businesses':[_0x373a9f['UniverInstanceType'][_0x142ee4(0x3bd)]],'pluginName':_0x5d0173,'onLoad':(_0x1c854d,_0x55573f)=>{},'onUnLoad':_0x2bc1fb=>{this['deleteUnitId'](_0x2bc1fb);}}));}},_0xca2f35[_0x254bc1(0x18d)]=_0x3577ae([_0x5d2001(0x0,_0x373a9f[_0x254bc1(0x308)](_0x373a9f[_0x254bc1(0x42e)])),_0x5d2001(0x1,_0x373a9f[_0x254bc1(0x308)](_0x373a9f[_0x254bc1(0x1fe)])),_0x5d2001(0x2,_0x373a9f[_0x254bc1(0x308)](_0x373a9f[_0x254bc1(0x243)])),_0x5d2001(0x3,_0x373a9f[_0x254bc1(0x308)](_0x373a9f[_0x254bc1(0x29d)])),_0x5d2001(0x4,_0x373a9f[_0x254bc1(0x308)](_0x373a9f['IConfigService']))],_0xca2f35[_0x254bc1(0x18d)]);var _0x5c01bb=Object['getOwnPropertyDescriptor'],_0x56f5d2=(_0x118938,_0x99d4a2,_0x2ecb7a,_0x24122a)=>{for(var _0x1cf982=_0x24122a>0x1?void 0x0:_0x24122a?_0x5c01bb(_0x99d4a2,_0x2ecb7a):_0x99d4a2,_0x6b4d21=_0x118938['length']-0x1,_0x539518;_0x6b4d21>=0x0;_0x6b4d21--)(_0x539518=_0x118938[_0x6b4d21])&&(_0x1cf982=_0x539518(_0x1cf982)||_0x1cf982);return _0x1cf982;},_0x466f9c=(_0x55b53e,_0x38076a)=>(_0x5129e8,_0x30b02a)=>_0x38076a(_0x5129e8,_0x30b02a,_0x55b53e);_0xca2f35['SheetsPivotTableAdaptorModel']=class extends _0x373a9f[_0x254bc1(0x292)]{constructor(_0x4d9e6d,_0x5a585e,_0xc6cd4a,_0x274142,_0x4f126e){const _0x3e960d=_0x254bc1;super(),_0x9a3aa2(this,_0x3e960d(0x198),new Map()),_0x9a3aa2(this,_0x3e960d(0x199),new Map()),_0x9a3aa2(this,_0x3e960d(0x176),new _0x124e24[(_0x3e960d(0x1e9))]()),_0x9a3aa2(this,_0x3e960d(0x423),this['_markDirty$'][_0x3e960d(0x2e6)]()),_0x9a3aa2(this,_0x3e960d(0x1d9),new _0x124e24['Subject']()),_0x9a3aa2(this,_0x3e960d(0x157),this[_0x3e960d(0x1d9)][_0x3e960d(0x2e6)]()),_0x9a3aa2(this,_0x3e960d(0x32d)),(this[_0x3e960d(0x447)]=_0x4d9e6d,this[_0x3e960d(0x3ca)]=_0x5a585e,this[_0x3e960d(0x24a)]=_0xc6cd4a,this['_univerInstanceService']=_0x274142,this[_0x3e960d(0x420)]=_0x4f126e,this[_0x3e960d(0x1f3)](),this[_0x3e960d(0x3f6)]());}[_0x254bc1(0x3f6)](){const _0x4f6726=_0x254bc1;this[_0x4f6726(0x165)](this[_0x4f6726(0x182)]['getTypeOfUnitDisposed$'](_0x373a9f[_0x4f6726(0x15d)][_0x4f6726(0x3bd)])[_0x4f6726(0x3ee)](_0x372059=>{const _0x555674=_0x4f6726;this[_0x555674(0x36c)](_0x372059[_0x555674(0x1a2)]());}));}['_initLocale'](){const _0xc8236d=_0x254bc1;this[_0xc8236d(0x32d)]=_0x834c38(this[_0xc8236d(0x3ca)],_0x145720,'',{});}[_0x254bc1(0x2cc)](_0x3949ea){const _0x17bb6e=_0x254bc1,{view:_0x1886c6,unitId:_0x1f532e,subUnitId:_0x4f3a97,pivotTableId:_0x621f5c,type:_0x481860}=_0x3949ea,_0x10a005=this[_0x17bb6e(0x24a)][_0x17bb6e(0x329)](_0x1f532e,_0x4f3a97,_0x621f5c);if(!_0x1886c6||!_0x10a005||_0x481860===_0x17805c[_0x17bb6e(0x288)])return;const {pageView:_0x4093d7,cornerView:_0x3f1400,rowView:_0x3b40c1,colView:_0x4c4a25,dataView:_0x1025f5}=_0x1886c6,_0x455d92=_0x10a005[_0x17bb6e(0x41a)],_0x119544=_0x10a005[_0x17bb6e(0x44a)],_0x3407f5=this[_0x17bb6e(0x366)](_0x1f532e,_0x4f3a97),_0x24a93a=this[_0x17bb6e(0x39b)](_0x1f532e,_0x4f3a97,_0x621f5c);if(_0x119544)return this[_0x17bb6e(0x333)](_0x3949ea,_0x3407f5,_0x455d92,_0x24a93a);{const _0x2b2535=_0x483390(_0x455d92,_0x4093d7,!0x0),_0x57960e=_0x4093d7[_0x17bb6e(0x20b)]>=0x0?_0x4093d7['lastRow']+0x1:0x0,_0x1067b4=_0x3f1400['getRowCount'](),_0x39f2d1=_0x3f1400[_0x17bb6e(0x1a3)](),_0x134697=_0x2b2535['length']>0x0?_0x257ea1:0x0,_0xc0e308=_0x483390({'row':_0x455d92['row']+_0x57960e+_0x134697,'col':_0x455d92[_0x17bb6e(0x2a7)]},_0x3f1400,!0x1,!0x1),_0x3977b0=_0x483390({'row':_0x455d92['row']+_0x57960e+_0x134697+_0x1067b4,'col':_0x455d92[_0x17bb6e(0x2a7)]},_0x3b40c1,!0x1,!0x0),_0x570bf0=_0x483390({'row':_0x455d92[_0x17bb6e(0x166)]+_0x57960e+_0x134697,'col':_0x455d92[_0x17bb6e(0x2a7)]+_0x39f2d1},_0x4c4a25,!0x1,!0x0),_0x3cd6a3=_0x483390({'row':_0x455d92[_0x17bb6e(0x166)]+_0x57960e+_0x134697+_0x1067b4,'col':_0x455d92[_0x17bb6e(0x2a7)]+_0x39f2d1},_0x1025f5,!0x1,!0x1);_0x24a93a[_0x17bb6e(0x3ac)]={'rowRanges':_0x3977b0,'colRanges':_0x570bf0,'cornerRanges':_0xc0e308,'dataRanges':_0x3cd6a3,'pageRanges':_0x2b2535};const _0x577a98=_0x117d2e(this[_0x17bb6e(0x3ca)],_0x1886c6,_0x10a005,this[_0x17bb6e(0x32d)]),{valueMatrix:_0xfbc363,rowInfo:_0x97b62d,colInfo:_0x403860,cornerInfo:_0x3eefba,rowHeaderMap:_0x1eee43,colHeaderMap:_0x4a43b2}=_0x577a98;return _0x24a93a['areaInfo']={'rowInfo':_0x97b62d,'colInfo':_0x403860,'cornerInfo':_0x3eefba},_0x24a93a['headerMap']={'rowHeaderMap':_0x1eee43,'colHeaderMap':_0x4a43b2},_0xfbc363['forEach']((_0x4ae3ae,_0x17aae5)=>{const _0x444d62=_0x17bb6e;Object[_0x444d62(0x3b6)](_0x17aae5)[_0x444d62(0x2b2)](_0xb77db4=>{const _0x14871d=_0x444d62,_0x36c44c=+_0xb77db4,_0x145a96=_0xfbc363[_0x14871d(0x3fd)](_0x4ae3ae,_0x36c44c);_0x3407f5[_0x14871d(0x212)](_0x4ae3ae,_0x36c44c,_0x145a96);});}),this[_0x17bb6e(0x1d9)][_0x17bb6e(0x1e4)]({'unitId':_0x1f532e,'subUnitId':_0x4f3a97,'valueMatrix':_0x3407f5,'rangesCache':_0x24a93a['rangesInfo'],'pivotTableId':_0x621f5c,'type':_0x3949ea['type']}),this[_0x17bb6e(0x24a)][_0x17bb6e(0x29a)](_0x1f532e,_0x4f3a97,_0x621f5c,_0x3407f5,_0x24a93a[_0x17bb6e(0x3ac)]),this[_0x17bb6e(0x420)][_0x17bb6e(0x2c3)](_0x1f532e,_0x4f3a97,_0x102c3b,this[_0x17bb6e(0x23e)](_0x24a93a['rangesInfo'],_0x621f5c)),{'rangeCache':_0x24a93a['rangesInfo'],'matrix':_0x3407f5};}}[_0x254bc1(0x333)](_0x349c18,_0x2d99e5,_0x29a402,_0x5a7edf){const _0x1bb92c=_0x254bc1,_0x20a81d=this[_0x1bb92c(0x447)]['t'],{unitId:_0x198434,subUnitId:_0x255028,pivotTableId:_0x4a0b15}=_0x349c18,_0x175bd0={'filter':_0x20a81d('sheets-pivot.emptyPivot.filter'),'row':_0x20a81d('sheets-pivot.emptyPivot.row'),'column':_0x20a81d(_0x1bb92c(0x3aa)),'values':_0x20a81d(_0x1bb92c(0x2d1))},{matrixCache:_0x24762e,rangesCache:_0x21cde1}=_0x74e9b6(_0x175bd0,_0x29a402);return _0x24762e[_0x1bb92c(0x45c)]((_0x410685,_0x26babd,_0x13e98e)=>{const _0x538273=_0x1bb92c;_0x2d99e5[_0x538273(0x212)](_0x410685,_0x26babd,_0x13e98e);}),_0x5a7edf[_0x1bb92c(0x3ac)]=_0x21cde1,this['_viewUpdate$']['next']({'unitId':_0x198434,'subUnitId':_0x255028,'valueMatrix':_0x2d99e5,'rangesCache':_0x21cde1,'pivotTableId':_0x4a0b15,'type':_0x349c18[_0x1bb92c(0x2e5)],'isEmpty':!0x0}),this[_0x1bb92c(0x24a)][_0x1bb92c(0x29a)](_0x198434,_0x255028,_0x4a0b15,_0x2d99e5,_0x21cde1),this[_0x1bb92c(0x420)][_0x1bb92c(0x2c3)](_0x198434,_0x255028,_0x102c3b,this[_0x1bb92c(0x23e)](_0x21cde1,_0x4a0b15)),{'rangeCache':_0x5a7edf[_0x1bb92c(0x3ac)],'matrix':_0x2d99e5};}[_0x254bc1(0x23e)](_0x69adf2,_0x811933){const _0x27a1bd=[],_0x194ed6=_0x377430(_0x69adf2);for(const _0x293f1a of _0x194ed6)_0x27a1bd['push']({'groupId':_0x811933,'range':_0x293f1a});return _0x27a1bd;}[_0x254bc1(0x2e0)](_0xf108f){const _0x305784=_0x254bc1;var _0x5491c2,_0x2faf56,_0x26a793,_0x3a5bff;const {pivotTableId:_0x5b9948,unitId:_0x4fd92b,subUnitId:_0x475c99}=_0xf108f;if(!_0x5b9948||!_0x4fd92b||!_0x475c99)return;const _0x40f238=this[_0x305784(0x366)](_0x4fd92b,_0x475c99),_0x12f214=(_0x2faf56=(_0x5491c2=this['_pivotRenderInfoCache'][_0x305784(0x404)](_0x4fd92b))==null?void 0x0:_0x5491c2[_0x305784(0x404)](_0x475c99))==null?void 0x0:_0x2faf56[_0x305784(0x404)](_0x5b9948);if(_0x12f214!=null&&_0x12f214['rangesInfo']){for(const _0x36c768 of Object[_0x305784(0x3b6)](_0x12f214[_0x305784(0x3ac)]))_0x12f214[_0x305784(0x3ac)][_0x36c768][_0x305784(0x2b2)](_0x102b81=>{const _0x4cb20a=_0x305784;for(let _0x167c40=_0x102b81['startRow'];_0x167c40<=_0x102b81['endRow'];_0x167c40++)for(let _0x270701=_0x102b81[_0x4cb20a(0x22f)];_0x270701<=_0x102b81[_0x4cb20a(0x3db)];_0x270701++)_0x40f238['realDeleteValue'](_0x167c40,_0x270701);});}_0x12f214&&((_0x3a5bff=(_0x26a793=this['_pivotRenderInfoCache']['get'](_0x4fd92b))==null?void 0x0:_0x26a793['get'](_0x475c99))==null||_0x3a5bff[_0x305784(0x1a1)](_0x5b9948)),this[_0x305784(0x1d9)][_0x305784(0x1e4)]({'unitId':_0x4fd92b,'subUnitId':_0x475c99,'valueMatrix':_0x40f238,'pivotTableId':_0x5b9948,'rangesCache':void 0x0,'type':_0xf108f[_0x305784(0x2e5)]}),this[_0x305784(0x420)][_0x305784(0x41d)](_0x4fd92b,_0x475c99,_0x102c3b,_0x5b9948);}[_0x254bc1(0x39b)](_0x58f465,_0x9d09ac,_0x72e533){const _0x28605e=_0x254bc1;var _0x364454,_0x4fe15b,_0xc9b588,_0x10a14e,_0x27ef96,_0x364f74;return this[_0x28605e(0x198)][_0x28605e(0x2f6)](_0x58f465)||this['_pivotRenderInfoCache'][_0x28605e(0x377)](_0x58f465,new Map()),(_0x364454=this[_0x28605e(0x198)][_0x28605e(0x404)](_0x58f465))!=null&&_0x364454['has'](_0x9d09ac)||(_0x4fe15b=this[_0x28605e(0x198)][_0x28605e(0x404)](_0x58f465))==null||_0x4fe15b[_0x28605e(0x377)](_0x9d09ac,new Map()),(_0x10a14e=(_0xc9b588=this[_0x28605e(0x198)][_0x28605e(0x404)](_0x58f465))==null?void 0x0:_0xc9b588[_0x28605e(0x404)](_0x9d09ac))!=null&&_0x10a14e[_0x28605e(0x2f6)](_0x72e533)||(_0x364f74=(_0x27ef96=this['_pivotRenderInfoCache'][_0x28605e(0x404)](_0x58f465))==null?void 0x0:_0x27ef96[_0x28605e(0x404)](_0x9d09ac))==null||_0x364f74[_0x28605e(0x377)](_0x72e533,{}),this[_0x28605e(0x198)][_0x28605e(0x404)](_0x58f465)[_0x28605e(0x404)](_0x9d09ac)[_0x28605e(0x404)](_0x72e533);}[_0x254bc1(0x366)](_0x116b9f,_0x5e6e48){const _0x43d8a3=_0x254bc1;var _0x58cd04,_0x41d01b;return this[_0x43d8a3(0x199)][_0x43d8a3(0x2f6)](_0x116b9f)||this[_0x43d8a3(0x199)][_0x43d8a3(0x377)](_0x116b9f,new Map()),(_0x58cd04=this[_0x43d8a3(0x199)][_0x43d8a3(0x404)](_0x116b9f))!=null&&_0x58cd04[_0x43d8a3(0x2f6)](_0x5e6e48)||(_0x41d01b=this[_0x43d8a3(0x199)][_0x43d8a3(0x404)](_0x116b9f))==null||_0x41d01b[_0x43d8a3(0x377)](_0x5e6e48,new _0x373a9f[(_0x43d8a3(0x2db))]()),this['_pivotRenderValueMatrixCache'][_0x43d8a3(0x404)](_0x116b9f)[_0x43d8a3(0x404)](_0x5e6e48);}[_0x254bc1(0x1d8)](_0x48840a,_0x16508b,_0x29ad59,_0x16c672){const _0x1e4919=_0x254bc1;var _0x4ed532,_0x2abc99;const _0x327b05=(_0x2abc99=(_0x4ed532=this['_pivotRenderValueMatrixCache'][_0x1e4919(0x404)](_0x48840a))==null?void 0x0:_0x4ed532[_0x1e4919(0x404)](_0x16508b))==null?void 0x0:_0x2abc99[_0x1e4919(0x3fd)](_0x29ad59,_0x16c672);if(_0x327b05!=null)return _0x327b05;}[_0x254bc1(0x2a6)](_0x46d278,_0x1f5bb4,_0x31c11e,_0x21f533){const _0x31e2a2=_0x254bc1;var _0x319ea8;const _0x5a0c79=_0x373a9f[_0x31e2a2(0x16d)](_0x31c11e,_0x21f533),_0x1f62b4=(_0x319ea8=this[_0x31e2a2(0x198)][_0x31e2a2(0x404)](_0x46d278))==null?void 0x0:_0x319ea8[_0x31e2a2(0x404)](_0x1f5bb4);return _0x1f62b4?Array[_0x31e2a2(0x383)](_0x1f62b4['keys']())['find'](_0x3aad23=>{const _0x3b5d5c=_0x31e2a2,_0xb1818=_0x1f62b4[_0x3b5d5c(0x404)](_0x3aad23),_0x4dc2bd=_0xb1818==null?void 0x0:_0xb1818[_0x3b5d5c(0x3ac)];return _0x4dc2bd?Object[_0x3b5d5c(0x3b6)](_0x4dc2bd)['some'](_0x107875=>_0x4dc2bd[_0x107875][_0x3b5d5c(0x287)](_0x35a66a=>_0x373a9f['Rectangle'][_0x3b5d5c(0x303)](_0x35a66a,_0x5a0c79))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x1d8069,_0x353f2f,_0x41ec99){const _0x39cb47=_0x254bc1;var _0x2d0474;const _0x309ac4=(_0x2d0474=this[_0x39cb47(0x198)][_0x39cb47(0x404)](_0x1d8069))==null?void 0x0:_0x2d0474[_0x39cb47(0x404)](_0x353f2f),_0x1a09e9=[];return _0x309ac4&&Array[_0x39cb47(0x383)](_0x309ac4['keys']())['forEach'](_0x138e09=>{const _0x275821=_0x39cb47,_0x584c87=_0x309ac4['get'](_0x138e09),_0x1c3334=_0x584c87==null?void 0x0:_0x584c87[_0x275821(0x3ac)];if(_0x1c3334)for(const _0x299cd1 of Object[_0x275821(0x1de)](_0x1c3334)){let _0x373fbf=!0x1;for(const _0x1d60cf of _0x299cd1)if(_0x373a9f[_0x275821(0x203)][_0x275821(0x26b)](_0x1d60cf,_0x41ec99)){_0x1a09e9['push'](_0x138e09),_0x373fbf=!0x0;break;}if(_0x373fbf)break;}}),_0x1a09e9;}[_0x254bc1(0x44c)](_0x32e96a,_0x10ee26){const _0x595255=_0x254bc1;var _0x22d0f8,_0x3bfcf9;return(_0x3bfcf9=(_0x22d0f8=this[_0x595255(0x199)][_0x595255(0x404)](_0x32e96a))==null?void 0x0:_0x22d0f8[_0x595255(0x404)](_0x10ee26))!=null?_0x3bfcf9:new _0x373a9f[(_0x595255(0x2db))]();}[_0x254bc1(0x382)](_0x4acf13,_0x803366){const _0x18ba9a=_0x254bc1;var _0x267f68;return(_0x267f68=this[_0x18ba9a(0x198)][_0x18ba9a(0x404)](_0x4acf13))==null?void 0x0:_0x267f68[_0x18ba9a(0x404)](_0x803366);}[_0x254bc1(0x1b0)](_0x58fa71,_0xef611,_0x454a85){const _0x4afc05=_0x254bc1;var _0x51c7c8,_0x45a8c6;return(_0x45a8c6=(_0x51c7c8=this[_0x4afc05(0x198)][_0x4afc05(0x404)](_0x58fa71))==null?void 0x0:_0x51c7c8['get'](_0xef611))==null?void 0x0:_0x45a8c6[_0x4afc05(0x404)](_0x454a85);}['deleteUnitId'](_0x31765){const _0x7ae7a3=_0x254bc1;this['_pivotRenderInfoCache']['delete'](_0x31765),this[_0x7ae7a3(0x199)][_0x7ae7a3(0x1a1)](_0x31765);}[_0x254bc1(0x35f)](_0x5c15a5,_0x30d795){const _0x478490=_0x254bc1;this[_0x478490(0x176)][_0x478490(0x1e4)]({'unitId':_0x5c15a5,'subUnitId':_0x30d795});}},_0xca2f35[_0x254bc1(0x39d)]=_0x56f5d2([_0x466f9c(0x0,_0x373a9f[_0x254bc1(0x308)](_0x373a9f[_0x254bc1(0x2f8)])),_0x466f9c(0x1,_0x373a9f['Inject'](_0x373a9f[_0x254bc1(0x42e)])),_0x466f9c(0x2,_0x373a9f[_0x254bc1(0x308)](_0xca2f35[_0x254bc1(0x18d)])),_0x466f9c(0x3,_0x373a9f['Inject'](_0x373a9f[_0x254bc1(0x243)])),_0x466f9c(0x4,_0x373a9f[_0x254bc1(0x308)](_0x204566[_0x254bc1(0x2ce)]))],_0xca2f35[_0x254bc1(0x39d)]);var _0x461b36=Object[_0x254bc1(0x1f0)],_0x31631f=(_0x1925e5,_0xd0c0fb,_0x5e1302,_0x520cc5)=>{for(var _0x2ceac7=_0x520cc5>0x1?void 0x0:_0x520cc5?_0x461b36(_0xd0c0fb,_0x5e1302):_0xd0c0fb,_0x45e46d=_0x1925e5['length']-0x1,_0x4c9476;_0x45e46d>=0x0;_0x45e46d--)(_0x4c9476=_0x1925e5[_0x45e46d])&&(_0x2ceac7=_0x4c9476(_0x2ceac7)||_0x2ceac7);return _0x2ceac7;},_0x4d110f=(_0x16a44d,_0xc8138e)=>(_0x2f4a1d,_0x2fd096)=>_0xc8138e(_0x2f4a1d,_0x2fd096,_0x16a44d);_0xca2f35[_0x254bc1(0x391)]=class extends _0x373a9f[_0x254bc1(0x292)]{constructor(_0x4549aa,_0x75e98b){const _0x12e562=_0x254bc1;super(),_0x9a3aa2(this,_0x12e562(0x44d),new _0x373a9f[(_0x12e562(0x36d))]({'PIVOT_PERFORM_CHECK':_0x52fd93})),_0x9a3aa2(this,'interceptor',new _0x373a9f['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x542c9a})),(this[_0x12e562(0x304)]=_0x4549aa,this['_sheetsPivotTableAdaptorModel']=_0x75e98b,this[_0x12e562(0x3f7)]());}[_0x254bc1(0x3f7)](){const _0x49780c=_0x254bc1;this[_0x49780c(0x3a1)]();}[_0x254bc1(0x3b7)](_0x3ff497){const _0x3055fc=_0x254bc1;return this[_0x3055fc(0x44d)]['fetchThroughAsyncInterceptors'](_0x52fd93)(!0x1,_0x3ff497);}[_0x254bc1(0x3a1)](){const _0x3c4cde=_0x254bc1;this[_0x3c4cde(0x165)](this['_sheetInterceptorService']['intercept'](_0x204566[_0x3c4cde(0x390)]['CELL_CONTENT'],{'priority':0xc8,'effect':_0x373a9f[_0x3c4cde(0x45d)][_0x3c4cde(0x206)]|_0x373a9f[_0x3c4cde(0x45d)][_0x3c4cde(0x1c5)],'handler':(_0x1ba93f,_0x183dc4,_0x597515)=>{const _0x5d8ea1=_0x3c4cde,{row:_0x296d9b,col:_0x5afcc7,unitId:_0x143234,subUnitId:_0x395045,workbook:_0x96de8}=_0x183dc4,_0x496371=this['_sheetsPivotTableAdaptorModel'][_0x5d8ea1(0x1d8)](_0x143234,_0x395045,_0x296d9b,_0x5afcc7);if(!_0x496371)return _0x597515(_0x1ba93f);const _0x5102d9={..._0x1ba93f};(_0x496371['v']||_0x496371['v']===0x0)&&(_0x5102d9['v']=_0x496371['v']),_0x496371['t']&&(_0x5102d9['t']=_0x496371['t']);const _0x33b2b3=(typeof(_0x1ba93f==null?void 0x0:_0x1ba93f['s'])==_0x5d8ea1(0x16e)?_0x96de8[_0x5d8ea1(0x445)]()['get'](_0x1ba93f==null?void 0x0:_0x1ba93f['s']):_0x1ba93f==null?void 0x0:_0x1ba93f['s'])||{},_0x2d7460=_0x96de8[_0x5d8ea1(0x445)]()[_0x5d8ea1(0x404)](_0x496371['s']),_0x2708df={..._0x2d7460,..._0x33b2b3};_0x2d7460!=null&&_0x2d7460['n']&&(_0x2708df['n']=_0x2d7460['n']);const _0x3ce4ce=_0x96de8[_0x5d8ea1(0x445)]()['setValue'](_0x2708df);return _0x5102d9['s']=_0x3ce4ce,(_0x496371[_0x5d8ea1(0x3bc)]===_0x6ee1ef[_0x5d8ea1(0x235)][_0x5d8ea1(0x41f)]||_0x496371[_0x5d8ea1(0x3bc)]===_0x6ee1ef[_0x5d8ea1(0x235)][_0x5d8ea1(0x2bd)])&&(_0x5102d9[_0x5d8ea1(0x1b7)]={},_0x5102d9[_0x5d8ea1(0x1b7)][_0x5d8ea1(0x313)]=_0x1908eb),_0x597515(_0x5102d9);}}));}},_0xca2f35[_0x254bc1(0x391)]=_0x31631f([_0x4d110f(0x0,_0x373a9f['Inject'](_0x204566[_0x254bc1(0x167)])),_0x4d110f(0x1,_0x373a9f[_0x254bc1(0x308)](_0xca2f35['SheetsPivotTableAdaptorModel']))],_0xca2f35[_0x254bc1(0x391)]);function _0x2e000f(_0x2c8648,_0x1fe4b1){const _0x1b99b7=_0x254bc1;switch(_0x1fe4b1){case _0x6ee1ef['PivotTableFiledAreaEnum'][_0x1b99b7(0x206)]:return _0x2c8648[_0x1b99b7(0x170)];case _0x6ee1ef[_0x1b99b7(0x158)]['Filter']:return _0x2c8648[_0x1b99b7(0x302)];case _0x6ee1ef[_0x1b99b7(0x158)][_0x1b99b7(0x19c)]:return _0x2c8648[_0x1b99b7(0x46c)];case _0x6ee1ef[_0x1b99b7(0x158)][_0x1b99b7(0x3b9)]:return _0x2c8648[_0x1b99b7(0x446)];default:return[];}}function _0x5244ec(_0x216344,_0x100054){const _0x348a1a=_0x254bc1;return _0x216344['measure'][_0x100054]||_0x216344[_0x348a1a(0x2a0)][_0x100054];}function _0x179172(_0x5d62db,_0x41fd01){const _0x1efc5b=_0x254bc1,{area:_0x136104,fieldJson:_0x13861f,index:_0x1c923c}=_0x41fd01;_0x136104===_0x6ee1ef[_0x1efc5b(0x158)]['Value']?_0x5d62db['measure'][_0x13861f['id']]=_0x13861f:_0x5d62db[_0x1efc5b(0x2a0)][_0x13861f['id']]=_0x13861f,_0x2e000f(_0x5d62db,_0x136104)['splice'](_0x1c923c,0x0,_0x13861f['id']);}function _0x25c9f6(_0x16b691,_0x13ec43){const _0x3dfc91=_0x254bc1,{area:_0x4c0d89,fieldId:_0x1d146e,index:_0x33500e}=_0x13ec43;_0x4c0d89===_0x6ee1ef['PivotTableFiledAreaEnum'][_0x3dfc91(0x206)]?delete _0x16b691[_0x3dfc91(0x369)][_0x1d146e]:delete _0x16b691[_0x3dfc91(0x2a0)][_0x1d146e],_0x2e000f(_0x16b691,_0x4c0d89)[_0x3dfc91(0x216)](_0x33500e,0x1);}function _0x156f90(_0x112526,_0x24a410){const _0x31bd29=_0x254bc1,{fieldId:_0x480a6f,name:_0x582187}=_0x24a410,_0xe6ba57=_0x5244ec(_0x112526,_0x480a6f);_0xe6ba57&&(_0xe6ba57[_0x31bd29(0x1ab)]=_0x582187);}function _0x4312c7(_0x1b3be6,_0x5c5626){const _0x27fdcc=_0x254bc1,{fieldId:_0x4787a4,collapse:_0x53e303,item:_0x141957}=_0x5c5626;_0x141957!==void 0x0?(_0x1b3be6[_0x27fdcc(0x415)][_0x4787a4]=_0x1b3be6[_0x27fdcc(0x415)][_0x4787a4]||{},_0x1b3be6[_0x27fdcc(0x415)][_0x4787a4][_0x141957]=_0x53e303):_0x1b3be6[_0x27fdcc(0x415)][_0x4787a4]=_0x53e303;}function _0x2515af(_0x3c6aad,_0x3b14f4){const _0x234c97=_0x254bc1,{fieldId:_0x2f87e9,format:_0x2ee1c0}=_0x3b14f4,_0x207612=_0x5244ec(_0x3c6aad,_0x2f87e9);_0x207612&&(_0x207612[_0x234c97(0x286)]=_0x2ee1c0);}function _0x26273f(_0x2af5cc,_0xc2fa65){const _0x4f6cb4=_0x254bc1,{fieldId:_0x21abc5,filterInfo:_0x368579}=_0xc2fa65,_0xef6709=_0x5244ec(_0x2af5cc,_0x21abc5);_0xef6709&&(_0xef6709[_0x4f6cb4(0x3cd)]=_0x368579);}function _0x214eb2(_0x354ebb,_0x514007){const _0x5a4418=_0x254bc1,{fieldId:_0x145ea2,filterInfo:_0x151802}=_0x514007,_0x1183b9=_0x354ebb[_0x5a4418(0x1c4)]['filter'](_0x1acad7=>_0x1acad7[_0x5a4418(0x3e5)]!==_0x145ea2);_0x151802&&_0x1183b9[_0x5a4418(0x23c)]({'fieldId':_0x145ea2,'filterInfo':_0x151802}),_0x354ebb['valueFilter']=_0x1183b9;}function _0x4c60c5(_0x2692a4,_0x15cb65){const _0x32ef44=_0x254bc1,{fieldId:_0x59d687,subtotalType:_0x3c2dab}=_0x15cb65,_0x27605a=_0x5244ec(_0x2692a4,_0x59d687);_0x27605a&&(_0x27605a[_0x32ef44(0x438)]=_0x3c2dab);}function _0x1bd057(_0x2b0bff,_0x1622bf){const _0x608788=_0x254bc1,{fieldId:_0x1f848b,oldArea:_0x18b4f5,area:_0x4a0b6f,oldIndex:_0x1e1375,index:_0x9bce21}=_0x1622bf,_0x43d865=_0x18b4f5!==_0x6ee1ef['PivotTableFiledAreaEnum'][_0x608788(0x206)]&&_0x4a0b6f===_0x6ee1ef[_0x608788(0x158)][_0x608788(0x206)],_0x3543f6=_0x18b4f5===_0x6ee1ef[_0x608788(0x158)]['Value']&&_0x4a0b6f!==_0x6ee1ef['PivotTableFiledAreaEnum'][_0x608788(0x206)];if(_0x43d865||_0x3543f6){const _0x19daa8=_0x5244ec(_0x2b0bff,_0x1f848b);_0x19daa8&&(_0x43d865?(delete _0x2b0bff['dimension'][_0x1f848b],_0x2b0bff[_0x608788(0x369)][_0x1f848b]=_0x19daa8):(delete _0x2b0bff['measure'][_0x1f848b],_0x2b0bff[_0x608788(0x2a0)][_0x1f848b]=_0x19daa8));}const _0xdc5af8=_0x2e000f(_0x2b0bff,_0x18b4f5),_0x3cb7b5=_0x2e000f(_0x2b0bff,_0x4a0b6f);_0xdc5af8[_0x608788(0x216)](_0x1e1375,0x1),_0x3cb7b5[_0x608788(0x216)](_0x9bce21,0x0,_0x1f848b);}function _0x3eba78(_0xae25b,_0x139a61){const _0x5285eb=_0x254bc1,{valuePosition:_0x499d69,index:_0x1a891d}=_0x139a61;_0xae25b['valuePosition']=_0x499d69,_0xae25b[_0x5285eb(0x2aa)]=_0x1a891d;}function _0x32d71f(_0x59e57a,_0x5cc917){const _0x4d0279=_0x254bc1,{tableFieldId:_0x3da956,sourceName:_0x3900e7,dataFieldId:_0x3facfd}=_0x5cc917,_0x11d7c8=_0x5244ec(_0x59e57a,_0x3da956);_0x11d7c8&&(_0x11d7c8[_0x4d0279(0x219)]=_0x3900e7,_0x11d7c8[_0x4d0279(0x15f)]=_0x3facfd);}function _0x26100b(_0x5f2c91,_0x40dcb6){const {fieldId:_0x1f2b18,sortInfo:_0x567d5d}=_0x40dcb6,_0x25b141=_0x5244ec(_0x5f2c91,_0x1f2b18);_0x25b141&&(_0x25b141['sortInfo']=_0x567d5d);}function _0x36153c(_0x429831,_0x41c2f8){const _0x29c903=_0x254bc1,{options:_0xa657ea}=_0x41c2f8;_0x429831['options']={..._0x429831[_0x29c903(0x3e4)],..._0xa657ea};}const _0x1da369={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x21b)],'id':_0x254bc1(0x3e2),'handler'(_0x251461,_0x3ecb19){const _0x12df57=_0x254bc1;if(!_0x3ecb19)return!0x1;if(!!_0x251461[_0x12df57(0x404)](_0x373a9f['IConfigService'])[_0x12df57(0x249)](_0x43c827))return!0x0;const _0x3e0725=_0x251461[_0x12df57(0x404)](_0xca2f35[_0x12df57(0x2cb)]),{pivotTableId:_0x1ee2b7,fieldJson:_0x40eaed,area:_0x28b699,index:_0xdf6cb7,unitId:_0x19e5ea,subUnitId:_0x263403}=_0x3ecb19,_0x213d1e=_0x3e0725['getPivotTableInstance'](_0x1ee2b7);if(!_0x213d1e)return!0x1;let _0x4986de;_0x28b699===_0x6ee1ef[_0x12df57(0x158)][_0x12df57(0x206)]?_0x4986de=_0x6ee1ef['createValueField'](_0x40eaed):_0x4986de=_0x6ee1ef[_0x12df57(0x318)](_0x40eaed),_0x213d1e[_0x12df57(0x20c)](_0x4986de,_0x28b699,_0xdf6cb7);const _0x49c974=_0x3e0725[_0x12df57(0x3b0)](_0x19e5ea,_0x263403,_0x1ee2b7);_0x179172(_0x49c974,_0x3ecb19);const _0x2fd0ef=_0x3e0725[_0x12df57(0x329)](_0x19e5ea,_0x263403,_0x1ee2b7);return _0x3e0725[_0x12df57(0x2d5)]({'unitId':_0x19e5ea,'subUnitId':_0x263403,'token':_0x1ee2b7,'type':_0x17805c[_0x12df57(0x1c0)],'pivotConfig':_0x2fd0ef}),!0x0;}},_0x854b68={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x21b)],'id':_0x254bc1(0x44b),'handler'(_0x4edc7d,_0x201363){const _0x1261bd=_0x254bc1;if(!_0x201363)return!0x1;if(!!_0x4edc7d['get'](_0x373a9f['IConfigService'])[_0x1261bd(0x249)](_0x43c827))return!0x0;const _0x9ed53=_0x4edc7d[_0x1261bd(0x404)](_0xca2f35[_0x1261bd(0x2cb)]),{pivotTableId:_0x43ee54,fieldId:_0x171a4c,unitId:_0x39c9ac,subUnitId:_0x52a459}=_0x201363,_0x132432=_0x9ed53[_0x1261bd(0x2df)](_0x43ee54);if(!_0x132432)return!0x1;_0x132432[_0x1261bd(0x21d)](_0x171a4c);const _0x72e33c=_0x9ed53['getPivotTableModelConfig'](_0x39c9ac,_0x52a459,_0x43ee54);_0x25c9f6(_0x72e33c,_0x201363);const _0x550e10=_0x9ed53[_0x1261bd(0x329)](_0x39c9ac,_0x52a459,_0x43ee54);return _0x9ed53[_0x1261bd(0x2d5)]({'unitId':_0x39c9ac,'subUnitId':_0x52a459,'token':_0x43ee54,'type':_0x17805c['Set'],'pivotConfig':_0x550e10}),!0x0;}},_0x1d6a5e={'type':_0x373a9f['CommandType'][_0x254bc1(0x21b)],'id':_0x254bc1(0x3a3),'handler'(_0x27032a,_0x54a538){const _0x3d4400=_0x254bc1;if(!_0x54a538)return!0x1;if(!!_0x27032a[_0x3d4400(0x404)](_0x373a9f[_0x3d4400(0x2a9)])['getConfig'](_0x43c827))return!0x0;const _0x1da67d=_0x27032a[_0x3d4400(0x404)](_0xca2f35[_0x3d4400(0x2cb)]),{unitId:_0x1b697b,subUnitId:_0x2eaa51,pivotTableId:_0x16c33,fieldId:_0x8536f5,name:_0x53397d}=_0x54a538,_0x498473=_0x1da67d[_0x3d4400(0x2df)](_0x16c33);if(!_0x498473)return!0x1;_0x498473['renameField'](_0x8536f5,_0x53397d);const _0x52042b=_0x1da67d[_0x3d4400(0x3b0)](_0x1b697b,_0x2eaa51,_0x16c33);return _0x156f90(_0x52042b,_0x54a538),_0x1da67d[_0x3d4400(0x2d5)]({'unitId':_0x1b697b,'subUnitId':_0x2eaa51,'token':_0x16c33,'type':_0x17805c[_0x3d4400(0x1c0)]}),!0x0;}},_0x3adb82={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x21b)],'id':_0x254bc1(0x39f),'handler'(_0x12b0ef,_0x5bfaa1){const _0x57e3d7=_0x254bc1;if(!_0x5bfaa1)return!0x1;if(!!_0x12b0ef[_0x57e3d7(0x404)](_0x373a9f[_0x57e3d7(0x2a9)])[_0x57e3d7(0x249)](_0x43c827))return!0x0;const _0x356d28=_0x12b0ef[_0x57e3d7(0x404)](_0xca2f35[_0x57e3d7(0x2cb)]),{unitId:_0x46d5da,subUnitId:_0x2d759a,pivotTableId:_0x47b4c2,fieldId:_0x345cdf,collapse:_0x264285,item:_0x279d00}=_0x5bfaa1,_0x5d8f84=_0x356d28[_0x57e3d7(0x2df)](_0x47b4c2);if(!_0x5d8f84)return!0x1;_0x5d8f84[_0x57e3d7(0x27c)](_0x345cdf,_0x264285,_0x279d00);const _0x24ccdb=_0x356d28[_0x57e3d7(0x3b0)](_0x46d5da,_0x2d759a,_0x47b4c2);return _0x4312c7(_0x24ccdb,_0x5bfaa1),_0x356d28[_0x57e3d7(0x2d5)]({'unitId':_0x46d5da,'subUnitId':_0x2d759a,'token':_0x47b4c2,'type':_0x17805c[_0x57e3d7(0x1c0)]}),!0x0;}},_0x581745={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x21b)],'id':_0x254bc1(0x363),'handler'(_0x4398e2,_0x396a15){const _0x529742=_0x254bc1;if(!_0x396a15)return!0x1;if(!!_0x4398e2[_0x529742(0x404)](_0x373a9f[_0x529742(0x2a9)])[_0x529742(0x249)](_0x43c827))return!0x0;const _0x21068f=_0x4398e2[_0x529742(0x404)](_0xca2f35[_0x529742(0x2cb)]),{unitId:_0x181f50,subUnitId:_0x4db454,pivotTableId:_0x423f90,fieldId:_0x5055b4,format:_0xf4a2e2}=_0x396a15,_0x59e937=_0x21068f[_0x529742(0x2df)](_0x423f90);if(!_0x59e937)return!0x1;_0x59e937['setFieldFormat'](_0x5055b4,_0xf4a2e2);const _0x1a7278=_0x21068f[_0x529742(0x3b0)](_0x181f50,_0x4db454,_0x423f90);return _0x2515af(_0x1a7278,_0x396a15),_0x21068f[_0x529742(0x2d5)]({'unitId':_0x181f50,'subUnitId':_0x4db454,'token':_0x423f90,'type':_0x17805c[_0x529742(0x1c0)]}),!0x0;}},_0x2992ee={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x21b)],'id':_0x254bc1(0x281),'handler'(_0x50df33,_0x9be902){const _0x4c9d54=_0x254bc1;if(!_0x9be902)return!0x1;if(!!_0x50df33[_0x4c9d54(0x404)](_0x373a9f['IConfigService'])[_0x4c9d54(0x249)](_0x43c827))return!0x0;const _0x12a287=_0x50df33['get'](_0xca2f35[_0x4c9d54(0x2cb)]),{unitId:_0x4a174f,subUnitId:_0x77833f,pivotTableId:_0x25e0bb,fieldId:_0x2928be,filterInfo:_0x8f2d23}=_0x9be902,_0x3bf32c=_0x12a287['getPivotTableInstance'](_0x25e0bb);if(!_0x3bf32c)return!0x1;_0x3bf32c[_0x4c9d54(0x353)](_0x2928be,_0x8f2d23);const _0x533f07=_0x12a287[_0x4c9d54(0x3b0)](_0x4a174f,_0x77833f,_0x25e0bb);return _0x26273f(_0x533f07,_0x9be902),_0x12a287[_0x4c9d54(0x2d5)]({'unitId':_0x4a174f,'subUnitId':_0x77833f,'token':_0x25e0bb,'type':_0x17805c[_0x4c9d54(0x1c0)]}),!0x0;}},_0x5c11ca={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x21b)],'id':_0x254bc1(0x388),'handler'(_0x33bacc,_0x2cbdad){const _0x5c5af9=_0x254bc1;if(!_0x2cbdad)return!0x1;if(!!_0x33bacc[_0x5c5af9(0x404)](_0x373a9f['IConfigService'])['getConfig'](_0x43c827))return!0x0;const _0x2454e7=_0x33bacc[_0x5c5af9(0x404)](_0xca2f35[_0x5c5af9(0x2cb)]),{unitId:_0x1b8f75,subUnitId:_0x3162a5,pivotTableId:_0x3bea0a,options:_0x9ed799}=_0x2cbdad,_0x298026=_0x2454e7[_0x5c5af9(0x2df)](_0x3bea0a);if(!_0x298026)return!0x1;_0x298026[_0x5c5af9(0x28b)](_0x9ed799);const _0x22e59d=_0x2454e7[_0x5c5af9(0x3b0)](_0x1b8f75,_0x3162a5,_0x3bea0a);return _0x36153c(_0x22e59d,_0x2cbdad),_0x2454e7[_0x5c5af9(0x2d5)]({'unitId':_0x1b8f75,'subUnitId':_0x3162a5,'token':_0x3bea0a,'type':_0x17805c[_0x5c5af9(0x1c0)]}),!0x0;}},_0x214aa3={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x21b)],'id':_0x254bc1(0x20e),'handler'(_0x2ed47e,_0x127d8d){const _0x257c1d=_0x254bc1;if(!_0x127d8d)return!0x1;if(!!_0x2ed47e[_0x257c1d(0x404)](_0x373a9f[_0x257c1d(0x2a9)])['getConfig'](_0x43c827))return!0x0;const _0x47e25a=_0x2ed47e['get'](_0xca2f35[_0x257c1d(0x2cb)]),{unitId:_0x588017,subUnitId:_0x2bfbaf,pivotTableId:_0x5a5786,sortInfo:_0x52a2e4,fieldId:_0x213b7b}=_0x127d8d,_0x244b9b=_0x47e25a[_0x257c1d(0x2df)](_0x5a5786);if(!_0x244b9b)return!0x1;_0x244b9b[_0x257c1d(0x320)](_0x213b7b,_0x52a2e4);const _0x3f0eb5=_0x47e25a['getPivotTableModelConfig'](_0x588017,_0x2bfbaf,_0x5a5786);return _0x26100b(_0x3f0eb5,_0x127d8d),_0x47e25a[_0x257c1d(0x2d5)]({'unitId':_0x588017,'subUnitId':_0x2bfbaf,'token':_0x5a5786,'type':_0x17805c['Set']}),!0x0;}},_0xe50716={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x21b)],'id':_0x254bc1(0x360),'handler'(_0x29636b,_0x1abb04){const _0x5c520d=_0x254bc1;if(!_0x1abb04)return!0x1;if(!!_0x29636b[_0x5c520d(0x404)](_0x373a9f['IConfigService'])[_0x5c520d(0x249)](_0x43c827))return!0x0;const _0x433903=_0x29636b['get'](_0xca2f35[_0x5c520d(0x2cb)]),{unitId:_0x105bb8,subUnitId:_0x666a2d,pivotTableId:_0x44d8c3,fieldId:_0x40af00,subtotalType:_0x57d446}=_0x1abb04,_0x579ca7=_0x433903[_0x5c520d(0x2df)](_0x44d8c3);if(!_0x579ca7)return!0x1;_0x579ca7[_0x5c520d(0x34c)](_0x40af00,_0x57d446);const _0x2d22b2=_0x433903[_0x5c520d(0x3b0)](_0x105bb8,_0x666a2d,_0x44d8c3);return _0x4c60c5(_0x2d22b2,_0x1abb04),_0x433903['addDirtyPivotTable']({'unitId':_0x105bb8,'subUnitId':_0x666a2d,'token':_0x44d8c3,'type':_0x17805c[_0x5c520d(0x1c0)]}),!0x0;}},_0x50aca9={'type':_0x373a9f[_0x254bc1(0x163)]['MUTATION'],'id':_0x254bc1(0x2f0),'handler'(_0x4c08de,_0x189bfc){const _0x48aae1=_0x254bc1;if(!_0x189bfc)return!0x1;if(!!_0x4c08de['get'](_0x373a9f['IConfigService'])['getConfig'](_0x43c827))return!0x0;const _0x32a54e=_0x4c08de[_0x48aae1(0x404)](_0xca2f35[_0x48aae1(0x2cb)]),{unitId:_0x1c6e2f,subUnitId:_0x194a4b,pivotTableId:_0x4c3dd0,fieldId:_0x18c512,filterInfo:_0x442040}=_0x189bfc,_0x52c10f=_0x32a54e[_0x48aae1(0x2df)](_0x4c3dd0);if(!_0x52c10f)return!0x1;_0x52c10f[_0x48aae1(0x1fa)](_0x18c512,_0x442040);const _0x3059de=_0x32a54e[_0x48aae1(0x3b0)](_0x1c6e2f,_0x194a4b,_0x4c3dd0);return _0x214eb2(_0x3059de,_0x189bfc),_0x32a54e[_0x48aae1(0x2d5)]({'unitId':_0x1c6e2f,'subUnitId':_0x194a4b,'token':_0x4c3dd0,'type':_0x17805c[_0x48aae1(0x1c0)]}),!0x0;}},_0x1abaf1={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x21b)],'id':_0x254bc1(0x3d3),'handler'(_0x5d8725,_0x3345b5){const _0xc47d2d=_0x254bc1;if(!_0x3345b5)return!0x1;if(!!_0x5d8725[_0xc47d2d(0x404)](_0x373a9f[_0xc47d2d(0x2a9)])[_0xc47d2d(0x249)](_0x43c827))return!0x0;const _0x53cbf7=_0x5d8725[_0xc47d2d(0x404)](_0xca2f35['SheetsPivotDataSourceModel']),{unitId:_0x5c643c,subUnitId:_0xf2e331,pivotTableId:_0x11369d,area:_0x42559d,index:_0x227ce5,fieldId:_0x171154}=_0x3345b5,_0x288b7e=_0x53cbf7[_0xc47d2d(0x2df)](_0x11369d);if(!_0x288b7e)return!0x1;_0x288b7e['updateFieldPosition'](_0x171154,_0x42559d,_0x227ce5);const _0x473ec4=_0x53cbf7[_0xc47d2d(0x3b0)](_0x5c643c,_0xf2e331,_0x11369d);return _0x1bd057(_0x473ec4,_0x3345b5),_0x53cbf7[_0xc47d2d(0x2d5)]({'unitId':_0x5c643c,'subUnitId':_0xf2e331,'token':_0x11369d,'type':_0x17805c[_0xc47d2d(0x1c0)]}),!0x0;}},_0x3a1421={'type':_0x373a9f['CommandType']['MUTATION'],'id':_0x254bc1(0x3c0),'handler'(_0x4d8506,_0x229200){const _0x2ad633=_0x254bc1;if(!_0x229200)return!0x1;if(!!_0x4d8506[_0x2ad633(0x404)](_0x373a9f[_0x2ad633(0x2a9)])['getConfig'](_0x43c827))return!0x0;const _0x8460ea=_0x4d8506['get'](_0xca2f35[_0x2ad633(0x2cb)]),{unitId:_0x145992,subUnitId:_0x2f1982,pivotTableId:_0x58f98e,sourceName:_0x452cc1,dataFieldId:_0xc01daf,tableFieldId:_0x6d4334}=_0x229200,_0x36c79f=_0x8460ea[_0x2ad633(0x2df)](_0x58f98e);if(!_0x36c79f)return!0x1;_0x36c79f[_0x2ad633(0x414)](_0x6d4334,_0x452cc1,_0xc01daf);const _0x37b1c2=_0x8460ea[_0x2ad633(0x3b0)](_0x145992,_0x2f1982,_0x58f98e);return _0x32d71f(_0x37b1c2,_0x229200),_0x8460ea[_0x2ad633(0x2d5)]({'unitId':_0x145992,'subUnitId':_0x2f1982,'token':_0x58f98e,'type':_0x17805c[_0x2ad633(0x1c0)]}),!0x0;}},_0x59033f={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x21b)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x495440,_0x5b4fc9){const _0x27eeca=_0x254bc1;if(!_0x5b4fc9)return!0x1;if(!!_0x495440[_0x27eeca(0x404)](_0x373a9f[_0x27eeca(0x2a9)])['getConfig'](_0x43c827))return!0x0;const _0x36ecff=_0x495440['get'](_0xca2f35[_0x27eeca(0x2cb)]),{unitId:_0x27ad4f,subUnitId:_0x33166a,pivotTableId:_0x42f216,valuePosition:_0x1b4c98,index:_0x1e02a3}=_0x5b4fc9,_0x56e783=_0x36ecff[_0x27eeca(0x2df)](_0x42f216);if(!_0x56e783)return!0x1;_0x56e783[_0x27eeca(0x3f9)](_0x1b4c98,_0x1e02a3);const _0x10a94d=_0x36ecff['getPivotTableModelConfig'](_0x27ad4f,_0x33166a,_0x42f216);return _0x3eba78(_0x10a94d,_0x5b4fc9),_0x36ecff[_0x27eeca(0x2d5)]({'unitId':_0x27ad4f,'subUnitId':_0x33166a,'token':_0x42f216,'type':_0x17805c['Set']}),!0x0;}};function _0x14c1b3(_0x58686c,_0x243a00,_0x53c484){const _0x1200f5=_0x254bc1,{pivotTableId:_0x2ab47c,unitId:_0x45a955,subUnitId:_0x375cb2}=_0x243a00,_0x10d00e=[],_0x55dd2c=[];for(const _0x59ef3d of _0x53c484)switch(_0x59ef3d['type']){case _0x6ee1ef[_0x1200f5(0x3d6)]['AddField']:{const {fieldJson:_0x54085b,area:_0x40a1f6,index:_0x858549}=_0x59ef3d,_0x26d45d={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldJson':_0x54085b,'area':_0x40a1f6,'index':_0x858549},_0x119530={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldId':_0x54085b['id'],'area':_0x40a1f6,'index':_0x858549};_0x10d00e[_0x1200f5(0x23c)]({'id':_0x1da369['id'],'params':_0x26d45d}),_0x55dd2c[_0x1200f5(0x371)]({'id':_0x854b68['id'],'params':_0x119530});}break;case _0x6ee1ef['PivotTableChangeTypeEnum'][_0x1200f5(0x3df)]:{const {fieldId:_0x237ce0,newSubtotalType:_0x5d1fd1,oldSubtotalType:_0x4d6a5d}=_0x59ef3d,_0x139b1b={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldId':_0x237ce0,'subtotalType':_0x5d1fd1};_0x10d00e['push']({'id':_0xe50716['id'],'params':_0x139b1b});const _0x1b37a4={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldId':_0x237ce0,'subtotalType':_0x4d6a5d};_0x55dd2c['unshift']({'id':_0xe50716['id'],'params':_0x1b37a4});}break;case _0x6ee1ef[_0x1200f5(0x3d6)][_0x1200f5(0x45e)]:{const {fieldId:_0x14de79,fieldJson:_0x2365dd,area:_0x17337b,index:_0x28e9e8}=_0x59ef3d,_0x5bcaaa={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldId':_0x14de79,'index':_0x28e9e8,'area':_0x17337b};_0x10d00e[_0x1200f5(0x23c)]({'id':_0x854b68['id'],'params':_0x5bcaaa});const _0x4a07c={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldJson':_0x2365dd,'area':_0x17337b,'index':_0x28e9e8};_0x55dd2c[_0x1200f5(0x371)]({'id':_0x1da369['id'],'params':_0x4a07c});}break;case _0x6ee1ef[_0x1200f5(0x3d6)][_0x1200f5(0x208)]:{const {fieldId:_0xc92fd1,oldName:_0xa60188,newName:_0x1271a4}=_0x59ef3d,_0xdef08b={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldId':_0xc92fd1,'name':_0x1271a4};_0x10d00e['push']({'id':_0x1d6a5e['id'],'params':_0xdef08b});const _0x28fe31={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldId':_0xc92fd1,'name':_0xa60188};_0x55dd2c[_0x1200f5(0x371)]({'id':_0x1d6a5e['id'],'params':_0x28fe31});}break;case _0x6ee1ef[_0x1200f5(0x3d6)][_0x1200f5(0x229)]:{const {fieldId:_0x4c68e9,oldFilterInfo:_0x38700c,newFilterInfo:_0x1ae3b9}=_0x59ef3d,_0x44d09a={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldId':_0x4c68e9,'filterInfo':_0x1ae3b9};_0x10d00e['push']({'id':_0x2992ee['id'],'params':_0x44d09a});const _0x50773b={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldId':_0x4c68e9,'filterInfo':_0x38700c};_0x55dd2c[_0x1200f5(0x371)]({'id':_0x2992ee['id'],'params':_0x50773b});}break;case _0x6ee1ef[_0x1200f5(0x3d6)]['SetSortInfo']:{const {fieldId:_0x1162ab,oldSortInfo:_0x2e9fcf,newSortInfo:_0x36b1b7}=_0x59ef3d,_0x4bae88={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldId':_0x1162ab,'sortInfo':_0x36b1b7};_0x10d00e[_0x1200f5(0x23c)]({'id':_0x214aa3['id'],'params':_0x4bae88});const _0x5be0b8={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldId':_0x1162ab,'sortInfo':_0x2e9fcf};_0x55dd2c[_0x1200f5(0x371)]({'id':_0x214aa3['id'],'params':_0x5be0b8});}break;case _0x6ee1ef[_0x1200f5(0x3d6)][_0x1200f5(0x454)]:{const {oldOptions:_0x90c175,newOptions:_0x1052f7}=_0x59ef3d,_0x465d73={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'options':_0x1052f7};_0x10d00e[_0x1200f5(0x23c)]({'id':_0x5c11ca['id'],'params':_0x465d73});const _0x3610df={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'options':_0x90c175};_0x55dd2c[_0x1200f5(0x371)]({'id':_0x5c11ca['id'],'params':_0x3610df});}break;case _0x6ee1ef[_0x1200f5(0x3d6)][_0x1200f5(0x2b0)]:{const {oldArea:_0x5bdbf0,newArea:_0x3baed7,oldIndex:_0xe5b08c,newIndex:_0x16e097,fieldId:_0x47cbc1}=_0x59ef3d,_0x5d0103={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldId':_0x47cbc1,'area':_0x3baed7,'index':_0x16e097,'oldArea':_0x5bdbf0,'oldIndex':_0xe5b08c};_0x10d00e[_0x1200f5(0x23c)]({'id':_0x1abaf1['id'],'params':_0x5d0103});const _0x677798={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldId':_0x47cbc1,'area':_0x5bdbf0,'index':_0xe5b08c,'oldArea':_0x3baed7,'oldIndex':_0x16e097};_0x55dd2c[_0x1200f5(0x371)]({'id':_0x1abaf1['id'],'params':_0x677798});}break;case _0x6ee1ef['PivotTableChangeTypeEnum'][_0x1200f5(0x1d6)]:{const {oldValuePosition:_0x354a92,newValuePosition:_0x3ce871,oldIndex:_0x54c1b3,newIndex:_0x274790}=_0x59ef3d,_0x5d1f8b={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'valuePosition':_0x3ce871,'index':_0x274790};_0x10d00e[_0x1200f5(0x23c)]({'id':_0x59033f['id'],'params':_0x5d1f8b});const _0x4d15db={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'valuePosition':_0x354a92,'index':_0x54c1b3};_0x55dd2c[_0x1200f5(0x371)]({'id':_0x59033f['id'],'params':_0x4d15db});}break;case _0x6ee1ef['PivotTableChangeTypeEnum'][_0x1200f5(0x1e5)]:{const {fieldId:_0x3842bb,collapse:_0x180717,item:_0x48499e}=_0x59ef3d,_0x3ce239={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldId':_0x3842bb,'collapse':_0x180717,'item':_0x48499e};_0x10d00e[_0x1200f5(0x23c)]({'id':_0x3adb82['id'],'params':_0x3ce239});const _0x37c341={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldId':_0x3842bb,'collapse':!_0x180717,'item':_0x48499e};_0x55dd2c['unshift']({'id':_0x3adb82['id'],'params':_0x37c341});}break;case _0x6ee1ef['PivotTableChangeTypeEnum']['SetFieldFormat']:{const {newFormat:_0x47f154,oldFormat:_0x262d79,fieldId:_0x26d681}=_0x59ef3d,_0x4a0ae4={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldId':_0x26d681,'format':_0x47f154};_0x10d00e[_0x1200f5(0x23c)]({'id':_0x581745['id'],'params':_0x4a0ae4});const _0x1bf9d4={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldId':_0x26d681,'format':_0x262d79};_0x55dd2c['unshift']({'id':_0x581745['id'],'params':_0x1bf9d4});}break;case _0x6ee1ef['PivotTableChangeTypeEnum'][_0x1200f5(0x370)]:{const {tableFieldId:_0xeb20e7,oldSourceName:_0x1404cd,newSourceName:_0x167d89,oldDataFieldId:_0x1205bf,newDataFieldId:_0x3f31aa}=_0x59ef3d,_0x1382df={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'tableFieldId':_0xeb20e7,'sourceName':_0x167d89,'dataFieldId':_0x3f31aa};_0x10d00e[_0x1200f5(0x23c)]({'id':_0x3a1421['id'],'params':_0x1382df});const _0x22baae={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'tableFieldId':_0xeb20e7,'sourceName':_0x1404cd,'dataFieldId':_0x1205bf};_0x55dd2c['unshift']({'id':_0x3a1421['id'],'params':_0x22baae});}break;case _0x6ee1ef['PivotTableChangeTypeEnum'][_0x1200f5(0x2bb)]:{const {fieldId:_0xe1280f,filterInfo:_0x51b7e7,oldFilterInfo:_0x46da6e}=_0x59ef3d,_0x3a6fec={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldId':_0xe1280f,'filterInfo':_0x51b7e7};_0x10d00e[_0x1200f5(0x23c)]({'id':_0x50aca9['id'],'params':_0x3a6fec});const _0x2f02fa={'unitId':_0x45a955,'subUnitId':_0x375cb2,'pivotTableId':_0x2ab47c,'fieldId':_0xe1280f,'filterInfo':_0x46da6e};_0x55dd2c[_0x1200f5(0x371)]({'id':_0x50aca9['id'],'params':_0x2f02fa});}}return{'redos':_0x10d00e,'undos':_0x55dd2c};}function _0x489cf4(_0x2d8255,_0x48d130){const _0x85b763=_0x254bc1;var _0x2552aa;const _0x2a6893=_0x2d8255['get'](_0xca2f35[_0x85b763(0x391)]),{cellInfo:_0x1e75d3,view:_0x427647,isEmpty:_0x56f08d}=_0x48d130;return(_0x2552aa=_0x2a6893[_0x85b763(0x43f)][_0x85b763(0x3ad)](_0x542c9a)(_0x57dbe5,{'cellInfo':_0x1e75d3,'view':_0x427647,'isEmpty':_0x56f08d}))!=null?_0x2552aa:_0x57dbe5;}const _0x221923=()=>typeof process<'u'&&process[_0x254bc1(0x241)]!=null&&process['versions'][_0x254bc1(0x30b)]!=null,_0xac50c0={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x21b)],'id':_0x254bc1(0x26f),'handler'(_0x84a1cc,_0x5f4267){const _0x3375ef=_0x254bc1;var _0x16044a;if(!_0x5f4267)return!0x1;const _0xd5047c=_0x84a1cc[_0x3375ef(0x404)](_0x373a9f[_0x3375ef(0x2a9)]);if(!!_0xd5047c[_0x3375ef(0x249)](_0x43c827))return!0x0;const _0x519506=_0x84a1cc[_0x3375ef(0x404)](_0x373a9f[_0x3375ef(0x243)]),_0x56a662=_0x84a1cc[_0x3375ef(0x404)](_0xca2f35[_0x3375ef(0x2cb)]),{pivotTableId:_0x4a44f3,pivotTableConfig:_0x51dacb,collectionConfig:_0x51cd39,unitId:_0x420874,subUnitId:_0x57d957}=_0x5f4267,{sourceRangeInfo:_0x15080b,fieldsConfig:_0x1bc270,targetCellInfo:_0x1c713e}=_0x51dacb,_0xcbf7d6=_0x519506['getUnit'](_0x420874);if(!_0xcbf7d6||!_0xcbf7d6[_0x3375ef(0x335)](_0x57d957))return!0x1;if(!_0x221923()){let _0xa9e703=0x0;_0xcbf7d6[_0x3375ef(0x1a8)]()[_0x3375ef(0x2b2)](_0x33a66c=>{const _0x308522=_0x3375ef;var _0x2b347e,_0x1e96bf;_0xa9e703+=(_0x1e96bf=(_0x2b347e=_0x56a662['getSubUnitPivotConfigs'](_0x420874,_0x33a66c[_0x308522(0x26d)]()))==null?void 0x0:_0x2b347e[_0x308522(0x35a)])!=null?_0x1e96bf:0x0;});const _0x690a75=(_0x16044a=_0xd5047c[_0x3375ef(0x249)](_0x2291e4[_0x3375ef(0x26a)]))!=null?_0x16044a:{},{ls:_0x510394,pbk:_0x47c17e}=_0x690a75;if(!_0x235a8b(_0x510394,_0x47c17e))throw new _0x373a9f[(_0x3375ef(0x1c8))](_0x3375ef(0x3ec));const _0x171ed4=_0x45cb20(_0x2c6c8b,_0x510394,_0x47c17e)[_0x3375ef(0x429)];if(_0xa9e703>=_0x171ed4)throw new _0x373a9f['CustomCommandExecutionError'](_0x3375ef(0x3ec));}if(!_0x51cd39||!_0x1bc270)return!0x1;const {collection:_0x81ca97,updateDataFieldList:_0x5f19eb}=_0x56a662[_0x3375ef(0x342)](_0x4a44f3,_0x51cd39,_0x15080b,_0x1c713e);_0x56a662[_0x3375ef(0x416)](_0x81ca97,_0x5f19eb,_0x15080b);const _0x4873a0=new _0x6ee1ef[(_0x3375ef(0x339))](_0x81ca97,void 0x0,_0x4a44f3);_0x4873a0[_0x3375ef(0x184)](_0x1bc270);const _0x339217=JSON[_0x3375ef(0x1e6)](JSON[_0x3375ef(0x1b4)](_0x51dacb));return _0x56a662[_0x3375ef(0x3c8)](_0x420874,_0x57d957,_0x4a44f3,_0x4873a0,_0x339217),_0x56a662[_0x3375ef(0x2d5)]({'unitId':_0x420874,'subUnitId':_0x57d957,'token':_0x4a44f3,'type':_0x17805c['Add'],'pivotConfig':_0x339217}),!0x0;}},_0x4be6c3={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x21b)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x2b9f81,_0x1420de){const _0x32914a=_0x254bc1;if(!_0x1420de)return!0x1;if(!!_0x2b9f81[_0x32914a(0x404)](_0x373a9f['IConfigService'])[_0x32914a(0x249)](_0x43c827))return!0x0;const {pivotTableId:_0x302ebf,unitId:_0x16d264,subUnitId:_0x1012cf}=_0x1420de,_0x338cb6=_0x2b9f81[_0x32914a(0x404)](_0xca2f35[_0x32914a(0x2cb)]);return _0x338cb6[_0x32914a(0x329)](_0x16d264,_0x1012cf,_0x302ebf)?(_0x338cb6[_0x32914a(0x2d5)]({'unitId':_0x16d264,'subUnitId':_0x1012cf,'token':_0x302ebf,'type':_0x17805c[_0x32914a(0x288)]}),_0x338cb6[_0x32914a(0x23f)](_0x16d264,_0x1012cf,_0x302ebf),!0x0):!0x1;}},_0x16909d={'type':_0x373a9f['CommandType'][_0x254bc1(0x21b)],'id':_0x254bc1(0x272),'handler'(_0x4b88df,_0xb68017){const _0x3de2b1=_0x254bc1;if(!_0xb68017)return!0x1;if(!!_0x4b88df[_0x3de2b1(0x404)](_0x373a9f[_0x3de2b1(0x2a9)])[_0x3de2b1(0x249)](_0x43c827))return!0x0;const {pivotTableId:_0x429fd8,targetCellPosition:_0x28d10c,unitId:_0x1d8f28,subUnitId:_0x1bebbe}=_0xb68017,_0x1024e4=_0x4b88df['get'](_0xca2f35[_0x3de2b1(0x2cb)]);if(!_0x1024e4[_0x3de2b1(0x2df)](_0xb68017[_0x3de2b1(0x1ad)]))return!0x1;const _0x14d349=_0x1024e4[_0x3de2b1(0x317)](_0x429fd8);if(!_0x14d349)return!0x1;const _0x3838fb=_0x1024e4['getCollection'](_0x14d349[_0x3de2b1(0x3fa)],_0xb68017['pivotTableId']);if(!_0x3838fb)return!0x1;const _0x2c767d=_0x1024e4[_0x3de2b1(0x329)](_0x14d349['unitId'],_0x14d349[_0x3de2b1(0x24b)],_0x429fd8);if(!_0x2c767d)return!0x1;const _0x454178=_0x373a9f[_0x3de2b1(0x18e)]['deepClone'](_0x2c767d);_0x454178['targetCellInfo']={'unitId':_0x1d8f28,'subUnitId':_0x1bebbe,'row':_0x28d10c[_0x3de2b1(0x166)],'col':_0x28d10c[_0x3de2b1(0x2a7)]};const _0xd54247=_0x3838fb['toJSON']();if(_0x14d349[_0x3de2b1(0x24b)]===_0x1bebbe&&_0x14d349['unitId']===_0x1d8f28)_0x1024e4[_0x3de2b1(0x277)](_0x1d8f28,_0x1bebbe,_0x429fd8,_0x454178),_0x1024e4[_0x3de2b1(0x2d5)]({'unitId':_0x1d8f28,'subUnitId':_0x1bebbe,'token':_0x429fd8,'type':_0x17805c['Set']});else{_0x1024e4[_0x3de2b1(0x2d5)]({'unitId':_0x14d349['unitId'],'subUnitId':_0x14d349[_0x3de2b1(0x24b)],'token':_0x429fd8,'type':_0x17805c[_0x3de2b1(0x288)]}),_0x1024e4[_0x3de2b1(0x23f)](_0x14d349[_0x3de2b1(0x3fa)],_0x14d349[_0x3de2b1(0x24b)],_0x429fd8);const _0x860f71=_0x1024e4[_0x3de2b1(0x342)](_0x429fd8,_0xd54247,_0x2c767d[_0x3de2b1(0x3d7)],_0x454178[_0x3de2b1(0x41a)]),_0x214be1=new _0x6ee1ef['PivotTable'](_0x860f71['collection'],void 0x0,_0x429fd8);_0x214be1[_0x3de2b1(0x184)](_0x454178['fieldsConfig']),_0x1024e4[_0x3de2b1(0x3c8)](_0x1d8f28,_0x1bebbe,_0x429fd8,_0x214be1,_0x454178),_0x1024e4[_0x3de2b1(0x2d5)]({'unitId':_0x1d8f28,'subUnitId':_0x1bebbe,'token':_0x429fd8,'type':_0x17805c[_0x3de2b1(0x467)],'pivotConfig':_0x454178});}return!0x0;}},_0x2d8bcd={'type':_0x373a9f[_0x254bc1(0x163)]['MUTATION'],'id':_0x254bc1(0x3f8),'handler'(_0xebef4,_0x1bb22d){const _0x14927f=_0x254bc1;if(!_0x1bb22d)return!0x1;if(!!_0xebef4['get'](_0x373a9f[_0x14927f(0x2a9)])['getConfig'](_0x43c827))return!0x0;const _0x5229bc=_0xebef4[_0x14927f(0x404)](_0xca2f35[_0x14927f(0x2cb)]),{pivotTableId:_0x41a075,deleteIds:_0x579ed1,collectionJSON:_0x127ec3,dataRangeInfo:_0x51da3b,unitId:_0x87f88d,subUnitId:_0x6e1752}=_0x1bb22d,_0x76e8e0=_0x5229bc[_0x14927f(0x2df)](_0x41a075),_0x43475a=_0x5229bc['getPivotTableConfig'](_0x87f88d,_0x6e1752,_0x41a075);if(!_0x76e8e0||!_0x43475a)return!0x1;const {collection:_0x4be116,updateDataFieldList:_0x4cdd92}=_0x5229bc[_0x14927f(0x342)](_0x41a075,_0x127ec3,_0x51da3b,_0x43475a[_0x14927f(0x41a)]);_0x5229bc[_0x14927f(0x416)](_0x4be116,_0x4cdd92,_0x51da3b),_0x76e8e0[_0x14927f(0x3d0)](_0x4be116);for(const _0x14c6e0 of _0x579ed1)_0x5229bc[_0x14927f(0x22c)](_0x51da3b[_0x14927f(0x3fa)],_0x14c6e0);const _0x14dbf8=_0x5229bc['getPivotTableConfig'](_0x87f88d,_0x6e1752,_0x41a075);return _0x14dbf8[_0x14927f(0x3d7)]=JSON[_0x14927f(0x1e6)](JSON[_0x14927f(0x1b4)](_0x51da3b)),_0x5229bc[_0x14927f(0x2d5)]({'unitId':_0x87f88d,'subUnitId':_0x6e1752,'token':_0x41a075,'type':_0x17805c[_0x14927f(0x1c0)]}),!0x0;}},_0x4c032b={'type':_0x373a9f[_0x254bc1(0x163)]['MUTATION'],'id':_0x254bc1(0x39e),'handler'(){return!0x0;}};var _0x774ce8=Object[_0x254bc1(0x1f0)],_0x3c2114=(_0x455f94,_0x370c3d,_0x3ea4d1,_0x41f171)=>{const _0x2eb6a0=_0x254bc1;for(var _0x5c733b=_0x41f171>0x1?void 0x0:_0x41f171?_0x774ce8(_0x370c3d,_0x3ea4d1):_0x370c3d,_0x4ce7e4=_0x455f94[_0x2eb6a0(0x3a6)]-0x1,_0xaef6f4;_0x4ce7e4>=0x0;_0x4ce7e4--)(_0xaef6f4=_0x455f94[_0x4ce7e4])&&(_0x5c733b=_0xaef6f4(_0x5c733b)||_0x5c733b);return _0x5c733b;},_0x3842ae=(_0x225c05,_0x161cf9)=>(_0x22b6af,_0x3ea35a)=>_0x161cf9(_0x22b6af,_0x3ea35a,_0x225c05);_0xca2f35[_0x254bc1(0x171)]=class extends _0x373a9f[_0x254bc1(0x292)]{constructor(_0x4e9be9,_0x35070e){const _0x9c9c41=_0x254bc1;super(),_0x9a3aa2(this,_0x9c9c41(0x226),new Map()),(this[_0x9c9c41(0x3ca)]=_0x4e9be9,this[_0x9c9c41(0x3c1)]=_0x35070e);}[_0x254bc1(0x361)](_0xc26e10){const _0x425bd3=_0x254bc1,{version:_0x11aa3e}=_0xc26e10,_0x561bc6=this[_0x425bd3(0x226)][_0x425bd3(0x404)](_0x11aa3e);_0x561bc6&&(_0x561bc6(_0xc26e10),this[_0x425bd3(0x226)][_0x425bd3(0x1a1)](_0x11aa3e));}[_0x254bc1(0x1ca)](_0x61a74a){return new Promise((_0x1dae71,_0x303ed3)=>{const _0x34190d=_0x3024,_0x178e71=this['_generateUniqueVersion']();this['_requestResolvers']['set'](_0x178e71,_0x1dae71),this[_0x34190d(0x3c1)]['executeCommand'](_0x5d9248['id'],{'version':_0x178e71,..._0x61a74a},{'onlyLocal':!0x0});});}[_0x254bc1(0x2bc)](){const _0x805d45=_0x254bc1;return Math[_0x805d45(0x2c2)]()['toString'](0x24)[_0x805d45(0x2b9)](0x2,0x10);}},_0xca2f35[_0x254bc1(0x171)]=_0x3c2114([_0x3842ae(0x0,_0x373a9f['Inject'](_0x373a9f['Injector'])),_0x3842ae(0x1,_0x373a9f[_0x254bc1(0x308)](_0x373a9f[_0x254bc1(0x1fe)]))],_0xca2f35['SheetsPivotRPCService']);const _0x146d73={'id':'sheet.mutation.add-group-collection','type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x21b)],'handler':(_0x120812,_0x482018)=>{const _0x12ebc4=_0x254bc1;if(!_0x482018)return!0x1;if(!!_0x120812[_0x12ebc4(0x404)](_0x373a9f[_0x12ebc4(0x2a9)])[_0x12ebc4(0x249)](_0x43c827))return!0x0;const {pivotTableId:_0x2ed95b,fieldJSON:_0x1ec0bc,unitId:_0x26a94e,subUnitId:_0x1208c9}=_0x482018,_0x2ac7e8=_0x6ee1ef[_0x12ebc4(0x27d)][_0x12ebc4(0x184)](_0x1ec0bc);if(!_0x2ac7e8)return!0x1;const _0x286c7c=_0x120812['get'](_0xca2f35[_0x12ebc4(0x2cb)]),_0x1bf2a9=_0x286c7c[_0x12ebc4(0x41e)](_0x26a94e),_0x343274=_0x1bf2a9[_0x12ebc4(0x3dc)](_0x2ed95b);_0x1bf2a9['addDataFieldWithoutUnitInfo'](_0x2ac7e8),_0x343274[_0x12ebc4(0x20c)](_0x2ac7e8[_0x12ebc4(0x443)](),_0x2ac7e8[_0x12ebc4(0x39c)]());const _0x1b8d10=_0x343274['getFieldById'](_0x2ac7e8['getOriginFieldId']());_0x1b8d10&&_0x2ac7e8[_0x12ebc4(0x2c9)](_0x1b8d10);const _0x728001=_0x286c7c[_0x12ebc4(0x329)](_0x26a94e,_0x1208c9,_0x2ed95b);return _0x286c7c[_0x12ebc4(0x2d5)]({'unitId':_0x26a94e,'subUnitId':_0x1208c9,'token':_0x2ed95b,'type':_0x17805c['Set'],'pivotConfig':_0x728001}),!0x0;}},_0x5a3fd3={'id':'sheet.mutation.remove-group-collection','type':_0x373a9f['CommandType'][_0x254bc1(0x21b)],'handler':(_0x3b3dd3,_0x1847b4)=>{const _0x49c093=_0x254bc1;if(!_0x1847b4)return!0x1;if(!!_0x3b3dd3[_0x49c093(0x404)](_0x373a9f[_0x49c093(0x2a9)])['getConfig'](_0x43c827))return!0x0;const {pivotTableId:_0x544791,dataFieldId:_0x2060ed,unitId:_0x4a8614,subUnitId:_0x8f560d}=_0x1847b4,_0x1f4c10=_0x3b3dd3[_0x49c093(0x404)](_0xca2f35[_0x49c093(0x2cb)]),_0x4e3bb4=_0x1f4c10[_0x49c093(0x41e)](_0x4a8614);_0x4e3bb4[_0x49c093(0x3dc)](_0x544791)[_0x49c093(0x3f4)](_0x2060ed);let _0x22a1aa=!0x0;for(const _0x1dba47 in _0x4e3bb4[_0x49c093(0x20d)])if(_0x4e3bb4[_0x49c093(0x20d)][_0x1dba47][_0x49c093(0x22a)]()['includes'](_0x2060ed)){_0x22a1aa=!0x1;break;}_0x22a1aa&&_0x4e3bb4[_0x49c093(0x3ba)](_0x2060ed);const _0x1e77a8=_0x1f4c10[_0x49c093(0x329)](_0x4a8614,_0x8f560d,_0x544791);return _0x1f4c10[_0x49c093(0x2d5)]({'unitId':_0x4a8614,'subUnitId':_0x8f560d,'token':_0x544791,'type':_0x17805c['Set'],'pivotConfig':_0x1e77a8}),!0x0;}},_0x19fa7a={'type':_0x373a9f['CommandType'][_0x254bc1(0x29b)],'id':_0x254bc1(0x33c),async 'handler'(_0x26726d,_0x42e0f8){const _0x1e3f9f=_0x254bc1;if(!_0x42e0f8)return!0x1;const _0x136bc5=_0x26726d[_0x1e3f9f(0x404)](_0x373a9f['ICommandService']),_0x2c26d9=_0x26726d['get'](_0xca2f35[_0x1e3f9f(0x171)]),_0x50d53e=_0x26726d[_0x1e3f9f(0x404)](_0x373a9f[_0x1e3f9f(0x417)]),{pivotTableId:_0x18ea54,dataFieldId:_0x246f51,fieldArea:_0x530448,index:_0x408eaf,unitId:_0x1cd9eb,subUnitId:_0x3f964c}=_0x42e0f8,_0x4f99dd=(await _0x2c26d9['getPivotDisplayConfig']({'unitId':_0x1cd9eb,'subUnitId':_0x3f964c,'pivotTableId':_0x18ea54,'params':{'type':_0x126194[_0x1e3f9f(0x246)],'addPivotField':{'dataFieldId':_0x246f51,'fieldArea':_0x530448,'index':_0x408eaf}}}))[_0x1e3f9f(0x1ed)][_0x1e3f9f(0x375)];if(!_0x4f99dd)return!0x1;const {view:_0x572bb0,changesets:_0x163f29,isEmpty:_0x3c0b3f,pivotTableConfig:_0x35b890,shouldBeAddedGroupJSON:_0x5a9e0f}=_0x4f99dd,_0x318dde=_0x35b890[_0x1e3f9f(0x41a)],_0x3b00a4=new _0x6ee1ef[(_0x1e3f9f(0x19f))]();_0x3b00a4[_0x1e3f9f(0x28f)](_0x572bb0);const _0x52f190={'cellInfo':_0x318dde,'view':_0x3b00a4,'isEmpty':_0x3c0b3f};if(!await _0x26726d[_0x1e3f9f(0x404)](_0xca2f35[_0x1e3f9f(0x391)])['asyncInterceptor'][_0x1e3f9f(0x30c)](_0x52fd93)(!0x0,_0x52f190))return!0x1;const _0x22195e=_0x4853f9(_0x26726d,_0x3b00a4,_0x318dde,_0x3c0b3f),_0x1c81bd=_0x489cf4(_0x26726d,_0x52f190),{undos:_0x4cd377,redos:_0x4b2840}=_0x14c1b3(_0x136bc5,{'pivotTableId':_0x18ea54,'unitId':_0x1cd9eb,'subUnitId':_0x3f964c},_0x163f29);return _0x5a9e0f&&(_0x4b2840['unshift']({'id':_0x146d73['id'],'params':{'pivotTableId':_0x18ea54,'fieldJSON':_0x5a9e0f,'unitId':_0x1cd9eb,'subUnitId':_0x3f964c}}),_0x4cd377['push']({'id':_0x5a3fd3['id'],'params':{'pivotTableId':_0x18ea54,'dataFieldId':_0x5a9e0f['id'],'unitId':_0x1cd9eb,'subUnitId':_0x3f964c}})),_0x373a9f[_0x1e3f9f(0x3bf)]([..._0x22195e[_0x1e3f9f(0x2dc)],..._0x1c81bd[_0x1e3f9f(0x2dc)],..._0x4b2840],_0x136bc5),_0x50d53e[_0x1e3f9f(0x247)]({'unitID':_0x1cd9eb,'redoMutations':[..._0x22195e[_0x1e3f9f(0x2dc)],..._0x1c81bd[_0x1e3f9f(0x2dc)],..._0x4b2840],'undoMutations':[..._0x22195e[_0x1e3f9f(0x3b5)],..._0x1c81bd[_0x1e3f9f(0x3b5)],..._0x4cd377]}),!0x0;}},_0x21a36e={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x29b)],'id':_0x254bc1(0x197),async 'handler'(_0x21e4de,_0x279ae9){const _0x581ba4=_0x254bc1;if(!_0x279ae9)return!0x1;const {sourceDataInfo:_0x1bd171,pivotTableConfig:_0x286b8a}=_0x279ae9;if(!_0x1bd171||!_0x286b8a)return!0x1;const {unitId:_0x2a35bd,subUnitId:_0x5e93b9,range:_0x46620e}=_0x1bd171,_0x53edd0=_0x21e4de[_0x581ba4(0x404)](_0x373a9f[_0x581ba4(0x243)]),_0x34ee0f=_0x21e4de[_0x581ba4(0x404)](_0xca2f35['SheetsPivotRPCService']),_0x4c9ca7=_0x21e4de[_0x581ba4(0x404)](_0x373a9f[_0x581ba4(0x2f8)]),_0x384ccf=_0x21e4de[_0x581ba4(0x404)](_0x373a9f[_0x581ba4(0x1fe)]),_0x3cd670=_0x53edd0[_0x581ba4(0x46d)](_0x2a35bd);if(!_0x3cd670)return!0x1;const _0x72ae67=_0x3cd670['getSheetBySheetId'](_0x5e93b9);if(!_0x72ae67)return!0x1;const _0x2f7538=_0x6ee1ef['generateHexNumber'](0x8),_0x474826=_0x46620e||{'startRow':0x0,'startColumn':0x0,'endRow':_0x72ae67[_0x581ba4(0x314)]()-0x1,'endColumn':_0x72ae67[_0x581ba4(0x181)]()-0x1};_0x474826[_0x581ba4(0x15a)]=_0x373a9f['RANGE_TYPE']['NORMAL'];const _0x37b194=(await _0x34ee0f['getPivotDisplayConfig']({'unitId':_0x2a35bd,'subUnitId':_0x5e93b9,'pivotTableId':_0x2f7538,'params':{'type':_0x126194['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x2a35bd,'sheetName':_0x72ae67['getName'](),'subUnitId':_0x5e93b9,'range':_0x474826},'pivotTableId':_0x2f7538,'pivotTableIndexConfig':_0x286b8a}}}))[_0x581ba4(0x1ed)][_0x581ba4(0x3c7)];if(!_0x37b194)return!0x1;const {isEmpty:_0x26e8c2,fieldsConfig:_0x9ca9c8,collectionConfig:_0x5ce0e3,changesets:_0x9d575}=_0x37b194,_0x2422f0=_0x3cd670[_0x581ba4(0x1a8)]()[_0x581ba4(0x3a6)],_0x40ac3a=_0x373a9f[_0x581ba4(0x297)]({'rowCount':_0x72ae67['getRowCount']()-0x1,'columnCount':_0x72ae67[_0x581ba4(0x181)]()-0x1});_0x40ac3a['id']=_0x373a9f[_0x581ba4(0x34a)](),_0x40ac3a[_0x581ba4(0x357)]=_0x3cd670[_0x581ba4(0x1cd)](''+_0x4c9ca7['t']('sheets.tabs.sheet'));const _0x3e4753={'index':_0x2422f0,'sheet':_0x40ac3a,'unitId':_0x2a35bd},{redos:_0x3d4174}=_0x14c1b3(_0x384ccf,{'pivotTableId':_0x2f7538,'unitId':_0x2a35bd,'subUnitId':_0x40ac3a['id']},_0x9d575),_0x5d51a2=[{'id':_0x204566[_0x581ba4(0x44e)]['id'],'params':_0x3e4753},{'id':_0xac50c0['id'],'params':{'unitId':_0x2a35bd,'subUnitId':_0x40ac3a['id'],'pivotTableId':_0x2f7538,'pivotTableConfig':{'isEmpty':_0x26e8c2,'fieldsConfig':_0x9ca9c8,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x2a35bd,'subUnitId':_0x40ac3a['id']},'sourceRangeInfo':{'subUnitId':_0x5e93b9,'unitId':_0x2a35bd,'range':_0x474826,'sheetName':_0x72ae67[_0x581ba4(0x39c)]()}},'collectionConfig':_0x5ce0e3}},..._0x3d4174];return _0x373a9f[_0x581ba4(0x3bf)](_0x5d51a2,_0x384ccf),!0x0;}},_0x152e0f={'type':_0x373a9f['CommandType'][_0x254bc1(0x29b)],'id':_0x254bc1(0x40e),async 'handler'(_0x20d70b,_0x35b8f6){const _0x1e3942=_0x254bc1;var _0xaab053,_0x44fb92;const _0x2cac65=_0x20d70b[_0x1e3942(0x404)](_0x373a9f['ICommandService']),_0x9e36c2=_0x20d70b['get'](_0x373a9f[_0x1e3942(0x243)]),_0x2c1337=_0x20d70b[_0x1e3942(0x404)](_0x373a9f[_0x1e3942(0x2f8)]),_0x1cbacd=_0x20d70b[_0x1e3942(0x404)](_0xca2f35[_0x1e3942(0x171)]),_0xc4a72f=_0x20d70b[_0x1e3942(0x404)](_0x373a9f[_0x1e3942(0x417)]),_0x386b3e=_0x20d70b[_0x1e3942(0x404)](_0xca2f35['SheetsPivotTableConfigModel']),_0x4c48a8=_0x20d70b['get'](_0x373a9f[_0x1e3942(0x2a9)]);if(!_0x35b8f6)return!0x1;const {pivotTableConfig:_0x37c2f2,positionType:_0x2601cc}=_0x35b8f6,{targetCellInfo:_0x1c1d30,sourceRangeInfo:_0x5c0db0}=_0x37c2f2,{unitId:_0xd3ca8,subUnitId:_0x313ae5}=_0x1c1d30,_0x261a55=_0x9e36c2[_0x1e3942(0x46d)](_0xd3ca8);if(!_0x261a55)return!0x1;let _0x3a70a5=0x0;_0x261a55[_0x1e3942(0x1a8)]()[_0x1e3942(0x2b2)](_0x472725=>{const _0x4ef3cd=_0x1e3942;var _0x517f65,_0x5b8b52;_0x3a70a5+=(_0x5b8b52=(_0x517f65=_0x386b3e[_0x4ef3cd(0x187)](_0xd3ca8,_0x472725[_0x4ef3cd(0x26d)]()))==null?void 0x0:_0x517f65[_0x4ef3cd(0x35a)])!=null?_0x5b8b52:0x0;});const _0x52eb7a=(_0xaab053=_0x4c48a8['getConfig'](_0x2291e4['LS_CONFIG_KEY']))!=null?_0xaab053:{},{ls:_0x213151,pbk:_0x53b736}=_0x52eb7a;if(!_0x235a8b(_0x213151,_0x53b736))return!0x1;const _0x3a386f=_0x45cb20(_0x2c6c8b,_0x213151,_0x53b736)[_0x1e3942(0x429)];if(_0x3a70a5>=_0x3a386f)return!0x1;const _0x4ed798=_0x35b8f6[_0x1e3942(0x1ad)]||_0x6ee1ef[_0x1e3942(0x32b)](0x8),_0x3fd70e=(await _0x1cbacd[_0x1e3942(0x1ca)]({'unitId':_0xd3ca8,'subUnitId':_0x313ae5,'pivotTableId':_0x4ed798,'params':{'type':_0x126194['AddPivotTable'],'addPivotTable':{'sourceRangeInfo':_0x5c0db0,'pivotTableId':_0x4ed798}}}))[_0x1e3942(0x1ed)]['addPivotTable'];if(!_0x3fd70e)return!0x1;const {view:_0x3e2780,isEmpty:_0x55f4fe,fieldsConfig:_0x5ea194,collectionConfig:_0x32a92b}=_0x3fd70e,_0x22f432=[],_0x1826a5=[];if(_0x2601cc===_0x3cbd6[_0x1e3942(0x194)]){const _0x345745=_0x261a55[_0x1e3942(0x1a8)]()['length'],_0x1ee2fe=_0x373a9f[_0x1e3942(0x297)]({});_0x1ee2fe['id']=_0x37c2f2[_0x1e3942(0x41a)][_0x1e3942(0x24b)],_0x1ee2fe['name']=(_0x44fb92=_0x37c2f2[_0x1e3942(0x41a)]['sheetName'])!=null?_0x44fb92:_0x261a55[_0x1e3942(0x1cd)](''+_0x2c1337['t']('sheets.tabs.sheet'));const _0x33f4a6={'index':_0x345745,'sheet':_0x1ee2fe,'unitId':_0xd3ca8},_0x27613c=_0x204566[_0x1e3942(0x45f)](_0x20d70b,_0x33f4a6);_0x22f432[_0x1e3942(0x23c)]({'id':_0x204566[_0x1e3942(0x430)]['id'],'params':_0x27613c}),_0x1826a5['push']({'id':_0x204566['InsertSheetMutation']['id'],'params':_0x33f4a6});}else{if(!_0x261a55[_0x1e3942(0x335)](_0x313ae5))return!0x1;const _0x104c89=_0x4853f9(_0x20d70b,new _0x6ee1ef['PivotView'](),_0x1c1d30,!0x0);_0x1826a5[_0x1e3942(0x23c)](..._0x104c89['redos']),_0x22f432[_0x1e3942(0x23c)](..._0x104c89[_0x1e3942(0x3b5)]);const _0x58ece7={'cellInfo':_0x1c1d30,'view':_0x3e2780,'isEmpty':_0x55f4fe};if(!await _0x20d70b[_0x1e3942(0x404)](_0xca2f35[_0x1e3942(0x391)])[_0x1e3942(0x44d)][_0x1e3942(0x30c)](_0x52fd93)(!0x0,_0x58ece7))return!0x1;const _0xfe2b7=_0x489cf4(_0x20d70b,_0x58ece7);_0x1826a5[_0x1e3942(0x23c)](..._0xfe2b7[_0x1e3942(0x2dc)]),_0x22f432[_0x1e3942(0x23c)](..._0xfe2b7['undos']);}return _0x1826a5[_0x1e3942(0x23c)]({'id':_0xac50c0['id'],'params':{'unitId':_0x1c1d30[_0x1e3942(0x3fa)],'subUnitId':_0x1c1d30['subUnitId'],'pivotTableId':_0x4ed798,'pivotTableConfig':{'targetCellInfo':_0x1c1d30,'sourceRangeInfo':_0x5c0db0,'fieldsConfig':_0x5ea194},'collectionConfig':_0x32a92b}}),_0x22f432[_0x1e3942(0x371)]({'id':_0x4be6c3['id'],'params':{'unitId':_0xd3ca8,'subUnitId':_0x313ae5,'pivotTableId':_0x4ed798}}),_0x373a9f[_0x1e3942(0x3bf)](_0x1826a5,_0x2cac65)&&_0xc4a72f['pushUndoRedo']({'unitID':_0xd3ca8,'undoMutations':_0x22f432,'redoMutations':_0x1826a5}),!0x0;}},_0x502e93={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x29b)],'id':_0x254bc1(0x232),async 'handler'(_0x1f5951,_0x6e6ccc){const _0x45bb47=_0x254bc1;if(!_0x6e6ccc)return!0x1;const _0xd0eccd=_0x1f5951[_0x45bb47(0x404)](_0x373a9f[_0x45bb47(0x1fe)]),_0x3cd862=_0x1f5951[_0x45bb47(0x404)](_0xca2f35[_0x45bb47(0x171)]),_0x1e03b0=_0x1f5951['get'](_0x373a9f[_0x45bb47(0x417)]),{pivotTableId:_0x1c6987,fieldId:_0x4296d2,area:_0x45b2c3,index:_0x41d16f,unitId:_0x57134c,subUnitId:_0x292ca9}=_0x6e6ccc,_0x38b75c=(await _0x3cd862[_0x45bb47(0x1ca)]({'unitId':_0x57134c,'subUnitId':_0x292ca9,'pivotTableId':_0x1c6987,'params':{'type':_0x126194[_0x45bb47(0x19e)],'movePivotField':{'fieldId':_0x4296d2,'area':_0x45b2c3,'index':_0x41d16f}}}))['result'][_0x45bb47(0x174)];if(!_0x38b75c)return!0x1;const {changesets:_0x3f958f,view:_0xfd80e8,isEmpty:_0x4a2224,pivotTableConfig:_0x52d45d}=_0x38b75c,_0x57a5e8=_0x52d45d['targetCellInfo'],_0x580b0e=new _0x6ee1ef[(_0x45bb47(0x19f))]();_0x580b0e[_0x45bb47(0x28f)](_0xfd80e8);const _0x4eda38={'cellInfo':_0x57a5e8,'view':_0x580b0e,'isEmpty':_0x4a2224};if(!await _0x1f5951[_0x45bb47(0x404)](_0xca2f35[_0x45bb47(0x391)])[_0x45bb47(0x44d)][_0x45bb47(0x30c)](_0x52fd93)(!0x0,_0x4eda38))return!0x1;const _0x5573d3=_0x4853f9(_0x1f5951,_0x580b0e,_0x57a5e8,_0x4a2224),_0x2acd86=_0x489cf4(_0x1f5951,_0x4eda38),{redos:_0x12e83c,undos:_0xe47cd2}=_0x14c1b3(_0xd0eccd,{'pivotTableId':_0x1c6987,'unitId':_0x57134c,'subUnitId':_0x292ca9},_0x3f958f);return _0x373a9f[_0x45bb47(0x3bf)]([..._0x5573d3['redos'],..._0x2acd86[_0x45bb47(0x2dc)],..._0x12e83c],_0xd0eccd),_0x1e03b0['pushUndoRedo']({'unitID':_0x57134c,'redoMutations':[..._0x5573d3[_0x45bb47(0x2dc)],..._0x2acd86['redos'],..._0x12e83c],'undoMutations':[..._0x5573d3['undos'],..._0x2acd86[_0x45bb47(0x3b5)],..._0xe47cd2]}),!0x0;}},_0x2d2e53={'type':_0x373a9f['CommandType'][_0x254bc1(0x29b)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x18d46e,_0x525196){const _0x2d52ef=_0x254bc1;var _0x42257f;if(!_0x525196)return!0x1;const _0x47c51e=_0x18d46e['get'](_0x373a9f[_0x2d52ef(0x243)]),_0x5dc984=_0x204566[_0x2d52ef(0x1d7)](_0x47c51e);if(!_0x5dc984)return!0x1;const {unitId:_0x4d7adc,subUnitId:_0x32ad6b,workbook:_0x4d7cc7}=_0x5dc984,{row:_0x113175,col:_0x51343e}=_0x525196,_0x5185c5=_0x18d46e[_0x2d52ef(0x404)](_0xca2f35['SheetsPivotTableAdaptorModel']),_0x379e22=_0x5185c5[_0x2d52ef(0x2a6)](_0x4d7adc,_0x32ad6b,_0x113175,_0x51343e);if(!_0x379e22)return!0x1;const _0x59e4cc=(_0x42257f=_0x5185c5[_0x2d52ef(0x1b0)](_0x4d7adc,_0x32ad6b,_0x379e22))==null?void 0x0:_0x42257f[_0x2d52ef(0x36b)];if(!_0x59e4cc)return!0x1;const _0x569e86=_0x18d46e['get'](_0xca2f35[_0x2d52ef(0x18d)])['getPivotTableConfig'](_0x4d7adc,_0x32ad6b,_0x379e22);if(!_0x569e86)return!0x1;const {rowInfo:_0x26b243,colInfo:_0x23ab0f}=_0x59e4cc,_0x359623=_0x26b243[_0x113175][_0x2d52ef(0x450)],_0x447d1e=_0x23ab0f[_0x51343e][_0x2d52ef(0x450)],_0x58d875=_0x26b243[_0x113175][_0x2d52ef(0x259)],_0x4e98f5=_0x23ab0f[_0x51343e]['level'],_0x479fc1=_0x359623[_0x2d52ef(0x389)](_0x447d1e),_0x52793e=_0x569e86[_0x2d52ef(0x240)][_0x2d52ef(0x46c)]['slice'](0x0,_0x58d875),_0x3d5a65=_0x569e86[_0x2d52ef(0x240)][_0x2d52ef(0x446)][_0x2d52ef(0x1c3)](0x0,_0x4e98f5),_0x1d0ec4=_0x52793e[_0x2d52ef(0x389)](_0x3d5a65),_0x3a11c1=_0x479fc1[_0x2d52ef(0x34b)]((_0x457981,_0x4630d8)=>[_0x457981,_0x1d0ec4[_0x4630d8]]),_0x53b113=(await _0x18d46e[_0x2d52ef(0x404)](_0xca2f35['SheetsPivotRPCService'])[_0x2d52ef(0x1ca)]({'unitId':_0x4d7adc,'subUnitId':_0x32ad6b,'pivotTableId':_0x379e22,'params':{'type':_0x126194[_0x2d52ef(0x36f)],'drillDown':{'tuple':_0x3a11c1}}}))[_0x2d52ef(0x1ed)][_0x2d52ef(0x337)];if(!_0x53b113)return!0x1;const {indexes:_0x529fdb,range:_0x2920b3,sourceUnitId:_0x321ec3,sourceSubUnitId:_0xa553dd,formatMap:_0x28dcd7}=_0x53b113,{startRow:_0x6aa515,endRow:_0x108319,startColumn:_0x2ec6f8,endColumn:_0x29f83b}=_0x2920b3,_0x26e23d=new _0x373a9f['ObjectMatrix'](),_0x3d7b18=_0x108319-_0x6aa515,_0xfe8fe1=_0x29f83b-_0x2ec6f8,_0x1d15e6={},_0x47922a=_0x204566[_0x2d52ef(0x1d7)](_0x47c51e,{'unitId':_0x321ec3,'subUnitId':_0xa553dd});if(!_0x47922a)return!0x1;const _0x10cd15=_0x2a53fa['colStyle'],_0x18b5c9=_0x2a53fa['subTotalStyle'],_0x58bbb7=_0x2a53fa[_0x2d52ef(0x354)],_0x45d978=_0x4d7cc7[_0x2d52ef(0x445)]()['setValue'](_0x10cd15),_0x185a30=_0x4d7cc7['getStyles']()[_0x2d52ef(0x212)](_0x18b5c9),_0xcb30a5=_0x4d7cc7[_0x2d52ef(0x445)]()[_0x2d52ef(0x212)](_0x58bbb7),{worksheet:_0x4c6fdd}=_0x47922a;let _0x55fc15=0x0;const _0x8a646c=0x1;_0x529fdb['forEach'](_0xb07b21=>{const _0x4c339d=_0x2d52ef;for(let _0x49fb8b=0x0;_0x49fb8b<=_0x29f83b-_0x2ec6f8;_0x49fb8b++)_0x26e23d['setValue'](_0x55fc15,_0x49fb8b,_0x4c6fdd[_0x4c339d(0x1cc)](_0xb07b21+_0x2920b3[_0x4c339d(0x2a5)]+_0x8a646c,_0x49fb8b));_0x55fc15++;});for(let _0x54501c=_0x2ec6f8;_0x54501c<=_0x29f83b;_0x54501c++){const _0x5f2a6b=_0x4c6fdd[_0x2d52ef(0x1cc)](_0x6aa515,_0x54501c);_0x1d15e6[_0x6aa515]||(_0x1d15e6[_0x6aa515]={}),_0x1d15e6[_0x6aa515][_0x54501c]={..._0x5f2a6b,'s':_0x45d978};}let _0x4fcf5c=0x1;const _0x2e5fc4={},_0x1d9d4e={};_0x26e23d['forRow']((_0x5797bf,_0x3bce26)=>{const _0x1594ea=_0x2d52ef;_0x3bce26[_0x1594ea(0x2b2)](_0x344ff3=>{const _0xc5ac0c=_0x1594ea,_0x264236=_0x26e23d[_0xc5ac0c(0x3fd)](_0x5797bf,_0x344ff3);if(_0x1d15e6[_0x4fcf5c]||(_0x1d15e6[_0x4fcf5c]={}),_0x1d15e6[_0x4fcf5c][_0x344ff3]={..._0x264236,'s':_0x4fcf5c%0x2===0x0?_0xcb30a5:_0x185a30},_0x28dcd7[_0x344ff3]&&_0x5797bf>=0x0){const _0x50a98c=_0x4fcf5c%0x2===0x0;let _0x365aa3=_0x50a98c?_0x1d9d4e[_0x344ff3]:_0x2e5fc4[_0x344ff3];_0x365aa3||(_0x365aa3=_0x4d7cc7['getStyles']()['setValue']({..._0x50a98c?_0x58bbb7:_0x18b5c9,'n':{'pattern':_0x28dcd7[_0x344ff3]}}),_0x50a98c?_0x1d9d4e[_0x344ff3]=_0x365aa3:_0x2e5fc4[_0x344ff3]=_0x365aa3),_0x1d15e6[_0x4fcf5c][_0x344ff3]['s']=_0x365aa3;}}),_0x4fcf5c++;});const _0x2ec08b=new _0x373a9f['ObjectMatrix'](_0x1d15e6),_0x3beb89={};_0x2ec08b[_0x2d52ef(0x45c)]((_0x5793de,_0x3cefb0,_0x578a90)=>{_0x3beb89[_0x5793de]||(_0x3beb89[_0x5793de]={}),_0x3beb89[_0x5793de][_0x3cefb0]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x25dbf0=[],_0x5c7e48=[],_0x133949=_0x4d7cc7[_0x2d52ef(0x1a8)]()['length'],_0x15c55b=_0x373a9f[_0x2d52ef(0x297)]({'rowCount':Math['max'](_0x373a9f[_0x2d52ef(0x3b2)],_0x3d7b18+0xa),'columnCount':Math[_0x2d52ef(0x264)](_0x373a9f['DEFAULT_WORKSHEET_COLUMN_COUNT'],_0xfe8fe1+0x5)}),_0x5a7ed4=_0x18d46e[_0x2d52ef(0x404)](_0x373a9f[_0x2d52ef(0x2f8)]);_0x15c55b['id']=_0x373a9f['generateRandomId'](),_0x15c55b[_0x2d52ef(0x357)]=_0x4d7cc7[_0x2d52ef(0x1cd)](''+_0x5a7ed4['t'](_0x2d52ef(0x34e)));const _0x409bdd={'index':_0x133949,'sheet':_0x15c55b,'unitId':_0x4d7adc},_0x26eb25=_0x204566[_0x2d52ef(0x45f)](_0x18d46e,_0x409bdd);_0x5c7e48[_0x2d52ef(0x23c)]({'id':_0x204566[_0x2d52ef(0x3fb)]['id'],'params':_0x409bdd}),_0x25dbf0[_0x2d52ef(0x23c)]({'id':_0x204566[_0x2d52ef(0x430)]['id'],'params':_0x26eb25}),_0x5c7e48['push']({'id':_0x204566[_0x2d52ef(0x3c5)]['id'],'params':{'unitId':_0x4d7adc,'subUnitId':_0x15c55b['id'],'cellValue':_0x1d15e6}}),_0x25dbf0[_0x2d52ef(0x371)]({'id':_0x204566[_0x2d52ef(0x3c5)]['id'],'params':{'unitId':_0x4d7adc,'subUnitId':_0x15c55b['id'],'cellValue':_0x3beb89}});const _0x18a66d={'startRow':0x0,'startColumn':0x0,'endRow':_0x4fcf5c-0x1,'endColumn':_0x29f83b};_0x5c7e48[_0x2d52ef(0x23c)]({'id':_0xc432c7[_0x2d52ef(0x2d3)]['id'],'params':{'unitId':_0x4d7adc,'subUnitId':_0x15c55b['id'],'range':_0x18a66d}}),_0x25dbf0[_0x2d52ef(0x371)]({'id':_0xc432c7['RemoveSheetsFilterMutation']['id'],'params':{'unitId':_0x4d7adc,'subUnitId':_0x15c55b['id']}});const _0x44f918=_0x18d46e[_0x2d52ef(0x404)](_0x373a9f[_0x2d52ef(0x1fe)]);return _0x373a9f[_0x2d52ef(0x3bf)](_0x5c7e48,_0x44f918)&&_0x18d46e[_0x2d52ef(0x404)](_0x373a9f[_0x2d52ef(0x417)])[_0x2d52ef(0x247)]({'unitID':_0x4d7adc,'undoMutations':_0x25dbf0,'redoMutations':_0x5c7e48}),!0x0;}},_0x23bc62={'type':_0x373a9f['CommandType'][_0x254bc1(0x29b)],'id':_0x254bc1(0x40f),async 'handler'(_0x33790f,_0x445a33){const _0x59417c=_0x254bc1;if(!_0x445a33)return!0x1;const _0x35915b=_0x33790f['get'](_0x373a9f[_0x59417c(0x1fe)]),_0x4d7b67=_0x33790f[_0x59417c(0x404)](_0xca2f35[_0x59417c(0x171)]),_0x318628=_0x33790f[_0x59417c(0x404)](_0x373a9f['IUndoRedoService']),{pivotTableId:_0x5e8ee7,fieldIds:_0x3b23b5,unitId:_0x35740e,subUnitId:_0x3a6ea2}=_0x445a33,_0x28f52c=(await _0x4d7b67[_0x59417c(0x1ca)]({'unitId':_0x35740e,'subUnitId':_0x3a6ea2,'pivotTableId':_0x5e8ee7,'params':{'type':_0x126194[_0x59417c(0x1c1)],'removePivotField':{'fieldIds':_0x3b23b5}}}))[_0x59417c(0x1ed)][_0x59417c(0x349)];if(!_0x28f52c)return!0x1;const {view:_0x1a664b,changesets:_0x4c484c,isEmpty:_0x54b60d,pivotTableConfig:_0x3c4923}=_0x28f52c,_0x2785c4=_0x3c4923[_0x59417c(0x41a)],_0x58e130=new _0x6ee1ef[(_0x59417c(0x19f))]();_0x58e130[_0x59417c(0x28f)](_0x1a664b);const _0x11c768={'cellInfo':_0x2785c4,'view':_0x58e130,'isEmpty':_0x54b60d};if(!await _0x33790f['get'](_0xca2f35[_0x59417c(0x391)])[_0x59417c(0x44d)][_0x59417c(0x30c)](_0x52fd93)(!0x0,_0x11c768))return!0x1;const _0x567388=_0x4853f9(_0x33790f,_0x58e130,_0x2785c4,_0x54b60d),_0x1a775b=_0x489cf4(_0x33790f,_0x11c768),{redos:_0xdd0112,undos:_0x30c963}=_0x14c1b3(_0x35915b,{'pivotTableId':_0x5e8ee7,'unitId':_0x35740e,'subUnitId':_0x3a6ea2},_0x4c484c);return _0x373a9f['sequenceExecute']([..._0x567388[_0x59417c(0x2dc)],..._0x1a775b[_0x59417c(0x2dc)],..._0xdd0112],_0x35915b),_0x318628[_0x59417c(0x247)]({'unitID':_0x35740e,'redoMutations':[..._0x567388[_0x59417c(0x2dc)],..._0x1a775b[_0x59417c(0x2dc)],..._0xdd0112],'undoMutations':[..._0x567388[_0x59417c(0x3b5)],..._0x1a775b[_0x59417c(0x3b5)],..._0x30c963]}),!0x0;}},_0x533a1a={'type':_0x373a9f['CommandType'][_0x254bc1(0x29b)],'id':_0x254bc1(0x3be),async 'handler'(_0xc294a2,_0x1f02c6){const _0x35ec0b=_0x254bc1;var _0x31f76a;const _0x3d9d48=_0xc294a2[_0x35ec0b(0x404)](_0x373a9f[_0x35ec0b(0x1fe)]),_0x4d95a6=_0xc294a2[_0x35ec0b(0x404)](_0xca2f35[_0x35ec0b(0x171)]),_0x4898d3=_0xc294a2[_0x35ec0b(0x404)](_0xca2f35['SheetsPivotTableAdaptorModel']),_0x829908=_0xc294a2['get'](_0x373a9f[_0x35ec0b(0x243)]),_0x2c565b=_0xc294a2['get'](_0x373a9f[_0x35ec0b(0x417)]);if(!_0x1f02c6)return!0x1;const {unitId:_0x165e3c,subUnitId:_0x40c28e,row:_0x43398e,col:_0x5cc863,collapse:_0x4c5e60}=_0x1f02c6,_0x54a6e3=_0x829908[_0x35ec0b(0x46d)](_0x165e3c);if(!_0x54a6e3||!_0x54a6e3[_0x35ec0b(0x335)](_0x40c28e))return!0x1;const _0x54ee0b=_0x4898d3[_0x35ec0b(0x2a6)](_0x165e3c,_0x40c28e,_0x43398e,_0x5cc863);if(!_0x54ee0b)return!0x1;const _0x20107b=_0x4898d3['getPivotItemRenderInfoCache'](_0x165e3c,_0x40c28e,_0x54ee0b);if(!_0x20107b)return!0x1;const _0x5634b0=_0x373a9f[_0x35ec0b(0x16d)](_0x43398e,_0x5cc863),{rangesInfo:_0x35406e,areaInfo:_0x372eae,headerMap:_0x242837}=_0x20107b;if(!_0x35406e||!_0x372eae||!_0x242837)return!0x1;const _0x380e1c=Object['keys'](_0x35406e)[_0x35ec0b(0x380)](_0x51c050=>_0x35406e[_0x51c050][_0x35ec0b(0x287)](_0x3edd5a=>_0x373a9f['Rectangle'][_0x35ec0b(0x303)](_0x3edd5a,_0x5634b0)));let _0x55238a;_0x380e1c===_0x35ec0b(0x3d8)?_0x55238a=_0x242837[_0x35ec0b(0x180)][_0x5cc863]:_0x380e1c===_0x35ec0b(0x251)&&(_0x55238a=_0x242837[_0x35ec0b(0x328)][_0x43398e]);const _0x10fa20=_0x55238a==null?void 0x0:_0x55238a['tableFieldId'],_0x104ec0=(_0x31f76a=_0x4898d3[_0x35ec0b(0x1d8)](_0x165e3c,_0x40c28e,_0x43398e,_0x5cc863))==null?void 0x0:_0x31f76a['v'];if(_0x104ec0==null||!_0x54ee0b||!_0x10fa20)return!0x1;const _0x1e8f7c=await _0x4d95a6[_0x35ec0b(0x1ca)]({'unitId':_0x165e3c,'subUnitId':_0x40c28e,'pivotTableId':_0x54ee0b,'params':{'type':_0x126194[_0x35ec0b(0x378)],'setPivotCollapse':{'tableFieldId':_0x10fa20,'collapse':_0x4c5e60,'item':_0x104ec0}}}),_0x39b989=_0x1e8f7c==null?void 0x0:_0x1e8f7c[_0x35ec0b(0x1ed)]['setPivotCollapse'];if(!_0x39b989)return!0x1;const {view:_0x3d3faa,pivotTableConfig:_0x235d29,isEmpty:_0x2257d7,changesets:_0x4caf1e}=_0x39b989,_0x1e079f=new _0x6ee1ef[(_0x35ec0b(0x19f))]();_0x1e079f[_0x35ec0b(0x28f)](_0x3d3faa);const _0x207bbd=_0x235d29[_0x35ec0b(0x41a)],_0xd6ae49={'cellInfo':_0x207bbd,'view':_0x1e079f,'isEmpty':_0x2257d7};if(!await _0xc294a2['get'](_0xca2f35[_0x35ec0b(0x391)])[_0x35ec0b(0x44d)][_0x35ec0b(0x30c)](_0x52fd93)(!0x0,_0xd6ae49))return!0x1;const _0x23aa0a=_0x4853f9(_0xc294a2,_0x1e079f,_0x207bbd,_0x2257d7),_0x28db45=_0x489cf4(_0xc294a2,_0xd6ae49),{redos:_0x72a3a1,undos:_0x103df0}=_0x14c1b3(_0x3d9d48,{'pivotTableId':_0x54ee0b,'unitId':_0x165e3c,'subUnitId':_0x40c28e},_0x4caf1e);return _0x373a9f[_0x35ec0b(0x3bf)]([..._0x23aa0a['redos'],..._0x28db45['redos'],..._0x72a3a1],_0x3d9d48),_0x2c565b[_0x35ec0b(0x247)]({'unitID':_0x165e3c,'redoMutations':[..._0x23aa0a[_0x35ec0b(0x2dc)],..._0x28db45[_0x35ec0b(0x2dc)],..._0x72a3a1],'undoMutations':[..._0x23aa0a['undos'],..._0x28db45[_0x35ec0b(0x3b5)],..._0x103df0]}),!0x0;}},_0x438f90={'type':_0x373a9f[_0x254bc1(0x163)]['COMMAND'],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x114a92,_0x5b796a){const _0x4adf0c=_0x254bc1;if(!_0x5b796a)return!0x1;const _0x1f5fc3=_0x114a92[_0x4adf0c(0x404)](_0x373a9f['ICommandService']),{pivotTableId:_0xd1d66,tableFieldId:_0xa1a571,items:_0x977cf3,unitId:_0x4b253b,subUnitId:_0xe92177,isAll:_0x27337c}=_0x5b796a,_0x1fc8a9=_0x114a92[_0x4adf0c(0x404)](_0xca2f35['SheetsPivotRPCService']),_0x1e2d3f=_0x114a92[_0x4adf0c(0x404)](_0x373a9f['IUndoRedoService']),_0x163f0e=(await _0x1fc8a9[_0x4adf0c(0x1ca)]({'unitId':_0x4b253b,'subUnitId':_0xe92177,'pivotTableId':_0xd1d66,'params':{'type':_0x126194['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0xa1a571,'items':_0x977cf3,'isAll':_0x27337c}}}))[_0x4adf0c(0x1ed)]['setPivotFilter'];if(!_0x163f0e)return!0x1;const {changesets:_0x379d54,pivotTableConfig:_0x56e0a5,isEmpty:_0x2018c0,view:_0x4cfdc9}=_0x163f0e,_0x20f412=_0x56e0a5[_0x4adf0c(0x41a)],_0x59873d=new _0x6ee1ef[(_0x4adf0c(0x19f))]();_0x59873d['formJSON'](_0x4cfdc9);const _0x2c72e6={'cellInfo':_0x20f412,'view':_0x59873d,'isEmpty':_0x2018c0};if(!await _0x114a92[_0x4adf0c(0x404)](_0xca2f35['SheetsPivotTableService'])['asyncInterceptor'][_0x4adf0c(0x30c)](_0x52fd93)(!0x0,_0x2c72e6))return!0x1;const _0x2edb42=_0x4853f9(_0x114a92,_0x59873d,_0x20f412,_0x2018c0),_0x46d1eb=_0x489cf4(_0x114a92,_0x2c72e6),{undos:_0x31b62b,redos:_0x4dfa5f}=_0x14c1b3(_0x1f5fc3,{'pivotTableId':_0xd1d66,'unitId':_0x4b253b,'subUnitId':_0xe92177},_0x379d54);return _0x373a9f[_0x4adf0c(0x3bf)]([..._0x2edb42[_0x4adf0c(0x2dc)],..._0x46d1eb[_0x4adf0c(0x2dc)],..._0x4dfa5f],_0x1f5fc3),_0x1e2d3f['pushUndoRedo']({'unitID':_0x4b253b,'redoMutations':[..._0x2edb42[_0x4adf0c(0x2dc)],..._0x46d1eb[_0x4adf0c(0x2dc)],..._0x4dfa5f],'undoMutations':[..._0x2edb42[_0x4adf0c(0x3b5)],..._0x46d1eb[_0x4adf0c(0x3b5)],..._0x31b62b]}),!0x0;}},_0x54ea5a={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x29b)],'id':_0x254bc1(0x2ef),async 'handler'(_0x3f0797,_0x221bd2){const _0x339ec8=_0x254bc1;if(!_0x221bd2)return!0x1;const _0x45b683=_0x3f0797[_0x339ec8(0x404)](_0x373a9f['ICommandService']),_0x1dc205=_0x3f0797['get'](_0x373a9f[_0x339ec8(0x417)]),_0x516bd3=_0x3f0797[_0x339ec8(0x404)](_0xca2f35[_0x339ec8(0x171)]),{info:_0x10152a,tableFieldId:_0x5f2e77,pivotTableId:_0x6008ff,unitId:_0x66468c,subUnitId:_0x11ad83}=_0x221bd2,_0x28af0a=(await _0x516bd3['getPivotDisplayConfig']({'unitId':_0x66468c,'subUnitId':_0x11ad83,'pivotTableId':_0x6008ff,'params':{'type':_0x126194[_0x339ec8(0x1eb)],'setPivotSort':{'tableFieldId':_0x5f2e77,'info':_0x10152a}}}))['result'][_0x339ec8(0x44f)];if(!_0x28af0a)return!0x1;const {changesets:_0x3255e3}=_0x28af0a,{redos:_0x270299,undos:_0x44bc02}=_0x14c1b3(_0x45b683,{'pivotTableId':_0x6008ff,'unitId':_0x66468c,'subUnitId':_0x11ad83},_0x3255e3);return _0x373a9f[_0x339ec8(0x3bf)](_0x270299,_0x45b683),_0x1dc205[_0x339ec8(0x247)]({'unitID':_0x66468c,'redoMutations':_0x270299,'undoMutations':_0x44bc02}),!0x0;}},_0x2315e9={'type':_0x373a9f['CommandType'][_0x254bc1(0x29b)],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0xfff271,_0x291d87){const _0x106c5f=_0x254bc1;if(!_0x291d87)return!0x1;const _0x8fbf06=_0xfff271[_0x106c5f(0x404)](_0x373a9f[_0x106c5f(0x1fe)]),_0xa62977=_0xfff271[_0x106c5f(0x404)](_0x373a9f[_0x106c5f(0x417)]),_0x3edacb=_0xfff271[_0x106c5f(0x404)](_0xca2f35[_0x106c5f(0x171)]),{displayName:_0x11a925,subtotalType:_0x42ea51,format:_0x3fcbf3,tableFieldId:_0x5100d2,pivotTableId:_0x50078c,unitId:_0x2b0e0b,subUnitId:_0x4099b0}=_0x291d87,_0x973349=(await _0x3edacb[_0x106c5f(0x1ca)]({'unitId':_0x2b0e0b,'subUnitId':_0x4099b0,'pivotTableId':_0x50078c,'params':{'type':_0x126194[_0x106c5f(0x210)],'setPivotSetting':{'tableFieldId':_0x5100d2,'displayName':_0x11a925,'subtotalType':_0x42ea51,'format':_0x3fcbf3}}}))['result'][_0x106c5f(0x368)];if(!_0x973349)return!0x1;const {changesets:_0x4e6a07,view:_0x5d2127,pivotTableConfig:_0x4cd10e,isEmpty:_0x786f00}=_0x973349,_0x333b4a=_0x4cd10e[_0x106c5f(0x41a)],_0x2ae559=new _0x6ee1ef['PivotView']();_0x2ae559[_0x106c5f(0x28f)](_0x5d2127);const _0x430233={'cellInfo':_0x333b4a,'view':_0x2ae559,'isEmpty':_0x786f00};if(!await _0xfff271[_0x106c5f(0x404)](_0xca2f35[_0x106c5f(0x391)])[_0x106c5f(0x44d)][_0x106c5f(0x30c)](_0x52fd93)(!0x0,_0x430233))return!0x1;const _0x43879c=_0x4853f9(_0xfff271,_0x2ae559,_0x333b4a,_0x786f00),_0xb36eef=_0x489cf4(_0xfff271,_0x430233),{undos:_0x48b47d,redos:_0x417e2c}=_0x14c1b3(_0x8fbf06,{'pivotTableId':_0x50078c,'unitId':_0x2b0e0b,'subUnitId':_0x4099b0},_0x4e6a07);return _0x373a9f[_0x106c5f(0x3bf)]([..._0x43879c[_0x106c5f(0x2dc)],..._0xb36eef[_0x106c5f(0x2dc)],..._0x417e2c],_0x8fbf06),_0xa62977['pushUndoRedo']({'unitID':_0x2b0e0b,'redoMutations':[..._0x43879c[_0x106c5f(0x2dc)],..._0xb36eef[_0x106c5f(0x2dc)],..._0x417e2c],'undoMutations':[..._0x43879c[_0x106c5f(0x3b5)],..._0xb36eef[_0x106c5f(0x3b5)],..._0x48b47d]}),!0x0;}},_0x37baf1={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x29b)],'id':_0x254bc1(0x2d4),async 'handler'(_0x7daaad,_0x59051d){const _0x19e784=_0x254bc1,_0x4cd2c3=_0x7daaad['get'](_0x373a9f['ICommandService']),_0x155a1c=_0x7daaad[_0x19e784(0x404)](_0xca2f35[_0x19e784(0x171)]),_0x595553=_0x7daaad[_0x19e784(0x404)](_0x373a9f[_0x19e784(0x417)]);if(!_0x59051d)return!0x1;const {token:_0x38468f,dataRangeInfo:_0x2c66c1,unitId:_0x265abd,subUnitId:_0x537910}=_0x59051d,_0x5293b6=[],_0x4f8f6c=[],_0x1d8194=(await _0x155a1c[_0x19e784(0x1ca)]({'unitId':_0x265abd,'subUnitId':_0x537910,'pivotTableId':_0x38468f,'params':{'type':_0x126194[_0x19e784(0x31b)],'updatePivotSource':{'dataRangeInfo':_0x2c66c1,'unitId':_0x265abd,'subUnitId':_0x537910}}}))['result'][_0x19e784(0x46e)];if(!_0x1d8194)return!0x1;const {changesets:_0x1ca50a,deleteIds:_0x128c9a,collectionConfig:_0x419eff,oldCollectionConfig:_0x5d520d,view:_0x2ddc52,isEmpty:_0x4aa376,pivotTableConfig:_0x3a7399}=_0x1d8194;_0x4f8f6c[_0x19e784(0x23c)]({'id':_0x2d8bcd['id'],'params':{'pivotTableId':_0x38468f,'deleteIds':_0x128c9a,'collectionJSON':_0x419eff,'dataRangeInfo':_0x2c66c1,'unitId':_0x265abd,'subUnitId':_0x537910}}),_0x5293b6['unshift']({'id':_0x2d8bcd['id'],'params':{'pivotTableId':_0x38468f,'deleteIds':[],'collectionJSON':_0x5d520d,'dataRangeInfo':_0x3a7399[_0x19e784(0x3d7)],'unitId':_0x265abd,'subUnitId':_0x537910}});const _0x41c490=_0x3a7399[_0x19e784(0x41a)],_0x45b882=new _0x6ee1ef[(_0x19e784(0x19f))]();_0x45b882[_0x19e784(0x28f)](_0x2ddc52);const _0x49996d={'cellInfo':_0x41c490,'view':_0x45b882,'isEmpty':_0x4aa376};if(!await _0x7daaad[_0x19e784(0x404)](_0xca2f35[_0x19e784(0x391)])[_0x19e784(0x44d)][_0x19e784(0x30c)](_0x52fd93)(!0x0,_0x49996d))return!0x1;const _0x296c53=_0x4853f9(_0x7daaad,_0x45b882,_0x41c490,_0x4aa376),_0x46f0a7=_0x489cf4(_0x7daaad,_0x49996d),{undos:_0x2c2a30,redos:_0x407c35}=_0x14c1b3(_0x4cd2c3,{'pivotTableId':_0x38468f,'unitId':_0x265abd,'subUnitId':_0x537910},_0x1ca50a);return _0x373a9f['sequenceExecute']([..._0x296c53[_0x19e784(0x2dc)],..._0x46f0a7[_0x19e784(0x2dc)],..._0x4f8f6c,..._0x2c2a30],_0x4cd2c3),_0x595553[_0x19e784(0x247)]({'unitID':_0x265abd,'redoMutations':[..._0x296c53[_0x19e784(0x2dc)],..._0x46f0a7[_0x19e784(0x2dc)],..._0x4f8f6c,..._0x2c2a30],'undoMutations':[..._0x296c53[_0x19e784(0x3b5)],..._0x46f0a7[_0x19e784(0x3b5)],..._0x5293b6,..._0x407c35]}),!0x0;}},_0x436599={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x29b)],'id':_0x254bc1(0x1bc),async 'handler'(_0x1f0b95,_0x5192a5){const _0xdf7c53=_0x254bc1;if(!_0x5192a5)return!0x1;const _0x279389=_0x1f0b95[_0xdf7c53(0x404)](_0x373a9f[_0xdf7c53(0x1fe)]),_0x267ce9=_0x1f0b95[_0xdf7c53(0x404)](_0xca2f35[_0xdf7c53(0x171)]),_0x50e20a=_0x1f0b95[_0xdf7c53(0x404)](_0x373a9f[_0xdf7c53(0x243)]),_0x56348a=_0x1f0b95[_0xdf7c53(0x404)](_0x373a9f[_0xdf7c53(0x417)]),{pivotTableId:_0x536ab1,position:_0x4dceae,index:_0x16461e}=_0x5192a5,_0x299eb3=_0x204566[_0xdf7c53(0x1d7)](_0x50e20a);if(!_0x299eb3)return!0x1;const {unitId:_0x399004,subUnitId:_0x430915}=_0x299eb3,_0x13c51d=(await _0x267ce9[_0xdf7c53(0x1ca)]({'unitId':_0x399004,'subUnitId':_0x430915,'pivotTableId':_0x536ab1,'params':{'type':_0x126194['UpdateValuePosition'],'updateValuePosition':{'position':_0x4dceae,'index':_0x16461e}}}))['result'][_0xdf7c53(0x3f9)];if(!_0x13c51d)return!0x1;const {changesets:_0x2ba2e4,view:_0x44b08c,isEmpty:_0x5c0e0c,pivotTableConfig:_0x323021}=_0x13c51d,_0x15768f=_0x323021[_0xdf7c53(0x41a)],_0x566c11=new _0x6ee1ef[(_0xdf7c53(0x19f))]();_0x566c11[_0xdf7c53(0x28f)](_0x44b08c);const _0x282ad1=_0x1f0b95['get'](_0xca2f35['SheetsPivotTableService']),_0x205e99={'cellInfo':_0x15768f,'view':_0x566c11,'isEmpty':_0x5c0e0c};if(!await _0x282ad1[_0xdf7c53(0x44d)][_0xdf7c53(0x30c)](_0x52fd93)(!0x0,_0x205e99))return!0x1;const _0x5384af=_0x4853f9(_0x1f0b95,_0x566c11,_0x15768f,_0x5c0e0c),_0xa527b4=_0x489cf4(_0x1f0b95,_0x205e99),{undos:_0x598948,redos:_0x593beb}=_0x14c1b3(_0x279389,{'pivotTableId':_0x536ab1,'unitId':_0x399004,'subUnitId':_0x430915},_0x2ba2e4);return _0x373a9f[_0xdf7c53(0x3bf)]([..._0x5384af[_0xdf7c53(0x2dc)],..._0xa527b4[_0xdf7c53(0x2dc)],..._0x593beb],_0x279389),_0x56348a['pushUndoRedo']({'unitID':_0x399004,'redoMutations':[..._0x5384af['redos'],..._0xa527b4[_0xdf7c53(0x2dc)],..._0x593beb],'undoMutations':[..._0x5384af[_0xdf7c53(0x3b5)],..._0xa527b4[_0xdf7c53(0x3b5)],..._0x598948]}),!0x0;}},_0x5d727f={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x29b)],'id':_0x254bc1(0x327),'handler':(_0x2d78bf,_0x3cd124)=>{const _0x99232=_0x254bc1,_0x42cfbb=_0x2d78bf[_0x99232(0x404)](_0x373a9f['ICommandService']),_0x1f2c6f=_0x2d78bf[_0x99232(0x404)](_0x373a9f[_0x99232(0x417)]),_0x492405=_0x2d78bf[_0x99232(0x404)](_0xca2f35[_0x99232(0x18d)]),_0x5f4148=_0x2d78bf[_0x99232(0x404)](_0x373a9f[_0x99232(0x243)]);if(!_0x3cd124)return!0x1;const _0x5362af=_0x204566['getSheetCommandTarget'](_0x5f4148);if(!_0x5362af)return!0x1;const {unitId:_0x1ac5bc,subUnitId:_0x47b371,workbook:_0x512926}=_0x5362af,_0xf204e2=_0x492405[_0x99232(0x329)](_0x3cd124[_0x99232(0x422)][_0x99232(0x3fa)],_0x3cd124[_0x99232(0x422)][_0x99232(0x24b)],_0x3cd124[_0x99232(0x1ad)]);if(!_0xf204e2)return!0x1;const _0x5a679f=_0x512926[_0x99232(0x335)](_0x3cd124[_0x99232(0x41a)]['subUnitId']);if(!_0x5a679f)throw new Error(_0x99232(0x402));const _0x15895b=_0x5a679f[_0x99232(0x314)](),_0x1a8b8e=_0x5a679f[_0x99232(0x181)]();if(_0x3cd124[_0x99232(0x41a)][_0x99232(0x166)]>_0x15895b||_0x3cd124[_0x99232(0x41a)][_0x99232(0x2a7)]>_0x1a8b8e)throw new Error(_0x99232(0x40b));const _0x223e7b=[{'id':_0x16909d['id'],'params':{'unitId':_0x1ac5bc,'subUnitId':_0x3cd124['targetCellInfo']['subUnitId'],'pivotTableId':_0x3cd124[_0x99232(0x1ad)],'targetCellPosition':{'row':_0x3cd124[_0x99232(0x41a)][_0x99232(0x166)],'col':_0x3cd124[_0x99232(0x41a)][_0x99232(0x2a7)]}}}],_0x41a6ea=[{'id':_0x16909d['id'],'params':{'unitId':_0x1ac5bc,'subUnitId':_0x47b371,'pivotTableId':_0x3cd124[_0x99232(0x1ad)],'targetCellPosition':{'row':_0xf204e2[_0x99232(0x41a)][_0x99232(0x166)],'col':_0xf204e2[_0x99232(0x41a)][_0x99232(0x2a7)]}}}];return _0x373a9f[_0x99232(0x3bf)](_0x223e7b,_0x42cfbb)&&_0x1f2c6f[_0x99232(0x247)]({'unitID':_0x1ac5bc,'undoMutations':_0x41a6ea,'redoMutations':_0x223e7b}),!0x0;}},_0x215ee7={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x29b)],'id':_0x254bc1(0x233),async 'handler'(_0x31e1b7,_0x517b40){const _0xa0c6ae=_0x254bc1;if(!_0x517b40)return!0x1;const _0x176b04=_0x31e1b7[_0xa0c6ae(0x404)](_0x373a9f['ICommandService']),{pivotTableId:_0x279dac,fieldId:_0x569a5c,valueFilterInfo:_0x54f156,unitId:_0x43a757,subUnitId:_0x4a027e}=_0x517b40,_0x1cefba=_0x31e1b7[_0xa0c6ae(0x404)](_0xca2f35['SheetsPivotRPCService']),_0x29ab0f=_0x31e1b7[_0xa0c6ae(0x404)](_0x373a9f[_0xa0c6ae(0x417)]),_0x8f348b=(await _0x1cefba['getPivotDisplayConfig']({'unitId':_0x43a757,'subUnitId':_0x4a027e,'pivotTableId':_0x279dac,'params':{'type':_0x126194[_0xa0c6ae(0x1e1)],'setValuePivotFilter':{'tableFieldId':_0x569a5c,'filterInfo':_0x54f156}}}))[_0xa0c6ae(0x1ed)][_0xa0c6ae(0x1d1)];if(!_0x8f348b)return!0x1;const {changesets:_0x1284d0,pivotTableConfig:_0x5c43fd,isEmpty:_0x1f87c0,view:_0x48fd35}=_0x8f348b,_0x50a0c1=_0x5c43fd['targetCellInfo'],_0x392249=new _0x6ee1ef[(_0xa0c6ae(0x19f))]();_0x392249[_0xa0c6ae(0x28f)](_0x48fd35);const _0x564ce0={'cellInfo':_0x50a0c1,'view':_0x392249,'isEmpty':_0x1f87c0};if(!await _0x31e1b7[_0xa0c6ae(0x404)](_0xca2f35[_0xa0c6ae(0x391)])[_0xa0c6ae(0x44d)]['fetchThroughAsyncInterceptors'](_0x52fd93)(!0x0,_0x564ce0))return!0x1;const _0x228c91=_0x4853f9(_0x31e1b7,_0x392249,_0x50a0c1,_0x1f87c0),_0x36ceeb=_0x489cf4(_0x31e1b7,_0x564ce0),{undos:_0x2a0deb,redos:_0x149172}=_0x14c1b3(_0x176b04,{'pivotTableId':_0x279dac,'unitId':_0x43a757,'subUnitId':_0x4a027e},_0x1284d0);return _0x373a9f[_0xa0c6ae(0x3bf)]([..._0x228c91[_0xa0c6ae(0x2dc)],..._0x36ceeb[_0xa0c6ae(0x2dc)],..._0x149172],_0x176b04),_0x29ab0f[_0xa0c6ae(0x247)]({'unitID':_0x43a757,'redoMutations':[..._0x228c91['redos'],..._0x36ceeb[_0xa0c6ae(0x2dc)],..._0x149172],'undoMutations':[..._0x228c91[_0xa0c6ae(0x3b5)],..._0x36ceeb[_0xa0c6ae(0x3b5)],..._0x2a0deb]}),!0x0;}},_0x2eeedc={'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x29b)],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x250b9c,_0x91b120){const _0x13852b=_0x254bc1;if(!_0x91b120)return!0x1;const _0xea3a56=_0x250b9c[_0x13852b(0x404)](_0x373a9f[_0x13852b(0x1fe)]),_0x4023d6=_0x250b9c[_0x13852b(0x404)](_0x373a9f['IUndoRedoService']),_0x1bc388=_0x250b9c[_0x13852b(0x404)](_0xca2f35['SheetsPivotRPCService']),{pivotTableConfig:_0x380dfa,pivotTableId:_0x42de9f,unitId:_0x5f025b,subUnitId:_0xa39157}=_0x91b120,_0x78ac43=(await _0x1bc388[_0x13852b(0x1ca)]({'unitId':_0x5f025b,'subUnitId':_0xa39157,'pivotTableId':_0x42de9f,'params':{'type':_0x126194[_0x13852b(0x397)],'setPivotTableConfig':{'pivotTableId':_0x42de9f,'pivotTableConfig':_0x380dfa}}}))[_0x13852b(0x1ed)][_0x13852b(0x3f0)];if(!_0x78ac43)return!0x1;const {changesets:_0x1ce1b8}=_0x78ac43,{redos:_0x2f3397,undos:_0xe0f79b}=_0x14c1b3(_0xea3a56,{'pivotTableId':_0x42de9f,'unitId':_0x5f025b,'subUnitId':_0xa39157},_0x1ce1b8);return _0x373a9f['sequenceExecute'](_0x2f3397,_0xea3a56),_0x4023d6[_0x13852b(0x247)]({'unitID':_0x5f025b,'redoMutations':_0x2f3397,'undoMutations':_0xe0f79b}),!0x0;}},_0x58b167={'type':_0x373a9f[_0x254bc1(0x163)]['COMMAND'],'id':_0x254bc1(0x236),async 'handler'(_0x4d6fe0,_0x3f147e){const _0xbf947a=_0x254bc1;if(!_0x3f147e)return!0x1;const _0x1efe9c=_0x4d6fe0[_0xbf947a(0x404)](_0x373a9f[_0xbf947a(0x1fe)]),_0x3f07b2=_0x4d6fe0[_0xbf947a(0x404)](_0x373a9f[_0xbf947a(0x417)]),_0x42a54b=_0x4d6fe0['get'](_0xca2f35['SheetsPivotRPCService']),{resetArea:_0x469e50,pivotTableId:_0x21dea9,unitId:_0x26091d,subUnitId:_0x13b07e}=_0x3f147e,_0x4d87e5=(await _0x42a54b[_0xbf947a(0x1ca)]({'unitId':_0x26091d,'subUnitId':_0x13b07e,'pivotTableId':_0x21dea9,'params':{'type':_0x126194[_0xbf947a(0x2f2)],'resetPivotTable':{'pivotTableId':_0x21dea9,'resetArea':_0x469e50}}}))[_0xbf947a(0x1ed)]['resetPivotTable'];if(!_0x4d87e5)return!0x1;const {changesets:_0x407af6}=_0x4d87e5,{redos:_0x5a4d82,undos:_0x2d7b2d}=_0x14c1b3(_0x1efe9c,{'pivotTableId':_0x21dea9,'unitId':_0x26091d,'subUnitId':_0x13b07e},_0x407af6);return _0x373a9f[_0xbf947a(0x3bf)](_0x5a4d82,_0x1efe9c),_0x3f07b2['pushUndoRedo']({'unitID':_0x26091d,'redoMutations':_0x5a4d82,'undoMutations':_0x2d7b2d}),!0x0;}},_0x2fd0d5={'id':_0x254bc1(0x385),'type':_0x373a9f[_0x254bc1(0x163)]['MUTATION'],'handler':(_0x17d506,_0x3399f0)=>{const _0x10db6a=_0x254bc1;if(!_0x3399f0)return!0x1;if(!!_0x17d506['get'](_0x373a9f['IConfigService'])['getConfig'](_0x43c827))return!0x0;const {unitId:_0x5a9ed2,subUnitId:_0x2c56c6,pivotTableId:_0x2c9eec,tableFieldId:_0x51ac36,dateType:_0xd43e85}=_0x3399f0,_0x488482=_0x17d506[_0x10db6a(0x404)](_0xca2f35[_0x10db6a(0x2cb)]),_0x25e71b=_0x488482[_0x10db6a(0x2df)](_0x2c9eec);if(!_0x25e71b)return!0x1;const _0x54fdfb=_0x25e71b[_0x10db6a(0x435)](_0x51ac36);if(!_0x54fdfb)return!0x1;const _0x21afb7=_0x54fdfb[_0x10db6a(0x193)](),_0x5b79cd=_0x25e71b['getDataFieldByDataFieldId'](_0x21afb7),_0x23c1d9=(_0x5b79cd==null?void 0x0:_0x5b79cd[_0x10db6a(0x39c)]())+'\x20'+_0x28a53d(_0x17d506,_0xd43e85);_0x488482[_0x10db6a(0x3dc)](_0x5a9ed2,_0x2c9eec)[_0x10db6a(0x221)](_0x54fdfb['id'],_0x23c1d9);const _0x238ac2=_0x25e71b['getTableFieldById'](_0x51ac36);if(!_0x238ac2)return!0x1;_0x25e71b[_0x10db6a(0x466)](_0x238ac2[_0x10db6a(0x443)](),_0x23c1d9),_0x54fdfb[_0x10db6a(0x1cb)](_0xd43e85);const _0x5070c4=_0x488482[_0x10db6a(0x329)](_0x5a9ed2,_0x2c56c6,_0x2c9eec);return _0x488482[_0x10db6a(0x2d5)]({'unitId':_0x5a9ed2,'subUnitId':_0x2c56c6,'token':_0x2c9eec,'type':_0x17805c[_0x10db6a(0x1c0)],'pivotConfig':_0x5070c4}),!0x0;}},_0x2ec8f4={'id':_0x254bc1(0x1af),'type':_0x373a9f[_0x254bc1(0x163)][_0x254bc1(0x29b)],'handler':(_0x1f8b1d,_0x431baa)=>{const _0x80fb56=_0x254bc1;if(!_0x431baa)return!0x1;const _0xc55984=_0x1f8b1d[_0x80fb56(0x404)](_0x373a9f[_0x80fb56(0x417)]),{unitId:_0x3ac5b0,subUnitId:_0x12629d,pivotTableId:_0x1b5937,tableFieldId:_0x146c87}=_0x431baa,_0x1bea78=[],_0x5c7cc6=[],_0x4c25b1=_0x1f8b1d['get'](_0xca2f35[_0x80fb56(0x18d)]),_0x53b459=_0x4c25b1[_0x80fb56(0x3dc)](_0x3ac5b0,_0x1b5937),_0x5a0d79=_0x4c25b1[_0x80fb56(0x329)](_0x3ac5b0,_0x12629d,_0x1b5937);if(!(_0x5a0d79!=null&&_0x5a0d79[_0x80fb56(0x240)]['dimension']))return!0x1;const _0x29b4be=Object[_0x80fb56(0x1de)](_0x5a0d79[_0x80fb56(0x240)][_0x80fb56(0x2a0)])[_0x80fb56(0x380)](_0xa0b0aa=>_0xa0b0aa['id']===_0x146c87);if(!_0x29b4be)return!0x1;const _0x320db2=_0x29b4be[_0x80fb56(0x15f)];if(!(_0x53b459!=null&&_0x53b459[_0x80fb56(0x324)]))return!0x1;const _0x306a3f=Object['values'](_0x53b459==null?void 0x0:_0x53b459[_0x80fb56(0x324)])[_0x80fb56(0x380)](_0x193162=>_0x193162['id']===_0x320db2);if(!_0x306a3f)return!0x1;_0x6ee1ef[_0x80fb56(0x283)](_0x306a3f)&&_0x1bea78[_0x80fb56(0x23c)]({'id':_0x2fd0d5['id'],'params':{..._0x431baa,'dateType':_0x306a3f[_0x80fb56(0x399)]}}),_0x5c7cc6[_0x80fb56(0x23c)]({'id':_0x2fd0d5['id'],'params':{..._0x431baa}});const _0x33c477=_0x1f8b1d[_0x80fb56(0x404)](_0x373a9f[_0x80fb56(0x1fe)]);return _0x373a9f['sequenceExecute'](_0x5c7cc6,_0x33c477)&&_0xc55984[_0x80fb56(0x247)]({'unitID':_0x3ac5b0,'undoMutations':_0x1bea78,'redoMutations':_0x5c7cc6}),!0x0;}};var _0x2e9fd6=Object[_0x254bc1(0x1f0)],_0x4c1f64=(_0x2f8a48,_0x22f28f,_0x21a7f6,_0x9765d2)=>{const _0x3dc7bc=_0x254bc1;for(var _0x5d92c6=_0x9765d2>0x1?void 0x0:_0x9765d2?_0x2e9fd6(_0x22f28f,_0x21a7f6):_0x22f28f,_0xac23da=_0x2f8a48[_0x3dc7bc(0x3a6)]-0x1,_0x389341;_0xac23da>=0x0;_0xac23da--)(_0x389341=_0x2f8a48[_0xac23da])&&(_0x5d92c6=_0x389341(_0x5d92c6)||_0x5d92c6);return _0x5d92c6;},_0xee06f8=(_0x2b96f6,_0x10bf58)=>(_0x5c103f,_0x97817b)=>_0x10bf58(_0x5c103f,_0x97817b,_0x2b96f6);const _0x152776=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x278306=(_0x2dff28,_0x1f1c03,_0x3a2674)=>{const _0xd68f0f=_0x254bc1,_0x22c5f7=_0x2dff28[_0xd68f0f(0x1a7)];_0x2dff28[_0xd68f0f(0x38e)](_0x463915=>{const _0x128ee7=_0xd68f0f,_0x229bca=_0x463915['getId'](),_0x18cbf3=_0x463915[_0x128ee7(0x46a)](),_0x6849ca=_0x463915['getSourceName'](),_0x3147c4=_0x463915['getDisplayName']();_0x1f1c03[_0x18cbf3]&&_0x1f1c03[_0x18cbf3]===_0x3147c4&&_0x6849ca===_0x3147c4&&(_0x2dff28[_0x128ee7(0x466)](_0x229bca,_0x22c5f7[_0x128ee7(0x2b5)](_0x18cbf3)),_0x463915[_0x128ee7(0x195)](_0x22c5f7[_0x128ee7(0x2b5)](_0x18cbf3)));}),_0x2dff28['iterateFieldByArea'](_0x6ee1ef[_0xd68f0f(0x158)][_0xd68f0f(0x206)],_0x234174=>{const _0x56af49=_0xd68f0f,_0x2051f2=_0x234174[_0x56af49(0x443)](),_0x4c8028=_0x234174[_0x56af49(0x46a)](),_0x113926=_0x234174[_0x56af49(0x22e)](),_0x575b6a=_0x234174[_0x56af49(0x2b5)](),_0x50fb16=_0x234174[_0x56af49(0x1b9)](),_0x1cdb2b=_0x3a2674(_0x113926,_0x50fb16);_0x1f1c03[_0x4c8028]&&_0x1f1c03[_0x4c8028]===_0x113926&&_0x1cdb2b===_0x575b6a&&(_0x2dff28[_0x56af49(0x466)](_0x2051f2,_0x3a2674(_0x22c5f7[_0x56af49(0x2b5)](_0x4c8028),_0x50fb16)),_0x234174[_0x56af49(0x195)](_0x22c5f7[_0x56af49(0x2b5)](_0x4c8028)));});},_0x2b10ff=(_0x2a594a,_0x55c302,_0x429785)=>{const _0x16bd5b=_0x254bc1;var _0x2ce9eb,_0x283ee3;const {arrayFormulaCellData:_0x28774e,unitData:_0x5a0677}=_0x55c302,{unitId:_0x326c0e,subUnitId:_0x415801}=_0x429785,_0x466487=_0x429785[_0x16bd5b(0x2ed)],{startColumn:_0x3c98bf,endColumn:_0x12a762}=_0x466487,_0x349b64=(_0x2ce9eb=_0x28774e==null?void 0x0:_0x28774e[_0x326c0e])==null?void 0x0:_0x2ce9eb[_0x415801],_0x5f3a9b=(_0x283ee3=_0x5a0677==null?void 0x0:_0x5a0677[_0x326c0e])==null?void 0x0:_0x283ee3[_0x415801],_0x1143c0=new Set(),_0xcfa775=_0x12a762-_0x3c98bf+0x1,{dirtyRanges:_0x3b43f9}=_0x2a594a;if(_0x3b43f9)for(const {range:_0x3ec099,sheetId:_0x555887,unitId:_0x47f742}of _0x3b43f9){if(_0x555887!==_0x415801||_0x326c0e!==_0x47f742)continue;const _0x4d106a=_0x373a9f[_0x16bd5b(0x203)][_0x16bd5b(0x35b)](_0x3ec099,_0x466487);if(_0x4d106a){const {startColumn:_0x3bb023,endColumn:_0x5d67ad}=_0x4d106a;for(let _0x46c549=_0x3bb023;_0x46c549<=_0x5d67ad;_0x46c549++)_0x1143c0[_0x16bd5b(0x2fd)](_0x46c549);}}if(_0x1143c0[_0x16bd5b(0x35a)]===_0xcfa775||_0x1143c0[_0x16bd5b(0x35a)]===_0xcfa775)return Array[_0x16bd5b(0x383)](_0x1143c0);if(_0x5f3a9b){const _0x2329a4=_0x5f3a9b[_0x16bd5b(0x3ff)](),_0xac9965=Object[_0x16bd5b(0x3b6)](_0x2329a4);for(const _0x22c0d7 of _0xac9965){const _0x152d01=Number(_0x22c0d7),_0x50ce09=_0x2329a4[_0x152d01];if(_0x1143c0['size']===_0xcfa775)break;for(const _0x22aafc in _0x50ce09){const _0x151165=Number(_0x22aafc);_0x151165<_0x3c98bf||_0x151165>_0x12a762||_0x1143c0[_0x16bd5b(0x2fd)](_0x151165);}}}if(_0x349b64){const _0x41fdcc=_0x349b64[_0x16bd5b(0x3ff)](),_0x2dd588=Object['keys'](_0x41fdcc);for(const _0x58da30 of _0x2dd588){const _0x31edb5=Number(_0x58da30),_0x25350e=_0x41fdcc[_0x31edb5];if(_0x1143c0[_0x16bd5b(0x35a)]===_0xcfa775)break;for(const _0x1e2a11 in _0x25350e){const _0x4109fc=Number(_0x1e2a11);_0x4109fc<_0x3c98bf||_0x4109fc>_0x12a762||_0x1143c0[_0x16bd5b(0x2fd)](_0x4109fc);}}}return Array['from'](_0x1143c0);},_0x505b28=_0x2b14ff=>{const _0x426983=_0x254bc1,_0x24b1d4=new Set(),_0x2c770f=[];for(const _0x40db64 of _0x2b14ff){const _0x3b0436=_0x40db64[_0x426983(0x2a5)]+','+_0x40db64['endRow']+','+_0x40db64['startColumn']+','+_0x40db64[_0x426983(0x3db)];_0x24b1d4[_0x426983(0x2f6)](_0x3b0436)||(_0x24b1d4[_0x426983(0x2fd)](_0x3b0436),_0x2c770f[_0x426983(0x23c)](_0x40db64));}return _0x2c770f;};let _0x1fd37a=class extends _0x373a9f[_0x254bc1(0x292)]{constructor(_0x4b2cb6,_0x50290e,_0x4e71f0,_0x4a8152,_0x12ce48,_0x17a694){const _0x91bf08=_0x254bc1;super(),_0x9a3aa2(this,_0x91bf08(0x32a),new _0x124e24[(_0x91bf08(0x31c))](!0x0)),_0x9a3aa2(this,_0x91bf08(0x376),_0x1166f6=>{const _0x3a637c=_0x91bf08;this[_0x3a637c(0x32a)]['next'](!0x1);}),_0x9a3aa2(this,_0x91bf08(0x392),_0x108a82=>{const _0x4ed09c=_0x91bf08;this['_globalSubject'][_0x4ed09c(0x1e4)](!0x0);}),(this[_0x91bf08(0x1b3)]=_0x4b2cb6,this['_configService']=_0x50290e,this[_0x91bf08(0x168)]=_0x4e71f0,this['_commandService']=_0x4a8152,this['_globalComputingSrv']=_0x12ce48,this[_0x91bf08(0x3ca)]=_0x17a694,this['_init'](),this[_0x91bf08(0x42d)]());}[_0x254bc1(0x3f7)](){const _0x4d41dc=_0x254bc1;this[_0x4d41dc(0x2c5)](),this['_subjectViewChange'](),this[_0x4d41dc(0x38b)](),this[_0x4d41dc(0x202)]();}[_0x254bc1(0x2c7)](){const _0x4a8760=_0x254bc1;this[_0x4a8760(0x23a)][_0x4a8760(0x18a)](this[_0x4a8760(0x32a)]),_0x6ee1ef[_0x4a8760(0x339)][_0x4a8760(0x1ce)](_0x6ee1ef[_0x4a8760(0x336)]['onQueryStart'],this['_globalComputedStartHelpFunc']),_0x6ee1ef[_0x4a8760(0x339)][_0x4a8760(0x1ce)](_0x6ee1ef[_0x4a8760(0x336)]['onQueryEnd'],this[_0x4a8760(0x392)]);}[_0x254bc1(0x42d)](){const _0x48df74=_0x254bc1;this['disposeWithMe'](this[_0x48df74(0x3c1)][_0x48df74(0x1d2)](_0x5de4a7=>{const _0x20ea87=_0x48df74;_0x5de4a7['id']===_0x204566[_0x20ea87(0x408)]['id']&&this[_0x20ea87(0x1b3)]['handleMoveRange'](_0x5de4a7[_0x20ea87(0x2ee)]);})),this[_0x48df74(0x165)](this['_commandService']['onCommandExecuted'](_0x25458=>{const _0x3a352f=_0x48df74;if(_0x25458['id']!==_0x5d9248['id'])return;const _0x29f94f=_0x25458[_0x3a352f(0x2ee)],{unitId:_0x24204c,subUnitId:_0x5b3ccb,pivotTableId:_0x190a7e}=_0x29f94f,_0x21e703=_0x29f94f[_0x3a352f(0x2ee)][_0x3a352f(0x2e5)],_0x2e21c8={};switch(_0x21e703){case _0x126194['Filter']:{const _0x4d9174=_0x29f94f['params']['filter'];if(!_0x4d9174)return;const {row:_0x2f72a9,col:_0x26b8e7,cellData:_0x4b3762,pivotItemRenderInfoCache:_0x909c67,tableFieldId:_0x4fa692}=_0x4d9174,_0xaedace=this[_0x3a352f(0x1b3)][_0x3a352f(0x2df)](_0x29f94f[_0x3a352f(0x1ad)]);if(!_0xaedace||!_0x909c67)return;if(_0x4fa692){const _0x29a4c0=_0xaedace[_0x3a352f(0x435)](_0x4fa692);if(!_0x29a4c0)return;_0x2e21c8[_0x3a352f(0x418)]={..._0xaedace['getDataFieldItemInfo'](_0x29a4c0),'tableFieldId':_0x4fa692,'pivotTableId':_0x29f94f[_0x3a352f(0x1ad)],'filterInfo':_0xaedace[_0x3a352f(0x177)](_0x4fa692),'sortInfo':_0xaedace[_0x3a352f(0x285)](_0x4fa692),'format':_0xaedace[_0x3a352f(0x356)](_0x4fa692)};}else{const _0x7893e5=_0x10d4d2(_0x2f72a9,_0x26b8e7,_0x4b3762,_0xaedace,_0x909c67),_0x4793a1=_0x7893e5==null?void 0x0:_0x7893e5[_0x3a352f(0x1ee)];if(!_0x4793a1)return;const _0x22b486=_0xaedace[_0x3a352f(0x435)](_0x4793a1);if(!_0x22b486)return;_0x2e21c8[_0x3a352f(0x418)]={..._0xaedace['getDataFieldItemInfo'](_0x22b486),'tableFieldId':_0x4793a1,'pivotTableId':_0x29f94f[_0x3a352f(0x1ad)],'filterInfo':_0xaedace['getFilterInfo'](_0x4793a1),'sortInfo':_0xaedace['getSortInfo'](_0x4793a1),'format':_0xaedace['getFieldFormat'](_0x4793a1)};}}break;case _0x126194[_0x3a352f(0x3e8)]:{const _0x4da65b=_0x29f94f[_0x3a352f(0x2ee)][_0x3a352f(0x1ec)];if(!_0x4da65b)return;const {pivotTableId:_0x538bd1}=_0x4da65b,_0xf4757a=this[_0x3a352f(0x1b3)]['getPivotTableInstance'](_0x538bd1);if(!_0xf4757a)return;const _0x15c480=this['_sheetsPivotDataSourceModel'][_0x3a352f(0x329)](_0x24204c,_0x5b3ccb,_0x538bd1),_0x793364=_0x10604e(_0xf4757a,_0x538bd1,_0x15c480);_0x2e21c8[_0x3a352f(0x1ec)]=_0x793364;}break;case _0x126194[_0x3a352f(0x246)]:{const _0x38908e=this[_0x3a352f(0x1b3)][_0x3a352f(0x2df)](_0x190a7e),_0x130e10=this[_0x3a352f(0x1b3)]['getDataFieldManager'](_0x24204c),_0x34347e=_0x130e10[_0x3a352f(0x3dc)](_0x190a7e);let _0x384e4b=null;const _0x220f80=this[_0x3a352f(0x1b3)]['getPivotTableConfig'](_0x24204c,_0x5b3ccb,_0x190a7e),_0x5441ba=_0x29f94f['params'][_0x3a352f(0x375)];if(!_0x38908e||!_0x220f80||!_0x5441ba)return!0x1;const {dataFieldId:_0x4c2196,fieldArea:_0x18a62c,index:_0x1aa16a}=_0x5441ba;_0x38908e[_0x3a352f(0x1e2)]();const _0xf63a0f=_0x38908e[_0x3a352f(0x19d)](_0x4c2196,_0x18a62c,_0x1aa16a);if(_0xf63a0f&&_0x18a62c===_0x6ee1ef[_0x3a352f(0x158)]['Value']){const _0x2ae9f8=_0xf63a0f['getId'](),_0x459e33=_0x38908e[_0x3a352f(0x435)](_0x2ae9f8);if(_0x459e33){const _0x365ad8=_0x459e33==null?void 0x0:_0x459e33[_0x3a352f(0x16f)]();_0x38908e['setSubtotalType'](_0xf63a0f['getId'](),_0x365ad8===_0x6ee1ef[_0x3a352f(0x412)][_0x3a352f(0x3a5)]?_0x6ee1ef[_0x3a352f(0x326)][_0x3a352f(0x1cf)]:_0x6ee1ef[_0x3a352f(0x326)]['count']);}const _0x3d80c6=_0x38908e['getValueIndex'](),_0x583141=_0x38908e[_0x3a352f(0x205)](),_0x12dfb7=_0x38908e[_0x3a352f(0x45b)](_0x6ee1ef[_0x3a352f(0x158)][_0x3a352f(0x206)]);if(_0x3d80c6===-0x1&&_0x12dfb7>0x1){const _0x5c1f30=_0x583141===_0x6ee1ef[_0x3a352f(0x36e)][_0x3a352f(0x37b)]?_0x6ee1ef[_0x3a352f(0x36e)][_0x3a352f(0x3b9)]:_0x583141,_0x4ac3fa=_0x5c1f30===_0x6ee1ef[_0x3a352f(0x36e)][_0x3a352f(0x19c)]?_0x6ee1ef[_0x3a352f(0x158)]['Row']:_0x6ee1ef['PivotTableFiledAreaEnum'][_0x3a352f(0x3b9)];_0x38908e['updateValuePosition'](_0x5c1f30,_0x38908e[_0x3a352f(0x45b)](_0x4ac3fa));}}else{if(_0xf63a0f&&(_0x18a62c===_0x6ee1ef[_0x3a352f(0x158)][_0x3a352f(0x19c)]||_0x18a62c===_0x6ee1ef[_0x3a352f(0x158)][_0x3a352f(0x3b9)])){const _0x56be34=_0xf63a0f[_0x3a352f(0x443)](),_0x152e8c=_0x38908e['getDataFieldByTableId'](_0x56be34);if(_0x152e8c&&(_0x152e8c==null?void 0x0:_0x152e8c[_0x3a352f(0x16f)]())===_0x6ee1ef[_0x3a352f(0x412)][_0x3a352f(0x196)]){const _0x27183b=_0x152e8c[_0x3a352f(0x293)]();if(_0x27183b&&_0x38908e[_0x3a352f(0x217)](_0xf63a0f[_0x3a352f(0x443)](),_0x27183b),!_0x34347e[_0x3a352f(0x22a)]()[_0x3a352f(0x287)](_0x3a762d=>{const _0x3aa9c2=_0x3a352f,_0x29a21c=_0x34347e[_0x3aa9c2(0x365)](_0x3a762d);return _0x6ee1ef[_0x3aa9c2(0x2c6)](_0x29a21c)?_0x29a21c[_0x3aa9c2(0x300)]()[_0x3aa9c2(0x3b3)]===_0x4c2196:!0x1;})){const _0x55c12a=_0x130e10[_0x3a352f(0x186)](),_0x172e48=_0x5a7317(_0x152e8c[_0x3a352f(0x2ba)],_0x152e8c[_0x3a352f(0x425)]),_0x34ee55=_0x152e8c[_0x3a352f(0x39c)]()+'\x20-\x20'+_0x28a53d(this['_injector'],_0x172e48),_0x382a50=new _0x6ee1ef[(_0x3a352f(0x325))](_0x55c12a,_0x34ee55,_0x6ee1ef['generateHexNumber'](0x3),_0x152e8c['getId'](),_0x172e48);_0x130e10['addDataFieldWithoutUnitInfo'](_0x382a50),_0x34347e[_0x3a352f(0x20c)](_0x55c12a,_0x34ee55),_0x38908e[_0x3a352f(0x19d)](_0x55c12a,_0x18a62c,(_0x1aa16a!=null?_0x1aa16a:0x0)+0x1),_0x384e4b=_0x382a50;}}}}const _0x371035=_0x38908e['isEmpty'](),_0x110355=_0x38908e[_0x3a352f(0x421)]()['toJSON']();let _0x193188;if(_0x384e4b){_0x193188=_0x384e4b[_0x3a352f(0x257)]();const _0x84bda3=_0x384e4b[_0x3a352f(0x443)]();_0x34347e[_0x3a352f(0x3f4)](_0x84bda3);let _0x41190b=!0x0;for(const _0x23c9d6 in _0x130e10[_0x3a352f(0x20d)])if(_0x130e10[_0x3a352f(0x20d)][_0x23c9d6][_0x3a352f(0x22a)]()[_0x3a352f(0x227)](_0x84bda3)){_0x41190b=!0x1;break;}_0x41190b&&_0x130e10[_0x3a352f(0x3ba)](_0x84bda3);}const _0x4f38ab=_0x38908e[_0x3a352f(0x306)]();_0x2e21c8[_0x3a352f(0x375)]={'view':_0x110355,'changesets':_0x4f38ab,'isEmpty':_0x371035,'pivotTableConfig':_0x220f80,'shouldBeAddedGroupJSON':_0x193188};}break;case _0x126194['AddPivotTable']:{const _0xa49e20=_0x29f94f[_0x3a352f(0x2ee)][_0x3a352f(0x3c8)];if(!_0xa49e20)return;const _0x5ee644=_0xa49e20[_0x3a352f(0x3d7)],_0xaecb30=_0xa49e20[_0x3a352f(0x1ad)],{collection:_0x40e661}=this['_sheetsPivotDataSourceModel'][_0x3a352f(0x266)]({'unitId':_0x5ee644['unitId'],'sheetName':_0x5ee644[_0x3a352f(0x2d6)],'subUnitId':_0x5ee644[_0x3a352f(0x24b)],'range':_0x5ee644['range']}),_0x5ec5df=new _0x6ee1ef['PivotTable'](_0x40e661,void 0x0,_0xaecb30),_0x5f0bb2=_0x5ec5df['query'](),_0x535487=_0x5ec5df['toJSON'](),_0x494e73=_0x40e661['toJSON']();_0x2e21c8[_0x3a352f(0x3c8)]={'view':_0x5f0bb2,'fieldsConfig':_0x535487,'collectionConfig':_0x494e73,'isEmpty':_0x5ec5df[_0x3a352f(0x44a)]()};}break;case _0x126194['MovePivotField']:{const _0x7a7042=_0x29f94f[_0x3a352f(0x2ee)]['movePivotField'];if(!_0x7a7042)return;const {fieldId:_0x438251,area:_0x1c301f,index:_0x430927}=_0x7a7042,_0x3663e6=this[_0x3a352f(0x1b3)]['getPivotTableConfig'](_0x24204c,_0x5b3ccb,_0x190a7e);if(!_0x3663e6)return;const _0x1eb340=this[_0x3a352f(0x1b3)]['getPivotTableInstance'](_0x190a7e);if(!_0x1eb340)return;_0x1eb340[_0x3a352f(0x1e2)]();const {area:_0x521248,index:_0x264a59}=_0x1eb340[_0x3a352f(0x25a)](_0x438251);if(_0x1eb340[_0x3a352f(0x37f)](_0x438251,_0x1c301f,_0x430927),_0x1c301f===_0x6ee1ef['PivotTableFiledAreaEnum'][_0x3a352f(0x206)]&&_0x1eb340[_0x3a352f(0x2b6)](_0x438251)[_0x3a352f(0x1b9)]()===void 0x0){const _0x29f232=_0x1eb340[_0x3a352f(0x2b6)](_0x438251);if(_0x29f232&&_0x29f232[_0x3a352f(0x1b9)]()===void 0x0){const _0x1a0897=_0x1eb340['getDataFieldByTableId'](_0x438251);if(_0x1a0897){const _0x540faf=_0x1a0897==null?void 0x0:_0x1a0897[_0x3a352f(0x16f)]();_0x1eb340[_0x3a352f(0x34c)](_0x438251,_0x540faf===_0x6ee1ef[_0x3a352f(0x412)][_0x3a352f(0x3a5)]?_0x6ee1ef[_0x3a352f(0x326)][_0x3a352f(0x1cf)]:_0x6ee1ef[_0x3a352f(0x326)][_0x3a352f(0x429)]);}}}const _0x1de117=_0x1eb340['getValuePosition'](),_0x498a26=_0x1eb340[_0x3a352f(0x1b8)](),_0x1a4556=_0x1eb340[_0x3a352f(0x45b)](_0x6ee1ef[_0x3a352f(0x158)][_0x3a352f(0x206)])>0x1;if(_0x1a4556&&_0x521248===_0x1c301f&&(_0x1c301f===_0x6ee1ef[_0x3a352f(0x158)][_0x3a352f(0x19c)]&&_0x1de117===_0x6ee1ef[_0x3a352f(0x36e)][_0x3a352f(0x19c)]||_0x1c301f===_0x6ee1ef[_0x3a352f(0x158)][_0x3a352f(0x3b9)]&&_0x1de117===_0x6ee1ef['PivotTableValuePositionEnum'][_0x3a352f(0x3b9)])){let _0x5b55fe=_0x498a26;_0x264a59<=_0x498a26&&_0x5b55fe--,_0x430927<=_0x498a26&&_0x5b55fe++,_0x1eb340['updateValuePosition'](_0x1de117,_0x5b55fe);}else _0x1a4556&&(_0x521248===_0x6ee1ef['PivotTableFiledAreaEnum'][_0x3a352f(0x19c)]&&_0x1de117===_0x6ee1ef[_0x3a352f(0x36e)][_0x3a352f(0x19c)]||_0x521248===_0x6ee1ef['PivotTableFiledAreaEnum'][_0x3a352f(0x3b9)]&&_0x1de117===_0x6ee1ef[_0x3a352f(0x36e)][_0x3a352f(0x3b9)])&&_0x498a26>=_0x264a59&&_0x1eb340[_0x3a352f(0x3f9)](_0x1de117,_0x498a26-0x1),_0x1a4556&&(_0x1c301f===_0x6ee1ef[_0x3a352f(0x158)][_0x3a352f(0x19c)]&&_0x1de117===_0x6ee1ef[_0x3a352f(0x36e)]['Row']||_0x1c301f===_0x6ee1ef[_0x3a352f(0x158)]['Column']&&_0x1de117===_0x6ee1ef['PivotTableValuePositionEnum'][_0x3a352f(0x3b9)])&&_0x498a26>=_0x430927&&_0x1eb340[_0x3a352f(0x3f9)](_0x1de117,_0x498a26+0x1);const _0x2f03cd=_0x1eb340[_0x3a352f(0x421)](),_0x37d1ff=_0x1eb340[_0x3a352f(0x44a)](),_0x31580b=_0x1eb340[_0x3a352f(0x306)]();_0x2e21c8['movePivotField']={'view':_0x2f03cd[_0x3a352f(0x257)](),'changesets':_0x31580b,'isEmpty':_0x37d1ff,'pivotTableConfig':_0x3663e6};}break;case _0x126194[_0x3a352f(0x1c1)]:{const _0x381b6c=_0x29f94f[_0x3a352f(0x2ee)][_0x3a352f(0x349)];if(!_0x381b6c)return;const _0x129310=_0x381b6c[_0x3a352f(0x1dc)],_0x524a31=this[_0x3a352f(0x1b3)][_0x3a352f(0x329)](_0x24204c,_0x5b3ccb,_0x190a7e);if(!_0x524a31)return!0x1;const _0x5bca7e=this[_0x3a352f(0x1b3)][_0x3a352f(0x2df)](_0x190a7e);if(!_0x5bca7e)return!0x1;_0x5bca7e[_0x3a352f(0x1e2)]();for(const _0x4d1f2b of _0x129310){const {area:_0x4c8f0d}=_0x5bca7e[_0x3a352f(0x25a)](_0x4d1f2b);_0x4c8f0d===_0x6ee1ef[_0x3a352f(0x158)][_0x3a352f(0x206)]&&_0x5bca7e[_0x3a352f(0x362)](_0x4d1f2b),(_0x4c8f0d===_0x6ee1ef[_0x3a352f(0x158)][_0x3a352f(0x19c)]||_0x4c8f0d===_0x6ee1ef[_0x3a352f(0x158)][_0x3a352f(0x3b9)])&&_0x5bca7e[_0x3a352f(0x215)](_0x4d1f2b),_0x5bca7e[_0x3a352f(0x21d)](_0x4d1f2b);}const _0x2fa169=_0x5bca7e[_0x3a352f(0x44a)](),_0x3a1a6e=_0x5bca7e[_0x3a352f(0x421)]()[_0x3a352f(0x257)](),_0x18294a=_0x5bca7e[_0x3a352f(0x306)]();_0x2e21c8['removePivotField']={'changesets':_0x18294a,'pivotTableConfig':_0x524a31,'isEmpty':_0x2fa169,'view':_0x3a1a6e};}break;case _0x126194[_0x3a352f(0x1b2)]:{const _0x439715=_0x29f94f[_0x3a352f(0x2ee)][_0x3a352f(0x301)];if(!_0x439715)return;const {tableFieldId:_0x412aff,items:_0x51af49,isAll:_0x2042ea}=_0x439715,_0x103444=this[_0x3a352f(0x1b3)][_0x3a352f(0x2df)](_0x190a7e),_0xf54eb8=this[_0x3a352f(0x1b3)][_0x3a352f(0x329)](_0x24204c,_0x5b3ccb,_0x190a7e);if(!_0x103444||!_0xf54eb8)return;_0x103444[_0x3a352f(0x1e2)](),_0x103444['setLabelFilterInfo'](_0x412aff,{'type':_0x6ee1ef[_0x3a352f(0x24f)]['ManualFilter'],'list':_0x51af49,'isAll':_0x2042ea});const _0x37b61b=_0x103444[_0x3a352f(0x44a)](),_0x59cb60=_0x103444[_0x3a352f(0x421)]()[_0x3a352f(0x257)](),_0x33e864=_0x103444[_0x3a352f(0x306)]();_0x2e21c8[_0x3a352f(0x301)]={'view':_0x59cb60,'changesets':_0x33e864,'isEmpty':_0x37b61b,'pivotTableConfig':_0xf54eb8};}break;case _0x126194[_0x3a352f(0x1e1)]:{const _0x43b898=_0x29f94f['params'][_0x3a352f(0x1d1)];if(!_0x43b898)return;const {tableFieldId:_0x58760d,filterInfo:_0x29781e}=_0x43b898,_0x13d013=this[_0x3a352f(0x1b3)][_0x3a352f(0x2df)](_0x190a7e),_0x46c394=this[_0x3a352f(0x1b3)]['getPivotTableConfig'](_0x24204c,_0x5b3ccb,_0x190a7e);if(!_0x13d013||!_0x46c394)return;_0x13d013[_0x3a352f(0x1e2)](),_0x13d013[_0x3a352f(0x1fa)](_0x58760d,_0x29781e);const _0x250075=_0x13d013[_0x3a352f(0x44a)](),_0x1238ce=_0x13d013[_0x3a352f(0x421)]()['toJSON'](),_0x555eb7=_0x13d013[_0x3a352f(0x306)]();_0x2e21c8['setValuePivotFilter']={'view':_0x1238ce,'changesets':_0x555eb7,'isEmpty':_0x250075,'pivotTableConfig':_0x46c394};}break;case _0x126194[_0x3a352f(0x1eb)]:{const _0x21d040=_0x29f94f[_0x3a352f(0x2ee)][_0x3a352f(0x44f)];if(!_0x21d040)return;const {tableFieldId:_0x167fa8,info:_0xdb828a}=_0x21d040,_0x2243e4=this[_0x3a352f(0x1b3)]['getPivotTableInstance'](_0x190a7e),_0x132baf=this[_0x3a352f(0x1b3)][_0x3a352f(0x329)](_0x24204c,_0x5b3ccb,_0x190a7e);if(!_0x2243e4||!_0x132baf)return;_0x2243e4[_0x3a352f(0x1e2)](),_0x2243e4[_0x3a352f(0x320)](_0x167fa8,_0xdb828a);const _0x25b857=_0x2243e4['isEmpty'](),_0x33ab13=_0x2243e4[_0x3a352f(0x421)]()[_0x3a352f(0x257)](),_0x72d6c8=_0x2243e4[_0x3a352f(0x306)]();_0x2e21c8['setPivotSort']={'view':_0x33ab13,'changesets':_0x72d6c8,'isEmpty':_0x25b857,'pivotTableConfig':_0x132baf};}break;case _0x126194[_0x3a352f(0x210)]:{const _0x32810d=_0x29f94f[_0x3a352f(0x2ee)][_0x3a352f(0x368)];if(!_0x32810d)return;const {tableFieldId:_0x2d43fd,displayName:_0x377449,subtotalType:_0x410bd8,format:_0x1e5f55}=_0x32810d,_0x4a4b31=this[_0x3a352f(0x1b3)][_0x3a352f(0x2df)](_0x190a7e),_0x821841=this[_0x3a352f(0x1b3)][_0x3a352f(0x329)](_0x24204c,_0x5b3ccb,_0x190a7e);if(!_0x4a4b31||!_0x821841)return;_0x4a4b31['startCollectChangeset'](),_0x377449!==void 0x0&&_0x4a4b31[_0x3a352f(0x466)](_0x2d43fd,_0x377449),_0x410bd8!==void 0x0&&_0x4a4b31[_0x3a352f(0x34c)](_0x2d43fd,_0x410bd8),_0x1e5f55!==void 0x0&&_0x4a4b31[_0x3a352f(0x217)](_0x2d43fd,_0x1e5f55);const _0x664840=_0x4a4b31[_0x3a352f(0x44a)](),_0x403a85=_0x4a4b31['query']()[_0x3a352f(0x257)](),_0x2c5640=_0x4a4b31['endCollectChangeset']();_0x2e21c8['setPivotSetting']={'changesets':_0x2c5640,'pivotTableConfig':_0x821841,'isEmpty':_0x664840,'view':_0x403a85};}break;case _0x126194[_0x3a352f(0x31b)]:{const _0x39e0e8=_0x29f94f['params'][_0x3a352f(0x46e)];if(!_0x39e0e8)return;const {dataRangeInfo:_0x3628da,unitId:_0x44c187,subUnitId:_0x76b7d}=_0x39e0e8,_0x3fc092=this[_0x3a352f(0x1b3)][_0x3a352f(0x329)](_0x44c187,_0x76b7d,_0x190a7e),_0x23c39d=this['_sheetsPivotDataSourceModel'][_0x3a352f(0x2df)](_0x190a7e);if(!this['_sheetsPivotDataSourceModel'][_0x3a352f(0x3dc)](_0x44c187,_0x190a7e)||!_0x23c39d||!_0x3fc092)return;const _0x228bdd=this[_0x3a352f(0x1b3)]['getUpdateRangeDeleteIds'](_0x44c187,_0x190a7e,_0x3628da),_0x18f1c0=this[_0x3a352f(0x1b3)][_0x3a352f(0x3dc)](_0x44c187,_0x190a7e)[_0x3a352f(0x257)](),{collection:_0x432ac5}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x3628da[_0x3a352f(0x3fa)],'sheetName':_0x3628da['sheetName'],'subUnitId':_0x3628da[_0x3a352f(0x24b)],'range':_0x3628da[_0x3a352f(0x2ed)]}),_0x27068a=_0x432ac5['toJSON']();_0x23c39d['startCollectChangeset']();const _0x13696b=this['_sheetsPivotDataSourceModel'][_0x3a352f(0x41e)](_0x44c187)[_0x3a352f(0x468)]()||_0x6ee1ef[_0x3a352f(0x3a8)];_0x23c39d[_0x3a352f(0x28c)](_0x40e0d9=>{const _0x3f8c37=_0x3a352f,_0x3bc4c5=_0x40e0d9[_0x3f8c37(0x46a)]();if(!_0x432ac5[_0x3f8c37(0x1d0)](_0x3bc4c5)){const _0x309395=_0x432ac5['getDataFieldBySourceName'](_0x40e0d9[_0x3f8c37(0x22e)]());if(_0x309395){_0x23c39d[_0x3f8c37(0x414)](_0x40e0d9['getId'](),_0x309395[_0x3f8c37(0x39c)](),_0x309395[_0x3f8c37(0x443)]());const {area:_0x25f9b7}=_0x23c39d['getFieldPositionInfoById'](_0x40e0d9[_0x3f8c37(0x443)]());let _0x35a9c2=_0x40e0d9[_0x3f8c37(0x22e)]();const _0x40a734=_0x40e0d9[_0x3f8c37(0x2b5)]();if(_0x25f9b7===_0x6ee1ef[_0x3f8c37(0x158)][_0x3f8c37(0x206)]){const _0x507cc1=_0x40e0d9[_0x3f8c37(0x1b9)]();_0x35a9c2=_0x13696b(_0x309395[_0x3f8c37(0x39c)](),_0x507cc1);}_0x40a734!==_0x35a9c2&&_0x23c39d[_0x3f8c37(0x466)](_0x40e0d9[_0x3f8c37(0x443)](),_0x35a9c2);}else _0x23c39d['removeField'](_0x40e0d9['getId']());}});const _0x1891af=_0x23c39d[_0x3a352f(0x44a)](),_0x22258f=_0x23c39d[_0x3a352f(0x421)]()[_0x3a352f(0x257)](),_0x2f4865=_0x23c39d[_0x3a352f(0x306)]();_0x2e21c8['updatePivotSource']={'view':_0x22258f,'changesets':_0x2f4865,'isEmpty':_0x1891af,'pivotTableConfig':_0x3fc092,'collectionConfig':_0x27068a,'oldCollectionConfig':_0x18f1c0,'deleteIds':_0x228bdd};}break;case _0x126194[_0x3a352f(0x1d6)]:{const _0x537fb6=_0x29f94f[_0x3a352f(0x2ee)][_0x3a352f(0x3f9)];if(!_0x537fb6)return;const {position:_0x78ade6,index:_0x433cf9}=_0x537fb6,_0x579735=this[_0x3a352f(0x1b3)][_0x3a352f(0x329)](_0x24204c,_0x5b3ccb,_0x190a7e);if(!_0x579735)return!0x1;const _0x91cc5e=this[_0x3a352f(0x1b3)][_0x3a352f(0x2df)](_0x190a7e);if(!_0x91cc5e)return!0x1;_0x91cc5e[_0x3a352f(0x1e2)](),_0x91cc5e[_0x3a352f(0x3f9)](_0x78ade6,_0x433cf9);const _0x7becc0=_0x91cc5e[_0x3a352f(0x44a)](),_0x38f734=_0x91cc5e[_0x3a352f(0x421)]()[_0x3a352f(0x257)](),_0x3a7089=_0x91cc5e['endCollectChangeset']();_0x2e21c8[_0x3a352f(0x3f9)]={'changesets':_0x3a7089,'pivotTableConfig':_0x579735,'isEmpty':_0x7becc0,'view':_0x38f734};}break;case _0x126194[_0x3a352f(0x378)]:{const _0x496c56=_0x29f94f['params'][_0x3a352f(0x267)];if(!_0x496c56)return;const {tableFieldId:_0x3e6557,collapse:_0x476a24,item:_0x5bb7cc}=_0x496c56,_0xd780fc=this[_0x3a352f(0x1b3)]['getPivotTableInstance'](_0x190a7e),_0x491124=this[_0x3a352f(0x1b3)][_0x3a352f(0x329)](_0x24204c,_0x5b3ccb,_0x190a7e);if(!_0xd780fc||!_0x491124)return;_0xd780fc['startCollectChangeset'](),_0xd780fc[_0x3a352f(0x27c)](_0x3e6557,_0x476a24,_0x5bb7cc);const _0x36a576=_0xd780fc[_0x3a352f(0x44a)](),_0x2f34cf=_0xd780fc[_0x3a352f(0x421)]()['toJSON'](),_0x23be8e=_0xd780fc[_0x3a352f(0x306)]();_0x2e21c8[_0x3a352f(0x267)]={'view':_0x2f34cf,'isEmpty':_0x36a576,'pivotTableConfig':_0x491124,'changesets':_0x23be8e};}break;case _0x126194['SetPivotTableConfig']:{const _0x17c83f=_0x29f94f[_0x3a352f(0x2ee)]['setPivotTableConfig'];if(!_0x17c83f)return;const {pivotTableConfig:_0x19a33f}=_0x17c83f,_0x4b65db=this[_0x3a352f(0x1b3)][_0x3a352f(0x2df)](_0x190a7e),_0x38f700=this[_0x3a352f(0x1b3)][_0x3a352f(0x329)](_0x24204c,_0x5b3ccb,_0x190a7e);if(!_0x4b65db||!_0x38f700)return;_0x4b65db['startCollectChangeset'](),_0x87498d(_0x4b65db,_0x19a33f);const _0x3552be=_0x4b65db['isEmpty'](),_0x4b81ee=_0x4b65db[_0x3a352f(0x421)]()[_0x3a352f(0x257)](),_0x13f745=_0x4b65db[_0x3a352f(0x306)]();_0x2e21c8[_0x3a352f(0x3f0)]={'view':_0x4b81ee,'isEmpty':_0x3552be,'pivotTableConfig':{..._0x38f700,'fieldsConfig':_0x4b65db[_0x3a352f(0x257)]()},'changesets':_0x13f745};}break;case _0x126194[_0x3a352f(0x2f2)]:{const _0x5bad66=_0x29f94f['params'][_0x3a352f(0x19a)];if(!_0x5bad66)return;const _0x5097c2=this[_0x3a352f(0x1b3)]['getPivotTableInstance'](_0x190a7e),_0x136cd9=this['_sheetsPivotDataSourceModel'][_0x3a352f(0x329)](_0x24204c,_0x5b3ccb,_0x190a7e);if(!_0x5097c2||!_0x136cd9)return;_0x5097c2[_0x3a352f(0x1e2)](),_0x55f7e1(_0x5097c2,_0x5bad66[_0x3a352f(0x3ea)]);const _0x42b8ee=_0x5097c2['query']()[_0x3a352f(0x257)](),_0x493fff=_0x5097c2[_0x3a352f(0x306)]();_0x2e21c8[_0x3a352f(0x19a)]={'view':_0x42b8ee,'isEmpty':!0x0,'pivotTableConfig':{..._0x136cd9,'fieldsConfig':_0x5097c2[_0x3a352f(0x257)]()},'changesets':_0x493fff};}break;case _0x126194[_0x3a352f(0x185)]:{const _0x4c61a3=_0x29f94f[_0x3a352f(0x2ee)][_0x3a352f(0x3c7)];if(!_0x4c61a3)return;const _0x54cc36=_0x4c61a3[_0x3a352f(0x3d7)],_0x356514=_0x4c61a3['pivotTableId'],{collection:_0x1e8fcc}=this['_sheetsPivotDataSourceModel'][_0x3a352f(0x266)]({'unitId':_0x54cc36['unitId'],'sheetName':_0x54cc36[_0x3a352f(0x2d6)],'subUnitId':_0x54cc36[_0x3a352f(0x24b)],'range':_0x54cc36[_0x3a352f(0x2ed)]}),_0x5d6189=new _0x6ee1ef[(_0x3a352f(0x339))](_0x1e8fcc,void 0x0,_0x356514),_0x251157=_0x1e8fcc[_0x3a352f(0x22a)](),{rows:_0x99be87,columns:_0x18cbcf,filters:_0x4a0c67,values:_0x4ef410}=_0x4c61a3['pivotTableIndexConfig'];_0x5d6189[_0x3a352f(0x1e2)]();for(const {field:_0x35bda7,selectedItems:_0x20d748}of _0x99be87||[]){const _0x35140c=_0x251157[_0x35bda7];if(_0x35140c){const _0x3e2de0=_0x5d6189[_0x3a352f(0x19d)](_0x35140c,_0x6ee1ef[_0x3a352f(0x158)][_0x3a352f(0x19c)]);_0x20d748&&_0x3e2de0&&_0x5d6189[_0x3a352f(0x353)](_0x3e2de0[_0x3a352f(0x443)](),{'type':_0x6ee1ef[_0x3a352f(0x24f)][_0x3a352f(0x3f1)],'list':_0x20d748,'isAll':!0x1});}}for(const {field:_0x3f7c36,selectedItems:_0xf9da35}of _0x18cbcf||[]){const _0x1b6e9e=_0x251157[_0x3f7c36];if(_0x1b6e9e){const _0x5ccef4=_0x5d6189[_0x3a352f(0x19d)](_0x1b6e9e,_0x6ee1ef[_0x3a352f(0x158)][_0x3a352f(0x3b9)]);_0xf9da35&&_0x5ccef4&&_0x5d6189['setLabelFilterInfo'](_0x5ccef4[_0x3a352f(0x443)](),{'type':_0x6ee1ef['PivotFilterTypeEnum'][_0x3a352f(0x3f1)],'list':_0xf9da35,'isAll':!0x1});}}for(const {field:_0x488030,selectedItems:_0x449802}of _0x4a0c67||[]){const _0x23869e=_0x251157[_0x488030];if(_0x23869e){const _0x1a146a=_0x5d6189[_0x3a352f(0x19d)](_0x23869e,_0x6ee1ef[_0x3a352f(0x158)][_0x3a352f(0x172)]);_0x449802&&_0x1a146a&&_0x5d6189[_0x3a352f(0x353)](_0x1a146a[_0x3a352f(0x443)](),{'type':_0x6ee1ef['PivotFilterTypeEnum'][_0x3a352f(0x3f1)],'list':_0x449802,'isAll':!0x1});}}for(const {field:_0x1258d7,subTotalType:_0x1615d5,formatString:_0x19fd12}of _0x4ef410||[]){const _0x3baf4b=_0x1e8fcc[_0x3a352f(0x365)](_0x251157[_0x1258d7]);if(!_0x3baf4b)continue;const _0x3bc090=_0x251157[_0x1258d7];if(_0x3bc090){const _0x9cb0a2=_0x5d6189[_0x3a352f(0x19d)](_0x3bc090,_0x6ee1ef[_0x3a352f(0x158)][_0x3a352f(0x206)]);if(_0x9cb0a2){if(_0x1615d5!==void 0x0){_0x5d6189[_0x3a352f(0x34c)](_0x9cb0a2[_0x3a352f(0x443)](),_0x1615d5);const _0x195534=this[_0x3a352f(0x1b3)][_0x3a352f(0x41e)](_0x54cc36[_0x3a352f(0x3fa)])[_0x3a352f(0x468)]()||_0x6ee1ef[_0x3a352f(0x3a8)],_0x59e604=_0x1e8fcc[_0x3a352f(0x2b5)](_0x3bc090),_0x54c442=_0x195534(_0x59e604,_0x1615d5);_0x5d6189[_0x3a352f(0x466)](_0x9cb0a2[_0x3a352f(0x443)](),_0x54c442);}else{if(_0x3baf4b){const _0x661e72=_0x3baf4b==null?void 0x0:_0x3baf4b[_0x3a352f(0x16f)]();_0x5d6189[_0x3a352f(0x34c)](_0x9cb0a2[_0x3a352f(0x443)](),_0x661e72===_0x6ee1ef['PivotDataFieldDataTypeEnum']['number']?_0x6ee1ef[_0x3a352f(0x326)][_0x3a352f(0x1cf)]:_0x6ee1ef[_0x3a352f(0x326)]['count']);}}_0x19fd12&&_0x5d6189[_0x3a352f(0x217)](_0x9cb0a2[_0x3a352f(0x443)](),_0x19fd12);}}}const _0x582989=_0x5d6189[_0x3a352f(0x421)](),_0x1b6dd4=_0x5d6189[_0x3a352f(0x257)](),_0x40a21e=_0x5d6189['isEmpty'](),_0x5f0e95=_0x5d6189['endCollectChangeset'](),_0x5c7034=_0x1e8fcc[_0x3a352f(0x257)]();_0x2e21c8[_0x3a352f(0x3c7)]={'view':_0x582989,'fieldsConfig':_0x1b6dd4,'collectionConfig':_0x5c7034,'isEmpty':_0x40a21e,'changesets':_0x5f0e95};}break;case _0x126194[_0x3a352f(0x36f)]:{const _0x2b1509=_0x2dee28(this[_0x3a352f(0x3ca)],_0x29f94f);if(!_0x2b1509)return;const {range:_0x57ff78,sourceSubUnitId:_0x5ed93a,sourceUnitId:_0x34af41,formatMap:_0x314e4c,indexes:_0x39a898}=_0x2b1509;_0x2e21c8[_0x3a352f(0x337)]={'range':_0x57ff78,'sourceSubUnitId':_0x5ed93a,'sourceUnitId':_0x34af41,'formatMap':_0x314e4c,'indexes':_0x39a898};}break;}this[_0x3a352f(0x3c1)][_0x3a352f(0x220)](_0x4d19cb['id'],{'version':_0x29f94f[_0x3a352f(0x43e)],'result':_0x2e21c8},{'onlyLocal':!0x0});}));}[_0x254bc1(0x38b)](){const _0x4003da=_0x254bc1;this[_0x4003da(0x165)](this[_0x4003da(0x3c1)][_0x4003da(0x1d2)](_0x536a98=>{const _0x130986=_0x4003da;if(_0x536a98['id']!==_0x2c9b7e['id'])return;const _0x21e38b=_0x536a98['params'];return this[_0x130986(0x1b3)]['setTextInfo'](_0x21e38b[_0x130986(0x37e)]),!0x0;}));}['_subjectCollectionChange'](){const _0xf1d9f5=_0x254bc1;this[_0xf1d9f5(0x1b3)]['collectionChange$']['subscribe'](_0x360f3c=>{const _0x32d55b=_0xf1d9f5;switch(_0x360f3c[_0x32d55b(0x2e5)]){case _0x2668c5['add']:_0x360f3c['dataRangeInfo']&&_0x360f3c[_0x32d55b(0x41a)]&&this['handleSourceRangeChange'](_0x360f3c['token'],_0x360f3c[_0x32d55b(0x248)],_0x360f3c['targetCellInfo']);break;case _0x2668c5[_0x32d55b(0x1a1)]:{const {unitId:_0x4ec42a,subUnitId:_0x4e52a4,token:_0x4cc2f2}=_0x360f3c;_0x4ec42a&&_0x4e52a4&&_0x4cc2f2&&this['removeSourceRangeChange'](_0x4ec42a,_0x4e52a4,_0x4cc2f2);}break;case _0x2668c5[_0x32d55b(0x230)]:{const {token:_0x5e6668,oldSourceRangeInfo:_0x216465,dataRangeInfo:_0x4125f0,targetCellInfo:_0x3f1167}=_0x360f3c,{unitId:_0x263d2d,subUnitId:_0x5a66e7}=_0x216465||{};_0x263d2d&&_0x5a66e7&&_0x5e6668&&this[_0x32d55b(0x2dd)](_0x263d2d,_0x5a66e7,_0x5e6668),_0x4125f0&&_0x3f1167&&this[_0x32d55b(0x270)](_0x5e6668,_0x4125f0,_0x3f1167);}break;}});}[_0x254bc1(0x202)](){const _0x571256=_0x254bc1;this[_0x571256(0x1b3)]['fieldsCollectionChange$'][_0x571256(0x3ee)](_0x2401f1=>{const _0x52f67f=_0x571256;Object['keys'](_0x2401f1)[_0x52f67f(0x2b2)](_0x2d5360=>{const _0x373610=_0x52f67f,_0x362e0a=this[_0x373610(0x1b3)]['getTargetByPivotId'](_0x2d5360);if(_0x362e0a){const _0xc8ae90=this['_sheetsPivotDataSourceModel'][_0x373610(0x329)](_0x362e0a==null?void 0x0:_0x362e0a[_0x373610(0x3fa)],_0x362e0a==null?void 0x0:_0x362e0a[_0x373610(0x24b)],_0x2d5360);_0xc8ae90&&(this[_0x373610(0x270)](_0x2d5360,_0xc8ae90['sourceRangeInfo'],_0xc8ae90[_0x373610(0x41a)]),this[_0x373610(0x27b)]([{'unitId':_0x362e0a['unitId'],'subUnitId':_0x362e0a[_0x373610(0x24b)],'token':_0x2d5360}]));}});});}['_subjectViewChange'](){const _0x1aebc1=_0x254bc1;this[_0x1aebc1(0x1b3)][_0x1aebc1(0x2a1)][_0x1aebc1(0x3ee)](_0x18cdca=>{const {unitId:_0x38eabb,subUnitId:_0x3fdb2a,pivotTableId:_0x52c5bb}=_0x18cdca;_0x38eabb&&_0x3fdb2a&&_0x52c5bb&&this['triggerDirtyFeature']([{'unitId':_0x38eabb,'subUnitId':_0x3fdb2a,'token':_0x52c5bb}]);});}[_0x254bc1(0x27b)](_0x51574f){const _0x39e5d0=_0x254bc1,_0x24e466={};_0x51574f[_0x39e5d0(0x2b2)](_0x1f3cac=>{var _0x1108ce,_0xeb4b42;const {unitId:_0x56a155,subUnitId:_0x6d37d2,token:_0x301b2b}=_0x1f3cac;_0x24e466[_0x56a155]=(_0x1108ce=_0x24e466[_0x56a155])!=null?_0x1108ce:{},_0x24e466[_0x56a155][_0x6d37d2]=(_0xeb4b42=_0x24e466[_0x56a155][_0x6d37d2])!=null?_0xeb4b42:{},_0x24e466[_0x56a155][_0x6d37d2][_0x301b2b]=!0x0;}),this[_0x39e5d0(0x3c1)]['executeCommand'](_0x4c032b['id'],_0x24e466);}[_0x254bc1(0x2dd)](_0x21492a,_0x1c5b87,_0x3b3c87){const _0x260455=_0x254bc1;this[_0x260455(0x168)][_0x260455(0x30e)](_0x21492a,_0x1c5b87,[_0x3b3c87]);}[_0x254bc1(0x270)](_0x4b472c,_0x4efe0c,_0x49f70b){const _0x154eb8=_0x254bc1,{unitId:_0x9fee50,subUnitId:_0x4ca345}=_0x4efe0c;this[_0x154eb8(0x168)][_0x154eb8(0x2f6)](_0x49f70b[_0x154eb8(0x3fa)],_0x49f70b['subUnitId'],_0x4b472c)&&this[_0x154eb8(0x2dd)](_0x9fee50,_0x4ca345,_0x4b472c);const _0x2e0a19={'sheetId':_0x4ca345,..._0x4efe0c};this[_0x154eb8(0x168)][_0x154eb8(0x294)](_0x49f70b['unitId'],_0x49f70b['subUnitId'],_0x4b472c,{'unitId':_0x49f70b['unitId'],'subUnitId':_0x49f70b[_0x154eb8(0x24b)],'dependencyRanges':[_0x2e0a19],'getDirtyData':(_0x440993,_0x39dae9)=>{const _0x430241=_0x154eb8,_0x5a777b=this[_0x430241(0x1b3)],_0x59bee2=_0x5a777b[_0x430241(0x317)](_0x4b472c);if(!_0x59bee2)return _0x152776();const {unitId:_0x43b09e,subUnitId:_0x15bbbc}=_0x59bee2,_0x3a6a8e=_0x2b10ff(_0x440993,_0x39dae9,_0x4efe0c);if(_0x3a6a8e[_0x430241(0x3a6)]>0x0){const _0x3bad4c=_0x5a777b[_0x430241(0x3dc)](_0x9fee50,_0x4b472c),_0xcb92ad=_0x3bad4c[_0x430241(0x22a)](),_0xec6854=this[_0x430241(0x3ce)](_0x4efe0c[_0x430241(0x3fa)],_0x4efe0c[_0x430241(0x24b)],_0x39dae9),_0x59cbf1={},_0x4ce71d=this[_0x430241(0x1b3)][_0x430241(0x41e)](_0x43b09e)[_0x430241(0x468)]()||_0x6ee1ef[_0x430241(0x3a8)],_0x143a99=[];for(const _0x2c783d of _0x3a6a8e){const _0x48cde1=_0x2c783d-(_0x4efe0c[_0x430241(0x2ed)][_0x430241(0x22f)]||0x0),_0x87acfb=_0xcb92ad[_0x48cde1];_0x143a99[_0x430241(0x23c)](_0x87acfb),_0x59cbf1[_0x87acfb]=_0x3bad4c[_0x430241(0x365)](_0x87acfb)['getName'](),_0x5a777b[_0x430241(0x41e)](_0x9fee50)[_0x430241(0x255)](_0x87acfb,_0x4efe0c,_0x48cde1,_0xec6854);}_0x3bad4c[_0x430241(0x1c2)](_0x143a99)[_0x430241(0x2b2)](_0x5d1252=>{const _0x3b86fe=_0x430241,[_0x4c841b,_0x5a8b1b]=_0x5d1252,_0x5c7f68=_0x3bad4c[_0x3b86fe(0x365)](_0x4c841b),_0x116cfc=_0x3bad4c[_0x3b86fe(0x365)](_0x5a8b1b);_0x5c7f68&&_0x116cfc&&_0x5c7f68['refreshGroupField'](_0x116cfc);}),_0x3bad4c[_0x430241(0x1bd)]();const _0x5efae6=_0x5a777b[_0x430241(0x2df)](_0x4b472c);if(_0x5efae6){_0x278306(_0x5efae6,_0x59cbf1,_0x4ce71d),_0x5efae6[_0x430241(0x21f)](!0x0);const _0x3a65ae=_0x5efae6[_0x430241(0x421)](),_0x48ee5a=_0x5a777b['getPivotTableConfig'](_0x43b09e,_0x15bbbc,_0x4b472c),_0x550935=_0x5a777b[_0x430241(0x41e)](_0x9fee50)[_0x430241(0x257)]();_0x5a777b[_0x430241(0x159)](_0x43b09e,_0x15bbbc,_0x17805c[_0x430241(0x1c0)],_0x4b472c,_0x3a65ae,_0x48ee5a,_0x550935,!0x0);}}return this[_0x430241(0x20f)](_0x43b09e,_0x15bbbc,_0x4b472c);}});}[_0x254bc1(0x3ce)](_0x1a4e70,_0x566fff,_0x26d541){var _0x3d0344,_0x30964e;const {arrayFormulaCellData:_0x25fe2c,unitData:_0x172220}=_0x26d541,_0x473645=(_0x3d0344=_0x25fe2c==null?void 0x0:_0x25fe2c[_0x1a4e70])==null?void 0x0:_0x3d0344[_0x566fff],_0x532365=(_0x30964e=_0x172220==null?void 0x0:_0x172220[_0x1a4e70])==null?void 0x0:_0x30964e[_0x566fff];return{'arrayFormulaCellDataMatrix':_0x473645,'unitDataMatrix':_0x532365};}[_0x254bc1(0x20f)](_0x22f600,_0x20d7d5,_0x46cd31){const _0x3e2b0b=_0x254bc1,_0x10680b=this[_0x3e2b0b(0x1b3)][_0x3e2b0b(0x22b)](_0x22f600,_0x20d7d5,_0x46cd31),_0x5c65c7=[],_0x4ec93f=new _0x373a9f['ObjectMatrix']();if(_0x10680b){const {rangeCache:_0x24ffc7,matrix:_0x54f3ba,oldRangeCache:_0x4d377f,oldMatrix:_0x556405}=_0x10680b,_0x3917b5=_0x377430(_0x4d377f),_0x1f9b33=_0x377430(_0x24ffc7);_0x5c65c7[_0x3e2b0b(0x23c)](..._0x1f9b33,..._0x3917b5),_0x556405&&_0x4d377f&&_0x3917b5[_0x3e2b0b(0x2b2)](_0x86d5dc=>{const _0x2565c0=_0x3e2b0b;for(let _0x7483d9=_0x86d5dc['startRow'];_0x7483d9<=_0x86d5dc['endRow'];_0x7483d9++)for(let _0x2c3999=_0x86d5dc[_0x2565c0(0x22f)];_0x2c3999<=_0x86d5dc['endColumn'];_0x2c3999++)_0x4ec93f['realDeleteValue'](_0x7483d9,_0x2c3999);}),_0x54f3ba&&_0x1f9b33&&_0x1f9b33[_0x3e2b0b(0x2b2)](_0x73da0=>{const _0x238fb9=_0x3e2b0b;for(let _0x4167bf=_0x73da0[_0x238fb9(0x2a5)];_0x4167bf<=_0x73da0['endRow'];_0x4167bf++)for(let _0x582f3f=_0x73da0[_0x238fb9(0x22f)];_0x582f3f<=_0x73da0[_0x238fb9(0x3db)];_0x582f3f++)_0x4ec93f[_0x238fb9(0x212)](_0x4167bf,_0x582f3f,_0x54f3ba['getValue'](_0x4167bf,_0x582f3f));});}const _0x40c6db={};return _0x40c6db[_0x22f600]={[_0x20d7d5]:_0x505b28(_0x5c65c7)},{'runtimeCellData':{[_0x22f600]:{[_0x20d7d5]:_0x4ec93f}},'dirtyRanges':_0x40c6db};}[_0x254bc1(0x35d)](){}};_0x1fd37a=_0x4c1f64([_0xee06f8(0x0,_0x373a9f[_0x254bc1(0x308)](_0xca2f35[_0x254bc1(0x2cb)])),_0xee06f8(0x1,_0x373a9f[_0x254bc1(0x2a9)]),_0xee06f8(0x2,_0x373a9f[_0x254bc1(0x308)](_0xe8d623[_0x254bc1(0x1d3)])),_0xee06f8(0x3,_0x373a9f['Inject'](_0x373a9f['ICommandService'])),_0xee06f8(0x4,_0x373a9f[_0x254bc1(0x308)](_0xe8d623[_0x254bc1(0x200)])),_0xee06f8(0x5,_0x373a9f[_0x254bc1(0x308)](_0x373a9f[_0x254bc1(0x42e)]))],_0x1fd37a);var _0x583335=Object[_0x254bc1(0x1f0)],_0x3ffc57=(_0x590163,_0x5ba40a,_0x46aa30,_0x459d86)=>{for(var _0x215b33=_0x459d86>0x1?void 0x0:_0x459d86?_0x583335(_0x5ba40a,_0x46aa30):_0x5ba40a,_0x1af3f1=_0x590163['length']-0x1,_0x31f414;_0x1af3f1>=0x0;_0x1af3f1--)(_0x31f414=_0x590163[_0x1af3f1])&&(_0x215b33=_0x31f414(_0x215b33)||_0x215b33);return _0x215b33;},_0x14ad04=(_0x157aaf,_0x26a99d)=>(_0x577622,_0x11d521)=>_0x26a99d(_0x577622,_0x11d521,_0x157aaf);let _0xe442a=class extends _0x373a9f[_0x254bc1(0x292)]{constructor(_0x510d2e,_0x2d6b83,_0x502628,_0x498d1a){const _0xc576e3=_0x254bc1;super(),_0x9a3aa2(this,'disposableCollection',new _0x373a9f[(_0xc576e3(0x33a))]()),(this['_univerInstanceService']=_0x510d2e,this['_sheetInterceptorService']=_0x2d6b83,this[_0xc576e3(0x3e0)]=_0x502628,this['_sheetsPivotTableConfigModel']=_0x498d1a,this[_0xc576e3(0x334)]());}[_0x254bc1(0x334)](){const _0x441146=_0x254bc1;this[_0x441146(0x165)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x212bd4=>{const _0x2fedad=_0x441146;if(_0x212bd4['id']===_0x204566['ClearSelectionContentCommand']['id']||_0x212bd4['id']===_0x204566[_0x2fedad(0x464)]['id']){const _0x5ad016=[],_0x599b1=[],_0x50322c=this[_0x2fedad(0x3e0)][_0x2fedad(0x37c)]()[_0x2fedad(0x34b)](_0xf924c0=>_0xf924c0[_0x2fedad(0x2ed)]),_0x2b1a8e=_0x204566[_0x2fedad(0x1d7)](this[_0x2fedad(0x182)]);if(!_0x2b1a8e)return{'redos':[],'undos':[]};const {unitId:_0x18265c,subUnitId:_0x2d2ae8}=_0x2b1a8e,_0x5e0d29={},_0xd9e77e=this[_0x2fedad(0x24a)][_0x2fedad(0x187)](_0x18265c,_0x2d2ae8);if(_0xd9e77e!=null&&_0xd9e77e[_0x2fedad(0x35a)])for(const [_0x2ae581,_0x6352d5]of _0xd9e77e){const {unitId:_0x3e4d2a,subUnitId:_0x3abe35,row:_0x5b5a8e,col:_0x2fed44}=_0x6352d5[_0x2fedad(0x41a)];_0x3e4d2a===_0x2b1a8e[_0x2fedad(0x3fa)]&&_0x3abe35===_0x2b1a8e[_0x2fedad(0x24b)]&&(_0x5e0d29[_0x5b5a8e+'-'+_0x2fed44]=_0x2ae581);}return _0x50322c&&_0x2b1a8e&&_0x50322c['forEach'](_0x42b88a=>{const _0x3651bd=_0x2fedad;_0x373a9f['Range'][_0x3651bd(0x27a)](_0x42b88a,(_0x433795,_0x35529)=>{const _0x2b3600=_0x3651bd,_0x534fbc=_0x433795+'-'+_0x35529;if(_0x5e0d29[_0x534fbc]){const _0x55c9ed=_0x5e0d29[_0x534fbc];_0x5ad016['push']({'id':_0x4be6c3['id'],'params':{'unitId':_0x18265c,'subUnitId':_0x2d2ae8,'pivotTableId':_0x55c9ed}});const _0x14949b=this[_0x2b3600(0x24a)][_0x2b3600(0x3dc)](_0x18265c,_0x55c9ed),_0x455b21=this['_sheetsPivotTableConfigModel']['getPivotTableConfig'](_0x18265c,_0x2d2ae8,_0x55c9ed);_0x599b1[_0x2b3600(0x23c)]({'id':_0xac50c0['id'],'params':{'unitId':_0x18265c,'subUnitId':_0x2d2ae8,'pivotTableId':_0x55c9ed,'pivotTableConfig':_0x455b21,'collectionConfig':_0x14949b}});}});}),{'redos':_0x5ad016,'undos':_0x599b1};}return{'redos':[],'undos':[]};}}));}};_0xe442a=_0x3ffc57([_0x14ad04(0x0,_0x373a9f[_0x254bc1(0x243)]),_0x14ad04(0x1,_0x373a9f[_0x254bc1(0x308)](_0x204566['SheetInterceptorService'])),_0x14ad04(0x2,_0x373a9f[_0x254bc1(0x308)](_0x204566['SheetsSelectionsService'])),_0x14ad04(0x3,_0x373a9f[_0x254bc1(0x308)](_0xca2f35[_0x254bc1(0x18d)]))],_0xe442a);var _0x163ffc=Object[_0x254bc1(0x1f0)],_0x5e2cce=(_0x429c4c,_0x235288,_0x45299a,_0x3e9d11)=>{const _0x1629a8=_0x254bc1;for(var _0x51fdfb=_0x3e9d11>0x1?void 0x0:_0x3e9d11?_0x163ffc(_0x235288,_0x45299a):_0x235288,_0x2c8a33=_0x429c4c[_0x1629a8(0x3a6)]-0x1,_0x345ef4;_0x2c8a33>=0x0;_0x2c8a33--)(_0x345ef4=_0x429c4c[_0x2c8a33])&&(_0x51fdfb=_0x345ef4(_0x51fdfb)||_0x51fdfb);return _0x51fdfb;},_0x205775=(_0x18c3a3,_0x17fd7b)=>(_0x1c503d,_0x39559b)=>_0x17fd7b(_0x1c503d,_0x39559b,_0x18c3a3);let _0x503f52=class extends _0x373a9f['Disposable']{constructor(_0x2ead4c,_0x1854e3,_0x395a12,_0x43d907,_0x402813,_0x16406e){const _0x104371=_0x254bc1;super(),this[_0x104371(0x447)]=_0x2ead4c,this['_sheetInterceptorService']=_0x1854e3,this[_0x104371(0x3ca)]=_0x395a12,this[_0x104371(0x182)]=_0x43d907,this[_0x104371(0x24a)]=_0x402813,this[_0x104371(0x2f4)]=_0x16406e,this[_0x104371(0x3cc)]();}['_getPivotAppliedRanges'](_0x539303,_0x43e073,_0x12bc62){const _0x180d8d=_0x254bc1,{pageView:_0x71a2f,cornerView:_0x44290c,rowView:_0x11a045,colView:_0x5c1ded,dataView:_0x158733}=_0x43e073,_0x13a991=_0x539303;let _0x43f6a8;if(_0x12bc62)_0x43f6a8=[..._0xba84c5(_0x13a991)];else{const _0x385ef5=_0x483390(_0x13a991,_0x71a2f,!0x0),_0x556bd0=_0x71a2f['lastRow']>=0x0?_0x71a2f[_0x180d8d(0x20b)]+0x1:0x0,_0x40021b=_0x44290c[_0x180d8d(0x3cb)],_0x1c108e=_0x44290c[_0x180d8d(0x3fe)],_0x17493e=_0x385ef5['length']>0x0?_0x257ea1:0x0,_0x2fef3e=_0x483390({'row':_0x13a991[_0x180d8d(0x166)]+_0x556bd0+_0x17493e,'col':_0x13a991[_0x180d8d(0x2a7)]},_0x44290c,!0x1,!0x1),_0x45c154=_0x483390({'row':_0x13a991[_0x180d8d(0x166)]+_0x556bd0+_0x17493e+_0x40021b,'col':_0x13a991[_0x180d8d(0x2a7)]},_0x11a045,!0x1,!0x0),_0x422163=_0x483390({'row':_0x13a991[_0x180d8d(0x166)]+_0x556bd0+_0x17493e,'col':_0x13a991[_0x180d8d(0x2a7)]+_0x1c108e},_0x5c1ded,!0x1,!0x0),_0x13dbe1=_0x483390({'row':_0x13a991[_0x180d8d(0x166)]+_0x556bd0+_0x17493e+_0x40021b,'col':_0x13a991['col']+_0x1c108e},_0x158733,!0x1,!0x0);_0x43f6a8=[..._0x385ef5,..._0x2fef3e,..._0x45c154,..._0x422163,..._0x13dbe1];}return _0x43f6a8;}[_0x254bc1(0x3cc)](){const _0x51e4e1=_0x254bc1;this[_0x51e4e1(0x165)](this['_sheetsPivotTableService'][_0x51e4e1(0x43f)]['intercept'](this[_0x51e4e1(0x2f4)][_0x51e4e1(0x43f)]['getInterceptPoints']()[_0x51e4e1(0x258)],{'handler':(_0x2f07a0,_0x4562aa)=>{const _0x1bdc9c=_0x51e4e1,{cellInfo:_0x437e11,view:_0x2df17a,isEmpty:_0x4e54b4}=_0x4562aa,_0x551b82=_0x437e11,{unitId:_0x406b27,subUnitId:_0x51429e}=_0x551b82,_0x25879d=this[_0x1bdc9c(0x289)](_0x437e11,_0x2df17a,_0x4e54b4),_0x507410=this[_0x1bdc9c(0x304)][_0x1bdc9c(0x2d2)]({'unitId':_0x406b27,'subUnitId':_0x51429e,'ranges':_0x25879d}),_0x56ca30=_0x6a93e8(this[_0x1bdc9c(0x3ca)],_0x406b27,_0x51429e,_0x25879d);_0x56ca30[_0x1bdc9c(0x1b6)]&&(_0x507410['redos'][_0x1bdc9c(0x23c)](_0x56ca30[_0x1bdc9c(0x3f2)]),_0x507410[_0x1bdc9c(0x3b5)][_0x1bdc9c(0x23c)](_0x56ca30[_0x1bdc9c(0x386)]));const _0x161a73=this['getAutoFitColumnsMutations'](_0x2df17a,_0x437e11);return _0x507410['redos'][_0x1bdc9c(0x23c)](..._0x161a73['redos']),_0x507410[_0x1bdc9c(0x3b5)]['push'](..._0x161a73[_0x1bdc9c(0x3b5)]),{'redos':_0x507410[_0x1bdc9c(0x2dc)],'undos':_0x507410[_0x1bdc9c(0x3b5)]};}}));}[_0x254bc1(0x207)](_0x1432e1,_0x2835ee){const _0xfbd00a=_0x254bc1,{col:_0x3323cb,unitId:_0x318415,subUnitId:_0x29a474}=_0x2835ee,_0x3277fa=[],_0x530a5b=[],_0x1adbab=_0x204566[_0xfbd00a(0x1d7)](this['_univerInstanceService'],{'unitId':_0x318415,'subUnitId':_0x29a474});if(!_0x2835ee||!_0x1432e1||!_0x1adbab)return{'undos':_0x530a5b,'redos':_0x3277fa};const _0x36eb4c=this[_0xfbd00a(0x24a)][_0xfbd00a(0x2e9)](),{colView:_0x2df339,dataView:_0x527acd,cornerView:_0x1e277f,rowView:_0x1b1539,formatMap:_0x463bae}=_0x1432e1,_0x4f6652=_0x17bba9(_0x2df339,_0x36eb4c,!0x0,_0x463bae),_0x1a7515=_0x17bba9(_0x1b1539,_0x36eb4c,!0x1,_0x463bae),_0x5e782d=_0x16ad7f(_0x527acd),_0x31bdb3=_0x520d3e(_0x1e277f),{worksheet:_0x1ca929}=_0x1adbab;if(typeof window<'u'&&window[_0xfbd00a(0x3d2)]){const _0x39a286=_0x1941db[_0xfbd00a(0x373)]({..._0x2a53fa['colStyle']}),_0x57c6e9=_0x1941db['FontCache'][_0xfbd00a(0x201)](_0x4f6652,_0x39a286)[_0xfbd00a(0x3e7)]+0x10,_0x46815f=_0x1941db[_0xfbd00a(0x3a0)][_0xfbd00a(0x201)](_0x5e782d,_0x39a286)[_0xfbd00a(0x3e7)],_0x1a88eb=Math['floor'](Math['max'](_0x57c6e9,_0x46815f))+0x10,_0x1d0ade=Math[_0xfbd00a(0x24c)](_0x1941db[_0xfbd00a(0x3a0)][_0xfbd00a(0x201)](_0x1a7515,_0x39a286)[_0xfbd00a(0x3e7)]),_0x37def8=Math['floor'](_0x1941db[_0xfbd00a(0x3a0)]['getTextSize'](_0x31bdb3,_0x39a286)[_0xfbd00a(0x3e7)]),_0x3de16b=Math[_0xfbd00a(0x264)](_0x1d0ade,_0x37def8,0x28)+0xc,_0x3d3ca1=_0x2df339['colCount']+_0x1e277f[_0xfbd00a(0x3fe)],_0x3dff9f={},_0x159e5c={};for(let _0xb748ae=_0x3323cb;_0xb748ae<_0x3323cb+_0x3d3ca1;_0xb748ae++){const _0xb8936=_0x1ca929[_0xfbd00a(0x222)](_0xb748ae);_0x3dff9f[_0xb748ae]=_0xb8936,_0xb748ae-_0x3323cb<_0x1e277f['colCount']?_0x159e5c[_0xb748ae-_0x3323cb]=_0x3de16b:_0x159e5c[_0xb748ae-_0x3323cb]=_0x1a88eb;}_0x3277fa[_0xfbd00a(0x23c)]({'id':_0x204566[_0xfbd00a(0x29c)]['id'],'params':{'subUnitId':_0x29a474,'unitId':_0x318415,'ranges':[{'startColumn':_0x3323cb,'endColumn':_0x3323cb+_0x3d3ca1-0x1,'startRow':0x0,'endRow':_0x1ca929[_0xfbd00a(0x314)]()-0x1}],'colWidth':_0x159e5c}}),_0x530a5b[_0xfbd00a(0x23c)]({'id':_0x204566[_0xfbd00a(0x29c)]['id'],'params':{'subUnitId':_0x29a474,'unitId':_0x318415,'ranges':[{'startColumn':_0x3323cb,'endColumn':_0x3323cb+_0x3d3ca1-0x1,'startRow':0x0,'endRow':_0x1ca929[_0xfbd00a(0x314)]()-0x1}],'colWidth':_0x3dff9f}});}return{'undos':_0x530a5b,'redos':_0x3277fa};}};_0x503f52=_0x5e2cce([_0x205775(0x0,_0x373a9f[_0x254bc1(0x308)](_0x373a9f[_0x254bc1(0x2f8)])),_0x205775(0x1,_0x373a9f[_0x254bc1(0x308)](_0x204566['SheetInterceptorService'])),_0x205775(0x2,_0x373a9f['Inject'](_0x373a9f[_0x254bc1(0x42e)])),_0x205775(0x3,_0x373a9f[_0x254bc1(0x308)](_0x373a9f[_0x254bc1(0x243)])),_0x205775(0x4,_0x373a9f[_0x254bc1(0x308)](_0xca2f35[_0x254bc1(0x18d)])),_0x205775(0x5,_0x373a9f[_0x254bc1(0x308)](_0xca2f35['SheetsPivotTableService']))],_0x503f52);var _0x1a9747=Object['getOwnPropertyDescriptor'],_0x1da2cf=(_0xe34bf8,_0x174ec1,_0x3ae7d5,_0x5c821b)=>{for(var _0x3602cc=_0x5c821b>0x1?void 0x0:_0x5c821b?_0x1a9747(_0x174ec1,_0x3ae7d5):_0x174ec1,_0x56a610=_0xe34bf8['length']-0x1,_0x5091ed;_0x56a610>=0x0;_0x56a610--)(_0x5091ed=_0xe34bf8[_0x56a610])&&(_0x3602cc=_0x5091ed(_0x3602cc)||_0x3602cc);return _0x3602cc;},_0x1ddbec=(_0x4ba2b8,_0x8c3204)=>(_0x32d6b3,_0x2edfc3)=>_0x8c3204(_0x32d6b3,_0x2edfc3,_0x4ba2b8);let _0x52f970=class extends _0x373a9f[_0x254bc1(0x292)]{constructor(_0x243706,_0x48248c,_0x74739,_0x518ac8,_0x28da89,_0x30180c,_0x18f34e){const _0x383c95=_0x254bc1;super(),_0x9a3aa2(this,_0x383c95(0x439),new _0x373a9f[(_0x383c95(0x33a))]()),(this[_0x383c95(0x3ca)]=_0x243706,this['_refRangeService']=_0x48248c,this[_0x383c95(0x3c1)]=_0x74739,this['_univerInstanceService']=_0x518ac8,this['_sheetsPivotTableConfigModel']=_0x28da89,this[_0x383c95(0x32c)]=_0x30180c,this[_0x383c95(0x304)]=_0x18f34e,this[_0x383c95(0x424)]());}[_0x254bc1(0x424)](){const _0x13fe47=_0x254bc1,_0x15c600=(_0xc5df81,_0x5cc5bd)=>{const _0x31ac05=_0x3024,_0x4d8740=this[_0x31ac05(0x182)][_0x31ac05(0x31e)](_0x373a9f['UniverInstanceType']['UNIVER_SHEET']);if(!_0x4d8740||!(_0x4d8740==null?void 0x0:_0x4d8740['getSheetBySheetId'](_0x5cc5bd)))return;this[_0x31ac05(0x439)]['dispose']();const _0x2d5843=_0x5ef275=>this[_0x31ac05(0x2c1)](_0x5ef275,_0xc5df81,_0x5cc5bd),_0x51efa7=this[_0x31ac05(0x24a)][_0x31ac05(0x187)](_0xc5df81,_0x5cc5bd);if(!(_0x51efa7!=null&&_0x51efa7[_0x31ac05(0x35a)]))return;Array['from'](_0x51efa7['values']())[_0x31ac05(0x34b)](_0x2b3ef7=>{const _0x10ffa7=_0x31ac05,{row:_0x9803ea,col:_0x30fa3b}=_0x2b3ef7['targetCellInfo'];return _0x373a9f[_0x10ffa7(0x16d)](_0x9803ea,_0x30fa3b);})[_0x31ac05(0x2b2)](_0x53e6c7=>{const _0x2cd911=_0x31ac05;this[_0x2cd911(0x439)][_0x2cd911(0x2fd)](this[_0x2cd911(0x3c4)][_0x2cd911(0x406)](_0x53e6c7,_0x2d5843,_0xc5df81,_0x5cc5bd));});},_0x5e2d56=()=>{const _0x40afe3=_0x3024,_0x1f40e7=this[_0x40afe3(0x182)][_0x40afe3(0x31e)](_0x373a9f[_0x40afe3(0x15d)][_0x40afe3(0x3bd)]);if(_0x1f40e7){const _0x5a06dc=_0x1f40e7[_0x40afe3(0x465)]();if(!_0x5a06dc)return;_0x15c600(_0x1f40e7['getUnitId'](),_0x5a06dc[_0x40afe3(0x26d)]());}};this[_0x13fe47(0x165)](this['_commandService'][_0x13fe47(0x1d2)](_0x1ad31e=>{const _0x1fcc23=_0x13fe47;if(_0x1ad31e['id']===_0x204566['SetWorksheetActiveOperation']['id']){const _0x2a876f=_0x1ad31e[_0x1fcc23(0x2ee)],_0x4ea5ab=_0x2a876f[_0x1fcc23(0x24b)],_0x26bea7=_0x2a876f['unitId'];if(!_0x4ea5ab||!_0x26bea7)return;_0x15c600(_0x26bea7,_0x4ea5ab);}})),this[_0x13fe47(0x165)](this['_sheetsPivotTableConfigModel'][_0x13fe47(0x3de)]['subscribe'](_0x346638=>{_0x346638&&_0x5e2d56();})),this[_0x13fe47(0x165)](this['_sheetsPivotTableConfigModel']['pivotConfigChange$'][_0x13fe47(0x3ee)](_0x50589b=>{const _0x2d9b57=_0x13fe47,_0x4d9bf=_0x204566[_0x2d9b57(0x1d7)](this['_univerInstanceService']);if(!_0x4d9bf)return;const {unitId:_0x409899,subUnitId:_0x454ee8}=_0x4d9bf,{unitId:_0x5a6dc3,subUnitId:_0x319c55}=_0x50589b;_0x409899!==_0x5a6dc3||_0x454ee8!==_0x319c55||_0x15c600(_0x409899,_0x454ee8);})),_0x5e2d56();}['_refRangeHandle'](_0x298c2b,_0x477df0,_0x2b17bf){const _0x1b174e=_0x254bc1;switch(_0x298c2b['id']){case _0x204566['MoveRangeCommand']['id']:return this[_0x1b174e(0x395)](_0x298c2b[_0x1b174e(0x2ee)],_0x477df0,_0x2b17bf);}return{'redos':[],'undos':[]};}[_0x254bc1(0x395)](_0x2058b4,_0x324173,_0x2064fd){const _0x1b970f=_0x254bc1,{fromRange:_0xabbbf,toRange:_0x6a6e11}=_0x2058b4,_0x24d005=[],_0x55aab0=[],_0x7b037=_0x204566['getSheetCommandTarget'](this[_0x1b970f(0x182)]);if(!_0x7b037)return{'undos':_0x55aab0,'redos':_0x24d005};if(_0x324173!==_0x7b037['unitId']||_0x2064fd!==_0x7b037[_0x1b970f(0x24b)])return{'undos':_0x55aab0,'redos':_0x24d005};const _0x30cfe5=this[_0x1b970f(0x24a)][_0x1b970f(0x187)](_0x324173,_0x2064fd);if(_0x30cfe5!=null&&_0x30cfe5[_0x1b970f(0x35a)])for(const [_0x24b6c9,_0x1ffeb]of _0x30cfe5){const {unitId:_0x1f9249,subUnitId:_0xdfe08,row:_0x4ae937,col:_0xd3724c}=_0x1ffeb[_0x1b970f(0x41a)];if(_0x1f9249===_0x7b037[_0x1b970f(0x3fa)]&&_0xdfe08===_0x7b037[_0x1b970f(0x24b)]){const _0x5d70b3=_0x373a9f[_0x1b970f(0x16d)](_0x4ae937,_0xd3724c);if(_0x373a9f[_0x1b970f(0x203)]['intersects'](_0x5d70b3,_0xabbbf)){const _0x517d87=_0x4ae937-_0xabbbf[_0x1b970f(0x2a5)],_0x135e99=_0xd3724c-_0xabbbf['startColumn'],_0x46d429={'row':_0x6a6e11['startRow']+_0x517d87,'col':_0x6a6e11[_0x1b970f(0x22f)]+_0x135e99};_0x24d005[_0x1b970f(0x23c)]({'id':_0x16909d['id'],'params':{'unitId':_0x1f9249,'subUnitId':_0xdfe08,'pivotTableId':_0x24b6c9,'targetCellPosition':_0x46d429}}),_0x55aab0[_0x1b970f(0x23c)]({'id':_0x16909d['id'],'params':{'unitId':_0x1f9249,'subUnitId':_0xdfe08,'pivotTableId':_0x24b6c9,'targetCellPosition':{'row':_0x4ae937,'col':_0xd3724c}}});const _0x142b2e=_0x46d429['row']-_0x4ae937,_0x2d10da=_0x46d429[_0x1b970f(0x2a7)]-_0xd3724c,_0x39ff57=[],_0x59bbd0=this[_0x1b970f(0x32c)]['getPivotItemRenderInfoCache'](_0x1f9249,_0xdfe08,_0x24b6c9),_0x3a7c27=_0x59bbd0==null?void 0x0:_0x59bbd0[_0x1b970f(0x3ac)];if(_0x3a7c27){Object[_0x1b970f(0x3b6)](_0x3a7c27)[_0x1b970f(0x2b2)](_0x4c566a=>{const _0x426edc=_0x1b970f;_0x3a7c27[_0x4c566a][_0x426edc(0x2b2)](_0x1aa473=>{const _0x5d2b1e=_0x426edc,_0x5db850={..._0x1aa473};_0x5db850[_0x5d2b1e(0x2a5)]=_0x1aa473[_0x5d2b1e(0x2a5)]+_0x142b2e,_0x5db850[_0x5d2b1e(0x42b)]=_0x1aa473[_0x5d2b1e(0x42b)]+_0x142b2e,_0x5db850['startColumn']=_0x1aa473[_0x5d2b1e(0x22f)]+_0x2d10da,_0x5db850[_0x5d2b1e(0x3db)]=_0x1aa473['endColumn']+_0x2d10da,_0x39ff57[_0x5d2b1e(0x23c)](_0x5db850);});});const _0x5c698d=this[_0x1b970f(0x304)][_0x1b970f(0x2d2)]({'unitId':_0x1f9249,'subUnitId':_0xdfe08,'ranges':_0x39ff57});_0x24d005['push'](..._0x5c698d[_0x1b970f(0x2dc)]),_0x55aab0[_0x1b970f(0x23c)](..._0x5c698d[_0x1b970f(0x3b5)]);const _0x578936=_0x6a93e8(this[_0x1b970f(0x3ca)],_0x1f9249,_0xdfe08,_0x39ff57);_0x578936[_0x1b970f(0x1b6)]&&(_0x24d005[_0x1b970f(0x23c)](_0x578936[_0x1b970f(0x3f2)]),_0x55aab0[_0x1b970f(0x23c)](_0x578936[_0x1b970f(0x386)]));}}}}return{'redos':_0x24d005,'undos':_0x55aab0};}};_0x52f970=_0x1da2cf([_0x1ddbec(0x0,_0x373a9f[_0x254bc1(0x308)](_0x373a9f[_0x254bc1(0x42e)])),_0x1ddbec(0x1,_0x373a9f[_0x254bc1(0x308)](_0x204566[_0x254bc1(0x1dd)])),_0x1ddbec(0x2,_0x373a9f[_0x254bc1(0x1fe)]),_0x1ddbec(0x3,_0x373a9f[_0x254bc1(0x243)]),_0x1ddbec(0x4,_0x373a9f[_0x254bc1(0x308)](_0xca2f35['SheetsPivotTableConfigModel'])),_0x1ddbec(0x5,_0x373a9f[_0x254bc1(0x308)](_0xca2f35[_0x254bc1(0x39d)])),_0x1ddbec(0x6,_0x373a9f[_0x254bc1(0x308)](_0x204566['SheetInterceptorService']))],_0x52f970);var _0x3a96d3=Object['getOwnPropertyDescriptor'],_0x528433=(_0x574f7d,_0x483f39,_0x38e9c9,_0x2784ef)=>{const _0x305f0a=_0x254bc1;for(var _0x3cef2c=_0x2784ef>0x1?void 0x0:_0x2784ef?_0x3a96d3(_0x483f39,_0x38e9c9):_0x483f39,_0x4ba09d=_0x574f7d[_0x305f0a(0x3a6)]-0x1,_0x5aca19;_0x4ba09d>=0x0;_0x4ba09d--)(_0x5aca19=_0x574f7d[_0x4ba09d])&&(_0x3cef2c=_0x5aca19(_0x3cef2c)||_0x3cef2c);return _0x3cef2c;},_0x152746=(_0x2b3f28,_0x37bfcd)=>(_0xd6a229,_0x44d1f1)=>_0x37bfcd(_0xd6a229,_0x44d1f1,_0x2b3f28);let _0x19a169=class extends _0x373a9f[_0x254bc1(0x292)]{constructor(_0x548e3d,_0x1043c6){const _0x4995cc=_0x254bc1;super(),this[_0x4995cc(0x304)]=_0x548e3d,this[_0x4995cc(0x24a)]=_0x1043c6,this[_0x4995cc(0x38f)]();}[_0x254bc1(0x38f)](){this['disposeWithMe'](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x252ffb=>{const _0x3cdbcc=_0x3024;if(_0x252ffb['id']===_0x204566[_0x3cdbcc(0x183)]['id']){const _0xe96e5f=[],_0x425507=[],_0x44d604=_0x252ffb[_0x3cdbcc(0x2ee)],{unitId:_0x96295b,subUnitId:_0x5985d0}=_0x44d604;if(!_0x96295b||!_0x5985d0)return{'undos':_0x425507,'redos':_0xe96e5f};const _0x24650e=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x96295b,_0x5985d0);if(_0x24650e!=null&&_0x24650e[_0x3cdbcc(0x35a)])for(const [_0x31c80e,_0x15e23f]of _0x24650e){_0xe96e5f[_0x3cdbcc(0x23c)]({'id':_0x4be6c3['id'],'params':{'unitId':_0x96295b,'subUnitId':_0x5985d0,'pivotTableId':_0x31c80e}});const _0xf5abfb={...this[_0x3cdbcc(0x24a)]['getCollection'](_0x96295b,_0x31c80e)};_0x425507[_0x3cdbcc(0x23c)]({'id':_0xac50c0['id'],'params':{'unitId':_0x96295b,'subUnitId':_0x5985d0,'pivotTableId':_0x31c80e,'pivotTableConfig':_0x15e23f,'collectionConfig':_0xf5abfb}});}return{'redos':_0xe96e5f,'undos':_0x425507};}return{'redos':[],'undos':[]};}}));}};_0x19a169=_0x528433([_0x152746(0x0,_0x373a9f[_0x254bc1(0x308)](_0x204566[_0x254bc1(0x167)])),_0x152746(0x1,_0x373a9f[_0x254bc1(0x308)](_0xca2f35[_0x254bc1(0x18d)]))],_0x19a169);var _0x558cea=Object[_0x254bc1(0x1f0)],_0x4f06d3=(_0x2dad9a,_0x537ab2,_0x5cd375,_0x25f43a)=>{const _0x5f5c7d=_0x254bc1;for(var _0x24f3ab=_0x25f43a>0x1?void 0x0:_0x25f43a?_0x558cea(_0x537ab2,_0x5cd375):_0x537ab2,_0x9a5b91=_0x2dad9a[_0x5f5c7d(0x3a6)]-0x1,_0x4101eb;_0x9a5b91>=0x0;_0x9a5b91--)(_0x4101eb=_0x2dad9a[_0x9a5b91])&&(_0x24f3ab=_0x4101eb(_0x24f3ab)||_0x24f3ab);return _0x24f3ab;},_0xa30aa8=(_0x3a666e,_0x5c8dd6)=>(_0x39b7c7,_0x409b9c)=>_0x5c8dd6(_0x39b7c7,_0x409b9c,_0x3a666e);let _0x780591=class extends _0x373a9f['Disposable']{constructor(_0x5269c2,_0x1028ae,_0x185744,_0x58923,_0xed5d4e,_0x267fa8){const _0x1d9d6d=_0x254bc1;super(),this[_0x1d9d6d(0x3c1)]=_0x5269c2,this['_sheetsPivotRpcService']=_0x1028ae,this[_0x1d9d6d(0x32c)]=_0x185744,this[_0x1d9d6d(0x24a)]=_0x58923,this['_univerInstanceService']=_0xed5d4e,this[_0x1d9d6d(0x2f5)]=_0x267fa8,this[_0x1d9d6d(0x3a9)](),this[_0x1d9d6d(0x384)]();}['_initDataSendListener'](){const _0x52b63a=_0x254bc1;this[_0x52b63a(0x165)](this[_0x52b63a(0x3c1)][_0x52b63a(0x1d2)](_0x6e0578=>{const _0x338606=_0x52b63a;if(_0x6e0578['id']!==_0x4d19cb['id'])return;const _0xe5382d=_0x6e0578[_0x338606(0x2ee)];this[_0x338606(0x2b7)]['handleAsyncResponse'](_0xe5382d);})),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x59060a=>{const _0x508c25=_0x52b63a;if(_0x59060a['id']===_0x2d5dfb['id']){const _0x2d4d8c=_0x59060a[_0x508c25(0x2ee)];if(_0x2d4d8c){const {unitId:_0x7bfbcd,subUnitId:_0x59d0bc,oldSubUnitId:_0x47f8a6,pivotTableId:_0x8d16c0,pivotTableConfig:_0x1fdbac,collectionConfig:_0x1de986}=_0x2d4d8c;this[_0x508c25(0x24a)][_0x508c25(0x436)](_0x7bfbcd,_0x47f8a6,_0x2d4d8c['pivotTableId'],null),this[_0x508c25(0x24a)][_0x508c25(0x436)](_0x7bfbcd,_0x59d0bc,_0x8d16c0,_0x1fdbac),this[_0x508c25(0x24a)][_0x508c25(0x250)](_0x7bfbcd,_0x1de986);}}})),this[_0x52b63a(0x165)](this['_commandService']['onCommandExecuted'](_0x12359a=>{const _0x3fbfdd=_0x52b63a;if(_0x12359a['id']!==_0x256c66['id'])return;const _0x14d863=_0x204566['getSheetCommandTarget'](this[_0x3fbfdd(0x182)]);if(!_0x14d863)return;const {unitId:_0x449661,subUnitId:_0x3b71d4}=_0x14d863,_0x37ca68=_0x12359a[_0x3fbfdd(0x2ee)];if(_0x37ca68['collectionConfig']&&Object[_0x3fbfdd(0x3b6)](_0x37ca68[_0x3fbfdd(0x469)])[_0x3fbfdd(0x2b2)](_0x335cd5=>{const _0xa56e6e=_0x3fbfdd;var _0x4759d6;(_0x4759d6=_0x37ca68['collectionConfig'])!=null&&_0x4759d6[_0x335cd5]&&this[_0xa56e6e(0x24a)][_0xa56e6e(0x250)](_0x335cd5,_0x37ca68[_0xa56e6e(0x469)][_0x335cd5]);}),_0x37ca68[_0x3fbfdd(0x310)]){const _0x12a4e8=_0x37ca68[_0x3fbfdd(0x310)],{unitId:_0x4baf06,subUnitId:_0x56d910,view:_0x3c30b7,pivotTableId:_0x21fbb6,type:_0x270e51,pivotConfig:_0x26e7fb}=_0x12a4e8;if(_0x270e51===_0x17805c[_0x3fbfdd(0x288)])this[_0x3fbfdd(0x32c)][_0x3fbfdd(0x2e0)]({'unitId':_0x4baf06,'subUnitId':_0x56d910,'pivotTableId':_0x21fbb6,'type':_0x270e51}),this['_sheetsPivotTableConfigModel'][_0x3fbfdd(0x436)](_0x4baf06,_0x56d910,_0x21fbb6,null);else{const _0x1e7965=new _0x6ee1ef['PivotView']();_0x1e7965[_0x3fbfdd(0x28f)](_0x3c30b7),this[_0x3fbfdd(0x24a)]['updateConfigCache'](_0x4baf06,_0x56d910,_0x21fbb6,_0x26e7fb),this[_0x3fbfdd(0x32c)][_0x3fbfdd(0x2e0)]({'unitId':_0x4baf06,'subUnitId':_0x56d910,'pivotTableId':_0x21fbb6,'type':_0x270e51,'view':_0x1e7965}),this['_sheetsPivotTableAdaptorModel'][_0x3fbfdd(0x2cc)]({'unitId':_0x4baf06,'subUnitId':_0x56d910,'view':_0x1e7965,'pivotTableId':_0x21fbb6,'type':_0x270e51});}}else _0x37ca68[_0x3fbfdd(0x1db)]&&(_0x37ca68[_0x3fbfdd(0x1db)]['forEach'](_0x5cc744=>{const _0xe2fe1a=_0x3fbfdd,{unitId:_0xd8f60c,subUnitId:_0xf8df44,view:_0x246113,pivotTableId:_0x26d12e,type:_0x53f8c7,pivotConfig:_0x32f3c3}=_0x5cc744,_0x5d8a16=new _0x6ee1ef[(_0xe2fe1a(0x19f))]();_0x5d8a16['formJSON'](_0x246113),this[_0xe2fe1a(0x24a)][_0xe2fe1a(0x436)](_0xd8f60c,_0xf8df44,_0x26d12e,_0x32f3c3),this[_0xe2fe1a(0x32c)][_0xe2fe1a(0x2cc)]({'unitId':_0xd8f60c,'subUnitId':_0xf8df44,'view':_0x5d8a16,'pivotTableId':_0x26d12e,'type':_0x53f8c7});}),this[_0x3fbfdd(0x24a)]['setPivotInitCompleted']());this[_0x3fbfdd(0x32c)][_0x3fbfdd(0x35f)](_0x449661,_0x3b71d4);}));}[_0x254bc1(0x384)](){const _0x14c42f=_0x254bc1;this[_0x14c42f(0x2f5)]['register'](_0x4c032b['id'],{'commandId':_0x4c032b['id'],'getDirtyData'(_0x1ee19c){return{'dirtyUnitFeatureMap':_0x1ee19c['params']};}});}};_0x780591=_0x4f06d3([_0xa30aa8(0x0,_0x373a9f[_0x254bc1(0x308)](_0x373a9f[_0x254bc1(0x1fe)])),_0xa30aa8(0x1,_0x373a9f[_0x254bc1(0x308)](_0xca2f35['SheetsPivotRPCService'])),_0xa30aa8(0x2,_0x373a9f[_0x254bc1(0x308)](_0xca2f35['SheetsPivotTableAdaptorModel'])),_0xa30aa8(0x3,_0x373a9f['Inject'](_0xca2f35[_0x254bc1(0x18d)])),_0xa30aa8(0x4,_0x373a9f[_0x254bc1(0x308)](_0x373a9f['IUniverInstanceService'])),_0xa30aa8(0x5,_0xe8d623[_0x254bc1(0x1ba)])],_0x780591);var _0x1d1dfa=Object[_0x254bc1(0x1fc)],_0x3171f8=Object[_0x254bc1(0x1f0)],_0x568191=(_0x34ebb4,_0x21fc2a,_0x253c35)=>_0x21fc2a in _0x34ebb4?_0x1d1dfa(_0x34ebb4,_0x21fc2a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x253c35}):_0x34ebb4[_0x21fc2a]=_0x253c35,_0x361c6c=(_0x54d915,_0x393351,_0x3ddac1,_0x19fab)=>{const _0x3745c8=_0x254bc1;for(var _0x47afa1=_0x19fab>0x1?void 0x0:_0x19fab?_0x3171f8(_0x393351,_0x3ddac1):_0x393351,_0x27a122=_0x54d915[_0x3745c8(0x3a6)]-0x1,_0x39bc1f;_0x27a122>=0x0;_0x27a122--)(_0x39bc1f=_0x54d915[_0x27a122])&&(_0x47afa1=_0x39bc1f(_0x47afa1)||_0x47afa1);return _0x47afa1;},_0x14cb89=(_0x40693c,_0x341d9a)=>(_0xf699ca,_0x324026)=>_0x341d9a(_0xf699ca,_0x324026,_0x40693c),_0x36d562=(_0x389f8d,_0x2d0c90,_0x59b667)=>_0x568191(_0x389f8d,typeof _0x2d0c90!='symbol'?_0x2d0c90+'':_0x2d0c90,_0x59b667);_0xca2f35['UniverSheetsPivotTablePlugin']=class extends _0x373a9f['Plugin']{constructor(_0x2472e4=_0x3dfca3,_0x4fba4a,_0x2b190a,_0x1ef284,_0x2d2374){const _0x2598e5=_0x254bc1;super(),this[_0x2598e5(0x19b)]=_0x2472e4,this[_0x2598e5(0x3ca)]=_0x4fba4a,this[_0x2598e5(0x3c1)]=_0x2b190a,this[_0x2598e5(0x3d1)]=_0x1ef284,this[_0x2598e5(0x15b)]=_0x2d2374;const {..._0x3b3c9a}=_0x373a9f[_0x2598e5(0x3b1)]({},_0x3dfca3,this['_config']);this[_0x2598e5(0x3d1)][_0x2598e5(0x2cf)](_0x1ed690,_0x3b3c9a),this['_initRegisterCommand'](),this[_0x2598e5(0x2af)]();}[_0x254bc1(0x2af)](){const _0x4a97c3=_0x254bc1;var _0x3f732e;const _0x1658a9=(_0x3f732e=this[_0x4a97c3(0x19b)])==null?void 0x0:_0x3f732e[_0x4a97c3(0x434)];this[_0x4a97c3(0x3d1)][_0x4a97c3(0x2cf)](_0x43c827,_0x1658a9===!0x0);}['onStarting'](){const _0xa44615=_0x254bc1;var _0x6c596e;let _0xc390f=[];const _0x1abedf=(_0x6c596e=this[_0xa44615(0x19b)])==null?void 0x0:_0x6c596e['notExecuteFormula'];_0x1abedf===!0x0?_0xc390f=[[_0xca2f35[_0xa44615(0x391)]],[_0xca2f35[_0xa44615(0x171)]],[_0x780591],[_0xca2f35[_0xa44615(0x39d)]],[_0xca2f35[_0xa44615(0x18d)]],[_0x19a169],[_0xe442a],[_0x52f970],[_0x503f52]]:_0x1abedf===!0x1?_0xc390f=[[_0xca2f35[_0xa44615(0x2cb)]],[_0x1fd37a]]:_0x1abedf===void 0x0&&(_0xc390f=[[_0xca2f35[_0xa44615(0x2cb)]],[_0x1fd37a],[_0xca2f35['SheetsPivotTableService']],[_0xca2f35[_0xa44615(0x171)]],[_0x780591],[_0xca2f35['SheetsPivotTableAdaptorModel']],[_0xca2f35[_0xa44615(0x18d)]],[_0x19a169],[_0xe442a],[_0x52f970],[_0x503f52]]),_0xc390f[_0xa44615(0x2b2)](_0x380ab0=>this[_0xa44615(0x3ca)][_0xa44615(0x2fd)](_0x380ab0)),[_0x1fd37a,_0x780591,_0xca2f35[_0xa44615(0x391)],_0xe442a,_0x19a169,_0x52f970,_0x503f52][_0xa44615(0x2b2)](_0x1f788c=>{const _0x4e4022=_0xa44615;this[_0x4e4022(0x3ca)][_0x4e4022(0x2f6)](_0x1f788c)&&this[_0x4e4022(0x3ca)][_0x4e4022(0x404)](_0x1f788c);});}[_0x254bc1(0x38c)](){const _0x38f71d=_0x254bc1;[_0x21a36e,_0x152e0f,_0x19fa7a,_0x502e93,_0x23bc62,_0x436599,_0x2ec8f4,_0x533a1a,_0x54ea5a,_0x438f90,_0x2315e9,_0x37baf1,_0x5d727f,_0x2d2e53,_0xac50c0,_0x2fd0d5,_0x4be6c3,_0x1da369,_0x146d73,_0x5a3fd3,_0x2992ee,_0x854b68,_0x1d6a5e,_0x3adb82,_0x214aa3,_0x5c11ca,_0x16909d,_0x5d9248,_0x4d19cb,_0x256c66,_0x1abaf1,_0x59033f,_0xe50716,_0x581745,_0x2c9b7e,_0x2d8bcd,_0x3a1421,_0x4c032b,_0x2d5dfb,_0x215ee7,_0x50aca9,_0x2eeedc,_0x58b167][_0x38f71d(0x2b2)](_0x28ea01=>{const _0x14a77f=_0x38f71d;var _0x2dd7cf;(_0x2dd7cf=this[_0x14a77f(0x15b)])==null||_0x2dd7cf[_0x14a77f(0x21c)](_0x28ea01),this[_0x14a77f(0x3c1)][_0x14a77f(0x2c4)](_0x28ea01);});}},_0x36d562(_0xca2f35['UniverSheetsPivotTablePlugin'],_0x254bc1(0x2fb),_0x5d0173),_0x36d562(_0xca2f35[_0x254bc1(0x265)],'type',_0x373a9f[_0x254bc1(0x15d)][_0x254bc1(0x3bd)]),_0xca2f35[_0x254bc1(0x265)]=_0x361c6c([_0x373a9f[_0x254bc1(0x2ea)](_0x2291e4[_0x254bc1(0x22d)]),_0x14cb89(0x1,_0x373a9f[_0x254bc1(0x308)](_0x373a9f['Injector'])),_0x14cb89(0x2,_0x373a9f[_0x254bc1(0x308)](_0x373a9f[_0x254bc1(0x1fe)])),_0x14cb89(0x3,_0x373a9f[_0x254bc1(0x2a9)]),_0x14cb89(0x4,_0x373a9f[_0x254bc1(0x15e)](_0x12bfbe['DataSyncPrimaryController']))],_0xca2f35[_0x254bc1(0x265)]),_0xca2f35['AddPivotFieldCommand']=_0x19fa7a,_0xca2f35[_0x254bc1(0x457)]=_0x1da369,_0xca2f35[_0x254bc1(0x191)]=_0x152e0f,_0xca2f35[_0x254bc1(0x364)]=_0xac50c0,_0xca2f35[_0x254bc1(0x1be)]=_0x21a36e,_0xca2f35[_0x254bc1(0x2a8)]=_0x257ea1,_0xca2f35[_0x254bc1(0x3b8)]=_0x2c6c8b,_0xca2f35['MovePivotFieldCommand']=_0x502e93,_0xca2f35[_0x254bc1(0x2a4)]=_0x5d727f,_0xca2f35['PivotDisplayDataType']=_0x126194,_0xca2f35['PivotDrillDownCommand']=_0x2d2e53,_0xca2f35[_0x254bc1(0x2cd)]=_0x17805c,_0xca2f35[_0x254bc1(0x37a)]=_0x4c032b,_0xca2f35[_0x254bc1(0x330)]=_0x3cbd6,_0xca2f35[_0x254bc1(0x225)]=_0x23bc62,_0xca2f35['RemovePivotFieldMutation']=_0x854b68,_0xca2f35[_0x254bc1(0x427)]=_0x4be6c3,_0xca2f35['RenamePivotFieldMutation']=_0x1d6a5e,_0xca2f35[_0x254bc1(0x358)]=_0x58b167,_0xca2f35[_0x254bc1(0x340)]=_0x1ed690,_0xca2f35['SHEET_PIVOT_TABLE_PLUGIN']=_0x5d0173,_0xca2f35[_0x254bc1(0x34f)]=_0x533a1a,_0xca2f35[_0x254bc1(0x1c9)]=_0x3adb82,_0xca2f35['SetPivotFieldFormatMutation']=_0x581745,_0xca2f35['SetPivotFieldsConfigCommand']=_0x2eeedc,_0xca2f35[_0x254bc1(0x3d4)]=_0x438f90,_0xca2f35['SetPivotFilterMutation']=_0x2992ee,_0xca2f35[_0x254bc1(0x3ed)]=_0x5c11ca,_0xca2f35['SetPivotPositionMutation']=_0x16909d,_0xca2f35[_0x254bc1(0x39a)]=_0x54ea5a,_0xca2f35[_0x254bc1(0x1da)]=_0x214aa3,_0xca2f35[_0x254bc1(0x453)]=_0xe50716,_0xca2f35['SetPivotValueFilterCommand']=_0x215ee7,_0xca2f35[_0x254bc1(0x273)]=_0x50aca9,_0xca2f35[_0x254bc1(0x455)]=_0x2ec8f4,_0xca2f35[_0x254bc1(0x3bb)]=_0x1abaf1,_0xca2f35[_0x254bc1(0x1a9)]=_0x2315e9,_0xca2f35['UpdatePivotFieldSourceInfoMutation']=_0x3a1421,_0xca2f35['UpdatePivotTableSourceRangeCommand']=_0x37baf1,_0xca2f35[_0x254bc1(0x23d)]=_0x2d8bcd,_0xca2f35['UpdatePivotValuePositionCommand']=_0x436599,_0xca2f35[_0x254bc1(0x280)]=_0x59033f,_0xca2f35[_0x254bc1(0x3cf)]=_0x14c1b3,_0xca2f35[_0x254bc1(0x321)]=_0x235a8b,_0xca2f35[_0x254bc1(0x1fd)]=_0x2a53fa,_0xca2f35[_0x254bc1(0x2d0)]=_0x6a93e8,_0xca2f35[_0x254bc1(0x173)]=_0x483390,_0xca2f35[_0x254bc1(0x1bb)]=_0xba84c5,_0xca2f35[_0x254bc1(0x1e3)]=_0x2e000f,_0xca2f35[_0x254bc1(0x32f)]=_0x4853f9,_0xca2f35[_0x254bc1(0x43b)]=_0x10d4d2,_0xca2f35[_0x254bc1(0x3e1)]=_0x45cb20,_0xca2f35[_0x254bc1(0x30d)]=_0x10604e,_0xca2f35[_0x254bc1(0x2e8)]=_0x5f0428,_0xca2f35[_0x254bc1(0x2a2)]=_0x377430,Object[_0x254bc1(0x1fc)](_0xca2f35,Symbol[_0x254bc1(0x2fe)],{'value':_0x254bc1(0x338)});}));function _0x3024(_0x392336,_0xfef844){const _0x3213e6=_0x3213();return _0x3024=function(_0x3024de,_0x14fb70){_0x3024de=_0x3024de-0x157;let _0x572958=_0x3213e6[_0x3024de];return _0x572958;},_0x3024(_0x392336,_0xfef844);}function _0x3213(){const _0x1ae068=['getValue','colCount','getMatrix','CellValueType','1142355xKQwld','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','isDate','get','ErrorType','registerRefRange','NUM','MoveRangeMutation','getDate','stdDevp','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','getSheetBySheetName','reset','sheet.command.add-pivot-table','sheet.command.remove-pivot-field','NO_COMMERCIAL','Quarter','PivotDataFieldDataTypeEnum','colStyle','updateFieldSourceInfo','collapseInfo','refreshData','IUndoRedoService','filter','getUpdateRangeDeleteIds','targetCellInfo','NotFunction','var','clearExclusiveRangesByGroupId','getDataFieldManager','Collapse','_exclusiveRangeService','query','originTargetInfo','markDirty$','_onRefRangeChange','minDate','sheets-pivot.stdDevpName','RemovePivotTableMutation','#f4f4f5','count','entries','endRow','STRING','_initPivotDataGetListener','Injector','oldRangeInfo','RemoveSheetMutation','isPrefixValue','sheets-pivot.blank','body','notExecuteFormula','getDataFieldByTableId','updateConfigCache','workbook\x20is\x20not\x20found','subtotal','disposableCollection','_deleteModelCache','getPivotCellInfo','2105608gyKwwt','Average\x20of\x20','version','interceptor','4399930aawnKa','rxjs','headerMap','getId','@univerjs/engine-render','getStyles','columnFields','_localeService','column','getDataFieldByRangeKey','isEmpty','sheet.mutation.remove-pivot-field','getSubUnitPivotMatrix','asyncInterceptor','InsertSheetCommand','setPivotSort','paths','GrandTotal','sheets-pivot.dateGroup.yearMonth','SetPivotSubtotalTypeMutation','SetOptions','UpdateDateGroupCommand','@univerjs/engine-formula','AddPivotFieldMutation','sheets-pivot.maxName','numberToABC','DataField','getFieldCountByArea','forValue','InterceptorEffectEnum','RemoveField','InsertSheetUndoMutationFactory','@univerjs/rpc','updateDirtyPivotTable','prototype','sheets-pivot.varpName','ClearSelectionAllCommand','getActiveSheet','renameField','Add','getAutoDisplayNameFunction','collectionConfig','getDataFieldId','isBaseGroupField','rowFields','getUnit','updatePivotSource','viewUpdate$','PivotTableFiledAreaEnum','updateView','rangeType','_dataSyncPrimaryController','34333850OntDjV','UniverInstanceType','Optional','dataFieldId','_ensurePivotTableMatrixInfo','dataStyle','charCodeAt','CommandType','lastCol','disposeWithMe','row','SheetInterceptorService','_featureCalculationManagerService','_ensurePivotTableRangeInfo','_collectionConfigModel','rangeKey','SetRangeValuesUndoMutationFactory','cellToRange','string','getFieldDataType','valueFields','SheetsPivotRPCService','Filter','getAdjustRangesPosition','movePivotField','_pivotTableInstanceCache','_markDirty$','getFilterInfo','#eceeff','excelDateToUnixMilliseconds','getRangeData','_updatePivotTableInstanceCache','2146823xdyoON','existing','return\x20','isText','rowHeaderMap','getColumnCount','_univerInstanceService','RemoveSheetCommand','fromJSON','AddPivotTableWithConfig','createDataFieldId','getSubUnitPivotConfigs','#b2b2b2','_getAutoName','pushComputingStatusSubject','sheets-pivot.varName','@univerjs-pro/engine-pivot','SheetsPivotTableConfigModel','Tools','setRange','updateRangeKeyMap','AddPivotTableCommand','getTypeOfUnitDisposed$','getOriginFieldId','New','setSourceName','date','sheet.command.add-pivot-table-with-config','_pivotRenderInfoCache','_pivotRenderValueMatrixCache','resetPivotTable','_config','Row','addFieldWithSourceId','MovePivotField','PivotView','Date','delete','getUnitId','getColCount','#e6ebfa','DataFieldManager','setName','dataFieldsCollection','getSheets','UpdatePivotFieldSettingCommand','createInterceptorKey','displayName','getMonth','pivotTableId','rowStyle','sheet.command.update-date-group','getPivotItemRenderInfoCache','Grand\x20Total','SetPivotFilter','_sheetsPivotDataSourceModel','stringify','Year','shouldClear','fontRenderExtension','getValueIndex','getSubtotal','IActiveDirtyManagerService','getEmptyPivotRanges','sheet.command.update-pivot-value-position','updateAllDisplayName','AddPivotTableWithConfigCommand','collectionChange$','Set','RemovePivotField','getGroupFieldsInfoByIds','slice','valueFilter','Style','AddPivotTable','getLastCol','CustomCommandExecutionError','SetPivotCollapseMutation','getPivotDisplayConfig','setDateType','getCellRaw','generateNewSheetName','registerCallbackWithEvent','sum','hasField','setValuePivotFilter','onCommandExecuted','IFeatureCalculationManagerService','REF','updatePivotTableRangeInfo','UpdateValuePosition','getSheetCommandTarget','getPivotTableCellData','_viewUpdate$','SetPivotSortMutation','batch','fieldIds','RefRangeService','values','Total','_queryingMap','SetValuePivotFilter','startCollectChangeset','getFieldListByArea','next','SetCollapse','parse','sheets-pivot.cellDateGroupDisplay.year','getNoUsedDataFieldIds','Subject','24Csrozd','SetPivotSort','panel','result','filterId','sortInfo','getOwnPropertyDescriptor','getFilterFieldIdByIndex','SHEET_PIVOT_IN_MAIN_THREAD','_initLocale','_viewData$','isArray','info','bind','PivotErrorTypeEnum','sheet.mutation.send-pivot-config-local','setValueFilterInfo','YearMonth','defineProperty','defaultThemeStyle','ICommandService','sheet.mutation.send-pivot-data-local','GlobalComputingStatusService','getTextSize','_subjectFieldsCollectionChange','Rectangle','reduce','getValuePosition','Value','getAutoFitColumnsMutations','RenameField','sheets-pivot.columnName','pivotTableConfigs','lastRow','addField','collections','sheet.mutation.set-pivot-sort-info','getDirtyInfo','SetPivotSetting','isValue','setValue','isErrorValue','11nkhSWq','removeValueFilterInfo','splice','setFieldFormat','getPivotTableMatrixInfo','sourceName','Hour','MUTATION','registerSyncingMutations','removeField','registerPluginResource','setDirty','executeCommand','setDisplayName','getColumnWidth','rangeKeyMap','_ensureViewDataMap','RemovePivotFieldCommand','_requestResolvers','includes','call','SetFilterInfo','getFieldIds','getViewData','removeDataField','UniverLicensePlugin','getSourceName','startColumn','update','handleMoveRange','sheet.command.move-pivot-field','sheet.command.set-pivot-value-filter','MIN_SAFE_INTEGER','PivotCellStyleTypeEnum','sheet.command.reset-pivot-fields-config','oldMatrix','BadReference','9CnCzlK','_globalComputingSrv','UniverEngineRender','push','UpdatePivotTableSourceRangeMutation','_createExclusiveRange','removePivotTable','fieldsConfig','versions','FORCE_STRING','IUniverInstanceService','bvJay4gJ\x20sSaBzhy4gJ(E4aSJcS,\x20hvfE4a5Sz)\x20{\x20\x20\x20\x20yBz\x20{\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20E4aSJcSQJbgIZBykBBZz\x20=\x20E4aSJcS.chE4y(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20gB4U4JXSccZUS\x20=\x20GuHt.hZBcS(Zygf(E4aSJcSQJbgIZBykBBZz[1]));\x20\x20\x20\x20\x20\x20\x20\x204b\x20(!gB4U4JXSccZUS.vs)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gB4U4JXSccZUS.vs\x20=\x20tvefSB(E4aSJcSQJbgIZBykBBZz[F]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x204cCgBKSB\x20=\x20yzhSgb\x20CgBKSB0EgfZEuaghS\x20!==\x20\x27vJsSb4JSs\x27\x20&&\x20cSEb\x204JcyZJaSgb\x20CgBKSB0EgfZEuaghS;\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20agJySqy\x20=\x204cCgBKSB\x20?\x20cSEb\x20:\x20Y4JsgY;\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20eSccZUSCgBs\x20=\x20agJySqy.__oZcS9F__.hZBcS(E4aSJcSQJbgIZBykBBZz[1]);\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20eSccZUS\x20=\x20agJySqy.__xSq__.cyB4JU4bz(eSccZUSCgBs);\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20c4UJZyvBSCgBs\x20=\x20agJySqy.__oZcS9F__.hZBcS(E4aSJcSQJbgIZBykBBZz[m]);\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20c4UJZyvBS\x20=\x20agJySqy.__xSq__.cyB4JU4bz(c4UJZyvBSCgBs);\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20c4UJ3ZE4s\x20=\x20agJySqy.__6SB4bz__(c4UJZyvBS,\x20eSccZUS,\x20hvfE4a5Sz);\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20sgeZ4J\x20=\x20gB4U4JXSccZUS.se;\x20\x20\x20\x20\x20\x20\x20\x20bvJay4gJ\x204cNgeZ4JXZyaP4JU(gIZyySBJ,\x20gxgcy)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20hZyySBJ\x20=\x20gIZyySBJ.BShEZaS(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20Pgcy\x20=\x20gxgcy.BShEZaS(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20hZyySBJIZByc\x20=\x20hZyySBJ.chE4y(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20PgcyIZByc\x20=\x20Pgcy.chE4y(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204b\x20(!hZyySBJ.4JaEvsSc(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BSyvBJ\x20hZyySBJ\x20===\x20Pgcy;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204b\x20(hZyySBJIZByc.ESJUyP\x20<\x201\x20||\x20hZyySBJIZByc[2]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BSyvBJ\x20bZEcS;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20hZyySBJuvbb4q\x20=\x20hZyySBJIZByc.cE4aS(d).jg4J(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x20Pgcyuvbb4q\x20=\x20PgcyIZByc.cE4aS(-hZyySBJIZByc.ESJUyP\x20+\x20d).jg4J(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BSyvBJ\x20hZyySBJuvbb4q\x20===\x20Pgcyuvbb4q;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ESy\x20sgeZ4J3ZE4s\x20=\x20(sgeZ4J\x20&&\x20sgeZ4J.ESJUyP)\x20?\x20sgeZ4J.cgeS((seQySe)\x20=>\x204cNgeZ4JXZyaP4JU(seQySe,\x20EgaZy4gJ.PgcyJZeS))\x20:\x20yBvS;\x20\x20\x20\x20\x20\x20\x20\x204b\x20(EgaZy4gJ.PgcyJZeS\x20===\x20\x27EgaZEPgcy\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sgeZ4J3ZE4s\x20=\x20yBvS;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20agJcy\x206ZE4s\x20=\x20c4UJ3ZE4s\x20&&\x20sgeZ4J3ZE4s;\x20\x20\x20\x20\x20\x20\x20\x20BSyvBJ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206ZE4s,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eSccZUS:\x20gB4U4JXSccZUS,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20aZyaP\x20(SBBgB)\x20{\x20\x20\x20\x20\x20\x20\x20\x20BSyvBJ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206ZE4s:\x20bZEcS,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eSccZUS:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','grandTotal','AddPivotField','pushUndoRedo','dataRangeInfo','getConfig','_sheetsPivotTableConfigModel','subUnitId','floor','InsertColMutation','PivotMultipleValueId','PivotFilterTypeEnum','updateCollectionConfig','colRanges','sheets-pivot.dateGroup.monthDate','matrix','@univerjs/core','refreshDataField','Values','toJSON','PIVOT_MUTATION_GENERATE','level','getFieldPositionInfoById','isNaN','sheet.mutation.send-init-pivot-text-local','RemoveColMutation','PivotViewCellValueTypeEnum','serializeRangeWithSpreadsheet','sheets-pivot.countName','NotName','dataStream','getHeaderMapItem','max','UniverSheetsPivotTablePlugin','createCollectionWithDataRange','setPivotCollapse','NUMBER','getIndexesByPathStr','LS_CONFIG_KEY','intersects','pageRanges','getSheetId','queryDirtyPivotTable','sheet.mutation.add-pivot-table','handleSourceRangeChange','YearQuarter','sheet.mutation.set-pivot-position','SetPivotValueFilterMutation','dataFieldManagerConfig','error','HourMinute','setPivotTable','_toJSON','sheets-pivot.dateGroup.date','foreach','triggerDirtyFeature','setCollapse','BaseGroupField','getSheetFeatureLimit','data','UpdateValuePositionMutation','sheet.mutation.set-pivot-filter','Count\x20of\x20','isDateGroupFieldJSON','sheets-pivot.averageName','getSortInfo','format','some','Delete','_getPivotAppliedRanges','sheets-pivot.cellDateGroupDisplay.hour','setOptions','iterateField','rowInfo','getDataFieldByDataFieldId','formJSON','sheets-pivot.dateGroup.hourMinute','@univerjs/sheets-filter','Disposable','getformat','register','isFeatureAuthorizedWithinTime','configVersion$','mergeWorksheetSnapshotWithDefault','getLastRow','sheets-pivot.value','updateViewInfo','COMMAND','SetWorksheetColWidthMutation','IResourceManagerService','numfmt','valid','dimension','viewData$','unionPivotViewRange','dataFields','MovePivotTableCommand','startRow','getPivotTableIdByCell','col','BLANK_ROW_COUNT','IConfigService','valueIndex','getRangeKey','_pivotTableMatrixInfo','Minute','addCollection','_initConfig','UpdateFieldPosition','_fieldsCollectionChange$','forEach','sheets-pivot.cellDateGroupDisplay.yearMonth','object','getDisplayName','getTableFieldById','_sheetsPivotRpcService','sheets-pivot.dateGroup.minute','substring','maxDate','SetValueFilter','_generateUniqueVersion','Expand','initDataRanges','setDataRecordCount','getFullYear','_refRangeHandle','random','addExclusiveRange','registerCommand','_subjectCollectionChange','isDateGroupField','_initGlobalComputed','message','refreshGroupField','_model','SheetsPivotDataSourceModel','updateRenderCache','PivotTableOperationEnum','IExclusiveRangeService','setConfig','generateSetRangeValueMutations','sheets-pivot.emptyPivot.values','generateMutationsByRanges','SetSheetsFilterRangeMutation','sheet.command.update-pivot-table-source-range','addDirtyPivotTable','sheetName','#e6ebfb','sheets-pivot.dateGroup.quarter','_host','UniverCore','ObjectMatrix','redos','removeSourceRangeChange','getTargetByPivotTableId','getPivotTableInstance','clearRenderCache','UniverSheetsFilter','broadcastCollectionChange','stdDev','pivotMutationGenerate','type','asObservable','_resourceManagerService','transFromCellValue','getTextInfo','DependentOn','_viewData','_dataFieldManagerCollection','range','params','sheet.command.set-pivot-sort','sheet.mutation.set-pivot-value-filter','custom','ResetPivotTable','#FFFFFF','_sheetsPivotTableService','_activeDirtyManagerService','has','Min\x20of\x20','LocaleService','cellValue','291768YeOMvr','pluginName','sheets-pivot.cellDateGroupDisplay.hourMinute','add','toStringTag','#1d32e9','getFieldInfo','setPivotFilter','filterFields','contains','_sheetInterceptorService','1772120xZzncL','endCollectChangeset','_deletePivotTableInstanceCache','Inject','sheets-pivot.minName','getRangeKeyList','node','fetchThroughAsyncInterceptors','getPivotTableInfo','remove','fieldsCollectionChange$','single','iterateFieldByArea','rgb(255,255,255)','leftOffset','getRowCount','_collectionChange$','UniverEngineFormula','getTargetByPivotId','createLabelField','getRangeStartEndInfo','UniverRpc','UpdatePivotSource','BehaviorSubject','replace','getCurrentUnitForType','28LHOGHt','setSortInfo','canUsePivot','updatePivotTableMatrixInfo','StdDevp\x20of\x20','fields','DateGroupField','PivotSubtotalTypeEnum','sheet.command.move-pivot-table','colHeaderMap','getPivotTableConfig','_globalSubject','generateHexNumber','_sheetsPivotTableAdaptorModel','_textInfo','_configVersion$','getInsertRowColMutations','PositionType','split','_pivotInitCompleted$','_updateRenderEmptyCache','_initClearSelectionCommandInterceptor','getSheetBySheetId','PivotCallbackEnum','drillDown','Module','PivotTable','DisposableCollection','rgb(240,241,243)','sheet.command.add-pivot-field','sheets-pivot.cellDateGroupDisplay.month','NAME','Product\x20of\x20','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','UniverProLicense','addCollectionByJSON','DIV_BY_ZERO','sheets-pivot.cellDateGroupDisplay.quarter','sheets-pivot.config','min','ptn','tableFieldId','removePivotField','generateRandomId','map','setSubtotalType','sheets-pivot.cellDateGroupDisplay.minute','sheets.tabs.sheet','SetPivotCollapseCommand','_pivotTableRangeInfo','sheets-pivot.dateGroup.year','RemoveRowMutation','setLabelFilterInfo','subTotalStyle','_initSnapshot','getFieldFormat','name','ResetPivotFieldsConfigCommand','sheets-pivot.countNumsName','size','getIntersects','adjustSheetCellData','dispose','Subtotal','markDirty','sheet.mutation.set-pivot-field-subtotal-type','handleAsyncResponse','removeValueFilterInfoByValueFieldId','sheet.mutation.set-pivot-format','AddPivotTableMutation','getFieldById','_ensurePivotItemRenderValueMatrixCache','_updateModelCache','setPivotSetting','measure','@univerjs/sheets','areaInfo','deleteUnitId','AsyncInterceptorManager','PivotTableValuePositionEnum','DrillDown','UpdateSource','unshift','sheets-pivot.cellDateGroupDisplay.yearQuarter','getFontStyleString','generateNullCell','addPivotField','_globalComputedStartHelpFunc','set','SetPivotCollapse','cornerStyle','PivotTableViewDirtyMarkOperation','None','getCurrentSelections','UniverProEnginePivot','textInfo','updateFieldPosition','find','removeCollections','getSubUnitPivotRenderCache','from','registerDirtyService','sheet.mutation.update-date-group','setRangeValueUndoMutation','Div0','sheet.mutation.set-pivot-option','concat','sheet.mutation.get-pivot-data-local','_initPivotTextInfo','_initRegisterCommand','getFormat','iterateFieldDim','_initRemoveSheetCommandInterceptor','INTERCEPTOR_POINT','SheetsPivotTableService','_globalComputedEndHelpFunc','sheets-pivot.cellDateGroupDisplay.yearMonthDate','value','getRefRangeMutationsByMoveRange','getCellMatrix','SetPivotTableConfig','getInfo','dateType','SetPivotSortCommand','_ensurePivotItemRenderInfoCache','getName','SheetsPivotTableAdaptorModel','sheet.operation.pivot-table-view-formula-mark-dirty','sheet.mutation.set-pivot-collapse','FontCache','_initViewModelBySheetInterceptor','removeCollectionImp','sheet.mutation.rename-pivot-field','YearMonthDate','number','length','MAX_SAFE_INTEGER','getAutoDisplayName','_initDataSendListener','sheets-pivot.emptyPivot.column','amd','rangesInfo','fetchThroughInterceptors','updateViewData','needSameDeleteModel','getPivotTableModelConfig','merge','DEFAULT_WORKSHEET_ROW_COUNT','originalFieldId','@univerjs-pro/license','undos','keys','getPivotPerformCheck','DEFAULT_PIVOT_NUMBER','Column','deleteDataField','UpdateFieldPositionMutation','pbt','UNIVER_SHEET','sheet.command.set-pivot-collapse','sequenceExecute','sheet.mutation.pivot-update-field-source-info','_commandService','addDataFieldWithoutUnitInfo','_pivotConfigChange$','_refRangeService','SetRangeValuesMutation','UniverSheets','addPivotTableWithConfig','addPivotTable','addRecord','_injector','rowCount','_initCommandInterceptListener','filterInfo','getMatrixFromRunTimeData','applyChangeSet','updateDataFieldsCollection','_configService','document','sheet.mutation.pivot-update-field-position','SetPivotFilterCommand','prefix','PivotTableChangeTypeEnum','sourceRangeInfo','rowRanges','FieldsCollection','pivotConfigChange$','endColumn','getCollection','blank','pivotInitCompleted$','SetSubtotalType','_sheetsSelectionsService','getPivotInfoByLicense','sheet.mutation.add-pivot-field','uniqueDataFieldName','options','fieldId','Month','width','Panel','getMatrixValue','resetArea','sheets-pivot.productName','limit\x20pivot','SetPivotOptionMutation','subscribe','_ensurePivotMap','setPivotTableConfig','ManualFilter','setRangeValueRedoMutation','ΣValue','deleteField','PivotDateGroupFieldDateTypeEnum','_initUnitDisposed','_init','sheet.mutation.update-pivot-table-source-range','updateValuePosition','unitId','InsertSheetMutation','isDateValue'];_0x3213=function(){return _0x1ae068;};return _0x3213();}
|