@univerjs-pro/sheets-pivot 0.10.11 → 0.10.12-nightly.202510221114

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.
Files changed (51) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/common/const.d.ts +40 -40
  38. package/lib/types/controllers/const.d.ts +1 -1
  39. package/lib/umd/facade.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ko-KR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. package/package.json +10 -10
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x2b7c(){const _0xafec6a=['createDataFieldId','getId','stdDev','find','pivotTableIndexConfig','collection','getDataFieldItemInfo','ManualFilter','setTextInfo','InsertRowMutation','getSubUnitPivotConfigs','SetPivotSubtotalTypeMutation','updateConfigCache','SHEET_PIVOT_TABLE_PLUGIN','sum','sheets-pivot.countNumsName','Hour','interceptCommand','getInsertRowColMutations','setFieldFormat','DEFAULT_PIVOT_NUMBER','setPivotTableConfig','AddField','unshift','varp','getSheetId','_updatePivotTableInstanceCache','sheet.command.move-pivot-field','#f4f4f5','getDataFieldByDataFieldId','PivotTableChangeTypeEnum','cornerInfo','sheets-pivot.cellDateGroupDisplay.minute','dataFieldManagerConfig','Varp\x20of\x20','blank','YearMonth','setPivotSort','PivotDateGroupFieldDateTypeEnum','getPivotTableMatrixInfo','_initUnitDisposed','PivotCellStyleTypeEnum','getOwnPropertyDescriptor','getTextInfo','setLabelFilterInfo','uniqueDataFieldName','FORCE_STRING','_init','average','registerCallbackWithEvent','subUnitId','UniverProLicense','sortInfo','undos','valueFilter','getFormat','unitId','Injector','addDirtyPivotTable','rowCount','rowFields','UpdateDateGroupCommand','3107240OMJUMJ','DataFieldManager','getColumnWidth','IUndoRedoService','message','valuePosition','refreshGroupField','getDataFieldBySourceName','RemoveColMutation','data','getRangeStartEndInfo','getIndexesByPathStr','contains','Product\x20of\x20','level','getDirtyInfo','Quarter','getSheetBySheetId','MAX_SAFE_INTEGER','setPivotSetting','includes','getPivotTableIdByCell','disposeWithMe','sheet.mutation.set-pivot-position','_initConfig','rowStyle','tableFieldId','sheet.command.reset-pivot-fields-config','_pivotRenderInfoCache','@univerjs/engine-render','movePivotField','sourceRangeInfo','subTotalStyle','stdDevp','RANGE_TYPE','Style','SetPivotSortCommand','UniverSheetsFilter','@univerjs-pro/license','sheet.mutation.send-init-pivot-text-local','getCellRaw','addPivotField','getFieldPositionInfoById','_viewUpdate$','getName','SetSubtotalType','getPivotTableInfo','rxjs','StdDev\x20of\x20','createCollectionWithDataRange','dataRangeInfo','setConfig','pivotMutationGenerate','SetPivotCollapseCommand','_generateUniqueVersion','info','_fieldsCollectionChange$','_ensurePivotItemRenderInfoCache','getFieldDataType','PivotFilterTypeEnum','Disposable','bind','DrillDown','getDataFieldByRangeKey','IResourceManagerService','limit\x20pivot','updateRangeKeyMap','error','@univerjs/engine-formula','pushComputingStatusSubject','UpdatePivotTableSourceRangeCommand','updateConfig','defaultThemeStyle','setSubtotalType','endColumn','CustomCommandExecutionError','DisposableCollection','deepClone','_exclusiveRangeService','getPivotItemRenderInfoCache','Inject','_pivotInitCompleted$','cornerStyle','fields','sheets-pivot.minName','_queryingMap','filterInfo','Average\x20of\x20','PivotView','Rectangle','interceptor','dataStyle','sheets-pivot.productName','pivotConfigChange$','row','sheets-pivot.other','SetCollapse','symbol','sheet.mutation.add-pivot-field','setOptions','subscribe','_requestResolvers','intersects','DataField','None','function','getEmptyPivotRanges','sheets-pivot.stdDevName','STRING','valueIndex','addRecord','_sheetsPivotTableService','min','node','SetPivotCollapse','updateDataFieldsCollection','SHEET_PIVOT_IN_MAIN_THREAD','dateGroupField','addPivotTableWithConfig','sheet.command.set-pivot-collapse','sheet.mutation.get-pivot-data-local','sheets-pivot.cellDateGroupDisplay.yearMonthDate','getSortInfo','_globalComputedEndHelpFunc','update','setRangeValueRedoMutation','updateAllDisplayName','Values','parseInt','_globalSubject','registerSyncingMutations','iterateFieldDim','targetCellInfo','lastRow','setRangeValueUndoMutation','viewData$','2589016EhSfbJ','sheets-pivot.averageName','getPivotInfoByLicense','_dataFieldManagerCollection','registerRefRange','_globalComputedStartHelpFunc','RefRangeService','NORMAL','excelDateToUnixMilliseconds','isEmpty','next','endRow','values','measure','Year','isArray','SetFilterInfo','updateView','Min\x20of\x20','token','updateViewData','registerDirtyService','setName','InterceptorManager','getPivotPerformCheck','drillDown','toJSON','getFieldFormat','fromJSON','some','setSourceName','custom','getIntersects','#eceeff','sheet.mutation.set-pivot-sort-info','InterceptorEffectEnum','COMMAND','generateNullCell','sheets-pivot.columnName','slice','MoveRangeCommand','sheets-pivot.blank','getPivotTableConfig','getIntersectsPivotTable','getValue','SetRangeValuesMutation','options','AsyncInterceptorManager','count','LS_CONFIG_KEY','_injector','isDateGroupFieldJSON','updatePivotTableMatrixInfo','getNoUsedDataFieldIds','#e6ebfb','updatePivotSource','name','split','RemoveSheetMutation','batch','getDataFieldByTableId','UpdateFieldPosition','generateMutationsByRanges','UpdatePivotFieldSourceInfoMutation','RemoveField','document','ICommandService','SheetsPivotTableService','string','setValueFilterInfo','onCommandExecuted','_subjectViewChange','RenamePivotFieldMutation','_host','MovePivotFieldCommand','generateHexNumber','getDataFieldManager','fieldsCollectionChange$','pivotInitCompleted$','NotFunction','_featureCalculationManagerService','SetOptions','sheet.command.set-pivot-value-filter','#FFFFFF','sheet.mutation.set-pivot-filter','dataFields','_initRemoveSheetCommandInterceptor','col','SetWorksheetActiveOperation','displayName','UniverProEnginePivot','sheet.mutation.send-pivot-data-local','intercept','ResetPivotTable','reduce','_deletePivotTableInstanceCache','_config','MovePivotField','getTableFieldById','SetPivotFilterCommand','object','sheetName','StdDevp\x20of\x20','_collectionConfigModel','#1d32e9','ΣValue','getAdjustRangesPosition','_resourceManagerService','getCurrentUnitForType','getDisplayName','_sheetsPivotRpcService','20562JDbgMS','date','sheets-pivot.cellDateGroupDisplay.yearQuarter','_activeDirtyManagerService','INTERCEPTOR_POINT','AddPivotField','UniverRpc','getAutoFitColumnsMutations','getLastRow','Tools','MUTATION','SetValuePivotFilter','BehaviorSubject','setValuePivotFilter','sheet.mutation.update-date-group','sheets-pivot.dateGroup.monthDate','dataStream','formJSON','updateDirtyPivotTable','minDate','handleMoveRange','sheet.command.update-date-group','originalFieldId','_commandService','parse','pivotTableId','getStyles','pluginName','fetchThroughInterceptors','fetchThroughAsyncInterceptors','collapseInfo','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','addField','sheet.mutation.pivot-update-field-source-info','existing','PivotTableValuePositionEnum','handleAsyncResponse','getValuePosition','UpdateValuePosition','setDataRecordCount','pbt','width','merge','colHeaderMap','query','subtotal','rangeKey','forRow','fieldId','foreach','_getPivotAppliedRanges','sheets-pivot.dateGroup.quarter','SetRangeValuesUndoMutationFactory','removeDataField','InsertSheetCommand','SetPivotFilterMutation','registerCommand','ClearSelectionContentCommand','sheet.mutation.pivot-update-field-position','SetValueFilter','markDirty$','YearQuarter','SetPivotFilter','defineProperty','_configVersion$','SetPivotValueFilterCommand','grandTotal','getTargetByPivotTableId','getAutoDisplayName','SetPivotTableConfig','numfmt','_refRangeHandle','RemoveSheetsFilterMutation','SetPivotSort','Column','fieldIds','SetPivotFieldFormatMutation','addPivotTable','removeSourceRangeChange','sheets-pivot.sumName','NAME','_sheetsPivotTableAdaptorModel','dimension','Total','fontRenderExtension','PivotTableFiledAreaEnum','sheets-pivot.dateGroup.hourMinute','clearRenderCache','DataSyncPrimaryController','registerPluginResource','COLUMN','getFieldById','getDate','single','numberToABC','sheets-pivot.dateGroup.year','originTargetInfo','getFilterInfo','_lifecycleService','PivotViewCellValueTypeEnum','get','transFromCellValue','has','sheets-pivot.cellDateGroupDisplay.date','RemovePivotFieldMutation','_ensurePivotMap','getPivotTableCellData','AddPivotTableMutation','getUnitId','sheet.mutation.remove-group-collection','GlobalComputingStatusService','startRow','disposableCollection','SetPivotSetting','_pivotTableRangeInfo','isDateGroupField','colStyle','IConfigService','_toJSON','AddPivotTableWithConfig','toString','updateValuePosition','sheets-pivot.value','getLastCol','InsertSheetUndoMutationFactory','addFieldWithSourceId','_initSnapshot','_initRegisterCommand','AddPivotTable','colCount','startCollectChangeset','REF','setPivotFilter','10KjOXxC','random','getTargetByPivotId','Plugin','deleteField','getFullYear','rangeType','forValue','forEach','_pivotRenderValueMatrixCache','valid','ptn','IFeatureCalculationManagerService','2537340OTupji','setPivotCollapse','PivotDataFieldDataTypeEnum','getMonth','updateCollectionConfig','updateFieldSourceInfo','_sheetsPivotTableConfigModel','sheet.mutation.remove-pivot-table','Row','YearMonthDate','MIN_SAFE_INTEGER','sheet.command.set-pivot-fields-config','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','maxDate','getColumnCount','ObjectMatrix','RemovePivotTableMutation','replace','set','_initViewModelBySheetInterceptor','_pivotTableMatrixInfo','sheets-pivot.cellDateGroupDisplay.hourMinute','generateSetRangeValueMutations','pushUndoRedo','#b2b2b2','@univerjs/core','PivotCallbackEnum','deleteUnitId','executeCommand','getMatrixValue','getHeaderMapItem','SheetsPivotTableConfigModel','rgb(255,255,255)','getSheetCommandTarget','onQueryEnd','_subjectFieldsCollectionChange','stringify','setRange','_createExclusiveRange','length','8484381niFbkd','New','lastCol','delete','removeValueFilterInfo','_collectionChange$','realDeleteValue','onQueryStart','Max\x20of\x20','addCollection','rowInfo','DIV_BY_ZERO','_initClearSelectionCommandInterceptor','Range','Subtotal','dispose','RemoveSheetCommand','NotName','getMatrix','DEFAULT_WORKSHEET_ROW_COUNT','broadcastCollectionChange','BadReference','_model','U0zTcIQz\x206OToJPcIQz(bITOzlO,\x20P0ubITVOJ)\x20{\x20\x20\x20\x20coJ\x20{\x20\x20\x20\x20\x20\x20\x20\x20TQzlc\x20bITOzlOYzUQsHochooHJ\x20=\x20bITOzlO.lPbIc(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20TQzlc\x20QoIKIztOllHKO\x20=\x20yDFG.PHolO(HcQu(bITOzlOYzUQsHochooHJ[n]));\x20\x20\x20\x20\x20\x20\x20\x20IU\x20(!QoIKIztOllHKO.06)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QoIKIztOllHKO.06\x20=\x20G07uOo(bITOzlOYzUQsHochooHJ[N]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20TQzlc\x20Il2QoXOo\x20=\x20cJPOQU\x202QoXOoRbQuHbDTQPO\x20!==\x20\x270z6OUIzO6\x27\x20&&\x20lObU\x20IzlcHzTOQU\x202QoXOoRbQuHbDTQPO;\x20\x20\x20\x20\x20\x20\x20\x20TQzlc\x20TQzcOpc\x20=\x20Il2QoXOo\x20?\x20lObU\x20:\x20iIz6Qi;\x20\x20\x20\x20\x20\x20\x20\x20TQzlc\x207OllHKO2Qo6\x20=\x20TQzcOpc.__5HlOjN__.PHolO(bITOzlOYzUQsHochooHJ[n]);\x20\x20\x20\x20\x20\x20\x20\x20TQzlc\x207OllHKO\x20=\x20TQzcOpc.__ZOp__.lcoIzKIUJ(7OllHKO2Qo6);\x20\x20\x20\x20\x20\x20\x20\x20TQzlc\x20lIKzHc0oO2Qo6\x20=\x20TQzcOpc.__5HlOjN__.PHolO(bITOzlOYzUQsHochooHJ[g]);\x20\x20\x20\x20\x20\x20\x20\x20TQzlc\x20lIKzHc0oO\x20=\x20TQzcOpc.__ZOp__.lcoIzKIUJ(lIKzHc0oO2Qo6);\x20\x20\x20\x20\x20\x20\x20\x20TQzlc\x20lIKzMHbI6\x20=\x20TQzcOpc.__qOoIUJ__(lIKzHc0oO,\x207OllHKO,\x20P0ubITVOJ);\x20\x20\x20\x20\x20\x20\x20\x20TQzlc\x206Q7HIz\x20=\x20QoIKIztOllHKO.67;\x20\x20\x20\x20\x20\x20\x20\x20U0zTcIQz\x20Il9Q7HIztHcTWIzK(QsHccOoz,\x20QZQlc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TQzlc\x20PHccOoz\x20=\x20QsHccOoz.oOPbHTO(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TQzlc\x20WQlc\x20=\x20QZQlc.oOPbHTO(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TQzlc\x20PHccOozsHocl\x20=\x20PHccOoz.lPbIc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TQzlc\x20WQlcsHocl\x20=\x20WQlc.lPbIc(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IU\x20(!PHccOoz.IzTb06Ol(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oOc0oz\x20PHccOoz\x20===\x20WQlc;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IU\x20(PHccOozsHocl.bOzKcW\x20<\x20n\x20||\x20PHccOozsHocl[4]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oOc0oz\x20UHblO;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TQzlc\x20PHccOozD0UUIp\x20=\x20PHccOozsHocl.lbITO(E).aQIz(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TQzlc\x20WQlcD0UUIp\x20=\x20WQlcsHocl.lbITO(-PHccOozsHocl.bOzKcW\x20+\x20E).aQIz(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oOc0oz\x20PHccOozD0UUIp\x20===\x20WQlcD0UUIp;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20bOc\x206Q7HIzMHbI6\x20=\x20(6Q7HIz\x20&&\x206Q7HIz.bOzKcW)\x20?\x206Q7HIz.lQ7O((67YcO7)\x20=>\x20Il9Q7HIztHcTWIzK(67YcO7,\x20bQTHcIQz.WQlczH7O))\x20:\x20co0O;\x20\x20\x20\x20\x20\x20\x20\x20IU\x20(bQTHcIQz.WQlczH7O\x20===\x20\x27bQTHbWQlc\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206Q7HIzMHbI6\x20=\x20co0O;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20TQzlc\x20qHbI6\x20=\x20lIKzMHbI6\x20&&\x206Q7HIzMHbI6;\x20\x20\x20\x20\x20\x20\x20\x20oOc0oz\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20qHbI6,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207OllHKO:\x20QoIKIztOllHKO,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20THcTW\x20(OooQo)\x20{\x20\x20\x20\x20\x20\x20\x20\x20oOc0oz\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20qHbI6:\x20UHblO,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207OllHKO:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','remove','getUpdateRangeDeleteIds','textInfo','body','Count\x20of\x20','splice','map','_dataSyncPrimaryController','getAutoDisplayNameFunction','getFilterFieldIdByIndex','getRowCount','ResetPivotFieldsConfigCommand','Sum\x20of\x20','from','areaInfo','markDirty','range','getSubUnitPivotMatrix','SetPivotOptionMutation','cellValue','sheet.mutation.set-pivot-format','CellValueType','sheets-pivot.cellDateGroupDisplay.yearMonth','size','getViewData','MovePivotTableCommand','sheet.mutation.send-pivot-view-local','new','_pivotTableInstanceCache','collections','removeField','_pivotConfigChange$','sheets-pivot.dateGroup.yearQuarter','SheetInterceptorService','asObservable','createInterceptorKey','_updateRenderEmptyCache','register','_subjectCollectionChange','setValue','rangesInfo','Set','mergeWorksheetSnapshotWithDefault','iterateField','getCellMatrix','unshiftString','sheet.command.pivot-drill-down','PivotErrorTypeEnum','headerMap','539czZeTH','substring','SetPivotValueFilterMutation','version','hasOwnProperty','FieldsCollection','removeCollectionImp','sequenceExecute','setSortInfo','versions','concat','@univerjs/sheets-filter','removePivotTable','redos','isBottomTotal','reset','addCollectionByJSON','getUnit','getCollection','getPivotTableRangeInfo','dataFieldsCollection','isValue','hasField','removeCollections','initDataRanges','refreshData','oldMatrix','sheets-pivot.emptyPivot.row','value','getSheetFeatureLimit','UpdateValuePositionMutation','generateNewSheetName','fieldsConfig','_refRangeService','getSourceName','getPivotDirtyViewInfo','sheet.operation.pivot-table-view-formula-mark-dirty','pivotTableConfigs','LocaleService','FontCache','addExclusiveRange','sheets-pivot.stdDevpName','@univerjs/rpc','sheet.mutation.set-pivot-field-subtotal-type','pageRanges','paths','getPivotTableModelConfig','getFormatInfo','getFieldIds','type','_onRefRangeChange','pageStyle','sheet.mutation.update-pivot-table-source-range','getSubtotal','valueFields','Collapse','removeValueFilterInfoByValueFieldId','_viewData','leftOffset','UpdatePivotSource','setPivotInitCompleted','CommandType','unionPivotViewRange','BLANK_ROW_COUNT','workbook\x20is\x20not\x20found','getConfig','_deleteModelCache','PivotDrillDownCommand','needSameDeleteModel','other','sheets-pivot.emptyPivot.values','Grand\x20Total','_initPivotTextInfo','push','sheets-pivot.cellDateGroupDisplay.month','6124TXgGXC','collectionChange$','floor','Delete','matrix','_sheetsPivotDataSourceModel','clearExclusiveRangesByGroupId','countNums','sheets-pivot.dateGroup.minute','getformat','collectionConfig','SheetsPivotDataSourceModel','call','renameField','updateRenderCache','UniverProSheetsPivot','_localeService','UpdateFieldPositionMutation','getSubUnitPivotRenderCache','_sheetsSelectionsService','getDataFieldId','sheet.mutation.add-group-collection','getValueIndex','Filter','dataFieldId','columnFields','refreshDataField','681zGEJkM','getTypeOfUnitDisposed$','amd','getValueFilterInfos','PivotMultipleValueId','\x20-\x20','Value','createAsyncInterceptorKey','Panel','_viewData$','NUMBER','_initCommandInterceptListener','sheet.command.set-pivot-field-setting','endCollectChangeset','_ensurePivotItemRenderValueMatrixCache','PivotSubtotalTypeEnum','NUM','sheet.mutation.set-pivot-collapse','result','isDateValue','prototype','column','getTextSize','SheetsPivotTableAdaptorModel','rgb(240,241,243)','sheets-pivot.varpName','_ensurePivotTableMatrixInfo','SetWorksheetColWidthMutation','deleteDataField','sheet.mutation.remove-pivot-field','sheets-pivot.grandTotal','RemovePivotField','InsertSheetMutation','asyncInterceptor','addDataFieldWithoutUnitInfo','PivotTable','_initGlobalComputed','getFieldCountByArea','updateViewInfo','380534UulHQi','SheetsSelectionsService','sheet.command.remove-pivot-field','ErrorType','number','Minute','PIVOT_MUTATION_GENERATE','format','notExecuteFormula','sheet.mutation.add-pivot-table','_sheetInterceptorService','_configService','UniverSheetsPivotTablePlugin','getSheetBySheetName','getPivotTableInstance','sheets-pivot.cellDateGroupDisplay.hour','return\x20','entries','sheet.mutation.set-pivot-option','triggerDirtyFeature','colRanges','@univerjs/sheets','keys','cellToRange','_textInfo','isNaN','getOriginFieldId','Add','add','Module','sheet.command.set-pivot-sort','sheets-pivot.varName','SheetsPivotRPCService','Date','removePivotField','AddPivotFieldMutation','canUsePivot','PositionType','SetPivotFieldsConfigCommand','sheets-pivot.dateGroup.yearMonth','prefix','_getAutoName','PivotTableOperationEnum','sheet.mutation.set-pivot-value-filter','exports','updateFieldPosition','_univerInstanceService','PivotTableViewDirtyMarkOperation','_ensurePivotTableRangeInfo','UNIVER_SHEET','handleSourceRangeChange','_updateModelCache','HourMinute','panel','getRefRangeMutationsByMoveRange','getSheets','_initDataSendListener','resetPivotTable','_initPivotDataGetListener','_initLocale','Subject','tuple','getRangeKeyList','UniverEngineRender','sheets-pivot.dateGroup.date','UpdatePivotFieldSettingCommand','params','sheets.tabs.sheet','getRangeKey','max','getPivotDisplayConfig','filter','RemoveRowMutation','IUniverInstanceService','SetPivotPositionMutation','getGroupFieldsInfoByIds','getFieldInfo','getColCount','getMatrixFromRunTimeData','startColumn','getFieldListByArea','LifecycleService','UniverInstanceType','getCurrentSelections','updatePivotTableRangeInfo','setCollapse','DEFAULT_WORKSHEET_COLUMN_COUNT','UniverSheets','setRangeKeyMap','AddPivotFieldCommand','sheets-pivot.dateGroup.hour','shouldClear','RenameField','onStarting','leafStyle','sheet.mutation.pivot-update-value-position','_ensureViewDataMap','iterateFieldByArea','sheets-pivot.subTotal','rangeKeyMap','adjustSheetCellData'];_0x2b7c=function(){return _0xafec6a;};return _0x2b7c();}function _0x42d3(_0x69d5c6,_0x5c3286){const _0x2b7c0e=_0x2b7c();return _0x42d3=function(_0x42d3d7,_0xcd0282){_0x42d3d7=_0x42d3d7-0xbb;let _0x475ed6=_0x2b7c0e[_0x42d3d7];return _0x475ed6;},_0x42d3(_0x69d5c6,_0x5c3286);}(function(_0x29fcf9,_0x42cfe5){const _0x5df5b1=_0x42d3,_0x7effc2=_0x29fcf9();while(!![]){try{const _0x32ba63=parseInt(_0x5df5b1(0x1e6))/0x1+parseInt(_0x5df5b1(0x1a4))/0x2*(parseInt(_0x5df5b1(0x1bf))/0x3)+-parseInt(_0x5df5b1(0x289))/0x4+parseInt(_0x5df5b1(0xe8))/0x5+parseInt(_0x5df5b1(0x380))/0x6*(parseInt(_0x5df5b1(0x159))/0x7)+parseInt(_0x5df5b1(0x311))/0x8+parseInt(_0x5df5b1(0x110))/0x9*(-parseInt(_0x5df5b1(0xdb))/0xa);if(_0x32ba63===_0x42cfe5)break;else _0x7effc2['push'](_0x7effc2['shift']());}catch(_0x5a01a6){_0x7effc2['push'](_0x7effc2['shift']());}}}(_0x2b7c,0x6e1f7),function(_0x53906b,_0x521f6f){const _0x3a12d2=_0x42d3;typeof exports==_0x3a12d2(0x375)&&typeof module<'u'?_0x521f6f(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define==_0x3a12d2(0x2f2)&&define[_0x3a12d2(0x1c1)]?define([_0x3a12d2(0x212),'@univerjs-pro/engine-pivot',_0x3a12d2(0x101),_0x3a12d2(0x2cd),_0x3a12d2(0x1fb),'rxjs',_0x3a12d2(0x2af),_0x3a12d2(0x164),_0x3a12d2(0x183),_0x3a12d2(0x2a6)],_0x521f6f):(_0x53906b=typeof globalThis<'u'?globalThis:_0x53906b||self,_0x521f6f(_0x53906b[_0x3a12d2(0x1b3)]={},_0x53906b[_0x3a12d2(0x36b)],_0x53906b['UniverCore'],_0x53906b['UniverEngineFormula'],_0x53906b[_0x3a12d2(0x23d)],_0x53906b[_0x3a12d2(0x2b8)],_0x53906b[_0x3a12d2(0x27e)],_0x53906b[_0x3a12d2(0x2ae)],_0x53906b[_0x3a12d2(0x386)],_0x53906b[_0x3a12d2(0x225)]));}(this,function(_0x1ed859,_0x175d11,_0x177d6a,_0x195fb3,_0x22c23f,_0x2d0b5f,_0x53915,_0xc6ed78,_0x382c16,_0x483c29){'use strict';const _0x1c787c=_0x42d3;var _0x2e9049=Object['defineProperty'],_0x33408f=(_0x4bc824,_0x1dab4d,_0x5c6988)=>_0x1dab4d in _0x4bc824?_0x2e9049(_0x4bc824,_0x1dab4d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c6988}):_0x4bc824[_0x1dab4d]=_0x5c6988,_0x117630=(_0x26107e,_0x55f146,_0x52df2e)=>_0x33408f(_0x26107e,typeof _0x55f146!=_0x1c787c(0x2ea)?_0x55f146+'':_0x55f146,_0x52df2e);const _0x3de64a=Number[_0x1c787c(0x309)](0x68f330b5),_0x150198=0x10,_0x45eedb=0x1,_0x389941=_0x1c787c(0x258),_0x2afc20=0x1,_0x2054f0=_0x1c787c(0x1d7),_0x502207=_0x1c787c(0x108),_0x39b4d9=_0x1c787c(0x100),_0x2c62c9=_0x1c787c(0x267),_0x5f4532=_0x1c787c(0x267),_0x157d52=_0x1c787c(0x332),_0x185565=_0x1c787c(0x379),_0xe893d2=_0x1c787c(0x364),_0x2ff007='#e6ebfa',_0x23c1a8='#1d32e9',_0xa7d1bd=_0x1c787c(0x364),_0x282eaf=_0x1c787c(0x347),_0x3608e8=0xe,_0x35b2f9=0x6;var _0x83d4d=(_0x53b788=>(_0x53b788['Existing']=_0x1c787c(0x3a2),_0x53b788[_0x1c787c(0x111)]=_0x1c787c(0x143),_0x53b788))(_0x83d4d||{});const _0x1aa151={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x5ae7bb=0x1e,_0x2d2f10={'b':{'s':0x1,'cl':{'rgb':_0x39b4d9}},'l':{'s':0x1,'cl':{'rgb':_0x39b4d9}},'r':{'s':0x1,'cl':{'rgb':_0x39b4d9}},'t':{'s':0x1,'cl':{'rgb':_0x39b4d9}}},_0x1a6281={'bg':{'rgb':_0x2054f0},'ht':0x2,'vt':0x2,'tb':0x1},_0x112552={'bg':{'rgb':_0x502207},'ht':0x2,'vt':0x2,'tb':0x1},_0x137cd6={'rowStyle':{'bg':{'rgb':_0x282eaf},'bd':_0x2d2f10,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x23c1a8},'bd':null,'cl':{'rgb':_0xa7d1bd},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x2d2f10,'bg':{'rgb':_0x2ff007},'vt':0x2},'cornerStyle':{'bd':_0x2d2f10,'bg':{'rgb':_0x157d52},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x2d2f10,'bg':{'rgb':_0x2c62c9},'vt':0x2},'leafStyle':{'bd':_0x2d2f10,'bg':{'rgb':_0x5f4532},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x185565},'cl':{'rgb':_0xe893d2},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x2d2f10,'vt':0x2}};function _0x35a128(_0x2e7486,_0x345c60,_0x46c851){const _0x5bbe7c=_0x1c787c,_0x5f2fbc=_0x2e7486[_0x5bbe7c(0x3e4)](_0x177d6a['LocaleService']),_0x596b08=_0x46c851[_0x5bbe7c(0x34a)]('_');switch(_0x345c60){case _0x175d11['PivotDateGroupFieldDateTypeEnum'][_0x5bbe7c(0x31f)]:return _0x5f2fbc['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x596b08);case _0x175d11[_0x5bbe7c(0x271)][_0x5bbe7c(0x1eb)]:return _0x5f2fbc['t'](_0x5bbe7c(0x26b),..._0x596b08);case _0x175d11[_0x5bbe7c(0x271)][_0x5bbe7c(0x25b)]:return _0x5f2fbc['t'](_0x5bbe7c(0x1f5),..._0x596b08);case _0x175d11[_0x5bbe7c(0x271)][_0x5bbe7c(0x21a)]:return _0x5f2fbc['t'](_0x5bbe7c(0xfd),..._0x596b08);case _0x175d11[_0x5bbe7c(0x271)][_0x5bbe7c(0x207)]:return _0x5f2fbc['t'](_0x5bbe7c(0xbd),..._0x596b08);case _0x175d11[_0x5bbe7c(0x271)]['Month']:return _0x5f2fbc['t'](_0x5bbe7c(0x1a3),..._0x596b08);case _0x175d11['PivotDateGroupFieldDateTypeEnum'][_0x5bbe7c(0x299)]:return _0x5f2fbc['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x596b08);case _0x175d11[_0x5bbe7c(0x271)][_0x5bbe7c(0x26f)]:return _0x5f2fbc['t'](_0x5bbe7c(0x13e),..._0x596b08);case _0x175d11[_0x5bbe7c(0x271)][_0x5bbe7c(0xf1)]:return _0x5f2fbc['t'](_0x5bbe7c(0x302),..._0x596b08);case _0x175d11[_0x5bbe7c(0x271)][_0x5bbe7c(0x3bd)]:return _0x5f2fbc['t'](_0x5bbe7c(0x382),..._0x596b08);}return'';}const _0x12a558=(_0x5499d8,_0x45d3ff,_0x42e845,_0x181e94)=>{const _0x46486e=_0x1c787c;let _0x359ca8;const _0x4f5d02=_0x5499d8[_0x46486e(0x3e4)](_0x177d6a[_0x46486e(0x22f)])[_0x46486e(0x37d)](_0x177d6a[_0x46486e(0x238)][_0x46486e(0x217)]);if(!_0x4f5d02)return null;const _0x36e86f=_0x4f5d02['getStyles']();let _0x1c723d;if(_0x42e845&&(_0x1c723d=_0x36e86f[_0x46486e(0x14f)](_0x42e845)),_0x45d3ff!=null&&_0x45d3ff['v']||(_0x45d3ff==null?void 0x0:_0x45d3ff['v'])===0x0){_0x359ca8||(_0x359ca8={});const _0xd35327=_0xcfe240(_0x45d3ff['v']);typeof _0xd35327==_0x46486e(0x1ea)?_0x359ca8['t']=_0x177d6a[_0x46486e(0x13d)][_0x46486e(0x1c9)]:typeof _0xd35327==_0x46486e(0x355)&&(_0x359ca8['t']=_0x177d6a['CellValueType'][_0x46486e(0x2f5)]),_0x359ca8['v']=_0xd35327;}if((_0x45d3ff!=null&&_0x45d3ff['i']||(_0x45d3ff==null?void 0x0:_0x45d3ff['i'])===0x0)&&(_0x359ca8||(_0x359ca8={}),_0x359ca8['fi']=_0x45d3ff['i']),_0x45d3ff!=null&&_0x45d3ff['s']&&(_0x359ca8||(_0x359ca8={}),_0x359ca8[_0x46486e(0x3a8)]=_0x45d3ff['s']),_0x42e845&&(_0x359ca8||(_0x359ca8={}),_0x359ca8['s']=_0x1c723d),_0x181e94&&_0x359ca8!=null&&_0x359ca8['v']&&_0x359ca8[_0x46486e(0x3a8)]!==_0x175d11['PivotCellStyleTypeEnum']['GrandTotal']&&_0x359ca8[_0x46486e(0x3a8)]!==_0x175d11[_0x46486e(0x274)][_0x46486e(0x11e)]){const _0x1a8161=String(_0x359ca8['v']),{dateType:_0x1f86bd}=_0x181e94;_0x359ca8['v']=_0x35a128(_0x5499d8,_0x1f86bd,_0x1a8161),_0x359ca8['t']=_0x177d6a[_0x46486e(0x13d)][_0x46486e(0x2f5)];}return _0x359ca8;},_0x2107bc=(_0x389fe5,_0xcbe99d,_0x405ed4,_0x4e6adb)=>{const _0x1d185a=_0x1c787c;var _0x2b92bc,_0x27dce4,_0x3484c1,_0x2b52b7,_0x52640f,_0x97fda6,_0x1989eb,_0x4526ff,_0x5b5baf,_0x15bb25,_0x91bd18,_0x232afd,_0x5cb26d,_0x580362;const _0x4fddb0=_0x405ed4[_0x1d185a(0x30d)],{cornerView:_0x22cc3d,rowView:_0x5556a3,colView:_0x3fcda5,dataView:_0x3b6d63,pageView:_0x2e4315,formatMap:_0x100524,groupInfo:_0x2b32da}=_0xcbe99d,{row:_0xc14163,col:_0x30651f}=_0x4fddb0,_0x22c9b8=new _0x177d6a[(_0x1d185a(0xf7))](),_0x47ea6b={},_0x4e10ad={},_0x30553c={},_0x48f484={},_0x41518d={};let _0x58d8c0=_0xc14163,_0x211620=_0x30651f;Object[_0x1d185a(0x1fc)](_0x2e4315[_0x1d185a(0x292)])[_0x1d185a(0xe3)](_0x1beb1c=>{const _0xa0ebfe=_0x1d185a;Object['keys'](_0x2e4315[_0xa0ebfe(0x292)][Number(_0x1beb1c)])[_0xa0ebfe(0xe3)](_0x59a14c=>{const _0x258bbc=_0xa0ebfe,_0x29e801={..._0x2e4315['data'][Number(_0x1beb1c)][Number(_0x59a14c)]};_0x22c9b8[_0x258bbc(0x14f)](Number(_0x1beb1c)+_0x58d8c0,Number(_0x59a14c)+_0x211620,_0x12a558(_0x389fe5,_0x29e801,_0x137cd6[_0x258bbc(0x18c)]));});});const _0x44eb30=Object['keys'](_0x2e4315[_0x1d185a(0x292)])[_0x1d185a(0x10f)];_0x58d8c0+=_0x44eb30+(_0x44eb30?_0x2afc20:0x0);const _0x5a289c=_0x22cc3d[_0x1d185a(0x132)](),_0x3d4fcf=_0x22cc3d[_0x1d185a(0x233)]();for(let _0x410492=0x0;_0x410492<_0x5a289c;_0x410492++)for(let _0x4dcabd=0x0;_0x4dcabd<_0x3d4fcf;_0x4dcabd++){const _0x18baf3={...(_0x27dce4=(_0x2b92bc=_0x22cc3d[_0x1d185a(0x292)])==null?void 0x0:_0x2b92bc[_0x410492])==null?void 0x0:_0x27dce4[_0x4dcabd]};_0x18baf3&&((_0x3484c1=_0x5556a3[_0x1d185a(0x158)][_0x4dcabd])!=null&&_0x3484c1[_0x1d185a(0x16e)])&&_0x4dcabd===_0x3d4fcf-0x1&&_0x410492===_0x5a289c-0x1&&(_0x18baf3['v']=''+_0x4e6adb[_0x1d185a(0xd0)]),_0x22c9b8[_0x1d185a(0x14f)](_0x410492+_0x58d8c0,_0x4dcabd+_0x211620,_0x12a558(_0x389fe5,_0x18baf3,_0x137cd6[_0x1d185a(0x2db)]));}for(let _0x5cee92=0x0;_0x5cee92<_0x22cc3d['info'][_0x1d185a(0x10f)];_0x5cee92++)_0x22cc3d[_0x1d185a(0x2c0)][_0x5cee92]&&(_0x30553c[''+(_0x5cee92+_0x211620)]=_0x22cc3d['info'][_0x5cee92]);_0x211620+=_0x3d4fcf;const _0x151d5a=_0x3fcda5[_0x1d185a(0x158)],_0x1a20f8=_0x3fcda5['getLastRow']()>=0x0?_0x3fcda5[_0x1d185a(0x388)]()+0x1:0x0,_0x4e5106=_0x3fcda5[_0x1d185a(0xd1)]()>=0x0?_0x3fcda5['getLastCol']()+0x1:0x0;for(let _0x11e1c3=0x0;_0x11e1c3<_0x4e5106;_0x11e1c3++){for(let _0x3ac8d1=0x0;_0x3ac8d1<_0x1a20f8;_0x3ac8d1++){const _0x43cb78={...(_0x52640f=(_0x2b52b7=_0x3fcda5[_0x1d185a(0x292)])==null?void 0x0:_0x2b52b7[_0x3ac8d1])==null?void 0x0:_0x52640f[_0x11e1c3]},_0xf1034a=(_0x97fda6=_0x151d5a[_0x3ac8d1])==null?void 0x0:_0x97fda6[_0x1d185a(0x2a3)],_0x1e8c85=_0x100524[_0xf1034a],_0x115036=_0x2b32da[_0xf1034a];_0x43cb78&&(_0x43cb78['v']=_0x58787d(_0x43cb78,_0x3ac8d1===0x0&&((_0x1989eb=_0x3fcda5[_0x1d185a(0x106)](_0x11e1c3+0x1))==null?void 0x0:_0x1989eb[_0x1d185a(0x16e)]),_0x1e8c85,_0x4e6adb));let _0x364b06;_0x1e8c85?_0x364b06={..._0x137cd6[_0x1d185a(0xca)],'n':{'pattern':_0x1e8c85}}:_0x364b06={..._0x137cd6[_0x1d185a(0xca)]},_0x22c9b8[_0x1d185a(0x14f)](_0x3ac8d1+_0x58d8c0,_0x11e1c3+_0x211620,_0x12a558(_0x389fe5,_0x43cb78,_0x364b06,_0x115036));}_0x3fcda5['info'][_0x11e1c3]&&(_0x4e10ad[''+(_0x11e1c3+_0x211620)]=_0x3fcda5[_0x1d185a(0x2c0)][_0x11e1c3]),_0x3fcda5[_0x1d185a(0x158)][_0x11e1c3+0x1]&&(_0x41518d[''+(_0x11e1c3+_0x58d8c0+0x1)]=_0x3fcda5[_0x1d185a(0x158)][_0x11e1c3+0x1]);}_0x58d8c0+=_0x5a289c;const _0x167987=_0x5556a3['headerMap'],_0x24c582=_0x5556a3[_0x1d185a(0x388)]()>=0x0?_0x5556a3['getLastRow']()+0x1:0x0,_0x5a8706=_0x5556a3[_0x1d185a(0xd1)]()>=0x0?_0x5556a3[_0x1d185a(0xd1)]()+0x1:0x0;for(let _0xccd6b9=0x0;_0xccd6b9<_0x24c582;_0xccd6b9++){for(let _0x1b9ca5=0x0;_0x1b9ca5<_0x5a8706;_0x1b9ca5++){const _0x4d63e7={...(_0x5b5baf=(_0x4526ff=_0x5556a3[_0x1d185a(0x292)])==null?void 0x0:_0x4526ff[_0xccd6b9])==null?void 0x0:_0x5b5baf[_0x1b9ca5]},_0x5d9533=(_0x15bb25=_0x167987[_0x1b9ca5])==null?void 0x0:_0x15bb25[_0x1d185a(0x2a3)],_0x35fbb9=_0x100524[_0x5d9533],_0x56c32e=_0x2b32da[_0x5d9533];_0x4d63e7&&(_0x4d63e7['v']=_0x58787d(_0x4d63e7,!0x1,_0x35fbb9,_0x4e6adb));let _0x551389;_0x5556a3[_0x1d185a(0x2c0)][_0xccd6b9][_0x1d185a(0x297)]===_0x5556a3[_0x1d185a(0x233)]()?_0x551389=_0x137cd6[_0x1d185a(0x244)]:_0x5556a3[_0x1d185a(0x2c0)][_0xccd6b9][_0x1d185a(0x167)]?_0x551389=_0x5556a3[_0x1d185a(0x2c0)][_0xccd6b9]['level']===0x0?_0x137cd6[_0x1d185a(0x3c2)]:_0x137cd6[_0x1d185a(0x2a9)]:_0x551389=_0x137cd6[_0x1d185a(0x2a2)],_0x35fbb9&&(_0x551389={..._0x551389,'n':{'pattern':_0x35fbb9}}),_0x22c9b8[_0x1d185a(0x14f)](_0xccd6b9+_0x58d8c0,_0x1b9ca5+_0x30651f,_0x12a558(_0x389fe5,_0x4d63e7,_0x551389,_0x56c32e));}_0x5556a3[_0x1d185a(0x2c0)][_0xccd6b9]&&(_0x47ea6b[''+(_0xccd6b9+_0x58d8c0)]=_0x5556a3['info'][_0xccd6b9]),_0x5556a3[_0x1d185a(0x158)][_0xccd6b9]&&(_0x48f484[''+(_0xccd6b9+_0x30651f)]=_0x5556a3[_0x1d185a(0x158)][_0xccd6b9]);}const _0x21bc31=_0x3b6d63[_0x1d185a(0x132)](),_0x33208e=_0x3b6d63['getColCount']();for(let _0x4ed348=0x0;_0x4ed348<_0x21bc31;_0x4ed348++)for(let _0x41a0a7=0x0;_0x41a0a7<_0x33208e;_0x41a0a7++){const _0x1b27c8={...(_0x232afd=(_0x91bd18=_0x3b6d63[_0x1d185a(0x292)])==null?void 0x0:_0x91bd18[_0x4ed348])==null?void 0x0:_0x232afd[_0x41a0a7]};let _0x753f44;_0x5556a3[_0x1d185a(0x2c0)][_0x4ed348]['isBottomTotal']?_0x753f44=_0x5556a3[_0x1d185a(0x2c0)][_0x4ed348][_0x1d185a(0x297)]===0x0?_0x137cd6[_0x1d185a(0x3c2)]:_0x137cd6['subTotalStyle']:_0x753f44=_0x137cd6[_0x1d185a(0x2e4)];const _0x32d07b=_0x5556a3['info'][_0x4ed348][_0x1d185a(0x2f6)],_0x1d6bac=_0x3fcda5['info'][_0x41a0a7][_0x1d185a(0x2f6)],_0x313983=Math[_0x1d185a(0x22b)](_0x32d07b,_0x1d6bac),_0x477b6c=_0x405ed4['fieldsConfig'][_0x1d185a(0x18f)][_0x1d185a(0x163)]();let _0xb82a9d='';_0x313983<0x0?_0xb82a9d=(_0x5cb26d=_0x477b6c[0x0])!=null?_0x5cb26d:'':_0xb82a9d=(_0x580362=_0x477b6c[_0x313983])!=null?_0x580362:'';const _0x34b593=_0x100524[_0xb82a9d];_0x34b593&&(_0x753f44={..._0x753f44,'n':{'pattern':_0x34b593}}),_0x22c9b8[_0x1d185a(0x14f)](_0x4ed348+_0x58d8c0,_0x41a0a7+_0x211620,_0x12a558(_0x389fe5,_0x1b27c8,_0x753f44));}return{'valueMatrix':_0x22c9b8,'rowInfo':_0x47ea6b,'colInfo':_0x4e10ad,'cornerInfo':_0x30553c,'rowHeaderMap':_0x48f484,'colHeaderMap':_0x41518d};};function _0x58787d(_0x3143aa,_0x409572,_0x427709,_0x49bf62){const _0x37e1a5=_0x1c787c;let _0x3bd2c3=_0x3143aa['v'];_0x409572&&(_0x3bd2c3=''+_0x49bf62[_0x37e1a5(0xd0)]);const _0x1bfe56=_0x3143aa['t']&&(_0x3143aa['t']&_0x175d11[_0x37e1a5(0x3e3)][_0x37e1a5(0x26e)])>0x0;_0x1bfe56&&(_0x3bd2c3=''+_0x49bf62[_0x37e1a5(0x33a)]);const _0x41c4cb=_0x3143aa['t']&&(_0x3143aa['t']&_0x175d11[_0x37e1a5(0x3e3)]['other'])>0x0;if(_0x41c4cb&&(_0x3bd2c3=''+_0x49bf62[_0x37e1a5(0x2e8)]),_0x3143aa['s']===_0x175d11[_0x37e1a5(0x274)][_0x37e1a5(0x11e)]){let _0xe219d1=_0x3bd2c3,_0x58d356='';_0x175d11['isPrefixValue'](_0x3bd2c3)&&(_0xe219d1=_0x3bd2c3[_0x37e1a5(0x20e)],_0x58d356=_0x3bd2c3[_0x37e1a5(0x175)]);const _0x573888=_0x427709&&!_0x1bfe56&&!_0x41c4cb?_0x177d6a[_0x37e1a5(0x3c6)][_0x37e1a5(0x1ed)](_0x427709,Number(_0xe219d1)):_0xe219d1;_0x58d356?_0x3bd2c3=_0x573888+'\x20'+_0x58d356:_0x3bd2c3=_0x573888+'\x20'+_0x49bf62[_0x37e1a5(0x248)];}else _0x3143aa['s']===_0x175d11['PivotCellStyleTypeEnum']['GrandTotal']&&(_0x3bd2c3=_0x3bd2c3+'\x20'+_0x49bf62[_0x37e1a5(0x1dd)]);return _0x3bd2c3;}function _0xcfe240(_0x5414a0){const _0x2d8594=_0x1c787c;if(_0x175d11['isErrorValue'](_0x5414a0)){const {errorType:_0x300bcb}=_0x5414a0;switch(_0x300bcb){case _0x175d11[_0x2d8594(0x157)]['Div0']:return _0x195fb3[_0x2d8594(0x1e9)][_0x2d8594(0x11b)];case _0x175d11[_0x2d8594(0x157)]['NotNumber']:return _0x195fb3[_0x2d8594(0x1e9)][_0x2d8594(0x1cf)];case _0x175d11[_0x2d8594(0x157)][_0x2d8594(0x360)]:return _0x195fb3[_0x2d8594(0x1e9)][_0x2d8594(0x3d0)];case _0x175d11[_0x2d8594(0x157)][_0x2d8594(0x121)]:return _0x195fb3[_0x2d8594(0x1e9)][_0x2d8594(0x3d0)];case _0x175d11['PivotErrorTypeEnum'][_0x2d8594(0x125)]:return _0x195fb3[_0x2d8594(0x1e9)][_0x2d8594(0xd9)];}}return _0x5414a0;}function _0x397824(_0x69ad26,_0xca7544,_0x30eaf8=!0x1,_0x18c7b4=!0x1){const _0x5a92ff=_0x1c787c,{data:_0x285a78}=_0xca7544,_0xf5f462=_0xca7544[_0x5a92ff(0x132)](),_0x1e60f8=_0xca7544[_0x5a92ff(0x233)]();if(_0xf5f462<=0x0||_0x1e60f8<=0x0)return[];const _0x4b3cdc=_0xca7544['getLastCol'](),_0x278881=_0xca7544[_0x5a92ff(0x388)](),_0x3c5f3a=_0x18c7b4?_0x278881>=0x0?_0x278881+0x1:0x0:_0xf5f462,_0x396865=_0x18c7b4?_0x4b3cdc>=0x0?_0x4b3cdc+0x1:0x0:_0x1e60f8,{row:_0x1ff026,col:_0x48be26}=_0x69ad26,_0x46c35e=_0x1ff026,_0x48e689=_0x48be26;if(_0x30eaf8){const _0x2c76ce=[];for(const [_0x1c5743,_0x41b11b]of Object[_0x5a92ff(0x1f7)](_0x285a78))for(const [_0x1c5ea4,_0xf84a7d]of Object['entries'](_0x41b11b))_0x2c76ce['push'](_0x177d6a['cellToRange'](_0x46c35e+Number(_0x1c5743),_0x48e689+Number(_0x1c5ea4)));return _0x2c76ce;}else{const _0xb10f5=_0x18c7b4?_0x3c5f3a>0x0?0x1:0x0:0x1,_0x17b3b5=_0x18c7b4?_0x396865>0x0?0x1:0x0:0x1,_0x17b999=_0x1ff026+_0x3c5f3a-_0xb10f5,_0x632a4=_0x48be26+_0x396865-_0x17b3b5;return[{'startRow':_0x46c35e,'startColumn':_0x48e689,'endRow':_0x17b999,'endColumn':_0x632a4}];}}const _0x318491=_0x1c787c(0x2fd),_0x4ac4b1='SHEET_PIVOT_EXCLUSIVE_ID';var _0x2b8e9a=(_0x3858eb=>(_0x3858eb[_0x1c787c(0x1bb)]='filter',_0x3858eb[_0x1c787c(0x1c7)]=_0x1c787c(0x21b),_0x3858eb[_0x1c787c(0x385)]='addPivotField',_0x3858eb[_0x1c787c(0xcd)]=_0x1c787c(0xcd),_0x3858eb['AddPivotTable']=_0x1c787c(0x3cd),_0x3858eb[_0x1c787c(0x372)]=_0x1c787c(0x2a7),_0x3858eb[_0x1c787c(0x1de)]='removePivotField',_0x3858eb['SetPivotCollapse']=_0x1c787c(0xe9),_0x3858eb[_0x1c787c(0x3be)]='setPivotFilter',_0x3858eb[_0x1c787c(0x3c9)]=_0x1c787c(0x270),_0x3858eb[_0x1c787c(0xc7)]=_0x1c787c(0x29c),_0x3858eb[_0x1c787c(0x194)]=_0x1c787c(0x348),_0x3858eb[_0x1c787c(0x3a6)]='updateValuePosition',_0x3858eb[_0x1c787c(0x2c7)]=_0x1c787c(0x32a),_0x3858eb[_0x1c787c(0x38b)]='setValuePivotFilter',_0x3858eb[_0x1c787c(0x3c5)]=_0x1c787c(0x260),_0x3858eb[_0x1c787c(0x36e)]=_0x1c787c(0x21f),_0x3858eb))(_0x2b8e9a||{});const _0x963fa1={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x1c787c(0x3d3),'sheets-pivot.grandTotalText':_0x1c787c(0x1a0),'sheets-pivot.valueText':_0x1c787c(0x1c5),'sheets-pivot.averageName':_0x1c787c(0x2e0),'sheets-pivot.countName':_0x1c787c(0x12c),'sheets-pivot.countNumsName':_0x1c787c(0x12c),'sheets-pivot.maxName':_0x1c787c(0x118),'sheets-pivot.minName':_0x1c787c(0x323),'sheets-pivot.productName':_0x1c787c(0x296),'sheets-pivot.stdDevName':_0x1c787c(0x2b9),'sheets-pivot.stdDevpName':_0x1c787c(0x377),'sheets-pivot.sumName':_0x1c787c(0x134),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0x1c787c(0x26d),'sheets-pivot.subTotal':_0x1c787c(0x11e),'sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':_0x1c787c(0x175),'sheets-pivot.blank':'blank','sheets-pivot.other':_0x1c787c(0x19e),'sheets-pivot.emptyPivot.filter':_0x1c787c(0x1bb),'sheets-pivot.emptyPivot.row':_0x1c787c(0xf0),'sheets-pivot.emptyPivot.column':'Column','sheets-pivot.emptyPivot.values':'Values'},_0x37e18f={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x3ba713=_0x177d6a[_0x1c787c(0x1c6)]('pivotPerformCheck'),_0x148d7f=_0x177d6a[_0x1c787c(0x14b)](_0x1c787c(0x2bd));var _0x23a0a5=(_0x144a5a=>(_0x144a5a['add']=_0x1c787c(0x202),_0x144a5a[_0x1c787c(0x113)]=_0x1c787c(0x113),_0x144a5a[_0x1c787c(0x305)]='update',_0x144a5a))(_0x23a0a5||{}),_0x5a4701=(_0x204d50=>(_0x204d50[_0x1c787c(0x201)]='add',_0x204d50['Set']=_0x1c787c(0xfa),_0x204d50[_0x1c787c(0x1a7)]=_0x1c787c(0x113),_0x204d50))(_0x5a4701||{});const _0x4c8972={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x38a)],'id':_0x1c787c(0x301),'handler':()=>!0x0},_0x585cbb={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x38a)],'id':_0x1c787c(0x36c),'handler':()=>!0x0},_0x16a7c0={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x38a)],'id':_0x1c787c(0x142),'handler':()=>!0x0},_0x4535fd={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x38a)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x224063={'type':_0x177d6a[_0x1c787c(0x196)]['MUTATION'],'id':_0x1c787c(0x2b0),'handler':()=>!0x0};var _0x4fffa3=Object[_0x1c787c(0x275)],_0x26410e=(_0x2b6003,_0x34a2c3,_0x44b51a,_0x36729c)=>{for(var _0x32d9c8=_0x36729c>0x1?void 0x0:_0x36729c?_0x4fffa3(_0x34a2c3,_0x44b51a):_0x34a2c3,_0x1db0c9=_0x2b6003['length']-0x1,_0x2c9dc7;_0x1db0c9>=0x0;_0x1db0c9--)(_0x2c9dc7=_0x2b6003[_0x1db0c9])&&(_0x32d9c8=_0x2c9dc7(_0x32d9c8)||_0x32d9c8);return _0x32d9c8;},_0x2d8ec0=(_0x3fcdac,_0x29952d)=>(_0x2291b3,_0x5976b6)=>_0x29952d(_0x2291b3,_0x5976b6,_0x3fcdac);_0x1ed859[_0x1c787c(0x206)]=class extends _0x177d6a[_0x1c787c(0x2c5)]{constructor(_0x4b1ee8){const _0x5902ce=_0x1c787c;super(),_0x117630(this,_0x5902ce(0x2ee),new Map()),this[_0x5902ce(0x397)]=_0x4b1ee8;}['handleAsyncResponse'](_0x5873b0){const _0x1137e9=_0x1c787c,{version:_0xbc850}=_0x5873b0,_0x38eee8=this['_requestResolvers'][_0x1137e9(0x3e4)](_0xbc850);_0x38eee8&&(_0x38eee8(_0x5873b0),this[_0x1137e9(0x2ee)]['delete'](_0xbc850));}[_0x1c787c(0x22c)](_0xd649f8){return new Promise((_0x236204,_0x491150)=>{const _0x20682d=_0x42d3,_0x35ea92=this['_generateUniqueVersion']();this[_0x20682d(0x2ee)][_0x20682d(0xfa)](_0x35ea92,_0x236204),this[_0x20682d(0x397)]['executeCommand'](_0x4c8972['id'],{'version':_0x35ea92,..._0xd649f8},{'onlyLocal':!0x0});});}[_0x1c787c(0x2bf)](){const _0x404aa8=_0x1c787c;return Math[_0x404aa8(0xdc)]()[_0x404aa8(0xce)](0x24)[_0x404aa8(0x15a)](0x2,0x10);}},_0x1ed859[_0x1c787c(0x206)]=_0x26410e([_0x2d8ec0(0x0,_0x177d6a[_0x1c787c(0x2d9)](_0x177d6a['ICommandService']))],_0x1ed859[_0x1c787c(0x206)]);const _0x33f69e={0x0:'u',0x1:'E',0x2:'W',0x3:'Z',0x4:'0',0x5:'B',0x6:'d',0x7:'m',0x8:'F',0x9:'D','E':'1','n':'2','g':'3','N':'4','f':'5','j':'6','S':'7','x':'8','C':'9','H':'a','u':'b','T':'c','O':'e','U':'f','K':'g','W':'h','I':'i','a':'j','X':'k','b':'l','z':'n','Q':'o','P':'p','L':'q','o':'r','l':'s','c':'t','q':'v','i':'w','p':'x','J':'y','d':'z','h':'A','r':'C','R':'G','Z':'H','Y':'I','y':'J','V':'K','e':'L','t':'M','G':'N','F':'O','s':'P','B':'Q','A':'R','D':'S','w':'T','k':'U','M':'V','m':'X','v':'Y'},_0x284c38=_0x1c787c(0x127),_0x180b67=_0xf8c380=>{const _0x42a85f=_0x1c787c;var _0x585274;return((_0x585274=_0xf8c380[_0x42a85f(0x12b)])==null?void 0x0:_0x585274[_0x42a85f(0x390)][_0x42a85f(0xf9)](/\r\n$/,''))||'';};class _0x5812a2 extends _0x175d11[_0x1c787c(0x28a)]{constructor(_0x4f1318,_0x329d29){const _0x2f447c=_0x1c787c;super(),_0x117630(this,'rangeKeyMap',{}),_0x117630(this,_0x2f447c(0x214)),_0x117630(this,_0x2f447c(0x35a)),(this[_0x2f447c(0x214)]=_0x329d29,this[_0x2f447c(0x35a)]=_0x4f1318);}['initDataRanges'](){const _0x406040=_0x1c787c;for(const _0x1f2576 in this[_0x406040(0x366)]){const _0x420008=this['dataFields'][_0x1f2576],_0x532bcc=_0x420008[_0x406040(0x22a)]();this['rangeKeyMap'][_0x532bcc]=_0x420008[_0x406040(0x24c)]();}}[_0x1c787c(0x130)](){const _0x3772b2=_0x1c787c,_0x45787f=this[_0x3772b2(0x35a)];return _0x198d3c[_0x3772b2(0x2c6)](_0x45787f);}[_0x1c787c(0x1db)](_0x1d572a){const _0x4e5385=_0x1c787c,_0x900306=this[_0x4e5385(0x366)][_0x1d572a][_0x4e5385(0x3ae)];delete this[_0x4e5385(0x366)][_0x1d572a],delete this[_0x4e5385(0x249)][_0x900306];}['addDataFieldWithoutUnitInfo'](_0x41e81f){const _0x41d8ae=_0x1c787c;this[_0x41d8ae(0x366)][_0x41e81f[_0x41d8ae(0x24c)]()]=_0x41e81f;}[_0x1c787c(0x15f)](_0x2f6c43){const _0xf716f2=_0x1c787c;var _0x2549d5,_0x754a5e;const _0x428ebb=this[_0xf716f2(0x35a)][_0xf716f2(0xdd)](_0x2f6c43);if(_0x428ebb){const {unitId:_0x91143e,subUnitId:_0x49840e}=_0x428ebb,_0x5071ec=(_0x2549d5=this[_0xf716f2(0x35a)]['getPivotTableConfig'](_0x91143e,_0x49840e,_0x2f6c43))==null?void 0x0:_0x2549d5['sourceRangeInfo'];this[_0xf716f2(0x35a)][_0xf716f2(0x124)]({'token':_0x2f6c43,'type':_0x23a0a5['delete'],'dataRangeInfo':_0x5071ec});}(_0x754a5e=this[_0xf716f2(0x16b)](_0x2f6c43))==null||_0x754a5e['dispose'](),delete this['collections'][_0x2f6c43];}[_0x1c787c(0x22a)](_0x3c183c,_0x3ec39a){const {sheetName:_0x279c77,unitId:_0x380dd2,range:_0x5d3c86}=_0x3c183c,{startRow:_0x82755,endRow:_0x32f956}=_0x5d3c86;return _0x195fb3['serializeRangeWithSpreadsheet'](_0x380dd2,_0x279c77,{'startRow':_0x82755,'endRow':_0x32f956,'startColumn':_0x3ec39a,'endColumn':_0x3ec39a});}[_0x1c787c(0x2c8)](_0x185880){const _0x58c8b5=_0x1c787c;return this[_0x58c8b5(0x366)][this[_0x58c8b5(0x249)][_0x185880]];}[_0x1c787c(0x23e)](_0x4c8fbf,_0x4b1d36){this['rangeKeyMap'][_0x4c8fbf]=_0x4b1d36;}['updateRangeKeyMap'](_0xc0a866,_0x5daedf){const _0x208e09=_0x1c787c;this[_0x208e09(0x249)][_0x5daedf]=this[_0x208e09(0x249)][_0xc0a866],delete this[_0x208e09(0x249)][_0xc0a866];}[_0x1c787c(0x169)](_0x21764d,_0x2d705d,_0x35a3f1,_0x519620){const _0x3a6f13=_0x1c787c,_0xb8cc13=new _0x175d11[(_0x3a6f13(0x15e))](this);_0xb8cc13[_0x3a6f13(0x32d)](_0x2d705d);const _0x3ec6f2=[];let _0x1ff05f=0x0;for(const _0x57124d of _0xb8cc13[_0x3a6f13(0x3cb)]){const _0x17948a=this[_0x3a6f13(0x22a)](_0x35a3f1,_0x1ff05f),_0x75f879=this[_0x3a6f13(0x366)][_0x57124d];_0x75f879&&(_0x75f879['rangeKey']=_0x17948a,this[_0x3a6f13(0x23e)](_0x17948a,_0x57124d),_0x3ec6f2[_0x3a6f13(0x1a2)]({'index':_0x1ff05f,'dataField':_0x75f879})),_0x1ff05f++;}return this[_0x3a6f13(0x119)](_0x21764d,_0xb8cc13,_0x35a3f1,_0x519620),{'collection':_0xb8cc13,'updateDataFieldList':_0x3ec6f2};}[_0x1c787c(0x293)](_0x1476ff,_0x5743b3){const _0x3dafe1=_0x1c787c;return _0x1476ff[_0x3dafe1(0xe1)]===_0x177d6a[_0x3dafe1(0x2ab)][_0x3dafe1(0x3da)]?{'startRow':0x0,'startColumn':_0x1476ff[_0x3dafe1(0x235)],'endRow':_0x5743b3[_0x3dafe1(0x132)]()-0x1,'endColumn':_0x1476ff[_0x3dafe1(0x2d3)]}:{'startRow':_0x1476ff[_0x3dafe1(0xc5)],'startColumn':_0x1476ff[_0x3dafe1(0x235)],'endRow':_0x1476ff[_0x3dafe1(0x31c)],'endColumn':_0x1476ff[_0x3dafe1(0x2d3)]};}[_0x1c787c(0x2ba)](_0x156b44){const _0x477f66=_0x1c787c,{sheetName:_0x17e79c,range:_0x975c82}=_0x156b44,_0x217cb8=this[_0x477f66(0x214)][_0x477f66(0x37d)](_0x177d6a[_0x477f66(0x238)][_0x477f66(0x217)]),_0x431c09=_0x217cb8[_0x477f66(0x1f3)](_0x17e79c),_0x12bb1a=_0x431c09[_0x477f66(0x154)](),{startColumn:_0x413785,startRow:_0x4691bf,endColumn:_0x46e148}=this[_0x477f66(0x293)](_0x975c82,_0x431c09),_0x2028ed=_0x217cb8[_0x477f66(0x39a)](),_0x5f03b4=new _0x175d11[(_0x477f66(0x15e))](this);_0x5f03b4[_0x477f66(0x10d)](_0x156b44);const _0xa538f3=[],_0x48fb33={};for(let _0x56d73b=_0x413785;_0x56d73b<=_0x46e148;_0x56d73b++){const _0x554c16=_0x12bb1a[_0x477f66(0x33d)](_0x4691bf,_0x56d73b),_0x2949c7=this['getRangeKey'](_0x156b44,_0x56d73b),_0x235f5e=this[_0x477f66(0x2c8)](_0x2949c7);if(_0x235f5e)_0x5f03b4['addField'](_0x235f5e[_0x477f66(0x24c)](),_0x235f5e['getName']());else{const _0x569bb8=this[_0x477f66(0x24b)]();let _0x4279d3=this[_0x477f66(0x24a)](_0x554c16,_0x2028ed,_0x48fb33);_0x175d11['isDateValue'](_0x4279d3)&&(_0x4279d3=_0x177d6a[_0x477f66(0x3c6)]['format'](_0x4279d3['f'],Number(_0x4279d3['v'])));const _0xa44cc4=this[_0x477f66(0x278)](_0x4279d3,_0x56d73b),_0x4dfa38=new _0x175d11[(_0x477f66(0x2f0))](_0x569bb8,_0xa44cc4,_0x175d11[_0x477f66(0x35c)](0x3));_0x4dfa38[_0x477f66(0x3ae)]=_0x2949c7,this['dataFields'][_0x569bb8]=_0x4dfa38,_0x5f03b4['addField'](_0x569bb8,_0xa44cc4),_0xa538f3[_0x477f66(0x1a2)]({'index':_0x56d73b,'dataField':_0x4dfa38});}}return{'updateDataFieldList':_0xa538f3,'collection':_0x5f03b4};}[_0x1c787c(0x20f)](_0x209c1b){const _0x908b40=_0x1c787c;return this[_0x908b40(0x35a)][_0x908b40(0x276)]()[_0x908b40(0x337)]+'\x20'+_0x177d6a[_0x908b40(0x3de)](_0x209c1b);}['uniqueDataFieldName'](_0x8f5b08,_0x4e9ca7){const _0x38414f=_0x1c787c;return _0x8f5b08==null||_0x8f5b08===''?this[_0x38414f(0x20f)](_0x4e9ca7):String(_0x8f5b08);}[_0x1c787c(0x16b)](_0x13feed){const _0x5913d0=_0x1c787c;return this[_0x5913d0(0x145)][_0x13feed];}['addCollection'](_0x20d6a2,_0x5691be,_0x5270fc,_0x4eab15){const _0x2f85e5=_0x1c787c;this[_0x2f85e5(0x145)][_0x20d6a2]=_0x5691be,_0x5691be[_0x2f85e5(0x10d)](_0x5270fc),this[_0x2f85e5(0x35a)][_0x2f85e5(0x124)]({'token':_0x20d6a2,'type':_0x23a0a5[_0x2f85e5(0x202)],'dataRangeInfo':_0x5270fc,'targetCellInfo':_0x4eab15});}['handleMoveRange'](_0x31f468,_0x5604ef){const _0x26530b=_0x1c787c,_0xf7652f=this[_0x26530b(0x16b)](_0x31f468),_0x4e24ce=_0xf7652f[_0x26530b(0x189)]();let _0x121b09=0x0;for(const _0x229ed6 of _0x4e24ce){const _0x2432cf=_0xf7652f['getFieldById'](_0x229ed6),_0x571ab9=this['getRangeKey'](_0x5604ef,_0x121b09);this[_0x26530b(0x2cb)](_0x2432cf['rangeKey'],_0x571ab9),_0x121b09++;}}[_0x1c787c(0x17c)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x1c787c(0x129)](_0x5aad4e,_0xe3740a){const _0xcf0ccd=_0x1c787c;if(this['getCollection'](_0x5aad4e)){const _0x230e64=this[_0xcf0ccd(0x224)](_0xe3740a),_0x4d1467=[];for(const _0x33e057 of _0x230e64)this[_0xcf0ccd(0x249)][_0x33e057]!==void 0x0&&_0x4d1467['push'](this[_0xcf0ccd(0x249)][_0x33e057]);const _0x4c05e7=this[_0xcf0ccd(0x346)](_0x5aad4e),_0x4a19d8=[],_0x3bfa41=new Set(_0x4d1467);for(const _0x1a8628 of _0x4c05e7)_0x3bfa41['has'](_0x1a8628)||_0x4a19d8[_0xcf0ccd(0x1a2)](_0x1a8628);return _0x4a19d8;}}[_0x1c787c(0x105)](_0x44ecfa,_0x48e944,_0x3d07ba,_0x53e00f,_0x345cf3){const _0x3b8d6d=_0x1c787c;return _0x48e944&&_0x48e944[_0x3b8d6d(0x33d)](_0x53e00f,_0x345cf3)?_0x48e944['getValue'](_0x53e00f,_0x345cf3):_0x3d07ba&&_0x3d07ba[_0x3b8d6d(0x33d)](_0x53e00f,_0x345cf3)?_0x3d07ba['getValue'](_0x53e00f,_0x345cf3):_0x44ecfa[_0x3b8d6d(0x33d)](_0x53e00f,_0x345cf3);}[_0x1c787c(0x1be)](_0x21dcf6,_0x484262,_0x149335,_0x29a43a){const _0x568725=_0x1c787c,_0x1873fe=this[_0x568725(0x366)][_0x21dcf6];if(!_0x1873fe)return;const {subUnitId:_0x2e9315,range:_0xc831b,unitId:_0x56a78f}=_0x484262,_0x55e234=this[_0x568725(0x214)][_0x568725(0x16a)](_0x56a78f);if(!_0x55e234){console['error'](_0x568725(0x199));return;}const _0x1ad4c2=_0x55e234['getSheetBySheetId'](_0x2e9315),_0x304da9=_0x1ad4c2['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x4afe82,unitDataMatrix:_0x585de7}=_0x29a43a||{},{startRow:_0x20b104,startColumn:_0x3b75b9,endRow:_0x15dc3d}=this[_0x568725(0x293)](_0xc831b,_0x1ad4c2);_0x1873fe[_0x568725(0x168)]();const _0x3a2f22=_0x55e234['getStyles'](),_0x185c87={},_0x49cabe=this[_0x568725(0x105)](_0x304da9,_0x4afe82,_0x585de7,_0x20b104,_0x3b75b9+_0x149335);let _0x43d682=this[_0x568725(0x24a)](_0x49cabe,_0x3a2f22,_0x185c87);_0x175d11[_0x568725(0x1d2)](_0x43d682)&&(_0x43d682=_0x177d6a[_0x568725(0x3c6)][_0x568725(0x1ed)](_0x43d682['f'],Number(_0x43d682['v'])));const _0x28e75c=this[_0x568725(0x278)](_0x43d682,_0x3b75b9+_0x149335);_0x1873fe[_0x568725(0x327)](_0x28e75c);for(let _0x52fdd3=_0x20b104+0x1;_0x52fdd3<=_0x15dc3d;_0x52fdd3++){const _0x435f03=this[_0x568725(0x105)](_0x304da9,_0x4afe82,_0x585de7,_0x52fdd3,_0x3b75b9+_0x149335);_0x1873fe[_0x568725(0x2f7)](this['adjustSheetCellData'](_0x435f03,_0x3a2f22,_0x185c87),_0x52fdd3-0x1-_0x20b104);}}[_0x1c787c(0x172)](_0x95e014,_0x3843e,_0x9ac139){const _0x51ec84=_0x1c787c,{subUnitId:_0xdf5bd0,range:_0x55e3b8,unitId:_0x14e766}=_0x9ac139,_0x4b78ca=this[_0x51ec84(0x214)]['getUnit'](_0x14e766);if(!_0x4b78ca){console[_0x51ec84(0x2cc)](_0x51ec84(0x199));return;}const _0x2a9da3=_0x4b78ca[_0x51ec84(0x29a)](_0xdf5bd0),_0x20353a=_0x2a9da3[_0x51ec84(0x154)](),{startRow:_0x4b6223,startColumn:_0x4acb1f,endRow:_0x380b52}=this[_0x51ec84(0x293)](_0x55e3b8,_0x2a9da3),_0x1cdcf0=_0x4b78ca[_0x51ec84(0x39a)](),_0x52ae5d={};for(const {dataField:_0x317738,index:_0x5c0ab3}of _0x3843e){_0x317738['reset']();const _0x796c48=this[_0x51ec84(0x105)](_0x20353a,void 0x0,void 0x0,_0x4b6223,_0x4acb1f+_0x5c0ab3);let _0xa12993=this[_0x51ec84(0x24a)](_0x796c48,_0x1cdcf0,_0x52ae5d);_0x175d11['isDateValue'](_0xa12993)&&(_0xa12993=_0x177d6a['numfmt']['format'](_0xa12993['f'],Number(_0xa12993['v'])));const _0x3449b6=this[_0x51ec84(0x278)](_0xa12993,_0x4acb1f+_0x5c0ab3);_0x317738[_0x51ec84(0x327)](_0x3449b6);}_0x95e014[_0x51ec84(0x307)]();for(let _0x30f694=_0x4b6223+0x1;_0x30f694<=_0x380b52;_0x30f694++)for(const {index:_0x58940f,dataField:_0x10cd54}of _0x3843e){const _0x510693=_0x20353a[_0x51ec84(0x33d)](_0x30f694,_0x4acb1f+_0x58940f);_0x10cd54['addRecord'](this[_0x51ec84(0x24a)](_0x510693,_0x1cdcf0,_0x52ae5d),_0x30f694-0x1-_0x4b6223);}_0x95e014[_0x51ec84(0x3a7)](_0x380b52-_0x4b6223);}[_0x1c787c(0x224)](_0x257733){const _0x134859=_0x1c787c,{range:_0x37b90a}=_0x257733,{startColumn:_0x3a5dc5,endColumn:_0x312c80}=_0x37b90a,_0x506c81=[];for(let _0x20832c=_0x3a5dc5;_0x20832c<=_0x312c80;_0x20832c++)_0x506c81[_0x134859(0x1a2)](this['getRangeKey'](_0x257733,_0x20832c));return _0x506c81;}['adjustSheetCellData'](_0x43ff70,_0x283846,_0x39e0fd){const _0x15de17=_0x1c787c;if(_0x43ff70){const {s:_0xd2e7f6,v:_0x2417c0,t:_0x40329a,p:_0x3002b4}=_0x43ff70;if(_0x3002b4)return _0x180b67(_0x3002b4);const _0x33ff88=_0x283846[_0x15de17(0x3e4)](_0xd2e7f6);if(_0x33ff88&&_0x40329a===_0x177d6a[_0x15de17(0x13d)][_0x15de17(0x1c9)]&&_0x33ff88['n']){const {pattern:_0x207638}=_0x33ff88['n'];_0x39e0fd[_0x207638]||(_0x39e0fd[_0x207638]=_0x177d6a['numfmt'][_0x15de17(0x188)](_0x207638));const _0x3a4c08=_0x39e0fd[_0x207638],_0x258f3d=_0x3a4c08['isDate'];if(_0x3a4c08['isText'])return String(_0x2417c0);if(_0x258f3d)return{'v':_0x2417c0,'f':_0x207638};}if(_0x40329a===_0x177d6a[_0x15de17(0x13d)]['NUMBER'])return Number(_0x2417c0);if(_0x40329a===_0x177d6a[_0x15de17(0x13d)][_0x15de17(0x2f5)]||_0x40329a===_0x177d6a[_0x15de17(0x13d)][_0x15de17(0x279)])return String(_0x2417c0);if(_0x40329a===void 0x0){const _0x471fc5=Number(_0x2417c0);if(!Number[_0x15de17(0x1ff)](_0x471fc5)&&String(_0x471fc5)===_0x2417c0)return _0x471fc5;}return _0x2417c0!=null?_0x2417c0:null;}else return null;}['getRangeData'](_0x43f310){const _0x540eb4=_0x1c787c,{sheetName:_0x194a93,range:_0x58bfaf,unitId:_0x4680c6}=_0x43f310,_0x7ab962=this[_0x540eb4(0x214)]['getUnit'](_0x4680c6);if(!_0x7ab962)return console[_0x540eb4(0x2cc)](_0x540eb4(0x199)),{'header':[],'data':[]};const _0x62215e=_0x7ab962['getSheetBySheetName'](_0x194a93),_0x191400=_0x62215e[_0x540eb4(0x154)](),{startRow:_0x1a911c,startColumn:_0x5689f4,endRow:_0x1693a8,endColumn:_0x45787c}=this[_0x540eb4(0x293)](_0x58bfaf,_0x62215e),_0x4e5f5c=_0x7ab962['getStyles'](),_0x131c4d=[],_0x1c61cb=[],_0x269442={};for(let _0x3fd9bd=_0x1a911c;_0x3fd9bd<=_0x1693a8;_0x3fd9bd++){const _0x35782b=[];for(let _0x37532e=_0x5689f4;_0x37532e<=_0x45787c;_0x37532e++){const _0x39b861=_0x191400[_0x540eb4(0x33d)](_0x3fd9bd,_0x37532e);_0x3fd9bd===_0x1a911c?_0x131c4d['push'](_0x39b861==null?null:String(_0x39b861['v'])):_0x35782b['push'](this['adjustSheetCellData'](_0x39b861,_0x4e5f5c,_0x269442));}_0x1c61cb['push'](_0x35782b);}return{'header':_0x131c4d,'data':_0x1c61cb};}[_0x1c787c(0x32b)](){const _0x11b59a=_0x1c787c;return super[_0x11b59a(0x32b)]();}['fromJSON'](_0x117f3c){const _0x454479=_0x1c787c;super['fromJSON'](_0x117f3c),this[_0x454479(0x171)]();}[_0x1c787c(0x11f)](){const _0x5a2666=_0x1c787c;super[_0x5a2666(0x11f)](),this[_0x5a2666(0x249)]={},this[_0x5a2666(0x35a)]=null;}}const _0x4fcfcc=_0x3e7216=>{const _0x4a881b=_0x1c787c,{targetCellInfo:_0x2b4d02}=_0x3e7216,{matrixCache:_0x11ab31,rangesCache:_0x5a14ed}=_0x5ea28a({'filter':_0x4a881b(0x1bb),'row':'Row','column':_0x4a881b(0x3ca),'values':_0x4a881b(0x308)},_0x2b4d02),_0x36adcb=new _0x177d6a[(_0x4a881b(0xf7))]();return _0x11ab31[_0x4a881b(0xe2)]((_0xdf89e6,_0x587f23,_0x480d47)=>{const _0x4417a3=_0x4a881b;_0x36adcb[_0x4417a3(0x14f)](_0xdf89e6,_0x587f23,_0x480d47);}),{'matrix':_0x36adcb,'rangesCache':_0x5a14ed};},_0xb3f27f=_0x5ee3db=>{const _0x38a2a8=_0x1c787c;let _0x1b9a97;if(_0x5ee3db!=null&&_0x5ee3db['v']||(_0x5ee3db==null?void 0x0:_0x5ee3db['v'])===0x0){_0x1b9a97||(_0x1b9a97={});const _0x7382b=_0xcfe240(_0x5ee3db['v']);typeof _0x7382b==_0x38a2a8(0x1ea)?_0x1b9a97['t']=_0x177d6a[_0x38a2a8(0x13d)][_0x38a2a8(0x1c9)]:typeof _0x7382b==_0x38a2a8(0x355)&&(_0x1b9a97['t']=_0x177d6a[_0x38a2a8(0x13d)][_0x38a2a8(0x2f5)]),_0x1b9a97['v']=_0x7382b;}return _0x1b9a97;},_0x3ef7db=(_0x380b70,_0x3b26a8,_0x117347)=>{const _0x47e976=_0x1c787c;var _0x5ec573,_0xfb71ec,_0x11bc8b,_0x13bafb,_0x26391d,_0x5cf740,_0x13ed6b,_0x307364,_0x24a20c,_0x2fd687,_0x5e65be,_0x10c4b1;const {cornerView:_0x1a3398,rowView:_0x117c77,colView:_0x57a1ed,dataView:_0x11ed39,pageView:_0x14c1e2,formatMap:_0x3eb861}=_0x380b70,{row:_0x3ef37d,col:_0x2897bf}=_0x3b26a8,_0x27b935=new _0x177d6a[(_0x47e976(0xf7))]();let _0x193b7c=_0x3ef37d,_0x3a03e8=_0x2897bf;Object[_0x47e976(0x1fc)](_0x14c1e2[_0x47e976(0x292)])[_0x47e976(0xe3)](_0x3903d0=>{const _0xf88c7d=_0x47e976;Object[_0xf88c7d(0x1fc)](_0x14c1e2['data'][Number(_0x3903d0)])[_0xf88c7d(0xe3)](_0x485175=>{const _0x34d4a9=_0xf88c7d,_0x1c0329={..._0x14c1e2['data'][Number(_0x3903d0)][Number(_0x485175)]};_0x27b935[_0x34d4a9(0x14f)](Number(_0x3903d0)+_0x193b7c,Number(_0x485175)+_0x3a03e8,_0xb3f27f(_0x1c0329));});});const _0x5680a1=Object[_0x47e976(0x1fc)](_0x14c1e2[_0x47e976(0x292)])[_0x47e976(0x10f)];_0x193b7c+=_0x5680a1+(_0x5680a1?_0x2afc20:0x0);const _0x4d63c9=_0x1a3398[_0x47e976(0x132)](),_0x31ae20=_0x1a3398[_0x47e976(0x233)]();for(let _0x52bf80=0x0;_0x52bf80<_0x4d63c9;_0x52bf80++)for(let _0x463b2b=0x0;_0x463b2b<_0x31ae20;_0x463b2b++){const _0x48a0f0={...(_0xfb71ec=(_0x5ec573=_0x1a3398[_0x47e976(0x292)])==null?void 0x0:_0x5ec573[_0x52bf80])==null?void 0x0:_0xfb71ec[_0x463b2b]};_0x48a0f0&&((_0x11bc8b=_0x117c77[_0x47e976(0x158)][_0x463b2b])!=null&&_0x11bc8b[_0x47e976(0x16e)])&&_0x463b2b===_0x31ae20-0x1&&_0x52bf80===_0x4d63c9-0x1&&(_0x48a0f0['v']=''+_0x117347[_0x47e976(0xd0)]),_0x27b935[_0x47e976(0x14f)](_0x52bf80+_0x193b7c,_0x463b2b+_0x3a03e8,_0xb3f27f(_0x48a0f0));}_0x3a03e8+=_0x31ae20;const _0x197e94=_0x57a1ed['headerMap'],_0x35f536=_0x57a1ed['getLastRow']()>=0x0?_0x57a1ed['getLastRow']()+0x1:0x0,_0xa6dce=_0x57a1ed['getLastCol']()>=0x0?_0x57a1ed[_0x47e976(0xd1)]()+0x1:0x0;for(let _0x5233f4=0x0;_0x5233f4<_0xa6dce;_0x5233f4++)for(let _0x6a3276=0x0;_0x6a3276<_0x35f536;_0x6a3276++){const _0x475ad8={...(_0x26391d=(_0x13bafb=_0x57a1ed['data'])==null?void 0x0:_0x13bafb[_0x5233f4])==null?void 0x0:_0x26391d[_0x6a3276]},_0x148ff7=(_0x5cf740=_0x197e94[_0x5233f4])==null?void 0x0:_0x5cf740['tableFieldId'],_0x4e6756=_0x3eb861[_0x148ff7];_0x475ad8&&(_0x475ad8['v']=_0x58787d(_0x475ad8,_0x5233f4===0x0&&((_0x13ed6b=_0x57a1ed[_0x47e976(0x106)](_0x6a3276+0x1))==null?void 0x0:_0x13ed6b[_0x47e976(0x16e)]),_0x4e6756,_0x117347)),_0x27b935[_0x47e976(0x14f)](_0x5233f4+_0x193b7c,_0x6a3276+_0x3a03e8,_0xb3f27f(_0x475ad8));}_0x193b7c+=_0x4d63c9;const _0x35c4ab=_0x117c77[_0x47e976(0x158)],_0x4000da=_0x117c77[_0x47e976(0x388)]()>=0x0?_0x117c77[_0x47e976(0x388)]()+0x1:0x0,_0x1f3772=_0x117c77['getLastCol']()>=0x0?_0x117c77['getLastCol']()+0x1:0x0;for(let _0x6a84fc=0x0;_0x6a84fc<_0x4000da;_0x6a84fc++)for(let _0x2b7f0b=0x0;_0x2b7f0b<_0x1f3772;_0x2b7f0b++){const _0x3aea6a={...(_0x24a20c=(_0x307364=_0x117c77[_0x47e976(0x292)])==null?void 0x0:_0x307364[_0x6a84fc])==null?void 0x0:_0x24a20c[_0x2b7f0b]},_0x1d6a73=(_0x2fd687=_0x35c4ab[_0x2b7f0b])==null?void 0x0:_0x2fd687[_0x47e976(0x2a3)],_0x41e925=_0x3eb861[_0x1d6a73];_0x3aea6a&&(_0x3aea6a['v']=_0x58787d(_0x3aea6a,!0x1,_0x41e925,_0x117347)),_0x27b935['setValue'](_0x6a84fc+_0x193b7c,_0x2b7f0b+_0x2897bf,_0xb3f27f(_0x3aea6a));}const _0x3e4408=_0x11ed39['getRowCount'](),_0x411c8e=_0x11ed39[_0x47e976(0x233)]();for(let _0x261efb=0x0;_0x261efb<_0x3e4408;_0x261efb++)for(let _0x137ec7=0x0;_0x137ec7<_0x411c8e;_0x137ec7++){const _0x1b3876={...(_0x10c4b1=(_0x5e65be=_0x11ed39['data'])==null?void 0x0:_0x5e65be[_0x261efb])==null?void 0x0:_0x10c4b1[_0x137ec7]};_0x27b935[_0x47e976(0x14f)](_0x261efb+_0x193b7c,_0x137ec7+_0x3a03e8,_0xb3f27f(_0x1b3876));}return _0x27b935;},_0x2be3a7=_0x3d9a87=>{const _0x4e8de6=_0x1c787c,{view:_0x382165,targetCellInfo:_0x26e6e9,isEmpty:_0x6f5d82,textInfo:_0x8604e6}=_0x3d9a87;if(_0x6f5d82)return _0x4fcfcc(_0x3d9a87);const {pageView:_0x4b9e2e,cornerView:_0x371ccc,rowView:_0x375b8d,colView:_0x9d5165,dataView:_0x19fa19}=_0x382165,_0x51231d=_0x397824(_0x26e6e9,_0x4b9e2e,!0x0),_0x109e0e=_0x4b9e2e[_0x4e8de6(0x30e)]>=0x0?_0x4b9e2e[_0x4e8de6(0x30e)]+0x1:0x0,_0x2818dc=_0x371ccc[_0x4e8de6(0x132)](),_0x2281d9=_0x371ccc[_0x4e8de6(0x233)](),_0x229a67=_0x51231d[_0x4e8de6(0x10f)]>0x0?_0x2afc20:0x0,_0x170139=_0x397824({'row':_0x26e6e9[_0x4e8de6(0x2e7)]+_0x109e0e+_0x229a67,'col':_0x26e6e9[_0x4e8de6(0x368)]},_0x371ccc,!0x1,!0x1),_0x456fa3=_0x397824({'row':_0x26e6e9[_0x4e8de6(0x2e7)]+_0x109e0e+_0x229a67+_0x2818dc,'col':_0x26e6e9[_0x4e8de6(0x368)]},_0x375b8d,!0x1,!0x0),_0x48e844=_0x397824({'row':_0x26e6e9[_0x4e8de6(0x2e7)]+_0x109e0e+_0x229a67,'col':_0x26e6e9[_0x4e8de6(0x368)]+_0x2281d9},_0x9d5165,!0x1,!0x0),_0x577a55=_0x397824({'row':_0x26e6e9[_0x4e8de6(0x2e7)]+_0x109e0e+_0x229a67+_0x2818dc,'col':_0x26e6e9[_0x4e8de6(0x368)]+_0x2281d9},_0x19fa19,!0x1,!0x1),_0x3d5931={'rowRanges':_0x456fa3,'colRanges':_0x48e844,'cornerRanges':_0x170139,'dataRanges':_0x577a55,'pageRanges':_0x51231d};return{'matrix':_0x3ef7db(_0x382165,_0x26e6e9,_0x8604e6),'rangesCache':_0x3d5931};};var _0x550916=Object[_0x1c787c(0x275)],_0x31ca8d=(_0x3f381,_0x52efd9,_0x833395,_0x41574a)=>{const _0xe06eee=_0x1c787c;for(var _0x4d3b9b=_0x41574a>0x1?void 0x0:_0x41574a?_0x550916(_0x52efd9,_0x833395):_0x52efd9,_0x4907c1=_0x3f381[_0xe06eee(0x10f)]-0x1,_0x2333a4;_0x4907c1>=0x0;_0x4907c1--)(_0x2333a4=_0x3f381[_0x4907c1])&&(_0x4d3b9b=_0x2333a4(_0x4d3b9b)||_0x4d3b9b);return _0x4d3b9b;},_0x223f2f=(_0x585054,_0x241ea4)=>(_0x104dab,_0x57e6be)=>_0x241ea4(_0x104dab,_0x57e6be,_0x585054);_0x1ed859[_0x1c787c(0x1af)]=class extends _0x177d6a['Disposable']{constructor(_0xa5b117,_0x240cef,_0x396899,_0x4fe1ea,_0x3dc612){const _0x217273=_0x1c787c;super(),_0x117630(this,'_model',new Map()),_0x117630(this,_0x217273(0x144),new Map()),_0x117630(this,_0x217273(0x192),new Map()),_0x117630(this,_0x217273(0x1fe)),_0x117630(this,_0x217273(0x115),new _0x2d0b5f[(_0x217273(0x222))]()),_0x117630(this,_0x217273(0x1a5),this[_0x217273(0x115)]['asObservable']()),_0x117630(this,_0x217273(0x1c8),new _0x2d0b5f[(_0x217273(0x222))]()),_0x117630(this,'viewData$',this[_0x217273(0x1c8)][_0x217273(0x14a)]()),_0x117630(this,_0x217273(0x2c1),new _0x2d0b5f[(_0x217273(0x222))]()),_0x117630(this,_0x217273(0x35e),this['_fieldsCollectionChange$'][_0x217273(0x14a)]()),_0x117630(this,'_dataFieldManagerCollection',new Map()),_0x117630(this,'needSameDeleteModel',[]),_0x117630(this,'_queryingMap',new Map()),(this[_0x217273(0x343)]=_0xa5b117,this[_0x217273(0x214)]=_0x240cef,this[_0x217273(0x3e2)]=_0x396899,this[_0x217273(0x397)]=_0x4fe1ea,this['_resourceManagerService']=_0x3dc612,this[_0x217273(0xd4)]());}[_0x1c787c(0x276)](){const _0x4bdb6e=_0x1c787c;return this[_0x4bdb6e(0x1fe)]?this[_0x4bdb6e(0x1fe)]:_0x963fa1;}[_0x1c787c(0x253)](_0x431435){this['_textInfo']=_0x431435;}[_0x1c787c(0x394)](_0x9ad737){const _0x32adad=_0x1c787c;var _0x406574;const {from:_0x5c6032,to:_0x393707,unitId:_0x2884c1,fromRange:_0x5cf3f4,toRange:_0x2bbc0d}=_0x9ad737;if(_0x5c6032&&_0x393707){const _0x2d1cb6=this['getDataFieldManager'](_0x2884c1),_0x272f93=this[_0x32adad(0x126)][_0x32adad(0x3e4)](_0x2884c1),_0xe9f82c=(_0x406574=this[_0x32adad(0x214)][_0x32adad(0x16a)](_0x2884c1))==null?void 0x0:_0x406574[_0x32adad(0x29a)](_0x393707['subUnitId']);if(!_0x272f93||!_0xe9f82c)return;const _0x308e02=_0xe9f82c==null?void 0x0:_0xe9f82c[_0x32adad(0x2b5)]();for(const [_0x365649,_0x57ad38]of _0x272f93[_0x32adad(0x1f7)]())for(const [_0x870ab5,_0x1ce667]of _0x57ad38[_0x32adad(0x1f7)]()){const {sourceRangeInfo:_0x1709da}=_0x1ce667;if(_0x1709da[_0x32adad(0x283)]===_0x2884c1&&_0x1709da[_0x32adad(0x27d)]===_0x5c6032[_0x32adad(0x27d)]&&_0x177d6a[_0x32adad(0x2e2)][_0x32adad(0x295)](_0x5cf3f4,_0x1709da[_0x32adad(0x138)])){const _0x4d4b26={'row':_0x1709da[_0x32adad(0x138)][_0x32adad(0xc5)]-_0x5cf3f4['startRow'],'col':_0x1709da[_0x32adad(0x138)][_0x32adad(0x235)]-_0x5cf3f4[_0x32adad(0x235)]},_0x45b46e={'unitId':_0x2884c1,'subUnitId':_0x393707[_0x32adad(0x27d)],'sheetName':_0x308e02,'range':{'startRow':_0x2bbc0d[_0x32adad(0xc5)]+_0x4d4b26[_0x32adad(0x2e7)],'endRow':_0x2bbc0d[_0x32adad(0xc5)]+_0x4d4b26[_0x32adad(0x2e7)]+_0x1709da[_0x32adad(0x138)][_0x32adad(0x31c)]-_0x1709da[_0x32adad(0x138)][_0x32adad(0xc5)],'startColumn':_0x2bbc0d[_0x32adad(0x235)]+_0x4d4b26[_0x32adad(0x368)],'endColumn':_0x2bbc0d['startColumn']+_0x4d4b26[_0x32adad(0x368)]+_0x1709da[_0x32adad(0x138)][_0x32adad(0x2d3)]-_0x1709da[_0x32adad(0x138)][_0x32adad(0x235)]}};_0x2d1cb6[_0x32adad(0x394)](_0x870ab5,_0x45b46e);const _0x2bfdea={..._0x1ce667,'sourceRangeInfo':_0x45b46e};this[_0x32adad(0x219)](_0x2884c1,_0x393707[_0x32adad(0x27d)],_0x870ab5,_0x2bfdea),this[_0x32adad(0x124)]({'unitId':_0x2884c1,'token':_0x870ab5,'type':_0x23a0a5[_0x32adad(0x305)],'oldSourceRangeInfo':_0x1709da,'dataRangeInfo':_0x45b46e,'targetCellInfo':_0x1ce667[_0x32adad(0x30d)]}),this['updateConfig']({'unitId':_0x2884c1,'subUnitId':_0x393707[_0x32adad(0x27d)],'oldSubUnitId':_0x365649,'pivotTableId':_0x870ab5,'pivotTableConfig':_0x2bfdea,'collectionConfig':_0x2d1cb6[_0x32adad(0x32b)]()});}}}}[_0x1c787c(0x124)](_0x13893b){const _0x7ef5da=_0x1c787c;this['_collectionChange$'][_0x7ef5da(0x31b)](_0x13893b);}['getDataFieldManager'](_0x14ef8e){const _0xff0b73=_0x1c787c;let _0x1c4ee2=this[_0xff0b73(0x314)][_0xff0b73(0x3e4)](_0x14ef8e);return _0x1c4ee2||(_0x1c4ee2=new _0x5812a2(this,this[_0xff0b73(0x214)]),this[_0xff0b73(0x314)]['set'](_0x14ef8e,_0x1c4ee2)),_0x1c4ee2;}[_0x1c787c(0x16b)](_0x297f34,_0x3cadf6){const _0x51705b=_0x1c787c;return this[_0x51705b(0x35d)](_0x297f34)[_0x51705b(0x145)][_0x3cadf6];}[_0x1c787c(0x129)](_0x5e8d04,_0x17a998,_0x2be7c1){const _0x3ef00f=_0x1c787c;return this[_0x3ef00f(0x35d)](_0x5e8d04)[_0x3ef00f(0x129)](_0x17a998,_0x2be7c1);}['_ensurePivotMap'](_0x4898ce,_0x2cf404){const _0x1465da=_0x1c787c;let _0x3e7539=this[_0x1465da(0x126)]['get'](_0x4898ce);_0x3e7539||(_0x3e7539=new Map(),this[_0x1465da(0x126)][_0x1465da(0xfa)](_0x4898ce,_0x3e7539));let _0x57c3a1=_0x3e7539['get'](_0x2cf404);return _0x57c3a1||(_0x57c3a1=new Map(),_0x3e7539[_0x1465da(0xfa)](_0x2cf404,_0x57c3a1)),_0x57c3a1;}['_updateModelCache'](_0x22c3ff,_0x5975ab,_0x250bda,_0x454668){const _0x24121e=_0x1c787c;this[_0x24121e(0xbf)](_0x22c3ff,_0x5975ab)['set'](_0x250bda,_0x454668);}['_deleteModelCache'](_0x296d27,_0x451c68,_0xdb5889){const _0x1a05a2=_0x1c787c;var _0xa14c70,_0x348d9d,_0x41f42d,_0x132151;((_0x348d9d=(_0xa14c70=this[_0x1a05a2(0x126)][_0x1a05a2(0x3e4)](_0x296d27))==null?void 0x0:_0xa14c70[_0x1a05a2(0x3e4)](_0x451c68))==null?void 0x0:_0x348d9d[_0x1a05a2(0x3e4)](_0xdb5889))&&((_0x132151=(_0x41f42d=this[_0x1a05a2(0x126)][_0x1a05a2(0x3e4)](_0x296d27))==null?void 0x0:_0x41f42d[_0x1a05a2(0x3e4)](_0x451c68))==null||_0x132151['delete'](_0xdb5889));}[_0x1c787c(0x265)](_0x56c472,_0x4ef139){const _0x12cc15=_0x1c787c;this[_0x12cc15(0x144)]['set'](_0x56c472,_0x4ef139);}[_0x1c787c(0x370)](_0x57b795){const _0x20d082=_0x1c787c;this[_0x20d082(0x144)][_0x20d082(0x113)](_0x57b795);}[_0x1c787c(0x246)](_0x26d5af,_0x39910f){const _0x2ecd9f=_0x1c787c;let _0x193d3a=this[_0x2ecd9f(0x192)][_0x2ecd9f(0x3e4)](_0x26d5af);_0x193d3a||(_0x193d3a=new Map(),this['_viewData'][_0x2ecd9f(0xfa)](_0x26d5af,_0x193d3a));let _0x44cfa3=_0x193d3a[_0x2ecd9f(0x3e4)](_0x39910f);return _0x44cfa3||(_0x44cfa3=new Map(),_0x193d3a[_0x2ecd9f(0xfa)](_0x39910f,_0x44cfa3)),_0x44cfa3;}[_0x1c787c(0x2d0)](_0x30d5d9){const _0x1a7417=_0x1c787c,{unitId:_0x4bfcd7,subUnitId:_0x72ad8a,pivotTableId:_0x3f6764,pivotTableConfig:_0x26502e,collectionConfig:_0x3b66fb}=_0x30d5d9,_0xa553e={'unitId':_0x4bfcd7,'subUnitId':_0x72ad8a,'oldSubUnitId':_0x72ad8a,'pivotTableId':_0x3f6764,'pivotTableConfig':_0x26502e,'collectionConfig':_0x3b66fb};this[_0x1a7417(0x397)][_0x1a7417(0x104)](_0x4535fd['id'],_0xa553e,{'onlyLocal':!0x0});}['updateView'](_0x572bdb,_0x19e5f2,_0x1121a8,_0x4ff985,_0x327dd2,_0x363703,_0x28e3ae,_0x1940f3=!0x1){const _0x197dda=_0x1c787c;var _0x4fe676;this[_0x197dda(0x397)][_0x197dda(0x104)](_0x16a7c0['id'],{'single':{'unitId':_0x572bdb,'subUnitId':_0x19e5f2,'type':_0x1121a8,'pivotTableId':_0x4ff985,'view':_0x327dd2,'pivotConfig':_0x363703},'collectionConfig':{[_0x572bdb]:_0x28e3ae}},{'onlyLocal':!0x0});const _0x338caf=!!((_0x4fe676=this[_0x197dda(0x1f4)](_0x4ff985))!=null&&_0x4fe676[_0x197dda(0x31a)]()),_0x3a2206=this[_0x197dda(0x33b)](_0x572bdb,_0x19e5f2,_0x4ff985);_0x3a2206&&this['updateViewData']({'view':_0x327dd2,'pivotTableId':_0x4ff985,'textInfo':this['getTextInfo'](),'isEmpty':_0x338caf,'targetCellInfo':_0x3a2206[_0x197dda(0x30d)]},_0x1940f3);}[_0x1c787c(0x325)](_0x152e7d,_0x4dbc71){const _0x13adb6=_0x1c787c,{targetCellInfo:_0x4b57df,pivotTableId:_0x5561b3}=_0x152e7d,{unitId:_0x1ff48f,subUnitId:_0x451bc7}=_0x4b57df,_0x4cadf4=this[_0x13adb6(0x246)](_0x1ff48f,_0x451bc7),_0x5c3fef=_0x4cadf4[_0x13adb6(0x3e4)](_0x5561b3);let _0x54fa28,_0x203f16;_0x5c3fef&&(_0x54fa28=_0x5c3fef['rangeCache'],_0x203f16=_0x5c3fef[_0x13adb6(0x1a8)]);const {rangesCache:_0x382270,matrix:_0x49255c}=_0x2be3a7(_0x152e7d);_0x4cadf4[_0x13adb6(0xfa)](_0x5561b3,{'rangeCache':_0x382270,'matrix':_0x49255c,'oldMatrix':_0x203f16,'oldRangeCache':_0x54fa28}),_0x4dbc71||this[_0x13adb6(0x1c8)]['next']({'unitId':_0x1ff48f,'subUnitId':_0x451bc7,'pivotTableId':_0x5561b3});}[_0x1c787c(0x3cd)](_0x3875d9,_0x535ed8,_0x149a5f,_0x5aaccf,_0x534b6b){const _0xb8af05=_0x1c787c;this[_0xb8af05(0x219)](_0x3875d9,_0x535ed8,_0x149a5f,_0x534b6b),this[_0xb8af05(0x265)](_0x149a5f,_0x5aaccf);}['removePivotTable'](_0x4b3da3,_0x2e1897,_0x38de60){const _0x18e263=_0x1c787c,_0x43f9b1=this['getDataFieldManager'](_0x4b3da3);_0x43f9b1[_0x18e263(0x346)](_0x38de60)[_0x18e263(0xe3)](_0x30adbf=>{const _0x220698=_0x18e263;_0x43f9b1[_0x220698(0x1db)](_0x30adbf);}),this[_0x18e263(0x170)](_0x4b3da3,_0x38de60),this[_0x18e263(0x19b)](_0x4b3da3,_0x2e1897,_0x38de60),this[_0x18e263(0x370)](_0x38de60);}['setPivotTable'](_0x4ca445,_0x480982,_0x17fe89,_0x40c3c8){const _0x56180f=_0x1c787c;this[_0x56180f(0x219)](_0x4ca445,_0x480982,_0x17fe89,_0x40c3c8);}[_0x1c787c(0x33b)](_0x1f0b69,_0x36b4ea,_0x9e1da9){const _0x301ee5=_0x1c787c;var _0x195ad3,_0x15a831;const _0x23dc19=(_0x15a831=(_0x195ad3=this[_0x301ee5(0x126)][_0x301ee5(0x3e4)](_0x1f0b69))==null?void 0x0:_0x195ad3[_0x301ee5(0x3e4)](_0x36b4ea))==null?void 0x0:_0x15a831[_0x301ee5(0x3e4)](_0x9e1da9);if(_0x23dc19)return _0x23dc19;}[_0x1c787c(0x187)](_0x54d0cd,_0x408cf8,_0x4b589c){const _0x4b8f41=_0x1c787c;var _0xaa5023,_0x61c41;const _0x36aa33=(_0x61c41=(_0xaa5023=this[_0x4b8f41(0x126)][_0x4b8f41(0x3e4)](_0x54d0cd))==null?void 0x0:_0xaa5023[_0x4b8f41(0x3e4)](_0x408cf8))==null?void 0x0:_0x61c41[_0x4b8f41(0x3e4)](_0x4b589c);if(_0x36aa33)return _0x36aa33[_0x4b8f41(0x179)];}[_0x1c787c(0x1f4)](_0xadec8c){const _0x2c5227=_0x1c787c;return this['_pivotTableInstanceCache'][_0x2c5227(0x3e4)](_0xadec8c);}[_0x1c787c(0x103)](_0x20f5b5){const _0x2fe860=_0x1c787c;this['_model'][_0x2fe860(0x113)](_0x20f5b5);const _0x26265e=this[_0x2fe860(0x314)][_0x2fe860(0x3e4)](_0x20f5b5);_0x26265e&&(_0x26265e[_0x2fe860(0x11f)](),this[_0x2fe860(0x314)][_0x2fe860(0x113)](_0x20f5b5)),this[_0x2fe860(0x192)][_0x2fe860(0x113)](_0x20f5b5),this[_0x2fe860(0x19d)][_0x2fe860(0xe3)](_0x2e1515=>{_0x2e1515['deleteUnitId'](_0x20f5b5);});}[_0x1c787c(0x169)](_0x281c0a,_0xf71f95,_0x3920a7,_0x548a7f){const _0x7c516c=_0x1c787c;return this[_0x7c516c(0x35d)](_0x3920a7[_0x7c516c(0x283)])[_0x7c516c(0x169)](_0x281c0a,_0xf71f95,_0x3920a7,_0x548a7f);}['createCollectionWithDataRange'](_0x145324){const _0x514878=_0x1c787c;return this[_0x514878(0x35d)](_0x145324[_0x514878(0x283)])[_0x514878(0x2ba)](_0x145324);}[_0x1c787c(0x172)](_0xbb64b7,_0x2fd8e5,_0xf3751e){const _0x3b100e=_0x1c787c;this[_0x3b100e(0x35d)](_0xf3751e[_0x3b100e(0x283)])[_0x3b100e(0x172)](_0xbb64b7,_0x2fd8e5,_0xf3751e);}['removeDataField'](_0x49bc23,_0xaf5247){const _0x582f51=_0x1c787c;this[_0x582f51(0x35d)](_0x49bc23)[_0x582f51(0x1db)](_0xaf5247);}[_0x1c787c(0x170)](_0x4835d9,_0x3b2e31){const _0x453a42=_0x1c787c;this[_0x453a42(0x35d)](_0x4835d9)[_0x453a42(0x15f)](_0x3b2e31);}[_0x1c787c(0x255)](_0x31a490,_0x47c168){const _0x295f29=_0x1c787c;var _0x1622dc;return(_0x1622dc=this[_0x295f29(0x126)]['get'](_0x31a490))==null?void 0x0:_0x1622dc[_0x295f29(0x3e4)](_0x47c168);}['getTargetByPivotId'](_0x2d8a2b){const _0x4094a0=_0x1c787c;for(const [_0x481bf4,_0x514ed6]of this['_model'][_0x4094a0(0x1f7)]())for(const [_0x1c480f,_0x436111]of _0x514ed6['entries']())if(_0x436111[_0x4094a0(0xbc)](_0x2d8a2b))return{'unitId':_0x481bf4,'subUnitId':_0x1c480f};return null;}['sideEffectUpdateWorkerCache'](_0x49c6ce,_0x1dbbf0,_0x3f3a6b,_0x3654b2){const _0x5444eb=_0x1c787c,_0x47d170=this[_0x5444eb(0x246)](_0x49c6ce,_0x1dbbf0);_0x3654b2?_0x47d170[_0x5444eb(0xfa)](_0x3f3a6b,_0x3654b2):_0x47d170[_0x5444eb(0x113)](_0x3f3a6b),this[_0x5444eb(0x1c8)][_0x5444eb(0x31b)]({'unitId':_0x49c6ce,'subUnitId':_0x1dbbf0,'pivotTableId':_0x3f3a6b});}[_0x1c787c(0x11f)](){const _0x13bf60=_0x1c787c;super[_0x13bf60(0x11f)]();}[_0x1c787c(0x140)](_0x145204,_0x5d6c3c,_0x5d1336){const _0x2e833a=_0x1c787c;var _0x534eb6,_0x599aab;const _0x56c67c=(_0x599aab=(_0x534eb6=this[_0x2e833a(0x192)][_0x2e833a(0x3e4)](_0x145204))==null?void 0x0:_0x534eb6['get'](_0x5d6c3c))==null?void 0x0:_0x599aab[_0x2e833a(0x3e4)](_0x5d1336);return _0x56c67c||null;}[_0x1c787c(0x285)](_0x383ee2){const _0x10118=_0x1c787c;this[_0x10118(0x392)](_0x383ee2);}['updateDirtyPivotTable'](_0x256f6d){const _0x3f28e7=_0x1c787c,{token:_0x471173,unitId:_0x6bd62f,subUnitId:_0x69f85a}=_0x256f6d,_0x4c1fbd=_0x6bd62f+'-'+_0x69f85a+'-'+_0x471173;this[_0x3f28e7(0x2de)][_0x3f28e7(0x3e4)](_0x4c1fbd)&&clearTimeout(this[_0x3f28e7(0x2de)][_0x3f28e7(0x3e4)](_0x4c1fbd));const _0x52f18a=setTimeout(()=>{this['queryDirtyPivotTable'](_0x256f6d),this['_queryingMap']['delete'](_0x4c1fbd);},_0x5ae7bb);this[_0x3f28e7(0x2de)][_0x3f28e7(0xfa)](_0x4c1fbd,_0x52f18a);}['queryDirtyPivotTable'](_0x320136){const _0x4c698e=_0x1c787c,{unitId:_0x18ec66,subUnitId:_0x52c4a9,token:_0x4b98db,type:_0x1404ed,pivotConfig:_0x3bd92d}=_0x320136,_0x17c5a9=this[_0x4c698e(0x1f4)](_0x4b98db),_0x2bc67f=_0x17c5a9==null?void 0x0:_0x17c5a9[_0x4c698e(0x3ac)](),_0x2830e3=_0x3bd92d!=null?_0x3bd92d:this['getPivotTableConfig'](_0x18ec66,_0x52c4a9,_0x4b98db);_0x2830e3&&(_0x2830e3['isEmpty']=!!(_0x17c5a9!=null&&_0x17c5a9['isEmpty']())),(_0x2bc67f||_0x1404ed===_0x5a4701[_0x4c698e(0x1a7)])&&this[_0x4c698e(0x322)](_0x18ec66,_0x52c4a9,_0x1404ed,_0x4b98db,_0x2bc67f,_0x2830e3,this['getDataFieldManager'](_0x18ec66)[_0x4c698e(0x32b)]());}[_0x1c787c(0x32b)](_0xa274e){const _0x30e53d=_0x1c787c,_0x29f9b1={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x30e53d(0x35d)](_0xa274e)&&(_0x29f9b1[_0x30e53d(0x26c)][_0xa274e]=this[_0x30e53d(0x35d)](_0xa274e)[_0x30e53d(0x32b)]()),this[_0x30e53d(0x126)]['get'](_0xa274e)){_0x29f9b1[_0x30e53d(0x17e)][_0xa274e]={};const _0x538cee=this[_0x30e53d(0x126)][_0x30e53d(0x3e4)](_0xa274e);_0x538cee!=null&&_0x538cee[_0x30e53d(0x13f)]&&[..._0x538cee['keys']()][_0x30e53d(0xe3)](_0x10aee0=>{const _0x1c47c5=_0x30e53d,_0x567457=_0x538cee[_0x1c47c5(0x3e4)](_0x10aee0);_0x567457!=null&&_0x567457[_0x1c47c5(0x13f)]&&(_0x29f9b1['pivotTableConfigs'][_0xa274e][_0x10aee0]={},[..._0x567457['keys']()][_0x1c47c5(0xe3)](_0x3e9ff8=>{const _0x34bb9f=_0x1c47c5,_0x55b352=_0x567457[_0x34bb9f(0x3e4)](_0x3e9ff8);_0x55b352&&(_0x29f9b1[_0x34bb9f(0x17e)][_0xa274e][_0x10aee0][_0x3e9ff8]=_0x55b352);}));});}return _0x29f9b1;}[_0x1c787c(0x32d)](_0x4b240c){const _0x2527c0=_0x1c787c;var _0x1cf9ee;const {dataFieldManagerConfig:_0x1d582c,pivotTableConfigs:_0x68d983}=_0x4b240c;_0x1d582c&&Object[_0x2527c0(0x1fc)](_0x1d582c)[_0x2527c0(0xe3)](_0x29eaa5=>{const _0x3cd324=_0x2527c0;this[_0x3cd324(0x35d)](_0x29eaa5)[_0x3cd324(0x32d)](_0x1d582c[_0x29eaa5]);});const _0xe1971e=[];if(_0x68d983){const _0x47bc1f=(_0x1cf9ee=this['_injector'][_0x2527c0(0x3e4)](_0x177d6a[_0x2527c0(0xcb)])[_0x2527c0(0x19a)](_0x53915['LS_CONFIG_KEY']))!=null?_0x1cf9ee:{},{ls:_0x17cdb2,pbk:_0x562541}=_0x47bc1f,_0x58e6ca=_0x17409d(_0x45eedb,_0x17cdb2,_0x562541)[_0x2527c0(0x341)];Object[_0x2527c0(0x1fc)](_0x68d983)[_0x2527c0(0xe3)](_0x40a111=>{const _0x114fd8=_0x2527c0;let _0x1643ba=0x0;const _0xed1cbb=_0x68d983[_0x40a111];Object[_0x114fd8(0x1fc)](_0xed1cbb)[_0x114fd8(0xe3)](_0x4e7741=>{const _0x3649ac=_0x114fd8,_0x481130=_0xed1cbb[_0x4e7741];Object[_0x3649ac(0x1fc)](_0x481130)[_0x3649ac(0xe3)](_0x5a2f6b=>{const _0x5e640b=_0x3649ac,_0x2b1baf=_0x481130[_0x5a2f6b];if(_0x2b1baf){if(_0x1643ba>=_0x58e6ca)return;_0x1643ba++;const _0x585ae8=this['getDataFieldManager'](_0x40a111),_0x5c68ea=_0x585ae8[_0x5e640b(0x145)][_0x5a2f6b],_0x59ad37=_0x5c68ea[_0x5e640b(0x189)]();let _0x357894=0x0;const _0x496481=[];for(const _0x3fc6be of _0x59ad37){const _0x36974a=_0x5c68ea['getFieldById'](_0x3fc6be);if(_0x175d11['isBaseGroupField'](_0x36974a)){const _0x5b510c=_0x36974a[_0x5e640b(0x200)](),_0x5b0070=_0x5c68ea['getFieldById'](_0x5b510c);_0x5b0070&&_0x496481[_0x5e640b(0x1a2)]([_0x36974a,_0x5b0070]);continue;}_0x585ae8['refreshDataField'](_0x3fc6be,_0x2b1baf[_0x5e640b(0x2a8)],_0x357894),_0x357894++;}_0x496481[_0x5e640b(0xe3)](([_0x1d9e4e,_0x1bb31f])=>{_0x1d9e4e['refreshGroupField'](_0x1bb31f);});const _0xc6e27e=new _0x175d11['PivotTable'](_0x5c68ea);_0xc6e27e[_0x5e640b(0x32d)](_0x2b1baf['fieldsConfig']),this['addPivotTable'](_0x40a111,_0x4e7741,_0x5a2f6b,_0xc6e27e,_0x2b1baf);const _0x323c63=_0xc6e27e[_0x5e640b(0x3ac)]();_0xe1971e[_0x5e640b(0x1a2)]({'unitId':_0x40a111,'subUnitId':_0x4e7741,'pivotTableId':_0x5a2f6b,'view':_0x323c63[_0x5e640b(0x32b)](),'pivotConfig':_0x2b1baf,'type':_0x5a4701[_0x5e640b(0x201)]});const _0x3c34b1=!!_0xc6e27e[_0x5e640b(0x31a)](),_0x4a0d92={'view':_0x323c63,'pivotTableId':_0x5a2f6b,'textInfo':this[_0x5e640b(0x276)](),'isEmpty':_0x3c34b1,'targetCellInfo':_0x2b1baf['targetCellInfo']};this['updateViewData'](_0x4a0d92,!0x1);}});});});}_0x1d582c&&Object[_0x2527c0(0x1fc)](_0x1d582c)[_0x2527c0(0xe3)](_0x1780ee=>{const _0x1e7626=_0x2527c0,_0x3d745b=this[_0x1e7626(0x35d)](_0x1780ee);this[_0x1e7626(0x2c1)][_0x1e7626(0x31b)](_0x3d745b[_0x1e7626(0x145)]);}),this['_commandService'][_0x2527c0(0x104)](_0x16a7c0['id'],{'batch':_0xe1971e,'collectionConfig':_0x1d582c},{'onlyLocal':!0x0});}[_0x1c787c(0xd4)](){const _0x225f47=_0x1c787c;this['disposeWithMe'](this['_resourceManagerService'][_0x225f47(0x3d9)]({'toJson':_0x507fd1=>JSON[_0x225f47(0x10c)](this[_0x225f47(0x32b)](_0x507fd1)),'parseJson':_0x2611c6=>{const _0x4d505c=_0x225f47;if(!_0x2611c6)return{};try{return JSON[_0x4d505c(0x398)](_0x2611c6);}catch{return{};}},'businesses':[_0x177d6a[_0x225f47(0x238)][_0x225f47(0x217)]],'pluginName':_0x389941,'onLoad':(_0x28bc71,_0x1ff043)=>{const _0x3cc166=_0x225f47;this[_0x3cc166(0x32d)](_0x1ff043);},'onUnLoad':_0x1d03ca=>{this['deleteUnitId'](_0x1d03ca);}}));}},_0x1ed859[_0x1c787c(0x1af)]=_0x31ca8d([_0x223f2f(0x0,_0x177d6a['Inject'](_0x177d6a[_0x1c787c(0x284)])),_0x223f2f(0x1,_0x177d6a[_0x1c787c(0x22f)]),_0x223f2f(0x2,_0x177d6a[_0x1c787c(0x2d9)](_0x177d6a[_0x1c787c(0x237)])),_0x223f2f(0x3,_0x177d6a['ICommandService']),_0x223f2f(0x4,_0x177d6a['Inject'](_0x177d6a[_0x1c787c(0x2c9)]))],_0x1ed859[_0x1c787c(0x1af)]);const _0x56837b={0x0:{0x0:{'v':_0x1c787c(0x22d),'s':_0x1a6281}},0x2:{0x1:{'v':'','s':_0x1a6281},0x2:{'v':'','s':_0x1a6281},0x3:{'v':'column','s':_0x1a6281},0x4:{'v':'','s':_0x1a6281},0x5:{'v':'','s':_0x1a6281}},0x3:{0x0:{'v':'','s':_0x1a6281},0x1:{'v':'','s':_0x112552},0x2:{'v':'','s':_0x112552},0x3:{'v':'','s':_0x112552},0x4:{'v':'','s':_0x112552},0x5:{'v':'','s':_0x112552}},0x4:{0x0:{'v':'','s':_0x1a6281},0x1:{'v':'','s':_0x112552},0x2:{'v':'','s':_0x112552},0x3:{'v':'','s':_0x112552},0x4:{'v':'','s':_0x112552},0x5:{'v':'','s':_0x112552}},0x5:{0x0:{'v':'','s':_0x1a6281},0x1:{'v':'','s':_0x112552},0x2:{'v':'','s':_0x112552},0x3:{'v':'','s':_0x112552},0x4:{'v':'','s':_0x112552},0x5:{'v':'','s':_0x112552}},0x6:{0x0:{'v':'','s':_0x1a6281},0x1:{'v':'','s':_0x112552},0x2:{'v':'','s':_0x112552},0x3:{'v':'','s':_0x112552},0x4:{'v':'','s':_0x112552},0x5:{'v':'','s':_0x112552}},0x7:{0x0:{'v':'','s':_0x1a6281},0x1:{'v':'','s':_0x112552},0x2:{'v':'','s':_0x112552},0x3:{'v':'','s':_0x112552},0x4:{'v':'','s':_0x112552},0x5:{'v':'','s':_0x112552}},0x8:{0x0:{'v':_0x1c787c(0x2e7),'s':_0x1a6281},0x1:{'v':'','s':_0x112552},0x2:{'v':'','s':_0x112552},0x3:{'v':_0x1c787c(0x31d),'s':_0x112552},0x4:{'v':'','s':_0x112552},0x5:{'v':'','s':_0x112552}},0x9:{0x0:{'v':'','s':_0x1a6281},0x1:{'v':'','s':_0x112552},0x2:{'v':'','s':_0x112552},0x3:{'v':'','s':_0x112552},0x4:{'v':'','s':_0x112552},0x5:{'v':'','s':_0x112552}},0xa:{0x0:{'v':'','s':_0x1a6281},0x1:{'v':'','s':_0x112552},0x2:{'v':'','s':_0x112552},0x3:{'v':'','s':_0x112552},0x4:{'v':'','s':_0x112552},0x5:{'v':'','s':_0x112552}},0xb:{0x0:{'v':'','s':_0x1a6281},0x1:{'v':'','s':_0x112552},0x2:{'v':'','s':_0x112552},0x3:{'v':'','s':_0x112552},0x4:{'v':'','s':_0x112552},0x5:{'v':'','s':_0x112552}},0xc:{0x0:{'v':'','s':_0x1a6281},0x1:{'v':'','s':_0x112552},0x2:{'v':'','s':_0x112552},0x3:{'v':'','s':_0x112552},0x4:{'v':'','s':_0x112552},0x5:{'v':'','s':_0x112552}},0xd:{0x0:{'v':'','s':_0x1a6281},0x1:{'v':'','s':_0x112552},0x2:{'v':'','s':_0x112552},0x3:{'v':'','s':_0x112552},0x4:{'v':'','s':_0x112552},0x5:{'v':'','s':_0x112552}}},_0x5b7d4d={'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':[]},_0x5ea28a=(_0x4acf0e,_0x49e470)=>{const _0x6c6ba=_0x1c787c,_0x4c533c=new _0x177d6a[(_0x6c6ba(0xf7))](),_0x177a20=new _0x177d6a['ObjectMatrix'](_0x56837b),{row:_0x260abf,col:_0x5d5089}=_0x49e470;_0x177a20[_0x6c6ba(0xe2)]((_0x21c4a5,_0x357386,_0x4d81af)=>{const _0x44b7f1=_0x6c6ba;let _0x51ebfe='';_0x4d81af['v']===_0x44b7f1(0x22d)?_0x51ebfe=_0x4acf0e[_0x44b7f1(0x22d)]:_0x4d81af['v']==='row'?_0x51ebfe=_0x4acf0e[_0x44b7f1(0x2e7)]:_0x4d81af['v']===_0x44b7f1(0x1d4)?_0x51ebfe=_0x4acf0e[_0x44b7f1(0x1d4)]:_0x4d81af['v']===_0x44b7f1(0x31d)&&(_0x51ebfe=_0x4acf0e[_0x44b7f1(0x31d)]),_0x4c533c[_0x44b7f1(0x14f)](_0x21c4a5+_0x260abf,_0x357386+_0x5d5089,{..._0x4d81af,'v':_0x51ebfe});});const _0x14b2b8=_0x177d6a[_0x6c6ba(0x389)]['deepClone'](_0x5b7d4d);return Object[_0x6c6ba(0x1fc)](_0x5b7d4d)[_0x6c6ba(0xe3)](_0x3da5e9=>{const _0x59e045=_0x6c6ba;_0x14b2b8[_0x3da5e9]=_0x5b7d4d[_0x3da5e9][_0x59e045(0x12e)](_0x43e426=>({..._0x43e426,'startRow':_0x43e426[_0x59e045(0xc5)]+_0x260abf,'endRow':_0x43e426[_0x59e045(0x31c)]+_0x260abf,'startColumn':_0x43e426[_0x59e045(0x235)]+_0x5d5089,'endColumn':_0x43e426['endColumn']+_0x5d5089}));}),{'matrixCache':_0x4c533c,'rangesCache':_0x14b2b8};};function _0x198d3c(_0x37d4c6,_0x1e4e4c){const _0x1330cb=_0x1c787c;let _0x2a6838='';const _0x255897=this[_0x1330cb(0x276)]();switch(_0x1e4e4c){case _0x175d11[_0x1330cb(0x1ce)][_0x1330cb(0x27b)]:_0x2a6838=_0x255897[_0x1330cb(0x312)]+_0x37d4c6;break;case _0x175d11[_0x1330cb(0x1ce)]['count']:_0x2a6838=_0x255897['sheets-pivot.countName']+_0x37d4c6;break;case _0x175d11['PivotSubtotalTypeEnum'][_0x1330cb(0x1ab)]:_0x2a6838=_0x255897[_0x1330cb(0x25a)]+_0x37d4c6;break;case _0x175d11[_0x1330cb(0x1ce)][_0x1330cb(0x22b)]:_0x2a6838=_0x255897['sheets-pivot.maxName']+_0x37d4c6;break;case _0x175d11[_0x1330cb(0x1ce)][_0x1330cb(0x2f9)]:_0x2a6838=_0x255897[_0x1330cb(0x2dd)]+_0x37d4c6;break;case _0x175d11[_0x1330cb(0x1ce)]['product']:_0x2a6838=_0x255897[_0x1330cb(0x2e5)]+_0x37d4c6;break;case _0x175d11[_0x1330cb(0x1ce)][_0x1330cb(0x24d)]:_0x2a6838=_0x255897[_0x1330cb(0x2f4)]+_0x37d4c6;break;case _0x175d11[_0x1330cb(0x1ce)][_0x1330cb(0x2aa)]:_0x2a6838=_0x255897[_0x1330cb(0x182)]+_0x37d4c6;break;case _0x175d11[_0x1330cb(0x1ce)][_0x1330cb(0x259)]:_0x2a6838=_0x255897[_0x1330cb(0x3cf)]+_0x37d4c6;break;case _0x175d11[_0x1330cb(0x1ce)]['var']:_0x2a6838=_0x255897[_0x1330cb(0x205)]+_0x37d4c6;break;case _0x175d11[_0x1330cb(0x1ce)][_0x1330cb(0x263)]:_0x2a6838=_0x255897[_0x1330cb(0x1d8)]+_0x37d4c6;break;default:_0x2a6838=_0x37d4c6;break;}return _0x2a6838;}function _0x2c9fc9(_0x2b0a2f,_0x574218,_0x11cdd6,_0x3c0b20,_0x5bc396){const _0x5ed7c1=_0x1c787c;var _0x4b411e,_0xaf1b8d,_0x2b9fb2,_0x30f0c1,_0x2de742;const _0x375646=_0x177d6a['cellToRange'](_0x2b0a2f,_0x574218),{rangesInfo:_0x3b42e7,areaInfo:_0x198484,headerMap:_0x4ab1bd}=_0x5bc396;if(!_0x3b42e7||!_0x198484||!_0x4ab1bd)return;const _0x4a602e=Object['keys'](_0x3b42e7)[_0x5ed7c1(0x24e)](_0x1b09d7=>_0x3b42e7[_0x1b09d7][_0x5ed7c1(0x32e)](_0x4eeede=>_0x177d6a[_0x5ed7c1(0x2e2)]['contains'](_0x4eeede,_0x375646))),_0x35a2d3=_0x198484;let _0x52c586,_0x34094d,_0x38eb34;if(_0x4a602e==='rowRanges')_0x52c586=(_0x4b411e=_0x35a2d3==null?void 0x0:_0x35a2d3[_0x5ed7c1(0x11a)])==null?void 0x0:_0x4b411e[_0x2b0a2f],_0x34094d=(_0xaf1b8d=_0x4ab1bd==null?void 0x0:_0x4ab1bd['rowHeaderMap'])==null?void 0x0:_0xaf1b8d[_0x574218],_0x38eb34=_0x34094d==null?void 0x0:_0x34094d['tableFieldId'];else{if(_0x4a602e===_0x5ed7c1(0x1fa))_0x52c586=(_0x2b9fb2=_0x35a2d3==null?void 0x0:_0x35a2d3['colInfo'])==null?void 0x0:_0x2b9fb2[_0x574218],_0x34094d=(_0x30f0c1=_0x4ab1bd[_0x5ed7c1(0x3ab)])==null?void 0x0:_0x30f0c1[_0x2b0a2f+0x1+_0x574218-_0x3b42e7[_0x5ed7c1(0x1fa)][0x0][_0x5ed7c1(0x235)]],_0x38eb34=_0x34094d==null?void 0x0:_0x34094d['tableFieldId'];else{if(_0x4a602e==='cornerRanges')_0x52c586=(_0x2de742=_0x35a2d3==null?void 0x0:_0x35a2d3[_0x5ed7c1(0x26a)])==null?void 0x0:_0x2de742[_0x574218],_0x38eb34=_0x52c586==null?void 0x0:_0x52c586['tableFieldId'];else{if(_0x4a602e===_0x5ed7c1(0x185)){const _0x5a90e0=_0x11cdd6==null?void 0x0:_0x11cdd6['fi'];_0x5a90e0!==void 0x0&&(_0x38eb34=_0x3c0b20[_0x5ed7c1(0x131)](_0x5a90e0));}}}}return{'filterId':_0x38eb34,'info':_0x52c586,'data':_0x11cdd6,'headerInfo':_0x34094d};}function _0xb5fa0a(_0x1ca5eb,_0x568c46,_0x4ac663){const _0x5ae973=_0x1c787c,_0x4136ed=_0x1ca5eb[_0x5ae973(0x16d)],_0x2ba9f6=_0x4136ed['getFieldIds'](),_0x19c3f8=new Set();_0x1ca5eb[_0x5ae973(0x153)](_0x4df5a9=>{const _0x17589f=_0x5ae973;_0x19c3f8[_0x17589f(0x202)](_0x4df5a9[_0x17589f(0x1bc)]);});const _0x12a1f1=_0x2ba9f6[_0x5ae973(0x12e)](_0x7e9c7c=>{const _0x1265af=_0x5ae973,_0x57d897=_0x4136ed[_0x1265af(0x3db)](_0x7e9c7c);return{'checked':_0x19c3f8[_0x1265af(0xbc)](_0x7e9c7c),'dataFieldId':_0x57d897['id'],'id':_0x57d897['id'],'name':_0x4136ed[_0x1265af(0x37e)](_0x57d897['id']),'type':_0x57d897[_0x1265af(0x2c3)](),'pivotTableId':_0x568c46};}),_0x5ddb9f=[];_0x1ca5eb['iterateFieldByArea'](_0x175d11[_0x5ae973(0x3d5)][_0x5ae973(0xf0)],_0xb4c050=>{const _0xc08c2e=_0x5ae973;_0x5ddb9f[_0xc08c2e(0x1a2)]({'dataFieldId':_0xb4c050[_0xc08c2e(0x1bc)],'tableFieldId':_0xb4c050[_0xc08c2e(0x24c)](),'displayName':_0xb4c050[_0xc08c2e(0x37e)]()});});const _0x3ef0ee=[];_0x1ca5eb[_0x5ae973(0x247)](_0x175d11[_0x5ae973(0x3d5)]['Column'],_0x2d1340=>{const _0x540fc0=_0x5ae973;_0x3ef0ee[_0x540fc0(0x1a2)]({'dataFieldId':_0x2d1340[_0x540fc0(0x1bc)],'tableFieldId':_0x2d1340[_0x540fc0(0x24c)](),'displayName':_0x2d1340[_0x540fc0(0x37e)]()});});const _0x3a8671=[];if(_0x1ca5eb['iterateFieldByArea'](_0x175d11[_0x5ae973(0x3d5)][_0x5ae973(0x1c5)],_0x2eda6c=>{const _0x2a72a9=_0x5ae973;_0x3a8671[_0x2a72a9(0x1a2)]({'dataFieldId':_0x2eda6c['dataFieldId'],'tableFieldId':_0x2eda6c[_0x2a72a9(0x24c)](),'displayName':_0x2eda6c[_0x2a72a9(0x37e)](),'format':_0x2eda6c[_0x2a72a9(0x282)](),'subTotalType':_0x2eda6c[_0x2a72a9(0x18e)]()});}),_0x3a8671[_0x5ae973(0x10f)]>0x1){const _0x2b2ebb=_0x1ca5eb[_0x5ae973(0x1ba)]();(_0x1ca5eb['isColMultiMeasure']()?_0x3ef0ee:_0x5ddb9f)[_0x5ae973(0x12d)](_0x2b2ebb,0x0,{'dataFieldId':'','tableFieldId':_0x5ae973(0x1c3),'displayName':_0x5ae973(0x37a)});}const _0x47c900=[];_0x1ca5eb[_0x5ae973(0x247)](_0x175d11['PivotTableFiledAreaEnum']['Filter'],_0x534cbe=>{const _0x24ddad=_0x5ae973;_0x47c900['push']({'dataFieldId':_0x534cbe['dataFieldId'],'tableFieldId':_0x534cbe['getId'](),'displayName':_0x534cbe[_0x24ddad(0x37e)]()});});const _0x5b4547=_0x4ac663[_0x5ae973(0x2a8)];return{'sourceList':_0x12a1f1,'sourceRange':_0x5b4547,'rowFields':_0x5ddb9f,'columnFields':_0x3ef0ee,'valueFields':_0x3a8671,'filterFields':_0x47c900,'positionInfo':_0x4ac663[_0x5ae973(0x30d)]};}function _0x16e30a(_0x1020b7,_0x3f8a78,_0x28c12b='',_0x2cb8a6={}){const _0x2f0b95=_0x1c787c,_0x2b8dac=_0x1020b7[_0x2f0b95(0x3e4)](_0x177d6a[_0x2f0b95(0x17f)]);for(const _0x2b04cb in _0x3f8a78)if(Object[_0x2f0b95(0x1d3)][_0x2f0b95(0x15d)][_0x2f0b95(0x1b0)](_0x3f8a78,_0x2b04cb)){const _0x40c8e4=_0x28c12b?_0x28c12b+'.'+_0x2b04cb:_0x2b04cb;typeof _0x3f8a78[_0x2b04cb]==_0x2f0b95(0x375)&&_0x3f8a78[_0x2b04cb]!==null&&!Array[_0x2f0b95(0x320)](_0x3f8a78[_0x2b04cb])?_0x16e30a(_0x1020b7,_0x3f8a78[_0x2b04cb],_0x40c8e4,_0x2cb8a6):_0x2cb8a6[_0x40c8e4]=_0x2b8dac['t'](_0x40c8e4);}return _0x2cb8a6;}const _0x3e69b9=_0x2ac878=>{const _0x1491b3=_0x1c787c;if(!_0x2ac878)return[];const {rowRanges:_0x16b003,colRanges:_0x18341a,cornerRanges:_0x47cc30,dataRanges:_0x25d58f,pageRanges:_0x4798b8}=_0x2ac878,_0x37f52c=[..._0x18341a,..._0x16b003,..._0x25d58f,..._0x47cc30]['filter'](_0x2d737e=>_0x2d737e[_0x1491b3(0xc5)]>=0x0&&_0x2d737e[_0x1491b3(0x235)]>=0x0&&_0x2d737e[_0x1491b3(0x31c)]>=0x0&&_0x2d737e[_0x1491b3(0x2d3)]>=0x0);let _0x150ddf=Number['MAX_SAFE_INTEGER'],_0x20138e=Number[_0x1491b3(0xf2)],_0x445a58=Number[_0x1491b3(0x29b)],_0x5d0395=Number['MIN_SAFE_INTEGER'];for(let _0xaf753f=0x0;_0xaf753f<_0x37f52c[_0x1491b3(0x10f)];_0xaf753f++)_0x150ddf=Math[_0x1491b3(0x2f9)](_0x150ddf,_0x37f52c[_0xaf753f]['startRow']),_0x20138e=Math[_0x1491b3(0x22b)](_0x20138e,_0x37f52c[_0xaf753f]['endRow']),_0x445a58=Math[_0x1491b3(0x2f9)](_0x445a58,_0x37f52c[_0xaf753f][_0x1491b3(0x235)]),_0x5d0395=Math['max'](_0x5d0395,_0x37f52c[_0xaf753f][_0x1491b3(0x2d3)]);return[..._0x4798b8,{'startRow':_0x150ddf,'endRow':_0x20138e,'startColumn':_0x445a58,'endColumn':_0x5d0395}];};function _0x2f5559(_0x732737,_0x283a93){const _0x5610f3=_0x1c787c,_0x2f81a3=_0x283a93[_0x5610f3(0x228)][_0x5610f3(0x32a)],{pivotTableId:_0x439a0b,unitId:_0x2a14f8,subUnitId:_0x31dded}=_0x283a93;if(!_0x2f81a3)return;const _0x52a984=_0x732737[_0x5610f3(0x3e4)](_0x1ed859[_0x5610f3(0x1af)]),_0x39f84a=_0x52a984['getPivotTableInstance'](_0x439a0b),_0x16b8d3=_0x52a984['getPivotTableConfig'](_0x2a14f8,_0x31dded,_0x439a0b);if(!_0x39f84a||!_0x16b8d3)return;const _0x52d930=_0x39f84a[_0x5610f3(0x294)](_0x2f81a3[_0x5610f3(0x223)]);if(!(_0x52d930!=null&&_0x52d930[_0x5610f3(0x10f)]))return;const _0x58589b=_0x16b8d3[_0x5610f3(0x2a8)],{unitId:_0x45c48c,subUnitId:_0x539c4d,range:_0x3899aa}=_0x58589b;let _0x202ef1=0x0;const _0x138097=_0x39f84a['dataFieldsCollection']['getFieldIds']()[_0x5610f3(0x36f)]((_0x55a2c2,_0x4ca8ec)=>{const _0x166704=_0x5610f3;var _0x2fa9ee;const _0x410a68=(_0x2fa9ee=_0x39f84a[_0x166704(0x268)](_0x4ca8ec))==null?void 0x0:_0x2fa9ee['getformat']();return _0x410a68&&(_0x55a2c2[String(_0x202ef1)]=_0x410a68),_0x202ef1++,_0x55a2c2;},{});return{'indexes':_0x52d930,'range':_0x3899aa,'sourceUnitId':_0x45c48c,'sourceSubUnitId':_0x539c4d,'formatMap':_0x138097};}function _0x41914d(_0x373706,_0x2456dc){const _0x124219=_0x1c787c;if(!_0x373706||!_0x2456dc)return!0x0;const _0x31cea8=_0x53915[_0x124219(0x155)](_0x284c38,_0x33f69e),_0x39bcaa=new Function(_0x124219(0x1f6)+_0x31cea8)()(_0x373706,_0x2456dc)['message'],_0x1fc752=_0x53915['isFeatureAuthorizedWithinTime'](_0x39bcaa,'sf',_0x3de64a);return!((_0x39bcaa==null?void 0x0:_0x39bcaa['rt'])===_0x53915['ReleaseType']['NO_COMMERCIAL']&&!_0x1fc752);}function _0x17409d(_0x36a5a6,_0x4b140b,_0x4155dc){const _0x880e07=_0x1c787c,_0x118625={'count':_0x36a5a6,'timeValid':!0x1};if(!_0x4b140b||!_0x4155dc)return _0x118625;const _0x31075f=_0x53915['unshiftString'](_0x284c38,_0x33f69e),_0x580247=new Function(_0x880e07(0x1f6)+_0x31075f)()(_0x4b140b,_0x4155dc);if(_0x580247!=null&&_0x580247[_0x880e07(0xe5)]){const _0x452373=_0x580247[_0x880e07(0x28d)],_0x48ec34=_0x53915['isFeatureAuthorizedWithinTime'](_0x452373,'sf',_0x3de64a);return{'count':_0x53915[_0x880e07(0x176)](_0x452373,_0x48ec34,_0x880e07(0xe6),_0x36a5a6,_0x36a5a6,0x0),'timeValid':_0x48ec34};}return _0x118625;}function _0x240a58(_0x1c28b9,_0x42e506,_0x3bcbbd,_0x54a3a4){const _0x113b80=_0x1c787c,_0x40f5b4={'subUnitId':_0x3bcbbd,'unitId':_0x42e506,'cellValue':_0x22c23f[_0x113b80(0x336)](_0x54a3a4)},_0x2e1f85=_0x22c23f[_0x113b80(0x3b4)](_0x1c28b9,_0x40f5b4);let _0x88d95b=!0x1;return new _0x177d6a[(_0x113b80(0xf7))](_0x2e1f85[_0x113b80(0x13b)])['forValue']((_0x32bf0a,_0x4f61ad,_0x20a773)=>{const _0x5a1651=_0x113b80;if(!_0x88d95b&&_0x20a773&&(_0x20a773[_0x5a1651(0x330)]||_0x20a773['f']||_0x20a773['p']||_0x20a773['s']||_0x20a773['si']||_0x20a773['t']||_0x20a773['v']))return _0x88d95b=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x22c23f[_0x113b80(0x33e)]['id'],'params':_0x2e1f85},'setRangeValueRedoMutation':{'id':_0x22c23f[_0x113b80(0x33e)]['id'],'params':_0x40f5b4},'shouldClear':_0x88d95b};}function _0x2c852f(_0x42eaa0){const {row:_0x50f54b,col:_0x564760}=_0x42eaa0,_0x1de8cb={'startRow':_0x50f54b,'endRow':_0x50f54b,'startColumn':_0x564760,'endColumn':_0x564760},_0x4f1c3a={'startRow':_0x50f54b+0x2,'endRow':_0x50f54b+0xe,'startColumn':_0x564760,'endColumn':_0x564760+0x6};return[_0x1de8cb,_0x4f1c3a];}function _0x2f9aba(_0x3c2549,_0x35ec1d,_0x570424){const _0x26882b=_0x1c787c,{cornerView:_0x35b78d,rowView:_0x3d41e0,colView:_0x4170ed,pageView:_0x2e6df5}=_0x3c2549,{row:_0xf7f77d,col:_0x4cb379}=_0x35ec1d;if(_0x570424)return{'rowCount':_0x3608e8+_0xf7f77d,'colCount':_0x35b2f9+_0x4cb379};const _0x29c929=_0x2e6df5[_0x26882b(0x30e)]>-0x1?_0x2e6df5[_0x26882b(0x30e)]+0x1:0x0,_0x132121=_0x2e6df5[_0x26882b(0x112)]>-0x1?_0x2e6df5['lastCol']:0x0,_0x2cf5e1=_0xf7f77d+_0x29c929+(_0x29c929?0x1:0x0)+_0x35b78d[_0x26882b(0x286)]+_0x3d41e0[_0x26882b(0x286)],_0x473f90=_0x4cb379+_0x132121,_0x39b11a=_0x4cb379+_0x35b78d['colCount']+_0x4170ed[_0x26882b(0xd7)],_0x5089ab=Math[_0x26882b(0x22b)](_0x473f90,_0x39b11a);return{'rowCount':_0x2cf5e1,'colCount':_0x5089ab};}function _0x44d3aa(_0x3f7653,_0x6d473b,_0x73f7ee,_0x2c90c5){const _0x1af79e=_0x1c787c,{row:_0x43803c,col:_0x1c40c9,unitId:_0x48cc27,subUnitId:_0x2e44bf}=_0x73f7ee,_0x3b1caf=_0x2f9aba(_0x6d473b,{'row':_0x43803c,'col':_0x1c40c9},_0x2c90c5),_0x4d16b7=_0x3f7653['get'](_0x177d6a['IUniverInstanceService']),_0x1518c5=_0x22c23f[_0x1af79e(0x109)](_0x4d16b7,{'unitId':_0x48cc27,'subUnitId':_0x2e44bf}),_0x22e8b4=[],_0x1aa208=[];if(!_0x1518c5)return{'undos':_0x1aa208,'redos':_0x22e8b4};const {worksheet:_0x18a60a}=_0x1518c5,_0x2878f4=_0x18a60a[_0x1af79e(0x132)](),_0x1076aa=_0x18a60a[_0x1af79e(0xf6)]();return _0x2878f4<_0x3b1caf[_0x1af79e(0x286)]&&(_0x22e8b4[_0x1af79e(0x1a2)]({'id':_0x22c23f[_0x1af79e(0x254)]['id'],'params':{'unitId':_0x48cc27,'subUnitId':_0x2e44bf,'range':{'startRow':_0x2878f4,'endRow':_0x3b1caf[_0x1af79e(0x286)]-0x1,'startColumn':0x0,'endColumn':_0x1076aa-0x1}}}),_0x1aa208[_0x1af79e(0x1a2)]({'id':_0x22c23f[_0x1af79e(0x22e)]['id'],'params':{'unitId':_0x48cc27,'subUnitId':_0x2e44bf,'range':{'startRow':_0x2878f4,'endRow':_0x3b1caf[_0x1af79e(0x286)]-0x1,'startColumn':0x0,'endColumn':_0x1076aa-0x1}}})),_0x1076aa<_0x3b1caf[_0x1af79e(0xd7)]&&(_0x22e8b4[_0x1af79e(0x1a2)]({'id':_0x22c23f['InsertColMutation']['id'],'params':{'unitId':_0x48cc27,'subUnitId':_0x2e44bf,'range':{'startRow':0x0,'endRow':_0x2878f4-0x1,'startColumn':_0x1076aa,'endColumn':_0x3b1caf[_0x1af79e(0xd7)]-0x1}}}),_0x1aa208['push']({'id':_0x22c23f[_0x1af79e(0x291)]['id'],'params':{'unitId':_0x48cc27,'subUnitId':_0x2e44bf,'range':{'startRow':0x0,'endRow':_0x2878f4-0x1,'startColumn':_0x1076aa,'endColumn':_0x3b1caf[_0x1af79e(0xd7)]-0x1}}})),{'undos':_0x1aa208,'redos':_0x22e8b4};}function _0x52d63e(_0x2a2482){const _0x2936a8=_0x1c787c;let _0x3bc037=0x0;for(let _0x2241b2=0x0;_0x2241b2<_0x2a2482[_0x2936a8(0x10f)];_0x2241b2++){const _0x3f6cf1=_0x2a2482['charCodeAt'](_0x2241b2);_0x3f6cf1>=0x4e00&&_0x3f6cf1<=0x9fff||_0x3f6cf1>=0x3000&&_0x3f6cf1<=0x303f||_0x3f6cf1>=0xff00&&_0x3f6cf1<=0xffef?_0x3bc037+=0x2:_0x3bc037+=0x1;}return _0x3bc037;}function _0x172613(_0x2c2e81,_0x42b29a,_0x2c25d0,_0x49b0cc){const _0x2c4acb=_0x1c787c;var _0x4b1cfb,_0x27da99,_0x55f403,_0xe415;const {rowCount:_0x43901c,colCount:_0x58293f,headerMap:_0x18529e}=_0x2c2e81,_0x294e02=0x64,_0x171be7=Math[_0x2c4acb(0x2f9)](_0x43901c,_0x294e02),_0x525d9a=Math[_0x2c4acb(0x2f9)](_0x58293f,_0x294e02);let _0x350cc8='',_0xbd8688=0x0;for(let _0x3f6f6f=0x0;_0x3f6f6f<_0x171be7;_0x3f6f6f++)for(let _0x11bd3e=0x0;_0x11bd3e<_0x525d9a;_0x11bd3e++){const _0x15bbc9={...(_0x27da99=(_0x4b1cfb=_0x2c2e81[_0x2c4acb(0x292)])==null?void 0x0:_0x4b1cfb[_0x3f6f6f])==null?void 0x0:_0x27da99[_0x11bd3e]},_0x3c3330=(_0x55f403=_0x18529e[_0x3f6f6f])==null?void 0x0:_0x55f403['tableFieldId'],_0x192aa3=_0x49b0cc[_0x3c3330];let _0x55aa77=_0x2c2e81[_0x2c4acb(0x33d)](_0x3f6f6f,_0x11bd3e);if(_0x15bbc9){const _0x12e8ee=_0x2c25d0?_0x11bd3e===0x0&&((_0xe415=_0x2c2e81[_0x2c4acb(0x106)](_0x11bd3e+0x1))==null?void 0x0:_0xe415[_0x2c4acb(0x16e)]):!0x1;_0x55aa77=_0x58787d(_0x15bbc9,_0x12e8ee,_0x192aa3,_0x42b29a);}if(_0x55aa77!==void 0x0){const _0x2a2df3=_0x52d63e(String(_0x55aa77));_0xbd8688<_0x2a2df3&&(_0x350cc8=String(_0x55aa77),_0xbd8688=_0x2a2df3);}}return _0x350cc8;}function _0x105b5d(_0x10578a){const _0x5a89ab=_0x1c787c,{rowCount:_0x30f7ea,colCount:_0x53ebd0}=_0x10578a;let _0x3ee38f='',_0x43f44b=0x0;for(let _0x4554fd=_0x30f7ea-0x1;_0x4554fd>0x0&&_0x4554fd>_0x30f7ea-0x3;_0x4554fd--)for(let _0x4ae1b6=0x0;_0x4ae1b6<_0x53ebd0;_0x4ae1b6++){const _0x325dfd=_0x10578a[_0x5a89ab(0x33d)](_0x4554fd,_0x4ae1b6);if(_0x325dfd!==void 0x0){const _0x8955c6=String(_0x325dfd)[_0x5a89ab(0x10f)];_0x43f44b<_0x8955c6&&(_0x3ee38f=String(_0x325dfd),_0x43f44b=_0x8955c6);}}return _0x3ee38f;}function _0x224106(_0x39eb30){const _0x5f563f=_0x1c787c,{rowCount:_0x2fac11,colCount:_0x1f0eac}=_0x39eb30;let _0xf73266='',_0x3d1177=0x0;for(let _0x83564b=0x0;_0x83564b<_0x2fac11;_0x83564b++)for(let _0x2b5b2e=0x0;_0x2b5b2e<_0x1f0eac;_0x2b5b2e++){const _0x344ea6=_0x39eb30[_0x5f563f(0x33d)](_0x83564b,_0x2b5b2e);if(_0x344ea6!==void 0x0){const _0x5a6534=String(_0x344ea6)[_0x5f563f(0x10f)];_0x3d1177<_0x5a6534&&(_0xf73266=String(_0x344ea6),_0x3d1177=_0x5a6534);}}return _0xf73266;}function _0x594aa5(_0x207ddf,_0x3a2880){const _0x3a8af2=_0x1c787c,{rowFields:_0x4f87cb,columnFields:_0x546893,valueFields:_0x4b5fbf,filterFields:_0x3ab159,dimension:_0x1c76d1,measure:_0x51e6d5}=_0x3a2880;for(const _0x5d9925 of _0x4f87cb){const _0x525a1c=_0x1c76d1[_0x5d9925];_0x525a1c&&_0x207ddf[_0x3a8af2(0x268)](_0x525a1c[_0x3a8af2(0x1bc)])&&(_0x207ddf[_0x3a8af2(0xd3)](_0x525a1c[_0x3a8af2(0x1bc)],_0x175d11['PivotTableFiledAreaEnum'][_0x3a8af2(0xf0)],void 0x0,_0x5d9925),_0x525a1c[_0x3a8af2(0x36a)]&&_0x207ddf[_0x3a8af2(0x1b1)](_0x525a1c['id'],_0x525a1c[_0x3a8af2(0x36a)]),_0x525a1c[_0x3a8af2(0x27f)]&&_0x207ddf['setSortInfo'](_0x525a1c['id'],_0x525a1c[_0x3a8af2(0x27f)]),_0x525a1c[_0x3a8af2(0x2df)]&&_0x207ddf[_0x3a8af2(0x277)](_0x525a1c['id'],_0x525a1c[_0x3a8af2(0x2df)]));}for(const _0x5cbb09 of _0x546893){const _0x39de84=_0x1c76d1[_0x5cbb09];_0x39de84&&_0x207ddf[_0x3a8af2(0x268)](_0x39de84['dataFieldId'])&&(_0x207ddf['addFieldWithSourceId'](_0x39de84[_0x3a8af2(0x1bc)],_0x175d11['PivotTableFiledAreaEnum'][_0x3a8af2(0x3ca)],void 0x0,_0x5cbb09),_0x39de84[_0x3a8af2(0x27f)]&&_0x207ddf['setSortInfo'](_0x39de84['id'],_0x39de84[_0x3a8af2(0x27f)]),_0x39de84['filterInfo']&&_0x207ddf[_0x3a8af2(0x277)](_0x39de84['id'],_0x39de84[_0x3a8af2(0x2df)]),_0x39de84['displayName']&&_0x207ddf['renameField'](_0x39de84['id'],_0x39de84[_0x3a8af2(0x36a)]));}for(const _0x16dd56 of _0x3ab159){const _0x403beb=_0x1c76d1[_0x16dd56];_0x403beb&&_0x207ddf[_0x3a8af2(0x268)](_0x403beb[_0x3a8af2(0x1bc)])&&(_0x207ddf[_0x3a8af2(0xd3)](_0x403beb[_0x3a8af2(0x1bc)],_0x175d11[_0x3a8af2(0x3d5)][_0x3a8af2(0x1bb)],void 0x0,_0x16dd56),_0x403beb[_0x3a8af2(0x27f)]&&_0x207ddf[_0x3a8af2(0x161)](_0x403beb['id'],_0x403beb[_0x3a8af2(0x27f)]),_0x403beb[_0x3a8af2(0x2df)]&&_0x207ddf[_0x3a8af2(0x277)](_0x403beb['id'],_0x403beb[_0x3a8af2(0x2df)]),_0x403beb[_0x3a8af2(0x36a)]&&_0x207ddf[_0x3a8af2(0x1b1)](_0x403beb['id'],_0x403beb[_0x3a8af2(0x36a)]));}for(const _0x404900 of _0x4b5fbf){const _0x5a6ef4=_0x51e6d5[_0x404900];_0x5a6ef4&&_0x207ddf[_0x3a8af2(0x268)](_0x5a6ef4[_0x3a8af2(0x1bc)])&&(_0x207ddf[_0x3a8af2(0xd3)](_0x5a6ef4['dataFieldId'],_0x175d11[_0x3a8af2(0x3d5)][_0x3a8af2(0x1c5)],void 0x0,_0x404900),_0x5a6ef4['subtotal']!==void 0x0&&_0x207ddf['setSubtotalType'](_0x404900,_0x5a6ef4['subtotal']),_0x5a6ef4[_0x3a8af2(0x1ed)]&&_0x207ddf['setFieldFormat'](_0x404900,_0x5a6ef4[_0x3a8af2(0x1ed)]),_0x5a6ef4[_0x3a8af2(0x36a)]&&_0x207ddf['renameField'](_0x5a6ef4['id'],_0x5a6ef4[_0x3a8af2(0x36a)]));}const _0x3f5a47=_0x3a2880[_0x3a8af2(0x281)];for(const {fieldId:_0x2be06a,filterInfo:_0xd8077a}of _0x3f5a47)_0x207ddf['setValueFilterInfo'](_0x2be06a,_0xd8077a);}function _0x572cc8(_0x5bd2ff,_0x5f55ef){const _0xf74097=_0x1c787c,_0xf52cba=[];_0x5f55ef===_0x175d11['PivotTableFiledAreaEnum']['Row']&&_0x5bd2ff[_0xf74097(0x247)](_0x175d11[_0xf74097(0x3d5)][_0xf74097(0xf0)],_0x29ec3c=>{const _0x47c79d=_0xf74097;_0xf52cba[_0x47c79d(0x1a2)](_0x29ec3c[_0x47c79d(0x24c)]());}),_0x5f55ef===_0x175d11[_0xf74097(0x3d5)][_0xf74097(0x3ca)]&&_0x5bd2ff['iterateFieldByArea'](_0x175d11['PivotTableFiledAreaEnum'][_0xf74097(0x3ca)],_0x4b1995=>{const _0x423bb2=_0xf74097;_0xf52cba[_0x423bb2(0x1a2)](_0x4b1995[_0x423bb2(0x24c)]());}),_0x5f55ef===_0x175d11[_0xf74097(0x3d5)][_0xf74097(0x1bb)]&&_0x5bd2ff['iterateFieldByArea'](_0x175d11[_0xf74097(0x3d5)][_0xf74097(0x1bb)],_0xa6e9ff=>{const _0x306d1c=_0xf74097;_0xf52cba[_0x306d1c(0x1a2)](_0xa6e9ff[_0x306d1c(0x24c)]());}),_0x5f55ef===_0x175d11['PivotTableFiledAreaEnum'][_0xf74097(0x1c5)]&&_0x5bd2ff[_0xf74097(0x247)](_0x175d11['PivotTableFiledAreaEnum'][_0xf74097(0x1c5)],_0x443bf8=>{const _0x41baff=_0xf74097;_0xf52cba[_0x41baff(0x1a2)](_0x443bf8[_0x41baff(0x24c)]());}),_0x5f55ef===void 0x0&&_0x5bd2ff[_0xf74097(0x153)](_0x4b56c4=>{const _0x331017=_0xf74097;_0xf52cba[_0x331017(0x1a2)](_0x4b56c4[_0x331017(0x24c)]());});const _0x5b264b=_0xf52cba['length'];for(let _0xa3d9f7=_0x5b264b-0x1;_0xa3d9f7>=0x0;_0xa3d9f7--)_0x5bd2ff['removeField'](_0xf52cba[_0xa3d9f7]);const _0x34de8f=_0x5bd2ff[_0xf74097(0x1c2)]();for(const _0x549403 in _0x34de8f)_0x5bd2ff[_0xf74097(0x114)](_0x549403);}function _0x340d4d(_0x4ea138,_0x2e8990){const _0x4397fc=_0x1c787c,_0x57c249=new Date(_0x175d11[_0x4397fc(0x319)](_0x2e8990)),_0x1f06d3=new Date(_0x175d11['excelDateToUnixMilliseconds'](_0x4ea138)),_0x2bd691=_0x57c249[_0x4397fc(0xe0)](),_0x3bbd91=_0x1f06d3[_0x4397fc(0xe0)](),_0x2f9486=_0x57c249[_0x4397fc(0xeb)](),_0x10315a=_0x1f06d3[_0x4397fc(0xeb)](),_0x30ac45=_0x57c249['getDate'](),_0x433c47=_0x1f06d3[_0x4397fc(0x3dc)](),_0x255e4d=_0x2bd691===_0x3bbd91,_0x1eb202=_0x255e4d&&_0x2f9486===_0x10315a;return _0x255e4d&&_0x1eb202&&!(_0x1eb202&&_0x30ac45===_0x433c47)?_0x175d11[_0x4397fc(0x271)][_0x4397fc(0xf1)]:_0x255e4d&&!_0x1eb202?_0x175d11['PivotDateGroupFieldDateTypeEnum'][_0x4397fc(0x26f)]:_0x175d11[_0x4397fc(0x271)][_0x4397fc(0x31f)];}function _0x4e9638(_0x4b0e91,_0x5790c8){const _0x2f8030=_0x1c787c,_0x44825d=_0x4b0e91[_0x2f8030(0x3e4)](_0x1ed859[_0x2f8030(0x1af)])[_0x2f8030(0x276)]();let _0x3008b7='';switch(_0x5790c8){case _0x175d11[_0x2f8030(0x271)][_0x2f8030(0xf1)]:_0x3008b7=_0x44825d['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x175d11['PivotDateGroupFieldDateTypeEnum']['YearMonth']:_0x3008b7=_0x44825d[_0x2f8030(0x20d)];break;case _0x175d11[_0x2f8030(0x271)][_0x2f8030(0x31f)]:_0x3008b7=_0x44825d[_0x2f8030(0x3df)];break;case _0x175d11[_0x2f8030(0x271)]['Month']:_0x3008b7=_0x44825d['sheets-pivot.dateGroup.month'];break;case _0x175d11[_0x2f8030(0x271)][_0x2f8030(0x299)]:_0x3008b7=_0x44825d[_0x2f8030(0x3b3)];break;case _0x175d11[_0x2f8030(0x271)]['Date']:_0x3008b7=_0x44825d[_0x2f8030(0x226)];break;case _0x175d11['PivotDateGroupFieldDateTypeEnum'][_0x2f8030(0x21a)]:_0x3008b7=_0x44825d[_0x2f8030(0x3d6)];break;case _0x175d11['PivotDateGroupFieldDateTypeEnum'][_0x2f8030(0x25b)]:_0x3008b7=_0x44825d[_0x2f8030(0x240)];break;case _0x175d11[_0x2f8030(0x271)][_0x2f8030(0x1eb)]:_0x3008b7=_0x44825d[_0x2f8030(0x1ac)];break;case _0x175d11[_0x2f8030(0x271)]['MonthDate']:_0x3008b7=_0x44825d[_0x2f8030(0x38f)];break;case _0x175d11[_0x2f8030(0x271)][_0x2f8030(0x3bd)]:_0x3008b7=_0x44825d[_0x2f8030(0x148)];break;default:_0x3008b7='';break;}return _0x3008b7;}const _0x2e0c4f='sheets-pivot.config',_0x5b9e4b={};var _0xc6eb2b=Object[_0x1c787c(0x275)],_0x12154b=(_0x42744b,_0x2b445d,_0x2fa285,_0x56a89d)=>{for(var _0x44cda4=_0x56a89d>0x1?void 0x0:_0x56a89d?_0xc6eb2b(_0x2b445d,_0x2fa285):_0x2b445d,_0x3a73ed=_0x42744b['length']-0x1,_0x2c8997;_0x3a73ed>=0x0;_0x3a73ed--)(_0x2c8997=_0x42744b[_0x3a73ed])&&(_0x44cda4=_0x2c8997(_0x44cda4)||_0x44cda4);return _0x44cda4;},_0x3b6452=(_0x23ac90,_0x38ecf0)=>(_0x340b8c,_0x41734e)=>_0x38ecf0(_0x340b8c,_0x41734e,_0x23ac90);_0x1ed859[_0x1c787c(0x107)]=class extends _0x177d6a[_0x1c787c(0x2c5)]{constructor(_0x5a0f38,_0x44981a,_0x9153d1,_0xb5a62d,_0x44f960){const _0x5a5863=_0x1c787c;super(),_0x117630(this,_0x5a5863(0x126),new Map()),_0x117630(this,'_collectionConfigModel',new Map()),_0x117630(this,'_pivotTableRangeInfo',new Map()),_0x117630(this,_0x5a5863(0xfc),new Map()),_0x117630(this,_0x5a5863(0x3c0),new _0x2d0b5f[(_0x5a5863(0x222))]()),_0x117630(this,'_pivotInitCompleted$',new _0x2d0b5f[(_0x5a5863(0x222))]()),_0x117630(this,_0x5a5863(0x35f),this[_0x5a5863(0x2da)]['asObservable']()),_0x117630(this,_0x5a5863(0x147),new _0x2d0b5f[(_0x5a5863(0x222))]()),_0x117630(this,_0x5a5863(0x2e6),this[_0x5a5863(0x147)][_0x5a5863(0x14a)]()),_0x117630(this,_0x5a5863(0x1fe),{}),_0x117630(this,'configVersion$',this[_0x5a5863(0x3c0)]['asObservable']()),(this[_0x5a5863(0x343)]=_0x5a0f38,this['_commandService']=_0x44981a,this['_univerInstanceService']=_0x9153d1,this[_0x5a5863(0x37c)]=_0xb5a62d,this[_0x5a5863(0x1f1)]=_0x44f960,this[_0x5a5863(0x221)](),this[_0x5a5863(0x273)]());const _0x2ab3b7=this[_0x5a5863(0x1f1)][_0x5a5863(0x19a)](_0x2e0c4f);(_0x2ab3b7==null?void 0x0:_0x2ab3b7['notExecuteFormula'])===!0x0&&this['_initSnapshot']();}[_0x1c787c(0x273)](){const _0x39d145=_0x1c787c;this['disposeWithMe'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x177d6a[_0x39d145(0x238)][_0x39d145(0x217)])[_0x39d145(0x2ed)](_0x535451=>{const _0x538594=_0x39d145;this[_0x538594(0x103)](_0x535451[_0x538594(0xc2)]());}));}[_0x1c787c(0x195)](){const _0x44c1ff=_0x1c787c;this[_0x44c1ff(0x2da)][_0x44c1ff(0x31b)](!0x0);}[_0x1c787c(0x221)](){const _0xbbf0ff=_0x1c787c,_0x5387a2=_0x16e30a(this[_0xbbf0ff(0x343)],_0x1aa151,'',{});this[_0xbbf0ff(0x1fe)]=_0x5387a2,this['_commandService'][_0xbbf0ff(0x104)](_0x224063['id'],{'textInfo':_0x5387a2},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x38d236=_0x1c787c;return this[_0x38d236(0x1fe)];}['updateViewInfo'](_0x130853,_0x5256ac,_0x22b276,_0x324837,_0x14f4ad){const _0x4ba8ab=_0x1c787c;this[_0x4ba8ab(0x345)](_0x130853,_0x5256ac,_0x22b276,_0x324837),this[_0x4ba8ab(0x23a)](_0x130853,_0x5256ac,_0x22b276,_0x14f4ad);}[_0x1c787c(0x33b)](_0x3e9eec,_0x4d1025,_0xd79c11){const _0x3f858a=_0x1c787c;var _0x3a90f6;const _0x20582b=(_0x3a90f6=this['_model'][_0x3f858a(0x3e4)](_0x3e9eec))==null?void 0x0:_0x3a90f6[_0x3f858a(0x3e4)](_0x4d1025);if(_0x20582b)return _0x20582b['get'](_0xd79c11);}[_0x1c787c(0x3c3)](_0x388068,_0xc9d037){const _0x166198=_0x1c787c,_0x535d2d=this['_model'][_0x166198(0x3e4)](_0x388068);if(_0x535d2d){for(const [_0x204e1f,_0x4248d4]of _0x535d2d[_0x166198(0x1f7)]())for(const [_0x1d9741,_0x3e4658]of _0x4248d4[_0x166198(0x1f7)]())if(_0x1d9741===_0xc9d037)return _0x3e4658['targetCellInfo'];}}[_0x1c787c(0xdd)](_0x486919,_0x3e3a52,_0x1bf1b0){const _0x174c52=_0x1c787c,_0x4e79bc=this[_0x174c52(0x33b)](_0x486919,_0x3e3a52,_0x1bf1b0);return _0x4e79bc==null?void 0x0:_0x4e79bc['targetCellInfo'];}[_0x1c787c(0x255)](_0x43100e,_0x20119d){const _0x691430=_0x1c787c;var _0x3b4162;return(_0x3b4162=this['_model'][_0x691430(0x3e4)](_0x43100e))==null?void 0x0:_0x3b4162[_0x691430(0x3e4)](_0x20119d);}[_0x1c787c(0x257)](_0x87eedb,_0x3d4e89,_0x28dec2,_0x39a6f5){const _0x1cbd9d=_0x1c787c,_0x4ce7e3=this[_0x1cbd9d(0xbf)](_0x87eedb,_0x3d4e89);_0x39a6f5?_0x4ce7e3[_0x1cbd9d(0xfa)](_0x28dec2,_0x39a6f5):_0x4ce7e3[_0x1cbd9d(0x113)](_0x28dec2),this[_0x1cbd9d(0x147)][_0x1cbd9d(0x31b)]({'unitId':_0x87eedb,'subUnitId':_0x3d4e89,'pivotTableId':_0x28dec2,'pivotTableConfig':_0x39a6f5});}[_0x1c787c(0x16b)](_0x4ba20f,_0x57f00d){const _0x538ec7=_0x1c787c;var _0x4c728e;return(_0x4c728e=this[_0x538ec7(0x378)]['get'](_0x4ba20f))==null?void 0x0:_0x4c728e[_0x538ec7(0x145)][_0x57f00d];}[_0x1c787c(0xec)](_0x45ae57,_0x734058){const _0x4faa3c=_0x1c787c;this[_0x4faa3c(0x378)]['set'](_0x45ae57,_0x734058),this[_0x4faa3c(0x3c0)][_0x4faa3c(0x31b)](Math[_0x4faa3c(0xdc)]());}[_0x1c787c(0xbf)](_0x991351,_0x486768){const _0xe74740=_0x1c787c;let _0x129e7c=this[_0xe74740(0x126)][_0xe74740(0x3e4)](_0x991351);_0x129e7c||(_0x129e7c=new Map(),this[_0xe74740(0x126)]['set'](_0x991351,_0x129e7c));let _0x2fc952=_0x129e7c[_0xe74740(0x3e4)](_0x486768);return _0x2fc952||(_0x2fc952=new Map(),_0x129e7c[_0xe74740(0xfa)](_0x486768,_0x2fc952)),_0x2fc952;}[_0x1c787c(0x216)](_0x1ab607,_0x2d411a){const _0x68704a=_0x1c787c;let _0x17148f=this[_0x68704a(0xc8)][_0x68704a(0x3e4)](_0x1ab607);_0x17148f||(_0x17148f=new Map(),this['_pivotTableRangeInfo'][_0x68704a(0xfa)](_0x1ab607,_0x17148f));let _0x4b7a6f=_0x17148f[_0x68704a(0x3e4)](_0x2d411a);return _0x4b7a6f||(_0x4b7a6f=new Map(),_0x17148f['set'](_0x2d411a,_0x4b7a6f)),_0x4b7a6f;}[_0x1c787c(0x1d9)](_0x507588,_0x15a856){const _0x16b393=_0x1c787c;let _0x4f5e5c=this[_0x16b393(0xfc)][_0x16b393(0x3e4)](_0x507588);_0x4f5e5c||(_0x4f5e5c=new Map(),this[_0x16b393(0xfc)][_0x16b393(0xfa)](_0x507588,_0x4f5e5c));let _0xd15447=_0x4f5e5c[_0x16b393(0x3e4)](_0x15a856);return _0xd15447||(_0xd15447=new Map(),_0x4f5e5c[_0x16b393(0xfa)](_0x15a856,_0xd15447)),_0xd15447;}['updatePivotTableRangeInfo'](_0x2e2b84,_0x2186cc,_0x59178d,_0x133767){const _0x4bd100=_0x1c787c;var _0x8f5ae8;const _0x443498=this['_ensurePivotTableRangeInfo'](_0x2e2b84,_0x2186cc),_0x1dd785=(_0x8f5ae8=_0x443498[_0x4bd100(0x3e4)](_0x59178d))==null?void 0x0:_0x8f5ae8['oldRangeInfo'];_0x443498[_0x4bd100(0xfa)](_0x59178d,{'oldRangeInfo':_0x1dd785,'rangeInfo':_0x133767});}['updatePivotTableMatrixInfo'](_0x3c0c45,_0x162611,_0x4aaf9a,_0x293319){const _0x270dca=_0x1c787c;var _0x25fa38;const _0x5d88c1=this['_ensurePivotTableMatrixInfo'](_0x3c0c45,_0x162611),_0x2d7dc6=(_0x25fa38=_0x5d88c1[_0x270dca(0x3e4)](_0x4aaf9a))==null?void 0x0:_0x25fa38[_0x270dca(0x173)];_0x5d88c1[_0x270dca(0xfa)](_0x4aaf9a,{'oldMatrix':_0x2d7dc6,'matrix':_0x293319});}[_0x1c787c(0x16c)](_0x1820b4,_0x44a14d,_0x4b2c71){const _0x504de3=_0x1c787c;var _0x4374bb,_0x4b3d1d;return(_0x4b3d1d=(_0x4374bb=this[_0x504de3(0xc8)][_0x504de3(0x3e4)](_0x1820b4))==null?void 0x0:_0x4374bb[_0x504de3(0x3e4)](_0x44a14d))==null?void 0x0:_0x4b3d1d['get'](_0x4b2c71);}[_0x1c787c(0x272)](_0x157e97,_0x2de064,_0xc4a569){const _0x5983f5=_0x1c787c;var _0x1a3d12,_0x2e6e65;return(_0x2e6e65=(_0x1a3d12=this[_0x5983f5(0xfc)][_0x5983f5(0x3e4)](_0x157e97))==null?void 0x0:_0x1a3d12[_0x5983f5(0x3e4)](_0x2de064))==null?void 0x0:_0x2e6e65[_0x5983f5(0x3e4)](_0xc4a569);}[_0x1c787c(0x103)](_0x2b47cb){const _0x2ab729=_0x1c787c;this[_0x2ab729(0x126)][_0x2ab729(0x113)](_0x2b47cb),this[_0x2ab729(0x378)][_0x2ab729(0x113)](_0x2b47cb);}['_toJSON'](_0x49de10){const _0x8067bb=_0x1c787c,_0x51989c={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x8067bb(0x378)][_0x8067bb(0x3e4)](_0x49de10)&&(_0x51989c[_0x8067bb(0x26c)][_0x49de10]=this['_collectionConfigModel'][_0x8067bb(0x3e4)](_0x49de10)),this[_0x8067bb(0x126)]['get'](_0x49de10)){_0x51989c[_0x8067bb(0x17e)][_0x49de10]={};const _0x16a509=this['_model'][_0x8067bb(0x3e4)](_0x49de10);_0x16a509!=null&&_0x16a509['size']&&[..._0x16a509[_0x8067bb(0x1fc)]()]['forEach'](_0x4404ca=>{const _0x5716ab=_0x8067bb,_0x1fa375=_0x16a509[_0x5716ab(0x3e4)](_0x4404ca);_0x1fa375!=null&&_0x1fa375[_0x5716ab(0x13f)]&&(_0x51989c[_0x5716ab(0x17e)][_0x49de10][_0x4404ca]={},[..._0x1fa375['keys']()][_0x5716ab(0xe3)](_0x3c50e7=>{const _0x3a47b5=_0x5716ab,_0x4d3a92=_0x1fa375[_0x3a47b5(0x3e4)](_0x3c50e7);_0x4d3a92&&(_0x51989c['pivotTableConfigs'][_0x49de10][_0x4404ca][_0x3c50e7]=_0x4d3a92);}));});}return _0x51989c;}[_0x1c787c(0xd4)](){const _0xb6fe2a=_0x1c787c;this[_0xb6fe2a(0x29f)](this[_0xb6fe2a(0x37c)][_0xb6fe2a(0x3d9)]({'toJson':_0xb2d2e9=>JSON[_0xb6fe2a(0x10c)](this[_0xb6fe2a(0xcc)](_0xb2d2e9)),'parseJson':_0x5d4d03=>({}),'businesses':[_0x177d6a[_0xb6fe2a(0x238)][_0xb6fe2a(0x217)]],'pluginName':_0x389941,'onLoad':(_0x302cd2,_0x73d42b)=>{},'onUnLoad':_0x518079=>{const _0x465ee2=_0xb6fe2a;this[_0x465ee2(0x103)](_0x518079);}}));}},_0x1ed859[_0x1c787c(0x107)]=_0x12154b([_0x3b6452(0x0,_0x177d6a['Inject'](_0x177d6a[_0x1c787c(0x284)])),_0x3b6452(0x1,_0x177d6a[_0x1c787c(0x2d9)](_0x177d6a[_0x1c787c(0x353)])),_0x3b6452(0x2,_0x177d6a[_0x1c787c(0x2d9)](_0x177d6a['IUniverInstanceService'])),_0x3b6452(0x3,_0x177d6a[_0x1c787c(0x2d9)](_0x177d6a['IResourceManagerService'])),_0x3b6452(0x4,_0x177d6a['Inject'](_0x177d6a['IConfigService']))],_0x1ed859[_0x1c787c(0x107)]);var _0x2883fd=Object[_0x1c787c(0x275)],_0x4241fa=(_0x38b3e0,_0x477880,_0x2772e0,_0xb42549)=>{const _0x3df3a5=_0x1c787c;for(var _0x1ea991=_0xb42549>0x1?void 0x0:_0xb42549?_0x2883fd(_0x477880,_0x2772e0):_0x477880,_0x40f333=_0x38b3e0[_0x3df3a5(0x10f)]-0x1,_0x537c5f;_0x40f333>=0x0;_0x40f333--)(_0x537c5f=_0x38b3e0[_0x40f333])&&(_0x1ea991=_0x537c5f(_0x1ea991)||_0x1ea991);return _0x1ea991;},_0x393ecd=(_0x5a53b7,_0x4b9439)=>(_0x581c65,_0x3c5058)=>_0x4b9439(_0x581c65,_0x3c5058,_0x5a53b7);_0x1ed859[_0x1c787c(0x1d6)]=class extends _0x177d6a[_0x1c787c(0x2c5)]{constructor(_0x5141d7,_0x343687,_0x3b197c,_0x10becc,_0x2248a2){const _0x4e3fd9=_0x1c787c;super(),_0x117630(this,_0x4e3fd9(0x2a5),new Map()),_0x117630(this,_0x4e3fd9(0xe4),new Map()),_0x117630(this,'_markDirty$',new _0x2d0b5f[(_0x4e3fd9(0x222))]()),_0x117630(this,_0x4e3fd9(0x3bc),this['_markDirty$']['asObservable']()),_0x117630(this,_0x4e3fd9(0x2b4),new _0x2d0b5f[(_0x4e3fd9(0x222))]()),_0x117630(this,'viewUpdate$',this['_viewUpdate$'][_0x4e3fd9(0x14a)]()),_0x117630(this,_0x4e3fd9(0x1fe)),(this[_0x4e3fd9(0x1b4)]=_0x5141d7,this['_injector']=_0x343687,this[_0x4e3fd9(0xee)]=_0x3b197c,this[_0x4e3fd9(0x214)]=_0x10becc,this[_0x4e3fd9(0x2d7)]=_0x2248a2,this['_initLocale'](),this[_0x4e3fd9(0x273)]());}[_0x1c787c(0x273)](){const _0xabf26d=_0x1c787c;this[_0xabf26d(0x29f)](this['_univerInstanceService'][_0xabf26d(0x1c0)](_0x177d6a[_0xabf26d(0x238)][_0xabf26d(0x217)])['subscribe'](_0x16f467=>{const _0x1faef8=_0xabf26d;this[_0x1faef8(0x103)](_0x16f467[_0x1faef8(0xc2)]());}));}[_0x1c787c(0x221)](){const _0x1e1683=_0x1c787c;this[_0x1e1683(0x1fe)]=_0x16e30a(this[_0x1e1683(0x343)],_0x1aa151,'',{});}['updateRenderCache'](_0xd04db7){const _0x3e0e8b=_0x1c787c,{view:_0x18699b,unitId:_0x4b476b,subUnitId:_0x471ab2,pivotTableId:_0x52cb65,type:_0x3f7852}=_0xd04db7,_0x536fa9=this[_0x3e0e8b(0xee)][_0x3e0e8b(0x33b)](_0x4b476b,_0x471ab2,_0x52cb65);if(!_0x18699b||!_0x536fa9||_0x3f7852===_0x5a4701[_0x3e0e8b(0x1a7)])return;const {pageView:_0x1d377c,cornerView:_0x40ebd7,rowView:_0x566a7c,colView:_0x4f2b2a,dataView:_0x13a460}=_0x18699b,_0x2e7406=_0x536fa9[_0x3e0e8b(0x30d)],_0xd7b232=_0x536fa9[_0x3e0e8b(0x31a)],_0xc2398c=this[_0x3e0e8b(0x1cd)](_0x4b476b,_0x471ab2),_0x321274=this['_ensurePivotItemRenderInfoCache'](_0x4b476b,_0x471ab2,_0x52cb65);if(_0xd7b232)return this[_0x3e0e8b(0x14c)](_0xd04db7,_0xc2398c,_0x2e7406,_0x321274);{const _0x1344d6=_0x397824(_0x2e7406,_0x1d377c,!0x0),_0x7b62a5=_0x1d377c[_0x3e0e8b(0x30e)]>=0x0?_0x1d377c[_0x3e0e8b(0x30e)]+0x1:0x0,_0x85b296=_0x40ebd7['getRowCount'](),_0x39f31c=_0x40ebd7[_0x3e0e8b(0x233)](),_0x3e19bc=_0x1344d6[_0x3e0e8b(0x10f)]>0x0?_0x2afc20:0x0,_0x11dc2a=_0x397824({'row':_0x2e7406['row']+_0x7b62a5+_0x3e19bc,'col':_0x2e7406[_0x3e0e8b(0x368)]},_0x40ebd7,!0x1,!0x1),_0xc8bc76=_0x397824({'row':_0x2e7406[_0x3e0e8b(0x2e7)]+_0x7b62a5+_0x3e19bc+_0x85b296,'col':_0x2e7406[_0x3e0e8b(0x368)]},_0x566a7c,!0x1,!0x0),_0x18a751=_0x397824({'row':_0x2e7406[_0x3e0e8b(0x2e7)]+_0x7b62a5+_0x3e19bc,'col':_0x2e7406[_0x3e0e8b(0x368)]+_0x39f31c},_0x4f2b2a,!0x1,!0x0),_0x5020da=_0x397824({'row':_0x2e7406['row']+_0x7b62a5+_0x3e19bc+_0x85b296,'col':_0x2e7406[_0x3e0e8b(0x368)]+_0x39f31c},_0x13a460,!0x1,!0x1);_0x321274[_0x3e0e8b(0x150)]={'rowRanges':_0xc8bc76,'colRanges':_0x18a751,'cornerRanges':_0x11dc2a,'dataRanges':_0x5020da,'pageRanges':_0x1344d6};const _0x1c24bc=_0x2107bc(this[_0x3e0e8b(0x343)],_0x18699b,_0x536fa9,this[_0x3e0e8b(0x1fe)]),{valueMatrix:_0x20419b,rowInfo:_0x558ad9,colInfo:_0x29873c,cornerInfo:_0x1f4615,rowHeaderMap:_0x18430c,colHeaderMap:_0x577c72}=_0x1c24bc;return _0x321274[_0x3e0e8b(0x136)]={'rowInfo':_0x558ad9,'colInfo':_0x29873c,'cornerInfo':_0x1f4615},_0x321274[_0x3e0e8b(0x158)]={'rowHeaderMap':_0x18430c,'colHeaderMap':_0x577c72},_0x20419b[_0x3e0e8b(0xe3)]((_0x30e6b7,_0x477e40)=>{const _0x5e3e9a=_0x3e0e8b;Object[_0x5e3e9a(0x1fc)](_0x477e40)[_0x5e3e9a(0xe3)](_0x532bc1=>{const _0x42000d=_0x5e3e9a,_0x39ac3f=+_0x532bc1,_0xcf3608=_0x20419b[_0x42000d(0x33d)](_0x30e6b7,_0x39ac3f);_0xc2398c[_0x42000d(0x14f)](_0x30e6b7,_0x39ac3f,_0xcf3608);});}),this[_0x3e0e8b(0x2b4)][_0x3e0e8b(0x31b)]({'unitId':_0x4b476b,'subUnitId':_0x471ab2,'valueMatrix':_0xc2398c,'rangesCache':_0x321274['rangesInfo'],'pivotTableId':_0x52cb65,'type':_0xd04db7[_0x3e0e8b(0x18a)]}),this[_0x3e0e8b(0xee)][_0x3e0e8b(0x1e5)](_0x4b476b,_0x471ab2,_0x52cb65,_0xc2398c,_0x321274[_0x3e0e8b(0x150)]),this[_0x3e0e8b(0x2d7)][_0x3e0e8b(0x181)](_0x4b476b,_0x471ab2,_0x4ac4b1,this['_createExclusiveRange'](_0x321274[_0x3e0e8b(0x150)],_0x52cb65)),{'rangeCache':_0x321274['rangesInfo'],'matrix':_0xc2398c};}}[_0x1c787c(0x14c)](_0x1f7f9c,_0x12a19f,_0x33af81,_0x4f44ef){const _0x12a3da=_0x1c787c,_0x28f593=this[_0x12a3da(0x1b4)]['t'],{unitId:_0x22e483,subUnitId:_0x4417ea,pivotTableId:_0x1bdd4e}=_0x1f7f9c,_0x279589={'filter':_0x28f593('sheets-pivot.emptyPivot.filter'),'row':_0x28f593(_0x12a3da(0x174)),'column':_0x28f593('sheets-pivot.emptyPivot.column'),'values':_0x28f593(_0x12a3da(0x19f))},{matrixCache:_0x57fc3f,rangesCache:_0x1d3fe9}=_0x5ea28a(_0x279589,_0x33af81);return _0x57fc3f[_0x12a3da(0xe2)]((_0x5e5c64,_0x16a2f5,_0x5deff7)=>{const _0x1669fe=_0x12a3da;_0x12a19f[_0x1669fe(0x14f)](_0x5e5c64,_0x16a2f5,_0x5deff7);}),_0x4f44ef[_0x12a3da(0x150)]=_0x1d3fe9,this[_0x12a3da(0x2b4)][_0x12a3da(0x31b)]({'unitId':_0x22e483,'subUnitId':_0x4417ea,'valueMatrix':_0x12a19f,'rangesCache':_0x1d3fe9,'pivotTableId':_0x1bdd4e,'type':_0x1f7f9c[_0x12a3da(0x18a)],'isEmpty':!0x0}),this[_0x12a3da(0xee)][_0x12a3da(0x1e5)](_0x22e483,_0x4417ea,_0x1bdd4e,_0x12a19f,_0x1d3fe9),this[_0x12a3da(0x2d7)][_0x12a3da(0x181)](_0x22e483,_0x4417ea,_0x4ac4b1,this[_0x12a3da(0x10e)](_0x1d3fe9,_0x1bdd4e)),{'rangeCache':_0x4f44ef['rangesInfo'],'matrix':_0x12a19f};}[_0x1c787c(0x10e)](_0xd4721b,_0x2bebd1){const _0x359f54=[],_0x4026fc=_0x3e69b9(_0xd4721b);for(const _0x30dd71 of _0x4026fc)_0x359f54['push']({'groupId':_0x2bebd1,'range':_0x30dd71});return _0x359f54;}[_0x1c787c(0x3d7)](_0x1f460b){const _0x48800a=_0x1c787c;var _0x56828f,_0x258979,_0x293ea9,_0x15151c;const {pivotTableId:_0x19520b,unitId:_0x1bc02e,subUnitId:_0x1b6f99}=_0x1f460b;if(!_0x19520b||!_0x1bc02e||!_0x1b6f99)return;const _0x351ae2=this['_ensurePivotItemRenderValueMatrixCache'](_0x1bc02e,_0x1b6f99),_0x530d5c=(_0x258979=(_0x56828f=this[_0x48800a(0x2a5)][_0x48800a(0x3e4)](_0x1bc02e))==null?void 0x0:_0x56828f[_0x48800a(0x3e4)](_0x1b6f99))==null?void 0x0:_0x258979[_0x48800a(0x3e4)](_0x19520b);if(_0x530d5c!=null&&_0x530d5c[_0x48800a(0x150)]){for(const _0x208e04 of Object[_0x48800a(0x1fc)](_0x530d5c['rangesInfo']))_0x530d5c['rangesInfo'][_0x208e04][_0x48800a(0xe3)](_0x152a3a=>{const _0x66e37d=_0x48800a;for(let _0x16557b=_0x152a3a['startRow'];_0x16557b<=_0x152a3a['endRow'];_0x16557b++)for(let _0x536824=_0x152a3a[_0x66e37d(0x235)];_0x536824<=_0x152a3a[_0x66e37d(0x2d3)];_0x536824++)_0x351ae2['realDeleteValue'](_0x16557b,_0x536824);});}_0x530d5c&&((_0x15151c=(_0x293ea9=this['_pivotRenderInfoCache']['get'](_0x1bc02e))==null?void 0x0:_0x293ea9[_0x48800a(0x3e4)](_0x1b6f99))==null||_0x15151c[_0x48800a(0x113)](_0x19520b)),this[_0x48800a(0x2b4)][_0x48800a(0x31b)]({'unitId':_0x1bc02e,'subUnitId':_0x1b6f99,'valueMatrix':_0x351ae2,'pivotTableId':_0x19520b,'rangesCache':void 0x0,'type':_0x1f460b['type']}),this[_0x48800a(0x2d7)][_0x48800a(0x1aa)](_0x1bc02e,_0x1b6f99,_0x4ac4b1,_0x19520b);}[_0x1c787c(0x2c2)](_0x456b37,_0x141018,_0xd5da31){const _0x2de2ab=_0x1c787c;var _0x47e86f,_0x11333a,_0x4cfc4d,_0x5d7175,_0x1fb2bc,_0x107687;return this[_0x2de2ab(0x2a5)][_0x2de2ab(0xbc)](_0x456b37)||this[_0x2de2ab(0x2a5)][_0x2de2ab(0xfa)](_0x456b37,new Map()),(_0x47e86f=this['_pivotRenderInfoCache']['get'](_0x456b37))!=null&&_0x47e86f[_0x2de2ab(0xbc)](_0x141018)||(_0x11333a=this[_0x2de2ab(0x2a5)][_0x2de2ab(0x3e4)](_0x456b37))==null||_0x11333a['set'](_0x141018,new Map()),(_0x5d7175=(_0x4cfc4d=this[_0x2de2ab(0x2a5)][_0x2de2ab(0x3e4)](_0x456b37))==null?void 0x0:_0x4cfc4d[_0x2de2ab(0x3e4)](_0x141018))!=null&&_0x5d7175[_0x2de2ab(0xbc)](_0xd5da31)||(_0x107687=(_0x1fb2bc=this[_0x2de2ab(0x2a5)][_0x2de2ab(0x3e4)](_0x456b37))==null?void 0x0:_0x1fb2bc[_0x2de2ab(0x3e4)](_0x141018))==null||_0x107687[_0x2de2ab(0xfa)](_0xd5da31,{}),this[_0x2de2ab(0x2a5)][_0x2de2ab(0x3e4)](_0x456b37)[_0x2de2ab(0x3e4)](_0x141018)['get'](_0xd5da31);}[_0x1c787c(0x1cd)](_0x2f1e1f,_0x560b47){const _0x785967=_0x1c787c;var _0x38fb7c,_0x4ca6cd;return this[_0x785967(0xe4)][_0x785967(0xbc)](_0x2f1e1f)||this[_0x785967(0xe4)][_0x785967(0xfa)](_0x2f1e1f,new Map()),(_0x38fb7c=this[_0x785967(0xe4)]['get'](_0x2f1e1f))!=null&&_0x38fb7c[_0x785967(0xbc)](_0x560b47)||(_0x4ca6cd=this[_0x785967(0xe4)][_0x785967(0x3e4)](_0x2f1e1f))==null||_0x4ca6cd[_0x785967(0xfa)](_0x560b47,new _0x177d6a[(_0x785967(0xf7))]()),this[_0x785967(0xe4)][_0x785967(0x3e4)](_0x2f1e1f)[_0x785967(0x3e4)](_0x560b47);}[_0x1c787c(0xc0)](_0x479659,_0x94fb2b,_0x162ec2,_0x2465d9){const _0x191f1c=_0x1c787c;var _0x14ce7e,_0x27fc13;const _0x4579f3=(_0x27fc13=(_0x14ce7e=this[_0x191f1c(0xe4)][_0x191f1c(0x3e4)](_0x479659))==null?void 0x0:_0x14ce7e['get'](_0x94fb2b))==null?void 0x0:_0x27fc13[_0x191f1c(0x33d)](_0x162ec2,_0x2465d9);if(_0x4579f3!=null)return _0x4579f3;}['getPivotTableIdByCell'](_0x44a499,_0x32e724,_0x2d0c1e,_0x13e115){const _0x5ea561=_0x1c787c;var _0x45a7ec;const _0x1d7586=_0x177d6a[_0x5ea561(0x1fd)](_0x2d0c1e,_0x13e115),_0x3bca56=(_0x45a7ec=this[_0x5ea561(0x2a5)][_0x5ea561(0x3e4)](_0x44a499))==null?void 0x0:_0x45a7ec['get'](_0x32e724);return _0x3bca56?Array[_0x5ea561(0x135)](_0x3bca56[_0x5ea561(0x1fc)]())[_0x5ea561(0x24e)](_0xfda12=>{const _0x1fed62=_0x5ea561,_0x4173bf=_0x3bca56[_0x1fed62(0x3e4)](_0xfda12),_0x4fa87a=_0x4173bf==null?void 0x0:_0x4173bf[_0x1fed62(0x150)];return _0x4fa87a?Object[_0x1fed62(0x1fc)](_0x4fa87a)[_0x1fed62(0x32e)](_0x5f92d1=>_0x4fa87a[_0x5f92d1]['some'](_0x373f69=>_0x177d6a[_0x1fed62(0x2e2)][_0x1fed62(0x295)](_0x373f69,_0x1d7586))):!0x1;}):void 0x0;}[_0x1c787c(0x33c)](_0x1534a1,_0x68fb3,_0x9b95bc){const _0x3ca4c6=_0x1c787c;var _0x4f6550;const _0x27ccba=(_0x4f6550=this[_0x3ca4c6(0x2a5)]['get'](_0x1534a1))==null?void 0x0:_0x4f6550[_0x3ca4c6(0x3e4)](_0x68fb3),_0x2e6808=[];return _0x27ccba&&Array[_0x3ca4c6(0x135)](_0x27ccba[_0x3ca4c6(0x1fc)]())[_0x3ca4c6(0xe3)](_0xd76ff2=>{const _0x478ecd=_0x3ca4c6,_0x43aff6=_0x27ccba[_0x478ecd(0x3e4)](_0xd76ff2),_0x451e98=_0x43aff6==null?void 0x0:_0x43aff6[_0x478ecd(0x150)];if(_0x451e98)for(const _0x5dc923 of Object[_0x478ecd(0x31d)](_0x451e98)){let _0x3a807f=!0x1;for(const _0x37d464 of _0x5dc923)if(_0x177d6a[_0x478ecd(0x2e2)]['intersects'](_0x37d464,_0x9b95bc)){_0x2e6808[_0x478ecd(0x1a2)](_0xd76ff2),_0x3a807f=!0x0;break;}if(_0x3a807f)break;}}),_0x2e6808;}[_0x1c787c(0x139)](_0x53cc29,_0x6122f4){const _0x2d0bfa=_0x1c787c;var _0xc290ce,_0x5159e5;return(_0x5159e5=(_0xc290ce=this['_pivotRenderValueMatrixCache'][_0x2d0bfa(0x3e4)](_0x53cc29))==null?void 0x0:_0xc290ce['get'](_0x6122f4))!=null?_0x5159e5:new _0x177d6a['ObjectMatrix']();}[_0x1c787c(0x1b6)](_0x1efaf8,_0x33cfa5){const _0x2e27ea=_0x1c787c;var _0x3db566;return(_0x3db566=this[_0x2e27ea(0x2a5)]['get'](_0x1efaf8))==null?void 0x0:_0x3db566[_0x2e27ea(0x3e4)](_0x33cfa5);}[_0x1c787c(0x2d8)](_0x136ce6,_0x1dce8c,_0x3a7166){const _0x1af40d=_0x1c787c;var _0x375451,_0x1cf406;return(_0x1cf406=(_0x375451=this['_pivotRenderInfoCache'][_0x1af40d(0x3e4)](_0x136ce6))==null?void 0x0:_0x375451[_0x1af40d(0x3e4)](_0x1dce8c))==null?void 0x0:_0x1cf406[_0x1af40d(0x3e4)](_0x3a7166);}[_0x1c787c(0x103)](_0x3ac10c){const _0x5a232f=_0x1c787c;this[_0x5a232f(0x2a5)][_0x5a232f(0x113)](_0x3ac10c),this[_0x5a232f(0xe4)][_0x5a232f(0x113)](_0x3ac10c);}[_0x1c787c(0x137)](_0x344bc8,_0x4827de){const _0x1d221e=_0x1c787c;this['_markDirty$'][_0x1d221e(0x31b)]({'unitId':_0x344bc8,'subUnitId':_0x4827de});}},_0x1ed859['SheetsPivotTableAdaptorModel']=_0x4241fa([_0x393ecd(0x0,_0x177d6a['Inject'](_0x177d6a[_0x1c787c(0x17f)])),_0x393ecd(0x1,_0x177d6a[_0x1c787c(0x2d9)](_0x177d6a[_0x1c787c(0x284)])),_0x393ecd(0x2,_0x177d6a[_0x1c787c(0x2d9)](_0x1ed859[_0x1c787c(0x107)])),_0x393ecd(0x3,_0x177d6a[_0x1c787c(0x2d9)](_0x177d6a['IUniverInstanceService'])),_0x393ecd(0x4,_0x177d6a[_0x1c787c(0x2d9)](_0x22c23f['IExclusiveRangeService']))],_0x1ed859[_0x1c787c(0x1d6)]);var _0x2cada3=Object[_0x1c787c(0x275)],_0x14c0e7=(_0xec93db,_0x3bc920,_0x3f788c,_0x2e8099)=>{const _0x3dde24=_0x1c787c;for(var _0x319149=_0x2e8099>0x1?void 0x0:_0x2e8099?_0x2cada3(_0x3bc920,_0x3f788c):_0x3bc920,_0x4b2de4=_0xec93db[_0x3dde24(0x10f)]-0x1,_0xe3ef91;_0x4b2de4>=0x0;_0x4b2de4--)(_0xe3ef91=_0xec93db[_0x4b2de4])&&(_0x319149=_0xe3ef91(_0x319149)||_0x319149);return _0x319149;},_0x44b87e=(_0x47aaec,_0x5384b0)=>(_0x14a4d3,_0x4cce76)=>_0x5384b0(_0x14a4d3,_0x4cce76,_0x47aaec);_0x1ed859[_0x1c787c(0x354)]=class extends _0x177d6a[_0x1c787c(0x2c5)]{constructor(_0x5d47ea,_0x58c3ff){const _0x2c16d8=_0x1c787c;super(),_0x117630(this,_0x2c16d8(0x1e0),new _0x177d6a[(_0x2c16d8(0x340))]({'PIVOT_PERFORM_CHECK':_0x3ba713})),_0x117630(this,_0x2c16d8(0x2e3),new _0x177d6a[(_0x2c16d8(0x328))]({'PIVOT_MUTATION_GENERATE':_0x148d7f})),(this[_0x2c16d8(0x1f0)]=_0x5d47ea,this[_0x2c16d8(0x3d1)]=_0x58c3ff,this[_0x2c16d8(0x27a)]());}[_0x1c787c(0x27a)](){const _0x10ceb6=_0x1c787c;this[_0x10ceb6(0xfb)]();}[_0x1c787c(0x329)](_0x17c34d){const _0x2e39db=_0x1c787c;return this[_0x2e39db(0x1e0)][_0x2e39db(0x39d)](_0x3ba713)(!0x1,_0x17c34d);}[_0x1c787c(0xfb)](){const _0x349e35=_0x1c787c;this[_0x349e35(0x29f)](this[_0x349e35(0x1f0)][_0x349e35(0x36d)](_0x22c23f[_0x349e35(0x384)]['CELL_CONTENT'],{'priority':0xc8,'effect':_0x177d6a['InterceptorEffectEnum'][_0x349e35(0x1c5)]|_0x177d6a[_0x349e35(0x334)][_0x349e35(0x2ac)],'handler':(_0x320985,_0x15301e,_0x1a94f8)=>{const _0x79904e=_0x349e35,{row:_0x58c782,col:_0x4f1ec5,unitId:_0x1dd907,subUnitId:_0x5b19a8,workbook:_0x54fe32}=_0x15301e,_0x28462e=this[_0x79904e(0x3d1)][_0x79904e(0xc0)](_0x1dd907,_0x5b19a8,_0x58c782,_0x4f1ec5);if(!_0x28462e)return _0x1a94f8(_0x320985);const _0x3820d2={..._0x320985};(_0x28462e['v']||_0x28462e['v']===0x0)&&(_0x3820d2['v']=_0x28462e['v']),_0x28462e['t']&&(_0x3820d2['t']=_0x28462e['t']);const _0x32e61b=(typeof(_0x320985==null?void 0x0:_0x320985['s'])==_0x79904e(0x355)?_0x54fe32['getStyles']()[_0x79904e(0x3e4)](_0x320985==null?void 0x0:_0x320985['s']):_0x320985==null?void 0x0:_0x320985['s'])||{},_0x39e865=_0x54fe32['getStyles']()['get'](_0x28462e['s']),_0x5f1c45={..._0x39e865,..._0x32e61b};_0x39e865!=null&&_0x39e865['n']&&(_0x5f1c45['n']=_0x39e865['n']);const _0x3da95c=_0x54fe32['getStyles']()[_0x79904e(0x14f)](_0x5f1c45);return _0x3820d2['s']=_0x3da95c,(_0x28462e[_0x79904e(0x3a8)]===_0x175d11[_0x79904e(0x274)][_0x79904e(0x190)]||_0x28462e['pbt']===_0x175d11['PivotCellStyleTypeEnum']['Expand'])&&(_0x3820d2[_0x79904e(0x3d4)]={},_0x3820d2[_0x79904e(0x3d4)][_0x79904e(0x193)]=_0x150198),_0x1a94f8(_0x3820d2);}}));}},_0x1ed859[_0x1c787c(0x354)]=_0x14c0e7([_0x44b87e(0x0,_0x177d6a['Inject'](_0x22c23f['SheetInterceptorService'])),_0x44b87e(0x1,_0x177d6a['Inject'](_0x1ed859[_0x1c787c(0x1d6)]))],_0x1ed859['SheetsPivotTableService']);const _0x14bf9e={'id':_0x1c787c(0x1b9),'type':_0x177d6a[_0x1c787c(0x196)]['MUTATION'],'handler':(_0x55247f,_0x1888c9)=>{const _0x319f64=_0x1c787c;if(!_0x1888c9)return!0x1;if(!!_0x55247f[_0x319f64(0x3e4)](_0x177d6a[_0x319f64(0xcb)])[_0x319f64(0x19a)](_0x318491))return!0x0;const {pivotTableId:_0x406415,fieldJSON:_0x4f9e71,unitId:_0x43b63e,subUnitId:_0x346858}=_0x1888c9;let _0x374eab;const {dataFieldType:_0x8b6e63,id:_0x18af88,name:_0x4ee5ef,hexCode:_0x5b218b,originalFieldId:_0x4c56b6}=_0x4f9e71;if(_0x8b6e63===_0x175d11['PivotDataFieldTypeEnum'][_0x319f64(0x2fe)]&&(_0x374eab=new _0x175d11['DateGroupField'](_0x18af88,_0x4ee5ef,_0x5b218b,_0x4c56b6)),!_0x374eab)return!0x1;const _0x1add80=_0x55247f[_0x319f64(0x3e4)](_0x1ed859[_0x319f64(0x1af)]),_0x2de25a=_0x1add80[_0x319f64(0x35d)](_0x43b63e),_0x10883c=_0x2de25a['getCollection'](_0x406415);_0x2de25a[_0x319f64(0x1e1)](_0x374eab),_0x10883c['addField'](_0x374eab[_0x319f64(0x24c)](),_0x374eab[_0x319f64(0x2b5)]());const _0x821873=_0x10883c[_0x319f64(0x3db)](_0x374eab[_0x319f64(0x200)]());_0x821873&&_0x374eab[_0x319f64(0x28f)](_0x821873);const _0x313d11=_0x1add80['getPivotTableConfig'](_0x43b63e,_0x346858,_0x406415);return _0x1add80[_0x319f64(0x285)]({'unitId':_0x43b63e,'subUnitId':_0x346858,'token':_0x406415,'type':_0x5a4701['Set'],'pivotConfig':_0x313d11}),!0x0;}},_0x187b5c={'id':_0x1c787c(0xc3),'type':_0x177d6a['CommandType'][_0x1c787c(0x38a)],'handler':(_0x2b863d,_0x247b88)=>{const _0x3da749=_0x1c787c;if(!_0x247b88)return!0x1;if(!!_0x2b863d['get'](_0x177d6a['IConfigService'])['getConfig'](_0x318491))return!0x0;const {pivotTableId:_0x224acb,dataFieldId:_0x4ae985,unitId:_0x15648c,subUnitId:_0x44e8be}=_0x247b88,_0xc810f3=_0x2b863d[_0x3da749(0x3e4)](_0x1ed859[_0x3da749(0x1af)]),_0x5209df=_0xc810f3['getDataFieldManager'](_0x15648c);_0x5209df['getCollection'](_0x224acb)[_0x3da749(0xdf)](_0x4ae985);let _0x5606cc=!0x0;for(const _0x5100f8 in _0x5209df[_0x3da749(0x145)])if(_0x5209df[_0x3da749(0x145)][_0x5100f8][_0x3da749(0x189)]()[_0x3da749(0x29d)](_0x4ae985)){_0x5606cc=!0x1;break;}_0x5606cc&&_0x5209df[_0x3da749(0x1db)](_0x4ae985);const _0x5ecb40=_0xc810f3[_0x3da749(0x33b)](_0x15648c,_0x44e8be,_0x224acb);return _0xc810f3[_0x3da749(0x285)]({'unitId':_0x15648c,'subUnitId':_0x44e8be,'token':_0x224acb,'type':_0x5a4701['Set'],'pivotConfig':_0x5ecb40}),!0x0;}};function _0x468420(_0x34b77c,_0x52defa){const _0x521dd6=_0x1c787c;switch(_0x52defa){case _0x175d11[_0x521dd6(0x3d5)]['Value']:return _0x34b77c[_0x521dd6(0x18f)];case _0x175d11[_0x521dd6(0x3d5)][_0x521dd6(0x1bb)]:return _0x34b77c['filterFields'];case _0x175d11[_0x521dd6(0x3d5)][_0x521dd6(0xf0)]:return _0x34b77c[_0x521dd6(0x287)];case _0x175d11[_0x521dd6(0x3d5)][_0x521dd6(0x3ca)]:return _0x34b77c[_0x521dd6(0x1bd)];default:return[];}}function _0x4dd6ef(_0x2eae19,_0x52fece){const _0x2a5952=_0x1c787c;return _0x2eae19[_0x2a5952(0x31e)][_0x52fece]||_0x2eae19[_0x2a5952(0x3d2)][_0x52fece];}function _0x52f878(_0x450985,_0x6c64e3){const _0x151476=_0x1c787c,{area:_0xd29d81,fieldJson:_0x4e3c52,index:_0x373fa4}=_0x6c64e3;_0xd29d81===_0x175d11['PivotTableFiledAreaEnum']['Value']?_0x450985[_0x151476(0x31e)][_0x4e3c52['id']]=_0x4e3c52:_0x450985[_0x151476(0x3d2)][_0x4e3c52['id']]=_0x4e3c52,_0x468420(_0x450985,_0xd29d81)['splice'](_0x373fa4,0x0,_0x4e3c52['id']);}function _0x539702(_0x5e1008,_0x3602a6){const _0xe8150d=_0x1c787c,{area:_0x1bf93b,fieldId:_0x3f38e9,index:_0x74d18}=_0x3602a6;_0x1bf93b===_0x175d11[_0xe8150d(0x3d5)][_0xe8150d(0x1c5)]?delete _0x5e1008[_0xe8150d(0x31e)][_0x3f38e9]:delete _0x5e1008[_0xe8150d(0x3d2)][_0x3f38e9],_0x468420(_0x5e1008,_0x1bf93b)[_0xe8150d(0x12d)](_0x74d18,0x1);}function _0x403d26(_0x20be71,_0x989158){const _0x509a2e=_0x1c787c,{fieldId:_0x3f2e2c,name:_0x126f10}=_0x989158,_0x223df1=_0x4dd6ef(_0x20be71,_0x3f2e2c);_0x223df1&&(_0x223df1[_0x509a2e(0x36a)]=_0x126f10);}function _0x178858(_0x526d43,_0xd36f64){const _0x47fb09=_0x1c787c,{fieldId:_0x38a554,collapse:_0x393974,item:_0x52ff1d}=_0xd36f64;_0x52ff1d!==void 0x0?(_0x526d43[_0x47fb09(0x39e)][_0x38a554]=_0x526d43[_0x47fb09(0x39e)][_0x38a554]||{},_0x526d43[_0x47fb09(0x39e)][_0x38a554][_0x52ff1d]=_0x393974):_0x526d43['collapseInfo'][_0x38a554]=_0x393974;}function _0x2f7b6c(_0x21ccd7,_0x33676f){const _0x5527ab=_0x1c787c,{fieldId:_0x470a19,format:_0x4584c8}=_0x33676f,_0x21b330=_0x4dd6ef(_0x21ccd7,_0x470a19);_0x21b330&&(_0x21b330[_0x5527ab(0x1ed)]=_0x4584c8);}function _0x11d9b0(_0x487334,_0x421936){const _0x4b5cfc=_0x1c787c,{fieldId:_0x5af333,filterInfo:_0x1c8b02}=_0x421936,_0x2d87f6=_0x4dd6ef(_0x487334,_0x5af333);_0x2d87f6&&(_0x2d87f6[_0x4b5cfc(0x2df)]=_0x1c8b02);}function _0x34a2d4(_0x36ff6f,_0x108b46){const _0x36186e=_0x1c787c,{fieldId:_0x14a949,filterInfo:_0xbbad48}=_0x108b46,_0xb1ecb8=_0x36ff6f[_0x36186e(0x281)][_0x36186e(0x22d)](_0x5913da=>_0x5913da[_0x36186e(0x3b0)]!==_0x14a949);_0xbbad48&&_0xb1ecb8['push']({'fieldId':_0x14a949,'filterInfo':_0xbbad48}),_0x36ff6f[_0x36186e(0x281)]=_0xb1ecb8;}function _0x432a30(_0x41114b,_0x5c9957){const _0x300125=_0x1c787c,{fieldId:_0x26c2b9,subtotalType:_0x12b350}=_0x5c9957,_0x28cbea=_0x4dd6ef(_0x41114b,_0x26c2b9);_0x28cbea&&(_0x28cbea[_0x300125(0x3ad)]=_0x12b350);}function _0x2771cb(_0x3dcd81,_0x3c41ed){const _0x19ff43=_0x1c787c,{fieldId:_0x1d98c8,oldArea:_0x3e8f91,area:_0x12336f,oldIndex:_0x33e468,index:_0x428e23}=_0x3c41ed,_0x3f6fc7=_0x3e8f91!==_0x175d11[_0x19ff43(0x3d5)][_0x19ff43(0x1c5)]&&_0x12336f===_0x175d11[_0x19ff43(0x3d5)][_0x19ff43(0x1c5)],_0x23ea92=_0x3e8f91===_0x175d11[_0x19ff43(0x3d5)]['Value']&&_0x12336f!==_0x175d11[_0x19ff43(0x3d5)]['Value'];if(_0x3f6fc7||_0x23ea92){const _0x37531f=_0x4dd6ef(_0x3dcd81,_0x1d98c8);_0x37531f&&(_0x3f6fc7?(delete _0x3dcd81[_0x19ff43(0x3d2)][_0x1d98c8],_0x3dcd81[_0x19ff43(0x31e)][_0x1d98c8]=_0x37531f):(delete _0x3dcd81[_0x19ff43(0x31e)][_0x1d98c8],_0x3dcd81[_0x19ff43(0x3d2)][_0x1d98c8]=_0x37531f));}const _0x561dbf=_0x468420(_0x3dcd81,_0x3e8f91),_0x5903cc=_0x468420(_0x3dcd81,_0x12336f);_0x561dbf['splice'](_0x33e468,0x1),_0x5903cc[_0x19ff43(0x12d)](_0x428e23,0x0,_0x1d98c8);}function _0x4af9c3(_0xf6e4de,_0x34c809){const _0x72cb41=_0x1c787c,{valuePosition:_0x584d2f,index:_0x316f9e}=_0x34c809;_0xf6e4de[_0x72cb41(0x28e)]=_0x584d2f,_0xf6e4de[_0x72cb41(0x2f6)]=_0x316f9e;}function _0x1c3445(_0x6cc06e,_0x2e043a){const _0x4a84c4=_0x1c787c,{tableFieldId:_0x4caef7,sourceName:_0x1b0a58,dataFieldId:_0x4f40e4}=_0x2e043a,_0x435acc=_0x4dd6ef(_0x6cc06e,_0x4caef7);_0x435acc&&(_0x435acc['sourceName']=_0x1b0a58,_0x435acc[_0x4a84c4(0x1bc)]=_0x4f40e4);}function _0x23f439(_0x5888f6,_0x2676c1){const _0x54e50f=_0x1c787c,{fieldId:_0x57ded2,sortInfo:_0x5a818f}=_0x2676c1,_0x52820d=_0x4dd6ef(_0x5888f6,_0x57ded2);_0x52820d&&(_0x52820d[_0x54e50f(0x27f)]=_0x5a818f);}function _0x4afa4c(_0x53a351,_0x358a5b){const _0x2ece40=_0x1c787c,{options:_0x340b01}=_0x358a5b;_0x53a351[_0x2ece40(0x33f)]={..._0x53a351[_0x2ece40(0x33f)],..._0x340b01};}const _0xb1d23c={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x38a)],'id':_0x1c787c(0x2eb),'handler'(_0x4bc740,_0x38e3bd){const _0x32ee2c=_0x1c787c;if(!_0x38e3bd)return!0x1;if(!!_0x4bc740[_0x32ee2c(0x3e4)](_0x177d6a[_0x32ee2c(0xcb)])[_0x32ee2c(0x19a)](_0x318491))return!0x0;const _0x56cca5=_0x4bc740[_0x32ee2c(0x3e4)](_0x1ed859[_0x32ee2c(0x1af)]),{pivotTableId:_0x4fbe3b,fieldJson:_0x2005b8,area:_0x2c4316,index:_0x42cc86,unitId:_0x42bd23,subUnitId:_0x25fa9d}=_0x38e3bd,_0x49c475=_0x56cca5[_0x32ee2c(0x1f4)](_0x4fbe3b);if(!_0x49c475)return!0x1;let _0x1bf731;_0x2c4316===_0x175d11['PivotTableFiledAreaEnum'][_0x32ee2c(0x1c5)]?_0x1bf731=_0x175d11['createValueField'](_0x2005b8):_0x1bf731=_0x175d11['createLabelField'](_0x2005b8),_0x49c475[_0x32ee2c(0x3a0)](_0x1bf731,_0x2c4316,_0x42cc86);const _0x670af7=_0x56cca5[_0x32ee2c(0x187)](_0x42bd23,_0x25fa9d,_0x4fbe3b);_0x52f878(_0x670af7,_0x38e3bd);const _0x166f6c=_0x56cca5[_0x32ee2c(0x33b)](_0x42bd23,_0x25fa9d,_0x4fbe3b);return _0x56cca5[_0x32ee2c(0x285)]({'unitId':_0x42bd23,'subUnitId':_0x25fa9d,'token':_0x4fbe3b,'type':_0x5a4701[_0x32ee2c(0x151)],'pivotConfig':_0x166f6c}),!0x0;}},_0x493ba1={'type':_0x177d6a['CommandType']['MUTATION'],'id':_0x1c787c(0x1dc),'handler'(_0x5a5aa5,_0x127da0){const _0x74e14d=_0x1c787c;if(!_0x127da0)return!0x1;if(!!_0x5a5aa5[_0x74e14d(0x3e4)](_0x177d6a[_0x74e14d(0xcb)])[_0x74e14d(0x19a)](_0x318491))return!0x0;const _0x31f89c=_0x5a5aa5[_0x74e14d(0x3e4)](_0x1ed859[_0x74e14d(0x1af)]),{pivotTableId:_0x8f53d1,fieldId:_0x10c266,unitId:_0x5dd543,subUnitId:_0x506506}=_0x127da0,_0x316668=_0x31f89c[_0x74e14d(0x1f4)](_0x8f53d1);if(!_0x316668)return!0x1;_0x316668[_0x74e14d(0x146)](_0x10c266);const _0x4f17b6=_0x31f89c['getPivotTableModelConfig'](_0x5dd543,_0x506506,_0x8f53d1);_0x539702(_0x4f17b6,_0x127da0);const _0x17ae0c=_0x31f89c[_0x74e14d(0x33b)](_0x5dd543,_0x506506,_0x8f53d1);return _0x31f89c[_0x74e14d(0x285)]({'unitId':_0x5dd543,'subUnitId':_0x506506,'token':_0x8f53d1,'type':_0x5a4701['Set'],'pivotConfig':_0x17ae0c}),!0x0;}},_0x106cc9={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x38a)],'id':'sheet.mutation.rename-pivot-field','handler'(_0x202ec5,_0x11c769){const _0x373863=_0x1c787c;if(!_0x11c769)return!0x1;if(!!_0x202ec5[_0x373863(0x3e4)](_0x177d6a[_0x373863(0xcb)])[_0x373863(0x19a)](_0x318491))return!0x0;const _0x3f6491=_0x202ec5[_0x373863(0x3e4)](_0x1ed859[_0x373863(0x1af)]),{unitId:_0x17c4e6,subUnitId:_0x2b6850,pivotTableId:_0x4c79d0,fieldId:_0x4539b3,name:_0x4be2ee}=_0x11c769,_0x2d81b7=_0x3f6491[_0x373863(0x1f4)](_0x4c79d0);if(!_0x2d81b7)return!0x1;_0x2d81b7[_0x373863(0x1b1)](_0x4539b3,_0x4be2ee);const _0x837c4c=_0x3f6491[_0x373863(0x187)](_0x17c4e6,_0x2b6850,_0x4c79d0);return _0x403d26(_0x837c4c,_0x11c769),_0x3f6491[_0x373863(0x285)]({'unitId':_0x17c4e6,'subUnitId':_0x2b6850,'token':_0x4c79d0,'type':_0x5a4701[_0x373863(0x151)]}),!0x0;}},_0xe162cd={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x38a)],'id':_0x1c787c(0x1d0),'handler'(_0xa83a57,_0x363512){const _0x3d10d9=_0x1c787c;if(!_0x363512)return!0x1;if(!!_0xa83a57[_0x3d10d9(0x3e4)](_0x177d6a['IConfigService'])[_0x3d10d9(0x19a)](_0x318491))return!0x0;const _0x4e9022=_0xa83a57[_0x3d10d9(0x3e4)](_0x1ed859[_0x3d10d9(0x1af)]),{unitId:_0x5341d7,subUnitId:_0x1763de,pivotTableId:_0x5a48f6,fieldId:_0xfd179c,collapse:_0x192bba,item:_0x1be73f}=_0x363512,_0x1ffc8a=_0x4e9022[_0x3d10d9(0x1f4)](_0x5a48f6);if(!_0x1ffc8a)return!0x1;_0x1ffc8a[_0x3d10d9(0x23b)](_0xfd179c,_0x192bba,_0x1be73f);const _0xb6d717=_0x4e9022[_0x3d10d9(0x187)](_0x5341d7,_0x1763de,_0x5a48f6);return _0x178858(_0xb6d717,_0x363512),_0x4e9022[_0x3d10d9(0x285)]({'unitId':_0x5341d7,'subUnitId':_0x1763de,'token':_0x5a48f6,'type':_0x5a4701[_0x3d10d9(0x151)]}),!0x0;}},_0x852825={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x38a)],'id':_0x1c787c(0x13c),'handler'(_0x3a9319,_0x4acf1b){const _0x5961bf=_0x1c787c;if(!_0x4acf1b)return!0x1;if(!!_0x3a9319[_0x5961bf(0x3e4)](_0x177d6a[_0x5961bf(0xcb)])['getConfig'](_0x318491))return!0x0;const _0x42512b=_0x3a9319[_0x5961bf(0x3e4)](_0x1ed859['SheetsPivotDataSourceModel']),{unitId:_0xd3d794,subUnitId:_0x586f59,pivotTableId:_0xf77a12,fieldId:_0x408f75,format:_0x2cef09}=_0x4acf1b,_0x3b0000=_0x42512b[_0x5961bf(0x1f4)](_0xf77a12);if(!_0x3b0000)return!0x1;_0x3b0000[_0x5961bf(0x25e)](_0x408f75,_0x2cef09);const _0x4b98fa=_0x42512b[_0x5961bf(0x187)](_0xd3d794,_0x586f59,_0xf77a12);return _0x2f7b6c(_0x4b98fa,_0x4acf1b),_0x42512b['addDirtyPivotTable']({'unitId':_0xd3d794,'subUnitId':_0x586f59,'token':_0xf77a12,'type':_0x5a4701[_0x5961bf(0x151)]}),!0x0;}},_0x5a4dbb={'type':_0x177d6a['CommandType'][_0x1c787c(0x38a)],'id':_0x1c787c(0x365),'handler'(_0x556765,_0x214b61){const _0x4ef694=_0x1c787c;if(!_0x214b61)return!0x1;if(!!_0x556765[_0x4ef694(0x3e4)](_0x177d6a[_0x4ef694(0xcb)])[_0x4ef694(0x19a)](_0x318491))return!0x0;const _0x2b876c=_0x556765['get'](_0x1ed859['SheetsPivotDataSourceModel']),{unitId:_0x577c3b,subUnitId:_0x2a2484,pivotTableId:_0x567f16,fieldId:_0x5532a6,filterInfo:_0x54c8b4}=_0x214b61,_0x43d330=_0x2b876c['getPivotTableInstance'](_0x567f16);if(!_0x43d330)return!0x1;_0x43d330['setLabelFilterInfo'](_0x5532a6,_0x54c8b4);const _0xdff3e6=_0x2b876c[_0x4ef694(0x187)](_0x577c3b,_0x2a2484,_0x567f16);return _0x11d9b0(_0xdff3e6,_0x214b61),_0x2b876c['addDirtyPivotTable']({'unitId':_0x577c3b,'subUnitId':_0x2a2484,'token':_0x567f16,'type':_0x5a4701[_0x4ef694(0x151)]}),!0x0;}},_0x55d729={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x38a)],'id':_0x1c787c(0x1f8),'handler'(_0x2e3af3,_0xed3a20){const _0x175aa1=_0x1c787c;if(!_0xed3a20)return!0x1;if(!!_0x2e3af3[_0x175aa1(0x3e4)](_0x177d6a['IConfigService'])['getConfig'](_0x318491))return!0x0;const _0x597bd9=_0x2e3af3[_0x175aa1(0x3e4)](_0x1ed859[_0x175aa1(0x1af)]),{unitId:_0xfba2de,subUnitId:_0x1e93e7,pivotTableId:_0xcec17,options:_0x25f61c}=_0xed3a20,_0x58d65d=_0x597bd9[_0x175aa1(0x1f4)](_0xcec17);if(!_0x58d65d)return!0x1;_0x58d65d[_0x175aa1(0x2ec)](_0x25f61c);const _0x4d00e4=_0x597bd9[_0x175aa1(0x187)](_0xfba2de,_0x1e93e7,_0xcec17);return _0x4afa4c(_0x4d00e4,_0xed3a20),_0x597bd9['addDirtyPivotTable']({'unitId':_0xfba2de,'subUnitId':_0x1e93e7,'token':_0xcec17,'type':_0x5a4701[_0x175aa1(0x151)]}),!0x0;}},_0xe70d5={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x38a)],'id':_0x1c787c(0x333),'handler'(_0x3571bf,_0x1ca019){const _0x33c48b=_0x1c787c;if(!_0x1ca019)return!0x1;if(!!_0x3571bf[_0x33c48b(0x3e4)](_0x177d6a['IConfigService'])['getConfig'](_0x318491))return!0x0;const _0x1f6660=_0x3571bf[_0x33c48b(0x3e4)](_0x1ed859[_0x33c48b(0x1af)]),{unitId:_0x1a2835,subUnitId:_0xe1abf8,pivotTableId:_0x191e1f,sortInfo:_0x445551,fieldId:_0x16207a}=_0x1ca019,_0x1d2924=_0x1f6660[_0x33c48b(0x1f4)](_0x191e1f);if(!_0x1d2924)return!0x1;_0x1d2924[_0x33c48b(0x161)](_0x16207a,_0x445551);const _0x166102=_0x1f6660[_0x33c48b(0x187)](_0x1a2835,_0xe1abf8,_0x191e1f);return _0x23f439(_0x166102,_0x1ca019),_0x1f6660['addDirtyPivotTable']({'unitId':_0x1a2835,'subUnitId':_0xe1abf8,'token':_0x191e1f,'type':_0x5a4701[_0x33c48b(0x151)]}),!0x0;}},_0x4066a8={'type':_0x177d6a['CommandType']['MUTATION'],'id':_0x1c787c(0x184),'handler'(_0x5c6e2b,_0x789e9){const _0x5665a6=_0x1c787c;if(!_0x789e9)return!0x1;if(!!_0x5c6e2b[_0x5665a6(0x3e4)](_0x177d6a[_0x5665a6(0xcb)])[_0x5665a6(0x19a)](_0x318491))return!0x0;const _0x57aaaf=_0x5c6e2b[_0x5665a6(0x3e4)](_0x1ed859[_0x5665a6(0x1af)]),{unitId:_0x5c6db3,subUnitId:_0x2fcc52,pivotTableId:_0x2c919f,fieldId:_0x3ef050,subtotalType:_0x5dbf57}=_0x789e9,_0x4599f4=_0x57aaaf[_0x5665a6(0x1f4)](_0x2c919f);if(!_0x4599f4)return!0x1;_0x4599f4['setSubtotalType'](_0x3ef050,_0x5dbf57);const _0x3f3005=_0x57aaaf[_0x5665a6(0x187)](_0x5c6db3,_0x2fcc52,_0x2c919f);return _0x432a30(_0x3f3005,_0x789e9),_0x57aaaf[_0x5665a6(0x285)]({'unitId':_0x5c6db3,'subUnitId':_0x2fcc52,'token':_0x2c919f,'type':_0x5a4701[_0x5665a6(0x151)]}),!0x0;}},_0x3c9cd8={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x38a)],'id':_0x1c787c(0x211),'handler'(_0x3c9145,_0x1304c7){const _0x12fd46=_0x1c787c;if(!_0x1304c7)return!0x1;if(!!_0x3c9145[_0x12fd46(0x3e4)](_0x177d6a[_0x12fd46(0xcb)])[_0x12fd46(0x19a)](_0x318491))return!0x0;const _0x3a11da=_0x3c9145[_0x12fd46(0x3e4)](_0x1ed859[_0x12fd46(0x1af)]),{unitId:_0x5c3997,subUnitId:_0x559e4e,pivotTableId:_0x359576,fieldId:_0x322801,filterInfo:_0x21f4d1}=_0x1304c7,_0x4db247=_0x3a11da[_0x12fd46(0x1f4)](_0x359576);if(!_0x4db247)return!0x1;_0x4db247['setValueFilterInfo'](_0x322801,_0x21f4d1);const _0x292b93=_0x3a11da[_0x12fd46(0x187)](_0x5c3997,_0x559e4e,_0x359576);return _0x34a2d4(_0x292b93,_0x1304c7),_0x3a11da[_0x12fd46(0x285)]({'unitId':_0x5c3997,'subUnitId':_0x559e4e,'token':_0x359576,'type':_0x5a4701[_0x12fd46(0x151)]}),!0x0;}},_0x332f55={'type':_0x177d6a['CommandType'][_0x1c787c(0x38a)],'id':_0x1c787c(0x3ba),'handler'(_0x3ad10c,_0x267fcd){const _0x8f777b=_0x1c787c;if(!_0x267fcd)return!0x1;if(!!_0x3ad10c[_0x8f777b(0x3e4)](_0x177d6a[_0x8f777b(0xcb)])[_0x8f777b(0x19a)](_0x318491))return!0x0;const _0x512419=_0x3ad10c[_0x8f777b(0x3e4)](_0x1ed859['SheetsPivotDataSourceModel']),{unitId:_0x1cbd12,subUnitId:_0x3dfdaa,pivotTableId:_0x5a82d3,area:_0x59a522,index:_0x1e46e1,fieldId:_0x555615}=_0x267fcd,_0x39637f=_0x512419['getPivotTableInstance'](_0x5a82d3);if(!_0x39637f)return!0x1;_0x39637f[_0x8f777b(0x213)](_0x555615,_0x59a522,_0x1e46e1);const _0x1af4ae=_0x512419[_0x8f777b(0x187)](_0x1cbd12,_0x3dfdaa,_0x5a82d3);return _0x2771cb(_0x1af4ae,_0x267fcd),_0x512419[_0x8f777b(0x285)]({'unitId':_0x1cbd12,'subUnitId':_0x3dfdaa,'token':_0x5a82d3,'type':_0x5a4701['Set']}),!0x0;}},_0x586f96={'type':_0x177d6a[_0x1c787c(0x196)]['MUTATION'],'id':_0x1c787c(0x3a1),'handler'(_0x4368a0,_0x404c4f){const _0x2ae51c=_0x1c787c;if(!_0x404c4f)return!0x1;if(!!_0x4368a0[_0x2ae51c(0x3e4)](_0x177d6a['IConfigService'])[_0x2ae51c(0x19a)](_0x318491))return!0x0;const _0x18e549=_0x4368a0[_0x2ae51c(0x3e4)](_0x1ed859[_0x2ae51c(0x1af)]),{unitId:_0x3eeb50,subUnitId:_0xb07ca1,pivotTableId:_0x375504,sourceName:_0x257fb8,dataFieldId:_0x56e438,tableFieldId:_0x3c76d7}=_0x404c4f,_0x1c4753=_0x18e549[_0x2ae51c(0x1f4)](_0x375504);if(!_0x1c4753)return!0x1;_0x1c4753[_0x2ae51c(0xed)](_0x3c76d7,_0x257fb8,_0x56e438);const _0x14e7bc=_0x18e549['getPivotTableModelConfig'](_0x3eeb50,_0xb07ca1,_0x375504);return _0x1c3445(_0x14e7bc,_0x404c4f),_0x18e549[_0x2ae51c(0x285)]({'unitId':_0x3eeb50,'subUnitId':_0xb07ca1,'token':_0x375504,'type':_0x5a4701['Set']}),!0x0;}},_0xe6f7a6={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x38a)],'id':_0x1c787c(0x245),'handler'(_0x491f3f,_0x44ab8e){const _0x5c52a4=_0x1c787c;if(!_0x44ab8e)return!0x1;if(!!_0x491f3f[_0x5c52a4(0x3e4)](_0x177d6a[_0x5c52a4(0xcb)])[_0x5c52a4(0x19a)](_0x318491))return!0x0;const _0x3566fc=_0x491f3f['get'](_0x1ed859[_0x5c52a4(0x1af)]),{unitId:_0x5e4553,subUnitId:_0x1b80bc,pivotTableId:_0x4031ca,valuePosition:_0x38ce68,index:_0x45d923}=_0x44ab8e,_0x53249=_0x3566fc[_0x5c52a4(0x1f4)](_0x4031ca);if(!_0x53249)return!0x1;_0x53249[_0x5c52a4(0xcf)](_0x38ce68,_0x45d923);const _0x3a5703=_0x3566fc[_0x5c52a4(0x187)](_0x5e4553,_0x1b80bc,_0x4031ca);return _0x4af9c3(_0x3a5703,_0x44ab8e),_0x3566fc['addDirtyPivotTable']({'unitId':_0x5e4553,'subUnitId':_0x1b80bc,'token':_0x4031ca,'type':_0x5a4701[_0x5c52a4(0x151)]}),!0x0;}};function _0x215de6(_0x375793,_0x4bc311,_0x46df05){const _0x3ee7d8=_0x1c787c,{pivotTableId:_0x2f8f62,unitId:_0x393c9f,subUnitId:_0x319d86}=_0x4bc311,_0x4036c8=[],_0x546b80=[];for(const _0x21fc85 of _0x46df05)switch(_0x21fc85['type']){case _0x175d11['PivotTableChangeTypeEnum'][_0x3ee7d8(0x261)]:{const {fieldJson:_0x1a008d,area:_0x2f2813,index:_0x51a55c}=_0x21fc85,_0x353170={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldJson':_0x1a008d,'area':_0x2f2813,'index':_0x51a55c},_0x16bfe9={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldId':_0x1a008d['id'],'area':_0x2f2813,'index':_0x51a55c};_0x4036c8['push']({'id':_0xb1d23c['id'],'params':_0x353170}),_0x546b80[_0x3ee7d8(0x262)]({'id':_0x493ba1['id'],'params':_0x16bfe9});}break;case _0x175d11[_0x3ee7d8(0x269)][_0x3ee7d8(0x2b6)]:{const {fieldId:_0x122d7a,newSubtotalType:_0x4f38f6,oldSubtotalType:_0x349d2a}=_0x21fc85,_0x4b114b={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldId':_0x122d7a,'subtotalType':_0x4f38f6};_0x4036c8['push']({'id':_0x4066a8['id'],'params':_0x4b114b});const _0x3f4002={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldId':_0x122d7a,'subtotalType':_0x349d2a};_0x546b80['unshift']({'id':_0x4066a8['id'],'params':_0x3f4002});}break;case _0x175d11[_0x3ee7d8(0x269)][_0x3ee7d8(0x351)]:{const {fieldId:_0x15e57c,fieldJson:_0x2a8dbd,area:_0xe890c1,index:_0xf91df0}=_0x21fc85,_0x3ec47b={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldId':_0x15e57c,'index':_0xf91df0,'area':_0xe890c1};_0x4036c8[_0x3ee7d8(0x1a2)]({'id':_0x493ba1['id'],'params':_0x3ec47b});const _0x24df15={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldJson':_0x2a8dbd,'area':_0xe890c1,'index':_0xf91df0};_0x546b80['unshift']({'id':_0xb1d23c['id'],'params':_0x24df15});}break;case _0x175d11[_0x3ee7d8(0x269)][_0x3ee7d8(0x242)]:{const {fieldId:_0x207fbf,oldName:_0x3cd41e,newName:_0x181230}=_0x21fc85,_0x524f20={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldId':_0x207fbf,'name':_0x181230};_0x4036c8['push']({'id':_0x106cc9['id'],'params':_0x524f20});const _0x9956af={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldId':_0x207fbf,'name':_0x3cd41e};_0x546b80['unshift']({'id':_0x106cc9['id'],'params':_0x9956af});}break;case _0x175d11[_0x3ee7d8(0x269)][_0x3ee7d8(0x321)]:{const {fieldId:_0x6f6126,oldFilterInfo:_0x43ebaf,newFilterInfo:_0x3b907d}=_0x21fc85,_0x39538c={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldId':_0x6f6126,'filterInfo':_0x3b907d};_0x4036c8[_0x3ee7d8(0x1a2)]({'id':_0x5a4dbb['id'],'params':_0x39538c});const _0x53f68a={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldId':_0x6f6126,'filterInfo':_0x43ebaf};_0x546b80[_0x3ee7d8(0x262)]({'id':_0x5a4dbb['id'],'params':_0x53f68a});}break;case _0x175d11[_0x3ee7d8(0x269)]['SetSortInfo']:{const {fieldId:_0x38ea6f,oldSortInfo:_0x424804,newSortInfo:_0xf32c2}=_0x21fc85,_0x3108db={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldId':_0x38ea6f,'sortInfo':_0xf32c2};_0x4036c8[_0x3ee7d8(0x1a2)]({'id':_0xe70d5['id'],'params':_0x3108db});const _0x51e02e={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldId':_0x38ea6f,'sortInfo':_0x424804};_0x546b80[_0x3ee7d8(0x262)]({'id':_0xe70d5['id'],'params':_0x51e02e});}break;case _0x175d11[_0x3ee7d8(0x269)][_0x3ee7d8(0x362)]:{const {oldOptions:_0x3f91d4,newOptions:_0x531533}=_0x21fc85,_0x40f46e={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'options':_0x531533};_0x4036c8['push']({'id':_0x55d729['id'],'params':_0x40f46e});const _0x2faf4b={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'options':_0x3f91d4};_0x546b80[_0x3ee7d8(0x262)]({'id':_0x55d729['id'],'params':_0x2faf4b});}break;case _0x175d11[_0x3ee7d8(0x269)][_0x3ee7d8(0x34e)]:{const {oldArea:_0x365dce,newArea:_0x52ce4a,oldIndex:_0x589db5,newIndex:_0x141b38,fieldId:_0x3747f4}=_0x21fc85,_0x46cb11={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldId':_0x3747f4,'area':_0x52ce4a,'index':_0x141b38,'oldArea':_0x365dce,'oldIndex':_0x589db5};_0x4036c8['push']({'id':_0x332f55['id'],'params':_0x46cb11});const _0x373c9a={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldId':_0x3747f4,'area':_0x365dce,'index':_0x589db5,'oldArea':_0x52ce4a,'oldIndex':_0x141b38};_0x546b80[_0x3ee7d8(0x262)]({'id':_0x332f55['id'],'params':_0x373c9a});}break;case _0x175d11['PivotTableChangeTypeEnum'][_0x3ee7d8(0x3a6)]:{const {oldValuePosition:_0x136b42,newValuePosition:_0x216c38,oldIndex:_0x59923d,newIndex:_0x362cb5}=_0x21fc85,_0xfe6234={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'valuePosition':_0x216c38,'index':_0x362cb5};_0x4036c8[_0x3ee7d8(0x1a2)]({'id':_0xe6f7a6['id'],'params':_0xfe6234});const _0x4ff157={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'valuePosition':_0x136b42,'index':_0x59923d};_0x546b80[_0x3ee7d8(0x262)]({'id':_0xe6f7a6['id'],'params':_0x4ff157});}break;case _0x175d11[_0x3ee7d8(0x269)][_0x3ee7d8(0x2e9)]:{const {fieldId:_0x293f20,collapse:_0x14dee1,item:_0x313daa}=_0x21fc85,_0x12cbba={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldId':_0x293f20,'collapse':_0x14dee1,'item':_0x313daa};_0x4036c8[_0x3ee7d8(0x1a2)]({'id':_0xe162cd['id'],'params':_0x12cbba});const _0x29a927={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldId':_0x293f20,'collapse':!_0x14dee1,'item':_0x313daa};_0x546b80[_0x3ee7d8(0x262)]({'id':_0xe162cd['id'],'params':_0x29a927});}break;case _0x175d11[_0x3ee7d8(0x269)]['SetFieldFormat']:{const {newFormat:_0xf4e296,oldFormat:_0xdd70c,fieldId:_0x2abe46}=_0x21fc85,_0xf5a9db={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldId':_0x2abe46,'format':_0xf4e296};_0x4036c8[_0x3ee7d8(0x1a2)]({'id':_0x852825['id'],'params':_0xf5a9db});const _0x461c9e={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldId':_0x2abe46,'format':_0xdd70c};_0x546b80[_0x3ee7d8(0x262)]({'id':_0x852825['id'],'params':_0x461c9e});}break;case _0x175d11[_0x3ee7d8(0x269)]['UpdateSource']:{const {tableFieldId:_0x4d350d,oldSourceName:_0x3b2a2d,newSourceName:_0x4178d2,oldDataFieldId:_0x1b24c0,newDataFieldId:_0x3d49d4}=_0x21fc85,_0x37cd69={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'tableFieldId':_0x4d350d,'sourceName':_0x4178d2,'dataFieldId':_0x3d49d4};_0x4036c8[_0x3ee7d8(0x1a2)]({'id':_0x586f96['id'],'params':_0x37cd69});const _0x475fda={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'tableFieldId':_0x4d350d,'sourceName':_0x3b2a2d,'dataFieldId':_0x1b24c0};_0x546b80[_0x3ee7d8(0x262)]({'id':_0x586f96['id'],'params':_0x475fda});}break;case _0x175d11[_0x3ee7d8(0x269)][_0x3ee7d8(0x3bb)]:{const {fieldId:_0x3c2175,filterInfo:_0x398e34,oldFilterInfo:_0x3b5b05}=_0x21fc85,_0x591aa0={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldId':_0x3c2175,'filterInfo':_0x398e34};_0x4036c8[_0x3ee7d8(0x1a2)]({'id':_0x3c9cd8['id'],'params':_0x591aa0});const _0x206119={'unitId':_0x393c9f,'subUnitId':_0x319d86,'pivotTableId':_0x2f8f62,'fieldId':_0x3c2175,'filterInfo':_0x3b5b05};_0x546b80[_0x3ee7d8(0x262)]({'id':_0x3c9cd8['id'],'params':_0x206119});}}return{'redos':_0x4036c8,'undos':_0x546b80};}function _0x458275(_0x4068cb,_0x5708e4){const _0x513023=_0x1c787c;var _0x5ece85;const _0x418b95=_0x4068cb[_0x513023(0x3e4)](_0x1ed859[_0x513023(0x354)]),{cellInfo:_0x3c7e66,view:_0x4ffd82,isEmpty:_0x31bcb6}=_0x5708e4;return(_0x5ece85=_0x418b95[_0x513023(0x2e3)][_0x513023(0x39c)](_0x148d7f)(_0x37e18f,{'cellInfo':_0x3c7e66,'view':_0x4ffd82,'isEmpty':_0x31bcb6}))!=null?_0x5ece85:_0x37e18f;}const _0x5baed9={'type':_0x177d6a['CommandType'][_0x1c787c(0x335)],'id':'sheet.command.add-pivot-field',async 'handler'(_0xf7536d,_0x6f6129){const _0xa32b74=_0x1c787c;if(!_0x6f6129)return!0x1;const _0x5f2af3=_0xf7536d[_0xa32b74(0x3e4)](_0x177d6a[_0xa32b74(0x353)]),_0x20b6a5=_0xf7536d[_0xa32b74(0x3e4)](_0x1ed859[_0xa32b74(0x206)]),_0x379dfa=_0xf7536d['get'](_0x177d6a[_0xa32b74(0x28c)]),{pivotTableId:_0x4c14ad,dataFieldId:_0x526ca2,fieldArea:_0x35b349,index:_0x3de5b6,unitId:_0x582b5b,subUnitId:_0x5c66f4}=_0x6f6129,_0x1d2101=(await _0x20b6a5[_0xa32b74(0x22c)]({'unitId':_0x582b5b,'subUnitId':_0x5c66f4,'pivotTableId':_0x4c14ad,'params':{'type':_0x2b8e9a[_0xa32b74(0x385)],'addPivotField':{'dataFieldId':_0x526ca2,'fieldArea':_0x35b349,'index':_0x3de5b6}}}))['result'][_0xa32b74(0x2b2)];if(!_0x1d2101)return!0x1;const {view:_0x49d1f8,changesets:_0x35108d,isEmpty:_0x4ef77e,pivotTableConfig:_0x141ac3,shouldBeAddedGroupJSON:_0x26d52c}=_0x1d2101,_0x26b604=_0x141ac3[_0xa32b74(0x30d)],_0x3c5303=new _0x175d11[(_0xa32b74(0x2e1))]();_0x3c5303['formJSON'](_0x49d1f8);const _0x427f36={'cellInfo':_0x26b604,'view':_0x3c5303,'isEmpty':_0x4ef77e};if(!await _0xf7536d['get'](_0x1ed859[_0xa32b74(0x354)])[_0xa32b74(0x1e0)][_0xa32b74(0x39d)](_0x3ba713)(!0x0,_0x427f36))return!0x1;const _0x7b8704=_0x44d3aa(_0xf7536d,_0x3c5303,_0x26b604,_0x4ef77e),_0x5bf433=_0x458275(_0xf7536d,_0x427f36),{undos:_0x5b926c,redos:_0x3e5a2a}=_0x215de6(_0x5f2af3,{'pivotTableId':_0x4c14ad,'unitId':_0x582b5b,'subUnitId':_0x5c66f4},_0x35108d);return _0x26d52c&&(_0x3e5a2a['unshift']({'id':_0x14bf9e['id'],'params':{'pivotTableId':_0x4c14ad,'fieldJSON':_0x26d52c,'unitId':_0x582b5b,'subUnitId':_0x5c66f4}}),_0x5b926c[_0xa32b74(0x1a2)]({'id':_0x187b5c['id'],'params':{'pivotTableId':_0x4c14ad,'dataFieldId':_0x26d52c['id'],'unitId':_0x582b5b,'subUnitId':_0x5c66f4}})),_0x177d6a[_0xa32b74(0x160)]([..._0x7b8704[_0xa32b74(0x166)],..._0x5bf433[_0xa32b74(0x166)],..._0x3e5a2a],_0x5f2af3),_0x379dfa['pushUndoRedo']({'unitID':_0x582b5b,'redoMutations':[..._0x7b8704[_0xa32b74(0x166)],..._0x5bf433[_0xa32b74(0x166)],..._0x3e5a2a],'undoMutations':[..._0x7b8704[_0xa32b74(0x280)],..._0x5bf433['undos'],..._0x5b926c]}),!0x0;}},_0x250cbc=()=>typeof process<'u'&&process['versions']!=null&&process[_0x1c787c(0x162)][_0x1c787c(0x2fa)]!=null,_0x1f645b={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x38a)],'id':_0x1c787c(0x1ef),'handler'(_0x1abe38,_0x2e73a9){const _0x45cf5c=_0x1c787c;var _0x4472d9;if(!_0x2e73a9)return!0x1;const _0xfa8ce8=_0x1abe38['get'](_0x177d6a[_0x45cf5c(0xcb)]);if(!!_0xfa8ce8['getConfig'](_0x318491))return!0x0;const _0x4e59f3=_0x1abe38['get'](_0x177d6a['IUniverInstanceService']),_0x4244e6=_0x1abe38[_0x45cf5c(0x3e4)](_0x1ed859[_0x45cf5c(0x1af)]),{pivotTableId:_0x7a727c,pivotTableConfig:_0x5dbc51,collectionConfig:_0x277340,unitId:_0x34cfd3,subUnitId:_0x300c20}=_0x2e73a9,{sourceRangeInfo:_0x46e3cc,fieldsConfig:_0x5aeeb4,targetCellInfo:_0x589968}=_0x5dbc51,_0x4074cc=_0x4e59f3[_0x45cf5c(0x16a)](_0x34cfd3);if(!_0x4074cc||!_0x4074cc[_0x45cf5c(0x29a)](_0x300c20))return!0x1;if(!_0x250cbc()){let _0xdd2bed=0x0;_0x4074cc[_0x45cf5c(0x21d)]()['forEach'](_0x36a045=>{const _0x5912f8=_0x45cf5c;var _0x3cc021,_0x2128a8;_0xdd2bed+=(_0x2128a8=(_0x3cc021=_0x4244e6[_0x5912f8(0x255)](_0x34cfd3,_0x36a045['getSheetId']()))==null?void 0x0:_0x3cc021[_0x5912f8(0x13f)])!=null?_0x2128a8:0x0;});const _0x17ed76=(_0x4472d9=_0xfa8ce8[_0x45cf5c(0x19a)](_0x53915[_0x45cf5c(0x342)]))!=null?_0x4472d9:{},{ls:_0x1e579e,pbk:_0x59cf27}=_0x17ed76;if(!_0x41914d(_0x1e579e,_0x59cf27))throw new _0x177d6a[(_0x45cf5c(0x2d4))]('limit\x20pivot');const _0x3dd039=_0x17409d(_0x45eedb,_0x1e579e,_0x59cf27)['count'];if(_0xdd2bed>=_0x3dd039)throw new _0x177d6a[(_0x45cf5c(0x2d4))](_0x45cf5c(0x2ca));}if(!_0x277340||!_0x5aeeb4)return!0x1;const {collection:_0x462f23,updateDataFieldList:_0x36e715}=_0x4244e6[_0x45cf5c(0x169)](_0x7a727c,_0x277340,_0x46e3cc,_0x589968);_0x4244e6[_0x45cf5c(0x172)](_0x462f23,_0x36e715,_0x46e3cc);const _0x256308=new _0x175d11[(_0x45cf5c(0x1e2))](_0x462f23,void 0x0,_0x7a727c);_0x256308[_0x45cf5c(0x32d)](_0x5aeeb4);const _0x1d5773=JSON[_0x45cf5c(0x398)](JSON[_0x45cf5c(0x10c)](_0x5dbc51));return _0x4244e6['addPivotTable'](_0x34cfd3,_0x300c20,_0x7a727c,_0x256308,_0x1d5773),_0x4244e6['addDirtyPivotTable']({'unitId':_0x34cfd3,'subUnitId':_0x300c20,'token':_0x7a727c,'type':_0x5a4701[_0x45cf5c(0x201)],'pivotConfig':_0x1d5773}),!0x0;}},_0xde6230={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x335)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x20ffc4,_0x15ae74){const _0x2867fc=_0x1c787c;if(!_0x15ae74)return!0x1;const {sourceDataInfo:_0x5b7d1,pivotTableConfig:_0x20141a}=_0x15ae74;if(!_0x5b7d1||!_0x20141a)return!0x1;const {unitId:_0x3b44bf,subUnitId:_0xbf411,range:_0x567398}=_0x5b7d1,_0x259d24=_0x20ffc4[_0x2867fc(0x3e4)](_0x177d6a['IUniverInstanceService']),_0x5deab8=_0x20ffc4['get'](_0x1ed859[_0x2867fc(0x206)]),_0x3a8bed=_0x20ffc4['get'](_0x177d6a[_0x2867fc(0x17f)]),_0x739b49=_0x20ffc4[_0x2867fc(0x3e4)](_0x177d6a['ICommandService']),_0x5de41d=_0x259d24[_0x2867fc(0x16a)](_0x3b44bf);if(!_0x5de41d)return!0x1;const _0x4504be=_0x5de41d[_0x2867fc(0x29a)](_0xbf411);if(!_0x4504be)return!0x1;const _0x173811=_0x175d11[_0x2867fc(0x35c)](0x8),_0x5f3b08=_0x567398||{'startRow':0x0,'startColumn':0x0,'endRow':_0x4504be[_0x2867fc(0x132)]()-0x1,'endColumn':_0x4504be[_0x2867fc(0xf6)]()-0x1};_0x5f3b08[_0x2867fc(0xe1)]=_0x177d6a['RANGE_TYPE'][_0x2867fc(0x318)];const _0x408bde=(await _0x5deab8['getPivotDisplayConfig']({'unitId':_0x3b44bf,'subUnitId':_0xbf411,'pivotTableId':_0x173811,'params':{'type':_0x2b8e9a[_0x2867fc(0xcd)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x3b44bf,'sheetName':_0x4504be[_0x2867fc(0x2b5)](),'subUnitId':_0xbf411,'range':_0x5f3b08},'pivotTableId':_0x173811,'pivotTableIndexConfig':_0x20141a}}}))['result'][_0x2867fc(0x2ff)];if(!_0x408bde)return!0x1;const {isEmpty:_0x286b0c,fieldsConfig:_0x1b251a,collectionConfig:_0x57aa76,changesets:_0x53892b}=_0x408bde,_0xf5aa61=_0x5de41d[_0x2867fc(0x21d)]()[_0x2867fc(0x10f)],_0x4ebfed=_0x177d6a['mergeWorksheetSnapshotWithDefault']({'rowCount':_0x4504be[_0x2867fc(0x132)]()-0x1,'columnCount':_0x4504be[_0x2867fc(0xf6)]()-0x1});_0x4ebfed['id']=_0x177d6a['generateRandomId'](),_0x4ebfed[_0x2867fc(0x349)]=_0x5de41d[_0x2867fc(0x178)](''+_0x3a8bed['t'](_0x2867fc(0x229)));const _0x3a25c2={'index':_0xf5aa61,'sheet':_0x4ebfed,'unitId':_0x3b44bf},{redos:_0x2ee5e4}=_0x215de6(_0x739b49,{'pivotTableId':_0x173811,'unitId':_0x3b44bf,'subUnitId':_0x4ebfed['id']},_0x53892b),_0x5bd109=[{'id':_0x22c23f[_0x2867fc(0x3b6)]['id'],'params':_0x3a25c2},{'id':_0x1f645b['id'],'params':{'unitId':_0x3b44bf,'subUnitId':_0x4ebfed['id'],'pivotTableId':_0x173811,'pivotTableConfig':{'isEmpty':_0x286b0c,'fieldsConfig':_0x1b251a,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x3b44bf,'subUnitId':_0x4ebfed['id']},'sourceRangeInfo':{'subUnitId':_0xbf411,'unitId':_0x3b44bf,'range':_0x5f3b08,'sheetName':_0x4504be[_0x2867fc(0x2b5)]()}},'collectionConfig':_0x57aa76}},..._0x2ee5e4];return _0x177d6a['sequenceExecute'](_0x5bd109,_0x739b49),!0x0;}},_0x2d8900={'type':_0x177d6a['CommandType']['MUTATION'],'id':_0x1c787c(0xef),'handler'(_0x321877,_0x5e86d9){const _0x51a38f=_0x1c787c;if(!_0x5e86d9)return!0x1;if(!!_0x321877['get'](_0x177d6a[_0x51a38f(0xcb)])[_0x51a38f(0x19a)](_0x318491))return!0x0;const {pivotTableId:_0x3b916c,unitId:_0x45ac05,subUnitId:_0x348737}=_0x5e86d9,_0x38f7c8=_0x321877[_0x51a38f(0x3e4)](_0x1ed859[_0x51a38f(0x1af)]);return _0x38f7c8['getPivotTableConfig'](_0x45ac05,_0x348737,_0x3b916c)?(_0x38f7c8[_0x51a38f(0x285)]({'unitId':_0x45ac05,'subUnitId':_0x348737,'token':_0x3b916c,'type':_0x5a4701[_0x51a38f(0x1a7)]}),_0x38f7c8[_0x51a38f(0x165)](_0x45ac05,_0x348737,_0x3b916c),!0x0):!0x1;}},_0x5492df={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x335)],'id':'sheet.command.add-pivot-table',async 'handler'(_0x1aeffc,_0xe4f306){const _0x1eab19=_0x1c787c;var _0x482c2a,_0x56d201;const _0x3bfebc=_0x1aeffc[_0x1eab19(0x3e4)](_0x177d6a[_0x1eab19(0x353)]),_0x259188=_0x1aeffc['get'](_0x177d6a[_0x1eab19(0x22f)]),_0x535a89=_0x1aeffc[_0x1eab19(0x3e4)](_0x177d6a[_0x1eab19(0x17f)]),_0x4f8504=_0x1aeffc[_0x1eab19(0x3e4)](_0x1ed859['SheetsPivotRPCService']),_0x34419f=_0x1aeffc[_0x1eab19(0x3e4)](_0x177d6a[_0x1eab19(0x28c)]),_0x330357=_0x1aeffc[_0x1eab19(0x3e4)](_0x1ed859[_0x1eab19(0x107)]),_0x177664=_0x1aeffc['get'](_0x177d6a[_0x1eab19(0xcb)]);if(!_0xe4f306)return!0x1;const {pivotTableConfig:_0x2fb2c2,positionType:_0x128662}=_0xe4f306,{targetCellInfo:_0x4a2ee8,sourceRangeInfo:_0x1af190}=_0x2fb2c2,{unitId:_0x12d4b3,subUnitId:_0x392623}=_0x4a2ee8,_0x387cb8=_0x259188[_0x1eab19(0x16a)](_0x12d4b3);if(!_0x387cb8)return!0x1;let _0x166773=0x0;_0x387cb8[_0x1eab19(0x21d)]()[_0x1eab19(0xe3)](_0x4ca649=>{const _0x4bd83f=_0x1eab19;var _0x337728,_0x1b1f2d;_0x166773+=(_0x1b1f2d=(_0x337728=_0x330357[_0x4bd83f(0x255)](_0x12d4b3,_0x4ca649[_0x4bd83f(0x264)]()))==null?void 0x0:_0x337728[_0x4bd83f(0x13f)])!=null?_0x1b1f2d:0x0;});const _0x3ef874=(_0x482c2a=_0x177664[_0x1eab19(0x19a)](_0x53915[_0x1eab19(0x342)]))!=null?_0x482c2a:{},{ls:_0x551690,pbk:_0x11b49a}=_0x3ef874;if(!_0x41914d(_0x551690,_0x11b49a))return!0x1;const _0x44fd6e=_0x17409d(_0x45eedb,_0x551690,_0x11b49a)['count'];if(_0x166773>=_0x44fd6e)return!0x1;const _0x50136f=_0xe4f306[_0x1eab19(0x399)]||_0x175d11[_0x1eab19(0x35c)](0x8),_0x2d3f95=(await _0x4f8504[_0x1eab19(0x22c)]({'unitId':_0x12d4b3,'subUnitId':_0x392623,'pivotTableId':_0x50136f,'params':{'type':_0x2b8e9a[_0x1eab19(0xd6)],'addPivotTable':{'sourceRangeInfo':_0x1af190,'pivotTableId':_0x50136f}}}))['result'][_0x1eab19(0x3cd)];if(!_0x2d3f95)return!0x1;const {view:_0x12bacb,isEmpty:_0x37ae81,fieldsConfig:_0x463e38,collectionConfig:_0x1e060c}=_0x2d3f95,_0x1f6c0e=[],_0x3ae8c0=[];if(_0x128662===_0x83d4d['New']){const _0x3b1e17=_0x387cb8[_0x1eab19(0x21d)]()[_0x1eab19(0x10f)],_0x5aeb5a=_0x177d6a[_0x1eab19(0x152)]({});_0x5aeb5a['id']=_0x2fb2c2[_0x1eab19(0x30d)]['subUnitId'],_0x5aeb5a[_0x1eab19(0x349)]=(_0x56d201=_0x2fb2c2['targetCellInfo'][_0x1eab19(0x376)])!=null?_0x56d201:_0x387cb8[_0x1eab19(0x178)](''+_0x535a89['t'](_0x1eab19(0x229)));const _0x298d5e={'index':_0x3b1e17,'sheet':_0x5aeb5a,'unitId':_0x12d4b3},_0x420378=_0x22c23f['InsertSheetUndoMutationFactory'](_0x1aeffc,_0x298d5e);_0x1f6c0e[_0x1eab19(0x1a2)]({'id':_0x22c23f['RemoveSheetMutation']['id'],'params':_0x420378}),_0x3ae8c0[_0x1eab19(0x1a2)]({'id':_0x22c23f[_0x1eab19(0x1df)]['id'],'params':_0x298d5e});}else{if(!_0x387cb8[_0x1eab19(0x29a)](_0x392623))return!0x1;const _0x5b328c=_0x44d3aa(_0x1aeffc,new _0x175d11[(_0x1eab19(0x2e1))](),_0x4a2ee8,!0x0);_0x3ae8c0[_0x1eab19(0x1a2)](..._0x5b328c['redos']),_0x1f6c0e[_0x1eab19(0x1a2)](..._0x5b328c['undos']);const _0xe87981={'cellInfo':_0x4a2ee8,'view':_0x12bacb,'isEmpty':_0x37ae81};if(!await _0x1aeffc[_0x1eab19(0x3e4)](_0x1ed859['SheetsPivotTableService'])[_0x1eab19(0x1e0)][_0x1eab19(0x39d)](_0x3ba713)(!0x0,_0xe87981))return!0x1;const _0x37225c=_0x458275(_0x1aeffc,_0xe87981);_0x3ae8c0[_0x1eab19(0x1a2)](..._0x37225c[_0x1eab19(0x166)]),_0x1f6c0e[_0x1eab19(0x1a2)](..._0x37225c[_0x1eab19(0x280)]);}return _0x3ae8c0[_0x1eab19(0x1a2)]({'id':_0x1f645b['id'],'params':{'unitId':_0x4a2ee8['unitId'],'subUnitId':_0x4a2ee8[_0x1eab19(0x27d)],'pivotTableId':_0x50136f,'pivotTableConfig':{'targetCellInfo':_0x4a2ee8,'sourceRangeInfo':_0x1af190,'fieldsConfig':_0x463e38},'collectionConfig':_0x1e060c}}),_0x1f6c0e[_0x1eab19(0x262)]({'id':_0x2d8900['id'],'params':{'unitId':_0x12d4b3,'subUnitId':_0x392623,'pivotTableId':_0x50136f}}),_0x177d6a['sequenceExecute'](_0x3ae8c0,_0x3bfebc)&&_0x34419f[_0x1eab19(0xff)]({'unitID':_0x12d4b3,'undoMutations':_0x1f6c0e,'redoMutations':_0x3ae8c0}),!0x0;}},_0x3630f9={'type':_0x177d6a[_0x1c787c(0x196)]['COMMAND'],'id':_0x1c787c(0x266),async 'handler'(_0x2c2bc7,_0xc76f42){const _0x5ca670=_0x1c787c;if(!_0xc76f42)return!0x1;const _0x4c57c1=_0x2c2bc7['get'](_0x177d6a['ICommandService']),_0x1607a7=_0x2c2bc7[_0x5ca670(0x3e4)](_0x1ed859[_0x5ca670(0x206)]),_0x4ed187=_0x2c2bc7[_0x5ca670(0x3e4)](_0x177d6a[_0x5ca670(0x28c)]),{pivotTableId:_0x457817,fieldId:_0x5ca6c4,area:_0x2fbb86,index:_0x24b4d1,unitId:_0x5db0e7,subUnitId:_0x945b1c}=_0xc76f42,_0x2bd4a9=(await _0x1607a7[_0x5ca670(0x22c)]({'unitId':_0x5db0e7,'subUnitId':_0x945b1c,'pivotTableId':_0x457817,'params':{'type':_0x2b8e9a[_0x5ca670(0x372)],'movePivotField':{'fieldId':_0x5ca6c4,'area':_0x2fbb86,'index':_0x24b4d1}}}))[_0x5ca670(0x1d1)][_0x5ca670(0x2a7)];if(!_0x2bd4a9)return!0x1;const {changesets:_0x585360,view:_0xf7399,isEmpty:_0x1bade2,pivotTableConfig:_0x451835}=_0x2bd4a9,_0x4c2d24=_0x451835[_0x5ca670(0x30d)],_0x303fbe=new _0x175d11[(_0x5ca670(0x2e1))]();_0x303fbe[_0x5ca670(0x391)](_0xf7399);const _0x500f7d={'cellInfo':_0x4c2d24,'view':_0x303fbe,'isEmpty':_0x1bade2};if(!await _0x2c2bc7[_0x5ca670(0x3e4)](_0x1ed859['SheetsPivotTableService'])[_0x5ca670(0x1e0)]['fetchThroughAsyncInterceptors'](_0x3ba713)(!0x0,_0x500f7d))return!0x1;const _0x12fde4=_0x44d3aa(_0x2c2bc7,_0x303fbe,_0x4c2d24,_0x1bade2),_0x5237e0=_0x458275(_0x2c2bc7,_0x500f7d),{redos:_0x484e0a,undos:_0x12749a}=_0x215de6(_0x4c57c1,{'pivotTableId':_0x457817,'unitId':_0x5db0e7,'subUnitId':_0x945b1c},_0x585360);return _0x177d6a[_0x5ca670(0x160)]([..._0x12fde4[_0x5ca670(0x166)],..._0x5237e0[_0x5ca670(0x166)],..._0x484e0a],_0x4c57c1),_0x4ed187[_0x5ca670(0xff)]({'unitID':_0x5db0e7,'redoMutations':[..._0x12fde4[_0x5ca670(0x166)],..._0x5237e0[_0x5ca670(0x166)],..._0x484e0a],'undoMutations':[..._0x12fde4[_0x5ca670(0x280)],..._0x5237e0[_0x5ca670(0x280)],..._0x12749a]}),!0x0;}},_0x5d353a={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x38a)],'id':_0x1c787c(0x2a0),'handler'(_0x17e0aa,_0xea8d55){const _0x2bffe8=_0x1c787c;if(!_0xea8d55)return!0x1;if(!!_0x17e0aa[_0x2bffe8(0x3e4)](_0x177d6a['IConfigService'])[_0x2bffe8(0x19a)](_0x318491))return!0x0;const {pivotTableId:_0xd6b880,targetCellPosition:_0xae6545,unitId:_0x165d2a,subUnitId:_0x17103e}=_0xea8d55,_0x7369ed=_0x17e0aa['get'](_0x1ed859[_0x2bffe8(0x1af)]);if(!_0x7369ed['getPivotTableInstance'](_0xea8d55[_0x2bffe8(0x399)]))return!0x1;const _0x2499df=_0x7369ed[_0x2bffe8(0xdd)](_0xd6b880);if(!_0x2499df)return!0x1;const _0x476dc4=_0x7369ed[_0x2bffe8(0x16b)](_0x2499df[_0x2bffe8(0x283)],_0xea8d55[_0x2bffe8(0x399)]);if(!_0x476dc4)return!0x1;const _0x4c5fc7=_0x7369ed[_0x2bffe8(0x33b)](_0x2499df['unitId'],_0x2499df[_0x2bffe8(0x27d)],_0xd6b880);if(!_0x4c5fc7)return!0x1;const _0x10e366=_0x177d6a[_0x2bffe8(0x389)][_0x2bffe8(0x2d6)](_0x4c5fc7);_0x10e366['targetCellInfo']={'unitId':_0x165d2a,'subUnitId':_0x17103e,'row':_0xae6545[_0x2bffe8(0x2e7)],'col':_0xae6545[_0x2bffe8(0x368)]};const _0x8bf772=_0x476dc4['toJSON']();if(_0x2499df[_0x2bffe8(0x27d)]===_0x17103e&&_0x2499df['unitId']===_0x165d2a)_0x7369ed['setPivotTable'](_0x165d2a,_0x17103e,_0xd6b880,_0x10e366),_0x7369ed[_0x2bffe8(0x285)]({'unitId':_0x165d2a,'subUnitId':_0x17103e,'token':_0xd6b880,'type':_0x5a4701['Set']});else{_0x7369ed[_0x2bffe8(0x285)]({'unitId':_0x2499df['unitId'],'subUnitId':_0x2499df[_0x2bffe8(0x27d)],'token':_0xd6b880,'type':_0x5a4701['Delete']}),_0x7369ed[_0x2bffe8(0x165)](_0x2499df['unitId'],_0x2499df[_0x2bffe8(0x27d)],_0xd6b880);const _0x35b2e4=_0x7369ed[_0x2bffe8(0x169)](_0xd6b880,_0x8bf772,_0x4c5fc7[_0x2bffe8(0x2a8)],_0x10e366[_0x2bffe8(0x30d)]),_0x1639ba=new _0x175d11[(_0x2bffe8(0x1e2))](_0x35b2e4[_0x2bffe8(0x250)],void 0x0,_0xd6b880);_0x1639ba[_0x2bffe8(0x32d)](_0x10e366[_0x2bffe8(0x179)]),_0x7369ed[_0x2bffe8(0x3cd)](_0x165d2a,_0x17103e,_0xd6b880,_0x1639ba,_0x10e366),_0x7369ed[_0x2bffe8(0x285)]({'unitId':_0x165d2a,'subUnitId':_0x17103e,'token':_0xd6b880,'type':_0x5a4701['Add'],'pivotConfig':_0x10e366});}return!0x0;}},_0x4de8eb={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x335)],'id':'sheet.command.move-pivot-table','handler':(_0x4edcaf,_0x35e679)=>{const _0x556270=_0x1c787c,_0x44dc58=_0x4edcaf[_0x556270(0x3e4)](_0x177d6a[_0x556270(0x353)]),_0x5a3aa8=_0x4edcaf[_0x556270(0x3e4)](_0x177d6a[_0x556270(0x28c)]),_0x4d3c1f=_0x4edcaf['get'](_0x1ed859[_0x556270(0x107)]),_0x49885e=_0x4edcaf[_0x556270(0x3e4)](_0x177d6a['IUniverInstanceService']);if(!_0x35e679)return!0x1;const _0x4c8a6c=_0x22c23f[_0x556270(0x109)](_0x49885e);if(!_0x4c8a6c)return!0x1;const {unitId:_0x398cf8,subUnitId:_0x575aca,workbook:_0x31b611}=_0x4c8a6c,_0x529b86=_0x4d3c1f[_0x556270(0x33b)](_0x35e679[_0x556270(0x3e0)]['unitId'],_0x35e679['originTargetInfo'][_0x556270(0x27d)],_0x35e679['pivotTableId']);if(!_0x529b86)return!0x1;const _0x56a012=_0x31b611['getSheetBySheetId'](_0x35e679[_0x556270(0x30d)]['subUnitId']);if(!_0x56a012)throw new Error(_0x556270(0x39f));const _0x5e0dd2=_0x56a012[_0x556270(0x132)](),_0x2d240a=_0x56a012[_0x556270(0xf6)]();if(_0x35e679[_0x556270(0x30d)][_0x556270(0x2e7)]>_0x5e0dd2||_0x35e679[_0x556270(0x30d)][_0x556270(0x368)]>_0x2d240a)throw new Error(_0x556270(0xf4));const _0x15bc03=[{'id':_0x5d353a['id'],'params':{'unitId':_0x398cf8,'subUnitId':_0x35e679[_0x556270(0x30d)]['subUnitId'],'pivotTableId':_0x35e679['pivotTableId'],'targetCellPosition':{'row':_0x35e679[_0x556270(0x30d)][_0x556270(0x2e7)],'col':_0x35e679[_0x556270(0x30d)][_0x556270(0x368)]}}}],_0x59af05=[{'id':_0x5d353a['id'],'params':{'unitId':_0x398cf8,'subUnitId':_0x575aca,'pivotTableId':_0x35e679[_0x556270(0x399)],'targetCellPosition':{'row':_0x529b86[_0x556270(0x30d)][_0x556270(0x2e7)],'col':_0x529b86[_0x556270(0x30d)][_0x556270(0x368)]}}}];return _0x177d6a['sequenceExecute'](_0x15bc03,_0x44dc58)&&_0x5a3aa8[_0x556270(0xff)]({'unitID':_0x398cf8,'undoMutations':_0x59af05,'redoMutations':_0x15bc03}),!0x0;}},_0x280ea1={'type':_0x177d6a['CommandType']['COMMAND'],'id':_0x1c787c(0x156),async 'handler'(_0x284ec4,_0xf3e699){const _0x5bc482=_0x1c787c;var _0x5d1b57;if(!_0xf3e699)return!0x1;const _0x44f391=_0x284ec4[_0x5bc482(0x3e4)](_0x177d6a[_0x5bc482(0x22f)]),_0x57b414=_0x22c23f[_0x5bc482(0x109)](_0x44f391);if(!_0x57b414)return!0x1;const {unitId:_0x23e006,subUnitId:_0x7b0568,workbook:_0x553213}=_0x57b414,{row:_0x2e4349,col:_0x30cdea}=_0xf3e699,_0xd8edfe=_0x284ec4['get'](_0x1ed859[_0x5bc482(0x1d6)]),_0x49032f=_0xd8edfe[_0x5bc482(0x29e)](_0x23e006,_0x7b0568,_0x2e4349,_0x30cdea);if(!_0x49032f)return!0x1;const _0x23a08e=(_0x5d1b57=_0xd8edfe[_0x5bc482(0x2d8)](_0x23e006,_0x7b0568,_0x49032f))==null?void 0x0:_0x5d1b57['areaInfo'];if(!_0x23a08e)return!0x1;const _0x100f01=_0x284ec4[_0x5bc482(0x3e4)](_0x1ed859[_0x5bc482(0x107)])[_0x5bc482(0x33b)](_0x23e006,_0x7b0568,_0x49032f);if(!_0x100f01)return!0x1;const {rowInfo:_0xd08162,colInfo:_0xe21214}=_0x23a08e,_0x37f5a5=_0xd08162[_0x2e4349][_0x5bc482(0x186)],_0x32121c=_0xe21214[_0x30cdea][_0x5bc482(0x186)],_0x202272=_0xd08162[_0x2e4349][_0x5bc482(0x297)],_0x4d60cf=_0xe21214[_0x30cdea][_0x5bc482(0x297)],_0x232db0=_0x37f5a5[_0x5bc482(0x163)](_0x32121c),_0x13056b=_0x100f01[_0x5bc482(0x179)][_0x5bc482(0x287)][_0x5bc482(0x338)](0x0,_0x202272),_0x438c72=_0x100f01['fieldsConfig']['columnFields'][_0x5bc482(0x338)](0x0,_0x4d60cf),_0x32b5c6=_0x13056b[_0x5bc482(0x163)](_0x438c72),_0x36a683=_0x232db0[_0x5bc482(0x12e)]((_0xc4f2a3,_0x5160ec)=>[_0xc4f2a3,_0x32b5c6[_0x5160ec]]),_0x539eab=(await _0x284ec4[_0x5bc482(0x3e4)](_0x1ed859['SheetsPivotRPCService'])[_0x5bc482(0x22c)]({'unitId':_0x23e006,'subUnitId':_0x7b0568,'pivotTableId':_0x49032f,'params':{'type':_0x2b8e9a[_0x5bc482(0x2c7)],'drillDown':{'tuple':_0x36a683}}}))[_0x5bc482(0x1d1)][_0x5bc482(0x32a)];if(!_0x539eab)return!0x1;const {indexes:_0x5274d3,range:_0xfd0349,sourceUnitId:_0xc0276,sourceSubUnitId:_0x4aace1,formatMap:_0x46efe5}=_0x539eab,{startRow:_0x3b6653,endRow:_0xc1314b,startColumn:_0x3b2e86,endColumn:_0x3471c9}=_0xfd0349,_0x484ebf=new _0x177d6a[(_0x5bc482(0xf7))](),_0x22b3fc=_0xc1314b-_0x3b6653,_0x48010c=_0x3471c9-_0x3b2e86,_0x2c270f={},_0x287f87=_0x22c23f[_0x5bc482(0x109)](_0x44f391,{'unitId':_0xc0276,'subUnitId':_0x4aace1});if(!_0x287f87)return!0x1;const _0x34f9f3=_0x137cd6[_0x5bc482(0xca)],_0x576321=_0x137cd6[_0x5bc482(0x2a9)],_0x417971=_0x137cd6['subTotalStyle'],_0x5921af=_0x553213[_0x5bc482(0x39a)]()[_0x5bc482(0x14f)](_0x34f9f3),_0x384ca0=_0x553213[_0x5bc482(0x39a)]()[_0x5bc482(0x14f)](_0x576321),_0x53d1c2=_0x553213[_0x5bc482(0x39a)]()[_0x5bc482(0x14f)](_0x417971),{worksheet:_0x15d305}=_0x287f87;let _0x438a81=0x0;const _0x43eb12=0x1;_0x5274d3[_0x5bc482(0xe3)](_0xf9a35e=>{const _0x1b7a02=_0x5bc482;for(let _0x1ab7b2=0x0;_0x1ab7b2<=_0x3471c9-_0x3b2e86;_0x1ab7b2++)_0x484ebf[_0x1b7a02(0x14f)](_0x438a81,_0x1ab7b2,_0x15d305[_0x1b7a02(0x2b1)](_0xf9a35e+_0xfd0349['startRow']+_0x43eb12,_0x1ab7b2));_0x438a81++;});for(let _0x29f91e=_0x3b2e86;_0x29f91e<=_0x3471c9;_0x29f91e++){const _0x2e9bf0=_0x15d305[_0x5bc482(0x2b1)](_0x3b6653,_0x29f91e);_0x2c270f[_0x3b6653]||(_0x2c270f[_0x3b6653]={}),_0x2c270f[_0x3b6653][_0x29f91e]={..._0x2e9bf0,'s':_0x5921af};}let _0x35c0ac=0x1;const _0x5c3bf9={},_0x142d5f={};_0x484ebf[_0x5bc482(0x3af)]((_0x548402,_0x396e1e)=>{const _0x5c6ffc=_0x5bc482;_0x396e1e[_0x5c6ffc(0xe3)](_0x1341c0=>{const _0x4a50bc=_0x5c6ffc,_0x1ebcab=_0x484ebf[_0x4a50bc(0x33d)](_0x548402,_0x1341c0);if(_0x2c270f[_0x35c0ac]||(_0x2c270f[_0x35c0ac]={}),_0x2c270f[_0x35c0ac][_0x1341c0]={..._0x1ebcab,'s':_0x35c0ac%0x2===0x0?_0x53d1c2:_0x384ca0},_0x46efe5[_0x1341c0]&&_0x548402>=0x0){const _0xad896b=_0x35c0ac%0x2===0x0;let _0x225697=_0xad896b?_0x142d5f[_0x1341c0]:_0x5c3bf9[_0x1341c0];_0x225697||(_0x225697=_0x553213[_0x4a50bc(0x39a)]()[_0x4a50bc(0x14f)]({..._0xad896b?_0x417971:_0x576321,'n':{'pattern':_0x46efe5[_0x1341c0]}}),_0xad896b?_0x142d5f[_0x1341c0]=_0x225697:_0x5c3bf9[_0x1341c0]=_0x225697),_0x2c270f[_0x35c0ac][_0x1341c0]['s']=_0x225697;}}),_0x35c0ac++;});const _0x322ebc=new _0x177d6a[(_0x5bc482(0xf7))](_0x2c270f),_0x22ebbd={};_0x322ebc[_0x5bc482(0xe2)]((_0x266f54,_0x377fed,_0xcbba4e)=>{_0x22ebbd[_0x266f54]||(_0x22ebbd[_0x266f54]={}),_0x22ebbd[_0x266f54][_0x377fed]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x4bb5f5=[],_0x4dd409=[],_0xa10995=_0x553213['getSheets']()['length'],_0x2886f3=_0x177d6a['mergeWorksheetSnapshotWithDefault']({'rowCount':Math[_0x5bc482(0x22b)](_0x177d6a[_0x5bc482(0x123)],_0x22b3fc+0xa),'columnCount':Math[_0x5bc482(0x22b)](_0x177d6a[_0x5bc482(0x23c)],_0x48010c+0x5)}),_0x3f87b3=_0x284ec4[_0x5bc482(0x3e4)](_0x177d6a[_0x5bc482(0x17f)]);_0x2886f3['id']=_0x177d6a['generateRandomId'](),_0x2886f3[_0x5bc482(0x349)]=_0x553213['generateNewSheetName'](''+_0x3f87b3['t'](_0x5bc482(0x229)));const _0x278878={'index':_0xa10995,'sheet':_0x2886f3,'unitId':_0x23e006},_0x3f542c=_0x22c23f[_0x5bc482(0xd2)](_0x284ec4,_0x278878);_0x4dd409[_0x5bc482(0x1a2)]({'id':_0x22c23f['InsertSheetMutation']['id'],'params':_0x278878}),_0x4bb5f5[_0x5bc482(0x1a2)]({'id':_0x22c23f[_0x5bc482(0x34b)]['id'],'params':_0x3f542c}),_0x4dd409[_0x5bc482(0x1a2)]({'id':_0x22c23f[_0x5bc482(0x33e)]['id'],'params':{'unitId':_0x23e006,'subUnitId':_0x2886f3['id'],'cellValue':_0x2c270f}}),_0x4bb5f5[_0x5bc482(0x262)]({'id':_0x22c23f[_0x5bc482(0x33e)]['id'],'params':{'unitId':_0x23e006,'subUnitId':_0x2886f3['id'],'cellValue':_0x22ebbd}});const _0x2a4838={'startRow':0x0,'startColumn':0x0,'endRow':_0x35c0ac-0x1,'endColumn':_0x3471c9};_0x4dd409['push']({'id':_0xc6ed78['SetSheetsFilterRangeMutation']['id'],'params':{'unitId':_0x23e006,'subUnitId':_0x2886f3['id'],'range':_0x2a4838}}),_0x4bb5f5[_0x5bc482(0x262)]({'id':_0xc6ed78[_0x5bc482(0x3c8)]['id'],'params':{'unitId':_0x23e006,'subUnitId':_0x2886f3['id']}});const _0x4bf0a6=_0x284ec4[_0x5bc482(0x3e4)](_0x177d6a['ICommandService']);return _0x177d6a[_0x5bc482(0x160)](_0x4dd409,_0x4bf0a6)&&_0x284ec4[_0x5bc482(0x3e4)](_0x177d6a[_0x5bc482(0x28c)])[_0x5bc482(0xff)]({'unitID':_0x23e006,'undoMutations':_0x4bb5f5,'redoMutations':_0x4dd409}),!0x0;}},_0x376df3={'type':_0x177d6a['CommandType'][_0x1c787c(0x335)],'id':_0x1c787c(0x1e8),async 'handler'(_0x2b5cda,_0x1e9803){const _0x26df54=_0x1c787c;if(!_0x1e9803)return!0x1;const _0x4b3e71=_0x2b5cda[_0x26df54(0x3e4)](_0x177d6a[_0x26df54(0x353)]),_0x48e85e=_0x2b5cda['get'](_0x1ed859[_0x26df54(0x206)]),_0x14623f=_0x2b5cda[_0x26df54(0x3e4)](_0x177d6a[_0x26df54(0x28c)]),{pivotTableId:_0x46f8df,fieldIds:_0x35b8c4,unitId:_0x225179,subUnitId:_0x51af25}=_0x1e9803,_0x2fb9d4=(await _0x48e85e[_0x26df54(0x22c)]({'unitId':_0x225179,'subUnitId':_0x51af25,'pivotTableId':_0x46f8df,'params':{'type':_0x2b8e9a[_0x26df54(0x1de)],'removePivotField':{'fieldIds':_0x35b8c4}}}))[_0x26df54(0x1d1)][_0x26df54(0x208)];if(!_0x2fb9d4)return!0x1;const {view:_0x137339,changesets:_0x42525d,isEmpty:_0xb0b9cb,pivotTableConfig:_0x4f5922}=_0x2fb9d4,_0x3eba3f=_0x4f5922['targetCellInfo'],_0x35ffc9=new _0x175d11['PivotView']();_0x35ffc9[_0x26df54(0x391)](_0x137339);const _0x577fdf={'cellInfo':_0x3eba3f,'view':_0x35ffc9,'isEmpty':_0xb0b9cb};if(!await _0x2b5cda['get'](_0x1ed859[_0x26df54(0x354)])['asyncInterceptor'][_0x26df54(0x39d)](_0x3ba713)(!0x0,_0x577fdf))return!0x1;const _0xf69221=_0x44d3aa(_0x2b5cda,_0x35ffc9,_0x3eba3f,_0xb0b9cb),_0x3ae55d=_0x458275(_0x2b5cda,_0x577fdf),{redos:_0x46a13b,undos:_0x4c972d}=_0x215de6(_0x4b3e71,{'pivotTableId':_0x46f8df,'unitId':_0x225179,'subUnitId':_0x51af25},_0x42525d);return _0x177d6a[_0x26df54(0x160)]([..._0xf69221[_0x26df54(0x166)],..._0x3ae55d['redos'],..._0x46a13b],_0x4b3e71),_0x14623f['pushUndoRedo']({'unitID':_0x225179,'redoMutations':[..._0xf69221['redos'],..._0x3ae55d[_0x26df54(0x166)],..._0x46a13b],'undoMutations':[..._0xf69221[_0x26df54(0x280)],..._0x3ae55d[_0x26df54(0x280)],..._0x4c972d]}),!0x0;}},_0x596a3c={'type':_0x177d6a[_0x1c787c(0x196)]['COMMAND'],'id':_0x1c787c(0x2a4),async 'handler'(_0xa43f85,_0x23ac2d){const _0x4530ff=_0x1c787c;if(!_0x23ac2d)return!0x1;const _0x39a35f=_0xa43f85[_0x4530ff(0x3e4)](_0x177d6a[_0x4530ff(0x353)]),_0xdabaea=_0xa43f85['get'](_0x177d6a[_0x4530ff(0x28c)]),_0x22321=_0xa43f85[_0x4530ff(0x3e4)](_0x1ed859[_0x4530ff(0x206)]),{resetArea:_0x3933b1,pivotTableId:_0x4891bc,unitId:_0x2d7446,subUnitId:_0x328943}=_0x23ac2d,_0x3203b2=(await _0x22321[_0x4530ff(0x22c)]({'unitId':_0x2d7446,'subUnitId':_0x328943,'pivotTableId':_0x4891bc,'params':{'type':_0x2b8e9a[_0x4530ff(0x36e)],'resetPivotTable':{'pivotTableId':_0x4891bc,'resetArea':_0x3933b1}}}))['result'][_0x4530ff(0x21f)];if(!_0x3203b2)return!0x1;const {changesets:_0xb1b897}=_0x3203b2,{redos:_0x48d42b,undos:_0x514b37}=_0x215de6(_0x39a35f,{'pivotTableId':_0x4891bc,'unitId':_0x2d7446,'subUnitId':_0x328943},_0xb1b897);return _0x177d6a[_0x4530ff(0x160)](_0x48d42b,_0x39a35f),_0xdabaea[_0x4530ff(0xff)]({'unitID':_0x2d7446,'redoMutations':_0x48d42b,'undoMutations':_0x514b37}),!0x0;}},_0x100116={'type':_0x177d6a['CommandType'][_0x1c787c(0x335)],'id':_0x1c787c(0x300),async 'handler'(_0x4473cd,_0x4de3ec){const _0x411e9e=_0x1c787c,_0x401bd8=_0x4473cd[_0x411e9e(0x3e4)](_0x177d6a[_0x411e9e(0x353)]),_0x2692bc=_0x4473cd['get'](_0x1ed859[_0x411e9e(0x206)]),_0x32975a=_0x4473cd[_0x411e9e(0x3e4)](_0x1ed859[_0x411e9e(0x1d6)]),_0x4623ca=_0x4473cd[_0x411e9e(0x3e4)](_0x177d6a['IUniverInstanceService']),_0x2efad3=_0x4473cd[_0x411e9e(0x3e4)](_0x177d6a[_0x411e9e(0x17f)]),_0x2e2250=_0x4473cd[_0x411e9e(0x3e4)](_0x177d6a[_0x411e9e(0x28c)]);if(!_0x4de3ec)return!0x1;const {unitId:_0x19b8ec,subUnitId:_0x29c797,row:_0x54900d,col:_0x25c0af,collapse:_0x5e7331}=_0x4de3ec,_0x48200f=_0x4623ca['getUnit'](_0x19b8ec);if(!_0x48200f||!_0x48200f[_0x411e9e(0x29a)](_0x29c797))return!0x1;const _0x25f1bc=_0x32975a['getPivotTableIdByCell'](_0x19b8ec,_0x29c797,_0x54900d,_0x25c0af);if(!_0x25f1bc)return!0x1;const _0x1b6a3d=_0x32975a[_0x411e9e(0x2d8)](_0x19b8ec,_0x29c797,_0x25f1bc);if(!_0x1b6a3d)return!0x1;const _0x48d1ea=_0x177d6a[_0x411e9e(0x1fd)](_0x54900d,_0x25c0af),{rangesInfo:_0x41a524,areaInfo:_0x211cea,headerMap:_0x18b0a0}=_0x1b6a3d;if(!_0x41a524||!_0x211cea||!_0x18b0a0)return!0x1;const _0x503439=Object[_0x411e9e(0x1fc)](_0x41a524)[_0x411e9e(0x24e)](_0x21d4e5=>_0x41a524[_0x21d4e5]['some'](_0x3ffca2=>_0x177d6a[_0x411e9e(0x2e2)][_0x411e9e(0x295)](_0x3ffca2,_0x48d1ea)));let _0x4f90c5;_0x503439==='rowRanges'?_0x4f90c5=_0x18b0a0['rowHeaderMap'][_0x25c0af]:_0x503439===_0x411e9e(0x1fa)&&(_0x4f90c5=_0x18b0a0['colHeaderMap'][_0x54900d]);const _0x22a2cc=_0x4f90c5==null?void 0x0:_0x4f90c5[_0x411e9e(0x2a3)],_0x10b893=_0x32975a[_0x411e9e(0xc0)](_0x19b8ec,_0x29c797,_0x54900d,_0x25c0af);let _0x40e30c=_0x10b893==null?void 0x0:_0x10b893['v'];if(_0x40e30c===_0x2efad3['t']('sheets-pivot.blank')&&(_0x40e30c=_0x175d11['GlobalConfig']['BLANK_PLACEHOLDER']),_0x40e30c==null||!_0x25f1bc||!_0x22a2cc)return!0x1;const _0x447ac6=await _0x2692bc['getPivotDisplayConfig']({'unitId':_0x19b8ec,'subUnitId':_0x29c797,'pivotTableId':_0x25f1bc,'params':{'type':_0x2b8e9a[_0x411e9e(0x2fb)],'setPivotCollapse':{'tableFieldId':_0x22a2cc,'collapse':_0x5e7331,'item':_0x40e30c}}}),_0x1646d3=_0x447ac6==null?void 0x0:_0x447ac6['result']['setPivotCollapse'];if(!_0x1646d3)return!0x1;const {view:_0x4023bd,pivotTableConfig:_0x23a9ce,isEmpty:_0x197116,changesets:_0x552298}=_0x1646d3,_0xd85d9d=new _0x175d11[(_0x411e9e(0x2e1))]();_0xd85d9d[_0x411e9e(0x391)](_0x4023bd);const _0x20d493=_0x23a9ce[_0x411e9e(0x30d)],_0x305081={'cellInfo':_0x20d493,'view':_0xd85d9d,'isEmpty':_0x197116};if(!await _0x4473cd[_0x411e9e(0x3e4)](_0x1ed859[_0x411e9e(0x354)])[_0x411e9e(0x1e0)][_0x411e9e(0x39d)](_0x3ba713)(!0x0,_0x305081))return!0x1;const _0x3ffc31=_0x44d3aa(_0x4473cd,_0xd85d9d,_0x20d493,_0x197116),_0xa6047=_0x458275(_0x4473cd,_0x305081),{redos:_0x4ae92d,undos:_0x16d32a}=_0x215de6(_0x401bd8,{'pivotTableId':_0x25f1bc,'unitId':_0x19b8ec,'subUnitId':_0x29c797},_0x552298);return _0x177d6a['sequenceExecute']([..._0x3ffc31[_0x411e9e(0x166)],..._0xa6047[_0x411e9e(0x166)],..._0x4ae92d],_0x401bd8),_0x2e2250['pushUndoRedo']({'unitID':_0x19b8ec,'redoMutations':[..._0x3ffc31[_0x411e9e(0x166)],..._0xa6047[_0x411e9e(0x166)],..._0x4ae92d],'undoMutations':[..._0x3ffc31[_0x411e9e(0x280)],..._0xa6047['undos'],..._0x16d32a]}),!0x0;}},_0x27cb54={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x335)],'id':_0x1c787c(0xf3),async 'handler'(_0x27f342,_0x28dbb8){const _0x407a40=_0x1c787c;if(!_0x28dbb8)return!0x1;const _0xec33cb=_0x27f342[_0x407a40(0x3e4)](_0x177d6a[_0x407a40(0x353)]),_0x52ab51=_0x27f342[_0x407a40(0x3e4)](_0x177d6a[_0x407a40(0x28c)]),_0x3d511f=_0x27f342[_0x407a40(0x3e4)](_0x1ed859['SheetsPivotRPCService']),{pivotTableConfig:_0x275df0,pivotTableId:_0x1b561b,unitId:_0x5a86f5,subUnitId:_0x40754e}=_0x28dbb8,_0x298fa7=(await _0x3d511f[_0x407a40(0x22c)]({'unitId':_0x5a86f5,'subUnitId':_0x40754e,'pivotTableId':_0x1b561b,'params':{'type':_0x2b8e9a['SetPivotTableConfig'],'setPivotTableConfig':{'pivotTableId':_0x1b561b,'pivotTableConfig':_0x275df0}}}))[_0x407a40(0x1d1)][_0x407a40(0x260)];if(!_0x298fa7)return!0x1;const {changesets:_0x249e0a}=_0x298fa7,{redos:_0x43d6a9,undos:_0x4fb34e}=_0x215de6(_0xec33cb,{'pivotTableId':_0x1b561b,'unitId':_0x5a86f5,'subUnitId':_0x40754e},_0x249e0a);return _0x177d6a[_0x407a40(0x160)](_0x43d6a9,_0xec33cb),_0x52ab51[_0x407a40(0xff)]({'unitID':_0x5a86f5,'redoMutations':_0x43d6a9,'undoMutations':_0x4fb34e}),!0x0;}},_0x2d8370={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x335)],'id':'sheet.command.set-pivot-filter',async 'handler'(_0xad9bb0,_0x1bb1f4){const _0x5e750c=_0x1c787c;if(!_0x1bb1f4)return!0x1;const _0x2d5b04=_0xad9bb0[_0x5e750c(0x3e4)](_0x177d6a[_0x5e750c(0x353)]),{pivotTableId:_0x4e4c31,tableFieldId:_0x28b4c0,items:_0x1a6c72,unitId:_0x2ab47a,subUnitId:_0xfc8396,isAll:_0x455aee}=_0x1bb1f4,_0x366310=_0xad9bb0[_0x5e750c(0x3e4)](_0x1ed859[_0x5e750c(0x206)]),_0x593df5=_0xad9bb0[_0x5e750c(0x3e4)](_0x177d6a[_0x5e750c(0x28c)]),_0x5aec47=(await _0x366310[_0x5e750c(0x22c)]({'unitId':_0x2ab47a,'subUnitId':_0xfc8396,'pivotTableId':_0x4e4c31,'params':{'type':_0x2b8e9a['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x28b4c0,'items':_0x1a6c72,'isAll':_0x455aee}}}))[_0x5e750c(0x1d1)][_0x5e750c(0xda)];if(!_0x5aec47)return!0x1;const {changesets:_0x2aa99d,pivotTableConfig:_0x35eaa0,isEmpty:_0x2bf4dd,view:_0xe0bc1e}=_0x5aec47,_0x38bfd0=_0x35eaa0['targetCellInfo'],_0x5aac1b=new _0x175d11[(_0x5e750c(0x2e1))]();_0x5aac1b[_0x5e750c(0x391)](_0xe0bc1e);const _0x1e58a3={'cellInfo':_0x38bfd0,'view':_0x5aac1b,'isEmpty':_0x2bf4dd};if(!await _0xad9bb0['get'](_0x1ed859['SheetsPivotTableService'])[_0x5e750c(0x1e0)]['fetchThroughAsyncInterceptors'](_0x3ba713)(!0x0,_0x1e58a3))return!0x1;const _0x2e9a90=_0x44d3aa(_0xad9bb0,_0x5aac1b,_0x38bfd0,_0x2bf4dd),_0x3933d5=_0x458275(_0xad9bb0,_0x1e58a3),{undos:_0x49dcaa,redos:_0x4271e3}=_0x215de6(_0x2d5b04,{'pivotTableId':_0x4e4c31,'unitId':_0x2ab47a,'subUnitId':_0xfc8396},_0x2aa99d);return _0x177d6a[_0x5e750c(0x160)]([..._0x2e9a90[_0x5e750c(0x166)],..._0x3933d5[_0x5e750c(0x166)],..._0x4271e3],_0x2d5b04),_0x593df5[_0x5e750c(0xff)]({'unitID':_0x2ab47a,'redoMutations':[..._0x2e9a90[_0x5e750c(0x166)],..._0x3933d5[_0x5e750c(0x166)],..._0x4271e3],'undoMutations':[..._0x2e9a90['undos'],..._0x3933d5[_0x5e750c(0x280)],..._0x49dcaa]}),!0x0;}},_0x4d2904={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x335)],'id':_0x1c787c(0x204),async 'handler'(_0x2cb1bd,_0x2c2796){const _0x167cc1=_0x1c787c;if(!_0x2c2796)return!0x1;const _0x38cca4=_0x2cb1bd[_0x167cc1(0x3e4)](_0x177d6a['ICommandService']),_0x8ef463=_0x2cb1bd[_0x167cc1(0x3e4)](_0x177d6a[_0x167cc1(0x28c)]),_0x261a1f=_0x2cb1bd['get'](_0x1ed859[_0x167cc1(0x206)]),{info:_0x5877fa,tableFieldId:_0x48578b,pivotTableId:_0x5dab71,unitId:_0xa51086,subUnitId:_0x1c47b7}=_0x2c2796,_0x5368e6=(await _0x261a1f[_0x167cc1(0x22c)]({'unitId':_0xa51086,'subUnitId':_0x1c47b7,'pivotTableId':_0x5dab71,'params':{'type':_0x2b8e9a[_0x167cc1(0x3c9)],'setPivotSort':{'tableFieldId':_0x48578b,'info':_0x5877fa}}}))[_0x167cc1(0x1d1)][_0x167cc1(0x270)];if(!_0x5368e6)return!0x1;const {changesets:_0x26ed25}=_0x5368e6,{redos:_0x3de60d,undos:_0x3b6f64}=_0x215de6(_0x38cca4,{'pivotTableId':_0x5dab71,'unitId':_0xa51086,'subUnitId':_0x1c47b7},_0x26ed25);return _0x177d6a['sequenceExecute'](_0x3de60d,_0x38cca4),_0x8ef463[_0x167cc1(0xff)]({'unitID':_0xa51086,'redoMutations':_0x3de60d,'undoMutations':_0x3b6f64}),!0x0;}},_0x14a83f={'type':_0x177d6a['CommandType'][_0x1c787c(0x335)],'id':_0x1c787c(0x363),async 'handler'(_0x22265e,_0x3cdf7e){const _0x511f1d=_0x1c787c;if(!_0x3cdf7e)return!0x1;const _0x272c82=_0x22265e[_0x511f1d(0x3e4)](_0x177d6a[_0x511f1d(0x353)]),{pivotTableId:_0x1b9046,fieldId:_0xc5809,valueFilterInfo:_0x25a514,unitId:_0x3a64dc,subUnitId:_0x3fc1d8}=_0x3cdf7e,_0x152cb=_0x22265e[_0x511f1d(0x3e4)](_0x1ed859[_0x511f1d(0x206)]),_0x5d7ced=_0x22265e[_0x511f1d(0x3e4)](_0x177d6a[_0x511f1d(0x28c)]),_0x3fd8c0=(await _0x152cb['getPivotDisplayConfig']({'unitId':_0x3a64dc,'subUnitId':_0x3fc1d8,'pivotTableId':_0x1b9046,'params':{'type':_0x2b8e9a[_0x511f1d(0x38b)],'setValuePivotFilter':{'tableFieldId':_0xc5809,'filterInfo':_0x25a514}}}))['result']['setValuePivotFilter'];if(!_0x3fd8c0)return!0x1;const {changesets:_0x347d96,pivotTableConfig:_0x3a9756,isEmpty:_0x38378b,view:_0x16f88a}=_0x3fd8c0,_0x4da5d3=_0x3a9756[_0x511f1d(0x30d)],_0xefa0d8=new _0x175d11['PivotView']();_0xefa0d8[_0x511f1d(0x391)](_0x16f88a);const _0x1a5d2b={'cellInfo':_0x4da5d3,'view':_0xefa0d8,'isEmpty':_0x38378b};if(!await _0x22265e[_0x511f1d(0x3e4)](_0x1ed859['SheetsPivotTableService'])[_0x511f1d(0x1e0)][_0x511f1d(0x39d)](_0x3ba713)(!0x0,_0x1a5d2b))return!0x1;const _0x5299e8=_0x44d3aa(_0x22265e,_0xefa0d8,_0x4da5d3,_0x38378b),_0x21e610=_0x458275(_0x22265e,_0x1a5d2b),{undos:_0x4250d3,redos:_0x5b0165}=_0x215de6(_0x272c82,{'pivotTableId':_0x1b9046,'unitId':_0x3a64dc,'subUnitId':_0x3fc1d8},_0x347d96);return _0x177d6a[_0x511f1d(0x160)]([..._0x5299e8[_0x511f1d(0x166)],..._0x21e610['redos'],..._0x5b0165],_0x272c82),_0x5d7ced[_0x511f1d(0xff)]({'unitID':_0x3a64dc,'redoMutations':[..._0x5299e8[_0x511f1d(0x166)],..._0x21e610[_0x511f1d(0x166)],..._0x5b0165],'undoMutations':[..._0x5299e8['undos'],..._0x21e610[_0x511f1d(0x280)],..._0x4250d3]}),!0x0;}},_0x18c1ce={'id':_0x1c787c(0x38e),'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x38a)],'handler':(_0x49c0c3,_0x2ae710)=>{const _0x2139a5=_0x1c787c;if(!_0x2ae710)return!0x1;if(!!_0x49c0c3['get'](_0x177d6a[_0x2139a5(0xcb)])['getConfig'](_0x318491))return!0x0;const {unitId:_0x43d457,subUnitId:_0x27ddb9,pivotTableId:_0x945baa,tableFieldId:_0x437e2f,dateType:_0x14a5f2}=_0x2ae710,_0x53a223=_0x49c0c3[_0x2139a5(0x3e4)](_0x1ed859['SheetsPivotDataSourceModel']),_0x268f3a=_0x53a223[_0x2139a5(0x1f4)](_0x945baa);if(!_0x268f3a)return!0x1;const _0x292eea=_0x268f3a['getDataFieldByTableId'](_0x437e2f);if(!_0x292eea)return!0x1;const _0x1c9b34=_0x292eea[_0x2139a5(0x200)](),_0xe9db07=_0x268f3a[_0x2139a5(0x268)](_0x1c9b34),_0x43385d=(_0xe9db07==null?void 0x0:_0xe9db07['getName']())+'\x20'+_0x4e9638(_0x49c0c3,_0x14a5f2);_0x53a223[_0x2139a5(0x16b)](_0x43d457,_0x945baa)['setDisplayName'](_0x292eea['id'],_0x43385d);const _0x5eb2e4=_0x268f3a[_0x2139a5(0x373)](_0x437e2f);if(!_0x5eb2e4)return!0x1;_0x268f3a[_0x2139a5(0x1b1)](_0x5eb2e4['getId'](),_0x43385d),_0x292eea['setDateType'](_0x14a5f2);const _0x481671=_0x53a223[_0x2139a5(0x33b)](_0x43d457,_0x27ddb9,_0x945baa);return _0x53a223[_0x2139a5(0x285)]({'unitId':_0x43d457,'subUnitId':_0x27ddb9,'token':_0x945baa,'type':_0x5a4701[_0x2139a5(0x151)],'pivotConfig':_0x481671}),!0x0;}},_0x3f8d67={'id':_0x1c787c(0x395),'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x335)],'handler':(_0xe1bcff,_0x2f5dcd)=>{const _0x5d7d97=_0x1c787c;if(!_0x2f5dcd)return!0x1;const _0x50c549=_0xe1bcff[_0x5d7d97(0x3e4)](_0x177d6a[_0x5d7d97(0x28c)]),{unitId:_0x5bf811,subUnitId:_0x4a32ae,pivotTableId:_0x4b2921,tableFieldId:_0x4c1655}=_0x2f5dcd,_0xa08e9e=[],_0x116d55=[],_0x2360db=_0xe1bcff['get'](_0x1ed859[_0x5d7d97(0x107)]),_0x4c54e8=_0x2360db[_0x5d7d97(0x16b)](_0x5bf811,_0x4b2921),_0x49e77a=_0x2360db[_0x5d7d97(0x33b)](_0x5bf811,_0x4a32ae,_0x4b2921);if(!(_0x49e77a!=null&&_0x49e77a[_0x5d7d97(0x179)][_0x5d7d97(0x3d2)]))return!0x1;const _0x27e7ed=Object[_0x5d7d97(0x31d)](_0x49e77a[_0x5d7d97(0x179)][_0x5d7d97(0x3d2)])['find'](_0x4e5a9b=>_0x4e5a9b['id']===_0x4c1655);if(!_0x27e7ed)return!0x1;const _0xaa6e01=_0x27e7ed['dataFieldId'];if(!(_0x4c54e8!=null&&_0x4c54e8[_0x5d7d97(0x2dc)]))return!0x1;const _0x2bb420=Object['values'](_0x4c54e8==null?void 0x0:_0x4c54e8[_0x5d7d97(0x2dc)])[_0x5d7d97(0x24e)](_0x33331e=>_0x33331e['id']===_0xaa6e01);if(!_0x2bb420)return!0x1;_0x175d11[_0x5d7d97(0x344)](_0x2bb420)&&_0xa08e9e[_0x5d7d97(0x1a2)]({'id':_0x18c1ce['id'],'params':{..._0x2f5dcd,'dateType':_0x2bb420['dateType']}}),_0x116d55[_0x5d7d97(0x1a2)]({'id':_0x18c1ce['id'],'params':{..._0x2f5dcd}});const _0x4bc3a5=_0xe1bcff['get'](_0x177d6a[_0x5d7d97(0x353)]);return _0x177d6a['sequenceExecute'](_0x116d55,_0x4bc3a5)&&_0x50c549['pushUndoRedo']({'unitID':_0x5bf811,'undoMutations':_0xa08e9e,'redoMutations':_0x116d55}),!0x0;}},_0x303d16={'type':_0x177d6a['CommandType'][_0x1c787c(0x335)],'id':_0x1c787c(0x1cb),async 'handler'(_0x9b0185,_0x31a94a){const _0x4c7c69=_0x1c787c;if(!_0x31a94a)return!0x1;const _0x4a8505=_0x9b0185[_0x4c7c69(0x3e4)](_0x177d6a['ICommandService']),_0x17ba80=_0x9b0185['get'](_0x177d6a[_0x4c7c69(0x28c)]),_0x582b31=_0x9b0185[_0x4c7c69(0x3e4)](_0x1ed859['SheetsPivotRPCService']),{displayName:_0x556792,subtotalType:_0x3e7987,format:_0x5254a3,tableFieldId:_0x5f30b4,pivotTableId:_0x31fda2,unitId:_0x51eb83,subUnitId:_0x27dc5b}=_0x31a94a,_0x35f23a=(await _0x582b31[_0x4c7c69(0x22c)]({'unitId':_0x51eb83,'subUnitId':_0x27dc5b,'pivotTableId':_0x31fda2,'params':{'type':_0x2b8e9a['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x5f30b4,'displayName':_0x556792,'subtotalType':_0x3e7987,'format':_0x5254a3}}}))[_0x4c7c69(0x1d1)][_0x4c7c69(0x29c)];if(!_0x35f23a)return!0x1;const {changesets:_0x459e8c,view:_0xae5dde,pivotTableConfig:_0x33ecbe,isEmpty:_0x3b042f}=_0x35f23a,_0x38df00=_0x33ecbe['targetCellInfo'],_0x1ae969=new _0x175d11[(_0x4c7c69(0x2e1))]();_0x1ae969['formJSON'](_0xae5dde);const _0x10f87f={'cellInfo':_0x38df00,'view':_0x1ae969,'isEmpty':_0x3b042f};if(!await _0x9b0185[_0x4c7c69(0x3e4)](_0x1ed859[_0x4c7c69(0x354)])[_0x4c7c69(0x1e0)][_0x4c7c69(0x39d)](_0x3ba713)(!0x0,_0x10f87f))return!0x1;const _0x4cdb1c=_0x44d3aa(_0x9b0185,_0x1ae969,_0x38df00,_0x3b042f),_0x78cfa6=_0x458275(_0x9b0185,_0x10f87f),{undos:_0x5bb789,redos:_0x1bd8d2}=_0x215de6(_0x4a8505,{'pivotTableId':_0x31fda2,'unitId':_0x51eb83,'subUnitId':_0x27dc5b},_0x459e8c);return _0x177d6a[_0x4c7c69(0x160)]([..._0x4cdb1c['redos'],..._0x78cfa6[_0x4c7c69(0x166)],..._0x1bd8d2],_0x4a8505),_0x17ba80['pushUndoRedo']({'unitID':_0x51eb83,'redoMutations':[..._0x4cdb1c[_0x4c7c69(0x166)],..._0x78cfa6[_0x4c7c69(0x166)],..._0x1bd8d2],'undoMutations':[..._0x4cdb1c['undos'],..._0x78cfa6[_0x4c7c69(0x280)],..._0x5bb789]}),!0x0;}},_0x31e2bd={'type':_0x177d6a[_0x1c787c(0x196)][_0x1c787c(0x38a)],'id':_0x1c787c(0x18d),'handler'(_0x5d25a5,_0x59ce3e){const _0x182b59=_0x1c787c;if(!_0x59ce3e)return!0x1;if(!!_0x5d25a5[_0x182b59(0x3e4)](_0x177d6a['IConfigService'])[_0x182b59(0x19a)](_0x318491))return!0x0;const _0x3aa791=_0x5d25a5[_0x182b59(0x3e4)](_0x1ed859[_0x182b59(0x1af)]),{pivotTableId:_0x16df4b,deleteIds:_0x18c1da,collectionJSON:_0x3032b7,dataRangeInfo:_0x39f2d1,unitId:_0x3eb7dd,subUnitId:_0x21d6de}=_0x59ce3e,_0x34e8b0=_0x3aa791[_0x182b59(0x1f4)](_0x16df4b),_0x391758=_0x3aa791[_0x182b59(0x33b)](_0x3eb7dd,_0x21d6de,_0x16df4b);if(!_0x34e8b0||!_0x391758)return!0x1;const {collection:_0x3b32e5,updateDataFieldList:_0x372d5f}=_0x3aa791[_0x182b59(0x169)](_0x16df4b,_0x3032b7,_0x39f2d1,_0x391758[_0x182b59(0x30d)]);_0x3aa791[_0x182b59(0x172)](_0x3b32e5,_0x372d5f,_0x39f2d1),_0x34e8b0[_0x182b59(0x2fc)](_0x3b32e5);for(const _0x291771 of _0x18c1da)_0x3aa791[_0x182b59(0x3b5)](_0x39f2d1[_0x182b59(0x283)],_0x291771);const _0x23e350=_0x3aa791[_0x182b59(0x33b)](_0x3eb7dd,_0x21d6de,_0x16df4b);return _0x23e350[_0x182b59(0x2a8)]=JSON[_0x182b59(0x398)](JSON['stringify'](_0x39f2d1)),_0x3aa791[_0x182b59(0x285)]({'unitId':_0x3eb7dd,'subUnitId':_0x21d6de,'token':_0x16df4b,'type':_0x5a4701[_0x182b59(0x151)]}),!0x0;}},_0x3009e9={'type':_0x177d6a['CommandType'][_0x1c787c(0x335)],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x4ae5f1,_0x37415b){const _0x1b7ab8=_0x1c787c,_0x2084fa=_0x4ae5f1[_0x1b7ab8(0x3e4)](_0x177d6a['ICommandService']),_0x16cccd=_0x4ae5f1['get'](_0x1ed859[_0x1b7ab8(0x206)]),_0x1d16c9=_0x4ae5f1[_0x1b7ab8(0x3e4)](_0x177d6a['IUndoRedoService']);if(!_0x37415b)return!0x1;const {token:_0x28031d,dataRangeInfo:_0xc0b3a,unitId:_0x16c021,subUnitId:_0x1074eb}=_0x37415b,_0x14c0f4=[],_0x347683=[],_0x430131=(await _0x16cccd[_0x1b7ab8(0x22c)]({'unitId':_0x16c021,'subUnitId':_0x1074eb,'pivotTableId':_0x28031d,'params':{'type':_0x2b8e9a['UpdatePivotSource'],'updatePivotSource':{'dataRangeInfo':_0xc0b3a,'unitId':_0x16c021,'subUnitId':_0x1074eb}}}))[_0x1b7ab8(0x1d1)][_0x1b7ab8(0x348)];if(!_0x430131)return!0x1;const {changesets:_0x3a3102,deleteIds:_0x47b479,collectionConfig:_0x303000,oldCollectionConfig:_0x56f1d1,view:_0x2bf917,isEmpty:_0x168736,pivotTableConfig:_0x344ca3}=_0x430131;_0x347683[_0x1b7ab8(0x1a2)]({'id':_0x31e2bd['id'],'params':{'pivotTableId':_0x28031d,'deleteIds':_0x47b479,'collectionJSON':_0x303000,'dataRangeInfo':_0xc0b3a,'unitId':_0x16c021,'subUnitId':_0x1074eb}}),_0x14c0f4[_0x1b7ab8(0x262)]({'id':_0x31e2bd['id'],'params':{'pivotTableId':_0x28031d,'deleteIds':[],'collectionJSON':_0x56f1d1,'dataRangeInfo':_0x344ca3[_0x1b7ab8(0x2a8)],'unitId':_0x16c021,'subUnitId':_0x1074eb}});const _0x5b96dc=_0x344ca3[_0x1b7ab8(0x30d)],_0x478557=new _0x175d11[(_0x1b7ab8(0x2e1))]();_0x478557[_0x1b7ab8(0x391)](_0x2bf917);const _0x406b39={'cellInfo':_0x5b96dc,'view':_0x478557,'isEmpty':_0x168736};if(!await _0x4ae5f1['get'](_0x1ed859[_0x1b7ab8(0x354)])[_0x1b7ab8(0x1e0)][_0x1b7ab8(0x39d)](_0x3ba713)(!0x0,_0x406b39))return!0x1;const _0x250b59=_0x44d3aa(_0x4ae5f1,_0x478557,_0x5b96dc,_0x168736),_0x581f02=_0x458275(_0x4ae5f1,_0x406b39),{undos:_0x4d7be0,redos:_0x19ee08}=_0x215de6(_0x2084fa,{'pivotTableId':_0x28031d,'unitId':_0x16c021,'subUnitId':_0x1074eb},_0x3a3102);return _0x177d6a[_0x1b7ab8(0x160)]([..._0x250b59[_0x1b7ab8(0x166)],..._0x581f02[_0x1b7ab8(0x166)],..._0x347683,..._0x4d7be0],_0x2084fa),_0x1d16c9[_0x1b7ab8(0xff)]({'unitID':_0x16c021,'redoMutations':[..._0x250b59[_0x1b7ab8(0x166)],..._0x581f02['redos'],..._0x347683,..._0x4d7be0],'undoMutations':[..._0x250b59[_0x1b7ab8(0x280)],..._0x581f02[_0x1b7ab8(0x280)],..._0x14c0f4,..._0x19ee08]}),!0x0;}},_0x5b29a9={'type':_0x177d6a['CommandType'][_0x1c787c(0x335)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x44ec77,_0x274193){const _0x266b78=_0x1c787c;if(!_0x274193)return!0x1;const _0x4fdfe6=_0x44ec77['get'](_0x177d6a[_0x266b78(0x353)]),_0x12f298=_0x44ec77[_0x266b78(0x3e4)](_0x1ed859['SheetsPivotRPCService']),_0x433b83=_0x44ec77['get'](_0x177d6a[_0x266b78(0x22f)]),_0x51aa60=_0x44ec77[_0x266b78(0x3e4)](_0x177d6a[_0x266b78(0x28c)]),{pivotTableId:_0x593138,position:_0x2f14e1,index:_0x14e432}=_0x274193,_0x2d50c7=_0x22c23f[_0x266b78(0x109)](_0x433b83);if(!_0x2d50c7)return!0x1;const {unitId:_0xd419ad,subUnitId:_0x57e3e4}=_0x2d50c7,_0x3a5650=(await _0x12f298[_0x266b78(0x22c)]({'unitId':_0xd419ad,'subUnitId':_0x57e3e4,'pivotTableId':_0x593138,'params':{'type':_0x2b8e9a[_0x266b78(0x3a6)],'updateValuePosition':{'position':_0x2f14e1,'index':_0x14e432}}}))[_0x266b78(0x1d1)][_0x266b78(0xcf)];if(!_0x3a5650)return!0x1;const {changesets:_0x22d682,view:_0x3300e1,isEmpty:_0x22eaac,pivotTableConfig:_0x366420}=_0x3a5650,_0x211559=_0x366420[_0x266b78(0x30d)],_0x52bbf8=new _0x175d11[(_0x266b78(0x2e1))]();_0x52bbf8['formJSON'](_0x3300e1);const _0x107138=_0x44ec77['get'](_0x1ed859[_0x266b78(0x354)]),_0x392bb0={'cellInfo':_0x211559,'view':_0x52bbf8,'isEmpty':_0x22eaac};if(!await _0x107138[_0x266b78(0x1e0)][_0x266b78(0x39d)](_0x3ba713)(!0x0,_0x392bb0))return!0x1;const _0xd720c0=_0x44d3aa(_0x44ec77,_0x52bbf8,_0x211559,_0x22eaac),_0x6c1648=_0x458275(_0x44ec77,_0x392bb0),{undos:_0x121237,redos:_0x4fca62}=_0x215de6(_0x4fdfe6,{'pivotTableId':_0x593138,'unitId':_0xd419ad,'subUnitId':_0x57e3e4},_0x22d682);return _0x177d6a[_0x266b78(0x160)]([..._0xd720c0[_0x266b78(0x166)],..._0x6c1648[_0x266b78(0x166)],..._0x4fca62],_0x4fdfe6),_0x51aa60[_0x266b78(0xff)]({'unitID':_0xd419ad,'redoMutations':[..._0xd720c0[_0x266b78(0x166)],..._0x6c1648[_0x266b78(0x166)],..._0x4fca62],'undoMutations':[..._0xd720c0[_0x266b78(0x280)],..._0x6c1648[_0x266b78(0x280)],..._0x121237]}),!0x0;}},_0x2dd118={'type':_0x177d6a['CommandType'][_0x1c787c(0x38a)],'id':_0x1c787c(0x17d),'handler'(){return!0x0;}};var _0x21cb22=Object['getOwnPropertyDescriptor'],_0x2d7de0=(_0x599908,_0x2718d7,_0x5970ca,_0x3fced6)=>{for(var _0x3e86b8=_0x3fced6>0x1?void 0x0:_0x3fced6?_0x21cb22(_0x2718d7,_0x5970ca):_0x2718d7,_0x3f8cf6=_0x599908['length']-0x1,_0x36645c;_0x3f8cf6>=0x0;_0x3f8cf6--)(_0x36645c=_0x599908[_0x3f8cf6])&&(_0x3e86b8=_0x36645c(_0x3e86b8)||_0x3e86b8);return _0x3e86b8;},_0x417bd2=(_0x4c8c14,_0x9f7d18)=>(_0x4ee733,_0x559c0d)=>_0x9f7d18(_0x4ee733,_0x559c0d,_0x4c8c14);const _0x3f2da4=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x22b9d9=(_0x5d3bfb,_0x219a2b,_0x1e1b09)=>{const _0x28392c=_0x1c787c,_0x32b3f7=_0x5d3bfb[_0x28392c(0x16d)];_0x5d3bfb[_0x28392c(0x30c)](_0x2cf65a=>{const _0x30a691=_0x28392c,_0xa9df44=_0x2cf65a[_0x30a691(0x24c)](),_0x31eea5=_0x2cf65a[_0x30a691(0x1b8)](),_0x4afdc5=_0x2cf65a[_0x30a691(0x17b)](),_0x473056=_0x2cf65a['getDisplayName']();_0x219a2b[_0x31eea5]&&_0x219a2b[_0x31eea5]===_0x473056&&_0x4afdc5===_0x473056&&(_0x5d3bfb[_0x30a691(0x1b1)](_0xa9df44,_0x32b3f7['getDisplayName'](_0x31eea5)),_0x2cf65a[_0x30a691(0x32f)](_0x32b3f7['getDisplayName'](_0x31eea5)));}),_0x5d3bfb['iterateFieldByArea'](_0x175d11[_0x28392c(0x3d5)][_0x28392c(0x1c5)],_0x22d4b2=>{const _0x49477e=_0x28392c,_0x1704ec=_0x22d4b2['getId'](),_0x349ca8=_0x22d4b2[_0x49477e(0x1b8)](),_0x199209=_0x22d4b2[_0x49477e(0x17b)](),_0x21efac=_0x22d4b2['getDisplayName'](),_0x36860e=_0x22d4b2[_0x49477e(0x18e)](),_0x54a88a=_0x1e1b09(_0x199209,_0x36860e);_0x219a2b[_0x349ca8]&&_0x219a2b[_0x349ca8]===_0x199209&&_0x54a88a===_0x21efac&&(_0x5d3bfb['renameField'](_0x1704ec,_0x1e1b09(_0x32b3f7[_0x49477e(0x37e)](_0x349ca8),_0x36860e)),_0x22d4b2[_0x49477e(0x32f)](_0x32b3f7[_0x49477e(0x37e)](_0x349ca8)));});},_0x244cc6=(_0x450b6d,_0x42a0bf,_0x1318a0)=>{const _0x293e10=_0x1c787c;var _0x1c915d,_0x27609d;const {arrayFormulaCellData:_0x54417d,unitData:_0xb93f6}=_0x42a0bf,{unitId:_0x1040b2,subUnitId:_0x20303e}=_0x1318a0,_0x4f244f=_0x1318a0[_0x293e10(0x138)],{startColumn:_0x4fbcfb,endColumn:_0x7bab82}=_0x4f244f,_0x36a1b3=(_0x1c915d=_0x54417d==null?void 0x0:_0x54417d[_0x1040b2])==null?void 0x0:_0x1c915d[_0x20303e],_0xc616d4=(_0x27609d=_0xb93f6==null?void 0x0:_0xb93f6[_0x1040b2])==null?void 0x0:_0x27609d[_0x20303e],_0x3d1c54=new Set(),_0x1e777c=_0x7bab82-_0x4fbcfb+0x1,{dirtyRanges:_0x485f88}=_0x450b6d;if(_0x485f88)for(const {range:_0x2f9cc3,sheetId:_0x54ad30,unitId:_0x2b4b9b}of _0x485f88){if(_0x54ad30!==_0x20303e||_0x1040b2!==_0x2b4b9b)continue;const _0xdad8e2=_0x177d6a[_0x293e10(0x2e2)][_0x293e10(0x331)](_0x2f9cc3,_0x4f244f);if(_0xdad8e2){const {startColumn:_0x101c7a,endColumn:_0x3cc5c0}=_0xdad8e2;for(let _0x4c42c9=_0x101c7a;_0x4c42c9<=_0x3cc5c0;_0x4c42c9++)_0x3d1c54[_0x293e10(0x202)](_0x4c42c9);}}if(_0x3d1c54[_0x293e10(0x13f)]===_0x1e777c||_0x3d1c54[_0x293e10(0x13f)]===_0x1e777c)return Array[_0x293e10(0x135)](_0x3d1c54);if(_0xc616d4){const _0x49fd23=_0xc616d4[_0x293e10(0x122)](),_0x57185e=Object[_0x293e10(0x1fc)](_0x49fd23);for(const _0x56c1b2 of _0x57185e){const _0x4d8b39=Number(_0x56c1b2),_0x3bf026=_0x49fd23[_0x4d8b39];if(_0x3d1c54['size']===_0x1e777c)break;for(const _0x1e7bd2 in _0x3bf026){const _0x283167=Number(_0x1e7bd2);_0x283167<_0x4fbcfb||_0x283167>_0x7bab82||_0x3d1c54[_0x293e10(0x202)](_0x283167);}}}if(_0x36a1b3){const _0x214d2d=_0x36a1b3[_0x293e10(0x122)](),_0x462506=Object[_0x293e10(0x1fc)](_0x214d2d);for(const _0x1cffa9 of _0x462506){const _0x375326=Number(_0x1cffa9),_0x44b488=_0x214d2d[_0x375326];if(_0x3d1c54[_0x293e10(0x13f)]===_0x1e777c)break;for(const _0x37f3b9 in _0x44b488){const _0x2c07a1=Number(_0x37f3b9);_0x2c07a1<_0x4fbcfb||_0x2c07a1>_0x7bab82||_0x3d1c54[_0x293e10(0x202)](_0x2c07a1);}}}return Array[_0x293e10(0x135)](_0x3d1c54);},_0x373283=_0xe738a2=>{const _0x53d879=_0x1c787c,_0x27e5a5=new Set(),_0x2411ba=[];for(const _0x28fdde of _0xe738a2){const _0x20b0b6=_0x28fdde['startRow']+','+_0x28fdde[_0x53d879(0x31c)]+','+_0x28fdde[_0x53d879(0x235)]+','+_0x28fdde[_0x53d879(0x2d3)];_0x27e5a5['has'](_0x20b0b6)||(_0x27e5a5[_0x53d879(0x202)](_0x20b0b6),_0x2411ba[_0x53d879(0x1a2)](_0x28fdde));}return _0x2411ba;};let _0x4c9bd7=class extends _0x177d6a[_0x1c787c(0x2c5)]{constructor(_0x58e9d6,_0x55af55,_0x442a4b,_0x18637a,_0x59460a){const _0x1648a2=_0x1c787c;super(),_0x117630(this,'_globalSubject',new _0x2d0b5f[(_0x1648a2(0x38c))](!0x0)),_0x117630(this,_0x1648a2(0x316),_0x551223=>{const _0x4d7958=_0x1648a2;this[_0x4d7958(0x30a)]['next'](!0x1);}),_0x117630(this,'_globalComputedEndHelpFunc',_0x4926ff=>{const _0x351d19=_0x1648a2;this[_0x351d19(0x30a)][_0x351d19(0x31b)](!0x0);}),(this[_0x1648a2(0x1a9)]=_0x58e9d6,this[_0x1648a2(0x361)]=_0x55af55,this[_0x1648a2(0x397)]=_0x442a4b,this['_globalComputingSrv']=_0x18637a,this['_injector']=_0x59460a,this[_0x1648a2(0x27a)](),this[_0x1648a2(0x220)]());}[_0x1c787c(0x27a)](){const _0x4e38a6=_0x1c787c;this[_0x4e38a6(0x14e)](),this[_0x4e38a6(0x358)](),this[_0x4e38a6(0x1a1)](),this[_0x4e38a6(0x10b)]();}[_0x1c787c(0x1e3)](){const _0x160285=_0x1c787c;this['_globalComputingSrv'][_0x160285(0x2ce)](this[_0x160285(0x30a)]),_0x175d11[_0x160285(0x1e2)][_0x160285(0x27c)](_0x175d11[_0x160285(0x102)][_0x160285(0x117)],this[_0x160285(0x316)]),_0x175d11['PivotTable'][_0x160285(0x27c)](_0x175d11[_0x160285(0x102)][_0x160285(0x10a)],this[_0x160285(0x304)]);}[_0x1c787c(0x220)](){const _0x8c6dee=_0x1c787c;this[_0x8c6dee(0x29f)](this['_commandService']['onCommandExecuted'](_0x49aafa=>{const _0x1acf6a=_0x8c6dee;_0x49aafa['id']===_0x22c23f['MoveRangeMutation']['id']&&this[_0x1acf6a(0x1a9)][_0x1acf6a(0x394)](_0x49aafa[_0x1acf6a(0x228)]);})),this[_0x8c6dee(0x29f)](this[_0x8c6dee(0x397)][_0x8c6dee(0x357)](_0x110caf=>{const _0x4642f1=_0x8c6dee;if(_0x110caf['id']!==_0x4c8972['id'])return;const _0x504a63=_0x110caf[_0x4642f1(0x228)],{unitId:_0x59849b,subUnitId:_0x102c6e,pivotTableId:_0x4f111e}=_0x504a63,_0x1e30d5=_0x504a63['params']['type'],_0x2544c3={};switch(_0x1e30d5){case _0x2b8e9a[_0x4642f1(0x1bb)]:{const _0x159ca5=_0x504a63[_0x4642f1(0x228)][_0x4642f1(0x22d)];if(!_0x159ca5)return;const {row:_0x2965e7,col:_0xb4d362,cellData:_0x125d58,pivotItemRenderInfoCache:_0x38df21,tableFieldId:_0x139ea7}=_0x159ca5,_0x315eb7=this[_0x4642f1(0x1a9)][_0x4642f1(0x1f4)](_0x504a63[_0x4642f1(0x399)]);if(!_0x315eb7||!_0x38df21)return;if(_0x139ea7){const _0x5abce1=_0x315eb7['getDataFieldByTableId'](_0x139ea7);if(!_0x5abce1)return;_0x2544c3[_0x4642f1(0x22d)]={..._0x315eb7['getDataFieldItemInfo'](_0x5abce1),'tableFieldId':_0x139ea7,'pivotTableId':_0x504a63[_0x4642f1(0x399)],'filterInfo':_0x315eb7[_0x4642f1(0x3e1)](_0x139ea7),'sortInfo':_0x315eb7[_0x4642f1(0x303)](_0x139ea7),'format':_0x315eb7[_0x4642f1(0x32c)](_0x139ea7)};}else{const _0x209605=_0x2c9fc9(_0x2965e7,_0xb4d362,_0x125d58,_0x315eb7,_0x38df21),_0x34e44f=_0x209605==null?void 0x0:_0x209605['filterId'];if(!_0x34e44f)return;const _0x19b2b2=_0x315eb7[_0x4642f1(0x34d)](_0x34e44f);if(!_0x19b2b2)return;_0x2544c3[_0x4642f1(0x22d)]={..._0x315eb7[_0x4642f1(0x251)](_0x19b2b2),'tableFieldId':_0x34e44f,'pivotTableId':_0x504a63[_0x4642f1(0x399)],'filterInfo':_0x315eb7[_0x4642f1(0x3e1)](_0x34e44f),'sortInfo':_0x315eb7[_0x4642f1(0x303)](_0x34e44f),'format':_0x315eb7[_0x4642f1(0x32c)](_0x34e44f)};}}break;case _0x2b8e9a['Panel']:{const _0x262c5d=_0x504a63[_0x4642f1(0x228)][_0x4642f1(0x21b)];if(!_0x262c5d)return;const {pivotTableId:_0x2f314c}=_0x262c5d,_0x1e22a8=this[_0x4642f1(0x1a9)][_0x4642f1(0x1f4)](_0x2f314c);if(!_0x1e22a8)return;const _0x284fff=this['_sheetsPivotDataSourceModel'][_0x4642f1(0x33b)](_0x59849b,_0x102c6e,_0x2f314c),_0x1a8d3b=_0xb5fa0a(_0x1e22a8,_0x2f314c,_0x284fff);_0x2544c3['panel']=_0x1a8d3b;}break;case _0x2b8e9a['AddPivotField']:{const _0xea2126=this[_0x4642f1(0x1a9)][_0x4642f1(0x1f4)](_0x4f111e),_0xbbd46e=this[_0x4642f1(0x1a9)][_0x4642f1(0x35d)](_0x59849b),_0x41b8ec=_0xbbd46e[_0x4642f1(0x16b)](_0x4f111e);let _0x33e314=null;const _0x386e44=this[_0x4642f1(0x1a9)][_0x4642f1(0x33b)](_0x59849b,_0x102c6e,_0x4f111e),_0x4d9bd9=_0x504a63[_0x4642f1(0x228)][_0x4642f1(0x2b2)];if(!_0xea2126||!_0x386e44||!_0x4d9bd9)return!0x1;const {dataFieldId:_0x5178d8,fieldArea:_0x396a20,index:_0x4091f0}=_0x4d9bd9;_0xea2126['startCollectChangeset']();const _0x389cb9=_0xea2126[_0x4642f1(0xd3)](_0x5178d8,_0x396a20,_0x4091f0);if(_0x389cb9&&_0x396a20===_0x175d11['PivotTableFiledAreaEnum'][_0x4642f1(0x1c5)]){const _0x14be34=_0x389cb9[_0x4642f1(0x24c)](),_0x2e97db=_0xea2126[_0x4642f1(0x34d)](_0x14be34);if(_0x2e97db){const _0x472c84=_0x2e97db==null?void 0x0:_0x2e97db[_0x4642f1(0x2c3)]();_0xea2126[_0x4642f1(0x2d2)](_0x389cb9[_0x4642f1(0x24c)](),_0x472c84===_0x175d11[_0x4642f1(0xea)][_0x4642f1(0x1ea)]?_0x175d11[_0x4642f1(0x1ce)][_0x4642f1(0x259)]:_0x175d11[_0x4642f1(0x1ce)][_0x4642f1(0x341)]);}const _0x13af73=_0xea2126[_0x4642f1(0x1ba)](),_0x2baf19=_0xea2126['getValuePosition'](),_0x38642b=_0xea2126[_0x4642f1(0x1e4)](_0x175d11[_0x4642f1(0x3d5)][_0x4642f1(0x1c5)]);if(_0x13af73===-0x1&&_0x38642b>0x1){const _0x135455=_0x2baf19===_0x175d11[_0x4642f1(0x3a3)][_0x4642f1(0x2f1)]?_0x175d11['PivotTableValuePositionEnum']['Column']:_0x2baf19,_0x4552a5=_0x135455===_0x175d11['PivotTableValuePositionEnum'][_0x4642f1(0xf0)]?_0x175d11['PivotTableFiledAreaEnum'][_0x4642f1(0xf0)]:_0x175d11[_0x4642f1(0x3d5)][_0x4642f1(0x3ca)];_0xea2126['updateValuePosition'](_0x135455,_0xea2126[_0x4642f1(0x1e4)](_0x4552a5));}}else{if(_0x389cb9&&(_0x396a20===_0x175d11[_0x4642f1(0x3d5)][_0x4642f1(0xf0)]||_0x396a20===_0x175d11['PivotTableFiledAreaEnum'][_0x4642f1(0x3ca)])){const _0x257665=_0x389cb9['getId'](),_0x44e207=_0xea2126[_0x4642f1(0x34d)](_0x257665);if(_0x44e207&&(_0x44e207==null?void 0x0:_0x44e207[_0x4642f1(0x2c3)]())===_0x175d11[_0x4642f1(0xea)][_0x4642f1(0x381)]){const _0x25ed5a=_0x44e207[_0x4642f1(0x1ad)]();if(_0x25ed5a&&_0xea2126['setFieldFormat'](_0x389cb9[_0x4642f1(0x24c)](),_0x25ed5a),!_0x41b8ec[_0x4642f1(0x189)]()[_0x4642f1(0x32e)](_0x5b93c6=>{const _0x514361=_0x4642f1,_0x5af009=_0x41b8ec[_0x514361(0x3db)](_0x5b93c6);return _0x175d11[_0x514361(0xc9)](_0x5af009)?_0x5af009[_0x514361(0x232)]()[_0x514361(0x396)]===_0x5178d8:!0x1;})){const _0x38f4a5=_0xbbd46e[_0x4642f1(0x24b)](),_0xca8c9e=_0x340d4d(_0x44e207[_0x4642f1(0xf5)],_0x44e207[_0x4642f1(0x393)]),_0x4668ff=_0x44e207[_0x4642f1(0x2b5)]()+_0x4642f1(0x1c4)+_0x4e9638(this[_0x4642f1(0x343)],_0xca8c9e),_0x3f1b3d=new _0x175d11['DateGroupField'](_0x38f4a5,_0x4668ff,_0x175d11[_0x4642f1(0x35c)](0x3),_0x44e207[_0x4642f1(0x24c)](),_0xca8c9e);_0xbbd46e['addDataFieldWithoutUnitInfo'](_0x3f1b3d),_0x41b8ec[_0x4642f1(0x3a0)](_0x38f4a5,_0x4668ff),_0xea2126[_0x4642f1(0xd3)](_0x38f4a5,_0x396a20,(_0x4091f0!=null?_0x4091f0:0x0)+0x1),_0x33e314=_0x3f1b3d;}}}}const _0x137930=_0xea2126[_0x4642f1(0x31a)](),_0x6ba9e=_0xea2126['query']()[_0x4642f1(0x32b)]();let _0x5ac5ab;if(_0x33e314){_0x5ac5ab=_0x33e314[_0x4642f1(0x32b)]();const _0x1366fa=_0x33e314[_0x4642f1(0x24c)]();_0x41b8ec[_0x4642f1(0xdf)](_0x1366fa);let _0x140ebb=!0x0;for(const _0x31a706 in _0xbbd46e[_0x4642f1(0x145)])if(_0xbbd46e[_0x4642f1(0x145)][_0x31a706][_0x4642f1(0x189)]()[_0x4642f1(0x29d)](_0x1366fa)){_0x140ebb=!0x1;break;}_0x140ebb&&_0xbbd46e[_0x4642f1(0x1db)](_0x1366fa);}const _0x235e60=_0xea2126['endCollectChangeset']();_0x2544c3[_0x4642f1(0x2b2)]={'view':_0x6ba9e,'changesets':_0x235e60,'isEmpty':_0x137930,'pivotTableConfig':_0x386e44,'shouldBeAddedGroupJSON':_0x5ac5ab};}break;case _0x2b8e9a[_0x4642f1(0xd6)]:{const _0x5dd9db=_0x504a63[_0x4642f1(0x228)][_0x4642f1(0x3cd)];if(!_0x5dd9db)return;const _0x217a83=_0x5dd9db[_0x4642f1(0x2a8)],_0x5e8e36=_0x5dd9db[_0x4642f1(0x399)],{collection:_0x9ef8a7}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x217a83[_0x4642f1(0x283)],'sheetName':_0x217a83[_0x4642f1(0x376)],'subUnitId':_0x217a83[_0x4642f1(0x27d)],'range':_0x217a83[_0x4642f1(0x138)]}),_0x1ba749=new _0x175d11[(_0x4642f1(0x1e2))](_0x9ef8a7,void 0x0,_0x5e8e36),_0x108ae1=_0x1ba749['query'](),_0x4e9718=_0x1ba749['toJSON'](),_0x5ba058=_0x9ef8a7[_0x4642f1(0x32b)]();_0x2544c3[_0x4642f1(0x3cd)]={'view':_0x108ae1,'fieldsConfig':_0x4e9718,'collectionConfig':_0x5ba058,'isEmpty':_0x1ba749[_0x4642f1(0x31a)]()};}break;case _0x2b8e9a['MovePivotField']:{const _0x5d78cd=_0x504a63[_0x4642f1(0x228)]['movePivotField'];if(!_0x5d78cd)return;const {fieldId:_0x34a8f1,area:_0x413f5f,index:_0x4488c1}=_0x5d78cd,_0xa8f203=this['_sheetsPivotDataSourceModel'][_0x4642f1(0x33b)](_0x59849b,_0x102c6e,_0x4f111e);if(!_0xa8f203)return;const _0x44eff3=this[_0x4642f1(0x1a9)][_0x4642f1(0x1f4)](_0x4f111e);if(!_0x44eff3)return;_0x44eff3[_0x4642f1(0xd8)]();const {area:_0x41b9d5,index:_0x22016f}=_0x44eff3[_0x4642f1(0x2b3)](_0x34a8f1);if(_0x44eff3[_0x4642f1(0x213)](_0x34a8f1,_0x413f5f,_0x4488c1),_0x413f5f===_0x175d11[_0x4642f1(0x3d5)]['Value']&&_0x44eff3['getTableFieldById'](_0x34a8f1)[_0x4642f1(0x18e)]()===void 0x0){const _0x2ccae6=_0x44eff3[_0x4642f1(0x373)](_0x34a8f1);if(_0x2ccae6&&_0x2ccae6[_0x4642f1(0x18e)]()===void 0x0){const _0x42ee8d=_0x44eff3[_0x4642f1(0x34d)](_0x34a8f1);if(_0x42ee8d){const _0x3651e3=_0x42ee8d==null?void 0x0:_0x42ee8d[_0x4642f1(0x2c3)]();_0x44eff3['setSubtotalType'](_0x34a8f1,_0x3651e3===_0x175d11['PivotDataFieldDataTypeEnum'][_0x4642f1(0x1ea)]?_0x175d11[_0x4642f1(0x1ce)][_0x4642f1(0x259)]:_0x175d11[_0x4642f1(0x1ce)][_0x4642f1(0x341)]);}}}const _0x126505=_0x44eff3[_0x4642f1(0x3a5)](),_0x1a4961=_0x44eff3[_0x4642f1(0x1ba)](),_0x26ef1c=_0x44eff3['getFieldCountByArea'](_0x175d11[_0x4642f1(0x3d5)][_0x4642f1(0x1c5)])>0x1;if(_0x26ef1c&&_0x41b9d5===_0x413f5f&&(_0x413f5f===_0x175d11[_0x4642f1(0x3d5)][_0x4642f1(0xf0)]&&_0x126505===_0x175d11[_0x4642f1(0x3a3)]['Row']||_0x413f5f===_0x175d11[_0x4642f1(0x3d5)][_0x4642f1(0x3ca)]&&_0x126505===_0x175d11[_0x4642f1(0x3a3)][_0x4642f1(0x3ca)])){let _0xd71fcc=_0x1a4961;_0x22016f<=_0x1a4961&&_0xd71fcc--,_0x4488c1<=_0x1a4961&&_0xd71fcc++,_0x44eff3[_0x4642f1(0xcf)](_0x126505,_0xd71fcc);}else _0x26ef1c&&(_0x41b9d5===_0x175d11[_0x4642f1(0x3d5)][_0x4642f1(0xf0)]&&_0x126505===_0x175d11[_0x4642f1(0x3a3)]['Row']||_0x41b9d5===_0x175d11[_0x4642f1(0x3d5)][_0x4642f1(0x3ca)]&&_0x126505===_0x175d11[_0x4642f1(0x3a3)]['Column'])&&_0x1a4961>=_0x22016f&&_0x44eff3[_0x4642f1(0xcf)](_0x126505,_0x1a4961-0x1),_0x26ef1c&&(_0x413f5f===_0x175d11['PivotTableFiledAreaEnum'][_0x4642f1(0xf0)]&&_0x126505===_0x175d11[_0x4642f1(0x3a3)][_0x4642f1(0xf0)]||_0x413f5f===_0x175d11[_0x4642f1(0x3d5)]['Column']&&_0x126505===_0x175d11[_0x4642f1(0x3a3)]['Column'])&&_0x1a4961>=_0x4488c1&&_0x44eff3['updateValuePosition'](_0x126505,_0x1a4961+0x1);const _0x3eb7c1=_0x44eff3[_0x4642f1(0x3ac)](),_0x3f71ef=_0x44eff3[_0x4642f1(0x31a)](),_0x27b61b=_0x44eff3[_0x4642f1(0x1cc)]();_0x2544c3[_0x4642f1(0x2a7)]={'view':_0x3eb7c1[_0x4642f1(0x32b)](),'changesets':_0x27b61b,'isEmpty':_0x3f71ef,'pivotTableConfig':_0xa8f203};}break;case _0x2b8e9a[_0x4642f1(0x1de)]:{const _0x570817=_0x504a63[_0x4642f1(0x228)][_0x4642f1(0x208)];if(!_0x570817)return;const _0x1660db=_0x570817[_0x4642f1(0x3cb)],_0x5c7a0a=this['_sheetsPivotDataSourceModel'][_0x4642f1(0x33b)](_0x59849b,_0x102c6e,_0x4f111e);if(!_0x5c7a0a)return!0x1;const _0x41a3e7=this['_sheetsPivotDataSourceModel'][_0x4642f1(0x1f4)](_0x4f111e);if(!_0x41a3e7)return!0x1;_0x41a3e7[_0x4642f1(0xd8)]();for(const _0xd2abbe of _0x1660db){const {area:_0x4554c0}=_0x41a3e7[_0x4642f1(0x2b3)](_0xd2abbe);_0x4554c0===_0x175d11[_0x4642f1(0x3d5)]['Value']&&_0x41a3e7[_0x4642f1(0x191)](_0xd2abbe),(_0x4554c0===_0x175d11[_0x4642f1(0x3d5)][_0x4642f1(0xf0)]||_0x4554c0===_0x175d11[_0x4642f1(0x3d5)][_0x4642f1(0x3ca)])&&_0x41a3e7[_0x4642f1(0x114)](_0xd2abbe),_0x41a3e7[_0x4642f1(0x146)](_0xd2abbe);}const _0x15f691=_0x41a3e7[_0x4642f1(0x31a)](),_0x38936a=_0x41a3e7[_0x4642f1(0x3ac)]()[_0x4642f1(0x32b)](),_0x418432=_0x41a3e7[_0x4642f1(0x1cc)]();_0x2544c3['removePivotField']={'changesets':_0x418432,'pivotTableConfig':_0x5c7a0a,'isEmpty':_0x15f691,'view':_0x38936a};}break;case _0x2b8e9a['SetPivotFilter']:{const _0x1fe02f=_0x504a63[_0x4642f1(0x228)]['setPivotFilter'];if(!_0x1fe02f)return;const {tableFieldId:_0x3d6e57,items:_0x286948,isAll:_0x1416ef}=_0x1fe02f,_0x1b0391=this[_0x4642f1(0x1a9)][_0x4642f1(0x1f4)](_0x4f111e),_0x2b17c8=this[_0x4642f1(0x1a9)][_0x4642f1(0x33b)](_0x59849b,_0x102c6e,_0x4f111e);if(!_0x1b0391||!_0x2b17c8)return;_0x1b0391[_0x4642f1(0xd8)](),_0x1b0391[_0x4642f1(0x277)](_0x3d6e57,{'type':_0x175d11['PivotFilterTypeEnum']['ManualFilter'],'list':_0x286948,'isAll':_0x1416ef});const _0x99d62e=_0x1b0391[_0x4642f1(0x31a)](),_0x24e533=_0x1b0391[_0x4642f1(0x3ac)]()[_0x4642f1(0x32b)](),_0x583892=_0x1b0391[_0x4642f1(0x1cc)]();_0x2544c3[_0x4642f1(0xda)]={'view':_0x24e533,'changesets':_0x583892,'isEmpty':_0x99d62e,'pivotTableConfig':_0x2b17c8};}break;case _0x2b8e9a[_0x4642f1(0x38b)]:{const _0x5efeea=_0x504a63['params'][_0x4642f1(0x38d)];if(!_0x5efeea)return;const {tableFieldId:_0x5a8e82,filterInfo:_0x432049}=_0x5efeea,_0x496563=this[_0x4642f1(0x1a9)][_0x4642f1(0x1f4)](_0x4f111e),_0x4d59b8=this['_sheetsPivotDataSourceModel'][_0x4642f1(0x33b)](_0x59849b,_0x102c6e,_0x4f111e);if(!_0x496563||!_0x4d59b8)return;_0x496563[_0x4642f1(0xd8)](),_0x496563[_0x4642f1(0x356)](_0x5a8e82,_0x432049);const _0x4a5925=_0x496563[_0x4642f1(0x31a)](),_0x359910=_0x496563[_0x4642f1(0x3ac)]()[_0x4642f1(0x32b)](),_0x595832=_0x496563[_0x4642f1(0x1cc)]();_0x2544c3[_0x4642f1(0x38d)]={'view':_0x359910,'changesets':_0x595832,'isEmpty':_0x4a5925,'pivotTableConfig':_0x4d59b8};}break;case _0x2b8e9a[_0x4642f1(0x3c9)]:{const _0x48f090=_0x504a63[_0x4642f1(0x228)][_0x4642f1(0x270)];if(!_0x48f090)return;const {tableFieldId:_0x2fb56,info:_0x2ffe63}=_0x48f090,_0x198445=this[_0x4642f1(0x1a9)]['getPivotTableInstance'](_0x4f111e),_0x278f86=this[_0x4642f1(0x1a9)][_0x4642f1(0x33b)](_0x59849b,_0x102c6e,_0x4f111e);if(!_0x198445||!_0x278f86)return;_0x198445[_0x4642f1(0xd8)](),_0x198445[_0x4642f1(0x161)](_0x2fb56,_0x2ffe63);const _0x14372c=_0x198445[_0x4642f1(0x31a)](),_0x590a64=_0x198445[_0x4642f1(0x3ac)]()['toJSON'](),_0x3ee468=_0x198445[_0x4642f1(0x1cc)]();_0x2544c3[_0x4642f1(0x270)]={'view':_0x590a64,'changesets':_0x3ee468,'isEmpty':_0x14372c,'pivotTableConfig':_0x278f86};}break;case _0x2b8e9a['SetPivotSetting']:{const _0x3b399b=_0x504a63['params']['setPivotSetting'];if(!_0x3b399b)return;const {tableFieldId:_0xe447fe,displayName:_0x56bb09,subtotalType:_0x34a927,format:_0x34720c}=_0x3b399b,_0x498111=this[_0x4642f1(0x1a9)]['getPivotTableInstance'](_0x4f111e),_0x517ff6=this[_0x4642f1(0x1a9)][_0x4642f1(0x33b)](_0x59849b,_0x102c6e,_0x4f111e);if(!_0x498111||!_0x517ff6)return;_0x498111[_0x4642f1(0xd8)](),_0x56bb09!==void 0x0&&_0x498111['renameField'](_0xe447fe,_0x56bb09),_0x34a927!==void 0x0&&_0x498111['setSubtotalType'](_0xe447fe,_0x34a927),_0x34720c!==void 0x0&&_0x498111[_0x4642f1(0x25e)](_0xe447fe,_0x34720c);const _0x191662=_0x498111['isEmpty'](),_0x43e035=_0x498111[_0x4642f1(0x3ac)]()['toJSON'](),_0x213f29=_0x498111[_0x4642f1(0x1cc)]();_0x2544c3['setPivotSetting']={'changesets':_0x213f29,'pivotTableConfig':_0x517ff6,'isEmpty':_0x191662,'view':_0x43e035};}break;case _0x2b8e9a[_0x4642f1(0x194)]:{const _0x2845c6=_0x504a63[_0x4642f1(0x228)][_0x4642f1(0x348)];if(!_0x2845c6)return;const {dataRangeInfo:_0x5f4434,unitId:_0x469ab0,subUnitId:_0x50d9d5}=_0x2845c6,_0x23c975=this[_0x4642f1(0x1a9)][_0x4642f1(0x33b)](_0x469ab0,_0x50d9d5,_0x4f111e),_0x1e6cd8=this[_0x4642f1(0x1a9)][_0x4642f1(0x1f4)](_0x4f111e);if(!this[_0x4642f1(0x1a9)][_0x4642f1(0x16b)](_0x469ab0,_0x4f111e)||!_0x1e6cd8||!_0x23c975)return;const _0xe3519f=this[_0x4642f1(0x1a9)][_0x4642f1(0x129)](_0x469ab0,_0x4f111e,_0x5f4434),_0x19ebb4=this[_0x4642f1(0x1a9)][_0x4642f1(0x16b)](_0x469ab0,_0x4f111e)[_0x4642f1(0x32b)](),{collection:_0x26ff39}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x5f4434['unitId'],'sheetName':_0x5f4434['sheetName'],'subUnitId':_0x5f4434['subUnitId'],'range':_0x5f4434[_0x4642f1(0x138)]}),_0x26144f=_0x26ff39[_0x4642f1(0x32b)]();_0x1e6cd8['startCollectChangeset']();const _0x12a4ba=this[_0x4642f1(0x1a9)][_0x4642f1(0x35d)](_0x469ab0)[_0x4642f1(0x130)]()||_0x175d11[_0x4642f1(0x3c4)];_0x1e6cd8[_0x4642f1(0x153)](_0x11cbcf=>{const _0x312940=_0x4642f1,_0x1e465f=_0x11cbcf[_0x312940(0x1b8)]();if(!_0x26ff39[_0x312940(0x16f)](_0x1e465f)){const _0x1df63c=_0x26ff39[_0x312940(0x290)](_0x11cbcf[_0x312940(0x17b)]());if(_0x1df63c){_0x1e6cd8[_0x312940(0xed)](_0x11cbcf[_0x312940(0x24c)](),_0x1df63c[_0x312940(0x2b5)](),_0x1df63c[_0x312940(0x24c)]());const {area:_0x31b6b9}=_0x1e6cd8[_0x312940(0x2b3)](_0x11cbcf[_0x312940(0x24c)]());let _0x76c177=_0x11cbcf[_0x312940(0x17b)]();const _0x47a6c9=_0x11cbcf[_0x312940(0x37e)]();if(_0x31b6b9===_0x175d11[_0x312940(0x3d5)]['Value']){const _0x42badb=_0x11cbcf[_0x312940(0x18e)]();_0x76c177=_0x12a4ba(_0x1df63c[_0x312940(0x2b5)](),_0x42badb);}_0x47a6c9!==_0x76c177&&_0x1e6cd8['renameField'](_0x11cbcf[_0x312940(0x24c)](),_0x76c177);}else _0x1e6cd8[_0x312940(0x146)](_0x11cbcf[_0x312940(0x24c)]());}});const _0x2ef61c=_0x1e6cd8[_0x4642f1(0x31a)](),_0x4dbe5c=_0x1e6cd8[_0x4642f1(0x3ac)]()[_0x4642f1(0x32b)](),_0x58afd0=_0x1e6cd8[_0x4642f1(0x1cc)]();_0x2544c3['updatePivotSource']={'view':_0x4dbe5c,'changesets':_0x58afd0,'isEmpty':_0x2ef61c,'pivotTableConfig':_0x23c975,'collectionConfig':_0x26144f,'oldCollectionConfig':_0x19ebb4,'deleteIds':_0xe3519f};}break;case _0x2b8e9a['UpdateValuePosition']:{const _0x335b49=_0x504a63[_0x4642f1(0x228)][_0x4642f1(0xcf)];if(!_0x335b49)return;const {position:_0x658123,index:_0x486b23}=_0x335b49,_0xce17f4=this['_sheetsPivotDataSourceModel'][_0x4642f1(0x33b)](_0x59849b,_0x102c6e,_0x4f111e);if(!_0xce17f4)return!0x1;const _0x46dcdc=this[_0x4642f1(0x1a9)][_0x4642f1(0x1f4)](_0x4f111e);if(!_0x46dcdc)return!0x1;_0x46dcdc['startCollectChangeset'](),_0x46dcdc[_0x4642f1(0xcf)](_0x658123,_0x486b23);const _0x460bd5=_0x46dcdc[_0x4642f1(0x31a)](),_0x47022d=_0x46dcdc['query']()[_0x4642f1(0x32b)](),_0x3cea6f=_0x46dcdc['endCollectChangeset']();_0x2544c3[_0x4642f1(0xcf)]={'changesets':_0x3cea6f,'pivotTableConfig':_0xce17f4,'isEmpty':_0x460bd5,'view':_0x47022d};}break;case _0x2b8e9a[_0x4642f1(0x2fb)]:{const _0xc577a1=_0x504a63[_0x4642f1(0x228)][_0x4642f1(0xe9)];if(!_0xc577a1)return;const {tableFieldId:_0x127c37,collapse:_0x5864a7,item:_0x169577}=_0xc577a1,_0x2ced01=this[_0x4642f1(0x1a9)][_0x4642f1(0x1f4)](_0x4f111e),_0xa786ae=this[_0x4642f1(0x1a9)]['getPivotTableConfig'](_0x59849b,_0x102c6e,_0x4f111e);if(!_0x2ced01||!_0xa786ae)return;_0x2ced01[_0x4642f1(0xd8)](),_0x2ced01[_0x4642f1(0x23b)](_0x127c37,_0x5864a7,_0x169577);const _0x9e40e7=_0x2ced01[_0x4642f1(0x31a)](),_0x358881=_0x2ced01[_0x4642f1(0x3ac)]()[_0x4642f1(0x32b)](),_0x54c6f7=_0x2ced01[_0x4642f1(0x1cc)]();_0x2544c3[_0x4642f1(0xe9)]={'view':_0x358881,'isEmpty':_0x9e40e7,'pivotTableConfig':_0xa786ae,'changesets':_0x54c6f7};}break;case _0x2b8e9a[_0x4642f1(0x3c5)]:{const _0x419fe1=_0x504a63['params'][_0x4642f1(0x260)];if(!_0x419fe1)return;const {pivotTableConfig:_0x121cef}=_0x419fe1,_0x4551a1=this['_sheetsPivotDataSourceModel'][_0x4642f1(0x1f4)](_0x4f111e),_0x20002b=this[_0x4642f1(0x1a9)][_0x4642f1(0x33b)](_0x59849b,_0x102c6e,_0x4f111e);if(!_0x4551a1||!_0x20002b)return;_0x4551a1[_0x4642f1(0xd8)](),_0x594aa5(_0x4551a1,_0x121cef);const _0x54113c=_0x4551a1[_0x4642f1(0x31a)](),_0x3275a7=_0x4551a1[_0x4642f1(0x3ac)]()[_0x4642f1(0x32b)](),_0x3b315e=_0x4551a1['endCollectChangeset']();_0x2544c3[_0x4642f1(0x260)]={'view':_0x3275a7,'isEmpty':_0x54113c,'pivotTableConfig':{..._0x20002b,'fieldsConfig':_0x4551a1[_0x4642f1(0x32b)]()},'changesets':_0x3b315e};}break;case _0x2b8e9a[_0x4642f1(0x36e)]:{const _0x2cd348=_0x504a63[_0x4642f1(0x228)]['resetPivotTable'];if(!_0x2cd348)return;const _0x10aee5=this['_sheetsPivotDataSourceModel'][_0x4642f1(0x1f4)](_0x4f111e),_0x14d40b=this['_sheetsPivotDataSourceModel'][_0x4642f1(0x33b)](_0x59849b,_0x102c6e,_0x4f111e);if(!_0x10aee5||!_0x14d40b)return;_0x10aee5[_0x4642f1(0xd8)](),_0x572cc8(_0x10aee5,_0x2cd348['resetArea']);const _0x1208be=_0x10aee5['query']()['toJSON'](),_0x3fc3e7=_0x10aee5['endCollectChangeset']();_0x2544c3['resetPivotTable']={'view':_0x1208be,'isEmpty':!0x0,'pivotTableConfig':{..._0x14d40b,'fieldsConfig':_0x10aee5[_0x4642f1(0x32b)]()},'changesets':_0x3fc3e7};}break;case _0x2b8e9a[_0x4642f1(0xcd)]:{const _0x5c1619=_0x504a63[_0x4642f1(0x228)][_0x4642f1(0x2ff)];if(!_0x5c1619)return;const _0x5aaa66=_0x5c1619[_0x4642f1(0x2a8)],_0x43fcff=_0x5c1619[_0x4642f1(0x399)],{collection:_0x228d6a}=this[_0x4642f1(0x1a9)]['createCollectionWithDataRange']({'unitId':_0x5aaa66[_0x4642f1(0x283)],'sheetName':_0x5aaa66['sheetName'],'subUnitId':_0x5aaa66[_0x4642f1(0x27d)],'range':_0x5aaa66[_0x4642f1(0x138)]}),_0x104761=new _0x175d11[(_0x4642f1(0x1e2))](_0x228d6a,void 0x0,_0x43fcff),_0x430fba=_0x228d6a[_0x4642f1(0x189)](),{rows:_0x31ca82,columns:_0x163665,filters:_0x250d91,values:_0x5a4b5a}=_0x5c1619[_0x4642f1(0x24f)];_0x104761[_0x4642f1(0xd8)]();for(const {field:_0x474e32,selectedItems:_0x4134d8}of _0x31ca82||[]){const _0x10cd96=_0x430fba[_0x474e32];if(_0x10cd96){const _0x220095=_0x104761[_0x4642f1(0xd3)](_0x10cd96,_0x175d11[_0x4642f1(0x3d5)][_0x4642f1(0xf0)]);_0x4134d8&&_0x220095&&_0x104761['setLabelFilterInfo'](_0x220095[_0x4642f1(0x24c)](),{'type':_0x175d11[_0x4642f1(0x2c4)][_0x4642f1(0x252)],'list':_0x4134d8,'isAll':!0x1});}}for(const {field:_0x1f823f,selectedItems:_0x5052c5}of _0x163665||[]){const _0xd468bd=_0x430fba[_0x1f823f];if(_0xd468bd){const _0x5e67a5=_0x104761['addFieldWithSourceId'](_0xd468bd,_0x175d11[_0x4642f1(0x3d5)][_0x4642f1(0x3ca)]);_0x5052c5&&_0x5e67a5&&_0x104761['setLabelFilterInfo'](_0x5e67a5[_0x4642f1(0x24c)](),{'type':_0x175d11['PivotFilterTypeEnum'][_0x4642f1(0x252)],'list':_0x5052c5,'isAll':!0x1});}}for(const {field:_0x578fc4,selectedItems:_0x2b6c56}of _0x250d91||[]){const _0x5b04a2=_0x430fba[_0x578fc4];if(_0x5b04a2){const _0x1363d9=_0x104761[_0x4642f1(0xd3)](_0x5b04a2,_0x175d11[_0x4642f1(0x3d5)][_0x4642f1(0x1bb)]);_0x2b6c56&&_0x1363d9&&_0x104761['setLabelFilterInfo'](_0x1363d9[_0x4642f1(0x24c)](),{'type':_0x175d11[_0x4642f1(0x2c4)][_0x4642f1(0x252)],'list':_0x2b6c56,'isAll':!0x1});}}for(const {field:_0x2b62c2,subTotalType:_0x15961b,formatString:_0x26821d}of _0x5a4b5a||[]){const _0x2bccec=_0x228d6a['getFieldById'](_0x430fba[_0x2b62c2]);if(!_0x2bccec)continue;const _0x4ce7ff=_0x430fba[_0x2b62c2];if(_0x4ce7ff){const _0x149752=_0x104761['addFieldWithSourceId'](_0x4ce7ff,_0x175d11['PivotTableFiledAreaEnum'][_0x4642f1(0x1c5)]);if(_0x149752){if(_0x15961b!==void 0x0){_0x104761['setSubtotalType'](_0x149752[_0x4642f1(0x24c)](),_0x15961b);const _0x4ae413=this[_0x4642f1(0x1a9)][_0x4642f1(0x35d)](_0x5aaa66[_0x4642f1(0x283)])['getAutoDisplayNameFunction']()||_0x175d11['getAutoDisplayName'],_0x406dc6=_0x228d6a[_0x4642f1(0x37e)](_0x4ce7ff),_0x2be917=_0x4ae413(_0x406dc6,_0x15961b);_0x104761['renameField'](_0x149752['getId'](),_0x2be917);}else{if(_0x2bccec){const _0x11c7d1=_0x2bccec==null?void 0x0:_0x2bccec[_0x4642f1(0x2c3)]();_0x104761['setSubtotalType'](_0x149752[_0x4642f1(0x24c)](),_0x11c7d1===_0x175d11['PivotDataFieldDataTypeEnum'][_0x4642f1(0x1ea)]?_0x175d11['PivotSubtotalTypeEnum']['sum']:_0x175d11['PivotSubtotalTypeEnum'][_0x4642f1(0x341)]);}}_0x26821d&&_0x104761[_0x4642f1(0x25e)](_0x149752['getId'](),_0x26821d);}}}const _0x24e35d=_0x104761[_0x4642f1(0x3ac)](),_0x5a4530=_0x104761[_0x4642f1(0x32b)](),_0x37fdc3=_0x104761[_0x4642f1(0x31a)](),_0x5ec54b=_0x104761[_0x4642f1(0x1cc)](),_0x47c049=_0x228d6a[_0x4642f1(0x32b)]();_0x2544c3[_0x4642f1(0x2ff)]={'view':_0x24e35d,'fieldsConfig':_0x5a4530,'collectionConfig':_0x47c049,'isEmpty':_0x37fdc3,'changesets':_0x5ec54b};}break;case _0x2b8e9a[_0x4642f1(0x2c7)]:{const _0xf3ed1f=_0x2f5559(this['_injector'],_0x504a63);if(!_0xf3ed1f)return;const {range:_0x505bd8,sourceSubUnitId:_0x395222,sourceUnitId:_0x55e0fd,formatMap:_0x32c039,indexes:_0x261a80}=_0xf3ed1f;_0x2544c3[_0x4642f1(0x32a)]={'range':_0x505bd8,'sourceSubUnitId':_0x395222,'sourceUnitId':_0x55e0fd,'formatMap':_0x32c039,'indexes':_0x261a80};}break;}this['_commandService']['executeCommand'](_0x585cbb['id'],{'version':_0x504a63[_0x4642f1(0x15c)],'result':_0x2544c3},{'onlyLocal':!0x0});}));}[_0x1c787c(0x1a1)](){const _0x309a06=_0x1c787c;this['disposeWithMe'](this[_0x309a06(0x397)][_0x309a06(0x357)](_0x39e6ef=>{const _0x1169bb=_0x309a06;if(_0x39e6ef['id']!==_0x224063['id'])return;const _0x39cecf=_0x39e6ef[_0x1169bb(0x228)];return this[_0x1169bb(0x1a9)][_0x1169bb(0x253)](_0x39cecf[_0x1169bb(0x12a)]),!0x0;}));}['_subjectCollectionChange'](){const _0x45e302=_0x1c787c;this[_0x45e302(0x1a9)][_0x45e302(0x1a5)]['subscribe'](_0x4320b1=>{const _0x3faf26=_0x45e302;switch(_0x4320b1[_0x3faf26(0x18a)]){case _0x23a0a5[_0x3faf26(0x202)]:_0x4320b1[_0x3faf26(0x2bb)]&&_0x4320b1['targetCellInfo']&&this[_0x3faf26(0x218)](_0x4320b1[_0x3faf26(0x324)],_0x4320b1[_0x3faf26(0x2bb)],_0x4320b1[_0x3faf26(0x30d)]);break;case _0x23a0a5[_0x3faf26(0x113)]:{const {unitId:_0xab227a,subUnitId:_0x5cf2ab,token:_0xcf2eb4}=_0x4320b1;_0xab227a&&_0x5cf2ab&&_0xcf2eb4&&this['removeSourceRangeChange'](_0xab227a,_0x5cf2ab,_0xcf2eb4);}break;case _0x23a0a5[_0x3faf26(0x305)]:{const {token:_0x424c41,oldSourceRangeInfo:_0x511d1c,dataRangeInfo:_0x4f96b3,targetCellInfo:_0x3cc761}=_0x4320b1,{unitId:_0x2995b0,subUnitId:_0x1f2069}=_0x511d1c||{};_0x2995b0&&_0x1f2069&&_0x424c41&&this[_0x3faf26(0x3ce)](_0x2995b0,_0x1f2069,_0x424c41),_0x4f96b3&&_0x3cc761&&this[_0x3faf26(0x218)](_0x424c41,_0x4f96b3,_0x3cc761);}break;}});}[_0x1c787c(0x10b)](){const _0xa7bcbc=_0x1c787c;this[_0xa7bcbc(0x1a9)][_0xa7bcbc(0x35e)]['subscribe'](_0x577b48=>{const _0x21a119=_0xa7bcbc;Object[_0x21a119(0x1fc)](_0x577b48)['forEach'](_0x1d7a0e=>{const _0x2997a9=_0x21a119,_0x2e396c=this[_0x2997a9(0x1a9)][_0x2997a9(0xdd)](_0x1d7a0e);if(_0x2e396c){const _0x3eb6b9=this['_sheetsPivotDataSourceModel'][_0x2997a9(0x33b)](_0x2e396c==null?void 0x0:_0x2e396c[_0x2997a9(0x283)],_0x2e396c==null?void 0x0:_0x2e396c[_0x2997a9(0x27d)],_0x1d7a0e);_0x3eb6b9&&(this['handleSourceRangeChange'](_0x1d7a0e,_0x3eb6b9['sourceRangeInfo'],_0x3eb6b9[_0x2997a9(0x30d)]),this[_0x2997a9(0x1f9)]([{'unitId':_0x2e396c[_0x2997a9(0x283)],'subUnitId':_0x2e396c[_0x2997a9(0x27d)],'token':_0x1d7a0e}]));}});});}['_subjectViewChange'](){const _0xfdf790=_0x1c787c;this[_0xfdf790(0x1a9)][_0xfdf790(0x310)][_0xfdf790(0x2ed)](_0x19c9f7=>{const _0x5ab725=_0xfdf790,{unitId:_0x39e5ad,subUnitId:_0x98ad02,pivotTableId:_0x1ce0a1}=_0x19c9f7;_0x39e5ad&&_0x98ad02&&_0x1ce0a1&&this[_0x5ab725(0x1f9)]([{'unitId':_0x39e5ad,'subUnitId':_0x98ad02,'token':_0x1ce0a1}]);});}[_0x1c787c(0x1f9)](_0x1e6309){const _0x4c28ef=_0x1c787c,_0x2d95d5={};_0x1e6309[_0x4c28ef(0xe3)](_0x3f30cf=>{var _0x3d6f03,_0x1ad862;const {unitId:_0x5370e0,subUnitId:_0x2752e9,token:_0x5add3e}=_0x3f30cf;_0x2d95d5[_0x5370e0]=(_0x3d6f03=_0x2d95d5[_0x5370e0])!=null?_0x3d6f03:{},_0x2d95d5[_0x5370e0][_0x2752e9]=(_0x1ad862=_0x2d95d5[_0x5370e0][_0x2752e9])!=null?_0x1ad862:{},_0x2d95d5[_0x5370e0][_0x2752e9][_0x5add3e]=!0x0;}),this[_0x4c28ef(0x397)][_0x4c28ef(0x104)](_0x2dd118['id'],_0x2d95d5);}[_0x1c787c(0x3ce)](_0x342d73,_0x1f573c,_0x58aabe){const _0x4f2f30=_0x1c787c;this[_0x4f2f30(0x361)][_0x4f2f30(0x128)](_0x342d73,_0x1f573c,[_0x58aabe]);}[_0x1c787c(0x218)](_0x245e7d,_0xdcd62e,_0x166e05){const _0x2b4d3a=_0x1c787c,{unitId:_0x463642,subUnitId:_0x51c6b2}=_0xdcd62e;this[_0x2b4d3a(0x361)]['has'](_0x166e05[_0x2b4d3a(0x283)],_0x166e05[_0x2b4d3a(0x27d)],_0x245e7d)&&this['removeSourceRangeChange'](_0x463642,_0x51c6b2,_0x245e7d);const _0x509423={'sheetId':_0x51c6b2,..._0xdcd62e};this[_0x2b4d3a(0x361)][_0x2b4d3a(0x14d)](_0x166e05[_0x2b4d3a(0x283)],_0x166e05[_0x2b4d3a(0x27d)],_0x245e7d,{'unitId':_0x166e05[_0x2b4d3a(0x283)],'subUnitId':_0x166e05[_0x2b4d3a(0x27d)],'dependencyRanges':[_0x509423],'getDirtyData':(_0x425c7e,_0x381080)=>{const _0x2a18bf=_0x2b4d3a,_0x44eccf=this['_sheetsPivotDataSourceModel'],_0x2b00e2=_0x44eccf[_0x2a18bf(0xdd)](_0x245e7d);if(!_0x2b00e2)return _0x3f2da4();const {unitId:_0x3c5662,subUnitId:_0x371462}=_0x2b00e2,_0x3f3633=_0x244cc6(_0x425c7e,_0x381080,_0xdcd62e);if(_0x3f3633[_0x2a18bf(0x10f)]>0x0){const _0x49bfd4=_0x44eccf[_0x2a18bf(0x16b)](_0x463642,_0x245e7d),_0x305aa3=_0x49bfd4[_0x2a18bf(0x189)](),_0x22c784=this[_0x2a18bf(0x234)](_0xdcd62e['unitId'],_0xdcd62e[_0x2a18bf(0x27d)],_0x381080),_0x1ec3a5={},_0xd93cec=this['_sheetsPivotDataSourceModel']['getDataFieldManager'](_0x3c5662)[_0x2a18bf(0x130)]()||_0x175d11[_0x2a18bf(0x3c4)],_0xd0982c=[];for(const _0x827b32 of _0x3f3633){const _0x2820c2=_0x827b32-(_0xdcd62e[_0x2a18bf(0x138)][_0x2a18bf(0x235)]||0x0),_0x336f41=_0x305aa3[_0x2820c2];_0xd0982c[_0x2a18bf(0x1a2)](_0x336f41),_0x1ec3a5[_0x336f41]=_0x49bfd4[_0x2a18bf(0x3db)](_0x336f41)[_0x2a18bf(0x2b5)](),_0x44eccf[_0x2a18bf(0x35d)](_0x463642)[_0x2a18bf(0x1be)](_0x336f41,_0xdcd62e,_0x2820c2,_0x22c784);}_0x49bfd4[_0x2a18bf(0x231)](_0xd0982c)[_0x2a18bf(0xe3)](_0x5c5273=>{const _0x177bbe=_0x2a18bf,[_0x48124c,_0x4ad1ff]=_0x5c5273,_0x16d624=_0x49bfd4[_0x177bbe(0x3db)](_0x48124c),_0x36f0ba=_0x49bfd4[_0x177bbe(0x3db)](_0x4ad1ff);_0x16d624&&_0x36f0ba&&_0x16d624[_0x177bbe(0x28f)](_0x36f0ba);}),_0x49bfd4['updateAllDisplayName']();const _0x52195c=_0x44eccf[_0x2a18bf(0x1f4)](_0x245e7d);if(_0x52195c){_0x22b9d9(_0x52195c,_0x1ec3a5,_0xd93cec),_0x52195c['setDirty'](!0x0);const _0x25450d=_0x52195c['query'](),_0x464d7b=_0x44eccf[_0x2a18bf(0x33b)](_0x3c5662,_0x371462,_0x245e7d),_0x1d0c79=_0x44eccf[_0x2a18bf(0x35d)](_0x463642)['toJSON']();_0x44eccf['updateView'](_0x3c5662,_0x371462,_0x5a4701[_0x2a18bf(0x151)],_0x245e7d,_0x25450d,_0x464d7b,_0x1d0c79,!0x0);}}return this[_0x2a18bf(0x298)](_0x3c5662,_0x371462,_0x245e7d);}});}[_0x1c787c(0x234)](_0x185dc5,_0x45c87b,_0xdbe992){var _0x3b390c,_0x49a46e;const {arrayFormulaCellData:_0x1cd4e2,unitData:_0x469a08}=_0xdbe992,_0x557a4c=(_0x3b390c=_0x1cd4e2==null?void 0x0:_0x1cd4e2[_0x185dc5])==null?void 0x0:_0x3b390c[_0x45c87b],_0x2a6fad=(_0x49a46e=_0x469a08==null?void 0x0:_0x469a08[_0x185dc5])==null?void 0x0:_0x49a46e[_0x45c87b];return{'arrayFormulaCellDataMatrix':_0x557a4c,'unitDataMatrix':_0x2a6fad};}[_0x1c787c(0x298)](_0x18a9d4,_0x1ce7aa,_0x2bf895){const _0x56bce7=_0x1c787c,_0x2c997c=this[_0x56bce7(0x1a9)][_0x56bce7(0x140)](_0x18a9d4,_0x1ce7aa,_0x2bf895),_0x326296=[],_0x3ee8de=new _0x177d6a[(_0x56bce7(0xf7))]();if(_0x2c997c){const {rangeCache:_0x3d3788,matrix:_0x2878e4,oldRangeCache:_0x577696,oldMatrix:_0x393fb6}=_0x2c997c,_0x3efd74=_0x3e69b9(_0x577696),_0x5eaf99=_0x3e69b9(_0x3d3788);_0x326296[_0x56bce7(0x1a2)](..._0x5eaf99,..._0x3efd74),_0x393fb6&&_0x577696&&_0x3efd74['forEach'](_0x473b2b=>{const _0x3fb70e=_0x56bce7;for(let _0x3d1565=_0x473b2b[_0x3fb70e(0xc5)];_0x3d1565<=_0x473b2b[_0x3fb70e(0x31c)];_0x3d1565++)for(let _0x1c8c3=_0x473b2b[_0x3fb70e(0x235)];_0x1c8c3<=_0x473b2b[_0x3fb70e(0x2d3)];_0x1c8c3++)_0x3ee8de[_0x3fb70e(0x116)](_0x3d1565,_0x1c8c3);}),_0x2878e4&&_0x5eaf99&&_0x5eaf99[_0x56bce7(0xe3)](_0x287e7a=>{const _0x23fe6f=_0x56bce7;for(let _0x16496e=_0x287e7a['startRow'];_0x16496e<=_0x287e7a[_0x23fe6f(0x31c)];_0x16496e++)for(let _0x5931d1=_0x287e7a[_0x23fe6f(0x235)];_0x5931d1<=_0x287e7a['endColumn'];_0x5931d1++)_0x3ee8de[_0x23fe6f(0x14f)](_0x16496e,_0x5931d1,_0x2878e4[_0x23fe6f(0x33d)](_0x16496e,_0x5931d1));});}const _0x34af18={};return _0x34af18[_0x18a9d4]={[_0x1ce7aa]:_0x373283(_0x326296)},{'runtimeCellData':{[_0x18a9d4]:{[_0x1ce7aa]:_0x3ee8de}},'dirtyRanges':_0x34af18};}['dispose'](){}};_0x4c9bd7=_0x2d7de0([_0x417bd2(0x0,_0x177d6a[_0x1c787c(0x2d9)](_0x1ed859[_0x1c787c(0x1af)])),_0x417bd2(0x1,_0x177d6a[_0x1c787c(0x2d9)](_0x195fb3[_0x1c787c(0xe7)])),_0x417bd2(0x2,_0x177d6a[_0x1c787c(0x2d9)](_0x177d6a[_0x1c787c(0x353)])),_0x417bd2(0x3,_0x177d6a['Inject'](_0x195fb3[_0x1c787c(0xc4)])),_0x417bd2(0x4,_0x177d6a[_0x1c787c(0x2d9)](_0x177d6a[_0x1c787c(0x284)]))],_0x4c9bd7);var _0x4998e6=Object[_0x1c787c(0x275)],_0x4eea09=(_0x362899,_0x598ba4,_0x3387a2,_0x145ddc)=>{const _0x41270f=_0x1c787c;for(var _0x35ff6e=_0x145ddc>0x1?void 0x0:_0x145ddc?_0x4998e6(_0x598ba4,_0x3387a2):_0x598ba4,_0x4fe5ea=_0x362899[_0x41270f(0x10f)]-0x1,_0x195c89;_0x4fe5ea>=0x0;_0x4fe5ea--)(_0x195c89=_0x362899[_0x4fe5ea])&&(_0x35ff6e=_0x195c89(_0x35ff6e)||_0x35ff6e);return _0x35ff6e;},_0x5e2844=(_0x542e72,_0x4fe917)=>(_0x713b44,_0x12ae07)=>_0x4fe917(_0x713b44,_0x12ae07,_0x542e72);let _0x462905=class extends _0x177d6a['Disposable']{constructor(_0x137165,_0x2647ef,_0xa496c4,_0x5bda87){const _0x5efa80=_0x1c787c;super(),_0x117630(this,_0x5efa80(0xc6),new _0x177d6a[(_0x5efa80(0x2d5))]()),(this['_univerInstanceService']=_0x137165,this['_sheetInterceptorService']=_0x2647ef,this['_sheetsSelectionsService']=_0xa496c4,this[_0x5efa80(0xee)]=_0x5bda87,this[_0x5efa80(0x11c)]());}[_0x1c787c(0x11c)](){const _0x1db153=_0x1c787c;this[_0x1db153(0x29f)](this[_0x1db153(0x1f0)][_0x1db153(0x25c)]({'getMutations':_0x5a9d77=>{const _0x21fb06=_0x1db153;if(_0x5a9d77['id']===_0x22c23f[_0x21fb06(0x3b9)]['id']||_0x5a9d77['id']===_0x22c23f['ClearSelectionAllCommand']['id']){const _0x40b957=[],_0x1b9662=[],_0x26d368=this[_0x21fb06(0x1b7)][_0x21fb06(0x239)]()['map'](_0xfbd004=>_0xfbd004['range']),_0x29fa51=_0x22c23f[_0x21fb06(0x109)](this[_0x21fb06(0x214)]);if(!_0x29fa51)return{'redos':[],'undos':[]};const {unitId:_0x588b57,subUnitId:_0xc882c0}=_0x29fa51,_0x30cf93={},_0x1b2457=this[_0x21fb06(0xee)]['getSubUnitPivotConfigs'](_0x588b57,_0xc882c0);if(_0x1b2457!=null&&_0x1b2457[_0x21fb06(0x13f)])for(const [_0x5c466e,_0x32c477]of _0x1b2457){const {unitId:_0x1f63ee,subUnitId:_0x4e2a9b,row:_0x250115,col:_0x3e1bd3}=_0x32c477['targetCellInfo'];_0x1f63ee===_0x29fa51[_0x21fb06(0x283)]&&_0x4e2a9b===_0x29fa51[_0x21fb06(0x27d)]&&(_0x30cf93[_0x250115+'-'+_0x3e1bd3]=_0x5c466e);}return _0x26d368&&_0x29fa51&&_0x26d368['forEach'](_0x1a0528=>{const _0x5ed792=_0x21fb06;_0x177d6a[_0x5ed792(0x11d)][_0x5ed792(0x3b1)](_0x1a0528,(_0x21f094,_0x2b91df)=>{const _0x31796c=_0x5ed792,_0xe0eeb4=_0x21f094+'-'+_0x2b91df;if(_0x30cf93[_0xe0eeb4]){const _0x1df894=_0x30cf93[_0xe0eeb4];_0x40b957[_0x31796c(0x1a2)]({'id':_0x2d8900['id'],'params':{'unitId':_0x588b57,'subUnitId':_0xc882c0,'pivotTableId':_0x1df894}});const _0x3f3a21=this[_0x31796c(0xee)][_0x31796c(0x16b)](_0x588b57,_0x1df894),_0x2aeabb=this['_sheetsPivotTableConfigModel'][_0x31796c(0x33b)](_0x588b57,_0xc882c0,_0x1df894);_0x1b9662[_0x31796c(0x1a2)]({'id':_0x1f645b['id'],'params':{'unitId':_0x588b57,'subUnitId':_0xc882c0,'pivotTableId':_0x1df894,'pivotTableConfig':_0x2aeabb,'collectionConfig':_0x3f3a21}});}});}),{'redos':_0x40b957,'undos':_0x1b9662};}return{'redos':[],'undos':[]};}}));}};_0x462905=_0x4eea09([_0x5e2844(0x0,_0x177d6a['IUniverInstanceService']),_0x5e2844(0x1,_0x177d6a['Inject'](_0x22c23f['SheetInterceptorService'])),_0x5e2844(0x2,_0x177d6a[_0x1c787c(0x2d9)](_0x22c23f[_0x1c787c(0x1e7)])),_0x5e2844(0x3,_0x177d6a['Inject'](_0x1ed859['SheetsPivotTableConfigModel']))],_0x462905);var _0x2bc7d6=Object['getOwnPropertyDescriptor'],_0x19dc84=(_0x3f0d2a,_0xb439fc,_0x189665,_0x42270c)=>{for(var _0x490cce=_0x42270c>0x1?void 0x0:_0x42270c?_0x2bc7d6(_0xb439fc,_0x189665):_0xb439fc,_0x4e1b39=_0x3f0d2a['length']-0x1,_0x1949e2;_0x4e1b39>=0x0;_0x4e1b39--)(_0x1949e2=_0x3f0d2a[_0x4e1b39])&&(_0x490cce=_0x1949e2(_0x490cce)||_0x490cce);return _0x490cce;},_0x134bdc=(_0x4a1ca0,_0x5c3c70)=>(_0x24637d,_0x360d5f)=>_0x5c3c70(_0x24637d,_0x360d5f,_0x4a1ca0);let _0x4e3204=class extends _0x177d6a[_0x1c787c(0x2c5)]{constructor(_0x4e459f,_0x1dd055,_0x4361c4,_0x24c464,_0x11d375){const _0x2c992a=_0x1c787c;super(),this[_0x2c992a(0x1f0)]=_0x4e459f,this[_0x2c992a(0x343)]=_0x1dd055,this['_univerInstanceService']=_0x4361c4,this[_0x2c992a(0xee)]=_0x24c464,this[_0x2c992a(0x2f8)]=_0x11d375,this[_0x2c992a(0x1ca)]();}[_0x1c787c(0x3b2)](_0x5a58b3,_0x365267,_0x394abf){const _0x14dcec=_0x1c787c,{pageView:_0x344b97,cornerView:_0x214b33,rowView:_0x5c8a06,colView:_0x93281,dataView:_0x2c0fab}=_0x365267,_0x721a37=_0x5a58b3;let _0x8cf603;if(_0x394abf)_0x8cf603=[..._0x2c852f(_0x721a37)];else{const _0x22d693=_0x397824(_0x721a37,_0x344b97,!0x0),_0x405633=_0x344b97[_0x14dcec(0x30e)]>=0x0?_0x344b97[_0x14dcec(0x30e)]+0x1:0x0,_0x3e93a2=_0x214b33[_0x14dcec(0x286)],_0x5b45e0=_0x214b33[_0x14dcec(0xd7)],_0x3257e3=_0x22d693[_0x14dcec(0x10f)]>0x0?_0x2afc20:0x0,_0x97d4e=_0x397824({'row':_0x721a37[_0x14dcec(0x2e7)]+_0x405633+_0x3257e3,'col':_0x721a37[_0x14dcec(0x368)]},_0x214b33,!0x1,!0x1),_0x14963c=_0x397824({'row':_0x721a37['row']+_0x405633+_0x3257e3+_0x3e93a2,'col':_0x721a37[_0x14dcec(0x368)]},_0x5c8a06,!0x1,!0x0),_0x265267=_0x397824({'row':_0x721a37[_0x14dcec(0x2e7)]+_0x405633+_0x3257e3,'col':_0x721a37[_0x14dcec(0x368)]+_0x5b45e0},_0x93281,!0x1,!0x0),_0x28c390=_0x397824({'row':_0x721a37['row']+_0x405633+_0x3257e3+_0x3e93a2,'col':_0x721a37[_0x14dcec(0x368)]+_0x5b45e0},_0x2c0fab,!0x1,!0x0);_0x8cf603=[..._0x22d693,..._0x97d4e,..._0x14963c,..._0x265267,..._0x28c390];}return _0x8cf603;}[_0x1c787c(0x1ca)](){const _0x67f8fd=_0x1c787c;this[_0x67f8fd(0x29f)](this['_sheetsPivotTableService']['interceptor']['intercept'](this[_0x67f8fd(0x2f8)]['interceptor']['getInterceptPoints']()[_0x67f8fd(0x1ec)],{'handler':(_0x3fae49,_0x35fd0f)=>{const _0x49befd=_0x67f8fd,{cellInfo:_0x2adaa3,view:_0x4dcf6d,isEmpty:_0xe126a4}=_0x35fd0f,_0x24813e=_0x2adaa3,{unitId:_0x4d65cc,subUnitId:_0x50ca6a}=_0x24813e,_0x25b93c=this[_0x49befd(0x3b2)](_0x2adaa3,_0x4dcf6d,_0xe126a4),_0x1edb69=this[_0x49befd(0x1f0)][_0x49befd(0x34f)]({'unitId':_0x4d65cc,'subUnitId':_0x50ca6a,'ranges':_0x25b93c}),_0x58d86f=_0x240a58(this[_0x49befd(0x343)],_0x4d65cc,_0x50ca6a,_0x25b93c);_0x58d86f[_0x49befd(0x241)]&&(_0x1edb69[_0x49befd(0x166)][_0x49befd(0x1a2)](_0x58d86f[_0x49befd(0x306)]),_0x1edb69[_0x49befd(0x280)]['push'](_0x58d86f[_0x49befd(0x30f)]));const _0x45a5f6=this[_0x49befd(0x387)](_0x4dcf6d,_0x2adaa3);return _0x1edb69[_0x49befd(0x166)][_0x49befd(0x1a2)](..._0x45a5f6[_0x49befd(0x166)]),_0x1edb69[_0x49befd(0x280)][_0x49befd(0x1a2)](..._0x45a5f6[_0x49befd(0x280)]),{'redos':_0x1edb69['redos'],'undos':_0x1edb69[_0x49befd(0x280)]};}}));}[_0x1c787c(0x387)](_0x42845f,_0x3c5416){const _0x2feb0d=_0x1c787c,{col:_0x4bd0ae,unitId:_0x404ea9,subUnitId:_0x5922f2}=_0x3c5416,_0x3c9add=[],_0x16bf32=[],_0x5692bc=_0x22c23f['getSheetCommandTarget'](this[_0x2feb0d(0x214)],{'unitId':_0x404ea9,'subUnitId':_0x5922f2});if(!_0x3c5416||!_0x42845f||!_0x5692bc)return{'undos':_0x16bf32,'redos':_0x3c9add};const _0x325e57=this[_0x2feb0d(0xee)][_0x2feb0d(0x276)](),{colView:_0x17be1d,dataView:_0x2ffe5d,cornerView:_0x40d364,rowView:_0x4efd01,formatMap:_0x37cdbd}=_0x42845f,_0x327d7b=_0x172613(_0x17be1d,_0x325e57,!0x0,_0x37cdbd),_0x555f5d=_0x172613(_0x4efd01,_0x325e57,!0x1,_0x37cdbd),_0x46481a=_0x105b5d(_0x2ffe5d),_0x56645b=_0x224106(_0x40d364),{worksheet:_0xc978ff}=_0x5692bc;if(typeof window<'u'&&window[_0x2feb0d(0x352)]){const _0x3a4594=_0x483c29['getFontStyleString']({..._0x137cd6[_0x2feb0d(0xca)]}),_0x116907=_0x483c29['FontCache']['getTextSize'](_0x327d7b,_0x3a4594)[_0x2feb0d(0x3a9)]+0x10,_0x1ec4d7=_0x483c29[_0x2feb0d(0x180)][_0x2feb0d(0x1d5)](_0x46481a,_0x3a4594)['width'],_0x4c19da=Math[_0x2feb0d(0x1a6)](Math[_0x2feb0d(0x22b)](_0x116907,_0x1ec4d7))+0x10,_0x1554f5=Math[_0x2feb0d(0x1a6)](_0x483c29[_0x2feb0d(0x180)][_0x2feb0d(0x1d5)](_0x555f5d,_0x3a4594)[_0x2feb0d(0x3a9)]),_0xdb6b0e=Math[_0x2feb0d(0x1a6)](_0x483c29[_0x2feb0d(0x180)][_0x2feb0d(0x1d5)](_0x56645b,_0x3a4594)[_0x2feb0d(0x3a9)]),_0x4aa08a=Math[_0x2feb0d(0x22b)](_0x1554f5,_0xdb6b0e,0x28)+0xc,_0x32cf79=_0x17be1d[_0x2feb0d(0xd7)]+_0x40d364['colCount'],_0x554d9f={},_0x3543f5={};for(let _0x50ac75=_0x4bd0ae;_0x50ac75<_0x4bd0ae+_0x32cf79;_0x50ac75++){const _0x2c3e7d=_0xc978ff[_0x2feb0d(0x28b)](_0x50ac75);_0x554d9f[_0x50ac75]=_0x2c3e7d,_0x50ac75-_0x4bd0ae<_0x40d364[_0x2feb0d(0xd7)]?_0x3543f5[_0x50ac75-_0x4bd0ae]=_0x4aa08a:_0x3543f5[_0x50ac75-_0x4bd0ae]=_0x4c19da;}_0x3c9add[_0x2feb0d(0x1a2)]({'id':_0x22c23f['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x5922f2,'unitId':_0x404ea9,'ranges':[{'startColumn':_0x4bd0ae,'endColumn':_0x4bd0ae+_0x32cf79-0x1,'startRow':0x0,'endRow':_0xc978ff[_0x2feb0d(0x132)]()-0x1}],'colWidth':_0x3543f5}}),_0x16bf32[_0x2feb0d(0x1a2)]({'id':_0x22c23f[_0x2feb0d(0x1da)]['id'],'params':{'subUnitId':_0x5922f2,'unitId':_0x404ea9,'ranges':[{'startColumn':_0x4bd0ae,'endColumn':_0x4bd0ae+_0x32cf79-0x1,'startRow':0x0,'endRow':_0xc978ff['getRowCount']()-0x1}],'colWidth':_0x554d9f}});}return{'undos':_0x16bf32,'redos':_0x3c9add};}};_0x4e3204=_0x19dc84([_0x134bdc(0x0,_0x177d6a[_0x1c787c(0x2d9)](_0x22c23f['SheetInterceptorService'])),_0x134bdc(0x1,_0x177d6a[_0x1c787c(0x2d9)](_0x177d6a[_0x1c787c(0x284)])),_0x134bdc(0x2,_0x177d6a[_0x1c787c(0x2d9)](_0x177d6a['IUniverInstanceService'])),_0x134bdc(0x3,_0x177d6a[_0x1c787c(0x2d9)](_0x1ed859[_0x1c787c(0x107)])),_0x134bdc(0x4,_0x177d6a['Inject'](_0x1ed859[_0x1c787c(0x354)]))],_0x4e3204);var _0x55a90f=Object['getOwnPropertyDescriptor'],_0x48fa2a=(_0x3b3542,_0x46b1e4,_0x1f05d6,_0x492c23)=>{const _0x449d3e=_0x1c787c;for(var _0x453f14=_0x492c23>0x1?void 0x0:_0x492c23?_0x55a90f(_0x46b1e4,_0x1f05d6):_0x46b1e4,_0x30f5fa=_0x3b3542[_0x449d3e(0x10f)]-0x1,_0x9346f5;_0x30f5fa>=0x0;_0x30f5fa--)(_0x9346f5=_0x3b3542[_0x30f5fa])&&(_0x453f14=_0x9346f5(_0x453f14)||_0x453f14);return _0x453f14;},_0x1fb4f9=(_0x58b9ef,_0x324e17)=>(_0x1ff9d9,_0xfb92b9)=>_0x324e17(_0x1ff9d9,_0xfb92b9,_0x58b9ef);let _0x4a72bc=class extends _0x177d6a[_0x1c787c(0x2c5)]{constructor(_0xf2a431,_0x342657,_0x4a64ce,_0x52f532,_0x27c385,_0x37f367,_0x48ba00){const _0x50e50f=_0x1c787c;super(),_0x117630(this,_0x50e50f(0xc6),new _0x177d6a['DisposableCollection']()),(this[_0x50e50f(0x343)]=_0xf2a431,this['_refRangeService']=_0x342657,this[_0x50e50f(0x397)]=_0x4a64ce,this['_univerInstanceService']=_0x52f532,this[_0x50e50f(0xee)]=_0x27c385,this[_0x50e50f(0x3d1)]=_0x37f367,this[_0x50e50f(0x1f0)]=_0x48ba00,this[_0x50e50f(0x18b)]());}['_onRefRangeChange'](){const _0x2774e2=_0x1c787c,_0x170b29=(_0x90f6b7,_0x112b2c)=>{const _0x292ace=_0x42d3,_0x484339=this[_0x292ace(0x214)][_0x292ace(0x37d)](_0x177d6a[_0x292ace(0x238)]['UNIVER_SHEET']);if(!_0x484339||!(_0x484339==null?void 0x0:_0x484339[_0x292ace(0x29a)](_0x112b2c)))return;this['disposableCollection'][_0x292ace(0x11f)]();const _0x50eeb5=_0x2c33b3=>this[_0x292ace(0x3c7)](_0x2c33b3,_0x90f6b7,_0x112b2c),_0x2192b=this['_sheetsPivotTableConfigModel'][_0x292ace(0x255)](_0x90f6b7,_0x112b2c);if(!(_0x2192b!=null&&_0x2192b[_0x292ace(0x13f)]))return;Array[_0x292ace(0x135)](_0x2192b[_0x292ace(0x31d)]())[_0x292ace(0x12e)](_0x4fdc32=>{const _0x4c4908=_0x292ace,{row:_0x52e7a0,col:_0x4079ae}=_0x4fdc32[_0x4c4908(0x30d)];return _0x177d6a[_0x4c4908(0x1fd)](_0x52e7a0,_0x4079ae);})[_0x292ace(0xe3)](_0x4e1d16=>{const _0x4ba1dc=_0x292ace;this[_0x4ba1dc(0xc6)][_0x4ba1dc(0x202)](this[_0x4ba1dc(0x17a)][_0x4ba1dc(0x315)](_0x4e1d16,_0x50eeb5,_0x90f6b7,_0x112b2c));});},_0x598740=()=>{const _0x2fa192=_0x42d3,_0x3720d0=this[_0x2fa192(0x214)]['getCurrentUnitForType'](_0x177d6a[_0x2fa192(0x238)][_0x2fa192(0x217)]);if(_0x3720d0){const _0x4f7ac6=_0x3720d0['getActiveSheet']();if(!_0x4f7ac6)return;_0x170b29(_0x3720d0['getUnitId'](),_0x4f7ac6['getSheetId']());}};this[_0x2774e2(0x29f)](this['_commandService'][_0x2774e2(0x357)](_0x46946d=>{const _0x16af65=_0x2774e2;if(_0x46946d['id']===_0x22c23f[_0x16af65(0x369)]['id']){const _0x32f62e=_0x46946d[_0x16af65(0x228)],_0xa747fe=_0x32f62e[_0x16af65(0x27d)],_0x3b24ea=_0x32f62e[_0x16af65(0x283)];if(!_0xa747fe||!_0x3b24ea)return;_0x170b29(_0x3b24ea,_0xa747fe);}})),this[_0x2774e2(0x29f)](this[_0x2774e2(0xee)][_0x2774e2(0x35f)][_0x2774e2(0x2ed)](_0x21a6ff=>{_0x21a6ff&&_0x598740();})),this[_0x2774e2(0x29f)](this[_0x2774e2(0xee)][_0x2774e2(0x2e6)][_0x2774e2(0x2ed)](_0x11bb27=>{const _0x44e9f9=_0x2774e2,_0x8bf0f4=_0x22c23f[_0x44e9f9(0x109)](this['_univerInstanceService']);if(!_0x8bf0f4)return;const {unitId:_0x3bf3b5,subUnitId:_0x433fc8}=_0x8bf0f4,{unitId:_0x1b97a8,subUnitId:_0x21e31d}=_0x11bb27;_0x3bf3b5!==_0x1b97a8||_0x433fc8!==_0x21e31d||_0x170b29(_0x3bf3b5,_0x433fc8);})),_0x598740();}[_0x1c787c(0x3c7)](_0x4f6df9,_0x164ef0,_0x3152d8){const _0xd8aa2c=_0x1c787c;switch(_0x4f6df9['id']){case _0x22c23f[_0xd8aa2c(0x339)]['id']:return this['getRefRangeMutationsByMoveRange'](_0x4f6df9[_0xd8aa2c(0x228)],_0x164ef0,_0x3152d8);}return{'redos':[],'undos':[]};}[_0x1c787c(0x21c)](_0x446a11,_0xda3093,_0x295626){const _0x3cbfd3=_0x1c787c,{fromRange:_0x26254d,toRange:_0x50deca}=_0x446a11,_0x2d85fe=[],_0x2746dc=[],_0x5874e7=_0x22c23f[_0x3cbfd3(0x109)](this[_0x3cbfd3(0x214)]);if(!_0x5874e7)return{'undos':_0x2746dc,'redos':_0x2d85fe};if(_0xda3093!==_0x5874e7[_0x3cbfd3(0x283)]||_0x295626!==_0x5874e7[_0x3cbfd3(0x27d)])return{'undos':_0x2746dc,'redos':_0x2d85fe};const _0x239fd1=this[_0x3cbfd3(0xee)][_0x3cbfd3(0x255)](_0xda3093,_0x295626);if(_0x239fd1!=null&&_0x239fd1[_0x3cbfd3(0x13f)])for(const [_0x2c125c,_0x2dc148]of _0x239fd1){const {unitId:_0x4142fe,subUnitId:_0x2a9928,row:_0x4277c6,col:_0xe0480e}=_0x2dc148[_0x3cbfd3(0x30d)];if(_0x4142fe===_0x5874e7[_0x3cbfd3(0x283)]&&_0x2a9928===_0x5874e7[_0x3cbfd3(0x27d)]){const _0x38ba89=_0x177d6a[_0x3cbfd3(0x1fd)](_0x4277c6,_0xe0480e);if(_0x177d6a[_0x3cbfd3(0x2e2)][_0x3cbfd3(0x2ef)](_0x38ba89,_0x26254d)){const _0x1c537d=_0x4277c6-_0x26254d[_0x3cbfd3(0xc5)],_0xb807ea=_0xe0480e-_0x26254d[_0x3cbfd3(0x235)],_0x332ac8={'row':_0x50deca[_0x3cbfd3(0xc5)]+_0x1c537d,'col':_0x50deca[_0x3cbfd3(0x235)]+_0xb807ea};_0x2d85fe[_0x3cbfd3(0x1a2)]({'id':_0x5d353a['id'],'params':{'unitId':_0x4142fe,'subUnitId':_0x2a9928,'pivotTableId':_0x2c125c,'targetCellPosition':_0x332ac8}}),_0x2746dc[_0x3cbfd3(0x1a2)]({'id':_0x5d353a['id'],'params':{'unitId':_0x4142fe,'subUnitId':_0x2a9928,'pivotTableId':_0x2c125c,'targetCellPosition':{'row':_0x4277c6,'col':_0xe0480e}}});const _0x525e10=_0x332ac8[_0x3cbfd3(0x2e7)]-_0x4277c6,_0x1fae83=_0x332ac8['col']-_0xe0480e,_0x48cb39=[],_0x19cbca=this[_0x3cbfd3(0x3d1)][_0x3cbfd3(0x2d8)](_0x4142fe,_0x2a9928,_0x2c125c),_0xa691bc=_0x19cbca==null?void 0x0:_0x19cbca['rangesInfo'];if(_0xa691bc){Object[_0x3cbfd3(0x1fc)](_0xa691bc)[_0x3cbfd3(0xe3)](_0x4e59f=>{const _0x4547fa=_0x3cbfd3;_0xa691bc[_0x4e59f][_0x4547fa(0xe3)](_0x1beceb=>{const _0x521078=_0x4547fa,_0x1f7431={..._0x1beceb};_0x1f7431[_0x521078(0xc5)]=_0x1beceb[_0x521078(0xc5)]+_0x525e10,_0x1f7431[_0x521078(0x31c)]=_0x1beceb[_0x521078(0x31c)]+_0x525e10,_0x1f7431[_0x521078(0x235)]=_0x1beceb[_0x521078(0x235)]+_0x1fae83,_0x1f7431[_0x521078(0x2d3)]=_0x1beceb[_0x521078(0x2d3)]+_0x1fae83,_0x48cb39[_0x521078(0x1a2)](_0x1f7431);});});const _0xd9774a=this['_sheetInterceptorService'][_0x3cbfd3(0x34f)]({'unitId':_0x4142fe,'subUnitId':_0x2a9928,'ranges':_0x48cb39});_0x2d85fe[_0x3cbfd3(0x1a2)](..._0xd9774a[_0x3cbfd3(0x166)]),_0x2746dc[_0x3cbfd3(0x1a2)](..._0xd9774a['undos']);const _0x230fb9=_0x240a58(this['_injector'],_0x4142fe,_0x2a9928,_0x48cb39);_0x230fb9[_0x3cbfd3(0x241)]&&(_0x2d85fe['push'](_0x230fb9['setRangeValueRedoMutation']),_0x2746dc[_0x3cbfd3(0x1a2)](_0x230fb9[_0x3cbfd3(0x30f)]));}}}}return{'redos':_0x2d85fe,'undos':_0x2746dc};}};_0x4a72bc=_0x48fa2a([_0x1fb4f9(0x0,_0x177d6a['Inject'](_0x177d6a['Injector'])),_0x1fb4f9(0x1,_0x177d6a[_0x1c787c(0x2d9)](_0x22c23f[_0x1c787c(0x317)])),_0x1fb4f9(0x2,_0x177d6a[_0x1c787c(0x353)]),_0x1fb4f9(0x3,_0x177d6a[_0x1c787c(0x22f)]),_0x1fb4f9(0x4,_0x177d6a['Inject'](_0x1ed859[_0x1c787c(0x107)])),_0x1fb4f9(0x5,_0x177d6a[_0x1c787c(0x2d9)](_0x1ed859[_0x1c787c(0x1d6)])),_0x1fb4f9(0x6,_0x177d6a[_0x1c787c(0x2d9)](_0x22c23f[_0x1c787c(0x149)]))],_0x4a72bc);var _0xc9f39b=Object[_0x1c787c(0x275)],_0xede1ec=(_0x5dfaa5,_0x31ce8b,_0x1a9640,_0x5b9963)=>{const _0x2e444e=_0x1c787c;for(var _0x232db6=_0x5b9963>0x1?void 0x0:_0x5b9963?_0xc9f39b(_0x31ce8b,_0x1a9640):_0x31ce8b,_0x23eeed=_0x5dfaa5[_0x2e444e(0x10f)]-0x1,_0x53e75b;_0x23eeed>=0x0;_0x23eeed--)(_0x53e75b=_0x5dfaa5[_0x23eeed])&&(_0x232db6=_0x53e75b(_0x232db6)||_0x232db6);return _0x232db6;},_0x23f0d4=(_0x1ec20d,_0x475e09)=>(_0x398bc0,_0x4d29d5)=>_0x475e09(_0x398bc0,_0x4d29d5,_0x1ec20d);let _0x83e352=class extends _0x177d6a['Disposable']{constructor(_0x3d0b99,_0x1f2c49){const _0x3f8031=_0x1c787c;super(),this[_0x3f8031(0x1f0)]=_0x3d0b99,this[_0x3f8031(0xee)]=_0x1f2c49,this[_0x3f8031(0x367)]();}[_0x1c787c(0x367)](){const _0x145886=_0x1c787c;this[_0x145886(0x29f)](this[_0x145886(0x1f0)][_0x145886(0x25c)]({'getMutations':_0x5d9bfb=>{const _0x970ac1=_0x145886;if(_0x5d9bfb['id']===_0x22c23f[_0x970ac1(0x120)]['id']){const _0x211bfb=[],_0x15e1f0=[],_0x50d825=_0x5d9bfb[_0x970ac1(0x228)],{unitId:_0x26f855,subUnitId:_0x41a532}=_0x50d825;if(!_0x26f855||!_0x41a532)return{'undos':_0x15e1f0,'redos':_0x211bfb};const _0x3802d9=this[_0x970ac1(0xee)][_0x970ac1(0x255)](_0x26f855,_0x41a532);if(_0x3802d9!=null&&_0x3802d9[_0x970ac1(0x13f)])for(const [_0x5b722a,_0x579371]of _0x3802d9){_0x211bfb['push']({'id':_0x2d8900['id'],'params':{'unitId':_0x26f855,'subUnitId':_0x41a532,'pivotTableId':_0x5b722a}});const _0x5696ec={...this[_0x970ac1(0xee)][_0x970ac1(0x16b)](_0x26f855,_0x5b722a)};_0x15e1f0[_0x970ac1(0x1a2)]({'id':_0x1f645b['id'],'params':{'unitId':_0x26f855,'subUnitId':_0x41a532,'pivotTableId':_0x5b722a,'pivotTableConfig':_0x579371,'collectionConfig':_0x5696ec}});}return{'redos':_0x211bfb,'undos':_0x15e1f0};}return{'redos':[],'undos':[]};}}));}};_0x83e352=_0xede1ec([_0x23f0d4(0x0,_0x177d6a[_0x1c787c(0x2d9)](_0x22c23f[_0x1c787c(0x149)])),_0x23f0d4(0x1,_0x177d6a[_0x1c787c(0x2d9)](_0x1ed859[_0x1c787c(0x107)]))],_0x83e352);var _0x2ffa22=Object[_0x1c787c(0x275)],_0x277f28=(_0x478083,_0x3857e0,_0x293fa3,_0xee00f1)=>{const _0x39e7b1=_0x1c787c;for(var _0x4b5293=_0xee00f1>0x1?void 0x0:_0xee00f1?_0x2ffa22(_0x3857e0,_0x293fa3):_0x3857e0,_0x3da1bf=_0x478083[_0x39e7b1(0x10f)]-0x1,_0x123514;_0x3da1bf>=0x0;_0x3da1bf--)(_0x123514=_0x478083[_0x3da1bf])&&(_0x4b5293=_0x123514(_0x4b5293)||_0x4b5293);return _0x4b5293;},_0x391569=(_0x412a52,_0x5c4c8d)=>(_0x2e2837,_0x1d5ece)=>_0x5c4c8d(_0x2e2837,_0x1d5ece,_0x412a52);let _0x5f3b1c=class extends _0x177d6a[_0x1c787c(0x2c5)]{constructor(_0xb47a82,_0x333ac6,_0x4fa646,_0x434b3b,_0x11fea2,_0x414247){const _0x2cad14=_0x1c787c;super(),this[_0x2cad14(0x397)]=_0xb47a82,this['_sheetsPivotRpcService']=_0x333ac6,this[_0x2cad14(0x3d1)]=_0x4fa646,this[_0x2cad14(0xee)]=_0x434b3b,this['_univerInstanceService']=_0x11fea2,this['_activeDirtyManagerService']=_0x414247,this['_initDataSendListener'](),this['registerDirtyService']();}[_0x1c787c(0x21e)](){const _0x53ce95=_0x1c787c;this['disposeWithMe'](this[_0x53ce95(0x397)][_0x53ce95(0x357)](_0x38265f=>{const _0x499454=_0x53ce95;if(_0x38265f['id']!==_0x585cbb['id'])return;const _0x302427=_0x38265f[_0x499454(0x228)];this[_0x499454(0x37f)][_0x499454(0x3a4)](_0x302427);})),this[_0x53ce95(0x29f)](this[_0x53ce95(0x397)][_0x53ce95(0x357)](_0x47caae=>{const _0x1e9afd=_0x53ce95;if(_0x47caae['id']===_0x4535fd['id']){const _0x12fea0=_0x47caae[_0x1e9afd(0x228)];if(_0x12fea0){const {unitId:_0x2e561c,subUnitId:_0x3f4ac8,oldSubUnitId:_0x4914b0,pivotTableId:_0x193dee,pivotTableConfig:_0x255ce7,collectionConfig:_0x189019}=_0x12fea0;this[_0x1e9afd(0xee)][_0x1e9afd(0x257)](_0x2e561c,_0x4914b0,_0x12fea0['pivotTableId'],null),this['_sheetsPivotTableConfigModel'][_0x1e9afd(0x257)](_0x2e561c,_0x3f4ac8,_0x193dee,_0x255ce7),this['_sheetsPivotTableConfigModel']['updateCollectionConfig'](_0x2e561c,_0x189019);}}})),this[_0x53ce95(0x29f)](this[_0x53ce95(0x397)][_0x53ce95(0x357)](_0x4fe614=>{const _0x402ee0=_0x53ce95;if(_0x4fe614['id']!==_0x16a7c0['id'])return;const _0x1fd934=_0x22c23f[_0x402ee0(0x109)](this[_0x402ee0(0x214)]);if(!_0x1fd934)return;const {unitId:_0x401126,subUnitId:_0x4db0a6}=_0x1fd934,_0x4b0a12=_0x4fe614['params'];if(_0x4b0a12[_0x402ee0(0x1ae)]&&Object[_0x402ee0(0x1fc)](_0x4b0a12['collectionConfig'])[_0x402ee0(0xe3)](_0x35896b=>{const _0x17dd1e=_0x402ee0;var _0x2bd32f;(_0x2bd32f=_0x4b0a12[_0x17dd1e(0x1ae)])!=null&&_0x2bd32f[_0x35896b]&&this[_0x17dd1e(0xee)][_0x17dd1e(0xec)](_0x35896b,_0x4b0a12[_0x17dd1e(0x1ae)][_0x35896b]);}),_0x4b0a12['single']){const _0x5ec4ec=_0x4b0a12[_0x402ee0(0x3dd)],{unitId:_0x47494e,subUnitId:_0x3df870,view:_0x3ddc1e,pivotTableId:_0x112250,type:_0x2388f4,pivotConfig:_0xff66c1}=_0x5ec4ec;if(_0x2388f4===_0x5a4701['Delete'])this[_0x402ee0(0x3d1)]['clearRenderCache']({'unitId':_0x47494e,'subUnitId':_0x3df870,'pivotTableId':_0x112250,'type':_0x2388f4}),this[_0x402ee0(0xee)][_0x402ee0(0x257)](_0x47494e,_0x3df870,_0x112250,null);else{const _0xd90eaf=new _0x175d11[(_0x402ee0(0x2e1))]();_0xd90eaf['formJSON'](_0x3ddc1e),this[_0x402ee0(0xee)][_0x402ee0(0x257)](_0x47494e,_0x3df870,_0x112250,_0xff66c1),this[_0x402ee0(0x3d1)][_0x402ee0(0x3d7)]({'unitId':_0x47494e,'subUnitId':_0x3df870,'pivotTableId':_0x112250,'type':_0x2388f4,'view':_0xd90eaf}),this[_0x402ee0(0x3d1)][_0x402ee0(0x1b2)]({'unitId':_0x47494e,'subUnitId':_0x3df870,'view':_0xd90eaf,'pivotTableId':_0x112250,'type':_0x2388f4});}}else _0x4b0a12[_0x402ee0(0x34c)]&&(_0x4b0a12[_0x402ee0(0x34c)][_0x402ee0(0xe3)](_0x8ed373=>{const _0x3fdf66=_0x402ee0,{unitId:_0x47315b,subUnitId:_0x47d7e2,view:_0x4401d1,pivotTableId:_0x278f2a,type:_0x111619,pivotConfig:_0x5e6e3c}=_0x8ed373,_0x2754d4=new _0x175d11[(_0x3fdf66(0x2e1))]();_0x2754d4[_0x3fdf66(0x391)](_0x4401d1),this[_0x3fdf66(0xee)][_0x3fdf66(0x257)](_0x47315b,_0x47d7e2,_0x278f2a,_0x5e6e3c),this[_0x3fdf66(0x3d1)]['updateRenderCache']({'unitId':_0x47315b,'subUnitId':_0x47d7e2,'view':_0x2754d4,'pivotTableId':_0x278f2a,'type':_0x111619});}),this['_sheetsPivotTableConfigModel'][_0x402ee0(0x195)]());this[_0x402ee0(0x3d1)]['markDirty'](_0x401126,_0x4db0a6);}));}[_0x1c787c(0x326)](){const _0xf43ebd=_0x1c787c;this[_0xf43ebd(0x383)][_0xf43ebd(0x14d)](_0x2dd118['id'],{'commandId':_0x2dd118['id'],'getDirtyData'(_0x237e3f){const _0x410d31=_0xf43ebd;return{'dirtyUnitFeatureMap':_0x237e3f[_0x410d31(0x228)]};}});}};_0x5f3b1c=_0x277f28([_0x391569(0x0,_0x177d6a['Inject'](_0x177d6a[_0x1c787c(0x353)])),_0x391569(0x1,_0x177d6a['Inject'](_0x1ed859[_0x1c787c(0x206)])),_0x391569(0x2,_0x177d6a['Inject'](_0x1ed859[_0x1c787c(0x1d6)])),_0x391569(0x3,_0x177d6a[_0x1c787c(0x2d9)](_0x1ed859[_0x1c787c(0x107)])),_0x391569(0x4,_0x177d6a[_0x1c787c(0x2d9)](_0x177d6a[_0x1c787c(0x22f)])),_0x391569(0x5,_0x195fb3['IActiveDirtyManagerService'])],_0x5f3b1c);var _0x2d0406=Object[_0x1c787c(0x3bf)],_0x3f668b=Object['getOwnPropertyDescriptor'],_0x2f3ad2=(_0x57af86,_0x2b8d07,_0x148b1f)=>_0x2b8d07 in _0x57af86?_0x2d0406(_0x57af86,_0x2b8d07,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x148b1f}):_0x57af86[_0x2b8d07]=_0x148b1f,_0xd82137=(_0x164900,_0x333d0f,_0x189fb5,_0x3fc166)=>{const _0x32763b=_0x1c787c;for(var _0x40e18e=_0x3fc166>0x1?void 0x0:_0x3fc166?_0x3f668b(_0x333d0f,_0x189fb5):_0x333d0f,_0xbea169=_0x164900[_0x32763b(0x10f)]-0x1,_0x450ac2;_0xbea169>=0x0;_0xbea169--)(_0x450ac2=_0x164900[_0xbea169])&&(_0x40e18e=_0x450ac2(_0x40e18e)||_0x40e18e);return _0x40e18e;},_0x2ef937=(_0x4f5e1b,_0x3f66de)=>(_0x266fa1,_0x22f8f5)=>_0x3f66de(_0x266fa1,_0x22f8f5,_0x4f5e1b),_0x3a72f8=(_0x380314,_0x322cd4,_0x14bb53)=>_0x2f3ad2(_0x380314,typeof _0x322cd4!=_0x1c787c(0x2ea)?_0x322cd4+'':_0x322cd4,_0x14bb53);_0x1ed859[_0x1c787c(0x1f2)]=class extends _0x177d6a[_0x1c787c(0xde)]{constructor(_0x4bdb4b=_0x5b9e4b,_0x39d00c,_0x35b848,_0xe99ca1,_0x13da22){const _0x28d312=_0x1c787c;super(),this[_0x28d312(0x371)]=_0x4bdb4b,this[_0x28d312(0x343)]=_0x39d00c,this[_0x28d312(0x397)]=_0x35b848,this[_0x28d312(0x1f1)]=_0xe99ca1,this['_dataSyncPrimaryController']=_0x13da22;const {..._0x1d376e}=_0x177d6a[_0x28d312(0x3aa)]({},_0x5b9e4b,this['_config']);this[_0x28d312(0x1f1)][_0x28d312(0x2bc)](_0x2e0c4f,_0x1d376e),this[_0x28d312(0xd5)](),this[_0x28d312(0x2a1)]();}['_initConfig'](){const _0x5549e3=_0x1c787c;var _0x1269f9;const _0x46043e=(_0x1269f9=this[_0x5549e3(0x371)])==null?void 0x0:_0x1269f9[_0x5549e3(0x1ee)];this[_0x5549e3(0x1f1)][_0x5549e3(0x2bc)](_0x318491,_0x46043e===!0x0);}[_0x1c787c(0x243)](){const _0x17a0b8=_0x1c787c;var _0x199fb6;let _0x3236d6=[];const _0x11f450=(_0x199fb6=this['_config'])==null?void 0x0:_0x199fb6['notExecuteFormula'];_0x11f450===!0x0?_0x3236d6=[[_0x1ed859[_0x17a0b8(0x354)]],[_0x1ed859['SheetsPivotRPCService']],[_0x5f3b1c],[_0x1ed859[_0x17a0b8(0x1d6)]],[_0x1ed859['SheetsPivotTableConfigModel']],[_0x83e352],[_0x462905],[_0x4a72bc],[_0x4e3204]]:_0x11f450===!0x1?_0x3236d6=[[_0x1ed859['SheetsPivotDataSourceModel']],[_0x4c9bd7]]:_0x11f450===void 0x0&&(_0x3236d6=[[_0x1ed859[_0x17a0b8(0x1af)]],[_0x4c9bd7],[_0x1ed859['SheetsPivotTableService']],[_0x1ed859['SheetsPivotRPCService']],[_0x5f3b1c],[_0x1ed859['SheetsPivotTableAdaptorModel']],[_0x1ed859[_0x17a0b8(0x107)]],[_0x83e352],[_0x462905],[_0x4a72bc],[_0x4e3204]]),_0x3236d6[_0x17a0b8(0xe3)](_0x5b5c9d=>this[_0x17a0b8(0x343)][_0x17a0b8(0x202)](_0x5b5c9d)),[_0x4c9bd7,_0x5f3b1c,_0x1ed859[_0x17a0b8(0x354)],_0x462905,_0x83e352,_0x4a72bc,_0x4e3204][_0x17a0b8(0xe3)](_0x5e1d88=>{const _0x439c97=_0x17a0b8;this['_injector'][_0x439c97(0xbc)](_0x5e1d88)&&this[_0x439c97(0x343)][_0x439c97(0x3e4)](_0x5e1d88);});}[_0x1c787c(0xd5)](){[_0xde6230,_0x5492df,_0x5baed9,_0x3630f9,_0x376df3,_0x5b29a9,_0x3f8d67,_0x100116,_0x4d2904,_0x2d8370,_0x303d16,_0x3009e9,_0x4de8eb,_0x280ea1,_0x1f645b,_0x18c1ce,_0x2d8900,_0xb1d23c,_0x14bf9e,_0x187b5c,_0x5a4dbb,_0x493ba1,_0x106cc9,_0xe162cd,_0xe70d5,_0x55d729,_0x5d353a,_0x4c8972,_0x585cbb,_0x16a7c0,_0x332f55,_0xe6f7a6,_0x4066a8,_0x852825,_0x224063,_0x31e2bd,_0x586f96,_0x2dd118,_0x4535fd,_0x14a83f,_0x3c9cd8,_0x27cb54,_0x596a3c]['forEach'](_0x23c35c=>{const _0x25ef15=_0x42d3;var _0x5661b6;(_0x5661b6=this[_0x25ef15(0x12f)])==null||_0x5661b6[_0x25ef15(0x30b)](_0x23c35c),this[_0x25ef15(0x397)][_0x25ef15(0x3b8)](_0x23c35c);});}},_0x3a72f8(_0x1ed859['UniverSheetsPivotTablePlugin'],_0x1c787c(0x39b),_0x389941),_0x3a72f8(_0x1ed859[_0x1c787c(0x1f2)],_0x1c787c(0x18a),_0x177d6a[_0x1c787c(0x238)]['UNIVER_SHEET']),_0x1ed859[_0x1c787c(0x1f2)]=_0xd82137([_0x177d6a['DependentOn'](_0x53915['UniverLicensePlugin']),_0x2ef937(0x1,_0x177d6a[_0x1c787c(0x2d9)](_0x177d6a[_0x1c787c(0x284)])),_0x2ef937(0x2,_0x177d6a[_0x1c787c(0x2d9)](_0x177d6a[_0x1c787c(0x353)])),_0x2ef937(0x3,_0x177d6a[_0x1c787c(0xcb)]),_0x2ef937(0x4,_0x177d6a['Optional'](_0x382c16[_0x1c787c(0x3d8)]))],_0x1ed859[_0x1c787c(0x1f2)]),_0x1ed859[_0x1c787c(0x23f)]=_0x5baed9,_0x1ed859[_0x1c787c(0x209)]=_0xb1d23c,_0x1ed859['AddPivotTableCommand']=_0x5492df,_0x1ed859[_0x1c787c(0xc1)]=_0x1f645b,_0x1ed859['AddPivotTableWithConfigCommand']=_0xde6230,_0x1ed859[_0x1c787c(0x198)]=_0x2afc20,_0x1ed859[_0x1c787c(0x25f)]=_0x45eedb,_0x1ed859[_0x1c787c(0x35b)]=_0x3630f9,_0x1ed859[_0x1c787c(0x141)]=_0x4de8eb,_0x1ed859['PivotDisplayDataType']=_0x2b8e9a,_0x1ed859[_0x1c787c(0x19c)]=_0x280ea1,_0x1ed859[_0x1c787c(0x210)]=_0x5a4701,_0x1ed859[_0x1c787c(0x215)]=_0x2dd118,_0x1ed859[_0x1c787c(0x20b)]=_0x83d4d,_0x1ed859['RemovePivotFieldCommand']=_0x376df3,_0x1ed859[_0x1c787c(0xbe)]=_0x493ba1,_0x1ed859[_0x1c787c(0xf8)]=_0x2d8900,_0x1ed859[_0x1c787c(0x359)]=_0x106cc9,_0x1ed859[_0x1c787c(0x133)]=_0x596a3c,_0x1ed859['SHEETS_PIVOT_PLUGIN_CONFIG_KEY']=_0x2e0c4f,_0x1ed859[_0x1c787c(0x258)]=_0x389941,_0x1ed859[_0x1c787c(0x2be)]=_0x100116,_0x1ed859['SetPivotCollapseMutation']=_0xe162cd,_0x1ed859[_0x1c787c(0x3cc)]=_0x852825,_0x1ed859[_0x1c787c(0x20c)]=_0x27cb54,_0x1ed859[_0x1c787c(0x374)]=_0x2d8370,_0x1ed859[_0x1c787c(0x3b7)]=_0x5a4dbb,_0x1ed859[_0x1c787c(0x13a)]=_0x55d729,_0x1ed859[_0x1c787c(0x230)]=_0x5d353a,_0x1ed859[_0x1c787c(0x2ad)]=_0x4d2904,_0x1ed859['SetPivotSortMutation']=_0xe70d5,_0x1ed859[_0x1c787c(0x256)]=_0x4066a8,_0x1ed859[_0x1c787c(0x3c1)]=_0x14a83f,_0x1ed859[_0x1c787c(0x15b)]=_0x3c9cd8,_0x1ed859[_0x1c787c(0x288)]=_0x3f8d67,_0x1ed859[_0x1c787c(0x1b5)]=_0x332f55,_0x1ed859[_0x1c787c(0x227)]=_0x303d16,_0x1ed859[_0x1c787c(0x350)]=_0x586f96,_0x1ed859[_0x1c787c(0x2cf)]=_0x3009e9,_0x1ed859['UpdatePivotTableSourceRangeMutation']=_0x31e2bd,_0x1ed859['UpdatePivotValuePositionCommand']=_0x5b29a9,_0x1ed859[_0x1c787c(0x177)]=_0xe6f7a6,_0x1ed859['applyChangeSet']=_0x215de6,_0x1ed859[_0x1c787c(0x20a)]=_0x41914d,_0x1ed859[_0x1c787c(0x2d1)]=_0x137cd6,_0x1ed859[_0x1c787c(0xfe)]=_0x240a58,_0x1ed859[_0x1c787c(0x37b)]=_0x397824,_0x1ed859[_0x1c787c(0x2f3)]=_0x2c852f,_0x1ed859[_0x1c787c(0x236)]=_0x468420,_0x1ed859[_0x1c787c(0x25d)]=_0x44d3aa,_0x1ed859['getPivotCellInfo']=_0x2c9fc9,_0x1ed859[_0x1c787c(0x313)]=_0x17409d,_0x1ed859[_0x1c787c(0x2b7)]=_0xb5fa0a,_0x1ed859[_0x1c787c(0xbb)]=_0x58787d,_0x1ed859[_0x1c787c(0x197)]=_0x3e69b9,Object[_0x1c787c(0x3bf)](_0x1ed859,Symbol['toStringTag'],{'value':_0x1c787c(0x203)});}));
1
+ function _0x13ac(){const _0x2edb1f=['#e6ebfb','endColumn','hasField','sheets-pivot.dateGroup.date','call','sheet.command.move-pivot-table','size','sheets-pivot.emptyPivot.values','updatePivotTableMatrixInfo','fetchThroughAsyncInterceptors','_initUnitDisposed','Injector','SetPivotValueFilterCommand','setValuePivotFilter','sheet.mutation.set-pivot-format','HourMinute','@univerjs-pro/license','GlobalComputingStatusService','_initCommandInterceptListener','Expand','UpdateValuePositionMutation','getInsertRowColMutations','Column\x20','level','startCollectChangeset','getActiveSheet','Max\x20of\x20','MUTATION','colInfo','_onRefRangeChange','_subjectCollectionChange','isDateGroupFieldJSON','dataStyle','collections','SetOptions','MoveRangeCommand','updateConfig','_initPivotDataGetListener','rangeKey','getSourceName','_markDirty$','SetFilterInfo','StdDevp\x20of\x20','sheets-pivot.dateGroup.hour','Inject','removeDataField','canUsePivot','filterId','#FFFFFF','defineProperty','onCommandExecuted','shouldClear','updatePivotSource','_ensurePivotMap','721pnemmz','PivotCellStyleTypeEnum','_sheetsPivotDataSourceModel','getDisplayName','pivotConfigChange$','getUpdateRangeDeleteIds','set','maxDate','charCodeAt','dataRangeInfo','_queryingMap','RANGE_TYPE','sheets-pivot.dateGroup.hourMinute','broadcastCollectionChange','YearMonthDate','getOwnPropertyDescriptor','sheets-pivot.dateGroup.yearQuarter','keys','_initSnapshot','get','getUnitId','2SwoHau','sheets-pivot.maxName','CustomCommandExecutionError','setSortInfo','41934FtjdDW','viewUpdate$','endRow','targetCellInfo','_updateRenderEmptyCache','getSubUnitPivotConfigs','sheet.mutation.set-pivot-option','add','generateRandomId','undos','SheetsPivotTableAdaptorModel','SetPivotSortCommand','substring','Hour','_viewUpdate$','_initGlobalComputed','parse','MAX_SAFE_INTEGER','setDirty','countNums','sheets-pivot.varName','@univerjs/rpc','_viewData','_pivotTableRangeInfo','getformat','isText','onQueryStart','getHeaderMapItem','refreshDataField','getPivotTableInstance','Rectangle','sheet.command.add-pivot-field','PivotTableFiledAreaEnum','getNoUsedDataFieldIds','find','name','rowInfo','getUnit','getFieldPositionInfoById','_sheetsSelectionsService','filterFields','exports','BehaviorSubject','interceptor','Count\x20of\x20','_collectionChange$','object','number','query','registerCallbackWithEvent','_subjectViewChange','range','getPivotTableCellData','addFieldWithSourceId','prefix','SetWorksheetActiveOperation','SetSubtotalType','isValue','isEmpty','Total','ClearSelectionContentCommand','getDataFieldByRangeKey','_model','UpdatePivotSource','_localeService','ObjectMatrix','some','SetFieldFormat','DependentOn','initDataRanges','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','setLabelFilterInfo','next','getCurrentSelections','sheets-pivot.dateGroup.minute','SHEET_PIVOT_IN_MAIN_THREAD','removeCollections','getFormatInfo','triggerDirtyFeature','SetPivotFilterCommand','InsertSheetMutation','_requestResolvers','NotFunction','workbook\x20is\x20not\x20found','sheet.command.reset-pivot-fields-config','getSheets','_dataFieldManagerCollection','getPivotDirtyViewInfo','stringify','sheet.command.set-pivot-collapse','registerDirtyService','type','resetPivotTable','MovePivotFieldCommand','width','UniverEngineFormula','getPivotTableRangeInfo','subtotal','getDataFieldByDataFieldId','valuePosition','Style','Date','Range','sheet.mutation.set-pivot-filter','excelDateToUnixMilliseconds','deleteDataField','replace','getTableFieldById','getPivotItemRenderInfoCache','sheets-pivot.dateGroup.year','Panel','serializeRangeWithSpreadsheet','Values','sheet.command.update-pivot-table-source-range','None','rowRanges','registerPluginResource','getRefRangeMutationsByMoveRange','hasOwnProperty','createAsyncInterceptorKey','MovePivotTableCommand','symbol','Column','AddPivotTable','2102106crufGZ','existing','Subject','PivotTableValuePositionEnum','RemoveField','fields','NORMAL','_subjectFieldsCollectionChange','sheets-pivot.grandTotal','data','_host','matrix','AddPivotFieldMutation','getCollection','markDirty$','InterceptorManager','493670XXgrcu','asyncInterceptor','Module','getIntersects','updateConfigCache','value','dataFieldManagerConfig','getSheetBySheetName','NUMBER','_lifecycleService','getMatrixFromRunTimeData','PivotTableChangeTypeEnum','valueFilter','getIntersectsPivotTable','cornerInfo','format','intercept','sheets-pivot.dateGroup.yearMonthDate','unshift','sheets-pivot.cellDateGroupDisplay.year','sheet.mutation.remove-pivot-field','fieldIds','AddPivotTableMutation','SheetsPivotTableConfigModel','numberToABC','addField','#f4f4f5','params','cornerRanges','getName','max','rxjs','getPivotDisplayConfig','varp','getFormat','sheets-pivot.stdDevpName','sheet.mutation.set-pivot-sort-info','_ensurePivotItemRenderInfoCache','asObservable','UniverCore','applyChangeSet','contains','AddPivotTableWithConfigCommand','sheet.mutation.pivot-update-value-position','(Blank)','sheet.mutation.pivot-update-field-source-info','paths','CommandType','adjustSheetCellData','reduce','_configService','YearQuarter','rowCount','lastCol','RenamePivotFieldMutation','cornerStyle','average','fieldId','setPivotInitCompleted','single','update','queryDirtyPivotTable','deleteField','toString','createInterceptorKey','originTargetInfo','_createExclusiveRange','sheets-pivot.sumName','SetPivotPositionMutation','Year','SetPivotFilterMutation','result','fieldsConfig','updateAllDisplayName','setPivotTable','ResetPivotTable','sheet.command.update-pivot-value-position','floor','FieldsCollection','_initClearSelectionCommandInterceptor','drillDown','UniverRpc','setValueFilterInfo','_toJSON','blank','@univerjs/core','setDataRecordCount','YearMonth','SetValuePivotFilter','date','versions','getAdjustRangesPosition','sheet.command.move-pivot-field','Filter','sheet.mutation.set-pivot-value-filter','getPivotTableIdByCell','getColumnCount','Quarter','removePivotTable','_sheetsPivotTableService','getOriginFieldId','SheetsPivotRPCService','sheet.mutation.pivot-update-field-position','_textInfo','setDisplayName','DataFieldManager','grandTotal','handleSourceRangeChange','clearRenderCache','SetPivotSort','UpdatePivotFieldSettingCommand','columnFields','InsertColMutation','renameField','rangesInfo','_globalComputedEndHelpFunc','getTargetByPivotId','COLUMN','getFieldCountByArea','SetPivotSubtotalTypeMutation','rowHeaderMap','version','SHEET_PIVOT_EXCLUSIVE_ID','PivotFilterTypeEnum','SetSortInfo','#1d32e9','1339920EKdTTJ','PivotDisplayDataType','getTypeOfUnitDisposed$','Month','@univerjs/engine-render','Value','dataFieldsCollection','pivotTableIndexConfig','foreach','isArray','IActiveDirtyManagerService','getFilterInfo','ReleaseType','isBaseGroupField','3471690xaDYvT','sheets.tabs.sheet','rgb(240,241,243)','_updateModelCache','createCollectionWithDataRange','PivotSubtotalTypeEnum','UniverLicensePlugin','setRange','getDataFieldId','unitId','NotNumber','splice','sequenceExecute','push','SheetInterceptorService','setRangeValueUndoMutation','updateDirtyPivotTable','UniverProLicense','batch','startRow','getConfig','isFeatureAuthorizedWithinTime','forEach','DisposableCollection','sheet.mutation.update-date-group','_commandService','_config','DataField','displayName','markDirty','updateFieldPosition','isDateGroupField','UpdateFieldPositionMutation','panel','setConfig','updateRangeKeyMap','Optional','getId','getDataFieldByTableId','iterateFieldByArea','_sheetsPivotRpcService','11QEhtFi','stdDev','sheet.command.set-pivot-sort','generateHexNumber','_updatePivotTableInstanceCache','sheet.operation.pivot-table-view-formula-mark-dirty','updateView','setSourceName','setName','getSubtotal','RemoveRowMutation','_configVersion$','STRING','disposableCollection','deepClone','sheets-pivot.productName','registerRefRange','LocaleService','row','PivotMultipleValueId','sheet.command.add-pivot-table','generateNewSheetName','BLANK_PLACEHOLDER','sheet.command.add-pivot-table-with-config','DateGroupField','sheets-pivot.countName','isBottomTotal','updateViewInfo','sheet.mutation.rename-pivot-field','sourceName','_injector','colCount','addCollectionByJSON','sheets-pivot.minName','_getPivotAppliedRanges','split','_dataSyncPrimaryController','sheets-pivot.cellDateGroupDisplay.date','PivotDrillDownCommand','IFeatureCalculationManagerService','UniverProSheetsPivot','Disposable','New','CellValueType','getCellRaw','SetRangeValuesMutation','sheet.mutation.get-pivot-data-local','mergeWorksheetSnapshotWithDefault','isPrefixValue','leafStyle','refreshData','notExecuteFormula','getMonth','PivotDateGroupFieldDateTypeEnum','length','toJSON','Tools','function','PivotCallbackEnum','_ensureViewDataMap','originalFieldId','sheetName','setOptions','_sheetsPivotTableConfigModel','getDate','fromJSON','getPivotTableConfig','getPivotPerformCheck','sheets-pivot.cellDateGroupDisplay.minute','executeCommand','_deletePivotTableInstanceCache','getPivotTableModelConfig','entries','RenameField','SetValueFilter','getStyles','setPivotFilter','sheets-pivot.averageName','pageStyle','pageRanges','onQueryEnd','Grand\x20Total','fieldsCollectionChange$','isDateValue','generateNullCell','ManualFilter','addCollection','movePivotField','removePivotField','_sheetsPivotTableAdaptorModel','bind','defaultThemeStyle','numfmt','dateGroupField','getSheetBySheetId','_ensurePivotTableMatrixInfo','updateViewData','getSheetCommandTarget','custom','forValue','_pivotTableMatrixInfo','setTextInfo','colRanges','getValueIndex','concat','var','sheets-pivot.emptyPivot.column','sheets-pivot.cellDateGroupDisplay.yearQuarter','amd','document','rangeKeyMap','UpdatePivotValuePositionCommand','UpdatePivotTableSourceRangeCommand','_generateUniqueVersion','getFieldFormat','getDirtyInfo','_initPivotTextInfo','DrillDown','filterInfo','COMMAND','getSheetFeatureLimit','setPivotSort','sheets-pivot.emptyPivot.row','AsyncInterceptorManager','IConfigService','dataFields','oldMatrix','stdDevp','SetPivotCollapse','SetPivotFieldsConfigCommand','addPivotTable','filter','#b2b2b2','has','iterateFieldDim','PivotErrorTypeEnum','sheets-pivot.dateGroup.quarter','values','unshiftString','getAutoDisplayName','sheet.command.set-pivot-filter','Add','createLabelField','iterateField','sheets-pivot.config','handleAsyncResponse','SetSheetsFilterRangeMutation','getRowCount','sheets-pivot.value','_getAutoName','_initConfig','getLastCol','RemoveSheetCommand','cellValue','isDate','REF','handleMoveRange','setSubtotalType','viewData$','sortInfo','UniverProEnginePivot','setPivotCollapse','getFieldById','_initDataSendListener','hSa8lB6a\x20cb8m9OlB6a(LB8basb,\x20OSdLB87b9)\x20{\x20\x20\x20\x20lm9\x20{\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20LB8basbWah6pGmlKmmG9\x20=\x20LB8basb.sOLBl(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x206mB0BagbssG0b\x20=\x20exr4.OGmsb(Gl6d(LB8basbWah6pGmlKmmG9[N]));\x20\x20\x20\x20\x20\x20\x20\x20Bh\x20(!6mB0BagbssG0b.Sc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206mB0BagbssG0b.Sc\x20=\x204SQdbm(LB8basbWah6pGmlKmmG9[v]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20Bsw6m3bm\x20=\x20l9Ob6h\x20w6m3bm2L6dGLx86Ob\x20!==\x20\x27SacbhBabc\x27\x20&&\x20sbLh\x20BaslGa8b6h\x20w6m3bm2L6dGLx86Ob;\x20\x20\x20\x20\x20\x20\x20\x2086asl\x2086albIl\x20=\x20Bsw6m3bm\x20?\x20sbLh\x20:\x20kBac6k;\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20QbssG0bw6mc\x20=\x2086albIl.__EGsbXv__.OGmsb(LB8basbWah6pGmlKmmG9[N]);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20QbssG0b\x20=\x2086albIl.__FbI__.slmBa0Bh9(QbssG0bw6mc);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20sB0aGlSmbw6mc\x20=\x2086albIl.__EGsbXv__.OGmsb(LB8basbWah6pGmlKmmG9[n]);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20sB0aGlSmb\x20=\x2086albIl.__FbI__.slmBa0Bh9(sB0aGlSmbw6mc);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20sB0aJGLBc\x20=\x2086albIl.__5bmBh9__(sB0aGlSmb,\x20QbssG0b,\x20OSdLB87b9);\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20c6QGBa\x20=\x206mB0BagbssG0b.cQ;\x20\x20\x20\x20\x20\x20\x20\x20hSa8lB6a\x20Bsq6QGBagGl8fBa0(6pGllbma,\x206F6sl)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20OGllbma\x20=\x206pGllbma.mbOLG8b(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20f6sl\x20=\x206F6sl.mbOLG8b(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20OGllbmapGmls\x20=\x20OGllbma.sOLBl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20f6slpGmls\x20=\x20f6sl.sOLBl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bh\x20(!OGllbma.Ba8LScbs(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20OGllbma\x20===\x20f6sl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bh\x20(OGllbmapGmls.Lba0lf\x20<\x20N\x20||\x20OGllbmapGmls[t]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20hGLsb;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20OGllbmaxShhBI\x20=\x20OGllbmapGmls.sLB8b(Z).T6Ba(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2086asl\x20f6slxShhBI\x20=\x20f6slpGmls.sLB8b(-OGllbmapGmls.Lba0lf\x20+\x20Z).T6Ba(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20OGllbmaxShhBI\x20===\x20f6slxShhBI;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Lbl\x20c6QGBaJGLBc\x20=\x20(c6QGBa\x20&&\x20c6QGBa.Lba0lf)\x20?\x20c6QGBa.s6Qb((cQWlbQ)\x20=>\x20Bsq6QGBagGl8fBa0(cQWlbQ,\x20L68GlB6a.f6slaGQb))\x20:\x20lmSb;\x20\x20\x20\x20\x20\x20\x20\x20Bh\x20(L68GlB6a.f6slaGQb\x20===\x20\x27L68GLf6sl\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20c6QGBaJGLBc\x20=\x20lmSb;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x2086asl\x205GLBc\x20=\x20sB0aJGLBc\x20&&\x20c6QGBaJGLBc;\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205GLBc,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QbssG0b:\x206mB0BagbssG0b,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x208Gl8f\x20(bmm6m)\x20{\x20\x20\x20\x20\x20\x20\x20\x20mblSma\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205GLBc:\x20hGLsb,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QbssG0b:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','setRangeKeyMap','RemoveSheetMutation','setPivotTableConfig','_collectionConfigModel','getCellMatrix','getFieldDataType','cellToRange','BadReference','random','sideEffectUpdateWorkerCache','registerCommand','AddPivotField','sheet.command.remove-pivot-field','fetchThroughInterceptors','dispose','addPivotField','sheet.mutation.add-pivot-field','_initLocale','getFullYear','pivotTableId','_featureCalculationManagerService','col','updateCollectionConfig','removeField','getRangeKeyList','RemovePivotFieldCommand','_exclusiveRangeService','updateRenderCache','needSameDeleteModel','DEFAULT_PIVOT_NUMBER','RemoveColMutation','getRangeKey','tableFieldId','RemoveSheetsFilterMutation','dataStream','20729910PxYPhD','collapseInfo','ErrorType','sheet.mutation.add-group-collection','uniqueDataFieldName','_viewData$','collection','getTextInfo','addRecord','addDataFieldWithoutUnitInfo','SetCollapse','getMatrix','getTargetByPivotTableId','sheets-pivot.cellDateGroupDisplay.yearMonthDate','areaInfo','sheet.mutation.send-init-pivot-text-local','_deleteModelCache','IUniverInstanceService','_initRemoveSheetCommandInterceptor','PivotDataFieldDataTypeEnum','SetRangeValuesUndoMutationFactory','BLANK_ROW_COUNT','Minute','getDataFieldManager','_resourceManagerService','Min\x20of\x20','addPivotTableWithConfig','body','sheets-pivot.cellDateGroupDisplay.hourMinute','getTextSize','_initRegisterCommand','pivotPerformCheck','minDate','updateDataFieldsCollection','register','subTotalStyle','_pivotRenderInfoCache','getColCount','parseInt','disposeWithMe','toStringTag','refreshGroupField','info','getMatrixValue','getSortInfo','PivotTable','FontCache','_fieldsCollectionChange$','RemovePivotField','getColumnWidth','subscribe','MonthDate','includes','sourceRangeInfo','valid','collectionConfig','SetPivotSetting','PivotView','_ensurePivotItemRenderValueMatrixCache','SetPivotOptionMutation','getFieldIds','@univerjs/sheets-filter','headerMap','dataFieldId','return\x20','updateValuePosition','Delete','InterceptorEffectEnum','collectionChange$','AddPivotTableWithConfig','sheets-pivot.other','_pivotTableInstanceCache','_pivotConfigChange$','_globalSubject','getSubUnitPivotMatrix','PivotViewCellValueTypeEnum','sheets-pivot.dateGroup.yearMonth','string','measure','sheets-pivot.dateGroup.month','StdDev\x20of\x20','_ensurePivotTableRangeInfo','UpdateDateGroupCommand','NAME','UniverInstanceType','setRangeValueRedoMutation','RefRangeService','RemovePivotFieldMutation','subUnitId','Div0','IUndoRedoService','Subtotal','MoveRangeMutation','generateMutationsByRanges','Varp\x20of\x20','endCollectChangeset','removeValueFilterInfo','getAutoFitColumnsMutations','updateFieldSourceInfo','PivotDataFieldTypeEnum','@univerjs/engine-formula','GrandTotal','getValue','formJSON','_pivotRenderValueMatrixCache','_refRangeHandle','setPivotSetting','valueFields','count','LS_CONFIG_KEY','SetPivotCollapseCommand','limit\x20pivot','getAutoDisplayNameFunction','getFieldInfo','from','AddPivotFieldCommand','rangeType','redos','UNIVER_SHEET','getViewData','options','SetPivotFieldFormatMutation','UpdateSource','DataSyncPrimaryController','ICommandService','SheetsPivotTableService','UpdateFieldPosition','getCurrentUnitForType','_globalComputedStartHelpFunc','pbt','setFieldFormat','removeSourceRangeChange','createValueField','rangeCache','pivotMutationGenerate','SetPivotValueFilterMutation','MovePivotField','sheets-pivot.blank','@univerjs-pro/engine-pivot','sheets-pivot.stdDevName','#eceeff','SheetsPivotDataSourceModel','setCollapse','pivotInitCompleted$','sheet.command.set-pivot-fields-config','realDeleteValue','pushUndoRedo','removeValueFilterInfoByValueFieldId','_pivotInitCompleted$','deleteUnitId','oldRangeInfo','6123224PDLEUm','sheets-pivot.emptyPivot.filter','SetPivotFilter','setValue','_sheetInterceptorService','UniverSheetsPivotTablePlugin','getDataFieldBySourceName','rgb(255,255,255)','getSheetId','9REFogG','pluginName','_globalComputingSrv','SHEET_PIVOT_TABLE_PLUGIN','#e6ebfa','getDataFieldItemInfo','resetArea','getSubUnitPivotRenderCache','startColumn','delete','addExclusiveRange','_refRangeService','Var\x20of\x20','column','pivotTableConfigs','SetPivotTableConfig','Set','map','colHeaderMap','_univerInstanceService','node','ResetPivotFieldsConfigCommand','Row','addDirtyPivotTable','fontRenderExtension','merge','_initViewModelBySheetInterceptor','NotName','dimension','createDataFieldId','valueIndex','UpdateValuePosition','InsertSheetUndoMutationFactory','slice','getRangeStartEndInfo','intersects','Average\x20of\x20','error','min','sum','getLastRow','SetWorksheetColWidthMutation','_init','rowFields','colStyle','getPivotTableInfo','lastRow'];_0x13ac=function(){return _0x2edb1f;};return _0x13ac();}function _0x2df4(_0x4840e4,_0x5153e6){const _0x13ac90=_0x13ac();return _0x2df4=function(_0x2df463,_0x512d48){_0x2df463=_0x2df463-0x8b;let _0x5e26c8=_0x13ac90[_0x2df463];return _0x5e26c8;},_0x2df4(_0x4840e4,_0x5153e6);}(function(_0x1df5aa,_0x5651db){const _0x4cfeb0=_0x2df4,_0x4b923f=_0x1df5aa();while(!![]){try{const _0x7bd3f2=-parseInt(_0x4cfeb0(0x2cb))/0x1+parseInt(_0x4cfeb0(0x23b))/0x2*(-parseInt(_0x4cfeb0(0x2bb))/0x3)+parseInt(_0x4cfeb0(0x349))/0x4+parseInt(_0x4cfeb0(0x357))/0x5+-parseInt(_0x4cfeb0(0x23f))/0x6*(parseInt(_0x4cfeb0(0x226))/0x7)+-parseInt(_0x4cfeb0(0x1b8))/0x8*(parseInt(_0x4cfeb0(0x1c1))/0x9)+-parseInt(_0x4cfeb0(0x121))/0xa*(-parseInt(_0x4cfeb0(0x380))/0xb);if(_0x7bd3f2===_0x5651db)break;else _0x4b923f['push'](_0x4b923f['shift']());}catch(_0x107e3a){_0x4b923f['push'](_0x4b923f['shift']());}}}(_0x13ac,0x6730b),function(_0x1d3407,_0x44e627){const _0x1b616d=_0x2df4;typeof exports==_0x1b616d(0x26d)&&typeof module<'u'?_0x44e627(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define==_0x1b616d(0x92)&&define[_0x1b616d(0xc5)]?define([_0x1b616d(0x268),_0x1b616d(0x1ab),_0x1b616d(0x320),_0x1b616d(0x185),'@univerjs/sheets',_0x1b616d(0x2ea),_0x1b616d(0x200),_0x1b616d(0x15e),_0x1b616d(0x254),_0x1b616d(0x34d)],_0x44e627):(_0x1d3407=typeof globalThis<'u'?globalThis:_0x1d3407||self,_0x44e627(_0x1d3407[_0x1b616d(0x3a8)]={},_0x1d3407[_0x1b616d(0xf9)],_0x1d3407[_0x1b616d(0x2f2)],_0x1d3407[_0x1b616d(0x29e)],_0x1d3407['UniverSheets'],_0x1d3407['rxjs'],_0x1d3407[_0x1b616d(0x368)],_0x1d3407['UniverSheetsFilter'],_0x1d3407[_0x1b616d(0x31c)],_0x1d3407['UniverEngineRender']));}(this,function(_0x5bf755,_0x2bd302,_0x288eb9,_0x1407f0,_0x2e27a8,_0x4e0a85,_0x1f3f39,_0x2bd9b2,_0x5e8e90,_0x232f9e){'use strict';const _0x42bb9f=_0x2df4;var _0x58da75=Object[_0x42bb9f(0x221)],_0x4d4db3=(_0x4324bd,_0x14b7ff,_0x4a0ff4)=>_0x14b7ff in _0x4324bd?_0x58da75(_0x4324bd,_0x14b7ff,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a0ff4}):_0x4324bd[_0x14b7ff]=_0x4a0ff4,_0x4fb07d=(_0x2d71dc,_0x47ba5a,_0x2f9f40)=>_0x4d4db3(_0x2d71dc,typeof _0x47ba5a!=_0x42bb9f(0x2b8)?_0x47ba5a+'':_0x47ba5a,_0x2f9f40);const _0x5a170e=Number[_0x42bb9f(0x147)](0x68f8bce8),_0x4b3044=0x10,_0x2e2372=0x1,_0xd0f9a3=_0x42bb9f(0x1c4),_0x4bce21=0x1,_0x2e8319=_0x42bb9f(0x359),_0x2d3e12=_0x42bb9f(0x1bf),_0x116e50=_0x42bb9f(0xdd),_0x37cce2=_0x42bb9f(0x2e5),_0x340010=_0x42bb9f(0x2e5),_0x233ff6=_0x42bb9f(0x1ad),_0x92e83d=_0x42bb9f(0x348),_0x5e7fa5=_0x42bb9f(0x220),_0x31a869=_0x42bb9f(0x1c5),_0x950de3=_0x42bb9f(0x348),_0x4c5604=_0x42bb9f(0x220),_0x2d33f2=_0x42bb9f(0x1f0),_0x154bf2=0xe,_0x34f04a=0x6;var _0x1caed1=(_0x561e06=>(_0x561e06['Existing']=_0x42bb9f(0x2bc),_0x561e06[_0x42bb9f(0x3aa)]='new',_0x561e06))(_0x1caed1||{});const _0x2e2884={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x29e418=0x1e,_0x4b7cb3={'b':{'s':0x1,'cl':{'rgb':_0x116e50}},'l':{'s':0x1,'cl':{'rgb':_0x116e50}},'r':{'s':0x1,'cl':{'rgb':_0x116e50}},'t':{'s':0x1,'cl':{'rgb':_0x116e50}}},_0x2a3703={'bg':{'rgb':_0x2e8319},'ht':0x2,'vt':0x2,'tb':0x1},_0xd6e504={'bg':{'rgb':_0x2d3e12},'ht':0x2,'vt':0x2,'tb':0x1},_0x1b6d0b={'rowStyle':{'bg':{'rgb':_0x2d33f2},'bd':_0x4b7cb3,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x950de3},'bd':null,'cl':{'rgb':_0x4c5604},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x4b7cb3,'bg':{'rgb':_0x31a869},'vt':0x2},'cornerStyle':{'bd':_0x4b7cb3,'bg':{'rgb':_0x233ff6},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x4b7cb3,'bg':{'rgb':_0x37cce2},'vt':0x2},'leafStyle':{'bd':_0x4b7cb3,'bg':{'rgb':_0x340010},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x92e83d},'cl':{'rgb':_0x5e7fa5},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x4b7cb3,'vt':0x2}};function _0x5eb995(_0x1a3392,_0x2a4d57,_0x4d307f){const _0x344396=_0x42bb9f,_0x38ab36=_0x1a3392[_0x344396(0x239)](_0x288eb9[_0x344396(0x391)]),_0xd21c0=_0x4d307f[_0x344396(0x3a3)]('_');switch(_0x2a4d57){case _0x2bd302[_0x344396(0x8e)][_0x344396(0x310)]:return _0x38ab36['t'](_0x344396(0x2de),..._0xd21c0);case _0x2bd302[_0x344396(0x8e)][_0x344396(0x137)]:return _0x38ab36['t'](_0x344396(0x9d),..._0xd21c0);case _0x2bd302[_0x344396(0x8e)][_0x344396(0x24c)]:return _0x38ab36['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0xd21c0);case _0x2bd302[_0x344396(0x8e)]['HourMinute']:return _0x38ab36['t'](_0x344396(0x13d),..._0xd21c0);case _0x2bd302[_0x344396(0x8e)][_0x344396(0x2a4)]:return _0x38ab36['t'](_0x344396(0x3a5),..._0xd21c0);case _0x2bd302[_0x344396(0x8e)][_0x344396(0x34c)]:return _0x38ab36['t']('sheets-pivot.cellDateGroupDisplay.month',..._0xd21c0);case _0x2bd302[_0x344396(0x8e)][_0x344396(0x32c)]:return _0x38ab36['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0xd21c0);case _0x2bd302[_0x344396(0x8e)][_0x344396(0x322)]:return _0x38ab36['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0xd21c0);case _0x2bd302['PivotDateGroupFieldDateTypeEnum'][_0x344396(0x234)]:return _0x38ab36['t'](_0x344396(0x12e),..._0xd21c0);case _0x2bd302[_0x344396(0x8e)]['YearQuarter']:return _0x38ab36['t'](_0x344396(0xc4),..._0xd21c0);}return'';}const _0x2e49c0=(_0x64af7d,_0x3f89e4,_0x3488d7,_0x24abc4)=>{const _0x51494b=_0x42bb9f;let _0x43f876;const _0xe08c92=_0x64af7d[_0x51494b(0x239)](_0x288eb9[_0x51494b(0x132)])[_0x51494b(0x1a0)](_0x288eb9[_0x51494b(0x175)][_0x51494b(0x197)]);if(!_0xe08c92)return null;const _0x1efaea=_0xe08c92[_0x51494b(0xa4)]();let _0x5eb7a3;if(_0x3488d7&&(_0x5eb7a3=_0x1efaea[_0x51494b(0x1bb)](_0x3488d7)),_0x3f89e4!=null&&_0x3f89e4['v']||(_0x3f89e4==null?void 0x0:_0x3f89e4['v'])===0x0){_0x43f876||(_0x43f876={});const _0x58c95d=_0x350af0(_0x3f89e4['v']);typeof _0x58c95d=='number'?_0x43f876['t']=_0x288eb9['CellValueType'][_0x51494b(0x2d3)]:typeof _0x58c95d=='string'&&(_0x43f876['t']=_0x288eb9['CellValueType'][_0x51494b(0x38c)]),_0x43f876['v']=_0x58c95d;}if((_0x3f89e4!=null&&_0x3f89e4['i']||(_0x3f89e4==null?void 0x0:_0x3f89e4['i'])===0x0)&&(_0x43f876||(_0x43f876={}),_0x43f876['fi']=_0x3f89e4['i']),_0x3f89e4!=null&&_0x3f89e4['s']&&(_0x43f876||(_0x43f876={}),_0x43f876['pbt']=_0x3f89e4['s']),_0x3488d7&&(_0x43f876||(_0x43f876={}),_0x43f876['s']=_0x5eb7a3),_0x24abc4&&_0x43f876!=null&&_0x43f876['v']&&_0x43f876[_0x51494b(0x1a2)]!==_0x2bd302[_0x51494b(0x227)][_0x51494b(0x186)]&&_0x43f876[_0x51494b(0x1a2)]!==_0x2bd302[_0x51494b(0x227)][_0x51494b(0x17c)]){const _0x1dc778=String(_0x43f876['v']),{dateType:_0x2f421f}=_0x24abc4;_0x43f876['v']=_0x5eb995(_0x64af7d,_0x2f421f,_0x1dc778),_0x43f876['t']=_0x288eb9['CellValueType'][_0x51494b(0x38c)];}return _0x43f876;},_0x22a312=(_0x6eee86,_0x4e8d42,_0x428849,_0x124db0)=>{const _0x5b2726=_0x42bb9f;var _0x2e113c,_0x2eb8ad,_0x5a19b1,_0x304705,_0x2b6d73,_0x4a0b3d,_0x2446fa,_0xddcba0,_0x35091b,_0x3caf04,_0x2ccd6c,_0x13474c,_0x26f404,_0x19066b;const _0x493d84=_0x428849[_0x5b2726(0x242)],{cornerView:_0x22f424,rowView:_0x3ec4e3,colView:_0xf32b2e,dataView:_0x327ef9,pageView:_0xc9e41a,formatMap:_0xa1ae38,groupInfo:_0x2d8934}=_0x4e8d42,{row:_0x28845e,col:_0x402c59}=_0x493d84,_0x435c6d=new _0x288eb9[(_0x5b2726(0x280))](),_0x120358={},_0x2bd525={},_0x436548={},_0x1946b8={},_0x57223c={};let _0xce9de0=_0x28845e,_0x15d301=_0x402c59;Object[_0x5b2726(0x237)](_0xc9e41a['data'])[_0x5b2726(0x36d)](_0x5bda03=>{const _0x4b2075=_0x5b2726;Object[_0x4b2075(0x237)](_0xc9e41a[_0x4b2075(0x2c4)][Number(_0x5bda03)])[_0x4b2075(0x36d)](_0x5d43bd=>{const _0x18102b=_0x4b2075,_0x25d900={..._0xc9e41a[_0x18102b(0x2c4)][Number(_0x5bda03)][Number(_0x5d43bd)]};_0x435c6d[_0x18102b(0x1bb)](Number(_0x5bda03)+_0xce9de0,Number(_0x5d43bd)+_0x15d301,_0x2e49c0(_0x6eee86,_0x25d900,_0x1b6d0b[_0x18102b(0xa7)]));});});const _0xdecd73=Object['keys'](_0xc9e41a[_0x5b2726(0x2c4)])['length'];_0xce9de0+=_0xdecd73+(_0xdecd73?_0x4bce21:0x0);const _0x3cf2c0=_0x22f424[_0x5b2726(0xec)](),_0x501012=_0x22f424['getColCount']();for(let _0x54997c=0x0;_0x54997c<_0x3cf2c0;_0x54997c++)for(let _0x41abd4=0x0;_0x41abd4<_0x501012;_0x41abd4++){const _0x33aaaf={...(_0x2eb8ad=(_0x2e113c=_0x22f424[_0x5b2726(0x2c4)])==null?void 0x0:_0x2e113c[_0x54997c])==null?void 0x0:_0x2eb8ad[_0x41abd4]};_0x33aaaf&&((_0x5a19b1=_0x3ec4e3[_0x5b2726(0x15f)][_0x41abd4])!=null&&_0x5a19b1['isValue'])&&_0x41abd4===_0x501012-0x1&&_0x54997c===_0x3cf2c0-0x1&&(_0x33aaaf['v']=''+_0x124db0[_0x5b2726(0xed)]),_0x435c6d['setValue'](_0x54997c+_0xce9de0,_0x41abd4+_0x15d301,_0x2e49c0(_0x6eee86,_0x33aaaf,_0x1b6d0b[_0x5b2726(0x302)]));}for(let _0x5b90c4=0x0;_0x5b90c4<_0x22f424[_0x5b2726(0x14b)]['length'];_0x5b90c4++)_0x22f424[_0x5b2726(0x14b)][_0x5b90c4]&&(_0x436548[''+(_0x5b90c4+_0x15d301)]=_0x22f424[_0x5b2726(0x14b)][_0x5b90c4]);_0x15d301+=_0x501012;const _0x357eaa=_0xf32b2e[_0x5b2726(0x15f)],_0x55719e=_0xf32b2e[_0x5b2726(0x1e9)]()>=0x0?_0xf32b2e[_0x5b2726(0x1e9)]()+0x1:0x0,_0x4d4b47=_0xf32b2e['getLastCol']()>=0x0?_0xf32b2e['getLastCol']()+0x1:0x0;for(let _0x2c169d=0x0;_0x2c169d<_0x4d4b47;_0x2c169d++){for(let _0x2cd82d=0x0;_0x2cd82d<_0x55719e;_0x2cd82d++){const _0x5c70f4={...(_0x2b6d73=(_0x304705=_0xf32b2e['data'])==null?void 0x0:_0x304705[_0x2cd82d])==null?void 0x0:_0x2b6d73[_0x2c169d]},_0x21f044=(_0x4a0b3d=_0x357eaa[_0x2cd82d])==null?void 0x0:_0x4a0b3d[_0x5b2726(0x11e)],_0x53220a=_0xa1ae38[_0x21f044],_0x20e9ac=_0x2d8934[_0x21f044];_0x5c70f4&&(_0x5c70f4['v']=_0x2ee935(_0x5c70f4,_0x2cd82d===0x0&&((_0x2446fa=_0xf32b2e['getHeaderMapItem'](_0x2c169d+0x1))==null?void 0x0:_0x2446fa[_0x5b2726(0x278)]),_0x53220a,_0x124db0));let _0x4259f3;_0x53220a?_0x4259f3={..._0x1b6d0b[_0x5b2726(0x1ed)],'n':{'pattern':_0x53220a}}:_0x4259f3={..._0x1b6d0b[_0x5b2726(0x1ed)]},_0x435c6d['setValue'](_0x2cd82d+_0xce9de0,_0x2c169d+_0x15d301,_0x2e49c0(_0x6eee86,_0x5c70f4,_0x4259f3,_0x20e9ac));}_0xf32b2e[_0x5b2726(0x14b)][_0x2c169d]&&(_0x2bd525[''+(_0x2c169d+_0x15d301)]=_0xf32b2e[_0x5b2726(0x14b)][_0x2c169d]),_0xf32b2e['headerMap'][_0x2c169d+0x1]&&(_0x57223c[''+(_0x2c169d+_0xce9de0+0x1)]=_0xf32b2e[_0x5b2726(0x15f)][_0x2c169d+0x1]);}_0xce9de0+=_0x3cf2c0;const _0x5ce67f=_0x3ec4e3['headerMap'],_0x2a301b=_0x3ec4e3['getLastRow']()>=0x0?_0x3ec4e3[_0x5b2726(0x1e9)]()+0x1:0x0,_0x3739be=_0x3ec4e3[_0x5b2726(0xf0)]()>=0x0?_0x3ec4e3[_0x5b2726(0xf0)]()+0x1:0x0;for(let _0x3f6c29=0x0;_0x3f6c29<_0x2a301b;_0x3f6c29++){for(let _0xe9d05d=0x0;_0xe9d05d<_0x3739be;_0xe9d05d++){const _0x409138={...(_0x35091b=(_0xddcba0=_0x3ec4e3[_0x5b2726(0x2c4)])==null?void 0x0:_0xddcba0[_0x3f6c29])==null?void 0x0:_0x35091b[_0xe9d05d]},_0xc7427d=(_0x3caf04=_0x5ce67f[_0xe9d05d])==null?void 0x0:_0x3caf04[_0x5b2726(0x11e)],_0xe53898=_0xa1ae38[_0xc7427d],_0x2c8766=_0x2d8934[_0xc7427d];_0x409138&&(_0x409138['v']=_0x2ee935(_0x409138,!0x1,_0xe53898,_0x124db0));let _0x13ec2f;_0x3ec4e3[_0x5b2726(0x14b)][_0x3f6c29][_0x5b2726(0x207)]===_0x3ec4e3['getColCount']()?_0x13ec2f=_0x1b6d0b[_0x5b2726(0x3b1)]:_0x3ec4e3[_0x5b2726(0x14b)][_0x3f6c29][_0x5b2726(0x39a)]?_0x13ec2f=_0x3ec4e3[_0x5b2726(0x14b)][_0x3f6c29][_0x5b2726(0x207)]===0x0?_0x1b6d0b[_0x5b2726(0x335)]:_0x1b6d0b[_0x5b2726(0x144)]:_0x13ec2f=_0x1b6d0b['rowStyle'],_0xe53898&&(_0x13ec2f={..._0x13ec2f,'n':{'pattern':_0xe53898}}),_0x435c6d[_0x5b2726(0x1bb)](_0x3f6c29+_0xce9de0,_0xe9d05d+_0x402c59,_0x2e49c0(_0x6eee86,_0x409138,_0x13ec2f,_0x2c8766));}_0x3ec4e3[_0x5b2726(0x14b)][_0x3f6c29]&&(_0x120358[''+(_0x3f6c29+_0xce9de0)]=_0x3ec4e3[_0x5b2726(0x14b)][_0x3f6c29]),_0x3ec4e3['headerMap'][_0x3f6c29]&&(_0x1946b8[''+(_0x3f6c29+_0x402c59)]=_0x3ec4e3[_0x5b2726(0x15f)][_0x3f6c29]);}const _0x5cbd0d=_0x327ef9[_0x5b2726(0xec)](),_0x4b9291=_0x327ef9[_0x5b2726(0x146)]();for(let _0x1c499d=0x0;_0x1c499d<_0x5cbd0d;_0x1c499d++)for(let _0x3abe81=0x0;_0x3abe81<_0x4b9291;_0x3abe81++){const _0x49c420={...(_0x13474c=(_0x2ccd6c=_0x327ef9[_0x5b2726(0x2c4)])==null?void 0x0:_0x2ccd6c[_0x1c499d])==null?void 0x0:_0x13474c[_0x3abe81]};let _0x36bdd2;_0x3ec4e3[_0x5b2726(0x14b)][_0x1c499d][_0x5b2726(0x39a)]?_0x36bdd2=_0x3ec4e3['info'][_0x1c499d][_0x5b2726(0x207)]===0x0?_0x1b6d0b[_0x5b2726(0x335)]:_0x1b6d0b['subTotalStyle']:_0x36bdd2=_0x1b6d0b[_0x5b2726(0x210)];const _0x5b4d7d=_0x3ec4e3['info'][_0x1c499d][_0x5b2726(0x1df)],_0x297944=_0xf32b2e[_0x5b2726(0x14b)][_0x3abe81][_0x5b2726(0x1df)],_0x29653a=Math[_0x5b2726(0x2e9)](_0x5b4d7d,_0x297944),_0x4aba72=_0x428849[_0x5b2726(0x313)][_0x5b2726(0x18c)][_0x5b2726(0xc1)]();let _0x5ad5c6='';_0x29653a<0x0?_0x5ad5c6=(_0x26f404=_0x4aba72[0x0])!=null?_0x26f404:'':_0x5ad5c6=(_0x19066b=_0x4aba72[_0x29653a])!=null?_0x19066b:'';const _0x3eb82d=_0xa1ae38[_0x5ad5c6];_0x3eb82d&&(_0x36bdd2={..._0x36bdd2,'n':{'pattern':_0x3eb82d}}),_0x435c6d[_0x5b2726(0x1bb)](_0x1c499d+_0xce9de0,_0x3abe81+_0x15d301,_0x2e49c0(_0x6eee86,_0x49c420,_0x36bdd2));}return{'valueMatrix':_0x435c6d,'rowInfo':_0x120358,'colInfo':_0x2bd525,'cornerInfo':_0x436548,'rowHeaderMap':_0x1946b8,'colHeaderMap':_0x57223c};};function _0x2ee935(_0x206c92,_0x7b0b83,_0x3c0d75,_0x551d55){const _0xf72c4d=_0x42bb9f;let _0x18a101=_0x206c92['v'];_0x7b0b83&&(_0x18a101=''+_0x551d55[_0xf72c4d(0xed)]);const _0x182216=_0x206c92['t']&&(_0x206c92['t']&_0x2bd302[_0xf72c4d(0x16c)][_0xf72c4d(0x31f)])>0x0;_0x182216&&(_0x18a101=''+_0x551d55[_0xf72c4d(0x1aa)]);const _0x23a8a0=_0x206c92['t']&&(_0x206c92['t']&_0x2bd302['PivotViewCellValueTypeEnum']['other'])>0x0;if(_0x23a8a0&&(_0x18a101=''+_0x551d55[_0xf72c4d(0x167)]),_0x206c92['s']===_0x2bd302[_0xf72c4d(0x227)][_0xf72c4d(0x17c)]){let _0x3ea525=_0x18a101,_0x281460='';_0x2bd302[_0xf72c4d(0x3b0)](_0x18a101)&&(_0x3ea525=_0x18a101[_0xf72c4d(0x275)],_0x281460=_0x18a101[_0xf72c4d(0x2d0)]);const _0x257269=_0x3c0d75&&!_0x182216&&!_0x23a8a0?_0x288eb9[_0xf72c4d(0xb5)][_0xf72c4d(0x2da)](_0x3c0d75,Number(_0x3ea525)):_0x3ea525;_0x281460?_0x18a101=_0x257269+'\x20'+_0x281460:_0x18a101=_0x257269+'\x20'+_0x551d55['sheets-pivot.subTotal'];}else _0x206c92['s']===_0x2bd302[_0xf72c4d(0x227)][_0xf72c4d(0x186)]&&(_0x18a101=_0x18a101+'\x20'+_0x551d55[_0xf72c4d(0x2c3)]);return _0x18a101;}function _0x350af0(_0x244456){const _0x109892=_0x42bb9f;if(_0x2bd302['isErrorValue'](_0x244456)){const {errorType:_0x2fec10}=_0x244456;switch(_0x2fec10){case _0x2bd302['PivotErrorTypeEnum'][_0x109892(0x17a)]:return _0x1407f0[_0x109892(0x123)]['DIV_BY_ZERO'];case _0x2bd302['PivotErrorTypeEnum'][_0x109892(0x361)]:return _0x1407f0[_0x109892(0x123)]['NUM'];case _0x2bd302['PivotErrorTypeEnum'][_0x109892(0x291)]:return _0x1407f0[_0x109892(0x123)]['NAME'];case _0x2bd302['PivotErrorTypeEnum'][_0x109892(0x1dc)]:return _0x1407f0[_0x109892(0x123)][_0x109892(0x174)];case _0x2bd302[_0x109892(0xe0)][_0x109892(0x105)]:return _0x1407f0[_0x109892(0x123)][_0x109892(0xf4)];}}return _0x244456;}function _0x2b2601(_0x58cbb5,_0x2c0990,_0x1d6f07=!0x1,_0xf95cf8=!0x1){const _0x3b86a7=_0x42bb9f,{data:_0x3119a9}=_0x2c0990,_0x429aec=_0x2c0990[_0x3b86a7(0xec)](),_0x4631bb=_0x2c0990[_0x3b86a7(0x146)]();if(_0x429aec<=0x0||_0x4631bb<=0x0)return[];const _0x1a0917=_0x2c0990['getLastCol'](),_0x102863=_0x2c0990[_0x3b86a7(0x1e9)](),_0x3e792c=_0xf95cf8?_0x102863>=0x0?_0x102863+0x1:0x0:_0x429aec,_0x479ae0=_0xf95cf8?_0x1a0917>=0x0?_0x1a0917+0x1:0x0:_0x4631bb,{row:_0x557fcc,col:_0x4b6f51}=_0x58cbb5,_0x367c31=_0x557fcc,_0x408e54=_0x4b6f51;if(_0x1d6f07){const _0x3e1d59=[];for(const [_0x2ecc20,_0x566b08]of Object['entries'](_0x3119a9))for(const [_0x404da2,_0x1a4f22]of Object['entries'](_0x566b08))_0x3e1d59['push'](_0x288eb9[_0x3b86a7(0x104)](_0x367c31+Number(_0x2ecc20),_0x408e54+Number(_0x404da2)));return _0x3e1d59;}else{const _0x4beb5c=_0xf95cf8?_0x3e792c>0x0?0x1:0x0:0x1,_0x5b0e56=_0xf95cf8?_0x479ae0>0x0?0x1:0x0:0x1,_0x45ab4f=_0x557fcc+_0x3e792c-_0x4beb5c,_0x14b114=_0x4b6f51+_0x479ae0-_0x5b0e56;return[{'startRow':_0x367c31,'startColumn':_0x408e54,'endRow':_0x45ab4f,'endColumn':_0x14b114}];}}const _0x34280f=_0x42bb9f(0x28a),_0x1f2a8b=_0x42bb9f(0x345);var _0x5e3388=(_0x4d67af=>(_0x4d67af[_0x42bb9f(0x328)]=_0x42bb9f(0xdc),_0x4d67af[_0x42bb9f(0x2ad)]=_0x42bb9f(0x378),_0x4d67af[_0x42bb9f(0x109)]=_0x42bb9f(0x10d),_0x4d67af[_0x42bb9f(0x166)]=_0x42bb9f(0x166),_0x4d67af[_0x42bb9f(0x2ba)]=_0x42bb9f(0xdb),_0x4d67af[_0x42bb9f(0x1a9)]=_0x42bb9f(0xb0),_0x4d67af[_0x42bb9f(0x151)]=_0x42bb9f(0xb1),_0x4d67af[_0x42bb9f(0xd9)]='setPivotCollapse',_0x4d67af[_0x42bb9f(0x1ba)]=_0x42bb9f(0xa5),_0x4d67af['SetPivotSort']=_0x42bb9f(0xd2),_0x4d67af[_0x42bb9f(0x159)]=_0x42bb9f(0x18b),_0x4d67af['UpdatePivotSource']='updatePivotSource',_0x4d67af[_0x42bb9f(0x1e0)]=_0x42bb9f(0x162),_0x4d67af[_0x42bb9f(0xce)]='drillDown',_0x4d67af[_0x42bb9f(0x323)]=_0x42bb9f(0x1fd),_0x4d67af[_0x42bb9f(0x1d0)]=_0x42bb9f(0x100),_0x4d67af[_0x42bb9f(0x316)]=_0x42bb9f(0x29b),_0x4d67af))(_0x5e3388||{});const _0x183b6d={'sheets-pivot.blankValue':_0x42bb9f(0x2f7),'sheets-pivot.columnName':_0x42bb9f(0x206),'sheets-pivot.subTotalText':_0x42bb9f(0x27a),'sheets-pivot.grandTotalText':_0x42bb9f(0xaa),'sheets-pivot.valueText':_0x42bb9f(0x34e),'sheets-pivot.averageName':_0x42bb9f(0x1e5),'sheets-pivot.countName':_0x42bb9f(0x26b),'sheets-pivot.countNumsName':_0x42bb9f(0x26b),'sheets-pivot.maxName':_0x42bb9f(0x20a),'sheets-pivot.minName':_0x42bb9f(0x13a),'sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0x42bb9f(0x171),'sheets-pivot.stdDevpName':_0x42bb9f(0x21a),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x42bb9f(0x1cd),'sheets-pivot.varpName':_0x42bb9f(0x17f),'sheets-pivot.subTotal':_0x42bb9f(0x17c),'sheets-pivot.grandTotal':_0x42bb9f(0xaa),'sheets-pivot.value':'value','sheets-pivot.blank':'blank','sheets-pivot.other':'other','sheets-pivot.emptyPivot.filter':_0x42bb9f(0x328),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x42bb9f(0x2b9),'sheets-pivot.emptyPivot.values':_0x42bb9f(0x2af)},_0x3a0a88={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x5ce99e=_0x288eb9[_0x42bb9f(0x2b6)](_0x42bb9f(0x140)),_0x1ab638=_0x288eb9[_0x42bb9f(0x30b)](_0x42bb9f(0x1a7));var _0x521660=(_0x15e91b=>(_0x15e91b['add']='add',_0x15e91b['delete']=_0x42bb9f(0x1ca),_0x15e91b[_0x42bb9f(0x307)]=_0x42bb9f(0x307),_0x15e91b))(_0x521660||{}),_0x2de5fe=(_0x4e6a9c=>(_0x4e6a9c[_0x42bb9f(0xe6)]='add',_0x4e6a9c[_0x42bb9f(0x1d1)]=_0x42bb9f(0x22c),_0x4e6a9c[_0x42bb9f(0x163)]=_0x42bb9f(0x1ca),_0x4e6a9c))(_0x2de5fe||{});const _0x459da1={'type':_0x288eb9[_0x42bb9f(0x2fa)]['MUTATION'],'id':_0x42bb9f(0x3ae),'handler':()=>!0x0},_0x37b8d8={'type':_0x288eb9['CommandType']['MUTATION'],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x1b400c={'type':_0x288eb9['CommandType'][_0x42bb9f(0x20b)],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x5d1784={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0x20b)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x157f7e={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x130),'handler':()=>!0x0};var _0x266704=Object[_0x42bb9f(0x235)],_0x3f2eb0=(_0x3bd5f8,_0x241a1d,_0x4f1ae4,_0x3b13e1)=>{for(var _0x5424db=_0x3b13e1>0x1?void 0x0:_0x3b13e1?_0x266704(_0x241a1d,_0x4f1ae4):_0x241a1d,_0x17dbfc=_0x3bd5f8['length']-0x1,_0x3b92ad;_0x17dbfc>=0x0;_0x17dbfc--)(_0x3b92ad=_0x3bd5f8[_0x17dbfc])&&(_0x5424db=_0x3b92ad(_0x5424db)||_0x5424db);return _0x5424db;},_0x52d011=(_0x2a5fcf,_0x5e7e3d)=>(_0x5f0c85,_0x2a0b12)=>_0x5e7e3d(_0x5f0c85,_0x2a0b12,_0x2a5fcf);_0x5bf755['SheetsPivotRPCService']=class extends _0x288eb9[_0x42bb9f(0x3a9)]{constructor(_0x8a08c8){const _0x3a5c7f=_0x42bb9f;super(),_0x4fb07d(this,_0x3a5c7f(0x290),new Map()),this[_0x3a5c7f(0x370)]=_0x8a08c8;}['handleAsyncResponse'](_0x290027){const _0x3037e2=_0x42bb9f,{version:_0x3a2639}=_0x290027,_0x4959c1=this['_requestResolvers'][_0x3037e2(0x239)](_0x3a2639);_0x4959c1&&(_0x4959c1(_0x290027),this[_0x3037e2(0x290)][_0x3037e2(0x1ca)](_0x3a2639));}[_0x42bb9f(0x2eb)](_0x5bb1c2){return new Promise((_0x387d52,_0x395fca)=>{const _0x259970=_0x2df4,_0x495fcb=this[_0x259970(0xca)]();this[_0x259970(0x290)][_0x259970(0x22c)](_0x495fcb,_0x387d52),this[_0x259970(0x370)][_0x259970(0x9e)](_0x459da1['id'],{'version':_0x495fcb,..._0x5bb1c2},{'onlyLocal':!0x0});});}[_0x42bb9f(0xca)](){const _0x5b2092=_0x42bb9f;return Math[_0x5b2092(0x106)]()[_0x5b2092(0x30a)](0x24)[_0x5b2092(0x24b)](0x2,0x10);}},_0x5bf755['SheetsPivotRPCService']=_0x3f2eb0([_0x52d011(0x0,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0x19d)]))],_0x5bf755[_0x42bb9f(0x330)]);const _0x2b3b30={0x0:'g',0x1:'C',0x2:'G',0x3:'k',0x4:'N',0x5:'v',0x6:'o',0x7:'K',0x8:'c',0x9:'y','t':'0','Z':'1','N':'2','n':'3','v':'4','R':'5','X':'6','y':'7','P':'8','U':'9','G':'a','d':'b','c':'d','b':'e','h':'f','f':'h','B':'i','T':'j','L':'l','Q':'m','a':'n','O':'p','A':'q','m':'r','s':'s','l':'t','S':'u','k':'w','I':'x','o':'z','K':'A','E':'B','q':'D','H':'E','u':'F','F':'H','W':'I','e':'J','D':'L','g':'M','r':'O','p':'P','Y':'Q','z':'R','x':'S','V':'T','C':'U','J':'V','w':'W','i':'X','j':'Y','M':'Z'},_0x458ac8=_0x42bb9f(0xfd),_0xff2d2d=_0x7179cd=>{const _0x59f9f5=_0x42bb9f;var _0x135886;return((_0x135886=_0x7179cd[_0x59f9f5(0x13c)])==null?void 0x0:_0x135886[_0x59f9f5(0x120)][_0x59f9f5(0x2a9)](/\r\n$/,''))||'';};class _0x1d076f extends _0x2bd302[_0x42bb9f(0x334)]{constructor(_0x2171f8,_0x4a6014){const _0x1d76bf=_0x42bb9f;super(),_0x4fb07d(this,_0x1d76bf(0xc7),{}),_0x4fb07d(this,_0x1d76bf(0x1d4)),_0x4fb07d(this,_0x1d76bf(0x2c5)),(this[_0x1d76bf(0x1d4)]=_0x4a6014,this[_0x1d76bf(0x2c5)]=_0x2171f8);}[_0x42bb9f(0x284)](){const _0x4f2c51=_0x42bb9f;for(const _0x35290b in this[_0x4f2c51(0xd6)]){const _0x1021c7=this[_0x4f2c51(0xd6)][_0x35290b],_0x1a01e3=_0x1021c7['getRangeKey']();this[_0x4f2c51(0xc7)][_0x1a01e3]=_0x1021c7[_0x4f2c51(0x37c)]();}}['getAutoDisplayNameFunction'](){const _0x4d89c3=_0x42bb9f,_0xe82afe=this['_host'];return _0x346465[_0x4d89c3(0xb3)](_0xe82afe);}['deleteDataField'](_0x5c76d8){const _0x3435cb=_0x42bb9f,_0x8b2806=this[_0x3435cb(0xd6)][_0x5c76d8][_0x3435cb(0x216)];delete this[_0x3435cb(0xd6)][_0x5c76d8],delete this[_0x3435cb(0xc7)][_0x8b2806];}['addDataFieldWithoutUnitInfo'](_0x2650c3){const _0x23fec5=_0x42bb9f;this[_0x23fec5(0xd6)][_0x2650c3[_0x23fec5(0x37c)]()]=_0x2650c3;}['removeCollectionImp'](_0x40e134){const _0x2bd51c=_0x42bb9f;var _0x36ab6e,_0x516dbe;const _0x764166=this[_0x2bd51c(0x2c5)][_0x2bd51c(0x33f)](_0x40e134);if(_0x764166){const {unitId:_0xde6593,subUnitId:_0x183a04}=_0x764166,_0x4a6275=(_0x36ab6e=this[_0x2bd51c(0x2c5)][_0x2bd51c(0x9b)](_0xde6593,_0x183a04,_0x40e134))==null?void 0x0:_0x36ab6e[_0x2bd51c(0x156)];this[_0x2bd51c(0x2c5)][_0x2bd51c(0x233)]({'token':_0x40e134,'type':_0x521660['delete'],'dataRangeInfo':_0x4a6275});}(_0x516dbe=this[_0x2bd51c(0x2c8)](_0x40e134))==null||_0x516dbe[_0x2bd51c(0x10c)](),delete this[_0x2bd51c(0x211)][_0x40e134];}[_0x42bb9f(0x11d)](_0x2f845d,_0x988839){const _0xe62b90=_0x42bb9f,{sheetName:_0x4cf04d,unitId:_0x264163,range:_0x3ed6be}=_0x2f845d,{startRow:_0x4a1463,endRow:_0x5588a3}=_0x3ed6be;return _0x1407f0[_0xe62b90(0x2ae)](_0x264163,_0x4cf04d,{'startRow':_0x4a1463,'endRow':_0x5588a3,'startColumn':_0x988839,'endColumn':_0x988839});}['getDataFieldByRangeKey'](_0x3bf6a3){const _0x306fcc=_0x42bb9f;return this[_0x306fcc(0xd6)][this[_0x306fcc(0xc7)][_0x3bf6a3]];}[_0x42bb9f(0xfe)](_0x20ff70,_0x1a8f1d){this['rangeKeyMap'][_0x20ff70]=_0x1a8f1d;}[_0x42bb9f(0x37a)](_0x1a3ea5,_0x280a65){const _0x4ebd26=_0x42bb9f;this['rangeKeyMap'][_0x280a65]=this[_0x4ebd26(0xc7)][_0x1a3ea5],delete this['rangeKeyMap'][_0x1a3ea5];}[_0x42bb9f(0x3a0)](_0x234b41,_0x3f4036,_0x3cd614,_0x4ea24c){const _0x4427c9=_0x42bb9f,_0x1a39c2=new _0x2bd302[(_0x4427c9(0x319))](this);_0x1a39c2['fromJSON'](_0x3f4036);const _0x1650da=[];let _0x3859a6=0x0;for(const _0x48276f of _0x1a39c2[_0x4427c9(0x2e0)]){const _0x270915=this[_0x4427c9(0x11d)](_0x3cd614,_0x3859a6),_0x463d77=this[_0x4427c9(0xd6)][_0x48276f];_0x463d77&&(_0x463d77[_0x4427c9(0x216)]=_0x270915,this['setRangeKeyMap'](_0x270915,_0x48276f),_0x1650da['push']({'index':_0x3859a6,'dataField':_0x463d77})),_0x3859a6++;}return this[_0x4427c9(0xaf)](_0x234b41,_0x1a39c2,_0x3cd614,_0x4ea24c),{'collection':_0x1a39c2,'updateDataFieldList':_0x1650da};}[_0x42bb9f(0x1e3)](_0x227d36,_0xbc6032){const _0x3c962b=_0x42bb9f;return _0x227d36[_0x3c962b(0x195)]===_0x288eb9[_0x3c962b(0x231)][_0x3c962b(0x340)]?{'startRow':0x0,'startColumn':_0x227d36[_0x3c962b(0x1c9)],'endRow':_0xbc6032[_0x3c962b(0xec)]()-0x1,'endColumn':_0x227d36['endColumn']}:{'startRow':_0x227d36[_0x3c962b(0x36a)],'startColumn':_0x227d36[_0x3c962b(0x1c9)],'endRow':_0x227d36[_0x3c962b(0x241)],'endColumn':_0x227d36['endColumn']};}[_0x42bb9f(0x35b)](_0x140e74){const _0xf3624e=_0x42bb9f,{sheetName:_0x2d57aa,range:_0x1e677d}=_0x140e74,_0x1a9ca6=this[_0xf3624e(0x1d4)][_0xf3624e(0x1a0)](_0x288eb9[_0xf3624e(0x175)]['UNIVER_SHEET']),_0x40e2fe=_0x1a9ca6[_0xf3624e(0x2d2)](_0x2d57aa),_0x529964=_0x40e2fe[_0xf3624e(0x102)](),{startColumn:_0x4d16e5,startRow:_0x4961ad,endColumn:_0x41716b}=this[_0xf3624e(0x1e3)](_0x1e677d,_0x40e2fe),_0x105d66=_0x1a9ca6['getStyles'](),_0x1dc98d=new _0x2bd302[(_0xf3624e(0x319))](this);_0x1dc98d[_0xf3624e(0x35e)](_0x140e74);const _0x3b6e9f=[],_0x1ce5dd={};for(let _0x2d14a2=_0x4d16e5;_0x2d14a2<=_0x41716b;_0x2d14a2++){const _0x321849=_0x529964[_0xf3624e(0x187)](_0x4961ad,_0x2d14a2),_0x4b72af=this['getRangeKey'](_0x140e74,_0x2d14a2),_0x437e5e=this[_0xf3624e(0x27c)](_0x4b72af);if(_0x437e5e)_0x1dc98d[_0xf3624e(0x2e4)](_0x437e5e[_0xf3624e(0x37c)](),_0x437e5e['getName']());else{const _0x41db3b=this[_0xf3624e(0x1de)]();let _0x29d9e3=this[_0xf3624e(0x2fb)](_0x321849,_0x105d66,_0x1ce5dd);_0x2bd302[_0xf3624e(0xac)](_0x29d9e3)&&(_0x29d9e3=_0x288eb9[_0xf3624e(0xb5)][_0xf3624e(0x2da)](_0x29d9e3['f'],Number(_0x29d9e3['v'])));const _0x4dbad6=this[_0xf3624e(0x125)](_0x29d9e3,_0x2d14a2),_0xa7bfff=new _0x2bd302[(_0xf3624e(0x372))](_0x41db3b,_0x4dbad6,_0x2bd302['generateHexNumber'](0x3));_0xa7bfff[_0xf3624e(0x216)]=_0x4b72af,this[_0xf3624e(0xd6)][_0x41db3b]=_0xa7bfff,_0x1dc98d[_0xf3624e(0x2e4)](_0x41db3b,_0x4dbad6),_0x3b6e9f[_0xf3624e(0x364)]({'index':_0x2d14a2,'dataField':_0xa7bfff});}}return{'updateDataFieldList':_0x3b6e9f,'collection':_0x1dc98d};}['_getAutoName'](_0x16b731){const _0x5bbfea=_0x42bb9f;return this[_0x5bbfea(0x2c5)][_0x5bbfea(0x128)]()['sheets-pivot.columnName']+'\x20'+_0x288eb9[_0x5bbfea(0x2e3)](_0x16b731);}['uniqueDataFieldName'](_0x58ca11,_0x3d118b){const _0x393bb5=_0x42bb9f;return _0x58ca11==null||_0x58ca11===''?this[_0x393bb5(0xee)](_0x3d118b):String(_0x58ca11);}[_0x42bb9f(0x2c8)](_0x425d2a){const _0x2f0d83=_0x42bb9f;return this[_0x2f0d83(0x211)][_0x425d2a];}[_0x42bb9f(0xaf)](_0x386f45,_0xa16b63,_0x106434,_0x382df4){const _0x5319b8=_0x42bb9f;this[_0x5319b8(0x211)][_0x386f45]=_0xa16b63,_0xa16b63[_0x5319b8(0x35e)](_0x106434),this['_host'][_0x5319b8(0x233)]({'token':_0x386f45,'type':_0x521660[_0x5319b8(0x246)],'dataRangeInfo':_0x106434,'targetCellInfo':_0x382df4});}['handleMoveRange'](_0x5019d9,_0x44269a){const _0x299fd8=_0x42bb9f,_0x30bc65=this[_0x299fd8(0x2c8)](_0x5019d9),_0x57f229=_0x30bc65['getFieldIds']();let _0x47031b=0x0;for(const _0x5539bb of _0x57f229){const _0x2eec3d=_0x30bc65[_0x299fd8(0xfb)](_0x5539bb),_0xf23e15=this[_0x299fd8(0x11d)](_0x44269a,_0x47031b);this['updateRangeKeyMap'](_0x2eec3d[_0x299fd8(0x216)],_0xf23e15),_0x47031b++;}}[_0x42bb9f(0x296)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x42bb9f(0x22b)](_0x4b2175,_0x2cdf3b){const _0x2edd5a=_0x42bb9f;if(this[_0x2edd5a(0x2c8)](_0x4b2175)){const _0x4bdf27=this[_0x2edd5a(0x116)](_0x2cdf3b),_0xab556=[];for(const _0x4fffc8 of _0x4bdf27)this[_0x2edd5a(0xc7)][_0x4fffc8]!==void 0x0&&_0xab556['push'](this['rangeKeyMap'][_0x4fffc8]);const _0x5d225e=this[_0x2edd5a(0x260)](_0x4b2175),_0x320605=[],_0x194829=new Set(_0xab556);for(const _0x557003 of _0x5d225e)_0x194829['has'](_0x557003)||_0x320605[_0x2edd5a(0x364)](_0x557003);return _0x320605;}}[_0x42bb9f(0x14c)](_0x14cfb7,_0x35c36b,_0x178da1,_0x4409cb,_0x21de6d){const _0x24918f=_0x42bb9f;return _0x35c36b&&_0x35c36b[_0x24918f(0x187)](_0x4409cb,_0x21de6d)?_0x35c36b[_0x24918f(0x187)](_0x4409cb,_0x21de6d):_0x178da1&&_0x178da1['getValue'](_0x4409cb,_0x21de6d)?_0x178da1[_0x24918f(0x187)](_0x4409cb,_0x21de6d):_0x14cfb7['getValue'](_0x4409cb,_0x21de6d);}['refreshDataField'](_0x1877c1,_0x2d2ebf,_0x28c108,_0x41fb63){const _0x5c4a88=_0x42bb9f,_0x4af02a=this['dataFields'][_0x1877c1];if(!_0x4af02a)return;const {subUnitId:_0x3793ce,range:_0x2929dd,unitId:_0x511678}=_0x2d2ebf,_0x1972ba=this[_0x5c4a88(0x1d4)][_0x5c4a88(0x264)](_0x511678);if(!_0x1972ba){console[_0x5c4a88(0x1e6)](_0x5c4a88(0x292));return;}const _0x51d749=_0x1972ba[_0x5c4a88(0xb7)](_0x3793ce),_0x299cfb=_0x51d749['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x35cac9,unitDataMatrix:_0x5ff3df}=_0x41fb63||{},{startRow:_0x2eafc5,startColumn:_0x3ca8f0,endRow:_0x488a81}=this['getRangeStartEndInfo'](_0x2929dd,_0x51d749);_0x4af02a['reset']();const _0x57d00d=_0x1972ba[_0x5c4a88(0xa4)](),_0x2e8362={},_0x1a84ad=this[_0x5c4a88(0x14c)](_0x299cfb,_0x35cac9,_0x5ff3df,_0x2eafc5,_0x3ca8f0+_0x28c108);let _0x5c67c8=this[_0x5c4a88(0x2fb)](_0x1a84ad,_0x57d00d,_0x2e8362);_0x2bd302[_0x5c4a88(0xac)](_0x5c67c8)&&(_0x5c67c8=_0x288eb9[_0x5c4a88(0xb5)][_0x5c4a88(0x2da)](_0x5c67c8['f'],Number(_0x5c67c8['v'])));const _0x5c7bee=this['uniqueDataFieldName'](_0x5c67c8,_0x3ca8f0+_0x28c108);_0x4af02a['setName'](_0x5c7bee);for(let _0x33f7d5=_0x2eafc5+0x1;_0x33f7d5<=_0x488a81;_0x33f7d5++){const _0x556797=this[_0x5c4a88(0x14c)](_0x299cfb,_0x35cac9,_0x5ff3df,_0x33f7d5,_0x3ca8f0+_0x28c108);_0x4af02a[_0x5c4a88(0x129)](this[_0x5c4a88(0x2fb)](_0x556797,_0x57d00d,_0x2e8362),_0x33f7d5-0x1-_0x2eafc5);}}[_0x42bb9f(0x8b)](_0x410024,_0x35c667,_0x578307){const _0x46db77=_0x42bb9f,{subUnitId:_0xe21eb7,range:_0x2c07d6,unitId:_0x51929e}=_0x578307,_0x533283=this[_0x46db77(0x1d4)][_0x46db77(0x264)](_0x51929e);if(!_0x533283){console[_0x46db77(0x1e6)](_0x46db77(0x292));return;}const _0x3d325d=_0x533283[_0x46db77(0xb7)](_0xe21eb7),_0x2fbcd4=_0x3d325d[_0x46db77(0x102)](),{startRow:_0x5be81b,startColumn:_0x33fd80,endRow:_0x10ffc8}=this[_0x46db77(0x1e3)](_0x2c07d6,_0x3d325d),_0x599319=_0x533283['getStyles'](),_0x35f667={};for(const {dataField:_0x312630,index:_0x24b628}of _0x35c667){_0x312630['reset']();const _0x2895f2=this[_0x46db77(0x14c)](_0x2fbcd4,void 0x0,void 0x0,_0x5be81b,_0x33fd80+_0x24b628);let _0x399c57=this['adjustSheetCellData'](_0x2895f2,_0x599319,_0x35f667);_0x2bd302[_0x46db77(0xac)](_0x399c57)&&(_0x399c57=_0x288eb9[_0x46db77(0xb5)][_0x46db77(0x2da)](_0x399c57['f'],Number(_0x399c57['v'])));const _0x23ccd5=this[_0x46db77(0x125)](_0x399c57,_0x33fd80+_0x24b628);_0x312630[_0x46db77(0x388)](_0x23ccd5);}_0x410024[_0x46db77(0x314)]();for(let _0x167f46=_0x5be81b+0x1;_0x167f46<=_0x10ffc8;_0x167f46++)for(const {index:_0x5d1bcc,dataField:_0x29fe3f}of _0x35c667){const _0x1ec3bd=_0x2fbcd4[_0x46db77(0x187)](_0x167f46,_0x33fd80+_0x5d1bcc);_0x29fe3f[_0x46db77(0x129)](this[_0x46db77(0x2fb)](_0x1ec3bd,_0x599319,_0x35f667),_0x167f46-0x1-_0x5be81b);}_0x410024[_0x46db77(0x321)](_0x10ffc8-_0x5be81b);}[_0x42bb9f(0x116)](_0xd5593){const _0x2cee1a=_0x42bb9f,{range:_0x4885d0}=_0xd5593,{startColumn:_0x300309,endColumn:_0x599608}=_0x4885d0,_0x496968=[];for(let _0x4edc36=_0x300309;_0x4edc36<=_0x599608;_0x4edc36++)_0x496968['push'](this[_0x2cee1a(0x11d)](_0xd5593,_0x4edc36));return _0x496968;}['adjustSheetCellData'](_0x150cce,_0x4405d3,_0x5b5445){const _0x297552=_0x42bb9f;if(_0x150cce){const {s:_0x3c7bf0,v:_0xa87c47,t:_0x1a8ffe,p:_0x2117d5}=_0x150cce;if(_0x2117d5)return _0xff2d2d(_0x2117d5);const _0x318b69=_0x4405d3[_0x297552(0x239)](_0x3c7bf0);if(_0x318b69&&_0x1a8ffe===_0x288eb9['CellValueType']['NUMBER']&&_0x318b69['n']){const {pattern:_0x163fe4}=_0x318b69['n'];_0x5b5445[_0x163fe4]||(_0x5b5445[_0x163fe4]=_0x288eb9['numfmt'][_0x297552(0x28c)](_0x163fe4));const _0x1e21f0=_0x5b5445[_0x163fe4],_0x10300f=_0x1e21f0[_0x297552(0xf3)];if(_0x1e21f0[_0x297552(0x258)])return String(_0xa87c47);if(_0x10300f)return{'v':_0xa87c47,'f':_0x163fe4};}if(_0x1a8ffe===_0x288eb9[_0x297552(0x3ab)][_0x297552(0x2d3)])return Number(_0xa87c47);if(_0x1a8ffe===_0x288eb9[_0x297552(0x3ab)][_0x297552(0x38c)]||_0x1a8ffe===_0x288eb9[_0x297552(0x3ab)]['FORCE_STRING'])return String(_0xa87c47);if(_0x1a8ffe===void 0x0){const _0x4a3b3c=Number(_0xa87c47);if(!Number['isNaN'](_0x4a3b3c)&&String(_0x4a3b3c)===_0xa87c47)return _0x4a3b3c;}return _0xa87c47!=null?_0xa87c47:null;}else return null;}['getRangeData'](_0xf2d832){const _0x2ba845=_0x42bb9f,{sheetName:_0x3a5697,range:_0x1efe8f,unitId:_0x1e7627}=_0xf2d832,_0x325805=this['_univerInstanceService'][_0x2ba845(0x264)](_0x1e7627);if(!_0x325805)return console[_0x2ba845(0x1e6)](_0x2ba845(0x292)),{'header':[],'data':[]};const _0x139a64=_0x325805['getSheetBySheetName'](_0x3a5697),_0x3f28a1=_0x139a64[_0x2ba845(0x102)](),{startRow:_0x771a3f,startColumn:_0x5a6b3d,endRow:_0x5453d3,endColumn:_0x31b8f4}=this['getRangeStartEndInfo'](_0x1efe8f,_0x139a64),_0x17a634=_0x325805['getStyles'](),_0x1eba76=[],_0x112d63=[],_0x546fee={};for(let _0x193bd5=_0x771a3f;_0x193bd5<=_0x5453d3;_0x193bd5++){const _0x34a222=[];for(let _0x3330d0=_0x5a6b3d;_0x3330d0<=_0x31b8f4;_0x3330d0++){const _0x3ab1bb=_0x3f28a1['getValue'](_0x193bd5,_0x3330d0);_0x193bd5===_0x771a3f?_0x1eba76[_0x2ba845(0x364)](_0x3ab1bb==null?null:String(_0x3ab1bb['v'])):_0x34a222[_0x2ba845(0x364)](this[_0x2ba845(0x2fb)](_0x3ab1bb,_0x17a634,_0x546fee));}_0x112d63[_0x2ba845(0x364)](_0x34a222);}return{'header':_0x1eba76,'data':_0x112d63};}[_0x42bb9f(0x90)](){const _0x573810=_0x42bb9f;return super[_0x573810(0x90)]();}[_0x42bb9f(0x9a)](_0x4a1cb5){const _0x5a1500=_0x42bb9f;super[_0x5a1500(0x9a)](_0x4a1cb5),this[_0x5a1500(0x284)]();}[_0x42bb9f(0x10c)](){const _0x442e1a=_0x42bb9f;super[_0x442e1a(0x10c)](),this[_0x442e1a(0xc7)]={},this[_0x442e1a(0x2c5)]=null;}}const _0x38ec2e=_0x1a1a04=>{const _0x45aa20=_0x42bb9f,{targetCellInfo:_0x410838}=_0x1a1a04,{matrixCache:_0x5dd102,rangesCache:_0x39e60a}=_0x3dd3c1({'filter':_0x45aa20(0x328),'row':_0x45aa20(0x1d7),'column':_0x45aa20(0x2b9),'values':_0x45aa20(0x2af)},_0x410838),_0x503bfb=new _0x288eb9[(_0x45aa20(0x280))]();return _0x5dd102['forValue']((_0x52ba31,_0x564e51,_0x30637a)=>{_0x503bfb['setValue'](_0x52ba31,_0x564e51,_0x30637a);}),{'matrix':_0x503bfb,'rangesCache':_0x39e60a};},_0x52b779=_0x30e9a4=>{const _0x24e87a=_0x42bb9f;let _0x2c18bd;if(_0x30e9a4!=null&&_0x30e9a4['v']||(_0x30e9a4==null?void 0x0:_0x30e9a4['v'])===0x0){_0x2c18bd||(_0x2c18bd={});const _0xbeb86=_0x350af0(_0x30e9a4['v']);typeof _0xbeb86=='number'?_0x2c18bd['t']=_0x288eb9[_0x24e87a(0x3ab)]['NUMBER']:typeof _0xbeb86==_0x24e87a(0x16e)&&(_0x2c18bd['t']=_0x288eb9[_0x24e87a(0x3ab)][_0x24e87a(0x38c)]),_0x2c18bd['v']=_0xbeb86;}return _0x2c18bd;},_0x41af84=(_0x4a99d7,_0x2a6cb5,_0x1b669e)=>{const _0x13a441=_0x42bb9f;var _0x58d132,_0x50a5e2,_0xd14d13,_0x35155c,_0x57a989,_0x13ae33,_0x369a80,_0x223e5b,_0x285cb2,_0xc81d82,_0x413bc7,_0x7fcac3;const {cornerView:_0x1209ae,rowView:_0x570450,colView:_0x217b7a,dataView:_0x5db296,pageView:_0x5e6a91,formatMap:_0x2d1247}=_0x4a99d7,{row:_0xbf16d8,col:_0x5ef992}=_0x2a6cb5,_0x5eaf0a=new _0x288eb9[(_0x13a441(0x280))]();let _0x5ca665=_0xbf16d8,_0x3f0669=_0x5ef992;Object[_0x13a441(0x237)](_0x5e6a91[_0x13a441(0x2c4)])['forEach'](_0x1ef1d8=>{const _0x109388=_0x13a441;Object[_0x109388(0x237)](_0x5e6a91['data'][Number(_0x1ef1d8)])[_0x109388(0x36d)](_0x3ea650=>{const _0x223fd0=_0x109388,_0x327091={..._0x5e6a91[_0x223fd0(0x2c4)][Number(_0x1ef1d8)][Number(_0x3ea650)]};_0x5eaf0a[_0x223fd0(0x1bb)](Number(_0x1ef1d8)+_0x5ca665,Number(_0x3ea650)+_0x3f0669,_0x52b779(_0x327091));});});const _0x2344b5=Object[_0x13a441(0x237)](_0x5e6a91[_0x13a441(0x2c4)])[_0x13a441(0x8f)];_0x5ca665+=_0x2344b5+(_0x2344b5?_0x4bce21:0x0);const _0x18fc74=_0x1209ae['getRowCount'](),_0x40c1e2=_0x1209ae[_0x13a441(0x146)]();for(let _0x59504a=0x0;_0x59504a<_0x18fc74;_0x59504a++)for(let _0x15392c=0x0;_0x15392c<_0x40c1e2;_0x15392c++){const _0x5740a2={...(_0x50a5e2=(_0x58d132=_0x1209ae['data'])==null?void 0x0:_0x58d132[_0x59504a])==null?void 0x0:_0x50a5e2[_0x15392c]};_0x5740a2&&((_0xd14d13=_0x570450['headerMap'][_0x15392c])!=null&&_0xd14d13[_0x13a441(0x278)])&&_0x15392c===_0x40c1e2-0x1&&_0x59504a===_0x18fc74-0x1&&(_0x5740a2['v']=''+_0x1b669e[_0x13a441(0xed)]),_0x5eaf0a[_0x13a441(0x1bb)](_0x59504a+_0x5ca665,_0x15392c+_0x3f0669,_0x52b779(_0x5740a2));}_0x3f0669+=_0x40c1e2;const _0xb918bf=_0x217b7a[_0x13a441(0x15f)],_0x21238b=_0x217b7a[_0x13a441(0x1e9)]()>=0x0?_0x217b7a['getLastRow']()+0x1:0x0,_0x4b1701=_0x217b7a[_0x13a441(0xf0)]()>=0x0?_0x217b7a[_0x13a441(0xf0)]()+0x1:0x0;for(let _0x1b6205=0x0;_0x1b6205<_0x4b1701;_0x1b6205++)for(let _0x2dc50f=0x0;_0x2dc50f<_0x21238b;_0x2dc50f++){const _0xe95b27={...(_0x57a989=(_0x35155c=_0x217b7a[_0x13a441(0x2c4)])==null?void 0x0:_0x35155c[_0x1b6205])==null?void 0x0:_0x57a989[_0x2dc50f]},_0x47851=(_0x13ae33=_0xb918bf[_0x1b6205])==null?void 0x0:_0x13ae33[_0x13a441(0x11e)],_0x218c3b=_0x2d1247[_0x47851];_0xe95b27&&(_0xe95b27['v']=_0x2ee935(_0xe95b27,_0x1b6205===0x0&&((_0x369a80=_0x217b7a[_0x13a441(0x25a)](_0x2dc50f+0x1))==null?void 0x0:_0x369a80[_0x13a441(0x278)]),_0x218c3b,_0x1b669e)),_0x5eaf0a[_0x13a441(0x1bb)](_0x1b6205+_0x5ca665,_0x2dc50f+_0x3f0669,_0x52b779(_0xe95b27));}_0x5ca665+=_0x18fc74;const _0x43bdb3=_0x570450[_0x13a441(0x15f)],_0x20bf3c=_0x570450[_0x13a441(0x1e9)]()>=0x0?_0x570450[_0x13a441(0x1e9)]()+0x1:0x0,_0x1b76c4=_0x570450[_0x13a441(0xf0)]()>=0x0?_0x570450['getLastCol']()+0x1:0x0;for(let _0x50af20=0x0;_0x50af20<_0x20bf3c;_0x50af20++)for(let _0xeef3c=0x0;_0xeef3c<_0x1b76c4;_0xeef3c++){const _0x743bbe={...(_0x285cb2=(_0x223e5b=_0x570450[_0x13a441(0x2c4)])==null?void 0x0:_0x223e5b[_0x50af20])==null?void 0x0:_0x285cb2[_0xeef3c]},_0x55df4d=(_0xc81d82=_0x43bdb3[_0xeef3c])==null?void 0x0:_0xc81d82[_0x13a441(0x11e)],_0x525fe3=_0x2d1247[_0x55df4d];_0x743bbe&&(_0x743bbe['v']=_0x2ee935(_0x743bbe,!0x1,_0x525fe3,_0x1b669e)),_0x5eaf0a['setValue'](_0x50af20+_0x5ca665,_0xeef3c+_0x5ef992,_0x52b779(_0x743bbe));}const _0x395fd5=_0x5db296[_0x13a441(0xec)](),_0xc212fd=_0x5db296[_0x13a441(0x146)]();for(let _0x549a9d=0x0;_0x549a9d<_0x395fd5;_0x549a9d++)for(let _0x397282=0x0;_0x397282<_0xc212fd;_0x397282++){const _0x3045bc={...(_0x7fcac3=(_0x413bc7=_0x5db296['data'])==null?void 0x0:_0x413bc7[_0x549a9d])==null?void 0x0:_0x7fcac3[_0x397282]};_0x5eaf0a['setValue'](_0x549a9d+_0x5ca665,_0x397282+_0x3f0669,_0x52b779(_0x3045bc));}return _0x5eaf0a;},_0x444729=_0x23d11d=>{const _0x5e3679=_0x42bb9f,{view:_0x2274c1,targetCellInfo:_0x307d0e,isEmpty:_0x4310d8,textInfo:_0x43b4df}=_0x23d11d;if(_0x4310d8)return _0x38ec2e(_0x23d11d);const {pageView:_0x3e5b28,cornerView:_0x41789c,rowView:_0x443697,colView:_0x2d7d50,dataView:_0x40e6e6}=_0x2274c1,_0x45b9aa=_0x2b2601(_0x307d0e,_0x3e5b28,!0x0),_0x5f31f0=_0x3e5b28['lastRow']>=0x0?_0x3e5b28[_0x5e3679(0x1ef)]+0x1:0x0,_0x49dc8d=_0x41789c[_0x5e3679(0xec)](),_0x55ed01=_0x41789c[_0x5e3679(0x146)](),_0x555562=_0x45b9aa[_0x5e3679(0x8f)]>0x0?_0x4bce21:0x0,_0x409ae0=_0x2b2601({'row':_0x307d0e[_0x5e3679(0x392)]+_0x5f31f0+_0x555562,'col':_0x307d0e[_0x5e3679(0x113)]},_0x41789c,!0x1,!0x1),_0x586f09=_0x2b2601({'row':_0x307d0e['row']+_0x5f31f0+_0x555562+_0x49dc8d,'col':_0x307d0e[_0x5e3679(0x113)]},_0x443697,!0x1,!0x0),_0x5a9e5e=_0x2b2601({'row':_0x307d0e[_0x5e3679(0x392)]+_0x5f31f0+_0x555562,'col':_0x307d0e[_0x5e3679(0x113)]+_0x55ed01},_0x2d7d50,!0x1,!0x0),_0x24c632=_0x2b2601({'row':_0x307d0e['row']+_0x5f31f0+_0x555562+_0x49dc8d,'col':_0x307d0e[_0x5e3679(0x113)]+_0x55ed01},_0x40e6e6,!0x1,!0x1),_0x29b6aa={'rowRanges':_0x586f09,'colRanges':_0x5a9e5e,'cornerRanges':_0x409ae0,'dataRanges':_0x24c632,'pageRanges':_0x45b9aa};return{'matrix':_0x41af84(_0x2274c1,_0x307d0e,_0x43b4df),'rangesCache':_0x29b6aa};};var _0x5983a4=Object[_0x42bb9f(0x235)],_0x5191e8=(_0x28a9b4,_0x3c4ee9,_0x292e3e,_0x3d9282)=>{const _0xdf2306=_0x42bb9f;for(var _0x20e4a1=_0x3d9282>0x1?void 0x0:_0x3d9282?_0x5983a4(_0x3c4ee9,_0x292e3e):_0x3c4ee9,_0x34c97c=_0x28a9b4[_0xdf2306(0x8f)]-0x1,_0x34faea;_0x34c97c>=0x0;_0x34c97c--)(_0x34faea=_0x28a9b4[_0x34c97c])&&(_0x20e4a1=_0x34faea(_0x20e4a1)||_0x20e4a1);return _0x20e4a1;},_0x228e71=(_0x129e40,_0x20a59e)=>(_0x51dbb3,_0x37f879)=>_0x20a59e(_0x51dbb3,_0x37f879,_0x129e40);_0x5bf755[_0x42bb9f(0x1ae)]=class extends _0x288eb9['Disposable']{constructor(_0x4e820b,_0x278523,_0x14b244,_0x42c205,_0x5e4990){const _0x55a1d6=_0x42bb9f;super(),_0x4fb07d(this,'_model',new Map()),_0x4fb07d(this,_0x55a1d6(0x168),new Map()),_0x4fb07d(this,_0x55a1d6(0x255),new Map()),_0x4fb07d(this,'_textInfo'),_0x4fb07d(this,'_collectionChange$',new _0x4e0a85[(_0x55a1d6(0x2bd))]()),_0x4fb07d(this,'collectionChange$',this[_0x55a1d6(0x26c)][_0x55a1d6(0x2f1)]()),_0x4fb07d(this,_0x55a1d6(0x126),new _0x4e0a85[(_0x55a1d6(0x2bd))]()),_0x4fb07d(this,_0x55a1d6(0xf7),this['_viewData$']['asObservable']()),_0x4fb07d(this,_0x55a1d6(0x150),new _0x4e0a85[(_0x55a1d6(0x2bd))]()),_0x4fb07d(this,_0x55a1d6(0xab),this['_fieldsCollectionChange$'][_0x55a1d6(0x2f1)]()),_0x4fb07d(this,_0x55a1d6(0x295),new Map()),_0x4fb07d(this,_0x55a1d6(0x11a),[]),_0x4fb07d(this,_0x55a1d6(0x230),new Map()),(this[_0x55a1d6(0x39e)]=_0x4e820b,this[_0x55a1d6(0x1d4)]=_0x278523,this[_0x55a1d6(0x2d4)]=_0x14b244,this[_0x55a1d6(0x370)]=_0x42c205,this[_0x55a1d6(0x139)]=_0x5e4990,this['_initSnapshot']());}['getTextInfo'](){const _0x5dc527=_0x42bb9f;return this['_textInfo']?this[_0x5dc527(0x332)]:_0x183b6d;}['setTextInfo'](_0x3891ad){this['_textInfo']=_0x3891ad;}[_0x42bb9f(0xf5)](_0x1b83c2){const _0x5e5cb4=_0x42bb9f;var _0x2e0fa0;const {from:_0x38e620,to:_0x226e92,unitId:_0x1bfe35,fromRange:_0x8b0495,toRange:_0x47a5a6}=_0x1b83c2;if(_0x38e620&&_0x226e92){const _0x3b2136=this['getDataFieldManager'](_0x1bfe35),_0x1447a2=this[_0x5e5cb4(0x27d)][_0x5e5cb4(0x239)](_0x1bfe35),_0x2bd5a3=(_0x2e0fa0=this[_0x5e5cb4(0x1d4)]['getUnit'](_0x1bfe35))==null?void 0x0:_0x2e0fa0['getSheetBySheetId'](_0x226e92[_0x5e5cb4(0x179)]);if(!_0x1447a2||!_0x2bd5a3)return;const _0x1568cf=_0x2bd5a3==null?void 0x0:_0x2bd5a3[_0x5e5cb4(0x2e8)]();for(const [_0x343eb1,_0x4f0eac]of _0x1447a2[_0x5e5cb4(0xa1)]())for(const [_0x59d219,_0x118185]of _0x4f0eac[_0x5e5cb4(0xa1)]()){const {sourceRangeInfo:_0x56922b}=_0x118185;if(_0x56922b[_0x5e5cb4(0x360)]===_0x1bfe35&&_0x56922b['subUnitId']===_0x38e620[_0x5e5cb4(0x179)]&&_0x288eb9[_0x5e5cb4(0x25d)][_0x5e5cb4(0x2f4)](_0x8b0495,_0x56922b['range'])){const _0x42c052={'row':_0x56922b[_0x5e5cb4(0x272)][_0x5e5cb4(0x36a)]-_0x8b0495[_0x5e5cb4(0x36a)],'col':_0x56922b['range'][_0x5e5cb4(0x1c9)]-_0x8b0495['startColumn']},_0x329c15={'unitId':_0x1bfe35,'subUnitId':_0x226e92[_0x5e5cb4(0x179)],'sheetName':_0x1568cf,'range':{'startRow':_0x47a5a6[_0x5e5cb4(0x36a)]+_0x42c052[_0x5e5cb4(0x392)],'endRow':_0x47a5a6['startRow']+_0x42c052[_0x5e5cb4(0x392)]+_0x56922b[_0x5e5cb4(0x272)]['endRow']-_0x56922b[_0x5e5cb4(0x272)][_0x5e5cb4(0x36a)],'startColumn':_0x47a5a6[_0x5e5cb4(0x1c9)]+_0x42c052[_0x5e5cb4(0x113)],'endColumn':_0x47a5a6[_0x5e5cb4(0x1c9)]+_0x42c052[_0x5e5cb4(0x113)]+_0x56922b['range'][_0x5e5cb4(0x1f1)]-_0x56922b['range'][_0x5e5cb4(0x1c9)]}};_0x3b2136[_0x5e5cb4(0xf5)](_0x59d219,_0x329c15);const _0x44c0c0={..._0x118185,'sourceRangeInfo':_0x329c15};this[_0x5e5cb4(0x35a)](_0x1bfe35,_0x226e92[_0x5e5cb4(0x179)],_0x59d219,_0x44c0c0),this[_0x5e5cb4(0x233)]({'unitId':_0x1bfe35,'token':_0x59d219,'type':_0x521660[_0x5e5cb4(0x307)],'oldSourceRangeInfo':_0x56922b,'dataRangeInfo':_0x329c15,'targetCellInfo':_0x118185['targetCellInfo']}),this[_0x5e5cb4(0x214)]({'unitId':_0x1bfe35,'subUnitId':_0x226e92[_0x5e5cb4(0x179)],'oldSubUnitId':_0x343eb1,'pivotTableId':_0x59d219,'pivotTableConfig':_0x44c0c0,'collectionConfig':_0x3b2136['toJSON']()});}}}}[_0x42bb9f(0x233)](_0x5b6b7d){const _0x501e7b=_0x42bb9f;this[_0x501e7b(0x26c)]['next'](_0x5b6b7d);}[_0x42bb9f(0x138)](_0x476b2a){const _0xec0dd=_0x42bb9f;let _0x2ae83a=this[_0xec0dd(0x295)][_0xec0dd(0x239)](_0x476b2a);return _0x2ae83a||(_0x2ae83a=new _0x1d076f(this,this[_0xec0dd(0x1d4)]),this[_0xec0dd(0x295)][_0xec0dd(0x22c)](_0x476b2a,_0x2ae83a)),_0x2ae83a;}[_0x42bb9f(0x2c8)](_0x53b043,_0x3db87a){const _0x53b14d=_0x42bb9f;return this[_0x53b14d(0x138)](_0x53b043)['collections'][_0x3db87a];}[_0x42bb9f(0x22b)](_0x4d940e,_0x14fa1d,_0x34cd42){const _0x3a17af=_0x42bb9f;return this[_0x3a17af(0x138)](_0x4d940e)['getUpdateRangeDeleteIds'](_0x14fa1d,_0x34cd42);}[_0x42bb9f(0x225)](_0x525e49,_0x2851eb){const _0x9686ad=_0x42bb9f;let _0x748bf2=this[_0x9686ad(0x27d)][_0x9686ad(0x239)](_0x525e49);_0x748bf2||(_0x748bf2=new Map(),this[_0x9686ad(0x27d)]['set'](_0x525e49,_0x748bf2));let _0x3622e1=_0x748bf2[_0x9686ad(0x239)](_0x2851eb);return _0x3622e1||(_0x3622e1=new Map(),_0x748bf2[_0x9686ad(0x22c)](_0x2851eb,_0x3622e1)),_0x3622e1;}[_0x42bb9f(0x35a)](_0x289c71,_0x3a32ae,_0x495150,_0x2faf82){const _0x459e87=_0x42bb9f;this[_0x459e87(0x225)](_0x289c71,_0x3a32ae)[_0x459e87(0x22c)](_0x495150,_0x2faf82);}['_deleteModelCache'](_0x155cad,_0x23b04e,_0x1a9529){const _0x12f934=_0x42bb9f;var _0x1579b9,_0x3df6a2,_0x34ed02,_0x2fd3c0;((_0x3df6a2=(_0x1579b9=this['_model'][_0x12f934(0x239)](_0x155cad))==null?void 0x0:_0x1579b9[_0x12f934(0x239)](_0x23b04e))==null?void 0x0:_0x3df6a2[_0x12f934(0x239)](_0x1a9529))&&((_0x2fd3c0=(_0x34ed02=this[_0x12f934(0x27d)]['get'](_0x155cad))==null?void 0x0:_0x34ed02['get'](_0x23b04e))==null||_0x2fd3c0['delete'](_0x1a9529));}['_updatePivotTableInstanceCache'](_0x18c177,_0x336fc8){const _0x8fa8f4=_0x42bb9f;this['_pivotTableInstanceCache'][_0x8fa8f4(0x22c)](_0x18c177,_0x336fc8);}[_0x42bb9f(0x9f)](_0x444f50){const _0x1cf0c9=_0x42bb9f;this[_0x1cf0c9(0x168)][_0x1cf0c9(0x1ca)](_0x444f50);}[_0x42bb9f(0x94)](_0x1c0daa,_0x47b2b5){const _0x4ef1f8=_0x42bb9f;let _0x18353f=this[_0x4ef1f8(0x255)]['get'](_0x1c0daa);_0x18353f||(_0x18353f=new Map(),this[_0x4ef1f8(0x255)][_0x4ef1f8(0x22c)](_0x1c0daa,_0x18353f));let _0x438681=_0x18353f[_0x4ef1f8(0x239)](_0x47b2b5);return _0x438681||(_0x438681=new Map(),_0x18353f['set'](_0x47b2b5,_0x438681)),_0x438681;}[_0x42bb9f(0x214)](_0x29e6da){const _0x1698a8=_0x42bb9f,{unitId:_0x3f9e1b,subUnitId:_0x515e08,pivotTableId:_0x38382e,pivotTableConfig:_0x394824,collectionConfig:_0x4372fd}=_0x29e6da,_0x15509b={'unitId':_0x3f9e1b,'subUnitId':_0x515e08,'oldSubUnitId':_0x515e08,'pivotTableId':_0x38382e,'pivotTableConfig':_0x394824,'collectionConfig':_0x4372fd};this['_commandService'][_0x1698a8(0x9e)](_0x5d1784['id'],_0x15509b,{'onlyLocal':!0x0});}[_0x42bb9f(0x386)](_0x52084c,_0x152e77,_0x1c3749,_0x27e809,_0x3572f0,_0x30f187,_0x2e6a56,_0x5b3ff7=!0x1){const _0x41ea55=_0x42bb9f;var _0x5647b9;this[_0x41ea55(0x370)]['executeCommand'](_0x1b400c['id'],{'single':{'unitId':_0x52084c,'subUnitId':_0x152e77,'type':_0x1c3749,'pivotTableId':_0x27e809,'view':_0x3572f0,'pivotConfig':_0x30f187},'collectionConfig':{[_0x52084c]:_0x2e6a56}},{'onlyLocal':!0x0});const _0x4f44c9=!!((_0x5647b9=this[_0x41ea55(0x25c)](_0x27e809))!=null&&_0x5647b9[_0x41ea55(0x279)]()),_0x36ed75=this[_0x41ea55(0x9b)](_0x52084c,_0x152e77,_0x27e809);_0x36ed75&&this[_0x41ea55(0xb9)]({'view':_0x3572f0,'pivotTableId':_0x27e809,'textInfo':this[_0x41ea55(0x128)](),'isEmpty':_0x4f44c9,'targetCellInfo':_0x36ed75['targetCellInfo']},_0x5b3ff7);}[_0x42bb9f(0xb9)](_0x174e22,_0x393d58){const _0x4aa49a=_0x42bb9f,{targetCellInfo:_0x47c2cb,pivotTableId:_0x19a9e3}=_0x174e22,{unitId:_0x3e8ff7,subUnitId:_0x43d495}=_0x47c2cb,_0x4dccce=this[_0x4aa49a(0x94)](_0x3e8ff7,_0x43d495),_0x5cef25=_0x4dccce[_0x4aa49a(0x239)](_0x19a9e3);let _0x39ac99,_0x50de1c;_0x5cef25&&(_0x39ac99=_0x5cef25[_0x4aa49a(0x1a6)],_0x50de1c=_0x5cef25[_0x4aa49a(0x2c6)]);const {rangesCache:_0x4511ae,matrix:_0x356704}=_0x444729(_0x174e22);_0x4dccce[_0x4aa49a(0x22c)](_0x19a9e3,{'rangeCache':_0x4511ae,'matrix':_0x356704,'oldMatrix':_0x50de1c,'oldRangeCache':_0x39ac99}),_0x393d58||this[_0x4aa49a(0x126)][_0x4aa49a(0x287)]({'unitId':_0x3e8ff7,'subUnitId':_0x43d495,'pivotTableId':_0x19a9e3});}[_0x42bb9f(0xdb)](_0x38cd72,_0x2d401b,_0x37e514,_0x3e188d,_0x3dc00e){const _0x29e4de=_0x42bb9f;this['_updateModelCache'](_0x38cd72,_0x2d401b,_0x37e514,_0x3dc00e),this[_0x29e4de(0x384)](_0x37e514,_0x3e188d);}['removePivotTable'](_0x3157e5,_0x3341d7,_0x5f4ca0){const _0x501c10=_0x42bb9f,_0x329e8b=this['getDataFieldManager'](_0x3157e5);_0x329e8b[_0x501c10(0x260)](_0x5f4ca0)['forEach'](_0x1ce8a6=>{const _0x4db7ee=_0x501c10;_0x329e8b[_0x4db7ee(0x2a8)](_0x1ce8a6);}),this[_0x501c10(0x28b)](_0x3157e5,_0x5f4ca0),this[_0x501c10(0x131)](_0x3157e5,_0x3341d7,_0x5f4ca0),this['_deletePivotTableInstanceCache'](_0x5f4ca0);}['setPivotTable'](_0x2c0d4c,_0x5bb9b8,_0xb1b814,_0x270222){const _0x507fe0=_0x42bb9f;this[_0x507fe0(0x35a)](_0x2c0d4c,_0x5bb9b8,_0xb1b814,_0x270222);}[_0x42bb9f(0x9b)](_0x18fbd0,_0x3d7814,_0x548488){const _0x281c38=_0x42bb9f;var _0x34d2a3,_0xcfd604;const _0x2f7389=(_0xcfd604=(_0x34d2a3=this[_0x281c38(0x27d)]['get'](_0x18fbd0))==null?void 0x0:_0x34d2a3[_0x281c38(0x239)](_0x3d7814))==null?void 0x0:_0xcfd604['get'](_0x548488);if(_0x2f7389)return _0x2f7389;}[_0x42bb9f(0xa0)](_0x365038,_0xcdb5e,_0x584b9f){const _0x416905=_0x42bb9f;var _0x21bbf5,_0x217e1a;const _0x1aad9d=(_0x217e1a=(_0x21bbf5=this[_0x416905(0x27d)][_0x416905(0x239)](_0x365038))==null?void 0x0:_0x21bbf5[_0x416905(0x239)](_0xcdb5e))==null?void 0x0:_0x217e1a[_0x416905(0x239)](_0x584b9f);if(_0x1aad9d)return _0x1aad9d[_0x416905(0x313)];}[_0x42bb9f(0x25c)](_0x3c5a0d){const _0x3ca5d8=_0x42bb9f;return this[_0x3ca5d8(0x168)][_0x3ca5d8(0x239)](_0x3c5a0d);}[_0x42bb9f(0x1b6)](_0x5bd961){const _0x10fb60=_0x42bb9f;this['_model'][_0x10fb60(0x1ca)](_0x5bd961);const _0x46be8d=this[_0x10fb60(0x295)][_0x10fb60(0x239)](_0x5bd961);_0x46be8d&&(_0x46be8d[_0x10fb60(0x10c)](),this[_0x10fb60(0x295)][_0x10fb60(0x1ca)](_0x5bd961)),this[_0x10fb60(0x255)]['delete'](_0x5bd961),this[_0x10fb60(0x11a)][_0x10fb60(0x36d)](_0x4ff721=>{const _0x1bb389=_0x10fb60;_0x4ff721[_0x1bb389(0x1b6)](_0x5bd961);});}[_0x42bb9f(0x3a0)](_0x1a572f,_0x373a1d,_0x37c488,_0x5eb33f){const _0x11fe7a=_0x42bb9f;return this[_0x11fe7a(0x138)](_0x37c488[_0x11fe7a(0x360)])[_0x11fe7a(0x3a0)](_0x1a572f,_0x373a1d,_0x37c488,_0x5eb33f);}['createCollectionWithDataRange'](_0x189559){const _0x974af5=_0x42bb9f;return this['getDataFieldManager'](_0x189559[_0x974af5(0x360)])[_0x974af5(0x35b)](_0x189559);}[_0x42bb9f(0x8b)](_0x1bb2d2,_0x515b65,_0x323874){const _0x336e09=_0x42bb9f;this[_0x336e09(0x138)](_0x323874[_0x336e09(0x360)])['refreshData'](_0x1bb2d2,_0x515b65,_0x323874);}['removeDataField'](_0x27dac5,_0x5bfd2f){const _0x1796a9=_0x42bb9f;this[_0x1796a9(0x138)](_0x27dac5)['deleteDataField'](_0x5bfd2f);}[_0x42bb9f(0x28b)](_0x107a64,_0x26c38f){const _0x1b7ff3=_0x42bb9f;this[_0x1b7ff3(0x138)](_0x107a64)['removeCollectionImp'](_0x26c38f);}[_0x42bb9f(0x244)](_0x52a05b,_0x16af57){const _0x2deccf=_0x42bb9f;var _0xaed1fd;return(_0xaed1fd=this[_0x2deccf(0x27d)][_0x2deccf(0x239)](_0x52a05b))==null?void 0x0:_0xaed1fd[_0x2deccf(0x239)](_0x16af57);}['getTargetByPivotId'](_0x21937f){const _0x4b8cc5=_0x42bb9f;for(const [_0x40d182,_0x21f92d]of this[_0x4b8cc5(0x27d)][_0x4b8cc5(0xa1)]())for(const [_0x10e62c,_0x4bc9ee]of _0x21f92d[_0x4b8cc5(0xa1)]())if(_0x4bc9ee[_0x4b8cc5(0xde)](_0x21937f))return{'unitId':_0x40d182,'subUnitId':_0x10e62c};return null;}[_0x42bb9f(0x107)](_0x2ec4b5,_0x333611,_0x226b80,_0x4ecf91){const _0x6cddbe=_0x42bb9f,_0x4be058=this['_ensureViewDataMap'](_0x2ec4b5,_0x333611);_0x4ecf91?_0x4be058[_0x6cddbe(0x22c)](_0x226b80,_0x4ecf91):_0x4be058[_0x6cddbe(0x1ca)](_0x226b80),this['_viewData$'][_0x6cddbe(0x287)]({'unitId':_0x2ec4b5,'subUnitId':_0x333611,'pivotTableId':_0x226b80});}[_0x42bb9f(0x10c)](){const _0x56fab2=_0x42bb9f;super[_0x56fab2(0x10c)]();}[_0x42bb9f(0x198)](_0x2c8df2,_0x5e6d23,_0x6006ca){const _0x111a3b=_0x42bb9f;var _0xc9c535,_0x30a370;const _0x558f94=(_0x30a370=(_0xc9c535=this[_0x111a3b(0x255)]['get'](_0x2c8df2))==null?void 0x0:_0xc9c535[_0x111a3b(0x239)](_0x5e6d23))==null?void 0x0:_0x30a370[_0x111a3b(0x239)](_0x6006ca);return _0x558f94||null;}[_0x42bb9f(0x1d8)](_0x330210){this['updateDirtyPivotTable'](_0x330210);}[_0x42bb9f(0x367)](_0x41b5ec){const _0x1c3f7d=_0x42bb9f,{token:_0x3b6f6b,unitId:_0x438df8,subUnitId:_0x47511a}=_0x41b5ec,_0x3422ed=_0x438df8+'-'+_0x47511a+'-'+_0x3b6f6b;this[_0x1c3f7d(0x230)][_0x1c3f7d(0x239)](_0x3422ed)&&clearTimeout(this['_queryingMap']['get'](_0x3422ed));const _0x23371f=setTimeout(()=>{const _0x3ee487=_0x1c3f7d;this[_0x3ee487(0x308)](_0x41b5ec),this[_0x3ee487(0x230)]['delete'](_0x3422ed);},_0x29e418);this['_queryingMap'][_0x1c3f7d(0x22c)](_0x3422ed,_0x23371f);}[_0x42bb9f(0x308)](_0x381276){const _0x48ca0f=_0x42bb9f,{unitId:_0x12cc9a,subUnitId:_0x49376a,token:_0x590fc9,type:_0x3c5a9d,pivotConfig:_0x13b8d9}=_0x381276,_0x54bbbc=this[_0x48ca0f(0x25c)](_0x590fc9),_0x3f94ef=_0x54bbbc==null?void 0x0:_0x54bbbc[_0x48ca0f(0x26f)](),_0x325064=_0x13b8d9!=null?_0x13b8d9:this[_0x48ca0f(0x9b)](_0x12cc9a,_0x49376a,_0x590fc9);_0x325064&&(_0x325064[_0x48ca0f(0x279)]=!!(_0x54bbbc!=null&&_0x54bbbc[_0x48ca0f(0x279)]())),(_0x3f94ef||_0x3c5a9d===_0x2de5fe['Delete'])&&this[_0x48ca0f(0x386)](_0x12cc9a,_0x49376a,_0x3c5a9d,_0x590fc9,_0x3f94ef,_0x325064,this[_0x48ca0f(0x138)](_0x12cc9a)[_0x48ca0f(0x90)]());}[_0x42bb9f(0x90)](_0x28e138){const _0x4bf223=_0x42bb9f,_0x449959={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x4bf223(0x138)](_0x28e138)&&(_0x449959[_0x4bf223(0x2d1)][_0x28e138]=this[_0x4bf223(0x138)](_0x28e138)[_0x4bf223(0x90)]()),this[_0x4bf223(0x27d)][_0x4bf223(0x239)](_0x28e138)){_0x449959['pivotTableConfigs'][_0x28e138]={};const _0x2b9372=this[_0x4bf223(0x27d)][_0x4bf223(0x239)](_0x28e138);_0x2b9372!=null&&_0x2b9372[_0x4bf223(0x1f6)]&&[..._0x2b9372[_0x4bf223(0x237)]()]['forEach'](_0x1345b1=>{const _0x1ba1a0=_0x4bf223,_0x8b3d42=_0x2b9372[_0x1ba1a0(0x239)](_0x1345b1);_0x8b3d42!=null&&_0x8b3d42[_0x1ba1a0(0x1f6)]&&(_0x449959[_0x1ba1a0(0x1cf)][_0x28e138][_0x1345b1]={},[..._0x8b3d42['keys']()][_0x1ba1a0(0x36d)](_0x520d88=>{const _0x34f99e=_0x1ba1a0,_0x51b6fa=_0x8b3d42[_0x34f99e(0x239)](_0x520d88);_0x51b6fa&&(_0x449959[_0x34f99e(0x1cf)][_0x28e138][_0x1345b1][_0x520d88]=_0x51b6fa);}));});}return _0x449959;}[_0x42bb9f(0x9a)](_0x317fd7){const _0x59e984=_0x42bb9f;var _0x22ce22;const {dataFieldManagerConfig:_0x54a652,pivotTableConfigs:_0x184b71}=_0x317fd7;_0x54a652&&Object['keys'](_0x54a652)[_0x59e984(0x36d)](_0x3141c1=>{const _0x49f5f4=_0x59e984;this['getDataFieldManager'](_0x3141c1)[_0x49f5f4(0x9a)](_0x54a652[_0x3141c1]);});const _0x270de7=[];if(_0x184b71){const _0x4fca42=(_0x22ce22=this[_0x59e984(0x39e)][_0x59e984(0x239)](_0x288eb9[_0x59e984(0xd5)])[_0x59e984(0x36b)](_0x1f3f39[_0x59e984(0x18e)]))!=null?_0x22ce22:{},{ls:_0x4b6ee0,pbk:_0x2a6140}=_0x4fca42,_0x21ce49=_0x52b3f8(_0x2e2372,_0x4b6ee0,_0x2a6140)[_0x59e984(0x18d)];Object['keys'](_0x184b71)[_0x59e984(0x36d)](_0x5dc19c=>{const _0x49c6d1=_0x59e984;let _0x222531=0x0;const _0x893bc8=_0x184b71[_0x5dc19c];Object[_0x49c6d1(0x237)](_0x893bc8)[_0x49c6d1(0x36d)](_0xc974e6=>{const _0x154d8e=_0x893bc8[_0xc974e6];Object['keys'](_0x154d8e)['forEach'](_0x22c3f8=>{const _0x2cbad5=_0x2df4,_0x11d198=_0x154d8e[_0x22c3f8];if(_0x11d198){if(_0x222531>=_0x21ce49)return;_0x222531++;const _0x4f13d4=this[_0x2cbad5(0x138)](_0x5dc19c),_0x10baf3=_0x4f13d4['collections'][_0x22c3f8],_0x3040eb=_0x10baf3[_0x2cbad5(0x15d)]();let _0x3ae8fd=0x0;const _0x3c11ac=[];for(const _0x3b822d of _0x3040eb){const _0x51306c=_0x10baf3['getFieldById'](_0x3b822d);if(_0x2bd302[_0x2cbad5(0x356)](_0x51306c)){const _0x442df9=_0x51306c[_0x2cbad5(0x32f)](),_0x4aa79e=_0x10baf3['getFieldById'](_0x442df9);_0x4aa79e&&_0x3c11ac['push']([_0x51306c,_0x4aa79e]);continue;}_0x4f13d4[_0x2cbad5(0x25b)](_0x3b822d,_0x11d198[_0x2cbad5(0x156)],_0x3ae8fd),_0x3ae8fd++;}_0x3c11ac[_0x2cbad5(0x36d)](([_0x4d5fcd,_0x1c19ed])=>{const _0x473457=_0x2cbad5;_0x4d5fcd[_0x473457(0x14a)](_0x1c19ed);});const _0x57609f=new _0x2bd302['PivotTable'](_0x10baf3);_0x57609f[_0x2cbad5(0x9a)](_0x11d198[_0x2cbad5(0x313)]),this['addPivotTable'](_0x5dc19c,_0xc974e6,_0x22c3f8,_0x57609f,_0x11d198);const _0x1e1035=_0x57609f[_0x2cbad5(0x26f)]();_0x270de7[_0x2cbad5(0x364)]({'unitId':_0x5dc19c,'subUnitId':_0xc974e6,'pivotTableId':_0x22c3f8,'view':_0x1e1035[_0x2cbad5(0x90)](),'pivotConfig':_0x11d198,'type':_0x2de5fe[_0x2cbad5(0xe6)]});const _0x357985=!!_0x57609f[_0x2cbad5(0x279)](),_0x44648c={'view':_0x1e1035,'pivotTableId':_0x22c3f8,'textInfo':this[_0x2cbad5(0x128)](),'isEmpty':_0x357985,'targetCellInfo':_0x11d198[_0x2cbad5(0x242)]};this[_0x2cbad5(0xb9)](_0x44648c,!0x1);}});});});}_0x54a652&&Object['keys'](_0x54a652)[_0x59e984(0x36d)](_0x1fedb5=>{const _0x3218ae=_0x59e984,_0x56452e=this[_0x3218ae(0x138)](_0x1fedb5);this['_fieldsCollectionChange$']['next'](_0x56452e[_0x3218ae(0x211)]);}),this['_commandService'][_0x59e984(0x9e)](_0x1b400c['id'],{'batch':_0x270de7,'collectionConfig':_0x54a652},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x36a873=_0x42bb9f;this[_0x36a873(0x148)](this[_0x36a873(0x139)][_0x36a873(0x2b3)]({'toJson':_0x1b3a2d=>JSON[_0x36a873(0x297)](this[_0x36a873(0x90)](_0x1b3a2d)),'parseJson':_0xc6a4c4=>{const _0x4e60f6=_0x36a873;if(!_0xc6a4c4)return{};try{return JSON[_0x4e60f6(0x24f)](_0xc6a4c4);}catch{return{};}},'businesses':[_0x288eb9[_0x36a873(0x175)][_0x36a873(0x197)]],'pluginName':_0xd0f9a3,'onLoad':(_0x14be4a,_0x5789cd)=>{const _0x50fb6f=_0x36a873;this[_0x50fb6f(0x9a)](_0x5789cd);},'onUnLoad':_0x44c967=>{const _0x17803a=_0x36a873;this[_0x17803a(0x1b6)](_0x44c967);}}));}},_0x5bf755[_0x42bb9f(0x1ae)]=_0x5191e8([_0x228e71(0x0,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9['Injector'])),_0x228e71(0x1,_0x288eb9['IUniverInstanceService']),_0x228e71(0x2,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9['LifecycleService'])),_0x228e71(0x3,_0x288eb9['ICommandService']),_0x228e71(0x4,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9['IResourceManagerService']))],_0x5bf755[_0x42bb9f(0x1ae)]);const _0x3f1ce0={0x0:{0x0:{'v':'filter','s':_0x2a3703}},0x2:{0x1:{'v':'','s':_0x2a3703},0x2:{'v':'','s':_0x2a3703},0x3:{'v':_0x42bb9f(0x1ce),'s':_0x2a3703},0x4:{'v':'','s':_0x2a3703},0x5:{'v':'','s':_0x2a3703}},0x3:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0x4:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0x5:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0x6:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0x7:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0x8:{0x0:{'v':_0x42bb9f(0x392),'s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':_0x42bb9f(0xe2),'s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0x9:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0xa:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0xb:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0xc:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}},0xd:{0x0:{'v':'','s':_0x2a3703},0x1:{'v':'','s':_0xd6e504},0x2:{'v':'','s':_0xd6e504},0x3:{'v':'','s':_0xd6e504},0x4:{'v':'','s':_0xd6e504},0x5:{'v':'','s':_0xd6e504}}},_0x4bbf18={'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':[]},_0x3dd3c1=(_0x518f59,_0x553f61)=>{const _0x4f0b06=_0x42bb9f,_0x1094f6=new _0x288eb9['ObjectMatrix'](),_0x3abc73=new _0x288eb9['ObjectMatrix'](_0x3f1ce0),{row:_0x4a5a79,col:_0x41baf3}=_0x553f61;_0x3abc73[_0x4f0b06(0xbc)]((_0x2ff5ff,_0x2148e8,_0x326b1d)=>{const _0x37c4c9=_0x4f0b06;let _0x1e3251='';_0x326b1d['v']===_0x37c4c9(0xdc)?_0x1e3251=_0x518f59['filter']:_0x326b1d['v']===_0x37c4c9(0x392)?_0x1e3251=_0x518f59[_0x37c4c9(0x392)]:_0x326b1d['v']===_0x37c4c9(0x1ce)?_0x1e3251=_0x518f59[_0x37c4c9(0x1ce)]:_0x326b1d['v']===_0x37c4c9(0xe2)&&(_0x1e3251=_0x518f59[_0x37c4c9(0xe2)]),_0x1094f6[_0x37c4c9(0x1bb)](_0x2ff5ff+_0x4a5a79,_0x2148e8+_0x41baf3,{..._0x326b1d,'v':_0x1e3251});});const _0x5a449e=_0x288eb9[_0x4f0b06(0x91)][_0x4f0b06(0x38e)](_0x4bbf18);return Object[_0x4f0b06(0x237)](_0x4bbf18)['forEach'](_0x2df5d0=>{const _0x295d3a=_0x4f0b06;_0x5a449e[_0x2df5d0]=_0x4bbf18[_0x2df5d0][_0x295d3a(0x1d2)](_0x2ec388=>({..._0x2ec388,'startRow':_0x2ec388['startRow']+_0x4a5a79,'endRow':_0x2ec388[_0x295d3a(0x241)]+_0x4a5a79,'startColumn':_0x2ec388[_0x295d3a(0x1c9)]+_0x41baf3,'endColumn':_0x2ec388['endColumn']+_0x41baf3}));}),{'matrixCache':_0x1094f6,'rangesCache':_0x5a449e};};function _0x346465(_0x496b8e,_0x2b2757){const _0x54435b=_0x42bb9f;let _0x25209a='';const _0x1756fe=this[_0x54435b(0x128)]();switch(_0x2b2757){case _0x2bd302['PivotSubtotalTypeEnum'][_0x54435b(0x303)]:_0x25209a=_0x1756fe[_0x54435b(0xa6)]+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)][_0x54435b(0x18d)]:_0x25209a=_0x1756fe[_0x54435b(0x399)]+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)][_0x54435b(0x252)]:_0x25209a=_0x1756fe['sheets-pivot.countNumsName']+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)][_0x54435b(0x2e9)]:_0x25209a=_0x1756fe[_0x54435b(0x23c)]+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)][_0x54435b(0x1e7)]:_0x25209a=_0x1756fe[_0x54435b(0x3a1)]+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)]['product']:_0x25209a=_0x1756fe[_0x54435b(0x38f)]+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)][_0x54435b(0x381)]:_0x25209a=_0x1756fe[_0x54435b(0x1ac)]+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)][_0x54435b(0xd8)]:_0x25209a=_0x1756fe[_0x54435b(0x2ee)]+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)][_0x54435b(0x1e8)]:_0x25209a=_0x1756fe[_0x54435b(0x30e)]+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)][_0x54435b(0xc2)]:_0x25209a=_0x1756fe[_0x54435b(0x253)]+_0x496b8e;break;case _0x2bd302[_0x54435b(0x35c)][_0x54435b(0x2ec)]:_0x25209a=_0x1756fe['sheets-pivot.varpName']+_0x496b8e;break;default:_0x25209a=_0x496b8e;break;}return _0x25209a;}function _0x2bc413(_0x37dcc0,_0x3e7a9f,_0x1cb002,_0x348dfc,_0x1c0d9f){const _0x53ccca=_0x42bb9f;var _0xe0be8d,_0x216e28,_0x39a49e,_0x393909,_0x812beb;const _0x21b929=_0x288eb9[_0x53ccca(0x104)](_0x37dcc0,_0x3e7a9f),{rangesInfo:_0x4dfa7e,areaInfo:_0xf356b0,headerMap:_0x533c21}=_0x1c0d9f;if(!_0x4dfa7e||!_0xf356b0||!_0x533c21)return;const _0x5d74dc=Object[_0x53ccca(0x237)](_0x4dfa7e)[_0x53ccca(0x261)](_0x5c1b2a=>_0x4dfa7e[_0x5c1b2a][_0x53ccca(0x281)](_0x5cc383=>_0x288eb9[_0x53ccca(0x25d)][_0x53ccca(0x2f4)](_0x5cc383,_0x21b929))),_0x4e4ca3=_0xf356b0;let _0x7d2d88,_0x5c41d0,_0x19f4c9;if(_0x5d74dc===_0x53ccca(0x2b2))_0x7d2d88=(_0xe0be8d=_0x4e4ca3==null?void 0x0:_0x4e4ca3[_0x53ccca(0x263)])==null?void 0x0:_0xe0be8d[_0x37dcc0],_0x5c41d0=(_0x216e28=_0x533c21==null?void 0x0:_0x533c21[_0x53ccca(0x343)])==null?void 0x0:_0x216e28[_0x3e7a9f],_0x19f4c9=_0x5c41d0==null?void 0x0:_0x5c41d0['tableFieldId'];else{if(_0x5d74dc==='colRanges')_0x7d2d88=(_0x39a49e=_0x4e4ca3==null?void 0x0:_0x4e4ca3[_0x53ccca(0x20c)])==null?void 0x0:_0x39a49e[_0x3e7a9f],_0x5c41d0=(_0x393909=_0x533c21[_0x53ccca(0x1d3)])==null?void 0x0:_0x393909[_0x37dcc0+0x1+_0x3e7a9f-_0x4dfa7e[_0x53ccca(0xbf)][0x0][_0x53ccca(0x1c9)]],_0x19f4c9=_0x5c41d0==null?void 0x0:_0x5c41d0[_0x53ccca(0x11e)];else{if(_0x5d74dc===_0x53ccca(0x2e7))_0x7d2d88=(_0x812beb=_0x4e4ca3==null?void 0x0:_0x4e4ca3[_0x53ccca(0x2d9)])==null?void 0x0:_0x812beb[_0x3e7a9f],_0x19f4c9=_0x7d2d88==null?void 0x0:_0x7d2d88[_0x53ccca(0x11e)];else{if(_0x5d74dc===_0x53ccca(0xa8)){const _0x4ed86c=_0x1cb002==null?void 0x0:_0x1cb002['fi'];_0x4ed86c!==void 0x0&&(_0x19f4c9=_0x348dfc['getFilterFieldIdByIndex'](_0x4ed86c));}}}}return{'filterId':_0x19f4c9,'info':_0x7d2d88,'data':_0x1cb002,'headerInfo':_0x5c41d0};}function _0x5da254(_0x221ebb,_0x8abf24,_0xd4ce03){const _0x4f6901=_0x42bb9f,_0x21fb3d=_0x221ebb['dataFieldsCollection'],_0x453d9b=_0x21fb3d[_0x4f6901(0x15d)](),_0x5ef7eb=new Set();_0x221ebb['iterateField'](_0x263533=>{const _0x1ab0e5=_0x4f6901;_0x5ef7eb[_0x1ab0e5(0x246)](_0x263533[_0x1ab0e5(0x160)]);});const _0xc723b3=_0x453d9b['map'](_0x2259e7=>{const _0x346cbd=_0x4f6901,_0x169465=_0x21fb3d[_0x346cbd(0xfb)](_0x2259e7);return{'checked':_0x5ef7eb[_0x346cbd(0xde)](_0x2259e7),'dataFieldId':_0x169465['id'],'id':_0x169465['id'],'name':_0x21fb3d[_0x346cbd(0x229)](_0x169465['id']),'type':_0x169465['getFieldDataType'](),'pivotTableId':_0x8abf24};}),_0x280a1b=[];_0x221ebb[_0x4f6901(0x37e)](_0x2bd302[_0x4f6901(0x25f)][_0x4f6901(0x1d7)],_0x508bc2=>{const _0x562004=_0x4f6901;_0x280a1b['push']({'dataFieldId':_0x508bc2[_0x562004(0x160)],'tableFieldId':_0x508bc2['getId'](),'displayName':_0x508bc2['getDisplayName']()});});const _0x401537=[];_0x221ebb['iterateFieldByArea'](_0x2bd302['PivotTableFiledAreaEnum'][_0x4f6901(0x2b9)],_0x544330=>{const _0x2a48c1=_0x4f6901;_0x401537[_0x2a48c1(0x364)]({'dataFieldId':_0x544330[_0x2a48c1(0x160)],'tableFieldId':_0x544330[_0x2a48c1(0x37c)](),'displayName':_0x544330[_0x2a48c1(0x229)]()});});const _0x2bb45e=[];if(_0x221ebb[_0x4f6901(0x37e)](_0x2bd302['PivotTableFiledAreaEnum'][_0x4f6901(0x34e)],_0x23c0cb=>{const _0x211340=_0x4f6901;_0x2bb45e[_0x211340(0x364)]({'dataFieldId':_0x23c0cb['dataFieldId'],'tableFieldId':_0x23c0cb[_0x211340(0x37c)](),'displayName':_0x23c0cb[_0x211340(0x229)](),'format':_0x23c0cb[_0x211340(0x2ed)](),'subTotalType':_0x23c0cb['getSubtotal']()});}),_0x2bb45e['length']>0x1){const _0x61608e=_0x221ebb[_0x4f6901(0xc0)]();(_0x221ebb['isColMultiMeasure']()?_0x401537:_0x280a1b)['splice'](_0x61608e,0x0,{'dataFieldId':'','tableFieldId':_0x4f6901(0x393),'displayName':'ΣValue'});}const _0x13a252=[];_0x221ebb[_0x4f6901(0x37e)](_0x2bd302['PivotTableFiledAreaEnum'][_0x4f6901(0x328)],_0x4fe5b2=>{const _0x2c1bc0=_0x4f6901;_0x13a252[_0x2c1bc0(0x364)]({'dataFieldId':_0x4fe5b2[_0x2c1bc0(0x160)],'tableFieldId':_0x4fe5b2['getId'](),'displayName':_0x4fe5b2[_0x2c1bc0(0x229)]()});});const _0xad5241=_0xd4ce03[_0x4f6901(0x156)];return{'sourceList':_0xc723b3,'sourceRange':_0xad5241,'rowFields':_0x280a1b,'columnFields':_0x401537,'valueFields':_0x2bb45e,'filterFields':_0x13a252,'positionInfo':_0xd4ce03[_0x4f6901(0x242)]};}function _0x57ebfa(_0x178749,_0x4a4110,_0x4ec870='',_0x2af0f5={}){const _0x2d7955=_0x42bb9f,_0x4f7ad1=_0x178749[_0x2d7955(0x239)](_0x288eb9[_0x2d7955(0x391)]);for(const _0x4bb5d4 in _0x4a4110)if(Object['prototype'][_0x2d7955(0x2b5)][_0x2d7955(0x1f4)](_0x4a4110,_0x4bb5d4)){const _0x518aab=_0x4ec870?_0x4ec870+'.'+_0x4bb5d4:_0x4bb5d4;typeof _0x4a4110[_0x4bb5d4]=='object'&&_0x4a4110[_0x4bb5d4]!==null&&!Array[_0x2d7955(0x352)](_0x4a4110[_0x4bb5d4])?_0x57ebfa(_0x178749,_0x4a4110[_0x4bb5d4],_0x518aab,_0x2af0f5):_0x2af0f5[_0x518aab]=_0x4f7ad1['t'](_0x518aab);}return _0x2af0f5;}const _0x26ef08=_0x4b675b=>{const _0x1b88a0=_0x42bb9f;if(!_0x4b675b)return[];const {rowRanges:_0x5e6293,colRanges:_0x45d4b0,cornerRanges:_0x4d7729,dataRanges:_0x3c0a17,pageRanges:_0x14e727}=_0x4b675b,_0x24a9df=[..._0x45d4b0,..._0x5e6293,..._0x3c0a17,..._0x4d7729][_0x1b88a0(0xdc)](_0x4e9e2=>_0x4e9e2[_0x1b88a0(0x36a)]>=0x0&&_0x4e9e2['startColumn']>=0x0&&_0x4e9e2[_0x1b88a0(0x241)]>=0x0&&_0x4e9e2[_0x1b88a0(0x1f1)]>=0x0);let _0x70eb5d=Number[_0x1b88a0(0x250)],_0x783450=Number['MIN_SAFE_INTEGER'],_0x1bb647=Number['MAX_SAFE_INTEGER'],_0x26c4e4=Number['MIN_SAFE_INTEGER'];for(let _0x51fb51=0x0;_0x51fb51<_0x24a9df[_0x1b88a0(0x8f)];_0x51fb51++)_0x70eb5d=Math['min'](_0x70eb5d,_0x24a9df[_0x51fb51][_0x1b88a0(0x36a)]),_0x783450=Math['max'](_0x783450,_0x24a9df[_0x51fb51][_0x1b88a0(0x241)]),_0x1bb647=Math[_0x1b88a0(0x1e7)](_0x1bb647,_0x24a9df[_0x51fb51][_0x1b88a0(0x1c9)]),_0x26c4e4=Math[_0x1b88a0(0x2e9)](_0x26c4e4,_0x24a9df[_0x51fb51][_0x1b88a0(0x1f1)]);return[..._0x14e727,{'startRow':_0x70eb5d,'endRow':_0x783450,'startColumn':_0x1bb647,'endColumn':_0x26c4e4}];};function _0x15ce34(_0x1b7e38,_0x17c396){const _0x55c11b=_0x42bb9f,_0x9fb9a1=_0x17c396['params'][_0x55c11b(0x31b)],{pivotTableId:_0xa512d,unitId:_0x4b4a84,subUnitId:_0x4aee63}=_0x17c396;if(!_0x9fb9a1)return;const _0x20764c=_0x1b7e38[_0x55c11b(0x239)](_0x5bf755[_0x55c11b(0x1ae)]),_0x6ef9e1=_0x20764c['getPivotTableInstance'](_0xa512d),_0x26b440=_0x20764c['getPivotTableConfig'](_0x4b4a84,_0x4aee63,_0xa512d);if(!_0x6ef9e1||!_0x26b440)return;const _0x411de5=_0x6ef9e1['getIndexesByPathStr'](_0x9fb9a1['tuple']);if(!(_0x411de5!=null&&_0x411de5[_0x55c11b(0x8f)]))return;const _0x8fa414=_0x26b440[_0x55c11b(0x156)],{unitId:_0x3b2c3c,subUnitId:_0xc54340,range:_0x23791f}=_0x8fa414;let _0x3dcc27=0x0;const _0x32d2d0=_0x6ef9e1['dataFieldsCollection'][_0x55c11b(0x15d)]()[_0x55c11b(0x2fc)]((_0x87e1,_0x78decc)=>{const _0x3c7281=_0x55c11b;var _0x603b26;const _0x2880dc=(_0x603b26=_0x6ef9e1[_0x3c7281(0x2a1)](_0x78decc))==null?void 0x0:_0x603b26['getformat']();return _0x2880dc&&(_0x87e1[String(_0x3dcc27)]=_0x2880dc),_0x3dcc27++,_0x87e1;},{});return{'indexes':_0x411de5,'range':_0x23791f,'sourceUnitId':_0x3b2c3c,'sourceSubUnitId':_0xc54340,'formatMap':_0x32d2d0};}function _0x15f38b(_0x5097bb,_0x252d3c){const _0x361906=_0x42bb9f;if(!_0x5097bb||!_0x252d3c)return!0x0;const _0x4bb8a8=_0x1f3f39[_0x361906(0xe3)](_0x458ac8,_0x2b3b30),_0x11e885=new Function('return\x20'+_0x4bb8a8)()(_0x5097bb,_0x252d3c)['message'],_0x494643=_0x1f3f39['isFeatureAuthorizedWithinTime'](_0x11e885,'sf',_0x5a170e);return!((_0x11e885==null?void 0x0:_0x11e885['rt'])===_0x1f3f39[_0x361906(0x355)]['NO_COMMERCIAL']&&!_0x494643);}function _0x52b3f8(_0x9c6e09,_0x20eedf,_0x176104){const _0x4c1447=_0x42bb9f,_0x1b0843={'count':_0x9c6e09,'timeValid':!0x1};if(!_0x20eedf||!_0x176104)return _0x1b0843;const _0x44fa8e=_0x1f3f39[_0x4c1447(0xe3)](_0x458ac8,_0x2b3b30),_0x2b8b22=new Function(_0x4c1447(0x161)+_0x44fa8e)()(_0x20eedf,_0x176104);if(_0x2b8b22!=null&&_0x2b8b22[_0x4c1447(0x157)]){const _0x2cf659=_0x2b8b22['message'],_0x29fe0f=_0x1f3f39[_0x4c1447(0x36c)](_0x2cf659,'sf',_0x5a170e);return{'count':_0x1f3f39[_0x4c1447(0xd1)](_0x2cf659,_0x29fe0f,'ptn',_0x9c6e09,_0x9c6e09,0x0),'timeValid':_0x29fe0f};}return _0x1b0843;}function _0x274f21(_0x31d34f,_0x1d207a,_0x4676d8,_0x4f971c){const _0x47b690=_0x42bb9f,_0x56115d={'subUnitId':_0x4676d8,'unitId':_0x1d207a,'cellValue':_0x2e27a8[_0x47b690(0xad)](_0x4f971c)},_0x54a885=_0x2e27a8[_0x47b690(0x135)](_0x31d34f,_0x56115d);let _0x320bba=!0x1;return new _0x288eb9[(_0x47b690(0x280))](_0x54a885[_0x47b690(0xf2)])[_0x47b690(0xbc)]((_0xca4a2f,_0x52ddb7,_0x3b3930)=>{const _0x13b9b1=_0x47b690;if(!_0x320bba&&_0x3b3930&&(_0x3b3930[_0x13b9b1(0xbb)]||_0x3b3930['f']||_0x3b3930['p']||_0x3b3930['s']||_0x3b3930['si']||_0x3b3930['t']||_0x3b3930['v']))return _0x320bba=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x2e27a8['SetRangeValuesMutation']['id'],'params':_0x54a885},'setRangeValueRedoMutation':{'id':_0x2e27a8[_0x47b690(0x3ad)]['id'],'params':_0x56115d},'shouldClear':_0x320bba};}function _0x2a44bf(_0x4207c5){const {row:_0x498e68,col:_0x2cdaa2}=_0x4207c5,_0x3c2d87={'startRow':_0x498e68,'endRow':_0x498e68,'startColumn':_0x2cdaa2,'endColumn':_0x2cdaa2},_0x47452a={'startRow':_0x498e68+0x2,'endRow':_0x498e68+0xe,'startColumn':_0x2cdaa2,'endColumn':_0x2cdaa2+0x6};return[_0x3c2d87,_0x47452a];}function _0x5be9e2(_0x3a27ec,_0x56bc32,_0x42746d){const _0x40dca5=_0x42bb9f,{cornerView:_0x42ed34,rowView:_0x3e6dc1,colView:_0x502d2b,pageView:_0x1ff521}=_0x3a27ec,{row:_0xfbc03b,col:_0x2387b3}=_0x56bc32;if(_0x42746d)return{'rowCount':_0x154bf2+_0xfbc03b,'colCount':_0x34f04a+_0x2387b3};const _0x9c8d90=_0x1ff521[_0x40dca5(0x1ef)]>-0x1?_0x1ff521[_0x40dca5(0x1ef)]+0x1:0x0,_0x4f8c7c=_0x1ff521[_0x40dca5(0x300)]>-0x1?_0x1ff521[_0x40dca5(0x300)]:0x0,_0x3fa650=_0xfbc03b+_0x9c8d90+(_0x9c8d90?0x1:0x0)+_0x42ed34[_0x40dca5(0x2ff)]+_0x3e6dc1[_0x40dca5(0x2ff)],_0x1a583d=_0x2387b3+_0x4f8c7c,_0x430e32=_0x2387b3+_0x42ed34[_0x40dca5(0x39f)]+_0x502d2b[_0x40dca5(0x39f)],_0x31fbe4=Math['max'](_0x1a583d,_0x430e32);return{'rowCount':_0x3fa650,'colCount':_0x31fbe4};}function _0x3034a0(_0x7c09d2,_0x562ad1,_0x1492fb,_0x142b4d){const _0x77c81e=_0x42bb9f,{row:_0x5db49b,col:_0x4c3119,unitId:_0x20acec,subUnitId:_0x19e05a}=_0x1492fb,_0x1544c9=_0x5be9e2(_0x562ad1,{'row':_0x5db49b,'col':_0x4c3119},_0x142b4d),_0x433c27=_0x7c09d2[_0x77c81e(0x239)](_0x288eb9['IUniverInstanceService']),_0x3233cd=_0x2e27a8[_0x77c81e(0xba)](_0x433c27,{'unitId':_0x20acec,'subUnitId':_0x19e05a}),_0x53f45e=[],_0x159f63=[];if(!_0x3233cd)return{'undos':_0x159f63,'redos':_0x53f45e};const {worksheet:_0x3ffc75}=_0x3233cd,_0x417c54=_0x3ffc75['getRowCount'](),_0x2359de=_0x3ffc75[_0x77c81e(0x32b)]();return _0x417c54<_0x1544c9['rowCount']&&(_0x53f45e[_0x77c81e(0x364)]({'id':_0x2e27a8['InsertRowMutation']['id'],'params':{'unitId':_0x20acec,'subUnitId':_0x19e05a,'range':{'startRow':_0x417c54,'endRow':_0x1544c9[_0x77c81e(0x2ff)]-0x1,'startColumn':0x0,'endColumn':_0x2359de-0x1}}}),_0x159f63['push']({'id':_0x2e27a8[_0x77c81e(0x38a)]['id'],'params':{'unitId':_0x20acec,'subUnitId':_0x19e05a,'range':{'startRow':_0x417c54,'endRow':_0x1544c9[_0x77c81e(0x2ff)]-0x1,'startColumn':0x0,'endColumn':_0x2359de-0x1}}})),_0x2359de<_0x1544c9['colCount']&&(_0x53f45e[_0x77c81e(0x364)]({'id':_0x2e27a8[_0x77c81e(0x33b)]['id'],'params':{'unitId':_0x20acec,'subUnitId':_0x19e05a,'range':{'startRow':0x0,'endRow':_0x417c54-0x1,'startColumn':_0x2359de,'endColumn':_0x1544c9[_0x77c81e(0x39f)]-0x1}}}),_0x159f63[_0x77c81e(0x364)]({'id':_0x2e27a8[_0x77c81e(0x11c)]['id'],'params':{'unitId':_0x20acec,'subUnitId':_0x19e05a,'range':{'startRow':0x0,'endRow':_0x417c54-0x1,'startColumn':_0x2359de,'endColumn':_0x1544c9[_0x77c81e(0x39f)]-0x1}}})),{'undos':_0x159f63,'redos':_0x53f45e};}function _0x3c2b73(_0x8108f3){const _0x78fb18=_0x42bb9f;let _0x27fbbf=0x0;for(let _0x681321=0x0;_0x681321<_0x8108f3[_0x78fb18(0x8f)];_0x681321++){const _0xba4d26=_0x8108f3[_0x78fb18(0x22e)](_0x681321);_0xba4d26>=0x4e00&&_0xba4d26<=0x9fff||_0xba4d26>=0x3000&&_0xba4d26<=0x303f||_0xba4d26>=0xff00&&_0xba4d26<=0xffef?_0x27fbbf+=0x2:_0x27fbbf+=0x1;}return _0x27fbbf;}function _0xc12cd5(_0x4c2b46,_0x267a36,_0x2c0f36,_0x23ab99){const _0x1ccfb4=_0x42bb9f;var _0x554465,_0x3aff7a,_0x4e3a20,_0x21804f;const {rowCount:_0x3ec7d1,colCount:_0x7fb241,headerMap:_0x5b610a}=_0x4c2b46,_0x22d754=0x64,_0xa973f4=Math[_0x1ccfb4(0x1e7)](_0x3ec7d1,_0x22d754),_0x12af2a=Math['min'](_0x7fb241,_0x22d754);let _0x5d60cf='',_0x2b4a4e=0x0;for(let _0x289614=0x0;_0x289614<_0xa973f4;_0x289614++)for(let _0xc2da43=0x0;_0xc2da43<_0x12af2a;_0xc2da43++){const _0x20ee1b={...(_0x3aff7a=(_0x554465=_0x4c2b46[_0x1ccfb4(0x2c4)])==null?void 0x0:_0x554465[_0x289614])==null?void 0x0:_0x3aff7a[_0xc2da43]},_0x36e512=(_0x4e3a20=_0x5b610a[_0x289614])==null?void 0x0:_0x4e3a20[_0x1ccfb4(0x11e)],_0x48bd16=_0x23ab99[_0x36e512];let _0x2bf4de=_0x4c2b46[_0x1ccfb4(0x187)](_0x289614,_0xc2da43);if(_0x20ee1b){const _0x2bbfb1=_0x2c0f36?_0xc2da43===0x0&&((_0x21804f=_0x4c2b46[_0x1ccfb4(0x25a)](_0xc2da43+0x1))==null?void 0x0:_0x21804f[_0x1ccfb4(0x278)]):!0x1;_0x2bf4de=_0x2ee935(_0x20ee1b,_0x2bbfb1,_0x48bd16,_0x267a36);}if(_0x2bf4de!==void 0x0){const _0x1aeb19=_0x3c2b73(String(_0x2bf4de));_0x2b4a4e<_0x1aeb19&&(_0x5d60cf=String(_0x2bf4de),_0x2b4a4e=_0x1aeb19);}}return _0x5d60cf;}function _0x4f715a(_0x3a77e2){const _0x49e31d=_0x42bb9f,{rowCount:_0x2150a0,colCount:_0x133940}=_0x3a77e2;let _0x47c070='',_0x502acf=0x0;for(let _0x178983=_0x2150a0-0x1;_0x178983>0x0&&_0x178983>_0x2150a0-0x3;_0x178983--)for(let _0x2e1edd=0x0;_0x2e1edd<_0x133940;_0x2e1edd++){const _0x230a73=_0x3a77e2[_0x49e31d(0x187)](_0x178983,_0x2e1edd);if(_0x230a73!==void 0x0){const _0x17d2f7=String(_0x230a73)[_0x49e31d(0x8f)];_0x502acf<_0x17d2f7&&(_0x47c070=String(_0x230a73),_0x502acf=_0x17d2f7);}}return _0x47c070;}function _0x48e32a(_0x40d774){const _0x173623=_0x42bb9f,{rowCount:_0x51d4d1,colCount:_0x1727f7}=_0x40d774;let _0x5d0305='',_0x526e0d=0x0;for(let _0x4a78aa=0x0;_0x4a78aa<_0x51d4d1;_0x4a78aa++)for(let _0x3f1e5c=0x0;_0x3f1e5c<_0x1727f7;_0x3f1e5c++){const _0x105298=_0x40d774['getValue'](_0x4a78aa,_0x3f1e5c);if(_0x105298!==void 0x0){const _0x1b8af1=String(_0x105298)[_0x173623(0x8f)];_0x526e0d<_0x1b8af1&&(_0x5d0305=String(_0x105298),_0x526e0d=_0x1b8af1);}}return _0x5d0305;}function _0x4b09d5(_0x1aca23,_0x4ddc75){const _0x41648d=_0x42bb9f,{rowFields:_0x21e3e3,columnFields:_0x3de480,valueFields:_0x5d93d4,filterFields:_0x42d834,dimension:_0xa6bf6f,measure:_0xb728c9}=_0x4ddc75;for(const _0x4626ab of _0x21e3e3){const _0x5e284b=_0xa6bf6f[_0x4626ab];_0x5e284b&&_0x1aca23[_0x41648d(0x2a1)](_0x5e284b[_0x41648d(0x160)])&&(_0x1aca23[_0x41648d(0x274)](_0x5e284b['dataFieldId'],_0x2bd302['PivotTableFiledAreaEnum']['Row'],void 0x0,_0x4626ab),_0x5e284b[_0x41648d(0x373)]&&_0x1aca23[_0x41648d(0x33c)](_0x5e284b['id'],_0x5e284b['displayName']),_0x5e284b['sortInfo']&&_0x1aca23['setSortInfo'](_0x5e284b['id'],_0x5e284b[_0x41648d(0xf8)]),_0x5e284b[_0x41648d(0xcf)]&&_0x1aca23[_0x41648d(0x286)](_0x5e284b['id'],_0x5e284b[_0x41648d(0xcf)]));}for(const _0x136863 of _0x3de480){const _0x24c9ea=_0xa6bf6f[_0x136863];_0x24c9ea&&_0x1aca23[_0x41648d(0x2a1)](_0x24c9ea[_0x41648d(0x160)])&&(_0x1aca23[_0x41648d(0x274)](_0x24c9ea[_0x41648d(0x160)],_0x2bd302[_0x41648d(0x25f)][_0x41648d(0x2b9)],void 0x0,_0x136863),_0x24c9ea[_0x41648d(0xf8)]&&_0x1aca23[_0x41648d(0x23e)](_0x24c9ea['id'],_0x24c9ea[_0x41648d(0xf8)]),_0x24c9ea[_0x41648d(0xcf)]&&_0x1aca23['setLabelFilterInfo'](_0x24c9ea['id'],_0x24c9ea[_0x41648d(0xcf)]),_0x24c9ea[_0x41648d(0x373)]&&_0x1aca23[_0x41648d(0x33c)](_0x24c9ea['id'],_0x24c9ea['displayName']));}for(const _0x54c726 of _0x42d834){const _0x3955a9=_0xa6bf6f[_0x54c726];_0x3955a9&&_0x1aca23[_0x41648d(0x2a1)](_0x3955a9[_0x41648d(0x160)])&&(_0x1aca23['addFieldWithSourceId'](_0x3955a9[_0x41648d(0x160)],_0x2bd302[_0x41648d(0x25f)][_0x41648d(0x328)],void 0x0,_0x54c726),_0x3955a9['sortInfo']&&_0x1aca23['setSortInfo'](_0x3955a9['id'],_0x3955a9['sortInfo']),_0x3955a9['filterInfo']&&_0x1aca23['setLabelFilterInfo'](_0x3955a9['id'],_0x3955a9['filterInfo']),_0x3955a9[_0x41648d(0x373)]&&_0x1aca23['renameField'](_0x3955a9['id'],_0x3955a9[_0x41648d(0x373)]));}for(const _0x27ffea of _0x5d93d4){const _0x4ed80c=_0xb728c9[_0x27ffea];_0x4ed80c&&_0x1aca23['getDataFieldByDataFieldId'](_0x4ed80c[_0x41648d(0x160)])&&(_0x1aca23['addFieldWithSourceId'](_0x4ed80c[_0x41648d(0x160)],_0x2bd302['PivotTableFiledAreaEnum'][_0x41648d(0x34e)],void 0x0,_0x27ffea),_0x4ed80c[_0x41648d(0x2a0)]!==void 0x0&&_0x1aca23[_0x41648d(0xf6)](_0x27ffea,_0x4ed80c[_0x41648d(0x2a0)]),_0x4ed80c[_0x41648d(0x2da)]&&_0x1aca23[_0x41648d(0x1a3)](_0x27ffea,_0x4ed80c[_0x41648d(0x2da)]),_0x4ed80c[_0x41648d(0x373)]&&_0x1aca23[_0x41648d(0x33c)](_0x4ed80c['id'],_0x4ed80c[_0x41648d(0x373)]));}const _0x2a9c05=_0x4ddc75['valueFilter'];for(const {fieldId:_0x10be13,filterInfo:_0x52dd33}of _0x2a9c05)_0x1aca23[_0x41648d(0x31d)](_0x10be13,_0x52dd33);}function _0x4d996f(_0x2d34cb,_0x3e7fd8){const _0x2050aa=_0x42bb9f,_0x2c523b=[];_0x3e7fd8===_0x2bd302['PivotTableFiledAreaEnum']['Row']&&_0x2d34cb['iterateFieldByArea'](_0x2bd302[_0x2050aa(0x25f)]['Row'],_0x1c6fa8=>{const _0x127462=_0x2050aa;_0x2c523b[_0x127462(0x364)](_0x1c6fa8[_0x127462(0x37c)]());}),_0x3e7fd8===_0x2bd302[_0x2050aa(0x25f)][_0x2050aa(0x2b9)]&&_0x2d34cb[_0x2050aa(0x37e)](_0x2bd302[_0x2050aa(0x25f)]['Column'],_0x5103c1=>{const _0xfe2e0b=_0x2050aa;_0x2c523b[_0xfe2e0b(0x364)](_0x5103c1['getId']());}),_0x3e7fd8===_0x2bd302[_0x2050aa(0x25f)][_0x2050aa(0x328)]&&_0x2d34cb[_0x2050aa(0x37e)](_0x2bd302[_0x2050aa(0x25f)][_0x2050aa(0x328)],_0xbc8d27=>{const _0x5719d7=_0x2050aa;_0x2c523b[_0x5719d7(0x364)](_0xbc8d27['getId']());}),_0x3e7fd8===_0x2bd302[_0x2050aa(0x25f)][_0x2050aa(0x34e)]&&_0x2d34cb[_0x2050aa(0x37e)](_0x2bd302['PivotTableFiledAreaEnum'][_0x2050aa(0x34e)],_0x1783a4=>{const _0x34c98e=_0x2050aa;_0x2c523b[_0x34c98e(0x364)](_0x1783a4[_0x34c98e(0x37c)]());}),_0x3e7fd8===void 0x0&&_0x2d34cb['iterateField'](_0xa4c882=>{const _0x3f5c4a=_0x2050aa;_0x2c523b['push'](_0xa4c882[_0x3f5c4a(0x37c)]());});const _0xe75d8f=_0x2c523b['length'];for(let _0x2d51ab=_0xe75d8f-0x1;_0x2d51ab>=0x0;_0x2d51ab--)_0x2d34cb[_0x2050aa(0x115)](_0x2c523b[_0x2d51ab]);const _0x3f0947=_0x2d34cb['getValueFilterInfos']();for(const _0x544fde in _0x3f0947)_0x2d34cb[_0x2050aa(0x181)](_0x544fde);}function _0xfb878c(_0x58feb4,_0x17f0ae){const _0x5aaea7=_0x42bb9f,_0x2e0e57=new Date(_0x2bd302[_0x5aaea7(0x2a7)](_0x17f0ae)),_0x519c1=new Date(_0x2bd302[_0x5aaea7(0x2a7)](_0x58feb4)),_0x557a89=_0x2e0e57[_0x5aaea7(0x110)](),_0x34919d=_0x519c1['getFullYear'](),_0x10ff49=_0x2e0e57[_0x5aaea7(0x8d)](),_0x44d618=_0x519c1[_0x5aaea7(0x8d)](),_0x2d299=_0x2e0e57[_0x5aaea7(0x99)](),_0x544962=_0x519c1[_0x5aaea7(0x99)](),_0x5c86e1=_0x557a89===_0x34919d,_0x21710d=_0x5c86e1&&_0x10ff49===_0x44d618;return _0x5c86e1&&_0x21710d&&!(_0x21710d&&_0x2d299===_0x544962)?_0x2bd302[_0x5aaea7(0x8e)][_0x5aaea7(0x234)]:_0x5c86e1&&!_0x21710d?_0x2bd302['PivotDateGroupFieldDateTypeEnum'][_0x5aaea7(0x322)]:_0x2bd302['PivotDateGroupFieldDateTypeEnum'][_0x5aaea7(0x310)];}function _0xf6c030(_0x172df0,_0x2e8a50){const _0x31ee5c=_0x42bb9f,_0x5382af=_0x172df0['get'](_0x5bf755['SheetsPivotDataSourceModel'])[_0x31ee5c(0x128)]();let _0x2cf92c='';switch(_0x2e8a50){case _0x2bd302['PivotDateGroupFieldDateTypeEnum'][_0x31ee5c(0x234)]:_0x2cf92c=_0x5382af[_0x31ee5c(0x2dc)];break;case _0x2bd302[_0x31ee5c(0x8e)][_0x31ee5c(0x322)]:_0x2cf92c=_0x5382af[_0x31ee5c(0x16d)];break;case _0x2bd302[_0x31ee5c(0x8e)][_0x31ee5c(0x310)]:_0x2cf92c=_0x5382af[_0x31ee5c(0x2ac)];break;case _0x2bd302[_0x31ee5c(0x8e)][_0x31ee5c(0x34c)]:_0x2cf92c=_0x5382af[_0x31ee5c(0x170)];break;case _0x2bd302[_0x31ee5c(0x8e)][_0x31ee5c(0x32c)]:_0x2cf92c=_0x5382af[_0x31ee5c(0xe1)];break;case _0x2bd302['PivotDateGroupFieldDateTypeEnum'][_0x31ee5c(0x2a4)]:_0x2cf92c=_0x5382af[_0x31ee5c(0x1f3)];break;case _0x2bd302[_0x31ee5c(0x8e)][_0x31ee5c(0x1ff)]:_0x2cf92c=_0x5382af[_0x31ee5c(0x232)];break;case _0x2bd302['PivotDateGroupFieldDateTypeEnum'][_0x31ee5c(0x24c)]:_0x2cf92c=_0x5382af[_0x31ee5c(0x21b)];break;case _0x2bd302[_0x31ee5c(0x8e)][_0x31ee5c(0x137)]:_0x2cf92c=_0x5382af[_0x31ee5c(0x289)];break;case _0x2bd302['PivotDateGroupFieldDateTypeEnum'][_0x31ee5c(0x154)]:_0x2cf92c=_0x5382af['sheets-pivot.dateGroup.monthDate'];break;case _0x2bd302[_0x31ee5c(0x8e)][_0x31ee5c(0x2fe)]:_0x2cf92c=_0x5382af[_0x31ee5c(0x236)];break;default:_0x2cf92c='';break;}return _0x2cf92c;}const _0x403f4a=_0x42bb9f(0xe9),_0x49e17c={};var _0x230acf=Object[_0x42bb9f(0x235)],_0x593ca7=(_0x1f5607,_0x87d450,_0x16888a,_0x2c90f2)=>{for(var _0x16b4bc=_0x2c90f2>0x1?void 0x0:_0x2c90f2?_0x230acf(_0x87d450,_0x16888a):_0x87d450,_0x13e4c5=_0x1f5607['length']-0x1,_0x5b5e64;_0x13e4c5>=0x0;_0x13e4c5--)(_0x5b5e64=_0x1f5607[_0x13e4c5])&&(_0x16b4bc=_0x5b5e64(_0x16b4bc)||_0x16b4bc);return _0x16b4bc;},_0x28e3fc=(_0xa72f93,_0x2cd8b1)=>(_0x94d089,_0x1aace8)=>_0x2cd8b1(_0x94d089,_0x1aace8,_0xa72f93);_0x5bf755['SheetsPivotTableConfigModel']=class extends _0x288eb9[_0x42bb9f(0x3a9)]{constructor(_0x386cbc,_0x56ba5b,_0x16fa2e,_0x8d02f,_0x1b1110){const _0x569e42=_0x42bb9f;super(),_0x4fb07d(this,'_model',new Map()),_0x4fb07d(this,'_collectionConfigModel',new Map()),_0x4fb07d(this,'_pivotTableRangeInfo',new Map()),_0x4fb07d(this,_0x569e42(0xbd),new Map()),_0x4fb07d(this,_0x569e42(0x38b),new _0x4e0a85[(_0x569e42(0x2bd))]()),_0x4fb07d(this,_0x569e42(0x1b5),new _0x4e0a85[(_0x569e42(0x2bd))]()),_0x4fb07d(this,'pivotInitCompleted$',this[_0x569e42(0x1b5)][_0x569e42(0x2f1)]()),_0x4fb07d(this,_0x569e42(0x169),new _0x4e0a85[(_0x569e42(0x2bd))]()),_0x4fb07d(this,_0x569e42(0x22a),this[_0x569e42(0x169)][_0x569e42(0x2f1)]()),_0x4fb07d(this,_0x569e42(0x332),{}),_0x4fb07d(this,'configVersion$',this[_0x569e42(0x38b)][_0x569e42(0x2f1)]()),(this['_injector']=_0x386cbc,this[_0x569e42(0x370)]=_0x56ba5b,this[_0x569e42(0x1d4)]=_0x16fa2e,this[_0x569e42(0x139)]=_0x8d02f,this[_0x569e42(0x2fd)]=_0x1b1110,this[_0x569e42(0x10f)](),this[_0x569e42(0x1fa)]());const _0x52a5cd=this['_configService']['getConfig'](_0x403f4a);(_0x52a5cd==null?void 0x0:_0x52a5cd[_0x569e42(0x8c)])===!0x0&&this['_initSnapshot']();}['_initUnitDisposed'](){const _0x3f4a4f=_0x42bb9f;this[_0x3f4a4f(0x148)](this[_0x3f4a4f(0x1d4)][_0x3f4a4f(0x34b)](_0x288eb9[_0x3f4a4f(0x175)][_0x3f4a4f(0x197)])[_0x3f4a4f(0x153)](_0x4524ed=>{const _0x2a74a7=_0x3f4a4f;this['deleteUnitId'](_0x4524ed[_0x2a74a7(0x23a)]());}));}[_0x42bb9f(0x305)](){const _0x2e4e70=_0x42bb9f;this[_0x2e4e70(0x1b5)]['next'](!0x0);}[_0x42bb9f(0x10f)](){const _0x4221c5=_0x42bb9f,_0x3afff3=_0x57ebfa(this['_injector'],_0x2e2884,'',{});this[_0x4221c5(0x332)]=_0x3afff3,this[_0x4221c5(0x370)]['executeCommand'](_0x157f7e['id'],{'textInfo':_0x3afff3},{'onlyLocal':!0x0});}[_0x42bb9f(0x128)](){const _0x109c32=_0x42bb9f;return this[_0x109c32(0x332)];}[_0x42bb9f(0x39b)](_0x5c5cf0,_0x503220,_0x59f8fb,_0x26bb76,_0x2ca6a6){const _0x5f1ddc=_0x42bb9f;this[_0x5f1ddc(0x1f8)](_0x5c5cf0,_0x503220,_0x59f8fb,_0x26bb76),this['updatePivotTableRangeInfo'](_0x5c5cf0,_0x503220,_0x59f8fb,_0x2ca6a6);}[_0x42bb9f(0x9b)](_0x470b99,_0x147d83,_0x4c17f1){const _0x45bdb1=_0x42bb9f;var _0x303a52;const _0x401ff5=(_0x303a52=this[_0x45bdb1(0x27d)][_0x45bdb1(0x239)](_0x470b99))==null?void 0x0:_0x303a52['get'](_0x147d83);if(_0x401ff5)return _0x401ff5[_0x45bdb1(0x239)](_0x4c17f1);}[_0x42bb9f(0x12d)](_0x5e6487,_0x2ef0b9){const _0x486d39=_0x42bb9f,_0x12077e=this['_model'][_0x486d39(0x239)](_0x5e6487);if(_0x12077e){for(const [_0x45d0a9,_0x34bc92]of _0x12077e['entries']())for(const [_0x4ad7c9,_0x969723]of _0x34bc92[_0x486d39(0xa1)]())if(_0x4ad7c9===_0x2ef0b9)return _0x969723['targetCellInfo'];}}[_0x42bb9f(0x33f)](_0xd3f5ce,_0x150221,_0x510a90){const _0x1fd529=_0x42bb9f,_0x2d609c=this[_0x1fd529(0x9b)](_0xd3f5ce,_0x150221,_0x510a90);return _0x2d609c==null?void 0x0:_0x2d609c[_0x1fd529(0x242)];}[_0x42bb9f(0x244)](_0x442e63,_0x1d20b0){const _0x403a4b=_0x42bb9f;var _0x39a52b;return(_0x39a52b=this[_0x403a4b(0x27d)][_0x403a4b(0x239)](_0x442e63))==null?void 0x0:_0x39a52b[_0x403a4b(0x239)](_0x1d20b0);}['updateConfigCache'](_0x224f4a,_0x4ac86b,_0x258b8b,_0x403a6c){const _0x1b75c3=_0x42bb9f,_0x5d1528=this['_ensurePivotMap'](_0x224f4a,_0x4ac86b);_0x403a6c?_0x5d1528[_0x1b75c3(0x22c)](_0x258b8b,_0x403a6c):_0x5d1528[_0x1b75c3(0x1ca)](_0x258b8b),this[_0x1b75c3(0x169)][_0x1b75c3(0x287)]({'unitId':_0x224f4a,'subUnitId':_0x4ac86b,'pivotTableId':_0x258b8b,'pivotTableConfig':_0x403a6c});}[_0x42bb9f(0x2c8)](_0x572c37,_0x3d29c9){const _0x2a239d=_0x42bb9f;var _0x169e77;return(_0x169e77=this[_0x2a239d(0x101)][_0x2a239d(0x239)](_0x572c37))==null?void 0x0:_0x169e77['collections'][_0x3d29c9];}['updateCollectionConfig'](_0x594c90,_0x213c37){const _0xf71cf4=_0x42bb9f;this['_collectionConfigModel']['set'](_0x594c90,_0x213c37),this[_0xf71cf4(0x38b)][_0xf71cf4(0x287)](Math[_0xf71cf4(0x106)]());}[_0x42bb9f(0x225)](_0x390a46,_0x2db661){const _0x4b57dd=_0x42bb9f;let _0x1d9e3f=this[_0x4b57dd(0x27d)][_0x4b57dd(0x239)](_0x390a46);_0x1d9e3f||(_0x1d9e3f=new Map(),this[_0x4b57dd(0x27d)][_0x4b57dd(0x22c)](_0x390a46,_0x1d9e3f));let _0x46ea21=_0x1d9e3f['get'](_0x2db661);return _0x46ea21||(_0x46ea21=new Map(),_0x1d9e3f[_0x4b57dd(0x22c)](_0x2db661,_0x46ea21)),_0x46ea21;}['_ensurePivotTableRangeInfo'](_0x5e7afe,_0x17d64f){const _0x45f113=_0x42bb9f;let _0x5e28ae=this[_0x45f113(0x256)][_0x45f113(0x239)](_0x5e7afe);_0x5e28ae||(_0x5e28ae=new Map(),this[_0x45f113(0x256)][_0x45f113(0x22c)](_0x5e7afe,_0x5e28ae));let _0x1a7818=_0x5e28ae['get'](_0x17d64f);return _0x1a7818||(_0x1a7818=new Map(),_0x5e28ae['set'](_0x17d64f,_0x1a7818)),_0x1a7818;}['_ensurePivotTableMatrixInfo'](_0x548ca1,_0x5ef743){const _0x40cadb=_0x42bb9f;let _0x4188e6=this['_pivotTableMatrixInfo'][_0x40cadb(0x239)](_0x548ca1);_0x4188e6||(_0x4188e6=new Map(),this[_0x40cadb(0xbd)]['set'](_0x548ca1,_0x4188e6));let _0x460bd6=_0x4188e6[_0x40cadb(0x239)](_0x5ef743);return _0x460bd6||(_0x460bd6=new Map(),_0x4188e6[_0x40cadb(0x22c)](_0x5ef743,_0x460bd6)),_0x460bd6;}['updatePivotTableRangeInfo'](_0x18288e,_0x2ce11b,_0x290b0c,_0x1deb44){const _0x3322b1=_0x42bb9f;var _0xb0ef1d;const _0x2e0671=this[_0x3322b1(0x172)](_0x18288e,_0x2ce11b),_0x1576c8=(_0xb0ef1d=_0x2e0671['get'](_0x290b0c))==null?void 0x0:_0xb0ef1d[_0x3322b1(0x1b7)];_0x2e0671[_0x3322b1(0x22c)](_0x290b0c,{'oldRangeInfo':_0x1576c8,'rangeInfo':_0x1deb44});}[_0x42bb9f(0x1f8)](_0x3263d9,_0x21d8de,_0x4c6643,_0x538dbd){const _0x231adc=_0x42bb9f;var _0x491c28;const _0x2322b7=this[_0x231adc(0xb8)](_0x3263d9,_0x21d8de),_0x7da409=(_0x491c28=_0x2322b7['get'](_0x4c6643))==null?void 0x0:_0x491c28[_0x231adc(0xd7)];_0x2322b7[_0x231adc(0x22c)](_0x4c6643,{'oldMatrix':_0x7da409,'matrix':_0x538dbd});}[_0x42bb9f(0x29f)](_0x2c128c,_0x3dd57b,_0x5753ce){const _0x5cec7b=_0x42bb9f;var _0x3b15bc,_0x18dce5;return(_0x18dce5=(_0x3b15bc=this[_0x5cec7b(0x256)][_0x5cec7b(0x239)](_0x2c128c))==null?void 0x0:_0x3b15bc[_0x5cec7b(0x239)](_0x3dd57b))==null?void 0x0:_0x18dce5[_0x5cec7b(0x239)](_0x5753ce);}['getPivotTableMatrixInfo'](_0x56f5b3,_0x552f8a,_0x12d0e4){const _0x18bbc3=_0x42bb9f;var _0x2d6ff8,_0x1b67f6;return(_0x1b67f6=(_0x2d6ff8=this['_pivotTableMatrixInfo'][_0x18bbc3(0x239)](_0x56f5b3))==null?void 0x0:_0x2d6ff8[_0x18bbc3(0x239)](_0x552f8a))==null?void 0x0:_0x1b67f6[_0x18bbc3(0x239)](_0x12d0e4);}[_0x42bb9f(0x1b6)](_0x5e4782){const _0x59cf8e=_0x42bb9f;this['_model'][_0x59cf8e(0x1ca)](_0x5e4782),this['_collectionConfigModel'][_0x59cf8e(0x1ca)](_0x5e4782);}[_0x42bb9f(0x31e)](_0x199f81){const _0x417d2d=_0x42bb9f,_0x15c770={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x417d2d(0x101)]['get'](_0x199f81)&&(_0x15c770[_0x417d2d(0x2d1)][_0x199f81]=this[_0x417d2d(0x101)][_0x417d2d(0x239)](_0x199f81)),this['_model']['get'](_0x199f81)){_0x15c770[_0x417d2d(0x1cf)][_0x199f81]={};const _0x4c9e72=this[_0x417d2d(0x27d)][_0x417d2d(0x239)](_0x199f81);_0x4c9e72!=null&&_0x4c9e72['size']&&[..._0x4c9e72[_0x417d2d(0x237)]()][_0x417d2d(0x36d)](_0x51fd04=>{const _0x5a0a8d=_0x417d2d,_0x5bd870=_0x4c9e72[_0x5a0a8d(0x239)](_0x51fd04);_0x5bd870!=null&&_0x5bd870['size']&&(_0x15c770[_0x5a0a8d(0x1cf)][_0x199f81][_0x51fd04]={},[..._0x5bd870[_0x5a0a8d(0x237)]()]['forEach'](_0x3adf7d=>{const _0x1b455a=_0x5a0a8d,_0x287d1b=_0x5bd870[_0x1b455a(0x239)](_0x3adf7d);_0x287d1b&&(_0x15c770['pivotTableConfigs'][_0x199f81][_0x51fd04][_0x3adf7d]=_0x287d1b);}));});}return _0x15c770;}[_0x42bb9f(0x238)](){const _0x3a8d06=_0x42bb9f;this[_0x3a8d06(0x148)](this[_0x3a8d06(0x139)][_0x3a8d06(0x2b3)]({'toJson':_0x4cb0ea=>JSON[_0x3a8d06(0x297)](this['_toJSON'](_0x4cb0ea)),'parseJson':_0x1f99e8=>({}),'businesses':[_0x288eb9[_0x3a8d06(0x175)][_0x3a8d06(0x197)]],'pluginName':_0xd0f9a3,'onLoad':(_0x2daf4d,_0x578456)=>{},'onUnLoad':_0xf73989=>{const _0x28c887=_0x3a8d06;this[_0x28c887(0x1b6)](_0xf73989);}}));}},_0x5bf755[_0x42bb9f(0x2e2)]=_0x593ca7([_0x28e3fc(0x0,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0x1fb)])),_0x28e3fc(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0x19d)])),_0x28e3fc(0x2,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0x132)])),_0x28e3fc(0x3,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9['IResourceManagerService'])),_0x28e3fc(0x4,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0xd5)]))],_0x5bf755[_0x42bb9f(0x2e2)]);var _0x70c2d2=Object['getOwnPropertyDescriptor'],_0x6898dc=(_0x3ef105,_0x8682cd,_0x3f5628,_0x3bcb06)=>{const _0x52c2cb=_0x42bb9f;for(var _0x93bce8=_0x3bcb06>0x1?void 0x0:_0x3bcb06?_0x70c2d2(_0x8682cd,_0x3f5628):_0x8682cd,_0x588e8f=_0x3ef105[_0x52c2cb(0x8f)]-0x1,_0x5e9294;_0x588e8f>=0x0;_0x588e8f--)(_0x5e9294=_0x3ef105[_0x588e8f])&&(_0x93bce8=_0x5e9294(_0x93bce8)||_0x93bce8);return _0x93bce8;},_0x2de5c7=(_0x41e897,_0x201c9d)=>(_0x519d68,_0x3d2512)=>_0x201c9d(_0x519d68,_0x3d2512,_0x41e897);_0x5bf755[_0x42bb9f(0x249)]=class extends _0x288eb9[_0x42bb9f(0x3a9)]{constructor(_0x306a35,_0x28726d,_0x1965c3,_0x2d1698,_0x2b5b66){const _0x5422ff=_0x42bb9f;super(),_0x4fb07d(this,'_pivotRenderInfoCache',new Map()),_0x4fb07d(this,_0x5422ff(0x189),new Map()),_0x4fb07d(this,_0x5422ff(0x218),new _0x4e0a85[(_0x5422ff(0x2bd))]()),_0x4fb07d(this,_0x5422ff(0x2c9),this[_0x5422ff(0x218)][_0x5422ff(0x2f1)]()),_0x4fb07d(this,'_viewUpdate$',new _0x4e0a85[(_0x5422ff(0x2bd))]()),_0x4fb07d(this,_0x5422ff(0x240),this['_viewUpdate$'][_0x5422ff(0x2f1)]()),_0x4fb07d(this,_0x5422ff(0x332)),(this[_0x5422ff(0x27f)]=_0x306a35,this['_injector']=_0x28726d,this[_0x5422ff(0x98)]=_0x1965c3,this[_0x5422ff(0x1d4)]=_0x2d1698,this['_exclusiveRangeService']=_0x2b5b66,this[_0x5422ff(0x10f)](),this[_0x5422ff(0x1fa)]());}[_0x42bb9f(0x1fa)](){const _0x250e80=_0x42bb9f;this[_0x250e80(0x148)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x288eb9[_0x250e80(0x175)]['UNIVER_SHEET'])[_0x250e80(0x153)](_0x5402d9=>{const _0x19d7e8=_0x250e80;this[_0x19d7e8(0x1b6)](_0x5402d9[_0x19d7e8(0x23a)]());}));}[_0x42bb9f(0x10f)](){const _0x7a2690=_0x42bb9f;this[_0x7a2690(0x332)]=_0x57ebfa(this[_0x7a2690(0x39e)],_0x2e2884,'',{});}['updateRenderCache'](_0x37f994){const _0x20df5b=_0x42bb9f,{view:_0x43dde5,unitId:_0x1b57cf,subUnitId:_0x3d5cf2,pivotTableId:_0x134de2,type:_0x58a27b}=_0x37f994,_0x1f5bed=this['_sheetsPivotTableConfigModel'][_0x20df5b(0x9b)](_0x1b57cf,_0x3d5cf2,_0x134de2);if(!_0x43dde5||!_0x1f5bed||_0x58a27b===_0x2de5fe[_0x20df5b(0x163)])return;const {pageView:_0x5e0788,cornerView:_0xf8d7ad,rowView:_0x378223,colView:_0x4b4632,dataView:_0x5193a0}=_0x43dde5,_0x439236=_0x1f5bed['targetCellInfo'],_0xcdb1d=_0x1f5bed[_0x20df5b(0x279)],_0x3440fa=this[_0x20df5b(0x15b)](_0x1b57cf,_0x3d5cf2),_0x317927=this[_0x20df5b(0x2f0)](_0x1b57cf,_0x3d5cf2,_0x134de2);if(_0xcdb1d)return this['_updateRenderEmptyCache'](_0x37f994,_0x3440fa,_0x439236,_0x317927);{const _0x169534=_0x2b2601(_0x439236,_0x5e0788,!0x0),_0x1252a1=_0x5e0788[_0x20df5b(0x1ef)]>=0x0?_0x5e0788[_0x20df5b(0x1ef)]+0x1:0x0,_0x263e94=_0xf8d7ad[_0x20df5b(0xec)](),_0x1767f8=_0xf8d7ad[_0x20df5b(0x146)](),_0x2516b6=_0x169534[_0x20df5b(0x8f)]>0x0?_0x4bce21:0x0,_0xc9f37c=_0x2b2601({'row':_0x439236[_0x20df5b(0x392)]+_0x1252a1+_0x2516b6,'col':_0x439236[_0x20df5b(0x113)]},_0xf8d7ad,!0x1,!0x1),_0x1b82a2=_0x2b2601({'row':_0x439236[_0x20df5b(0x392)]+_0x1252a1+_0x2516b6+_0x263e94,'col':_0x439236[_0x20df5b(0x113)]},_0x378223,!0x1,!0x0),_0x2c2b23=_0x2b2601({'row':_0x439236[_0x20df5b(0x392)]+_0x1252a1+_0x2516b6,'col':_0x439236[_0x20df5b(0x113)]+_0x1767f8},_0x4b4632,!0x1,!0x0),_0x3c095f=_0x2b2601({'row':_0x439236['row']+_0x1252a1+_0x2516b6+_0x263e94,'col':_0x439236[_0x20df5b(0x113)]+_0x1767f8},_0x5193a0,!0x1,!0x1);_0x317927[_0x20df5b(0x33d)]={'rowRanges':_0x1b82a2,'colRanges':_0x2c2b23,'cornerRanges':_0xc9f37c,'dataRanges':_0x3c095f,'pageRanges':_0x169534};const _0x2c2596=_0x22a312(this['_injector'],_0x43dde5,_0x1f5bed,this[_0x20df5b(0x332)]),{valueMatrix:_0x414a0f,rowInfo:_0x3603dd,colInfo:_0x346f43,cornerInfo:_0x4c469c,rowHeaderMap:_0x10a139,colHeaderMap:_0x10da99}=_0x2c2596;return _0x317927[_0x20df5b(0x12f)]={'rowInfo':_0x3603dd,'colInfo':_0x346f43,'cornerInfo':_0x4c469c},_0x317927[_0x20df5b(0x15f)]={'rowHeaderMap':_0x10a139,'colHeaderMap':_0x10da99},_0x414a0f[_0x20df5b(0x36d)]((_0x599b3f,_0x50b33e)=>{const _0x26c0d8=_0x20df5b;Object[_0x26c0d8(0x237)](_0x50b33e)[_0x26c0d8(0x36d)](_0x421eed=>{const _0x5a2998=_0x26c0d8,_0x509fa8=+_0x421eed,_0x371a87=_0x414a0f[_0x5a2998(0x187)](_0x599b3f,_0x509fa8);_0x3440fa[_0x5a2998(0x1bb)](_0x599b3f,_0x509fa8,_0x371a87);});}),this['_viewUpdate$']['next']({'unitId':_0x1b57cf,'subUnitId':_0x3d5cf2,'valueMatrix':_0x3440fa,'rangesCache':_0x317927['rangesInfo'],'pivotTableId':_0x134de2,'type':_0x37f994[_0x20df5b(0x29a)]}),this[_0x20df5b(0x98)][_0x20df5b(0x39b)](_0x1b57cf,_0x3d5cf2,_0x134de2,_0x3440fa,_0x317927[_0x20df5b(0x33d)]),this['_exclusiveRangeService']['addExclusiveRange'](_0x1b57cf,_0x3d5cf2,_0x1f2a8b,this[_0x20df5b(0x30d)](_0x317927['rangesInfo'],_0x134de2)),{'rangeCache':_0x317927[_0x20df5b(0x33d)],'matrix':_0x3440fa};}}[_0x42bb9f(0x243)](_0x27176d,_0x35e97a,_0x2ada6c,_0x94c6ff){const _0x34d380=_0x42bb9f,_0x7c167d=this[_0x34d380(0x27f)]['t'],{unitId:_0x1abb8e,subUnitId:_0x3dee5a,pivotTableId:_0x1e6603}=_0x27176d,_0x5dd0f9={'filter':_0x7c167d(_0x34d380(0x1b9)),'row':_0x7c167d(_0x34d380(0xd3)),'column':_0x7c167d(_0x34d380(0xc3)),'values':_0x7c167d(_0x34d380(0x1f7))},{matrixCache:_0x25aa84,rangesCache:_0x3179fe}=_0x3dd3c1(_0x5dd0f9,_0x2ada6c);return _0x25aa84[_0x34d380(0xbc)]((_0x109b36,_0x3ae68e,_0x47ed4d)=>{const _0x18faa9=_0x34d380;_0x35e97a[_0x18faa9(0x1bb)](_0x109b36,_0x3ae68e,_0x47ed4d);}),_0x94c6ff[_0x34d380(0x33d)]=_0x3179fe,this[_0x34d380(0x24d)]['next']({'unitId':_0x1abb8e,'subUnitId':_0x3dee5a,'valueMatrix':_0x35e97a,'rangesCache':_0x3179fe,'pivotTableId':_0x1e6603,'type':_0x27176d[_0x34d380(0x29a)],'isEmpty':!0x0}),this[_0x34d380(0x98)][_0x34d380(0x39b)](_0x1abb8e,_0x3dee5a,_0x1e6603,_0x35e97a,_0x3179fe),this[_0x34d380(0x118)][_0x34d380(0x1cb)](_0x1abb8e,_0x3dee5a,_0x1f2a8b,this[_0x34d380(0x30d)](_0x3179fe,_0x1e6603)),{'rangeCache':_0x94c6ff['rangesInfo'],'matrix':_0x35e97a};}['_createExclusiveRange'](_0x21db7d,_0x579c95){const _0x40b55f=_0x42bb9f,_0x23a0f0=[],_0x3af086=_0x26ef08(_0x21db7d);for(const _0x21b44d of _0x3af086)_0x23a0f0[_0x40b55f(0x364)]({'groupId':_0x579c95,'range':_0x21b44d});return _0x23a0f0;}['clearRenderCache'](_0x2a9dbe){const _0x7ae71f=_0x42bb9f;var _0x26bcbc,_0x1cabed,_0x4f0555,_0x312b99;const {pivotTableId:_0x51ae3f,unitId:_0x4a90bc,subUnitId:_0x4a52df}=_0x2a9dbe;if(!_0x51ae3f||!_0x4a90bc||!_0x4a52df)return;const _0x21b3e9=this[_0x7ae71f(0x15b)](_0x4a90bc,_0x4a52df),_0x23ad73=(_0x1cabed=(_0x26bcbc=this[_0x7ae71f(0x145)][_0x7ae71f(0x239)](_0x4a90bc))==null?void 0x0:_0x26bcbc[_0x7ae71f(0x239)](_0x4a52df))==null?void 0x0:_0x1cabed['get'](_0x51ae3f);if(_0x23ad73!=null&&_0x23ad73[_0x7ae71f(0x33d)]){for(const _0x542672 of Object['keys'](_0x23ad73[_0x7ae71f(0x33d)]))_0x23ad73[_0x7ae71f(0x33d)][_0x542672][_0x7ae71f(0x36d)](_0x2f726c=>{const _0x4bad18=_0x7ae71f;for(let _0x504140=_0x2f726c[_0x4bad18(0x36a)];_0x504140<=_0x2f726c['endRow'];_0x504140++)for(let _0xeac14e=_0x2f726c[_0x4bad18(0x1c9)];_0xeac14e<=_0x2f726c[_0x4bad18(0x1f1)];_0xeac14e++)_0x21b3e9[_0x4bad18(0x1b2)](_0x504140,_0xeac14e);});}_0x23ad73&&((_0x312b99=(_0x4f0555=this[_0x7ae71f(0x145)][_0x7ae71f(0x239)](_0x4a90bc))==null?void 0x0:_0x4f0555[_0x7ae71f(0x239)](_0x4a52df))==null||_0x312b99['delete'](_0x51ae3f)),this[_0x7ae71f(0x24d)][_0x7ae71f(0x287)]({'unitId':_0x4a90bc,'subUnitId':_0x4a52df,'valueMatrix':_0x21b3e9,'pivotTableId':_0x51ae3f,'rangesCache':void 0x0,'type':_0x2a9dbe['type']}),this['_exclusiveRangeService']['clearExclusiveRangesByGroupId'](_0x4a90bc,_0x4a52df,_0x1f2a8b,_0x51ae3f);}[_0x42bb9f(0x2f0)](_0x1c3403,_0xaf6583,_0x27a317){const _0x24c2c2=_0x42bb9f;var _0x4e6943,_0x53c8a5,_0x2c3fe3,_0x26b531,_0x186c60,_0x19bd5b;return this[_0x24c2c2(0x145)]['has'](_0x1c3403)||this[_0x24c2c2(0x145)]['set'](_0x1c3403,new Map()),(_0x4e6943=this[_0x24c2c2(0x145)][_0x24c2c2(0x239)](_0x1c3403))!=null&&_0x4e6943[_0x24c2c2(0xde)](_0xaf6583)||(_0x53c8a5=this[_0x24c2c2(0x145)][_0x24c2c2(0x239)](_0x1c3403))==null||_0x53c8a5[_0x24c2c2(0x22c)](_0xaf6583,new Map()),(_0x26b531=(_0x2c3fe3=this[_0x24c2c2(0x145)][_0x24c2c2(0x239)](_0x1c3403))==null?void 0x0:_0x2c3fe3[_0x24c2c2(0x239)](_0xaf6583))!=null&&_0x26b531[_0x24c2c2(0xde)](_0x27a317)||(_0x19bd5b=(_0x186c60=this[_0x24c2c2(0x145)]['get'](_0x1c3403))==null?void 0x0:_0x186c60['get'](_0xaf6583))==null||_0x19bd5b[_0x24c2c2(0x22c)](_0x27a317,{}),this[_0x24c2c2(0x145)]['get'](_0x1c3403)[_0x24c2c2(0x239)](_0xaf6583)[_0x24c2c2(0x239)](_0x27a317);}[_0x42bb9f(0x15b)](_0x5ae362,_0x5e6b8f){const _0x5d33b0=_0x42bb9f;var _0x1ec919,_0x492927;return this[_0x5d33b0(0x189)][_0x5d33b0(0xde)](_0x5ae362)||this[_0x5d33b0(0x189)][_0x5d33b0(0x22c)](_0x5ae362,new Map()),(_0x1ec919=this[_0x5d33b0(0x189)]['get'](_0x5ae362))!=null&&_0x1ec919[_0x5d33b0(0xde)](_0x5e6b8f)||(_0x492927=this[_0x5d33b0(0x189)][_0x5d33b0(0x239)](_0x5ae362))==null||_0x492927['set'](_0x5e6b8f,new _0x288eb9['ObjectMatrix']()),this[_0x5d33b0(0x189)][_0x5d33b0(0x239)](_0x5ae362)[_0x5d33b0(0x239)](_0x5e6b8f);}['getPivotTableCellData'](_0x5afd94,_0x792b68,_0x4b7906,_0x40b629){const _0x2cadc2=_0x42bb9f;var _0x38953f,_0x196052;const _0x5eb059=(_0x196052=(_0x38953f=this[_0x2cadc2(0x189)]['get'](_0x5afd94))==null?void 0x0:_0x38953f[_0x2cadc2(0x239)](_0x792b68))==null?void 0x0:_0x196052[_0x2cadc2(0x187)](_0x4b7906,_0x40b629);if(_0x5eb059!=null)return _0x5eb059;}['getPivotTableIdByCell'](_0x3b0161,_0x2966ae,_0x5cee6d,_0x126f35){const _0x71ede8=_0x42bb9f;var _0x49fd3b;const _0x1e7d72=_0x288eb9['cellToRange'](_0x5cee6d,_0x126f35),_0x2b537f=(_0x49fd3b=this[_0x71ede8(0x145)][_0x71ede8(0x239)](_0x3b0161))==null?void 0x0:_0x49fd3b[_0x71ede8(0x239)](_0x2966ae);return _0x2b537f?Array['from'](_0x2b537f[_0x71ede8(0x237)]())[_0x71ede8(0x261)](_0x78217d=>{const _0x8e8d0a=_0x71ede8,_0x2d76be=_0x2b537f[_0x8e8d0a(0x239)](_0x78217d),_0x2d803a=_0x2d76be==null?void 0x0:_0x2d76be['rangesInfo'];return _0x2d803a?Object[_0x8e8d0a(0x237)](_0x2d803a)[_0x8e8d0a(0x281)](_0x13d8d3=>_0x2d803a[_0x13d8d3]['some'](_0x2c34af=>_0x288eb9[_0x8e8d0a(0x25d)][_0x8e8d0a(0x2f4)](_0x2c34af,_0x1e7d72))):!0x1;}):void 0x0;}[_0x42bb9f(0x2d8)](_0x40cbf9,_0x30f469,_0x1a98cf){const _0x337500=_0x42bb9f;var _0x567ebb;const _0x54a421=(_0x567ebb=this[_0x337500(0x145)][_0x337500(0x239)](_0x40cbf9))==null?void 0x0:_0x567ebb['get'](_0x30f469),_0x30bef8=[];return _0x54a421&&Array['from'](_0x54a421[_0x337500(0x237)]())[_0x337500(0x36d)](_0x3a68b2=>{const _0x335bb4=_0x337500,_0x42a630=_0x54a421[_0x335bb4(0x239)](_0x3a68b2),_0x4e51a1=_0x42a630==null?void 0x0:_0x42a630[_0x335bb4(0x33d)];if(_0x4e51a1)for(const _0x2fe900 of Object[_0x335bb4(0xe2)](_0x4e51a1)){let _0x594d93=!0x1;for(const _0x2f49c6 of _0x2fe900)if(_0x288eb9[_0x335bb4(0x25d)][_0x335bb4(0x1e4)](_0x2f49c6,_0x1a98cf)){_0x30bef8[_0x335bb4(0x364)](_0x3a68b2),_0x594d93=!0x0;break;}if(_0x594d93)break;}}),_0x30bef8;}[_0x42bb9f(0x16b)](_0x569b61,_0x38a07c){const _0x8f8af0=_0x42bb9f;var _0x584116,_0x192a74;return(_0x192a74=(_0x584116=this[_0x8f8af0(0x189)][_0x8f8af0(0x239)](_0x569b61))==null?void 0x0:_0x584116[_0x8f8af0(0x239)](_0x38a07c))!=null?_0x192a74:new _0x288eb9[(_0x8f8af0(0x280))]();}[_0x42bb9f(0x1c8)](_0xe3f82,_0x656094){const _0x4763e9=_0x42bb9f;var _0x38f765;return(_0x38f765=this[_0x4763e9(0x145)][_0x4763e9(0x239)](_0xe3f82))==null?void 0x0:_0x38f765[_0x4763e9(0x239)](_0x656094);}[_0x42bb9f(0x2ab)](_0x2b5f21,_0x3abc6d,_0x23bd7){const _0x137954=_0x42bb9f;var _0xd0f1f8,_0x346905;return(_0x346905=(_0xd0f1f8=this[_0x137954(0x145)][_0x137954(0x239)](_0x2b5f21))==null?void 0x0:_0xd0f1f8['get'](_0x3abc6d))==null?void 0x0:_0x346905['get'](_0x23bd7);}[_0x42bb9f(0x1b6)](_0x26830c){const _0x23ec09=_0x42bb9f;this[_0x23ec09(0x145)][_0x23ec09(0x1ca)](_0x26830c),this[_0x23ec09(0x189)][_0x23ec09(0x1ca)](_0x26830c);}['markDirty'](_0x34be64,_0x354568){const _0x5c64f2=_0x42bb9f;this[_0x5c64f2(0x218)][_0x5c64f2(0x287)]({'unitId':_0x34be64,'subUnitId':_0x354568});}},_0x5bf755['SheetsPivotTableAdaptorModel']=_0x6898dc([_0x2de5c7(0x0,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9['LocaleService'])),_0x2de5c7(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0x1fb)])),_0x2de5c7(0x2,_0x288eb9[_0x42bb9f(0x21c)](_0x5bf755[_0x42bb9f(0x2e2)])),_0x2de5c7(0x3,_0x288eb9['Inject'](_0x288eb9[_0x42bb9f(0x132)])),_0x2de5c7(0x4,_0x288eb9[_0x42bb9f(0x21c)](_0x2e27a8['IExclusiveRangeService']))],_0x5bf755['SheetsPivotTableAdaptorModel']);var _0x2dffdc=Object[_0x42bb9f(0x235)],_0x36df02=(_0x3a3311,_0x1a8cc0,_0x274a3d,_0x5c3c2a)=>{const _0x2b00cd=_0x42bb9f;for(var _0x48b930=_0x5c3c2a>0x1?void 0x0:_0x5c3c2a?_0x2dffdc(_0x1a8cc0,_0x274a3d):_0x1a8cc0,_0x5ad724=_0x3a3311[_0x2b00cd(0x8f)]-0x1,_0x1d8084;_0x5ad724>=0x0;_0x5ad724--)(_0x1d8084=_0x3a3311[_0x5ad724])&&(_0x48b930=_0x1d8084(_0x48b930)||_0x48b930);return _0x48b930;},_0x361ad8=(_0x22a075,_0x2834de)=>(_0x1b98f7,_0x2462ef)=>_0x2834de(_0x1b98f7,_0x2462ef,_0x22a075);_0x5bf755[_0x42bb9f(0x19e)]=class extends _0x288eb9[_0x42bb9f(0x3a9)]{constructor(_0x496a80,_0xd48a57){const _0x3695fb=_0x42bb9f;super(),_0x4fb07d(this,_0x3695fb(0x2cc),new _0x288eb9[(_0x3695fb(0xd4))]({'PIVOT_PERFORM_CHECK':_0x5ce99e})),_0x4fb07d(this,_0x3695fb(0x26a),new _0x288eb9[(_0x3695fb(0x2ca))]({'PIVOT_MUTATION_GENERATE':_0x1ab638})),(this['_sheetInterceptorService']=_0x496a80,this['_sheetsPivotTableAdaptorModel']=_0xd48a57,this[_0x3695fb(0x1eb)]());}['_init'](){const _0x3c895f=_0x42bb9f;this[_0x3c895f(0x1db)]();}[_0x42bb9f(0x9c)](_0x279bd7){const _0x18b9ad=_0x42bb9f;return this[_0x18b9ad(0x2cc)][_0x18b9ad(0x1f9)](_0x5ce99e)(!0x1,_0x279bd7);}[_0x42bb9f(0x1db)](){const _0x8c0f95=_0x42bb9f;this['disposeWithMe'](this[_0x8c0f95(0x1bc)][_0x8c0f95(0x2db)](_0x2e27a8['INTERCEPTOR_POINT']['CELL_CONTENT'],{'priority':0xc8,'effect':_0x288eb9[_0x8c0f95(0x164)][_0x8c0f95(0x34e)]|_0x288eb9[_0x8c0f95(0x164)][_0x8c0f95(0x2a3)],'handler':(_0x50dba5,_0x2fa83e,_0x5a8ce1)=>{const _0x24904a=_0x8c0f95,{row:_0x416dce,col:_0x2e83cd,unitId:_0x19bfcd,subUnitId:_0x191f13,workbook:_0x5b1e3e}=_0x2fa83e,_0x26dc43=this[_0x24904a(0xb2)][_0x24904a(0x273)](_0x19bfcd,_0x191f13,_0x416dce,_0x2e83cd);if(!_0x26dc43)return _0x5a8ce1(_0x50dba5);const _0x41b9c0={..._0x50dba5};(_0x26dc43['v']||_0x26dc43['v']===0x0)&&(_0x41b9c0['v']=_0x26dc43['v']),_0x26dc43['t']&&(_0x41b9c0['t']=_0x26dc43['t']);const _0x15cc0f=(typeof(_0x50dba5==null?void 0x0:_0x50dba5['s'])==_0x24904a(0x16e)?_0x5b1e3e[_0x24904a(0xa4)]()[_0x24904a(0x239)](_0x50dba5==null?void 0x0:_0x50dba5['s']):_0x50dba5==null?void 0x0:_0x50dba5['s'])||{},_0x10cbbc=_0x5b1e3e[_0x24904a(0xa4)]()[_0x24904a(0x239)](_0x26dc43['s']),_0xf866ca={..._0x10cbbc,..._0x15cc0f};_0x10cbbc!=null&&_0x10cbbc['n']&&(_0xf866ca['n']=_0x10cbbc['n']);const _0x25b3b7=_0x5b1e3e[_0x24904a(0xa4)]()['setValue'](_0xf866ca);return _0x41b9c0['s']=_0x25b3b7,(_0x26dc43[_0x24904a(0x1a2)]===_0x2bd302[_0x24904a(0x227)]['Collapse']||_0x26dc43[_0x24904a(0x1a2)]===_0x2bd302['PivotCellStyleTypeEnum'][_0x24904a(0x203)])&&(_0x41b9c0[_0x24904a(0x1d9)]={},_0x41b9c0[_0x24904a(0x1d9)]['leftOffset']=_0x4b3044),_0x5a8ce1(_0x41b9c0);}}));}},_0x5bf755['SheetsPivotTableService']=_0x36df02([_0x361ad8(0x0,_0x288eb9[_0x42bb9f(0x21c)](_0x2e27a8['SheetInterceptorService'])),_0x361ad8(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x5bf755['SheetsPivotTableAdaptorModel']))],_0x5bf755[_0x42bb9f(0x19e)]);const _0x33e7c6={'id':_0x42bb9f(0x124),'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0x20b)],'handler':(_0x14a123,_0x31cee5)=>{const _0x1c9395=_0x42bb9f;if(!_0x31cee5)return!0x1;if(!!_0x14a123[_0x1c9395(0x239)](_0x288eb9['IConfigService'])[_0x1c9395(0x36b)](_0x34280f))return!0x0;const {pivotTableId:_0x2d82be,fieldJSON:_0x3bcf96,unitId:_0x18bd13,subUnitId:_0x16fd43}=_0x31cee5;let _0x8fe99d;const {dataFieldType:_0x419278,id:_0x24934b,name:_0x4cc6db,hexCode:_0xbf07a5,originalFieldId:_0x115744}=_0x3bcf96;if(_0x419278===_0x2bd302[_0x1c9395(0x184)][_0x1c9395(0xb6)]&&(_0x8fe99d=new _0x2bd302['DateGroupField'](_0x24934b,_0x4cc6db,_0xbf07a5,_0x115744)),!_0x8fe99d)return!0x1;const _0x5ccefa=_0x14a123[_0x1c9395(0x239)](_0x5bf755[_0x1c9395(0x1ae)]),_0x3340d6=_0x5ccefa['getDataFieldManager'](_0x18bd13),_0x5e0e9d=_0x3340d6['getCollection'](_0x2d82be);_0x3340d6['addDataFieldWithoutUnitInfo'](_0x8fe99d),_0x5e0e9d[_0x1c9395(0x2e4)](_0x8fe99d[_0x1c9395(0x37c)](),_0x8fe99d[_0x1c9395(0x2e8)]());const _0x154f01=_0x5e0e9d['getFieldById'](_0x8fe99d['getOriginFieldId']());_0x154f01&&_0x8fe99d[_0x1c9395(0x14a)](_0x154f01);const _0x4562ad=_0x5ccefa['getPivotTableConfig'](_0x18bd13,_0x16fd43,_0x2d82be);return _0x5ccefa[_0x1c9395(0x1d8)]({'unitId':_0x18bd13,'subUnitId':_0x16fd43,'token':_0x2d82be,'type':_0x2de5fe[_0x1c9395(0x1d1)],'pivotConfig':_0x4562ad}),!0x0;}},_0xb3cfa6={'id':'sheet.mutation.remove-group-collection','type':_0x288eb9[_0x42bb9f(0x2fa)]['MUTATION'],'handler':(_0x2c6081,_0x47d5ad)=>{const _0x5ee410=_0x42bb9f;if(!_0x47d5ad)return!0x1;if(!!_0x2c6081[_0x5ee410(0x239)](_0x288eb9[_0x5ee410(0xd5)])['getConfig'](_0x34280f))return!0x0;const {pivotTableId:_0x3ae1f7,dataFieldId:_0x1cdc6f,unitId:_0x53000d,subUnitId:_0x293a15}=_0x47d5ad,_0x31f262=_0x2c6081[_0x5ee410(0x239)](_0x5bf755['SheetsPivotDataSourceModel']),_0x5e1f3c=_0x31f262[_0x5ee410(0x138)](_0x53000d);_0x5e1f3c['getCollection'](_0x3ae1f7)[_0x5ee410(0x309)](_0x1cdc6f);let _0x3cfdfb=!0x0;for(const _0x12e056 in _0x5e1f3c['collections'])if(_0x5e1f3c[_0x5ee410(0x211)][_0x12e056][_0x5ee410(0x15d)]()[_0x5ee410(0x155)](_0x1cdc6f)){_0x3cfdfb=!0x1;break;}_0x3cfdfb&&_0x5e1f3c['deleteDataField'](_0x1cdc6f);const _0x4b933c=_0x31f262[_0x5ee410(0x9b)](_0x53000d,_0x293a15,_0x3ae1f7);return _0x31f262[_0x5ee410(0x1d8)]({'unitId':_0x53000d,'subUnitId':_0x293a15,'token':_0x3ae1f7,'type':_0x2de5fe[_0x5ee410(0x1d1)],'pivotConfig':_0x4b933c}),!0x0;}};function _0x12b438(_0xf85be7,_0x5e8519){const _0x35102d=_0x42bb9f;switch(_0x5e8519){case _0x2bd302[_0x35102d(0x25f)][_0x35102d(0x34e)]:return _0xf85be7[_0x35102d(0x18c)];case _0x2bd302['PivotTableFiledAreaEnum'][_0x35102d(0x328)]:return _0xf85be7[_0x35102d(0x267)];case _0x2bd302[_0x35102d(0x25f)][_0x35102d(0x1d7)]:return _0xf85be7[_0x35102d(0x1ec)];case _0x2bd302['PivotTableFiledAreaEnum'][_0x35102d(0x2b9)]:return _0xf85be7[_0x35102d(0x33a)];default:return[];}}function _0x458bbf(_0x3e3548,_0x29c46e){return _0x3e3548['measure'][_0x29c46e]||_0x3e3548['dimension'][_0x29c46e];}function _0x42f3ae(_0x3c4457,_0x3e7ff7){const _0xabc01e=_0x42bb9f,{area:_0x42aa52,fieldJson:_0xec9c18,index:_0x2191dc}=_0x3e7ff7;_0x42aa52===_0x2bd302[_0xabc01e(0x25f)]['Value']?_0x3c4457[_0xabc01e(0x16f)][_0xec9c18['id']]=_0xec9c18:_0x3c4457[_0xabc01e(0x1dd)][_0xec9c18['id']]=_0xec9c18,_0x12b438(_0x3c4457,_0x42aa52)['splice'](_0x2191dc,0x0,_0xec9c18['id']);}function _0x159167(_0x37640e,_0xa3d33b){const _0x51d837=_0x42bb9f,{area:_0x4d1e9b,fieldId:_0xc23c33,index:_0x13c7f0}=_0xa3d33b;_0x4d1e9b===_0x2bd302[_0x51d837(0x25f)][_0x51d837(0x34e)]?delete _0x37640e[_0x51d837(0x16f)][_0xc23c33]:delete _0x37640e[_0x51d837(0x1dd)][_0xc23c33],_0x12b438(_0x37640e,_0x4d1e9b)[_0x51d837(0x362)](_0x13c7f0,0x1);}function _0x51417c(_0x17c924,_0x467102){const _0x332a5d=_0x42bb9f,{fieldId:_0x37a640,name:_0x3b52ae}=_0x467102,_0x300ea8=_0x458bbf(_0x17c924,_0x37a640);_0x300ea8&&(_0x300ea8[_0x332a5d(0x373)]=_0x3b52ae);}function _0x126357(_0x2a6bee,_0xcbadeb){const _0x55b53b=_0x42bb9f,{fieldId:_0x57ae68,collapse:_0xcdcc4a,item:_0x49012a}=_0xcbadeb;_0x49012a!==void 0x0?(_0x2a6bee[_0x55b53b(0x122)][_0x57ae68]=_0x2a6bee[_0x55b53b(0x122)][_0x57ae68]||{},_0x2a6bee[_0x55b53b(0x122)][_0x57ae68][_0x49012a]=_0xcdcc4a):_0x2a6bee[_0x55b53b(0x122)][_0x57ae68]=_0xcdcc4a;}function _0xb04600(_0x25712a,_0x560f4d){const _0x414750=_0x42bb9f,{fieldId:_0x414215,format:_0xe70da5}=_0x560f4d,_0xb54dbf=_0x458bbf(_0x25712a,_0x414215);_0xb54dbf&&(_0xb54dbf[_0x414750(0x2da)]=_0xe70da5);}function _0x21a9e4(_0x235bd9,_0x1aa227){const _0x332698=_0x42bb9f,{fieldId:_0x8b180e,filterInfo:_0x5a7582}=_0x1aa227,_0x3ff734=_0x458bbf(_0x235bd9,_0x8b180e);_0x3ff734&&(_0x3ff734[_0x332698(0xcf)]=_0x5a7582);}function _0x4224e6(_0x3ad708,_0x3067f8){const _0x1d8cdb=_0x42bb9f,{fieldId:_0x109ec6,filterInfo:_0x1de8eb}=_0x3067f8,_0x5cf448=_0x3ad708[_0x1d8cdb(0x2d7)][_0x1d8cdb(0xdc)](_0x54972e=>_0x54972e[_0x1d8cdb(0x304)]!==_0x109ec6);_0x1de8eb&&_0x5cf448['push']({'fieldId':_0x109ec6,'filterInfo':_0x1de8eb}),_0x3ad708[_0x1d8cdb(0x2d7)]=_0x5cf448;}function _0x4dd376(_0x9adb21,_0x567850){const {fieldId:_0x35ac91,subtotalType:_0x4da019}=_0x567850,_0x21fad1=_0x458bbf(_0x9adb21,_0x35ac91);_0x21fad1&&(_0x21fad1['subtotal']=_0x4da019);}function _0xebffa1(_0x162496,_0x312edb){const _0xfc216e=_0x42bb9f,{fieldId:_0x273f38,oldArea:_0x4ca2c8,area:_0x2e054c,oldIndex:_0x408626,index:_0x363c3a}=_0x312edb,_0x142c9f=_0x4ca2c8!==_0x2bd302['PivotTableFiledAreaEnum'][_0xfc216e(0x34e)]&&_0x2e054c===_0x2bd302[_0xfc216e(0x25f)]['Value'],_0x12ac7b=_0x4ca2c8===_0x2bd302['PivotTableFiledAreaEnum'][_0xfc216e(0x34e)]&&_0x2e054c!==_0x2bd302[_0xfc216e(0x25f)][_0xfc216e(0x34e)];if(_0x142c9f||_0x12ac7b){const _0x45706a=_0x458bbf(_0x162496,_0x273f38);_0x45706a&&(_0x142c9f?(delete _0x162496[_0xfc216e(0x1dd)][_0x273f38],_0x162496[_0xfc216e(0x16f)][_0x273f38]=_0x45706a):(delete _0x162496[_0xfc216e(0x16f)][_0x273f38],_0x162496['dimension'][_0x273f38]=_0x45706a));}const _0x3a1c85=_0x12b438(_0x162496,_0x4ca2c8),_0x51db56=_0x12b438(_0x162496,_0x2e054c);_0x3a1c85[_0xfc216e(0x362)](_0x408626,0x1),_0x51db56[_0xfc216e(0x362)](_0x363c3a,0x0,_0x273f38);}function _0x26cda0(_0x633b22,_0x12c99e){const _0x3c0123=_0x42bb9f,{valuePosition:_0x59384c,index:_0x6718e9}=_0x12c99e;_0x633b22[_0x3c0123(0x2a2)]=_0x59384c,_0x633b22['valueIndex']=_0x6718e9;}function _0x253248(_0x43c33c,_0x435ed4){const _0x412bd4=_0x42bb9f,{tableFieldId:_0xec5c13,sourceName:_0x8b3e81,dataFieldId:_0x3f89ac}=_0x435ed4,_0x574535=_0x458bbf(_0x43c33c,_0xec5c13);_0x574535&&(_0x574535[_0x412bd4(0x39d)]=_0x8b3e81,_0x574535[_0x412bd4(0x160)]=_0x3f89ac);}function _0x8d59bd(_0x4d0744,_0x437a7c){const _0x3047f6=_0x42bb9f,{fieldId:_0x40965c,sortInfo:_0x2c415a}=_0x437a7c,_0x1b8bc9=_0x458bbf(_0x4d0744,_0x40965c);_0x1b8bc9&&(_0x1b8bc9[_0x3047f6(0xf8)]=_0x2c415a);}function _0x2e5fd5(_0x3f58fd,_0x275b58){const _0x3875e0=_0x42bb9f,{options:_0x466bdc}=_0x275b58;_0x3f58fd[_0x3875e0(0x199)]={..._0x3f58fd[_0x3875e0(0x199)],..._0x466bdc};}const _0x340732={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x10e),'handler'(_0x4c526b,_0x23a918){const _0x4c1973=_0x42bb9f;if(!_0x23a918)return!0x1;if(!!_0x4c526b['get'](_0x288eb9[_0x4c1973(0xd5)])[_0x4c1973(0x36b)](_0x34280f))return!0x0;const _0x614b7c=_0x4c526b[_0x4c1973(0x239)](_0x5bf755[_0x4c1973(0x1ae)]),{pivotTableId:_0x3f557a,fieldJson:_0x50c125,area:_0x3cbc66,index:_0x12988a,unitId:_0x4a6cb9,subUnitId:_0x13a52e}=_0x23a918,_0x4a235e=_0x614b7c[_0x4c1973(0x25c)](_0x3f557a);if(!_0x4a235e)return!0x1;let _0x1f78d0;_0x3cbc66===_0x2bd302[_0x4c1973(0x25f)][_0x4c1973(0x34e)]?_0x1f78d0=_0x2bd302[_0x4c1973(0x1a5)](_0x50c125):_0x1f78d0=_0x2bd302[_0x4c1973(0xe7)](_0x50c125),_0x4a235e[_0x4c1973(0x2e4)](_0x1f78d0,_0x3cbc66,_0x12988a);const _0x400ea1=_0x614b7c[_0x4c1973(0xa0)](_0x4a6cb9,_0x13a52e,_0x3f557a);_0x42f3ae(_0x400ea1,_0x23a918);const _0x4dd2b6=_0x614b7c['getPivotTableConfig'](_0x4a6cb9,_0x13a52e,_0x3f557a);return _0x614b7c['addDirtyPivotTable']({'unitId':_0x4a6cb9,'subUnitId':_0x13a52e,'token':_0x3f557a,'type':_0x2de5fe[_0x4c1973(0x1d1)],'pivotConfig':_0x4dd2b6}),!0x0;}},_0x8bbbe={'type':_0x288eb9['CommandType']['MUTATION'],'id':_0x42bb9f(0x2df),'handler'(_0x2462af,_0x94ac1e){const _0x2e0b61=_0x42bb9f;if(!_0x94ac1e)return!0x1;if(!!_0x2462af[_0x2e0b61(0x239)](_0x288eb9[_0x2e0b61(0xd5)])[_0x2e0b61(0x36b)](_0x34280f))return!0x0;const _0xc32ba2=_0x2462af['get'](_0x5bf755[_0x2e0b61(0x1ae)]),{pivotTableId:_0x326a5e,fieldId:_0x17b35a,unitId:_0x57f692,subUnitId:_0x5da6da}=_0x94ac1e,_0x26254f=_0xc32ba2['getPivotTableInstance'](_0x326a5e);if(!_0x26254f)return!0x1;_0x26254f[_0x2e0b61(0x115)](_0x17b35a);const _0x5c632c=_0xc32ba2[_0x2e0b61(0xa0)](_0x57f692,_0x5da6da,_0x326a5e);_0x159167(_0x5c632c,_0x94ac1e);const _0x5f588a=_0xc32ba2[_0x2e0b61(0x9b)](_0x57f692,_0x5da6da,_0x326a5e);return _0xc32ba2[_0x2e0b61(0x1d8)]({'unitId':_0x57f692,'subUnitId':_0x5da6da,'token':_0x326a5e,'type':_0x2de5fe[_0x2e0b61(0x1d1)],'pivotConfig':_0x5f588a}),!0x0;}},_0x3bf8ba={'type':_0x288eb9['CommandType'][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x39c),'handler'(_0x50ea5d,_0x28ac7b){const _0x338b89=_0x42bb9f;if(!_0x28ac7b)return!0x1;if(!!_0x50ea5d[_0x338b89(0x239)](_0x288eb9['IConfigService'])[_0x338b89(0x36b)](_0x34280f))return!0x0;const _0x462904=_0x50ea5d[_0x338b89(0x239)](_0x5bf755['SheetsPivotDataSourceModel']),{unitId:_0xdfc355,subUnitId:_0x3c770d,pivotTableId:_0x371239,fieldId:_0x175ee7,name:_0x20ad70}=_0x28ac7b,_0x33180b=_0x462904[_0x338b89(0x25c)](_0x371239);if(!_0x33180b)return!0x1;_0x33180b[_0x338b89(0x33c)](_0x175ee7,_0x20ad70);const _0xb9e2b3=_0x462904[_0x338b89(0xa0)](_0xdfc355,_0x3c770d,_0x371239);return _0x51417c(_0xb9e2b3,_0x28ac7b),_0x462904['addDirtyPivotTable']({'unitId':_0xdfc355,'subUnitId':_0x3c770d,'token':_0x371239,'type':_0x2de5fe[_0x338b89(0x1d1)]}),!0x0;}},_0x3f8ba0={'type':_0x288eb9[_0x42bb9f(0x2fa)]['MUTATION'],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x45e713,_0x5c7d52){const _0x1efdc1=_0x42bb9f;if(!_0x5c7d52)return!0x1;if(!!_0x45e713['get'](_0x288eb9[_0x1efdc1(0xd5)])[_0x1efdc1(0x36b)](_0x34280f))return!0x0;const _0x9bcd15=_0x45e713[_0x1efdc1(0x239)](_0x5bf755[_0x1efdc1(0x1ae)]),{unitId:_0x28e7d3,subUnitId:_0x1ccf3c,pivotTableId:_0x400933,fieldId:_0x421686,collapse:_0x3860a4,item:_0x3297bd}=_0x5c7d52,_0x1ffa15=_0x9bcd15[_0x1efdc1(0x25c)](_0x400933);if(!_0x1ffa15)return!0x1;_0x1ffa15[_0x1efdc1(0x1af)](_0x421686,_0x3860a4,_0x3297bd);const _0x2e6742=_0x9bcd15[_0x1efdc1(0xa0)](_0x28e7d3,_0x1ccf3c,_0x400933);return _0x126357(_0x2e6742,_0x5c7d52),_0x9bcd15[_0x1efdc1(0x1d8)]({'unitId':_0x28e7d3,'subUnitId':_0x1ccf3c,'token':_0x400933,'type':_0x2de5fe[_0x1efdc1(0x1d1)]}),!0x0;}},_0x286fdb={'type':_0x288eb9['CommandType'][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x1fe),'handler'(_0x15de48,_0x20377d){const _0x11038e=_0x42bb9f;if(!_0x20377d)return!0x1;if(!!_0x15de48[_0x11038e(0x239)](_0x288eb9[_0x11038e(0xd5)])[_0x11038e(0x36b)](_0x34280f))return!0x0;const _0x2bcce8=_0x15de48[_0x11038e(0x239)](_0x5bf755['SheetsPivotDataSourceModel']),{unitId:_0x4437d6,subUnitId:_0x319839,pivotTableId:_0xe25090,fieldId:_0x5a9907,format:_0x20d76b}=_0x20377d,_0x238e6a=_0x2bcce8['getPivotTableInstance'](_0xe25090);if(!_0x238e6a)return!0x1;_0x238e6a['setFieldFormat'](_0x5a9907,_0x20d76b);const _0x319fe9=_0x2bcce8[_0x11038e(0xa0)](_0x4437d6,_0x319839,_0xe25090);return _0xb04600(_0x319fe9,_0x20377d),_0x2bcce8[_0x11038e(0x1d8)]({'unitId':_0x4437d6,'subUnitId':_0x319839,'token':_0xe25090,'type':_0x2de5fe[_0x11038e(0x1d1)]}),!0x0;}},_0x44944d={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x2a6),'handler'(_0x2d740f,_0x814606){const _0x100296=_0x42bb9f;if(!_0x814606)return!0x1;if(!!_0x2d740f[_0x100296(0x239)](_0x288eb9[_0x100296(0xd5)])[_0x100296(0x36b)](_0x34280f))return!0x0;const _0x1cc7da=_0x2d740f['get'](_0x5bf755['SheetsPivotDataSourceModel']),{unitId:_0x3ae706,subUnitId:_0x4e4680,pivotTableId:_0xe066f8,fieldId:_0xa477c4,filterInfo:_0x432604}=_0x814606,_0x4bc270=_0x1cc7da[_0x100296(0x25c)](_0xe066f8);if(!_0x4bc270)return!0x1;_0x4bc270[_0x100296(0x286)](_0xa477c4,_0x432604);const _0x5bec54=_0x1cc7da[_0x100296(0xa0)](_0x3ae706,_0x4e4680,_0xe066f8);return _0x21a9e4(_0x5bec54,_0x814606),_0x1cc7da[_0x100296(0x1d8)]({'unitId':_0x3ae706,'subUnitId':_0x4e4680,'token':_0xe066f8,'type':_0x2de5fe[_0x100296(0x1d1)]}),!0x0;}},_0x845d4f={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x245),'handler'(_0x94a0c4,_0x4d3edb){const _0x196ed3=_0x42bb9f;if(!_0x4d3edb)return!0x1;if(!!_0x94a0c4[_0x196ed3(0x239)](_0x288eb9[_0x196ed3(0xd5)])[_0x196ed3(0x36b)](_0x34280f))return!0x0;const _0x3a2060=_0x94a0c4['get'](_0x5bf755[_0x196ed3(0x1ae)]),{unitId:_0x5bbc48,subUnitId:_0x2aa279,pivotTableId:_0x5261ed,options:_0x1d6cad}=_0x4d3edb,_0x2e4488=_0x3a2060[_0x196ed3(0x25c)](_0x5261ed);if(!_0x2e4488)return!0x1;_0x2e4488[_0x196ed3(0x97)](_0x1d6cad);const _0x9a8502=_0x3a2060[_0x196ed3(0xa0)](_0x5bbc48,_0x2aa279,_0x5261ed);return _0x2e5fd5(_0x9a8502,_0x4d3edb),_0x3a2060[_0x196ed3(0x1d8)]({'unitId':_0x5bbc48,'subUnitId':_0x2aa279,'token':_0x5261ed,'type':_0x2de5fe[_0x196ed3(0x1d1)]}),!0x0;}},_0x4c05bf={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x2ef),'handler'(_0x133c1f,_0x262c68){const _0x21365d=_0x42bb9f;if(!_0x262c68)return!0x1;if(!!_0x133c1f[_0x21365d(0x239)](_0x288eb9[_0x21365d(0xd5)])[_0x21365d(0x36b)](_0x34280f))return!0x0;const _0x2d3e06=_0x133c1f[_0x21365d(0x239)](_0x5bf755['SheetsPivotDataSourceModel']),{unitId:_0x4cd5f2,subUnitId:_0x5ec7bf,pivotTableId:_0x252106,sortInfo:_0x29db8d,fieldId:_0x50cb26}=_0x262c68,_0xcc4d1f=_0x2d3e06[_0x21365d(0x25c)](_0x252106);if(!_0xcc4d1f)return!0x1;_0xcc4d1f['setSortInfo'](_0x50cb26,_0x29db8d);const _0x3ca3eb=_0x2d3e06[_0x21365d(0xa0)](_0x4cd5f2,_0x5ec7bf,_0x252106);return _0x8d59bd(_0x3ca3eb,_0x262c68),_0x2d3e06[_0x21365d(0x1d8)]({'unitId':_0x4cd5f2,'subUnitId':_0x5ec7bf,'token':_0x252106,'type':_0x2de5fe[_0x21365d(0x1d1)]}),!0x0;}},_0x194ae1={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0x20b)],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x4654a3,_0x2cf164){const _0x4f210f=_0x42bb9f;if(!_0x2cf164)return!0x1;if(!!_0x4654a3['get'](_0x288eb9[_0x4f210f(0xd5)])[_0x4f210f(0x36b)](_0x34280f))return!0x0;const _0x3afcf8=_0x4654a3['get'](_0x5bf755[_0x4f210f(0x1ae)]),{unitId:_0x2a6718,subUnitId:_0x55f8d0,pivotTableId:_0x592979,fieldId:_0x12ddb0,subtotalType:_0x2690d3}=_0x2cf164,_0x29d541=_0x3afcf8[_0x4f210f(0x25c)](_0x592979);if(!_0x29d541)return!0x1;_0x29d541['setSubtotalType'](_0x12ddb0,_0x2690d3);const _0x2d40e2=_0x3afcf8['getPivotTableModelConfig'](_0x2a6718,_0x55f8d0,_0x592979);return _0x4dd376(_0x2d40e2,_0x2cf164),_0x3afcf8[_0x4f210f(0x1d8)]({'unitId':_0x2a6718,'subUnitId':_0x55f8d0,'token':_0x592979,'type':_0x2de5fe[_0x4f210f(0x1d1)]}),!0x0;}},_0x4715f0={'type':_0x288eb9['CommandType'][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x329),'handler'(_0x59a0b2,_0x5e6c89){const _0x590f9f=_0x42bb9f;if(!_0x5e6c89)return!0x1;if(!!_0x59a0b2[_0x590f9f(0x239)](_0x288eb9['IConfigService'])[_0x590f9f(0x36b)](_0x34280f))return!0x0;const _0x270814=_0x59a0b2[_0x590f9f(0x239)](_0x5bf755[_0x590f9f(0x1ae)]),{unitId:_0x26b26e,subUnitId:_0xa744fc,pivotTableId:_0x447a05,fieldId:_0x444696,filterInfo:_0xaaeb4c}=_0x5e6c89,_0xfb1c73=_0x270814[_0x590f9f(0x25c)](_0x447a05);if(!_0xfb1c73)return!0x1;_0xfb1c73['setValueFilterInfo'](_0x444696,_0xaaeb4c);const _0x180276=_0x270814[_0x590f9f(0xa0)](_0x26b26e,_0xa744fc,_0x447a05);return _0x4224e6(_0x180276,_0x5e6c89),_0x270814[_0x590f9f(0x1d8)]({'unitId':_0x26b26e,'subUnitId':_0xa744fc,'token':_0x447a05,'type':_0x2de5fe['Set']}),!0x0;}},_0x26377e={'type':_0x288eb9['CommandType'][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x331),'handler'(_0x4d1967,_0x3b9ee5){const _0x3b5b8=_0x42bb9f;if(!_0x3b9ee5)return!0x1;if(!!_0x4d1967['get'](_0x288eb9[_0x3b5b8(0xd5)])['getConfig'](_0x34280f))return!0x0;const _0x2f9b1a=_0x4d1967[_0x3b5b8(0x239)](_0x5bf755['SheetsPivotDataSourceModel']),{unitId:_0x2aff7e,subUnitId:_0x3465ed,pivotTableId:_0x3e21b9,area:_0x3be8e6,index:_0x1d7297,fieldId:_0x364396}=_0x3b9ee5,_0x598b12=_0x2f9b1a[_0x3b5b8(0x25c)](_0x3e21b9);if(!_0x598b12)return!0x1;_0x598b12[_0x3b5b8(0x375)](_0x364396,_0x3be8e6,_0x1d7297);const _0x276e0f=_0x2f9b1a['getPivotTableModelConfig'](_0x2aff7e,_0x3465ed,_0x3e21b9);return _0xebffa1(_0x276e0f,_0x3b9ee5),_0x2f9b1a[_0x3b5b8(0x1d8)]({'unitId':_0x2aff7e,'subUnitId':_0x3465ed,'token':_0x3e21b9,'type':_0x2de5fe[_0x3b5b8(0x1d1)]}),!0x0;}},_0x30ddcd={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0x20b)],'id':_0x42bb9f(0x2f8),'handler'(_0x4618ec,_0x5c02e0){const _0x3ca589=_0x42bb9f;if(!_0x5c02e0)return!0x1;if(!!_0x4618ec['get'](_0x288eb9[_0x3ca589(0xd5)])['getConfig'](_0x34280f))return!0x0;const _0x15e6ce=_0x4618ec[_0x3ca589(0x239)](_0x5bf755['SheetsPivotDataSourceModel']),{unitId:_0x2c8764,subUnitId:_0x2aa440,pivotTableId:_0x23013d,sourceName:_0x3ceb43,dataFieldId:_0x446ddc,tableFieldId:_0x33845a}=_0x5c02e0,_0x5bcfa0=_0x15e6ce[_0x3ca589(0x25c)](_0x23013d);if(!_0x5bcfa0)return!0x1;_0x5bcfa0[_0x3ca589(0x183)](_0x33845a,_0x3ceb43,_0x446ddc);const _0x21c64d=_0x15e6ce[_0x3ca589(0xa0)](_0x2c8764,_0x2aa440,_0x23013d);return _0x253248(_0x21c64d,_0x5c02e0),_0x15e6ce[_0x3ca589(0x1d8)]({'unitId':_0x2c8764,'subUnitId':_0x2aa440,'token':_0x23013d,'type':_0x2de5fe['Set']}),!0x0;}},_0x1e7ed4={'type':_0x288eb9[_0x42bb9f(0x2fa)]['MUTATION'],'id':_0x42bb9f(0x2f6),'handler'(_0x3c185f,_0xe0f64c){const _0x475d19=_0x42bb9f;if(!_0xe0f64c)return!0x1;if(!!_0x3c185f[_0x475d19(0x239)](_0x288eb9[_0x475d19(0xd5)])[_0x475d19(0x36b)](_0x34280f))return!0x0;const _0x148345=_0x3c185f[_0x475d19(0x239)](_0x5bf755[_0x475d19(0x1ae)]),{unitId:_0x1f1022,subUnitId:_0x4cfef0,pivotTableId:_0x165779,valuePosition:_0x21104d,index:_0x1bfa41}=_0xe0f64c,_0x3c836a=_0x148345[_0x475d19(0x25c)](_0x165779);if(!_0x3c836a)return!0x1;_0x3c836a[_0x475d19(0x162)](_0x21104d,_0x1bfa41);const _0x1c9f68=_0x148345[_0x475d19(0xa0)](_0x1f1022,_0x4cfef0,_0x165779);return _0x26cda0(_0x1c9f68,_0xe0f64c),_0x148345['addDirtyPivotTable']({'unitId':_0x1f1022,'subUnitId':_0x4cfef0,'token':_0x165779,'type':_0x2de5fe['Set']}),!0x0;}};function _0x54d6ee(_0x4e7127,_0x3d1908,_0x36fa0a){const _0x55b091=_0x42bb9f,{pivotTableId:_0x37c415,unitId:_0x25f36c,subUnitId:_0x5904a8}=_0x3d1908,_0x4f7b37=[],_0x16afa7=[];for(const _0x24d44f of _0x36fa0a)switch(_0x24d44f[_0x55b091(0x29a)]){case _0x2bd302['PivotTableChangeTypeEnum']['AddField']:{const {fieldJson:_0x4209ca,area:_0x264720,index:_0x1e0c00}=_0x24d44f,_0x4299d5={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldJson':_0x4209ca,'area':_0x264720,'index':_0x1e0c00},_0x536aac={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x4209ca['id'],'area':_0x264720,'index':_0x1e0c00};_0x4f7b37['push']({'id':_0x340732['id'],'params':_0x4299d5}),_0x16afa7['unshift']({'id':_0x8bbbe['id'],'params':_0x536aac});}break;case _0x2bd302[_0x55b091(0x2d6)][_0x55b091(0x277)]:{const {fieldId:_0x38ce70,newSubtotalType:_0x513454,oldSubtotalType:_0x5340b7}=_0x24d44f,_0x1c2525={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x38ce70,'subtotalType':_0x513454};_0x4f7b37[_0x55b091(0x364)]({'id':_0x194ae1['id'],'params':_0x1c2525});const _0x1642b2={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x38ce70,'subtotalType':_0x5340b7};_0x16afa7[_0x55b091(0x2dd)]({'id':_0x194ae1['id'],'params':_0x1642b2});}break;case _0x2bd302['PivotTableChangeTypeEnum'][_0x55b091(0x2bf)]:{const {fieldId:_0x193e54,fieldJson:_0x346cb5,area:_0x199a7e,index:_0x2997a4}=_0x24d44f,_0x56577a={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x193e54,'index':_0x2997a4,'area':_0x199a7e};_0x4f7b37[_0x55b091(0x364)]({'id':_0x8bbbe['id'],'params':_0x56577a});const _0x51fab1={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldJson':_0x346cb5,'area':_0x199a7e,'index':_0x2997a4};_0x16afa7[_0x55b091(0x2dd)]({'id':_0x340732['id'],'params':_0x51fab1});}break;case _0x2bd302[_0x55b091(0x2d6)][_0x55b091(0xa2)]:{const {fieldId:_0x401f04,oldName:_0x2b7cba,newName:_0x402fa5}=_0x24d44f,_0x3a219c={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x401f04,'name':_0x402fa5};_0x4f7b37[_0x55b091(0x364)]({'id':_0x3bf8ba['id'],'params':_0x3a219c});const _0x23cb41={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x401f04,'name':_0x2b7cba};_0x16afa7['unshift']({'id':_0x3bf8ba['id'],'params':_0x23cb41});}break;case _0x2bd302[_0x55b091(0x2d6)][_0x55b091(0x219)]:{const {fieldId:_0x11a03e,oldFilterInfo:_0x5003f9,newFilterInfo:_0x58b9c0}=_0x24d44f,_0x353cab={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x11a03e,'filterInfo':_0x58b9c0};_0x4f7b37[_0x55b091(0x364)]({'id':_0x44944d['id'],'params':_0x353cab});const _0x468cac={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x11a03e,'filterInfo':_0x5003f9};_0x16afa7['unshift']({'id':_0x44944d['id'],'params':_0x468cac});}break;case _0x2bd302[_0x55b091(0x2d6)][_0x55b091(0x347)]:{const {fieldId:_0x1649fb,oldSortInfo:_0x46b7a2,newSortInfo:_0x5350e8}=_0x24d44f,_0x4f2057={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x1649fb,'sortInfo':_0x5350e8};_0x4f7b37[_0x55b091(0x364)]({'id':_0x4c05bf['id'],'params':_0x4f2057});const _0x4bf386={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x1649fb,'sortInfo':_0x46b7a2};_0x16afa7[_0x55b091(0x2dd)]({'id':_0x4c05bf['id'],'params':_0x4bf386});}break;case _0x2bd302[_0x55b091(0x2d6)][_0x55b091(0x212)]:{const {oldOptions:_0x4e5cf1,newOptions:_0x32aebe}=_0x24d44f,_0x4994c7={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'options':_0x32aebe};_0x4f7b37[_0x55b091(0x364)]({'id':_0x845d4f['id'],'params':_0x4994c7});const _0x55ed39={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'options':_0x4e5cf1};_0x16afa7[_0x55b091(0x2dd)]({'id':_0x845d4f['id'],'params':_0x55ed39});}break;case _0x2bd302['PivotTableChangeTypeEnum'][_0x55b091(0x19f)]:{const {oldArea:_0x389d22,newArea:_0x3fb306,oldIndex:_0x1e1117,newIndex:_0x5b4819,fieldId:_0x734e6c}=_0x24d44f,_0x4d4274={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x734e6c,'area':_0x3fb306,'index':_0x5b4819,'oldArea':_0x389d22,'oldIndex':_0x1e1117};_0x4f7b37['push']({'id':_0x26377e['id'],'params':_0x4d4274});const _0x273ffb={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x734e6c,'area':_0x389d22,'index':_0x1e1117,'oldArea':_0x3fb306,'oldIndex':_0x5b4819};_0x16afa7['unshift']({'id':_0x26377e['id'],'params':_0x273ffb});}break;case _0x2bd302['PivotTableChangeTypeEnum'][_0x55b091(0x1e0)]:{const {oldValuePosition:_0x563771,newValuePosition:_0x15f7bd,oldIndex:_0x241402,newIndex:_0x31f7a2}=_0x24d44f,_0xde2a7={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'valuePosition':_0x15f7bd,'index':_0x31f7a2};_0x4f7b37[_0x55b091(0x364)]({'id':_0x1e7ed4['id'],'params':_0xde2a7});const _0x1251f6={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'valuePosition':_0x563771,'index':_0x241402};_0x16afa7['unshift']({'id':_0x1e7ed4['id'],'params':_0x1251f6});}break;case _0x2bd302[_0x55b091(0x2d6)][_0x55b091(0x12b)]:{const {fieldId:_0x23ebf5,collapse:_0x3464da,item:_0x1377cd}=_0x24d44f,_0x214c59={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x23ebf5,'collapse':_0x3464da,'item':_0x1377cd};_0x4f7b37[_0x55b091(0x364)]({'id':_0x3f8ba0['id'],'params':_0x214c59});const _0x28c9f0={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x23ebf5,'collapse':!_0x3464da,'item':_0x1377cd};_0x16afa7[_0x55b091(0x2dd)]({'id':_0x3f8ba0['id'],'params':_0x28c9f0});}break;case _0x2bd302[_0x55b091(0x2d6)][_0x55b091(0x282)]:{const {newFormat:_0x1bb5a2,oldFormat:_0x1486e9,fieldId:_0x174716}=_0x24d44f,_0x4a570e={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x174716,'format':_0x1bb5a2};_0x4f7b37[_0x55b091(0x364)]({'id':_0x286fdb['id'],'params':_0x4a570e});const _0x683e55={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0x174716,'format':_0x1486e9};_0x16afa7[_0x55b091(0x2dd)]({'id':_0x286fdb['id'],'params':_0x683e55});}break;case _0x2bd302['PivotTableChangeTypeEnum'][_0x55b091(0x19b)]:{const {tableFieldId:_0x54bb6a,oldSourceName:_0x1fe68f,newSourceName:_0x574e13,oldDataFieldId:_0x1307fe,newDataFieldId:_0x153a7c}=_0x24d44f,_0x1703ce={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'tableFieldId':_0x54bb6a,'sourceName':_0x574e13,'dataFieldId':_0x153a7c};_0x4f7b37[_0x55b091(0x364)]({'id':_0x30ddcd['id'],'params':_0x1703ce});const _0x2eef8b={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'tableFieldId':_0x54bb6a,'sourceName':_0x1fe68f,'dataFieldId':_0x1307fe};_0x16afa7['unshift']({'id':_0x30ddcd['id'],'params':_0x2eef8b});}break;case _0x2bd302[_0x55b091(0x2d6)][_0x55b091(0xa3)]:{const {fieldId:_0xec194,filterInfo:_0x7160d2,oldFilterInfo:_0x2059a1}=_0x24d44f,_0x22dcb5={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0xec194,'filterInfo':_0x7160d2};_0x4f7b37[_0x55b091(0x364)]({'id':_0x4715f0['id'],'params':_0x22dcb5});const _0x4a7a29={'unitId':_0x25f36c,'subUnitId':_0x5904a8,'pivotTableId':_0x37c415,'fieldId':_0xec194,'filterInfo':_0x2059a1};_0x16afa7[_0x55b091(0x2dd)]({'id':_0x4715f0['id'],'params':_0x4a7a29});}}return{'redos':_0x4f7b37,'undos':_0x16afa7};}function _0x1b91fb(_0x258183,_0x12c504){const _0x9e240e=_0x42bb9f;var _0x469e09;const _0x33c76d=_0x258183['get'](_0x5bf755[_0x9e240e(0x19e)]),{cellInfo:_0x537083,view:_0x3fb8f9,isEmpty:_0x5d1da4}=_0x12c504;return(_0x469e09=_0x33c76d[_0x9e240e(0x26a)][_0x9e240e(0x10b)](_0x1ab638)(_0x3a0a88,{'cellInfo':_0x537083,'view':_0x3fb8f9,'isEmpty':_0x5d1da4}))!=null?_0x469e09:_0x3a0a88;}const _0x458ab2={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x25e),async 'handler'(_0x3d862f,_0x2ae9e0){const _0x467eac=_0x42bb9f;if(!_0x2ae9e0)return!0x1;const _0x232d1f=_0x3d862f[_0x467eac(0x239)](_0x288eb9[_0x467eac(0x19d)]),_0x367c88=_0x3d862f[_0x467eac(0x239)](_0x5bf755[_0x467eac(0x330)]),_0x1778e7=_0x3d862f[_0x467eac(0x239)](_0x288eb9['IUndoRedoService']),{pivotTableId:_0x5698ae,dataFieldId:_0x20388b,fieldArea:_0x381f21,index:_0x42f29f,unitId:_0x2876fd,subUnitId:_0x5edfcd}=_0x2ae9e0,_0x5877e6=(await _0x367c88['getPivotDisplayConfig']({'unitId':_0x2876fd,'subUnitId':_0x5edfcd,'pivotTableId':_0x5698ae,'params':{'type':_0x5e3388[_0x467eac(0x109)],'addPivotField':{'dataFieldId':_0x20388b,'fieldArea':_0x381f21,'index':_0x42f29f}}}))[_0x467eac(0x312)]['addPivotField'];if(!_0x5877e6)return!0x1;const {view:_0x4832c9,changesets:_0x357358,isEmpty:_0x587982,pivotTableConfig:_0x4abfb1,shouldBeAddedGroupJSON:_0x116bb5}=_0x5877e6,_0x39e4ce=_0x4abfb1[_0x467eac(0x242)],_0x1a6525=new _0x2bd302[(_0x467eac(0x15a))]();_0x1a6525[_0x467eac(0x188)](_0x4832c9);const _0x1024a3={'cellInfo':_0x39e4ce,'view':_0x1a6525,'isEmpty':_0x587982};if(!await _0x3d862f[_0x467eac(0x239)](_0x5bf755['SheetsPivotTableService'])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x5ce99e)(!0x0,_0x1024a3))return!0x1;const _0x47f5a4=_0x3034a0(_0x3d862f,_0x1a6525,_0x39e4ce,_0x587982),_0x2d441a=_0x1b91fb(_0x3d862f,_0x1024a3),{undos:_0x8edda9,redos:_0xcda5e0}=_0x54d6ee(_0x232d1f,{'pivotTableId':_0x5698ae,'unitId':_0x2876fd,'subUnitId':_0x5edfcd},_0x357358);return _0x116bb5&&(_0xcda5e0[_0x467eac(0x2dd)]({'id':_0x33e7c6['id'],'params':{'pivotTableId':_0x5698ae,'fieldJSON':_0x116bb5,'unitId':_0x2876fd,'subUnitId':_0x5edfcd}}),_0x8edda9['push']({'id':_0xb3cfa6['id'],'params':{'pivotTableId':_0x5698ae,'dataFieldId':_0x116bb5['id'],'unitId':_0x2876fd,'subUnitId':_0x5edfcd}})),_0x288eb9[_0x467eac(0x363)]([..._0x47f5a4[_0x467eac(0x196)],..._0x2d441a[_0x467eac(0x196)],..._0xcda5e0],_0x232d1f),_0x1778e7[_0x467eac(0x1b3)]({'unitID':_0x2876fd,'redoMutations':[..._0x47f5a4[_0x467eac(0x196)],..._0x2d441a[_0x467eac(0x196)],..._0xcda5e0],'undoMutations':[..._0x47f5a4[_0x467eac(0x248)],..._0x2d441a[_0x467eac(0x248)],..._0x8edda9]}),!0x0;}},_0x4af5cd=()=>typeof process<'u'&&process[_0x42bb9f(0x325)]!=null&&process[_0x42bb9f(0x325)][_0x42bb9f(0x1d5)]!=null,_0x7c30f0={'type':_0x288eb9[_0x42bb9f(0x2fa)]['MUTATION'],'id':'sheet.mutation.add-pivot-table','handler'(_0x429b6b,_0x462a0b){const _0x24502e=_0x42bb9f;var _0x4ac547;if(!_0x462a0b)return!0x1;const _0x2c0a08=_0x429b6b[_0x24502e(0x239)](_0x288eb9[_0x24502e(0xd5)]);if(!!_0x2c0a08[_0x24502e(0x36b)](_0x34280f))return!0x0;const _0x2b2b66=_0x429b6b[_0x24502e(0x239)](_0x288eb9[_0x24502e(0x132)]),_0x54b7ee=_0x429b6b[_0x24502e(0x239)](_0x5bf755[_0x24502e(0x1ae)]),{pivotTableId:_0x44eb05,pivotTableConfig:_0x581118,collectionConfig:_0x330740,unitId:_0x5dda00,subUnitId:_0x4c925d}=_0x462a0b,{sourceRangeInfo:_0x27e893,fieldsConfig:_0x24f369,targetCellInfo:_0x584a89}=_0x581118,_0x117d50=_0x2b2b66[_0x24502e(0x264)](_0x5dda00);if(!_0x117d50||!_0x117d50[_0x24502e(0xb7)](_0x4c925d))return!0x1;if(!_0x4af5cd()){let _0x5c175a=0x0;_0x117d50['getSheets']()[_0x24502e(0x36d)](_0x1227c4=>{const _0x5e9eb2=_0x24502e;var _0x52b77e,_0x14f437;_0x5c175a+=(_0x14f437=(_0x52b77e=_0x54b7ee[_0x5e9eb2(0x244)](_0x5dda00,_0x1227c4['getSheetId']()))==null?void 0x0:_0x52b77e['size'])!=null?_0x14f437:0x0;});const _0x2c35ee=(_0x4ac547=_0x2c0a08[_0x24502e(0x36b)](_0x1f3f39[_0x24502e(0x18e)]))!=null?_0x4ac547:{},{ls:_0x169bbd,pbk:_0x29432d}=_0x2c35ee;if(!_0x15f38b(_0x169bbd,_0x29432d))throw new _0x288eb9[(_0x24502e(0x23d))](_0x24502e(0x190));const _0x446a98=_0x52b3f8(_0x2e2372,_0x169bbd,_0x29432d)[_0x24502e(0x18d)];if(_0x5c175a>=_0x446a98)throw new _0x288eb9[(_0x24502e(0x23d))]('limit\x20pivot');}if(!_0x330740||!_0x24f369)return!0x1;const {collection:_0x527038,updateDataFieldList:_0x1b9fad}=_0x54b7ee[_0x24502e(0x3a0)](_0x44eb05,_0x330740,_0x27e893,_0x584a89);_0x54b7ee[_0x24502e(0x8b)](_0x527038,_0x1b9fad,_0x27e893);const _0x1414df=new _0x2bd302[(_0x24502e(0x14e))](_0x527038,void 0x0,_0x44eb05);_0x1414df['fromJSON'](_0x24f369);const _0x1431b6=JSON['parse'](JSON[_0x24502e(0x297)](_0x581118));return _0x54b7ee[_0x24502e(0xdb)](_0x5dda00,_0x4c925d,_0x44eb05,_0x1414df,_0x1431b6),_0x54b7ee['addDirtyPivotTable']({'unitId':_0x5dda00,'subUnitId':_0x4c925d,'token':_0x44eb05,'type':_0x2de5fe[_0x24502e(0xe6)],'pivotConfig':_0x1431b6}),!0x0;}},_0x37507d={'type':_0x288eb9[_0x42bb9f(0x2fa)]['COMMAND'],'id':_0x42bb9f(0x397),async 'handler'(_0x3953c2,_0x391dda){const _0x1bd8cf=_0x42bb9f;if(!_0x391dda)return!0x1;const {sourceDataInfo:_0x2f4d1d,pivotTableConfig:_0x79b118}=_0x391dda;if(!_0x2f4d1d||!_0x79b118)return!0x1;const {unitId:_0x321566,subUnitId:_0x336d76,range:_0x1f26a7}=_0x2f4d1d,_0x5a2b33=_0x3953c2[_0x1bd8cf(0x239)](_0x288eb9[_0x1bd8cf(0x132)]),_0x575d02=_0x3953c2[_0x1bd8cf(0x239)](_0x5bf755[_0x1bd8cf(0x330)]),_0x3cfbf8=_0x3953c2['get'](_0x288eb9[_0x1bd8cf(0x391)]),_0x352bae=_0x3953c2[_0x1bd8cf(0x239)](_0x288eb9[_0x1bd8cf(0x19d)]),_0x567e6d=_0x5a2b33[_0x1bd8cf(0x264)](_0x321566);if(!_0x567e6d)return!0x1;const _0x5bb6e2=_0x567e6d[_0x1bd8cf(0xb7)](_0x336d76);if(!_0x5bb6e2)return!0x1;const _0x3d91e8=_0x2bd302['generateHexNumber'](0x8),_0xa8ce26=_0x1f26a7||{'startRow':0x0,'startColumn':0x0,'endRow':_0x5bb6e2['getRowCount']()-0x1,'endColumn':_0x5bb6e2[_0x1bd8cf(0x32b)]()-0x1};_0xa8ce26[_0x1bd8cf(0x195)]=_0x288eb9[_0x1bd8cf(0x231)][_0x1bd8cf(0x2c1)];const _0xa728fd=(await _0x575d02[_0x1bd8cf(0x2eb)]({'unitId':_0x321566,'subUnitId':_0x336d76,'pivotTableId':_0x3d91e8,'params':{'type':_0x5e3388[_0x1bd8cf(0x166)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x321566,'sheetName':_0x5bb6e2['getName'](),'subUnitId':_0x336d76,'range':_0xa8ce26},'pivotTableId':_0x3d91e8,'pivotTableIndexConfig':_0x79b118}}}))[_0x1bd8cf(0x312)][_0x1bd8cf(0x13b)];if(!_0xa728fd)return!0x1;const {isEmpty:_0x374be1,fieldsConfig:_0x5dc271,collectionConfig:_0x29d0fa,changesets:_0x1514c8}=_0xa728fd,_0x51b2e8=_0x567e6d['getSheets']()[_0x1bd8cf(0x8f)],_0x2d1564=_0x288eb9[_0x1bd8cf(0x3af)]({'rowCount':_0x5bb6e2[_0x1bd8cf(0xec)]()-0x1,'columnCount':_0x5bb6e2[_0x1bd8cf(0x32b)]()-0x1});_0x2d1564['id']=_0x288eb9['generateRandomId'](),_0x2d1564['name']=_0x567e6d[_0x1bd8cf(0x395)](''+_0x3cfbf8['t'](_0x1bd8cf(0x358)));const _0x190859={'index':_0x51b2e8,'sheet':_0x2d1564,'unitId':_0x321566},{redos:_0x42566f}=_0x54d6ee(_0x352bae,{'pivotTableId':_0x3d91e8,'unitId':_0x321566,'subUnitId':_0x2d1564['id']},_0x1514c8),_0xba5904=[{'id':_0x2e27a8['InsertSheetCommand']['id'],'params':_0x190859},{'id':_0x7c30f0['id'],'params':{'unitId':_0x321566,'subUnitId':_0x2d1564['id'],'pivotTableId':_0x3d91e8,'pivotTableConfig':{'isEmpty':_0x374be1,'fieldsConfig':_0x5dc271,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x321566,'subUnitId':_0x2d1564['id']},'sourceRangeInfo':{'subUnitId':_0x336d76,'unitId':_0x321566,'range':_0xa8ce26,'sheetName':_0x5bb6e2[_0x1bd8cf(0x2e8)]()}},'collectionConfig':_0x29d0fa}},..._0x42566f];return _0x288eb9[_0x1bd8cf(0x363)](_0xba5904,_0x352bae),!0x0;}},_0xf36de3={'type':_0x288eb9['CommandType'][_0x42bb9f(0x20b)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x29054,_0x17b5c9){const _0x1fa917=_0x42bb9f;if(!_0x17b5c9)return!0x1;if(!!_0x29054[_0x1fa917(0x239)](_0x288eb9[_0x1fa917(0xd5)])[_0x1fa917(0x36b)](_0x34280f))return!0x0;const {pivotTableId:_0x235106,unitId:_0x5e4163,subUnitId:_0x3ccb3e}=_0x17b5c9,_0x55c58e=_0x29054[_0x1fa917(0x239)](_0x5bf755[_0x1fa917(0x1ae)]);return _0x55c58e[_0x1fa917(0x9b)](_0x5e4163,_0x3ccb3e,_0x235106)?(_0x55c58e[_0x1fa917(0x1d8)]({'unitId':_0x5e4163,'subUnitId':_0x3ccb3e,'token':_0x235106,'type':_0x2de5fe[_0x1fa917(0x163)]}),_0x55c58e[_0x1fa917(0x32d)](_0x5e4163,_0x3ccb3e,_0x235106),!0x0):!0x1;}},_0x9e6b92={'type':_0x288eb9['CommandType']['COMMAND'],'id':_0x42bb9f(0x394),async 'handler'(_0x384b8c,_0x5649da){const _0x2af00c=_0x42bb9f;var _0x20e44f,_0x364da9;const _0x5531dd=_0x384b8c['get'](_0x288eb9[_0x2af00c(0x19d)]),_0x1efe74=_0x384b8c[_0x2af00c(0x239)](_0x288eb9[_0x2af00c(0x132)]),_0x13d5ff=_0x384b8c[_0x2af00c(0x239)](_0x288eb9[_0x2af00c(0x391)]),_0x494a6f=_0x384b8c[_0x2af00c(0x239)](_0x5bf755[_0x2af00c(0x330)]),_0x16ec7e=_0x384b8c[_0x2af00c(0x239)](_0x288eb9[_0x2af00c(0x17b)]),_0x8ae7db=_0x384b8c[_0x2af00c(0x239)](_0x5bf755[_0x2af00c(0x2e2)]),_0x54f819=_0x384b8c[_0x2af00c(0x239)](_0x288eb9['IConfigService']);if(!_0x5649da)return!0x1;const {pivotTableConfig:_0x1f5665,positionType:_0x5aaae4}=_0x5649da,{targetCellInfo:_0x4be72e,sourceRangeInfo:_0x4330f5}=_0x1f5665,{unitId:_0xbf2109,subUnitId:_0x1ac0b5}=_0x4be72e,_0x1ea4cb=_0x1efe74['getUnit'](_0xbf2109);if(!_0x1ea4cb)return!0x1;let _0x497fdd=0x0;_0x1ea4cb['getSheets']()['forEach'](_0x255204=>{const _0x337543=_0x2af00c;var _0x493664,_0x47253f;_0x497fdd+=(_0x47253f=(_0x493664=_0x8ae7db[_0x337543(0x244)](_0xbf2109,_0x255204[_0x337543(0x1c0)]()))==null?void 0x0:_0x493664[_0x337543(0x1f6)])!=null?_0x47253f:0x0;});const _0xd53abf=(_0x20e44f=_0x54f819[_0x2af00c(0x36b)](_0x1f3f39[_0x2af00c(0x18e)]))!=null?_0x20e44f:{},{ls:_0x8e7be6,pbk:_0x549c5b}=_0xd53abf;if(!_0x15f38b(_0x8e7be6,_0x549c5b))return!0x1;const _0x58e248=_0x52b3f8(_0x2e2372,_0x8e7be6,_0x549c5b)[_0x2af00c(0x18d)];if(_0x497fdd>=_0x58e248)return!0x1;const _0x944537=_0x5649da['pivotTableId']||_0x2bd302[_0x2af00c(0x383)](0x8),_0x329e22=(await _0x494a6f[_0x2af00c(0x2eb)]({'unitId':_0xbf2109,'subUnitId':_0x1ac0b5,'pivotTableId':_0x944537,'params':{'type':_0x5e3388[_0x2af00c(0x2ba)],'addPivotTable':{'sourceRangeInfo':_0x4330f5,'pivotTableId':_0x944537}}}))[_0x2af00c(0x312)][_0x2af00c(0xdb)];if(!_0x329e22)return!0x1;const {view:_0x4a7647,isEmpty:_0x21f5ae,fieldsConfig:_0x3af6b7,collectionConfig:_0x53f4b3}=_0x329e22,_0x5a9a96=[],_0x5790a2=[];if(_0x5aaae4===_0x1caed1[_0x2af00c(0x3aa)]){const _0x11e145=_0x1ea4cb['getSheets']()[_0x2af00c(0x8f)],_0x25031f=_0x288eb9[_0x2af00c(0x3af)]({});_0x25031f['id']=_0x1f5665[_0x2af00c(0x242)][_0x2af00c(0x179)],_0x25031f[_0x2af00c(0x262)]=(_0x364da9=_0x1f5665[_0x2af00c(0x242)]['sheetName'])!=null?_0x364da9:_0x1ea4cb[_0x2af00c(0x395)](''+_0x13d5ff['t'](_0x2af00c(0x358)));const _0x3f80c9={'index':_0x11e145,'sheet':_0x25031f,'unitId':_0xbf2109},_0x939f1f=_0x2e27a8[_0x2af00c(0x1e1)](_0x384b8c,_0x3f80c9);_0x5a9a96[_0x2af00c(0x364)]({'id':_0x2e27a8[_0x2af00c(0xff)]['id'],'params':_0x939f1f}),_0x5790a2[_0x2af00c(0x364)]({'id':_0x2e27a8[_0x2af00c(0x28f)]['id'],'params':_0x3f80c9});}else{if(!_0x1ea4cb[_0x2af00c(0xb7)](_0x1ac0b5))return!0x1;const _0x1b74a6=_0x3034a0(_0x384b8c,new _0x2bd302[(_0x2af00c(0x15a))](),_0x4be72e,!0x0);_0x5790a2['push'](..._0x1b74a6[_0x2af00c(0x196)]),_0x5a9a96[_0x2af00c(0x364)](..._0x1b74a6['undos']);const _0x5377c6={'cellInfo':_0x4be72e,'view':_0x4a7647,'isEmpty':_0x21f5ae};if(!await _0x384b8c[_0x2af00c(0x239)](_0x5bf755[_0x2af00c(0x19e)])[_0x2af00c(0x2cc)][_0x2af00c(0x1f9)](_0x5ce99e)(!0x0,_0x5377c6))return!0x1;const _0x35442c=_0x1b91fb(_0x384b8c,_0x5377c6);_0x5790a2[_0x2af00c(0x364)](..._0x35442c[_0x2af00c(0x196)]),_0x5a9a96['push'](..._0x35442c[_0x2af00c(0x248)]);}return _0x5790a2[_0x2af00c(0x364)]({'id':_0x7c30f0['id'],'params':{'unitId':_0x4be72e[_0x2af00c(0x360)],'subUnitId':_0x4be72e[_0x2af00c(0x179)],'pivotTableId':_0x944537,'pivotTableConfig':{'targetCellInfo':_0x4be72e,'sourceRangeInfo':_0x4330f5,'fieldsConfig':_0x3af6b7},'collectionConfig':_0x53f4b3}}),_0x5a9a96[_0x2af00c(0x2dd)]({'id':_0xf36de3['id'],'params':{'unitId':_0xbf2109,'subUnitId':_0x1ac0b5,'pivotTableId':_0x944537}}),_0x288eb9[_0x2af00c(0x363)](_0x5790a2,_0x5531dd)&&_0x16ec7e[_0x2af00c(0x1b3)]({'unitID':_0xbf2109,'undoMutations':_0x5a9a96,'redoMutations':_0x5790a2}),!0x0;}},_0x5ea7f4={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x327),async 'handler'(_0xa3eb0c,_0x109c3b){const _0x113917=_0x42bb9f;if(!_0x109c3b)return!0x1;const _0x2abf0d=_0xa3eb0c[_0x113917(0x239)](_0x288eb9[_0x113917(0x19d)]),_0x5ecb72=_0xa3eb0c[_0x113917(0x239)](_0x5bf755[_0x113917(0x330)]),_0x2b4649=_0xa3eb0c[_0x113917(0x239)](_0x288eb9[_0x113917(0x17b)]),{pivotTableId:_0x8dfe58,fieldId:_0x435eb2,area:_0x56a263,index:_0x321791,unitId:_0x12a614,subUnitId:_0x5f08e5}=_0x109c3b,_0x1ba58d=(await _0x5ecb72[_0x113917(0x2eb)]({'unitId':_0x12a614,'subUnitId':_0x5f08e5,'pivotTableId':_0x8dfe58,'params':{'type':_0x5e3388[_0x113917(0x1a9)],'movePivotField':{'fieldId':_0x435eb2,'area':_0x56a263,'index':_0x321791}}}))['result'][_0x113917(0xb0)];if(!_0x1ba58d)return!0x1;const {changesets:_0x4c3749,view:_0x28e84f,isEmpty:_0x50d45f,pivotTableConfig:_0x8c2ff0}=_0x1ba58d,_0x379df0=_0x8c2ff0['targetCellInfo'],_0xfb9775=new _0x2bd302[(_0x113917(0x15a))]();_0xfb9775[_0x113917(0x188)](_0x28e84f);const _0x17cfd2={'cellInfo':_0x379df0,'view':_0xfb9775,'isEmpty':_0x50d45f};if(!await _0xa3eb0c[_0x113917(0x239)](_0x5bf755[_0x113917(0x19e)])[_0x113917(0x2cc)][_0x113917(0x1f9)](_0x5ce99e)(!0x0,_0x17cfd2))return!0x1;const _0x165735=_0x3034a0(_0xa3eb0c,_0xfb9775,_0x379df0,_0x50d45f),_0x260267=_0x1b91fb(_0xa3eb0c,_0x17cfd2),{redos:_0x59cb04,undos:_0x6ac2f5}=_0x54d6ee(_0x2abf0d,{'pivotTableId':_0x8dfe58,'unitId':_0x12a614,'subUnitId':_0x5f08e5},_0x4c3749);return _0x288eb9['sequenceExecute']([..._0x165735[_0x113917(0x196)],..._0x260267[_0x113917(0x196)],..._0x59cb04],_0x2abf0d),_0x2b4649[_0x113917(0x1b3)]({'unitID':_0x12a614,'redoMutations':[..._0x165735[_0x113917(0x196)],..._0x260267[_0x113917(0x196)],..._0x59cb04],'undoMutations':[..._0x165735['undos'],..._0x260267[_0x113917(0x248)],..._0x6ac2f5]}),!0x0;}},_0x4c1e58={'type':_0x288eb9['CommandType'][_0x42bb9f(0x20b)],'id':'sheet.mutation.set-pivot-position','handler'(_0x2063cd,_0xea01dc){const _0x59387f=_0x42bb9f;if(!_0xea01dc)return!0x1;if(!!_0x2063cd[_0x59387f(0x239)](_0x288eb9['IConfigService'])[_0x59387f(0x36b)](_0x34280f))return!0x0;const {pivotTableId:_0x58041b,targetCellPosition:_0x269746,unitId:_0x3d6d90,subUnitId:_0x5c3560}=_0xea01dc,_0x1e5c3e=_0x2063cd[_0x59387f(0x239)](_0x5bf755[_0x59387f(0x1ae)]);if(!_0x1e5c3e[_0x59387f(0x25c)](_0xea01dc[_0x59387f(0x111)]))return!0x1;const _0x218741=_0x1e5c3e[_0x59387f(0x33f)](_0x58041b);if(!_0x218741)return!0x1;const _0x1431d7=_0x1e5c3e[_0x59387f(0x2c8)](_0x218741['unitId'],_0xea01dc[_0x59387f(0x111)]);if(!_0x1431d7)return!0x1;const _0x4e5b76=_0x1e5c3e[_0x59387f(0x9b)](_0x218741[_0x59387f(0x360)],_0x218741[_0x59387f(0x179)],_0x58041b);if(!_0x4e5b76)return!0x1;const _0x9e262e=_0x288eb9[_0x59387f(0x91)][_0x59387f(0x38e)](_0x4e5b76);_0x9e262e[_0x59387f(0x242)]={'unitId':_0x3d6d90,'subUnitId':_0x5c3560,'row':_0x269746['row'],'col':_0x269746['col']};const _0xa8368b=_0x1431d7['toJSON']();if(_0x218741['subUnitId']===_0x5c3560&&_0x218741[_0x59387f(0x360)]===_0x3d6d90)_0x1e5c3e[_0x59387f(0x315)](_0x3d6d90,_0x5c3560,_0x58041b,_0x9e262e),_0x1e5c3e[_0x59387f(0x1d8)]({'unitId':_0x3d6d90,'subUnitId':_0x5c3560,'token':_0x58041b,'type':_0x2de5fe['Set']});else{_0x1e5c3e[_0x59387f(0x1d8)]({'unitId':_0x218741['unitId'],'subUnitId':_0x218741['subUnitId'],'token':_0x58041b,'type':_0x2de5fe[_0x59387f(0x163)]}),_0x1e5c3e[_0x59387f(0x32d)](_0x218741['unitId'],_0x218741[_0x59387f(0x179)],_0x58041b);const _0x19d7f5=_0x1e5c3e[_0x59387f(0x3a0)](_0x58041b,_0xa8368b,_0x4e5b76[_0x59387f(0x156)],_0x9e262e[_0x59387f(0x242)]),_0x542e18=new _0x2bd302['PivotTable'](_0x19d7f5[_0x59387f(0x127)],void 0x0,_0x58041b);_0x542e18[_0x59387f(0x9a)](_0x9e262e[_0x59387f(0x313)]),_0x1e5c3e[_0x59387f(0xdb)](_0x3d6d90,_0x5c3560,_0x58041b,_0x542e18,_0x9e262e),_0x1e5c3e[_0x59387f(0x1d8)]({'unitId':_0x3d6d90,'subUnitId':_0x5c3560,'token':_0x58041b,'type':_0x2de5fe[_0x59387f(0xe6)],'pivotConfig':_0x9e262e});}return!0x0;}},_0x2891e4={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x1f5),'handler':(_0x1047f6,_0x14459a)=>{const _0x5789d7=_0x42bb9f,_0x546a15=_0x1047f6[_0x5789d7(0x239)](_0x288eb9['ICommandService']),_0xd2a531=_0x1047f6[_0x5789d7(0x239)](_0x288eb9[_0x5789d7(0x17b)]),_0x5b5f77=_0x1047f6[_0x5789d7(0x239)](_0x5bf755[_0x5789d7(0x2e2)]),_0x443f17=_0x1047f6[_0x5789d7(0x239)](_0x288eb9[_0x5789d7(0x132)]);if(!_0x14459a)return!0x1;const _0x53654c=_0x2e27a8['getSheetCommandTarget'](_0x443f17);if(!_0x53654c)return!0x1;const {unitId:_0x17ca78,subUnitId:_0x230ef3,workbook:_0x513fc4}=_0x53654c,_0x5b55c8=_0x5b5f77['getPivotTableConfig'](_0x14459a[_0x5789d7(0x30c)][_0x5789d7(0x360)],_0x14459a[_0x5789d7(0x30c)][_0x5789d7(0x179)],_0x14459a[_0x5789d7(0x111)]);if(!_0x5b55c8)return!0x1;const _0x5a66ad=_0x513fc4['getSheetBySheetId'](_0x14459a[_0x5789d7(0x242)][_0x5789d7(0x179)]);if(!_0x5a66ad)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x328320=_0x5a66ad['getRowCount'](),_0x27f6ef=_0x5a66ad['getColumnCount']();if(_0x14459a[_0x5789d7(0x242)][_0x5789d7(0x392)]>_0x328320||_0x14459a[_0x5789d7(0x242)][_0x5789d7(0x113)]>_0x27f6ef)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x253960=[{'id':_0x4c1e58['id'],'params':{'unitId':_0x17ca78,'subUnitId':_0x14459a[_0x5789d7(0x242)][_0x5789d7(0x179)],'pivotTableId':_0x14459a[_0x5789d7(0x111)],'targetCellPosition':{'row':_0x14459a[_0x5789d7(0x242)][_0x5789d7(0x392)],'col':_0x14459a['targetCellInfo'][_0x5789d7(0x113)]}}}],_0x34959e=[{'id':_0x4c1e58['id'],'params':{'unitId':_0x17ca78,'subUnitId':_0x230ef3,'pivotTableId':_0x14459a[_0x5789d7(0x111)],'targetCellPosition':{'row':_0x5b55c8[_0x5789d7(0x242)][_0x5789d7(0x392)],'col':_0x5b55c8[_0x5789d7(0x242)]['col']}}}];return _0x288eb9['sequenceExecute'](_0x253960,_0x546a15)&&_0xd2a531['pushUndoRedo']({'unitID':_0x17ca78,'undoMutations':_0x34959e,'redoMutations':_0x253960}),!0x0;}},_0x4fc4e5={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x3723ae,_0x3a7983){const _0x8a3181=_0x42bb9f;var _0x17b6de;if(!_0x3a7983)return!0x1;const _0x3f8671=_0x3723ae[_0x8a3181(0x239)](_0x288eb9[_0x8a3181(0x132)]),_0x1e4760=_0x2e27a8['getSheetCommandTarget'](_0x3f8671);if(!_0x1e4760)return!0x1;const {unitId:_0x20b140,subUnitId:_0x28a149,workbook:_0x3bb313}=_0x1e4760,{row:_0x592fba,col:_0x4c0524}=_0x3a7983,_0x477ceb=_0x3723ae[_0x8a3181(0x239)](_0x5bf755['SheetsPivotTableAdaptorModel']),_0x3f4029=_0x477ceb[_0x8a3181(0x32a)](_0x20b140,_0x28a149,_0x592fba,_0x4c0524);if(!_0x3f4029)return!0x1;const _0x79ef5e=(_0x17b6de=_0x477ceb[_0x8a3181(0x2ab)](_0x20b140,_0x28a149,_0x3f4029))==null?void 0x0:_0x17b6de['areaInfo'];if(!_0x79ef5e)return!0x1;const _0x323722=_0x3723ae[_0x8a3181(0x239)](_0x5bf755[_0x8a3181(0x2e2)])['getPivotTableConfig'](_0x20b140,_0x28a149,_0x3f4029);if(!_0x323722)return!0x1;const {rowInfo:_0x5380be,colInfo:_0x1da169}=_0x79ef5e,_0x4ce9ac=_0x5380be[_0x592fba]['paths'],_0x3f0af0=_0x1da169[_0x4c0524][_0x8a3181(0x2f9)],_0x4054ad=_0x5380be[_0x592fba][_0x8a3181(0x207)],_0x24aa38=_0x1da169[_0x4c0524]['level'],_0x1d370a=_0x4ce9ac['concat'](_0x3f0af0),_0x2a6d12=_0x323722[_0x8a3181(0x313)][_0x8a3181(0x1ec)][_0x8a3181(0x1e2)](0x0,_0x4054ad),_0x285ca3=_0x323722[_0x8a3181(0x313)][_0x8a3181(0x33a)]['slice'](0x0,_0x24aa38),_0x22b993=_0x2a6d12[_0x8a3181(0xc1)](_0x285ca3),_0x576af1=_0x1d370a[_0x8a3181(0x1d2)]((_0x490827,_0x146c9f)=>[_0x490827,_0x22b993[_0x146c9f]]),_0x75fb01=(await _0x3723ae[_0x8a3181(0x239)](_0x5bf755[_0x8a3181(0x330)])[_0x8a3181(0x2eb)]({'unitId':_0x20b140,'subUnitId':_0x28a149,'pivotTableId':_0x3f4029,'params':{'type':_0x5e3388[_0x8a3181(0xce)],'drillDown':{'tuple':_0x576af1}}}))[_0x8a3181(0x312)][_0x8a3181(0x31b)];if(!_0x75fb01)return!0x1;const {indexes:_0x44d8d7,range:_0x30289a,sourceUnitId:_0x2a3389,sourceSubUnitId:_0x4be1fc,formatMap:_0x4d52b5}=_0x75fb01,{startRow:_0x331505,endRow:_0x4d5938,startColumn:_0x3968fa,endColumn:_0x4ca0bf}=_0x30289a,_0x5b8320=new _0x288eb9['ObjectMatrix'](),_0x4a4ddc=_0x4d5938-_0x331505,_0x2968d7=_0x4ca0bf-_0x3968fa,_0x34e644={},_0x4de1c0=_0x2e27a8[_0x8a3181(0xba)](_0x3f8671,{'unitId':_0x2a3389,'subUnitId':_0x4be1fc});if(!_0x4de1c0)return!0x1;const _0x50e2bd=_0x1b6d0b[_0x8a3181(0x1ed)],_0x4ec43a=_0x1b6d0b[_0x8a3181(0x144)],_0x5bc5d8=_0x1b6d0b[_0x8a3181(0x144)],_0xa7c1e5=_0x3bb313['getStyles']()[_0x8a3181(0x1bb)](_0x50e2bd),_0x251bde=_0x3bb313[_0x8a3181(0xa4)]()[_0x8a3181(0x1bb)](_0x4ec43a),_0x58c836=_0x3bb313['getStyles']()[_0x8a3181(0x1bb)](_0x5bc5d8),{worksheet:_0x505272}=_0x4de1c0;let _0x10d580=0x0;const _0x3d789e=0x1;_0x44d8d7[_0x8a3181(0x36d)](_0x41abc9=>{const _0x16181e=_0x8a3181;for(let _0x90788=0x0;_0x90788<=_0x4ca0bf-_0x3968fa;_0x90788++)_0x5b8320['setValue'](_0x10d580,_0x90788,_0x505272[_0x16181e(0x3ac)](_0x41abc9+_0x30289a[_0x16181e(0x36a)]+_0x3d789e,_0x90788));_0x10d580++;});for(let _0x4785a1=_0x3968fa;_0x4785a1<=_0x4ca0bf;_0x4785a1++){const _0x18ef07=_0x505272['getCellRaw'](_0x331505,_0x4785a1);_0x34e644[_0x331505]||(_0x34e644[_0x331505]={}),_0x34e644[_0x331505][_0x4785a1]={..._0x18ef07,'s':_0xa7c1e5};}let _0x2350b9=0x1;const _0x9dbcaf={},_0x1c420f={};_0x5b8320['forRow']((_0x383a5d,_0x14b170)=>{const _0x3802b2=_0x8a3181;_0x14b170[_0x3802b2(0x36d)](_0x5e48bf=>{const _0x3edb74=_0x3802b2,_0x1b77bf=_0x5b8320[_0x3edb74(0x187)](_0x383a5d,_0x5e48bf);if(_0x34e644[_0x2350b9]||(_0x34e644[_0x2350b9]={}),_0x34e644[_0x2350b9][_0x5e48bf]={..._0x1b77bf,'s':_0x2350b9%0x2===0x0?_0x58c836:_0x251bde},_0x4d52b5[_0x5e48bf]&&_0x383a5d>=0x0){const _0x11fa01=_0x2350b9%0x2===0x0;let _0x5d2fee=_0x11fa01?_0x1c420f[_0x5e48bf]:_0x9dbcaf[_0x5e48bf];_0x5d2fee||(_0x5d2fee=_0x3bb313[_0x3edb74(0xa4)]()[_0x3edb74(0x1bb)]({..._0x11fa01?_0x5bc5d8:_0x4ec43a,'n':{'pattern':_0x4d52b5[_0x5e48bf]}}),_0x11fa01?_0x1c420f[_0x5e48bf]=_0x5d2fee:_0x9dbcaf[_0x5e48bf]=_0x5d2fee),_0x34e644[_0x2350b9][_0x5e48bf]['s']=_0x5d2fee;}}),_0x2350b9++;});const _0xd74f19=new _0x288eb9[(_0x8a3181(0x280))](_0x34e644),_0x470514={};_0xd74f19[_0x8a3181(0xbc)]((_0x58e0df,_0x25d46d,_0x2d7410)=>{_0x470514[_0x58e0df]||(_0x470514[_0x58e0df]={}),_0x470514[_0x58e0df][_0x25d46d]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x542005=[],_0x3f2548=[],_0x3af19c=_0x3bb313[_0x8a3181(0x294)]()[_0x8a3181(0x8f)],_0x184a06=_0x288eb9[_0x8a3181(0x3af)]({'rowCount':Math['max'](_0x288eb9['DEFAULT_WORKSHEET_ROW_COUNT'],_0x4a4ddc+0xa),'columnCount':Math[_0x8a3181(0x2e9)](_0x288eb9['DEFAULT_WORKSHEET_COLUMN_COUNT'],_0x2968d7+0x5)}),_0x3ca6fe=_0x3723ae[_0x8a3181(0x239)](_0x288eb9[_0x8a3181(0x391)]);_0x184a06['id']=_0x288eb9[_0x8a3181(0x247)](),_0x184a06[_0x8a3181(0x262)]=_0x3bb313[_0x8a3181(0x395)](''+_0x3ca6fe['t'](_0x8a3181(0x358)));const _0x4bcaac={'index':_0x3af19c,'sheet':_0x184a06,'unitId':_0x20b140},_0xe7a9bc=_0x2e27a8[_0x8a3181(0x1e1)](_0x3723ae,_0x4bcaac);_0x3f2548[_0x8a3181(0x364)]({'id':_0x2e27a8['InsertSheetMutation']['id'],'params':_0x4bcaac}),_0x542005['push']({'id':_0x2e27a8[_0x8a3181(0xff)]['id'],'params':_0xe7a9bc}),_0x3f2548[_0x8a3181(0x364)]({'id':_0x2e27a8[_0x8a3181(0x3ad)]['id'],'params':{'unitId':_0x20b140,'subUnitId':_0x184a06['id'],'cellValue':_0x34e644}}),_0x542005[_0x8a3181(0x2dd)]({'id':_0x2e27a8['SetRangeValuesMutation']['id'],'params':{'unitId':_0x20b140,'subUnitId':_0x184a06['id'],'cellValue':_0x470514}});const _0x2cf038={'startRow':0x0,'startColumn':0x0,'endRow':_0x2350b9-0x1,'endColumn':_0x4ca0bf};_0x3f2548[_0x8a3181(0x364)]({'id':_0x2bd9b2[_0x8a3181(0xeb)]['id'],'params':{'unitId':_0x20b140,'subUnitId':_0x184a06['id'],'range':_0x2cf038}}),_0x542005[_0x8a3181(0x2dd)]({'id':_0x2bd9b2[_0x8a3181(0x11f)]['id'],'params':{'unitId':_0x20b140,'subUnitId':_0x184a06['id']}});const _0xa02e02=_0x3723ae[_0x8a3181(0x239)](_0x288eb9[_0x8a3181(0x19d)]);return _0x288eb9[_0x8a3181(0x363)](_0x3f2548,_0xa02e02)&&_0x3723ae[_0x8a3181(0x239)](_0x288eb9[_0x8a3181(0x17b)])[_0x8a3181(0x1b3)]({'unitID':_0x20b140,'undoMutations':_0x542005,'redoMutations':_0x3f2548}),!0x0;}},_0x2148b5={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x10a),async 'handler'(_0x5a990f,_0x42b7a7){const _0x3c29c5=_0x42bb9f;if(!_0x42b7a7)return!0x1;const _0x9ef86d=_0x5a990f['get'](_0x288eb9['ICommandService']),_0x1f29c3=_0x5a990f[_0x3c29c5(0x239)](_0x5bf755[_0x3c29c5(0x330)]),_0xae5a73=_0x5a990f[_0x3c29c5(0x239)](_0x288eb9[_0x3c29c5(0x17b)]),{pivotTableId:_0x3ec5d0,fieldIds:_0x5df1cd,unitId:_0x51d665,subUnitId:_0x4c9942}=_0x42b7a7,_0x2e1c25=(await _0x1f29c3[_0x3c29c5(0x2eb)]({'unitId':_0x51d665,'subUnitId':_0x4c9942,'pivotTableId':_0x3ec5d0,'params':{'type':_0x5e3388[_0x3c29c5(0x151)],'removePivotField':{'fieldIds':_0x5df1cd}}}))[_0x3c29c5(0x312)][_0x3c29c5(0xb1)];if(!_0x2e1c25)return!0x1;const {view:_0x21db2e,changesets:_0x1674a9,isEmpty:_0x25ac42,pivotTableConfig:_0x33dfbc}=_0x2e1c25,_0x4d292a=_0x33dfbc[_0x3c29c5(0x242)],_0x380126=new _0x2bd302['PivotView']();_0x380126[_0x3c29c5(0x188)](_0x21db2e);const _0x1486d7={'cellInfo':_0x4d292a,'view':_0x380126,'isEmpty':_0x25ac42};if(!await _0x5a990f[_0x3c29c5(0x239)](_0x5bf755['SheetsPivotTableService'])[_0x3c29c5(0x2cc)][_0x3c29c5(0x1f9)](_0x5ce99e)(!0x0,_0x1486d7))return!0x1;const _0x47132f=_0x3034a0(_0x5a990f,_0x380126,_0x4d292a,_0x25ac42),_0x4da2ac=_0x1b91fb(_0x5a990f,_0x1486d7),{redos:_0x56b468,undos:_0x16723c}=_0x54d6ee(_0x9ef86d,{'pivotTableId':_0x3ec5d0,'unitId':_0x51d665,'subUnitId':_0x4c9942},_0x1674a9);return _0x288eb9['sequenceExecute']([..._0x47132f[_0x3c29c5(0x196)],..._0x4da2ac[_0x3c29c5(0x196)],..._0x56b468],_0x9ef86d),_0xae5a73[_0x3c29c5(0x1b3)]({'unitID':_0x51d665,'redoMutations':[..._0x47132f[_0x3c29c5(0x196)],..._0x4da2ac['redos'],..._0x56b468],'undoMutations':[..._0x47132f['undos'],..._0x4da2ac[_0x3c29c5(0x248)],..._0x16723c]}),!0x0;}},_0x318908={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x293),async 'handler'(_0x64c905,_0x59ba91){const _0x4c9ec2=_0x42bb9f;if(!_0x59ba91)return!0x1;const _0x404564=_0x64c905[_0x4c9ec2(0x239)](_0x288eb9[_0x4c9ec2(0x19d)]),_0x13edd7=_0x64c905['get'](_0x288eb9['IUndoRedoService']),_0x2051fe=_0x64c905[_0x4c9ec2(0x239)](_0x5bf755[_0x4c9ec2(0x330)]),{resetArea:_0x83e8c1,pivotTableId:_0x3e4a56,unitId:_0x291372,subUnitId:_0x52d622}=_0x59ba91,_0x5e12ac=(await _0x2051fe[_0x4c9ec2(0x2eb)]({'unitId':_0x291372,'subUnitId':_0x52d622,'pivotTableId':_0x3e4a56,'params':{'type':_0x5e3388[_0x4c9ec2(0x316)],'resetPivotTable':{'pivotTableId':_0x3e4a56,'resetArea':_0x83e8c1}}}))[_0x4c9ec2(0x312)][_0x4c9ec2(0x29b)];if(!_0x5e12ac)return!0x1;const {changesets:_0x304e3c}=_0x5e12ac,{redos:_0x63f658,undos:_0x27c8cd}=_0x54d6ee(_0x404564,{'pivotTableId':_0x3e4a56,'unitId':_0x291372,'subUnitId':_0x52d622},_0x304e3c);return _0x288eb9[_0x4c9ec2(0x363)](_0x63f658,_0x404564),_0x13edd7['pushUndoRedo']({'unitID':_0x291372,'redoMutations':_0x63f658,'undoMutations':_0x27c8cd}),!0x0;}},_0x12e7ee={'type':_0x288eb9['CommandType'][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x298),async 'handler'(_0xaaefce,_0x28ebc9){const _0x39bf5c=_0x42bb9f,_0x4b1322=_0xaaefce['get'](_0x288eb9[_0x39bf5c(0x19d)]),_0x1c6865=_0xaaefce[_0x39bf5c(0x239)](_0x5bf755[_0x39bf5c(0x330)]),_0x1a7801=_0xaaefce['get'](_0x5bf755[_0x39bf5c(0x249)]),_0x370ba4=_0xaaefce['get'](_0x288eb9[_0x39bf5c(0x132)]),_0x4a27b4=_0xaaefce[_0x39bf5c(0x239)](_0x288eb9['LocaleService']),_0x225bcf=_0xaaefce[_0x39bf5c(0x239)](_0x288eb9[_0x39bf5c(0x17b)]);if(!_0x28ebc9)return!0x1;const {unitId:_0x415e3b,subUnitId:_0x26fe5d,row:_0x18a191,col:_0x31174a,collapse:_0x10e882}=_0x28ebc9,_0x162972=_0x370ba4[_0x39bf5c(0x264)](_0x415e3b);if(!_0x162972||!_0x162972[_0x39bf5c(0xb7)](_0x26fe5d))return!0x1;const _0x2cd302=_0x1a7801[_0x39bf5c(0x32a)](_0x415e3b,_0x26fe5d,_0x18a191,_0x31174a);if(!_0x2cd302)return!0x1;const _0x4e8f22=_0x1a7801['getPivotItemRenderInfoCache'](_0x415e3b,_0x26fe5d,_0x2cd302);if(!_0x4e8f22)return!0x1;const _0xd5f474=_0x288eb9[_0x39bf5c(0x104)](_0x18a191,_0x31174a),{rangesInfo:_0x38e32e,areaInfo:_0x4e597e,headerMap:_0x21519e}=_0x4e8f22;if(!_0x38e32e||!_0x4e597e||!_0x21519e)return!0x1;const _0x527147=Object[_0x39bf5c(0x237)](_0x38e32e)[_0x39bf5c(0x261)](_0x28ac88=>_0x38e32e[_0x28ac88][_0x39bf5c(0x281)](_0x1f6c89=>_0x288eb9[_0x39bf5c(0x25d)]['contains'](_0x1f6c89,_0xd5f474)));let _0x4df821;_0x527147===_0x39bf5c(0x2b2)?_0x4df821=_0x21519e[_0x39bf5c(0x343)][_0x31174a]:_0x527147==='colRanges'&&(_0x4df821=_0x21519e[_0x39bf5c(0x1d3)][_0x18a191]);const _0x3a592e=_0x4df821==null?void 0x0:_0x4df821[_0x39bf5c(0x11e)],_0x494691=_0x1a7801[_0x39bf5c(0x273)](_0x415e3b,_0x26fe5d,_0x18a191,_0x31174a);let _0x4b5405=_0x494691==null?void 0x0:_0x494691['v'];if(_0x4b5405===_0x4a27b4['t'](_0x39bf5c(0x1aa))&&(_0x4b5405=_0x2bd302['GlobalConfig'][_0x39bf5c(0x396)]),_0x4b5405==null||!_0x2cd302||!_0x3a592e)return!0x1;const _0x164520=await _0x1c6865['getPivotDisplayConfig']({'unitId':_0x415e3b,'subUnitId':_0x26fe5d,'pivotTableId':_0x2cd302,'params':{'type':_0x5e3388[_0x39bf5c(0xd9)],'setPivotCollapse':{'tableFieldId':_0x3a592e,'collapse':_0x10e882,'item':_0x4b5405}}}),_0x315735=_0x164520==null?void 0x0:_0x164520[_0x39bf5c(0x312)][_0x39bf5c(0xfa)];if(!_0x315735)return!0x1;const {view:_0x4ab43f,pivotTableConfig:_0x1f9b3b,isEmpty:_0x5b4c45,changesets:_0x1dab9c}=_0x315735,_0x4bdc6a=new _0x2bd302['PivotView']();_0x4bdc6a[_0x39bf5c(0x188)](_0x4ab43f);const _0xcac57=_0x1f9b3b[_0x39bf5c(0x242)],_0x5849f3={'cellInfo':_0xcac57,'view':_0x4bdc6a,'isEmpty':_0x5b4c45};if(!await _0xaaefce['get'](_0x5bf755[_0x39bf5c(0x19e)])['asyncInterceptor'][_0x39bf5c(0x1f9)](_0x5ce99e)(!0x0,_0x5849f3))return!0x1;const _0x400f5c=_0x3034a0(_0xaaefce,_0x4bdc6a,_0xcac57,_0x5b4c45),_0x3c7056=_0x1b91fb(_0xaaefce,_0x5849f3),{redos:_0x2e15cf,undos:_0x5cf158}=_0x54d6ee(_0x4b1322,{'pivotTableId':_0x2cd302,'unitId':_0x415e3b,'subUnitId':_0x26fe5d},_0x1dab9c);return _0x288eb9['sequenceExecute']([..._0x400f5c[_0x39bf5c(0x196)],..._0x3c7056[_0x39bf5c(0x196)],..._0x2e15cf],_0x4b1322),_0x225bcf['pushUndoRedo']({'unitID':_0x415e3b,'redoMutations':[..._0x400f5c[_0x39bf5c(0x196)],..._0x3c7056[_0x39bf5c(0x196)],..._0x2e15cf],'undoMutations':[..._0x400f5c['undos'],..._0x3c7056[_0x39bf5c(0x248)],..._0x5cf158]}),!0x0;}},_0x275613={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x1b1),async 'handler'(_0x510104,_0x4caaee){const _0x3e122c=_0x42bb9f;if(!_0x4caaee)return!0x1;const _0x1223d2=_0x510104['get'](_0x288eb9['ICommandService']),_0x179116=_0x510104[_0x3e122c(0x239)](_0x288eb9[_0x3e122c(0x17b)]),_0x55e6f0=_0x510104[_0x3e122c(0x239)](_0x5bf755['SheetsPivotRPCService']),{pivotTableConfig:_0xb92a5e,pivotTableId:_0x4ce203,unitId:_0x4d7e9a,subUnitId:_0x446fab}=_0x4caaee,_0x403d6a=(await _0x55e6f0[_0x3e122c(0x2eb)]({'unitId':_0x4d7e9a,'subUnitId':_0x446fab,'pivotTableId':_0x4ce203,'params':{'type':_0x5e3388[_0x3e122c(0x1d0)],'setPivotTableConfig':{'pivotTableId':_0x4ce203,'pivotTableConfig':_0xb92a5e}}}))['result'][_0x3e122c(0x100)];if(!_0x403d6a)return!0x1;const {changesets:_0x12b441}=_0x403d6a,{redos:_0x2b957a,undos:_0x4954c2}=_0x54d6ee(_0x1223d2,{'pivotTableId':_0x4ce203,'unitId':_0x4d7e9a,'subUnitId':_0x446fab},_0x12b441);return _0x288eb9['sequenceExecute'](_0x2b957a,_0x1223d2),_0x179116[_0x3e122c(0x1b3)]({'unitID':_0x4d7e9a,'redoMutations':_0x2b957a,'undoMutations':_0x4954c2}),!0x0;}},_0x507f0e={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0xe5),async 'handler'(_0x4d592a,_0x16cd5d){const _0x49d249=_0x42bb9f;if(!_0x16cd5d)return!0x1;const _0x2d1417=_0x4d592a[_0x49d249(0x239)](_0x288eb9[_0x49d249(0x19d)]),{pivotTableId:_0x2b0ee4,tableFieldId:_0x3c5e43,items:_0x568b0f,unitId:_0x1d1cdc,subUnitId:_0x8f8750,isAll:_0x140d08}=_0x16cd5d,_0x4a2b63=_0x4d592a[_0x49d249(0x239)](_0x5bf755[_0x49d249(0x330)]),_0x4208c7=_0x4d592a['get'](_0x288eb9['IUndoRedoService']),_0xd2ea57=(await _0x4a2b63[_0x49d249(0x2eb)]({'unitId':_0x1d1cdc,'subUnitId':_0x8f8750,'pivotTableId':_0x2b0ee4,'params':{'type':_0x5e3388[_0x49d249(0x1ba)],'setPivotFilter':{'tableFieldId':_0x3c5e43,'items':_0x568b0f,'isAll':_0x140d08}}}))['result'][_0x49d249(0xa5)];if(!_0xd2ea57)return!0x1;const {changesets:_0x314f51,pivotTableConfig:_0x3eb9f3,isEmpty:_0x66ed71,view:_0x1039b6}=_0xd2ea57,_0x1fcd5f=_0x3eb9f3[_0x49d249(0x242)],_0x5920e3=new _0x2bd302[(_0x49d249(0x15a))]();_0x5920e3[_0x49d249(0x188)](_0x1039b6);const _0x100c47={'cellInfo':_0x1fcd5f,'view':_0x5920e3,'isEmpty':_0x66ed71};if(!await _0x4d592a[_0x49d249(0x239)](_0x5bf755[_0x49d249(0x19e)])[_0x49d249(0x2cc)][_0x49d249(0x1f9)](_0x5ce99e)(!0x0,_0x100c47))return!0x1;const _0x4f1b40=_0x3034a0(_0x4d592a,_0x5920e3,_0x1fcd5f,_0x66ed71),_0x4e0633=_0x1b91fb(_0x4d592a,_0x100c47),{undos:_0x306dcd,redos:_0x571e55}=_0x54d6ee(_0x2d1417,{'pivotTableId':_0x2b0ee4,'unitId':_0x1d1cdc,'subUnitId':_0x8f8750},_0x314f51);return _0x288eb9[_0x49d249(0x363)]([..._0x4f1b40['redos'],..._0x4e0633[_0x49d249(0x196)],..._0x571e55],_0x2d1417),_0x4208c7['pushUndoRedo']({'unitID':_0x1d1cdc,'redoMutations':[..._0x4f1b40[_0x49d249(0x196)],..._0x4e0633[_0x49d249(0x196)],..._0x571e55],'undoMutations':[..._0x4f1b40[_0x49d249(0x248)],..._0x4e0633['undos'],..._0x306dcd]}),!0x0;}},_0x45f54e={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x382),async 'handler'(_0xca8ec5,_0x3c1fa4){const _0x937ead=_0x42bb9f;if(!_0x3c1fa4)return!0x1;const _0x33be72=_0xca8ec5['get'](_0x288eb9[_0x937ead(0x19d)]),_0x27a601=_0xca8ec5[_0x937ead(0x239)](_0x288eb9[_0x937ead(0x17b)]),_0x5a721e=_0xca8ec5[_0x937ead(0x239)](_0x5bf755['SheetsPivotRPCService']),{info:_0x4b6202,tableFieldId:_0x1a31d9,pivotTableId:_0x4baa7d,unitId:_0x8517d2,subUnitId:_0x29521b}=_0x3c1fa4,_0x1532ba=(await _0x5a721e[_0x937ead(0x2eb)]({'unitId':_0x8517d2,'subUnitId':_0x29521b,'pivotTableId':_0x4baa7d,'params':{'type':_0x5e3388[_0x937ead(0x338)],'setPivotSort':{'tableFieldId':_0x1a31d9,'info':_0x4b6202}}}))['result'][_0x937ead(0xd2)];if(!_0x1532ba)return!0x1;const {changesets:_0x5c2738}=_0x1532ba,{redos:_0x165dd4,undos:_0x55b5db}=_0x54d6ee(_0x33be72,{'pivotTableId':_0x4baa7d,'unitId':_0x8517d2,'subUnitId':_0x29521b},_0x5c2738);return _0x288eb9['sequenceExecute'](_0x165dd4,_0x33be72),_0x27a601['pushUndoRedo']({'unitID':_0x8517d2,'redoMutations':_0x165dd4,'undoMutations':_0x55b5db}),!0x0;}},_0x16fa93={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0x2c4fcd,_0x1607e4){const _0x35c03c=_0x42bb9f;if(!_0x1607e4)return!0x1;const _0xb4f23b=_0x2c4fcd[_0x35c03c(0x239)](_0x288eb9[_0x35c03c(0x19d)]),{pivotTableId:_0x1be3b2,fieldId:_0x549e58,valueFilterInfo:_0x4d7bab,unitId:_0x2a789a,subUnitId:_0x385374}=_0x1607e4,_0x2d1edb=_0x2c4fcd[_0x35c03c(0x239)](_0x5bf755['SheetsPivotRPCService']),_0xf115d5=_0x2c4fcd[_0x35c03c(0x239)](_0x288eb9[_0x35c03c(0x17b)]),_0x47f306=(await _0x2d1edb[_0x35c03c(0x2eb)]({'unitId':_0x2a789a,'subUnitId':_0x385374,'pivotTableId':_0x1be3b2,'params':{'type':_0x5e3388[_0x35c03c(0x323)],'setValuePivotFilter':{'tableFieldId':_0x549e58,'filterInfo':_0x4d7bab}}}))[_0x35c03c(0x312)][_0x35c03c(0x1fd)];if(!_0x47f306)return!0x1;const {changesets:_0x5c9181,pivotTableConfig:_0x3390f5,isEmpty:_0x1b133d,view:_0x87cfae}=_0x47f306,_0x10bf04=_0x3390f5[_0x35c03c(0x242)],_0x1689b7=new _0x2bd302[(_0x35c03c(0x15a))]();_0x1689b7[_0x35c03c(0x188)](_0x87cfae);const _0xb521f={'cellInfo':_0x10bf04,'view':_0x1689b7,'isEmpty':_0x1b133d};if(!await _0x2c4fcd[_0x35c03c(0x239)](_0x5bf755[_0x35c03c(0x19e)])['asyncInterceptor'][_0x35c03c(0x1f9)](_0x5ce99e)(!0x0,_0xb521f))return!0x1;const _0x28c6e6=_0x3034a0(_0x2c4fcd,_0x1689b7,_0x10bf04,_0x1b133d),_0x42f960=_0x1b91fb(_0x2c4fcd,_0xb521f),{undos:_0x59f395,redos:_0x2272ea}=_0x54d6ee(_0xb4f23b,{'pivotTableId':_0x1be3b2,'unitId':_0x2a789a,'subUnitId':_0x385374},_0x5c9181);return _0x288eb9[_0x35c03c(0x363)]([..._0x28c6e6['redos'],..._0x42f960[_0x35c03c(0x196)],..._0x2272ea],_0xb4f23b),_0xf115d5[_0x35c03c(0x1b3)]({'unitID':_0x2a789a,'redoMutations':[..._0x28c6e6[_0x35c03c(0x196)],..._0x42f960[_0x35c03c(0x196)],..._0x2272ea],'undoMutations':[..._0x28c6e6['undos'],..._0x42f960[_0x35c03c(0x248)],..._0x59f395]}),!0x0;}},_0x14bbb0={'id':_0x42bb9f(0x36f),'type':_0x288eb9[_0x42bb9f(0x2fa)]['MUTATION'],'handler':(_0x1376dc,_0x4a010c)=>{const _0x4b85e6=_0x42bb9f;if(!_0x4a010c)return!0x1;if(!!_0x1376dc['get'](_0x288eb9[_0x4b85e6(0xd5)])[_0x4b85e6(0x36b)](_0x34280f))return!0x0;const {unitId:_0x3bcd6f,subUnitId:_0x32dbac,pivotTableId:_0x4a3a8f,tableFieldId:_0x289457,dateType:_0x58b91f}=_0x4a010c,_0x3466bb=_0x1376dc['get'](_0x5bf755[_0x4b85e6(0x1ae)]),_0x451446=_0x3466bb[_0x4b85e6(0x25c)](_0x4a3a8f);if(!_0x451446)return!0x1;const _0x55a5fa=_0x451446[_0x4b85e6(0x37d)](_0x289457);if(!_0x55a5fa)return!0x1;const _0xf1cdb6=_0x55a5fa['getOriginFieldId'](),_0x4344bd=_0x451446[_0x4b85e6(0x2a1)](_0xf1cdb6),_0x551f96=(_0x4344bd==null?void 0x0:_0x4344bd['getName']())+'\x20'+_0xf6c030(_0x1376dc,_0x58b91f);_0x3466bb[_0x4b85e6(0x2c8)](_0x3bcd6f,_0x4a3a8f)[_0x4b85e6(0x333)](_0x55a5fa['id'],_0x551f96);const _0x398e81=_0x451446[_0x4b85e6(0x2aa)](_0x289457);if(!_0x398e81)return!0x1;_0x451446[_0x4b85e6(0x33c)](_0x398e81[_0x4b85e6(0x37c)](),_0x551f96),_0x55a5fa['setDateType'](_0x58b91f);const _0x5e3443=_0x3466bb['getPivotTableConfig'](_0x3bcd6f,_0x32dbac,_0x4a3a8f);return _0x3466bb['addDirtyPivotTable']({'unitId':_0x3bcd6f,'subUnitId':_0x32dbac,'token':_0x4a3a8f,'type':_0x2de5fe[_0x4b85e6(0x1d1)],'pivotConfig':_0x5e3443}),!0x0;}},_0x340d3f={'id':'sheet.command.update-date-group','type':_0x288eb9['CommandType'][_0x42bb9f(0xd0)],'handler':(_0x286dd9,_0x1cf995)=>{const _0x10291d=_0x42bb9f;if(!_0x1cf995)return!0x1;const _0x39a325=_0x286dd9['get'](_0x288eb9[_0x10291d(0x17b)]),{unitId:_0x41a986,subUnitId:_0x1a00a5,pivotTableId:_0x3aa9ae,tableFieldId:_0x394d7b}=_0x1cf995,_0x56db2a=[],_0x3fb47f=[],_0x133bd4=_0x286dd9['get'](_0x5bf755[_0x10291d(0x2e2)]),_0x493a30=_0x133bd4['getCollection'](_0x41a986,_0x3aa9ae),_0x4ef384=_0x133bd4[_0x10291d(0x9b)](_0x41a986,_0x1a00a5,_0x3aa9ae);if(!(_0x4ef384!=null&&_0x4ef384[_0x10291d(0x313)]['dimension']))return!0x1;const _0x2ef41e=Object['values'](_0x4ef384['fieldsConfig']['dimension'])[_0x10291d(0x261)](_0x1fbc32=>_0x1fbc32['id']===_0x394d7b);if(!_0x2ef41e)return!0x1;const _0xea4453=_0x2ef41e[_0x10291d(0x160)];if(!(_0x493a30!=null&&_0x493a30[_0x10291d(0x2c0)]))return!0x1;const _0x50d90e=Object[_0x10291d(0xe2)](_0x493a30==null?void 0x0:_0x493a30[_0x10291d(0x2c0)])[_0x10291d(0x261)](_0xb32694=>_0xb32694['id']===_0xea4453);if(!_0x50d90e)return!0x1;_0x2bd302[_0x10291d(0x20f)](_0x50d90e)&&_0x56db2a['push']({'id':_0x14bbb0['id'],'params':{..._0x1cf995,'dateType':_0x50d90e['dateType']}}),_0x3fb47f['push']({'id':_0x14bbb0['id'],'params':{..._0x1cf995}});const _0x3969bb=_0x286dd9['get'](_0x288eb9[_0x10291d(0x19d)]);return _0x288eb9['sequenceExecute'](_0x3fb47f,_0x3969bb)&&_0x39a325['pushUndoRedo']({'unitID':_0x41a986,'undoMutations':_0x56db2a,'redoMutations':_0x3fb47f}),!0x0;}},_0x12b36f={'type':_0x288eb9[_0x42bb9f(0x2fa)]['COMMAND'],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x9abed2,_0x5566f7){const _0x453126=_0x42bb9f;if(!_0x5566f7)return!0x1;const _0x1b08c3=_0x9abed2[_0x453126(0x239)](_0x288eb9[_0x453126(0x19d)]),_0xf763f0=_0x9abed2[_0x453126(0x239)](_0x288eb9[_0x453126(0x17b)]),_0x18c809=_0x9abed2[_0x453126(0x239)](_0x5bf755['SheetsPivotRPCService']),{displayName:_0x351c54,subtotalType:_0xf61f05,format:_0x4b4c0b,tableFieldId:_0x40fc41,pivotTableId:_0x100f25,unitId:_0x230213,subUnitId:_0x355c8b}=_0x5566f7,_0x1ab5c0=(await _0x18c809['getPivotDisplayConfig']({'unitId':_0x230213,'subUnitId':_0x355c8b,'pivotTableId':_0x100f25,'params':{'type':_0x5e3388[_0x453126(0x159)],'setPivotSetting':{'tableFieldId':_0x40fc41,'displayName':_0x351c54,'subtotalType':_0xf61f05,'format':_0x4b4c0b}}}))[_0x453126(0x312)][_0x453126(0x18b)];if(!_0x1ab5c0)return!0x1;const {changesets:_0x152af7,view:_0x295801,pivotTableConfig:_0x40c9f9,isEmpty:_0x2afa8f}=_0x1ab5c0,_0xa054d3=_0x40c9f9[_0x453126(0x242)],_0x2fed47=new _0x2bd302[(_0x453126(0x15a))]();_0x2fed47[_0x453126(0x188)](_0x295801);const _0x32afe9={'cellInfo':_0xa054d3,'view':_0x2fed47,'isEmpty':_0x2afa8f};if(!await _0x9abed2[_0x453126(0x239)](_0x5bf755[_0x453126(0x19e)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x5ce99e)(!0x0,_0x32afe9))return!0x1;const _0x300895=_0x3034a0(_0x9abed2,_0x2fed47,_0xa054d3,_0x2afa8f),_0x3cefdd=_0x1b91fb(_0x9abed2,_0x32afe9),{undos:_0xbd20ef,redos:_0x347ea9}=_0x54d6ee(_0x1b08c3,{'pivotTableId':_0x100f25,'unitId':_0x230213,'subUnitId':_0x355c8b},_0x152af7);return _0x288eb9[_0x453126(0x363)]([..._0x300895[_0x453126(0x196)],..._0x3cefdd[_0x453126(0x196)],..._0x347ea9],_0x1b08c3),_0xf763f0[_0x453126(0x1b3)]({'unitID':_0x230213,'redoMutations':[..._0x300895[_0x453126(0x196)],..._0x3cefdd[_0x453126(0x196)],..._0x347ea9],'undoMutations':[..._0x300895[_0x453126(0x248)],..._0x3cefdd[_0x453126(0x248)],..._0xbd20ef]}),!0x0;}},_0x1bc7f9={'type':_0x288eb9[_0x42bb9f(0x2fa)]['MUTATION'],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x405a4c,_0x2fc109){const _0xe31fcb=_0x42bb9f;if(!_0x2fc109)return!0x1;if(!!_0x405a4c[_0xe31fcb(0x239)](_0x288eb9[_0xe31fcb(0xd5)])['getConfig'](_0x34280f))return!0x0;const _0x246e02=_0x405a4c[_0xe31fcb(0x239)](_0x5bf755['SheetsPivotDataSourceModel']),{pivotTableId:_0x3d1f18,deleteIds:_0x5c29b7,collectionJSON:_0x488806,dataRangeInfo:_0x21e92a,unitId:_0x381d3f,subUnitId:_0x235af8}=_0x2fc109,_0x107abb=_0x246e02['getPivotTableInstance'](_0x3d1f18),_0x2e82ee=_0x246e02[_0xe31fcb(0x9b)](_0x381d3f,_0x235af8,_0x3d1f18);if(!_0x107abb||!_0x2e82ee)return!0x1;const {collection:_0x2c8709,updateDataFieldList:_0xaac5a5}=_0x246e02['addCollectionByJSON'](_0x3d1f18,_0x488806,_0x21e92a,_0x2e82ee[_0xe31fcb(0x242)]);_0x246e02[_0xe31fcb(0x8b)](_0x2c8709,_0xaac5a5,_0x21e92a),_0x107abb[_0xe31fcb(0x142)](_0x2c8709);for(const _0x3063c8 of _0x5c29b7)_0x246e02[_0xe31fcb(0x21d)](_0x21e92a['unitId'],_0x3063c8);const _0x1c0026=_0x246e02[_0xe31fcb(0x9b)](_0x381d3f,_0x235af8,_0x3d1f18);return _0x1c0026[_0xe31fcb(0x156)]=JSON[_0xe31fcb(0x24f)](JSON[_0xe31fcb(0x297)](_0x21e92a)),_0x246e02[_0xe31fcb(0x1d8)]({'unitId':_0x381d3f,'subUnitId':_0x235af8,'token':_0x3d1f18,'type':_0x2de5fe[_0xe31fcb(0x1d1)]}),!0x0;}},_0x228b3a={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x2b0),async 'handler'(_0x3b4a43,_0xa1abb5){const _0x4a268f=_0x42bb9f,_0x5bce21=_0x3b4a43['get'](_0x288eb9[_0x4a268f(0x19d)]),_0x32eca5=_0x3b4a43[_0x4a268f(0x239)](_0x5bf755[_0x4a268f(0x330)]),_0x1ad008=_0x3b4a43[_0x4a268f(0x239)](_0x288eb9['IUndoRedoService']);if(!_0xa1abb5)return!0x1;const {token:_0x40f829,dataRangeInfo:_0x3009ae,unitId:_0x23d392,subUnitId:_0x34a6d9}=_0xa1abb5,_0x215ad4=[],_0x49e09d=[],_0x4b1d39=(await _0x32eca5[_0x4a268f(0x2eb)]({'unitId':_0x23d392,'subUnitId':_0x34a6d9,'pivotTableId':_0x40f829,'params':{'type':_0x5e3388[_0x4a268f(0x27e)],'updatePivotSource':{'dataRangeInfo':_0x3009ae,'unitId':_0x23d392,'subUnitId':_0x34a6d9}}}))[_0x4a268f(0x312)]['updatePivotSource'];if(!_0x4b1d39)return!0x1;const {changesets:_0x1d3f28,deleteIds:_0x3ee1c8,collectionConfig:_0x3ddf62,oldCollectionConfig:_0x4ff031,view:_0xb0b790,isEmpty:_0x30dae6,pivotTableConfig:_0x311dd5}=_0x4b1d39;_0x49e09d[_0x4a268f(0x364)]({'id':_0x1bc7f9['id'],'params':{'pivotTableId':_0x40f829,'deleteIds':_0x3ee1c8,'collectionJSON':_0x3ddf62,'dataRangeInfo':_0x3009ae,'unitId':_0x23d392,'subUnitId':_0x34a6d9}}),_0x215ad4[_0x4a268f(0x2dd)]({'id':_0x1bc7f9['id'],'params':{'pivotTableId':_0x40f829,'deleteIds':[],'collectionJSON':_0x4ff031,'dataRangeInfo':_0x311dd5[_0x4a268f(0x156)],'unitId':_0x23d392,'subUnitId':_0x34a6d9}});const _0x4210a1=_0x311dd5[_0x4a268f(0x242)],_0xa161c4=new _0x2bd302[(_0x4a268f(0x15a))]();_0xa161c4[_0x4a268f(0x188)](_0xb0b790);const _0x4a5e72={'cellInfo':_0x4210a1,'view':_0xa161c4,'isEmpty':_0x30dae6};if(!await _0x3b4a43['get'](_0x5bf755[_0x4a268f(0x19e)])[_0x4a268f(0x2cc)][_0x4a268f(0x1f9)](_0x5ce99e)(!0x0,_0x4a5e72))return!0x1;const _0x2884fd=_0x3034a0(_0x3b4a43,_0xa161c4,_0x4210a1,_0x30dae6),_0xa14f4c=_0x1b91fb(_0x3b4a43,_0x4a5e72),{undos:_0x124e02,redos:_0x50a426}=_0x54d6ee(_0x5bce21,{'pivotTableId':_0x40f829,'unitId':_0x23d392,'subUnitId':_0x34a6d9},_0x1d3f28);return _0x288eb9[_0x4a268f(0x363)]([..._0x2884fd[_0x4a268f(0x196)],..._0xa14f4c[_0x4a268f(0x196)],..._0x49e09d,..._0x124e02],_0x5bce21),_0x1ad008[_0x4a268f(0x1b3)]({'unitID':_0x23d392,'redoMutations':[..._0x2884fd[_0x4a268f(0x196)],..._0xa14f4c[_0x4a268f(0x196)],..._0x49e09d,..._0x124e02],'undoMutations':[..._0x2884fd['undos'],..._0xa14f4c[_0x4a268f(0x248)],..._0x215ad4,..._0x50a426]}),!0x0;}},_0x51c029={'type':_0x288eb9[_0x42bb9f(0x2fa)][_0x42bb9f(0xd0)],'id':_0x42bb9f(0x317),async 'handler'(_0x20835e,_0x482d06){const _0x17b34d=_0x42bb9f;if(!_0x482d06)return!0x1;const _0x196364=_0x20835e[_0x17b34d(0x239)](_0x288eb9['ICommandService']),_0x563194=_0x20835e['get'](_0x5bf755[_0x17b34d(0x330)]),_0x2e06cb=_0x20835e[_0x17b34d(0x239)](_0x288eb9['IUniverInstanceService']),_0x4bd8b1=_0x20835e['get'](_0x288eb9[_0x17b34d(0x17b)]),{pivotTableId:_0x3e109f,position:_0x5a38da,index:_0x20039f}=_0x482d06,_0x483c37=_0x2e27a8['getSheetCommandTarget'](_0x2e06cb);if(!_0x483c37)return!0x1;const {unitId:_0x43f4ef,subUnitId:_0x211e0d}=_0x483c37,_0xb782a4=(await _0x563194[_0x17b34d(0x2eb)]({'unitId':_0x43f4ef,'subUnitId':_0x211e0d,'pivotTableId':_0x3e109f,'params':{'type':_0x5e3388[_0x17b34d(0x1e0)],'updateValuePosition':{'position':_0x5a38da,'index':_0x20039f}}}))['result'][_0x17b34d(0x162)];if(!_0xb782a4)return!0x1;const {changesets:_0x2d4047,view:_0x97b07,isEmpty:_0x18c23e,pivotTableConfig:_0x2ee493}=_0xb782a4,_0x232238=_0x2ee493[_0x17b34d(0x242)],_0x4fd9b0=new _0x2bd302['PivotView']();_0x4fd9b0[_0x17b34d(0x188)](_0x97b07);const _0xacc458=_0x20835e[_0x17b34d(0x239)](_0x5bf755['SheetsPivotTableService']),_0x26886e={'cellInfo':_0x232238,'view':_0x4fd9b0,'isEmpty':_0x18c23e};if(!await _0xacc458['asyncInterceptor'][_0x17b34d(0x1f9)](_0x5ce99e)(!0x0,_0x26886e))return!0x1;const _0x52baeb=_0x3034a0(_0x20835e,_0x4fd9b0,_0x232238,_0x18c23e),_0x3980dd=_0x1b91fb(_0x20835e,_0x26886e),{undos:_0x215c02,redos:_0x10a571}=_0x54d6ee(_0x196364,{'pivotTableId':_0x3e109f,'unitId':_0x43f4ef,'subUnitId':_0x211e0d},_0x2d4047);return _0x288eb9[_0x17b34d(0x363)]([..._0x52baeb[_0x17b34d(0x196)],..._0x3980dd[_0x17b34d(0x196)],..._0x10a571],_0x196364),_0x4bd8b1['pushUndoRedo']({'unitID':_0x43f4ef,'redoMutations':[..._0x52baeb[_0x17b34d(0x196)],..._0x3980dd[_0x17b34d(0x196)],..._0x10a571],'undoMutations':[..._0x52baeb[_0x17b34d(0x248)],..._0x3980dd[_0x17b34d(0x248)],..._0x215c02]}),!0x0;}},_0x49e4cb={'type':_0x288eb9['CommandType']['MUTATION'],'id':_0x42bb9f(0x385),'handler'(){return!0x0;}};var _0x196545=Object['getOwnPropertyDescriptor'],_0x214c8f=(_0x2f58e9,_0x24bc9f,_0x1c13a2,_0x5bc2b9)=>{const _0x1cab6b=_0x42bb9f;for(var _0x57ac92=_0x5bc2b9>0x1?void 0x0:_0x5bc2b9?_0x196545(_0x24bc9f,_0x1c13a2):_0x24bc9f,_0xb32ab9=_0x2f58e9[_0x1cab6b(0x8f)]-0x1,_0x37ae3a;_0xb32ab9>=0x0;_0xb32ab9--)(_0x37ae3a=_0x2f58e9[_0xb32ab9])&&(_0x57ac92=_0x37ae3a(_0x57ac92)||_0x57ac92);return _0x57ac92;},_0x1112db=(_0x1db3ab,_0x558817)=>(_0x32d17d,_0x5a04ab)=>_0x558817(_0x32d17d,_0x5a04ab,_0x1db3ab);const _0x2a404a=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0xf8cdf2=(_0x4518e5,_0x19c6bf,_0x339b8b)=>{const _0x52a603=_0x42bb9f,_0xd3f7ab=_0x4518e5[_0x52a603(0x34f)];_0x4518e5[_0x52a603(0xdf)](_0x3fbc27=>{const _0x428402=_0x52a603,_0x1d67bd=_0x3fbc27['getId'](),_0x3fcb46=_0x3fbc27[_0x428402(0x35f)](),_0x3dadcc=_0x3fbc27['getSourceName'](),_0xb84e85=_0x3fbc27['getDisplayName']();_0x19c6bf[_0x3fcb46]&&_0x19c6bf[_0x3fcb46]===_0xb84e85&&_0x3dadcc===_0xb84e85&&(_0x4518e5[_0x428402(0x33c)](_0x1d67bd,_0xd3f7ab[_0x428402(0x229)](_0x3fcb46)),_0x3fbc27[_0x428402(0x387)](_0xd3f7ab['getDisplayName'](_0x3fcb46)));}),_0x4518e5[_0x52a603(0x37e)](_0x2bd302[_0x52a603(0x25f)][_0x52a603(0x34e)],_0x5451a7=>{const _0x46a251=_0x52a603,_0x1b2c5b=_0x5451a7[_0x46a251(0x37c)](),_0x2e8b4a=_0x5451a7['getDataFieldId'](),_0x4387c1=_0x5451a7[_0x46a251(0x217)](),_0x33b957=_0x5451a7['getDisplayName'](),_0x44fb88=_0x5451a7['getSubtotal'](),_0x3e43cd=_0x339b8b(_0x4387c1,_0x44fb88);_0x19c6bf[_0x2e8b4a]&&_0x19c6bf[_0x2e8b4a]===_0x4387c1&&_0x3e43cd===_0x33b957&&(_0x4518e5[_0x46a251(0x33c)](_0x1b2c5b,_0x339b8b(_0xd3f7ab['getDisplayName'](_0x2e8b4a),_0x44fb88)),_0x5451a7[_0x46a251(0x387)](_0xd3f7ab[_0x46a251(0x229)](_0x2e8b4a)));});},_0x22a4d9=(_0xf1fa53,_0x25548e,_0x5405e9)=>{const _0x14db6f=_0x42bb9f;var _0x20658d,_0x16784c;const {arrayFormulaCellData:_0x16587d,unitData:_0x15b4f7}=_0x25548e,{unitId:_0x4eae79,subUnitId:_0x1f0059}=_0x5405e9,_0x71152e=_0x5405e9['range'],{startColumn:_0x11ed3d,endColumn:_0x4afba3}=_0x71152e,_0x426fdd=(_0x20658d=_0x16587d==null?void 0x0:_0x16587d[_0x4eae79])==null?void 0x0:_0x20658d[_0x1f0059],_0x43536e=(_0x16784c=_0x15b4f7==null?void 0x0:_0x15b4f7[_0x4eae79])==null?void 0x0:_0x16784c[_0x1f0059],_0x5644e0=new Set(),_0x1f2241=_0x4afba3-_0x11ed3d+0x1,{dirtyRanges:_0x50a994}=_0xf1fa53;if(_0x50a994)for(const {range:_0x33cb24,sheetId:_0x2ced18,unitId:_0x593425}of _0x50a994){if(_0x2ced18!==_0x1f0059||_0x4eae79!==_0x593425)continue;const _0x59f16e=_0x288eb9['Rectangle'][_0x14db6f(0x2ce)](_0x33cb24,_0x71152e);if(_0x59f16e){const {startColumn:_0x32a303,endColumn:_0xaeb5de}=_0x59f16e;for(let _0x4e1edf=_0x32a303;_0x4e1edf<=_0xaeb5de;_0x4e1edf++)_0x5644e0[_0x14db6f(0x246)](_0x4e1edf);}}if(_0x5644e0[_0x14db6f(0x1f6)]===_0x1f2241||_0x5644e0[_0x14db6f(0x1f6)]===_0x1f2241)return Array[_0x14db6f(0x193)](_0x5644e0);if(_0x43536e){const _0x173bc5=_0x43536e[_0x14db6f(0x12c)](),_0x53c69f=Object[_0x14db6f(0x237)](_0x173bc5);for(const _0x58b564 of _0x53c69f){const _0x6d14de=Number(_0x58b564),_0x6903de=_0x173bc5[_0x6d14de];if(_0x5644e0[_0x14db6f(0x1f6)]===_0x1f2241)break;for(const _0x578850 in _0x6903de){const _0x33b0f7=Number(_0x578850);_0x33b0f7<_0x11ed3d||_0x33b0f7>_0x4afba3||_0x5644e0[_0x14db6f(0x246)](_0x33b0f7);}}}if(_0x426fdd){const _0x2078ed=_0x426fdd['getMatrix'](),_0x5c0506=Object['keys'](_0x2078ed);for(const _0x3c43d2 of _0x5c0506){const _0x5e1206=Number(_0x3c43d2),_0x5b88d0=_0x2078ed[_0x5e1206];if(_0x5644e0[_0x14db6f(0x1f6)]===_0x1f2241)break;for(const _0x463e28 in _0x5b88d0){const _0xe2f05=Number(_0x463e28);_0xe2f05<_0x11ed3d||_0xe2f05>_0x4afba3||_0x5644e0[_0x14db6f(0x246)](_0xe2f05);}}}return Array[_0x14db6f(0x193)](_0x5644e0);},_0xeff524=_0x21f2b6=>{const _0x11bf92=_0x42bb9f,_0x2e1e9b=new Set(),_0xb97849=[];for(const _0x1880e2 of _0x21f2b6){const _0x4f51dd=_0x1880e2['startRow']+','+_0x1880e2['endRow']+','+_0x1880e2[_0x11bf92(0x1c9)]+','+_0x1880e2['endColumn'];_0x2e1e9b[_0x11bf92(0xde)](_0x4f51dd)||(_0x2e1e9b[_0x11bf92(0x246)](_0x4f51dd),_0xb97849[_0x11bf92(0x364)](_0x1880e2));}return _0xb97849;};let _0x161fb7=class extends _0x288eb9[_0x42bb9f(0x3a9)]{constructor(_0x203794,_0x50d6e0,_0x475c16,_0x540863,_0x130cbd){const _0x40c840=_0x42bb9f;super(),_0x4fb07d(this,_0x40c840(0x16a),new _0x4e0a85[(_0x40c840(0x269))](!0x0)),_0x4fb07d(this,_0x40c840(0x1a1),_0x3514ec=>{const _0x4f5022=_0x40c840;this[_0x4f5022(0x16a)][_0x4f5022(0x287)](!0x1);}),_0x4fb07d(this,_0x40c840(0x33e),_0x598617=>{const _0x11c7ce=_0x40c840;this[_0x11c7ce(0x16a)][_0x11c7ce(0x287)](!0x0);}),(this[_0x40c840(0x228)]=_0x203794,this[_0x40c840(0x112)]=_0x50d6e0,this[_0x40c840(0x370)]=_0x475c16,this[_0x40c840(0x1c3)]=_0x540863,this['_injector']=_0x130cbd,this[_0x40c840(0x1eb)](),this[_0x40c840(0x215)]());}[_0x42bb9f(0x1eb)](){const _0x5abdd5=_0x42bb9f;this[_0x5abdd5(0x20e)](),this['_subjectViewChange'](),this[_0x5abdd5(0xcd)](),this[_0x5abdd5(0x2c2)]();}[_0x42bb9f(0x24e)](){const _0x4f7c7e=_0x42bb9f;this[_0x4f7c7e(0x1c3)]['pushComputingStatusSubject'](this[_0x4f7c7e(0x16a)]),_0x2bd302[_0x4f7c7e(0x14e)][_0x4f7c7e(0x270)](_0x2bd302[_0x4f7c7e(0x93)][_0x4f7c7e(0x259)],this[_0x4f7c7e(0x1a1)]),_0x2bd302[_0x4f7c7e(0x14e)][_0x4f7c7e(0x270)](_0x2bd302[_0x4f7c7e(0x93)][_0x4f7c7e(0xa9)],this['_globalComputedEndHelpFunc']);}[_0x42bb9f(0x215)](){const _0x30997f=_0x42bb9f;this['disposeWithMe'](this[_0x30997f(0x370)]['onCommandExecuted'](_0x1ab4d1=>{const _0x4addcc=_0x30997f;_0x1ab4d1['id']===_0x2e27a8[_0x4addcc(0x17d)]['id']&&this[_0x4addcc(0x228)][_0x4addcc(0xf5)](_0x1ab4d1[_0x4addcc(0x2e6)]);})),this[_0x30997f(0x148)](this[_0x30997f(0x370)][_0x30997f(0x222)](_0xd6a961=>{const _0x4f5f13=_0x30997f;if(_0xd6a961['id']!==_0x459da1['id'])return;const _0x2beed6=_0xd6a961[_0x4f5f13(0x2e6)],{unitId:_0x59375e,subUnitId:_0x32f178,pivotTableId:_0x55386d}=_0x2beed6,_0x1f6c5d=_0x2beed6[_0x4f5f13(0x2e6)][_0x4f5f13(0x29a)],_0x26d147={};switch(_0x1f6c5d){case _0x5e3388['Filter']:{const _0x5a1d1d=_0x2beed6[_0x4f5f13(0x2e6)][_0x4f5f13(0xdc)];if(!_0x5a1d1d)return;const {row:_0x1ba68b,col:_0x5bb087,cellData:_0x3c7114,pivotItemRenderInfoCache:_0x1f1abb,tableFieldId:_0x10ea65}=_0x5a1d1d,_0x13cfec=this['_sheetsPivotDataSourceModel'][_0x4f5f13(0x25c)](_0x2beed6[_0x4f5f13(0x111)]);if(!_0x13cfec||!_0x1f1abb)return;if(_0x10ea65){const _0x269203=_0x13cfec['getDataFieldByTableId'](_0x10ea65);if(!_0x269203)return;_0x26d147['filter']={..._0x13cfec[_0x4f5f13(0x1c6)](_0x269203),'tableFieldId':_0x10ea65,'pivotTableId':_0x2beed6[_0x4f5f13(0x111)],'filterInfo':_0x13cfec[_0x4f5f13(0x354)](_0x10ea65),'sortInfo':_0x13cfec[_0x4f5f13(0x14d)](_0x10ea65),'format':_0x13cfec[_0x4f5f13(0xcb)](_0x10ea65)};}else{const _0x561e0d=_0x2bc413(_0x1ba68b,_0x5bb087,_0x3c7114,_0x13cfec,_0x1f1abb),_0x1f62b3=_0x561e0d==null?void 0x0:_0x561e0d[_0x4f5f13(0x21f)];if(!_0x1f62b3)return;const _0x5cc344=_0x13cfec[_0x4f5f13(0x37d)](_0x1f62b3);if(!_0x5cc344)return;_0x26d147[_0x4f5f13(0xdc)]={..._0x13cfec[_0x4f5f13(0x1c6)](_0x5cc344),'tableFieldId':_0x1f62b3,'pivotTableId':_0x2beed6[_0x4f5f13(0x111)],'filterInfo':_0x13cfec[_0x4f5f13(0x354)](_0x1f62b3),'sortInfo':_0x13cfec[_0x4f5f13(0x14d)](_0x1f62b3),'format':_0x13cfec[_0x4f5f13(0xcb)](_0x1f62b3)};}}break;case _0x5e3388[_0x4f5f13(0x2ad)]:{const _0x1975e7=_0x2beed6[_0x4f5f13(0x2e6)]['panel'];if(!_0x1975e7)return;const {pivotTableId:_0x3f897d}=_0x1975e7,_0x3f9356=this[_0x4f5f13(0x228)][_0x4f5f13(0x25c)](_0x3f897d);if(!_0x3f9356)return;const _0x533c6a=this[_0x4f5f13(0x228)][_0x4f5f13(0x9b)](_0x59375e,_0x32f178,_0x3f897d),_0x129889=_0x5da254(_0x3f9356,_0x3f897d,_0x533c6a);_0x26d147[_0x4f5f13(0x378)]=_0x129889;}break;case _0x5e3388['AddPivotField']:{const _0x10038e=this[_0x4f5f13(0x228)][_0x4f5f13(0x25c)](_0x55386d),_0x2d6443=this[_0x4f5f13(0x228)][_0x4f5f13(0x138)](_0x59375e),_0x182149=_0x2d6443['getCollection'](_0x55386d);let _0x525871=null;const _0x369cec=this[_0x4f5f13(0x228)][_0x4f5f13(0x9b)](_0x59375e,_0x32f178,_0x55386d),_0x1508c2=_0x2beed6['params'][_0x4f5f13(0x10d)];if(!_0x10038e||!_0x369cec||!_0x1508c2)return!0x1;const {dataFieldId:_0x39b4b6,fieldArea:_0xdff930,index:_0x339902}=_0x1508c2;_0x10038e[_0x4f5f13(0x208)]();const _0xcc63c=_0x10038e[_0x4f5f13(0x274)](_0x39b4b6,_0xdff930,_0x339902);if(_0xcc63c&&_0xdff930===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x34e)]){const _0x212015=_0xcc63c[_0x4f5f13(0x37c)](),_0x5c6e15=_0x10038e[_0x4f5f13(0x37d)](_0x212015);if(_0x5c6e15){const _0x454cb2=_0x5c6e15==null?void 0x0:_0x5c6e15[_0x4f5f13(0x103)]();_0x10038e['setSubtotalType'](_0xcc63c[_0x4f5f13(0x37c)](),_0x454cb2===_0x2bd302[_0x4f5f13(0x134)][_0x4f5f13(0x26e)]?_0x2bd302['PivotSubtotalTypeEnum'][_0x4f5f13(0x1e8)]:_0x2bd302[_0x4f5f13(0x35c)][_0x4f5f13(0x18d)]);}const _0x1669bd=_0x10038e[_0x4f5f13(0xc0)](),_0x474461=_0x10038e['getValuePosition'](),_0x4afe61=_0x10038e['getFieldCountByArea'](_0x2bd302['PivotTableFiledAreaEnum'][_0x4f5f13(0x34e)]);if(_0x1669bd===-0x1&&_0x4afe61>0x1){const _0x45b722=_0x474461===_0x2bd302[_0x4f5f13(0x2be)][_0x4f5f13(0x2b1)]?_0x2bd302[_0x4f5f13(0x2be)]['Column']:_0x474461,_0xf5e49b=_0x45b722===_0x2bd302[_0x4f5f13(0x2be)][_0x4f5f13(0x1d7)]?_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x1d7)]:_0x2bd302['PivotTableFiledAreaEnum'][_0x4f5f13(0x2b9)];_0x10038e['updateValuePosition'](_0x45b722,_0x10038e[_0x4f5f13(0x341)](_0xf5e49b));}}else{if(_0xcc63c&&(_0xdff930===_0x2bd302['PivotTableFiledAreaEnum'][_0x4f5f13(0x1d7)]||_0xdff930===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x2b9)])){const _0x36a57e=_0xcc63c[_0x4f5f13(0x37c)](),_0x4fd338=_0x10038e[_0x4f5f13(0x37d)](_0x36a57e);if(_0x4fd338&&(_0x4fd338==null?void 0x0:_0x4fd338[_0x4f5f13(0x103)]())===_0x2bd302[_0x4f5f13(0x134)][_0x4f5f13(0x324)]){const _0x2b2f46=_0x4fd338[_0x4f5f13(0x257)]();if(_0x2b2f46&&_0x10038e[_0x4f5f13(0x1a3)](_0xcc63c[_0x4f5f13(0x37c)](),_0x2b2f46),!_0x182149[_0x4f5f13(0x15d)]()[_0x4f5f13(0x281)](_0x18eeab=>{const _0x5c44e2=_0x4f5f13,_0x4d3c9b=_0x182149[_0x5c44e2(0xfb)](_0x18eeab);return _0x2bd302[_0x5c44e2(0x376)](_0x4d3c9b)?_0x4d3c9b[_0x5c44e2(0x192)]()[_0x5c44e2(0x95)]===_0x39b4b6:!0x1;})){const _0x16e6da=_0x2d6443[_0x4f5f13(0x1de)](),_0x5c1b75=_0xfb878c(_0x4fd338[_0x4f5f13(0x22d)],_0x4fd338[_0x4f5f13(0x141)]),_0x2d3f75=_0x4fd338['getName']()+'\x20-\x20'+_0xf6c030(this['_injector'],_0x5c1b75),_0x3939ca=new _0x2bd302[(_0x4f5f13(0x398))](_0x16e6da,_0x2d3f75,_0x2bd302[_0x4f5f13(0x383)](0x3),_0x4fd338[_0x4f5f13(0x37c)](),_0x5c1b75);_0x2d6443[_0x4f5f13(0x12a)](_0x3939ca),_0x182149['addField'](_0x16e6da,_0x2d3f75),_0x10038e[_0x4f5f13(0x274)](_0x16e6da,_0xdff930,(_0x339902!=null?_0x339902:0x0)+0x1),_0x525871=_0x3939ca;}}}}const _0x5a18cc=_0x10038e[_0x4f5f13(0x279)](),_0x33fd10=_0x10038e['query']()[_0x4f5f13(0x90)]();let _0x24b8c1;if(_0x525871){_0x24b8c1=_0x525871[_0x4f5f13(0x90)]();const _0xd47c37=_0x525871[_0x4f5f13(0x37c)]();_0x182149[_0x4f5f13(0x309)](_0xd47c37);let _0x44667c=!0x0;for(const _0x1af38f in _0x2d6443['collections'])if(_0x2d6443[_0x4f5f13(0x211)][_0x1af38f][_0x4f5f13(0x15d)]()['includes'](_0xd47c37)){_0x44667c=!0x1;break;}_0x44667c&&_0x2d6443[_0x4f5f13(0x2a8)](_0xd47c37);}const _0x23c966=_0x10038e[_0x4f5f13(0x180)]();_0x26d147[_0x4f5f13(0x10d)]={'view':_0x33fd10,'changesets':_0x23c966,'isEmpty':_0x5a18cc,'pivotTableConfig':_0x369cec,'shouldBeAddedGroupJSON':_0x24b8c1};}break;case _0x5e3388[_0x4f5f13(0x2ba)]:{const _0x5cae88=_0x2beed6[_0x4f5f13(0x2e6)]['addPivotTable'];if(!_0x5cae88)return;const _0x4a0881=_0x5cae88[_0x4f5f13(0x156)],_0x495f68=_0x5cae88[_0x4f5f13(0x111)],{collection:_0x4b7b42}=this[_0x4f5f13(0x228)][_0x4f5f13(0x35b)]({'unitId':_0x4a0881[_0x4f5f13(0x360)],'sheetName':_0x4a0881[_0x4f5f13(0x96)],'subUnitId':_0x4a0881[_0x4f5f13(0x179)],'range':_0x4a0881[_0x4f5f13(0x272)]}),_0x4f4886=new _0x2bd302[(_0x4f5f13(0x14e))](_0x4b7b42,void 0x0,_0x495f68),_0x2035d1=_0x4f4886[_0x4f5f13(0x26f)](),_0x3dffdd=_0x4f4886[_0x4f5f13(0x90)](),_0x43bce7=_0x4b7b42[_0x4f5f13(0x90)]();_0x26d147[_0x4f5f13(0xdb)]={'view':_0x2035d1,'fieldsConfig':_0x3dffdd,'collectionConfig':_0x43bce7,'isEmpty':_0x4f4886['isEmpty']()};}break;case _0x5e3388['MovePivotField']:{const _0x5528b6=_0x2beed6[_0x4f5f13(0x2e6)][_0x4f5f13(0xb0)];if(!_0x5528b6)return;const {fieldId:_0x563218,area:_0x1daf86,index:_0x108e3a}=_0x5528b6,_0x4e1dac=this[_0x4f5f13(0x228)][_0x4f5f13(0x9b)](_0x59375e,_0x32f178,_0x55386d);if(!_0x4e1dac)return;const _0x14e070=this[_0x4f5f13(0x228)][_0x4f5f13(0x25c)](_0x55386d);if(!_0x14e070)return;_0x14e070[_0x4f5f13(0x208)]();const {area:_0xd41ea8,index:_0x1f0980}=_0x14e070[_0x4f5f13(0x265)](_0x563218);if(_0x14e070[_0x4f5f13(0x375)](_0x563218,_0x1daf86,_0x108e3a),_0x1daf86===_0x2bd302[_0x4f5f13(0x25f)]['Value']&&_0x14e070[_0x4f5f13(0x2aa)](_0x563218)[_0x4f5f13(0x389)]()===void 0x0){const _0x17d4ed=_0x14e070[_0x4f5f13(0x2aa)](_0x563218);if(_0x17d4ed&&_0x17d4ed['getSubtotal']()===void 0x0){const _0x49b064=_0x14e070[_0x4f5f13(0x37d)](_0x563218);if(_0x49b064){const _0x16fe1a=_0x49b064==null?void 0x0:_0x49b064[_0x4f5f13(0x103)]();_0x14e070[_0x4f5f13(0xf6)](_0x563218,_0x16fe1a===_0x2bd302[_0x4f5f13(0x134)][_0x4f5f13(0x26e)]?_0x2bd302['PivotSubtotalTypeEnum'][_0x4f5f13(0x1e8)]:_0x2bd302[_0x4f5f13(0x35c)]['count']);}}}const _0x4a2837=_0x14e070['getValuePosition'](),_0x5e1741=_0x14e070[_0x4f5f13(0xc0)](),_0x31e33e=_0x14e070[_0x4f5f13(0x341)](_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x34e)])>0x1;if(_0x31e33e&&_0xd41ea8===_0x1daf86&&(_0x1daf86===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x1d7)]&&_0x4a2837===_0x2bd302[_0x4f5f13(0x2be)]['Row']||_0x1daf86===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x2b9)]&&_0x4a2837===_0x2bd302[_0x4f5f13(0x2be)]['Column'])){let _0x47b93e=_0x5e1741;_0x1f0980<=_0x5e1741&&_0x47b93e--,_0x108e3a<=_0x5e1741&&_0x47b93e++,_0x14e070['updateValuePosition'](_0x4a2837,_0x47b93e);}else _0x31e33e&&(_0xd41ea8===_0x2bd302[_0x4f5f13(0x25f)]['Row']&&_0x4a2837===_0x2bd302[_0x4f5f13(0x2be)][_0x4f5f13(0x1d7)]||_0xd41ea8===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x2b9)]&&_0x4a2837===_0x2bd302[_0x4f5f13(0x2be)][_0x4f5f13(0x2b9)])&&_0x5e1741>=_0x1f0980&&_0x14e070[_0x4f5f13(0x162)](_0x4a2837,_0x5e1741-0x1),_0x31e33e&&(_0x1daf86===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x1d7)]&&_0x4a2837===_0x2bd302[_0x4f5f13(0x2be)][_0x4f5f13(0x1d7)]||_0x1daf86===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x2b9)]&&_0x4a2837===_0x2bd302[_0x4f5f13(0x2be)]['Column'])&&_0x5e1741>=_0x108e3a&&_0x14e070[_0x4f5f13(0x162)](_0x4a2837,_0x5e1741+0x1);const _0x43f210=_0x14e070[_0x4f5f13(0x26f)](),_0x569478=_0x14e070['isEmpty'](),_0x3bae74=_0x14e070['endCollectChangeset']();_0x26d147[_0x4f5f13(0xb0)]={'view':_0x43f210[_0x4f5f13(0x90)](),'changesets':_0x3bae74,'isEmpty':_0x569478,'pivotTableConfig':_0x4e1dac};}break;case _0x5e3388[_0x4f5f13(0x151)]:{const _0x415ae2=_0x2beed6['params'][_0x4f5f13(0xb1)];if(!_0x415ae2)return;const _0x399ee1=_0x415ae2[_0x4f5f13(0x2e0)],_0x4ede5f=this[_0x4f5f13(0x228)]['getPivotTableConfig'](_0x59375e,_0x32f178,_0x55386d);if(!_0x4ede5f)return!0x1;const _0x5568f2=this[_0x4f5f13(0x228)][_0x4f5f13(0x25c)](_0x55386d);if(!_0x5568f2)return!0x1;_0x5568f2[_0x4f5f13(0x208)]();for(const _0x2a2fb6 of _0x399ee1){const {area:_0x5e37c6}=_0x5568f2[_0x4f5f13(0x265)](_0x2a2fb6);_0x5e37c6===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x34e)]&&_0x5568f2[_0x4f5f13(0x1b4)](_0x2a2fb6),(_0x5e37c6===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x1d7)]||_0x5e37c6===_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x2b9)])&&_0x5568f2['removeValueFilterInfo'](_0x2a2fb6),_0x5568f2['removeField'](_0x2a2fb6);}const _0x4cc137=_0x5568f2[_0x4f5f13(0x279)](),_0x5f58e0=_0x5568f2[_0x4f5f13(0x26f)]()[_0x4f5f13(0x90)](),_0x1589ad=_0x5568f2[_0x4f5f13(0x180)]();_0x26d147['removePivotField']={'changesets':_0x1589ad,'pivotTableConfig':_0x4ede5f,'isEmpty':_0x4cc137,'view':_0x5f58e0};}break;case _0x5e3388['SetPivotFilter']:{const _0x14d0cc=_0x2beed6['params'][_0x4f5f13(0xa5)];if(!_0x14d0cc)return;const {tableFieldId:_0x46767b,items:_0x298426,isAll:_0xc12f03}=_0x14d0cc,_0x5d8664=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x55386d),_0x25d60b=this['_sheetsPivotDataSourceModel'][_0x4f5f13(0x9b)](_0x59375e,_0x32f178,_0x55386d);if(!_0x5d8664||!_0x25d60b)return;_0x5d8664[_0x4f5f13(0x208)](),_0x5d8664[_0x4f5f13(0x286)](_0x46767b,{'type':_0x2bd302['PivotFilterTypeEnum'][_0x4f5f13(0xae)],'list':_0x298426,'isAll':_0xc12f03});const _0x2ae927=_0x5d8664[_0x4f5f13(0x279)](),_0x2e57dd=_0x5d8664[_0x4f5f13(0x26f)]()[_0x4f5f13(0x90)](),_0x2e4574=_0x5d8664['endCollectChangeset']();_0x26d147[_0x4f5f13(0xa5)]={'view':_0x2e57dd,'changesets':_0x2e4574,'isEmpty':_0x2ae927,'pivotTableConfig':_0x25d60b};}break;case _0x5e3388[_0x4f5f13(0x323)]:{const _0x1772f1=_0x2beed6[_0x4f5f13(0x2e6)][_0x4f5f13(0x1fd)];if(!_0x1772f1)return;const {tableFieldId:_0x5a7f4b,filterInfo:_0x541312}=_0x1772f1,_0xe6d6c2=this[_0x4f5f13(0x228)][_0x4f5f13(0x25c)](_0x55386d),_0x20f8e8=this[_0x4f5f13(0x228)][_0x4f5f13(0x9b)](_0x59375e,_0x32f178,_0x55386d);if(!_0xe6d6c2||!_0x20f8e8)return;_0xe6d6c2[_0x4f5f13(0x208)](),_0xe6d6c2['setValueFilterInfo'](_0x5a7f4b,_0x541312);const _0x1d93c0=_0xe6d6c2[_0x4f5f13(0x279)](),_0x5ab70c=_0xe6d6c2[_0x4f5f13(0x26f)]()['toJSON'](),_0x3bda12=_0xe6d6c2[_0x4f5f13(0x180)]();_0x26d147[_0x4f5f13(0x1fd)]={'view':_0x5ab70c,'changesets':_0x3bda12,'isEmpty':_0x1d93c0,'pivotTableConfig':_0x20f8e8};}break;case _0x5e3388[_0x4f5f13(0x338)]:{const _0x1e0ebd=_0x2beed6[_0x4f5f13(0x2e6)]['setPivotSort'];if(!_0x1e0ebd)return;const {tableFieldId:_0x254e56,info:_0x36cef0}=_0x1e0ebd,_0xf4af44=this[_0x4f5f13(0x228)][_0x4f5f13(0x25c)](_0x55386d),_0x340877=this[_0x4f5f13(0x228)][_0x4f5f13(0x9b)](_0x59375e,_0x32f178,_0x55386d);if(!_0xf4af44||!_0x340877)return;_0xf4af44['startCollectChangeset'](),_0xf4af44[_0x4f5f13(0x23e)](_0x254e56,_0x36cef0);const _0x130d0a=_0xf4af44[_0x4f5f13(0x279)](),_0x244f6c=_0xf4af44[_0x4f5f13(0x26f)]()[_0x4f5f13(0x90)](),_0x995ff4=_0xf4af44[_0x4f5f13(0x180)]();_0x26d147[_0x4f5f13(0xd2)]={'view':_0x244f6c,'changesets':_0x995ff4,'isEmpty':_0x130d0a,'pivotTableConfig':_0x340877};}break;case _0x5e3388[_0x4f5f13(0x159)]:{const _0x1d9a40=_0x2beed6[_0x4f5f13(0x2e6)][_0x4f5f13(0x18b)];if(!_0x1d9a40)return;const {tableFieldId:_0x5a3e9e,displayName:_0x1e5e1c,subtotalType:_0x132c89,format:_0x43af7f}=_0x1d9a40,_0x59cf61=this['_sheetsPivotDataSourceModel'][_0x4f5f13(0x25c)](_0x55386d),_0x385fdd=this[_0x4f5f13(0x228)][_0x4f5f13(0x9b)](_0x59375e,_0x32f178,_0x55386d);if(!_0x59cf61||!_0x385fdd)return;_0x59cf61['startCollectChangeset'](),_0x1e5e1c!==void 0x0&&_0x59cf61[_0x4f5f13(0x33c)](_0x5a3e9e,_0x1e5e1c),_0x132c89!==void 0x0&&_0x59cf61[_0x4f5f13(0xf6)](_0x5a3e9e,_0x132c89),_0x43af7f!==void 0x0&&_0x59cf61[_0x4f5f13(0x1a3)](_0x5a3e9e,_0x43af7f);const _0x2517d8=_0x59cf61[_0x4f5f13(0x279)](),_0x5c51f8=_0x59cf61[_0x4f5f13(0x26f)]()[_0x4f5f13(0x90)](),_0x57efb5=_0x59cf61['endCollectChangeset']();_0x26d147[_0x4f5f13(0x18b)]={'changesets':_0x57efb5,'pivotTableConfig':_0x385fdd,'isEmpty':_0x2517d8,'view':_0x5c51f8};}break;case _0x5e3388['UpdatePivotSource']:{const _0x273369=_0x2beed6[_0x4f5f13(0x2e6)]['updatePivotSource'];if(!_0x273369)return;const {dataRangeInfo:_0xf7321d,unitId:_0x136e99,subUnitId:_0x47b709}=_0x273369,_0x4561e6=this[_0x4f5f13(0x228)][_0x4f5f13(0x9b)](_0x136e99,_0x47b709,_0x55386d),_0xb156d4=this[_0x4f5f13(0x228)][_0x4f5f13(0x25c)](_0x55386d);if(!this[_0x4f5f13(0x228)][_0x4f5f13(0x2c8)](_0x136e99,_0x55386d)||!_0xb156d4||!_0x4561e6)return;const _0x7ddd55=this['_sheetsPivotDataSourceModel'][_0x4f5f13(0x22b)](_0x136e99,_0x55386d,_0xf7321d),_0x4e9cc3=this[_0x4f5f13(0x228)]['getCollection'](_0x136e99,_0x55386d)['toJSON'](),{collection:_0x57b701}=this[_0x4f5f13(0x228)]['createCollectionWithDataRange']({'unitId':_0xf7321d['unitId'],'sheetName':_0xf7321d['sheetName'],'subUnitId':_0xf7321d['subUnitId'],'range':_0xf7321d[_0x4f5f13(0x272)]}),_0x5c6490=_0x57b701[_0x4f5f13(0x90)]();_0xb156d4[_0x4f5f13(0x208)]();const _0x5d9cfb=this['_sheetsPivotDataSourceModel'][_0x4f5f13(0x138)](_0x136e99)[_0x4f5f13(0x191)]()||_0x2bd302['getAutoDisplayName'];_0xb156d4[_0x4f5f13(0xe8)](_0x4e7940=>{const _0x194f81=_0x4f5f13,_0x5c38d5=_0x4e7940[_0x194f81(0x35f)]();if(!_0x57b701[_0x194f81(0x1f2)](_0x5c38d5)){const _0xf874c7=_0x57b701[_0x194f81(0x1be)](_0x4e7940[_0x194f81(0x217)]());if(_0xf874c7){_0xb156d4['updateFieldSourceInfo'](_0x4e7940['getId'](),_0xf874c7[_0x194f81(0x2e8)](),_0xf874c7['getId']());const {area:_0x458021}=_0xb156d4[_0x194f81(0x265)](_0x4e7940[_0x194f81(0x37c)]());let _0x334ab8=_0x4e7940[_0x194f81(0x217)]();const _0x27de88=_0x4e7940[_0x194f81(0x229)]();if(_0x458021===_0x2bd302[_0x194f81(0x25f)][_0x194f81(0x34e)]){const _0x22c060=_0x4e7940[_0x194f81(0x389)]();_0x334ab8=_0x5d9cfb(_0xf874c7[_0x194f81(0x2e8)](),_0x22c060);}_0x27de88!==_0x334ab8&&_0xb156d4[_0x194f81(0x33c)](_0x4e7940[_0x194f81(0x37c)](),_0x334ab8);}else _0xb156d4[_0x194f81(0x115)](_0x4e7940[_0x194f81(0x37c)]());}});const _0x5c3843=_0xb156d4[_0x4f5f13(0x279)](),_0x29260a=_0xb156d4[_0x4f5f13(0x26f)]()[_0x4f5f13(0x90)](),_0x34ba34=_0xb156d4['endCollectChangeset']();_0x26d147[_0x4f5f13(0x224)]={'view':_0x29260a,'changesets':_0x34ba34,'isEmpty':_0x5c3843,'pivotTableConfig':_0x4561e6,'collectionConfig':_0x5c6490,'oldCollectionConfig':_0x4e9cc3,'deleteIds':_0x7ddd55};}break;case _0x5e3388[_0x4f5f13(0x1e0)]:{const _0x13323=_0x2beed6[_0x4f5f13(0x2e6)]['updateValuePosition'];if(!_0x13323)return;const {position:_0x23dde8,index:_0x2e79d2}=_0x13323,_0x96e566=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x59375e,_0x32f178,_0x55386d);if(!_0x96e566)return!0x1;const _0x1a38e4=this['_sheetsPivotDataSourceModel'][_0x4f5f13(0x25c)](_0x55386d);if(!_0x1a38e4)return!0x1;_0x1a38e4[_0x4f5f13(0x208)](),_0x1a38e4[_0x4f5f13(0x162)](_0x23dde8,_0x2e79d2);const _0xb4b045=_0x1a38e4[_0x4f5f13(0x279)](),_0x46620b=_0x1a38e4['query']()['toJSON'](),_0x57ee48=_0x1a38e4[_0x4f5f13(0x180)]();_0x26d147['updateValuePosition']={'changesets':_0x57ee48,'pivotTableConfig':_0x96e566,'isEmpty':_0xb4b045,'view':_0x46620b};}break;case _0x5e3388['SetPivotCollapse']:{const _0x362264=_0x2beed6['params'][_0x4f5f13(0xfa)];if(!_0x362264)return;const {tableFieldId:_0x4891cd,collapse:_0x4d9669,item:_0x22d339}=_0x362264,_0x592485=this[_0x4f5f13(0x228)]['getPivotTableInstance'](_0x55386d),_0x1a1b3d=this[_0x4f5f13(0x228)][_0x4f5f13(0x9b)](_0x59375e,_0x32f178,_0x55386d);if(!_0x592485||!_0x1a1b3d)return;_0x592485[_0x4f5f13(0x208)](),_0x592485[_0x4f5f13(0x1af)](_0x4891cd,_0x4d9669,_0x22d339);const _0x512b04=_0x592485[_0x4f5f13(0x279)](),_0x3c94b6=_0x592485['query']()[_0x4f5f13(0x90)](),_0x4bdfe7=_0x592485[_0x4f5f13(0x180)]();_0x26d147[_0x4f5f13(0xfa)]={'view':_0x3c94b6,'isEmpty':_0x512b04,'pivotTableConfig':_0x1a1b3d,'changesets':_0x4bdfe7};}break;case _0x5e3388[_0x4f5f13(0x1d0)]:{const _0x45249c=_0x2beed6[_0x4f5f13(0x2e6)][_0x4f5f13(0x100)];if(!_0x45249c)return;const {pivotTableConfig:_0x472112}=_0x45249c,_0x132ce9=this[_0x4f5f13(0x228)][_0x4f5f13(0x25c)](_0x55386d),_0x2adc20=this[_0x4f5f13(0x228)]['getPivotTableConfig'](_0x59375e,_0x32f178,_0x55386d);if(!_0x132ce9||!_0x2adc20)return;_0x132ce9['startCollectChangeset'](),_0x4b09d5(_0x132ce9,_0x472112);const _0x473beb=_0x132ce9['isEmpty'](),_0x4b2923=_0x132ce9[_0x4f5f13(0x26f)]()[_0x4f5f13(0x90)](),_0x161c10=_0x132ce9[_0x4f5f13(0x180)]();_0x26d147['setPivotTableConfig']={'view':_0x4b2923,'isEmpty':_0x473beb,'pivotTableConfig':{..._0x2adc20,'fieldsConfig':_0x132ce9[_0x4f5f13(0x90)]()},'changesets':_0x161c10};}break;case _0x5e3388[_0x4f5f13(0x316)]:{const _0x34f224=_0x2beed6[_0x4f5f13(0x2e6)][_0x4f5f13(0x29b)];if(!_0x34f224)return;const _0x6cbc7b=this[_0x4f5f13(0x228)]['getPivotTableInstance'](_0x55386d),_0x4788f3=this['_sheetsPivotDataSourceModel'][_0x4f5f13(0x9b)](_0x59375e,_0x32f178,_0x55386d);if(!_0x6cbc7b||!_0x4788f3)return;_0x6cbc7b[_0x4f5f13(0x208)](),_0x4d996f(_0x6cbc7b,_0x34f224[_0x4f5f13(0x1c7)]);const _0x10a1ab=_0x6cbc7b['query']()[_0x4f5f13(0x90)](),_0x37dfa6=_0x6cbc7b[_0x4f5f13(0x180)]();_0x26d147[_0x4f5f13(0x29b)]={'view':_0x10a1ab,'isEmpty':!0x0,'pivotTableConfig':{..._0x4788f3,'fieldsConfig':_0x6cbc7b['toJSON']()},'changesets':_0x37dfa6};}break;case _0x5e3388[_0x4f5f13(0x166)]:{const _0x1147c7=_0x2beed6[_0x4f5f13(0x2e6)][_0x4f5f13(0x13b)];if(!_0x1147c7)return;const _0x11ff97=_0x1147c7['sourceRangeInfo'],_0x59d96d=_0x1147c7[_0x4f5f13(0x111)],{collection:_0x21aaa5}=this[_0x4f5f13(0x228)][_0x4f5f13(0x35b)]({'unitId':_0x11ff97[_0x4f5f13(0x360)],'sheetName':_0x11ff97[_0x4f5f13(0x96)],'subUnitId':_0x11ff97[_0x4f5f13(0x179)],'range':_0x11ff97[_0x4f5f13(0x272)]}),_0x2a14bc=new _0x2bd302[(_0x4f5f13(0x14e))](_0x21aaa5,void 0x0,_0x59d96d),_0xb4ecbd=_0x21aaa5[_0x4f5f13(0x15d)](),{rows:_0x3887a3,columns:_0x1ad39d,filters:_0x4be251,values:_0x359192}=_0x1147c7[_0x4f5f13(0x350)];_0x2a14bc[_0x4f5f13(0x208)]();for(const {field:_0x18c8a1,selectedItems:_0x55f491}of _0x3887a3||[]){const _0x2e824f=_0xb4ecbd[_0x18c8a1];if(_0x2e824f){const _0x1e88d5=_0x2a14bc[_0x4f5f13(0x274)](_0x2e824f,_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x1d7)]);_0x55f491&&_0x1e88d5&&_0x2a14bc[_0x4f5f13(0x286)](_0x1e88d5['getId'](),{'type':_0x2bd302[_0x4f5f13(0x346)][_0x4f5f13(0xae)],'list':_0x55f491,'isAll':!0x1});}}for(const {field:_0x86b79b,selectedItems:_0x1b1d15}of _0x1ad39d||[]){const _0x524199=_0xb4ecbd[_0x86b79b];if(_0x524199){const _0x229dfc=_0x2a14bc[_0x4f5f13(0x274)](_0x524199,_0x2bd302[_0x4f5f13(0x25f)]['Column']);_0x1b1d15&&_0x229dfc&&_0x2a14bc['setLabelFilterInfo'](_0x229dfc[_0x4f5f13(0x37c)](),{'type':_0x2bd302['PivotFilterTypeEnum']['ManualFilter'],'list':_0x1b1d15,'isAll':!0x1});}}for(const {field:_0x4228fd,selectedItems:_0x211bc6}of _0x4be251||[]){const _0x4e6da1=_0xb4ecbd[_0x4228fd];if(_0x4e6da1){const _0x256938=_0x2a14bc['addFieldWithSourceId'](_0x4e6da1,_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x328)]);_0x211bc6&&_0x256938&&_0x2a14bc[_0x4f5f13(0x286)](_0x256938[_0x4f5f13(0x37c)](),{'type':_0x2bd302[_0x4f5f13(0x346)][_0x4f5f13(0xae)],'list':_0x211bc6,'isAll':!0x1});}}for(const {field:_0x4f2f30,subTotalType:_0x30e371,formatString:_0x24e38d}of _0x359192||[]){const _0x1cf792=_0x21aaa5[_0x4f5f13(0xfb)](_0xb4ecbd[_0x4f2f30]);if(!_0x1cf792)continue;const _0x32303d=_0xb4ecbd[_0x4f2f30];if(_0x32303d){const _0x488f73=_0x2a14bc[_0x4f5f13(0x274)](_0x32303d,_0x2bd302[_0x4f5f13(0x25f)][_0x4f5f13(0x34e)]);if(_0x488f73){if(_0x30e371!==void 0x0){_0x2a14bc['setSubtotalType'](_0x488f73[_0x4f5f13(0x37c)](),_0x30e371);const _0x175d27=this[_0x4f5f13(0x228)]['getDataFieldManager'](_0x11ff97[_0x4f5f13(0x360)])[_0x4f5f13(0x191)]()||_0x2bd302['getAutoDisplayName'],_0x1119b5=_0x21aaa5[_0x4f5f13(0x229)](_0x32303d),_0x1bbec6=_0x175d27(_0x1119b5,_0x30e371);_0x2a14bc[_0x4f5f13(0x33c)](_0x488f73[_0x4f5f13(0x37c)](),_0x1bbec6);}else{if(_0x1cf792){const _0x20a5f3=_0x1cf792==null?void 0x0:_0x1cf792[_0x4f5f13(0x103)]();_0x2a14bc[_0x4f5f13(0xf6)](_0x488f73[_0x4f5f13(0x37c)](),_0x20a5f3===_0x2bd302['PivotDataFieldDataTypeEnum'][_0x4f5f13(0x26e)]?_0x2bd302[_0x4f5f13(0x35c)][_0x4f5f13(0x1e8)]:_0x2bd302[_0x4f5f13(0x35c)][_0x4f5f13(0x18d)]);}}_0x24e38d&&_0x2a14bc[_0x4f5f13(0x1a3)](_0x488f73['getId'](),_0x24e38d);}}}const _0x34d848=_0x2a14bc[_0x4f5f13(0x26f)](),_0x49da38=_0x2a14bc[_0x4f5f13(0x90)](),_0x273213=_0x2a14bc['isEmpty'](),_0x44dcd5=_0x2a14bc[_0x4f5f13(0x180)](),_0x162ce5=_0x21aaa5[_0x4f5f13(0x90)]();_0x26d147['addPivotTableWithConfig']={'view':_0x34d848,'fieldsConfig':_0x49da38,'collectionConfig':_0x162ce5,'isEmpty':_0x273213,'changesets':_0x44dcd5};}break;case _0x5e3388['DrillDown']:{const _0x3e4e4c=_0x15ce34(this[_0x4f5f13(0x39e)],_0x2beed6);if(!_0x3e4e4c)return;const {range:_0x1135da,sourceSubUnitId:_0x110fc7,sourceUnitId:_0x37e155,formatMap:_0x5a4edf,indexes:_0x11059d}=_0x3e4e4c;_0x26d147[_0x4f5f13(0x31b)]={'range':_0x1135da,'sourceSubUnitId':_0x110fc7,'sourceUnitId':_0x37e155,'formatMap':_0x5a4edf,'indexes':_0x11059d};}break;}this['_commandService'][_0x4f5f13(0x9e)](_0x37b8d8['id'],{'version':_0x2beed6[_0x4f5f13(0x344)],'result':_0x26d147},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x85f21d=_0x42bb9f;this['disposeWithMe'](this[_0x85f21d(0x370)][_0x85f21d(0x222)](_0xa65190=>{const _0xa38bad=_0x85f21d;if(_0xa65190['id']!==_0x157f7e['id'])return;const _0x347137=_0xa65190['params'];return this[_0xa38bad(0x228)][_0xa38bad(0xbe)](_0x347137['textInfo']),!0x0;}));}[_0x42bb9f(0x20e)](){const _0x18ef1e=_0x42bb9f;this['_sheetsPivotDataSourceModel'][_0x18ef1e(0x165)][_0x18ef1e(0x153)](_0x46cf14=>{const _0x10c0db=_0x18ef1e;switch(_0x46cf14['type']){case _0x521660[_0x10c0db(0x246)]:_0x46cf14[_0x10c0db(0x22f)]&&_0x46cf14[_0x10c0db(0x242)]&&this['handleSourceRangeChange'](_0x46cf14['token'],_0x46cf14[_0x10c0db(0x22f)],_0x46cf14[_0x10c0db(0x242)]);break;case _0x521660[_0x10c0db(0x1ca)]:{const {unitId:_0x2297fe,subUnitId:_0x5f40e7,token:_0xebbad0}=_0x46cf14;_0x2297fe&&_0x5f40e7&&_0xebbad0&&this[_0x10c0db(0x1a4)](_0x2297fe,_0x5f40e7,_0xebbad0);}break;case _0x521660[_0x10c0db(0x307)]:{const {token:_0x368d22,oldSourceRangeInfo:_0x4873d0,dataRangeInfo:_0x332fcf,targetCellInfo:_0x3493f1}=_0x46cf14,{unitId:_0x50a217,subUnitId:_0x3548ea}=_0x4873d0||{};_0x50a217&&_0x3548ea&&_0x368d22&&this[_0x10c0db(0x1a4)](_0x50a217,_0x3548ea,_0x368d22),_0x332fcf&&_0x3493f1&&this['handleSourceRangeChange'](_0x368d22,_0x332fcf,_0x3493f1);}break;}});}[_0x42bb9f(0x2c2)](){const _0x16e828=_0x42bb9f;this['_sheetsPivotDataSourceModel'][_0x16e828(0xab)][_0x16e828(0x153)](_0x558fe8=>{const _0x3f90c6=_0x16e828;Object[_0x3f90c6(0x237)](_0x558fe8)['forEach'](_0x54a3bb=>{const _0x224427=_0x3f90c6,_0x11aedb=this[_0x224427(0x228)][_0x224427(0x33f)](_0x54a3bb);if(_0x11aedb){const _0x51282c=this['_sheetsPivotDataSourceModel'][_0x224427(0x9b)](_0x11aedb==null?void 0x0:_0x11aedb[_0x224427(0x360)],_0x11aedb==null?void 0x0:_0x11aedb[_0x224427(0x179)],_0x54a3bb);_0x51282c&&(this[_0x224427(0x336)](_0x54a3bb,_0x51282c[_0x224427(0x156)],_0x51282c[_0x224427(0x242)]),this[_0x224427(0x28d)]([{'unitId':_0x11aedb[_0x224427(0x360)],'subUnitId':_0x11aedb[_0x224427(0x179)],'token':_0x54a3bb}]));}});});}[_0x42bb9f(0x271)](){const _0x29c2d1=_0x42bb9f;this['_sheetsPivotDataSourceModel'][_0x29c2d1(0xf7)][_0x29c2d1(0x153)](_0x32323f=>{const _0x12dec0=_0x29c2d1,{unitId:_0x5021e9,subUnitId:_0x4b8320,pivotTableId:_0x5f01a8}=_0x32323f;_0x5021e9&&_0x4b8320&&_0x5f01a8&&this[_0x12dec0(0x28d)]([{'unitId':_0x5021e9,'subUnitId':_0x4b8320,'token':_0x5f01a8}]);});}[_0x42bb9f(0x28d)](_0x209299){const _0x4ecdcc=_0x42bb9f,_0x5a078b={};_0x209299[_0x4ecdcc(0x36d)](_0x1cc578=>{var _0x5cb148,_0x24ea46;const {unitId:_0x41f5e4,subUnitId:_0x57df92,token:_0x21890f}=_0x1cc578;_0x5a078b[_0x41f5e4]=(_0x5cb148=_0x5a078b[_0x41f5e4])!=null?_0x5cb148:{},_0x5a078b[_0x41f5e4][_0x57df92]=(_0x24ea46=_0x5a078b[_0x41f5e4][_0x57df92])!=null?_0x24ea46:{},_0x5a078b[_0x41f5e4][_0x57df92][_0x21890f]=!0x0;}),this[_0x4ecdcc(0x370)][_0x4ecdcc(0x9e)](_0x49e4cb['id'],_0x5a078b);}[_0x42bb9f(0x1a4)](_0x35d3bb,_0x1a609d,_0x4b7692){const _0x3ca077=_0x42bb9f;this[_0x3ca077(0x112)]['remove'](_0x35d3bb,_0x1a609d,[_0x4b7692]);}[_0x42bb9f(0x336)](_0x84b219,_0x57a9b2,_0x3edb1c){const _0x41861e=_0x42bb9f,{unitId:_0x4e48ce,subUnitId:_0x33d62d}=_0x57a9b2;this[_0x41861e(0x112)][_0x41861e(0xde)](_0x3edb1c['unitId'],_0x3edb1c[_0x41861e(0x179)],_0x84b219)&&this[_0x41861e(0x1a4)](_0x4e48ce,_0x33d62d,_0x84b219);const _0x126c5b={'sheetId':_0x33d62d,..._0x57a9b2};this[_0x41861e(0x112)]['register'](_0x3edb1c['unitId'],_0x3edb1c[_0x41861e(0x179)],_0x84b219,{'unitId':_0x3edb1c[_0x41861e(0x360)],'subUnitId':_0x3edb1c[_0x41861e(0x179)],'dependencyRanges':[_0x126c5b],'getDirtyData':(_0x1e1ce5,_0x12add4)=>{const _0x3bea1f=_0x41861e,_0x2fdaed=this[_0x3bea1f(0x228)],_0x41dcce=_0x2fdaed[_0x3bea1f(0x33f)](_0x84b219);if(!_0x41dcce)return _0x2a404a();const {unitId:_0x1d72d5,subUnitId:_0x260973}=_0x41dcce,_0x405a0c=_0x22a4d9(_0x1e1ce5,_0x12add4,_0x57a9b2);if(_0x405a0c[_0x3bea1f(0x8f)]>0x0){const _0xc725f1=_0x2fdaed['getCollection'](_0x4e48ce,_0x84b219),_0x405738=_0xc725f1[_0x3bea1f(0x15d)](),_0x5e7f15=this['getMatrixFromRunTimeData'](_0x57a9b2[_0x3bea1f(0x360)],_0x57a9b2[_0x3bea1f(0x179)],_0x12add4),_0x436bbb={},_0x5ece37=this[_0x3bea1f(0x228)][_0x3bea1f(0x138)](_0x1d72d5)[_0x3bea1f(0x191)]()||_0x2bd302[_0x3bea1f(0xe4)],_0x2abeca=[];for(const _0x3566f9 of _0x405a0c){const _0x2456e6=_0x3566f9-(_0x57a9b2[_0x3bea1f(0x272)][_0x3bea1f(0x1c9)]||0x0),_0x165227=_0x405738[_0x2456e6];_0x2abeca[_0x3bea1f(0x364)](_0x165227),_0x436bbb[_0x165227]=_0xc725f1[_0x3bea1f(0xfb)](_0x165227)[_0x3bea1f(0x2e8)](),_0x2fdaed[_0x3bea1f(0x138)](_0x4e48ce)[_0x3bea1f(0x25b)](_0x165227,_0x57a9b2,_0x2456e6,_0x5e7f15);}_0xc725f1['getGroupFieldsInfoByIds'](_0x2abeca)[_0x3bea1f(0x36d)](_0x2c689b=>{const _0x5564a2=_0x3bea1f,[_0x27a803,_0x18c35b]=_0x2c689b,_0x51e845=_0xc725f1[_0x5564a2(0xfb)](_0x27a803),_0x90478b=_0xc725f1['getFieldById'](_0x18c35b);_0x51e845&&_0x90478b&&_0x51e845[_0x5564a2(0x14a)](_0x90478b);}),_0xc725f1[_0x3bea1f(0x314)]();const _0x2f1b1c=_0x2fdaed[_0x3bea1f(0x25c)](_0x84b219);if(_0x2f1b1c){_0xf8cdf2(_0x2f1b1c,_0x436bbb,_0x5ece37),_0x2f1b1c[_0x3bea1f(0x251)](!0x0);const _0x115b56=_0x2f1b1c[_0x3bea1f(0x26f)](),_0xb3ade3=_0x2fdaed[_0x3bea1f(0x9b)](_0x1d72d5,_0x260973,_0x84b219),_0xcc527f=_0x2fdaed[_0x3bea1f(0x138)](_0x4e48ce)[_0x3bea1f(0x90)]();_0x2fdaed[_0x3bea1f(0x386)](_0x1d72d5,_0x260973,_0x2de5fe['Set'],_0x84b219,_0x115b56,_0xb3ade3,_0xcc527f,!0x0);}}return this[_0x3bea1f(0xcc)](_0x1d72d5,_0x260973,_0x84b219);}});}[_0x42bb9f(0x2d5)](_0x1d4e3b,_0xc44f61,_0x200def){var _0x341ace,_0x5cbd63;const {arrayFormulaCellData:_0x3a09a3,unitData:_0x5ef9bc}=_0x200def,_0x516368=(_0x341ace=_0x3a09a3==null?void 0x0:_0x3a09a3[_0x1d4e3b])==null?void 0x0:_0x341ace[_0xc44f61],_0x423444=(_0x5cbd63=_0x5ef9bc==null?void 0x0:_0x5ef9bc[_0x1d4e3b])==null?void 0x0:_0x5cbd63[_0xc44f61];return{'arrayFormulaCellDataMatrix':_0x516368,'unitDataMatrix':_0x423444};}[_0x42bb9f(0xcc)](_0x3ab310,_0x3503f8,_0x4472b2){const _0x454aa3=_0x42bb9f,_0x3baed7=this[_0x454aa3(0x228)][_0x454aa3(0x198)](_0x3ab310,_0x3503f8,_0x4472b2),_0x2aef8d=[],_0x14b96b=new _0x288eb9['ObjectMatrix']();if(_0x3baed7){const {rangeCache:_0x33ca06,matrix:_0x10ea1a,oldRangeCache:_0x43dc13,oldMatrix:_0x4fb472}=_0x3baed7,_0x39a84a=_0x26ef08(_0x43dc13),_0x17f1a0=_0x26ef08(_0x33ca06);_0x2aef8d[_0x454aa3(0x364)](..._0x17f1a0,..._0x39a84a),_0x4fb472&&_0x43dc13&&_0x39a84a[_0x454aa3(0x36d)](_0x39f913=>{const _0x8e59d9=_0x454aa3;for(let _0x85bdb9=_0x39f913['startRow'];_0x85bdb9<=_0x39f913[_0x8e59d9(0x241)];_0x85bdb9++)for(let _0x33857a=_0x39f913[_0x8e59d9(0x1c9)];_0x33857a<=_0x39f913[_0x8e59d9(0x1f1)];_0x33857a++)_0x14b96b[_0x8e59d9(0x1b2)](_0x85bdb9,_0x33857a);}),_0x10ea1a&&_0x17f1a0&&_0x17f1a0[_0x454aa3(0x36d)](_0x49ccb3=>{const _0x1aff51=_0x454aa3;for(let _0x545394=_0x49ccb3[_0x1aff51(0x36a)];_0x545394<=_0x49ccb3[_0x1aff51(0x241)];_0x545394++)for(let _0x24322a=_0x49ccb3[_0x1aff51(0x1c9)];_0x24322a<=_0x49ccb3[_0x1aff51(0x1f1)];_0x24322a++)_0x14b96b[_0x1aff51(0x1bb)](_0x545394,_0x24322a,_0x10ea1a[_0x1aff51(0x187)](_0x545394,_0x24322a));});}const _0x1f69e0={};return _0x1f69e0[_0x3ab310]={[_0x3503f8]:_0xeff524(_0x2aef8d)},{'runtimeCellData':{[_0x3ab310]:{[_0x3503f8]:_0x14b96b}},'dirtyRanges':_0x1f69e0};}['dispose'](){}};_0x161fb7=_0x214c8f([_0x1112db(0x0,_0x288eb9[_0x42bb9f(0x21c)](_0x5bf755['SheetsPivotDataSourceModel'])),_0x1112db(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x1407f0[_0x42bb9f(0x3a7)])),_0x1112db(0x2,_0x288eb9['Inject'](_0x288eb9['ICommandService'])),_0x1112db(0x3,_0x288eb9[_0x42bb9f(0x21c)](_0x1407f0[_0x42bb9f(0x201)])),_0x1112db(0x4,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0x1fb)]))],_0x161fb7);var _0x3a1162=Object[_0x42bb9f(0x235)],_0x553e05=(_0x4a45eb,_0x21a20f,_0x5e26de,_0x3255d3)=>{for(var _0xa2b411=_0x3255d3>0x1?void 0x0:_0x3255d3?_0x3a1162(_0x21a20f,_0x5e26de):_0x21a20f,_0x197456=_0x4a45eb['length']-0x1,_0x235556;_0x197456>=0x0;_0x197456--)(_0x235556=_0x4a45eb[_0x197456])&&(_0xa2b411=_0x235556(_0xa2b411)||_0xa2b411);return _0xa2b411;},_0x42c261=(_0x3a7af1,_0x19c6a3)=>(_0x396ce9,_0x39b694)=>_0x19c6a3(_0x396ce9,_0x39b694,_0x3a7af1);let _0x16b75e=class extends _0x288eb9['Disposable']{constructor(_0xaebfd1,_0x536761,_0x4fcfc9,_0x5544a2){const _0x145f42=_0x42bb9f;super(),_0x4fb07d(this,'disposableCollection',new _0x288eb9[(_0x145f42(0x36e))]()),(this['_univerInstanceService']=_0xaebfd1,this[_0x145f42(0x1bc)]=_0x536761,this[_0x145f42(0x266)]=_0x4fcfc9,this[_0x145f42(0x98)]=_0x5544a2,this[_0x145f42(0x31a)]());}[_0x42bb9f(0x31a)](){const _0x58cea3=_0x42bb9f;this['disposeWithMe'](this[_0x58cea3(0x1bc)]['interceptCommand']({'getMutations':_0x198105=>{const _0xded24a=_0x58cea3;if(_0x198105['id']===_0x2e27a8[_0xded24a(0x27b)]['id']||_0x198105['id']===_0x2e27a8['ClearSelectionAllCommand']['id']){const _0x3d7f15=[],_0x4d54c9=[],_0x486026=this[_0xded24a(0x266)][_0xded24a(0x288)]()[_0xded24a(0x1d2)](_0x15407b=>_0x15407b['range']),_0xfd2288=_0x2e27a8[_0xded24a(0xba)](this[_0xded24a(0x1d4)]);if(!_0xfd2288)return{'redos':[],'undos':[]};const {unitId:_0x96e231,subUnitId:_0x2ff1b3}=_0xfd2288,_0x6c0cd4={},_0x1f6a74=this[_0xded24a(0x98)][_0xded24a(0x244)](_0x96e231,_0x2ff1b3);if(_0x1f6a74!=null&&_0x1f6a74[_0xded24a(0x1f6)])for(const [_0x455a89,_0x485312]of _0x1f6a74){const {unitId:_0x18843c,subUnitId:_0x538312,row:_0x40bfa2,col:_0x5ae1b0}=_0x485312[_0xded24a(0x242)];_0x18843c===_0xfd2288[_0xded24a(0x360)]&&_0x538312===_0xfd2288[_0xded24a(0x179)]&&(_0x6c0cd4[_0x40bfa2+'-'+_0x5ae1b0]=_0x455a89);}return _0x486026&&_0xfd2288&&_0x486026[_0xded24a(0x36d)](_0x3e91b8=>{const _0x2bf5b6=_0xded24a;_0x288eb9[_0x2bf5b6(0x2a5)][_0x2bf5b6(0x351)](_0x3e91b8,(_0x33f5b6,_0x1429e6)=>{const _0xf57c92=_0x2bf5b6,_0x562278=_0x33f5b6+'-'+_0x1429e6;if(_0x6c0cd4[_0x562278]){const _0x634508=_0x6c0cd4[_0x562278];_0x3d7f15[_0xf57c92(0x364)]({'id':_0xf36de3['id'],'params':{'unitId':_0x96e231,'subUnitId':_0x2ff1b3,'pivotTableId':_0x634508}});const _0x2f8f97=this[_0xf57c92(0x98)]['getCollection'](_0x96e231,_0x634508),_0x12058d=this[_0xf57c92(0x98)]['getPivotTableConfig'](_0x96e231,_0x2ff1b3,_0x634508);_0x4d54c9['push']({'id':_0x7c30f0['id'],'params':{'unitId':_0x96e231,'subUnitId':_0x2ff1b3,'pivotTableId':_0x634508,'pivotTableConfig':_0x12058d,'collectionConfig':_0x2f8f97}});}});}),{'redos':_0x3d7f15,'undos':_0x4d54c9};}return{'redos':[],'undos':[]};}}));}};_0x16b75e=_0x553e05([_0x42c261(0x0,_0x288eb9['IUniverInstanceService']),_0x42c261(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x2e27a8['SheetInterceptorService'])),_0x42c261(0x2,_0x288eb9[_0x42bb9f(0x21c)](_0x2e27a8['SheetsSelectionsService'])),_0x42c261(0x3,_0x288eb9[_0x42bb9f(0x21c)](_0x5bf755['SheetsPivotTableConfigModel']))],_0x16b75e);var _0x17ad02=Object[_0x42bb9f(0x235)],_0x28276f=(_0x44c601,_0x552535,_0x3140b2,_0x4ffe2b)=>{const _0xaf0fe6=_0x42bb9f;for(var _0x5184f0=_0x4ffe2b>0x1?void 0x0:_0x4ffe2b?_0x17ad02(_0x552535,_0x3140b2):_0x552535,_0x2aecfc=_0x44c601[_0xaf0fe6(0x8f)]-0x1,_0x309db1;_0x2aecfc>=0x0;_0x2aecfc--)(_0x309db1=_0x44c601[_0x2aecfc])&&(_0x5184f0=_0x309db1(_0x5184f0)||_0x5184f0);return _0x5184f0;},_0x26833f=(_0x3d2864,_0x199d27)=>(_0x5a9aa6,_0x46c3af)=>_0x199d27(_0x5a9aa6,_0x46c3af,_0x3d2864);let _0x522425=class extends _0x288eb9[_0x42bb9f(0x3a9)]{constructor(_0x22e9ae,_0x1e21f3,_0x5dda08,_0x40ab94,_0x57fb2){const _0x5c4677=_0x42bb9f;super(),this[_0x5c4677(0x1bc)]=_0x22e9ae,this[_0x5c4677(0x39e)]=_0x1e21f3,this[_0x5c4677(0x1d4)]=_0x5dda08,this[_0x5c4677(0x98)]=_0x40ab94,this[_0x5c4677(0x32e)]=_0x57fb2,this['_initCommandInterceptListener']();}[_0x42bb9f(0x3a2)](_0xfc4b83,_0x3a2b22,_0x59e8a0){const _0xd666c6=_0x42bb9f,{pageView:_0x13bcc2,cornerView:_0x5664c6,rowView:_0x3b45b9,colView:_0x1b4dde,dataView:_0x520f47}=_0x3a2b22,_0x564123=_0xfc4b83;let _0x170fe4;if(_0x59e8a0)_0x170fe4=[..._0x2a44bf(_0x564123)];else{const _0x277229=_0x2b2601(_0x564123,_0x13bcc2,!0x0),_0x3f8de9=_0x13bcc2['lastRow']>=0x0?_0x13bcc2['lastRow']+0x1:0x0,_0x5264e7=_0x5664c6['rowCount'],_0x54d7cb=_0x5664c6[_0xd666c6(0x39f)],_0x4ee837=_0x277229[_0xd666c6(0x8f)]>0x0?_0x4bce21:0x0,_0x2f4f51=_0x2b2601({'row':_0x564123[_0xd666c6(0x392)]+_0x3f8de9+_0x4ee837,'col':_0x564123[_0xd666c6(0x113)]},_0x5664c6,!0x1,!0x1),_0xd93311=_0x2b2601({'row':_0x564123[_0xd666c6(0x392)]+_0x3f8de9+_0x4ee837+_0x5264e7,'col':_0x564123[_0xd666c6(0x113)]},_0x3b45b9,!0x1,!0x0),_0x58800a=_0x2b2601({'row':_0x564123[_0xd666c6(0x392)]+_0x3f8de9+_0x4ee837,'col':_0x564123['col']+_0x54d7cb},_0x1b4dde,!0x1,!0x0),_0x2faaff=_0x2b2601({'row':_0x564123[_0xd666c6(0x392)]+_0x3f8de9+_0x4ee837+_0x5264e7,'col':_0x564123[_0xd666c6(0x113)]+_0x54d7cb},_0x520f47,!0x1,!0x0);_0x170fe4=[..._0x277229,..._0x2f4f51,..._0xd93311,..._0x58800a,..._0x2faaff];}return _0x170fe4;}[_0x42bb9f(0x202)](){const _0x48b0fe=_0x42bb9f;this['disposeWithMe'](this[_0x48b0fe(0x32e)][_0x48b0fe(0x26a)][_0x48b0fe(0x2db)](this[_0x48b0fe(0x32e)][_0x48b0fe(0x26a)]['getInterceptPoints']()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x11ff2b,_0x4408f6)=>{const _0x5f00fe=_0x48b0fe,{cellInfo:_0x4a63e5,view:_0x219216,isEmpty:_0x1a449e}=_0x4408f6,_0x190ba4=_0x4a63e5,{unitId:_0x5997a2,subUnitId:_0x56600b}=_0x190ba4,_0x251405=this[_0x5f00fe(0x3a2)](_0x4a63e5,_0x219216,_0x1a449e),_0x29cf14=this[_0x5f00fe(0x1bc)][_0x5f00fe(0x17e)]({'unitId':_0x5997a2,'subUnitId':_0x56600b,'ranges':_0x251405}),_0x47f71f=_0x274f21(this[_0x5f00fe(0x39e)],_0x5997a2,_0x56600b,_0x251405);_0x47f71f[_0x5f00fe(0x223)]&&(_0x29cf14[_0x5f00fe(0x196)][_0x5f00fe(0x364)](_0x47f71f[_0x5f00fe(0x176)]),_0x29cf14[_0x5f00fe(0x248)][_0x5f00fe(0x364)](_0x47f71f[_0x5f00fe(0x366)]));const _0x2c69a5=this[_0x5f00fe(0x182)](_0x219216,_0x4a63e5);return _0x29cf14['redos']['push'](..._0x2c69a5[_0x5f00fe(0x196)]),_0x29cf14[_0x5f00fe(0x248)][_0x5f00fe(0x364)](..._0x2c69a5[_0x5f00fe(0x248)]),{'redos':_0x29cf14[_0x5f00fe(0x196)],'undos':_0x29cf14[_0x5f00fe(0x248)]};}}));}[_0x42bb9f(0x182)](_0x5af942,_0xa26525){const _0x26a248=_0x42bb9f,{col:_0x2e5b98,unitId:_0x3d7cfe,subUnitId:_0x39ac9c}=_0xa26525,_0x567cbf=[],_0x5db754=[],_0x232127=_0x2e27a8[_0x26a248(0xba)](this[_0x26a248(0x1d4)],{'unitId':_0x3d7cfe,'subUnitId':_0x39ac9c});if(!_0xa26525||!_0x5af942||!_0x232127)return{'undos':_0x5db754,'redos':_0x567cbf};const _0x129c0b=this[_0x26a248(0x98)]['getTextInfo'](),{colView:_0x3b3c7d,dataView:_0xce65ed,cornerView:_0x38311f,rowView:_0x1715d9,formatMap:_0x11654b}=_0x5af942,_0xe2a1de=_0xc12cd5(_0x3b3c7d,_0x129c0b,!0x0,_0x11654b),_0x23f9b1=_0xc12cd5(_0x1715d9,_0x129c0b,!0x1,_0x11654b),_0x5a79eb=_0x4f715a(_0xce65ed),_0x2c622a=_0x48e32a(_0x38311f),{worksheet:_0x55c5e3}=_0x232127;if(typeof window<'u'&&window[_0x26a248(0xc6)]){const _0x26068f=_0x232f9e['getFontStyleString']({..._0x1b6d0b[_0x26a248(0x1ed)]}),_0x418f52=_0x232f9e['FontCache'][_0x26a248(0x13e)](_0xe2a1de,_0x26068f)[_0x26a248(0x29d)]+0x10,_0x3d8cee=_0x232f9e[_0x26a248(0x14f)][_0x26a248(0x13e)](_0x5a79eb,_0x26068f)[_0x26a248(0x29d)],_0x270dcc=Math[_0x26a248(0x318)](Math[_0x26a248(0x2e9)](_0x418f52,_0x3d8cee))+0x10,_0x420a82=Math[_0x26a248(0x318)](_0x232f9e[_0x26a248(0x14f)][_0x26a248(0x13e)](_0x23f9b1,_0x26068f)[_0x26a248(0x29d)]),_0x3a27e7=Math[_0x26a248(0x318)](_0x232f9e[_0x26a248(0x14f)][_0x26a248(0x13e)](_0x2c622a,_0x26068f)[_0x26a248(0x29d)]),_0x3193f4=Math['max'](_0x420a82,_0x3a27e7,0x28)+0xc,_0x1f0182=_0x3b3c7d[_0x26a248(0x39f)]+_0x38311f[_0x26a248(0x39f)],_0x102125={},_0x283b9a={};for(let _0x334402=_0x2e5b98;_0x334402<_0x2e5b98+_0x1f0182;_0x334402++){const _0x226dc1=_0x55c5e3[_0x26a248(0x152)](_0x334402);_0x102125[_0x334402]=_0x226dc1,_0x334402-_0x2e5b98<_0x38311f[_0x26a248(0x39f)]?_0x283b9a[_0x334402-_0x2e5b98]=_0x3193f4:_0x283b9a[_0x334402-_0x2e5b98]=_0x270dcc;}_0x567cbf[_0x26a248(0x364)]({'id':_0x2e27a8[_0x26a248(0x1ea)]['id'],'params':{'subUnitId':_0x39ac9c,'unitId':_0x3d7cfe,'ranges':[{'startColumn':_0x2e5b98,'endColumn':_0x2e5b98+_0x1f0182-0x1,'startRow':0x0,'endRow':_0x55c5e3[_0x26a248(0xec)]()-0x1}],'colWidth':_0x283b9a}}),_0x5db754[_0x26a248(0x364)]({'id':_0x2e27a8[_0x26a248(0x1ea)]['id'],'params':{'subUnitId':_0x39ac9c,'unitId':_0x3d7cfe,'ranges':[{'startColumn':_0x2e5b98,'endColumn':_0x2e5b98+_0x1f0182-0x1,'startRow':0x0,'endRow':_0x55c5e3['getRowCount']()-0x1}],'colWidth':_0x102125}});}return{'undos':_0x5db754,'redos':_0x567cbf};}};_0x522425=_0x28276f([_0x26833f(0x0,_0x288eb9[_0x42bb9f(0x21c)](_0x2e27a8[_0x42bb9f(0x365)])),_0x26833f(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0x1fb)])),_0x26833f(0x2,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9['IUniverInstanceService'])),_0x26833f(0x3,_0x288eb9['Inject'](_0x5bf755['SheetsPivotTableConfigModel'])),_0x26833f(0x4,_0x288eb9['Inject'](_0x5bf755[_0x42bb9f(0x19e)]))],_0x522425);var _0x514237=Object[_0x42bb9f(0x235)],_0x3f1534=(_0x2a2c07,_0xd65c23,_0x13ab5b,_0x477c4d)=>{const _0x307a7e=_0x42bb9f;for(var _0x44c919=_0x477c4d>0x1?void 0x0:_0x477c4d?_0x514237(_0xd65c23,_0x13ab5b):_0xd65c23,_0x31de40=_0x2a2c07[_0x307a7e(0x8f)]-0x1,_0x493c53;_0x31de40>=0x0;_0x31de40--)(_0x493c53=_0x2a2c07[_0x31de40])&&(_0x44c919=_0x493c53(_0x44c919)||_0x44c919);return _0x44c919;},_0x5268fe=(_0x162bb9,_0x54ff84)=>(_0x5d17cb,_0x5824ef)=>_0x54ff84(_0x5d17cb,_0x5824ef,_0x162bb9);let _0x47c3f9=class extends _0x288eb9[_0x42bb9f(0x3a9)]{constructor(_0x473b6f,_0x1de106,_0x162bfd,_0x46ef7c,_0x26da27,_0x3ef35c,_0x45f5d1){const _0x25b606=_0x42bb9f;super(),_0x4fb07d(this,_0x25b606(0x38d),new _0x288eb9[(_0x25b606(0x36e))]()),(this['_injector']=_0x473b6f,this[_0x25b606(0x1cc)]=_0x1de106,this[_0x25b606(0x370)]=_0x162bfd,this[_0x25b606(0x1d4)]=_0x46ef7c,this[_0x25b606(0x98)]=_0x26da27,this[_0x25b606(0xb2)]=_0x3ef35c,this['_sheetInterceptorService']=_0x45f5d1,this[_0x25b606(0x20d)]());}[_0x42bb9f(0x20d)](){const _0x10c154=_0x42bb9f,_0x4f00a6=(_0x5f4d89,_0x3b2f72)=>{const _0x1ac20a=_0x2df4,_0x2f2c85=this[_0x1ac20a(0x1d4)][_0x1ac20a(0x1a0)](_0x288eb9[_0x1ac20a(0x175)][_0x1ac20a(0x197)]);if(!_0x2f2c85||!(_0x2f2c85==null?void 0x0:_0x2f2c85[_0x1ac20a(0xb7)](_0x3b2f72)))return;this['disposableCollection'][_0x1ac20a(0x10c)]();const _0x13c56f=_0x45f65a=>this[_0x1ac20a(0x18a)](_0x45f65a,_0x5f4d89,_0x3b2f72),_0x5e75e3=this[_0x1ac20a(0x98)]['getSubUnitPivotConfigs'](_0x5f4d89,_0x3b2f72);if(!(_0x5e75e3!=null&&_0x5e75e3[_0x1ac20a(0x1f6)]))return;Array[_0x1ac20a(0x193)](_0x5e75e3[_0x1ac20a(0xe2)]())['map'](_0x56f5c2=>{const _0x1f97c3=_0x1ac20a,{row:_0x174dea,col:_0x1c5686}=_0x56f5c2[_0x1f97c3(0x242)];return _0x288eb9['cellToRange'](_0x174dea,_0x1c5686);})[_0x1ac20a(0x36d)](_0x5b2532=>{const _0x44fe46=_0x1ac20a;this['disposableCollection'][_0x44fe46(0x246)](this['_refRangeService'][_0x44fe46(0x390)](_0x5b2532,_0x13c56f,_0x5f4d89,_0x3b2f72));});},_0x34358b=()=>{const _0x31846d=_0x2df4,_0x2d7377=this[_0x31846d(0x1d4)][_0x31846d(0x1a0)](_0x288eb9[_0x31846d(0x175)][_0x31846d(0x197)]);if(_0x2d7377){const _0x30d9a7=_0x2d7377[_0x31846d(0x209)]();if(!_0x30d9a7)return;_0x4f00a6(_0x2d7377[_0x31846d(0x23a)](),_0x30d9a7[_0x31846d(0x1c0)]());}};this['disposeWithMe'](this['_commandService'][_0x10c154(0x222)](_0x547ed1=>{const _0x28b35f=_0x10c154;if(_0x547ed1['id']===_0x2e27a8[_0x28b35f(0x276)]['id']){const _0x178922=_0x547ed1['params'],_0x4b921a=_0x178922[_0x28b35f(0x179)],_0x2b5bd5=_0x178922['unitId'];if(!_0x4b921a||!_0x2b5bd5)return;_0x4f00a6(_0x2b5bd5,_0x4b921a);}})),this[_0x10c154(0x148)](this[_0x10c154(0x98)][_0x10c154(0x1b0)][_0x10c154(0x153)](_0x205b79=>{_0x205b79&&_0x34358b();})),this[_0x10c154(0x148)](this[_0x10c154(0x98)]['pivotConfigChange$']['subscribe'](_0x4ce79c=>{const _0x298293=_0x10c154,_0x2b3755=_0x2e27a8['getSheetCommandTarget'](this[_0x298293(0x1d4)]);if(!_0x2b3755)return;const {unitId:_0x402568,subUnitId:_0x384825}=_0x2b3755,{unitId:_0x7e1aa9,subUnitId:_0x11e9b0}=_0x4ce79c;_0x402568!==_0x7e1aa9||_0x384825!==_0x11e9b0||_0x4f00a6(_0x402568,_0x384825);})),_0x34358b();}['_refRangeHandle'](_0x183adc,_0x2926b4,_0x512814){const _0x3f4e2e=_0x42bb9f;switch(_0x183adc['id']){case _0x2e27a8[_0x3f4e2e(0x213)]['id']:return this[_0x3f4e2e(0x2b4)](_0x183adc[_0x3f4e2e(0x2e6)],_0x2926b4,_0x512814);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x37d175,_0x481722,_0x2184de){const _0x27a347=_0x42bb9f,{fromRange:_0x5a5f22,toRange:_0x22a2e6}=_0x37d175,_0x38ac6f=[],_0x36e37e=[],_0x194e5c=_0x2e27a8[_0x27a347(0xba)](this[_0x27a347(0x1d4)]);if(!_0x194e5c)return{'undos':_0x36e37e,'redos':_0x38ac6f};if(_0x481722!==_0x194e5c[_0x27a347(0x360)]||_0x2184de!==_0x194e5c['subUnitId'])return{'undos':_0x36e37e,'redos':_0x38ac6f};const _0x5279f5=this[_0x27a347(0x98)][_0x27a347(0x244)](_0x481722,_0x2184de);if(_0x5279f5!=null&&_0x5279f5[_0x27a347(0x1f6)])for(const [_0x427db3,_0x524391]of _0x5279f5){const {unitId:_0x18e16f,subUnitId:_0x13071f,row:_0xfd81db,col:_0x9cef13}=_0x524391[_0x27a347(0x242)];if(_0x18e16f===_0x194e5c[_0x27a347(0x360)]&&_0x13071f===_0x194e5c['subUnitId']){const _0x5e03f2=_0x288eb9[_0x27a347(0x104)](_0xfd81db,_0x9cef13);if(_0x288eb9['Rectangle'][_0x27a347(0x1e4)](_0x5e03f2,_0x5a5f22)){const _0x16c9d0=_0xfd81db-_0x5a5f22[_0x27a347(0x36a)],_0x1c5cce=_0x9cef13-_0x5a5f22[_0x27a347(0x1c9)],_0x1becaa={'row':_0x22a2e6[_0x27a347(0x36a)]+_0x16c9d0,'col':_0x22a2e6[_0x27a347(0x1c9)]+_0x1c5cce};_0x38ac6f['push']({'id':_0x4c1e58['id'],'params':{'unitId':_0x18e16f,'subUnitId':_0x13071f,'pivotTableId':_0x427db3,'targetCellPosition':_0x1becaa}}),_0x36e37e[_0x27a347(0x364)]({'id':_0x4c1e58['id'],'params':{'unitId':_0x18e16f,'subUnitId':_0x13071f,'pivotTableId':_0x427db3,'targetCellPosition':{'row':_0xfd81db,'col':_0x9cef13}}});const _0x4bb40e=_0x1becaa[_0x27a347(0x392)]-_0xfd81db,_0x5006e9=_0x1becaa[_0x27a347(0x113)]-_0x9cef13,_0x3926de=[],_0x3ea32c=this[_0x27a347(0xb2)][_0x27a347(0x2ab)](_0x18e16f,_0x13071f,_0x427db3),_0x42f11b=_0x3ea32c==null?void 0x0:_0x3ea32c['rangesInfo'];if(_0x42f11b){Object[_0x27a347(0x237)](_0x42f11b)['forEach'](_0x3d2fdd=>{const _0x5a2aa0=_0x27a347;_0x42f11b[_0x3d2fdd][_0x5a2aa0(0x36d)](_0x304a17=>{const _0x3927dd=_0x5a2aa0,_0x191eeb={..._0x304a17};_0x191eeb['startRow']=_0x304a17[_0x3927dd(0x36a)]+_0x4bb40e,_0x191eeb['endRow']=_0x304a17[_0x3927dd(0x241)]+_0x4bb40e,_0x191eeb[_0x3927dd(0x1c9)]=_0x304a17[_0x3927dd(0x1c9)]+_0x5006e9,_0x191eeb[_0x3927dd(0x1f1)]=_0x304a17[_0x3927dd(0x1f1)]+_0x5006e9,_0x3926de[_0x3927dd(0x364)](_0x191eeb);});});const _0x1537b6=this[_0x27a347(0x1bc)][_0x27a347(0x17e)]({'unitId':_0x18e16f,'subUnitId':_0x13071f,'ranges':_0x3926de});_0x38ac6f['push'](..._0x1537b6['redos']),_0x36e37e[_0x27a347(0x364)](..._0x1537b6['undos']);const _0x347733=_0x274f21(this['_injector'],_0x18e16f,_0x13071f,_0x3926de);_0x347733[_0x27a347(0x223)]&&(_0x38ac6f[_0x27a347(0x364)](_0x347733[_0x27a347(0x176)]),_0x36e37e[_0x27a347(0x364)](_0x347733[_0x27a347(0x366)]));}}}}return{'redos':_0x38ac6f,'undos':_0x36e37e};}};_0x47c3f9=_0x3f1534([_0x5268fe(0x0,_0x288eb9['Inject'](_0x288eb9[_0x42bb9f(0x1fb)])),_0x5268fe(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x2e27a8[_0x42bb9f(0x177)])),_0x5268fe(0x2,_0x288eb9[_0x42bb9f(0x19d)]),_0x5268fe(0x3,_0x288eb9[_0x42bb9f(0x132)]),_0x5268fe(0x4,_0x288eb9[_0x42bb9f(0x21c)](_0x5bf755[_0x42bb9f(0x2e2)])),_0x5268fe(0x5,_0x288eb9['Inject'](_0x5bf755[_0x42bb9f(0x249)])),_0x5268fe(0x6,_0x288eb9['Inject'](_0x2e27a8[_0x42bb9f(0x365)]))],_0x47c3f9);var _0x3593e6=Object[_0x42bb9f(0x235)],_0x1c766c=(_0x3ae02f,_0x1e3a0f,_0x36574e,_0x4b86c1)=>{const _0x425cb6=_0x42bb9f;for(var _0x4a176c=_0x4b86c1>0x1?void 0x0:_0x4b86c1?_0x3593e6(_0x1e3a0f,_0x36574e):_0x1e3a0f,_0x373805=_0x3ae02f[_0x425cb6(0x8f)]-0x1,_0x59f44e;_0x373805>=0x0;_0x373805--)(_0x59f44e=_0x3ae02f[_0x373805])&&(_0x4a176c=_0x59f44e(_0x4a176c)||_0x4a176c);return _0x4a176c;},_0x1cc003=(_0x4163c8,_0x20fe8f)=>(_0x3ee7d8,_0x4342f2)=>_0x20fe8f(_0x3ee7d8,_0x4342f2,_0x4163c8);let _0x3d72e6=class extends _0x288eb9[_0x42bb9f(0x3a9)]{constructor(_0x1a3210,_0x11a72e){const _0x2aa19b=_0x42bb9f;super(),this[_0x2aa19b(0x1bc)]=_0x1a3210,this[_0x2aa19b(0x98)]=_0x11a72e,this[_0x2aa19b(0x133)]();}[_0x42bb9f(0x133)](){const _0x35cbd3=_0x42bb9f;this['disposeWithMe'](this[_0x35cbd3(0x1bc)]['interceptCommand']({'getMutations':_0xcf1dfb=>{const _0x2b1c6f=_0x35cbd3;if(_0xcf1dfb['id']===_0x2e27a8[_0x2b1c6f(0xf1)]['id']){const _0x2fd5c0=[],_0x4b0f59=[],_0x3ef6ea=_0xcf1dfb['params'],{unitId:_0x2a565e,subUnitId:_0x12f9b6}=_0x3ef6ea;if(!_0x2a565e||!_0x12f9b6)return{'undos':_0x4b0f59,'redos':_0x2fd5c0};const _0x4ed578=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x2a565e,_0x12f9b6);if(_0x4ed578!=null&&_0x4ed578[_0x2b1c6f(0x1f6)])for(const [_0x1b4416,_0x8bcc11]of _0x4ed578){_0x2fd5c0[_0x2b1c6f(0x364)]({'id':_0xf36de3['id'],'params':{'unitId':_0x2a565e,'subUnitId':_0x12f9b6,'pivotTableId':_0x1b4416}});const _0x54247c={...this[_0x2b1c6f(0x98)][_0x2b1c6f(0x2c8)](_0x2a565e,_0x1b4416)};_0x4b0f59[_0x2b1c6f(0x364)]({'id':_0x7c30f0['id'],'params':{'unitId':_0x2a565e,'subUnitId':_0x12f9b6,'pivotTableId':_0x1b4416,'pivotTableConfig':_0x8bcc11,'collectionConfig':_0x54247c}});}return{'redos':_0x2fd5c0,'undos':_0x4b0f59};}return{'redos':[],'undos':[]};}}));}};_0x3d72e6=_0x1c766c([_0x1cc003(0x0,_0x288eb9[_0x42bb9f(0x21c)](_0x2e27a8[_0x42bb9f(0x365)])),_0x1cc003(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x5bf755[_0x42bb9f(0x2e2)]))],_0x3d72e6);var _0x34beaa=Object[_0x42bb9f(0x235)],_0x4ab73f=(_0xd37c5f,_0x1c7427,_0x52b138,_0x2bcbfb)=>{const _0x2449ba=_0x42bb9f;for(var _0x25bae0=_0x2bcbfb>0x1?void 0x0:_0x2bcbfb?_0x34beaa(_0x1c7427,_0x52b138):_0x1c7427,_0x4533b0=_0xd37c5f[_0x2449ba(0x8f)]-0x1,_0x4ba06f;_0x4533b0>=0x0;_0x4533b0--)(_0x4ba06f=_0xd37c5f[_0x4533b0])&&(_0x25bae0=_0x4ba06f(_0x25bae0)||_0x25bae0);return _0x25bae0;},_0xb3eed7=(_0x2e5bef,_0x2d1b56)=>(_0x4da90a,_0x4e709d)=>_0x2d1b56(_0x4da90a,_0x4e709d,_0x2e5bef);let _0x277bb2=class extends _0x288eb9[_0x42bb9f(0x3a9)]{constructor(_0x548a94,_0x103b77,_0x15b38b,_0x5f3c13,_0x5da2b0,_0x5a51df){const _0x270dbc=_0x42bb9f;super(),this[_0x270dbc(0x370)]=_0x548a94,this[_0x270dbc(0x37f)]=_0x103b77,this['_sheetsPivotTableAdaptorModel']=_0x15b38b,this[_0x270dbc(0x98)]=_0x5f3c13,this[_0x270dbc(0x1d4)]=_0x5da2b0,this['_activeDirtyManagerService']=_0x5a51df,this[_0x270dbc(0xfc)](),this[_0x270dbc(0x299)]();}[_0x42bb9f(0xfc)](){const _0x145315=_0x42bb9f;this['disposeWithMe'](this[_0x145315(0x370)][_0x145315(0x222)](_0x986f74=>{const _0x548570=_0x145315;if(_0x986f74['id']!==_0x37b8d8['id'])return;const _0x538632=_0x986f74['params'];this['_sheetsPivotRpcService'][_0x548570(0xea)](_0x538632);})),this['disposeWithMe'](this[_0x145315(0x370)]['onCommandExecuted'](_0xe1d8a8=>{const _0x4140a7=_0x145315;if(_0xe1d8a8['id']===_0x5d1784['id']){const _0x240326=_0xe1d8a8[_0x4140a7(0x2e6)];if(_0x240326){const {unitId:_0x40341e,subUnitId:_0x72d574,oldSubUnitId:_0x18cf4f,pivotTableId:_0x4f0450,pivotTableConfig:_0x7a479a,collectionConfig:_0x2ad8e5}=_0x240326;this['_sheetsPivotTableConfigModel'][_0x4140a7(0x2cf)](_0x40341e,_0x18cf4f,_0x240326[_0x4140a7(0x111)],null),this[_0x4140a7(0x98)][_0x4140a7(0x2cf)](_0x40341e,_0x72d574,_0x4f0450,_0x7a479a),this[_0x4140a7(0x98)][_0x4140a7(0x114)](_0x40341e,_0x2ad8e5);}}})),this['disposeWithMe'](this[_0x145315(0x370)][_0x145315(0x222)](_0x46e01e=>{const _0x454ee4=_0x145315;if(_0x46e01e['id']!==_0x1b400c['id'])return;const _0x3e8ebb=_0x2e27a8[_0x454ee4(0xba)](this[_0x454ee4(0x1d4)]);if(!_0x3e8ebb)return;const {unitId:_0x40755e,subUnitId:_0x3c0562}=_0x3e8ebb,_0x5f3145=_0x46e01e[_0x454ee4(0x2e6)];if(_0x5f3145[_0x454ee4(0x158)]&&Object[_0x454ee4(0x237)](_0x5f3145[_0x454ee4(0x158)])['forEach'](_0x409281=>{const _0x2dd6ae=_0x454ee4;var _0x40fa0a;(_0x40fa0a=_0x5f3145[_0x2dd6ae(0x158)])!=null&&_0x40fa0a[_0x409281]&&this[_0x2dd6ae(0x98)][_0x2dd6ae(0x114)](_0x409281,_0x5f3145[_0x2dd6ae(0x158)][_0x409281]);}),_0x5f3145[_0x454ee4(0x306)]){const _0x493423=_0x5f3145[_0x454ee4(0x306)],{unitId:_0x13b502,subUnitId:_0x4745d8,view:_0x325c7e,pivotTableId:_0x2cade1,type:_0x9d74a1,pivotConfig:_0x4cfc28}=_0x493423;if(_0x9d74a1===_0x2de5fe[_0x454ee4(0x163)])this[_0x454ee4(0xb2)][_0x454ee4(0x337)]({'unitId':_0x13b502,'subUnitId':_0x4745d8,'pivotTableId':_0x2cade1,'type':_0x9d74a1}),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x13b502,_0x4745d8,_0x2cade1,null);else{const _0x351b38=new _0x2bd302[(_0x454ee4(0x15a))]();_0x351b38['formJSON'](_0x325c7e),this[_0x454ee4(0x98)][_0x454ee4(0x2cf)](_0x13b502,_0x4745d8,_0x2cade1,_0x4cfc28),this[_0x454ee4(0xb2)][_0x454ee4(0x337)]({'unitId':_0x13b502,'subUnitId':_0x4745d8,'pivotTableId':_0x2cade1,'type':_0x9d74a1,'view':_0x351b38}),this['_sheetsPivotTableAdaptorModel'][_0x454ee4(0x119)]({'unitId':_0x13b502,'subUnitId':_0x4745d8,'view':_0x351b38,'pivotTableId':_0x2cade1,'type':_0x9d74a1});}}else _0x5f3145[_0x454ee4(0x369)]&&(_0x5f3145[_0x454ee4(0x369)][_0x454ee4(0x36d)](_0x30e694=>{const _0x18d5f9=_0x454ee4,{unitId:_0x4a6bfd,subUnitId:_0x20106c,view:_0x114ad6,pivotTableId:_0x4d0e71,type:_0xc77a8e,pivotConfig:_0x4a43c6}=_0x30e694,_0x3528bf=new _0x2bd302[(_0x18d5f9(0x15a))]();_0x3528bf[_0x18d5f9(0x188)](_0x114ad6),this[_0x18d5f9(0x98)][_0x18d5f9(0x2cf)](_0x4a6bfd,_0x20106c,_0x4d0e71,_0x4a43c6),this[_0x18d5f9(0xb2)][_0x18d5f9(0x119)]({'unitId':_0x4a6bfd,'subUnitId':_0x20106c,'view':_0x3528bf,'pivotTableId':_0x4d0e71,'type':_0xc77a8e});}),this[_0x454ee4(0x98)][_0x454ee4(0x305)]());this[_0x454ee4(0xb2)][_0x454ee4(0x374)](_0x40755e,_0x3c0562);}));}[_0x42bb9f(0x299)](){const _0x43b711=_0x42bb9f;this['_activeDirtyManagerService'][_0x43b711(0x143)](_0x49e4cb['id'],{'commandId':_0x49e4cb['id'],'getDirtyData'(_0x25b897){const _0x5ca94f=_0x43b711;return{'dirtyUnitFeatureMap':_0x25b897[_0x5ca94f(0x2e6)]};}});}};_0x277bb2=_0x4ab73f([_0xb3eed7(0x0,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0x19d)])),_0xb3eed7(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x5bf755[_0x42bb9f(0x330)])),_0xb3eed7(0x2,_0x288eb9[_0x42bb9f(0x21c)](_0x5bf755[_0x42bb9f(0x249)])),_0xb3eed7(0x3,_0x288eb9[_0x42bb9f(0x21c)](_0x5bf755[_0x42bb9f(0x2e2)])),_0xb3eed7(0x4,_0x288eb9['Inject'](_0x288eb9['IUniverInstanceService'])),_0xb3eed7(0x5,_0x1407f0[_0x42bb9f(0x353)])],_0x277bb2);var _0x365a18=Object[_0x42bb9f(0x221)],_0x14be2d=Object[_0x42bb9f(0x235)],_0x3c2421=(_0x1db4a0,_0x5eafc7,_0xc4f325)=>_0x5eafc7 in _0x1db4a0?_0x365a18(_0x1db4a0,_0x5eafc7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc4f325}):_0x1db4a0[_0x5eafc7]=_0xc4f325,_0x5cdda7=(_0x9354aa,_0x4f4a8e,_0x2c3b18,_0x4e2a7e)=>{for(var _0x3e9764=_0x4e2a7e>0x1?void 0x0:_0x4e2a7e?_0x14be2d(_0x4f4a8e,_0x2c3b18):_0x4f4a8e,_0x1ef1c1=_0x9354aa['length']-0x1,_0x2416dc;_0x1ef1c1>=0x0;_0x1ef1c1--)(_0x2416dc=_0x9354aa[_0x1ef1c1])&&(_0x3e9764=_0x2416dc(_0x3e9764)||_0x3e9764);return _0x3e9764;},_0x55e45a=(_0xe84b77,_0x172c72)=>(_0x5e1d01,_0x4ae61d)=>_0x172c72(_0x5e1d01,_0x4ae61d,_0xe84b77),_0x29abc0=(_0x114115,_0x414d3c,_0x31bf51)=>_0x3c2421(_0x114115,typeof _0x414d3c!=_0x42bb9f(0x2b8)?_0x414d3c+'':_0x414d3c,_0x31bf51);_0x5bf755[_0x42bb9f(0x1bd)]=class extends _0x288eb9['Plugin']{constructor(_0x80904d=_0x49e17c,_0xa98b21,_0xd77fd8,_0x46d58c,_0x599b42){const _0x2fa22d=_0x42bb9f;super(),this[_0x2fa22d(0x371)]=_0x80904d,this[_0x2fa22d(0x39e)]=_0xa98b21,this['_commandService']=_0xd77fd8,this[_0x2fa22d(0x2fd)]=_0x46d58c,this['_dataSyncPrimaryController']=_0x599b42;const {..._0x1c48ec}=_0x288eb9[_0x2fa22d(0x1da)]({},_0x49e17c,this[_0x2fa22d(0x371)]);this[_0x2fa22d(0x2fd)]['setConfig'](_0x403f4a,_0x1c48ec),this[_0x2fa22d(0x13f)](),this[_0x2fa22d(0xef)]();}[_0x42bb9f(0xef)](){const _0x2e73ac=_0x42bb9f;var _0x22cfbe;const _0x1449c2=(_0x22cfbe=this[_0x2e73ac(0x371)])==null?void 0x0:_0x22cfbe['notExecuteFormula'];this[_0x2e73ac(0x2fd)][_0x2e73ac(0x379)](_0x34280f,_0x1449c2===!0x0);}['onStarting'](){const _0x16034b=_0x42bb9f;var _0x596f7f;let _0x137875=[];const _0x2e1f03=(_0x596f7f=this[_0x16034b(0x371)])==null?void 0x0:_0x596f7f[_0x16034b(0x8c)];_0x2e1f03===!0x0?_0x137875=[[_0x5bf755['SheetsPivotTableService']],[_0x5bf755[_0x16034b(0x330)]],[_0x277bb2],[_0x5bf755['SheetsPivotTableAdaptorModel']],[_0x5bf755[_0x16034b(0x2e2)]],[_0x3d72e6],[_0x16b75e],[_0x47c3f9],[_0x522425]]:_0x2e1f03===!0x1?_0x137875=[[_0x5bf755[_0x16034b(0x1ae)]],[_0x161fb7]]:_0x2e1f03===void 0x0&&(_0x137875=[[_0x5bf755[_0x16034b(0x1ae)]],[_0x161fb7],[_0x5bf755['SheetsPivotTableService']],[_0x5bf755[_0x16034b(0x330)]],[_0x277bb2],[_0x5bf755[_0x16034b(0x249)]],[_0x5bf755[_0x16034b(0x2e2)]],[_0x3d72e6],[_0x16b75e],[_0x47c3f9],[_0x522425]]),_0x137875['forEach'](_0x281902=>this['_injector'][_0x16034b(0x246)](_0x281902)),[_0x161fb7,_0x277bb2,_0x5bf755[_0x16034b(0x19e)],_0x16b75e,_0x3d72e6,_0x47c3f9,_0x522425][_0x16034b(0x36d)](_0x33debb=>{const _0xb866a3=_0x16034b;this[_0xb866a3(0x39e)][_0xb866a3(0xde)](_0x33debb)&&this[_0xb866a3(0x39e)][_0xb866a3(0x239)](_0x33debb);});}['_initRegisterCommand'](){const _0x1b8e22=_0x42bb9f;[_0x37507d,_0x9e6b92,_0x458ab2,_0x5ea7f4,_0x2148b5,_0x51c029,_0x340d3f,_0x12e7ee,_0x45f54e,_0x507f0e,_0x12b36f,_0x228b3a,_0x2891e4,_0x4fc4e5,_0x7c30f0,_0x14bbb0,_0xf36de3,_0x340732,_0x33e7c6,_0xb3cfa6,_0x44944d,_0x8bbbe,_0x3bf8ba,_0x3f8ba0,_0x4c05bf,_0x845d4f,_0x4c1e58,_0x459da1,_0x37b8d8,_0x1b400c,_0x26377e,_0x1e7ed4,_0x194ae1,_0x286fdb,_0x157f7e,_0x1bc7f9,_0x30ddcd,_0x49e4cb,_0x5d1784,_0x16fa93,_0x4715f0,_0x275613,_0x318908][_0x1b8e22(0x36d)](_0x37970d=>{const _0x3c349d=_0x1b8e22;var _0x286c35;(_0x286c35=this[_0x3c349d(0x3a4)])==null||_0x286c35['registerSyncingMutations'](_0x37970d),this['_commandService'][_0x3c349d(0x108)](_0x37970d);});}},_0x29abc0(_0x5bf755[_0x42bb9f(0x1bd)],_0x42bb9f(0x1c2),_0xd0f9a3),_0x29abc0(_0x5bf755[_0x42bb9f(0x1bd)],_0x42bb9f(0x29a),_0x288eb9['UniverInstanceType'][_0x42bb9f(0x197)]),_0x5bf755[_0x42bb9f(0x1bd)]=_0x5cdda7([_0x288eb9[_0x42bb9f(0x283)](_0x1f3f39[_0x42bb9f(0x35d)]),_0x55e45a(0x1,_0x288eb9[_0x42bb9f(0x21c)](_0x288eb9[_0x42bb9f(0x1fb)])),_0x55e45a(0x2,_0x288eb9['Inject'](_0x288eb9[_0x42bb9f(0x19d)])),_0x55e45a(0x3,_0x288eb9[_0x42bb9f(0xd5)]),_0x55e45a(0x4,_0x288eb9[_0x42bb9f(0x37b)](_0x5e8e90[_0x42bb9f(0x19c)]))],_0x5bf755['UniverSheetsPivotTablePlugin']),_0x5bf755[_0x42bb9f(0x194)]=_0x458ab2,_0x5bf755[_0x42bb9f(0x2c7)]=_0x340732,_0x5bf755['AddPivotTableCommand']=_0x9e6b92,_0x5bf755[_0x42bb9f(0x2e1)]=_0x7c30f0,_0x5bf755[_0x42bb9f(0x2f5)]=_0x37507d,_0x5bf755[_0x42bb9f(0x136)]=_0x4bce21,_0x5bf755[_0x42bb9f(0x11b)]=_0x2e2372,_0x5bf755[_0x42bb9f(0x29c)]=_0x5ea7f4,_0x5bf755[_0x42bb9f(0x2b7)]=_0x2891e4,_0x5bf755[_0x42bb9f(0x34a)]=_0x5e3388,_0x5bf755[_0x42bb9f(0x3a6)]=_0x4fc4e5,_0x5bf755['PivotTableOperationEnum']=_0x2de5fe,_0x5bf755['PivotTableViewDirtyMarkOperation']=_0x49e4cb,_0x5bf755['PositionType']=_0x1caed1,_0x5bf755[_0x42bb9f(0x117)]=_0x2148b5,_0x5bf755[_0x42bb9f(0x178)]=_0x8bbbe,_0x5bf755['RemovePivotTableMutation']=_0xf36de3,_0x5bf755[_0x42bb9f(0x301)]=_0x3bf8ba,_0x5bf755[_0x42bb9f(0x1d6)]=_0x318908,_0x5bf755[_0x42bb9f(0x285)]=_0x403f4a,_0x5bf755[_0x42bb9f(0x1c4)]=_0xd0f9a3,_0x5bf755[_0x42bb9f(0x18f)]=_0x12e7ee,_0x5bf755['SetPivotCollapseMutation']=_0x3f8ba0,_0x5bf755[_0x42bb9f(0x19a)]=_0x286fdb,_0x5bf755[_0x42bb9f(0xda)]=_0x275613,_0x5bf755[_0x42bb9f(0x28e)]=_0x507f0e,_0x5bf755[_0x42bb9f(0x311)]=_0x44944d,_0x5bf755[_0x42bb9f(0x15c)]=_0x845d4f,_0x5bf755[_0x42bb9f(0x30f)]=_0x4c1e58,_0x5bf755[_0x42bb9f(0x24a)]=_0x45f54e,_0x5bf755['SetPivotSortMutation']=_0x4c05bf,_0x5bf755[_0x42bb9f(0x342)]=_0x194ae1,_0x5bf755[_0x42bb9f(0x1fc)]=_0x16fa93,_0x5bf755[_0x42bb9f(0x1a8)]=_0x4715f0,_0x5bf755[_0x42bb9f(0x173)]=_0x340d3f,_0x5bf755[_0x42bb9f(0x377)]=_0x26377e,_0x5bf755[_0x42bb9f(0x339)]=_0x12b36f,_0x5bf755['UpdatePivotFieldSourceInfoMutation']=_0x30ddcd,_0x5bf755[_0x42bb9f(0xc9)]=_0x228b3a,_0x5bf755['UpdatePivotTableSourceRangeMutation']=_0x1bc7f9,_0x5bf755[_0x42bb9f(0xc8)]=_0x51c029,_0x5bf755[_0x42bb9f(0x204)]=_0x1e7ed4,_0x5bf755[_0x42bb9f(0x2f3)]=_0x54d6ee,_0x5bf755[_0x42bb9f(0x21e)]=_0x15f38b,_0x5bf755[_0x42bb9f(0xb4)]=_0x1b6d0b,_0x5bf755['generateSetRangeValueMutations']=_0x274f21,_0x5bf755[_0x42bb9f(0x326)]=_0x2b2601,_0x5bf755['getEmptyPivotRanges']=_0x2a44bf,_0x5bf755['getFieldListByArea']=_0x12b438,_0x5bf755[_0x42bb9f(0x205)]=_0x3034a0,_0x5bf755['getPivotCellInfo']=_0x2bc413,_0x5bf755['getPivotInfoByLicense']=_0x52b3f8,_0x5bf755[_0x42bb9f(0x1ee)]=_0x5da254,_0x5bf755['transFromCellValue']=_0x2ee935,_0x5bf755['unionPivotViewRange']=_0x26ef08,Object[_0x42bb9f(0x221)](_0x5bf755,Symbol[_0x42bb9f(0x149)],{'value':_0x42bb9f(0x2cd)});}));