@univerjs-pro/sheets-pivot 0.10.6-nightly.202509060832 → 0.10.7-nightly.202509080357

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 +41 -41
  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 _0x5a7b(_0xc20461,_0x437f9d){const _0x142863=_0x1428();return _0x5a7b=function(_0x5a7b79,_0x37b97e){_0x5a7b79=_0x5a7b79-0x128;let _0x1e321c=_0x142863[_0x5a7b79];return _0x1e321c;},_0x5a7b(_0xc20461,_0x437f9d);}function _0x1428(){const _0x115b33=['deleteUnitId','generateNewSheetName','getPivotTableRangeInfo','movePivotField','DataSyncPrimaryController','unitId','sheet.mutation.remove-group-collection','getCellMatrix','dataFieldsCollection','_globalSubject','sheets-pivot.dateGroup.yearMonth','sheetName','handleSourceRangeChange','UniverSheetsFilter','Add','bind','pageRanges','isEmpty','pivotTableIndexConfig','getPivotCellInfo','cellToRange','sideEffectUpdateWorkerCache','sheets-pivot.averageName','toString','YearMonth','DrillDown','hasOwnProperty','getPivotTableInfo','_ensurePivotMap','getAutoDisplayName','leftOffset','getHeaderMapItem','setDirty','getSourceName','getRangeStartEndInfo','Div0','UpdateFieldPositionMutation','CustomCommandExecutionError','IConfigService','collapseInfo','isColMultiMeasure','oldMatrix','MovePivotField','_getPivotAppliedRanges','updateViewInfo','_getAutoName','iterateFieldByArea','getPivotTableConfig','defineProperty','createCollectionWithDataRange','MoveRangeCommand','setSubtotalType','SetPivotCollapse','_config','_configVersion$','handleMoveRange','getFilterFieldIdByIndex','getTargetByPivotTableId','toStringTag','viewUpdate$','SetPivotFilter','number','getSubtotal','IActiveDirtyManagerService','forRow','floor','ReleaseType','NAME','sheets-pivot.value','RemoveSheetMutation','Grand\x20Total','isDateValue','rxjs','rowCount','dataFieldId','rangesInfo','markDirty','getViewData','count','single','Value','random','_initClearSelectionCommandInterceptor','sequenceExecute','setCollapse','_initPivotDataGetListener','has','sheets-pivot.cellDateGroupDisplay.hour','_toJSON','sheets-pivot.cellDateGroupDisplay.date','Min\x20of\x20','_init','sum','getPivotTableModelConfig','setTextInfo','getDataFieldByDataFieldId','getPivotTableIdByCell','fromJSON','interceptCommand','getRangeData','Tools','sheets-pivot.countName','_configService','SheetsPivotTableAdaptorModel','getDataFieldItemInfo','numberToABC','_updateModelCache','1473226AnLnLd','isText','sheet.mutation.send-pivot-view-local','InsertColMutation','REF','_queryingMap','sheets-pivot.emptyPivot.filter','IUndoRedoService','measure','removePivotField','length','Delete','AddPivotTableWithConfig','_ensureViewDataMap','isDate','removeValueFilterInfo','Average\x20of\x20','getSortInfo','getGroupFieldsInfoByIds','@univerjs/engine-render','Existing','Year','executeCommand','valueIndex','UpdatePivotValuePositionCommand','registerDirtyService','_sheetsPivotTableConfigModel','pivotInitCompleted$','registerSyncingMutations','getPivotTableInstance','sheets-pivot.dateGroup.monthDate','sheets-pivot.cellDateGroupDisplay.year','onQueryEnd','sheet.command.set-pivot-collapse','sheets-pivot.emptyPivot.column','getColCount','getInterceptPoints','intercept','dateGroupField','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','sheets-pivot.blank','SetPivotSort','fieldsConfig','undos','_localeService','colStyle','Set','ClearSelectionAllCommand','min','stdDevp','addRecord','update','valueFields','sheet.mutation.update-date-group','merge','registerPluginResource','tableFieldId','tuple','setPivotFilter','_activeDirtyManagerService','ptn','sheets-pivot.dateGroup.quarter','updateView','\x20-\x20','queryDirtyPivotTable','pivotTableConfigs','collection','removeValueFilterInfoByValueFieldId','sheets-pivot.cellDateGroupDisplay.yearQuarter','setLabelFilterInfo','@univerjs-pro/engine-pivot','1448478uvEJZz','setPivotCollapse','subscribe','BadReference','sheets-pivot.productName','sheet.mutation.update-pivot-table-source-range','getformat','STRING','sheet.command.add-pivot-table-with-config','_initSnapshot','paths','colRanges','register','panel','getRangeKey','sheet.command.set-pivot-sort','getFieldListByArea','fontRenderExtension','FieldsCollection','DEFAULT_WORKSHEET_ROW_COUNT','column','updateRangeKeyMap','range','PivotTableViewDirtyMarkOperation','UpdatePivotFieldSettingCommand','setFieldFormat','result','_initCommandInterceptListener','SetPivotFieldFormatMutation','intersects','_pivotTableRangeInfo','refreshGroupField','setPivotSetting','SetPivotSubtotalTypeMutation','_initRemoveSheetCommandInterceptor','Month','hasField','2308350VuvSIS','substring','format','getTypeOfUnitDisposed$','updateValuePosition','removeDataField','token','function','RemovePivotField','GlobalComputingStatusService','UniverSheetsPivotTablePlugin','setPivotTableConfig','PivotFilterTypeEnum','parse','needSameDeleteModel','updateCollectionConfig','sheet.command.set-pivot-filter','parseInt','setDateType','numfmt','sheet.command.add-pivot-field','getDisplayName','updateDirtyPivotTable','NotFunction','find','sheets-pivot.varName','Hour','sourceRangeInfo','getCollection','createDataFieldId','getSheetBySheetName','setOptions','_onRefRangeChange','sheet.mutation.set-pivot-position','refreshDataField','rangeKeyMap','sheet.command.set-pivot-field-setting','sheet.mutation.send-pivot-data-local','removeCollections','CellValueType','@univerjs-pro/license','triggerDirtyFeature','sheet.operation.pivot-table-view-formula-mark-dirty','Total','params','asyncInterceptor','_markDirty$','fetchThroughAsyncInterceptors','filterId','PositionType','YearMonthDate','isArray','addExclusiveRange','getFieldById','Date','reset','sheets-pivot.columnName','createAsyncInterceptorKey','getDirtyInfo','split','SetPivotCollapseMutation','SetValueFilter','_sheetsPivotDataSourceModel','SetPivotFilterMutation','UpdateValuePosition','SetSheetsFilterRangeMutation','lastRow','message','MAX_SAFE_INTEGER','renameField','MIN_SAFE_INTEGER','INTERCEPTOR_POINT','_pivotTableInstanceCache','PivotTableChangeTypeEnum','InsertRowMutation','UniverInstanceType','getUnit','getDataFieldId','startRow','valueFilter','RemovePivotTableMutation','updateRenderCache','sheets-pivot.dateGroup.yearMonthDate','getTableFieldById','filterInfo','from','Range','StdDev\x20of\x20','removePivotTable','fieldId','realDeleteValue','getFullYear','_initUnitDisposed','unshift','MonthDate','_univerInstanceService','generateRandomId','rangeKey','getAdjustRangesPosition','body','query','SetFilterInfo','oldRangeInfo','Subject','UpdatePivotSource','SheetsSelectionsService','Minute','getPivotDisplayConfig','SetPivotCollapseCommand','NUMBER','_lifecycleService','sheets-pivot.cellDateGroupDisplay.month','_viewData$','ManualFilter','adjustSheetCellData','includes','getValueIndex','sheet.mutation.pivot-update-field-position','columnFields','HourMinute','setSourceName','_generateUniqueVersion','ResetPivotTable','getDataFieldManager','PivotView','getSheetCommandTarget','max','registerCommand','sheets-pivot.config','_pivotConfigChange$','endRow','InterceptorManager','sheets-pivot.maxName','removeSourceRangeChange','dispose','name','_subjectCollectionChange','_injector','sheet.command.update-pivot-value-position','UpdatePivotTableSourceRangeCommand','rowStyle','RenamePivotFieldMutation','pluginName','width','Var\x20of\x20','_createExclusiveRange','updateDataFieldsCollection','maxDate','version','info','getFieldFormat','clearRenderCache','iterateField','isErrorValue','Subtotal','pushComputingStatusSubject','_model','zsqHWvxq\x20KtHRmkWvxq(YvHtqlt,\x20ksaYvHrtm)\x20{\x20\x20\x20\x20WRm\x20{\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20YvHtqltcqzxdeRWERRem\x20=\x20YvHtqlt.lkYvW(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20xRv5vqJtlle5t\x20=\x20DfVw.keRlt(eWxa(YvHtqltcqzxdeRWERRem[A]));\x20\x20\x20\x20\x20\x20\x20\x20vz\x20(!xRv5vqJtlle5t.sK)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xRv5vqJtlle5t.sK\x20=\x20wsQatR(YvHtqltcqzxdeRWERRem[p]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20vlPxRTtR\x20=\x20Wmktxz\x20PxRTtRuYxaeYfHxkt\x20!==\x20\x27sqKtzvqtK\x27\x20&&\x20ltYz\x20vqlWeqHtxz\x20PxRTtRuYxaeYfHxkt;\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20HxqWtSW\x20=\x20vlPxRTtR\x20?\x20ltYz\x20:\x20ovqKxo;\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20Qtlle5tPxRK\x20=\x20HxqWtSW.__Ieltgp__.keRlt(YvHtqltcqzxdeRWERRem[A]);\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20Qtlle5t\x20=\x20HxqWtSW.__NtS__.lWRvq5vzm(Qtlle5tPxRK);\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20lv5qeWsRtPxRK\x20=\x20HxqWtSW.__Ieltgp__.keRlt(YvHtqltcqzxdeRWERRem[L]);\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20lv5qeWsRt\x20=\x20HxqWtSW.__NtS__.lWRvq5vzm(lv5qeWsRtPxRK);\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20lv5qUeYvK\x20=\x20HxqWtSW.__4tRvzm__(lv5qeWsRt,\x20Qtlle5t,\x20ksaYvHrtm);\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20KxQevq\x20=\x20xRv5vqJtlle5t.KQ;\x20\x20\x20\x20\x20\x20\x20\x20zsqHWvxq\x20vlnxQevqJeWHhvq5(xdeWWtRq,\x20xNxlW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20keWWtRq\x20=\x20xdeWWtRq.RtkYeHt(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20hxlW\x20=\x20xNxlW.RtkYeHt(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20keWWtRqdeRWl\x20=\x20keWWtRq.lkYvW(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20hxlWdeRWl\x20=\x20hxlW.lkYvW(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vz\x20(!keWWtRq.vqHYsKtl(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RtWsRq\x20keWWtRq\x20===\x20hxlW;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vz\x20(keWWtRqdeRWl.Ytq5Wh\x20<\x20A\x20||\x20keWWtRqdeRWl[0]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RtWsRq\x20zeYlt;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20keWWtRqfszzvS\x20=\x20keWWtRqdeRWl.lYvHt(y).7xvq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x20hxlWfszzvS\x20=\x20hxlWdeRWl.lYvHt(-keWWtRqdeRWl.Ytq5Wh\x20+\x20y).7xvq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RtWsRq\x20keWWtRqfszzvS\x20===\x20hxlWfszzvS;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20YtW\x20KxQevqUeYvK\x20=\x20(KxQevq\x20&&\x20KxQevq.Ytq5Wh)\x20?\x20KxQevq.lxQt((KQcWtQ)\x20=>\x20vlnxQevqJeWHhvq5(KQcWtQ,\x20YxHeWvxq.hxlWqeQt))\x20:\x20WRst;\x20\x20\x20\x20\x20\x20\x20\x20vz\x20(YxHeWvxq.hxlWqeQt\x20===\x20\x27YxHeYhxlW\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KxQevqUeYvK\x20=\x20WRst;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20HxqlW\x204eYvK\x20=\x20lv5qUeYvK\x20&&\x20KxQevqUeYvK;\x20\x20\x20\x20\x20\x20\x20\x20RtWsRq\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204eYvK,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Qtlle5t:\x20xRv5vqJtlle5t,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20HeWHh\x20(tRRxR)\x20{\x20\x20\x20\x20\x20\x20\x20\x20RtWsRq\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204eYvK:\x20zeYlt,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Qtlle5t:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','disposableCollection','Column','ICommandService','BLANK_ROW_COUNT','blank','mergeWorksheetSnapshotWithDefault','@univerjs/rpc','push','getTextInfo','getUpdateRangeDeleteIds','collections','addPivotTableWithConfig','interceptor','PivotTable','getFieldDataType','removeField','_initGlobalComputed','SetPivotTableConfig','fields','getFormat','SetValuePivotFilter','_sheetsPivotTableService','foreach','sheets-pivot.dateGroup.date','disposeWithMe','limit\x20pivot','getPivotPerformCheck','sheets-pivot.cellDateGroupDisplay.minute','toJSON','RenameField','isNaN','DIV_BY_ZERO','getAutoFitColumnsMutations','registerRefRange','_ensurePivotTableRangeInfo','RANGE_TYPE','startCollectChangeset','PivotTableOperationEnum','some','updatePivotSource','get','_sheetInterceptorService','ObjectMatrix','_ensurePivotTableMatrixInfo','removeCollectionImp','pivotTableId','viewData$','_updatePivotTableInstanceCache','UniverProLicense','#1d32e9','SHEET_PIVOT_EXCLUSIVE_ID','getInsertRowColMutations','rowFields','COMMAND','SheetsPivotTableService','startColumn','ClearSelectionContentCommand','LS_CONFIG_KEY','cornerInfo','headerMap','sheets-pivot.dateGroup.year','SetPivotValueFilterMutation','sheets-pivot.dateGroup.yearQuarter','RemoveSheetsFilterMutation','sheet.command.update-date-group','transFromCellValue','PivotDataFieldTypeEnum','sheet.mutation.add-pivot-table','sheet.mutation.set-pivot-format','SheetsPivotTableConfigModel','colInfo','SetSortInfo','getSubUnitPivotRenderCache','setRangeKeyMap','concat','getRowCount','createValueField','endColumn','_subjectFieldsCollectionChange','forEach','leafStyle','generateNullCell','return\x20','MovePivotTableCommand','valid','sheet.command.move-pivot-table','sheets-pivot.cellDateGroupDisplay.yearMonthDate','_pivotRenderInfoCache','fieldsCollectionChange$','exports','_host','varp','UniverEngineFormula','contains','getSubUnitPivotConfigs','NORMAL','versions','getPivotDirtyViewInfo','grandTotal','getOwnPropertyDescriptor','getDate','options','getUnitId','NO_COMMERCIAL','updateConfigCache','SetOptions','date','UniverProEnginePivot','_sheetsSelectionsService','FontCache','pivotPerformCheck','_globalComputingSrv','GrandTotal','addField','_updateRenderEmptyCache','uniqueDataFieldName','_featureCalculationManagerService','isDateGroupField','dateType','filter','getIndexesByPathStr','PivotDataFieldDataTypeEnum','sheet.mutation.get-pivot-data-local','sheet.command.update-pivot-table-source-range','getDataFieldByTableId','sheets-pivot.emptyPivot.row','Expand','stringify','InsertSheetUndoMutationFactory','serializeRangeWithSpreadsheet','rangeCache','UpdateValuePositionMutation','dataRangeInfo','cornerRanges','originTargetInfo','_ensurePivotItemRenderInfoCache','PivotTableFiledAreaEnum','_initDataSendListener','endCollectChangeset','collectionConfig','handleAsyncResponse','excelDateToUnixMilliseconds','UniverCore','addFieldWithSourceId','MoveRangeMutation','colCount','data','_sheetsPivotRpcService','getFieldInfo','_initRegisterCommand','getSheets','SetRangeValuesUndoMutationFactory','clearExclusiveRangesByGroupId','addPivotTable','setSortInfo','deleteDataField','getPivotTableCellData','Inject','_dataSyncPrimaryController','getFilterInfo','getIntersectsPivotTable','AddPivotTable','pageStyle','getValue','RemoveColMutation','UniverProSheetsPivot','_requestResolvers','SetPivotSortMutation','Style','dataFields','SetRangeValuesMutation','CELL_CONTENT','_initConfig','NotName','subtotal','rowRanges','fieldIds','MUTATION','getRangeKeyList','setValue','getName','SetPivotValueFilterCommand','sheets-pivot.emptyPivot.values','setRangeValueUndoMutation','Collapse','error','getValueFilterInfos','_exclusiveRangeService','collectionChange$','SetPivotSetting','broadcastCollectionChange','sheet.command.remove-pivot-field','formJSON','_globalComputedEndHelpFunc','SetWorksheetColWidthMutation','cornerStyle','setValueFilterInfo','setConfig','sheets-pivot.subTotal','_globalComputedStartHelpFunc','getMatrixValue','sheet.mutation.remove-pivot-field','string','_pivotInitCompleted$','sheet.command.set-pivot-value-filter','set','notExecuteFormula','getAutoDisplayNameFunction','PivotCellStyleTypeEnum','targetCellInfo','workbook\x20is\x20not\x20found','delete','ΣValue','LifecycleService','new','drillDown','stdDev','keys','PivotCallbackEnum','getStyles','updateFieldPosition','sheet.mutation.add-group-collection','redos','areaInfo','PivotMultipleValueId','IResourceManagerService','COLUMN','setValuePivotFilter','_viewData','SheetsPivotDataSourceModel','_deletePivotTableInstanceCache','product','charCodeAt','#e6ebfa','sheet.mutation.set-pivot-option','isDateGroupFieldJSON','getOriginFieldId','_fieldsCollectionChange$','dimension','CommandType','sheets-pivot.stdDevpName','rowInfo','pushUndoRedo','updateViewData','getPivotItemRenderInfoCache','sheet.command.move-pivot-field','sheets-pivot.stdDevName','getActiveSheet','getMatrix','sheets-pivot.grandTotal','asObservable','getFormatInfo','add','_collectionConfigModel','row','781097pZlAKY','pbt','getPivotTableMatrixInfo','_pivotTableMatrixInfo','node','@univerjs/sheets-filter','resetPivotTable','isBottomTotal','AddPivotField','AddField','onCommandExecuted','isValue','sheet.mutation.pivot-update-value-position','SHEET_PIVOT_IN_MAIN_THREAD','2763110NRAPuW','sheet.mutation.rename-pivot-field','defaultThemeStyle','sheets-pivot.dateGroup.hour','DisposableCollection','PivotErrorTypeEnum','SetPivotSortCommand','updateAllDisplayName','unionPivotViewRange','RemoveField','PivotDateGroupFieldDateTypeEnum','Disposable','Row','map','sheet.mutation.set-pivot-filter','_subjectViewChange','getLastCol','type','UpdatePivotFieldSourceInfoMutation','updateFieldSourceInfo','displayName','sheets.tabs.sheet','lastCol','getId','updatePivotTableMatrixInfo','Count\x20of\x20','onQueryStart','next','UniverEngineRender','isBaseGroupField','entries','getColumnCount','level','_textInfo','addCollection','addCollectionByJSON','_sheetsPivotTableAdaptorModel','StdDevp\x20of\x20','amd','sortInfo','1057964OVzjrS','sheet.command.set-pivot-fields-config','DEFAULT_WORKSHEET_COLUMN_COUNT','getTargetByPivotId','getSheetBySheetId','AddPivotTableMutation','Injector','subTotalStyle','DataField','pivotConfigChange$','registerCallbackWithEvent','InterceptorEffectEnum','sheets-pivot.cellDateGroupDisplay.hourMinute','addDataFieldWithoutUnitInfo','SheetInterceptorService','_collectionChange$','isFeatureAuthorizedWithinTime','SheetsPivotRPCService','resetArea','UNIVER_SHEET','sheets-pivot.sumName','addPivotField','_resourceManagerService','Rectangle','splice','setName','generateMutationsByRanges','RemovePivotFieldCommand','IFeatureCalculationManagerService','_commandService','object','setPivotInitCompleted','getConfig','setRangeValueRedoMutation','shouldClear','11505448FHDeSc','setPivotSort','Quarter','addDirtyPivotTable','getFontStyleString','forValue','size','sheets-pivot.dateGroup.hourMinute','DateGroupField','setPivotTable','colHeaderMap','minDate','col','getValuePosition','sheets-pivot.varpName','updateConfig','#FFFFFF','updatePivotTableRangeInfo','reduce','_refRangeService','sheet.mutation.add-pivot-field','value','PivotTableValuePositionEnum','sheet.command.reset-pivot-fields-config','7RDTZyK','Plugin','matrix','#f4f4f5','getMonth','getFieldIds','_deleteModelCache','ErrorType','var','PivotSubtotalTypeEnum','MovePivotFieldCommand','sheets-pivot.minName','_ensurePivotItemRenderValueMatrixCache','dataFieldManagerConfig','generateHexNumber','_refRangeHandle','#e6ebfb','generateSetRangeValueMutations','getLastRow','Filter','DataFieldManager','getTextSize','Panel','_viewUpdate$','unshiftString','BLANK_PLACEHOLDER','getFieldCountByArea','getDataFieldByRangeKey','deleteField','sheet.mutation.set-pivot-field-subtotal-type','refreshData','RemovePivotFieldMutation','_pivotRenderValueMatrixCache','None','sheet.mutation.pivot-update-field-source-info','subUnitId','AddPivotFieldMutation','_initViewModelBySheetInterceptor','NotNumber','_initPivotTextInfo','getSheetId','_dataFieldManagerCollection','UniverRpc','values','UniverLicensePlugin','getCurrentUnitForType','_initLocale','SetFieldFormat','IUniverInstanceService','DEFAULT_PIVOT_NUMBER','filterFields','LocaleService','remove'];_0x1428=function(){return _0x115b33;};return _0x1428();}(function(_0x4e7353,_0x18485d){const _0x4ad7e2=_0x5a7b,_0x1e0c1c=_0x4e7353();while(!![]){try{const _0x1218af=-parseInt(_0x4ad7e2(0x201))/0x1+parseInt(_0x4ad7e2(0x312))/0x2+-parseInt(_0x4ad7e2(0x37e))/0x3+parseInt(_0x4ad7e2(0x237))/0x4+-parseInt(_0x4ad7e2(0x20f))/0x5+parseInt(_0x4ad7e2(0x359))/0x6+-parseInt(_0x4ad7e2(0x272))/0x7*(-parseInt(_0x4ad7e2(0x25a))/0x8);if(_0x1218af===_0x18485d)break;else _0x1e0c1c['push'](_0x1e0c1c['shift']());}catch(_0x2c4ab7){_0x1e0c1c['push'](_0x1e0c1c['shift']());}}}(_0x1428,0x8cff9),function(_0x5b4356,_0x1d5878){const _0x32f7e2=_0x5a7b;typeof exports==_0x32f7e2(0x255)&&typeof module<'u'?_0x1d5878(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==_0x32f7e2(0x385)&&define[_0x32f7e2(0x235)]?define([_0x32f7e2(0x15b),_0x32f7e2(0x358),'@univerjs/core','@univerjs/engine-formula','@univerjs/sheets','rxjs',_0x32f7e2(0x3a6),_0x32f7e2(0x206),_0x32f7e2(0x422),_0x32f7e2(0x325)],_0x1d5878):(_0x5b4356=typeof globalThis<'u'?globalThis:_0x5b4356||self,_0x1d5878(_0x5b4356[_0x32f7e2(0x1a7)]={},_0x5b4356[_0x32f7e2(0x16d)],_0x5b4356[_0x32f7e2(0x190)],_0x5b4356[_0x32f7e2(0x15e)],_0x5b4356['UniverSheets'],_0x5b4356[_0x32f7e2(0x2ef)],_0x5b4356[_0x32f7e2(0x132)],_0x5b4356[_0x32f7e2(0x2b4)],_0x5b4356[_0x32f7e2(0x29c)],_0x5b4356[_0x32f7e2(0x22b)]));}(this,function(_0x5d1b85,_0x2a5883,_0x54f2e8,_0x54c2ed,_0x3ff8f7,_0x309d6a,_0x5731b9,_0x372606,_0x268114,_0x39862a){'use strict';const _0x2d8507=_0x5a7b;var _0xb3914b=Object[_0x2d8507(0x2d7)],_0x18ad56=(_0x3dcb91,_0x854953,_0x53c1a1)=>_0x854953 in _0x3dcb91?_0xb3914b(_0x3dcb91,_0x854953,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53c1a1}):_0x3dcb91[_0x854953]=_0x53c1a1,_0x2ffda7=(_0x2605ea,_0x4a5ae9,_0x4a40b3)=>_0x18ad56(_0x2605ea,typeof _0x4a5ae9!='symbol'?_0x4a5ae9+'':_0x4a5ae9,_0x4a40b3);const _0x5ca7a2=Number[_0x2d8507(0x38f)](0x68bbf202),_0x518bc=0x10,_0x4992c4=0x1,_0x269598='SHEET_PIVOT_TABLE_PLUGIN',_0x37a9d7=0x1,_0x2dbeff='rgb(240,241,243)',_0x1fa9a6='rgb(255,255,255)',_0x2ce6d4='#b2b2b2',_0x403b0c=_0x2d8507(0x275),_0xd2e1e1=_0x2d8507(0x275),_0x2550b0='#eceeff',_0x39a797=_0x2d8507(0x133),_0x47079d=_0x2d8507(0x26a),_0x3234e0=_0x2d8507(0x1eb),_0x5c3b52=_0x2d8507(0x133),_0x299ce7=_0x2d8507(0x26a),_0x2a270d=_0x2d8507(0x282),_0x33bbb5=0xe,_0x4008cb=0x6;var _0x1db26b=(_0x4a7736=>(_0x4a7736[_0x2d8507(0x326)]='existing',_0x4a7736['New']=_0x2d8507(0x1d8),_0x4a7736))(_0x1db26b||{});const _0x4cfa11={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x4ba8bb=0x1e,_0x11ec2e={'b':{'s':0x1,'cl':{'rgb':_0x2ce6d4}},'l':{'s':0x1,'cl':{'rgb':_0x2ce6d4}},'r':{'s':0x1,'cl':{'rgb':_0x2ce6d4}},'t':{'s':0x1,'cl':{'rgb':_0x2ce6d4}}},_0x1a992a={'bg':{'rgb':_0x2dbeff},'ht':0x2,'vt':0x2,'tb':0x1},_0x2bad7e={'bg':{'rgb':_0x1fa9a6},'ht':0x2,'vt':0x2,'tb':0x1},_0x4dc25d={'rowStyle':{'bg':{'rgb':_0x2a270d},'bd':_0x11ec2e,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x5c3b52},'bd':null,'cl':{'rgb':_0x299ce7},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x11ec2e,'bg':{'rgb':_0x3234e0},'vt':0x2},'cornerStyle':{'bd':_0x11ec2e,'bg':{'rgb':_0x2550b0},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x11ec2e,'bg':{'rgb':_0x403b0c},'vt':0x2},'leafStyle':{'bd':_0x11ec2e,'bg':{'rgb':_0xd2e1e1},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x39a797},'cl':{'rgb':_0x47079d},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x11ec2e,'vt':0x2}};function _0x16f53d(_0x388e66,_0x41dd62,_0x3cf831){const _0x303d37=_0x2d8507,_0x1a2538=_0x388e66[_0x303d37(0x12a)](_0x54f2e8[_0x303d37(0x2a5)]),_0x8b2f3c=_0x3cf831[_0x303d37(0x3b9)]('_');switch(_0x41dd62){case _0x2a5883[_0x303d37(0x219)][_0x303d37(0x327)]:return _0x1a2538['t'](_0x303d37(0x331),..._0x8b2f3c);case _0x2a5883[_0x303d37(0x219)][_0x303d37(0x3e8)]:return _0x1a2538['t'](_0x303d37(0x437),..._0x8b2f3c);case _0x2a5883[_0x303d37(0x219)][_0x303d37(0x398)]:return _0x1a2538['t'](_0x303d37(0x2fe),..._0x8b2f3c);case _0x2a5883['PivotDateGroupFieldDateTypeEnum'][_0x303d37(0x3f5)]:return _0x1a2538['t'](_0x303d37(0x243),..._0x8b2f3c);case _0x2a5883[_0x303d37(0x219)][_0x303d37(0x3b4)]:return _0x1a2538['t'](_0x303d37(0x300),..._0x8b2f3c);case _0x2a5883[_0x303d37(0x219)][_0x303d37(0x37c)]:return _0x1a2538['t'](_0x303d37(0x3ed),..._0x8b2f3c);case _0x2a5883[_0x303d37(0x219)][_0x303d37(0x25c)]:return _0x1a2538['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x8b2f3c);case _0x2a5883['PivotDateGroupFieldDateTypeEnum']['YearMonth']:return _0x1a2538['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x8b2f3c);case _0x2a5883[_0x303d37(0x219)][_0x303d37(0x3b0)]:return _0x1a2538['t'](_0x303d37(0x158),..._0x8b2f3c);case _0x2a5883[_0x303d37(0x219)]['YearQuarter']:return _0x1a2538['t'](_0x303d37(0x356),..._0x8b2f3c);}return'';}const _0x577da8=(_0x196832,_0x4420e0,_0x31f163,_0x2d7a57)=>{const _0x59b406=_0x2d8507;let _0x1473ab;const _0x2820e8=_0x196832[_0x59b406(0x12a)](_0x54f2e8[_0x59b406(0x2a2)])['getCurrentUnitForType'](_0x54f2e8[_0x59b406(0x3c9)][_0x59b406(0x24a)]);if(!_0x2820e8)return null;const _0x15ecd5=_0x2820e8[_0x59b406(0x1dd)]();let _0x31775e;if(_0x31f163&&(_0x31775e=_0x15ecd5[_0x59b406(0x1b5)](_0x31f163)),_0x4420e0!=null&&_0x4420e0['v']||(_0x4420e0==null?void 0x0:_0x4420e0['v'])===0x0){_0x1473ab||(_0x1473ab={});const _0x35ff79=_0x1e9ad6(_0x4420e0['v']);typeof _0x35ff79==_0x59b406(0x2e4)?_0x1473ab['t']=_0x54f2e8[_0x59b406(0x3a5)][_0x59b406(0x3eb)]:typeof _0x35ff79==_0x59b406(0x1cc)&&(_0x1473ab['t']=_0x54f2e8[_0x59b406(0x3a5)][_0x59b406(0x360)]),_0x1473ab['v']=_0x35ff79;}if((_0x4420e0!=null&&_0x4420e0['i']||(_0x4420e0==null?void 0x0:_0x4420e0['i'])===0x0)&&(_0x1473ab||(_0x1473ab={}),_0x1473ab['fi']=_0x4420e0['i']),_0x4420e0!=null&&_0x4420e0['s']&&(_0x1473ab||(_0x1473ab={}),_0x1473ab[_0x59b406(0x202)]=_0x4420e0['s']),_0x31f163&&(_0x1473ab||(_0x1473ab={}),_0x1473ab['s']=_0x31775e),_0x2d7a57&&_0x1473ab!=null&&_0x1473ab['v']&&_0x1473ab[_0x59b406(0x202)]!==_0x2a5883[_0x59b406(0x1d2)][_0x59b406(0x172)]&&_0x1473ab[_0x59b406(0x202)]!==_0x2a5883[_0x59b406(0x1d2)][_0x59b406(0x418)]){const _0x2c5c6a=String(_0x1473ab['v']),{dateType:_0x990cc0}=_0x2d7a57;_0x1473ab['v']=_0x16f53d(_0x196832,_0x990cc0,_0x2c5c6a),_0x1473ab['t']=_0x54f2e8[_0x59b406(0x3a5)]['STRING'];}return _0x1473ab;},_0x4318d7=(_0x584bd6,_0x4399c3,_0x48640a,_0x22aca5)=>{const _0x3dcd57=_0x2d8507;var _0x673482,_0x4b191c,_0x1689ab,_0x1ed8c7,_0x1297e6,_0x1301c8,_0x11d418,_0x506652,_0x252897,_0x1b717c,_0x5608be,_0x382800,_0x4d6fb6,_0x29aa36;const _0x554c28=_0x48640a[_0x3dcd57(0x1d3)],{cornerView:_0x3dff22,rowView:_0x4ad291,colView:_0x564bbd,dataView:_0x376ed1,pageView:_0x2a0041,formatMap:_0x359351,groupInfo:_0x5a42c1}=_0x4399c3,{row:_0x90f644,col:_0x1bf5a3}=_0x554c28,_0x5dc732=new _0x54f2e8[(_0x3dcd57(0x12c))](),_0x3b6958={},_0x5b3bb0={},_0x586830={},_0x5c4fa6={},_0x3389ea={};let _0x13f29c=_0x90f644,_0x466b21=_0x1bf5a3;Object[_0x3dcd57(0x1db)](_0x2a0041[_0x3dcd57(0x194)])[_0x3dcd57(0x151)](_0x2ffddd=>{const _0x387051=_0x3dcd57;Object[_0x387051(0x1db)](_0x2a0041['data'][Number(_0x2ffddd)])[_0x387051(0x151)](_0x111d43=>{const _0x273c08=_0x387051,_0x5701d5={..._0x2a0041['data'][Number(_0x2ffddd)][Number(_0x111d43)]};_0x5dc732[_0x273c08(0x1b5)](Number(_0x2ffddd)+_0x13f29c,Number(_0x111d43)+_0x466b21,_0x577da8(_0x584bd6,_0x5701d5,_0x4dc25d[_0x273c08(0x1a4)]));});});const _0xcd55dc=Object[_0x3dcd57(0x1db)](_0x2a0041[_0x3dcd57(0x194)])[_0x3dcd57(0x31c)];_0x13f29c+=_0xcd55dc+(_0xcd55dc?_0x37a9d7:0x0);const _0x27fa09=_0x3dff22[_0x3dcd57(0x14d)](),_0x33eb65=_0x3dff22[_0x3dcd57(0x335)]();for(let _0xd690a5=0x0;_0xd690a5<_0x27fa09;_0xd690a5++)for(let _0x43e7a3=0x0;_0x43e7a3<_0x33eb65;_0x43e7a3++){const _0x214c22={...(_0x4b191c=(_0x673482=_0x3dff22[_0x3dcd57(0x194)])==null?void 0x0:_0x673482[_0xd690a5])==null?void 0x0:_0x4b191c[_0x43e7a3]};_0x214c22&&((_0x1689ab=_0x4ad291[_0x3dcd57(0x13d)][_0x43e7a3])!=null&&_0x1689ab[_0x3dcd57(0x20c)])&&_0x43e7a3===_0x33eb65-0x1&&_0xd690a5===_0x27fa09-0x1&&(_0x214c22['v']=''+_0x22aca5['sheets-pivot.value']),_0x5dc732[_0x3dcd57(0x1b5)](_0xd690a5+_0x13f29c,_0x43e7a3+_0x466b21,_0x577da8(_0x584bd6,_0x214c22,_0x4dc25d[_0x3dcd57(0x1c5)]));}for(let _0x8c2c2c=0x0;_0x8c2c2c<_0x3dff22['info']['length'];_0x8c2c2c++)_0x3dff22[_0x3dcd57(0x413)][_0x8c2c2c]&&(_0x586830[''+(_0x8c2c2c+_0x466b21)]=_0x3dff22[_0x3dcd57(0x413)][_0x8c2c2c]);_0x466b21+=_0x33eb65;const _0x21f006=_0x564bbd['headerMap'],_0x5779e5=_0x564bbd[_0x3dcd57(0x284)]()>=0x0?_0x564bbd[_0x3dcd57(0x284)]()+0x1:0x0,_0x28bd7c=_0x564bbd['getLastCol']()>=0x0?_0x564bbd[_0x3dcd57(0x21f)]()+0x1:0x0;for(let _0x5c73e9=0x0;_0x5c73e9<_0x28bd7c;_0x5c73e9++){for(let _0x4d34e5=0x0;_0x4d34e5<_0x5779e5;_0x4d34e5++){const _0x11feee={...(_0x1297e6=(_0x1ed8c7=_0x564bbd['data'])==null?void 0x0:_0x1ed8c7[_0x4d34e5])==null?void 0x0:_0x1297e6[_0x5c73e9]},_0x2e737a=(_0x1301c8=_0x21f006[_0x4d34e5])==null?void 0x0:_0x1301c8['tableFieldId'],_0x33a48e=_0x359351[_0x2e737a],_0x346888=_0x5a42c1[_0x2e737a];_0x11feee&&(_0x11feee['v']=_0x5cf288(_0x11feee,_0x4d34e5===0x0&&((_0x11d418=_0x564bbd[_0x3dcd57(0x2c6)](_0x5c73e9+0x1))==null?void 0x0:_0x11d418['isValue']),_0x33a48e,_0x22aca5));let _0x450cc6;_0x33a48e?_0x450cc6={..._0x4dc25d[_0x3dcd57(0x33f)],'n':{'pattern':_0x33a48e}}:_0x450cc6={..._0x4dc25d[_0x3dcd57(0x33f)]},_0x5dc732[_0x3dcd57(0x1b5)](_0x4d34e5+_0x13f29c,_0x5c73e9+_0x466b21,_0x577da8(_0x584bd6,_0x11feee,_0x450cc6,_0x346888));}_0x564bbd[_0x3dcd57(0x413)][_0x5c73e9]&&(_0x5b3bb0[''+(_0x5c73e9+_0x466b21)]=_0x564bbd[_0x3dcd57(0x413)][_0x5c73e9]),_0x564bbd['headerMap'][_0x5c73e9+0x1]&&(_0x3389ea[''+(_0x5c73e9+_0x13f29c+0x1)]=_0x564bbd['headerMap'][_0x5c73e9+0x1]);}_0x13f29c+=_0x27fa09;const _0x35b41d=_0x4ad291[_0x3dcd57(0x13d)],_0x46cad4=_0x4ad291[_0x3dcd57(0x284)]()>=0x0?_0x4ad291[_0x3dcd57(0x284)]()+0x1:0x0,_0x57a2ca=_0x4ad291['getLastCol']()>=0x0?_0x4ad291[_0x3dcd57(0x21f)]()+0x1:0x0;for(let _0x3c5193=0x0;_0x3c5193<_0x46cad4;_0x3c5193++){for(let _0x2de75b=0x0;_0x2de75b<_0x57a2ca;_0x2de75b++){const _0xf81c19={...(_0x252897=(_0x506652=_0x4ad291[_0x3dcd57(0x194)])==null?void 0x0:_0x506652[_0x3c5193])==null?void 0x0:_0x252897[_0x2de75b]},_0x152961=(_0x1b717c=_0x35b41d[_0x2de75b])==null?void 0x0:_0x1b717c[_0x3dcd57(0x34a)],_0x5aad28=_0x359351[_0x152961],_0x1aba7c=_0x5a42c1[_0x152961];_0xf81c19&&(_0xf81c19['v']=_0x5cf288(_0xf81c19,!0x1,_0x5aad28,_0x22aca5));let _0x54cf35;_0x4ad291[_0x3dcd57(0x413)][_0x3c5193]['level']===_0x4ad291[_0x3dcd57(0x335)]()?_0x54cf35=_0x4dc25d[_0x3dcd57(0x152)]:_0x4ad291[_0x3dcd57(0x413)][_0x3c5193][_0x3dcd57(0x208)]?_0x54cf35=_0x4ad291[_0x3dcd57(0x413)][_0x3c5193][_0x3dcd57(0x22f)]===0x0?_0x4dc25d[_0x3dcd57(0x164)]:_0x4dc25d['subTotalStyle']:_0x54cf35=_0x4dc25d[_0x3dcd57(0x40a)],_0x5aad28&&(_0x54cf35={..._0x54cf35,'n':{'pattern':_0x5aad28}}),_0x5dc732[_0x3dcd57(0x1b5)](_0x3c5193+_0x13f29c,_0x2de75b+_0x1bf5a3,_0x577da8(_0x584bd6,_0xf81c19,_0x54cf35,_0x1aba7c));}_0x4ad291[_0x3dcd57(0x413)][_0x3c5193]&&(_0x3b6958[''+(_0x3c5193+_0x13f29c)]=_0x4ad291[_0x3dcd57(0x413)][_0x3c5193]),_0x4ad291[_0x3dcd57(0x13d)][_0x3c5193]&&(_0x5c4fa6[''+(_0x3c5193+_0x1bf5a3)]=_0x4ad291[_0x3dcd57(0x13d)][_0x3c5193]);}const _0x5d1e9b=_0x376ed1[_0x3dcd57(0x14d)](),_0x3838c1=_0x376ed1[_0x3dcd57(0x335)]();for(let _0x4dabec=0x0;_0x4dabec<_0x5d1e9b;_0x4dabec++)for(let _0x1862a8=0x0;_0x1862a8<_0x3838c1;_0x1862a8++){const _0x5f55b9={...(_0x382800=(_0x5608be=_0x376ed1[_0x3dcd57(0x194)])==null?void 0x0:_0x5608be[_0x4dabec])==null?void 0x0:_0x382800[_0x1862a8]};let _0x353386;_0x4ad291[_0x3dcd57(0x413)][_0x4dabec][_0x3dcd57(0x208)]?_0x353386=_0x4ad291[_0x3dcd57(0x413)][_0x4dabec][_0x3dcd57(0x22f)]===0x0?_0x4dc25d[_0x3dcd57(0x164)]:_0x4dc25d[_0x3dcd57(0x23e)]:_0x353386=_0x4dc25d['dataStyle'];const _0xb622d1=_0x4ad291['info'][_0x4dabec][_0x3dcd57(0x329)],_0x4cc878=_0x564bbd[_0x3dcd57(0x413)][_0x1862a8][_0x3dcd57(0x329)],_0x231069=Math['max'](_0xb622d1,_0x4cc878),_0x3e5ea3=_0x48640a['fieldsConfig']['valueFields'][_0x3dcd57(0x14c)]();let _0x18d1ca='';_0x231069<0x0?_0x18d1ca=(_0x4d6fb6=_0x3e5ea3[0x0])!=null?_0x4d6fb6:'':_0x18d1ca=(_0x29aa36=_0x3e5ea3[_0x231069])!=null?_0x29aa36:'';const _0x2623b6=_0x359351[_0x18d1ca];_0x2623b6&&(_0x353386={..._0x353386,'n':{'pattern':_0x2623b6}}),_0x5dc732[_0x3dcd57(0x1b5)](_0x4dabec+_0x13f29c,_0x1862a8+_0x466b21,_0x577da8(_0x584bd6,_0x5f55b9,_0x353386));}return{'valueMatrix':_0x5dc732,'rowInfo':_0x3b6958,'colInfo':_0x5b3bb0,'cornerInfo':_0x586830,'rowHeaderMap':_0x5c4fa6,'colHeaderMap':_0x3389ea};};function _0x5cf288(_0x525c1e,_0x460f32,_0x4521f8,_0x30e395){const _0x2a0760=_0x2d8507;let _0x7ce66b=_0x525c1e['v'];_0x460f32&&(_0x7ce66b=''+_0x30e395[_0x2a0760(0x2eb)]);const _0x3654d0=_0x525c1e['t']&&(_0x525c1e['t']&_0x2a5883['PivotViewCellValueTypeEnum'][_0x2a0760(0x420)])>0x0;if(_0x3654d0&&(_0x7ce66b=''+_0x30e395[_0x2a0760(0x33a)]),_0x525c1e['s']===_0x2a5883[_0x2a0760(0x1d2)][_0x2a0760(0x418)]){let _0x29858f=_0x7ce66b,_0x421a55='';_0x2a5883['isPrefixValue'](_0x7ce66b)&&(_0x29858f=_0x7ce66b['prefix'],_0x421a55=_0x7ce66b[_0x2a0760(0x26f)]);const _0x109d5b=_0x4521f8&&!_0x3654d0?_0x54f2e8[_0x2a0760(0x391)][_0x2a0760(0x380)](_0x4521f8,Number(_0x29858f)):_0x29858f;_0x421a55?_0x7ce66b=_0x109d5b+'\x20'+_0x421a55:_0x7ce66b=_0x109d5b+'\x20'+_0x30e395[_0x2a0760(0x1c8)];}else _0x525c1e['s']===_0x2a5883[_0x2a0760(0x1d2)][_0x2a0760(0x172)]&&(_0x7ce66b=_0x7ce66b+'\x20'+_0x30e395[_0x2a0760(0x1fb)]);return _0x7ce66b;}function _0x1e9ad6(_0x51f48b){const _0x2bf6c8=_0x2d8507;if(_0x2a5883[_0x2bf6c8(0x417)](_0x51f48b)){const {errorType:_0x2d93e8}=_0x51f48b;switch(_0x2d93e8){case _0x2a5883[_0x2bf6c8(0x214)][_0x2bf6c8(0x2ca)]:return _0x54c2ed[_0x2bf6c8(0x279)][_0x2bf6c8(0x43b)];case _0x2a5883['PivotErrorTypeEnum'][_0x2bf6c8(0x298)]:return _0x54c2ed['ErrorType']['NUM'];case _0x2a5883['PivotErrorTypeEnum'][_0x2bf6c8(0x395)]:return _0x54c2ed[_0x2bf6c8(0x279)]['NAME'];case _0x2a5883[_0x2bf6c8(0x214)][_0x2bf6c8(0x1af)]:return _0x54c2ed['ErrorType'][_0x2bf6c8(0x2ea)];case _0x2a5883[_0x2bf6c8(0x214)][_0x2bf6c8(0x35c)]:return _0x54c2ed['ErrorType'][_0x2bf6c8(0x316)];}}return _0x51f48b;}function _0x8545d6(_0x5c7d1c,_0x3b2748,_0x3265e0=!0x1,_0x3d1724=!0x1){const _0x1b9b46=_0x2d8507,{data:_0x55c020}=_0x3b2748,_0x350c48=_0x3b2748['getRowCount'](),_0x42b9b1=_0x3b2748[_0x1b9b46(0x335)]();if(_0x350c48<=0x0||_0x42b9b1<=0x0)return[];const _0x166cea=_0x3b2748[_0x1b9b46(0x21f)](),_0x58ffb6=_0x3b2748[_0x1b9b46(0x284)](),_0x518c4e=_0x3d1724?_0x58ffb6>=0x0?_0x58ffb6+0x1:0x0:_0x350c48,_0x27b8c8=_0x3d1724?_0x166cea>=0x0?_0x166cea+0x1:0x0:_0x42b9b1,{row:_0x506128,col:_0x3812c9}=_0x5c7d1c,_0x388381=_0x506128,_0x54e330=_0x3812c9;if(_0x3265e0){const _0x26cb39=[];for(const [_0x25ad4a,_0x2e8632]of Object[_0x1b9b46(0x22d)](_0x55c020))for(const [_0x1319c2,_0x1a5f7f]of Object['entries'](_0x2e8632))_0x26cb39[_0x1b9b46(0x423)](_0x54f2e8['cellToRange'](_0x388381+Number(_0x25ad4a),_0x54e330+Number(_0x1319c2)));return _0x26cb39;}else{const _0x171c76=_0x3d1724?_0x518c4e>0x0?0x1:0x0:0x1,_0x1d694d=_0x3d1724?_0x27b8c8>0x0?0x1:0x0:0x1,_0x338fe4=_0x506128+_0x518c4e-_0x171c76,_0x210ac7=_0x3812c9+_0x27b8c8-_0x1d694d;return[{'startRow':_0x388381,'startColumn':_0x54e330,'endRow':_0x338fe4,'endColumn':_0x210ac7}];}}const _0x5c38dc=_0x2d8507(0x20e),_0x5b12b1=_0x2d8507(0x134);var _0x5642d1=(_0x1084be=>(_0x1084be[_0x2d8507(0x285)]='filter',_0x1084be[_0x2d8507(0x288)]=_0x2d8507(0x366),_0x1084be[_0x2d8507(0x209)]=_0x2d8507(0x24c),_0x1084be[_0x2d8507(0x31e)]=_0x2d8507(0x31e),_0x1084be[_0x2d8507(0x1a3)]='addPivotTable',_0x1084be['MovePivotField']=_0x2d8507(0x2aa),_0x1084be[_0x2d8507(0x386)]=_0x2d8507(0x31b),_0x1084be[_0x2d8507(0x2db)]=_0x2d8507(0x35a),_0x1084be[_0x2d8507(0x2e3)]=_0x2d8507(0x34c),_0x1084be[_0x2d8507(0x33b)]=_0x2d8507(0x25b),_0x1084be[_0x2d8507(0x1bf)]=_0x2d8507(0x379),_0x1084be[_0x2d8507(0x3e6)]='updatePivotSource',_0x1084be[_0x2d8507(0x3be)]='updateValuePosition',_0x1084be[_0x2d8507(0x2c0)]='drillDown',_0x1084be[_0x2d8507(0x430)]=_0x2d8507(0x1e5),_0x1084be[_0x2d8507(0x42d)]=_0x2d8507(0x389),_0x1084be[_0x2d8507(0x3f8)]=_0x2d8507(0x207),_0x1084be))(_0x5642d1||{});const _0x29e39d={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x2d8507(0x3a9),'sheets-pivot.grandTotalText':_0x2d8507(0x2ed),'sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x2d8507(0x322),'sheets-pivot.countName':_0x2d8507(0x228),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x2d8507(0x301),'sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0x2d8507(0x3d5),'sheets-pivot.stdDevpName':_0x2d8507(0x234),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x2d8507(0x40e),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':'value','sheets-pivot.blank':_0x2d8507(0x420),'sheets-pivot.emptyPivot.filter':_0x2d8507(0x285),'sheets-pivot.emptyPivot.row':_0x2d8507(0x21b),'sheets-pivot.emptyPivot.column':_0x2d8507(0x41d),'sheets-pivot.emptyPivot.values':'Values'},_0x347c78={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x2dbc74=_0x54f2e8[_0x2d8507(0x3b7)](_0x2d8507(0x170)),_0x23ce83=_0x54f2e8['createInterceptorKey']('pivotMutationGenerate');var _0xb4cdcd=(_0x1adae2=>(_0x1adae2[_0x2d8507(0x1fe)]=_0x2d8507(0x1fe),_0x1adae2[_0x2d8507(0x1d5)]=_0x2d8507(0x1d5),_0x1adae2[_0x2d8507(0x345)]='update',_0x1adae2))(_0xb4cdcd||{}),_0x3278cc=(_0x111b5a=>(_0x111b5a['Add']=_0x2d8507(0x1fe),_0x111b5a[_0x2d8507(0x340)]=_0x2d8507(0x1cf),_0x111b5a['Delete']=_0x2d8507(0x1d5),_0x111b5a))(_0x3278cc||{});const _0x72d3d7={'type':_0x54f2e8['CommandType'][_0x2d8507(0x1b3)],'id':_0x2d8507(0x17c),'handler':()=>!0x0},_0x513e3f={'type':_0x54f2e8['CommandType'][_0x2d8507(0x1b3)],'id':_0x2d8507(0x3a3),'handler':()=>!0x0},_0x53b34b={'type':_0x54f2e8[_0x2d8507(0x1f1)]['MUTATION'],'id':_0x2d8507(0x314),'handler':()=>!0x0},_0x55ea62={'type':_0x54f2e8[_0x2d8507(0x1f1)]['MUTATION'],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x5cd47b={'type':_0x54f2e8[_0x2d8507(0x1f1)]['MUTATION'],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0};var _0x38b3fd=Object[_0x2d8507(0x165)],_0x368543=(_0x45b989,_0x13ef40,_0x16ab3b,_0x53e3f6)=>{const _0x30a356=_0x2d8507;for(var _0x1d9a5b=_0x53e3f6>0x1?void 0x0:_0x53e3f6?_0x38b3fd(_0x13ef40,_0x16ab3b):_0x13ef40,_0x1d9477=_0x45b989[_0x30a356(0x31c)]-0x1,_0x58e1d8;_0x1d9477>=0x0;_0x1d9477--)(_0x58e1d8=_0x45b989[_0x1d9477])&&(_0x1d9a5b=_0x58e1d8(_0x1d9a5b)||_0x1d9a5b);return _0x1d9a5b;},_0x1e17ed=(_0x501c56,_0x45b077)=>(_0x5a8c37,_0xe00289)=>_0x45b077(_0x5a8c37,_0xe00289,_0x501c56);_0x5d1b85['SheetsPivotRPCService']=class extends _0x54f2e8[_0x2d8507(0x21a)]{constructor(_0x1884a2){const _0x4fdc4c=_0x2d8507;super(),_0x2ffda7(this,_0x4fdc4c(0x1a8),new Map()),this['_commandService']=_0x1884a2;}[_0x2d8507(0x18e)](_0x28bc58){const _0x4be64f=_0x2d8507,{version:_0x38e77d}=_0x28bc58,_0x13ace0=this[_0x4be64f(0x1a8)]['get'](_0x38e77d);_0x13ace0&&(_0x13ace0(_0x28bc58),this[_0x4be64f(0x1a8)][_0x4be64f(0x1d5)](_0x38e77d));}[_0x2d8507(0x3e9)](_0x2a59f8){return new Promise((_0x5cdc75,_0x4225d6)=>{const _0xe004ba=_0x5a7b,_0x8570de=this[_0xe004ba(0x3f7)]();this['_requestResolvers'][_0xe004ba(0x1cf)](_0x8570de,_0x5cdc75),this['_commandService'][_0xe004ba(0x328)](_0x72d3d7['id'],{'version':_0x8570de,..._0x2a59f8},{'onlyLocal':!0x0});});}[_0x2d8507(0x3f7)](){const _0x2686dc=_0x2d8507;return Math[_0x2686dc(0x2f8)]()[_0x2686dc(0x2be)](0x24)[_0x2686dc(0x37f)](0x2,0x10);}},_0x5d1b85['SheetsPivotRPCService']=_0x368543([_0x1e17ed(0x0,_0x54f2e8['Inject'](_0x54f2e8['ICommandService']))],_0x5d1b85[_0x2d8507(0x248)]);const _0x15f28b={0x0:'0',0x1:'8',0x2:'C',0x3:'L',0x4:'v',0x5:'g',0x6:'Q',0x7:'j',0x8:'T',0x9:'9','y':'1','A':'2','L':'3','p':'4','B':'5','g':'6','i':'7','e':'a','a':'b','H':'c','K':'d','t':'e','z':'f','h':'h','v':'i','T':'k','Y':'l','Q':'m','q':'n','x':'o','k':'p','j':'q','R':'r','l':'s','W':'t','s':'u','o':'w','S':'x','m':'y','b':'z','E':'A','I':'B','n':'D','Z':'E','C':'F','u':'G','N':'H','c':'I','D':'J','r':'K','J':'M','w':'N','V':'O','d':'P','O':'R','f':'S','F':'U','U':'V','P':'W','G':'X','M':'Y','X':'Z'},_0x15e879=_0x2d8507(0x41b),_0x143ed6=_0x2a599b=>{const _0x3f2364=_0x2d8507;var _0x31cae3;return((_0x31cae3=_0x2a599b[_0x3f2364(0x3e1)])==null?void 0x0:_0x31cae3['dataStream']['replace'](/\r\n$/,''))||'';};class _0x1a2d9a extends _0x2a5883[_0x2d8507(0x286)]{constructor(_0x17c4fc,_0x1b350b){const _0x3b178e=_0x2d8507;super(),_0x2ffda7(this,_0x3b178e(0x3a1),{}),_0x2ffda7(this,_0x3b178e(0x3dd)),_0x2ffda7(this,_0x3b178e(0x15c)),(this[_0x3b178e(0x3dd)]=_0x1b350b,this[_0x3b178e(0x15c)]=_0x17c4fc);}['initDataRanges'](){const _0x4ed0ff=_0x2d8507;for(const _0x5364ab in this[_0x4ed0ff(0x1ab)]){const _0x491dd3=this['dataFields'][_0x5364ab],_0x17443e=_0x491dd3[_0x4ed0ff(0x367)]();this[_0x4ed0ff(0x3a1)][_0x17443e]=_0x491dd3[_0x4ed0ff(0x226)]();}}[_0x2d8507(0x1d1)](){const _0x5be218=_0x2d8507,_0x1fdb09=this['_host'];return _0x4545bd[_0x5be218(0x2b6)](_0x1fdb09);}[_0x2d8507(0x19d)](_0x278cb6){const _0x13c0cf=_0x2d8507,_0x348d43=this[_0x13c0cf(0x1ab)][_0x278cb6]['rangeKey'];delete this[_0x13c0cf(0x1ab)][_0x278cb6],delete this[_0x13c0cf(0x3a1)][_0x348d43];}[_0x2d8507(0x244)](_0x4abc1e){const _0x42900e=_0x2d8507;this[_0x42900e(0x1ab)][_0x4abc1e[_0x42900e(0x226)]()]=_0x4abc1e;}[_0x2d8507(0x12e)](_0x4f29fb){const _0x2f5683=_0x2d8507;var _0x17c0a2,_0x36857b;const _0x55c490=this['_host']['getTargetByPivotId'](_0x4f29fb);if(_0x55c490){const {unitId:_0x158b5c,subUnitId:_0x523b8}=_0x55c490,_0x3e2b50=(_0x17c0a2=this['_host'][_0x2f5683(0x2d6)](_0x158b5c,_0x523b8,_0x4f29fb))==null?void 0x0:_0x17c0a2[_0x2f5683(0x399)];this['_host'][_0x2f5683(0x1c0)]({'token':_0x4f29fb,'type':_0xb4cdcd[_0x2f5683(0x1d5)],'dataRangeInfo':_0x3e2b50});}(_0x36857b=this[_0x2f5683(0x39a)](_0x4f29fb))==null||_0x36857b[_0x2f5683(0x404)](),delete this[_0x2f5683(0x426)][_0x4f29fb];}[_0x2d8507(0x367)](_0x8748bb,_0x49a8dd){const _0xf8a812=_0x2d8507,{sheetName:_0x5a919e,unitId:_0x8c4574,range:_0x1fbcc2}=_0x8748bb,{startRow:_0x2bc755,endRow:_0x49525}=_0x1fbcc2;return _0x54c2ed[_0xf8a812(0x183)](_0x8c4574,_0x5a919e,{'startRow':_0x2bc755,'endRow':_0x49525,'startColumn':_0x49a8dd,'endColumn':_0x49a8dd});}[_0x2d8507(0x28d)](_0x268816){const _0x61f4c6=_0x2d8507;return this[_0x61f4c6(0x1ab)][this[_0x61f4c6(0x3a1)][_0x268816]];}[_0x2d8507(0x14b)](_0x306681,_0x4de7bd){const _0x195e21=_0x2d8507;this[_0x195e21(0x3a1)][_0x306681]=_0x4de7bd;}[_0x2d8507(0x36e)](_0x2f68b3,_0x7672c4){const _0x26368c=_0x2d8507;this['rangeKeyMap'][_0x7672c4]=this[_0x26368c(0x3a1)][_0x2f68b3],delete this['rangeKeyMap'][_0x2f68b3];}[_0x2d8507(0x232)](_0x59f004,_0x1e1e8d,_0x411b74,_0x5a8a98){const _0x1418f2=_0x2d8507,_0x2dad58=new _0x2a5883[(_0x1418f2(0x36b))](this);_0x2dad58[_0x1418f2(0x308)](_0x1e1e8d);const _0x86fe83=[];let _0x11fcf9=0x0;for(const _0x22873d of _0x2dad58[_0x1418f2(0x1b2)]){const _0x22090f=this[_0x1418f2(0x367)](_0x411b74,_0x11fcf9),_0x1a9f59=this[_0x1418f2(0x1ab)][_0x22873d];_0x1a9f59&&(_0x1a9f59[_0x1418f2(0x3df)]=_0x22090f,this['setRangeKeyMap'](_0x22090f,_0x22873d),_0x86fe83[_0x1418f2(0x423)]({'index':_0x11fcf9,'dataField':_0x1a9f59})),_0x11fcf9++;}return this[_0x1418f2(0x231)](_0x59f004,_0x2dad58,_0x411b74,_0x5a8a98),{'collection':_0x2dad58,'updateDataFieldList':_0x86fe83};}['getRangeStartEndInfo'](_0x49c3b0,_0x2f00eb){const _0x3670f6=_0x2d8507;return _0x49c3b0['rangeType']===_0x54f2e8[_0x3670f6(0x43f)][_0x3670f6(0x1e4)]?{'startRow':0x0,'startColumn':_0x49c3b0[_0x3670f6(0x139)],'endRow':_0x2f00eb['getRowCount']()-0x1,'endColumn':_0x49c3b0[_0x3670f6(0x14f)]}:{'startRow':_0x49c3b0[_0x3670f6(0x3cc)],'startColumn':_0x49c3b0[_0x3670f6(0x139)],'endRow':_0x49c3b0[_0x3670f6(0x400)],'endColumn':_0x49c3b0[_0x3670f6(0x14f)]};}[_0x2d8507(0x2d8)](_0x3edc28){const _0x4ce2ee=_0x2d8507,{sheetName:_0x230339,range:_0x413907}=_0x3edc28,_0x5b3461=this[_0x4ce2ee(0x3dd)][_0x4ce2ee(0x29f)](_0x54f2e8[_0x4ce2ee(0x3c9)][_0x4ce2ee(0x24a)]),_0xe866e6=_0x5b3461['getSheetBySheetName'](_0x230339),_0x49946c=_0xe866e6[_0x4ce2ee(0x2ae)](),{startColumn:_0x47a2a5,startRow:_0x46dab9,endColumn:_0x424b}=this['getRangeStartEndInfo'](_0x413907,_0xe866e6),_0x2a3734=_0x5b3461[_0x4ce2ee(0x1dd)](),_0x5b25f0=new _0x2a5883[(_0x4ce2ee(0x36b))](this);_0x5b25f0['setRange'](_0x3edc28);const _0xbeb4b8=[],_0x50bf58={};for(let _0x33bb95=_0x47a2a5;_0x33bb95<=_0x424b;_0x33bb95++){const _0xfe4f77=_0x49946c['getValue'](_0x46dab9,_0x33bb95),_0x855e08=this[_0x4ce2ee(0x367)](_0x3edc28,_0x33bb95),_0x3325fe=this['getDataFieldByRangeKey'](_0x855e08);if(_0x3325fe)_0x5b25f0['addField'](_0x3325fe['getId'](),_0x3325fe['getName']());else{const _0x2f60b9=this['createDataFieldId']();let _0xaf41da=this[_0x4ce2ee(0x3f0)](_0xfe4f77,_0x2a3734,_0x50bf58);_0x2a5883[_0x4ce2ee(0x2ee)](_0xaf41da)&&(_0xaf41da=_0x54f2e8[_0x4ce2ee(0x391)][_0x4ce2ee(0x380)](_0xaf41da['f'],Number(_0xaf41da['v'])));const _0x3451d3=this[_0x4ce2ee(0x175)](_0xaf41da,_0x33bb95),_0x225d16=new _0x2a5883[(_0x4ce2ee(0x23f))](_0x2f60b9,_0x3451d3,_0x2a5883[_0x4ce2ee(0x280)](0x3));_0x225d16[_0x4ce2ee(0x3df)]=_0x855e08,this[_0x4ce2ee(0x1ab)][_0x2f60b9]=_0x225d16,_0x5b25f0[_0x4ce2ee(0x173)](_0x2f60b9,_0x3451d3),_0xbeb4b8['push']({'index':_0x33bb95,'dataField':_0x225d16});}}return{'updateDataFieldList':_0xbeb4b8,'collection':_0x5b25f0};}[_0x2d8507(0x2d4)](_0xf6d25d){const _0x57898a=_0x2d8507;return this[_0x57898a(0x15c)][_0x57898a(0x424)]()[_0x57898a(0x3b6)]+'\x20'+_0x54f2e8[_0x57898a(0x310)](_0xf6d25d);}['uniqueDataFieldName'](_0xf15af,_0x211b9e){const _0x5db896=_0x2d8507;return _0xf15af==null||_0xf15af===''?this[_0x5db896(0x2d4)](_0x211b9e):String(_0xf15af);}[_0x2d8507(0x39a)](_0x45f080){return this['collections'][_0x45f080];}['addCollection'](_0x1daa27,_0x39496f,_0x47ada7,_0x43ff67){const _0x1896a5=_0x2d8507;this[_0x1896a5(0x426)][_0x1daa27]=_0x39496f,_0x39496f['setRange'](_0x47ada7),this[_0x1896a5(0x15c)][_0x1896a5(0x1c0)]({'token':_0x1daa27,'type':_0xb4cdcd[_0x1896a5(0x1fe)],'dataRangeInfo':_0x47ada7,'targetCellInfo':_0x43ff67});}[_0x2d8507(0x2de)](_0x4cd541,_0x1892d0){const _0x11e701=_0x2d8507,_0x190a25=this[_0x11e701(0x39a)](_0x4cd541),_0x336934=_0x190a25[_0x11e701(0x277)]();let _0x1c65c=0x0;for(const _0xaff228 of _0x336934){const _0x12516b=_0x190a25[_0x11e701(0x3b3)](_0xaff228),_0x555820=this[_0x11e701(0x367)](_0x1892d0,_0x1c65c);this['updateRangeKeyMap'](_0x12516b['rangeKey'],_0x555820),_0x1c65c++;}}[_0x2d8507(0x163)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x2d8507(0x425)](_0x1d7af0,_0x3df2e4){const _0x43455d=_0x2d8507;if(this[_0x43455d(0x39a)](_0x1d7af0)){const _0x2426c0=this[_0x43455d(0x1b4)](_0x3df2e4),_0x1fee90=[];for(const _0x563c92 of _0x2426c0)this[_0x43455d(0x3a1)][_0x563c92]!==void 0x0&&_0x1fee90[_0x43455d(0x423)](this[_0x43455d(0x3a1)][_0x563c92]);const _0x1b0069=this['getNoUsedDataFieldIds'](_0x1d7af0),_0x4f8b16=[],_0x21ccae=new Set(_0x1fee90);for(const _0x462127 of _0x1b0069)_0x21ccae[_0x43455d(0x2fd)](_0x462127)||_0x4f8b16[_0x43455d(0x423)](_0x462127);return _0x4f8b16;}}['getMatrixValue'](_0x1883ab,_0x523f11,_0x30c1b9,_0x191b0d,_0x39fad2){const _0x496034=_0x2d8507;return _0x523f11&&_0x523f11['getValue'](_0x191b0d,_0x39fad2)?_0x523f11['getValue'](_0x191b0d,_0x39fad2):_0x30c1b9&&_0x30c1b9['getValue'](_0x191b0d,_0x39fad2)?_0x30c1b9[_0x496034(0x1a5)](_0x191b0d,_0x39fad2):_0x1883ab[_0x496034(0x1a5)](_0x191b0d,_0x39fad2);}[_0x2d8507(0x3a0)](_0xd263b5,_0x1bd7c0,_0x4b081f,_0xc51898){const _0x178f03=_0x2d8507,_0x40e644=this[_0x178f03(0x1ab)][_0xd263b5];if(!_0x40e644)return;const {subUnitId:_0x3c2303,range:_0x1cd487,unitId:_0x4296e1}=_0x1bd7c0,_0x3aee77=this[_0x178f03(0x3dd)][_0x178f03(0x3ca)](_0x4296e1);if(!_0x3aee77){console[_0x178f03(0x1bb)](_0x178f03(0x1d4));return;}const _0x5930b7=_0x3aee77[_0x178f03(0x23b)](_0x3c2303),_0x6f5f5=_0x5930b7[_0x178f03(0x2ae)](),{arrayFormulaCellDataMatrix:_0x419949,unitDataMatrix:_0xb324c0}=_0xc51898||{},{startRow:_0x28d6de,startColumn:_0x4fda57,endRow:_0x2107a0}=this[_0x178f03(0x2c9)](_0x1cd487,_0x5930b7);_0x40e644[_0x178f03(0x3b5)]();const _0x589829=_0x3aee77['getStyles'](),_0x2d44dd={},_0x3829c1=this[_0x178f03(0x1ca)](_0x6f5f5,_0x419949,_0xb324c0,_0x28d6de,_0x4fda57+_0x4b081f);let _0x569d72=this[_0x178f03(0x3f0)](_0x3829c1,_0x589829,_0x2d44dd);_0x2a5883['isDateValue'](_0x569d72)&&(_0x569d72=_0x54f2e8['numfmt'][_0x178f03(0x380)](_0x569d72['f'],Number(_0x569d72['v'])));const _0xb0df06=this[_0x178f03(0x175)](_0x569d72,_0x4fda57+_0x4b081f);_0x40e644[_0x178f03(0x250)](_0xb0df06);for(let _0x674643=_0x28d6de+0x1;_0x674643<=_0x2107a0;_0x674643++){const _0x14b7e2=this['getMatrixValue'](_0x6f5f5,_0x419949,_0xb324c0,_0x674643,_0x4fda57+_0x4b081f);_0x40e644[_0x178f03(0x344)](this[_0x178f03(0x3f0)](_0x14b7e2,_0x589829,_0x2d44dd),_0x674643-0x1-_0x28d6de);}}[_0x2d8507(0x290)](_0x5441ef,_0x81f9cd,_0x2ba97f){const _0x37f89b=_0x2d8507,{subUnitId:_0x3e816b,range:_0x5814bf,unitId:_0x1cfddb}=_0x2ba97f,_0x3872a5=this['_univerInstanceService'][_0x37f89b(0x3ca)](_0x1cfddb);if(!_0x3872a5){console[_0x37f89b(0x1bb)](_0x37f89b(0x1d4));return;}const _0x2a0c90=_0x3872a5['getSheetBySheetId'](_0x3e816b),_0x52ed0a=_0x2a0c90['getCellMatrix'](),{startRow:_0x16a0d1,startColumn:_0x428878,endRow:_0x1a731c}=this[_0x37f89b(0x2c9)](_0x5814bf,_0x2a0c90),_0x280321=_0x3872a5[_0x37f89b(0x1dd)](),_0x2f46a2={};for(const {dataField:_0x3cef2f,index:_0x230dc0}of _0x81f9cd){_0x3cef2f[_0x37f89b(0x3b5)]();const _0x44e03b=this[_0x37f89b(0x1ca)](_0x52ed0a,void 0x0,void 0x0,_0x16a0d1,_0x428878+_0x230dc0);let _0x2d4592=this[_0x37f89b(0x3f0)](_0x44e03b,_0x280321,_0x2f46a2);_0x2a5883['isDateValue'](_0x2d4592)&&(_0x2d4592=_0x54f2e8[_0x37f89b(0x391)]['format'](_0x2d4592['f'],Number(_0x2d4592['v'])));const _0x5a602f=this[_0x37f89b(0x175)](_0x2d4592,_0x428878+_0x230dc0);_0x3cef2f[_0x37f89b(0x250)](_0x5a602f);}_0x5441ef[_0x37f89b(0x216)]();for(let _0xf9327e=_0x16a0d1+0x1;_0xf9327e<=_0x1a731c;_0xf9327e++)for(const {index:_0x323ddb,dataField:_0x3b97b8}of _0x81f9cd){const _0x39a32e=_0x52ed0a[_0x37f89b(0x1a5)](_0xf9327e,_0x428878+_0x323ddb);_0x3b97b8[_0x37f89b(0x344)](this[_0x37f89b(0x3f0)](_0x39a32e,_0x280321,_0x2f46a2),_0xf9327e-0x1-_0x16a0d1);}_0x5441ef['setDataRecordCount'](_0x1a731c-_0x16a0d1);}[_0x2d8507(0x1b4)](_0x15242d){const _0x4f1805=_0x2d8507,{range:_0x123342}=_0x15242d,{startColumn:_0x3922f2,endColumn:_0x45f41a}=_0x123342,_0x383af6=[];for(let _0x15c46f=_0x3922f2;_0x15c46f<=_0x45f41a;_0x15c46f++)_0x383af6[_0x4f1805(0x423)](this[_0x4f1805(0x367)](_0x15242d,_0x15c46f));return _0x383af6;}[_0x2d8507(0x3f0)](_0x3a4a57,_0x1824e2,_0x5ccc6d){const _0x56ba12=_0x2d8507;if(_0x3a4a57){const {s:_0x1f7640,v:_0x1a2ec8,t:_0x579bb6,p:_0x1c396f}=_0x3a4a57;if(_0x1c396f)return _0x143ed6(_0x1c396f);const _0x524a30=_0x1824e2[_0x56ba12(0x12a)](_0x1f7640);if(_0x524a30&&_0x579bb6===_0x54f2e8[_0x56ba12(0x3a5)][_0x56ba12(0x3eb)]&&_0x524a30['n']){const {pattern:_0x51c26a}=_0x524a30['n'];_0x5ccc6d[_0x51c26a]||(_0x5ccc6d[_0x51c26a]=_0x54f2e8['numfmt'][_0x56ba12(0x1fd)](_0x51c26a));const _0x478eeb=_0x5ccc6d[_0x51c26a],_0x4caf01=_0x478eeb[_0x56ba12(0x320)];if(_0x478eeb[_0x56ba12(0x313)])return String(_0x1a2ec8);if(_0x4caf01)return{'v':_0x1a2ec8,'f':_0x51c26a};}if(_0x579bb6===_0x54f2e8[_0x56ba12(0x3a5)]['NUMBER'])return Number(_0x1a2ec8);if(_0x579bb6===_0x54f2e8[_0x56ba12(0x3a5)][_0x56ba12(0x360)]||_0x579bb6===_0x54f2e8[_0x56ba12(0x3a5)]['FORCE_STRING'])return String(_0x1a2ec8);if(_0x579bb6===void 0x0){const _0xc321aa=Number(_0x1a2ec8);if(!Number[_0x56ba12(0x43a)](_0xc321aa)&&String(_0xc321aa)===_0x1a2ec8)return _0xc321aa;}return _0x1a2ec8!=null?_0x1a2ec8:null;}else return null;}[_0x2d8507(0x30a)](_0x3361b6){const _0x1aca28=_0x2d8507,{sheetName:_0x3f6ca1,range:_0x301724,unitId:_0x257b85}=_0x3361b6,_0x2859df=this[_0x1aca28(0x3dd)]['getUnit'](_0x257b85);if(!_0x2859df)return console[_0x1aca28(0x1bb)](_0x1aca28(0x1d4)),{'header':[],'data':[]};const _0x5dbcd3=_0x2859df[_0x1aca28(0x39c)](_0x3f6ca1),_0x571caf=_0x5dbcd3[_0x1aca28(0x2ae)](),{startRow:_0x1bc9b6,startColumn:_0x1be6eb,endRow:_0x874ed7,endColumn:_0x3d74cd}=this[_0x1aca28(0x2c9)](_0x301724,_0x5dbcd3),_0x473623=_0x2859df[_0x1aca28(0x1dd)](),_0x37c852=[],_0x5b2952=[],_0x42bdd4={};for(let _0x30fcee=_0x1bc9b6;_0x30fcee<=_0x874ed7;_0x30fcee++){const _0x5ecbf7=[];for(let _0x1c2dfe=_0x1be6eb;_0x1c2dfe<=_0x3d74cd;_0x1c2dfe++){const _0x7e5a3e=_0x571caf['getValue'](_0x30fcee,_0x1c2dfe);_0x30fcee===_0x1bc9b6?_0x37c852[_0x1aca28(0x423)](_0x7e5a3e==null?null:String(_0x7e5a3e['v'])):_0x5ecbf7[_0x1aca28(0x423)](this[_0x1aca28(0x3f0)](_0x7e5a3e,_0x473623,_0x42bdd4));}_0x5b2952[_0x1aca28(0x423)](_0x5ecbf7);}return{'header':_0x37c852,'data':_0x5b2952};}[_0x2d8507(0x438)](){const _0x431a99=_0x2d8507;return super[_0x431a99(0x438)]();}[_0x2d8507(0x308)](_0x589784){const _0x1c3412=_0x2d8507;super[_0x1c3412(0x308)](_0x589784),this['initDataRanges']();}['dispose'](){const _0x4b13f4=_0x2d8507;super[_0x4b13f4(0x404)](),this['rangeKeyMap']={},this[_0x4b13f4(0x15c)]=null;}}const _0x2a5dd2=_0x3b1ffc=>{const _0x3ae4b2=_0x2d8507,{targetCellInfo:_0x2e4c5b}=_0x3b1ffc,{matrixCache:_0x4803e6,rangesCache:_0x2c6066}=_0x2218e2({'filter':_0x3ae4b2(0x285),'row':'Row','column':_0x3ae4b2(0x41d),'values':'Values'},_0x2e4c5b),_0x32b27d=new _0x54f2e8[(_0x3ae4b2(0x12c))]();return _0x4803e6[_0x3ae4b2(0x25f)]((_0xbd2dd5,_0x315d15,_0x35dd1d)=>{const _0x122369=_0x3ae4b2;_0x32b27d[_0x122369(0x1b5)](_0xbd2dd5,_0x315d15,_0x35dd1d);}),{'matrix':_0x32b27d,'rangesCache':_0x2c6066};},_0x32bd6c=_0x277b41=>{const _0x2033ad=_0x2d8507;let _0x3a05f0;if(_0x277b41!=null&&_0x277b41['v']||(_0x277b41==null?void 0x0:_0x277b41['v'])===0x0){_0x3a05f0||(_0x3a05f0={});const _0x59e1e3=_0x1e9ad6(_0x277b41['v']);typeof _0x59e1e3=='number'?_0x3a05f0['t']=_0x54f2e8[_0x2033ad(0x3a5)][_0x2033ad(0x3eb)]:typeof _0x59e1e3=='string'&&(_0x3a05f0['t']=_0x54f2e8['CellValueType'][_0x2033ad(0x360)]),_0x3a05f0['v']=_0x59e1e3;}return _0x3a05f0;},_0x2ef1a5=(_0x2a5c58,_0x3c6a0a,_0x5bbf03)=>{const _0x561824=_0x2d8507;var _0xbf5cc,_0x3aa895,_0x383776,_0x3e3049,_0x4f0c76,_0x4c018c,_0x136964,_0x322deb,_0x419c7b,_0x1db056,_0x57b357,_0x57d530;const {cornerView:_0x1aadf1,rowView:_0x31bfe7,colView:_0x185696,dataView:_0x1c14c8,pageView:_0x522403,formatMap:_0x5c7211}=_0x2a5c58,{row:_0x23f443,col:_0xeccc6f}=_0x3c6a0a,_0x331542=new _0x54f2e8[(_0x561824(0x12c))]();let _0x14127e=_0x23f443,_0x1a84c3=_0xeccc6f;Object[_0x561824(0x1db)](_0x522403[_0x561824(0x194)])['forEach'](_0x1086cf=>{const _0x5ca700=_0x561824;Object[_0x5ca700(0x1db)](_0x522403[_0x5ca700(0x194)][Number(_0x1086cf)])[_0x5ca700(0x151)](_0x4f66d0=>{const _0x3c92f4=_0x5ca700,_0x28e5cb={..._0x522403[_0x3c92f4(0x194)][Number(_0x1086cf)][Number(_0x4f66d0)]};_0x331542[_0x3c92f4(0x1b5)](Number(_0x1086cf)+_0x14127e,Number(_0x4f66d0)+_0x1a84c3,_0x32bd6c(_0x28e5cb));});});const _0x31b9f4=Object['keys'](_0x522403[_0x561824(0x194)])[_0x561824(0x31c)];_0x14127e+=_0x31b9f4+(_0x31b9f4?_0x37a9d7:0x0);const _0x1f5ddd=_0x1aadf1['getRowCount'](),_0x34e8bf=_0x1aadf1[_0x561824(0x335)]();for(let _0x34e10d=0x0;_0x34e10d<_0x1f5ddd;_0x34e10d++)for(let _0x37ff13=0x0;_0x37ff13<_0x34e8bf;_0x37ff13++){const _0x5f1313={...(_0x3aa895=(_0xbf5cc=_0x1aadf1[_0x561824(0x194)])==null?void 0x0:_0xbf5cc[_0x34e10d])==null?void 0x0:_0x3aa895[_0x37ff13]};_0x5f1313&&((_0x383776=_0x31bfe7[_0x561824(0x13d)][_0x37ff13])!=null&&_0x383776[_0x561824(0x20c)])&&_0x37ff13===_0x34e8bf-0x1&&_0x34e10d===_0x1f5ddd-0x1&&(_0x5f1313['v']=''+_0x5bbf03['sheets-pivot.value']),_0x331542[_0x561824(0x1b5)](_0x34e10d+_0x14127e,_0x37ff13+_0x1a84c3,_0x32bd6c(_0x5f1313));}_0x1a84c3+=_0x34e8bf;const _0x129370=_0x185696[_0x561824(0x13d)],_0x334fdf=_0x185696[_0x561824(0x284)]()>=0x0?_0x185696[_0x561824(0x284)]()+0x1:0x0,_0x557ae9=_0x185696[_0x561824(0x21f)]()>=0x0?_0x185696['getLastCol']()+0x1:0x0;for(let _0xc9d217=0x0;_0xc9d217<_0x557ae9;_0xc9d217++)for(let _0x5edc3b=0x0;_0x5edc3b<_0x334fdf;_0x5edc3b++){const _0x8ad958={...(_0x4f0c76=(_0x3e3049=_0x185696['data'])==null?void 0x0:_0x3e3049[_0xc9d217])==null?void 0x0:_0x4f0c76[_0x5edc3b]},_0x3d7389=(_0x4c018c=_0x129370[_0xc9d217])==null?void 0x0:_0x4c018c[_0x561824(0x34a)],_0x418363=_0x5c7211[_0x3d7389];_0x8ad958&&(_0x8ad958['v']=_0x5cf288(_0x8ad958,_0xc9d217===0x0&&((_0x136964=_0x185696[_0x561824(0x2c6)](_0x5edc3b+0x1))==null?void 0x0:_0x136964['isValue']),_0x418363,_0x5bbf03)),_0x331542[_0x561824(0x1b5)](_0xc9d217+_0x14127e,_0x5edc3b+_0x1a84c3,_0x32bd6c(_0x8ad958));}_0x14127e+=_0x1f5ddd;const _0x3c9a9a=_0x31bfe7['headerMap'],_0x3bd8c8=_0x31bfe7[_0x561824(0x284)]()>=0x0?_0x31bfe7[_0x561824(0x284)]()+0x1:0x0,_0x416c07=_0x31bfe7[_0x561824(0x21f)]()>=0x0?_0x31bfe7[_0x561824(0x21f)]()+0x1:0x0;for(let _0x18f017=0x0;_0x18f017<_0x3bd8c8;_0x18f017++)for(let _0x3e2835=0x0;_0x3e2835<_0x416c07;_0x3e2835++){const _0x37405b={...(_0x419c7b=(_0x322deb=_0x31bfe7[_0x561824(0x194)])==null?void 0x0:_0x322deb[_0x18f017])==null?void 0x0:_0x419c7b[_0x3e2835]},_0x134165=(_0x1db056=_0x3c9a9a[_0x3e2835])==null?void 0x0:_0x1db056[_0x561824(0x34a)],_0x99ed56=_0x5c7211[_0x134165];_0x37405b&&(_0x37405b['v']=_0x5cf288(_0x37405b,!0x1,_0x99ed56,_0x5bbf03)),_0x331542[_0x561824(0x1b5)](_0x18f017+_0x14127e,_0x3e2835+_0xeccc6f,_0x32bd6c(_0x37405b));}const _0x59e479=_0x1c14c8[_0x561824(0x14d)](),_0xf4bf45=_0x1c14c8[_0x561824(0x335)]();for(let _0x130234=0x0;_0x130234<_0x59e479;_0x130234++)for(let _0x217c4e=0x0;_0x217c4e<_0xf4bf45;_0x217c4e++){const _0x44764b={...(_0x57d530=(_0x57b357=_0x1c14c8[_0x561824(0x194)])==null?void 0x0:_0x57b357[_0x130234])==null?void 0x0:_0x57d530[_0x217c4e]};_0x331542[_0x561824(0x1b5)](_0x130234+_0x14127e,_0x217c4e+_0x1a84c3,_0x32bd6c(_0x44764b));}return _0x331542;},_0x4549a2=_0xfcd058=>{const _0x63252a=_0x2d8507,{view:_0x5f0282,targetCellInfo:_0x3ccc60,isEmpty:_0x348506,textInfo:_0x5c49f7}=_0xfcd058;if(_0x348506)return _0x2a5dd2(_0xfcd058);const {pageView:_0x5f4eae,cornerView:_0x223043,rowView:_0x49a5db,colView:_0x147b64,dataView:_0x189d26}=_0x5f0282,_0x3eb67e=_0x8545d6(_0x3ccc60,_0x5f4eae,!0x0),_0x453d8f=_0x5f4eae[_0x63252a(0x3c0)]>=0x0?_0x5f4eae[_0x63252a(0x3c0)]+0x1:0x0,_0x3fa38d=_0x223043[_0x63252a(0x14d)](),_0x14eee8=_0x223043['getColCount'](),_0x310fb2=_0x3eb67e[_0x63252a(0x31c)]>0x0?_0x37a9d7:0x0,_0x1bd749=_0x8545d6({'row':_0x3ccc60[_0x63252a(0x200)]+_0x453d8f+_0x310fb2,'col':_0x3ccc60['col']},_0x223043,!0x1,!0x1),_0x305b12=_0x8545d6({'row':_0x3ccc60[_0x63252a(0x200)]+_0x453d8f+_0x310fb2+_0x3fa38d,'col':_0x3ccc60[_0x63252a(0x266)]},_0x49a5db,!0x1,!0x0),_0x218a45=_0x8545d6({'row':_0x3ccc60[_0x63252a(0x200)]+_0x453d8f+_0x310fb2,'col':_0x3ccc60['col']+_0x14eee8},_0x147b64,!0x1,!0x0),_0x35eb65=_0x8545d6({'row':_0x3ccc60[_0x63252a(0x200)]+_0x453d8f+_0x310fb2+_0x3fa38d,'col':_0x3ccc60[_0x63252a(0x266)]+_0x14eee8},_0x189d26,!0x1,!0x1),_0x57b13f={'rowRanges':_0x305b12,'colRanges':_0x218a45,'cornerRanges':_0x1bd749,'dataRanges':_0x35eb65,'pageRanges':_0x3eb67e};return{'matrix':_0x2ef1a5(_0x5f0282,_0x3ccc60,_0x5c49f7),'rangesCache':_0x57b13f};};var _0x348223=Object['getOwnPropertyDescriptor'],_0x5c0a19=(_0x446371,_0x5bad84,_0x3ede57,_0x99c19)=>{const _0x2358a5=_0x2d8507;for(var _0x2e29d0=_0x99c19>0x1?void 0x0:_0x99c19?_0x348223(_0x5bad84,_0x3ede57):_0x5bad84,_0x417cf7=_0x446371[_0x2358a5(0x31c)]-0x1,_0x44aa79;_0x417cf7>=0x0;_0x417cf7--)(_0x44aa79=_0x446371[_0x417cf7])&&(_0x2e29d0=_0x44aa79(_0x2e29d0)||_0x2e29d0);return _0x2e29d0;},_0x50b047=(_0xc3feec,_0xceaefb)=>(_0x2fae8b,_0x2732ee)=>_0xceaefb(_0x2fae8b,_0x2732ee,_0xc3feec);_0x5d1b85[_0x2d8507(0x1e7)]=class extends _0x54f2e8['Disposable']{constructor(_0x19a816,_0x573b33,_0x362408,_0x327119,_0x58ac64){const _0x2b2ed5=_0x2d8507;super(),_0x2ffda7(this,_0x2b2ed5(0x41a),new Map()),_0x2ffda7(this,_0x2b2ed5(0x3c6),new Map()),_0x2ffda7(this,'_viewData',new Map()),_0x2ffda7(this,_0x2b2ed5(0x230)),_0x2ffda7(this,'_collectionChange$',new _0x309d6a[(_0x2b2ed5(0x3e5))]()),_0x2ffda7(this,_0x2b2ed5(0x1be),this[_0x2b2ed5(0x246)][_0x2b2ed5(0x1fc)]()),_0x2ffda7(this,_0x2b2ed5(0x3ee),new _0x309d6a['Subject']()),_0x2ffda7(this,_0x2b2ed5(0x130),this[_0x2b2ed5(0x3ee)]['asObservable']()),_0x2ffda7(this,_0x2b2ed5(0x1ef),new _0x309d6a['Subject']()),_0x2ffda7(this,_0x2b2ed5(0x15a),this[_0x2b2ed5(0x1ef)][_0x2b2ed5(0x1fc)]()),_0x2ffda7(this,_0x2b2ed5(0x29b),new Map()),_0x2ffda7(this,_0x2b2ed5(0x38c),[]),_0x2ffda7(this,_0x2b2ed5(0x317),new Map()),(this[_0x2b2ed5(0x407)]=_0x19a816,this[_0x2b2ed5(0x3dd)]=_0x573b33,this[_0x2b2ed5(0x3ec)]=_0x362408,this[_0x2b2ed5(0x254)]=_0x327119,this[_0x2b2ed5(0x24d)]=_0x58ac64,this[_0x2b2ed5(0x362)]());}['getTextInfo'](){const _0x36a3ba=_0x2d8507;return this[_0x36a3ba(0x230)]?this[_0x36a3ba(0x230)]:_0x29e39d;}['setTextInfo'](_0x3014c3){this['_textInfo']=_0x3014c3;}[_0x2d8507(0x2de)](_0x565d98){const _0x176778=_0x2d8507;var _0x2fb391;const {from:_0x3006d0,to:_0x52dd31,unitId:_0x347826,fromRange:_0x224ebd,toRange:_0x48a35b}=_0x565d98;if(_0x3006d0&&_0x52dd31){const _0x53bb4d=this[_0x176778(0x3f9)](_0x347826),_0x52147a=this[_0x176778(0x41a)][_0x176778(0x12a)](_0x347826),_0x47b66f=(_0x2fb391=this[_0x176778(0x3dd)][_0x176778(0x3ca)](_0x347826))==null?void 0x0:_0x2fb391[_0x176778(0x23b)](_0x52dd31[_0x176778(0x295)]);if(!_0x52147a||!_0x47b66f)return;const _0x38e67b=_0x47b66f==null?void 0x0:_0x47b66f['getName']();for(const [_0x4532ad,_0x332f29]of _0x52147a[_0x176778(0x22d)]())for(const [_0x470961,_0x422161]of _0x332f29['entries']()){const {sourceRangeInfo:_0x10df9c}=_0x422161;if(_0x10df9c[_0x176778(0x2ac)]===_0x347826&&_0x10df9c[_0x176778(0x295)]===_0x3006d0[_0x176778(0x295)]&&_0x54f2e8[_0x176778(0x24e)][_0x176778(0x15f)](_0x224ebd,_0x10df9c['range'])){const _0x25960b={'row':_0x10df9c[_0x176778(0x36f)][_0x176778(0x3cc)]-_0x224ebd['startRow'],'col':_0x10df9c[_0x176778(0x36f)][_0x176778(0x139)]-_0x224ebd['startColumn']},_0x3db9d0={'unitId':_0x347826,'subUnitId':_0x52dd31['subUnitId'],'sheetName':_0x38e67b,'range':{'startRow':_0x48a35b[_0x176778(0x3cc)]+_0x25960b[_0x176778(0x200)],'endRow':_0x48a35b[_0x176778(0x3cc)]+_0x25960b['row']+_0x10df9c['range'][_0x176778(0x400)]-_0x10df9c['range'][_0x176778(0x3cc)],'startColumn':_0x48a35b[_0x176778(0x139)]+_0x25960b[_0x176778(0x266)],'endColumn':_0x48a35b[_0x176778(0x139)]+_0x25960b['col']+_0x10df9c['range']['endColumn']-_0x10df9c[_0x176778(0x36f)]['startColumn']}};_0x53bb4d[_0x176778(0x2de)](_0x470961,_0x3db9d0);const _0x67d389={..._0x422161,'sourceRangeInfo':_0x3db9d0};this[_0x176778(0x311)](_0x347826,_0x52dd31[_0x176778(0x295)],_0x470961,_0x67d389),this['broadcastCollectionChange']({'unitId':_0x347826,'token':_0x470961,'type':_0xb4cdcd[_0x176778(0x345)],'oldSourceRangeInfo':_0x10df9c,'dataRangeInfo':_0x3db9d0,'targetCellInfo':_0x422161[_0x176778(0x1d3)]}),this[_0x176778(0x269)]({'unitId':_0x347826,'subUnitId':_0x52dd31['subUnitId'],'oldSubUnitId':_0x4532ad,'pivotTableId':_0x470961,'pivotTableConfig':_0x67d389,'collectionConfig':_0x53bb4d[_0x176778(0x438)]()});}}}}['broadcastCollectionChange'](_0x3e608c){const _0x52b018=_0x2d8507;this[_0x52b018(0x246)]['next'](_0x3e608c);}[_0x2d8507(0x3f9)](_0x567de7){const _0x131bc9=_0x2d8507;let _0x18749c=this[_0x131bc9(0x29b)][_0x131bc9(0x12a)](_0x567de7);return _0x18749c||(_0x18749c=new _0x1a2d9a(this,this[_0x131bc9(0x3dd)]),this[_0x131bc9(0x29b)][_0x131bc9(0x1cf)](_0x567de7,_0x18749c)),_0x18749c;}[_0x2d8507(0x39a)](_0x490a28,_0x362986){const _0x3021e4=_0x2d8507;return this[_0x3021e4(0x3f9)](_0x490a28)[_0x3021e4(0x426)][_0x362986];}[_0x2d8507(0x425)](_0x2e1d00,_0x48ad9d,_0x4c174e){const _0x318940=_0x2d8507;return this[_0x318940(0x3f9)](_0x2e1d00)[_0x318940(0x425)](_0x48ad9d,_0x4c174e);}['_ensurePivotMap'](_0x8515ea,_0xcdc82d){const _0x231745=_0x2d8507;let _0x246cb7=this['_model'][_0x231745(0x12a)](_0x8515ea);_0x246cb7||(_0x246cb7=new Map(),this[_0x231745(0x41a)][_0x231745(0x1cf)](_0x8515ea,_0x246cb7));let _0x5acd58=_0x246cb7[_0x231745(0x12a)](_0xcdc82d);return _0x5acd58||(_0x5acd58=new Map(),_0x246cb7[_0x231745(0x1cf)](_0xcdc82d,_0x5acd58)),_0x5acd58;}['_updateModelCache'](_0x534c50,_0x4b19aa,_0x23e3b2,_0x3f777b){const _0x2a8fc9=_0x2d8507;this[_0x2a8fc9(0x2c3)](_0x534c50,_0x4b19aa)[_0x2a8fc9(0x1cf)](_0x23e3b2,_0x3f777b);}[_0x2d8507(0x278)](_0x55b66,_0x4c1e6c,_0x574707){const _0x363474=_0x2d8507;var _0x1c3fd0,_0xc8efc3,_0x1fb4b4,_0x27eef6;((_0xc8efc3=(_0x1c3fd0=this[_0x363474(0x41a)][_0x363474(0x12a)](_0x55b66))==null?void 0x0:_0x1c3fd0['get'](_0x4c1e6c))==null?void 0x0:_0xc8efc3[_0x363474(0x12a)](_0x574707))&&((_0x27eef6=(_0x1fb4b4=this[_0x363474(0x41a)][_0x363474(0x12a)](_0x55b66))==null?void 0x0:_0x1fb4b4[_0x363474(0x12a)](_0x4c1e6c))==null||_0x27eef6[_0x363474(0x1d5)](_0x574707));}['_updatePivotTableInstanceCache'](_0x4383ab,_0x658d46){const _0x2aeac6=_0x2d8507;this[_0x2aeac6(0x3c6)][_0x2aeac6(0x1cf)](_0x4383ab,_0x658d46);}[_0x2d8507(0x1e8)](_0x20f125){const _0x1d82e5=_0x2d8507;this['_pivotTableInstanceCache'][_0x1d82e5(0x1d5)](_0x20f125);}['_ensureViewDataMap'](_0x132623,_0x6d4c0b){const _0x753aa8=_0x2d8507;let _0xf4479c=this['_viewData'][_0x753aa8(0x12a)](_0x132623);_0xf4479c||(_0xf4479c=new Map(),this['_viewData'][_0x753aa8(0x1cf)](_0x132623,_0xf4479c));let _0x5d7c19=_0xf4479c[_0x753aa8(0x12a)](_0x6d4c0b);return _0x5d7c19||(_0x5d7c19=new Map(),_0xf4479c[_0x753aa8(0x1cf)](_0x6d4c0b,_0x5d7c19)),_0x5d7c19;}[_0x2d8507(0x269)](_0x1a77c6){const _0x21dd4d=_0x2d8507,{unitId:_0x16572a,subUnitId:_0x2ac3f2,pivotTableId:_0x5964f5,pivotTableConfig:_0x32f6f3,collectionConfig:_0x52d309}=_0x1a77c6,_0x40a61f={'unitId':_0x16572a,'subUnitId':_0x2ac3f2,'oldSubUnitId':_0x2ac3f2,'pivotTableId':_0x5964f5,'pivotTableConfig':_0x32f6f3,'collectionConfig':_0x52d309};this[_0x21dd4d(0x254)][_0x21dd4d(0x328)](_0x55ea62['id'],_0x40a61f,{'onlyLocal':!0x0});}[_0x2d8507(0x350)](_0x40c290,_0x598319,_0x2bb6e6,_0x231cf5,_0x24af48,_0x2bf05b,_0x30a304,_0xbdea47=!0x1){const _0x12e4a4=_0x2d8507;var _0x215c6b;this[_0x12e4a4(0x254)]['executeCommand'](_0x53b34b['id'],{'single':{'unitId':_0x40c290,'subUnitId':_0x598319,'type':_0x2bb6e6,'pivotTableId':_0x231cf5,'view':_0x24af48,'pivotConfig':_0x2bf05b},'collectionConfig':{[_0x40c290]:_0x30a304}},{'onlyLocal':!0x0});const _0x274fb5=!!((_0x215c6b=this['getPivotTableInstance'](_0x231cf5))!=null&&_0x215c6b[_0x12e4a4(0x2b8)]()),_0x32c5f5=this[_0x12e4a4(0x2d6)](_0x40c290,_0x598319,_0x231cf5);_0x32c5f5&&this['updateViewData']({'view':_0x24af48,'pivotTableId':_0x231cf5,'textInfo':this[_0x12e4a4(0x424)](),'isEmpty':_0x274fb5,'targetCellInfo':_0x32c5f5[_0x12e4a4(0x1d3)]},_0xbdea47);}[_0x2d8507(0x1f5)](_0x5910f9,_0x2fdcdb){const _0x5b57dc=_0x2d8507,{targetCellInfo:_0x23fc1c,pivotTableId:_0x1d9dba}=_0x5910f9,{unitId:_0x48919f,subUnitId:_0x36e905}=_0x23fc1c,_0x3f6d3b=this['_ensureViewDataMap'](_0x48919f,_0x36e905),_0x15b8fb=_0x3f6d3b[_0x5b57dc(0x12a)](_0x1d9dba);let _0x2dc247,_0x5cc0b2;_0x15b8fb&&(_0x2dc247=_0x15b8fb[_0x5b57dc(0x184)],_0x5cc0b2=_0x15b8fb[_0x5b57dc(0x274)]);const {rangesCache:_0x365374,matrix:_0x3d66c3}=_0x4549a2(_0x5910f9);_0x3f6d3b[_0x5b57dc(0x1cf)](_0x1d9dba,{'rangeCache':_0x365374,'matrix':_0x3d66c3,'oldMatrix':_0x5cc0b2,'oldRangeCache':_0x2dc247}),_0x2fdcdb||this[_0x5b57dc(0x3ee)][_0x5b57dc(0x22a)]({'unitId':_0x48919f,'subUnitId':_0x36e905,'pivotTableId':_0x1d9dba});}[_0x2d8507(0x19b)](_0x194de9,_0x27c064,_0x42bc14,_0x5349cc,_0x4845ec){const _0x8f1ad8=_0x2d8507;this[_0x8f1ad8(0x311)](_0x194de9,_0x27c064,_0x42bc14,_0x4845ec),this[_0x8f1ad8(0x131)](_0x42bc14,_0x5349cc);}['removePivotTable'](_0x2696a7,_0x380b58,_0x504fe3){const _0x52b306=_0x2d8507,_0x1ed98c=this[_0x52b306(0x3f9)](_0x2696a7);_0x1ed98c['getNoUsedDataFieldIds'](_0x504fe3)[_0x52b306(0x151)](_0x16f9e6=>{_0x1ed98c['deleteDataField'](_0x16f9e6);}),this[_0x52b306(0x3a4)](_0x2696a7,_0x504fe3),this['_deleteModelCache'](_0x2696a7,_0x380b58,_0x504fe3),this['_deletePivotTableInstanceCache'](_0x504fe3);}[_0x2d8507(0x263)](_0x2ef5f1,_0x3554ad,_0x2c75da,_0x2373a7){const _0x5041eb=_0x2d8507;this[_0x5041eb(0x311)](_0x2ef5f1,_0x3554ad,_0x2c75da,_0x2373a7);}[_0x2d8507(0x2d6)](_0x2bd139,_0x111cc6,_0x1697c9){const _0x17f9a7=_0x2d8507;var _0x3b011d,_0x240ba7;const _0x36d70f=(_0x240ba7=(_0x3b011d=this['_model'][_0x17f9a7(0x12a)](_0x2bd139))==null?void 0x0:_0x3b011d[_0x17f9a7(0x12a)](_0x111cc6))==null?void 0x0:_0x240ba7[_0x17f9a7(0x12a)](_0x1697c9);if(_0x36d70f)return _0x36d70f;}[_0x2d8507(0x304)](_0x5dbf7e,_0x20dd29,_0x3888af){const _0x4b28a2=_0x2d8507;var _0x5dc514,_0x25e215;const _0x579d75=(_0x25e215=(_0x5dc514=this['_model'][_0x4b28a2(0x12a)](_0x5dbf7e))==null?void 0x0:_0x5dc514['get'](_0x20dd29))==null?void 0x0:_0x25e215['get'](_0x3888af);if(_0x579d75)return _0x579d75[_0x4b28a2(0x33c)];}[_0x2d8507(0x32f)](_0x29158b){const _0x1099bc=_0x2d8507;return this[_0x1099bc(0x3c6)][_0x1099bc(0x12a)](_0x29158b);}[_0x2d8507(0x2a7)](_0xf93b9f){const _0x403cf9=_0x2d8507;this[_0x403cf9(0x41a)][_0x403cf9(0x1d5)](_0xf93b9f);const _0x56272d=this[_0x403cf9(0x29b)][_0x403cf9(0x12a)](_0xf93b9f);_0x56272d&&(_0x56272d[_0x403cf9(0x404)](),this[_0x403cf9(0x29b)][_0x403cf9(0x1d5)](_0xf93b9f)),this[_0x403cf9(0x1e6)][_0x403cf9(0x1d5)](_0xf93b9f),this[_0x403cf9(0x38c)][_0x403cf9(0x151)](_0x187ba7=>{const _0x4887ca=_0x403cf9;_0x187ba7[_0x4887ca(0x2a7)](_0xf93b9f);});}[_0x2d8507(0x232)](_0xd7904e,_0x584829,_0x2d702c,_0xa5a1fa){const _0x405a56=_0x2d8507;return this[_0x405a56(0x3f9)](_0x2d702c[_0x405a56(0x2ac)])[_0x405a56(0x232)](_0xd7904e,_0x584829,_0x2d702c,_0xa5a1fa);}[_0x2d8507(0x2d8)](_0x5baade){const _0x27393b=_0x2d8507;return this[_0x27393b(0x3f9)](_0x5baade[_0x27393b(0x2ac)])[_0x27393b(0x2d8)](_0x5baade);}[_0x2d8507(0x290)](_0x200398,_0x369d4c,_0x5ad0f9){const _0x507caa=_0x2d8507;this[_0x507caa(0x3f9)](_0x5ad0f9[_0x507caa(0x2ac)])[_0x507caa(0x290)](_0x200398,_0x369d4c,_0x5ad0f9);}[_0x2d8507(0x383)](_0x5b6b20,_0x383180){const _0x892717=_0x2d8507;this[_0x892717(0x3f9)](_0x5b6b20)[_0x892717(0x19d)](_0x383180);}['removeCollections'](_0x20e544,_0x1981d7){const _0x552d0e=_0x2d8507;this[_0x552d0e(0x3f9)](_0x20e544)['removeCollectionImp'](_0x1981d7);}['getSubUnitPivotConfigs'](_0x53db86,_0x12d3f8){const _0x4ece5b=_0x2d8507;var _0xb251b4;return(_0xb251b4=this['_model'][_0x4ece5b(0x12a)](_0x53db86))==null?void 0x0:_0xb251b4[_0x4ece5b(0x12a)](_0x12d3f8);}[_0x2d8507(0x23a)](_0x547ec3){const _0x5a55ae=_0x2d8507;for(const [_0x2b17f8,_0x2b76c2]of this[_0x5a55ae(0x41a)][_0x5a55ae(0x22d)]())for(const [_0x5c1758,_0x3c6aed]of _0x2b76c2[_0x5a55ae(0x22d)]())if(_0x3c6aed[_0x5a55ae(0x2fd)](_0x547ec3))return{'unitId':_0x2b17f8,'subUnitId':_0x5c1758};return null;}[_0x2d8507(0x2bc)](_0x38b2ac,_0x3a1011,_0x3796a9,_0x426249){const _0x2d99a1=_0x2d8507,_0xa98389=this[_0x2d99a1(0x31f)](_0x38b2ac,_0x3a1011);_0x426249?_0xa98389[_0x2d99a1(0x1cf)](_0x3796a9,_0x426249):_0xa98389[_0x2d99a1(0x1d5)](_0x3796a9),this[_0x2d99a1(0x3ee)]['next']({'unitId':_0x38b2ac,'subUnitId':_0x3a1011,'pivotTableId':_0x3796a9});}[_0x2d8507(0x404)](){const _0x24b0c8=_0x2d8507;super[_0x24b0c8(0x404)]();}[_0x2d8507(0x2f4)](_0xdffa64,_0x493df7,_0x8a428b){const _0x58571e=_0x2d8507;var _0x4271fe,_0x150896;const _0x4b1cdb=(_0x150896=(_0x4271fe=this[_0x58571e(0x1e6)][_0x58571e(0x12a)](_0xdffa64))==null?void 0x0:_0x4271fe[_0x58571e(0x12a)](_0x493df7))==null?void 0x0:_0x150896[_0x58571e(0x12a)](_0x8a428b);return _0x4b1cdb||null;}[_0x2d8507(0x25d)](_0x465e01){const _0x41b35f=_0x2d8507;this[_0x41b35f(0x394)](_0x465e01);}[_0x2d8507(0x394)](_0x4e1cc9){const _0x56e55a=_0x2d8507,{token:_0x36f9d6,unitId:_0x1b2b84,subUnitId:_0x48695e}=_0x4e1cc9,_0x2040a6=_0x1b2b84+'-'+_0x48695e+'-'+_0x36f9d6;this[_0x56e55a(0x317)]['get'](_0x2040a6)&&clearTimeout(this[_0x56e55a(0x317)][_0x56e55a(0x12a)](_0x2040a6));const _0x10f6e4=setTimeout(()=>{const _0x2e6702=_0x56e55a;this[_0x2e6702(0x352)](_0x4e1cc9),this[_0x2e6702(0x317)][_0x2e6702(0x1d5)](_0x2040a6);},_0x4ba8bb);this[_0x56e55a(0x317)][_0x56e55a(0x1cf)](_0x2040a6,_0x10f6e4);}[_0x2d8507(0x352)](_0x403660){const _0x4844a2=_0x2d8507,{unitId:_0x541ce7,subUnitId:_0x13b27e,token:_0xa0dab5,type:_0x71d8ef,pivotConfig:_0x140537}=_0x403660,_0x261830=this[_0x4844a2(0x32f)](_0xa0dab5),_0x17d3ad=_0x261830==null?void 0x0:_0x261830[_0x4844a2(0x3e2)](),_0x25f973=_0x140537!=null?_0x140537:this['getPivotTableConfig'](_0x541ce7,_0x13b27e,_0xa0dab5);_0x25f973&&(_0x25f973[_0x4844a2(0x2b8)]=!!(_0x261830!=null&&_0x261830['isEmpty']())),(_0x17d3ad||_0x71d8ef===_0x3278cc['Delete'])&&this[_0x4844a2(0x350)](_0x541ce7,_0x13b27e,_0x71d8ef,_0xa0dab5,_0x17d3ad,_0x25f973,this['getDataFieldManager'](_0x541ce7)[_0x4844a2(0x438)]());}[_0x2d8507(0x438)](_0x527683){const _0x30bbd3=_0x2d8507,_0x440434={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x30bbd3(0x3f9)](_0x527683)&&(_0x440434['dataFieldManagerConfig'][_0x527683]=this['getDataFieldManager'](_0x527683)[_0x30bbd3(0x438)]()),this[_0x30bbd3(0x41a)][_0x30bbd3(0x12a)](_0x527683)){_0x440434['pivotTableConfigs'][_0x527683]={};const _0x68bf13=this['_model'][_0x30bbd3(0x12a)](_0x527683);_0x68bf13!=null&&_0x68bf13[_0x30bbd3(0x260)]&&[..._0x68bf13[_0x30bbd3(0x1db)]()]['forEach'](_0x1edc5d=>{const _0x4a9033=_0x30bbd3,_0x52657a=_0x68bf13[_0x4a9033(0x12a)](_0x1edc5d);_0x52657a!=null&&_0x52657a['size']&&(_0x440434[_0x4a9033(0x353)][_0x527683][_0x1edc5d]={},[..._0x52657a[_0x4a9033(0x1db)]()][_0x4a9033(0x151)](_0x3049d2=>{const _0x4563a8=_0x4a9033,_0x210494=_0x52657a[_0x4563a8(0x12a)](_0x3049d2);_0x210494&&(_0x440434['pivotTableConfigs'][_0x527683][_0x1edc5d][_0x3049d2]=_0x210494);}));});}return _0x440434;}[_0x2d8507(0x308)](_0x86b9a1){const _0x229b08=_0x2d8507;var _0x121ee7;const {dataFieldManagerConfig:_0x1fc4f9,pivotTableConfigs:_0x597603}=_0x86b9a1;_0x1fc4f9&&Object[_0x229b08(0x1db)](_0x1fc4f9)[_0x229b08(0x151)](_0x9cad76=>{const _0x58ac58=_0x229b08;this[_0x58ac58(0x3f9)](_0x9cad76)[_0x58ac58(0x308)](_0x1fc4f9[_0x9cad76]);});const _0x343ac0=[];if(_0x597603){const _0x10f919=(_0x121ee7=this['_injector']['get'](_0x54f2e8[_0x229b08(0x2cd)])[_0x229b08(0x257)](_0x5731b9[_0x229b08(0x13b)]))!=null?_0x121ee7:{},{ls:_0xec0087,pbk:_0x2eb5cd}=_0x10f919,_0x3de215=_0x58d1f7(_0x4992c4,_0xec0087,_0x2eb5cd)[_0x229b08(0x2f5)];Object['keys'](_0x597603)[_0x229b08(0x151)](_0x1c15e6=>{const _0x250a15=_0x229b08;let _0x4c27e5=0x0;const _0x4c1ab4=_0x597603[_0x1c15e6];Object[_0x250a15(0x1db)](_0x4c1ab4)[_0x250a15(0x151)](_0x27363a=>{const _0x5917ad=_0x250a15,_0x340b7e=_0x4c1ab4[_0x27363a];Object['keys'](_0x340b7e)[_0x5917ad(0x151)](_0x507d02=>{const _0x19d010=_0x5917ad,_0x3ba447=_0x340b7e[_0x507d02];if(_0x3ba447){if(_0x4c27e5>=_0x3de215)return;_0x4c27e5++;const _0x13701c=this[_0x19d010(0x3f9)](_0x1c15e6),_0x58da0d=_0x13701c[_0x19d010(0x426)][_0x507d02],_0x4a8a8b=_0x58da0d[_0x19d010(0x277)]();let _0x4c4344=0x0;const _0xd655b3=[];for(const _0x8e3c96 of _0x4a8a8b){const _0x2c4f0e=_0x58da0d[_0x19d010(0x3b3)](_0x8e3c96);if(_0x2a5883[_0x19d010(0x22c)](_0x2c4f0e)){const _0xf51dfc=_0x2c4f0e[_0x19d010(0x1ee)](),_0x1b3743=_0x58da0d[_0x19d010(0x3b3)](_0xf51dfc);_0x1b3743&&_0xd655b3[_0x19d010(0x423)]([_0x2c4f0e,_0x1b3743]);continue;}_0x13701c[_0x19d010(0x3a0)](_0x8e3c96,_0x3ba447[_0x19d010(0x399)],_0x4c4344),_0x4c4344++;}_0xd655b3[_0x19d010(0x151)](([_0x4db323,_0x20f485])=>{_0x4db323['refreshGroupField'](_0x20f485);});const _0x2cf860=new _0x2a5883[(_0x19d010(0x429))](_0x58da0d);_0x2cf860['fromJSON'](_0x3ba447[_0x19d010(0x33c)]),this[_0x19d010(0x19b)](_0x1c15e6,_0x27363a,_0x507d02,_0x2cf860,_0x3ba447);const _0x46cc6c=_0x2cf860[_0x19d010(0x3e2)]();_0x343ac0[_0x19d010(0x423)]({'unitId':_0x1c15e6,'subUnitId':_0x27363a,'pivotTableId':_0x507d02,'view':_0x46cc6c[_0x19d010(0x438)](),'pivotConfig':_0x3ba447,'type':_0x3278cc[_0x19d010(0x2b5)]});const _0x3d65e6=!!_0x2cf860['isEmpty'](),_0x9689c7={'view':_0x46cc6c,'pivotTableId':_0x507d02,'textInfo':this[_0x19d010(0x424)](),'isEmpty':_0x3d65e6,'targetCellInfo':_0x3ba447[_0x19d010(0x1d3)]};this[_0x19d010(0x1f5)](_0x9689c7,!0x1);}});});});}_0x1fc4f9&&Object[_0x229b08(0x1db)](_0x1fc4f9)[_0x229b08(0x151)](_0x3d0d4f=>{const _0x1334ab=_0x229b08,_0x1d3825=this[_0x1334ab(0x3f9)](_0x3d0d4f);this[_0x1334ab(0x1ef)]['next'](_0x1d3825[_0x1334ab(0x426)]);}),this[_0x229b08(0x254)][_0x229b08(0x328)](_0x53b34b['id'],{'batch':_0x343ac0,'collectionConfig':_0x1fc4f9},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x343221=_0x2d8507;this[_0x343221(0x434)](this[_0x343221(0x24d)]['registerPluginResource']({'toJson':_0x191bfb=>JSON['stringify'](this[_0x343221(0x438)](_0x191bfb)),'parseJson':_0x10a59d=>{const _0x4072bc=_0x343221;if(!_0x10a59d)return{};try{return JSON[_0x4072bc(0x38b)](_0x10a59d);}catch{return{};}},'businesses':[_0x54f2e8[_0x343221(0x3c9)]['UNIVER_SHEET']],'pluginName':_0x269598,'onLoad':(_0x1b9625,_0x1aeb1a)=>{const _0x4e91c6=_0x343221;this[_0x4e91c6(0x308)](_0x1aeb1a);},'onUnLoad':_0x552314=>{const _0x465bc7=_0x343221;this[_0x465bc7(0x2a7)](_0x552314);}}));}},_0x5d1b85[_0x2d8507(0x1e7)]=_0x5c0a19([_0x50b047(0x0,_0x54f2e8[_0x2d8507(0x19f)](_0x54f2e8[_0x2d8507(0x23d)])),_0x50b047(0x1,_0x54f2e8['IUniverInstanceService']),_0x50b047(0x2,_0x54f2e8[_0x2d8507(0x19f)](_0x54f2e8[_0x2d8507(0x1d7)])),_0x50b047(0x3,_0x54f2e8['ICommandService']),_0x50b047(0x4,_0x54f2e8[_0x2d8507(0x19f)](_0x54f2e8[_0x2d8507(0x1e3)]))],_0x5d1b85['SheetsPivotDataSourceModel']);const _0x63b8a9={0x0:{0x0:{'v':_0x2d8507(0x179),'s':_0x1a992a}},0x2:{0x1:{'v':'','s':_0x1a992a},0x2:{'v':'','s':_0x1a992a},0x3:{'v':'column','s':_0x1a992a},0x4:{'v':'','s':_0x1a992a},0x5:{'v':'','s':_0x1a992a}},0x3:{0x0:{'v':'','s':_0x1a992a},0x1:{'v':'','s':_0x2bad7e},0x2:{'v':'','s':_0x2bad7e},0x3:{'v':'','s':_0x2bad7e},0x4:{'v':'','s':_0x2bad7e},0x5:{'v':'','s':_0x2bad7e}},0x4:{0x0:{'v':'','s':_0x1a992a},0x1:{'v':'','s':_0x2bad7e},0x2:{'v':'','s':_0x2bad7e},0x3:{'v':'','s':_0x2bad7e},0x4:{'v':'','s':_0x2bad7e},0x5:{'v':'','s':_0x2bad7e}},0x5:{0x0:{'v':'','s':_0x1a992a},0x1:{'v':'','s':_0x2bad7e},0x2:{'v':'','s':_0x2bad7e},0x3:{'v':'','s':_0x2bad7e},0x4:{'v':'','s':_0x2bad7e},0x5:{'v':'','s':_0x2bad7e}},0x6:{0x0:{'v':'','s':_0x1a992a},0x1:{'v':'','s':_0x2bad7e},0x2:{'v':'','s':_0x2bad7e},0x3:{'v':'','s':_0x2bad7e},0x4:{'v':'','s':_0x2bad7e},0x5:{'v':'','s':_0x2bad7e}},0x7:{0x0:{'v':'','s':_0x1a992a},0x1:{'v':'','s':_0x2bad7e},0x2:{'v':'','s':_0x2bad7e},0x3:{'v':'','s':_0x2bad7e},0x4:{'v':'','s':_0x2bad7e},0x5:{'v':'','s':_0x2bad7e}},0x8:{0x0:{'v':_0x2d8507(0x200),'s':_0x1a992a},0x1:{'v':'','s':_0x2bad7e},0x2:{'v':'','s':_0x2bad7e},0x3:{'v':_0x2d8507(0x29d),'s':_0x2bad7e},0x4:{'v':'','s':_0x2bad7e},0x5:{'v':'','s':_0x2bad7e}},0x9:{0x0:{'v':'','s':_0x1a992a},0x1:{'v':'','s':_0x2bad7e},0x2:{'v':'','s':_0x2bad7e},0x3:{'v':'','s':_0x2bad7e},0x4:{'v':'','s':_0x2bad7e},0x5:{'v':'','s':_0x2bad7e}},0xa:{0x0:{'v':'','s':_0x1a992a},0x1:{'v':'','s':_0x2bad7e},0x2:{'v':'','s':_0x2bad7e},0x3:{'v':'','s':_0x2bad7e},0x4:{'v':'','s':_0x2bad7e},0x5:{'v':'','s':_0x2bad7e}},0xb:{0x0:{'v':'','s':_0x1a992a},0x1:{'v':'','s':_0x2bad7e},0x2:{'v':'','s':_0x2bad7e},0x3:{'v':'','s':_0x2bad7e},0x4:{'v':'','s':_0x2bad7e},0x5:{'v':'','s':_0x2bad7e}},0xc:{0x0:{'v':'','s':_0x1a992a},0x1:{'v':'','s':_0x2bad7e},0x2:{'v':'','s':_0x2bad7e},0x3:{'v':'','s':_0x2bad7e},0x4:{'v':'','s':_0x2bad7e},0x5:{'v':'','s':_0x2bad7e}},0xd:{0x0:{'v':'','s':_0x1a992a},0x1:{'v':'','s':_0x2bad7e},0x2:{'v':'','s':_0x2bad7e},0x3:{'v':'','s':_0x2bad7e},0x4:{'v':'','s':_0x2bad7e},0x5:{'v':'','s':_0x2bad7e}}},_0x43a963={'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':[]},_0x2218e2=(_0x3f5297,_0x47df7b)=>{const _0x44d2ee=_0x2d8507,_0x3e6f23=new _0x54f2e8[(_0x44d2ee(0x12c))](),_0x1d934a=new _0x54f2e8[(_0x44d2ee(0x12c))](_0x63b8a9),{row:_0x529ed0,col:_0x36bad0}=_0x47df7b;_0x1d934a[_0x44d2ee(0x25f)]((_0x5480e7,_0xa99e3b,_0x20d8ef)=>{const _0x3a48fc=_0x44d2ee;let _0x22536a='';_0x20d8ef['v']===_0x3a48fc(0x179)?_0x22536a=_0x3f5297['filter']:_0x20d8ef['v']===_0x3a48fc(0x200)?_0x22536a=_0x3f5297['row']:_0x20d8ef['v']===_0x3a48fc(0x36d)?_0x22536a=_0x3f5297[_0x3a48fc(0x36d)]:_0x20d8ef['v']===_0x3a48fc(0x29d)&&(_0x22536a=_0x3f5297[_0x3a48fc(0x29d)]),_0x3e6f23['setValue'](_0x5480e7+_0x529ed0,_0xa99e3b+_0x36bad0,{..._0x20d8ef,'v':_0x22536a});});const _0x202ba8=_0x54f2e8[_0x44d2ee(0x30b)]['deepClone'](_0x43a963);return Object['keys'](_0x43a963)['forEach'](_0x155ea5=>{const _0x2ee6fe=_0x44d2ee;_0x202ba8[_0x155ea5]=_0x43a963[_0x155ea5]['map'](_0x4051eb=>({..._0x4051eb,'startRow':_0x4051eb[_0x2ee6fe(0x3cc)]+_0x529ed0,'endRow':_0x4051eb[_0x2ee6fe(0x400)]+_0x529ed0,'startColumn':_0x4051eb[_0x2ee6fe(0x139)]+_0x36bad0,'endColumn':_0x4051eb[_0x2ee6fe(0x14f)]+_0x36bad0}));}),{'matrixCache':_0x3e6f23,'rangesCache':_0x202ba8};};function _0x4545bd(_0x4447ea,_0x5681d6){const _0x57ea6c=_0x2d8507;let _0x3b56b5='';const _0x25188b=this['getTextInfo']();switch(_0x5681d6){case _0x2a5883['PivotSubtotalTypeEnum']['average']:_0x3b56b5=_0x25188b[_0x57ea6c(0x2bd)]+_0x4447ea;break;case _0x2a5883[_0x57ea6c(0x27b)]['count']:_0x3b56b5=_0x25188b[_0x57ea6c(0x30c)]+_0x4447ea;break;case _0x2a5883[_0x57ea6c(0x27b)]['countNums']:_0x3b56b5=_0x25188b['sheets-pivot.countNumsName']+_0x4447ea;break;case _0x2a5883[_0x57ea6c(0x27b)]['max']:_0x3b56b5=_0x25188b[_0x57ea6c(0x402)]+_0x4447ea;break;case _0x2a5883[_0x57ea6c(0x27b)][_0x57ea6c(0x342)]:_0x3b56b5=_0x25188b[_0x57ea6c(0x27d)]+_0x4447ea;break;case _0x2a5883['PivotSubtotalTypeEnum'][_0x57ea6c(0x1e9)]:_0x3b56b5=_0x25188b[_0x57ea6c(0x35d)]+_0x4447ea;break;case _0x2a5883[_0x57ea6c(0x27b)][_0x57ea6c(0x1da)]:_0x3b56b5=_0x25188b[_0x57ea6c(0x1f8)]+_0x4447ea;break;case _0x2a5883[_0x57ea6c(0x27b)][_0x57ea6c(0x343)]:_0x3b56b5=_0x25188b[_0x57ea6c(0x1f2)]+_0x4447ea;break;case _0x2a5883[_0x57ea6c(0x27b)][_0x57ea6c(0x303)]:_0x3b56b5=_0x25188b[_0x57ea6c(0x24b)]+_0x4447ea;break;case _0x2a5883[_0x57ea6c(0x27b)][_0x57ea6c(0x27a)]:_0x3b56b5=_0x25188b[_0x57ea6c(0x397)]+_0x4447ea;break;case _0x2a5883[_0x57ea6c(0x27b)][_0x57ea6c(0x15d)]:_0x3b56b5=_0x25188b[_0x57ea6c(0x268)]+_0x4447ea;break;default:_0x3b56b5=_0x4447ea;break;}return _0x3b56b5;}function _0x60e612(_0x56118c,_0x3581c1,_0x55eefc,_0x1b448e,_0x29640f){const _0x9d396=_0x2d8507;var _0x82d5fa,_0x35b14a,_0x134df3,_0x5c7a47,_0x184d16;const _0x174163=_0x54f2e8[_0x9d396(0x2bb)](_0x56118c,_0x3581c1),{rangesInfo:_0x2b44f9,areaInfo:_0x3c630e,headerMap:_0x381924}=_0x29640f;if(!_0x2b44f9||!_0x3c630e||!_0x381924)return;const _0x2fcade=Object[_0x9d396(0x1db)](_0x2b44f9)[_0x9d396(0x396)](_0x44beb9=>_0x2b44f9[_0x44beb9]['some'](_0x1b3729=>_0x54f2e8[_0x9d396(0x24e)][_0x9d396(0x15f)](_0x1b3729,_0x174163))),_0x24dbf1=_0x3c630e;let _0x250a51,_0x5454e1,_0xf2f8c7;if(_0x2fcade===_0x9d396(0x1b1))_0x250a51=(_0x82d5fa=_0x24dbf1==null?void 0x0:_0x24dbf1[_0x9d396(0x1f3)])==null?void 0x0:_0x82d5fa[_0x56118c],_0x5454e1=(_0x35b14a=_0x381924==null?void 0x0:_0x381924['rowHeaderMap'])==null?void 0x0:_0x35b14a[_0x3581c1],_0xf2f8c7=_0x5454e1==null?void 0x0:_0x5454e1[_0x9d396(0x34a)];else{if(_0x2fcade===_0x9d396(0x364))_0x250a51=(_0x134df3=_0x24dbf1==null?void 0x0:_0x24dbf1[_0x9d396(0x148)])==null?void 0x0:_0x134df3[_0x3581c1],_0x5454e1=(_0x5c7a47=_0x381924['colHeaderMap'])==null?void 0x0:_0x5c7a47[_0x56118c+0x1+_0x3581c1-_0x2b44f9[_0x9d396(0x364)][0x0][_0x9d396(0x139)]],_0xf2f8c7=_0x5454e1==null?void 0x0:_0x5454e1[_0x9d396(0x34a)];else{if(_0x2fcade===_0x9d396(0x187))_0x250a51=(_0x184d16=_0x24dbf1==null?void 0x0:_0x24dbf1[_0x9d396(0x13c)])==null?void 0x0:_0x184d16[_0x3581c1],_0xf2f8c7=_0x250a51==null?void 0x0:_0x250a51[_0x9d396(0x34a)];else{if(_0x2fcade===_0x9d396(0x2b7)){const _0x314ee6=_0x55eefc==null?void 0x0:_0x55eefc['fi'];_0x314ee6!==void 0x0&&(_0xf2f8c7=_0x1b448e[_0x9d396(0x2df)](_0x314ee6));}}}}return{'filterId':_0xf2f8c7,'info':_0x250a51,'data':_0x55eefc,'headerInfo':_0x5454e1};}function _0x565772(_0x5479aa,_0xfde541,_0x2bd69b){const _0x49808f=_0x2d8507,_0x55e0f3=_0x5479aa[_0x49808f(0x2af)],_0x3e8b7b=_0x55e0f3[_0x49808f(0x277)](),_0x26aaed=new Set();_0x5479aa[_0x49808f(0x416)](_0xab1ff4=>{const _0x4b7f96=_0x49808f;_0x26aaed[_0x4b7f96(0x1fe)](_0xab1ff4[_0x4b7f96(0x2f1)]);});const _0x312a64=_0x3e8b7b['map'](_0x3cbfd7=>{const _0x126b1e=_0x49808f,_0x15218b=_0x55e0f3[_0x126b1e(0x3b3)](_0x3cbfd7);return{'checked':_0x26aaed[_0x126b1e(0x2fd)](_0x3cbfd7),'dataFieldId':_0x15218b['id'],'id':_0x15218b['id'],'name':_0x55e0f3[_0x126b1e(0x393)](_0x15218b['id']),'type':_0x15218b[_0x126b1e(0x42a)](),'pivotTableId':_0xfde541};}),_0x15e4fd=[];_0x5479aa['iterateFieldByArea'](_0x2a5883[_0x49808f(0x18a)]['Row'],_0x5a0b4d=>{const _0x1eea54=_0x49808f;_0x15e4fd['push']({'dataFieldId':_0x5a0b4d[_0x1eea54(0x2f1)],'tableFieldId':_0x5a0b4d[_0x1eea54(0x226)](),'displayName':_0x5a0b4d[_0x1eea54(0x393)]()});});const _0x325044=[];_0x5479aa[_0x49808f(0x2d5)](_0x2a5883[_0x49808f(0x18a)][_0x49808f(0x41d)],_0x14174a=>{const _0x33ea7c=_0x49808f;_0x325044[_0x33ea7c(0x423)]({'dataFieldId':_0x14174a[_0x33ea7c(0x2f1)],'tableFieldId':_0x14174a['getId'](),'displayName':_0x14174a[_0x33ea7c(0x393)]()});});const _0x544863=[];if(_0x5479aa[_0x49808f(0x2d5)](_0x2a5883[_0x49808f(0x18a)]['Value'],_0x256a20=>{const _0x47173a=_0x49808f;_0x544863[_0x47173a(0x423)]({'dataFieldId':_0x256a20[_0x47173a(0x2f1)],'tableFieldId':_0x256a20['getId'](),'displayName':_0x256a20[_0x47173a(0x393)](),'format':_0x256a20[_0x47173a(0x42f)](),'subTotalType':_0x256a20[_0x47173a(0x2e5)]()});}),_0x544863[_0x49808f(0x31c)]>0x1){const _0x393680=_0x5479aa[_0x49808f(0x3f2)]();(_0x5479aa[_0x49808f(0x2cf)]()?_0x325044:_0x15e4fd)[_0x49808f(0x24f)](_0x393680,0x0,{'dataFieldId':'','tableFieldId':_0x49808f(0x1e2),'displayName':_0x49808f(0x1d6)});}const _0x5e4df5=[];_0x5479aa[_0x49808f(0x2d5)](_0x2a5883[_0x49808f(0x18a)][_0x49808f(0x285)],_0x21e51f=>{const _0x5913ee=_0x49808f;_0x5e4df5[_0x5913ee(0x423)]({'dataFieldId':_0x21e51f[_0x5913ee(0x2f1)],'tableFieldId':_0x21e51f[_0x5913ee(0x226)](),'displayName':_0x21e51f[_0x5913ee(0x393)]()});});const _0x50137d=_0x2bd69b[_0x49808f(0x399)];return{'sourceList':_0x312a64,'sourceRange':_0x50137d,'rowFields':_0x15e4fd,'columnFields':_0x325044,'valueFields':_0x544863,'filterFields':_0x5e4df5,'positionInfo':_0x2bd69b[_0x49808f(0x1d3)]};}function _0x170099(_0x4a7443,_0x239f6b,_0xf050eb='',_0x54f1c4={}){const _0x293c77=_0x2d8507,_0x1ee6f2=_0x4a7443[_0x293c77(0x12a)](_0x54f2e8['LocaleService']);for(const _0x479c5d in _0x239f6b)if(Object['prototype'][_0x293c77(0x2c1)]['call'](_0x239f6b,_0x479c5d)){const _0x55299b=_0xf050eb?_0xf050eb+'.'+_0x479c5d:_0x479c5d;typeof _0x239f6b[_0x479c5d]==_0x293c77(0x255)&&_0x239f6b[_0x479c5d]!==null&&!Array[_0x293c77(0x3b1)](_0x239f6b[_0x479c5d])?_0x170099(_0x4a7443,_0x239f6b[_0x479c5d],_0x55299b,_0x54f1c4):_0x54f1c4[_0x55299b]=_0x1ee6f2['t'](_0x55299b);}return _0x54f1c4;}const _0x2ab95d=_0x35b64d=>{const _0x450f1=_0x2d8507;if(!_0x35b64d)return[];const {rowRanges:_0x5d2cff,colRanges:_0x1fc7bd,cornerRanges:_0x956654,dataRanges:_0x2de6e3,pageRanges:_0x39be5c}=_0x35b64d,_0x59aea3=[..._0x1fc7bd,..._0x5d2cff,..._0x2de6e3,..._0x956654][_0x450f1(0x179)](_0x848f29=>_0x848f29['startRow']>=0x0&&_0x848f29[_0x450f1(0x139)]>=0x0&&_0x848f29[_0x450f1(0x400)]>=0x0&&_0x848f29[_0x450f1(0x14f)]>=0x0);let _0x2611e1=Number[_0x450f1(0x3c2)],_0x4b455c=Number[_0x450f1(0x3c4)],_0x266bad=Number[_0x450f1(0x3c2)],_0x264c19=Number[_0x450f1(0x3c4)];for(let _0x5acb2e=0x0;_0x5acb2e<_0x59aea3[_0x450f1(0x31c)];_0x5acb2e++)_0x2611e1=Math[_0x450f1(0x342)](_0x2611e1,_0x59aea3[_0x5acb2e][_0x450f1(0x3cc)]),_0x4b455c=Math[_0x450f1(0x3fc)](_0x4b455c,_0x59aea3[_0x5acb2e]['endRow']),_0x266bad=Math[_0x450f1(0x342)](_0x266bad,_0x59aea3[_0x5acb2e][_0x450f1(0x139)]),_0x264c19=Math[_0x450f1(0x3fc)](_0x264c19,_0x59aea3[_0x5acb2e]['endColumn']);return[..._0x39be5c,{'startRow':_0x2611e1,'endRow':_0x4b455c,'startColumn':_0x266bad,'endColumn':_0x264c19}];};function _0x3b95e0(_0x2283e5,_0x5201ae){const _0x2bddf4=_0x2d8507,_0x3819c0=_0x5201ae[_0x2bddf4(0x3aa)][_0x2bddf4(0x1d9)],{pivotTableId:_0x2e98e7,unitId:_0x39ca37,subUnitId:_0x85e682}=_0x5201ae;if(!_0x3819c0)return;const _0x282f93=_0x2283e5['get'](_0x5d1b85[_0x2bddf4(0x1e7)]),_0x126da7=_0x282f93[_0x2bddf4(0x32f)](_0x2e98e7),_0x6b3352=_0x282f93[_0x2bddf4(0x2d6)](_0x39ca37,_0x85e682,_0x2e98e7);if(!_0x126da7||!_0x6b3352)return;const _0x108101=_0x126da7[_0x2bddf4(0x17a)](_0x3819c0[_0x2bddf4(0x34b)]);if(!(_0x108101!=null&&_0x108101['length']))return;const _0x19c13f=_0x6b3352[_0x2bddf4(0x399)],{unitId:_0x43031a,subUnitId:_0x2d1782,range:_0x332ee6}=_0x19c13f;let _0x524e7f=0x0;const _0x16dd44=_0x126da7[_0x2bddf4(0x2af)][_0x2bddf4(0x277)]()[_0x2bddf4(0x26c)]((_0x57655a,_0x5e5b6b)=>{const _0x411517=_0x2bddf4;var _0x48e82c;const _0x569f2f=(_0x48e82c=_0x126da7[_0x411517(0x306)](_0x5e5b6b))==null?void 0x0:_0x48e82c[_0x411517(0x35f)]();return _0x569f2f&&(_0x57655a[String(_0x524e7f)]=_0x569f2f),_0x524e7f++,_0x57655a;},{});return{'indexes':_0x108101,'range':_0x332ee6,'sourceUnitId':_0x43031a,'sourceSubUnitId':_0x2d1782,'formatMap':_0x16dd44};}function _0x47e8e8(_0x17ed71,_0x15e099){const _0x4766e7=_0x2d8507;if(!_0x17ed71||!_0x15e099)return!0x0;const _0x359578=_0x5731b9['unshiftString'](_0x15e879,_0x15f28b),_0x2d28f0=new Function('return\x20'+_0x359578)()(_0x17ed71,_0x15e099)['message'],_0x1dec3a=_0x5731b9[_0x4766e7(0x247)](_0x2d28f0,'sf',_0x5ca7a2);return!((_0x2d28f0==null?void 0x0:_0x2d28f0['rt'])===_0x5731b9[_0x4766e7(0x2e9)][_0x4766e7(0x169)]&&!_0x1dec3a);}function _0x58d1f7(_0x616364,_0x1eeeb7,_0x2937af){const _0x1779f5=_0x2d8507,_0x388451={'count':_0x616364,'timeValid':!0x1};if(!_0x1eeeb7||!_0x2937af)return _0x388451;const _0x9f0415=_0x5731b9[_0x1779f5(0x28a)](_0x15e879,_0x15f28b),_0x9f6f0f=new Function(_0x1779f5(0x154)+_0x9f0415)()(_0x1eeeb7,_0x2937af);if(_0x9f6f0f!=null&&_0x9f6f0f[_0x1779f5(0x156)]){const _0x44a2ad=_0x9f6f0f[_0x1779f5(0x3c1)],_0x445f1f=_0x5731b9[_0x1779f5(0x247)](_0x44a2ad,'sf',_0x5ca7a2);return{'count':_0x5731b9['getSheetFeatureLimit'](_0x44a2ad,_0x445f1f,_0x1779f5(0x34e),_0x616364,_0x616364,0x0),'timeValid':_0x445f1f};}return _0x388451;}function _0x47d9f5(_0x16ff10,_0x50d8b9,_0x5d5d30,_0x1e54d5){const _0x1d0847=_0x2d8507,_0x3e5320={'subUnitId':_0x5d5d30,'unitId':_0x50d8b9,'cellValue':_0x3ff8f7[_0x1d0847(0x153)](_0x1e54d5)},_0x2eb5c7=_0x3ff8f7[_0x1d0847(0x199)](_0x16ff10,_0x3e5320);let _0x57f159=!0x1;return new _0x54f2e8[(_0x1d0847(0x12c))](_0x2eb5c7['cellValue'])[_0x1d0847(0x25f)]((_0x5c034c,_0x452e8a,_0x383bcd)=>{if(!_0x57f159&&_0x383bcd&&(_0x383bcd['custom']||_0x383bcd['f']||_0x383bcd['p']||_0x383bcd['s']||_0x383bcd['si']||_0x383bcd['t']||_0x383bcd['v']))return _0x57f159=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x3ff8f7[_0x1d0847(0x1ac)]['id'],'params':_0x2eb5c7},'setRangeValueRedoMutation':{'id':_0x3ff8f7[_0x1d0847(0x1ac)]['id'],'params':_0x3e5320},'shouldClear':_0x57f159};}function _0x5c808a(_0x496276){const {row:_0xa51e19,col:_0xd4e8f0}=_0x496276,_0x2ef7c1={'startRow':_0xa51e19,'endRow':_0xa51e19,'startColumn':_0xd4e8f0,'endColumn':_0xd4e8f0},_0x355c22={'startRow':_0xa51e19+0x2,'endRow':_0xa51e19+0xe,'startColumn':_0xd4e8f0,'endColumn':_0xd4e8f0+0x6};return[_0x2ef7c1,_0x355c22];}function _0x2a901b(_0x2f5924,_0xf210b7,_0x32895d){const _0x1aa362=_0x2d8507,{cornerView:_0x317083,rowView:_0xa89be1,colView:_0x7b0864,pageView:_0x397c50}=_0x2f5924,{row:_0x6ec75d,col:_0x2c3c00}=_0xf210b7;if(_0x32895d)return{'rowCount':_0x33bbb5+_0x6ec75d,'colCount':_0x4008cb+_0x2c3c00};const _0x317a03=_0x397c50[_0x1aa362(0x3c0)]>-0x1?_0x397c50[_0x1aa362(0x3c0)]+0x1:0x0,_0x1c41a0=_0x397c50['lastCol']>-0x1?_0x397c50[_0x1aa362(0x225)]:0x0,_0x16981b=_0x6ec75d+_0x317a03+(_0x317a03?0x1:0x0)+_0x317083[_0x1aa362(0x2f0)]+_0xa89be1[_0x1aa362(0x2f0)],_0x5eca76=_0x2c3c00+_0x1c41a0,_0x48dc62=_0x2c3c00+_0x317083[_0x1aa362(0x193)]+_0x7b0864['colCount'],_0x287c22=Math[_0x1aa362(0x3fc)](_0x5eca76,_0x48dc62);return{'rowCount':_0x16981b,'colCount':_0x287c22};}function _0x4a2750(_0x271050,_0x784334,_0x2e0d04,_0x265306){const _0x3af933=_0x2d8507,{row:_0x14be30,col:_0x57d55a,unitId:_0x121552,subUnitId:_0xf6b39e}=_0x2e0d04,_0x49ab61=_0x2a901b(_0x784334,{'row':_0x14be30,'col':_0x57d55a},_0x265306),_0x5b97a5=_0x271050[_0x3af933(0x12a)](_0x54f2e8[_0x3af933(0x2a2)]),_0x3ce09a=_0x3ff8f7['getSheetCommandTarget'](_0x5b97a5,{'unitId':_0x121552,'subUnitId':_0xf6b39e}),_0x32d6c6=[],_0x1204c7=[];if(!_0x3ce09a)return{'undos':_0x1204c7,'redos':_0x32d6c6};const {worksheet:_0xe6af1c}=_0x3ce09a,_0x224b01=_0xe6af1c[_0x3af933(0x14d)](),_0x5dfb58=_0xe6af1c[_0x3af933(0x22e)]();return _0x224b01<_0x49ab61['rowCount']&&(_0x32d6c6[_0x3af933(0x423)]({'id':_0x3ff8f7[_0x3af933(0x3c8)]['id'],'params':{'unitId':_0x121552,'subUnitId':_0xf6b39e,'range':{'startRow':_0x224b01,'endRow':_0x49ab61[_0x3af933(0x2f0)]-0x1,'startColumn':0x0,'endColumn':_0x5dfb58-0x1}}}),_0x1204c7['push']({'id':_0x3ff8f7['RemoveRowMutation']['id'],'params':{'unitId':_0x121552,'subUnitId':_0xf6b39e,'range':{'startRow':_0x224b01,'endRow':_0x49ab61[_0x3af933(0x2f0)]-0x1,'startColumn':0x0,'endColumn':_0x5dfb58-0x1}}})),_0x5dfb58<_0x49ab61[_0x3af933(0x193)]&&(_0x32d6c6[_0x3af933(0x423)]({'id':_0x3ff8f7[_0x3af933(0x315)]['id'],'params':{'unitId':_0x121552,'subUnitId':_0xf6b39e,'range':{'startRow':0x0,'endRow':_0x224b01-0x1,'startColumn':_0x5dfb58,'endColumn':_0x49ab61[_0x3af933(0x193)]-0x1}}}),_0x1204c7[_0x3af933(0x423)]({'id':_0x3ff8f7[_0x3af933(0x1a6)]['id'],'params':{'unitId':_0x121552,'subUnitId':_0xf6b39e,'range':{'startRow':0x0,'endRow':_0x224b01-0x1,'startColumn':_0x5dfb58,'endColumn':_0x49ab61[_0x3af933(0x193)]-0x1}}})),{'undos':_0x1204c7,'redos':_0x32d6c6};}function _0x53fbe2(_0x57d930){const _0x461957=_0x2d8507;let _0x54fb84=0x0;for(let _0x19d9af=0x0;_0x19d9af<_0x57d930[_0x461957(0x31c)];_0x19d9af++){const _0x509420=_0x57d930[_0x461957(0x1ea)](_0x19d9af);_0x509420>=0x4e00&&_0x509420<=0x9fff||_0x509420>=0x3000&&_0x509420<=0x303f||_0x509420>=0xff00&&_0x509420<=0xffef?_0x54fb84+=0x2:_0x54fb84+=0x1;}return _0x54fb84;}function _0x38d646(_0xfb6950,_0x5825cd,_0x2a969c,_0x9c5ad6){const _0x44df5d=_0x2d8507;var _0xa662d5,_0x14330a,_0xf9f6cb,_0x5eedc6;const {rowCount:_0x246eff,colCount:_0x172d51,headerMap:_0x4544a2}=_0xfb6950,_0x9f782=0x64,_0x162309=Math[_0x44df5d(0x342)](_0x246eff,_0x9f782),_0x35b909=Math[_0x44df5d(0x342)](_0x172d51,_0x9f782);let _0xe24359='',_0x4020cb=0x0;for(let _0x4fdcaf=0x0;_0x4fdcaf<_0x162309;_0x4fdcaf++)for(let _0xbb0296=0x0;_0xbb0296<_0x35b909;_0xbb0296++){const _0x3e3778={...(_0x14330a=(_0xa662d5=_0xfb6950[_0x44df5d(0x194)])==null?void 0x0:_0xa662d5[_0x4fdcaf])==null?void 0x0:_0x14330a[_0xbb0296]},_0x268ce3=(_0xf9f6cb=_0x4544a2[_0x4fdcaf])==null?void 0x0:_0xf9f6cb[_0x44df5d(0x34a)],_0x73c0d6=_0x9c5ad6[_0x268ce3];let _0x2b898f=_0xfb6950[_0x44df5d(0x1a5)](_0x4fdcaf,_0xbb0296);if(_0x3e3778){const _0x322f48=_0x2a969c?_0xbb0296===0x0&&((_0x5eedc6=_0xfb6950['getHeaderMapItem'](_0xbb0296+0x1))==null?void 0x0:_0x5eedc6['isValue']):!0x1;_0x2b898f=_0x5cf288(_0x3e3778,_0x322f48,_0x73c0d6,_0x5825cd);}if(_0x2b898f!==void 0x0){const _0x5d6d33=_0x53fbe2(String(_0x2b898f));_0x4020cb<_0x5d6d33&&(_0xe24359=String(_0x2b898f),_0x4020cb=_0x5d6d33);}}return _0xe24359;}function _0x1f3cfc(_0x1338d8){const _0x554e5c=_0x2d8507,{rowCount:_0x1f3c34,colCount:_0x18f119}=_0x1338d8;let _0x408955='',_0x35d828=0x0;for(let _0x4f68ea=_0x1f3c34-0x1;_0x4f68ea>0x0&&_0x4f68ea>_0x1f3c34-0x3;_0x4f68ea--)for(let _0xc59e97=0x0;_0xc59e97<_0x18f119;_0xc59e97++){const _0x2a28c8=_0x1338d8[_0x554e5c(0x1a5)](_0x4f68ea,_0xc59e97);if(_0x2a28c8!==void 0x0){const _0x37ed3a=String(_0x2a28c8)[_0x554e5c(0x31c)];_0x35d828<_0x37ed3a&&(_0x408955=String(_0x2a28c8),_0x35d828=_0x37ed3a);}}return _0x408955;}function _0x576388(_0x41f257){const _0xd8dacd=_0x2d8507,{rowCount:_0x120ff3,colCount:_0x2bf252}=_0x41f257;let _0x26faed='',_0x1a60ec=0x0;for(let _0x1ccffc=0x0;_0x1ccffc<_0x120ff3;_0x1ccffc++)for(let _0x101fad=0x0;_0x101fad<_0x2bf252;_0x101fad++){const _0xcad07a=_0x41f257[_0xd8dacd(0x1a5)](_0x1ccffc,_0x101fad);if(_0xcad07a!==void 0x0){const _0x262c19=String(_0xcad07a)[_0xd8dacd(0x31c)];_0x1a60ec<_0x262c19&&(_0x26faed=String(_0xcad07a),_0x1a60ec=_0x262c19);}}return _0x26faed;}function _0x4d9ef2(_0x1b1ed9,_0x30c979){const _0x2ffef4=_0x2d8507,{rowFields:_0xe45423,columnFields:_0x2e71a7,valueFields:_0x18973d,filterFields:_0x5c3535,dimension:_0x3de0fc,measure:_0x23a935}=_0x30c979;for(const _0x253243 of _0xe45423){const _0x45d127=_0x3de0fc[_0x253243];_0x45d127&&_0x1b1ed9[_0x2ffef4(0x306)](_0x45d127[_0x2ffef4(0x2f1)])&&(_0x1b1ed9[_0x2ffef4(0x191)](_0x45d127[_0x2ffef4(0x2f1)],_0x2a5883[_0x2ffef4(0x18a)]['Row'],void 0x0,_0x253243),_0x45d127['displayName']&&_0x1b1ed9['renameField'](_0x45d127['id'],_0x45d127[_0x2ffef4(0x223)]),_0x45d127['sortInfo']&&_0x1b1ed9['setSortInfo'](_0x45d127['id'],_0x45d127[_0x2ffef4(0x236)]),_0x45d127[_0x2ffef4(0x3d2)]&&_0x1b1ed9[_0x2ffef4(0x357)](_0x45d127['id'],_0x45d127[_0x2ffef4(0x3d2)]));}for(const _0x1b9558 of _0x2e71a7){const _0x5a3b0b=_0x3de0fc[_0x1b9558];_0x5a3b0b&&_0x1b1ed9[_0x2ffef4(0x306)](_0x5a3b0b['dataFieldId'])&&(_0x1b1ed9[_0x2ffef4(0x191)](_0x5a3b0b[_0x2ffef4(0x2f1)],_0x2a5883[_0x2ffef4(0x18a)]['Column'],void 0x0,_0x1b9558),_0x5a3b0b[_0x2ffef4(0x236)]&&_0x1b1ed9[_0x2ffef4(0x19c)](_0x5a3b0b['id'],_0x5a3b0b[_0x2ffef4(0x236)]),_0x5a3b0b[_0x2ffef4(0x3d2)]&&_0x1b1ed9[_0x2ffef4(0x357)](_0x5a3b0b['id'],_0x5a3b0b['filterInfo']),_0x5a3b0b['displayName']&&_0x1b1ed9['renameField'](_0x5a3b0b['id'],_0x5a3b0b['displayName']));}for(const _0x282511 of _0x5c3535){const _0x3f4d17=_0x3de0fc[_0x282511];_0x3f4d17&&_0x1b1ed9[_0x2ffef4(0x306)](_0x3f4d17[_0x2ffef4(0x2f1)])&&(_0x1b1ed9['addFieldWithSourceId'](_0x3f4d17['dataFieldId'],_0x2a5883[_0x2ffef4(0x18a)][_0x2ffef4(0x285)],void 0x0,_0x282511),_0x3f4d17[_0x2ffef4(0x236)]&&_0x1b1ed9[_0x2ffef4(0x19c)](_0x3f4d17['id'],_0x3f4d17['sortInfo']),_0x3f4d17[_0x2ffef4(0x3d2)]&&_0x1b1ed9[_0x2ffef4(0x357)](_0x3f4d17['id'],_0x3f4d17['filterInfo']),_0x3f4d17[_0x2ffef4(0x223)]&&_0x1b1ed9[_0x2ffef4(0x3c3)](_0x3f4d17['id'],_0x3f4d17[_0x2ffef4(0x223)]));}for(const _0x5a3916 of _0x18973d){const _0x5f0c59=_0x23a935[_0x5a3916];_0x5f0c59&&_0x1b1ed9[_0x2ffef4(0x306)](_0x5f0c59[_0x2ffef4(0x2f1)])&&(_0x1b1ed9[_0x2ffef4(0x191)](_0x5f0c59[_0x2ffef4(0x2f1)],_0x2a5883['PivotTableFiledAreaEnum'][_0x2ffef4(0x2f7)],void 0x0,_0x5a3916),_0x5f0c59[_0x2ffef4(0x1b0)]!==void 0x0&&_0x1b1ed9[_0x2ffef4(0x2da)](_0x5a3916,_0x5f0c59[_0x2ffef4(0x1b0)]),_0x5f0c59[_0x2ffef4(0x380)]&&_0x1b1ed9['setFieldFormat'](_0x5a3916,_0x5f0c59[_0x2ffef4(0x380)]),_0x5f0c59[_0x2ffef4(0x223)]&&_0x1b1ed9['renameField'](_0x5f0c59['id'],_0x5f0c59[_0x2ffef4(0x223)]));}const _0x414a27=_0x30c979[_0x2ffef4(0x3cd)];for(const {fieldId:_0x408f2a,filterInfo:_0x5efd48}of _0x414a27)_0x1b1ed9['setValueFilterInfo'](_0x408f2a,_0x5efd48);}function _0x1bb5d5(_0x14ae2d,_0x3440d0){const _0xede3a7=_0x2d8507,_0x1ba3fc=[];_0x3440d0===_0x2a5883[_0xede3a7(0x18a)]['Row']&&_0x14ae2d[_0xede3a7(0x2d5)](_0x2a5883[_0xede3a7(0x18a)][_0xede3a7(0x21b)],_0x1b2cf8=>{const _0x958bb5=_0xede3a7;_0x1ba3fc[_0x958bb5(0x423)](_0x1b2cf8[_0x958bb5(0x226)]());}),_0x3440d0===_0x2a5883['PivotTableFiledAreaEnum']['Column']&&_0x14ae2d[_0xede3a7(0x2d5)](_0x2a5883['PivotTableFiledAreaEnum'][_0xede3a7(0x41d)],_0x5adea9=>{_0x1ba3fc['push'](_0x5adea9['getId']());}),_0x3440d0===_0x2a5883[_0xede3a7(0x18a)][_0xede3a7(0x285)]&&_0x14ae2d[_0xede3a7(0x2d5)](_0x2a5883['PivotTableFiledAreaEnum']['Filter'],_0x240e3d=>{const _0x336b90=_0xede3a7;_0x1ba3fc[_0x336b90(0x423)](_0x240e3d[_0x336b90(0x226)]());}),_0x3440d0===_0x2a5883[_0xede3a7(0x18a)][_0xede3a7(0x2f7)]&&_0x14ae2d[_0xede3a7(0x2d5)](_0x2a5883[_0xede3a7(0x18a)][_0xede3a7(0x2f7)],_0x28c3a0=>{const _0x5ddc92=_0xede3a7;_0x1ba3fc[_0x5ddc92(0x423)](_0x28c3a0['getId']());}),_0x3440d0===void 0x0&&_0x14ae2d[_0xede3a7(0x416)](_0x15269a=>{_0x1ba3fc['push'](_0x15269a['getId']());});const _0x2f29a3=_0x1ba3fc[_0xede3a7(0x31c)];for(let _0x159784=_0x2f29a3-0x1;_0x159784>=0x0;_0x159784--)_0x14ae2d[_0xede3a7(0x42b)](_0x1ba3fc[_0x159784]);const _0x220f76=_0x14ae2d[_0xede3a7(0x1bc)]();for(const _0x21e268 in _0x220f76)_0x14ae2d[_0xede3a7(0x321)](_0x21e268);}function _0x298b71(_0x1cfcb9,_0xdd631d){const _0x4e6499=_0x2d8507,_0x26c1f9=new Date(_0x2a5883[_0x4e6499(0x18f)](_0xdd631d)),_0x32daba=new Date(_0x2a5883[_0x4e6499(0x18f)](_0x1cfcb9)),_0x1a48bf=_0x26c1f9['getFullYear'](),_0xf52c08=_0x32daba[_0x4e6499(0x3d9)](),_0x845265=_0x26c1f9[_0x4e6499(0x276)](),_0x4d826d=_0x32daba['getMonth'](),_0x5d8cd6=_0x26c1f9[_0x4e6499(0x166)](),_0x4728cb=_0x32daba[_0x4e6499(0x166)](),_0x4d62b9=_0x1a48bf===_0xf52c08,_0x2063c0=_0x4d62b9&&_0x845265===_0x4d826d;return _0x4d62b9&&_0x2063c0&&!(_0x2063c0&&_0x5d8cd6===_0x4728cb)?_0x2a5883[_0x4e6499(0x219)][_0x4e6499(0x3b0)]:_0x4d62b9&&!_0x2063c0?_0x2a5883[_0x4e6499(0x219)][_0x4e6499(0x2bf)]:_0x2a5883[_0x4e6499(0x219)][_0x4e6499(0x327)];}function _0x5b0287(_0x1c7059,_0x579fc4){const _0x1333c4=_0x2d8507,_0x430ff6=_0x1c7059[_0x1333c4(0x12a)](_0x5d1b85[_0x1333c4(0x1e7)])[_0x1333c4(0x424)]();let _0x416bbf='';switch(_0x579fc4){case _0x2a5883[_0x1333c4(0x219)][_0x1333c4(0x3b0)]:_0x416bbf=_0x430ff6[_0x1333c4(0x3d0)];break;case _0x2a5883[_0x1333c4(0x219)][_0x1333c4(0x2bf)]:_0x416bbf=_0x430ff6[_0x1333c4(0x2b1)];break;case _0x2a5883['PivotDateGroupFieldDateTypeEnum'][_0x1333c4(0x327)]:_0x416bbf=_0x430ff6[_0x1333c4(0x13e)];break;case _0x2a5883['PivotDateGroupFieldDateTypeEnum']['Month']:_0x416bbf=_0x430ff6['sheets-pivot.dateGroup.month'];break;case _0x2a5883['PivotDateGroupFieldDateTypeEnum'][_0x1333c4(0x25c)]:_0x416bbf=_0x430ff6[_0x1333c4(0x34f)];break;case _0x2a5883[_0x1333c4(0x219)]['Date']:_0x416bbf=_0x430ff6[_0x1333c4(0x433)];break;case _0x2a5883[_0x1333c4(0x219)][_0x1333c4(0x3f5)]:_0x416bbf=_0x430ff6[_0x1333c4(0x261)];break;case _0x2a5883[_0x1333c4(0x219)]['Hour']:_0x416bbf=_0x430ff6[_0x1333c4(0x212)];break;case _0x2a5883[_0x1333c4(0x219)][_0x1333c4(0x3e8)]:_0x416bbf=_0x430ff6['sheets-pivot.dateGroup.minute'];break;case _0x2a5883[_0x1333c4(0x219)][_0x1333c4(0x3dc)]:_0x416bbf=_0x430ff6[_0x1333c4(0x330)];break;case _0x2a5883[_0x1333c4(0x219)]['YearQuarter']:_0x416bbf=_0x430ff6[_0x1333c4(0x140)];break;default:_0x416bbf='';break;}return _0x416bbf;}const _0x24d753=_0x2d8507(0x3fe),_0x472471={};var _0x1d7eff=Object[_0x2d8507(0x165)],_0x53cea1=(_0x410c5a,_0xd02cb9,_0x34b1f4,_0xe0c7a6)=>{for(var _0x1579c8=_0xe0c7a6>0x1?void 0x0:_0xe0c7a6?_0x1d7eff(_0xd02cb9,_0x34b1f4):_0xd02cb9,_0x21b15a=_0x410c5a['length']-0x1,_0x4a275a;_0x21b15a>=0x0;_0x21b15a--)(_0x4a275a=_0x410c5a[_0x21b15a])&&(_0x1579c8=_0x4a275a(_0x1579c8)||_0x1579c8);return _0x1579c8;},_0x19dea6=(_0x344599,_0x2d1153)=>(_0x321f8d,_0x398423)=>_0x2d1153(_0x321f8d,_0x398423,_0x344599);_0x5d1b85['SheetsPivotTableConfigModel']=class extends _0x54f2e8[_0x2d8507(0x21a)]{constructor(_0x25e673,_0x12e3f1,_0x1dc364,_0x41b0bf,_0x190a62){const _0xc3dffb=_0x2d8507;super(),_0x2ffda7(this,_0xc3dffb(0x41a),new Map()),_0x2ffda7(this,_0xc3dffb(0x1ff),new Map()),_0x2ffda7(this,'_pivotTableRangeInfo',new Map()),_0x2ffda7(this,_0xc3dffb(0x204),new Map()),_0x2ffda7(this,_0xc3dffb(0x2dd),new _0x309d6a[(_0xc3dffb(0x3e5))]()),_0x2ffda7(this,_0xc3dffb(0x1cd),new _0x309d6a[(_0xc3dffb(0x3e5))]()),_0x2ffda7(this,_0xc3dffb(0x32d),this[_0xc3dffb(0x1cd)][_0xc3dffb(0x1fc)]()),_0x2ffda7(this,_0xc3dffb(0x3ff),new _0x309d6a[(_0xc3dffb(0x3e5))]()),_0x2ffda7(this,_0xc3dffb(0x240),this[_0xc3dffb(0x3ff)][_0xc3dffb(0x1fc)]()),_0x2ffda7(this,_0xc3dffb(0x230),{}),_0x2ffda7(this,'configVersion$',this[_0xc3dffb(0x2dd)][_0xc3dffb(0x1fc)]()),(this[_0xc3dffb(0x407)]=_0x25e673,this['_commandService']=_0x12e3f1,this[_0xc3dffb(0x3dd)]=_0x1dc364,this[_0xc3dffb(0x24d)]=_0x41b0bf,this['_configService']=_0x190a62,this[_0xc3dffb(0x2a0)](),this['_initUnitDisposed']());const _0xbe698a=this['_configService'][_0xc3dffb(0x257)](_0x24d753);(_0xbe698a==null?void 0x0:_0xbe698a[_0xc3dffb(0x1d0)])===!0x0&&this[_0xc3dffb(0x362)]();}[_0x2d8507(0x3da)](){const _0x4a7fa7=_0x2d8507;this['disposeWithMe'](this[_0x4a7fa7(0x3dd)][_0x4a7fa7(0x381)](_0x54f2e8[_0x4a7fa7(0x3c9)][_0x4a7fa7(0x24a)])['subscribe'](_0x153c75=>{const _0x4b6871=_0x4a7fa7;this['deleteUnitId'](_0x153c75[_0x4b6871(0x168)]());}));}[_0x2d8507(0x256)](){const _0x3e4b1c=_0x2d8507;this[_0x3e4b1c(0x1cd)][_0x3e4b1c(0x22a)](!0x0);}[_0x2d8507(0x2a0)](){const _0x42e0e7=_0x2d8507,_0x1422cd=_0x170099(this[_0x42e0e7(0x407)],_0x4cfa11,'',{});this[_0x42e0e7(0x230)]=_0x1422cd,this['_commandService'][_0x42e0e7(0x328)](_0x5cd47b['id'],{'textInfo':_0x1422cd},{'onlyLocal':!0x0});}[_0x2d8507(0x424)](){const _0x191a7e=_0x2d8507;return this[_0x191a7e(0x230)];}[_0x2d8507(0x2d3)](_0x4d5a99,_0x85a363,_0x2e5378,_0x311494,_0x371032){const _0x2fa885=_0x2d8507;this[_0x2fa885(0x227)](_0x4d5a99,_0x85a363,_0x2e5378,_0x311494),this[_0x2fa885(0x26b)](_0x4d5a99,_0x85a363,_0x2e5378,_0x371032);}[_0x2d8507(0x2d6)](_0x384f28,_0x434170,_0x77de94){const _0x4977b5=_0x2d8507;var _0x29b44e;const _0x160953=(_0x29b44e=this['_model'][_0x4977b5(0x12a)](_0x384f28))==null?void 0x0:_0x29b44e[_0x4977b5(0x12a)](_0x434170);if(_0x160953)return _0x160953['get'](_0x77de94);}[_0x2d8507(0x2e0)](_0xb6a403,_0x466296){const _0x244660=_0x2d8507,_0x585f77=this[_0x244660(0x41a)][_0x244660(0x12a)](_0xb6a403);if(_0x585f77){for(const [_0x611cda,_0x514d1c]of _0x585f77['entries']())for(const [_0x1bbfa2,_0x5e0668]of _0x514d1c['entries']())if(_0x1bbfa2===_0x466296)return _0x5e0668['targetCellInfo'];}}[_0x2d8507(0x23a)](_0x521c0c,_0x2e52ec,_0x108dea){const _0x191c84=_0x2d8507,_0x48f2f7=this[_0x191c84(0x2d6)](_0x521c0c,_0x2e52ec,_0x108dea);return _0x48f2f7==null?void 0x0:_0x48f2f7[_0x191c84(0x1d3)];}[_0x2d8507(0x160)](_0x5e941b,_0x4f9819){const _0x128075=_0x2d8507;var _0x42738d;return(_0x42738d=this['_model'][_0x128075(0x12a)](_0x5e941b))==null?void 0x0:_0x42738d[_0x128075(0x12a)](_0x4f9819);}[_0x2d8507(0x16a)](_0x1cc2b4,_0x5a5e89,_0x34cc10,_0x40e9d5){const _0x12d25c=_0x2d8507,_0x2bc99c=this[_0x12d25c(0x2c3)](_0x1cc2b4,_0x5a5e89);_0x40e9d5?_0x2bc99c[_0x12d25c(0x1cf)](_0x34cc10,_0x40e9d5):_0x2bc99c[_0x12d25c(0x1d5)](_0x34cc10),this[_0x12d25c(0x3ff)]['next']({'unitId':_0x1cc2b4,'subUnitId':_0x5a5e89,'pivotTableId':_0x34cc10,'pivotTableConfig':_0x40e9d5});}['getCollection'](_0x129203,_0x2c498d){const _0x424cbe=_0x2d8507;var _0x15f066;return(_0x15f066=this[_0x424cbe(0x1ff)][_0x424cbe(0x12a)](_0x129203))==null?void 0x0:_0x15f066[_0x424cbe(0x426)][_0x2c498d];}[_0x2d8507(0x38d)](_0x15e085,_0x418438){const _0x2b8d12=_0x2d8507;this[_0x2b8d12(0x1ff)][_0x2b8d12(0x1cf)](_0x15e085,_0x418438),this[_0x2b8d12(0x2dd)][_0x2b8d12(0x22a)](Math[_0x2b8d12(0x2f8)]());}['_ensurePivotMap'](_0x1196a3,_0x3eff2d){const _0x22f75c=_0x2d8507;let _0x5225d1=this[_0x22f75c(0x41a)][_0x22f75c(0x12a)](_0x1196a3);_0x5225d1||(_0x5225d1=new Map(),this['_model'][_0x22f75c(0x1cf)](_0x1196a3,_0x5225d1));let _0x278712=_0x5225d1[_0x22f75c(0x12a)](_0x3eff2d);return _0x278712||(_0x278712=new Map(),_0x5225d1['set'](_0x3eff2d,_0x278712)),_0x278712;}[_0x2d8507(0x43e)](_0xf8744a,_0x13981f){const _0x9465bd=_0x2d8507;let _0x5ba439=this[_0x9465bd(0x377)]['get'](_0xf8744a);_0x5ba439||(_0x5ba439=new Map(),this[_0x9465bd(0x377)][_0x9465bd(0x1cf)](_0xf8744a,_0x5ba439));let _0x381323=_0x5ba439[_0x9465bd(0x12a)](_0x13981f);return _0x381323||(_0x381323=new Map(),_0x5ba439[_0x9465bd(0x1cf)](_0x13981f,_0x381323)),_0x381323;}[_0x2d8507(0x12d)](_0x55b27d,_0x17acac){const _0x493827=_0x2d8507;let _0x3fdd44=this['_pivotTableMatrixInfo']['get'](_0x55b27d);_0x3fdd44||(_0x3fdd44=new Map(),this[_0x493827(0x204)][_0x493827(0x1cf)](_0x55b27d,_0x3fdd44));let _0x28d791=_0x3fdd44['get'](_0x17acac);return _0x28d791||(_0x28d791=new Map(),_0x3fdd44[_0x493827(0x1cf)](_0x17acac,_0x28d791)),_0x28d791;}['updatePivotTableRangeInfo'](_0x2d46f3,_0x40f5f9,_0x48ba26,_0x5d2342){const _0x23fbd9=_0x2d8507;var _0xd02add;const _0x19bffa=this[_0x23fbd9(0x43e)](_0x2d46f3,_0x40f5f9),_0x5b4d1d=(_0xd02add=_0x19bffa[_0x23fbd9(0x12a)](_0x48ba26))==null?void 0x0:_0xd02add[_0x23fbd9(0x3e4)];_0x19bffa[_0x23fbd9(0x1cf)](_0x48ba26,{'oldRangeInfo':_0x5b4d1d,'rangeInfo':_0x5d2342});}[_0x2d8507(0x227)](_0x1b84de,_0x490eaa,_0x33546e,_0x79f8be){const _0x4234dd=_0x2d8507;var _0x4d43ea;const _0x3d2e6f=this[_0x4234dd(0x12d)](_0x1b84de,_0x490eaa),_0x39de16=(_0x4d43ea=_0x3d2e6f[_0x4234dd(0x12a)](_0x33546e))==null?void 0x0:_0x4d43ea[_0x4234dd(0x2d0)];_0x3d2e6f[_0x4234dd(0x1cf)](_0x33546e,{'oldMatrix':_0x39de16,'matrix':_0x79f8be});}[_0x2d8507(0x2a9)](_0x5d2c1c,_0x434aca,_0x155367){const _0x1e6295=_0x2d8507;var _0x2b096b,_0x5a050f;return(_0x5a050f=(_0x2b096b=this[_0x1e6295(0x377)][_0x1e6295(0x12a)](_0x5d2c1c))==null?void 0x0:_0x2b096b[_0x1e6295(0x12a)](_0x434aca))==null?void 0x0:_0x5a050f[_0x1e6295(0x12a)](_0x155367);}[_0x2d8507(0x203)](_0x1a17db,_0x1c71ab,_0xec09bc){const _0xda74d6=_0x2d8507;var _0x58975d,_0x42b917;return(_0x42b917=(_0x58975d=this[_0xda74d6(0x204)]['get'](_0x1a17db))==null?void 0x0:_0x58975d[_0xda74d6(0x12a)](_0x1c71ab))==null?void 0x0:_0x42b917[_0xda74d6(0x12a)](_0xec09bc);}[_0x2d8507(0x2a7)](_0x5e632e){const _0x4a93d2=_0x2d8507;this[_0x4a93d2(0x41a)][_0x4a93d2(0x1d5)](_0x5e632e),this['_collectionConfigModel']['delete'](_0x5e632e);}[_0x2d8507(0x2ff)](_0x1c4464){const _0x477237=_0x2d8507,_0x16bb73={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x477237(0x1ff)][_0x477237(0x12a)](_0x1c4464)&&(_0x16bb73[_0x477237(0x27f)][_0x1c4464]=this[_0x477237(0x1ff)]['get'](_0x1c4464)),this[_0x477237(0x41a)]['get'](_0x1c4464)){_0x16bb73[_0x477237(0x353)][_0x1c4464]={};const _0x10c3be=this[_0x477237(0x41a)][_0x477237(0x12a)](_0x1c4464);_0x10c3be!=null&&_0x10c3be['size']&&[..._0x10c3be[_0x477237(0x1db)]()][_0x477237(0x151)](_0x108c4c=>{const _0x3308f5=_0x477237,_0x149d1e=_0x10c3be[_0x3308f5(0x12a)](_0x108c4c);_0x149d1e!=null&&_0x149d1e[_0x3308f5(0x260)]&&(_0x16bb73[_0x3308f5(0x353)][_0x1c4464][_0x108c4c]={},[..._0x149d1e[_0x3308f5(0x1db)]()]['forEach'](_0x4a51e2=>{const _0x2b10c8=_0x3308f5,_0x3349e5=_0x149d1e[_0x2b10c8(0x12a)](_0x4a51e2);_0x3349e5&&(_0x16bb73[_0x2b10c8(0x353)][_0x1c4464][_0x108c4c][_0x4a51e2]=_0x3349e5);}));});}return _0x16bb73;}[_0x2d8507(0x362)](){const _0x3c9628=_0x2d8507;this[_0x3c9628(0x434)](this[_0x3c9628(0x24d)][_0x3c9628(0x349)]({'toJson':_0x2abb1c=>JSON[_0x3c9628(0x181)](this[_0x3c9628(0x2ff)](_0x2abb1c)),'parseJson':_0x2087fb=>({}),'businesses':[_0x54f2e8[_0x3c9628(0x3c9)]['UNIVER_SHEET']],'pluginName':_0x269598,'onLoad':(_0x556370,_0x4080fb)=>{},'onUnLoad':_0x27e531=>{const _0x3fcebd=_0x3c9628;this[_0x3fcebd(0x2a7)](_0x27e531);}}));}},_0x5d1b85[_0x2d8507(0x147)]=_0x53cea1([_0x19dea6(0x0,_0x54f2e8[_0x2d8507(0x19f)](_0x54f2e8['Injector'])),_0x19dea6(0x1,_0x54f2e8[_0x2d8507(0x19f)](_0x54f2e8[_0x2d8507(0x41e)])),_0x19dea6(0x2,_0x54f2e8[_0x2d8507(0x19f)](_0x54f2e8[_0x2d8507(0x2a2)])),_0x19dea6(0x3,_0x54f2e8['Inject'](_0x54f2e8[_0x2d8507(0x1e3)])),_0x19dea6(0x4,_0x54f2e8[_0x2d8507(0x19f)](_0x54f2e8['IConfigService']))],_0x5d1b85[_0x2d8507(0x147)]);var _0x15dc77=Object['getOwnPropertyDescriptor'],_0x355e12=(_0x42661a,_0x4c459f,_0x38e616,_0x1c00a5)=>{const _0xacef2c=_0x2d8507;for(var _0x5c9cc7=_0x1c00a5>0x1?void 0x0:_0x1c00a5?_0x15dc77(_0x4c459f,_0x38e616):_0x4c459f,_0x1611a5=_0x42661a[_0xacef2c(0x31c)]-0x1,_0x42fda9;_0x1611a5>=0x0;_0x1611a5--)(_0x42fda9=_0x42661a[_0x1611a5])&&(_0x5c9cc7=_0x42fda9(_0x5c9cc7)||_0x5c9cc7);return _0x5c9cc7;},_0x31b84e=(_0x11ad6c,_0x113e03)=>(_0x5698c6,_0x40daa5)=>_0x113e03(_0x5698c6,_0x40daa5,_0x11ad6c);_0x5d1b85[_0x2d8507(0x30e)]=class extends _0x54f2e8[_0x2d8507(0x21a)]{constructor(_0x297ff4,_0x5ed485,_0x5a8e3f,_0x57f8d8,_0xaf22f6){const _0x3d8c93=_0x2d8507;super(),_0x2ffda7(this,_0x3d8c93(0x159),new Map()),_0x2ffda7(this,_0x3d8c93(0x292),new Map()),_0x2ffda7(this,_0x3d8c93(0x3ac),new _0x309d6a[(_0x3d8c93(0x3e5))]()),_0x2ffda7(this,'markDirty$',this[_0x3d8c93(0x3ac)][_0x3d8c93(0x1fc)]()),_0x2ffda7(this,_0x3d8c93(0x289),new _0x309d6a[(_0x3d8c93(0x3e5))]()),_0x2ffda7(this,_0x3d8c93(0x2e2),this['_viewUpdate$']['asObservable']()),_0x2ffda7(this,'_textInfo'),(this[_0x3d8c93(0x33e)]=_0x297ff4,this[_0x3d8c93(0x407)]=_0x5ed485,this['_sheetsPivotTableConfigModel']=_0x5a8e3f,this[_0x3d8c93(0x3dd)]=_0x57f8d8,this[_0x3d8c93(0x1bd)]=_0xaf22f6,this[_0x3d8c93(0x2a0)](),this[_0x3d8c93(0x3da)]());}[_0x2d8507(0x3da)](){const _0x22fb7a=_0x2d8507;this[_0x22fb7a(0x434)](this['_univerInstanceService'][_0x22fb7a(0x381)](_0x54f2e8[_0x22fb7a(0x3c9)][_0x22fb7a(0x24a)])['subscribe'](_0x5bbc40=>{const _0x4cc455=_0x22fb7a;this[_0x4cc455(0x2a7)](_0x5bbc40[_0x4cc455(0x168)]());}));}[_0x2d8507(0x2a0)](){const _0x8fa77c=_0x2d8507;this[_0x8fa77c(0x230)]=_0x170099(this[_0x8fa77c(0x407)],_0x4cfa11,'',{});}[_0x2d8507(0x3cf)](_0x2f9d99){const _0x578365=_0x2d8507,{view:_0x50c3a7,unitId:_0x43f25b,subUnitId:_0x414315,pivotTableId:_0x5dd2c1,type:_0x2d5e44}=_0x2f9d99,_0x190728=this[_0x578365(0x32c)][_0x578365(0x2d6)](_0x43f25b,_0x414315,_0x5dd2c1);if(!_0x50c3a7||!_0x190728||_0x2d5e44===_0x3278cc[_0x578365(0x31d)])return;const {pageView:_0x24b920,cornerView:_0x2cabd6,rowView:_0x37cf46,colView:_0xa40786,dataView:_0x2717d9}=_0x50c3a7,_0x37bca6=_0x190728[_0x578365(0x1d3)],_0x2252f2=_0x190728[_0x578365(0x2b8)],_0x31ab7b=this['_ensurePivotItemRenderValueMatrixCache'](_0x43f25b,_0x414315),_0x11644f=this[_0x578365(0x189)](_0x43f25b,_0x414315,_0x5dd2c1);if(_0x2252f2)return this[_0x578365(0x174)](_0x2f9d99,_0x31ab7b,_0x37bca6,_0x11644f);{const _0x342674=_0x8545d6(_0x37bca6,_0x24b920,!0x0),_0x1bdc41=_0x24b920[_0x578365(0x3c0)]>=0x0?_0x24b920[_0x578365(0x3c0)]+0x1:0x0,_0x4442bc=_0x2cabd6['getRowCount'](),_0x18c7cf=_0x2cabd6[_0x578365(0x335)](),_0x3aeac4=_0x342674[_0x578365(0x31c)]>0x0?_0x37a9d7:0x0,_0xa7de63=_0x8545d6({'row':_0x37bca6[_0x578365(0x200)]+_0x1bdc41+_0x3aeac4,'col':_0x37bca6[_0x578365(0x266)]},_0x2cabd6,!0x1,!0x1),_0x3c8ec3=_0x8545d6({'row':_0x37bca6[_0x578365(0x200)]+_0x1bdc41+_0x3aeac4+_0x4442bc,'col':_0x37bca6['col']},_0x37cf46,!0x1,!0x0),_0xfeb19f=_0x8545d6({'row':_0x37bca6[_0x578365(0x200)]+_0x1bdc41+_0x3aeac4,'col':_0x37bca6[_0x578365(0x266)]+_0x18c7cf},_0xa40786,!0x1,!0x0),_0x116b36=_0x8545d6({'row':_0x37bca6[_0x578365(0x200)]+_0x1bdc41+_0x3aeac4+_0x4442bc,'col':_0x37bca6[_0x578365(0x266)]+_0x18c7cf},_0x2717d9,!0x1,!0x1);_0x11644f[_0x578365(0x2f2)]={'rowRanges':_0x3c8ec3,'colRanges':_0xfeb19f,'cornerRanges':_0xa7de63,'dataRanges':_0x116b36,'pageRanges':_0x342674};const _0x31b976=_0x4318d7(this[_0x578365(0x407)],_0x50c3a7,_0x190728,this['_textInfo']),{valueMatrix:_0x3bd8d0,rowInfo:_0x3dfa45,colInfo:_0x17e7d5,cornerInfo:_0x557dbc,rowHeaderMap:_0x27cc19,colHeaderMap:_0x4e3477}=_0x31b976;return _0x11644f[_0x578365(0x1e1)]={'rowInfo':_0x3dfa45,'colInfo':_0x17e7d5,'cornerInfo':_0x557dbc},_0x11644f['headerMap']={'rowHeaderMap':_0x27cc19,'colHeaderMap':_0x4e3477},_0x3bd8d0['forEach']((_0x2ca0a3,_0x93ced5)=>{const _0x34e74f=_0x578365;Object[_0x34e74f(0x1db)](_0x93ced5)[_0x34e74f(0x151)](_0x50b4bc=>{const _0xa1c2db=_0x34e74f,_0x519dfd=+_0x50b4bc,_0x9a9634=_0x3bd8d0[_0xa1c2db(0x1a5)](_0x2ca0a3,_0x519dfd);_0x31ab7b[_0xa1c2db(0x1b5)](_0x2ca0a3,_0x519dfd,_0x9a9634);});}),this[_0x578365(0x289)][_0x578365(0x22a)]({'unitId':_0x43f25b,'subUnitId':_0x414315,'valueMatrix':_0x31ab7b,'rangesCache':_0x11644f[_0x578365(0x2f2)],'pivotTableId':_0x5dd2c1,'type':_0x2f9d99[_0x578365(0x220)]}),this[_0x578365(0x32c)][_0x578365(0x2d3)](_0x43f25b,_0x414315,_0x5dd2c1,_0x31ab7b,_0x11644f[_0x578365(0x2f2)]),this['_exclusiveRangeService'][_0x578365(0x3b2)](_0x43f25b,_0x414315,_0x5b12b1,this['_createExclusiveRange'](_0x11644f[_0x578365(0x2f2)],_0x5dd2c1)),{'rangeCache':_0x11644f[_0x578365(0x2f2)],'matrix':_0x31ab7b};}}[_0x2d8507(0x174)](_0x4762b7,_0x4f9410,_0x433500,_0x40a0cd){const _0xd1a6d=_0x2d8507,_0x1927b1=this[_0xd1a6d(0x33e)]['t'],{unitId:_0x3aeb4c,subUnitId:_0xb79dfd,pivotTableId:_0x1b216b}=_0x4762b7,_0x4dc146={'filter':_0x1927b1(_0xd1a6d(0x318)),'row':_0x1927b1(_0xd1a6d(0x17f)),'column':_0x1927b1(_0xd1a6d(0x334)),'values':_0x1927b1(_0xd1a6d(0x1b8))},{matrixCache:_0x33ac1a,rangesCache:_0x1f1244}=_0x2218e2(_0x4dc146,_0x433500);return _0x33ac1a[_0xd1a6d(0x25f)]((_0x2efbaa,_0x4419f6,_0x318098)=>{_0x4f9410['setValue'](_0x2efbaa,_0x4419f6,_0x318098);}),_0x40a0cd[_0xd1a6d(0x2f2)]=_0x1f1244,this[_0xd1a6d(0x289)][_0xd1a6d(0x22a)]({'unitId':_0x3aeb4c,'subUnitId':_0xb79dfd,'valueMatrix':_0x4f9410,'rangesCache':_0x1f1244,'pivotTableId':_0x1b216b,'type':_0x4762b7[_0xd1a6d(0x220)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0xd1a6d(0x2d3)](_0x3aeb4c,_0xb79dfd,_0x1b216b,_0x4f9410,_0x1f1244),this['_exclusiveRangeService'][_0xd1a6d(0x3b2)](_0x3aeb4c,_0xb79dfd,_0x5b12b1,this[_0xd1a6d(0x40f)](_0x1f1244,_0x1b216b)),{'rangeCache':_0x40a0cd['rangesInfo'],'matrix':_0x4f9410};}[_0x2d8507(0x40f)](_0x1af234,_0x303cb3){const _0x2cbf8c=_0x2d8507,_0x24ac87=[],_0x5bd471=_0x2ab95d(_0x1af234);for(const _0x1fbcf4 of _0x5bd471)_0x24ac87[_0x2cbf8c(0x423)]({'groupId':_0x303cb3,'range':_0x1fbcf4});return _0x24ac87;}[_0x2d8507(0x415)](_0x3ebda7){const _0x28ce73=_0x2d8507;var _0x523faf,_0x3525b6,_0x470399,_0x386a2a;const {pivotTableId:_0x243d4c,unitId:_0x42eeb7,subUnitId:_0xf532be}=_0x3ebda7;if(!_0x243d4c||!_0x42eeb7||!_0xf532be)return;const _0x1e20f5=this['_ensurePivotItemRenderValueMatrixCache'](_0x42eeb7,_0xf532be),_0x106bf0=(_0x3525b6=(_0x523faf=this['_pivotRenderInfoCache'][_0x28ce73(0x12a)](_0x42eeb7))==null?void 0x0:_0x523faf[_0x28ce73(0x12a)](_0xf532be))==null?void 0x0:_0x3525b6['get'](_0x243d4c);if(_0x106bf0!=null&&_0x106bf0['rangesInfo']){for(const _0x1591f6 of Object[_0x28ce73(0x1db)](_0x106bf0[_0x28ce73(0x2f2)]))_0x106bf0[_0x28ce73(0x2f2)][_0x1591f6][_0x28ce73(0x151)](_0xd2292c=>{const _0x280eff=_0x28ce73;for(let _0x212b14=_0xd2292c[_0x280eff(0x3cc)];_0x212b14<=_0xd2292c['endRow'];_0x212b14++)for(let _0x5662c4=_0xd2292c['startColumn'];_0x5662c4<=_0xd2292c[_0x280eff(0x14f)];_0x5662c4++)_0x1e20f5[_0x280eff(0x3d8)](_0x212b14,_0x5662c4);});}_0x106bf0&&((_0x386a2a=(_0x470399=this[_0x28ce73(0x159)][_0x28ce73(0x12a)](_0x42eeb7))==null?void 0x0:_0x470399['get'](_0xf532be))==null||_0x386a2a[_0x28ce73(0x1d5)](_0x243d4c)),this['_viewUpdate$'][_0x28ce73(0x22a)]({'unitId':_0x42eeb7,'subUnitId':_0xf532be,'valueMatrix':_0x1e20f5,'pivotTableId':_0x243d4c,'rangesCache':void 0x0,'type':_0x3ebda7[_0x28ce73(0x220)]}),this[_0x28ce73(0x1bd)][_0x28ce73(0x19a)](_0x42eeb7,_0xf532be,_0x5b12b1,_0x243d4c);}['_ensurePivotItemRenderInfoCache'](_0x1e7395,_0x37d8fa,_0x5cdad9){const _0x391328=_0x2d8507;var _0x5ce0d1,_0x12bbfe,_0x218472,_0x4dfe79,_0x1dc0e2,_0x3cf469;return this[_0x391328(0x159)][_0x391328(0x2fd)](_0x1e7395)||this[_0x391328(0x159)][_0x391328(0x1cf)](_0x1e7395,new Map()),(_0x5ce0d1=this[_0x391328(0x159)]['get'](_0x1e7395))!=null&&_0x5ce0d1[_0x391328(0x2fd)](_0x37d8fa)||(_0x12bbfe=this[_0x391328(0x159)][_0x391328(0x12a)](_0x1e7395))==null||_0x12bbfe[_0x391328(0x1cf)](_0x37d8fa,new Map()),(_0x4dfe79=(_0x218472=this[_0x391328(0x159)][_0x391328(0x12a)](_0x1e7395))==null?void 0x0:_0x218472[_0x391328(0x12a)](_0x37d8fa))!=null&&_0x4dfe79[_0x391328(0x2fd)](_0x5cdad9)||(_0x3cf469=(_0x1dc0e2=this[_0x391328(0x159)][_0x391328(0x12a)](_0x1e7395))==null?void 0x0:_0x1dc0e2[_0x391328(0x12a)](_0x37d8fa))==null||_0x3cf469[_0x391328(0x1cf)](_0x5cdad9,{}),this[_0x391328(0x159)]['get'](_0x1e7395)['get'](_0x37d8fa)[_0x391328(0x12a)](_0x5cdad9);}[_0x2d8507(0x27e)](_0x40c29f,_0x3b049c){const _0xd3aca8=_0x2d8507;var _0x5a4bd6,_0x410f27;return this[_0xd3aca8(0x292)][_0xd3aca8(0x2fd)](_0x40c29f)||this['_pivotRenderValueMatrixCache'][_0xd3aca8(0x1cf)](_0x40c29f,new Map()),(_0x5a4bd6=this[_0xd3aca8(0x292)][_0xd3aca8(0x12a)](_0x40c29f))!=null&&_0x5a4bd6[_0xd3aca8(0x2fd)](_0x3b049c)||(_0x410f27=this[_0xd3aca8(0x292)][_0xd3aca8(0x12a)](_0x40c29f))==null||_0x410f27[_0xd3aca8(0x1cf)](_0x3b049c,new _0x54f2e8[(_0xd3aca8(0x12c))]()),this[_0xd3aca8(0x292)][_0xd3aca8(0x12a)](_0x40c29f)[_0xd3aca8(0x12a)](_0x3b049c);}[_0x2d8507(0x19e)](_0x5bf773,_0x4ac27c,_0x1a6bcb,_0x508d3c){const _0x1f3443=_0x2d8507;var _0x1672c2,_0x1a08e0;const _0xc0927=(_0x1a08e0=(_0x1672c2=this[_0x1f3443(0x292)][_0x1f3443(0x12a)](_0x5bf773))==null?void 0x0:_0x1672c2['get'](_0x4ac27c))==null?void 0x0:_0x1a08e0[_0x1f3443(0x1a5)](_0x1a6bcb,_0x508d3c);if(_0xc0927!=null)return _0xc0927;}[_0x2d8507(0x307)](_0x1d8ba0,_0xe6c163,_0x2bfda1,_0xd95006){const _0x1d5155=_0x2d8507;var _0x1be6f2;const _0x50742d=_0x54f2e8[_0x1d5155(0x2bb)](_0x2bfda1,_0xd95006),_0x4db251=(_0x1be6f2=this[_0x1d5155(0x159)][_0x1d5155(0x12a)](_0x1d8ba0))==null?void 0x0:_0x1be6f2[_0x1d5155(0x12a)](_0xe6c163);return _0x4db251?Array[_0x1d5155(0x3d3)](_0x4db251[_0x1d5155(0x1db)]())[_0x1d5155(0x396)](_0x2fecaa=>{const _0x5997d5=_0x1d5155,_0x586fab=_0x4db251[_0x5997d5(0x12a)](_0x2fecaa),_0x4bf233=_0x586fab==null?void 0x0:_0x586fab[_0x5997d5(0x2f2)];return _0x4bf233?Object['keys'](_0x4bf233)[_0x5997d5(0x128)](_0x11c310=>_0x4bf233[_0x11c310][_0x5997d5(0x128)](_0x4b4615=>_0x54f2e8[_0x5997d5(0x24e)]['contains'](_0x4b4615,_0x50742d))):!0x1;}):void 0x0;}[_0x2d8507(0x1a2)](_0x3a070f,_0x48fb2e,_0x1c64ac){const _0x10d168=_0x2d8507;var _0x17e12e;const _0x20dd46=(_0x17e12e=this[_0x10d168(0x159)][_0x10d168(0x12a)](_0x3a070f))==null?void 0x0:_0x17e12e['get'](_0x48fb2e),_0x39c85f=[];return _0x20dd46&&Array['from'](_0x20dd46[_0x10d168(0x1db)]())[_0x10d168(0x151)](_0x510828=>{const _0x554476=_0x10d168,_0xf6071d=_0x20dd46[_0x554476(0x12a)](_0x510828),_0x3eecc0=_0xf6071d==null?void 0x0:_0xf6071d[_0x554476(0x2f2)];if(_0x3eecc0)for(const _0x3b6cf0 of Object[_0x554476(0x29d)](_0x3eecc0)){let _0x3e3ed0=!0x1;for(const _0xd0c26f of _0x3b6cf0)if(_0x54f2e8[_0x554476(0x24e)][_0x554476(0x376)](_0xd0c26f,_0x1c64ac)){_0x39c85f[_0x554476(0x423)](_0x510828),_0x3e3ed0=!0x0;break;}if(_0x3e3ed0)break;}}),_0x39c85f;}['getSubUnitPivotMatrix'](_0x5cf9cf,_0x56969d){const _0x41d72b=_0x2d8507;var _0x3cd175,_0x28454e;return(_0x28454e=(_0x3cd175=this[_0x41d72b(0x292)][_0x41d72b(0x12a)](_0x5cf9cf))==null?void 0x0:_0x3cd175['get'](_0x56969d))!=null?_0x28454e:new _0x54f2e8['ObjectMatrix']();}[_0x2d8507(0x14a)](_0x5a6f88,_0x1534a7){const _0x4b6f0f=_0x2d8507;var _0x42ed1e;return(_0x42ed1e=this[_0x4b6f0f(0x159)][_0x4b6f0f(0x12a)](_0x5a6f88))==null?void 0x0:_0x42ed1e['get'](_0x1534a7);}[_0x2d8507(0x1f6)](_0x3b78f1,_0x34449a,_0x1b5bbd){const _0x33fba5=_0x2d8507;var _0x317400,_0x28dab0;return(_0x28dab0=(_0x317400=this[_0x33fba5(0x159)][_0x33fba5(0x12a)](_0x3b78f1))==null?void 0x0:_0x317400[_0x33fba5(0x12a)](_0x34449a))==null?void 0x0:_0x28dab0['get'](_0x1b5bbd);}['deleteUnitId'](_0x3b168f){const _0x396fc2=_0x2d8507;this['_pivotRenderInfoCache']['delete'](_0x3b168f),this['_pivotRenderValueMatrixCache'][_0x396fc2(0x1d5)](_0x3b168f);}['markDirty'](_0x7fa7d6,_0x530a0a){const _0xa67975=_0x2d8507;this[_0xa67975(0x3ac)][_0xa67975(0x22a)]({'unitId':_0x7fa7d6,'subUnitId':_0x530a0a});}},_0x5d1b85[_0x2d8507(0x30e)]=_0x355e12([_0x31b84e(0x0,_0x54f2e8[_0x2d8507(0x19f)](_0x54f2e8[_0x2d8507(0x2a5)])),_0x31b84e(0x1,_0x54f2e8[_0x2d8507(0x19f)](_0x54f2e8['Injector'])),_0x31b84e(0x2,_0x54f2e8[_0x2d8507(0x19f)](_0x5d1b85[_0x2d8507(0x147)])),_0x31b84e(0x3,_0x54f2e8[_0x2d8507(0x19f)](_0x54f2e8['IUniverInstanceService'])),_0x31b84e(0x4,_0x54f2e8[_0x2d8507(0x19f)](_0x3ff8f7['IExclusiveRangeService']))],_0x5d1b85[_0x2d8507(0x30e)]);var _0x48d8ca=Object[_0x2d8507(0x165)],_0x17a14d=(_0x5b5820,_0x103e44,_0x409160,_0x3558fa)=>{const _0x4fb3bd=_0x2d8507;for(var _0x570743=_0x3558fa>0x1?void 0x0:_0x3558fa?_0x48d8ca(_0x103e44,_0x409160):_0x103e44,_0x24a567=_0x5b5820[_0x4fb3bd(0x31c)]-0x1,_0x3735f6;_0x24a567>=0x0;_0x24a567--)(_0x3735f6=_0x5b5820[_0x24a567])&&(_0x570743=_0x3735f6(_0x570743)||_0x570743);return _0x570743;},_0x146233=(_0x55de05,_0x3471cd)=>(_0x3d8c69,_0x13da59)=>_0x3471cd(_0x3d8c69,_0x13da59,_0x55de05);_0x5d1b85[_0x2d8507(0x138)]=class extends _0x54f2e8[_0x2d8507(0x21a)]{constructor(_0x239201,_0x37c7ab){const _0x3813ec=_0x2d8507;super(),_0x2ffda7(this,'asyncInterceptor',new _0x54f2e8['AsyncInterceptorManager']({'PIVOT_PERFORM_CHECK':_0x2dbc74})),_0x2ffda7(this,_0x3813ec(0x428),new _0x54f2e8[(_0x3813ec(0x401))]({'PIVOT_MUTATION_GENERATE':_0x23ce83})),(this[_0x3813ec(0x12b)]=_0x239201,this[_0x3813ec(0x233)]=_0x37c7ab,this[_0x3813ec(0x302)]());}['_init'](){const _0x4cda7e=_0x2d8507;this[_0x4cda7e(0x297)]();}[_0x2d8507(0x436)](_0x20dd0f){const _0x237a6a=_0x2d8507;return this[_0x237a6a(0x3ab)][_0x237a6a(0x3ad)](_0x2dbc74)(!0x1,_0x20dd0f);}[_0x2d8507(0x297)](){const _0x656ac9=_0x2d8507;this[_0x656ac9(0x434)](this['_sheetInterceptorService'][_0x656ac9(0x337)](_0x3ff8f7[_0x656ac9(0x3c5)][_0x656ac9(0x1ad)],{'priority':0xc8,'effect':_0x54f2e8[_0x656ac9(0x242)][_0x656ac9(0x2f7)]|_0x54f2e8[_0x656ac9(0x242)][_0x656ac9(0x1aa)],'handler':(_0x2f183f,_0x11dd2c,_0x28c91b)=>{const _0x127d46=_0x656ac9,{row:_0x5deb23,col:_0x35e6e8,unitId:_0x2d148e,subUnitId:_0x48a8ca,workbook:_0x23f7fa}=_0x11dd2c,_0x288ffd=this[_0x127d46(0x233)][_0x127d46(0x19e)](_0x2d148e,_0x48a8ca,_0x5deb23,_0x35e6e8);if(!_0x288ffd)return _0x28c91b(_0x2f183f);const _0x2d823b={..._0x2f183f};(_0x288ffd['v']||_0x288ffd['v']===0x0)&&(_0x2d823b['v']=_0x288ffd['v']),_0x288ffd['t']&&(_0x2d823b['t']=_0x288ffd['t']);const _0x1500ec=(typeof(_0x2f183f==null?void 0x0:_0x2f183f['s'])=='string'?_0x23f7fa[_0x127d46(0x1dd)]()[_0x127d46(0x12a)](_0x2f183f==null?void 0x0:_0x2f183f['s']):_0x2f183f==null?void 0x0:_0x2f183f['s'])||{},_0x1ace11=_0x23f7fa[_0x127d46(0x1dd)]()[_0x127d46(0x12a)](_0x288ffd['s']),_0x2cb2c3={..._0x1ace11,..._0x1500ec};_0x1ace11!=null&&_0x1ace11['n']&&(_0x2cb2c3['n']=_0x1ace11['n']);const _0x15dff4=_0x23f7fa[_0x127d46(0x1dd)]()[_0x127d46(0x1b5)](_0x2cb2c3);return _0x2d823b['s']=_0x15dff4,(_0x288ffd['pbt']===_0x2a5883[_0x127d46(0x1d2)][_0x127d46(0x1ba)]||_0x288ffd[_0x127d46(0x202)]===_0x2a5883[_0x127d46(0x1d2)][_0x127d46(0x180)])&&(_0x2d823b[_0x127d46(0x36a)]={},_0x2d823b['fontRenderExtension'][_0x127d46(0x2c5)]=_0x518bc),_0x28c91b(_0x2d823b);}}));}},_0x5d1b85[_0x2d8507(0x138)]=_0x17a14d([_0x146233(0x0,_0x54f2e8['Inject'](_0x3ff8f7[_0x2d8507(0x245)])),_0x146233(0x1,_0x54f2e8[_0x2d8507(0x19f)](_0x5d1b85['SheetsPivotTableAdaptorModel']))],_0x5d1b85['SheetsPivotTableService']);const _0x344181={'id':_0x2d8507(0x1df),'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x1b3)],'handler':(_0x35dd12,_0x3b775d)=>{const _0x4e487e=_0x2d8507;if(!_0x3b775d)return!0x1;if(!!_0x35dd12['get'](_0x54f2e8[_0x4e487e(0x2cd)])[_0x4e487e(0x257)](_0x5c38dc))return!0x0;const {pivotTableId:_0x3ed3f4,fieldJSON:_0xc0a116,unitId:_0x3140ff,subUnitId:_0x443814}=_0x3b775d;let _0x4ca917;const {dataFieldType:_0x509523,id:_0x35a971,name:_0x511479,hexCode:_0xf20e42,originalFieldId:_0x34de7f}=_0xc0a116;if(_0x509523===_0x2a5883[_0x4e487e(0x144)][_0x4e487e(0x338)]&&(_0x4ca917=new _0x2a5883[(_0x4e487e(0x262))](_0x35a971,_0x511479,_0xf20e42,_0x34de7f)),!_0x4ca917)return!0x1;const _0x305e6c=_0x35dd12[_0x4e487e(0x12a)](_0x5d1b85[_0x4e487e(0x1e7)]),_0x3ce6e6=_0x305e6c[_0x4e487e(0x3f9)](_0x3140ff),_0x129525=_0x3ce6e6[_0x4e487e(0x39a)](_0x3ed3f4);_0x3ce6e6['addDataFieldWithoutUnitInfo'](_0x4ca917),_0x129525[_0x4e487e(0x173)](_0x4ca917[_0x4e487e(0x226)](),_0x4ca917[_0x4e487e(0x1b6)]());const _0x10916f=_0x129525['getFieldById'](_0x4ca917[_0x4e487e(0x1ee)]());_0x10916f&&_0x4ca917[_0x4e487e(0x378)](_0x10916f);const _0x460f13=_0x305e6c[_0x4e487e(0x2d6)](_0x3140ff,_0x443814,_0x3ed3f4);return _0x305e6c[_0x4e487e(0x25d)]({'unitId':_0x3140ff,'subUnitId':_0x443814,'token':_0x3ed3f4,'type':_0x3278cc[_0x4e487e(0x340)],'pivotConfig':_0x460f13}),!0x0;}},_0x4f3109={'id':_0x2d8507(0x2ad),'type':_0x54f2e8['CommandType'][_0x2d8507(0x1b3)],'handler':(_0x1a3ed9,_0x48f896)=>{const _0x469d3=_0x2d8507;if(!_0x48f896)return!0x1;if(!!_0x1a3ed9[_0x469d3(0x12a)](_0x54f2e8[_0x469d3(0x2cd)])[_0x469d3(0x257)](_0x5c38dc))return!0x0;const {pivotTableId:_0x528fea,dataFieldId:_0xc1d897,unitId:_0x528c46,subUnitId:_0x4a189c}=_0x48f896,_0x2c5a36=_0x1a3ed9['get'](_0x5d1b85[_0x469d3(0x1e7)]),_0xc87a6d=_0x2c5a36['getDataFieldManager'](_0x528c46);_0xc87a6d[_0x469d3(0x39a)](_0x528fea)[_0x469d3(0x28e)](_0xc1d897);let _0x1f9b99=!0x0;for(const _0x99af83 in _0xc87a6d[_0x469d3(0x426)])if(_0xc87a6d[_0x469d3(0x426)][_0x99af83][_0x469d3(0x277)]()['includes'](_0xc1d897)){_0x1f9b99=!0x1;break;}_0x1f9b99&&_0xc87a6d['deleteDataField'](_0xc1d897);const _0x27e310=_0x2c5a36[_0x469d3(0x2d6)](_0x528c46,_0x4a189c,_0x528fea);return _0x2c5a36['addDirtyPivotTable']({'unitId':_0x528c46,'subUnitId':_0x4a189c,'token':_0x528fea,'type':_0x3278cc[_0x469d3(0x340)],'pivotConfig':_0x27e310}),!0x0;}};function _0x1bb2b4(_0xdb5e0,_0x2556a4){const _0x404e87=_0x2d8507;switch(_0x2556a4){case _0x2a5883['PivotTableFiledAreaEnum'][_0x404e87(0x2f7)]:return _0xdb5e0[_0x404e87(0x346)];case _0x2a5883[_0x404e87(0x18a)][_0x404e87(0x285)]:return _0xdb5e0[_0x404e87(0x2a4)];case _0x2a5883[_0x404e87(0x18a)][_0x404e87(0x21b)]:return _0xdb5e0[_0x404e87(0x136)];case _0x2a5883[_0x404e87(0x18a)][_0x404e87(0x41d)]:return _0xdb5e0[_0x404e87(0x3f4)];default:return[];}}function _0xf4ebbe(_0x33171a,_0x5b0878){return _0x33171a['measure'][_0x5b0878]||_0x33171a['dimension'][_0x5b0878];}function _0x172cf3(_0x438c74,_0x1b34aa){const _0x3ace6c=_0x2d8507,{area:_0x2fa14c,fieldJson:_0x4a79d2,index:_0x51c0ed}=_0x1b34aa;_0x2fa14c===_0x2a5883['PivotTableFiledAreaEnum'][_0x3ace6c(0x2f7)]?_0x438c74[_0x3ace6c(0x31a)][_0x4a79d2['id']]=_0x4a79d2:_0x438c74[_0x3ace6c(0x1f0)][_0x4a79d2['id']]=_0x4a79d2,_0x1bb2b4(_0x438c74,_0x2fa14c)['splice'](_0x51c0ed,0x0,_0x4a79d2['id']);}function _0x50140f(_0x1196f2,_0x411b79){const _0x13c4a3=_0x2d8507,{area:_0x15e53d,fieldId:_0x34db1a,index:_0x58d597}=_0x411b79;_0x15e53d===_0x2a5883[_0x13c4a3(0x18a)][_0x13c4a3(0x2f7)]?delete _0x1196f2[_0x13c4a3(0x31a)][_0x34db1a]:delete _0x1196f2['dimension'][_0x34db1a],_0x1bb2b4(_0x1196f2,_0x15e53d)['splice'](_0x58d597,0x1);}function _0x2168a9(_0x5b5dce,_0x37bb8b){const {fieldId:_0x3fef22,name:_0xf6a2dd}=_0x37bb8b,_0x58e414=_0xf4ebbe(_0x5b5dce,_0x3fef22);_0x58e414&&(_0x58e414['displayName']=_0xf6a2dd);}function _0x6d3487(_0x5e6040,_0x5bca2c){const _0x536ef1=_0x2d8507,{fieldId:_0x1b9ef6,collapse:_0x1295fe,item:_0x264188}=_0x5bca2c;_0x264188!==void 0x0?(_0x5e6040[_0x536ef1(0x2ce)][_0x1b9ef6]=_0x5e6040[_0x536ef1(0x2ce)][_0x1b9ef6]||{},_0x5e6040[_0x536ef1(0x2ce)][_0x1b9ef6][_0x264188]=_0x1295fe):_0x5e6040[_0x536ef1(0x2ce)][_0x1b9ef6]=_0x1295fe;}function _0x52a430(_0x4b0c9a,_0x1586a2){const _0x44f340=_0x2d8507,{fieldId:_0x1e6efc,format:_0x58436a}=_0x1586a2,_0x4539a1=_0xf4ebbe(_0x4b0c9a,_0x1e6efc);_0x4539a1&&(_0x4539a1[_0x44f340(0x380)]=_0x58436a);}function _0x382f43(_0x198c68,_0x35fa52){const _0x49875b=_0x2d8507,{fieldId:_0x419787,filterInfo:_0x31eae7}=_0x35fa52,_0x1ea72b=_0xf4ebbe(_0x198c68,_0x419787);_0x1ea72b&&(_0x1ea72b[_0x49875b(0x3d2)]=_0x31eae7);}function _0x47aba7(_0x5127d5,_0x31d7a5){const _0x49bd62=_0x2d8507,{fieldId:_0x324c07,filterInfo:_0xb1c781}=_0x31d7a5,_0x500331=_0x5127d5['valueFilter']['filter'](_0x528219=>_0x528219[_0x49bd62(0x3d7)]!==_0x324c07);_0xb1c781&&_0x500331[_0x49bd62(0x423)]({'fieldId':_0x324c07,'filterInfo':_0xb1c781}),_0x5127d5[_0x49bd62(0x3cd)]=_0x500331;}function _0xc57b4(_0x2d4fd3,_0x1cf21c){const _0x32fe10=_0x2d8507,{fieldId:_0x537a23,subtotalType:_0x4d43e7}=_0x1cf21c,_0x1a67f6=_0xf4ebbe(_0x2d4fd3,_0x537a23);_0x1a67f6&&(_0x1a67f6[_0x32fe10(0x1b0)]=_0x4d43e7);}function _0x6778fa(_0x2297aa,_0x50eb5e){const _0x48aae5=_0x2d8507,{fieldId:_0x516327,oldArea:_0x229386,area:_0x467ebb,oldIndex:_0x584633,index:_0x570109}=_0x50eb5e,_0x2b0ae6=_0x229386!==_0x2a5883[_0x48aae5(0x18a)][_0x48aae5(0x2f7)]&&_0x467ebb===_0x2a5883[_0x48aae5(0x18a)][_0x48aae5(0x2f7)],_0x345e5f=_0x229386===_0x2a5883[_0x48aae5(0x18a)]['Value']&&_0x467ebb!==_0x2a5883[_0x48aae5(0x18a)][_0x48aae5(0x2f7)];if(_0x2b0ae6||_0x345e5f){const _0x3a057e=_0xf4ebbe(_0x2297aa,_0x516327);_0x3a057e&&(_0x2b0ae6?(delete _0x2297aa[_0x48aae5(0x1f0)][_0x516327],_0x2297aa['measure'][_0x516327]=_0x3a057e):(delete _0x2297aa[_0x48aae5(0x31a)][_0x516327],_0x2297aa[_0x48aae5(0x1f0)][_0x516327]=_0x3a057e));}const _0x3a7f59=_0x1bb2b4(_0x2297aa,_0x229386),_0x2443e5=_0x1bb2b4(_0x2297aa,_0x467ebb);_0x3a7f59[_0x48aae5(0x24f)](_0x584633,0x1),_0x2443e5[_0x48aae5(0x24f)](_0x570109,0x0,_0x516327);}function _0x3aeeef(_0x1a42d8,_0x506071){const _0x14a4be=_0x2d8507,{valuePosition:_0x5863c4,index:_0x44d999}=_0x506071;_0x1a42d8['valuePosition']=_0x5863c4,_0x1a42d8[_0x14a4be(0x329)]=_0x44d999;}function _0x3e9c2c(_0x4663c5,_0x555f13){const _0x2394b4=_0x2d8507,{tableFieldId:_0x223712,sourceName:_0x1bc942,dataFieldId:_0x1b6d7b}=_0x555f13,_0xc8a20b=_0xf4ebbe(_0x4663c5,_0x223712);_0xc8a20b&&(_0xc8a20b['sourceName']=_0x1bc942,_0xc8a20b[_0x2394b4(0x2f1)]=_0x1b6d7b);}function _0x27f685(_0x4a9f80,_0x1e9e7d){const _0x4fb877=_0x2d8507,{fieldId:_0x4d1812,sortInfo:_0x3c9b7e}=_0x1e9e7d,_0x4f072f=_0xf4ebbe(_0x4a9f80,_0x4d1812);_0x4f072f&&(_0x4f072f[_0x4fb877(0x236)]=_0x3c9b7e);}function _0xe7d393(_0x3206a5,_0x1d26ad){const _0x1773f0=_0x2d8507,{options:_0x51212b}=_0x1d26ad;_0x3206a5[_0x1773f0(0x167)]={..._0x3206a5[_0x1773f0(0x167)],..._0x51212b};}const _0x1bc3c4={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x1b3)],'id':_0x2d8507(0x26e),'handler'(_0x1631c5,_0x3853ef){const _0x2d78c1=_0x2d8507;if(!_0x3853ef)return!0x1;if(!!_0x1631c5[_0x2d78c1(0x12a)](_0x54f2e8[_0x2d78c1(0x2cd)])['getConfig'](_0x5c38dc))return!0x0;const _0x4c5ec7=_0x1631c5[_0x2d78c1(0x12a)](_0x5d1b85[_0x2d78c1(0x1e7)]),{pivotTableId:_0x106c95,fieldJson:_0x4c0202,area:_0x39631a,index:_0x53eb28,unitId:_0x3da123,subUnitId:_0x114b0c}=_0x3853ef,_0x598c27=_0x4c5ec7[_0x2d78c1(0x32f)](_0x106c95);if(!_0x598c27)return!0x1;let _0x14d8aa;_0x39631a===_0x2a5883[_0x2d78c1(0x18a)][_0x2d78c1(0x2f7)]?_0x14d8aa=_0x2a5883[_0x2d78c1(0x14e)](_0x4c0202):_0x14d8aa=_0x2a5883['createLabelField'](_0x4c0202),_0x598c27[_0x2d78c1(0x173)](_0x14d8aa,_0x39631a,_0x53eb28);const _0x1553e5=_0x4c5ec7['getPivotTableModelConfig'](_0x3da123,_0x114b0c,_0x106c95);_0x172cf3(_0x1553e5,_0x3853ef);const _0x4013e1=_0x4c5ec7[_0x2d78c1(0x2d6)](_0x3da123,_0x114b0c,_0x106c95);return _0x4c5ec7[_0x2d78c1(0x25d)]({'unitId':_0x3da123,'subUnitId':_0x114b0c,'token':_0x106c95,'type':_0x3278cc[_0x2d78c1(0x340)],'pivotConfig':_0x4013e1}),!0x0;}},_0x5451d7={'type':_0x54f2e8[_0x2d8507(0x1f1)]['MUTATION'],'id':_0x2d8507(0x1cb),'handler'(_0x38fcac,_0x4292b2){const _0x5a3e45=_0x2d8507;if(!_0x4292b2)return!0x1;if(!!_0x38fcac['get'](_0x54f2e8[_0x5a3e45(0x2cd)])[_0x5a3e45(0x257)](_0x5c38dc))return!0x0;const _0x232cf9=_0x38fcac[_0x5a3e45(0x12a)](_0x5d1b85[_0x5a3e45(0x1e7)]),{pivotTableId:_0x527d19,fieldId:_0x2136ac,unitId:_0x596136,subUnitId:_0x353f83}=_0x4292b2,_0x67ff5b=_0x232cf9[_0x5a3e45(0x32f)](_0x527d19);if(!_0x67ff5b)return!0x1;_0x67ff5b[_0x5a3e45(0x42b)](_0x2136ac);const _0x43f3b5=_0x232cf9[_0x5a3e45(0x304)](_0x596136,_0x353f83,_0x527d19);_0x50140f(_0x43f3b5,_0x4292b2);const _0x59615f=_0x232cf9[_0x5a3e45(0x2d6)](_0x596136,_0x353f83,_0x527d19);return _0x232cf9['addDirtyPivotTable']({'unitId':_0x596136,'subUnitId':_0x353f83,'token':_0x527d19,'type':_0x3278cc[_0x5a3e45(0x340)],'pivotConfig':_0x59615f}),!0x0;}},_0x17e7d6={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x1b3)],'id':_0x2d8507(0x210),'handler'(_0x8956dc,_0x42122f){const _0xb46ea5=_0x2d8507;if(!_0x42122f)return!0x1;if(!!_0x8956dc['get'](_0x54f2e8[_0xb46ea5(0x2cd)])[_0xb46ea5(0x257)](_0x5c38dc))return!0x0;const _0x399219=_0x8956dc['get'](_0x5d1b85['SheetsPivotDataSourceModel']),{unitId:_0x1b2087,subUnitId:_0x35c4fa,pivotTableId:_0x131ca3,fieldId:_0xd7dd5f,name:_0x480587}=_0x42122f,_0x15d719=_0x399219['getPivotTableInstance'](_0x131ca3);if(!_0x15d719)return!0x1;_0x15d719[_0xb46ea5(0x3c3)](_0xd7dd5f,_0x480587);const _0x2d6a6a=_0x399219[_0xb46ea5(0x304)](_0x1b2087,_0x35c4fa,_0x131ca3);return _0x2168a9(_0x2d6a6a,_0x42122f),_0x399219[_0xb46ea5(0x25d)]({'unitId':_0x1b2087,'subUnitId':_0x35c4fa,'token':_0x131ca3,'type':_0x3278cc[_0xb46ea5(0x340)]}),!0x0;}},_0x2fc625={'type':_0x54f2e8['CommandType']['MUTATION'],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x167b90,_0x196e5d){const _0x357955=_0x2d8507;if(!_0x196e5d)return!0x1;if(!!_0x167b90[_0x357955(0x12a)](_0x54f2e8[_0x357955(0x2cd)])['getConfig'](_0x5c38dc))return!0x0;const _0x408bc9=_0x167b90['get'](_0x5d1b85[_0x357955(0x1e7)]),{unitId:_0x12accb,subUnitId:_0x121734,pivotTableId:_0x4ffd3c,fieldId:_0x2b6e08,collapse:_0x162f9b,item:_0xc7012}=_0x196e5d,_0x56ec17=_0x408bc9[_0x357955(0x32f)](_0x4ffd3c);if(!_0x56ec17)return!0x1;_0x56ec17[_0x357955(0x2fb)](_0x2b6e08,_0x162f9b,_0xc7012);const _0x137f7b=_0x408bc9[_0x357955(0x304)](_0x12accb,_0x121734,_0x4ffd3c);return _0x6d3487(_0x137f7b,_0x196e5d),_0x408bc9['addDirtyPivotTable']({'unitId':_0x12accb,'subUnitId':_0x121734,'token':_0x4ffd3c,'type':_0x3278cc[_0x357955(0x340)]}),!0x0;}},_0x5b622e={'type':_0x54f2e8['CommandType']['MUTATION'],'id':_0x2d8507(0x146),'handler'(_0x35f398,_0x44404a){const _0x2b2c57=_0x2d8507;if(!_0x44404a)return!0x1;if(!!_0x35f398[_0x2b2c57(0x12a)](_0x54f2e8['IConfigService'])[_0x2b2c57(0x257)](_0x5c38dc))return!0x0;const _0x3b697e=_0x35f398[_0x2b2c57(0x12a)](_0x5d1b85[_0x2b2c57(0x1e7)]),{unitId:_0x3bb68e,subUnitId:_0x42bba7,pivotTableId:_0x8aed5b,fieldId:_0x5999d6,format:_0x3b6b6a}=_0x44404a,_0x1e0481=_0x3b697e[_0x2b2c57(0x32f)](_0x8aed5b);if(!_0x1e0481)return!0x1;_0x1e0481[_0x2b2c57(0x372)](_0x5999d6,_0x3b6b6a);const _0x37e836=_0x3b697e['getPivotTableModelConfig'](_0x3bb68e,_0x42bba7,_0x8aed5b);return _0x52a430(_0x37e836,_0x44404a),_0x3b697e[_0x2b2c57(0x25d)]({'unitId':_0x3bb68e,'subUnitId':_0x42bba7,'token':_0x8aed5b,'type':_0x3278cc[_0x2b2c57(0x340)]}),!0x0;}},_0x2a5ef0={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x1b3)],'id':_0x2d8507(0x21d),'handler'(_0x59b56f,_0x124cf0){const _0x13ccfb=_0x2d8507;if(!_0x124cf0)return!0x1;if(!!_0x59b56f[_0x13ccfb(0x12a)](_0x54f2e8[_0x13ccfb(0x2cd)])[_0x13ccfb(0x257)](_0x5c38dc))return!0x0;const _0x24fc0b=_0x59b56f[_0x13ccfb(0x12a)](_0x5d1b85['SheetsPivotDataSourceModel']),{unitId:_0x3af55f,subUnitId:_0x4d6d6b,pivotTableId:_0x1147ff,fieldId:_0x14be36,filterInfo:_0x3c41a9}=_0x124cf0,_0x17edaf=_0x24fc0b[_0x13ccfb(0x32f)](_0x1147ff);if(!_0x17edaf)return!0x1;_0x17edaf['setLabelFilterInfo'](_0x14be36,_0x3c41a9);const _0x3d35f2=_0x24fc0b[_0x13ccfb(0x304)](_0x3af55f,_0x4d6d6b,_0x1147ff);return _0x382f43(_0x3d35f2,_0x124cf0),_0x24fc0b[_0x13ccfb(0x25d)]({'unitId':_0x3af55f,'subUnitId':_0x4d6d6b,'token':_0x1147ff,'type':_0x3278cc[_0x13ccfb(0x340)]}),!0x0;}},_0x3db97f={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x1b3)],'id':_0x2d8507(0x1ec),'handler'(_0x5bf51b,_0x1c7d85){const _0x9deee=_0x2d8507;if(!_0x1c7d85)return!0x1;if(!!_0x5bf51b[_0x9deee(0x12a)](_0x54f2e8[_0x9deee(0x2cd)])[_0x9deee(0x257)](_0x5c38dc))return!0x0;const _0x1c33d8=_0x5bf51b[_0x9deee(0x12a)](_0x5d1b85[_0x9deee(0x1e7)]),{unitId:_0x11f175,subUnitId:_0x51b8cf,pivotTableId:_0x18d8bb,options:_0x1aeb83}=_0x1c7d85,_0x4fe0c5=_0x1c33d8[_0x9deee(0x32f)](_0x18d8bb);if(!_0x4fe0c5)return!0x1;_0x4fe0c5[_0x9deee(0x39d)](_0x1aeb83);const _0xe528e1=_0x1c33d8['getPivotTableModelConfig'](_0x11f175,_0x51b8cf,_0x18d8bb);return _0xe7d393(_0xe528e1,_0x1c7d85),_0x1c33d8[_0x9deee(0x25d)]({'unitId':_0x11f175,'subUnitId':_0x51b8cf,'token':_0x18d8bb,'type':_0x3278cc[_0x9deee(0x340)]}),!0x0;}},_0x24847e={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x1b3)],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0x31537d,_0x7f9b6){const _0x862aa5=_0x2d8507;if(!_0x7f9b6)return!0x1;if(!!_0x31537d['get'](_0x54f2e8['IConfigService'])[_0x862aa5(0x257)](_0x5c38dc))return!0x0;const _0x2ed5ed=_0x31537d[_0x862aa5(0x12a)](_0x5d1b85['SheetsPivotDataSourceModel']),{unitId:_0x18394f,subUnitId:_0x2a9de1,pivotTableId:_0xc574b4,sortInfo:_0x42e760,fieldId:_0xb834b}=_0x7f9b6,_0x24b534=_0x2ed5ed[_0x862aa5(0x32f)](_0xc574b4);if(!_0x24b534)return!0x1;_0x24b534['setSortInfo'](_0xb834b,_0x42e760);const _0x242d76=_0x2ed5ed[_0x862aa5(0x304)](_0x18394f,_0x2a9de1,_0xc574b4);return _0x27f685(_0x242d76,_0x7f9b6),_0x2ed5ed['addDirtyPivotTable']({'unitId':_0x18394f,'subUnitId':_0x2a9de1,'token':_0xc574b4,'type':_0x3278cc[_0x862aa5(0x340)]}),!0x0;}},_0x382bb3={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x1b3)],'id':_0x2d8507(0x28f),'handler'(_0x4d099b,_0x34b0dc){const _0x592514=_0x2d8507;if(!_0x34b0dc)return!0x1;if(!!_0x4d099b[_0x592514(0x12a)](_0x54f2e8[_0x592514(0x2cd)])[_0x592514(0x257)](_0x5c38dc))return!0x0;const _0x4dd243=_0x4d099b[_0x592514(0x12a)](_0x5d1b85[_0x592514(0x1e7)]),{unitId:_0x57bb05,subUnitId:_0x5d3e9c,pivotTableId:_0x4bde22,fieldId:_0x577b98,subtotalType:_0x2b3bc6}=_0x34b0dc,_0x4056bf=_0x4dd243[_0x592514(0x32f)](_0x4bde22);if(!_0x4056bf)return!0x1;_0x4056bf[_0x592514(0x2da)](_0x577b98,_0x2b3bc6);const _0x46e318=_0x4dd243['getPivotTableModelConfig'](_0x57bb05,_0x5d3e9c,_0x4bde22);return _0xc57b4(_0x46e318,_0x34b0dc),_0x4dd243['addDirtyPivotTable']({'unitId':_0x57bb05,'subUnitId':_0x5d3e9c,'token':_0x4bde22,'type':_0x3278cc[_0x592514(0x340)]}),!0x0;}},_0x35a524={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x1b3)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x16418c,_0x34f6ba){const _0x15ddad=_0x2d8507;if(!_0x34f6ba)return!0x1;if(!!_0x16418c[_0x15ddad(0x12a)](_0x54f2e8['IConfigService'])['getConfig'](_0x5c38dc))return!0x0;const _0x3d9fbc=_0x16418c['get'](_0x5d1b85[_0x15ddad(0x1e7)]),{unitId:_0x3647e4,subUnitId:_0x5b982b,pivotTableId:_0x23e1c1,fieldId:_0x3d7c6a,filterInfo:_0x3c9a5e}=_0x34f6ba,_0x4ce1bc=_0x3d9fbc[_0x15ddad(0x32f)](_0x23e1c1);if(!_0x4ce1bc)return!0x1;_0x4ce1bc[_0x15ddad(0x1c6)](_0x3d7c6a,_0x3c9a5e);const _0x3b5dd4=_0x3d9fbc[_0x15ddad(0x304)](_0x3647e4,_0x5b982b,_0x23e1c1);return _0x47aba7(_0x3b5dd4,_0x34f6ba),_0x3d9fbc[_0x15ddad(0x25d)]({'unitId':_0x3647e4,'subUnitId':_0x5b982b,'token':_0x23e1c1,'type':_0x3278cc[_0x15ddad(0x340)]}),!0x0;}},_0x4e0703={'type':_0x54f2e8[_0x2d8507(0x1f1)]['MUTATION'],'id':_0x2d8507(0x3f3),'handler'(_0x257d29,_0x25d35a){const _0x661d67=_0x2d8507;if(!_0x25d35a)return!0x1;if(!!_0x257d29['get'](_0x54f2e8[_0x661d67(0x2cd)])[_0x661d67(0x257)](_0x5c38dc))return!0x0;const _0xad7446=_0x257d29[_0x661d67(0x12a)](_0x5d1b85[_0x661d67(0x1e7)]),{unitId:_0x42707f,subUnitId:_0xdaa22f,pivotTableId:_0x30dfea,area:_0x2668b8,index:_0x1dcaf2,fieldId:_0x327040}=_0x25d35a,_0x3acb8c=_0xad7446[_0x661d67(0x32f)](_0x30dfea);if(!_0x3acb8c)return!0x1;_0x3acb8c[_0x661d67(0x1de)](_0x327040,_0x2668b8,_0x1dcaf2);const _0x4f2f0c=_0xad7446['getPivotTableModelConfig'](_0x42707f,_0xdaa22f,_0x30dfea);return _0x6778fa(_0x4f2f0c,_0x25d35a),_0xad7446[_0x661d67(0x25d)]({'unitId':_0x42707f,'subUnitId':_0xdaa22f,'token':_0x30dfea,'type':_0x3278cc[_0x661d67(0x340)]}),!0x0;}},_0x2d7371={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x1b3)],'id':_0x2d8507(0x294),'handler'(_0x37c1ca,_0xc57e3f){const _0x127a00=_0x2d8507;if(!_0xc57e3f)return!0x1;if(!!_0x37c1ca[_0x127a00(0x12a)](_0x54f2e8['IConfigService'])[_0x127a00(0x257)](_0x5c38dc))return!0x0;const _0xf75ce1=_0x37c1ca[_0x127a00(0x12a)](_0x5d1b85[_0x127a00(0x1e7)]),{unitId:_0x4f412c,subUnitId:_0x53b8fe,pivotTableId:_0xc9b8cd,sourceName:_0x3aff56,dataFieldId:_0x10a452,tableFieldId:_0x50549d}=_0xc57e3f,_0x4e6119=_0xf75ce1[_0x127a00(0x32f)](_0xc9b8cd);if(!_0x4e6119)return!0x1;_0x4e6119[_0x127a00(0x222)](_0x50549d,_0x3aff56,_0x10a452);const _0x56bd37=_0xf75ce1[_0x127a00(0x304)](_0x4f412c,_0x53b8fe,_0xc9b8cd);return _0x3e9c2c(_0x56bd37,_0xc57e3f),_0xf75ce1['addDirtyPivotTable']({'unitId':_0x4f412c,'subUnitId':_0x53b8fe,'token':_0xc9b8cd,'type':_0x3278cc[_0x127a00(0x340)]}),!0x0;}},_0x551703={'type':_0x54f2e8['CommandType'][_0x2d8507(0x1b3)],'id':_0x2d8507(0x20d),'handler'(_0x1505fb,_0x4b5560){const _0xb40080=_0x2d8507;if(!_0x4b5560)return!0x1;if(!!_0x1505fb[_0xb40080(0x12a)](_0x54f2e8[_0xb40080(0x2cd)])[_0xb40080(0x257)](_0x5c38dc))return!0x0;const _0x3c410a=_0x1505fb[_0xb40080(0x12a)](_0x5d1b85[_0xb40080(0x1e7)]),{unitId:_0x151d38,subUnitId:_0x3130fe,pivotTableId:_0x2bf699,valuePosition:_0x578d48,index:_0x8a4a34}=_0x4b5560,_0x5006ea=_0x3c410a['getPivotTableInstance'](_0x2bf699);if(!_0x5006ea)return!0x1;_0x5006ea[_0xb40080(0x382)](_0x578d48,_0x8a4a34);const _0xaffca=_0x3c410a[_0xb40080(0x304)](_0x151d38,_0x3130fe,_0x2bf699);return _0x3aeeef(_0xaffca,_0x4b5560),_0x3c410a[_0xb40080(0x25d)]({'unitId':_0x151d38,'subUnitId':_0x3130fe,'token':_0x2bf699,'type':_0x3278cc[_0xb40080(0x340)]}),!0x0;}};function _0x120b02(_0x173c5a,_0x28aabf,_0x59ce90){const _0x3f27a8=_0x2d8507,{pivotTableId:_0x2c98f0,unitId:_0x52647d,subUnitId:_0x37e858}=_0x28aabf,_0x5b8708=[],_0x2cb2cb=[];for(const _0x19c73a of _0x59ce90)switch(_0x19c73a[_0x3f27a8(0x220)]){case _0x2a5883[_0x3f27a8(0x3c7)][_0x3f27a8(0x20a)]:{const {fieldJson:_0x58fb87,area:_0x264549,index:_0x3edf86}=_0x19c73a,_0x3febd0={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldJson':_0x58fb87,'area':_0x264549,'index':_0x3edf86},_0x46621a={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldId':_0x58fb87['id'],'area':_0x264549,'index':_0x3edf86};_0x5b8708['push']({'id':_0x1bc3c4['id'],'params':_0x3febd0}),_0x2cb2cb['unshift']({'id':_0x5451d7['id'],'params':_0x46621a});}break;case _0x2a5883[_0x3f27a8(0x3c7)]['SetSubtotalType']:{const {fieldId:_0x1b00c4,newSubtotalType:_0x5759e0,oldSubtotalType:_0x5bf5c4}=_0x19c73a,_0x3ea150={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldId':_0x1b00c4,'subtotalType':_0x5759e0};_0x5b8708[_0x3f27a8(0x423)]({'id':_0x382bb3['id'],'params':_0x3ea150});const _0x53f771={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldId':_0x1b00c4,'subtotalType':_0x5bf5c4};_0x2cb2cb[_0x3f27a8(0x3db)]({'id':_0x382bb3['id'],'params':_0x53f771});}break;case _0x2a5883[_0x3f27a8(0x3c7)][_0x3f27a8(0x218)]:{const {fieldId:_0x5bfb10,fieldJson:_0x3d082c,area:_0x33b895,index:_0xc0464d}=_0x19c73a,_0x1a76ee={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldId':_0x5bfb10,'index':_0xc0464d,'area':_0x33b895};_0x5b8708[_0x3f27a8(0x423)]({'id':_0x5451d7['id'],'params':_0x1a76ee});const _0x2df63b={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldJson':_0x3d082c,'area':_0x33b895,'index':_0xc0464d};_0x2cb2cb['unshift']({'id':_0x1bc3c4['id'],'params':_0x2df63b});}break;case _0x2a5883[_0x3f27a8(0x3c7)][_0x3f27a8(0x439)]:{const {fieldId:_0x57e75b,oldName:_0x47486b,newName:_0xdfaa89}=_0x19c73a,_0x56c851={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldId':_0x57e75b,'name':_0xdfaa89};_0x5b8708[_0x3f27a8(0x423)]({'id':_0x17e7d6['id'],'params':_0x56c851});const _0x1a3564={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldId':_0x57e75b,'name':_0x47486b};_0x2cb2cb['unshift']({'id':_0x17e7d6['id'],'params':_0x1a3564});}break;case _0x2a5883[_0x3f27a8(0x3c7)][_0x3f27a8(0x3e3)]:{const {fieldId:_0x3f2027,oldFilterInfo:_0x141f23,newFilterInfo:_0x4a3771}=_0x19c73a,_0x4eda6b={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldId':_0x3f2027,'filterInfo':_0x4a3771};_0x5b8708[_0x3f27a8(0x423)]({'id':_0x2a5ef0['id'],'params':_0x4eda6b});const _0x1265f2={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldId':_0x3f2027,'filterInfo':_0x141f23};_0x2cb2cb[_0x3f27a8(0x3db)]({'id':_0x2a5ef0['id'],'params':_0x1265f2});}break;case _0x2a5883[_0x3f27a8(0x3c7)][_0x3f27a8(0x149)]:{const {fieldId:_0x255505,oldSortInfo:_0x4900a9,newSortInfo:_0x58e19e}=_0x19c73a,_0x26f7fa={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldId':_0x255505,'sortInfo':_0x58e19e};_0x5b8708['push']({'id':_0x24847e['id'],'params':_0x26f7fa});const _0x5f63eb={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldId':_0x255505,'sortInfo':_0x4900a9};_0x2cb2cb['unshift']({'id':_0x24847e['id'],'params':_0x5f63eb});}break;case _0x2a5883[_0x3f27a8(0x3c7)][_0x3f27a8(0x16b)]:{const {oldOptions:_0x47c646,newOptions:_0x119814}=_0x19c73a,_0x2ccc7c={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'options':_0x119814};_0x5b8708[_0x3f27a8(0x423)]({'id':_0x3db97f['id'],'params':_0x2ccc7c});const _0x3ea6ac={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'options':_0x47c646};_0x2cb2cb['unshift']({'id':_0x3db97f['id'],'params':_0x3ea6ac});}break;case _0x2a5883[_0x3f27a8(0x3c7)]['UpdateFieldPosition']:{const {oldArea:_0x9efffa,newArea:_0x1fa036,oldIndex:_0x4d5326,newIndex:_0x171e18,fieldId:_0x378ef1}=_0x19c73a,_0x90a8c5={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldId':_0x378ef1,'area':_0x1fa036,'index':_0x171e18,'oldArea':_0x9efffa,'oldIndex':_0x4d5326};_0x5b8708[_0x3f27a8(0x423)]({'id':_0x4e0703['id'],'params':_0x90a8c5});const _0x7911f8={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldId':_0x378ef1,'area':_0x9efffa,'index':_0x4d5326,'oldArea':_0x1fa036,'oldIndex':_0x171e18};_0x2cb2cb[_0x3f27a8(0x3db)]({'id':_0x4e0703['id'],'params':_0x7911f8});}break;case _0x2a5883[_0x3f27a8(0x3c7)]['UpdateValuePosition']:{const {oldValuePosition:_0x3aad42,newValuePosition:_0x3a1788,oldIndex:_0x1c5a15,newIndex:_0x3a36b4}=_0x19c73a,_0x392622={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'valuePosition':_0x3a1788,'index':_0x3a36b4};_0x5b8708[_0x3f27a8(0x423)]({'id':_0x551703['id'],'params':_0x392622});const _0x410e78={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'valuePosition':_0x3aad42,'index':_0x1c5a15};_0x2cb2cb[_0x3f27a8(0x3db)]({'id':_0x551703['id'],'params':_0x410e78});}break;case _0x2a5883[_0x3f27a8(0x3c7)]['SetCollapse']:{const {fieldId:_0x2f9dcf,collapse:_0x16a6bb,item:_0x46ce42}=_0x19c73a,_0x540053={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldId':_0x2f9dcf,'collapse':_0x16a6bb,'item':_0x46ce42};_0x5b8708['push']({'id':_0x2fc625['id'],'params':_0x540053});const _0x314f79={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldId':_0x2f9dcf,'collapse':!_0x16a6bb,'item':_0x46ce42};_0x2cb2cb[_0x3f27a8(0x3db)]({'id':_0x2fc625['id'],'params':_0x314f79});}break;case _0x2a5883[_0x3f27a8(0x3c7)][_0x3f27a8(0x2a1)]:{const {newFormat:_0x9d1615,oldFormat:_0x5efe5a,fieldId:_0x500408}=_0x19c73a,_0x1a24ae={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldId':_0x500408,'format':_0x9d1615};_0x5b8708[_0x3f27a8(0x423)]({'id':_0x5b622e['id'],'params':_0x1a24ae});const _0x296e62={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldId':_0x500408,'format':_0x5efe5a};_0x2cb2cb[_0x3f27a8(0x3db)]({'id':_0x5b622e['id'],'params':_0x296e62});}break;case _0x2a5883['PivotTableChangeTypeEnum']['UpdateSource']:{const {tableFieldId:_0x3e973d,oldSourceName:_0x112e0d,newSourceName:_0x52579a,oldDataFieldId:_0x2414b3,newDataFieldId:_0x50d39c}=_0x19c73a,_0x37bce6={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'tableFieldId':_0x3e973d,'sourceName':_0x52579a,'dataFieldId':_0x50d39c};_0x5b8708[_0x3f27a8(0x423)]({'id':_0x2d7371['id'],'params':_0x37bce6});const _0x50dbb1={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'tableFieldId':_0x3e973d,'sourceName':_0x112e0d,'dataFieldId':_0x2414b3};_0x2cb2cb['unshift']({'id':_0x2d7371['id'],'params':_0x50dbb1});}break;case _0x2a5883['PivotTableChangeTypeEnum'][_0x3f27a8(0x3bb)]:{const {fieldId:_0x1cec2a,filterInfo:_0x45463d,oldFilterInfo:_0x527b60}=_0x19c73a,_0x2f8c8b={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldId':_0x1cec2a,'filterInfo':_0x45463d};_0x5b8708[_0x3f27a8(0x423)]({'id':_0x35a524['id'],'params':_0x2f8c8b});const _0x32d956={'unitId':_0x52647d,'subUnitId':_0x37e858,'pivotTableId':_0x2c98f0,'fieldId':_0x1cec2a,'filterInfo':_0x527b60};_0x2cb2cb[_0x3f27a8(0x3db)]({'id':_0x35a524['id'],'params':_0x32d956});}}return{'redos':_0x5b8708,'undos':_0x2cb2cb};}function _0x315b28(_0x339161,_0x51ac28){const _0x55a9e6=_0x2d8507;var _0x20a7d3;const _0x4e7cb5=_0x339161['get'](_0x5d1b85[_0x55a9e6(0x138)]),{cellInfo:_0x30b95d,view:_0x5eb87d,isEmpty:_0x1566f0}=_0x51ac28;return(_0x20a7d3=_0x4e7cb5[_0x55a9e6(0x428)]['fetchThroughInterceptors'](_0x23ce83)(_0x347c78,{'cellInfo':_0x30b95d,'view':_0x5eb87d,'isEmpty':_0x1566f0}))!=null?_0x20a7d3:_0x347c78;}const _0x249d56={'type':_0x54f2e8[_0x2d8507(0x1f1)]['COMMAND'],'id':_0x2d8507(0x392),async 'handler'(_0x59d762,_0x19834b){const _0x3e6ae7=_0x2d8507;if(!_0x19834b)return!0x1;const _0x2640a7=_0x59d762[_0x3e6ae7(0x12a)](_0x54f2e8['ICommandService']),_0x1b1aa1=_0x59d762['get'](_0x5d1b85['SheetsPivotRPCService']),_0x374ea9=_0x59d762[_0x3e6ae7(0x12a)](_0x54f2e8[_0x3e6ae7(0x319)]),{pivotTableId:_0x1e9fc9,dataFieldId:_0x2c186d,fieldArea:_0x4eb90f,index:_0x5c4be7,unitId:_0x57bcac,subUnitId:_0x500079}=_0x19834b,_0x4c56ef=(await _0x1b1aa1[_0x3e6ae7(0x3e9)]({'unitId':_0x57bcac,'subUnitId':_0x500079,'pivotTableId':_0x1e9fc9,'params':{'type':_0x5642d1[_0x3e6ae7(0x209)],'addPivotField':{'dataFieldId':_0x2c186d,'fieldArea':_0x4eb90f,'index':_0x5c4be7}}}))[_0x3e6ae7(0x373)]['addPivotField'];if(!_0x4c56ef)return!0x1;const {view:_0x4079c7,changesets:_0x7ff642,isEmpty:_0x7011f2,pivotTableConfig:_0x1f5b70,shouldBeAddedGroupJSON:_0x2a7138}=_0x4c56ef,_0x41cef7=_0x1f5b70['targetCellInfo'],_0x25f63f=new _0x2a5883[(_0x3e6ae7(0x3fa))]();_0x25f63f[_0x3e6ae7(0x1c2)](_0x4079c7);const _0x281813={'cellInfo':_0x41cef7,'view':_0x25f63f,'isEmpty':_0x7011f2};if(!await _0x59d762[_0x3e6ae7(0x12a)](_0x5d1b85[_0x3e6ae7(0x138)])['asyncInterceptor'][_0x3e6ae7(0x3ad)](_0x2dbc74)(!0x0,_0x281813))return!0x1;const _0x1814a4=_0x4a2750(_0x59d762,_0x25f63f,_0x41cef7,_0x7011f2),_0x16bf2e=_0x315b28(_0x59d762,_0x281813),{undos:_0x27a660,redos:_0x291fd1}=_0x120b02(_0x2640a7,{'pivotTableId':_0x1e9fc9,'unitId':_0x57bcac,'subUnitId':_0x500079},_0x7ff642);return _0x2a7138&&(_0x291fd1[_0x3e6ae7(0x3db)]({'id':_0x344181['id'],'params':{'pivotTableId':_0x1e9fc9,'fieldJSON':_0x2a7138,'unitId':_0x57bcac,'subUnitId':_0x500079}}),_0x27a660[_0x3e6ae7(0x423)]({'id':_0x4f3109['id'],'params':{'pivotTableId':_0x1e9fc9,'dataFieldId':_0x2a7138['id'],'unitId':_0x57bcac,'subUnitId':_0x500079}})),_0x54f2e8[_0x3e6ae7(0x2fa)]([..._0x1814a4[_0x3e6ae7(0x1e0)],..._0x16bf2e['redos'],..._0x291fd1],_0x2640a7),_0x374ea9[_0x3e6ae7(0x1f4)]({'unitID':_0x57bcac,'redoMutations':[..._0x1814a4[_0x3e6ae7(0x1e0)],..._0x16bf2e[_0x3e6ae7(0x1e0)],..._0x291fd1],'undoMutations':[..._0x1814a4['undos'],..._0x16bf2e[_0x3e6ae7(0x33d)],..._0x27a660]}),!0x0;}},_0x46978e=()=>typeof process<'u'&&process[_0x2d8507(0x162)]!=null&&process['versions'][_0x2d8507(0x205)]!=null,_0x1b68de={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x1b3)],'id':_0x2d8507(0x145),'handler'(_0x4378e4,_0x192a79){const _0x2bb437=_0x2d8507;var _0x4ae3c9;if(!_0x192a79)return!0x1;const _0xe040fe=_0x4378e4[_0x2bb437(0x12a)](_0x54f2e8[_0x2bb437(0x2cd)]);if(!!_0xe040fe['getConfig'](_0x5c38dc))return!0x0;const _0xd6f330=_0x4378e4[_0x2bb437(0x12a)](_0x54f2e8[_0x2bb437(0x2a2)]),_0x5d165e=_0x4378e4[_0x2bb437(0x12a)](_0x5d1b85[_0x2bb437(0x1e7)]),{pivotTableId:_0x47ff03,pivotTableConfig:_0x101c58,collectionConfig:_0x8882e1,unitId:_0x5f11d4,subUnitId:_0x1cb34b}=_0x192a79,{sourceRangeInfo:_0x5d217b,fieldsConfig:_0x3e2592,targetCellInfo:_0x5bce32}=_0x101c58,_0xf9268c=_0xd6f330[_0x2bb437(0x3ca)](_0x5f11d4);if(!_0xf9268c||!_0xf9268c[_0x2bb437(0x23b)](_0x1cb34b))return!0x1;if(!_0x46978e()){let _0x4abb65=0x0;_0xf9268c[_0x2bb437(0x198)]()[_0x2bb437(0x151)](_0x1877e7=>{const _0x2246fd=_0x2bb437;var _0x4bae48,_0x1bac9d;_0x4abb65+=(_0x1bac9d=(_0x4bae48=_0x5d165e[_0x2246fd(0x160)](_0x5f11d4,_0x1877e7[_0x2246fd(0x29a)]()))==null?void 0x0:_0x4bae48[_0x2246fd(0x260)])!=null?_0x1bac9d:0x0;});const _0x1680d2=(_0x4ae3c9=_0xe040fe[_0x2bb437(0x257)](_0x5731b9['LS_CONFIG_KEY']))!=null?_0x4ae3c9:{},{ls:_0x4278cf,pbk:_0x4b82e0}=_0x1680d2;if(!_0x47e8e8(_0x4278cf,_0x4b82e0))throw new _0x54f2e8[(_0x2bb437(0x2cc))](_0x2bb437(0x435));const _0x3fb399=_0x58d1f7(_0x4992c4,_0x4278cf,_0x4b82e0)[_0x2bb437(0x2f5)];if(_0x4abb65>=_0x3fb399)throw new _0x54f2e8[(_0x2bb437(0x2cc))](_0x2bb437(0x435));}if(!_0x8882e1||!_0x3e2592)return!0x1;const {collection:_0x43aa01,updateDataFieldList:_0x502646}=_0x5d165e[_0x2bb437(0x232)](_0x47ff03,_0x8882e1,_0x5d217b,_0x5bce32);_0x5d165e[_0x2bb437(0x290)](_0x43aa01,_0x502646,_0x5d217b);const _0x5af69c=new _0x2a5883['PivotTable'](_0x43aa01,void 0x0,_0x47ff03);_0x5af69c['fromJSON'](_0x3e2592);const _0x42bd43=JSON[_0x2bb437(0x38b)](JSON[_0x2bb437(0x181)](_0x101c58));return _0x5d165e[_0x2bb437(0x19b)](_0x5f11d4,_0x1cb34b,_0x47ff03,_0x5af69c,_0x42bd43),_0x5d165e[_0x2bb437(0x25d)]({'unitId':_0x5f11d4,'subUnitId':_0x1cb34b,'token':_0x47ff03,'type':_0x3278cc[_0x2bb437(0x2b5)],'pivotConfig':_0x42bd43}),!0x0;}},_0x550a5d={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x137)],'id':_0x2d8507(0x361),async 'handler'(_0x2d294d,_0xcd33fb){const _0x47aaa2=_0x2d8507;if(!_0xcd33fb)return!0x1;const {sourceDataInfo:_0x24d6f4,pivotTableConfig:_0x59d985}=_0xcd33fb;if(!_0x24d6f4||!_0x59d985)return!0x1;const {unitId:_0xa8ef64,subUnitId:_0x4c7c6a,range:_0x20fedf}=_0x24d6f4,_0x417d16=_0x2d294d[_0x47aaa2(0x12a)](_0x54f2e8[_0x47aaa2(0x2a2)]),_0x1f5942=_0x2d294d['get'](_0x5d1b85[_0x47aaa2(0x248)]),_0x523974=_0x2d294d[_0x47aaa2(0x12a)](_0x54f2e8['LocaleService']),_0x48f0cf=_0x2d294d[_0x47aaa2(0x12a)](_0x54f2e8['ICommandService']),_0x41262c=_0x417d16[_0x47aaa2(0x3ca)](_0xa8ef64);if(!_0x41262c)return!0x1;const _0x49aa75=_0x41262c[_0x47aaa2(0x23b)](_0x4c7c6a);if(!_0x49aa75)return!0x1;const _0x527181=_0x2a5883['generateHexNumber'](0x8),_0x410337=_0x20fedf||{'startRow':0x0,'startColumn':0x0,'endRow':_0x49aa75[_0x47aaa2(0x14d)]()-0x1,'endColumn':_0x49aa75['getColumnCount']()-0x1};_0x410337['rangeType']=_0x54f2e8[_0x47aaa2(0x43f)][_0x47aaa2(0x161)];const _0x41a1bb=(await _0x1f5942[_0x47aaa2(0x3e9)]({'unitId':_0xa8ef64,'subUnitId':_0x4c7c6a,'pivotTableId':_0x527181,'params':{'type':_0x5642d1[_0x47aaa2(0x31e)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0xa8ef64,'sheetName':_0x49aa75[_0x47aaa2(0x1b6)](),'subUnitId':_0x4c7c6a,'range':_0x410337},'pivotTableId':_0x527181,'pivotTableIndexConfig':_0x59d985}}}))['result'][_0x47aaa2(0x427)];if(!_0x41a1bb)return!0x1;const {isEmpty:_0x2bd470,fieldsConfig:_0x44ad3d,collectionConfig:_0x5c5e63,changesets:_0xc467a7}=_0x41a1bb,_0x10cea3=_0x41262c[_0x47aaa2(0x198)]()[_0x47aaa2(0x31c)],_0x19cacf=_0x54f2e8[_0x47aaa2(0x421)]({'rowCount':_0x49aa75['getRowCount']()-0x1,'columnCount':_0x49aa75[_0x47aaa2(0x22e)]()-0x1});_0x19cacf['id']=_0x54f2e8[_0x47aaa2(0x3de)](),_0x19cacf[_0x47aaa2(0x405)]=_0x41262c['generateNewSheetName'](''+_0x523974['t'](_0x47aaa2(0x224)));const _0xf08eea={'index':_0x10cea3,'sheet':_0x19cacf,'unitId':_0xa8ef64},{redos:_0x209d1e}=_0x120b02(_0x48f0cf,{'pivotTableId':_0x527181,'unitId':_0xa8ef64,'subUnitId':_0x19cacf['id']},_0xc467a7),_0x2b5701=[{'id':_0x3ff8f7['InsertSheetCommand']['id'],'params':_0xf08eea},{'id':_0x1b68de['id'],'params':{'unitId':_0xa8ef64,'subUnitId':_0x19cacf['id'],'pivotTableId':_0x527181,'pivotTableConfig':{'isEmpty':_0x2bd470,'fieldsConfig':_0x44ad3d,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0xa8ef64,'subUnitId':_0x19cacf['id']},'sourceRangeInfo':{'subUnitId':_0x4c7c6a,'unitId':_0xa8ef64,'range':_0x410337,'sheetName':_0x49aa75['getName']()}},'collectionConfig':_0x5c5e63}},..._0x209d1e];return _0x54f2e8[_0x47aaa2(0x2fa)](_0x2b5701,_0x48f0cf),!0x0;}},_0xea409a={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x1b3)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x3f43a5,_0x4a5f44){const _0x1966ca=_0x2d8507;if(!_0x4a5f44)return!0x1;if(!!_0x3f43a5[_0x1966ca(0x12a)](_0x54f2e8[_0x1966ca(0x2cd)])[_0x1966ca(0x257)](_0x5c38dc))return!0x0;const {pivotTableId:_0x203f7f,unitId:_0x5c8e2a,subUnitId:_0x2f6751}=_0x4a5f44,_0x6122e8=_0x3f43a5[_0x1966ca(0x12a)](_0x5d1b85[_0x1966ca(0x1e7)]);return _0x6122e8[_0x1966ca(0x2d6)](_0x5c8e2a,_0x2f6751,_0x203f7f)?(_0x6122e8[_0x1966ca(0x25d)]({'unitId':_0x5c8e2a,'subUnitId':_0x2f6751,'token':_0x203f7f,'type':_0x3278cc[_0x1966ca(0x31d)]}),_0x6122e8[_0x1966ca(0x3d6)](_0x5c8e2a,_0x2f6751,_0x203f7f),!0x0):!0x1;}},_0x3b307b={'type':_0x54f2e8['CommandType'][_0x2d8507(0x137)],'id':'sheet.command.add-pivot-table',async 'handler'(_0xe8a583,_0x1ffb01){const _0x8397a1=_0x2d8507;var _0x3ddc0d,_0x39cf5b;const _0x5f38b6=_0xe8a583[_0x8397a1(0x12a)](_0x54f2e8[_0x8397a1(0x41e)]),_0x5285b6=_0xe8a583[_0x8397a1(0x12a)](_0x54f2e8[_0x8397a1(0x2a2)]),_0x3450e7=_0xe8a583['get'](_0x54f2e8[_0x8397a1(0x2a5)]),_0x132a1d=_0xe8a583[_0x8397a1(0x12a)](_0x5d1b85[_0x8397a1(0x248)]),_0x4c7e80=_0xe8a583[_0x8397a1(0x12a)](_0x54f2e8[_0x8397a1(0x319)]),_0x19233a=_0xe8a583[_0x8397a1(0x12a)](_0x5d1b85[_0x8397a1(0x147)]),_0x258642=_0xe8a583[_0x8397a1(0x12a)](_0x54f2e8[_0x8397a1(0x2cd)]);if(!_0x1ffb01)return!0x1;const {pivotTableConfig:_0x913010,positionType:_0x4ff766}=_0x1ffb01,{targetCellInfo:_0x5c8c77,sourceRangeInfo:_0x1792a5}=_0x913010,{unitId:_0x4ab226,subUnitId:_0xd6d0b2}=_0x5c8c77,_0x10bb62=_0x5285b6[_0x8397a1(0x3ca)](_0x4ab226);if(!_0x10bb62)return!0x1;let _0x154c73=0x0;_0x10bb62['getSheets']()[_0x8397a1(0x151)](_0x7d0383=>{const _0xdc569a=_0x8397a1;var _0x56fbe1,_0x5a2953;_0x154c73+=(_0x5a2953=(_0x56fbe1=_0x19233a[_0xdc569a(0x160)](_0x4ab226,_0x7d0383[_0xdc569a(0x29a)]()))==null?void 0x0:_0x56fbe1['size'])!=null?_0x5a2953:0x0;});const _0x3695ca=(_0x3ddc0d=_0x258642[_0x8397a1(0x257)](_0x5731b9[_0x8397a1(0x13b)]))!=null?_0x3ddc0d:{},{ls:_0x113d8a,pbk:_0x14aeea}=_0x3695ca;if(!_0x47e8e8(_0x113d8a,_0x14aeea))return!0x1;const _0x3f6bf8=_0x58d1f7(_0x4992c4,_0x113d8a,_0x14aeea)[_0x8397a1(0x2f5)];if(_0x154c73>=_0x3f6bf8)return!0x1;const _0x5600e5=_0x1ffb01[_0x8397a1(0x12f)]||_0x2a5883[_0x8397a1(0x280)](0x8),_0x412d66=(await _0x132a1d[_0x8397a1(0x3e9)]({'unitId':_0x4ab226,'subUnitId':_0xd6d0b2,'pivotTableId':_0x5600e5,'params':{'type':_0x5642d1[_0x8397a1(0x1a3)],'addPivotTable':{'sourceRangeInfo':_0x1792a5,'pivotTableId':_0x5600e5}}}))['result'][_0x8397a1(0x19b)];if(!_0x412d66)return!0x1;const {view:_0x21d04f,isEmpty:_0x1f2d8c,fieldsConfig:_0xc4937e,collectionConfig:_0x560695}=_0x412d66,_0x507472=[],_0x4acaa2=[];if(_0x4ff766===_0x1db26b['New']){const _0x427379=_0x10bb62['getSheets']()[_0x8397a1(0x31c)],_0x2497d2=_0x54f2e8[_0x8397a1(0x421)]({});_0x2497d2['id']=_0x913010[_0x8397a1(0x1d3)][_0x8397a1(0x295)],_0x2497d2[_0x8397a1(0x405)]=(_0x39cf5b=_0x913010[_0x8397a1(0x1d3)][_0x8397a1(0x2b2)])!=null?_0x39cf5b:_0x10bb62[_0x8397a1(0x2a8)](''+_0x3450e7['t'](_0x8397a1(0x224)));const _0x5f3854={'index':_0x427379,'sheet':_0x2497d2,'unitId':_0x4ab226},_0x37676c=_0x3ff8f7[_0x8397a1(0x182)](_0xe8a583,_0x5f3854);_0x507472[_0x8397a1(0x423)]({'id':_0x3ff8f7[_0x8397a1(0x2ec)]['id'],'params':_0x37676c}),_0x4acaa2[_0x8397a1(0x423)]({'id':_0x3ff8f7['InsertSheetMutation']['id'],'params':_0x5f3854});}else{if(!_0x10bb62[_0x8397a1(0x23b)](_0xd6d0b2))return!0x1;const _0x2b1f2c=_0x4a2750(_0xe8a583,new _0x2a5883[(_0x8397a1(0x3fa))](),_0x5c8c77,!0x0);_0x4acaa2['push'](..._0x2b1f2c[_0x8397a1(0x1e0)]),_0x507472[_0x8397a1(0x423)](..._0x2b1f2c['undos']);const _0x66b8f5={'cellInfo':_0x5c8c77,'view':_0x21d04f,'isEmpty':_0x1f2d8c};if(!await _0xe8a583[_0x8397a1(0x12a)](_0x5d1b85[_0x8397a1(0x138)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x2dbc74)(!0x0,_0x66b8f5))return!0x1;const _0x2e26d7=_0x315b28(_0xe8a583,_0x66b8f5);_0x4acaa2[_0x8397a1(0x423)](..._0x2e26d7['redos']),_0x507472[_0x8397a1(0x423)](..._0x2e26d7[_0x8397a1(0x33d)]);}return _0x4acaa2['push']({'id':_0x1b68de['id'],'params':{'unitId':_0x5c8c77['unitId'],'subUnitId':_0x5c8c77['subUnitId'],'pivotTableId':_0x5600e5,'pivotTableConfig':{'targetCellInfo':_0x5c8c77,'sourceRangeInfo':_0x1792a5,'fieldsConfig':_0xc4937e},'collectionConfig':_0x560695}}),_0x507472['unshift']({'id':_0xea409a['id'],'params':{'unitId':_0x4ab226,'subUnitId':_0xd6d0b2,'pivotTableId':_0x5600e5}}),_0x54f2e8['sequenceExecute'](_0x4acaa2,_0x5f38b6)&&_0x4c7e80[_0x8397a1(0x1f4)]({'unitID':_0x4ab226,'undoMutations':_0x507472,'redoMutations':_0x4acaa2}),!0x0;}},_0x34dca6={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x137)],'id':_0x2d8507(0x1f7),async 'handler'(_0x298493,_0x2403d0){const _0x1faf6c=_0x2d8507;if(!_0x2403d0)return!0x1;const _0x4fcdb7=_0x298493[_0x1faf6c(0x12a)](_0x54f2e8['ICommandService']),_0x2770a2=_0x298493[_0x1faf6c(0x12a)](_0x5d1b85[_0x1faf6c(0x248)]),_0x3e08f8=_0x298493[_0x1faf6c(0x12a)](_0x54f2e8[_0x1faf6c(0x319)]),{pivotTableId:_0x2f1f58,fieldId:_0x4c7366,area:_0x2634e4,index:_0x5393cf,unitId:_0x5613ca,subUnitId:_0x43a9b4}=_0x2403d0,_0x95d3d0=(await _0x2770a2[_0x1faf6c(0x3e9)]({'unitId':_0x5613ca,'subUnitId':_0x43a9b4,'pivotTableId':_0x2f1f58,'params':{'type':_0x5642d1[_0x1faf6c(0x2d1)],'movePivotField':{'fieldId':_0x4c7366,'area':_0x2634e4,'index':_0x5393cf}}}))[_0x1faf6c(0x373)][_0x1faf6c(0x2aa)];if(!_0x95d3d0)return!0x1;const {changesets:_0x2bd5eb,view:_0xbd5045,isEmpty:_0x576d2e,pivotTableConfig:_0x458c74}=_0x95d3d0,_0x31f61c=_0x458c74[_0x1faf6c(0x1d3)],_0x38bb20=new _0x2a5883[(_0x1faf6c(0x3fa))]();_0x38bb20['formJSON'](_0xbd5045);const _0x337fbf={'cellInfo':_0x31f61c,'view':_0x38bb20,'isEmpty':_0x576d2e};if(!await _0x298493[_0x1faf6c(0x12a)](_0x5d1b85[_0x1faf6c(0x138)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x2dbc74)(!0x0,_0x337fbf))return!0x1;const _0x5b9284=_0x4a2750(_0x298493,_0x38bb20,_0x31f61c,_0x576d2e),_0x57a9fb=_0x315b28(_0x298493,_0x337fbf),{redos:_0x34c94f,undos:_0x360333}=_0x120b02(_0x4fcdb7,{'pivotTableId':_0x2f1f58,'unitId':_0x5613ca,'subUnitId':_0x43a9b4},_0x2bd5eb);return _0x54f2e8[_0x1faf6c(0x2fa)]([..._0x5b9284[_0x1faf6c(0x1e0)],..._0x57a9fb[_0x1faf6c(0x1e0)],..._0x34c94f],_0x4fcdb7),_0x3e08f8['pushUndoRedo']({'unitID':_0x5613ca,'redoMutations':[..._0x5b9284[_0x1faf6c(0x1e0)],..._0x57a9fb[_0x1faf6c(0x1e0)],..._0x34c94f],'undoMutations':[..._0x5b9284['undos'],..._0x57a9fb[_0x1faf6c(0x33d)],..._0x360333]}),!0x0;}},_0x285b9d={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x1b3)],'id':_0x2d8507(0x39f),'handler'(_0x19aa64,_0xb1f220){const _0x3b078e=_0x2d8507;if(!_0xb1f220)return!0x1;if(!!_0x19aa64[_0x3b078e(0x12a)](_0x54f2e8['IConfigService'])[_0x3b078e(0x257)](_0x5c38dc))return!0x0;const {pivotTableId:_0x88cba5,targetCellPosition:_0x4c8b56,unitId:_0x33b83e,subUnitId:_0x4920f4}=_0xb1f220,_0x96e67a=_0x19aa64[_0x3b078e(0x12a)](_0x5d1b85['SheetsPivotDataSourceModel']);if(!_0x96e67a['getPivotTableInstance'](_0xb1f220[_0x3b078e(0x12f)]))return!0x1;const _0x310d42=_0x96e67a[_0x3b078e(0x23a)](_0x88cba5);if(!_0x310d42)return!0x1;const _0x13e821=_0x96e67a[_0x3b078e(0x39a)](_0x310d42[_0x3b078e(0x2ac)],_0xb1f220[_0x3b078e(0x12f)]);if(!_0x13e821)return!0x1;const _0x371784=_0x96e67a[_0x3b078e(0x2d6)](_0x310d42['unitId'],_0x310d42[_0x3b078e(0x295)],_0x88cba5);if(!_0x371784)return!0x1;const _0x371beb=_0x54f2e8[_0x3b078e(0x30b)]['deepClone'](_0x371784);_0x371beb[_0x3b078e(0x1d3)]={'unitId':_0x33b83e,'subUnitId':_0x4920f4,'row':_0x4c8b56['row'],'col':_0x4c8b56[_0x3b078e(0x266)]};const _0x12a58d=_0x13e821[_0x3b078e(0x438)]();if(_0x310d42['subUnitId']===_0x4920f4&&_0x310d42[_0x3b078e(0x2ac)]===_0x33b83e)_0x96e67a['setPivotTable'](_0x33b83e,_0x4920f4,_0x88cba5,_0x371beb),_0x96e67a[_0x3b078e(0x25d)]({'unitId':_0x33b83e,'subUnitId':_0x4920f4,'token':_0x88cba5,'type':_0x3278cc[_0x3b078e(0x340)]});else{_0x96e67a['addDirtyPivotTable']({'unitId':_0x310d42[_0x3b078e(0x2ac)],'subUnitId':_0x310d42[_0x3b078e(0x295)],'token':_0x88cba5,'type':_0x3278cc[_0x3b078e(0x31d)]}),_0x96e67a[_0x3b078e(0x3d6)](_0x310d42[_0x3b078e(0x2ac)],_0x310d42[_0x3b078e(0x295)],_0x88cba5);const _0x1a2558=_0x96e67a['addCollectionByJSON'](_0x88cba5,_0x12a58d,_0x371784[_0x3b078e(0x399)],_0x371beb[_0x3b078e(0x1d3)]),_0x42ca52=new _0x2a5883[(_0x3b078e(0x429))](_0x1a2558[_0x3b078e(0x354)],void 0x0,_0x88cba5);_0x42ca52[_0x3b078e(0x308)](_0x371beb[_0x3b078e(0x33c)]),_0x96e67a[_0x3b078e(0x19b)](_0x33b83e,_0x4920f4,_0x88cba5,_0x42ca52,_0x371beb),_0x96e67a[_0x3b078e(0x25d)]({'unitId':_0x33b83e,'subUnitId':_0x4920f4,'token':_0x88cba5,'type':_0x3278cc['Add'],'pivotConfig':_0x371beb});}return!0x0;}},_0x23e844={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x137)],'id':_0x2d8507(0x157),'handler':(_0x14e8f8,_0x448fdc)=>{const _0x1ded1d=_0x2d8507,_0x1ae491=_0x14e8f8[_0x1ded1d(0x12a)](_0x54f2e8[_0x1ded1d(0x41e)]),_0x26263c=_0x14e8f8[_0x1ded1d(0x12a)](_0x54f2e8[_0x1ded1d(0x319)]),_0x3edcd0=_0x14e8f8[_0x1ded1d(0x12a)](_0x5d1b85['SheetsPivotTableConfigModel']),_0x50abd4=_0x14e8f8[_0x1ded1d(0x12a)](_0x54f2e8[_0x1ded1d(0x2a2)]);if(!_0x448fdc)return!0x1;const _0x5d9cf7=_0x3ff8f7['getSheetCommandTarget'](_0x50abd4);if(!_0x5d9cf7)return!0x1;const {unitId:_0x35b052,subUnitId:_0x2b51d7,workbook:_0xc007a2}=_0x5d9cf7,_0x5ddccc=_0x3edcd0[_0x1ded1d(0x2d6)](_0x448fdc[_0x1ded1d(0x188)]['unitId'],_0x448fdc[_0x1ded1d(0x188)][_0x1ded1d(0x295)],_0x448fdc[_0x1ded1d(0x12f)]);if(!_0x5ddccc)return!0x1;const _0x45a523=_0xc007a2['getSheetBySheetId'](_0x448fdc[_0x1ded1d(0x1d3)][_0x1ded1d(0x295)]);if(!_0x45a523)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x28a532=_0x45a523[_0x1ded1d(0x14d)](),_0x197794=_0x45a523[_0x1ded1d(0x22e)]();if(_0x448fdc[_0x1ded1d(0x1d3)][_0x1ded1d(0x200)]>_0x28a532||_0x448fdc[_0x1ded1d(0x1d3)]['col']>_0x197794)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x2c775b=[{'id':_0x285b9d['id'],'params':{'unitId':_0x35b052,'subUnitId':_0x448fdc['targetCellInfo'][_0x1ded1d(0x295)],'pivotTableId':_0x448fdc[_0x1ded1d(0x12f)],'targetCellPosition':{'row':_0x448fdc['targetCellInfo'][_0x1ded1d(0x200)],'col':_0x448fdc[_0x1ded1d(0x1d3)]['col']}}}],_0x380086=[{'id':_0x285b9d['id'],'params':{'unitId':_0x35b052,'subUnitId':_0x2b51d7,'pivotTableId':_0x448fdc['pivotTableId'],'targetCellPosition':{'row':_0x5ddccc['targetCellInfo'][_0x1ded1d(0x200)],'col':_0x5ddccc[_0x1ded1d(0x1d3)][_0x1ded1d(0x266)]}}}];return _0x54f2e8['sequenceExecute'](_0x2c775b,_0x1ae491)&&_0x26263c[_0x1ded1d(0x1f4)]({'unitID':_0x35b052,'undoMutations':_0x380086,'redoMutations':_0x2c775b}),!0x0;}},_0x4dd39b={'type':_0x54f2e8[_0x2d8507(0x1f1)]['COMMAND'],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x2313e6,_0x2d2335){const _0x35f0c3=_0x2d8507;var _0x57976f;if(!_0x2d2335)return!0x1;const _0x240165=_0x2313e6['get'](_0x54f2e8['IUniverInstanceService']),_0x3048c4=_0x3ff8f7[_0x35f0c3(0x3fb)](_0x240165);if(!_0x3048c4)return!0x1;const {unitId:_0x4e5b94,subUnitId:_0x397ade,workbook:_0x5ecd5a}=_0x3048c4,{row:_0x48a27d,col:_0x41e77e}=_0x2d2335,_0x18e3e9=_0x2313e6[_0x35f0c3(0x12a)](_0x5d1b85[_0x35f0c3(0x30e)]),_0x577b55=_0x18e3e9['getPivotTableIdByCell'](_0x4e5b94,_0x397ade,_0x48a27d,_0x41e77e);if(!_0x577b55)return!0x1;const _0x59b59f=(_0x57976f=_0x18e3e9[_0x35f0c3(0x1f6)](_0x4e5b94,_0x397ade,_0x577b55))==null?void 0x0:_0x57976f[_0x35f0c3(0x1e1)];if(!_0x59b59f)return!0x1;const _0x48e7a3=_0x2313e6[_0x35f0c3(0x12a)](_0x5d1b85[_0x35f0c3(0x147)])[_0x35f0c3(0x2d6)](_0x4e5b94,_0x397ade,_0x577b55);if(!_0x48e7a3)return!0x1;const {rowInfo:_0x3ad899,colInfo:_0x333ea7}=_0x59b59f,_0x1b5d35=_0x3ad899[_0x48a27d][_0x35f0c3(0x363)],_0x2f6568=_0x333ea7[_0x41e77e][_0x35f0c3(0x363)],_0xf4737c=_0x3ad899[_0x48a27d][_0x35f0c3(0x22f)],_0x3931ab=_0x333ea7[_0x41e77e]['level'],_0x1b428b=_0x1b5d35[_0x35f0c3(0x14c)](_0x2f6568),_0x2c963a=_0x48e7a3[_0x35f0c3(0x33c)]['rowFields']['slice'](0x0,_0xf4737c),_0x15f7c5=_0x48e7a3['fieldsConfig'][_0x35f0c3(0x3f4)]['slice'](0x0,_0x3931ab),_0x2379b0=_0x2c963a[_0x35f0c3(0x14c)](_0x15f7c5),_0x1b0505=_0x1b428b[_0x35f0c3(0x21c)]((_0x5c9f3b,_0x57d5f7)=>[_0x5c9f3b,_0x2379b0[_0x57d5f7]]),_0x3e6e68=(await _0x2313e6[_0x35f0c3(0x12a)](_0x5d1b85[_0x35f0c3(0x248)])[_0x35f0c3(0x3e9)]({'unitId':_0x4e5b94,'subUnitId':_0x397ade,'pivotTableId':_0x577b55,'params':{'type':_0x5642d1[_0x35f0c3(0x2c0)],'drillDown':{'tuple':_0x1b0505}}}))[_0x35f0c3(0x373)][_0x35f0c3(0x1d9)];if(!_0x3e6e68)return!0x1;const {indexes:_0xcbf876,range:_0x678c28,sourceUnitId:_0x5102f6,sourceSubUnitId:_0x28cc9c,formatMap:_0x8a3a7a}=_0x3e6e68,{startRow:_0x4b4534,endRow:_0x348d12,startColumn:_0x4e1c31,endColumn:_0x441541}=_0x678c28,_0x2a3a95=new _0x54f2e8[(_0x35f0c3(0x12c))](),_0x1ea9d0=_0x348d12-_0x4b4534,_0x45c437=_0x441541-_0x4e1c31,_0x552541={},_0x41f0c5=_0x3ff8f7[_0x35f0c3(0x3fb)](_0x240165,{'unitId':_0x5102f6,'subUnitId':_0x28cc9c});if(!_0x41f0c5)return!0x1;const _0x2316b1=_0x4dc25d[_0x35f0c3(0x33f)],_0x4015ae=_0x4dc25d[_0x35f0c3(0x23e)],_0x30d6e7=_0x4dc25d[_0x35f0c3(0x23e)],_0x440034=_0x5ecd5a['getStyles']()[_0x35f0c3(0x1b5)](_0x2316b1),_0x44a3e6=_0x5ecd5a[_0x35f0c3(0x1dd)]()[_0x35f0c3(0x1b5)](_0x4015ae),_0x24ea17=_0x5ecd5a[_0x35f0c3(0x1dd)]()['setValue'](_0x30d6e7),{worksheet:_0x5cc4d9}=_0x41f0c5;let _0x5464c5=0x0;const _0x211d16=0x1;_0xcbf876['forEach'](_0x43004e=>{const _0x4ee476=_0x35f0c3;for(let _0x37651d=0x0;_0x37651d<=_0x441541-_0x4e1c31;_0x37651d++)_0x2a3a95[_0x4ee476(0x1b5)](_0x5464c5,_0x37651d,_0x5cc4d9['getCellRaw'](_0x43004e+_0x678c28[_0x4ee476(0x3cc)]+_0x211d16,_0x37651d));_0x5464c5++;});for(let _0x417741=_0x4e1c31;_0x417741<=_0x441541;_0x417741++){const _0x3fdc7b=_0x5cc4d9['getCellRaw'](_0x4b4534,_0x417741);_0x552541[_0x4b4534]||(_0x552541[_0x4b4534]={}),_0x552541[_0x4b4534][_0x417741]={..._0x3fdc7b,'s':_0x440034};}let _0x51119a=0x1;const _0x273b36={},_0x58fc2d={};_0x2a3a95[_0x35f0c3(0x2e7)]((_0x34b4ce,_0x17520c)=>{const _0x438193=_0x35f0c3;_0x17520c[_0x438193(0x151)](_0x5c44e8=>{const _0x56c0ee=_0x438193,_0x16e5d8=_0x2a3a95[_0x56c0ee(0x1a5)](_0x34b4ce,_0x5c44e8);if(_0x552541[_0x51119a]||(_0x552541[_0x51119a]={}),_0x552541[_0x51119a][_0x5c44e8]={..._0x16e5d8,'s':_0x51119a%0x2===0x0?_0x24ea17:_0x44a3e6},_0x8a3a7a[_0x5c44e8]&&_0x34b4ce>=0x0){const _0x16c639=_0x51119a%0x2===0x0;let _0x1ac9b0=_0x16c639?_0x58fc2d[_0x5c44e8]:_0x273b36[_0x5c44e8];_0x1ac9b0||(_0x1ac9b0=_0x5ecd5a['getStyles']()['setValue']({..._0x16c639?_0x30d6e7:_0x4015ae,'n':{'pattern':_0x8a3a7a[_0x5c44e8]}}),_0x16c639?_0x58fc2d[_0x5c44e8]=_0x1ac9b0:_0x273b36[_0x5c44e8]=_0x1ac9b0),_0x552541[_0x51119a][_0x5c44e8]['s']=_0x1ac9b0;}}),_0x51119a++;});const _0x4908c5=new _0x54f2e8[(_0x35f0c3(0x12c))](_0x552541),_0xd73358={};_0x4908c5[_0x35f0c3(0x25f)]((_0x348b3c,_0x473ca2,_0x816cfc)=>{_0xd73358[_0x348b3c]||(_0xd73358[_0x348b3c]={}),_0xd73358[_0x348b3c][_0x473ca2]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x11207b=[],_0x833d88=[],_0x174f02=_0x5ecd5a['getSheets']()[_0x35f0c3(0x31c)],_0x2711ce=_0x54f2e8['mergeWorksheetSnapshotWithDefault']({'rowCount':Math[_0x35f0c3(0x3fc)](_0x54f2e8[_0x35f0c3(0x36c)],_0x1ea9d0+0xa),'columnCount':Math[_0x35f0c3(0x3fc)](_0x54f2e8[_0x35f0c3(0x239)],_0x45c437+0x5)}),_0x1bb496=_0x2313e6[_0x35f0c3(0x12a)](_0x54f2e8['LocaleService']);_0x2711ce['id']=_0x54f2e8['generateRandomId'](),_0x2711ce[_0x35f0c3(0x405)]=_0x5ecd5a[_0x35f0c3(0x2a8)](''+_0x1bb496['t'](_0x35f0c3(0x224)));const _0xdad53={'index':_0x174f02,'sheet':_0x2711ce,'unitId':_0x4e5b94},_0x4b7e94=_0x3ff8f7['InsertSheetUndoMutationFactory'](_0x2313e6,_0xdad53);_0x833d88[_0x35f0c3(0x423)]({'id':_0x3ff8f7['InsertSheetMutation']['id'],'params':_0xdad53}),_0x11207b[_0x35f0c3(0x423)]({'id':_0x3ff8f7[_0x35f0c3(0x2ec)]['id'],'params':_0x4b7e94}),_0x833d88['push']({'id':_0x3ff8f7[_0x35f0c3(0x1ac)]['id'],'params':{'unitId':_0x4e5b94,'subUnitId':_0x2711ce['id'],'cellValue':_0x552541}}),_0x11207b[_0x35f0c3(0x3db)]({'id':_0x3ff8f7['SetRangeValuesMutation']['id'],'params':{'unitId':_0x4e5b94,'subUnitId':_0x2711ce['id'],'cellValue':_0xd73358}});const _0x13b633={'startRow':0x0,'startColumn':0x0,'endRow':_0x51119a-0x1,'endColumn':_0x441541};_0x833d88['push']({'id':_0x372606[_0x35f0c3(0x3bf)]['id'],'params':{'unitId':_0x4e5b94,'subUnitId':_0x2711ce['id'],'range':_0x13b633}}),_0x11207b['unshift']({'id':_0x372606[_0x35f0c3(0x141)]['id'],'params':{'unitId':_0x4e5b94,'subUnitId':_0x2711ce['id']}});const _0x3e35a4=_0x2313e6[_0x35f0c3(0x12a)](_0x54f2e8[_0x35f0c3(0x41e)]);return _0x54f2e8['sequenceExecute'](_0x833d88,_0x3e35a4)&&_0x2313e6[_0x35f0c3(0x12a)](_0x54f2e8[_0x35f0c3(0x319)])['pushUndoRedo']({'unitID':_0x4e5b94,'undoMutations':_0x11207b,'redoMutations':_0x833d88}),!0x0;}},_0x3f5cd2={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x137)],'id':_0x2d8507(0x1c1),async 'handler'(_0x209d2f,_0x4de448){const _0x3d1e3e=_0x2d8507;if(!_0x4de448)return!0x1;const _0x40d9bd=_0x209d2f[_0x3d1e3e(0x12a)](_0x54f2e8[_0x3d1e3e(0x41e)]),_0x54dd61=_0x209d2f[_0x3d1e3e(0x12a)](_0x5d1b85['SheetsPivotRPCService']),_0x4dc45e=_0x209d2f[_0x3d1e3e(0x12a)](_0x54f2e8[_0x3d1e3e(0x319)]),{pivotTableId:_0x573bd6,fieldIds:_0x409f0f,unitId:_0xf197a0,subUnitId:_0x133ae1}=_0x4de448,_0x766397=(await _0x54dd61[_0x3d1e3e(0x3e9)]({'unitId':_0xf197a0,'subUnitId':_0x133ae1,'pivotTableId':_0x573bd6,'params':{'type':_0x5642d1[_0x3d1e3e(0x386)],'removePivotField':{'fieldIds':_0x409f0f}}}))[_0x3d1e3e(0x373)][_0x3d1e3e(0x31b)];if(!_0x766397)return!0x1;const {view:_0x4e481a,changesets:_0xe38b89,isEmpty:_0x1d96c4,pivotTableConfig:_0xd56433}=_0x766397,_0x2c0527=_0xd56433[_0x3d1e3e(0x1d3)],_0x5baad3=new _0x2a5883[(_0x3d1e3e(0x3fa))]();_0x5baad3['formJSON'](_0x4e481a);const _0x954378={'cellInfo':_0x2c0527,'view':_0x5baad3,'isEmpty':_0x1d96c4};if(!await _0x209d2f['get'](_0x5d1b85['SheetsPivotTableService'])[_0x3d1e3e(0x3ab)][_0x3d1e3e(0x3ad)](_0x2dbc74)(!0x0,_0x954378))return!0x1;const _0x5c7d36=_0x4a2750(_0x209d2f,_0x5baad3,_0x2c0527,_0x1d96c4),_0x2484fd=_0x315b28(_0x209d2f,_0x954378),{redos:_0x30b7b4,undos:_0xdc0ae3}=_0x120b02(_0x40d9bd,{'pivotTableId':_0x573bd6,'unitId':_0xf197a0,'subUnitId':_0x133ae1},_0xe38b89);return _0x54f2e8[_0x3d1e3e(0x2fa)]([..._0x5c7d36['redos'],..._0x2484fd[_0x3d1e3e(0x1e0)],..._0x30b7b4],_0x40d9bd),_0x4dc45e['pushUndoRedo']({'unitID':_0xf197a0,'redoMutations':[..._0x5c7d36[_0x3d1e3e(0x1e0)],..._0x2484fd[_0x3d1e3e(0x1e0)],..._0x30b7b4],'undoMutations':[..._0x5c7d36[_0x3d1e3e(0x33d)],..._0x2484fd[_0x3d1e3e(0x33d)],..._0xdc0ae3]}),!0x0;}},_0x21a4e4={'type':_0x54f2e8[_0x2d8507(0x1f1)]['COMMAND'],'id':_0x2d8507(0x271),async 'handler'(_0x10e75b,_0x23ebd5){const _0xebd66d=_0x2d8507;if(!_0x23ebd5)return!0x1;const _0x12b993=_0x10e75b[_0xebd66d(0x12a)](_0x54f2e8[_0xebd66d(0x41e)]),_0x49272c=_0x10e75b[_0xebd66d(0x12a)](_0x54f2e8[_0xebd66d(0x319)]),_0xe80f68=_0x10e75b[_0xebd66d(0x12a)](_0x5d1b85[_0xebd66d(0x248)]),{resetArea:_0x357043,pivotTableId:_0x5f19c8,unitId:_0x150dd5,subUnitId:_0x393bb8}=_0x23ebd5,_0x8a524c=(await _0xe80f68[_0xebd66d(0x3e9)]({'unitId':_0x150dd5,'subUnitId':_0x393bb8,'pivotTableId':_0x5f19c8,'params':{'type':_0x5642d1[_0xebd66d(0x3f8)],'resetPivotTable':{'pivotTableId':_0x5f19c8,'resetArea':_0x357043}}}))['result']['resetPivotTable'];if(!_0x8a524c)return!0x1;const {changesets:_0x499c9a}=_0x8a524c,{redos:_0x50a54a,undos:_0x5bbb3c}=_0x120b02(_0x12b993,{'pivotTableId':_0x5f19c8,'unitId':_0x150dd5,'subUnitId':_0x393bb8},_0x499c9a);return _0x54f2e8[_0xebd66d(0x2fa)](_0x50a54a,_0x12b993),_0x49272c['pushUndoRedo']({'unitID':_0x150dd5,'redoMutations':_0x50a54a,'undoMutations':_0x5bbb3c}),!0x0;}},_0x26d75b={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x137)],'id':_0x2d8507(0x333),async 'handler'(_0x4dee35,_0x5ccfa6){const _0x133551=_0x2d8507,_0x4ab3a0=_0x4dee35[_0x133551(0x12a)](_0x54f2e8[_0x133551(0x41e)]),_0x1991bf=_0x4dee35[_0x133551(0x12a)](_0x5d1b85[_0x133551(0x248)]),_0x200105=_0x4dee35[_0x133551(0x12a)](_0x5d1b85[_0x133551(0x30e)]),_0x3b5aef=_0x4dee35[_0x133551(0x12a)](_0x54f2e8[_0x133551(0x2a2)]),_0x1ff94b=_0x4dee35[_0x133551(0x12a)](_0x54f2e8[_0x133551(0x2a5)]),_0x4b4ef=_0x4dee35[_0x133551(0x12a)](_0x54f2e8[_0x133551(0x319)]);if(!_0x5ccfa6)return!0x1;const {unitId:_0x491041,subUnitId:_0x35eded,row:_0xdf602,col:_0x5c5340,collapse:_0x265540}=_0x5ccfa6,_0x3a38d3=_0x3b5aef[_0x133551(0x3ca)](_0x491041);if(!_0x3a38d3||!_0x3a38d3['getSheetBySheetId'](_0x35eded))return!0x1;const _0x264319=_0x200105[_0x133551(0x307)](_0x491041,_0x35eded,_0xdf602,_0x5c5340);if(!_0x264319)return!0x1;const _0x5204e7=_0x200105[_0x133551(0x1f6)](_0x491041,_0x35eded,_0x264319);if(!_0x5204e7)return!0x1;const _0x10618a=_0x54f2e8[_0x133551(0x2bb)](_0xdf602,_0x5c5340),{rangesInfo:_0x208d9f,areaInfo:_0x2e2e80,headerMap:_0xdf9de9}=_0x5204e7;if(!_0x208d9f||!_0x2e2e80||!_0xdf9de9)return!0x1;const _0x2f2235=Object[_0x133551(0x1db)](_0x208d9f)[_0x133551(0x396)](_0x361a3c=>_0x208d9f[_0x361a3c][_0x133551(0x128)](_0x5ab05a=>_0x54f2e8[_0x133551(0x24e)][_0x133551(0x15f)](_0x5ab05a,_0x10618a)));let _0xd442b5;_0x2f2235===_0x133551(0x1b1)?_0xd442b5=_0xdf9de9['rowHeaderMap'][_0x5c5340]:_0x2f2235===_0x133551(0x364)&&(_0xd442b5=_0xdf9de9[_0x133551(0x264)][_0xdf602]);const _0x4b01ef=_0xd442b5==null?void 0x0:_0xd442b5[_0x133551(0x34a)],_0x36be32=_0x200105[_0x133551(0x19e)](_0x491041,_0x35eded,_0xdf602,_0x5c5340);let _0x4a2bff=_0x36be32==null?void 0x0:_0x36be32['v'];if(_0x4a2bff===_0x1ff94b['t'](_0x133551(0x33a))&&(_0x4a2bff=_0x2a5883['GlobalConfig'][_0x133551(0x28b)]),_0x4a2bff==null||!_0x264319||!_0x4b01ef)return!0x1;const _0x2616e0=await _0x1991bf[_0x133551(0x3e9)]({'unitId':_0x491041,'subUnitId':_0x35eded,'pivotTableId':_0x264319,'params':{'type':_0x5642d1[_0x133551(0x2db)],'setPivotCollapse':{'tableFieldId':_0x4b01ef,'collapse':_0x265540,'item':_0x4a2bff}}}),_0x1dc77c=_0x2616e0==null?void 0x0:_0x2616e0[_0x133551(0x373)][_0x133551(0x35a)];if(!_0x1dc77c)return!0x1;const {view:_0x3187ff,pivotTableConfig:_0xd79068,isEmpty:_0x219b89,changesets:_0x36b810}=_0x1dc77c,_0x20956e=new _0x2a5883[(_0x133551(0x3fa))]();_0x20956e[_0x133551(0x1c2)](_0x3187ff);const _0x2e53df=_0xd79068[_0x133551(0x1d3)],_0x4ca7e0={'cellInfo':_0x2e53df,'view':_0x20956e,'isEmpty':_0x219b89};if(!await _0x4dee35['get'](_0x5d1b85[_0x133551(0x138)])[_0x133551(0x3ab)]['fetchThroughAsyncInterceptors'](_0x2dbc74)(!0x0,_0x4ca7e0))return!0x1;const _0x3e4861=_0x4a2750(_0x4dee35,_0x20956e,_0x2e53df,_0x219b89),_0x4b04a6=_0x315b28(_0x4dee35,_0x4ca7e0),{redos:_0x96028c,undos:_0x3e92a3}=_0x120b02(_0x4ab3a0,{'pivotTableId':_0x264319,'unitId':_0x491041,'subUnitId':_0x35eded},_0x36b810);return _0x54f2e8[_0x133551(0x2fa)]([..._0x3e4861['redos'],..._0x4b04a6[_0x133551(0x1e0)],..._0x96028c],_0x4ab3a0),_0x4b4ef[_0x133551(0x1f4)]({'unitID':_0x491041,'redoMutations':[..._0x3e4861[_0x133551(0x1e0)],..._0x4b04a6[_0x133551(0x1e0)],..._0x96028c],'undoMutations':[..._0x3e4861[_0x133551(0x33d)],..._0x4b04a6[_0x133551(0x33d)],..._0x3e92a3]}),!0x0;}},_0x51d160={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x137)],'id':_0x2d8507(0x238),async 'handler'(_0x489ea8,_0x56be9e){const _0x45e4aa=_0x2d8507;if(!_0x56be9e)return!0x1;const _0x39a229=_0x489ea8[_0x45e4aa(0x12a)](_0x54f2e8[_0x45e4aa(0x41e)]),_0x48b19c=_0x489ea8[_0x45e4aa(0x12a)](_0x54f2e8[_0x45e4aa(0x319)]),_0x16c0ec=_0x489ea8[_0x45e4aa(0x12a)](_0x5d1b85[_0x45e4aa(0x248)]),{pivotTableConfig:_0x46ab58,pivotTableId:_0x4e1b5a,unitId:_0x233f9b,subUnitId:_0x3518eb}=_0x56be9e,_0x1018cf=(await _0x16c0ec['getPivotDisplayConfig']({'unitId':_0x233f9b,'subUnitId':_0x3518eb,'pivotTableId':_0x4e1b5a,'params':{'type':_0x5642d1[_0x45e4aa(0x42d)],'setPivotTableConfig':{'pivotTableId':_0x4e1b5a,'pivotTableConfig':_0x46ab58}}}))[_0x45e4aa(0x373)][_0x45e4aa(0x389)];if(!_0x1018cf)return!0x1;const {changesets:_0xb0c0e7}=_0x1018cf,{redos:_0x52ebe5,undos:_0x3d6c29}=_0x120b02(_0x39a229,{'pivotTableId':_0x4e1b5a,'unitId':_0x233f9b,'subUnitId':_0x3518eb},_0xb0c0e7);return _0x54f2e8[_0x45e4aa(0x2fa)](_0x52ebe5,_0x39a229),_0x48b19c[_0x45e4aa(0x1f4)]({'unitID':_0x233f9b,'redoMutations':_0x52ebe5,'undoMutations':_0x3d6c29}),!0x0;}},_0x22eeeb={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x137)],'id':_0x2d8507(0x38e),async 'handler'(_0xeba11c,_0x26efc9){const _0x5c6978=_0x2d8507;if(!_0x26efc9)return!0x1;const _0x3ad90d=_0xeba11c[_0x5c6978(0x12a)](_0x54f2e8[_0x5c6978(0x41e)]),{pivotTableId:_0xf0c91d,tableFieldId:_0x793931,items:_0xac7767,unitId:_0x443f37,subUnitId:_0x337b39,isAll:_0xe7b120}=_0x26efc9,_0x13cc4e=_0xeba11c[_0x5c6978(0x12a)](_0x5d1b85['SheetsPivotRPCService']),_0x378d3b=_0xeba11c[_0x5c6978(0x12a)](_0x54f2e8[_0x5c6978(0x319)]),_0x2b62f8=(await _0x13cc4e[_0x5c6978(0x3e9)]({'unitId':_0x443f37,'subUnitId':_0x337b39,'pivotTableId':_0xf0c91d,'params':{'type':_0x5642d1[_0x5c6978(0x2e3)],'setPivotFilter':{'tableFieldId':_0x793931,'items':_0xac7767,'isAll':_0xe7b120}}}))['result'][_0x5c6978(0x34c)];if(!_0x2b62f8)return!0x1;const {changesets:_0xcbb702,pivotTableConfig:_0x3956ac,isEmpty:_0x125276,view:_0x476fdb}=_0x2b62f8,_0x2003a3=_0x3956ac['targetCellInfo'],_0x3d9237=new _0x2a5883[(_0x5c6978(0x3fa))]();_0x3d9237[_0x5c6978(0x1c2)](_0x476fdb);const _0xc508f3={'cellInfo':_0x2003a3,'view':_0x3d9237,'isEmpty':_0x125276};if(!await _0xeba11c[_0x5c6978(0x12a)](_0x5d1b85[_0x5c6978(0x138)])[_0x5c6978(0x3ab)]['fetchThroughAsyncInterceptors'](_0x2dbc74)(!0x0,_0xc508f3))return!0x1;const _0x4bdc44=_0x4a2750(_0xeba11c,_0x3d9237,_0x2003a3,_0x125276),_0x5298b4=_0x315b28(_0xeba11c,_0xc508f3),{undos:_0x362459,redos:_0x2fe214}=_0x120b02(_0x3ad90d,{'pivotTableId':_0xf0c91d,'unitId':_0x443f37,'subUnitId':_0x337b39},_0xcbb702);return _0x54f2e8[_0x5c6978(0x2fa)]([..._0x4bdc44[_0x5c6978(0x1e0)],..._0x5298b4[_0x5c6978(0x1e0)],..._0x2fe214],_0x3ad90d),_0x378d3b['pushUndoRedo']({'unitID':_0x443f37,'redoMutations':[..._0x4bdc44[_0x5c6978(0x1e0)],..._0x5298b4[_0x5c6978(0x1e0)],..._0x2fe214],'undoMutations':[..._0x4bdc44[_0x5c6978(0x33d)],..._0x5298b4[_0x5c6978(0x33d)],..._0x362459]}),!0x0;}},_0x5eafd3={'type':_0x54f2e8['CommandType'][_0x2d8507(0x137)],'id':_0x2d8507(0x368),async 'handler'(_0x13c573,_0x3e23cb){const _0x44b6fd=_0x2d8507;if(!_0x3e23cb)return!0x1;const _0x2e2898=_0x13c573['get'](_0x54f2e8[_0x44b6fd(0x41e)]),_0x215f66=_0x13c573[_0x44b6fd(0x12a)](_0x54f2e8['IUndoRedoService']),_0x46602c=_0x13c573[_0x44b6fd(0x12a)](_0x5d1b85['SheetsPivotRPCService']),{info:_0x1a2ae2,tableFieldId:_0x4f6c8d,pivotTableId:_0xdda83b,unitId:_0x317673,subUnitId:_0x5a1c65}=_0x3e23cb,_0x4894c9=(await _0x46602c[_0x44b6fd(0x3e9)]({'unitId':_0x317673,'subUnitId':_0x5a1c65,'pivotTableId':_0xdda83b,'params':{'type':_0x5642d1['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x4f6c8d,'info':_0x1a2ae2}}}))[_0x44b6fd(0x373)][_0x44b6fd(0x25b)];if(!_0x4894c9)return!0x1;const {changesets:_0x926d4d}=_0x4894c9,{redos:_0x283449,undos:_0x262553}=_0x120b02(_0x2e2898,{'pivotTableId':_0xdda83b,'unitId':_0x317673,'subUnitId':_0x5a1c65},_0x926d4d);return _0x54f2e8[_0x44b6fd(0x2fa)](_0x283449,_0x2e2898),_0x215f66[_0x44b6fd(0x1f4)]({'unitID':_0x317673,'redoMutations':_0x283449,'undoMutations':_0x262553}),!0x0;}},_0x4a90a9={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x137)],'id':_0x2d8507(0x1ce),async 'handler'(_0x285ed4,_0x367269){const _0x2917bd=_0x2d8507;if(!_0x367269)return!0x1;const _0x870829=_0x285ed4[_0x2917bd(0x12a)](_0x54f2e8['ICommandService']),{pivotTableId:_0x8033a9,fieldId:_0x391a65,valueFilterInfo:_0x43ef90,unitId:_0x50394b,subUnitId:_0x19e9ac}=_0x367269,_0x229950=_0x285ed4[_0x2917bd(0x12a)](_0x5d1b85[_0x2917bd(0x248)]),_0x4b2271=_0x285ed4[_0x2917bd(0x12a)](_0x54f2e8[_0x2917bd(0x319)]),_0x4ab784=(await _0x229950[_0x2917bd(0x3e9)]({'unitId':_0x50394b,'subUnitId':_0x19e9ac,'pivotTableId':_0x8033a9,'params':{'type':_0x5642d1[_0x2917bd(0x430)],'setValuePivotFilter':{'tableFieldId':_0x391a65,'filterInfo':_0x43ef90}}}))[_0x2917bd(0x373)]['setValuePivotFilter'];if(!_0x4ab784)return!0x1;const {changesets:_0x2ccb92,pivotTableConfig:_0x491112,isEmpty:_0x2221e5,view:_0xe97def}=_0x4ab784,_0x3237cd=_0x491112[_0x2917bd(0x1d3)],_0x12ca85=new _0x2a5883[(_0x2917bd(0x3fa))]();_0x12ca85[_0x2917bd(0x1c2)](_0xe97def);const _0x4fbeae={'cellInfo':_0x3237cd,'view':_0x12ca85,'isEmpty':_0x2221e5};if(!await _0x285ed4['get'](_0x5d1b85[_0x2917bd(0x138)])['asyncInterceptor'][_0x2917bd(0x3ad)](_0x2dbc74)(!0x0,_0x4fbeae))return!0x1;const _0xccd075=_0x4a2750(_0x285ed4,_0x12ca85,_0x3237cd,_0x2221e5),_0x1f9c99=_0x315b28(_0x285ed4,_0x4fbeae),{undos:_0x5680c7,redos:_0x133153}=_0x120b02(_0x870829,{'pivotTableId':_0x8033a9,'unitId':_0x50394b,'subUnitId':_0x19e9ac},_0x2ccb92);return _0x54f2e8[_0x2917bd(0x2fa)]([..._0xccd075[_0x2917bd(0x1e0)],..._0x1f9c99[_0x2917bd(0x1e0)],..._0x133153],_0x870829),_0x4b2271[_0x2917bd(0x1f4)]({'unitID':_0x50394b,'redoMutations':[..._0xccd075['redos'],..._0x1f9c99[_0x2917bd(0x1e0)],..._0x133153],'undoMutations':[..._0xccd075['undos'],..._0x1f9c99[_0x2917bd(0x33d)],..._0x5680c7]}),!0x0;}},_0x4bcade={'id':_0x2d8507(0x347),'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x1b3)],'handler':(_0x38b918,_0x2a229b)=>{const _0x57d0cd=_0x2d8507;if(!_0x2a229b)return!0x1;if(!!_0x38b918[_0x57d0cd(0x12a)](_0x54f2e8[_0x57d0cd(0x2cd)])['getConfig'](_0x5c38dc))return!0x0;const {unitId:_0x5166a1,subUnitId:_0x1c5695,pivotTableId:_0x45c5e8,tableFieldId:_0x27a46f,dateType:_0x272dd3}=_0x2a229b,_0x7c8200=_0x38b918[_0x57d0cd(0x12a)](_0x5d1b85[_0x57d0cd(0x1e7)]),_0x42738a=_0x7c8200[_0x57d0cd(0x32f)](_0x45c5e8);if(!_0x42738a)return!0x1;const _0x3e82b0=_0x42738a[_0x57d0cd(0x17e)](_0x27a46f);if(!_0x3e82b0)return!0x1;const _0x53c177=_0x3e82b0[_0x57d0cd(0x1ee)](),_0x9162ab=_0x42738a[_0x57d0cd(0x306)](_0x53c177),_0x4d5c09=(_0x9162ab==null?void 0x0:_0x9162ab[_0x57d0cd(0x1b6)]())+'\x20'+_0x5b0287(_0x38b918,_0x272dd3);_0x7c8200[_0x57d0cd(0x39a)](_0x5166a1,_0x45c5e8)['setDisplayName'](_0x3e82b0['id'],_0x4d5c09);const _0x435981=_0x42738a[_0x57d0cd(0x3d1)](_0x27a46f);if(!_0x435981)return!0x1;_0x42738a[_0x57d0cd(0x3c3)](_0x435981[_0x57d0cd(0x226)](),_0x4d5c09),_0x3e82b0[_0x57d0cd(0x390)](_0x272dd3);const _0x6b6dfa=_0x7c8200[_0x57d0cd(0x2d6)](_0x5166a1,_0x1c5695,_0x45c5e8);return _0x7c8200[_0x57d0cd(0x25d)]({'unitId':_0x5166a1,'subUnitId':_0x1c5695,'token':_0x45c5e8,'type':_0x3278cc['Set'],'pivotConfig':_0x6b6dfa}),!0x0;}},_0x4f28ca={'id':_0x2d8507(0x142),'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x137)],'handler':(_0x3996fd,_0x2b14e2)=>{const _0xf1c3e0=_0x2d8507;if(!_0x2b14e2)return!0x1;const _0x486398=_0x3996fd[_0xf1c3e0(0x12a)](_0x54f2e8[_0xf1c3e0(0x319)]),{unitId:_0x3a8ea3,subUnitId:_0x2d340f,pivotTableId:_0x613cd,tableFieldId:_0x322e25}=_0x2b14e2,_0xf8ae2c=[],_0x4598b7=[],_0x363cf0=_0x3996fd[_0xf1c3e0(0x12a)](_0x5d1b85[_0xf1c3e0(0x147)]),_0x202d92=_0x363cf0[_0xf1c3e0(0x39a)](_0x3a8ea3,_0x613cd),_0x3764c4=_0x363cf0[_0xf1c3e0(0x2d6)](_0x3a8ea3,_0x2d340f,_0x613cd);if(!(_0x3764c4!=null&&_0x3764c4[_0xf1c3e0(0x33c)][_0xf1c3e0(0x1f0)]))return!0x1;const _0x3aeb51=Object['values'](_0x3764c4[_0xf1c3e0(0x33c)][_0xf1c3e0(0x1f0)])[_0xf1c3e0(0x396)](_0x559a4d=>_0x559a4d['id']===_0x322e25);if(!_0x3aeb51)return!0x1;const _0x587c55=_0x3aeb51[_0xf1c3e0(0x2f1)];if(!(_0x202d92!=null&&_0x202d92[_0xf1c3e0(0x42e)]))return!0x1;const _0x3e8e86=Object[_0xf1c3e0(0x29d)](_0x202d92==null?void 0x0:_0x202d92[_0xf1c3e0(0x42e)])[_0xf1c3e0(0x396)](_0x25bf18=>_0x25bf18['id']===_0x587c55);if(!_0x3e8e86)return!0x1;_0x2a5883[_0xf1c3e0(0x1ed)](_0x3e8e86)&&_0xf8ae2c[_0xf1c3e0(0x423)]({'id':_0x4bcade['id'],'params':{..._0x2b14e2,'dateType':_0x3e8e86[_0xf1c3e0(0x178)]}}),_0x4598b7[_0xf1c3e0(0x423)]({'id':_0x4bcade['id'],'params':{..._0x2b14e2}});const _0x3bc492=_0x3996fd[_0xf1c3e0(0x12a)](_0x54f2e8[_0xf1c3e0(0x41e)]);return _0x54f2e8[_0xf1c3e0(0x2fa)](_0x4598b7,_0x3bc492)&&_0x486398['pushUndoRedo']({'unitID':_0x3a8ea3,'undoMutations':_0xf8ae2c,'redoMutations':_0x4598b7}),!0x0;}},_0x10d830={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x137)],'id':_0x2d8507(0x3a2),async 'handler'(_0x230b9e,_0x25e62b){const _0x26bf39=_0x2d8507;if(!_0x25e62b)return!0x1;const _0x49fb90=_0x230b9e[_0x26bf39(0x12a)](_0x54f2e8[_0x26bf39(0x41e)]),_0x4bc8d0=_0x230b9e[_0x26bf39(0x12a)](_0x54f2e8[_0x26bf39(0x319)]),_0x59cd8b=_0x230b9e[_0x26bf39(0x12a)](_0x5d1b85['SheetsPivotRPCService']),{displayName:_0x423874,subtotalType:_0x532855,format:_0x149046,tableFieldId:_0x5e8cc0,pivotTableId:_0x2a73a4,unitId:_0x5748b5,subUnitId:_0x1c265f}=_0x25e62b,_0x4f3553=(await _0x59cd8b[_0x26bf39(0x3e9)]({'unitId':_0x5748b5,'subUnitId':_0x1c265f,'pivotTableId':_0x2a73a4,'params':{'type':_0x5642d1[_0x26bf39(0x1bf)],'setPivotSetting':{'tableFieldId':_0x5e8cc0,'displayName':_0x423874,'subtotalType':_0x532855,'format':_0x149046}}}))[_0x26bf39(0x373)][_0x26bf39(0x379)];if(!_0x4f3553)return!0x1;const {changesets:_0x4c233c,view:_0x438ac8,pivotTableConfig:_0x2557a2,isEmpty:_0x158ad6}=_0x4f3553,_0x4d945b=_0x2557a2['targetCellInfo'],_0x5be409=new _0x2a5883[(_0x26bf39(0x3fa))]();_0x5be409['formJSON'](_0x438ac8);const _0x4d1560={'cellInfo':_0x4d945b,'view':_0x5be409,'isEmpty':_0x158ad6};if(!await _0x230b9e[_0x26bf39(0x12a)](_0x5d1b85['SheetsPivotTableService'])[_0x26bf39(0x3ab)][_0x26bf39(0x3ad)](_0x2dbc74)(!0x0,_0x4d1560))return!0x1;const _0x39d9b5=_0x4a2750(_0x230b9e,_0x5be409,_0x4d945b,_0x158ad6),_0x55218e=_0x315b28(_0x230b9e,_0x4d1560),{undos:_0x127761,redos:_0x43be57}=_0x120b02(_0x49fb90,{'pivotTableId':_0x2a73a4,'unitId':_0x5748b5,'subUnitId':_0x1c265f},_0x4c233c);return _0x54f2e8['sequenceExecute']([..._0x39d9b5[_0x26bf39(0x1e0)],..._0x55218e[_0x26bf39(0x1e0)],..._0x43be57],_0x49fb90),_0x4bc8d0[_0x26bf39(0x1f4)]({'unitID':_0x5748b5,'redoMutations':[..._0x39d9b5[_0x26bf39(0x1e0)],..._0x55218e[_0x26bf39(0x1e0)],..._0x43be57],'undoMutations':[..._0x39d9b5['undos'],..._0x55218e['undos'],..._0x127761]}),!0x0;}},_0x21e7b7={'type':_0x54f2e8['CommandType'][_0x2d8507(0x1b3)],'id':_0x2d8507(0x35e),'handler'(_0xf2d664,_0x2618b6){const _0x24d1cc=_0x2d8507;if(!_0x2618b6)return!0x1;if(!!_0xf2d664[_0x24d1cc(0x12a)](_0x54f2e8[_0x24d1cc(0x2cd)])[_0x24d1cc(0x257)](_0x5c38dc))return!0x0;const _0x539bc9=_0xf2d664[_0x24d1cc(0x12a)](_0x5d1b85['SheetsPivotDataSourceModel']),{pivotTableId:_0x463e92,deleteIds:_0x2d65f9,collectionJSON:_0x313aa8,dataRangeInfo:_0x303e17,unitId:_0x59c9bf,subUnitId:_0x363362}=_0x2618b6,_0x36aa60=_0x539bc9[_0x24d1cc(0x32f)](_0x463e92),_0x3844a9=_0x539bc9['getPivotTableConfig'](_0x59c9bf,_0x363362,_0x463e92);if(!_0x36aa60||!_0x3844a9)return!0x1;const {collection:_0x55d4a3,updateDataFieldList:_0x8ce828}=_0x539bc9[_0x24d1cc(0x232)](_0x463e92,_0x313aa8,_0x303e17,_0x3844a9['targetCellInfo']);_0x539bc9['refreshData'](_0x55d4a3,_0x8ce828,_0x303e17),_0x36aa60[_0x24d1cc(0x410)](_0x55d4a3);for(const _0x1f8140 of _0x2d65f9)_0x539bc9[_0x24d1cc(0x383)](_0x303e17[_0x24d1cc(0x2ac)],_0x1f8140);const _0x5e9b7a=_0x539bc9[_0x24d1cc(0x2d6)](_0x59c9bf,_0x363362,_0x463e92);return _0x5e9b7a[_0x24d1cc(0x399)]=JSON[_0x24d1cc(0x38b)](JSON[_0x24d1cc(0x181)](_0x303e17)),_0x539bc9[_0x24d1cc(0x25d)]({'unitId':_0x59c9bf,'subUnitId':_0x363362,'token':_0x463e92,'type':_0x3278cc[_0x24d1cc(0x340)]}),!0x0;}},_0x1aa2e0={'type':_0x54f2e8[_0x2d8507(0x1f1)]['COMMAND'],'id':_0x2d8507(0x17d),async 'handler'(_0x5e1ec9,_0x4f0bb9){const _0x249e69=_0x2d8507,_0x97a9fc=_0x5e1ec9[_0x249e69(0x12a)](_0x54f2e8[_0x249e69(0x41e)]),_0x59d1aa=_0x5e1ec9['get'](_0x5d1b85['SheetsPivotRPCService']),_0x3e5375=_0x5e1ec9['get'](_0x54f2e8[_0x249e69(0x319)]);if(!_0x4f0bb9)return!0x1;const {token:_0x4fef5b,dataRangeInfo:_0x5e11d8,unitId:_0x56dd39,subUnitId:_0xa3b451}=_0x4f0bb9,_0x3cffcc=[],_0x4d9cb5=[],_0x45e046=(await _0x59d1aa[_0x249e69(0x3e9)]({'unitId':_0x56dd39,'subUnitId':_0xa3b451,'pivotTableId':_0x4fef5b,'params':{'type':_0x5642d1[_0x249e69(0x3e6)],'updatePivotSource':{'dataRangeInfo':_0x5e11d8,'unitId':_0x56dd39,'subUnitId':_0xa3b451}}}))[_0x249e69(0x373)][_0x249e69(0x129)];if(!_0x45e046)return!0x1;const {changesets:_0x2fc3da,deleteIds:_0x3458c1,collectionConfig:_0x310aeb,oldCollectionConfig:_0x3a60eb,view:_0x37da0e,isEmpty:_0x5739f6,pivotTableConfig:_0xa1a175}=_0x45e046;_0x4d9cb5[_0x249e69(0x423)]({'id':_0x21e7b7['id'],'params':{'pivotTableId':_0x4fef5b,'deleteIds':_0x3458c1,'collectionJSON':_0x310aeb,'dataRangeInfo':_0x5e11d8,'unitId':_0x56dd39,'subUnitId':_0xa3b451}}),_0x3cffcc[_0x249e69(0x3db)]({'id':_0x21e7b7['id'],'params':{'pivotTableId':_0x4fef5b,'deleteIds':[],'collectionJSON':_0x3a60eb,'dataRangeInfo':_0xa1a175[_0x249e69(0x399)],'unitId':_0x56dd39,'subUnitId':_0xa3b451}});const _0x39456d=_0xa1a175[_0x249e69(0x1d3)],_0x59faba=new _0x2a5883[(_0x249e69(0x3fa))]();_0x59faba[_0x249e69(0x1c2)](_0x37da0e);const _0x3d6645={'cellInfo':_0x39456d,'view':_0x59faba,'isEmpty':_0x5739f6};if(!await _0x5e1ec9[_0x249e69(0x12a)](_0x5d1b85[_0x249e69(0x138)])[_0x249e69(0x3ab)][_0x249e69(0x3ad)](_0x2dbc74)(!0x0,_0x3d6645))return!0x1;const _0x4bfdb2=_0x4a2750(_0x5e1ec9,_0x59faba,_0x39456d,_0x5739f6),_0xdcf1bb=_0x315b28(_0x5e1ec9,_0x3d6645),{undos:_0x516a53,redos:_0x522e4c}=_0x120b02(_0x97a9fc,{'pivotTableId':_0x4fef5b,'unitId':_0x56dd39,'subUnitId':_0xa3b451},_0x2fc3da);return _0x54f2e8[_0x249e69(0x2fa)]([..._0x4bfdb2[_0x249e69(0x1e0)],..._0xdcf1bb['redos'],..._0x4d9cb5,..._0x516a53],_0x97a9fc),_0x3e5375['pushUndoRedo']({'unitID':_0x56dd39,'redoMutations':[..._0x4bfdb2['redos'],..._0xdcf1bb[_0x249e69(0x1e0)],..._0x4d9cb5,..._0x516a53],'undoMutations':[..._0x4bfdb2[_0x249e69(0x33d)],..._0xdcf1bb[_0x249e69(0x33d)],..._0x3cffcc,..._0x522e4c]}),!0x0;}},_0x1a20aa={'type':_0x54f2e8[_0x2d8507(0x1f1)][_0x2d8507(0x137)],'id':_0x2d8507(0x408),async 'handler'(_0x38d283,_0x50a2be){const _0x108008=_0x2d8507;if(!_0x50a2be)return!0x1;const _0x5a83b5=_0x38d283[_0x108008(0x12a)](_0x54f2e8[_0x108008(0x41e)]),_0x45fa9e=_0x38d283[_0x108008(0x12a)](_0x5d1b85[_0x108008(0x248)]),_0x1473ff=_0x38d283[_0x108008(0x12a)](_0x54f2e8[_0x108008(0x2a2)]),_0x2af7b6=_0x38d283[_0x108008(0x12a)](_0x54f2e8[_0x108008(0x319)]),{pivotTableId:_0x1c4439,position:_0x15e685,index:_0x5cdb82}=_0x50a2be,_0x2b183a=_0x3ff8f7[_0x108008(0x3fb)](_0x1473ff);if(!_0x2b183a)return!0x1;const {unitId:_0x509118,subUnitId:_0x194b21}=_0x2b183a,_0x2961c2=(await _0x45fa9e[_0x108008(0x3e9)]({'unitId':_0x509118,'subUnitId':_0x194b21,'pivotTableId':_0x1c4439,'params':{'type':_0x5642d1[_0x108008(0x3be)],'updateValuePosition':{'position':_0x15e685,'index':_0x5cdb82}}}))[_0x108008(0x373)][_0x108008(0x382)];if(!_0x2961c2)return!0x1;const {changesets:_0x1c3879,view:_0x167264,isEmpty:_0x54dee7,pivotTableConfig:_0x1b97c9}=_0x2961c2,_0x1b0ce7=_0x1b97c9[_0x108008(0x1d3)],_0x54a293=new _0x2a5883[(_0x108008(0x3fa))]();_0x54a293['formJSON'](_0x167264);const _0x5c6fee=_0x38d283[_0x108008(0x12a)](_0x5d1b85['SheetsPivotTableService']),_0x50f700={'cellInfo':_0x1b0ce7,'view':_0x54a293,'isEmpty':_0x54dee7};if(!await _0x5c6fee[_0x108008(0x3ab)][_0x108008(0x3ad)](_0x2dbc74)(!0x0,_0x50f700))return!0x1;const _0x261969=_0x4a2750(_0x38d283,_0x54a293,_0x1b0ce7,_0x54dee7),_0x13aab7=_0x315b28(_0x38d283,_0x50f700),{undos:_0x3b4037,redos:_0x551b0e}=_0x120b02(_0x5a83b5,{'pivotTableId':_0x1c4439,'unitId':_0x509118,'subUnitId':_0x194b21},_0x1c3879);return _0x54f2e8['sequenceExecute']([..._0x261969[_0x108008(0x1e0)],..._0x13aab7[_0x108008(0x1e0)],..._0x551b0e],_0x5a83b5),_0x2af7b6[_0x108008(0x1f4)]({'unitID':_0x509118,'redoMutations':[..._0x261969['redos'],..._0x13aab7[_0x108008(0x1e0)],..._0x551b0e],'undoMutations':[..._0x261969[_0x108008(0x33d)],..._0x13aab7[_0x108008(0x33d)],..._0x3b4037]}),!0x0;}},_0xb7225b={'type':_0x54f2e8[_0x2d8507(0x1f1)]['MUTATION'],'id':_0x2d8507(0x3a8),'handler'(){return!0x0;}};var _0x2c8e0a=Object[_0x2d8507(0x165)],_0x377482=(_0x48661e,_0x4aeaf3,_0x2e7ec0,_0x43f773)=>{for(var _0x18e2fd=_0x43f773>0x1?void 0x0:_0x43f773?_0x2c8e0a(_0x4aeaf3,_0x2e7ec0):_0x4aeaf3,_0x58d7fb=_0x48661e['length']-0x1,_0xa9234c;_0x58d7fb>=0x0;_0x58d7fb--)(_0xa9234c=_0x48661e[_0x58d7fb])&&(_0x18e2fd=_0xa9234c(_0x18e2fd)||_0x18e2fd);return _0x18e2fd;},_0x543346=(_0x242574,_0x1e9e90)=>(_0x110503,_0x579553)=>_0x1e9e90(_0x110503,_0x579553,_0x242574);const _0x1dbd8d=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x5e6ce2=(_0x1bbcea,_0x526355,_0x209594)=>{const _0x1758a0=_0x2d8507,_0x42737a=_0x1bbcea[_0x1758a0(0x2af)];_0x1bbcea['iterateFieldDim'](_0x1ba322=>{const _0x1a22f9=_0x1758a0,_0x5342c1=_0x1ba322[_0x1a22f9(0x226)](),_0x159e69=_0x1ba322[_0x1a22f9(0x3cb)](),_0x3d7d15=_0x1ba322['getSourceName'](),_0x179a01=_0x1ba322[_0x1a22f9(0x393)]();_0x526355[_0x159e69]&&_0x526355[_0x159e69]===_0x179a01&&_0x3d7d15===_0x179a01&&(_0x1bbcea[_0x1a22f9(0x3c3)](_0x5342c1,_0x42737a['getDisplayName'](_0x159e69)),_0x1ba322[_0x1a22f9(0x3f6)](_0x42737a['getDisplayName'](_0x159e69)));}),_0x1bbcea[_0x1758a0(0x2d5)](_0x2a5883[_0x1758a0(0x18a)][_0x1758a0(0x2f7)],_0x2def29=>{const _0x3a5ca2=_0x1758a0,_0x46ff46=_0x2def29[_0x3a5ca2(0x226)](),_0x4b19ed=_0x2def29[_0x3a5ca2(0x3cb)](),_0x25995a=_0x2def29[_0x3a5ca2(0x2c8)](),_0x1fb6f=_0x2def29[_0x3a5ca2(0x393)](),_0x49886f=_0x2def29[_0x3a5ca2(0x2e5)](),_0x210f38=_0x209594(_0x25995a,_0x49886f);_0x526355[_0x4b19ed]&&_0x526355[_0x4b19ed]===_0x25995a&&_0x210f38===_0x1fb6f&&(_0x1bbcea['renameField'](_0x46ff46,_0x209594(_0x42737a['getDisplayName'](_0x4b19ed),_0x49886f)),_0x2def29['setSourceName'](_0x42737a['getDisplayName'](_0x4b19ed)));});},_0x53a226=(_0x3ff9e9,_0x3535ce,_0x179725)=>{const _0x1492d6=_0x2d8507;var _0x23348e,_0x287c91;const {arrayFormulaCellData:_0x43aac1,unitData:_0x3cc97d}=_0x3535ce,{unitId:_0x5849eb,subUnitId:_0x4de6c0}=_0x179725,_0x253207=_0x179725[_0x1492d6(0x36f)],{startColumn:_0x107be7,endColumn:_0x350840}=_0x253207,_0x1101b1=(_0x23348e=_0x43aac1==null?void 0x0:_0x43aac1[_0x5849eb])==null?void 0x0:_0x23348e[_0x4de6c0],_0x57358d=(_0x287c91=_0x3cc97d==null?void 0x0:_0x3cc97d[_0x5849eb])==null?void 0x0:_0x287c91[_0x4de6c0],_0x1cda46=new Set(),_0xcd3151=_0x350840-_0x107be7+0x1,{dirtyRanges:_0x555def}=_0x3ff9e9;if(_0x555def)for(const {range:_0x3f4a0f,sheetId:_0x55293c,unitId:_0x2d6e6a}of _0x555def){if(_0x55293c!==_0x4de6c0||_0x5849eb!==_0x2d6e6a)continue;const _0x88802e=_0x54f2e8[_0x1492d6(0x24e)]['getIntersects'](_0x3f4a0f,_0x253207);if(_0x88802e){const {startColumn:_0x228c7b,endColumn:_0x3cde7e}=_0x88802e;for(let _0x274f1d=_0x228c7b;_0x274f1d<=_0x3cde7e;_0x274f1d++)_0x1cda46[_0x1492d6(0x1fe)](_0x274f1d);}}if(_0x1cda46[_0x1492d6(0x260)]===_0xcd3151||_0x1cda46[_0x1492d6(0x260)]===_0xcd3151)return Array['from'](_0x1cda46);if(_0x57358d){const _0x29103c=_0x57358d[_0x1492d6(0x1fa)](),_0x12486e=Object[_0x1492d6(0x1db)](_0x29103c);for(const _0x5ae99f of _0x12486e){const _0x1bee88=Number(_0x5ae99f),_0x282ee3=_0x29103c[_0x1bee88];if(_0x1cda46[_0x1492d6(0x260)]===_0xcd3151)break;for(const _0x174790 in _0x282ee3){const _0x55ea29=Number(_0x174790);_0x55ea29<_0x107be7||_0x55ea29>_0x350840||_0x1cda46[_0x1492d6(0x1fe)](_0x55ea29);}}}if(_0x1101b1){const _0x433349=_0x1101b1[_0x1492d6(0x1fa)](),_0x3fe438=Object[_0x1492d6(0x1db)](_0x433349);for(const _0x35e164 of _0x3fe438){const _0xf371b2=Number(_0x35e164),_0x3bdbec=_0x433349[_0xf371b2];if(_0x1cda46['size']===_0xcd3151)break;for(const _0x442c51 in _0x3bdbec){const _0x384edf=Number(_0x442c51);_0x384edf<_0x107be7||_0x384edf>_0x350840||_0x1cda46['add'](_0x384edf);}}}return Array['from'](_0x1cda46);},_0x50591c=_0x4724b1=>{const _0x4943d0=_0x2d8507,_0x55330f=new Set(),_0x493ff1=[];for(const _0x59089a of _0x4724b1){const _0x3996a9=_0x59089a[_0x4943d0(0x3cc)]+','+_0x59089a[_0x4943d0(0x400)]+','+_0x59089a[_0x4943d0(0x139)]+','+_0x59089a[_0x4943d0(0x14f)];_0x55330f[_0x4943d0(0x2fd)](_0x3996a9)||(_0x55330f[_0x4943d0(0x1fe)](_0x3996a9),_0x493ff1[_0x4943d0(0x423)](_0x59089a));}return _0x493ff1;};let _0x34dc88=class extends _0x54f2e8[_0x2d8507(0x21a)]{constructor(_0x52346c,_0x343fb5,_0x223469,_0x4a6887,_0x9339d2){const _0x35daed=_0x2d8507;super(),_0x2ffda7(this,_0x35daed(0x2b0),new _0x309d6a['BehaviorSubject'](!0x0)),_0x2ffda7(this,'_globalComputedStartHelpFunc',_0x1e8ab6=>{const _0x38a8b0=_0x35daed;this[_0x38a8b0(0x2b0)][_0x38a8b0(0x22a)](!0x1);}),_0x2ffda7(this,_0x35daed(0x1c3),_0x47c215=>{const _0x4d67cb=_0x35daed;this[_0x4d67cb(0x2b0)]['next'](!0x0);}),(this[_0x35daed(0x3bc)]=_0x52346c,this[_0x35daed(0x176)]=_0x343fb5,this['_commandService']=_0x223469,this[_0x35daed(0x171)]=_0x4a6887,this[_0x35daed(0x407)]=_0x9339d2,this[_0x35daed(0x302)](),this[_0x35daed(0x2fc)]());}[_0x2d8507(0x302)](){const _0x23bcd1=_0x2d8507;this[_0x23bcd1(0x406)](),this[_0x23bcd1(0x21e)](),this[_0x23bcd1(0x299)](),this[_0x23bcd1(0x150)]();}[_0x2d8507(0x42c)](){const _0x17c858=_0x2d8507;this[_0x17c858(0x171)][_0x17c858(0x419)](this[_0x17c858(0x2b0)]),_0x2a5883[_0x17c858(0x429)]['registerCallbackWithEvent'](_0x2a5883['PivotCallbackEnum'][_0x17c858(0x229)],this[_0x17c858(0x1c9)]),_0x2a5883['PivotTable'][_0x17c858(0x241)](_0x2a5883[_0x17c858(0x1dc)][_0x17c858(0x332)],this['_globalComputedEndHelpFunc']);}[_0x2d8507(0x2fc)](){const _0x459a7d=_0x2d8507;this[_0x459a7d(0x434)](this['_commandService'][_0x459a7d(0x20b)](_0x1072c2=>{const _0x5af6e7=_0x459a7d;_0x1072c2['id']===_0x3ff8f7[_0x5af6e7(0x192)]['id']&&this[_0x5af6e7(0x3bc)][_0x5af6e7(0x2de)](_0x1072c2['params']);})),this[_0x459a7d(0x434)](this['_commandService'][_0x459a7d(0x20b)](_0x16a388=>{const _0x1c344b=_0x459a7d;if(_0x16a388['id']!==_0x72d3d7['id'])return;const _0x1e02f0=_0x16a388[_0x1c344b(0x3aa)],{unitId:_0x548b0d,subUnitId:_0x3b59d2,pivotTableId:_0xf2eede}=_0x1e02f0,_0x2e30e3=_0x1e02f0[_0x1c344b(0x3aa)]['type'],_0x4630cf={};switch(_0x2e30e3){case _0x5642d1['Filter']:{const _0x32eb98=_0x1e02f0['params'][_0x1c344b(0x179)];if(!_0x32eb98)return;const {row:_0xa23e7d,col:_0x22e2c2,cellData:_0x34f8ef,pivotItemRenderInfoCache:_0x31eb45,tableFieldId:_0x2dc094}=_0x32eb98,_0x3ed476=this[_0x1c344b(0x3bc)][_0x1c344b(0x32f)](_0x1e02f0[_0x1c344b(0x12f)]);if(!_0x3ed476||!_0x31eb45)return;if(_0x2dc094){const _0x1e6a97=_0x3ed476[_0x1c344b(0x17e)](_0x2dc094);if(!_0x1e6a97)return;_0x4630cf[_0x1c344b(0x179)]={..._0x3ed476[_0x1c344b(0x30f)](_0x1e6a97),'tableFieldId':_0x2dc094,'pivotTableId':_0x1e02f0[_0x1c344b(0x12f)],'filterInfo':_0x3ed476[_0x1c344b(0x1a1)](_0x2dc094),'sortInfo':_0x3ed476[_0x1c344b(0x323)](_0x2dc094),'format':_0x3ed476[_0x1c344b(0x414)](_0x2dc094)};}else{const _0x267065=_0x60e612(_0xa23e7d,_0x22e2c2,_0x34f8ef,_0x3ed476,_0x31eb45),_0x1d96d8=_0x267065==null?void 0x0:_0x267065[_0x1c344b(0x3ae)];if(!_0x1d96d8)return;const _0x3206e4=_0x3ed476[_0x1c344b(0x17e)](_0x1d96d8);if(!_0x3206e4)return;_0x4630cf['filter']={..._0x3ed476[_0x1c344b(0x30f)](_0x3206e4),'tableFieldId':_0x1d96d8,'pivotTableId':_0x1e02f0[_0x1c344b(0x12f)],'filterInfo':_0x3ed476[_0x1c344b(0x1a1)](_0x1d96d8),'sortInfo':_0x3ed476[_0x1c344b(0x323)](_0x1d96d8),'format':_0x3ed476['getFieldFormat'](_0x1d96d8)};}}break;case _0x5642d1[_0x1c344b(0x288)]:{const _0x2b8680=_0x1e02f0[_0x1c344b(0x3aa)][_0x1c344b(0x366)];if(!_0x2b8680)return;const {pivotTableId:_0x2caf0f}=_0x2b8680,_0x58d101=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x2caf0f);if(!_0x58d101)return;const _0x30f4b6=this[_0x1c344b(0x3bc)][_0x1c344b(0x2d6)](_0x548b0d,_0x3b59d2,_0x2caf0f),_0x65a2b0=_0x565772(_0x58d101,_0x2caf0f,_0x30f4b6);_0x4630cf[_0x1c344b(0x366)]=_0x65a2b0;}break;case _0x5642d1[_0x1c344b(0x209)]:{const _0x3e79ae=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0xf2eede),_0x2ffe46=this['_sheetsPivotDataSourceModel'][_0x1c344b(0x3f9)](_0x548b0d),_0x764095=_0x2ffe46[_0x1c344b(0x39a)](_0xf2eede);let _0x11b29a=null;const _0x3c7c03=this[_0x1c344b(0x3bc)][_0x1c344b(0x2d6)](_0x548b0d,_0x3b59d2,_0xf2eede),_0x1e75e8=_0x1e02f0['params']['addPivotField'];if(!_0x3e79ae||!_0x3c7c03||!_0x1e75e8)return!0x1;const {dataFieldId:_0x196722,fieldArea:_0x52c61d,index:_0x3d3428}=_0x1e75e8;_0x3e79ae[_0x1c344b(0x440)]();const _0xfc8d5c=_0x3e79ae[_0x1c344b(0x191)](_0x196722,_0x52c61d,_0x3d3428);if(_0xfc8d5c&&_0x52c61d===_0x2a5883['PivotTableFiledAreaEnum']['Value']){const _0x5f0648=_0xfc8d5c[_0x1c344b(0x226)](),_0x316c58=_0x3e79ae[_0x1c344b(0x17e)](_0x5f0648);if(_0x316c58){const _0x477827=_0x316c58==null?void 0x0:_0x316c58[_0x1c344b(0x42a)]();_0x3e79ae['setSubtotalType'](_0xfc8d5c[_0x1c344b(0x226)](),_0x477827===_0x2a5883['PivotDataFieldDataTypeEnum'][_0x1c344b(0x2e4)]?_0x2a5883[_0x1c344b(0x27b)][_0x1c344b(0x303)]:_0x2a5883[_0x1c344b(0x27b)]['count']);}const _0x3d9f09=_0x3e79ae['getValueIndex'](),_0x45a7e9=_0x3e79ae[_0x1c344b(0x267)](),_0xc26e97=_0x3e79ae[_0x1c344b(0x28c)](_0x2a5883[_0x1c344b(0x18a)][_0x1c344b(0x2f7)]);if(_0x3d9f09===-0x1&&_0xc26e97>0x1){const _0x25e636=_0x45a7e9===_0x2a5883[_0x1c344b(0x270)][_0x1c344b(0x293)]?_0x2a5883[_0x1c344b(0x270)][_0x1c344b(0x41d)]:_0x45a7e9,_0x2767bd=_0x25e636===_0x2a5883['PivotTableValuePositionEnum']['Row']?_0x2a5883[_0x1c344b(0x18a)][_0x1c344b(0x21b)]:_0x2a5883['PivotTableFiledAreaEnum'][_0x1c344b(0x41d)];_0x3e79ae[_0x1c344b(0x382)](_0x25e636,_0x3e79ae[_0x1c344b(0x28c)](_0x2767bd));}}else{if(_0xfc8d5c&&(_0x52c61d===_0x2a5883[_0x1c344b(0x18a)][_0x1c344b(0x21b)]||_0x52c61d===_0x2a5883['PivotTableFiledAreaEnum'][_0x1c344b(0x41d)])){const _0x11bfae=_0xfc8d5c[_0x1c344b(0x226)](),_0x2b8bc0=_0x3e79ae[_0x1c344b(0x17e)](_0x11bfae);if(_0x2b8bc0&&(_0x2b8bc0==null?void 0x0:_0x2b8bc0[_0x1c344b(0x42a)]())===_0x2a5883[_0x1c344b(0x17b)][_0x1c344b(0x16c)]){const _0x3ede4c=_0x2b8bc0[_0x1c344b(0x35f)]();if(_0x3ede4c&&_0x3e79ae[_0x1c344b(0x372)](_0xfc8d5c[_0x1c344b(0x226)](),_0x3ede4c),!_0x764095[_0x1c344b(0x277)]()[_0x1c344b(0x128)](_0x395bfa=>{const _0x259936=_0x1c344b,_0x2efd1a=_0x764095[_0x259936(0x3b3)](_0x395bfa);return _0x2a5883[_0x259936(0x177)](_0x2efd1a)?_0x2efd1a[_0x259936(0x196)]()['originalFieldId']===_0x196722:!0x1;})){const _0x14e721=_0x2ffe46[_0x1c344b(0x39b)](),_0x115d30=_0x298b71(_0x2b8bc0[_0x1c344b(0x411)],_0x2b8bc0[_0x1c344b(0x265)]),_0x1160f1=_0x2b8bc0[_0x1c344b(0x1b6)]()+_0x1c344b(0x351)+_0x5b0287(this[_0x1c344b(0x407)],_0x115d30),_0x1d8172=new _0x2a5883[(_0x1c344b(0x262))](_0x14e721,_0x1160f1,_0x2a5883['generateHexNumber'](0x3),_0x2b8bc0[_0x1c344b(0x226)](),_0x115d30);_0x2ffe46['addDataFieldWithoutUnitInfo'](_0x1d8172),_0x764095[_0x1c344b(0x173)](_0x14e721,_0x1160f1),_0x3e79ae['addFieldWithSourceId'](_0x14e721,_0x52c61d,(_0x3d3428!=null?_0x3d3428:0x0)+0x1),_0x11b29a=_0x1d8172;}}}}const _0x3a270e=_0x3e79ae[_0x1c344b(0x2b8)](),_0x5a85e4=_0x3e79ae[_0x1c344b(0x3e2)]()[_0x1c344b(0x438)]();let _0x50c3a1;if(_0x11b29a){_0x50c3a1=_0x11b29a['toJSON']();const _0x3286e6=_0x11b29a[_0x1c344b(0x226)]();_0x764095[_0x1c344b(0x28e)](_0x3286e6);let _0x6a3800=!0x0;for(const _0x15ecff in _0x2ffe46[_0x1c344b(0x426)])if(_0x2ffe46['collections'][_0x15ecff][_0x1c344b(0x277)]()[_0x1c344b(0x3f1)](_0x3286e6)){_0x6a3800=!0x1;break;}_0x6a3800&&_0x2ffe46[_0x1c344b(0x19d)](_0x3286e6);}const _0x2202a3=_0x3e79ae[_0x1c344b(0x18c)]();_0x4630cf[_0x1c344b(0x24c)]={'view':_0x5a85e4,'changesets':_0x2202a3,'isEmpty':_0x3a270e,'pivotTableConfig':_0x3c7c03,'shouldBeAddedGroupJSON':_0x50c3a1};}break;case _0x5642d1[_0x1c344b(0x1a3)]:{const _0x2936a8=_0x1e02f0[_0x1c344b(0x3aa)]['addPivotTable'];if(!_0x2936a8)return;const _0x2f2b26=_0x2936a8[_0x1c344b(0x399)],_0x3fa7af=_0x2936a8['pivotTableId'],{collection:_0x2d9b99}=this[_0x1c344b(0x3bc)][_0x1c344b(0x2d8)]({'unitId':_0x2f2b26['unitId'],'sheetName':_0x2f2b26['sheetName'],'subUnitId':_0x2f2b26[_0x1c344b(0x295)],'range':_0x2f2b26[_0x1c344b(0x36f)]}),_0x588f79=new _0x2a5883[(_0x1c344b(0x429))](_0x2d9b99,void 0x0,_0x3fa7af),_0xb0e3e7=_0x588f79[_0x1c344b(0x3e2)](),_0x13725f=_0x588f79[_0x1c344b(0x438)](),_0xb584e8=_0x2d9b99[_0x1c344b(0x438)]();_0x4630cf[_0x1c344b(0x19b)]={'view':_0xb0e3e7,'fieldsConfig':_0x13725f,'collectionConfig':_0xb584e8,'isEmpty':_0x588f79[_0x1c344b(0x2b8)]()};}break;case _0x5642d1[_0x1c344b(0x2d1)]:{const _0xb2925c=_0x1e02f0['params'][_0x1c344b(0x2aa)];if(!_0xb2925c)return;const {fieldId:_0x24a399,area:_0x54575c,index:_0x1e56d9}=_0xb2925c,_0x525c7b=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x548b0d,_0x3b59d2,_0xf2eede);if(!_0x525c7b)return;const _0x28aa4f=this[_0x1c344b(0x3bc)]['getPivotTableInstance'](_0xf2eede);if(!_0x28aa4f)return;_0x28aa4f[_0x1c344b(0x440)]();const {area:_0x17df2f,index:_0xf94c3e}=_0x28aa4f['getFieldPositionInfoById'](_0x24a399);if(_0x28aa4f['updateFieldPosition'](_0x24a399,_0x54575c,_0x1e56d9),_0x54575c===_0x2a5883[_0x1c344b(0x18a)]['Value']&&_0x28aa4f[_0x1c344b(0x3d1)](_0x24a399)['getSubtotal']()===void 0x0){const _0x530430=_0x28aa4f[_0x1c344b(0x3d1)](_0x24a399);if(_0x530430&&_0x530430[_0x1c344b(0x2e5)]()===void 0x0){const _0x158e99=_0x28aa4f[_0x1c344b(0x17e)](_0x24a399);if(_0x158e99){const _0x1016c2=_0x158e99==null?void 0x0:_0x158e99[_0x1c344b(0x42a)]();_0x28aa4f[_0x1c344b(0x2da)](_0x24a399,_0x1016c2===_0x2a5883['PivotDataFieldDataTypeEnum'][_0x1c344b(0x2e4)]?_0x2a5883[_0x1c344b(0x27b)][_0x1c344b(0x303)]:_0x2a5883['PivotSubtotalTypeEnum'][_0x1c344b(0x2f5)]);}}}const _0x3b722c=_0x28aa4f[_0x1c344b(0x267)](),_0x21c0d4=_0x28aa4f[_0x1c344b(0x3f2)](),_0x224208=_0x28aa4f[_0x1c344b(0x28c)](_0x2a5883[_0x1c344b(0x18a)][_0x1c344b(0x2f7)])>0x1;if(_0x224208&&_0x17df2f===_0x54575c&&(_0x54575c===_0x2a5883[_0x1c344b(0x18a)][_0x1c344b(0x21b)]&&_0x3b722c===_0x2a5883[_0x1c344b(0x270)][_0x1c344b(0x21b)]||_0x54575c===_0x2a5883[_0x1c344b(0x18a)]['Column']&&_0x3b722c===_0x2a5883[_0x1c344b(0x270)][_0x1c344b(0x41d)])){let _0x2418bf=_0x21c0d4;_0xf94c3e<=_0x21c0d4&&_0x2418bf--,_0x1e56d9<=_0x21c0d4&&_0x2418bf++,_0x28aa4f['updateValuePosition'](_0x3b722c,_0x2418bf);}else _0x224208&&(_0x17df2f===_0x2a5883['PivotTableFiledAreaEnum'][_0x1c344b(0x21b)]&&_0x3b722c===_0x2a5883['PivotTableValuePositionEnum'][_0x1c344b(0x21b)]||_0x17df2f===_0x2a5883[_0x1c344b(0x18a)][_0x1c344b(0x41d)]&&_0x3b722c===_0x2a5883[_0x1c344b(0x270)]['Column'])&&_0x21c0d4>=_0xf94c3e&&_0x28aa4f[_0x1c344b(0x382)](_0x3b722c,_0x21c0d4-0x1),_0x224208&&(_0x54575c===_0x2a5883[_0x1c344b(0x18a)][_0x1c344b(0x21b)]&&_0x3b722c===_0x2a5883[_0x1c344b(0x270)][_0x1c344b(0x21b)]||_0x54575c===_0x2a5883[_0x1c344b(0x18a)]['Column']&&_0x3b722c===_0x2a5883['PivotTableValuePositionEnum'][_0x1c344b(0x41d)])&&_0x21c0d4>=_0x1e56d9&&_0x28aa4f[_0x1c344b(0x382)](_0x3b722c,_0x21c0d4+0x1);const _0x3b5d64=_0x28aa4f[_0x1c344b(0x3e2)](),_0x301c28=_0x28aa4f[_0x1c344b(0x2b8)](),_0x395c25=_0x28aa4f[_0x1c344b(0x18c)]();_0x4630cf['movePivotField']={'view':_0x3b5d64[_0x1c344b(0x438)](),'changesets':_0x395c25,'isEmpty':_0x301c28,'pivotTableConfig':_0x525c7b};}break;case _0x5642d1[_0x1c344b(0x386)]:{const _0x1f20f8=_0x1e02f0[_0x1c344b(0x3aa)][_0x1c344b(0x31b)];if(!_0x1f20f8)return;const _0x2f3f85=_0x1f20f8[_0x1c344b(0x1b2)],_0x59c2f5=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x548b0d,_0x3b59d2,_0xf2eede);if(!_0x59c2f5)return!0x1;const _0x1579bd=this[_0x1c344b(0x3bc)][_0x1c344b(0x32f)](_0xf2eede);if(!_0x1579bd)return!0x1;_0x1579bd[_0x1c344b(0x440)]();for(const _0x3628b0 of _0x2f3f85){const {area:_0x1a481f}=_0x1579bd['getFieldPositionInfoById'](_0x3628b0);_0x1a481f===_0x2a5883[_0x1c344b(0x18a)]['Value']&&_0x1579bd[_0x1c344b(0x355)](_0x3628b0),(_0x1a481f===_0x2a5883[_0x1c344b(0x18a)]['Row']||_0x1a481f===_0x2a5883[_0x1c344b(0x18a)][_0x1c344b(0x41d)])&&_0x1579bd['removeValueFilterInfo'](_0x3628b0),_0x1579bd[_0x1c344b(0x42b)](_0x3628b0);}const _0x53d25a=_0x1579bd[_0x1c344b(0x2b8)](),_0x4d9f09=_0x1579bd[_0x1c344b(0x3e2)]()[_0x1c344b(0x438)](),_0x235d80=_0x1579bd[_0x1c344b(0x18c)]();_0x4630cf[_0x1c344b(0x31b)]={'changesets':_0x235d80,'pivotTableConfig':_0x59c2f5,'isEmpty':_0x53d25a,'view':_0x4d9f09};}break;case _0x5642d1[_0x1c344b(0x2e3)]:{const _0x239f1c=_0x1e02f0[_0x1c344b(0x3aa)][_0x1c344b(0x34c)];if(!_0x239f1c)return;const {tableFieldId:_0x30b059,items:_0x3fbd4a,isAll:_0x3ca5b0}=_0x239f1c,_0x33e511=this[_0x1c344b(0x3bc)]['getPivotTableInstance'](_0xf2eede),_0x25ad84=this[_0x1c344b(0x3bc)][_0x1c344b(0x2d6)](_0x548b0d,_0x3b59d2,_0xf2eede);if(!_0x33e511||!_0x25ad84)return;_0x33e511[_0x1c344b(0x440)](),_0x33e511['setLabelFilterInfo'](_0x30b059,{'type':_0x2a5883[_0x1c344b(0x38a)][_0x1c344b(0x3ef)],'list':_0x3fbd4a,'isAll':_0x3ca5b0});const _0x2398f7=_0x33e511['isEmpty'](),_0x1c27fa=_0x33e511[_0x1c344b(0x3e2)]()[_0x1c344b(0x438)](),_0x9557d3=_0x33e511['endCollectChangeset']();_0x4630cf['setPivotFilter']={'view':_0x1c27fa,'changesets':_0x9557d3,'isEmpty':_0x2398f7,'pivotTableConfig':_0x25ad84};}break;case _0x5642d1['SetValuePivotFilter']:{const _0x3b71be=_0x1e02f0[_0x1c344b(0x3aa)][_0x1c344b(0x1e5)];if(!_0x3b71be)return;const {tableFieldId:_0x3f3467,filterInfo:_0x420367}=_0x3b71be,_0x52d8f6=this[_0x1c344b(0x3bc)][_0x1c344b(0x32f)](_0xf2eede),_0x122849=this[_0x1c344b(0x3bc)][_0x1c344b(0x2d6)](_0x548b0d,_0x3b59d2,_0xf2eede);if(!_0x52d8f6||!_0x122849)return;_0x52d8f6[_0x1c344b(0x440)](),_0x52d8f6['setValueFilterInfo'](_0x3f3467,_0x420367);const _0x2ddb65=_0x52d8f6[_0x1c344b(0x2b8)](),_0x159de2=_0x52d8f6[_0x1c344b(0x3e2)]()['toJSON'](),_0x5816be=_0x52d8f6['endCollectChangeset']();_0x4630cf[_0x1c344b(0x1e5)]={'view':_0x159de2,'changesets':_0x5816be,'isEmpty':_0x2ddb65,'pivotTableConfig':_0x122849};}break;case _0x5642d1[_0x1c344b(0x33b)]:{const _0x3200c6=_0x1e02f0['params'][_0x1c344b(0x25b)];if(!_0x3200c6)return;const {tableFieldId:_0x21b1e7,info:_0x4da9aa}=_0x3200c6,_0x9b14fe=this[_0x1c344b(0x3bc)][_0x1c344b(0x32f)](_0xf2eede),_0x4c4bbf=this[_0x1c344b(0x3bc)][_0x1c344b(0x2d6)](_0x548b0d,_0x3b59d2,_0xf2eede);if(!_0x9b14fe||!_0x4c4bbf)return;_0x9b14fe['startCollectChangeset'](),_0x9b14fe[_0x1c344b(0x19c)](_0x21b1e7,_0x4da9aa);const _0x52c0b9=_0x9b14fe[_0x1c344b(0x2b8)](),_0xba91b4=_0x9b14fe['query']()[_0x1c344b(0x438)](),_0x1c8224=_0x9b14fe[_0x1c344b(0x18c)]();_0x4630cf[_0x1c344b(0x25b)]={'view':_0xba91b4,'changesets':_0x1c8224,'isEmpty':_0x52c0b9,'pivotTableConfig':_0x4c4bbf};}break;case _0x5642d1[_0x1c344b(0x1bf)]:{const _0x3215b2=_0x1e02f0['params'][_0x1c344b(0x379)];if(!_0x3215b2)return;const {tableFieldId:_0x53e016,displayName:_0x405f89,subtotalType:_0x4058a8,format:_0xb1d1b2}=_0x3215b2,_0x3dc64f=this[_0x1c344b(0x3bc)][_0x1c344b(0x32f)](_0xf2eede),_0x343b65=this[_0x1c344b(0x3bc)][_0x1c344b(0x2d6)](_0x548b0d,_0x3b59d2,_0xf2eede);if(!_0x3dc64f||!_0x343b65)return;_0x3dc64f['startCollectChangeset'](),_0x405f89!==void 0x0&&_0x3dc64f[_0x1c344b(0x3c3)](_0x53e016,_0x405f89),_0x4058a8!==void 0x0&&_0x3dc64f['setSubtotalType'](_0x53e016,_0x4058a8),_0xb1d1b2!==void 0x0&&_0x3dc64f['setFieldFormat'](_0x53e016,_0xb1d1b2);const _0x4fa664=_0x3dc64f['isEmpty'](),_0x14deb0=_0x3dc64f['query']()['toJSON'](),_0x3b0e90=_0x3dc64f[_0x1c344b(0x18c)]();_0x4630cf[_0x1c344b(0x379)]={'changesets':_0x3b0e90,'pivotTableConfig':_0x343b65,'isEmpty':_0x4fa664,'view':_0x14deb0};}break;case _0x5642d1['UpdatePivotSource']:{const _0x55935d=_0x1e02f0[_0x1c344b(0x3aa)][_0x1c344b(0x129)];if(!_0x55935d)return;const {dataRangeInfo:_0x489f0a,unitId:_0x142c08,subUnitId:_0x2f297a}=_0x55935d,_0x5983e0=this[_0x1c344b(0x3bc)]['getPivotTableConfig'](_0x142c08,_0x2f297a,_0xf2eede),_0x4fc40a=this[_0x1c344b(0x3bc)][_0x1c344b(0x32f)](_0xf2eede);if(!this[_0x1c344b(0x3bc)][_0x1c344b(0x39a)](_0x142c08,_0xf2eede)||!_0x4fc40a||!_0x5983e0)return;const _0xc1f851=this['_sheetsPivotDataSourceModel'][_0x1c344b(0x425)](_0x142c08,_0xf2eede,_0x489f0a),_0xb9d479=this[_0x1c344b(0x3bc)][_0x1c344b(0x39a)](_0x142c08,_0xf2eede)[_0x1c344b(0x438)](),{collection:_0x10e315}=this['_sheetsPivotDataSourceModel'][_0x1c344b(0x2d8)]({'unitId':_0x489f0a['unitId'],'sheetName':_0x489f0a[_0x1c344b(0x2b2)],'subUnitId':_0x489f0a[_0x1c344b(0x295)],'range':_0x489f0a['range']}),_0x3c59cc=_0x10e315['toJSON']();_0x4fc40a['startCollectChangeset']();const _0x37f9a2=this[_0x1c344b(0x3bc)][_0x1c344b(0x3f9)](_0x142c08)[_0x1c344b(0x1d1)]()||_0x2a5883[_0x1c344b(0x2c4)];_0x4fc40a[_0x1c344b(0x416)](_0x244bb8=>{const _0x52d14f=_0x1c344b,_0x412854=_0x244bb8[_0x52d14f(0x3cb)]();if(!_0x10e315[_0x52d14f(0x37d)](_0x412854)){const _0x4af823=_0x10e315['getDataFieldBySourceName'](_0x244bb8[_0x52d14f(0x2c8)]());if(_0x4af823){_0x4fc40a['updateFieldSourceInfo'](_0x244bb8['getId'](),_0x4af823[_0x52d14f(0x1b6)](),_0x4af823['getId']());const {area:_0x5e09}=_0x4fc40a['getFieldPositionInfoById'](_0x244bb8[_0x52d14f(0x226)]());let _0x5001b6=_0x244bb8[_0x52d14f(0x2c8)]();const _0x328661=_0x244bb8['getDisplayName']();if(_0x5e09===_0x2a5883[_0x52d14f(0x18a)][_0x52d14f(0x2f7)]){const _0x4a9998=_0x244bb8[_0x52d14f(0x2e5)]();_0x5001b6=_0x37f9a2(_0x4af823['getName'](),_0x4a9998);}_0x328661!==_0x5001b6&&_0x4fc40a[_0x52d14f(0x3c3)](_0x244bb8[_0x52d14f(0x226)](),_0x5001b6);}else _0x4fc40a[_0x52d14f(0x42b)](_0x244bb8[_0x52d14f(0x226)]());}});const _0x117f0c=_0x4fc40a[_0x1c344b(0x2b8)](),_0x1b8e18=_0x4fc40a[_0x1c344b(0x3e2)]()[_0x1c344b(0x438)](),_0x1df9f6=_0x4fc40a[_0x1c344b(0x18c)]();_0x4630cf[_0x1c344b(0x129)]={'view':_0x1b8e18,'changesets':_0x1df9f6,'isEmpty':_0x117f0c,'pivotTableConfig':_0x5983e0,'collectionConfig':_0x3c59cc,'oldCollectionConfig':_0xb9d479,'deleteIds':_0xc1f851};}break;case _0x5642d1[_0x1c344b(0x3be)]:{const _0x2c051b=_0x1e02f0[_0x1c344b(0x3aa)][_0x1c344b(0x382)];if(!_0x2c051b)return;const {position:_0x1106c5,index:_0x3b496a}=_0x2c051b,_0x4a3e93=this[_0x1c344b(0x3bc)][_0x1c344b(0x2d6)](_0x548b0d,_0x3b59d2,_0xf2eede);if(!_0x4a3e93)return!0x1;const _0x46e93f=this[_0x1c344b(0x3bc)][_0x1c344b(0x32f)](_0xf2eede);if(!_0x46e93f)return!0x1;_0x46e93f[_0x1c344b(0x440)](),_0x46e93f[_0x1c344b(0x382)](_0x1106c5,_0x3b496a);const _0x515edf=_0x46e93f[_0x1c344b(0x2b8)](),_0x45f95a=_0x46e93f['query']()[_0x1c344b(0x438)](),_0x2ce4e6=_0x46e93f['endCollectChangeset']();_0x4630cf[_0x1c344b(0x382)]={'changesets':_0x2ce4e6,'pivotTableConfig':_0x4a3e93,'isEmpty':_0x515edf,'view':_0x45f95a};}break;case _0x5642d1[_0x1c344b(0x2db)]:{const _0x1a3e7a=_0x1e02f0[_0x1c344b(0x3aa)][_0x1c344b(0x35a)];if(!_0x1a3e7a)return;const {tableFieldId:_0x33a829,collapse:_0x1d9b88,item:_0x54a6e1}=_0x1a3e7a,_0x5eb1a2=this[_0x1c344b(0x3bc)][_0x1c344b(0x32f)](_0xf2eede),_0x52b6e6=this[_0x1c344b(0x3bc)]['getPivotTableConfig'](_0x548b0d,_0x3b59d2,_0xf2eede);if(!_0x5eb1a2||!_0x52b6e6)return;_0x5eb1a2[_0x1c344b(0x440)](),_0x5eb1a2[_0x1c344b(0x2fb)](_0x33a829,_0x1d9b88,_0x54a6e1);const _0xe757c2=_0x5eb1a2[_0x1c344b(0x2b8)](),_0x18ff63=_0x5eb1a2[_0x1c344b(0x3e2)]()[_0x1c344b(0x438)](),_0x80dcc0=_0x5eb1a2['endCollectChangeset']();_0x4630cf[_0x1c344b(0x35a)]={'view':_0x18ff63,'isEmpty':_0xe757c2,'pivotTableConfig':_0x52b6e6,'changesets':_0x80dcc0};}break;case _0x5642d1[_0x1c344b(0x42d)]:{const _0x5dff3c=_0x1e02f0[_0x1c344b(0x3aa)]['setPivotTableConfig'];if(!_0x5dff3c)return;const {pivotTableConfig:_0x362d23}=_0x5dff3c,_0x455f7d=this['_sheetsPivotDataSourceModel'][_0x1c344b(0x32f)](_0xf2eede),_0x1071f3=this['_sheetsPivotDataSourceModel'][_0x1c344b(0x2d6)](_0x548b0d,_0x3b59d2,_0xf2eede);if(!_0x455f7d||!_0x1071f3)return;_0x455f7d['startCollectChangeset'](),_0x4d9ef2(_0x455f7d,_0x362d23);const _0x46388c=_0x455f7d[_0x1c344b(0x2b8)](),_0xc014e3=_0x455f7d[_0x1c344b(0x3e2)]()['toJSON'](),_0x37b6ab=_0x455f7d['endCollectChangeset']();_0x4630cf[_0x1c344b(0x389)]={'view':_0xc014e3,'isEmpty':_0x46388c,'pivotTableConfig':{..._0x1071f3,'fieldsConfig':_0x455f7d['toJSON']()},'changesets':_0x37b6ab};}break;case _0x5642d1[_0x1c344b(0x3f8)]:{const _0xd29fe8=_0x1e02f0['params'][_0x1c344b(0x207)];if(!_0xd29fe8)return;const _0x11a726=this[_0x1c344b(0x3bc)][_0x1c344b(0x32f)](_0xf2eede),_0x56353c=this[_0x1c344b(0x3bc)][_0x1c344b(0x2d6)](_0x548b0d,_0x3b59d2,_0xf2eede);if(!_0x11a726||!_0x56353c)return;_0x11a726['startCollectChangeset'](),_0x1bb5d5(_0x11a726,_0xd29fe8[_0x1c344b(0x249)]);const _0x12ecd3=_0x11a726[_0x1c344b(0x3e2)]()[_0x1c344b(0x438)](),_0x5a5ab4=_0x11a726['endCollectChangeset']();_0x4630cf[_0x1c344b(0x207)]={'view':_0x12ecd3,'isEmpty':!0x0,'pivotTableConfig':{..._0x56353c,'fieldsConfig':_0x11a726[_0x1c344b(0x438)]()},'changesets':_0x5a5ab4};}break;case _0x5642d1[_0x1c344b(0x31e)]:{const _0x31369d=_0x1e02f0[_0x1c344b(0x3aa)]['addPivotTableWithConfig'];if(!_0x31369d)return;const _0x10da43=_0x31369d[_0x1c344b(0x399)],_0x58c463=_0x31369d[_0x1c344b(0x12f)],{collection:_0x5e4f6a}=this['_sheetsPivotDataSourceModel'][_0x1c344b(0x2d8)]({'unitId':_0x10da43[_0x1c344b(0x2ac)],'sheetName':_0x10da43['sheetName'],'subUnitId':_0x10da43[_0x1c344b(0x295)],'range':_0x10da43['range']}),_0x44b300=new _0x2a5883['PivotTable'](_0x5e4f6a,void 0x0,_0x58c463),_0x56c722=_0x5e4f6a[_0x1c344b(0x277)](),{rows:_0x593486,columns:_0x1a53ea,filters:_0x225ac7,values:_0x5b66a9}=_0x31369d[_0x1c344b(0x2b9)];_0x44b300[_0x1c344b(0x440)]();for(const {field:_0x36b631,selectedItems:_0x12008f}of _0x593486||[]){const _0xcdea45=_0x56c722[_0x36b631];if(_0xcdea45){const _0x4e9c14=_0x44b300[_0x1c344b(0x191)](_0xcdea45,_0x2a5883[_0x1c344b(0x18a)][_0x1c344b(0x21b)]);_0x12008f&&_0x4e9c14&&_0x44b300['setLabelFilterInfo'](_0x4e9c14[_0x1c344b(0x226)](),{'type':_0x2a5883['PivotFilterTypeEnum'][_0x1c344b(0x3ef)],'list':_0x12008f,'isAll':!0x1});}}for(const {field:_0xcec1f7,selectedItems:_0x490103}of _0x1a53ea||[]){const _0x3c947e=_0x56c722[_0xcec1f7];if(_0x3c947e){const _0x217426=_0x44b300[_0x1c344b(0x191)](_0x3c947e,_0x2a5883[_0x1c344b(0x18a)][_0x1c344b(0x41d)]);_0x490103&&_0x217426&&_0x44b300[_0x1c344b(0x357)](_0x217426[_0x1c344b(0x226)](),{'type':_0x2a5883['PivotFilterTypeEnum'][_0x1c344b(0x3ef)],'list':_0x490103,'isAll':!0x1});}}for(const {field:_0xdccb8e,selectedItems:_0x54d4b3}of _0x225ac7||[]){const _0x1b6eff=_0x56c722[_0xdccb8e];if(_0x1b6eff){const _0x550d4b=_0x44b300[_0x1c344b(0x191)](_0x1b6eff,_0x2a5883[_0x1c344b(0x18a)]['Filter']);_0x54d4b3&&_0x550d4b&&_0x44b300[_0x1c344b(0x357)](_0x550d4b[_0x1c344b(0x226)](),{'type':_0x2a5883[_0x1c344b(0x38a)][_0x1c344b(0x3ef)],'list':_0x54d4b3,'isAll':!0x1});}}for(const {field:_0x1e1e70,subTotalType:_0x35347f,formatString:_0xf47eaa}of _0x5b66a9||[]){const _0x29507d=_0x5e4f6a[_0x1c344b(0x3b3)](_0x56c722[_0x1e1e70]);if(!_0x29507d)continue;const _0x32971d=_0x56c722[_0x1e1e70];if(_0x32971d){const _0x16448e=_0x44b300[_0x1c344b(0x191)](_0x32971d,_0x2a5883['PivotTableFiledAreaEnum'][_0x1c344b(0x2f7)]);if(_0x16448e){if(_0x35347f!==void 0x0){_0x44b300[_0x1c344b(0x2da)](_0x16448e[_0x1c344b(0x226)](),_0x35347f);const _0x2e46c8=this[_0x1c344b(0x3bc)][_0x1c344b(0x3f9)](_0x10da43[_0x1c344b(0x2ac)])[_0x1c344b(0x1d1)]()||_0x2a5883[_0x1c344b(0x2c4)],_0x14a149=_0x5e4f6a['getDisplayName'](_0x32971d),_0x4afed3=_0x2e46c8(_0x14a149,_0x35347f);_0x44b300[_0x1c344b(0x3c3)](_0x16448e[_0x1c344b(0x226)](),_0x4afed3);}else{if(_0x29507d){const _0x2447a8=_0x29507d==null?void 0x0:_0x29507d['getFieldDataType']();_0x44b300['setSubtotalType'](_0x16448e[_0x1c344b(0x226)](),_0x2447a8===_0x2a5883[_0x1c344b(0x17b)][_0x1c344b(0x2e4)]?_0x2a5883[_0x1c344b(0x27b)]['sum']:_0x2a5883['PivotSubtotalTypeEnum']['count']);}}_0xf47eaa&&_0x44b300['setFieldFormat'](_0x16448e[_0x1c344b(0x226)](),_0xf47eaa);}}}const _0x4b50f9=_0x44b300[_0x1c344b(0x3e2)](),_0x1d8548=_0x44b300[_0x1c344b(0x438)](),_0x127ef0=_0x44b300['isEmpty'](),_0x1bbb27=_0x44b300[_0x1c344b(0x18c)](),_0x19be47=_0x5e4f6a[_0x1c344b(0x438)]();_0x4630cf[_0x1c344b(0x427)]={'view':_0x4b50f9,'fieldsConfig':_0x1d8548,'collectionConfig':_0x19be47,'isEmpty':_0x127ef0,'changesets':_0x1bbb27};}break;case _0x5642d1['DrillDown']:{const _0xa18d69=_0x3b95e0(this[_0x1c344b(0x407)],_0x1e02f0);if(!_0xa18d69)return;const {range:_0x3e1316,sourceSubUnitId:_0x11d1ba,sourceUnitId:_0x1301ef,formatMap:_0x25d892,indexes:_0x56a993}=_0xa18d69;_0x4630cf[_0x1c344b(0x1d9)]={'range':_0x3e1316,'sourceSubUnitId':_0x11d1ba,'sourceUnitId':_0x1301ef,'formatMap':_0x25d892,'indexes':_0x56a993};}break;}this[_0x1c344b(0x254)][_0x1c344b(0x328)](_0x513e3f['id'],{'version':_0x1e02f0[_0x1c344b(0x412)],'result':_0x4630cf},{'onlyLocal':!0x0});}));}[_0x2d8507(0x299)](){const _0x3a1080=_0x2d8507;this[_0x3a1080(0x434)](this[_0x3a1080(0x254)][_0x3a1080(0x20b)](_0x25eae7=>{const _0x1806b6=_0x3a1080;if(_0x25eae7['id']!==_0x5cd47b['id'])return;const _0x41ef5b=_0x25eae7[_0x1806b6(0x3aa)];return this[_0x1806b6(0x3bc)][_0x1806b6(0x305)](_0x41ef5b['textInfo']),!0x0;}));}[_0x2d8507(0x406)](){const _0x50e7f2=_0x2d8507;this['_sheetsPivotDataSourceModel'][_0x50e7f2(0x1be)][_0x50e7f2(0x35b)](_0x14e17d=>{const _0x55e17b=_0x50e7f2;switch(_0x14e17d['type']){case _0xb4cdcd['add']:_0x14e17d['dataRangeInfo']&&_0x14e17d[_0x55e17b(0x1d3)]&&this[_0x55e17b(0x2b3)](_0x14e17d[_0x55e17b(0x384)],_0x14e17d[_0x55e17b(0x186)],_0x14e17d[_0x55e17b(0x1d3)]);break;case _0xb4cdcd[_0x55e17b(0x1d5)]:{const {unitId:_0x51f3a1,subUnitId:_0x3876fe,token:_0x5ad817}=_0x14e17d;_0x51f3a1&&_0x3876fe&&_0x5ad817&&this['removeSourceRangeChange'](_0x51f3a1,_0x3876fe,_0x5ad817);}break;case _0xb4cdcd['update']:{const {token:_0x19916a,oldSourceRangeInfo:_0xf7fff1,dataRangeInfo:_0x16c8ed,targetCellInfo:_0x3334fc}=_0x14e17d,{unitId:_0x19f620,subUnitId:_0x1aa31c}=_0xf7fff1||{};_0x19f620&&_0x1aa31c&&_0x19916a&&this['removeSourceRangeChange'](_0x19f620,_0x1aa31c,_0x19916a),_0x16c8ed&&_0x3334fc&&this[_0x55e17b(0x2b3)](_0x19916a,_0x16c8ed,_0x3334fc);}break;}});}[_0x2d8507(0x150)](){const _0x2e3256=_0x2d8507;this['_sheetsPivotDataSourceModel']['fieldsCollectionChange$'][_0x2e3256(0x35b)](_0xacb2cf=>{const _0x4ff9b3=_0x2e3256;Object[_0x4ff9b3(0x1db)](_0xacb2cf)['forEach'](_0x21ebc1=>{const _0x6337dd=_0x4ff9b3,_0x28e75e=this['_sheetsPivotDataSourceModel'][_0x6337dd(0x23a)](_0x21ebc1);if(_0x28e75e){const _0x2285e3=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x28e75e==null?void 0x0:_0x28e75e[_0x6337dd(0x2ac)],_0x28e75e==null?void 0x0:_0x28e75e['subUnitId'],_0x21ebc1);_0x2285e3&&(this['handleSourceRangeChange'](_0x21ebc1,_0x2285e3[_0x6337dd(0x399)],_0x2285e3[_0x6337dd(0x1d3)]),this[_0x6337dd(0x3a7)]([{'unitId':_0x28e75e[_0x6337dd(0x2ac)],'subUnitId':_0x28e75e[_0x6337dd(0x295)],'token':_0x21ebc1}]));}});});}['_subjectViewChange'](){const _0x186473=_0x2d8507;this[_0x186473(0x3bc)][_0x186473(0x130)][_0x186473(0x35b)](_0x57fdaf=>{const _0x49682c=_0x186473,{unitId:_0x2380ab,subUnitId:_0x7d42dc,pivotTableId:_0x39168b}=_0x57fdaf;_0x2380ab&&_0x7d42dc&&_0x39168b&&this[_0x49682c(0x3a7)]([{'unitId':_0x2380ab,'subUnitId':_0x7d42dc,'token':_0x39168b}]);});}[_0x2d8507(0x3a7)](_0xc31f63){const _0x4ed3da=_0x2d8507,_0xe60431={};_0xc31f63[_0x4ed3da(0x151)](_0x307874=>{var _0x10ed40,_0x51db03;const {unitId:_0x53b78e,subUnitId:_0x191037,token:_0x53f13e}=_0x307874;_0xe60431[_0x53b78e]=(_0x10ed40=_0xe60431[_0x53b78e])!=null?_0x10ed40:{},_0xe60431[_0x53b78e][_0x191037]=(_0x51db03=_0xe60431[_0x53b78e][_0x191037])!=null?_0x51db03:{},_0xe60431[_0x53b78e][_0x191037][_0x53f13e]=!0x0;}),this[_0x4ed3da(0x254)]['executeCommand'](_0xb7225b['id'],_0xe60431);}[_0x2d8507(0x403)](_0x329d87,_0x5d8736,_0x514e9b){const _0xcd125=_0x2d8507;this[_0xcd125(0x176)][_0xcd125(0x2a6)](_0x329d87,_0x5d8736,[_0x514e9b]);}[_0x2d8507(0x2b3)](_0x30d7c2,_0x43bd47,_0x473897){const _0x432e04=_0x2d8507,{unitId:_0x3c7d3f,subUnitId:_0x1bc9aa}=_0x43bd47;this[_0x432e04(0x176)]['has'](_0x473897[_0x432e04(0x2ac)],_0x473897[_0x432e04(0x295)],_0x30d7c2)&&this[_0x432e04(0x403)](_0x3c7d3f,_0x1bc9aa,_0x30d7c2);const _0x33dbd0={'sheetId':_0x1bc9aa,..._0x43bd47};this[_0x432e04(0x176)][_0x432e04(0x365)](_0x473897[_0x432e04(0x2ac)],_0x473897[_0x432e04(0x295)],_0x30d7c2,{'unitId':_0x473897[_0x432e04(0x2ac)],'subUnitId':_0x473897[_0x432e04(0x295)],'dependencyRanges':[_0x33dbd0],'getDirtyData':(_0x195be6,_0x1a8b9b)=>{const _0x5db638=_0x432e04,_0x3349d0=this[_0x5db638(0x3bc)],_0x2dd585=_0x3349d0[_0x5db638(0x23a)](_0x30d7c2);if(!_0x2dd585)return _0x1dbd8d();const {unitId:_0x295324,subUnitId:_0x1c23dc}=_0x2dd585,_0x1d34ad=_0x53a226(_0x195be6,_0x1a8b9b,_0x43bd47);if(_0x1d34ad[_0x5db638(0x31c)]>0x0){const _0x3be2c7=_0x3349d0[_0x5db638(0x39a)](_0x3c7d3f,_0x30d7c2),_0x123f54=_0x3be2c7[_0x5db638(0x277)](),_0x3d93b7=this['getMatrixFromRunTimeData'](_0x43bd47['unitId'],_0x43bd47['subUnitId'],_0x1a8b9b),_0x50f039={},_0x2963b3=this['_sheetsPivotDataSourceModel'][_0x5db638(0x3f9)](_0x295324)[_0x5db638(0x1d1)]()||_0x2a5883[_0x5db638(0x2c4)],_0x134e45=[];for(const _0xa591eb of _0x1d34ad){const _0x1f09c9=_0xa591eb-(_0x43bd47[_0x5db638(0x36f)]['startColumn']||0x0),_0x594d29=_0x123f54[_0x1f09c9];_0x134e45['push'](_0x594d29),_0x50f039[_0x594d29]=_0x3be2c7[_0x5db638(0x3b3)](_0x594d29)['getName'](),_0x3349d0['getDataFieldManager'](_0x3c7d3f)[_0x5db638(0x3a0)](_0x594d29,_0x43bd47,_0x1f09c9,_0x3d93b7);}_0x3be2c7[_0x5db638(0x324)](_0x134e45)[_0x5db638(0x151)](_0x19b7e0=>{const _0x363174=_0x5db638,[_0x326583,_0x436b45]=_0x19b7e0,_0x44d108=_0x3be2c7[_0x363174(0x3b3)](_0x326583),_0xdf0d45=_0x3be2c7[_0x363174(0x3b3)](_0x436b45);_0x44d108&&_0xdf0d45&&_0x44d108[_0x363174(0x378)](_0xdf0d45);}),_0x3be2c7[_0x5db638(0x216)]();const _0x48604b=_0x3349d0[_0x5db638(0x32f)](_0x30d7c2);if(_0x48604b){_0x5e6ce2(_0x48604b,_0x50f039,_0x2963b3),_0x48604b[_0x5db638(0x2c7)](!0x0);const _0x410ebf=_0x48604b[_0x5db638(0x3e2)](),_0x18406a=_0x3349d0['getPivotTableConfig'](_0x295324,_0x1c23dc,_0x30d7c2),_0x130c6b=_0x3349d0[_0x5db638(0x3f9)](_0x3c7d3f)['toJSON']();_0x3349d0[_0x5db638(0x350)](_0x295324,_0x1c23dc,_0x3278cc['Set'],_0x30d7c2,_0x410ebf,_0x18406a,_0x130c6b,!0x0);}}return this[_0x5db638(0x3b8)](_0x295324,_0x1c23dc,_0x30d7c2);}});}['getMatrixFromRunTimeData'](_0x53f4ce,_0x3db7bc,_0x582a0d){var _0x54059b,_0x510bfe;const {arrayFormulaCellData:_0x229e81,unitData:_0x4ab329}=_0x582a0d,_0x3a639a=(_0x54059b=_0x229e81==null?void 0x0:_0x229e81[_0x53f4ce])==null?void 0x0:_0x54059b[_0x3db7bc],_0x4cbad6=(_0x510bfe=_0x4ab329==null?void 0x0:_0x4ab329[_0x53f4ce])==null?void 0x0:_0x510bfe[_0x3db7bc];return{'arrayFormulaCellDataMatrix':_0x3a639a,'unitDataMatrix':_0x4cbad6};}[_0x2d8507(0x3b8)](_0x6705a8,_0x5c387e,_0x57b227){const _0x40be2c=_0x2d8507,_0x491468=this['_sheetsPivotDataSourceModel'][_0x40be2c(0x2f4)](_0x6705a8,_0x5c387e,_0x57b227),_0x44a2a4=[],_0x39ce1d=new _0x54f2e8['ObjectMatrix']();if(_0x491468){const {rangeCache:_0x16676c,matrix:_0x5b710e,oldRangeCache:_0x295c74,oldMatrix:_0x457d02}=_0x491468,_0x50f8ee=_0x2ab95d(_0x295c74),_0x38da72=_0x2ab95d(_0x16676c);_0x44a2a4[_0x40be2c(0x423)](..._0x38da72,..._0x50f8ee),_0x457d02&&_0x295c74&&_0x50f8ee['forEach'](_0x368021=>{const _0x2d5e04=_0x40be2c;for(let _0x372e7b=_0x368021[_0x2d5e04(0x3cc)];_0x372e7b<=_0x368021['endRow'];_0x372e7b++)for(let _0x38924f=_0x368021[_0x2d5e04(0x139)];_0x38924f<=_0x368021[_0x2d5e04(0x14f)];_0x38924f++)_0x39ce1d['realDeleteValue'](_0x372e7b,_0x38924f);}),_0x5b710e&&_0x38da72&&_0x38da72[_0x40be2c(0x151)](_0x4b0b08=>{const _0x7b046e=_0x40be2c;for(let _0x5ae429=_0x4b0b08[_0x7b046e(0x3cc)];_0x5ae429<=_0x4b0b08[_0x7b046e(0x400)];_0x5ae429++)for(let _0x13b28=_0x4b0b08[_0x7b046e(0x139)];_0x13b28<=_0x4b0b08[_0x7b046e(0x14f)];_0x13b28++)_0x39ce1d[_0x7b046e(0x1b5)](_0x5ae429,_0x13b28,_0x5b710e[_0x7b046e(0x1a5)](_0x5ae429,_0x13b28));});}const _0x10a995={};return _0x10a995[_0x6705a8]={[_0x5c387e]:_0x50591c(_0x44a2a4)},{'runtimeCellData':{[_0x6705a8]:{[_0x5c387e]:_0x39ce1d}},'dirtyRanges':_0x10a995};}[_0x2d8507(0x404)](){}};_0x34dc88=_0x377482([_0x543346(0x0,_0x54f2e8['Inject'](_0x5d1b85[_0x2d8507(0x1e7)])),_0x543346(0x1,_0x54f2e8[_0x2d8507(0x19f)](_0x54c2ed[_0x2d8507(0x253)])),_0x543346(0x2,_0x54f2e8['Inject'](_0x54f2e8['ICommandService'])),_0x543346(0x3,_0x54f2e8[_0x2d8507(0x19f)](_0x54c2ed[_0x2d8507(0x387)])),_0x543346(0x4,_0x54f2e8[_0x2d8507(0x19f)](_0x54f2e8[_0x2d8507(0x23d)]))],_0x34dc88);var _0x34737d=Object[_0x2d8507(0x165)],_0x4bce0e=(_0x20cbe5,_0x4ebd69,_0x3b5625,_0x31c33c)=>{const _0x54744a=_0x2d8507;for(var _0xd2db2b=_0x31c33c>0x1?void 0x0:_0x31c33c?_0x34737d(_0x4ebd69,_0x3b5625):_0x4ebd69,_0x6d6c4e=_0x20cbe5[_0x54744a(0x31c)]-0x1,_0x59cbc9;_0x6d6c4e>=0x0;_0x6d6c4e--)(_0x59cbc9=_0x20cbe5[_0x6d6c4e])&&(_0xd2db2b=_0x59cbc9(_0xd2db2b)||_0xd2db2b);return _0xd2db2b;},_0x105da5=(_0x55d9e8,_0x5b2cd4)=>(_0x22f923,_0x5b7225)=>_0x5b2cd4(_0x22f923,_0x5b7225,_0x55d9e8);let _0x1d607d=class extends _0x54f2e8[_0x2d8507(0x21a)]{constructor(_0x27a0d1,_0x15b844,_0x27f9e5,_0x349539){const _0x3a219e=_0x2d8507;super(),_0x2ffda7(this,'disposableCollection',new _0x54f2e8[(_0x3a219e(0x213))]()),(this['_univerInstanceService']=_0x27a0d1,this[_0x3a219e(0x12b)]=_0x15b844,this[_0x3a219e(0x16e)]=_0x27f9e5,this[_0x3a219e(0x32c)]=_0x349539,this[_0x3a219e(0x2f9)]());}[_0x2d8507(0x2f9)](){const _0x51a5f1=_0x2d8507;this[_0x51a5f1(0x434)](this[_0x51a5f1(0x12b)][_0x51a5f1(0x309)]({'getMutations':_0xde1e06=>{const _0x44a452=_0x51a5f1;if(_0xde1e06['id']===_0x3ff8f7[_0x44a452(0x13a)]['id']||_0xde1e06['id']===_0x3ff8f7[_0x44a452(0x341)]['id']){const _0x5236a5=[],_0x38acc=[],_0x82f546=this[_0x44a452(0x16e)]['getCurrentSelections']()['map'](_0x5794ba=>_0x5794ba[_0x44a452(0x36f)]),_0xe82ab1=_0x3ff8f7['getSheetCommandTarget'](this['_univerInstanceService']);if(!_0xe82ab1)return{'redos':[],'undos':[]};const {unitId:_0x1f31e6,subUnitId:_0xe96b0f}=_0xe82ab1,_0x19bc9e={},_0x52a247=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x1f31e6,_0xe96b0f);if(_0x52a247!=null&&_0x52a247[_0x44a452(0x260)])for(const [_0x2244bf,_0x16ab2c]of _0x52a247){const {unitId:_0x340d2b,subUnitId:_0xa73919,row:_0xc817b9,col:_0x41dac8}=_0x16ab2c[_0x44a452(0x1d3)];_0x340d2b===_0xe82ab1[_0x44a452(0x2ac)]&&_0xa73919===_0xe82ab1[_0x44a452(0x295)]&&(_0x19bc9e[_0xc817b9+'-'+_0x41dac8]=_0x2244bf);}return _0x82f546&&_0xe82ab1&&_0x82f546[_0x44a452(0x151)](_0x1494a5=>{const _0x10f31c=_0x44a452;_0x54f2e8[_0x10f31c(0x3d4)][_0x10f31c(0x432)](_0x1494a5,(_0x3dec5e,_0x1e9d94)=>{const _0x9940f1=_0x10f31c,_0x5b6f6b=_0x3dec5e+'-'+_0x1e9d94;if(_0x19bc9e[_0x5b6f6b]){const _0x199b54=_0x19bc9e[_0x5b6f6b];_0x5236a5[_0x9940f1(0x423)]({'id':_0xea409a['id'],'params':{'unitId':_0x1f31e6,'subUnitId':_0xe96b0f,'pivotTableId':_0x199b54}});const _0x434249=this['_sheetsPivotTableConfigModel'][_0x9940f1(0x39a)](_0x1f31e6,_0x199b54),_0x3caa9d=this[_0x9940f1(0x32c)][_0x9940f1(0x2d6)](_0x1f31e6,_0xe96b0f,_0x199b54);_0x38acc[_0x9940f1(0x423)]({'id':_0x1b68de['id'],'params':{'unitId':_0x1f31e6,'subUnitId':_0xe96b0f,'pivotTableId':_0x199b54,'pivotTableConfig':_0x3caa9d,'collectionConfig':_0x434249}});}});}),{'redos':_0x5236a5,'undos':_0x38acc};}return{'redos':[],'undos':[]};}}));}};_0x1d607d=_0x4bce0e([_0x105da5(0x0,_0x54f2e8[_0x2d8507(0x2a2)]),_0x105da5(0x1,_0x54f2e8[_0x2d8507(0x19f)](_0x3ff8f7[_0x2d8507(0x245)])),_0x105da5(0x2,_0x54f2e8[_0x2d8507(0x19f)](_0x3ff8f7[_0x2d8507(0x3e7)])),_0x105da5(0x3,_0x54f2e8[_0x2d8507(0x19f)](_0x5d1b85[_0x2d8507(0x147)]))],_0x1d607d);var _0x2460c6=Object['getOwnPropertyDescriptor'],_0x5484f8=(_0x41a95c,_0x3653a3,_0x5a8473,_0x2105a6)=>{const _0x465d59=_0x2d8507;for(var _0x1233fe=_0x2105a6>0x1?void 0x0:_0x2105a6?_0x2460c6(_0x3653a3,_0x5a8473):_0x3653a3,_0x5aeba1=_0x41a95c[_0x465d59(0x31c)]-0x1,_0x3fe0b0;_0x5aeba1>=0x0;_0x5aeba1--)(_0x3fe0b0=_0x41a95c[_0x5aeba1])&&(_0x1233fe=_0x3fe0b0(_0x1233fe)||_0x1233fe);return _0x1233fe;},_0x14cd7b=(_0x5051c9,_0x17f4f1)=>(_0x9ed2e4,_0x11cafb)=>_0x17f4f1(_0x9ed2e4,_0x11cafb,_0x5051c9);let _0x175857=class extends _0x54f2e8[_0x2d8507(0x21a)]{constructor(_0xe2ba7f,_0x441483,_0x584bcc,_0x3e7c86,_0x55ace5){const _0x5e15d6=_0x2d8507;super(),this[_0x5e15d6(0x12b)]=_0xe2ba7f,this[_0x5e15d6(0x407)]=_0x441483,this[_0x5e15d6(0x3dd)]=_0x584bcc,this[_0x5e15d6(0x32c)]=_0x3e7c86,this[_0x5e15d6(0x431)]=_0x55ace5,this[_0x5e15d6(0x374)]();}['_getPivotAppliedRanges'](_0x321ed1,_0x26dff1,_0x69322f){const _0x22177f=_0x2d8507,{pageView:_0x3764cb,cornerView:_0x52039a,rowView:_0x305044,colView:_0x52cd93,dataView:_0x305268}=_0x26dff1,_0x1ebc59=_0x321ed1;let _0x8df97f;if(_0x69322f)_0x8df97f=[..._0x5c808a(_0x1ebc59)];else{const _0x4335c4=_0x8545d6(_0x1ebc59,_0x3764cb,!0x0),_0x2ce827=_0x3764cb[_0x22177f(0x3c0)]>=0x0?_0x3764cb[_0x22177f(0x3c0)]+0x1:0x0,_0x487a5e=_0x52039a[_0x22177f(0x2f0)],_0x1ef6d2=_0x52039a[_0x22177f(0x193)],_0x21833a=_0x4335c4['length']>0x0?_0x37a9d7:0x0,_0x1f79e0=_0x8545d6({'row':_0x1ebc59[_0x22177f(0x200)]+_0x2ce827+_0x21833a,'col':_0x1ebc59[_0x22177f(0x266)]},_0x52039a,!0x1,!0x1),_0x5ad531=_0x8545d6({'row':_0x1ebc59['row']+_0x2ce827+_0x21833a+_0x487a5e,'col':_0x1ebc59[_0x22177f(0x266)]},_0x305044,!0x1,!0x0),_0x2212ed=_0x8545d6({'row':_0x1ebc59['row']+_0x2ce827+_0x21833a,'col':_0x1ebc59['col']+_0x1ef6d2},_0x52cd93,!0x1,!0x0),_0x31d848=_0x8545d6({'row':_0x1ebc59[_0x22177f(0x200)]+_0x2ce827+_0x21833a+_0x487a5e,'col':_0x1ebc59[_0x22177f(0x266)]+_0x1ef6d2},_0x305268,!0x1,!0x0);_0x8df97f=[..._0x4335c4,..._0x1f79e0,..._0x5ad531,..._0x2212ed,..._0x31d848];}return _0x8df97f;}[_0x2d8507(0x374)](){const _0x2c259c=_0x2d8507;this[_0x2c259c(0x434)](this['_sheetsPivotTableService']['interceptor'][_0x2c259c(0x337)](this['_sheetsPivotTableService']['interceptor'][_0x2c259c(0x336)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x397db7,_0x538191)=>{const _0x22c833=_0x2c259c,{cellInfo:_0x345092,view:_0x1b3adf,isEmpty:_0x287f02}=_0x538191,_0x295194=_0x345092,{unitId:_0x2a5aa3,subUnitId:_0x9e5a1b}=_0x295194,_0x2b166e=this[_0x22c833(0x2d2)](_0x345092,_0x1b3adf,_0x287f02),_0x3010e1=this[_0x22c833(0x12b)][_0x22c833(0x251)]({'unitId':_0x2a5aa3,'subUnitId':_0x9e5a1b,'ranges':_0x2b166e}),_0x28b675=_0x47d9f5(this['_injector'],_0x2a5aa3,_0x9e5a1b,_0x2b166e);_0x28b675['shouldClear']&&(_0x3010e1[_0x22c833(0x1e0)][_0x22c833(0x423)](_0x28b675[_0x22c833(0x258)]),_0x3010e1[_0x22c833(0x33d)][_0x22c833(0x423)](_0x28b675[_0x22c833(0x1b9)]));const _0x79c290=this[_0x22c833(0x43c)](_0x1b3adf,_0x345092);return _0x3010e1[_0x22c833(0x1e0)][_0x22c833(0x423)](..._0x79c290[_0x22c833(0x1e0)]),_0x3010e1[_0x22c833(0x33d)][_0x22c833(0x423)](..._0x79c290[_0x22c833(0x33d)]),{'redos':_0x3010e1['redos'],'undos':_0x3010e1[_0x22c833(0x33d)]};}}));}[_0x2d8507(0x43c)](_0x414ff9,_0x569f65){const _0x34c689=_0x2d8507,{col:_0x4760b0,unitId:_0x2fc5e3,subUnitId:_0x366e3c}=_0x569f65,_0x3bada9=[],_0x5b07d9=[],_0x147398=_0x3ff8f7[_0x34c689(0x3fb)](this[_0x34c689(0x3dd)],{'unitId':_0x2fc5e3,'subUnitId':_0x366e3c});if(!_0x569f65||!_0x414ff9||!_0x147398)return{'undos':_0x5b07d9,'redos':_0x3bada9};const _0x5959d1=this[_0x34c689(0x32c)][_0x34c689(0x424)](),{colView:_0x5259b1,dataView:_0x3ea791,cornerView:_0x5b2fc0,rowView:_0x5e588d,formatMap:_0x2a74ef}=_0x414ff9,_0x263b4a=_0x38d646(_0x5259b1,_0x5959d1,!0x0,_0x2a74ef),_0x5b39b5=_0x38d646(_0x5e588d,_0x5959d1,!0x1,_0x2a74ef),_0xd20955=_0x1f3cfc(_0x3ea791),_0x4aa7e6=_0x576388(_0x5b2fc0),{worksheet:_0x392a21}=_0x147398;if(typeof window<'u'&&window['document']){const _0x5a73ce=_0x39862a[_0x34c689(0x25e)]({..._0x4dc25d[_0x34c689(0x33f)]}),_0x6ff0ae=_0x39862a['FontCache'][_0x34c689(0x287)](_0x263b4a,_0x5a73ce)[_0x34c689(0x40d)]+0x10,_0x2433d8=_0x39862a[_0x34c689(0x16f)][_0x34c689(0x287)](_0xd20955,_0x5a73ce)[_0x34c689(0x40d)],_0x3d7799=Math['floor'](Math[_0x34c689(0x3fc)](_0x6ff0ae,_0x2433d8))+0x10,_0x538f8e=Math[_0x34c689(0x2e8)](_0x39862a[_0x34c689(0x16f)]['getTextSize'](_0x5b39b5,_0x5a73ce)[_0x34c689(0x40d)]),_0x57fb78=Math[_0x34c689(0x2e8)](_0x39862a[_0x34c689(0x16f)][_0x34c689(0x287)](_0x4aa7e6,_0x5a73ce)[_0x34c689(0x40d)]),_0x4f1a53=Math[_0x34c689(0x3fc)](_0x538f8e,_0x57fb78,0x28)+0xc,_0x3cc4f6=_0x5259b1['colCount']+_0x5b2fc0[_0x34c689(0x193)],_0x2a57da={},_0x2d2c25={};for(let _0x13e216=_0x4760b0;_0x13e216<_0x4760b0+_0x3cc4f6;_0x13e216++){const _0x490730=_0x392a21['getColumnWidth'](_0x13e216);_0x2a57da[_0x13e216]=_0x490730,_0x13e216-_0x4760b0<_0x5b2fc0[_0x34c689(0x193)]?_0x2d2c25[_0x13e216-_0x4760b0]=_0x4f1a53:_0x2d2c25[_0x13e216-_0x4760b0]=_0x3d7799;}_0x3bada9[_0x34c689(0x423)]({'id':_0x3ff8f7['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x366e3c,'unitId':_0x2fc5e3,'ranges':[{'startColumn':_0x4760b0,'endColumn':_0x4760b0+_0x3cc4f6-0x1,'startRow':0x0,'endRow':_0x392a21['getRowCount']()-0x1}],'colWidth':_0x2d2c25}}),_0x5b07d9[_0x34c689(0x423)]({'id':_0x3ff8f7[_0x34c689(0x1c4)]['id'],'params':{'subUnitId':_0x366e3c,'unitId':_0x2fc5e3,'ranges':[{'startColumn':_0x4760b0,'endColumn':_0x4760b0+_0x3cc4f6-0x1,'startRow':0x0,'endRow':_0x392a21[_0x34c689(0x14d)]()-0x1}],'colWidth':_0x2a57da}});}return{'undos':_0x5b07d9,'redos':_0x3bada9};}};_0x175857=_0x5484f8([_0x14cd7b(0x0,_0x54f2e8['Inject'](_0x3ff8f7['SheetInterceptorService'])),_0x14cd7b(0x1,_0x54f2e8[_0x2d8507(0x19f)](_0x54f2e8[_0x2d8507(0x23d)])),_0x14cd7b(0x2,_0x54f2e8[_0x2d8507(0x19f)](_0x54f2e8[_0x2d8507(0x2a2)])),_0x14cd7b(0x3,_0x54f2e8['Inject'](_0x5d1b85[_0x2d8507(0x147)])),_0x14cd7b(0x4,_0x54f2e8['Inject'](_0x5d1b85[_0x2d8507(0x138)]))],_0x175857);var _0x2e48da=Object[_0x2d8507(0x165)],_0x5becd9=(_0x28f14e,_0x13a34e,_0x2bbc0a,_0x58f078)=>{const _0x2ac0e2=_0x2d8507;for(var _0x4b42f0=_0x58f078>0x1?void 0x0:_0x58f078?_0x2e48da(_0x13a34e,_0x2bbc0a):_0x13a34e,_0x8e2025=_0x28f14e[_0x2ac0e2(0x31c)]-0x1,_0x392621;_0x8e2025>=0x0;_0x8e2025--)(_0x392621=_0x28f14e[_0x8e2025])&&(_0x4b42f0=_0x392621(_0x4b42f0)||_0x4b42f0);return _0x4b42f0;},_0x55a6c1=(_0x40b7d9,_0x1c2e24)=>(_0x147e0a,_0x57106f)=>_0x1c2e24(_0x147e0a,_0x57106f,_0x40b7d9);let _0x31ea89=class extends _0x54f2e8[_0x2d8507(0x21a)]{constructor(_0x1755a7,_0x4fd25a,_0x4fc203,_0x516efe,_0x2e565a,_0x56a7ca,_0x53f037){const _0xf2d6e3=_0x2d8507;super(),_0x2ffda7(this,_0xf2d6e3(0x41c),new _0x54f2e8[(_0xf2d6e3(0x213))]()),(this[_0xf2d6e3(0x407)]=_0x1755a7,this[_0xf2d6e3(0x26d)]=_0x4fd25a,this[_0xf2d6e3(0x254)]=_0x4fc203,this[_0xf2d6e3(0x3dd)]=_0x516efe,this[_0xf2d6e3(0x32c)]=_0x2e565a,this['_sheetsPivotTableAdaptorModel']=_0x56a7ca,this[_0xf2d6e3(0x12b)]=_0x53f037,this[_0xf2d6e3(0x39e)]());}['_onRefRangeChange'](){const _0x37729b=_0x2d8507,_0x397e9a=(_0x4d0317,_0x200c1b)=>{const _0x3ea9b2=_0x5a7b,_0x2ad77c=this['_univerInstanceService'][_0x3ea9b2(0x29f)](_0x54f2e8[_0x3ea9b2(0x3c9)]['UNIVER_SHEET']);if(!_0x2ad77c||!(_0x2ad77c==null?void 0x0:_0x2ad77c[_0x3ea9b2(0x23b)](_0x200c1b)))return;this[_0x3ea9b2(0x41c)][_0x3ea9b2(0x404)]();const _0x2e8703=_0xb87a27=>this[_0x3ea9b2(0x281)](_0xb87a27,_0x4d0317,_0x200c1b),_0x546881=this[_0x3ea9b2(0x32c)]['getSubUnitPivotConfigs'](_0x4d0317,_0x200c1b);if(!(_0x546881!=null&&_0x546881[_0x3ea9b2(0x260)]))return;Array[_0x3ea9b2(0x3d3)](_0x546881[_0x3ea9b2(0x29d)]())[_0x3ea9b2(0x21c)](_0x3a8747=>{const _0x1b5781=_0x3ea9b2,{row:_0x444658,col:_0x4f904e}=_0x3a8747[_0x1b5781(0x1d3)];return _0x54f2e8[_0x1b5781(0x2bb)](_0x444658,_0x4f904e);})[_0x3ea9b2(0x151)](_0x4b7291=>{const _0x2826fa=_0x3ea9b2;this[_0x2826fa(0x41c)][_0x2826fa(0x1fe)](this[_0x2826fa(0x26d)][_0x2826fa(0x43d)](_0x4b7291,_0x2e8703,_0x4d0317,_0x200c1b));});},_0xef4cae=()=>{const _0x509643=_0x5a7b,_0xe545c=this[_0x509643(0x3dd)][_0x509643(0x29f)](_0x54f2e8[_0x509643(0x3c9)][_0x509643(0x24a)]);if(_0xe545c){const _0x46ebf1=_0xe545c[_0x509643(0x1f9)]();if(!_0x46ebf1)return;_0x397e9a(_0xe545c['getUnitId'](),_0x46ebf1[_0x509643(0x29a)]());}};this['disposeWithMe'](this[_0x37729b(0x254)][_0x37729b(0x20b)](_0x6990cc=>{const _0x1b88ad=_0x37729b;if(_0x6990cc['id']===_0x3ff8f7['SetWorksheetActiveOperation']['id']){const _0x1112d3=_0x6990cc[_0x1b88ad(0x3aa)],_0x462186=_0x1112d3[_0x1b88ad(0x295)],_0x5aa084=_0x1112d3[_0x1b88ad(0x2ac)];if(!_0x462186||!_0x5aa084)return;_0x397e9a(_0x5aa084,_0x462186);}})),this[_0x37729b(0x434)](this[_0x37729b(0x32c)][_0x37729b(0x32d)]['subscribe'](_0x1bb37c=>{_0x1bb37c&&_0xef4cae();})),this[_0x37729b(0x434)](this[_0x37729b(0x32c)][_0x37729b(0x240)][_0x37729b(0x35b)](_0x2e6d92=>{const _0x4ae847=_0x37729b,_0x470d84=_0x3ff8f7[_0x4ae847(0x3fb)](this[_0x4ae847(0x3dd)]);if(!_0x470d84)return;const {unitId:_0x1fa642,subUnitId:_0x1dcc10}=_0x470d84,{unitId:_0x3569da,subUnitId:_0x4b6e3e}=_0x2e6d92;_0x1fa642!==_0x3569da||_0x1dcc10!==_0x4b6e3e||_0x397e9a(_0x1fa642,_0x1dcc10);})),_0xef4cae();}[_0x2d8507(0x281)](_0x5de450,_0x4ea0fe,_0x3060ac){const _0x3ffcfc=_0x2d8507;switch(_0x5de450['id']){case _0x3ff8f7[_0x3ffcfc(0x2d9)]['id']:return this['getRefRangeMutationsByMoveRange'](_0x5de450[_0x3ffcfc(0x3aa)],_0x4ea0fe,_0x3060ac);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0xeae429,_0x509a0f,_0x19827f){const _0xa4be9e=_0x2d8507,{fromRange:_0x6bac77,toRange:_0x593fb0}=_0xeae429,_0x475d00=[],_0x483123=[],_0x3bfd25=_0x3ff8f7[_0xa4be9e(0x3fb)](this['_univerInstanceService']);if(!_0x3bfd25)return{'undos':_0x483123,'redos':_0x475d00};if(_0x509a0f!==_0x3bfd25[_0xa4be9e(0x2ac)]||_0x19827f!==_0x3bfd25[_0xa4be9e(0x295)])return{'undos':_0x483123,'redos':_0x475d00};const _0x5f4a8f=this[_0xa4be9e(0x32c)][_0xa4be9e(0x160)](_0x509a0f,_0x19827f);if(_0x5f4a8f!=null&&_0x5f4a8f[_0xa4be9e(0x260)])for(const [_0x3e61a8,_0x4559da]of _0x5f4a8f){const {unitId:_0x247ab4,subUnitId:_0x2e2a17,row:_0x1a7f3a,col:_0x2cf718}=_0x4559da[_0xa4be9e(0x1d3)];if(_0x247ab4===_0x3bfd25[_0xa4be9e(0x2ac)]&&_0x2e2a17===_0x3bfd25['subUnitId']){const _0x28fd7a=_0x54f2e8[_0xa4be9e(0x2bb)](_0x1a7f3a,_0x2cf718);if(_0x54f2e8[_0xa4be9e(0x24e)][_0xa4be9e(0x376)](_0x28fd7a,_0x6bac77)){const _0x38bffa=_0x1a7f3a-_0x6bac77[_0xa4be9e(0x3cc)],_0x5eddc0=_0x2cf718-_0x6bac77[_0xa4be9e(0x139)],_0x55fdaa={'row':_0x593fb0['startRow']+_0x38bffa,'col':_0x593fb0[_0xa4be9e(0x139)]+_0x5eddc0};_0x475d00['push']({'id':_0x285b9d['id'],'params':{'unitId':_0x247ab4,'subUnitId':_0x2e2a17,'pivotTableId':_0x3e61a8,'targetCellPosition':_0x55fdaa}}),_0x483123[_0xa4be9e(0x423)]({'id':_0x285b9d['id'],'params':{'unitId':_0x247ab4,'subUnitId':_0x2e2a17,'pivotTableId':_0x3e61a8,'targetCellPosition':{'row':_0x1a7f3a,'col':_0x2cf718}}});const _0x47202a=_0x55fdaa[_0xa4be9e(0x200)]-_0x1a7f3a,_0x35c15c=_0x55fdaa['col']-_0x2cf718,_0x535609=[],_0x2061ce=this[_0xa4be9e(0x233)]['getPivotItemRenderInfoCache'](_0x247ab4,_0x2e2a17,_0x3e61a8),_0x185ed0=_0x2061ce==null?void 0x0:_0x2061ce[_0xa4be9e(0x2f2)];if(_0x185ed0){Object[_0xa4be9e(0x1db)](_0x185ed0)[_0xa4be9e(0x151)](_0x1b85ef=>{const _0x225880=_0xa4be9e;_0x185ed0[_0x1b85ef][_0x225880(0x151)](_0x108dc0=>{const _0x466eed=_0x225880,_0x54c43d={..._0x108dc0};_0x54c43d[_0x466eed(0x3cc)]=_0x108dc0['startRow']+_0x47202a,_0x54c43d[_0x466eed(0x400)]=_0x108dc0[_0x466eed(0x400)]+_0x47202a,_0x54c43d[_0x466eed(0x139)]=_0x108dc0[_0x466eed(0x139)]+_0x35c15c,_0x54c43d[_0x466eed(0x14f)]=_0x108dc0[_0x466eed(0x14f)]+_0x35c15c,_0x535609[_0x466eed(0x423)](_0x54c43d);});});const _0x11ade0=this[_0xa4be9e(0x12b)][_0xa4be9e(0x251)]({'unitId':_0x247ab4,'subUnitId':_0x2e2a17,'ranges':_0x535609});_0x475d00[_0xa4be9e(0x423)](..._0x11ade0[_0xa4be9e(0x1e0)]),_0x483123[_0xa4be9e(0x423)](..._0x11ade0[_0xa4be9e(0x33d)]);const _0x3ecb81=_0x47d9f5(this[_0xa4be9e(0x407)],_0x247ab4,_0x2e2a17,_0x535609);_0x3ecb81[_0xa4be9e(0x259)]&&(_0x475d00['push'](_0x3ecb81[_0xa4be9e(0x258)]),_0x483123[_0xa4be9e(0x423)](_0x3ecb81['setRangeValueUndoMutation']));}}}}return{'redos':_0x475d00,'undos':_0x483123};}};_0x31ea89=_0x5becd9([_0x55a6c1(0x0,_0x54f2e8[_0x2d8507(0x19f)](_0x54f2e8[_0x2d8507(0x23d)])),_0x55a6c1(0x1,_0x54f2e8['Inject'](_0x3ff8f7['RefRangeService'])),_0x55a6c1(0x2,_0x54f2e8[_0x2d8507(0x41e)]),_0x55a6c1(0x3,_0x54f2e8['IUniverInstanceService']),_0x55a6c1(0x4,_0x54f2e8[_0x2d8507(0x19f)](_0x5d1b85[_0x2d8507(0x147)])),_0x55a6c1(0x5,_0x54f2e8[_0x2d8507(0x19f)](_0x5d1b85[_0x2d8507(0x30e)])),_0x55a6c1(0x6,_0x54f2e8[_0x2d8507(0x19f)](_0x3ff8f7[_0x2d8507(0x245)]))],_0x31ea89);var _0x3b110b=Object[_0x2d8507(0x165)],_0xcb6cb8=(_0x2b47aa,_0x39b806,_0x43992c,_0x40f2bd)=>{const _0x164cdd=_0x2d8507;for(var _0x5deeb0=_0x40f2bd>0x1?void 0x0:_0x40f2bd?_0x3b110b(_0x39b806,_0x43992c):_0x39b806,_0x3d887f=_0x2b47aa[_0x164cdd(0x31c)]-0x1,_0x3ded8d;_0x3d887f>=0x0;_0x3d887f--)(_0x3ded8d=_0x2b47aa[_0x3d887f])&&(_0x5deeb0=_0x3ded8d(_0x5deeb0)||_0x5deeb0);return _0x5deeb0;},_0x180a8d=(_0x363b7d,_0x20aa29)=>(_0x5b8bd3,_0x3a3937)=>_0x20aa29(_0x5b8bd3,_0x3a3937,_0x363b7d);let _0x168dfb=class extends _0x54f2e8[_0x2d8507(0x21a)]{constructor(_0x30aaaa,_0x49eddc){const _0xf43144=_0x2d8507;super(),this[_0xf43144(0x12b)]=_0x30aaaa,this[_0xf43144(0x32c)]=_0x49eddc,this[_0xf43144(0x37b)]();}['_initRemoveSheetCommandInterceptor'](){const _0x4ba7a1=_0x2d8507;this[_0x4ba7a1(0x434)](this[_0x4ba7a1(0x12b)][_0x4ba7a1(0x309)]({'getMutations':_0x45caea=>{const _0x37cd42=_0x4ba7a1;if(_0x45caea['id']===_0x3ff8f7['RemoveSheetCommand']['id']){const _0x34cf73=[],_0x2d28ec=[],_0x41d807=_0x45caea[_0x37cd42(0x3aa)],{unitId:_0x554df7,subUnitId:_0x373fe1}=_0x41d807;if(!_0x554df7||!_0x373fe1)return{'undos':_0x2d28ec,'redos':_0x34cf73};const _0x2842b8=this[_0x37cd42(0x32c)][_0x37cd42(0x160)](_0x554df7,_0x373fe1);if(_0x2842b8!=null&&_0x2842b8['size'])for(const [_0x2af7c6,_0x4adcfe]of _0x2842b8){_0x34cf73[_0x37cd42(0x423)]({'id':_0xea409a['id'],'params':{'unitId':_0x554df7,'subUnitId':_0x373fe1,'pivotTableId':_0x2af7c6}});const _0x4805fb={...this[_0x37cd42(0x32c)][_0x37cd42(0x39a)](_0x554df7,_0x2af7c6)};_0x2d28ec['push']({'id':_0x1b68de['id'],'params':{'unitId':_0x554df7,'subUnitId':_0x373fe1,'pivotTableId':_0x2af7c6,'pivotTableConfig':_0x4adcfe,'collectionConfig':_0x4805fb}});}return{'redos':_0x34cf73,'undos':_0x2d28ec};}return{'redos':[],'undos':[]};}}));}};_0x168dfb=_0xcb6cb8([_0x180a8d(0x0,_0x54f2e8[_0x2d8507(0x19f)](_0x3ff8f7['SheetInterceptorService'])),_0x180a8d(0x1,_0x54f2e8[_0x2d8507(0x19f)](_0x5d1b85[_0x2d8507(0x147)]))],_0x168dfb);var _0x5d2629=Object['getOwnPropertyDescriptor'],_0x364e18=(_0x45603a,_0x55fb6e,_0x317d79,_0x69aea2)=>{const _0x54bd6c=_0x2d8507;for(var _0x5857e4=_0x69aea2>0x1?void 0x0:_0x69aea2?_0x5d2629(_0x55fb6e,_0x317d79):_0x55fb6e,_0x31242f=_0x45603a[_0x54bd6c(0x31c)]-0x1,_0x380d6f;_0x31242f>=0x0;_0x31242f--)(_0x380d6f=_0x45603a[_0x31242f])&&(_0x5857e4=_0x380d6f(_0x5857e4)||_0x5857e4);return _0x5857e4;},_0x455aeb=(_0xd970e0,_0xd48dd8)=>(_0x154d69,_0x1b4b02)=>_0xd48dd8(_0x154d69,_0x1b4b02,_0xd970e0);let _0x3e0a98=class extends _0x54f2e8['Disposable']{constructor(_0x43527a,_0x3d061d,_0x54a023,_0x5ebef7,_0x5ec313,_0xcbce1b){const _0x38f80d=_0x2d8507;super(),this[_0x38f80d(0x254)]=_0x43527a,this[_0x38f80d(0x195)]=_0x3d061d,this['_sheetsPivotTableAdaptorModel']=_0x54a023,this[_0x38f80d(0x32c)]=_0x5ebef7,this['_univerInstanceService']=_0x5ec313,this[_0x38f80d(0x34d)]=_0xcbce1b,this[_0x38f80d(0x18b)](),this['registerDirtyService']();}[_0x2d8507(0x18b)](){const _0xe468d9=_0x2d8507;this['disposeWithMe'](this['_commandService'][_0xe468d9(0x20b)](_0x4333c1=>{const _0x307d8f=_0xe468d9;if(_0x4333c1['id']!==_0x513e3f['id'])return;const _0x367118=_0x4333c1[_0x307d8f(0x3aa)];this[_0x307d8f(0x195)][_0x307d8f(0x18e)](_0x367118);})),this['disposeWithMe'](this[_0xe468d9(0x254)][_0xe468d9(0x20b)](_0x3fd37b=>{const _0x3bf5a7=_0xe468d9;if(_0x3fd37b['id']===_0x55ea62['id']){const _0x214ed4=_0x3fd37b[_0x3bf5a7(0x3aa)];if(_0x214ed4){const {unitId:_0x415809,subUnitId:_0x4ae11a,oldSubUnitId:_0x29aae2,pivotTableId:_0x15e8c1,pivotTableConfig:_0x19ecc4,collectionConfig:_0x16c8a8}=_0x214ed4;this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x415809,_0x29aae2,_0x214ed4[_0x3bf5a7(0x12f)],null),this[_0x3bf5a7(0x32c)][_0x3bf5a7(0x16a)](_0x415809,_0x4ae11a,_0x15e8c1,_0x19ecc4),this[_0x3bf5a7(0x32c)][_0x3bf5a7(0x38d)](_0x415809,_0x16c8a8);}}})),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x5fe2fa=>{const _0x2a754f=_0xe468d9;if(_0x5fe2fa['id']!==_0x53b34b['id'])return;const _0x3e2267=_0x3ff8f7[_0x2a754f(0x3fb)](this[_0x2a754f(0x3dd)]);if(!_0x3e2267)return;const {unitId:_0x1ecba2,subUnitId:_0x2a9494}=_0x3e2267,_0xb8abbd=_0x5fe2fa[_0x2a754f(0x3aa)];if(_0xb8abbd[_0x2a754f(0x18d)]&&Object[_0x2a754f(0x1db)](_0xb8abbd[_0x2a754f(0x18d)])[_0x2a754f(0x151)](_0x13bfff=>{const _0x116357=_0x2a754f;var _0x2a47ff;(_0x2a47ff=_0xb8abbd[_0x116357(0x18d)])!=null&&_0x2a47ff[_0x13bfff]&&this[_0x116357(0x32c)][_0x116357(0x38d)](_0x13bfff,_0xb8abbd[_0x116357(0x18d)][_0x13bfff]);}),_0xb8abbd[_0x2a754f(0x2f6)]){const _0x3714c7=_0xb8abbd[_0x2a754f(0x2f6)],{unitId:_0x459c57,subUnitId:_0x3aead3,view:_0x147825,pivotTableId:_0x268069,type:_0x4f9f56,pivotConfig:_0x4a84c6}=_0x3714c7;if(_0x4f9f56===_0x3278cc[_0x2a754f(0x31d)])this['_sheetsPivotTableAdaptorModel'][_0x2a754f(0x415)]({'unitId':_0x459c57,'subUnitId':_0x3aead3,'pivotTableId':_0x268069,'type':_0x4f9f56}),this[_0x2a754f(0x32c)][_0x2a754f(0x16a)](_0x459c57,_0x3aead3,_0x268069,null);else{const _0x2b77fe=new _0x2a5883[(_0x2a754f(0x3fa))]();_0x2b77fe['formJSON'](_0x147825),this[_0x2a754f(0x32c)][_0x2a754f(0x16a)](_0x459c57,_0x3aead3,_0x268069,_0x4a84c6),this[_0x2a754f(0x233)][_0x2a754f(0x415)]({'unitId':_0x459c57,'subUnitId':_0x3aead3,'pivotTableId':_0x268069,'type':_0x4f9f56,'view':_0x2b77fe}),this[_0x2a754f(0x233)][_0x2a754f(0x3cf)]({'unitId':_0x459c57,'subUnitId':_0x3aead3,'view':_0x2b77fe,'pivotTableId':_0x268069,'type':_0x4f9f56});}}else _0xb8abbd['batch']&&(_0xb8abbd['batch'][_0x2a754f(0x151)](_0x557d1c=>{const _0x55e183=_0x2a754f,{unitId:_0x537a6e,subUnitId:_0x3d1b32,view:_0xc99bee,pivotTableId:_0x97523c,type:_0x548e17,pivotConfig:_0x4c1d3c}=_0x557d1c,_0x53c124=new _0x2a5883[(_0x55e183(0x3fa))]();_0x53c124['formJSON'](_0xc99bee),this[_0x55e183(0x32c)][_0x55e183(0x16a)](_0x537a6e,_0x3d1b32,_0x97523c,_0x4c1d3c),this['_sheetsPivotTableAdaptorModel'][_0x55e183(0x3cf)]({'unitId':_0x537a6e,'subUnitId':_0x3d1b32,'view':_0x53c124,'pivotTableId':_0x97523c,'type':_0x548e17});}),this[_0x2a754f(0x32c)][_0x2a754f(0x256)]());this['_sheetsPivotTableAdaptorModel'][_0x2a754f(0x2f3)](_0x1ecba2,_0x2a9494);}));}[_0x2d8507(0x32b)](){const _0x2bdace=_0x2d8507;this[_0x2bdace(0x34d)][_0x2bdace(0x365)](_0xb7225b['id'],{'commandId':_0xb7225b['id'],'getDirtyData'(_0x4d6a57){const _0x195bde=_0x2bdace;return{'dirtyUnitFeatureMap':_0x4d6a57[_0x195bde(0x3aa)]};}});}};_0x3e0a98=_0x364e18([_0x455aeb(0x0,_0x54f2e8['Inject'](_0x54f2e8['ICommandService'])),_0x455aeb(0x1,_0x54f2e8[_0x2d8507(0x19f)](_0x5d1b85[_0x2d8507(0x248)])),_0x455aeb(0x2,_0x54f2e8['Inject'](_0x5d1b85[_0x2d8507(0x30e)])),_0x455aeb(0x3,_0x54f2e8[_0x2d8507(0x19f)](_0x5d1b85['SheetsPivotTableConfigModel'])),_0x455aeb(0x4,_0x54f2e8[_0x2d8507(0x19f)](_0x54f2e8['IUniverInstanceService'])),_0x455aeb(0x5,_0x54c2ed[_0x2d8507(0x2e6)])],_0x3e0a98);var _0x533b74=Object[_0x2d8507(0x2d7)],_0x10f105=Object[_0x2d8507(0x165)],_0x2f4b0c=(_0x1ca44a,_0x2e8745,_0x268e38)=>_0x2e8745 in _0x1ca44a?_0x533b74(_0x1ca44a,_0x2e8745,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x268e38}):_0x1ca44a[_0x2e8745]=_0x268e38,_0x3a7801=(_0x2bcff6,_0x5979be,_0x20b969,_0x52dfbe)=>{const _0x590170=_0x2d8507;for(var _0x536eb5=_0x52dfbe>0x1?void 0x0:_0x52dfbe?_0x10f105(_0x5979be,_0x20b969):_0x5979be,_0x4e6a15=_0x2bcff6[_0x590170(0x31c)]-0x1,_0x23daef;_0x4e6a15>=0x0;_0x4e6a15--)(_0x23daef=_0x2bcff6[_0x4e6a15])&&(_0x536eb5=_0x23daef(_0x536eb5)||_0x536eb5);return _0x536eb5;},_0x1d5616=(_0x485401,_0x580a01)=>(_0x3fb6dd,_0x1b1c8c)=>_0x580a01(_0x3fb6dd,_0x1b1c8c,_0x485401),_0x1e9d28=(_0x24db88,_0x164e5e,_0x3b492d)=>_0x2f4b0c(_0x24db88,typeof _0x164e5e!='symbol'?_0x164e5e+'':_0x164e5e,_0x3b492d);_0x5d1b85[_0x2d8507(0x388)]=class extends _0x54f2e8[_0x2d8507(0x273)]{constructor(_0x38fd98=_0x472471,_0x1d69a3,_0x37818f,_0x8079ab,_0x508d30){const _0x5a6696=_0x2d8507;super(),this['_config']=_0x38fd98,this[_0x5a6696(0x407)]=_0x1d69a3,this[_0x5a6696(0x254)]=_0x37818f,this[_0x5a6696(0x30d)]=_0x8079ab,this[_0x5a6696(0x1a0)]=_0x508d30;const {..._0x4a34c3}=_0x54f2e8[_0x5a6696(0x348)]({},_0x472471,this[_0x5a6696(0x2dc)]);this[_0x5a6696(0x30d)]['setConfig'](_0x24d753,_0x4a34c3),this[_0x5a6696(0x197)](),this[_0x5a6696(0x1ae)]();}[_0x2d8507(0x1ae)](){const _0x1880c5=_0x2d8507;var _0x485597;const _0x1dfa66=(_0x485597=this[_0x1880c5(0x2dc)])==null?void 0x0:_0x485597[_0x1880c5(0x1d0)];this[_0x1880c5(0x30d)][_0x1880c5(0x1c7)](_0x5c38dc,_0x1dfa66===!0x0);}['onStarting'](){const _0x915b3f=_0x2d8507;var _0x183ce9;let _0x43bbe6=[];const _0x360dd0=(_0x183ce9=this['_config'])==null?void 0x0:_0x183ce9['notExecuteFormula'];_0x360dd0===!0x0?_0x43bbe6=[[_0x5d1b85[_0x915b3f(0x138)]],[_0x5d1b85[_0x915b3f(0x248)]],[_0x3e0a98],[_0x5d1b85[_0x915b3f(0x30e)]],[_0x5d1b85[_0x915b3f(0x147)]],[_0x168dfb],[_0x1d607d],[_0x31ea89],[_0x175857]]:_0x360dd0===!0x1?_0x43bbe6=[[_0x5d1b85['SheetsPivotDataSourceModel']],[_0x34dc88]]:_0x360dd0===void 0x0&&(_0x43bbe6=[[_0x5d1b85[_0x915b3f(0x1e7)]],[_0x34dc88],[_0x5d1b85[_0x915b3f(0x138)]],[_0x5d1b85[_0x915b3f(0x248)]],[_0x3e0a98],[_0x5d1b85['SheetsPivotTableAdaptorModel']],[_0x5d1b85[_0x915b3f(0x147)]],[_0x168dfb],[_0x1d607d],[_0x31ea89],[_0x175857]]),_0x43bbe6[_0x915b3f(0x151)](_0x822715=>this['_injector']['add'](_0x822715)),[_0x34dc88,_0x3e0a98,_0x5d1b85[_0x915b3f(0x138)],_0x1d607d,_0x168dfb,_0x31ea89,_0x175857][_0x915b3f(0x151)](_0x4af08e=>{const _0x2bdcfb=_0x915b3f;this[_0x2bdcfb(0x407)]['has'](_0x4af08e)&&this[_0x2bdcfb(0x407)][_0x2bdcfb(0x12a)](_0x4af08e);});}[_0x2d8507(0x197)](){const _0x410cd1=_0x2d8507;[_0x550a5d,_0x3b307b,_0x249d56,_0x34dca6,_0x3f5cd2,_0x1a20aa,_0x4f28ca,_0x26d75b,_0x5eafd3,_0x22eeeb,_0x10d830,_0x1aa2e0,_0x23e844,_0x4dd39b,_0x1b68de,_0x4bcade,_0xea409a,_0x1bc3c4,_0x344181,_0x4f3109,_0x2a5ef0,_0x5451d7,_0x17e7d6,_0x2fc625,_0x24847e,_0x3db97f,_0x285b9d,_0x72d3d7,_0x513e3f,_0x53b34b,_0x4e0703,_0x551703,_0x382bb3,_0x5b622e,_0x5cd47b,_0x21e7b7,_0x2d7371,_0xb7225b,_0x55ea62,_0x4a90a9,_0x35a524,_0x51d160,_0x21a4e4][_0x410cd1(0x151)](_0x225152=>{const _0xc3a3a4=_0x410cd1;var _0x1b07fb;(_0x1b07fb=this[_0xc3a3a4(0x1a0)])==null||_0x1b07fb[_0xc3a3a4(0x32e)](_0x225152),this[_0xc3a3a4(0x254)][_0xc3a3a4(0x3fd)](_0x225152);});}},_0x1e9d28(_0x5d1b85['UniverSheetsPivotTablePlugin'],_0x2d8507(0x40c),_0x269598),_0x1e9d28(_0x5d1b85[_0x2d8507(0x388)],_0x2d8507(0x220),_0x54f2e8['UniverInstanceType'][_0x2d8507(0x24a)]),_0x5d1b85[_0x2d8507(0x388)]=_0x3a7801([_0x54f2e8['DependentOn'](_0x5731b9[_0x2d8507(0x29e)]),_0x1d5616(0x1,_0x54f2e8[_0x2d8507(0x19f)](_0x54f2e8[_0x2d8507(0x23d)])),_0x1d5616(0x2,_0x54f2e8[_0x2d8507(0x19f)](_0x54f2e8['ICommandService'])),_0x1d5616(0x3,_0x54f2e8[_0x2d8507(0x2cd)]),_0x1d5616(0x4,_0x54f2e8['Optional'](_0x268114[_0x2d8507(0x2ab)]))],_0x5d1b85['UniverSheetsPivotTablePlugin']),_0x5d1b85['AddPivotFieldCommand']=_0x249d56,_0x5d1b85[_0x2d8507(0x296)]=_0x1bc3c4,_0x5d1b85['AddPivotTableCommand']=_0x3b307b,_0x5d1b85[_0x2d8507(0x23c)]=_0x1b68de,_0x5d1b85['AddPivotTableWithConfigCommand']=_0x550a5d,_0x5d1b85[_0x2d8507(0x41f)]=_0x37a9d7,_0x5d1b85[_0x2d8507(0x2a3)]=_0x4992c4,_0x5d1b85[_0x2d8507(0x27c)]=_0x34dca6,_0x5d1b85[_0x2d8507(0x155)]=_0x23e844,_0x5d1b85['PivotDisplayDataType']=_0x5642d1,_0x5d1b85['PivotDrillDownCommand']=_0x4dd39b,_0x5d1b85[_0x2d8507(0x441)]=_0x3278cc,_0x5d1b85[_0x2d8507(0x370)]=_0xb7225b,_0x5d1b85[_0x2d8507(0x3af)]=_0x1db26b,_0x5d1b85[_0x2d8507(0x252)]=_0x3f5cd2,_0x5d1b85[_0x2d8507(0x291)]=_0x5451d7,_0x5d1b85[_0x2d8507(0x3ce)]=_0xea409a,_0x5d1b85[_0x2d8507(0x40b)]=_0x17e7d6,_0x5d1b85['ResetPivotFieldsConfigCommand']=_0x21a4e4,_0x5d1b85[_0x2d8507(0x339)]=_0x24d753,_0x5d1b85['SHEET_PIVOT_TABLE_PLUGIN']=_0x269598,_0x5d1b85[_0x2d8507(0x3ea)]=_0x26d75b,_0x5d1b85[_0x2d8507(0x3ba)]=_0x2fc625,_0x5d1b85[_0x2d8507(0x375)]=_0x5b622e,_0x5d1b85['SetPivotFieldsConfigCommand']=_0x51d160,_0x5d1b85['SetPivotFilterCommand']=_0x22eeeb,_0x5d1b85[_0x2d8507(0x3bd)]=_0x2a5ef0,_0x5d1b85['SetPivotOptionMutation']=_0x3db97f,_0x5d1b85['SetPivotPositionMutation']=_0x285b9d,_0x5d1b85[_0x2d8507(0x215)]=_0x5eafd3,_0x5d1b85[_0x2d8507(0x1a9)]=_0x24847e,_0x5d1b85[_0x2d8507(0x37a)]=_0x382bb3,_0x5d1b85[_0x2d8507(0x1b7)]=_0x4a90a9,_0x5d1b85[_0x2d8507(0x13f)]=_0x35a524,_0x5d1b85['UpdateDateGroupCommand']=_0x4f28ca,_0x5d1b85[_0x2d8507(0x2cb)]=_0x4e0703,_0x5d1b85[_0x2d8507(0x371)]=_0x10d830,_0x5d1b85[_0x2d8507(0x221)]=_0x2d7371,_0x5d1b85[_0x2d8507(0x409)]=_0x1aa2e0,_0x5d1b85['UpdatePivotTableSourceRangeMutation']=_0x21e7b7,_0x5d1b85[_0x2d8507(0x32a)]=_0x1a20aa,_0x5d1b85[_0x2d8507(0x185)]=_0x551703,_0x5d1b85['applyChangeSet']=_0x120b02,_0x5d1b85['canUsePivot']=_0x47e8e8,_0x5d1b85[_0x2d8507(0x211)]=_0x4dc25d,_0x5d1b85[_0x2d8507(0x283)]=_0x47d9f5,_0x5d1b85[_0x2d8507(0x3e0)]=_0x8545d6,_0x5d1b85['getEmptyPivotRanges']=_0x5c808a,_0x5d1b85[_0x2d8507(0x369)]=_0x1bb2b4,_0x5d1b85[_0x2d8507(0x135)]=_0x4a2750,_0x5d1b85[_0x2d8507(0x2ba)]=_0x60e612,_0x5d1b85['getPivotInfoByLicense']=_0x58d1f7,_0x5d1b85[_0x2d8507(0x2c2)]=_0x565772,_0x5d1b85[_0x2d8507(0x143)]=_0x5cf288,_0x5d1b85[_0x2d8507(0x217)]=_0x2ab95d,Object['defineProperty'](_0x5d1b85,Symbol[_0x2d8507(0x2e1)],{'value':'Module'});}));
1
+ (function(_0x1b76c1,_0x1aab62){const _0x2674ed=_0x47d5,_0x6df638=_0x1b76c1();while(!![]){try{const _0x1f0ea9=-parseInt(_0x2674ed(0x27b))/0x1+parseInt(_0x2674ed(0x167))/0x2+parseInt(_0x2674ed(0x14a))/0x3*(parseInt(_0x2674ed(0x39c))/0x4)+-parseInt(_0x2674ed(0x3c9))/0x5+-parseInt(_0x2674ed(0x337))/0x6+-parseInt(_0x2674ed(0x115))/0x7*(-parseInt(_0x2674ed(0x1b5))/0x8)+-parseInt(_0x2674ed(0xdb))/0x9*(-parseInt(_0x2674ed(0x25a))/0xa);if(_0x1f0ea9===_0x1aab62)break;else _0x6df638['push'](_0x6df638['shift']());}catch(_0x45ed6f){_0x6df638['push'](_0x6df638['shift']());}}}(_0x3935,0x9c7f1),function(_0x3c72b4,_0x3dace0){const _0x40ca94=_0x47d5;typeof exports==_0x40ca94(0x278)&&typeof module<'u'?_0x3dace0(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=='function'&&define[_0x40ca94(0x1b4)]?define(['exports',_0x40ca94(0x1f3),_0x40ca94(0x343),_0x40ca94(0x397),_0x40ca94(0x395),'rxjs','@univerjs-pro/license',_0x40ca94(0x248),_0x40ca94(0x16c),_0x40ca94(0x1c7)],_0x3dace0):(_0x3c72b4=typeof globalThis<'u'?globalThis:_0x3c72b4||self,_0x3dace0(_0x3c72b4['UniverProSheetsPivot']={},_0x3c72b4[_0x40ca94(0x3b0)],_0x3c72b4['UniverCore'],_0x3c72b4['UniverEngineFormula'],_0x3c72b4['UniverSheets'],_0x3c72b4[_0x40ca94(0x281)],_0x3c72b4['UniverProLicense'],_0x3c72b4[_0x40ca94(0xd5)],_0x3c72b4[_0x40ca94(0x3ba)],_0x3c72b4[_0x40ca94(0x1ce)]));}(this,function(_0x3f103d,_0x3d0452,_0x1e403a,_0x26e928,_0x3c5050,_0x4473ec,_0x22652d,_0x37788a,_0x2bbeb7,_0x3493d4){'use strict';const _0xce9d13=_0x47d5;var _0x4f0b3e=Object[_0xce9d13(0x1c4)],_0x567d64=(_0x515b35,_0x2d8bfb,_0x25bb1f)=>_0x2d8bfb in _0x515b35?_0x4f0b3e(_0x515b35,_0x2d8bfb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25bb1f}):_0x515b35[_0x2d8bfb]=_0x25bb1f,_0x1c9350=(_0x3adc3a,_0x67d7bf,_0x186124)=>_0x567d64(_0x3adc3a,typeof _0x67d7bf!=_0xce9d13(0x23d)?_0x67d7bf+'':_0x67d7bf,_0x186124);const _0x46b221=Number['parseInt'](0x68be5551),_0x115b7a=0x10,_0x3a3f36=0x1,_0x3349fa=_0xce9d13(0x1c5),_0x5a941a=0x1,_0x50303f=_0xce9d13(0xd8),_0x19917b=_0xce9d13(0x112),_0x23a7f7=_0xce9d13(0x190),_0x290087='#f4f4f5',_0x14979e=_0xce9d13(0x31a),_0x19fb76=_0xce9d13(0x3b1),_0x178fc6=_0xce9d13(0x132),_0x184914=_0xce9d13(0x2e1),_0x6367d1='#e6ebfa',_0x5443d1=_0xce9d13(0x132),_0x24e0d5=_0xce9d13(0x2e1),_0x4b3a61=_0xce9d13(0x165),_0x21ed76=0xe,_0x5c6d54=0x6;var _0x19e307=(_0x16ee09=>(_0x16ee09[_0xce9d13(0x35e)]=_0xce9d13(0x104),_0x16ee09[_0xce9d13(0x1e2)]=_0xce9d13(0x1ba),_0x16ee09))(_0x19e307||{});const _0x1dd396={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x455459=0x1e,_0x3e12fe={'b':{'s':0x1,'cl':{'rgb':_0x23a7f7}},'l':{'s':0x1,'cl':{'rgb':_0x23a7f7}},'r':{'s':0x1,'cl':{'rgb':_0x23a7f7}},'t':{'s':0x1,'cl':{'rgb':_0x23a7f7}}},_0x4ef785={'bg':{'rgb':_0x50303f},'ht':0x2,'vt':0x2,'tb':0x1},_0x5f5a3f={'bg':{'rgb':_0x19917b},'ht':0x2,'vt':0x2,'tb':0x1},_0x401a48={'rowStyle':{'bg':{'rgb':_0x4b3a61},'bd':_0x3e12fe,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x5443d1},'bd':null,'cl':{'rgb':_0x24e0d5},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x3e12fe,'bg':{'rgb':_0x6367d1},'vt':0x2},'cornerStyle':{'bd':_0x3e12fe,'bg':{'rgb':_0x19fb76},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x3e12fe,'bg':{'rgb':_0x290087},'vt':0x2},'leafStyle':{'bd':_0x3e12fe,'bg':{'rgb':_0x14979e},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x178fc6},'cl':{'rgb':_0x184914},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x3e12fe,'vt':0x2}};function _0xfa607d(_0x3d1dd6,_0xe084e8,_0x15547c){const _0x19e616=_0xce9d13,_0x27925e=_0x3d1dd6[_0x19e616(0x159)](_0x1e403a[_0x19e616(0x110)]),_0x4aff57=_0x15547c['split']('_');switch(_0xe084e8){case _0x3d0452[_0x19e616(0x2ab)][_0x19e616(0x32e)]:return _0x27925e['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x4aff57);case _0x3d0452[_0x19e616(0x2ab)]['Minute']:return _0x27925e['t'](_0x19e616(0x2c9),..._0x4aff57);case _0x3d0452[_0x19e616(0x2ab)]['Hour']:return _0x27925e['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x4aff57);case _0x3d0452[_0x19e616(0x2ab)][_0x19e616(0x3b8)]:return _0x27925e['t'](_0x19e616(0x1ff),..._0x4aff57);case _0x3d0452[_0x19e616(0x2ab)][_0x19e616(0x194)]:return _0x27925e['t'](_0x19e616(0x2a2),..._0x4aff57);case _0x3d0452['PivotDateGroupFieldDateTypeEnum'][_0x19e616(0x3c4)]:return _0x27925e['t'](_0x19e616(0x2cc),..._0x4aff57);case _0x3d0452[_0x19e616(0x2ab)]['Quarter']:return _0x27925e['t'](_0x19e616(0x116),..._0x4aff57);case _0x3d0452['PivotDateGroupFieldDateTypeEnum']['YearMonth']:return _0x27925e['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x4aff57);case _0x3d0452[_0x19e616(0x2ab)]['YearMonthDate']:return _0x27925e['t'](_0x19e616(0x354),..._0x4aff57);case _0x3d0452[_0x19e616(0x2ab)]['YearQuarter']:return _0x27925e['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x4aff57);}return'';}const _0x8bca66=(_0xdb928,_0x205f67,_0x106c0f,_0x4bc0ef)=>{const _0x521c6d=_0xce9d13;let _0x270cff;const _0x2e2ab7=_0xdb928[_0x521c6d(0x159)](_0x1e403a[_0x521c6d(0x175)])[_0x521c6d(0x325)](_0x1e403a['UniverInstanceType'][_0x521c6d(0x1da)]);if(!_0x2e2ab7)return null;const _0x3aeea9=_0x2e2ab7[_0x521c6d(0x10b)]();let _0x419a17;if(_0x106c0f&&(_0x419a17=_0x3aeea9[_0x521c6d(0x39e)](_0x106c0f)),_0x205f67!=null&&_0x205f67['v']||(_0x205f67==null?void 0x0:_0x205f67['v'])===0x0){_0x270cff||(_0x270cff={});const _0x50d919=_0x3760fc(_0x205f67['v']);typeof _0x50d919==_0x521c6d(0x38a)?_0x270cff['t']=_0x1e403a[_0x521c6d(0x32d)][_0x521c6d(0x22d)]:typeof _0x50d919=='string'&&(_0x270cff['t']=_0x1e403a['CellValueType']['STRING']),_0x270cff['v']=_0x50d919;}if((_0x205f67!=null&&_0x205f67['i']||(_0x205f67==null?void 0x0:_0x205f67['i'])===0x0)&&(_0x270cff||(_0x270cff={}),_0x270cff['fi']=_0x205f67['i']),_0x205f67!=null&&_0x205f67['s']&&(_0x270cff||(_0x270cff={}),_0x270cff[_0x521c6d(0x1ef)]=_0x205f67['s']),_0x106c0f&&(_0x270cff||(_0x270cff={}),_0x270cff['s']=_0x419a17),_0x4bc0ef&&_0x270cff!=null&&_0x270cff['v']&&_0x270cff['pbt']!==_0x3d0452['PivotCellStyleTypeEnum']['GrandTotal']&&_0x270cff[_0x521c6d(0x1ef)]!==_0x3d0452[_0x521c6d(0x18a)]['Subtotal']){const _0xc93abd=String(_0x270cff['v']),{dateType:_0x55a803}=_0x4bc0ef;_0x270cff['v']=_0xfa607d(_0xdb928,_0x55a803,_0xc93abd),_0x270cff['t']=_0x1e403a['CellValueType']['STRING'];}return _0x270cff;},_0x2053f0=(_0x398f6e,_0x1877df,_0x156187,_0x33d463)=>{const _0x2d3629=_0xce9d13;var _0x4da9ca,_0x2f3d36,_0x300031,_0x9a1b43,_0x2ed00b,_0x5b11b0,_0x36e243,_0x2bf39d,_0x186f9b,_0x3fc8cc,_0x4e19da,_0x282706,_0x2f536a,_0x40f95f;const _0x32b89e=_0x156187[_0x2d3629(0x200)],{cornerView:_0x312866,rowView:_0x1d36fc,colView:_0x3ef6a8,dataView:_0x4d99f7,pageView:_0x23e5a1,formatMap:_0x26bbfe,groupInfo:_0x3c4c78}=_0x1877df,{row:_0x2947f8,col:_0x307142}=_0x32b89e,_0x2bbcb2=new _0x1e403a[(_0x2d3629(0x1c3))](),_0xa65933={},_0x42318f={},_0x167f68={},_0x540d42={},_0x146310={};let _0x997ea0=_0x2947f8,_0x5dfa75=_0x307142;Object[_0x2d3629(0x136)](_0x23e5a1[_0x2d3629(0x20d)])['forEach'](_0x1aec65=>{const _0x24d42c=_0x2d3629;Object[_0x24d42c(0x136)](_0x23e5a1['data'][Number(_0x1aec65)])[_0x24d42c(0xf7)](_0x547b45=>{const _0x366935=_0x24d42c,_0x1fe620={..._0x23e5a1[_0x366935(0x20d)][Number(_0x1aec65)][Number(_0x547b45)]};_0x2bbcb2[_0x366935(0x39e)](Number(_0x1aec65)+_0x997ea0,Number(_0x547b45)+_0x5dfa75,_0x8bca66(_0x398f6e,_0x1fe620,_0x401a48[_0x366935(0x39b)]));});});const _0x18d1a7=Object['keys'](_0x23e5a1['data'])[_0x2d3629(0x392)];_0x997ea0+=_0x18d1a7+(_0x18d1a7?_0x5a941a:0x0);const _0x528ab6=_0x312866[_0x2d3629(0x2f6)](),_0x482962=_0x312866[_0x2d3629(0x375)]();for(let _0xe8c84c=0x0;_0xe8c84c<_0x528ab6;_0xe8c84c++)for(let _0x3681fd=0x0;_0x3681fd<_0x482962;_0x3681fd++){const _0x2281b1={...(_0x2f3d36=(_0x4da9ca=_0x312866[_0x2d3629(0x20d)])==null?void 0x0:_0x4da9ca[_0xe8c84c])==null?void 0x0:_0x2f3d36[_0x3681fd]};_0x2281b1&&((_0x300031=_0x1d36fc[_0x2d3629(0x118)][_0x3681fd])!=null&&_0x300031[_0x2d3629(0xfa)])&&_0x3681fd===_0x482962-0x1&&_0xe8c84c===_0x528ab6-0x1&&(_0x2281b1['v']=''+_0x33d463[_0x2d3629(0x111)]),_0x2bbcb2[_0x2d3629(0x39e)](_0xe8c84c+_0x997ea0,_0x3681fd+_0x5dfa75,_0x8bca66(_0x398f6e,_0x2281b1,_0x401a48[_0x2d3629(0x244)]));}for(let _0x153ada=0x0;_0x153ada<_0x312866[_0x2d3629(0xcb)][_0x2d3629(0x392)];_0x153ada++)_0x312866[_0x2d3629(0xcb)][_0x153ada]&&(_0x167f68[''+(_0x153ada+_0x5dfa75)]=_0x312866['info'][_0x153ada]);_0x5dfa75+=_0x482962;const _0x345b10=_0x3ef6a8[_0x2d3629(0x118)],_0x3c192b=_0x3ef6a8[_0x2d3629(0x309)]()>=0x0?_0x3ef6a8['getLastRow']()+0x1:0x0,_0x43bc1c=_0x3ef6a8[_0x2d3629(0xe5)]()>=0x0?_0x3ef6a8['getLastCol']()+0x1:0x0;for(let _0x21fa44=0x0;_0x21fa44<_0x43bc1c;_0x21fa44++){for(let _0x1098b8=0x0;_0x1098b8<_0x3c192b;_0x1098b8++){const _0x123f3b={...(_0x2ed00b=(_0x9a1b43=_0x3ef6a8[_0x2d3629(0x20d)])==null?void 0x0:_0x9a1b43[_0x1098b8])==null?void 0x0:_0x2ed00b[_0x21fa44]},_0x455389=(_0x5b11b0=_0x345b10[_0x1098b8])==null?void 0x0:_0x5b11b0['tableFieldId'],_0x3674ce=_0x26bbfe[_0x455389],_0x5a16f4=_0x3c4c78[_0x455389];_0x123f3b&&(_0x123f3b['v']=_0x21a738(_0x123f3b,_0x1098b8===0x0&&((_0x36e243=_0x3ef6a8[_0x2d3629(0x2cf)](_0x21fa44+0x1))==null?void 0x0:_0x36e243[_0x2d3629(0xfa)]),_0x3674ce,_0x33d463));let _0xe5a68a;_0x3674ce?_0xe5a68a={..._0x401a48[_0x2d3629(0x17a)],'n':{'pattern':_0x3674ce}}:_0xe5a68a={..._0x401a48['colStyle']},_0x2bbcb2[_0x2d3629(0x39e)](_0x1098b8+_0x997ea0,_0x21fa44+_0x5dfa75,_0x8bca66(_0x398f6e,_0x123f3b,_0xe5a68a,_0x5a16f4));}_0x3ef6a8['info'][_0x21fa44]&&(_0x42318f[''+(_0x21fa44+_0x5dfa75)]=_0x3ef6a8['info'][_0x21fa44]),_0x3ef6a8['headerMap'][_0x21fa44+0x1]&&(_0x146310[''+(_0x21fa44+_0x997ea0+0x1)]=_0x3ef6a8[_0x2d3629(0x118)][_0x21fa44+0x1]);}_0x997ea0+=_0x528ab6;const _0x4cb777=_0x1d36fc[_0x2d3629(0x118)],_0x55aa78=_0x1d36fc[_0x2d3629(0x309)]()>=0x0?_0x1d36fc['getLastRow']()+0x1:0x0,_0x5cca62=_0x1d36fc['getLastCol']()>=0x0?_0x1d36fc['getLastCol']()+0x1:0x0;for(let _0x527a93=0x0;_0x527a93<_0x55aa78;_0x527a93++){for(let _0xed9896=0x0;_0xed9896<_0x5cca62;_0xed9896++){const _0x4ae546={...(_0x186f9b=(_0x2bf39d=_0x1d36fc['data'])==null?void 0x0:_0x2bf39d[_0x527a93])==null?void 0x0:_0x186f9b[_0xed9896]},_0x2a2336=(_0x3fc8cc=_0x4cb777[_0xed9896])==null?void 0x0:_0x3fc8cc['tableFieldId'],_0x78dbdc=_0x26bbfe[_0x2a2336],_0xc3c5a4=_0x3c4c78[_0x2a2336];_0x4ae546&&(_0x4ae546['v']=_0x21a738(_0x4ae546,!0x1,_0x78dbdc,_0x33d463));let _0x2eb60a;_0x1d36fc[_0x2d3629(0xcb)][_0x527a93][_0x2d3629(0x23b)]===_0x1d36fc['getColCount']()?_0x2eb60a=_0x401a48['leafStyle']:_0x1d36fc['info'][_0x527a93][_0x2d3629(0x1c1)]?_0x2eb60a=_0x1d36fc[_0x2d3629(0xcb)][_0x527a93]['level']===0x0?_0x401a48[_0x2d3629(0x195)]:_0x401a48[_0x2d3629(0x1c8)]:_0x2eb60a=_0x401a48[_0x2d3629(0x33d)],_0x78dbdc&&(_0x2eb60a={..._0x2eb60a,'n':{'pattern':_0x78dbdc}}),_0x2bbcb2[_0x2d3629(0x39e)](_0x527a93+_0x997ea0,_0xed9896+_0x307142,_0x8bca66(_0x398f6e,_0x4ae546,_0x2eb60a,_0xc3c5a4));}_0x1d36fc[_0x2d3629(0xcb)][_0x527a93]&&(_0xa65933[''+(_0x527a93+_0x997ea0)]=_0x1d36fc[_0x2d3629(0xcb)][_0x527a93]),_0x1d36fc[_0x2d3629(0x118)][_0x527a93]&&(_0x540d42[''+(_0x527a93+_0x307142)]=_0x1d36fc['headerMap'][_0x527a93]);}const _0x4acd63=_0x4d99f7['getRowCount'](),_0x2869ad=_0x4d99f7[_0x2d3629(0x375)]();for(let _0x2eab17=0x0;_0x2eab17<_0x4acd63;_0x2eab17++)for(let _0x57c2b5=0x0;_0x57c2b5<_0x2869ad;_0x57c2b5++){const _0xe68725={...(_0x282706=(_0x4e19da=_0x4d99f7[_0x2d3629(0x20d)])==null?void 0x0:_0x4e19da[_0x2eab17])==null?void 0x0:_0x282706[_0x57c2b5]};let _0x57c4a0;_0x1d36fc[_0x2d3629(0xcb)][_0x2eab17][_0x2d3629(0x1c1)]?_0x57c4a0=_0x1d36fc[_0x2d3629(0xcb)][_0x2eab17][_0x2d3629(0x23b)]===0x0?_0x401a48['grandTotal']:_0x401a48[_0x2d3629(0x1c8)]:_0x57c4a0=_0x401a48['dataStyle'];const _0x1df1f4=_0x1d36fc['info'][_0x2eab17][_0x2d3629(0x211)],_0x80354d=_0x3ef6a8[_0x2d3629(0xcb)][_0x57c2b5][_0x2d3629(0x211)],_0x4db184=Math['max'](_0x1df1f4,_0x80354d),_0x3c9f6e=_0x156187[_0x2d3629(0x142)]['valueFields']['concat']();let _0x1fb97c='';_0x4db184<0x0?_0x1fb97c=(_0x2f536a=_0x3c9f6e[0x0])!=null?_0x2f536a:'':_0x1fb97c=(_0x40f95f=_0x3c9f6e[_0x4db184])!=null?_0x40f95f:'';const _0x2e76e2=_0x26bbfe[_0x1fb97c];_0x2e76e2&&(_0x57c4a0={..._0x57c4a0,'n':{'pattern':_0x2e76e2}}),_0x2bbcb2[_0x2d3629(0x39e)](_0x2eab17+_0x997ea0,_0x57c2b5+_0x5dfa75,_0x8bca66(_0x398f6e,_0xe68725,_0x57c4a0));}return{'valueMatrix':_0x2bbcb2,'rowInfo':_0xa65933,'colInfo':_0x42318f,'cornerInfo':_0x167f68,'rowHeaderMap':_0x540d42,'colHeaderMap':_0x146310};};function _0x21a738(_0x1af3e0,_0x19a1f1,_0x323243,_0x3f6963){const _0x5de264=_0xce9d13;let _0x34c93d=_0x1af3e0['v'];_0x19a1f1&&(_0x34c93d=''+_0x3f6963[_0x5de264(0x111)]);const _0x1fc7fa=_0x1af3e0['t']&&(_0x1af3e0['t']&_0x3d0452[_0x5de264(0x263)][_0x5de264(0x2fe)])>0x0;if(_0x1fc7fa&&(_0x34c93d=''+_0x3f6963[_0x5de264(0x3a6)]),_0x1af3e0['s']===_0x3d0452[_0x5de264(0x18a)][_0x5de264(0x16f)]){let _0x15fbe4=_0x34c93d,_0xf759da='';_0x3d0452['isPrefixValue'](_0x34c93d)&&(_0x15fbe4=_0x34c93d['prefix'],_0xf759da=_0x34c93d['value']);const _0x4fe37=_0x323243&&!_0x1fc7fa?_0x1e403a[_0x5de264(0x33c)][_0x5de264(0xd1)](_0x323243,Number(_0x15fbe4)):_0x15fbe4;_0xf759da?_0x34c93d=_0x4fe37+'\x20'+_0xf759da:_0x34c93d=_0x4fe37+'\x20'+_0x3f6963[_0x5de264(0x3a3)];}else _0x1af3e0['s']===_0x3d0452[_0x5de264(0x18a)][_0x5de264(0x119)]&&(_0x34c93d=_0x34c93d+'\x20'+_0x3f6963[_0x5de264(0x3b9)]);return _0x34c93d;}function _0x3760fc(_0x40587c){const _0x2078e2=_0xce9d13;if(_0x3d0452[_0x2078e2(0x225)](_0x40587c)){const {errorType:_0x412de2}=_0x40587c;switch(_0x412de2){case _0x3d0452[_0x2078e2(0x1ac)][_0x2078e2(0x370)]:return _0x26e928[_0x2078e2(0xf9)][_0x2078e2(0x349)];case _0x3d0452[_0x2078e2(0x1ac)][_0x2078e2(0x35c)]:return _0x26e928[_0x2078e2(0xf9)]['NUM'];case _0x3d0452['PivotErrorTypeEnum'][_0x2078e2(0x2ee)]:return _0x26e928[_0x2078e2(0xf9)][_0x2078e2(0x287)];case _0x3d0452[_0x2078e2(0x1ac)]['NotName']:return _0x26e928[_0x2078e2(0xf9)][_0x2078e2(0x287)];case _0x3d0452[_0x2078e2(0x1ac)]['BadReference']:return _0x26e928[_0x2078e2(0xf9)][_0x2078e2(0x31e)];}}return _0x40587c;}function _0x389d38(_0x51c689,_0x7a0ba4,_0x319ed1=!0x1,_0x5d5ef9=!0x1){const _0x470e43=_0xce9d13,{data:_0x129f83}=_0x7a0ba4,_0x27ab4a=_0x7a0ba4[_0x470e43(0x2f6)](),_0x3e1092=_0x7a0ba4['getColCount']();if(_0x27ab4a<=0x0||_0x3e1092<=0x0)return[];const _0x423a85=_0x7a0ba4[_0x470e43(0xe5)](),_0x51a37e=_0x7a0ba4[_0x470e43(0x309)](),_0x1cfa82=_0x5d5ef9?_0x51a37e>=0x0?_0x51a37e+0x1:0x0:_0x27ab4a,_0x14f2de=_0x5d5ef9?_0x423a85>=0x0?_0x423a85+0x1:0x0:_0x3e1092,{row:_0x250cda,col:_0x5d046c}=_0x51c689,_0x5c91ff=_0x250cda,_0x58fc5b=_0x5d046c;if(_0x319ed1){const _0x42f2ed=[];for(const [_0x11fce4,_0x5e640b]of Object['entries'](_0x129f83))for(const [_0x51a82a,_0x483fd8]of Object[_0x470e43(0x2b1)](_0x5e640b))_0x42f2ed[_0x470e43(0x374)](_0x1e403a['cellToRange'](_0x5c91ff+Number(_0x11fce4),_0x58fc5b+Number(_0x51a82a)));return _0x42f2ed;}else{const _0xb490bd=_0x5d5ef9?_0x1cfa82>0x0?0x1:0x0:0x1,_0x330f54=_0x5d5ef9?_0x14f2de>0x0?0x1:0x0:0x1,_0x2ed226=_0x250cda+_0x1cfa82-_0xb490bd,_0x401327=_0x5d046c+_0x14f2de-_0x330f54;return[{'startRow':_0x5c91ff,'startColumn':_0x58fc5b,'endRow':_0x2ed226,'endColumn':_0x401327}];}}const _0x258c3b=_0xce9d13(0x2c4),_0x4af12f='SHEET_PIVOT_EXCLUSIVE_ID';var _0x3149f6=(_0x247f11=>(_0x247f11[_0xce9d13(0x293)]='filter',_0x247f11['Panel']=_0xce9d13(0x1d7),_0x247f11[_0xce9d13(0x13d)]='addPivotField',_0x247f11[_0xce9d13(0xe9)]=_0xce9d13(0xe9),_0x247f11[_0xce9d13(0x277)]='addPivotTable',_0x247f11[_0xce9d13(0xd0)]=_0xce9d13(0x209),_0x247f11[_0xce9d13(0x289)]=_0xce9d13(0x3c2),_0x247f11[_0xce9d13(0x260)]=_0xce9d13(0x131),_0x247f11[_0xce9d13(0x367)]=_0xce9d13(0x2a5),_0x247f11[_0xce9d13(0x38f)]=_0xce9d13(0x35b),_0x247f11[_0xce9d13(0x297)]='setPivotSetting',_0x247f11['UpdatePivotSource']='updatePivotSource',_0x247f11['UpdateValuePosition']=_0xce9d13(0x35d),_0x247f11[_0xce9d13(0x351)]=_0xce9d13(0x317),_0x247f11[_0xce9d13(0x216)]=_0xce9d13(0x266),_0x247f11[_0xce9d13(0x24c)]='setPivotTableConfig',_0x247f11[_0xce9d13(0x28f)]=_0xce9d13(0x1d8),_0x247f11))(_0x3149f6||{});const _0x59b216={'sheets-pivot.blankValue':_0xce9d13(0x242),'sheets-pivot.columnName':_0xce9d13(0x2a4),'sheets-pivot.subTotalText':_0xce9d13(0x173),'sheets-pivot.grandTotalText':_0xce9d13(0x27e),'sheets-pivot.valueText':_0xce9d13(0x34d),'sheets-pivot.averageName':_0xce9d13(0x2db),'sheets-pivot.countName':_0xce9d13(0x28c),'sheets-pivot.countNumsName':_0xce9d13(0x28c),'sheets-pivot.maxName':_0xce9d13(0x3a2),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0xce9d13(0x2d1),'sheets-pivot.varpName':_0xce9d13(0x228),'sheets-pivot.subTotal':_0xce9d13(0x16f),'sheets-pivot.grandTotal':_0xce9d13(0x27e),'sheets-pivot.value':_0xce9d13(0x364),'sheets-pivot.blank':'blank','sheets-pivot.emptyPivot.filter':_0xce9d13(0x293),'sheets-pivot.emptyPivot.row':_0xce9d13(0x19d),'sheets-pivot.emptyPivot.column':_0xce9d13(0x140),'sheets-pivot.emptyPivot.values':'Values'},_0x38cd5e={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x52eec6=_0x1e403a[_0xce9d13(0x2fd)](_0xce9d13(0x296)),_0x53a8d4=_0x1e403a[_0xce9d13(0x15b)](_0xce9d13(0x359));var _0x1e3d92=(_0x25753f=>(_0x25753f[_0xce9d13(0x213)]=_0xce9d13(0x213),_0x25753f[_0xce9d13(0x2eb)]='delete',_0x25753f[_0xce9d13(0xe3)]=_0xce9d13(0xe3),_0x25753f))(_0x1e3d92||{}),_0x574a36=(_0x3de87f=>(_0x3de87f[_0xce9d13(0x254)]=_0xce9d13(0x213),_0x3de87f['Set']='set',_0x3de87f['Delete']=_0xce9d13(0x2eb),_0x3de87f))(_0x574a36||{});const _0x29a24b={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x23e)],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},_0x3e8d0b={'type':_0x1e403a['CommandType'][_0xce9d13(0x23e)],'id':_0xce9d13(0x199),'handler':()=>!0x0},_0x55ed11={'type':_0x1e403a['CommandType'][_0xce9d13(0x23e)],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x1a5e76={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x23e)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0xaf9b9e={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x23e)],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0};var _0x1adc2b=Object[_0xce9d13(0x386)],_0x29746c=(_0x47939f,_0x19309c,_0x514bcd,_0x24f9c7)=>{const _0x3a1b03=_0xce9d13;for(var _0x2169d7=_0x24f9c7>0x1?void 0x0:_0x24f9c7?_0x1adc2b(_0x19309c,_0x514bcd):_0x19309c,_0x17071e=_0x47939f[_0x3a1b03(0x392)]-0x1,_0x4fa600;_0x17071e>=0x0;_0x17071e--)(_0x4fa600=_0x47939f[_0x17071e])&&(_0x2169d7=_0x4fa600(_0x2169d7)||_0x2169d7);return _0x2169d7;},_0x192dde=(_0x41253e,_0x2d364f)=>(_0x4fd292,_0x6cf6de)=>_0x2d364f(_0x4fd292,_0x6cf6de,_0x41253e);_0x3f103d['SheetsPivotRPCService']=class extends _0x1e403a[_0xce9d13(0x33e)]{constructor(_0x2eb9dd){const _0x4965c5=_0xce9d13;super(),_0x1c9350(this,_0x4965c5(0x237),new Map()),this[_0x4965c5(0x1a2)]=_0x2eb9dd;}[_0xce9d13(0x137)](_0x10f161){const _0x1e9fc0=_0xce9d13,{version:_0xe790de}=_0x10f161,_0x35a81e=this[_0x1e9fc0(0x237)][_0x1e9fc0(0x159)](_0xe790de);_0x35a81e&&(_0x35a81e(_0x10f161),this[_0x1e9fc0(0x237)][_0x1e9fc0(0x2eb)](_0xe790de));}[_0xce9d13(0x2cb)](_0x3c8549){return new Promise((_0x1bccaf,_0xc67ab)=>{const _0x178340=_0x47d5,_0x15599c=this['_generateUniqueVersion']();this[_0x178340(0x237)][_0x178340(0x1ae)](_0x15599c,_0x1bccaf),this[_0x178340(0x1a2)][_0x178340(0x171)](_0x29a24b['id'],{'version':_0x15599c,..._0x3c8549},{'onlyLocal':!0x0});});}[_0xce9d13(0x1ea)](){const _0x2dafbc=_0xce9d13;return Math[_0x2dafbc(0x36e)]()[_0x2dafbc(0xfc)](0x24)['substring'](0x2,0x10);}},_0x3f103d['SheetsPivotRPCService']=_0x29746c([_0x192dde(0x0,_0x1e403a[_0xce9d13(0x2e6)](_0x1e403a[_0xce9d13(0x290)]))],_0x3f103d[_0xce9d13(0x177)]);const _0x599970={0x0:'R',0x1:'x',0x2:'c',0x3:'1',0x4:'K',0x5:'U',0x6:'l',0x7:'f',0x8:'q',0x9:'6','k':'0','l':'2','Q':'3','u':'4','B':'5','b':'7','H':'8','r':'9','E':'a','f':'b','R':'d','y':'e','z':'g','Y':'h','j':'i','G':'j','J':'k','S':'m','q':'n','w':'o','A':'p','t':'r','X':'s','h':'t','V':'u','F':'v','W':'w','n':'y','M':'z','o':'A','v':'B','D':'C','O':'D','I':'E','C':'F','p':'G','s':'H','K':'I','e':'J','T':'L','L':'M','P':'N','d':'O','Z':'P','g':'Q','N':'S','U':'T','x':'V','m':'W','c':'X','i':'Y','a':'Z'},_0x162ba2=_0xce9d13(0x185),_0x1380bb=_0x54b802=>{const _0x310531=_0xce9d13;var _0x198015;return((_0x198015=_0x54b802[_0x310531(0x29d)])==null?void 0x0:_0x198015['dataStream']['replace'](/\r\n$/,''))||'';};class _0x27be19 extends _0x3d0452[_0xce9d13(0x19f)]{constructor(_0x30a119,_0x4aac32){const _0x52cba8=_0xce9d13;super(),_0x1c9350(this,_0x52cba8(0x219),{}),_0x1c9350(this,'_univerInstanceService'),_0x1c9350(this,_0x52cba8(0x11c)),(this[_0x52cba8(0x26a)]=_0x4aac32,this[_0x52cba8(0x11c)]=_0x30a119);}['initDataRanges'](){const _0x2efb60=_0xce9d13;for(const _0x1f2e1d in this[_0x2efb60(0x16b)]){const _0x13605d=this[_0x2efb60(0x16b)][_0x1f2e1d],_0x5aecfc=_0x13605d['getRangeKey']();this[_0x2efb60(0x219)][_0x5aecfc]=_0x13605d[_0x2efb60(0x203)]();}}[_0xce9d13(0x3c8)](){const _0x32d971=_0xce9d13,_0x1c222e=this[_0x32d971(0x11c)];return _0x4895be[_0x32d971(0x32b)](_0x1c222e);}[_0xce9d13(0x360)](_0x352477){const _0x37af3b=_0xce9d13,_0x4bff04=this[_0x37af3b(0x16b)][_0x352477][_0x37af3b(0x1a6)];delete this['dataFields'][_0x352477],delete this[_0x37af3b(0x219)][_0x4bff04];}[_0xce9d13(0x14b)](_0x1ad40d){const _0x17657c=_0xce9d13;this[_0x17657c(0x16b)][_0x1ad40d[_0x17657c(0x203)]()]=_0x1ad40d;}['removeCollectionImp'](_0x43ef5a){const _0x54ac93=_0xce9d13;var _0x396326,_0x62ed5f;const _0x384985=this[_0x54ac93(0x11c)][_0x54ac93(0x283)](_0x43ef5a);if(_0x384985){const {unitId:_0x344ffe,subUnitId:_0x143c20}=_0x384985,_0x28b915=(_0x396326=this[_0x54ac93(0x11c)]['getPivotTableConfig'](_0x344ffe,_0x143c20,_0x43ef5a))==null?void 0x0:_0x396326[_0x54ac93(0x243)];this[_0x54ac93(0x11c)][_0x54ac93(0xf1)]({'token':_0x43ef5a,'type':_0x1e3d92['delete'],'dataRangeInfo':_0x28b915});}(_0x62ed5f=this['getCollection'](_0x43ef5a))==null||_0x62ed5f['dispose'](),delete this[_0x54ac93(0x2a8)][_0x43ef5a];}['getRangeKey'](_0x92c08f,_0x53c03d){const _0x3d367a=_0xce9d13,{sheetName:_0x7ffc44,unitId:_0x218eec,range:_0x3b8fdc}=_0x92c08f,{startRow:_0x1147a2,endRow:_0x5108bb}=_0x3b8fdc;return _0x26e928[_0x3d367a(0x19e)](_0x218eec,_0x7ffc44,{'startRow':_0x1147a2,'endRow':_0x5108bb,'startColumn':_0x53c03d,'endColumn':_0x53c03d});}[_0xce9d13(0x226)](_0x2e811f){const _0x3b8a04=_0xce9d13;return this[_0x3b8a04(0x16b)][this[_0x3b8a04(0x219)][_0x2e811f]];}[_0xce9d13(0x256)](_0x442c95,_0x3dfece){const _0x2d56b7=_0xce9d13;this[_0x2d56b7(0x219)][_0x442c95]=_0x3dfece;}[_0xce9d13(0x1ec)](_0xb159bb,_0x32791b){const _0x46f02c=_0xce9d13;this[_0x46f02c(0x219)][_0x32791b]=this[_0x46f02c(0x219)][_0xb159bb],delete this['rangeKeyMap'][_0xb159bb];}['addCollectionByJSON'](_0x5b4d69,_0x5fa3ed,_0x2fc0d3,_0x3092b2){const _0x75126f=_0xce9d13,_0x301cdd=new _0x3d0452[(_0x75126f(0x141))](this);_0x301cdd[_0x75126f(0x323)](_0x5fa3ed);const _0x5b27ae=[];let _0x44578c=0x0;for(const _0x13b16d of _0x301cdd[_0x75126f(0x2d0)]){const _0x44e6b9=this[_0x75126f(0x328)](_0x2fc0d3,_0x44578c),_0x1c4c86=this['dataFields'][_0x13b16d];_0x1c4c86&&(_0x1c4c86[_0x75126f(0x1a6)]=_0x44e6b9,this[_0x75126f(0x256)](_0x44e6b9,_0x13b16d),_0x5b27ae[_0x75126f(0x374)]({'index':_0x44578c,'dataField':_0x1c4c86})),_0x44578c++;}return this['addCollection'](_0x5b4d69,_0x301cdd,_0x2fc0d3,_0x3092b2),{'collection':_0x301cdd,'updateDataFieldList':_0x5b27ae};}[_0xce9d13(0x2df)](_0x27beb1,_0x88e8df){const _0x11f110=_0xce9d13;return _0x27beb1[_0x11f110(0x139)]===_0x1e403a[_0x11f110(0xfd)][_0x11f110(0xd4)]?{'startRow':0x0,'startColumn':_0x27beb1[_0x11f110(0x29f)],'endRow':_0x88e8df[_0x11f110(0x2f6)]()-0x1,'endColumn':_0x27beb1['endColumn']}:{'startRow':_0x27beb1[_0x11f110(0x2f5)],'startColumn':_0x27beb1[_0x11f110(0x29f)],'endRow':_0x27beb1[_0x11f110(0x34a)],'endColumn':_0x27beb1[_0x11f110(0x25c)]};}['createCollectionWithDataRange'](_0x2f6808){const _0x5ccb2f=_0xce9d13,{sheetName:_0x4ada95,range:_0x11d8ca}=_0x2f6808,_0x2ef1a0=this['_univerInstanceService'][_0x5ccb2f(0x325)](_0x1e403a[_0x5ccb2f(0x1c6)][_0x5ccb2f(0x1da)]),_0x1a6345=_0x2ef1a0[_0x5ccb2f(0x307)](_0x4ada95),_0x449be4=_0x1a6345['getCellMatrix'](),{startColumn:_0x4ee8b0,startRow:_0x25c178,endColumn:_0x3c2aa4}=this[_0x5ccb2f(0x2df)](_0x11d8ca,_0x1a6345),_0x24e151=_0x2ef1a0[_0x5ccb2f(0x10b)](),_0x51ee1c=new _0x3d0452[(_0x5ccb2f(0x141))](this);_0x51ee1c['setRange'](_0x2f6808);const _0x27e3e4=[],_0x215fb8={};for(let _0xaa054e=_0x4ee8b0;_0xaa054e<=_0x3c2aa4;_0xaa054e++){const _0x5b1d17=_0x449be4['getValue'](_0x25c178,_0xaa054e),_0x7da21a=this[_0x5ccb2f(0x328)](_0x2f6808,_0xaa054e),_0x5c9c16=this[_0x5ccb2f(0x226)](_0x7da21a);if(_0x5c9c16)_0x51ee1c[_0x5ccb2f(0x339)](_0x5c9c16['getId'](),_0x5c9c16['getName']());else{const _0x35656f=this['createDataFieldId']();let _0x765ce6=this['adjustSheetCellData'](_0x5b1d17,_0x24e151,_0x215fb8);_0x3d0452['isDateValue'](_0x765ce6)&&(_0x765ce6=_0x1e403a[_0x5ccb2f(0x33c)][_0x5ccb2f(0xd1)](_0x765ce6['f'],Number(_0x765ce6['v'])));const _0x4c0dd8=this[_0x5ccb2f(0x12a)](_0x765ce6,_0xaa054e),_0x1d69a3=new _0x3d0452['DataField'](_0x35656f,_0x4c0dd8,_0x3d0452[_0x5ccb2f(0x2f1)](0x3));_0x1d69a3[_0x5ccb2f(0x1a6)]=_0x7da21a,this[_0x5ccb2f(0x16b)][_0x35656f]=_0x1d69a3,_0x51ee1c[_0x5ccb2f(0x339)](_0x35656f,_0x4c0dd8),_0x27e3e4[_0x5ccb2f(0x374)]({'index':_0xaa054e,'dataField':_0x1d69a3});}}return{'updateDataFieldList':_0x27e3e4,'collection':_0x51ee1c};}['_getAutoName'](_0x5e43ac){const _0x3bad49=_0xce9d13;return this[_0x3bad49(0x11c)][_0x3bad49(0x179)]()[_0x3bad49(0x235)]+'\x20'+_0x1e403a[_0x3bad49(0xe0)](_0x5e43ac);}[_0xce9d13(0x12a)](_0x4ad908,_0x3fae10){const _0x2311c7=_0xce9d13;return _0x4ad908==null||_0x4ad908===''?this[_0x2311c7(0x3a9)](_0x3fae10):String(_0x4ad908);}[_0xce9d13(0x2f7)](_0x50a078){const _0x3447da=_0xce9d13;return this[_0x3447da(0x2a8)][_0x50a078];}[_0xce9d13(0xe7)](_0x204499,_0x1167dd,_0x544ebd,_0x10321d){const _0x2f1bb2=_0xce9d13;this[_0x2f1bb2(0x2a8)][_0x204499]=_0x1167dd,_0x1167dd['setRange'](_0x544ebd),this[_0x2f1bb2(0x11c)][_0x2f1bb2(0xf1)]({'token':_0x204499,'type':_0x1e3d92['add'],'dataRangeInfo':_0x544ebd,'targetCellInfo':_0x10321d});}[_0xce9d13(0x3ad)](_0x368f7f,_0x3b6491){const _0x8feea6=_0xce9d13,_0x2ab4cc=this[_0x8feea6(0x2f7)](_0x368f7f),_0x13138d=_0x2ab4cc[_0x8feea6(0x164)]();let _0x5d9e88=0x0;for(const _0x218440 of _0x13138d){const _0x4ef221=_0x2ab4cc[_0x8feea6(0x1b3)](_0x218440),_0x1afcbc=this['getRangeKey'](_0x3b6491,_0x5d9e88);this[_0x8feea6(0x1ec)](_0x4ef221[_0x8feea6(0x1a6)],_0x1afcbc),_0x5d9e88++;}}[_0xce9d13(0x2d3)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0xce9d13(0x3bc)](_0x24ba45,_0x1200e2){const _0x2a9c37=_0xce9d13;if(this[_0x2a9c37(0x2f7)](_0x24ba45)){const _0x3db5a6=this[_0x2a9c37(0x2fb)](_0x1200e2),_0x58b220=[];for(const _0x267370 of _0x3db5a6)this[_0x2a9c37(0x219)][_0x267370]!==void 0x0&&_0x58b220['push'](this[_0x2a9c37(0x219)][_0x267370]);const _0x37e671=this[_0x2a9c37(0xf2)](_0x24ba45),_0xc65c6f=[],_0x17839a=new Set(_0x58b220);for(const _0x2f7265 of _0x37e671)_0x17839a[_0x2a9c37(0x22e)](_0x2f7265)||_0xc65c6f['push'](_0x2f7265);return _0xc65c6f;}}[_0xce9d13(0x330)](_0x7a16a3,_0x123d87,_0x470fc7,_0x5af7e3,_0x5c7554){const _0x139582=_0xce9d13;return _0x123d87&&_0x123d87[_0x139582(0x150)](_0x5af7e3,_0x5c7554)?_0x123d87['getValue'](_0x5af7e3,_0x5c7554):_0x470fc7&&_0x470fc7[_0x139582(0x150)](_0x5af7e3,_0x5c7554)?_0x470fc7[_0x139582(0x150)](_0x5af7e3,_0x5c7554):_0x7a16a3[_0x139582(0x150)](_0x5af7e3,_0x5c7554);}[_0xce9d13(0x10c)](_0x5a5c07,_0x367485,_0x3a1b28,_0x2881a9){const _0x3a7804=_0xce9d13,_0x4c8de5=this[_0x3a7804(0x16b)][_0x5a5c07];if(!_0x4c8de5)return;const {subUnitId:_0x2abed9,range:_0x2efc1f,unitId:_0x2c927b}=_0x367485,_0x199ddd=this[_0x3a7804(0x26a)][_0x3a7804(0x18c)](_0x2c927b);if(!_0x199ddd){console[_0x3a7804(0x14f)](_0x3a7804(0x154));return;}const _0x3bdb2a=_0x199ddd[_0x3a7804(0x284)](_0x2abed9),_0x8b7989=_0x3bdb2a[_0x3a7804(0x1be)](),{arrayFormulaCellDataMatrix:_0x1b81cb,unitDataMatrix:_0x116f13}=_0x2881a9||{},{startRow:_0xd1a88,startColumn:_0x535c4e,endRow:_0x503be7}=this[_0x3a7804(0x2df)](_0x2efc1f,_0x3bdb2a);_0x4c8de5[_0x3a7804(0x22c)]();const _0x5e4a3c=_0x199ddd[_0x3a7804(0x10b)](),_0xd0e37b={},_0x467df2=this[_0x3a7804(0x330)](_0x8b7989,_0x1b81cb,_0x116f13,_0xd1a88,_0x535c4e+_0x3a1b28);let _0x5e5a08=this['adjustSheetCellData'](_0x467df2,_0x5e4a3c,_0xd0e37b);_0x3d0452[_0x3a7804(0x1a9)](_0x5e5a08)&&(_0x5e5a08=_0x1e403a[_0x3a7804(0x33c)][_0x3a7804(0xd1)](_0x5e5a08['f'],Number(_0x5e5a08['v'])));const _0x21a333=this['uniqueDataFieldName'](_0x5e5a08,_0x535c4e+_0x3a1b28);_0x4c8de5['setName'](_0x21a333);for(let _0xd4c1e7=_0xd1a88+0x1;_0xd4c1e7<=_0x503be7;_0xd4c1e7++){const _0x3cb319=this[_0x3a7804(0x330)](_0x8b7989,_0x1b81cb,_0x116f13,_0xd4c1e7,_0x535c4e+_0x3a1b28);_0x4c8de5['addRecord'](this[_0x3a7804(0x389)](_0x3cb319,_0x5e4a3c,_0xd0e37b),_0xd4c1e7-0x1-_0xd1a88);}}[_0xce9d13(0x356)](_0x2ec15f,_0x5a61de,_0x83b52e){const _0x3ce614=_0xce9d13,{subUnitId:_0x169495,range:_0x3e60b3,unitId:_0x3422c8}=_0x83b52e,_0x1be05c=this['_univerInstanceService'][_0x3ce614(0x18c)](_0x3422c8);if(!_0x1be05c){console[_0x3ce614(0x14f)](_0x3ce614(0x154));return;}const _0x5d33ea=_0x1be05c['getSheetBySheetId'](_0x169495),_0x2ad888=_0x5d33ea['getCellMatrix'](),{startRow:_0x29fc76,startColumn:_0x215d9c,endRow:_0x4974dd}=this['getRangeStartEndInfo'](_0x3e60b3,_0x5d33ea),_0x34b553=_0x1be05c[_0x3ce614(0x10b)](),_0x366007={};for(const {dataField:_0x4100e7,index:_0x4f72bc}of _0x5a61de){_0x4100e7[_0x3ce614(0x22c)]();const _0x5198d8=this[_0x3ce614(0x330)](_0x2ad888,void 0x0,void 0x0,_0x29fc76,_0x215d9c+_0x4f72bc);let _0xc59e7e=this[_0x3ce614(0x389)](_0x5198d8,_0x34b553,_0x366007);_0x3d0452['isDateValue'](_0xc59e7e)&&(_0xc59e7e=_0x1e403a[_0x3ce614(0x33c)][_0x3ce614(0xd1)](_0xc59e7e['f'],Number(_0xc59e7e['v'])));const _0x2e8e50=this['uniqueDataFieldName'](_0xc59e7e,_0x215d9c+_0x4f72bc);_0x4100e7['setName'](_0x2e8e50);}_0x2ec15f[_0x3ce614(0x184)]();for(let _0x2ecf3b=_0x29fc76+0x1;_0x2ecf3b<=_0x4974dd;_0x2ecf3b++)for(const {index:_0x39cf69,dataField:_0x241378}of _0x5a61de){const _0x2eb884=_0x2ad888[_0x3ce614(0x150)](_0x2ecf3b,_0x215d9c+_0x39cf69);_0x241378[_0x3ce614(0x13b)](this['adjustSheetCellData'](_0x2eb884,_0x34b553,_0x366007),_0x2ecf3b-0x1-_0x29fc76);}_0x2ec15f[_0x3ce614(0x2ef)](_0x4974dd-_0x29fc76);}[_0xce9d13(0x2fb)](_0x3b85d8){const _0x3e1ef9=_0xce9d13,{range:_0x369ddb}=_0x3b85d8,{startColumn:_0xed4d09,endColumn:_0x195c38}=_0x369ddb,_0x2cee2c=[];for(let _0x185898=_0xed4d09;_0x185898<=_0x195c38;_0x185898++)_0x2cee2c[_0x3e1ef9(0x374)](this[_0x3e1ef9(0x328)](_0x3b85d8,_0x185898));return _0x2cee2c;}[_0xce9d13(0x389)](_0x5e2ce9,_0x3effcf,_0x33e01d){const _0x4509c6=_0xce9d13;if(_0x5e2ce9){const {s:_0xf10830,v:_0x45cbe5,t:_0x25d61f,p:_0x1ed5b2}=_0x5e2ce9;if(_0x1ed5b2)return _0x1380bb(_0x1ed5b2);const _0x76b0b6=_0x3effcf[_0x4509c6(0x159)](_0xf10830);if(_0x76b0b6&&_0x25d61f===_0x1e403a[_0x4509c6(0x32d)][_0x4509c6(0x22d)]&&_0x76b0b6['n']){const {pattern:_0x353391}=_0x76b0b6['n'];_0x33e01d[_0x353391]||(_0x33e01d[_0x353391]=_0x1e403a[_0x4509c6(0x33c)][_0x4509c6(0x20b)](_0x353391));const _0x4d96dc=_0x33e01d[_0x353391],_0x22149d=_0x4d96dc[_0x4509c6(0x1fc)];if(_0x4d96dc['isText'])return String(_0x45cbe5);if(_0x22149d)return{'v':_0x45cbe5,'f':_0x353391};}if(_0x25d61f===_0x1e403a[_0x4509c6(0x32d)][_0x4509c6(0x22d)])return Number(_0x45cbe5);if(_0x25d61f===_0x1e403a[_0x4509c6(0x32d)][_0x4509c6(0x238)]||_0x25d61f===_0x1e403a['CellValueType'][_0x4509c6(0x240)])return String(_0x45cbe5);if(_0x25d61f===void 0x0){const _0x134181=Number(_0x45cbe5);if(!Number[_0x4509c6(0x15a)](_0x134181)&&String(_0x134181)===_0x45cbe5)return _0x134181;}return _0x45cbe5!=null?_0x45cbe5:null;}else return null;}[_0xce9d13(0x2e4)](_0xd0c30f){const _0xde6129=_0xce9d13,{sheetName:_0x2b56d9,range:_0x2ae0ec,unitId:_0x1a2182}=_0xd0c30f,_0x175100=this[_0xde6129(0x26a)][_0xde6129(0x18c)](_0x1a2182);if(!_0x175100)return console[_0xde6129(0x14f)](_0xde6129(0x154)),{'header':[],'data':[]};const _0x43e51e=_0x175100[_0xde6129(0x307)](_0x2b56d9),_0x2f030c=_0x43e51e[_0xde6129(0x1be)](),{startRow:_0x4256a8,startColumn:_0xbeb5a7,endRow:_0xfb8cbd,endColumn:_0x17c34f}=this[_0xde6129(0x2df)](_0x2ae0ec,_0x43e51e),_0x44455a=_0x175100[_0xde6129(0x10b)](),_0x106a23=[],_0x3995b8=[],_0xc26cb6={};for(let _0x287ae7=_0x4256a8;_0x287ae7<=_0xfb8cbd;_0x287ae7++){const _0x44ac51=[];for(let _0x1fe8c8=_0xbeb5a7;_0x1fe8c8<=_0x17c34f;_0x1fe8c8++){const _0x1f0955=_0x2f030c['getValue'](_0x287ae7,_0x1fe8c8);_0x287ae7===_0x4256a8?_0x106a23[_0xde6129(0x374)](_0x1f0955==null?null:String(_0x1f0955['v'])):_0x44ac51[_0xde6129(0x374)](this['adjustSheetCellData'](_0x1f0955,_0x44455a,_0xc26cb6));}_0x3995b8[_0xde6129(0x374)](_0x44ac51);}return{'header':_0x106a23,'data':_0x3995b8};}[_0xce9d13(0x363)](){const _0xa96f40=_0xce9d13;return super[_0xa96f40(0x363)]();}['fromJSON'](_0x2e7db8){const _0x10fdf1=_0xce9d13;super[_0x10fdf1(0x323)](_0x2e7db8),this[_0x10fdf1(0x396)]();}[_0xce9d13(0xfe)](){const _0x141b20=_0xce9d13;super[_0x141b20(0xfe)](),this[_0x141b20(0x219)]={},this[_0x141b20(0x11c)]=null;}}const _0x1a551d=_0xb50768=>{const _0x26932e=_0xce9d13,{targetCellInfo:_0x27de30}=_0xb50768,{matrixCache:_0x69821b,rangesCache:_0x5109e6}=_0x4cc9bf({'filter':_0x26932e(0x293),'row':_0x26932e(0x19d),'column':'Column','values':_0x26932e(0x377)},_0x27de30),_0x3d9ffd=new _0x1e403a[(_0x26932e(0x1c3))]();return _0x69821b['forValue']((_0x359b16,_0x311cea,_0x710593)=>{const _0x15ce85=_0x26932e;_0x3d9ffd[_0x15ce85(0x39e)](_0x359b16,_0x311cea,_0x710593);}),{'matrix':_0x3d9ffd,'rangesCache':_0x5109e6};},_0x2e6c87=_0x3191bc=>{const _0x335ea3=_0xce9d13;let _0x1bd6c7;if(_0x3191bc!=null&&_0x3191bc['v']||(_0x3191bc==null?void 0x0:_0x3191bc['v'])===0x0){_0x1bd6c7||(_0x1bd6c7={});const _0xd57926=_0x3760fc(_0x3191bc['v']);typeof _0xd57926==_0x335ea3(0x38a)?_0x1bd6c7['t']=_0x1e403a['CellValueType'][_0x335ea3(0x22d)]:typeof _0xd57926==_0x335ea3(0x1b0)&&(_0x1bd6c7['t']=_0x1e403a[_0x335ea3(0x32d)][_0x335ea3(0x238)]),_0x1bd6c7['v']=_0xd57926;}return _0x1bd6c7;},_0x4ca133=(_0x4ba1f0,_0x5df925,_0x488ce4)=>{const _0x2556d7=_0xce9d13;var _0x5e35c3,_0x346877,_0x29369b,_0x4a3ce1,_0x2c8cfa,_0x3502c9,_0x2d3863,_0x5c062d,_0x30f342,_0x43eb62,_0x33914b,_0x50db6f;const {cornerView:_0x485422,rowView:_0x4cf34a,colView:_0x564661,dataView:_0x23dcab,pageView:_0x32ed05,formatMap:_0x4f3b3b}=_0x4ba1f0,{row:_0x346931,col:_0x136d20}=_0x5df925,_0x11c788=new _0x1e403a['ObjectMatrix']();let _0xd6a8a6=_0x346931,_0x2dc1e0=_0x136d20;Object[_0x2556d7(0x136)](_0x32ed05[_0x2556d7(0x20d)])[_0x2556d7(0xf7)](_0x17aa00=>{const _0x47cd41=_0x2556d7;Object['keys'](_0x32ed05[_0x47cd41(0x20d)][Number(_0x17aa00)])[_0x47cd41(0xf7)](_0x41b250=>{const _0x4d4e6a=_0x47cd41,_0x1541c1={..._0x32ed05[_0x4d4e6a(0x20d)][Number(_0x17aa00)][Number(_0x41b250)]};_0x11c788['setValue'](Number(_0x17aa00)+_0xd6a8a6,Number(_0x41b250)+_0x2dc1e0,_0x2e6c87(_0x1541c1));});});const _0x3f8f0c=Object[_0x2556d7(0x136)](_0x32ed05[_0x2556d7(0x20d)])[_0x2556d7(0x392)];_0xd6a8a6+=_0x3f8f0c+(_0x3f8f0c?_0x5a941a:0x0);const _0x1182ff=_0x485422[_0x2556d7(0x2f6)](),_0x1cd17a=_0x485422[_0x2556d7(0x375)]();for(let _0x266501=0x0;_0x266501<_0x1182ff;_0x266501++)for(let _0x1261e2=0x0;_0x1261e2<_0x1cd17a;_0x1261e2++){const _0x542636={...(_0x346877=(_0x5e35c3=_0x485422[_0x2556d7(0x20d)])==null?void 0x0:_0x5e35c3[_0x266501])==null?void 0x0:_0x346877[_0x1261e2]};_0x542636&&((_0x29369b=_0x4cf34a[_0x2556d7(0x118)][_0x1261e2])!=null&&_0x29369b[_0x2556d7(0xfa)])&&_0x1261e2===_0x1cd17a-0x1&&_0x266501===_0x1182ff-0x1&&(_0x542636['v']=''+_0x488ce4['sheets-pivot.value']),_0x11c788[_0x2556d7(0x39e)](_0x266501+_0xd6a8a6,_0x1261e2+_0x2dc1e0,_0x2e6c87(_0x542636));}_0x2dc1e0+=_0x1cd17a;const _0x2dafde=_0x564661[_0x2556d7(0x118)],_0x245f8d=_0x564661[_0x2556d7(0x309)]()>=0x0?_0x564661['getLastRow']()+0x1:0x0,_0x1c04d8=_0x564661[_0x2556d7(0xe5)]()>=0x0?_0x564661[_0x2556d7(0xe5)]()+0x1:0x0;for(let _0x2ff6cd=0x0;_0x2ff6cd<_0x1c04d8;_0x2ff6cd++)for(let _0x1fecb5=0x0;_0x1fecb5<_0x245f8d;_0x1fecb5++){const _0x4ebf96={...(_0x2c8cfa=(_0x4a3ce1=_0x564661[_0x2556d7(0x20d)])==null?void 0x0:_0x4a3ce1[_0x2ff6cd])==null?void 0x0:_0x2c8cfa[_0x1fecb5]},_0x3f780e=(_0x3502c9=_0x2dafde[_0x2ff6cd])==null?void 0x0:_0x3502c9['tableFieldId'],_0x41afbf=_0x4f3b3b[_0x3f780e];_0x4ebf96&&(_0x4ebf96['v']=_0x21a738(_0x4ebf96,_0x2ff6cd===0x0&&((_0x2d3863=_0x564661[_0x2556d7(0x2cf)](_0x1fecb5+0x1))==null?void 0x0:_0x2d3863[_0x2556d7(0xfa)]),_0x41afbf,_0x488ce4)),_0x11c788[_0x2556d7(0x39e)](_0x2ff6cd+_0xd6a8a6,_0x1fecb5+_0x2dc1e0,_0x2e6c87(_0x4ebf96));}_0xd6a8a6+=_0x1182ff;const _0xc3c6a1=_0x4cf34a['headerMap'],_0x3bf63f=_0x4cf34a[_0x2556d7(0x309)]()>=0x0?_0x4cf34a[_0x2556d7(0x309)]()+0x1:0x0,_0x165bfa=_0x4cf34a[_0x2556d7(0xe5)]()>=0x0?_0x4cf34a[_0x2556d7(0xe5)]()+0x1:0x0;for(let _0x305642=0x0;_0x305642<_0x3bf63f;_0x305642++)for(let _0x591fd1=0x0;_0x591fd1<_0x165bfa;_0x591fd1++){const _0x3405f1={...(_0x30f342=(_0x5c062d=_0x4cf34a['data'])==null?void 0x0:_0x5c062d[_0x305642])==null?void 0x0:_0x30f342[_0x591fd1]},_0x497cb2=(_0x43eb62=_0xc3c6a1[_0x591fd1])==null?void 0x0:_0x43eb62['tableFieldId'],_0x544bdf=_0x4f3b3b[_0x497cb2];_0x3405f1&&(_0x3405f1['v']=_0x21a738(_0x3405f1,!0x1,_0x544bdf,_0x488ce4)),_0x11c788[_0x2556d7(0x39e)](_0x305642+_0xd6a8a6,_0x591fd1+_0x136d20,_0x2e6c87(_0x3405f1));}const _0x1f7b52=_0x23dcab[_0x2556d7(0x2f6)](),_0x5b4155=_0x23dcab[_0x2556d7(0x375)]();for(let _0x3c7d77=0x0;_0x3c7d77<_0x1f7b52;_0x3c7d77++)for(let _0x1b7bdb=0x0;_0x1b7bdb<_0x5b4155;_0x1b7bdb++){const _0x1ae7d9={...(_0x50db6f=(_0x33914b=_0x23dcab[_0x2556d7(0x20d)])==null?void 0x0:_0x33914b[_0x3c7d77])==null?void 0x0:_0x50db6f[_0x1b7bdb]};_0x11c788[_0x2556d7(0x39e)](_0x3c7d77+_0xd6a8a6,_0x1b7bdb+_0x2dc1e0,_0x2e6c87(_0x1ae7d9));}return _0x11c788;},_0x3f896d=_0x2d3b3c=>{const _0x1ee498=_0xce9d13,{view:_0x4ed6c2,targetCellInfo:_0x3f67f5,isEmpty:_0x4f09e5,textInfo:_0x4d18a7}=_0x2d3b3c;if(_0x4f09e5)return _0x1a551d(_0x2d3b3c);const {pageView:_0x16ca31,cornerView:_0x5df4ba,rowView:_0x542ea7,colView:_0x3a452c,dataView:_0x3065b9}=_0x4ed6c2,_0x2cd3b4=_0x389d38(_0x3f67f5,_0x16ca31,!0x0),_0x4e2161=_0x16ca31[_0x1ee498(0x2d8)]>=0x0?_0x16ca31['lastRow']+0x1:0x0,_0x42199f=_0x5df4ba[_0x1ee498(0x2f6)](),_0x353d77=_0x5df4ba[_0x1ee498(0x375)](),_0x269ffd=_0x2cd3b4[_0x1ee498(0x392)]>0x0?_0x5a941a:0x0,_0x384526=_0x389d38({'row':_0x3f67f5[_0x1ee498(0x299)]+_0x4e2161+_0x269ffd,'col':_0x3f67f5[_0x1ee498(0xfb)]},_0x5df4ba,!0x1,!0x1),_0x3e7f0d=_0x389d38({'row':_0x3f67f5['row']+_0x4e2161+_0x269ffd+_0x42199f,'col':_0x3f67f5[_0x1ee498(0xfb)]},_0x542ea7,!0x1,!0x0),_0x4cf114=_0x389d38({'row':_0x3f67f5[_0x1ee498(0x299)]+_0x4e2161+_0x269ffd,'col':_0x3f67f5[_0x1ee498(0xfb)]+_0x353d77},_0x3a452c,!0x1,!0x0),_0x44dacb=_0x389d38({'row':_0x3f67f5[_0x1ee498(0x299)]+_0x4e2161+_0x269ffd+_0x42199f,'col':_0x3f67f5[_0x1ee498(0xfb)]+_0x353d77},_0x3065b9,!0x1,!0x1),_0x22e4c5={'rowRanges':_0x3e7f0d,'colRanges':_0x4cf114,'cornerRanges':_0x384526,'dataRanges':_0x44dacb,'pageRanges':_0x2cd3b4};return{'matrix':_0x4ca133(_0x4ed6c2,_0x3f67f5,_0x4d18a7),'rangesCache':_0x22e4c5};};var _0x50e18b=Object['getOwnPropertyDescriptor'],_0x45060c=(_0x2f7d60,_0x54b6,_0x34022a,_0x102f0d)=>{const _0x52c5a5=_0xce9d13;for(var _0x290e67=_0x102f0d>0x1?void 0x0:_0x102f0d?_0x50e18b(_0x54b6,_0x34022a):_0x54b6,_0x27d9ad=_0x2f7d60[_0x52c5a5(0x392)]-0x1,_0x79cb48;_0x27d9ad>=0x0;_0x27d9ad--)(_0x79cb48=_0x2f7d60[_0x27d9ad])&&(_0x290e67=_0x79cb48(_0x290e67)||_0x290e67);return _0x290e67;},_0x67c3ba=(_0x24dfb8,_0x255941)=>(_0x830164,_0x3b24a5)=>_0x255941(_0x830164,_0x3b24a5,_0x24dfb8);_0x3f103d[_0xce9d13(0x255)]=class extends _0x1e403a[_0xce9d13(0x33e)]{constructor(_0x479454,_0x360d82,_0x18b189,_0x4546ee,_0x325632){const _0x52f89d=_0xce9d13;super(),_0x1c9350(this,_0x52f89d(0x376),new Map()),_0x1c9350(this,_0x52f89d(0x1e1),new Map()),_0x1c9350(this,_0x52f89d(0x196),new Map()),_0x1c9350(this,_0x52f89d(0x3a1)),_0x1c9350(this,'_collectionChange$',new _0x4473ec[(_0x52f89d(0x22b))]()),_0x1c9350(this,_0x52f89d(0x3ac),this['_collectionChange$'][_0x52f89d(0x1bb)]()),_0x1c9350(this,_0x52f89d(0x27c),new _0x4473ec[(_0x52f89d(0x22b))]()),_0x1c9350(this,_0x52f89d(0x186),this['_viewData$']['asObservable']()),_0x1c9350(this,_0x52f89d(0x128),new _0x4473ec[(_0x52f89d(0x22b))]()),_0x1c9350(this,'fieldsCollectionChange$',this['_fieldsCollectionChange$'][_0x52f89d(0x1bb)]()),_0x1c9350(this,_0x52f89d(0x2c8),new Map()),_0x1c9350(this,_0x52f89d(0x2f4),[]),_0x1c9350(this,_0x52f89d(0x327),new Map()),(this[_0x52f89d(0x37f)]=_0x479454,this[_0x52f89d(0x26a)]=_0x360d82,this[_0x52f89d(0x1d6)]=_0x18b189,this[_0x52f89d(0x1a2)]=_0x4546ee,this[_0x52f89d(0x387)]=_0x325632,this[_0x52f89d(0x17e)]());}['getTextInfo'](){const _0x284a58=_0xce9d13;return this[_0x284a58(0x3a1)]?this['_textInfo']:_0x59b216;}['setTextInfo'](_0x3439f1){this['_textInfo']=_0x3439f1;}[_0xce9d13(0x3ad)](_0xd0f75e){const _0x5b036e=_0xce9d13;var _0x46aab2;const {from:_0x5adf53,to:_0x32af12,unitId:_0x50653e,fromRange:_0x3c875d,toRange:_0x103a00}=_0xd0f75e;if(_0x5adf53&&_0x32af12){const _0x512978=this['getDataFieldManager'](_0x50653e),_0x5550b2=this[_0x5b036e(0x376)]['get'](_0x50653e),_0x4d605a=(_0x46aab2=this[_0x5b036e(0x26a)][_0x5b036e(0x18c)](_0x50653e))==null?void 0x0:_0x46aab2[_0x5b036e(0x284)](_0x32af12[_0x5b036e(0x36c)]);if(!_0x5550b2||!_0x4d605a)return;const _0x68b9ce=_0x4d605a==null?void 0x0:_0x4d605a[_0x5b036e(0xe8)]();for(const [_0x5909c7,_0x51b9ee]of _0x5550b2[_0x5b036e(0x2b1)]())for(const [_0x3f3206,_0x6e1f1b]of _0x51b9ee[_0x5b036e(0x2b1)]()){const {sourceRangeInfo:_0x410bb3}=_0x6e1f1b;if(_0x410bb3[_0x5b036e(0x10f)]===_0x50653e&&_0x410bb3['subUnitId']===_0x5adf53[_0x5b036e(0x36c)]&&_0x1e403a[_0x5b036e(0x18b)][_0x5b036e(0x11b)](_0x3c875d,_0x410bb3[_0x5b036e(0x3d5)])){const _0x4abbae={'row':_0x410bb3['range'][_0x5b036e(0x2f5)]-_0x3c875d[_0x5b036e(0x2f5)],'col':_0x410bb3[_0x5b036e(0x3d5)][_0x5b036e(0x29f)]-_0x3c875d[_0x5b036e(0x29f)]},_0x44e7ee={'unitId':_0x50653e,'subUnitId':_0x32af12[_0x5b036e(0x36c)],'sheetName':_0x68b9ce,'range':{'startRow':_0x103a00[_0x5b036e(0x2f5)]+_0x4abbae[_0x5b036e(0x299)],'endRow':_0x103a00[_0x5b036e(0x2f5)]+_0x4abbae[_0x5b036e(0x299)]+_0x410bb3[_0x5b036e(0x3d5)][_0x5b036e(0x34a)]-_0x410bb3['range'][_0x5b036e(0x2f5)],'startColumn':_0x103a00[_0x5b036e(0x29f)]+_0x4abbae[_0x5b036e(0xfb)],'endColumn':_0x103a00[_0x5b036e(0x29f)]+_0x4abbae[_0x5b036e(0xfb)]+_0x410bb3[_0x5b036e(0x3d5)][_0x5b036e(0x25c)]-_0x410bb3[_0x5b036e(0x3d5)][_0x5b036e(0x29f)]}};_0x512978[_0x5b036e(0x3ad)](_0x3f3206,_0x44e7ee);const _0x59657b={..._0x6e1f1b,'sourceRangeInfo':_0x44e7ee};this[_0x5b036e(0x13c)](_0x50653e,_0x32af12[_0x5b036e(0x36c)],_0x3f3206,_0x59657b),this[_0x5b036e(0xf1)]({'unitId':_0x50653e,'token':_0x3f3206,'type':_0x1e3d92[_0x5b036e(0xe3)],'oldSourceRangeInfo':_0x410bb3,'dataRangeInfo':_0x44e7ee,'targetCellInfo':_0x6e1f1b[_0x5b036e(0x200)]}),this[_0x5b036e(0x276)]({'unitId':_0x50653e,'subUnitId':_0x32af12[_0x5b036e(0x36c)],'oldSubUnitId':_0x5909c7,'pivotTableId':_0x3f3206,'pivotTableConfig':_0x59657b,'collectionConfig':_0x512978[_0x5b036e(0x363)]()});}}}}[_0xce9d13(0xf1)](_0x53cf77){const _0x18093e=_0xce9d13;this['_collectionChange$'][_0x18093e(0x2bd)](_0x53cf77);}[_0xce9d13(0x1f2)](_0x45d98f){const _0x7b2c30=_0xce9d13;let _0x5cb1a6=this[_0x7b2c30(0x2c8)][_0x7b2c30(0x159)](_0x45d98f);return _0x5cb1a6||(_0x5cb1a6=new _0x27be19(this,this[_0x7b2c30(0x26a)]),this['_dataFieldManagerCollection'][_0x7b2c30(0x1ae)](_0x45d98f,_0x5cb1a6)),_0x5cb1a6;}[_0xce9d13(0x2f7)](_0xe5851d,_0x2e4bdf){const _0xd8a797=_0xce9d13;return this[_0xd8a797(0x1f2)](_0xe5851d)['collections'][_0x2e4bdf];}[_0xce9d13(0x3bc)](_0x1a0244,_0x27f601,_0x24d1ec){const _0x402681=_0xce9d13;return this[_0x402681(0x1f2)](_0x1a0244)['getUpdateRangeDeleteIds'](_0x27f601,_0x24d1ec);}[_0xce9d13(0x2f9)](_0x17f652,_0x30fa9b){const _0x35c2d6=_0xce9d13;let _0x176c0b=this[_0x35c2d6(0x376)][_0x35c2d6(0x159)](_0x17f652);_0x176c0b||(_0x176c0b=new Map(),this[_0x35c2d6(0x376)][_0x35c2d6(0x1ae)](_0x17f652,_0x176c0b));let _0x32d4e7=_0x176c0b['get'](_0x30fa9b);return _0x32d4e7||(_0x32d4e7=new Map(),_0x176c0b[_0x35c2d6(0x1ae)](_0x30fa9b,_0x32d4e7)),_0x32d4e7;}['_updateModelCache'](_0x516afd,_0x203cd7,_0x52e896,_0x3f4140){const _0x5dbd42=_0xce9d13;this['_ensurePivotMap'](_0x516afd,_0x203cd7)[_0x5dbd42(0x1ae)](_0x52e896,_0x3f4140);}['_deleteModelCache'](_0x35d2c2,_0x5d60d5,_0x279246){const _0x38843d=_0xce9d13;var _0x4592c9,_0x1dce4e,_0x4f9184,_0x431ae7;((_0x1dce4e=(_0x4592c9=this[_0x38843d(0x376)][_0x38843d(0x159)](_0x35d2c2))==null?void 0x0:_0x4592c9[_0x38843d(0x159)](_0x5d60d5))==null?void 0x0:_0x1dce4e[_0x38843d(0x159)](_0x279246))&&((_0x431ae7=(_0x4f9184=this[_0x38843d(0x376)]['get'](_0x35d2c2))==null?void 0x0:_0x4f9184[_0x38843d(0x159)](_0x5d60d5))==null||_0x431ae7[_0x38843d(0x2eb)](_0x279246));}[_0xce9d13(0x15e)](_0x51f27d,_0x13eaf8){const _0x1c851c=_0xce9d13;this[_0x1c851c(0x1e1)]['set'](_0x51f27d,_0x13eaf8);}[_0xce9d13(0x201)](_0x1adc79){const _0x5f5be2=_0xce9d13;this[_0x5f5be2(0x1e1)][_0x5f5be2(0x2eb)](_0x1adc79);}[_0xce9d13(0x27a)](_0xf74a0,_0x2d4a3c){const _0x8871e3=_0xce9d13;let _0x4d58e6=this[_0x8871e3(0x196)][_0x8871e3(0x159)](_0xf74a0);_0x4d58e6||(_0x4d58e6=new Map(),this['_viewData'][_0x8871e3(0x1ae)](_0xf74a0,_0x4d58e6));let _0x37adea=_0x4d58e6['get'](_0x2d4a3c);return _0x37adea||(_0x37adea=new Map(),_0x4d58e6[_0x8871e3(0x1ae)](_0x2d4a3c,_0x37adea)),_0x37adea;}['updateConfig'](_0x3ba03e){const _0x579ee2=_0xce9d13,{unitId:_0x18ead0,subUnitId:_0x11ba23,pivotTableId:_0x28d08f,pivotTableConfig:_0x2a2410,collectionConfig:_0xabae5}=_0x3ba03e,_0x26ed07={'unitId':_0x18ead0,'subUnitId':_0x11ba23,'oldSubUnitId':_0x11ba23,'pivotTableId':_0x28d08f,'pivotTableConfig':_0x2a2410,'collectionConfig':_0xabae5};this[_0x579ee2(0x1a2)][_0x579ee2(0x171)](_0x1a5e76['id'],_0x26ed07,{'onlyLocal':!0x0});}[_0xce9d13(0x3b2)](_0x5d93ac,_0x444e0f,_0x530064,_0x19fd29,_0x4224a5,_0x4ed08e,_0x244ee6,_0x52887e=!0x1){const _0x35cffa=_0xce9d13;var _0x545355;this[_0x35cffa(0x1a2)][_0x35cffa(0x171)](_0x55ed11['id'],{'single':{'unitId':_0x5d93ac,'subUnitId':_0x444e0f,'type':_0x530064,'pivotTableId':_0x19fd29,'view':_0x4224a5,'pivotConfig':_0x4ed08e},'collectionConfig':{[_0x5d93ac]:_0x244ee6}},{'onlyLocal':!0x0});const _0x1d98e3=!!((_0x545355=this[_0x35cffa(0x346)](_0x19fd29))!=null&&_0x545355[_0x35cffa(0x273)]()),_0xba5e76=this[_0x35cffa(0x292)](_0x5d93ac,_0x444e0f,_0x19fd29);_0xba5e76&&this['updateViewData']({'view':_0x4224a5,'pivotTableId':_0x19fd29,'textInfo':this[_0x35cffa(0x179)](),'isEmpty':_0x1d98e3,'targetCellInfo':_0xba5e76[_0x35cffa(0x200)]},_0x52887e);}[_0xce9d13(0x121)](_0x1decaa,_0x2f411d){const _0x5b07c9=_0xce9d13,{targetCellInfo:_0x4f91f1,pivotTableId:_0x44dd4f}=_0x1decaa,{unitId:_0x577dcf,subUnitId:_0x2f1098}=_0x4f91f1,_0x3a729f=this['_ensureViewDataMap'](_0x577dcf,_0x2f1098),_0x3d22c4=_0x3a729f['get'](_0x44dd4f);let _0x23c1b1,_0x16edc3;_0x3d22c4&&(_0x23c1b1=_0x3d22c4['rangeCache'],_0x16edc3=_0x3d22c4[_0x5b07c9(0x1bc)]);const {rangesCache:_0x5df183,matrix:_0x5c4c52}=_0x3f896d(_0x1decaa);_0x3a729f[_0x5b07c9(0x1ae)](_0x44dd4f,{'rangeCache':_0x5df183,'matrix':_0x5c4c52,'oldMatrix':_0x16edc3,'oldRangeCache':_0x23c1b1}),_0x2f411d||this[_0x5b07c9(0x27c)]['next']({'unitId':_0x577dcf,'subUnitId':_0x2f1098,'pivotTableId':_0x44dd4f});}['addPivotTable'](_0x38a4d0,_0x2e2ce7,_0x1ad1ce,_0x59ddfb,_0x3c664f){const _0x4c01d4=_0xce9d13;this[_0x4c01d4(0x13c)](_0x38a4d0,_0x2e2ce7,_0x1ad1ce,_0x3c664f),this['_updatePivotTableInstanceCache'](_0x1ad1ce,_0x59ddfb);}[_0xce9d13(0x336)](_0x1da07d,_0x182f2d,_0x362eb7){const _0x2316ed=_0xce9d13,_0x1aed68=this['getDataFieldManager'](_0x1da07d);_0x1aed68[_0x2316ed(0xf2)](_0x362eb7)[_0x2316ed(0xf7)](_0x4749c3=>{const _0x65463d=_0x2316ed;_0x1aed68[_0x65463d(0x360)](_0x4749c3);}),this[_0x2316ed(0x38c)](_0x1da07d,_0x362eb7),this[_0x2316ed(0x2e3)](_0x1da07d,_0x182f2d,_0x362eb7),this[_0x2316ed(0x201)](_0x362eb7);}[_0xce9d13(0x2d2)](_0x24fc1e,_0x12c48a,_0x5e7d13,_0x41de4d){const _0x54e1bc=_0xce9d13;this[_0x54e1bc(0x13c)](_0x24fc1e,_0x12c48a,_0x5e7d13,_0x41de4d);}['getPivotTableConfig'](_0x37fc93,_0x48b544,_0x27d0e1){const _0x4f2cf0=_0xce9d13;var _0x24bdbf,_0x16c855;const _0x73aaba=(_0x16c855=(_0x24bdbf=this[_0x4f2cf0(0x376)][_0x4f2cf0(0x159)](_0x37fc93))==null?void 0x0:_0x24bdbf[_0x4f2cf0(0x159)](_0x48b544))==null?void 0x0:_0x16c855[_0x4f2cf0(0x159)](_0x27d0e1);if(_0x73aaba)return _0x73aaba;}[_0xce9d13(0x310)](_0x558978,_0x163b7e,_0x5b956b){const _0x39f443=_0xce9d13;var _0x4f0bce,_0x17f9b3;const _0x362b9a=(_0x17f9b3=(_0x4f0bce=this[_0x39f443(0x376)][_0x39f443(0x159)](_0x558978))==null?void 0x0:_0x4f0bce[_0x39f443(0x159)](_0x163b7e))==null?void 0x0:_0x17f9b3[_0x39f443(0x159)](_0x5b956b);if(_0x362b9a)return _0x362b9a['fieldsConfig'];}[_0xce9d13(0x346)](_0x152399){return this['_pivotTableInstanceCache']['get'](_0x152399);}['deleteUnitId'](_0x40073a){const _0x34c6ae=_0xce9d13;this[_0x34c6ae(0x376)][_0x34c6ae(0x2eb)](_0x40073a);const _0x419bbd=this[_0x34c6ae(0x2c8)][_0x34c6ae(0x159)](_0x40073a);_0x419bbd&&(_0x419bbd[_0x34c6ae(0xfe)](),this[_0x34c6ae(0x2c8)][_0x34c6ae(0x2eb)](_0x40073a)),this[_0x34c6ae(0x196)][_0x34c6ae(0x2eb)](_0x40073a),this[_0x34c6ae(0x2f4)]['forEach'](_0x2f7c50=>{const _0x4b02c5=_0x34c6ae;_0x2f7c50[_0x4b02c5(0x1f7)](_0x40073a);});}[_0xce9d13(0x2a1)](_0x223116,_0x3c58e0,_0x3d9707,_0x1ba087){const _0x283f32=_0xce9d13;return this[_0x283f32(0x1f2)](_0x3d9707['unitId'])[_0x283f32(0x2a1)](_0x223116,_0x3c58e0,_0x3d9707,_0x1ba087);}[_0xce9d13(0x2b4)](_0x525992){const _0x14567f=_0xce9d13;return this[_0x14567f(0x1f2)](_0x525992[_0x14567f(0x10f)])[_0x14567f(0x2b4)](_0x525992);}[_0xce9d13(0x356)](_0x3ddfe0,_0x359d5b,_0x4f7c28){const _0x45aa95=_0xce9d13;this['getDataFieldManager'](_0x4f7c28[_0x45aa95(0x10f)])[_0x45aa95(0x356)](_0x3ddfe0,_0x359d5b,_0x4f7c28);}['removeDataField'](_0x3dda63,_0x338311){const _0x2e1406=_0xce9d13;this[_0x2e1406(0x1f2)](_0x3dda63)['deleteDataField'](_0x338311);}[_0xce9d13(0x38c)](_0x194181,_0x95359f){const _0x3b1c2b=_0xce9d13;this['getDataFieldManager'](_0x194181)[_0x3b1c2b(0x1f9)](_0x95359f);}['getSubUnitPivotConfigs'](_0x49bc52,_0x7f9d09){const _0x8fdd30=_0xce9d13;var _0x308f37;return(_0x308f37=this[_0x8fdd30(0x376)]['get'](_0x49bc52))==null?void 0x0:_0x308f37[_0x8fdd30(0x159)](_0x7f9d09);}[_0xce9d13(0x283)](_0x4f2e6b){const _0x202f62=_0xce9d13;for(const [_0x1dbc0f,_0x8e40fe]of this[_0x202f62(0x376)][_0x202f62(0x2b1)]())for(const [_0x3069ac,_0x224a12]of _0x8e40fe[_0x202f62(0x2b1)]())if(_0x224a12[_0x202f62(0x22e)](_0x4f2e6b))return{'unitId':_0x1dbc0f,'subUnitId':_0x3069ac};return null;}[_0xce9d13(0x17f)](_0x37ddb6,_0x4e8d16,_0x17aeb5,_0x2ef1ec){const _0x4576ec=_0xce9d13,_0x5692be=this['_ensureViewDataMap'](_0x37ddb6,_0x4e8d16);_0x2ef1ec?_0x5692be[_0x4576ec(0x1ae)](_0x17aeb5,_0x2ef1ec):_0x5692be['delete'](_0x17aeb5),this['_viewData$'][_0x4576ec(0x2bd)]({'unitId':_0x37ddb6,'subUnitId':_0x4e8d16,'pivotTableId':_0x17aeb5});}['dispose'](){const _0x5039bf=_0xce9d13;super[_0x5039bf(0xfe)]();}[_0xce9d13(0x170)](_0x3daac4,_0xcf7ae4,_0x920e7c){const _0x4f2774=_0xce9d13;var _0x46ded7,_0x5f8e25;const _0x440830=(_0x5f8e25=(_0x46ded7=this[_0x4f2774(0x196)][_0x4f2774(0x159)](_0x3daac4))==null?void 0x0:_0x46ded7[_0x4f2774(0x159)](_0xcf7ae4))==null?void 0x0:_0x5f8e25[_0x4f2774(0x159)](_0x920e7c);return _0x440830||null;}[_0xce9d13(0x231)](_0x3072eb){const _0x370107=_0xce9d13;this[_0x370107(0x1aa)](_0x3072eb);}[_0xce9d13(0x1aa)](_0x38d5a2){const _0x3195a6=_0xce9d13,{token:_0x37b4d3,unitId:_0x460b68,subUnitId:_0x28af4a}=_0x38d5a2,_0x7d4058=_0x460b68+'-'+_0x28af4a+'-'+_0x37b4d3;this[_0x3195a6(0x327)][_0x3195a6(0x159)](_0x7d4058)&&clearTimeout(this['_queryingMap'][_0x3195a6(0x159)](_0x7d4058));const _0x748cc4=setTimeout(()=>{const _0x5f163d=_0x3195a6;this['queryDirtyPivotTable'](_0x38d5a2),this[_0x5f163d(0x327)][_0x5f163d(0x2eb)](_0x7d4058);},_0x455459);this[_0x3195a6(0x327)][_0x3195a6(0x1ae)](_0x7d4058,_0x748cc4);}[_0xce9d13(0x2ba)](_0x2d1171){const _0x4cad31=_0xce9d13,{unitId:_0x5d1ce0,subUnitId:_0x11ef51,token:_0x56e65e,type:_0x79fd42,pivotConfig:_0x41b80a}=_0x2d1171,_0xfbe215=this['getPivotTableInstance'](_0x56e65e),_0x274897=_0xfbe215==null?void 0x0:_0xfbe215[_0x4cad31(0x1e0)](),_0x118891=_0x41b80a!=null?_0x41b80a:this[_0x4cad31(0x292)](_0x5d1ce0,_0x11ef51,_0x56e65e);_0x118891&&(_0x118891[_0x4cad31(0x273)]=!!(_0xfbe215!=null&&_0xfbe215['isEmpty']())),(_0x274897||_0x79fd42===_0x574a36[_0x4cad31(0x20f)])&&this[_0x4cad31(0x3b2)](_0x5d1ce0,_0x11ef51,_0x79fd42,_0x56e65e,_0x274897,_0x118891,this[_0x4cad31(0x1f2)](_0x5d1ce0)[_0x4cad31(0x363)]());}[_0xce9d13(0x363)](_0x3c28fe){const _0x4e860a=_0xce9d13,_0x4f7f2d={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x3c28fe)&&(_0x4f7f2d[_0x4e860a(0x12f)][_0x3c28fe]=this[_0x4e860a(0x1f2)](_0x3c28fe)[_0x4e860a(0x363)]()),this[_0x4e860a(0x376)][_0x4e860a(0x159)](_0x3c28fe)){_0x4f7f2d[_0x4e860a(0x1bd)][_0x3c28fe]={};const _0x556296=this[_0x4e860a(0x376)][_0x4e860a(0x159)](_0x3c28fe);_0x556296!=null&&_0x556296['size']&&[..._0x556296[_0x4e860a(0x136)]()][_0x4e860a(0xf7)](_0x403318=>{const _0x51996c=_0x4e860a,_0xc676e2=_0x556296[_0x51996c(0x159)](_0x403318);_0xc676e2!=null&&_0xc676e2['size']&&(_0x4f7f2d['pivotTableConfigs'][_0x3c28fe][_0x403318]={},[..._0xc676e2['keys']()]['forEach'](_0x9ae6db=>{const _0x2b9687=_0x51996c,_0x1ddda5=_0xc676e2['get'](_0x9ae6db);_0x1ddda5&&(_0x4f7f2d[_0x2b9687(0x1bd)][_0x3c28fe][_0x403318][_0x9ae6db]=_0x1ddda5);}));});}return _0x4f7f2d;}[_0xce9d13(0x323)](_0x2a4c34){const _0x15c778=_0xce9d13;var _0x459d85;const {dataFieldManagerConfig:_0x2a8c68,pivotTableConfigs:_0x29d021}=_0x2a4c34;_0x2a8c68&&Object[_0x15c778(0x136)](_0x2a8c68)[_0x15c778(0xf7)](_0x172c0d=>{const _0x5a80a1=_0x15c778;this[_0x5a80a1(0x1f2)](_0x172c0d)['fromJSON'](_0x2a8c68[_0x172c0d]);});const _0x56ada3=[];if(_0x29d021){const _0x8d1a4f=(_0x459d85=this[_0x15c778(0x37f)][_0x15c778(0x159)](_0x1e403a['IConfigService'])[_0x15c778(0xc7)](_0x22652d[_0x15c778(0x1a0)]))!=null?_0x459d85:{},{ls:_0x22d561,pbk:_0x4215f1}=_0x8d1a4f,_0x4671b0=_0x29a59c(_0x3a3f36,_0x22d561,_0x4215f1)['count'];Object[_0x15c778(0x136)](_0x29d021)['forEach'](_0x4505e2=>{const _0x524531=_0x15c778;let _0x138505=0x0;const _0x30b109=_0x29d021[_0x4505e2];Object[_0x524531(0x136)](_0x30b109)[_0x524531(0xf7)](_0x778d73=>{const _0x21821b=_0x524531,_0x421aea=_0x30b109[_0x778d73];Object['keys'](_0x421aea)[_0x21821b(0xf7)](_0x511c82=>{const _0x206b4c=_0x21821b,_0x4a3e89=_0x421aea[_0x511c82];if(_0x4a3e89){if(_0x138505>=_0x4671b0)return;_0x138505++;const _0x324f20=this['getDataFieldManager'](_0x4505e2),_0x307cc6=_0x324f20[_0x206b4c(0x2a8)][_0x511c82],_0x39dfc0=_0x307cc6[_0x206b4c(0x164)]();let _0x2e739c=0x0;const _0x3011ef=[];for(const _0x4c45d0 of _0x39dfc0){const _0x4fbfa0=_0x307cc6['getFieldById'](_0x4c45d0);if(_0x3d0452[_0x206b4c(0x2b2)](_0x4fbfa0)){const _0xff1781=_0x4fbfa0['getOriginFieldId'](),_0x5477e9=_0x307cc6[_0x206b4c(0x1b3)](_0xff1781);_0x5477e9&&_0x3011ef[_0x206b4c(0x374)]([_0x4fbfa0,_0x5477e9]);continue;}_0x324f20['refreshDataField'](_0x4c45d0,_0x4a3e89[_0x206b4c(0x243)],_0x2e739c),_0x2e739c++;}_0x3011ef[_0x206b4c(0xf7)](([_0x293d4f,_0x34ea2c])=>{const _0x1c3b29=_0x206b4c;_0x293d4f[_0x1c3b29(0x27f)](_0x34ea2c);});const _0x4c8c75=new _0x3d0452[(_0x206b4c(0x300))](_0x307cc6);_0x4c8c75[_0x206b4c(0x323)](_0x4a3e89[_0x206b4c(0x142)]),this[_0x206b4c(0x176)](_0x4505e2,_0x778d73,_0x511c82,_0x4c8c75,_0x4a3e89);const _0x25daaf=_0x4c8c75[_0x206b4c(0x1e0)]();_0x56ada3['push']({'unitId':_0x4505e2,'subUnitId':_0x778d73,'pivotTableId':_0x511c82,'view':_0x25daaf['toJSON'](),'pivotConfig':_0x4a3e89,'type':_0x574a36[_0x206b4c(0x254)]});const _0x33f918=!!_0x4c8c75[_0x206b4c(0x273)](),_0x2a8fd0={'view':_0x25daaf,'pivotTableId':_0x511c82,'textInfo':this[_0x206b4c(0x179)](),'isEmpty':_0x33f918,'targetCellInfo':_0x4a3e89['targetCellInfo']};this[_0x206b4c(0x121)](_0x2a8fd0,!0x1);}});});});}_0x2a8c68&&Object[_0x15c778(0x136)](_0x2a8c68)[_0x15c778(0xf7)](_0x19f33e=>{const _0xa0d987=_0x15c778,_0x3f8949=this[_0xa0d987(0x1f2)](_0x19f33e);this[_0xa0d987(0x128)]['next'](_0x3f8949[_0xa0d987(0x2a8)]);}),this[_0x15c778(0x1a2)]['executeCommand'](_0x55ed11['id'],{'batch':_0x56ada3,'collectionConfig':_0x2a8c68},{'onlyLocal':!0x0});}[_0xce9d13(0x17e)](){const _0x132c53=_0xce9d13;this['disposeWithMe'](this[_0x132c53(0x387)][_0x132c53(0x355)]({'toJson':_0x75c136=>JSON[_0x132c53(0xe1)](this[_0x132c53(0x363)](_0x75c136)),'parseJson':_0x181102=>{const _0x29e681=_0x132c53;if(!_0x181102)return{};try{return JSON[_0x29e681(0x2aa)](_0x181102);}catch{return{};}},'businesses':[_0x1e403a[_0x132c53(0x1c6)]['UNIVER_SHEET']],'pluginName':_0x3349fa,'onLoad':(_0x5ba901,_0x962d9d)=>{const _0x3a1eb6=_0x132c53;this[_0x3a1eb6(0x323)](_0x962d9d);},'onUnLoad':_0x56693c=>{const _0x400b72=_0x132c53;this[_0x400b72(0x1f7)](_0x56693c);}}));}},_0x3f103d[_0xce9d13(0x255)]=_0x45060c([_0x67c3ba(0x0,_0x1e403a[_0xce9d13(0x2e6)](_0x1e403a[_0xce9d13(0x26c)])),_0x67c3ba(0x1,_0x1e403a[_0xce9d13(0x175)]),_0x67c3ba(0x2,_0x1e403a['Inject'](_0x1e403a['LifecycleService'])),_0x67c3ba(0x3,_0x1e403a[_0xce9d13(0x290)]),_0x67c3ba(0x4,_0x1e403a[_0xce9d13(0x2e6)](_0x1e403a[_0xce9d13(0x158)]))],_0x3f103d[_0xce9d13(0x255)]);const _0x4ad8c1={0x0:{0x0:{'v':'filter','s':_0x4ef785}},0x2:{0x1:{'v':'','s':_0x4ef785},0x2:{'v':'','s':_0x4ef785},0x3:{'v':_0xce9d13(0x24b),'s':_0x4ef785},0x4:{'v':'','s':_0x4ef785},0x5:{'v':'','s':_0x4ef785}},0x3:{0x0:{'v':'','s':_0x4ef785},0x1:{'v':'','s':_0x5f5a3f},0x2:{'v':'','s':_0x5f5a3f},0x3:{'v':'','s':_0x5f5a3f},0x4:{'v':'','s':_0x5f5a3f},0x5:{'v':'','s':_0x5f5a3f}},0x4:{0x0:{'v':'','s':_0x4ef785},0x1:{'v':'','s':_0x5f5a3f},0x2:{'v':'','s':_0x5f5a3f},0x3:{'v':'','s':_0x5f5a3f},0x4:{'v':'','s':_0x5f5a3f},0x5:{'v':'','s':_0x5f5a3f}},0x5:{0x0:{'v':'','s':_0x4ef785},0x1:{'v':'','s':_0x5f5a3f},0x2:{'v':'','s':_0x5f5a3f},0x3:{'v':'','s':_0x5f5a3f},0x4:{'v':'','s':_0x5f5a3f},0x5:{'v':'','s':_0x5f5a3f}},0x6:{0x0:{'v':'','s':_0x4ef785},0x1:{'v':'','s':_0x5f5a3f},0x2:{'v':'','s':_0x5f5a3f},0x3:{'v':'','s':_0x5f5a3f},0x4:{'v':'','s':_0x5f5a3f},0x5:{'v':'','s':_0x5f5a3f}},0x7:{0x0:{'v':'','s':_0x4ef785},0x1:{'v':'','s':_0x5f5a3f},0x2:{'v':'','s':_0x5f5a3f},0x3:{'v':'','s':_0x5f5a3f},0x4:{'v':'','s':_0x5f5a3f},0x5:{'v':'','s':_0x5f5a3f}},0x8:{0x0:{'v':_0xce9d13(0x299),'s':_0x4ef785},0x1:{'v':'','s':_0x5f5a3f},0x2:{'v':'','s':_0x5f5a3f},0x3:{'v':'values','s':_0x5f5a3f},0x4:{'v':'','s':_0x5f5a3f},0x5:{'v':'','s':_0x5f5a3f}},0x9:{0x0:{'v':'','s':_0x4ef785},0x1:{'v':'','s':_0x5f5a3f},0x2:{'v':'','s':_0x5f5a3f},0x3:{'v':'','s':_0x5f5a3f},0x4:{'v':'','s':_0x5f5a3f},0x5:{'v':'','s':_0x5f5a3f}},0xa:{0x0:{'v':'','s':_0x4ef785},0x1:{'v':'','s':_0x5f5a3f},0x2:{'v':'','s':_0x5f5a3f},0x3:{'v':'','s':_0x5f5a3f},0x4:{'v':'','s':_0x5f5a3f},0x5:{'v':'','s':_0x5f5a3f}},0xb:{0x0:{'v':'','s':_0x4ef785},0x1:{'v':'','s':_0x5f5a3f},0x2:{'v':'','s':_0x5f5a3f},0x3:{'v':'','s':_0x5f5a3f},0x4:{'v':'','s':_0x5f5a3f},0x5:{'v':'','s':_0x5f5a3f}},0xc:{0x0:{'v':'','s':_0x4ef785},0x1:{'v':'','s':_0x5f5a3f},0x2:{'v':'','s':_0x5f5a3f},0x3:{'v':'','s':_0x5f5a3f},0x4:{'v':'','s':_0x5f5a3f},0x5:{'v':'','s':_0x5f5a3f}},0xd:{0x0:{'v':'','s':_0x4ef785},0x1:{'v':'','s':_0x5f5a3f},0x2:{'v':'','s':_0x5f5a3f},0x3:{'v':'','s':_0x5f5a3f},0x4:{'v':'','s':_0x5f5a3f},0x5:{'v':'','s':_0x5f5a3f}}},_0x4e9534={'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':[]},_0x4cc9bf=(_0x4750a3,_0x442107)=>{const _0x19ba2c=_0xce9d13,_0x29ef41=new _0x1e403a[(_0x19ba2c(0x1c3))](),_0x38e33e=new _0x1e403a[(_0x19ba2c(0x1c3))](_0x4ad8c1),{row:_0x4dd322,col:_0x18516f}=_0x442107;_0x38e33e[_0x19ba2c(0x15d)]((_0x5b9011,_0x46934e,_0x3f2f73)=>{const _0x8e6114=_0x19ba2c;let _0x49cf3d='';_0x3f2f73['v']===_0x8e6114(0x36d)?_0x49cf3d=_0x4750a3[_0x8e6114(0x36d)]:_0x3f2f73['v']===_0x8e6114(0x299)?_0x49cf3d=_0x4750a3[_0x8e6114(0x299)]:_0x3f2f73['v']===_0x8e6114(0x24b)?_0x49cf3d=_0x4750a3[_0x8e6114(0x24b)]:_0x3f2f73['v']===_0x8e6114(0x3d1)&&(_0x49cf3d=_0x4750a3[_0x8e6114(0x3d1)]),_0x29ef41[_0x8e6114(0x39e)](_0x5b9011+_0x4dd322,_0x46934e+_0x18516f,{..._0x3f2f73,'v':_0x49cf3d});});const _0x143e9e=_0x1e403a[_0x19ba2c(0x236)]['deepClone'](_0x4e9534);return Object['keys'](_0x4e9534)[_0x19ba2c(0xf7)](_0x129a61=>{const _0x5d5aaf=_0x19ba2c;_0x143e9e[_0x129a61]=_0x4e9534[_0x129a61][_0x5d5aaf(0x3b5)](_0x36eba7=>({..._0x36eba7,'startRow':_0x36eba7[_0x5d5aaf(0x2f5)]+_0x4dd322,'endRow':_0x36eba7[_0x5d5aaf(0x34a)]+_0x4dd322,'startColumn':_0x36eba7[_0x5d5aaf(0x29f)]+_0x18516f,'endColumn':_0x36eba7[_0x5d5aaf(0x25c)]+_0x18516f}));}),{'matrixCache':_0x29ef41,'rangesCache':_0x143e9e};};function _0x4895be(_0x5efb30,_0x4fb669){const _0x3c2997=_0xce9d13;let _0x4e7fb2='';const _0x247af0=this[_0x3c2997(0x179)]();switch(_0x4fb669){case _0x3d0452[_0x3c2997(0x14c)]['average']:_0x4e7fb2=_0x247af0[_0x3c2997(0x2d7)]+_0x5efb30;break;case _0x3d0452[_0x3c2997(0x14c)]['count']:_0x4e7fb2=_0x247af0['sheets-pivot.countName']+_0x5efb30;break;case _0x3d0452[_0x3c2997(0x14c)][_0x3c2997(0x2f8)]:_0x4e7fb2=_0x247af0['sheets-pivot.countNumsName']+_0x5efb30;break;case _0x3d0452['PivotSubtotalTypeEnum'][_0x3c2997(0x193)]:_0x4e7fb2=_0x247af0[_0x3c2997(0x21b)]+_0x5efb30;break;case _0x3d0452[_0x3c2997(0x14c)][_0x3c2997(0x373)]:_0x4e7fb2=_0x247af0[_0x3c2997(0xca)]+_0x5efb30;break;case _0x3d0452[_0x3c2997(0x14c)]['product']:_0x4e7fb2=_0x247af0['sheets-pivot.productName']+_0x5efb30;break;case _0x3d0452[_0x3c2997(0x14c)][_0x3c2997(0x261)]:_0x4e7fb2=_0x247af0[_0x3c2997(0xf3)]+_0x5efb30;break;case _0x3d0452[_0x3c2997(0x14c)]['stdDevp']:_0x4e7fb2=_0x247af0[_0x3c2997(0x271)]+_0x5efb30;break;case _0x3d0452['PivotSubtotalTypeEnum'][_0x3c2997(0x1a3)]:_0x4e7fb2=_0x247af0[_0x3c2997(0x143)]+_0x5efb30;break;case _0x3d0452['PivotSubtotalTypeEnum']['var']:_0x4e7fb2=_0x247af0['sheets-pivot.varName']+_0x5efb30;break;case _0x3d0452['PivotSubtotalTypeEnum']['varp']:_0x4e7fb2=_0x247af0[_0x3c2997(0x204)]+_0x5efb30;break;default:_0x4e7fb2=_0x5efb30;break;}return _0x4e7fb2;}function _0x167328(_0x38d3ad,_0x6b230f,_0x5e3815,_0x5ed7bd,_0x256aec){const _0x542f87=_0xce9d13;var _0x2b7a6c,_0x54c6a1,_0x5246e9,_0x15669e,_0x530828;const _0x1c93fb=_0x1e403a[_0x542f87(0xd3)](_0x38d3ad,_0x6b230f),{rangesInfo:_0xa69e46,areaInfo:_0x49d6f1,headerMap:_0x7f005c}=_0x256aec;if(!_0xa69e46||!_0x49d6f1||!_0x7f005c)return;const _0x304867=Object[_0x542f87(0x136)](_0xa69e46)[_0x542f87(0x26e)](_0x2fa609=>_0xa69e46[_0x2fa609][_0x542f87(0x3c3)](_0x20be41=>_0x1e403a[_0x542f87(0x18b)]['contains'](_0x20be41,_0x1c93fb))),_0xf5f59d=_0x49d6f1;let _0x526005,_0x3bf9d7,_0xa87978;if(_0x304867==='rowRanges')_0x526005=(_0x2b7a6c=_0xf5f59d==null?void 0x0:_0xf5f59d[_0x542f87(0x1e9)])==null?void 0x0:_0x2b7a6c[_0x38d3ad],_0x3bf9d7=(_0x54c6a1=_0x7f005c==null?void 0x0:_0x7f005c[_0x542f87(0x21d)])==null?void 0x0:_0x54c6a1[_0x6b230f],_0xa87978=_0x3bf9d7==null?void 0x0:_0x3bf9d7[_0x542f87(0x214)];else{if(_0x304867==='colRanges')_0x526005=(_0x5246e9=_0xf5f59d==null?void 0x0:_0xf5f59d[_0x542f87(0x333)])==null?void 0x0:_0x5246e9[_0x6b230f],_0x3bf9d7=(_0x15669e=_0x7f005c[_0x542f87(0x37b)])==null?void 0x0:_0x15669e[_0x38d3ad+0x1+_0x6b230f-_0xa69e46[_0x542f87(0x32c)][0x0][_0x542f87(0x29f)]],_0xa87978=_0x3bf9d7==null?void 0x0:_0x3bf9d7[_0x542f87(0x214)];else{if(_0x304867===_0x542f87(0x174))_0x526005=(_0x530828=_0xf5f59d==null?void 0x0:_0xf5f59d[_0x542f87(0x37a)])==null?void 0x0:_0x530828[_0x6b230f],_0xa87978=_0x526005==null?void 0x0:_0x526005[_0x542f87(0x214)];else{if(_0x304867===_0x542f87(0x102)){const _0x30329b=_0x5e3815==null?void 0x0:_0x5e3815['fi'];_0x30329b!==void 0x0&&(_0xa87978=_0x5ed7bd[_0x542f87(0x334)](_0x30329b));}}}}return{'filterId':_0xa87978,'info':_0x526005,'data':_0x5e3815,'headerInfo':_0x3bf9d7};}function _0x51e53c(_0x28cc90,_0xfb4b53,_0x191ed7){const _0xda5a8f=_0xce9d13,_0x460e2d=_0x28cc90['dataFieldsCollection'],_0x493654=_0x460e2d[_0xda5a8f(0x164)](),_0xdcb457=new Set();_0x28cc90[_0xda5a8f(0x39a)](_0x28ff94=>{const _0x1ea67f=_0xda5a8f;_0xdcb457['add'](_0x28ff94[_0x1ea67f(0x361)]);});const _0x196f67=_0x493654['map'](_0x2f66c3=>{const _0x1bb386=_0xda5a8f,_0x3cd7f3=_0x460e2d['getFieldById'](_0x2f66c3);return{'checked':_0xdcb457[_0x1bb386(0x22e)](_0x2f66c3),'dataFieldId':_0x3cd7f3['id'],'id':_0x3cd7f3['id'],'name':_0x460e2d[_0x1bb386(0x11e)](_0x3cd7f3['id']),'type':_0x3cd7f3[_0x1bb386(0x314)](),'pivotTableId':_0xfb4b53};}),_0x195aa4=[];_0x28cc90['iterateFieldByArea'](_0x3d0452['PivotTableFiledAreaEnum'][_0xda5a8f(0x19d)],_0x2b7116=>{const _0x37abb6=_0xda5a8f;_0x195aa4[_0x37abb6(0x374)]({'dataFieldId':_0x2b7116[_0x37abb6(0x361)],'tableFieldId':_0x2b7116[_0x37abb6(0x203)](),'displayName':_0x2b7116['getDisplayName']()});});const _0x542199=[];_0x28cc90[_0xda5a8f(0x36a)](_0x3d0452['PivotTableFiledAreaEnum'][_0xda5a8f(0x140)],_0x5a5061=>{const _0x2b5a66=_0xda5a8f;_0x542199['push']({'dataFieldId':_0x5a5061[_0x2b5a66(0x361)],'tableFieldId':_0x5a5061[_0x2b5a66(0x203)](),'displayName':_0x5a5061[_0x2b5a66(0x11e)]()});});const _0x3f1512=[];if(_0x28cc90['iterateFieldByArea'](_0x3d0452[_0xda5a8f(0x217)][_0xda5a8f(0x34d)],_0x55aa79=>{const _0x576f29=_0xda5a8f;_0x3f1512['push']({'dataFieldId':_0x55aa79[_0x576f29(0x361)],'tableFieldId':_0x55aa79[_0x576f29(0x203)](),'displayName':_0x55aa79['getDisplayName'](),'format':_0x55aa79[_0x576f29(0x391)](),'subTotalType':_0x55aa79['getSubtotal']()});}),_0x3f1512['length']>0x1){const _0x1ee3e5=_0x28cc90[_0xda5a8f(0x382)]();(_0x28cc90[_0xda5a8f(0x37e)]()?_0x542199:_0x195aa4)[_0xda5a8f(0x30a)](_0x1ee3e5,0x0,{'dataFieldId':'','tableFieldId':_0xda5a8f(0x33f),'displayName':_0xda5a8f(0x1d2)});}const _0x2265be=[];_0x28cc90['iterateFieldByArea'](_0x3d0452[_0xda5a8f(0x217)]['Filter'],_0x5dad93=>{const _0x4a1dfd=_0xda5a8f;_0x2265be[_0x4a1dfd(0x374)]({'dataFieldId':_0x5dad93[_0x4a1dfd(0x361)],'tableFieldId':_0x5dad93[_0x4a1dfd(0x203)](),'displayName':_0x5dad93[_0x4a1dfd(0x11e)]()});});const _0x5344cb=_0x191ed7['sourceRangeInfo'];return{'sourceList':_0x196f67,'sourceRange':_0x5344cb,'rowFields':_0x195aa4,'columnFields':_0x542199,'valueFields':_0x3f1512,'filterFields':_0x2265be,'positionInfo':_0x191ed7[_0xda5a8f(0x200)]};}function _0x130f5f(_0x3e7c3d,_0x56217f,_0x78590f='',_0x520117={}){const _0x150524=_0xce9d13,_0x348982=_0x3e7c3d[_0x150524(0x159)](_0x1e403a[_0x150524(0x110)]);for(const _0x356d40 in _0x56217f)if(Object[_0x150524(0x398)][_0x150524(0x210)][_0x150524(0x151)](_0x56217f,_0x356d40)){const _0x46cb01=_0x78590f?_0x78590f+'.'+_0x356d40:_0x356d40;typeof _0x56217f[_0x356d40]==_0x150524(0x278)&&_0x56217f[_0x356d40]!==null&&!Array[_0x150524(0x26b)](_0x56217f[_0x356d40])?_0x130f5f(_0x3e7c3d,_0x56217f[_0x356d40],_0x46cb01,_0x520117):_0x520117[_0x46cb01]=_0x348982['t'](_0x46cb01);}return _0x520117;}const _0xa6fa5e=_0xf44fa0=>{const _0x5c6176=_0xce9d13;if(!_0xf44fa0)return[];const {rowRanges:_0x4d555a,colRanges:_0x333d7f,cornerRanges:_0xecf4cf,dataRanges:_0x37791b,pageRanges:_0x1906e3}=_0xf44fa0,_0x2b664e=[..._0x333d7f,..._0x4d555a,..._0x37791b,..._0xecf4cf][_0x5c6176(0x36d)](_0x2fe2d5=>_0x2fe2d5[_0x5c6176(0x2f5)]>=0x0&&_0x2fe2d5[_0x5c6176(0x29f)]>=0x0&&_0x2fe2d5[_0x5c6176(0x34a)]>=0x0&&_0x2fe2d5[_0x5c6176(0x25c)]>=0x0);let _0x228738=Number[_0x5c6176(0x108)],_0x176ba3=Number['MIN_SAFE_INTEGER'],_0x194c13=Number[_0x5c6176(0x108)],_0x38ae95=Number['MIN_SAFE_INTEGER'];for(let _0x2a0056=0x0;_0x2a0056<_0x2b664e['length'];_0x2a0056++)_0x228738=Math[_0x5c6176(0x373)](_0x228738,_0x2b664e[_0x2a0056][_0x5c6176(0x2f5)]),_0x176ba3=Math[_0x5c6176(0x193)](_0x176ba3,_0x2b664e[_0x2a0056][_0x5c6176(0x34a)]),_0x194c13=Math[_0x5c6176(0x373)](_0x194c13,_0x2b664e[_0x2a0056][_0x5c6176(0x29f)]),_0x38ae95=Math[_0x5c6176(0x193)](_0x38ae95,_0x2b664e[_0x2a0056][_0x5c6176(0x25c)]);return[..._0x1906e3,{'startRow':_0x228738,'endRow':_0x176ba3,'startColumn':_0x194c13,'endColumn':_0x38ae95}];};function _0x493bac(_0x30d1b2,_0x71d17){const _0x543fdd=_0xce9d13,_0xe2dc26=_0x71d17[_0x543fdd(0x29c)][_0x543fdd(0x317)],{pivotTableId:_0x53ca7d,unitId:_0xc5362a,subUnitId:_0x3d33e8}=_0x71d17;if(!_0xe2dc26)return;const _0x86645f=_0x30d1b2[_0x543fdd(0x159)](_0x3f103d[_0x543fdd(0x255)]),_0x444361=_0x86645f['getPivotTableInstance'](_0x53ca7d),_0xb7f757=_0x86645f[_0x543fdd(0x292)](_0xc5362a,_0x3d33e8,_0x53ca7d);if(!_0x444361||!_0xb7f757)return;const _0x31405a=_0x444361['getIndexesByPathStr'](_0xe2dc26[_0x543fdd(0x311)]);if(!(_0x31405a!=null&&_0x31405a[_0x543fdd(0x392)]))return;const _0x166802=_0xb7f757[_0x543fdd(0x243)],{unitId:_0x10c25f,subUnitId:_0x1ccb4f,range:_0x1d34ec}=_0x166802;let _0x305f34=0x0;const _0x526945=_0x444361[_0x543fdd(0x2b9)][_0x543fdd(0x164)]()[_0x543fdd(0x16d)]((_0x1a43a5,_0x15515c)=>{const _0x38b10e=_0x543fdd;var _0x94dbc9;const _0x1e0985=(_0x94dbc9=_0x444361[_0x38b10e(0x31f)](_0x15515c))==null?void 0x0:_0x94dbc9[_0x38b10e(0x1e4)]();return _0x1e0985&&(_0x1a43a5[String(_0x305f34)]=_0x1e0985),_0x305f34++,_0x1a43a5;},{});return{'indexes':_0x31405a,'range':_0x1d34ec,'sourceUnitId':_0x10c25f,'sourceSubUnitId':_0x1ccb4f,'formatMap':_0x526945};}function _0x2805cb(_0x22ced8,_0x281594){const _0x55898f=_0xce9d13;if(!_0x22ced8||!_0x281594)return!0x0;const _0x47a917=_0x22652d[_0x55898f(0x212)](_0x162ba2,_0x599970),_0x2ccae9=new Function(_0x55898f(0x2ec)+_0x47a917)()(_0x22ced8,_0x281594)[_0x55898f(0x138)],_0x10019d=_0x22652d[_0x55898f(0x322)](_0x2ccae9,'sf',_0x46b221);return!((_0x2ccae9==null?void 0x0:_0x2ccae9['rt'])===_0x22652d['ReleaseType'][_0x55898f(0x1fb)]&&!_0x10019d);}function _0x29a59c(_0x1cab57,_0x3b0d21,_0x398fa5){const _0x519c86=_0xce9d13,_0x37535d={'count':_0x1cab57,'timeValid':!0x1};if(!_0x3b0d21||!_0x398fa5)return _0x37535d;const _0x73dd25=_0x22652d[_0x519c86(0x212)](_0x162ba2,_0x599970),_0x1c6166=new Function(_0x519c86(0x2ec)+_0x73dd25)()(_0x3b0d21,_0x398fa5);if(_0x1c6166!=null&&_0x1c6166[_0x519c86(0x20e)]){const _0x31f1cd=_0x1c6166['message'],_0x48e970=_0x22652d[_0x519c86(0x322)](_0x31f1cd,'sf',_0x46b221);return{'count':_0x22652d['getSheetFeatureLimit'](_0x31f1cd,_0x48e970,_0x519c86(0x3cc),_0x1cab57,_0x1cab57,0x0),'timeValid':_0x48e970};}return _0x37535d;}function _0x304ef9(_0x4d5a0d,_0xdd9cd9,_0x36c896,_0x264249){const _0x364b9e=_0xce9d13,_0x42b621={'subUnitId':_0x36c896,'unitId':_0xdd9cd9,'cellValue':_0x3c5050['generateNullCell'](_0x264249)},_0x428fe4=_0x3c5050['SetRangeValuesUndoMutationFactory'](_0x4d5a0d,_0x42b621);let _0x73286f=!0x1;return new _0x1e403a[(_0x364b9e(0x1c3))](_0x428fe4['cellValue'])['forValue']((_0x43f178,_0x2309bf,_0x32b1fe)=>{const _0x55a770=_0x364b9e;if(!_0x73286f&&_0x32b1fe&&(_0x32b1fe[_0x55a770(0x12c)]||_0x32b1fe['f']||_0x32b1fe['p']||_0x32b1fe['s']||_0x32b1fe['si']||_0x32b1fe['t']||_0x32b1fe['v']))return _0x73286f=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x3c5050[_0x364b9e(0x306)]['id'],'params':_0x428fe4},'setRangeValueRedoMutation':{'id':_0x3c5050['SetRangeValuesMutation']['id'],'params':_0x42b621},'shouldClear':_0x73286f};}function _0x22ecd3(_0x36187d){const {row:_0x204d68,col:_0x352bc6}=_0x36187d,_0x1e9742={'startRow':_0x204d68,'endRow':_0x204d68,'startColumn':_0x352bc6,'endColumn':_0x352bc6},_0x99da97={'startRow':_0x204d68+0x2,'endRow':_0x204d68+0xe,'startColumn':_0x352bc6,'endColumn':_0x352bc6+0x6};return[_0x1e9742,_0x99da97];}function _0x162908(_0x5e01dd,_0x57eb60,_0xcd498a){const _0x540751=_0xce9d13,{cornerView:_0x5a1327,rowView:_0xefd978,colView:_0x40a892,pageView:_0x474a68}=_0x5e01dd,{row:_0x20c2c9,col:_0x3a9aa2}=_0x57eb60;if(_0xcd498a)return{'rowCount':_0x21ed76+_0x20c2c9,'colCount':_0x5c6d54+_0x3a9aa2};const _0x2a3120=_0x474a68[_0x540751(0x2d8)]>-0x1?_0x474a68['lastRow']+0x1:0x0,_0x5c3398=_0x474a68['lastCol']>-0x1?_0x474a68['lastCol']:0x0,_0x5f94cd=_0x20c2c9+_0x2a3120+(_0x2a3120?0x1:0x0)+_0x5a1327[_0x540751(0x1d3)]+_0xefd978['rowCount'],_0x5da8bd=_0x3a9aa2+_0x5c3398,_0x2926b1=_0x3a9aa2+_0x5a1327[_0x540751(0x206)]+_0x40a892[_0x540751(0x206)],_0x1b2900=Math[_0x540751(0x193)](_0x5da8bd,_0x2926b1);return{'rowCount':_0x5f94cd,'colCount':_0x1b2900};}function _0x157597(_0x8c70ca,_0x225954,_0x399985,_0x35d85a){const _0x20bf60=_0xce9d13,{row:_0x2c14c6,col:_0x55b0ad,unitId:_0x234216,subUnitId:_0x33b090}=_0x399985,_0xd24159=_0x162908(_0x225954,{'row':_0x2c14c6,'col':_0x55b0ad},_0x35d85a),_0x2dd48c=_0x8c70ca[_0x20bf60(0x159)](_0x1e403a[_0x20bf60(0x175)]),_0x54de46=_0x3c5050[_0x20bf60(0x352)](_0x2dd48c,{'unitId':_0x234216,'subUnitId':_0x33b090}),_0x571121=[],_0xb4e617=[];if(!_0x54de46)return{'undos':_0xb4e617,'redos':_0x571121};const {worksheet:_0x3bb5c2}=_0x54de46,_0x3bcb9d=_0x3bb5c2[_0x20bf60(0x2f6)](),_0x49afba=_0x3bb5c2[_0x20bf60(0x258)]();return _0x3bcb9d<_0xd24159[_0x20bf60(0x1d3)]&&(_0x571121[_0x20bf60(0x374)]({'id':_0x3c5050[_0x20bf60(0x156)]['id'],'params':{'unitId':_0x234216,'subUnitId':_0x33b090,'range':{'startRow':_0x3bcb9d,'endRow':_0xd24159['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x49afba-0x1}}}),_0xb4e617[_0x20bf60(0x374)]({'id':_0x3c5050[_0x20bf60(0x120)]['id'],'params':{'unitId':_0x234216,'subUnitId':_0x33b090,'range':{'startRow':_0x3bcb9d,'endRow':_0xd24159[_0x20bf60(0x1d3)]-0x1,'startColumn':0x0,'endColumn':_0x49afba-0x1}}})),_0x49afba<_0xd24159[_0x20bf60(0x206)]&&(_0x571121[_0x20bf60(0x374)]({'id':_0x3c5050[_0x20bf60(0x207)]['id'],'params':{'unitId':_0x234216,'subUnitId':_0x33b090,'range':{'startRow':0x0,'endRow':_0x3bcb9d-0x1,'startColumn':_0x49afba,'endColumn':_0xd24159[_0x20bf60(0x206)]-0x1}}}),_0xb4e617[_0x20bf60(0x374)]({'id':_0x3c5050['RemoveColMutation']['id'],'params':{'unitId':_0x234216,'subUnitId':_0x33b090,'range':{'startRow':0x0,'endRow':_0x3bcb9d-0x1,'startColumn':_0x49afba,'endColumn':_0xd24159[_0x20bf60(0x206)]-0x1}}})),{'undos':_0xb4e617,'redos':_0x571121};}function _0x35c4b8(_0x21806f){const _0x16e566=_0xce9d13;let _0x2636d3=0x0;for(let _0x3c46a0=0x0;_0x3c46a0<_0x21806f[_0x16e566(0x392)];_0x3c46a0++){const _0x314b2d=_0x21806f['charCodeAt'](_0x3c46a0);_0x314b2d>=0x4e00&&_0x314b2d<=0x9fff||_0x314b2d>=0x3000&&_0x314b2d<=0x303f||_0x314b2d>=0xff00&&_0x314b2d<=0xffef?_0x2636d3+=0x2:_0x2636d3+=0x1;}return _0x2636d3;}function _0x5cac9d(_0x3bb369,_0x543a4e,_0x191be0,_0x5e715d){const _0x31283b=_0xce9d13;var _0x880e7d,_0x35ccce,_0xe0c6eb,_0xc4f76b;const {rowCount:_0x344819,colCount:_0x230b97,headerMap:_0x12090e}=_0x3bb369,_0x33a6b1=0x64,_0x2093ea=Math[_0x31283b(0x373)](_0x344819,_0x33a6b1),_0x53a8b0=Math[_0x31283b(0x373)](_0x230b97,_0x33a6b1);let _0x554d11='',_0x45d0a6=0x0;for(let _0x41f8b1=0x0;_0x41f8b1<_0x2093ea;_0x41f8b1++)for(let _0x7076aa=0x0;_0x7076aa<_0x53a8b0;_0x7076aa++){const _0x1da311={...(_0x35ccce=(_0x880e7d=_0x3bb369['data'])==null?void 0x0:_0x880e7d[_0x41f8b1])==null?void 0x0:_0x35ccce[_0x7076aa]},_0xfb52aa=(_0xe0c6eb=_0x12090e[_0x41f8b1])==null?void 0x0:_0xe0c6eb[_0x31283b(0x214)],_0x43ee39=_0x5e715d[_0xfb52aa];let _0x5b3a90=_0x3bb369[_0x31283b(0x150)](_0x41f8b1,_0x7076aa);if(_0x1da311){const _0x21a450=_0x191be0?_0x7076aa===0x0&&((_0xc4f76b=_0x3bb369['getHeaderMapItem'](_0x7076aa+0x1))==null?void 0x0:_0xc4f76b[_0x31283b(0xfa)]):!0x1;_0x5b3a90=_0x21a738(_0x1da311,_0x21a450,_0x43ee39,_0x543a4e);}if(_0x5b3a90!==void 0x0){const _0x175853=_0x35c4b8(String(_0x5b3a90));_0x45d0a6<_0x175853&&(_0x554d11=String(_0x5b3a90),_0x45d0a6=_0x175853);}}return _0x554d11;}function _0x3a526f(_0x303f4a){const _0x35dab1=_0xce9d13,{rowCount:_0x3c95b4,colCount:_0x4fe6c5}=_0x303f4a;let _0xd9fbc1='',_0x1e5a54=0x0;for(let _0x12dbcd=_0x3c95b4-0x1;_0x12dbcd>0x0&&_0x12dbcd>_0x3c95b4-0x3;_0x12dbcd--)for(let _0x30fffd=0x0;_0x30fffd<_0x4fe6c5;_0x30fffd++){const _0x2dcddf=_0x303f4a[_0x35dab1(0x150)](_0x12dbcd,_0x30fffd);if(_0x2dcddf!==void 0x0){const _0x488066=String(_0x2dcddf)['length'];_0x1e5a54<_0x488066&&(_0xd9fbc1=String(_0x2dcddf),_0x1e5a54=_0x488066);}}return _0xd9fbc1;}function _0x55c829(_0x537295){const _0x86a637=_0xce9d13,{rowCount:_0x465c22,colCount:_0x15061e}=_0x537295;let _0x5b238b='',_0x2f53d1=0x0;for(let _0x45e447=0x0;_0x45e447<_0x465c22;_0x45e447++)for(let _0x47263a=0x0;_0x47263a<_0x15061e;_0x47263a++){const _0x494259=_0x537295['getValue'](_0x45e447,_0x47263a);if(_0x494259!==void 0x0){const _0x465094=String(_0x494259)[_0x86a637(0x392)];_0x2f53d1<_0x465094&&(_0x5b238b=String(_0x494259),_0x2f53d1=_0x465094);}}return _0x5b238b;}function _0x298a5a(_0x3d52bd,_0x32afc5){const _0x469b66=_0xce9d13,{rowFields:_0x17e543,columnFields:_0x1e575a,valueFields:_0x53fcd7,filterFields:_0x42db13,dimension:_0x94743e,measure:_0x46dc98}=_0x32afc5;for(const _0x5c317a of _0x17e543){const _0x4517df=_0x94743e[_0x5c317a];_0x4517df&&_0x3d52bd[_0x469b66(0x31f)](_0x4517df['dataFieldId'])&&(_0x3d52bd[_0x469b66(0x1a8)](_0x4517df[_0x469b66(0x361)],_0x3d0452[_0x469b66(0x217)]['Row'],void 0x0,_0x5c317a),_0x4517df['displayName']&&_0x3d52bd['renameField'](_0x4517df['id'],_0x4517df[_0x469b66(0xde)]),_0x4517df[_0x469b66(0x320)]&&_0x3d52bd['setSortInfo'](_0x4517df['id'],_0x4517df['sortInfo']),_0x4517df[_0x469b66(0x2c5)]&&_0x3d52bd[_0x469b66(0x232)](_0x4517df['id'],_0x4517df[_0x469b66(0x2c5)]));}for(const _0x2573e1 of _0x1e575a){const _0x3c1173=_0x94743e[_0x2573e1];_0x3c1173&&_0x3d52bd[_0x469b66(0x31f)](_0x3c1173[_0x469b66(0x361)])&&(_0x3d52bd['addFieldWithSourceId'](_0x3c1173[_0x469b66(0x361)],_0x3d0452['PivotTableFiledAreaEnum']['Column'],void 0x0,_0x2573e1),_0x3c1173['sortInfo']&&_0x3d52bd[_0x469b66(0x38d)](_0x3c1173['id'],_0x3c1173[_0x469b66(0x320)]),_0x3c1173[_0x469b66(0x2c5)]&&_0x3d52bd['setLabelFilterInfo'](_0x3c1173['id'],_0x3c1173[_0x469b66(0x2c5)]),_0x3c1173['displayName']&&_0x3d52bd[_0x469b66(0x1b9)](_0x3c1173['id'],_0x3c1173[_0x469b66(0xde)]));}for(const _0x3a58a4 of _0x42db13){const _0x4c3de2=_0x94743e[_0x3a58a4];_0x4c3de2&&_0x3d52bd[_0x469b66(0x31f)](_0x4c3de2['dataFieldId'])&&(_0x3d52bd[_0x469b66(0x1a8)](_0x4c3de2[_0x469b66(0x361)],_0x3d0452[_0x469b66(0x217)]['Filter'],void 0x0,_0x3a58a4),_0x4c3de2[_0x469b66(0x320)]&&_0x3d52bd[_0x469b66(0x38d)](_0x4c3de2['id'],_0x4c3de2[_0x469b66(0x320)]),_0x4c3de2[_0x469b66(0x2c5)]&&_0x3d52bd['setLabelFilterInfo'](_0x4c3de2['id'],_0x4c3de2['filterInfo']),_0x4c3de2[_0x469b66(0xde)]&&_0x3d52bd[_0x469b66(0x1b9)](_0x4c3de2['id'],_0x4c3de2[_0x469b66(0xde)]));}for(const _0x1aba74 of _0x53fcd7){const _0x2cf157=_0x46dc98[_0x1aba74];_0x2cf157&&_0x3d52bd['getDataFieldByDataFieldId'](_0x2cf157['dataFieldId'])&&(_0x3d52bd[_0x469b66(0x1a8)](_0x2cf157[_0x469b66(0x361)],_0x3d0452[_0x469b66(0x217)][_0x469b66(0x34d)],void 0x0,_0x1aba74),_0x2cf157[_0x469b66(0x341)]!==void 0x0&&_0x3d52bd[_0x469b66(0x153)](_0x1aba74,_0x2cf157[_0x469b66(0x341)]),_0x2cf157[_0x469b66(0xd1)]&&_0x3d52bd['setFieldFormat'](_0x1aba74,_0x2cf157[_0x469b66(0xd1)]),_0x2cf157[_0x469b66(0xde)]&&_0x3d52bd[_0x469b66(0x1b9)](_0x2cf157['id'],_0x2cf157['displayName']));}const _0x5cc5c0=_0x32afc5[_0x469b66(0x23c)];for(const {fieldId:_0x89bd37,filterInfo:_0x290ee4}of _0x5cc5c0)_0x3d52bd[_0x469b66(0x35a)](_0x89bd37,_0x290ee4);}function _0x30b85d(_0x2c90b9,_0xf7cd0){const _0x26a82f=_0xce9d13,_0x498417=[];_0xf7cd0===_0x3d0452['PivotTableFiledAreaEnum']['Row']&&_0x2c90b9['iterateFieldByArea'](_0x3d0452[_0x26a82f(0x217)]['Row'],_0x55c712=>{const _0x2cdf64=_0x26a82f;_0x498417[_0x2cdf64(0x374)](_0x55c712['getId']());}),_0xf7cd0===_0x3d0452['PivotTableFiledAreaEnum']['Column']&&_0x2c90b9[_0x26a82f(0x36a)](_0x3d0452[_0x26a82f(0x217)][_0x26a82f(0x140)],_0x576be6=>{const _0x4473ba=_0x26a82f;_0x498417['push'](_0x576be6[_0x4473ba(0x203)]());}),_0xf7cd0===_0x3d0452[_0x26a82f(0x217)][_0x26a82f(0x293)]&&_0x2c90b9[_0x26a82f(0x36a)](_0x3d0452[_0x26a82f(0x217)][_0x26a82f(0x293)],_0xa3da85=>{const _0x432079=_0x26a82f;_0x498417['push'](_0xa3da85[_0x432079(0x203)]());}),_0xf7cd0===_0x3d0452[_0x26a82f(0x217)][_0x26a82f(0x34d)]&&_0x2c90b9['iterateFieldByArea'](_0x3d0452['PivotTableFiledAreaEnum']['Value'],_0xf1d3b3=>{const _0x80ab50=_0x26a82f;_0x498417[_0x80ab50(0x374)](_0xf1d3b3[_0x80ab50(0x203)]());}),_0xf7cd0===void 0x0&&_0x2c90b9[_0x26a82f(0x39a)](_0x264732=>{const _0x3de545=_0x26a82f;_0x498417[_0x3de545(0x374)](_0x264732[_0x3de545(0x203)]());});const _0x242033=_0x498417[_0x26a82f(0x392)];for(let _0x230364=_0x242033-0x1;_0x230364>=0x0;_0x230364--)_0x2c90b9['removeField'](_0x498417[_0x230364]);const _0x3017c5=_0x2c90b9[_0x26a82f(0x133)]();for(const _0x2b6748 in _0x3017c5)_0x2c90b9[_0x26a82f(0x187)](_0x2b6748);}function _0x5d07b9(_0x4bcb4c,_0x161438){const _0x1ea94e=_0xce9d13,_0x484786=new Date(_0x3d0452[_0x1ea94e(0x14d)](_0x161438)),_0x485b64=new Date(_0x3d0452[_0x1ea94e(0x14d)](_0x4bcb4c)),_0xa499bc=_0x484786[_0x1ea94e(0x1cd)](),_0x4f5932=_0x485b64[_0x1ea94e(0x1cd)](),_0x32cecf=_0x484786[_0x1ea94e(0x1ca)](),_0x47a66f=_0x485b64[_0x1ea94e(0x1ca)](),_0x2ca759=_0x484786['getDate'](),_0x3d1644=_0x485b64[_0x1ea94e(0x3c5)](),_0x2388ee=_0xa499bc===_0x4f5932,_0xb7fd32=_0x2388ee&&_0x32cecf===_0x47a66f;return _0x2388ee&&_0xb7fd32&&!(_0xb7fd32&&_0x2ca759===_0x3d1644)?_0x3d0452[_0x1ea94e(0x2ab)][_0x1ea94e(0x2ac)]:_0x2388ee&&!_0xb7fd32?_0x3d0452[_0x1ea94e(0x2ab)]['YearMonth']:_0x3d0452[_0x1ea94e(0x2ab)][_0x1ea94e(0x32e)];}function _0x427d6a(_0x5f0397,_0x297e22){const _0xdda4f2=_0xce9d13,_0xb49b65=_0x5f0397[_0xdda4f2(0x159)](_0x3f103d[_0xdda4f2(0x255)])[_0xdda4f2(0x179)]();let _0x516399='';switch(_0x297e22){case _0x3d0452[_0xdda4f2(0x2ab)][_0xdda4f2(0x2ac)]:_0x516399=_0xb49b65['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x3d0452[_0xdda4f2(0x2ab)][_0xdda4f2(0x148)]:_0x516399=_0xb49b65[_0xdda4f2(0x13f)];break;case _0x3d0452[_0xdda4f2(0x2ab)][_0xdda4f2(0x32e)]:_0x516399=_0xb49b65[_0xdda4f2(0x1df)];break;case _0x3d0452[_0xdda4f2(0x2ab)]['Month']:_0x516399=_0xb49b65[_0xdda4f2(0x18f)];break;case _0x3d0452['PivotDateGroupFieldDateTypeEnum'][_0xdda4f2(0x1a5)]:_0x516399=_0xb49b65['sheets-pivot.dateGroup.quarter'];break;case _0x3d0452[_0xdda4f2(0x2ab)][_0xdda4f2(0x194)]:_0x516399=_0xb49b65[_0xdda4f2(0x124)];break;case _0x3d0452[_0xdda4f2(0x2ab)][_0xdda4f2(0x3b8)]:_0x516399=_0xb49b65[_0xdda4f2(0x100)];break;case _0x3d0452['PivotDateGroupFieldDateTypeEnum'][_0xdda4f2(0x35f)]:_0x516399=_0xb49b65[_0xdda4f2(0x2da)];break;case _0x3d0452['PivotDateGroupFieldDateTypeEnum'][_0xdda4f2(0x15f)]:_0x516399=_0xb49b65[_0xdda4f2(0x221)];break;case _0x3d0452['PivotDateGroupFieldDateTypeEnum'][_0xdda4f2(0x347)]:_0x516399=_0xb49b65['sheets-pivot.dateGroup.monthDate'];break;case _0x3d0452['PivotDateGroupFieldDateTypeEnum'][_0xdda4f2(0x105)]:_0x516399=_0xb49b65[_0xdda4f2(0x324)];break;default:_0x516399='';break;}return _0x516399;}const _0x40f559=_0xce9d13(0x262),_0x44ac92={};var _0x464b8f=Object[_0xce9d13(0x386)],_0x587535=(_0x23e77e,_0xa36ba6,_0xf635d,_0x10455d)=>{for(var _0x430a96=_0x10455d>0x1?void 0x0:_0x10455d?_0x464b8f(_0xa36ba6,_0xf635d):_0xa36ba6,_0x95475f=_0x23e77e['length']-0x1,_0x6c4c11;_0x95475f>=0x0;_0x95475f--)(_0x6c4c11=_0x23e77e[_0x95475f])&&(_0x430a96=_0x6c4c11(_0x430a96)||_0x430a96);return _0x430a96;},_0x21e3c2=(_0x5bccd8,_0x2c42a6)=>(_0x3ae437,_0x5410ca)=>_0x2c42a6(_0x3ae437,_0x5410ca,_0x5bccd8);_0x3f103d[_0xce9d13(0x1fd)]=class extends _0x1e403a[_0xce9d13(0x33e)]{constructor(_0x9f5625,_0x2efb01,_0x5adcc3,_0x50d45e,_0x3928b4){const _0xca0938=_0xce9d13;super(),_0x1c9350(this,_0xca0938(0x376),new Map()),_0x1c9350(this,_0xca0938(0x103),new Map()),_0x1c9350(this,_0xca0938(0x25b),new Map()),_0x1c9350(this,'_pivotTableMatrixInfo',new Map()),_0x1c9350(this,'_configVersion$',new _0x4473ec[(_0xca0938(0x22b))]()),_0x1c9350(this,_0xca0938(0x168),new _0x4473ec[(_0xca0938(0x22b))]()),_0x1c9350(this,_0xca0938(0x250),this['_pivotInitCompleted$'][_0xca0938(0x1bb)]()),_0x1c9350(this,_0xca0938(0x1f0),new _0x4473ec[(_0xca0938(0x22b))]()),_0x1c9350(this,'pivotConfigChange$',this[_0xca0938(0x1f0)][_0xca0938(0x1bb)]()),_0x1c9350(this,_0xca0938(0x3a1),{}),_0x1c9350(this,'configVersion$',this['_configVersion$'][_0xca0938(0x1bb)]()),(this['_injector']=_0x9f5625,this[_0xca0938(0x1a2)]=_0x2efb01,this[_0xca0938(0x26a)]=_0x5adcc3,this[_0xca0938(0x387)]=_0x50d45e,this['_configService']=_0x3928b4,this[_0xca0938(0x29a)](),this[_0xca0938(0x2a3)]());const _0x184ad6=this[_0xca0938(0x2a0)]['getConfig'](_0x40f559);(_0x184ad6==null?void 0x0:_0x184ad6[_0xca0938(0x29b)])===!0x0&&this[_0xca0938(0x17e)]();}['_initUnitDisposed'](){const _0x637eb7=_0xce9d13;this[_0x637eb7(0x2d5)](this[_0x637eb7(0x26a)][_0x637eb7(0x378)](_0x1e403a[_0x637eb7(0x1c6)][_0x637eb7(0x1da)])[_0x637eb7(0x32a)](_0x572662=>{const _0x4b9d3d=_0x637eb7;this[_0x4b9d3d(0x1f7)](_0x572662[_0x4b9d3d(0x2c3)]());}));}[_0xce9d13(0x33a)](){const _0x3d58c7=_0xce9d13;this[_0x3d58c7(0x168)]['next'](!0x0);}['_initLocale'](){const _0x228714=_0xce9d13,_0x3eae82=_0x130f5f(this[_0x228714(0x37f)],_0x1dd396,'',{});this['_textInfo']=_0x3eae82,this[_0x228714(0x1a2)][_0x228714(0x171)](_0xaf9b9e['id'],{'textInfo':_0x3eae82},{'onlyLocal':!0x0});}[_0xce9d13(0x179)](){const _0x62d309=_0xce9d13;return this[_0x62d309(0x3a1)];}[_0xce9d13(0x17b)](_0xd4293a,_0x206f73,_0x368ec2,_0x81ef46,_0x55dc23){const _0x4ef035=_0xce9d13;this[_0x4ef035(0x34b)](_0xd4293a,_0x206f73,_0x368ec2,_0x81ef46),this[_0x4ef035(0x2cd)](_0xd4293a,_0x206f73,_0x368ec2,_0x55dc23);}[_0xce9d13(0x292)](_0x4a51bf,_0x14dfc0,_0x5f2660){const _0xc59f06=_0xce9d13;var _0x513d16;const _0x1024d1=(_0x513d16=this[_0xc59f06(0x376)][_0xc59f06(0x159)](_0x4a51bf))==null?void 0x0:_0x513d16['get'](_0x14dfc0);if(_0x1024d1)return _0x1024d1[_0xc59f06(0x159)](_0x5f2660);}[_0xce9d13(0x28a)](_0x480c1a,_0x25a3c7){const _0x439668=_0xce9d13,_0x17515d=this[_0x439668(0x376)]['get'](_0x480c1a);if(_0x17515d){for(const [_0x3cdb14,_0x54ada8]of _0x17515d[_0x439668(0x2b1)]())for(const [_0x2699d2,_0x60e13e]of _0x54ada8['entries']())if(_0x2699d2===_0x25a3c7)return _0x60e13e[_0x439668(0x200)];}}[_0xce9d13(0x283)](_0x232b3c,_0x51993f,_0x1e7e52){const _0x19ece3=_0xce9d13,_0xb9c56b=this[_0x19ece3(0x292)](_0x232b3c,_0x51993f,_0x1e7e52);return _0xb9c56b==null?void 0x0:_0xb9c56b[_0x19ece3(0x200)];}[_0xce9d13(0xff)](_0x45bdd8,_0x45e6a0){const _0x2ce694=_0xce9d13;var _0x1009f2;return(_0x1009f2=this['_model']['get'](_0x45bdd8))==null?void 0x0:_0x1009f2[_0x2ce694(0x159)](_0x45e6a0);}[_0xce9d13(0x345)](_0x802b17,_0x55a0a7,_0x4e06a0,_0x1dff0f){const _0x385bf6=_0xce9d13,_0x19292d=this[_0x385bf6(0x2f9)](_0x802b17,_0x55a0a7);_0x1dff0f?_0x19292d['set'](_0x4e06a0,_0x1dff0f):_0x19292d[_0x385bf6(0x2eb)](_0x4e06a0),this[_0x385bf6(0x1f0)][_0x385bf6(0x2bd)]({'unitId':_0x802b17,'subUnitId':_0x55a0a7,'pivotTableId':_0x4e06a0,'pivotTableConfig':_0x1dff0f});}[_0xce9d13(0x2f7)](_0x2fe2f9,_0xfe6ec5){const _0x4d98ff=_0xce9d13;var _0x4e59ee;return(_0x4e59ee=this[_0x4d98ff(0x103)][_0x4d98ff(0x159)](_0x2fe2f9))==null?void 0x0:_0x4e59ee[_0x4d98ff(0x2a8)][_0xfe6ec5];}[_0xce9d13(0x390)](_0x148c67,_0x6b4922){const _0x5d2741=_0xce9d13;this[_0x5d2741(0x103)][_0x5d2741(0x1ae)](_0x148c67,_0x6b4922),this[_0x5d2741(0x1d5)][_0x5d2741(0x2bd)](Math[_0x5d2741(0x36e)]());}[_0xce9d13(0x2f9)](_0x3cf516,_0x2602cb){const _0x574e42=_0xce9d13;let _0x446b90=this[_0x574e42(0x376)][_0x574e42(0x159)](_0x3cf516);_0x446b90||(_0x446b90=new Map(),this['_model'][_0x574e42(0x1ae)](_0x3cf516,_0x446b90));let _0x4fbd0b=_0x446b90[_0x574e42(0x159)](_0x2602cb);return _0x4fbd0b||(_0x4fbd0b=new Map(),_0x446b90[_0x574e42(0x1ae)](_0x2602cb,_0x4fbd0b)),_0x4fbd0b;}['_ensurePivotTableRangeInfo'](_0x2cd375,_0x449222){const _0x5d054b=_0xce9d13;let _0x4553e2=this[_0x5d054b(0x25b)][_0x5d054b(0x159)](_0x2cd375);_0x4553e2||(_0x4553e2=new Map(),this[_0x5d054b(0x25b)]['set'](_0x2cd375,_0x4553e2));let _0x28885c=_0x4553e2[_0x5d054b(0x159)](_0x449222);return _0x28885c||(_0x28885c=new Map(),_0x4553e2['set'](_0x449222,_0x28885c)),_0x28885c;}[_0xce9d13(0x229)](_0x1dc2a0,_0x268dfe){const _0x1251cc=_0xce9d13;let _0x10b852=this[_0x1251cc(0x220)]['get'](_0x1dc2a0);_0x10b852||(_0x10b852=new Map(),this[_0x1251cc(0x220)][_0x1251cc(0x1ae)](_0x1dc2a0,_0x10b852));let _0x3dbde8=_0x10b852[_0x1251cc(0x159)](_0x268dfe);return _0x3dbde8||(_0x3dbde8=new Map(),_0x10b852['set'](_0x268dfe,_0x3dbde8)),_0x3dbde8;}[_0xce9d13(0x2cd)](_0x1963c4,_0x5ef79f,_0x45a72f,_0x163a51){const _0x454c65=_0xce9d13;var _0x18aafb;const _0x34be01=this[_0x454c65(0x30e)](_0x1963c4,_0x5ef79f),_0x2f4812=(_0x18aafb=_0x34be01[_0x454c65(0x159)](_0x45a72f))==null?void 0x0:_0x18aafb[_0x454c65(0x155)];_0x34be01[_0x454c65(0x1ae)](_0x45a72f,{'oldRangeInfo':_0x2f4812,'rangeInfo':_0x163a51});}[_0xce9d13(0x34b)](_0x7fe0ff,_0xaadc71,_0x19b656,_0x35c14a){const _0x502b8c=_0xce9d13;var _0x1f3915;const _0xe50bd9=this[_0x502b8c(0x229)](_0x7fe0ff,_0xaadc71),_0x371c99=(_0x1f3915=_0xe50bd9['get'](_0x19b656))==null?void 0x0:_0x1f3915[_0x502b8c(0x1b7)];_0xe50bd9[_0x502b8c(0x1ae)](_0x19b656,{'oldMatrix':_0x371c99,'matrix':_0x35c14a});}[_0xce9d13(0x3d0)](_0x4e4bd0,_0xa3c6ac,_0x209dda){const _0x5ba8b3=_0xce9d13;var _0x164108,_0x17d158;return(_0x17d158=(_0x164108=this['_pivotTableRangeInfo'][_0x5ba8b3(0x159)](_0x4e4bd0))==null?void 0x0:_0x164108['get'](_0xa3c6ac))==null?void 0x0:_0x17d158[_0x5ba8b3(0x159)](_0x209dda);}[_0xce9d13(0x1d4)](_0x2ab29c,_0x4a155a,_0x8020f2){const _0x1a8920=_0xce9d13;var _0x15ebd8,_0x322eb1;return(_0x322eb1=(_0x15ebd8=this[_0x1a8920(0x220)]['get'](_0x2ab29c))==null?void 0x0:_0x15ebd8[_0x1a8920(0x159)](_0x4a155a))==null?void 0x0:_0x322eb1['get'](_0x8020f2);}[_0xce9d13(0x1f7)](_0x154e16){const _0x22abcd=_0xce9d13;this[_0x22abcd(0x376)]['delete'](_0x154e16),this[_0x22abcd(0x103)]['delete'](_0x154e16);}[_0xce9d13(0x279)](_0x5682f0){const _0x3b0acf=_0xce9d13,_0x29d57a={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel']['get'](_0x5682f0)&&(_0x29d57a[_0x3b0acf(0x12f)][_0x5682f0]=this[_0x3b0acf(0x103)][_0x3b0acf(0x159)](_0x5682f0)),this[_0x3b0acf(0x376)][_0x3b0acf(0x159)](_0x5682f0)){_0x29d57a[_0x3b0acf(0x1bd)][_0x5682f0]={};const _0x1cd8f7=this['_model'][_0x3b0acf(0x159)](_0x5682f0);_0x1cd8f7!=null&&_0x1cd8f7[_0x3b0acf(0x227)]&&[..._0x1cd8f7[_0x3b0acf(0x136)]()][_0x3b0acf(0xf7)](_0x150013=>{const _0x168ecd=_0x3b0acf,_0x178aeb=_0x1cd8f7[_0x168ecd(0x159)](_0x150013);_0x178aeb!=null&&_0x178aeb[_0x168ecd(0x227)]&&(_0x29d57a[_0x168ecd(0x1bd)][_0x5682f0][_0x150013]={},[..._0x178aeb[_0x168ecd(0x136)]()][_0x168ecd(0xf7)](_0x417bb2=>{const _0x239055=_0x168ecd,_0x4bd91e=_0x178aeb['get'](_0x417bb2);_0x4bd91e&&(_0x29d57a[_0x239055(0x1bd)][_0x5682f0][_0x150013][_0x417bb2]=_0x4bd91e);}));});}return _0x29d57a;}[_0xce9d13(0x17e)](){const _0x373552=_0xce9d13;this['disposeWithMe'](this[_0x373552(0x387)]['registerPluginResource']({'toJson':_0x14cea6=>JSON[_0x373552(0xe1)](this[_0x373552(0x279)](_0x14cea6)),'parseJson':_0x58fbb9=>({}),'businesses':[_0x1e403a[_0x373552(0x1c6)]['UNIVER_SHEET']],'pluginName':_0x3349fa,'onLoad':(_0x15e08d,_0x442ec9)=>{},'onUnLoad':_0x495547=>{const _0x156ecd=_0x373552;this[_0x156ecd(0x1f7)](_0x495547);}}));}},_0x3f103d[_0xce9d13(0x1fd)]=_0x587535([_0x21e3c2(0x0,_0x1e403a[_0xce9d13(0x2e6)](_0x1e403a[_0xce9d13(0x26c)])),_0x21e3c2(0x1,_0x1e403a['Inject'](_0x1e403a['ICommandService'])),_0x21e3c2(0x2,_0x1e403a['Inject'](_0x1e403a[_0xce9d13(0x175)])),_0x21e3c2(0x3,_0x1e403a[_0xce9d13(0x2e6)](_0x1e403a['IResourceManagerService'])),_0x21e3c2(0x4,_0x1e403a[_0xce9d13(0x2e6)](_0x1e403a[_0xce9d13(0x122)]))],_0x3f103d[_0xce9d13(0x1fd)]);var _0x172481=Object['getOwnPropertyDescriptor'],_0x40e333=(_0x5ef413,_0x1a009a,_0xca14f7,_0x1cec5d)=>{const _0x525f87=_0xce9d13;for(var _0x594f53=_0x1cec5d>0x1?void 0x0:_0x1cec5d?_0x172481(_0x1a009a,_0xca14f7):_0x1a009a,_0x2df77c=_0x5ef413[_0x525f87(0x392)]-0x1,_0x2f775b;_0x2df77c>=0x0;_0x2df77c--)(_0x2f775b=_0x5ef413[_0x2df77c])&&(_0x594f53=_0x2f775b(_0x594f53)||_0x594f53);return _0x594f53;},_0x5dedf7=(_0x3f4700,_0x1b5783)=>(_0x27d76e,_0x487456)=>_0x1b5783(_0x27d76e,_0x487456,_0x3f4700);_0x3f103d[_0xce9d13(0x19b)]=class extends _0x1e403a[_0xce9d13(0x33e)]{constructor(_0x55f9d3,_0x58ceb5,_0x1817f9,_0x305875,_0x34d1bb){const _0x3ac58b=_0xce9d13;super(),_0x1c9350(this,'_pivotRenderInfoCache',new Map()),_0x1c9350(this,_0x3ac58b(0x1d0),new Map()),_0x1c9350(this,_0x3ac58b(0x191),new _0x4473ec['Subject']()),_0x1c9350(this,_0x3ac58b(0x245),this[_0x3ac58b(0x191)][_0x3ac58b(0x1bb)]()),_0x1c9350(this,_0x3ac58b(0x2a6),new _0x4473ec[(_0x3ac58b(0x22b))]()),_0x1c9350(this,'viewUpdate$',this[_0x3ac58b(0x2a6)][_0x3ac58b(0x1bb)]()),_0x1c9350(this,'_textInfo'),(this['_localeService']=_0x55f9d3,this[_0x3ac58b(0x37f)]=_0x58ceb5,this[_0x3ac58b(0x295)]=_0x1817f9,this[_0x3ac58b(0x26a)]=_0x305875,this[_0x3ac58b(0xc9)]=_0x34d1bb,this['_initLocale'](),this[_0x3ac58b(0x2a3)]());}[_0xce9d13(0x2a3)](){const _0x228662=_0xce9d13;this[_0x228662(0x2d5)](this['_univerInstanceService'][_0x228662(0x378)](_0x1e403a[_0x228662(0x1c6)][_0x228662(0x1da)])[_0x228662(0x32a)](_0x4bb678=>{const _0x436bd7=_0x228662;this[_0x436bd7(0x1f7)](_0x4bb678['getUnitId']());}));}[_0xce9d13(0x29a)](){const _0x1cb5ee=_0xce9d13;this[_0x1cb5ee(0x3a1)]=_0x130f5f(this[_0x1cb5ee(0x37f)],_0x1dd396,'',{});}[_0xce9d13(0x1bf)](_0x551baf){const _0x591e1f=_0xce9d13,{view:_0x14d133,unitId:_0x29e6bf,subUnitId:_0x1df677,pivotTableId:_0x1e523f,type:_0x12abc1}=_0x551baf,_0x2b8aef=this[_0x591e1f(0x295)][_0x591e1f(0x292)](_0x29e6bf,_0x1df677,_0x1e523f);if(!_0x14d133||!_0x2b8aef||_0x12abc1===_0x574a36[_0x591e1f(0x20f)])return;const {pageView:_0x14219e,cornerView:_0x2e7459,rowView:_0x2a086f,colView:_0x5e96ce,dataView:_0x57b6c9}=_0x14d133,_0x2a0bbe=_0x2b8aef[_0x591e1f(0x200)],_0x47dde5=_0x2b8aef['isEmpty'],_0x539b5a=this[_0x591e1f(0x28d)](_0x29e6bf,_0x1df677),_0x59ad75=this[_0x591e1f(0x393)](_0x29e6bf,_0x1df677,_0x1e523f);if(_0x47dde5)return this['_updateRenderEmptyCache'](_0x551baf,_0x539b5a,_0x2a0bbe,_0x59ad75);{const _0x234acd=_0x389d38(_0x2a0bbe,_0x14219e,!0x0),_0x452b26=_0x14219e['lastRow']>=0x0?_0x14219e[_0x591e1f(0x2d8)]+0x1:0x0,_0x6962af=_0x2e7459[_0x591e1f(0x2f6)](),_0x207a08=_0x2e7459[_0x591e1f(0x375)](),_0x14ddfb=_0x234acd[_0x591e1f(0x392)]>0x0?_0x5a941a:0x0,_0xfd8297=_0x389d38({'row':_0x2a0bbe[_0x591e1f(0x299)]+_0x452b26+_0x14ddfb,'col':_0x2a0bbe[_0x591e1f(0xfb)]},_0x2e7459,!0x1,!0x1),_0x52119f=_0x389d38({'row':_0x2a0bbe['row']+_0x452b26+_0x14ddfb+_0x6962af,'col':_0x2a0bbe[_0x591e1f(0xfb)]},_0x2a086f,!0x1,!0x0),_0x1566be=_0x389d38({'row':_0x2a0bbe[_0x591e1f(0x299)]+_0x452b26+_0x14ddfb,'col':_0x2a0bbe[_0x591e1f(0xfb)]+_0x207a08},_0x5e96ce,!0x1,!0x0),_0x285be1=_0x389d38({'row':_0x2a0bbe[_0x591e1f(0x299)]+_0x452b26+_0x14ddfb+_0x6962af,'col':_0x2a0bbe[_0x591e1f(0xfb)]+_0x207a08},_0x57b6c9,!0x1,!0x1);_0x59ad75[_0x591e1f(0x202)]={'rowRanges':_0x52119f,'colRanges':_0x1566be,'cornerRanges':_0xfd8297,'dataRanges':_0x285be1,'pageRanges':_0x234acd};const _0x1b1a8c=_0x2053f0(this[_0x591e1f(0x37f)],_0x14d133,_0x2b8aef,this[_0x591e1f(0x3a1)]),{valueMatrix:_0x4a5bca,rowInfo:_0xa62065,colInfo:_0x4eaaeb,cornerInfo:_0x1283ec,rowHeaderMap:_0xec854d,colHeaderMap:_0x1794f}=_0x1b1a8c;return _0x59ad75[_0x591e1f(0x27d)]={'rowInfo':_0xa62065,'colInfo':_0x4eaaeb,'cornerInfo':_0x1283ec},_0x59ad75['headerMap']={'rowHeaderMap':_0xec854d,'colHeaderMap':_0x1794f},_0x4a5bca[_0x591e1f(0xf7)]((_0x391e77,_0x315ff2)=>{const _0x2c7c55=_0x591e1f;Object[_0x2c7c55(0x136)](_0x315ff2)['forEach'](_0x281912=>{const _0x15a3c7=_0x2c7c55,_0xae86bf=+_0x281912,_0x4eb350=_0x4a5bca[_0x15a3c7(0x150)](_0x391e77,_0xae86bf);_0x539b5a[_0x15a3c7(0x39e)](_0x391e77,_0xae86bf,_0x4eb350);});}),this[_0x591e1f(0x2a6)][_0x591e1f(0x2bd)]({'unitId':_0x29e6bf,'subUnitId':_0x1df677,'valueMatrix':_0x539b5a,'rangesCache':_0x59ad75['rangesInfo'],'pivotTableId':_0x1e523f,'type':_0x551baf[_0x591e1f(0x123)]}),this['_sheetsPivotTableConfigModel'][_0x591e1f(0x17b)](_0x29e6bf,_0x1df677,_0x1e523f,_0x539b5a,_0x59ad75[_0x591e1f(0x202)]),this[_0x591e1f(0xc9)]['addExclusiveRange'](_0x29e6bf,_0x1df677,_0x4af12f,this['_createExclusiveRange'](_0x59ad75[_0x591e1f(0x202)],_0x1e523f)),{'rangeCache':_0x59ad75[_0x591e1f(0x202)],'matrix':_0x539b5a};}}[_0xce9d13(0x197)](_0x13a119,_0x4ee672,_0x887955,_0xf57e43){const _0x189214=_0xce9d13,_0xc2e94e=this[_0x189214(0x181)]['t'],{unitId:_0x5e0973,subUnitId:_0x32db16,pivotTableId:_0x2536bd}=_0x13a119,_0x584052={'filter':_0xc2e94e(_0x189214(0x1e7)),'row':_0xc2e94e(_0x189214(0x2ea)),'column':_0xc2e94e(_0x189214(0xd2)),'values':_0xc2e94e(_0x189214(0x3d2))},{matrixCache:_0xe0417f,rangesCache:_0x2d3a59}=_0x4cc9bf(_0x584052,_0x887955);return _0xe0417f['forValue']((_0x125835,_0x134aec,_0x4ab35d)=>{_0x4ee672['setValue'](_0x125835,_0x134aec,_0x4ab35d);}),_0xf57e43[_0x189214(0x202)]=_0x2d3a59,this[_0x189214(0x2a6)][_0x189214(0x2bd)]({'unitId':_0x5e0973,'subUnitId':_0x32db16,'valueMatrix':_0x4ee672,'rangesCache':_0x2d3a59,'pivotTableId':_0x2536bd,'type':_0x13a119[_0x189214(0x123)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel']['updateViewInfo'](_0x5e0973,_0x32db16,_0x2536bd,_0x4ee672,_0x2d3a59),this[_0x189214(0xc9)]['addExclusiveRange'](_0x5e0973,_0x32db16,_0x4af12f,this[_0x189214(0x3be)](_0x2d3a59,_0x2536bd)),{'rangeCache':_0xf57e43[_0x189214(0x202)],'matrix':_0x4ee672};}[_0xce9d13(0x3be)](_0xceea64,_0x1fa9bb){const _0x5f2f58=_0xce9d13,_0xee03c6=[],_0x1002c0=_0xa6fa5e(_0xceea64);for(const _0x2c2bd2 of _0x1002c0)_0xee03c6[_0x5f2f58(0x374)]({'groupId':_0x1fa9bb,'range':_0x2c2bd2});return _0xee03c6;}[_0xce9d13(0x3a8)](_0x2491ea){const _0x455dad=_0xce9d13;var _0x3ccef7,_0x17b155,_0x578a39,_0x150d2a;const {pivotTableId:_0x30fec5,unitId:_0x3e6342,subUnitId:_0x255005}=_0x2491ea;if(!_0x30fec5||!_0x3e6342||!_0x255005)return;const _0x4a2fb1=this[_0x455dad(0x28d)](_0x3e6342,_0x255005),_0x1f51bd=(_0x17b155=(_0x3ccef7=this[_0x455dad(0x1e8)][_0x455dad(0x159)](_0x3e6342))==null?void 0x0:_0x3ccef7['get'](_0x255005))==null?void 0x0:_0x17b155['get'](_0x30fec5);if(_0x1f51bd!=null&&_0x1f51bd[_0x455dad(0x202)]){for(const _0x153e14 of Object['keys'](_0x1f51bd[_0x455dad(0x202)]))_0x1f51bd[_0x455dad(0x202)][_0x153e14][_0x455dad(0xf7)](_0x5978d4=>{const _0x599f67=_0x455dad;for(let _0x3a0923=_0x5978d4[_0x599f67(0x2f5)];_0x3a0923<=_0x5978d4[_0x599f67(0x34a)];_0x3a0923++)for(let _0x427701=_0x5978d4['startColumn'];_0x427701<=_0x5978d4[_0x599f67(0x25c)];_0x427701++)_0x4a2fb1[_0x599f67(0x357)](_0x3a0923,_0x427701);});}_0x1f51bd&&((_0x150d2a=(_0x578a39=this[_0x455dad(0x1e8)]['get'](_0x3e6342))==null?void 0x0:_0x578a39[_0x455dad(0x159)](_0x255005))==null||_0x150d2a[_0x455dad(0x2eb)](_0x30fec5)),this[_0x455dad(0x2a6)][_0x455dad(0x2bd)]({'unitId':_0x3e6342,'subUnitId':_0x255005,'valueMatrix':_0x4a2fb1,'pivotTableId':_0x30fec5,'rangesCache':void 0x0,'type':_0x2491ea['type']}),this['_exclusiveRangeService'][_0x455dad(0x1f4)](_0x3e6342,_0x255005,_0x4af12f,_0x30fec5);}['_ensurePivotItemRenderInfoCache'](_0x355f39,_0x51a989,_0x1d52da){const _0x205c7a=_0xce9d13;var _0xe76825,_0x298c8f,_0x562802,_0x57ab5d,_0xb18338,_0x151cf2;return this['_pivotRenderInfoCache'][_0x205c7a(0x22e)](_0x355f39)||this[_0x205c7a(0x1e8)][_0x205c7a(0x1ae)](_0x355f39,new Map()),(_0xe76825=this[_0x205c7a(0x1e8)][_0x205c7a(0x159)](_0x355f39))!=null&&_0xe76825[_0x205c7a(0x22e)](_0x51a989)||(_0x298c8f=this[_0x205c7a(0x1e8)][_0x205c7a(0x159)](_0x355f39))==null||_0x298c8f[_0x205c7a(0x1ae)](_0x51a989,new Map()),(_0x57ab5d=(_0x562802=this[_0x205c7a(0x1e8)][_0x205c7a(0x159)](_0x355f39))==null?void 0x0:_0x562802[_0x205c7a(0x159)](_0x51a989))!=null&&_0x57ab5d[_0x205c7a(0x22e)](_0x1d52da)||(_0x151cf2=(_0xb18338=this[_0x205c7a(0x1e8)]['get'](_0x355f39))==null?void 0x0:_0xb18338[_0x205c7a(0x159)](_0x51a989))==null||_0x151cf2[_0x205c7a(0x1ae)](_0x1d52da,{}),this['_pivotRenderInfoCache'][_0x205c7a(0x159)](_0x355f39)['get'](_0x51a989)['get'](_0x1d52da);}[_0xce9d13(0x28d)](_0x1d1ddb,_0x27d0e2){const _0x22e458=_0xce9d13;var _0x4782a9,_0x4f839b;return this[_0x22e458(0x1d0)][_0x22e458(0x22e)](_0x1d1ddb)||this['_pivotRenderValueMatrixCache'][_0x22e458(0x1ae)](_0x1d1ddb,new Map()),(_0x4782a9=this[_0x22e458(0x1d0)][_0x22e458(0x159)](_0x1d1ddb))!=null&&_0x4782a9['has'](_0x27d0e2)||(_0x4f839b=this[_0x22e458(0x1d0)][_0x22e458(0x159)](_0x1d1ddb))==null||_0x4f839b[_0x22e458(0x1ae)](_0x27d0e2,new _0x1e403a['ObjectMatrix']()),this[_0x22e458(0x1d0)][_0x22e458(0x159)](_0x1d1ddb)['get'](_0x27d0e2);}[_0xce9d13(0x1f8)](_0x477998,_0xb0d78e,_0x28b170,_0x435f5a){const _0x354ca5=_0xce9d13;var _0x57d935,_0x1febbd;const _0x1a1373=(_0x1febbd=(_0x57d935=this['_pivotRenderValueMatrixCache'][_0x354ca5(0x159)](_0x477998))==null?void 0x0:_0x57d935['get'](_0xb0d78e))==null?void 0x0:_0x1febbd[_0x354ca5(0x150)](_0x28b170,_0x435f5a);if(_0x1a1373!=null)return _0x1a1373;}[_0xce9d13(0x31d)](_0x22eef5,_0x308154,_0x167577,_0x1891eb){const _0x97c1f5=_0xce9d13;var _0x219873;const _0x17a3d1=_0x1e403a[_0x97c1f5(0xd3)](_0x167577,_0x1891eb),_0x30584b=(_0x219873=this[_0x97c1f5(0x1e8)][_0x97c1f5(0x159)](_0x22eef5))==null?void 0x0:_0x219873['get'](_0x308154);return _0x30584b?Array[_0x97c1f5(0x113)](_0x30584b[_0x97c1f5(0x136)]())['find'](_0x4af616=>{const _0x171dde=_0x97c1f5,_0x59c031=_0x30584b[_0x171dde(0x159)](_0x4af616),_0x21b896=_0x59c031==null?void 0x0:_0x59c031[_0x171dde(0x202)];return _0x21b896?Object['keys'](_0x21b896)['some'](_0x1ee78f=>_0x21b896[_0x1ee78f][_0x171dde(0x3c3)](_0x5b02e8=>_0x1e403a[_0x171dde(0x18b)][_0x171dde(0x11b)](_0x5b02e8,_0x17a3d1))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0xedcfd2,_0x28d2f8,_0xeb1384){const _0x1c05de=_0xce9d13;var _0x5175df;const _0x36f1ae=(_0x5175df=this[_0x1c05de(0x1e8)][_0x1c05de(0x159)](_0xedcfd2))==null?void 0x0:_0x5175df[_0x1c05de(0x159)](_0x28d2f8),_0x1abf42=[];return _0x36f1ae&&Array[_0x1c05de(0x113)](_0x36f1ae[_0x1c05de(0x136)]())[_0x1c05de(0xf7)](_0x5f1386=>{const _0x186b75=_0x1c05de,_0x4d546c=_0x36f1ae[_0x186b75(0x159)](_0x5f1386),_0x5ec34c=_0x4d546c==null?void 0x0:_0x4d546c[_0x186b75(0x202)];if(_0x5ec34c)for(const _0x41e795 of Object['values'](_0x5ec34c)){let _0x58f22a=!0x1;for(const _0x1b740d of _0x41e795)if(_0x1e403a['Rectangle'][_0x186b75(0xc6)](_0x1b740d,_0xeb1384)){_0x1abf42[_0x186b75(0x374)](_0x5f1386),_0x58f22a=!0x0;break;}if(_0x58f22a)break;}}),_0x1abf42;}[_0xce9d13(0x264)](_0x24aa26,_0x18446b){const _0x181ea5=_0xce9d13;var _0x472343,_0x9073a1;return(_0x9073a1=(_0x472343=this[_0x181ea5(0x1d0)][_0x181ea5(0x159)](_0x24aa26))==null?void 0x0:_0x472343[_0x181ea5(0x159)](_0x18446b))!=null?_0x9073a1:new _0x1e403a[(_0x181ea5(0x1c3))]();}[_0xce9d13(0x368)](_0x3f598f,_0x27367b){const _0x52c87c=_0xce9d13;var _0x246cda;return(_0x246cda=this[_0x52c87c(0x1e8)][_0x52c87c(0x159)](_0x3f598f))==null?void 0x0:_0x246cda[_0x52c87c(0x159)](_0x27367b);}[_0xce9d13(0x342)](_0x390548,_0x1698d9,_0x10a506){const _0x3e78e5=_0xce9d13;var _0x4e9ec3,_0x11b497;return(_0x11b497=(_0x4e9ec3=this['_pivotRenderInfoCache'][_0x3e78e5(0x159)](_0x390548))==null?void 0x0:_0x4e9ec3[_0x3e78e5(0x159)](_0x1698d9))==null?void 0x0:_0x11b497[_0x3e78e5(0x159)](_0x10a506);}['deleteUnitId'](_0x5a8caf){const _0x5db678=_0xce9d13;this[_0x5db678(0x1e8)][_0x5db678(0x2eb)](_0x5a8caf),this[_0x5db678(0x1d0)][_0x5db678(0x2eb)](_0x5a8caf);}[_0xce9d13(0x2d4)](_0x3cd00a,_0x10b7d2){const _0x34a05f=_0xce9d13;this['_markDirty$'][_0x34a05f(0x2bd)]({'unitId':_0x3cd00a,'subUnitId':_0x10b7d2});}},_0x3f103d['SheetsPivotTableAdaptorModel']=_0x40e333([_0x5dedf7(0x0,_0x1e403a['Inject'](_0x1e403a[_0xce9d13(0x110)])),_0x5dedf7(0x1,_0x1e403a[_0xce9d13(0x2e6)](_0x1e403a[_0xce9d13(0x26c)])),_0x5dedf7(0x2,_0x1e403a['Inject'](_0x3f103d[_0xce9d13(0x1fd)])),_0x5dedf7(0x3,_0x1e403a[_0xce9d13(0x2e6)](_0x1e403a[_0xce9d13(0x175)])),_0x5dedf7(0x4,_0x1e403a[_0xce9d13(0x2e6)](_0x3c5050[_0xce9d13(0xdf)]))],_0x3f103d[_0xce9d13(0x19b)]);var _0x5aed12=Object['getOwnPropertyDescriptor'],_0x45b0fe=(_0x4ca67a,_0x6f0c8c,_0x1369b2,_0x109a87)=>{const _0xa1cf0b=_0xce9d13;for(var _0x187ef8=_0x109a87>0x1?void 0x0:_0x109a87?_0x5aed12(_0x6f0c8c,_0x1369b2):_0x6f0c8c,_0x2f27a5=_0x4ca67a[_0xa1cf0b(0x392)]-0x1,_0x3257c7;_0x2f27a5>=0x0;_0x2f27a5--)(_0x3257c7=_0x4ca67a[_0x2f27a5])&&(_0x187ef8=_0x3257c7(_0x187ef8)||_0x187ef8);return _0x187ef8;},_0x4d3a88=(_0x1881bb,_0x275a1b)=>(_0x30cd47,_0x3a7f4e)=>_0x275a1b(_0x30cd47,_0x3a7f4e,_0x1881bb);_0x3f103d['SheetsPivotTableService']=class extends _0x1e403a[_0xce9d13(0x33e)]{constructor(_0xc5bbdb,_0x2d26df){const _0x2bd084=_0xce9d13;super(),_0x1c9350(this,_0x2bd084(0x2c1),new _0x1e403a[(_0x2bd084(0x13a))]({'PIVOT_PERFORM_CHECK':_0x52eec6})),_0x1c9350(this,_0x2bd084(0xda),new _0x1e403a['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x53a8d4})),(this[_0x2bd084(0x34e)]=_0xc5bbdb,this[_0x2bd084(0x380)]=_0x2d26df,this[_0x2bd084(0x2dc)]());}[_0xce9d13(0x2dc)](){const _0x817b85=_0xce9d13;this[_0x817b85(0x1a7)]();}[_0xce9d13(0x257)](_0x1fc0cd){const _0x37551b=_0xce9d13;return this[_0x37551b(0x2c1)][_0x37551b(0x275)](_0x52eec6)(!0x1,_0x1fc0cd);}[_0xce9d13(0x1a7)](){const _0x3fa2e9=_0xce9d13;this[_0x3fa2e9(0x2d5)](this[_0x3fa2e9(0x34e)]['intercept'](_0x3c5050['INTERCEPTOR_POINT'][_0x3fa2e9(0x162)],{'priority':0xc8,'effect':_0x1e403a[_0x3fa2e9(0x241)]['Value']|_0x1e403a[_0x3fa2e9(0x241)][_0x3fa2e9(0x384)],'handler':(_0x2a92fd,_0x200726,_0x3de992)=>{const _0x20803d=_0x3fa2e9,{row:_0x15c827,col:_0x2135b7,unitId:_0x2d9767,subUnitId:_0x288ea6,workbook:_0x15f2ae}=_0x200726,_0xa592fa=this[_0x20803d(0x380)]['getPivotTableCellData'](_0x2d9767,_0x288ea6,_0x15c827,_0x2135b7);if(!_0xa592fa)return _0x3de992(_0x2a92fd);const _0x56f2e0={..._0x2a92fd};(_0xa592fa['v']||_0xa592fa['v']===0x0)&&(_0x56f2e0['v']=_0xa592fa['v']),_0xa592fa['t']&&(_0x56f2e0['t']=_0xa592fa['t']);const _0xc9ea79=(typeof(_0x2a92fd==null?void 0x0:_0x2a92fd['s'])==_0x20803d(0x1b0)?_0x15f2ae['getStyles']()[_0x20803d(0x159)](_0x2a92fd==null?void 0x0:_0x2a92fd['s']):_0x2a92fd==null?void 0x0:_0x2a92fd['s'])||{},_0x1f0baf=_0x15f2ae[_0x20803d(0x10b)]()[_0x20803d(0x159)](_0xa592fa['s']),_0xe10ee1={..._0x1f0baf,..._0xc9ea79};_0x1f0baf!=null&&_0x1f0baf['n']&&(_0xe10ee1['n']=_0x1f0baf['n']);const _0x26839c=_0x15f2ae[_0x20803d(0x10b)]()[_0x20803d(0x39e)](_0xe10ee1);return _0x56f2e0['s']=_0x26839c,(_0xa592fa[_0x20803d(0x1ef)]===_0x3d0452['PivotCellStyleTypeEnum'][_0x20803d(0x365)]||_0xa592fa[_0x20803d(0x1ef)]===_0x3d0452[_0x20803d(0x18a)][_0x20803d(0x362)])&&(_0x56f2e0[_0x20803d(0x166)]={},_0x56f2e0[_0x20803d(0x166)]['leftOffset']=_0x115b7a),_0x3de992(_0x56f2e0);}}));}},_0x3f103d[_0xce9d13(0x282)]=_0x45b0fe([_0x4d3a88(0x0,_0x1e403a[_0xce9d13(0x2e6)](_0x3c5050[_0xce9d13(0x145)])),_0x4d3a88(0x1,_0x1e403a['Inject'](_0x3f103d[_0xce9d13(0x19b)]))],_0x3f103d['SheetsPivotTableService']);const _0x39c7d8={'id':_0xce9d13(0x230),'type':_0x1e403a['CommandType'][_0xce9d13(0x23e)],'handler':(_0x2cd127,_0x488b0f)=>{const _0x1422e1=_0xce9d13;if(!_0x488b0f)return!0x1;if(!!_0x2cd127[_0x1422e1(0x159)](_0x1e403a[_0x1422e1(0x122)])[_0x1422e1(0xc7)](_0x258c3b))return!0x0;const {pivotTableId:_0xd213ea,fieldJSON:_0x52de3f,unitId:_0x18981f,subUnitId:_0x43a144}=_0x488b0f;let _0x5f2d19;const {dataFieldType:_0x5c68a7,id:_0x4f5635,name:_0x316c7b,hexCode:_0x240e16,originalFieldId:_0x18cea5}=_0x52de3f;if(_0x5c68a7===_0x3d0452['PivotDataFieldTypeEnum'][_0x1422e1(0xe4)]&&(_0x5f2d19=new _0x3d0452[(_0x1422e1(0x135))](_0x4f5635,_0x316c7b,_0x240e16,_0x18cea5)),!_0x5f2d19)return!0x1;const _0x4d2468=_0x2cd127['get'](_0x3f103d[_0x1422e1(0x255)]),_0x57c3de=_0x4d2468[_0x1422e1(0x1f2)](_0x18981f),_0x52a6fa=_0x57c3de[_0x1422e1(0x2f7)](_0xd213ea);_0x57c3de['addDataFieldWithoutUnitInfo'](_0x5f2d19),_0x52a6fa[_0x1422e1(0x339)](_0x5f2d19['getId'](),_0x5f2d19['getName']());const _0x49a36e=_0x52a6fa[_0x1422e1(0x1b3)](_0x5f2d19[_0x1422e1(0x332)]());_0x49a36e&&_0x5f2d19[_0x1422e1(0x27f)](_0x49a36e);const _0x5b079a=_0x4d2468['getPivotTableConfig'](_0x18981f,_0x43a144,_0xd213ea);return _0x4d2468['addDirtyPivotTable']({'unitId':_0x18981f,'subUnitId':_0x43a144,'token':_0xd213ea,'type':_0x574a36[_0x1422e1(0x369)],'pivotConfig':_0x5b079a}),!0x0;}},_0x1b14bb={'id':_0xce9d13(0x3d4),'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x23e)],'handler':(_0x8d55d8,_0x4a614c)=>{const _0x2a9cd0=_0xce9d13;if(!_0x4a614c)return!0x1;if(!!_0x8d55d8[_0x2a9cd0(0x159)](_0x1e403a['IConfigService'])['getConfig'](_0x258c3b))return!0x0;const {pivotTableId:_0x1ff6cc,dataFieldId:_0x2361f7,unitId:_0x426359,subUnitId:_0x175f94}=_0x4a614c,_0x5c610b=_0x8d55d8[_0x2a9cd0(0x159)](_0x3f103d[_0x2a9cd0(0x255)]),_0x3fd14b=_0x5c610b[_0x2a9cd0(0x1f2)](_0x426359);_0x3fd14b['getCollection'](_0x1ff6cc)[_0x2a9cd0(0x2dd)](_0x2361f7);let _0xf709b2=!0x0;for(const _0x49ecbb in _0x3fd14b['collections'])if(_0x3fd14b[_0x2a9cd0(0x2a8)][_0x49ecbb][_0x2a9cd0(0x164)]()['includes'](_0x2361f7)){_0xf709b2=!0x1;break;}_0xf709b2&&_0x3fd14b[_0x2a9cd0(0x360)](_0x2361f7);const _0x2f3a1f=_0x5c610b['getPivotTableConfig'](_0x426359,_0x175f94,_0x1ff6cc);return _0x5c610b[_0x2a9cd0(0x231)]({'unitId':_0x426359,'subUnitId':_0x175f94,'token':_0x1ff6cc,'type':_0x574a36[_0x2a9cd0(0x369)],'pivotConfig':_0x2f3a1f}),!0x0;}};function _0x75a5bb(_0x23b187,_0x1464c3){const _0x41bb22=_0xce9d13;switch(_0x1464c3){case _0x3d0452[_0x41bb22(0x217)][_0x41bb22(0x34d)]:return _0x23b187['valueFields'];case _0x3d0452[_0x41bb22(0x217)][_0x41bb22(0x293)]:return _0x23b187[_0x41bb22(0x2fc)];case _0x3d0452[_0x41bb22(0x217)]['Row']:return _0x23b187[_0x41bb22(0x1e5)];case _0x3d0452[_0x41bb22(0x217)][_0x41bb22(0x140)]:return _0x23b187['columnFields'];default:return[];}}function _0x52e109(_0x20d258,_0x2ad517){const _0x1703f7=_0xce9d13;return _0x20d258[_0x1703f7(0x21f)][_0x2ad517]||_0x20d258[_0x1703f7(0x1ed)][_0x2ad517];}function _0x3fe73c(_0x1be91f,_0x5dfe0a){const _0x384c4c=_0xce9d13,{area:_0x38c054,fieldJson:_0x1ef204,index:_0xde6ea0}=_0x5dfe0a;_0x38c054===_0x3d0452['PivotTableFiledAreaEnum'][_0x384c4c(0x34d)]?_0x1be91f[_0x384c4c(0x21f)][_0x1ef204['id']]=_0x1ef204:_0x1be91f[_0x384c4c(0x1ed)][_0x1ef204['id']]=_0x1ef204,_0x75a5bb(_0x1be91f,_0x38c054)[_0x384c4c(0x30a)](_0xde6ea0,0x0,_0x1ef204['id']);}function _0x44fcbe(_0x564b1c,_0x453da9){const _0x2f07c4=_0xce9d13,{area:_0x30e1a6,fieldId:_0x4fc2ba,index:_0x3f1ab7}=_0x453da9;_0x30e1a6===_0x3d0452[_0x2f07c4(0x217)][_0x2f07c4(0x34d)]?delete _0x564b1c['measure'][_0x4fc2ba]:delete _0x564b1c[_0x2f07c4(0x1ed)][_0x4fc2ba],_0x75a5bb(_0x564b1c,_0x30e1a6)['splice'](_0x3f1ab7,0x1);}function _0x538881(_0x5629d0,_0x3fd39f){const _0x5371c7=_0xce9d13,{fieldId:_0x451b67,name:_0x16537e}=_0x3fd39f,_0x3c78c0=_0x52e109(_0x5629d0,_0x451b67);_0x3c78c0&&(_0x3c78c0[_0x5371c7(0xde)]=_0x16537e);}function _0x3b4b65(_0x1efbf8,_0x5326a5){const _0x4c2eb6=_0xce9d13,{fieldId:_0xf5cb0b,collapse:_0x36211a,item:_0x408916}=_0x5326a5;_0x408916!==void 0x0?(_0x1efbf8[_0x4c2eb6(0x1a1)][_0xf5cb0b]=_0x1efbf8['collapseInfo'][_0xf5cb0b]||{},_0x1efbf8[_0x4c2eb6(0x1a1)][_0xf5cb0b][_0x408916]=_0x36211a):_0x1efbf8[_0x4c2eb6(0x1a1)][_0xf5cb0b]=_0x36211a;}function _0x33bbc4(_0x5c23d6,_0x49666c){const _0x747395=_0xce9d13,{fieldId:_0x59ab43,format:_0x15c311}=_0x49666c,_0x1b36bb=_0x52e109(_0x5c23d6,_0x59ab43);_0x1b36bb&&(_0x1b36bb[_0x747395(0xd1)]=_0x15c311);}function _0x169738(_0x3fefcc,_0x5bd722){const _0x1e75bf=_0xce9d13,{fieldId:_0x14c2c4,filterInfo:_0x375015}=_0x5bd722,_0x138383=_0x52e109(_0x3fefcc,_0x14c2c4);_0x138383&&(_0x138383[_0x1e75bf(0x2c5)]=_0x375015);}function _0x3c708a(_0x2dc4e4,_0x150405){const _0x3ffc07=_0xce9d13,{fieldId:_0x1fd140,filterInfo:_0x3ffe58}=_0x150405,_0x1e6fe0=_0x2dc4e4[_0x3ffc07(0x23c)]['filter'](_0xd3212b=>_0xd3212b[_0x3ffc07(0x3ae)]!==_0x1fd140);_0x3ffe58&&_0x1e6fe0[_0x3ffc07(0x374)]({'fieldId':_0x1fd140,'filterInfo':_0x3ffe58}),_0x2dc4e4[_0x3ffc07(0x23c)]=_0x1e6fe0;}function _0x69a22d(_0x40e8e1,_0x3d8343){const {fieldId:_0x5b737a,subtotalType:_0x360658}=_0x3d8343,_0x3fef38=_0x52e109(_0x40e8e1,_0x5b737a);_0x3fef38&&(_0x3fef38['subtotal']=_0x360658);}function _0x1df8b1(_0x148ea1,_0x83bb4c){const _0x3509db=_0xce9d13,{fieldId:_0x2d0a89,oldArea:_0x4ed820,area:_0x542a90,oldIndex:_0x88ea5f,index:_0x48b366}=_0x83bb4c,_0x48c81c=_0x4ed820!==_0x3d0452[_0x3509db(0x217)][_0x3509db(0x34d)]&&_0x542a90===_0x3d0452[_0x3509db(0x217)]['Value'],_0x30dd72=_0x4ed820===_0x3d0452[_0x3509db(0x217)][_0x3509db(0x34d)]&&_0x542a90!==_0x3d0452['PivotTableFiledAreaEnum'][_0x3509db(0x34d)];if(_0x48c81c||_0x30dd72){const _0x342bcd=_0x52e109(_0x148ea1,_0x2d0a89);_0x342bcd&&(_0x48c81c?(delete _0x148ea1['dimension'][_0x2d0a89],_0x148ea1['measure'][_0x2d0a89]=_0x342bcd):(delete _0x148ea1['measure'][_0x2d0a89],_0x148ea1['dimension'][_0x2d0a89]=_0x342bcd));}const _0x65da2=_0x75a5bb(_0x148ea1,_0x4ed820),_0x4e1c58=_0x75a5bb(_0x148ea1,_0x542a90);_0x65da2[_0x3509db(0x30a)](_0x88ea5f,0x1),_0x4e1c58[_0x3509db(0x30a)](_0x48b366,0x0,_0x2d0a89);}function _0xc6c7e5(_0x4c43ac,_0x396ad3){const _0x1e2a6a=_0xce9d13,{valuePosition:_0x51d415,index:_0x446294}=_0x396ad3;_0x4c43ac[_0x1e2a6a(0x222)]=_0x51d415,_0x4c43ac[_0x1e2a6a(0x211)]=_0x446294;}function _0xc3d574(_0x341cb0,_0x39d60c){const _0xa95961=_0xce9d13,{tableFieldId:_0x481ba7,sourceName:_0x2b01f4,dataFieldId:_0x3417f8}=_0x39d60c,_0x51755a=_0x52e109(_0x341cb0,_0x481ba7);_0x51755a&&(_0x51755a[_0xa95961(0x308)]=_0x2b01f4,_0x51755a[_0xa95961(0x361)]=_0x3417f8);}function _0xa697b(_0x4f5a00,_0x148ec3){const {fieldId:_0x159884,sortInfo:_0xbbfa1c}=_0x148ec3,_0x2d6878=_0x52e109(_0x4f5a00,_0x159884);_0x2d6878&&(_0x2d6878['sortInfo']=_0xbbfa1c);}function _0x31489f(_0x16d1cb,_0xf68167){const _0x5bf182=_0xce9d13,{options:_0x224917}=_0xf68167;_0x16d1cb[_0x5bf182(0x270)]={..._0x16d1cb[_0x5bf182(0x270)],..._0x224917};}const _0x3ef5b3={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x23e)],'id':_0xce9d13(0x338),'handler'(_0x206423,_0x3b789a){const _0x210afe=_0xce9d13;if(!_0x3b789a)return!0x1;if(!!_0x206423[_0x210afe(0x159)](_0x1e403a[_0x210afe(0x122)])[_0x210afe(0xc7)](_0x258c3b))return!0x0;const _0x37a5ce=_0x206423[_0x210afe(0x159)](_0x3f103d[_0x210afe(0x255)]),{pivotTableId:_0x551621,fieldJson:_0x43177f,area:_0x544353,index:_0x57b364,unitId:_0x445758,subUnitId:_0x520f9b}=_0x3b789a,_0x342fc4=_0x37a5ce[_0x210afe(0x346)](_0x551621);if(!_0x342fc4)return!0x1;let _0x1d75fc;_0x544353===_0x3d0452[_0x210afe(0x217)][_0x210afe(0x34d)]?_0x1d75fc=_0x3d0452[_0x210afe(0x107)](_0x43177f):_0x1d75fc=_0x3d0452[_0x210afe(0x1ab)](_0x43177f),_0x342fc4['addField'](_0x1d75fc,_0x544353,_0x57b364);const _0x449315=_0x37a5ce[_0x210afe(0x310)](_0x445758,_0x520f9b,_0x551621);_0x3fe73c(_0x449315,_0x3b789a);const _0x1f9b12=_0x37a5ce['getPivotTableConfig'](_0x445758,_0x520f9b,_0x551621);return _0x37a5ce[_0x210afe(0x231)]({'unitId':_0x445758,'subUnitId':_0x520f9b,'token':_0x551621,'type':_0x574a36[_0x210afe(0x369)],'pivotConfig':_0x1f9b12}),!0x0;}},_0x22dbb3={'type':_0x1e403a['CommandType'][_0xce9d13(0x23e)],'id':_0xce9d13(0x149),'handler'(_0x445c33,_0x46f3af){const _0x4993aa=_0xce9d13;if(!_0x46f3af)return!0x1;if(!!_0x445c33[_0x4993aa(0x159)](_0x1e403a[_0x4993aa(0x122)])[_0x4993aa(0xc7)](_0x258c3b))return!0x0;const _0xfd380d=_0x445c33[_0x4993aa(0x159)](_0x3f103d[_0x4993aa(0x255)]),{pivotTableId:_0x53afb8,fieldId:_0x2d6e9c,unitId:_0x159fb9,subUnitId:_0x5c169a}=_0x46f3af,_0x3235ac=_0xfd380d['getPivotTableInstance'](_0x53afb8);if(!_0x3235ac)return!0x1;_0x3235ac[_0x4993aa(0x1dd)](_0x2d6e9c);const _0x27cd68=_0xfd380d['getPivotTableModelConfig'](_0x159fb9,_0x5c169a,_0x53afb8);_0x44fcbe(_0x27cd68,_0x46f3af);const _0x2744bb=_0xfd380d[_0x4993aa(0x292)](_0x159fb9,_0x5c169a,_0x53afb8);return _0xfd380d[_0x4993aa(0x231)]({'unitId':_0x159fb9,'subUnitId':_0x5c169a,'token':_0x53afb8,'type':_0x574a36['Set'],'pivotConfig':_0x2744bb}),!0x0;}},_0xe13526={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x23e)],'id':_0xce9d13(0x30d),'handler'(_0x317863,_0x4fb70e){const _0x32078d=_0xce9d13;if(!_0x4fb70e)return!0x1;if(!!_0x317863[_0x32078d(0x159)](_0x1e403a[_0x32078d(0x122)])['getConfig'](_0x258c3b))return!0x0;const _0x2604c3=_0x317863[_0x32078d(0x159)](_0x3f103d[_0x32078d(0x255)]),{unitId:_0x32ea77,subUnitId:_0x1d6217,pivotTableId:_0x1ec0b9,fieldId:_0x2ae828,name:_0x43c684}=_0x4fb70e,_0x474ff6=_0x2604c3[_0x32078d(0x346)](_0x1ec0b9);if(!_0x474ff6)return!0x1;_0x474ff6[_0x32078d(0x1b9)](_0x2ae828,_0x43c684);const _0x21c54c=_0x2604c3[_0x32078d(0x310)](_0x32ea77,_0x1d6217,_0x1ec0b9);return _0x538881(_0x21c54c,_0x4fb70e),_0x2604c3['addDirtyPivotTable']({'unitId':_0x32ea77,'subUnitId':_0x1d6217,'token':_0x1ec0b9,'type':_0x574a36[_0x32078d(0x369)]}),!0x0;}},_0x26968f={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x23e)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x316ef3,_0x243a3d){const _0x3856e4=_0xce9d13;if(!_0x243a3d)return!0x1;if(!!_0x316ef3[_0x3856e4(0x159)](_0x1e403a['IConfigService'])[_0x3856e4(0xc7)](_0x258c3b))return!0x0;const _0x2483e0=_0x316ef3[_0x3856e4(0x159)](_0x3f103d[_0x3856e4(0x255)]),{unitId:_0x4d8491,subUnitId:_0x59c6d3,pivotTableId:_0x5c6459,fieldId:_0x5b7393,collapse:_0x396093,item:_0x5aa842}=_0x243a3d,_0x2433e3=_0x2483e0[_0x3856e4(0x346)](_0x5c6459);if(!_0x2433e3)return!0x1;_0x2433e3[_0x3856e4(0x125)](_0x5b7393,_0x396093,_0x5aa842);const _0x245f37=_0x2483e0['getPivotTableModelConfig'](_0x4d8491,_0x59c6d3,_0x5c6459);return _0x3b4b65(_0x245f37,_0x243a3d),_0x2483e0['addDirtyPivotTable']({'unitId':_0x4d8491,'subUnitId':_0x59c6d3,'token':_0x5c6459,'type':_0x574a36['Set']}),!0x0;}},_0x185e26={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x23e)],'id':'sheet.mutation.set-pivot-format','handler'(_0x28426c,_0x3530fd){const _0x5c1b04=_0xce9d13;if(!_0x3530fd)return!0x1;if(!!_0x28426c[_0x5c1b04(0x159)](_0x1e403a['IConfigService'])['getConfig'](_0x258c3b))return!0x0;const _0x5e5980=_0x28426c[_0x5c1b04(0x159)](_0x3f103d['SheetsPivotDataSourceModel']),{unitId:_0x1e3487,subUnitId:_0x4d4caa,pivotTableId:_0x33798e,fieldId:_0x2f49c0,format:_0x215788}=_0x3530fd,_0x4920e8=_0x5e5980[_0x5c1b04(0x346)](_0x33798e);if(!_0x4920e8)return!0x1;_0x4920e8[_0x5c1b04(0x16a)](_0x2f49c0,_0x215788);const _0x2c2822=_0x5e5980[_0x5c1b04(0x310)](_0x1e3487,_0x4d4caa,_0x33798e);return _0x33bbc4(_0x2c2822,_0x3530fd),_0x5e5980[_0x5c1b04(0x231)]({'unitId':_0x1e3487,'subUnitId':_0x4d4caa,'token':_0x33798e,'type':_0x574a36['Set']}),!0x0;}},_0x136461={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x23e)],'id':_0xce9d13(0x192),'handler'(_0x529dd7,_0x29c8ea){const _0x2df859=_0xce9d13;if(!_0x29c8ea)return!0x1;if(!!_0x529dd7[_0x2df859(0x159)](_0x1e403a[_0x2df859(0x122)])[_0x2df859(0xc7)](_0x258c3b))return!0x0;const _0x367c10=_0x529dd7[_0x2df859(0x159)](_0x3f103d[_0x2df859(0x255)]),{unitId:_0x4ddb70,subUnitId:_0x357e22,pivotTableId:_0x22f437,fieldId:_0x4486ca,filterInfo:_0x14997f}=_0x29c8ea,_0x5998c7=_0x367c10[_0x2df859(0x346)](_0x22f437);if(!_0x5998c7)return!0x1;_0x5998c7[_0x2df859(0x232)](_0x4486ca,_0x14997f);const _0x4d3c85=_0x367c10[_0x2df859(0x310)](_0x4ddb70,_0x357e22,_0x22f437);return _0x169738(_0x4d3c85,_0x29c8ea),_0x367c10[_0x2df859(0x231)]({'unitId':_0x4ddb70,'subUnitId':_0x357e22,'token':_0x22f437,'type':_0x574a36['Set']}),!0x0;}},_0x28c1a1={'type':_0x1e403a['CommandType'][_0xce9d13(0x23e)],'id':_0xce9d13(0x32f),'handler'(_0x37da55,_0x305f41){const _0x1a2089=_0xce9d13;if(!_0x305f41)return!0x1;if(!!_0x37da55[_0x1a2089(0x159)](_0x1e403a[_0x1a2089(0x122)])[_0x1a2089(0xc7)](_0x258c3b))return!0x0;const _0x467bbf=_0x37da55[_0x1a2089(0x159)](_0x3f103d['SheetsPivotDataSourceModel']),{unitId:_0x2949f0,subUnitId:_0x5d9616,pivotTableId:_0x558803,options:_0x596448}=_0x305f41,_0x592461=_0x467bbf['getPivotTableInstance'](_0x558803);if(!_0x592461)return!0x1;_0x592461['setOptions'](_0x596448);const _0x358d71=_0x467bbf['getPivotTableModelConfig'](_0x2949f0,_0x5d9616,_0x558803);return _0x31489f(_0x358d71,_0x305f41),_0x467bbf[_0x1a2089(0x231)]({'unitId':_0x2949f0,'subUnitId':_0x5d9616,'token':_0x558803,'type':_0x574a36[_0x1a2089(0x369)]}),!0x0;}},_0x1d6d2d={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x23e)],'id':_0xce9d13(0x106),'handler'(_0x2bbddb,_0x534a09){const _0x22325a=_0xce9d13;if(!_0x534a09)return!0x1;if(!!_0x2bbddb['get'](_0x1e403a['IConfigService'])[_0x22325a(0xc7)](_0x258c3b))return!0x0;const _0x42e370=_0x2bbddb['get'](_0x3f103d[_0x22325a(0x255)]),{unitId:_0x3d1f26,subUnitId:_0xe422c3,pivotTableId:_0x2fd05e,sortInfo:_0x3ef01c,fieldId:_0x547651}=_0x534a09,_0x580f67=_0x42e370[_0x22325a(0x346)](_0x2fd05e);if(!_0x580f67)return!0x1;_0x580f67[_0x22325a(0x38d)](_0x547651,_0x3ef01c);const _0xa7fe13=_0x42e370['getPivotTableModelConfig'](_0x3d1f26,_0xe422c3,_0x2fd05e);return _0xa697b(_0xa7fe13,_0x534a09),_0x42e370[_0x22325a(0x231)]({'unitId':_0x3d1f26,'subUnitId':_0xe422c3,'token':_0x2fd05e,'type':_0x574a36[_0x22325a(0x369)]}),!0x0;}},_0x17951c={'type':_0x1e403a[_0xce9d13(0x2a7)]['MUTATION'],'id':_0xce9d13(0x157),'handler'(_0x533a5e,_0x534d5d){const _0x3e759f=_0xce9d13;if(!_0x534d5d)return!0x1;if(!!_0x533a5e[_0x3e759f(0x159)](_0x1e403a[_0x3e759f(0x122)])[_0x3e759f(0xc7)](_0x258c3b))return!0x0;const _0x54bb5d=_0x533a5e[_0x3e759f(0x159)](_0x3f103d[_0x3e759f(0x255)]),{unitId:_0x37c533,subUnitId:_0x70268e,pivotTableId:_0x1d69cb,fieldId:_0x394f45,subtotalType:_0x407502}=_0x534d5d,_0x48f04f=_0x54bb5d[_0x3e759f(0x346)](_0x1d69cb);if(!_0x48f04f)return!0x1;_0x48f04f[_0x3e759f(0x153)](_0x394f45,_0x407502);const _0x2d9abe=_0x54bb5d['getPivotTableModelConfig'](_0x37c533,_0x70268e,_0x1d69cb);return _0x69a22d(_0x2d9abe,_0x534d5d),_0x54bb5d[_0x3e759f(0x231)]({'unitId':_0x37c533,'subUnitId':_0x70268e,'token':_0x1d69cb,'type':_0x574a36[_0x3e759f(0x369)]}),!0x0;}},_0x2095c3={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x23e)],'id':_0xce9d13(0x10e),'handler'(_0x59807e,_0x27191e){const _0x1e034f=_0xce9d13;if(!_0x27191e)return!0x1;if(!!_0x59807e[_0x1e034f(0x159)](_0x1e403a[_0x1e034f(0x122)])[_0x1e034f(0xc7)](_0x258c3b))return!0x0;const _0x50a1f3=_0x59807e['get'](_0x3f103d['SheetsPivotDataSourceModel']),{unitId:_0x3de322,subUnitId:_0x447add,pivotTableId:_0x295582,fieldId:_0x1641eb,filterInfo:_0x86fc8}=_0x27191e,_0x35a870=_0x50a1f3[_0x1e034f(0x346)](_0x295582);if(!_0x35a870)return!0x1;_0x35a870[_0x1e034f(0x35a)](_0x1641eb,_0x86fc8);const _0x31e01f=_0x50a1f3['getPivotTableModelConfig'](_0x3de322,_0x447add,_0x295582);return _0x3c708a(_0x31e01f,_0x27191e),_0x50a1f3[_0x1e034f(0x231)]({'unitId':_0x3de322,'subUnitId':_0x447add,'token':_0x295582,'type':_0x574a36['Set']}),!0x0;}},_0x25467a={'type':_0x1e403a['CommandType'][_0xce9d13(0x23e)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x44591a,_0x1e987a){const _0x2a7bff=_0xce9d13;if(!_0x1e987a)return!0x1;if(!!_0x44591a['get'](_0x1e403a[_0x2a7bff(0x122)])[_0x2a7bff(0xc7)](_0x258c3b))return!0x0;const _0x1ef076=_0x44591a[_0x2a7bff(0x159)](_0x3f103d[_0x2a7bff(0x255)]),{unitId:_0x31cd16,subUnitId:_0x5a0167,pivotTableId:_0x1cc67a,area:_0xd611fa,index:_0x1ecdd2,fieldId:_0x422f38}=_0x1e987a,_0x1c1d18=_0x1ef076[_0x2a7bff(0x346)](_0x1cc67a);if(!_0x1c1d18)return!0x1;_0x1c1d18['updateFieldPosition'](_0x422f38,_0xd611fa,_0x1ecdd2);const _0x241cd2=_0x1ef076[_0x2a7bff(0x310)](_0x31cd16,_0x5a0167,_0x1cc67a);return _0x1df8b1(_0x241cd2,_0x1e987a),_0x1ef076[_0x2a7bff(0x231)]({'unitId':_0x31cd16,'subUnitId':_0x5a0167,'token':_0x1cc67a,'type':_0x574a36['Set']}),!0x0;}},_0x27fdf0={'type':_0x1e403a['CommandType'][_0xce9d13(0x23e)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x51670e,_0x5b0ca7){const _0xd82383=_0xce9d13;if(!_0x5b0ca7)return!0x1;if(!!_0x51670e[_0xd82383(0x159)](_0x1e403a[_0xd82383(0x122)])[_0xd82383(0xc7)](_0x258c3b))return!0x0;const _0x5eb3c3=_0x51670e[_0xd82383(0x159)](_0x3f103d[_0xd82383(0x255)]),{unitId:_0x277e07,subUnitId:_0x47218c,pivotTableId:_0x286c78,sourceName:_0x2796e9,dataFieldId:_0x53ffe9,tableFieldId:_0x24b048}=_0x5b0ca7,_0x3e91d5=_0x5eb3c3[_0xd82383(0x346)](_0x286c78);if(!_0x3e91d5)return!0x1;_0x3e91d5[_0xd82383(0xd7)](_0x24b048,_0x2796e9,_0x53ffe9);const _0xfdaadb=_0x5eb3c3[_0xd82383(0x310)](_0x277e07,_0x47218c,_0x286c78);return _0xc3d574(_0xfdaadb,_0x5b0ca7),_0x5eb3c3[_0xd82383(0x231)]({'unitId':_0x277e07,'subUnitId':_0x47218c,'token':_0x286c78,'type':_0x574a36[_0xd82383(0x369)]}),!0x0;}},_0x4551f6={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x23e)],'id':_0xce9d13(0x30f),'handler'(_0x229f3f,_0x19a9e3){const _0x286682=_0xce9d13;if(!_0x19a9e3)return!0x1;if(!!_0x229f3f[_0x286682(0x159)](_0x1e403a[_0x286682(0x122)])[_0x286682(0xc7)](_0x258c3b))return!0x0;const _0x3f1489=_0x229f3f['get'](_0x3f103d['SheetsPivotDataSourceModel']),{unitId:_0x1e9628,subUnitId:_0x4b3caf,pivotTableId:_0x187899,valuePosition:_0x1518a4,index:_0x5e8484}=_0x19a9e3,_0x5e5303=_0x3f1489['getPivotTableInstance'](_0x187899);if(!_0x5e5303)return!0x1;_0x5e5303[_0x286682(0x35d)](_0x1518a4,_0x5e8484);const _0x4248af=_0x3f1489[_0x286682(0x310)](_0x1e9628,_0x4b3caf,_0x187899);return _0xc6c7e5(_0x4248af,_0x19a9e3),_0x3f1489[_0x286682(0x231)]({'unitId':_0x1e9628,'subUnitId':_0x4b3caf,'token':_0x187899,'type':_0x574a36[_0x286682(0x369)]}),!0x0;}};function _0x17d713(_0x422bd7,_0x5cfb26,_0x1b57f1){const _0x59c99c=_0xce9d13,{pivotTableId:_0x948e04,unitId:_0x58993d,subUnitId:_0x216175}=_0x5cfb26,_0x3ef44f=[],_0xda8519=[];for(const _0x124161 of _0x1b57f1)switch(_0x124161['type']){case _0x3d0452[_0x59c99c(0x15c)][_0x59c99c(0x2e5)]:{const {fieldJson:_0x53ed41,area:_0x27ce6c,index:_0x8932ec}=_0x124161,_0x453c97={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldJson':_0x53ed41,'area':_0x27ce6c,'index':_0x8932ec},_0x1aa38f={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldId':_0x53ed41['id'],'area':_0x27ce6c,'index':_0x8932ec};_0x3ef44f[_0x59c99c(0x374)]({'id':_0x3ef5b3['id'],'params':_0x453c97}),_0xda8519['unshift']({'id':_0x22dbb3['id'],'params':_0x1aa38f});}break;case _0x3d0452[_0x59c99c(0x15c)]['SetSubtotalType']:{const {fieldId:_0x43f14e,newSubtotalType:_0x581eee,oldSubtotalType:_0x129afe}=_0x124161,_0x32aada={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldId':_0x43f14e,'subtotalType':_0x581eee};_0x3ef44f[_0x59c99c(0x374)]({'id':_0x17951c['id'],'params':_0x32aada});const _0x1b2f2c={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldId':_0x43f14e,'subtotalType':_0x129afe};_0xda8519[_0x59c99c(0x38b)]({'id':_0x17951c['id'],'params':_0x1b2f2c});}break;case _0x3d0452[_0x59c99c(0x15c)][_0x59c99c(0x2c2)]:{const {fieldId:_0x14f40f,fieldJson:_0x5245e2,area:_0x4733f2,index:_0x3749ac}=_0x124161,_0x4b03b3={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldId':_0x14f40f,'index':_0x3749ac,'area':_0x4733f2};_0x3ef44f[_0x59c99c(0x374)]({'id':_0x22dbb3['id'],'params':_0x4b03b3});const _0x31eea1={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldJson':_0x5245e2,'area':_0x4733f2,'index':_0x3749ac};_0xda8519[_0x59c99c(0x38b)]({'id':_0x3ef5b3['id'],'params':_0x31eea1});}break;case _0x3d0452[_0x59c99c(0x15c)][_0x59c99c(0x2b7)]:{const {fieldId:_0x33c579,oldName:_0x44caaa,newName:_0x156837}=_0x124161,_0x13f3ec={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldId':_0x33c579,'name':_0x156837};_0x3ef44f['push']({'id':_0xe13526['id'],'params':_0x13f3ec});const _0x6a62ec={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldId':_0x33c579,'name':_0x44caaa};_0xda8519[_0x59c99c(0x38b)]({'id':_0xe13526['id'],'params':_0x6a62ec});}break;case _0x3d0452[_0x59c99c(0x15c)][_0x59c99c(0x247)]:{const {fieldId:_0x2304b0,oldFilterInfo:_0x4452a8,newFilterInfo:_0x42ded4}=_0x124161,_0x292bc9={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldId':_0x2304b0,'filterInfo':_0x42ded4};_0x3ef44f[_0x59c99c(0x374)]({'id':_0x136461['id'],'params':_0x292bc9});const _0x4f17bf={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldId':_0x2304b0,'filterInfo':_0x4452a8};_0xda8519['unshift']({'id':_0x136461['id'],'params':_0x4f17bf});}break;case _0x3d0452[_0x59c99c(0x15c)][_0x59c99c(0x291)]:{const {fieldId:_0x1666c7,oldSortInfo:_0x3b4b07,newSortInfo:_0x33be3f}=_0x124161,_0x25b7d7={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldId':_0x1666c7,'sortInfo':_0x33be3f};_0x3ef44f['push']({'id':_0x1d6d2d['id'],'params':_0x25b7d7});const _0x38f059={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldId':_0x1666c7,'sortInfo':_0x3b4b07};_0xda8519['unshift']({'id':_0x1d6d2d['id'],'params':_0x38f059});}break;case _0x3d0452[_0x59c99c(0x15c)][_0x59c99c(0x3a0)]:{const {oldOptions:_0x325361,newOptions:_0x220d7e}=_0x124161,_0x73a837={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'options':_0x220d7e};_0x3ef44f[_0x59c99c(0x374)]({'id':_0x28c1a1['id'],'params':_0x73a837});const _0x1463b6={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'options':_0x325361};_0xda8519['unshift']({'id':_0x28c1a1['id'],'params':_0x1463b6});}break;case _0x3d0452[_0x59c99c(0x15c)][_0x59c99c(0x114)]:{const {oldArea:_0x325d10,newArea:_0x1ec4fc,oldIndex:_0x225de8,newIndex:_0x37bccd,fieldId:_0x154fcc}=_0x124161,_0x544574={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldId':_0x154fcc,'area':_0x1ec4fc,'index':_0x37bccd,'oldArea':_0x325d10,'oldIndex':_0x225de8};_0x3ef44f['push']({'id':_0x25467a['id'],'params':_0x544574});const _0x286409={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldId':_0x154fcc,'area':_0x325d10,'index':_0x225de8,'oldArea':_0x1ec4fc,'oldIndex':_0x37bccd};_0xda8519[_0x59c99c(0x38b)]({'id':_0x25467a['id'],'params':_0x286409});}break;case _0x3d0452['PivotTableChangeTypeEnum'][_0x59c99c(0x2e2)]:{const {oldValuePosition:_0x245606,newValuePosition:_0x24239a,oldIndex:_0x5cef9d,newIndex:_0x1d6f01}=_0x124161,_0x39f4fa={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'valuePosition':_0x24239a,'index':_0x1d6f01};_0x3ef44f['push']({'id':_0x4551f6['id'],'params':_0x39f4fa});const _0x926d38={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'valuePosition':_0x245606,'index':_0x5cef9d};_0xda8519['unshift']({'id':_0x4551f6['id'],'params':_0x926d38});}break;case _0x3d0452['PivotTableChangeTypeEnum'][_0x59c99c(0x1fe)]:{const {fieldId:_0x99f792,collapse:_0x761b19,item:_0x3a8be2}=_0x124161,_0x24b28b={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldId':_0x99f792,'collapse':_0x761b19,'item':_0x3a8be2};_0x3ef44f[_0x59c99c(0x374)]({'id':_0x26968f['id'],'params':_0x24b28b});const _0x563e26={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldId':_0x99f792,'collapse':!_0x761b19,'item':_0x3a8be2};_0xda8519[_0x59c99c(0x38b)]({'id':_0x26968f['id'],'params':_0x563e26});}break;case _0x3d0452[_0x59c99c(0x15c)]['SetFieldFormat']:{const {newFormat:_0x3a1e17,oldFormat:_0x34278b,fieldId:_0x98338e}=_0x124161,_0x163190={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldId':_0x98338e,'format':_0x3a1e17};_0x3ef44f['push']({'id':_0x185e26['id'],'params':_0x163190});const _0x4045a0={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldId':_0x98338e,'format':_0x34278b};_0xda8519[_0x59c99c(0x38b)]({'id':_0x185e26['id'],'params':_0x4045a0});}break;case _0x3d0452['PivotTableChangeTypeEnum']['UpdateSource']:{const {tableFieldId:_0x555ee9,oldSourceName:_0x47a112,newSourceName:_0x293d49,oldDataFieldId:_0x340f1c,newDataFieldId:_0x5c8ea2}=_0x124161,_0x30fc23={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'tableFieldId':_0x555ee9,'sourceName':_0x293d49,'dataFieldId':_0x5c8ea2};_0x3ef44f['push']({'id':_0x27fdf0['id'],'params':_0x30fc23});const _0x1432d0={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'tableFieldId':_0x555ee9,'sourceName':_0x47a112,'dataFieldId':_0x340f1c};_0xda8519['unshift']({'id':_0x27fdf0['id'],'params':_0x1432d0});}break;case _0x3d0452['PivotTableChangeTypeEnum'][_0x59c99c(0x326)]:{const {fieldId:_0x3efc6d,filterInfo:_0x2726a0,oldFilterInfo:_0x57f839}=_0x124161,_0x52daf6={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldId':_0x3efc6d,'filterInfo':_0x2726a0};_0x3ef44f[_0x59c99c(0x374)]({'id':_0x2095c3['id'],'params':_0x52daf6});const _0x570cca={'unitId':_0x58993d,'subUnitId':_0x216175,'pivotTableId':_0x948e04,'fieldId':_0x3efc6d,'filterInfo':_0x57f839};_0xda8519[_0x59c99c(0x38b)]({'id':_0x2095c3['id'],'params':_0x570cca});}}return{'redos':_0x3ef44f,'undos':_0xda8519};}function _0x11df3b(_0x3d89a8,_0x2a4c48){const _0x541976=_0xce9d13;var _0x4f7a9e;const _0x1523c2=_0x3d89a8['get'](_0x3f103d[_0x541976(0x282)]),{cellInfo:_0x47c8f5,view:_0x992474,isEmpty:_0x3c22ce}=_0x2a4c48;return(_0x4f7a9e=_0x1523c2[_0x541976(0xda)][_0x541976(0x3d6)](_0x53a8d4)(_0x38cd5e,{'cellInfo':_0x47c8f5,'view':_0x992474,'isEmpty':_0x3c22ce}))!=null?_0x4f7a9e:_0x38cd5e;}const _0x591f9d={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x1cb)],'id':'sheet.command.add-pivot-field',async 'handler'(_0x2492cb,_0x1c4adc){const _0x16be92=_0xce9d13;if(!_0x1c4adc)return!0x1;const _0x29e539=_0x2492cb[_0x16be92(0x159)](_0x1e403a[_0x16be92(0x290)]),_0x4aa82c=_0x2492cb['get'](_0x3f103d[_0x16be92(0x177)]),_0x48e2bb=_0x2492cb[_0x16be92(0x159)](_0x1e403a['IUndoRedoService']),{pivotTableId:_0x29cb76,dataFieldId:_0x5ba7e7,fieldArea:_0x9ce657,index:_0x5dec6c,unitId:_0x53ae75,subUnitId:_0x4a70ad}=_0x1c4adc,_0x3c9f07=(await _0x4aa82c[_0x16be92(0x2cb)]({'unitId':_0x53ae75,'subUnitId':_0x4a70ad,'pivotTableId':_0x29cb76,'params':{'type':_0x3149f6[_0x16be92(0x13d)],'addPivotField':{'dataFieldId':_0x5ba7e7,'fieldArea':_0x9ce657,'index':_0x5dec6c}}}))['result']['addPivotField'];if(!_0x3c9f07)return!0x1;const {view:_0x2f97f4,changesets:_0x7d165b,isEmpty:_0xfc10a2,pivotTableConfig:_0x25e3e0,shouldBeAddedGroupJSON:_0x551e13}=_0x3c9f07,_0x2dc6f6=_0x25e3e0[_0x16be92(0x200)],_0x5872f5=new _0x3d0452[(_0x16be92(0xea))]();_0x5872f5[_0x16be92(0x11f)](_0x2f97f4);const _0x708f54={'cellInfo':_0x2dc6f6,'view':_0x5872f5,'isEmpty':_0xfc10a2};if(!await _0x2492cb[_0x16be92(0x159)](_0x3f103d[_0x16be92(0x282)])[_0x16be92(0x2c1)][_0x16be92(0x275)](_0x52eec6)(!0x0,_0x708f54))return!0x1;const _0x1f3d96=_0x157597(_0x2492cb,_0x5872f5,_0x2dc6f6,_0xfc10a2),_0x4a8b81=_0x11df3b(_0x2492cb,_0x708f54),{undos:_0x386e9c,redos:_0x57e592}=_0x17d713(_0x29e539,{'pivotTableId':_0x29cb76,'unitId':_0x53ae75,'subUnitId':_0x4a70ad},_0x7d165b);return _0x551e13&&(_0x57e592[_0x16be92(0x38b)]({'id':_0x39c7d8['id'],'params':{'pivotTableId':_0x29cb76,'fieldJSON':_0x551e13,'unitId':_0x53ae75,'subUnitId':_0x4a70ad}}),_0x386e9c[_0x16be92(0x374)]({'id':_0x1b14bb['id'],'params':{'pivotTableId':_0x29cb76,'dataFieldId':_0x551e13['id'],'unitId':_0x53ae75,'subUnitId':_0x4a70ad}})),_0x1e403a[_0x16be92(0x18d)]([..._0x1f3d96['redos'],..._0x4a8b81['redos'],..._0x57e592],_0x29e539),_0x48e2bb['pushUndoRedo']({'unitID':_0x53ae75,'redoMutations':[..._0x1f3d96[_0x16be92(0x205)],..._0x4a8b81[_0x16be92(0x205)],..._0x57e592],'undoMutations':[..._0x1f3d96[_0x16be92(0x2b0)],..._0x4a8b81['undos'],..._0x386e9c]}),!0x0;}},_0x299edb=()=>typeof process<'u'&&process[_0xce9d13(0x318)]!=null&&process[_0xce9d13(0x318)][_0xce9d13(0x218)]!=null,_0x29ed8b={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x23e)],'id':_0xce9d13(0x2a9),'handler'(_0x81c898,_0x2a4448){const _0x2bbc7f=_0xce9d13;var _0x48436a;if(!_0x2a4448)return!0x1;const _0x34dc52=_0x81c898[_0x2bbc7f(0x159)](_0x1e403a['IConfigService']);if(!!_0x34dc52[_0x2bbc7f(0xc7)](_0x258c3b))return!0x0;const _0x376832=_0x81c898['get'](_0x1e403a[_0x2bbc7f(0x175)]),_0x4c3c01=_0x81c898[_0x2bbc7f(0x159)](_0x3f103d[_0x2bbc7f(0x255)]),{pivotTableId:_0x21edc7,pivotTableConfig:_0x2f1554,collectionConfig:_0x99e06e,unitId:_0x5845a0,subUnitId:_0x2868e4}=_0x2a4448,{sourceRangeInfo:_0x32b430,fieldsConfig:_0x9192cc,targetCellInfo:_0x553e6d}=_0x2f1554,_0x190625=_0x376832[_0x2bbc7f(0x18c)](_0x5845a0);if(!_0x190625||!_0x190625[_0x2bbc7f(0x284)](_0x2868e4))return!0x1;if(!_0x299edb()){let _0x22462c=0x0;_0x190625[_0x2bbc7f(0x2e0)]()['forEach'](_0x494554=>{const _0x1cce93=_0x2bbc7f;var _0x56a23b,_0x40ddec;_0x22462c+=(_0x40ddec=(_0x56a23b=_0x4c3c01[_0x1cce93(0xff)](_0x5845a0,_0x494554[_0x1cce93(0x3aa)]()))==null?void 0x0:_0x56a23b['size'])!=null?_0x40ddec:0x0;});const _0x70769d=(_0x48436a=_0x34dc52['getConfig'](_0x22652d[_0x2bbc7f(0x1a0)]))!=null?_0x48436a:{},{ls:_0x1794c5,pbk:_0x15c2fd}=_0x70769d;if(!_0x2805cb(_0x1794c5,_0x15c2fd))throw new _0x1e403a[(_0x2bbc7f(0x1cf))](_0x2bbc7f(0x249));const _0x354f7b=_0x29a59c(_0x3a3f36,_0x1794c5,_0x15c2fd)[_0x2bbc7f(0xd6)];if(_0x22462c>=_0x354f7b)throw new _0x1e403a[(_0x2bbc7f(0x1cf))](_0x2bbc7f(0x249));}if(!_0x99e06e||!_0x9192cc)return!0x1;const {collection:_0x46769b,updateDataFieldList:_0x100fb4}=_0x4c3c01['addCollectionByJSON'](_0x21edc7,_0x99e06e,_0x32b430,_0x553e6d);_0x4c3c01[_0x2bbc7f(0x356)](_0x46769b,_0x100fb4,_0x32b430);const _0x371483=new _0x3d0452[(_0x2bbc7f(0x300))](_0x46769b,void 0x0,_0x21edc7);_0x371483[_0x2bbc7f(0x323)](_0x9192cc);const _0x48b7d0=JSON[_0x2bbc7f(0x2aa)](JSON[_0x2bbc7f(0xe1)](_0x2f1554));return _0x4c3c01[_0x2bbc7f(0x176)](_0x5845a0,_0x2868e4,_0x21edc7,_0x371483,_0x48b7d0),_0x4c3c01[_0x2bbc7f(0x231)]({'unitId':_0x5845a0,'subUnitId':_0x2868e4,'token':_0x21edc7,'type':_0x574a36[_0x2bbc7f(0x254)],'pivotConfig':_0x48b7d0}),!0x0;}},_0x452125={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x1cb)],'id':_0xce9d13(0x3b4),async 'handler'(_0x471011,_0x5ee879){const _0x8e3e13=_0xce9d13;if(!_0x5ee879)return!0x1;const {sourceDataInfo:_0x26777b,pivotTableConfig:_0x27d0f8}=_0x5ee879;if(!_0x26777b||!_0x27d0f8)return!0x1;const {unitId:_0x4be1d8,subUnitId:_0x4a6bdf,range:_0x3e15e2}=_0x26777b,_0x2249f0=_0x471011[_0x8e3e13(0x159)](_0x1e403a['IUniverInstanceService']),_0x597f9d=_0x471011[_0x8e3e13(0x159)](_0x3f103d[_0x8e3e13(0x177)]),_0x218d91=_0x471011[_0x8e3e13(0x159)](_0x1e403a[_0x8e3e13(0x110)]),_0x1461d6=_0x471011[_0x8e3e13(0x159)](_0x1e403a[_0x8e3e13(0x290)]),_0xbac917=_0x2249f0[_0x8e3e13(0x18c)](_0x4be1d8);if(!_0xbac917)return!0x1;const _0x5a77e5=_0xbac917[_0x8e3e13(0x284)](_0x4a6bdf);if(!_0x5a77e5)return!0x1;const _0xec0bd9=_0x3d0452[_0x8e3e13(0x2f1)](0x8),_0x3555eb=_0x3e15e2||{'startRow':0x0,'startColumn':0x0,'endRow':_0x5a77e5[_0x8e3e13(0x2f6)]()-0x1,'endColumn':_0x5a77e5[_0x8e3e13(0x258)]()-0x1};_0x3555eb[_0x8e3e13(0x139)]=_0x1e403a['RANGE_TYPE'][_0x8e3e13(0x1f1)];const _0x22f614=(await _0x597f9d[_0x8e3e13(0x2cb)]({'unitId':_0x4be1d8,'subUnitId':_0x4a6bdf,'pivotTableId':_0xec0bd9,'params':{'type':_0x3149f6['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x4be1d8,'sheetName':_0x5a77e5[_0x8e3e13(0xe8)](),'subUnitId':_0x4a6bdf,'range':_0x3555eb},'pivotTableId':_0xec0bd9,'pivotTableIndexConfig':_0x27d0f8}}}))[_0x8e3e13(0x3c1)][_0x8e3e13(0x301)];if(!_0x22f614)return!0x1;const {isEmpty:_0x1c6cc3,fieldsConfig:_0x5de5b6,collectionConfig:_0x284157,changesets:_0x57006a}=_0x22f614,_0x5623eb=_0xbac917[_0x8e3e13(0x2e0)]()['length'],_0x467e79=_0x1e403a[_0x8e3e13(0x17d)]({'rowCount':_0x5a77e5['getRowCount']()-0x1,'columnCount':_0x5a77e5[_0x8e3e13(0x258)]()-0x1});_0x467e79['id']=_0x1e403a['generateRandomId'](),_0x467e79[_0x8e3e13(0x160)]=_0xbac917[_0x8e3e13(0x144)](''+_0x218d91['t'](_0x8e3e13(0x146)));const _0x5ad08f={'index':_0x5623eb,'sheet':_0x467e79,'unitId':_0x4be1d8},{redos:_0x59b9c9}=_0x17d713(_0x1461d6,{'pivotTableId':_0xec0bd9,'unitId':_0x4be1d8,'subUnitId':_0x467e79['id']},_0x57006a),_0x43e27b=[{'id':_0x3c5050[_0x8e3e13(0x224)]['id'],'params':_0x5ad08f},{'id':_0x29ed8b['id'],'params':{'unitId':_0x4be1d8,'subUnitId':_0x467e79['id'],'pivotTableId':_0xec0bd9,'pivotTableConfig':{'isEmpty':_0x1c6cc3,'fieldsConfig':_0x5de5b6,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x4be1d8,'subUnitId':_0x467e79['id']},'sourceRangeInfo':{'subUnitId':_0x4a6bdf,'unitId':_0x4be1d8,'range':_0x3555eb,'sheetName':_0x5a77e5['getName']()}},'collectionConfig':_0x284157}},..._0x59b9c9];return _0x1e403a[_0x8e3e13(0x18d)](_0x43e27b,_0x1461d6),!0x0;}},_0x2e3fa3={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x23e)],'id':_0xce9d13(0xef),'handler'(_0x4ea28e,_0x280aa){const _0x52c073=_0xce9d13;if(!_0x280aa)return!0x1;if(!!_0x4ea28e[_0x52c073(0x159)](_0x1e403a[_0x52c073(0x122)])[_0x52c073(0xc7)](_0x258c3b))return!0x0;const {pivotTableId:_0x4d3cd4,unitId:_0x583e23,subUnitId:_0x2e1f8b}=_0x280aa,_0x2f326e=_0x4ea28e[_0x52c073(0x159)](_0x3f103d[_0x52c073(0x255)]);return _0x2f326e[_0x52c073(0x292)](_0x583e23,_0x2e1f8b,_0x4d3cd4)?(_0x2f326e['addDirtyPivotTable']({'unitId':_0x583e23,'subUnitId':_0x2e1f8b,'token':_0x4d3cd4,'type':_0x574a36['Delete']}),_0x2f326e[_0x52c073(0x336)](_0x583e23,_0x2e1f8b,_0x4d3cd4),!0x0):!0x1;}},_0x4b803b={'type':_0x1e403a[_0xce9d13(0x2a7)]['COMMAND'],'id':'sheet.command.add-pivot-table',async 'handler'(_0x9ffca5,_0x1ec001){const _0x150e89=_0xce9d13;var _0x522edb,_0x2dfe3b;const _0x137509=_0x9ffca5[_0x150e89(0x159)](_0x1e403a['ICommandService']),_0x5db965=_0x9ffca5[_0x150e89(0x159)](_0x1e403a[_0x150e89(0x175)]),_0x5b4790=_0x9ffca5[_0x150e89(0x159)](_0x1e403a[_0x150e89(0x110)]),_0x5d28bf=_0x9ffca5[_0x150e89(0x159)](_0x3f103d[_0x150e89(0x177)]),_0x2fe70a=_0x9ffca5[_0x150e89(0x159)](_0x1e403a[_0x150e89(0x11d)]),_0x4dc359=_0x9ffca5['get'](_0x3f103d[_0x150e89(0x1fd)]),_0x36d4f1=_0x9ffca5[_0x150e89(0x159)](_0x1e403a[_0x150e89(0x122)]);if(!_0x1ec001)return!0x1;const {pivotTableConfig:_0x5aeebf,positionType:_0x369e88}=_0x1ec001,{targetCellInfo:_0x18c5e0,sourceRangeInfo:_0x5f186d}=_0x5aeebf,{unitId:_0x4d0f06,subUnitId:_0x5e4419}=_0x18c5e0,_0x22c848=_0x5db965[_0x150e89(0x18c)](_0x4d0f06);if(!_0x22c848)return!0x1;let _0x35d4c7=0x0;_0x22c848[_0x150e89(0x2e0)]()['forEach'](_0x16eadd=>{const _0x52f0b7=_0x150e89;var _0xbd2d03,_0xb10af3;_0x35d4c7+=(_0xb10af3=(_0xbd2d03=_0x4dc359[_0x52f0b7(0xff)](_0x4d0f06,_0x16eadd[_0x52f0b7(0x3aa)]()))==null?void 0x0:_0xbd2d03[_0x52f0b7(0x227)])!=null?_0xb10af3:0x0;});const _0x5d4873=(_0x522edb=_0x36d4f1[_0x150e89(0xc7)](_0x22652d['LS_CONFIG_KEY']))!=null?_0x522edb:{},{ls:_0xe0e2b5,pbk:_0x3a86}=_0x5d4873;if(!_0x2805cb(_0xe0e2b5,_0x3a86))return!0x1;const _0x38d12b=_0x29a59c(_0x3a3f36,_0xe0e2b5,_0x3a86)[_0x150e89(0xd6)];if(_0x35d4c7>=_0x38d12b)return!0x1;const _0x1e6098=_0x1ec001['pivotTableId']||_0x3d0452[_0x150e89(0x2f1)](0x8),_0x253146=(await _0x5d28bf[_0x150e89(0x2cb)]({'unitId':_0x4d0f06,'subUnitId':_0x5e4419,'pivotTableId':_0x1e6098,'params':{'type':_0x3149f6[_0x150e89(0x277)],'addPivotTable':{'sourceRangeInfo':_0x5f186d,'pivotTableId':_0x1e6098}}}))[_0x150e89(0x3c1)][_0x150e89(0x176)];if(!_0x253146)return!0x1;const {view:_0x1e4d23,isEmpty:_0x55f956,fieldsConfig:_0x224e07,collectionConfig:_0x329ed9}=_0x253146,_0x24d326=[],_0x31cdd5=[];if(_0x369e88===_0x19e307[_0x150e89(0x1e2)]){const _0x1dd3e9=_0x22c848['getSheets']()[_0x150e89(0x392)],_0x34cbb2=_0x1e403a[_0x150e89(0x17d)]({});_0x34cbb2['id']=_0x5aeebf[_0x150e89(0x200)][_0x150e89(0x36c)],_0x34cbb2[_0x150e89(0x160)]=(_0x2dfe3b=_0x5aeebf['targetCellInfo'][_0x150e89(0x25f)])!=null?_0x2dfe3b:_0x22c848[_0x150e89(0x144)](''+_0x5b4790['t'](_0x150e89(0x146)));const _0x5c558e={'index':_0x1dd3e9,'sheet':_0x34cbb2,'unitId':_0x4d0f06},_0x55f769=_0x3c5050[_0x150e89(0x2ff)](_0x9ffca5,_0x5c558e);_0x24d326[_0x150e89(0x374)]({'id':_0x3c5050[_0x150e89(0x130)]['id'],'params':_0x55f769}),_0x31cdd5[_0x150e89(0x374)]({'id':_0x3c5050[_0x150e89(0x269)]['id'],'params':_0x5c558e});}else{if(!_0x22c848['getSheetBySheetId'](_0x5e4419))return!0x1;const _0x2e4add=_0x157597(_0x9ffca5,new _0x3d0452[(_0x150e89(0xea))](),_0x18c5e0,!0x0);_0x31cdd5[_0x150e89(0x374)](..._0x2e4add[_0x150e89(0x205)]),_0x24d326[_0x150e89(0x374)](..._0x2e4add[_0x150e89(0x2b0)]);const _0x54ccd9={'cellInfo':_0x18c5e0,'view':_0x1e4d23,'isEmpty':_0x55f956};if(!await _0x9ffca5[_0x150e89(0x159)](_0x3f103d[_0x150e89(0x282)])[_0x150e89(0x2c1)]['fetchThroughAsyncInterceptors'](_0x52eec6)(!0x0,_0x54ccd9))return!0x1;const _0x1136a9=_0x11df3b(_0x9ffca5,_0x54ccd9);_0x31cdd5[_0x150e89(0x374)](..._0x1136a9[_0x150e89(0x205)]),_0x24d326[_0x150e89(0x374)](..._0x1136a9[_0x150e89(0x2b0)]);}return _0x31cdd5['push']({'id':_0x29ed8b['id'],'params':{'unitId':_0x18c5e0[_0x150e89(0x10f)],'subUnitId':_0x18c5e0[_0x150e89(0x36c)],'pivotTableId':_0x1e6098,'pivotTableConfig':{'targetCellInfo':_0x18c5e0,'sourceRangeInfo':_0x5f186d,'fieldsConfig':_0x224e07},'collectionConfig':_0x329ed9}}),_0x24d326[_0x150e89(0x38b)]({'id':_0x2e3fa3['id'],'params':{'unitId':_0x4d0f06,'subUnitId':_0x5e4419,'pivotTableId':_0x1e6098}}),_0x1e403a[_0x150e89(0x18d)](_0x31cdd5,_0x137509)&&_0x2fe70a[_0x150e89(0x340)]({'unitID':_0x4d0f06,'undoMutations':_0x24d326,'redoMutations':_0x31cdd5}),!0x0;}},_0xf59e92={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x1cb)],'id':_0xce9d13(0x1af),async 'handler'(_0x253c33,_0x2e8590){const _0xd83168=_0xce9d13;if(!_0x2e8590)return!0x1;const _0x4ba8ae=_0x253c33[_0xd83168(0x159)](_0x1e403a[_0xd83168(0x290)]),_0x34e6c5=_0x253c33[_0xd83168(0x159)](_0x3f103d[_0xd83168(0x177)]),_0x283b10=_0x253c33[_0xd83168(0x159)](_0x1e403a[_0xd83168(0x11d)]),{pivotTableId:_0x28b49a,fieldId:_0x538199,area:_0x42663f,index:_0x30e50a,unitId:_0x23e102,subUnitId:_0x599548}=_0x2e8590,_0x222971=(await _0x34e6c5['getPivotDisplayConfig']({'unitId':_0x23e102,'subUnitId':_0x599548,'pivotTableId':_0x28b49a,'params':{'type':_0x3149f6[_0xd83168(0xd0)],'movePivotField':{'fieldId':_0x538199,'area':_0x42663f,'index':_0x30e50a}}}))['result']['movePivotField'];if(!_0x222971)return!0x1;const {changesets:_0x319ed3,view:_0x189e3a,isEmpty:_0x5aa3a8,pivotTableConfig:_0x41631f}=_0x222971,_0xa2e5bd=_0x41631f[_0xd83168(0x200)],_0x135e6f=new _0x3d0452['PivotView']();_0x135e6f[_0xd83168(0x11f)](_0x189e3a);const _0x13067f={'cellInfo':_0xa2e5bd,'view':_0x135e6f,'isEmpty':_0x5aa3a8};if(!await _0x253c33['get'](_0x3f103d['SheetsPivotTableService'])[_0xd83168(0x2c1)][_0xd83168(0x275)](_0x52eec6)(!0x0,_0x13067f))return!0x1;const _0x24965b=_0x157597(_0x253c33,_0x135e6f,_0xa2e5bd,_0x5aa3a8),_0x47ec46=_0x11df3b(_0x253c33,_0x13067f),{redos:_0x49bb68,undos:_0x2af33a}=_0x17d713(_0x4ba8ae,{'pivotTableId':_0x28b49a,'unitId':_0x23e102,'subUnitId':_0x599548},_0x319ed3);return _0x1e403a['sequenceExecute']([..._0x24965b[_0xd83168(0x205)],..._0x47ec46[_0xd83168(0x205)],..._0x49bb68],_0x4ba8ae),_0x283b10[_0xd83168(0x340)]({'unitID':_0x23e102,'redoMutations':[..._0x24965b[_0xd83168(0x205)],..._0x47ec46[_0xd83168(0x205)],..._0x49bb68],'undoMutations':[..._0x24965b[_0xd83168(0x2b0)],..._0x47ec46[_0xd83168(0x2b0)],..._0x2af33a]}),!0x0;}},_0xad4dfc={'type':_0x1e403a['CommandType']['MUTATION'],'id':'sheet.mutation.set-pivot-position','handler'(_0x56ef66,_0x4d3069){const _0x35101d=_0xce9d13;if(!_0x4d3069)return!0x1;if(!!_0x56ef66[_0x35101d(0x159)](_0x1e403a[_0x35101d(0x122)])[_0x35101d(0xc7)](_0x258c3b))return!0x0;const {pivotTableId:_0xb67f72,targetCellPosition:_0x342dce,unitId:_0x2bbd1b,subUnitId:_0x272424}=_0x4d3069,_0x529436=_0x56ef66[_0x35101d(0x159)](_0x3f103d[_0x35101d(0x255)]);if(!_0x529436[_0x35101d(0x346)](_0x4d3069[_0x35101d(0x33b)]))return!0x1;const _0x5b762d=_0x529436['getTargetByPivotId'](_0xb67f72);if(!_0x5b762d)return!0x1;const _0x347202=_0x529436['getCollection'](_0x5b762d[_0x35101d(0x10f)],_0x4d3069[_0x35101d(0x33b)]);if(!_0x347202)return!0x1;const _0x14de38=_0x529436[_0x35101d(0x292)](_0x5b762d['unitId'],_0x5b762d[_0x35101d(0x36c)],_0xb67f72);if(!_0x14de38)return!0x1;const _0x5ea487=_0x1e403a[_0x35101d(0x236)][_0x35101d(0x18e)](_0x14de38);_0x5ea487[_0x35101d(0x200)]={'unitId':_0x2bbd1b,'subUnitId':_0x272424,'row':_0x342dce[_0x35101d(0x299)],'col':_0x342dce['col']};const _0x547cdc=_0x347202[_0x35101d(0x363)]();if(_0x5b762d[_0x35101d(0x36c)]===_0x272424&&_0x5b762d[_0x35101d(0x10f)]===_0x2bbd1b)_0x529436[_0x35101d(0x2d2)](_0x2bbd1b,_0x272424,_0xb67f72,_0x5ea487),_0x529436[_0x35101d(0x231)]({'unitId':_0x2bbd1b,'subUnitId':_0x272424,'token':_0xb67f72,'type':_0x574a36[_0x35101d(0x369)]});else{_0x529436['addDirtyPivotTable']({'unitId':_0x5b762d[_0x35101d(0x10f)],'subUnitId':_0x5b762d['subUnitId'],'token':_0xb67f72,'type':_0x574a36[_0x35101d(0x20f)]}),_0x529436[_0x35101d(0x336)](_0x5b762d['unitId'],_0x5b762d[_0x35101d(0x36c)],_0xb67f72);const _0x25cb39=_0x529436[_0x35101d(0x2a1)](_0xb67f72,_0x547cdc,_0x14de38[_0x35101d(0x243)],_0x5ea487['targetCellInfo']),_0xa7f972=new _0x3d0452['PivotTable'](_0x25cb39[_0x35101d(0x29e)],void 0x0,_0xb67f72);_0xa7f972[_0x35101d(0x323)](_0x5ea487[_0x35101d(0x142)]),_0x529436['addPivotTable'](_0x2bbd1b,_0x272424,_0xb67f72,_0xa7f972,_0x5ea487),_0x529436[_0x35101d(0x231)]({'unitId':_0x2bbd1b,'subUnitId':_0x272424,'token':_0xb67f72,'type':_0x574a36['Add'],'pivotConfig':_0x5ea487});}return!0x0;}},_0x30c1f2={'type':_0x1e403a['CommandType'][_0xce9d13(0x1cb)],'id':_0xce9d13(0x24e),'handler':(_0x14ff72,_0x24a143)=>{const _0x1854b3=_0xce9d13,_0x54af23=_0x14ff72[_0x1854b3(0x159)](_0x1e403a[_0x1854b3(0x290)]),_0x52ae3d=_0x14ff72[_0x1854b3(0x159)](_0x1e403a[_0x1854b3(0x11d)]),_0x23ebf9=_0x14ff72[_0x1854b3(0x159)](_0x3f103d[_0x1854b3(0x1fd)]),_0x419138=_0x14ff72[_0x1854b3(0x159)](_0x1e403a[_0x1854b3(0x175)]);if(!_0x24a143)return!0x1;const _0x4e3701=_0x3c5050[_0x1854b3(0x352)](_0x419138);if(!_0x4e3701)return!0x1;const {unitId:_0x430786,subUnitId:_0xe94797,workbook:_0x356f17}=_0x4e3701,_0x1f9e3a=_0x23ebf9[_0x1854b3(0x292)](_0x24a143['originTargetInfo'][_0x1854b3(0x10f)],_0x24a143[_0x1854b3(0x2c0)][_0x1854b3(0x36c)],_0x24a143['pivotTableId']);if(!_0x1f9e3a)return!0x1;const _0x41f884=_0x356f17[_0x1854b3(0x284)](_0x24a143['targetCellInfo'][_0x1854b3(0x36c)]);if(!_0x41f884)throw new Error(_0x1854b3(0x3b6));const _0xccf738=_0x41f884['getRowCount'](),_0x15ef83=_0x41f884[_0x1854b3(0x258)]();if(_0x24a143[_0x1854b3(0x200)][_0x1854b3(0x299)]>_0xccf738||_0x24a143[_0x1854b3(0x200)][_0x1854b3(0xfb)]>_0x15ef83)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x102b13=[{'id':_0xad4dfc['id'],'params':{'unitId':_0x430786,'subUnitId':_0x24a143[_0x1854b3(0x200)][_0x1854b3(0x36c)],'pivotTableId':_0x24a143[_0x1854b3(0x33b)],'targetCellPosition':{'row':_0x24a143[_0x1854b3(0x200)][_0x1854b3(0x299)],'col':_0x24a143[_0x1854b3(0x200)]['col']}}}],_0x2ca680=[{'id':_0xad4dfc['id'],'params':{'unitId':_0x430786,'subUnitId':_0xe94797,'pivotTableId':_0x24a143[_0x1854b3(0x33b)],'targetCellPosition':{'row':_0x1f9e3a[_0x1854b3(0x200)]['row'],'col':_0x1f9e3a[_0x1854b3(0x200)]['col']}}}];return _0x1e403a[_0x1854b3(0x18d)](_0x102b13,_0x54af23)&&_0x52ae3d[_0x1854b3(0x340)]({'unitID':_0x430786,'undoMutations':_0x2ca680,'redoMutations':_0x102b13}),!0x0;}},_0x152c98={'type':_0x1e403a['CommandType'][_0xce9d13(0x1cb)],'id':_0xce9d13(0x25e),async 'handler'(_0x79cbd1,_0x1389e9){const _0x2fecc1=_0xce9d13;var _0x1ec239;if(!_0x1389e9)return!0x1;const _0x290d40=_0x79cbd1[_0x2fecc1(0x159)](_0x1e403a[_0x2fecc1(0x175)]),_0x1f48e2=_0x3c5050[_0x2fecc1(0x352)](_0x290d40);if(!_0x1f48e2)return!0x1;const {unitId:_0x59deea,subUnitId:_0x5db22a,workbook:_0x3d3977}=_0x1f48e2,{row:_0x2ab8e5,col:_0x45ac04}=_0x1389e9,_0x4b1efd=_0x79cbd1['get'](_0x3f103d[_0x2fecc1(0x19b)]),_0x2f1b4e=_0x4b1efd['getPivotTableIdByCell'](_0x59deea,_0x5db22a,_0x2ab8e5,_0x45ac04);if(!_0x2f1b4e)return!0x1;const _0x114f07=(_0x1ec239=_0x4b1efd[_0x2fecc1(0x342)](_0x59deea,_0x5db22a,_0x2f1b4e))==null?void 0x0:_0x1ec239['areaInfo'];if(!_0x114f07)return!0x1;const _0x1bdbac=_0x79cbd1['get'](_0x3f103d['SheetsPivotTableConfigModel'])['getPivotTableConfig'](_0x59deea,_0x5db22a,_0x2f1b4e);if(!_0x1bdbac)return!0x1;const {rowInfo:_0x175eec,colInfo:_0x4d3382}=_0x114f07,_0x4ec412=_0x175eec[_0x2ab8e5][_0x2fecc1(0x30c)],_0x508e76=_0x4d3382[_0x45ac04]['paths'],_0x1f1232=_0x175eec[_0x2ab8e5][_0x2fecc1(0x23b)],_0x16f107=_0x4d3382[_0x45ac04][_0x2fecc1(0x23b)],_0x5c7633=_0x4ec412[_0x2fecc1(0x321)](_0x508e76),_0xdf007d=_0x1bdbac['fieldsConfig']['rowFields'][_0x2fecc1(0x1b1)](0x0,_0x1f1232),_0x2bf1dd=_0x1bdbac[_0x2fecc1(0x142)][_0x2fecc1(0x2ad)][_0x2fecc1(0x1b1)](0x0,_0x16f107),_0x52a5d6=_0xdf007d[_0x2fecc1(0x321)](_0x2bf1dd),_0x54e26c=_0x5c7633[_0x2fecc1(0x3b5)]((_0xac33a3,_0x573de3)=>[_0xac33a3,_0x52a5d6[_0x573de3]]),_0x5a6c35=(await _0x79cbd1['get'](_0x3f103d[_0x2fecc1(0x177)])['getPivotDisplayConfig']({'unitId':_0x59deea,'subUnitId':_0x5db22a,'pivotTableId':_0x2f1b4e,'params':{'type':_0x3149f6[_0x2fecc1(0x351)],'drillDown':{'tuple':_0x54e26c}}}))[_0x2fecc1(0x3c1)][_0x2fecc1(0x317)];if(!_0x5a6c35)return!0x1;const {indexes:_0x7b146a,range:_0x4d0e19,sourceUnitId:_0x5dd055,sourceSubUnitId:_0x125c4f,formatMap:_0x3e1996}=_0x5a6c35,{startRow:_0x405b79,endRow:_0x2239d3,startColumn:_0x2f8750,endColumn:_0x30ff95}=_0x4d0e19,_0x32a5bf=new _0x1e403a[(_0x2fecc1(0x1c3))](),_0x484fdb=_0x2239d3-_0x405b79,_0x3d20da=_0x30ff95-_0x2f8750,_0xb6835={},_0x5c6431=_0x3c5050['getSheetCommandTarget'](_0x290d40,{'unitId':_0x5dd055,'subUnitId':_0x125c4f});if(!_0x5c6431)return!0x1;const _0x4e2013=_0x401a48[_0x2fecc1(0x17a)],_0x586745=_0x401a48[_0x2fecc1(0x1c8)],_0x17e763=_0x401a48['subTotalStyle'],_0xe973eb=_0x3d3977[_0x2fecc1(0x10b)]()[_0x2fecc1(0x39e)](_0x4e2013),_0x41c291=_0x3d3977[_0x2fecc1(0x10b)]()[_0x2fecc1(0x39e)](_0x586745),_0x15ee43=_0x3d3977[_0x2fecc1(0x10b)]()[_0x2fecc1(0x39e)](_0x17e763),{worksheet:_0x566033}=_0x5c6431;let _0x8a2265=0x0;const _0x17e2ef=0x1;_0x7b146a[_0x2fecc1(0xf7)](_0x4ffb1c=>{const _0x5bfe57=_0x2fecc1;for(let _0x26bd13=0x0;_0x26bd13<=_0x30ff95-_0x2f8750;_0x26bd13++)_0x32a5bf[_0x5bfe57(0x39e)](_0x8a2265,_0x26bd13,_0x566033[_0x5bfe57(0x2b8)](_0x4ffb1c+_0x4d0e19[_0x5bfe57(0x2f5)]+_0x17e2ef,_0x26bd13));_0x8a2265++;});for(let _0x197eaf=_0x2f8750;_0x197eaf<=_0x30ff95;_0x197eaf++){const _0x396051=_0x566033['getCellRaw'](_0x405b79,_0x197eaf);_0xb6835[_0x405b79]||(_0xb6835[_0x405b79]={}),_0xb6835[_0x405b79][_0x197eaf]={..._0x396051,'s':_0xe973eb};}let _0x4c7109=0x1;const _0x390bf8={},_0x3731d3={};_0x32a5bf[_0x2fecc1(0x127)]((_0x461144,_0x4160f6)=>{_0x4160f6['forEach'](_0x9acf5c=>{const _0x463d38=_0x47d5,_0x441097=_0x32a5bf['getValue'](_0x461144,_0x9acf5c);if(_0xb6835[_0x4c7109]||(_0xb6835[_0x4c7109]={}),_0xb6835[_0x4c7109][_0x9acf5c]={..._0x441097,'s':_0x4c7109%0x2===0x0?_0x15ee43:_0x41c291},_0x3e1996[_0x9acf5c]&&_0x461144>=0x0){const _0x55abe8=_0x4c7109%0x2===0x0;let _0x36a07f=_0x55abe8?_0x3731d3[_0x9acf5c]:_0x390bf8[_0x9acf5c];_0x36a07f||(_0x36a07f=_0x3d3977[_0x463d38(0x10b)]()['setValue']({..._0x55abe8?_0x17e763:_0x586745,'n':{'pattern':_0x3e1996[_0x9acf5c]}}),_0x55abe8?_0x3731d3[_0x9acf5c]=_0x36a07f:_0x390bf8[_0x9acf5c]=_0x36a07f),_0xb6835[_0x4c7109][_0x9acf5c]['s']=_0x36a07f;}}),_0x4c7109++;});const _0x4d9e1e=new _0x1e403a[(_0x2fecc1(0x1c3))](_0xb6835),_0x57085f={};_0x4d9e1e['forValue']((_0x5b8b6b,_0x2798c5,_0x2f56b0)=>{_0x57085f[_0x5b8b6b]||(_0x57085f[_0x5b8b6b]={}),_0x57085f[_0x5b8b6b][_0x2798c5]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x1edf6b=[],_0x3af62c=[],_0x32bc54=_0x3d3977[_0x2fecc1(0x2e0)]()[_0x2fecc1(0x392)],_0xa83c0c=_0x1e403a[_0x2fecc1(0x17d)]({'rowCount':Math[_0x2fecc1(0x193)](_0x1e403a[_0x2fecc1(0x3c7)],_0x484fdb+0xa),'columnCount':Math[_0x2fecc1(0x193)](_0x1e403a[_0x2fecc1(0x1a4)],_0x3d20da+0x5)}),_0x3416b4=_0x79cbd1[_0x2fecc1(0x159)](_0x1e403a['LocaleService']);_0xa83c0c['id']=_0x1e403a[_0x2fecc1(0x23f)](),_0xa83c0c['name']=_0x3d3977['generateNewSheetName'](''+_0x3416b4['t']('sheets.tabs.sheet'));const _0x26e483={'index':_0x32bc54,'sheet':_0xa83c0c,'unitId':_0x59deea},_0x3e1981=_0x3c5050[_0x2fecc1(0x2ff)](_0x79cbd1,_0x26e483);_0x3af62c[_0x2fecc1(0x374)]({'id':_0x3c5050[_0x2fecc1(0x269)]['id'],'params':_0x26e483}),_0x1edf6b[_0x2fecc1(0x374)]({'id':_0x3c5050[_0x2fecc1(0x130)]['id'],'params':_0x3e1981}),_0x3af62c[_0x2fecc1(0x374)]({'id':_0x3c5050['SetRangeValuesMutation']['id'],'params':{'unitId':_0x59deea,'subUnitId':_0xa83c0c['id'],'cellValue':_0xb6835}}),_0x1edf6b[_0x2fecc1(0x38b)]({'id':_0x3c5050[_0x2fecc1(0x306)]['id'],'params':{'unitId':_0x59deea,'subUnitId':_0xa83c0c['id'],'cellValue':_0x57085f}});const _0x552e1e={'startRow':0x0,'startColumn':0x0,'endRow':_0x4c7109-0x1,'endColumn':_0x30ff95};_0x3af62c[_0x2fecc1(0x374)]({'id':_0x37788a['SetSheetsFilterRangeMutation']['id'],'params':{'unitId':_0x59deea,'subUnitId':_0xa83c0c['id'],'range':_0x552e1e}}),_0x1edf6b[_0x2fecc1(0x38b)]({'id':_0x37788a[_0x2fecc1(0x2be)]['id'],'params':{'unitId':_0x59deea,'subUnitId':_0xa83c0c['id']}});const _0x57ca56=_0x79cbd1[_0x2fecc1(0x159)](_0x1e403a[_0x2fecc1(0x290)]);return _0x1e403a[_0x2fecc1(0x18d)](_0x3af62c,_0x57ca56)&&_0x79cbd1[_0x2fecc1(0x159)](_0x1e403a['IUndoRedoService'])[_0x2fecc1(0x340)]({'unitID':_0x59deea,'undoMutations':_0x1edf6b,'redoMutations':_0x3af62c}),!0x0;}},_0x49430b={'type':_0x1e403a[_0xce9d13(0x2a7)]['COMMAND'],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x517045,_0x3ab7bb){const _0x243c3e=_0xce9d13;if(!_0x3ab7bb)return!0x1;const _0x55b148=_0x517045[_0x243c3e(0x159)](_0x1e403a[_0x243c3e(0x290)]),_0x31d2bc=_0x517045['get'](_0x3f103d[_0x243c3e(0x177)]),_0x35cea2=_0x517045[_0x243c3e(0x159)](_0x1e403a[_0x243c3e(0x11d)]),{pivotTableId:_0x3e4ab9,fieldIds:_0x328031,unitId:_0x430067,subUnitId:_0x13798b}=_0x3ab7bb,_0x4594b2=(await _0x31d2bc['getPivotDisplayConfig']({'unitId':_0x430067,'subUnitId':_0x13798b,'pivotTableId':_0x3e4ab9,'params':{'type':_0x3149f6['RemovePivotField'],'removePivotField':{'fieldIds':_0x328031}}}))[_0x243c3e(0x3c1)][_0x243c3e(0x3c2)];if(!_0x4594b2)return!0x1;const {view:_0x5c7545,changesets:_0x54056f,isEmpty:_0x591433,pivotTableConfig:_0x3dc022}=_0x4594b2,_0x283bea=_0x3dc022['targetCellInfo'],_0x4e0c20=new _0x3d0452['PivotView']();_0x4e0c20[_0x243c3e(0x11f)](_0x5c7545);const _0x4778fe={'cellInfo':_0x283bea,'view':_0x4e0c20,'isEmpty':_0x591433};if(!await _0x517045[_0x243c3e(0x159)](_0x3f103d[_0x243c3e(0x282)])[_0x243c3e(0x2c1)]['fetchThroughAsyncInterceptors'](_0x52eec6)(!0x0,_0x4778fe))return!0x1;const _0x51e762=_0x157597(_0x517045,_0x4e0c20,_0x283bea,_0x591433),_0xc61574=_0x11df3b(_0x517045,_0x4778fe),{redos:_0x5dd09a,undos:_0x51c8e3}=_0x17d713(_0x55b148,{'pivotTableId':_0x3e4ab9,'unitId':_0x430067,'subUnitId':_0x13798b},_0x54056f);return _0x1e403a['sequenceExecute']([..._0x51e762[_0x243c3e(0x205)],..._0xc61574['redos'],..._0x5dd09a],_0x55b148),_0x35cea2[_0x243c3e(0x340)]({'unitID':_0x430067,'redoMutations':[..._0x51e762[_0x243c3e(0x205)],..._0xc61574[_0x243c3e(0x205)],..._0x5dd09a],'undoMutations':[..._0x51e762[_0x243c3e(0x2b0)],..._0xc61574[_0x243c3e(0x2b0)],..._0x51c8e3]}),!0x0;}},_0x1233d5={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x1cb)],'id':_0xce9d13(0x2bc),async 'handler'(_0x16d3c5,_0x197f9d){const _0x120abb=_0xce9d13;if(!_0x197f9d)return!0x1;const _0x202333=_0x16d3c5[_0x120abb(0x159)](_0x1e403a[_0x120abb(0x290)]),_0x3c2671=_0x16d3c5['get'](_0x1e403a[_0x120abb(0x11d)]),_0x62fb1d=_0x16d3c5[_0x120abb(0x159)](_0x3f103d[_0x120abb(0x177)]),{resetArea:_0x1348e6,pivotTableId:_0x485c11,unitId:_0x44691d,subUnitId:_0x58b33b}=_0x197f9d,_0x12e8da=(await _0x62fb1d['getPivotDisplayConfig']({'unitId':_0x44691d,'subUnitId':_0x58b33b,'pivotTableId':_0x485c11,'params':{'type':_0x3149f6['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x485c11,'resetArea':_0x1348e6}}}))['result']['resetPivotTable'];if(!_0x12e8da)return!0x1;const {changesets:_0x2b6f0a}=_0x12e8da,{redos:_0x580272,undos:_0x4737d6}=_0x17d713(_0x202333,{'pivotTableId':_0x485c11,'unitId':_0x44691d,'subUnitId':_0x58b33b},_0x2b6f0a);return _0x1e403a[_0x120abb(0x18d)](_0x580272,_0x202333),_0x3c2671[_0x120abb(0x340)]({'unitID':_0x44691d,'redoMutations':_0x580272,'undoMutations':_0x4737d6}),!0x0;}},_0x18e35d={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x1cb)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0xdc6c21,_0x36a137){const _0x5d5444=_0xce9d13,_0x5c347d=_0xdc6c21[_0x5d5444(0x159)](_0x1e403a['ICommandService']),_0x3dab9d=_0xdc6c21['get'](_0x3f103d[_0x5d5444(0x177)]),_0x545f10=_0xdc6c21['get'](_0x3f103d['SheetsPivotTableAdaptorModel']),_0x2648e4=_0xdc6c21[_0x5d5444(0x159)](_0x1e403a['IUniverInstanceService']),_0x4edd4b=_0xdc6c21[_0x5d5444(0x159)](_0x1e403a[_0x5d5444(0x110)]),_0x4122fb=_0xdc6c21['get'](_0x1e403a[_0x5d5444(0x11d)]);if(!_0x36a137)return!0x1;const {unitId:_0x579ead,subUnitId:_0x4e25f3,row:_0x37aa9c,col:_0x374dab,collapse:_0x5bd79f}=_0x36a137,_0x2352cc=_0x2648e4[_0x5d5444(0x18c)](_0x579ead);if(!_0x2352cc||!_0x2352cc['getSheetBySheetId'](_0x4e25f3))return!0x1;const _0x36e58d=_0x545f10[_0x5d5444(0x31d)](_0x579ead,_0x4e25f3,_0x37aa9c,_0x374dab);if(!_0x36e58d)return!0x1;const _0x3f4122=_0x545f10[_0x5d5444(0x342)](_0x579ead,_0x4e25f3,_0x36e58d);if(!_0x3f4122)return!0x1;const _0x3270f9=_0x1e403a[_0x5d5444(0xd3)](_0x37aa9c,_0x374dab),{rangesInfo:_0x5d288f,areaInfo:_0x5b1929,headerMap:_0x3a2f93}=_0x3f4122;if(!_0x5d288f||!_0x5b1929||!_0x3a2f93)return!0x1;const _0x2f2b71=Object[_0x5d5444(0x136)](_0x5d288f)[_0x5d5444(0x26e)](_0xd65a4d=>_0x5d288f[_0xd65a4d]['some'](_0x55ae40=>_0x1e403a[_0x5d5444(0x18b)]['contains'](_0x55ae40,_0x3270f9)));let _0x5edb42;_0x2f2b71===_0x5d5444(0x12e)?_0x5edb42=_0x3a2f93[_0x5d5444(0x21d)][_0x374dab]:_0x2f2b71===_0x5d5444(0x32c)&&(_0x5edb42=_0x3a2f93['colHeaderMap'][_0x37aa9c]);const _0x42daeb=_0x5edb42==null?void 0x0:_0x5edb42[_0x5d5444(0x214)],_0x51bf4a=_0x545f10[_0x5d5444(0x1f8)](_0x579ead,_0x4e25f3,_0x37aa9c,_0x374dab);let _0x30f355=_0x51bf4a==null?void 0x0:_0x51bf4a['v'];if(_0x30f355===_0x4edd4b['t'](_0x5d5444(0x3a6))&&(_0x30f355=_0x3d0452['GlobalConfig'][_0x5d5444(0x331)]),_0x30f355==null||!_0x36e58d||!_0x42daeb)return!0x1;const _0x3818e9=await _0x3dab9d[_0x5d5444(0x2cb)]({'unitId':_0x579ead,'subUnitId':_0x4e25f3,'pivotTableId':_0x36e58d,'params':{'type':_0x3149f6['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x42daeb,'collapse':_0x5bd79f,'item':_0x30f355}}}),_0x492981=_0x3818e9==null?void 0x0:_0x3818e9['result'][_0x5d5444(0x131)];if(!_0x492981)return!0x1;const {view:_0x3e87e8,pivotTableConfig:_0xb4b536,isEmpty:_0x31b96f,changesets:_0xc6ce}=_0x492981,_0x36337b=new _0x3d0452[(_0x5d5444(0xea))]();_0x36337b[_0x5d5444(0x11f)](_0x3e87e8);const _0x47c7cd=_0xb4b536['targetCellInfo'],_0x1a825a={'cellInfo':_0x47c7cd,'view':_0x36337b,'isEmpty':_0x31b96f};if(!await _0xdc6c21[_0x5d5444(0x159)](_0x3f103d[_0x5d5444(0x282)])[_0x5d5444(0x2c1)][_0x5d5444(0x275)](_0x52eec6)(!0x0,_0x1a825a))return!0x1;const _0x2e0948=_0x157597(_0xdc6c21,_0x36337b,_0x47c7cd,_0x31b96f),_0x3b195f=_0x11df3b(_0xdc6c21,_0x1a825a),{redos:_0x4c40fe,undos:_0x4a97bb}=_0x17d713(_0x5c347d,{'pivotTableId':_0x36e58d,'unitId':_0x579ead,'subUnitId':_0x4e25f3},_0xc6ce);return _0x1e403a['sequenceExecute']([..._0x2e0948[_0x5d5444(0x205)],..._0x3b195f['redos'],..._0x4c40fe],_0x5c347d),_0x4122fb[_0x5d5444(0x340)]({'unitID':_0x579ead,'redoMutations':[..._0x2e0948[_0x5d5444(0x205)],..._0x3b195f['redos'],..._0x4c40fe],'undoMutations':[..._0x2e0948[_0x5d5444(0x2b0)],..._0x3b195f['undos'],..._0x4a97bb]}),!0x0;}},_0x184776={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x1cb)],'id':_0xce9d13(0x1e3),async 'handler'(_0x2a9b12,_0x1491d7){const _0x3b88c4=_0xce9d13;if(!_0x1491d7)return!0x1;const _0x2fac91=_0x2a9b12[_0x3b88c4(0x159)](_0x1e403a[_0x3b88c4(0x290)]),_0x45fb6d=_0x2a9b12[_0x3b88c4(0x159)](_0x1e403a[_0x3b88c4(0x11d)]),_0x2fbdfd=_0x2a9b12[_0x3b88c4(0x159)](_0x3f103d[_0x3b88c4(0x177)]),{pivotTableConfig:_0x477a7e,pivotTableId:_0x2f1d9e,unitId:_0x5085ec,subUnitId:_0x1c8ced}=_0x1491d7,_0x1a2649=(await _0x2fbdfd[_0x3b88c4(0x2cb)]({'unitId':_0x5085ec,'subUnitId':_0x1c8ced,'pivotTableId':_0x2f1d9e,'params':{'type':_0x3149f6[_0x3b88c4(0x24c)],'setPivotTableConfig':{'pivotTableId':_0x2f1d9e,'pivotTableConfig':_0x477a7e}}}))[_0x3b88c4(0x3c1)][_0x3b88c4(0x14e)];if(!_0x1a2649)return!0x1;const {changesets:_0x416996}=_0x1a2649,{redos:_0x41f130,undos:_0x1597ff}=_0x17d713(_0x2fac91,{'pivotTableId':_0x2f1d9e,'unitId':_0x5085ec,'subUnitId':_0x1c8ced},_0x416996);return _0x1e403a[_0x3b88c4(0x18d)](_0x41f130,_0x2fac91),_0x45fb6d[_0x3b88c4(0x340)]({'unitID':_0x5085ec,'redoMutations':_0x41f130,'undoMutations':_0x1597ff}),!0x0;}},_0x36759d={'type':_0x1e403a[_0xce9d13(0x2a7)]['COMMAND'],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x333462,_0x554f60){const _0x24b48b=_0xce9d13;if(!_0x554f60)return!0x1;const _0x2ffed3=_0x333462[_0x24b48b(0x159)](_0x1e403a['ICommandService']),{pivotTableId:_0x5cce21,tableFieldId:_0x256026,items:_0x890a8c,unitId:_0x161011,subUnitId:_0x3d6767,isAll:_0x16800b}=_0x554f60,_0x36668c=_0x333462[_0x24b48b(0x159)](_0x3f103d['SheetsPivotRPCService']),_0x4e87b3=_0x333462[_0x24b48b(0x159)](_0x1e403a[_0x24b48b(0x11d)]),_0xe3c6f9=(await _0x36668c[_0x24b48b(0x2cb)]({'unitId':_0x161011,'subUnitId':_0x3d6767,'pivotTableId':_0x5cce21,'params':{'type':_0x3149f6['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x256026,'items':_0x890a8c,'isAll':_0x16800b}}}))[_0x24b48b(0x3c1)][_0x24b48b(0x2a5)];if(!_0xe3c6f9)return!0x1;const {changesets:_0x1ec460,pivotTableConfig:_0x494802,isEmpty:_0x312265,view:_0x308f02}=_0xe3c6f9,_0x1eda00=_0x494802[_0x24b48b(0x200)],_0x12ca12=new _0x3d0452[(_0x24b48b(0xea))]();_0x12ca12['formJSON'](_0x308f02);const _0x2fd43b={'cellInfo':_0x1eda00,'view':_0x12ca12,'isEmpty':_0x312265};if(!await _0x333462[_0x24b48b(0x159)](_0x3f103d[_0x24b48b(0x282)])[_0x24b48b(0x2c1)][_0x24b48b(0x275)](_0x52eec6)(!0x0,_0x2fd43b))return!0x1;const _0x13ea69=_0x157597(_0x333462,_0x12ca12,_0x1eda00,_0x312265),_0x46bb5e=_0x11df3b(_0x333462,_0x2fd43b),{undos:_0x4fc662,redos:_0x659ca4}=_0x17d713(_0x2ffed3,{'pivotTableId':_0x5cce21,'unitId':_0x161011,'subUnitId':_0x3d6767},_0x1ec460);return _0x1e403a[_0x24b48b(0x18d)]([..._0x13ea69[_0x24b48b(0x205)],..._0x46bb5e['redos'],..._0x659ca4],_0x2ffed3),_0x4e87b3['pushUndoRedo']({'unitID':_0x161011,'redoMutations':[..._0x13ea69[_0x24b48b(0x205)],..._0x46bb5e[_0x24b48b(0x205)],..._0x659ca4],'undoMutations':[..._0x13ea69['undos'],..._0x46bb5e['undos'],..._0x4fc662]}),!0x0;}},_0x217018={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x1cb)],'id':_0xce9d13(0x152),async 'handler'(_0x2802ee,_0x4e150a){const _0x2a1443=_0xce9d13;if(!_0x4e150a)return!0x1;const _0x552866=_0x2802ee['get'](_0x1e403a[_0x2a1443(0x290)]),_0x5c3ca5=_0x2802ee[_0x2a1443(0x159)](_0x1e403a['IUndoRedoService']),_0x33b6b2=_0x2802ee[_0x2a1443(0x159)](_0x3f103d[_0x2a1443(0x177)]),{info:_0x23b5cd,tableFieldId:_0x553b32,pivotTableId:_0x57b077,unitId:_0x2221f0,subUnitId:_0x12f5cd}=_0x4e150a,_0x2b89d3=(await _0x33b6b2[_0x2a1443(0x2cb)]({'unitId':_0x2221f0,'subUnitId':_0x12f5cd,'pivotTableId':_0x57b077,'params':{'type':_0x3149f6['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x553b32,'info':_0x23b5cd}}}))[_0x2a1443(0x3c1)][_0x2a1443(0x35b)];if(!_0x2b89d3)return!0x1;const {changesets:_0x733c18}=_0x2b89d3,{redos:_0x112f16,undos:_0x2b5d11}=_0x17d713(_0x552866,{'pivotTableId':_0x57b077,'unitId':_0x2221f0,'subUnitId':_0x12f5cd},_0x733c18);return _0x1e403a[_0x2a1443(0x18d)](_0x112f16,_0x552866),_0x5c3ca5['pushUndoRedo']({'unitID':_0x2221f0,'redoMutations':_0x112f16,'undoMutations':_0x2b5d11}),!0x0;}},_0x11732b={'type':_0x1e403a['CommandType'][_0xce9d13(0x1cb)],'id':_0xce9d13(0x1cc),async 'handler'(_0x5af3e5,_0x11968f){const _0x57f28c=_0xce9d13;if(!_0x11968f)return!0x1;const _0x1ade1d=_0x5af3e5[_0x57f28c(0x159)](_0x1e403a[_0x57f28c(0x290)]),{pivotTableId:_0x4b6ee4,fieldId:_0x3c795c,valueFilterInfo:_0x1f7c2a,unitId:_0x862ac0,subUnitId:_0x2eb5aa}=_0x11968f,_0x125602=_0x5af3e5[_0x57f28c(0x159)](_0x3f103d[_0x57f28c(0x177)]),_0x812d33=_0x5af3e5[_0x57f28c(0x159)](_0x1e403a['IUndoRedoService']),_0x337a3b=(await _0x125602[_0x57f28c(0x2cb)]({'unitId':_0x862ac0,'subUnitId':_0x2eb5aa,'pivotTableId':_0x4b6ee4,'params':{'type':_0x3149f6['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x3c795c,'filterInfo':_0x1f7c2a}}}))['result'][_0x57f28c(0x266)];if(!_0x337a3b)return!0x1;const {changesets:_0x32b337,pivotTableConfig:_0x2a2a3e,isEmpty:_0x4700dd,view:_0x154330}=_0x337a3b,_0x453e69=_0x2a2a3e[_0x57f28c(0x200)],_0x1caf0a=new _0x3d0452['PivotView']();_0x1caf0a['formJSON'](_0x154330);const _0x44444f={'cellInfo':_0x453e69,'view':_0x1caf0a,'isEmpty':_0x4700dd};if(!await _0x5af3e5[_0x57f28c(0x159)](_0x3f103d['SheetsPivotTableService'])[_0x57f28c(0x2c1)][_0x57f28c(0x275)](_0x52eec6)(!0x0,_0x44444f))return!0x1;const _0x40519a=_0x157597(_0x5af3e5,_0x1caf0a,_0x453e69,_0x4700dd),_0x36729d=_0x11df3b(_0x5af3e5,_0x44444f),{undos:_0x150129,redos:_0x3d6269}=_0x17d713(_0x1ade1d,{'pivotTableId':_0x4b6ee4,'unitId':_0x862ac0,'subUnitId':_0x2eb5aa},_0x32b337);return _0x1e403a[_0x57f28c(0x18d)]([..._0x40519a[_0x57f28c(0x205)],..._0x36729d[_0x57f28c(0x205)],..._0x3d6269],_0x1ade1d),_0x812d33[_0x57f28c(0x340)]({'unitID':_0x862ac0,'redoMutations':[..._0x40519a[_0x57f28c(0x205)],..._0x36729d[_0x57f28c(0x205)],..._0x3d6269],'undoMutations':[..._0x40519a[_0x57f28c(0x2b0)],..._0x36729d[_0x57f28c(0x2b0)],..._0x150129]}),!0x0;}},_0x52864f={'id':_0xce9d13(0x2ca),'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x23e)],'handler':(_0x5900fa,_0x205303)=>{const _0xa5e3d7=_0xce9d13;if(!_0x205303)return!0x1;if(!!_0x5900fa['get'](_0x1e403a[_0xa5e3d7(0x122)])['getConfig'](_0x258c3b))return!0x0;const {unitId:_0x43217e,subUnitId:_0x3b9312,pivotTableId:_0x33d09f,tableFieldId:_0x3ea7a1,dateType:_0x3117c0}=_0x205303,_0x5b825f=_0x5900fa[_0xa5e3d7(0x159)](_0x3f103d[_0xa5e3d7(0x255)]),_0x3a1ac5=_0x5b825f[_0xa5e3d7(0x346)](_0x33d09f);if(!_0x3a1ac5)return!0x1;const _0x31e9f9=_0x3a1ac5['getDataFieldByTableId'](_0x3ea7a1);if(!_0x31e9f9)return!0x1;const _0x21ef21=_0x31e9f9[_0xa5e3d7(0x332)](),_0x398302=_0x3a1ac5[_0xa5e3d7(0x31f)](_0x21ef21),_0xcad368=(_0x398302==null?void 0x0:_0x398302['getName']())+'\x20'+_0x427d6a(_0x5900fa,_0x3117c0);_0x5b825f[_0xa5e3d7(0x2f7)](_0x43217e,_0x33d09f)['setDisplayName'](_0x31e9f9['id'],_0xcad368);const _0x38d487=_0x3a1ac5['getTableFieldById'](_0x3ea7a1);if(!_0x38d487)return!0x1;_0x3a1ac5[_0xa5e3d7(0x1b9)](_0x38d487[_0xa5e3d7(0x203)](),_0xcad368),_0x31e9f9[_0xa5e3d7(0x372)](_0x3117c0);const _0x3199a6=_0x5b825f[_0xa5e3d7(0x292)](_0x43217e,_0x3b9312,_0x33d09f);return _0x5b825f[_0xa5e3d7(0x231)]({'unitId':_0x43217e,'subUnitId':_0x3b9312,'token':_0x33d09f,'type':_0x574a36['Set'],'pivotConfig':_0x3199a6}),!0x0;}},_0x102304={'id':_0xce9d13(0x36f),'type':_0x1e403a['CommandType']['COMMAND'],'handler':(_0xa24e9c,_0x543c52)=>{const _0x14ce63=_0xce9d13;if(!_0x543c52)return!0x1;const _0x1ecb83=_0xa24e9c[_0x14ce63(0x159)](_0x1e403a[_0x14ce63(0x11d)]),{unitId:_0x1ae642,subUnitId:_0xe765f5,pivotTableId:_0x38f1ef,tableFieldId:_0x3bb4d4}=_0x543c52,_0x141fff=[],_0x3fd5c=[],_0x5dd727=_0xa24e9c['get'](_0x3f103d[_0x14ce63(0x1fd)]),_0x30b0f5=_0x5dd727[_0x14ce63(0x2f7)](_0x1ae642,_0x38f1ef),_0x1d4bb6=_0x5dd727[_0x14ce63(0x292)](_0x1ae642,_0xe765f5,_0x38f1ef);if(!(_0x1d4bb6!=null&&_0x1d4bb6[_0x14ce63(0x142)][_0x14ce63(0x1ed)]))return!0x1;const _0x537049=Object[_0x14ce63(0x3d1)](_0x1d4bb6[_0x14ce63(0x142)]['dimension'])['find'](_0x392868=>_0x392868['id']===_0x3bb4d4);if(!_0x537049)return!0x1;const _0x35830e=_0x537049[_0x14ce63(0x361)];if(!(_0x30b0f5!=null&&_0x30b0f5[_0x14ce63(0x2d9)]))return!0x1;const _0x416994=Object[_0x14ce63(0x3d1)](_0x30b0f5==null?void 0x0:_0x30b0f5[_0x14ce63(0x2d9)])[_0x14ce63(0x26e)](_0x33b261=>_0x33b261['id']===_0x35830e);if(!_0x416994)return!0x1;_0x3d0452[_0x14ce63(0x274)](_0x416994)&&_0x141fff[_0x14ce63(0x374)]({'id':_0x52864f['id'],'params':{..._0x543c52,'dateType':_0x416994[_0x14ce63(0x2b6)]}}),_0x3fd5c[_0x14ce63(0x374)]({'id':_0x52864f['id'],'params':{..._0x543c52}});const _0x7fdfe0=_0xa24e9c[_0x14ce63(0x159)](_0x1e403a[_0x14ce63(0x290)]);return _0x1e403a[_0x14ce63(0x18d)](_0x3fd5c,_0x7fdfe0)&&_0x1ecb83[_0x14ce63(0x340)]({'unitID':_0x1ae642,'undoMutations':_0x141fff,'redoMutations':_0x3fd5c}),!0x0;}},_0x4e7693={'type':_0x1e403a['CommandType'][_0xce9d13(0x1cb)],'id':_0xce9d13(0x1f6),async 'handler'(_0x24004a,_0x5310b4){const _0x506354=_0xce9d13;if(!_0x5310b4)return!0x1;const _0x40f6f9=_0x24004a[_0x506354(0x159)](_0x1e403a[_0x506354(0x290)]),_0xf09a17=_0x24004a[_0x506354(0x159)](_0x1e403a[_0x506354(0x11d)]),_0x28f603=_0x24004a[_0x506354(0x159)](_0x3f103d[_0x506354(0x177)]),{displayName:_0x17c17e,subtotalType:_0x41bb96,format:_0xa39eea,tableFieldId:_0x3e49dd,pivotTableId:_0x5e4b53,unitId:_0x28910a,subUnitId:_0x309c01}=_0x5310b4,_0x34d2dc=(await _0x28f603[_0x506354(0x2cb)]({'unitId':_0x28910a,'subUnitId':_0x309c01,'pivotTableId':_0x5e4b53,'params':{'type':_0x3149f6['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x3e49dd,'displayName':_0x17c17e,'subtotalType':_0x41bb96,'format':_0xa39eea}}}))['result']['setPivotSetting'];if(!_0x34d2dc)return!0x1;const {changesets:_0x4c00f3,view:_0x1f172d,pivotTableConfig:_0x3a701e,isEmpty:_0x576396}=_0x34d2dc,_0x55de4f=_0x3a701e['targetCellInfo'],_0x5c5a95=new _0x3d0452[(_0x506354(0xea))]();_0x5c5a95[_0x506354(0x11f)](_0x1f172d);const _0x3774c7={'cellInfo':_0x55de4f,'view':_0x5c5a95,'isEmpty':_0x576396};if(!await _0x24004a[_0x506354(0x159)](_0x3f103d[_0x506354(0x282)])[_0x506354(0x2c1)][_0x506354(0x275)](_0x52eec6)(!0x0,_0x3774c7))return!0x1;const _0x303142=_0x157597(_0x24004a,_0x5c5a95,_0x55de4f,_0x576396),_0x1295b3=_0x11df3b(_0x24004a,_0x3774c7),{undos:_0x2fcc38,redos:_0x3323af}=_0x17d713(_0x40f6f9,{'pivotTableId':_0x5e4b53,'unitId':_0x28910a,'subUnitId':_0x309c01},_0x4c00f3);return _0x1e403a[_0x506354(0x18d)]([..._0x303142[_0x506354(0x205)],..._0x1295b3[_0x506354(0x205)],..._0x3323af],_0x40f6f9),_0xf09a17[_0x506354(0x340)]({'unitID':_0x28910a,'redoMutations':[..._0x303142[_0x506354(0x205)],..._0x1295b3['redos'],..._0x3323af],'undoMutations':[..._0x303142[_0x506354(0x2b0)],..._0x1295b3[_0x506354(0x2b0)],..._0x2fcc38]}),!0x0;}},_0x16d8a9={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x23e)],'id':_0xce9d13(0x1b2),'handler'(_0x481fbc,_0x55732c){const _0x517c5a=_0xce9d13;if(!_0x55732c)return!0x1;if(!!_0x481fbc[_0x517c5a(0x159)](_0x1e403a['IConfigService'])[_0x517c5a(0xc7)](_0x258c3b))return!0x0;const _0x5421c9=_0x481fbc['get'](_0x3f103d[_0x517c5a(0x255)]),{pivotTableId:_0x56a149,deleteIds:_0x3424c9,collectionJSON:_0x2c5ad5,dataRangeInfo:_0x466440,unitId:_0x54939d,subUnitId:_0x505110}=_0x55732c,_0x97da9e=_0x5421c9['getPivotTableInstance'](_0x56a149),_0x3e8f95=_0x5421c9[_0x517c5a(0x292)](_0x54939d,_0x505110,_0x56a149);if(!_0x97da9e||!_0x3e8f95)return!0x1;const {collection:_0xc0f520,updateDataFieldList:_0x25d242}=_0x5421c9['addCollectionByJSON'](_0x56a149,_0x2c5ad5,_0x466440,_0x3e8f95[_0x517c5a(0x200)]);_0x5421c9['refreshData'](_0xc0f520,_0x25d242,_0x466440),_0x97da9e[_0x517c5a(0x161)](_0xc0f520);for(const _0x2d03c9 of _0x3424c9)_0x5421c9[_0x517c5a(0x3cd)](_0x466440['unitId'],_0x2d03c9);const _0x54502e=_0x5421c9[_0x517c5a(0x292)](_0x54939d,_0x505110,_0x56a149);return _0x54502e[_0x517c5a(0x243)]=JSON['parse'](JSON[_0x517c5a(0xe1)](_0x466440)),_0x5421c9[_0x517c5a(0x231)]({'unitId':_0x54939d,'subUnitId':_0x505110,'token':_0x56a149,'type':_0x574a36['Set']}),!0x0;}},_0x591129={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x1cb)],'id':_0xce9d13(0x280),async 'handler'(_0xcbef6c,_0x4be6f1){const _0x392755=_0xce9d13,_0x529502=_0xcbef6c[_0x392755(0x159)](_0x1e403a[_0x392755(0x290)]),_0x30a1ca=_0xcbef6c[_0x392755(0x159)](_0x3f103d[_0x392755(0x177)]),_0x524654=_0xcbef6c[_0x392755(0x159)](_0x1e403a['IUndoRedoService']);if(!_0x4be6f1)return!0x1;const {token:_0x48f7da,dataRangeInfo:_0x57e04d,unitId:_0xcf6101,subUnitId:_0x56aa10}=_0x4be6f1,_0xba4562=[],_0x224977=[],_0x3da2db=(await _0x30a1ca[_0x392755(0x2cb)]({'unitId':_0xcf6101,'subUnitId':_0x56aa10,'pivotTableId':_0x48f7da,'params':{'type':_0x3149f6[_0x392755(0x399)],'updatePivotSource':{'dataRangeInfo':_0x57e04d,'unitId':_0xcf6101,'subUnitId':_0x56aa10}}}))['result'][_0x392755(0x251)];if(!_0x3da2db)return!0x1;const {changesets:_0x5cc89f,deleteIds:_0x5aa3e5,collectionConfig:_0x306e66,oldCollectionConfig:_0x28d670,view:_0x1306c6,isEmpty:_0x25ddbf,pivotTableConfig:_0x1259b4}=_0x3da2db;_0x224977[_0x392755(0x374)]({'id':_0x16d8a9['id'],'params':{'pivotTableId':_0x48f7da,'deleteIds':_0x5aa3e5,'collectionJSON':_0x306e66,'dataRangeInfo':_0x57e04d,'unitId':_0xcf6101,'subUnitId':_0x56aa10}}),_0xba4562['unshift']({'id':_0x16d8a9['id'],'params':{'pivotTableId':_0x48f7da,'deleteIds':[],'collectionJSON':_0x28d670,'dataRangeInfo':_0x1259b4[_0x392755(0x243)],'unitId':_0xcf6101,'subUnitId':_0x56aa10}});const _0x2e0093=_0x1259b4[_0x392755(0x200)],_0x52078f=new _0x3d0452['PivotView']();_0x52078f[_0x392755(0x11f)](_0x1306c6);const _0x265af2={'cellInfo':_0x2e0093,'view':_0x52078f,'isEmpty':_0x25ddbf};if(!await _0xcbef6c[_0x392755(0x159)](_0x3f103d[_0x392755(0x282)])[_0x392755(0x2c1)][_0x392755(0x275)](_0x52eec6)(!0x0,_0x265af2))return!0x1;const _0x25f88b=_0x157597(_0xcbef6c,_0x52078f,_0x2e0093,_0x25ddbf),_0xb13147=_0x11df3b(_0xcbef6c,_0x265af2),{undos:_0xb87c09,redos:_0x8f94b0}=_0x17d713(_0x529502,{'pivotTableId':_0x48f7da,'unitId':_0xcf6101,'subUnitId':_0x56aa10},_0x5cc89f);return _0x1e403a[_0x392755(0x18d)]([..._0x25f88b[_0x392755(0x205)],..._0xb13147[_0x392755(0x205)],..._0x224977,..._0xb87c09],_0x529502),_0x524654[_0x392755(0x340)]({'unitID':_0xcf6101,'redoMutations':[..._0x25f88b[_0x392755(0x205)],..._0xb13147[_0x392755(0x205)],..._0x224977,..._0xb87c09],'undoMutations':[..._0x25f88b[_0x392755(0x2b0)],..._0xb13147[_0x392755(0x2b0)],..._0xba4562,..._0x8f94b0]}),!0x0;}},_0x37b4b7={'type':_0x1e403a['CommandType'][_0xce9d13(0x1cb)],'id':_0xce9d13(0x1f5),async 'handler'(_0x5ade03,_0x24ad85){const _0x146d81=_0xce9d13;if(!_0x24ad85)return!0x1;const _0x14d3fa=_0x5ade03[_0x146d81(0x159)](_0x1e403a[_0x146d81(0x290)]),_0x77634f=_0x5ade03[_0x146d81(0x159)](_0x3f103d[_0x146d81(0x177)]),_0x3ae7f2=_0x5ade03['get'](_0x1e403a['IUniverInstanceService']),_0x4e7d84=_0x5ade03[_0x146d81(0x159)](_0x1e403a[_0x146d81(0x11d)]),{pivotTableId:_0x239427,position:_0x3e0479,index:_0x5a2ed0}=_0x24ad85,_0x4b2222=_0x3c5050['getSheetCommandTarget'](_0x3ae7f2);if(!_0x4b2222)return!0x1;const {unitId:_0x5c2750,subUnitId:_0x97e7e0}=_0x4b2222,_0x496ef9=(await _0x77634f[_0x146d81(0x2cb)]({'unitId':_0x5c2750,'subUnitId':_0x97e7e0,'pivotTableId':_0x239427,'params':{'type':_0x3149f6['UpdateValuePosition'],'updateValuePosition':{'position':_0x3e0479,'index':_0x5a2ed0}}}))[_0x146d81(0x3c1)][_0x146d81(0x35d)];if(!_0x496ef9)return!0x1;const {changesets:_0x1895bf,view:_0x31fb4f,isEmpty:_0x218262,pivotTableConfig:_0x3cb0ad}=_0x496ef9,_0x50fb96=_0x3cb0ad[_0x146d81(0x200)],_0x1ceb4e=new _0x3d0452[(_0x146d81(0xea))]();_0x1ceb4e[_0x146d81(0x11f)](_0x31fb4f);const _0x2e9f64=_0x5ade03[_0x146d81(0x159)](_0x3f103d[_0x146d81(0x282)]),_0x27ef4a={'cellInfo':_0x50fb96,'view':_0x1ceb4e,'isEmpty':_0x218262};if(!await _0x2e9f64['asyncInterceptor'][_0x146d81(0x275)](_0x52eec6)(!0x0,_0x27ef4a))return!0x1;const _0x1ea440=_0x157597(_0x5ade03,_0x1ceb4e,_0x50fb96,_0x218262),_0x20dbf6=_0x11df3b(_0x5ade03,_0x27ef4a),{undos:_0x165361,redos:_0x2f4485}=_0x17d713(_0x14d3fa,{'pivotTableId':_0x239427,'unitId':_0x5c2750,'subUnitId':_0x97e7e0},_0x1895bf);return _0x1e403a[_0x146d81(0x18d)]([..._0x1ea440[_0x146d81(0x205)],..._0x20dbf6['redos'],..._0x2f4485],_0x14d3fa),_0x4e7d84[_0x146d81(0x340)]({'unitID':_0x5c2750,'redoMutations':[..._0x1ea440[_0x146d81(0x205)],..._0x20dbf6[_0x146d81(0x205)],..._0x2f4485],'undoMutations':[..._0x1ea440[_0x146d81(0x2b0)],..._0x20dbf6[_0x146d81(0x2b0)],..._0x165361]}),!0x0;}},_0x41e699={'type':_0x1e403a[_0xce9d13(0x2a7)][_0xce9d13(0x23e)],'id':_0xce9d13(0x10d),'handler'(){return!0x0;}};var _0x5a3dcc=Object['getOwnPropertyDescriptor'],_0xd7f8d4=(_0xbd15b9,_0x4d6dc7,_0x3b5278,_0x45c096)=>{const _0x1d4f53=_0xce9d13;for(var _0x458c8b=_0x45c096>0x1?void 0x0:_0x45c096?_0x5a3dcc(_0x4d6dc7,_0x3b5278):_0x4d6dc7,_0x3cc92f=_0xbd15b9[_0x1d4f53(0x392)]-0x1,_0x174cf5;_0x3cc92f>=0x0;_0x3cc92f--)(_0x174cf5=_0xbd15b9[_0x3cc92f])&&(_0x458c8b=_0x174cf5(_0x458c8b)||_0x458c8b);return _0x458c8b;},_0x587ccb=(_0x46614d,_0x5bb6ab)=>(_0x312851,_0x1b038d)=>_0x5bb6ab(_0x312851,_0x1b038d,_0x46614d);const _0x5a4cc3=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x47f77f=(_0x1ee214,_0x975f21,_0x5890af)=>{const _0x587cee=_0xce9d13,_0x475765=_0x1ee214[_0x587cee(0x2b9)];_0x1ee214[_0x587cee(0x109)](_0x5c0a6f=>{const _0x217500=_0x587cee,_0x418497=_0x5c0a6f['getId'](),_0x509d5f=_0x5c0a6f[_0x217500(0x28b)](),_0x4d5284=_0x5c0a6f[_0x217500(0x3bd)](),_0x133513=_0x5c0a6f[_0x217500(0x11e)]();_0x975f21[_0x509d5f]&&_0x975f21[_0x509d5f]===_0x133513&&_0x4d5284===_0x133513&&(_0x1ee214[_0x217500(0x1b9)](_0x418497,_0x475765[_0x217500(0x11e)](_0x509d5f)),_0x5c0a6f[_0x217500(0x234)](_0x475765[_0x217500(0x11e)](_0x509d5f)));}),_0x1ee214[_0x587cee(0x36a)](_0x3d0452[_0x587cee(0x217)][_0x587cee(0x34d)],_0x483a44=>{const _0x22ff54=_0x587cee,_0x5d19b6=_0x483a44['getId'](),_0x426de1=_0x483a44[_0x22ff54(0x28b)](),_0x4891cb=_0x483a44[_0x22ff54(0x3bd)](),_0x98a541=_0x483a44[_0x22ff54(0x11e)](),_0x2f59cc=_0x483a44[_0x22ff54(0x188)](),_0x32852d=_0x5890af(_0x4891cb,_0x2f59cc);_0x975f21[_0x426de1]&&_0x975f21[_0x426de1]===_0x4891cb&&_0x32852d===_0x98a541&&(_0x1ee214['renameField'](_0x5d19b6,_0x5890af(_0x475765['getDisplayName'](_0x426de1),_0x2f59cc)),_0x483a44[_0x22ff54(0x234)](_0x475765[_0x22ff54(0x11e)](_0x426de1)));});},_0x3d3315=(_0x40ae4b,_0x508712,_0x43486d)=>{const _0x2800c3=_0xce9d13;var _0x49ae9f,_0x535a27;const {arrayFormulaCellData:_0x565635,unitData:_0x42ab83}=_0x508712,{unitId:_0xbf5367,subUnitId:_0x527385}=_0x43486d,_0x483e02=_0x43486d[_0x2800c3(0x3d5)],{startColumn:_0x1365a8,endColumn:_0x4a44e4}=_0x483e02,_0x1f8a02=(_0x49ae9f=_0x565635==null?void 0x0:_0x565635[_0xbf5367])==null?void 0x0:_0x49ae9f[_0x527385],_0x2b626e=(_0x535a27=_0x42ab83==null?void 0x0:_0x42ab83[_0xbf5367])==null?void 0x0:_0x535a27[_0x527385],_0x17feb4=new Set(),_0x58577c=_0x4a44e4-_0x1365a8+0x1,{dirtyRanges:_0x36a4ea}=_0x40ae4b;if(_0x36a4ea)for(const {range:_0x32f516,sheetId:_0x1d69c3,unitId:_0x43f0ee}of _0x36a4ea){if(_0x1d69c3!==_0x527385||_0xbf5367!==_0x43f0ee)continue;const _0x1bd47a=_0x1e403a[_0x2800c3(0x18b)][_0x2800c3(0x1db)](_0x32f516,_0x483e02);if(_0x1bd47a){const {startColumn:_0x5c7473,endColumn:_0x2efbe5}=_0x1bd47a;for(let _0xf0ea64=_0x5c7473;_0xf0ea64<=_0x2efbe5;_0xf0ea64++)_0x17feb4['add'](_0xf0ea64);}}if(_0x17feb4[_0x2800c3(0x227)]===_0x58577c||_0x17feb4[_0x2800c3(0x227)]===_0x58577c)return Array[_0x2800c3(0x113)](_0x17feb4);if(_0x2b626e){const _0x5ec3bf=_0x2b626e['getMatrix'](),_0xc7deee=Object[_0x2800c3(0x136)](_0x5ec3bf);for(const _0x2cad1c of _0xc7deee){const _0x45124c=Number(_0x2cad1c),_0x33cd15=_0x5ec3bf[_0x45124c];if(_0x17feb4[_0x2800c3(0x227)]===_0x58577c)break;for(const _0x2a7105 in _0x33cd15){const _0x1fc274=Number(_0x2a7105);_0x1fc274<_0x1365a8||_0x1fc274>_0x4a44e4||_0x17feb4[_0x2800c3(0x213)](_0x1fc274);}}}if(_0x1f8a02){const _0x17d8b5=_0x1f8a02[_0x2800c3(0xcf)](),_0x134e9d=Object['keys'](_0x17d8b5);for(const _0x249111 of _0x134e9d){const _0xeca424=Number(_0x249111),_0xf83e8c=_0x17d8b5[_0xeca424];if(_0x17feb4['size']===_0x58577c)break;for(const _0x187268 in _0xf83e8c){const _0x565277=Number(_0x187268);_0x565277<_0x1365a8||_0x565277>_0x4a44e4||_0x17feb4[_0x2800c3(0x213)](_0x565277);}}}return Array[_0x2800c3(0x113)](_0x17feb4);},_0x3eba0c=_0x2f1ebc=>{const _0x3e7af9=_0xce9d13,_0x2e3d41=new Set(),_0x1c993a=[];for(const _0x3856d9 of _0x2f1ebc){const _0x3a8863=_0x3856d9[_0x3e7af9(0x2f5)]+','+_0x3856d9['endRow']+','+_0x3856d9[_0x3e7af9(0x29f)]+','+_0x3856d9[_0x3e7af9(0x25c)];_0x2e3d41[_0x3e7af9(0x22e)](_0x3a8863)||(_0x2e3d41[_0x3e7af9(0x213)](_0x3a8863),_0x1c993a[_0x3e7af9(0x374)](_0x3856d9));}return _0x1c993a;};let _0x9d3441=class extends _0x1e403a[_0xce9d13(0x33e)]{constructor(_0x14b429,_0x3f15c2,_0x457b2b,_0x2cbe1a,_0x422439){const _0x3f8b90=_0xce9d13;super(),_0x1c9350(this,'_globalSubject',new _0x4473ec[(_0x3f8b90(0x189))](!0x0)),_0x1c9350(this,'_globalComputedStartHelpFunc',_0x32d7f5=>{const _0x4fb470=_0x3f8b90;this[_0x4fb470(0x394)]['next'](!0x1);}),_0x1c9350(this,_0x3f8b90(0x147),_0x59ab67=>{this['_globalSubject']['next'](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x14b429,this[_0x3f8b90(0x335)]=_0x3f15c2,this[_0x3f8b90(0x1a2)]=_0x457b2b,this[_0x3f8b90(0x2e8)]=_0x2cbe1a,this[_0x3f8b90(0x37f)]=_0x422439,this[_0x3f8b90(0x2dc)](),this[_0x3f8b90(0x385)]());}['_init'](){const _0x5e0bd3=_0xce9d13;this[_0x5e0bd3(0x16e)](),this['_subjectViewChange'](),this[_0x5e0bd3(0x305)](),this[_0x5e0bd3(0x1c2)]();}[_0xce9d13(0x303)](){const _0xf8e415=_0xce9d13;this[_0xf8e415(0x2e8)][_0xf8e415(0x2c7)](this[_0xf8e415(0x394)]),_0x3d0452[_0xf8e415(0x300)][_0xf8e415(0x21e)](_0x3d0452['PivotCallbackEnum'][_0xf8e415(0x2f0)],this[_0xf8e415(0x268)]),_0x3d0452[_0xf8e415(0x300)][_0xf8e415(0x21e)](_0x3d0452[_0xf8e415(0x3a5)][_0xf8e415(0x1d9)],this[_0xf8e415(0x147)]);}[_0xce9d13(0x385)](){const _0x4c7315=_0xce9d13;this['disposeWithMe'](this[_0x4c7315(0x1a2)][_0x4c7315(0x371)](_0x2af3a9=>{const _0x20de94=_0x4c7315;_0x2af3a9['id']===_0x3c5050[_0x20de94(0x3b3)]['id']&&this[_0x20de94(0x22a)][_0x20de94(0x3ad)](_0x2af3a9[_0x20de94(0x29c)]);})),this[_0x4c7315(0x2d5)](this[_0x4c7315(0x1a2)][_0x4c7315(0x371)](_0x495b67=>{const _0xc36a19=_0x4c7315;if(_0x495b67['id']!==_0x29a24b['id'])return;const _0x4d4c27=_0x495b67['params'],{unitId:_0x1d61fd,subUnitId:_0x1cfd1e,pivotTableId:_0x3ce4c0}=_0x4d4c27,_0x2bfc43=_0x4d4c27[_0xc36a19(0x29c)][_0xc36a19(0x123)],_0x2cf2bc={};switch(_0x2bfc43){case _0x3149f6[_0xc36a19(0x293)]:{const _0x5ccbba=_0x4d4c27['params'][_0xc36a19(0x36d)];if(!_0x5ccbba)return;const {row:_0x4c43d8,col:_0x223779,cellData:_0x637257,pivotItemRenderInfoCache:_0xee03f2,tableFieldId:_0x5201f5}=_0x5ccbba,_0x458ddb=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x4d4c27[_0xc36a19(0x33b)]);if(!_0x458ddb||!_0xee03f2)return;if(_0x5201f5){const _0x5ddb82=_0x458ddb[_0xc36a19(0x3ab)](_0x5201f5);if(!_0x5ddb82)return;_0x2cf2bc[_0xc36a19(0x36d)]={..._0x458ddb['getDataFieldItemInfo'](_0x5ddb82),'tableFieldId':_0x5201f5,'pivotTableId':_0x4d4c27['pivotTableId'],'filterInfo':_0x458ddb[_0xc36a19(0x182)](_0x5201f5),'sortInfo':_0x458ddb['getSortInfo'](_0x5201f5),'format':_0x458ddb[_0xc36a19(0xcd)](_0x5201f5)};}else{const _0x3e0fdf=_0x167328(_0x4c43d8,_0x223779,_0x637257,_0x458ddb,_0xee03f2),_0x25a85f=_0x3e0fdf==null?void 0x0:_0x3e0fdf[_0xc36a19(0x39d)];if(!_0x25a85f)return;const _0x4e09d6=_0x458ddb[_0xc36a19(0x3ab)](_0x25a85f);if(!_0x4e09d6)return;_0x2cf2bc[_0xc36a19(0x36d)]={..._0x458ddb[_0xc36a19(0x1e6)](_0x4e09d6),'tableFieldId':_0x25a85f,'pivotTableId':_0x4d4c27[_0xc36a19(0x33b)],'filterInfo':_0x458ddb[_0xc36a19(0x182)](_0x25a85f),'sortInfo':_0x458ddb[_0xc36a19(0x2e7)](_0x25a85f),'format':_0x458ddb[_0xc36a19(0xcd)](_0x25a85f)};}}break;case _0x3149f6['Panel']:{const _0x73cfa9=_0x4d4c27[_0xc36a19(0x29c)][_0xc36a19(0x1d7)];if(!_0x73cfa9)return;const {pivotTableId:_0x2841ad}=_0x73cfa9,_0x103756=this[_0xc36a19(0x22a)]['getPivotTableInstance'](_0x2841ad);if(!_0x103756)return;const _0x3346fe=this[_0xc36a19(0x22a)][_0xc36a19(0x292)](_0x1d61fd,_0x1cfd1e,_0x2841ad),_0x11fb7f=_0x51e53c(_0x103756,_0x2841ad,_0x3346fe);_0x2cf2bc[_0xc36a19(0x1d7)]=_0x11fb7f;}break;case _0x3149f6[_0xc36a19(0x13d)]:{const _0x31fe56=this['_sheetsPivotDataSourceModel'][_0xc36a19(0x346)](_0x3ce4c0),_0x50fb8d=this[_0xc36a19(0x22a)][_0xc36a19(0x1f2)](_0x1d61fd),_0x1fc56e=_0x50fb8d[_0xc36a19(0x2f7)](_0x3ce4c0);let _0x58cea3=null;const _0x1bfeb7=this[_0xc36a19(0x22a)][_0xc36a19(0x292)](_0x1d61fd,_0x1cfd1e,_0x3ce4c0),_0x52f5ea=_0x4d4c27[_0xc36a19(0x29c)][_0xc36a19(0x1ee)];if(!_0x31fe56||!_0x1bfeb7||!_0x52f5ea)return!0x1;const {dataFieldId:_0x447c40,fieldArea:_0x83353b,index:_0x3ac35b}=_0x52f5ea;_0x31fe56[_0xc36a19(0xf4)]();const _0x576116=_0x31fe56[_0xc36a19(0x1a8)](_0x447c40,_0x83353b,_0x3ac35b);if(_0x576116&&_0x83353b===_0x3d0452[_0xc36a19(0x217)][_0xc36a19(0x34d)]){const _0x5eb98d=_0x576116[_0xc36a19(0x203)](),_0x1d46e0=_0x31fe56[_0xc36a19(0x3ab)](_0x5eb98d);if(_0x1d46e0){const _0x2e5d56=_0x1d46e0==null?void 0x0:_0x1d46e0['getFieldDataType']();_0x31fe56[_0xc36a19(0x153)](_0x576116['getId'](),_0x2e5d56===_0x3d0452[_0xc36a19(0x21a)]['number']?_0x3d0452[_0xc36a19(0x14c)][_0xc36a19(0x1a3)]:_0x3d0452['PivotSubtotalTypeEnum'][_0xc36a19(0xd6)]);}const _0x3c86b7=_0x31fe56[_0xc36a19(0x382)](),_0xa0672=_0x31fe56[_0xc36a19(0x13e)](),_0xe62f45=_0x31fe56[_0xc36a19(0x315)](_0x3d0452[_0xc36a19(0x217)][_0xc36a19(0x34d)]);if(_0x3c86b7===-0x1&&_0xe62f45>0x1){const _0x100267=_0xa0672===_0x3d0452[_0xc36a19(0x1c9)][_0xc36a19(0xdd)]?_0x3d0452[_0xc36a19(0x1c9)][_0xc36a19(0x140)]:_0xa0672,_0x1ec717=_0x100267===_0x3d0452[_0xc36a19(0x1c9)]['Row']?_0x3d0452['PivotTableFiledAreaEnum'][_0xc36a19(0x19d)]:_0x3d0452[_0xc36a19(0x217)][_0xc36a19(0x140)];_0x31fe56[_0xc36a19(0x35d)](_0x100267,_0x31fe56['getFieldCountByArea'](_0x1ec717));}}else{if(_0x576116&&(_0x83353b===_0x3d0452[_0xc36a19(0x217)][_0xc36a19(0x19d)]||_0x83353b===_0x3d0452[_0xc36a19(0x217)][_0xc36a19(0x140)])){const _0x918532=_0x576116['getId'](),_0x593549=_0x31fe56['getDataFieldByTableId'](_0x918532);if(_0x593549&&(_0x593549==null?void 0x0:_0x593549[_0xc36a19(0x314)]())===_0x3d0452['PivotDataFieldDataTypeEnum']['date']){const _0x3813dd=_0x593549[_0xc36a19(0x1e4)]();if(_0x3813dd&&_0x31fe56[_0xc36a19(0x16a)](_0x576116[_0xc36a19(0x203)](),_0x3813dd),!_0x1fc56e[_0xc36a19(0x164)]()[_0xc36a19(0x3c3)](_0x43d615=>{const _0x35297c=_0xc36a19,_0x5d5e31=_0x1fc56e[_0x35297c(0x1b3)](_0x43d615);return _0x3d0452['isDateGroupField'](_0x5d5e31)?_0x5d5e31['getFieldInfo']()[_0x35297c(0x272)]===_0x447c40:!0x1;})){const _0x1df69e=_0x50fb8d['createDataFieldId'](),_0x3d76c8=_0x5d07b9(_0x593549['maxDate'],_0x593549['minDate']),_0x5a396f=_0x593549[_0xc36a19(0xe8)]()+_0xc36a19(0x11a)+_0x427d6a(this[_0xc36a19(0x37f)],_0x3d76c8),_0x5427ed=new _0x3d0452[(_0xc36a19(0x135))](_0x1df69e,_0x5a396f,_0x3d0452[_0xc36a19(0x2f1)](0x3),_0x593549[_0xc36a19(0x203)](),_0x3d76c8);_0x50fb8d[_0xc36a19(0x14b)](_0x5427ed),_0x1fc56e['addField'](_0x1df69e,_0x5a396f),_0x31fe56[_0xc36a19(0x1a8)](_0x1df69e,_0x83353b,(_0x3ac35b!=null?_0x3ac35b:0x0)+0x1),_0x58cea3=_0x5427ed;}}}}const _0x11c538=_0x31fe56[_0xc36a19(0x273)](),_0x9c2238=_0x31fe56[_0xc36a19(0x1e0)]()[_0xc36a19(0x363)]();let _0x1b4c9f;if(_0x58cea3){_0x1b4c9f=_0x58cea3[_0xc36a19(0x363)]();const _0x4bba53=_0x58cea3[_0xc36a19(0x203)]();_0x1fc56e[_0xc36a19(0x2dd)](_0x4bba53);let _0x3269ea=!0x0;for(const _0x4d60a2 in _0x50fb8d[_0xc36a19(0x2a8)])if(_0x50fb8d['collections'][_0x4d60a2][_0xc36a19(0x164)]()[_0xc36a19(0x1eb)](_0x4bba53)){_0x3269ea=!0x1;break;}_0x3269ea&&_0x50fb8d[_0xc36a19(0x360)](_0x4bba53);}const _0x23f0c1=_0x31fe56[_0xc36a19(0x3cb)]();_0x2cf2bc[_0xc36a19(0x1ee)]={'view':_0x9c2238,'changesets':_0x23f0c1,'isEmpty':_0x11c538,'pivotTableConfig':_0x1bfeb7,'shouldBeAddedGroupJSON':_0x1b4c9f};}break;case _0x3149f6[_0xc36a19(0x277)]:{const _0x59181e=_0x4d4c27[_0xc36a19(0x29c)]['addPivotTable'];if(!_0x59181e)return;const _0x1e4ff2=_0x59181e['sourceRangeInfo'],_0x8bfdf7=_0x59181e[_0xc36a19(0x33b)],{collection:_0x2e0b4d}=this[_0xc36a19(0x22a)][_0xc36a19(0x2b4)]({'unitId':_0x1e4ff2[_0xc36a19(0x10f)],'sheetName':_0x1e4ff2[_0xc36a19(0x25f)],'subUnitId':_0x1e4ff2[_0xc36a19(0x36c)],'range':_0x1e4ff2[_0xc36a19(0x3d5)]}),_0x81d41b=new _0x3d0452[(_0xc36a19(0x300))](_0x2e0b4d,void 0x0,_0x8bfdf7),_0x3f4eec=_0x81d41b['query'](),_0x10d197=_0x81d41b[_0xc36a19(0x363)](),_0x3eba22=_0x2e0b4d[_0xc36a19(0x363)]();_0x2cf2bc[_0xc36a19(0x176)]={'view':_0x3f4eec,'fieldsConfig':_0x10d197,'collectionConfig':_0x3eba22,'isEmpty':_0x81d41b[_0xc36a19(0x273)]()};}break;case _0x3149f6['MovePivotField']:{const _0x392934=_0x4d4c27[_0xc36a19(0x29c)]['movePivotField'];if(!_0x392934)return;const {fieldId:_0x29cd1b,area:_0x47a1de,index:_0x274e47}=_0x392934,_0x225731=this['_sheetsPivotDataSourceModel'][_0xc36a19(0x292)](_0x1d61fd,_0x1cfd1e,_0x3ce4c0);if(!_0x225731)return;const _0x1422c4=this[_0xc36a19(0x22a)][_0xc36a19(0x346)](_0x3ce4c0);if(!_0x1422c4)return;_0x1422c4[_0xc36a19(0xf4)]();const {area:_0x6c2720,index:_0x102521}=_0x1422c4['getFieldPositionInfoById'](_0x29cd1b);if(_0x1422c4[_0xc36a19(0x31c)](_0x29cd1b,_0x47a1de,_0x274e47),_0x47a1de===_0x3d0452[_0xc36a19(0x217)]['Value']&&_0x1422c4['getTableFieldById'](_0x29cd1b)[_0xc36a19(0x188)]()===void 0x0){const _0x3ad174=_0x1422c4[_0xc36a19(0x383)](_0x29cd1b);if(_0x3ad174&&_0x3ad174[_0xc36a19(0x188)]()===void 0x0){const _0x6de09=_0x1422c4[_0xc36a19(0x3ab)](_0x29cd1b);if(_0x6de09){const _0x50f354=_0x6de09==null?void 0x0:_0x6de09[_0xc36a19(0x314)]();_0x1422c4[_0xc36a19(0x153)](_0x29cd1b,_0x50f354===_0x3d0452['PivotDataFieldDataTypeEnum'][_0xc36a19(0x38a)]?_0x3d0452[_0xc36a19(0x14c)][_0xc36a19(0x1a3)]:_0x3d0452['PivotSubtotalTypeEnum'][_0xc36a19(0xd6)]);}}}const _0x541625=_0x1422c4['getValuePosition'](),_0x5332b5=_0x1422c4['getValueIndex'](),_0xe0bd21=_0x1422c4[_0xc36a19(0x315)](_0x3d0452[_0xc36a19(0x217)][_0xc36a19(0x34d)])>0x1;if(_0xe0bd21&&_0x6c2720===_0x47a1de&&(_0x47a1de===_0x3d0452[_0xc36a19(0x217)][_0xc36a19(0x19d)]&&_0x541625===_0x3d0452[_0xc36a19(0x1c9)][_0xc36a19(0x19d)]||_0x47a1de===_0x3d0452[_0xc36a19(0x217)][_0xc36a19(0x140)]&&_0x541625===_0x3d0452[_0xc36a19(0x1c9)][_0xc36a19(0x140)])){let _0x29ee2c=_0x5332b5;_0x102521<=_0x5332b5&&_0x29ee2c--,_0x274e47<=_0x5332b5&&_0x29ee2c++,_0x1422c4[_0xc36a19(0x35d)](_0x541625,_0x29ee2c);}else _0xe0bd21&&(_0x6c2720===_0x3d0452[_0xc36a19(0x217)][_0xc36a19(0x19d)]&&_0x541625===_0x3d0452[_0xc36a19(0x1c9)][_0xc36a19(0x19d)]||_0x6c2720===_0x3d0452['PivotTableFiledAreaEnum'][_0xc36a19(0x140)]&&_0x541625===_0x3d0452[_0xc36a19(0x1c9)][_0xc36a19(0x140)])&&_0x5332b5>=_0x102521&&_0x1422c4['updateValuePosition'](_0x541625,_0x5332b5-0x1),_0xe0bd21&&(_0x47a1de===_0x3d0452[_0xc36a19(0x217)][_0xc36a19(0x19d)]&&_0x541625===_0x3d0452[_0xc36a19(0x1c9)][_0xc36a19(0x19d)]||_0x47a1de===_0x3d0452['PivotTableFiledAreaEnum']['Column']&&_0x541625===_0x3d0452[_0xc36a19(0x1c9)][_0xc36a19(0x140)])&&_0x5332b5>=_0x274e47&&_0x1422c4[_0xc36a19(0x35d)](_0x541625,_0x5332b5+0x1);const _0x3f7d88=_0x1422c4['query'](),_0x1c2118=_0x1422c4[_0xc36a19(0x273)](),_0x4dcb09=_0x1422c4['endCollectChangeset']();_0x2cf2bc['movePivotField']={'view':_0x3f7d88['toJSON'](),'changesets':_0x4dcb09,'isEmpty':_0x1c2118,'pivotTableConfig':_0x225731};}break;case _0x3149f6[_0xc36a19(0x289)]:{const _0x595639=_0x4d4c27[_0xc36a19(0x29c)][_0xc36a19(0x3c2)];if(!_0x595639)return;const _0x4587da=_0x595639[_0xc36a19(0x2d0)],_0x134d84=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x1d61fd,_0x1cfd1e,_0x3ce4c0);if(!_0x134d84)return!0x1;const _0x2daa7a=this[_0xc36a19(0x22a)][_0xc36a19(0x346)](_0x3ce4c0);if(!_0x2daa7a)return!0x1;_0x2daa7a[_0xc36a19(0xf4)]();for(const _0x2be81c of _0x4587da){const {area:_0x5022ca}=_0x2daa7a['getFieldPositionInfoById'](_0x2be81c);_0x5022ca===_0x3d0452[_0xc36a19(0x217)][_0xc36a19(0x34d)]&&_0x2daa7a['removeValueFilterInfoByValueFieldId'](_0x2be81c),(_0x5022ca===_0x3d0452[_0xc36a19(0x217)]['Row']||_0x5022ca===_0x3d0452[_0xc36a19(0x217)][_0xc36a19(0x140)])&&_0x2daa7a[_0xc36a19(0x187)](_0x2be81c),_0x2daa7a[_0xc36a19(0x1dd)](_0x2be81c);}const _0x1b1eb4=_0x2daa7a['isEmpty'](),_0x1da4d3=_0x2daa7a[_0xc36a19(0x1e0)]()['toJSON'](),_0x5a9f31=_0x2daa7a[_0xc36a19(0x3cb)]();_0x2cf2bc['removePivotField']={'changesets':_0x5a9f31,'pivotTableConfig':_0x134d84,'isEmpty':_0x1b1eb4,'view':_0x1da4d3};}break;case _0x3149f6['SetPivotFilter']:{const _0x308a56=_0x4d4c27[_0xc36a19(0x29c)][_0xc36a19(0x2a5)];if(!_0x308a56)return;const {tableFieldId:_0x2be6d1,items:_0x4d64cc,isAll:_0x2421ae}=_0x308a56,_0x4c3307=this[_0xc36a19(0x22a)][_0xc36a19(0x346)](_0x3ce4c0),_0x14e0a8=this['_sheetsPivotDataSourceModel'][_0xc36a19(0x292)](_0x1d61fd,_0x1cfd1e,_0x3ce4c0);if(!_0x4c3307||!_0x14e0a8)return;_0x4c3307[_0xc36a19(0xf4)](),_0x4c3307[_0xc36a19(0x232)](_0x2be6d1,{'type':_0x3d0452[_0xc36a19(0xe6)]['ManualFilter'],'list':_0x4d64cc,'isAll':_0x2421ae});const _0x29674d=_0x4c3307['isEmpty'](),_0x50e413=_0x4c3307['query']()[_0xc36a19(0x363)](),_0x40765a=_0x4c3307[_0xc36a19(0x3cb)]();_0x2cf2bc[_0xc36a19(0x2a5)]={'view':_0x50e413,'changesets':_0x40765a,'isEmpty':_0x29674d,'pivotTableConfig':_0x14e0a8};}break;case _0x3149f6[_0xc36a19(0x216)]:{const _0xe323b1=_0x4d4c27[_0xc36a19(0x29c)]['setValuePivotFilter'];if(!_0xe323b1)return;const {tableFieldId:_0x3d6b04,filterInfo:_0x4509c7}=_0xe323b1,_0x357087=this[_0xc36a19(0x22a)]['getPivotTableInstance'](_0x3ce4c0),_0x17a4dc=this['_sheetsPivotDataSourceModel'][_0xc36a19(0x292)](_0x1d61fd,_0x1cfd1e,_0x3ce4c0);if(!_0x357087||!_0x17a4dc)return;_0x357087[_0xc36a19(0xf4)](),_0x357087[_0xc36a19(0x35a)](_0x3d6b04,_0x4509c7);const _0x2cb9d0=_0x357087['isEmpty'](),_0x55dc26=_0x357087[_0xc36a19(0x1e0)]()[_0xc36a19(0x363)](),_0x3c86d3=_0x357087[_0xc36a19(0x3cb)]();_0x2cf2bc[_0xc36a19(0x266)]={'view':_0x55dc26,'changesets':_0x3c86d3,'isEmpty':_0x2cb9d0,'pivotTableConfig':_0x17a4dc};}break;case _0x3149f6['SetPivotSort']:{const _0x552616=_0x4d4c27['params'][_0xc36a19(0x35b)];if(!_0x552616)return;const {tableFieldId:_0x2a73f0,info:_0x3c1de4}=_0x552616,_0x575bc4=this[_0xc36a19(0x22a)]['getPivotTableInstance'](_0x3ce4c0),_0x3768c4=this[_0xc36a19(0x22a)][_0xc36a19(0x292)](_0x1d61fd,_0x1cfd1e,_0x3ce4c0);if(!_0x575bc4||!_0x3768c4)return;_0x575bc4[_0xc36a19(0xf4)](),_0x575bc4['setSortInfo'](_0x2a73f0,_0x3c1de4);const _0x146342=_0x575bc4[_0xc36a19(0x273)](),_0x8129f4=_0x575bc4[_0xc36a19(0x1e0)]()[_0xc36a19(0x363)](),_0x428364=_0x575bc4[_0xc36a19(0x3cb)]();_0x2cf2bc[_0xc36a19(0x35b)]={'view':_0x8129f4,'changesets':_0x428364,'isEmpty':_0x146342,'pivotTableConfig':_0x3768c4};}break;case _0x3149f6[_0xc36a19(0x297)]:{const _0x165a1e=_0x4d4c27['params'][_0xc36a19(0x2b3)];if(!_0x165a1e)return;const {tableFieldId:_0x79cc34,displayName:_0x1a6d7b,subtotalType:_0x14d74f,format:_0x204a24}=_0x165a1e,_0x4bbb27=this[_0xc36a19(0x22a)][_0xc36a19(0x346)](_0x3ce4c0),_0x1cf29f=this['_sheetsPivotDataSourceModel'][_0xc36a19(0x292)](_0x1d61fd,_0x1cfd1e,_0x3ce4c0);if(!_0x4bbb27||!_0x1cf29f)return;_0x4bbb27['startCollectChangeset'](),_0x1a6d7b!==void 0x0&&_0x4bbb27[_0xc36a19(0x1b9)](_0x79cc34,_0x1a6d7b),_0x14d74f!==void 0x0&&_0x4bbb27[_0xc36a19(0x153)](_0x79cc34,_0x14d74f),_0x204a24!==void 0x0&&_0x4bbb27[_0xc36a19(0x16a)](_0x79cc34,_0x204a24);const _0x29a9d6=_0x4bbb27[_0xc36a19(0x273)](),_0x1c3e57=_0x4bbb27[_0xc36a19(0x1e0)]()[_0xc36a19(0x363)](),_0x497eb5=_0x4bbb27['endCollectChangeset']();_0x2cf2bc[_0xc36a19(0x2b3)]={'changesets':_0x497eb5,'pivotTableConfig':_0x1cf29f,'isEmpty':_0x29a9d6,'view':_0x1c3e57};}break;case _0x3149f6[_0xc36a19(0x399)]:{const _0x2e61b0=_0x4d4c27[_0xc36a19(0x29c)][_0xc36a19(0x251)];if(!_0x2e61b0)return;const {dataRangeInfo:_0x52d06c,unitId:_0x599346,subUnitId:_0x45af60}=_0x2e61b0,_0x4f54f9=this[_0xc36a19(0x22a)][_0xc36a19(0x292)](_0x599346,_0x45af60,_0x3ce4c0),_0x1ea965=this[_0xc36a19(0x22a)][_0xc36a19(0x346)](_0x3ce4c0);if(!this[_0xc36a19(0x22a)]['getCollection'](_0x599346,_0x3ce4c0)||!_0x1ea965||!_0x4f54f9)return;const _0x50f0cd=this['_sheetsPivotDataSourceModel'][_0xc36a19(0x3bc)](_0x599346,_0x3ce4c0,_0x52d06c),_0x567929=this[_0xc36a19(0x22a)][_0xc36a19(0x2f7)](_0x599346,_0x3ce4c0)[_0xc36a19(0x363)](),{collection:_0x19e2b0}=this[_0xc36a19(0x22a)][_0xc36a19(0x2b4)]({'unitId':_0x52d06c['unitId'],'sheetName':_0x52d06c[_0xc36a19(0x25f)],'subUnitId':_0x52d06c[_0xc36a19(0x36c)],'range':_0x52d06c[_0xc36a19(0x3d5)]}),_0x26cc1e=_0x19e2b0['toJSON']();_0x1ea965[_0xc36a19(0xf4)]();const _0x15e8a8=this[_0xc36a19(0x22a)]['getDataFieldManager'](_0x599346)[_0xc36a19(0x3c8)]()||_0x3d0452[_0xc36a19(0x169)];_0x1ea965[_0xc36a19(0x39a)](_0x146ee8=>{const _0x468584=_0xc36a19,_0x5e5d98=_0x146ee8[_0x468584(0x28b)]();if(!_0x19e2b0[_0x468584(0x252)](_0x5e5d98)){const _0xba78ea=_0x19e2b0['getDataFieldBySourceName'](_0x146ee8[_0x468584(0x3bd)]());if(_0xba78ea){_0x1ea965[_0x468584(0xd7)](_0x146ee8[_0x468584(0x203)](),_0xba78ea[_0x468584(0xe8)](),_0xba78ea[_0x468584(0x203)]());const {area:_0x3dd529}=_0x1ea965[_0x468584(0xf5)](_0x146ee8[_0x468584(0x203)]());let _0x2671a1=_0x146ee8['getSourceName']();const _0x3ae6bb=_0x146ee8['getDisplayName']();if(_0x3dd529===_0x3d0452['PivotTableFiledAreaEnum'][_0x468584(0x34d)]){const _0x39a451=_0x146ee8[_0x468584(0x188)]();_0x2671a1=_0x15e8a8(_0xba78ea['getName'](),_0x39a451);}_0x3ae6bb!==_0x2671a1&&_0x1ea965[_0x468584(0x1b9)](_0x146ee8[_0x468584(0x203)](),_0x2671a1);}else _0x1ea965[_0x468584(0x1dd)](_0x146ee8[_0x468584(0x203)]());}});const _0x78f61b=_0x1ea965['isEmpty'](),_0x560a18=_0x1ea965['query']()[_0xc36a19(0x363)](),_0x2fb07d=_0x1ea965[_0xc36a19(0x3cb)]();_0x2cf2bc[_0xc36a19(0x251)]={'view':_0x560a18,'changesets':_0x2fb07d,'isEmpty':_0x78f61b,'pivotTableConfig':_0x4f54f9,'collectionConfig':_0x26cc1e,'oldCollectionConfig':_0x567929,'deleteIds':_0x50f0cd};}break;case _0x3149f6[_0xc36a19(0x2e2)]:{const _0x4d9950=_0x4d4c27[_0xc36a19(0x29c)][_0xc36a19(0x35d)];if(!_0x4d9950)return;const {position:_0x37c53f,index:_0x1abdc5}=_0x4d9950,_0x381def=this[_0xc36a19(0x22a)]['getPivotTableConfig'](_0x1d61fd,_0x1cfd1e,_0x3ce4c0);if(!_0x381def)return!0x1;const _0x1363e5=this[_0xc36a19(0x22a)][_0xc36a19(0x346)](_0x3ce4c0);if(!_0x1363e5)return!0x1;_0x1363e5[_0xc36a19(0xf4)](),_0x1363e5[_0xc36a19(0x35d)](_0x37c53f,_0x1abdc5);const _0x697a5d=_0x1363e5[_0xc36a19(0x273)](),_0xfe9b44=_0x1363e5[_0xc36a19(0x1e0)]()['toJSON'](),_0x299915=_0x1363e5[_0xc36a19(0x3cb)]();_0x2cf2bc[_0xc36a19(0x35d)]={'changesets':_0x299915,'pivotTableConfig':_0x381def,'isEmpty':_0x697a5d,'view':_0xfe9b44};}break;case _0x3149f6[_0xc36a19(0x260)]:{const _0x1818f5=_0x4d4c27['params']['setPivotCollapse'];if(!_0x1818f5)return;const {tableFieldId:_0x40674a,collapse:_0x466315,item:_0x3284f4}=_0x1818f5,_0x52f260=this[_0xc36a19(0x22a)][_0xc36a19(0x346)](_0x3ce4c0),_0x4607c1=this[_0xc36a19(0x22a)]['getPivotTableConfig'](_0x1d61fd,_0x1cfd1e,_0x3ce4c0);if(!_0x52f260||!_0x4607c1)return;_0x52f260['startCollectChangeset'](),_0x52f260[_0xc36a19(0x125)](_0x40674a,_0x466315,_0x3284f4);const _0x4dba22=_0x52f260[_0xc36a19(0x273)](),_0x1459bf=_0x52f260['query']()[_0xc36a19(0x363)](),_0x334ef6=_0x52f260[_0xc36a19(0x3cb)]();_0x2cf2bc[_0xc36a19(0x131)]={'view':_0x1459bf,'isEmpty':_0x4dba22,'pivotTableConfig':_0x4607c1,'changesets':_0x334ef6};}break;case _0x3149f6[_0xc36a19(0x24c)]:{const _0x5998eb=_0x4d4c27[_0xc36a19(0x29c)][_0xc36a19(0x14e)];if(!_0x5998eb)return;const {pivotTableConfig:_0x7e4fbc}=_0x5998eb,_0x14096e=this['_sheetsPivotDataSourceModel'][_0xc36a19(0x346)](_0x3ce4c0),_0x3dae2d=this['_sheetsPivotDataSourceModel'][_0xc36a19(0x292)](_0x1d61fd,_0x1cfd1e,_0x3ce4c0);if(!_0x14096e||!_0x3dae2d)return;_0x14096e[_0xc36a19(0xf4)](),_0x298a5a(_0x14096e,_0x7e4fbc);const _0x4ee58f=_0x14096e[_0xc36a19(0x273)](),_0xcf17d4=_0x14096e[_0xc36a19(0x1e0)]()[_0xc36a19(0x363)](),_0x463509=_0x14096e['endCollectChangeset']();_0x2cf2bc[_0xc36a19(0x14e)]={'view':_0xcf17d4,'isEmpty':_0x4ee58f,'pivotTableConfig':{..._0x3dae2d,'fieldsConfig':_0x14096e[_0xc36a19(0x363)]()},'changesets':_0x463509};}break;case _0x3149f6['ResetPivotTable']:{const _0x35f334=_0x4d4c27['params'][_0xc36a19(0x1d8)];if(!_0x35f334)return;const _0x35c57d=this[_0xc36a19(0x22a)][_0xc36a19(0x346)](_0x3ce4c0),_0x4fd9ac=this[_0xc36a19(0x22a)][_0xc36a19(0x292)](_0x1d61fd,_0x1cfd1e,_0x3ce4c0);if(!_0x35c57d||!_0x4fd9ac)return;_0x35c57d[_0xc36a19(0xf4)](),_0x30b85d(_0x35c57d,_0x35f334[_0xc36a19(0x2ce)]);const _0x30f98f=_0x35c57d[_0xc36a19(0x1e0)]()['toJSON'](),_0x28b33a=_0x35c57d['endCollectChangeset']();_0x2cf2bc[_0xc36a19(0x1d8)]={'view':_0x30f98f,'isEmpty':!0x0,'pivotTableConfig':{..._0x4fd9ac,'fieldsConfig':_0x35c57d[_0xc36a19(0x363)]()},'changesets':_0x28b33a};}break;case _0x3149f6[_0xc36a19(0xe9)]:{const _0xecb234=_0x4d4c27['params'][_0xc36a19(0x301)];if(!_0xecb234)return;const _0x4b50af=_0xecb234['sourceRangeInfo'],_0x131b07=_0xecb234[_0xc36a19(0x33b)],{collection:_0x2be736}=this[_0xc36a19(0x22a)][_0xc36a19(0x2b4)]({'unitId':_0x4b50af[_0xc36a19(0x10f)],'sheetName':_0x4b50af['sheetName'],'subUnitId':_0x4b50af[_0xc36a19(0x36c)],'range':_0x4b50af[_0xc36a19(0x3d5)]}),_0x14f640=new _0x3d0452[(_0xc36a19(0x300))](_0x2be736,void 0x0,_0x131b07),_0x198df6=_0x2be736[_0xc36a19(0x164)](),{rows:_0x58c9e4,columns:_0x2a759e,filters:_0x5ec17f,values:_0x54f516}=_0xecb234[_0xc36a19(0x3d3)];_0x14f640[_0xc36a19(0xf4)]();for(const {field:_0x156c86,selectedItems:_0x1b110f}of _0x58c9e4||[]){const _0x3546c9=_0x198df6[_0x156c86];if(_0x3546c9){const _0x193eb9=_0x14f640[_0xc36a19(0x1a8)](_0x3546c9,_0x3d0452['PivotTableFiledAreaEnum'][_0xc36a19(0x19d)]);_0x1b110f&&_0x193eb9&&_0x14f640['setLabelFilterInfo'](_0x193eb9[_0xc36a19(0x203)](),{'type':_0x3d0452[_0xc36a19(0xe6)][_0xc36a19(0xc5)],'list':_0x1b110f,'isAll':!0x1});}}for(const {field:_0x5a8527,selectedItems:_0xc6a844}of _0x2a759e||[]){const _0x262e90=_0x198df6[_0x5a8527];if(_0x262e90){const _0x37a3f2=_0x14f640[_0xc36a19(0x1a8)](_0x262e90,_0x3d0452['PivotTableFiledAreaEnum'][_0xc36a19(0x140)]);_0xc6a844&&_0x37a3f2&&_0x14f640['setLabelFilterInfo'](_0x37a3f2[_0xc36a19(0x203)](),{'type':_0x3d0452[_0xc36a19(0xe6)][_0xc36a19(0xc5)],'list':_0xc6a844,'isAll':!0x1});}}for(const {field:_0x168b7d,selectedItems:_0x1da758}of _0x5ec17f||[]){const _0x3aa547=_0x198df6[_0x168b7d];if(_0x3aa547){const _0x1e3e02=_0x14f640[_0xc36a19(0x1a8)](_0x3aa547,_0x3d0452['PivotTableFiledAreaEnum'][_0xc36a19(0x293)]);_0x1da758&&_0x1e3e02&&_0x14f640[_0xc36a19(0x232)](_0x1e3e02[_0xc36a19(0x203)](),{'type':_0x3d0452[_0xc36a19(0xe6)][_0xc36a19(0xc5)],'list':_0x1da758,'isAll':!0x1});}}for(const {field:_0x3fac8e,subTotalType:_0x53bc0e,formatString:_0x1b13c9}of _0x54f516||[]){const _0x3466a7=_0x2be736[_0xc36a19(0x1b3)](_0x198df6[_0x3fac8e]);if(!_0x3466a7)continue;const _0x1a9668=_0x198df6[_0x3fac8e];if(_0x1a9668){const _0x26dfc0=_0x14f640[_0xc36a19(0x1a8)](_0x1a9668,_0x3d0452[_0xc36a19(0x217)][_0xc36a19(0x34d)]);if(_0x26dfc0){if(_0x53bc0e!==void 0x0){_0x14f640[_0xc36a19(0x153)](_0x26dfc0[_0xc36a19(0x203)](),_0x53bc0e);const _0x1813bc=this[_0xc36a19(0x22a)]['getDataFieldManager'](_0x4b50af[_0xc36a19(0x10f)])[_0xc36a19(0x3c8)]()||_0x3d0452[_0xc36a19(0x169)],_0x97ceb4=_0x2be736[_0xc36a19(0x11e)](_0x1a9668),_0x2b06d3=_0x1813bc(_0x97ceb4,_0x53bc0e);_0x14f640['renameField'](_0x26dfc0[_0xc36a19(0x203)](),_0x2b06d3);}else{if(_0x3466a7){const _0x47ab6b=_0x3466a7==null?void 0x0:_0x3466a7[_0xc36a19(0x314)]();_0x14f640[_0xc36a19(0x153)](_0x26dfc0[_0xc36a19(0x203)](),_0x47ab6b===_0x3d0452[_0xc36a19(0x21a)][_0xc36a19(0x38a)]?_0x3d0452[_0xc36a19(0x14c)]['sum']:_0x3d0452[_0xc36a19(0x14c)]['count']);}}_0x1b13c9&&_0x14f640['setFieldFormat'](_0x26dfc0['getId'](),_0x1b13c9);}}}const _0x2a2feb=_0x14f640[_0xc36a19(0x1e0)](),_0x16abe9=_0x14f640[_0xc36a19(0x363)](),_0x2c58e7=_0x14f640['isEmpty'](),_0x388cfd=_0x14f640[_0xc36a19(0x3cb)](),_0x191efe=_0x2be736[_0xc36a19(0x363)]();_0x2cf2bc[_0xc36a19(0x301)]={'view':_0x2a2feb,'fieldsConfig':_0x16abe9,'collectionConfig':_0x191efe,'isEmpty':_0x2c58e7,'changesets':_0x388cfd};}break;case _0x3149f6[_0xc36a19(0x351)]:{const _0x2671d7=_0x493bac(this[_0xc36a19(0x37f)],_0x4d4c27);if(!_0x2671d7)return;const {range:_0x3ec791,sourceSubUnitId:_0x3d1017,sourceUnitId:_0x47b764,formatMap:_0x7a8627,indexes:_0xeb0fb9}=_0x2671d7;_0x2cf2bc[_0xc36a19(0x317)]={'range':_0x3ec791,'sourceSubUnitId':_0x3d1017,'sourceUnitId':_0x47b764,'formatMap':_0x7a8627,'indexes':_0xeb0fb9};}break;}this[_0xc36a19(0x1a2)][_0xc36a19(0x171)](_0x3e8d0b['id'],{'version':_0x4d4c27[_0xc36a19(0x24a)],'result':_0x2cf2bc},{'onlyLocal':!0x0});}));}[_0xce9d13(0x305)](){const _0x5a560a=_0xce9d13;this['disposeWithMe'](this[_0x5a560a(0x1a2)][_0x5a560a(0x371)](_0x5afef5=>{const _0xea1969=_0x5a560a;if(_0x5afef5['id']!==_0xaf9b9e['id'])return;const _0x36c9f7=_0x5afef5[_0xea1969(0x29c)];return this[_0xea1969(0x22a)][_0xea1969(0x26d)](_0x36c9f7[_0xea1969(0x2b5)]),!0x0;}));}[_0xce9d13(0x16e)](){const _0x2311ea=_0xce9d13;this[_0x2311ea(0x22a)]['collectionChange$'][_0x2311ea(0x32a)](_0x391d3f=>{const _0x3cf0fa=_0x2311ea;switch(_0x391d3f[_0x3cf0fa(0x123)]){case _0x1e3d92[_0x3cf0fa(0x213)]:_0x391d3f['dataRangeInfo']&&_0x391d3f['targetCellInfo']&&this['handleSourceRangeChange'](_0x391d3f[_0x3cf0fa(0x3ce)],_0x391d3f['dataRangeInfo'],_0x391d3f[_0x3cf0fa(0x200)]);break;case _0x1e3d92['delete']:{const {unitId:_0x4e7249,subUnitId:_0x39b914,token:_0xe99731}=_0x391d3f;_0x4e7249&&_0x39b914&&_0xe99731&&this['removeSourceRangeChange'](_0x4e7249,_0x39b914,_0xe99731);}break;case _0x1e3d92[_0x3cf0fa(0xe3)]:{const {token:_0x25f37b,oldSourceRangeInfo:_0x18d4fc,dataRangeInfo:_0x4532c7,targetCellInfo:_0x429047}=_0x391d3f,{unitId:_0x490e70,subUnitId:_0x18f63c}=_0x18d4fc||{};_0x490e70&&_0x18f63c&&_0x25f37b&&this['removeSourceRangeChange'](_0x490e70,_0x18f63c,_0x25f37b),_0x4532c7&&_0x429047&&this['handleSourceRangeChange'](_0x25f37b,_0x4532c7,_0x429047);}break;}});}[_0xce9d13(0x1c2)](){const _0x2c914e=_0xce9d13;this['_sheetsPivotDataSourceModel'][_0x2c914e(0x3cf)][_0x2c914e(0x32a)](_0x5f381a=>{const _0x123e3c=_0x2c914e;Object[_0x123e3c(0x136)](_0x5f381a)[_0x123e3c(0xf7)](_0xb900b0=>{const _0x11323a=_0x123e3c,_0x3c6ec0=this[_0x11323a(0x22a)]['getTargetByPivotId'](_0xb900b0);if(_0x3c6ec0){const _0x252924=this[_0x11323a(0x22a)][_0x11323a(0x292)](_0x3c6ec0==null?void 0x0:_0x3c6ec0[_0x11323a(0x10f)],_0x3c6ec0==null?void 0x0:_0x3c6ec0[_0x11323a(0x36c)],_0xb900b0);_0x252924&&(this[_0x11323a(0x379)](_0xb900b0,_0x252924['sourceRangeInfo'],_0x252924[_0x11323a(0x200)]),this['triggerDirtyFeature']([{'unitId':_0x3c6ec0[_0x11323a(0x10f)],'subUnitId':_0x3c6ec0[_0x11323a(0x36c)],'token':_0xb900b0}]));}});});}[_0xce9d13(0x24f)](){const _0x535241=_0xce9d13;this[_0x535241(0x22a)][_0x535241(0x186)][_0x535241(0x32a)](_0x2c7850=>{const _0x1992a3=_0x535241,{unitId:_0x4dca37,subUnitId:_0x2e41b2,pivotTableId:_0x4692ce}=_0x2c7850;_0x4dca37&&_0x2e41b2&&_0x4692ce&&this[_0x1992a3(0x344)]([{'unitId':_0x4dca37,'subUnitId':_0x2e41b2,'token':_0x4692ce}]);});}[_0xce9d13(0x344)](_0x33d9b0){const _0xba651c=_0xce9d13,_0x7cb484={};_0x33d9b0[_0xba651c(0xf7)](_0x50f1db=>{var _0x449463,_0xce43f8;const {unitId:_0x3917e3,subUnitId:_0x169f76,token:_0x24e13a}=_0x50f1db;_0x7cb484[_0x3917e3]=(_0x449463=_0x7cb484[_0x3917e3])!=null?_0x449463:{},_0x7cb484[_0x3917e3][_0x169f76]=(_0xce43f8=_0x7cb484[_0x3917e3][_0x169f76])!=null?_0xce43f8:{},_0x7cb484[_0x3917e3][_0x169f76][_0x24e13a]=!0x0;}),this['_commandService'][_0xba651c(0x171)](_0x41e699['id'],_0x7cb484);}[_0xce9d13(0x1ad)](_0x378da5,_0x2f93ad,_0x13844b){const _0xd7fbdb=_0xce9d13;this[_0xd7fbdb(0x335)][_0xd7fbdb(0x38e)](_0x378da5,_0x2f93ad,[_0x13844b]);}[_0xce9d13(0x379)](_0x1f0bca,_0x28fab4,_0x394099){const _0x354e0d=_0xce9d13,{unitId:_0x9690cb,subUnitId:_0xfe683f}=_0x28fab4;this[_0x354e0d(0x335)][_0x354e0d(0x22e)](_0x394099[_0x354e0d(0x10f)],_0x394099[_0x354e0d(0x36c)],_0x1f0bca)&&this['removeSourceRangeChange'](_0x9690cb,_0xfe683f,_0x1f0bca);const _0x156b92={'sheetId':_0xfe683f,..._0x28fab4};this[_0x354e0d(0x335)][_0x354e0d(0x3c6)](_0x394099[_0x354e0d(0x10f)],_0x394099['subUnitId'],_0x1f0bca,{'unitId':_0x394099[_0x354e0d(0x10f)],'subUnitId':_0x394099['subUnitId'],'dependencyRanges':[_0x156b92],'getDirtyData':(_0x24d080,_0x15ff83)=>{const _0x2df33f=_0x354e0d,_0x436213=this[_0x2df33f(0x22a)],_0x19dbc2=_0x436213[_0x2df33f(0x283)](_0x1f0bca);if(!_0x19dbc2)return _0x5a4cc3();const {unitId:_0x17839e,subUnitId:_0x4f3756}=_0x19dbc2,_0x8a098b=_0x3d3315(_0x24d080,_0x15ff83,_0x28fab4);if(_0x8a098b[_0x2df33f(0x392)]>0x0){const _0x2acf7b=_0x436213[_0x2df33f(0x2f7)](_0x9690cb,_0x1f0bca),_0x4db2f5=_0x2acf7b['getFieldIds'](),_0x59b4fb=this['getMatrixFromRunTimeData'](_0x28fab4[_0x2df33f(0x10f)],_0x28fab4[_0x2df33f(0x36c)],_0x15ff83),_0x3f6360={},_0x5647bd=this['_sheetsPivotDataSourceModel'][_0x2df33f(0x1f2)](_0x17839e)[_0x2df33f(0x3c8)]()||_0x3d0452[_0x2df33f(0x169)],_0x2043fd=[];for(const _0x49749b of _0x8a098b){const _0x334bd6=_0x49749b-(_0x28fab4['range'][_0x2df33f(0x29f)]||0x0),_0x3c3de7=_0x4db2f5[_0x334bd6];_0x2043fd[_0x2df33f(0x374)](_0x3c3de7),_0x3f6360[_0x3c3de7]=_0x2acf7b[_0x2df33f(0x1b3)](_0x3c3de7)['getName'](),_0x436213[_0x2df33f(0x1f2)](_0x9690cb)[_0x2df33f(0x10c)](_0x3c3de7,_0x28fab4,_0x334bd6,_0x59b4fb);}_0x2acf7b[_0x2df33f(0x366)](_0x2043fd)[_0x2df33f(0xf7)](_0x2d8478=>{const _0x4e7684=_0x2df33f,[_0x8d9290,_0x5338f7]=_0x2d8478,_0xfbff38=_0x2acf7b[_0x4e7684(0x1b3)](_0x8d9290),_0x484821=_0x2acf7b['getFieldById'](_0x5338f7);_0xfbff38&&_0x484821&&_0xfbff38[_0x4e7684(0x27f)](_0x484821);}),_0x2acf7b[_0x2df33f(0x184)]();const _0x1f9e40=_0x436213[_0x2df33f(0x346)](_0x1f0bca);if(_0x1f9e40){_0x47f77f(_0x1f9e40,_0x3f6360,_0x5647bd),_0x1f9e40[_0x2df33f(0x2d6)](!0x0);const _0x40f4f7=_0x1f9e40[_0x2df33f(0x1e0)](),_0x2e0819=_0x436213[_0x2df33f(0x292)](_0x17839e,_0x4f3756,_0x1f0bca),_0x3682c9=_0x436213[_0x2df33f(0x1f2)](_0x9690cb)[_0x2df33f(0x363)]();_0x436213['updateView'](_0x17839e,_0x4f3756,_0x574a36[_0x2df33f(0x369)],_0x1f0bca,_0x40f4f7,_0x2e0819,_0x3682c9,!0x0);}}return this[_0x2df33f(0x2c6)](_0x17839e,_0x4f3756,_0x1f0bca);}});}['getMatrixFromRunTimeData'](_0x4ca8c5,_0x12c48c,_0x29b65d){var _0x4c7837,_0x4d259e;const {arrayFormulaCellData:_0x69aeb7,unitData:_0x56477c}=_0x29b65d,_0x1aa22d=(_0x4c7837=_0x69aeb7==null?void 0x0:_0x69aeb7[_0x4ca8c5])==null?void 0x0:_0x4c7837[_0x12c48c],_0x4c0fb8=(_0x4d259e=_0x56477c==null?void 0x0:_0x56477c[_0x4ca8c5])==null?void 0x0:_0x4d259e[_0x12c48c];return{'arrayFormulaCellDataMatrix':_0x1aa22d,'unitDataMatrix':_0x4c0fb8};}[_0xce9d13(0x2c6)](_0x2783e8,_0x47a21e,_0x225617){const _0x3088a7=_0xce9d13,_0x4ac0b4=this[_0x3088a7(0x22a)][_0x3088a7(0x170)](_0x2783e8,_0x47a21e,_0x225617),_0xd95ecb=[],_0x23858a=new _0x1e403a[(_0x3088a7(0x1c3))]();if(_0x4ac0b4){const {rangeCache:_0x2e8185,matrix:_0x10ff7f,oldRangeCache:_0x54bfad,oldMatrix:_0x52508d}=_0x4ac0b4,_0xf98b34=_0xa6fa5e(_0x54bfad),_0x3a4e6=_0xa6fa5e(_0x2e8185);_0xd95ecb['push'](..._0x3a4e6,..._0xf98b34),_0x52508d&&_0x54bfad&&_0xf98b34[_0x3088a7(0xf7)](_0x5864f9=>{const _0x2b1a2a=_0x3088a7;for(let _0x4f746b=_0x5864f9[_0x2b1a2a(0x2f5)];_0x4f746b<=_0x5864f9['endRow'];_0x4f746b++)for(let _0x4ef4f0=_0x5864f9[_0x2b1a2a(0x29f)];_0x4ef4f0<=_0x5864f9[_0x2b1a2a(0x25c)];_0x4ef4f0++)_0x23858a[_0x2b1a2a(0x357)](_0x4f746b,_0x4ef4f0);}),_0x10ff7f&&_0x3a4e6&&_0x3a4e6[_0x3088a7(0xf7)](_0x1a2361=>{const _0x79b0cd=_0x3088a7;for(let _0x148ff4=_0x1a2361[_0x79b0cd(0x2f5)];_0x148ff4<=_0x1a2361[_0x79b0cd(0x34a)];_0x148ff4++)for(let _0x58836f=_0x1a2361[_0x79b0cd(0x29f)];_0x58836f<=_0x1a2361[_0x79b0cd(0x25c)];_0x58836f++)_0x23858a[_0x79b0cd(0x39e)](_0x148ff4,_0x58836f,_0x10ff7f[_0x79b0cd(0x150)](_0x148ff4,_0x58836f));});}const _0x2a167e={};return _0x2a167e[_0x2783e8]={[_0x47a21e]:_0x3eba0c(_0xd95ecb)},{'runtimeCellData':{[_0x2783e8]:{[_0x47a21e]:_0x23858a}},'dirtyRanges':_0x2a167e};}[_0xce9d13(0xfe)](){}};_0x9d3441=_0xd7f8d4([_0x587ccb(0x0,_0x1e403a[_0xce9d13(0x2e6)](_0x3f103d[_0xce9d13(0x255)])),_0x587ccb(0x1,_0x1e403a[_0xce9d13(0x2e6)](_0x26e928[_0xce9d13(0x3bb)])),_0x587ccb(0x2,_0x1e403a['Inject'](_0x1e403a[_0xce9d13(0x290)])),_0x587ccb(0x3,_0x1e403a[_0xce9d13(0x2e6)](_0x26e928[_0xce9d13(0x3ca)])),_0x587ccb(0x4,_0x1e403a[_0xce9d13(0x2e6)](_0x1e403a[_0xce9d13(0x26c)]))],_0x9d3441);var _0xa116cc=Object['getOwnPropertyDescriptor'],_0x115343=(_0x55bdc5,_0x3558e0,_0x1be66e,_0x2d634b)=>{const _0x4ae58e=_0xce9d13;for(var _0x3dae98=_0x2d634b>0x1?void 0x0:_0x2d634b?_0xa116cc(_0x3558e0,_0x1be66e):_0x3558e0,_0xe8080f=_0x55bdc5[_0x4ae58e(0x392)]-0x1,_0x77c8bd;_0xe8080f>=0x0;_0xe8080f--)(_0x77c8bd=_0x55bdc5[_0xe8080f])&&(_0x3dae98=_0x77c8bd(_0x3dae98)||_0x3dae98);return _0x3dae98;},_0x24a0ab=(_0x13bf39,_0x676851)=>(_0x1770e7,_0x1788b6)=>_0x676851(_0x1770e7,_0x1788b6,_0x13bf39);let _0x49ccc0=class extends _0x1e403a[_0xce9d13(0x33e)]{constructor(_0x47afed,_0x214aa6,_0x367dd7,_0x2d2856){const _0x42665a=_0xce9d13;super(),_0x1c9350(this,_0x42665a(0x198),new _0x1e403a['DisposableCollection']()),(this['_univerInstanceService']=_0x47afed,this['_sheetInterceptorService']=_0x214aa6,this[_0x42665a(0x20a)]=_0x367dd7,this['_sheetsPivotTableConfigModel']=_0x2d2856,this[_0x42665a(0x265)]());}['_initClearSelectionCommandInterceptor'](){const _0x2d4b60=_0xce9d13;this['disposeWithMe'](this[_0x2d4b60(0x34e)][_0x2d4b60(0x1b8)]({'getMutations':_0x9a7548=>{const _0x5e27ec=_0x2d4b60;if(_0x9a7548['id']===_0x3c5050[_0x5e27ec(0x2f3)]['id']||_0x9a7548['id']===_0x3c5050[_0x5e27ec(0x25d)]['id']){const _0x38aeac=[],_0x440e16=[],_0x1758d2=this[_0x5e27ec(0x20a)][_0x5e27ec(0x172)]()[_0x5e27ec(0x3b5)](_0x7293fb=>_0x7293fb['range']),_0x1e57ca=_0x3c5050['getSheetCommandTarget'](this[_0x5e27ec(0x26a)]);if(!_0x1e57ca)return{'redos':[],'undos':[]};const {unitId:_0x322f3b,subUnitId:_0x4c6500}=_0x1e57ca,_0x1d3c88={},_0x1e1d98=this['_sheetsPivotTableConfigModel'][_0x5e27ec(0xff)](_0x322f3b,_0x4c6500);if(_0x1e1d98!=null&&_0x1e1d98['size'])for(const [_0x1020fa,_0x52401c]of _0x1e1d98){const {unitId:_0x29d22f,subUnitId:_0x5d71b2,row:_0x3ff433,col:_0x1bd894}=_0x52401c[_0x5e27ec(0x200)];_0x29d22f===_0x1e57ca[_0x5e27ec(0x10f)]&&_0x5d71b2===_0x1e57ca[_0x5e27ec(0x36c)]&&(_0x1d3c88[_0x3ff433+'-'+_0x1bd894]=_0x1020fa);}return _0x1758d2&&_0x1e57ca&&_0x1758d2[_0x5e27ec(0xf7)](_0x2b982e=>{const _0x44f2d8=_0x5e27ec;_0x1e403a[_0x44f2d8(0xeb)]['foreach'](_0x2b982e,(_0x27d375,_0x5b0c19)=>{const _0x2dd0e1=_0x44f2d8,_0x3606d5=_0x27d375+'-'+_0x5b0c19;if(_0x1d3c88[_0x3606d5]){const _0x1099af=_0x1d3c88[_0x3606d5];_0x38aeac[_0x2dd0e1(0x374)]({'id':_0x2e3fa3['id'],'params':{'unitId':_0x322f3b,'subUnitId':_0x4c6500,'pivotTableId':_0x1099af}});const _0x873511=this[_0x2dd0e1(0x295)][_0x2dd0e1(0x2f7)](_0x322f3b,_0x1099af),_0x569d15=this[_0x2dd0e1(0x295)][_0x2dd0e1(0x292)](_0x322f3b,_0x4c6500,_0x1099af);_0x440e16[_0x2dd0e1(0x374)]({'id':_0x29ed8b['id'],'params':{'unitId':_0x322f3b,'subUnitId':_0x4c6500,'pivotTableId':_0x1099af,'pivotTableConfig':_0x569d15,'collectionConfig':_0x873511}});}});}),{'redos':_0x38aeac,'undos':_0x440e16};}return{'redos':[],'undos':[]};}}));}};_0x49ccc0=_0x115343([_0x24a0ab(0x0,_0x1e403a[_0xce9d13(0x175)]),_0x24a0ab(0x1,_0x1e403a['Inject'](_0x3c5050[_0xce9d13(0x145)])),_0x24a0ab(0x2,_0x1e403a[_0xce9d13(0x2e6)](_0x3c5050[_0xce9d13(0x2f2)])),_0x24a0ab(0x3,_0x1e403a[_0xce9d13(0x2e6)](_0x3f103d[_0xce9d13(0x1fd)]))],_0x49ccc0);var _0xc6a045=Object['getOwnPropertyDescriptor'],_0x4e36e7=(_0x3d7c37,_0x25f92e,_0x57a7ab,_0x1e0421)=>{for(var _0x18fca1=_0x1e0421>0x1?void 0x0:_0x1e0421?_0xc6a045(_0x25f92e,_0x57a7ab):_0x25f92e,_0x141c8d=_0x3d7c37['length']-0x1,_0x2f31e9;_0x141c8d>=0x0;_0x141c8d--)(_0x2f31e9=_0x3d7c37[_0x141c8d])&&(_0x18fca1=_0x2f31e9(_0x18fca1)||_0x18fca1);return _0x18fca1;},_0x1b13c2=(_0x16f206,_0x5eb88a)=>(_0x520294,_0x300fd4)=>_0x5eb88a(_0x520294,_0x300fd4,_0x16f206);let _0x7bac90=class extends _0x1e403a[_0xce9d13(0x33e)]{constructor(_0x2eef5a,_0x110dd1,_0x1b988b,_0x19b02e,_0x3c68cb){const _0x478026=_0xce9d13;super(),this[_0x478026(0x34e)]=_0x2eef5a,this['_injector']=_0x110dd1,this['_univerInstanceService']=_0x1b988b,this[_0x478026(0x295)]=_0x19b02e,this[_0x478026(0x22f)]=_0x3c68cb,this[_0x478026(0x28e)]();}[_0xce9d13(0x302)](_0x22d0ed,_0x4537a8,_0x1b1ae7){const _0xa1fc0c=_0xce9d13,{pageView:_0xe315fc,cornerView:_0x55e70c,rowView:_0x106296,colView:_0x2e987f,dataView:_0x585b7c}=_0x4537a8,_0x1b6a15=_0x22d0ed;let _0x2c2690;if(_0x1b1ae7)_0x2c2690=[..._0x22ecd3(_0x1b6a15)];else{const _0x23a356=_0x389d38(_0x1b6a15,_0xe315fc,!0x0),_0x1a88f4=_0xe315fc[_0xa1fc0c(0x2d8)]>=0x0?_0xe315fc['lastRow']+0x1:0x0,_0x229fe0=_0x55e70c[_0xa1fc0c(0x1d3)],_0x1ea66e=_0x55e70c['colCount'],_0x312c3b=_0x23a356[_0xa1fc0c(0x392)]>0x0?_0x5a941a:0x0,_0x97c140=_0x389d38({'row':_0x1b6a15[_0xa1fc0c(0x299)]+_0x1a88f4+_0x312c3b,'col':_0x1b6a15['col']},_0x55e70c,!0x1,!0x1),_0x1335be=_0x389d38({'row':_0x1b6a15[_0xa1fc0c(0x299)]+_0x1a88f4+_0x312c3b+_0x229fe0,'col':_0x1b6a15[_0xa1fc0c(0xfb)]},_0x106296,!0x1,!0x0),_0x41e8db=_0x389d38({'row':_0x1b6a15[_0xa1fc0c(0x299)]+_0x1a88f4+_0x312c3b,'col':_0x1b6a15[_0xa1fc0c(0xfb)]+_0x1ea66e},_0x2e987f,!0x1,!0x0),_0x6eae66=_0x389d38({'row':_0x1b6a15[_0xa1fc0c(0x299)]+_0x1a88f4+_0x312c3b+_0x229fe0,'col':_0x1b6a15[_0xa1fc0c(0xfb)]+_0x1ea66e},_0x585b7c,!0x1,!0x0);_0x2c2690=[..._0x23a356,..._0x97c140,..._0x1335be,..._0x41e8db,..._0x6eae66];}return _0x2c2690;}[_0xce9d13(0x28e)](){const _0x392244=_0xce9d13;this[_0x392244(0x2d5)](this['_sheetsPivotTableService'][_0x392244(0xda)]['intercept'](this[_0x392244(0x22f)][_0x392244(0xda)][_0x392244(0x208)]()[_0x392244(0x19a)],{'handler':(_0x5552ba,_0x48280c)=>{const _0x78373b=_0x392244,{cellInfo:_0x1bff03,view:_0x111aa4,isEmpty:_0x4246da}=_0x48280c,_0x356b9b=_0x1bff03,{unitId:_0x3db263,subUnitId:_0x5b0c64}=_0x356b9b,_0x2efc8e=this[_0x78373b(0x302)](_0x1bff03,_0x111aa4,_0x4246da),_0x5800ad=this['_sheetInterceptorService'][_0x78373b(0xed)]({'unitId':_0x3db263,'subUnitId':_0x5b0c64,'ranges':_0x2efc8e}),_0x59e4f5=_0x304ef9(this[_0x78373b(0x37f)],_0x3db263,_0x5b0c64,_0x2efc8e);_0x59e4f5[_0x78373b(0x31b)]&&(_0x5800ad['redos'][_0x78373b(0x374)](_0x59e4f5['setRangeValueRedoMutation']),_0x5800ad['undos'][_0x78373b(0x374)](_0x59e4f5[_0x78373b(0x319)]));const _0x12de87=this[_0x78373b(0xf8)](_0x111aa4,_0x1bff03);return _0x5800ad[_0x78373b(0x205)]['push'](..._0x12de87[_0x78373b(0x205)]),_0x5800ad[_0x78373b(0x2b0)][_0x78373b(0x374)](..._0x12de87['undos']),{'redos':_0x5800ad[_0x78373b(0x205)],'undos':_0x5800ad[_0x78373b(0x2b0)]};}}));}['getAutoFitColumnsMutations'](_0x4ba0cf,_0x409e94){const _0x43adc0=_0xce9d13,{col:_0x4e664e,unitId:_0x4fd862,subUnitId:_0x201366}=_0x409e94,_0x5f2d79=[],_0x1ba7a2=[],_0x435267=_0x3c5050['getSheetCommandTarget'](this[_0x43adc0(0x26a)],{'unitId':_0x4fd862,'subUnitId':_0x201366});if(!_0x409e94||!_0x4ba0cf||!_0x435267)return{'undos':_0x1ba7a2,'redos':_0x5f2d79};const _0x3f171e=this[_0x43adc0(0x295)][_0x43adc0(0x179)](),{colView:_0x318a27,dataView:_0x84bb34,cornerView:_0x28bc84,rowView:_0x1a5665,formatMap:_0x4a6658}=_0x4ba0cf,_0x35e2b4=_0x5cac9d(_0x318a27,_0x3f171e,!0x0,_0x4a6658),_0xa74d60=_0x5cac9d(_0x1a5665,_0x3f171e,!0x1,_0x4a6658),_0x16c795=_0x3a526f(_0x84bb34),_0x5a1f2d=_0x55c829(_0x28bc84),{worksheet:_0x52453}=_0x435267;if(typeof window<'u'&&window[_0x43adc0(0x1b6)]){const _0x4bb875=_0x3493d4[_0x43adc0(0x2af)]({..._0x401a48[_0x43adc0(0x17a)]}),_0x6f4e3a=_0x3493d4[_0x43adc0(0x3d7)][_0x43adc0(0x267)](_0x35e2b4,_0x4bb875)['width']+0x10,_0x3825d5=_0x3493d4['FontCache']['getTextSize'](_0x16c795,_0x4bb875)[_0x43adc0(0x3a4)],_0x12c08f=Math[_0x43adc0(0x350)](Math['max'](_0x6f4e3a,_0x3825d5))+0x10,_0x136b11=Math[_0x43adc0(0x350)](_0x3493d4[_0x43adc0(0x3d7)]['getTextSize'](_0xa74d60,_0x4bb875)[_0x43adc0(0x3a4)]),_0x280be7=Math[_0x43adc0(0x350)](_0x3493d4[_0x43adc0(0x3d7)][_0x43adc0(0x267)](_0x5a1f2d,_0x4bb875)[_0x43adc0(0x3a4)]),_0x232935=Math[_0x43adc0(0x193)](_0x136b11,_0x280be7,0x28)+0xc,_0x489f8a=_0x318a27[_0x43adc0(0x206)]+_0x28bc84[_0x43adc0(0x206)],_0x47f582={},_0x3128d1={};for(let _0x3a2e19=_0x4e664e;_0x3a2e19<_0x4e664e+_0x489f8a;_0x3a2e19++){const _0x37b3af=_0x52453[_0x43adc0(0x3a7)](_0x3a2e19);_0x47f582[_0x3a2e19]=_0x37b3af,_0x3a2e19-_0x4e664e<_0x28bc84['colCount']?_0x3128d1[_0x3a2e19-_0x4e664e]=_0x232935:_0x3128d1[_0x3a2e19-_0x4e664e]=_0x12c08f;}_0x5f2d79[_0x43adc0(0x374)]({'id':_0x3c5050[_0x43adc0(0x39f)]['id'],'params':{'subUnitId':_0x201366,'unitId':_0x4fd862,'ranges':[{'startColumn':_0x4e664e,'endColumn':_0x4e664e+_0x489f8a-0x1,'startRow':0x0,'endRow':_0x52453['getRowCount']()-0x1}],'colWidth':_0x3128d1}}),_0x1ba7a2[_0x43adc0(0x374)]({'id':_0x3c5050['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x201366,'unitId':_0x4fd862,'ranges':[{'startColumn':_0x4e664e,'endColumn':_0x4e664e+_0x489f8a-0x1,'startRow':0x0,'endRow':_0x52453['getRowCount']()-0x1}],'colWidth':_0x47f582}});}return{'undos':_0x1ba7a2,'redos':_0x5f2d79};}};_0x7bac90=_0x4e36e7([_0x1b13c2(0x0,_0x1e403a[_0xce9d13(0x2e6)](_0x3c5050[_0xce9d13(0x145)])),_0x1b13c2(0x1,_0x1e403a['Inject'](_0x1e403a[_0xce9d13(0x26c)])),_0x1b13c2(0x2,_0x1e403a[_0xce9d13(0x2e6)](_0x1e403a[_0xce9d13(0x175)])),_0x1b13c2(0x3,_0x1e403a[_0xce9d13(0x2e6)](_0x3f103d['SheetsPivotTableConfigModel'])),_0x1b13c2(0x4,_0x1e403a[_0xce9d13(0x2e6)](_0x3f103d[_0xce9d13(0x282)]))],_0x7bac90);var _0x3c3b3e=Object[_0xce9d13(0x386)],_0x37a42d=(_0x4c913a,_0x33dfff,_0x317ba1,_0x4b07a2)=>{for(var _0xfbe7e6=_0x4b07a2>0x1?void 0x0:_0x4b07a2?_0x3c3b3e(_0x33dfff,_0x317ba1):_0x33dfff,_0x2b835c=_0x4c913a['length']-0x1,_0x27f193;_0x2b835c>=0x0;_0x2b835c--)(_0x27f193=_0x4c913a[_0x2b835c])&&(_0xfbe7e6=_0x27f193(_0xfbe7e6)||_0xfbe7e6);return _0xfbe7e6;},_0x290b16=(_0x56f2f5,_0x54330a)=>(_0x224989,_0x42cd13)=>_0x54330a(_0x224989,_0x42cd13,_0x56f2f5);let _0x38b5e4=class extends _0x1e403a['Disposable']{constructor(_0x55125a,_0xc51482,_0x20a9b0,_0x120958,_0x172b28,_0x30efae,_0x5f07af){const _0x113b94=_0xce9d13;super(),_0x1c9350(this,_0x113b94(0x198),new _0x1e403a[(_0x113b94(0x126))]()),(this[_0x113b94(0x37f)]=_0x55125a,this['_refRangeService']=_0xc51482,this['_commandService']=_0x20a9b0,this[_0x113b94(0x26a)]=_0x120958,this[_0x113b94(0x295)]=_0x172b28,this[_0x113b94(0x380)]=_0x30efae,this[_0x113b94(0x34e)]=_0x5f07af,this[_0x113b94(0x215)]());}[_0xce9d13(0x215)](){const _0x4c67c0=_0xce9d13,_0x410704=(_0x5e5af1,_0x438797)=>{const _0x2bf02e=_0x47d5,_0x44f2ea=this[_0x2bf02e(0x26a)][_0x2bf02e(0x325)](_0x1e403a[_0x2bf02e(0x1c6)]['UNIVER_SHEET']);if(!_0x44f2ea||!(_0x44f2ea==null?void 0x0:_0x44f2ea[_0x2bf02e(0x284)](_0x438797)))return;this['disposableCollection']['dispose']();const _0xc9b83=_0x1dbcf7=>this[_0x2bf02e(0xc4)](_0x1dbcf7,_0x5e5af1,_0x438797),_0x5217ef=this[_0x2bf02e(0x295)][_0x2bf02e(0xff)](_0x5e5af1,_0x438797);if(!(_0x5217ef!=null&&_0x5217ef[_0x2bf02e(0x227)]))return;Array[_0x2bf02e(0x113)](_0x5217ef['values']())[_0x2bf02e(0x3b5)](_0x3d9005=>{const _0x3058cc=_0x2bf02e,{row:_0x5dd8e1,col:_0x587b75}=_0x3d9005[_0x3058cc(0x200)];return _0x1e403a[_0x3058cc(0xd3)](_0x5dd8e1,_0x587b75);})[_0x2bf02e(0xf7)](_0x4b5b31=>{const _0x57d61f=_0x2bf02e;this[_0x57d61f(0x198)][_0x57d61f(0x213)](this[_0x57d61f(0xdc)][_0x57d61f(0x19c)](_0x4b5b31,_0xc9b83,_0x5e5af1,_0x438797));});},_0x1c0bd4=()=>{const _0x12c0d1=_0x47d5,_0x3b983a=this['_univerInstanceService'][_0x12c0d1(0x325)](_0x1e403a[_0x12c0d1(0x1c6)][_0x12c0d1(0x1da)]);if(_0x3b983a){const _0xcaac24=_0x3b983a[_0x12c0d1(0x2e9)]();if(!_0xcaac24)return;_0x410704(_0x3b983a[_0x12c0d1(0x2c3)](),_0xcaac24['getSheetId']());}};this[_0x4c67c0(0x2d5)](this[_0x4c67c0(0x1a2)][_0x4c67c0(0x371)](_0x1a552f=>{const _0x12a434=_0x4c67c0;if(_0x1a552f['id']===_0x3c5050[_0x12a434(0x20c)]['id']){const _0x245b41=_0x1a552f[_0x12a434(0x29c)],_0x502aa2=_0x245b41[_0x12a434(0x36c)],_0x323c42=_0x245b41[_0x12a434(0x10f)];if(!_0x502aa2||!_0x323c42)return;_0x410704(_0x323c42,_0x502aa2);}})),this['disposeWithMe'](this[_0x4c67c0(0x295)][_0x4c67c0(0x250)]['subscribe'](_0x350102=>{_0x350102&&_0x1c0bd4();})),this[_0x4c67c0(0x2d5)](this['_sheetsPivotTableConfigModel']['pivotConfigChange$'][_0x4c67c0(0x32a)](_0x2bca94=>{const _0x58f22f=_0x4c67c0,_0x1878bf=_0x3c5050['getSheetCommandTarget'](this[_0x58f22f(0x26a)]);if(!_0x1878bf)return;const {unitId:_0x3dd285,subUnitId:_0x3edbc4}=_0x1878bf,{unitId:_0x2359c3,subUnitId:_0x9c0ba6}=_0x2bca94;_0x3dd285!==_0x2359c3||_0x3edbc4!==_0x9c0ba6||_0x410704(_0x3dd285,_0x3edbc4);})),_0x1c0bd4();}['_refRangeHandle'](_0x1a127f,_0x1447c6,_0xd43fa7){const _0x3c16b2=_0xce9d13;switch(_0x1a127f['id']){case _0x3c5050[_0x3c16b2(0x24d)]['id']:return this[_0x3c16b2(0x37d)](_0x1a127f[_0x3c16b2(0x29c)],_0x1447c6,_0xd43fa7);}return{'redos':[],'undos':[]};}[_0xce9d13(0x37d)](_0xa6ae67,_0x4b0596,_0x27e920){const _0x5a07e3=_0xce9d13,{fromRange:_0x48acbd,toRange:_0x50ca84}=_0xa6ae67,_0x1ab4b1=[],_0x16ec8c=[],_0x400b86=_0x3c5050[_0x5a07e3(0x352)](this[_0x5a07e3(0x26a)]);if(!_0x400b86)return{'undos':_0x16ec8c,'redos':_0x1ab4b1};if(_0x4b0596!==_0x400b86['unitId']||_0x27e920!==_0x400b86[_0x5a07e3(0x36c)])return{'undos':_0x16ec8c,'redos':_0x1ab4b1};const _0x5254bf=this[_0x5a07e3(0x295)][_0x5a07e3(0xff)](_0x4b0596,_0x27e920);if(_0x5254bf!=null&&_0x5254bf[_0x5a07e3(0x227)])for(const [_0x2a8c2e,_0x447856]of _0x5254bf){const {unitId:_0x1599e9,subUnitId:_0x505724,row:_0x2abcd3,col:_0x286bb4}=_0x447856[_0x5a07e3(0x200)];if(_0x1599e9===_0x400b86[_0x5a07e3(0x10f)]&&_0x505724===_0x400b86[_0x5a07e3(0x36c)]){const _0x4952e2=_0x1e403a[_0x5a07e3(0xd3)](_0x2abcd3,_0x286bb4);if(_0x1e403a[_0x5a07e3(0x18b)]['intersects'](_0x4952e2,_0x48acbd)){const _0x1ca729=_0x2abcd3-_0x48acbd[_0x5a07e3(0x2f5)],_0x2ec571=_0x286bb4-_0x48acbd[_0x5a07e3(0x29f)],_0x4cdfdb={'row':_0x50ca84[_0x5a07e3(0x2f5)]+_0x1ca729,'col':_0x50ca84[_0x5a07e3(0x29f)]+_0x2ec571};_0x1ab4b1[_0x5a07e3(0x374)]({'id':_0xad4dfc['id'],'params':{'unitId':_0x1599e9,'subUnitId':_0x505724,'pivotTableId':_0x2a8c2e,'targetCellPosition':_0x4cdfdb}}),_0x16ec8c[_0x5a07e3(0x374)]({'id':_0xad4dfc['id'],'params':{'unitId':_0x1599e9,'subUnitId':_0x505724,'pivotTableId':_0x2a8c2e,'targetCellPosition':{'row':_0x2abcd3,'col':_0x286bb4}}});const _0x14bd90=_0x4cdfdb[_0x5a07e3(0x299)]-_0x2abcd3,_0x225718=_0x4cdfdb[_0x5a07e3(0xfb)]-_0x286bb4,_0x23a727=[],_0x9c18f=this['_sheetsPivotTableAdaptorModel'][_0x5a07e3(0x342)](_0x1599e9,_0x505724,_0x2a8c2e),_0x313c39=_0x9c18f==null?void 0x0:_0x9c18f[_0x5a07e3(0x202)];if(_0x313c39){Object[_0x5a07e3(0x136)](_0x313c39)[_0x5a07e3(0xf7)](_0x499cd1=>{_0x313c39[_0x499cd1]['forEach'](_0x249186=>{const _0x3f07a=_0x47d5,_0x187f83={..._0x249186};_0x187f83[_0x3f07a(0x2f5)]=_0x249186[_0x3f07a(0x2f5)]+_0x14bd90,_0x187f83['endRow']=_0x249186['endRow']+_0x14bd90,_0x187f83[_0x3f07a(0x29f)]=_0x249186[_0x3f07a(0x29f)]+_0x225718,_0x187f83[_0x3f07a(0x25c)]=_0x249186[_0x3f07a(0x25c)]+_0x225718,_0x23a727[_0x3f07a(0x374)](_0x187f83);});});const _0x1305bf=this[_0x5a07e3(0x34e)]['generateMutationsByRanges']({'unitId':_0x1599e9,'subUnitId':_0x505724,'ranges':_0x23a727});_0x1ab4b1[_0x5a07e3(0x374)](..._0x1305bf['redos']),_0x16ec8c[_0x5a07e3(0x374)](..._0x1305bf['undos']);const _0x31ddf5=_0x304ef9(this[_0x5a07e3(0x37f)],_0x1599e9,_0x505724,_0x23a727);_0x31ddf5['shouldClear']&&(_0x1ab4b1[_0x5a07e3(0x374)](_0x31ddf5['setRangeValueRedoMutation']),_0x16ec8c['push'](_0x31ddf5[_0x5a07e3(0x319)]));}}}}return{'redos':_0x1ab4b1,'undos':_0x16ec8c};}};_0x38b5e4=_0x37a42d([_0x290b16(0x0,_0x1e403a[_0xce9d13(0x2e6)](_0x1e403a[_0xce9d13(0x26c)])),_0x290b16(0x1,_0x1e403a[_0xce9d13(0x2e6)](_0x3c5050['RefRangeService'])),_0x290b16(0x2,_0x1e403a[_0xce9d13(0x290)]),_0x290b16(0x3,_0x1e403a[_0xce9d13(0x175)]),_0x290b16(0x4,_0x1e403a[_0xce9d13(0x2e6)](_0x3f103d[_0xce9d13(0x1fd)])),_0x290b16(0x5,_0x1e403a[_0xce9d13(0x2e6)](_0x3f103d[_0xce9d13(0x19b)])),_0x290b16(0x6,_0x1e403a[_0xce9d13(0x2e6)](_0x3c5050[_0xce9d13(0x145)]))],_0x38b5e4);var _0x2d3988=Object['getOwnPropertyDescriptor'],_0xc1baaf=(_0xf9170f,_0x453822,_0x15be81,_0x46e464)=>{const _0x35b07a=_0xce9d13;for(var _0x45ad63=_0x46e464>0x1?void 0x0:_0x46e464?_0x2d3988(_0x453822,_0x15be81):_0x453822,_0x5e350a=_0xf9170f[_0x35b07a(0x392)]-0x1,_0x5cfe7d;_0x5e350a>=0x0;_0x5e350a--)(_0x5cfe7d=_0xf9170f[_0x5e350a])&&(_0x45ad63=_0x5cfe7d(_0x45ad63)||_0x45ad63);return _0x45ad63;},_0x276972=(_0x4df173,_0x53be54)=>(_0x36e0b5,_0x597100)=>_0x53be54(_0x36e0b5,_0x597100,_0x4df173);let _0x32d755=class extends _0x1e403a['Disposable']{constructor(_0x50c0f2,_0x430174){const _0xaa730f=_0xce9d13;super(),this[_0xaa730f(0x34e)]=_0x50c0f2,this[_0xaa730f(0x295)]=_0x430174,this[_0xaa730f(0x1fa)]();}[_0xce9d13(0x1fa)](){const _0x5de133=_0xce9d13;this[_0x5de133(0x2d5)](this[_0x5de133(0x34e)]['interceptCommand']({'getMutations':_0x4c404b=>{const _0x3ffb93=_0x5de133;if(_0x4c404b['id']===_0x3c5050[_0x3ffb93(0x12b)]['id']){const _0x11ae6b=[],_0x16cf44=[],_0x4af71c=_0x4c404b['params'],{unitId:_0x22d830,subUnitId:_0x5106f9}=_0x4af71c;if(!_0x22d830||!_0x5106f9)return{'undos':_0x16cf44,'redos':_0x11ae6b};const _0x5a447a=this[_0x3ffb93(0x295)][_0x3ffb93(0xff)](_0x22d830,_0x5106f9);if(_0x5a447a!=null&&_0x5a447a[_0x3ffb93(0x227)])for(const [_0x5778f9,_0xdebc81]of _0x5a447a){_0x11ae6b[_0x3ffb93(0x374)]({'id':_0x2e3fa3['id'],'params':{'unitId':_0x22d830,'subUnitId':_0x5106f9,'pivotTableId':_0x5778f9}});const _0x4d3f5d={...this[_0x3ffb93(0x295)][_0x3ffb93(0x2f7)](_0x22d830,_0x5778f9)};_0x16cf44[_0x3ffb93(0x374)]({'id':_0x29ed8b['id'],'params':{'unitId':_0x22d830,'subUnitId':_0x5106f9,'pivotTableId':_0x5778f9,'pivotTableConfig':_0xdebc81,'collectionConfig':_0x4d3f5d}});}return{'redos':_0x11ae6b,'undos':_0x16cf44};}return{'redos':[],'undos':[]};}}));}};_0x32d755=_0xc1baaf([_0x276972(0x0,_0x1e403a['Inject'](_0x3c5050[_0xce9d13(0x145)])),_0x276972(0x1,_0x1e403a['Inject'](_0x3f103d['SheetsPivotTableConfigModel']))],_0x32d755);var _0x472a21=Object[_0xce9d13(0x386)],_0x5526f1=(_0x51e766,_0x1411ca,_0x378336,_0x12668c)=>{const _0x4ab658=_0xce9d13;for(var _0x2dabb1=_0x12668c>0x1?void 0x0:_0x12668c?_0x472a21(_0x1411ca,_0x378336):_0x1411ca,_0x3240f6=_0x51e766[_0x4ab658(0x392)]-0x1,_0x239939;_0x3240f6>=0x0;_0x3240f6--)(_0x239939=_0x51e766[_0x3240f6])&&(_0x2dabb1=_0x239939(_0x2dabb1)||_0x2dabb1);return _0x2dabb1;},_0x103598=(_0x5aa953,_0x20ae7b)=>(_0x2cc99e,_0x4b6aa0)=>_0x20ae7b(_0x2cc99e,_0x4b6aa0,_0x5aa953);let _0x509c77=class extends _0x1e403a[_0xce9d13(0x33e)]{constructor(_0x511b9f,_0x26b6db,_0x1d0da1,_0x41425f,_0x5e4f97,_0x3de9fc){const _0x588b7c=_0xce9d13;super(),this[_0x588b7c(0x1a2)]=_0x511b9f,this[_0x588b7c(0x2ed)]=_0x26b6db,this[_0x588b7c(0x380)]=_0x1d0da1,this['_sheetsPivotTableConfigModel']=_0x41425f,this[_0x588b7c(0x26a)]=_0x5e4f97,this[_0x588b7c(0x129)]=_0x3de9fc,this[_0x588b7c(0x17c)](),this[_0x588b7c(0xf6)]();}[_0xce9d13(0x17c)](){const _0x470767=_0xce9d13;this['disposeWithMe'](this[_0x470767(0x1a2)][_0x470767(0x371)](_0x23cabd=>{const _0x167bde=_0x470767;if(_0x23cabd['id']!==_0x3e8d0b['id'])return;const _0xf13540=_0x23cabd[_0x167bde(0x29c)];this[_0x167bde(0x2ed)][_0x167bde(0x137)](_0xf13540);})),this[_0x470767(0x2d5)](this[_0x470767(0x1a2)][_0x470767(0x371)](_0x17b916=>{const _0x4e6995=_0x470767;if(_0x17b916['id']===_0x1a5e76['id']){const _0x16c247=_0x17b916[_0x4e6995(0x29c)];if(_0x16c247){const {unitId:_0x2ce024,subUnitId:_0x1acccd,oldSubUnitId:_0x5b01be,pivotTableId:_0x46cdf0,pivotTableConfig:_0x57a600,collectionConfig:_0x5d0c76}=_0x16c247;this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x2ce024,_0x5b01be,_0x16c247[_0x4e6995(0x33b)],null),this[_0x4e6995(0x295)][_0x4e6995(0x345)](_0x2ce024,_0x1acccd,_0x46cdf0,_0x57a600),this[_0x4e6995(0x295)][_0x4e6995(0x390)](_0x2ce024,_0x5d0c76);}}})),this[_0x470767(0x2d5)](this[_0x470767(0x1a2)][_0x470767(0x371)](_0x29b554=>{const _0x2a4f0a=_0x470767;if(_0x29b554['id']!==_0x55ed11['id'])return;const _0x593e04=_0x3c5050[_0x2a4f0a(0x352)](this[_0x2a4f0a(0x26a)]);if(!_0x593e04)return;const {unitId:_0x4470a8,subUnitId:_0x8566af}=_0x593e04,_0x343436=_0x29b554[_0x2a4f0a(0x29c)];if(_0x343436[_0x2a4f0a(0x286)]&&Object[_0x2a4f0a(0x136)](_0x343436[_0x2a4f0a(0x286)])[_0x2a4f0a(0xf7)](_0x1bbfd9=>{const _0x19b388=_0x2a4f0a;var _0x1fef34;(_0x1fef34=_0x343436[_0x19b388(0x286)])!=null&&_0x1fef34[_0x1bbfd9]&&this[_0x19b388(0x295)]['updateCollectionConfig'](_0x1bbfd9,_0x343436[_0x19b388(0x286)][_0x1bbfd9]);}),_0x343436[_0x2a4f0a(0x298)]){const _0x359b59=_0x343436[_0x2a4f0a(0x298)],{unitId:_0x5e2af2,subUnitId:_0x49b16a,view:_0x177ac2,pivotTableId:_0x590c53,type:_0x29329e,pivotConfig:_0x33fb94}=_0x359b59;if(_0x29329e===_0x574a36[_0x2a4f0a(0x20f)])this['_sheetsPivotTableAdaptorModel'][_0x2a4f0a(0x3a8)]({'unitId':_0x5e2af2,'subUnitId':_0x49b16a,'pivotTableId':_0x590c53,'type':_0x29329e}),this['_sheetsPivotTableConfigModel'][_0x2a4f0a(0x345)](_0x5e2af2,_0x49b16a,_0x590c53,null);else{const _0x1947cd=new _0x3d0452[(_0x2a4f0a(0xea))]();_0x1947cd['formJSON'](_0x177ac2),this[_0x2a4f0a(0x295)][_0x2a4f0a(0x345)](_0x5e2af2,_0x49b16a,_0x590c53,_0x33fb94),this[_0x2a4f0a(0x380)][_0x2a4f0a(0x3a8)]({'unitId':_0x5e2af2,'subUnitId':_0x49b16a,'pivotTableId':_0x590c53,'type':_0x29329e,'view':_0x1947cd}),this[_0x2a4f0a(0x380)][_0x2a4f0a(0x1bf)]({'unitId':_0x5e2af2,'subUnitId':_0x49b16a,'view':_0x1947cd,'pivotTableId':_0x590c53,'type':_0x29329e});}}else _0x343436[_0x2a4f0a(0x2fa)]&&(_0x343436[_0x2a4f0a(0x2fa)][_0x2a4f0a(0xf7)](_0x76709f=>{const _0x3de3e6=_0x2a4f0a,{unitId:_0x2c406c,subUnitId:_0x1e1010,view:_0x5ab484,pivotTableId:_0x3740e6,type:_0x44bca9,pivotConfig:_0x3bff7c}=_0x76709f,_0x438eb5=new _0x3d0452['PivotView']();_0x438eb5[_0x3de3e6(0x11f)](_0x5ab484),this[_0x3de3e6(0x295)][_0x3de3e6(0x345)](_0x2c406c,_0x1e1010,_0x3740e6,_0x3bff7c),this['_sheetsPivotTableAdaptorModel'][_0x3de3e6(0x1bf)]({'unitId':_0x2c406c,'subUnitId':_0x1e1010,'view':_0x438eb5,'pivotTableId':_0x3740e6,'type':_0x44bca9});}),this[_0x2a4f0a(0x295)]['setPivotInitCompleted']());this['_sheetsPivotTableAdaptorModel']['markDirty'](_0x4470a8,_0x8566af);}));}['registerDirtyService'](){const _0x1f119a=_0xce9d13;this[_0x1f119a(0x129)][_0x1f119a(0x3c6)](_0x41e699['id'],{'commandId':_0x41e699['id'],'getDirtyData'(_0x1f1a57){const _0x7170d8=_0x1f119a;return{'dirtyUnitFeatureMap':_0x1f1a57[_0x7170d8(0x29c)]};}});}};_0x509c77=_0x5526f1([_0x103598(0x0,_0x1e403a[_0xce9d13(0x2e6)](_0x1e403a['ICommandService'])),_0x103598(0x1,_0x1e403a[_0xce9d13(0x2e6)](_0x3f103d[_0xce9d13(0x177)])),_0x103598(0x2,_0x1e403a[_0xce9d13(0x2e6)](_0x3f103d[_0xce9d13(0x19b)])),_0x103598(0x3,_0x1e403a[_0xce9d13(0x2e6)](_0x3f103d[_0xce9d13(0x1fd)])),_0x103598(0x4,_0x1e403a[_0xce9d13(0x2e6)](_0x1e403a[_0xce9d13(0x175)])),_0x103598(0x5,_0x26e928[_0xce9d13(0x10a)])],_0x509c77);var _0x3b1e5e=Object[_0xce9d13(0x1c4)],_0x3fd6ac=Object['getOwnPropertyDescriptor'],_0x3c6482=(_0x490008,_0x3f0570,_0x235952)=>_0x3f0570 in _0x490008?_0x3b1e5e(_0x490008,_0x3f0570,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x235952}):_0x490008[_0x3f0570]=_0x235952,_0x5ef00d=(_0x11c5a3,_0x3d5008,_0x42f409,_0x4b6e96)=>{for(var _0x8410cf=_0x4b6e96>0x1?void 0x0:_0x4b6e96?_0x3fd6ac(_0x3d5008,_0x42f409):_0x3d5008,_0x1d1e9e=_0x11c5a3['length']-0x1,_0x29b065;_0x1d1e9e>=0x0;_0x1d1e9e--)(_0x29b065=_0x11c5a3[_0x1d1e9e])&&(_0x8410cf=_0x29b065(_0x8410cf)||_0x8410cf);return _0x8410cf;},_0xae714f=(_0x57f3e9,_0x43f7f8)=>(_0x26121a,_0x3f0a36)=>_0x43f7f8(_0x26121a,_0x3f0a36,_0x57f3e9),_0x353346=(_0xaa0cb4,_0x227313,_0x44522b)=>_0x3c6482(_0xaa0cb4,typeof _0x227313!='symbol'?_0x227313+'':_0x227313,_0x44522b);_0x3f103d[_0xce9d13(0x316)]=class extends _0x1e403a[_0xce9d13(0x381)]{constructor(_0x199219=_0x44ac92,_0xb3e06c,_0x1ebbe5,_0x7e030c,_0x10537c){const _0x65d0bb=_0xce9d13;super(),this['_config']=_0x199219,this[_0x65d0bb(0x37f)]=_0xb3e06c,this[_0x65d0bb(0x1a2)]=_0x1ebbe5,this[_0x65d0bb(0x2a0)]=_0x7e030c,this[_0x65d0bb(0x2bb)]=_0x10537c;const {..._0x42b0e4}=_0x1e403a[_0x65d0bb(0x388)]({},_0x44ac92,this[_0x65d0bb(0xc8)]);this[_0x65d0bb(0x2a0)][_0x65d0bb(0x233)](_0x40f559,_0x42b0e4),this[_0x65d0bb(0x246)](),this[_0x65d0bb(0x34c)]();}[_0xce9d13(0x34c)](){const _0x5c88e8=_0xce9d13;var _0x4766f8;const _0x56d46f=(_0x4766f8=this[_0x5c88e8(0xc8)])==null?void 0x0:_0x4766f8[_0x5c88e8(0x29b)];this['_configService'][_0x5c88e8(0x233)](_0x258c3b,_0x56d46f===!0x0);}[_0xce9d13(0x1d1)](){const _0x60f7ba=_0xce9d13;var _0x478644;let _0x15bc16=[];const _0x399c2e=(_0x478644=this[_0x60f7ba(0xc8)])==null?void 0x0:_0x478644[_0x60f7ba(0x29b)];_0x399c2e===!0x0?_0x15bc16=[[_0x3f103d['SheetsPivotTableService']],[_0x3f103d[_0x60f7ba(0x177)]],[_0x509c77],[_0x3f103d[_0x60f7ba(0x19b)]],[_0x3f103d[_0x60f7ba(0x1fd)]],[_0x32d755],[_0x49ccc0],[_0x38b5e4],[_0x7bac90]]:_0x399c2e===!0x1?_0x15bc16=[[_0x3f103d[_0x60f7ba(0x255)]],[_0x9d3441]]:_0x399c2e===void 0x0&&(_0x15bc16=[[_0x3f103d[_0x60f7ba(0x255)]],[_0x9d3441],[_0x3f103d[_0x60f7ba(0x282)]],[_0x3f103d['SheetsPivotRPCService']],[_0x509c77],[_0x3f103d[_0x60f7ba(0x19b)]],[_0x3f103d['SheetsPivotTableConfigModel']],[_0x32d755],[_0x49ccc0],[_0x38b5e4],[_0x7bac90]]),_0x15bc16[_0x60f7ba(0xf7)](_0x30463d=>this['_injector'][_0x60f7ba(0x213)](_0x30463d)),[_0x9d3441,_0x509c77,_0x3f103d[_0x60f7ba(0x282)],_0x49ccc0,_0x32d755,_0x38b5e4,_0x7bac90]['forEach'](_0x4e796c=>{const _0x38ee21=_0x60f7ba;this['_injector'][_0x38ee21(0x22e)](_0x4e796c)&&this['_injector']['get'](_0x4e796c);});}[_0xce9d13(0x246)](){const _0x4f8947=_0xce9d13;[_0x452125,_0x4b803b,_0x591f9d,_0xf59e92,_0x49430b,_0x37b4b7,_0x102304,_0x18e35d,_0x217018,_0x36759d,_0x4e7693,_0x591129,_0x30c1f2,_0x152c98,_0x29ed8b,_0x52864f,_0x2e3fa3,_0x3ef5b3,_0x39c7d8,_0x1b14bb,_0x136461,_0x22dbb3,_0xe13526,_0x26968f,_0x1d6d2d,_0x28c1a1,_0xad4dfc,_0x29a24b,_0x3e8d0b,_0x55ed11,_0x25467a,_0x4551f6,_0x17951c,_0x185e26,_0xaf9b9e,_0x16d8a9,_0x27fdf0,_0x41e699,_0x1a5e76,_0x11732b,_0x2095c3,_0x184776,_0x1233d5][_0x4f8947(0xf7)](_0x12b236=>{const _0x513cac=_0x4f8947;var _0x2d116f;(_0x2d116f=this[_0x513cac(0x2bb)])==null||_0x2d116f[_0x513cac(0x26f)](_0x12b236),this['_commandService'][_0x513cac(0x1dc)](_0x12b236);});}},_0x353346(_0x3f103d[_0xce9d13(0x316)],'pluginName',_0x3349fa),_0x353346(_0x3f103d[_0xce9d13(0x316)],_0xce9d13(0x123),_0x1e403a[_0xce9d13(0x1c6)][_0xce9d13(0x1da)]),_0x3f103d[_0xce9d13(0x316)]=_0x5ef00d([_0x1e403a['DependentOn'](_0x22652d['UniverLicensePlugin']),_0xae714f(0x1,_0x1e403a[_0xce9d13(0x2e6)](_0x1e403a[_0xce9d13(0x26c)])),_0xae714f(0x2,_0x1e403a[_0xce9d13(0x2e6)](_0x1e403a[_0xce9d13(0x290)])),_0xae714f(0x3,_0x1e403a['IConfigService']),_0xae714f(0x4,_0x1e403a[_0xce9d13(0xcc)](_0x2bbeb7[_0xce9d13(0x30b)]))],_0x3f103d[_0xce9d13(0x316)]),_0x3f103d['AddPivotFieldCommand']=_0x591f9d,_0x3f103d[_0xce9d13(0x2ae)]=_0x3ef5b3,_0x3f103d[_0xce9d13(0x183)]=_0x4b803b,_0x3f103d['AddPivotTableMutation']=_0x29ed8b,_0x3f103d[_0xce9d13(0x253)]=_0x452125,_0x3f103d[_0xce9d13(0x180)]=_0x5a941a,_0x3f103d[_0xce9d13(0x285)]=_0x3a3f36,_0x3f103d[_0xce9d13(0x259)]=_0xf59e92,_0x3f103d[_0xce9d13(0x348)]=_0x30c1f2,_0x3f103d[_0xce9d13(0xe2)]=_0x3149f6,_0x3f103d['PivotDrillDownCommand']=_0x152c98,_0x3f103d['PivotTableOperationEnum']=_0x574a36,_0x3f103d[_0xce9d13(0x223)]=_0x41e699,_0x3f103d[_0xce9d13(0x304)]=_0x19e307,_0x3f103d['RemovePivotFieldCommand']=_0x49430b,_0x3f103d[_0xce9d13(0x178)]=_0x22dbb3,_0x3f103d[_0xce9d13(0x3c0)]=_0x2e3fa3,_0x3f103d[_0xce9d13(0x239)]=_0xe13526,_0x3f103d['ResetPivotFieldsConfigCommand']=_0x1233d5,_0x3f103d[_0xce9d13(0x353)]=_0x40f559,_0x3f103d[_0xce9d13(0x1c5)]=_0x3349fa,_0x3f103d['SetPivotCollapseCommand']=_0x18e35d,_0x3f103d[_0xce9d13(0x3b7)]=_0x26968f,_0x3f103d[_0xce9d13(0x294)]=_0x185e26,_0x3f103d['SetPivotFieldsConfigCommand']=_0x184776,_0x3f103d[_0xce9d13(0x312)]=_0x36759d,_0x3f103d['SetPivotFilterMutation']=_0x136461,_0x3f103d[_0xce9d13(0x3af)]=_0x28c1a1,_0x3f103d['SetPivotPositionMutation']=_0xad4dfc,_0x3f103d[_0xce9d13(0x12d)]=_0x217018,_0x3f103d[_0xce9d13(0x36b)]=_0x1d6d2d,_0x3f103d[_0xce9d13(0x134)]=_0x17951c,_0x3f103d[_0xce9d13(0x37c)]=_0x11732b,_0x3f103d[_0xce9d13(0x329)]=_0x2095c3,_0x3f103d[_0xce9d13(0x1c0)]=_0x102304,_0x3f103d[_0xce9d13(0x288)]=_0x25467a,_0x3f103d[_0xce9d13(0x117)]=_0x4e7693,_0x3f103d[_0xce9d13(0x23a)]=_0x27fdf0,_0x3f103d[_0xce9d13(0x21c)]=_0x591129,_0x3f103d[_0xce9d13(0xce)]=_0x16d8a9,_0x3f103d[_0xce9d13(0xec)]=_0x37b4b7,_0x3f103d[_0xce9d13(0xf0)]=_0x4551f6,_0x3f103d[_0xce9d13(0x3bf)]=_0x17d713,_0x3f103d['canUsePivot']=_0x2805cb,_0x3f103d[_0xce9d13(0x313)]=_0x401a48,_0x3f103d[_0xce9d13(0x2bf)]=_0x304ef9,_0x3f103d[_0xce9d13(0x101)]=_0x389d38,_0x3f103d['getEmptyPivotRanges']=_0x22ecd3,_0x3f103d[_0xce9d13(0xd9)]=_0x75a5bb,_0x3f103d[_0xce9d13(0xee)]=_0x157597,_0x3f103d[_0xce9d13(0x1de)]=_0x167328,_0x3f103d[_0xce9d13(0x2de)]=_0x29a59c,_0x3f103d[_0xce9d13(0x34f)]=_0x51e53c,_0x3f103d[_0xce9d13(0x358)]=_0x21a738,_0x3f103d['unionPivotViewRange']=_0xa6fa5e,Object[_0xce9d13(0x1c4)](_0x3f103d,Symbol['toStringTag'],{'value':_0xce9d13(0x163)});}));function _0x47d5(_0x5820e8,_0x45fd7a){const _0x393598=_0x3935();return _0x47d5=function(_0x47d5a2,_0x76f798){_0x47d5a2=_0x47d5a2-0xc4;let _0x4e01ba=_0x393598[_0x47d5a2];return _0x4e01ba;},_0x47d5(_0x5820e8,_0x45fd7a);}function _0x3935(){const _0x49f417=['sortInfo','concat','isFeatureAuthorizedWithinTime','fromJSON','sheets-pivot.dateGroup.yearQuarter','getCurrentUnitForType','SetValueFilter','_queryingMap','getRangeKey','SetPivotValueFilterMutation','subscribe','bind','colRanges','CellValueType','Year','sheet.mutation.set-pivot-option','getMatrixValue','BLANK_PLACEHOLDER','getOriginFieldId','colInfo','getFilterFieldIdByIndex','_featureCalculationManagerService','removePivotTable','4684296uSfmcd','sheet.mutation.add-pivot-field','addField','setPivotInitCompleted','pivotTableId','numfmt','rowStyle','Disposable','PivotMultipleValueId','pushUndoRedo','subtotal','getPivotItemRenderInfoCache','@univerjs/core','triggerDirtyFeature','updateConfigCache','getPivotTableInstance','MonthDate','MovePivotTableCommand','DIV_BY_ZERO','endRow','updatePivotTableMatrixInfo','_initConfig','Value','_sheetInterceptorService','getPivotTableInfo','floor','DrillDown','getSheetCommandTarget','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','sheets-pivot.cellDateGroupDisplay.yearMonthDate','registerPluginResource','refreshData','realDeleteValue','transFromCellValue','pivotMutationGenerate','setValueFilterInfo','setPivotSort','NotNumber','updateValuePosition','Existing','Hour','deleteDataField','dataFieldId','Expand','toJSON','value','Collapse','getGroupFieldsInfoByIds','SetPivotFilter','getSubUnitPivotRenderCache','Set','iterateFieldByArea','SetPivotSortMutation','subUnitId','filter','random','sheet.command.update-date-group','Div0','onCommandExecuted','setDateType','min','push','getColCount','_model','Values','getTypeOfUnitDisposed$','handleSourceRangeChange','cornerInfo','colHeaderMap','SetPivotValueFilterCommand','getRefRangeMutationsByMoveRange','isColMultiMeasure','_injector','_sheetsPivotTableAdaptorModel','Plugin','getValueIndex','getTableFieldById','Style','_initPivotDataGetListener','getOwnPropertyDescriptor','_resourceManagerService','merge','adjustSheetCellData','number','unshift','removeCollections','setSortInfo','remove','SetPivotSort','updateCollectionConfig','getFormat','length','_ensurePivotItemRenderInfoCache','_globalSubject','@univerjs/sheets','initDataRanges','@univerjs/engine-formula','prototype','UpdatePivotSource','iterateField','pageStyle','4iyYikJ','filterId','setValue','SetWorksheetColWidthMutation','SetOptions','_textInfo','Max\x20of\x20','sheets-pivot.subTotal','width','PivotCallbackEnum','sheets-pivot.blank','getColumnWidth','clearRenderCache','_getAutoName','getSheetId','getDataFieldByTableId','collectionChange$','handleMoveRange','fieldId','SetPivotOptionMutation','UniverProEnginePivot','#eceeff','updateView','MoveRangeMutation','sheet.command.add-pivot-table-with-config','map','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','SetPivotCollapseMutation','HourMinute','sheets-pivot.grandTotal','UniverRpc','IFeatureCalculationManagerService','getUpdateRangeDeleteIds','getSourceName','_createExclusiveRange','applyChangeSet','RemovePivotTableMutation','result','removePivotField','some','Month','getDate','register','DEFAULT_WORKSHEET_ROW_COUNT','getAutoDisplayNameFunction','2894375SVHbeK','GlobalComputingStatusService','endCollectChangeset','ptn','removeDataField','token','fieldsCollectionChange$','getPivotTableRangeInfo','values','sheets-pivot.emptyPivot.values','pivotTableIndexConfig','sheet.mutation.remove-group-collection','range','fetchThroughInterceptors','FontCache','_refRangeHandle','ManualFilter','intersects','getConfig','_config','_exclusiveRangeService','sheets-pivot.minName','info','Optional','getFieldFormat','UpdatePivotTableSourceRangeMutation','getMatrix','MovePivotField','format','sheets-pivot.emptyPivot.column','cellToRange','COLUMN','UniverSheetsFilter','count','updateFieldSourceInfo','rgb(240,241,243)','getFieldListByArea','interceptor','9ibfHsS','_refRangeService','None','displayName','IExclusiveRangeService','numberToABC','stringify','PivotDisplayDataType','update','dateGroupField','getLastCol','PivotFilterTypeEnum','addCollection','getName','AddPivotTableWithConfig','PivotView','Range','UpdatePivotValuePositionCommand','generateMutationsByRanges','getInsertRowColMutations','sheet.mutation.remove-pivot-table','UpdateValuePositionMutation','broadcastCollectionChange','getNoUsedDataFieldIds','sheets-pivot.stdDevName','startCollectChangeset','getFieldPositionInfoById','registerDirtyService','forEach','getAutoFitColumnsMutations','ErrorType','isValue','col','toString','RANGE_TYPE','dispose','getSubUnitPivotConfigs','sheets-pivot.dateGroup.hourMinute','getAdjustRangesPosition','pageRanges','_collectionConfigModel','existing','YearQuarter','sheet.mutation.set-pivot-sort-info','createValueField','MAX_SAFE_INTEGER','iterateFieldDim','IActiveDirtyManagerService','getStyles','refreshDataField','sheet.operation.pivot-table-view-formula-mark-dirty','sheet.mutation.set-pivot-value-filter','unitId','LocaleService','sheets-pivot.value','rgb(255,255,255)','from','UpdateFieldPosition','73024WwlhGM','sheets-pivot.cellDateGroupDisplay.quarter','UpdatePivotFieldSettingCommand','headerMap','GrandTotal','\x20-\x20','contains','_host','IUndoRedoService','getDisplayName','formJSON','RemoveRowMutation','updateViewData','IConfigService','type','sheets-pivot.dateGroup.date','setCollapse','DisposableCollection','forRow','_fieldsCollectionChange$','_activeDirtyManagerService','uniqueDataFieldName','RemoveSheetCommand','custom','SetPivotSortCommand','rowRanges','dataFieldManagerConfig','RemoveSheetMutation','setPivotCollapse','#1d32e9','getValueFilterInfos','SetPivotSubtotalTypeMutation','DateGroupField','keys','handleAsyncResponse','message','rangeType','AsyncInterceptorManager','addRecord','_updateModelCache','AddPivotField','getValuePosition','sheets-pivot.dateGroup.yearMonth','Column','FieldsCollection','fieldsConfig','sheets-pivot.sumName','generateNewSheetName','SheetInterceptorService','sheets.tabs.sheet','_globalComputedEndHelpFunc','YearMonth','sheet.mutation.remove-pivot-field','1669806dCNEMY','addDataFieldWithoutUnitInfo','PivotSubtotalTypeEnum','excelDateToUnixMilliseconds','setPivotTableConfig','error','getValue','call','sheet.command.set-pivot-sort','setSubtotalType','workbook\x20is\x20not\x20found','oldRangeInfo','InsertRowMutation','sheet.mutation.set-pivot-field-subtotal-type','IResourceManagerService','get','isNaN','createInterceptorKey','PivotTableChangeTypeEnum','forValue','_updatePivotTableInstanceCache','Minute','name','updateDataFieldsCollection','CELL_CONTENT','Module','getFieldIds','#e6ebfb','fontRenderExtension','1658274nkCAJk','_pivotInitCompleted$','getAutoDisplayName','setFieldFormat','dataFields','@univerjs/rpc','reduce','_subjectCollectionChange','Subtotal','getViewData','executeCommand','getCurrentSelections','Total','cornerRanges','IUniverInstanceService','addPivotTable','SheetsPivotRPCService','RemovePivotFieldMutation','getTextInfo','colStyle','updateViewInfo','_initDataSendListener','mergeWorksheetSnapshotWithDefault','_initSnapshot','sideEffectUpdateWorkerCache','BLANK_ROW_COUNT','_localeService','getFilterInfo','AddPivotTableCommand','updateAllDisplayName','7Vq2hjwq\x20Ry2tnAhjwq(6j2yqXy,\x20AVf6j24yn)\x20{\x20\x20\x20\x20htn\x20{\x20\x20\x20\x20\x20\x20\x20\x202wqXh\x206j2yqXyKq7wZEthottEn\x20=\x206j2yqXy.XA6jh(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x202wqXh\x20wtjzjqLyXXEzy\x20=\x20eNdP.AEtXy(Ehwf(6j2yqXyKq7wZEthottEn[l]));\x20\x20\x20\x20\x20\x20\x20\x20j7\x20(!wtjzjqLyXXEzy.VR)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wtjzjqLyXXEzy.VR\x20=\x20PVSfyt(6j2yqXyKq7wZEthottEn[u]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x202wqXh\x20jXmwtJyt\x20=\x20hnAyw7\x20mwtJytp6wfE6N2wAy\x20!==\x20\x27VqRy7jqyR\x27\x20&&\x20Xy67\x20jqXhEq2yw7\x20mwtJytp6wfE6N2wAy;\x20\x20\x20\x20\x20\x20\x20\x202wqXh\x202wqhy1h\x20=\x20jXmwtJyt\x20?\x20Xy67\x20:\x20WjqRwW;\x20\x20\x20\x20\x20\x20\x20\x202wqXh\x20SyXXEzymwtR\x20=\x202wqhy1h.__vEXy9u__.AEtXy(6j2yqXyKq7wZEthottEn[l]);\x20\x20\x20\x20\x20\x20\x20\x202wqXh\x20SyXXEzy\x20=\x202wqhy1h.__sy1__.Xhtjqzj7n(SyXXEzymwtR);\x20\x20\x20\x20\x20\x20\x20\x202wqXh\x20XjzqEhVtymwtR\x20=\x202wqhy1h.__vEXy9u__.AEtXy(6j2yqXyKq7wZEthottEn[Q]);\x20\x20\x20\x20\x20\x20\x20\x202wqXh\x20XjzqEhVty\x20=\x202wqhy1h.__sy1__.Xhtjqzj7n(XjzqEhVtymwtR);\x20\x20\x20\x20\x20\x20\x20\x202wqXh\x20XjzqxE6jR\x20=\x202wqhy1h.__Fytj7n__(XjzqEhVty,\x20SyXXEzy,\x20AVf6j24yn);\x20\x20\x20\x20\x20\x20\x20\x202wqXh\x20RwSEjq\x20=\x20wtjzjqLyXXEzy.RS;\x20\x20\x20\x20\x20\x20\x20\x207Vq2hjwq\x20jXOwSEjqLEh2Yjqz(wZEhhytq,\x20wswXh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202wqXh\x20AEhhytq\x20=\x20wZEhhytq.tyA6E2y(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202wqXh\x20YwXh\x20=\x20wswXh.tyA6E2y(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202wqXh\x20AEhhytqZEthX\x20=\x20AEhhytq.XA6jh(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202wqXh\x20YwXhZEthX\x20=\x20YwXh.XA6jh(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20j7\x20(!AEhhytq.jq26VRyX(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tyhVtq\x20AEhhytq\x20===\x20YwXh;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20j7\x20(AEhhytqZEthX.6yqzhY\x20<\x20l\x20||\x20AEhhytqZEthX[k]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tyhVtq\x207E6Xy;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202wqXh\x20AEhhytqNV77j1\x20=\x20AEhhytqZEthX.X6j2y(3).Gwjq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202wqXh\x20YwXhNV77j1\x20=\x20YwXhZEthX.X6j2y(-AEhhytqZEthX.6yqzhY\x20+\x203).Gwjq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tyhVtq\x20AEhhytqNV77j1\x20===\x20YwXhNV77j1;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x206yh\x20RwSEjqxE6jR\x20=\x20(RwSEjq\x20&&\x20RwSEjq.6yqzhY)\x20?\x20RwSEjq.XwSy((RSKhyS)\x20=>\x20jXOwSEjqLEh2Yjqz(RSKhyS,\x206w2Ehjwq.YwXhqESy))\x20:\x20htVy;\x20\x20\x20\x20\x20\x20\x20\x20j7\x20(6w2Ehjwq.YwXhqESy\x20===\x20\x276w2E6YwXh\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RwSEjqxE6jR\x20=\x20htVy;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x202wqXh\x20FE6jR\x20=\x20XjzqxE6jR\x20&&\x20RwSEjqxE6jR;\x20\x20\x20\x20\x20\x20\x20\x20tyhVtq\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FE6jR,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SyXXEzy:\x20wtjzjqLyXXEzy,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x202Eh2Y\x20(yttwt)\x20{\x20\x20\x20\x20\x20\x20\x20\x20tyhVtq\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FE6jR:\x207E6Xy,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SyXXEzy:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','viewData$','removeValueFilterInfo','getSubtotal','BehaviorSubject','PivotCellStyleTypeEnum','Rectangle','getUnit','sequenceExecute','deepClone','sheets-pivot.dateGroup.month','#b2b2b2','_markDirty$','sheet.mutation.set-pivot-filter','max','Date','grandTotal','_viewData','_updateRenderEmptyCache','disposableCollection','sheet.mutation.send-pivot-data-local','PIVOT_MUTATION_GENERATE','SheetsPivotTableAdaptorModel','registerRefRange','Row','serializeRangeWithSpreadsheet','DataFieldManager','LS_CONFIG_KEY','collapseInfo','_commandService','sum','DEFAULT_WORKSHEET_COLUMN_COUNT','Quarter','rangeKey','_initViewModelBySheetInterceptor','addFieldWithSourceId','isDateValue','updateDirtyPivotTable','createLabelField','PivotErrorTypeEnum','removeSourceRangeChange','set','sheet.command.move-pivot-field','string','slice','sheet.mutation.update-pivot-table-source-range','getFieldById','amd','424scANSt','document','oldMatrix','interceptCommand','renameField','new','asObservable','matrix','pivotTableConfigs','getCellMatrix','updateRenderCache','UpdateDateGroupCommand','isBottomTotal','_subjectFieldsCollectionChange','ObjectMatrix','defineProperty','SHEET_PIVOT_TABLE_PLUGIN','UniverInstanceType','@univerjs/engine-render','subTotalStyle','PivotTableValuePositionEnum','getMonth','COMMAND','sheet.command.set-pivot-value-filter','getFullYear','UniverEngineRender','CustomCommandExecutionError','_pivotRenderValueMatrixCache','onStarting','ΣValue','rowCount','getPivotTableMatrixInfo','_configVersion$','_lifecycleService','panel','resetPivotTable','onQueryEnd','UNIVER_SHEET','getIntersects','registerCommand','removeField','getPivotCellInfo','sheets-pivot.dateGroup.year','query','_pivotTableInstanceCache','New','sheet.command.set-pivot-fields-config','getformat','rowFields','getDataFieldItemInfo','sheets-pivot.emptyPivot.filter','_pivotRenderInfoCache','rowInfo','_generateUniqueVersion','includes','updateRangeKeyMap','dimension','addPivotField','pbt','_pivotConfigChange$','NORMAL','getDataFieldManager','@univerjs-pro/engine-pivot','clearExclusiveRangesByGroupId','sheet.command.update-pivot-value-position','sheet.command.set-pivot-field-setting','deleteUnitId','getPivotTableCellData','removeCollectionImp','_initRemoveSheetCommandInterceptor','NO_COMMERCIAL','isDate','SheetsPivotTableConfigModel','SetCollapse','sheets-pivot.cellDateGroupDisplay.hourMinute','targetCellInfo','_deletePivotTableInstanceCache','rangesInfo','getId','sheets-pivot.varpName','redos','colCount','InsertColMutation','getInterceptPoints','movePivotField','_sheetsSelectionsService','getFormatInfo','SetWorksheetActiveOperation','data','valid','Delete','hasOwnProperty','valueIndex','unshiftString','add','tableFieldId','_onRefRangeChange','SetValuePivotFilter','PivotTableFiledAreaEnum','node','rangeKeyMap','PivotDataFieldDataTypeEnum','sheets-pivot.maxName','UpdatePivotTableSourceRangeCommand','rowHeaderMap','registerCallbackWithEvent','measure','_pivotTableMatrixInfo','sheets-pivot.dateGroup.minute','valuePosition','PivotTableViewDirtyMarkOperation','InsertSheetCommand','isErrorValue','getDataFieldByRangeKey','size','Varp\x20of\x20','_ensurePivotTableMatrixInfo','_sheetsPivotDataSourceModel','Subject','reset','NUMBER','has','_sheetsPivotTableService','sheet.mutation.add-group-collection','addDirtyPivotTable','setLabelFilterInfo','setConfig','setSourceName','sheets-pivot.columnName','Tools','_requestResolvers','STRING','RenamePivotFieldMutation','UpdatePivotFieldSourceInfoMutation','level','valueFilter','symbol','MUTATION','generateRandomId','FORCE_STRING','InterceptorEffectEnum','(Blank)','sourceRangeInfo','cornerStyle','markDirty$','_initRegisterCommand','SetFilterInfo','@univerjs/sheets-filter','limit\x20pivot','version','column','SetPivotTableConfig','MoveRangeCommand','sheet.command.move-pivot-table','_subjectViewChange','pivotInitCompleted$','updatePivotSource','hasField','AddPivotTableWithConfigCommand','Add','SheetsPivotDataSourceModel','setRangeKeyMap','getPivotPerformCheck','getColumnCount','MovePivotFieldCommand','12184030XHiTaD','_pivotTableRangeInfo','endColumn','ClearSelectionAllCommand','sheet.command.pivot-drill-down','sheetName','SetPivotCollapse','stdDev','sheets-pivot.config','PivotViewCellValueTypeEnum','getSubUnitPivotMatrix','_initClearSelectionCommandInterceptor','setValuePivotFilter','getTextSize','_globalComputedStartHelpFunc','InsertSheetMutation','_univerInstanceService','isArray','Injector','setTextInfo','find','registerSyncingMutations','options','sheets-pivot.stdDevpName','originalFieldId','isEmpty','isDateGroupFieldJSON','fetchThroughAsyncInterceptors','updateConfig','AddPivotTable','object','_toJSON','_ensureViewDataMap','1156438kYMckV','_viewData$','areaInfo','Grand\x20Total','refreshGroupField','sheet.command.update-pivot-table-source-range','rxjs','SheetsPivotTableService','getTargetByPivotId','getSheetBySheetId','DEFAULT_PIVOT_NUMBER','collectionConfig','NAME','UpdateFieldPositionMutation','RemovePivotField','getTargetByPivotTableId','getDataFieldId','Count\x20of\x20','_ensurePivotItemRenderValueMatrixCache','_initCommandInterceptListener','ResetPivotTable','ICommandService','SetSortInfo','getPivotTableConfig','Filter','SetPivotFieldFormatMutation','_sheetsPivotTableConfigModel','pivotPerformCheck','SetPivotSetting','single','row','_initLocale','notExecuteFormula','params','body','collection','startColumn','_configService','addCollectionByJSON','sheets-pivot.cellDateGroupDisplay.date','_initUnitDisposed','Column\x20','setPivotFilter','_viewUpdate$','CommandType','collections','sheet.mutation.add-pivot-table','parse','PivotDateGroupFieldDateTypeEnum','YearMonthDate','columnFields','AddPivotFieldMutation','getFontStyleString','undos','entries','isBaseGroupField','setPivotSetting','createCollectionWithDataRange','textInfo','dateType','RenameField','getCellRaw','dataFieldsCollection','queryDirtyPivotTable','_dataSyncPrimaryController','sheet.command.reset-pivot-fields-config','next','RemoveSheetsFilterMutation','generateSetRangeValueMutations','originTargetInfo','asyncInterceptor','RemoveField','getUnitId','SHEET_PIVOT_IN_MAIN_THREAD','filterInfo','getDirtyInfo','pushComputingStatusSubject','_dataFieldManagerCollection','sheets-pivot.cellDateGroupDisplay.minute','sheet.mutation.update-date-group','getPivotDisplayConfig','sheets-pivot.cellDateGroupDisplay.month','updatePivotTableRangeInfo','resetArea','getHeaderMapItem','fieldIds','Var\x20of\x20','setPivotTable','getPivotDirtyViewInfo','markDirty','disposeWithMe','setDirty','sheets-pivot.averageName','lastRow','fields','sheets-pivot.dateGroup.hour','Average\x20of\x20','_init','deleteField','getPivotInfoByLicense','getRangeStartEndInfo','getSheets','#FFFFFF','UpdateValuePosition','_deleteModelCache','getRangeData','AddField','Inject','getSortInfo','_globalComputingSrv','getActiveSheet','sheets-pivot.emptyPivot.row','delete','return\x20','_sheetsPivotRpcService','NotFunction','setDataRecordCount','onQueryStart','generateHexNumber','SheetsSelectionsService','ClearSelectionContentCommand','needSameDeleteModel','startRow','getRowCount','getCollection','countNums','_ensurePivotMap','batch','getRangeKeyList','filterFields','createAsyncInterceptorKey','blank','InsertSheetUndoMutationFactory','PivotTable','addPivotTableWithConfig','_getPivotAppliedRanges','_initGlobalComputed','PositionType','_initPivotTextInfo','SetRangeValuesMutation','getSheetBySheetName','sourceName','getLastRow','splice','DataSyncPrimaryController','paths','sheet.mutation.rename-pivot-field','_ensurePivotTableRangeInfo','sheet.mutation.pivot-update-value-position','getPivotTableModelConfig','tuple','SetPivotFilterCommand','defaultThemeStyle','getFieldDataType','getFieldCountByArea','UniverSheetsPivotTablePlugin','drillDown','versions','setRangeValueUndoMutation','#f4f4f5','shouldClear','updateFieldPosition','getPivotTableIdByCell','REF','getDataFieldByDataFieldId'];_0x3935=function(){return _0x49f417;};return _0x3935();}