@univerjs-pro/sheets-pivot 0.10.14-nightly.202511031023 → 0.10.14-nightly.202511070628
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +39 -39
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2751(){const _0xf1dcaa=['intercept','formJSON','InsertColMutation','Style','UpdatePivotSource','pivotTableIndexConfig','iterateFieldByArea','rangeKey','_subjectCollectionChange','countNums','sheet.command.add-pivot-field','rangeType','getEmptyPivotRanges','next','getRangeKeyList','_localeService','set','getUpdateRangeDeleteIds','addDirtyPivotTable','fontRenderExtension','getColumnCount','DateGroupField','_sheetsPivotTableConfigModel','InsertSheetMutation','getColCount','setRangeValueUndoMutation','UniverProEnginePivot','message','_univerInstanceService','#b2b2b2','Max\x20of\x20','getGroupFieldsInfoByIds','UniverCore','generateRandomId','SheetInterceptorService','sheets-pivot.stdDevpName','NO_COMMERCIAL','colRanges','collections','setValue','GrandTotal','_initLocale','createAsyncInterceptorKey','markDirty','fieldId','_init','_updateModelCache','count','fetchThroughAsyncInterceptors','sheet.command.add-pivot-table','SheetsPivotTableConfigModel','getSubUnitPivotRenderCache','sheets-pivot.cellDateGroupDisplay.hourMinute','Collapse','numberToABC','NUM','updateConfigCache','amd','sheet.mutation.rename-pivot-field','getPivotDirtyViewInfo','ptn','sheet.mutation.pivot-update-field-position','getFieldFormat','value','getCellRaw','getPivotTableRangeInfo','AddPivotTableMutation','deleteUnitId','SetPivotCollapse','setValueFilterInfo','isDate','PivotFilterTypeEnum','SetPivotFilterCommand','resetArea','MUTATION','fields','getFieldCountByArea','Varp\x20of\x20','_injector','Average\x20of\x20','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','reduce','sourceRangeInfo','blank','getTargetByPivotId','realDeleteValue','UniverSheetsFilter','BLANK_PLACEHOLDER','AddPivotTable','getValueIndex','sheets-pivot.dateGroup.yearMonth','DEFAULT_WORKSHEET_COLUMN_COUNT','row','IResourceManagerService','queryDirtyPivotTable','isDateValue','updateDirtyPivotTable','updateDataFieldsCollection','Disposable','getTextInfo','_getPivotAppliedRanges','_resourceManagerService','UpdatePivotTableSourceRangeMutation','handleMoveRange','setDateType','asyncInterceptor','sheet.mutation.set-pivot-option','handleAsyncResponse','IUniverInstanceService','setPivotFilter','object','symbol','ErrorType','MoveRangeMutation','getDataFieldByDataFieldId','getAutoDisplayNameFunction','PivotViewCellValueTypeEnum','sheet.command.set-pivot-sort','updateConfig','sheets-pivot.emptyPivot.filter','PivotErrorTypeEnum','getAutoDisplayName','PivotView','startColumn','PivotTable','fromJSON','body','ResetPivotFieldsConfigCommand','notExecuteFormula','options','_markDirty$','StdDev\x20of\x20','getFilterInfo','_ensureViewDataMap','NotName','_dataSyncPrimaryController','max','canUsePivot','BehaviorSubject','Month','add','sheet.command.update-date-group','getSortInfo','YearMonthDate','type','Tools','UniverSheetsPivotTablePlugin','startCollectChangeset','pivotTableId','_initViewModelBySheetInterceptor','PivotDataFieldTypeEnum','InsertSheetCommand','getRangeKey','Var\x20of\x20','SheetsPivotTableService','@univerjs/sheets-filter','SetPivotValueFilterCommand','_collectionChange$','clearRenderCache','SetPivotSubtotalTypeMutation','stringify','valueIndex','AddPivotTableWithConfig','sheet.mutation.add-pivot-table','_initPivotTextInfo','registerSyncingMutations','Min\x20of\x20','sheets-pivot.countName','CommandType','MovePivotTableCommand','SetRangeValuesUndoMutationFactory','sheets-pivot.cellDateGroupDisplay.yearQuarter','sheets-pivot.varName','getFieldIds','_ensurePivotItemRenderInfoCache','Value','get','iterateFieldDim','NAME','getFilterFieldIdByIndex','sheet.mutation.set-pivot-collapse','RenamePivotFieldMutation','New','getSheetBySheetId','setSubtotalType','viewUpdate$','registerCallbackWithEvent','Minute','grandTotal','getPivotTableInstance','SetFilterInfo','setDataRecordCount','fieldsCollectionChange$','addPivotField','width','rowRanges','string','AddPivotTableWithConfigCommand','SetPivotSetting','dataRangeInfo','BadReference','sheet.mutation.add-pivot-field','HourMinute','rowHeaderMap','setDirty','disposeWithMe','AddPivotField','parseInt','getPivotTableInfo','unionPivotViewRange','MAX_SAFE_INTEGER','IConfigService','sheets-pivot.cellDateGroupDisplay.year','getFieldInfo','UniverInstanceType','Values','endColumn','generateHexNumber','setPivotSort','NUMBER','colCount','isColMultiMeasure','DataFieldManager','paths','_sheetsSelectionsService','getRefRangeMutationsByMoveRange','setRange','error','_initRegisterCommand','getFieldPositionInfoById','_globalComputingSrv','valueFields','UniverProSheetsPivot','getSheetCommandTarget','setPivotCollapse','Add','isValue','sheet.command.add-pivot-table-with-config','reset','pluginName','deleteField','isErrorValue','prototype','collection','panel','SheetsPivotDataSourceModel','PivotMultipleValueId','asObservable','getViewData','shouldClear','sheets.tabs.sheet','valueFilter','generateNewSheetName','refreshGroupField','SHEET_PIVOT_IN_MAIN_THREAD','Column','_globalSubject','updateViewData','_sheetsPivotTableService','(Blank)','getRowCount','collapseInfo','sheets-pivot.maxName','sortInfo','getPivotCellInfo','RemovePivotTableMutation','colInfo','PivotSubtotalTypeEnum','getRangeStartEndInfo','new','addField','rangesInfo','StdDevp\x20of\x20','map','_updateRenderEmptyCache','_initGlobalComputed','function','_initUnitDisposed','floor','SHEET_PIVOT_EXCLUSIVE_ID','split','_deleteModelCache','removeCollectionImp','UpdateFieldPositionMutation','numfmt','getFieldDataType','initDataRanges','batch','NORMAL','_queryingMap','UpdatePivotFieldSettingCommand','filterId','Set','Subject','getCurrentUnitForType','rowInfo','disposableCollection','Quarter','hasField','_pivotConfigChange$','cellValue','RemovePivotField','getFieldById','REF','DEFAULT_PIVOT_NUMBER','Inject','format','endRow','FieldsCollection','sheets-pivot.other','getDataFieldId','_pivotTableMatrixInfo','UpdateDateGroupCommand','sheet.command.update-pivot-table-source-range','PivotTableValuePositionEnum','PositionType','sheet.mutation.set-pivot-field-subtotal-type','unitId','PivotDisplayDataType','textInfo','displayName','getTextSize','14kbPXgx','parse','values','addPivotTable','name','adjustSheetCellData','_viewData','getLastCol','range','sheets-pivot.sumName','MIN_SAFE_INTEGER','Existing','interceptor','isFeatureAuthorizedWithinTime','sheets-pivot.value','_initPivotDataGetListener','sheet.command.reset-pivot-fields-config','getSourceName','_generateUniqueVersion','areaInfo','PivotTableViewDirtyMarkOperation','DrillDown','defaultThemeStyle','unshift','registerRefRange','defineProperty','sheet.mutation.set-pivot-position','236984COsDqj','sheets-pivot.dateGroup.yearQuarter','_refRangeService','sheetName','PivotDrillDownCommand','Column\x20','column','UpdateSource','DependentOn','setFieldFormat','_viewUpdate$','addCollectionByJSON','getName','deleteDataField','_toJSON','sheet.operation.pivot-table-view-formula-mark-dirty','intersects','getFullYear','getStyles','SetPivotFieldFormatMutation','UpdateValuePosition','DataSyncPrimaryController','removeSourceRangeChange','subtotal','InsertSheetUndoMutationFactory','Grand\x20Total','sheet.command.set-pivot-value-filter','keys','filter','_pivotTableInstanceCache','setPivotSetting','getSubUnitPivotConfigs','1006640lYFBtV','data','DEFAULT_WORKSHEET_ROW_COUNT','concat','level','updateRangeKeyMap','sheets-pivot.cellDateGroupDisplay.quarter','_ensurePivotMap','generateMutationsByRanges','refreshDataField','originTargetInfo','getTableFieldById','RenameField','unshiftString','Plugin','GlobalConfig','PivotDateGroupFieldDateTypeEnum','sheet.mutation.set-pivot-format','RemovePivotFieldMutation','document','drillDown','DIV_BY_ZERO','from','_initCommandInterceptListener','getMonth','filterInfo','clearExclusiveRangesByGroupId','_exclusiveRangeService','average','dimension','substring','removeValueFilterInfo','sheet.mutation.set-pivot-sort-info','excelDateToUnixMilliseconds','rowStyle','bind','239034ocgrde','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','_initRemoveSheetCommandInterceptor','getDataFieldByRangeKey','CellValueType','pbt','delete','63mSfTOj','setPivotInitCompleted','getInsertRowColMutations','_config','_activeDirtyManagerService','addDataFieldWithoutUnitInfo','_initSnapshot','addExclusiveRange','#1d32e9','pivotInitCompleted$','getMatrixValue','min','sheets-pivot.cellDateGroupDisplay.minute','RemoveRowMutation','rangeCache','sheets-pivot.columnName','startRow','subUnitId','PivotTableFiledAreaEnum','createInterceptorKey','getDataFieldBySourceName','dataFieldManagerConfig','getAutoFitColumnsMutations','forEach','isBottomTotal','onQueryStart','sum','getPivotTableIdByCell','SetPivotSort','removePivotTable','IUndoRedoService','setLabelFilterInfo','SheetsPivotTableAdaptorModel','getUnit','collectionChange$','sheet.mutation.send-init-pivot-text-local','result','ResetPivotTable','isDateGroupFieldJSON','getSheetBySheetName','#e6ebfa','updatePivotTableRangeInfo','sheet.command.set-pivot-filter','SetPivotCollapseMutation','Subtotal','updatePivotSource','dataFields','sheet.command.move-pivot-field','onQueryEnd','\x20-\x20','sheets-pivot.dateGroup.date','getIntersects','getPivotTableCellData','SetPivotOptionMutation','NotFunction','_lifecycleService','subscribe','query','sheets-pivot.cellDateGroupDisplay.hour','IExclusiveRangeService','setSourceName','_sheetsPivotTableAdaptorModel','_configVersion$','FORCE_STRING','SetPivotTableConfig','GlobalComputingStatusService','UpdatePivotTableSourceRangeCommand','pushUndoRedo','getSubtotal','_featureCalculationManagerService','getDataFieldByTableId','_subjectFieldsCollectionChange','updateAllDisplayName','SetValuePivotFilter','registerDirtyService','custom','collectionConfig','Injector','Expand','setTextInfo','dispose','PivotDataFieldDataTypeEnum','RemoveSheetMutation','getMatrixFromRunTimeData','_globalComputedStartHelpFunc','removeField','ΣValue','forValue','Delete','getTypeOfUnitDisposed$','MovePivotFieldCommand','Rectangle','find','sheets-pivot.countNumsName','sheets-pivot.cellDateGroupDisplay.yearMonth','sheets-pivot.dateGroup.hour','refreshData','InterceptorEffectEnum','workbook\x20is\x20not\x20found','YearQuarter','PivotTableChangeTypeEnum','STRING','isBaseGroupField','tableFieldId','endCollectChangeset','_dataFieldManagerCollection','remove','removePivotField','Hour','getCurrentSelections','addRecord','getDisplayName','CustomCommandExecutionError','InsertRowMutation','Panel','sequenceExecute','getCellMatrix','col','includes','sheets-pivot.blank','cornerRanges','addFieldWithSourceId','UNIVER_SHEET','updateView','AddPivotTableCommand','pageRanges','FontCache','pivotTableConfigs','versions','valuePosition','isArray','sheet.mutation.set-pivot-value-filter','matrix','YearMonth','sheets-pivot.stdDevName','_textInfo','number','_pivotTableRangeInfo','getLastRow','rangeKeyMap','RemoveColMutation','info','_viewData$','version','UniverProLicense','@univerjs-pro/engine-pivot','random','getUnitId','getCollection','sheets-pivot.emptyPivot.row','getActiveSheet','#e6ebfb','UniverRpc','Div0','registerPluginResource','isText','getSheetId','hasOwnProperty','COMMAND','setCollapse','#eceeff','UniverEngineFormula','_subjectViewChange','Filter','ManualFilter','ReleaseType','rxjs','updateCollectionConfig','splice','sheets-pivot.cellDateGroupDisplay.month','updatePivotTableMatrixInfo','broadcastCollectionChange','createLabelField','_initClearSelectionCommandInterceptor','getValuePosition','toJSON','sheets-pivot.subTotal','LocaleService','triggerDirtyFeature','ICommandService','LS_CONFIG_KEY','fieldsConfig','movePivotField','_pivotInitCompleted$','_ensurePivotTableMatrixInfo','other','getPivotTableMatrixInfo','_getAutoName','some','mergeWorksheetSnapshotWithDefault','sheet.command.pivot-drill-down','getConfig','register','heCY4fAC\x20T7Y6pS4fAC(wfY7CD7,\x20SeswfY07p)\x20{\x20\x20\x20\x2046p\x20{\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20wfY7CD7KChAV364o663p\x20=\x20wfY7CD7.DSwf4(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20A6fNfC87DD3N7\x20=\x20MjHF.S36D7(34As(wfY7CD7KChAV364o663p[L]));\x20\x20\x20\x20\x20\x20\x20\x20fh\x20(!A6fNfC87DD3N7.eT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20A6fNfC87DD3N7.eT\x20=\x20Fers76(wfY7CD7KChAV364o663p[2]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20fDmA6q76\x20=\x204pS7Ah\x20mA6q76xwAs3wjYAS7\x20!==\x20\x27eCT7hfC7T\x27\x20&&\x20D7wh\x20fCD43CY7Ah\x20mA6q76xwAs3wjYAS7;\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20YAC47G4\x20=\x20fDmA6q76\x20?\x20D7wh\x20:\x20bfCTAb;\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20r7DD3N7mA6T\x20=\x20YAC47G4.__Q3D7U2__.S36D7(wfY7CD7KChAV364o663p[L]);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20r7DD3N7\x20=\x20YAC47G4.__P7G__.D46fCNfhp(r7DD3N7mA6T);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20DfNC34e67mA6T\x20=\x20YAC47G4.__Q3D7U2__.S36D7(wfY7CD7KChAV364o663p[R]);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20DfNC34e67\x20=\x20YAC47G4.__P7G__.D46fCNfhp(DfNC34e67mA6T);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20DfNCt3wfT\x20=\x20YAC47G4.__g76fhp__(DfNC34e67,\x20r7DD3N7,\x20SeswfY07p);\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20TAr3fC\x20=\x20A6fNfC87DD3N7.Tr;\x20\x20\x20\x20\x20\x20\x20\x20heCY4fAC\x20fDaAr3fC834YcfCN(AV34476C,\x20APAD4)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20S34476C\x20=\x20AV34476C.67Sw3Y7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20cAD4\x20=\x20APAD4.67Sw3Y7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20S34476CV364D\x20=\x20S34476C.DSwf4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20cAD4V364D\x20=\x20cAD4.DSwf4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fh\x20(!S34476C.fCYweT7D(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20S34476C\x20===\x20cAD4;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fh\x20(S34476CV364D.w7CN4c\x20<\x20L\x20||\x20S34476CV364D[1]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20h3wD7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20S34476CjehhfG\x20=\x20S34476CV364D.DwfY7(9).IAfC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20cAD4jehhfG\x20=\x20cAD4V364D.DwfY7(-S34476CV364D.w7CN4c\x20+\x209).IAfC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20S34476CjehhfG\x20===\x20cAD4jehhfG;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20w74\x20TAr3fCt3wfT\x20=\x20(TAr3fC\x20&&\x20TAr3fC.w7CN4c)\x20?\x20TAr3fC.DAr7((TrK47r)\x20=>\x20fDaAr3fC834YcfCN(TrK47r,\x20wAY34fAC.cAD4C3r7))\x20:\x2046e7;\x20\x20\x20\x20\x20\x20\x20\x20fh\x20(wAY34fAC.cAD4C3r7\x20===\x20\x27wAY3wcAD4\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TAr3fCt3wfT\x20=\x2046e7;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20YACD4\x20g3wfT\x20=\x20DfNCt3wfT\x20&&\x20TAr3fCt3wfT;\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20g3wfT,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20r7DD3N7:\x20A6fNfC87DD3N7,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20Y34Yc\x20(766A6)\x20{\x20\x20\x20\x20\x20\x20\x20\x20674e6C\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20g3wfT:\x20h3wD7,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20r7DD3N7:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','iterateField','getColumnWidth','@univerjs/rpc','updateValuePosition','getValue','@univerjs/core','removeDataField','SetPivotSortCommand','_onRefRangeChange','getPivotTableModelConfig','dateType','getFormatInfo','product','updateRenderCache','updateFieldPosition','resetPivotTable','contains','PivotCellStyleTypeEnum','_pivotRenderInfoCache','setValuePivotFilter','serializeRangeWithSpreadsheet','AsyncInterceptorManager','#f4f4f5','UpdateValuePositionMutation','sheets-pivot.grandTotal','Count\x20of\x20','needSameDeleteModel','cornerInfo','sheet.command.set-pivot-fields-config','UniverEngineRender','SetWorksheetActiveOperation','ClearSelectionContentCommand','getDate','_initDataSendListener','getPivotItemRenderInfoCache','_model','sheets-pivot.averageName','getDataFieldItemInfo','SheetsPivotRPCService','@univerjs-pro/license','_commandService','_requestResolvers','50060CwAEtP','updateViewInfo','UpdatePivotFieldSourceInfoMutation','getSubUnitPivotMatrix','SetRangeValuesMutation','handleSourceRangeChange','_refRangeHandle','lastCol','_sheetsPivotDataSourceModel','entries','removeCollections','applyChangeSet','1348EwHtbv','PivotCallbackEnum','getDataFieldManager','has','Total','202WoEUXF','deepClone','subTotalStyle','setConfig','SetSubtotalType','getPivotTableConfig','pivotConfigChange$','_sheetInterceptorService','RemoveSheetsFilterMutation','getOwnPropertyDescriptor','Year','slice','dataStyle','getSheetFeatureLimit','76IYkeYN','colStyle','executeCommand','return\x20','_ensurePivotItemRenderValueMatrixCache','removeValueFilterInfoByValueFieldId','getOriginFieldId','_host','SetPivotValueFilterMutation','setSortInfo','getPivotDisplayConfig','Row','rowCount','headerMap','229650kyJNyE','AddPivotFieldMutation','existing','Date','_collectionConfigModel','_fieldsCollectionChange$','dataFieldsCollection','LifecycleService','addPivotTableWithConfig','limit\x20pivot','DisposableCollection','addCollection','SetPivotFilterMutation','viewData$','sheet.command.set-pivot-collapse','getIndexesByPathStr','sourceName','charCodeAt','_sheetsPivotRpcService','onCommandExecuted','PivotTableOperationEnum','RANGE_TYPE','transFromCellValue','rgb(240,241,243)','undos','setRangeValueRedoMutation','getIntersectsPivotTable','replace','_pivotRenderValueMatrixCache','push','Range','oldRangeInfo','setPivotTableConfig','createDataFieldId','isEmpty','var','measure','columnFields','cellToRange','update','sheet.command.move-pivot-table','NotNumber','sheet.mutation.set-pivot-filter','getId','None','date','sheets-pivot.dateGroup.minute','sheets-pivot.cellDateGroupDisplay.yearMonthDate','tuple','rowFields','ObjectMatrix','MovePivotField','getSheets','SetSheetsFilterRangeMutation','sideEffectUpdateWorkerCache','length','IFeatureCalculationManagerService','UniverLicensePlugin','dataFieldId','ClearSelectionAllCommand','lastRow','_deletePivotTableInstanceCache','params','sheets-pivot.minName','getHeaderMapItem','_configService','_initConfig','SetCollapse','forRow','setPivotTable','297610LFGoFw','_createExclusiveRange','sheets-pivot.dateGroup.hourMinute','redos','targetCellInfo','node','updateFieldSourceInfo','uniqueDataFieldName','createCollectionWithDataRange','getPivotInfoByLicense','SetPivotFilter','IActiveDirtyManagerService','renameField','sheets-pivot.emptyPivot.column','colHeaderMap','UpdatePivotValuePositionCommand','size','CELL_CONTENT','DataField','RemovePivotFieldCommand'];_0x2751=function(){return _0xf1dcaa;};return _0x2751();}function _0x57b0(_0x47b775,_0x42b95d){const _0x2751b1=_0x2751();return _0x57b0=function(_0x57b02c,_0x2aa488){_0x57b02c=_0x57b02c-0x66;let _0x2a6b58=_0x2751b1[_0x57b02c];return _0x2a6b58;},_0x57b0(_0x47b775,_0x42b95d);}(function(_0x159e16,_0x47cd80){const _0x24c0fd=_0x57b0,_0x58a64a=_0x159e16();while(!![]){try{const _0x123da2=-parseInt(_0x24c0fd(0x112))/0x1*(-parseInt(_0x24c0fd(0x117))/0x2)+-parseInt(_0x24c0fd(0x133))/0x3+-parseInt(_0x24c0fd(0x125))/0x4*(-parseInt(_0x24c0fd(0x106))/0x5)+parseInt(_0x24c0fd(0x32e))/0x6*(-parseInt(_0x24c0fd(0x2cf))/0x7)+parseInt(_0x24c0fd(0x30a))/0x8+parseInt(_0x24c0fd(0x335))/0x9*(-parseInt(_0x24c0fd(0x179))/0xa)+parseInt(_0x24c0fd(0x2ea))/0xb;if(_0x123da2===_0x47cd80)break;else _0x58a64a['push'](_0x58a64a['shift']());}catch(_0x58fe10){_0x58a64a['push'](_0x58a64a['shift']());}}}(_0x2751,0x1aa8b),function(_0x184cc4,_0x47453a){const _0x5cb196=_0x57b0;typeof exports=='object'&&typeof module<'u'?_0x47453a(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==_0x5cb196(0x2a1)&&define[_0x5cb196(0x1c6)]?define(['exports',_0x5cb196(0xab),_0x5cb196(0xe1),'@univerjs/engine-formula','@univerjs/sheets',_0x5cb196(0xc0),_0x5cb196(0x103),_0x5cb196(0x228),_0x5cb196(0xde),'@univerjs/engine-render'],_0x47453a):(_0x184cc4=typeof globalThis<'u'?globalThis:_0x184cc4||self,_0x47453a(_0x184cc4[_0x5cb196(0x275)]={},_0x184cc4[_0x5cb196(0x1a7)],_0x184cc4[_0x5cb196(0x1ad)],_0x184cc4[_0x5cb196(0xbb)],_0x184cc4['UniverSheets'],_0x184cc4[_0x5cb196(0xc0)],_0x184cc4[_0x5cb196(0xaa)],_0x184cc4[_0x5cb196(0x1e3)],_0x184cc4[_0x5cb196(0xb2)],_0x184cc4[_0x5cb196(0xf9)]));}(this,function(_0x49a3fb,_0x55dd5b,_0xacfc7b,_0x439297,_0x36f0de,_0x26949a,_0x53a245,_0x51d92a,_0x2eeda7,_0x19f6b5){'use strict';const _0x245086=_0x57b0;var _0x1ec94d=Object[_0x245086(0x2e8)],_0x3736d5=(_0x41508c,_0x1cffd3,_0x34402d)=>_0x1cffd3 in _0x41508c?_0x1ec94d(_0x41508c,_0x1cffd3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34402d}):_0x41508c[_0x1cffd3]=_0x34402d,_0x2a0787=(_0x3f3875,_0x31d96f,_0x3f13ec)=>_0x3736d5(_0x3f3875,typeof _0x31d96f!=_0x245086(0x1fc)?_0x31d96f+'':_0x31d96f,_0x3f13ec);const _0x4901e4=Number[_0x245086(0x25c)](0x69088420),_0x10906f=0x10,_0x55fd51=0x1,_0x51a8a0='SHEET_PIVOT_TABLE_PLUGIN',_0x1d5f07=0x1,_0x5a3237=_0x245086(0x14a),_0x48a980='rgb(255,255,255)',_0x4ed205=_0x245086(0x1aa),_0x1bc379=_0x245086(0xf2),_0x901bab='#f4f4f5',_0x14008e=_0x245086(0xba),_0x1cc93a=_0x245086(0x33d),_0x5dc53b='#FFFFFF',_0x2d8752=_0x245086(0x35d),_0x5ec4ef='#1d32e9',_0x44d66a='#FFFFFF',_0x4ce3a3=_0x245086(0xb1),_0x2a6ff7=0xe,_0xcee05f=0x6;var _0x1c99b3=(_0x273918=>(_0x273918[_0x245086(0x2da)]=_0x245086(0x135),_0x273918[_0x245086(0x243)]=_0x245086(0x29a),_0x273918))(_0x1c99b3||{});const _0x460c68={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x423898=0x1e,_0x1c4aec={'b':{'s':0x1,'cl':{'rgb':_0x4ed205}},'l':{'s':0x1,'cl':{'rgb':_0x4ed205}},'r':{'s':0x1,'cl':{'rgb':_0x4ed205}},'t':{'s':0x1,'cl':{'rgb':_0x4ed205}}},_0x374552={'bg':{'rgb':_0x5a3237},'ht':0x2,'vt':0x2,'tb':0x1},_0x4538c5={'bg':{'rgb':_0x48a980},'ht':0x2,'vt':0x2,'tb':0x1},_0x3dc5d3={'rowStyle':{'bg':{'rgb':_0x4ce3a3},'bd':_0x1c4aec,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x5ec4ef},'bd':null,'cl':{'rgb':_0x44d66a},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x1c4aec,'bg':{'rgb':_0x2d8752},'vt':0x2},'cornerStyle':{'bd':_0x1c4aec,'bg':{'rgb':_0x14008e},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x1c4aec,'bg':{'rgb':_0x1bc379},'vt':0x2},'leafStyle':{'bd':_0x1c4aec,'bg':{'rgb':_0x901bab},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x1cc93a},'cl':{'rgb':_0x5dc53b},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x1c4aec,'vt':0x2}};function _0x1869db(_0x48ab1f,_0x23f4d2,_0x37922b){const _0x2a982c=_0x245086,_0x3c8517=_0x48ab1f[_0x2a982c(0x23d)](_0xacfc7b[_0x2a982c(0xcb)]),_0x3a4072=_0x37922b[_0x2a982c(0x2a5)]('_');switch(_0x23f4d2){case _0x55dd5b['PivotDateGroupFieldDateTypeEnum'][_0x2a982c(0x121)]:return _0x3c8517['t'](_0x2a982c(0x261),..._0x3a4072);case _0x55dd5b[_0x2a982c(0x31a)][_0x2a982c(0x248)]:return _0x3c8517['t'](_0x2a982c(0x341),..._0x3a4072);case _0x55dd5b[_0x2a982c(0x31a)][_0x2a982c(0x86)]:return _0x3c8517['t'](_0x2a982c(0x36f),..._0x3a4072);case _0x55dd5b[_0x2a982c(0x31a)][_0x2a982c(0x257)]:return _0x3c8517['t'](_0x2a982c(0x1c1),..._0x3a4072);case _0x55dd5b[_0x2a982c(0x31a)][_0x2a982c(0x136)]:return _0x3c8517['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x3a4072);case _0x55dd5b[_0x2a982c(0x31a)][_0x2a982c(0x218)]:return _0x3c8517['t'](_0x2a982c(0xc3),..._0x3a4072);case _0x55dd5b[_0x2a982c(0x31a)][_0x2a982c(0x2b6)]:return _0x3c8517['t'](_0x2a982c(0x310),..._0x3a4072);case _0x55dd5b['PivotDateGroupFieldDateTypeEnum']['YearMonth']:return _0x3c8517['t'](_0x2a982c(0x78),..._0x3a4072);case _0x55dd5b[_0x2a982c(0x31a)][_0x2a982c(0x21c)]:return _0x3c8517['t'](_0x2a982c(0x162),..._0x3a4072);case _0x55dd5b[_0x2a982c(0x31a)]['YearQuarter']:return _0x3c8517['t'](_0x2a982c(0x238),..._0x3a4072);}return'';}const _0x1445e2=(_0x278c0f,_0x5bd130,_0x1c62ba,_0x38947b)=>{const _0x6eaac8=_0x245086;let _0x3f182a;const _0x83e813=_0x278c0f[_0x6eaac8(0x23d)](_0xacfc7b[_0x6eaac8(0x1f9)])[_0x6eaac8(0x2b3)](_0xacfc7b[_0x6eaac8(0x263)]['UNIVER_SHEET']);if(!_0x83e813)return null;const _0xbe792d=_0x83e813[_0x6eaac8(0x2fc)]();let _0x4645c8;if(_0x1c62ba&&(_0x4645c8=_0xbe792d['setValue'](_0x1c62ba)),_0x5bd130!=null&&_0x5bd130['v']||(_0x5bd130==null?void 0x0:_0x5bd130['v'])===0x0){_0x3f182a||(_0x3f182a={});const _0xf96ae=_0x297a96(_0x5bd130['v']);typeof _0xf96ae==_0x6eaac8(0xa2)?_0x3f182a['t']=_0xacfc7b['CellValueType'][_0x6eaac8(0x268)]:typeof _0xf96ae==_0x6eaac8(0x251)&&(_0x3f182a['t']=_0xacfc7b[_0x6eaac8(0x332)]['STRING']),_0x3f182a['v']=_0xf96ae;}if((_0x5bd130!=null&&_0x5bd130['i']||(_0x5bd130==null?void 0x0:_0x5bd130['i'])===0x0)&&(_0x3f182a||(_0x3f182a={}),_0x3f182a['fi']=_0x5bd130['i']),_0x5bd130!=null&&_0x5bd130['s']&&(_0x3f182a||(_0x3f182a={}),_0x3f182a[_0x6eaac8(0x333)]=_0x5bd130['s']),_0x1c62ba&&(_0x3f182a||(_0x3f182a={}),_0x3f182a['s']=_0x4645c8),_0x38947b&&_0x3f182a!=null&&_0x3f182a['v']&&_0x3f182a[_0x6eaac8(0x333)]!==_0x55dd5b['PivotCellStyleTypeEnum'][_0x6eaac8(0x1b5)]&&_0x3f182a['pbt']!==_0x55dd5b[_0x6eaac8(0xed)][_0x6eaac8(0x361)]){const _0xa46f93=String(_0x3f182a['v']),{dateType:_0x15f552}=_0x38947b;_0x3f182a['v']=_0x1869db(_0x278c0f,_0x15f552,_0xa46f93),_0x3f182a['t']=_0xacfc7b[_0x6eaac8(0x332)][_0x6eaac8(0x7f)];}return _0x3f182a;},_0x33a1c3=(_0x48b2fa,_0x3a179b,_0x183b80,_0x22edd1)=>{const _0x5e4071=_0x245086;var _0xb3af69,_0xc2e884,_0xe80de4,_0x58f990,_0xf0cac2,_0x1c4b78,_0x388d5f,_0x23e9dd,_0x303484,_0x417436,_0x1bf3ea,_0x3d7ed9,_0x1338b5,_0x5671bc;const _0x1a9d9f=_0x183b80[_0x5e4071(0x17d)],{cornerView:_0x4d1043,rowView:_0x58b9c2,colView:_0x4a777f,dataView:_0x166090,pageView:_0x488212,formatMap:_0x30decf,groupInfo:_0x3ac73e}=_0x3a179b,{row:_0x22fde9,col:_0x478295}=_0x1a9d9f,_0xff79da=new _0xacfc7b[(_0x5e4071(0x165))](),_0x502423={},_0x304a67={},_0x2ed83a={},_0x412979={},_0x4a60ff={};let _0x4d44f4=_0x22fde9,_0x29337a=_0x478295;Object[_0x5e4071(0x305)](_0x488212[_0x5e4071(0x30b)])['forEach'](_0x549a54=>{const _0x473f5e=_0x5e4071;Object[_0x473f5e(0x305)](_0x488212['data'][Number(_0x549a54)])[_0x473f5e(0x34c)](_0x5cf00b=>{const _0x4f1974=_0x473f5e,_0x1b3d0c={..._0x488212[_0x4f1974(0x30b)][Number(_0x549a54)][Number(_0x5cf00b)]};_0xff79da['setValue'](Number(_0x549a54)+_0x4d44f4,Number(_0x5cf00b)+_0x29337a,_0x1445e2(_0x48b2fa,_0x1b3d0c,_0x3dc5d3['pageStyle']));});});const _0x4e3c7=Object[_0x5e4071(0x305)](_0x488212[_0x5e4071(0x30b)])[_0x5e4071(0x16a)];_0x4d44f4+=_0x4e3c7+(_0x4e3c7?_0x1d5f07:0x0);const _0x108a0f=_0x4d1043[_0x5e4071(0x291)](),_0x41c175=_0x4d1043['getColCount']();for(let _0x4c3ba9=0x0;_0x4c3ba9<_0x108a0f;_0x4c3ba9++)for(let _0x3daaf9=0x0;_0x3daaf9<_0x41c175;_0x3daaf9++){const _0x24edc1={...(_0xc2e884=(_0xb3af69=_0x4d1043['data'])==null?void 0x0:_0xb3af69[_0x4c3ba9])==null?void 0x0:_0xc2e884[_0x3daaf9]};_0x24edc1&&((_0xe80de4=_0x58b9c2[_0x5e4071(0x132)][_0x3daaf9])!=null&&_0xe80de4[_0x5e4071(0x279)])&&_0x3daaf9===_0x41c175-0x1&&_0x4c3ba9===_0x108a0f-0x1&&(_0x24edc1['v']=''+_0x22edd1[_0x5e4071(0x2dd)]),_0xff79da[_0x5e4071(0x1b4)](_0x4c3ba9+_0x4d44f4,_0x3daaf9+_0x29337a,_0x1445e2(_0x48b2fa,_0x24edc1,_0x3dc5d3['cornerStyle']));}for(let _0x2858aa=0x0;_0x2858aa<_0x4d1043[_0x5e4071(0xa7)][_0x5e4071(0x16a)];_0x2858aa++)_0x4d1043[_0x5e4071(0xa7)][_0x2858aa]&&(_0x2ed83a[''+(_0x2858aa+_0x29337a)]=_0x4d1043[_0x5e4071(0xa7)][_0x2858aa]);_0x29337a+=_0x41c175;const _0x27d8b6=_0x4a777f['headerMap'],_0x196e83=_0x4a777f['getLastRow']()>=0x0?_0x4a777f['getLastRow']()+0x1:0x0,_0x157104=_0x4a777f[_0x5e4071(0x2d6)]()>=0x0?_0x4a777f['getLastCol']()+0x1:0x0;for(let _0x32f516=0x0;_0x32f516<_0x157104;_0x32f516++){for(let _0x3f46bf=0x0;_0x3f46bf<_0x196e83;_0x3f46bf++){const _0x31f875={...(_0xf0cac2=(_0x58f990=_0x4a777f[_0x5e4071(0x30b)])==null?void 0x0:_0x58f990[_0x3f46bf])==null?void 0x0:_0xf0cac2[_0x32f516]},_0xc95207=(_0x1c4b78=_0x27d8b6[_0x3f46bf])==null?void 0x0:_0x1c4b78['tableFieldId'],_0x29fb15=_0x30decf[_0xc95207],_0x18cd44=_0x3ac73e[_0xc95207];_0x31f875&&(_0x31f875['v']=_0x5b690c(_0x31f875,_0x3f46bf===0x0&&((_0x388d5f=_0x4a777f[_0x5e4071(0x173)](_0x32f516+0x1))==null?void 0x0:_0x388d5f['isValue']),_0x29fb15,_0x22edd1));let _0x3f87bc;_0x29fb15?_0x3f87bc={..._0x3dc5d3[_0x5e4071(0x126)],'n':{'pattern':_0x29fb15}}:_0x3f87bc={..._0x3dc5d3[_0x5e4071(0x126)]},_0xff79da[_0x5e4071(0x1b4)](_0x3f46bf+_0x4d44f4,_0x32f516+_0x29337a,_0x1445e2(_0x48b2fa,_0x31f875,_0x3f87bc,_0x18cd44));}_0x4a777f[_0x5e4071(0xa7)][_0x32f516]&&(_0x304a67[''+(_0x32f516+_0x29337a)]=_0x4a777f[_0x5e4071(0xa7)][_0x32f516]),_0x4a777f[_0x5e4071(0x132)][_0x32f516+0x1]&&(_0x4a60ff[''+(_0x32f516+_0x4d44f4+0x1)]=_0x4a777f[_0x5e4071(0x132)][_0x32f516+0x1]);}_0x4d44f4+=_0x108a0f;const _0x4b2a4f=_0x58b9c2[_0x5e4071(0x132)],_0x231bcd=_0x58b9c2['getLastRow']()>=0x0?_0x58b9c2[_0x5e4071(0xa4)]()+0x1:0x0,_0x210db8=_0x58b9c2[_0x5e4071(0x2d6)]()>=0x0?_0x58b9c2[_0x5e4071(0x2d6)]()+0x1:0x0;for(let _0x29d403=0x0;_0x29d403<_0x231bcd;_0x29d403++){for(let _0x587a6b=0x0;_0x587a6b<_0x210db8;_0x587a6b++){const _0x211efc={...(_0x303484=(_0x23e9dd=_0x58b9c2['data'])==null?void 0x0:_0x23e9dd[_0x29d403])==null?void 0x0:_0x303484[_0x587a6b]},_0x53995f=(_0x417436=_0x4b2a4f[_0x587a6b])==null?void 0x0:_0x417436[_0x5e4071(0x81)],_0x420ccf=_0x30decf[_0x53995f],_0x12e889=_0x3ac73e[_0x53995f];_0x211efc&&(_0x211efc['v']=_0x5b690c(_0x211efc,!0x1,_0x420ccf,_0x22edd1));let _0x2de547;_0x58b9c2[_0x5e4071(0xa7)][_0x29d403]['level']===_0x58b9c2[_0x5e4071(0x1a5)]()?_0x2de547=_0x3dc5d3['leafStyle']:_0x58b9c2['info'][_0x29d403]['isBottomTotal']?_0x2de547=_0x58b9c2[_0x5e4071(0xa7)][_0x29d403][_0x5e4071(0x30e)]===0x0?_0x3dc5d3[_0x5e4071(0x249)]:_0x3dc5d3[_0x5e4071(0x119)]:_0x2de547=_0x3dc5d3[_0x5e4071(0x32c)],_0x420ccf&&(_0x2de547={..._0x2de547,'n':{'pattern':_0x420ccf}}),_0xff79da['setValue'](_0x29d403+_0x4d44f4,_0x587a6b+_0x478295,_0x1445e2(_0x48b2fa,_0x211efc,_0x2de547,_0x12e889));}_0x58b9c2[_0x5e4071(0xa7)][_0x29d403]&&(_0x502423[''+(_0x29d403+_0x4d44f4)]=_0x58b9c2[_0x5e4071(0xa7)][_0x29d403]),_0x58b9c2[_0x5e4071(0x132)][_0x29d403]&&(_0x412979[''+(_0x29d403+_0x478295)]=_0x58b9c2['headerMap'][_0x29d403]);}const _0x17380f=_0x166090[_0x5e4071(0x291)](),_0x16dfdf=_0x166090[_0x5e4071(0x1a5)]();for(let _0x54652f=0x0;_0x54652f<_0x17380f;_0x54652f++)for(let _0x2f82dd=0x0;_0x2f82dd<_0x16dfdf;_0x2f82dd++){const _0x1d94bf={...(_0x3d7ed9=(_0x1bf3ea=_0x166090[_0x5e4071(0x30b)])==null?void 0x0:_0x1bf3ea[_0x54652f])==null?void 0x0:_0x3d7ed9[_0x2f82dd]};let _0x387a88;_0x58b9c2[_0x5e4071(0xa7)][_0x54652f][_0x5e4071(0x34d)]?_0x387a88=_0x58b9c2[_0x5e4071(0xa7)][_0x54652f]['level']===0x0?_0x3dc5d3[_0x5e4071(0x249)]:_0x3dc5d3['subTotalStyle']:_0x387a88=_0x3dc5d3[_0x5e4071(0x123)];const _0x2e1e99=_0x58b9c2['info'][_0x54652f][_0x5e4071(0x22e)],_0x42b4ec=_0x4a777f[_0x5e4071(0xa7)][_0x2f82dd][_0x5e4071(0x22e)],_0x1e297b=Math[_0x5e4071(0x215)](_0x2e1e99,_0x42b4ec),_0x10d036=_0x183b80[_0x5e4071(0xcf)][_0x5e4071(0x274)]['concat']();let _0x20c3d8='';_0x1e297b<0x0?_0x20c3d8=(_0x1338b5=_0x10d036[0x0])!=null?_0x1338b5:'':_0x20c3d8=(_0x5671bc=_0x10d036[_0x1e297b])!=null?_0x5671bc:'';const _0x2e2713=_0x30decf[_0x20c3d8];_0x2e2713&&(_0x387a88={..._0x387a88,'n':{'pattern':_0x2e2713}}),_0xff79da['setValue'](_0x54652f+_0x4d44f4,_0x2f82dd+_0x29337a,_0x1445e2(_0x48b2fa,_0x1d94bf,_0x387a88));}return{'valueMatrix':_0xff79da,'rowInfo':_0x502423,'colInfo':_0x304a67,'cornerInfo':_0x2ed83a,'rowHeaderMap':_0x412979,'colHeaderMap':_0x4a60ff};};function _0x5b690c(_0x1ec244,_0x5d9f67,_0x157d87,_0x2c5cce){const _0x443d42=_0x245086;let _0x19a5c5=_0x1ec244['v'];_0x5d9f67&&(_0x19a5c5=''+_0x2c5cce[_0x443d42(0x2dd)]);const _0x962d27=_0x1ec244['t']&&(_0x1ec244['t']&_0x55dd5b[_0x443d42(0x201)][_0x443d42(0x1e0)])>0x0;_0x962d27&&(_0x19a5c5=''+_0x2c5cce[_0x443d42(0x91)]);const _0x4bde40=_0x1ec244['t']&&(_0x1ec244['t']&_0x55dd5b[_0x443d42(0x201)][_0x443d42(0xd3)])>0x0;if(_0x4bde40&&(_0x19a5c5=''+_0x2c5cce[_0x443d42(0x2c2)]),_0x1ec244['s']===_0x55dd5b[_0x443d42(0xed)]['Subtotal']){let _0x412016=_0x19a5c5,_0x17a963='';_0x55dd5b['isPrefixValue'](_0x19a5c5)&&(_0x412016=_0x19a5c5['prefix'],_0x17a963=_0x19a5c5[_0x443d42(0x1cc)]);const _0x37c7e3=_0x157d87&&!_0x962d27&&!_0x4bde40?_0xacfc7b[_0x443d42(0x2a9)]['format'](_0x157d87,Number(_0x412016)):_0x412016;_0x17a963?_0x19a5c5=_0x37c7e3+'\x20'+_0x17a963:_0x19a5c5=_0x37c7e3+'\x20'+_0x2c5cce[_0x443d42(0xca)];}else _0x1ec244['s']===_0x55dd5b[_0x443d42(0xed)][_0x443d42(0x1b5)]&&(_0x19a5c5=_0x19a5c5+'\x20'+_0x2c5cce[_0x443d42(0xf4)]);return _0x19a5c5;}function _0x297a96(_0x25cc88){const _0x55d885=_0x245086;if(_0x55dd5b[_0x55d885(0x27e)](_0x25cc88)){const {errorType:_0x287edd}=_0x25cc88;switch(_0x287edd){case _0x55dd5b[_0x55d885(0x205)][_0x55d885(0xb3)]:return _0x439297['ErrorType'][_0x55d885(0x31f)];case _0x55dd5b[_0x55d885(0x205)][_0x55d885(0x15c)]:return _0x439297[_0x55d885(0x1fd)][_0x55d885(0x1c4)];case _0x55dd5b[_0x55d885(0x205)][_0x55d885(0x36b)]:return _0x439297['ErrorType'][_0x55d885(0x23f)];case _0x55dd5b['PivotErrorTypeEnum'][_0x55d885(0x213)]:return _0x439297[_0x55d885(0x1fd)]['NAME'];case _0x55dd5b[_0x55d885(0x205)][_0x55d885(0x255)]:return _0x439297[_0x55d885(0x1fd)][_0x55d885(0x2bc)];}}return _0x25cc88;}function _0x23da99(_0x2db029,_0x20b8f4,_0xe9d6d0=!0x1,_0x395f9f=!0x1){const _0x149f62=_0x245086,{data:_0x59d688}=_0x20b8f4,_0x326336=_0x20b8f4['getRowCount'](),_0x3c134b=_0x20b8f4[_0x149f62(0x1a5)]();if(_0x326336<=0x0||_0x3c134b<=0x0)return[];const _0x39c445=_0x20b8f4[_0x149f62(0x2d6)](),_0x2ba298=_0x20b8f4[_0x149f62(0xa4)](),_0x3c958d=_0x395f9f?_0x2ba298>=0x0?_0x2ba298+0x1:0x0:_0x326336,_0x49b9d0=_0x395f9f?_0x39c445>=0x0?_0x39c445+0x1:0x0:_0x3c134b,{row:_0x5a0f3c,col:_0x39741d}=_0x2db029,_0x36314b=_0x5a0f3c,_0x4f0fd3=_0x39741d;if(_0xe9d6d0){const _0x110421=[];for(const [_0x2ca5dc,_0x39980e]of Object[_0x149f62(0x10f)](_0x59d688))for(const [_0x40762b,_0xf3070c]of Object[_0x149f62(0x10f)](_0x39980e))_0x110421['push'](_0xacfc7b['cellToRange'](_0x36314b+Number(_0x2ca5dc),_0x4f0fd3+Number(_0x40762b)));return _0x110421;}else{const _0x3020f7=_0x395f9f?_0x3c958d>0x0?0x1:0x0:0x1,_0x188a27=_0x395f9f?_0x49b9d0>0x0?0x1:0x0:0x1,_0x4d6cd5=_0x5a0f3c+_0x3c958d-_0x3020f7,_0x5b718e=_0x39741d+_0x49b9d0-_0x188a27;return[{'startRow':_0x36314b,'startColumn':_0x4f0fd3,'endRow':_0x4d6cd5,'endColumn':_0x5b718e}];}}const _0x10e4d2=_0x245086(0x28b),_0x1f435d=_0x245086(0x2a4);var _0x4bc33b=(_0x1e5fd1=>(_0x1e5fd1[_0x245086(0xbd)]=_0x245086(0x306),_0x1e5fd1[_0x245086(0x8c)]=_0x245086(0x281),_0x1e5fd1[_0x245086(0x25b)]=_0x245086(0x24e),_0x1e5fd1[_0x245086(0x22f)]=_0x245086(0x22f),_0x1e5fd1[_0x245086(0x1e5)]='addPivotTable',_0x1e5fd1[_0x245086(0x166)]=_0x245086(0xd0),_0x1e5fd1[_0x245086(0x2ba)]='removePivotField',_0x1e5fd1[_0x245086(0x1d1)]='setPivotCollapse',_0x1e5fd1[_0x245086(0x183)]='setPivotFilter',_0x1e5fd1['SetPivotSort']=_0x245086(0x267),_0x1e5fd1[_0x245086(0x253)]=_0x245086(0x308),_0x1e5fd1[_0x245086(0x191)]=_0x245086(0x362),_0x1e5fd1[_0x245086(0x2fe)]='updateValuePosition',_0x1e5fd1['DrillDown']=_0x245086(0x31e),_0x1e5fd1['SetValuePivotFilter']=_0x245086(0xef),_0x1e5fd1[_0x245086(0x375)]=_0x245086(0x153),_0x1e5fd1[_0x245086(0x35a)]=_0x245086(0xeb),_0x1e5fd1))(_0x4bc33b||{});const _0x27d844={'sheets-pivot.blankValue':_0x245086(0x290),'sheets-pivot.columnName':_0x245086(0x2ef),'sheets-pivot.subTotalText':_0x245086(0x116),'sheets-pivot.grandTotalText':_0x245086(0x303),'sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x245086(0x1dc),'sheets-pivot.countName':_0x245086(0xf5),'sheets-pivot.countNumsName':_0x245086(0xf5),'sheets-pivot.maxName':_0x245086(0x1ab),'sheets-pivot.minName':_0x245086(0x233),'sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0x245086(0x210),'sheets-pivot.stdDevpName':_0x245086(0x29d),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x245086(0x226),'sheets-pivot.varpName':_0x245086(0x1da),'sheets-pivot.subTotal':_0x245086(0x361),'sheets-pivot.grandTotal':_0x245086(0x303),'sheets-pivot.value':_0x245086(0x1cc),'sheets-pivot.blank':_0x245086(0x1e0),'sheets-pivot.other':_0x245086(0xd3),'sheets-pivot.emptyPivot.filter':_0x245086(0xbd),'sheets-pivot.emptyPivot.row':_0x245086(0x130),'sheets-pivot.emptyPivot.column':'Column','sheets-pivot.emptyPivot.values':'Values'},_0x12304f={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x1a9326=_0xacfc7b[_0x245086(0x1b7)]('pivotPerformCheck'),_0x4b726d=_0xacfc7b[_0x245086(0x348)]('pivotMutationGenerate');var _0x1b64df=(_0xdbe02a=>(_0xdbe02a[_0x245086(0x219)]=_0x245086(0x219),_0xdbe02a[_0x245086(0x334)]=_0x245086(0x334),_0xdbe02a['update']=_0x245086(0x15a),_0xdbe02a))(_0x1b64df||{}),_0x542f6c=(_0x2c4b0a=>(_0x2c4b0a[_0x245086(0x278)]=_0x245086(0x219),_0x2c4b0a['Set']='set',_0x2c4b0a[_0x245086(0x72)]=_0x245086(0x334),_0x2c4b0a))(_0x542f6c||{});const _0x10fe5a={'type':_0xacfc7b['CommandType'][_0x245086(0x1d7)],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},_0x299547={'type':_0xacfc7b['CommandType']['MUTATION'],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x3fc1a6={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0x1d7)],'id':'sheet.mutation.send-pivot-view-local','handler':()=>!0x0},_0x514649={'type':_0xacfc7b[_0x245086(0x235)]['MUTATION'],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x58eec2={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0x1d7)],'id':_0x245086(0x358),'handler':()=>!0x0};var _0x55b5a2=Object[_0x245086(0x120)],_0x400b73=(_0x3f1dec,_0x198a65,_0x3adaf2,_0x2b0e58)=>{const _0x4bc0d1=_0x245086;for(var _0x4399c8=_0x2b0e58>0x1?void 0x0:_0x2b0e58?_0x55b5a2(_0x198a65,_0x3adaf2):_0x198a65,_0x41e6d0=_0x3f1dec[_0x4bc0d1(0x16a)]-0x1,_0x1a26bf;_0x41e6d0>=0x0;_0x41e6d0--)(_0x1a26bf=_0x3f1dec[_0x41e6d0])&&(_0x4399c8=_0x1a26bf(_0x4399c8)||_0x4399c8);return _0x4399c8;},_0x4e70f6=(_0xcea44c,_0x1ffb93)=>(_0x3f579c,_0x1152e8)=>_0x1ffb93(_0x3f579c,_0x1152e8,_0xcea44c);_0x49a3fb[_0x245086(0x102)]=class extends _0xacfc7b[_0x245086(0x1ef)]{constructor(_0x34ddb1){const _0x8cd2eb=_0x245086;super(),_0x2a0787(this,_0x8cd2eb(0x105),new Map()),this['_commandService']=_0x34ddb1;}['handleAsyncResponse'](_0x39847a){const _0x5ca554=_0x245086,{version:_0x312c2b}=_0x39847a,_0xc3f58b=this[_0x5ca554(0x105)][_0x5ca554(0x23d)](_0x312c2b);_0xc3f58b&&(_0xc3f58b(_0x39847a),this[_0x5ca554(0x105)][_0x5ca554(0x334)](_0x312c2b));}[_0x245086(0x12f)](_0x54f904){return new Promise((_0x2d41e1,_0x3739b6)=>{const _0x44df6e=_0x57b0,_0x11dc99=this[_0x44df6e(0x2e1)]();this[_0x44df6e(0x105)][_0x44df6e(0x19d)](_0x11dc99,_0x2d41e1),this[_0x44df6e(0x104)][_0x44df6e(0x127)](_0x10fe5a['id'],{'version':_0x11dc99,..._0x54f904},{'onlyLocal':!0x0});});}[_0x245086(0x2e1)](){const _0x472575=_0x245086;return Math[_0x472575(0xac)]()['toString'](0x24)[_0x472575(0x328)](0x2,0x10);}},_0x49a3fb[_0x245086(0x102)]=_0x400b73([_0x4e70f6(0x0,_0xacfc7b[_0x245086(0x2be)](_0xacfc7b[_0x245086(0xcd)]))],_0x49a3fb['SheetsPivotRPCService']);const _0x908f14={0x0:'K',0x1:'0',0x2:'4',0x3:'a',0x4:'t',0x5:'7',0x6:'r',0x7:'e',0x8:'M',0x9:'1','L':'2','R':'3','v':'5','U':'6','O':'8','u':'9','s':'b','Y':'c','T':'d','h':'f','N':'g','c':'h','f':'i','I':'j','q':'k','w':'l','r':'m','C':'n','A':'o','S':'p','n':'q','D':'s','e':'u','g':'v','b':'w','G':'x','p':'y','d':'z','o':'A','Q':'B','B':'C','a':'D','i':'E','k':'F','x':'G','P':'H','K':'I','M':'J','X':'L','F':'N','H':'O','V':'P','J':'Q','y':'R','j':'S','l':'T','E':'U','t':'V','m':'W','W':'X','z':'Y','Z':'Z'},_0x1272c9=_0x245086(0xdb),_0x4d6746=_0x51d7a1=>{const _0x21b9a4=_0x245086;var _0x20e229;return((_0x20e229=_0x51d7a1[_0x21b9a4(0x20b)])==null?void 0x0:_0x20e229['dataStream'][_0x21b9a4(0x14e)](/\r\n$/,''))||'';};class _0x1d3302 extends _0x55dd5b[_0x245086(0x26b)]{constructor(_0x35f446,_0x82dc4){const _0x4acce4=_0x245086;super(),_0x2a0787(this,_0x4acce4(0xa5),{}),_0x2a0787(this,_0x4acce4(0x1a9)),_0x2a0787(this,'_host'),(this[_0x4acce4(0x1a9)]=_0x82dc4,this[_0x4acce4(0x12c)]=_0x35f446);}[_0x245086(0x2ab)](){const _0x6e7217=_0x245086;for(const _0x2a72a6 in this[_0x6e7217(0x363)]){const _0x5023e5=this['dataFields'][_0x2a72a6],_0x313a0d=_0x5023e5[_0x6e7217(0x225)]();this[_0x6e7217(0xa5)][_0x313a0d]=_0x5023e5[_0x6e7217(0x15e)]();}}['getAutoDisplayNameFunction'](){const _0x193652=_0x245086,_0x1fb43c=this[_0x193652(0x12c)];return _0x388727[_0x193652(0x32d)](_0x1fb43c);}[_0x245086(0x2f7)](_0x363a3f){const _0x56957a=_0x245086,_0x1bb524=this['dataFields'][_0x363a3f][_0x56957a(0x194)];delete this['dataFields'][_0x363a3f],delete this[_0x56957a(0xa5)][_0x1bb524];}[_0x245086(0x33a)](_0xfc8571){const _0x1f2679=_0x245086;this[_0x1f2679(0x363)][_0xfc8571['getId']()]=_0xfc8571;}[_0x245086(0x2a7)](_0x56ca18){const _0x506829=_0x245086;var _0x204a5f,_0x4281e4;const _0x279a76=this[_0x506829(0x12c)][_0x506829(0x1e1)](_0x56ca18);if(_0x279a76){const {unitId:_0xd2773c,subUnitId:_0x457446}=_0x279a76,_0x5db90e=(_0x204a5f=this['_host'][_0x506829(0x11c)](_0xd2773c,_0x457446,_0x56ca18))==null?void 0x0:_0x204a5f[_0x506829(0x1df)];this[_0x506829(0x12c)]['broadcastCollectionChange']({'token':_0x56ca18,'type':_0x1b64df[_0x506829(0x334)],'dataRangeInfo':_0x5db90e});}(_0x4281e4=this[_0x506829(0xae)](_0x56ca18))==null||_0x4281e4[_0x506829(0x6a)](),delete this[_0x506829(0x1b3)][_0x56ca18];}[_0x245086(0x225)](_0x413595,_0x5979a6){const _0xb312be=_0x245086,{sheetName:_0x137bc4,unitId:_0x59d9f4,range:_0x59fef6}=_0x413595,{startRow:_0x3a94e7,endRow:_0x25b292}=_0x59fef6;return _0x439297[_0xb312be(0xf0)](_0x59d9f4,_0x137bc4,{'startRow':_0x3a94e7,'endRow':_0x25b292,'startColumn':_0x5979a6,'endColumn':_0x5979a6});}[_0x245086(0x331)](_0x219999){const _0x348c90=_0x245086;return this[_0x348c90(0x363)][this['rangeKeyMap'][_0x219999]];}['setRangeKeyMap'](_0xa3b8d3,_0x425607){this['rangeKeyMap'][_0xa3b8d3]=_0x425607;}[_0x245086(0x30f)](_0x448252,_0x43696c){const _0x20f9e5=_0x245086;this[_0x20f9e5(0xa5)][_0x43696c]=this['rangeKeyMap'][_0x448252],delete this[_0x20f9e5(0xa5)][_0x448252];}[_0x245086(0x2f5)](_0x4c17fb,_0x2af213,_0x59b905,_0x5ed0a0){const _0x19ddd1=_0x245086,_0x2168be=new _0x55dd5b[(_0x19ddd1(0x2c1))](this);_0x2168be[_0x19ddd1(0x20a)](_0x2af213);const _0x13ca87=[];let _0x1b55d2=0x0;for(const _0x2d4e25 of _0x2168be['fieldIds']){const _0x14609d=this[_0x19ddd1(0x225)](_0x59b905,_0x1b55d2),_0x20fadc=this[_0x19ddd1(0x363)][_0x2d4e25];_0x20fadc&&(_0x20fadc['rangeKey']=_0x14609d,this['setRangeKeyMap'](_0x14609d,_0x2d4e25),_0x13ca87['push']({'index':_0x1b55d2,'dataField':_0x20fadc})),_0x1b55d2++;}return this[_0x19ddd1(0x13e)](_0x4c17fb,_0x2168be,_0x59b905,_0x5ed0a0),{'collection':_0x2168be,'updateDataFieldList':_0x13ca87};}[_0x245086(0x299)](_0x48aa4c,_0x2b5fe9){const _0x2146dd=_0x245086;return _0x48aa4c[_0x2146dd(0x198)]===_0xacfc7b['RANGE_TYPE']['COLUMN']?{'startRow':0x0,'startColumn':_0x48aa4c['startColumn'],'endRow':_0x2b5fe9[_0x2146dd(0x291)]()-0x1,'endColumn':_0x48aa4c[_0x2146dd(0x265)]}:{'startRow':_0x48aa4c[_0x2146dd(0x345)],'startColumn':_0x48aa4c[_0x2146dd(0x208)],'endRow':_0x48aa4c['endRow'],'endColumn':_0x48aa4c[_0x2146dd(0x265)]};}['createCollectionWithDataRange'](_0x108082){const _0xbfcd67=_0x245086,{sheetName:_0x575773,range:_0x37bf05}=_0x108082,_0x128a65=this[_0xbfcd67(0x1a9)][_0xbfcd67(0x2b3)](_0xacfc7b[_0xbfcd67(0x263)][_0xbfcd67(0x94)]),_0x50c4c2=_0x128a65[_0xbfcd67(0x35c)](_0x575773),_0xfcc315=_0x50c4c2[_0xbfcd67(0x8e)](),{startColumn:_0x23b312,startRow:_0x2c50c,endColumn:_0x421f84}=this[_0xbfcd67(0x299)](_0x37bf05,_0x50c4c2),_0x2fa3a9=_0x128a65['getStyles'](),_0x304162=new _0x55dd5b[(_0xbfcd67(0x2c1))](this);_0x304162[_0xbfcd67(0x26f)](_0x108082);const _0x17d42c=[],_0x709e40={};for(let _0x285efa=_0x23b312;_0x285efa<=_0x421f84;_0x285efa++){const _0x107c42=_0xfcc315[_0xbfcd67(0xe0)](_0x2c50c,_0x285efa),_0x30ede7=this[_0xbfcd67(0x225)](_0x108082,_0x285efa),_0x38263a=this[_0xbfcd67(0x331)](_0x30ede7);if(_0x38263a)_0x304162[_0xbfcd67(0x29b)](_0x38263a[_0xbfcd67(0x15e)](),_0x38263a[_0xbfcd67(0x2f6)]());else{const _0x44ee5a=this[_0xbfcd67(0x154)]();let _0x1e5d1c=this[_0xbfcd67(0x2d4)](_0x107c42,_0x2fa3a9,_0x709e40);_0x55dd5b[_0xbfcd67(0x1ec)](_0x1e5d1c)&&(_0x1e5d1c=_0xacfc7b['numfmt']['format'](_0x1e5d1c['f'],Number(_0x1e5d1c['v'])));const _0x1626a6=this['uniqueDataFieldName'](_0x1e5d1c,_0x285efa),_0x48f446=new _0x55dd5b[(_0xbfcd67(0x18b))](_0x44ee5a,_0x1626a6,_0x55dd5b[_0xbfcd67(0x266)](0x3));_0x48f446[_0xbfcd67(0x194)]=_0x30ede7,this[_0xbfcd67(0x363)][_0x44ee5a]=_0x48f446,_0x304162[_0xbfcd67(0x29b)](_0x44ee5a,_0x1626a6),_0x17d42c[_0xbfcd67(0x150)]({'index':_0x285efa,'dataField':_0x48f446});}}return{'updateDataFieldList':_0x17d42c,'collection':_0x304162};}['_getAutoName'](_0x4a9930){const _0x386234=_0x245086;return this[_0x386234(0x12c)][_0x386234(0x1f0)]()[_0x386234(0x344)]+'\x20'+_0xacfc7b[_0x386234(0x1c3)](_0x4a9930);}[_0x245086(0x180)](_0x5accd3,_0x382200){const _0x4089cf=_0x245086;return _0x5accd3==null||_0x5accd3===''?this[_0x4089cf(0xd5)](_0x382200):String(_0x5accd3);}['getCollection'](_0x35e7e5){const _0x2e04a5=_0x245086;return this[_0x2e04a5(0x1b3)][_0x35e7e5];}[_0x245086(0x13e)](_0x21f303,_0x246ab2,_0x4b1fff,_0x452ad4){const _0x38a301=_0x245086;this[_0x38a301(0x1b3)][_0x21f303]=_0x246ab2,_0x246ab2[_0x38a301(0x26f)](_0x4b1fff),this[_0x38a301(0x12c)]['broadcastCollectionChange']({'token':_0x21f303,'type':_0x1b64df[_0x38a301(0x219)],'dataRangeInfo':_0x4b1fff,'targetCellInfo':_0x452ad4});}['handleMoveRange'](_0x22083a,_0x3f0ce3){const _0x4c030b=_0x245086,_0x201924=this[_0x4c030b(0xae)](_0x22083a),_0x336a13=_0x201924[_0x4c030b(0x23a)]();let _0x23f54c=0x0;for(const _0x3b12ca of _0x336a13){const _0x3c4059=_0x201924[_0x4c030b(0x2bb)](_0x3b12ca),_0x5760ea=this[_0x4c030b(0x225)](_0x3f0ce3,_0x23f54c);this['updateRangeKeyMap'](_0x3c4059[_0x4c030b(0x194)],_0x5760ea),_0x23f54c++;}}[_0x245086(0x1c8)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x4e006e,_0x12cd15){const _0x1f4a01=_0x245086;if(this[_0x1f4a01(0xae)](_0x4e006e)){const _0x3100bc=this[_0x1f4a01(0x19b)](_0x12cd15),_0x455e89=[];for(const _0x159116 of _0x3100bc)this[_0x1f4a01(0xa5)][_0x159116]!==void 0x0&&_0x455e89[_0x1f4a01(0x150)](this[_0x1f4a01(0xa5)][_0x159116]);const _0x105732=this['getNoUsedDataFieldIds'](_0x4e006e),_0x398d67=[],_0x1136a2=new Set(_0x455e89);for(const _0x4e8429 of _0x105732)_0x1136a2[_0x1f4a01(0x115)](_0x4e8429)||_0x398d67['push'](_0x4e8429);return _0x398d67;}}[_0x245086(0x33f)](_0x3de7f9,_0x5ef857,_0x503105,_0x3680ce,_0x43317c){const _0x40fdfa=_0x245086;return _0x5ef857&&_0x5ef857['getValue'](_0x3680ce,_0x43317c)?_0x5ef857[_0x40fdfa(0xe0)](_0x3680ce,_0x43317c):_0x503105&&_0x503105[_0x40fdfa(0xe0)](_0x3680ce,_0x43317c)?_0x503105[_0x40fdfa(0xe0)](_0x3680ce,_0x43317c):_0x3de7f9['getValue'](_0x3680ce,_0x43317c);}['refreshDataField'](_0x3cb768,_0x3ebfb1,_0x12f02a,_0x4edef0){const _0x3954d1=_0x245086,_0x398853=this['dataFields'][_0x3cb768];if(!_0x398853)return;const {subUnitId:_0x1872f9,range:_0x3cbc6c,unitId:_0x3b1a59}=_0x3ebfb1,_0x1cb963=this[_0x3954d1(0x1a9)][_0x3954d1(0x356)](_0x3b1a59);if(!_0x1cb963){console[_0x3954d1(0x270)](_0x3954d1(0x7c));return;}const _0x36b568=_0x1cb963[_0x3954d1(0x244)](_0x1872f9),_0x169b06=_0x36b568[_0x3954d1(0x8e)](),{arrayFormulaCellDataMatrix:_0x3448ff,unitDataMatrix:_0x58bd8c}=_0x4edef0||{},{startRow:_0x216ced,startColumn:_0x23a8c9,endRow:_0x13fdbd}=this['getRangeStartEndInfo'](_0x3cbc6c,_0x36b568);_0x398853[_0x3954d1(0x27b)]();const _0x35f8cc=_0x1cb963[_0x3954d1(0x2fc)](),_0x3ce8ec={},_0x732f6c=this[_0x3954d1(0x33f)](_0x169b06,_0x3448ff,_0x58bd8c,_0x216ced,_0x23a8c9+_0x12f02a);let _0x208c0a=this['adjustSheetCellData'](_0x732f6c,_0x35f8cc,_0x3ce8ec);_0x55dd5b['isDateValue'](_0x208c0a)&&(_0x208c0a=_0xacfc7b[_0x3954d1(0x2a9)][_0x3954d1(0x2bf)](_0x208c0a['f'],Number(_0x208c0a['v'])));const _0x1859f7=this[_0x3954d1(0x180)](_0x208c0a,_0x23a8c9+_0x12f02a);_0x398853['setName'](_0x1859f7);for(let _0x40617d=_0x216ced+0x1;_0x40617d<=_0x13fdbd;_0x40617d++){const _0x4a4137=this[_0x3954d1(0x33f)](_0x169b06,_0x3448ff,_0x58bd8c,_0x40617d,_0x23a8c9+_0x12f02a);_0x398853[_0x3954d1(0x88)](this[_0x3954d1(0x2d4)](_0x4a4137,_0x35f8cc,_0x3ce8ec),_0x40617d-0x1-_0x216ced);}}[_0x245086(0x7a)](_0x509a75,_0x1ef362,_0x40f6ef){const _0x6db35c=_0x245086,{subUnitId:_0x1381e7,range:_0xa9397b,unitId:_0x4df958}=_0x40f6ef,_0x1be695=this['_univerInstanceService'][_0x6db35c(0x356)](_0x4df958);if(!_0x1be695){console[_0x6db35c(0x270)](_0x6db35c(0x7c));return;}const _0x128818=_0x1be695['getSheetBySheetId'](_0x1381e7),_0x2f47ff=_0x128818[_0x6db35c(0x8e)](),{startRow:_0x105a4d,startColumn:_0x1bef7e,endRow:_0x11cd95}=this[_0x6db35c(0x299)](_0xa9397b,_0x128818),_0x1ae43a=_0x1be695[_0x6db35c(0x2fc)](),_0x39d257={};for(const {dataField:_0x1558d5,index:_0x35f9a6}of _0x1ef362){_0x1558d5[_0x6db35c(0x27b)]();const _0x194dad=this[_0x6db35c(0x33f)](_0x2f47ff,void 0x0,void 0x0,_0x105a4d,_0x1bef7e+_0x35f9a6);let _0x2caefd=this['adjustSheetCellData'](_0x194dad,_0x1ae43a,_0x39d257);_0x55dd5b[_0x6db35c(0x1ec)](_0x2caefd)&&(_0x2caefd=_0xacfc7b['numfmt'][_0x6db35c(0x2bf)](_0x2caefd['f'],Number(_0x2caefd['v'])));const _0xa8a783=this[_0x6db35c(0x180)](_0x2caefd,_0x1bef7e+_0x35f9a6);_0x1558d5['setName'](_0xa8a783);}_0x509a75['updateAllDisplayName']();for(let _0xb9bd49=_0x105a4d+0x1;_0xb9bd49<=_0x11cd95;_0xb9bd49++)for(const {index:_0x1900cb,dataField:_0x56ded2}of _0x1ef362){const _0xb09a41=_0x2f47ff[_0x6db35c(0xe0)](_0xb9bd49,_0x1bef7e+_0x1900cb);_0x56ded2[_0x6db35c(0x88)](this['adjustSheetCellData'](_0xb09a41,_0x1ae43a,_0x39d257),_0xb9bd49-0x1-_0x105a4d);}_0x509a75[_0x6db35c(0x24c)](_0x11cd95-_0x105a4d);}[_0x245086(0x19b)](_0x3791d1){const _0xb87390=_0x245086,{range:_0x3ebf3c}=_0x3791d1,{startColumn:_0x2216de,endColumn:_0x3819ec}=_0x3ebf3c,_0x41b3b8=[];for(let _0x3fa0fc=_0x2216de;_0x3fa0fc<=_0x3819ec;_0x3fa0fc++)_0x41b3b8[_0xb87390(0x150)](this[_0xb87390(0x225)](_0x3791d1,_0x3fa0fc));return _0x41b3b8;}[_0x245086(0x2d4)](_0x245bb7,_0x2af0e7,_0x36c02e){const _0x580329=_0x245086;if(_0x245bb7){const {s:_0x566fda,v:_0x14fd39,t:_0x592705,p:_0x1b83e7}=_0x245bb7;if(_0x1b83e7)return _0x4d6746(_0x1b83e7);const _0x702b64=_0x2af0e7[_0x580329(0x23d)](_0x566fda);if(_0x702b64&&_0x592705===_0xacfc7b[_0x580329(0x332)][_0x580329(0x268)]&&_0x702b64['n']){const {pattern:_0x1e4724}=_0x702b64['n'];_0x36c02e[_0x1e4724]||(_0x36c02e[_0x1e4724]=_0xacfc7b['numfmt'][_0x580329(0xe7)](_0x1e4724));const _0x471cb3=_0x36c02e[_0x1e4724],_0x3b40cd=_0x471cb3[_0x580329(0x1d3)];if(_0x471cb3[_0x580329(0xb5)])return String(_0x14fd39);if(_0x3b40cd)return{'v':_0x14fd39,'f':_0x1e4724};}if(_0x592705===_0xacfc7b[_0x580329(0x332)]['NUMBER'])return Number(_0x14fd39);if(_0x592705===_0xacfc7b[_0x580329(0x332)][_0x580329(0x7f)]||_0x592705===_0xacfc7b['CellValueType'][_0x580329(0x374)])return String(_0x14fd39);if(_0x592705===void 0x0){const _0x46214c=Number(_0x14fd39);if(!Number['isNaN'](_0x46214c)&&String(_0x46214c)===_0x14fd39)return _0x46214c;}return _0x14fd39!=null?_0x14fd39:null;}else return null;}['getRangeData'](_0x2f92ee){const _0x54704a=_0x245086,{sheetName:_0xc0071,range:_0xa8ce87,unitId:_0x5889d5}=_0x2f92ee,_0x4157dc=this[_0x54704a(0x1a9)][_0x54704a(0x356)](_0x5889d5);if(!_0x4157dc)return console[_0x54704a(0x270)]('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x5257c1=_0x4157dc['getSheetBySheetName'](_0xc0071),_0x1b1617=_0x5257c1['getCellMatrix'](),{startRow:_0x372c0f,startColumn:_0x320034,endRow:_0x5a7344,endColumn:_0x474b89}=this[_0x54704a(0x299)](_0xa8ce87,_0x5257c1),_0x3b295d=_0x4157dc[_0x54704a(0x2fc)](),_0x3f248f=[],_0x20ad47=[],_0x3e31fa={};for(let _0x5e6aa3=_0x372c0f;_0x5e6aa3<=_0x5a7344;_0x5e6aa3++){const _0x36a744=[];for(let _0xbd33b=_0x320034;_0xbd33b<=_0x474b89;_0xbd33b++){const _0xb5db20=_0x1b1617['getValue'](_0x5e6aa3,_0xbd33b);_0x5e6aa3===_0x372c0f?_0x3f248f[_0x54704a(0x150)](_0xb5db20==null?null:String(_0xb5db20['v'])):_0x36a744[_0x54704a(0x150)](this['adjustSheetCellData'](_0xb5db20,_0x3b295d,_0x3e31fa));}_0x20ad47[_0x54704a(0x150)](_0x36a744);}return{'header':_0x3f248f,'data':_0x20ad47};}[_0x245086(0xc9)](){const _0x4cc812=_0x245086;return super[_0x4cc812(0xc9)]();}[_0x245086(0x20a)](_0x50524f){const _0x3fc3bc=_0x245086;super[_0x3fc3bc(0x20a)](_0x50524f),this[_0x3fc3bc(0x2ab)]();}['dispose'](){const _0x51059d=_0x245086;super['dispose'](),this[_0x51059d(0xa5)]={},this[_0x51059d(0x12c)]=null;}}const _0x2cf7f0=_0x583e30=>{const _0x5e4ecb=_0x245086,{targetCellInfo:_0x51e2f8}=_0x583e30,{matrixCache:_0x1398f9,rangesCache:_0x2ff5c6}=_0x458f32({'filter':_0x5e4ecb(0xbd),'row':_0x5e4ecb(0x130),'column':_0x5e4ecb(0x28c),'values':_0x5e4ecb(0x264)},_0x51e2f8),_0x3ad223=new _0xacfc7b[(_0x5e4ecb(0x165))]();return _0x1398f9[_0x5e4ecb(0x71)]((_0x28cfb2,_0x4720bc,_0x3cd1a8)=>{_0x3ad223['setValue'](_0x28cfb2,_0x4720bc,_0x3cd1a8);}),{'matrix':_0x3ad223,'rangesCache':_0x2ff5c6};},_0x52c16c=_0x2cbb5d=>{const _0x27e22d=_0x245086;let _0x42c705;if(_0x2cbb5d!=null&&_0x2cbb5d['v']||(_0x2cbb5d==null?void 0x0:_0x2cbb5d['v'])===0x0){_0x42c705||(_0x42c705={});const _0x212da5=_0x297a96(_0x2cbb5d['v']);typeof _0x212da5==_0x27e22d(0xa2)?_0x42c705['t']=_0xacfc7b[_0x27e22d(0x332)][_0x27e22d(0x268)]:typeof _0x212da5=='string'&&(_0x42c705['t']=_0xacfc7b[_0x27e22d(0x332)][_0x27e22d(0x7f)]),_0x42c705['v']=_0x212da5;}return _0x42c705;},_0x34f63a=(_0x12441e,_0x3c7c50,_0xdf626e)=>{const _0x44f72a=_0x245086;var _0x5d60b3,_0x2c6a1c,_0x16e4e5,_0x4ca4d1,_0x2605db,_0x315fc5,_0x2f4a75,_0x16b6ef,_0x468837,_0x3aa38f,_0x4cbabe,_0x579f48;const {cornerView:_0x3ad8d1,rowView:_0x5b5802,colView:_0x488828,dataView:_0x23f8d0,pageView:_0x5665fb,formatMap:_0x47fa84}=_0x12441e,{row:_0x7fddd1,col:_0x4438b5}=_0x3c7c50,_0x12ef06=new _0xacfc7b[(_0x44f72a(0x165))]();let _0x1c2e2f=_0x7fddd1,_0x35c6cf=_0x4438b5;Object[_0x44f72a(0x305)](_0x5665fb['data'])[_0x44f72a(0x34c)](_0x1975fd=>{const _0x7aec20=_0x44f72a;Object['keys'](_0x5665fb[_0x7aec20(0x30b)][Number(_0x1975fd)])[_0x7aec20(0x34c)](_0xb88169=>{const _0x18c7ba=_0x7aec20,_0x1ace1e={..._0x5665fb[_0x18c7ba(0x30b)][Number(_0x1975fd)][Number(_0xb88169)]};_0x12ef06[_0x18c7ba(0x1b4)](Number(_0x1975fd)+_0x1c2e2f,Number(_0xb88169)+_0x35c6cf,_0x52c16c(_0x1ace1e));});});const _0x39e07a=Object['keys'](_0x5665fb['data'])['length'];_0x1c2e2f+=_0x39e07a+(_0x39e07a?_0x1d5f07:0x0);const _0x30211a=_0x3ad8d1[_0x44f72a(0x291)](),_0x591722=_0x3ad8d1[_0x44f72a(0x1a5)]();for(let _0x433aee=0x0;_0x433aee<_0x30211a;_0x433aee++)for(let _0x4284e5=0x0;_0x4284e5<_0x591722;_0x4284e5++){const _0x149488={...(_0x2c6a1c=(_0x5d60b3=_0x3ad8d1[_0x44f72a(0x30b)])==null?void 0x0:_0x5d60b3[_0x433aee])==null?void 0x0:_0x2c6a1c[_0x4284e5]};_0x149488&&((_0x16e4e5=_0x5b5802[_0x44f72a(0x132)][_0x4284e5])!=null&&_0x16e4e5['isValue'])&&_0x4284e5===_0x591722-0x1&&_0x433aee===_0x30211a-0x1&&(_0x149488['v']=''+_0xdf626e['sheets-pivot.value']),_0x12ef06[_0x44f72a(0x1b4)](_0x433aee+_0x1c2e2f,_0x4284e5+_0x35c6cf,_0x52c16c(_0x149488));}_0x35c6cf+=_0x591722;const _0x55942c=_0x488828['headerMap'],_0x2adce7=_0x488828[_0x44f72a(0xa4)]()>=0x0?_0x488828[_0x44f72a(0xa4)]()+0x1:0x0,_0x2631f8=_0x488828[_0x44f72a(0x2d6)]()>=0x0?_0x488828[_0x44f72a(0x2d6)]()+0x1:0x0;for(let _0x3c58ee=0x0;_0x3c58ee<_0x2631f8;_0x3c58ee++)for(let _0xba4fb9=0x0;_0xba4fb9<_0x2adce7;_0xba4fb9++){const _0x1b814a={...(_0x2605db=(_0x4ca4d1=_0x488828['data'])==null?void 0x0:_0x4ca4d1[_0x3c58ee])==null?void 0x0:_0x2605db[_0xba4fb9]},_0x5029a7=(_0x315fc5=_0x55942c[_0x3c58ee])==null?void 0x0:_0x315fc5[_0x44f72a(0x81)],_0x3af1b6=_0x47fa84[_0x5029a7];_0x1b814a&&(_0x1b814a['v']=_0x5b690c(_0x1b814a,_0x3c58ee===0x0&&((_0x2f4a75=_0x488828[_0x44f72a(0x173)](_0xba4fb9+0x1))==null?void 0x0:_0x2f4a75[_0x44f72a(0x279)]),_0x3af1b6,_0xdf626e)),_0x12ef06[_0x44f72a(0x1b4)](_0x3c58ee+_0x1c2e2f,_0xba4fb9+_0x35c6cf,_0x52c16c(_0x1b814a));}_0x1c2e2f+=_0x30211a;const _0x590e70=_0x5b5802[_0x44f72a(0x132)],_0x282326=_0x5b5802[_0x44f72a(0xa4)]()>=0x0?_0x5b5802[_0x44f72a(0xa4)]()+0x1:0x0,_0x35858c=_0x5b5802[_0x44f72a(0x2d6)]()>=0x0?_0x5b5802[_0x44f72a(0x2d6)]()+0x1:0x0;for(let _0x148d1e=0x0;_0x148d1e<_0x282326;_0x148d1e++)for(let _0x3b3858=0x0;_0x3b3858<_0x35858c;_0x3b3858++){const _0x5d909f={...(_0x468837=(_0x16b6ef=_0x5b5802[_0x44f72a(0x30b)])==null?void 0x0:_0x16b6ef[_0x148d1e])==null?void 0x0:_0x468837[_0x3b3858]},_0x19d7a6=(_0x3aa38f=_0x590e70[_0x3b3858])==null?void 0x0:_0x3aa38f['tableFieldId'],_0x41dd0f=_0x47fa84[_0x19d7a6];_0x5d909f&&(_0x5d909f['v']=_0x5b690c(_0x5d909f,!0x1,_0x41dd0f,_0xdf626e)),_0x12ef06[_0x44f72a(0x1b4)](_0x148d1e+_0x1c2e2f,_0x3b3858+_0x4438b5,_0x52c16c(_0x5d909f));}const _0x17d1bd=_0x23f8d0[_0x44f72a(0x291)](),_0x4a0fc2=_0x23f8d0[_0x44f72a(0x1a5)]();for(let _0x40f62e=0x0;_0x40f62e<_0x17d1bd;_0x40f62e++)for(let _0x4b6766=0x0;_0x4b6766<_0x4a0fc2;_0x4b6766++){const _0x3e945f={...(_0x579f48=(_0x4cbabe=_0x23f8d0[_0x44f72a(0x30b)])==null?void 0x0:_0x4cbabe[_0x40f62e])==null?void 0x0:_0x579f48[_0x4b6766]};_0x12ef06[_0x44f72a(0x1b4)](_0x40f62e+_0x1c2e2f,_0x4b6766+_0x35c6cf,_0x52c16c(_0x3e945f));}return _0x12ef06;},_0x5ef13f=_0x1e38bc=>{const _0x21ed14=_0x245086,{view:_0x35e2ff,targetCellInfo:_0x15e0fd,isEmpty:_0xb824c1,textInfo:_0x1c6ef1}=_0x1e38bc;if(_0xb824c1)return _0x2cf7f0(_0x1e38bc);const {pageView:_0x2f4fbf,cornerView:_0x2a0668,rowView:_0x4217d6,colView:_0x1e5668,dataView:_0x1ca23e}=_0x35e2ff,_0x18ab35=_0x23da99(_0x15e0fd,_0x2f4fbf,!0x0),_0x3997b8=_0x2f4fbf['lastRow']>=0x0?_0x2f4fbf['lastRow']+0x1:0x0,_0x4a0d8b=_0x2a0668[_0x21ed14(0x291)](),_0x53b05d=_0x2a0668[_0x21ed14(0x1a5)](),_0x38f60c=_0x18ab35[_0x21ed14(0x16a)]>0x0?_0x1d5f07:0x0,_0x1a8188=_0x23da99({'row':_0x15e0fd[_0x21ed14(0x1e9)]+_0x3997b8+_0x38f60c,'col':_0x15e0fd[_0x21ed14(0x8f)]},_0x2a0668,!0x1,!0x1),_0x50c363=_0x23da99({'row':_0x15e0fd['row']+_0x3997b8+_0x38f60c+_0x4a0d8b,'col':_0x15e0fd[_0x21ed14(0x8f)]},_0x4217d6,!0x1,!0x0),_0x424b04=_0x23da99({'row':_0x15e0fd[_0x21ed14(0x1e9)]+_0x3997b8+_0x38f60c,'col':_0x15e0fd[_0x21ed14(0x8f)]+_0x53b05d},_0x1e5668,!0x1,!0x0),_0x27db12=_0x23da99({'row':_0x15e0fd[_0x21ed14(0x1e9)]+_0x3997b8+_0x38f60c+_0x4a0d8b,'col':_0x15e0fd[_0x21ed14(0x8f)]+_0x53b05d},_0x1ca23e,!0x1,!0x1),_0x16673c={'rowRanges':_0x50c363,'colRanges':_0x424b04,'cornerRanges':_0x1a8188,'dataRanges':_0x27db12,'pageRanges':_0x18ab35};return{'matrix':_0x34f63a(_0x35e2ff,_0x15e0fd,_0x1c6ef1),'rangesCache':_0x16673c};};var _0x30e983=Object['getOwnPropertyDescriptor'],_0x1a8810=(_0x49f99c,_0x5e533f,_0x109bab,_0x3b216d)=>{for(var _0xed1b11=_0x3b216d>0x1?void 0x0:_0x3b216d?_0x30e983(_0x5e533f,_0x109bab):_0x5e533f,_0x7542a2=_0x49f99c['length']-0x1,_0x30e92e;_0x7542a2>=0x0;_0x7542a2--)(_0x30e92e=_0x49f99c[_0x7542a2])&&(_0xed1b11=_0x30e92e(_0xed1b11)||_0xed1b11);return _0xed1b11;},_0x230e27=(_0x14a1aa,_0x4130be)=>(_0x3d36ae,_0x32b5a8)=>_0x4130be(_0x3d36ae,_0x32b5a8,_0x14a1aa);_0x49a3fb['SheetsPivotDataSourceModel']=class extends _0xacfc7b[_0x245086(0x1ef)]{constructor(_0x5c9f9f,_0x4d46ec,_0x343904,_0x42e28a,_0x1496f2){const _0x331807=_0x245086;super(),_0x2a0787(this,_0x331807(0xff),new Map()),_0x2a0787(this,_0x331807(0x307),new Map()),_0x2a0787(this,_0x331807(0x2d5),new Map()),_0x2a0787(this,_0x331807(0xa1)),_0x2a0787(this,_0x331807(0x22a),new _0x26949a[(_0x331807(0x2b2))]()),_0x2a0787(this,_0x331807(0x357),this['_collectionChange$'][_0x331807(0x284)]()),_0x2a0787(this,_0x331807(0xa8),new _0x26949a[(_0x331807(0x2b2))]()),_0x2a0787(this,_0x331807(0x140),this[_0x331807(0xa8)][_0x331807(0x284)]()),_0x2a0787(this,_0x331807(0x138),new _0x26949a[(_0x331807(0x2b2))]()),_0x2a0787(this,_0x331807(0x24d),this[_0x331807(0x138)][_0x331807(0x284)]()),_0x2a0787(this,_0x331807(0x83),new Map()),_0x2a0787(this,'needSameDeleteModel',[]),_0x2a0787(this,_0x331807(0x2ae),new Map()),(this[_0x331807(0x1db)]=_0x5c9f9f,this['_univerInstanceService']=_0x4d46ec,this[_0x331807(0x36c)]=_0x343904,this[_0x331807(0x104)]=_0x42e28a,this['_resourceManagerService']=_0x1496f2,this[_0x331807(0x33b)]());}[_0x245086(0x1f0)](){const _0x41eda1=_0x245086;return this[_0x41eda1(0xa1)]?this['_textInfo']:_0x27d844;}[_0x245086(0x69)](_0x4c3cd3){const _0x106ae4=_0x245086;this[_0x106ae4(0xa1)]=_0x4c3cd3;}[_0x245086(0x1f4)](_0x45998f){const _0x2aaeaf=_0x245086;var _0x5abb46;const {from:_0x3ea757,to:_0x5a03d6,unitId:_0x3fd314,fromRange:_0x439dca,toRange:_0x2f9b0b}=_0x45998f;if(_0x3ea757&&_0x5a03d6){const _0x1c8f30=this[_0x2aaeaf(0x114)](_0x3fd314),_0xa0d035=this[_0x2aaeaf(0xff)]['get'](_0x3fd314),_0x9116a5=(_0x5abb46=this[_0x2aaeaf(0x1a9)]['getUnit'](_0x3fd314))==null?void 0x0:_0x5abb46[_0x2aaeaf(0x244)](_0x5a03d6[_0x2aaeaf(0x346)]);if(!_0xa0d035||!_0x9116a5)return;const _0x599fa0=_0x9116a5==null?void 0x0:_0x9116a5[_0x2aaeaf(0x2f6)]();for(const [_0x192dd9,_0x244d05]of _0xa0d035[_0x2aaeaf(0x10f)]())for(const [_0x23feed,_0x203aa2]of _0x244d05[_0x2aaeaf(0x10f)]()){const {sourceRangeInfo:_0x582408}=_0x203aa2;if(_0x582408[_0x2aaeaf(0x2ca)]===_0x3fd314&&_0x582408[_0x2aaeaf(0x346)]===_0x3ea757[_0x2aaeaf(0x346)]&&_0xacfc7b['Rectangle'][_0x2aaeaf(0xec)](_0x439dca,_0x582408[_0x2aaeaf(0x2d7)])){const _0x47eb2f={'row':_0x582408[_0x2aaeaf(0x2d7)]['startRow']-_0x439dca['startRow'],'col':_0x582408[_0x2aaeaf(0x2d7)][_0x2aaeaf(0x208)]-_0x439dca['startColumn']},_0x10e134={'unitId':_0x3fd314,'subUnitId':_0x5a03d6['subUnitId'],'sheetName':_0x599fa0,'range':{'startRow':_0x2f9b0b['startRow']+_0x47eb2f[_0x2aaeaf(0x1e9)],'endRow':_0x2f9b0b[_0x2aaeaf(0x345)]+_0x47eb2f[_0x2aaeaf(0x1e9)]+_0x582408[_0x2aaeaf(0x2d7)]['endRow']-_0x582408[_0x2aaeaf(0x2d7)][_0x2aaeaf(0x345)],'startColumn':_0x2f9b0b[_0x2aaeaf(0x208)]+_0x47eb2f[_0x2aaeaf(0x8f)],'endColumn':_0x2f9b0b[_0x2aaeaf(0x208)]+_0x47eb2f['col']+_0x582408['range'][_0x2aaeaf(0x265)]-_0x582408[_0x2aaeaf(0x2d7)][_0x2aaeaf(0x208)]}};_0x1c8f30[_0x2aaeaf(0x1f4)](_0x23feed,_0x10e134);const _0x448b7a={..._0x203aa2,'sourceRangeInfo':_0x10e134};this[_0x2aaeaf(0x1bb)](_0x3fd314,_0x5a03d6['subUnitId'],_0x23feed,_0x448b7a),this[_0x2aaeaf(0xc5)]({'unitId':_0x3fd314,'token':_0x23feed,'type':_0x1b64df[_0x2aaeaf(0x15a)],'oldSourceRangeInfo':_0x582408,'dataRangeInfo':_0x10e134,'targetCellInfo':_0x203aa2[_0x2aaeaf(0x17d)]}),this[_0x2aaeaf(0x203)]({'unitId':_0x3fd314,'subUnitId':_0x5a03d6[_0x2aaeaf(0x346)],'oldSubUnitId':_0x192dd9,'pivotTableId':_0x23feed,'pivotTableConfig':_0x448b7a,'collectionConfig':_0x1c8f30[_0x2aaeaf(0xc9)]()});}}}}['broadcastCollectionChange'](_0x2609e3){const _0x2f1ee6=_0x245086;this[_0x2f1ee6(0x22a)][_0x2f1ee6(0x19a)](_0x2609e3);}['getDataFieldManager'](_0x45849b){const _0x23b524=_0x245086;let _0x5b9a7b=this['_dataFieldManagerCollection']['get'](_0x45849b);return _0x5b9a7b||(_0x5b9a7b=new _0x1d3302(this,this[_0x23b524(0x1a9)]),this[_0x23b524(0x83)][_0x23b524(0x19d)](_0x45849b,_0x5b9a7b)),_0x5b9a7b;}[_0x245086(0xae)](_0x142827,_0x51d664){const _0x7f6e1e=_0x245086;return this[_0x7f6e1e(0x114)](_0x142827)[_0x7f6e1e(0x1b3)][_0x51d664];}[_0x245086(0x19e)](_0x28ec45,_0x3c5560,_0x357eb3){const _0x3dd7d4=_0x245086;return this[_0x3dd7d4(0x114)](_0x28ec45)['getUpdateRangeDeleteIds'](_0x3c5560,_0x357eb3);}[_0x245086(0x311)](_0x354008,_0x543e38){const _0x7d90cd=_0x245086;let _0x5668a3=this[_0x7d90cd(0xff)][_0x7d90cd(0x23d)](_0x354008);_0x5668a3||(_0x5668a3=new Map(),this[_0x7d90cd(0xff)][_0x7d90cd(0x19d)](_0x354008,_0x5668a3));let _0x2a73c6=_0x5668a3[_0x7d90cd(0x23d)](_0x543e38);return _0x2a73c6||(_0x2a73c6=new Map(),_0x5668a3[_0x7d90cd(0x19d)](_0x543e38,_0x2a73c6)),_0x2a73c6;}[_0x245086(0x1bb)](_0x56559e,_0x1c0091,_0x40be28,_0x42a5d4){const _0x5bb024=_0x245086;this[_0x5bb024(0x311)](_0x56559e,_0x1c0091)[_0x5bb024(0x19d)](_0x40be28,_0x42a5d4);}[_0x245086(0x2a6)](_0x2f03a1,_0x3b7907,_0x21bf12){const _0x131b6e=_0x245086;var _0x48bccd,_0xcfc91c,_0x248dc4,_0x491cc6;((_0xcfc91c=(_0x48bccd=this[_0x131b6e(0xff)][_0x131b6e(0x23d)](_0x2f03a1))==null?void 0x0:_0x48bccd[_0x131b6e(0x23d)](_0x3b7907))==null?void 0x0:_0xcfc91c['get'](_0x21bf12))&&((_0x491cc6=(_0x248dc4=this['_model']['get'](_0x2f03a1))==null?void 0x0:_0x248dc4[_0x131b6e(0x23d)](_0x3b7907))==null||_0x491cc6[_0x131b6e(0x334)](_0x21bf12));}['_updatePivotTableInstanceCache'](_0x5d74e1,_0x541943){const _0x457a61=_0x245086;this[_0x457a61(0x307)][_0x457a61(0x19d)](_0x5d74e1,_0x541943);}[_0x245086(0x170)](_0x5dd6ca){const _0x3b3284=_0x245086;this[_0x3b3284(0x307)][_0x3b3284(0x334)](_0x5dd6ca);}[_0x245086(0x212)](_0x10f6e0,_0x5ee07e){const _0x531ded=_0x245086;let _0x559dc7=this['_viewData'][_0x531ded(0x23d)](_0x10f6e0);_0x559dc7||(_0x559dc7=new Map(),this[_0x531ded(0x2d5)]['set'](_0x10f6e0,_0x559dc7));let _0x336ee6=_0x559dc7[_0x531ded(0x23d)](_0x5ee07e);return _0x336ee6||(_0x336ee6=new Map(),_0x559dc7[_0x531ded(0x19d)](_0x5ee07e,_0x336ee6)),_0x336ee6;}[_0x245086(0x203)](_0x112308){const _0x50206b=_0x245086,{unitId:_0x30f4a2,subUnitId:_0x4627a7,pivotTableId:_0x9c25c9,pivotTableConfig:_0x13eeb8,collectionConfig:_0x19de88}=_0x112308,_0x42c5ad={'unitId':_0x30f4a2,'subUnitId':_0x4627a7,'oldSubUnitId':_0x4627a7,'pivotTableId':_0x9c25c9,'pivotTableConfig':_0x13eeb8,'collectionConfig':_0x19de88};this[_0x50206b(0x104)][_0x50206b(0x127)](_0x514649['id'],_0x42c5ad,{'onlyLocal':!0x0});}[_0x245086(0x95)](_0x541d67,_0x4f70a5,_0x497d62,_0x4a7043,_0x4cccda,_0x4054c1,_0x5c8565,_0x199b61=!0x1){const _0x5e10e2=_0x245086;var _0x172205;this[_0x5e10e2(0x104)][_0x5e10e2(0x127)](_0x3fc1a6['id'],{'single':{'unitId':_0x541d67,'subUnitId':_0x4f70a5,'type':_0x497d62,'pivotTableId':_0x4a7043,'view':_0x4cccda,'pivotConfig':_0x4054c1},'collectionConfig':{[_0x541d67]:_0x5c8565}},{'onlyLocal':!0x0});const _0xa0aa16=!!((_0x172205=this[_0x5e10e2(0x24a)](_0x4a7043))!=null&&_0x172205['isEmpty']()),_0x1e0c4f=this[_0x5e10e2(0x11c)](_0x541d67,_0x4f70a5,_0x4a7043);_0x1e0c4f&&this['updateViewData']({'view':_0x4cccda,'pivotTableId':_0x4a7043,'textInfo':this[_0x5e10e2(0x1f0)](),'isEmpty':_0xa0aa16,'targetCellInfo':_0x1e0c4f[_0x5e10e2(0x17d)]},_0x199b61);}[_0x245086(0x28e)](_0x21ea92,_0xcb361d){const _0x302258=_0x245086,{targetCellInfo:_0x4b9403,pivotTableId:_0x30f65b}=_0x21ea92,{unitId:_0x337e22,subUnitId:_0x2ed0d5}=_0x4b9403,_0x11527e=this['_ensureViewDataMap'](_0x337e22,_0x2ed0d5),_0x28b510=_0x11527e[_0x302258(0x23d)](_0x30f65b);let _0x2c0796,_0x20b6c9;_0x28b510&&(_0x2c0796=_0x28b510[_0x302258(0x343)],_0x20b6c9=_0x28b510[_0x302258(0x9e)]);const {rangesCache:_0x1bea27,matrix:_0x5eb67f}=_0x5ef13f(_0x21ea92);_0x11527e['set'](_0x30f65b,{'rangeCache':_0x1bea27,'matrix':_0x5eb67f,'oldMatrix':_0x20b6c9,'oldRangeCache':_0x2c0796}),_0xcb361d||this[_0x302258(0xa8)]['next']({'unitId':_0x337e22,'subUnitId':_0x2ed0d5,'pivotTableId':_0x30f65b});}['addPivotTable'](_0x315388,_0x455aa4,_0x3213ff,_0x401335,_0x342925){const _0x554596=_0x245086;this[_0x554596(0x1bb)](_0x315388,_0x455aa4,_0x3213ff,_0x342925),this['_updatePivotTableInstanceCache'](_0x3213ff,_0x401335);}[_0x245086(0x352)](_0x3fd4f2,_0x1c5625,_0x132bea){const _0x24623d=_0x245086,_0x3e1608=this[_0x24623d(0x114)](_0x3fd4f2);_0x3e1608['getNoUsedDataFieldIds'](_0x132bea)['forEach'](_0x5a5bd5=>{_0x3e1608['deleteDataField'](_0x5a5bd5);}),this[_0x24623d(0x110)](_0x3fd4f2,_0x132bea),this['_deleteModelCache'](_0x3fd4f2,_0x1c5625,_0x132bea),this[_0x24623d(0x170)](_0x132bea);}[_0x245086(0x178)](_0x5210d8,_0x5a5c09,_0x1c8354,_0x16a0f8){const _0x4ab07a=_0x245086;this[_0x4ab07a(0x1bb)](_0x5210d8,_0x5a5c09,_0x1c8354,_0x16a0f8);}[_0x245086(0x11c)](_0xb3094d,_0x4ad23a,_0x2a9c26){const _0x5f2169=_0x245086;var _0x5085b2,_0xcacd93;const _0x469c20=(_0xcacd93=(_0x5085b2=this[_0x5f2169(0xff)]['get'](_0xb3094d))==null?void 0x0:_0x5085b2[_0x5f2169(0x23d)](_0x4ad23a))==null?void 0x0:_0xcacd93[_0x5f2169(0x23d)](_0x2a9c26);if(_0x469c20)return _0x469c20;}[_0x245086(0xe5)](_0xea683b,_0xb6272d,_0x344b31){const _0x4345ee=_0x245086;var _0x466846,_0x2b8d9a;const _0x41d244=(_0x2b8d9a=(_0x466846=this[_0x4345ee(0xff)][_0x4345ee(0x23d)](_0xea683b))==null?void 0x0:_0x466846['get'](_0xb6272d))==null?void 0x0:_0x2b8d9a['get'](_0x344b31);if(_0x41d244)return _0x41d244[_0x4345ee(0xcf)];}['getPivotTableInstance'](_0x5266aa){const _0x4a5d5b=_0x245086;return this[_0x4a5d5b(0x307)][_0x4a5d5b(0x23d)](_0x5266aa);}['deleteUnitId'](_0x13c676){const _0x40b9f8=_0x245086;this[_0x40b9f8(0xff)][_0x40b9f8(0x334)](_0x13c676);const _0x2bcde3=this['_dataFieldManagerCollection']['get'](_0x13c676);_0x2bcde3&&(_0x2bcde3[_0x40b9f8(0x6a)](),this[_0x40b9f8(0x83)][_0x40b9f8(0x334)](_0x13c676)),this['_viewData'][_0x40b9f8(0x334)](_0x13c676),this[_0x40b9f8(0xf6)][_0x40b9f8(0x34c)](_0x121900=>{_0x121900['deleteUnitId'](_0x13c676);});}[_0x245086(0x2f5)](_0x324a6c,_0x4e7af6,_0x5644f9,_0x4f98a5){const _0x366058=_0x245086;return this['getDataFieldManager'](_0x5644f9[_0x366058(0x2ca)])[_0x366058(0x2f5)](_0x324a6c,_0x4e7af6,_0x5644f9,_0x4f98a5);}[_0x245086(0x181)](_0x13229e){const _0x757b8f=_0x245086;return this[_0x757b8f(0x114)](_0x13229e[_0x757b8f(0x2ca)])['createCollectionWithDataRange'](_0x13229e);}[_0x245086(0x7a)](_0x50f0ef,_0x447802,_0x3eb629){const _0x12ffbc=_0x245086;this[_0x12ffbc(0x114)](_0x3eb629[_0x12ffbc(0x2ca)])['refreshData'](_0x50f0ef,_0x447802,_0x3eb629);}[_0x245086(0xe2)](_0x3ba631,_0x1b975f){const _0x484d3c=_0x245086;this[_0x484d3c(0x114)](_0x3ba631)[_0x484d3c(0x2f7)](_0x1b975f);}[_0x245086(0x110)](_0x219d3b,_0x1bb967){const _0x197b47=_0x245086;this[_0x197b47(0x114)](_0x219d3b)[_0x197b47(0x2a7)](_0x1bb967);}[_0x245086(0x309)](_0x280369,_0xaa1d89){const _0x479217=_0x245086;var _0x1410b6;return(_0x1410b6=this['_model'][_0x479217(0x23d)](_0x280369))==null?void 0x0:_0x1410b6[_0x479217(0x23d)](_0xaa1d89);}[_0x245086(0x1e1)](_0x2ffd72){const _0x323435=_0x245086;for(const [_0x20deaf,_0x3036f5]of this[_0x323435(0xff)][_0x323435(0x10f)]())for(const [_0x1d385c,_0xe16da7]of _0x3036f5['entries']())if(_0xe16da7[_0x323435(0x115)](_0x2ffd72))return{'unitId':_0x20deaf,'subUnitId':_0x1d385c};return null;}[_0x245086(0x169)](_0x5062a8,_0x54ca60,_0x2154dc,_0xeb11c0){const _0x1f2b61=_0x245086,_0x98d8fc=this[_0x1f2b61(0x212)](_0x5062a8,_0x54ca60);_0xeb11c0?_0x98d8fc['set'](_0x2154dc,_0xeb11c0):_0x98d8fc[_0x1f2b61(0x334)](_0x2154dc),this['_viewData$']['next']({'unitId':_0x5062a8,'subUnitId':_0x54ca60,'pivotTableId':_0x2154dc});}[_0x245086(0x6a)](){super['dispose']();}['getViewData'](_0x4d3ee5,_0x557b90,_0x41168e){const _0x3b3608=_0x245086;var _0x30f7c3,_0xe459d7;const _0x2fbebd=(_0xe459d7=(_0x30f7c3=this[_0x3b3608(0x2d5)][_0x3b3608(0x23d)](_0x4d3ee5))==null?void 0x0:_0x30f7c3[_0x3b3608(0x23d)](_0x557b90))==null?void 0x0:_0xe459d7[_0x3b3608(0x23d)](_0x41168e);return _0x2fbebd||null;}[_0x245086(0x19f)](_0x2c9dea){this['updateDirtyPivotTable'](_0x2c9dea);}[_0x245086(0x1ed)](_0x5d128e){const _0x1fd35e=_0x245086,{token:_0x1db38c,unitId:_0x3d1075,subUnitId:_0x412a39}=_0x5d128e,_0x1e4a3c=_0x3d1075+'-'+_0x412a39+'-'+_0x1db38c;this['_queryingMap']['get'](_0x1e4a3c)&&clearTimeout(this[_0x1fd35e(0x2ae)]['get'](_0x1e4a3c));const _0x19495f=setTimeout(()=>{const _0x45e443=_0x1fd35e;this[_0x45e443(0x1eb)](_0x5d128e),this['_queryingMap'][_0x45e443(0x334)](_0x1e4a3c);},_0x423898);this[_0x1fd35e(0x2ae)][_0x1fd35e(0x19d)](_0x1e4a3c,_0x19495f);}['queryDirtyPivotTable'](_0x17f994){const _0x158aa9=_0x245086,{unitId:_0x5d6eef,subUnitId:_0x4b8bbf,token:_0x9c27ec,type:_0x3c246e,pivotConfig:_0x21e5a1}=_0x17f994,_0x16825b=this[_0x158aa9(0x24a)](_0x9c27ec),_0x3b23d4=_0x16825b==null?void 0x0:_0x16825b[_0x158aa9(0x36e)](),_0x4e48ac=_0x21e5a1!=null?_0x21e5a1:this[_0x158aa9(0x11c)](_0x5d6eef,_0x4b8bbf,_0x9c27ec);_0x4e48ac&&(_0x4e48ac[_0x158aa9(0x155)]=!!(_0x16825b!=null&&_0x16825b[_0x158aa9(0x155)]())),(_0x3b23d4||_0x3c246e===_0x542f6c[_0x158aa9(0x72)])&&this[_0x158aa9(0x95)](_0x5d6eef,_0x4b8bbf,_0x3c246e,_0x9c27ec,_0x3b23d4,_0x4e48ac,this['getDataFieldManager'](_0x5d6eef)[_0x158aa9(0xc9)]());}[_0x245086(0xc9)](_0x4ac9a6){const _0x18d4ee=_0x245086,_0xb81df3={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x18d4ee(0x114)](_0x4ac9a6)&&(_0xb81df3['dataFieldManagerConfig'][_0x4ac9a6]=this[_0x18d4ee(0x114)](_0x4ac9a6)[_0x18d4ee(0xc9)]()),this[_0x18d4ee(0xff)][_0x18d4ee(0x23d)](_0x4ac9a6)){_0xb81df3[_0x18d4ee(0x99)][_0x4ac9a6]={};const _0x3110de=this['_model'][_0x18d4ee(0x23d)](_0x4ac9a6);_0x3110de!=null&&_0x3110de[_0x18d4ee(0x189)]&&[..._0x3110de[_0x18d4ee(0x305)]()]['forEach'](_0x18d387=>{const _0x334a55=_0x18d4ee,_0x19490a=_0x3110de['get'](_0x18d387);_0x19490a!=null&&_0x19490a[_0x334a55(0x189)]&&(_0xb81df3[_0x334a55(0x99)][_0x4ac9a6][_0x18d387]={},[..._0x19490a['keys']()][_0x334a55(0x34c)](_0x2cf492=>{const _0x3e1ba1=_0x334a55,_0x3db7fa=_0x19490a[_0x3e1ba1(0x23d)](_0x2cf492);_0x3db7fa&&(_0xb81df3[_0x3e1ba1(0x99)][_0x4ac9a6][_0x18d387][_0x2cf492]=_0x3db7fa);}));});}return _0xb81df3;}['fromJSON'](_0x188c2e){const _0x68dd7c=_0x245086;var _0x4a5eab;const {dataFieldManagerConfig:_0xe15aba,pivotTableConfigs:_0x1ed26b}=_0x188c2e;_0xe15aba&&Object[_0x68dd7c(0x305)](_0xe15aba)['forEach'](_0x3f8f8e=>{const _0x2683e8=_0x68dd7c;this[_0x2683e8(0x114)](_0x3f8f8e)['fromJSON'](_0xe15aba[_0x3f8f8e]);});const _0x45a2df=[];if(_0x1ed26b){const _0x110686=(_0x4a5eab=this['_injector'][_0x68dd7c(0x23d)](_0xacfc7b[_0x68dd7c(0x260)])[_0x68dd7c(0xd9)](_0x53a245['LS_CONFIG_KEY']))!=null?_0x4a5eab:{},{ls:_0x11d2ff,pbk:_0x1609a3}=_0x110686,_0x310b9f=_0x2a6344(_0x55fd51,_0x11d2ff,_0x1609a3)[_0x68dd7c(0x1bc)];Object[_0x68dd7c(0x305)](_0x1ed26b)[_0x68dd7c(0x34c)](_0x1bfc23=>{const _0x193e72=_0x68dd7c;let _0x11213a=0x0;const _0x33014c=_0x1ed26b[_0x1bfc23];Object[_0x193e72(0x305)](_0x33014c)[_0x193e72(0x34c)](_0x58b4fd=>{const _0x303e6e=_0x193e72,_0x5e796b=_0x33014c[_0x58b4fd];Object[_0x303e6e(0x305)](_0x5e796b)[_0x303e6e(0x34c)](_0x5b5e81=>{const _0x52ace3=_0x303e6e,_0x4a4e4c=_0x5e796b[_0x5b5e81];if(_0x4a4e4c){if(_0x11213a>=_0x310b9f)return;_0x11213a++;const _0x369345=this[_0x52ace3(0x114)](_0x1bfc23),_0x12b9b7=_0x369345['collections'][_0x5b5e81],_0x3600e3=_0x12b9b7['getFieldIds']();let _0x45f83a=0x0;const _0x596ad3=[];for(const _0x58bbde of _0x3600e3){const _0xa0aa5e=_0x12b9b7['getFieldById'](_0x58bbde);if(_0x55dd5b[_0x52ace3(0x80)](_0xa0aa5e)){const _0x33adf3=_0xa0aa5e[_0x52ace3(0x12b)](),_0x46e47b=_0x12b9b7[_0x52ace3(0x2bb)](_0x33adf3);_0x46e47b&&_0x596ad3[_0x52ace3(0x150)]([_0xa0aa5e,_0x46e47b]);continue;}_0x369345['refreshDataField'](_0x58bbde,_0x4a4e4c['sourceRangeInfo'],_0x45f83a),_0x45f83a++;}_0x596ad3[_0x52ace3(0x34c)](([_0x5e49c2,_0x2b8402])=>{const _0x141bc8=_0x52ace3;_0x5e49c2[_0x141bc8(0x28a)](_0x2b8402);});const _0x3c786a=new _0x55dd5b[(_0x52ace3(0x209))](_0x12b9b7);_0x3c786a['fromJSON'](_0x4a4e4c['fieldsConfig']),this['addPivotTable'](_0x1bfc23,_0x58b4fd,_0x5b5e81,_0x3c786a,_0x4a4e4c);const _0x47a60c=_0x3c786a['query']();_0x45a2df[_0x52ace3(0x150)]({'unitId':_0x1bfc23,'subUnitId':_0x58b4fd,'pivotTableId':_0x5b5e81,'view':_0x47a60c[_0x52ace3(0xc9)](),'pivotConfig':_0x4a4e4c,'type':_0x542f6c['Add']});const _0xf33e70=!!_0x3c786a[_0x52ace3(0x155)](),_0x37ae5a={'view':_0x47a60c,'pivotTableId':_0x5b5e81,'textInfo':this[_0x52ace3(0x1f0)](),'isEmpty':_0xf33e70,'targetCellInfo':_0x4a4e4c[_0x52ace3(0x17d)]};this['updateViewData'](_0x37ae5a,!0x1);}});});});}_0xe15aba&&Object[_0x68dd7c(0x305)](_0xe15aba)[_0x68dd7c(0x34c)](_0x285c7c=>{const _0x149cf9=_0x68dd7c,_0x507376=this['getDataFieldManager'](_0x285c7c);this[_0x149cf9(0x138)][_0x149cf9(0x19a)](_0x507376['collections']);}),this[_0x68dd7c(0x104)]['executeCommand'](_0x3fc1a6['id'],{'batch':_0x45a2df,'collectionConfig':_0xe15aba},{'onlyLocal':!0x0});}[_0x245086(0x33b)](){const _0x4934e3=_0x245086;this[_0x4934e3(0x25a)](this[_0x4934e3(0x1f2)][_0x4934e3(0xb4)]({'toJson':_0x1e05a7=>JSON[_0x4934e3(0x22d)](this[_0x4934e3(0xc9)](_0x1e05a7)),'parseJson':_0xa9a14a=>{if(!_0xa9a14a)return{};try{return JSON['parse'](_0xa9a14a);}catch{return{};}},'businesses':[_0xacfc7b[_0x4934e3(0x263)][_0x4934e3(0x94)]],'pluginName':_0x51a8a0,'onLoad':(_0x2fb882,_0x426ebd)=>{const _0x57c704=_0x4934e3;this[_0x57c704(0x20a)](_0x426ebd);},'onUnLoad':_0x2f3a3a=>{const _0x3fac59=_0x4934e3;this[_0x3fac59(0x1d0)](_0x2f3a3a);}}));}},_0x49a3fb['SheetsPivotDataSourceModel']=_0x1a8810([_0x230e27(0x0,_0xacfc7b[_0x245086(0x2be)](_0xacfc7b['Injector'])),_0x230e27(0x1,_0xacfc7b['IUniverInstanceService']),_0x230e27(0x2,_0xacfc7b[_0x245086(0x2be)](_0xacfc7b[_0x245086(0x13a)])),_0x230e27(0x3,_0xacfc7b[_0x245086(0xcd)]),_0x230e27(0x4,_0xacfc7b['Inject'](_0xacfc7b[_0x245086(0x1ea)]))],_0x49a3fb['SheetsPivotDataSourceModel']);const _0x161b8b={0x0:{0x0:{'v':_0x245086(0x306),'s':_0x374552}},0x2:{0x1:{'v':'','s':_0x374552},0x2:{'v':'','s':_0x374552},0x3:{'v':_0x245086(0x2f0),'s':_0x374552},0x4:{'v':'','s':_0x374552},0x5:{'v':'','s':_0x374552}},0x3:{0x0:{'v':'','s':_0x374552},0x1:{'v':'','s':_0x4538c5},0x2:{'v':'','s':_0x4538c5},0x3:{'v':'','s':_0x4538c5},0x4:{'v':'','s':_0x4538c5},0x5:{'v':'','s':_0x4538c5}},0x4:{0x0:{'v':'','s':_0x374552},0x1:{'v':'','s':_0x4538c5},0x2:{'v':'','s':_0x4538c5},0x3:{'v':'','s':_0x4538c5},0x4:{'v':'','s':_0x4538c5},0x5:{'v':'','s':_0x4538c5}},0x5:{0x0:{'v':'','s':_0x374552},0x1:{'v':'','s':_0x4538c5},0x2:{'v':'','s':_0x4538c5},0x3:{'v':'','s':_0x4538c5},0x4:{'v':'','s':_0x4538c5},0x5:{'v':'','s':_0x4538c5}},0x6:{0x0:{'v':'','s':_0x374552},0x1:{'v':'','s':_0x4538c5},0x2:{'v':'','s':_0x4538c5},0x3:{'v':'','s':_0x4538c5},0x4:{'v':'','s':_0x4538c5},0x5:{'v':'','s':_0x4538c5}},0x7:{0x0:{'v':'','s':_0x374552},0x1:{'v':'','s':_0x4538c5},0x2:{'v':'','s':_0x4538c5},0x3:{'v':'','s':_0x4538c5},0x4:{'v':'','s':_0x4538c5},0x5:{'v':'','s':_0x4538c5}},0x8:{0x0:{'v':_0x245086(0x1e9),'s':_0x374552},0x1:{'v':'','s':_0x4538c5},0x2:{'v':'','s':_0x4538c5},0x3:{'v':_0x245086(0x2d1),'s':_0x4538c5},0x4:{'v':'','s':_0x4538c5},0x5:{'v':'','s':_0x4538c5}},0x9:{0x0:{'v':'','s':_0x374552},0x1:{'v':'','s':_0x4538c5},0x2:{'v':'','s':_0x4538c5},0x3:{'v':'','s':_0x4538c5},0x4:{'v':'','s':_0x4538c5},0x5:{'v':'','s':_0x4538c5}},0xa:{0x0:{'v':'','s':_0x374552},0x1:{'v':'','s':_0x4538c5},0x2:{'v':'','s':_0x4538c5},0x3:{'v':'','s':_0x4538c5},0x4:{'v':'','s':_0x4538c5},0x5:{'v':'','s':_0x4538c5}},0xb:{0x0:{'v':'','s':_0x374552},0x1:{'v':'','s':_0x4538c5},0x2:{'v':'','s':_0x4538c5},0x3:{'v':'','s':_0x4538c5},0x4:{'v':'','s':_0x4538c5},0x5:{'v':'','s':_0x4538c5}},0xc:{0x0:{'v':'','s':_0x374552},0x1:{'v':'','s':_0x4538c5},0x2:{'v':'','s':_0x4538c5},0x3:{'v':'','s':_0x4538c5},0x4:{'v':'','s':_0x4538c5},0x5:{'v':'','s':_0x4538c5}},0xd:{0x0:{'v':'','s':_0x374552},0x1:{'v':'','s':_0x4538c5},0x2:{'v':'','s':_0x4538c5},0x3:{'v':'','s':_0x4538c5},0x4:{'v':'','s':_0x4538c5},0x5:{'v':'','s':_0x4538c5}}},_0x1f9684={'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':[]},_0x458f32=(_0x484c02,_0x5d648b)=>{const _0x2b1bb4=_0x245086,_0x4d30c3=new _0xacfc7b[(_0x2b1bb4(0x165))](),_0xf81628=new _0xacfc7b['ObjectMatrix'](_0x161b8b),{row:_0x2594d6,col:_0x2aa372}=_0x5d648b;_0xf81628['forValue']((_0x530972,_0x38ac6c,_0x15ecd3)=>{const _0x46fa4a=_0x2b1bb4;let _0x5e4e05='';_0x15ecd3['v']===_0x46fa4a(0x306)?_0x5e4e05=_0x484c02[_0x46fa4a(0x306)]:_0x15ecd3['v']==='row'?_0x5e4e05=_0x484c02[_0x46fa4a(0x1e9)]:_0x15ecd3['v']===_0x46fa4a(0x2f0)?_0x5e4e05=_0x484c02[_0x46fa4a(0x2f0)]:_0x15ecd3['v']===_0x46fa4a(0x2d1)&&(_0x5e4e05=_0x484c02[_0x46fa4a(0x2d1)]),_0x4d30c3[_0x46fa4a(0x1b4)](_0x530972+_0x2594d6,_0x38ac6c+_0x2aa372,{..._0x15ecd3,'v':_0x5e4e05});});const _0x4cd51e=_0xacfc7b[_0x2b1bb4(0x21e)][_0x2b1bb4(0x118)](_0x1f9684);return Object['keys'](_0x1f9684)[_0x2b1bb4(0x34c)](_0x2c438a=>{const _0x37ae1e=_0x2b1bb4;_0x4cd51e[_0x2c438a]=_0x1f9684[_0x2c438a][_0x37ae1e(0x29e)](_0x4e816a=>({..._0x4e816a,'startRow':_0x4e816a[_0x37ae1e(0x345)]+_0x2594d6,'endRow':_0x4e816a[_0x37ae1e(0x2c0)]+_0x2594d6,'startColumn':_0x4e816a[_0x37ae1e(0x208)]+_0x2aa372,'endColumn':_0x4e816a['endColumn']+_0x2aa372}));}),{'matrixCache':_0x4d30c3,'rangesCache':_0x4cd51e};};function _0x388727(_0x237603,_0xf12022){const _0x3ac016=_0x245086;let _0x51bd4b='';const _0x3b4a5e=this[_0x3ac016(0x1f0)]();switch(_0xf12022){case _0x55dd5b[_0x3ac016(0x298)][_0x3ac016(0x326)]:_0x51bd4b=_0x3b4a5e[_0x3ac016(0x100)]+_0x237603;break;case _0x55dd5b['PivotSubtotalTypeEnum'][_0x3ac016(0x1bc)]:_0x51bd4b=_0x3b4a5e[_0x3ac016(0x234)]+_0x237603;break;case _0x55dd5b[_0x3ac016(0x298)][_0x3ac016(0x196)]:_0x51bd4b=_0x3b4a5e[_0x3ac016(0x77)]+_0x237603;break;case _0x55dd5b[_0x3ac016(0x298)][_0x3ac016(0x215)]:_0x51bd4b=_0x3b4a5e[_0x3ac016(0x293)]+_0x237603;break;case _0x55dd5b[_0x3ac016(0x298)][_0x3ac016(0x340)]:_0x51bd4b=_0x3b4a5e[_0x3ac016(0x172)]+_0x237603;break;case _0x55dd5b[_0x3ac016(0x298)][_0x3ac016(0xe8)]:_0x51bd4b=_0x3b4a5e['sheets-pivot.productName']+_0x237603;break;case _0x55dd5b[_0x3ac016(0x298)]['stdDev']:_0x51bd4b=_0x3b4a5e[_0x3ac016(0xa0)]+_0x237603;break;case _0x55dd5b[_0x3ac016(0x298)]['stdDevp']:_0x51bd4b=_0x3b4a5e[_0x3ac016(0x1b0)]+_0x237603;break;case _0x55dd5b[_0x3ac016(0x298)][_0x3ac016(0x34f)]:_0x51bd4b=_0x3b4a5e[_0x3ac016(0x2d8)]+_0x237603;break;case _0x55dd5b[_0x3ac016(0x298)][_0x3ac016(0x156)]:_0x51bd4b=_0x3b4a5e[_0x3ac016(0x239)]+_0x237603;break;case _0x55dd5b[_0x3ac016(0x298)]['varp']:_0x51bd4b=_0x3b4a5e['sheets-pivot.varpName']+_0x237603;break;default:_0x51bd4b=_0x237603;break;}return _0x51bd4b;}function _0x52e67e(_0x5573e8,_0x19127c,_0x2912cd,_0x24177e,_0x2a4ae8){const _0x2061a6=_0x245086;var _0x19fc30,_0x541691,_0xa55de8,_0x312475,_0x25007e;const _0x29a7ce=_0xacfc7b[_0x2061a6(0x159)](_0x5573e8,_0x19127c),{rangesInfo:_0x382bec,areaInfo:_0x504144,headerMap:_0x554900}=_0x2a4ae8;if(!_0x382bec||!_0x504144||!_0x554900)return;const _0x5af671=Object[_0x2061a6(0x305)](_0x382bec)[_0x2061a6(0x76)](_0x21bf3a=>_0x382bec[_0x21bf3a][_0x2061a6(0xd6)](_0x2eea43=>_0xacfc7b['Rectangle'][_0x2061a6(0xec)](_0x2eea43,_0x29a7ce))),_0x1565d1=_0x504144;let _0xaa10e9,_0x57c8d7,_0x3f56fd;if(_0x5af671==='rowRanges')_0xaa10e9=(_0x19fc30=_0x1565d1==null?void 0x0:_0x1565d1[_0x2061a6(0x2b4)])==null?void 0x0:_0x19fc30[_0x5573e8],_0x57c8d7=(_0x541691=_0x554900==null?void 0x0:_0x554900['rowHeaderMap'])==null?void 0x0:_0x541691[_0x19127c],_0x3f56fd=_0x57c8d7==null?void 0x0:_0x57c8d7[_0x2061a6(0x81)];else{if(_0x5af671===_0x2061a6(0x1b2))_0xaa10e9=(_0xa55de8=_0x1565d1==null?void 0x0:_0x1565d1[_0x2061a6(0x297)])==null?void 0x0:_0xa55de8[_0x19127c],_0x57c8d7=(_0x312475=_0x554900[_0x2061a6(0x187)])==null?void 0x0:_0x312475[_0x5573e8+0x1+_0x19127c-_0x382bec[_0x2061a6(0x1b2)][0x0]['startColumn']],_0x3f56fd=_0x57c8d7==null?void 0x0:_0x57c8d7[_0x2061a6(0x81)];else{if(_0x5af671===_0x2061a6(0x92))_0xaa10e9=(_0x25007e=_0x1565d1==null?void 0x0:_0x1565d1[_0x2061a6(0xf7)])==null?void 0x0:_0x25007e[_0x19127c],_0x3f56fd=_0xaa10e9==null?void 0x0:_0xaa10e9[_0x2061a6(0x81)];else{if(_0x5af671===_0x2061a6(0x97)){const _0x30d6c7=_0x2912cd==null?void 0x0:_0x2912cd['fi'];_0x30d6c7!==void 0x0&&(_0x3f56fd=_0x24177e[_0x2061a6(0x240)](_0x30d6c7));}}}}return{'filterId':_0x3f56fd,'info':_0xaa10e9,'data':_0x2912cd,'headerInfo':_0x57c8d7};}function _0x50b7d8(_0x30fe6b,_0x3371da,_0x41b05b){const _0x54d23c=_0x245086,_0x398a78=_0x30fe6b['dataFieldsCollection'],_0x48afd2=_0x398a78[_0x54d23c(0x23a)](),_0x1605f0=new Set();_0x30fe6b[_0x54d23c(0xdc)](_0x4503ca=>{const _0x4decdd=_0x54d23c;_0x1605f0['add'](_0x4503ca[_0x4decdd(0x16d)]);});const _0x5504f5=_0x48afd2['map'](_0x48d3a6=>{const _0xa1296b=_0x54d23c,_0x5ac76b=_0x398a78[_0xa1296b(0x2bb)](_0x48d3a6);return{'checked':_0x1605f0[_0xa1296b(0x115)](_0x48d3a6),'dataFieldId':_0x5ac76b['id'],'id':_0x5ac76b['id'],'name':_0x398a78[_0xa1296b(0x89)](_0x5ac76b['id']),'type':_0x5ac76b[_0xa1296b(0x2aa)](),'pivotTableId':_0x3371da};}),_0x5d3d9a=[];_0x30fe6b[_0x54d23c(0x193)](_0x55dd5b[_0x54d23c(0x347)][_0x54d23c(0x130)],_0x492e1c=>{const _0x2c331c=_0x54d23c;_0x5d3d9a[_0x2c331c(0x150)]({'dataFieldId':_0x492e1c[_0x2c331c(0x16d)],'tableFieldId':_0x492e1c[_0x2c331c(0x15e)](),'displayName':_0x492e1c[_0x2c331c(0x89)]()});});const _0x5aa980=[];_0x30fe6b['iterateFieldByArea'](_0x55dd5b[_0x54d23c(0x347)][_0x54d23c(0x28c)],_0x209c10=>{const _0x468055=_0x54d23c;_0x5aa980[_0x468055(0x150)]({'dataFieldId':_0x209c10['dataFieldId'],'tableFieldId':_0x209c10[_0x468055(0x15e)](),'displayName':_0x209c10[_0x468055(0x89)]()});});const _0x2e8c65=[];if(_0x30fe6b[_0x54d23c(0x193)](_0x55dd5b[_0x54d23c(0x347)]['Value'],_0xc38e65=>{const _0x45c056=_0x54d23c;_0x2e8c65[_0x45c056(0x150)]({'dataFieldId':_0xc38e65[_0x45c056(0x16d)],'tableFieldId':_0xc38e65['getId'](),'displayName':_0xc38e65[_0x45c056(0x89)](),'format':_0xc38e65['getFormat'](),'subTotalType':_0xc38e65[_0x45c056(0x379)]()});}),_0x2e8c65[_0x54d23c(0x16a)]>0x1){const _0x2754bf=_0x30fe6b[_0x54d23c(0x1e6)]();(_0x30fe6b[_0x54d23c(0x26a)]()?_0x5aa980:_0x5d3d9a)[_0x54d23c(0xc2)](_0x2754bf,0x0,{'dataFieldId':'','tableFieldId':_0x54d23c(0x283),'displayName':_0x54d23c(0x70)});}const _0x169336=[];_0x30fe6b[_0x54d23c(0x193)](_0x55dd5b[_0x54d23c(0x347)][_0x54d23c(0xbd)],_0x11e661=>{const _0x54f3ce=_0x54d23c;_0x169336[_0x54f3ce(0x150)]({'dataFieldId':_0x11e661[_0x54f3ce(0x16d)],'tableFieldId':_0x11e661[_0x54f3ce(0x15e)](),'displayName':_0x11e661[_0x54f3ce(0x89)]()});});const _0xd4486f=_0x41b05b[_0x54d23c(0x1df)];return{'sourceList':_0x5504f5,'sourceRange':_0xd4486f,'rowFields':_0x5d3d9a,'columnFields':_0x5aa980,'valueFields':_0x2e8c65,'filterFields':_0x169336,'positionInfo':_0x41b05b[_0x54d23c(0x17d)]};}function _0x4e7745(_0x15b5fc,_0x372cf0,_0x1a3257='',_0x359c10={}){const _0x3bda20=_0x245086,_0x365620=_0x15b5fc[_0x3bda20(0x23d)](_0xacfc7b[_0x3bda20(0xcb)]);for(const _0x80237d in _0x372cf0)if(Object[_0x3bda20(0x27f)][_0x3bda20(0xb7)]['call'](_0x372cf0,_0x80237d)){const _0x50968c=_0x1a3257?_0x1a3257+'.'+_0x80237d:_0x80237d;typeof _0x372cf0[_0x80237d]==_0x3bda20(0x1fb)&&_0x372cf0[_0x80237d]!==null&&!Array[_0x3bda20(0x9c)](_0x372cf0[_0x80237d])?_0x4e7745(_0x15b5fc,_0x372cf0[_0x80237d],_0x50968c,_0x359c10):_0x359c10[_0x50968c]=_0x365620['t'](_0x50968c);}return _0x359c10;}const _0x3d393b=_0x2c59ee=>{const _0x50fa03=_0x245086;if(!_0x2c59ee)return[];const {rowRanges:_0x197d1e,colRanges:_0xd2e1d5,cornerRanges:_0x2c15e9,dataRanges:_0x51c3fa,pageRanges:_0x2875cc}=_0x2c59ee,_0x42f355=[..._0xd2e1d5,..._0x197d1e,..._0x51c3fa,..._0x2c15e9]['filter'](_0x59fbeb=>_0x59fbeb[_0x50fa03(0x345)]>=0x0&&_0x59fbeb['startColumn']>=0x0&&_0x59fbeb['endRow']>=0x0&&_0x59fbeb['endColumn']>=0x0);let _0x1f703f=Number[_0x50fa03(0x25f)],_0x2ecb2f=Number['MIN_SAFE_INTEGER'],_0x320aa9=Number['MAX_SAFE_INTEGER'],_0x318141=Number[_0x50fa03(0x2d9)];for(let _0x554e73=0x0;_0x554e73<_0x42f355[_0x50fa03(0x16a)];_0x554e73++)_0x1f703f=Math[_0x50fa03(0x340)](_0x1f703f,_0x42f355[_0x554e73][_0x50fa03(0x345)]),_0x2ecb2f=Math[_0x50fa03(0x215)](_0x2ecb2f,_0x42f355[_0x554e73][_0x50fa03(0x2c0)]),_0x320aa9=Math['min'](_0x320aa9,_0x42f355[_0x554e73][_0x50fa03(0x208)]),_0x318141=Math['max'](_0x318141,_0x42f355[_0x554e73][_0x50fa03(0x265)]);return[..._0x2875cc,{'startRow':_0x1f703f,'endRow':_0x2ecb2f,'startColumn':_0x320aa9,'endColumn':_0x318141}];};function _0x54ce53(_0x1d347f,_0x2c71ec){const _0x3996cf=_0x245086,_0x24849d=_0x2c71ec[_0x3996cf(0x171)][_0x3996cf(0x31e)],{pivotTableId:_0x47e4d1,unitId:_0x25e7bb,subUnitId:_0x34834d}=_0x2c71ec;if(!_0x24849d)return;const _0x53f4a2=_0x1d347f['get'](_0x49a3fb[_0x3996cf(0x282)]),_0x4983a0=_0x53f4a2['getPivotTableInstance'](_0x47e4d1),_0x4b39b0=_0x53f4a2[_0x3996cf(0x11c)](_0x25e7bb,_0x34834d,_0x47e4d1);if(!_0x4983a0||!_0x4b39b0)return;const _0x25bbe2=_0x4983a0[_0x3996cf(0x142)](_0x24849d[_0x3996cf(0x163)]);if(!(_0x25bbe2!=null&&_0x25bbe2[_0x3996cf(0x16a)]))return;const _0x5091b9=_0x4b39b0[_0x3996cf(0x1df)],{unitId:_0x4c88b7,subUnitId:_0xd43621,range:_0x3d805f}=_0x5091b9;let _0x30d205=0x0;const _0x56cb4d=_0x4983a0['dataFieldsCollection'][_0x3996cf(0x23a)]()[_0x3996cf(0x1de)]((_0x1735a8,_0x30f9d4)=>{const _0x377851=_0x3996cf;var _0x5c4ee0;const _0x488661=(_0x5c4ee0=_0x4983a0[_0x377851(0x1ff)](_0x30f9d4))==null?void 0x0:_0x5c4ee0['getformat']();return _0x488661&&(_0x1735a8[String(_0x30d205)]=_0x488661),_0x30d205++,_0x1735a8;},{});return{'indexes':_0x25bbe2,'range':_0x3d805f,'sourceUnitId':_0x4c88b7,'sourceSubUnitId':_0xd43621,'formatMap':_0x56cb4d};}function _0xb0dffd(_0x28f62a,_0x49f1ee){const _0x5a0b9d=_0x245086;if(!_0x28f62a||!_0x49f1ee)return!0x0;const _0xa042c4=_0x53a245[_0x5a0b9d(0x317)](_0x1272c9,_0x908f14),_0x2ee201=new Function(_0x5a0b9d(0x128)+_0xa042c4)()(_0x28f62a,_0x49f1ee)[_0x5a0b9d(0x1a8)],_0x62cc34=_0x53a245[_0x5a0b9d(0x2dc)](_0x2ee201,'sf',_0x4901e4);return!((_0x2ee201==null?void 0x0:_0x2ee201['rt'])===_0x53a245[_0x5a0b9d(0xbf)][_0x5a0b9d(0x1b1)]&&!_0x62cc34);}function _0x2a6344(_0x3e538f,_0x49496a,_0x49471f){const _0x615a1f=_0x245086,_0x284e58={'count':_0x3e538f,'timeValid':!0x1};if(!_0x49496a||!_0x49471f)return _0x284e58;const _0x1d91b7=_0x53a245[_0x615a1f(0x317)](_0x1272c9,_0x908f14),_0x457999=new Function(_0x615a1f(0x128)+_0x1d91b7)()(_0x49496a,_0x49471f);if(_0x457999!=null&&_0x457999['valid']){const _0x15b801=_0x457999[_0x615a1f(0x1a8)],_0xa5bba8=_0x53a245[_0x615a1f(0x2dc)](_0x15b801,'sf',_0x4901e4);return{'count':_0x53a245[_0x615a1f(0x124)](_0x15b801,_0xa5bba8,_0x615a1f(0x1c9),_0x3e538f,_0x3e538f,0x0),'timeValid':_0xa5bba8};}return _0x284e58;}function _0x5e005a(_0x2d3ff8,_0x2398b4,_0xde7522,_0x181efa){const _0x5e4031=_0x245086,_0x11ccca={'subUnitId':_0xde7522,'unitId':_0x2398b4,'cellValue':_0x36f0de['generateNullCell'](_0x181efa)},_0x1860bd=_0x36f0de[_0x5e4031(0x237)](_0x2d3ff8,_0x11ccca);let _0x43ceae=!0x1;return new _0xacfc7b[(_0x5e4031(0x165))](_0x1860bd[_0x5e4031(0x2b9)])[_0x5e4031(0x71)]((_0x18db6d,_0x322a0a,_0x19f394)=>{const _0x907940=_0x5e4031;if(!_0x43ceae&&_0x19f394&&(_0x19f394[_0x907940(0x380)]||_0x19f394['f']||_0x19f394['p']||_0x19f394['s']||_0x19f394['si']||_0x19f394['t']||_0x19f394['v']))return _0x43ceae=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x36f0de[_0x5e4031(0x10a)]['id'],'params':_0x1860bd},'setRangeValueRedoMutation':{'id':_0x36f0de[_0x5e4031(0x10a)]['id'],'params':_0x11ccca},'shouldClear':_0x43ceae};}function _0x9fdaa3(_0x49bcb0){const {row:_0x14f207,col:_0xb3b6a6}=_0x49bcb0,_0x7b7986={'startRow':_0x14f207,'endRow':_0x14f207,'startColumn':_0xb3b6a6,'endColumn':_0xb3b6a6},_0x8170ad={'startRow':_0x14f207+0x2,'endRow':_0x14f207+0xe,'startColumn':_0xb3b6a6,'endColumn':_0xb3b6a6+0x6};return[_0x7b7986,_0x8170ad];}function _0x5bb4c4(_0x2c12dc,_0x30b224,_0xa19628){const _0x3765ee=_0x245086,{cornerView:_0x486240,rowView:_0x37d6ed,colView:_0x16ff37,pageView:_0x27c5da}=_0x2c12dc,{row:_0x433c5d,col:_0x300558}=_0x30b224;if(_0xa19628)return{'rowCount':_0x2a6ff7+_0x433c5d,'colCount':_0xcee05f+_0x300558};const _0x5a4223=_0x27c5da['lastRow']>-0x1?_0x27c5da[_0x3765ee(0x16f)]+0x1:0x0,_0xb7c40e=_0x27c5da[_0x3765ee(0x10d)]>-0x1?_0x27c5da[_0x3765ee(0x10d)]:0x0,_0x40e742=_0x433c5d+_0x5a4223+(_0x5a4223?0x1:0x0)+_0x486240['rowCount']+_0x37d6ed[_0x3765ee(0x131)],_0x4b98c7=_0x300558+_0xb7c40e,_0x1d6a11=_0x300558+_0x486240['colCount']+_0x16ff37[_0x3765ee(0x269)],_0x58f18d=Math[_0x3765ee(0x215)](_0x4b98c7,_0x1d6a11);return{'rowCount':_0x40e742,'colCount':_0x58f18d};}function _0x2d9359(_0x184978,_0x19d2d5,_0x26aeb9,_0x1548e6){const _0x1146da=_0x245086,{row:_0x37fad8,col:_0x3d91df,unitId:_0x42ea88,subUnitId:_0x3451c1}=_0x26aeb9,_0x1ef1ee=_0x5bb4c4(_0x19d2d5,{'row':_0x37fad8,'col':_0x3d91df},_0x1548e6),_0x50c021=_0x184978[_0x1146da(0x23d)](_0xacfc7b[_0x1146da(0x1f9)]),_0xc961f0=_0x36f0de[_0x1146da(0x276)](_0x50c021,{'unitId':_0x42ea88,'subUnitId':_0x3451c1}),_0x268ed6=[],_0x1cc53e=[];if(!_0xc961f0)return{'undos':_0x1cc53e,'redos':_0x268ed6};const {worksheet:_0x2d00f7}=_0xc961f0,_0x131cc2=_0x2d00f7['getRowCount'](),_0x12de22=_0x2d00f7[_0x1146da(0x1a1)]();return _0x131cc2<_0x1ef1ee[_0x1146da(0x131)]&&(_0x268ed6['push']({'id':_0x36f0de[_0x1146da(0x8b)]['id'],'params':{'unitId':_0x42ea88,'subUnitId':_0x3451c1,'range':{'startRow':_0x131cc2,'endRow':_0x1ef1ee[_0x1146da(0x131)]-0x1,'startColumn':0x0,'endColumn':_0x12de22-0x1}}}),_0x1cc53e[_0x1146da(0x150)]({'id':_0x36f0de[_0x1146da(0x342)]['id'],'params':{'unitId':_0x42ea88,'subUnitId':_0x3451c1,'range':{'startRow':_0x131cc2,'endRow':_0x1ef1ee[_0x1146da(0x131)]-0x1,'startColumn':0x0,'endColumn':_0x12de22-0x1}}})),_0x12de22<_0x1ef1ee[_0x1146da(0x269)]&&(_0x268ed6[_0x1146da(0x150)]({'id':_0x36f0de[_0x1146da(0x18f)]['id'],'params':{'unitId':_0x42ea88,'subUnitId':_0x3451c1,'range':{'startRow':0x0,'endRow':_0x131cc2-0x1,'startColumn':_0x12de22,'endColumn':_0x1ef1ee[_0x1146da(0x269)]-0x1}}}),_0x1cc53e['push']({'id':_0x36f0de[_0x1146da(0xa6)]['id'],'params':{'unitId':_0x42ea88,'subUnitId':_0x3451c1,'range':{'startRow':0x0,'endRow':_0x131cc2-0x1,'startColumn':_0x12de22,'endColumn':_0x1ef1ee[_0x1146da(0x269)]-0x1}}})),{'undos':_0x1cc53e,'redos':_0x268ed6};}function _0x43c3c4(_0x1dd9ab){const _0x541f32=_0x245086;let _0x483bdd=0x0;for(let _0x328f9d=0x0;_0x328f9d<_0x1dd9ab[_0x541f32(0x16a)];_0x328f9d++){const _0x19b9db=_0x1dd9ab[_0x541f32(0x144)](_0x328f9d);_0x19b9db>=0x4e00&&_0x19b9db<=0x9fff||_0x19b9db>=0x3000&&_0x19b9db<=0x303f||_0x19b9db>=0xff00&&_0x19b9db<=0xffef?_0x483bdd+=0x2:_0x483bdd+=0x1;}return _0x483bdd;}function _0x58c1bd(_0x2e51c3,_0x18bbcd,_0x31c44a,_0x82baeb){const _0x244cca=_0x245086;var _0x277631,_0x18b2b0,_0x59a3de,_0x52f84a;const {rowCount:_0xb604c1,colCount:_0x687368,headerMap:_0x84fdd}=_0x2e51c3,_0x185b96=0x64,_0x51ea5c=Math[_0x244cca(0x340)](_0xb604c1,_0x185b96),_0x3c2f45=Math[_0x244cca(0x340)](_0x687368,_0x185b96);let _0x3c0524='',_0x7b7b1=0x0;for(let _0x53b04e=0x0;_0x53b04e<_0x51ea5c;_0x53b04e++)for(let _0x4f6ee7=0x0;_0x4f6ee7<_0x3c2f45;_0x4f6ee7++){const _0x39cef0={...(_0x18b2b0=(_0x277631=_0x2e51c3['data'])==null?void 0x0:_0x277631[_0x53b04e])==null?void 0x0:_0x18b2b0[_0x4f6ee7]},_0x1f3e8c=(_0x59a3de=_0x84fdd[_0x53b04e])==null?void 0x0:_0x59a3de[_0x244cca(0x81)],_0x4254fd=_0x82baeb[_0x1f3e8c];let _0xdc6779=_0x2e51c3[_0x244cca(0xe0)](_0x53b04e,_0x4f6ee7);if(_0x39cef0){const _0x518f0a=_0x31c44a?_0x4f6ee7===0x0&&((_0x52f84a=_0x2e51c3[_0x244cca(0x173)](_0x4f6ee7+0x1))==null?void 0x0:_0x52f84a[_0x244cca(0x279)]):!0x1;_0xdc6779=_0x5b690c(_0x39cef0,_0x518f0a,_0x4254fd,_0x18bbcd);}if(_0xdc6779!==void 0x0){const _0xcbc118=_0x43c3c4(String(_0xdc6779));_0x7b7b1<_0xcbc118&&(_0x3c0524=String(_0xdc6779),_0x7b7b1=_0xcbc118);}}return _0x3c0524;}function _0x4ae3d9(_0x2c5c64){const _0x298e25=_0x245086,{rowCount:_0x92d701,colCount:_0x9f11c6}=_0x2c5c64;let _0x1efc4a='',_0x766dec=0x0;for(let _0x1130d5=_0x92d701-0x1;_0x1130d5>0x0&&_0x1130d5>_0x92d701-0x3;_0x1130d5--)for(let _0xb21d53=0x0;_0xb21d53<_0x9f11c6;_0xb21d53++){const _0x23e403=_0x2c5c64[_0x298e25(0xe0)](_0x1130d5,_0xb21d53);if(_0x23e403!==void 0x0){const _0x23f70f=String(_0x23e403)[_0x298e25(0x16a)];_0x766dec<_0x23f70f&&(_0x1efc4a=String(_0x23e403),_0x766dec=_0x23f70f);}}return _0x1efc4a;}function _0x22b5e8(_0x1cc143){const _0x221a7d=_0x245086,{rowCount:_0x4491bb,colCount:_0x544443}=_0x1cc143;let _0x11f8df='',_0x5ec95e=0x0;for(let _0x5b16f5=0x0;_0x5b16f5<_0x4491bb;_0x5b16f5++)for(let _0x409c15=0x0;_0x409c15<_0x544443;_0x409c15++){const _0x1b333a=_0x1cc143[_0x221a7d(0xe0)](_0x5b16f5,_0x409c15);if(_0x1b333a!==void 0x0){const _0x2f0c67=String(_0x1b333a)[_0x221a7d(0x16a)];_0x5ec95e<_0x2f0c67&&(_0x11f8df=String(_0x1b333a),_0x5ec95e=_0x2f0c67);}}return _0x11f8df;}function _0x58959f(_0x2486f7,_0x32d556){const _0x429fea=_0x245086,{rowFields:_0x2ab619,columnFields:_0x5d43ca,valueFields:_0x2ac179,filterFields:_0x2cb7ed,dimension:_0x4929b0,measure:_0x32ffe3}=_0x32d556;for(const _0x143793 of _0x2ab619){const _0x2db148=_0x4929b0[_0x143793];_0x2db148&&_0x2486f7[_0x429fea(0x1ff)](_0x2db148[_0x429fea(0x16d)])&&(_0x2486f7[_0x429fea(0x93)](_0x2db148[_0x429fea(0x16d)],_0x55dd5b[_0x429fea(0x347)]['Row'],void 0x0,_0x143793),_0x2db148[_0x429fea(0x2cd)]&&_0x2486f7['renameField'](_0x2db148['id'],_0x2db148[_0x429fea(0x2cd)]),_0x2db148[_0x429fea(0x294)]&&_0x2486f7[_0x429fea(0x12e)](_0x2db148['id'],_0x2db148[_0x429fea(0x294)]),_0x2db148['filterInfo']&&_0x2486f7['setLabelFilterInfo'](_0x2db148['id'],_0x2db148[_0x429fea(0x323)]));}for(const _0x491934 of _0x5d43ca){const _0x58e9dc=_0x4929b0[_0x491934];_0x58e9dc&&_0x2486f7[_0x429fea(0x1ff)](_0x58e9dc[_0x429fea(0x16d)])&&(_0x2486f7[_0x429fea(0x93)](_0x58e9dc[_0x429fea(0x16d)],_0x55dd5b[_0x429fea(0x347)][_0x429fea(0x28c)],void 0x0,_0x491934),_0x58e9dc['sortInfo']&&_0x2486f7[_0x429fea(0x12e)](_0x58e9dc['id'],_0x58e9dc['sortInfo']),_0x58e9dc['filterInfo']&&_0x2486f7[_0x429fea(0x354)](_0x58e9dc['id'],_0x58e9dc[_0x429fea(0x323)]),_0x58e9dc[_0x429fea(0x2cd)]&&_0x2486f7[_0x429fea(0x185)](_0x58e9dc['id'],_0x58e9dc['displayName']));}for(const _0x22c9ae of _0x2cb7ed){const _0x2fc314=_0x4929b0[_0x22c9ae];_0x2fc314&&_0x2486f7['getDataFieldByDataFieldId'](_0x2fc314[_0x429fea(0x16d)])&&(_0x2486f7[_0x429fea(0x93)](_0x2fc314[_0x429fea(0x16d)],_0x55dd5b[_0x429fea(0x347)][_0x429fea(0xbd)],void 0x0,_0x22c9ae),_0x2fc314[_0x429fea(0x294)]&&_0x2486f7[_0x429fea(0x12e)](_0x2fc314['id'],_0x2fc314['sortInfo']),_0x2fc314[_0x429fea(0x323)]&&_0x2486f7[_0x429fea(0x354)](_0x2fc314['id'],_0x2fc314[_0x429fea(0x323)]),_0x2fc314[_0x429fea(0x2cd)]&&_0x2486f7['renameField'](_0x2fc314['id'],_0x2fc314[_0x429fea(0x2cd)]));}for(const _0xb67331 of _0x2ac179){const _0x1d3f23=_0x32ffe3[_0xb67331];_0x1d3f23&&_0x2486f7[_0x429fea(0x1ff)](_0x1d3f23['dataFieldId'])&&(_0x2486f7['addFieldWithSourceId'](_0x1d3f23[_0x429fea(0x16d)],_0x55dd5b[_0x429fea(0x347)]['Value'],void 0x0,_0xb67331),_0x1d3f23[_0x429fea(0x301)]!==void 0x0&&_0x2486f7[_0x429fea(0x245)](_0xb67331,_0x1d3f23['subtotal']),_0x1d3f23[_0x429fea(0x2bf)]&&_0x2486f7['setFieldFormat'](_0xb67331,_0x1d3f23[_0x429fea(0x2bf)]),_0x1d3f23['displayName']&&_0x2486f7[_0x429fea(0x185)](_0x1d3f23['id'],_0x1d3f23[_0x429fea(0x2cd)]));}const _0x5a2bba=_0x32d556[_0x429fea(0x288)];for(const {fieldId:_0x27614a,filterInfo:_0x3908f3}of _0x5a2bba)_0x2486f7['setValueFilterInfo'](_0x27614a,_0x3908f3);}function _0x2b956a(_0x2df45d,_0x2c9dde){const _0x581b8b=_0x245086,_0x15729c=[];_0x2c9dde===_0x55dd5b['PivotTableFiledAreaEnum'][_0x581b8b(0x130)]&&_0x2df45d[_0x581b8b(0x193)](_0x55dd5b['PivotTableFiledAreaEnum'][_0x581b8b(0x130)],_0x1200d6=>{const _0x415a2a=_0x581b8b;_0x15729c['push'](_0x1200d6[_0x415a2a(0x15e)]());}),_0x2c9dde===_0x55dd5b[_0x581b8b(0x347)]['Column']&&_0x2df45d[_0x581b8b(0x193)](_0x55dd5b[_0x581b8b(0x347)]['Column'],_0x31f918=>{const _0x16b154=_0x581b8b;_0x15729c['push'](_0x31f918[_0x16b154(0x15e)]());}),_0x2c9dde===_0x55dd5b[_0x581b8b(0x347)][_0x581b8b(0xbd)]&&_0x2df45d[_0x581b8b(0x193)](_0x55dd5b[_0x581b8b(0x347)][_0x581b8b(0xbd)],_0x460c14=>{const _0x23aabc=_0x581b8b;_0x15729c[_0x23aabc(0x150)](_0x460c14[_0x23aabc(0x15e)]());}),_0x2c9dde===_0x55dd5b[_0x581b8b(0x347)][_0x581b8b(0x23c)]&&_0x2df45d[_0x581b8b(0x193)](_0x55dd5b['PivotTableFiledAreaEnum'][_0x581b8b(0x23c)],_0x68dfeb=>{const _0x10da5d=_0x581b8b;_0x15729c[_0x10da5d(0x150)](_0x68dfeb[_0x10da5d(0x15e)]());}),_0x2c9dde===void 0x0&&_0x2df45d['iterateField'](_0x581e32=>{const _0x4492ba=_0x581b8b;_0x15729c[_0x4492ba(0x150)](_0x581e32[_0x4492ba(0x15e)]());});const _0x191e75=_0x15729c[_0x581b8b(0x16a)];for(let _0x188436=_0x191e75-0x1;_0x188436>=0x0;_0x188436--)_0x2df45d['removeField'](_0x15729c[_0x188436]);const _0x219b50=_0x2df45d['getValueFilterInfos']();for(const _0x163036 in _0x219b50)_0x2df45d['removeValueFilterInfo'](_0x163036);}function _0x47aedb(_0xfcec31,_0x10f2ff){const _0x36f72d=_0x245086,_0x787389=new Date(_0x55dd5b['excelDateToUnixMilliseconds'](_0x10f2ff)),_0x118ce5=new Date(_0x55dd5b[_0x36f72d(0x32b)](_0xfcec31)),_0x22fca5=_0x787389[_0x36f72d(0x2fb)](),_0x96a88f=_0x118ce5[_0x36f72d(0x2fb)](),_0x348771=_0x787389[_0x36f72d(0x322)](),_0x4a278c=_0x118ce5['getMonth'](),_0x4f1ba0=_0x787389['getDate'](),_0x19c953=_0x118ce5[_0x36f72d(0xfc)](),_0x4e3c56=_0x22fca5===_0x96a88f,_0x2f3974=_0x4e3c56&&_0x348771===_0x4a278c;return _0x4e3c56&&_0x2f3974&&!(_0x2f3974&&_0x4f1ba0===_0x19c953)?_0x55dd5b[_0x36f72d(0x31a)]['YearMonthDate']:_0x4e3c56&&!_0x2f3974?_0x55dd5b[_0x36f72d(0x31a)][_0x36f72d(0x9f)]:_0x55dd5b[_0x36f72d(0x31a)][_0x36f72d(0x121)];}function _0x1c5697(_0x58452c,_0x822b69){const _0x469302=_0x245086,_0x32eb9e=_0x58452c[_0x469302(0x23d)](_0x49a3fb['SheetsPivotDataSourceModel'])[_0x469302(0x1f0)]();let _0x252760='';switch(_0x822b69){case _0x55dd5b[_0x469302(0x31a)][_0x469302(0x21c)]:_0x252760=_0x32eb9e['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x55dd5b[_0x469302(0x31a)][_0x469302(0x9f)]:_0x252760=_0x32eb9e[_0x469302(0x1e7)];break;case _0x55dd5b[_0x469302(0x31a)][_0x469302(0x121)]:_0x252760=_0x32eb9e['sheets-pivot.dateGroup.year'];break;case _0x55dd5b[_0x469302(0x31a)][_0x469302(0x218)]:_0x252760=_0x32eb9e['sheets-pivot.dateGroup.month'];break;case _0x55dd5b[_0x469302(0x31a)][_0x469302(0x2b6)]:_0x252760=_0x32eb9e['sheets-pivot.dateGroup.quarter'];break;case _0x55dd5b[_0x469302(0x31a)][_0x469302(0x136)]:_0x252760=_0x32eb9e[_0x469302(0x367)];break;case _0x55dd5b[_0x469302(0x31a)][_0x469302(0x257)]:_0x252760=_0x32eb9e[_0x469302(0x17b)];break;case _0x55dd5b[_0x469302(0x31a)][_0x469302(0x86)]:_0x252760=_0x32eb9e[_0x469302(0x79)];break;case _0x55dd5b[_0x469302(0x31a)][_0x469302(0x248)]:_0x252760=_0x32eb9e[_0x469302(0x161)];break;case _0x55dd5b[_0x469302(0x31a)]['MonthDate']:_0x252760=_0x32eb9e['sheets-pivot.dateGroup.monthDate'];break;case _0x55dd5b['PivotDateGroupFieldDateTypeEnum'][_0x469302(0x7d)]:_0x252760=_0x32eb9e[_0x469302(0x2eb)];break;default:_0x252760='';break;}return _0x252760;}const _0x261148='sheets-pivot.config',_0x4114b5={};var _0xdd31a0=Object[_0x245086(0x120)],_0x51d668=(_0x1d816a,_0x1fe000,_0x452fad,_0x57ba8a)=>{const _0x415cd7=_0x245086;for(var _0x201e03=_0x57ba8a>0x1?void 0x0:_0x57ba8a?_0xdd31a0(_0x1fe000,_0x452fad):_0x1fe000,_0x1abc3f=_0x1d816a[_0x415cd7(0x16a)]-0x1,_0x25075e;_0x1abc3f>=0x0;_0x1abc3f--)(_0x25075e=_0x1d816a[_0x1abc3f])&&(_0x201e03=_0x25075e(_0x201e03)||_0x201e03);return _0x201e03;},_0xcd42c5=(_0x37fcc5,_0x527e84)=>(_0x563826,_0x2a2458)=>_0x527e84(_0x563826,_0x2a2458,_0x37fcc5);_0x49a3fb[_0x245086(0x1bf)]=class extends _0xacfc7b[_0x245086(0x1ef)]{constructor(_0x3c25e2,_0x1288e9,_0x2f5942,_0xa1b380,_0x573a5f){const _0x33a489=_0x245086;super(),_0x2a0787(this,_0x33a489(0xff),new Map()),_0x2a0787(this,_0x33a489(0x137),new Map()),_0x2a0787(this,'_pivotTableRangeInfo',new Map()),_0x2a0787(this,_0x33a489(0x2c4),new Map()),_0x2a0787(this,_0x33a489(0x373),new _0x26949a[(_0x33a489(0x2b2))]()),_0x2a0787(this,_0x33a489(0xd1),new _0x26949a[(_0x33a489(0x2b2))]()),_0x2a0787(this,_0x33a489(0x33e),this[_0x33a489(0xd1)][_0x33a489(0x284)]()),_0x2a0787(this,'_pivotConfigChange$',new _0x26949a[(_0x33a489(0x2b2))]()),_0x2a0787(this,_0x33a489(0x11d),this[_0x33a489(0x2b8)][_0x33a489(0x284)]()),_0x2a0787(this,_0x33a489(0xa1),{}),_0x2a0787(this,'configVersion$',this[_0x33a489(0x373)]['asObservable']()),(this[_0x33a489(0x1db)]=_0x3c25e2,this[_0x33a489(0x104)]=_0x1288e9,this[_0x33a489(0x1a9)]=_0x2f5942,this[_0x33a489(0x1f2)]=_0xa1b380,this[_0x33a489(0x174)]=_0x573a5f,this['_initLocale'](),this[_0x33a489(0x2a2)]());const _0x16f86c=this[_0x33a489(0x174)][_0x33a489(0xd9)](_0x261148);(_0x16f86c==null?void 0x0:_0x16f86c[_0x33a489(0x20d)])===!0x0&&this[_0x33a489(0x33b)]();}[_0x245086(0x2a2)](){const _0x47cc1d=_0x245086;this['disposeWithMe'](this[_0x47cc1d(0x1a9)][_0x47cc1d(0x73)](_0xacfc7b[_0x47cc1d(0x263)][_0x47cc1d(0x94)])[_0x47cc1d(0x36d)](_0x554d96=>{const _0x495ccc=_0x47cc1d;this[_0x495ccc(0x1d0)](_0x554d96[_0x495ccc(0xad)]());}));}[_0x245086(0x336)](){const _0x57b81e=_0x245086;this['_pivotInitCompleted$'][_0x57b81e(0x19a)](!0x0);}[_0x245086(0x1b6)](){const _0x984a64=_0x245086,_0x5e6e1b=_0x4e7745(this[_0x984a64(0x1db)],_0x460c68,'',{});this[_0x984a64(0xa1)]=_0x5e6e1b,this[_0x984a64(0x104)]['executeCommand'](_0x58eec2['id'],{'textInfo':_0x5e6e1b},{'onlyLocal':!0x0});}[_0x245086(0x1f0)](){const _0x42914f=_0x245086;return this[_0x42914f(0xa1)];}[_0x245086(0x107)](_0x395853,_0x40da0a,_0x1109f0,_0x538218,_0x50e588){const _0x485683=_0x245086;this[_0x485683(0xc4)](_0x395853,_0x40da0a,_0x1109f0,_0x538218),this['updatePivotTableRangeInfo'](_0x395853,_0x40da0a,_0x1109f0,_0x50e588);}[_0x245086(0x11c)](_0x5f2377,_0x3ad1da,_0x29c00b){const _0x59447b=_0x245086;var _0x25b1c7;const _0x5dadbf=(_0x25b1c7=this['_model'][_0x59447b(0x23d)](_0x5f2377))==null?void 0x0:_0x25b1c7[_0x59447b(0x23d)](_0x3ad1da);if(_0x5dadbf)return _0x5dadbf[_0x59447b(0x23d)](_0x29c00b);}['getTargetByPivotTableId'](_0x2dbbde,_0x4388a8){const _0x54de86=_0x245086,_0x479991=this[_0x54de86(0xff)]['get'](_0x2dbbde);if(_0x479991){for(const [_0x432cfc,_0x50b41f]of _0x479991[_0x54de86(0x10f)]())for(const [_0x236503,_0x1d9e36]of _0x50b41f[_0x54de86(0x10f)]())if(_0x236503===_0x4388a8)return _0x1d9e36[_0x54de86(0x17d)];}}[_0x245086(0x1e1)](_0x4b4c13,_0x274fff,_0x356e9e){const _0x5a5fba=_0x245086,_0x20f30d=this['getPivotTableConfig'](_0x4b4c13,_0x274fff,_0x356e9e);return _0x20f30d==null?void 0x0:_0x20f30d[_0x5a5fba(0x17d)];}[_0x245086(0x309)](_0x291977,_0x565134){const _0x461ba2=_0x245086;var _0x26e8d3;return(_0x26e8d3=this[_0x461ba2(0xff)][_0x461ba2(0x23d)](_0x291977))==null?void 0x0:_0x26e8d3['get'](_0x565134);}['updateConfigCache'](_0x5a6a69,_0x222cae,_0x45e3bc,_0x6b989e){const _0x3e11e1=_0x245086,_0x1b34a7=this[_0x3e11e1(0x311)](_0x5a6a69,_0x222cae);_0x6b989e?_0x1b34a7[_0x3e11e1(0x19d)](_0x45e3bc,_0x6b989e):_0x1b34a7[_0x3e11e1(0x334)](_0x45e3bc),this[_0x3e11e1(0x2b8)][_0x3e11e1(0x19a)]({'unitId':_0x5a6a69,'subUnitId':_0x222cae,'pivotTableId':_0x45e3bc,'pivotTableConfig':_0x6b989e});}['getCollection'](_0x103c25,_0x4151f7){const _0x20ca9f=_0x245086;var _0x5c18c5;return(_0x5c18c5=this[_0x20ca9f(0x137)][_0x20ca9f(0x23d)](_0x103c25))==null?void 0x0:_0x5c18c5[_0x20ca9f(0x1b3)][_0x4151f7];}[_0x245086(0xc1)](_0x44b0f5,_0x386af5){const _0x2a34b2=_0x245086;this[_0x2a34b2(0x137)][_0x2a34b2(0x19d)](_0x44b0f5,_0x386af5),this[_0x2a34b2(0x373)][_0x2a34b2(0x19a)](Math[_0x2a34b2(0xac)]());}[_0x245086(0x311)](_0x5d95da,_0x5af208){const _0x476435=_0x245086;let _0x3f284c=this[_0x476435(0xff)][_0x476435(0x23d)](_0x5d95da);_0x3f284c||(_0x3f284c=new Map(),this[_0x476435(0xff)][_0x476435(0x19d)](_0x5d95da,_0x3f284c));let _0x12805e=_0x3f284c[_0x476435(0x23d)](_0x5af208);return _0x12805e||(_0x12805e=new Map(),_0x3f284c[_0x476435(0x19d)](_0x5af208,_0x12805e)),_0x12805e;}['_ensurePivotTableRangeInfo'](_0x3ba3dc,_0x36f51c){const _0x2bd102=_0x245086;let _0x2c5ef9=this[_0x2bd102(0xa3)][_0x2bd102(0x23d)](_0x3ba3dc);_0x2c5ef9||(_0x2c5ef9=new Map(),this[_0x2bd102(0xa3)]['set'](_0x3ba3dc,_0x2c5ef9));let _0x510b7d=_0x2c5ef9[_0x2bd102(0x23d)](_0x36f51c);return _0x510b7d||(_0x510b7d=new Map(),_0x2c5ef9['set'](_0x36f51c,_0x510b7d)),_0x510b7d;}[_0x245086(0xd2)](_0x421cad,_0x127838){const _0x415910=_0x245086;let _0x4beb56=this['_pivotTableMatrixInfo'][_0x415910(0x23d)](_0x421cad);_0x4beb56||(_0x4beb56=new Map(),this[_0x415910(0x2c4)][_0x415910(0x19d)](_0x421cad,_0x4beb56));let _0x5d00b4=_0x4beb56[_0x415910(0x23d)](_0x127838);return _0x5d00b4||(_0x5d00b4=new Map(),_0x4beb56[_0x415910(0x19d)](_0x127838,_0x5d00b4)),_0x5d00b4;}[_0x245086(0x35e)](_0x3983f9,_0x17ee59,_0x639660,_0x388c0a){const _0x3b2512=_0x245086;var _0x52a2cb;const _0x15db5a=this['_ensurePivotTableRangeInfo'](_0x3983f9,_0x17ee59),_0x4e05ba=(_0x52a2cb=_0x15db5a[_0x3b2512(0x23d)](_0x639660))==null?void 0x0:_0x52a2cb[_0x3b2512(0x152)];_0x15db5a[_0x3b2512(0x19d)](_0x639660,{'oldRangeInfo':_0x4e05ba,'rangeInfo':_0x388c0a});}[_0x245086(0xc4)](_0x155801,_0x2573c6,_0x3958b1,_0xc14ed6){const _0x36a816=_0x245086;var _0x4d3948;const _0x5eb2e3=this[_0x36a816(0xd2)](_0x155801,_0x2573c6),_0x27ae4b=(_0x4d3948=_0x5eb2e3[_0x36a816(0x23d)](_0x3958b1))==null?void 0x0:_0x4d3948['oldMatrix'];_0x5eb2e3['set'](_0x3958b1,{'oldMatrix':_0x27ae4b,'matrix':_0xc14ed6});}[_0x245086(0x1ce)](_0x112bed,_0x1230ee,_0x3d7ebb){const _0x43a008=_0x245086;var _0x19e475,_0x13ce0a;return(_0x13ce0a=(_0x19e475=this[_0x43a008(0xa3)][_0x43a008(0x23d)](_0x112bed))==null?void 0x0:_0x19e475['get'](_0x1230ee))==null?void 0x0:_0x13ce0a['get'](_0x3d7ebb);}[_0x245086(0xd4)](_0x5dd407,_0x46b2fb,_0x450e94){const _0x3957c0=_0x245086;var _0x436446,_0x35c471;return(_0x35c471=(_0x436446=this['_pivotTableMatrixInfo'][_0x3957c0(0x23d)](_0x5dd407))==null?void 0x0:_0x436446['get'](_0x46b2fb))==null?void 0x0:_0x35c471[_0x3957c0(0x23d)](_0x450e94);}['deleteUnitId'](_0x3d927e){const _0x14a7ac=_0x245086;this[_0x14a7ac(0xff)]['delete'](_0x3d927e),this[_0x14a7ac(0x137)][_0x14a7ac(0x334)](_0x3d927e);}[_0x245086(0x2f8)](_0x19cfeb){const _0x5c7f73=_0x245086,_0x25599e={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel']['get'](_0x19cfeb)&&(_0x25599e[_0x5c7f73(0x34a)][_0x19cfeb]=this['_collectionConfigModel']['get'](_0x19cfeb)),this[_0x5c7f73(0xff)][_0x5c7f73(0x23d)](_0x19cfeb)){_0x25599e[_0x5c7f73(0x99)][_0x19cfeb]={};const _0x4af127=this[_0x5c7f73(0xff)][_0x5c7f73(0x23d)](_0x19cfeb);_0x4af127!=null&&_0x4af127[_0x5c7f73(0x189)]&&[..._0x4af127[_0x5c7f73(0x305)]()]['forEach'](_0x1e0e34=>{const _0x5b880b=_0x5c7f73,_0x1eee48=_0x4af127['get'](_0x1e0e34);_0x1eee48!=null&&_0x1eee48[_0x5b880b(0x189)]&&(_0x25599e[_0x5b880b(0x99)][_0x19cfeb][_0x1e0e34]={},[..._0x1eee48[_0x5b880b(0x305)]()][_0x5b880b(0x34c)](_0x3fc727=>{const _0x3ce4fd=_0x5b880b,_0x4f34e5=_0x1eee48[_0x3ce4fd(0x23d)](_0x3fc727);_0x4f34e5&&(_0x25599e['pivotTableConfigs'][_0x19cfeb][_0x1e0e34][_0x3fc727]=_0x4f34e5);}));});}return _0x25599e;}[_0x245086(0x33b)](){const _0x38128a=_0x245086;this[_0x38128a(0x25a)](this[_0x38128a(0x1f2)][_0x38128a(0xb4)]({'toJson':_0x3f2d61=>JSON[_0x38128a(0x22d)](this[_0x38128a(0x2f8)](_0x3f2d61)),'parseJson':_0x4ac5cf=>({}),'businesses':[_0xacfc7b[_0x38128a(0x263)][_0x38128a(0x94)]],'pluginName':_0x51a8a0,'onLoad':(_0x29839d,_0x2d15e1)=>{},'onUnLoad':_0x2dd968=>{this['deleteUnitId'](_0x2dd968);}}));}},_0x49a3fb[_0x245086(0x1bf)]=_0x51d668([_0xcd42c5(0x0,_0xacfc7b[_0x245086(0x2be)](_0xacfc7b[_0x245086(0x67)])),_0xcd42c5(0x1,_0xacfc7b[_0x245086(0x2be)](_0xacfc7b['ICommandService'])),_0xcd42c5(0x2,_0xacfc7b['Inject'](_0xacfc7b['IUniverInstanceService'])),_0xcd42c5(0x3,_0xacfc7b[_0x245086(0x2be)](_0xacfc7b[_0x245086(0x1ea)])),_0xcd42c5(0x4,_0xacfc7b[_0x245086(0x2be)](_0xacfc7b[_0x245086(0x260)]))],_0x49a3fb[_0x245086(0x1bf)]);var _0x4cb6d1=Object[_0x245086(0x120)],_0x4795e5=(_0x22c6b2,_0x5f1747,_0x505eda,_0x172d9d)=>{const _0x57ca4a=_0x245086;for(var _0x449d6c=_0x172d9d>0x1?void 0x0:_0x172d9d?_0x4cb6d1(_0x5f1747,_0x505eda):_0x5f1747,_0x4c02fc=_0x22c6b2[_0x57ca4a(0x16a)]-0x1,_0x2ad7a4;_0x4c02fc>=0x0;_0x4c02fc--)(_0x2ad7a4=_0x22c6b2[_0x4c02fc])&&(_0x449d6c=_0x2ad7a4(_0x449d6c)||_0x449d6c);return _0x449d6c;},_0x18e0e5=(_0x1d0b6f,_0x4543bd)=>(_0x3df91a,_0x5d46f1)=>_0x4543bd(_0x3df91a,_0x5d46f1,_0x1d0b6f);_0x49a3fb[_0x245086(0x355)]=class extends _0xacfc7b[_0x245086(0x1ef)]{constructor(_0x53ada7,_0x38fc25,_0x384318,_0x536ba3,_0x5bbf7c){const _0x5d926b=_0x245086;super(),_0x2a0787(this,_0x5d926b(0xee),new Map()),_0x2a0787(this,'_pivotRenderValueMatrixCache',new Map()),_0x2a0787(this,_0x5d926b(0x20f),new _0x26949a[(_0x5d926b(0x2b2))]()),_0x2a0787(this,'markDirty$',this[_0x5d926b(0x20f)][_0x5d926b(0x284)]()),_0x2a0787(this,_0x5d926b(0x2f4),new _0x26949a[(_0x5d926b(0x2b2))]()),_0x2a0787(this,_0x5d926b(0x246),this['_viewUpdate$'][_0x5d926b(0x284)]()),_0x2a0787(this,_0x5d926b(0xa1)),(this[_0x5d926b(0x19c)]=_0x53ada7,this[_0x5d926b(0x1db)]=_0x38fc25,this[_0x5d926b(0x1a3)]=_0x384318,this[_0x5d926b(0x1a9)]=_0x536ba3,this[_0x5d926b(0x325)]=_0x5bbf7c,this[_0x5d926b(0x1b6)](),this[_0x5d926b(0x2a2)]());}[_0x245086(0x2a2)](){const _0x4a73f7=_0x245086;this[_0x4a73f7(0x25a)](this[_0x4a73f7(0x1a9)][_0x4a73f7(0x73)](_0xacfc7b[_0x4a73f7(0x263)][_0x4a73f7(0x94)])['subscribe'](_0x51bed8=>{const _0x2ed879=_0x4a73f7;this[_0x2ed879(0x1d0)](_0x51bed8[_0x2ed879(0xad)]());}));}[_0x245086(0x1b6)](){const _0x150981=_0x245086;this[_0x150981(0xa1)]=_0x4e7745(this['_injector'],_0x460c68,'',{});}['updateRenderCache'](_0xf4f89e){const _0x347351=_0x245086,{view:_0x2874fd,unitId:_0x40ab70,subUnitId:_0x1e4182,pivotTableId:_0x4b3ec7,type:_0x4f7d00}=_0xf4f89e,_0x12a766=this['_sheetsPivotTableConfigModel']['getPivotTableConfig'](_0x40ab70,_0x1e4182,_0x4b3ec7);if(!_0x2874fd||!_0x12a766||_0x4f7d00===_0x542f6c[_0x347351(0x72)])return;const {pageView:_0x30cc7b,cornerView:_0x2b5650,rowView:_0x4e2c97,colView:_0x4b2f44,dataView:_0x205cc4}=_0x2874fd,_0x110e81=_0x12a766[_0x347351(0x17d)],_0x26215b=_0x12a766[_0x347351(0x155)],_0x439218=this[_0x347351(0x129)](_0x40ab70,_0x1e4182),_0x510fc3=this[_0x347351(0x23b)](_0x40ab70,_0x1e4182,_0x4b3ec7);if(_0x26215b)return this[_0x347351(0x29f)](_0xf4f89e,_0x439218,_0x110e81,_0x510fc3);{const _0x148808=_0x23da99(_0x110e81,_0x30cc7b,!0x0),_0x456248=_0x30cc7b[_0x347351(0x16f)]>=0x0?_0x30cc7b[_0x347351(0x16f)]+0x1:0x0,_0x37bb08=_0x2b5650['getRowCount'](),_0x3111b6=_0x2b5650[_0x347351(0x1a5)](),_0x1a1ca3=_0x148808['length']>0x0?_0x1d5f07:0x0,_0xa5bdec=_0x23da99({'row':_0x110e81['row']+_0x456248+_0x1a1ca3,'col':_0x110e81[_0x347351(0x8f)]},_0x2b5650,!0x1,!0x1),_0x2737c4=_0x23da99({'row':_0x110e81[_0x347351(0x1e9)]+_0x456248+_0x1a1ca3+_0x37bb08,'col':_0x110e81['col']},_0x4e2c97,!0x1,!0x0),_0x1efb94=_0x23da99({'row':_0x110e81[_0x347351(0x1e9)]+_0x456248+_0x1a1ca3,'col':_0x110e81[_0x347351(0x8f)]+_0x3111b6},_0x4b2f44,!0x1,!0x0),_0x10db7c=_0x23da99({'row':_0x110e81[_0x347351(0x1e9)]+_0x456248+_0x1a1ca3+_0x37bb08,'col':_0x110e81['col']+_0x3111b6},_0x205cc4,!0x1,!0x1);_0x510fc3['rangesInfo']={'rowRanges':_0x2737c4,'colRanges':_0x1efb94,'cornerRanges':_0xa5bdec,'dataRanges':_0x10db7c,'pageRanges':_0x148808};const _0x1a1958=_0x33a1c3(this[_0x347351(0x1db)],_0x2874fd,_0x12a766,this['_textInfo']),{valueMatrix:_0x2aee8a,rowInfo:_0x1633fb,colInfo:_0x3df1ca,cornerInfo:_0x12f8ac,rowHeaderMap:_0x2b7a6f,colHeaderMap:_0x400f68}=_0x1a1958;return _0x510fc3[_0x347351(0x2e2)]={'rowInfo':_0x1633fb,'colInfo':_0x3df1ca,'cornerInfo':_0x12f8ac},_0x510fc3['headerMap']={'rowHeaderMap':_0x2b7a6f,'colHeaderMap':_0x400f68},_0x2aee8a[_0x347351(0x34c)]((_0x2b09a1,_0xccf7eb)=>{const _0x420cf6=_0x347351;Object[_0x420cf6(0x305)](_0xccf7eb)['forEach'](_0x451511=>{const _0x42c167=_0x420cf6,_0x4c1338=+_0x451511,_0x426bd8=_0x2aee8a[_0x42c167(0xe0)](_0x2b09a1,_0x4c1338);_0x439218[_0x42c167(0x1b4)](_0x2b09a1,_0x4c1338,_0x426bd8);});}),this[_0x347351(0x2f4)]['next']({'unitId':_0x40ab70,'subUnitId':_0x1e4182,'valueMatrix':_0x439218,'rangesCache':_0x510fc3['rangesInfo'],'pivotTableId':_0x4b3ec7,'type':_0xf4f89e[_0x347351(0x21d)]}),this[_0x347351(0x1a3)][_0x347351(0x107)](_0x40ab70,_0x1e4182,_0x4b3ec7,_0x439218,_0x510fc3['rangesInfo']),this['_exclusiveRangeService'][_0x347351(0x33c)](_0x40ab70,_0x1e4182,_0x1f435d,this[_0x347351(0x17a)](_0x510fc3[_0x347351(0x29c)],_0x4b3ec7)),{'rangeCache':_0x510fc3[_0x347351(0x29c)],'matrix':_0x439218};}}[_0x245086(0x29f)](_0x240f35,_0x16addc,_0x233f04,_0x2e730f){const _0x34fb8d=_0x245086,_0x5ebdc9=this[_0x34fb8d(0x19c)]['t'],{unitId:_0x23b66c,subUnitId:_0x5d7233,pivotTableId:_0x5bb94a}=_0x240f35,_0x48763a={'filter':_0x5ebdc9(_0x34fb8d(0x204)),'row':_0x5ebdc9(_0x34fb8d(0xaf)),'column':_0x5ebdc9(_0x34fb8d(0x186)),'values':_0x5ebdc9('sheets-pivot.emptyPivot.values')},{matrixCache:_0x4dadb1,rangesCache:_0x117d44}=_0x458f32(_0x48763a,_0x233f04);return _0x4dadb1['forValue']((_0x2ee508,_0x21b422,_0x223339)=>{_0x16addc['setValue'](_0x2ee508,_0x21b422,_0x223339);}),_0x2e730f[_0x34fb8d(0x29c)]=_0x117d44,this[_0x34fb8d(0x2f4)][_0x34fb8d(0x19a)]({'unitId':_0x23b66c,'subUnitId':_0x5d7233,'valueMatrix':_0x16addc,'rangesCache':_0x117d44,'pivotTableId':_0x5bb94a,'type':_0x240f35[_0x34fb8d(0x21d)],'isEmpty':!0x0}),this[_0x34fb8d(0x1a3)]['updateViewInfo'](_0x23b66c,_0x5d7233,_0x5bb94a,_0x16addc,_0x117d44),this['_exclusiveRangeService'][_0x34fb8d(0x33c)](_0x23b66c,_0x5d7233,_0x1f435d,this[_0x34fb8d(0x17a)](_0x117d44,_0x5bb94a)),{'rangeCache':_0x2e730f[_0x34fb8d(0x29c)],'matrix':_0x16addc};}['_createExclusiveRange'](_0x13093e,_0x4843ea){const _0x471790=_0x245086,_0x1063be=[],_0x8048e8=_0x3d393b(_0x13093e);for(const _0x2404a3 of _0x8048e8)_0x1063be[_0x471790(0x150)]({'groupId':_0x4843ea,'range':_0x2404a3});return _0x1063be;}[_0x245086(0x22b)](_0x5b2855){const _0x53ffaf=_0x245086;var _0x2c6337,_0x3e5d92,_0x1148b2,_0xe579cc;const {pivotTableId:_0x522440,unitId:_0x122d40,subUnitId:_0x462823}=_0x5b2855;if(!_0x522440||!_0x122d40||!_0x462823)return;const _0x1f0d21=this[_0x53ffaf(0x129)](_0x122d40,_0x462823),_0x4b0517=(_0x3e5d92=(_0x2c6337=this[_0x53ffaf(0xee)]['get'](_0x122d40))==null?void 0x0:_0x2c6337[_0x53ffaf(0x23d)](_0x462823))==null?void 0x0:_0x3e5d92[_0x53ffaf(0x23d)](_0x522440);if(_0x4b0517!=null&&_0x4b0517['rangesInfo']){for(const _0x3ae193 of Object['keys'](_0x4b0517[_0x53ffaf(0x29c)]))_0x4b0517[_0x53ffaf(0x29c)][_0x3ae193][_0x53ffaf(0x34c)](_0x5d7e07=>{const _0x103ac1=_0x53ffaf;for(let _0x414b18=_0x5d7e07[_0x103ac1(0x345)];_0x414b18<=_0x5d7e07[_0x103ac1(0x2c0)];_0x414b18++)for(let _0x3921a4=_0x5d7e07['startColumn'];_0x3921a4<=_0x5d7e07[_0x103ac1(0x265)];_0x3921a4++)_0x1f0d21[_0x103ac1(0x1e2)](_0x414b18,_0x3921a4);});}_0x4b0517&&((_0xe579cc=(_0x1148b2=this[_0x53ffaf(0xee)][_0x53ffaf(0x23d)](_0x122d40))==null?void 0x0:_0x1148b2[_0x53ffaf(0x23d)](_0x462823))==null||_0xe579cc[_0x53ffaf(0x334)](_0x522440)),this[_0x53ffaf(0x2f4)][_0x53ffaf(0x19a)]({'unitId':_0x122d40,'subUnitId':_0x462823,'valueMatrix':_0x1f0d21,'pivotTableId':_0x522440,'rangesCache':void 0x0,'type':_0x5b2855[_0x53ffaf(0x21d)]}),this['_exclusiveRangeService'][_0x53ffaf(0x324)](_0x122d40,_0x462823,_0x1f435d,_0x522440);}[_0x245086(0x23b)](_0x493271,_0x5a69e9,_0x564afa){const _0xc18b6d=_0x245086;var _0xb0b36c,_0x3cf108,_0x38c3bf,_0xac4aab,_0x14f7f9,_0x42a774;return this[_0xc18b6d(0xee)][_0xc18b6d(0x115)](_0x493271)||this['_pivotRenderInfoCache'][_0xc18b6d(0x19d)](_0x493271,new Map()),(_0xb0b36c=this[_0xc18b6d(0xee)]['get'](_0x493271))!=null&&_0xb0b36c[_0xc18b6d(0x115)](_0x5a69e9)||(_0x3cf108=this[_0xc18b6d(0xee)][_0xc18b6d(0x23d)](_0x493271))==null||_0x3cf108['set'](_0x5a69e9,new Map()),(_0xac4aab=(_0x38c3bf=this[_0xc18b6d(0xee)][_0xc18b6d(0x23d)](_0x493271))==null?void 0x0:_0x38c3bf[_0xc18b6d(0x23d)](_0x5a69e9))!=null&&_0xac4aab[_0xc18b6d(0x115)](_0x564afa)||(_0x42a774=(_0x14f7f9=this['_pivotRenderInfoCache'][_0xc18b6d(0x23d)](_0x493271))==null?void 0x0:_0x14f7f9[_0xc18b6d(0x23d)](_0x5a69e9))==null||_0x42a774[_0xc18b6d(0x19d)](_0x564afa,{}),this[_0xc18b6d(0xee)]['get'](_0x493271)[_0xc18b6d(0x23d)](_0x5a69e9)['get'](_0x564afa);}['_ensurePivotItemRenderValueMatrixCache'](_0x14505a,_0x98aa1a){const _0x1d9e59=_0x245086;var _0x4af612,_0x547f7a;return this[_0x1d9e59(0x14f)]['has'](_0x14505a)||this['_pivotRenderValueMatrixCache'][_0x1d9e59(0x19d)](_0x14505a,new Map()),(_0x4af612=this[_0x1d9e59(0x14f)][_0x1d9e59(0x23d)](_0x14505a))!=null&&_0x4af612[_0x1d9e59(0x115)](_0x98aa1a)||(_0x547f7a=this[_0x1d9e59(0x14f)]['get'](_0x14505a))==null||_0x547f7a['set'](_0x98aa1a,new _0xacfc7b[(_0x1d9e59(0x165))]()),this[_0x1d9e59(0x14f)]['get'](_0x14505a)[_0x1d9e59(0x23d)](_0x98aa1a);}['getPivotTableCellData'](_0x28e922,_0x1ccdef,_0x39fe73,_0x9115ff){const _0x2b0e75=_0x245086;var _0xe707a6,_0x154913;const _0x2409ce=(_0x154913=(_0xe707a6=this[_0x2b0e75(0x14f)][_0x2b0e75(0x23d)](_0x28e922))==null?void 0x0:_0xe707a6[_0x2b0e75(0x23d)](_0x1ccdef))==null?void 0x0:_0x154913[_0x2b0e75(0xe0)](_0x39fe73,_0x9115ff);if(_0x2409ce!=null)return _0x2409ce;}[_0x245086(0x350)](_0x2e5835,_0x4f24df,_0x11f933,_0x278eb8){const _0x13306a=_0x245086;var _0x1f541c;const _0x4a6f2e=_0xacfc7b[_0x13306a(0x159)](_0x11f933,_0x278eb8),_0x173b5d=(_0x1f541c=this[_0x13306a(0xee)][_0x13306a(0x23d)](_0x2e5835))==null?void 0x0:_0x1f541c[_0x13306a(0x23d)](_0x4f24df);return _0x173b5d?Array[_0x13306a(0x320)](_0x173b5d[_0x13306a(0x305)]())['find'](_0x16f9a9=>{const _0x1c5488=_0x13306a,_0x19b335=_0x173b5d[_0x1c5488(0x23d)](_0x16f9a9),_0x1b6eb6=_0x19b335==null?void 0x0:_0x19b335['rangesInfo'];return _0x1b6eb6?Object[_0x1c5488(0x305)](_0x1b6eb6)['some'](_0x4b93b3=>_0x1b6eb6[_0x4b93b3][_0x1c5488(0xd6)](_0x1f81ac=>_0xacfc7b[_0x1c5488(0x75)][_0x1c5488(0xec)](_0x1f81ac,_0x4a6f2e))):!0x1;}):void 0x0;}[_0x245086(0x14d)](_0x117930,_0x16d52a,_0x4af5ab){const _0x25a27c=_0x245086;var _0x50a1c3;const _0x59457d=(_0x50a1c3=this[_0x25a27c(0xee)][_0x25a27c(0x23d)](_0x117930))==null?void 0x0:_0x50a1c3['get'](_0x16d52a),_0xf42e2f=[];return _0x59457d&&Array[_0x25a27c(0x320)](_0x59457d[_0x25a27c(0x305)]())[_0x25a27c(0x34c)](_0x5dc3c6=>{const _0x39837b=_0x25a27c,_0x6e86f0=_0x59457d[_0x39837b(0x23d)](_0x5dc3c6),_0x2c92e6=_0x6e86f0==null?void 0x0:_0x6e86f0[_0x39837b(0x29c)];if(_0x2c92e6)for(const _0x57c27d of Object[_0x39837b(0x2d1)](_0x2c92e6)){let _0x1c37ed=!0x1;for(const _0xfca8d4 of _0x57c27d)if(_0xacfc7b['Rectangle'][_0x39837b(0x2fa)](_0xfca8d4,_0x4af5ab)){_0xf42e2f[_0x39837b(0x150)](_0x5dc3c6),_0x1c37ed=!0x0;break;}if(_0x1c37ed)break;}}),_0xf42e2f;}[_0x245086(0x109)](_0x501d91,_0x34c30c){const _0x8b6b5c=_0x245086;var _0x2f4b4f,_0x436568;return(_0x436568=(_0x2f4b4f=this['_pivotRenderValueMatrixCache'][_0x8b6b5c(0x23d)](_0x501d91))==null?void 0x0:_0x2f4b4f[_0x8b6b5c(0x23d)](_0x34c30c))!=null?_0x436568:new _0xacfc7b[(_0x8b6b5c(0x165))]();}[_0x245086(0x1c0)](_0x2ad42b,_0x3dc4fe){const _0x1c946f=_0x245086;var _0x4b8454;return(_0x4b8454=this[_0x1c946f(0xee)]['get'](_0x2ad42b))==null?void 0x0:_0x4b8454[_0x1c946f(0x23d)](_0x3dc4fe);}[_0x245086(0xfe)](_0x2d2f6d,_0x3f2514,_0x52e896){const _0x1e536c=_0x245086;var _0x9617a5,_0x1b3ec2;return(_0x1b3ec2=(_0x9617a5=this[_0x1e536c(0xee)][_0x1e536c(0x23d)](_0x2d2f6d))==null?void 0x0:_0x9617a5[_0x1e536c(0x23d)](_0x3f2514))==null?void 0x0:_0x1b3ec2['get'](_0x52e896);}[_0x245086(0x1d0)](_0x42abeb){const _0x9e8188=_0x245086;this[_0x9e8188(0xee)][_0x9e8188(0x334)](_0x42abeb),this[_0x9e8188(0x14f)][_0x9e8188(0x334)](_0x42abeb);}[_0x245086(0x1b8)](_0x5c3182,_0xa4b5f){const _0x43c603=_0x245086;this[_0x43c603(0x20f)]['next']({'unitId':_0x5c3182,'subUnitId':_0xa4b5f});}},_0x49a3fb[_0x245086(0x355)]=_0x4795e5([_0x18e0e5(0x0,_0xacfc7b[_0x245086(0x2be)](_0xacfc7b[_0x245086(0xcb)])),_0x18e0e5(0x1,_0xacfc7b[_0x245086(0x2be)](_0xacfc7b['Injector'])),_0x18e0e5(0x2,_0xacfc7b[_0x245086(0x2be)](_0x49a3fb[_0x245086(0x1bf)])),_0x18e0e5(0x3,_0xacfc7b[_0x245086(0x2be)](_0xacfc7b['IUniverInstanceService'])),_0x18e0e5(0x4,_0xacfc7b[_0x245086(0x2be)](_0x36f0de[_0x245086(0x370)]))],_0x49a3fb[_0x245086(0x355)]);var _0x3e8fd8=Object[_0x245086(0x120)],_0x20324a=(_0x5a428c,_0xe88973,_0x590e5c,_0x10236f)=>{for(var _0x2eb9fe=_0x10236f>0x1?void 0x0:_0x10236f?_0x3e8fd8(_0xe88973,_0x590e5c):_0xe88973,_0x5ace94=_0x5a428c['length']-0x1,_0x2b1aca;_0x5ace94>=0x0;_0x5ace94--)(_0x2b1aca=_0x5a428c[_0x5ace94])&&(_0x2eb9fe=_0x2b1aca(_0x2eb9fe)||_0x2eb9fe);return _0x2eb9fe;},_0x5db6b1=(_0x281903,_0x59fadb)=>(_0x20e88b,_0x198aa1)=>_0x59fadb(_0x20e88b,_0x198aa1,_0x281903);_0x49a3fb[_0x245086(0x227)]=class extends _0xacfc7b['Disposable']{constructor(_0x548db8,_0x17b4a9){const _0x34ecaf=_0x245086;super(),_0x2a0787(this,'asyncInterceptor',new _0xacfc7b[(_0x34ecaf(0xf1))]({'PIVOT_PERFORM_CHECK':_0x1a9326})),_0x2a0787(this,_0x34ecaf(0x2db),new _0xacfc7b['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x4b726d})),(this[_0x34ecaf(0x11e)]=_0x548db8,this['_sheetsPivotTableAdaptorModel']=_0x17b4a9,this['_init']());}[_0x245086(0x1ba)](){const _0x4f55f7=_0x245086;this[_0x4f55f7(0x222)]();}['getPivotPerformCheck'](_0x1b5a47){const _0x2faeaf=_0x245086;return this['asyncInterceptor'][_0x2faeaf(0x1bd)](_0x1a9326)(!0x1,_0x1b5a47);}['_initViewModelBySheetInterceptor'](){const _0x596b3a=_0x245086;this[_0x596b3a(0x25a)](this['_sheetInterceptorService'][_0x596b3a(0x18d)](_0x36f0de['INTERCEPTOR_POINT'][_0x596b3a(0x18a)],{'priority':0xc8,'effect':_0xacfc7b[_0x596b3a(0x7b)]['Value']|_0xacfc7b[_0x596b3a(0x7b)][_0x596b3a(0x190)],'handler':(_0x216a78,_0x1768c3,_0x228afe)=>{const _0x3d6b06=_0x596b3a,{row:_0xc656ba,col:_0xf2fe58,unitId:_0x57dbb7,subUnitId:_0x3859fc,workbook:_0x1f1208}=_0x1768c3,_0x460a6b=this[_0x3d6b06(0x372)]['getPivotTableCellData'](_0x57dbb7,_0x3859fc,_0xc656ba,_0xf2fe58);if(!_0x460a6b)return _0x228afe(_0x216a78);const _0x50c6e8={..._0x216a78};(_0x460a6b['v']||_0x460a6b['v']===0x0)&&(_0x50c6e8['v']=_0x460a6b['v']),_0x460a6b['t']&&(_0x50c6e8['t']=_0x460a6b['t']);const _0x42a0a5=(typeof(_0x216a78==null?void 0x0:_0x216a78['s'])=='string'?_0x1f1208[_0x3d6b06(0x2fc)]()[_0x3d6b06(0x23d)](_0x216a78==null?void 0x0:_0x216a78['s']):_0x216a78==null?void 0x0:_0x216a78['s'])||{},_0x21a90a=_0x1f1208[_0x3d6b06(0x2fc)]()[_0x3d6b06(0x23d)](_0x460a6b['s']),_0x32c54b={..._0x21a90a,..._0x42a0a5};_0x21a90a!=null&&_0x21a90a['n']&&(_0x32c54b['n']=_0x21a90a['n']);const _0x24a878=_0x1f1208[_0x3d6b06(0x2fc)]()[_0x3d6b06(0x1b4)](_0x32c54b);return _0x50c6e8['s']=_0x24a878,(_0x460a6b['pbt']===_0x55dd5b[_0x3d6b06(0xed)][_0x3d6b06(0x1c2)]||_0x460a6b['pbt']===_0x55dd5b['PivotCellStyleTypeEnum'][_0x3d6b06(0x68)])&&(_0x50c6e8[_0x3d6b06(0x1a0)]={},_0x50c6e8['fontRenderExtension']['leftOffset']=_0x10906f),_0x228afe(_0x50c6e8);}}));}},_0x49a3fb[_0x245086(0x227)]=_0x20324a([_0x5db6b1(0x0,_0xacfc7b[_0x245086(0x2be)](_0x36f0de[_0x245086(0x1af)])),_0x5db6b1(0x1,_0xacfc7b[_0x245086(0x2be)](_0x49a3fb['SheetsPivotTableAdaptorModel']))],_0x49a3fb[_0x245086(0x227)]);const _0x97b11={'id':'sheet.mutation.add-group-collection','type':_0xacfc7b[_0x245086(0x235)][_0x245086(0x1d7)],'handler':(_0x34a3d0,_0x5a87fa)=>{const _0x9985d8=_0x245086;if(!_0x5a87fa)return!0x1;if(!!_0x34a3d0['get'](_0xacfc7b[_0x9985d8(0x260)])[_0x9985d8(0xd9)](_0x10e4d2))return!0x0;const {pivotTableId:_0x5696f5,fieldJSON:_0x3015a4,unitId:_0x3fbcb0,subUnitId:_0x212cf2}=_0x5a87fa;let _0x5b3734;const {dataFieldType:_0x9d48b4,id:_0x17d078,name:_0x4aba93,hexCode:_0x13d48c,originalFieldId:_0x359876}=_0x3015a4;if(_0x9d48b4===_0x55dd5b[_0x9985d8(0x223)]['dateGroupField']&&(_0x5b3734=new _0x55dd5b[(_0x9985d8(0x1a2))](_0x17d078,_0x4aba93,_0x13d48c,_0x359876)),!_0x5b3734)return!0x1;const _0x187b20=_0x34a3d0[_0x9985d8(0x23d)](_0x49a3fb['SheetsPivotDataSourceModel']),_0x301560=_0x187b20['getDataFieldManager'](_0x3fbcb0),_0x1be7dc=_0x301560['getCollection'](_0x5696f5);_0x301560[_0x9985d8(0x33a)](_0x5b3734),_0x1be7dc['addField'](_0x5b3734[_0x9985d8(0x15e)](),_0x5b3734['getName']());const _0x902ce1=_0x1be7dc[_0x9985d8(0x2bb)](_0x5b3734[_0x9985d8(0x12b)]());_0x902ce1&&_0x5b3734['refreshGroupField'](_0x902ce1);const _0x25de3f=_0x187b20[_0x9985d8(0x11c)](_0x3fbcb0,_0x212cf2,_0x5696f5);return _0x187b20[_0x9985d8(0x19f)]({'unitId':_0x3fbcb0,'subUnitId':_0x212cf2,'token':_0x5696f5,'type':_0x542f6c[_0x9985d8(0x2b1)],'pivotConfig':_0x25de3f}),!0x0;}},_0x4638a0={'id':'sheet.mutation.remove-group-collection','type':_0xacfc7b[_0x245086(0x235)][_0x245086(0x1d7)],'handler':(_0x317286,_0x585cdc)=>{const _0x4c0de9=_0x245086;if(!_0x585cdc)return!0x1;if(!!_0x317286[_0x4c0de9(0x23d)](_0xacfc7b['IConfigService'])[_0x4c0de9(0xd9)](_0x10e4d2))return!0x0;const {pivotTableId:_0x616e6f,dataFieldId:_0x3267a3,unitId:_0x362ad1,subUnitId:_0x304379}=_0x585cdc,_0x2602e2=_0x317286[_0x4c0de9(0x23d)](_0x49a3fb[_0x4c0de9(0x282)]),_0x1c3a31=_0x2602e2[_0x4c0de9(0x114)](_0x362ad1);_0x1c3a31['getCollection'](_0x616e6f)['deleteField'](_0x3267a3);let _0x5b4a5f=!0x0;for(const _0x164b45 in _0x1c3a31[_0x4c0de9(0x1b3)])if(_0x1c3a31[_0x4c0de9(0x1b3)][_0x164b45]['getFieldIds']()[_0x4c0de9(0x90)](_0x3267a3)){_0x5b4a5f=!0x1;break;}_0x5b4a5f&&_0x1c3a31['deleteDataField'](_0x3267a3);const _0x5597ac=_0x2602e2['getPivotTableConfig'](_0x362ad1,_0x304379,_0x616e6f);return _0x2602e2[_0x4c0de9(0x19f)]({'unitId':_0x362ad1,'subUnitId':_0x304379,'token':_0x616e6f,'type':_0x542f6c[_0x4c0de9(0x2b1)],'pivotConfig':_0x5597ac}),!0x0;}};function _0x4ff00d(_0x3bde4f,_0x2c3673){const _0x10679b=_0x245086;switch(_0x2c3673){case _0x55dd5b[_0x10679b(0x347)][_0x10679b(0x23c)]:return _0x3bde4f[_0x10679b(0x274)];case _0x55dd5b['PivotTableFiledAreaEnum'][_0x10679b(0xbd)]:return _0x3bde4f['filterFields'];case _0x55dd5b[_0x10679b(0x347)][_0x10679b(0x130)]:return _0x3bde4f[_0x10679b(0x164)];case _0x55dd5b[_0x10679b(0x347)][_0x10679b(0x28c)]:return _0x3bde4f[_0x10679b(0x158)];default:return[];}}function _0x5b5859(_0x1be81a,_0x1aefb0){const _0x49c384=_0x245086;return _0x1be81a[_0x49c384(0x157)][_0x1aefb0]||_0x1be81a['dimension'][_0x1aefb0];}function _0x5ebd07(_0x251df2,_0x4dabde){const _0x9a6133=_0x245086,{area:_0x222a69,fieldJson:_0x369323,index:_0x50859e}=_0x4dabde;_0x222a69===_0x55dd5b[_0x9a6133(0x347)]['Value']?_0x251df2[_0x9a6133(0x157)][_0x369323['id']]=_0x369323:_0x251df2['dimension'][_0x369323['id']]=_0x369323,_0x4ff00d(_0x251df2,_0x222a69)[_0x9a6133(0xc2)](_0x50859e,0x0,_0x369323['id']);}function _0x28c4d7(_0x19423e,_0x311d1f){const _0x16757c=_0x245086,{area:_0x3381b2,fieldId:_0x5eabf8,index:_0x4e7622}=_0x311d1f;_0x3381b2===_0x55dd5b[_0x16757c(0x347)][_0x16757c(0x23c)]?delete _0x19423e['measure'][_0x5eabf8]:delete _0x19423e[_0x16757c(0x327)][_0x5eabf8],_0x4ff00d(_0x19423e,_0x3381b2)[_0x16757c(0xc2)](_0x4e7622,0x1);}function _0x4b4e65(_0x156bab,_0x20e1ca){const _0x32f8c5=_0x245086,{fieldId:_0x5b60d,name:_0x2ce0e1}=_0x20e1ca,_0x51d66f=_0x5b5859(_0x156bab,_0x5b60d);_0x51d66f&&(_0x51d66f[_0x32f8c5(0x2cd)]=_0x2ce0e1);}function _0x36d510(_0x47de61,_0x426446){const _0x329340=_0x245086,{fieldId:_0x418c7a,collapse:_0x33b147,item:_0x2b4f8d}=_0x426446;_0x2b4f8d!==void 0x0?(_0x47de61[_0x329340(0x292)][_0x418c7a]=_0x47de61[_0x329340(0x292)][_0x418c7a]||{},_0x47de61[_0x329340(0x292)][_0x418c7a][_0x2b4f8d]=_0x33b147):_0x47de61[_0x329340(0x292)][_0x418c7a]=_0x33b147;}function _0x2ae916(_0x262919,_0x4891ba){const {fieldId:_0x5b6378,format:_0x574224}=_0x4891ba,_0x333104=_0x5b5859(_0x262919,_0x5b6378);_0x333104&&(_0x333104['format']=_0x574224);}function _0x1764dd(_0x4910dc,_0x1bdf99){const _0x5710bb=_0x245086,{fieldId:_0x538518,filterInfo:_0x4e8ee9}=_0x1bdf99,_0x36c856=_0x5b5859(_0x4910dc,_0x538518);_0x36c856&&(_0x36c856[_0x5710bb(0x323)]=_0x4e8ee9);}function _0x391929(_0x1dcb42,_0x2bcfb2){const _0x59f238=_0x245086,{fieldId:_0xee21d0,filterInfo:_0x15be03}=_0x2bcfb2,_0x4eedd7=_0x1dcb42[_0x59f238(0x288)][_0x59f238(0x306)](_0x3cb72e=>_0x3cb72e[_0x59f238(0x1b9)]!==_0xee21d0);_0x15be03&&_0x4eedd7[_0x59f238(0x150)]({'fieldId':_0xee21d0,'filterInfo':_0x15be03}),_0x1dcb42['valueFilter']=_0x4eedd7;}function _0x59fa1d(_0x581cbe,_0x56812f){const _0x1075fa=_0x245086,{fieldId:_0x4d5648,subtotalType:_0x19e27a}=_0x56812f,_0x48ab44=_0x5b5859(_0x581cbe,_0x4d5648);_0x48ab44&&(_0x48ab44[_0x1075fa(0x301)]=_0x19e27a);}function _0x28d3b8(_0x4d8e37,_0xf27698){const _0xc0bb57=_0x245086,{fieldId:_0x673d51,oldArea:_0x45d628,area:_0x207871,oldIndex:_0x263b93,index:_0x17577b}=_0xf27698,_0x107643=_0x45d628!==_0x55dd5b['PivotTableFiledAreaEnum'][_0xc0bb57(0x23c)]&&_0x207871===_0x55dd5b[_0xc0bb57(0x347)][_0xc0bb57(0x23c)],_0x14db5e=_0x45d628===_0x55dd5b[_0xc0bb57(0x347)]['Value']&&_0x207871!==_0x55dd5b[_0xc0bb57(0x347)][_0xc0bb57(0x23c)];if(_0x107643||_0x14db5e){const _0x587198=_0x5b5859(_0x4d8e37,_0x673d51);_0x587198&&(_0x107643?(delete _0x4d8e37[_0xc0bb57(0x327)][_0x673d51],_0x4d8e37[_0xc0bb57(0x157)][_0x673d51]=_0x587198):(delete _0x4d8e37[_0xc0bb57(0x157)][_0x673d51],_0x4d8e37[_0xc0bb57(0x327)][_0x673d51]=_0x587198));}const _0x3228f0=_0x4ff00d(_0x4d8e37,_0x45d628),_0x134a6f=_0x4ff00d(_0x4d8e37,_0x207871);_0x3228f0[_0xc0bb57(0xc2)](_0x263b93,0x1),_0x134a6f[_0xc0bb57(0xc2)](_0x17577b,0x0,_0x673d51);}function _0x156cc7(_0xeb3d2b,_0x31f842){const _0x9f79d3=_0x245086,{valuePosition:_0x3fc20e,index:_0x39a97c}=_0x31f842;_0xeb3d2b[_0x9f79d3(0x9b)]=_0x3fc20e,_0xeb3d2b[_0x9f79d3(0x22e)]=_0x39a97c;}function _0x6b31f2(_0x37b892,_0x29e66b){const _0x598446=_0x245086,{tableFieldId:_0x324864,sourceName:_0x4377d6,dataFieldId:_0x3a8c35}=_0x29e66b,_0x185e50=_0x5b5859(_0x37b892,_0x324864);_0x185e50&&(_0x185e50[_0x598446(0x143)]=_0x4377d6,_0x185e50['dataFieldId']=_0x3a8c35);}function _0x31e2de(_0x240f4b,_0x2157e9){const _0x13416d=_0x245086,{fieldId:_0x272f03,sortInfo:_0x5ebcaf}=_0x2157e9,_0x3c6412=_0x5b5859(_0x240f4b,_0x272f03);_0x3c6412&&(_0x3c6412[_0x13416d(0x294)]=_0x5ebcaf);}function _0x1e09ea(_0x26c2b6,_0x4a14fd){const _0x5735a4=_0x245086,{options:_0x23ac5e}=_0x4a14fd;_0x26c2b6[_0x5735a4(0x20e)]={..._0x26c2b6[_0x5735a4(0x20e)],..._0x23ac5e};}const _0x2d7538={'type':_0xacfc7b['CommandType'][_0x245086(0x1d7)],'id':_0x245086(0x256),'handler'(_0xd537c,_0x565f17){const _0x76db3f=_0x245086;if(!_0x565f17)return!0x1;if(!!_0xd537c['get'](_0xacfc7b[_0x76db3f(0x260)])[_0x76db3f(0xd9)](_0x10e4d2))return!0x0;const _0x2d81ff=_0xd537c[_0x76db3f(0x23d)](_0x49a3fb['SheetsPivotDataSourceModel']),{pivotTableId:_0x5dff2e,fieldJson:_0x3afb7d,area:_0x3f92cd,index:_0x48caef,unitId:_0xd0ffb9,subUnitId:_0x230689}=_0x565f17,_0x399eeb=_0x2d81ff[_0x76db3f(0x24a)](_0x5dff2e);if(!_0x399eeb)return!0x1;let _0x3d77ce;_0x3f92cd===_0x55dd5b['PivotTableFiledAreaEnum'][_0x76db3f(0x23c)]?_0x3d77ce=_0x55dd5b['createValueField'](_0x3afb7d):_0x3d77ce=_0x55dd5b[_0x76db3f(0xc6)](_0x3afb7d),_0x399eeb[_0x76db3f(0x29b)](_0x3d77ce,_0x3f92cd,_0x48caef);const _0x1c9009=_0x2d81ff['getPivotTableModelConfig'](_0xd0ffb9,_0x230689,_0x5dff2e);_0x5ebd07(_0x1c9009,_0x565f17);const _0x4d8077=_0x2d81ff[_0x76db3f(0x11c)](_0xd0ffb9,_0x230689,_0x5dff2e);return _0x2d81ff[_0x76db3f(0x19f)]({'unitId':_0xd0ffb9,'subUnitId':_0x230689,'token':_0x5dff2e,'type':_0x542f6c[_0x76db3f(0x2b1)],'pivotConfig':_0x4d8077}),!0x0;}},_0x4feae9={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0x1d7)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x3a08e5,_0xc18e3b){const _0x54562d=_0x245086;if(!_0xc18e3b)return!0x1;if(!!_0x3a08e5[_0x54562d(0x23d)](_0xacfc7b[_0x54562d(0x260)])['getConfig'](_0x10e4d2))return!0x0;const _0x515b71=_0x3a08e5[_0x54562d(0x23d)](_0x49a3fb[_0x54562d(0x282)]),{pivotTableId:_0x308ebc,fieldId:_0x59b7b3,unitId:_0x524932,subUnitId:_0x5abff3}=_0xc18e3b,_0x51809f=_0x515b71[_0x54562d(0x24a)](_0x308ebc);if(!_0x51809f)return!0x1;_0x51809f[_0x54562d(0x6f)](_0x59b7b3);const _0x279c1e=_0x515b71['getPivotTableModelConfig'](_0x524932,_0x5abff3,_0x308ebc);_0x28c4d7(_0x279c1e,_0xc18e3b);const _0x441d12=_0x515b71['getPivotTableConfig'](_0x524932,_0x5abff3,_0x308ebc);return _0x515b71[_0x54562d(0x19f)]({'unitId':_0x524932,'subUnitId':_0x5abff3,'token':_0x308ebc,'type':_0x542f6c['Set'],'pivotConfig':_0x441d12}),!0x0;}},_0x22a60d={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0x1d7)],'id':_0x245086(0x1c7),'handler'(_0x772bbc,_0x1a4189){const _0x92e50f=_0x245086;if(!_0x1a4189)return!0x1;if(!!_0x772bbc[_0x92e50f(0x23d)](_0xacfc7b[_0x92e50f(0x260)])[_0x92e50f(0xd9)](_0x10e4d2))return!0x0;const _0x4ab78a=_0x772bbc['get'](_0x49a3fb['SheetsPivotDataSourceModel']),{unitId:_0x17163a,subUnitId:_0x312f04,pivotTableId:_0x2e0858,fieldId:_0x41b568,name:_0x2a4aff}=_0x1a4189,_0x59df87=_0x4ab78a[_0x92e50f(0x24a)](_0x2e0858);if(!_0x59df87)return!0x1;_0x59df87[_0x92e50f(0x185)](_0x41b568,_0x2a4aff);const _0x4a494f=_0x4ab78a['getPivotTableModelConfig'](_0x17163a,_0x312f04,_0x2e0858);return _0x4b4e65(_0x4a494f,_0x1a4189),_0x4ab78a['addDirtyPivotTable']({'unitId':_0x17163a,'subUnitId':_0x312f04,'token':_0x2e0858,'type':_0x542f6c[_0x92e50f(0x2b1)]}),!0x0;}},_0x1a7b44={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0x1d7)],'id':_0x245086(0x241),'handler'(_0x20b352,_0x3a5a8){const _0x320d52=_0x245086;if(!_0x3a5a8)return!0x1;if(!!_0x20b352['get'](_0xacfc7b['IConfigService'])['getConfig'](_0x10e4d2))return!0x0;const _0x503598=_0x20b352[_0x320d52(0x23d)](_0x49a3fb['SheetsPivotDataSourceModel']),{unitId:_0x214c57,subUnitId:_0x3a3d9e,pivotTableId:_0x5db3a0,fieldId:_0x13c849,collapse:_0x7d2cfb,item:_0x114b21}=_0x3a5a8,_0x466573=_0x503598[_0x320d52(0x24a)](_0x5db3a0);if(!_0x466573)return!0x1;_0x466573[_0x320d52(0xb9)](_0x13c849,_0x7d2cfb,_0x114b21);const _0x28d902=_0x503598['getPivotTableModelConfig'](_0x214c57,_0x3a3d9e,_0x5db3a0);return _0x36d510(_0x28d902,_0x3a5a8),_0x503598['addDirtyPivotTable']({'unitId':_0x214c57,'subUnitId':_0x3a3d9e,'token':_0x5db3a0,'type':_0x542f6c['Set']}),!0x0;}},_0x49f9bd={'type':_0xacfc7b[_0x245086(0x235)]['MUTATION'],'id':_0x245086(0x31b),'handler'(_0x337a34,_0xf994ea){const _0x20a2e3=_0x245086;if(!_0xf994ea)return!0x1;if(!!_0x337a34['get'](_0xacfc7b['IConfigService'])['getConfig'](_0x10e4d2))return!0x0;const _0x8b9915=_0x337a34[_0x20a2e3(0x23d)](_0x49a3fb['SheetsPivotDataSourceModel']),{unitId:_0x3c4042,subUnitId:_0x2b6642,pivotTableId:_0x41204d,fieldId:_0xd58c6f,format:_0x2c5f4e}=_0xf994ea,_0x170aad=_0x8b9915[_0x20a2e3(0x24a)](_0x41204d);if(!_0x170aad)return!0x1;_0x170aad[_0x20a2e3(0x2f3)](_0xd58c6f,_0x2c5f4e);const _0x3759e0=_0x8b9915[_0x20a2e3(0xe5)](_0x3c4042,_0x2b6642,_0x41204d);return _0x2ae916(_0x3759e0,_0xf994ea),_0x8b9915[_0x20a2e3(0x19f)]({'unitId':_0x3c4042,'subUnitId':_0x2b6642,'token':_0x41204d,'type':_0x542f6c[_0x20a2e3(0x2b1)]}),!0x0;}},_0xe27ce8={'type':_0xacfc7b['CommandType'][_0x245086(0x1d7)],'id':_0x245086(0x15d),'handler'(_0x1151c2,_0x224d16){const _0x24a440=_0x245086;if(!_0x224d16)return!0x1;if(!!_0x1151c2[_0x24a440(0x23d)](_0xacfc7b[_0x24a440(0x260)])[_0x24a440(0xd9)](_0x10e4d2))return!0x0;const _0xf5ee08=_0x1151c2[_0x24a440(0x23d)](_0x49a3fb['SheetsPivotDataSourceModel']),{unitId:_0x29bf90,subUnitId:_0x374ace,pivotTableId:_0x8c1746,fieldId:_0x5d315b,filterInfo:_0x15b733}=_0x224d16,_0x23bba1=_0xf5ee08[_0x24a440(0x24a)](_0x8c1746);if(!_0x23bba1)return!0x1;_0x23bba1[_0x24a440(0x354)](_0x5d315b,_0x15b733);const _0x539c7e=_0xf5ee08[_0x24a440(0xe5)](_0x29bf90,_0x374ace,_0x8c1746);return _0x1764dd(_0x539c7e,_0x224d16),_0xf5ee08[_0x24a440(0x19f)]({'unitId':_0x29bf90,'subUnitId':_0x374ace,'token':_0x8c1746,'type':_0x542f6c[_0x24a440(0x2b1)]}),!0x0;}},_0x5537e0={'type':_0xacfc7b['CommandType'][_0x245086(0x1d7)],'id':_0x245086(0x1f7),'handler'(_0x12096e,_0x53f678){const _0x4d354c=_0x245086;if(!_0x53f678)return!0x1;if(!!_0x12096e[_0x4d354c(0x23d)](_0xacfc7b[_0x4d354c(0x260)])[_0x4d354c(0xd9)](_0x10e4d2))return!0x0;const _0x28e1fe=_0x12096e[_0x4d354c(0x23d)](_0x49a3fb[_0x4d354c(0x282)]),{unitId:_0x3c2772,subUnitId:_0x158a01,pivotTableId:_0x4acc8e,options:_0x176a12}=_0x53f678,_0x40fef3=_0x28e1fe[_0x4d354c(0x24a)](_0x4acc8e);if(!_0x40fef3)return!0x1;_0x40fef3['setOptions'](_0x176a12);const _0x1e43b1=_0x28e1fe['getPivotTableModelConfig'](_0x3c2772,_0x158a01,_0x4acc8e);return _0x1e09ea(_0x1e43b1,_0x53f678),_0x28e1fe[_0x4d354c(0x19f)]({'unitId':_0x3c2772,'subUnitId':_0x158a01,'token':_0x4acc8e,'type':_0x542f6c[_0x4d354c(0x2b1)]}),!0x0;}},_0x5036a9={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0x1d7)],'id':_0x245086(0x32a),'handler'(_0x1f4b79,_0x5c5653){const _0x4e2be9=_0x245086;if(!_0x5c5653)return!0x1;if(!!_0x1f4b79[_0x4e2be9(0x23d)](_0xacfc7b[_0x4e2be9(0x260)])[_0x4e2be9(0xd9)](_0x10e4d2))return!0x0;const _0x6bb09a=_0x1f4b79[_0x4e2be9(0x23d)](_0x49a3fb[_0x4e2be9(0x282)]),{unitId:_0x4d65be,subUnitId:_0x298162,pivotTableId:_0x2da09f,sortInfo:_0x37437b,fieldId:_0x42968b}=_0x5c5653,_0x122534=_0x6bb09a[_0x4e2be9(0x24a)](_0x2da09f);if(!_0x122534)return!0x1;_0x122534[_0x4e2be9(0x12e)](_0x42968b,_0x37437b);const _0x299405=_0x6bb09a[_0x4e2be9(0xe5)](_0x4d65be,_0x298162,_0x2da09f);return _0x31e2de(_0x299405,_0x5c5653),_0x6bb09a[_0x4e2be9(0x19f)]({'unitId':_0x4d65be,'subUnitId':_0x298162,'token':_0x2da09f,'type':_0x542f6c[_0x4e2be9(0x2b1)]}),!0x0;}},_0x3915e1={'type':_0xacfc7b[_0x245086(0x235)]['MUTATION'],'id':_0x245086(0x2c9),'handler'(_0x57fcca,_0x4254a5){const _0xe1518f=_0x245086;if(!_0x4254a5)return!0x1;if(!!_0x57fcca[_0xe1518f(0x23d)](_0xacfc7b[_0xe1518f(0x260)])['getConfig'](_0x10e4d2))return!0x0;const _0x1fc76d=_0x57fcca[_0xe1518f(0x23d)](_0x49a3fb[_0xe1518f(0x282)]),{unitId:_0x2b8276,subUnitId:_0x55ceff,pivotTableId:_0xaf476,fieldId:_0x508b83,subtotalType:_0x38e2db}=_0x4254a5,_0x46fdbe=_0x1fc76d['getPivotTableInstance'](_0xaf476);if(!_0x46fdbe)return!0x1;_0x46fdbe['setSubtotalType'](_0x508b83,_0x38e2db);const _0x370cbe=_0x1fc76d[_0xe1518f(0xe5)](_0x2b8276,_0x55ceff,_0xaf476);return _0x59fa1d(_0x370cbe,_0x4254a5),_0x1fc76d['addDirtyPivotTable']({'unitId':_0x2b8276,'subUnitId':_0x55ceff,'token':_0xaf476,'type':_0x542f6c[_0xe1518f(0x2b1)]}),!0x0;}},_0x36c2d2={'type':_0xacfc7b['CommandType'][_0x245086(0x1d7)],'id':_0x245086(0x9d),'handler'(_0x29d25e,_0x19a07d){const _0x974922=_0x245086;if(!_0x19a07d)return!0x1;if(!!_0x29d25e[_0x974922(0x23d)](_0xacfc7b['IConfigService'])[_0x974922(0xd9)](_0x10e4d2))return!0x0;const _0xa4179=_0x29d25e[_0x974922(0x23d)](_0x49a3fb[_0x974922(0x282)]),{unitId:_0x262a74,subUnitId:_0x16098d,pivotTableId:_0x451d85,fieldId:_0x1082fb,filterInfo:_0x58bee8}=_0x19a07d,_0x4f91cf=_0xa4179['getPivotTableInstance'](_0x451d85);if(!_0x4f91cf)return!0x1;_0x4f91cf[_0x974922(0x1d2)](_0x1082fb,_0x58bee8);const _0x151015=_0xa4179[_0x974922(0xe5)](_0x262a74,_0x16098d,_0x451d85);return _0x391929(_0x151015,_0x19a07d),_0xa4179['addDirtyPivotTable']({'unitId':_0x262a74,'subUnitId':_0x16098d,'token':_0x451d85,'type':_0x542f6c[_0x974922(0x2b1)]}),!0x0;}},_0x281391={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0x1d7)],'id':_0x245086(0x1ca),'handler'(_0x53a443,_0x62da90){const _0x3fb684=_0x245086;if(!_0x62da90)return!0x1;if(!!_0x53a443[_0x3fb684(0x23d)](_0xacfc7b[_0x3fb684(0x260)])[_0x3fb684(0xd9)](_0x10e4d2))return!0x0;const _0x5ac808=_0x53a443[_0x3fb684(0x23d)](_0x49a3fb[_0x3fb684(0x282)]),{unitId:_0x1b40e0,subUnitId:_0x14ef59,pivotTableId:_0x2c3ad8,area:_0x218254,index:_0x293909,fieldId:_0x326b72}=_0x62da90,_0x33d7bf=_0x5ac808[_0x3fb684(0x24a)](_0x2c3ad8);if(!_0x33d7bf)return!0x1;_0x33d7bf[_0x3fb684(0xea)](_0x326b72,_0x218254,_0x293909);const _0x1bc9e2=_0x5ac808[_0x3fb684(0xe5)](_0x1b40e0,_0x14ef59,_0x2c3ad8);return _0x28d3b8(_0x1bc9e2,_0x62da90),_0x5ac808[_0x3fb684(0x19f)]({'unitId':_0x1b40e0,'subUnitId':_0x14ef59,'token':_0x2c3ad8,'type':_0x542f6c[_0x3fb684(0x2b1)]}),!0x0;}},_0x53562b={'type':_0xacfc7b[_0x245086(0x235)]['MUTATION'],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x4eba83,_0x2c0a03){const _0x27c897=_0x245086;if(!_0x2c0a03)return!0x1;if(!!_0x4eba83[_0x27c897(0x23d)](_0xacfc7b['IConfigService'])[_0x27c897(0xd9)](_0x10e4d2))return!0x0;const _0x1d358a=_0x4eba83[_0x27c897(0x23d)](_0x49a3fb[_0x27c897(0x282)]),{unitId:_0x1b8fe9,subUnitId:_0x5c4315,pivotTableId:_0x2403ab,sourceName:_0x1a2005,dataFieldId:_0x2d6720,tableFieldId:_0x4583d9}=_0x2c0a03,_0xc2139c=_0x1d358a[_0x27c897(0x24a)](_0x2403ab);if(!_0xc2139c)return!0x1;_0xc2139c[_0x27c897(0x17f)](_0x4583d9,_0x1a2005,_0x2d6720);const _0x21a6b3=_0x1d358a[_0x27c897(0xe5)](_0x1b8fe9,_0x5c4315,_0x2403ab);return _0x6b31f2(_0x21a6b3,_0x2c0a03),_0x1d358a[_0x27c897(0x19f)]({'unitId':_0x1b8fe9,'subUnitId':_0x5c4315,'token':_0x2403ab,'type':_0x542f6c[_0x27c897(0x2b1)]}),!0x0;}},_0x55edcf={'type':_0xacfc7b[_0x245086(0x235)]['MUTATION'],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x40bb80,_0xed85b2){const _0x4cc5d7=_0x245086;if(!_0xed85b2)return!0x1;if(!!_0x40bb80['get'](_0xacfc7b[_0x4cc5d7(0x260)])['getConfig'](_0x10e4d2))return!0x0;const _0x47e0f8=_0x40bb80[_0x4cc5d7(0x23d)](_0x49a3fb[_0x4cc5d7(0x282)]),{unitId:_0x49f996,subUnitId:_0x2191a1,pivotTableId:_0x224d34,valuePosition:_0xedbf1d,index:_0x5f0c0e}=_0xed85b2,_0x50be24=_0x47e0f8[_0x4cc5d7(0x24a)](_0x224d34);if(!_0x50be24)return!0x1;_0x50be24['updateValuePosition'](_0xedbf1d,_0x5f0c0e);const _0x39b4ea=_0x47e0f8['getPivotTableModelConfig'](_0x49f996,_0x2191a1,_0x224d34);return _0x156cc7(_0x39b4ea,_0xed85b2),_0x47e0f8['addDirtyPivotTable']({'unitId':_0x49f996,'subUnitId':_0x2191a1,'token':_0x224d34,'type':_0x542f6c[_0x4cc5d7(0x2b1)]}),!0x0;}};function _0x45e500(_0x223515,_0x470bfb,_0x55b22b){const _0x4ae294=_0x245086,{pivotTableId:_0x178090,unitId:_0x82419e,subUnitId:_0xbd91bb}=_0x470bfb,_0x22f126=[],_0x4a4ceb=[];for(const _0x5ef2c8 of _0x55b22b)switch(_0x5ef2c8[_0x4ae294(0x21d)]){case _0x55dd5b['PivotTableChangeTypeEnum']['AddField']:{const {fieldJson:_0x502939,area:_0x54289a,index:_0xe65442}=_0x5ef2c8,_0x4d55a3={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldJson':_0x502939,'area':_0x54289a,'index':_0xe65442},_0x293c55={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldId':_0x502939['id'],'area':_0x54289a,'index':_0xe65442};_0x22f126[_0x4ae294(0x150)]({'id':_0x2d7538['id'],'params':_0x4d55a3}),_0x4a4ceb[_0x4ae294(0x2e6)]({'id':_0x4feae9['id'],'params':_0x293c55});}break;case _0x55dd5b[_0x4ae294(0x7e)][_0x4ae294(0x11b)]:{const {fieldId:_0x5f39bd,newSubtotalType:_0x1a8754,oldSubtotalType:_0x20a950}=_0x5ef2c8,_0x5dda27={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldId':_0x5f39bd,'subtotalType':_0x1a8754};_0x22f126[_0x4ae294(0x150)]({'id':_0x3915e1['id'],'params':_0x5dda27});const _0x539b0e={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldId':_0x5f39bd,'subtotalType':_0x20a950};_0x4a4ceb[_0x4ae294(0x2e6)]({'id':_0x3915e1['id'],'params':_0x539b0e});}break;case _0x55dd5b['PivotTableChangeTypeEnum']['RemoveField']:{const {fieldId:_0x1cfd8f,fieldJson:_0x35f327,area:_0x28a744,index:_0x4d01a2}=_0x5ef2c8,_0x3d6fdf={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldId':_0x1cfd8f,'index':_0x4d01a2,'area':_0x28a744};_0x22f126[_0x4ae294(0x150)]({'id':_0x4feae9['id'],'params':_0x3d6fdf});const _0x11cbdf={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldJson':_0x35f327,'area':_0x28a744,'index':_0x4d01a2};_0x4a4ceb[_0x4ae294(0x2e6)]({'id':_0x2d7538['id'],'params':_0x11cbdf});}break;case _0x55dd5b[_0x4ae294(0x7e)][_0x4ae294(0x316)]:{const {fieldId:_0x1fd6cc,oldName:_0x53135a,newName:_0x20732a}=_0x5ef2c8,_0x4ef2c9={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldId':_0x1fd6cc,'name':_0x20732a};_0x22f126['push']({'id':_0x22a60d['id'],'params':_0x4ef2c9});const _0x30b89b={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldId':_0x1fd6cc,'name':_0x53135a};_0x4a4ceb['unshift']({'id':_0x22a60d['id'],'params':_0x30b89b});}break;case _0x55dd5b[_0x4ae294(0x7e)][_0x4ae294(0x24b)]:{const {fieldId:_0xa0839e,oldFilterInfo:_0x509fc7,newFilterInfo:_0x1b2315}=_0x5ef2c8,_0x1e3aad={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldId':_0xa0839e,'filterInfo':_0x1b2315};_0x22f126['push']({'id':_0xe27ce8['id'],'params':_0x1e3aad});const _0xcdb46c={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldId':_0xa0839e,'filterInfo':_0x509fc7};_0x4a4ceb[_0x4ae294(0x2e6)]({'id':_0xe27ce8['id'],'params':_0xcdb46c});}break;case _0x55dd5b['PivotTableChangeTypeEnum']['SetSortInfo']:{const {fieldId:_0xa359d7,oldSortInfo:_0x50a865,newSortInfo:_0x311777}=_0x5ef2c8,_0x3987cc={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldId':_0xa359d7,'sortInfo':_0x311777};_0x22f126['push']({'id':_0x5036a9['id'],'params':_0x3987cc});const _0x736663={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldId':_0xa359d7,'sortInfo':_0x50a865};_0x4a4ceb['unshift']({'id':_0x5036a9['id'],'params':_0x736663});}break;case _0x55dd5b[_0x4ae294(0x7e)]['SetOptions']:{const {oldOptions:_0xcf49fb,newOptions:_0x2f30e4}=_0x5ef2c8,_0x28cd63={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'options':_0x2f30e4};_0x22f126[_0x4ae294(0x150)]({'id':_0x5537e0['id'],'params':_0x28cd63});const _0x29db34={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'options':_0xcf49fb};_0x4a4ceb[_0x4ae294(0x2e6)]({'id':_0x5537e0['id'],'params':_0x29db34});}break;case _0x55dd5b[_0x4ae294(0x7e)]['UpdateFieldPosition']:{const {oldArea:_0x5adbbe,newArea:_0x4421b1,oldIndex:_0x398675,newIndex:_0x49954d,fieldId:_0x3a6498}=_0x5ef2c8,_0x51efd1={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldId':_0x3a6498,'area':_0x4421b1,'index':_0x49954d,'oldArea':_0x5adbbe,'oldIndex':_0x398675};_0x22f126[_0x4ae294(0x150)]({'id':_0x281391['id'],'params':_0x51efd1});const _0x7818c4={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldId':_0x3a6498,'area':_0x5adbbe,'index':_0x398675,'oldArea':_0x4421b1,'oldIndex':_0x49954d};_0x4a4ceb['unshift']({'id':_0x281391['id'],'params':_0x7818c4});}break;case _0x55dd5b[_0x4ae294(0x7e)][_0x4ae294(0x2fe)]:{const {oldValuePosition:_0x248032,newValuePosition:_0x242454,oldIndex:_0x476881,newIndex:_0x1752fd}=_0x5ef2c8,_0x1394f5={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'valuePosition':_0x242454,'index':_0x1752fd};_0x22f126['push']({'id':_0x55edcf['id'],'params':_0x1394f5});const _0x53bc2f={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'valuePosition':_0x248032,'index':_0x476881};_0x4a4ceb[_0x4ae294(0x2e6)]({'id':_0x55edcf['id'],'params':_0x53bc2f});}break;case _0x55dd5b[_0x4ae294(0x7e)][_0x4ae294(0x176)]:{const {fieldId:_0x2599b0,collapse:_0x331181,item:_0x401a8e}=_0x5ef2c8,_0x140c40={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldId':_0x2599b0,'collapse':_0x331181,'item':_0x401a8e};_0x22f126[_0x4ae294(0x150)]({'id':_0x1a7b44['id'],'params':_0x140c40});const _0x3c3562={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldId':_0x2599b0,'collapse':!_0x331181,'item':_0x401a8e};_0x4a4ceb['unshift']({'id':_0x1a7b44['id'],'params':_0x3c3562});}break;case _0x55dd5b[_0x4ae294(0x7e)]['SetFieldFormat']:{const {newFormat:_0x32ad12,oldFormat:_0x5a40c8,fieldId:_0x132e4e}=_0x5ef2c8,_0x4884a4={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldId':_0x132e4e,'format':_0x32ad12};_0x22f126[_0x4ae294(0x150)]({'id':_0x49f9bd['id'],'params':_0x4884a4});const _0x2f2e63={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldId':_0x132e4e,'format':_0x5a40c8};_0x4a4ceb['unshift']({'id':_0x49f9bd['id'],'params':_0x2f2e63});}break;case _0x55dd5b[_0x4ae294(0x7e)][_0x4ae294(0x2f1)]:{const {tableFieldId:_0x4495ba,oldSourceName:_0xd39543,newSourceName:_0x4106d5,oldDataFieldId:_0x364a90,newDataFieldId:_0x63b8c9}=_0x5ef2c8,_0x37a37c={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'tableFieldId':_0x4495ba,'sourceName':_0x4106d5,'dataFieldId':_0x63b8c9};_0x22f126[_0x4ae294(0x150)]({'id':_0x53562b['id'],'params':_0x37a37c});const _0x5968a1={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'tableFieldId':_0x4495ba,'sourceName':_0xd39543,'dataFieldId':_0x364a90};_0x4a4ceb[_0x4ae294(0x2e6)]({'id':_0x53562b['id'],'params':_0x5968a1});}break;case _0x55dd5b[_0x4ae294(0x7e)]['SetValueFilter']:{const {fieldId:_0x47ab3d,filterInfo:_0x3dc546,oldFilterInfo:_0x329417}=_0x5ef2c8,_0x5891ac={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldId':_0x47ab3d,'filterInfo':_0x3dc546};_0x22f126[_0x4ae294(0x150)]({'id':_0x36c2d2['id'],'params':_0x5891ac});const _0x251171={'unitId':_0x82419e,'subUnitId':_0xbd91bb,'pivotTableId':_0x178090,'fieldId':_0x47ab3d,'filterInfo':_0x329417};_0x4a4ceb['unshift']({'id':_0x36c2d2['id'],'params':_0x251171});}}return{'redos':_0x22f126,'undos':_0x4a4ceb};}function _0xdfae0b(_0x5848dd,_0x28d635){const _0x474370=_0x245086;var _0x1b4eea;const _0x2218d4=_0x5848dd[_0x474370(0x23d)](_0x49a3fb[_0x474370(0x227)]),{cellInfo:_0x57e456,view:_0x203f12,isEmpty:_0x43271f}=_0x28d635;return(_0x1b4eea=_0x2218d4[_0x474370(0x2db)]['fetchThroughInterceptors'](_0x4b726d)(_0x12304f,{'cellInfo':_0x57e456,'view':_0x203f12,'isEmpty':_0x43271f}))!=null?_0x1b4eea:_0x12304f;}const _0x2fae1e={'type':_0xacfc7b[_0x245086(0x235)]['COMMAND'],'id':_0x245086(0x197),async 'handler'(_0x1f79aa,_0x415486){const _0x507825=_0x245086;if(!_0x415486)return!0x1;const _0x28d5c4=_0x1f79aa['get'](_0xacfc7b[_0x507825(0xcd)]),_0x2d88a0=_0x1f79aa['get'](_0x49a3fb[_0x507825(0x102)]),_0xa2b570=_0x1f79aa[_0x507825(0x23d)](_0xacfc7b['IUndoRedoService']),{pivotTableId:_0x2b57c9,dataFieldId:_0x3b476b,fieldArea:_0x290bfe,index:_0x1d5e13,unitId:_0x55007c,subUnitId:_0x19bd29}=_0x415486,_0x395e3f=(await _0x2d88a0[_0x507825(0x12f)]({'unitId':_0x55007c,'subUnitId':_0x19bd29,'pivotTableId':_0x2b57c9,'params':{'type':_0x4bc33b[_0x507825(0x25b)],'addPivotField':{'dataFieldId':_0x3b476b,'fieldArea':_0x290bfe,'index':_0x1d5e13}}}))[_0x507825(0x359)]['addPivotField'];if(!_0x395e3f)return!0x1;const {view:_0x3df3a4,changesets:_0x2d01fc,isEmpty:_0xeab5ef,pivotTableConfig:_0x508a81,shouldBeAddedGroupJSON:_0x1b95a3}=_0x395e3f,_0x111c6e=_0x508a81[_0x507825(0x17d)],_0x251e80=new _0x55dd5b[(_0x507825(0x207))]();_0x251e80[_0x507825(0x18e)](_0x3df3a4);const _0x43be73={'cellInfo':_0x111c6e,'view':_0x251e80,'isEmpty':_0xeab5ef};if(!await _0x1f79aa[_0x507825(0x23d)](_0x49a3fb[_0x507825(0x227)])['asyncInterceptor'][_0x507825(0x1bd)](_0x1a9326)(!0x0,_0x43be73))return!0x1;const _0x47d4bd=_0x2d9359(_0x1f79aa,_0x251e80,_0x111c6e,_0xeab5ef),_0x533c90=_0xdfae0b(_0x1f79aa,_0x43be73),{undos:_0x3b3682,redos:_0x531545}=_0x45e500(_0x28d5c4,{'pivotTableId':_0x2b57c9,'unitId':_0x55007c,'subUnitId':_0x19bd29},_0x2d01fc);return _0x1b95a3&&(_0x531545[_0x507825(0x2e6)]({'id':_0x97b11['id'],'params':{'pivotTableId':_0x2b57c9,'fieldJSON':_0x1b95a3,'unitId':_0x55007c,'subUnitId':_0x19bd29}}),_0x3b3682[_0x507825(0x150)]({'id':_0x4638a0['id'],'params':{'pivotTableId':_0x2b57c9,'dataFieldId':_0x1b95a3['id'],'unitId':_0x55007c,'subUnitId':_0x19bd29}})),_0xacfc7b[_0x507825(0x8d)]([..._0x47d4bd[_0x507825(0x17c)],..._0x533c90[_0x507825(0x17c)],..._0x531545],_0x28d5c4),_0xa2b570[_0x507825(0x378)]({'unitID':_0x55007c,'redoMutations':[..._0x47d4bd[_0x507825(0x17c)],..._0x533c90['redos'],..._0x531545],'undoMutations':[..._0x47d4bd[_0x507825(0x14b)],..._0x533c90[_0x507825(0x14b)],..._0x3b3682]}),!0x0;}},_0x1865ef=()=>typeof process<'u'&&process[_0x245086(0x9a)]!=null&&process[_0x245086(0x9a)][_0x245086(0x17e)]!=null,_0x522828={'type':_0xacfc7b['CommandType'][_0x245086(0x1d7)],'id':_0x245086(0x230),'handler'(_0x2129de,_0x3cb337){const _0x39f04c=_0x245086;var _0x6117ad;if(!_0x3cb337)return!0x1;const _0x135d11=_0x2129de['get'](_0xacfc7b['IConfigService']);if(!!_0x135d11['getConfig'](_0x10e4d2))return!0x0;const _0xb4dc14=_0x2129de[_0x39f04c(0x23d)](_0xacfc7b[_0x39f04c(0x1f9)]),_0x4d9810=_0x2129de[_0x39f04c(0x23d)](_0x49a3fb[_0x39f04c(0x282)]),{pivotTableId:_0x483861,pivotTableConfig:_0x1928fb,collectionConfig:_0x51f9c8,unitId:_0x1dfbef,subUnitId:_0x5ca32a}=_0x3cb337,{sourceRangeInfo:_0x6c92f2,fieldsConfig:_0x1165e9,targetCellInfo:_0x248abb}=_0x1928fb,_0x4cabd1=_0xb4dc14[_0x39f04c(0x356)](_0x1dfbef);if(!_0x4cabd1||!_0x4cabd1[_0x39f04c(0x244)](_0x5ca32a))return!0x1;if(!_0x1865ef()){let _0x204421=0x0;_0x4cabd1['getSheets']()[_0x39f04c(0x34c)](_0xff16e0=>{const _0x567e8b=_0x39f04c;var _0x44b409,_0x52c64;_0x204421+=(_0x52c64=(_0x44b409=_0x4d9810['getSubUnitPivotConfigs'](_0x1dfbef,_0xff16e0[_0x567e8b(0xb6)]()))==null?void 0x0:_0x44b409[_0x567e8b(0x189)])!=null?_0x52c64:0x0;});const _0x2d2ade=(_0x6117ad=_0x135d11[_0x39f04c(0xd9)](_0x53a245[_0x39f04c(0xce)]))!=null?_0x6117ad:{},{ls:_0x33ba6d,pbk:_0xb7eefc}=_0x2d2ade;if(!_0xb0dffd(_0x33ba6d,_0xb7eefc))throw new _0xacfc7b[(_0x39f04c(0x8a))]('limit\x20pivot');const _0x1cfc10=_0x2a6344(_0x55fd51,_0x33ba6d,_0xb7eefc)[_0x39f04c(0x1bc)];if(_0x204421>=_0x1cfc10)throw new _0xacfc7b[(_0x39f04c(0x8a))](_0x39f04c(0x13c));}if(!_0x51f9c8||!_0x1165e9)return!0x1;const {collection:_0x4bee25,updateDataFieldList:_0x5be3d1}=_0x4d9810[_0x39f04c(0x2f5)](_0x483861,_0x51f9c8,_0x6c92f2,_0x248abb);_0x4d9810['refreshData'](_0x4bee25,_0x5be3d1,_0x6c92f2);const _0x460fd7=new _0x55dd5b[(_0x39f04c(0x209))](_0x4bee25,void 0x0,_0x483861);_0x460fd7[_0x39f04c(0x20a)](_0x1165e9);const _0x1cdebd=JSON[_0x39f04c(0x2d0)](JSON[_0x39f04c(0x22d)](_0x1928fb));return _0x4d9810['addPivotTable'](_0x1dfbef,_0x5ca32a,_0x483861,_0x460fd7,_0x1cdebd),_0x4d9810['addDirtyPivotTable']({'unitId':_0x1dfbef,'subUnitId':_0x5ca32a,'token':_0x483861,'type':_0x542f6c[_0x39f04c(0x278)],'pivotConfig':_0x1cdebd}),!0x0;}},_0x19467b={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0xb8)],'id':_0x245086(0x27a),async 'handler'(_0x4ee006,_0x580c03){const _0x2f53fc=_0x245086;if(!_0x580c03)return!0x1;const {sourceDataInfo:_0x351598,pivotTableConfig:_0x1651e8}=_0x580c03;if(!_0x351598||!_0x1651e8)return!0x1;const {unitId:_0x528d41,subUnitId:_0x51cf0d,range:_0x2d40db}=_0x351598,_0x5cda93=_0x4ee006[_0x2f53fc(0x23d)](_0xacfc7b[_0x2f53fc(0x1f9)]),_0x5cd1dc=_0x4ee006[_0x2f53fc(0x23d)](_0x49a3fb[_0x2f53fc(0x102)]),_0x1aa56a=_0x4ee006[_0x2f53fc(0x23d)](_0xacfc7b['LocaleService']),_0x20984d=_0x4ee006['get'](_0xacfc7b[_0x2f53fc(0xcd)]),_0x2db508=_0x5cda93[_0x2f53fc(0x356)](_0x528d41);if(!_0x2db508)return!0x1;const _0x527ea0=_0x2db508[_0x2f53fc(0x244)](_0x51cf0d);if(!_0x527ea0)return!0x1;const _0x252a5f=_0x55dd5b[_0x2f53fc(0x266)](0x8),_0x10ec54=_0x2d40db||{'startRow':0x0,'startColumn':0x0,'endRow':_0x527ea0[_0x2f53fc(0x291)]()-0x1,'endColumn':_0x527ea0[_0x2f53fc(0x1a1)]()-0x1};_0x10ec54[_0x2f53fc(0x198)]=_0xacfc7b[_0x2f53fc(0x148)][_0x2f53fc(0x2ad)];const _0x1fabc4=(await _0x5cd1dc[_0x2f53fc(0x12f)]({'unitId':_0x528d41,'subUnitId':_0x51cf0d,'pivotTableId':_0x252a5f,'params':{'type':_0x4bc33b['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x528d41,'sheetName':_0x527ea0[_0x2f53fc(0x2f6)](),'subUnitId':_0x51cf0d,'range':_0x10ec54},'pivotTableId':_0x252a5f,'pivotTableIndexConfig':_0x1651e8}}}))[_0x2f53fc(0x359)][_0x2f53fc(0x13b)];if(!_0x1fabc4)return!0x1;const {isEmpty:_0x173a62,fieldsConfig:_0x19b1c7,collectionConfig:_0xf2eb25,changesets:_0x2398a0}=_0x1fabc4,_0x4b9f95=_0x2db508[_0x2f53fc(0x167)]()[_0x2f53fc(0x16a)],_0xa88501=_0xacfc7b[_0x2f53fc(0xd7)]({'rowCount':_0x527ea0[_0x2f53fc(0x291)]()-0x1,'columnCount':_0x527ea0[_0x2f53fc(0x1a1)]()-0x1});_0xa88501['id']=_0xacfc7b['generateRandomId'](),_0xa88501['name']=_0x2db508[_0x2f53fc(0x289)](''+_0x1aa56a['t'](_0x2f53fc(0x287)));const _0xe5003e={'index':_0x4b9f95,'sheet':_0xa88501,'unitId':_0x528d41},{redos:_0x5192bc}=_0x45e500(_0x20984d,{'pivotTableId':_0x252a5f,'unitId':_0x528d41,'subUnitId':_0xa88501['id']},_0x2398a0),_0x5c53ca=[{'id':_0x36f0de[_0x2f53fc(0x224)]['id'],'params':_0xe5003e},{'id':_0x522828['id'],'params':{'unitId':_0x528d41,'subUnitId':_0xa88501['id'],'pivotTableId':_0x252a5f,'pivotTableConfig':{'isEmpty':_0x173a62,'fieldsConfig':_0x19b1c7,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x528d41,'subUnitId':_0xa88501['id']},'sourceRangeInfo':{'subUnitId':_0x51cf0d,'unitId':_0x528d41,'range':_0x10ec54,'sheetName':_0x527ea0[_0x2f53fc(0x2f6)]()}},'collectionConfig':_0xf2eb25}},..._0x5192bc];return _0xacfc7b[_0x2f53fc(0x8d)](_0x5c53ca,_0x20984d),!0x0;}},_0x3ff9ef={'type':_0xacfc7b['CommandType'][_0x245086(0x1d7)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x985be4,_0x1aceb7){const _0x5e59fe=_0x245086;if(!_0x1aceb7)return!0x1;if(!!_0x985be4[_0x5e59fe(0x23d)](_0xacfc7b[_0x5e59fe(0x260)])[_0x5e59fe(0xd9)](_0x10e4d2))return!0x0;const {pivotTableId:_0xb37f54,unitId:_0x2fc608,subUnitId:_0x37438c}=_0x1aceb7,_0xc083f0=_0x985be4['get'](_0x49a3fb[_0x5e59fe(0x282)]);return _0xc083f0[_0x5e59fe(0x11c)](_0x2fc608,_0x37438c,_0xb37f54)?(_0xc083f0[_0x5e59fe(0x19f)]({'unitId':_0x2fc608,'subUnitId':_0x37438c,'token':_0xb37f54,'type':_0x542f6c[_0x5e59fe(0x72)]}),_0xc083f0[_0x5e59fe(0x352)](_0x2fc608,_0x37438c,_0xb37f54),!0x0):!0x1;}},_0x28ce19={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0xb8)],'id':_0x245086(0x1be),async 'handler'(_0x2c00b1,_0x57bb76){const _0x41900a=_0x245086;var _0x38da97,_0x1b3ee7;const _0x4e3d55=_0x2c00b1[_0x41900a(0x23d)](_0xacfc7b['ICommandService']),_0xee1514=_0x2c00b1[_0x41900a(0x23d)](_0xacfc7b[_0x41900a(0x1f9)]),_0x1dfa63=_0x2c00b1['get'](_0xacfc7b['LocaleService']),_0x3677fb=_0x2c00b1[_0x41900a(0x23d)](_0x49a3fb[_0x41900a(0x102)]),_0x962957=_0x2c00b1[_0x41900a(0x23d)](_0xacfc7b[_0x41900a(0x353)]),_0x582779=_0x2c00b1[_0x41900a(0x23d)](_0x49a3fb[_0x41900a(0x1bf)]),_0x1d5ef1=_0x2c00b1[_0x41900a(0x23d)](_0xacfc7b[_0x41900a(0x260)]);if(!_0x57bb76)return!0x1;const {pivotTableConfig:_0x3cc3ee,positionType:_0x5eb26c}=_0x57bb76,{targetCellInfo:_0x50e7e0,sourceRangeInfo:_0x8a1eca}=_0x3cc3ee,{unitId:_0x382c1c,subUnitId:_0x462b16}=_0x50e7e0,_0x4c7fb4=_0xee1514[_0x41900a(0x356)](_0x382c1c);if(!_0x4c7fb4)return!0x1;let _0x4613f7=0x0;_0x4c7fb4[_0x41900a(0x167)]()[_0x41900a(0x34c)](_0x5bfca0=>{const _0x35940c=_0x41900a;var _0x3a9e83,_0x343d37;_0x4613f7+=(_0x343d37=(_0x3a9e83=_0x582779[_0x35940c(0x309)](_0x382c1c,_0x5bfca0[_0x35940c(0xb6)]()))==null?void 0x0:_0x3a9e83[_0x35940c(0x189)])!=null?_0x343d37:0x0;});const _0x3e8f05=(_0x38da97=_0x1d5ef1[_0x41900a(0xd9)](_0x53a245[_0x41900a(0xce)]))!=null?_0x38da97:{},{ls:_0x1f9246,pbk:_0x298a5b}=_0x3e8f05;if(!_0xb0dffd(_0x1f9246,_0x298a5b))return!0x1;const _0x2bdee2=_0x2a6344(_0x55fd51,_0x1f9246,_0x298a5b)['count'];if(_0x4613f7>=_0x2bdee2)return!0x1;const _0x481501=_0x57bb76[_0x41900a(0x221)]||_0x55dd5b[_0x41900a(0x266)](0x8),_0x4393cb=(await _0x3677fb[_0x41900a(0x12f)]({'unitId':_0x382c1c,'subUnitId':_0x462b16,'pivotTableId':_0x481501,'params':{'type':_0x4bc33b[_0x41900a(0x1e5)],'addPivotTable':{'sourceRangeInfo':_0x8a1eca,'pivotTableId':_0x481501}}}))[_0x41900a(0x359)][_0x41900a(0x2d2)];if(!_0x4393cb)return!0x1;const {view:_0x4245f0,isEmpty:_0x2c728b,fieldsConfig:_0x2c3a89,collectionConfig:_0x114dce}=_0x4393cb,_0x246fc2=[],_0x2e6da0=[];if(_0x5eb26c===_0x1c99b3[_0x41900a(0x243)]){const _0x328750=_0x4c7fb4[_0x41900a(0x167)]()[_0x41900a(0x16a)],_0x358554=_0xacfc7b[_0x41900a(0xd7)]({});_0x358554['id']=_0x3cc3ee[_0x41900a(0x17d)]['subUnitId'],_0x358554[_0x41900a(0x2d3)]=(_0x1b3ee7=_0x3cc3ee['targetCellInfo'][_0x41900a(0x2ed)])!=null?_0x1b3ee7:_0x4c7fb4['generateNewSheetName'](''+_0x1dfa63['t'](_0x41900a(0x287)));const _0x2d2179={'index':_0x328750,'sheet':_0x358554,'unitId':_0x382c1c},_0x26619f=_0x36f0de[_0x41900a(0x302)](_0x2c00b1,_0x2d2179);_0x246fc2[_0x41900a(0x150)]({'id':_0x36f0de[_0x41900a(0x6c)]['id'],'params':_0x26619f}),_0x2e6da0[_0x41900a(0x150)]({'id':_0x36f0de[_0x41900a(0x1a4)]['id'],'params':_0x2d2179});}else{if(!_0x4c7fb4[_0x41900a(0x244)](_0x462b16))return!0x1;const _0x212878=_0x2d9359(_0x2c00b1,new _0x55dd5b[(_0x41900a(0x207))](),_0x50e7e0,!0x0);_0x2e6da0[_0x41900a(0x150)](..._0x212878[_0x41900a(0x17c)]),_0x246fc2['push'](..._0x212878[_0x41900a(0x14b)]);const _0x9d9495={'cellInfo':_0x50e7e0,'view':_0x4245f0,'isEmpty':_0x2c728b};if(!await _0x2c00b1[_0x41900a(0x23d)](_0x49a3fb['SheetsPivotTableService'])[_0x41900a(0x1f6)]['fetchThroughAsyncInterceptors'](_0x1a9326)(!0x0,_0x9d9495))return!0x1;const _0x1edfaa=_0xdfae0b(_0x2c00b1,_0x9d9495);_0x2e6da0['push'](..._0x1edfaa[_0x41900a(0x17c)]),_0x246fc2[_0x41900a(0x150)](..._0x1edfaa[_0x41900a(0x14b)]);}return _0x2e6da0[_0x41900a(0x150)]({'id':_0x522828['id'],'params':{'unitId':_0x50e7e0[_0x41900a(0x2ca)],'subUnitId':_0x50e7e0[_0x41900a(0x346)],'pivotTableId':_0x481501,'pivotTableConfig':{'targetCellInfo':_0x50e7e0,'sourceRangeInfo':_0x8a1eca,'fieldsConfig':_0x2c3a89},'collectionConfig':_0x114dce}}),_0x246fc2['unshift']({'id':_0x3ff9ef['id'],'params':{'unitId':_0x382c1c,'subUnitId':_0x462b16,'pivotTableId':_0x481501}}),_0xacfc7b[_0x41900a(0x8d)](_0x2e6da0,_0x4e3d55)&&_0x962957[_0x41900a(0x378)]({'unitID':_0x382c1c,'undoMutations':_0x246fc2,'redoMutations':_0x2e6da0}),!0x0;}},_0x2bc0f9={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0xb8)],'id':_0x245086(0x364),async 'handler'(_0x4d6f25,_0x3ed546){const _0x4fc518=_0x245086;if(!_0x3ed546)return!0x1;const _0xd9fd16=_0x4d6f25['get'](_0xacfc7b[_0x4fc518(0xcd)]),_0x20375a=_0x4d6f25[_0x4fc518(0x23d)](_0x49a3fb[_0x4fc518(0x102)]),_0x573ed0=_0x4d6f25[_0x4fc518(0x23d)](_0xacfc7b[_0x4fc518(0x353)]),{pivotTableId:_0xd4aaea,fieldId:_0x57a69f,area:_0x2da377,index:_0x3c0eb8,unitId:_0x52d3f6,subUnitId:_0x3e38e7}=_0x3ed546,_0x491a01=(await _0x20375a[_0x4fc518(0x12f)]({'unitId':_0x52d3f6,'subUnitId':_0x3e38e7,'pivotTableId':_0xd4aaea,'params':{'type':_0x4bc33b['MovePivotField'],'movePivotField':{'fieldId':_0x57a69f,'area':_0x2da377,'index':_0x3c0eb8}}}))[_0x4fc518(0x359)]['movePivotField'];if(!_0x491a01)return!0x1;const {changesets:_0x247fed,view:_0x363209,isEmpty:_0x494f41,pivotTableConfig:_0x4f8f92}=_0x491a01,_0x2c1507=_0x4f8f92[_0x4fc518(0x17d)],_0x2fd985=new _0x55dd5b[(_0x4fc518(0x207))]();_0x2fd985['formJSON'](_0x363209);const _0x1dc659={'cellInfo':_0x2c1507,'view':_0x2fd985,'isEmpty':_0x494f41};if(!await _0x4d6f25['get'](_0x49a3fb['SheetsPivotTableService'])['asyncInterceptor'][_0x4fc518(0x1bd)](_0x1a9326)(!0x0,_0x1dc659))return!0x1;const _0x49b93b=_0x2d9359(_0x4d6f25,_0x2fd985,_0x2c1507,_0x494f41),_0x4dc82f=_0xdfae0b(_0x4d6f25,_0x1dc659),{redos:_0x16b398,undos:_0x4db387}=_0x45e500(_0xd9fd16,{'pivotTableId':_0xd4aaea,'unitId':_0x52d3f6,'subUnitId':_0x3e38e7},_0x247fed);return _0xacfc7b[_0x4fc518(0x8d)]([..._0x49b93b['redos'],..._0x4dc82f[_0x4fc518(0x17c)],..._0x16b398],_0xd9fd16),_0x573ed0[_0x4fc518(0x378)]({'unitID':_0x52d3f6,'redoMutations':[..._0x49b93b[_0x4fc518(0x17c)],..._0x4dc82f['redos'],..._0x16b398],'undoMutations':[..._0x49b93b[_0x4fc518(0x14b)],..._0x4dc82f[_0x4fc518(0x14b)],..._0x4db387]}),!0x0;}},_0x519d92={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0x1d7)],'id':_0x245086(0x2e9),'handler'(_0x3b81a7,_0xca2c8c){const _0x320847=_0x245086;if(!_0xca2c8c)return!0x1;if(!!_0x3b81a7['get'](_0xacfc7b['IConfigService'])[_0x320847(0xd9)](_0x10e4d2))return!0x0;const {pivotTableId:_0xafe09e,targetCellPosition:_0x2e5313,unitId:_0x1f1235,subUnitId:_0x9b868b}=_0xca2c8c,_0x1e2211=_0x3b81a7[_0x320847(0x23d)](_0x49a3fb['SheetsPivotDataSourceModel']);if(!_0x1e2211[_0x320847(0x24a)](_0xca2c8c[_0x320847(0x221)]))return!0x1;const _0x59fd1d=_0x1e2211['getTargetByPivotId'](_0xafe09e);if(!_0x59fd1d)return!0x1;const _0xd9fd5e=_0x1e2211['getCollection'](_0x59fd1d[_0x320847(0x2ca)],_0xca2c8c[_0x320847(0x221)]);if(!_0xd9fd5e)return!0x1;const _0x355103=_0x1e2211[_0x320847(0x11c)](_0x59fd1d['unitId'],_0x59fd1d[_0x320847(0x346)],_0xafe09e);if(!_0x355103)return!0x1;const _0x4c800d=_0xacfc7b[_0x320847(0x21e)][_0x320847(0x118)](_0x355103);_0x4c800d[_0x320847(0x17d)]={'unitId':_0x1f1235,'subUnitId':_0x9b868b,'row':_0x2e5313[_0x320847(0x1e9)],'col':_0x2e5313[_0x320847(0x8f)]};const _0x4f4cdb=_0xd9fd5e[_0x320847(0xc9)]();if(_0x59fd1d[_0x320847(0x346)]===_0x9b868b&&_0x59fd1d[_0x320847(0x2ca)]===_0x1f1235)_0x1e2211[_0x320847(0x178)](_0x1f1235,_0x9b868b,_0xafe09e,_0x4c800d),_0x1e2211[_0x320847(0x19f)]({'unitId':_0x1f1235,'subUnitId':_0x9b868b,'token':_0xafe09e,'type':_0x542f6c[_0x320847(0x2b1)]});else{_0x1e2211['addDirtyPivotTable']({'unitId':_0x59fd1d['unitId'],'subUnitId':_0x59fd1d[_0x320847(0x346)],'token':_0xafe09e,'type':_0x542f6c[_0x320847(0x72)]}),_0x1e2211['removePivotTable'](_0x59fd1d[_0x320847(0x2ca)],_0x59fd1d[_0x320847(0x346)],_0xafe09e);const _0x55f4f5=_0x1e2211[_0x320847(0x2f5)](_0xafe09e,_0x4f4cdb,_0x355103[_0x320847(0x1df)],_0x4c800d['targetCellInfo']),_0xe69f47=new _0x55dd5b[(_0x320847(0x209))](_0x55f4f5[_0x320847(0x280)],void 0x0,_0xafe09e);_0xe69f47[_0x320847(0x20a)](_0x4c800d[_0x320847(0xcf)]),_0x1e2211[_0x320847(0x2d2)](_0x1f1235,_0x9b868b,_0xafe09e,_0xe69f47,_0x4c800d),_0x1e2211['addDirtyPivotTable']({'unitId':_0x1f1235,'subUnitId':_0x9b868b,'token':_0xafe09e,'type':_0x542f6c[_0x320847(0x278)],'pivotConfig':_0x4c800d});}return!0x0;}},_0x325a79={'type':_0xacfc7b['CommandType'][_0x245086(0xb8)],'id':_0x245086(0x15b),'handler':(_0x267693,_0x29368d)=>{const _0x349df4=_0x245086,_0x252bdb=_0x267693['get'](_0xacfc7b['ICommandService']),_0x11f87e=_0x267693[_0x349df4(0x23d)](_0xacfc7b[_0x349df4(0x353)]),_0x3936e8=_0x267693[_0x349df4(0x23d)](_0x49a3fb[_0x349df4(0x1bf)]),_0x47725d=_0x267693[_0x349df4(0x23d)](_0xacfc7b[_0x349df4(0x1f9)]);if(!_0x29368d)return!0x1;const _0x15925b=_0x36f0de[_0x349df4(0x276)](_0x47725d);if(!_0x15925b)return!0x1;const {unitId:_0x3a860e,subUnitId:_0x38d9bc,workbook:_0x378ad8}=_0x15925b,_0x470716=_0x3936e8[_0x349df4(0x11c)](_0x29368d[_0x349df4(0x314)]['unitId'],_0x29368d['originTargetInfo'][_0x349df4(0x346)],_0x29368d[_0x349df4(0x221)]);if(!_0x470716)return!0x1;const _0x3d07af=_0x378ad8[_0x349df4(0x244)](_0x29368d[_0x349df4(0x17d)][_0x349df4(0x346)]);if(!_0x3d07af)throw new Error(_0x349df4(0x1dd));const _0x123d22=_0x3d07af[_0x349df4(0x291)](),_0x28aef7=_0x3d07af[_0x349df4(0x1a1)]();if(_0x29368d[_0x349df4(0x17d)][_0x349df4(0x1e9)]>_0x123d22||_0x29368d[_0x349df4(0x17d)][_0x349df4(0x8f)]>_0x28aef7)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0xece2ad=[{'id':_0x519d92['id'],'params':{'unitId':_0x3a860e,'subUnitId':_0x29368d[_0x349df4(0x17d)][_0x349df4(0x346)],'pivotTableId':_0x29368d['pivotTableId'],'targetCellPosition':{'row':_0x29368d[_0x349df4(0x17d)][_0x349df4(0x1e9)],'col':_0x29368d['targetCellInfo']['col']}}}],_0x288ebb=[{'id':_0x519d92['id'],'params':{'unitId':_0x3a860e,'subUnitId':_0x38d9bc,'pivotTableId':_0x29368d['pivotTableId'],'targetCellPosition':{'row':_0x470716['targetCellInfo']['row'],'col':_0x470716[_0x349df4(0x17d)][_0x349df4(0x8f)]}}}];return _0xacfc7b[_0x349df4(0x8d)](_0xece2ad,_0x252bdb)&&_0x11f87e[_0x349df4(0x378)]({'unitID':_0x3a860e,'undoMutations':_0x288ebb,'redoMutations':_0xece2ad}),!0x0;}},_0x23c828={'type':_0xacfc7b[_0x245086(0x235)]['COMMAND'],'id':_0x245086(0xd8),async 'handler'(_0x4ab7ac,_0x5a7783){const _0x56c8f1=_0x245086;var _0x5c72d3;if(!_0x5a7783)return!0x1;const _0x2ff32d=_0x4ab7ac[_0x56c8f1(0x23d)](_0xacfc7b[_0x56c8f1(0x1f9)]),_0x40e990=_0x36f0de[_0x56c8f1(0x276)](_0x2ff32d);if(!_0x40e990)return!0x1;const {unitId:_0x26dc7b,subUnitId:_0x550715,workbook:_0x3ea67d}=_0x40e990,{row:_0x4747ce,col:_0x231d80}=_0x5a7783,_0x1faca5=_0x4ab7ac['get'](_0x49a3fb[_0x56c8f1(0x355)]),_0x352e8e=_0x1faca5[_0x56c8f1(0x350)](_0x26dc7b,_0x550715,_0x4747ce,_0x231d80);if(!_0x352e8e)return!0x1;const _0x35dd91=(_0x5c72d3=_0x1faca5[_0x56c8f1(0xfe)](_0x26dc7b,_0x550715,_0x352e8e))==null?void 0x0:_0x5c72d3['areaInfo'];if(!_0x35dd91)return!0x1;const _0x4f2e8f=_0x4ab7ac[_0x56c8f1(0x23d)](_0x49a3fb['SheetsPivotTableConfigModel'])[_0x56c8f1(0x11c)](_0x26dc7b,_0x550715,_0x352e8e);if(!_0x4f2e8f)return!0x1;const {rowInfo:_0x1700d2,colInfo:_0x3ae77d}=_0x35dd91,_0xbe7e4d=_0x1700d2[_0x4747ce][_0x56c8f1(0x26c)],_0x2a0ffb=_0x3ae77d[_0x231d80]['paths'],_0x31f275=_0x1700d2[_0x4747ce][_0x56c8f1(0x30e)],_0x102ef9=_0x3ae77d[_0x231d80]['level'],_0x308bce=_0xbe7e4d[_0x56c8f1(0x30d)](_0x2a0ffb),_0x3b17b4=_0x4f2e8f['fieldsConfig']['rowFields'][_0x56c8f1(0x122)](0x0,_0x31f275),_0x3e6018=_0x4f2e8f[_0x56c8f1(0xcf)][_0x56c8f1(0x158)][_0x56c8f1(0x122)](0x0,_0x102ef9),_0x18afef=_0x3b17b4[_0x56c8f1(0x30d)](_0x3e6018),_0xc995a9=_0x308bce[_0x56c8f1(0x29e)]((_0x2974e3,_0x41b7e9)=>[_0x2974e3,_0x18afef[_0x41b7e9]]),_0x261401=(await _0x4ab7ac['get'](_0x49a3fb['SheetsPivotRPCService'])['getPivotDisplayConfig']({'unitId':_0x26dc7b,'subUnitId':_0x550715,'pivotTableId':_0x352e8e,'params':{'type':_0x4bc33b[_0x56c8f1(0x2e4)],'drillDown':{'tuple':_0xc995a9}}}))[_0x56c8f1(0x359)]['drillDown'];if(!_0x261401)return!0x1;const {indexes:_0x296574,range:_0x19ba20,sourceUnitId:_0x21a7c9,sourceSubUnitId:_0x23334a,formatMap:_0x288ea1}=_0x261401,{startRow:_0x2a0024,endRow:_0x113cc8,startColumn:_0x43b80d,endColumn:_0x49bb69}=_0x19ba20,_0x3f8425=new _0xacfc7b[(_0x56c8f1(0x165))](),_0x516b39=_0x113cc8-_0x2a0024,_0x1a10b1=_0x49bb69-_0x43b80d,_0x11d3cc={},_0x3cb761=_0x36f0de[_0x56c8f1(0x276)](_0x2ff32d,{'unitId':_0x21a7c9,'subUnitId':_0x23334a});if(!_0x3cb761)return!0x1;const _0x25ddd4=_0x3dc5d3['colStyle'],_0x3a543b=_0x3dc5d3[_0x56c8f1(0x119)],_0x470531=_0x3dc5d3[_0x56c8f1(0x119)],_0x13e3ce=_0x3ea67d[_0x56c8f1(0x2fc)]()['setValue'](_0x25ddd4),_0x351d7a=_0x3ea67d['getStyles']()[_0x56c8f1(0x1b4)](_0x3a543b),_0x18ebca=_0x3ea67d[_0x56c8f1(0x2fc)]()[_0x56c8f1(0x1b4)](_0x470531),{worksheet:_0x3bb6a5}=_0x3cb761;let _0x4ff8f3=0x0;const _0x3e0894=0x1;_0x296574[_0x56c8f1(0x34c)](_0x33b031=>{const _0x45e111=_0x56c8f1;for(let _0x72ce98=0x0;_0x72ce98<=_0x49bb69-_0x43b80d;_0x72ce98++)_0x3f8425[_0x45e111(0x1b4)](_0x4ff8f3,_0x72ce98,_0x3bb6a5['getCellRaw'](_0x33b031+_0x19ba20[_0x45e111(0x345)]+_0x3e0894,_0x72ce98));_0x4ff8f3++;});for(let _0x9666df=_0x43b80d;_0x9666df<=_0x49bb69;_0x9666df++){const _0x237e7b=_0x3bb6a5[_0x56c8f1(0x1cd)](_0x2a0024,_0x9666df);_0x11d3cc[_0x2a0024]||(_0x11d3cc[_0x2a0024]={}),_0x11d3cc[_0x2a0024][_0x9666df]={..._0x237e7b,'s':_0x13e3ce};}let _0x3b8510=0x1;const _0x55e646={},_0x699065={};_0x3f8425[_0x56c8f1(0x177)]((_0x5e37eb,_0x324663)=>{_0x324663['forEach'](_0x3402b9=>{const _0x28fb38=_0x57b0,_0x279f71=_0x3f8425[_0x28fb38(0xe0)](_0x5e37eb,_0x3402b9);if(_0x11d3cc[_0x3b8510]||(_0x11d3cc[_0x3b8510]={}),_0x11d3cc[_0x3b8510][_0x3402b9]={..._0x279f71,'s':_0x3b8510%0x2===0x0?_0x18ebca:_0x351d7a},_0x288ea1[_0x3402b9]&&_0x5e37eb>=0x0){const _0x1f26ba=_0x3b8510%0x2===0x0;let _0x53c5e0=_0x1f26ba?_0x699065[_0x3402b9]:_0x55e646[_0x3402b9];_0x53c5e0||(_0x53c5e0=_0x3ea67d[_0x28fb38(0x2fc)]()[_0x28fb38(0x1b4)]({..._0x1f26ba?_0x470531:_0x3a543b,'n':{'pattern':_0x288ea1[_0x3402b9]}}),_0x1f26ba?_0x699065[_0x3402b9]=_0x53c5e0:_0x55e646[_0x3402b9]=_0x53c5e0),_0x11d3cc[_0x3b8510][_0x3402b9]['s']=_0x53c5e0;}}),_0x3b8510++;});const _0x3ce6d4=new _0xacfc7b[(_0x56c8f1(0x165))](_0x11d3cc),_0x23515c={};_0x3ce6d4['forValue']((_0x2db011,_0x467987,_0x5cd692)=>{_0x23515c[_0x2db011]||(_0x23515c[_0x2db011]={}),_0x23515c[_0x2db011][_0x467987]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x3600c6=[],_0x466462=[],_0x3984c7=_0x3ea67d[_0x56c8f1(0x167)]()['length'],_0x5856f7=_0xacfc7b[_0x56c8f1(0xd7)]({'rowCount':Math[_0x56c8f1(0x215)](_0xacfc7b[_0x56c8f1(0x30c)],_0x516b39+0xa),'columnCount':Math[_0x56c8f1(0x215)](_0xacfc7b[_0x56c8f1(0x1e8)],_0x1a10b1+0x5)}),_0x26ddb5=_0x4ab7ac[_0x56c8f1(0x23d)](_0xacfc7b[_0x56c8f1(0xcb)]);_0x5856f7['id']=_0xacfc7b[_0x56c8f1(0x1ae)](),_0x5856f7[_0x56c8f1(0x2d3)]=_0x3ea67d[_0x56c8f1(0x289)](''+_0x26ddb5['t']('sheets.tabs.sheet'));const _0x39c553={'index':_0x3984c7,'sheet':_0x5856f7,'unitId':_0x26dc7b},_0x509eeb=_0x36f0de[_0x56c8f1(0x302)](_0x4ab7ac,_0x39c553);_0x466462[_0x56c8f1(0x150)]({'id':_0x36f0de[_0x56c8f1(0x1a4)]['id'],'params':_0x39c553}),_0x3600c6[_0x56c8f1(0x150)]({'id':_0x36f0de[_0x56c8f1(0x6c)]['id'],'params':_0x509eeb}),_0x466462[_0x56c8f1(0x150)]({'id':_0x36f0de[_0x56c8f1(0x10a)]['id'],'params':{'unitId':_0x26dc7b,'subUnitId':_0x5856f7['id'],'cellValue':_0x11d3cc}}),_0x3600c6['unshift']({'id':_0x36f0de[_0x56c8f1(0x10a)]['id'],'params':{'unitId':_0x26dc7b,'subUnitId':_0x5856f7['id'],'cellValue':_0x23515c}});const _0x3a4f18={'startRow':0x0,'startColumn':0x0,'endRow':_0x3b8510-0x1,'endColumn':_0x49bb69};_0x466462[_0x56c8f1(0x150)]({'id':_0x51d92a[_0x56c8f1(0x168)]['id'],'params':{'unitId':_0x26dc7b,'subUnitId':_0x5856f7['id'],'range':_0x3a4f18}}),_0x3600c6[_0x56c8f1(0x2e6)]({'id':_0x51d92a[_0x56c8f1(0x11f)]['id'],'params':{'unitId':_0x26dc7b,'subUnitId':_0x5856f7['id']}});const _0x2b537b=_0x4ab7ac[_0x56c8f1(0x23d)](_0xacfc7b[_0x56c8f1(0xcd)]);return _0xacfc7b[_0x56c8f1(0x8d)](_0x466462,_0x2b537b)&&_0x4ab7ac[_0x56c8f1(0x23d)](_0xacfc7b[_0x56c8f1(0x353)])[_0x56c8f1(0x378)]({'unitID':_0x26dc7b,'undoMutations':_0x3600c6,'redoMutations':_0x466462}),!0x0;}},_0x2caa4b={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0xb8)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x34bd91,_0x567f51){const _0x134e23=_0x245086;if(!_0x567f51)return!0x1;const _0x2837f7=_0x34bd91['get'](_0xacfc7b[_0x134e23(0xcd)]),_0x4c8ec2=_0x34bd91[_0x134e23(0x23d)](_0x49a3fb[_0x134e23(0x102)]),_0x4a1dd1=_0x34bd91[_0x134e23(0x23d)](_0xacfc7b[_0x134e23(0x353)]),{pivotTableId:_0x2adcbc,fieldIds:_0x1a4ebc,unitId:_0x3b64ba,subUnitId:_0x234ca4}=_0x567f51,_0x46bb70=(await _0x4c8ec2[_0x134e23(0x12f)]({'unitId':_0x3b64ba,'subUnitId':_0x234ca4,'pivotTableId':_0x2adcbc,'params':{'type':_0x4bc33b[_0x134e23(0x2ba)],'removePivotField':{'fieldIds':_0x1a4ebc}}}))[_0x134e23(0x359)][_0x134e23(0x85)];if(!_0x46bb70)return!0x1;const {view:_0x2604af,changesets:_0x20a1e4,isEmpty:_0x5e7155,pivotTableConfig:_0x2243af}=_0x46bb70,_0x5bca6c=_0x2243af[_0x134e23(0x17d)],_0x3a1bd1=new _0x55dd5b[(_0x134e23(0x207))]();_0x3a1bd1['formJSON'](_0x2604af);const _0xf335f2={'cellInfo':_0x5bca6c,'view':_0x3a1bd1,'isEmpty':_0x5e7155};if(!await _0x34bd91[_0x134e23(0x23d)](_0x49a3fb[_0x134e23(0x227)])[_0x134e23(0x1f6)]['fetchThroughAsyncInterceptors'](_0x1a9326)(!0x0,_0xf335f2))return!0x1;const _0x23a535=_0x2d9359(_0x34bd91,_0x3a1bd1,_0x5bca6c,_0x5e7155),_0x3f3956=_0xdfae0b(_0x34bd91,_0xf335f2),{redos:_0xcce006,undos:_0x48d0c1}=_0x45e500(_0x2837f7,{'pivotTableId':_0x2adcbc,'unitId':_0x3b64ba,'subUnitId':_0x234ca4},_0x20a1e4);return _0xacfc7b[_0x134e23(0x8d)]([..._0x23a535[_0x134e23(0x17c)],..._0x3f3956[_0x134e23(0x17c)],..._0xcce006],_0x2837f7),_0x4a1dd1['pushUndoRedo']({'unitID':_0x3b64ba,'redoMutations':[..._0x23a535['redos'],..._0x3f3956[_0x134e23(0x17c)],..._0xcce006],'undoMutations':[..._0x23a535[_0x134e23(0x14b)],..._0x3f3956[_0x134e23(0x14b)],..._0x48d0c1]}),!0x0;}},_0x19f9d7={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0xb8)],'id':_0x245086(0x2df),async 'handler'(_0x59780e,_0x481ab3){const _0x6b8bf6=_0x245086;if(!_0x481ab3)return!0x1;const _0x1a1ed1=_0x59780e[_0x6b8bf6(0x23d)](_0xacfc7b[_0x6b8bf6(0xcd)]),_0x1e4db9=_0x59780e['get'](_0xacfc7b[_0x6b8bf6(0x353)]),_0x38a6c3=_0x59780e[_0x6b8bf6(0x23d)](_0x49a3fb[_0x6b8bf6(0x102)]),{resetArea:_0x41748b,pivotTableId:_0x2f3ce6,unitId:_0x3f2eba,subUnitId:_0x206c35}=_0x481ab3,_0x3b8b5b=(await _0x38a6c3[_0x6b8bf6(0x12f)]({'unitId':_0x3f2eba,'subUnitId':_0x206c35,'pivotTableId':_0x2f3ce6,'params':{'type':_0x4bc33b[_0x6b8bf6(0x35a)],'resetPivotTable':{'pivotTableId':_0x2f3ce6,'resetArea':_0x41748b}}}))['result'][_0x6b8bf6(0xeb)];if(!_0x3b8b5b)return!0x1;const {changesets:_0x4af82a}=_0x3b8b5b,{redos:_0x13e23a,undos:_0x51826b}=_0x45e500(_0x1a1ed1,{'pivotTableId':_0x2f3ce6,'unitId':_0x3f2eba,'subUnitId':_0x206c35},_0x4af82a);return _0xacfc7b[_0x6b8bf6(0x8d)](_0x13e23a,_0x1a1ed1),_0x1e4db9[_0x6b8bf6(0x378)]({'unitID':_0x3f2eba,'redoMutations':_0x13e23a,'undoMutations':_0x51826b}),!0x0;}},_0x597e51={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0xb8)],'id':_0x245086(0x141),async 'handler'(_0x2e5773,_0x3a8293){const _0xc2bfc8=_0x245086,_0x64bd58=_0x2e5773[_0xc2bfc8(0x23d)](_0xacfc7b['ICommandService']),_0x438d2d=_0x2e5773[_0xc2bfc8(0x23d)](_0x49a3fb[_0xc2bfc8(0x102)]),_0x32db98=_0x2e5773[_0xc2bfc8(0x23d)](_0x49a3fb['SheetsPivotTableAdaptorModel']),_0x2d6062=_0x2e5773[_0xc2bfc8(0x23d)](_0xacfc7b[_0xc2bfc8(0x1f9)]),_0x5c4b8c=_0x2e5773['get'](_0xacfc7b['LocaleService']),_0x8d40db=_0x2e5773[_0xc2bfc8(0x23d)](_0xacfc7b[_0xc2bfc8(0x353)]);if(!_0x3a8293)return!0x1;const {unitId:_0x2557cd,subUnitId:_0xaaa8df,row:_0x213a2a,col:_0x19ef6c,collapse:_0x51efec}=_0x3a8293,_0x5797c0=_0x2d6062[_0xc2bfc8(0x356)](_0x2557cd);if(!_0x5797c0||!_0x5797c0[_0xc2bfc8(0x244)](_0xaaa8df))return!0x1;const _0x541f73=_0x32db98[_0xc2bfc8(0x350)](_0x2557cd,_0xaaa8df,_0x213a2a,_0x19ef6c);if(!_0x541f73)return!0x1;const _0x1cc224=_0x32db98[_0xc2bfc8(0xfe)](_0x2557cd,_0xaaa8df,_0x541f73);if(!_0x1cc224)return!0x1;const _0x32cdba=_0xacfc7b[_0xc2bfc8(0x159)](_0x213a2a,_0x19ef6c),{rangesInfo:_0x1db17b,areaInfo:_0x4c792c,headerMap:_0x173d85}=_0x1cc224;if(!_0x1db17b||!_0x4c792c||!_0x173d85)return!0x1;const _0xec38a7=Object[_0xc2bfc8(0x305)](_0x1db17b)[_0xc2bfc8(0x76)](_0x3e2fc5=>_0x1db17b[_0x3e2fc5][_0xc2bfc8(0xd6)](_0x1fce5a=>_0xacfc7b[_0xc2bfc8(0x75)][_0xc2bfc8(0xec)](_0x1fce5a,_0x32cdba)));let _0x28bd27;_0xec38a7===_0xc2bfc8(0x250)?_0x28bd27=_0x173d85[_0xc2bfc8(0x258)][_0x19ef6c]:_0xec38a7===_0xc2bfc8(0x1b2)&&(_0x28bd27=_0x173d85[_0xc2bfc8(0x187)][_0x213a2a]);const _0x3c3e38=_0x28bd27==null?void 0x0:_0x28bd27[_0xc2bfc8(0x81)],_0x2815a2=_0x32db98[_0xc2bfc8(0x369)](_0x2557cd,_0xaaa8df,_0x213a2a,_0x19ef6c);let _0x55c4f1=_0x2815a2==null?void 0x0:_0x2815a2['v'];if(_0x55c4f1===_0x5c4b8c['t'](_0xc2bfc8(0x91))&&(_0x55c4f1=_0x55dd5b[_0xc2bfc8(0x319)][_0xc2bfc8(0x1e4)]),_0x55c4f1==null||!_0x541f73||!_0x3c3e38)return!0x1;const _0x1ee1b3=await _0x438d2d[_0xc2bfc8(0x12f)]({'unitId':_0x2557cd,'subUnitId':_0xaaa8df,'pivotTableId':_0x541f73,'params':{'type':_0x4bc33b[_0xc2bfc8(0x1d1)],'setPivotCollapse':{'tableFieldId':_0x3c3e38,'collapse':_0x51efec,'item':_0x55c4f1}}}),_0xdb2008=_0x1ee1b3==null?void 0x0:_0x1ee1b3['result'][_0xc2bfc8(0x277)];if(!_0xdb2008)return!0x1;const {view:_0xe18185,pivotTableConfig:_0x450208,isEmpty:_0x19f2ca,changesets:_0xbdf150}=_0xdb2008,_0x26e2e0=new _0x55dd5b[(_0xc2bfc8(0x207))]();_0x26e2e0[_0xc2bfc8(0x18e)](_0xe18185);const _0x2785b7=_0x450208[_0xc2bfc8(0x17d)],_0x40b13e={'cellInfo':_0x2785b7,'view':_0x26e2e0,'isEmpty':_0x19f2ca};if(!await _0x2e5773['get'](_0x49a3fb['SheetsPivotTableService'])[_0xc2bfc8(0x1f6)][_0xc2bfc8(0x1bd)](_0x1a9326)(!0x0,_0x40b13e))return!0x1;const _0x3c3fac=_0x2d9359(_0x2e5773,_0x26e2e0,_0x2785b7,_0x19f2ca),_0xf454dd=_0xdfae0b(_0x2e5773,_0x40b13e),{redos:_0x276f62,undos:_0x48859d}=_0x45e500(_0x64bd58,{'pivotTableId':_0x541f73,'unitId':_0x2557cd,'subUnitId':_0xaaa8df},_0xbdf150);return _0xacfc7b[_0xc2bfc8(0x8d)]([..._0x3c3fac[_0xc2bfc8(0x17c)],..._0xf454dd['redos'],..._0x276f62],_0x64bd58),_0x8d40db[_0xc2bfc8(0x378)]({'unitID':_0x2557cd,'redoMutations':[..._0x3c3fac[_0xc2bfc8(0x17c)],..._0xf454dd['redos'],..._0x276f62],'undoMutations':[..._0x3c3fac[_0xc2bfc8(0x14b)],..._0xf454dd[_0xc2bfc8(0x14b)],..._0x48859d]}),!0x0;}},_0x4227cd={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0xb8)],'id':_0x245086(0xf8),async 'handler'(_0x176cf1,_0x2b4717){const _0x310cd4=_0x245086;if(!_0x2b4717)return!0x1;const _0x449780=_0x176cf1[_0x310cd4(0x23d)](_0xacfc7b[_0x310cd4(0xcd)]),_0x2fbaa1=_0x176cf1['get'](_0xacfc7b[_0x310cd4(0x353)]),_0xfc9ec0=_0x176cf1[_0x310cd4(0x23d)](_0x49a3fb['SheetsPivotRPCService']),{pivotTableConfig:_0x341313,pivotTableId:_0x203735,unitId:_0x43acc0,subUnitId:_0x430035}=_0x2b4717,_0x3e7661=(await _0xfc9ec0['getPivotDisplayConfig']({'unitId':_0x43acc0,'subUnitId':_0x430035,'pivotTableId':_0x203735,'params':{'type':_0x4bc33b['SetPivotTableConfig'],'setPivotTableConfig':{'pivotTableId':_0x203735,'pivotTableConfig':_0x341313}}}))['result'][_0x310cd4(0x153)];if(!_0x3e7661)return!0x1;const {changesets:_0x5b2b67}=_0x3e7661,{redos:_0x5ef826,undos:_0x6f715}=_0x45e500(_0x449780,{'pivotTableId':_0x203735,'unitId':_0x43acc0,'subUnitId':_0x430035},_0x5b2b67);return _0xacfc7b[_0x310cd4(0x8d)](_0x5ef826,_0x449780),_0x2fbaa1['pushUndoRedo']({'unitID':_0x43acc0,'redoMutations':_0x5ef826,'undoMutations':_0x6f715}),!0x0;}},_0x4bc312={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0xb8)],'id':_0x245086(0x35f),async 'handler'(_0x5d697d,_0x138b21){const _0x3bb6e0=_0x245086;if(!_0x138b21)return!0x1;const _0xcafe00=_0x5d697d[_0x3bb6e0(0x23d)](_0xacfc7b[_0x3bb6e0(0xcd)]),{pivotTableId:_0x50cdb0,tableFieldId:_0x1db546,items:_0x3a8755,unitId:_0x4740a0,subUnitId:_0x5203f7,isAll:_0x2b7a8e}=_0x138b21,_0x7a85d2=_0x5d697d[_0x3bb6e0(0x23d)](_0x49a3fb[_0x3bb6e0(0x102)]),_0x476334=_0x5d697d[_0x3bb6e0(0x23d)](_0xacfc7b[_0x3bb6e0(0x353)]),_0x5e0014=(await _0x7a85d2['getPivotDisplayConfig']({'unitId':_0x4740a0,'subUnitId':_0x5203f7,'pivotTableId':_0x50cdb0,'params':{'type':_0x4bc33b[_0x3bb6e0(0x183)],'setPivotFilter':{'tableFieldId':_0x1db546,'items':_0x3a8755,'isAll':_0x2b7a8e}}}))[_0x3bb6e0(0x359)][_0x3bb6e0(0x1fa)];if(!_0x5e0014)return!0x1;const {changesets:_0x1eef27,pivotTableConfig:_0x5eb751,isEmpty:_0x5a086d,view:_0x1218ec}=_0x5e0014,_0x3e41d5=_0x5eb751[_0x3bb6e0(0x17d)],_0x3593fd=new _0x55dd5b['PivotView']();_0x3593fd[_0x3bb6e0(0x18e)](_0x1218ec);const _0x3a852b={'cellInfo':_0x3e41d5,'view':_0x3593fd,'isEmpty':_0x5a086d};if(!await _0x5d697d[_0x3bb6e0(0x23d)](_0x49a3fb[_0x3bb6e0(0x227)])[_0x3bb6e0(0x1f6)][_0x3bb6e0(0x1bd)](_0x1a9326)(!0x0,_0x3a852b))return!0x1;const _0x4f0c22=_0x2d9359(_0x5d697d,_0x3593fd,_0x3e41d5,_0x5a086d),_0x1c4a1d=_0xdfae0b(_0x5d697d,_0x3a852b),{undos:_0x19d052,redos:_0x3b3b73}=_0x45e500(_0xcafe00,{'pivotTableId':_0x50cdb0,'unitId':_0x4740a0,'subUnitId':_0x5203f7},_0x1eef27);return _0xacfc7b[_0x3bb6e0(0x8d)]([..._0x4f0c22['redos'],..._0x1c4a1d['redos'],..._0x3b3b73],_0xcafe00),_0x476334[_0x3bb6e0(0x378)]({'unitID':_0x4740a0,'redoMutations':[..._0x4f0c22[_0x3bb6e0(0x17c)],..._0x1c4a1d['redos'],..._0x3b3b73],'undoMutations':[..._0x4f0c22['undos'],..._0x1c4a1d[_0x3bb6e0(0x14b)],..._0x19d052]}),!0x0;}},_0x3a58aa={'type':_0xacfc7b[_0x245086(0x235)]['COMMAND'],'id':_0x245086(0x202),async 'handler'(_0x34428c,_0x1bdd51){const _0x3d63eb=_0x245086;if(!_0x1bdd51)return!0x1;const _0x590031=_0x34428c['get'](_0xacfc7b[_0x3d63eb(0xcd)]),_0x42c46d=_0x34428c['get'](_0xacfc7b['IUndoRedoService']),_0x36203c=_0x34428c[_0x3d63eb(0x23d)](_0x49a3fb[_0x3d63eb(0x102)]),{info:_0x24940e,tableFieldId:_0x5c3a78,pivotTableId:_0x2b0200,unitId:_0xf87f6c,subUnitId:_0x3304fa}=_0x1bdd51,_0x373704=(await _0x36203c['getPivotDisplayConfig']({'unitId':_0xf87f6c,'subUnitId':_0x3304fa,'pivotTableId':_0x2b0200,'params':{'type':_0x4bc33b[_0x3d63eb(0x351)],'setPivotSort':{'tableFieldId':_0x5c3a78,'info':_0x24940e}}}))['result'][_0x3d63eb(0x267)];if(!_0x373704)return!0x1;const {changesets:_0x448233}=_0x373704,{redos:_0xe27f38,undos:_0x57697f}=_0x45e500(_0x590031,{'pivotTableId':_0x2b0200,'unitId':_0xf87f6c,'subUnitId':_0x3304fa},_0x448233);return _0xacfc7b[_0x3d63eb(0x8d)](_0xe27f38,_0x590031),_0x42c46d[_0x3d63eb(0x378)]({'unitID':_0xf87f6c,'redoMutations':_0xe27f38,'undoMutations':_0x57697f}),!0x0;}},_0x59d880={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0xb8)],'id':_0x245086(0x304),async 'handler'(_0x56c74f,_0x588e54){const _0x579e29=_0x245086;if(!_0x588e54)return!0x1;const _0x3b74f3=_0x56c74f['get'](_0xacfc7b['ICommandService']),{pivotTableId:_0xb2d09c,fieldId:_0x340cec,valueFilterInfo:_0xbab457,unitId:_0x484214,subUnitId:_0x158336}=_0x588e54,_0x5c8b49=_0x56c74f[_0x579e29(0x23d)](_0x49a3fb[_0x579e29(0x102)]),_0x3d282e=_0x56c74f[_0x579e29(0x23d)](_0xacfc7b['IUndoRedoService']),_0x30a15a=(await _0x5c8b49[_0x579e29(0x12f)]({'unitId':_0x484214,'subUnitId':_0x158336,'pivotTableId':_0xb2d09c,'params':{'type':_0x4bc33b['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x340cec,'filterInfo':_0xbab457}}}))[_0x579e29(0x359)][_0x579e29(0xef)];if(!_0x30a15a)return!0x1;const {changesets:_0x1ddd1b,pivotTableConfig:_0x57d5d1,isEmpty:_0x1c9433,view:_0x5794dc}=_0x30a15a,_0x1fd508=_0x57d5d1[_0x579e29(0x17d)],_0x323d40=new _0x55dd5b[(_0x579e29(0x207))]();_0x323d40[_0x579e29(0x18e)](_0x5794dc);const _0x403e78={'cellInfo':_0x1fd508,'view':_0x323d40,'isEmpty':_0x1c9433};if(!await _0x56c74f[_0x579e29(0x23d)](_0x49a3fb[_0x579e29(0x227)])[_0x579e29(0x1f6)][_0x579e29(0x1bd)](_0x1a9326)(!0x0,_0x403e78))return!0x1;const _0x443eca=_0x2d9359(_0x56c74f,_0x323d40,_0x1fd508,_0x1c9433),_0x36e66b=_0xdfae0b(_0x56c74f,_0x403e78),{undos:_0x19cf1e,redos:_0x208266}=_0x45e500(_0x3b74f3,{'pivotTableId':_0xb2d09c,'unitId':_0x484214,'subUnitId':_0x158336},_0x1ddd1b);return _0xacfc7b['sequenceExecute']([..._0x443eca[_0x579e29(0x17c)],..._0x36e66b[_0x579e29(0x17c)],..._0x208266],_0x3b74f3),_0x3d282e['pushUndoRedo']({'unitID':_0x484214,'redoMutations':[..._0x443eca[_0x579e29(0x17c)],..._0x36e66b[_0x579e29(0x17c)],..._0x208266],'undoMutations':[..._0x443eca[_0x579e29(0x14b)],..._0x36e66b[_0x579e29(0x14b)],..._0x19cf1e]}),!0x0;}},_0x2885da={'id':'sheet.mutation.update-date-group','type':_0xacfc7b[_0x245086(0x235)][_0x245086(0x1d7)],'handler':(_0x42a8fb,_0x3273a2)=>{const _0x5f279f=_0x245086;if(!_0x3273a2)return!0x1;if(!!_0x42a8fb['get'](_0xacfc7b[_0x5f279f(0x260)])[_0x5f279f(0xd9)](_0x10e4d2))return!0x0;const {unitId:_0x443a3a,subUnitId:_0x5487c5,pivotTableId:_0x342574,tableFieldId:_0x515f29,dateType:_0x3983db}=_0x3273a2,_0x36772e=_0x42a8fb[_0x5f279f(0x23d)](_0x49a3fb[_0x5f279f(0x282)]),_0x5988c2=_0x36772e[_0x5f279f(0x24a)](_0x342574);if(!_0x5988c2)return!0x1;const _0x380ebf=_0x5988c2[_0x5f279f(0x37b)](_0x515f29);if(!_0x380ebf)return!0x1;const _0x28ac39=_0x380ebf[_0x5f279f(0x12b)](),_0x4bfdcc=_0x5988c2[_0x5f279f(0x1ff)](_0x28ac39),_0x87d450=(_0x4bfdcc==null?void 0x0:_0x4bfdcc[_0x5f279f(0x2f6)]())+'\x20'+_0x1c5697(_0x42a8fb,_0x3983db);_0x36772e[_0x5f279f(0xae)](_0x443a3a,_0x342574)['setDisplayName'](_0x380ebf['id'],_0x87d450);const _0x55fcf7=_0x5988c2[_0x5f279f(0x315)](_0x515f29);if(!_0x55fcf7)return!0x1;_0x5988c2[_0x5f279f(0x185)](_0x55fcf7[_0x5f279f(0x15e)](),_0x87d450),_0x380ebf[_0x5f279f(0x1f5)](_0x3983db);const _0x25c79c=_0x36772e[_0x5f279f(0x11c)](_0x443a3a,_0x5487c5,_0x342574);return _0x36772e['addDirtyPivotTable']({'unitId':_0x443a3a,'subUnitId':_0x5487c5,'token':_0x342574,'type':_0x542f6c[_0x5f279f(0x2b1)],'pivotConfig':_0x25c79c}),!0x0;}},_0x242db8={'id':_0x245086(0x21a),'type':_0xacfc7b['CommandType'][_0x245086(0xb8)],'handler':(_0x1745e,_0x11afb5)=>{const _0x4e2ec9=_0x245086;if(!_0x11afb5)return!0x1;const _0x391bc8=_0x1745e[_0x4e2ec9(0x23d)](_0xacfc7b['IUndoRedoService']),{unitId:_0x183d72,subUnitId:_0x16e3cf,pivotTableId:_0x4e0420,tableFieldId:_0x5a7116}=_0x11afb5,_0x140f6c=[],_0x5c5772=[],_0x16360e=_0x1745e[_0x4e2ec9(0x23d)](_0x49a3fb[_0x4e2ec9(0x1bf)]),_0x21a3ea=_0x16360e['getCollection'](_0x183d72,_0x4e0420),_0x2a980c=_0x16360e[_0x4e2ec9(0x11c)](_0x183d72,_0x16e3cf,_0x4e0420);if(!(_0x2a980c!=null&&_0x2a980c[_0x4e2ec9(0xcf)][_0x4e2ec9(0x327)]))return!0x1;const _0x437772=Object['values'](_0x2a980c[_0x4e2ec9(0xcf)][_0x4e2ec9(0x327)])[_0x4e2ec9(0x76)](_0x5a8b25=>_0x5a8b25['id']===_0x5a7116);if(!_0x437772)return!0x1;const _0xb2b36c=_0x437772[_0x4e2ec9(0x16d)];if(!(_0x21a3ea!=null&&_0x21a3ea['fields']))return!0x1;const _0x299d97=Object[_0x4e2ec9(0x2d1)](_0x21a3ea==null?void 0x0:_0x21a3ea[_0x4e2ec9(0x1d8)])['find'](_0x5059bd=>_0x5059bd['id']===_0xb2b36c);if(!_0x299d97)return!0x1;_0x55dd5b[_0x4e2ec9(0x35b)](_0x299d97)&&_0x140f6c[_0x4e2ec9(0x150)]({'id':_0x2885da['id'],'params':{..._0x11afb5,'dateType':_0x299d97[_0x4e2ec9(0xe6)]}}),_0x5c5772[_0x4e2ec9(0x150)]({'id':_0x2885da['id'],'params':{..._0x11afb5}});const _0x5847d5=_0x1745e['get'](_0xacfc7b['ICommandService']);return _0xacfc7b[_0x4e2ec9(0x8d)](_0x5c5772,_0x5847d5)&&_0x391bc8[_0x4e2ec9(0x378)]({'unitID':_0x183d72,'undoMutations':_0x140f6c,'redoMutations':_0x5c5772}),!0x0;}},_0x14fe9d={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0xb8)],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0xb7fa4a,_0x344d49){const _0x24689a=_0x245086;if(!_0x344d49)return!0x1;const _0x530f3b=_0xb7fa4a[_0x24689a(0x23d)](_0xacfc7b[_0x24689a(0xcd)]),_0xbd3bf3=_0xb7fa4a['get'](_0xacfc7b['IUndoRedoService']),_0x157d30=_0xb7fa4a['get'](_0x49a3fb['SheetsPivotRPCService']),{displayName:_0xe8fd0b,subtotalType:_0x5d5bf8,format:_0x404057,tableFieldId:_0x40216f,pivotTableId:_0x5c7c5a,unitId:_0x21a34c,subUnitId:_0x425b38}=_0x344d49,_0xa2a6ee=(await _0x157d30[_0x24689a(0x12f)]({'unitId':_0x21a34c,'subUnitId':_0x425b38,'pivotTableId':_0x5c7c5a,'params':{'type':_0x4bc33b[_0x24689a(0x253)],'setPivotSetting':{'tableFieldId':_0x40216f,'displayName':_0xe8fd0b,'subtotalType':_0x5d5bf8,'format':_0x404057}}}))[_0x24689a(0x359)][_0x24689a(0x308)];if(!_0xa2a6ee)return!0x1;const {changesets:_0x44ddcd,view:_0x595acf,pivotTableConfig:_0x2469cd,isEmpty:_0x258941}=_0xa2a6ee,_0x1ed2a9=_0x2469cd['targetCellInfo'],_0x2c335c=new _0x55dd5b[(_0x24689a(0x207))]();_0x2c335c['formJSON'](_0x595acf);const _0x15a20a={'cellInfo':_0x1ed2a9,'view':_0x2c335c,'isEmpty':_0x258941};if(!await _0xb7fa4a['get'](_0x49a3fb[_0x24689a(0x227)])[_0x24689a(0x1f6)][_0x24689a(0x1bd)](_0x1a9326)(!0x0,_0x15a20a))return!0x1;const _0x321877=_0x2d9359(_0xb7fa4a,_0x2c335c,_0x1ed2a9,_0x258941),_0x1da83e=_0xdfae0b(_0xb7fa4a,_0x15a20a),{undos:_0x304e00,redos:_0x2295fd}=_0x45e500(_0x530f3b,{'pivotTableId':_0x5c7c5a,'unitId':_0x21a34c,'subUnitId':_0x425b38},_0x44ddcd);return _0xacfc7b[_0x24689a(0x8d)]([..._0x321877[_0x24689a(0x17c)],..._0x1da83e[_0x24689a(0x17c)],..._0x2295fd],_0x530f3b),_0xbd3bf3[_0x24689a(0x378)]({'unitID':_0x21a34c,'redoMutations':[..._0x321877['redos'],..._0x1da83e[_0x24689a(0x17c)],..._0x2295fd],'undoMutations':[..._0x321877[_0x24689a(0x14b)],..._0x1da83e[_0x24689a(0x14b)],..._0x304e00]}),!0x0;}},_0x3a8732={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0x1d7)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x588041,_0x5a968a){const _0x25c3de=_0x245086;if(!_0x5a968a)return!0x1;if(!!_0x588041[_0x25c3de(0x23d)](_0xacfc7b[_0x25c3de(0x260)])[_0x25c3de(0xd9)](_0x10e4d2))return!0x0;const _0x557170=_0x588041[_0x25c3de(0x23d)](_0x49a3fb[_0x25c3de(0x282)]),{pivotTableId:_0x40a2fb,deleteIds:_0x10a966,collectionJSON:_0x191f8f,dataRangeInfo:_0x393d64,unitId:_0x27b44b,subUnitId:_0x5c5bc1}=_0x5a968a,_0x4f4be6=_0x557170[_0x25c3de(0x24a)](_0x40a2fb),_0x944e14=_0x557170['getPivotTableConfig'](_0x27b44b,_0x5c5bc1,_0x40a2fb);if(!_0x4f4be6||!_0x944e14)return!0x1;const {collection:_0x4da6c3,updateDataFieldList:_0x2cf559}=_0x557170[_0x25c3de(0x2f5)](_0x40a2fb,_0x191f8f,_0x393d64,_0x944e14[_0x25c3de(0x17d)]);_0x557170[_0x25c3de(0x7a)](_0x4da6c3,_0x2cf559,_0x393d64),_0x4f4be6[_0x25c3de(0x1ee)](_0x4da6c3);for(const _0x5ef54b of _0x10a966)_0x557170[_0x25c3de(0xe2)](_0x393d64[_0x25c3de(0x2ca)],_0x5ef54b);const _0xebff87=_0x557170['getPivotTableConfig'](_0x27b44b,_0x5c5bc1,_0x40a2fb);return _0xebff87[_0x25c3de(0x1df)]=JSON[_0x25c3de(0x2d0)](JSON[_0x25c3de(0x22d)](_0x393d64)),_0x557170['addDirtyPivotTable']({'unitId':_0x27b44b,'subUnitId':_0x5c5bc1,'token':_0x40a2fb,'type':_0x542f6c['Set']}),!0x0;}},_0x2e59c4={'type':_0xacfc7b[_0x245086(0x235)]['COMMAND'],'id':_0x245086(0x2c6),async 'handler'(_0x4b6c51,_0x22752a){const _0x2d87e1=_0x245086,_0x22d9d9=_0x4b6c51[_0x2d87e1(0x23d)](_0xacfc7b[_0x2d87e1(0xcd)]),_0x23ec88=_0x4b6c51[_0x2d87e1(0x23d)](_0x49a3fb[_0x2d87e1(0x102)]),_0x1cf8d3=_0x4b6c51[_0x2d87e1(0x23d)](_0xacfc7b['IUndoRedoService']);if(!_0x22752a)return!0x1;const {token:_0x4dcaba,dataRangeInfo:_0x1edb16,unitId:_0x59785a,subUnitId:_0x34f61b}=_0x22752a,_0x54d52d=[],_0x3c3a75=[],_0x202ef8=(await _0x23ec88[_0x2d87e1(0x12f)]({'unitId':_0x59785a,'subUnitId':_0x34f61b,'pivotTableId':_0x4dcaba,'params':{'type':_0x4bc33b[_0x2d87e1(0x191)],'updatePivotSource':{'dataRangeInfo':_0x1edb16,'unitId':_0x59785a,'subUnitId':_0x34f61b}}}))['result'][_0x2d87e1(0x362)];if(!_0x202ef8)return!0x1;const {changesets:_0x4e4319,deleteIds:_0x3b221e,collectionConfig:_0xfa4b02,oldCollectionConfig:_0x118300,view:_0x1d43a2,isEmpty:_0x4e00e8,pivotTableConfig:_0x3297a8}=_0x202ef8;_0x3c3a75[_0x2d87e1(0x150)]({'id':_0x3a8732['id'],'params':{'pivotTableId':_0x4dcaba,'deleteIds':_0x3b221e,'collectionJSON':_0xfa4b02,'dataRangeInfo':_0x1edb16,'unitId':_0x59785a,'subUnitId':_0x34f61b}}),_0x54d52d[_0x2d87e1(0x2e6)]({'id':_0x3a8732['id'],'params':{'pivotTableId':_0x4dcaba,'deleteIds':[],'collectionJSON':_0x118300,'dataRangeInfo':_0x3297a8[_0x2d87e1(0x1df)],'unitId':_0x59785a,'subUnitId':_0x34f61b}});const _0x166d6a=_0x3297a8[_0x2d87e1(0x17d)],_0x40580c=new _0x55dd5b[(_0x2d87e1(0x207))]();_0x40580c[_0x2d87e1(0x18e)](_0x1d43a2);const _0x14b17d={'cellInfo':_0x166d6a,'view':_0x40580c,'isEmpty':_0x4e00e8};if(!await _0x4b6c51[_0x2d87e1(0x23d)](_0x49a3fb[_0x2d87e1(0x227)])[_0x2d87e1(0x1f6)]['fetchThroughAsyncInterceptors'](_0x1a9326)(!0x0,_0x14b17d))return!0x1;const _0x107714=_0x2d9359(_0x4b6c51,_0x40580c,_0x166d6a,_0x4e00e8),_0x3e69f2=_0xdfae0b(_0x4b6c51,_0x14b17d),{undos:_0x103d6b,redos:_0x11a2ff}=_0x45e500(_0x22d9d9,{'pivotTableId':_0x4dcaba,'unitId':_0x59785a,'subUnitId':_0x34f61b},_0x4e4319);return _0xacfc7b[_0x2d87e1(0x8d)]([..._0x107714[_0x2d87e1(0x17c)],..._0x3e69f2['redos'],..._0x3c3a75,..._0x103d6b],_0x22d9d9),_0x1cf8d3['pushUndoRedo']({'unitID':_0x59785a,'redoMutations':[..._0x107714[_0x2d87e1(0x17c)],..._0x3e69f2[_0x2d87e1(0x17c)],..._0x3c3a75,..._0x103d6b],'undoMutations':[..._0x107714[_0x2d87e1(0x14b)],..._0x3e69f2['undos'],..._0x54d52d,..._0x11a2ff]}),!0x0;}},_0xa0f1c9={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0xb8)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x473e5a,_0x155a96){const _0x120d39=_0x245086;if(!_0x155a96)return!0x1;const _0x175365=_0x473e5a['get'](_0xacfc7b[_0x120d39(0xcd)]),_0x540823=_0x473e5a[_0x120d39(0x23d)](_0x49a3fb[_0x120d39(0x102)]),_0x37614f=_0x473e5a[_0x120d39(0x23d)](_0xacfc7b[_0x120d39(0x1f9)]),_0x2d988d=_0x473e5a[_0x120d39(0x23d)](_0xacfc7b['IUndoRedoService']),{pivotTableId:_0x2566ba,position:_0x35503c,index:_0xb35b97}=_0x155a96,_0x52c591=_0x36f0de[_0x120d39(0x276)](_0x37614f);if(!_0x52c591)return!0x1;const {unitId:_0x39015f,subUnitId:_0x32df82}=_0x52c591,_0x4250ff=(await _0x540823[_0x120d39(0x12f)]({'unitId':_0x39015f,'subUnitId':_0x32df82,'pivotTableId':_0x2566ba,'params':{'type':_0x4bc33b['UpdateValuePosition'],'updateValuePosition':{'position':_0x35503c,'index':_0xb35b97}}}))['result'][_0x120d39(0xdf)];if(!_0x4250ff)return!0x1;const {changesets:_0x1f8803,view:_0x204e96,isEmpty:_0x512319,pivotTableConfig:_0x45233b}=_0x4250ff,_0x543d04=_0x45233b['targetCellInfo'],_0x5b67a0=new _0x55dd5b[(_0x120d39(0x207))]();_0x5b67a0['formJSON'](_0x204e96);const _0x3dfc14=_0x473e5a[_0x120d39(0x23d)](_0x49a3fb[_0x120d39(0x227)]),_0x3e76c3={'cellInfo':_0x543d04,'view':_0x5b67a0,'isEmpty':_0x512319};if(!await _0x3dfc14[_0x120d39(0x1f6)][_0x120d39(0x1bd)](_0x1a9326)(!0x0,_0x3e76c3))return!0x1;const _0x22fd0b=_0x2d9359(_0x473e5a,_0x5b67a0,_0x543d04,_0x512319),_0x1624ad=_0xdfae0b(_0x473e5a,_0x3e76c3),{undos:_0x537f49,redos:_0x2705ab}=_0x45e500(_0x175365,{'pivotTableId':_0x2566ba,'unitId':_0x39015f,'subUnitId':_0x32df82},_0x1f8803);return _0xacfc7b['sequenceExecute']([..._0x22fd0b[_0x120d39(0x17c)],..._0x1624ad[_0x120d39(0x17c)],..._0x2705ab],_0x175365),_0x2d988d['pushUndoRedo']({'unitID':_0x39015f,'redoMutations':[..._0x22fd0b[_0x120d39(0x17c)],..._0x1624ad[_0x120d39(0x17c)],..._0x2705ab],'undoMutations':[..._0x22fd0b['undos'],..._0x1624ad[_0x120d39(0x14b)],..._0x537f49]}),!0x0;}},_0x5c4d0c={'type':_0xacfc7b[_0x245086(0x235)][_0x245086(0x1d7)],'id':_0x245086(0x2f9),'handler'(){return!0x0;}};var _0x2e543d=Object[_0x245086(0x120)],_0x491fc1=(_0x4b582a,_0x5ec753,_0x571d0e,_0x555563)=>{const _0x45c197=_0x245086;for(var _0x3f6d3e=_0x555563>0x1?void 0x0:_0x555563?_0x2e543d(_0x5ec753,_0x571d0e):_0x5ec753,_0x28858a=_0x4b582a[_0x45c197(0x16a)]-0x1,_0x3608c5;_0x28858a>=0x0;_0x28858a--)(_0x3608c5=_0x4b582a[_0x28858a])&&(_0x3f6d3e=_0x3608c5(_0x3f6d3e)||_0x3f6d3e);return _0x3f6d3e;},_0x1bdbe7=(_0x59b81f,_0xac05f1)=>(_0x7e2d8,_0x158104)=>_0xac05f1(_0x7e2d8,_0x158104,_0x59b81f);const _0x4c1411=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x1e0645=(_0x5ac000,_0xdfc3e9,_0x506494)=>{const _0x15a05a=_0x245086,_0x239585=_0x5ac000[_0x15a05a(0x139)];_0x5ac000[_0x15a05a(0x23e)](_0x190500=>{const _0x187be7=_0x15a05a,_0x1892b4=_0x190500[_0x187be7(0x15e)](),_0x195dbf=_0x190500[_0x187be7(0x2c3)](),_0x4e03b4=_0x190500[_0x187be7(0x2e0)](),_0x3d742e=_0x190500['getDisplayName']();_0xdfc3e9[_0x195dbf]&&_0xdfc3e9[_0x195dbf]===_0x3d742e&&_0x4e03b4===_0x3d742e&&(_0x5ac000[_0x187be7(0x185)](_0x1892b4,_0x239585['getDisplayName'](_0x195dbf)),_0x190500[_0x187be7(0x371)](_0x239585[_0x187be7(0x89)](_0x195dbf)));}),_0x5ac000[_0x15a05a(0x193)](_0x55dd5b[_0x15a05a(0x347)][_0x15a05a(0x23c)],_0x16090f=>{const _0x542881=_0x15a05a,_0x30d516=_0x16090f[_0x542881(0x15e)](),_0x2588bd=_0x16090f['getDataFieldId'](),_0x3642e1=_0x16090f['getSourceName'](),_0x24a806=_0x16090f[_0x542881(0x89)](),_0x13159b=_0x16090f[_0x542881(0x379)](),_0x20165a=_0x506494(_0x3642e1,_0x13159b);_0xdfc3e9[_0x2588bd]&&_0xdfc3e9[_0x2588bd]===_0x3642e1&&_0x20165a===_0x24a806&&(_0x5ac000['renameField'](_0x30d516,_0x506494(_0x239585[_0x542881(0x89)](_0x2588bd),_0x13159b)),_0x16090f[_0x542881(0x371)](_0x239585['getDisplayName'](_0x2588bd)));});},_0x2bebb0=(_0x351c77,_0x466e6c,_0x34e785)=>{const _0x4d7eb7=_0x245086;var _0x342fa5,_0x3f8cf0;const {arrayFormulaCellData:_0x25bc28,unitData:_0x3f7c7c}=_0x466e6c,{unitId:_0x50fc1b,subUnitId:_0x3372a4}=_0x34e785,_0x1af121=_0x34e785[_0x4d7eb7(0x2d7)],{startColumn:_0x45025a,endColumn:_0x451e0e}=_0x1af121,_0x2119c5=(_0x342fa5=_0x25bc28==null?void 0x0:_0x25bc28[_0x50fc1b])==null?void 0x0:_0x342fa5[_0x3372a4],_0x68af41=(_0x3f8cf0=_0x3f7c7c==null?void 0x0:_0x3f7c7c[_0x50fc1b])==null?void 0x0:_0x3f8cf0[_0x3372a4],_0x3df82c=new Set(),_0x20d437=_0x451e0e-_0x45025a+0x1,{dirtyRanges:_0x11a751}=_0x351c77;if(_0x11a751)for(const {range:_0x153c76,sheetId:_0xcecd0e,unitId:_0x4c44c8}of _0x11a751){if(_0xcecd0e!==_0x3372a4||_0x50fc1b!==_0x4c44c8)continue;const _0x2e2f6a=_0xacfc7b[_0x4d7eb7(0x75)][_0x4d7eb7(0x368)](_0x153c76,_0x1af121);if(_0x2e2f6a){const {startColumn:_0x17257e,endColumn:_0x3171ba}=_0x2e2f6a;for(let _0x59194b=_0x17257e;_0x59194b<=_0x3171ba;_0x59194b++)_0x3df82c['add'](_0x59194b);}}if(_0x3df82c[_0x4d7eb7(0x189)]===_0x20d437||_0x3df82c[_0x4d7eb7(0x189)]===_0x20d437)return Array[_0x4d7eb7(0x320)](_0x3df82c);if(_0x68af41){const _0x5ee1dc=_0x68af41['getMatrix'](),_0x2d5c86=Object[_0x4d7eb7(0x305)](_0x5ee1dc);for(const _0x31ae93 of _0x2d5c86){const _0x1a10a4=Number(_0x31ae93),_0x164fd0=_0x5ee1dc[_0x1a10a4];if(_0x3df82c[_0x4d7eb7(0x189)]===_0x20d437)break;for(const _0x519fda in _0x164fd0){const _0x15311c=Number(_0x519fda);_0x15311c<_0x45025a||_0x15311c>_0x451e0e||_0x3df82c[_0x4d7eb7(0x219)](_0x15311c);}}}if(_0x2119c5){const _0x314251=_0x2119c5['getMatrix'](),_0x59d8ad=Object[_0x4d7eb7(0x305)](_0x314251);for(const _0xf11f5f of _0x59d8ad){const _0x3f1979=Number(_0xf11f5f),_0xe9eb6f=_0x314251[_0x3f1979];if(_0x3df82c['size']===_0x20d437)break;for(const _0x5dfb96 in _0xe9eb6f){const _0x48692a=Number(_0x5dfb96);_0x48692a<_0x45025a||_0x48692a>_0x451e0e||_0x3df82c['add'](_0x48692a);}}}return Array[_0x4d7eb7(0x320)](_0x3df82c);},_0x5bd7e8=_0x19c38a=>{const _0x1d1b21=_0x245086,_0x3d2798=new Set(),_0x6833d4=[];for(const _0x37ecd9 of _0x19c38a){const _0x2e851d=_0x37ecd9[_0x1d1b21(0x345)]+','+_0x37ecd9[_0x1d1b21(0x2c0)]+','+_0x37ecd9['startColumn']+','+_0x37ecd9[_0x1d1b21(0x265)];_0x3d2798[_0x1d1b21(0x115)](_0x2e851d)||(_0x3d2798[_0x1d1b21(0x219)](_0x2e851d),_0x6833d4[_0x1d1b21(0x150)](_0x37ecd9));}return _0x6833d4;};let _0x1df37d=class extends _0xacfc7b[_0x245086(0x1ef)]{constructor(_0x433557,_0x20fa16,_0x1dc319,_0x25feee,_0x320657){const _0x323247=_0x245086;super(),_0x2a0787(this,'_globalSubject',new _0x26949a[(_0x323247(0x217))](!0x0)),_0x2a0787(this,'_globalComputedStartHelpFunc',_0x4b0e4e=>{this['_globalSubject']['next'](!0x1);}),_0x2a0787(this,'_globalComputedEndHelpFunc',_0x341b60=>{const _0x59fb6a=_0x323247;this['_globalSubject'][_0x59fb6a(0x19a)](!0x0);}),(this[_0x323247(0x10e)]=_0x433557,this[_0x323247(0x37a)]=_0x20fa16,this[_0x323247(0x104)]=_0x1dc319,this['_globalComputingSrv']=_0x25feee,this[_0x323247(0x1db)]=_0x320657,this[_0x323247(0x1ba)](),this[_0x323247(0x2de)]());}[_0x245086(0x1ba)](){const _0x384701=_0x245086;this['_subjectCollectionChange'](),this[_0x384701(0xbc)](),this[_0x384701(0x231)](),this[_0x384701(0x37c)]();}[_0x245086(0x2a0)](){const _0x3e1eec=_0x245086;this[_0x3e1eec(0x273)]['pushComputingStatusSubject'](this[_0x3e1eec(0x28d)]),_0x55dd5b[_0x3e1eec(0x209)][_0x3e1eec(0x247)](_0x55dd5b[_0x3e1eec(0x113)][_0x3e1eec(0x34e)],this[_0x3e1eec(0x6e)]),_0x55dd5b[_0x3e1eec(0x209)][_0x3e1eec(0x247)](_0x55dd5b['PivotCallbackEnum'][_0x3e1eec(0x365)],this['_globalComputedEndHelpFunc']);}[_0x245086(0x2de)](){const _0x5d2ba3=_0x245086;this[_0x5d2ba3(0x25a)](this[_0x5d2ba3(0x104)][_0x5d2ba3(0x146)](_0x167c01=>{const _0x2356ea=_0x5d2ba3;_0x167c01['id']===_0x36f0de[_0x2356ea(0x1fe)]['id']&&this[_0x2356ea(0x10e)]['handleMoveRange'](_0x167c01[_0x2356ea(0x171)]);})),this[_0x5d2ba3(0x25a)](this[_0x5d2ba3(0x104)][_0x5d2ba3(0x146)](_0x4f56a8=>{const _0x19519c=_0x5d2ba3;if(_0x4f56a8['id']!==_0x10fe5a['id'])return;const _0x248be1=_0x4f56a8[_0x19519c(0x171)],{unitId:_0x565e94,subUnitId:_0x2352f7,pivotTableId:_0x5cfd2f}=_0x248be1,_0x3164f5=_0x248be1[_0x19519c(0x171)][_0x19519c(0x21d)],_0x11b85f={};switch(_0x3164f5){case _0x4bc33b[_0x19519c(0xbd)]:{const _0x1152a8=_0x248be1[_0x19519c(0x171)]['filter'];if(!_0x1152a8)return;const {row:_0x597de9,col:_0x307c63,cellData:_0x2d8ae0,pivotItemRenderInfoCache:_0x1f860d,tableFieldId:_0x534904}=_0x1152a8,_0x17736b=this[_0x19519c(0x10e)][_0x19519c(0x24a)](_0x248be1['pivotTableId']);if(!_0x17736b||!_0x1f860d)return;if(_0x534904){const _0x5ddfac=_0x17736b[_0x19519c(0x37b)](_0x534904);if(!_0x5ddfac)return;_0x11b85f['filter']={..._0x17736b[_0x19519c(0x101)](_0x5ddfac),'tableFieldId':_0x534904,'pivotTableId':_0x248be1[_0x19519c(0x221)],'filterInfo':_0x17736b['getFilterInfo'](_0x534904),'sortInfo':_0x17736b[_0x19519c(0x21b)](_0x534904),'format':_0x17736b[_0x19519c(0x1cb)](_0x534904)};}else{const _0x3aa337=_0x52e67e(_0x597de9,_0x307c63,_0x2d8ae0,_0x17736b,_0x1f860d),_0x1cf0f9=_0x3aa337==null?void 0x0:_0x3aa337[_0x19519c(0x2b0)];if(!_0x1cf0f9)return;const _0x279815=_0x17736b['getDataFieldByTableId'](_0x1cf0f9);if(!_0x279815)return;_0x11b85f[_0x19519c(0x306)]={..._0x17736b[_0x19519c(0x101)](_0x279815),'tableFieldId':_0x1cf0f9,'pivotTableId':_0x248be1[_0x19519c(0x221)],'filterInfo':_0x17736b[_0x19519c(0x211)](_0x1cf0f9),'sortInfo':_0x17736b[_0x19519c(0x21b)](_0x1cf0f9),'format':_0x17736b[_0x19519c(0x1cb)](_0x1cf0f9)};}}break;case _0x4bc33b[_0x19519c(0x8c)]:{const _0x209c2d=_0x248be1[_0x19519c(0x171)][_0x19519c(0x281)];if(!_0x209c2d)return;const {pivotTableId:_0x3c243a}=_0x209c2d,_0x2e2514=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x3c243a);if(!_0x2e2514)return;const _0x142f2b=this[_0x19519c(0x10e)][_0x19519c(0x11c)](_0x565e94,_0x2352f7,_0x3c243a),_0x38ce10=_0x50b7d8(_0x2e2514,_0x3c243a,_0x142f2b);_0x11b85f['panel']=_0x38ce10;}break;case _0x4bc33b[_0x19519c(0x25b)]:{const _0x420764=this[_0x19519c(0x10e)][_0x19519c(0x24a)](_0x5cfd2f),_0x1c73ea=this[_0x19519c(0x10e)][_0x19519c(0x114)](_0x565e94),_0x4bb8f4=_0x1c73ea['getCollection'](_0x5cfd2f);let _0x17f75b=null;const _0x51f41=this[_0x19519c(0x10e)]['getPivotTableConfig'](_0x565e94,_0x2352f7,_0x5cfd2f),_0x5625a2=_0x248be1['params'][_0x19519c(0x24e)];if(!_0x420764||!_0x51f41||!_0x5625a2)return!0x1;const {dataFieldId:_0x77a74,fieldArea:_0x507023,index:_0x2368cd}=_0x5625a2;_0x420764[_0x19519c(0x220)]();const _0x32081e=_0x420764['addFieldWithSourceId'](_0x77a74,_0x507023,_0x2368cd);if(_0x32081e&&_0x507023===_0x55dd5b[_0x19519c(0x347)][_0x19519c(0x23c)]){const _0x134d57=_0x32081e[_0x19519c(0x15e)](),_0x5a4d93=_0x420764[_0x19519c(0x37b)](_0x134d57);if(_0x5a4d93){const _0xe8eeba=_0x5a4d93==null?void 0x0:_0x5a4d93[_0x19519c(0x2aa)]();_0x420764['setSubtotalType'](_0x32081e[_0x19519c(0x15e)](),_0xe8eeba===_0x55dd5b[_0x19519c(0x6b)][_0x19519c(0xa2)]?_0x55dd5b['PivotSubtotalTypeEnum'][_0x19519c(0x34f)]:_0x55dd5b['PivotSubtotalTypeEnum'][_0x19519c(0x1bc)]);}const _0xa86268=_0x420764['getValueIndex'](),_0x210760=_0x420764['getValuePosition'](),_0x4038ee=_0x420764['getFieldCountByArea'](_0x55dd5b['PivotTableFiledAreaEnum']['Value']);if(_0xa86268===-0x1&&_0x4038ee>0x1){const _0x365a77=_0x210760===_0x55dd5b['PivotTableValuePositionEnum'][_0x19519c(0x15f)]?_0x55dd5b['PivotTableValuePositionEnum'][_0x19519c(0x28c)]:_0x210760,_0x184c4f=_0x365a77===_0x55dd5b[_0x19519c(0x2c7)]['Row']?_0x55dd5b[_0x19519c(0x347)][_0x19519c(0x130)]:_0x55dd5b['PivotTableFiledAreaEnum']['Column'];_0x420764['updateValuePosition'](_0x365a77,_0x420764[_0x19519c(0x1d9)](_0x184c4f));}}else{if(_0x32081e&&(_0x507023===_0x55dd5b['PivotTableFiledAreaEnum'][_0x19519c(0x130)]||_0x507023===_0x55dd5b[_0x19519c(0x347)][_0x19519c(0x28c)])){const _0x17ae85=_0x32081e[_0x19519c(0x15e)](),_0x5d5c64=_0x420764[_0x19519c(0x37b)](_0x17ae85);if(_0x5d5c64&&(_0x5d5c64==null?void 0x0:_0x5d5c64[_0x19519c(0x2aa)]())===_0x55dd5b['PivotDataFieldDataTypeEnum'][_0x19519c(0x160)]){const _0x4bec7f=_0x5d5c64['getformat']();if(_0x4bec7f&&_0x420764['setFieldFormat'](_0x32081e[_0x19519c(0x15e)](),_0x4bec7f),!_0x4bb8f4[_0x19519c(0x23a)]()['some'](_0x39607c=>{const _0xb7828e=_0x19519c,_0x4e5779=_0x4bb8f4[_0xb7828e(0x2bb)](_0x39607c);return _0x55dd5b['isDateGroupField'](_0x4e5779)?_0x4e5779[_0xb7828e(0x262)]()['originalFieldId']===_0x77a74:!0x1;})){const _0x7d921e=_0x1c73ea[_0x19519c(0x154)](),_0x2f90e3=_0x47aedb(_0x5d5c64['maxDate'],_0x5d5c64['minDate']),_0x2851a0=_0x5d5c64[_0x19519c(0x2f6)]()+_0x19519c(0x366)+_0x1c5697(this[_0x19519c(0x1db)],_0x2f90e3),_0x1e9cb0=new _0x55dd5b['DateGroupField'](_0x7d921e,_0x2851a0,_0x55dd5b['generateHexNumber'](0x3),_0x5d5c64[_0x19519c(0x15e)](),_0x2f90e3);_0x1c73ea['addDataFieldWithoutUnitInfo'](_0x1e9cb0),_0x4bb8f4['addField'](_0x7d921e,_0x2851a0),_0x420764[_0x19519c(0x93)](_0x7d921e,_0x507023,(_0x2368cd!=null?_0x2368cd:0x0)+0x1),_0x17f75b=_0x1e9cb0;}}}}const _0x4d27a8=_0x420764[_0x19519c(0x155)](),_0x474f32=_0x420764[_0x19519c(0x36e)]()[_0x19519c(0xc9)]();let _0x318771;if(_0x17f75b){_0x318771=_0x17f75b['toJSON']();const _0x533e18=_0x17f75b[_0x19519c(0x15e)]();_0x4bb8f4[_0x19519c(0x27d)](_0x533e18);let _0x38e1d5=!0x0;for(const _0x9cea51 in _0x1c73ea[_0x19519c(0x1b3)])if(_0x1c73ea[_0x19519c(0x1b3)][_0x9cea51][_0x19519c(0x23a)]()[_0x19519c(0x90)](_0x533e18)){_0x38e1d5=!0x1;break;}_0x38e1d5&&_0x1c73ea[_0x19519c(0x2f7)](_0x533e18);}const _0x26d833=_0x420764[_0x19519c(0x82)]();_0x11b85f[_0x19519c(0x24e)]={'view':_0x474f32,'changesets':_0x26d833,'isEmpty':_0x4d27a8,'pivotTableConfig':_0x51f41,'shouldBeAddedGroupJSON':_0x318771};}break;case _0x4bc33b[_0x19519c(0x1e5)]:{const _0x5c62a6=_0x248be1['params'][_0x19519c(0x2d2)];if(!_0x5c62a6)return;const _0x4713ae=_0x5c62a6[_0x19519c(0x1df)],_0x3f74ba=_0x5c62a6[_0x19519c(0x221)],{collection:_0x44159b}=this['_sheetsPivotDataSourceModel'][_0x19519c(0x181)]({'unitId':_0x4713ae['unitId'],'sheetName':_0x4713ae[_0x19519c(0x2ed)],'subUnitId':_0x4713ae[_0x19519c(0x346)],'range':_0x4713ae[_0x19519c(0x2d7)]}),_0x289b2f=new _0x55dd5b[(_0x19519c(0x209))](_0x44159b,void 0x0,_0x3f74ba),_0x3a37dd=_0x289b2f[_0x19519c(0x36e)](),_0xb71a2c=_0x289b2f[_0x19519c(0xc9)](),_0xe1b04=_0x44159b[_0x19519c(0xc9)]();_0x11b85f[_0x19519c(0x2d2)]={'view':_0x3a37dd,'fieldsConfig':_0xb71a2c,'collectionConfig':_0xe1b04,'isEmpty':_0x289b2f[_0x19519c(0x155)]()};}break;case _0x4bc33b[_0x19519c(0x166)]:{const _0x57cc1d=_0x248be1[_0x19519c(0x171)][_0x19519c(0xd0)];if(!_0x57cc1d)return;const {fieldId:_0xd1b96a,area:_0x54153a,index:_0x3549c3}=_0x57cc1d,_0x21dfa5=this['_sheetsPivotDataSourceModel'][_0x19519c(0x11c)](_0x565e94,_0x2352f7,_0x5cfd2f);if(!_0x21dfa5)return;const _0xcc96e0=this[_0x19519c(0x10e)][_0x19519c(0x24a)](_0x5cfd2f);if(!_0xcc96e0)return;_0xcc96e0['startCollectChangeset']();const {area:_0x100f23,index:_0x233c61}=_0xcc96e0[_0x19519c(0x272)](_0xd1b96a);if(_0xcc96e0['updateFieldPosition'](_0xd1b96a,_0x54153a,_0x3549c3),_0x54153a===_0x55dd5b[_0x19519c(0x347)][_0x19519c(0x23c)]&&_0xcc96e0[_0x19519c(0x315)](_0xd1b96a)[_0x19519c(0x379)]()===void 0x0){const _0x274fbf=_0xcc96e0[_0x19519c(0x315)](_0xd1b96a);if(_0x274fbf&&_0x274fbf[_0x19519c(0x379)]()===void 0x0){const _0x34270e=_0xcc96e0[_0x19519c(0x37b)](_0xd1b96a);if(_0x34270e){const _0x17280c=_0x34270e==null?void 0x0:_0x34270e[_0x19519c(0x2aa)]();_0xcc96e0['setSubtotalType'](_0xd1b96a,_0x17280c===_0x55dd5b[_0x19519c(0x6b)][_0x19519c(0xa2)]?_0x55dd5b['PivotSubtotalTypeEnum'][_0x19519c(0x34f)]:_0x55dd5b[_0x19519c(0x298)][_0x19519c(0x1bc)]);}}}const _0x235a85=_0xcc96e0[_0x19519c(0xc8)](),_0x95339b=_0xcc96e0[_0x19519c(0x1e6)](),_0xfd0d62=_0xcc96e0[_0x19519c(0x1d9)](_0x55dd5b[_0x19519c(0x347)][_0x19519c(0x23c)])>0x1;if(_0xfd0d62&&_0x100f23===_0x54153a&&(_0x54153a===_0x55dd5b['PivotTableFiledAreaEnum'][_0x19519c(0x130)]&&_0x235a85===_0x55dd5b[_0x19519c(0x2c7)][_0x19519c(0x130)]||_0x54153a===_0x55dd5b['PivotTableFiledAreaEnum'][_0x19519c(0x28c)]&&_0x235a85===_0x55dd5b[_0x19519c(0x2c7)][_0x19519c(0x28c)])){let _0x43d132=_0x95339b;_0x233c61<=_0x95339b&&_0x43d132--,_0x3549c3<=_0x95339b&&_0x43d132++,_0xcc96e0[_0x19519c(0xdf)](_0x235a85,_0x43d132);}else _0xfd0d62&&(_0x100f23===_0x55dd5b[_0x19519c(0x347)][_0x19519c(0x130)]&&_0x235a85===_0x55dd5b[_0x19519c(0x2c7)][_0x19519c(0x130)]||_0x100f23===_0x55dd5b['PivotTableFiledAreaEnum'][_0x19519c(0x28c)]&&_0x235a85===_0x55dd5b[_0x19519c(0x2c7)]['Column'])&&_0x95339b>=_0x233c61&&_0xcc96e0['updateValuePosition'](_0x235a85,_0x95339b-0x1),_0xfd0d62&&(_0x54153a===_0x55dd5b['PivotTableFiledAreaEnum'][_0x19519c(0x130)]&&_0x235a85===_0x55dd5b[_0x19519c(0x2c7)][_0x19519c(0x130)]||_0x54153a===_0x55dd5b['PivotTableFiledAreaEnum'][_0x19519c(0x28c)]&&_0x235a85===_0x55dd5b[_0x19519c(0x2c7)][_0x19519c(0x28c)])&&_0x95339b>=_0x3549c3&&_0xcc96e0['updateValuePosition'](_0x235a85,_0x95339b+0x1);const _0x539b3f=_0xcc96e0[_0x19519c(0x36e)](),_0x53e838=_0xcc96e0[_0x19519c(0x155)](),_0x57fc66=_0xcc96e0['endCollectChangeset']();_0x11b85f[_0x19519c(0xd0)]={'view':_0x539b3f[_0x19519c(0xc9)](),'changesets':_0x57fc66,'isEmpty':_0x53e838,'pivotTableConfig':_0x21dfa5};}break;case _0x4bc33b[_0x19519c(0x2ba)]:{const _0x17949c=_0x248be1[_0x19519c(0x171)][_0x19519c(0x85)];if(!_0x17949c)return;const _0x2f89b7=_0x17949c['fieldIds'],_0x10b3d9=this[_0x19519c(0x10e)][_0x19519c(0x11c)](_0x565e94,_0x2352f7,_0x5cfd2f);if(!_0x10b3d9)return!0x1;const _0x3e5161=this['_sheetsPivotDataSourceModel'][_0x19519c(0x24a)](_0x5cfd2f);if(!_0x3e5161)return!0x1;_0x3e5161[_0x19519c(0x220)]();for(const _0x5328e6 of _0x2f89b7){const {area:_0x2794b9}=_0x3e5161['getFieldPositionInfoById'](_0x5328e6);_0x2794b9===_0x55dd5b['PivotTableFiledAreaEnum']['Value']&&_0x3e5161[_0x19519c(0x12a)](_0x5328e6),(_0x2794b9===_0x55dd5b[_0x19519c(0x347)][_0x19519c(0x130)]||_0x2794b9===_0x55dd5b[_0x19519c(0x347)][_0x19519c(0x28c)])&&_0x3e5161[_0x19519c(0x329)](_0x5328e6),_0x3e5161[_0x19519c(0x6f)](_0x5328e6);}const _0x3d9aee=_0x3e5161['isEmpty'](),_0x3082a0=_0x3e5161['query']()['toJSON'](),_0x26a74c=_0x3e5161[_0x19519c(0x82)]();_0x11b85f[_0x19519c(0x85)]={'changesets':_0x26a74c,'pivotTableConfig':_0x10b3d9,'isEmpty':_0x3d9aee,'view':_0x3082a0};}break;case _0x4bc33b[_0x19519c(0x183)]:{const _0x244dfe=_0x248be1['params'][_0x19519c(0x1fa)];if(!_0x244dfe)return;const {tableFieldId:_0x4f4d67,items:_0xaf59e9,isAll:_0x1f36e9}=_0x244dfe,_0x45c4e1=this['_sheetsPivotDataSourceModel'][_0x19519c(0x24a)](_0x5cfd2f),_0x523357=this[_0x19519c(0x10e)][_0x19519c(0x11c)](_0x565e94,_0x2352f7,_0x5cfd2f);if(!_0x45c4e1||!_0x523357)return;_0x45c4e1[_0x19519c(0x220)](),_0x45c4e1[_0x19519c(0x354)](_0x4f4d67,{'type':_0x55dd5b[_0x19519c(0x1d4)][_0x19519c(0xbe)],'list':_0xaf59e9,'isAll':_0x1f36e9});const _0x534ec9=_0x45c4e1[_0x19519c(0x155)](),_0x5df4cd=_0x45c4e1[_0x19519c(0x36e)]()['toJSON'](),_0x228f5b=_0x45c4e1[_0x19519c(0x82)]();_0x11b85f[_0x19519c(0x1fa)]={'view':_0x5df4cd,'changesets':_0x228f5b,'isEmpty':_0x534ec9,'pivotTableConfig':_0x523357};}break;case _0x4bc33b[_0x19519c(0x37e)]:{const _0x2a7502=_0x248be1[_0x19519c(0x171)][_0x19519c(0xef)];if(!_0x2a7502)return;const {tableFieldId:_0xc97cc0,filterInfo:_0x2d69c7}=_0x2a7502,_0x1bdc17=this[_0x19519c(0x10e)]['getPivotTableInstance'](_0x5cfd2f),_0x19e44a=this[_0x19519c(0x10e)][_0x19519c(0x11c)](_0x565e94,_0x2352f7,_0x5cfd2f);if(!_0x1bdc17||!_0x19e44a)return;_0x1bdc17[_0x19519c(0x220)](),_0x1bdc17['setValueFilterInfo'](_0xc97cc0,_0x2d69c7);const _0x1ebd70=_0x1bdc17[_0x19519c(0x155)](),_0x5a82ed=_0x1bdc17[_0x19519c(0x36e)]()[_0x19519c(0xc9)](),_0x25b40e=_0x1bdc17[_0x19519c(0x82)]();_0x11b85f[_0x19519c(0xef)]={'view':_0x5a82ed,'changesets':_0x25b40e,'isEmpty':_0x1ebd70,'pivotTableConfig':_0x19e44a};}break;case _0x4bc33b['SetPivotSort']:{const _0x1ae515=_0x248be1[_0x19519c(0x171)][_0x19519c(0x267)];if(!_0x1ae515)return;const {tableFieldId:_0x4d5ef0,info:_0x30b0c4}=_0x1ae515,_0x5a1bf3=this[_0x19519c(0x10e)]['getPivotTableInstance'](_0x5cfd2f),_0x35ada2=this[_0x19519c(0x10e)][_0x19519c(0x11c)](_0x565e94,_0x2352f7,_0x5cfd2f);if(!_0x5a1bf3||!_0x35ada2)return;_0x5a1bf3[_0x19519c(0x220)](),_0x5a1bf3[_0x19519c(0x12e)](_0x4d5ef0,_0x30b0c4);const _0x5069da=_0x5a1bf3[_0x19519c(0x155)](),_0x374d03=_0x5a1bf3[_0x19519c(0x36e)]()[_0x19519c(0xc9)](),_0x123b85=_0x5a1bf3[_0x19519c(0x82)]();_0x11b85f[_0x19519c(0x267)]={'view':_0x374d03,'changesets':_0x123b85,'isEmpty':_0x5069da,'pivotTableConfig':_0x35ada2};}break;case _0x4bc33b[_0x19519c(0x253)]:{const _0x29f122=_0x248be1[_0x19519c(0x171)][_0x19519c(0x308)];if(!_0x29f122)return;const {tableFieldId:_0x51f3f7,displayName:_0x2be646,subtotalType:_0x116dfa,format:_0x5441dc}=_0x29f122,_0x1b8749=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x5cfd2f),_0x5d4e5d=this[_0x19519c(0x10e)]['getPivotTableConfig'](_0x565e94,_0x2352f7,_0x5cfd2f);if(!_0x1b8749||!_0x5d4e5d)return;_0x1b8749['startCollectChangeset'](),_0x2be646!==void 0x0&&_0x1b8749['renameField'](_0x51f3f7,_0x2be646),_0x116dfa!==void 0x0&&_0x1b8749[_0x19519c(0x245)](_0x51f3f7,_0x116dfa),_0x5441dc!==void 0x0&&_0x1b8749['setFieldFormat'](_0x51f3f7,_0x5441dc);const _0xc52642=_0x1b8749['isEmpty'](),_0x16f8f9=_0x1b8749[_0x19519c(0x36e)]()[_0x19519c(0xc9)](),_0x2355b9=_0x1b8749['endCollectChangeset']();_0x11b85f[_0x19519c(0x308)]={'changesets':_0x2355b9,'pivotTableConfig':_0x5d4e5d,'isEmpty':_0xc52642,'view':_0x16f8f9};}break;case _0x4bc33b[_0x19519c(0x191)]:{const _0x35a577=_0x248be1['params'][_0x19519c(0x362)];if(!_0x35a577)return;const {dataRangeInfo:_0x4352e2,unitId:_0x2f4774,subUnitId:_0x284157}=_0x35a577,_0x5bb917=this[_0x19519c(0x10e)][_0x19519c(0x11c)](_0x2f4774,_0x284157,_0x5cfd2f),_0x16e1a9=this['_sheetsPivotDataSourceModel'][_0x19519c(0x24a)](_0x5cfd2f);if(!this[_0x19519c(0x10e)][_0x19519c(0xae)](_0x2f4774,_0x5cfd2f)||!_0x16e1a9||!_0x5bb917)return;const _0x466f0f=this[_0x19519c(0x10e)][_0x19519c(0x19e)](_0x2f4774,_0x5cfd2f,_0x4352e2),_0x1837fc=this[_0x19519c(0x10e)][_0x19519c(0xae)](_0x2f4774,_0x5cfd2f)['toJSON'](),{collection:_0x5823db}=this[_0x19519c(0x10e)][_0x19519c(0x181)]({'unitId':_0x4352e2[_0x19519c(0x2ca)],'sheetName':_0x4352e2[_0x19519c(0x2ed)],'subUnitId':_0x4352e2[_0x19519c(0x346)],'range':_0x4352e2['range']}),_0x167767=_0x5823db[_0x19519c(0xc9)]();_0x16e1a9[_0x19519c(0x220)]();const _0x939948=this[_0x19519c(0x10e)][_0x19519c(0x114)](_0x2f4774)[_0x19519c(0x200)]()||_0x55dd5b[_0x19519c(0x206)];_0x16e1a9[_0x19519c(0xdc)](_0x2b678d=>{const _0x57af01=_0x19519c,_0x591b52=_0x2b678d[_0x57af01(0x2c3)]();if(!_0x5823db[_0x57af01(0x2b7)](_0x591b52)){const _0x8449ae=_0x5823db[_0x57af01(0x349)](_0x2b678d[_0x57af01(0x2e0)]());if(_0x8449ae){_0x16e1a9['updateFieldSourceInfo'](_0x2b678d[_0x57af01(0x15e)](),_0x8449ae[_0x57af01(0x2f6)](),_0x8449ae[_0x57af01(0x15e)]());const {area:_0x11992a}=_0x16e1a9[_0x57af01(0x272)](_0x2b678d[_0x57af01(0x15e)]());let _0x1e4929=_0x2b678d[_0x57af01(0x2e0)]();const _0x338cc7=_0x2b678d['getDisplayName']();if(_0x11992a===_0x55dd5b[_0x57af01(0x347)][_0x57af01(0x23c)]){const _0x4e18b5=_0x2b678d['getSubtotal']();_0x1e4929=_0x939948(_0x8449ae[_0x57af01(0x2f6)](),_0x4e18b5);}_0x338cc7!==_0x1e4929&&_0x16e1a9[_0x57af01(0x185)](_0x2b678d[_0x57af01(0x15e)](),_0x1e4929);}else _0x16e1a9[_0x57af01(0x6f)](_0x2b678d[_0x57af01(0x15e)]());}});const _0x2664b=_0x16e1a9['isEmpty'](),_0x441ebd=_0x16e1a9[_0x19519c(0x36e)]()[_0x19519c(0xc9)](),_0x36211c=_0x16e1a9[_0x19519c(0x82)]();_0x11b85f[_0x19519c(0x362)]={'view':_0x441ebd,'changesets':_0x36211c,'isEmpty':_0x2664b,'pivotTableConfig':_0x5bb917,'collectionConfig':_0x167767,'oldCollectionConfig':_0x1837fc,'deleteIds':_0x466f0f};}break;case _0x4bc33b[_0x19519c(0x2fe)]:{const _0x30c8da=_0x248be1[_0x19519c(0x171)][_0x19519c(0xdf)];if(!_0x30c8da)return;const {position:_0x480829,index:_0x4bd274}=_0x30c8da,_0x2dc783=this[_0x19519c(0x10e)]['getPivotTableConfig'](_0x565e94,_0x2352f7,_0x5cfd2f);if(!_0x2dc783)return!0x1;const _0x515cec=this['_sheetsPivotDataSourceModel'][_0x19519c(0x24a)](_0x5cfd2f);if(!_0x515cec)return!0x1;_0x515cec[_0x19519c(0x220)](),_0x515cec[_0x19519c(0xdf)](_0x480829,_0x4bd274);const _0x266bb4=_0x515cec[_0x19519c(0x155)](),_0xcb769d=_0x515cec[_0x19519c(0x36e)]()[_0x19519c(0xc9)](),_0xdbf4c9=_0x515cec[_0x19519c(0x82)]();_0x11b85f[_0x19519c(0xdf)]={'changesets':_0xdbf4c9,'pivotTableConfig':_0x2dc783,'isEmpty':_0x266bb4,'view':_0xcb769d};}break;case _0x4bc33b[_0x19519c(0x1d1)]:{const _0x311af0=_0x248be1['params']['setPivotCollapse'];if(!_0x311af0)return;const {tableFieldId:_0x295c5f,collapse:_0x103085,item:_0x848c50}=_0x311af0,_0x451b25=this[_0x19519c(0x10e)]['getPivotTableInstance'](_0x5cfd2f),_0x581b52=this[_0x19519c(0x10e)]['getPivotTableConfig'](_0x565e94,_0x2352f7,_0x5cfd2f);if(!_0x451b25||!_0x581b52)return;_0x451b25[_0x19519c(0x220)](),_0x451b25['setCollapse'](_0x295c5f,_0x103085,_0x848c50);const _0x4d2b4d=_0x451b25[_0x19519c(0x155)](),_0x1c0c10=_0x451b25[_0x19519c(0x36e)]()[_0x19519c(0xc9)](),_0x4e143c=_0x451b25[_0x19519c(0x82)]();_0x11b85f[_0x19519c(0x277)]={'view':_0x1c0c10,'isEmpty':_0x4d2b4d,'pivotTableConfig':_0x581b52,'changesets':_0x4e143c};}break;case _0x4bc33b[_0x19519c(0x375)]:{const _0x4df75c=_0x248be1[_0x19519c(0x171)][_0x19519c(0x153)];if(!_0x4df75c)return;const {pivotTableConfig:_0x41f94e}=_0x4df75c,_0xaf9542=this[_0x19519c(0x10e)][_0x19519c(0x24a)](_0x5cfd2f),_0xd6e494=this[_0x19519c(0x10e)]['getPivotTableConfig'](_0x565e94,_0x2352f7,_0x5cfd2f);if(!_0xaf9542||!_0xd6e494)return;_0xaf9542['startCollectChangeset'](),_0x58959f(_0xaf9542,_0x41f94e);const _0x557859=_0xaf9542['isEmpty'](),_0x163ea2=_0xaf9542['query']()[_0x19519c(0xc9)](),_0x337d47=_0xaf9542['endCollectChangeset']();_0x11b85f[_0x19519c(0x153)]={'view':_0x163ea2,'isEmpty':_0x557859,'pivotTableConfig':{..._0xd6e494,'fieldsConfig':_0xaf9542[_0x19519c(0xc9)]()},'changesets':_0x337d47};}break;case _0x4bc33b[_0x19519c(0x35a)]:{const _0x15e692=_0x248be1[_0x19519c(0x171)][_0x19519c(0xeb)];if(!_0x15e692)return;const _0x345ea2=this[_0x19519c(0x10e)][_0x19519c(0x24a)](_0x5cfd2f),_0x2ee911=this[_0x19519c(0x10e)][_0x19519c(0x11c)](_0x565e94,_0x2352f7,_0x5cfd2f);if(!_0x345ea2||!_0x2ee911)return;_0x345ea2[_0x19519c(0x220)](),_0x2b956a(_0x345ea2,_0x15e692[_0x19519c(0x1d6)]);const _0x11cc23=_0x345ea2['query']()[_0x19519c(0xc9)](),_0x3e926d=_0x345ea2[_0x19519c(0x82)]();_0x11b85f[_0x19519c(0xeb)]={'view':_0x11cc23,'isEmpty':!0x0,'pivotTableConfig':{..._0x2ee911,'fieldsConfig':_0x345ea2[_0x19519c(0xc9)]()},'changesets':_0x3e926d};}break;case _0x4bc33b[_0x19519c(0x22f)]:{const _0x42f115=_0x248be1[_0x19519c(0x171)][_0x19519c(0x13b)];if(!_0x42f115)return;const _0x409932=_0x42f115[_0x19519c(0x1df)],_0x3f818d=_0x42f115[_0x19519c(0x221)],{collection:_0xce2de}=this['_sheetsPivotDataSourceModel'][_0x19519c(0x181)]({'unitId':_0x409932['unitId'],'sheetName':_0x409932[_0x19519c(0x2ed)],'subUnitId':_0x409932['subUnitId'],'range':_0x409932[_0x19519c(0x2d7)]}),_0x404565=new _0x55dd5b[(_0x19519c(0x209))](_0xce2de,void 0x0,_0x3f818d),_0x41ad06=_0xce2de['getFieldIds'](),{rows:_0xf0c5a4,columns:_0x165c71,filters:_0x1177b1,values:_0x24e49d}=_0x42f115[_0x19519c(0x192)];_0x404565[_0x19519c(0x220)]();for(const {field:_0x145efd,selectedItems:_0x132503}of _0xf0c5a4||[]){const _0x340caf=_0x41ad06[_0x145efd];if(_0x340caf){const _0x461362=_0x404565[_0x19519c(0x93)](_0x340caf,_0x55dd5b[_0x19519c(0x347)]['Row']);_0x132503&&_0x461362&&_0x404565[_0x19519c(0x354)](_0x461362['getId'](),{'type':_0x55dd5b[_0x19519c(0x1d4)][_0x19519c(0xbe)],'list':_0x132503,'isAll':!0x1});}}for(const {field:_0x38e8d6,selectedItems:_0x1a8192}of _0x165c71||[]){const _0x465474=_0x41ad06[_0x38e8d6];if(_0x465474){const _0x425fa5=_0x404565[_0x19519c(0x93)](_0x465474,_0x55dd5b[_0x19519c(0x347)][_0x19519c(0x28c)]);_0x1a8192&&_0x425fa5&&_0x404565[_0x19519c(0x354)](_0x425fa5[_0x19519c(0x15e)](),{'type':_0x55dd5b[_0x19519c(0x1d4)]['ManualFilter'],'list':_0x1a8192,'isAll':!0x1});}}for(const {field:_0x595e4b,selectedItems:_0x382e57}of _0x1177b1||[]){const _0x25ac40=_0x41ad06[_0x595e4b];if(_0x25ac40){const _0x3f78a7=_0x404565[_0x19519c(0x93)](_0x25ac40,_0x55dd5b[_0x19519c(0x347)][_0x19519c(0xbd)]);_0x382e57&&_0x3f78a7&&_0x404565[_0x19519c(0x354)](_0x3f78a7[_0x19519c(0x15e)](),{'type':_0x55dd5b['PivotFilterTypeEnum'][_0x19519c(0xbe)],'list':_0x382e57,'isAll':!0x1});}}for(const {field:_0x619ff8,subTotalType:_0x12cab9,formatString:_0xbdc58b}of _0x24e49d||[]){const _0x139657=_0xce2de['getFieldById'](_0x41ad06[_0x619ff8]);if(!_0x139657)continue;const _0x492361=_0x41ad06[_0x619ff8];if(_0x492361){const _0x76e4b8=_0x404565[_0x19519c(0x93)](_0x492361,_0x55dd5b[_0x19519c(0x347)]['Value']);if(_0x76e4b8){if(_0x12cab9!==void 0x0){_0x404565['setSubtotalType'](_0x76e4b8[_0x19519c(0x15e)](),_0x12cab9);const _0x5e66a8=this[_0x19519c(0x10e)][_0x19519c(0x114)](_0x409932[_0x19519c(0x2ca)])['getAutoDisplayNameFunction']()||_0x55dd5b[_0x19519c(0x206)],_0x30ea54=_0xce2de['getDisplayName'](_0x492361),_0x428896=_0x5e66a8(_0x30ea54,_0x12cab9);_0x404565[_0x19519c(0x185)](_0x76e4b8[_0x19519c(0x15e)](),_0x428896);}else{if(_0x139657){const _0xa497ac=_0x139657==null?void 0x0:_0x139657[_0x19519c(0x2aa)]();_0x404565[_0x19519c(0x245)](_0x76e4b8[_0x19519c(0x15e)](),_0xa497ac===_0x55dd5b[_0x19519c(0x6b)][_0x19519c(0xa2)]?_0x55dd5b[_0x19519c(0x298)]['sum']:_0x55dd5b[_0x19519c(0x298)][_0x19519c(0x1bc)]);}}_0xbdc58b&&_0x404565[_0x19519c(0x2f3)](_0x76e4b8[_0x19519c(0x15e)](),_0xbdc58b);}}}const _0x41cbdd=_0x404565[_0x19519c(0x36e)](),_0x245cf2=_0x404565['toJSON'](),_0x1a4105=_0x404565['isEmpty'](),_0x2f55f3=_0x404565[_0x19519c(0x82)](),_0x54d8f8=_0xce2de[_0x19519c(0xc9)]();_0x11b85f[_0x19519c(0x13b)]={'view':_0x41cbdd,'fieldsConfig':_0x245cf2,'collectionConfig':_0x54d8f8,'isEmpty':_0x1a4105,'changesets':_0x2f55f3};}break;case _0x4bc33b['DrillDown']:{const _0x1489ba=_0x54ce53(this['_injector'],_0x248be1);if(!_0x1489ba)return;const {range:_0x10fadb,sourceSubUnitId:_0x30b795,sourceUnitId:_0x522cdd,formatMap:_0x44fef7,indexes:_0x389aac}=_0x1489ba;_0x11b85f[_0x19519c(0x31e)]={'range':_0x10fadb,'sourceSubUnitId':_0x30b795,'sourceUnitId':_0x522cdd,'formatMap':_0x44fef7,'indexes':_0x389aac};}break;}this[_0x19519c(0x104)][_0x19519c(0x127)](_0x299547['id'],{'version':_0x248be1[_0x19519c(0xa9)],'result':_0x11b85f},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x5e296f=_0x245086;this['disposeWithMe'](this[_0x5e296f(0x104)]['onCommandExecuted'](_0x362e20=>{const _0x1a85d6=_0x5e296f;if(_0x362e20['id']!==_0x58eec2['id'])return;const _0x448df1=_0x362e20[_0x1a85d6(0x171)];return this[_0x1a85d6(0x10e)][_0x1a85d6(0x69)](_0x448df1[_0x1a85d6(0x2cc)]),!0x0;}));}[_0x245086(0x195)](){const _0x470789=_0x245086;this[_0x470789(0x10e)][_0x470789(0x357)]['subscribe'](_0x449284=>{const _0x1fecdc=_0x470789;switch(_0x449284[_0x1fecdc(0x21d)]){case _0x1b64df['add']:_0x449284['dataRangeInfo']&&_0x449284[_0x1fecdc(0x17d)]&&this['handleSourceRangeChange'](_0x449284['token'],_0x449284[_0x1fecdc(0x254)],_0x449284[_0x1fecdc(0x17d)]);break;case _0x1b64df[_0x1fecdc(0x334)]:{const {unitId:_0x5ed686,subUnitId:_0xd6789,token:_0xe48c44}=_0x449284;_0x5ed686&&_0xd6789&&_0xe48c44&&this[_0x1fecdc(0x300)](_0x5ed686,_0xd6789,_0xe48c44);}break;case _0x1b64df[_0x1fecdc(0x15a)]:{const {token:_0x2eaeeb,oldSourceRangeInfo:_0x4d0137,dataRangeInfo:_0x3bfc19,targetCellInfo:_0x465d70}=_0x449284,{unitId:_0x3283c8,subUnitId:_0x5648bf}=_0x4d0137||{};_0x3283c8&&_0x5648bf&&_0x2eaeeb&&this[_0x1fecdc(0x300)](_0x3283c8,_0x5648bf,_0x2eaeeb),_0x3bfc19&&_0x465d70&&this['handleSourceRangeChange'](_0x2eaeeb,_0x3bfc19,_0x465d70);}break;}});}[_0x245086(0x37c)](){const _0x2f384e=_0x245086;this[_0x2f384e(0x10e)]['fieldsCollectionChange$'][_0x2f384e(0x36d)](_0x252d54=>{const _0x3c98b7=_0x2f384e;Object['keys'](_0x252d54)[_0x3c98b7(0x34c)](_0x3485c5=>{const _0x5c5616=_0x3c98b7,_0x50ec0a=this[_0x5c5616(0x10e)]['getTargetByPivotId'](_0x3485c5);if(_0x50ec0a){const _0x5c9319=this[_0x5c5616(0x10e)][_0x5c5616(0x11c)](_0x50ec0a==null?void 0x0:_0x50ec0a[_0x5c5616(0x2ca)],_0x50ec0a==null?void 0x0:_0x50ec0a[_0x5c5616(0x346)],_0x3485c5);_0x5c9319&&(this[_0x5c5616(0x10b)](_0x3485c5,_0x5c9319['sourceRangeInfo'],_0x5c9319[_0x5c5616(0x17d)]),this[_0x5c5616(0xcc)]([{'unitId':_0x50ec0a['unitId'],'subUnitId':_0x50ec0a[_0x5c5616(0x346)],'token':_0x3485c5}]));}});});}[_0x245086(0xbc)](){const _0x33d967=_0x245086;this[_0x33d967(0x10e)][_0x33d967(0x140)][_0x33d967(0x36d)](_0x333570=>{const _0x4995bd=_0x33d967,{unitId:_0x33e557,subUnitId:_0x9b4550,pivotTableId:_0xc6b5a0}=_0x333570;_0x33e557&&_0x9b4550&&_0xc6b5a0&&this[_0x4995bd(0xcc)]([{'unitId':_0x33e557,'subUnitId':_0x9b4550,'token':_0xc6b5a0}]);});}['triggerDirtyFeature'](_0x51fe03){const _0xfb3318=_0x245086,_0x3994a6={};_0x51fe03[_0xfb3318(0x34c)](_0xd99520=>{var _0x52ed9a,_0x411787;const {unitId:_0x7c6eb,subUnitId:_0xd8e21a,token:_0x577276}=_0xd99520;_0x3994a6[_0x7c6eb]=(_0x52ed9a=_0x3994a6[_0x7c6eb])!=null?_0x52ed9a:{},_0x3994a6[_0x7c6eb][_0xd8e21a]=(_0x411787=_0x3994a6[_0x7c6eb][_0xd8e21a])!=null?_0x411787:{},_0x3994a6[_0x7c6eb][_0xd8e21a][_0x577276]=!0x0;}),this[_0xfb3318(0x104)][_0xfb3318(0x127)](_0x5c4d0c['id'],_0x3994a6);}[_0x245086(0x300)](_0x41956d,_0x10e5f3,_0x3bf681){const _0x326b27=_0x245086;this['_featureCalculationManagerService'][_0x326b27(0x84)](_0x41956d,_0x10e5f3,[_0x3bf681]);}[_0x245086(0x10b)](_0x1195fa,_0x23880c,_0x3142d2){const _0x5736e9=_0x245086,{unitId:_0x5f2eaa,subUnitId:_0xb9cb1a}=_0x23880c;this['_featureCalculationManagerService'][_0x5736e9(0x115)](_0x3142d2[_0x5736e9(0x2ca)],_0x3142d2[_0x5736e9(0x346)],_0x1195fa)&&this[_0x5736e9(0x300)](_0x5f2eaa,_0xb9cb1a,_0x1195fa);const _0x22ac20={'sheetId':_0xb9cb1a,..._0x23880c};this['_featureCalculationManagerService'][_0x5736e9(0xda)](_0x3142d2['unitId'],_0x3142d2[_0x5736e9(0x346)],_0x1195fa,{'unitId':_0x3142d2[_0x5736e9(0x2ca)],'subUnitId':_0x3142d2[_0x5736e9(0x346)],'dependencyRanges':[_0x22ac20],'getDirtyData':(_0x2cc713,_0x2c3cbf)=>{const _0x736cfa=_0x5736e9,_0x4b89ba=this[_0x736cfa(0x10e)],_0x1a55ef=_0x4b89ba[_0x736cfa(0x1e1)](_0x1195fa);if(!_0x1a55ef)return _0x4c1411();const {unitId:_0x3f77be,subUnitId:_0x44e2ee}=_0x1a55ef,_0x4ae26d=_0x2bebb0(_0x2cc713,_0x2c3cbf,_0x23880c);if(_0x4ae26d[_0x736cfa(0x16a)]>0x0){const _0x56f7d1=_0x4b89ba[_0x736cfa(0xae)](_0x5f2eaa,_0x1195fa),_0x167e42=_0x56f7d1[_0x736cfa(0x23a)](),_0x536208=this[_0x736cfa(0x6d)](_0x23880c['unitId'],_0x23880c[_0x736cfa(0x346)],_0x2c3cbf),_0x3a501a={},_0x4edcb5=this['_sheetsPivotDataSourceModel'][_0x736cfa(0x114)](_0x3f77be)['getAutoDisplayNameFunction']()||_0x55dd5b['getAutoDisplayName'],_0x529129=[];for(const _0x36fa7d of _0x4ae26d){const _0x16c297=_0x36fa7d-(_0x23880c[_0x736cfa(0x2d7)]['startColumn']||0x0),_0x4b18b5=_0x167e42[_0x16c297];_0x529129['push'](_0x4b18b5),_0x3a501a[_0x4b18b5]=_0x56f7d1[_0x736cfa(0x2bb)](_0x4b18b5)[_0x736cfa(0x2f6)](),_0x4b89ba['getDataFieldManager'](_0x5f2eaa)[_0x736cfa(0x313)](_0x4b18b5,_0x23880c,_0x16c297,_0x536208);}_0x56f7d1[_0x736cfa(0x1ac)](_0x529129)[_0x736cfa(0x34c)](_0x3b794a=>{const _0x242572=_0x736cfa,[_0x2773ba,_0x971bb5]=_0x3b794a,_0x5f56fb=_0x56f7d1[_0x242572(0x2bb)](_0x2773ba),_0x15a989=_0x56f7d1[_0x242572(0x2bb)](_0x971bb5);_0x5f56fb&&_0x15a989&&_0x5f56fb[_0x242572(0x28a)](_0x15a989);}),_0x56f7d1[_0x736cfa(0x37d)]();const _0x45bc5f=_0x4b89ba[_0x736cfa(0x24a)](_0x1195fa);if(_0x45bc5f){_0x1e0645(_0x45bc5f,_0x3a501a,_0x4edcb5),_0x45bc5f[_0x736cfa(0x259)](!0x0);const _0x471bf8=_0x45bc5f[_0x736cfa(0x36e)](),_0x480ca4=_0x4b89ba[_0x736cfa(0x11c)](_0x3f77be,_0x44e2ee,_0x1195fa),_0x4f40b3=_0x4b89ba[_0x736cfa(0x114)](_0x5f2eaa)[_0x736cfa(0xc9)]();_0x4b89ba[_0x736cfa(0x95)](_0x3f77be,_0x44e2ee,_0x542f6c['Set'],_0x1195fa,_0x471bf8,_0x480ca4,_0x4f40b3,!0x0);}}return this['getDirtyInfo'](_0x3f77be,_0x44e2ee,_0x1195fa);}});}[_0x245086(0x6d)](_0x2c83e4,_0x16171b,_0x1e9b6a){var _0x13165d,_0x31b802;const {arrayFormulaCellData:_0x9fc2e8,unitData:_0x384568}=_0x1e9b6a,_0x1c1dd0=(_0x13165d=_0x9fc2e8==null?void 0x0:_0x9fc2e8[_0x2c83e4])==null?void 0x0:_0x13165d[_0x16171b],_0x3146cc=(_0x31b802=_0x384568==null?void 0x0:_0x384568[_0x2c83e4])==null?void 0x0:_0x31b802[_0x16171b];return{'arrayFormulaCellDataMatrix':_0x1c1dd0,'unitDataMatrix':_0x3146cc};}['getDirtyInfo'](_0x5f12e0,_0x52e167,_0x48f546){const _0x9a2b8b=_0x245086,_0x4e2e26=this[_0x9a2b8b(0x10e)][_0x9a2b8b(0x285)](_0x5f12e0,_0x52e167,_0x48f546),_0x134b42=[],_0x553b69=new _0xacfc7b[(_0x9a2b8b(0x165))]();if(_0x4e2e26){const {rangeCache:_0x5d8367,matrix:_0x45b882,oldRangeCache:_0x81a427,oldMatrix:_0x526926}=_0x4e2e26,_0x4233ae=_0x3d393b(_0x81a427),_0x4807dd=_0x3d393b(_0x5d8367);_0x134b42['push'](..._0x4807dd,..._0x4233ae),_0x526926&&_0x81a427&&_0x4233ae[_0x9a2b8b(0x34c)](_0xb02783=>{const _0x1790fe=_0x9a2b8b;for(let _0x236f99=_0xb02783[_0x1790fe(0x345)];_0x236f99<=_0xb02783['endRow'];_0x236f99++)for(let _0x4cc224=_0xb02783[_0x1790fe(0x208)];_0x4cc224<=_0xb02783[_0x1790fe(0x265)];_0x4cc224++)_0x553b69[_0x1790fe(0x1e2)](_0x236f99,_0x4cc224);}),_0x45b882&&_0x4807dd&&_0x4807dd[_0x9a2b8b(0x34c)](_0x511b68=>{const _0x1557d8=_0x9a2b8b;for(let _0x580ed0=_0x511b68[_0x1557d8(0x345)];_0x580ed0<=_0x511b68[_0x1557d8(0x2c0)];_0x580ed0++)for(let _0x594ea7=_0x511b68[_0x1557d8(0x208)];_0x594ea7<=_0x511b68[_0x1557d8(0x265)];_0x594ea7++)_0x553b69[_0x1557d8(0x1b4)](_0x580ed0,_0x594ea7,_0x45b882[_0x1557d8(0xe0)](_0x580ed0,_0x594ea7));});}const _0x4a78d5={};return _0x4a78d5[_0x5f12e0]={[_0x52e167]:_0x5bd7e8(_0x134b42)},{'runtimeCellData':{[_0x5f12e0]:{[_0x52e167]:_0x553b69}},'dirtyRanges':_0x4a78d5};}[_0x245086(0x6a)](){}};_0x1df37d=_0x491fc1([_0x1bdbe7(0x0,_0xacfc7b[_0x245086(0x2be)](_0x49a3fb[_0x245086(0x282)])),_0x1bdbe7(0x1,_0xacfc7b['Inject'](_0x439297[_0x245086(0x16b)])),_0x1bdbe7(0x2,_0xacfc7b[_0x245086(0x2be)](_0xacfc7b[_0x245086(0xcd)])),_0x1bdbe7(0x3,_0xacfc7b[_0x245086(0x2be)](_0x439297[_0x245086(0x376)])),_0x1bdbe7(0x4,_0xacfc7b['Inject'](_0xacfc7b[_0x245086(0x67)]))],_0x1df37d);var _0x3b4088=Object[_0x245086(0x120)],_0x50d13a=(_0x50fbed,_0x43f6f8,_0x36d52b,_0x2d1d41)=>{const _0x40767f=_0x245086;for(var _0x2f1369=_0x2d1d41>0x1?void 0x0:_0x2d1d41?_0x3b4088(_0x43f6f8,_0x36d52b):_0x43f6f8,_0x5ab158=_0x50fbed[_0x40767f(0x16a)]-0x1,_0x23f037;_0x5ab158>=0x0;_0x5ab158--)(_0x23f037=_0x50fbed[_0x5ab158])&&(_0x2f1369=_0x23f037(_0x2f1369)||_0x2f1369);return _0x2f1369;},_0x5c8b5e=(_0x4a70a2,_0x3ffaf8)=>(_0x20e2c7,_0x58ad91)=>_0x3ffaf8(_0x20e2c7,_0x58ad91,_0x4a70a2);let _0x2f2db2=class extends _0xacfc7b[_0x245086(0x1ef)]{constructor(_0x39b40c,_0x536ca9,_0x1a7957,_0x36c2a2){const _0xd6b795=_0x245086;super(),_0x2a0787(this,'disposableCollection',new _0xacfc7b[(_0xd6b795(0x13d))]()),(this[_0xd6b795(0x1a9)]=_0x39b40c,this['_sheetInterceptorService']=_0x536ca9,this['_sheetsSelectionsService']=_0x1a7957,this[_0xd6b795(0x1a3)]=_0x36c2a2,this[_0xd6b795(0xc7)]());}[_0x245086(0xc7)](){const _0x229819=_0x245086;this[_0x229819(0x25a)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x10e194=>{const _0x175405=_0x229819;if(_0x10e194['id']===_0x36f0de[_0x175405(0xfb)]['id']||_0x10e194['id']===_0x36f0de[_0x175405(0x16e)]['id']){const _0x25a39d=[],_0x4c20c1=[],_0x4ad38b=this[_0x175405(0x26d)][_0x175405(0x87)]()[_0x175405(0x29e)](_0x5593cd=>_0x5593cd[_0x175405(0x2d7)]),_0x4b3337=_0x36f0de['getSheetCommandTarget'](this[_0x175405(0x1a9)]);if(!_0x4b3337)return{'redos':[],'undos':[]};const {unitId:_0x1a43c2,subUnitId:_0xa8912d}=_0x4b3337,_0x5f759f={},_0x1ce3be=this[_0x175405(0x1a3)][_0x175405(0x309)](_0x1a43c2,_0xa8912d);if(_0x1ce3be!=null&&_0x1ce3be['size'])for(const [_0x37491b,_0x558a02]of _0x1ce3be){const {unitId:_0x1affc8,subUnitId:_0x10c3c8,row:_0x2d0b1e,col:_0x1bb53c}=_0x558a02[_0x175405(0x17d)];_0x1affc8===_0x4b3337[_0x175405(0x2ca)]&&_0x10c3c8===_0x4b3337[_0x175405(0x346)]&&(_0x5f759f[_0x2d0b1e+'-'+_0x1bb53c]=_0x37491b);}return _0x4ad38b&&_0x4b3337&&_0x4ad38b[_0x175405(0x34c)](_0x2f2fd6=>{const _0x1b1ce5=_0x175405;_0xacfc7b[_0x1b1ce5(0x151)]['foreach'](_0x2f2fd6,(_0x452f79,_0x3cd39a)=>{const _0x13f30d=_0x1b1ce5,_0x4c0791=_0x452f79+'-'+_0x3cd39a;if(_0x5f759f[_0x4c0791]){const _0x5de9f7=_0x5f759f[_0x4c0791];_0x25a39d['push']({'id':_0x3ff9ef['id'],'params':{'unitId':_0x1a43c2,'subUnitId':_0xa8912d,'pivotTableId':_0x5de9f7}});const _0x100c69=this[_0x13f30d(0x1a3)][_0x13f30d(0xae)](_0x1a43c2,_0x5de9f7),_0x4a4053=this[_0x13f30d(0x1a3)]['getPivotTableConfig'](_0x1a43c2,_0xa8912d,_0x5de9f7);_0x4c20c1[_0x13f30d(0x150)]({'id':_0x522828['id'],'params':{'unitId':_0x1a43c2,'subUnitId':_0xa8912d,'pivotTableId':_0x5de9f7,'pivotTableConfig':_0x4a4053,'collectionConfig':_0x100c69}});}});}),{'redos':_0x25a39d,'undos':_0x4c20c1};}return{'redos':[],'undos':[]};}}));}};_0x2f2db2=_0x50d13a([_0x5c8b5e(0x0,_0xacfc7b[_0x245086(0x1f9)]),_0x5c8b5e(0x1,_0xacfc7b[_0x245086(0x2be)](_0x36f0de[_0x245086(0x1af)])),_0x5c8b5e(0x2,_0xacfc7b[_0x245086(0x2be)](_0x36f0de['SheetsSelectionsService'])),_0x5c8b5e(0x3,_0xacfc7b[_0x245086(0x2be)](_0x49a3fb['SheetsPivotTableConfigModel']))],_0x2f2db2);var _0x56175d=Object[_0x245086(0x120)],_0x40f76d=(_0xf3c7f3,_0x18b389,_0x63f3c1,_0x81f7cf)=>{const _0x2a625b=_0x245086;for(var _0x6169f7=_0x81f7cf>0x1?void 0x0:_0x81f7cf?_0x56175d(_0x18b389,_0x63f3c1):_0x18b389,_0x136210=_0xf3c7f3[_0x2a625b(0x16a)]-0x1,_0x2b6f5e;_0x136210>=0x0;_0x136210--)(_0x2b6f5e=_0xf3c7f3[_0x136210])&&(_0x6169f7=_0x2b6f5e(_0x6169f7)||_0x6169f7);return _0x6169f7;},_0x44ed75=(_0x36adaf,_0xc6da58)=>(_0x10909,_0x30586d)=>_0xc6da58(_0x10909,_0x30586d,_0x36adaf);let _0x1fe0e2=class extends _0xacfc7b[_0x245086(0x1ef)]{constructor(_0x559bb5,_0x278bfc,_0x264def,_0x177e4f,_0x2e1b07){const _0x11a29e=_0x245086;super(),this[_0x11a29e(0x11e)]=_0x559bb5,this['_injector']=_0x278bfc,this[_0x11a29e(0x1a9)]=_0x264def,this[_0x11a29e(0x1a3)]=_0x177e4f,this[_0x11a29e(0x28f)]=_0x2e1b07,this[_0x11a29e(0x321)]();}[_0x245086(0x1f1)](_0x5c523c,_0x578001,_0x55a541){const _0x45dcd1=_0x245086,{pageView:_0x23e047,cornerView:_0x28f29a,rowView:_0x16a2ab,colView:_0x3424dc,dataView:_0x167b08}=_0x578001,_0x4a60fd=_0x5c523c;let _0x84413e;if(_0x55a541)_0x84413e=[..._0x9fdaa3(_0x4a60fd)];else{const _0x349222=_0x23da99(_0x4a60fd,_0x23e047,!0x0),_0x35561d=_0x23e047[_0x45dcd1(0x16f)]>=0x0?_0x23e047[_0x45dcd1(0x16f)]+0x1:0x0,_0x56313a=_0x28f29a['rowCount'],_0x214639=_0x28f29a[_0x45dcd1(0x269)],_0x2f676c=_0x349222['length']>0x0?_0x1d5f07:0x0,_0x24b069=_0x23da99({'row':_0x4a60fd[_0x45dcd1(0x1e9)]+_0x35561d+_0x2f676c,'col':_0x4a60fd[_0x45dcd1(0x8f)]},_0x28f29a,!0x1,!0x1),_0x5b25d2=_0x23da99({'row':_0x4a60fd[_0x45dcd1(0x1e9)]+_0x35561d+_0x2f676c+_0x56313a,'col':_0x4a60fd[_0x45dcd1(0x8f)]},_0x16a2ab,!0x1,!0x0),_0x56f611=_0x23da99({'row':_0x4a60fd[_0x45dcd1(0x1e9)]+_0x35561d+_0x2f676c,'col':_0x4a60fd[_0x45dcd1(0x8f)]+_0x214639},_0x3424dc,!0x1,!0x0),_0x2b163e=_0x23da99({'row':_0x4a60fd[_0x45dcd1(0x1e9)]+_0x35561d+_0x2f676c+_0x56313a,'col':_0x4a60fd['col']+_0x214639},_0x167b08,!0x1,!0x0);_0x84413e=[..._0x349222,..._0x24b069,..._0x5b25d2,..._0x56f611,..._0x2b163e];}return _0x84413e;}[_0x245086(0x321)](){const _0x12c8d4=_0x245086;this[_0x12c8d4(0x25a)](this[_0x12c8d4(0x28f)][_0x12c8d4(0x2db)][_0x12c8d4(0x18d)](this[_0x12c8d4(0x28f)][_0x12c8d4(0x2db)]['getInterceptPoints']()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x2d5437,_0x1fb411)=>{const _0x152a01=_0x12c8d4,{cellInfo:_0x4fe81a,view:_0x238ecb,isEmpty:_0x22d806}=_0x1fb411,_0x24d48d=_0x4fe81a,{unitId:_0x22eda6,subUnitId:_0x20a9fd}=_0x24d48d,_0xbec7af=this[_0x152a01(0x1f1)](_0x4fe81a,_0x238ecb,_0x22d806),_0x109b7c=this[_0x152a01(0x11e)][_0x152a01(0x312)]({'unitId':_0x22eda6,'subUnitId':_0x20a9fd,'ranges':_0xbec7af}),_0x3926b1=_0x5e005a(this[_0x152a01(0x1db)],_0x22eda6,_0x20a9fd,_0xbec7af);_0x3926b1[_0x152a01(0x286)]&&(_0x109b7c[_0x152a01(0x17c)][_0x152a01(0x150)](_0x3926b1[_0x152a01(0x14c)]),_0x109b7c['undos'][_0x152a01(0x150)](_0x3926b1[_0x152a01(0x1a6)]));const _0x3e93b=this[_0x152a01(0x34b)](_0x238ecb,_0x4fe81a);return _0x109b7c[_0x152a01(0x17c)]['push'](..._0x3e93b[_0x152a01(0x17c)]),_0x109b7c[_0x152a01(0x14b)][_0x152a01(0x150)](..._0x3e93b['undos']),{'redos':_0x109b7c['redos'],'undos':_0x109b7c[_0x152a01(0x14b)]};}}));}[_0x245086(0x34b)](_0x475ee4,_0x18dba7){const _0x26d17f=_0x245086,{col:_0x48d0fd,unitId:_0x42ab5d,subUnitId:_0x120f4c}=_0x18dba7,_0x82521=[],_0x57a0b1=[],_0x23c490=_0x36f0de[_0x26d17f(0x276)](this[_0x26d17f(0x1a9)],{'unitId':_0x42ab5d,'subUnitId':_0x120f4c});if(!_0x18dba7||!_0x475ee4||!_0x23c490)return{'undos':_0x57a0b1,'redos':_0x82521};const _0x3f872c=this[_0x26d17f(0x1a3)][_0x26d17f(0x1f0)](),{colView:_0x3c72ee,dataView:_0x28bc62,cornerView:_0x156484,rowView:_0x3b52a3,formatMap:_0x3546c4}=_0x475ee4,_0x12c1b5=_0x58c1bd(_0x3c72ee,_0x3f872c,!0x0,_0x3546c4),_0x3fc3fe=_0x58c1bd(_0x3b52a3,_0x3f872c,!0x1,_0x3546c4),_0x358300=_0x4ae3d9(_0x28bc62),_0x1d1fbf=_0x22b5e8(_0x156484),{worksheet:_0x1ccc60}=_0x23c490;if(typeof window<'u'&&window[_0x26d17f(0x31d)]){const _0x3f7f3c=_0x19f6b5['getFontStyleString']({..._0x3dc5d3[_0x26d17f(0x126)]}),_0x4d2415=_0x19f6b5['FontCache'][_0x26d17f(0x2ce)](_0x12c1b5,_0x3f7f3c)[_0x26d17f(0x24f)]+0x10,_0x5b4438=_0x19f6b5[_0x26d17f(0x98)][_0x26d17f(0x2ce)](_0x358300,_0x3f7f3c)[_0x26d17f(0x24f)],_0x47fbd9=Math[_0x26d17f(0x2a3)](Math[_0x26d17f(0x215)](_0x4d2415,_0x5b4438))+0x10,_0xf62583=Math[_0x26d17f(0x2a3)](_0x19f6b5[_0x26d17f(0x98)][_0x26d17f(0x2ce)](_0x3fc3fe,_0x3f7f3c)[_0x26d17f(0x24f)]),_0x2d91c4=Math[_0x26d17f(0x2a3)](_0x19f6b5['FontCache']['getTextSize'](_0x1d1fbf,_0x3f7f3c)[_0x26d17f(0x24f)]),_0x102e5d=Math[_0x26d17f(0x215)](_0xf62583,_0x2d91c4,0x28)+0xc,_0x203550=_0x3c72ee['colCount']+_0x156484['colCount'],_0x7a119={},_0x10291d={};for(let _0x5c5057=_0x48d0fd;_0x5c5057<_0x48d0fd+_0x203550;_0x5c5057++){const _0x40413f=_0x1ccc60[_0x26d17f(0xdd)](_0x5c5057);_0x7a119[_0x5c5057]=_0x40413f,_0x5c5057-_0x48d0fd<_0x156484['colCount']?_0x10291d[_0x5c5057-_0x48d0fd]=_0x102e5d:_0x10291d[_0x5c5057-_0x48d0fd]=_0x47fbd9;}_0x82521[_0x26d17f(0x150)]({'id':_0x36f0de['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x120f4c,'unitId':_0x42ab5d,'ranges':[{'startColumn':_0x48d0fd,'endColumn':_0x48d0fd+_0x203550-0x1,'startRow':0x0,'endRow':_0x1ccc60[_0x26d17f(0x291)]()-0x1}],'colWidth':_0x10291d}}),_0x57a0b1[_0x26d17f(0x150)]({'id':_0x36f0de['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x120f4c,'unitId':_0x42ab5d,'ranges':[{'startColumn':_0x48d0fd,'endColumn':_0x48d0fd+_0x203550-0x1,'startRow':0x0,'endRow':_0x1ccc60[_0x26d17f(0x291)]()-0x1}],'colWidth':_0x7a119}});}return{'undos':_0x57a0b1,'redos':_0x82521};}};_0x1fe0e2=_0x40f76d([_0x44ed75(0x0,_0xacfc7b[_0x245086(0x2be)](_0x36f0de[_0x245086(0x1af)])),_0x44ed75(0x1,_0xacfc7b[_0x245086(0x2be)](_0xacfc7b[_0x245086(0x67)])),_0x44ed75(0x2,_0xacfc7b[_0x245086(0x2be)](_0xacfc7b[_0x245086(0x1f9)])),_0x44ed75(0x3,_0xacfc7b[_0x245086(0x2be)](_0x49a3fb[_0x245086(0x1bf)])),_0x44ed75(0x4,_0xacfc7b['Inject'](_0x49a3fb[_0x245086(0x227)]))],_0x1fe0e2);var _0x58f32e=Object[_0x245086(0x120)],_0x54800f=(_0x3ca53e,_0x5be773,_0xc0428e,_0x1bc0e9)=>{const _0x588534=_0x245086;for(var _0x45a7ad=_0x1bc0e9>0x1?void 0x0:_0x1bc0e9?_0x58f32e(_0x5be773,_0xc0428e):_0x5be773,_0x3bde79=_0x3ca53e[_0x588534(0x16a)]-0x1,_0x5c9d90;_0x3bde79>=0x0;_0x3bde79--)(_0x5c9d90=_0x3ca53e[_0x3bde79])&&(_0x45a7ad=_0x5c9d90(_0x45a7ad)||_0x45a7ad);return _0x45a7ad;},_0x291923=(_0x12ba67,_0x3f48cb)=>(_0x2b8e4a,_0x4e1660)=>_0x3f48cb(_0x2b8e4a,_0x4e1660,_0x12ba67);let _0x476f4b=class extends _0xacfc7b[_0x245086(0x1ef)]{constructor(_0x2f93a4,_0x33e03c,_0x44e0ac,_0x9db452,_0x1863e7,_0x1ba507,_0x1c2b5f){const _0x21ef03=_0x245086;super(),_0x2a0787(this,_0x21ef03(0x2b5),new _0xacfc7b[(_0x21ef03(0x13d))]()),(this[_0x21ef03(0x1db)]=_0x2f93a4,this[_0x21ef03(0x2ec)]=_0x33e03c,this['_commandService']=_0x44e0ac,this[_0x21ef03(0x1a9)]=_0x9db452,this[_0x21ef03(0x1a3)]=_0x1863e7,this['_sheetsPivotTableAdaptorModel']=_0x1ba507,this[_0x21ef03(0x11e)]=_0x1c2b5f,this['_onRefRangeChange']());}[_0x245086(0xe4)](){const _0x2152f5=_0x245086,_0x5c2f59=(_0x31642b,_0x1a37de)=>{const _0x295f32=_0x57b0,_0x1eda8f=this[_0x295f32(0x1a9)]['getCurrentUnitForType'](_0xacfc7b[_0x295f32(0x263)][_0x295f32(0x94)]);if(!_0x1eda8f||!(_0x1eda8f==null?void 0x0:_0x1eda8f[_0x295f32(0x244)](_0x1a37de)))return;this['disposableCollection']['dispose']();const _0x1fcb96=_0x24b6c0=>this[_0x295f32(0x10c)](_0x24b6c0,_0x31642b,_0x1a37de),_0x4db845=this[_0x295f32(0x1a3)]['getSubUnitPivotConfigs'](_0x31642b,_0x1a37de);if(!(_0x4db845!=null&&_0x4db845[_0x295f32(0x189)]))return;Array['from'](_0x4db845['values']())[_0x295f32(0x29e)](_0x40eed7=>{const _0x52e4b1=_0x295f32,{row:_0xd52078,col:_0x472f40}=_0x40eed7['targetCellInfo'];return _0xacfc7b[_0x52e4b1(0x159)](_0xd52078,_0x472f40);})[_0x295f32(0x34c)](_0x533fdb=>{const _0x3f7b33=_0x295f32;this[_0x3f7b33(0x2b5)][_0x3f7b33(0x219)](this[_0x3f7b33(0x2ec)][_0x3f7b33(0x2e7)](_0x533fdb,_0x1fcb96,_0x31642b,_0x1a37de));});},_0x2a4d1e=()=>{const _0xd671d3=_0x57b0,_0x51745b=this[_0xd671d3(0x1a9)][_0xd671d3(0x2b3)](_0xacfc7b[_0xd671d3(0x263)][_0xd671d3(0x94)]);if(_0x51745b){const _0x1a6339=_0x51745b[_0xd671d3(0xb0)]();if(!_0x1a6339)return;_0x5c2f59(_0x51745b[_0xd671d3(0xad)](),_0x1a6339[_0xd671d3(0xb6)]());}};this[_0x2152f5(0x25a)](this[_0x2152f5(0x104)][_0x2152f5(0x146)](_0x49ddbc=>{const _0x5e7326=_0x2152f5;if(_0x49ddbc['id']===_0x36f0de[_0x5e7326(0xfa)]['id']){const _0x537b95=_0x49ddbc[_0x5e7326(0x171)],_0x49e282=_0x537b95['subUnitId'],_0x1ce6a=_0x537b95[_0x5e7326(0x2ca)];if(!_0x49e282||!_0x1ce6a)return;_0x5c2f59(_0x1ce6a,_0x49e282);}})),this[_0x2152f5(0x25a)](this[_0x2152f5(0x1a3)][_0x2152f5(0x33e)][_0x2152f5(0x36d)](_0x126c59=>{_0x126c59&&_0x2a4d1e();})),this['disposeWithMe'](this['_sheetsPivotTableConfigModel'][_0x2152f5(0x11d)][_0x2152f5(0x36d)](_0x1e412d=>{const _0x200a24=_0x2152f5,_0x53a441=_0x36f0de[_0x200a24(0x276)](this[_0x200a24(0x1a9)]);if(!_0x53a441)return;const {unitId:_0x2fbe65,subUnitId:_0x14cfd8}=_0x53a441,{unitId:_0x436e39,subUnitId:_0xa4aa44}=_0x1e412d;_0x2fbe65!==_0x436e39||_0x14cfd8!==_0xa4aa44||_0x5c2f59(_0x2fbe65,_0x14cfd8);})),_0x2a4d1e();}['_refRangeHandle'](_0x8fab6e,_0x41eec0,_0x3bcbc5){const _0x832428=_0x245086;switch(_0x8fab6e['id']){case _0x36f0de['MoveRangeCommand']['id']:return this[_0x832428(0x26e)](_0x8fab6e['params'],_0x41eec0,_0x3bcbc5);}return{'redos':[],'undos':[]};}[_0x245086(0x26e)](_0x45154b,_0x187a4e,_0x50f260){const _0x55c066=_0x245086,{fromRange:_0x38dd7c,toRange:_0x3910ab}=_0x45154b,_0x4c8582=[],_0x3ba25e=[],_0x3d8bee=_0x36f0de[_0x55c066(0x276)](this[_0x55c066(0x1a9)]);if(!_0x3d8bee)return{'undos':_0x3ba25e,'redos':_0x4c8582};if(_0x187a4e!==_0x3d8bee[_0x55c066(0x2ca)]||_0x50f260!==_0x3d8bee[_0x55c066(0x346)])return{'undos':_0x3ba25e,'redos':_0x4c8582};const _0x2e51c6=this['_sheetsPivotTableConfigModel'][_0x55c066(0x309)](_0x187a4e,_0x50f260);if(_0x2e51c6!=null&&_0x2e51c6[_0x55c066(0x189)])for(const [_0x15d45a,_0xdbe19b]of _0x2e51c6){const {unitId:_0x2e88f6,subUnitId:_0x7a4caf,row:_0x153b20,col:_0x3c4872}=_0xdbe19b['targetCellInfo'];if(_0x2e88f6===_0x3d8bee['unitId']&&_0x7a4caf===_0x3d8bee[_0x55c066(0x346)]){const _0x545d54=_0xacfc7b[_0x55c066(0x159)](_0x153b20,_0x3c4872);if(_0xacfc7b['Rectangle'][_0x55c066(0x2fa)](_0x545d54,_0x38dd7c)){const _0x41e801=_0x153b20-_0x38dd7c[_0x55c066(0x345)],_0x384421=_0x3c4872-_0x38dd7c[_0x55c066(0x208)],_0xd41642={'row':_0x3910ab['startRow']+_0x41e801,'col':_0x3910ab[_0x55c066(0x208)]+_0x384421};_0x4c8582[_0x55c066(0x150)]({'id':_0x519d92['id'],'params':{'unitId':_0x2e88f6,'subUnitId':_0x7a4caf,'pivotTableId':_0x15d45a,'targetCellPosition':_0xd41642}}),_0x3ba25e['push']({'id':_0x519d92['id'],'params':{'unitId':_0x2e88f6,'subUnitId':_0x7a4caf,'pivotTableId':_0x15d45a,'targetCellPosition':{'row':_0x153b20,'col':_0x3c4872}}});const _0x18bb16=_0xd41642['row']-_0x153b20,_0x3392e4=_0xd41642[_0x55c066(0x8f)]-_0x3c4872,_0x167d25=[],_0x3aa60d=this[_0x55c066(0x372)][_0x55c066(0xfe)](_0x2e88f6,_0x7a4caf,_0x15d45a),_0x579fb3=_0x3aa60d==null?void 0x0:_0x3aa60d['rangesInfo'];if(_0x579fb3){Object[_0x55c066(0x305)](_0x579fb3)['forEach'](_0x3419df=>{const _0x37bbdf=_0x55c066;_0x579fb3[_0x3419df][_0x37bbdf(0x34c)](_0xa2b21b=>{const _0x9b8d21=_0x37bbdf,_0x3c8ac6={..._0xa2b21b};_0x3c8ac6['startRow']=_0xa2b21b[_0x9b8d21(0x345)]+_0x18bb16,_0x3c8ac6[_0x9b8d21(0x2c0)]=_0xa2b21b[_0x9b8d21(0x2c0)]+_0x18bb16,_0x3c8ac6[_0x9b8d21(0x208)]=_0xa2b21b[_0x9b8d21(0x208)]+_0x3392e4,_0x3c8ac6[_0x9b8d21(0x265)]=_0xa2b21b[_0x9b8d21(0x265)]+_0x3392e4,_0x167d25[_0x9b8d21(0x150)](_0x3c8ac6);});});const _0x59987a=this[_0x55c066(0x11e)][_0x55c066(0x312)]({'unitId':_0x2e88f6,'subUnitId':_0x7a4caf,'ranges':_0x167d25});_0x4c8582[_0x55c066(0x150)](..._0x59987a[_0x55c066(0x17c)]),_0x3ba25e['push'](..._0x59987a[_0x55c066(0x14b)]);const _0x2ef891=_0x5e005a(this[_0x55c066(0x1db)],_0x2e88f6,_0x7a4caf,_0x167d25);_0x2ef891[_0x55c066(0x286)]&&(_0x4c8582[_0x55c066(0x150)](_0x2ef891[_0x55c066(0x14c)]),_0x3ba25e[_0x55c066(0x150)](_0x2ef891[_0x55c066(0x1a6)]));}}}}return{'redos':_0x4c8582,'undos':_0x3ba25e};}};_0x476f4b=_0x54800f([_0x291923(0x0,_0xacfc7b[_0x245086(0x2be)](_0xacfc7b['Injector'])),_0x291923(0x1,_0xacfc7b['Inject'](_0x36f0de['RefRangeService'])),_0x291923(0x2,_0xacfc7b['ICommandService']),_0x291923(0x3,_0xacfc7b[_0x245086(0x1f9)]),_0x291923(0x4,_0xacfc7b[_0x245086(0x2be)](_0x49a3fb[_0x245086(0x1bf)])),_0x291923(0x5,_0xacfc7b['Inject'](_0x49a3fb[_0x245086(0x355)])),_0x291923(0x6,_0xacfc7b['Inject'](_0x36f0de[_0x245086(0x1af)]))],_0x476f4b);var _0x140550=Object[_0x245086(0x120)],_0x57045d=(_0x3ce097,_0x24f73f,_0x1769ae,_0x2d3d79)=>{const _0x2bb343=_0x245086;for(var _0x286c6e=_0x2d3d79>0x1?void 0x0:_0x2d3d79?_0x140550(_0x24f73f,_0x1769ae):_0x24f73f,_0x538051=_0x3ce097[_0x2bb343(0x16a)]-0x1,_0x244782;_0x538051>=0x0;_0x538051--)(_0x244782=_0x3ce097[_0x538051])&&(_0x286c6e=_0x244782(_0x286c6e)||_0x286c6e);return _0x286c6e;},_0x124088=(_0x520276,_0x3c86a7)=>(_0x39f5bb,_0x160496)=>_0x3c86a7(_0x39f5bb,_0x160496,_0x520276);let _0x5af9df=class extends _0xacfc7b[_0x245086(0x1ef)]{constructor(_0x4ed597,_0x95dd67){const _0x2c54c7=_0x245086;super(),this[_0x2c54c7(0x11e)]=_0x4ed597,this[_0x2c54c7(0x1a3)]=_0x95dd67,this[_0x2c54c7(0x330)]();}[_0x245086(0x330)](){const _0x49f6ad=_0x245086;this[_0x49f6ad(0x25a)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x15fa80=>{const _0x4f5f0f=_0x49f6ad;if(_0x15fa80['id']===_0x36f0de['RemoveSheetCommand']['id']){const _0x21192a=[],_0x147961=[],_0x4e2d31=_0x15fa80[_0x4f5f0f(0x171)],{unitId:_0x74f7bc,subUnitId:_0x2f1fbc}=_0x4e2d31;if(!_0x74f7bc||!_0x2f1fbc)return{'undos':_0x147961,'redos':_0x21192a};const _0x5ee933=this[_0x4f5f0f(0x1a3)][_0x4f5f0f(0x309)](_0x74f7bc,_0x2f1fbc);if(_0x5ee933!=null&&_0x5ee933[_0x4f5f0f(0x189)])for(const [_0x4f6b6d,_0x5ab8d2]of _0x5ee933){_0x21192a['push']({'id':_0x3ff9ef['id'],'params':{'unitId':_0x74f7bc,'subUnitId':_0x2f1fbc,'pivotTableId':_0x4f6b6d}});const _0x50a763={...this[_0x4f5f0f(0x1a3)][_0x4f5f0f(0xae)](_0x74f7bc,_0x4f6b6d)};_0x147961[_0x4f5f0f(0x150)]({'id':_0x522828['id'],'params':{'unitId':_0x74f7bc,'subUnitId':_0x2f1fbc,'pivotTableId':_0x4f6b6d,'pivotTableConfig':_0x5ab8d2,'collectionConfig':_0x50a763}});}return{'redos':_0x21192a,'undos':_0x147961};}return{'redos':[],'undos':[]};}}));}};_0x5af9df=_0x57045d([_0x124088(0x0,_0xacfc7b[_0x245086(0x2be)](_0x36f0de[_0x245086(0x1af)])),_0x124088(0x1,_0xacfc7b[_0x245086(0x2be)](_0x49a3fb[_0x245086(0x1bf)]))],_0x5af9df);var _0x1a0d19=Object['getOwnPropertyDescriptor'],_0x4648dd=(_0x4d470c,_0x3a3ced,_0x55c546,_0x46b7b8)=>{const _0x2a36c5=_0x245086;for(var _0x31c31c=_0x46b7b8>0x1?void 0x0:_0x46b7b8?_0x1a0d19(_0x3a3ced,_0x55c546):_0x3a3ced,_0x2387b8=_0x4d470c[_0x2a36c5(0x16a)]-0x1,_0x4718e5;_0x2387b8>=0x0;_0x2387b8--)(_0x4718e5=_0x4d470c[_0x2387b8])&&(_0x31c31c=_0x4718e5(_0x31c31c)||_0x31c31c);return _0x31c31c;},_0x395b32=(_0x45f180,_0x2a85bd)=>(_0xd7e40d,_0xb6d301)=>_0x2a85bd(_0xd7e40d,_0xb6d301,_0x45f180);let _0x21483b=class extends _0xacfc7b[_0x245086(0x1ef)]{constructor(_0x36933d,_0x3028ee,_0x4ccc38,_0x45b325,_0x459217,_0x5aea1c){const _0x9ac887=_0x245086;super(),this['_commandService']=_0x36933d,this[_0x9ac887(0x145)]=_0x3028ee,this['_sheetsPivotTableAdaptorModel']=_0x4ccc38,this[_0x9ac887(0x1a3)]=_0x45b325,this[_0x9ac887(0x1a9)]=_0x459217,this[_0x9ac887(0x339)]=_0x5aea1c,this[_0x9ac887(0xfd)](),this[_0x9ac887(0x37f)]();}[_0x245086(0xfd)](){const _0x3786e5=_0x245086;this['disposeWithMe'](this[_0x3786e5(0x104)][_0x3786e5(0x146)](_0x3b0186=>{const _0x375727=_0x3786e5;if(_0x3b0186['id']!==_0x299547['id'])return;const _0x4f4739=_0x3b0186[_0x375727(0x171)];this[_0x375727(0x145)][_0x375727(0x1f8)](_0x4f4739);})),this[_0x3786e5(0x25a)](this['_commandService']['onCommandExecuted'](_0x2fbd54=>{const _0x41fc66=_0x3786e5;if(_0x2fbd54['id']===_0x514649['id']){const _0x38378a=_0x2fbd54['params'];if(_0x38378a){const {unitId:_0x36aac1,subUnitId:_0x809944,oldSubUnitId:_0x451641,pivotTableId:_0x3c121c,pivotTableConfig:_0x4c26c0,collectionConfig:_0x492ae2}=_0x38378a;this['_sheetsPivotTableConfigModel'][_0x41fc66(0x1c5)](_0x36aac1,_0x451641,_0x38378a[_0x41fc66(0x221)],null),this[_0x41fc66(0x1a3)][_0x41fc66(0x1c5)](_0x36aac1,_0x809944,_0x3c121c,_0x4c26c0),this['_sheetsPivotTableConfigModel']['updateCollectionConfig'](_0x36aac1,_0x492ae2);}}})),this['disposeWithMe'](this[_0x3786e5(0x104)][_0x3786e5(0x146)](_0x2b6672=>{const _0x504fc0=_0x3786e5;if(_0x2b6672['id']!==_0x3fc1a6['id'])return;const _0x48873d=_0x36f0de[_0x504fc0(0x276)](this[_0x504fc0(0x1a9)]);if(!_0x48873d)return;const {unitId:_0x4ac5fb,subUnitId:_0x4f7b84}=_0x48873d,_0x37b29b=_0x2b6672[_0x504fc0(0x171)];if(_0x37b29b[_0x504fc0(0x66)]&&Object[_0x504fc0(0x305)](_0x37b29b[_0x504fc0(0x66)])[_0x504fc0(0x34c)](_0x2531c6=>{const _0x9456e1=_0x504fc0;var _0x4dc0e4;(_0x4dc0e4=_0x37b29b[_0x9456e1(0x66)])!=null&&_0x4dc0e4[_0x2531c6]&&this['_sheetsPivotTableConfigModel']['updateCollectionConfig'](_0x2531c6,_0x37b29b['collectionConfig'][_0x2531c6]);}),_0x37b29b['single']){const _0x1eaa5a=_0x37b29b['single'],{unitId:_0x5aa5e0,subUnitId:_0x54da42,view:_0x47a21e,pivotTableId:_0xe2ffe7,type:_0x578387,pivotConfig:_0x21edf6}=_0x1eaa5a;if(_0x578387===_0x542f6c[_0x504fc0(0x72)])this[_0x504fc0(0x372)][_0x504fc0(0x22b)]({'unitId':_0x5aa5e0,'subUnitId':_0x54da42,'pivotTableId':_0xe2ffe7,'type':_0x578387}),this[_0x504fc0(0x1a3)][_0x504fc0(0x1c5)](_0x5aa5e0,_0x54da42,_0xe2ffe7,null);else{const _0xf1cfcf=new _0x55dd5b[(_0x504fc0(0x207))]();_0xf1cfcf[_0x504fc0(0x18e)](_0x47a21e),this[_0x504fc0(0x1a3)][_0x504fc0(0x1c5)](_0x5aa5e0,_0x54da42,_0xe2ffe7,_0x21edf6),this[_0x504fc0(0x372)][_0x504fc0(0x22b)]({'unitId':_0x5aa5e0,'subUnitId':_0x54da42,'pivotTableId':_0xe2ffe7,'type':_0x578387,'view':_0xf1cfcf}),this[_0x504fc0(0x372)][_0x504fc0(0xe9)]({'unitId':_0x5aa5e0,'subUnitId':_0x54da42,'view':_0xf1cfcf,'pivotTableId':_0xe2ffe7,'type':_0x578387});}}else _0x37b29b[_0x504fc0(0x2ac)]&&(_0x37b29b['batch'][_0x504fc0(0x34c)](_0xd7be79=>{const _0x1f4a82=_0x504fc0,{unitId:_0x5e8dee,subUnitId:_0x29b1b9,view:_0x5b0117,pivotTableId:_0x366cf4,type:_0x1d4dd1,pivotConfig:_0x44b3b5}=_0xd7be79,_0x267ab5=new _0x55dd5b[(_0x1f4a82(0x207))]();_0x267ab5['formJSON'](_0x5b0117),this[_0x1f4a82(0x1a3)]['updateConfigCache'](_0x5e8dee,_0x29b1b9,_0x366cf4,_0x44b3b5),this[_0x1f4a82(0x372)]['updateRenderCache']({'unitId':_0x5e8dee,'subUnitId':_0x29b1b9,'view':_0x267ab5,'pivotTableId':_0x366cf4,'type':_0x1d4dd1});}),this[_0x504fc0(0x1a3)][_0x504fc0(0x336)]());this[_0x504fc0(0x372)][_0x504fc0(0x1b8)](_0x4ac5fb,_0x4f7b84);}));}['registerDirtyService'](){this['_activeDirtyManagerService']['register'](_0x5c4d0c['id'],{'commandId':_0x5c4d0c['id'],'getDirtyData'(_0x96d1f2){return{'dirtyUnitFeatureMap':_0x96d1f2['params']};}});}};_0x21483b=_0x4648dd([_0x395b32(0x0,_0xacfc7b[_0x245086(0x2be)](_0xacfc7b[_0x245086(0xcd)])),_0x395b32(0x1,_0xacfc7b['Inject'](_0x49a3fb['SheetsPivotRPCService'])),_0x395b32(0x2,_0xacfc7b[_0x245086(0x2be)](_0x49a3fb[_0x245086(0x355)])),_0x395b32(0x3,_0xacfc7b['Inject'](_0x49a3fb[_0x245086(0x1bf)])),_0x395b32(0x4,_0xacfc7b['Inject'](_0xacfc7b[_0x245086(0x1f9)])),_0x395b32(0x5,_0x439297[_0x245086(0x184)])],_0x21483b);var _0x33557c=Object[_0x245086(0x2e8)],_0x3271ff=Object['getOwnPropertyDescriptor'],_0x2c68a5=(_0x45193d,_0x3f7732,_0x21ea13)=>_0x3f7732 in _0x45193d?_0x33557c(_0x45193d,_0x3f7732,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21ea13}):_0x45193d[_0x3f7732]=_0x21ea13,_0x4b4e26=(_0x5f1eb0,_0x4771da,_0xd44cab,_0x1e9157)=>{const _0x42b560=_0x245086;for(var _0x90ab58=_0x1e9157>0x1?void 0x0:_0x1e9157?_0x3271ff(_0x4771da,_0xd44cab):_0x4771da,_0x5e6d8a=_0x5f1eb0[_0x42b560(0x16a)]-0x1,_0x5cc31c;_0x5e6d8a>=0x0;_0x5e6d8a--)(_0x5cc31c=_0x5f1eb0[_0x5e6d8a])&&(_0x90ab58=_0x5cc31c(_0x90ab58)||_0x90ab58);return _0x90ab58;},_0x5b10ea=(_0x3fda1b,_0x3e65a5)=>(_0x4493fd,_0x4339b9)=>_0x3e65a5(_0x4493fd,_0x4339b9,_0x3fda1b),_0x147df3=(_0x16078d,_0x44d979,_0x175ea3)=>_0x2c68a5(_0x16078d,typeof _0x44d979!='symbol'?_0x44d979+'':_0x44d979,_0x175ea3);_0x49a3fb[_0x245086(0x21f)]=class extends _0xacfc7b[_0x245086(0x318)]{constructor(_0x2818ad=_0x4114b5,_0xcde786,_0x5a5b67,_0x26f544,_0x56eeb5){const _0x11b42e=_0x245086;super(),this['_config']=_0x2818ad,this[_0x11b42e(0x1db)]=_0xcde786,this[_0x11b42e(0x104)]=_0x5a5b67,this[_0x11b42e(0x174)]=_0x26f544,this[_0x11b42e(0x214)]=_0x56eeb5;const {..._0xa54b9e}=_0xacfc7b['merge']({},_0x4114b5,this[_0x11b42e(0x338)]);this['_configService']['setConfig'](_0x261148,_0xa54b9e),this['_initRegisterCommand'](),this[_0x11b42e(0x175)]();}['_initConfig'](){const _0x9555bf=_0x245086;var _0x3c4601;const _0x22329a=(_0x3c4601=this['_config'])==null?void 0x0:_0x3c4601['notExecuteFormula'];this[_0x9555bf(0x174)][_0x9555bf(0x11a)](_0x10e4d2,_0x22329a===!0x0);}['onStarting'](){const _0x2942b8=_0x245086;var _0x21d1ba;let _0x1a961e=[];const _0x570454=(_0x21d1ba=this[_0x2942b8(0x338)])==null?void 0x0:_0x21d1ba[_0x2942b8(0x20d)];_0x570454===!0x0?_0x1a961e=[[_0x49a3fb[_0x2942b8(0x227)]],[_0x49a3fb[_0x2942b8(0x102)]],[_0x21483b],[_0x49a3fb[_0x2942b8(0x355)]],[_0x49a3fb['SheetsPivotTableConfigModel']],[_0x5af9df],[_0x2f2db2],[_0x476f4b],[_0x1fe0e2]]:_0x570454===!0x1?_0x1a961e=[[_0x49a3fb[_0x2942b8(0x282)]],[_0x1df37d]]:_0x570454===void 0x0&&(_0x1a961e=[[_0x49a3fb[_0x2942b8(0x282)]],[_0x1df37d],[_0x49a3fb['SheetsPivotTableService']],[_0x49a3fb[_0x2942b8(0x102)]],[_0x21483b],[_0x49a3fb[_0x2942b8(0x355)]],[_0x49a3fb['SheetsPivotTableConfigModel']],[_0x5af9df],[_0x2f2db2],[_0x476f4b],[_0x1fe0e2]]),_0x1a961e[_0x2942b8(0x34c)](_0x4cde9a=>this[_0x2942b8(0x1db)][_0x2942b8(0x219)](_0x4cde9a)),[_0x1df37d,_0x21483b,_0x49a3fb[_0x2942b8(0x227)],_0x2f2db2,_0x5af9df,_0x476f4b,_0x1fe0e2][_0x2942b8(0x34c)](_0x5373a6=>{const _0x27bacf=_0x2942b8;this[_0x27bacf(0x1db)][_0x27bacf(0x115)](_0x5373a6)&&this[_0x27bacf(0x1db)][_0x27bacf(0x23d)](_0x5373a6);});}[_0x245086(0x271)](){const _0x407415=_0x245086;[_0x19467b,_0x28ce19,_0x2fae1e,_0x2bc0f9,_0x2caa4b,_0xa0f1c9,_0x242db8,_0x597e51,_0x3a58aa,_0x4bc312,_0x14fe9d,_0x2e59c4,_0x325a79,_0x23c828,_0x522828,_0x2885da,_0x3ff9ef,_0x2d7538,_0x97b11,_0x4638a0,_0xe27ce8,_0x4feae9,_0x22a60d,_0x1a7b44,_0x5036a9,_0x5537e0,_0x519d92,_0x10fe5a,_0x299547,_0x3fc1a6,_0x281391,_0x55edcf,_0x3915e1,_0x49f9bd,_0x58eec2,_0x3a8732,_0x53562b,_0x5c4d0c,_0x514649,_0x59d880,_0x36c2d2,_0x4227cd,_0x19f9d7][_0x407415(0x34c)](_0x4730ec=>{const _0x5ad5f3=_0x407415;var _0x23be67;(_0x23be67=this[_0x5ad5f3(0x214)])==null||_0x23be67[_0x5ad5f3(0x232)](_0x4730ec),this[_0x5ad5f3(0x104)]['registerCommand'](_0x4730ec);});}},_0x147df3(_0x49a3fb[_0x245086(0x21f)],_0x245086(0x27c),_0x51a8a0),_0x147df3(_0x49a3fb[_0x245086(0x21f)],_0x245086(0x21d),_0xacfc7b[_0x245086(0x263)][_0x245086(0x94)]),_0x49a3fb[_0x245086(0x21f)]=_0x4b4e26([_0xacfc7b[_0x245086(0x2f2)](_0x53a245[_0x245086(0x16c)]),_0x5b10ea(0x1,_0xacfc7b[_0x245086(0x2be)](_0xacfc7b['Injector'])),_0x5b10ea(0x2,_0xacfc7b['Inject'](_0xacfc7b['ICommandService'])),_0x5b10ea(0x3,_0xacfc7b[_0x245086(0x260)]),_0x5b10ea(0x4,_0xacfc7b['Optional'](_0x2eeda7[_0x245086(0x2ff)]))],_0x49a3fb[_0x245086(0x21f)]),_0x49a3fb['AddPivotFieldCommand']=_0x2fae1e,_0x49a3fb[_0x245086(0x134)]=_0x2d7538,_0x49a3fb[_0x245086(0x96)]=_0x28ce19,_0x49a3fb[_0x245086(0x1cf)]=_0x522828,_0x49a3fb[_0x245086(0x252)]=_0x19467b,_0x49a3fb['BLANK_ROW_COUNT']=_0x1d5f07,_0x49a3fb[_0x245086(0x2bd)]=_0x55fd51,_0x49a3fb[_0x245086(0x74)]=_0x2bc0f9,_0x49a3fb[_0x245086(0x236)]=_0x325a79,_0x49a3fb[_0x245086(0x2cb)]=_0x4bc33b,_0x49a3fb[_0x245086(0x2ee)]=_0x23c828,_0x49a3fb[_0x245086(0x147)]=_0x542f6c,_0x49a3fb[_0x245086(0x2e3)]=_0x5c4d0c,_0x49a3fb[_0x245086(0x2c8)]=_0x1c99b3,_0x49a3fb[_0x245086(0x18c)]=_0x2caa4b,_0x49a3fb[_0x245086(0x31c)]=_0x4feae9,_0x49a3fb[_0x245086(0x296)]=_0x3ff9ef,_0x49a3fb[_0x245086(0x242)]=_0x22a60d,_0x49a3fb[_0x245086(0x20c)]=_0x19f9d7,_0x49a3fb[_0x245086(0x32f)]=_0x261148,_0x49a3fb['SHEET_PIVOT_TABLE_PLUGIN']=_0x51a8a0,_0x49a3fb['SetPivotCollapseCommand']=_0x597e51,_0x49a3fb[_0x245086(0x360)]=_0x1a7b44,_0x49a3fb[_0x245086(0x2fd)]=_0x49f9bd,_0x49a3fb['SetPivotFieldsConfigCommand']=_0x4227cd,_0x49a3fb[_0x245086(0x1d5)]=_0x4bc312,_0x49a3fb[_0x245086(0x13f)]=_0xe27ce8,_0x49a3fb[_0x245086(0x36a)]=_0x5537e0,_0x49a3fb['SetPivotPositionMutation']=_0x519d92,_0x49a3fb[_0x245086(0xe3)]=_0x3a58aa,_0x49a3fb['SetPivotSortMutation']=_0x5036a9,_0x49a3fb[_0x245086(0x22c)]=_0x3915e1,_0x49a3fb[_0x245086(0x229)]=_0x59d880,_0x49a3fb[_0x245086(0x12d)]=_0x36c2d2,_0x49a3fb[_0x245086(0x2c5)]=_0x242db8,_0x49a3fb[_0x245086(0x2a8)]=_0x281391,_0x49a3fb[_0x245086(0x2af)]=_0x14fe9d,_0x49a3fb[_0x245086(0x108)]=_0x53562b,_0x49a3fb[_0x245086(0x377)]=_0x2e59c4,_0x49a3fb[_0x245086(0x1f3)]=_0x3a8732,_0x49a3fb[_0x245086(0x188)]=_0xa0f1c9,_0x49a3fb[_0x245086(0xf3)]=_0x55edcf,_0x49a3fb[_0x245086(0x111)]=_0x45e500,_0x49a3fb[_0x245086(0x216)]=_0xb0dffd,_0x49a3fb[_0x245086(0x2e5)]=_0x3dc5d3,_0x49a3fb['generateSetRangeValueMutations']=_0x5e005a,_0x49a3fb['getAdjustRangesPosition']=_0x23da99,_0x49a3fb[_0x245086(0x199)]=_0x9fdaa3,_0x49a3fb['getFieldListByArea']=_0x4ff00d,_0x49a3fb[_0x245086(0x337)]=_0x2d9359,_0x49a3fb[_0x245086(0x295)]=_0x52e67e,_0x49a3fb[_0x245086(0x182)]=_0x2a6344,_0x49a3fb[_0x245086(0x25d)]=_0x50b7d8,_0x49a3fb[_0x245086(0x149)]=_0x5b690c,_0x49a3fb[_0x245086(0x25e)]=_0x3d393b,Object['defineProperty'](_0x49a3fb,Symbol['toStringTag'],{'value':'Module'});}));
|
|
1
|
+
function _0x33f8(_0x51a2ef,_0x2182c6){const _0xfab3d9=_0xfab3();return _0x33f8=function(_0x33f830,_0x57cd5b){_0x33f830=_0x33f830-0x1d4;let _0x28358d=_0xfab3d9[_0x33f830];return _0x28358d;},_0x33f8(_0x51a2ef,_0x2182c6);}(function(_0x3073dc,_0x5eaaab){const _0xcb992a=_0x33f8,_0x7e27b9=_0x3073dc();while(!![]){try{const _0x32e324=parseInt(_0xcb992a(0x29f))/0x1*(parseInt(_0xcb992a(0x4cd))/0x2)+parseInt(_0xcb992a(0x37c))/0x3*(-parseInt(_0xcb992a(0x409))/0x4)+-parseInt(_0xcb992a(0x4b5))/0x5*(-parseInt(_0xcb992a(0x4ce))/0x6)+parseInt(_0xcb992a(0x3a3))/0x7+-parseInt(_0xcb992a(0x301))/0x8+-parseInt(_0xcb992a(0x3bf))/0x9+parseInt(_0xcb992a(0x41e))/0xa;if(_0x32e324===_0x5eaaab)break;else _0x7e27b9['push'](_0x7e27b9['shift']());}catch(_0x29d50d){_0x7e27b9['push'](_0x7e27b9['shift']());}}}(_0xfab3,0x71760),function(_0x1e9514,_0x1fdead){const _0x375a08=_0x33f8;typeof exports==_0x375a08(0x3b0)&&typeof module<'u'?_0x1fdead(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==_0x375a08(0x49f)&&define[_0x375a08(0x399)]?define([_0x375a08(0x2de),'@univerjs-pro/engine-pivot',_0x375a08(0x23f),_0x375a08(0x4e9),_0x375a08(0x3c6),_0x375a08(0x4ba),_0x375a08(0x42d),_0x375a08(0x4c3),'@univerjs/rpc','@univerjs/engine-render'],_0x1fdead):(_0x1e9514=typeof globalThis<'u'?globalThis:_0x1e9514||self,_0x1fdead(_0x1e9514[_0x375a08(0x313)]={},_0x1e9514['UniverProEnginePivot'],_0x1e9514[_0x375a08(0x432)],_0x1e9514['UniverEngineFormula'],_0x1e9514[_0x375a08(0x383)],_0x1e9514[_0x375a08(0x4ba)],_0x1e9514[_0x375a08(0x312)],_0x1e9514[_0x375a08(0x2ec)],_0x1e9514[_0x375a08(0x216)],_0x1e9514['UniverEngineRender']));}(this,function(_0xd0af73,_0x33417a,_0x2fa876,_0x196a8d,_0x30840c,_0x2504f7,_0x4baa44,_0x537f85,_0x52ef50,_0x488639){'use strict';const _0x32a484=_0x33f8;var _0x463884=Object[_0x32a484(0x207)],_0xde213=(_0x3f08df,_0x3b319b,_0x5a579e)=>_0x3b319b in _0x3f08df?_0x463884(_0x3f08df,_0x3b319b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a579e}):_0x3f08df[_0x3b319b]=_0x5a579e,_0x25ab16=(_0x5741ce,_0x199992,_0x71ea15)=>_0xde213(_0x5741ce,typeof _0x199992!='symbol'?_0x199992+'':_0x199992,_0x71ea15);const _0x3e9237=Number[_0x32a484(0x39d)](0x690d91f9),_0x472598=0x10,_0x1c1f87=0x1,_0x1a68df=_0x32a484(0x436),_0x4814ba=0x1,_0x9edab3=_0x32a484(0x470),_0x5491ec=_0x32a484(0x243),_0x15b1d6=_0x32a484(0x2d8),_0x35c132=_0x32a484(0x3a2),_0x464f24=_0x32a484(0x3a2),_0x50e96d=_0x32a484(0x226),_0x268b6=_0x32a484(0x4e5),_0x3a87f4=_0x32a484(0x32f),_0x2a6af7=_0x32a484(0x2a5),_0x423dfe='#1d32e9',_0x30a4de=_0x32a484(0x32f),_0x3896ca='#e6ebfb',_0x4716f3=0xe,_0x287724=0x6;var _0x323c52=(_0x57226f=>(_0x57226f[_0x32a484(0x289)]=_0x32a484(0x3aa),_0x57226f[_0x32a484(0x200)]=_0x32a484(0x282),_0x57226f))(_0x323c52||{});const _0x5be2b9={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x3b3d22=0x1e,_0x3cee8={'b':{'s':0x1,'cl':{'rgb':_0x15b1d6}},'l':{'s':0x1,'cl':{'rgb':_0x15b1d6}},'r':{'s':0x1,'cl':{'rgb':_0x15b1d6}},'t':{'s':0x1,'cl':{'rgb':_0x15b1d6}}},_0x395c60={'bg':{'rgb':_0x9edab3},'ht':0x2,'vt':0x2,'tb':0x1},_0x3dc219={'bg':{'rgb':_0x5491ec},'ht':0x2,'vt':0x2,'tb':0x1},_0x226288={'rowStyle':{'bg':{'rgb':_0x3896ca},'bd':_0x3cee8,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x423dfe},'bd':null,'cl':{'rgb':_0x30a4de},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x3cee8,'bg':{'rgb':_0x2a6af7},'vt':0x2},'cornerStyle':{'bd':_0x3cee8,'bg':{'rgb':_0x50e96d},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x3cee8,'bg':{'rgb':_0x35c132},'vt':0x2},'leafStyle':{'bd':_0x3cee8,'bg':{'rgb':_0x464f24},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x268b6},'cl':{'rgb':_0x3a87f4},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x3cee8,'vt':0x2}};function _0x3247ef(_0xaae0a8,_0x3f6322,_0x17d8e6){const _0x407116=_0x32a484,_0x1d93c0=_0xaae0a8[_0x407116(0x3fc)](_0x2fa876[_0x407116(0x3d2)]),_0x2c001f=_0x17d8e6['split']('_');switch(_0x3f6322){case _0x33417a[_0x407116(0x486)][_0x407116(0x491)]:return _0x1d93c0['t'](_0x407116(0x2dc),..._0x2c001f);case _0x33417a[_0x407116(0x486)][_0x407116(0x28d)]:return _0x1d93c0['t'](_0x407116(0x1ed),..._0x2c001f);case _0x33417a[_0x407116(0x486)][_0x407116(0x4eb)]:return _0x1d93c0['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x2c001f);case _0x33417a[_0x407116(0x486)]['HourMinute']:return _0x1d93c0['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x2c001f);case _0x33417a['PivotDateGroupFieldDateTypeEnum'][_0x407116(0x3d1)]:return _0x1d93c0['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x2c001f);case _0x33417a[_0x407116(0x486)][_0x407116(0x47d)]:return _0x1d93c0['t'](_0x407116(0x291),..._0x2c001f);case _0x33417a[_0x407116(0x486)][_0x407116(0x34e)]:return _0x1d93c0['t'](_0x407116(0x462),..._0x2c001f);case _0x33417a[_0x407116(0x486)]['YearMonth']:return _0x1d93c0['t'](_0x407116(0x3f4),..._0x2c001f);case _0x33417a[_0x407116(0x486)][_0x407116(0x3e3)]:return _0x1d93c0['t'](_0x407116(0x227),..._0x2c001f);case _0x33417a[_0x407116(0x486)][_0x407116(0x43c)]:return _0x1d93c0['t'](_0x407116(0x242),..._0x2c001f);}return'';}const _0x3428b9=(_0x12a913,_0xeced2b,_0x40d8a2,_0x5c2426)=>{const _0x3747bc=_0x32a484;let _0x1fbb92;const _0x6bc6c8=_0x12a913[_0x3747bc(0x3fc)](_0x2fa876[_0x3747bc(0x361)])['getCurrentUnitForType'](_0x2fa876['UniverInstanceType'][_0x3747bc(0x28a)]);if(!_0x6bc6c8)return null;const _0x4842c6=_0x6bc6c8[_0x3747bc(0x2bb)]();let _0x440372;if(_0x40d8a2&&(_0x440372=_0x4842c6[_0x3747bc(0x280)](_0x40d8a2)),_0xeced2b!=null&&_0xeced2b['v']||(_0xeced2b==null?void 0x0:_0xeced2b['v'])===0x0){_0x1fbb92||(_0x1fbb92={});const _0x2e5c89=_0xa7cb16(_0xeced2b['v']);typeof _0x2e5c89==_0x3747bc(0x309)?_0x1fbb92['t']=_0x2fa876[_0x3747bc(0x393)][_0x3747bc(0x2b6)]:typeof _0x2e5c89=='string'&&(_0x1fbb92['t']=_0x2fa876[_0x3747bc(0x393)]['STRING']),_0x1fbb92['v']=_0x2e5c89;}if((_0xeced2b!=null&&_0xeced2b['i']||(_0xeced2b==null?void 0x0:_0xeced2b['i'])===0x0)&&(_0x1fbb92||(_0x1fbb92={}),_0x1fbb92['fi']=_0xeced2b['i']),_0xeced2b!=null&&_0xeced2b['s']&&(_0x1fbb92||(_0x1fbb92={}),_0x1fbb92[_0x3747bc(0x22e)]=_0xeced2b['s']),_0x40d8a2&&(_0x1fbb92||(_0x1fbb92={}),_0x1fbb92['s']=_0x440372),_0x5c2426&&_0x1fbb92!=null&&_0x1fbb92['v']&&_0x1fbb92['pbt']!==_0x33417a[_0x3747bc(0x307)][_0x3747bc(0x43e)]&&_0x1fbb92[_0x3747bc(0x22e)]!==_0x33417a[_0x3747bc(0x307)]['Subtotal']){const _0x15a184=String(_0x1fbb92['v']),{dateType:_0x299c99}=_0x5c2426;_0x1fbb92['v']=_0x3247ef(_0x12a913,_0x299c99,_0x15a184),_0x1fbb92['t']=_0x2fa876[_0x3747bc(0x393)][_0x3747bc(0x494)];}return _0x1fbb92;},_0x204472=(_0x1d82ef,_0x17e385,_0x231a35,_0x55933e)=>{const _0x473aba=_0x32a484;var _0x397882,_0x23cdf0,_0x23fa4c,_0x294bc7,_0x4fa67e,_0x5cf7f9,_0x44cde0,_0x44cda9,_0x506500,_0x2bebe7,_0x4c9a86,_0x3e00e4,_0x5b9336,_0x1276c4;const _0x538d10=_0x231a35[_0x473aba(0x412)],{cornerView:_0x43a6f1,rowView:_0x1b8310,colView:_0xc494b,dataView:_0x18ea80,pageView:_0x5f03b5,formatMap:_0x8aa481,groupInfo:_0x56d0b3}=_0x17e385,{row:_0xedebb4,col:_0x2d0af6}=_0x538d10,_0x43fff2=new _0x2fa876[(_0x473aba(0x48a))](),_0x46fefd={},_0x52fb57={},_0xebc3f9={},_0x4a7357={},_0x2a6391={};let _0x4e46ac=_0xedebb4,_0x5a9beb=_0x2d0af6;Object[_0x473aba(0x31e)](_0x5f03b5[_0x473aba(0x484)])[_0x473aba(0x4c2)](_0x16311f=>{const _0x43ed6c=_0x473aba;Object[_0x43ed6c(0x31e)](_0x5f03b5[_0x43ed6c(0x484)][Number(_0x16311f)])[_0x43ed6c(0x4c2)](_0x30e364=>{const _0x3d38e1=_0x43ed6c,_0x2d4474={..._0x5f03b5[_0x3d38e1(0x484)][Number(_0x16311f)][Number(_0x30e364)]};_0x43fff2['setValue'](Number(_0x16311f)+_0x4e46ac,Number(_0x30e364)+_0x5a9beb,_0x3428b9(_0x1d82ef,_0x2d4474,_0x226288[_0x3d38e1(0x456)]));});});const _0x3d1140=Object[_0x473aba(0x31e)](_0x5f03b5[_0x473aba(0x484)])[_0x473aba(0x249)];_0x4e46ac+=_0x3d1140+(_0x3d1140?_0x4814ba:0x0);const _0x15ebcb=_0x43a6f1['getRowCount'](),_0x56d6d3=_0x43a6f1[_0x473aba(0x4c4)]();for(let _0x53d594=0x0;_0x53d594<_0x15ebcb;_0x53d594++)for(let _0x8f8e75=0x0;_0x8f8e75<_0x56d6d3;_0x8f8e75++){const _0x2516a8={...(_0x23cdf0=(_0x397882=_0x43a6f1[_0x473aba(0x484)])==null?void 0x0:_0x397882[_0x53d594])==null?void 0x0:_0x23cdf0[_0x8f8e75]};_0x2516a8&&((_0x23fa4c=_0x1b8310[_0x473aba(0x302)][_0x8f8e75])!=null&&_0x23fa4c[_0x473aba(0x3de)])&&_0x8f8e75===_0x56d6d3-0x1&&_0x53d594===_0x15ebcb-0x1&&(_0x2516a8['v']=''+_0x55933e[_0x473aba(0x483)]),_0x43fff2[_0x473aba(0x280)](_0x53d594+_0x4e46ac,_0x8f8e75+_0x5a9beb,_0x3428b9(_0x1d82ef,_0x2516a8,_0x226288[_0x473aba(0x4df)]));}for(let _0x6a9ec6=0x0;_0x6a9ec6<_0x43a6f1[_0x473aba(0x45f)]['length'];_0x6a9ec6++)_0x43a6f1[_0x473aba(0x45f)][_0x6a9ec6]&&(_0xebc3f9[''+(_0x6a9ec6+_0x5a9beb)]=_0x43a6f1[_0x473aba(0x45f)][_0x6a9ec6]);_0x5a9beb+=_0x56d6d3;const _0x3cd360=_0xc494b[_0x473aba(0x302)],_0xd0a4e7=_0xc494b[_0x473aba(0x364)]()>=0x0?_0xc494b[_0x473aba(0x364)]()+0x1:0x0,_0xcccf6c=_0xc494b[_0x473aba(0x27b)]()>=0x0?_0xc494b[_0x473aba(0x27b)]()+0x1:0x0;for(let _0x5b2eb2=0x0;_0x5b2eb2<_0xcccf6c;_0x5b2eb2++){for(let _0x2ca88a=0x0;_0x2ca88a<_0xd0a4e7;_0x2ca88a++){const _0x27ee88={...(_0x4fa67e=(_0x294bc7=_0xc494b[_0x473aba(0x484)])==null?void 0x0:_0x294bc7[_0x2ca88a])==null?void 0x0:_0x4fa67e[_0x5b2eb2]},_0x188413=(_0x5cf7f9=_0x3cd360[_0x2ca88a])==null?void 0x0:_0x5cf7f9[_0x473aba(0x407)],_0x633ae8=_0x8aa481[_0x188413],_0x266fdb=_0x56d0b3[_0x188413];_0x27ee88&&(_0x27ee88['v']=_0x27d4ee(_0x27ee88,_0x2ca88a===0x0&&((_0x44cde0=_0xc494b['getHeaderMapItem'](_0x5b2eb2+0x1))==null?void 0x0:_0x44cde0['isValue']),_0x633ae8,_0x55933e));let _0x578972;_0x633ae8?_0x578972={..._0x226288[_0x473aba(0x4c9)],'n':{'pattern':_0x633ae8}}:_0x578972={..._0x226288[_0x473aba(0x4c9)]},_0x43fff2[_0x473aba(0x280)](_0x2ca88a+_0x4e46ac,_0x5b2eb2+_0x5a9beb,_0x3428b9(_0x1d82ef,_0x27ee88,_0x578972,_0x266fdb));}_0xc494b[_0x473aba(0x45f)][_0x5b2eb2]&&(_0x52fb57[''+(_0x5b2eb2+_0x5a9beb)]=_0xc494b[_0x473aba(0x45f)][_0x5b2eb2]),_0xc494b[_0x473aba(0x302)][_0x5b2eb2+0x1]&&(_0x2a6391[''+(_0x5b2eb2+_0x4e46ac+0x1)]=_0xc494b['headerMap'][_0x5b2eb2+0x1]);}_0x4e46ac+=_0x15ebcb;const _0x5f46d5=_0x1b8310[_0x473aba(0x302)],_0x359dcc=_0x1b8310['getLastRow']()>=0x0?_0x1b8310['getLastRow']()+0x1:0x0,_0x10f46b=_0x1b8310['getLastCol']()>=0x0?_0x1b8310['getLastCol']()+0x1:0x0;for(let _0x23f878=0x0;_0x23f878<_0x359dcc;_0x23f878++){for(let _0x1c7e95=0x0;_0x1c7e95<_0x10f46b;_0x1c7e95++){const _0x542479={...(_0x506500=(_0x44cda9=_0x1b8310[_0x473aba(0x484)])==null?void 0x0:_0x44cda9[_0x23f878])==null?void 0x0:_0x506500[_0x1c7e95]},_0x4d358e=(_0x2bebe7=_0x5f46d5[_0x1c7e95])==null?void 0x0:_0x2bebe7['tableFieldId'],_0x2218df=_0x8aa481[_0x4d358e],_0x524719=_0x56d0b3[_0x4d358e];_0x542479&&(_0x542479['v']=_0x27d4ee(_0x542479,!0x1,_0x2218df,_0x55933e));let _0x36326e;_0x1b8310[_0x473aba(0x45f)][_0x23f878][_0x473aba(0x1e8)]===_0x1b8310['getColCount']()?_0x36326e=_0x226288[_0x473aba(0x4d5)]:_0x1b8310[_0x473aba(0x45f)][_0x23f878][_0x473aba(0x46c)]?_0x36326e=_0x1b8310[_0x473aba(0x45f)][_0x23f878][_0x473aba(0x1e8)]===0x0?_0x226288[_0x473aba(0x4ac)]:_0x226288['subTotalStyle']:_0x36326e=_0x226288['rowStyle'],_0x2218df&&(_0x36326e={..._0x36326e,'n':{'pattern':_0x2218df}}),_0x43fff2[_0x473aba(0x280)](_0x23f878+_0x4e46ac,_0x1c7e95+_0x2d0af6,_0x3428b9(_0x1d82ef,_0x542479,_0x36326e,_0x524719));}_0x1b8310['info'][_0x23f878]&&(_0x46fefd[''+(_0x23f878+_0x4e46ac)]=_0x1b8310[_0x473aba(0x45f)][_0x23f878]),_0x1b8310[_0x473aba(0x302)][_0x23f878]&&(_0x4a7357[''+(_0x23f878+_0x2d0af6)]=_0x1b8310['headerMap'][_0x23f878]);}const _0x4fadff=_0x18ea80[_0x473aba(0x4b4)](),_0x245441=_0x18ea80[_0x473aba(0x4c4)]();for(let _0x952912=0x0;_0x952912<_0x4fadff;_0x952912++)for(let _0x3d6dcd=0x0;_0x3d6dcd<_0x245441;_0x3d6dcd++){const _0x4b0ba7={...(_0x3e00e4=(_0x4c9a86=_0x18ea80[_0x473aba(0x484)])==null?void 0x0:_0x4c9a86[_0x952912])==null?void 0x0:_0x3e00e4[_0x3d6dcd]};let _0x193fa7;_0x1b8310[_0x473aba(0x45f)][_0x952912]['isBottomTotal']?_0x193fa7=_0x1b8310[_0x473aba(0x45f)][_0x952912]['level']===0x0?_0x226288[_0x473aba(0x4ac)]:_0x226288['subTotalStyle']:_0x193fa7=_0x226288[_0x473aba(0x3ac)];const _0x170b4=_0x1b8310[_0x473aba(0x45f)][_0x952912]['valueIndex'],_0x573432=_0xc494b[_0x473aba(0x45f)][_0x3d6dcd]['valueIndex'],_0x300523=Math[_0x473aba(0x1f9)](_0x170b4,_0x573432),_0x1e7254=_0x231a35[_0x473aba(0x481)][_0x473aba(0x414)][_0x473aba(0x398)]();let _0x41c0ee='';_0x300523<0x0?_0x41c0ee=(_0x5b9336=_0x1e7254[0x0])!=null?_0x5b9336:'':_0x41c0ee=(_0x1276c4=_0x1e7254[_0x300523])!=null?_0x1276c4:'';const _0x51121f=_0x8aa481[_0x41c0ee];_0x51121f&&(_0x193fa7={..._0x193fa7,'n':{'pattern':_0x51121f}}),_0x43fff2[_0x473aba(0x280)](_0x952912+_0x4e46ac,_0x3d6dcd+_0x5a9beb,_0x3428b9(_0x1d82ef,_0x4b0ba7,_0x193fa7));}return{'valueMatrix':_0x43fff2,'rowInfo':_0x46fefd,'colInfo':_0x52fb57,'cornerInfo':_0xebc3f9,'rowHeaderMap':_0x4a7357,'colHeaderMap':_0x2a6391};};function _0x27d4ee(_0x176e3c,_0x2c55c8,_0x152074,_0x195bdd){const _0x9c98df=_0x32a484;let _0x9955b2=_0x176e3c['v'];_0x2c55c8&&(_0x9955b2=''+_0x195bdd[_0x9c98df(0x483)]);const _0x36432b=_0x176e3c['t']&&(_0x176e3c['t']&_0x33417a[_0x9c98df(0x44b)][_0x9c98df(0x23b)])>0x0;_0x36432b&&(_0x9955b2=''+_0x195bdd['sheets-pivot.blank']);const _0x5c4926=_0x176e3c['t']&&(_0x176e3c['t']&_0x33417a['PivotViewCellValueTypeEnum'][_0x9c98df(0x30b)])>0x0;if(_0x5c4926&&(_0x9955b2=''+_0x195bdd[_0x9c98df(0x457)]),_0x176e3c['s']===_0x33417a['PivotCellStyleTypeEnum'][_0x9c98df(0x39b)]){let _0x55068a=_0x9955b2,_0x41eb93='';_0x33417a['isPrefixValue'](_0x9955b2)&&(_0x55068a=_0x9955b2[_0x9c98df(0x438)],_0x41eb93=_0x9955b2[_0x9c98df(0x28c)]);const _0x172aa7=_0x152074&&!_0x36432b&&!_0x5c4926?_0x2fa876[_0x9c98df(0x2c5)]['format'](_0x152074,Number(_0x55068a)):_0x55068a;_0x41eb93?_0x9955b2=_0x172aa7+'\x20'+_0x41eb93:_0x9955b2=_0x172aa7+'\x20'+_0x195bdd['sheets-pivot.subTotal'];}else _0x176e3c['s']===_0x33417a['PivotCellStyleTypeEnum']['GrandTotal']&&(_0x9955b2=_0x9955b2+'\x20'+_0x195bdd[_0x9c98df(0x2aa)]);return _0x9955b2;}function _0xa7cb16(_0x5ca8a6){const _0x5000a0=_0x32a484;if(_0x33417a[_0x5000a0(0x2f9)](_0x5ca8a6)){const {errorType:_0x4ee98e}=_0x5ca8a6;switch(_0x4ee98e){case _0x33417a[_0x5000a0(0x2f4)][_0x5000a0(0x449)]:return _0x196a8d[_0x5000a0(0x1d7)][_0x5000a0(0x46a)];case _0x33417a[_0x5000a0(0x2f4)]['NotNumber']:return _0x196a8d[_0x5000a0(0x1d7)]['NUM'];case _0x33417a['PivotErrorTypeEnum'][_0x5000a0(0x40f)]:return _0x196a8d['ErrorType'][_0x5000a0(0x480)];case _0x33417a[_0x5000a0(0x2f4)]['NotName']:return _0x196a8d['ErrorType'][_0x5000a0(0x480)];case _0x33417a[_0x5000a0(0x2f4)][_0x5000a0(0x3c8)]:return _0x196a8d[_0x5000a0(0x1d7)][_0x5000a0(0x458)];}}return _0x5ca8a6;}function _0x47957b(_0x1f0b62,_0x590203,_0x4d1e5e=!0x1,_0x4d9776=!0x1){const _0xe9c216=_0x32a484,{data:_0x70d8fb}=_0x590203,_0x2de9ff=_0x590203[_0xe9c216(0x4b4)](),_0x576b3b=_0x590203['getColCount']();if(_0x2de9ff<=0x0||_0x576b3b<=0x0)return[];const _0x434be8=_0x590203[_0xe9c216(0x27b)](),_0x2bf908=_0x590203[_0xe9c216(0x364)](),_0x205a86=_0x4d9776?_0x2bf908>=0x0?_0x2bf908+0x1:0x0:_0x2de9ff,_0x20a19d=_0x4d9776?_0x434be8>=0x0?_0x434be8+0x1:0x0:_0x576b3b,{row:_0x1ec0e8,col:_0x1e8e9d}=_0x1f0b62,_0x28657a=_0x1ec0e8,_0x39c7e2=_0x1e8e9d;if(_0x4d1e5e){const _0x380f91=[];for(const [_0x422d5d,_0xb12bec]of Object[_0xe9c216(0x408)](_0x70d8fb))for(const [_0x1a2298,_0x3ae7af]of Object[_0xe9c216(0x408)](_0xb12bec))_0x380f91[_0xe9c216(0x296)](_0x2fa876['cellToRange'](_0x28657a+Number(_0x422d5d),_0x39c7e2+Number(_0x1a2298)));return _0x380f91;}else{const _0x45855f=_0x4d9776?_0x205a86>0x0?0x1:0x0:0x1,_0x552e04=_0x4d9776?_0x20a19d>0x0?0x1:0x0:0x1,_0x51162a=_0x1ec0e8+_0x205a86-_0x45855f,_0x64481f=_0x1e8e9d+_0x20a19d-_0x552e04;return[{'startRow':_0x28657a,'startColumn':_0x39c7e2,'endRow':_0x51162a,'endColumn':_0x64481f}];}}const _0x51f97f=_0x32a484(0x388),_0x5f27fb=_0x32a484(0x346);var _0x1ce851=(_0x73fb2e=>(_0x73fb2e[_0x32a484(0x3d0)]=_0x32a484(0x2c6),_0x73fb2e[_0x32a484(0x261)]=_0x32a484(0x260),_0x73fb2e[_0x32a484(0x357)]=_0x32a484(0x385),_0x73fb2e[_0x32a484(0x241)]=_0x32a484(0x241),_0x73fb2e[_0x32a484(0x3d5)]='addPivotTable',_0x73fb2e[_0x32a484(0x397)]=_0x32a484(0x3b1),_0x73fb2e[_0x32a484(0x339)]=_0x32a484(0x45b),_0x73fb2e['SetPivotCollapse']=_0x32a484(0x353),_0x73fb2e[_0x32a484(0x1e6)]=_0x32a484(0x38e),_0x73fb2e[_0x32a484(0x4d3)]=_0x32a484(0x20c),_0x73fb2e[_0x32a484(0x3a0)]=_0x32a484(0x23d),_0x73fb2e['UpdatePivotSource']='updatePivotSource',_0x73fb2e[_0x32a484(0x3ba)]=_0x32a484(0x34c),_0x73fb2e[_0x32a484(0x33d)]=_0x32a484(0x442),_0x73fb2e[_0x32a484(0x220)]='setValuePivotFilter',_0x73fb2e[_0x32a484(0x2e3)]='setPivotTableConfig',_0x73fb2e[_0x32a484(0x2fc)]=_0x32a484(0x344),_0x73fb2e))(_0x1ce851||{});const _0x46fdd4={'sheets-pivot.blankValue':_0x32a484(0x4db),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x32a484(0x358),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x32a484(0x4a5),'sheets-pivot.averageName':_0x32a484(0x40e),'sheets-pivot.countName':_0x32a484(0x394),'sheets-pivot.countNumsName':_0x32a484(0x394),'sheets-pivot.maxName':_0x32a484(0x1dd),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':_0x32a484(0x1ef),'sheets-pivot.stdDevName':_0x32a484(0x29b),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x32a484(0x46b),'sheets-pivot.varName':_0x32a484(0x2be),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':_0x32a484(0x39b),'sheets-pivot.grandTotal':_0x32a484(0x4bf),'sheets-pivot.value':_0x32a484(0x28c),'sheets-pivot.blank':'blank','sheets-pivot.other':_0x32a484(0x30b),'sheets-pivot.emptyPivot.filter':_0x32a484(0x3d0),'sheets-pivot.emptyPivot.row':_0x32a484(0x349),'sheets-pivot.emptyPivot.column':_0x32a484(0x1d6),'sheets-pivot.emptyPivot.values':_0x32a484(0x3c4)},_0x47aadf={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x1d5a00=_0x2fa876[_0x32a484(0x316)]('pivotPerformCheck'),_0x1a7dbe=_0x2fa876[_0x32a484(0x24b)](_0x32a484(0x463));var _0xf2a767=(_0x531585=>(_0x531585['add']=_0x32a484(0x308),_0x531585['delete']=_0x32a484(0x3a9),_0x531585[_0x32a484(0x2bf)]=_0x32a484(0x2bf),_0x531585))(_0xf2a767||{}),_0x477731=(_0x2884de=>(_0x2884de[_0x32a484(0x401)]=_0x32a484(0x308),_0x2884de[_0x32a484(0x47a)]=_0x32a484(0x268),_0x2884de[_0x32a484(0x3df)]=_0x32a484(0x3a9),_0x2884de))(_0x477731||{});const _0x12d10f={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x212),'handler':()=>!0x0},_0x195cb7={'type':_0x2fa876['CommandType'][_0x32a484(0x3c2)],'id':_0x32a484(0x26c),'handler':()=>!0x0},_0x444296={'type':_0x2fa876[_0x32a484(0x2f6)]['MUTATION'],'id':_0x32a484(0x4e8),'handler':()=>!0x0},_0x38a7b1={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x2ce),'handler':()=>!0x0},_0x3e71e4={'type':_0x2fa876[_0x32a484(0x2f6)]['MUTATION'],'id':_0x32a484(0x49b),'handler':()=>!0x0};var _0xeafe12=Object[_0x32a484(0x48e)],_0x1c9a36=(_0x1e70c8,_0x18385c,_0x99b65e,_0x30fa2c)=>{for(var _0x2feae6=_0x30fa2c>0x1?void 0x0:_0x30fa2c?_0xeafe12(_0x18385c,_0x99b65e):_0x18385c,_0x4194cb=_0x1e70c8['length']-0x1,_0x499017;_0x4194cb>=0x0;_0x4194cb--)(_0x499017=_0x1e70c8[_0x4194cb])&&(_0x2feae6=_0x499017(_0x2feae6)||_0x2feae6);return _0x2feae6;},_0x1edf2a=(_0x4b63a5,_0x1f3e94)=>(_0x56b641,_0x1f0228)=>_0x1f3e94(_0x56b641,_0x1f0228,_0x4b63a5);_0xd0af73[_0x32a484(0x3af)]=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0xb38941){const _0x1f1c46=_0x32a484;super(),_0x25ab16(this,_0x1f1c46(0x2e7),new Map()),this[_0x1f1c46(0x4cf)]=_0xb38941;}[_0x32a484(0x482)](_0x68fda6){const _0x4fa7ed=_0x32a484,{version:_0x266f03}=_0x68fda6,_0x2c9994=this[_0x4fa7ed(0x2e7)][_0x4fa7ed(0x3fc)](_0x266f03);_0x2c9994&&(_0x2c9994(_0x68fda6),this[_0x4fa7ed(0x2e7)][_0x4fa7ed(0x3a9)](_0x266f03));}[_0x32a484(0x263)](_0x2d6123){return new Promise((_0x2ab207,_0x43d58e)=>{const _0x136647=_0x33f8,_0x230363=this[_0x136647(0x342)]();this['_requestResolvers'][_0x136647(0x268)](_0x230363,_0x2ab207),this[_0x136647(0x4cf)][_0x136647(0x24f)](_0x12d10f['id'],{'version':_0x230363,..._0x2d6123},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x539f8c=_0x32a484;return Math[_0x539f8c(0x2a3)]()[_0x539f8c(0x2cf)](0x24)[_0x539f8c(0x2f5)](0x2,0x10);}},_0xd0af73[_0x32a484(0x3af)]=_0x1c9a36([_0x1edf2a(0x0,_0x2fa876['Inject'](_0x2fa876[_0x32a484(0x41b)]))],_0xd0af73[_0x32a484(0x3af)]);const _0x271cb0={0x0:'q',0x1:'F',0x2:'0',0x3:'c',0x4:'9',0x5:'8',0x6:'y',0x7:'O',0x8:'4',0x9:'u','p':'1','c':'2','s':'3','z':'5','U':'6','B':'7','D':'a','O':'b','g':'d','F':'e','h':'f','w':'g','q':'h','b':'i','X':'j','v':'k','H':'l','P':'m','x':'n','t':'o','J':'p','T':'r','C':'s','K':'t','I':'v','u':'w','Y':'x','a':'z','N':'A','S':'B','d':'C','V':'D','M':'E','k':'G','r':'H','A':'I','m':'J','G':'K','Z':'L','f':'M','R':'N','n':'P','e':'Q','i':'R','E':'S','j':'T','L':'U','l':'V','y':'W','Q':'X','o':'Y','W':'Z'},_0x434851=_0x32a484(0x4b0),_0x97a458=_0xd3c348=>{const _0xb4b383=_0x32a484;var _0x5f2c0b;return((_0x5f2c0b=_0xd3c348[_0xb4b383(0x34f)])==null?void 0x0:_0x5f2c0b['dataStream'][_0xb4b383(0x4b9)](/\r\n$/,''))||'';};class _0xc8ac62 extends _0x33417a[_0x32a484(0x37a)]{constructor(_0x19a18a,_0x3e9e4b){const _0x19ce57=_0x32a484;super(),_0x25ab16(this,_0x19ce57(0x4d7),{}),_0x25ab16(this,_0x19ce57(0x4d0)),_0x25ab16(this,'_host'),(this[_0x19ce57(0x4d0)]=_0x3e9e4b,this[_0x19ce57(0x3ef)]=_0x19a18a);}['initDataRanges'](){const _0xb1de03=_0x32a484;for(const _0x485037 in this[_0xb1de03(0x23c)]){const _0x461547=this[_0xb1de03(0x23c)][_0x485037],_0x5e6471=_0x461547['getRangeKey']();this[_0xb1de03(0x4d7)][_0x5e6471]=_0x461547['getId']();}}['getAutoDisplayNameFunction'](){const _0x49cf04=_0x32a484,_0x542358=this[_0x49cf04(0x3ef)];return _0x232a20[_0x49cf04(0x286)](_0x542358);}[_0x32a484(0x240)](_0x52f9eb){const _0x232580=_0x32a484,_0x1f2728=this['dataFields'][_0x52f9eb][_0x232580(0x2d7)];delete this[_0x232580(0x23c)][_0x52f9eb],delete this[_0x232580(0x4d7)][_0x1f2728];}[_0x32a484(0x355)](_0x5cb229){this['dataFields'][_0x5cb229['getId']()]=_0x5cb229;}['removeCollectionImp'](_0x53c8cd){const _0x1c825e=_0x32a484;var _0x17740a,_0x4cb5dd;const _0x4590ed=this[_0x1c825e(0x3ef)][_0x1c825e(0x4aa)](_0x53c8cd);if(_0x4590ed){const {unitId:_0x106e88,subUnitId:_0x5513d0}=_0x4590ed,_0x483239=(_0x17740a=this[_0x1c825e(0x3ef)]['getPivotTableConfig'](_0x106e88,_0x5513d0,_0x53c8cd))==null?void 0x0:_0x17740a['sourceRangeInfo'];this['_host'][_0x1c825e(0x217)]({'token':_0x53c8cd,'type':_0xf2a767[_0x1c825e(0x3a9)],'dataRangeInfo':_0x483239});}(_0x4cb5dd=this[_0x1c825e(0x336)](_0x53c8cd))==null||_0x4cb5dd['dispose'](),delete this[_0x1c825e(0x4e2)][_0x53c8cd];}['getRangeKey'](_0x4d4b8b,_0x542f29){const _0x59d669=_0x32a484,{sheetName:_0x3afa6d,unitId:_0x29153c,range:_0x39eafb}=_0x4d4b8b,{startRow:_0xc0f350,endRow:_0x3b85ac}=_0x39eafb;return _0x196a8d[_0x59d669(0x278)](_0x29153c,_0x3afa6d,{'startRow':_0xc0f350,'endRow':_0x3b85ac,'startColumn':_0x542f29,'endColumn':_0x542f29});}[_0x32a484(0x3e1)](_0x1c28f3){const _0x5c948b=_0x32a484;return this[_0x5c948b(0x23c)][this[_0x5c948b(0x4d7)][_0x1c28f3]];}['setRangeKeyMap'](_0x4ef967,_0xdf2395){const _0x270f0d=_0x32a484;this[_0x270f0d(0x4d7)][_0x4ef967]=_0xdf2395;}[_0x32a484(0x27e)](_0x10d605,_0x1ac18b){const _0x3b86b9=_0x32a484;this['rangeKeyMap'][_0x1ac18b]=this[_0x3b86b9(0x4d7)][_0x10d605],delete this[_0x3b86b9(0x4d7)][_0x10d605];}[_0x32a484(0x20b)](_0x545d17,_0xd5fcd9,_0x3c3743,_0x8e167a){const _0x2e44bb=_0x32a484,_0x45fcbe=new _0x33417a[(_0x2e44bb(0x4dc))](this);_0x45fcbe['fromJSON'](_0xd5fcd9);const _0x183e67=[];let _0x50839e=0x0;for(const _0x35088c of _0x45fcbe[_0x2e44bb(0x3c1)]){const _0x29cc9=this[_0x2e44bb(0x2e5)](_0x3c3743,_0x50839e),_0x43631d=this[_0x2e44bb(0x23c)][_0x35088c];_0x43631d&&(_0x43631d['rangeKey']=_0x29cc9,this[_0x2e44bb(0x356)](_0x29cc9,_0x35088c),_0x183e67['push']({'index':_0x50839e,'dataField':_0x43631d})),_0x50839e++;}return this[_0x2e44bb(0x3c7)](_0x545d17,_0x45fcbe,_0x3c3743,_0x8e167a),{'collection':_0x45fcbe,'updateDataFieldList':_0x183e67};}['getRangeStartEndInfo'](_0x42e2e3,_0x48e796){const _0x1e1c6d=_0x32a484;return _0x42e2e3[_0x1e1c6d(0x26d)]===_0x2fa876['RANGE_TYPE']['COLUMN']?{'startRow':0x0,'startColumn':_0x42e2e3[_0x1e1c6d(0x3e4)],'endRow':_0x48e796[_0x1e1c6d(0x4b4)]()-0x1,'endColumn':_0x42e2e3['endColumn']}:{'startRow':_0x42e2e3[_0x1e1c6d(0x340)],'startColumn':_0x42e2e3['startColumn'],'endRow':_0x42e2e3[_0x1e1c6d(0x2d0)],'endColumn':_0x42e2e3['endColumn']};}['createCollectionWithDataRange'](_0x3bc81c){const _0x30a29c=_0x32a484,{sheetName:_0x497b6b,range:_0x188561}=_0x3bc81c,_0x124ea7=this[_0x30a29c(0x4d0)][_0x30a29c(0x347)](_0x2fa876[_0x30a29c(0x376)][_0x30a29c(0x28a)]),_0x4fed34=_0x124ea7[_0x30a29c(0x2cd)](_0x497b6b),_0x179def=_0x4fed34[_0x30a29c(0x3ea)](),{startColumn:_0x4bba26,startRow:_0x15bd9b,endColumn:_0x1ebae4}=this[_0x30a29c(0x34b)](_0x188561,_0x4fed34),_0xd117d3=_0x124ea7[_0x30a29c(0x2bb)](),_0x383a69=new _0x33417a[(_0x30a29c(0x4dc))](this);_0x383a69['setRange'](_0x3bc81c);const _0x2886c1=[],_0x308eed={};for(let _0xaec7a6=_0x4bba26;_0xaec7a6<=_0x1ebae4;_0xaec7a6++){const _0x563de6=_0x179def[_0x30a29c(0x250)](_0x15bd9b,_0xaec7a6),_0xfaf877=this[_0x30a29c(0x2e5)](_0x3bc81c,_0xaec7a6),_0x328f98=this[_0x30a29c(0x3e1)](_0xfaf877);if(_0x328f98)_0x383a69[_0x30a29c(0x4e7)](_0x328f98[_0x30a29c(0x244)](),_0x328f98[_0x30a29c(0x22d)]());else{const _0x379be8=this[_0x30a29c(0x354)]();let _0x5b0c34=this[_0x30a29c(0x48f)](_0x563de6,_0xd117d3,_0x308eed);_0x33417a[_0x30a29c(0x3b5)](_0x5b0c34)&&(_0x5b0c34=_0x2fa876['numfmt'][_0x30a29c(0x201)](_0x5b0c34['f'],Number(_0x5b0c34['v'])));const _0x335140=this[_0x30a29c(0x222)](_0x5b0c34,_0xaec7a6),_0x2e6de9=new _0x33417a[(_0x30a29c(0x31b))](_0x379be8,_0x335140,_0x33417a[_0x30a29c(0x35b)](0x3));_0x2e6de9[_0x30a29c(0x2d7)]=_0xfaf877,this[_0x30a29c(0x23c)][_0x379be8]=_0x2e6de9,_0x383a69[_0x30a29c(0x4e7)](_0x379be8,_0x335140),_0x2886c1['push']({'index':_0xaec7a6,'dataField':_0x2e6de9});}}return{'updateDataFieldList':_0x2886c1,'collection':_0x383a69};}['_getAutoName'](_0x45e094){const _0x3508a4=_0x32a484;return this[_0x3508a4(0x3ef)][_0x3508a4(0x32e)]()[_0x3508a4(0x310)]+'\x20'+_0x2fa876['numberToABC'](_0x45e094);}[_0x32a484(0x222)](_0x2f791a,_0x49e339){const _0x304185=_0x32a484;return _0x2f791a==null||_0x2f791a===''?this[_0x304185(0x31c)](_0x49e339):String(_0x2f791a);}[_0x32a484(0x336)](_0x5b601e){const _0x5d074c=_0x32a484;return this[_0x5d074c(0x4e2)][_0x5b601e];}[_0x32a484(0x3c7)](_0x13e5e5,_0x5267c1,_0x1abf1d,_0x13a494){const _0x26ede0=_0x32a484;this['collections'][_0x13e5e5]=_0x5267c1,_0x5267c1[_0x26ede0(0x419)](_0x1abf1d),this[_0x26ede0(0x3ef)]['broadcastCollectionChange']({'token':_0x13e5e5,'type':_0xf2a767[_0x26ede0(0x308)],'dataRangeInfo':_0x1abf1d,'targetCellInfo':_0x13a494});}[_0x32a484(0x382)](_0x3def2c,_0x2b0d79){const _0x3add47=_0x32a484,_0x160fdc=this[_0x3add47(0x336)](_0x3def2c),_0x47bb4d=_0x160fdc[_0x3add47(0x29d)]();let _0x1ff716=0x0;for(const _0x362231 of _0x47bb4d){const _0x36fbcc=_0x160fdc[_0x3add47(0x4a9)](_0x362231),_0x1393a2=this[_0x3add47(0x2e5)](_0x2b0d79,_0x1ff716);this['updateRangeKeyMap'](_0x36fbcc[_0x3add47(0x2d7)],_0x1393a2),_0x1ff716++;}}[_0x32a484(0x2d9)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x22d72e,_0x330c44){const _0x3f812a=_0x32a484;if(this[_0x3f812a(0x336)](_0x22d72e)){const _0x40ccb9=this['getRangeKeyList'](_0x330c44),_0x1ef811=[];for(const _0x1633ee of _0x40ccb9)this[_0x3f812a(0x4d7)][_0x1633ee]!==void 0x0&&_0x1ef811['push'](this[_0x3f812a(0x4d7)][_0x1633ee]);const _0x43b440=this[_0x3f812a(0x465)](_0x22d72e),_0x447227=[],_0x3f659f=new Set(_0x1ef811);for(const _0x11701e of _0x43b440)_0x3f659f[_0x3f812a(0x290)](_0x11701e)||_0x447227[_0x3f812a(0x296)](_0x11701e);return _0x447227;}}['getMatrixValue'](_0x2efa73,_0x2dedd1,_0x2cbaea,_0x9bc1e,_0x16ac04){const _0x4d1b85=_0x32a484;return _0x2dedd1&&_0x2dedd1[_0x4d1b85(0x250)](_0x9bc1e,_0x16ac04)?_0x2dedd1['getValue'](_0x9bc1e,_0x16ac04):_0x2cbaea&&_0x2cbaea['getValue'](_0x9bc1e,_0x16ac04)?_0x2cbaea[_0x4d1b85(0x250)](_0x9bc1e,_0x16ac04):_0x2efa73[_0x4d1b85(0x250)](_0x9bc1e,_0x16ac04);}[_0x32a484(0x40a)](_0x2c73,_0x40c6e2,_0x7d5f60,_0x3b3852){const _0x3dca3a=_0x32a484,_0x583857=this[_0x3dca3a(0x23c)][_0x2c73];if(!_0x583857)return;const {subUnitId:_0x28117c,range:_0x497fc6,unitId:_0x593f6f}=_0x40c6e2,_0x1fb8ad=this[_0x3dca3a(0x4d0)][_0x3dca3a(0x1e4)](_0x593f6f);if(!_0x1fb8ad){console[_0x3dca3a(0x3ae)]('workbook\x20is\x20not\x20found');return;}const _0x162935=_0x1fb8ad[_0x3dca3a(0x493)](_0x28117c),_0x37dba3=_0x162935[_0x3dca3a(0x3ea)](),{arrayFormulaCellDataMatrix:_0x136300,unitDataMatrix:_0x5351d0}=_0x3b3852||{},{startRow:_0x5747df,startColumn:_0x7061fa,endRow:_0x1bd098}=this[_0x3dca3a(0x34b)](_0x497fc6,_0x162935);_0x583857[_0x3dca3a(0x325)]();const _0x5a8d8e=_0x1fb8ad['getStyles'](),_0x1a25a4={},_0x484aff=this['getMatrixValue'](_0x37dba3,_0x136300,_0x5351d0,_0x5747df,_0x7061fa+_0x7d5f60);let _0x4b3a88=this[_0x3dca3a(0x48f)](_0x484aff,_0x5a8d8e,_0x1a25a4);_0x33417a[_0x3dca3a(0x3b5)](_0x4b3a88)&&(_0x4b3a88=_0x2fa876[_0x3dca3a(0x2c5)][_0x3dca3a(0x201)](_0x4b3a88['f'],Number(_0x4b3a88['v'])));const _0xa65653=this[_0x3dca3a(0x222)](_0x4b3a88,_0x7061fa+_0x7d5f60);_0x583857[_0x3dca3a(0x271)](_0xa65653);for(let _0xeaabdf=_0x5747df+0x1;_0xeaabdf<=_0x1bd098;_0xeaabdf++){const _0x41bec4=this['getMatrixValue'](_0x37dba3,_0x136300,_0x5351d0,_0xeaabdf,_0x7061fa+_0x7d5f60);_0x583857[_0x3dca3a(0x254)](this[_0x3dca3a(0x48f)](_0x41bec4,_0x5a8d8e,_0x1a25a4),_0xeaabdf-0x1-_0x5747df);}}[_0x32a484(0x381)](_0x3f3033,_0x419a81,_0x297d36){const _0x58e612=_0x32a484,{subUnitId:_0x63502,range:_0xbd8ea1,unitId:_0xd3d37b}=_0x297d36,_0x315343=this[_0x58e612(0x4d0)][_0x58e612(0x1e4)](_0xd3d37b);if(!_0x315343){console[_0x58e612(0x3ae)](_0x58e612(0x48b));return;}const _0x1ac7ee=_0x315343[_0x58e612(0x493)](_0x63502),_0x1c31be=_0x1ac7ee[_0x58e612(0x3ea)](),{startRow:_0x19d8af,startColumn:_0x248610,endRow:_0x3d634a}=this['getRangeStartEndInfo'](_0xbd8ea1,_0x1ac7ee),_0x3d39c1=_0x315343[_0x58e612(0x2bb)](),_0x49029d={};for(const {dataField:_0x18d3ed,index:_0x295931}of _0x419a81){_0x18d3ed[_0x58e612(0x325)]();const _0x2a6720=this['getMatrixValue'](_0x1c31be,void 0x0,void 0x0,_0x19d8af,_0x248610+_0x295931);let _0x36f583=this[_0x58e612(0x48f)](_0x2a6720,_0x3d39c1,_0x49029d);_0x33417a['isDateValue'](_0x36f583)&&(_0x36f583=_0x2fa876[_0x58e612(0x2c5)][_0x58e612(0x201)](_0x36f583['f'],Number(_0x36f583['v'])));const _0x11f833=this[_0x58e612(0x222)](_0x36f583,_0x248610+_0x295931);_0x18d3ed[_0x58e612(0x271)](_0x11f833);}_0x3f3033['updateAllDisplayName']();for(let _0x1ecdbf=_0x19d8af+0x1;_0x1ecdbf<=_0x3d634a;_0x1ecdbf++)for(const {index:_0x140906,dataField:_0x1aa502}of _0x419a81){const _0x7226e1=_0x1c31be[_0x58e612(0x250)](_0x1ecdbf,_0x248610+_0x140906);_0x1aa502['addRecord'](this[_0x58e612(0x48f)](_0x7226e1,_0x3d39c1,_0x49029d),_0x1ecdbf-0x1-_0x19d8af);}_0x3f3033[_0x58e612(0x45d)](_0x3d634a-_0x19d8af);}[_0x32a484(0x2cb)](_0xff2e6a){const _0x524b30=_0x32a484,{range:_0x311ff6}=_0xff2e6a,{startColumn:_0xa1b4c7,endColumn:_0x40f40b}=_0x311ff6,_0x2c1b4d=[];for(let _0x22e2d7=_0xa1b4c7;_0x22e2d7<=_0x40f40b;_0x22e2d7++)_0x2c1b4d[_0x524b30(0x296)](this['getRangeKey'](_0xff2e6a,_0x22e2d7));return _0x2c1b4d;}[_0x32a484(0x48f)](_0x123d77,_0x430722,_0x1c92c6){const _0x2616a2=_0x32a484;if(_0x123d77){const {s:_0x41e1c4,v:_0x4c1a7c,t:_0x58e41a,p:_0x4636fd}=_0x123d77;if(_0x4636fd)return _0x97a458(_0x4636fd);const _0x45d789=_0x430722[_0x2616a2(0x3fc)](_0x41e1c4);if(_0x45d789&&_0x58e41a===_0x2fa876[_0x2616a2(0x393)][_0x2616a2(0x2b6)]&&_0x45d789['n']){const {pattern:_0x978694}=_0x45d789['n'];_0x1c92c6[_0x978694]||(_0x1c92c6[_0x978694]=_0x2fa876[_0x2616a2(0x2c5)]['getFormatInfo'](_0x978694));const _0x188b4b=_0x1c92c6[_0x978694],_0x26084c=_0x188b4b[_0x2616a2(0x4ed)];if(_0x188b4b[_0x2616a2(0x384)])return String(_0x4c1a7c);if(_0x26084c)return{'v':_0x4c1a7c,'f':_0x978694};}if(_0x58e41a===_0x2fa876['CellValueType'][_0x2616a2(0x2b6)])return Number(_0x4c1a7c);if(_0x58e41a===_0x2fa876[_0x2616a2(0x393)][_0x2616a2(0x494)]||_0x58e41a===_0x2fa876[_0x2616a2(0x393)][_0x2616a2(0x4e1)])return String(_0x4c1a7c);if(_0x58e41a===void 0x0){const _0x275063=Number(_0x4c1a7c);if(!Number[_0x2616a2(0x3a7)](_0x275063)&&String(_0x275063)===_0x4c1a7c)return _0x275063;}return _0x4c1a7c!=null?_0x4c1a7c:null;}else return null;}[_0x32a484(0x265)](_0x422107){const _0x52784d=_0x32a484,{sheetName:_0x41ee88,range:_0x663f13,unitId:_0x19756b}=_0x422107,_0x477968=this[_0x52784d(0x4d0)]['getUnit'](_0x19756b);if(!_0x477968)return console[_0x52784d(0x3ae)](_0x52784d(0x48b)),{'header':[],'data':[]};const _0x2c6fbb=_0x477968['getSheetBySheetName'](_0x41ee88),_0x116ca5=_0x2c6fbb['getCellMatrix'](),{startRow:_0x2667c8,startColumn:_0x3a1f68,endRow:_0x1f0d61,endColumn:_0x105b82}=this[_0x52784d(0x34b)](_0x663f13,_0x2c6fbb),_0x47588c=_0x477968['getStyles'](),_0x285fcf=[],_0x33ba5d=[],_0x333dea={};for(let _0x1effe8=_0x2667c8;_0x1effe8<=_0x1f0d61;_0x1effe8++){const _0x5402bf=[];for(let _0x4e952e=_0x3a1f68;_0x4e952e<=_0x105b82;_0x4e952e++){const _0x24309f=_0x116ca5[_0x52784d(0x250)](_0x1effe8,_0x4e952e);_0x1effe8===_0x2667c8?_0x285fcf['push'](_0x24309f==null?null:String(_0x24309f['v'])):_0x5402bf[_0x52784d(0x296)](this['adjustSheetCellData'](_0x24309f,_0x47588c,_0x333dea));}_0x33ba5d[_0x52784d(0x296)](_0x5402bf);}return{'header':_0x285fcf,'data':_0x33ba5d};}[_0x32a484(0x4ab)](){const _0xe6b41=_0x32a484;return super[_0xe6b41(0x4ab)]();}[_0x32a484(0x232)](_0x1155b7){const _0x9d27e6=_0x32a484;super[_0x9d27e6(0x232)](_0x1155b7),this[_0x9d27e6(0x43a)]();}[_0x32a484(0x366)](){const _0x1fe5fb=_0x32a484;super[_0x1fe5fb(0x366)](),this['rangeKeyMap']={},this['_host']=null;}}const _0x6cdb14=_0x1a345d=>{const _0x2563ef=_0x32a484,{targetCellInfo:_0x9ed6f4}=_0x1a345d,{matrixCache:_0xe5eef5,rangesCache:_0xdf976}=_0x170d7b({'filter':_0x2563ef(0x3d0),'row':'Row','column':'Column','values':_0x2563ef(0x3c4)},_0x9ed6f4),_0x4ce1af=new _0x2fa876[(_0x2563ef(0x48a))]();return _0xe5eef5['forValue']((_0x105b33,_0x4b2e09,_0x136268)=>{_0x4ce1af['setValue'](_0x105b33,_0x4b2e09,_0x136268);}),{'matrix':_0x4ce1af,'rangesCache':_0xdf976};},_0x527b53=_0x3e81fd=>{const _0x4f6685=_0x32a484;let _0x403c1f;if(_0x3e81fd!=null&&_0x3e81fd['v']||(_0x3e81fd==null?void 0x0:_0x3e81fd['v'])===0x0){_0x403c1f||(_0x403c1f={});const _0x436532=_0xa7cb16(_0x3e81fd['v']);typeof _0x436532=='number'?_0x403c1f['t']=_0x2fa876[_0x4f6685(0x393)]['NUMBER']:typeof _0x436532=='string'&&(_0x403c1f['t']=_0x2fa876['CellValueType'][_0x4f6685(0x494)]),_0x403c1f['v']=_0x436532;}return _0x403c1f;},_0x8249ad=(_0x7337b4,_0x300992,_0x1b3214)=>{const _0x1fda9e=_0x32a484;var _0x2b2e6f,_0x10ca32,_0x287a90,_0x2ae74b,_0x3cd930,_0x263432,_0x506cc7,_0xa6b6f2,_0x4a1230,_0x520655,_0x292504,_0x278cdb;const {cornerView:_0x2dfccf,rowView:_0x53c1aa,colView:_0x48a909,dataView:_0x417884,pageView:_0x209ee1,formatMap:_0x373ce4}=_0x7337b4,{row:_0x278ee0,col:_0x1ded91}=_0x300992,_0x2e16ab=new _0x2fa876['ObjectMatrix']();let _0x498c57=_0x278ee0,_0x1fbffe=_0x1ded91;Object['keys'](_0x209ee1[_0x1fda9e(0x484)])[_0x1fda9e(0x4c2)](_0x5b524b=>{const _0x1d9865=_0x1fda9e;Object[_0x1d9865(0x31e)](_0x209ee1[_0x1d9865(0x484)][Number(_0x5b524b)])['forEach'](_0x39359a=>{const _0x14ab09=_0x1d9865,_0x5b2547={..._0x209ee1[_0x14ab09(0x484)][Number(_0x5b524b)][Number(_0x39359a)]};_0x2e16ab['setValue'](Number(_0x5b524b)+_0x498c57,Number(_0x39359a)+_0x1fbffe,_0x527b53(_0x5b2547));});});const _0x3511e0=Object[_0x1fda9e(0x31e)](_0x209ee1[_0x1fda9e(0x484)])['length'];_0x498c57+=_0x3511e0+(_0x3511e0?_0x4814ba:0x0);const _0x2d8efc=_0x2dfccf[_0x1fda9e(0x4b4)](),_0x5d6569=_0x2dfccf[_0x1fda9e(0x4c4)]();for(let _0x4a6272=0x0;_0x4a6272<_0x2d8efc;_0x4a6272++)for(let _0x68f591=0x0;_0x68f591<_0x5d6569;_0x68f591++){const _0x33a47e={...(_0x10ca32=(_0x2b2e6f=_0x2dfccf[_0x1fda9e(0x484)])==null?void 0x0:_0x2b2e6f[_0x4a6272])==null?void 0x0:_0x10ca32[_0x68f591]};_0x33a47e&&((_0x287a90=_0x53c1aa[_0x1fda9e(0x302)][_0x68f591])!=null&&_0x287a90[_0x1fda9e(0x3de)])&&_0x68f591===_0x5d6569-0x1&&_0x4a6272===_0x2d8efc-0x1&&(_0x33a47e['v']=''+_0x1b3214[_0x1fda9e(0x483)]),_0x2e16ab[_0x1fda9e(0x280)](_0x4a6272+_0x498c57,_0x68f591+_0x1fbffe,_0x527b53(_0x33a47e));}_0x1fbffe+=_0x5d6569;const _0x13b917=_0x48a909[_0x1fda9e(0x302)],_0x5f3bba=_0x48a909[_0x1fda9e(0x364)]()>=0x0?_0x48a909['getLastRow']()+0x1:0x0,_0x128e6b=_0x48a909[_0x1fda9e(0x27b)]()>=0x0?_0x48a909[_0x1fda9e(0x27b)]()+0x1:0x0;for(let _0x4d14fe=0x0;_0x4d14fe<_0x128e6b;_0x4d14fe++)for(let _0x1f42bf=0x0;_0x1f42bf<_0x5f3bba;_0x1f42bf++){const _0x29fed4={...(_0x3cd930=(_0x2ae74b=_0x48a909[_0x1fda9e(0x484)])==null?void 0x0:_0x2ae74b[_0x4d14fe])==null?void 0x0:_0x3cd930[_0x1f42bf]},_0x54410b=(_0x263432=_0x13b917[_0x4d14fe])==null?void 0x0:_0x263432[_0x1fda9e(0x407)],_0x26000c=_0x373ce4[_0x54410b];_0x29fed4&&(_0x29fed4['v']=_0x27d4ee(_0x29fed4,_0x4d14fe===0x0&&((_0x506cc7=_0x48a909[_0x1fda9e(0x25b)](_0x1f42bf+0x1))==null?void 0x0:_0x506cc7[_0x1fda9e(0x3de)]),_0x26000c,_0x1b3214)),_0x2e16ab['setValue'](_0x4d14fe+_0x498c57,_0x1f42bf+_0x1fbffe,_0x527b53(_0x29fed4));}_0x498c57+=_0x2d8efc;const _0x2a0f8c=_0x53c1aa[_0x1fda9e(0x302)],_0x1a1513=_0x53c1aa[_0x1fda9e(0x364)]()>=0x0?_0x53c1aa[_0x1fda9e(0x364)]()+0x1:0x0,_0x4a9218=_0x53c1aa[_0x1fda9e(0x27b)]()>=0x0?_0x53c1aa['getLastCol']()+0x1:0x0;for(let _0x3e8a4c=0x0;_0x3e8a4c<_0x1a1513;_0x3e8a4c++)for(let _0x57489a=0x0;_0x57489a<_0x4a9218;_0x57489a++){const _0x1459df={...(_0x4a1230=(_0xa6b6f2=_0x53c1aa[_0x1fda9e(0x484)])==null?void 0x0:_0xa6b6f2[_0x3e8a4c])==null?void 0x0:_0x4a1230[_0x57489a]},_0x2b3743=(_0x520655=_0x2a0f8c[_0x57489a])==null?void 0x0:_0x520655[_0x1fda9e(0x407)],_0x20ad65=_0x373ce4[_0x2b3743];_0x1459df&&(_0x1459df['v']=_0x27d4ee(_0x1459df,!0x1,_0x20ad65,_0x1b3214)),_0x2e16ab[_0x1fda9e(0x280)](_0x3e8a4c+_0x498c57,_0x57489a+_0x1ded91,_0x527b53(_0x1459df));}const _0x3e7e6f=_0x417884[_0x1fda9e(0x4b4)](),_0xe32f8a=_0x417884['getColCount']();for(let _0x233a9f=0x0;_0x233a9f<_0x3e7e6f;_0x233a9f++)for(let _0x22cc90=0x0;_0x22cc90<_0xe32f8a;_0x22cc90++){const _0x15557f={...(_0x278cdb=(_0x292504=_0x417884[_0x1fda9e(0x484)])==null?void 0x0:_0x292504[_0x233a9f])==null?void 0x0:_0x278cdb[_0x22cc90]};_0x2e16ab[_0x1fda9e(0x280)](_0x233a9f+_0x498c57,_0x22cc90+_0x1fbffe,_0x527b53(_0x15557f));}return _0x2e16ab;},_0x3250d4=_0xbdb0ae=>{const _0x2a0203=_0x32a484,{view:_0x40769b,targetCellInfo:_0x14cb3e,isEmpty:_0x641d18,textInfo:_0x1d6f34}=_0xbdb0ae;if(_0x641d18)return _0x6cdb14(_0xbdb0ae);const {pageView:_0x27dda2,cornerView:_0x470ae8,rowView:_0x2cd3f3,colView:_0x1d6a6e,dataView:_0x27acd6}=_0x40769b,_0x6e7542=_0x47957b(_0x14cb3e,_0x27dda2,!0x0),_0x5ee4cf=_0x27dda2[_0x2a0203(0x427)]>=0x0?_0x27dda2[_0x2a0203(0x427)]+0x1:0x0,_0x582cae=_0x470ae8['getRowCount'](),_0x1cfffb=_0x470ae8[_0x2a0203(0x4c4)](),_0x51065a=_0x6e7542['length']>0x0?_0x4814ba:0x0,_0x5bebb2=_0x47957b({'row':_0x14cb3e['row']+_0x5ee4cf+_0x51065a,'col':_0x14cb3e[_0x2a0203(0x38d)]},_0x470ae8,!0x1,!0x1),_0x59c2a9=_0x47957b({'row':_0x14cb3e[_0x2a0203(0x213)]+_0x5ee4cf+_0x51065a+_0x582cae,'col':_0x14cb3e[_0x2a0203(0x38d)]},_0x2cd3f3,!0x1,!0x0),_0x258888=_0x47957b({'row':_0x14cb3e[_0x2a0203(0x213)]+_0x5ee4cf+_0x51065a,'col':_0x14cb3e[_0x2a0203(0x38d)]+_0x1cfffb},_0x1d6a6e,!0x1,!0x0),_0x35441e=_0x47957b({'row':_0x14cb3e[_0x2a0203(0x213)]+_0x5ee4cf+_0x51065a+_0x582cae,'col':_0x14cb3e[_0x2a0203(0x38d)]+_0x1cfffb},_0x27acd6,!0x1,!0x1),_0x12c41a={'rowRanges':_0x59c2a9,'colRanges':_0x258888,'cornerRanges':_0x5bebb2,'dataRanges':_0x35441e,'pageRanges':_0x6e7542};return{'matrix':_0x8249ad(_0x40769b,_0x14cb3e,_0x1d6f34),'rangesCache':_0x12c41a};};var _0x3bd245=Object[_0x32a484(0x48e)],_0x118bd2=(_0x17bbcf,_0x5056dc,_0x5139e0,_0xa47823)=>{const _0x241635=_0x32a484;for(var _0x1484be=_0xa47823>0x1?void 0x0:_0xa47823?_0x3bd245(_0x5056dc,_0x5139e0):_0x5056dc,_0x312dee=_0x17bbcf[_0x241635(0x249)]-0x1,_0xaa9b;_0x312dee>=0x0;_0x312dee--)(_0xaa9b=_0x17bbcf[_0x312dee])&&(_0x1484be=_0xaa9b(_0x1484be)||_0x1484be);return _0x1484be;},_0x2025cf=(_0x25cace,_0x4c6d90)=>(_0x2d3b7d,_0x1e2a08)=>_0x4c6d90(_0x2d3b7d,_0x1e2a08,_0x25cace);_0xd0af73['SheetsPivotDataSourceModel']=class extends _0x2fa876['Disposable']{constructor(_0x49bcc5,_0x1d61df,_0x2642e3,_0x32ae9f,_0x3cd7d4){const _0x52f309=_0x32a484;super(),_0x25ab16(this,_0x52f309(0x2e6),new Map()),_0x25ab16(this,_0x52f309(0x36f),new Map()),_0x25ab16(this,_0x52f309(0x1d8),new Map()),_0x25ab16(this,_0x52f309(0x1dc)),_0x25ab16(this,_0x52f309(0x498),new _0x2504f7[(_0x52f309(0x25a))]()),_0x25ab16(this,'collectionChange$',this[_0x52f309(0x498)][_0x52f309(0x411)]()),_0x25ab16(this,'_viewData$',new _0x2504f7[(_0x52f309(0x25a))]()),_0x25ab16(this,_0x52f309(0x4b1),this[_0x52f309(0x455)][_0x52f309(0x411)]()),_0x25ab16(this,_0x52f309(0x429),new _0x2504f7[(_0x52f309(0x25a))]()),_0x25ab16(this,_0x52f309(0x363),this[_0x52f309(0x429)][_0x52f309(0x411)]()),_0x25ab16(this,_0x52f309(0x262),new Map()),_0x25ab16(this,'needSameDeleteModel',[]),_0x25ab16(this,_0x52f309(0x35f),new Map()),(this[_0x52f309(0x42f)]=_0x49bcc5,this['_univerInstanceService']=_0x1d61df,this[_0x52f309(0x208)]=_0x2642e3,this['_commandService']=_0x32ae9f,this[_0x52f309(0x4ae)]=_0x3cd7d4,this[_0x52f309(0x2e8)]());}['getTextInfo'](){return this['_textInfo']?this['_textInfo']:_0x46fdd4;}['setTextInfo'](_0x266522){const _0x4702d8=_0x32a484;this[_0x4702d8(0x1dc)]=_0x266522;}['handleMoveRange'](_0x396d1c){const _0x49d398=_0x32a484;var _0x46c066;const {from:_0x25c2a8,to:_0x55879e,unitId:_0x461a00,fromRange:_0x12f6b1,toRange:_0x4b1b1a}=_0x396d1c;if(_0x25c2a8&&_0x55879e){const _0x5bf1f1=this[_0x49d398(0x4b6)](_0x461a00),_0x2a16f3=this[_0x49d398(0x2e6)][_0x49d398(0x3fc)](_0x461a00),_0x198ac9=(_0x46c066=this['_univerInstanceService'][_0x49d398(0x1e4)](_0x461a00))==null?void 0x0:_0x46c066[_0x49d398(0x493)](_0x55879e[_0x49d398(0x2fa)]);if(!_0x2a16f3||!_0x198ac9)return;const _0x19f71b=_0x198ac9==null?void 0x0:_0x198ac9[_0x49d398(0x22d)]();for(const [_0x403882,_0x56d3d4]of _0x2a16f3[_0x49d398(0x408)]())for(const [_0x2bc10e,_0x13df96]of _0x56d3d4[_0x49d398(0x408)]()){const {sourceRangeInfo:_0x148e49}=_0x13df96;if(_0x148e49[_0x49d398(0x211)]===_0x461a00&&_0x148e49['subUnitId']===_0x25c2a8['subUnitId']&&_0x2fa876[_0x49d398(0x3b2)][_0x49d398(0x24d)](_0x12f6b1,_0x148e49[_0x49d398(0x1f6)])){const _0x267b9d={'row':_0x148e49[_0x49d398(0x1f6)][_0x49d398(0x340)]-_0x12f6b1[_0x49d398(0x340)],'col':_0x148e49[_0x49d398(0x1f6)]['startColumn']-_0x12f6b1[_0x49d398(0x3e4)]},_0x59cf01={'unitId':_0x461a00,'subUnitId':_0x55879e[_0x49d398(0x2fa)],'sheetName':_0x19f71b,'range':{'startRow':_0x4b1b1a[_0x49d398(0x340)]+_0x267b9d['row'],'endRow':_0x4b1b1a[_0x49d398(0x340)]+_0x267b9d['row']+_0x148e49[_0x49d398(0x1f6)][_0x49d398(0x2d0)]-_0x148e49['range'][_0x49d398(0x340)],'startColumn':_0x4b1b1a[_0x49d398(0x3e4)]+_0x267b9d[_0x49d398(0x38d)],'endColumn':_0x4b1b1a['startColumn']+_0x267b9d[_0x49d398(0x38d)]+_0x148e49[_0x49d398(0x1f6)][_0x49d398(0x315)]-_0x148e49['range'][_0x49d398(0x3e4)]}};_0x5bf1f1[_0x49d398(0x382)](_0x2bc10e,_0x59cf01);const _0x1a6d29={..._0x13df96,'sourceRangeInfo':_0x59cf01};this[_0x49d398(0x4e4)](_0x461a00,_0x55879e['subUnitId'],_0x2bc10e,_0x1a6d29),this[_0x49d398(0x217)]({'unitId':_0x461a00,'token':_0x2bc10e,'type':_0xf2a767[_0x49d398(0x2bf)],'oldSourceRangeInfo':_0x148e49,'dataRangeInfo':_0x59cf01,'targetCellInfo':_0x13df96[_0x49d398(0x412)]}),this[_0x49d398(0x1fb)]({'unitId':_0x461a00,'subUnitId':_0x55879e[_0x49d398(0x2fa)],'oldSubUnitId':_0x403882,'pivotTableId':_0x2bc10e,'pivotTableConfig':_0x1a6d29,'collectionConfig':_0x5bf1f1['toJSON']()});}}}}[_0x32a484(0x217)](_0x2b4d02){const _0x4a8ea9=_0x32a484;this[_0x4a8ea9(0x498)][_0x4a8ea9(0x451)](_0x2b4d02);}[_0x32a484(0x4b6)](_0x3f8b1d){const _0x2af4e2=_0x32a484;let _0x21b93a=this[_0x2af4e2(0x262)][_0x2af4e2(0x3fc)](_0x3f8b1d);return _0x21b93a||(_0x21b93a=new _0xc8ac62(this,this['_univerInstanceService']),this[_0x2af4e2(0x262)][_0x2af4e2(0x268)](_0x3f8b1d,_0x21b93a)),_0x21b93a;}['getCollection'](_0x1bedf6,_0x733703){const _0x46ee97=_0x32a484;return this[_0x46ee97(0x4b6)](_0x1bedf6)[_0x46ee97(0x4e2)][_0x733703];}[_0x32a484(0x368)](_0x5a5ff3,_0x28d609,_0x417b2b){const _0x24f3bf=_0x32a484;return this[_0x24f3bf(0x4b6)](_0x5a5ff3)[_0x24f3bf(0x368)](_0x28d609,_0x417b2b);}[_0x32a484(0x1e0)](_0x21a3b9,_0x436b53){const _0x5a6200=_0x32a484;let _0x5f5cbc=this['_model'][_0x5a6200(0x3fc)](_0x21a3b9);_0x5f5cbc||(_0x5f5cbc=new Map(),this['_model'][_0x5a6200(0x268)](_0x21a3b9,_0x5f5cbc));let _0x3598ab=_0x5f5cbc[_0x5a6200(0x3fc)](_0x436b53);return _0x3598ab||(_0x3598ab=new Map(),_0x5f5cbc[_0x5a6200(0x268)](_0x436b53,_0x3598ab)),_0x3598ab;}[_0x32a484(0x4e4)](_0x464fe7,_0x3bd6b9,_0x50b7e7,_0x3df664){const _0x2e9e87=_0x32a484;this[_0x2e9e87(0x1e0)](_0x464fe7,_0x3bd6b9)[_0x2e9e87(0x268)](_0x50b7e7,_0x3df664);}[_0x32a484(0x324)](_0x140b00,_0x42d9ba,_0x10d99d){const _0x65b81f=_0x32a484;var _0x1de08b,_0x2372c9,_0x2b2f07,_0xbdf00e;((_0x2372c9=(_0x1de08b=this[_0x65b81f(0x2e6)]['get'](_0x140b00))==null?void 0x0:_0x1de08b['get'](_0x42d9ba))==null?void 0x0:_0x2372c9[_0x65b81f(0x3fc)](_0x10d99d))&&((_0xbdf00e=(_0x2b2f07=this['_model']['get'](_0x140b00))==null?void 0x0:_0x2b2f07[_0x65b81f(0x3fc)](_0x42d9ba))==null||_0xbdf00e[_0x65b81f(0x3a9)](_0x10d99d));}['_updatePivotTableInstanceCache'](_0x37b01d,_0x4d539e){const _0x251838=_0x32a484;this[_0x251838(0x36f)][_0x251838(0x268)](_0x37b01d,_0x4d539e);}['_deletePivotTableInstanceCache'](_0x3523f8){const _0x2dbf8f=_0x32a484;this['_pivotTableInstanceCache'][_0x2dbf8f(0x3a9)](_0x3523f8);}['_ensureViewDataMap'](_0x361a41,_0x4161ed){const _0x32a370=_0x32a484;let _0x100a7e=this[_0x32a370(0x1d8)][_0x32a370(0x3fc)](_0x361a41);_0x100a7e||(_0x100a7e=new Map(),this[_0x32a370(0x1d8)][_0x32a370(0x268)](_0x361a41,_0x100a7e));let _0x496199=_0x100a7e[_0x32a370(0x3fc)](_0x4161ed);return _0x496199||(_0x496199=new Map(),_0x100a7e['set'](_0x4161ed,_0x496199)),_0x496199;}[_0x32a484(0x1fb)](_0xccbe40){const _0x2d73c0=_0x32a484,{unitId:_0x262963,subUnitId:_0x534369,pivotTableId:_0x2e6602,pivotTableConfig:_0x48f510,collectionConfig:_0x4d0ad2}=_0xccbe40,_0x4600b9={'unitId':_0x262963,'subUnitId':_0x534369,'oldSubUnitId':_0x534369,'pivotTableId':_0x2e6602,'pivotTableConfig':_0x48f510,'collectionConfig':_0x4d0ad2};this[_0x2d73c0(0x4cf)]['executeCommand'](_0x38a7b1['id'],_0x4600b9,{'onlyLocal':!0x0});}['updateView'](_0x484f8b,_0x173a59,_0x188ced,_0x1bdd80,_0x2def53,_0x143ff5,_0x19dddf,_0x365acf=!0x1){const _0x2f5ab5=_0x32a484;var _0x4dd6c0;this[_0x2f5ab5(0x4cf)][_0x2f5ab5(0x24f)](_0x444296['id'],{'single':{'unitId':_0x484f8b,'subUnitId':_0x173a59,'type':_0x188ced,'pivotTableId':_0x1bdd80,'view':_0x2def53,'pivotConfig':_0x143ff5},'collectionConfig':{[_0x484f8b]:_0x19dddf}},{'onlyLocal':!0x0});const _0x471ee2=!!((_0x4dd6c0=this[_0x2f5ab5(0x47b)](_0x1bdd80))!=null&&_0x4dd6c0[_0x2f5ab5(0x3fa)]()),_0x239874=this['getPivotTableConfig'](_0x484f8b,_0x173a59,_0x1bdd80);_0x239874&&this[_0x2f5ab5(0x320)]({'view':_0x2def53,'pivotTableId':_0x1bdd80,'textInfo':this[_0x2f5ab5(0x32e)](),'isEmpty':_0x471ee2,'targetCellInfo':_0x239874[_0x2f5ab5(0x412)]},_0x365acf);}[_0x32a484(0x320)](_0x413ed0,_0x440fe0){const _0x4a9eb9=_0x32a484,{targetCellInfo:_0x872c5b,pivotTableId:_0x307b31}=_0x413ed0,{unitId:_0x332f40,subUnitId:_0x17c2a4}=_0x872c5b,_0x596ad6=this[_0x4a9eb9(0x2a7)](_0x332f40,_0x17c2a4),_0x4844b7=_0x596ad6['get'](_0x307b31);let _0x1e622a,_0x2b58ff;_0x4844b7&&(_0x1e622a=_0x4844b7[_0x4a9eb9(0x49e)],_0x2b58ff=_0x4844b7[_0x4a9eb9(0x371)]);const {rangesCache:_0x294deb,matrix:_0xea51ab}=_0x3250d4(_0x413ed0);_0x596ad6[_0x4a9eb9(0x268)](_0x307b31,{'rangeCache':_0x294deb,'matrix':_0xea51ab,'oldMatrix':_0x2b58ff,'oldRangeCache':_0x1e622a}),_0x440fe0||this['_viewData$']['next']({'unitId':_0x332f40,'subUnitId':_0x17c2a4,'pivotTableId':_0x307b31});}[_0x32a484(0x30f)](_0x2e4a27,_0x5ddb0f,_0x315f64,_0x4747f6,_0x4f42fc){const _0xed4a97=_0x32a484;this[_0xed4a97(0x4e4)](_0x2e4a27,_0x5ddb0f,_0x315f64,_0x4f42fc),this[_0xed4a97(0x1f5)](_0x315f64,_0x4747f6);}['removePivotTable'](_0x10eb10,_0xdec7e4,_0x5c7bc2){const _0x17b38f=_0x32a484,_0x33620f=this[_0x17b38f(0x4b6)](_0x10eb10);_0x33620f[_0x17b38f(0x465)](_0x5c7bc2)[_0x17b38f(0x4c2)](_0x55cc1b=>{_0x33620f['deleteDataField'](_0x55cc1b);}),this[_0x17b38f(0x1fc)](_0x10eb10,_0x5c7bc2),this['_deleteModelCache'](_0x10eb10,_0xdec7e4,_0x5c7bc2),this['_deletePivotTableInstanceCache'](_0x5c7bc2);}[_0x32a484(0x292)](_0x10c927,_0x5f5547,_0x400a93,_0x47a38f){const _0x3205da=_0x32a484;this[_0x3205da(0x4e4)](_0x10c927,_0x5f5547,_0x400a93,_0x47a38f);}['getPivotTableConfig'](_0x37d7f4,_0x3c2a7a,_0x1fc0c8){const _0x377879=_0x32a484;var _0xc7f46e,_0x51221c;const _0x177140=(_0x51221c=(_0xc7f46e=this['_model'][_0x377879(0x3fc)](_0x37d7f4))==null?void 0x0:_0xc7f46e[_0x377879(0x3fc)](_0x3c2a7a))==null?void 0x0:_0x51221c[_0x377879(0x3fc)](_0x1fc0c8);if(_0x177140)return _0x177140;}['getPivotTableModelConfig'](_0x41c6dd,_0x195b82,_0xa098ee){const _0x4f9dc3=_0x32a484;var _0x26f44e,_0x1479b;const _0x54c852=(_0x1479b=(_0x26f44e=this['_model']['get'](_0x41c6dd))==null?void 0x0:_0x26f44e['get'](_0x195b82))==null?void 0x0:_0x1479b[_0x4f9dc3(0x3fc)](_0xa098ee);if(_0x54c852)return _0x54c852[_0x4f9dc3(0x481)];}[_0x32a484(0x47b)](_0x52077b){const _0x1f6bed=_0x32a484;return this[_0x1f6bed(0x36f)]['get'](_0x52077b);}[_0x32a484(0x4d8)](_0x27d8d1){const _0x10e31e=_0x32a484;this[_0x10e31e(0x2e6)][_0x10e31e(0x3a9)](_0x27d8d1);const _0x3b44b8=this[_0x10e31e(0x262)][_0x10e31e(0x3fc)](_0x27d8d1);_0x3b44b8&&(_0x3b44b8['dispose'](),this['_dataFieldManagerCollection']['delete'](_0x27d8d1)),this['_viewData']['delete'](_0x27d8d1),this[_0x10e31e(0x40d)][_0x10e31e(0x4c2)](_0xa6547d=>{const _0x4e60bc=_0x10e31e;_0xa6547d[_0x4e60bc(0x4d8)](_0x27d8d1);});}[_0x32a484(0x20b)](_0x15450e,_0x37f0b9,_0x2fcc60,_0x3f28a8){const _0x5f0231=_0x32a484;return this[_0x5f0231(0x4b6)](_0x2fcc60[_0x5f0231(0x211)])[_0x5f0231(0x20b)](_0x15450e,_0x37f0b9,_0x2fcc60,_0x3f28a8);}['createCollectionWithDataRange'](_0x5ad065){const _0x36fd0b=_0x32a484;return this[_0x36fd0b(0x4b6)](_0x5ad065['unitId'])[_0x36fd0b(0x2af)](_0x5ad065);}[_0x32a484(0x381)](_0x3a3e92,_0x55e8d2,_0xd739e4){const _0x409978=_0x32a484;this[_0x409978(0x4b6)](_0xd739e4[_0x409978(0x211)])[_0x409978(0x381)](_0x3a3e92,_0x55e8d2,_0xd739e4);}[_0x32a484(0x319)](_0x4e2830,_0x590a1a){const _0x508fae=_0x32a484;this[_0x508fae(0x4b6)](_0x4e2830)[_0x508fae(0x240)](_0x590a1a);}[_0x32a484(0x1fc)](_0x366aae,_0xd24c46){const _0x54fa0a=_0x32a484;this['getDataFieldManager'](_0x366aae)[_0x54fa0a(0x35c)](_0xd24c46);}[_0x32a484(0x40b)](_0x1d68a3,_0x3ebfcf){const _0x5c7c23=_0x32a484;var _0x76809a;return(_0x76809a=this[_0x5c7c23(0x2e6)][_0x5c7c23(0x3fc)](_0x1d68a3))==null?void 0x0:_0x76809a[_0x5c7c23(0x3fc)](_0x3ebfcf);}[_0x32a484(0x4aa)](_0x42ca40){const _0x3cdf1b=_0x32a484;for(const [_0x8bc00d,_0x4e0da0]of this[_0x3cdf1b(0x2e6)][_0x3cdf1b(0x408)]())for(const [_0x4b9417,_0x1caea8]of _0x4e0da0[_0x3cdf1b(0x408)]())if(_0x1caea8[_0x3cdf1b(0x290)](_0x42ca40))return{'unitId':_0x8bc00d,'subUnitId':_0x4b9417};return null;}['sideEffectUpdateWorkerCache'](_0x26d926,_0x17be9d,_0x1cd055,_0x1c5e35){const _0x3fe6d7=_0x32a484,_0x25bf4c=this[_0x3fe6d7(0x2a7)](_0x26d926,_0x17be9d);_0x1c5e35?_0x25bf4c['set'](_0x1cd055,_0x1c5e35):_0x25bf4c['delete'](_0x1cd055),this[_0x3fe6d7(0x455)]['next']({'unitId':_0x26d926,'subUnitId':_0x17be9d,'pivotTableId':_0x1cd055});}['dispose'](){const _0x135474=_0x32a484;super[_0x135474(0x366)]();}[_0x32a484(0x469)](_0x540787,_0x4ed1df,_0x5bc4d6){const _0x33aec5=_0x32a484;var _0x448863,_0x273028;const _0x9c9fb=(_0x273028=(_0x448863=this[_0x33aec5(0x1d8)]['get'](_0x540787))==null?void 0x0:_0x448863[_0x33aec5(0x3fc)](_0x4ed1df))==null?void 0x0:_0x273028[_0x33aec5(0x3fc)](_0x5bc4d6);return _0x9c9fb||null;}[_0x32a484(0x272)](_0x14d398){const _0x4dd5b1=_0x32a484;this[_0x4dd5b1(0x3e9)](_0x14d398);}['updateDirtyPivotTable'](_0x55ecef){const _0x2c758d=_0x32a484,{token:_0x4aa72b,unitId:_0xd78bed,subUnitId:_0x253b4f}=_0x55ecef,_0x33025b=_0xd78bed+'-'+_0x253b4f+'-'+_0x4aa72b;this[_0x2c758d(0x35f)]['get'](_0x33025b)&&clearTimeout(this['_queryingMap'][_0x2c758d(0x3fc)](_0x33025b));const _0x1fde46=setTimeout(()=>{const _0x168edb=_0x2c758d;this[_0x168edb(0x4cb)](_0x55ecef),this[_0x168edb(0x35f)][_0x168edb(0x3a9)](_0x33025b);},_0x3b3d22);this[_0x2c758d(0x35f)][_0x2c758d(0x268)](_0x33025b,_0x1fde46);}[_0x32a484(0x4cb)](_0x4792c2){const _0x57ed93=_0x32a484,{unitId:_0x3df796,subUnitId:_0x28605d,token:_0x331f25,type:_0x4d2d2a,pivotConfig:_0xf8eafb}=_0x4792c2,_0x295744=this[_0x57ed93(0x47b)](_0x331f25),_0x1e77fd=_0x295744==null?void 0x0:_0x295744[_0x57ed93(0x341)](),_0x4fe423=_0xf8eafb!=null?_0xf8eafb:this[_0x57ed93(0x2e9)](_0x3df796,_0x28605d,_0x331f25);_0x4fe423&&(_0x4fe423['isEmpty']=!!(_0x295744!=null&&_0x295744['isEmpty']())),(_0x1e77fd||_0x4d2d2a===_0x477731['Delete'])&&this[_0x57ed93(0x239)](_0x3df796,_0x28605d,_0x4d2d2a,_0x331f25,_0x1e77fd,_0x4fe423,this[_0x57ed93(0x4b6)](_0x3df796)['toJSON']());}[_0x32a484(0x4ab)](_0x25207a){const _0x281e00=_0x32a484,_0x201d09={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x281e00(0x4b6)](_0x25207a)&&(_0x201d09[_0x281e00(0x300)][_0x25207a]=this[_0x281e00(0x4b6)](_0x25207a)[_0x281e00(0x4ab)]()),this[_0x281e00(0x2e6)][_0x281e00(0x3fc)](_0x25207a)){_0x201d09[_0x281e00(0x2fd)][_0x25207a]={};const _0x438f3a=this['_model'][_0x281e00(0x3fc)](_0x25207a);_0x438f3a!=null&&_0x438f3a[_0x281e00(0x40c)]&&[..._0x438f3a['keys']()]['forEach'](_0x4d97d9=>{const _0x12f84c=_0x281e00,_0x1f676=_0x438f3a[_0x12f84c(0x3fc)](_0x4d97d9);_0x1f676!=null&&_0x1f676[_0x12f84c(0x40c)]&&(_0x201d09[_0x12f84c(0x2fd)][_0x25207a][_0x4d97d9]={},[..._0x1f676[_0x12f84c(0x31e)]()][_0x12f84c(0x4c2)](_0x45792c=>{const _0x1dcd6f=_0x12f84c,_0x141177=_0x1f676[_0x1dcd6f(0x3fc)](_0x45792c);_0x141177&&(_0x201d09['pivotTableConfigs'][_0x25207a][_0x4d97d9][_0x45792c]=_0x141177);}));});}return _0x201d09;}[_0x32a484(0x232)](_0x554c2b){const _0x494a4b=_0x32a484;var _0x4f0a40;const {dataFieldManagerConfig:_0x36c561,pivotTableConfigs:_0x23285e}=_0x554c2b;_0x36c561&&Object['keys'](_0x36c561)[_0x494a4b(0x4c2)](_0x36134e=>{const _0x20ee81=_0x494a4b;this[_0x20ee81(0x4b6)](_0x36134e)[_0x20ee81(0x232)](_0x36c561[_0x36134e]);});const _0x1a9a35=[];if(_0x23285e){const _0x287a54=(_0x4f0a40=this[_0x494a4b(0x42f)][_0x494a4b(0x3fc)](_0x2fa876['IConfigService'])['getConfig'](_0x4baa44[_0x494a4b(0x3fe)]))!=null?_0x4f0a40:{},{ls:_0x2eecd1,pbk:_0x1642ee}=_0x287a54,_0x484d78=_0x2d207d(_0x1c1f87,_0x2eecd1,_0x1642ee)[_0x494a4b(0x3cd)];Object[_0x494a4b(0x31e)](_0x23285e)[_0x494a4b(0x4c2)](_0x50112c=>{const _0x159790=_0x494a4b;let _0x5de08b=0x0;const _0x52148f=_0x23285e[_0x50112c];Object[_0x159790(0x31e)](_0x52148f)[_0x159790(0x4c2)](_0x152b5c=>{const _0x3fd61d=_0x159790,_0x577c5b=_0x52148f[_0x152b5c];Object[_0x3fd61d(0x31e)](_0x577c5b)[_0x3fd61d(0x4c2)](_0x1183c0=>{const _0xa16c68=_0x3fd61d,_0x1eb733=_0x577c5b[_0x1183c0];if(_0x1eb733){if(_0x5de08b>=_0x484d78)return;_0x5de08b++;const _0x43e699=this[_0xa16c68(0x4b6)](_0x50112c),_0x4dddcf=_0x43e699[_0xa16c68(0x4e2)][_0x1183c0],_0x316247=_0x4dddcf[_0xa16c68(0x29d)]();let _0x22477a=0x0;const _0x362087=[];for(const _0x446358 of _0x316247){const _0x47f764=_0x4dddcf[_0xa16c68(0x4a9)](_0x446358);if(_0x33417a[_0xa16c68(0x372)](_0x47f764)){const _0x3d8b2d=_0x47f764[_0xa16c68(0x45a)](),_0x5a3036=_0x4dddcf[_0xa16c68(0x4a9)](_0x3d8b2d);_0x5a3036&&_0x362087[_0xa16c68(0x296)]([_0x47f764,_0x5a3036]);continue;}_0x43e699['refreshDataField'](_0x446358,_0x1eb733[_0xa16c68(0x218)],_0x22477a),_0x22477a++;}_0x362087[_0xa16c68(0x4c2)](([_0x415cc6,_0x2138ee])=>{const _0x1b09c5=_0xa16c68;_0x415cc6[_0x1b09c5(0x4bb)](_0x2138ee);});const _0x51e4a7=new _0x33417a[(_0xa16c68(0x28e))](_0x4dddcf);_0x51e4a7[_0xa16c68(0x232)](_0x1eb733['fieldsConfig']),this[_0xa16c68(0x30f)](_0x50112c,_0x152b5c,_0x1183c0,_0x51e4a7,_0x1eb733);const _0x33c918=_0x51e4a7[_0xa16c68(0x341)]();_0x1a9a35[_0xa16c68(0x296)]({'unitId':_0x50112c,'subUnitId':_0x152b5c,'pivotTableId':_0x1183c0,'view':_0x33c918['toJSON'](),'pivotConfig':_0x1eb733,'type':_0x477731[_0xa16c68(0x401)]});const _0x45dadd=!!_0x51e4a7['isEmpty'](),_0x3de820={'view':_0x33c918,'pivotTableId':_0x1183c0,'textInfo':this[_0xa16c68(0x32e)](),'isEmpty':_0x45dadd,'targetCellInfo':_0x1eb733[_0xa16c68(0x412)]};this[_0xa16c68(0x320)](_0x3de820,!0x1);}});});});}_0x36c561&&Object[_0x494a4b(0x31e)](_0x36c561)['forEach'](_0x221f9c=>{const _0x28ad37=_0x494a4b,_0x4504e8=this[_0x28ad37(0x4b6)](_0x221f9c);this[_0x28ad37(0x429)][_0x28ad37(0x451)](_0x4504e8[_0x28ad37(0x4e2)]);}),this[_0x494a4b(0x4cf)][_0x494a4b(0x24f)](_0x444296['id'],{'batch':_0x1a9a35,'collectionConfig':_0x36c561},{'onlyLocal':!0x0});}[_0x32a484(0x2e8)](){const _0x45e9ab=_0x32a484;this['disposeWithMe'](this['_resourceManagerService'][_0x45e9ab(0x230)]({'toJson':_0x482201=>JSON[_0x45e9ab(0x277)](this[_0x45e9ab(0x4ab)](_0x482201)),'parseJson':_0x2c27bb=>{const _0x184612=_0x45e9ab;if(!_0x2c27bb)return{};try{return JSON[_0x184612(0x496)](_0x2c27bb);}catch{return{};}},'businesses':[_0x2fa876['UniverInstanceType']['UNIVER_SHEET']],'pluginName':_0x1a68df,'onLoad':(_0x236109,_0x38f78b)=>{this['fromJSON'](_0x38f78b);},'onUnLoad':_0x17662b=>{const _0x456c81=_0x45e9ab;this[_0x456c81(0x4d8)](_0x17662b);}}));}},_0xd0af73[_0x32a484(0x255)]=_0x118bd2([_0x2025cf(0x0,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x304)])),_0x2025cf(0x1,_0x2fa876['IUniverInstanceService']),_0x2025cf(0x2,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x479)])),_0x2025cf(0x3,_0x2fa876[_0x32a484(0x41b)]),_0x2025cf(0x4,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x2da)]))],_0xd0af73['SheetsPivotDataSourceModel']);const _0x275b40={0x0:{0x0:{'v':'filter','s':_0x395c60}},0x2:{0x1:{'v':'','s':_0x395c60},0x2:{'v':'','s':_0x395c60},0x3:{'v':_0x32a484(0x425),'s':_0x395c60},0x4:{'v':'','s':_0x395c60},0x5:{'v':'','s':_0x395c60}},0x3:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0x4:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0x5:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0x6:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0x7:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0x8:{0x0:{'v':'row','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'values','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0x9:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0xa:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0xb:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0xc:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}},0xd:{0x0:{'v':'','s':_0x395c60},0x1:{'v':'','s':_0x3dc219},0x2:{'v':'','s':_0x3dc219},0x3:{'v':'','s':_0x3dc219},0x4:{'v':'','s':_0x3dc219},0x5:{'v':'','s':_0x3dc219}}},_0x540dbd={'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':[]},_0x170d7b=(_0x52dcf5,_0xbe6812)=>{const _0x44a73c=_0x32a484,_0x3a8370=new _0x2fa876[(_0x44a73c(0x48a))](),_0x32badd=new _0x2fa876[(_0x44a73c(0x48a))](_0x275b40),{row:_0x157556,col:_0x5552eb}=_0xbe6812;_0x32badd['forValue']((_0x279d98,_0x291513,_0x4308df)=>{const _0x111b5d=_0x44a73c;let _0x1569eb='';_0x4308df['v']===_0x111b5d(0x2c6)?_0x1569eb=_0x52dcf5[_0x111b5d(0x2c6)]:_0x4308df['v']===_0x111b5d(0x213)?_0x1569eb=_0x52dcf5['row']:_0x4308df['v']===_0x111b5d(0x425)?_0x1569eb=_0x52dcf5[_0x111b5d(0x425)]:_0x4308df['v']===_0x111b5d(0x1e7)&&(_0x1569eb=_0x52dcf5['values']),_0x3a8370['setValue'](_0x279d98+_0x157556,_0x291513+_0x5552eb,{..._0x4308df,'v':_0x1569eb});});const _0x2f4a19=_0x2fa876['Tools'][_0x44a73c(0x2a4)](_0x540dbd);return Object[_0x44a73c(0x31e)](_0x540dbd)[_0x44a73c(0x4c2)](_0x5eff36=>{const _0x21edb1=_0x44a73c;_0x2f4a19[_0x5eff36]=_0x540dbd[_0x5eff36][_0x21edb1(0x2a0)](_0x1653b2=>({..._0x1653b2,'startRow':_0x1653b2[_0x21edb1(0x340)]+_0x157556,'endRow':_0x1653b2[_0x21edb1(0x2d0)]+_0x157556,'startColumn':_0x1653b2['startColumn']+_0x5552eb,'endColumn':_0x1653b2[_0x21edb1(0x315)]+_0x5552eb}));}),{'matrixCache':_0x3a8370,'rangesCache':_0x2f4a19};};function _0x232a20(_0x31a50e,_0x1fb248){const _0x55e699=_0x32a484;let _0x338617='';const _0x4bd380=this[_0x55e699(0x32e)]();switch(_0x1fb248){case _0x33417a[_0x55e699(0x4bc)][_0x55e699(0x3ff)]:_0x338617=_0x4bd380[_0x55e699(0x2ad)]+_0x31a50e;break;case _0x33417a['PivotSubtotalTypeEnum'][_0x55e699(0x3cd)]:_0x338617=_0x4bd380['sheets-pivot.countName']+_0x31a50e;break;case _0x33417a['PivotSubtotalTypeEnum'][_0x55e699(0x2b1)]:_0x338617=_0x4bd380[_0x55e699(0x38c)]+_0x31a50e;break;case _0x33417a['PivotSubtotalTypeEnum'][_0x55e699(0x1f9)]:_0x338617=_0x4bd380['sheets-pivot.maxName']+_0x31a50e;break;case _0x33417a[_0x55e699(0x4bc)][_0x55e699(0x20e)]:_0x338617=_0x4bd380[_0x55e699(0x1ea)]+_0x31a50e;break;case _0x33417a[_0x55e699(0x4bc)]['product']:_0x338617=_0x4bd380[_0x55e699(0x270)]+_0x31a50e;break;case _0x33417a[_0x55e699(0x4bc)]['stdDev']:_0x338617=_0x4bd380[_0x55e699(0x3ab)]+_0x31a50e;break;case _0x33417a['PivotSubtotalTypeEnum'][_0x55e699(0x37d)]:_0x338617=_0x4bd380[_0x55e699(0x402)]+_0x31a50e;break;case _0x33417a[_0x55e699(0x4bc)][_0x55e699(0x1e9)]:_0x338617=_0x4bd380[_0x55e699(0x417)]+_0x31a50e;break;case _0x33417a['PivotSubtotalTypeEnum'][_0x55e699(0x269)]:_0x338617=_0x4bd380[_0x55e699(0x380)]+_0x31a50e;break;case _0x33417a[_0x55e699(0x4bc)][_0x55e699(0x1d5)]:_0x338617=_0x4bd380[_0x55e699(0x362)]+_0x31a50e;break;default:_0x338617=_0x31a50e;break;}return _0x338617;}function _0x5894c7(_0x1c3f69,_0x2b9884,_0x489a6d,_0xdea5ac,_0x557ebc){const _0x1f68c1=_0x32a484;var _0x4eaa9a,_0x3f3f35,_0x30d5b1,_0x394a70,_0x5d4851;const _0x2cbb8a=_0x2fa876['cellToRange'](_0x1c3f69,_0x2b9884),{rangesInfo:_0x541bbe,areaInfo:_0x4e4948,headerMap:_0x5a4abc}=_0x557ebc;if(!_0x541bbe||!_0x4e4948||!_0x5a4abc)return;const _0x3f6a0a=Object[_0x1f68c1(0x31e)](_0x541bbe)['find'](_0x50b6a8=>_0x541bbe[_0x50b6a8][_0x1f68c1(0x26a)](_0x3c5441=>_0x2fa876[_0x1f68c1(0x3b2)][_0x1f68c1(0x24d)](_0x3c5441,_0x2cbb8a))),_0x4c60c1=_0x4e4948;let _0x5b7475,_0x4fc4f8,_0x5f094d;if(_0x3f6a0a===_0x1f68c1(0x22a))_0x5b7475=(_0x4eaa9a=_0x4c60c1==null?void 0x0:_0x4c60c1[_0x1f68c1(0x276)])==null?void 0x0:_0x4eaa9a[_0x1c3f69],_0x4fc4f8=(_0x3f3f35=_0x5a4abc==null?void 0x0:_0x5a4abc['rowHeaderMap'])==null?void 0x0:_0x3f3f35[_0x2b9884],_0x5f094d=_0x4fc4f8==null?void 0x0:_0x4fc4f8[_0x1f68c1(0x407)];else{if(_0x3f6a0a===_0x1f68c1(0x237))_0x5b7475=(_0x30d5b1=_0x4c60c1==null?void 0x0:_0x4c60c1[_0x1f68c1(0x1eb)])==null?void 0x0:_0x30d5b1[_0x2b9884],_0x4fc4f8=(_0x394a70=_0x5a4abc[_0x1f68c1(0x22c)])==null?void 0x0:_0x394a70[_0x1c3f69+0x1+_0x2b9884-_0x541bbe['colRanges'][0x0]['startColumn']],_0x5f094d=_0x4fc4f8==null?void 0x0:_0x4fc4f8[_0x1f68c1(0x407)];else{if(_0x3f6a0a===_0x1f68c1(0x3f5))_0x5b7475=(_0x5d4851=_0x4c60c1==null?void 0x0:_0x4c60c1[_0x1f68c1(0x459)])==null?void 0x0:_0x5d4851[_0x2b9884],_0x5f094d=_0x5b7475==null?void 0x0:_0x5b7475[_0x1f68c1(0x407)];else{if(_0x3f6a0a===_0x1f68c1(0x31f)){const _0x58583d=_0x489a6d==null?void 0x0:_0x489a6d['fi'];_0x58583d!==void 0x0&&(_0x5f094d=_0xdea5ac[_0x1f68c1(0x3c5)](_0x58583d));}}}}return{'filterId':_0x5f094d,'info':_0x5b7475,'data':_0x489a6d,'headerInfo':_0x4fc4f8};}function _0x4dd84c(_0x57c9c2,_0x2a343e,_0x59a4ce){const _0x358a07=_0x32a484,_0x34d269=_0x57c9c2['dataFieldsCollection'],_0x4bf365=_0x34d269[_0x358a07(0x29d)](),_0x391efe=new Set();_0x57c9c2[_0x358a07(0x293)](_0x56b9dc=>{const _0xf5ec3a=_0x358a07;_0x391efe['add'](_0x56b9dc[_0xf5ec3a(0x422)]);});const _0x4064fc=_0x4bf365[_0x358a07(0x2a0)](_0x160c51=>{const _0x345810=_0x358a07,_0x6ab287=_0x34d269[_0x345810(0x4a9)](_0x160c51);return{'checked':_0x391efe[_0x345810(0x290)](_0x160c51),'dataFieldId':_0x6ab287['id'],'id':_0x6ab287['id'],'name':_0x34d269['getDisplayName'](_0x6ab287['id']),'type':_0x6ab287[_0x345810(0x2b4)](),'pivotTableId':_0x2a343e};}),_0x4ce6b8=[];_0x57c9c2[_0x358a07(0x1f4)](_0x33417a[_0x358a07(0x321)][_0x358a07(0x349)],_0x1beb3f=>{const _0x16f761=_0x358a07;_0x4ce6b8['push']({'dataFieldId':_0x1beb3f['dataFieldId'],'tableFieldId':_0x1beb3f[_0x16f761(0x244)](),'displayName':_0x1beb3f[_0x16f761(0x2b3)]()});});const _0x106848=[];_0x57c9c2[_0x358a07(0x1f4)](_0x33417a[_0x358a07(0x321)][_0x358a07(0x1d6)],_0x105dca=>{const _0x52c837=_0x358a07;_0x106848[_0x52c837(0x296)]({'dataFieldId':_0x105dca['dataFieldId'],'tableFieldId':_0x105dca[_0x52c837(0x244)](),'displayName':_0x105dca[_0x52c837(0x2b3)]()});});const _0x3869e7=[];if(_0x57c9c2[_0x358a07(0x1f4)](_0x33417a[_0x358a07(0x321)][_0x358a07(0x4a5)],_0x53cb74=>{const _0x5ec751=_0x358a07;_0x3869e7['push']({'dataFieldId':_0x53cb74[_0x5ec751(0x422)],'tableFieldId':_0x53cb74[_0x5ec751(0x244)](),'displayName':_0x53cb74[_0x5ec751(0x2b3)](),'format':_0x53cb74[_0x5ec751(0x1ec)](),'subTotalType':_0x53cb74[_0x5ec751(0x423)]()});}),_0x3869e7[_0x358a07(0x249)]>0x1){const _0x3e1457=_0x57c9c2[_0x358a07(0x1df)]();(_0x57c9c2['isColMultiMeasure']()?_0x106848:_0x4ce6b8)['splice'](_0x3e1457,0x0,{'dataFieldId':'','tableFieldId':_0x358a07(0x2f8),'displayName':_0x358a07(0x445)});}const _0x32d5a2=[];_0x57c9c2[_0x358a07(0x1f4)](_0x33417a['PivotTableFiledAreaEnum'][_0x358a07(0x3d0)],_0x1cbd20=>{const _0x7bc76b=_0x358a07;_0x32d5a2['push']({'dataFieldId':_0x1cbd20[_0x7bc76b(0x422)],'tableFieldId':_0x1cbd20[_0x7bc76b(0x244)](),'displayName':_0x1cbd20[_0x7bc76b(0x2b3)]()});});const _0x3ebf48=_0x59a4ce[_0x358a07(0x218)];return{'sourceList':_0x4064fc,'sourceRange':_0x3ebf48,'rowFields':_0x4ce6b8,'columnFields':_0x106848,'valueFields':_0x3869e7,'filterFields':_0x32d5a2,'positionInfo':_0x59a4ce['targetCellInfo']};}function _0x463464(_0x4f031d,_0x3e35ba,_0x132ee8='',_0x149022={}){const _0xffc07a=_0x32a484,_0x2f7e6e=_0x4f031d[_0xffc07a(0x3fc)](_0x2fa876[_0xffc07a(0x3d2)]);for(const _0x485941 in _0x3e35ba)if(Object[_0xffc07a(0x2a6)]['hasOwnProperty'][_0xffc07a(0x4b8)](_0x3e35ba,_0x485941)){const _0x1bd6a9=_0x132ee8?_0x132ee8+'.'+_0x485941:_0x485941;typeof _0x3e35ba[_0x485941]=='object'&&_0x3e35ba[_0x485941]!==null&&!Array[_0xffc07a(0x435)](_0x3e35ba[_0x485941])?_0x463464(_0x4f031d,_0x3e35ba[_0x485941],_0x1bd6a9,_0x149022):_0x149022[_0x1bd6a9]=_0x2f7e6e['t'](_0x1bd6a9);}return _0x149022;}const _0x3fcd7b=_0x1a0161=>{const _0x329945=_0x32a484;if(!_0x1a0161)return[];const {rowRanges:_0x396828,colRanges:_0x3c2f30,cornerRanges:_0x2468da,dataRanges:_0x18c91d,pageRanges:_0x130131}=_0x1a0161,_0x30e98e=[..._0x3c2f30,..._0x396828,..._0x18c91d,..._0x2468da]['filter'](_0x787ffd=>_0x787ffd[_0x329945(0x340)]>=0x0&&_0x787ffd[_0x329945(0x3e4)]>=0x0&&_0x787ffd[_0x329945(0x2d0)]>=0x0&&_0x787ffd[_0x329945(0x315)]>=0x0);let _0x2a7168=Number[_0x329945(0x258)],_0x393958=Number[_0x329945(0x45e)],_0x2e0d44=Number[_0x329945(0x258)],_0x3d7ea7=Number[_0x329945(0x45e)];for(let _0x35854a=0x0;_0x35854a<_0x30e98e[_0x329945(0x249)];_0x35854a++)_0x2a7168=Math[_0x329945(0x20e)](_0x2a7168,_0x30e98e[_0x35854a][_0x329945(0x340)]),_0x393958=Math[_0x329945(0x1f9)](_0x393958,_0x30e98e[_0x35854a]['endRow']),_0x2e0d44=Math[_0x329945(0x20e)](_0x2e0d44,_0x30e98e[_0x35854a]['startColumn']),_0x3d7ea7=Math[_0x329945(0x1f9)](_0x3d7ea7,_0x30e98e[_0x35854a][_0x329945(0x315)]);return[..._0x130131,{'startRow':_0x2a7168,'endRow':_0x393958,'startColumn':_0x2e0d44,'endColumn':_0x3d7ea7}];};function _0x7fbd45(_0x38572a,_0x1bd4cb){const _0x4ab03f=_0x32a484,_0xdd9909=_0x1bd4cb[_0x4ab03f(0x3ca)][_0x4ab03f(0x442)],{pivotTableId:_0x503a77,unitId:_0x3595b7,subUnitId:_0x43cd11}=_0x1bd4cb;if(!_0xdd9909)return;const _0x43fe48=_0x38572a[_0x4ab03f(0x3fc)](_0xd0af73[_0x4ab03f(0x255)]),_0xe4fee8=_0x43fe48[_0x4ab03f(0x47b)](_0x503a77),_0x17b371=_0x43fe48['getPivotTableConfig'](_0x3595b7,_0x43cd11,_0x503a77);if(!_0xe4fee8||!_0x17b371)return;const _0x28a134=_0xe4fee8[_0x4ab03f(0x4b2)](_0xdd9909[_0x4ab03f(0x43b)]);if(!(_0x28a134!=null&&_0x28a134[_0x4ab03f(0x249)]))return;const _0x41057b=_0x17b371['sourceRangeInfo'],{unitId:_0x29da9b,subUnitId:_0x782bd7,range:_0x874959}=_0x41057b;let _0x378736=0x0;const _0x1506c6=_0xe4fee8[_0x4ab03f(0x360)]['getFieldIds']()['reduce']((_0x28cbed,_0x30169a)=>{const _0x4bccd8=_0x4ab03f;var _0x3a2b3d;const _0xb7716f=(_0x3a2b3d=_0xe4fee8['getDataFieldByDataFieldId'](_0x30169a))==null?void 0x0:_0x3a2b3d[_0x4bccd8(0x233)]();return _0xb7716f&&(_0x28cbed[String(_0x378736)]=_0xb7716f),_0x378736++,_0x28cbed;},{});return{'indexes':_0x28a134,'range':_0x874959,'sourceUnitId':_0x29da9b,'sourceSubUnitId':_0x782bd7,'formatMap':_0x1506c6};}function _0x63db07(_0x4e8094,_0x472ff7){const _0x414861=_0x32a484;if(!_0x4e8094||!_0x472ff7)return!0x0;const _0x5984f9=_0x4baa44[_0x414861(0x3ad)](_0x434851,_0x271cb0),_0x3c59eb=new Function('return\x20'+_0x5984f9)()(_0x4e8094,_0x472ff7)[_0x414861(0x20d)],_0x4575ff=_0x4baa44[_0x414861(0x1fe)](_0x3c59eb,'sf',_0x3e9237);return!((_0x3c59eb==null?void 0x0:_0x3c59eb['rt'])===_0x4baa44[_0x414861(0x337)][_0x414861(0x4d1)]&&!_0x4575ff);}function _0x2d207d(_0x11d96d,_0x35c0d5,_0x3bf4a7){const _0x31421c=_0x32a484,_0x1eedb3={'count':_0x11d96d,'timeValid':!0x1};if(!_0x35c0d5||!_0x3bf4a7)return _0x1eedb3;const _0x26e7af=_0x4baa44[_0x31421c(0x3ad)](_0x434851,_0x271cb0),_0x3fd94a=new Function(_0x31421c(0x47c)+_0x26e7af)()(_0x35c0d5,_0x3bf4a7);if(_0x3fd94a!=null&&_0x3fd94a[_0x31421c(0x450)]){const _0x120dfa=_0x3fd94a['message'],_0x2bbf38=_0x4baa44['isFeatureAuthorizedWithinTime'](_0x120dfa,'sf',_0x3e9237);return{'count':_0x4baa44[_0x31421c(0x477)](_0x120dfa,_0x2bbf38,_0x31421c(0x3b3),_0x11d96d,_0x11d96d,0x0),'timeValid':_0x2bbf38};}return _0x1eedb3;}function _0x10af34(_0x52b90f,_0x894027,_0x21970b,_0x19b327){const _0x468b52=_0x32a484,_0x342566={'subUnitId':_0x21970b,'unitId':_0x894027,'cellValue':_0x30840c[_0x468b52(0x3e8)](_0x19b327)},_0x12c9fb=_0x30840c[_0x468b52(0x274)](_0x52b90f,_0x342566);let _0x21ee8b=!0x1;return new _0x2fa876['ObjectMatrix'](_0x12c9fb['cellValue'])['forValue']((_0x98e52e,_0x120fbd,_0x450ca0)=>{const _0x363f5e=_0x468b52;if(!_0x21ee8b&&_0x450ca0&&(_0x450ca0[_0x363f5e(0x202)]||_0x450ca0['f']||_0x450ca0['p']||_0x450ca0['s']||_0x450ca0['si']||_0x450ca0['t']||_0x450ca0['v']))return _0x21ee8b=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x30840c[_0x468b52(0x35d)]['id'],'params':_0x12c9fb},'setRangeValueRedoMutation':{'id':_0x30840c['SetRangeValuesMutation']['id'],'params':_0x342566},'shouldClear':_0x21ee8b};}function _0xee0526(_0x3af62f){const {row:_0x18363c,col:_0x323111}=_0x3af62f,_0x4063a9={'startRow':_0x18363c,'endRow':_0x18363c,'startColumn':_0x323111,'endColumn':_0x323111},_0x5a4d04={'startRow':_0x18363c+0x2,'endRow':_0x18363c+0xe,'startColumn':_0x323111,'endColumn':_0x323111+0x6};return[_0x4063a9,_0x5a4d04];}function _0x32fd11(_0x13ac77,_0x5db7b9,_0xf08344){const _0x3e1137=_0x32a484,{cornerView:_0x8f8005,rowView:_0x3e8ec9,colView:_0x1abeb4,pageView:_0x11ccf4}=_0x13ac77,{row:_0x2c3c5f,col:_0xc38a11}=_0x5db7b9;if(_0xf08344)return{'rowCount':_0x4716f3+_0x2c3c5f,'colCount':_0x287724+_0xc38a11};const _0xfe5604=_0x11ccf4[_0x3e1137(0x427)]>-0x1?_0x11ccf4[_0x3e1137(0x427)]+0x1:0x0,_0x51f862=_0x11ccf4[_0x3e1137(0x3f3)]>-0x1?_0x11ccf4[_0x3e1137(0x3f3)]:0x0,_0x1a7dbb=_0x2c3c5f+_0xfe5604+(_0xfe5604?0x1:0x0)+_0x8f8005[_0x3e1137(0x3c9)]+_0x3e8ec9['rowCount'],_0x45badd=_0xc38a11+_0x51f862,_0x4c186f=_0xc38a11+_0x8f8005[_0x3e1137(0x295)]+_0x1abeb4[_0x3e1137(0x295)],_0x5b5f50=Math['max'](_0x45badd,_0x4c186f);return{'rowCount':_0x1a7dbb,'colCount':_0x5b5f50};}function _0x36c3d6(_0x3dee46,_0x5cf352,_0x1831d2,_0x476194){const _0x1c6f82=_0x32a484,{row:_0x253f05,col:_0x3a1f47,unitId:_0x26cd2b,subUnitId:_0x61900}=_0x1831d2,_0x350350=_0x32fd11(_0x5cf352,{'row':_0x253f05,'col':_0x3a1f47},_0x476194),_0x4106b8=_0x3dee46[_0x1c6f82(0x3fc)](_0x2fa876[_0x1c6f82(0x361)]),_0x24074b=_0x30840c[_0x1c6f82(0x279)](_0x4106b8,{'unitId':_0x26cd2b,'subUnitId':_0x61900}),_0x149598=[],_0x15f4f0=[];if(!_0x24074b)return{'undos':_0x15f4f0,'redos':_0x149598};const {worksheet:_0x47c12e}=_0x24074b,_0x15bf82=_0x47c12e[_0x1c6f82(0x4b4)](),_0x1a18fd=_0x47c12e[_0x1c6f82(0x485)]();return _0x15bf82<_0x350350[_0x1c6f82(0x3c9)]&&(_0x149598['push']({'id':_0x30840c['InsertRowMutation']['id'],'params':{'unitId':_0x26cd2b,'subUnitId':_0x61900,'range':{'startRow':_0x15bf82,'endRow':_0x350350[_0x1c6f82(0x3c9)]-0x1,'startColumn':0x0,'endColumn':_0x1a18fd-0x1}}}),_0x15f4f0[_0x1c6f82(0x296)]({'id':_0x30840c[_0x1c6f82(0x434)]['id'],'params':{'unitId':_0x26cd2b,'subUnitId':_0x61900,'range':{'startRow':_0x15bf82,'endRow':_0x350350['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x1a18fd-0x1}}})),_0x1a18fd<_0x350350[_0x1c6f82(0x295)]&&(_0x149598['push']({'id':_0x30840c[_0x1c6f82(0x4c5)]['id'],'params':{'unitId':_0x26cd2b,'subUnitId':_0x61900,'range':{'startRow':0x0,'endRow':_0x15bf82-0x1,'startColumn':_0x1a18fd,'endColumn':_0x350350[_0x1c6f82(0x295)]-0x1}}}),_0x15f4f0[_0x1c6f82(0x296)]({'id':_0x30840c[_0x1c6f82(0x35a)]['id'],'params':{'unitId':_0x26cd2b,'subUnitId':_0x61900,'range':{'startRow':0x0,'endRow':_0x15bf82-0x1,'startColumn':_0x1a18fd,'endColumn':_0x350350[_0x1c6f82(0x295)]-0x1}}})),{'undos':_0x15f4f0,'redos':_0x149598};}function _0x34bbc2(_0x4b632b){const _0x553802=_0x32a484;let _0x574caa=0x0;for(let _0x4913cf=0x0;_0x4913cf<_0x4b632b[_0x553802(0x249)];_0x4913cf++){const _0x54c0c7=_0x4b632b[_0x553802(0x285)](_0x4913cf);_0x54c0c7>=0x4e00&&_0x54c0c7<=0x9fff||_0x54c0c7>=0x3000&&_0x54c0c7<=0x303f||_0x54c0c7>=0xff00&&_0x54c0c7<=0xffef?_0x574caa+=0x2:_0x574caa+=0x1;}return _0x574caa;}function _0x2326eb(_0x58a56d,_0x57b1cb,_0x15ab44,_0x3283d3){const _0xe0b058=_0x32a484;var _0x348287,_0x189640,_0x2cb4ad,_0x462016;const {rowCount:_0x383469,colCount:_0x3fbb3e,headerMap:_0x480d5c}=_0x58a56d,_0x19fbd1=0x64,_0x1e5d51=Math[_0xe0b058(0x20e)](_0x383469,_0x19fbd1),_0x4e44fb=Math[_0xe0b058(0x20e)](_0x3fbb3e,_0x19fbd1);let _0x15eed8='',_0x422ef6=0x0;for(let _0x8132a3=0x0;_0x8132a3<_0x1e5d51;_0x8132a3++)for(let _0x1c94ff=0x0;_0x1c94ff<_0x4e44fb;_0x1c94ff++){const _0x59ff3f={...(_0x189640=(_0x348287=_0x58a56d[_0xe0b058(0x484)])==null?void 0x0:_0x348287[_0x8132a3])==null?void 0x0:_0x189640[_0x1c94ff]},_0x504510=(_0x2cb4ad=_0x480d5c[_0x8132a3])==null?void 0x0:_0x2cb4ad['tableFieldId'],_0x5d93b7=_0x3283d3[_0x504510];let _0x2d7797=_0x58a56d[_0xe0b058(0x250)](_0x8132a3,_0x1c94ff);if(_0x59ff3f){const _0x2a15f1=_0x15ab44?_0x1c94ff===0x0&&((_0x462016=_0x58a56d[_0xe0b058(0x25b)](_0x1c94ff+0x1))==null?void 0x0:_0x462016['isValue']):!0x1;_0x2d7797=_0x27d4ee(_0x59ff3f,_0x2a15f1,_0x5d93b7,_0x57b1cb);}if(_0x2d7797!==void 0x0){const _0x3eb2f0=_0x34bbc2(String(_0x2d7797));_0x422ef6<_0x3eb2f0&&(_0x15eed8=String(_0x2d7797),_0x422ef6=_0x3eb2f0);}}return _0x15eed8;}function _0x478f19(_0x5d6143){const _0x449113=_0x32a484,{rowCount:_0x2004b0,colCount:_0x3b1f62}=_0x5d6143;let _0x14a4f0='',_0x541b35=0x0;for(let _0x40107e=_0x2004b0-0x1;_0x40107e>0x0&&_0x40107e>_0x2004b0-0x3;_0x40107e--)for(let _0x17cd75=0x0;_0x17cd75<_0x3b1f62;_0x17cd75++){const _0x23db44=_0x5d6143[_0x449113(0x250)](_0x40107e,_0x17cd75);if(_0x23db44!==void 0x0){const _0x30f1ce=String(_0x23db44)[_0x449113(0x249)];_0x541b35<_0x30f1ce&&(_0x14a4f0=String(_0x23db44),_0x541b35=_0x30f1ce);}}return _0x14a4f0;}function _0xe3e6b3(_0x3229d2){const _0x1f9c9f=_0x32a484,{rowCount:_0x44d611,colCount:_0x57e25e}=_0x3229d2;let _0x446d50='',_0x5b7556=0x0;for(let _0x23eddd=0x0;_0x23eddd<_0x44d611;_0x23eddd++)for(let _0x247f8f=0x0;_0x247f8f<_0x57e25e;_0x247f8f++){const _0x2031c4=_0x3229d2[_0x1f9c9f(0x250)](_0x23eddd,_0x247f8f);if(_0x2031c4!==void 0x0){const _0x9c2f4=String(_0x2031c4)[_0x1f9c9f(0x249)];_0x5b7556<_0x9c2f4&&(_0x446d50=String(_0x2031c4),_0x5b7556=_0x9c2f4);}}return _0x446d50;}function _0x284d0a(_0x5c74bc,_0x300d86){const _0x4fe2da=_0x32a484,{rowFields:_0x2209da,columnFields:_0x24682a,valueFields:_0x3bfd82,filterFields:_0x35a2c2,dimension:_0x1f3f86,measure:_0x1ea63e}=_0x300d86;for(const _0x363f4d of _0x2209da){const _0x437643=_0x1f3f86[_0x363f4d];_0x437643&&_0x5c74bc[_0x4fe2da(0x44c)](_0x437643['dataFieldId'])&&(_0x5c74bc[_0x4fe2da(0x229)](_0x437643[_0x4fe2da(0x422)],_0x33417a[_0x4fe2da(0x321)]['Row'],void 0x0,_0x363f4d),_0x437643[_0x4fe2da(0x44f)]&&_0x5c74bc[_0x4fe2da(0x39f)](_0x437643['id'],_0x437643['displayName']),_0x437643[_0x4fe2da(0x21b)]&&_0x5c74bc[_0x4fe2da(0x234)](_0x437643['id'],_0x437643['sortInfo']),_0x437643[_0x4fe2da(0x2f2)]&&_0x5c74bc[_0x4fe2da(0x2c2)](_0x437643['id'],_0x437643[_0x4fe2da(0x2f2)]));}for(const _0x114078 of _0x24682a){const _0x1b68d4=_0x1f3f86[_0x114078];_0x1b68d4&&_0x5c74bc[_0x4fe2da(0x44c)](_0x1b68d4[_0x4fe2da(0x422)])&&(_0x5c74bc['addFieldWithSourceId'](_0x1b68d4[_0x4fe2da(0x422)],_0x33417a[_0x4fe2da(0x321)][_0x4fe2da(0x1d6)],void 0x0,_0x114078),_0x1b68d4[_0x4fe2da(0x21b)]&&_0x5c74bc[_0x4fe2da(0x234)](_0x1b68d4['id'],_0x1b68d4[_0x4fe2da(0x21b)]),_0x1b68d4[_0x4fe2da(0x2f2)]&&_0x5c74bc[_0x4fe2da(0x2c2)](_0x1b68d4['id'],_0x1b68d4[_0x4fe2da(0x2f2)]),_0x1b68d4[_0x4fe2da(0x44f)]&&_0x5c74bc[_0x4fe2da(0x39f)](_0x1b68d4['id'],_0x1b68d4[_0x4fe2da(0x44f)]));}for(const _0x4ed69c of _0x35a2c2){const _0x535c68=_0x1f3f86[_0x4ed69c];_0x535c68&&_0x5c74bc[_0x4fe2da(0x44c)](_0x535c68['dataFieldId'])&&(_0x5c74bc[_0x4fe2da(0x229)](_0x535c68[_0x4fe2da(0x422)],_0x33417a[_0x4fe2da(0x321)][_0x4fe2da(0x3d0)],void 0x0,_0x4ed69c),_0x535c68[_0x4fe2da(0x21b)]&&_0x5c74bc[_0x4fe2da(0x234)](_0x535c68['id'],_0x535c68[_0x4fe2da(0x21b)]),_0x535c68['filterInfo']&&_0x5c74bc[_0x4fe2da(0x2c2)](_0x535c68['id'],_0x535c68['filterInfo']),_0x535c68[_0x4fe2da(0x44f)]&&_0x5c74bc[_0x4fe2da(0x39f)](_0x535c68['id'],_0x535c68['displayName']));}for(const _0x2e66b5 of _0x3bfd82){const _0x3bc1cc=_0x1ea63e[_0x2e66b5];_0x3bc1cc&&_0x5c74bc[_0x4fe2da(0x44c)](_0x3bc1cc[_0x4fe2da(0x422)])&&(_0x5c74bc['addFieldWithSourceId'](_0x3bc1cc[_0x4fe2da(0x422)],_0x33417a[_0x4fe2da(0x321)]['Value'],void 0x0,_0x2e66b5),_0x3bc1cc[_0x4fe2da(0x343)]!==void 0x0&&_0x5c74bc[_0x4fe2da(0x253)](_0x2e66b5,_0x3bc1cc[_0x4fe2da(0x343)]),_0x3bc1cc['format']&&_0x5c74bc[_0x4fe2da(0x30a)](_0x2e66b5,_0x3bc1cc[_0x4fe2da(0x201)]),_0x3bc1cc[_0x4fe2da(0x44f)]&&_0x5c74bc['renameField'](_0x3bc1cc['id'],_0x3bc1cc['displayName']));}const _0x3a6a60=_0x300d86[_0x4fe2da(0x4a7)];for(const {fieldId:_0x484f49,filterInfo:_0x2479db}of _0x3a6a60)_0x5c74bc[_0x4fe2da(0x24a)](_0x484f49,_0x2479db);}function _0x3e6b18(_0x2b8107,_0x36bb4a){const _0x13ee5a=_0x32a484,_0x42ec26=[];_0x36bb4a===_0x33417a[_0x13ee5a(0x321)]['Row']&&_0x2b8107[_0x13ee5a(0x1f4)](_0x33417a[_0x13ee5a(0x321)][_0x13ee5a(0x349)],_0x4c124f=>{const _0x5c7e56=_0x13ee5a;_0x42ec26[_0x5c7e56(0x296)](_0x4c124f[_0x5c7e56(0x244)]());}),_0x36bb4a===_0x33417a[_0x13ee5a(0x321)][_0x13ee5a(0x1d6)]&&_0x2b8107[_0x13ee5a(0x1f4)](_0x33417a[_0x13ee5a(0x321)]['Column'],_0x37136c=>{const _0x59700a=_0x13ee5a;_0x42ec26[_0x59700a(0x296)](_0x37136c[_0x59700a(0x244)]());}),_0x36bb4a===_0x33417a[_0x13ee5a(0x321)][_0x13ee5a(0x3d0)]&&_0x2b8107[_0x13ee5a(0x1f4)](_0x33417a[_0x13ee5a(0x321)]['Filter'],_0x105108=>{const _0x3c8263=_0x13ee5a;_0x42ec26[_0x3c8263(0x296)](_0x105108[_0x3c8263(0x244)]());}),_0x36bb4a===_0x33417a[_0x13ee5a(0x321)][_0x13ee5a(0x4a5)]&&_0x2b8107['iterateFieldByArea'](_0x33417a[_0x13ee5a(0x321)][_0x13ee5a(0x4a5)],_0x17587e=>{const _0x14912f=_0x13ee5a;_0x42ec26[_0x14912f(0x296)](_0x17587e[_0x14912f(0x244)]());}),_0x36bb4a===void 0x0&&_0x2b8107[_0x13ee5a(0x293)](_0x363d6e=>{const _0x3fb930=_0x13ee5a;_0x42ec26[_0x3fb930(0x296)](_0x363d6e[_0x3fb930(0x244)]());});const _0x19b566=_0x42ec26[_0x13ee5a(0x249)];for(let _0x10db2d=_0x19b566-0x1;_0x10db2d>=0x0;_0x10db2d--)_0x2b8107[_0x13ee5a(0x3f8)](_0x42ec26[_0x10db2d]);const _0x3a7eb5=_0x2b8107[_0x13ee5a(0x284)]();for(const _0x3b5786 in _0x3a7eb5)_0x2b8107[_0x13ee5a(0x428)](_0x3b5786);}function _0x4a1bfb(_0x1a00d0,_0x4fd6b4){const _0x1f1be8=_0x32a484,_0x47f9b4=new Date(_0x33417a['excelDateToUnixMilliseconds'](_0x4fd6b4)),_0x320da1=new Date(_0x33417a['excelDateToUnixMilliseconds'](_0x1a00d0)),_0x5dcf78=_0x47f9b4[_0x1f1be8(0x203)](),_0x4fb82a=_0x320da1[_0x1f1be8(0x203)](),_0x2da135=_0x47f9b4[_0x1f1be8(0x4af)](),_0x10ff94=_0x320da1['getMonth'](),_0x4cea55=_0x47f9b4[_0x1f1be8(0x236)](),_0x3bb642=_0x320da1[_0x1f1be8(0x236)](),_0x365b27=_0x5dcf78===_0x4fb82a,_0x2189ae=_0x365b27&&_0x2da135===_0x10ff94;return _0x365b27&&_0x2189ae&&!(_0x2189ae&&_0x4cea55===_0x3bb642)?_0x33417a[_0x1f1be8(0x486)]['YearMonthDate']:_0x365b27&&!_0x2189ae?_0x33417a[_0x1f1be8(0x486)][_0x1f1be8(0x29a)]:_0x33417a[_0x1f1be8(0x486)]['Year'];}function _0x2cd99e(_0x1ac3b3,_0x38c4e9){const _0x247c7b=_0x32a484,_0x30a86d=_0x1ac3b3[_0x247c7b(0x3fc)](_0xd0af73[_0x247c7b(0x255)])[_0x247c7b(0x32e)]();let _0x6b425b='';switch(_0x38c4e9){case _0x33417a[_0x247c7b(0x486)]['YearMonthDate']:_0x6b425b=_0x30a86d[_0x247c7b(0x374)];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x29a)]:_0x6b425b=_0x30a86d[_0x247c7b(0x29e)];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x491)]:_0x6b425b=_0x30a86d['sheets-pivot.dateGroup.year'];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x47d)]:_0x6b425b=_0x30a86d[_0x247c7b(0x413)];break;case _0x33417a['PivotDateGroupFieldDateTypeEnum'][_0x247c7b(0x34e)]:_0x6b425b=_0x30a86d['sheets-pivot.dateGroup.quarter'];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x3d1)]:_0x6b425b=_0x30a86d['sheets-pivot.dateGroup.date'];break;case _0x33417a['PivotDateGroupFieldDateTypeEnum'][_0x247c7b(0x3b9)]:_0x6b425b=_0x30a86d['sheets-pivot.dateGroup.hourMinute'];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x4eb)]:_0x6b425b=_0x30a86d['sheets-pivot.dateGroup.hour'];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x28d)]:_0x6b425b=_0x30a86d[_0x247c7b(0x2c3)];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x2f1)]:_0x6b425b=_0x30a86d[_0x247c7b(0x2b5)];break;case _0x33417a[_0x247c7b(0x486)][_0x247c7b(0x43c)]:_0x6b425b=_0x30a86d[_0x247c7b(0x37f)];break;default:_0x6b425b='';break;}return _0x6b425b;}const _0x2d6051='sheets-pivot.config',_0x876202={};var _0x43d85b=Object['getOwnPropertyDescriptor'],_0x26d4cd=(_0x264266,_0xb6eb46,_0x84dbf4,_0x27e699)=>{const _0x4e0559=_0x32a484;for(var _0x343cb9=_0x27e699>0x1?void 0x0:_0x27e699?_0x43d85b(_0xb6eb46,_0x84dbf4):_0xb6eb46,_0x54c52f=_0x264266[_0x4e0559(0x249)]-0x1,_0x4d961a;_0x54c52f>=0x0;_0x54c52f--)(_0x4d961a=_0x264266[_0x54c52f])&&(_0x343cb9=_0x4d961a(_0x343cb9)||_0x343cb9);return _0x343cb9;},_0x195460=(_0x4b16e1,_0x4b153a)=>(_0x34bd9b,_0x2332ac)=>_0x4b153a(_0x34bd9b,_0x2332ac,_0x4b16e1);_0xd0af73[_0x32a484(0x32b)]=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0x4f76e1,_0x32b7d8,_0xd21d5a,_0x2c5731,_0x522a09){const _0x2d4b1f=_0x32a484;super(),_0x25ab16(this,_0x2d4b1f(0x2e6),new Map()),_0x25ab16(this,_0x2d4b1f(0x256),new Map()),_0x25ab16(this,_0x2d4b1f(0x3b4),new Map()),_0x25ab16(this,_0x2d4b1f(0x2d6),new Map()),_0x25ab16(this,_0x2d4b1f(0x3ce),new _0x2504f7['Subject']()),_0x25ab16(this,_0x2d4b1f(0x46d),new _0x2504f7[(_0x2d4b1f(0x25a))]()),_0x25ab16(this,_0x2d4b1f(0x31d),this[_0x2d4b1f(0x46d)]['asObservable']()),_0x25ab16(this,_0x2d4b1f(0x231),new _0x2504f7[(_0x2d4b1f(0x25a))]()),_0x25ab16(this,_0x2d4b1f(0x369),this[_0x2d4b1f(0x231)][_0x2d4b1f(0x411)]()),_0x25ab16(this,_0x2d4b1f(0x1dc),{}),_0x25ab16(this,'configVersion$',this[_0x2d4b1f(0x3ce)][_0x2d4b1f(0x411)]()),(this[_0x2d4b1f(0x42f)]=_0x4f76e1,this[_0x2d4b1f(0x4cf)]=_0x32b7d8,this[_0x2d4b1f(0x4d0)]=_0xd21d5a,this[_0x2d4b1f(0x4ae)]=_0x2c5731,this[_0x2d4b1f(0x3bd)]=_0x522a09,this[_0x2d4b1f(0x29c)](),this[_0x2d4b1f(0x3bb)]());const _0x16a4ec=this['_configService'][_0x2d4b1f(0x28b)](_0x2d6051);(_0x16a4ec==null?void 0x0:_0x16a4ec['notExecuteFormula'])===!0x0&&this[_0x2d4b1f(0x2e8)]();}['_initUnitDisposed'](){const _0x460b9f=_0x32a484;this[_0x460b9f(0x327)](this[_0x460b9f(0x4d0)][_0x460b9f(0x466)](_0x2fa876[_0x460b9f(0x376)][_0x460b9f(0x28a)])[_0x460b9f(0x332)](_0x56cdc3=>{this['deleteUnitId'](_0x56cdc3['getUnitId']());}));}['setPivotInitCompleted'](){const _0x50d301=_0x32a484;this['_pivotInitCompleted$'][_0x50d301(0x451)](!0x0);}[_0x32a484(0x29c)](){const _0x90598c=_0x32a484,_0x5ed22d=_0x463464(this[_0x90598c(0x42f)],_0x5be2b9,'',{});this[_0x90598c(0x1dc)]=_0x5ed22d,this[_0x90598c(0x4cf)]['executeCommand'](_0x3e71e4['id'],{'textInfo':_0x5ed22d},{'onlyLocal':!0x0});}[_0x32a484(0x32e)](){const _0x1830df=_0x32a484;return this[_0x1830df(0x1dc)];}['updateViewInfo'](_0x100b7a,_0x2a6628,_0x25f304,_0x4a794b,_0x5bc39a){const _0x2abe2c=_0x32a484;this[_0x2abe2c(0x41c)](_0x100b7a,_0x2a6628,_0x25f304,_0x4a794b),this[_0x2abe2c(0x257)](_0x100b7a,_0x2a6628,_0x25f304,_0x5bc39a);}['getPivotTableConfig'](_0xba15e8,_0x1e5d0d,_0x32ba2a){const _0x160a5e=_0x32a484;var _0x58bb49;const _0x58930d=(_0x58bb49=this[_0x160a5e(0x2e6)]['get'](_0xba15e8))==null?void 0x0:_0x58bb49[_0x160a5e(0x3fc)](_0x1e5d0d);if(_0x58930d)return _0x58930d[_0x160a5e(0x3fc)](_0x32ba2a);}[_0x32a484(0x2c0)](_0x57fa19,_0x1cfaf2){const _0x45b410=_0x32a484,_0x39887f=this[_0x45b410(0x2e6)][_0x45b410(0x3fc)](_0x57fa19);if(_0x39887f){for(const [_0x2f91d9,_0x508540]of _0x39887f[_0x45b410(0x408)]())for(const [_0x4dac3c,_0x4b34ab]of _0x508540[_0x45b410(0x408)]())if(_0x4dac3c===_0x1cfaf2)return _0x4b34ab[_0x45b410(0x412)];}}[_0x32a484(0x4aa)](_0x45adc0,_0x33ce12,_0x294a78){const _0x21f3b2=_0x32a484,_0x3cc86d=this[_0x21f3b2(0x2e9)](_0x45adc0,_0x33ce12,_0x294a78);return _0x3cc86d==null?void 0x0:_0x3cc86d[_0x21f3b2(0x412)];}[_0x32a484(0x40b)](_0x1d3ada,_0x158419){const _0x3a83b8=_0x32a484;var _0x2fd7f9;return(_0x2fd7f9=this[_0x3a83b8(0x2e6)][_0x3a83b8(0x3fc)](_0x1d3ada))==null?void 0x0:_0x2fd7f9[_0x3a83b8(0x3fc)](_0x158419);}[_0x32a484(0x3a5)](_0x41d781,_0x2858c9,_0x14d8d3,_0xc49c46){const _0x55e873=_0x32a484,_0x363005=this[_0x55e873(0x1e0)](_0x41d781,_0x2858c9);_0xc49c46?_0x363005['set'](_0x14d8d3,_0xc49c46):_0x363005[_0x55e873(0x3a9)](_0x14d8d3),this['_pivotConfigChange$']['next']({'unitId':_0x41d781,'subUnitId':_0x2858c9,'pivotTableId':_0x14d8d3,'pivotTableConfig':_0xc49c46});}[_0x32a484(0x336)](_0xa98072,_0x5e5a9f){const _0x154b5e=_0x32a484;var _0x3499e9;return(_0x3499e9=this['_collectionConfigModel'][_0x154b5e(0x3fc)](_0xa98072))==null?void 0x0:_0x3499e9[_0x154b5e(0x4e2)][_0x5e5a9f];}['updateCollectionConfig'](_0x3691e6,_0x2a4bf9){const _0x728f7b=_0x32a484;this[_0x728f7b(0x256)][_0x728f7b(0x268)](_0x3691e6,_0x2a4bf9),this[_0x728f7b(0x3ce)][_0x728f7b(0x451)](Math[_0x728f7b(0x2a3)]());}[_0x32a484(0x1e0)](_0x5e4e70,_0x2b321c){const _0x3a24e3=_0x32a484;let _0x31dc32=this[_0x3a24e3(0x2e6)][_0x3a24e3(0x3fc)](_0x5e4e70);_0x31dc32||(_0x31dc32=new Map(),this['_model'][_0x3a24e3(0x268)](_0x5e4e70,_0x31dc32));let _0x439a12=_0x31dc32[_0x3a24e3(0x3fc)](_0x2b321c);return _0x439a12||(_0x439a12=new Map(),_0x31dc32[_0x3a24e3(0x268)](_0x2b321c,_0x439a12)),_0x439a12;}[_0x32a484(0x1d4)](_0x4e4acf,_0x3447bc){const _0x442527=_0x32a484;let _0x5cfe37=this[_0x442527(0x3b4)]['get'](_0x4e4acf);_0x5cfe37||(_0x5cfe37=new Map(),this[_0x442527(0x3b4)][_0x442527(0x268)](_0x4e4acf,_0x5cfe37));let _0x315f26=_0x5cfe37['get'](_0x3447bc);return _0x315f26||(_0x315f26=new Map(),_0x5cfe37[_0x442527(0x268)](_0x3447bc,_0x315f26)),_0x315f26;}[_0x32a484(0x359)](_0x28b099,_0x1b4e02){const _0x1b01e2=_0x32a484;let _0x8e621=this[_0x1b01e2(0x2d6)][_0x1b01e2(0x3fc)](_0x28b099);_0x8e621||(_0x8e621=new Map(),this[_0x1b01e2(0x2d6)][_0x1b01e2(0x268)](_0x28b099,_0x8e621));let _0x1e2e30=_0x8e621[_0x1b01e2(0x3fc)](_0x1b4e02);return _0x1e2e30||(_0x1e2e30=new Map(),_0x8e621[_0x1b01e2(0x268)](_0x1b4e02,_0x1e2e30)),_0x1e2e30;}['updatePivotTableRangeInfo'](_0x17d2bf,_0x421f3f,_0x364fd5,_0x409346){const _0x478aec=_0x32a484;var _0x4fe565;const _0x5df683=this[_0x478aec(0x1d4)](_0x17d2bf,_0x421f3f),_0x24d02c=(_0x4fe565=_0x5df683[_0x478aec(0x3fc)](_0x364fd5))==null?void 0x0:_0x4fe565[_0x478aec(0x27d)];_0x5df683[_0x478aec(0x268)](_0x364fd5,{'oldRangeInfo':_0x24d02c,'rangeInfo':_0x409346});}[_0x32a484(0x41c)](_0x37e741,_0x52f75e,_0x3a5915,_0x168f07){const _0x4cbc89=_0x32a484;var _0x4bce3c;const _0x3aef79=this[_0x4cbc89(0x359)](_0x37e741,_0x52f75e),_0x32b312=(_0x4bce3c=_0x3aef79[_0x4cbc89(0x3fc)](_0x3a5915))==null?void 0x0:_0x4bce3c[_0x4cbc89(0x389)];_0x3aef79[_0x4cbc89(0x268)](_0x3a5915,{'oldMatrix':_0x32b312,'matrix':_0x168f07});}[_0x32a484(0x392)](_0x547440,_0x4eccc5,_0x2729ce){const _0x1d08a8=_0x32a484;var _0x541377,_0x3b5ece;return(_0x3b5ece=(_0x541377=this[_0x1d08a8(0x3b4)][_0x1d08a8(0x3fc)](_0x547440))==null?void 0x0:_0x541377[_0x1d08a8(0x3fc)](_0x4eccc5))==null?void 0x0:_0x3b5ece['get'](_0x2729ce);}[_0x32a484(0x370)](_0x4adca0,_0x20c813,_0x1619e2){const _0x1771d1=_0x32a484;var _0x5d8527,_0x9db02e;return(_0x9db02e=(_0x5d8527=this['_pivotTableMatrixInfo'][_0x1771d1(0x3fc)](_0x4adca0))==null?void 0x0:_0x5d8527[_0x1771d1(0x3fc)](_0x20c813))==null?void 0x0:_0x9db02e[_0x1771d1(0x3fc)](_0x1619e2);}['deleteUnitId'](_0x1392fb){const _0x1dfdae=_0x32a484;this['_model'][_0x1dfdae(0x3a9)](_0x1392fb),this[_0x1dfdae(0x256)][_0x1dfdae(0x3a9)](_0x1392fb);}['_toJSON'](_0x2c91f2){const _0x86ecdc=_0x32a484,_0x1b998d={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x86ecdc(0x256)][_0x86ecdc(0x3fc)](_0x2c91f2)&&(_0x1b998d['dataFieldManagerConfig'][_0x2c91f2]=this['_collectionConfigModel']['get'](_0x2c91f2)),this[_0x86ecdc(0x2e6)]['get'](_0x2c91f2)){_0x1b998d[_0x86ecdc(0x2fd)][_0x2c91f2]={};const _0x502a20=this[_0x86ecdc(0x2e6)][_0x86ecdc(0x3fc)](_0x2c91f2);_0x502a20!=null&&_0x502a20[_0x86ecdc(0x40c)]&&[..._0x502a20[_0x86ecdc(0x31e)]()]['forEach'](_0x275ac3=>{const _0x4b5172=_0x86ecdc,_0x44f4de=_0x502a20[_0x4b5172(0x3fc)](_0x275ac3);_0x44f4de!=null&&_0x44f4de[_0x4b5172(0x40c)]&&(_0x1b998d[_0x4b5172(0x2fd)][_0x2c91f2][_0x275ac3]={},[..._0x44f4de['keys']()]['forEach'](_0x219402=>{const _0x33a171=_0x4b5172,_0x4561fe=_0x44f4de[_0x33a171(0x3fc)](_0x219402);_0x4561fe&&(_0x1b998d[_0x33a171(0x2fd)][_0x2c91f2][_0x275ac3][_0x219402]=_0x4561fe);}));});}return _0x1b998d;}['_initSnapshot'](){const _0x5c1944=_0x32a484;this[_0x5c1944(0x327)](this['_resourceManagerService'][_0x5c1944(0x230)]({'toJson':_0x382dd9=>JSON[_0x5c1944(0x277)](this[_0x5c1944(0x209)](_0x382dd9)),'parseJson':_0x10fad5=>({}),'businesses':[_0x2fa876[_0x5c1944(0x376)]['UNIVER_SHEET']],'pluginName':_0x1a68df,'onLoad':(_0x5f22df,_0x16a131)=>{},'onUnLoad':_0x1bb7c6=>{const _0x501fbd=_0x5c1944;this[_0x501fbd(0x4d8)](_0x1bb7c6);}}));}},_0xd0af73[_0x32a484(0x32b)]=_0x26d4cd([_0x195460(0x0,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x304)])),_0x195460(0x1,_0x2fa876['Inject'](_0x2fa876[_0x32a484(0x41b)])),_0x195460(0x2,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x361)])),_0x195460(0x3,_0x2fa876['Inject'](_0x2fa876[_0x32a484(0x2da)])),_0x195460(0x4,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x3da)]))],_0xd0af73[_0x32a484(0x32b)]);var _0x2e19a9=Object['getOwnPropertyDescriptor'],_0x43542f=(_0x344f1a,_0x427b1b,_0x211e93,_0x5013a9)=>{for(var _0xe41297=_0x5013a9>0x1?void 0x0:_0x5013a9?_0x2e19a9(_0x427b1b,_0x211e93):_0x427b1b,_0x517bab=_0x344f1a['length']-0x1,_0x5b6644;_0x517bab>=0x0;_0x517bab--)(_0x5b6644=_0x344f1a[_0x517bab])&&(_0xe41297=_0x5b6644(_0xe41297)||_0xe41297);return _0xe41297;},_0x4e86f7=(_0x5e4222,_0x31b354)=>(_0x66730f,_0x18bd79)=>_0x31b354(_0x66730f,_0x18bd79,_0x5e4222);_0xd0af73['SheetsPivotTableAdaptorModel']=class extends _0x2fa876['Disposable']{constructor(_0x2f1294,_0x139029,_0x6af11c,_0xd3f1be,_0xa07f0e){const _0x58f39e=_0x32a484;super(),_0x25ab16(this,_0x58f39e(0x430),new Map()),_0x25ab16(this,_0x58f39e(0x41a),new Map()),_0x25ab16(this,_0x58f39e(0x378),new _0x2504f7[(_0x58f39e(0x25a))]()),_0x25ab16(this,'markDirty$',this[_0x58f39e(0x378)][_0x58f39e(0x411)]()),_0x25ab16(this,_0x58f39e(0x4ea),new _0x2504f7[(_0x58f39e(0x25a))]()),_0x25ab16(this,'viewUpdate$',this['_viewUpdate$'][_0x58f39e(0x411)]()),_0x25ab16(this,_0x58f39e(0x1dc)),(this[_0x58f39e(0x495)]=_0x2f1294,this[_0x58f39e(0x42f)]=_0x139029,this[_0x58f39e(0x287)]=_0x6af11c,this[_0x58f39e(0x4d0)]=_0xd3f1be,this['_exclusiveRangeService']=_0xa07f0e,this['_initLocale'](),this[_0x58f39e(0x3bb)]());}[_0x32a484(0x3bb)](){const _0xa20a67=_0x32a484;this[_0xa20a67(0x327)](this[_0xa20a67(0x4d0)][_0xa20a67(0x466)](_0x2fa876['UniverInstanceType'][_0xa20a67(0x28a)])[_0xa20a67(0x332)](_0x3cb723=>{const _0x4de1a3=_0xa20a67;this[_0x4de1a3(0x4d8)](_0x3cb723['getUnitId']());}));}[_0x32a484(0x29c)](){const _0x4867b1=_0x32a484;this[_0x4867b1(0x1dc)]=_0x463464(this[_0x4867b1(0x42f)],_0x5be2b9,'',{});}[_0x32a484(0x492)](_0x1a2683){const _0x28d02f=_0x32a484,{view:_0x3db897,unitId:_0xd995c4,subUnitId:_0x592605,pivotTableId:_0xdfa9d7,type:_0x44c3c9}=_0x1a2683,_0x116e84=this[_0x28d02f(0x287)]['getPivotTableConfig'](_0xd995c4,_0x592605,_0xdfa9d7);if(!_0x3db897||!_0x116e84||_0x44c3c9===_0x477731[_0x28d02f(0x3df)])return;const {pageView:_0x1ff4e1,cornerView:_0x32f8c8,rowView:_0x2e3477,colView:_0x3a3e40,dataView:_0x2c9a00}=_0x3db897,_0x202aa4=_0x116e84[_0x28d02f(0x412)],_0x334124=_0x116e84['isEmpty'],_0x1a8fcf=this[_0x28d02f(0x37e)](_0xd995c4,_0x592605),_0x556fa0=this[_0x28d02f(0x3a1)](_0xd995c4,_0x592605,_0xdfa9d7);if(_0x334124)return this[_0x28d02f(0x26b)](_0x1a2683,_0x1a8fcf,_0x202aa4,_0x556fa0);{const _0x56a803=_0x47957b(_0x202aa4,_0x1ff4e1,!0x0),_0x248527=_0x1ff4e1[_0x28d02f(0x427)]>=0x0?_0x1ff4e1[_0x28d02f(0x427)]+0x1:0x0,_0xd1a847=_0x32f8c8[_0x28d02f(0x4b4)](),_0x4232fa=_0x32f8c8[_0x28d02f(0x4c4)](),_0x447746=_0x56a803[_0x28d02f(0x249)]>0x0?_0x4814ba:0x0,_0x34e613=_0x47957b({'row':_0x202aa4[_0x28d02f(0x213)]+_0x248527+_0x447746,'col':_0x202aa4['col']},_0x32f8c8,!0x1,!0x1),_0x6710b0=_0x47957b({'row':_0x202aa4[_0x28d02f(0x213)]+_0x248527+_0x447746+_0xd1a847,'col':_0x202aa4[_0x28d02f(0x38d)]},_0x2e3477,!0x1,!0x0),_0x72d043=_0x47957b({'row':_0x202aa4['row']+_0x248527+_0x447746,'col':_0x202aa4[_0x28d02f(0x38d)]+_0x4232fa},_0x3a3e40,!0x1,!0x0),_0x448641=_0x47957b({'row':_0x202aa4[_0x28d02f(0x213)]+_0x248527+_0x447746+_0xd1a847,'col':_0x202aa4[_0x28d02f(0x38d)]+_0x4232fa},_0x2c9a00,!0x1,!0x1);_0x556fa0[_0x28d02f(0x38f)]={'rowRanges':_0x6710b0,'colRanges':_0x72d043,'cornerRanges':_0x34e613,'dataRanges':_0x448641,'pageRanges':_0x56a803};const _0xfa1cec=_0x204472(this[_0x28d02f(0x42f)],_0x3db897,_0x116e84,this[_0x28d02f(0x1dc)]),{valueMatrix:_0x461cc8,rowInfo:_0x5d8a8e,colInfo:_0x4be70d,cornerInfo:_0x57dd69,rowHeaderMap:_0x327bc1,colHeaderMap:_0xb0308a}=_0xfa1cec;return _0x556fa0[_0x28d02f(0x206)]={'rowInfo':_0x5d8a8e,'colInfo':_0x4be70d,'cornerInfo':_0x57dd69},_0x556fa0[_0x28d02f(0x302)]={'rowHeaderMap':_0x327bc1,'colHeaderMap':_0xb0308a},_0x461cc8[_0x28d02f(0x4c2)]((_0x15714d,_0xab7709)=>{const _0x3d3fbd=_0x28d02f;Object[_0x3d3fbd(0x31e)](_0xab7709)['forEach'](_0x58642d=>{const _0x303c04=_0x3d3fbd,_0x4524fd=+_0x58642d,_0x177bbc=_0x461cc8[_0x303c04(0x250)](_0x15714d,_0x4524fd);_0x1a8fcf['setValue'](_0x15714d,_0x4524fd,_0x177bbc);});}),this['_viewUpdate$']['next']({'unitId':_0xd995c4,'subUnitId':_0x592605,'valueMatrix':_0x1a8fcf,'rangesCache':_0x556fa0[_0x28d02f(0x38f)],'pivotTableId':_0xdfa9d7,'type':_0x1a2683[_0x28d02f(0x38a)]}),this['_sheetsPivotTableConfigModel'][_0x28d02f(0x228)](_0xd995c4,_0x592605,_0xdfa9d7,_0x1a8fcf,_0x556fa0[_0x28d02f(0x38f)]),this[_0x28d02f(0x38b)]['addExclusiveRange'](_0xd995c4,_0x592605,_0x5f27fb,this[_0x28d02f(0x36c)](_0x556fa0[_0x28d02f(0x38f)],_0xdfa9d7)),{'rangeCache':_0x556fa0[_0x28d02f(0x38f)],'matrix':_0x1a8fcf};}}[_0x32a484(0x26b)](_0x24e66f,_0x30a077,_0x3fc507,_0x2ff681){const _0x3367f2=_0x32a484,_0x20be13=this[_0x3367f2(0x495)]['t'],{unitId:_0x42c19f,subUnitId:_0x11bdf0,pivotTableId:_0x432942}=_0x24e66f,_0x5d5206={'filter':_0x20be13('sheets-pivot.emptyPivot.filter'),'row':_0x20be13(_0x3367f2(0x3f6)),'column':_0x20be13(_0x3367f2(0x1fd)),'values':_0x20be13(_0x3367f2(0x21c))},{matrixCache:_0x1a5db4,rangesCache:_0x156ec4}=_0x170d7b(_0x5d5206,_0x3fc507);return _0x1a5db4[_0x3367f2(0x3ed)]((_0x109c45,_0x35f4d0,_0x60219d)=>{const _0x5165c3=_0x3367f2;_0x30a077[_0x5165c3(0x280)](_0x109c45,_0x35f4d0,_0x60219d);}),_0x2ff681[_0x3367f2(0x38f)]=_0x156ec4,this['_viewUpdate$'][_0x3367f2(0x451)]({'unitId':_0x42c19f,'subUnitId':_0x11bdf0,'valueMatrix':_0x30a077,'rangesCache':_0x156ec4,'pivotTableId':_0x432942,'type':_0x24e66f[_0x3367f2(0x38a)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel'][_0x3367f2(0x228)](_0x42c19f,_0x11bdf0,_0x432942,_0x30a077,_0x156ec4),this['_exclusiveRangeService'][_0x3367f2(0x3ee)](_0x42c19f,_0x11bdf0,_0x5f27fb,this[_0x3367f2(0x36c)](_0x156ec4,_0x432942)),{'rangeCache':_0x2ff681[_0x3367f2(0x38f)],'matrix':_0x30a077};}[_0x32a484(0x36c)](_0x10b91d,_0x5db78e){const _0x4ba889=_0x32a484,_0x68ade6=[],_0x4bb3c8=_0x3fcd7b(_0x10b91d);for(const _0x1ab0d1 of _0x4bb3c8)_0x68ade6[_0x4ba889(0x296)]({'groupId':_0x5db78e,'range':_0x1ab0d1});return _0x68ade6;}['clearRenderCache'](_0x31dd54){const _0x12c62c=_0x32a484;var _0x148660,_0xbc2028,_0x37e204,_0x5fc4eb;const {pivotTableId:_0x167af9,unitId:_0x4478c1,subUnitId:_0x3fada0}=_0x31dd54;if(!_0x167af9||!_0x4478c1||!_0x3fada0)return;const _0x5454ac=this[_0x12c62c(0x37e)](_0x4478c1,_0x3fada0),_0x4cc00c=(_0xbc2028=(_0x148660=this[_0x12c62c(0x430)]['get'](_0x4478c1))==null?void 0x0:_0x148660[_0x12c62c(0x3fc)](_0x3fada0))==null?void 0x0:_0xbc2028[_0x12c62c(0x3fc)](_0x167af9);if(_0x4cc00c!=null&&_0x4cc00c['rangesInfo']){for(const _0x5132f5 of Object[_0x12c62c(0x31e)](_0x4cc00c[_0x12c62c(0x38f)]))_0x4cc00c[_0x12c62c(0x38f)][_0x5132f5][_0x12c62c(0x4c2)](_0xfa9dae=>{const _0x1fa3ca=_0x12c62c;for(let _0x5a9220=_0xfa9dae[_0x1fa3ca(0x340)];_0x5a9220<=_0xfa9dae[_0x1fa3ca(0x2d0)];_0x5a9220++)for(let _0x2d47f0=_0xfa9dae['startColumn'];_0x2d47f0<=_0xfa9dae[_0x1fa3ca(0x315)];_0x2d47f0++)_0x5454ac[_0x1fa3ca(0x2bd)](_0x5a9220,_0x2d47f0);});}_0x4cc00c&&((_0x5fc4eb=(_0x37e204=this['_pivotRenderInfoCache'][_0x12c62c(0x3fc)](_0x4478c1))==null?void 0x0:_0x37e204[_0x12c62c(0x3fc)](_0x3fada0))==null||_0x5fc4eb[_0x12c62c(0x3a9)](_0x167af9)),this['_viewUpdate$'][_0x12c62c(0x451)]({'unitId':_0x4478c1,'subUnitId':_0x3fada0,'valueMatrix':_0x5454ac,'pivotTableId':_0x167af9,'rangesCache':void 0x0,'type':_0x31dd54[_0x12c62c(0x38a)]}),this[_0x12c62c(0x38b)]['clearExclusiveRangesByGroupId'](_0x4478c1,_0x3fada0,_0x5f27fb,_0x167af9);}[_0x32a484(0x3a1)](_0x4faac4,_0x5edf8b,_0x6e019e){const _0x39dd5a=_0x32a484;var _0x444315,_0x5ab87e,_0x1e30a3,_0x248c04,_0x5ca4e6,_0x181421;return this['_pivotRenderInfoCache'][_0x39dd5a(0x290)](_0x4faac4)||this[_0x39dd5a(0x430)][_0x39dd5a(0x268)](_0x4faac4,new Map()),(_0x444315=this[_0x39dd5a(0x430)][_0x39dd5a(0x3fc)](_0x4faac4))!=null&&_0x444315[_0x39dd5a(0x290)](_0x5edf8b)||(_0x5ab87e=this['_pivotRenderInfoCache'][_0x39dd5a(0x3fc)](_0x4faac4))==null||_0x5ab87e[_0x39dd5a(0x268)](_0x5edf8b,new Map()),(_0x248c04=(_0x1e30a3=this[_0x39dd5a(0x430)][_0x39dd5a(0x3fc)](_0x4faac4))==null?void 0x0:_0x1e30a3['get'](_0x5edf8b))!=null&&_0x248c04['has'](_0x6e019e)||(_0x181421=(_0x5ca4e6=this[_0x39dd5a(0x430)][_0x39dd5a(0x3fc)](_0x4faac4))==null?void 0x0:_0x5ca4e6[_0x39dd5a(0x3fc)](_0x5edf8b))==null||_0x181421[_0x39dd5a(0x268)](_0x6e019e,{}),this[_0x39dd5a(0x430)][_0x39dd5a(0x3fc)](_0x4faac4)[_0x39dd5a(0x3fc)](_0x5edf8b)[_0x39dd5a(0x3fc)](_0x6e019e);}[_0x32a484(0x37e)](_0xc15388,_0x1eed30){const _0x59297a=_0x32a484;var _0x8d2fb5,_0x3e4ab8;return this['_pivotRenderValueMatrixCache'][_0x59297a(0x290)](_0xc15388)||this['_pivotRenderValueMatrixCache'][_0x59297a(0x268)](_0xc15388,new Map()),(_0x8d2fb5=this[_0x59297a(0x41a)][_0x59297a(0x3fc)](_0xc15388))!=null&&_0x8d2fb5[_0x59297a(0x290)](_0x1eed30)||(_0x3e4ab8=this['_pivotRenderValueMatrixCache']['get'](_0xc15388))==null||_0x3e4ab8[_0x59297a(0x268)](_0x1eed30,new _0x2fa876[(_0x59297a(0x48a))]()),this[_0x59297a(0x41a)][_0x59297a(0x3fc)](_0xc15388)['get'](_0x1eed30);}[_0x32a484(0x311)](_0x400445,_0xb4cdcd,_0x595157,_0x4669fe){const _0x4c2a7b=_0x32a484;var _0x1235fa,_0x103199;const _0x4f7c37=(_0x103199=(_0x1235fa=this['_pivotRenderValueMatrixCache'][_0x4c2a7b(0x3fc)](_0x400445))==null?void 0x0:_0x1235fa[_0x4c2a7b(0x3fc)](_0xb4cdcd))==null?void 0x0:_0x103199[_0x4c2a7b(0x250)](_0x595157,_0x4669fe);if(_0x4f7c37!=null)return _0x4f7c37;}[_0x32a484(0x2d4)](_0x536e4e,_0x224886,_0x1ede33,_0x5a690f){const _0x44ed9b=_0x32a484;var _0x2cd630;const _0x37da1a=_0x2fa876[_0x44ed9b(0x4bd)](_0x1ede33,_0x5a690f),_0x5eaad2=(_0x2cd630=this[_0x44ed9b(0x430)][_0x44ed9b(0x3fc)](_0x536e4e))==null?void 0x0:_0x2cd630[_0x44ed9b(0x3fc)](_0x224886);return _0x5eaad2?Array['from'](_0x5eaad2[_0x44ed9b(0x31e)]())[_0x44ed9b(0x475)](_0x55bd1d=>{const _0x137208=_0x44ed9b,_0x433d2c=_0x5eaad2[_0x137208(0x3fc)](_0x55bd1d),_0x27a154=_0x433d2c==null?void 0x0:_0x433d2c['rangesInfo'];return _0x27a154?Object[_0x137208(0x31e)](_0x27a154)[_0x137208(0x26a)](_0x174cb4=>_0x27a154[_0x174cb4][_0x137208(0x26a)](_0x2421df=>_0x2fa876[_0x137208(0x3b2)][_0x137208(0x24d)](_0x2421df,_0x37da1a))):!0x1;}):void 0x0;}[_0x32a484(0x246)](_0x1d45b2,_0x1fabfa,_0x5c1864){const _0x1c7c20=_0x32a484;var _0x8464ba;const _0x2295d1=(_0x8464ba=this[_0x1c7c20(0x430)][_0x1c7c20(0x3fc)](_0x1d45b2))==null?void 0x0:_0x8464ba[_0x1c7c20(0x3fc)](_0x1fabfa),_0x445b10=[];return _0x2295d1&&Array[_0x1c7c20(0x25f)](_0x2295d1['keys']())['forEach'](_0x65101a=>{const _0x2eff8d=_0x1c7c20,_0x4ea4c1=_0x2295d1['get'](_0x65101a),_0xf7fa92=_0x4ea4c1==null?void 0x0:_0x4ea4c1['rangesInfo'];if(_0xf7fa92)for(const _0x4d8432 of Object[_0x2eff8d(0x1e7)](_0xf7fa92)){let _0x30cce5=!0x1;for(const _0x5eb333 of _0x4d8432)if(_0x2fa876[_0x2eff8d(0x3b2)]['intersects'](_0x5eb333,_0x5c1864)){_0x445b10[_0x2eff8d(0x296)](_0x65101a),_0x30cce5=!0x0;break;}if(_0x30cce5)break;}}),_0x445b10;}['getSubUnitPivotMatrix'](_0x3571a9,_0x27c52e){const _0x368fc6=_0x32a484;var _0x532670,_0xe817c9;return(_0xe817c9=(_0x532670=this['_pivotRenderValueMatrixCache'][_0x368fc6(0x3fc)](_0x3571a9))==null?void 0x0:_0x532670['get'](_0x27c52e))!=null?_0xe817c9:new _0x2fa876[(_0x368fc6(0x48a))]();}[_0x32a484(0x431)](_0x2e323d,_0x1f98b4){const _0x27ae1b=_0x32a484;var _0x35bfd6;return(_0x35bfd6=this[_0x27ae1b(0x430)][_0x27ae1b(0x3fc)](_0x2e323d))==null?void 0x0:_0x35bfd6[_0x27ae1b(0x3fc)](_0x1f98b4);}[_0x32a484(0x2d5)](_0x5b07a1,_0x3ef2e4,_0x6ce80d){const _0xb5a6ba=_0x32a484;var _0x1691dd,_0xfdedbe;return(_0xfdedbe=(_0x1691dd=this[_0xb5a6ba(0x430)][_0xb5a6ba(0x3fc)](_0x5b07a1))==null?void 0x0:_0x1691dd[_0xb5a6ba(0x3fc)](_0x3ef2e4))==null?void 0x0:_0xfdedbe[_0xb5a6ba(0x3fc)](_0x6ce80d);}[_0x32a484(0x4d8)](_0x18940c){const _0x2a4afd=_0x32a484;this['_pivotRenderInfoCache']['delete'](_0x18940c),this['_pivotRenderValueMatrixCache'][_0x2a4afd(0x3a9)](_0x18940c);}[_0x32a484(0x464)](_0x49bc17,_0x5ad592){const _0x59fcd2=_0x32a484;this['_markDirty$'][_0x59fcd2(0x451)]({'unitId':_0x49bc17,'subUnitId':_0x5ad592});}},_0xd0af73['SheetsPivotTableAdaptorModel']=_0x43542f([_0x4e86f7(0x0,_0x2fa876['Inject'](_0x2fa876[_0x32a484(0x3d2)])),_0x4e86f7(0x1,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x304)])),_0x4e86f7(0x2,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x32b)])),_0x4e86f7(0x3,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x361)])),_0x4e86f7(0x4,_0x2fa876['Inject'](_0x30840c[_0x32a484(0x3d8)]))],_0xd0af73[_0x32a484(0x404)]);var _0x137580=Object[_0x32a484(0x48e)],_0x2d9d4a=(_0xa50690,_0x31629c,_0xd43ef5,_0x4ce253)=>{const _0x5ed6c3=_0x32a484;for(var _0x196ea9=_0x4ce253>0x1?void 0x0:_0x4ce253?_0x137580(_0x31629c,_0xd43ef5):_0x31629c,_0x99ddc6=_0xa50690[_0x5ed6c3(0x249)]-0x1,_0x362d89;_0x99ddc6>=0x0;_0x99ddc6--)(_0x362d89=_0xa50690[_0x99ddc6])&&(_0x196ea9=_0x362d89(_0x196ea9)||_0x196ea9);return _0x196ea9;},_0x4ff0fb=(_0x399551,_0x604895)=>(_0x319b0f,_0x537527)=>_0x604895(_0x319b0f,_0x537527,_0x399551);_0xd0af73['SheetsPivotTableService']=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0x36d102,_0x4a7028){const _0x4294d8=_0x32a484;super(),_0x25ab16(this,'asyncInterceptor',new _0x2fa876[(_0x4294d8(0x2ab))]({'PIVOT_PERFORM_CHECK':_0x1d5a00})),_0x25ab16(this,'interceptor',new _0x2fa876['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x1a7dbe})),(this[_0x4294d8(0x46e)]=_0x36d102,this[_0x4294d8(0x24c)]=_0x4a7028,this[_0x4294d8(0x44a)]());}[_0x32a484(0x44a)](){const _0x36b639=_0x32a484;this[_0x36b639(0x4b7)]();}[_0x32a484(0x333)](_0x6a0e4e){const _0x227b06=_0x32a484;return this[_0x227b06(0x4ca)][_0x227b06(0x323)](_0x1d5a00)(!0x1,_0x6a0e4e);}['_initViewModelBySheetInterceptor'](){const _0xb31be1=_0x32a484;this['disposeWithMe'](this[_0xb31be1(0x46e)][_0xb31be1(0x4a0)](_0x30840c[_0xb31be1(0x2a8)][_0xb31be1(0x219)],{'priority':0xc8,'effect':_0x2fa876[_0xb31be1(0x3fd)][_0xb31be1(0x4a5)]|_0x2fa876[_0xb31be1(0x3fd)]['Style'],'handler':(_0x60ad4,_0x1dfebf,_0x11220c)=>{const _0x43821b=_0xb31be1,{row:_0x26e20d,col:_0x3b38d4,unitId:_0xa11f88,subUnitId:_0x3707af,workbook:_0x32882f}=_0x1dfebf,_0x369e32=this[_0x43821b(0x24c)][_0x43821b(0x311)](_0xa11f88,_0x3707af,_0x26e20d,_0x3b38d4);if(!_0x369e32)return _0x11220c(_0x60ad4);const _0x21bef6={..._0x60ad4};(_0x369e32['v']||_0x369e32['v']===0x0)&&(_0x21bef6['v']=_0x369e32['v']),_0x369e32['t']&&(_0x21bef6['t']=_0x369e32['t']);const _0x58bc75=(typeof(_0x60ad4==null?void 0x0:_0x60ad4['s'])==_0x43821b(0x373)?_0x32882f[_0x43821b(0x2bb)]()[_0x43821b(0x3fc)](_0x60ad4==null?void 0x0:_0x60ad4['s']):_0x60ad4==null?void 0x0:_0x60ad4['s'])||{},_0x2e2723=_0x32882f[_0x43821b(0x2bb)]()[_0x43821b(0x3fc)](_0x369e32['s']),_0x4423c2={..._0x2e2723,..._0x58bc75};_0x2e2723!=null&&_0x2e2723['n']&&(_0x4423c2['n']=_0x2e2723['n']);const _0x50c6e1=_0x32882f[_0x43821b(0x2bb)]()[_0x43821b(0x280)](_0x4423c2);return _0x21bef6['s']=_0x50c6e1,(_0x369e32[_0x43821b(0x22e)]===_0x33417a[_0x43821b(0x307)]['Collapse']||_0x369e32[_0x43821b(0x22e)]===_0x33417a['PivotCellStyleTypeEnum'][_0x43821b(0x4e3)])&&(_0x21bef6[_0x43821b(0x27c)]={},_0x21bef6['fontRenderExtension'][_0x43821b(0x2c1)]=_0x472598),_0x11220c(_0x21bef6);}}));}},_0xd0af73[_0x32a484(0x21f)]=_0x2d9d4a([_0x4ff0fb(0x0,_0x2fa876[_0x32a484(0x4a3)](_0x30840c[_0x32a484(0x3f1)])),_0x4ff0fb(0x1,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x404)]))],_0xd0af73[_0x32a484(0x21f)]);const _0x1b9e99={'id':_0x32a484(0x2ef),'type':_0x2fa876['CommandType']['MUTATION'],'handler':(_0x14642e,_0x3e9f82)=>{const _0x3e37f3=_0x32a484;if(!_0x3e9f82)return!0x1;if(!!_0x14642e[_0x3e37f3(0x3fc)](_0x2fa876[_0x3e37f3(0x3da)])['getConfig'](_0x51f97f))return!0x0;const {pivotTableId:_0x289011,fieldJSON:_0x12b8da,unitId:_0x4b7966,subUnitId:_0x2ece8b}=_0x3e9f82;let _0x4f1625;const {dataFieldType:_0x3a903e,id:_0x12703b,name:_0x3935eb,hexCode:_0x39b393,originalFieldId:_0x44e13b}=_0x12b8da;if(_0x3a903e===_0x33417a[_0x3e37f3(0x264)][_0x3e37f3(0x2c8)]&&(_0x4f1625=new _0x33417a[(_0x3e37f3(0x1e2))](_0x12703b,_0x3935eb,_0x39b393,_0x44e13b)),!_0x4f1625)return!0x1;const _0x3994e3=_0x14642e[_0x3e37f3(0x3fc)](_0xd0af73['SheetsPivotDataSourceModel']),_0xe2f823=_0x3994e3[_0x3e37f3(0x4b6)](_0x4b7966),_0x505e31=_0xe2f823[_0x3e37f3(0x336)](_0x289011);_0xe2f823[_0x3e37f3(0x355)](_0x4f1625),_0x505e31[_0x3e37f3(0x4e7)](_0x4f1625[_0x3e37f3(0x244)](),_0x4f1625['getName']());const _0x3872b1=_0x505e31['getFieldById'](_0x4f1625['getOriginFieldId']());_0x3872b1&&_0x4f1625['refreshGroupField'](_0x3872b1);const _0x2e80f2=_0x3994e3[_0x3e37f3(0x2e9)](_0x4b7966,_0x2ece8b,_0x289011);return _0x3994e3[_0x3e37f3(0x272)]({'unitId':_0x4b7966,'subUnitId':_0x2ece8b,'token':_0x289011,'type':_0x477731[_0x3e37f3(0x47a)],'pivotConfig':_0x2e80f2}),!0x0;}},_0xf85d51={'id':_0x32a484(0x1ee),'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'handler':(_0x32745e,_0xcf462f)=>{const _0x4fed99=_0x32a484;if(!_0xcf462f)return!0x1;if(!!_0x32745e[_0x4fed99(0x3fc)](_0x2fa876['IConfigService'])[_0x4fed99(0x28b)](_0x51f97f))return!0x0;const {pivotTableId:_0xf28a3e,dataFieldId:_0x51f106,unitId:_0x3c7032,subUnitId:_0x7df6}=_0xcf462f,_0x327b80=_0x32745e[_0x4fed99(0x3fc)](_0xd0af73[_0x4fed99(0x255)]),_0x51594b=_0x327b80['getDataFieldManager'](_0x3c7032);_0x51594b['getCollection'](_0xf28a3e)[_0x4fed99(0x3c3)](_0x51f106);let _0x21ec03=!0x0;for(const _0x3c96a0 in _0x51594b['collections'])if(_0x51594b[_0x4fed99(0x4e2)][_0x3c96a0][_0x4fed99(0x29d)]()[_0x4fed99(0x2a1)](_0x51f106)){_0x21ec03=!0x1;break;}_0x21ec03&&_0x51594b[_0x4fed99(0x240)](_0x51f106);const _0x163922=_0x327b80[_0x4fed99(0x2e9)](_0x3c7032,_0x7df6,_0xf28a3e);return _0x327b80[_0x4fed99(0x272)]({'unitId':_0x3c7032,'subUnitId':_0x7df6,'token':_0xf28a3e,'type':_0x477731[_0x4fed99(0x47a)],'pivotConfig':_0x163922}),!0x0;}};function _0x19b65e(_0x39b397,_0x4c5d1d){const _0x4bae04=_0x32a484;switch(_0x4c5d1d){case _0x33417a[_0x4bae04(0x321)][_0x4bae04(0x4a5)]:return _0x39b397[_0x4bae04(0x414)];case _0x33417a[_0x4bae04(0x321)][_0x4bae04(0x3d0)]:return _0x39b397[_0x4bae04(0x426)];case _0x33417a[_0x4bae04(0x321)][_0x4bae04(0x349)]:return _0x39b397[_0x4bae04(0x3e2)];case _0x33417a[_0x4bae04(0x321)][_0x4bae04(0x1d6)]:return _0x39b397['columnFields'];default:return[];}}function _0x549ff9(_0x2ccbee,_0x290f96){const _0x188afd=_0x32a484;return _0x2ccbee[_0x188afd(0x4ec)][_0x290f96]||_0x2ccbee[_0x188afd(0x4be)][_0x290f96];}function _0x51944e(_0x345479,_0x1da18b){const _0x3b1b3d=_0x32a484,{area:_0x266a37,fieldJson:_0x4b274b,index:_0x472884}=_0x1da18b;_0x266a37===_0x33417a['PivotTableFiledAreaEnum'][_0x3b1b3d(0x4a5)]?_0x345479[_0x3b1b3d(0x4ec)][_0x4b274b['id']]=_0x4b274b:_0x345479[_0x3b1b3d(0x4be)][_0x4b274b['id']]=_0x4b274b,_0x19b65e(_0x345479,_0x266a37)['splice'](_0x472884,0x0,_0x4b274b['id']);}function _0xe9c4ff(_0xfe7fe1,_0x2ee158){const _0x36e193=_0x32a484,{area:_0x21c5bc,fieldId:_0x18ad3a,index:_0x4a3fe6}=_0x2ee158;_0x21c5bc===_0x33417a[_0x36e193(0x321)][_0x36e193(0x4a5)]?delete _0xfe7fe1[_0x36e193(0x4ec)][_0x18ad3a]:delete _0xfe7fe1[_0x36e193(0x4be)][_0x18ad3a],_0x19b65e(_0xfe7fe1,_0x21c5bc)[_0x36e193(0x2bc)](_0x4a3fe6,0x1);}function _0x79155f(_0x5a3072,_0xdb61b){const _0x4b3850=_0x32a484,{fieldId:_0x3d1bb7,name:_0x12b17d}=_0xdb61b,_0x47eb20=_0x549ff9(_0x5a3072,_0x3d1bb7);_0x47eb20&&(_0x47eb20[_0x4b3850(0x44f)]=_0x12b17d);}function _0x25a491(_0xfe70f2,_0x8bebd9){const _0x40548d=_0x32a484,{fieldId:_0xf73e87,collapse:_0x2813b2,item:_0x5d59ba}=_0x8bebd9;_0x5d59ba!==void 0x0?(_0xfe70f2[_0x40548d(0x33f)][_0xf73e87]=_0xfe70f2[_0x40548d(0x33f)][_0xf73e87]||{},_0xfe70f2[_0x40548d(0x33f)][_0xf73e87][_0x5d59ba]=_0x2813b2):_0xfe70f2[_0x40548d(0x33f)][_0xf73e87]=_0x2813b2;}function _0x4d0632(_0x27649b,_0x58040d){const {fieldId:_0x4e8d54,format:_0x2cf9ef}=_0x58040d,_0xd6cc35=_0x549ff9(_0x27649b,_0x4e8d54);_0xd6cc35&&(_0xd6cc35['format']=_0x2cf9ef);}function _0x2f53ac(_0xc93458,_0x40d6a4){const _0xc5e181=_0x32a484,{fieldId:_0xcb5f39,filterInfo:_0x24cbca}=_0x40d6a4,_0x15dcd7=_0x549ff9(_0xc93458,_0xcb5f39);_0x15dcd7&&(_0x15dcd7[_0xc5e181(0x2f2)]=_0x24cbca);}function _0xc103f7(_0xe27a4d,_0x1522f0){const _0x58c658=_0x32a484,{fieldId:_0x3e0fa2,filterInfo:_0x3ba595}=_0x1522f0,_0x2834b0=_0xe27a4d[_0x58c658(0x4a7)][_0x58c658(0x2c6)](_0x1dfd1c=>_0x1dfd1c[_0x58c658(0x3db)]!==_0x3e0fa2);_0x3ba595&&_0x2834b0[_0x58c658(0x296)]({'fieldId':_0x3e0fa2,'filterInfo':_0x3ba595}),_0xe27a4d[_0x58c658(0x4a7)]=_0x2834b0;}function _0x428772(_0x5c4cbc,_0x485b36){const _0x47bdf4=_0x32a484,{fieldId:_0x144be8,subtotalType:_0x522045}=_0x485b36,_0xf8a630=_0x549ff9(_0x5c4cbc,_0x144be8);_0xf8a630&&(_0xf8a630[_0x47bdf4(0x343)]=_0x522045);}function _0x39acee(_0x385f68,_0x3c6fbe){const _0xdc9140=_0x32a484,{fieldId:_0x25a1b8,oldArea:_0x2c265c,area:_0x33db9a,oldIndex:_0x3f32f6,index:_0x57aa14}=_0x3c6fbe,_0x14eb18=_0x2c265c!==_0x33417a[_0xdc9140(0x321)][_0xdc9140(0x4a5)]&&_0x33db9a===_0x33417a[_0xdc9140(0x321)][_0xdc9140(0x4a5)],_0x4abf91=_0x2c265c===_0x33417a[_0xdc9140(0x321)][_0xdc9140(0x4a5)]&&_0x33db9a!==_0x33417a['PivotTableFiledAreaEnum'][_0xdc9140(0x4a5)];if(_0x14eb18||_0x4abf91){const _0x445e05=_0x549ff9(_0x385f68,_0x25a1b8);_0x445e05&&(_0x14eb18?(delete _0x385f68[_0xdc9140(0x4be)][_0x25a1b8],_0x385f68[_0xdc9140(0x4ec)][_0x25a1b8]=_0x445e05):(delete _0x385f68[_0xdc9140(0x4ec)][_0x25a1b8],_0x385f68[_0xdc9140(0x4be)][_0x25a1b8]=_0x445e05));}const _0x341ec0=_0x19b65e(_0x385f68,_0x2c265c),_0x470c47=_0x19b65e(_0x385f68,_0x33db9a);_0x341ec0[_0xdc9140(0x2bc)](_0x3f32f6,0x1),_0x470c47['splice'](_0x57aa14,0x0,_0x25a1b8);}function _0x2f8102(_0x4b50af,_0x3c1145){const _0x28f566=_0x32a484,{valuePosition:_0x25b201,index:_0xe4c037}=_0x3c1145;_0x4b50af[_0x28f566(0x3d6)]=_0x25b201,_0x4b50af[_0x28f566(0x4d4)]=_0xe4c037;}function _0x4a7475(_0x5e565c,_0x8abb54){const _0x443d50=_0x32a484,{tableFieldId:_0x3adb43,sourceName:_0x31bac7,dataFieldId:_0x5a3658}=_0x8abb54,_0x2fdc02=_0x549ff9(_0x5e565c,_0x3adb43);_0x2fdc02&&(_0x2fdc02[_0x443d50(0x3d9)]=_0x31bac7,_0x2fdc02[_0x443d50(0x422)]=_0x5a3658);}function _0x30b600(_0x422a27,_0x3d0233){const _0x40e918=_0x32a484,{fieldId:_0x32097c,sortInfo:_0x2f4908}=_0x3d0233,_0x3a7764=_0x549ff9(_0x422a27,_0x32097c);_0x3a7764&&(_0x3a7764[_0x40e918(0x21b)]=_0x2f4908);}function _0x1cc998(_0x129fe4,_0x39fd95){const _0x53517e=_0x32a484,{options:_0x331269}=_0x39fd95;_0x129fe4[_0x53517e(0x377)]={..._0x129fe4[_0x53517e(0x377)],..._0x331269};}const _0x2b9c30={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x2b9),'handler'(_0x31df95,_0x392c10){const _0x362634=_0x32a484;if(!_0x392c10)return!0x1;if(!!_0x31df95[_0x362634(0x3fc)](_0x2fa876[_0x362634(0x3da)])[_0x362634(0x28b)](_0x51f97f))return!0x0;const _0x26cbd5=_0x31df95[_0x362634(0x3fc)](_0xd0af73[_0x362634(0x255)]),{pivotTableId:_0x52d83e,fieldJson:_0x47254e,area:_0x5d5f60,index:_0x54a51,unitId:_0x2eee30,subUnitId:_0x21043b}=_0x392c10,_0x381087=_0x26cbd5[_0x362634(0x47b)](_0x52d83e);if(!_0x381087)return!0x1;let _0x4db89b;_0x5d5f60===_0x33417a[_0x362634(0x321)][_0x362634(0x4a5)]?_0x4db89b=_0x33417a['createValueField'](_0x47254e):_0x4db89b=_0x33417a[_0x362634(0x3cf)](_0x47254e),_0x381087[_0x362634(0x4e7)](_0x4db89b,_0x5d5f60,_0x54a51);const _0x7f024=_0x26cbd5[_0x362634(0x28f)](_0x2eee30,_0x21043b,_0x52d83e);_0x51944e(_0x7f024,_0x392c10);const _0x2169a5=_0x26cbd5[_0x362634(0x2e9)](_0x2eee30,_0x21043b,_0x52d83e);return _0x26cbd5[_0x362634(0x272)]({'unitId':_0x2eee30,'subUnitId':_0x21043b,'token':_0x52d83e,'type':_0x477731['Set'],'pivotConfig':_0x2169a5}),!0x0;}},_0xabb6f3={'type':_0x2fa876['CommandType'][_0x32a484(0x3c2)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x51ef23,_0x42b756){const _0x1428e8=_0x32a484;if(!_0x42b756)return!0x1;if(!!_0x51ef23[_0x1428e8(0x3fc)](_0x2fa876[_0x1428e8(0x3da)])[_0x1428e8(0x28b)](_0x51f97f))return!0x0;const _0x39ff00=_0x51ef23[_0x1428e8(0x3fc)](_0xd0af73[_0x1428e8(0x255)]),{pivotTableId:_0x4b75c6,fieldId:_0x5a718d,unitId:_0x15aae0,subUnitId:_0x2f43c5}=_0x42b756,_0x2d8b5e=_0x39ff00[_0x1428e8(0x47b)](_0x4b75c6);if(!_0x2d8b5e)return!0x1;_0x2d8b5e[_0x1428e8(0x3f8)](_0x5a718d);const _0x224eca=_0x39ff00[_0x1428e8(0x28f)](_0x15aae0,_0x2f43c5,_0x4b75c6);_0xe9c4ff(_0x224eca,_0x42b756);const _0x3f0417=_0x39ff00[_0x1428e8(0x2e9)](_0x15aae0,_0x2f43c5,_0x4b75c6);return _0x39ff00[_0x1428e8(0x272)]({'unitId':_0x15aae0,'subUnitId':_0x2f43c5,'token':_0x4b75c6,'type':_0x477731[_0x1428e8(0x47a)],'pivotConfig':_0x3f0417}),!0x0;}},_0x5cf91e={'type':_0x2fa876['CommandType']['MUTATION'],'id':_0x32a484(0x297),'handler'(_0xe045f3,_0x1042aa){const _0x39ed16=_0x32a484;if(!_0x1042aa)return!0x1;if(!!_0xe045f3[_0x39ed16(0x3fc)](_0x2fa876[_0x39ed16(0x3da)])[_0x39ed16(0x28b)](_0x51f97f))return!0x0;const _0x32fd92=_0xe045f3[_0x39ed16(0x3fc)](_0xd0af73[_0x39ed16(0x255)]),{unitId:_0xfa81ca,subUnitId:_0xbe485b,pivotTableId:_0x1747ea,fieldId:_0x56d29c,name:_0x56c5f7}=_0x1042aa,_0x3e2812=_0x32fd92['getPivotTableInstance'](_0x1747ea);if(!_0x3e2812)return!0x1;_0x3e2812['renameField'](_0x56d29c,_0x56c5f7);const _0x3b5966=_0x32fd92[_0x39ed16(0x28f)](_0xfa81ca,_0xbe485b,_0x1747ea);return _0x79155f(_0x3b5966,_0x1042aa),_0x32fd92['addDirtyPivotTable']({'unitId':_0xfa81ca,'subUnitId':_0xbe485b,'token':_0x1747ea,'type':_0x477731[_0x39ed16(0x47a)]}),!0x0;}},_0x20aabe={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x306),'handler'(_0x52888c,_0x4892c9){const _0x37523c=_0x32a484;if(!_0x4892c9)return!0x1;if(!!_0x52888c['get'](_0x2fa876['IConfigService'])['getConfig'](_0x51f97f))return!0x0;const _0x2c04c5=_0x52888c[_0x37523c(0x3fc)](_0xd0af73[_0x37523c(0x255)]),{unitId:_0x28176a,subUnitId:_0x5ee665,pivotTableId:_0x732346,fieldId:_0x494099,collapse:_0x38797d,item:_0x361639}=_0x4892c9,_0x21c8be=_0x2c04c5[_0x37523c(0x47b)](_0x732346);if(!_0x21c8be)return!0x1;_0x21c8be[_0x37523c(0x27a)](_0x494099,_0x38797d,_0x361639);const _0x207b62=_0x2c04c5[_0x37523c(0x28f)](_0x28176a,_0x5ee665,_0x732346);return _0x25a491(_0x207b62,_0x4892c9),_0x2c04c5['addDirtyPivotTable']({'unitId':_0x28176a,'subUnitId':_0x5ee665,'token':_0x732346,'type':_0x477731['Set']}),!0x0;}},_0x149f91={'type':_0x2fa876[_0x32a484(0x2f6)]['MUTATION'],'id':'sheet.mutation.set-pivot-format','handler'(_0x363164,_0x44eea2){const _0xe6fb3a=_0x32a484;if(!_0x44eea2)return!0x1;if(!!_0x363164[_0xe6fb3a(0x3fc)](_0x2fa876['IConfigService'])[_0xe6fb3a(0x28b)](_0x51f97f))return!0x0;const _0x5eff9c=_0x363164[_0xe6fb3a(0x3fc)](_0xd0af73[_0xe6fb3a(0x255)]),{unitId:_0x245290,subUnitId:_0xc2ba24,pivotTableId:_0x291990,fieldId:_0x1d50d3,format:_0xe9aac7}=_0x44eea2,_0x4bf49a=_0x5eff9c[_0xe6fb3a(0x47b)](_0x291990);if(!_0x4bf49a)return!0x1;_0x4bf49a[_0xe6fb3a(0x30a)](_0x1d50d3,_0xe9aac7);const _0xa47634=_0x5eff9c[_0xe6fb3a(0x28f)](_0x245290,_0xc2ba24,_0x291990);return _0x4d0632(_0xa47634,_0x44eea2),_0x5eff9c['addDirtyPivotTable']({'unitId':_0x245290,'subUnitId':_0xc2ba24,'token':_0x291990,'type':_0x477731['Set']}),!0x0;}},_0x540b6c={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x2a9),'handler'(_0x60d651,_0x2f5dd4){const _0x5830eb=_0x32a484;if(!_0x2f5dd4)return!0x1;if(!!_0x60d651[_0x5830eb(0x3fc)](_0x2fa876[_0x5830eb(0x3da)])['getConfig'](_0x51f97f))return!0x0;const _0x2d7c34=_0x60d651[_0x5830eb(0x3fc)](_0xd0af73[_0x5830eb(0x255)]),{unitId:_0x53fe9f,subUnitId:_0x17bbb5,pivotTableId:_0x253ab5,fieldId:_0x25e8f4,filterInfo:_0x37165f}=_0x2f5dd4,_0x174a98=_0x2d7c34[_0x5830eb(0x47b)](_0x253ab5);if(!_0x174a98)return!0x1;_0x174a98['setLabelFilterInfo'](_0x25e8f4,_0x37165f);const _0x184777=_0x2d7c34['getPivotTableModelConfig'](_0x53fe9f,_0x17bbb5,_0x253ab5);return _0x2f53ac(_0x184777,_0x2f5dd4),_0x2d7c34[_0x5830eb(0x272)]({'unitId':_0x53fe9f,'subUnitId':_0x17bbb5,'token':_0x253ab5,'type':_0x477731['Set']}),!0x0;}},_0x3e8bcd={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x444),'handler'(_0x14a8f1,_0x166376){const _0x3222e2=_0x32a484;if(!_0x166376)return!0x1;if(!!_0x14a8f1[_0x3222e2(0x3fc)](_0x2fa876[_0x3222e2(0x3da)])['getConfig'](_0x51f97f))return!0x0;const _0x7d3d7d=_0x14a8f1[_0x3222e2(0x3fc)](_0xd0af73[_0x3222e2(0x255)]),{unitId:_0x50a838,subUnitId:_0xa6a9e2,pivotTableId:_0x48e424,options:_0xe0b81c}=_0x166376,_0x12c11a=_0x7d3d7d[_0x3222e2(0x47b)](_0x48e424);if(!_0x12c11a)return!0x1;_0x12c11a[_0x3222e2(0x32a)](_0xe0b81c);const _0x1d0768=_0x7d3d7d[_0x3222e2(0x28f)](_0x50a838,_0xa6a9e2,_0x48e424);return _0x1cc998(_0x1d0768,_0x166376),_0x7d3d7d[_0x3222e2(0x272)]({'unitId':_0x50a838,'subUnitId':_0xa6a9e2,'token':_0x48e424,'type':_0x477731['Set']}),!0x0;}},_0x3b5bf2={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x4a4),'handler'(_0x574d85,_0x2d4748){const _0x368e23=_0x32a484;if(!_0x2d4748)return!0x1;if(!!_0x574d85['get'](_0x2fa876['IConfigService'])['getConfig'](_0x51f97f))return!0x0;const _0x367752=_0x574d85[_0x368e23(0x3fc)](_0xd0af73[_0x368e23(0x255)]),{unitId:_0x188830,subUnitId:_0x530943,pivotTableId:_0x95abfe,sortInfo:_0x10aa3d,fieldId:_0x386d01}=_0x2d4748,_0x309c1e=_0x367752[_0x368e23(0x47b)](_0x95abfe);if(!_0x309c1e)return!0x1;_0x309c1e[_0x368e23(0x234)](_0x386d01,_0x10aa3d);const _0x302ac7=_0x367752[_0x368e23(0x28f)](_0x188830,_0x530943,_0x95abfe);return _0x30b600(_0x302ac7,_0x2d4748),_0x367752[_0x368e23(0x272)]({'unitId':_0x188830,'subUnitId':_0x530943,'token':_0x95abfe,'type':_0x477731['Set']}),!0x0;}},_0x549329={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x30c),'handler'(_0x2d87de,_0x1c4a6b){const _0xeeb16c=_0x32a484;if(!_0x1c4a6b)return!0x1;if(!!_0x2d87de['get'](_0x2fa876[_0xeeb16c(0x3da)])[_0xeeb16c(0x28b)](_0x51f97f))return!0x0;const _0x15d51c=_0x2d87de['get'](_0xd0af73[_0xeeb16c(0x255)]),{unitId:_0x127815,subUnitId:_0xb63fd1,pivotTableId:_0x4c2b86,fieldId:_0x294ede,subtotalType:_0x5e458f}=_0x1c4a6b,_0x5794cb=_0x15d51c[_0xeeb16c(0x47b)](_0x4c2b86);if(!_0x5794cb)return!0x1;_0x5794cb[_0xeeb16c(0x253)](_0x294ede,_0x5e458f);const _0x4f95a9=_0x15d51c[_0xeeb16c(0x28f)](_0x127815,_0xb63fd1,_0x4c2b86);return _0x428772(_0x4f95a9,_0x1c4a6b),_0x15d51c[_0xeeb16c(0x272)]({'unitId':_0x127815,'subUnitId':_0xb63fd1,'token':_0x4c2b86,'type':_0x477731[_0xeeb16c(0x47a)]}),!0x0;}},_0xa23cd8={'type':_0x2fa876[_0x32a484(0x2f6)]['MUTATION'],'id':_0x32a484(0x433),'handler'(_0x23e20e,_0x5d8cf7){const _0x1ae715=_0x32a484;if(!_0x5d8cf7)return!0x1;if(!!_0x23e20e[_0x1ae715(0x3fc)](_0x2fa876['IConfigService'])[_0x1ae715(0x28b)](_0x51f97f))return!0x0;const _0x2f162b=_0x23e20e[_0x1ae715(0x3fc)](_0xd0af73[_0x1ae715(0x255)]),{unitId:_0x484d6e,subUnitId:_0x50b11b,pivotTableId:_0x7e0c52,fieldId:_0x4c8c40,filterInfo:_0x3733ea}=_0x5d8cf7,_0x1dbcbf=_0x2f162b['getPivotTableInstance'](_0x7e0c52);if(!_0x1dbcbf)return!0x1;_0x1dbcbf[_0x1ae715(0x24a)](_0x4c8c40,_0x3733ea);const _0x35474d=_0x2f162b[_0x1ae715(0x28f)](_0x484d6e,_0x50b11b,_0x7e0c52);return _0xc103f7(_0x35474d,_0x5d8cf7),_0x2f162b[_0x1ae715(0x272)]({'unitId':_0x484d6e,'subUnitId':_0x50b11b,'token':_0x7e0c52,'type':_0x477731[_0x1ae715(0x47a)]}),!0x0;}},_0x29c946={'type':_0x2fa876['CommandType'][_0x32a484(0x3c2)],'id':_0x32a484(0x305),'handler'(_0x3c5408,_0x135c96){const _0x5a3278=_0x32a484;if(!_0x135c96)return!0x1;if(!!_0x3c5408[_0x5a3278(0x3fc)](_0x2fa876[_0x5a3278(0x3da)])[_0x5a3278(0x28b)](_0x51f97f))return!0x0;const _0x179546=_0x3c5408[_0x5a3278(0x3fc)](_0xd0af73[_0x5a3278(0x255)]),{unitId:_0xda1ee1,subUnitId:_0x2ec183,pivotTableId:_0x5306fe,area:_0x268e0a,index:_0x48ef25,fieldId:_0x52c0e1}=_0x135c96,_0x89e49a=_0x179546[_0x5a3278(0x47b)](_0x5306fe);if(!_0x89e49a)return!0x1;_0x89e49a['updateFieldPosition'](_0x52c0e1,_0x268e0a,_0x48ef25);const _0x18c61a=_0x179546[_0x5a3278(0x28f)](_0xda1ee1,_0x2ec183,_0x5306fe);return _0x39acee(_0x18c61a,_0x135c96),_0x179546[_0x5a3278(0x272)]({'unitId':_0xda1ee1,'subUnitId':_0x2ec183,'token':_0x5306fe,'type':_0x477731[_0x5a3278(0x47a)]}),!0x0;}},_0x10d193={'type':_0x2fa876['CommandType'][_0x32a484(0x3c2)],'id':_0x32a484(0x205),'handler'(_0x2f2056,_0x4509fa){const _0x99e95c=_0x32a484;if(!_0x4509fa)return!0x1;if(!!_0x2f2056[_0x99e95c(0x3fc)](_0x2fa876[_0x99e95c(0x3da)])[_0x99e95c(0x28b)](_0x51f97f))return!0x0;const _0x1db580=_0x2f2056[_0x99e95c(0x3fc)](_0xd0af73[_0x99e95c(0x255)]),{unitId:_0x4b0f6a,subUnitId:_0x329b53,pivotTableId:_0x2ff90e,sourceName:_0x34a219,dataFieldId:_0x4d37ac,tableFieldId:_0x5271dd}=_0x4509fa,_0x474b36=_0x1db580[_0x99e95c(0x47b)](_0x2ff90e);if(!_0x474b36)return!0x1;_0x474b36[_0x99e95c(0x47e)](_0x5271dd,_0x34a219,_0x4d37ac);const _0x374dcb=_0x1db580[_0x99e95c(0x28f)](_0x4b0f6a,_0x329b53,_0x2ff90e);return _0x4a7475(_0x374dcb,_0x4509fa),_0x1db580[_0x99e95c(0x272)]({'unitId':_0x4b0f6a,'subUnitId':_0x329b53,'token':_0x2ff90e,'type':_0x477731[_0x99e95c(0x47a)]}),!0x0;}},_0x16697b={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x424),'handler'(_0x50e0d2,_0xcb3a79){const _0x7ca2ce=_0x32a484;if(!_0xcb3a79)return!0x1;if(!!_0x50e0d2['get'](_0x2fa876[_0x7ca2ce(0x3da)])[_0x7ca2ce(0x28b)](_0x51f97f))return!0x0;const _0x39abdb=_0x50e0d2[_0x7ca2ce(0x3fc)](_0xd0af73[_0x7ca2ce(0x255)]),{unitId:_0x23a9c8,subUnitId:_0x4bca5b,pivotTableId:_0xb5b007,valuePosition:_0x1819bb,index:_0x1ca4b8}=_0xcb3a79,_0x9f191c=_0x39abdb['getPivotTableInstance'](_0xb5b007);if(!_0x9f191c)return!0x1;_0x9f191c['updateValuePosition'](_0x1819bb,_0x1ca4b8);const _0x3d1081=_0x39abdb[_0x7ca2ce(0x28f)](_0x23a9c8,_0x4bca5b,_0xb5b007);return _0x2f8102(_0x3d1081,_0xcb3a79),_0x39abdb[_0x7ca2ce(0x272)]({'unitId':_0x23a9c8,'subUnitId':_0x4bca5b,'token':_0xb5b007,'type':_0x477731[_0x7ca2ce(0x47a)]}),!0x0;}};function _0x5706b0(_0xe21220,_0x389e9b,_0x2dd852){const _0x5b4b70=_0x32a484,{pivotTableId:_0x2726e4,unitId:_0x467001,subUnitId:_0x21612b}=_0x389e9b,_0x550374=[],_0x13b75b=[];for(const _0x78b001 of _0x2dd852)switch(_0x78b001[_0x5b4b70(0x38a)]){case _0x33417a[_0x5b4b70(0x439)]['AddField']:{const {fieldJson:_0x27f1bf,area:_0x2a4800,index:_0x155bd2}=_0x78b001,_0x21d286={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldJson':_0x27f1bf,'area':_0x2a4800,'index':_0x155bd2},_0x1bd063={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x27f1bf['id'],'area':_0x2a4800,'index':_0x155bd2};_0x550374[_0x5b4b70(0x296)]({'id':_0x2b9c30['id'],'params':_0x21d286}),_0x13b75b[_0x5b4b70(0x41d)]({'id':_0xabb6f3['id'],'params':_0x1bd063});}break;case _0x33417a['PivotTableChangeTypeEnum'][_0x5b4b70(0x224)]:{const {fieldId:_0x555a2e,newSubtotalType:_0xc0d85,oldSubtotalType:_0x2c8613}=_0x78b001,_0x356bfe={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x555a2e,'subtotalType':_0xc0d85};_0x550374[_0x5b4b70(0x296)]({'id':_0x549329['id'],'params':_0x356bfe});const _0x2418e9={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x555a2e,'subtotalType':_0x2c8613};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x549329['id'],'params':_0x2418e9});}break;case _0x33417a['PivotTableChangeTypeEnum'][_0x5b4b70(0x23e)]:{const {fieldId:_0x152d91,fieldJson:_0x3312a0,area:_0x1a2cec,index:_0x4d71f8}=_0x78b001,_0x40e9ce={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x152d91,'index':_0x4d71f8,'area':_0x1a2cec};_0x550374['push']({'id':_0xabb6f3['id'],'params':_0x40e9ce});const _0x2e9003={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldJson':_0x3312a0,'area':_0x1a2cec,'index':_0x4d71f8};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x2b9c30['id'],'params':_0x2e9003});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x3e0)]:{const {fieldId:_0x5a08c2,oldName:_0x11bd06,newName:_0x5d39c7}=_0x78b001,_0x2684f2={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x5a08c2,'name':_0x5d39c7};_0x550374[_0x5b4b70(0x296)]({'id':_0x5cf91e['id'],'params':_0x2684f2});const _0x4f1026={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x5a08c2,'name':_0x11bd06};_0x13b75b['unshift']({'id':_0x5cf91e['id'],'params':_0x4f1026});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x33c)]:{const {fieldId:_0x33a86f,oldFilterInfo:_0x24d06f,newFilterInfo:_0x28a26d}=_0x78b001,_0x577997={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x33a86f,'filterInfo':_0x28a26d};_0x550374[_0x5b4b70(0x296)]({'id':_0x540b6c['id'],'params':_0x577997});const _0x24c2e6={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x33a86f,'filterInfo':_0x24d06f};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x540b6c['id'],'params':_0x24c2e6});}break;case _0x33417a['PivotTableChangeTypeEnum'][_0x5b4b70(0x3ec)]:{const {fieldId:_0x23edf3,oldSortInfo:_0x276286,newSortInfo:_0x1effa4}=_0x78b001,_0x2beb49={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x23edf3,'sortInfo':_0x1effa4};_0x550374[_0x5b4b70(0x296)]({'id':_0x3b5bf2['id'],'params':_0x2beb49});const _0x54c7f3={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x23edf3,'sortInfo':_0x276286};_0x13b75b['unshift']({'id':_0x3b5bf2['id'],'params':_0x54c7f3});}break;case _0x33417a['PivotTableChangeTypeEnum'][_0x5b4b70(0x2d1)]:{const {oldOptions:_0x2b1f5a,newOptions:_0x3f5a03}=_0x78b001,_0x1397be={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'options':_0x3f5a03};_0x550374['push']({'id':_0x3e8bcd['id'],'params':_0x1397be});const _0x135536={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'options':_0x2b1f5a};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x3e8bcd['id'],'params':_0x135536});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x26e)]:{const {oldArea:_0x772d6a,newArea:_0x4120fa,oldIndex:_0x4a5973,newIndex:_0x5ae22c,fieldId:_0x3f06ec}=_0x78b001,_0x5efd04={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x3f06ec,'area':_0x4120fa,'index':_0x5ae22c,'oldArea':_0x772d6a,'oldIndex':_0x4a5973};_0x550374[_0x5b4b70(0x296)]({'id':_0x29c946['id'],'params':_0x5efd04});const _0x1173a6={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x3f06ec,'area':_0x772d6a,'index':_0x4a5973,'oldArea':_0x4120fa,'oldIndex':_0x5ae22c};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x29c946['id'],'params':_0x1173a6});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x3ba)]:{const {oldValuePosition:_0x509c4b,newValuePosition:_0x27c00e,oldIndex:_0x3b973a,newIndex:_0x2ba5e8}=_0x78b001,_0x14aa36={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'valuePosition':_0x27c00e,'index':_0x2ba5e8};_0x550374['push']({'id':_0x16697b['id'],'params':_0x14aa36});const _0x176ccc={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'valuePosition':_0x509c4b,'index':_0x3b973a};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x16697b['id'],'params':_0x176ccc});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x273)]:{const {fieldId:_0x37e93a,collapse:_0x2d63d5,item:_0x236e8f}=_0x78b001,_0x24ec69={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x37e93a,'collapse':_0x2d63d5,'item':_0x236e8f};_0x550374[_0x5b4b70(0x296)]({'id':_0x20aabe['id'],'params':_0x24ec69});const _0x4e6f7d={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x37e93a,'collapse':!_0x2d63d5,'item':_0x236e8f};_0x13b75b['unshift']({'id':_0x20aabe['id'],'params':_0x4e6f7d});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x2ee)]:{const {newFormat:_0x26ed9f,oldFormat:_0x500e1c,fieldId:_0x53d12e}=_0x78b001,_0x221e55={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x53d12e,'format':_0x26ed9f};_0x550374[_0x5b4b70(0x296)]({'id':_0x149f91['id'],'params':_0x221e55});const _0x40843f={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0x53d12e,'format':_0x500e1c};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0x149f91['id'],'params':_0x40843f});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x42c)]:{const {tableFieldId:_0xbfa243,oldSourceName:_0x3e084c,newSourceName:_0xd5efa1,oldDataFieldId:_0xf74637,newDataFieldId:_0x410afa}=_0x78b001,_0x5d8091={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'tableFieldId':_0xbfa243,'sourceName':_0xd5efa1,'dataFieldId':_0x410afa};_0x550374['push']({'id':_0x10d193['id'],'params':_0x5d8091});const _0x3208ea={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'tableFieldId':_0xbfa243,'sourceName':_0x3e084c,'dataFieldId':_0xf74637};_0x13b75b['unshift']({'id':_0x10d193['id'],'params':_0x3208ea});}break;case _0x33417a[_0x5b4b70(0x439)][_0x5b4b70(0x3f9)]:{const {fieldId:_0xad3e3e,filterInfo:_0x30091b,oldFilterInfo:_0x3b2718}=_0x78b001,_0x323961={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0xad3e3e,'filterInfo':_0x30091b};_0x550374[_0x5b4b70(0x296)]({'id':_0xa23cd8['id'],'params':_0x323961});const _0x28a1a4={'unitId':_0x467001,'subUnitId':_0x21612b,'pivotTableId':_0x2726e4,'fieldId':_0xad3e3e,'filterInfo':_0x3b2718};_0x13b75b[_0x5b4b70(0x41d)]({'id':_0xa23cd8['id'],'params':_0x28a1a4});}}return{'redos':_0x550374,'undos':_0x13b75b};}function _0x460318(_0xe10290,_0x4452e4){const _0x5aca1d=_0x32a484;var _0x518d64;const _0x55197a=_0xe10290['get'](_0xd0af73[_0x5aca1d(0x21f)]),{cellInfo:_0x3988f9,view:_0xa77f2d,isEmpty:_0x134470}=_0x4452e4;return(_0x518d64=_0x55197a['interceptor'][_0x5aca1d(0x247)](_0x1a7dbe)(_0x47aadf,{'cellInfo':_0x3988f9,'view':_0xa77f2d,'isEmpty':_0x134470}))!=null?_0x518d64:_0x47aadf;}const _0x2d335d={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x2d3),async 'handler'(_0x80ec7f,_0x769914){const _0x4bea60=_0x32a484;if(!_0x769914)return!0x1;const _0x3b6d6b=_0x80ec7f['get'](_0x2fa876[_0x4bea60(0x41b)]),_0x21a7fb=_0x80ec7f[_0x4bea60(0x3fc)](_0xd0af73[_0x4bea60(0x3af)]),_0x5f5593=_0x80ec7f[_0x4bea60(0x3fc)](_0x2fa876[_0x4bea60(0x3bc)]),{pivotTableId:_0x35c68b,dataFieldId:_0x4cdc3f,fieldArea:_0x353eac,index:_0x23d4a3,unitId:_0x1102ea,subUnitId:_0x1d366c}=_0x769914,_0x70ccc3=(await _0x21a7fb[_0x4bea60(0x263)]({'unitId':_0x1102ea,'subUnitId':_0x1d366c,'pivotTableId':_0x35c68b,'params':{'type':_0x1ce851[_0x4bea60(0x357)],'addPivotField':{'dataFieldId':_0x4cdc3f,'fieldArea':_0x353eac,'index':_0x23d4a3}}}))[_0x4bea60(0x210)][_0x4bea60(0x385)];if(!_0x70ccc3)return!0x1;const {view:_0x14000c,changesets:_0x3fcdb2,isEmpty:_0x3abdee,pivotTableConfig:_0x1e67fe,shouldBeAddedGroupJSON:_0x20fe91}=_0x70ccc3,_0x44aa1b=_0x1e67fe[_0x4bea60(0x412)],_0x753fd9=new _0x33417a[(_0x4bea60(0x22b))]();_0x753fd9[_0x4bea60(0x298)](_0x14000c);const _0x2ca09a={'cellInfo':_0x44aa1b,'view':_0x753fd9,'isEmpty':_0x3abdee};if(!await _0x80ec7f['get'](_0xd0af73[_0x4bea60(0x21f)])[_0x4bea60(0x4ca)][_0x4bea60(0x323)](_0x1d5a00)(!0x0,_0x2ca09a))return!0x1;const _0x2ccee6=_0x36c3d6(_0x80ec7f,_0x753fd9,_0x44aa1b,_0x3abdee),_0x4954df=_0x460318(_0x80ec7f,_0x2ca09a),{undos:_0x22fc41,redos:_0xb3b3a7}=_0x5706b0(_0x3b6d6b,{'pivotTableId':_0x35c68b,'unitId':_0x1102ea,'subUnitId':_0x1d366c},_0x3fcdb2);return _0x20fe91&&(_0xb3b3a7[_0x4bea60(0x41d)]({'id':_0x1b9e99['id'],'params':{'pivotTableId':_0x35c68b,'fieldJSON':_0x20fe91,'unitId':_0x1102ea,'subUnitId':_0x1d366c}}),_0x22fc41['push']({'id':_0xf85d51['id'],'params':{'pivotTableId':_0x35c68b,'dataFieldId':_0x20fe91['id'],'unitId':_0x1102ea,'subUnitId':_0x1d366c}})),_0x2fa876[_0x4bea60(0x3e6)]([..._0x2ccee6['redos'],..._0x4954df['redos'],..._0xb3b3a7],_0x3b6d6b),_0x5f5593['pushUndoRedo']({'unitID':_0x1102ea,'redoMutations':[..._0x2ccee6['redos'],..._0x4954df[_0x4bea60(0x390)],..._0xb3b3a7],'undoMutations':[..._0x2ccee6[_0x4bea60(0x443)],..._0x4954df[_0x4bea60(0x443)],..._0x22fc41]}),!0x0;}},_0x4eaa1d=()=>typeof process<'u'&&process[_0x32a484(0x1f3)]!=null&&process['versions'][_0x32a484(0x46f)]!=null,_0x22c246={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x37b),'handler'(_0x380944,_0x1c2db8){const _0xca3b10=_0x32a484;var _0x576193;if(!_0x1c2db8)return!0x1;const _0x35e7cb=_0x380944['get'](_0x2fa876[_0xca3b10(0x3da)]);if(!!_0x35e7cb[_0xca3b10(0x28b)](_0x51f97f))return!0x0;const _0x2e8b8c=_0x380944[_0xca3b10(0x3fc)](_0x2fa876[_0xca3b10(0x361)]),_0x53f69b=_0x380944[_0xca3b10(0x3fc)](_0xd0af73[_0xca3b10(0x255)]),{pivotTableId:_0x76a9a2,pivotTableConfig:_0xdb9854,collectionConfig:_0x5039aa,unitId:_0x98f669,subUnitId:_0x4e30db}=_0x1c2db8,{sourceRangeInfo:_0x24939b,fieldsConfig:_0x406d5a,targetCellInfo:_0xa4d29}=_0xdb9854,_0x58242b=_0x2e8b8c[_0xca3b10(0x1e4)](_0x98f669);if(!_0x58242b||!_0x58242b[_0xca3b10(0x493)](_0x4e30db))return!0x1;if(!_0x4eaa1d()){let _0x3156f3=0x0;_0x58242b[_0xca3b10(0x36a)]()['forEach'](_0x42c49a=>{const _0x46ce3c=_0xca3b10;var _0x3ecc34,_0x109133;_0x3156f3+=(_0x109133=(_0x3ecc34=_0x53f69b[_0x46ce3c(0x40b)](_0x98f669,_0x42c49a['getSheetId']()))==null?void 0x0:_0x3ecc34[_0x46ce3c(0x40c)])!=null?_0x109133:0x0;});const _0x22b07d=(_0x576193=_0x35e7cb['getConfig'](_0x4baa44[_0xca3b10(0x3fe)]))!=null?_0x576193:{},{ls:_0x4968e1,pbk:_0x200e21}=_0x22b07d;if(!_0x63db07(_0x4968e1,_0x200e21))throw new _0x2fa876[(_0xca3b10(0x3cc))]('limit\x20pivot');const _0x2a5634=_0x2d207d(_0x1c1f87,_0x4968e1,_0x200e21)[_0xca3b10(0x3cd)];if(_0x3156f3>=_0x2a5634)throw new _0x2fa876['CustomCommandExecutionError'](_0xca3b10(0x2ea));}if(!_0x5039aa||!_0x406d5a)return!0x1;const {collection:_0x1d2d18,updateDataFieldList:_0x4bb30e}=_0x53f69b[_0xca3b10(0x20b)](_0x76a9a2,_0x5039aa,_0x24939b,_0xa4d29);_0x53f69b[_0xca3b10(0x381)](_0x1d2d18,_0x4bb30e,_0x24939b);const _0x56c14e=new _0x33417a[(_0xca3b10(0x28e))](_0x1d2d18,void 0x0,_0x76a9a2);_0x56c14e[_0xca3b10(0x232)](_0x406d5a);const _0x57e162=JSON[_0xca3b10(0x496)](JSON[_0xca3b10(0x277)](_0xdb9854));return _0x53f69b[_0xca3b10(0x30f)](_0x98f669,_0x4e30db,_0x76a9a2,_0x56c14e,_0x57e162),_0x53f69b[_0xca3b10(0x272)]({'unitId':_0x98f669,'subUnitId':_0x4e30db,'token':_0x76a9a2,'type':_0x477731[_0xca3b10(0x401)],'pivotConfig':_0x57e162}),!0x0;}},_0x500188={'type':_0x2fa876['CommandType'][_0x32a484(0x387)],'id':_0x32a484(0x345),async 'handler'(_0x448444,_0x36f871){const _0xf29954=_0x32a484;if(!_0x36f871)return!0x1;const {sourceDataInfo:_0xdaa46e,pivotTableConfig:_0x595f87}=_0x36f871;if(!_0xdaa46e||!_0x595f87)return!0x1;const {unitId:_0x9ec546,subUnitId:_0x2434c2,range:_0x3bfed0}=_0xdaa46e,_0x216aaa=_0x448444[_0xf29954(0x3fc)](_0x2fa876[_0xf29954(0x361)]),_0x39a7a6=_0x448444[_0xf29954(0x3fc)](_0xd0af73['SheetsPivotRPCService']),_0x4df87a=_0x448444[_0xf29954(0x3fc)](_0x2fa876[_0xf29954(0x3d2)]),_0x1af6bf=_0x448444['get'](_0x2fa876[_0xf29954(0x41b)]),_0x4e5564=_0x216aaa[_0xf29954(0x1e4)](_0x9ec546);if(!_0x4e5564)return!0x1;const _0xa86e98=_0x4e5564[_0xf29954(0x493)](_0x2434c2);if(!_0xa86e98)return!0x1;const _0x2a49c5=_0x33417a[_0xf29954(0x35b)](0x8),_0x2fec39=_0x3bfed0||{'startRow':0x0,'startColumn':0x0,'endRow':_0xa86e98[_0xf29954(0x4b4)]()-0x1,'endColumn':_0xa86e98['getColumnCount']()-0x1};_0x2fec39[_0xf29954(0x26d)]=_0x2fa876[_0xf29954(0x410)][_0xf29954(0x395)];const _0x40e25e=(await _0x39a7a6[_0xf29954(0x263)]({'unitId':_0x9ec546,'subUnitId':_0x2434c2,'pivotTableId':_0x2a49c5,'params':{'type':_0x1ce851['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x9ec546,'sheetName':_0xa86e98[_0xf29954(0x22d)](),'subUnitId':_0x2434c2,'range':_0x2fec39},'pivotTableId':_0x2a49c5,'pivotTableIndexConfig':_0x595f87}}}))[_0xf29954(0x210)][_0xf29954(0x1f2)];if(!_0x40e25e)return!0x1;const {isEmpty:_0x43748e,fieldsConfig:_0x2d24a1,collectionConfig:_0x4eaeda,changesets:_0x2d7541}=_0x40e25e,_0x5a7803=_0x4e5564[_0xf29954(0x36a)]()['length'],_0x15df0a=_0x2fa876['mergeWorksheetSnapshotWithDefault']({'rowCount':_0xa86e98[_0xf29954(0x4b4)]()-0x1,'columnCount':_0xa86e98[_0xf29954(0x485)]()-0x1});_0x15df0a['id']=_0x2fa876[_0xf29954(0x39c)](),_0x15df0a[_0xf29954(0x4d2)]=_0x4e5564[_0xf29954(0x238)](''+_0x4df87a['t']('sheets.tabs.sheet'));const _0x2fb2dd={'index':_0x5a7803,'sheet':_0x15df0a,'unitId':_0x9ec546},{redos:_0x1109fa}=_0x5706b0(_0x1af6bf,{'pivotTableId':_0x2a49c5,'unitId':_0x9ec546,'subUnitId':_0x15df0a['id']},_0x2d7541),_0x520a78=[{'id':_0x30840c['InsertSheetCommand']['id'],'params':_0x2fb2dd},{'id':_0x22c246['id'],'params':{'unitId':_0x9ec546,'subUnitId':_0x15df0a['id'],'pivotTableId':_0x2a49c5,'pivotTableConfig':{'isEmpty':_0x43748e,'fieldsConfig':_0x2d24a1,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x9ec546,'subUnitId':_0x15df0a['id']},'sourceRangeInfo':{'subUnitId':_0x2434c2,'unitId':_0x9ec546,'range':_0x2fec39,'sheetName':_0xa86e98[_0xf29954(0x22d)]()}},'collectionConfig':_0x4eaeda}},..._0x1109fa];return _0x2fa876['sequenceExecute'](_0x520a78,_0x1af6bf),!0x0;}},_0xe28166={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x519a46,_0x1d503f){const _0x3e12c9=_0x32a484;if(!_0x1d503f)return!0x1;if(!!_0x519a46[_0x3e12c9(0x3fc)](_0x2fa876[_0x3e12c9(0x3da)])[_0x3e12c9(0x28b)](_0x51f97f))return!0x0;const {pivotTableId:_0x4faae4,unitId:_0x19231e,subUnitId:_0x39276b}=_0x1d503f,_0x48a40d=_0x519a46[_0x3e12c9(0x3fc)](_0xd0af73[_0x3e12c9(0x255)]);return _0x48a40d[_0x3e12c9(0x2e9)](_0x19231e,_0x39276b,_0x4faae4)?(_0x48a40d['addDirtyPivotTable']({'unitId':_0x19231e,'subUnitId':_0x39276b,'token':_0x4faae4,'type':_0x477731[_0x3e12c9(0x3df)]}),_0x48a40d['removePivotTable'](_0x19231e,_0x39276b,_0x4faae4),!0x0):!0x1;}},_0x15728c={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x350),async 'handler'(_0x519aad,_0x323595){const _0x7f8e38=_0x32a484;var _0x686da5,_0x47a09f;const _0x5f50ad=_0x519aad[_0x7f8e38(0x3fc)](_0x2fa876[_0x7f8e38(0x41b)]),_0x2473c4=_0x519aad[_0x7f8e38(0x3fc)](_0x2fa876['IUniverInstanceService']),_0x43e36e=_0x519aad['get'](_0x2fa876[_0x7f8e38(0x3d2)]),_0xa7b1c8=_0x519aad[_0x7f8e38(0x3fc)](_0xd0af73[_0x7f8e38(0x3af)]),_0x4b039e=_0x519aad[_0x7f8e38(0x3fc)](_0x2fa876[_0x7f8e38(0x3bc)]),_0x5a8f55=_0x519aad['get'](_0xd0af73['SheetsPivotTableConfigModel']),_0x32d905=_0x519aad[_0x7f8e38(0x3fc)](_0x2fa876[_0x7f8e38(0x3da)]);if(!_0x323595)return!0x1;const {pivotTableConfig:_0x455dca,positionType:_0x10aa00}=_0x323595,{targetCellInfo:_0x1c7360,sourceRangeInfo:_0x2cd4b2}=_0x455dca,{unitId:_0xf9bd07,subUnitId:_0x336c23}=_0x1c7360,_0x34a69a=_0x2473c4[_0x7f8e38(0x1e4)](_0xf9bd07);if(!_0x34a69a)return!0x1;let _0x217982=0x0;_0x34a69a[_0x7f8e38(0x36a)]()[_0x7f8e38(0x4c2)](_0x5af7e7=>{const _0x562e37=_0x7f8e38;var _0x2e60c1,_0x58c537;_0x217982+=(_0x58c537=(_0x2e60c1=_0x5a8f55['getSubUnitPivotConfigs'](_0xf9bd07,_0x5af7e7[_0x562e37(0x2ca)]()))==null?void 0x0:_0x2e60c1[_0x562e37(0x40c)])!=null?_0x58c537:0x0;});const _0x3555f0=(_0x686da5=_0x32d905['getConfig'](_0x4baa44['LS_CONFIG_KEY']))!=null?_0x686da5:{},{ls:_0x15da86,pbk:_0x231520}=_0x3555f0;if(!_0x63db07(_0x15da86,_0x231520))return!0x1;const _0x109002=_0x2d207d(_0x1c1f87,_0x15da86,_0x231520)[_0x7f8e38(0x3cd)];if(_0x217982>=_0x109002)return!0x1;const _0x2f866c=_0x323595[_0x7f8e38(0x3eb)]||_0x33417a[_0x7f8e38(0x35b)](0x8),_0x2b2b6d=(await _0xa7b1c8['getPivotDisplayConfig']({'unitId':_0xf9bd07,'subUnitId':_0x336c23,'pivotTableId':_0x2f866c,'params':{'type':_0x1ce851['AddPivotTable'],'addPivotTable':{'sourceRangeInfo':_0x2cd4b2,'pivotTableId':_0x2f866c}}}))[_0x7f8e38(0x210)][_0x7f8e38(0x30f)];if(!_0x2b2b6d)return!0x1;const {view:_0x50ed83,isEmpty:_0x5d9dde,fieldsConfig:_0x1751f8,collectionConfig:_0x2b3d78}=_0x2b2b6d,_0x108441=[],_0x56801e=[];if(_0x10aa00===_0x323c52[_0x7f8e38(0x200)]){const _0x1adca4=_0x34a69a[_0x7f8e38(0x36a)]()[_0x7f8e38(0x249)],_0x165176=_0x2fa876[_0x7f8e38(0x460)]({});_0x165176['id']=_0x455dca['targetCellInfo'][_0x7f8e38(0x2fa)],_0x165176[_0x7f8e38(0x4d2)]=(_0x47a09f=_0x455dca['targetCellInfo'][_0x7f8e38(0x329)])!=null?_0x47a09f:_0x34a69a[_0x7f8e38(0x238)](''+_0x43e36e['t'](_0x7f8e38(0x499)));const _0x261444={'index':_0x1adca4,'sheet':_0x165176,'unitId':_0xf9bd07},_0x32fd69=_0x30840c[_0x7f8e38(0x1e1)](_0x519aad,_0x261444);_0x108441['push']({'id':_0x30840c[_0x7f8e38(0x22f)]['id'],'params':_0x32fd69}),_0x56801e['push']({'id':_0x30840c[_0x7f8e38(0x3dd)]['id'],'params':_0x261444});}else{if(!_0x34a69a[_0x7f8e38(0x493)](_0x336c23))return!0x1;const _0x183c64=_0x36c3d6(_0x519aad,new _0x33417a[(_0x7f8e38(0x22b))](),_0x1c7360,!0x0);_0x56801e[_0x7f8e38(0x296)](..._0x183c64[_0x7f8e38(0x390)]),_0x108441['push'](..._0x183c64[_0x7f8e38(0x443)]);const _0x33d1a3={'cellInfo':_0x1c7360,'view':_0x50ed83,'isEmpty':_0x5d9dde};if(!await _0x519aad['get'](_0xd0af73['SheetsPivotTableService'])[_0x7f8e38(0x4ca)][_0x7f8e38(0x323)](_0x1d5a00)(!0x0,_0x33d1a3))return!0x1;const _0x84993b=_0x460318(_0x519aad,_0x33d1a3);_0x56801e[_0x7f8e38(0x296)](..._0x84993b[_0x7f8e38(0x390)]),_0x108441[_0x7f8e38(0x296)](..._0x84993b['undos']);}return _0x56801e[_0x7f8e38(0x296)]({'id':_0x22c246['id'],'params':{'unitId':_0x1c7360[_0x7f8e38(0x211)],'subUnitId':_0x1c7360[_0x7f8e38(0x2fa)],'pivotTableId':_0x2f866c,'pivotTableConfig':{'targetCellInfo':_0x1c7360,'sourceRangeInfo':_0x2cd4b2,'fieldsConfig':_0x1751f8},'collectionConfig':_0x2b3d78}}),_0x108441[_0x7f8e38(0x41d)]({'id':_0xe28166['id'],'params':{'unitId':_0xf9bd07,'subUnitId':_0x336c23,'pivotTableId':_0x2f866c}}),_0x2fa876['sequenceExecute'](_0x56801e,_0x5f50ad)&&_0x4b039e['pushUndoRedo']({'unitID':_0xf9bd07,'undoMutations':_0x108441,'redoMutations':_0x56801e}),!0x0;}},_0x4cb5ef={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x301b4f,_0x5a00c8){const _0x37d955=_0x32a484;if(!_0x5a00c8)return!0x1;const _0x3be481=_0x301b4f[_0x37d955(0x3fc)](_0x2fa876[_0x37d955(0x41b)]),_0x54b70f=_0x301b4f[_0x37d955(0x3fc)](_0xd0af73[_0x37d955(0x3af)]),_0x310181=_0x301b4f[_0x37d955(0x3fc)](_0x2fa876[_0x37d955(0x3bc)]),{pivotTableId:_0x24f9da,fieldId:_0xe624e6,area:_0x3dcf8c,index:_0x2a9a57,unitId:_0xdec28b,subUnitId:_0x393322}=_0x5a00c8,_0x57a159=(await _0x54b70f[_0x37d955(0x263)]({'unitId':_0xdec28b,'subUnitId':_0x393322,'pivotTableId':_0x24f9da,'params':{'type':_0x1ce851['MovePivotField'],'movePivotField':{'fieldId':_0xe624e6,'area':_0x3dcf8c,'index':_0x2a9a57}}}))[_0x37d955(0x210)]['movePivotField'];if(!_0x57a159)return!0x1;const {changesets:_0x39537f,view:_0xea9c27,isEmpty:_0x201296,pivotTableConfig:_0x54e3ad}=_0x57a159,_0x13160c=_0x54e3ad[_0x37d955(0x412)],_0x2a3125=new _0x33417a[(_0x37d955(0x22b))]();_0x2a3125[_0x37d955(0x298)](_0xea9c27);const _0x5acc94={'cellInfo':_0x13160c,'view':_0x2a3125,'isEmpty':_0x201296};if(!await _0x301b4f[_0x37d955(0x3fc)](_0xd0af73[_0x37d955(0x21f)])[_0x37d955(0x4ca)][_0x37d955(0x323)](_0x1d5a00)(!0x0,_0x5acc94))return!0x1;const _0x3a4635=_0x36c3d6(_0x301b4f,_0x2a3125,_0x13160c,_0x201296),_0x3d63a5=_0x460318(_0x301b4f,_0x5acc94),{redos:_0x5241aa,undos:_0x2ef86d}=_0x5706b0(_0x3be481,{'pivotTableId':_0x24f9da,'unitId':_0xdec28b,'subUnitId':_0x393322},_0x39537f);return _0x2fa876[_0x37d955(0x3e6)]([..._0x3a4635[_0x37d955(0x390)],..._0x3d63a5[_0x37d955(0x390)],..._0x5241aa],_0x3be481),_0x310181['pushUndoRedo']({'unitID':_0xdec28b,'redoMutations':[..._0x3a4635[_0x37d955(0x390)],..._0x3d63a5[_0x37d955(0x390)],..._0x5241aa],'undoMutations':[..._0x3a4635[_0x37d955(0x443)],..._0x3d63a5[_0x37d955(0x443)],..._0x2ef86d]}),!0x0;}},_0x1de3f8={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':'sheet.mutation.set-pivot-position','handler'(_0x25f2b0,_0x348915){const _0x542f5e=_0x32a484;if(!_0x348915)return!0x1;if(!!_0x25f2b0[_0x542f5e(0x3fc)](_0x2fa876[_0x542f5e(0x3da)])['getConfig'](_0x51f97f))return!0x0;const {pivotTableId:_0x21c511,targetCellPosition:_0x44df3d,unitId:_0x1d8b23,subUnitId:_0x25996b}=_0x348915,_0x1e3213=_0x25f2b0['get'](_0xd0af73['SheetsPivotDataSourceModel']);if(!_0x1e3213[_0x542f5e(0x47b)](_0x348915[_0x542f5e(0x3eb)]))return!0x1;const _0x29df57=_0x1e3213[_0x542f5e(0x4aa)](_0x21c511);if(!_0x29df57)return!0x1;const _0x2d92e0=_0x1e3213[_0x542f5e(0x336)](_0x29df57[_0x542f5e(0x211)],_0x348915[_0x542f5e(0x3eb)]);if(!_0x2d92e0)return!0x1;const _0x357e31=_0x1e3213[_0x542f5e(0x2e9)](_0x29df57[_0x542f5e(0x211)],_0x29df57['subUnitId'],_0x21c511);if(!_0x357e31)return!0x1;const _0x16cc13=_0x2fa876[_0x542f5e(0x3f2)][_0x542f5e(0x2a4)](_0x357e31);_0x16cc13[_0x542f5e(0x412)]={'unitId':_0x1d8b23,'subUnitId':_0x25996b,'row':_0x44df3d[_0x542f5e(0x213)],'col':_0x44df3d[_0x542f5e(0x38d)]};const _0x2da778=_0x2d92e0[_0x542f5e(0x4ab)]();if(_0x29df57[_0x542f5e(0x2fa)]===_0x25996b&&_0x29df57[_0x542f5e(0x211)]===_0x1d8b23)_0x1e3213[_0x542f5e(0x292)](_0x1d8b23,_0x25996b,_0x21c511,_0x16cc13),_0x1e3213['addDirtyPivotTable']({'unitId':_0x1d8b23,'subUnitId':_0x25996b,'token':_0x21c511,'type':_0x477731[_0x542f5e(0x47a)]});else{_0x1e3213[_0x542f5e(0x272)]({'unitId':_0x29df57['unitId'],'subUnitId':_0x29df57[_0x542f5e(0x2fa)],'token':_0x21c511,'type':_0x477731[_0x542f5e(0x3df)]}),_0x1e3213['removePivotTable'](_0x29df57['unitId'],_0x29df57['subUnitId'],_0x21c511);const _0x5c9b8a=_0x1e3213[_0x542f5e(0x20b)](_0x21c511,_0x2da778,_0x357e31[_0x542f5e(0x218)],_0x16cc13[_0x542f5e(0x412)]),_0x3cd725=new _0x33417a[(_0x542f5e(0x28e))](_0x5c9b8a[_0x542f5e(0x473)],void 0x0,_0x21c511);_0x3cd725['fromJSON'](_0x16cc13[_0x542f5e(0x481)]),_0x1e3213[_0x542f5e(0x30f)](_0x1d8b23,_0x25996b,_0x21c511,_0x3cd725,_0x16cc13),_0x1e3213[_0x542f5e(0x272)]({'unitId':_0x1d8b23,'subUnitId':_0x25996b,'token':_0x21c511,'type':_0x477731['Add'],'pivotConfig':_0x16cc13});}return!0x0;}},_0x35a97c={'type':_0x2fa876[_0x32a484(0x2f6)]['COMMAND'],'id':_0x32a484(0x3a8),'handler':(_0xd19893,_0x5542df)=>{const _0x346f52=_0x32a484,_0x48dd01=_0xd19893[_0x346f52(0x3fc)](_0x2fa876[_0x346f52(0x41b)]),_0x131a51=_0xd19893[_0x346f52(0x3fc)](_0x2fa876['IUndoRedoService']),_0x52f08f=_0xd19893[_0x346f52(0x3fc)](_0xd0af73[_0x346f52(0x32b)]),_0x3efa9f=_0xd19893[_0x346f52(0x3fc)](_0x2fa876[_0x346f52(0x361)]);if(!_0x5542df)return!0x1;const _0x41cbaf=_0x30840c[_0x346f52(0x279)](_0x3efa9f);if(!_0x41cbaf)return!0x1;const {unitId:_0x54a176,subUnitId:_0x31061e,workbook:_0xdba168}=_0x41cbaf,_0x57f944=_0x52f08f[_0x346f52(0x2e9)](_0x5542df[_0x346f52(0x367)][_0x346f52(0x211)],_0x5542df['originTargetInfo'][_0x346f52(0x2fa)],_0x5542df[_0x346f52(0x3eb)]);if(!_0x57f944)return!0x1;const _0x25dba2=_0xdba168['getSheetBySheetId'](_0x5542df['targetCellInfo']['subUnitId']);if(!_0x25dba2)throw new Error(_0x346f52(0x21d));const _0x43575d=_0x25dba2[_0x346f52(0x4b4)](),_0x50f0f2=_0x25dba2[_0x346f52(0x485)]();if(_0x5542df[_0x346f52(0x412)][_0x346f52(0x213)]>_0x43575d||_0x5542df[_0x346f52(0x412)][_0x346f52(0x38d)]>_0x50f0f2)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0xd84057=[{'id':_0x1de3f8['id'],'params':{'unitId':_0x54a176,'subUnitId':_0x5542df[_0x346f52(0x412)][_0x346f52(0x2fa)],'pivotTableId':_0x5542df[_0x346f52(0x3eb)],'targetCellPosition':{'row':_0x5542df[_0x346f52(0x412)][_0x346f52(0x213)],'col':_0x5542df[_0x346f52(0x412)][_0x346f52(0x38d)]}}}],_0x493592=[{'id':_0x1de3f8['id'],'params':{'unitId':_0x54a176,'subUnitId':_0x31061e,'pivotTableId':_0x5542df['pivotTableId'],'targetCellPosition':{'row':_0x57f944[_0x346f52(0x412)]['row'],'col':_0x57f944[_0x346f52(0x412)]['col']}}}];return _0x2fa876[_0x346f52(0x3e6)](_0xd84057,_0x48dd01)&&_0x131a51['pushUndoRedo']({'unitID':_0x54a176,'undoMutations':_0x493592,'redoMutations':_0xd84057}),!0x0;}},_0x3c4350={'type':_0x2fa876[_0x32a484(0x2f6)]['COMMAND'],'id':_0x32a484(0x24e),async 'handler'(_0x582c60,_0x17408f){const _0x3ecfdb=_0x32a484;var _0x681d73;if(!_0x17408f)return!0x1;const _0x401b6a=_0x582c60[_0x3ecfdb(0x3fc)](_0x2fa876[_0x3ecfdb(0x361)]),_0x5dc106=_0x30840c[_0x3ecfdb(0x279)](_0x401b6a);if(!_0x5dc106)return!0x1;const {unitId:_0x510fe1,subUnitId:_0x136661,workbook:_0x42c976}=_0x5dc106,{row:_0x3ff266,col:_0x423fa8}=_0x17408f,_0x21cd09=_0x582c60[_0x3ecfdb(0x3fc)](_0xd0af73[_0x3ecfdb(0x404)]),_0x2b1235=_0x21cd09[_0x3ecfdb(0x2d4)](_0x510fe1,_0x136661,_0x3ff266,_0x423fa8);if(!_0x2b1235)return!0x1;const _0x4766bd=(_0x681d73=_0x21cd09[_0x3ecfdb(0x2d5)](_0x510fe1,_0x136661,_0x2b1235))==null?void 0x0:_0x681d73[_0x3ecfdb(0x206)];if(!_0x4766bd)return!0x1;const _0x50d3ba=_0x582c60[_0x3ecfdb(0x3fc)](_0xd0af73[_0x3ecfdb(0x32b)])[_0x3ecfdb(0x2e9)](_0x510fe1,_0x136661,_0x2b1235);if(!_0x50d3ba)return!0x1;const {rowInfo:_0x2c04f0,colInfo:_0x180e0c}=_0x4766bd,_0x5df3d1=_0x2c04f0[_0x3ff266]['paths'],_0x9cfa61=_0x180e0c[_0x423fa8][_0x3ecfdb(0x266)],_0x5db77e=_0x2c04f0[_0x3ff266][_0x3ecfdb(0x1e8)],_0x110118=_0x180e0c[_0x423fa8][_0x3ecfdb(0x1e8)],_0x42c941=_0x5df3d1[_0x3ecfdb(0x398)](_0x9cfa61),_0x32dcca=_0x50d3ba[_0x3ecfdb(0x481)][_0x3ecfdb(0x3e2)][_0x3ecfdb(0x1f8)](0x0,_0x5db77e),_0x4f4970=_0x50d3ba['fieldsConfig'][_0x3ecfdb(0x2f7)][_0x3ecfdb(0x1f8)](0x0,_0x110118),_0x55f2e6=_0x32dcca['concat'](_0x4f4970),_0x222c1a=_0x42c941[_0x3ecfdb(0x2a0)]((_0x3676d9,_0x22331e)=>[_0x3676d9,_0x55f2e6[_0x22331e]]),_0x135d47=(await _0x582c60['get'](_0xd0af73[_0x3ecfdb(0x3af)])[_0x3ecfdb(0x263)]({'unitId':_0x510fe1,'subUnitId':_0x136661,'pivotTableId':_0x2b1235,'params':{'type':_0x1ce851['DrillDown'],'drillDown':{'tuple':_0x222c1a}}}))[_0x3ecfdb(0x210)]['drillDown'];if(!_0x135d47)return!0x1;const {indexes:_0x5d44cd,range:_0x3bfcf8,sourceUnitId:_0x161cba,sourceSubUnitId:_0xce802f,formatMap:_0x4069bd}=_0x135d47,{startRow:_0x5a6cbc,endRow:_0x27664b,startColumn:_0x3db454,endColumn:_0x3b5bf3}=_0x3bfcf8,_0x1ad1b4=new _0x2fa876[(_0x3ecfdb(0x48a))](),_0x2e59dc=_0x27664b-_0x5a6cbc,_0xf7e3f2=_0x3b5bf3-_0x3db454,_0x844e39={},_0x4ebd59=_0x30840c[_0x3ecfdb(0x279)](_0x401b6a,{'unitId':_0x161cba,'subUnitId':_0xce802f});if(!_0x4ebd59)return!0x1;const _0x22f0d7=_0x226288[_0x3ecfdb(0x4c9)],_0x44ec23=_0x226288[_0x3ecfdb(0x23a)],_0x42c86e=_0x226288[_0x3ecfdb(0x23a)],_0x41758a=_0x42c976['getStyles']()[_0x3ecfdb(0x280)](_0x22f0d7),_0x48f928=_0x42c976[_0x3ecfdb(0x2bb)]()[_0x3ecfdb(0x280)](_0x44ec23),_0x4406c4=_0x42c976[_0x3ecfdb(0x2bb)]()[_0x3ecfdb(0x280)](_0x42c86e),{worksheet:_0x2467e0}=_0x4ebd59;let _0x4402cb=0x0;const _0x4b3123=0x1;_0x5d44cd['forEach'](_0x2d2c88=>{const _0x58381f=_0x3ecfdb;for(let _0x12e3a2=0x0;_0x12e3a2<=_0x3b5bf3-_0x3db454;_0x12e3a2++)_0x1ad1b4['setValue'](_0x4402cb,_0x12e3a2,_0x2467e0['getCellRaw'](_0x2d2c88+_0x3bfcf8[_0x58381f(0x340)]+_0x4b3123,_0x12e3a2));_0x4402cb++;});for(let _0x48db9d=_0x3db454;_0x48db9d<=_0x3b5bf3;_0x48db9d++){const _0x35437a=_0x2467e0[_0x3ecfdb(0x3d7)](_0x5a6cbc,_0x48db9d);_0x844e39[_0x5a6cbc]||(_0x844e39[_0x5a6cbc]={}),_0x844e39[_0x5a6cbc][_0x48db9d]={..._0x35437a,'s':_0x41758a};}let _0xe734ba=0x1;const _0x124522={},_0x494bb4={};_0x1ad1b4[_0x3ecfdb(0x2d2)]((_0x895028,_0xc25018)=>{const _0x23e6b9=_0x3ecfdb;_0xc25018[_0x23e6b9(0x4c2)](_0x5cd19b=>{const _0x273bfe=_0x23e6b9,_0x15987d=_0x1ad1b4[_0x273bfe(0x250)](_0x895028,_0x5cd19b);if(_0x844e39[_0xe734ba]||(_0x844e39[_0xe734ba]={}),_0x844e39[_0xe734ba][_0x5cd19b]={..._0x15987d,'s':_0xe734ba%0x2===0x0?_0x4406c4:_0x48f928},_0x4069bd[_0x5cd19b]&&_0x895028>=0x0){const _0xc9f770=_0xe734ba%0x2===0x0;let _0x368e66=_0xc9f770?_0x494bb4[_0x5cd19b]:_0x124522[_0x5cd19b];_0x368e66||(_0x368e66=_0x42c976[_0x273bfe(0x2bb)]()['setValue']({..._0xc9f770?_0x42c86e:_0x44ec23,'n':{'pattern':_0x4069bd[_0x5cd19b]}}),_0xc9f770?_0x494bb4[_0x5cd19b]=_0x368e66:_0x124522[_0x5cd19b]=_0x368e66),_0x844e39[_0xe734ba][_0x5cd19b]['s']=_0x368e66;}}),_0xe734ba++;});const _0x3f5002=new _0x2fa876['ObjectMatrix'](_0x844e39),_0x20d2bc={};_0x3f5002[_0x3ecfdb(0x3ed)]((_0x1c79a7,_0x519f38,_0x5e3730)=>{_0x20d2bc[_0x1c79a7]||(_0x20d2bc[_0x1c79a7]={}),_0x20d2bc[_0x1c79a7][_0x519f38]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x17b4a8=[],_0xcb2a2b=[],_0x448563=_0x42c976[_0x3ecfdb(0x36a)]()[_0x3ecfdb(0x249)],_0x5a4409=_0x2fa876['mergeWorksheetSnapshotWithDefault']({'rowCount':Math[_0x3ecfdb(0x1f9)](_0x2fa876['DEFAULT_WORKSHEET_ROW_COUNT'],_0x2e59dc+0xa),'columnCount':Math['max'](_0x2fa876[_0x3ecfdb(0x39e)],_0xf7e3f2+0x5)}),_0x1a6162=_0x582c60[_0x3ecfdb(0x3fc)](_0x2fa876[_0x3ecfdb(0x3d2)]);_0x5a4409['id']=_0x2fa876[_0x3ecfdb(0x39c)](),_0x5a4409[_0x3ecfdb(0x4d2)]=_0x42c976[_0x3ecfdb(0x238)](''+_0x1a6162['t'](_0x3ecfdb(0x499)));const _0x400930={'index':_0x448563,'sheet':_0x5a4409,'unitId':_0x510fe1},_0x1e2a53=_0x30840c[_0x3ecfdb(0x1e1)](_0x582c60,_0x400930);_0xcb2a2b[_0x3ecfdb(0x296)]({'id':_0x30840c['InsertSheetMutation']['id'],'params':_0x400930}),_0x17b4a8[_0x3ecfdb(0x296)]({'id':_0x30840c[_0x3ecfdb(0x22f)]['id'],'params':_0x1e2a53}),_0xcb2a2b[_0x3ecfdb(0x296)]({'id':_0x30840c['SetRangeValuesMutation']['id'],'params':{'unitId':_0x510fe1,'subUnitId':_0x5a4409['id'],'cellValue':_0x844e39}}),_0x17b4a8[_0x3ecfdb(0x41d)]({'id':_0x30840c[_0x3ecfdb(0x35d)]['id'],'params':{'unitId':_0x510fe1,'subUnitId':_0x5a4409['id'],'cellValue':_0x20d2bc}});const _0x45267e={'startRow':0x0,'startColumn':0x0,'endRow':_0xe734ba-0x1,'endColumn':_0x3b5bf3};_0xcb2a2b[_0x3ecfdb(0x296)]({'id':_0x537f85[_0x3ecfdb(0x294)]['id'],'params':{'unitId':_0x510fe1,'subUnitId':_0x5a4409['id'],'range':_0x45267e}}),_0x17b4a8[_0x3ecfdb(0x41d)]({'id':_0x537f85[_0x3ecfdb(0x488)]['id'],'params':{'unitId':_0x510fe1,'subUnitId':_0x5a4409['id']}});const _0x464a53=_0x582c60[_0x3ecfdb(0x3fc)](_0x2fa876[_0x3ecfdb(0x41b)]);return _0x2fa876[_0x3ecfdb(0x3e6)](_0xcb2a2b,_0x464a53)&&_0x582c60[_0x3ecfdb(0x3fc)](_0x2fa876[_0x3ecfdb(0x3bc)])[_0x3ecfdb(0x34d)]({'unitID':_0x510fe1,'undoMutations':_0x17b4a8,'redoMutations':_0xcb2a2b}),!0x0;}},_0x429f9b={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x2e4),async 'handler'(_0x59a7a0,_0x587d40){const _0x182adb=_0x32a484;if(!_0x587d40)return!0x1;const _0x7696ad=_0x59a7a0[_0x182adb(0x3fc)](_0x2fa876[_0x182adb(0x41b)]),_0x5dd685=_0x59a7a0[_0x182adb(0x3fc)](_0xd0af73[_0x182adb(0x3af)]),_0xffcea0=_0x59a7a0[_0x182adb(0x3fc)](_0x2fa876['IUndoRedoService']),{pivotTableId:_0x12ffef,fieldIds:_0x610655,unitId:_0xd68cc3,subUnitId:_0x1a93b1}=_0x587d40,_0x150825=(await _0x5dd685[_0x182adb(0x263)]({'unitId':_0xd68cc3,'subUnitId':_0x1a93b1,'pivotTableId':_0x12ffef,'params':{'type':_0x1ce851[_0x182adb(0x339)],'removePivotField':{'fieldIds':_0x610655}}}))[_0x182adb(0x210)][_0x182adb(0x45b)];if(!_0x150825)return!0x1;const {view:_0x5db67f,changesets:_0x5a952d,isEmpty:_0x5a294b,pivotTableConfig:_0x1e9345}=_0x150825,_0x507e4d=_0x1e9345[_0x182adb(0x412)],_0x354b18=new _0x33417a[(_0x182adb(0x22b))]();_0x354b18[_0x182adb(0x298)](_0x5db67f);const _0x2cc2d3={'cellInfo':_0x507e4d,'view':_0x354b18,'isEmpty':_0x5a294b};if(!await _0x59a7a0[_0x182adb(0x3fc)](_0xd0af73[_0x182adb(0x21f)])[_0x182adb(0x4ca)]['fetchThroughAsyncInterceptors'](_0x1d5a00)(!0x0,_0x2cc2d3))return!0x1;const _0x26bda5=_0x36c3d6(_0x59a7a0,_0x354b18,_0x507e4d,_0x5a294b),_0x7219e9=_0x460318(_0x59a7a0,_0x2cc2d3),{redos:_0x5b21c6,undos:_0x23ee07}=_0x5706b0(_0x7696ad,{'pivotTableId':_0x12ffef,'unitId':_0xd68cc3,'subUnitId':_0x1a93b1},_0x5a952d);return _0x2fa876[_0x182adb(0x3e6)]([..._0x26bda5[_0x182adb(0x390)],..._0x7219e9['redos'],..._0x5b21c6],_0x7696ad),_0xffcea0[_0x182adb(0x34d)]({'unitID':_0xd68cc3,'redoMutations':[..._0x26bda5[_0x182adb(0x390)],..._0x7219e9['redos'],..._0x5b21c6],'undoMutations':[..._0x26bda5[_0x182adb(0x443)],..._0x7219e9[_0x182adb(0x443)],..._0x23ee07]}),!0x0;}},_0x34b67e={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x49a),async 'handler'(_0x9c9118,_0x35dad9){const _0x367a0a=_0x32a484;if(!_0x35dad9)return!0x1;const _0x2d1e49=_0x9c9118['get'](_0x2fa876[_0x367a0a(0x41b)]),_0x3b4ede=_0x9c9118[_0x367a0a(0x3fc)](_0x2fa876[_0x367a0a(0x3bc)]),_0x451668=_0x9c9118[_0x367a0a(0x3fc)](_0xd0af73[_0x367a0a(0x3af)]),{resetArea:_0x5b1099,pivotTableId:_0x1b737c,unitId:_0x4461fb,subUnitId:_0xedddfc}=_0x35dad9,_0x2e9514=(await _0x451668['getPivotDisplayConfig']({'unitId':_0x4461fb,'subUnitId':_0xedddfc,'pivotTableId':_0x1b737c,'params':{'type':_0x1ce851['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x1b737c,'resetArea':_0x5b1099}}}))[_0x367a0a(0x210)][_0x367a0a(0x344)];if(!_0x2e9514)return!0x1;const {changesets:_0x165f3c}=_0x2e9514,{redos:_0x4481c5,undos:_0x12b26e}=_0x5706b0(_0x2d1e49,{'pivotTableId':_0x1b737c,'unitId':_0x4461fb,'subUnitId':_0xedddfc},_0x165f3c);return _0x2fa876[_0x367a0a(0x3e6)](_0x4481c5,_0x2d1e49),_0x3b4ede[_0x367a0a(0x34d)]({'unitID':_0x4461fb,'redoMutations':_0x4481c5,'undoMutations':_0x12b26e}),!0x0;}},_0xef2bc4={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x1da),async 'handler'(_0x2ce761,_0xce4285){const _0x231acc=_0x32a484,_0x351ce4=_0x2ce761['get'](_0x2fa876['ICommandService']),_0x2b032c=_0x2ce761['get'](_0xd0af73['SheetsPivotRPCService']),_0x232ea0=_0x2ce761[_0x231acc(0x3fc)](_0xd0af73[_0x231acc(0x404)]),_0x175aca=_0x2ce761['get'](_0x2fa876[_0x231acc(0x361)]),_0x877dd5=_0x2ce761[_0x231acc(0x3fc)](_0x2fa876[_0x231acc(0x3d2)]),_0x13fc35=_0x2ce761['get'](_0x2fa876[_0x231acc(0x3bc)]);if(!_0xce4285)return!0x1;const {unitId:_0xcee7d,subUnitId:_0x193c43,row:_0x5ea88f,col:_0xe80b72,collapse:_0x25cced}=_0xce4285,_0x441818=_0x175aca['getUnit'](_0xcee7d);if(!_0x441818||!_0x441818[_0x231acc(0x493)](_0x193c43))return!0x1;const _0x3f1144=_0x232ea0[_0x231acc(0x2d4)](_0xcee7d,_0x193c43,_0x5ea88f,_0xe80b72);if(!_0x3f1144)return!0x1;const _0x22ec0d=_0x232ea0['getPivotItemRenderInfoCache'](_0xcee7d,_0x193c43,_0x3f1144);if(!_0x22ec0d)return!0x1;const _0x3b91ee=_0x2fa876[_0x231acc(0x4bd)](_0x5ea88f,_0xe80b72),{rangesInfo:_0x4c69a0,areaInfo:_0x23746a,headerMap:_0x3158ae}=_0x22ec0d;if(!_0x4c69a0||!_0x23746a||!_0x3158ae)return!0x1;const _0x1be61d=Object['keys'](_0x4c69a0)[_0x231acc(0x475)](_0x1de42e=>_0x4c69a0[_0x1de42e][_0x231acc(0x26a)](_0x3f79e9=>_0x2fa876[_0x231acc(0x3b2)]['contains'](_0x3f79e9,_0x3b91ee)));let _0x2bd35c;_0x1be61d===_0x231acc(0x22a)?_0x2bd35c=_0x3158ae[_0x231acc(0x35e)][_0xe80b72]:_0x1be61d===_0x231acc(0x237)&&(_0x2bd35c=_0x3158ae[_0x231acc(0x22c)][_0x5ea88f]);const _0x4df3a3=_0x2bd35c==null?void 0x0:_0x2bd35c[_0x231acc(0x407)],_0x5edde0=_0x232ea0['getPivotTableCellData'](_0xcee7d,_0x193c43,_0x5ea88f,_0xe80b72);let _0x1b5307=_0x5edde0==null?void 0x0:_0x5edde0['v'];if(_0x1b5307===_0x877dd5['t'](_0x231acc(0x318))&&(_0x1b5307=_0x33417a[_0x231acc(0x497)]['BLANK_PLACEHOLDER']),_0x1b5307==null||!_0x3f1144||!_0x4df3a3)return!0x1;const _0x204e7c=await _0x2b032c['getPivotDisplayConfig']({'unitId':_0xcee7d,'subUnitId':_0x193c43,'pivotTableId':_0x3f1144,'params':{'type':_0x1ce851[_0x231acc(0x4c0)],'setPivotCollapse':{'tableFieldId':_0x4df3a3,'collapse':_0x25cced,'item':_0x1b5307}}}),_0x519ad0=_0x204e7c==null?void 0x0:_0x204e7c['result'][_0x231acc(0x353)];if(!_0x519ad0)return!0x1;const {view:_0x4135ce,pivotTableConfig:_0x47ebf3,isEmpty:_0x268047,changesets:_0x4b0518}=_0x519ad0,_0x44dd70=new _0x33417a['PivotView']();_0x44dd70[_0x231acc(0x298)](_0x4135ce);const _0x462594=_0x47ebf3[_0x231acc(0x412)],_0x5eb461={'cellInfo':_0x462594,'view':_0x44dd70,'isEmpty':_0x268047};if(!await _0x2ce761[_0x231acc(0x3fc)](_0xd0af73['SheetsPivotTableService'])[_0x231acc(0x4ca)]['fetchThroughAsyncInterceptors'](_0x1d5a00)(!0x0,_0x5eb461))return!0x1;const _0x3a81ca=_0x36c3d6(_0x2ce761,_0x44dd70,_0x462594,_0x268047),_0x2edcb5=_0x460318(_0x2ce761,_0x5eb461),{redos:_0x5ae2f7,undos:_0x5e0e87}=_0x5706b0(_0x351ce4,{'pivotTableId':_0x3f1144,'unitId':_0xcee7d,'subUnitId':_0x193c43},_0x4b0518);return _0x2fa876[_0x231acc(0x3e6)]([..._0x3a81ca[_0x231acc(0x390)],..._0x2edcb5[_0x231acc(0x390)],..._0x5ae2f7],_0x351ce4),_0x13fc35[_0x231acc(0x34d)]({'unitID':_0xcee7d,'redoMutations':[..._0x3a81ca[_0x231acc(0x390)],..._0x2edcb5['redos'],..._0x5ae2f7],'undoMutations':[..._0x3a81ca['undos'],..._0x2edcb5[_0x231acc(0x443)],..._0x5e0e87]}),!0x0;}},_0x260d7f={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x3b7),async 'handler'(_0x18d159,_0x2b9077){const _0x203d7e=_0x32a484;if(!_0x2b9077)return!0x1;const _0x192401=_0x18d159[_0x203d7e(0x3fc)](_0x2fa876['ICommandService']),_0x8f9b27=_0x18d159[_0x203d7e(0x3fc)](_0x2fa876[_0x203d7e(0x3bc)]),_0x4b7a6c=_0x18d159[_0x203d7e(0x3fc)](_0xd0af73['SheetsPivotRPCService']),{pivotTableConfig:_0x19b5cb,pivotTableId:_0x4c409,unitId:_0x385441,subUnitId:_0x29fc29}=_0x2b9077,_0x1bfada=(await _0x4b7a6c['getPivotDisplayConfig']({'unitId':_0x385441,'subUnitId':_0x29fc29,'pivotTableId':_0x4c409,'params':{'type':_0x1ce851[_0x203d7e(0x2e3)],'setPivotTableConfig':{'pivotTableId':_0x4c409,'pivotTableConfig':_0x19b5cb}}}))[_0x203d7e(0x210)][_0x203d7e(0x4a2)];if(!_0x1bfada)return!0x1;const {changesets:_0x1cbf18}=_0x1bfada,{redos:_0x268c43,undos:_0x26ac0b}=_0x5706b0(_0x192401,{'pivotTableId':_0x4c409,'unitId':_0x385441,'subUnitId':_0x29fc29},_0x1cbf18);return _0x2fa876['sequenceExecute'](_0x268c43,_0x192401),_0x8f9b27[_0x203d7e(0x34d)]({'unitID':_0x385441,'redoMutations':_0x268c43,'undoMutations':_0x26ac0b}),!0x0;}},_0x10b4bf={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x20f),async 'handler'(_0x559fe2,_0x81ffe6){const _0x1a90d7=_0x32a484;if(!_0x81ffe6)return!0x1;const _0x31465f=_0x559fe2[_0x1a90d7(0x3fc)](_0x2fa876['ICommandService']),{pivotTableId:_0x262c2d,tableFieldId:_0x4da7a,items:_0x32b4fc,unitId:_0x5de94e,subUnitId:_0x1dec16,isAll:_0x15ac01}=_0x81ffe6,_0x32b672=_0x559fe2[_0x1a90d7(0x3fc)](_0xd0af73[_0x1a90d7(0x3af)]),_0x2434d7=_0x559fe2[_0x1a90d7(0x3fc)](_0x2fa876[_0x1a90d7(0x3bc)]),_0x18b194=(await _0x32b672['getPivotDisplayConfig']({'unitId':_0x5de94e,'subUnitId':_0x1dec16,'pivotTableId':_0x262c2d,'params':{'type':_0x1ce851[_0x1a90d7(0x1e6)],'setPivotFilter':{'tableFieldId':_0x4da7a,'items':_0x32b4fc,'isAll':_0x15ac01}}}))[_0x1a90d7(0x210)][_0x1a90d7(0x38e)];if(!_0x18b194)return!0x1;const {changesets:_0x18e742,pivotTableConfig:_0x233cbd,isEmpty:_0x3258a0,view:_0x541497}=_0x18b194,_0x3cc9a2=_0x233cbd[_0x1a90d7(0x412)],_0xa095a=new _0x33417a[(_0x1a90d7(0x22b))]();_0xa095a[_0x1a90d7(0x298)](_0x541497);const _0xf9d475={'cellInfo':_0x3cc9a2,'view':_0xa095a,'isEmpty':_0x3258a0};if(!await _0x559fe2['get'](_0xd0af73[_0x1a90d7(0x21f)])[_0x1a90d7(0x4ca)][_0x1a90d7(0x323)](_0x1d5a00)(!0x0,_0xf9d475))return!0x1;const _0x1d13b1=_0x36c3d6(_0x559fe2,_0xa095a,_0x3cc9a2,_0x3258a0),_0x1490eb=_0x460318(_0x559fe2,_0xf9d475),{undos:_0x4b44fb,redos:_0x3800c8}=_0x5706b0(_0x31465f,{'pivotTableId':_0x262c2d,'unitId':_0x5de94e,'subUnitId':_0x1dec16},_0x18e742);return _0x2fa876[_0x1a90d7(0x3e6)]([..._0x1d13b1[_0x1a90d7(0x390)],..._0x1490eb[_0x1a90d7(0x390)],..._0x3800c8],_0x31465f),_0x2434d7[_0x1a90d7(0x34d)]({'unitID':_0x5de94e,'redoMutations':[..._0x1d13b1[_0x1a90d7(0x390)],..._0x1490eb[_0x1a90d7(0x390)],..._0x3800c8],'undoMutations':[..._0x1d13b1[_0x1a90d7(0x443)],..._0x1490eb[_0x1a90d7(0x443)],..._0x4b44fb]}),!0x0;}},_0x559985={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':_0x32a484(0x2f0),async 'handler'(_0x16a6c0,_0x1ed5f8){const _0x412ee3=_0x32a484;if(!_0x1ed5f8)return!0x1;const _0x1ec79c=_0x16a6c0[_0x412ee3(0x3fc)](_0x2fa876[_0x412ee3(0x41b)]),_0x3c4262=_0x16a6c0['get'](_0x2fa876[_0x412ee3(0x3bc)]),_0x49449f=_0x16a6c0[_0x412ee3(0x3fc)](_0xd0af73['SheetsPivotRPCService']),{info:_0xefd97b,tableFieldId:_0x5bbe70,pivotTableId:_0x4af18d,unitId:_0x3a0486,subUnitId:_0x5c8aed}=_0x1ed5f8,_0x2cb03a=(await _0x49449f[_0x412ee3(0x263)]({'unitId':_0x3a0486,'subUnitId':_0x5c8aed,'pivotTableId':_0x4af18d,'params':{'type':_0x1ce851[_0x412ee3(0x4d3)],'setPivotSort':{'tableFieldId':_0x5bbe70,'info':_0xefd97b}}}))[_0x412ee3(0x210)][_0x412ee3(0x20c)];if(!_0x2cb03a)return!0x1;const {changesets:_0x4479b5}=_0x2cb03a,{redos:_0x23e4e4,undos:_0x307cde}=_0x5706b0(_0x1ec79c,{'pivotTableId':_0x4af18d,'unitId':_0x3a0486,'subUnitId':_0x5c8aed},_0x4479b5);return _0x2fa876['sequenceExecute'](_0x23e4e4,_0x1ec79c),_0x3c4262[_0x412ee3(0x34d)]({'unitID':_0x3a0486,'redoMutations':_0x23e4e4,'undoMutations':_0x307cde}),!0x0;}},_0x29b10f={'type':_0x2fa876['CommandType'][_0x32a484(0x387)],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0x2cfed5,_0x48fd08){const _0x20c848=_0x32a484;if(!_0x48fd08)return!0x1;const _0x2a06be=_0x2cfed5[_0x20c848(0x3fc)](_0x2fa876[_0x20c848(0x41b)]),{pivotTableId:_0x288f39,fieldId:_0x209304,valueFilterInfo:_0xff0a3d,unitId:_0x165565,subUnitId:_0xde2ea6}=_0x48fd08,_0x4852d4=_0x2cfed5[_0x20c848(0x3fc)](_0xd0af73[_0x20c848(0x3af)]),_0x25765b=_0x2cfed5[_0x20c848(0x3fc)](_0x2fa876['IUndoRedoService']),_0x58a0a7=(await _0x4852d4[_0x20c848(0x263)]({'unitId':_0x165565,'subUnitId':_0xde2ea6,'pivotTableId':_0x288f39,'params':{'type':_0x1ce851['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x209304,'filterInfo':_0xff0a3d}}}))[_0x20c848(0x210)][_0x20c848(0x454)];if(!_0x58a0a7)return!0x1;const {changesets:_0x1e6b3e,pivotTableConfig:_0xdad23,isEmpty:_0x2fd19d,view:_0x1500e9}=_0x58a0a7,_0x5179b4=_0xdad23[_0x20c848(0x412)],_0x5b57d7=new _0x33417a['PivotView']();_0x5b57d7[_0x20c848(0x298)](_0x1500e9);const _0x29fc58={'cellInfo':_0x5179b4,'view':_0x5b57d7,'isEmpty':_0x2fd19d};if(!await _0x2cfed5[_0x20c848(0x3fc)](_0xd0af73[_0x20c848(0x21f)])[_0x20c848(0x4ca)]['fetchThroughAsyncInterceptors'](_0x1d5a00)(!0x0,_0x29fc58))return!0x1;const _0x2b4756=_0x36c3d6(_0x2cfed5,_0x5b57d7,_0x5179b4,_0x2fd19d),_0x3a148b=_0x460318(_0x2cfed5,_0x29fc58),{undos:_0x21ba73,redos:_0x35c62e}=_0x5706b0(_0x2a06be,{'pivotTableId':_0x288f39,'unitId':_0x165565,'subUnitId':_0xde2ea6},_0x1e6b3e);return _0x2fa876[_0x20c848(0x3e6)]([..._0x2b4756['redos'],..._0x3a148b['redos'],..._0x35c62e],_0x2a06be),_0x25765b[_0x20c848(0x34d)]({'unitID':_0x165565,'redoMutations':[..._0x2b4756['redos'],..._0x3a148b[_0x20c848(0x390)],..._0x35c62e],'undoMutations':[..._0x2b4756['undos'],..._0x3a148b[_0x20c848(0x443)],..._0x21ba73]}),!0x0;}},_0x502ff1={'id':_0x32a484(0x403),'type':_0x2fa876[_0x32a484(0x2f6)]['MUTATION'],'handler':(_0x580482,_0x5cda2c)=>{const _0x5598b3=_0x32a484;if(!_0x5cda2c)return!0x1;if(!!_0x580482['get'](_0x2fa876[_0x5598b3(0x3da)])[_0x5598b3(0x28b)](_0x51f97f))return!0x0;const {unitId:_0x58ffe8,subUnitId:_0x24746f,pivotTableId:_0x29ccb7,tableFieldId:_0x4bb25e,dateType:_0x5829c5}=_0x5cda2c,_0x85df7d=_0x580482['get'](_0xd0af73[_0x5598b3(0x255)]),_0x360c9e=_0x85df7d['getPivotTableInstance'](_0x29ccb7);if(!_0x360c9e)return!0x1;const _0x363382=_0x360c9e[_0x5598b3(0x2dd)](_0x4bb25e);if(!_0x363382)return!0x1;const _0x1c8f8f=_0x363382[_0x5598b3(0x45a)](),_0xb9b16=_0x360c9e[_0x5598b3(0x44c)](_0x1c8f8f),_0x49da1a=(_0xb9b16==null?void 0x0:_0xb9b16[_0x5598b3(0x22d)]())+'\x20'+_0x2cd99e(_0x580482,_0x5829c5);_0x85df7d[_0x5598b3(0x336)](_0x58ffe8,_0x29ccb7)[_0x5598b3(0x251)](_0x363382['id'],_0x49da1a);const _0x4b1f6e=_0x360c9e['getTableFieldById'](_0x4bb25e);if(!_0x4b1f6e)return!0x1;_0x360c9e['renameField'](_0x4b1f6e[_0x5598b3(0x244)](),_0x49da1a),_0x363382[_0x5598b3(0x27f)](_0x5829c5);const _0x3e0648=_0x85df7d[_0x5598b3(0x2e9)](_0x58ffe8,_0x24746f,_0x29ccb7);return _0x85df7d[_0x5598b3(0x272)]({'unitId':_0x58ffe8,'subUnitId':_0x24746f,'token':_0x29ccb7,'type':_0x477731[_0x5598b3(0x47a)],'pivotConfig':_0x3e0648}),!0x0;}},_0x51b8e0={'id':_0x32a484(0x396),'type':_0x2fa876[_0x32a484(0x2f6)]['COMMAND'],'handler':(_0x31bfbe,_0x1ee481)=>{const _0x5c4cc4=_0x32a484;if(!_0x1ee481)return!0x1;const _0x18bf66=_0x31bfbe[_0x5c4cc4(0x3fc)](_0x2fa876['IUndoRedoService']),{unitId:_0xd38685,subUnitId:_0x33fd80,pivotTableId:_0x47ac1e,tableFieldId:_0x2f2f30}=_0x1ee481,_0x2601e4=[],_0x539ab1=[],_0x4a4005=_0x31bfbe['get'](_0xd0af73[_0x5c4cc4(0x32b)]),_0x3bc569=_0x4a4005[_0x5c4cc4(0x336)](_0xd38685,_0x47ac1e),_0x497683=_0x4a4005[_0x5c4cc4(0x2e9)](_0xd38685,_0x33fd80,_0x47ac1e);if(!(_0x497683!=null&&_0x497683[_0x5c4cc4(0x481)][_0x5c4cc4(0x4be)]))return!0x1;const _0x2b0c76=Object[_0x5c4cc4(0x1e7)](_0x497683[_0x5c4cc4(0x481)][_0x5c4cc4(0x4be)])['find'](_0x1b28a6=>_0x1b28a6['id']===_0x2f2f30);if(!_0x2b0c76)return!0x1;const _0xd92a91=_0x2b0c76['dataFieldId'];if(!(_0x3bc569!=null&&_0x3bc569[_0x5c4cc4(0x4d9)]))return!0x1;const _0x64f0cd=Object[_0x5c4cc4(0x1e7)](_0x3bc569==null?void 0x0:_0x3bc569[_0x5c4cc4(0x4d9)])[_0x5c4cc4(0x475)](_0x3e434c=>_0x3e434c['id']===_0xd92a91);if(!_0x64f0cd)return!0x1;_0x33417a[_0x5c4cc4(0x33e)](_0x64f0cd)&&_0x2601e4[_0x5c4cc4(0x296)]({'id':_0x502ff1['id'],'params':{..._0x1ee481,'dateType':_0x64f0cd['dateType']}}),_0x539ab1[_0x5c4cc4(0x296)]({'id':_0x502ff1['id'],'params':{..._0x1ee481}});const _0x1a1bcf=_0x31bfbe[_0x5c4cc4(0x3fc)](_0x2fa876[_0x5c4cc4(0x41b)]);return _0x2fa876['sequenceExecute'](_0x539ab1,_0x1a1bcf)&&_0x18bf66['pushUndoRedo']({'unitID':_0xd38685,'undoMutations':_0x2601e4,'redoMutations':_0x539ab1}),!0x0;}},_0x1a8f8f={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x345dec,_0x75fb46){const _0x36eb61=_0x32a484;if(!_0x75fb46)return!0x1;const _0x3cf0dc=_0x345dec[_0x36eb61(0x3fc)](_0x2fa876[_0x36eb61(0x41b)]),_0x1de494=_0x345dec[_0x36eb61(0x3fc)](_0x2fa876['IUndoRedoService']),_0x1f0338=_0x345dec[_0x36eb61(0x3fc)](_0xd0af73[_0x36eb61(0x3af)]),{displayName:_0x3d658a,subtotalType:_0x57cede,format:_0x3fe912,tableFieldId:_0x1efd5e,pivotTableId:_0x52a49b,unitId:_0x5d741c,subUnitId:_0x146446}=_0x75fb46,_0x1bf710=(await _0x1f0338[_0x36eb61(0x263)]({'unitId':_0x5d741c,'subUnitId':_0x146446,'pivotTableId':_0x52a49b,'params':{'type':_0x1ce851[_0x36eb61(0x3a0)],'setPivotSetting':{'tableFieldId':_0x1efd5e,'displayName':_0x3d658a,'subtotalType':_0x57cede,'format':_0x3fe912}}}))[_0x36eb61(0x210)][_0x36eb61(0x23d)];if(!_0x1bf710)return!0x1;const {changesets:_0x5a89fd,view:_0x118e54,pivotTableConfig:_0xea4059,isEmpty:_0x4b681b}=_0x1bf710,_0x3d207c=_0xea4059[_0x36eb61(0x412)],_0x30e006=new _0x33417a['PivotView']();_0x30e006[_0x36eb61(0x298)](_0x118e54);const _0x3847ae={'cellInfo':_0x3d207c,'view':_0x30e006,'isEmpty':_0x4b681b};if(!await _0x345dec[_0x36eb61(0x3fc)](_0xd0af73[_0x36eb61(0x21f)])[_0x36eb61(0x4ca)]['fetchThroughAsyncInterceptors'](_0x1d5a00)(!0x0,_0x3847ae))return!0x1;const _0x31402b=_0x36c3d6(_0x345dec,_0x30e006,_0x3d207c,_0x4b681b),_0x556f7c=_0x460318(_0x345dec,_0x3847ae),{undos:_0x209d92,redos:_0x218acd}=_0x5706b0(_0x3cf0dc,{'pivotTableId':_0x52a49b,'unitId':_0x5d741c,'subUnitId':_0x146446},_0x5a89fd);return _0x2fa876[_0x36eb61(0x3e6)]([..._0x31402b[_0x36eb61(0x390)],..._0x556f7c[_0x36eb61(0x390)],..._0x218acd],_0x3cf0dc),_0x1de494[_0x36eb61(0x34d)]({'unitID':_0x5d741c,'redoMutations':[..._0x31402b[_0x36eb61(0x390)],..._0x556f7c['redos'],..._0x218acd],'undoMutations':[..._0x31402b[_0x36eb61(0x443)],..._0x556f7c['undos'],..._0x209d92]}),!0x0;}},_0x22cd86={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x514639,_0x3a3fb8){const _0x376ca0=_0x32a484;if(!_0x3a3fb8)return!0x1;if(!!_0x514639[_0x376ca0(0x3fc)](_0x2fa876[_0x376ca0(0x3da)])[_0x376ca0(0x28b)](_0x51f97f))return!0x0;const _0x1c526d=_0x514639[_0x376ca0(0x3fc)](_0xd0af73[_0x376ca0(0x255)]),{pivotTableId:_0x375356,deleteIds:_0x24e984,collectionJSON:_0x59914a,dataRangeInfo:_0x42e146,unitId:_0xad5ec8,subUnitId:_0x1c98a0}=_0x3a3fb8,_0x1932ea=_0x1c526d[_0x376ca0(0x47b)](_0x375356),_0x4bb0e4=_0x1c526d[_0x376ca0(0x2e9)](_0xad5ec8,_0x1c98a0,_0x375356);if(!_0x1932ea||!_0x4bb0e4)return!0x1;const {collection:_0x55bcad,updateDataFieldList:_0x238b8f}=_0x1c526d[_0x376ca0(0x20b)](_0x375356,_0x59914a,_0x42e146,_0x4bb0e4['targetCellInfo']);_0x1c526d[_0x376ca0(0x381)](_0x55bcad,_0x238b8f,_0x42e146),_0x1932ea[_0x376ca0(0x328)](_0x55bcad);for(const _0x2c1582 of _0x24e984)_0x1c526d['removeDataField'](_0x42e146[_0x376ca0(0x211)],_0x2c1582);const _0x340076=_0x1c526d[_0x376ca0(0x2e9)](_0xad5ec8,_0x1c98a0,_0x375356);return _0x340076['sourceRangeInfo']=JSON[_0x376ca0(0x496)](JSON['stringify'](_0x42e146)),_0x1c526d[_0x376ca0(0x272)]({'unitId':_0xad5ec8,'subUnitId':_0x1c98a0,'token':_0x375356,'type':_0x477731['Set']}),!0x0;}},_0xe923e7={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x310bdd,_0x3242eb){const _0x55c85d=_0x32a484,_0x27f7c5=_0x310bdd[_0x55c85d(0x3fc)](_0x2fa876[_0x55c85d(0x41b)]),_0x44101f=_0x310bdd[_0x55c85d(0x3fc)](_0xd0af73['SheetsPivotRPCService']),_0x51d89b=_0x310bdd[_0x55c85d(0x3fc)](_0x2fa876[_0x55c85d(0x3bc)]);if(!_0x3242eb)return!0x1;const {token:_0x37235f,dataRangeInfo:_0xe7362a,unitId:_0x1fcc41,subUnitId:_0x9e0248}=_0x3242eb,_0x4de8d4=[],_0x4608df=[],_0x549834=(await _0x44101f[_0x55c85d(0x263)]({'unitId':_0x1fcc41,'subUnitId':_0x9e0248,'pivotTableId':_0x37235f,'params':{'type':_0x1ce851[_0x55c85d(0x379)],'updatePivotSource':{'dataRangeInfo':_0xe7362a,'unitId':_0x1fcc41,'subUnitId':_0x9e0248}}}))[_0x55c85d(0x210)][_0x55c85d(0x4b3)];if(!_0x549834)return!0x1;const {changesets:_0x46ef5f,deleteIds:_0x438b49,collectionConfig:_0x4b2d92,oldCollectionConfig:_0x2d1578,view:_0x42be54,isEmpty:_0x46781c,pivotTableConfig:_0x22e001}=_0x549834;_0x4608df['push']({'id':_0x22cd86['id'],'params':{'pivotTableId':_0x37235f,'deleteIds':_0x438b49,'collectionJSON':_0x4b2d92,'dataRangeInfo':_0xe7362a,'unitId':_0x1fcc41,'subUnitId':_0x9e0248}}),_0x4de8d4[_0x55c85d(0x41d)]({'id':_0x22cd86['id'],'params':{'pivotTableId':_0x37235f,'deleteIds':[],'collectionJSON':_0x2d1578,'dataRangeInfo':_0x22e001[_0x55c85d(0x218)],'unitId':_0x1fcc41,'subUnitId':_0x9e0248}});const _0x417bba=_0x22e001[_0x55c85d(0x412)],_0x247a16=new _0x33417a[(_0x55c85d(0x22b))]();_0x247a16[_0x55c85d(0x298)](_0x42be54);const _0x40bae2={'cellInfo':_0x417bba,'view':_0x247a16,'isEmpty':_0x46781c};if(!await _0x310bdd[_0x55c85d(0x3fc)](_0xd0af73[_0x55c85d(0x21f)])[_0x55c85d(0x4ca)]['fetchThroughAsyncInterceptors'](_0x1d5a00)(!0x0,_0x40bae2))return!0x1;const _0x188c3d=_0x36c3d6(_0x310bdd,_0x247a16,_0x417bba,_0x46781c),_0x3dcd67=_0x460318(_0x310bdd,_0x40bae2),{undos:_0x37f031,redos:_0x3d53c6}=_0x5706b0(_0x27f7c5,{'pivotTableId':_0x37235f,'unitId':_0x1fcc41,'subUnitId':_0x9e0248},_0x46ef5f);return _0x2fa876[_0x55c85d(0x3e6)]([..._0x188c3d['redos'],..._0x3dcd67[_0x55c85d(0x390)],..._0x4608df,..._0x37f031],_0x27f7c5),_0x51d89b[_0x55c85d(0x34d)]({'unitID':_0x1fcc41,'redoMutations':[..._0x188c3d['redos'],..._0x3dcd67[_0x55c85d(0x390)],..._0x4608df,..._0x37f031],'undoMutations':[..._0x188c3d[_0x55c85d(0x443)],..._0x3dcd67[_0x55c85d(0x443)],..._0x4de8d4,..._0x3d53c6]}),!0x0;}},_0x114525={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x387)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0xcdb550,_0x370871){const _0x5be0bb=_0x32a484;if(!_0x370871)return!0x1;const _0x2aff73=_0xcdb550[_0x5be0bb(0x3fc)](_0x2fa876[_0x5be0bb(0x41b)]),_0x52e539=_0xcdb550[_0x5be0bb(0x3fc)](_0xd0af73['SheetsPivotRPCService']),_0x123fbe=_0xcdb550[_0x5be0bb(0x3fc)](_0x2fa876[_0x5be0bb(0x361)]),_0x3432be=_0xcdb550[_0x5be0bb(0x3fc)](_0x2fa876[_0x5be0bb(0x3bc)]),{pivotTableId:_0x5767eb,position:_0x3a7235,index:_0x5d2f7b}=_0x370871,_0x48d4e9=_0x30840c[_0x5be0bb(0x279)](_0x123fbe);if(!_0x48d4e9)return!0x1;const {unitId:_0x5c498b,subUnitId:_0x3b5a3f}=_0x48d4e9,_0x31d9ba=(await _0x52e539[_0x5be0bb(0x263)]({'unitId':_0x5c498b,'subUnitId':_0x3b5a3f,'pivotTableId':_0x5767eb,'params':{'type':_0x1ce851[_0x5be0bb(0x3ba)],'updateValuePosition':{'position':_0x3a7235,'index':_0x5d2f7b}}}))['result']['updateValuePosition'];if(!_0x31d9ba)return!0x1;const {changesets:_0x3b0b12,view:_0x1e9e25,isEmpty:_0x135367,pivotTableConfig:_0x31f014}=_0x31d9ba,_0x4f6d57=_0x31f014[_0x5be0bb(0x412)],_0x385ce2=new _0x33417a[(_0x5be0bb(0x22b))]();_0x385ce2[_0x5be0bb(0x298)](_0x1e9e25);const _0x48fd6f=_0xcdb550[_0x5be0bb(0x3fc)](_0xd0af73[_0x5be0bb(0x21f)]),_0x3e4365={'cellInfo':_0x4f6d57,'view':_0x385ce2,'isEmpty':_0x135367};if(!await _0x48fd6f[_0x5be0bb(0x4ca)][_0x5be0bb(0x323)](_0x1d5a00)(!0x0,_0x3e4365))return!0x1;const _0x1241c0=_0x36c3d6(_0xcdb550,_0x385ce2,_0x4f6d57,_0x135367),_0x1e24c5=_0x460318(_0xcdb550,_0x3e4365),{undos:_0x2f5be8,redos:_0x37f2ff}=_0x5706b0(_0x2aff73,{'pivotTableId':_0x5767eb,'unitId':_0x5c498b,'subUnitId':_0x3b5a3f},_0x3b0b12);return _0x2fa876['sequenceExecute']([..._0x1241c0[_0x5be0bb(0x390)],..._0x1e24c5[_0x5be0bb(0x390)],..._0x37f2ff],_0x2aff73),_0x3432be[_0x5be0bb(0x34d)]({'unitID':_0x5c498b,'redoMutations':[..._0x1241c0['redos'],..._0x1e24c5[_0x5be0bb(0x390)],..._0x37f2ff],'undoMutations':[..._0x1241c0[_0x5be0bb(0x443)],..._0x1e24c5[_0x5be0bb(0x443)],..._0x2f5be8]}),!0x0;}},_0x322618={'type':_0x2fa876[_0x32a484(0x2f6)][_0x32a484(0x3c2)],'id':_0x32a484(0x20a),'handler'(){return!0x0;}};var _0xbd034b=Object['getOwnPropertyDescriptor'],_0x38a2a6=(_0x5e027f,_0x519395,_0x1e670c,_0xb19f69)=>{for(var _0x1659ee=_0xb19f69>0x1?void 0x0:_0xb19f69?_0xbd034b(_0x519395,_0x1e670c):_0x519395,_0x3d1612=_0x5e027f['length']-0x1,_0x3aee4d;_0x3d1612>=0x0;_0x3d1612--)(_0x3aee4d=_0x5e027f[_0x3d1612])&&(_0x1659ee=_0x3aee4d(_0x1659ee)||_0x1659ee);return _0x1659ee;},_0x3a96ca=(_0x277d81,_0x5efa38)=>(_0x3dedbb,_0x5c2f85)=>_0x5efa38(_0x3dedbb,_0x5c2f85,_0x277d81);const _0x3ea56b=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x6d510f=(_0x5913e3,_0x54a860,_0x563e7b)=>{const _0x3d5f03=_0x32a484,_0x10e2a1=_0x5913e3[_0x3d5f03(0x360)];_0x5913e3[_0x3d5f03(0x21e)](_0x2fd760=>{const _0x16c7f2=_0x3d5f03,_0x2c96d9=_0x2fd760['getId'](),_0x290ac1=_0x2fd760[_0x16c7f2(0x49c)](),_0x525d25=_0x2fd760[_0x16c7f2(0x441)](),_0x26dc1d=_0x2fd760[_0x16c7f2(0x2b3)]();_0x54a860[_0x290ac1]&&_0x54a860[_0x290ac1]===_0x26dc1d&&_0x525d25===_0x26dc1d&&(_0x5913e3[_0x16c7f2(0x39f)](_0x2c96d9,_0x10e2a1[_0x16c7f2(0x2b3)](_0x290ac1)),_0x2fd760[_0x16c7f2(0x4a1)](_0x10e2a1[_0x16c7f2(0x2b3)](_0x290ac1)));}),_0x5913e3[_0x3d5f03(0x1f4)](_0x33417a['PivotTableFiledAreaEnum'][_0x3d5f03(0x4a5)],_0x3cac10=>{const _0x47eff1=_0x3d5f03,_0x151cda=_0x3cac10[_0x47eff1(0x244)](),_0x9ab90=_0x3cac10[_0x47eff1(0x49c)](),_0x3b596e=_0x3cac10[_0x47eff1(0x441)](),_0x863afc=_0x3cac10[_0x47eff1(0x2b3)](),_0x1ac43b=_0x3cac10[_0x47eff1(0x423)](),_0x46e615=_0x563e7b(_0x3b596e,_0x1ac43b);_0x54a860[_0x9ab90]&&_0x54a860[_0x9ab90]===_0x3b596e&&_0x46e615===_0x863afc&&(_0x5913e3[_0x47eff1(0x39f)](_0x151cda,_0x563e7b(_0x10e2a1[_0x47eff1(0x2b3)](_0x9ab90),_0x1ac43b)),_0x3cac10[_0x47eff1(0x4a1)](_0x10e2a1[_0x47eff1(0x2b3)](_0x9ab90)));});},_0x54b4b2=(_0x39ed1e,_0x57d90d,_0x53387d)=>{const _0x111a90=_0x32a484;var _0x324ce4,_0x2b4252;const {arrayFormulaCellData:_0x4f32bf,unitData:_0x577d3d}=_0x57d90d,{unitId:_0x5c4b6e,subUnitId:_0x49227f}=_0x53387d,_0x2f4d61=_0x53387d[_0x111a90(0x1f6)],{startColumn:_0x37e0ef,endColumn:_0x515466}=_0x2f4d61,_0x3b6d0e=(_0x324ce4=_0x4f32bf==null?void 0x0:_0x4f32bf[_0x5c4b6e])==null?void 0x0:_0x324ce4[_0x49227f],_0x2b0ed3=(_0x2b4252=_0x577d3d==null?void 0x0:_0x577d3d[_0x5c4b6e])==null?void 0x0:_0x2b4252[_0x49227f],_0x13098d=new Set(),_0x5080f5=_0x515466-_0x37e0ef+0x1,{dirtyRanges:_0x5a4ab7}=_0x39ed1e;if(_0x5a4ab7)for(const {range:_0x24d35d,sheetId:_0x3b8a15,unitId:_0x77f51e}of _0x5a4ab7){if(_0x3b8a15!==_0x49227f||_0x5c4b6e!==_0x77f51e)continue;const _0x488345=_0x2fa876[_0x111a90(0x3b2)][_0x111a90(0x3c0)](_0x24d35d,_0x2f4d61);if(_0x488345){const {startColumn:_0x49ec77,endColumn:_0x516418}=_0x488345;for(let _0x3087eb=_0x49ec77;_0x3087eb<=_0x516418;_0x3087eb++)_0x13098d[_0x111a90(0x308)](_0x3087eb);}}if(_0x13098d[_0x111a90(0x40c)]===_0x5080f5||_0x13098d[_0x111a90(0x40c)]===_0x5080f5)return Array[_0x111a90(0x25f)](_0x13098d);if(_0x2b0ed3){const _0x37e234=_0x2b0ed3[_0x111a90(0x204)](),_0x433b26=Object[_0x111a90(0x31e)](_0x37e234);for(const _0x2c50b1 of _0x433b26){const _0x208328=Number(_0x2c50b1),_0x22aee7=_0x37e234[_0x208328];if(_0x13098d['size']===_0x5080f5)break;for(const _0x1162f4 in _0x22aee7){const _0x3f09a5=Number(_0x1162f4);_0x3f09a5<_0x37e0ef||_0x3f09a5>_0x515466||_0x13098d[_0x111a90(0x308)](_0x3f09a5);}}}if(_0x3b6d0e){const _0x133c3e=_0x3b6d0e['getMatrix'](),_0x4a390d=Object[_0x111a90(0x31e)](_0x133c3e);for(const _0x3015ea of _0x4a390d){const _0x159499=Number(_0x3015ea),_0x41f5a6=_0x133c3e[_0x159499];if(_0x13098d[_0x111a90(0x40c)]===_0x5080f5)break;for(const _0x10f269 in _0x41f5a6){const _0x2349ff=Number(_0x10f269);_0x2349ff<_0x37e0ef||_0x2349ff>_0x515466||_0x13098d[_0x111a90(0x308)](_0x2349ff);}}}return Array[_0x111a90(0x25f)](_0x13098d);},_0x3efc09=_0x551efe=>{const _0x2a6629=_0x32a484,_0x45d5bd=new Set(),_0x386407=[];for(const _0x280927 of _0x551efe){const _0x4a0369=_0x280927[_0x2a6629(0x340)]+','+_0x280927[_0x2a6629(0x2d0)]+','+_0x280927['startColumn']+','+_0x280927[_0x2a6629(0x315)];_0x45d5bd[_0x2a6629(0x290)](_0x4a0369)||(_0x45d5bd[_0x2a6629(0x308)](_0x4a0369),_0x386407[_0x2a6629(0x296)](_0x280927));}return _0x386407;};let _0x5da108=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0x3a3554,_0x5e3ef8,_0x52adfe,_0x33ddd9,_0x4454a3){const _0x28c2d3=_0x32a484;super(),_0x25ab16(this,'_globalSubject',new _0x2504f7['BehaviorSubject'](!0x0)),_0x25ab16(this,'_globalComputedStartHelpFunc',_0x4cf116=>{const _0x3ef958=_0x33f8;this['_globalSubject'][_0x3ef958(0x451)](!0x1);}),_0x25ab16(this,_0x28c2d3(0x476),_0x2fa2d3=>{const _0x5c9c5b=_0x28c2d3;this[_0x5c9c5b(0x489)]['next'](!0x0);}),(this[_0x28c2d3(0x34a)]=_0x3a3554,this[_0x28c2d3(0x303)]=_0x5e3ef8,this[_0x28c2d3(0x4cf)]=_0x52adfe,this[_0x28c2d3(0x416)]=_0x33ddd9,this[_0x28c2d3(0x42f)]=_0x4454a3,this[_0x28c2d3(0x44a)](),this[_0x28c2d3(0x4da)]());}[_0x32a484(0x44a)](){const _0x324f22=_0x32a484;this[_0x324f22(0x2b8)](),this[_0x324f22(0x352)](),this['_initPivotTextInfo'](),this['_subjectFieldsCollectionChange']();}['_initGlobalComputed'](){const _0x4e5117=_0x32a484;this[_0x4e5117(0x416)][_0x4e5117(0x235)](this['_globalSubject']),_0x33417a[_0x4e5117(0x28e)][_0x4e5117(0x330)](_0x33417a['PivotCallbackEnum']['onQueryStart'],this[_0x4e5117(0x48d)]),_0x33417a[_0x4e5117(0x28e)][_0x4e5117(0x330)](_0x33417a['PivotCallbackEnum'][_0x4e5117(0x33b)],this[_0x4e5117(0x476)]);}[_0x32a484(0x4da)](){const _0x4df3ac=_0x32a484;this[_0x4df3ac(0x327)](this['_commandService'][_0x4df3ac(0x448)](_0x3a8309=>{const _0x36e7e8=_0x4df3ac;_0x3a8309['id']===_0x30840c['MoveRangeMutation']['id']&&this['_sheetsPivotDataSourceModel'][_0x36e7e8(0x382)](_0x3a8309['params']);})),this[_0x4df3ac(0x327)](this[_0x4df3ac(0x4cf)]['onCommandExecuted'](_0x1492f3=>{const _0x5b2ef6=_0x4df3ac;if(_0x1492f3['id']!==_0x12d10f['id'])return;const _0xe04d98=_0x1492f3[_0x5b2ef6(0x3ca)],{unitId:_0x3e4a3b,subUnitId:_0x4f49e7,pivotTableId:_0x4ee510}=_0xe04d98,_0x35c1a7=_0xe04d98[_0x5b2ef6(0x3ca)][_0x5b2ef6(0x38a)],_0x38e6c4={};switch(_0x35c1a7){case _0x1ce851[_0x5b2ef6(0x3d0)]:{const _0x349f93=_0xe04d98['params'][_0x5b2ef6(0x2c6)];if(!_0x349f93)return;const {row:_0x2e63e3,col:_0x3c73a5,cellData:_0x22c417,pivotItemRenderInfoCache:_0x16d319,tableFieldId:_0x7a8e28}=_0x349f93,_0x1c767a=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0xe04d98[_0x5b2ef6(0x3eb)]);if(!_0x1c767a||!_0x16d319)return;if(_0x7a8e28){const _0xe50a46=_0x1c767a[_0x5b2ef6(0x2dd)](_0x7a8e28);if(!_0xe50a46)return;_0x38e6c4['filter']={..._0x1c767a[_0x5b2ef6(0x452)](_0xe50a46),'tableFieldId':_0x7a8e28,'pivotTableId':_0xe04d98[_0x5b2ef6(0x3eb)],'filterInfo':_0x1c767a[_0x5b2ef6(0x2cc)](_0x7a8e28),'sortInfo':_0x1c767a[_0x5b2ef6(0x467)](_0x7a8e28),'format':_0x1c767a[_0x5b2ef6(0x299)](_0x7a8e28)};}else{const _0x4c0cc4=_0x5894c7(_0x2e63e3,_0x3c73a5,_0x22c417,_0x1c767a,_0x16d319),_0x1d4ddb=_0x4c0cc4==null?void 0x0:_0x4c0cc4['filterId'];if(!_0x1d4ddb)return;const _0x25b20d=_0x1c767a[_0x5b2ef6(0x2dd)](_0x1d4ddb);if(!_0x25b20d)return;_0x38e6c4['filter']={..._0x1c767a['getDataFieldItemInfo'](_0x25b20d),'tableFieldId':_0x1d4ddb,'pivotTableId':_0xe04d98['pivotTableId'],'filterInfo':_0x1c767a[_0x5b2ef6(0x2cc)](_0x1d4ddb),'sortInfo':_0x1c767a[_0x5b2ef6(0x467)](_0x1d4ddb),'format':_0x1c767a[_0x5b2ef6(0x299)](_0x1d4ddb)};}}break;case _0x1ce851['Panel']:{const _0x3e4d99=_0xe04d98[_0x5b2ef6(0x3ca)][_0x5b2ef6(0x260)];if(!_0x3e4d99)return;const {pivotTableId:_0x5904d5}=_0x3e4d99,_0x17dbb9=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x5904d5);if(!_0x17dbb9)return;const _0x5b1c94=this[_0x5b2ef6(0x34a)]['getPivotTableConfig'](_0x3e4a3b,_0x4f49e7,_0x5904d5),_0xcf31b3=_0x4dd84c(_0x17dbb9,_0x5904d5,_0x5b1c94);_0x38e6c4[_0x5b2ef6(0x260)]=_0xcf31b3;}break;case _0x1ce851[_0x5b2ef6(0x357)]:{const _0x44654c=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510),_0x1b2404=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x4b6)](_0x3e4a3b),_0x2a848a=_0x1b2404['getCollection'](_0x4ee510);let _0x34c60a=null;const _0x342bf3=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510),_0x4f2794=_0xe04d98[_0x5b2ef6(0x3ca)]['addPivotField'];if(!_0x44654c||!_0x342bf3||!_0x4f2794)return!0x1;const {dataFieldId:_0x99340d,fieldArea:_0x711a34,index:_0x26d101}=_0x4f2794;_0x44654c['startCollectChangeset']();const _0x2bb496=_0x44654c[_0x5b2ef6(0x229)](_0x99340d,_0x711a34,_0x26d101);if(_0x2bb496&&_0x711a34===_0x33417a[_0x5b2ef6(0x321)]['Value']){const _0x180874=_0x2bb496['getId'](),_0x231d1c=_0x44654c[_0x5b2ef6(0x2dd)](_0x180874);if(_0x231d1c){const _0x307fbc=_0x231d1c==null?void 0x0:_0x231d1c[_0x5b2ef6(0x2b4)]();_0x44654c[_0x5b2ef6(0x253)](_0x2bb496['getId'](),_0x307fbc===_0x33417a[_0x5b2ef6(0x283)][_0x5b2ef6(0x309)]?_0x33417a[_0x5b2ef6(0x4bc)][_0x5b2ef6(0x1e9)]:_0x33417a[_0x5b2ef6(0x4bc)]['count']);}const _0xa6cf4c=_0x44654c[_0x5b2ef6(0x1df)](),_0xc9435c=_0x44654c[_0x5b2ef6(0x468)](),_0x273093=_0x44654c[_0x5b2ef6(0x4a8)](_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x4a5)]);if(_0xa6cf4c===-0x1&&_0x273093>0x1){const _0x39201f=_0xc9435c===_0x33417a[_0x5b2ef6(0x314)]['None']?_0x33417a['PivotTableValuePositionEnum']['Column']:_0xc9435c,_0x20abf8=_0x39201f===_0x33417a['PivotTableValuePositionEnum'][_0x5b2ef6(0x349)]?_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x349)]:_0x33417a[_0x5b2ef6(0x321)]['Column'];_0x44654c['updateValuePosition'](_0x39201f,_0x44654c['getFieldCountByArea'](_0x20abf8));}}else{if(_0x2bb496&&(_0x711a34===_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x349)]||_0x711a34===_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x1d6)])){const _0x1f2580=_0x2bb496['getId'](),_0x3607cd=_0x44654c[_0x5b2ef6(0x2dd)](_0x1f2580);if(_0x3607cd&&(_0x3607cd==null?void 0x0:_0x3607cd['getFieldDataType']())===_0x33417a[_0x5b2ef6(0x283)][_0x5b2ef6(0x437)]){const _0x79cafc=_0x3607cd['getformat']();if(_0x79cafc&&_0x44654c[_0x5b2ef6(0x30a)](_0x2bb496[_0x5b2ef6(0x244)](),_0x79cafc),!_0x2a848a['getFieldIds']()[_0x5b2ef6(0x26a)](_0x45af1f=>{const _0x14c92a=_0x5b2ef6,_0x50ad76=_0x2a848a[_0x14c92a(0x4a9)](_0x45af1f);return _0x33417a[_0x14c92a(0x326)](_0x50ad76)?_0x50ad76[_0x14c92a(0x4c7)]()[_0x14c92a(0x335)]===_0x99340d:!0x1;})){const _0x586b95=_0x1b2404['createDataFieldId'](),_0x53c018=_0x4a1bfb(_0x3607cd['maxDate'],_0x3607cd[_0x5b2ef6(0x1de)]),_0x3d1510=_0x3607cd[_0x5b2ef6(0x22d)]()+_0x5b2ef6(0x400)+_0x2cd99e(this[_0x5b2ef6(0x42f)],_0x53c018),_0x3e5b7c=new _0x33417a[(_0x5b2ef6(0x1e2))](_0x586b95,_0x3d1510,_0x33417a['generateHexNumber'](0x3),_0x3607cd[_0x5b2ef6(0x244)](),_0x53c018);_0x1b2404[_0x5b2ef6(0x355)](_0x3e5b7c),_0x2a848a[_0x5b2ef6(0x4e7)](_0x586b95,_0x3d1510),_0x44654c['addFieldWithSourceId'](_0x586b95,_0x711a34,(_0x26d101!=null?_0x26d101:0x0)+0x1),_0x34c60a=_0x3e5b7c;}}}}const _0x25f564=_0x44654c[_0x5b2ef6(0x3fa)](),_0x492011=_0x44654c[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)]();let _0x457f05;if(_0x34c60a){_0x457f05=_0x34c60a[_0x5b2ef6(0x4ab)]();const _0x2282fb=_0x34c60a['getId']();_0x2a848a[_0x5b2ef6(0x3c3)](_0x2282fb);let _0xf23e25=!0x0;for(const _0x4b5958 in _0x1b2404['collections'])if(_0x1b2404[_0x5b2ef6(0x4e2)][_0x4b5958][_0x5b2ef6(0x29d)]()[_0x5b2ef6(0x2a1)](_0x2282fb)){_0xf23e25=!0x1;break;}_0xf23e25&&_0x1b2404['deleteDataField'](_0x2282fb);}const _0xc581e4=_0x44654c[_0x5b2ef6(0x2ae)]();_0x38e6c4['addPivotField']={'view':_0x492011,'changesets':_0xc581e4,'isEmpty':_0x25f564,'pivotTableConfig':_0x342bf3,'shouldBeAddedGroupJSON':_0x457f05};}break;case _0x1ce851[_0x5b2ef6(0x3d5)]:{const _0x55391f=_0xe04d98['params'][_0x5b2ef6(0x30f)];if(!_0x55391f)return;const _0x59e34e=_0x55391f['sourceRangeInfo'],_0x449327=_0x55391f[_0x5b2ef6(0x3eb)],{collection:_0x22b6c5}=this[_0x5b2ef6(0x34a)]['createCollectionWithDataRange']({'unitId':_0x59e34e['unitId'],'sheetName':_0x59e34e[_0x5b2ef6(0x329)],'subUnitId':_0x59e34e[_0x5b2ef6(0x2fa)],'range':_0x59e34e[_0x5b2ef6(0x1f6)]}),_0x4e566a=new _0x33417a[(_0x5b2ef6(0x28e))](_0x22b6c5,void 0x0,_0x449327),_0x123557=_0x4e566a[_0x5b2ef6(0x341)](),_0x409314=_0x4e566a['toJSON'](),_0x13fe02=_0x22b6c5[_0x5b2ef6(0x4ab)]();_0x38e6c4[_0x5b2ef6(0x30f)]={'view':_0x123557,'fieldsConfig':_0x409314,'collectionConfig':_0x13fe02,'isEmpty':_0x4e566a[_0x5b2ef6(0x3fa)]()};}break;case _0x1ce851['MovePivotField']:{const _0x5be9ed=_0xe04d98['params'][_0x5b2ef6(0x3b1)];if(!_0x5be9ed)return;const {fieldId:_0x1c22ac,area:_0x58761e,index:_0x2fe57c}=_0x5be9ed,_0x47395f=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x47395f)return;const _0x312d6f=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510);if(!_0x312d6f)return;_0x312d6f[_0x5b2ef6(0x4c1)]();const {area:_0x38cf48,index:_0xc0ca54}=_0x312d6f[_0x5b2ef6(0x3d3)](_0x1c22ac);if(_0x312d6f[_0x5b2ef6(0x252)](_0x1c22ac,_0x58761e,_0x2fe57c),_0x58761e===_0x33417a[_0x5b2ef6(0x321)]['Value']&&_0x312d6f[_0x5b2ef6(0x447)](_0x1c22ac)['getSubtotal']()===void 0x0){const _0x439fe7=_0x312d6f[_0x5b2ef6(0x447)](_0x1c22ac);if(_0x439fe7&&_0x439fe7[_0x5b2ef6(0x423)]()===void 0x0){const _0x4c2f22=_0x312d6f[_0x5b2ef6(0x2dd)](_0x1c22ac);if(_0x4c2f22){const _0x581bcd=_0x4c2f22==null?void 0x0:_0x4c2f22[_0x5b2ef6(0x2b4)]();_0x312d6f[_0x5b2ef6(0x253)](_0x1c22ac,_0x581bcd===_0x33417a[_0x5b2ef6(0x283)][_0x5b2ef6(0x309)]?_0x33417a[_0x5b2ef6(0x4bc)][_0x5b2ef6(0x1e9)]:_0x33417a[_0x5b2ef6(0x4bc)]['count']);}}}const _0x3d2392=_0x312d6f[_0x5b2ef6(0x468)](),_0x19ba2a=_0x312d6f[_0x5b2ef6(0x1df)](),_0x5f0ed9=_0x312d6f[_0x5b2ef6(0x4a8)](_0x33417a['PivotTableFiledAreaEnum'][_0x5b2ef6(0x4a5)])>0x1;if(_0x5f0ed9&&_0x38cf48===_0x58761e&&(_0x58761e===_0x33417a[_0x5b2ef6(0x321)]['Row']&&_0x3d2392===_0x33417a[_0x5b2ef6(0x314)][_0x5b2ef6(0x349)]||_0x58761e===_0x33417a['PivotTableFiledAreaEnum'][_0x5b2ef6(0x1d6)]&&_0x3d2392===_0x33417a[_0x5b2ef6(0x314)]['Column'])){let _0xb16860=_0x19ba2a;_0xc0ca54<=_0x19ba2a&&_0xb16860--,_0x2fe57c<=_0x19ba2a&&_0xb16860++,_0x312d6f[_0x5b2ef6(0x34c)](_0x3d2392,_0xb16860);}else _0x5f0ed9&&(_0x38cf48===_0x33417a[_0x5b2ef6(0x321)]['Row']&&_0x3d2392===_0x33417a[_0x5b2ef6(0x314)][_0x5b2ef6(0x349)]||_0x38cf48===_0x33417a['PivotTableFiledAreaEnum'][_0x5b2ef6(0x1d6)]&&_0x3d2392===_0x33417a[_0x5b2ef6(0x314)][_0x5b2ef6(0x1d6)])&&_0x19ba2a>=_0xc0ca54&&_0x312d6f[_0x5b2ef6(0x34c)](_0x3d2392,_0x19ba2a-0x1),_0x5f0ed9&&(_0x58761e===_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x349)]&&_0x3d2392===_0x33417a['PivotTableValuePositionEnum'][_0x5b2ef6(0x349)]||_0x58761e===_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x1d6)]&&_0x3d2392===_0x33417a[_0x5b2ef6(0x314)][_0x5b2ef6(0x1d6)])&&_0x19ba2a>=_0x2fe57c&&_0x312d6f[_0x5b2ef6(0x34c)](_0x3d2392,_0x19ba2a+0x1);const _0x5ac673=_0x312d6f['query'](),_0x44407b=_0x312d6f[_0x5b2ef6(0x3fa)](),_0x233c56=_0x312d6f[_0x5b2ef6(0x2ae)]();_0x38e6c4[_0x5b2ef6(0x3b1)]={'view':_0x5ac673[_0x5b2ef6(0x4ab)](),'changesets':_0x233c56,'isEmpty':_0x44407b,'pivotTableConfig':_0x47395f};}break;case _0x1ce851[_0x5b2ef6(0x339)]:{const _0x5938e5=_0xe04d98[_0x5b2ef6(0x3ca)]['removePivotField'];if(!_0x5938e5)return;const _0x2d93e9=_0x5938e5[_0x5b2ef6(0x3c1)],_0x204945=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x204945)return!0x1;const _0x4f9ea6=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510);if(!_0x4f9ea6)return!0x1;_0x4f9ea6['startCollectChangeset']();for(const _0x383dac of _0x2d93e9){const {area:_0x5b1788}=_0x4f9ea6[_0x5b2ef6(0x3d3)](_0x383dac);_0x5b1788===_0x33417a[_0x5b2ef6(0x321)]['Value']&&_0x4f9ea6[_0x5b2ef6(0x322)](_0x383dac),(_0x5b1788===_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x349)]||_0x5b1788===_0x33417a[_0x5b2ef6(0x321)]['Column'])&&_0x4f9ea6[_0x5b2ef6(0x428)](_0x383dac),_0x4f9ea6[_0x5b2ef6(0x3f8)](_0x383dac);}const _0x2305d2=_0x4f9ea6[_0x5b2ef6(0x3fa)](),_0x183d34=_0x4f9ea6[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x35a4cf=_0x4f9ea6[_0x5b2ef6(0x2ae)]();_0x38e6c4[_0x5b2ef6(0x45b)]={'changesets':_0x35a4cf,'pivotTableConfig':_0x204945,'isEmpty':_0x2305d2,'view':_0x183d34};}break;case _0x1ce851[_0x5b2ef6(0x1e6)]:{const _0x21c55a=_0xe04d98[_0x5b2ef6(0x3ca)][_0x5b2ef6(0x38e)];if(!_0x21c55a)return;const {tableFieldId:_0x44bdde,items:_0x39c320,isAll:_0x5be0b1}=_0x21c55a,_0x126620=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510),_0x262b1d=this[_0x5b2ef6(0x34a)]['getPivotTableConfig'](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x126620||!_0x262b1d)return;_0x126620[_0x5b2ef6(0x4c1)](),_0x126620['setLabelFilterInfo'](_0x44bdde,{'type':_0x33417a[_0x5b2ef6(0x245)][_0x5b2ef6(0x2fb)],'list':_0x39c320,'isAll':_0x5be0b1});const _0x2c8de6=_0x126620['isEmpty'](),_0x2e46cc=_0x126620[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x354c7f=_0x126620['endCollectChangeset']();_0x38e6c4['setPivotFilter']={'view':_0x2e46cc,'changesets':_0x354c7f,'isEmpty':_0x2c8de6,'pivotTableConfig':_0x262b1d};}break;case _0x1ce851[_0x5b2ef6(0x220)]:{const _0xb0dec0=_0xe04d98[_0x5b2ef6(0x3ca)]['setValuePivotFilter'];if(!_0xb0dec0)return;const {tableFieldId:_0x1fce6d,filterInfo:_0x11fc46}=_0xb0dec0,_0x4bd61d=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x4ee510),_0x53c911=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x4bd61d||!_0x53c911)return;_0x4bd61d[_0x5b2ef6(0x4c1)](),_0x4bd61d[_0x5b2ef6(0x24a)](_0x1fce6d,_0x11fc46);const _0x48bf04=_0x4bd61d['isEmpty'](),_0x153da0=_0x4bd61d[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x3ba658=_0x4bd61d[_0x5b2ef6(0x2ae)]();_0x38e6c4[_0x5b2ef6(0x454)]={'view':_0x153da0,'changesets':_0x3ba658,'isEmpty':_0x48bf04,'pivotTableConfig':_0x53c911};}break;case _0x1ce851['SetPivotSort']:{const _0x5cdd6d=_0xe04d98[_0x5b2ef6(0x3ca)]['setPivotSort'];if(!_0x5cdd6d)return;const {tableFieldId:_0x5e8651,info:_0x5b90b5}=_0x5cdd6d,_0x14bf74=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510),_0x51be70=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x14bf74||!_0x51be70)return;_0x14bf74[_0x5b2ef6(0x4c1)](),_0x14bf74['setSortInfo'](_0x5e8651,_0x5b90b5);const _0x3282e4=_0x14bf74[_0x5b2ef6(0x3fa)](),_0x1afbf7=_0x14bf74[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x1accf1=_0x14bf74[_0x5b2ef6(0x2ae)]();_0x38e6c4['setPivotSort']={'view':_0x1afbf7,'changesets':_0x1accf1,'isEmpty':_0x3282e4,'pivotTableConfig':_0x51be70};}break;case _0x1ce851[_0x5b2ef6(0x3a0)]:{const _0x3bc5fe=_0xe04d98[_0x5b2ef6(0x3ca)][_0x5b2ef6(0x23d)];if(!_0x3bc5fe)return;const {tableFieldId:_0x2feaf9,displayName:_0x44c3c2,subtotalType:_0x4639df,format:_0x1bbd6e}=_0x3bc5fe,_0x37e9a6=this[_0x5b2ef6(0x34a)]['getPivotTableInstance'](_0x4ee510),_0x5ce824=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x37e9a6||!_0x5ce824)return;_0x37e9a6['startCollectChangeset'](),_0x44c3c2!==void 0x0&&_0x37e9a6['renameField'](_0x2feaf9,_0x44c3c2),_0x4639df!==void 0x0&&_0x37e9a6[_0x5b2ef6(0x253)](_0x2feaf9,_0x4639df),_0x1bbd6e!==void 0x0&&_0x37e9a6[_0x5b2ef6(0x30a)](_0x2feaf9,_0x1bbd6e);const _0x395f7b=_0x37e9a6[_0x5b2ef6(0x3fa)](),_0x502dbf=_0x37e9a6[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0xf2506d=_0x37e9a6['endCollectChangeset']();_0x38e6c4[_0x5b2ef6(0x23d)]={'changesets':_0xf2506d,'pivotTableConfig':_0x5ce824,'isEmpty':_0x395f7b,'view':_0x502dbf};}break;case _0x1ce851[_0x5b2ef6(0x379)]:{const _0x2020ef=_0xe04d98[_0x5b2ef6(0x3ca)]['updatePivotSource'];if(!_0x2020ef)return;const {dataRangeInfo:_0x232674,unitId:_0x204858,subUnitId:_0x4a95c0}=_0x2020ef,_0x47b6a6=this['_sheetsPivotDataSourceModel'][_0x5b2ef6(0x2e9)](_0x204858,_0x4a95c0,_0x4ee510),_0x4db347=this[_0x5b2ef6(0x34a)]['getPivotTableInstance'](_0x4ee510);if(!this[_0x5b2ef6(0x34a)]['getCollection'](_0x204858,_0x4ee510)||!_0x4db347||!_0x47b6a6)return;const _0x30240c=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x368)](_0x204858,_0x4ee510,_0x232674),_0x424d24=this['_sheetsPivotDataSourceModel']['getCollection'](_0x204858,_0x4ee510)[_0x5b2ef6(0x4ab)](),{collection:_0x3e7065}=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2af)]({'unitId':_0x232674[_0x5b2ef6(0x211)],'sheetName':_0x232674[_0x5b2ef6(0x329)],'subUnitId':_0x232674['subUnitId'],'range':_0x232674['range']}),_0x4e87cf=_0x3e7065[_0x5b2ef6(0x4ab)]();_0x4db347[_0x5b2ef6(0x4c1)]();const _0x25c036=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x4b6)](_0x204858)[_0x5b2ef6(0x2a2)]()||_0x33417a['getAutoDisplayName'];_0x4db347['iterateField'](_0x29de93=>{const _0x3d47c0=_0x5b2ef6,_0xc9498c=_0x29de93[_0x3d47c0(0x49c)]();if(!_0x3e7065['hasField'](_0xc9498c)){const _0x5f421b=_0x3e7065[_0x3d47c0(0x4c6)](_0x29de93['getSourceName']());if(_0x5f421b){_0x4db347[_0x3d47c0(0x47e)](_0x29de93[_0x3d47c0(0x244)](),_0x5f421b[_0x3d47c0(0x22d)](),_0x5f421b[_0x3d47c0(0x244)]());const {area:_0x13473b}=_0x4db347[_0x3d47c0(0x3d3)](_0x29de93[_0x3d47c0(0x244)]());let _0x58a887=_0x29de93[_0x3d47c0(0x441)]();const _0x2f5d6a=_0x29de93['getDisplayName']();if(_0x13473b===_0x33417a['PivotTableFiledAreaEnum'][_0x3d47c0(0x4a5)]){const _0x5886a3=_0x29de93['getSubtotal']();_0x58a887=_0x25c036(_0x5f421b[_0x3d47c0(0x22d)](),_0x5886a3);}_0x2f5d6a!==_0x58a887&&_0x4db347[_0x3d47c0(0x39f)](_0x29de93[_0x3d47c0(0x244)](),_0x58a887);}else _0x4db347[_0x3d47c0(0x3f8)](_0x29de93['getId']());}});const _0xf4ab99=_0x4db347[_0x5b2ef6(0x3fa)](),_0x4e5bd1=_0x4db347['query']()['toJSON'](),_0x318614=_0x4db347[_0x5b2ef6(0x2ae)]();_0x38e6c4[_0x5b2ef6(0x4b3)]={'view':_0x4e5bd1,'changesets':_0x318614,'isEmpty':_0xf4ab99,'pivotTableConfig':_0x47b6a6,'collectionConfig':_0x4e87cf,'oldCollectionConfig':_0x424d24,'deleteIds':_0x30240c};}break;case _0x1ce851[_0x5b2ef6(0x3ba)]:{const _0x135bf3=_0xe04d98['params'][_0x5b2ef6(0x34c)];if(!_0x135bf3)return;const {position:_0x4c96e2,index:_0xd0bd32}=_0x135bf3,_0x35e12a=this['_sheetsPivotDataSourceModel'][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x35e12a)return!0x1;const _0x415c69=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510);if(!_0x415c69)return!0x1;_0x415c69[_0x5b2ef6(0x4c1)](),_0x415c69[_0x5b2ef6(0x34c)](_0x4c96e2,_0xd0bd32);const _0x5712ae=_0x415c69[_0x5b2ef6(0x3fa)](),_0x423e84=_0x415c69[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x5a01e8=_0x415c69[_0x5b2ef6(0x2ae)]();_0x38e6c4[_0x5b2ef6(0x34c)]={'changesets':_0x5a01e8,'pivotTableConfig':_0x35e12a,'isEmpty':_0x5712ae,'view':_0x423e84};}break;case _0x1ce851['SetPivotCollapse']:{const _0x1574d3=_0xe04d98[_0x5b2ef6(0x3ca)][_0x5b2ef6(0x353)];if(!_0x1574d3)return;const {tableFieldId:_0x44d3da,collapse:_0x17c31a,item:_0x24a88e}=_0x1574d3,_0x188ae1=this[_0x5b2ef6(0x34a)]['getPivotTableInstance'](_0x4ee510),_0xf0aee=this[_0x5b2ef6(0x34a)]['getPivotTableConfig'](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x188ae1||!_0xf0aee)return;_0x188ae1[_0x5b2ef6(0x4c1)](),_0x188ae1['setCollapse'](_0x44d3da,_0x17c31a,_0x24a88e);const _0x939c21=_0x188ae1[_0x5b2ef6(0x3fa)](),_0x10fc0a=_0x188ae1[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x584211=_0x188ae1[_0x5b2ef6(0x2ae)]();_0x38e6c4['setPivotCollapse']={'view':_0x10fc0a,'isEmpty':_0x939c21,'pivotTableConfig':_0xf0aee,'changesets':_0x584211};}break;case _0x1ce851[_0x5b2ef6(0x2e3)]:{const _0x467a68=_0xe04d98[_0x5b2ef6(0x3ca)]['setPivotTableConfig'];if(!_0x467a68)return;const {pivotTableConfig:_0x57893b}=_0x467a68,_0x3e5370=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510),_0x357e66=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2e9)](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x3e5370||!_0x357e66)return;_0x3e5370[_0x5b2ef6(0x4c1)](),_0x284d0a(_0x3e5370,_0x57893b);const _0x509258=_0x3e5370['isEmpty'](),_0x594d70=_0x3e5370['query']()[_0x5b2ef6(0x4ab)](),_0xd627c5=_0x3e5370[_0x5b2ef6(0x2ae)]();_0x38e6c4['setPivotTableConfig']={'view':_0x594d70,'isEmpty':_0x509258,'pivotTableConfig':{..._0x357e66,'fieldsConfig':_0x3e5370[_0x5b2ef6(0x4ab)]()},'changesets':_0xd627c5};}break;case _0x1ce851['ResetPivotTable']:{const _0x385b9f=_0xe04d98[_0x5b2ef6(0x3ca)]['resetPivotTable'];if(!_0x385b9f)return;const _0x4a6160=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x47b)](_0x4ee510),_0x34e1b2=this[_0x5b2ef6(0x34a)]['getPivotTableConfig'](_0x3e4a3b,_0x4f49e7,_0x4ee510);if(!_0x4a6160||!_0x34e1b2)return;_0x4a6160[_0x5b2ef6(0x4c1)](),_0x3e6b18(_0x4a6160,_0x385b9f['resetArea']);const _0x2a6d84=_0x4a6160[_0x5b2ef6(0x341)]()[_0x5b2ef6(0x4ab)](),_0x3f27a6=_0x4a6160[_0x5b2ef6(0x2ae)]();_0x38e6c4[_0x5b2ef6(0x344)]={'view':_0x2a6d84,'isEmpty':!0x0,'pivotTableConfig':{..._0x34e1b2,'fieldsConfig':_0x4a6160[_0x5b2ef6(0x4ab)]()},'changesets':_0x3f27a6};}break;case _0x1ce851[_0x5b2ef6(0x241)]:{const _0x3fd3c2=_0xe04d98[_0x5b2ef6(0x3ca)][_0x5b2ef6(0x1f2)];if(!_0x3fd3c2)return;const _0x1c97c5=_0x3fd3c2[_0x5b2ef6(0x218)],_0x2d33c9=_0x3fd3c2['pivotTableId'],{collection:_0x2de59e}=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x2af)]({'unitId':_0x1c97c5[_0x5b2ef6(0x211)],'sheetName':_0x1c97c5[_0x5b2ef6(0x329)],'subUnitId':_0x1c97c5[_0x5b2ef6(0x2fa)],'range':_0x1c97c5['range']}),_0xdb54f8=new _0x33417a[(_0x5b2ef6(0x28e))](_0x2de59e,void 0x0,_0x2d33c9),_0x25491f=_0x2de59e[_0x5b2ef6(0x29d)](),{rows:_0x1e4887,columns:_0x3b6cbb,filters:_0x492112,values:_0x33282f}=_0x3fd3c2[_0x5b2ef6(0x3d4)];_0xdb54f8['startCollectChangeset']();for(const {field:_0x451e91,selectedItems:_0x25656e}of _0x1e4887||[]){const _0x326218=_0x25491f[_0x451e91];if(_0x326218){const _0x22666f=_0xdb54f8[_0x5b2ef6(0x229)](_0x326218,_0x33417a[_0x5b2ef6(0x321)][_0x5b2ef6(0x349)]);_0x25656e&&_0x22666f&&_0xdb54f8[_0x5b2ef6(0x2c2)](_0x22666f[_0x5b2ef6(0x244)](),{'type':_0x33417a[_0x5b2ef6(0x245)][_0x5b2ef6(0x2fb)],'list':_0x25656e,'isAll':!0x1});}}for(const {field:_0x2506e7,selectedItems:_0x380bdf}of _0x3b6cbb||[]){const _0x377b38=_0x25491f[_0x2506e7];if(_0x377b38){const _0x111239=_0xdb54f8[_0x5b2ef6(0x229)](_0x377b38,_0x33417a['PivotTableFiledAreaEnum'][_0x5b2ef6(0x1d6)]);_0x380bdf&&_0x111239&&_0xdb54f8['setLabelFilterInfo'](_0x111239[_0x5b2ef6(0x244)](),{'type':_0x33417a[_0x5b2ef6(0x245)][_0x5b2ef6(0x2fb)],'list':_0x380bdf,'isAll':!0x1});}}for(const {field:_0x1b606d,selectedItems:_0x272410}of _0x492112||[]){const _0x31ab69=_0x25491f[_0x1b606d];if(_0x31ab69){const _0x3a7305=_0xdb54f8['addFieldWithSourceId'](_0x31ab69,_0x33417a[_0x5b2ef6(0x321)]['Filter']);_0x272410&&_0x3a7305&&_0xdb54f8[_0x5b2ef6(0x2c2)](_0x3a7305[_0x5b2ef6(0x244)](),{'type':_0x33417a['PivotFilterTypeEnum'][_0x5b2ef6(0x2fb)],'list':_0x272410,'isAll':!0x1});}}for(const {field:_0xc52265,subTotalType:_0x288ef9,formatString:_0x4c5650}of _0x33282f||[]){const _0x463e35=_0x2de59e[_0x5b2ef6(0x4a9)](_0x25491f[_0xc52265]);if(!_0x463e35)continue;const _0x5f1893=_0x25491f[_0xc52265];if(_0x5f1893){const _0x283b51=_0xdb54f8['addFieldWithSourceId'](_0x5f1893,_0x33417a['PivotTableFiledAreaEnum'][_0x5b2ef6(0x4a5)]);if(_0x283b51){if(_0x288ef9!==void 0x0){_0xdb54f8[_0x5b2ef6(0x253)](_0x283b51[_0x5b2ef6(0x244)](),_0x288ef9);const _0x3c947b=this[_0x5b2ef6(0x34a)][_0x5b2ef6(0x4b6)](_0x1c97c5[_0x5b2ef6(0x211)])[_0x5b2ef6(0x2a2)]()||_0x33417a[_0x5b2ef6(0x26f)],_0x2f8398=_0x2de59e[_0x5b2ef6(0x2b3)](_0x5f1893),_0x2f6604=_0x3c947b(_0x2f8398,_0x288ef9);_0xdb54f8[_0x5b2ef6(0x39f)](_0x283b51[_0x5b2ef6(0x244)](),_0x2f6604);}else{if(_0x463e35){const _0x31d17b=_0x463e35==null?void 0x0:_0x463e35[_0x5b2ef6(0x2b4)]();_0xdb54f8['setSubtotalType'](_0x283b51[_0x5b2ef6(0x244)](),_0x31d17b===_0x33417a[_0x5b2ef6(0x283)][_0x5b2ef6(0x309)]?_0x33417a['PivotSubtotalTypeEnum'][_0x5b2ef6(0x1e9)]:_0x33417a['PivotSubtotalTypeEnum'][_0x5b2ef6(0x3cd)]);}}_0x4c5650&&_0xdb54f8[_0x5b2ef6(0x30a)](_0x283b51['getId'](),_0x4c5650);}}}const _0xfece6e=_0xdb54f8['query'](),_0x5429b8=_0xdb54f8['toJSON'](),_0x1a78fe=_0xdb54f8['isEmpty'](),_0x14d165=_0xdb54f8[_0x5b2ef6(0x2ae)](),_0x121612=_0x2de59e['toJSON']();_0x38e6c4[_0x5b2ef6(0x1f2)]={'view':_0xfece6e,'fieldsConfig':_0x5429b8,'collectionConfig':_0x121612,'isEmpty':_0x1a78fe,'changesets':_0x14d165};}break;case _0x1ce851['DrillDown']:{const _0x32cb47=_0x7fbd45(this['_injector'],_0xe04d98);if(!_0x32cb47)return;const {range:_0x1c884b,sourceSubUnitId:_0x1958db,sourceUnitId:_0x5e6ffe,formatMap:_0x207b95,indexes:_0x31a213}=_0x32cb47;_0x38e6c4[_0x5b2ef6(0x442)]={'range':_0x1c884b,'sourceSubUnitId':_0x1958db,'sourceUnitId':_0x5e6ffe,'formatMap':_0x207b95,'indexes':_0x31a213};}break;}this['_commandService'][_0x5b2ef6(0x24f)](_0x195cb7['id'],{'version':_0xe04d98[_0x5b2ef6(0x48c)],'result':_0x38e6c4},{'onlyLocal':!0x0});}));}[_0x32a484(0x248)](){const _0x1e0fbc=_0x32a484;this[_0x1e0fbc(0x327)](this[_0x1e0fbc(0x4cf)][_0x1e0fbc(0x448)](_0x39cbde=>{const _0x12c879=_0x1e0fbc;if(_0x39cbde['id']!==_0x3e71e4['id'])return;const _0x2eaa21=_0x39cbde[_0x12c879(0x3ca)];return this['_sheetsPivotDataSourceModel']['setTextInfo'](_0x2eaa21[_0x12c879(0x334)]),!0x0;}));}[_0x32a484(0x2b8)](){const _0x23f142=_0x32a484;this[_0x23f142(0x34a)]['collectionChange$']['subscribe'](_0xd559e5=>{const _0x4d9951=_0x23f142;switch(_0xd559e5[_0x4d9951(0x38a)]){case _0xf2a767[_0x4d9951(0x308)]:_0xd559e5[_0x4d9951(0x221)]&&_0xd559e5['targetCellInfo']&&this[_0x4d9951(0x4e6)](_0xd559e5[_0x4d9951(0x3a6)],_0xd559e5[_0x4d9951(0x221)],_0xd559e5['targetCellInfo']);break;case _0xf2a767[_0x4d9951(0x3a9)]:{const {unitId:_0x5db763,subUnitId:_0x4a364e,token:_0x2dcbc5}=_0xd559e5;_0x5db763&&_0x4a364e&&_0x2dcbc5&&this[_0x4d9951(0x2f3)](_0x5db763,_0x4a364e,_0x2dcbc5);}break;case _0xf2a767['update']:{const {token:_0x431104,oldSourceRangeInfo:_0x2fd601,dataRangeInfo:_0x42bab9,targetCellInfo:_0x12c5df}=_0xd559e5,{unitId:_0x3b506c,subUnitId:_0x1f6973}=_0x2fd601||{};_0x3b506c&&_0x1f6973&&_0x431104&&this[_0x4d9951(0x2f3)](_0x3b506c,_0x1f6973,_0x431104),_0x42bab9&&_0x12c5df&&this[_0x4d9951(0x4e6)](_0x431104,_0x42bab9,_0x12c5df);}break;}});}[_0x32a484(0x4d6)](){const _0x1a2a2c=_0x32a484;this['_sheetsPivotDataSourceModel'][_0x1a2a2c(0x363)][_0x1a2a2c(0x332)](_0x3e9982=>{const _0x24ac16=_0x1a2a2c;Object[_0x24ac16(0x31e)](_0x3e9982)['forEach'](_0x231ec8=>{const _0x4371e0=_0x24ac16,_0x5e6150=this[_0x4371e0(0x34a)][_0x4371e0(0x4aa)](_0x231ec8);if(_0x5e6150){const _0xb6f2ca=this['_sheetsPivotDataSourceModel'][_0x4371e0(0x2e9)](_0x5e6150==null?void 0x0:_0x5e6150[_0x4371e0(0x211)],_0x5e6150==null?void 0x0:_0x5e6150['subUnitId'],_0x231ec8);_0xb6f2ca&&(this[_0x4371e0(0x4e6)](_0x231ec8,_0xb6f2ca[_0x4371e0(0x218)],_0xb6f2ca['targetCellInfo']),this[_0x4371e0(0x3cb)]([{'unitId':_0x5e6150[_0x4371e0(0x211)],'subUnitId':_0x5e6150['subUnitId'],'token':_0x231ec8}]));}});});}[_0x32a484(0x352)](){const _0x27f2a8=_0x32a484;this[_0x27f2a8(0x34a)][_0x27f2a8(0x4b1)][_0x27f2a8(0x332)](_0x1fce11=>{const {unitId:_0x596e0e,subUnitId:_0x1d70ab,pivotTableId:_0x1fe827}=_0x1fce11;_0x596e0e&&_0x1d70ab&&_0x1fe827&&this['triggerDirtyFeature']([{'unitId':_0x596e0e,'subUnitId':_0x1d70ab,'token':_0x1fe827}]);});}[_0x32a484(0x3cb)](_0x5e7152){const _0xfa5a1d=_0x32a484,_0x3f9f7f={};_0x5e7152[_0xfa5a1d(0x4c2)](_0x1d3dc9=>{var _0x3fabf5,_0x177a6f;const {unitId:_0x18e4d5,subUnitId:_0x390f33,token:_0x3b8ac5}=_0x1d3dc9;_0x3f9f7f[_0x18e4d5]=(_0x3fabf5=_0x3f9f7f[_0x18e4d5])!=null?_0x3fabf5:{},_0x3f9f7f[_0x18e4d5][_0x390f33]=(_0x177a6f=_0x3f9f7f[_0x18e4d5][_0x390f33])!=null?_0x177a6f:{},_0x3f9f7f[_0x18e4d5][_0x390f33][_0x3b8ac5]=!0x0;}),this[_0xfa5a1d(0x4cf)][_0xfa5a1d(0x24f)](_0x322618['id'],_0x3f9f7f);}[_0x32a484(0x2f3)](_0x3aaf9d,_0x1239ff,_0x4e0bbd){this['_featureCalculationManagerService']['remove'](_0x3aaf9d,_0x1239ff,[_0x4e0bbd]);}['handleSourceRangeChange'](_0x5ae715,_0x31840b,_0x115a6c){const _0x57d63c=_0x32a484,{unitId:_0x2b5109,subUnitId:_0xf1874f}=_0x31840b;this['_featureCalculationManagerService'][_0x57d63c(0x290)](_0x115a6c[_0x57d63c(0x211)],_0x115a6c[_0x57d63c(0x2fa)],_0x5ae715)&&this[_0x57d63c(0x2f3)](_0x2b5109,_0xf1874f,_0x5ae715);const _0x3f069b={'sheetId':_0xf1874f,..._0x31840b};this['_featureCalculationManagerService'][_0x57d63c(0x43f)](_0x115a6c['unitId'],_0x115a6c['subUnitId'],_0x5ae715,{'unitId':_0x115a6c['unitId'],'subUnitId':_0x115a6c['subUnitId'],'dependencyRanges':[_0x3f069b],'getDirtyData':(_0x2543c3,_0x1c6207)=>{const _0x523c20=_0x57d63c,_0x41d31f=this['_sheetsPivotDataSourceModel'],_0x22550a=_0x41d31f[_0x523c20(0x4aa)](_0x5ae715);if(!_0x22550a)return _0x3ea56b();const {unitId:_0x1dd068,subUnitId:_0xa60613}=_0x22550a,_0x2d37fc=_0x54b4b2(_0x2543c3,_0x1c6207,_0x31840b);if(_0x2d37fc['length']>0x0){const _0x3855b7=_0x41d31f[_0x523c20(0x336)](_0x2b5109,_0x5ae715),_0x2efc9d=_0x3855b7['getFieldIds'](),_0x2d0a90=this['getMatrixFromRunTimeData'](_0x31840b[_0x523c20(0x211)],_0x31840b[_0x523c20(0x2fa)],_0x1c6207),_0x2b42c9={},_0x27ae63=this[_0x523c20(0x34a)]['getDataFieldManager'](_0x1dd068)[_0x523c20(0x2a2)]()||_0x33417a['getAutoDisplayName'],_0xd00743=[];for(const _0x277288 of _0x2d37fc){const _0x41598e=_0x277288-(_0x31840b['range'][_0x523c20(0x3e4)]||0x0),_0x3e69f5=_0x2efc9d[_0x41598e];_0xd00743[_0x523c20(0x296)](_0x3e69f5),_0x2b42c9[_0x3e69f5]=_0x3855b7[_0x523c20(0x4a9)](_0x3e69f5)[_0x523c20(0x22d)](),_0x41d31f[_0x523c20(0x4b6)](_0x2b5109)[_0x523c20(0x40a)](_0x3e69f5,_0x31840b,_0x41598e,_0x2d0a90);}_0x3855b7[_0x523c20(0x1ff)](_0xd00743)[_0x523c20(0x4c2)](_0x9ac8db=>{const _0x45d27d=_0x523c20,[_0x30591b,_0x4530e1]=_0x9ac8db,_0x267e70=_0x3855b7[_0x45d27d(0x4a9)](_0x30591b),_0x2b5e69=_0x3855b7[_0x45d27d(0x4a9)](_0x4530e1);_0x267e70&&_0x2b5e69&&_0x267e70[_0x45d27d(0x4bb)](_0x2b5e69);}),_0x3855b7[_0x523c20(0x440)]();const _0x1a6158=_0x41d31f[_0x523c20(0x47b)](_0x5ae715);if(_0x1a6158){_0x6d510f(_0x1a6158,_0x2b42c9,_0x27ae63),_0x1a6158[_0x523c20(0x453)](!0x0);const _0x560ee7=_0x1a6158[_0x523c20(0x341)](),_0x32970f=_0x41d31f[_0x523c20(0x2e9)](_0x1dd068,_0xa60613,_0x5ae715),_0xa97125=_0x41d31f[_0x523c20(0x4b6)](_0x2b5109)[_0x523c20(0x4ab)]();_0x41d31f['updateView'](_0x1dd068,_0xa60613,_0x477731[_0x523c20(0x47a)],_0x5ae715,_0x560ee7,_0x32970f,_0xa97125,!0x0);}}return this[_0x523c20(0x1e5)](_0x1dd068,_0xa60613,_0x5ae715);}});}['getMatrixFromRunTimeData'](_0x364708,_0x2a47cc,_0x20ecdb){var _0x65e4c6,_0x3b6744;const {arrayFormulaCellData:_0x4ecaa5,unitData:_0x32f989}=_0x20ecdb,_0x30d21f=(_0x65e4c6=_0x4ecaa5==null?void 0x0:_0x4ecaa5[_0x364708])==null?void 0x0:_0x65e4c6[_0x2a47cc],_0x17b9a3=(_0x3b6744=_0x32f989==null?void 0x0:_0x32f989[_0x364708])==null?void 0x0:_0x3b6744[_0x2a47cc];return{'arrayFormulaCellDataMatrix':_0x30d21f,'unitDataMatrix':_0x17b9a3};}[_0x32a484(0x1e5)](_0x782aaf,_0x447b8b,_0x309bce){const _0x389fd4=_0x32a484,_0x14cbf4=this[_0x389fd4(0x34a)][_0x389fd4(0x469)](_0x782aaf,_0x447b8b,_0x309bce),_0x4f341c=[],_0x4abbec=new _0x2fa876[(_0x389fd4(0x48a))]();if(_0x14cbf4){const {rangeCache:_0x3f72c1,matrix:_0x38fb80,oldRangeCache:_0x2fa2c9,oldMatrix:_0x577b4b}=_0x14cbf4,_0x5c558d=_0x3fcd7b(_0x2fa2c9),_0x1e1821=_0x3fcd7b(_0x3f72c1);_0x4f341c['push'](..._0x1e1821,..._0x5c558d),_0x577b4b&&_0x2fa2c9&&_0x5c558d[_0x389fd4(0x4c2)](_0x59fab3=>{const _0x265eaa=_0x389fd4;for(let _0x237e23=_0x59fab3[_0x265eaa(0x340)];_0x237e23<=_0x59fab3['endRow'];_0x237e23++)for(let _0x157879=_0x59fab3[_0x265eaa(0x3e4)];_0x157879<=_0x59fab3[_0x265eaa(0x315)];_0x157879++)_0x4abbec[_0x265eaa(0x2bd)](_0x237e23,_0x157879);}),_0x38fb80&&_0x1e1821&&_0x1e1821['forEach'](_0x2668bc=>{const _0x3c1440=_0x389fd4;for(let _0xc2cb30=_0x2668bc[_0x3c1440(0x340)];_0xc2cb30<=_0x2668bc[_0x3c1440(0x2d0)];_0xc2cb30++)for(let _0x35357b=_0x2668bc['startColumn'];_0x35357b<=_0x2668bc[_0x3c1440(0x315)];_0x35357b++)_0x4abbec['setValue'](_0xc2cb30,_0x35357b,_0x38fb80['getValue'](_0xc2cb30,_0x35357b));});}const _0x5477ad={};return _0x5477ad[_0x782aaf]={[_0x447b8b]:_0x3efc09(_0x4f341c)},{'runtimeCellData':{[_0x782aaf]:{[_0x447b8b]:_0x4abbec}},'dirtyRanges':_0x5477ad};}['dispose'](){}};_0x5da108=_0x38a2a6([_0x3a96ca(0x0,_0x2fa876['Inject'](_0xd0af73[_0x32a484(0x255)])),_0x3a96ca(0x1,_0x2fa876[_0x32a484(0x4a3)](_0x196a8d['IFeatureCalculationManagerService'])),_0x3a96ca(0x2,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876['ICommandService'])),_0x3a96ca(0x3,_0x2fa876[_0x32a484(0x4a3)](_0x196a8d['GlobalComputingStatusService'])),_0x3a96ca(0x4,_0x2fa876['Inject'](_0x2fa876[_0x32a484(0x304)]))],_0x5da108);var _0x283970=Object['getOwnPropertyDescriptor'],_0x501cc4=(_0x56df08,_0x17caf3,_0x283fb7,_0x4e54de)=>{const _0x4f3e5e=_0x32a484;for(var _0x163ca3=_0x4e54de>0x1?void 0x0:_0x4e54de?_0x283970(_0x17caf3,_0x283fb7):_0x17caf3,_0xa925d5=_0x56df08[_0x4f3e5e(0x249)]-0x1,_0x37e33b;_0xa925d5>=0x0;_0xa925d5--)(_0x37e33b=_0x56df08[_0xa925d5])&&(_0x163ca3=_0x37e33b(_0x163ca3)||_0x163ca3);return _0x163ca3;},_0xd110aa=(_0x2879ef,_0x53b5f9)=>(_0x1a6c6e,_0x4ada6d)=>_0x53b5f9(_0x1a6c6e,_0x4ada6d,_0x2879ef);let _0x59d811=class extends _0x2fa876['Disposable']{constructor(_0x214660,_0x58b584,_0x495468,_0xca31d4){const _0x1199a5=_0x32a484;super(),_0x25ab16(this,'disposableCollection',new _0x2fa876['DisposableCollection']()),(this[_0x1199a5(0x4d0)]=_0x214660,this['_sheetInterceptorService']=_0x58b584,this[_0x1199a5(0x317)]=_0x495468,this[_0x1199a5(0x287)]=_0xca31d4,this['_initClearSelectionCommandInterceptor']());}[_0x32a484(0x49d)](){const _0x1476ae=_0x32a484;this[_0x1476ae(0x327)](this[_0x1476ae(0x46e)]['interceptCommand']({'getMutations':_0x29568e=>{const _0xc9e83d=_0x1476ae;if(_0x29568e['id']===_0x30840c['ClearSelectionContentCommand']['id']||_0x29568e['id']===_0x30840c['ClearSelectionAllCommand']['id']){const _0x2e742e=[],_0x4411e8=[],_0x31392a=this[_0xc9e83d(0x317)][_0xc9e83d(0x25d)]()[_0xc9e83d(0x2a0)](_0x3dd2d0=>_0x3dd2d0[_0xc9e83d(0x1f6)]),_0x1cea6d=_0x30840c[_0xc9e83d(0x279)](this['_univerInstanceService']);if(!_0x1cea6d)return{'redos':[],'undos':[]};const {unitId:_0x161543,subUnitId:_0xa2305e}=_0x1cea6d,_0x132737={},_0x2b6334=this[_0xc9e83d(0x287)][_0xc9e83d(0x40b)](_0x161543,_0xa2305e);if(_0x2b6334!=null&&_0x2b6334[_0xc9e83d(0x40c)])for(const [_0x3d9f10,_0x3ad5c7]of _0x2b6334){const {unitId:_0x2b230c,subUnitId:_0x5f42d2,row:_0x264899,col:_0x316e2c}=_0x3ad5c7['targetCellInfo'];_0x2b230c===_0x1cea6d[_0xc9e83d(0x211)]&&_0x5f42d2===_0x1cea6d[_0xc9e83d(0x2fa)]&&(_0x132737[_0x264899+'-'+_0x316e2c]=_0x3d9f10);}return _0x31392a&&_0x1cea6d&&_0x31392a[_0xc9e83d(0x4c2)](_0x51e3fe=>{const _0x37ae31=_0xc9e83d;_0x2fa876[_0x37ae31(0x33a)][_0x37ae31(0x2b2)](_0x51e3fe,(_0x11391c,_0x3010f1)=>{const _0x5f0a13=_0x37ae31,_0x58ce34=_0x11391c+'-'+_0x3010f1;if(_0x132737[_0x58ce34]){const _0x40a16b=_0x132737[_0x58ce34];_0x2e742e['push']({'id':_0xe28166['id'],'params':{'unitId':_0x161543,'subUnitId':_0xa2305e,'pivotTableId':_0x40a16b}});const _0x12f3d8=this[_0x5f0a13(0x287)]['getCollection'](_0x161543,_0x40a16b),_0x5d76c5=this[_0x5f0a13(0x287)][_0x5f0a13(0x2e9)](_0x161543,_0xa2305e,_0x40a16b);_0x4411e8[_0x5f0a13(0x296)]({'id':_0x22c246['id'],'params':{'unitId':_0x161543,'subUnitId':_0xa2305e,'pivotTableId':_0x40a16b,'pivotTableConfig':_0x5d76c5,'collectionConfig':_0x12f3d8}});}});}),{'redos':_0x2e742e,'undos':_0x4411e8};}return{'redos':[],'undos':[]};}}));}};_0x59d811=_0x501cc4([_0xd110aa(0x0,_0x2fa876['IUniverInstanceService']),_0xd110aa(0x1,_0x2fa876[_0x32a484(0x4a3)](_0x30840c[_0x32a484(0x3f1)])),_0xd110aa(0x2,_0x2fa876[_0x32a484(0x4a3)](_0x30840c['SheetsSelectionsService'])),_0xd110aa(0x3,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x32b)]))],_0x59d811);var _0x1e3d57=Object['getOwnPropertyDescriptor'],_0x49bdaa=(_0x4ec7b1,_0x1029c5,_0x508770,_0x393ea1)=>{const _0xef1801=_0x32a484;for(var _0x2244ea=_0x393ea1>0x1?void 0x0:_0x393ea1?_0x1e3d57(_0x1029c5,_0x508770):_0x1029c5,_0x1c93b8=_0x4ec7b1[_0xef1801(0x249)]-0x1,_0x431629;_0x1c93b8>=0x0;_0x1c93b8--)(_0x431629=_0x4ec7b1[_0x1c93b8])&&(_0x2244ea=_0x431629(_0x2244ea)||_0x2244ea);return _0x2244ea;},_0x506c87=(_0xb5ec0a,_0x16e7c5)=>(_0x38f414,_0x10062a)=>_0x16e7c5(_0x38f414,_0x10062a,_0xb5ec0a);let _0x2626a1=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0xbc6039,_0x1970c3,_0x3602ce,_0x4a4881,_0x26c107){const _0x3f54b9=_0x32a484;super(),this['_sheetInterceptorService']=_0xbc6039,this[_0x3f54b9(0x42f)]=_0x1970c3,this['_univerInstanceService']=_0x3602ce,this[_0x3f54b9(0x287)]=_0x4a4881,this['_sheetsPivotTableService']=_0x26c107,this[_0x3f54b9(0x42e)]();}[_0x32a484(0x2b0)](_0x5415fb,_0x40553f,_0x27287e){const _0x522fa3=_0x32a484,{pageView:_0x5dd1b2,cornerView:_0x4ecfce,rowView:_0x5cffa2,colView:_0x3d0828,dataView:_0x462744}=_0x40553f,_0x3d0416=_0x5415fb;let _0xf40887;if(_0x27287e)_0xf40887=[..._0xee0526(_0x3d0416)];else{const _0xd36b4f=_0x47957b(_0x3d0416,_0x5dd1b2,!0x0),_0x5cefe9=_0x5dd1b2[_0x522fa3(0x427)]>=0x0?_0x5dd1b2[_0x522fa3(0x427)]+0x1:0x0,_0x50ef97=_0x4ecfce[_0x522fa3(0x3c9)],_0x122769=_0x4ecfce[_0x522fa3(0x295)],_0x21ee10=_0xd36b4f[_0x522fa3(0x249)]>0x0?_0x4814ba:0x0,_0x1bd089=_0x47957b({'row':_0x3d0416[_0x522fa3(0x213)]+_0x5cefe9+_0x21ee10,'col':_0x3d0416[_0x522fa3(0x38d)]},_0x4ecfce,!0x1,!0x1),_0x560d7d=_0x47957b({'row':_0x3d0416[_0x522fa3(0x213)]+_0x5cefe9+_0x21ee10+_0x50ef97,'col':_0x3d0416[_0x522fa3(0x38d)]},_0x5cffa2,!0x1,!0x0),_0x440d01=_0x47957b({'row':_0x3d0416['row']+_0x5cefe9+_0x21ee10,'col':_0x3d0416['col']+_0x122769},_0x3d0828,!0x1,!0x0),_0x1a7639=_0x47957b({'row':_0x3d0416['row']+_0x5cefe9+_0x21ee10+_0x50ef97,'col':_0x3d0416[_0x522fa3(0x38d)]+_0x122769},_0x462744,!0x1,!0x0);_0xf40887=[..._0xd36b4f,..._0x1bd089,..._0x560d7d,..._0x440d01,..._0x1a7639];}return _0xf40887;}[_0x32a484(0x42e)](){const _0x33dad1=_0x32a484;this[_0x33dad1(0x327)](this[_0x33dad1(0x21a)]['interceptor'][_0x33dad1(0x4a0)](this[_0x33dad1(0x21a)][_0x33dad1(0x44e)][_0x33dad1(0x2e1)]()[_0x33dad1(0x415)],{'handler':(_0x15f17e,_0x1894cd)=>{const _0x42f0c6=_0x33dad1,{cellInfo:_0x29077f,view:_0x58afa9,isEmpty:_0x593b64}=_0x1894cd,_0x95fbcf=_0x29077f,{unitId:_0x6fb303,subUnitId:_0xb9da18}=_0x95fbcf,_0x3d522f=this[_0x42f0c6(0x2b0)](_0x29077f,_0x58afa9,_0x593b64),_0x29ba06=this[_0x42f0c6(0x46e)][_0x42f0c6(0x2ac)]({'unitId':_0x6fb303,'subUnitId':_0xb9da18,'ranges':_0x3d522f}),_0x3cc5f1=_0x10af34(this[_0x42f0c6(0x42f)],_0x6fb303,_0xb9da18,_0x3d522f);_0x3cc5f1[_0x42f0c6(0x3b8)]&&(_0x29ba06[_0x42f0c6(0x390)]['push'](_0x3cc5f1[_0x42f0c6(0x3a4)]),_0x29ba06[_0x42f0c6(0x443)][_0x42f0c6(0x296)](_0x3cc5f1[_0x42f0c6(0x32d)]));const _0x560297=this[_0x42f0c6(0x1fa)](_0x58afa9,_0x29077f);return _0x29ba06[_0x42f0c6(0x390)][_0x42f0c6(0x296)](..._0x560297[_0x42f0c6(0x390)]),_0x29ba06[_0x42f0c6(0x443)][_0x42f0c6(0x296)](..._0x560297[_0x42f0c6(0x443)]),{'redos':_0x29ba06[_0x42f0c6(0x390)],'undos':_0x29ba06['undos']};}}));}[_0x32a484(0x1fa)](_0x160f26,_0x56ec4b){const _0x59081e=_0x32a484,{col:_0x36e183,unitId:_0x49c10e,subUnitId:_0x41c25e}=_0x56ec4b,_0x537280=[],_0x50619b=[],_0x2a78c6=_0x30840c['getSheetCommandTarget'](this[_0x59081e(0x4d0)],{'unitId':_0x49c10e,'subUnitId':_0x41c25e});if(!_0x56ec4b||!_0x160f26||!_0x2a78c6)return{'undos':_0x50619b,'redos':_0x537280};const _0x2b792c=this['_sheetsPivotTableConfigModel']['getTextInfo'](),{colView:_0x2800cf,dataView:_0x50a223,cornerView:_0x51efa8,rowView:_0x85c8a9,formatMap:_0x1259ee}=_0x160f26,_0x1f0318=_0x2326eb(_0x2800cf,_0x2b792c,!0x0,_0x1259ee),_0x520711=_0x2326eb(_0x85c8a9,_0x2b792c,!0x1,_0x1259ee),_0x218cf1=_0x478f19(_0x50a223),_0x5551d1=_0xe3e6b3(_0x51efa8),{worksheet:_0x4f6547}=_0x2a78c6;if(typeof window<'u'&&window[_0x59081e(0x2c7)]){const _0x8e2b0e=_0x488639['getFontStyleString']({..._0x226288[_0x59081e(0x4c9)]}),_0x3db2d4=_0x488639['FontCache'][_0x59081e(0x42a)](_0x1f0318,_0x8e2b0e)[_0x59081e(0x471)]+0x10,_0xf5c9d2=_0x488639[_0x59081e(0x214)][_0x59081e(0x42a)](_0x218cf1,_0x8e2b0e)['width'],_0x401a22=Math[_0x59081e(0x4a6)](Math['max'](_0x3db2d4,_0xf5c9d2))+0x10,_0x4f2ff1=Math[_0x59081e(0x4a6)](_0x488639[_0x59081e(0x214)]['getTextSize'](_0x520711,_0x8e2b0e)['width']),_0x52f72b=Math[_0x59081e(0x4a6)](_0x488639[_0x59081e(0x214)][_0x59081e(0x42a)](_0x5551d1,_0x8e2b0e)[_0x59081e(0x471)]),_0x200900=Math['max'](_0x4f2ff1,_0x52f72b,0x28)+0xc,_0x5a0b00=_0x2800cf[_0x59081e(0x295)]+_0x51efa8[_0x59081e(0x295)],_0x16bb4f={},_0x2ddc95={};for(let _0x4f73ce=_0x36e183;_0x4f73ce<_0x36e183+_0x5a0b00;_0x4f73ce++){const _0x1803ff=_0x4f6547['getColumnWidth'](_0x4f73ce);_0x16bb4f[_0x4f73ce]=_0x1803ff,_0x4f73ce-_0x36e183<_0x51efa8[_0x59081e(0x295)]?_0x2ddc95[_0x4f73ce-_0x36e183]=_0x200900:_0x2ddc95[_0x4f73ce-_0x36e183]=_0x401a22;}_0x537280[_0x59081e(0x296)]({'id':_0x30840c['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x41c25e,'unitId':_0x49c10e,'ranges':[{'startColumn':_0x36e183,'endColumn':_0x36e183+_0x5a0b00-0x1,'startRow':0x0,'endRow':_0x4f6547[_0x59081e(0x4b4)]()-0x1}],'colWidth':_0x2ddc95}}),_0x50619b[_0x59081e(0x296)]({'id':_0x30840c[_0x59081e(0x421)]['id'],'params':{'subUnitId':_0x41c25e,'unitId':_0x49c10e,'ranges':[{'startColumn':_0x36e183,'endColumn':_0x36e183+_0x5a0b00-0x1,'startRow':0x0,'endRow':_0x4f6547['getRowCount']()-0x1}],'colWidth':_0x16bb4f}});}return{'undos':_0x50619b,'redos':_0x537280};}};_0x2626a1=_0x49bdaa([_0x506c87(0x0,_0x2fa876['Inject'](_0x30840c[_0x32a484(0x3f1)])),_0x506c87(0x1,_0x2fa876['Inject'](_0x2fa876[_0x32a484(0x304)])),_0x506c87(0x2,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876['IUniverInstanceService'])),_0x506c87(0x3,_0x2fa876['Inject'](_0xd0af73[_0x32a484(0x32b)])),_0x506c87(0x4,_0x2fa876['Inject'](_0xd0af73[_0x32a484(0x21f)]))],_0x2626a1);var _0x2c2e30=Object['getOwnPropertyDescriptor'],_0x2f1c57=(_0x420449,_0x349140,_0x33802d,_0x7ee9c8)=>{for(var _0x5830fb=_0x7ee9c8>0x1?void 0x0:_0x7ee9c8?_0x2c2e30(_0x349140,_0x33802d):_0x349140,_0x128993=_0x420449['length']-0x1,_0x5c515f;_0x128993>=0x0;_0x128993--)(_0x5c515f=_0x420449[_0x128993])&&(_0x5830fb=_0x5c515f(_0x5830fb)||_0x5830fb);return _0x5830fb;},_0x32f550=(_0x59e95e,_0x41a801)=>(_0x9007cc,_0x5123df)=>_0x41a801(_0x9007cc,_0x5123df,_0x59e95e);let _0x27855c=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0x58c350,_0x413b91,_0x19dfa4,_0x1275c6,_0x350089,_0x2ddf77,_0x492148){const _0x360dab=_0x32a484;super(),_0x25ab16(this,_0x360dab(0x4ad),new _0x2fa876['DisposableCollection']()),(this[_0x360dab(0x42f)]=_0x58c350,this['_refRangeService']=_0x413b91,this[_0x360dab(0x4cf)]=_0x19dfa4,this[_0x360dab(0x4d0)]=_0x1275c6,this[_0x360dab(0x287)]=_0x350089,this['_sheetsPivotTableAdaptorModel']=_0x2ddf77,this['_sheetInterceptorService']=_0x492148,this[_0x360dab(0x223)]());}[_0x32a484(0x223)](){const _0x3dcdf9=_0x32a484,_0x5259a1=(_0x5445de,_0x5a51da)=>{const _0x12f9cb=_0x33f8,_0x41bd20=this[_0x12f9cb(0x4d0)]['getCurrentUnitForType'](_0x2fa876['UniverInstanceType'][_0x12f9cb(0x28a)]);if(!_0x41bd20||!(_0x41bd20==null?void 0x0:_0x41bd20[_0x12f9cb(0x493)](_0x5a51da)))return;this[_0x12f9cb(0x4ad)][_0x12f9cb(0x366)]();const _0x1a8e08=_0x34733f=>this[_0x12f9cb(0x39a)](_0x34733f,_0x5445de,_0x5a51da),_0x41e27e=this['_sheetsPivotTableConfigModel'][_0x12f9cb(0x40b)](_0x5445de,_0x5a51da);if(!(_0x41e27e!=null&&_0x41e27e[_0x12f9cb(0x40c)]))return;Array[_0x12f9cb(0x25f)](_0x41e27e[_0x12f9cb(0x1e7)]())[_0x12f9cb(0x2a0)](_0xf98579=>{const _0x12d42f=_0x12f9cb,{row:_0x20036d,col:_0x34a7e7}=_0xf98579[_0x12d42f(0x412)];return _0x2fa876[_0x12d42f(0x4bd)](_0x20036d,_0x34a7e7);})['forEach'](_0x56990f=>{const _0x4954f0=_0x12f9cb;this[_0x4954f0(0x4ad)][_0x4954f0(0x308)](this[_0x4954f0(0x365)][_0x4954f0(0x275)](_0x56990f,_0x1a8e08,_0x5445de,_0x5a51da));});},_0x3ce013=()=>{const _0x42741d=_0x33f8,_0x4f2710=this[_0x42741d(0x4d0)][_0x42741d(0x347)](_0x2fa876['UniverInstanceType'][_0x42741d(0x28a)]);if(_0x4f2710){const _0x8d8dc9=_0x4f2710[_0x42741d(0x36e)]();if(!_0x8d8dc9)return;_0x5259a1(_0x4f2710[_0x42741d(0x472)](),_0x8d8dc9['getSheetId']());}};this[_0x3dcdf9(0x327)](this[_0x3dcdf9(0x4cf)][_0x3dcdf9(0x448)](_0x425cfd=>{const _0x4bf5af=_0x3dcdf9;if(_0x425cfd['id']===_0x30840c['SetWorksheetActiveOperation']['id']){const _0x581cae=_0x425cfd[_0x4bf5af(0x3ca)],_0xc0f4a2=_0x581cae[_0x4bf5af(0x2fa)],_0x233689=_0x581cae[_0x4bf5af(0x211)];if(!_0xc0f4a2||!_0x233689)return;_0x5259a1(_0x233689,_0xc0f4a2);}})),this[_0x3dcdf9(0x327)](this[_0x3dcdf9(0x287)]['pivotInitCompleted$'][_0x3dcdf9(0x332)](_0x228606=>{_0x228606&&_0x3ce013();})),this['disposeWithMe'](this[_0x3dcdf9(0x287)][_0x3dcdf9(0x369)][_0x3dcdf9(0x332)](_0x32f29b=>{const _0x30e25a=_0x3dcdf9,_0x23471b=_0x30840c['getSheetCommandTarget'](this[_0x30e25a(0x4d0)]);if(!_0x23471b)return;const {unitId:_0x5c908d,subUnitId:_0x2fc16e}=_0x23471b,{unitId:_0x148959,subUnitId:_0x3287dd}=_0x32f29b;_0x5c908d!==_0x148959||_0x2fc16e!==_0x3287dd||_0x5259a1(_0x5c908d,_0x2fc16e);})),_0x3ce013();}[_0x32a484(0x39a)](_0x3a124f,_0x1e18f2,_0x2eba99){const _0x2139bd=_0x32a484;switch(_0x3a124f['id']){case _0x30840c[_0x2139bd(0x351)]['id']:return this[_0x2139bd(0x2e2)](_0x3a124f[_0x2139bd(0x3ca)],_0x1e18f2,_0x2eba99);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x2a9fd6,_0x4f40c8,_0x10cf7f){const _0x52a525=_0x32a484,{fromRange:_0x5ddd27,toRange:_0x5d6c3a}=_0x2a9fd6,_0x1cc241=[],_0x276dd9=[],_0x305667=_0x30840c[_0x52a525(0x279)](this[_0x52a525(0x4d0)]);if(!_0x305667)return{'undos':_0x276dd9,'redos':_0x1cc241};if(_0x4f40c8!==_0x305667[_0x52a525(0x211)]||_0x10cf7f!==_0x305667['subUnitId'])return{'undos':_0x276dd9,'redos':_0x1cc241};const _0x52af62=this[_0x52a525(0x287)][_0x52a525(0x40b)](_0x4f40c8,_0x10cf7f);if(_0x52af62!=null&&_0x52af62[_0x52a525(0x40c)])for(const [_0x334da7,_0x2fa11f]of _0x52af62){const {unitId:_0x49e751,subUnitId:_0x227fff,row:_0x35f1c0,col:_0x3f2888}=_0x2fa11f[_0x52a525(0x412)];if(_0x49e751===_0x305667['unitId']&&_0x227fff===_0x305667[_0x52a525(0x2fa)]){const _0x1cd054=_0x2fa876[_0x52a525(0x4bd)](_0x35f1c0,_0x3f2888);if(_0x2fa876['Rectangle'][_0x52a525(0x2ed)](_0x1cd054,_0x5ddd27)){const _0x3c7af1=_0x35f1c0-_0x5ddd27[_0x52a525(0x340)],_0x52d6f7=_0x3f2888-_0x5ddd27[_0x52a525(0x3e4)],_0x4d4315={'row':_0x5d6c3a[_0x52a525(0x340)]+_0x3c7af1,'col':_0x5d6c3a[_0x52a525(0x3e4)]+_0x52d6f7};_0x1cc241[_0x52a525(0x296)]({'id':_0x1de3f8['id'],'params':{'unitId':_0x49e751,'subUnitId':_0x227fff,'pivotTableId':_0x334da7,'targetCellPosition':_0x4d4315}}),_0x276dd9[_0x52a525(0x296)]({'id':_0x1de3f8['id'],'params':{'unitId':_0x49e751,'subUnitId':_0x227fff,'pivotTableId':_0x334da7,'targetCellPosition':{'row':_0x35f1c0,'col':_0x3f2888}}});const _0x20ccfc=_0x4d4315[_0x52a525(0x213)]-_0x35f1c0,_0x55818c=_0x4d4315[_0x52a525(0x38d)]-_0x3f2888,_0x2a31f9=[],_0xc07a69=this[_0x52a525(0x24c)][_0x52a525(0x2d5)](_0x49e751,_0x227fff,_0x334da7),_0x10e5b6=_0xc07a69==null?void 0x0:_0xc07a69[_0x52a525(0x38f)];if(_0x10e5b6){Object[_0x52a525(0x31e)](_0x10e5b6)[_0x52a525(0x4c2)](_0x5a6ca8=>{const _0x373191=_0x52a525;_0x10e5b6[_0x5a6ca8][_0x373191(0x4c2)](_0x1e3a12=>{const _0x57c484=_0x373191,_0x52eb0c={..._0x1e3a12};_0x52eb0c[_0x57c484(0x340)]=_0x1e3a12[_0x57c484(0x340)]+_0x20ccfc,_0x52eb0c[_0x57c484(0x2d0)]=_0x1e3a12[_0x57c484(0x2d0)]+_0x20ccfc,_0x52eb0c[_0x57c484(0x3e4)]=_0x1e3a12[_0x57c484(0x3e4)]+_0x55818c,_0x52eb0c[_0x57c484(0x315)]=_0x1e3a12[_0x57c484(0x315)]+_0x55818c,_0x2a31f9['push'](_0x52eb0c);});});const _0x5ed8ca=this[_0x52a525(0x46e)]['generateMutationsByRanges']({'unitId':_0x49e751,'subUnitId':_0x227fff,'ranges':_0x2a31f9});_0x1cc241['push'](..._0x5ed8ca[_0x52a525(0x390)]),_0x276dd9['push'](..._0x5ed8ca[_0x52a525(0x443)]);const _0x11269e=_0x10af34(this['_injector'],_0x49e751,_0x227fff,_0x2a31f9);_0x11269e[_0x52a525(0x3b8)]&&(_0x1cc241['push'](_0x11269e[_0x52a525(0x3a4)]),_0x276dd9['push'](_0x11269e[_0x52a525(0x32d)]));}}}}return{'redos':_0x1cc241,'undos':_0x276dd9};}};_0x27855c=_0x2f1c57([_0x32f550(0x0,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876['Injector'])),_0x32f550(0x1,_0x2fa876['Inject'](_0x30840c[_0x32a484(0x25e)])),_0x32f550(0x2,_0x2fa876[_0x32a484(0x41b)]),_0x32f550(0x3,_0x2fa876[_0x32a484(0x361)]),_0x32f550(0x4,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x32b)])),_0x32f550(0x5,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x404)])),_0x32f550(0x6,_0x2fa876['Inject'](_0x30840c['SheetInterceptorService']))],_0x27855c);var _0x17babc=Object[_0x32a484(0x48e)],_0x31f278=(_0x166476,_0x49627a,_0x330d19,_0x7c322)=>{const _0x2541d3=_0x32a484;for(var _0x1a7b12=_0x7c322>0x1?void 0x0:_0x7c322?_0x17babc(_0x49627a,_0x330d19):_0x49627a,_0x3c428f=_0x166476[_0x2541d3(0x249)]-0x1,_0x2aee7f;_0x3c428f>=0x0;_0x3c428f--)(_0x2aee7f=_0x166476[_0x3c428f])&&(_0x1a7b12=_0x2aee7f(_0x1a7b12)||_0x1a7b12);return _0x1a7b12;},_0x22366b=(_0x5d5307,_0x596f9f)=>(_0x45923b,_0x85b9ca)=>_0x596f9f(_0x45923b,_0x85b9ca,_0x5d5307);let _0x4e32d3=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0x76036c,_0x246eec){const _0x609f78=_0x32a484;super(),this[_0x609f78(0x46e)]=_0x76036c,this[_0x609f78(0x287)]=_0x246eec,this[_0x609f78(0x1d9)]();}[_0x32a484(0x1d9)](){const _0x475a3c=_0x32a484;this[_0x475a3c(0x327)](this[_0x475a3c(0x46e)][_0x475a3c(0x3f0)]({'getMutations':_0x59ec1d=>{const _0x1e413d=_0x475a3c;if(_0x59ec1d['id']===_0x30840c[_0x1e413d(0x25c)]['id']){const _0x3085e6=[],_0x4fcb92=[],_0x527785=_0x59ec1d['params'],{unitId:_0x410f24,subUnitId:_0x128b13}=_0x527785;if(!_0x410f24||!_0x128b13)return{'undos':_0x4fcb92,'redos':_0x3085e6};const _0x465d30=this[_0x1e413d(0x287)][_0x1e413d(0x40b)](_0x410f24,_0x128b13);if(_0x465d30!=null&&_0x465d30[_0x1e413d(0x40c)])for(const [_0x3c8fe6,_0x1e0b69]of _0x465d30){_0x3085e6[_0x1e413d(0x296)]({'id':_0xe28166['id'],'params':{'unitId':_0x410f24,'subUnitId':_0x128b13,'pivotTableId':_0x3c8fe6}});const _0x31af81={...this['_sheetsPivotTableConfigModel'][_0x1e413d(0x336)](_0x410f24,_0x3c8fe6)};_0x4fcb92[_0x1e413d(0x296)]({'id':_0x22c246['id'],'params':{'unitId':_0x410f24,'subUnitId':_0x128b13,'pivotTableId':_0x3c8fe6,'pivotTableConfig':_0x1e0b69,'collectionConfig':_0x31af81}});}return{'redos':_0x3085e6,'undos':_0x4fcb92};}return{'redos':[],'undos':[]};}}));}};_0x4e32d3=_0x31f278([_0x22366b(0x0,_0x2fa876[_0x32a484(0x4a3)](_0x30840c[_0x32a484(0x3f1)])),_0x22366b(0x1,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x32b)]))],_0x4e32d3);var _0x408ed7=Object['getOwnPropertyDescriptor'],_0x4cea7b=(_0x251b15,_0x44ff70,_0x430cc1,_0x42469c)=>{for(var _0x59c705=_0x42469c>0x1?void 0x0:_0x42469c?_0x408ed7(_0x44ff70,_0x430cc1):_0x44ff70,_0x5051bf=_0x251b15['length']-0x1,_0x34f6aa;_0x5051bf>=0x0;_0x5051bf--)(_0x34f6aa=_0x251b15[_0x5051bf])&&(_0x59c705=_0x34f6aa(_0x59c705)||_0x59c705);return _0x59c705;},_0x5322da=(_0x1bfe2,_0x3ad088)=>(_0x2d8c5f,_0x21c465)=>_0x3ad088(_0x2d8c5f,_0x21c465,_0x1bfe2);let _0xa8a020=class extends _0x2fa876[_0x32a484(0x4dd)]{constructor(_0x299a20,_0x2af359,_0x3ed279,_0x5e2079,_0x38a48e,_0x535e5f){const _0x1c3034=_0x32a484;super(),this[_0x1c3034(0x4cf)]=_0x299a20,this[_0x1c3034(0x47f)]=_0x2af359,this[_0x1c3034(0x24c)]=_0x3ed279,this[_0x1c3034(0x287)]=_0x5e2079,this[_0x1c3034(0x4d0)]=_0x38a48e,this[_0x1c3034(0x2eb)]=_0x535e5f,this[_0x1c3034(0x461)](),this['registerDirtyService']();}[_0x32a484(0x461)](){const _0x22301d=_0x32a484;this[_0x22301d(0x327)](this['_commandService'][_0x22301d(0x448)](_0x3ae5c9=>{const _0x535234=_0x22301d;if(_0x3ae5c9['id']!==_0x195cb7['id'])return;const _0x100271=_0x3ae5c9[_0x535234(0x3ca)];this[_0x535234(0x47f)][_0x535234(0x482)](_0x100271);})),this[_0x22301d(0x327)](this[_0x22301d(0x4cf)]['onCommandExecuted'](_0x3acbfb=>{const _0x4ffcd5=_0x22301d;if(_0x3acbfb['id']===_0x38a7b1['id']){const _0x5986a3=_0x3acbfb[_0x4ffcd5(0x3ca)];if(_0x5986a3){const {unitId:_0xfca160,subUnitId:_0x21b95b,oldSubUnitId:_0x2a49d2,pivotTableId:_0x3a9975,pivotTableConfig:_0x941049,collectionConfig:_0x493465}=_0x5986a3;this['_sheetsPivotTableConfigModel'][_0x4ffcd5(0x3a5)](_0xfca160,_0x2a49d2,_0x5986a3[_0x4ffcd5(0x3eb)],null),this[_0x4ffcd5(0x287)][_0x4ffcd5(0x3a5)](_0xfca160,_0x21b95b,_0x3a9975,_0x941049),this[_0x4ffcd5(0x287)][_0x4ffcd5(0x2db)](_0xfca160,_0x493465);}}})),this[_0x22301d(0x327)](this[_0x22301d(0x4cf)][_0x22301d(0x448)](_0x59800d=>{const _0x4005f9=_0x22301d;if(_0x59800d['id']!==_0x444296['id'])return;const _0x4b14ba=_0x30840c[_0x4005f9(0x279)](this[_0x4005f9(0x4d0)]);if(!_0x4b14ba)return;const {unitId:_0x3d06fe,subUnitId:_0x33e548}=_0x4b14ba,_0x55a242=_0x59800d[_0x4005f9(0x3ca)];if(_0x55a242[_0x4005f9(0x4de)]&&Object[_0x4005f9(0x31e)](_0x55a242[_0x4005f9(0x4de)])[_0x4005f9(0x4c2)](_0x28583b=>{const _0xa6fc9a=_0x4005f9;var _0x51f175;(_0x51f175=_0x55a242['collectionConfig'])!=null&&_0x51f175[_0x28583b]&&this[_0xa6fc9a(0x287)][_0xa6fc9a(0x2db)](_0x28583b,_0x55a242[_0xa6fc9a(0x4de)][_0x28583b]);}),_0x55a242[_0x4005f9(0x4cc)]){const _0x1d8d28=_0x55a242[_0x4005f9(0x4cc)],{unitId:_0x573cc9,subUnitId:_0x573340,view:_0x25f041,pivotTableId:_0x2f40ae,type:_0x56a61a,pivotConfig:_0x1b3209}=_0x1d8d28;if(_0x56a61a===_0x477731[_0x4005f9(0x3df)])this[_0x4005f9(0x24c)][_0x4005f9(0x36d)]({'unitId':_0x573cc9,'subUnitId':_0x573340,'pivotTableId':_0x2f40ae,'type':_0x56a61a}),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x573cc9,_0x573340,_0x2f40ae,null);else{const _0x39c132=new _0x33417a[(_0x4005f9(0x22b))]();_0x39c132[_0x4005f9(0x298)](_0x25f041),this[_0x4005f9(0x287)][_0x4005f9(0x3a5)](_0x573cc9,_0x573340,_0x2f40ae,_0x1b3209),this['_sheetsPivotTableAdaptorModel'][_0x4005f9(0x36d)]({'unitId':_0x573cc9,'subUnitId':_0x573340,'pivotTableId':_0x2f40ae,'type':_0x56a61a,'view':_0x39c132}),this[_0x4005f9(0x24c)]['updateRenderCache']({'unitId':_0x573cc9,'subUnitId':_0x573340,'view':_0x39c132,'pivotTableId':_0x2f40ae,'type':_0x56a61a});}}else _0x55a242[_0x4005f9(0x2ff)]&&(_0x55a242[_0x4005f9(0x2ff)]['forEach'](_0x26f5f6=>{const _0x9951b9=_0x4005f9,{unitId:_0x5bac54,subUnitId:_0x3e15eb,view:_0x3df141,pivotTableId:_0x56ba40,type:_0x56e6a4,pivotConfig:_0x534760}=_0x26f5f6,_0x440878=new _0x33417a['PivotView']();_0x440878['formJSON'](_0x3df141),this[_0x9951b9(0x287)][_0x9951b9(0x3a5)](_0x5bac54,_0x3e15eb,_0x56ba40,_0x534760),this['_sheetsPivotTableAdaptorModel'][_0x9951b9(0x492)]({'unitId':_0x5bac54,'subUnitId':_0x3e15eb,'view':_0x440878,'pivotTableId':_0x56ba40,'type':_0x56e6a4});}),this['_sheetsPivotTableConfigModel'][_0x4005f9(0x225)]());this[_0x4005f9(0x24c)]['markDirty'](_0x3d06fe,_0x33e548);}));}[_0x32a484(0x1f7)](){const _0x4f7f4e=_0x32a484;this[_0x4f7f4e(0x2eb)][_0x4f7f4e(0x43f)](_0x322618['id'],{'commandId':_0x322618['id'],'getDirtyData'(_0x10762e){const _0x3b3391=_0x4f7f4e;return{'dirtyUnitFeatureMap':_0x10762e[_0x3b3391(0x3ca)]};}});}};_0xa8a020=_0x4cea7b([_0x5322da(0x0,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x41b)])),_0x5322da(0x1,_0x2fa876['Inject'](_0xd0af73[_0x32a484(0x3af)])),_0x5322da(0x2,_0x2fa876['Inject'](_0xd0af73[_0x32a484(0x404)])),_0x5322da(0x3,_0x2fa876[_0x32a484(0x4a3)](_0xd0af73[_0x32a484(0x32b)])),_0x5322da(0x4,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x361)])),_0x5322da(0x5,_0x196a8d[_0x32a484(0x3e7)])],_0xa8a020);var _0x1d531b=Object[_0x32a484(0x207)],_0x3ac881=Object['getOwnPropertyDescriptor'],_0x3b915a=(_0x4cb243,_0x5abd59,_0x592686)=>_0x5abd59 in _0x4cb243?_0x1d531b(_0x4cb243,_0x5abd59,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x592686}):_0x4cb243[_0x5abd59]=_0x592686,_0x5cc37f=(_0x2707ca,_0x146679,_0x14fb28,_0xa219fb)=>{for(var _0x2a0063=_0xa219fb>0x1?void 0x0:_0xa219fb?_0x3ac881(_0x146679,_0x14fb28):_0x146679,_0x296a18=_0x2707ca['length']-0x1,_0x474155;_0x296a18>=0x0;_0x296a18--)(_0x474155=_0x2707ca[_0x296a18])&&(_0x2a0063=_0x474155(_0x2a0063)||_0x2a0063);return _0x2a0063;},_0x587dd9=(_0x53bc60,_0x34f171)=>(_0x3b4837,_0x4ea5e3)=>_0x34f171(_0x3b4837,_0x4ea5e3,_0x53bc60),_0x5afdc8=(_0x283526,_0x684b07,_0x1b42c3)=>_0x3b915a(_0x283526,typeof _0x684b07!=_0x32a484(0x3fb)?_0x684b07+'':_0x684b07,_0x1b42c3);_0xd0af73[_0x32a484(0x1db)]=class extends _0x2fa876[_0x32a484(0x2b7)]{constructor(_0x2d9b84=_0x876202,_0x29b9e2,_0x319750,_0x30a925,_0xb3299d){const _0x5cdef9=_0x32a484;super(),this[_0x5cdef9(0x31a)]=_0x2d9b84,this[_0x5cdef9(0x42f)]=_0x29b9e2,this[_0x5cdef9(0x4cf)]=_0x319750,this[_0x5cdef9(0x3bd)]=_0x30a925,this[_0x5cdef9(0x4c8)]=_0xb3299d;const {..._0x43522a}=_0x2fa876[_0x5cdef9(0x405)]({},_0x876202,this['_config']);this[_0x5cdef9(0x3bd)][_0x5cdef9(0x386)](_0x2d6051,_0x43522a),this['_initRegisterCommand'](),this[_0x5cdef9(0x2c4)]();}[_0x32a484(0x2c4)](){const _0x2f0cda=_0x32a484;var _0x383593;const _0x5bdc87=(_0x383593=this['_config'])==null?void 0x0:_0x383593[_0x2f0cda(0x4e0)];this[_0x2f0cda(0x3bd)]['setConfig'](_0x51f97f,_0x5bdc87===!0x0);}[_0x32a484(0x3f7)](){const _0x14f33c=_0x32a484;var _0x58cde5;let _0x346cf6=[];const _0xde7789=(_0x58cde5=this[_0x14f33c(0x31a)])==null?void 0x0:_0x58cde5[_0x14f33c(0x4e0)];_0xde7789===!0x0?_0x346cf6=[[_0xd0af73[_0x14f33c(0x21f)]],[_0xd0af73[_0x14f33c(0x3af)]],[_0xa8a020],[_0xd0af73[_0x14f33c(0x404)]],[_0xd0af73[_0x14f33c(0x32b)]],[_0x4e32d3],[_0x59d811],[_0x27855c],[_0x2626a1]]:_0xde7789===!0x1?_0x346cf6=[[_0xd0af73[_0x14f33c(0x255)]],[_0x5da108]]:_0xde7789===void 0x0&&(_0x346cf6=[[_0xd0af73[_0x14f33c(0x255)]],[_0x5da108],[_0xd0af73['SheetsPivotTableService']],[_0xd0af73[_0x14f33c(0x3af)]],[_0xa8a020],[_0xd0af73[_0x14f33c(0x404)]],[_0xd0af73[_0x14f33c(0x32b)]],[_0x4e32d3],[_0x59d811],[_0x27855c],[_0x2626a1]]),_0x346cf6[_0x14f33c(0x4c2)](_0x26913c=>this[_0x14f33c(0x42f)]['add'](_0x26913c)),[_0x5da108,_0xa8a020,_0xd0af73[_0x14f33c(0x21f)],_0x59d811,_0x4e32d3,_0x27855c,_0x2626a1][_0x14f33c(0x4c2)](_0x4b60bf=>{const _0x1389da=_0x14f33c;this['_injector'][_0x1389da(0x290)](_0x4b60bf)&&this['_injector'][_0x1389da(0x3fc)](_0x4b60bf);});}['_initRegisterCommand'](){const _0x337dcd=_0x32a484;[_0x500188,_0x15728c,_0x2d335d,_0x4cb5ef,_0x429f9b,_0x114525,_0x51b8e0,_0xef2bc4,_0x559985,_0x10b4bf,_0x1a8f8f,_0xe923e7,_0x35a97c,_0x3c4350,_0x22c246,_0x502ff1,_0xe28166,_0x2b9c30,_0x1b9e99,_0xf85d51,_0x540b6c,_0xabb6f3,_0x5cf91e,_0x20aabe,_0x3b5bf2,_0x3e8bcd,_0x1de3f8,_0x12d10f,_0x195cb7,_0x444296,_0x29c946,_0x16697b,_0x549329,_0x149f91,_0x3e71e4,_0x22cd86,_0x10d193,_0x322618,_0x38a7b1,_0x29b10f,_0xa23cd8,_0x260d7f,_0x34b67e][_0x337dcd(0x4c2)](_0x8250b2=>{const _0x4ce967=_0x337dcd;var _0x4abf5e;(_0x4abf5e=this[_0x4ce967(0x4c8)])==null||_0x4abf5e[_0x4ce967(0x267)](_0x8250b2),this['_commandService']['registerCommand'](_0x8250b2);});}},_0x5afdc8(_0xd0af73['UniverSheetsPivotTablePlugin'],_0x32a484(0x36b),_0x1a68df),_0x5afdc8(_0xd0af73[_0x32a484(0x1db)],_0x32a484(0x38a),_0x2fa876['UniverInstanceType'][_0x32a484(0x28a)]),_0xd0af73['UniverSheetsPivotTablePlugin']=_0x5cc37f([_0x2fa876[_0x32a484(0x418)](_0x4baa44['UniverLicensePlugin']),_0x587dd9(0x1,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876[_0x32a484(0x304)])),_0x587dd9(0x2,_0x2fa876[_0x32a484(0x4a3)](_0x2fa876['ICommandService'])),_0x587dd9(0x3,_0x2fa876['IConfigService']),_0x587dd9(0x4,_0x2fa876['Optional'](_0x52ef50['DataSyncPrimaryController']))],_0xd0af73[_0x32a484(0x1db)]),_0xd0af73[_0x32a484(0x41f)]=_0x2d335d,_0xd0af73['AddPivotFieldMutation']=_0x2b9c30,_0xd0af73[_0x32a484(0x43d)]=_0x15728c,_0xd0af73['AddPivotTableMutation']=_0x22c246,_0xd0af73[_0x32a484(0x1e3)]=_0x500188,_0xd0af73['BLANK_ROW_COUNT']=_0x4814ba,_0xd0af73['DEFAULT_PIVOT_NUMBER']=_0x1c1f87,_0xd0af73['MovePivotFieldCommand']=_0x4cb5ef,_0xd0af73[_0x32a484(0x3dc)]=_0x35a97c,_0xd0af73[_0x32a484(0x2c9)]=_0x1ce851,_0xd0af73[_0x32a484(0x2ba)]=_0x3c4350,_0xd0af73['PivotTableOperationEnum']=_0x477731,_0xd0af73['PivotTableViewDirtyMarkOperation']=_0x322618,_0xd0af73[_0x32a484(0x2df)]=_0x323c52,_0xd0af73[_0x32a484(0x474)]=_0x429f9b,_0xd0af73['RemovePivotFieldMutation']=_0xabb6f3,_0xd0af73[_0x32a484(0x2fe)]=_0xe28166,_0xd0af73[_0x32a484(0x45c)]=_0x5cf91e,_0xd0af73[_0x32a484(0x1f0)]=_0x34b67e,_0xd0af73[_0x32a484(0x2e0)]=_0x2d6051,_0xd0af73[_0x32a484(0x436)]=_0x1a68df,_0xd0af73[_0x32a484(0x30d)]=_0xef2bc4,_0xd0af73[_0x32a484(0x281)]=_0x20aabe,_0xd0af73[_0x32a484(0x32c)]=_0x149f91,_0xd0af73['SetPivotFieldsConfigCommand']=_0x260d7f,_0xd0af73[_0x32a484(0x348)]=_0x10b4bf,_0xd0af73['SetPivotFilterMutation']=_0x540b6c,_0xd0af73['SetPivotOptionMutation']=_0x3e8bcd,_0xd0af73['SetPivotPositionMutation']=_0x1de3f8,_0xd0af73[_0x32a484(0x3b6)]=_0x559985,_0xd0af73['SetPivotSortMutation']=_0x3b5bf2,_0xd0af73[_0x32a484(0x338)]=_0x549329,_0xd0af73[_0x32a484(0x478)]=_0x29b10f,_0xd0af73[_0x32a484(0x406)]=_0xa23cd8,_0xd0af73['UpdateDateGroupCommand']=_0x51b8e0,_0xd0af73[_0x32a484(0x3e5)]=_0x29c946,_0xd0af73['UpdatePivotFieldSettingCommand']=_0x1a8f8f,_0xd0af73[_0x32a484(0x1f1)]=_0x10d193,_0xd0af73['UpdatePivotTableSourceRangeCommand']=_0xe923e7,_0xd0af73[_0x32a484(0x420)]=_0x22cd86,_0xd0af73[_0x32a484(0x42b)]=_0x114525,_0xd0af73['UpdateValuePositionMutation']=_0x16697b,_0xd0af73['applyChangeSet']=_0x5706b0,_0xd0af73[_0x32a484(0x259)]=_0x63db07,_0xd0af73[_0x32a484(0x215)]=_0x226288,_0xd0af73[_0x32a484(0x331)]=_0x10af34,_0xd0af73['getAdjustRangesPosition']=_0x47957b,_0xd0af73[_0x32a484(0x391)]=_0xee0526,_0xd0af73[_0x32a484(0x30e)]=_0x19b65e,_0xd0af73['getInsertRowColMutations']=_0x36c3d6,_0xd0af73[_0x32a484(0x44d)]=_0x5894c7,_0xd0af73[_0x32a484(0x375)]=_0x2d207d,_0xd0af73[_0x32a484(0x446)]=_0x4dd84c,_0xd0af73[_0x32a484(0x3be)]=_0x27d4ee,_0xd0af73[_0x32a484(0x487)]=_0x3fcd7b,Object[_0x32a484(0x207)](_0xd0af73,Symbol[_0x32a484(0x490)],{'value':_0x32a484(0x288)});}));function _0xfab3(){const _0x10ee1c=['getColumnCount','PivotDateGroupFieldDateTypeEnum','unionPivotViewRange','RemoveSheetsFilterMutation','_globalSubject','ObjectMatrix','workbook\x20is\x20not\x20found','version','_globalComputedStartHelpFunc','getOwnPropertyDescriptor','adjustSheetCellData','toStringTag','Year','updateRenderCache','getSheetBySheetId','STRING','_localeService','parse','GlobalConfig','_collectionChange$','sheets.tabs.sheet','sheet.command.reset-pivot-fields-config','sheet.mutation.send-init-pivot-text-local','getDataFieldId','_initClearSelectionCommandInterceptor','rangeCache','function','intercept','setSourceName','setPivotTableConfig','Inject','sheet.mutation.set-pivot-sort-info','Value','floor','valueFilter','getFieldCountByArea','getFieldById','getTargetByPivotId','toJSON','grandTotal','disposableCollection','_resourceManagerService','getMonth','h9x3Kbtx\x20gF3T6JKbtx(Hb3FxCF,\x20J9OHb3GF6)\x20{\x20\x20\x20\x20KT6\x20{\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20Hb3FxCFAxhtnDTKNTTD6\x20=\x20Hb3FxCF.CJHbK(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20tTbwbxfFCCDwF\x20=\x20mE7R.JDTCF(DKtO(Hb3FxCFAxhtnDTKNTTD6[c]));\x20\x20\x20\x20\x20\x20\x20\x20bh\x20(!tTbwbxfFCCDwF.9g)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tTbwbxfFCCDwF.9g\x20=\x20R9POFT(Hb3FxCFAxhtnDTKNTTD6[8]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20bCytTvFT\x20=\x20K6JFth\x20ytTvFTkHtODHE3tJF\x20!==\x20\x279xgFhbxFg\x27\x20&&\x20CFHh\x20bxCKDx3Fth\x20ytTvFTkHtODHE3tJF;\x20\x20\x20\x20\x20\x20\x20\x203txCK\x203txKFYK\x20=\x20bCytTvFT\x20?\x20CFHh\x20:\x20ubxgtu;\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20PFCCDwFytTg\x20=\x203txKFYK.__SDCFU8__.JDTCF(Hb3FxCFAxhtnDTKNTTD6[c]);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20PFCCDwF\x20=\x203txKFYK.__rFY__.CKTbxwbh6(PFCCDwFytTg);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20CbwxDK9TFytTg\x20=\x203txKFYK.__SDCFU8__.JDTCF(Hb3FxCFAxhtnDTKNTTD6[s]);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20CbwxDK9TF\x20=\x203txKFYK.__rFY__.CKTbxwbh6(CbwxDK9TFytTg);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20CbwxlDHbg\x20=\x203txKFYK.__IFTbh6__(CbwxDK9TF,\x20PFCCDwF,\x20J9OHb3GF6);\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20gtPDbx\x20=\x20tTbwbxfFCCDwF.gP;\x20\x20\x20\x20\x20\x20\x20\x20h9x3Kbtx\x20bCVtPDbxfDK3qbxw(tnDKKFTx,\x20trtCK)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20JDKKFTx\x20=\x20tnDKKFTx.TFJHD3F(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20qtCK\x20=\x20trtCK.TFJHD3F(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20JDKKFTxnDTKC\x20=\x20JDKKFTx.CJHbK(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20qtCKnDTKC\x20=\x20qtCK.CJHbK(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bh\x20(!JDKKFTx.bx3H9gFC(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20JDKKFTx\x20===\x20qtCK;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bh\x20(JDKKFTxnDTKC.HFxwKq\x20<\x20c\x20||\x20JDKKFTxnDTKC[2]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20hDHCF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20JDKKFTxE9hhbY\x20=\x20JDKKFTxnDTKC.CHb3F(p).Xtbx(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20qtCKE9hhbY\x20=\x20qtCKnDTKC.CHb3F(-JDKKFTxnDTKC.HFxwKq\x20+\x20p).Xtbx(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20JDKKFTxE9hhbY\x20===\x20qtCKE9hhbY;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20HFK\x20gtPDbxlDHbg\x20=\x20(gtPDbx\x20&&\x20gtPDbx.HFxwKq)\x20?\x20gtPDbx.CtPF((gPAKFP)\x20=>\x20bCVtPDbxfDK3qbxw(gPAKFP,\x20Ht3DKbtx.qtCKxDPF))\x20:\x20KT9F;\x20\x20\x20\x20\x20\x20\x20\x20bh\x20(Ht3DKbtx.qtCKxDPF\x20===\x20\x27Ht3DHqtCK\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gtPDbxlDHbg\x20=\x20KT9F;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203txCK\x20IDHbg\x20=\x20CbwxlDHbg\x20&&\x20gtPDbxlDHbg;\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IDHbg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PFCCDwF:\x20tTbwbxfFCCDwF,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x203DK3q\x20(FTTtT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20TFK9Tx\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IDHbg:\x20hDHCF,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PFCCDwF:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','viewData$','getIndexesByPathStr','updatePivotSource','getRowCount','978795dCpFQB','getDataFieldManager','_initViewModelBySheetInterceptor','call','replace','rxjs','refreshGroupField','PivotSubtotalTypeEnum','cellToRange','dimension','Grand\x20Total','SetPivotCollapse','startCollectChangeset','forEach','@univerjs/sheets-filter','getColCount','InsertColMutation','getDataFieldBySourceName','getFieldInfo','_dataSyncPrimaryController','colStyle','asyncInterceptor','queryDirtyPivotTable','single','2dKADib','12CHalst','_commandService','_univerInstanceService','NO_COMMERCIAL','name','SetPivotSort','valueIndex','leafStyle','_subjectFieldsCollectionChange','rangeKeyMap','deleteUnitId','fields','_initPivotDataGetListener','(Blank)','FieldsCollection','Disposable','collectionConfig','cornerStyle','notExecuteFormula','FORCE_STRING','collections','Expand','_updateModelCache','#1d32e9','handleSourceRangeChange','addField','sheet.mutation.send-pivot-view-local','@univerjs/engine-formula','_viewUpdate$','Hour','measure','isDate','_ensurePivotTableRangeInfo','varp','Column','ErrorType','_viewData','_initRemoveSheetCommandInterceptor','sheet.command.set-pivot-collapse','UniverSheetsPivotTablePlugin','_textInfo','Max\x20of\x20','minDate','getValueIndex','_ensurePivotMap','InsertSheetUndoMutationFactory','DateGroupField','AddPivotTableWithConfigCommand','getUnit','getDirtyInfo','SetPivotFilter','values','level','sum','sheets-pivot.minName','colInfo','getFormat','sheets-pivot.cellDateGroupDisplay.minute','sheet.mutation.remove-group-collection','Product\x20of\x20','ResetPivotFieldsConfigCommand','UpdatePivotFieldSourceInfoMutation','addPivotTableWithConfig','versions','iterateFieldByArea','_updatePivotTableInstanceCache','range','registerDirtyService','slice','max','getAutoFitColumnsMutations','updateConfig','removeCollections','sheets-pivot.emptyPivot.column','isFeatureAuthorizedWithinTime','getGroupFieldsInfoByIds','New','format','custom','getFullYear','getMatrix','sheet.mutation.pivot-update-field-source-info','areaInfo','defineProperty','_lifecycleService','_toJSON','sheet.operation.pivot-table-view-formula-mark-dirty','addCollectionByJSON','setPivotSort','message','min','sheet.command.set-pivot-filter','result','unitId','sheet.mutation.get-pivot-data-local','row','FontCache','defaultThemeStyle','UniverRpc','broadcastCollectionChange','sourceRangeInfo','CELL_CONTENT','_sheetsPivotTableService','sortInfo','sheets-pivot.emptyPivot.values','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','iterateFieldDim','SheetsPivotTableService','SetValuePivotFilter','dataRangeInfo','uniqueDataFieldName','_onRefRangeChange','SetSubtotalType','setPivotInitCompleted','#eceeff','sheets-pivot.cellDateGroupDisplay.yearMonthDate','updateViewInfo','addFieldWithSourceId','rowRanges','PivotView','colHeaderMap','getName','pbt','RemoveSheetMutation','registerPluginResource','_pivotConfigChange$','fromJSON','getformat','setSortInfo','pushComputingStatusSubject','getDate','colRanges','generateNewSheetName','updateView','subTotalStyle','blank','dataFields','setPivotSetting','RemoveField','@univerjs/core','deleteDataField','AddPivotTableWithConfig','sheets-pivot.cellDateGroupDisplay.yearQuarter','rgb(255,255,255)','getId','PivotFilterTypeEnum','getIntersectsPivotTable','fetchThroughInterceptors','_initPivotTextInfo','length','setValueFilterInfo','createInterceptorKey','_sheetsPivotTableAdaptorModel','contains','sheet.command.pivot-drill-down','executeCommand','getValue','setDisplayName','updateFieldPosition','setSubtotalType','addRecord','SheetsPivotDataSourceModel','_collectionConfigModel','updatePivotTableRangeInfo','MAX_SAFE_INTEGER','canUsePivot','Subject','getHeaderMapItem','RemoveSheetCommand','getCurrentSelections','RefRangeService','from','panel','Panel','_dataFieldManagerCollection','getPivotDisplayConfig','PivotDataFieldTypeEnum','getRangeData','paths','registerSyncingMutations','set','var','some','_updateRenderEmptyCache','sheet.mutation.send-pivot-data-local','rangeType','UpdateFieldPosition','getAutoDisplayName','sheets-pivot.productName','setName','addDirtyPivotTable','SetCollapse','SetRangeValuesUndoMutationFactory','registerRefRange','rowInfo','stringify','serializeRangeWithSpreadsheet','getSheetCommandTarget','setCollapse','getLastCol','fontRenderExtension','oldRangeInfo','updateRangeKeyMap','setDateType','setValue','SetPivotCollapseMutation','new','PivotDataFieldDataTypeEnum','getValueFilterInfos','charCodeAt','bind','_sheetsPivotTableConfigModel','Module','Existing','UNIVER_SHEET','getConfig','value','Minute','PivotTable','getPivotTableModelConfig','has','sheets-pivot.cellDateGroupDisplay.month','setPivotTable','iterateField','SetSheetsFilterRangeMutation','colCount','push','sheet.mutation.rename-pivot-field','formJSON','getFieldFormat','YearMonth','StdDev\x20of\x20','_initLocale','getFieldIds','sheets-pivot.dateGroup.yearMonth','598399PDzaPh','map','includes','getAutoDisplayNameFunction','random','deepClone','#e6ebfa','prototype','_ensureViewDataMap','INTERCEPTOR_POINT','sheet.mutation.set-pivot-filter','sheets-pivot.grandTotal','AsyncInterceptorManager','generateMutationsByRanges','sheets-pivot.averageName','endCollectChangeset','createCollectionWithDataRange','_getPivotAppliedRanges','countNums','foreach','getDisplayName','getFieldDataType','sheets-pivot.dateGroup.monthDate','NUMBER','Plugin','_subjectCollectionChange','sheet.mutation.add-pivot-field','PivotDrillDownCommand','getStyles','splice','realDeleteValue','Var\x20of\x20','update','getTargetByPivotTableId','leftOffset','setLabelFilterInfo','sheets-pivot.dateGroup.minute','_initConfig','numfmt','filter','document','dateGroupField','PivotDisplayDataType','getSheetId','getRangeKeyList','getFilterInfo','getSheetBySheetName','sheet.mutation.send-pivot-config-local','toString','endRow','SetOptions','forRow','sheet.command.add-pivot-field','getPivotTableIdByCell','getPivotItemRenderInfoCache','_pivotTableMatrixInfo','rangeKey','#b2b2b2','getPivotDirtyViewInfo','IResourceManagerService','updateCollectionConfig','sheets-pivot.cellDateGroupDisplay.year','getDataFieldByTableId','exports','PositionType','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','getInterceptPoints','getRefRangeMutationsByMoveRange','SetPivotTableConfig','sheet.command.remove-pivot-field','getRangeKey','_model','_requestResolvers','_initSnapshot','getPivotTableConfig','limit\x20pivot','_activeDirtyManagerService','UniverSheetsFilter','intersects','SetFieldFormat','sheet.mutation.add-group-collection','sheet.command.set-pivot-sort','MonthDate','filterInfo','removeSourceRangeChange','PivotErrorTypeEnum','substring','CommandType','columnFields','PivotMultipleValueId','isErrorValue','subUnitId','ManualFilter','ResetPivotTable','pivotTableConfigs','RemovePivotTableMutation','batch','dataFieldManagerConfig','6296072ctdZxL','headerMap','_featureCalculationManagerService','Injector','sheet.mutation.pivot-update-field-position','sheet.mutation.set-pivot-collapse','PivotCellStyleTypeEnum','add','number','setFieldFormat','other','sheet.mutation.set-pivot-field-subtotal-type','SetPivotCollapseCommand','getFieldListByArea','addPivotTable','sheets-pivot.columnName','getPivotTableCellData','UniverProLicense','UniverProSheetsPivot','PivotTableValuePositionEnum','endColumn','createAsyncInterceptorKey','_sheetsSelectionsService','sheets-pivot.blank','removeDataField','_config','DataField','_getAutoName','pivotInitCompleted$','keys','pageRanges','updateViewData','PivotTableFiledAreaEnum','removeValueFilterInfoByValueFieldId','fetchThroughAsyncInterceptors','_deleteModelCache','reset','isDateGroupField','disposeWithMe','updateDataFieldsCollection','sheetName','setOptions','SheetsPivotTableConfigModel','SetPivotFieldFormatMutation','setRangeValueUndoMutation','getTextInfo','#FFFFFF','registerCallbackWithEvent','generateSetRangeValueMutations','subscribe','getPivotPerformCheck','textInfo','originalFieldId','getCollection','ReleaseType','SetPivotSubtotalTypeMutation','RemovePivotField','Range','onQueryEnd','SetFilterInfo','DrillDown','isDateGroupFieldJSON','collapseInfo','startRow','query','_generateUniqueVersion','subtotal','resetPivotTable','sheet.command.add-pivot-table-with-config','SHEET_PIVOT_EXCLUSIVE_ID','getCurrentUnitForType','SetPivotFilterCommand','Row','_sheetsPivotDataSourceModel','getRangeStartEndInfo','updateValuePosition','pushUndoRedo','Quarter','body','sheet.command.add-pivot-table','MoveRangeCommand','_subjectViewChange','setPivotCollapse','createDataFieldId','addDataFieldWithoutUnitInfo','setRangeKeyMap','AddPivotField','Total','_ensurePivotTableMatrixInfo','RemoveColMutation','generateHexNumber','removeCollectionImp','SetRangeValuesMutation','rowHeaderMap','_queryingMap','dataFieldsCollection','IUniverInstanceService','sheets-pivot.varpName','fieldsCollectionChange$','getLastRow','_refRangeService','dispose','originTargetInfo','getUpdateRangeDeleteIds','pivotConfigChange$','getSheets','pluginName','_createExclusiveRange','clearRenderCache','getActiveSheet','_pivotTableInstanceCache','getPivotTableMatrixInfo','matrix','isBaseGroupField','string','sheets-pivot.dateGroup.yearMonthDate','getPivotInfoByLicense','UniverInstanceType','options','_markDirty$','UpdatePivotSource','DataFieldManager','sheet.mutation.add-pivot-table','3vmrSVl','stdDevp','_ensurePivotItemRenderValueMatrixCache','sheets-pivot.dateGroup.yearQuarter','sheets-pivot.varName','refreshData','handleMoveRange','UniverSheets','isText','addPivotField','setConfig','COMMAND','SHEET_PIVOT_IN_MAIN_THREAD','oldMatrix','type','_exclusiveRangeService','sheets-pivot.countNumsName','col','setPivotFilter','rangesInfo','redos','getEmptyPivotRanges','getPivotTableRangeInfo','CellValueType','Count\x20of\x20','NORMAL','sheet.command.update-date-group','MovePivotField','concat','amd','_refRangeHandle','Subtotal','generateRandomId','parseInt','DEFAULT_WORKSHEET_COLUMN_COUNT','renameField','SetPivotSetting','_ensurePivotItemRenderInfoCache','#f4f4f5','3135769XdrOUY','setRangeValueRedoMutation','updateConfigCache','token','isNaN','sheet.command.move-pivot-table','delete','existing','sheets-pivot.stdDevName','dataStyle','unshiftString','error','SheetsPivotRPCService','object','movePivotField','Rectangle','ptn','_pivotTableRangeInfo','isDateValue','SetPivotSortCommand','sheet.command.set-pivot-fields-config','shouldClear','HourMinute','UpdateValuePosition','_initUnitDisposed','IUndoRedoService','_configService','transFromCellValue','866160XUIBRP','getIntersects','fieldIds','MUTATION','deleteField','Values','getFilterFieldIdByIndex','@univerjs/sheets','addCollection','BadReference','rowCount','params','triggerDirtyFeature','CustomCommandExecutionError','count','_configVersion$','createLabelField','Filter','Date','LocaleService','getFieldPositionInfoById','pivotTableIndexConfig','AddPivotTable','valuePosition','getCellRaw','IExclusiveRangeService','sourceName','IConfigService','fieldId','MovePivotTableCommand','InsertSheetMutation','isValue','Delete','RenameField','getDataFieldByRangeKey','rowFields','YearMonthDate','startColumn','UpdateFieldPositionMutation','sequenceExecute','IActiveDirtyManagerService','generateNullCell','updateDirtyPivotTable','getCellMatrix','pivotTableId','SetSortInfo','forValue','addExclusiveRange','_host','interceptCommand','SheetInterceptorService','Tools','lastCol','sheets-pivot.cellDateGroupDisplay.yearMonth','cornerRanges','sheets-pivot.emptyPivot.row','onStarting','removeField','SetValueFilter','isEmpty','symbol','get','InterceptorEffectEnum','LS_CONFIG_KEY','average','\x20-\x20','Add','sheets-pivot.stdDevpName','sheet.mutation.update-date-group','SheetsPivotTableAdaptorModel','merge','SetPivotValueFilterMutation','tableFieldId','entries','782972hnupWx','refreshDataField','getSubUnitPivotConfigs','size','needSameDeleteModel','Average\x20of\x20','NotFunction','RANGE_TYPE','asObservable','targetCellInfo','sheets-pivot.dateGroup.month','valueFields','PIVOT_MUTATION_GENERATE','_globalComputingSrv','sheets-pivot.sumName','DependentOn','setRange','_pivotRenderValueMatrixCache','ICommandService','updatePivotTableMatrixInfo','unshift','1058440wPeaeK','AddPivotFieldCommand','UpdatePivotTableSourceRangeMutation','SetWorksheetColWidthMutation','dataFieldId','getSubtotal','sheet.mutation.pivot-update-value-position','column','filterFields','lastRow','removeValueFilterInfo','_fieldsCollectionChange$','getTextSize','UpdatePivotValuePositionCommand','UpdateSource','@univerjs-pro/license','_initCommandInterceptListener','_injector','_pivotRenderInfoCache','getSubUnitPivotRenderCache','UniverCore','sheet.mutation.set-pivot-value-filter','RemoveRowMutation','isArray','SHEET_PIVOT_TABLE_PLUGIN','date','prefix','PivotTableChangeTypeEnum','initDataRanges','tuple','YearQuarter','AddPivotTableCommand','GrandTotal','register','updateAllDisplayName','getSourceName','drillDown','undos','sheet.mutation.set-pivot-option','ΣValue','getPivotTableInfo','getTableFieldById','onCommandExecuted','Div0','_init','PivotViewCellValueTypeEnum','getDataFieldByDataFieldId','getPivotCellInfo','interceptor','displayName','valid','next','getDataFieldItemInfo','setDirty','setValuePivotFilter','_viewData$','pageStyle','sheets-pivot.other','REF','cornerInfo','getOriginFieldId','removePivotField','RenamePivotFieldMutation','setDataRecordCount','MIN_SAFE_INTEGER','info','mergeWorksheetSnapshotWithDefault','_initDataSendListener','sheets-pivot.cellDateGroupDisplay.quarter','pivotMutationGenerate','markDirty','getNoUsedDataFieldIds','getTypeOfUnitDisposed$','getSortInfo','getValuePosition','getViewData','DIV_BY_ZERO','Sum\x20of\x20','isBottomTotal','_pivotInitCompleted$','_sheetInterceptorService','node','rgb(240,241,243)','width','getUnitId','collection','RemovePivotFieldCommand','find','_globalComputedEndHelpFunc','getSheetFeatureLimit','SetPivotValueFilterCommand','LifecycleService','Set','getPivotTableInstance','return\x20','Month','updateFieldSourceInfo','_sheetsPivotRpcService','NAME','fieldsConfig','handleAsyncResponse','sheets-pivot.value','data'];_0xfab3=function(){return _0x10ee1c;};return _0xfab3();}
|