@univerjs-pro/sheets-pivot 0.7.0-nightly.202505181606 → 0.7.0-nightly.202505191607

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3c024c=_0x2ee1;(function(_0x6077ef,_0x4115f4){const _0x50de75=_0x2ee1,_0x1e09d1=_0x6077ef();while(!![]){try{const _0x112376=parseInt(_0x50de75(0x3b1))/0x1+-parseInt(_0x50de75(0x20d))/0x2+-parseInt(_0x50de75(0x280))/0x3+-parseInt(_0x50de75(0x1fd))/0x4*(-parseInt(_0x50de75(0x301))/0x5)+parseInt(_0x50de75(0x3a0))/0x6+-parseInt(_0x50de75(0x34e))/0x7+parseInt(_0x50de75(0x2f9))/0x8;if(_0x112376===_0x4115f4)break;else _0x1e09d1['push'](_0x1e09d1['shift']());}catch(_0x574688){_0x1e09d1['push'](_0x1e09d1['shift']());}}}(_0x2313,0xcedce));var an=Object[_0x3c024c(0x237)],rn=(_0x2073f4,_0x276c35,_0xbe530b)=>_0x276c35 in _0x2073f4?an(_0x2073f4,_0x276c35,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbe530b}):_0x2073f4[_0x276c35]=_0xbe530b,V=(_0x362a06,_0x31e0b8,_0x18b14a)=>rn(_0x362a06,typeof _0x31e0b8!='symbol'?_0x31e0b8+'':_0x31e0b8,_0x18b14a);import{PivotCellStyleTypeEnum as _0x41bfa5,PivotViewCellValueTypeEnum as _0x598e5f,isPrefixValue as _0x7a2ee3,isErrorValue as _0x14193c,PivotErrorTypeEnum as _0x31f7e2,PivotDateGroupFieldDateTypeEnum as _0x57a902,DataFieldManager as _0x33e12b,FieldsCollection as _0x471cff,isDateValue as _0x47bdf2,DataField as _0x226fd3,generateHexNumber as _0x1bceee,isBaseGroupField as _0x1e169d,PivotTable as _0x4e9a78,PivotSubtotalTypeEnum as _0x2228cd,PivotTableFiledAreaEnum as _0x395ac9,excelDateToUnixMilliseconds as _0x1ec729,createValueField as _0x27ac1e,createLabelField as _0x1f7287,PivotTableChangeTypeEnum as _0xfb01ca,BaseGroupField as _0x9bb880,PivotView as _0x289ec7,isDateGroupFieldJSON as _0x12ae80,PivotCallbackEnum as _0x592474,PivotFilterTypeEnum as _0x557a4b,getAutoDisplayName as _0x6f29c3,PivotDataFieldDataTypeEnum as _0x56fe07,PivotTableValuePositionEnum as _0xbe767f,isDateGroupField as _0x1ba629,DateGroupField as _0x540304}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x1a6fb4,ObjectMatrix as _0x26fd20,IUniverInstanceService as _0x21c6a9,UniverInstanceType as _0x4d97b9,CellValueType as _0x523529,numfmt as _0x4f908d,LocaleService as _0x6286c3,createAsyncInterceptorKey as _0x1904bb,createInterceptorKey as _0x65f637,CommandType as _0x3d1e73,RANGE_TYPE as _0x4573e8,numberToABC as _0x1491f1,Inject as _0x33ce5d,Injector as _0x3a9c68,LifecycleService as _0x4056c5,IConfigService as _0x4ca711,ICommandService as _0xdba7c,IResourceManagerService as _0x5e6af2,Disposable as _0x2a4487,Rectangle as _0x20db5c,Tools as _0x21dda6,AsyncInterceptorManager as _0x3d682f,InterceptorManager as _0x5483f4,InterceptorEffectEnum as _0x5895b1,CustomCommandExecutionError as _0x446be0,IUndoRedoService as _0x168a03,sequenceExecute as _0x229014,mergeWorksheetSnapshotWithDefault as _0x5c7da3,generateRandomId as _0x1fc6e1,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x59f909,DEFAULT_WORKSHEET_ROW_COUNT as _0xaef63d,DisposableCollection as _0x4182b3,Range as _0xaa5402,DependentOn as _0x2ea0d9,Optional as _0x25f62a,Plugin as _0x1c533e,merge as _0x51ebf7}from'@univerjs/core';import{ErrorType as _0x8488b9,serializeRangeWithSpreadsheet as _0xd4e83c,IFeatureCalculationManagerService as _0x2f7536,GlobalComputingStatusService as _0x3cc094,IActiveDirtyManagerService as _0x6e5ec2}from'@univerjs/engine-formula';import{generateNullCell as _0xd5506f,SetRangeValuesUndoMutationFactory as _0xb76357,SetRangeValuesMutation as _0x578116,getSheetCommandTarget as _0x3848e9,InsertRowMutation as _0x5efc45,RemoveRowMutation as _0x50882e,InsertColMutation as _0x576381,RemoveColMutation as _0x173b14,IExclusiveRangeService as _0x5438bf,SheetInterceptorService as _0x187e89,INTERCEPTOR_POINT as _0x392956,InsertSheetCommand as _0x189273,InsertSheetUndoMutationFactory as _0x3b0f33,RemoveSheetMutation as _0x8e9e5a,InsertSheetMutation as _0x54136d,MoveRangeMutation as _0x4e47cd,SheetsSelectionsService as _0x39c2f5,ClearSelectionContentCommand as _0x27a42d,ClearSelectionAllCommand as _0x30a1bd,SetWorksheetColWidthMutation as _0xf706cd,RefRangeService as _0x4f21e6,SetWorksheetActiveOperation as _0x5ea50b,MoveRangeCommand as _0x54474b,RemoveSheetCommand as _0x2cae81}from'@univerjs/sheets';import{Subject as _0x1b87b1,BehaviorSubject as _0x1c2f46}from'rxjs';import{LS_CONFIG_KEY as _0x4a8724,unshiftString as _0x1cede5,isFeatureAuthorizedWithinTime as _0x15022a,getSheetFeatureLimit as _0x151413,ReleaseType as _0x42383e,UniverLicensePlugin as _0x20792b}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x5a2554,RemoveSheetsFilterMutation as _0xdf64fe}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x1a8803}from'@univerjs/rpc';import{getFontStyleString as _0x5e84d4,FontCache as _0x57e1c2}from'@univerjs/engine-render';const Ao=Number['parseInt'](0x682a067e),li=0x10,so=0x1,ao='SHEET_PIVOT_TABLE_PLUGIN',It=0x1,di=_0x3c024c(0x1bc),ci=_0x3c024c(0x282),wt=_0x3c024c(0x252),ui=_0x3c024c(0x3d0),fi=_0x3c024c(0x3d0),gi=_0x3c024c(0x272),vi='#1d32e9',hi=_0x3c024c(0x32d),pi='#e6ebfa',mi=_0x3c024c(0x408),Ii='#FFFFFF',Ci=_0x3c024c(0x3e8),bi=0xe,Si=0x6;function _0x2313(){const _0x25795b=['sheets-pivot.value','collapseInfo','SetOptions','MonthDate','forRow','Hour','sheet.operation.pivot-table-view-formula-mark-dirty','_localeService','message','YearMonth','removeSourceRangeChange','getDataFieldByTableId','initDataRanges','sheets-pivot.emptyPivot.row','return\x20','fields','tableFieldId','SetSubtotalType','setValuePivotFilter','versions','sheets-pivot.blank','#FFFFFF','sheets-pivot.cellDateGroupDisplay.quarter','drillDown','_subjectCollectionChange','_pivotTableRangeInfo','SHEET_PIVOT_EXCLUSIVE_ID','UNIVER_SHEET','endCollectChangeset','_config','tuple','colRanges','has','SetPivotTableConfig','batch','broadcastCollectionChange','handleMoveRange','_requestResolvers','_fieldsCollectionChange$','_sheetsPivotDataSourceModel','floor','updatePivotTableMatrixInfo','updateFieldSourceInfo','updateConfig','getSubUnitPivotConfigs','_getPivotAppliedRanges','cornerStyle','deleteField','asObservable','subtotal','rangeKey','random','setSubtotalType','_ensurePivotItemRenderInfoCache','5513242ixXVTb','getPivotTableMatrixInfo','rowStyle','_initPivotTextInfo','fromJSON','NUMBER','getDisplayName','Date','registerSyncingMutations','startCollectChangeset','removePivotField','notExecuteFormula','getTargetByPivotTableId','var','countNums','value','dataFieldsCollection','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','Count\x20of\x20','pivotTableIndexConfig','getFieldInfo','setCollapse','sheet.mutation.remove-group-collection','endRow','sheet.mutation.pivot-update-value-position','column','pivotMutationGenerate','disposableCollection','setPivotSort','_model','headerMap','_globalComputingSrv','getName','sheet.command.update-date-group','sheets-pivot.minName','_updateRenderEmptyCache','getFilterInfo','getInterceptPoints','shouldClear','sheets-pivot.emptyPivot.filter','getValueFilterInfos','rowHeaderMap','interceptor','_configService','size','queryDirtyPivotTable','getRefRangeMutationsByMoveRange','SetValueFilter','getFieldById','updateRangeKeyMap','setPivotInitCompleted','fieldIds','getMatrix','Collapse','sheet.mutation.send-pivot-view-local','some','getFieldDataType','updatePivotTableRangeInfo','AddPivotTableWithConfig','subscribe','removeField','uniqueDataFieldName','setPivotSetting','realDeleteValue','MovePivotField','3fGdBUnG\x20VgdbFaBUnG(OUdgG9g,\x20afjOUd2gF)\x20{\x20\x20\x20\x20BbF\x20{\x20\x20\x20\x20\x20\x20\x20\x20dnG9B\x20OUdgG9gLG3noRbBPbbRF\x20=\x20OUdgG9g.9aOUB(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20dnG9B\x20nbUNUGtg99RNg\x20=\x20e8lD.aRb9g(RBnj(OUdgG9gLG3noRbBPbbRF[Z]));\x20\x20\x20\x20\x20\x20\x20\x20U3\x20(!nbUNUGtg99RNg.fV)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nbUNUGtg99RNg.fV\x20=\x20Dfijgb(OUdgG9gLG3noRbBPbbRF[v]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dnG9B\x20U9YnbCgb\x20=\x20BFagn3\x20YnbCgbcOnjRO8dnag\x20!==\x20\x27fGVg3UGgV\x27\x20&&\x209gO3\x20UG9BRGdgn3\x20YnbCgbcOnjRO8dnag;\x20\x20\x20\x20\x20\x20\x20\x20dnG9B\x20dnGBgSB\x20=\x20U9YnbCgb\x20?\x209gO3\x20:\x20EUGVnE;\x20\x20\x20\x20\x20\x20\x20\x20dnG9B\x20ig99RNgYnbV\x20=\x20dnGBgSB.__WR9gTv__.aRb9g(OUdgG9gLG3noRbBPbbRF[Z]);\x20\x20\x20\x20\x20\x20\x20\x20dnG9B\x20ig99RNg\x20=\x20dnGBgSB.__MgS__.9BbUGNU3F(ig99RNgYnbV);\x20\x20\x20\x20\x20\x20\x20\x20dnG9B\x209UNGRBfbgYnbV\x20=\x20dnGBgSB.__WR9gTv__.aRb9g(OUdgG9gLG3noRbBPbbRF[4]);\x20\x20\x20\x20\x20\x20\x20\x20dnG9B\x209UNGRBfbg\x20=\x20dnGBgSB.__MgS__.9BbUGNU3F(9UNGRBfbgYnbV);\x20\x20\x20\x20\x20\x20\x20\x20dnG9B\x209UNGhROUV\x20=\x20dnGBgSB.__IgbU3F__(9UNGRBfbg,\x20ig99RNg,\x20afjOUd2gF);\x20\x20\x20\x20\x20\x20\x20\x20dnG9B\x20VniRUG\x20=\x20nbUNUGtg99RNg.Vi;\x20\x20\x20\x20\x20\x20\x20\x203fGdBUnG\x20U9qniRUGtRBduUGN(noRBBgbG,\x20nMn9B)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dnG9B\x20aRBBgbG\x20=\x20noRBBgbG.bgaORdg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dnG9B\x20un9B\x20=\x20nMn9B.bgaORdg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dnG9B\x20aRBBgbGoRbB9\x20=\x20aRBBgbG.9aOUB(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dnG9B\x20un9BoRbB9\x20=\x20un9B.9aOUB(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U3\x20(!aRBBgbG.UGdOfVg9(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bgBfbG\x20aRBBgbG\x20===\x20un9B;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U3\x20(aRBBgbGoRbB9.OgGNBu\x20<\x20Z\x20||\x20aRBBgbGoRbB9[1]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bgBfbG\x203RO9g;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dnG9B\x20aRBBgbG8f33US\x20=\x20aRBBgbGoRbB9.9OUdg(J).KnUG(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dnG9B\x20un9B8f33US\x20=\x20un9BoRbB9.9OUdg(-aRBBgbGoRbB9.OgGNBu\x20+\x20J).KnUG(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bgBfbG\x20aRBBgbG8f33US\x20===\x20un9B8f33US;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20OgB\x20VniRUGhROUV\x20=\x20(VniRUG\x20&&\x20VniRUG.OgGNBu)\x20?\x20VniRUG.9nig((ViLBgi)\x20=>\x20U9qniRUGtRBduUGN(ViLBgi,\x20OndRBUnG.un9BGRig))\x20:\x20Bbfg;\x20\x20\x20\x20\x20\x20\x20\x20U3\x20(OndRBUnG.un9BGRig\x20===\x20\x27OndROun9B\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VniRUGhROUV\x20=\x20Bbfg;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dnG9B\x20IROUV\x20=\x209UNGhROUV\x20&&\x20VniRUGhROUV;\x20\x20\x20\x20\x20\x20\x20\x20bgBfbG\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IROUV,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ig99RNg:\x20nbUNUGtg99RNg,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20dRBdu\x20(gbbnb)\x20{\x20\x20\x20\x20\x20\x20\x20\x20bgBfbG\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IROUV:\x203RO9g,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ig99RNg:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','sheet.command.move-pivot-field','getDataFieldBySourceName','removeCollectionImp','getSheetBySheetId','getRangeKey','isValue','getDirtyInfo','addDataFieldWithoutUnitInfo','sheet.mutation.add-group-collection','Product\x20of\x20','symbol','_sheetsPivotTableService','sheet.mutation.pivot-update-field-source-info','removePivotTable','renameField','addExclusiveRange','7003812zofoJH','sheet.command.add-pivot-table','_initViewModelBySheetInterceptor','contains','executeCommand','refreshGroupField','pageRanges','_ensureViewDataMap','sheet.mutation.set-pivot-field-subtotal-type','Expand','_markDirty$','addDirtyPivotTable','sheets-pivot.cellDateGroupDisplay.date','updateConfigCache','rangesInfo','viewData$','CELL_CONTENT','570254nyNARg','iterateFieldByArea','removeDataField','name','getActiveSheet','sheets-pivot.grandTotal','sheets-pivot.varName','_collectionConfigModel','createDataFieldId','format','dateType','colInfo','intercept','Column\x20','asyncInterceptor','pbt','_initSnapshot','COMMAND','iterateField','_queryingMap','getPivotDisplayConfig','rowRanges','getCellMatrix','Row','sheets-pivot.countName','ManualFilter','_initLocale','resetPivotTable','custom','registerDirtyService','sheet.mutation.get-pivot-data-local','#f4f4f5','ΣValue','sheet.mutation.send-init-pivot-text-local','generateNewSheetName','sheets-pivot.dateGroup.year','getSheets','getOwnPropertyDescriptor','_collectionChange$','rangeKeyMap','sheets-pivot.countNumsName','min','valid','triggerDirtyFeature','dataFields','GrandTotal','sheets-pivot.emptyPivot.column','dimension','pushUndoRedo','setPivotFilter','getSubUnitPivotRenderCache','_configVersion$','entries','sheet.command.set-pivot-field-setting','getOriginFieldId','#e6ebfb','Div0','getSubUnitPivotMatrix','setValue','_sheetInterceptorService','sheet.command.set-pivot-fields-config','setPivotCollapse','addPivotTableWithConfig','isBottomTotal','col','sheet.mutation.set-pivot-collapse','sheet.command.update-pivot-table-source-range','ResetPivotTable','getFormat','Panel','BadReference','getformat','maxDate','average','SetFilterInfo','prefix','rowCount','getDataFieldByRangeKey','pushComputingStatusSubject','subTotalStyle','_ensurePivotTableMatrixInfo','_dataFieldManagerCollection','Min\x20of\x20','sheets-pivot.cellDateGroupDisplay.yearMonth','sideEffectUpdateWorkerCache','parse','sheets-pivot.cellDateGroupDisplay.hour','#1d32e9','date','getLastRow','Varp\x20of\x20','version','_deleteModelCache','setValueFilterInfo','getUnitId','hasField','SetValuePivotFilter','level','pivotTableConfigs','areaInfo','sheets-pivot.averageName','setConfig','setDirty','NAME','_deletePivotTableInstanceCache','_viewData$','colStyle','clearExclusiveRangesByGroupId','getDataFieldManager','getUpdateRangeDeleteIds','values','valueFields','set','getSourceName','sourceName','concat','filter','setFieldFormat','Column','PivotMultipleValueId','sheet.mutation.remove-pivot-field','RemovePivotField','sheets-pivot.cellDateGroupDisplay.month','colHeaderMap','data','delete','interceptCommand','rowFields','_dataSyncPrimaryController','result','markDirty','YearQuarter','toJSON','getValue','rgb(240,241,243)','collection','updateCollectionConfig','_subjectViewChange','Set','_sheetsPivotRpcService','NotNumber','onStarting','sheet.mutation.send-pivot-data-local','single','getTextSize','paths','_initRemoveSheetCommandInterceptor','sheets-pivot.cellDateGroupDisplay.hourMinute','getFilterFieldIdByIndex','addCollection','addPivotTable','ptn','_updateModelCache','getSubtotal','_univerInstanceService','sheets-pivot.config','getPivotTableModelConfig','sheets-pivot.dateGroup.yearMonth','setDisplayName','pivotTableId','DIV_BY_ZERO','dispose','substring','getTableFieldById','disposeWithMe','getStyles','SetPivotCollapse','StdDev\x20of\x20','sheet.mutation.rename-pivot-field','valueFilter','getPivotTableIdByCell','_initClearSelectionCommandInterceptor','foreach','addField','sheet.mutation.add-pivot-table','AddPivotField','Delete','undos','getDataFieldByDataFieldId','subUnitId','getSortInfo','_pivotTableMatrixInfo','sheets-pivot.cellDateGroupDisplay.year','startRow','getColumnCount','getSheetId','sheets-pivot.dateGroup.yearMonthDate','pivotInitCompleted$','_sheetsSelectionsService','setName','_toJSON','getCollection','resetArea','Filter','configVersion$','_commandService','collections','setTextInfo','deleteUnitId','548myXQbR','prototype','_injector','pivotConfigChange$','isEmpty','_init','filterInfo','getSheetBySheetName','collectionChange$','forEach','rangeType','Minute','Var\x20of\x20','setSortInfo','setDataRecordCount','DrillDown','1985456vjMtnL','getDataFieldId','grandTotal','startColumn','getFieldIds','movePivotField','RemoveField','oldRangeInfo','getValueIndex','pivotPerformCheck','_ensurePivotItemRenderValueMatrixCache','YearMonthDate','redos','(Blank)','unshift','split','number','matrix','sheet.mutation.remove-pivot-table','deepClone','getTextInfo','handleAsyncResponse','string','getDate','params','updateValuePosition','_pivotTableInstanceCache','sheetName','formJSON','Year','sheet.command.move-pivot-table','_viewData','Quarter','slice','needSameDeleteModel','length','updateDirtyPivotTable','reduce','addPivotField','None','sheets-pivot.columnName','Grand\x20Total','defineProperty','getPivotTableCellData','_resourceManagerService','_textInfo','sheets-pivot.emptyPivot.values','getPivotItemRenderInfoCache','getViewData','addCollectionByJSON','sheet.command.set-pivot-value-filter','MIN_SAFE_INTEGER','NORMAL','sum','getCurrentUnitForType','update','iterateFieldDim','row','getFieldFormat','charCodeAt','getCurrentSelections','valueIndex','setLabelFilterInfo','getValuePosition','setRangeValueRedoMutation','updateView','lastCol','MAX_SAFE_INTEGER','options','#b2b2b2','sheets-pivot.subTotal','fontRenderExtension','intersects','Style','sheet.command.remove-pivot-field','sheets-pivot.sumName','sheets-pivot.maxName','_pivotRenderInfoCache','_ensurePivotTableRangeInfo','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','generateMutationsByRanges','addRecord','token','NotName','cornerRanges','removeCollections','sourceRangeInfo','range','setRangeKeyMap','getPivotTableInstance','panel','registerPluginResource','minDate','updateRenderCache','_initPivotDataGetListener','sheet.command.set-pivot-filter','getColCount','_initUnitDisposed','query','register','NO_COMMERCIAL','#eceeff','dataRangeInfo','setSourceName','_initRegisterCommand','getMatrixValue','displayName','sheet.command.set-pivot-collapse','getIntersectsPivotTable','getTargetByPivotId','product','_subjectFieldsCollectionChange','handleSourceRangeChange','sheets-pivot.cellDateGroupDisplay.minute','splice','2883567tCZNEO','limit\x20pivot','rgb(255,255,255)','AddPivotTable','updatePivotSource','add','originTargetInfo','getHeaderMapItem','getId','dataFieldId','push','_exclusiveRangeService','fetchThroughInterceptors','isText','registerCallbackWithEvent','sheet.mutation.send-pivot-config-local','getRangeKeyList','sheet.mutation.pivot-update-field-position','SetPivotSetting','columnFields','_featureCalculationManagerService','setOptions','_initGlobalComputed','_initCommandInterceptListener','_viewUpdate$','_globalSubject','SetPivotSort','info','leftOffset','sheets-pivot.dateGroup.monthDate','map','fetchThroughAsyncInterceptors','targetCellInfo','sheet.mutation.set-pivot-position','sortInfo','setPivotTableConfig','sheets.tabs.sheet','dataStream','getUnit','Values','Add','getMatrixFromRunTimeData','getPivotPerformCheck','sheets-pivot.stdDevpName','_sheetsPivotTableAdaptorModel','REF','document','UpdatePivotSource','workbook\x20is\x20not\x20found','getFullYear','adjustSheetCellData','removeValueFilterInfoByValueFieldId','_globalComputedStartHelpFunc','_pivotRenderValueMatrixCache','collectionConfig','getAutoDisplayNameFunction','type','removeValueFilterInfo','forValue','width','updateAllDisplayName','setRangeValueUndoMutation','Value','valuePosition','getTypeOfUnitDisposed$','keys','stringify','updateDataFieldsCollection','fieldsConfig','max','remove','_lifecycleService','sheet.command.reset-pivot-fields-config','RenameField','unitId','updateViewData','PIVOT_MUTATION_GENERATE','New','refreshDataField','error','updateFieldPosition','filterFields','_pivotConfigChange$','markDirty$','fieldsCollectionChange$','_activeDirtyManagerService','deleteDataField','addFieldWithSourceId','_initConfig','existing','sheet.command.update-pivot-value-position','createCollectionWithDataRange','stdDev','oldMatrix','_host','find','next','UpdateSource','sheet.mutation.set-pivot-format','getPivotTableRangeInfo','_initDataSendListener','getIntersects','endColumn','getPivotTableConfig','measure','STRING','Subtotal','_pivotInitCompleted$','get','getRangeData','clearRenderCache','from','sheets-pivot.dateGroup.date','MUTATION','refreshData','rangeCache','getRangeStartEndInfo','getRowCount','_refRangeHandle','sheet.mutation.set-pivot-filter','isArray','4357664TSrIBs','sheets-pivot.varpName','object','_createExclusiveRange','Sum\x20of\x20','UpdateValuePosition','body','StdDevp\x20of\x20','47685gwnHAI','getConfig','getDataFieldItemInfo','_globalComputedEndHelpFunc','dataStyle','sheet.mutation.update-date-group','getAutoFitColumnsMutations','getFieldPositionInfoById','onCommandExecuted','colCount','_sheetsPivotTableConfigModel','Existing','count','onQueryStart','_generateUniqueVersion','_ensurePivotMap','SetPivotFilter','getLastCol','getMonth','getNoUsedDataFieldIds','lastRow','updateViewInfo','UpdateFieldPosition'];_0x2313=function(){return _0x25795b;};return _0x2313();}var Go=(_0x4d195d=>(_0x4d195d[_0x3c024c(0x30c)]=_0x3c024c(0x2d9),_0x4d195d[_0x3c024c(0x2cd)]='new',_0x4d195d))(Go||{});const ko={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Pi=0x1e,We={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ci},'bd':We,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':We,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':We,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':We,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':We,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':vi},'cl':{'rgb':hi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':We,'vt':0x2}};function Ti(_0x39d074,_0x4c006a,_0x162e2b){const _0x5830a5=_0x3c024c,_0x5c91e5=_0x39d074['get'](_0x6286c3),_0x3e3c01=_0x162e2b[_0x5830a5(0x21c)]('_');switch(_0x4c006a){case _0x57a902[_0x5830a5(0x22a)]:return _0x5c91e5['t'](_0x5830a5(0x1ec),..._0x3e3c01);case _0x57a902[_0x5830a5(0x208)]:return _0x5c91e5['t'](_0x5830a5(0x27e),..._0x3e3c01);case _0x57a902[_0x5830a5(0x31d)]:return _0x5c91e5['t'](_0x5830a5(0x407),..._0x3e3c01);case _0x57a902['HourMinute']:return _0x5c91e5['t'](_0x5830a5(0x1c9),..._0x3e3c01);case _0x57a902['Date']:return _0x5c91e5['t'](_0x5830a5(0x3ac),..._0x3e3c01);case _0x57a902['Month']:return _0x5c91e5['t'](_0x5830a5(0x1b0),..._0x3e3c01);case _0x57a902[_0x5830a5(0x22d)]:return _0x5c91e5['t'](_0x5830a5(0x32e),..._0x3e3c01);case _0x57a902[_0x5830a5(0x321)]:return _0x5c91e5['t'](_0x5830a5(0x404),..._0x3e3c01);case _0x57a902[_0x5830a5(0x218)]:return _0x5c91e5['t']('sheets-pivot.cellDateGroupDisplay.yearMonthDate',..._0x3e3c01);case _0x57a902[_0x5830a5(0x1b9)]:return _0x5c91e5['t']('sheets-pivot.cellDateGroupDisplay.yearQuarter',..._0x3e3c01);}return'';}const it=(_0x45041f,_0x4e1cc2,_0x489233,_0x463de1)=>{const _0x331b70=_0x3c024c;let _0xa3e646;const _0xe664f1=_0x45041f[_0x331b70(0x2ec)](_0x21c6a9)['getCurrentUnitForType'](_0x4d97b9[_0x331b70(0x333)]);if(!_0xe664f1)return null;const _0x3d8b0f=_0xe664f1[_0x331b70(0x1db)]();let _0x5c3b64;if(_0x489233&&(_0x5c3b64=_0x3d8b0f[_0x331b70(0x3eb)](_0x489233)),_0x4e1cc2!=null&&_0x4e1cc2['v']||(_0x4e1cc2==null?void 0x0:_0x4e1cc2['v'])===0x0){_0xa3e646||(_0xa3e646={});const _0x21d310=Lo(_0x4e1cc2['v']);typeof _0x21d310=='number'?_0xa3e646['t']=_0x523529['NUMBER']:typeof _0x21d310==_0x331b70(0x223)&&(_0xa3e646['t']=_0x523529['STRING']),_0xa3e646['v']=_0x21d310;}if((_0x4e1cc2!=null&&_0x4e1cc2['i']||(_0x4e1cc2==null?void 0x0:_0x4e1cc2['i'])===0x0)&&(_0xa3e646||(_0xa3e646={}),_0xa3e646['fi']=_0x4e1cc2['i']),_0x4e1cc2!=null&&_0x4e1cc2['s']&&(_0xa3e646||(_0xa3e646={}),_0xa3e646[_0x331b70(0x3c0)]=_0x4e1cc2['s']),_0x489233&&(_0xa3e646||(_0xa3e646={}),_0xa3e646['s']=_0x5c3b64),_0x463de1&&_0xa3e646!=null&&_0xa3e646['v']&&_0xa3e646['pbt']!==_0x41bfa5[_0x331b70(0x3de)]&&_0xa3e646[_0x331b70(0x3c0)]!==_0x41bfa5[_0x331b70(0x2ea)]){const _0xf78a07=String(_0xa3e646['v']),{dateType:_0x3440ef}=_0x463de1;_0xa3e646['v']=Ti(_0x45041f,_0x3440ef,_0xf78a07),_0xa3e646['t']=_0x523529[_0x331b70(0x2e9)];}return _0xa3e646;},Mi=(_0x242714,_0x5d8612,_0x525529,_0x1ba315)=>{const _0x3e8da3=_0x3c024c;var _0x1fda8a,_0x18e798,_0x336cbe,_0x1e3e9e,_0x33186c,_0x2df051,_0x2419ba,_0x510a7f,_0x389094,_0x1fa902,_0x41ce7c,_0x172a79,_0x4a6b10,_0x162c34;const _0x53db8d=_0x525529[_0x3e8da3(0x2a0)],{cornerView:_0x4b2988,rowView:_0x257ce8,colView:_0x53edd3,dataView:_0x238a9f,pageView:_0x4cd54b,formatMap:_0x121664,groupInfo:_0x22e953}=_0x5d8612,{row:_0x92fd17,col:_0x59efbc}=_0x53db8d,_0x4fe108=new _0x26fd20(),_0x4bdb39={},_0x411ba2={},_0x3d40ac={},_0x24d2a0={},_0x431348={};let _0x5c7794=_0x92fd17,_0x1a0b51=_0x59efbc;Object['keys'](_0x4cd54b[_0x3e8da3(0x1b2)])[_0x3e8da3(0x206)](_0x574a0d=>{const _0x5b6aef=_0x3e8da3;Object[_0x5b6aef(0x2c1)](_0x4cd54b[_0x5b6aef(0x1b2)][Number(_0x574a0d)])['forEach'](_0x79012a=>{const _0x3d4a7e=_0x5b6aef,_0x59f24d={..._0x4cd54b['data'][Number(_0x574a0d)][Number(_0x79012a)]};_0x4fe108[_0x3d4a7e(0x3eb)](Number(_0x574a0d)+_0x5c7794,Number(_0x79012a)+_0x1a0b51,it(_0x242714,_0x59f24d,fe['pageStyle']));});});const _0x3fb48c=Object[_0x3e8da3(0x2c1)](_0x4cd54b[_0x3e8da3(0x1b2)])[_0x3e8da3(0x230)];_0x5c7794+=_0x3fb48c+(_0x3fb48c?It:0x0);const _0x2883fb=_0x4b2988[_0x3e8da3(0x2f5)](),_0x5692db=_0x4b2988[_0x3e8da3(0x26d)]();for(let _0x55aaa0=0x0;_0x55aaa0<_0x2883fb;_0x55aaa0++)for(let _0x5cf59e=0x0;_0x5cf59e<_0x5692db;_0x5cf59e++){const _0x41e034={...(_0x18e798=(_0x1fda8a=_0x4b2988[_0x3e8da3(0x1b2)])==null?void 0x0:_0x1fda8a[_0x55aaa0])==null?void 0x0:_0x18e798[_0x5cf59e]};_0x41e034&&((_0x336cbe=_0x257ce8[_0x3e8da3(0x36c)][_0x5cf59e])!=null&&_0x336cbe[_0x3e8da3(0x395)])&&_0x5cf59e===_0x5692db-0x1&&_0x55aaa0===_0x2883fb-0x1&&(_0x41e034['v']=''+_0x1ba315[_0x3e8da3(0x318)]),_0x4fe108['setValue'](_0x55aaa0+_0x5c7794,_0x5cf59e+_0x1a0b51,it(_0x242714,_0x41e034,fe[_0x3e8da3(0x346)]));}for(let _0x1c32e4=0x0;_0x1c32e4<_0x4b2988[_0x3e8da3(0x29b)][_0x3e8da3(0x230)];_0x1c32e4++)_0x4b2988[_0x3e8da3(0x29b)][_0x1c32e4]&&(_0x3d40ac[''+(_0x1c32e4+_0x1a0b51)]=_0x4b2988[_0x3e8da3(0x29b)][_0x1c32e4]);_0x1a0b51+=_0x5692db;const _0x50e424=_0x53edd3[_0x3e8da3(0x36c)],_0x111bfc=_0x53edd3[_0x3e8da3(0x40a)]()>=0x0?_0x53edd3[_0x3e8da3(0x40a)]()+0x1:0x0,_0x3b5dad=_0x53edd3[_0x3e8da3(0x312)]()>=0x0?_0x53edd3['getLastCol']()+0x1:0x0;for(let _0x191bbb=0x0;_0x191bbb<_0x3b5dad;_0x191bbb++){for(let _0x83e490=0x0;_0x83e490<_0x111bfc;_0x83e490++){const _0xb4ba37={...(_0x33186c=(_0x1e3e9e=_0x53edd3[_0x3e8da3(0x1b2)])==null?void 0x0:_0x1e3e9e[_0x83e490])==null?void 0x0:_0x33186c[_0x191bbb]},_0x81ba2c=(_0x2df051=_0x50e424[_0x83e490])==null?void 0x0:_0x2df051[_0x3e8da3(0x328)],_0x4f8476=_0x121664[_0x81ba2c],_0x3044e9=_0x22e953[_0x81ba2c];_0xb4ba37&&(_0xb4ba37['v']=ht(_0xb4ba37,_0x83e490===0x0&&((_0x2419ba=_0x53edd3[_0x3e8da3(0x287)](_0x191bbb+0x1))==null?void 0x0:_0x2419ba[_0x3e8da3(0x395)]),_0x4f8476,_0x1ba315));let _0xbb5edf;_0x4f8476?_0xbb5edf={...fe['colStyle'],'n':{'pattern':_0x4f8476}}:_0xbb5edf={...fe['colStyle']},_0x4fe108[_0x3e8da3(0x3eb)](_0x83e490+_0x5c7794,_0x191bbb+_0x1a0b51,it(_0x242714,_0xb4ba37,_0xbb5edf,_0x3044e9));}_0x53edd3['info'][_0x191bbb]&&(_0x411ba2[''+(_0x191bbb+_0x1a0b51)]=_0x53edd3[_0x3e8da3(0x29b)][_0x191bbb]),_0x53edd3[_0x3e8da3(0x36c)][_0x191bbb+0x1]&&(_0x431348[''+(_0x191bbb+_0x5c7794+0x1)]=_0x53edd3[_0x3e8da3(0x36c)][_0x191bbb+0x1]);}_0x5c7794+=_0x2883fb;const _0x51b623=_0x257ce8[_0x3e8da3(0x36c)],_0x52471c=_0x257ce8[_0x3e8da3(0x40a)]()>=0x0?_0x257ce8[_0x3e8da3(0x40a)]()+0x1:0x0,_0x458af4=_0x257ce8[_0x3e8da3(0x312)]()>=0x0?_0x257ce8[_0x3e8da3(0x312)]()+0x1:0x0;for(let _0x20e608=0x0;_0x20e608<_0x52471c;_0x20e608++){for(let _0x108b8a=0x0;_0x108b8a<_0x458af4;_0x108b8a++){const _0x3cf6e1={...(_0x389094=(_0x510a7f=_0x257ce8['data'])==null?void 0x0:_0x510a7f[_0x20e608])==null?void 0x0:_0x389094[_0x108b8a]},_0x3af235=(_0x1fa902=_0x51b623[_0x108b8a])==null?void 0x0:_0x1fa902['tableFieldId'],_0x399bd8=_0x121664[_0x3af235],_0x4fd5d2=_0x22e953[_0x3af235];_0x3cf6e1&&(_0x3cf6e1['v']=ht(_0x3cf6e1,!0x1,_0x399bd8,_0x1ba315));let _0x470b30;_0x257ce8[_0x3e8da3(0x29b)][_0x20e608][_0x3e8da3(0x412)]===_0x257ce8['getColCount']()?_0x470b30=fe['leafStyle']:_0x257ce8['info'][_0x20e608][_0x3e8da3(0x3f0)]?_0x470b30=_0x257ce8['info'][_0x20e608][_0x3e8da3(0x412)]===0x0?fe[_0x3e8da3(0x20f)]:fe[_0x3e8da3(0x400)]:_0x470b30=fe[_0x3e8da3(0x350)],_0x399bd8&&(_0x470b30={..._0x470b30,'n':{'pattern':_0x399bd8}}),_0x4fe108[_0x3e8da3(0x3eb)](_0x20e608+_0x5c7794,_0x108b8a+_0x59efbc,it(_0x242714,_0x3cf6e1,_0x470b30,_0x4fd5d2));}_0x257ce8[_0x3e8da3(0x29b)][_0x20e608]&&(_0x4bdb39[''+(_0x20e608+_0x5c7794)]=_0x257ce8['info'][_0x20e608]),_0x257ce8[_0x3e8da3(0x36c)][_0x20e608]&&(_0x24d2a0[''+(_0x20e608+_0x59efbc)]=_0x257ce8['headerMap'][_0x20e608]);}const _0x3aee3a=_0x238a9f[_0x3e8da3(0x2f5)](),_0x1f7ef2=_0x238a9f[_0x3e8da3(0x26d)]();for(let _0x46ccd8=0x0;_0x46ccd8<_0x3aee3a;_0x46ccd8++)for(let _0x21547b=0x0;_0x21547b<_0x1f7ef2;_0x21547b++){const _0x274b8a={...(_0x172a79=(_0x41ce7c=_0x238a9f[_0x3e8da3(0x1b2)])==null?void 0x0:_0x41ce7c[_0x46ccd8])==null?void 0x0:_0x172a79[_0x21547b]};let _0x3f4b80;_0x257ce8[_0x3e8da3(0x29b)][_0x46ccd8][_0x3e8da3(0x3f0)]?_0x3f4b80=_0x257ce8[_0x3e8da3(0x29b)][_0x46ccd8][_0x3e8da3(0x412)]===0x0?fe[_0x3e8da3(0x20f)]:fe['subTotalStyle']:_0x3f4b80=fe[_0x3e8da3(0x305)];const _0x2f0663=_0x257ce8[_0x3e8da3(0x29b)][_0x46ccd8][_0x3e8da3(0x24a)],_0x213ce8=_0x53edd3['info'][_0x21547b][_0x3e8da3(0x24a)],_0x122675=Math[_0x3e8da3(0x2c5)](_0x2f0663,_0x213ce8),_0x36b2ed=_0x525529[_0x3e8da3(0x2c4)][_0x3e8da3(0x420)]['concat']();let _0xc6c08c='';_0x122675<0x0?_0xc6c08c=(_0x4a6b10=_0x36b2ed[0x0])!=null?_0x4a6b10:'':_0xc6c08c=(_0x162c34=_0x36b2ed[_0x122675])!=null?_0x162c34:'';const _0x34bcc7=_0x121664[_0xc6c08c];_0x34bcc7&&(_0x3f4b80={..._0x3f4b80,'n':{'pattern':_0x34bcc7}}),_0x4fe108[_0x3e8da3(0x3eb)](_0x46ccd8+_0x5c7794,_0x21547b+_0x1a0b51,it(_0x242714,_0x274b8a,_0x3f4b80));}return{'valueMatrix':_0x4fe108,'rowInfo':_0x4bdb39,'colInfo':_0x411ba2,'cornerInfo':_0x3d40ac,'rowHeaderMap':_0x24d2a0,'colHeaderMap':_0x431348};};function ht(_0x1cc32b,_0x4b3712,_0x16650a,_0x3c2688){const _0x4154d8=_0x3c024c;let _0x5213d0=_0x1cc32b['v'];_0x4b3712&&(_0x5213d0=''+_0x3c2688[_0x4154d8(0x318)]);const _0x48c42f=_0x1cc32b['t']&&(_0x1cc32b['t']&_0x598e5f['blank'])>0x0;if(_0x48c42f&&(_0x5213d0=''+_0x3c2688[_0x4154d8(0x32c)]),_0x1cc32b['s']===_0x41bfa5[_0x4154d8(0x2ea)]){let _0x1d53ab=_0x5213d0,_0x4ec0d7='';_0x7a2ee3(_0x5213d0)&&(_0x1d53ab=_0x5213d0[_0x4154d8(0x3fc)],_0x4ec0d7=_0x5213d0[_0x4154d8(0x35d)]);const _0x4118d9=_0x16650a&&!_0x48c42f?_0x4f908d[_0x4154d8(0x3ba)](_0x16650a,Number(_0x1d53ab)):_0x1d53ab;_0x4ec0d7?_0x5213d0=_0x4118d9+'\x20'+_0x4ec0d7:_0x5213d0=_0x4118d9+'\x20'+_0x3c2688[_0x4154d8(0x253)];}else _0x1cc32b['s']===_0x41bfa5[_0x4154d8(0x3de)]&&(_0x5213d0=_0x5213d0+'\x20'+_0x3c2688[_0x4154d8(0x3b6)]);return _0x5213d0;}function Lo(_0x113caa){const _0x7ce8d2=_0x3c024c;if(_0x14193c(_0x113caa)){const {errorType:_0x112d9e}=_0x113caa;switch(_0x112d9e){case _0x31f7e2[_0x7ce8d2(0x3e9)]:return _0x8488b9[_0x7ce8d2(0x1d6)];case _0x31f7e2[_0x7ce8d2(0x1c2)]:return _0x8488b9['NUM'];case _0x31f7e2['NotFunction']:return _0x8488b9[_0x7ce8d2(0x418)];case _0x31f7e2[_0x7ce8d2(0x260)]:return _0x8488b9['NAME'];case _0x31f7e2[_0x7ce8d2(0x3f7)]:return _0x8488b9[_0x7ce8d2(0x2ad)];}}return _0x113caa;}function ge(_0x47c421,_0x45ceb7,_0x321206=!0x1,_0x189013=!0x1){const _0x3a4f52=_0x3c024c,{data:_0x2c0f3a}=_0x45ceb7,_0x46ac52=_0x45ceb7[_0x3a4f52(0x2f5)](),_0x32ee3b=_0x45ceb7[_0x3a4f52(0x26d)]();if(_0x46ac52<=0x0||_0x32ee3b<=0x0)return[];const _0x8b8ee8=_0x45ceb7[_0x3a4f52(0x312)](),_0x298bd1=_0x45ceb7[_0x3a4f52(0x40a)](),_0x171500=_0x189013?_0x298bd1>=0x0?_0x298bd1+0x1:0x0:_0x46ac52,_0x201b68=_0x189013?_0x8b8ee8>=0x0?_0x8b8ee8+0x1:0x0:_0x32ee3b,{row:_0x10f0a1,col:_0x4997a4}=_0x47c421,_0x392d2e=_0x10f0a1,_0x2028f4=_0x4997a4;if(_0x321206){const _0x1e38a3=[];for(const [_0x11ea2a,_0xd51de9]of Object[_0x3a4f52(0x3e5)](_0x2c0f3a))for(const [_0x64b74b,_0x35ccd8]of Object['entries'](_0xd51de9))_0x1e38a3['push'](_0x1a6fb4(_0x392d2e+Number(_0x11ea2a),_0x2028f4+Number(_0x64b74b)));return _0x1e38a3;}else{const _0x251f2f=_0x189013?_0x171500>0x0?0x1:0x0:0x1,_0x2251c2=_0x189013?_0x201b68>0x0?0x1:0x0:0x1,_0x1acdfa=_0x10f0a1+_0x171500-_0x251f2f,_0x1cf84d=_0x4997a4+_0x201b68-_0x2251c2;return[{'startRow':_0x392d2e,'startColumn':_0x2028f4,'endRow':_0x1acdfa,'endColumn':_0x1cf84d}];}}const q='SHEET_PIVOT_IN_MAIN_THREAD',Gt=_0x3c024c(0x332);var A=(_0x49e1bb=>(_0x49e1bb[_0x3c024c(0x1f7)]=_0x3c024c(0x1aa),_0x49e1bb['Panel']=_0x3c024c(0x267),_0x49e1bb[_0x3c024c(0x1e5)]=_0x3c024c(0x233),_0x49e1bb[_0x3c024c(0x388)]=_0x3c024c(0x388),_0x49e1bb[_0x3c024c(0x283)]=_0x3c024c(0x1cc),_0x49e1bb[_0x3c024c(0x38e)]=_0x3c024c(0x212),_0x49e1bb[_0x3c024c(0x1af)]=_0x3c024c(0x358),_0x49e1bb[_0x3c024c(0x1dc)]=_0x3c024c(0x3ee),_0x49e1bb[_0x3c024c(0x311)]=_0x3c024c(0x3e2),_0x49e1bb[_0x3c024c(0x29a)]=_0x3c024c(0x36a),_0x49e1bb[_0x3c024c(0x292)]='setPivotSetting',_0x49e1bb[_0x3c024c(0x2af)]=_0x3c024c(0x284),_0x49e1bb[_0x3c024c(0x2fe)]=_0x3c024c(0x226),_0x49e1bb[_0x3c024c(0x20c)]=_0x3c024c(0x32f),_0x49e1bb[_0x3c024c(0x411)]=_0x3c024c(0x32a),_0x49e1bb[_0x3c024c(0x339)]='setPivotTableConfig',_0x49e1bb['ResetPivotTable']=_0x3c024c(0x3cc),_0x49e1bb))(A||{});const yi={'sheets-pivot.blankValue':_0x3c024c(0x21a),'sheets-pivot.columnName':_0x3c024c(0x3be),'sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x3c024c(0x2be),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':_0x3c024c(0x360),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x3c024c(0x403),'sheets-pivot.productName':_0x3c024c(0x399),'sheets-pivot.stdDevName':_0x3c024c(0x1dd),'sheets-pivot.stdDevpName':_0x3c024c(0x300),'sheets-pivot.sumName':_0x3c024c(0x2fd),'sheets-pivot.varName':_0x3c024c(0x209),'sheets-pivot.varpName':_0x3c024c(0x40b),'sheets-pivot.subTotal':_0x3c024c(0x2ea),'sheets-pivot.grandTotal':_0x3c024c(0x236),'sheets-pivot.value':_0x3c024c(0x35d),'sheets-pivot.blank':'blank','sheets-pivot.emptyPivot.filter':_0x3c024c(0x1f7),'sheets-pivot.emptyPivot.row':_0x3c024c(0x3c8),'sheets-pivot.emptyPivot.column':_0x3c024c(0x1ac),'sheets-pivot.emptyPivot.values':_0x3c024c(0x2a7)},Po={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x1904bb(_0x3c024c(0x216)),$o=_0x65f637(_0x3c024c(0x368));var ke=(_0x4700ea=>(_0x4700ea['add']=_0x3c024c(0x285),_0x4700ea[_0x3c024c(0x1b3)]=_0x3c024c(0x1b3),_0x4700ea[_0x3c024c(0x244)]=_0x3c024c(0x244),_0x4700ea))(ke||{}),L=(_0x5807e5=>(_0x5807e5[_0x3c024c(0x2a8)]=_0x3c024c(0x285),_0x5807e5[_0x3c024c(0x1c0)]=_0x3c024c(0x1a6),_0x5807e5[_0x3c024c(0x1e6)]=_0x3c024c(0x1b3),_0x5807e5))(L||{});const Jo={0x0:'Y',0x1:'0',0x2:'K',0x3:'f',0x4:'3',0x5:'Z',0x6:'Q',0x7:'z',0x8:'S',0x9:'s','J':'1','Z':'2','v':'4','m':'5','T':'6','w':'7','A':'8','x':'9','R':'a','j':'b','d':'c','V':'d','g':'e','N':'g','u':'h','U':'i','K':'j','C':'k','O':'l','i':'m','G':'n','n':'o','a':'p','r':'q','b':'r','B':'t','f':'u','I':'v','E':'w','S':'x','F':'y','P':'A','W':'B','X':'C','q':'D','p':'E','z':'F','c':'G','M':'H','L':'I','e':'J','H':'L','t':'M','D':'N','l':'O','o':'P','Q':'R','k':'T','s':'U','h':'V','Y':'W','y':'X'},jo=_0x3c024c(0x38f),ro={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':_0x3c024c(0x3cf),'handler':()=>!0x0},lo={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':_0x3c024c(0x1c4),'handler':()=>!0x0},Dt={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':_0x3c024c(0x384),'handler':()=>!0x0},co={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':_0x3c024c(0x28f),'handler':()=>!0x0},uo={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':_0x3c024c(0x3d2),'handler':()=>!0x0},wi=_0x3b0f7c=>{const _0x293ce1=_0x3c024c;var _0x21309b;return((_0x21309b=_0x3b0f7c[_0x293ce1(0x2ff)])==null?void 0x0:_0x21309b[_0x293ce1(0x2a5)]['replace'](/\r\n$/,''))||'';};class _i extends _0x33e12b{constructor(_0x47ba5d,_0x5046dd){const _0x262b6b=_0x3c024c;super(),V(this,'rangeKeyMap',{}),V(this,'_univerInstanceService'),V(this,'_host'),(this[_0x262b6b(0x1d0)]=_0x5046dd,this[_0x262b6b(0x2de)]=_0x47ba5d);}[_0x3c024c(0x324)](){const _0x2cac47=_0x3c024c;for(const _0x33b5eb in this[_0x2cac47(0x3dd)]){const _0x3c3994=this[_0x2cac47(0x3dd)][_0x33b5eb],_0xa705e1=_0x3c3994[_0x2cac47(0x394)]();this['rangeKeyMap'][_0xa705e1]=_0x3c3994[_0x2cac47(0x288)]();}}[_0x3c024c(0x2b7)](){const _0x89b1bd=_0x3c024c,_0x3b3277=this[_0x89b1bd(0x2de)];return Oi['bind'](_0x3b3277);}[_0x3c024c(0x2d6)](_0x355bf3){const _0x37b3c2=_0x3c024c,_0x64346c=this[_0x37b3c2(0x3dd)][_0x355bf3]['rangeKey'];delete this[_0x37b3c2(0x3dd)][_0x355bf3],delete this[_0x37b3c2(0x3d8)][_0x64346c];}['addDataFieldWithoutUnitInfo'](_0x216afe){const _0x28ef05=_0x3c024c;this[_0x28ef05(0x3dd)][_0x216afe['getId']()]=_0x216afe;}[_0x3c024c(0x392)](_0x4baa29){const _0xfbbe97=_0x3c024c;var _0xc4799f,_0x53012a;const _0x5915b9=this[_0xfbbe97(0x2de)][_0xfbbe97(0x27a)](_0x4baa29);if(_0x5915b9){const {unitId:_0x4ff45e,subUnitId:_0x33d638}=_0x5915b9,_0xa0496b=(_0xc4799f=this[_0xfbbe97(0x2de)]['getPivotTableConfig'](_0x4ff45e,_0x33d638,_0x4baa29))==null?void 0x0:_0xc4799f['sourceRangeInfo'];this[_0xfbbe97(0x2de)][_0xfbbe97(0x33b)]({'token':_0x4baa29,'type':ke[_0xfbbe97(0x1b3)],'dataRangeInfo':_0xa0496b});}(_0x53012a=this['getCollection'](_0x4baa29))==null||_0x53012a[_0xfbbe97(0x1d7)](),delete this[_0xfbbe97(0x1fa)][_0x4baa29];}[_0x3c024c(0x394)](_0x7d8bdb,_0x354e23){const {sheetName:_0x476498,unitId:_0x2b9ff9,range:_0x5bd153}=_0x7d8bdb,{startRow:_0x4e295b,endRow:_0x5e2f7f}=_0x5bd153;return _0xd4e83c(_0x2b9ff9,_0x476498,{'startRow':_0x4e295b,'endRow':_0x5e2f7f,'startColumn':_0x354e23,'endColumn':_0x354e23});}[_0x3c024c(0x3fe)](_0x47cdf2){const _0x5bdf80=_0x3c024c;return this[_0x5bdf80(0x3dd)][this[_0x5bdf80(0x3d8)][_0x47cdf2]];}[_0x3c024c(0x265)](_0xd55b59,_0xb5e7ea){this['rangeKeyMap'][_0xd55b59]=_0xb5e7ea;}[_0x3c024c(0x37f)](_0x2fb15e,_0x3af382){const _0x4a78dc=_0x3c024c;this[_0x4a78dc(0x3d8)][_0x3af382]=this['rangeKeyMap'][_0x2fb15e],delete this['rangeKeyMap'][_0x2fb15e];}[_0x3c024c(0x23e)](_0x3141a0,_0x327c7a,_0x3931af,_0x4294c6){const _0xcef6ba=_0x3c024c,_0x19f5d8=new _0x471cff(this);_0x19f5d8[_0xcef6ba(0x352)](_0x327c7a);const _0x3f78a4=[];let _0x2fe97d=0x0;for(const _0x3d0bf8 of _0x19f5d8['fieldIds']){const _0x41315d=this[_0xcef6ba(0x394)](_0x3931af,_0x2fe97d),_0x4162a0=this[_0xcef6ba(0x3dd)][_0x3d0bf8];_0x4162a0&&(_0x4162a0['rangeKey']=_0x41315d,this[_0xcef6ba(0x265)](_0x41315d,_0x3d0bf8),_0x3f78a4[_0xcef6ba(0x28a)]({'index':_0x2fe97d,'dataField':_0x4162a0})),_0x2fe97d++;}return this[_0xcef6ba(0x1cb)](_0x3141a0,_0x19f5d8,_0x3931af,_0x4294c6),{'collection':_0x19f5d8,'updateDataFieldList':_0x3f78a4};}[_0x3c024c(0x2f4)](_0x15c8b7,_0x339a64){const _0x460610=_0x3c024c;return _0x15c8b7[_0x460610(0x207)]===_0x4573e8['COLUMN']?{'startRow':0x0,'startColumn':_0x15c8b7[_0x460610(0x210)],'endRow':_0x339a64[_0x460610(0x2f5)]()-0x1,'endColumn':_0x15c8b7[_0x460610(0x2e6)]}:{'startRow':_0x15c8b7[_0x460610(0x1ed)],'startColumn':_0x15c8b7[_0x460610(0x210)],'endRow':_0x15c8b7[_0x460610(0x365)],'endColumn':_0x15c8b7[_0x460610(0x2e6)]};}[_0x3c024c(0x2db)](_0x2587dc){const _0x276715=_0x3c024c,{sheetName:_0x429629,range:_0x8d252d}=_0x2587dc,_0xcdec21=this[_0x276715(0x1d0)]['getCurrentUnitForType'](_0x4d97b9[_0x276715(0x333)]),_0x2137d1=_0xcdec21[_0x276715(0x204)](_0x429629),_0x1391f5=_0x2137d1[_0x276715(0x3c7)](),{startColumn:_0x3b8b53,startRow:_0x1807b1,endColumn:_0x51129e}=this[_0x276715(0x2f4)](_0x8d252d,_0x2137d1),_0x56029a=_0xcdec21[_0x276715(0x1db)](),_0x428056=new _0x471cff(this);_0x428056['setRange'](_0x2587dc);const _0x3f1d8e=[],_0x45df71={};for(let _0xb6dc6d=_0x3b8b53;_0xb6dc6d<=_0x51129e;_0xb6dc6d++){const _0x508caf=_0x1391f5[_0x276715(0x1bb)](_0x1807b1,_0xb6dc6d),_0x59634e=this[_0x276715(0x394)](_0x2587dc,_0xb6dc6d),_0x455652=this[_0x276715(0x3fe)](_0x59634e);if(_0x455652)_0x428056['addField'](_0x455652[_0x276715(0x288)](),_0x455652[_0x276715(0x36e)]());else{const _0x5512c2=this[_0x276715(0x3b9)]();let _0x3dde98=this[_0x276715(0x2b2)](_0x508caf,_0x56029a,_0x45df71);_0x47bdf2(_0x3dde98)&&(_0x3dde98=_0x4f908d[_0x276715(0x3ba)](_0x3dde98['f'],Number(_0x3dde98['v'])));const _0x3869f4=this[_0x276715(0x38b)](_0x3dde98,_0xb6dc6d),_0x54221c=new _0x226fd3(_0x5512c2,_0x3869f4,_0x1bceee(0x3));_0x54221c[_0x276715(0x34a)]=_0x59634e,this[_0x276715(0x3dd)][_0x5512c2]=_0x54221c,_0x428056['addField'](_0x5512c2,_0x3869f4),_0x3f1d8e[_0x276715(0x28a)]({'index':_0xb6dc6d,'dataField':_0x54221c});}}return{'updateDataFieldList':_0x3f1d8e,'collection':_0x428056};}['_getAutoName'](_0x1b0088){const _0x1db9aa=_0x3c024c;return this[_0x1db9aa(0x2de)]['getTextInfo']()[_0x1db9aa(0x235)]+'\x20'+_0x1491f1(_0x1b0088);}[_0x3c024c(0x38b)](_0x2433c4,_0x4713fa){return _0x2433c4==null||_0x2433c4===''?this['_getAutoName'](_0x4713fa):String(_0x2433c4);}[_0x3c024c(0x1f5)](_0x4a6f1c){const _0x222929=_0x3c024c;return this[_0x222929(0x1fa)][_0x4a6f1c];}[_0x3c024c(0x1cb)](_0x3a253f,_0x454967,_0x1b9d5d,_0x56765d){const _0x40323c=_0x3c024c;this['collections'][_0x3a253f]=_0x454967,_0x454967['setRange'](_0x1b9d5d),this['_host'][_0x40323c(0x33b)]({'token':_0x3a253f,'type':ke[_0x40323c(0x285)],'dataRangeInfo':_0x1b9d5d,'targetCellInfo':_0x56765d});}[_0x3c024c(0x33c)](_0x26398f,_0x3ec7a2){const _0x487bb3=_0x3c024c,_0x445a51=this[_0x487bb3(0x1f5)](_0x26398f),_0x78ed7f=_0x445a51['getFieldIds']();let _0x3d382d=0x0;for(const _0x223fac of _0x78ed7f){const _0xaa1970=_0x445a51[_0x487bb3(0x37e)](_0x223fac),_0x3998ca=this['getRangeKey'](_0x3ec7a2,_0x3d382d);this[_0x487bb3(0x37f)](_0xaa1970['rangeKey'],_0x3998ca),_0x3d382d++;}}['getPivotDirtyViewInfo'](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x3c024c(0x41e)](_0x411bda,_0x14e2a3){const _0x8d8ef5=_0x3c024c;if(this[_0x8d8ef5(0x1f5)](_0x411bda)){const _0x1d8ead=this[_0x8d8ef5(0x290)](_0x14e2a3),_0x3a6726=[];for(const _0x111ba4 of _0x1d8ead)this['rangeKeyMap'][_0x111ba4]!==void 0x0&&_0x3a6726[_0x8d8ef5(0x28a)](this[_0x8d8ef5(0x3d8)][_0x111ba4]);const _0x498a90=this[_0x8d8ef5(0x314)](_0x411bda),_0x9da346=[],_0x19c482=new Set(_0x3a6726);for(const _0x5b2e7e of _0x498a90)_0x19c482[_0x8d8ef5(0x338)](_0x5b2e7e)||_0x9da346['push'](_0x5b2e7e);return _0x9da346;}}[_0x3c024c(0x276)](_0x4a762f,_0x5bd23e,_0x49c319,_0x624dc8,_0xeea653){const _0x38a451=_0x3c024c;return _0x5bd23e&&_0x5bd23e['getValue'](_0x624dc8,_0xeea653)?_0x5bd23e['getValue'](_0x624dc8,_0xeea653):_0x49c319&&_0x49c319[_0x38a451(0x1bb)](_0x624dc8,_0xeea653)?_0x49c319[_0x38a451(0x1bb)](_0x624dc8,_0xeea653):_0x4a762f[_0x38a451(0x1bb)](_0x624dc8,_0xeea653);}['refreshDataField'](_0x23af60,_0x341e0a,_0xae52a1,_0x465e15){const _0x349144=_0x3c024c,_0x20be01=this[_0x349144(0x3dd)][_0x23af60];if(!_0x20be01)return;const {subUnitId:_0x2424ca,range:_0x225ada,unitId:_0x8c5880}=_0x341e0a,_0x43f127=this[_0x349144(0x1d0)][_0x349144(0x2a6)](_0x8c5880);if(!_0x43f127){console['error'](_0x349144(0x2b0));return;}const _0x47297d=_0x43f127['getSheetBySheetId'](_0x2424ca),_0x3f73d5=_0x47297d[_0x349144(0x3c7)](),{arrayFormulaCellDataMatrix:_0x58ea70,unitDataMatrix:_0x1783df}=_0x465e15||{},{startRow:_0x1716d2,startColumn:_0x362868,endRow:_0x28d543}=this[_0x349144(0x2f4)](_0x225ada,_0x47297d);_0x20be01['reset']();const _0x71e347=_0x43f127[_0x349144(0x1db)](),_0x3a9ee6={},_0x2d5f19=this[_0x349144(0x276)](_0x3f73d5,_0x58ea70,_0x1783df,_0x1716d2,_0x362868+_0xae52a1);let _0x57b473=this[_0x349144(0x2b2)](_0x2d5f19,_0x71e347,_0x3a9ee6);_0x47bdf2(_0x57b473)&&(_0x57b473=_0x4f908d[_0x349144(0x3ba)](_0x57b473['f'],Number(_0x57b473['v'])));const _0x133030=this[_0x349144(0x38b)](_0x57b473,_0x362868+_0xae52a1);_0x20be01[_0x349144(0x1f3)](_0x133030);for(let _0x1e98e2=_0x1716d2+0x1;_0x1e98e2<=_0x28d543;_0x1e98e2++){const _0x2377cf=this[_0x349144(0x276)](_0x3f73d5,_0x58ea70,_0x1783df,_0x1e98e2,_0x362868+_0xae52a1);_0x20be01[_0x349144(0x25e)](this[_0x349144(0x2b2)](_0x2377cf,_0x71e347,_0x3a9ee6),_0x1e98e2-0x1-_0x1716d2);}}[_0x3c024c(0x2f2)](_0x4d8580,_0x4c968a,_0x2b35e6){const _0x4f1806=_0x3c024c,{subUnitId:_0x3d7dca,range:_0x11e8f8,unitId:_0x5270d5}=_0x2b35e6,_0x336c94=this[_0x4f1806(0x1d0)][_0x4f1806(0x2a6)](_0x5270d5);if(!_0x336c94){console['error'](_0x4f1806(0x2b0));return;}const _0x7713cc=_0x336c94[_0x4f1806(0x393)](_0x3d7dca),_0xdc6dbf=_0x7713cc[_0x4f1806(0x3c7)](),{startRow:_0x1f2f44,startColumn:_0x14a7a5,endRow:_0x3df153}=this[_0x4f1806(0x2f4)](_0x11e8f8,_0x7713cc),_0x3be4cc=_0x336c94[_0x4f1806(0x1db)](),_0x20a813={};for(const {dataField:_0x5b20e3,index:_0x55ce11}of _0x4c968a){_0x5b20e3['reset']();const _0x3849fb=this[_0x4f1806(0x276)](_0xdc6dbf,void 0x0,void 0x0,_0x1f2f44,_0x14a7a5+_0x55ce11);let _0x412996=this[_0x4f1806(0x2b2)](_0x3849fb,_0x3be4cc,_0x20a813);_0x47bdf2(_0x412996)&&(_0x412996=_0x4f908d['format'](_0x412996['f'],Number(_0x412996['v'])));const _0x15067a=this[_0x4f1806(0x38b)](_0x412996,_0x14a7a5+_0x55ce11);_0x5b20e3[_0x4f1806(0x1f3)](_0x15067a);}_0x4d8580[_0x4f1806(0x2bc)]();for(let _0x473e9b=_0x1f2f44+0x1;_0x473e9b<=_0x3df153;_0x473e9b++)for(const {index:_0x33f551,dataField:_0x15cde1}of _0x4c968a){const _0x544410=_0xdc6dbf[_0x4f1806(0x1bb)](_0x473e9b,_0x14a7a5+_0x33f551);_0x15cde1['addRecord'](this[_0x4f1806(0x2b2)](_0x544410,_0x3be4cc,_0x20a813),_0x473e9b-0x1-_0x1f2f44);}_0x4d8580[_0x4f1806(0x20b)](_0x3df153-_0x1f2f44);}[_0x3c024c(0x290)](_0x1ae5eb){const _0x2b6def=_0x3c024c,{range:_0x51084f}=_0x1ae5eb,{startColumn:_0x38f31a,endColumn:_0x15017a}=_0x51084f,_0x480cab=[];for(let _0x33eca9=_0x38f31a;_0x33eca9<=_0x15017a;_0x33eca9++)_0x480cab['push'](this[_0x2b6def(0x394)](_0x1ae5eb,_0x33eca9));return _0x480cab;}[_0x3c024c(0x2b2)](_0x34c20f,_0x20fabd,_0x51fe4e){const _0x24ea83=_0x3c024c;if(_0x34c20f){const {s:_0x5e13c5,v:_0x1fb9e0,t:_0x59cc96,p:_0x30a9b1}=_0x34c20f;if(_0x30a9b1)return wi(_0x30a9b1);const _0x474725=_0x20fabd['get'](_0x5e13c5);if(_0x474725&&_0x59cc96===_0x523529[_0x24ea83(0x353)]&&_0x474725['n']){const {pattern:_0x36a3e8}=_0x474725['n'];_0x51fe4e[_0x36a3e8]||(_0x51fe4e[_0x36a3e8]=_0x4f908d['getInfo'](_0x36a3e8));const _0x3e7b12=_0x51fe4e[_0x36a3e8],_0x75b8ec=_0x3e7b12['isDate'];if(_0x3e7b12[_0x24ea83(0x28d)])return String(_0x1fb9e0);if(_0x75b8ec)return{'v':_0x1fb9e0,'f':_0x36a3e8};}if(_0x59cc96===_0x523529[_0x24ea83(0x353)])return Number(_0x1fb9e0);if(_0x59cc96===_0x523529[_0x24ea83(0x2e9)]||_0x59cc96===_0x523529['FORCE_STRING'])return String(_0x1fb9e0);if(_0x59cc96===void 0x0){const _0x954f42=Number(_0x1fb9e0);if(!Number['isNaN'](_0x954f42)&&String(_0x954f42)===_0x1fb9e0)return _0x954f42;}return _0x1fb9e0!=null?_0x1fb9e0:null;}else return null;}[_0x3c024c(0x2ed)](_0x37f082){const _0x1ba602=_0x3c024c,{sheetName:_0x540fe6,range:_0x697a62,unitId:_0x4433d8}=_0x37f082,_0x5761a8=this[_0x1ba602(0x1d0)][_0x1ba602(0x2a6)](_0x4433d8);if(!_0x5761a8)return console[_0x1ba602(0x2cf)](_0x1ba602(0x2b0)),{'header':[],'data':[]};const _0x5d53a1=_0x5761a8[_0x1ba602(0x204)](_0x540fe6),_0x37ac5a=_0x5d53a1[_0x1ba602(0x3c7)](),{startRow:_0x218749,startColumn:_0x38196b,endRow:_0x322c44,endColumn:_0x2cf31d}=this[_0x1ba602(0x2f4)](_0x697a62,_0x5d53a1),_0x102679=_0x5761a8[_0x1ba602(0x1db)](),_0x431fd0=[],_0x199ef9=[],_0x12f831={};for(let _0x5e840b=_0x218749;_0x5e840b<=_0x322c44;_0x5e840b++){const _0x3c65e7=[];for(let _0x5d023f=_0x38196b;_0x5d023f<=_0x2cf31d;_0x5d023f++){const _0x56e861=_0x37ac5a[_0x1ba602(0x1bb)](_0x5e840b,_0x5d023f);_0x5e840b===_0x218749?_0x431fd0[_0x1ba602(0x28a)](_0x56e861==null?null:String(_0x56e861['v'])):_0x3c65e7[_0x1ba602(0x28a)](this[_0x1ba602(0x2b2)](_0x56e861,_0x102679,_0x12f831));}_0x199ef9[_0x1ba602(0x28a)](_0x3c65e7);}return{'header':_0x431fd0,'data':_0x199ef9};}[_0x3c024c(0x1ba)](){return super['toJSON']();}[_0x3c024c(0x352)](_0x5322ea){const _0xe7997a=_0x3c024c;super[_0xe7997a(0x352)](_0x5322ea),this['initDataRanges']();}[_0x3c024c(0x1d7)](){const _0x3c2e2f=_0x3c024c;super['dispose'](),this[_0x3c2e2f(0x3d8)]={},this[_0x3c2e2f(0x2de)]=null;}}const Ri=_0x354d2c=>{const _0x38896c=_0x3c024c,{targetCellInfo:_0x4b4741}=_0x354d2c,{matrixCache:_0x576150,rangesCache:_0x1dc292}=Wo({'filter':_0x38896c(0x1f7),'row':_0x38896c(0x3c8),'column':_0x38896c(0x1ac),'values':_0x38896c(0x2a7)},_0x4b4741),_0x4947f6=new _0x26fd20();return _0x576150[_0x38896c(0x2ba)]((_0x151670,_0x2747a7,_0x8bbacf)=>{const _0x2ffd53=_0x38896c;_0x4947f6[_0x2ffd53(0x3eb)](_0x151670,_0x2747a7,_0x8bbacf);}),{'matrix':_0x4947f6,'rangesCache':_0x1dc292};},st=_0x19138d=>{const _0x6acc69=_0x3c024c;let _0xb0c1a3;if(_0x19138d!=null&&_0x19138d['v']||(_0x19138d==null?void 0x0:_0x19138d['v'])===0x0){_0xb0c1a3||(_0xb0c1a3={});const _0x25a59a=Lo(_0x19138d['v']);typeof _0x25a59a==_0x6acc69(0x21d)?_0xb0c1a3['t']=_0x523529[_0x6acc69(0x353)]:typeof _0x25a59a=='string'&&(_0xb0c1a3['t']=_0x523529['STRING']),_0xb0c1a3['v']=_0x25a59a;}return _0xb0c1a3;},Fi=(_0x115d89,_0x2c9e5a,_0x390086)=>{const _0x203048=_0x3c024c;var _0x3b2985,_0x151e80,_0x114e5a,_0x12d589,_0x228ce3,_0x3e3026,_0x275333,_0x1d10eb,_0x41201e,_0x205e99,_0x1b8acb,_0x19b4cd;const {cornerView:_0x287126,rowView:_0x4c4b86,colView:_0x2c2f6a,dataView:_0x401b0c,pageView:_0x10eb9a,formatMap:_0x47f5fa}=_0x115d89,{row:_0x3bc072,col:_0x190df9}=_0x2c9e5a,_0xe11713=new _0x26fd20();let _0x559c2c=_0x3bc072,_0x2473a3=_0x190df9;Object[_0x203048(0x2c1)](_0x10eb9a['data'])[_0x203048(0x206)](_0xdfaa22=>{const _0x3150b6=_0x203048;Object[_0x3150b6(0x2c1)](_0x10eb9a[_0x3150b6(0x1b2)][Number(_0xdfaa22)])[_0x3150b6(0x206)](_0x39aaf2=>{const _0x447e9e=_0x3150b6,_0x49adeb={..._0x10eb9a[_0x447e9e(0x1b2)][Number(_0xdfaa22)][Number(_0x39aaf2)]};_0xe11713['setValue'](Number(_0xdfaa22)+_0x559c2c,Number(_0x39aaf2)+_0x2473a3,st(_0x49adeb));});});const _0x37a81c=Object[_0x203048(0x2c1)](_0x10eb9a[_0x203048(0x1b2)])['length'];_0x559c2c+=_0x37a81c+(_0x37a81c?It:0x0);const _0x51fb69=_0x287126['getRowCount'](),_0x1ab5cc=_0x287126[_0x203048(0x26d)]();for(let _0x5c6431=0x0;_0x5c6431<_0x51fb69;_0x5c6431++)for(let _0x5aac7e=0x0;_0x5aac7e<_0x1ab5cc;_0x5aac7e++){const _0x4353b2={...(_0x151e80=(_0x3b2985=_0x287126[_0x203048(0x1b2)])==null?void 0x0:_0x3b2985[_0x5c6431])==null?void 0x0:_0x151e80[_0x5aac7e]};_0x4353b2&&((_0x114e5a=_0x4c4b86[_0x203048(0x36c)][_0x5aac7e])!=null&&_0x114e5a[_0x203048(0x395)])&&_0x5aac7e===_0x1ab5cc-0x1&&_0x5c6431===_0x51fb69-0x1&&(_0x4353b2['v']=''+_0x390086[_0x203048(0x318)]),_0xe11713[_0x203048(0x3eb)](_0x5c6431+_0x559c2c,_0x5aac7e+_0x2473a3,st(_0x4353b2));}_0x2473a3+=_0x1ab5cc;const _0x1e8a13=_0x2c2f6a[_0x203048(0x36c)],_0x5477ab=_0x2c2f6a[_0x203048(0x40a)]()>=0x0?_0x2c2f6a['getLastRow']()+0x1:0x0,_0x4798d6=_0x2c2f6a[_0x203048(0x312)]()>=0x0?_0x2c2f6a['getLastCol']()+0x1:0x0;for(let _0x3407b7=0x0;_0x3407b7<_0x4798d6;_0x3407b7++)for(let _0x524c1b=0x0;_0x524c1b<_0x5477ab;_0x524c1b++){const _0x542b02={...(_0x228ce3=(_0x12d589=_0x2c2f6a['data'])==null?void 0x0:_0x12d589[_0x3407b7])==null?void 0x0:_0x228ce3[_0x524c1b]},_0x48f196=(_0x3e3026=_0x1e8a13[_0x3407b7])==null?void 0x0:_0x3e3026[_0x203048(0x328)],_0x3da655=_0x47f5fa[_0x48f196];_0x542b02&&(_0x542b02['v']=ht(_0x542b02,_0x3407b7===0x0&&((_0x275333=_0x2c2f6a[_0x203048(0x287)](_0x524c1b+0x1))==null?void 0x0:_0x275333['isValue']),_0x3da655,_0x390086)),_0xe11713[_0x203048(0x3eb)](_0x3407b7+_0x559c2c,_0x524c1b+_0x2473a3,st(_0x542b02));}_0x559c2c+=_0x51fb69;const _0x4b069d=_0x4c4b86[_0x203048(0x36c)],_0x3f70e2=_0x4c4b86['getLastRow']()>=0x0?_0x4c4b86[_0x203048(0x40a)]()+0x1:0x0,_0x2aa9e2=_0x4c4b86[_0x203048(0x312)]()>=0x0?_0x4c4b86['getLastCol']()+0x1:0x0;for(let _0x34cea2=0x0;_0x34cea2<_0x3f70e2;_0x34cea2++)for(let _0x306b0a=0x0;_0x306b0a<_0x2aa9e2;_0x306b0a++){const _0x3b3920={...(_0x41201e=(_0x1d10eb=_0x4c4b86[_0x203048(0x1b2)])==null?void 0x0:_0x1d10eb[_0x34cea2])==null?void 0x0:_0x41201e[_0x306b0a]},_0x8aff9e=(_0x205e99=_0x4b069d[_0x306b0a])==null?void 0x0:_0x205e99[_0x203048(0x328)],_0x119ed0=_0x47f5fa[_0x8aff9e];_0x3b3920&&(_0x3b3920['v']=ht(_0x3b3920,!0x1,_0x119ed0,_0x390086)),_0xe11713[_0x203048(0x3eb)](_0x34cea2+_0x559c2c,_0x306b0a+_0x190df9,st(_0x3b3920));}const _0x57b8f0=_0x401b0c['getRowCount'](),_0x5231fa=_0x401b0c[_0x203048(0x26d)]();for(let _0x4b7b55=0x0;_0x4b7b55<_0x57b8f0;_0x4b7b55++)for(let _0x4ca27c=0x0;_0x4ca27c<_0x5231fa;_0x4ca27c++){const _0x3cd406={...(_0x19b4cd=(_0x1b8acb=_0x401b0c[_0x203048(0x1b2)])==null?void 0x0:_0x1b8acb[_0x4b7b55])==null?void 0x0:_0x19b4cd[_0x4ca27c]};_0xe11713[_0x203048(0x3eb)](_0x4b7b55+_0x559c2c,_0x4ca27c+_0x2473a3,st(_0x3cd406));}return _0xe11713;},Di=_0x42f6fb=>{const _0x445d3d=_0x3c024c,{view:_0xd2d96e,targetCellInfo:_0x1575db,isEmpty:_0x5a86ae,textInfo:_0x589834}=_0x42f6fb;if(_0x5a86ae)return Ri(_0x42f6fb);const {pageView:_0x3e4b0a,cornerView:_0x3429e5,rowView:_0xaf07fc,colView:_0x3125ba,dataView:_0x44bc09}=_0xd2d96e,_0xba42b=ge(_0x1575db,_0x3e4b0a,!0x0),_0x413b10=_0x3e4b0a[_0x445d3d(0x315)]>=0x0?_0x3e4b0a[_0x445d3d(0x315)]+0x1:0x0,_0x26036f=_0x3429e5[_0x445d3d(0x2f5)](),_0x2d8bdb=_0x3429e5[_0x445d3d(0x26d)](),_0x151715=_0xba42b[_0x445d3d(0x230)]>0x0?It:0x0,_0x23494b=ge({'row':_0x1575db['row']+_0x413b10+_0x151715,'col':_0x1575db[_0x445d3d(0x3f1)]},_0x3429e5,!0x1,!0x1),_0x24c1b4=ge({'row':_0x1575db[_0x445d3d(0x246)]+_0x413b10+_0x151715+_0x26036f,'col':_0x1575db[_0x445d3d(0x3f1)]},_0xaf07fc,!0x1,!0x0),_0x49367b=ge({'row':_0x1575db[_0x445d3d(0x246)]+_0x413b10+_0x151715,'col':_0x1575db['col']+_0x2d8bdb},_0x3125ba,!0x1,!0x0),_0x1b324c=ge({'row':_0x1575db[_0x445d3d(0x246)]+_0x413b10+_0x151715+_0x26036f,'col':_0x1575db[_0x445d3d(0x3f1)]+_0x2d8bdb},_0x44bc09,!0x1,!0x1),_0x254511={'rowRanges':_0x24c1b4,'colRanges':_0x49367b,'cornerRanges':_0x23494b,'dataRanges':_0x1b324c,'pageRanges':_0xba42b};return{'matrix':Fi(_0xd2d96e,_0x1575db,_0x589834),'rangesCache':_0x254511};};var Ni=Object['getOwnPropertyDescriptor'],Ui=(_0x42f7c7,_0x27e7e4,_0x5c35d8,_0x5826ab)=>{for(var _0x2dcbe1=_0x5826ab>0x1?void 0x0:_0x5826ab?Ni(_0x27e7e4,_0x5c35d8):_0x27e7e4,_0x5ba524=_0x42f7c7['length']-0x1,_0x58bf0d;_0x5ba524>=0x0;_0x5ba524--)(_0x58bf0d=_0x42f7c7[_0x5ba524])&&(_0x2dcbe1=_0x58bf0d(_0x2dcbe1)||_0x2dcbe1);return _0x2dcbe1;},Ke=(_0x3918d7,_0x129616)=>(_0x23e44a,_0x556d13)=>_0x129616(_0x23e44a,_0x556d13,_0x3918d7);let $=class extends _0x2a4487{constructor(_0x470b08,_0x5ccd48,_0x3b0acf,_0x5e2b50,_0x115fae,_0xcf1a43){const _0x122544=_0x3c024c;super(),V(this,_0x122544(0x36b),new Map()),V(this,'_pivotTableInstanceCache',new Map()),V(this,'_viewData',new Map()),V(this,'_textInfo'),V(this,_0x122544(0x3d7),new _0x1b87b1()),V(this,_0x122544(0x205),this[_0x122544(0x3d7)][_0x122544(0x348)]()),V(this,'_viewData$',new _0x1b87b1()),V(this,_0x122544(0x3af),this['_viewData$'][_0x122544(0x348)]()),V(this,_0x122544(0x33e),new _0x1b87b1()),V(this,_0x122544(0x2d4),this[_0x122544(0x33e)]['asObservable']()),V(this,'_dataFieldManagerCollection',new Map()),V(this,_0x122544(0x22f),[]),V(this,'_queryingMap',new Map()),(this[_0x122544(0x1ff)]=_0x470b08,this[_0x122544(0x1d0)]=_0x5ccd48,this[_0x122544(0x2c7)]=_0x3b0acf,this[_0x122544(0x379)]=_0x5e2b50,this[_0x122544(0x1f9)]=_0x115fae,this['_resourceManagerService']=_0xcf1a43,this['_initSnapshot']());}[_0x3c024c(0x221)](){const _0x1c2009=_0x3c024c;return this[_0x1c2009(0x23a)]?this[_0x1c2009(0x23a)]:yi;}['setTextInfo'](_0x4190f5){const _0x2f1f43=_0x3c024c;this[_0x2f1f43(0x23a)]=_0x4190f5;}[_0x3c024c(0x33c)](_0x4a72f9){const _0x278c47=_0x3c024c;var _0x206a60;const {from:_0x4de2f6,to:_0xa2c945,unitId:_0x190c4f,fromRange:_0x5850cd,toRange:_0x3be640}=_0x4a72f9;if(_0x4de2f6&&_0xa2c945){const _0x252d05=this[_0x278c47(0x41d)](_0x190c4f),_0x23e8ff=this['_model']['get'](_0x190c4f),_0x16ce7f=(_0x206a60=this[_0x278c47(0x1d0)][_0x278c47(0x2a6)](_0x190c4f))==null?void 0x0:_0x206a60[_0x278c47(0x393)](_0xa2c945[_0x278c47(0x1e9)]);if(!_0x23e8ff||!_0x16ce7f)return;const _0x534c05=_0x16ce7f==null?void 0x0:_0x16ce7f[_0x278c47(0x36e)]();for(const [_0x3aa8bd,_0x43eeda]of _0x23e8ff[_0x278c47(0x3e5)]())for(const [_0x22246c,_0x52f6a4]of _0x43eeda[_0x278c47(0x3e5)]()){const {sourceRangeInfo:_0x39069d}=_0x52f6a4;if(_0x39069d['unitId']===_0x190c4f&&_0x39069d['subUnitId']===_0x4de2f6[_0x278c47(0x1e9)]&&_0x20db5c[_0x278c47(0x3a3)](_0x5850cd,_0x39069d['range'])){const _0x2d6fed={'row':_0x39069d['range'][_0x278c47(0x1ed)]-_0x5850cd[_0x278c47(0x1ed)],'col':_0x39069d[_0x278c47(0x264)]['startColumn']-_0x5850cd['startColumn']},_0x159b9b={'unitId':_0x190c4f,'subUnitId':_0xa2c945[_0x278c47(0x1e9)],'sheetName':_0x534c05,'range':{'startRow':_0x3be640[_0x278c47(0x1ed)]+_0x2d6fed[_0x278c47(0x246)],'endRow':_0x3be640[_0x278c47(0x1ed)]+_0x2d6fed[_0x278c47(0x246)]+_0x39069d[_0x278c47(0x264)][_0x278c47(0x365)]-_0x39069d[_0x278c47(0x264)][_0x278c47(0x1ed)],'startColumn':_0x3be640['startColumn']+_0x2d6fed['col'],'endColumn':_0x3be640[_0x278c47(0x210)]+_0x2d6fed[_0x278c47(0x3f1)]+_0x39069d['range'][_0x278c47(0x2e6)]-_0x39069d[_0x278c47(0x264)][_0x278c47(0x210)]}};_0x252d05[_0x278c47(0x33c)](_0x22246c,_0x159b9b);const _0x563d8c={..._0x52f6a4,'sourceRangeInfo':_0x159b9b};this[_0x278c47(0x1ce)](_0x190c4f,_0xa2c945['subUnitId'],_0x22246c,_0x563d8c),this[_0x278c47(0x33b)]({'unitId':_0x190c4f,'token':_0x22246c,'type':ke[_0x278c47(0x244)],'oldSourceRangeInfo':_0x39069d,'dataRangeInfo':_0x159b9b,'targetCellInfo':_0x52f6a4['targetCellInfo']}),this[_0x278c47(0x343)]({'unitId':_0x190c4f,'subUnitId':_0xa2c945['subUnitId'],'oldSubUnitId':_0x3aa8bd,'pivotTableId':_0x22246c,'pivotTableConfig':_0x563d8c,'collectionConfig':_0x252d05[_0x278c47(0x1ba)]()});}}}}[_0x3c024c(0x33b)](_0x2d109b){const _0x433758=_0x3c024c;this['_collectionChange$'][_0x433758(0x2e0)](_0x2d109b);}[_0x3c024c(0x41d)](_0x506241){const _0x53a683=_0x3c024c;let _0x36a4e2=this['_dataFieldManagerCollection'][_0x53a683(0x2ec)](_0x506241);return _0x36a4e2||(_0x36a4e2=new _i(this,this[_0x53a683(0x1d0)]),this[_0x53a683(0x402)][_0x53a683(0x1a6)](_0x506241,_0x36a4e2)),_0x36a4e2;}[_0x3c024c(0x1f5)](_0x5ccf96,_0x3e5dbb){const _0x45f709=_0x3c024c;return this[_0x45f709(0x41d)](_0x5ccf96)[_0x45f709(0x1fa)][_0x3e5dbb];}[_0x3c024c(0x41e)](_0x49629b,_0x571033,_0xfd6335){const _0x3ff394=_0x3c024c;return this['getDataFieldManager'](_0x49629b)[_0x3ff394(0x41e)](_0x571033,_0xfd6335);}[_0x3c024c(0x310)](_0x57368b,_0x408f15){const _0x5b085f=_0x3c024c;let _0x2a7f50=this[_0x5b085f(0x36b)][_0x5b085f(0x2ec)](_0x57368b);_0x2a7f50||(_0x2a7f50=new Map(),this[_0x5b085f(0x36b)][_0x5b085f(0x1a6)](_0x57368b,_0x2a7f50));let _0x532f9f=_0x2a7f50['get'](_0x408f15);return _0x532f9f||(_0x532f9f=new Map(),_0x2a7f50[_0x5b085f(0x1a6)](_0x408f15,_0x532f9f)),_0x532f9f;}[_0x3c024c(0x1ce)](_0x529c08,_0xf8ef82,_0x4fd74b,_0x26f0a9){this['_ensurePivotMap'](_0x529c08,_0xf8ef82)['set'](_0x4fd74b,_0x26f0a9);}[_0x3c024c(0x40d)](_0xbb583f,_0x142705,_0x1bd725){const _0xaf456c=_0x3c024c;var _0x3a3822,_0x248cc7,_0x41181b,_0x10f02d;((_0x248cc7=(_0x3a3822=this[_0xaf456c(0x36b)]['get'](_0xbb583f))==null?void 0x0:_0x3a3822[_0xaf456c(0x2ec)](_0x142705))==null?void 0x0:_0x248cc7[_0xaf456c(0x2ec)](_0x1bd725))&&((_0x10f02d=(_0x41181b=this['_model'][_0xaf456c(0x2ec)](_0xbb583f))==null?void 0x0:_0x41181b['get'](_0x142705))==null||_0x10f02d[_0xaf456c(0x1b3)](_0x1bd725));}['_updatePivotTableInstanceCache'](_0x41cc05,_0x313644){const _0x22e93d=_0x3c024c;this[_0x22e93d(0x227)][_0x22e93d(0x1a6)](_0x41cc05,_0x313644);}[_0x3c024c(0x419)](_0x151758){this['_pivotTableInstanceCache']['delete'](_0x151758);}[_0x3c024c(0x3a7)](_0x19e0ef,_0x45cdaa){const _0x8195b4=_0x3c024c;let _0x40ac25=this['_viewData'][_0x8195b4(0x2ec)](_0x19e0ef);_0x40ac25||(_0x40ac25=new Map(),this['_viewData'][_0x8195b4(0x1a6)](_0x19e0ef,_0x40ac25));let _0xfad027=_0x40ac25[_0x8195b4(0x2ec)](_0x45cdaa);return _0xfad027||(_0xfad027=new Map(),_0x40ac25[_0x8195b4(0x1a6)](_0x45cdaa,_0xfad027)),_0xfad027;}[_0x3c024c(0x343)](_0x2afbd5){const _0x8b683f=_0x3c024c,{unitId:_0x1159f7,subUnitId:_0x40eeea,pivotTableId:_0x4c092e,pivotTableConfig:_0x4e0c3a,collectionConfig:_0x31fc6b}=_0x2afbd5,_0x319156={'unitId':_0x1159f7,'subUnitId':_0x40eeea,'oldSubUnitId':_0x40eeea,'pivotTableId':_0x4c092e,'pivotTableConfig':_0x4e0c3a,'collectionConfig':_0x31fc6b};this[_0x8b683f(0x1f9)][_0x8b683f(0x3a4)](co['id'],_0x319156,{'onlyLocal':!0x0});}[_0x3c024c(0x24e)](_0x59130e,_0x1e66a9,_0x1a1219,_0x3a6ec5,_0x108fbf,_0x38bbad,_0x3bcdae,_0x55145e=!0x1){const _0x4e346b=_0x3c024c;var _0x152629;this['_commandService'][_0x4e346b(0x3a4)](Dt['id'],{'single':{'unitId':_0x59130e,'subUnitId':_0x1e66a9,'type':_0x1a1219,'pivotTableId':_0x3a6ec5,'view':_0x108fbf,'pivotConfig':_0x38bbad},'collectionConfig':{[_0x59130e]:_0x3bcdae}},{'onlyLocal':!0x0});const _0x18be4f=!!((_0x152629=this['getPivotTableInstance'](_0x3a6ec5))!=null&&_0x152629[_0x4e346b(0x201)]()),_0x403f28=this[_0x4e346b(0x2e7)](_0x59130e,_0x1e66a9,_0x3a6ec5);_0x403f28&&this[_0x4e346b(0x2cb)]({'view':_0x108fbf,'pivotTableId':_0x3a6ec5,'textInfo':this[_0x4e346b(0x221)](),'isEmpty':_0x18be4f,'targetCellInfo':_0x403f28['targetCellInfo']},_0x55145e);}[_0x3c024c(0x2cb)](_0x18139e,_0xa057bc){const _0x5406d4=_0x3c024c,{targetCellInfo:_0x45dd0f,pivotTableId:_0x3d29d9}=_0x18139e,{unitId:_0x25bce6,subUnitId:_0x5f51aa}=_0x45dd0f,_0x1d18ac=this['_ensureViewDataMap'](_0x25bce6,_0x5f51aa),_0x5b569d=_0x1d18ac[_0x5406d4(0x2ec)](_0x3d29d9);let _0x3b85c0,_0x4c360d;_0x5b569d&&(_0x3b85c0=_0x5b569d[_0x5406d4(0x2f3)],_0x4c360d=_0x5b569d[_0x5406d4(0x21e)]);const {rangesCache:_0x46b818,matrix:_0x446a2e}=Di(_0x18139e);_0x1d18ac['set'](_0x3d29d9,{'rangeCache':_0x46b818,'matrix':_0x446a2e,'oldMatrix':_0x4c360d,'oldRangeCache':_0x3b85c0}),_0xa057bc||this['_viewData$'][_0x5406d4(0x2e0)]({'unitId':_0x25bce6,'subUnitId':_0x5f51aa,'pivotTableId':_0x3d29d9});}[_0x3c024c(0x1cc)](_0x1c3e3e,_0x545480,_0x4d516f,_0xa2c908,_0x3853df){const _0x5fb90b=_0x3c024c;this[_0x5fb90b(0x1ce)](_0x1c3e3e,_0x545480,_0x4d516f,_0x3853df),this['_updatePivotTableInstanceCache'](_0x4d516f,_0xa2c908);}[_0x3c024c(0x39d)](_0x2dc705,_0x9ca61f,_0x38655e){const _0xccc37d=_0x3c024c,_0x195962=this['getDataFieldManager'](_0x2dc705);_0x195962[_0xccc37d(0x314)](_0x38655e)[_0xccc37d(0x206)](_0x1aab2a=>{const _0x58d19c=_0xccc37d;_0x195962[_0x58d19c(0x2d6)](_0x1aab2a);}),this[_0xccc37d(0x262)](_0x2dc705,_0x38655e),this[_0xccc37d(0x40d)](_0x2dc705,_0x9ca61f,_0x38655e),this[_0xccc37d(0x419)](_0x38655e);}['setPivotTable'](_0x2535d7,_0x583bde,_0x419eb3,_0x8fed43){const _0x17dd13=_0x3c024c;this[_0x17dd13(0x1ce)](_0x2535d7,_0x583bde,_0x419eb3,_0x8fed43);}[_0x3c024c(0x2e7)](_0x496ed9,_0x3c10a9,_0x267a76){const _0x48aeda=_0x3c024c;var _0x906527,_0x5bdf1a;const _0x54fa4d=(_0x5bdf1a=(_0x906527=this['_model'][_0x48aeda(0x2ec)](_0x496ed9))==null?void 0x0:_0x906527['get'](_0x3c10a9))==null?void 0x0:_0x5bdf1a[_0x48aeda(0x2ec)](_0x267a76);if(_0x54fa4d)return _0x54fa4d;}[_0x3c024c(0x1d2)](_0x4b4f4f,_0x392048,_0x5cccdc){const _0x2ae437=_0x3c024c;var _0x5aa05a,_0x69d3e8;const _0x155a9c=(_0x69d3e8=(_0x5aa05a=this[_0x2ae437(0x36b)][_0x2ae437(0x2ec)](_0x4b4f4f))==null?void 0x0:_0x5aa05a['get'](_0x392048))==null?void 0x0:_0x69d3e8[_0x2ae437(0x2ec)](_0x5cccdc);if(_0x155a9c)return _0x155a9c['fieldsConfig'];}[_0x3c024c(0x266)](_0x5a7af8){const _0x3436e7=_0x3c024c;return this[_0x3436e7(0x227)][_0x3436e7(0x2ec)](_0x5a7af8);}[_0x3c024c(0x1fc)](_0x21e9cf){const _0x2ffd18=_0x3c024c;this[_0x2ffd18(0x36b)][_0x2ffd18(0x1b3)](_0x21e9cf);const _0xce92a0=this[_0x2ffd18(0x402)][_0x2ffd18(0x2ec)](_0x21e9cf);_0xce92a0&&(_0xce92a0['dispose'](),this[_0x2ffd18(0x402)][_0x2ffd18(0x1b3)](_0x21e9cf)),this[_0x2ffd18(0x22c)][_0x2ffd18(0x1b3)](_0x21e9cf),this['needSameDeleteModel'][_0x2ffd18(0x206)](_0x48bf52=>{const _0x22335d=_0x2ffd18;_0x48bf52[_0x22335d(0x1fc)](_0x21e9cf);});}[_0x3c024c(0x23e)](_0x116aec,_0x3a0778,_0x391870,_0x40c3a3){const _0x595b91=_0x3c024c;return this['getDataFieldManager'](_0x391870[_0x595b91(0x2ca)])[_0x595b91(0x23e)](_0x116aec,_0x3a0778,_0x391870,_0x40c3a3);}['createCollectionWithDataRange'](_0x599cd3){const _0x17486d=_0x3c024c;return this[_0x17486d(0x41d)](_0x599cd3[_0x17486d(0x2ca)])[_0x17486d(0x2db)](_0x599cd3);}[_0x3c024c(0x2f2)](_0x2e35c4,_0x579e49,_0x35ebab){const _0xf75de3=_0x3c024c;this[_0xf75de3(0x41d)](_0x35ebab[_0xf75de3(0x2ca)])[_0xf75de3(0x2f2)](_0x2e35c4,_0x579e49,_0x35ebab);}[_0x3c024c(0x3b3)](_0x5f1569,_0xfcd740){const _0x240f9a=_0x3c024c;this[_0x240f9a(0x41d)](_0x5f1569)[_0x240f9a(0x2d6)](_0xfcd740);}[_0x3c024c(0x262)](_0x390a8a,_0x587073){const _0x5615b7=_0x3c024c;this[_0x5615b7(0x41d)](_0x390a8a)['removeCollectionImp'](_0x587073);}[_0x3c024c(0x344)](_0x3372db,_0x30d8c5){const _0x204c3e=_0x3c024c;var _0x2ae6e2;return(_0x2ae6e2=this[_0x204c3e(0x36b)][_0x204c3e(0x2ec)](_0x3372db))==null?void 0x0:_0x2ae6e2['get'](_0x30d8c5);}[_0x3c024c(0x27a)](_0x2edf70){const _0xe50f37=_0x3c024c;for(const [_0x2db477,_0x10d087]of this['_model'][_0xe50f37(0x3e5)]())for(const [_0x5b644a,_0x2ea215]of _0x10d087[_0xe50f37(0x3e5)]())if(_0x2ea215[_0xe50f37(0x338)](_0x2edf70))return{'unitId':_0x2db477,'subUnitId':_0x5b644a};return null;}[_0x3c024c(0x405)](_0xb2d009,_0xcd0eb0,_0x562dc9,_0x578cc1){const _0x183a30=_0x3c024c,_0x2f23bd=this[_0x183a30(0x3a7)](_0xb2d009,_0xcd0eb0);_0x578cc1?_0x2f23bd['set'](_0x562dc9,_0x578cc1):_0x2f23bd[_0x183a30(0x1b3)](_0x562dc9),this[_0x183a30(0x41a)][_0x183a30(0x2e0)]({'unitId':_0xb2d009,'subUnitId':_0xcd0eb0,'pivotTableId':_0x562dc9});}[_0x3c024c(0x1d7)](){const _0x54277c=_0x3c024c;super[_0x54277c(0x1d7)]();}['getViewData'](_0x3d1ea5,_0x15b2b8,_0x2e2d69){const _0x51ad59=_0x3c024c;var _0x536626,_0x38ee82;const _0x3e71d3=(_0x38ee82=(_0x536626=this[_0x51ad59(0x22c)]['get'](_0x3d1ea5))==null?void 0x0:_0x536626[_0x51ad59(0x2ec)](_0x15b2b8))==null?void 0x0:_0x38ee82[_0x51ad59(0x2ec)](_0x2e2d69);return _0x3e71d3||null;}[_0x3c024c(0x3ab)](_0x5d668a){const _0x3bc711=_0x3c024c;this[_0x3bc711(0x231)](_0x5d668a);}['updateDirtyPivotTable'](_0x52a566){const _0x4f7e45=_0x3c024c,{token:_0x3ddd74,unitId:_0x861518,subUnitId:_0xf6c534}=_0x52a566,_0x3cec14=_0x861518+'-'+_0xf6c534+'-'+_0x3ddd74;this[_0x4f7e45(0x3c4)][_0x4f7e45(0x2ec)](_0x3cec14)&&clearTimeout(this['_queryingMap'][_0x4f7e45(0x2ec)](_0x3cec14));const _0x3b27e7=setTimeout(()=>{const _0x4cedc2=_0x4f7e45;this[_0x4cedc2(0x37b)](_0x52a566),this['_queryingMap'][_0x4cedc2(0x1b3)](_0x3cec14);},Pi);this[_0x4f7e45(0x3c4)][_0x4f7e45(0x1a6)](_0x3cec14,_0x3b27e7);}['queryDirtyPivotTable'](_0x45fc44){const _0x49da0d=_0x3c024c,{unitId:_0x5a6710,subUnitId:_0x22bacd,token:_0x3c0668,type:_0xc32088,pivotConfig:_0x1dca41}=_0x45fc44,_0x13ace8=this[_0x49da0d(0x266)](_0x3c0668),_0x1a7d2a=_0x13ace8==null?void 0x0:_0x13ace8[_0x49da0d(0x26f)](),_0x1adc83=_0x1dca41!=null?_0x1dca41:this[_0x49da0d(0x2e7)](_0x5a6710,_0x22bacd,_0x3c0668);_0x1adc83&&(_0x1adc83['isEmpty']=!!(_0x13ace8!=null&&_0x13ace8[_0x49da0d(0x201)]())),(_0x1a7d2a||_0xc32088===L['Delete'])&&this[_0x49da0d(0x24e)](_0x5a6710,_0x22bacd,_0xc32088,_0x3c0668,_0x1a7d2a,_0x1adc83,this[_0x49da0d(0x41d)](_0x5a6710)[_0x49da0d(0x1ba)]());}[_0x3c024c(0x1ba)](_0x3db893){const _0x48bea2=_0x3c024c,_0x3e17e1={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x48bea2(0x41d)](_0x3db893)&&(_0x3e17e1['dataFieldManagerConfig'][_0x3db893]=this[_0x48bea2(0x41d)](_0x3db893)[_0x48bea2(0x1ba)]()),this[_0x48bea2(0x36b)][_0x48bea2(0x2ec)](_0x3db893)){_0x3e17e1['pivotTableConfigs'][_0x3db893]={};const _0x1c94cc=this[_0x48bea2(0x36b)][_0x48bea2(0x2ec)](_0x3db893);_0x1c94cc!=null&&_0x1c94cc[_0x48bea2(0x37a)]&&[..._0x1c94cc[_0x48bea2(0x2c1)]()][_0x48bea2(0x206)](_0x19269a=>{const _0x646194=_0x48bea2,_0x23a2b9=_0x1c94cc[_0x646194(0x2ec)](_0x19269a);_0x23a2b9!=null&&_0x23a2b9[_0x646194(0x37a)]&&(_0x3e17e1['pivotTableConfigs'][_0x3db893][_0x19269a]={},[..._0x23a2b9['keys']()][_0x646194(0x206)](_0x4172a3=>{const _0x5f23ed=_0x646194,_0x17d994=_0x23a2b9[_0x5f23ed(0x2ec)](_0x4172a3);_0x17d994&&(_0x3e17e1[_0x5f23ed(0x413)][_0x3db893][_0x19269a][_0x4172a3]=_0x17d994);}));});}return _0x3e17e1;}[_0x3c024c(0x352)](_0x312d83){const _0x398435=_0x3c024c;var _0x1060fb;const {dataFieldManagerConfig:_0x19dd63,pivotTableConfigs:_0x44b719}=_0x312d83;_0x19dd63&&Object[_0x398435(0x2c1)](_0x19dd63)[_0x398435(0x206)](_0x29bd8b=>{this['getDataFieldManager'](_0x29bd8b)['fromJSON'](_0x19dd63[_0x29bd8b]);});const _0x5bf6a7=[];if(_0x44b719){const _0x3f86ad=(_0x1060fb=this[_0x398435(0x1ff)]['get'](_0x4ca711)['getConfig'](_0x4a8724))!=null?_0x1060fb:{},{ls:_0x50b573,pbk:_0x207cd6}=_0x3f86ad,_0x119ab9=go(so,_0x50b573,_0x207cd6)['count'];Object[_0x398435(0x2c1)](_0x44b719)[_0x398435(0x206)](_0x236f0b=>{const _0xb6243c=_0x398435;let _0x1c8874=0x0;const _0x446284=_0x44b719[_0x236f0b];Object[_0xb6243c(0x2c1)](_0x446284)['forEach'](_0x443029=>{const _0x438969=_0xb6243c,_0x4d170f=_0x446284[_0x443029];Object[_0x438969(0x2c1)](_0x4d170f)[_0x438969(0x206)](_0x357ac3=>{const _0x13cfcd=_0x438969,_0x7406e=_0x4d170f[_0x357ac3];if(_0x7406e){if(_0x1c8874>=_0x119ab9)return;_0x1c8874++;const _0x3aa790=this[_0x13cfcd(0x41d)](_0x236f0b),_0x174782=_0x3aa790[_0x13cfcd(0x1fa)][_0x357ac3],_0x369660=_0x174782['getFieldIds']();let _0x176ca6=0x0;const _0x21325a=[];for(const _0x8a59b4 of _0x369660){const _0x176008=_0x174782['getFieldById'](_0x8a59b4);if(_0x1e169d(_0x176008)){const _0x1dd27b=_0x176008[_0x13cfcd(0x3e7)](),_0x80b81=_0x174782[_0x13cfcd(0x37e)](_0x1dd27b);_0x80b81&&_0x21325a[_0x13cfcd(0x28a)]([_0x176008,_0x80b81]);continue;}_0x3aa790[_0x13cfcd(0x2ce)](_0x8a59b4,_0x7406e['sourceRangeInfo'],_0x176ca6),_0x176ca6++;}_0x21325a[_0x13cfcd(0x206)](([_0x4c124f,_0x48f2fb])=>{const _0x32d805=_0x13cfcd;_0x4c124f[_0x32d805(0x3a5)](_0x48f2fb);});const _0x6e5c6d=new _0x4e9a78(_0x174782);_0x6e5c6d['fromJSON'](_0x7406e[_0x13cfcd(0x2c4)]),this['addPivotTable'](_0x236f0b,_0x443029,_0x357ac3,_0x6e5c6d,_0x7406e);const _0x2d9949=_0x6e5c6d[_0x13cfcd(0x26f)]();_0x5bf6a7[_0x13cfcd(0x28a)]({'unitId':_0x236f0b,'subUnitId':_0x443029,'pivotTableId':_0x357ac3,'view':_0x2d9949['toJSON'](),'pivotConfig':_0x7406e,'type':L[_0x13cfcd(0x2a8)]});const _0x23a0b4=!!_0x6e5c6d['isEmpty'](),_0x317e05={'view':_0x2d9949,'pivotTableId':_0x357ac3,'textInfo':this[_0x13cfcd(0x221)](),'isEmpty':_0x23a0b4,'targetCellInfo':_0x7406e[_0x13cfcd(0x2a0)]};this['updateViewData'](_0x317e05,!0x1);}});});});}_0x19dd63&&Object[_0x398435(0x2c1)](_0x19dd63)[_0x398435(0x206)](_0x179d6d=>{const _0x12bc78=_0x398435,_0x55c4cc=this[_0x12bc78(0x41d)](_0x179d6d);this[_0x12bc78(0x33e)]['next'](_0x55c4cc['collections']);}),this[_0x398435(0x1f9)][_0x398435(0x3a4)](Dt['id'],{'batch':_0x5bf6a7,'collectionConfig':_0x19dd63},{'onlyLocal':!0x0});}[_0x3c024c(0x3c1)](){const _0x207d63=_0x3c024c;this[_0x207d63(0x1da)](this['_resourceManagerService'][_0x207d63(0x268)]({'toJson':_0x61e79c=>JSON[_0x207d63(0x2c2)](this[_0x207d63(0x1ba)](_0x61e79c)),'parseJson':_0x1f1c00=>{const _0x4e40ce=_0x207d63;if(!_0x1f1c00)return{};try{return JSON[_0x4e40ce(0x406)](_0x1f1c00);}catch{return{};}},'businesses':[_0x4d97b9['UNIVER_SHEET']],'pluginName':ao,'onLoad':(_0x486dbb,_0x483cb9)=>{const _0x5222ce=_0x207d63;this[_0x5222ce(0x352)](_0x483cb9);},'onUnLoad':_0x2a6517=>{this['deleteUnitId'](_0x2a6517);}}));}};$=Ui([Ke(0x0,_0x33ce5d(_0x3a9c68)),Ke(0x1,_0x21c6a9),Ke(0x2,_0x33ce5d(_0x4056c5)),Ke(0x3,_0x4ca711),Ke(0x4,_0xdba7c),Ke(0x5,_0x33ce5d(_0x5e6af2))],$);const Vi={0x0:{0x0:{'v':_0x3c024c(0x1aa),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x3c024c(0x367),'s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x8:{0x0:{'v':_0x3c024c(0x246),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'values','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},kt={'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':[]},Wo=(_0x2dcc18,_0x207d97)=>{const _0xa66e41=_0x3c024c,_0x5ea473=new _0x26fd20(),_0x43726f=new _0x26fd20(Vi),{row:_0x4f9799,col:_0x297bb5}=_0x207d97;_0x43726f[_0xa66e41(0x2ba)]((_0x47a934,_0x25aae2,_0x22d6ec)=>{const _0x1d29b6=_0xa66e41;let _0x3e1edc='';_0x22d6ec['v']===_0x1d29b6(0x1aa)?_0x3e1edc=_0x2dcc18[_0x1d29b6(0x1aa)]:_0x22d6ec['v']===_0x1d29b6(0x246)?_0x3e1edc=_0x2dcc18['row']:_0x22d6ec['v']===_0x1d29b6(0x367)?_0x3e1edc=_0x2dcc18[_0x1d29b6(0x367)]:_0x22d6ec['v']===_0x1d29b6(0x41f)&&(_0x3e1edc=_0x2dcc18['values']),_0x5ea473[_0x1d29b6(0x3eb)](_0x47a934+_0x4f9799,_0x25aae2+_0x297bb5,{..._0x22d6ec,'v':_0x3e1edc});});const _0x401bb6=_0x21dda6[_0xa66e41(0x220)](kt);return Object[_0xa66e41(0x2c1)](kt)['forEach'](_0x3c7f96=>{const _0x2e9fc7=_0xa66e41;_0x401bb6[_0x3c7f96]=kt[_0x3c7f96][_0x2e9fc7(0x29e)](_0x53050d=>({..._0x53050d,'startRow':_0x53050d[_0x2e9fc7(0x1ed)]+_0x4f9799,'endRow':_0x53050d[_0x2e9fc7(0x365)]+_0x4f9799,'startColumn':_0x53050d['startColumn']+_0x297bb5,'endColumn':_0x53050d['endColumn']+_0x297bb5}));}),{'matrixCache':_0x5ea473,'rangesCache':_0x401bb6};};function Oi(_0x5d8f69,_0x5d2d96){const _0x37371e=_0x3c024c;let _0x507872='';const _0x1dfb9c=this['getTextInfo']();switch(_0x5d2d96){case _0x2228cd[_0x37371e(0x3fa)]:_0x507872=_0x1dfb9c[_0x37371e(0x415)]+_0x5d8f69;break;case _0x2228cd[_0x37371e(0x30d)]:_0x507872=_0x1dfb9c[_0x37371e(0x3c9)]+_0x5d8f69;break;case _0x2228cd[_0x37371e(0x35c)]:_0x507872=_0x1dfb9c[_0x37371e(0x3d9)]+_0x5d8f69;break;case _0x2228cd['max']:_0x507872=_0x1dfb9c[_0x37371e(0x259)]+_0x5d8f69;break;case _0x2228cd[_0x37371e(0x3da)]:_0x507872=_0x1dfb9c[_0x37371e(0x370)]+_0x5d8f69;break;case _0x2228cd[_0x37371e(0x27b)]:_0x507872=_0x1dfb9c['sheets-pivot.productName']+_0x5d8f69;break;case _0x2228cd[_0x37371e(0x2dc)]:_0x507872=_0x1dfb9c['sheets-pivot.stdDevName']+_0x5d8f69;break;case _0x2228cd['stdDevp']:_0x507872=_0x1dfb9c[_0x37371e(0x2ab)]+_0x5d8f69;break;case _0x2228cd[_0x37371e(0x242)]:_0x507872=_0x1dfb9c[_0x37371e(0x258)]+_0x5d8f69;break;case _0x2228cd[_0x37371e(0x35b)]:_0x507872=_0x1dfb9c[_0x37371e(0x3b7)]+_0x5d8f69;break;case _0x2228cd['varp']:_0x507872=_0x1dfb9c[_0x37371e(0x2fa)]+_0x5d8f69;break;default:_0x507872=_0x5d8f69;break;}return _0x507872;}function Ei(_0xac8f2c,_0x2bebaf,_0x67552e,_0x5356e0,_0x3e68ef){const _0x1d2c20=_0x3c024c;var _0x140db1,_0x1b26fb,_0x4ed0b4,_0x1bb9b3,_0x3ec340;const _0x14bf70=_0x1a6fb4(_0xac8f2c,_0x2bebaf),{rangesInfo:_0x5c8db0,areaInfo:_0x1c37d7,headerMap:_0x13f275}=_0x3e68ef;if(!_0x5c8db0||!_0x1c37d7||!_0x13f275)return;const _0x57d49c=Object[_0x1d2c20(0x2c1)](_0x5c8db0)[_0x1d2c20(0x2df)](_0x51fb21=>_0x5c8db0[_0x51fb21][_0x1d2c20(0x385)](_0x2c024e=>_0x20db5c[_0x1d2c20(0x3a3)](_0x2c024e,_0x14bf70))),_0x2fd3d9=_0x1c37d7;let _0x502d44,_0x3e71c6,_0x437f6b;if(_0x57d49c==='rowRanges')_0x502d44=(_0x140db1=_0x2fd3d9==null?void 0x0:_0x2fd3d9['rowInfo'])==null?void 0x0:_0x140db1[_0xac8f2c],_0x3e71c6=(_0x1b26fb=_0x13f275==null?void 0x0:_0x13f275['rowHeaderMap'])==null?void 0x0:_0x1b26fb[_0x2bebaf],_0x437f6b=_0x3e71c6==null?void 0x0:_0x3e71c6[_0x1d2c20(0x328)];else{if(_0x57d49c==='colRanges')_0x502d44=(_0x4ed0b4=_0x2fd3d9==null?void 0x0:_0x2fd3d9[_0x1d2c20(0x3bc)])==null?void 0x0:_0x4ed0b4[_0x2bebaf],_0x3e71c6=(_0x1bb9b3=_0x13f275[_0x1d2c20(0x1b1)])==null?void 0x0:_0x1bb9b3[_0xac8f2c+0x1+_0x2bebaf-_0x5c8db0[_0x1d2c20(0x337)][0x0]['startColumn']],_0x437f6b=_0x3e71c6==null?void 0x0:_0x3e71c6[_0x1d2c20(0x328)];else{if(_0x57d49c===_0x1d2c20(0x261))_0x502d44=(_0x3ec340=_0x2fd3d9==null?void 0x0:_0x2fd3d9['cornerInfo'])==null?void 0x0:_0x3ec340[_0x2bebaf],_0x437f6b=_0x502d44==null?void 0x0:_0x502d44[_0x1d2c20(0x328)];else{if(_0x57d49c===_0x1d2c20(0x3a6)){const _0x3c0d04=_0x67552e==null?void 0x0:_0x67552e['fi'];_0x3c0d04!==void 0x0&&(_0x437f6b=_0x5356e0[_0x1d2c20(0x1ca)](_0x3c0d04));}}}}return{'filterId':_0x437f6b,'info':_0x502d44,'data':_0x67552e,'headerInfo':_0x3e71c6};}function xi(_0x1740d3,_0x461b7a,_0x5f2d2c){const _0x2138d6=_0x3c024c,_0x413f2f=_0x1740d3[_0x2138d6(0x35e)],_0xd54cb5=_0x413f2f['getFieldIds'](),_0x48437b=new Set();_0x1740d3[_0x2138d6(0x3c3)](_0x2768a9=>{const _0x1e8c86=_0x2138d6;_0x48437b[_0x1e8c86(0x285)](_0x2768a9[_0x1e8c86(0x289)]);});const _0x3423a7=_0xd54cb5['map'](_0x46c9eb=>{const _0x53f6f7=_0x2138d6,_0x340b67=_0x413f2f[_0x53f6f7(0x37e)](_0x46c9eb);return{'checked':_0x48437b[_0x53f6f7(0x338)](_0x46c9eb),'dataFieldId':_0x340b67['id'],'id':_0x340b67['id'],'name':_0x413f2f[_0x53f6f7(0x354)](_0x340b67['id']),'type':_0x340b67[_0x53f6f7(0x386)](),'pivotTableId':_0x461b7a};}),_0x3f1612=[];_0x1740d3[_0x2138d6(0x3b2)](_0x395ac9[_0x2138d6(0x3c8)],_0x1fc451=>{const _0x31ab11=_0x2138d6;_0x3f1612[_0x31ab11(0x28a)]({'dataFieldId':_0x1fc451[_0x31ab11(0x289)],'tableFieldId':_0x1fc451[_0x31ab11(0x288)](),'displayName':_0x1fc451[_0x31ab11(0x354)]()});});const _0x461e26=[];_0x1740d3['iterateFieldByArea'](_0x395ac9[_0x2138d6(0x1ac)],_0x51366c=>{const _0x5ab38f=_0x2138d6;_0x461e26[_0x5ab38f(0x28a)]({'dataFieldId':_0x51366c[_0x5ab38f(0x289)],'tableFieldId':_0x51366c[_0x5ab38f(0x288)](),'displayName':_0x51366c[_0x5ab38f(0x354)]()});});const _0x39bd3e=[];if(_0x1740d3[_0x2138d6(0x3b2)](_0x395ac9[_0x2138d6(0x2be)],_0x543ffc=>{const _0x423598=_0x2138d6;_0x39bd3e[_0x423598(0x28a)]({'dataFieldId':_0x543ffc[_0x423598(0x289)],'tableFieldId':_0x543ffc[_0x423598(0x288)](),'displayName':_0x543ffc[_0x423598(0x354)](),'format':_0x543ffc[_0x423598(0x3f5)](),'subTotalType':_0x543ffc[_0x423598(0x1cf)]()});}),_0x39bd3e[_0x2138d6(0x230)]>0x1){const _0x53417=_0x1740d3[_0x2138d6(0x215)]();(_0x1740d3['isColMultiMeasure']()?_0x461e26:_0x3f1612)[_0x2138d6(0x27f)](_0x53417,0x0,{'dataFieldId':'','tableFieldId':_0x2138d6(0x1ad),'displayName':_0x2138d6(0x3d1)});}const _0xdb3a7f=[];_0x1740d3[_0x2138d6(0x3b2)](_0x395ac9[_0x2138d6(0x1f7)],_0x3d886c=>{const _0x4d6acd=_0x2138d6;_0xdb3a7f[_0x4d6acd(0x28a)]({'dataFieldId':_0x3d886c[_0x4d6acd(0x289)],'tableFieldId':_0x3d886c['getId'](),'displayName':_0x3d886c['getDisplayName']()});});const _0x4e0f08=_0x5f2d2c[_0x2138d6(0x263)];return{'sourceList':_0x3423a7,'sourceRange':_0x4e0f08,'rowFields':_0x3f1612,'columnFields':_0x461e26,'valueFields':_0x39bd3e,'filterFields':_0xdb3a7f,'positionInfo':_0x5f2d2c[_0x2138d6(0x2a0)]};}function fo(_0x4b11ab,_0x3a5af2,_0x5b2735='',_0x3939b4={}){const _0x3e433d=_0x3c024c,_0x4b8b5a=_0x4b11ab[_0x3e433d(0x2ec)](_0x6286c3);for(const _0x41ad84 in _0x3a5af2)if(Object[_0x3e433d(0x1fe)]['hasOwnProperty']['call'](_0x3a5af2,_0x41ad84)){const _0x52a208=_0x5b2735?_0x5b2735+'.'+_0x41ad84:_0x41ad84;typeof _0x3a5af2[_0x41ad84]==_0x3e433d(0x2fb)&&_0x3a5af2[_0x41ad84]!==null&&!Array[_0x3e433d(0x2f8)](_0x3a5af2[_0x41ad84])?fo(_0x4b11ab,_0x3a5af2[_0x41ad84],_0x52a208,_0x3939b4):_0x3939b4[_0x52a208]=_0x4b8b5a['t'](_0x52a208);}return _0x3939b4;}const Lt=_0x45bcc3=>{const _0x44beee=_0x3c024c;if(!_0x45bcc3)return[];const {rowRanges:_0x4d0b74,colRanges:_0x25e5d3,cornerRanges:_0x2b8b55,dataRanges:_0x4536a2,pageRanges:_0x45bab2}=_0x45bcc3,_0x53e711=[..._0x25e5d3,..._0x4d0b74,..._0x4536a2,..._0x2b8b55][_0x44beee(0x1aa)](_0x52e2fa=>_0x52e2fa[_0x44beee(0x1ed)]>=0x0&&_0x52e2fa[_0x44beee(0x210)]>=0x0&&_0x52e2fa[_0x44beee(0x365)]>=0x0&&_0x52e2fa[_0x44beee(0x2e6)]>=0x0);let _0x3c7de8=Number[_0x44beee(0x250)],_0x33555c=Number[_0x44beee(0x240)],_0x2e1ff2=Number['MAX_SAFE_INTEGER'],_0x3d1bb4=Number[_0x44beee(0x240)];for(let _0x14e4ba=0x0;_0x14e4ba<_0x53e711[_0x44beee(0x230)];_0x14e4ba++)_0x3c7de8=Math['min'](_0x3c7de8,_0x53e711[_0x14e4ba][_0x44beee(0x1ed)]),_0x33555c=Math[_0x44beee(0x2c5)](_0x33555c,_0x53e711[_0x14e4ba][_0x44beee(0x365)]),_0x2e1ff2=Math['min'](_0x2e1ff2,_0x53e711[_0x14e4ba][_0x44beee(0x210)]),_0x3d1bb4=Math['max'](_0x3d1bb4,_0x53e711[_0x14e4ba][_0x44beee(0x2e6)]);return[..._0x45bab2,{'startRow':_0x3c7de8,'endRow':_0x33555c,'startColumn':_0x2e1ff2,'endColumn':_0x3d1bb4}];};function Bi(_0x30d159,_0x1c5676){const _0x22b28e=_0x3c024c,_0x425e58=_0x1c5676[_0x22b28e(0x225)]['drillDown'],{pivotTableId:_0x1c4b0b,unitId:_0x197cdc,subUnitId:_0x26b8a1}=_0x1c5676;if(!_0x425e58)return;const _0x2341c8=_0x30d159[_0x22b28e(0x2ec)]($),_0x2a0174=_0x2341c8[_0x22b28e(0x266)](_0x1c4b0b),_0x55d337=_0x2341c8[_0x22b28e(0x2e7)](_0x197cdc,_0x26b8a1,_0x1c4b0b);if(!_0x2a0174||!_0x55d337)return;const _0x3daed4=_0x2a0174['getIndexesByPathStr'](_0x425e58[_0x22b28e(0x336)]);if(!(_0x3daed4!=null&&_0x3daed4[_0x22b28e(0x230)]))return;const _0x7f6a3e=_0x55d337[_0x22b28e(0x263)],{unitId:_0x157e09,subUnitId:_0x1f5283,range:_0x123932}=_0x7f6a3e;let _0xce4259=0x0;const _0x480baa=_0x2a0174[_0x22b28e(0x35e)][_0x22b28e(0x211)]()[_0x22b28e(0x232)]((_0x4d2a04,_0x55f5ae)=>{const _0x2480ec=_0x22b28e;var _0x4ffc72;const _0x12e396=(_0x4ffc72=_0x2a0174['getDataFieldByDataFieldId'](_0x55f5ae))==null?void 0x0:_0x4ffc72[_0x2480ec(0x3f8)]();return _0x12e396&&(_0x4d2a04[String(_0xce4259)]=_0x12e396),_0xce4259++,_0x4d2a04;},{});return{'indexes':_0x3daed4,'range':_0x123932,'sourceUnitId':_0x157e09,'sourceSubUnitId':_0x1f5283,'formatMap':_0x480baa};}function Ko(_0x4a2600,_0x214ca0){const _0x8fdb91=_0x3c024c;if(!_0x4a2600||!_0x214ca0)return!0x0;const _0x4615ee=_0x1cede5(jo,Jo),_0x490775=new Function(_0x8fdb91(0x326)+_0x4615ee)()(_0x4a2600,_0x214ca0)[_0x8fdb91(0x320)],_0x2a345f=_0x15022a(_0x490775,'sf',Ao);return!((_0x490775==null?void 0x0:_0x490775['rt'])===_0x42383e[_0x8fdb91(0x271)]&&!_0x2a345f);}function go(_0x510222,_0x41b1ac,_0x1c1a2f){const _0x584690=_0x3c024c,_0x1955b2={'count':_0x510222,'timeValid':!0x1};if(!_0x41b1ac||!_0x1c1a2f)return _0x1955b2;const _0x4205ab=_0x1cede5(jo,Jo),_0x479f55=new Function(_0x584690(0x326)+_0x4205ab)()(_0x41b1ac,_0x1c1a2f);if(_0x479f55!=null&&_0x479f55[_0x584690(0x3db)]){const _0x22c454=_0x479f55[_0x584690(0x320)],_0x3fff55=_0x15022a(_0x22c454,'sf',Ao);return{'count':_0x151413(_0x22c454,_0x3fff55,_0x584690(0x1cd),_0x510222,_0x510222,0x0),'timeValid':_0x3fff55};}return _0x1955b2;}function Ho(_0x4c64d0,_0x1b8bbc,_0x5b4d8a,_0x4a64a7){const _0x2b925a=_0x3c024c,_0x54912f={'subUnitId':_0x5b4d8a,'unitId':_0x1b8bbc,'cellValue':_0xd5506f(_0x4a64a7)},_0x554c52=_0xb76357(_0x4c64d0,_0x54912f);let _0x4343a7=!0x1;return new _0x26fd20(_0x554c52['cellValue'])[_0x2b925a(0x2ba)]((_0x1ede25,_0x341e7a,_0x3cfef9)=>{const _0x49a7d4=_0x2b925a;if(!_0x4343a7&&_0x3cfef9&&(_0x3cfef9[_0x49a7d4(0x3cd)]||_0x3cfef9['f']||_0x3cfef9['p']||_0x3cfef9['s']||_0x3cfef9['si']||_0x3cfef9['t']||_0x3cfef9['v']))return _0x4343a7=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x578116['id'],'params':_0x554c52},'setRangeValueRedoMutation':{'id':_0x578116['id'],'params':_0x54912f},'shouldClear':_0x4343a7};}function Ai(_0x30550a){const {row:_0x4903ab,col:_0xb881b4}=_0x30550a,_0x176766={'startRow':_0x4903ab,'endRow':_0x4903ab,'startColumn':_0xb881b4,'endColumn':_0xb881b4},_0x3c30e0={'startRow':_0x4903ab+0x2,'endRow':_0x4903ab+0xe,'startColumn':_0xb881b4,'endColumn':_0xb881b4+0x6};return[_0x176766,_0x3c30e0];}function Gi(_0x553493,_0x41aee4,_0x3d2d2b){const _0x585916=_0x3c024c,{cornerView:_0x41f3f5,rowView:_0x412935,colView:_0x1bf80a,pageView:_0x335a75}=_0x553493,{row:_0x39c182,col:_0x5443ec}=_0x41aee4;if(_0x3d2d2b)return{'rowCount':bi+_0x39c182,'colCount':Si+_0x5443ec};const _0x588cab=_0x335a75['lastRow']>-0x1?_0x335a75['lastRow']+0x1:0x0,_0x5df29d=_0x335a75[_0x585916(0x24f)]>-0x1?_0x335a75[_0x585916(0x24f)]:0x0,_0x44d4ff=_0x39c182+_0x588cab+(_0x588cab?0x1:0x0)+_0x41f3f5['rowCount']+_0x412935[_0x585916(0x3fd)],_0x5d1609=_0x5443ec+_0x5df29d,_0x3d9c2a=_0x5443ec+_0x41f3f5['colCount']+_0x1bf80a[_0x585916(0x30a)],_0x1f788e=Math[_0x585916(0x2c5)](_0x5d1609,_0x3d9c2a);return{'rowCount':_0x44d4ff,'colCount':_0x1f788e};}function we(_0x2c37ce,_0x1fdbf3,_0x3b6257,_0x59f2a4){const _0x2458c2=_0x3c024c,{row:_0x51f18b,col:_0x14f5be,unitId:_0x17c8df,subUnitId:_0x45f572}=_0x3b6257,_0x1b207d=Gi(_0x1fdbf3,{'row':_0x51f18b,'col':_0x14f5be},_0x59f2a4),_0xf75956=_0x2c37ce[_0x2458c2(0x2ec)](_0x21c6a9),_0x1aac05=_0x3848e9(_0xf75956,{'unitId':_0x17c8df,'subUnitId':_0x45f572}),_0x4d69f5=[],_0x1b5ebd=[];if(!_0x1aac05)return{'undos':_0x1b5ebd,'redos':_0x4d69f5};const {worksheet:_0x2af3e7}=_0x1aac05,_0x307544=_0x2af3e7[_0x2458c2(0x2f5)](),_0x11cba1=_0x2af3e7[_0x2458c2(0x1ee)]();return _0x307544<_0x1b207d['rowCount']&&(_0x4d69f5[_0x2458c2(0x28a)]({'id':_0x5efc45['id'],'params':{'unitId':_0x17c8df,'subUnitId':_0x45f572,'range':{'startRow':_0x307544,'endRow':_0x1b207d['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x11cba1-0x1}}}),_0x1b5ebd[_0x2458c2(0x28a)]({'id':_0x50882e['id'],'params':{'unitId':_0x17c8df,'subUnitId':_0x45f572,'range':{'startRow':_0x307544,'endRow':_0x1b207d[_0x2458c2(0x3fd)]-0x1,'startColumn':0x0,'endColumn':_0x11cba1-0x1}}})),_0x11cba1<_0x1b207d[_0x2458c2(0x30a)]&&(_0x4d69f5[_0x2458c2(0x28a)]({'id':_0x576381['id'],'params':{'unitId':_0x17c8df,'subUnitId':_0x45f572,'range':{'startRow':0x0,'endRow':_0x307544-0x1,'startColumn':_0x11cba1,'endColumn':_0x1b207d[_0x2458c2(0x30a)]-0x1}}}),_0x1b5ebd[_0x2458c2(0x28a)]({'id':_0x173b14['id'],'params':{'unitId':_0x17c8df,'subUnitId':_0x45f572,'range':{'startRow':0x0,'endRow':_0x307544-0x1,'startColumn':_0x11cba1,'endColumn':_0x1b207d['colCount']-0x1}}})),{'undos':_0x1b5ebd,'redos':_0x4d69f5};}function ki(_0x7104d7){const _0x352af2=_0x3c024c;let _0xa78503=0x0;for(let _0x29fcb8=0x0;_0x29fcb8<_0x7104d7['length'];_0x29fcb8++){const _0x35af32=_0x7104d7[_0x352af2(0x248)](_0x29fcb8);_0x35af32>=0x4e00&&_0x35af32<=0x9fff||_0x35af32>=0x3000&&_0x35af32<=0x303f||_0x35af32>=0xff00&&_0x35af32<=0xffef?_0xa78503+=0x2:_0xa78503+=0x1;}return _0xa78503;}function To(_0x394c53,_0x5b83a7,_0x2fd132,_0x167c3e){const _0x5b1121=_0x3c024c;var _0xeff0c4,_0x5fdf4b,_0xc28619,_0x518639;const {rowCount:_0x51af05,colCount:_0x32dd5d,headerMap:_0x1f7c68}=_0x394c53,_0x2b9ccc=0x64,_0x79f565=Math[_0x5b1121(0x3da)](_0x51af05,_0x2b9ccc),_0x12bad0=Math[_0x5b1121(0x3da)](_0x32dd5d,_0x2b9ccc);let _0x3fa7ae='',_0x3dd595=0x0;for(let _0x240bca=0x0;_0x240bca<_0x79f565;_0x240bca++)for(let _0x42ae60=0x0;_0x42ae60<_0x12bad0;_0x42ae60++){const _0x3fdd77={...(_0x5fdf4b=(_0xeff0c4=_0x394c53[_0x5b1121(0x1b2)])==null?void 0x0:_0xeff0c4[_0x240bca])==null?void 0x0:_0x5fdf4b[_0x42ae60]},_0x4588ca=(_0xc28619=_0x1f7c68[_0x240bca])==null?void 0x0:_0xc28619[_0x5b1121(0x328)],_0x4b0254=_0x167c3e[_0x4588ca];let _0x3151fe=_0x394c53[_0x5b1121(0x1bb)](_0x240bca,_0x42ae60);if(_0x3fdd77){const _0x67d513=_0x2fd132?_0x42ae60===0x0&&((_0x518639=_0x394c53['getHeaderMapItem'](_0x42ae60+0x1))==null?void 0x0:_0x518639[_0x5b1121(0x395)]):!0x1;_0x3151fe=ht(_0x3fdd77,_0x67d513,_0x4b0254,_0x5b83a7);}if(_0x3151fe!==void 0x0){const _0x1dbee6=ki(String(_0x3151fe));_0x3dd595<_0x1dbee6&&(_0x3fa7ae=String(_0x3151fe),_0x3dd595=_0x1dbee6);}}return _0x3fa7ae;}function Li(_0x589a19){const _0x2913b5=_0x3c024c,{rowCount:_0x2d551e,colCount:_0x371ead}=_0x589a19;let _0xb60b2b='',_0x13961f=0x0;for(let _0x2a26b9=_0x2d551e-0x1;_0x2a26b9>0x0&&_0x2a26b9>_0x2d551e-0x3;_0x2a26b9--)for(let _0x175436=0x0;_0x175436<_0x371ead;_0x175436++){const _0x5bfe1f=_0x589a19[_0x2913b5(0x1bb)](_0x2a26b9,_0x175436);if(_0x5bfe1f!==void 0x0){const _0xebe80e=String(_0x5bfe1f)[_0x2913b5(0x230)];_0x13961f<_0xebe80e&&(_0xb60b2b=String(_0x5bfe1f),_0x13961f=_0xebe80e);}}return _0xb60b2b;}function $i(_0x3b20bd){const _0x252d46=_0x3c024c,{rowCount:_0xb6052d,colCount:_0x2e05e8}=_0x3b20bd;let _0x44ff94='',_0x4c2ec3=0x0;for(let _0x1ad723=0x0;_0x1ad723<_0xb6052d;_0x1ad723++)for(let _0x3e19c1=0x0;_0x3e19c1<_0x2e05e8;_0x3e19c1++){const _0x4f7753=_0x3b20bd[_0x252d46(0x1bb)](_0x1ad723,_0x3e19c1);if(_0x4f7753!==void 0x0){const _0x424f98=String(_0x4f7753)['length'];_0x4c2ec3<_0x424f98&&(_0x44ff94=String(_0x4f7753),_0x4c2ec3=_0x424f98);}}return _0x44ff94;}function Ji(_0x5645ea,_0x25f0a6){const _0x128593=_0x3c024c,{rowFields:_0x358618,columnFields:_0x5dac9c,valueFields:_0x68f73b,filterFields:_0x27a704,dimension:_0x2a1a25,measure:_0x2c72f7}=_0x25f0a6;for(const _0x24dea4 of _0x358618){const _0x5a2a35=_0x2a1a25[_0x24dea4];_0x5a2a35&&_0x5645ea[_0x128593(0x1e8)](_0x5a2a35['dataFieldId'])&&(_0x5645ea[_0x128593(0x2d7)](_0x5a2a35[_0x128593(0x289)],_0x395ac9['Row'],void 0x0,_0x24dea4),_0x5a2a35[_0x128593(0x277)]&&_0x5645ea[_0x128593(0x39e)](_0x5a2a35['id'],_0x5a2a35['displayName']),_0x5a2a35['sortInfo']&&_0x5645ea[_0x128593(0x20a)](_0x5a2a35['id'],_0x5a2a35[_0x128593(0x2a2)]),_0x5a2a35['filterInfo']&&_0x5645ea[_0x128593(0x24b)](_0x5a2a35['id'],_0x5a2a35[_0x128593(0x203)]));}for(const _0xc0086 of _0x5dac9c){const _0x1fe4cd=_0x2a1a25[_0xc0086];_0x1fe4cd&&_0x5645ea[_0x128593(0x1e8)](_0x1fe4cd['dataFieldId'])&&(_0x5645ea[_0x128593(0x2d7)](_0x1fe4cd[_0x128593(0x289)],_0x395ac9['Column'],void 0x0,_0xc0086),_0x1fe4cd[_0x128593(0x2a2)]&&_0x5645ea[_0x128593(0x20a)](_0x1fe4cd['id'],_0x1fe4cd[_0x128593(0x2a2)]),_0x1fe4cd[_0x128593(0x203)]&&_0x5645ea[_0x128593(0x24b)](_0x1fe4cd['id'],_0x1fe4cd[_0x128593(0x203)]),_0x1fe4cd[_0x128593(0x277)]&&_0x5645ea[_0x128593(0x39e)](_0x1fe4cd['id'],_0x1fe4cd[_0x128593(0x277)]));}for(const _0x1642a6 of _0x27a704){const _0xe1a8f2=_0x2a1a25[_0x1642a6];_0xe1a8f2&&_0x5645ea[_0x128593(0x1e8)](_0xe1a8f2['dataFieldId'])&&(_0x5645ea[_0x128593(0x2d7)](_0xe1a8f2[_0x128593(0x289)],_0x395ac9['Filter'],void 0x0,_0x1642a6),_0xe1a8f2[_0x128593(0x2a2)]&&_0x5645ea[_0x128593(0x20a)](_0xe1a8f2['id'],_0xe1a8f2[_0x128593(0x2a2)]),_0xe1a8f2[_0x128593(0x203)]&&_0x5645ea['setLabelFilterInfo'](_0xe1a8f2['id'],_0xe1a8f2['filterInfo']),_0xe1a8f2[_0x128593(0x277)]&&_0x5645ea['renameField'](_0xe1a8f2['id'],_0xe1a8f2[_0x128593(0x277)]));}for(const _0x1b5a05 of _0x68f73b){const _0x58bec9=_0x2c72f7[_0x1b5a05];_0x58bec9&&_0x5645ea[_0x128593(0x1e8)](_0x58bec9[_0x128593(0x289)])&&(_0x5645ea[_0x128593(0x2d7)](_0x58bec9['dataFieldId'],_0x395ac9['Value'],void 0x0,_0x1b5a05),_0x58bec9[_0x128593(0x349)]!==void 0x0&&_0x5645ea['setSubtotalType'](_0x1b5a05,_0x58bec9['subtotal']),_0x58bec9['format']&&_0x5645ea[_0x128593(0x1ab)](_0x1b5a05,_0x58bec9[_0x128593(0x3ba)]),_0x58bec9[_0x128593(0x277)]&&_0x5645ea['renameField'](_0x58bec9['id'],_0x58bec9[_0x128593(0x277)]));}const _0x58b4a0=_0x25f0a6[_0x128593(0x1df)];for(const {fieldId:_0x136423,filterInfo:_0xcc41eb}of _0x58b4a0)_0x5645ea[_0x128593(0x40e)](_0x136423,_0xcc41eb);}function ji(_0x5c060d,_0x1ec7bb){const _0x768ca5=_0x3c024c,_0x52fb5e=[];_0x1ec7bb===_0x395ac9[_0x768ca5(0x3c8)]&&_0x5c060d['iterateFieldByArea'](_0x395ac9['Row'],_0x5887ff=>{const _0x5c009b=_0x768ca5;_0x52fb5e['push'](_0x5887ff[_0x5c009b(0x288)]());}),_0x1ec7bb===_0x395ac9['Column']&&_0x5c060d[_0x768ca5(0x3b2)](_0x395ac9[_0x768ca5(0x1ac)],_0x821190=>{const _0x25cd2b=_0x768ca5;_0x52fb5e[_0x25cd2b(0x28a)](_0x821190['getId']());}),_0x1ec7bb===_0x395ac9[_0x768ca5(0x1f7)]&&_0x5c060d[_0x768ca5(0x3b2)](_0x395ac9[_0x768ca5(0x1f7)],_0x1f8b53=>{const _0x5baf08=_0x768ca5;_0x52fb5e[_0x5baf08(0x28a)](_0x1f8b53[_0x5baf08(0x288)]());}),_0x1ec7bb===_0x395ac9[_0x768ca5(0x2be)]&&_0x5c060d['iterateFieldByArea'](_0x395ac9[_0x768ca5(0x2be)],_0xd3f773=>{const _0x4812a9=_0x768ca5;_0x52fb5e['push'](_0xd3f773[_0x4812a9(0x288)]());}),_0x1ec7bb===void 0x0&&_0x5c060d[_0x768ca5(0x3c3)](_0x22e29e=>{const _0x852aad=_0x768ca5;_0x52fb5e['push'](_0x22e29e[_0x852aad(0x288)]());});const _0x25c149=_0x52fb5e['length'];for(let _0x2d3fbc=_0x25c149-0x1;_0x2d3fbc>=0x0;_0x2d3fbc--)_0x5c060d[_0x768ca5(0x38a)](_0x52fb5e[_0x2d3fbc]);const _0x5e0cb9=_0x5c060d[_0x768ca5(0x376)]();for(const _0x362d4d in _0x5e0cb9)_0x5c060d[_0x768ca5(0x2b9)](_0x362d4d);}function Wi(_0x4e93b1,_0x471aa0){const _0x48c234=_0x3c024c,_0x2f464c=new Date(_0x1ec729(_0x471aa0)),_0x33bab6=new Date(_0x1ec729(_0x4e93b1)),_0x4d8249=_0x2f464c[_0x48c234(0x2b1)](),_0x1497f1=_0x33bab6[_0x48c234(0x2b1)](),_0x1a7d59=_0x2f464c[_0x48c234(0x313)](),_0x2af37f=_0x33bab6['getMonth'](),_0x681590=_0x2f464c[_0x48c234(0x224)](),_0x4bd19c=_0x33bab6[_0x48c234(0x224)](),_0x292075=_0x4d8249===_0x1497f1,_0x408581=_0x292075&&_0x1a7d59===_0x2af37f;return _0x292075&&_0x408581&&!(_0x408581&&_0x681590===_0x4bd19c)?_0x57a902[_0x48c234(0x218)]:_0x292075&&!_0x408581?_0x57a902[_0x48c234(0x321)]:_0x57a902[_0x48c234(0x22a)];}function qo(_0x201b76,_0x1bc21a){const _0x271573=_0x3c024c,_0x4ee766=_0x201b76[_0x271573(0x2ec)]($)['getTextInfo']();let _0x533200='';switch(_0x1bc21a){case _0x57a902['YearMonthDate']:_0x533200=_0x4ee766[_0x271573(0x1f0)];break;case _0x57a902[_0x271573(0x321)]:_0x533200=_0x4ee766[_0x271573(0x1d3)];break;case _0x57a902[_0x271573(0x22a)]:_0x533200=_0x4ee766[_0x271573(0x3d4)];break;case _0x57a902['Month']:_0x533200=_0x4ee766['sheets-pivot.dateGroup.month'];break;case _0x57a902['Quarter']:_0x533200=_0x4ee766['sheets-pivot.dateGroup.quarter'];break;case _0x57a902[_0x271573(0x355)]:_0x533200=_0x4ee766[_0x271573(0x2f0)];break;case _0x57a902['HourMinute']:_0x533200=_0x4ee766['sheets-pivot.dateGroup.hourMinute'];break;case _0x57a902['Hour']:_0x533200=_0x4ee766['sheets-pivot.dateGroup.hour'];break;case _0x57a902[_0x271573(0x208)]:_0x533200=_0x4ee766['sheets-pivot.dateGroup.minute'];break;case _0x57a902[_0x271573(0x31b)]:_0x533200=_0x4ee766[_0x271573(0x29d)];break;case _0x57a902[_0x271573(0x1b9)]:_0x533200=_0x4ee766['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x533200='';break;}return _0x533200;}const Yo=_0x3c024c(0x1d1),Mo={};var Ki=Object[_0x3c024c(0x3d6)],Hi=(_0x4d8014,_0x3293c1,_0xe3fc46,_0x258dcd)=>{for(var _0x35ec92=_0x258dcd>0x1?void 0x0:_0x258dcd?Ki(_0x3293c1,_0xe3fc46):_0x3293c1,_0x3f1d8d=_0x4d8014['length']-0x1,_0xfeccb0;_0x3f1d8d>=0x0;_0x3f1d8d--)(_0xfeccb0=_0x4d8014[_0x3f1d8d])&&(_0x35ec92=_0xfeccb0(_0x35ec92)||_0x35ec92);return _0x35ec92;},at=(_0x2d851e,_0x1a9dea)=>(_0x4b8613,_0x23803e)=>_0x1a9dea(_0x4b8613,_0x23803e,_0x2d851e);let he=class extends _0x2a4487{constructor(_0x39e301,_0x133fd5,_0x23676c,_0x2ffb8c,_0x12341b){const _0x4ddc4a=_0x3c024c;super(),V(this,'_model',new Map()),V(this,_0x4ddc4a(0x3b8),new Map()),V(this,_0x4ddc4a(0x331),new Map()),V(this,_0x4ddc4a(0x1eb),new Map()),V(this,'_configVersion$',new _0x1b87b1()),V(this,_0x4ddc4a(0x2eb),new _0x1b87b1()),V(this,_0x4ddc4a(0x1f1),this[_0x4ddc4a(0x2eb)][_0x4ddc4a(0x348)]()),V(this,_0x4ddc4a(0x2d2),new _0x1b87b1()),V(this,_0x4ddc4a(0x200),this[_0x4ddc4a(0x2d2)][_0x4ddc4a(0x348)]()),V(this,_0x4ddc4a(0x23a),{}),V(this,_0x4ddc4a(0x1f8),this[_0x4ddc4a(0x3e4)][_0x4ddc4a(0x348)]()),(this[_0x4ddc4a(0x1ff)]=_0x39e301,this[_0x4ddc4a(0x1f9)]=_0x133fd5,this[_0x4ddc4a(0x1d0)]=_0x23676c,this[_0x4ddc4a(0x239)]=_0x2ffb8c,this['_configService']=_0x12341b,this[_0x4ddc4a(0x3cb)](),this[_0x4ddc4a(0x26e)]());const _0x15440b=this['_configService'][_0x4ddc4a(0x302)](Yo);(_0x15440b==null?void 0x0:_0x15440b[_0x4ddc4a(0x359)])===!0x0&&this[_0x4ddc4a(0x3c1)]();}['_initUnitDisposed'](){const _0x25c949=_0x3c024c;this['disposeWithMe'](this[_0x25c949(0x1d0)][_0x25c949(0x2c0)](_0x4d97b9[_0x25c949(0x333)])[_0x25c949(0x389)](_0x399bc1=>{const _0x14276e=_0x25c949;this[_0x14276e(0x1fc)](_0x399bc1[_0x14276e(0x40f)]());}));}[_0x3c024c(0x380)](){const _0x5686ee=_0x3c024c;this[_0x5686ee(0x2eb)][_0x5686ee(0x2e0)](!0x0);}[_0x3c024c(0x3cb)](){const _0x132ebb=_0x3c024c,_0x21468b=fo(this[_0x132ebb(0x1ff)],ko,'',{});this[_0x132ebb(0x23a)]=_0x21468b,this[_0x132ebb(0x1f9)][_0x132ebb(0x3a4)](uo['id'],{'textInfo':_0x21468b},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x487f4e=_0x3c024c;return this[_0x487f4e(0x23a)];}[_0x3c024c(0x316)](_0x5e2b19,_0x9fec78,_0x18eab0,_0x23d137,_0x5af2c3){const _0x5bd1ad=_0x3c024c;this[_0x5bd1ad(0x341)](_0x5e2b19,_0x9fec78,_0x18eab0,_0x23d137),this[_0x5bd1ad(0x387)](_0x5e2b19,_0x9fec78,_0x18eab0,_0x5af2c3);}['getPivotTableConfig'](_0x1ccb18,_0x189610,_0x1a0b84){const _0x15d357=_0x3c024c;var _0x260ec0;const _0x100d2e=(_0x260ec0=this['_model'][_0x15d357(0x2ec)](_0x1ccb18))==null?void 0x0:_0x260ec0[_0x15d357(0x2ec)](_0x189610);if(_0x100d2e)return _0x100d2e[_0x15d357(0x2ec)](_0x1a0b84);}[_0x3c024c(0x35a)](_0x75e545,_0xc6c8c5){const _0x5a68a7=_0x3c024c,_0x969225=this['_model']['get'](_0x75e545);if(_0x969225){for(const [_0x20dc49,_0x23552e]of _0x969225[_0x5a68a7(0x3e5)]())for(const [_0x4bf5e6,_0x5c109e]of _0x23552e[_0x5a68a7(0x3e5)]())if(_0x4bf5e6===_0xc6c8c5)return _0x5c109e[_0x5a68a7(0x2a0)];}}['getTargetByPivotId'](_0xb2a0d3,_0x779795,_0x596c64){const _0x385d75=_0x3c024c,_0x5a6f9b=this[_0x385d75(0x2e7)](_0xb2a0d3,_0x779795,_0x596c64);return _0x5a6f9b==null?void 0x0:_0x5a6f9b[_0x385d75(0x2a0)];}[_0x3c024c(0x344)](_0xfb4198,_0x4622bb){const _0x21c4d4=_0x3c024c;var _0x12e147;return(_0x12e147=this[_0x21c4d4(0x36b)]['get'](_0xfb4198))==null?void 0x0:_0x12e147[_0x21c4d4(0x2ec)](_0x4622bb);}[_0x3c024c(0x3ad)](_0x5b679e,_0x3aa72e,_0x166aed,_0x1ff967){const _0x1bce8e=_0x3c024c,_0x4d6d13=this['_ensurePivotMap'](_0x5b679e,_0x3aa72e);_0x1ff967?_0x4d6d13['set'](_0x166aed,_0x1ff967):_0x4d6d13[_0x1bce8e(0x1b3)](_0x166aed),this[_0x1bce8e(0x2d2)][_0x1bce8e(0x2e0)]({'unitId':_0x5b679e,'subUnitId':_0x3aa72e,'pivotTableId':_0x166aed,'pivotTableConfig':_0x1ff967});}['getCollection'](_0x51effa,_0x438d47){const _0x2a712a=_0x3c024c;var _0x269517;return(_0x269517=this[_0x2a712a(0x3b8)]['get'](_0x51effa))==null?void 0x0:_0x269517['collections'][_0x438d47];}[_0x3c024c(0x1be)](_0x16b1d8,_0x2e83e0){const _0x117845=_0x3c024c;this[_0x117845(0x3b8)]['set'](_0x16b1d8,_0x2e83e0),this['_configVersion$'][_0x117845(0x2e0)](Math[_0x117845(0x34b)]());}[_0x3c024c(0x310)](_0x26f0ac,_0x4108d1){const _0x400c33=_0x3c024c;let _0x5cae8d=this['_model'][_0x400c33(0x2ec)](_0x26f0ac);_0x5cae8d||(_0x5cae8d=new Map(),this[_0x400c33(0x36b)]['set'](_0x26f0ac,_0x5cae8d));let _0x3032a8=_0x5cae8d[_0x400c33(0x2ec)](_0x4108d1);return _0x3032a8||(_0x3032a8=new Map(),_0x5cae8d[_0x400c33(0x1a6)](_0x4108d1,_0x3032a8)),_0x3032a8;}[_0x3c024c(0x25b)](_0x1bffd0,_0x376f5b){const _0x54266d=_0x3c024c;let _0x3f78a5=this['_pivotTableRangeInfo'][_0x54266d(0x2ec)](_0x1bffd0);_0x3f78a5||(_0x3f78a5=new Map(),this[_0x54266d(0x331)][_0x54266d(0x1a6)](_0x1bffd0,_0x3f78a5));let _0x5b2d5f=_0x3f78a5[_0x54266d(0x2ec)](_0x376f5b);return _0x5b2d5f||(_0x5b2d5f=new Map(),_0x3f78a5[_0x54266d(0x1a6)](_0x376f5b,_0x5b2d5f)),_0x5b2d5f;}[_0x3c024c(0x401)](_0xb261f7,_0x50c961){const _0x3ddb6c=_0x3c024c;let _0x3a786d=this['_pivotTableMatrixInfo'][_0x3ddb6c(0x2ec)](_0xb261f7);_0x3a786d||(_0x3a786d=new Map(),this[_0x3ddb6c(0x1eb)][_0x3ddb6c(0x1a6)](_0xb261f7,_0x3a786d));let _0x53848c=_0x3a786d[_0x3ddb6c(0x2ec)](_0x50c961);return _0x53848c||(_0x53848c=new Map(),_0x3a786d['set'](_0x50c961,_0x53848c)),_0x53848c;}[_0x3c024c(0x387)](_0x4a514d,_0x2b49a2,_0x5a1024,_0x5f277b){const _0x3c6f17=_0x3c024c;var _0x5b9f45;const _0x55dec8=this[_0x3c6f17(0x25b)](_0x4a514d,_0x2b49a2),_0x324abf=(_0x5b9f45=_0x55dec8[_0x3c6f17(0x2ec)](_0x5a1024))==null?void 0x0:_0x5b9f45[_0x3c6f17(0x214)];_0x55dec8['set'](_0x5a1024,{'oldRangeInfo':_0x324abf,'rangeInfo':_0x5f277b});}[_0x3c024c(0x341)](_0xf6d879,_0x32af33,_0x35429b,_0x175651){const _0xb33f5=_0x3c024c;var _0x6c2d7;const _0x385abc=this[_0xb33f5(0x401)](_0xf6d879,_0x32af33),_0x585db8=(_0x6c2d7=_0x385abc[_0xb33f5(0x2ec)](_0x35429b))==null?void 0x0:_0x6c2d7[_0xb33f5(0x2dd)];_0x385abc[_0xb33f5(0x1a6)](_0x35429b,{'oldMatrix':_0x585db8,'matrix':_0x175651});}[_0x3c024c(0x2e3)](_0x478c58,_0x55b843,_0x45994e){const _0x2c9f57=_0x3c024c;var _0x4aa665,_0x29b135;return(_0x29b135=(_0x4aa665=this['_pivotTableRangeInfo'][_0x2c9f57(0x2ec)](_0x478c58))==null?void 0x0:_0x4aa665[_0x2c9f57(0x2ec)](_0x55b843))==null?void 0x0:_0x29b135['get'](_0x45994e);}[_0x3c024c(0x34f)](_0x4af5d2,_0x535ee5,_0x5471d2){const _0x4a7084=_0x3c024c;var _0x363fb4,_0x294bde;return(_0x294bde=(_0x363fb4=this['_pivotTableMatrixInfo'][_0x4a7084(0x2ec)](_0x4af5d2))==null?void 0x0:_0x363fb4['get'](_0x535ee5))==null?void 0x0:_0x294bde[_0x4a7084(0x2ec)](_0x5471d2);}[_0x3c024c(0x1fc)](_0x42c4d1){const _0x22f86d=_0x3c024c;this[_0x22f86d(0x36b)]['delete'](_0x42c4d1),this[_0x22f86d(0x3b8)]['delete'](_0x42c4d1);}['_toJSON'](_0x5d73f8){const _0x474224=_0x3c024c,_0x12a8fb={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x474224(0x3b8)][_0x474224(0x2ec)](_0x5d73f8)&&(_0x12a8fb['dataFieldManagerConfig'][_0x5d73f8]=this[_0x474224(0x3b8)][_0x474224(0x2ec)](_0x5d73f8)),this[_0x474224(0x36b)][_0x474224(0x2ec)](_0x5d73f8)){_0x12a8fb[_0x474224(0x413)][_0x5d73f8]={};const _0x56a48d=this[_0x474224(0x36b)][_0x474224(0x2ec)](_0x5d73f8);_0x56a48d!=null&&_0x56a48d[_0x474224(0x37a)]&&[..._0x56a48d[_0x474224(0x2c1)]()][_0x474224(0x206)](_0x31f61e=>{const _0xe08fd6=_0x474224,_0x4102a4=_0x56a48d[_0xe08fd6(0x2ec)](_0x31f61e);_0x4102a4!=null&&_0x4102a4[_0xe08fd6(0x37a)]&&(_0x12a8fb[_0xe08fd6(0x413)][_0x5d73f8][_0x31f61e]={},[..._0x4102a4['keys']()][_0xe08fd6(0x206)](_0x1c2cf4=>{const _0x4f1f56=_0xe08fd6,_0x3e7b32=_0x4102a4[_0x4f1f56(0x2ec)](_0x1c2cf4);_0x3e7b32&&(_0x12a8fb[_0x4f1f56(0x413)][_0x5d73f8][_0x31f61e][_0x1c2cf4]=_0x3e7b32);}));});}return _0x12a8fb;}['_initSnapshot'](){const _0x2d2047=_0x3c024c;this[_0x2d2047(0x1da)](this[_0x2d2047(0x239)]['registerPluginResource']({'toJson':_0x305a41=>JSON[_0x2d2047(0x2c2)](this[_0x2d2047(0x1f4)](_0x305a41)),'parseJson':_0x4a8a52=>({}),'businesses':[_0x4d97b9['UNIVER_SHEET']],'pluginName':ao,'onLoad':(_0x3c4f85,_0x446330)=>{},'onUnLoad':_0x32db95=>{this['deleteUnitId'](_0x32db95);}}));}};he=Hi([at(0x0,_0x33ce5d(_0x3a9c68)),at(0x1,_0x33ce5d(_0xdba7c)),at(0x2,_0x33ce5d(_0x21c6a9)),at(0x3,_0x33ce5d(_0x5e6af2)),at(0x4,_0x33ce5d(_0x4ca711))],he);var qi=Object[_0x3c024c(0x3d6)],Yi=(_0x399402,_0x49b082,_0xba494e,_0x35c297)=>{const _0x4ac750=_0x3c024c;for(var _0x4bfbe1=_0x35c297>0x1?void 0x0:_0x35c297?qi(_0x49b082,_0xba494e):_0x49b082,_0x5f223e=_0x399402[_0x4ac750(0x230)]-0x1,_0x33d20b;_0x5f223e>=0x0;_0x5f223e--)(_0x33d20b=_0x399402[_0x5f223e])&&(_0x4bfbe1=_0x33d20b(_0x4bfbe1)||_0x4bfbe1);return _0x4bfbe1;},rt=(_0x21a2f6,_0x1754fc)=>(_0x5a8b02,_0x52f6b4)=>_0x1754fc(_0x5a8b02,_0x52f6b4,_0x21a2f6);let Ne=class extends _0x2a4487{constructor(_0x438d03,_0x3f0937,_0x2d9e19,_0xacb379,_0x2ef177){const _0x9f3bdf=_0x3c024c;super(),V(this,_0x9f3bdf(0x25a),new Map()),V(this,_0x9f3bdf(0x2b5),new Map()),V(this,_0x9f3bdf(0x3aa),new _0x1b87b1()),V(this,_0x9f3bdf(0x2d3),this[_0x9f3bdf(0x3aa)][_0x9f3bdf(0x348)]()),V(this,'_viewUpdate$',new _0x1b87b1()),V(this,'viewUpdate$',this[_0x9f3bdf(0x298)][_0x9f3bdf(0x348)]()),V(this,_0x9f3bdf(0x23a)),(this[_0x9f3bdf(0x31f)]=_0x438d03,this[_0x9f3bdf(0x1ff)]=_0x3f0937,this[_0x9f3bdf(0x30b)]=_0x2d9e19,this[_0x9f3bdf(0x1d0)]=_0xacb379,this[_0x9f3bdf(0x28b)]=_0x2ef177,this[_0x9f3bdf(0x3cb)](),this['_initUnitDisposed']());}[_0x3c024c(0x26e)](){const _0x4686ad=_0x3c024c;this[_0x4686ad(0x1da)](this[_0x4686ad(0x1d0)][_0x4686ad(0x2c0)](_0x4d97b9[_0x4686ad(0x333)])['subscribe'](_0x1b2a9b=>{const _0x2c2fa6=_0x4686ad;this[_0x2c2fa6(0x1fc)](_0x1b2a9b[_0x2c2fa6(0x40f)]());}));}[_0x3c024c(0x3cb)](){const _0x461b3a=_0x3c024c;this[_0x461b3a(0x23a)]=fo(this[_0x461b3a(0x1ff)],ko,'',{});}[_0x3c024c(0x26a)](_0x4c5c2c){const _0x55de23=_0x3c024c,{view:_0x57c072,unitId:_0x4f021c,subUnitId:_0x2de3a8,pivotTableId:_0x20ca39,type:_0x52d381}=_0x4c5c2c,_0x46fcf9=this[_0x55de23(0x30b)][_0x55de23(0x2e7)](_0x4f021c,_0x2de3a8,_0x20ca39);if(!_0x57c072||!_0x46fcf9||_0x52d381===L['Delete'])return;const {pageView:_0x1543e0,cornerView:_0x235d4a,rowView:_0x24ab20,colView:_0xf623db,dataView:_0x3294df}=_0x57c072,_0x16419=_0x46fcf9['targetCellInfo'],_0x196434=_0x46fcf9[_0x55de23(0x201)],_0x2e1b37=this['_ensurePivotItemRenderValueMatrixCache'](_0x4f021c,_0x2de3a8),_0x1b0eba=this[_0x55de23(0x34d)](_0x4f021c,_0x2de3a8,_0x20ca39);if(_0x196434)return this[_0x55de23(0x371)](_0x4c5c2c,_0x2e1b37,_0x16419,_0x1b0eba);{const _0xdc8320=ge(_0x16419,_0x1543e0,!0x0),_0x814864=_0x1543e0[_0x55de23(0x315)]>=0x0?_0x1543e0[_0x55de23(0x315)]+0x1:0x0,_0x31bf6b=_0x235d4a[_0x55de23(0x2f5)](),_0x10e76b=_0x235d4a[_0x55de23(0x26d)](),_0x4f676b=_0xdc8320[_0x55de23(0x230)]>0x0?It:0x0,_0x6d5236=ge({'row':_0x16419['row']+_0x814864+_0x4f676b,'col':_0x16419[_0x55de23(0x3f1)]},_0x235d4a,!0x1,!0x1),_0x4bbedf=ge({'row':_0x16419[_0x55de23(0x246)]+_0x814864+_0x4f676b+_0x31bf6b,'col':_0x16419[_0x55de23(0x3f1)]},_0x24ab20,!0x1,!0x0),_0x51b5bb=ge({'row':_0x16419[_0x55de23(0x246)]+_0x814864+_0x4f676b,'col':_0x16419[_0x55de23(0x3f1)]+_0x10e76b},_0xf623db,!0x1,!0x0),_0x2cd458=ge({'row':_0x16419[_0x55de23(0x246)]+_0x814864+_0x4f676b+_0x31bf6b,'col':_0x16419[_0x55de23(0x3f1)]+_0x10e76b},_0x3294df,!0x1,!0x1);_0x1b0eba['rangesInfo']={'rowRanges':_0x4bbedf,'colRanges':_0x51b5bb,'cornerRanges':_0x6d5236,'dataRanges':_0x2cd458,'pageRanges':_0xdc8320};const _0x3a3588=Mi(this[_0x55de23(0x1ff)],_0x57c072,_0x46fcf9,this['_textInfo']),{valueMatrix:_0x265acf,rowInfo:_0x3b602d,colInfo:_0x29017e,cornerInfo:_0x3aaafa,rowHeaderMap:_0x2ddaeb,colHeaderMap:_0x4ca921}=_0x3a3588;return _0x1b0eba['areaInfo']={'rowInfo':_0x3b602d,'colInfo':_0x29017e,'cornerInfo':_0x3aaafa},_0x1b0eba['headerMap']={'rowHeaderMap':_0x2ddaeb,'colHeaderMap':_0x4ca921},_0x265acf[_0x55de23(0x206)]((_0x17f475,_0x86fada)=>{const _0x154c75=_0x55de23;Object[_0x154c75(0x2c1)](_0x86fada)[_0x154c75(0x206)](_0x452399=>{const _0x37096f=_0x154c75,_0x470bd1=+_0x452399,_0x43c2a9=_0x265acf[_0x37096f(0x1bb)](_0x17f475,_0x470bd1);_0x2e1b37['setValue'](_0x17f475,_0x470bd1,_0x43c2a9);});}),this[_0x55de23(0x298)][_0x55de23(0x2e0)]({'unitId':_0x4f021c,'subUnitId':_0x2de3a8,'valueMatrix':_0x2e1b37,'rangesCache':_0x1b0eba[_0x55de23(0x3ae)],'pivotTableId':_0x20ca39,'type':_0x4c5c2c[_0x55de23(0x2b8)]}),this[_0x55de23(0x30b)][_0x55de23(0x316)](_0x4f021c,_0x2de3a8,_0x20ca39,_0x2e1b37,_0x1b0eba[_0x55de23(0x3ae)]),this[_0x55de23(0x28b)][_0x55de23(0x39f)](_0x4f021c,_0x2de3a8,Gt,this[_0x55de23(0x2fc)](_0x1b0eba[_0x55de23(0x3ae)],_0x20ca39)),{'rangeCache':_0x1b0eba['rangesInfo'],'matrix':_0x2e1b37};}}['_updateRenderEmptyCache'](_0x346def,_0x2ca1cd,_0x7e2abe,_0x12fadb){const _0xcc944=_0x3c024c,_0xdbc347=this[_0xcc944(0x31f)]['t'],{unitId:_0x26f1ee,subUnitId:_0x2ae0b1,pivotTableId:_0x5e0264}=_0x346def,_0x2a7325={'filter':_0xdbc347(_0xcc944(0x375)),'row':_0xdbc347(_0xcc944(0x325)),'column':_0xdbc347(_0xcc944(0x3df)),'values':_0xdbc347(_0xcc944(0x23b))},{matrixCache:_0x8ae9c1,rangesCache:_0x291851}=Wo(_0x2a7325,_0x7e2abe);return _0x8ae9c1['forValue']((_0x39dd13,_0x145152,_0xd44312)=>{_0x2ca1cd['setValue'](_0x39dd13,_0x145152,_0xd44312);}),_0x12fadb['rangesInfo']=_0x291851,this['_viewUpdate$'][_0xcc944(0x2e0)]({'unitId':_0x26f1ee,'subUnitId':_0x2ae0b1,'valueMatrix':_0x2ca1cd,'rangesCache':_0x291851,'pivotTableId':_0x5e0264,'type':_0x346def['type'],'isEmpty':!0x0}),this[_0xcc944(0x30b)]['updateViewInfo'](_0x26f1ee,_0x2ae0b1,_0x5e0264,_0x2ca1cd,_0x291851),this['_exclusiveRangeService'][_0xcc944(0x39f)](_0x26f1ee,_0x2ae0b1,Gt,this['_createExclusiveRange'](_0x291851,_0x5e0264)),{'rangeCache':_0x12fadb[_0xcc944(0x3ae)],'matrix':_0x2ca1cd};}[_0x3c024c(0x2fc)](_0x3bfb6e,_0x35fc9b){const _0x2332bc=_0x3c024c,_0x2fd3a7=[],_0xd3119d=Lt(_0x3bfb6e);for(const _0x19def6 of _0xd3119d)_0x2fd3a7[_0x2332bc(0x28a)]({'groupId':_0x35fc9b,'range':_0x19def6});return _0x2fd3a7;}[_0x3c024c(0x2ee)](_0x2b4be8){const _0x32453f=_0x3c024c;var _0x258de8,_0x5371a5,_0xc2e939,_0x2cf1e5;const {pivotTableId:_0x4fde25,unitId:_0x1d2a16,subUnitId:_0x58c899}=_0x2b4be8;if(!_0x4fde25||!_0x1d2a16||!_0x58c899)return;const _0x3e15ef=this[_0x32453f(0x217)](_0x1d2a16,_0x58c899),_0x1a5e99=(_0x5371a5=(_0x258de8=this['_pivotRenderInfoCache'][_0x32453f(0x2ec)](_0x1d2a16))==null?void 0x0:_0x258de8[_0x32453f(0x2ec)](_0x58c899))==null?void 0x0:_0x5371a5[_0x32453f(0x2ec)](_0x4fde25);if(_0x1a5e99!=null&&_0x1a5e99[_0x32453f(0x3ae)]){for(const _0x1a7c6c of Object[_0x32453f(0x2c1)](_0x1a5e99[_0x32453f(0x3ae)]))_0x1a5e99['rangesInfo'][_0x1a7c6c][_0x32453f(0x206)](_0x179625=>{const _0xc57639=_0x32453f;for(let _0x4431ee=_0x179625[_0xc57639(0x1ed)];_0x4431ee<=_0x179625[_0xc57639(0x365)];_0x4431ee++)for(let _0x21da18=_0x179625['startColumn'];_0x21da18<=_0x179625[_0xc57639(0x2e6)];_0x21da18++)_0x3e15ef[_0xc57639(0x38d)](_0x4431ee,_0x21da18);});}_0x1a5e99&&((_0x2cf1e5=(_0xc2e939=this[_0x32453f(0x25a)][_0x32453f(0x2ec)](_0x1d2a16))==null?void 0x0:_0xc2e939[_0x32453f(0x2ec)](_0x58c899))==null||_0x2cf1e5[_0x32453f(0x1b3)](_0x4fde25)),this[_0x32453f(0x298)]['next']({'unitId':_0x1d2a16,'subUnitId':_0x58c899,'valueMatrix':_0x3e15ef,'pivotTableId':_0x4fde25,'rangesCache':void 0x0,'type':_0x2b4be8['type']}),this[_0x32453f(0x28b)][_0x32453f(0x41c)](_0x1d2a16,_0x58c899,Gt,_0x4fde25);}['_ensurePivotItemRenderInfoCache'](_0x402b21,_0x47ca29,_0x4c4f82){const _0xa31e24=_0x3c024c;var _0x51ff6b,_0x698b21,_0x2c47e9,_0x4ce640,_0x5298ed,_0x5d887e;return this[_0xa31e24(0x25a)]['has'](_0x402b21)||this[_0xa31e24(0x25a)][_0xa31e24(0x1a6)](_0x402b21,new Map()),(_0x51ff6b=this[_0xa31e24(0x25a)][_0xa31e24(0x2ec)](_0x402b21))!=null&&_0x51ff6b[_0xa31e24(0x338)](_0x47ca29)||(_0x698b21=this[_0xa31e24(0x25a)][_0xa31e24(0x2ec)](_0x402b21))==null||_0x698b21['set'](_0x47ca29,new Map()),(_0x4ce640=(_0x2c47e9=this[_0xa31e24(0x25a)]['get'](_0x402b21))==null?void 0x0:_0x2c47e9[_0xa31e24(0x2ec)](_0x47ca29))!=null&&_0x4ce640[_0xa31e24(0x338)](_0x4c4f82)||(_0x5d887e=(_0x5298ed=this[_0xa31e24(0x25a)]['get'](_0x402b21))==null?void 0x0:_0x5298ed['get'](_0x47ca29))==null||_0x5d887e[_0xa31e24(0x1a6)](_0x4c4f82,{}),this[_0xa31e24(0x25a)][_0xa31e24(0x2ec)](_0x402b21)['get'](_0x47ca29)['get'](_0x4c4f82);}[_0x3c024c(0x217)](_0x10f004,_0x4dbf58){const _0x309137=_0x3c024c;var _0x23f2d3,_0x5445ad;return this['_pivotRenderValueMatrixCache'][_0x309137(0x338)](_0x10f004)||this[_0x309137(0x2b5)][_0x309137(0x1a6)](_0x10f004,new Map()),(_0x23f2d3=this[_0x309137(0x2b5)][_0x309137(0x2ec)](_0x10f004))!=null&&_0x23f2d3[_0x309137(0x338)](_0x4dbf58)||(_0x5445ad=this[_0x309137(0x2b5)]['get'](_0x10f004))==null||_0x5445ad['set'](_0x4dbf58,new _0x26fd20()),this[_0x309137(0x2b5)]['get'](_0x10f004)[_0x309137(0x2ec)](_0x4dbf58);}['getPivotTableCellData'](_0x48ba96,_0x5dad0e,_0x2c4e75,_0xd65582){const _0x4b8a27=_0x3c024c;var _0x5e9b82,_0x2fa2c3;const _0x585317=(_0x2fa2c3=(_0x5e9b82=this[_0x4b8a27(0x2b5)][_0x4b8a27(0x2ec)](_0x48ba96))==null?void 0x0:_0x5e9b82[_0x4b8a27(0x2ec)](_0x5dad0e))==null?void 0x0:_0x2fa2c3[_0x4b8a27(0x1bb)](_0x2c4e75,_0xd65582);if(_0x585317!=null)return _0x585317;}[_0x3c024c(0x1e0)](_0x5cde48,_0x42302e,_0x5e7e31,_0x23c683){const _0x39b71d=_0x3c024c;var _0x4ac864;const _0x4c5a67=_0x1a6fb4(_0x5e7e31,_0x23c683),_0x57d98f=(_0x4ac864=this['_pivotRenderInfoCache'][_0x39b71d(0x2ec)](_0x5cde48))==null?void 0x0:_0x4ac864[_0x39b71d(0x2ec)](_0x42302e);return _0x57d98f?Array['from'](_0x57d98f['keys']())[_0x39b71d(0x2df)](_0x51e531=>{const _0x1412a9=_0x39b71d,_0x1e7349=_0x57d98f['get'](_0x51e531),_0x48f6e5=_0x1e7349==null?void 0x0:_0x1e7349[_0x1412a9(0x3ae)];return _0x48f6e5?Object[_0x1412a9(0x2c1)](_0x48f6e5)[_0x1412a9(0x385)](_0x4459b7=>_0x48f6e5[_0x4459b7]['some'](_0x1fd2e9=>_0x20db5c[_0x1412a9(0x3a3)](_0x1fd2e9,_0x4c5a67))):!0x1;}):void 0x0;}[_0x3c024c(0x279)](_0xb17b4f,_0x1f1b09,_0xefbe4){const _0x1198a9=_0x3c024c;var _0x256fe7;const _0x14dfae=(_0x256fe7=this['_pivotRenderInfoCache'][_0x1198a9(0x2ec)](_0xb17b4f))==null?void 0x0:_0x256fe7['get'](_0x1f1b09),_0x306dce=[];return _0x14dfae&&Array[_0x1198a9(0x2ef)](_0x14dfae['keys']())[_0x1198a9(0x206)](_0x527e2e=>{const _0x9030d9=_0x1198a9,_0x4af6f3=_0x14dfae['get'](_0x527e2e),_0x292602=_0x4af6f3==null?void 0x0:_0x4af6f3['rangesInfo'];if(_0x292602)for(const _0x3c6603 of Object['values'](_0x292602)){let _0x893343=!0x1;for(const _0x14728d of _0x3c6603)if(_0x20db5c[_0x9030d9(0x255)](_0x14728d,_0xefbe4)){_0x306dce[_0x9030d9(0x28a)](_0x527e2e),_0x893343=!0x0;break;}if(_0x893343)break;}}),_0x306dce;}[_0x3c024c(0x3ea)](_0x3df071,_0x11d8d3){const _0x2dfd57=_0x3c024c;var _0x26b32a,_0x16a500;return(_0x16a500=(_0x26b32a=this[_0x2dfd57(0x2b5)][_0x2dfd57(0x2ec)](_0x3df071))==null?void 0x0:_0x26b32a['get'](_0x11d8d3))!=null?_0x16a500:new _0x26fd20();}[_0x3c024c(0x3e3)](_0x3dbc6a,_0x20fb1c){const _0x530a36=_0x3c024c;var _0x13d947;return(_0x13d947=this[_0x530a36(0x25a)]['get'](_0x3dbc6a))==null?void 0x0:_0x13d947['get'](_0x20fb1c);}[_0x3c024c(0x23c)](_0xa372a4,_0x17ca1b,_0x44b876){const _0x372840=_0x3c024c;var _0x350f80,_0x51cf06;return(_0x51cf06=(_0x350f80=this[_0x372840(0x25a)][_0x372840(0x2ec)](_0xa372a4))==null?void 0x0:_0x350f80[_0x372840(0x2ec)](_0x17ca1b))==null?void 0x0:_0x51cf06['get'](_0x44b876);}['deleteUnitId'](_0x2f6205){const _0x3bea51=_0x3c024c;this[_0x3bea51(0x25a)][_0x3bea51(0x1b3)](_0x2f6205),this[_0x3bea51(0x2b5)][_0x3bea51(0x1b3)](_0x2f6205);}[_0x3c024c(0x1b8)](_0x54e8b8,_0x4ee9bb){const _0x18aab2=_0x3c024c;this[_0x18aab2(0x3aa)][_0x18aab2(0x2e0)]({'unitId':_0x54e8b8,'subUnitId':_0x4ee9bb});}};Ne=Yi([rt(0x0,_0x33ce5d(_0x6286c3)),rt(0x1,_0x33ce5d(_0x3a9c68)),rt(0x2,_0x33ce5d(he)),rt(0x3,_0x33ce5d(_0x21c6a9)),rt(0x4,_0x33ce5d(_0x5438bf))],Ne);var zi=Object[_0x3c024c(0x3d6)],Qi=(_0x48a447,_0x49ef7b,_0x229b7e,_0x5a8b22)=>{for(var _0x1a1ba2=_0x5a8b22>0x1?void 0x0:_0x5a8b22?zi(_0x49ef7b,_0x229b7e):_0x49ef7b,_0x1ea3a1=_0x48a447['length']-0x1,_0x5ed8b7;_0x1ea3a1>=0x0;_0x1ea3a1--)(_0x5ed8b7=_0x48a447[_0x1ea3a1])&&(_0x1a1ba2=_0x5ed8b7(_0x1a1ba2)||_0x1a1ba2);return _0x1a1ba2;},yo=(_0x38f5e3,_0x50e99f)=>(_0x552726,_0x4995b8)=>_0x50e99f(_0x552726,_0x4995b8,_0x38f5e3);let ie=class extends _0x2a4487{constructor(_0x34e02e,_0x97d45f){const _0x11a68d=_0x3c024c;super(),V(this,'asyncInterceptor',new _0x3d682f({'PIVOT_PERFORM_CHECK':be})),V(this,_0x11a68d(0x378),new _0x5483f4({'PIVOT_MUTATION_GENERATE':$o})),(this[_0x11a68d(0x3ec)]=_0x34e02e,this['_sheetsPivotTableAdaptorModel']=_0x97d45f,this[_0x11a68d(0x202)]());}[_0x3c024c(0x202)](){const _0x5754bb=_0x3c024c;this[_0x5754bb(0x3a2)]();}[_0x3c024c(0x2aa)](_0x584cb9){const _0x345355=_0x3c024c;return this[_0x345355(0x3bf)][_0x345355(0x29f)](be)(!0x1,_0x584cb9);}[_0x3c024c(0x3a2)](){const _0x44214d=_0x3c024c;this[_0x44214d(0x1da)](this[_0x44214d(0x3ec)]['intercept'](_0x392956[_0x44214d(0x3b0)],{'priority':0xc8,'effect':_0x5895b1[_0x44214d(0x2be)]|_0x5895b1[_0x44214d(0x256)],'handler':(_0x18b7e7,_0x503391,_0xfdb8fe)=>{const _0x4d6dd2=_0x44214d,{row:_0x35dce6,col:_0x1f4a95,unitId:_0x59df8e,subUnitId:_0x3dccf2,workbook:_0x5b1ba4}=_0x503391,_0x531638=this['_sheetsPivotTableAdaptorModel']['getPivotTableCellData'](_0x59df8e,_0x3dccf2,_0x35dce6,_0x1f4a95);if(!_0x531638)return _0xfdb8fe(_0x18b7e7);const _0x48039c={..._0x18b7e7};(_0x531638['v']||_0x531638['v']===0x0)&&(_0x48039c['v']=_0x531638['v']),_0x531638['t']&&(_0x48039c['t']=_0x531638['t']);const _0x35ac47=(typeof(_0x18b7e7==null?void 0x0:_0x18b7e7['s'])==_0x4d6dd2(0x223)?_0x5b1ba4[_0x4d6dd2(0x1db)]()[_0x4d6dd2(0x2ec)](_0x18b7e7==null?void 0x0:_0x18b7e7['s']):_0x18b7e7==null?void 0x0:_0x18b7e7['s'])||{},_0x6f264f=_0x5b1ba4[_0x4d6dd2(0x1db)]()[_0x4d6dd2(0x2ec)](_0x531638['s']),_0x3b917d={..._0x6f264f,..._0x35ac47};_0x6f264f!=null&&_0x6f264f['n']&&(_0x3b917d['n']=_0x6f264f['n']);const _0x56f0ae=_0x5b1ba4[_0x4d6dd2(0x1db)]()['setValue'](_0x3b917d);return _0x48039c['s']=_0x56f0ae,(_0x531638[_0x4d6dd2(0x3c0)]===_0x41bfa5[_0x4d6dd2(0x383)]||_0x531638['pbt']===_0x41bfa5[_0x4d6dd2(0x3a9)])&&(_0x48039c[_0x4d6dd2(0x254)]={},_0x48039c[_0x4d6dd2(0x254)][_0x4d6dd2(0x29c)]=li),_0xfdb8fe(_0x48039c);}}));}};ie=Qi([yo(0x0,_0x33ce5d(_0x187e89)),yo(0x1,_0x33ce5d(Ne))],ie);function Nt(_0x154e24,_0x2f772c){const _0x1b0866=_0x3c024c;switch(_0x2f772c){case _0x395ac9['Value']:return _0x154e24[_0x1b0866(0x420)];case _0x395ac9[_0x1b0866(0x1f7)]:return _0x154e24[_0x1b0866(0x2d1)];case _0x395ac9['Row']:return _0x154e24[_0x1b0866(0x1b5)];case _0x395ac9['Column']:return _0x154e24[_0x1b0866(0x293)];default:return[];}}function Je(_0x16d7b4,_0x4d690b){const _0x3ba52a=_0x3c024c;return _0x16d7b4[_0x3ba52a(0x2e8)][_0x4d690b]||_0x16d7b4[_0x3ba52a(0x3e0)][_0x4d690b];}function Xi(_0x5540cd,_0x2a27f8){const _0x29b272=_0x3c024c,{area:_0x1b733d,fieldJson:_0x10f7d3,index:_0x43bd50}=_0x2a27f8;_0x1b733d===_0x395ac9[_0x29b272(0x2be)]?_0x5540cd[_0x29b272(0x2e8)][_0x10f7d3['id']]=_0x10f7d3:_0x5540cd['dimension'][_0x10f7d3['id']]=_0x10f7d3,Nt(_0x5540cd,_0x1b733d)[_0x29b272(0x27f)](_0x43bd50,0x0,_0x10f7d3['id']);}function Zi(_0x4c6705,_0x208c55){const _0x57f096=_0x3c024c,{area:_0x55f49c,fieldId:_0x38eac4,index:_0x381755}=_0x208c55;_0x55f49c===_0x395ac9[_0x57f096(0x2be)]?delete _0x4c6705[_0x57f096(0x2e8)][_0x38eac4]:delete _0x4c6705['dimension'][_0x38eac4],Nt(_0x4c6705,_0x55f49c)[_0x57f096(0x27f)](_0x381755,0x1);}function es(_0xad22a,_0x5f02d5){const _0x25ca48=_0x3c024c,{fieldId:_0x35cc38,name:_0x3b0239}=_0x5f02d5,_0x25bef4=Je(_0xad22a,_0x35cc38);_0x25bef4&&(_0x25bef4[_0x25ca48(0x277)]=_0x3b0239);}function ts(_0x4f1646,_0x5b5c85){const _0x4f6566=_0x3c024c,{fieldId:_0x293318,collapse:_0x1f786e,item:_0x2fdc3b}=_0x5b5c85;_0x2fdc3b!==void 0x0?(_0x4f1646[_0x4f6566(0x319)][_0x293318]=_0x4f1646['collapseInfo'][_0x293318]||{},_0x4f1646[_0x4f6566(0x319)][_0x293318][_0x2fdc3b]=_0x1f786e):_0x4f1646[_0x4f6566(0x319)][_0x293318]=_0x1f786e;}function os(_0x882214,_0x40d021){const {fieldId:_0x5b2df7,format:_0x1e5b4c}=_0x40d021,_0x45a820=Je(_0x882214,_0x5b2df7);_0x45a820&&(_0x45a820['format']=_0x1e5b4c);}function ns(_0x2b0cea,_0x5920be){const _0x567203=_0x3c024c,{fieldId:_0x5a8f92,filterInfo:_0x5c7ec1}=_0x5920be,_0x3bbd30=Je(_0x2b0cea,_0x5a8f92);_0x3bbd30&&(_0x3bbd30[_0x567203(0x203)]=_0x5c7ec1);}function is(_0x172579,_0xd0154e){const _0x26cd3d=_0x3c024c,{fieldId:_0x5b17d2,filterInfo:_0x2a6610}=_0xd0154e,_0x2a4cb4=_0x172579[_0x26cd3d(0x1df)][_0x26cd3d(0x1aa)](_0x23cf2b=>_0x23cf2b['fieldId']!==_0x5b17d2);_0x2a6610&&_0x2a4cb4[_0x26cd3d(0x28a)]({'fieldId':_0x5b17d2,'filterInfo':_0x2a6610}),_0x172579[_0x26cd3d(0x1df)]=_0x2a4cb4;}function ss(_0x5cf1bb,_0x4497e5){const {fieldId:_0x357c48,subtotalType:_0x1d89b0}=_0x4497e5,_0x34a6d2=Je(_0x5cf1bb,_0x357c48);_0x34a6d2&&(_0x34a6d2['subtotal']=_0x1d89b0);}function as(_0x38474b,_0x31b45c){const _0x1d2ed4=_0x3c024c,{fieldId:_0x596fe1,oldArea:_0x5849ff,area:_0x1ab79d,oldIndex:_0xf44d40,index:_0x122b78}=_0x31b45c,_0x25ac9c=_0x5849ff!==_0x395ac9[_0x1d2ed4(0x2be)]&&_0x1ab79d===_0x395ac9[_0x1d2ed4(0x2be)],_0x153cfb=_0x5849ff===_0x395ac9[_0x1d2ed4(0x2be)]&&_0x1ab79d!==_0x395ac9[_0x1d2ed4(0x2be)];if(_0x25ac9c||_0x153cfb){const _0x398db3=Je(_0x38474b,_0x596fe1);_0x398db3&&(_0x25ac9c?(delete _0x38474b[_0x1d2ed4(0x3e0)][_0x596fe1],_0x38474b['measure'][_0x596fe1]=_0x398db3):(delete _0x38474b[_0x1d2ed4(0x2e8)][_0x596fe1],_0x38474b[_0x1d2ed4(0x3e0)][_0x596fe1]=_0x398db3));}const _0x37697e=Nt(_0x38474b,_0x5849ff),_0x90b42a=Nt(_0x38474b,_0x1ab79d);_0x37697e[_0x1d2ed4(0x27f)](_0xf44d40,0x1),_0x90b42a['splice'](_0x122b78,0x0,_0x596fe1);}function _0x2ee1(_0x5caf98,_0x1cf56b){const _0x231354=_0x2313();return _0x2ee1=function(_0x2ee121,_0x204fa5){_0x2ee121=_0x2ee121-0x1a6;let _0x2dcbd6=_0x231354[_0x2ee121];return _0x2dcbd6;},_0x2ee1(_0x5caf98,_0x1cf56b);}function rs(_0x1d7eac,_0x3152d2){const _0xa3af11=_0x3c024c,{valuePosition:_0x3d0e78,index:_0x52b07c}=_0x3152d2;_0x1d7eac[_0xa3af11(0x2bf)]=_0x3d0e78,_0x1d7eac[_0xa3af11(0x24a)]=_0x52b07c;}function ls(_0x367297,_0x354aa8){const _0x1fb351=_0x3c024c,{tableFieldId:_0x50156e,sourceName:_0x20f78b,dataFieldId:_0x42dff2}=_0x354aa8,_0x32d849=Je(_0x367297,_0x50156e);_0x32d849&&(_0x32d849[_0x1fb351(0x1a8)]=_0x20f78b,_0x32d849[_0x1fb351(0x289)]=_0x42dff2);}function ds(_0x3a4072,_0x41bc54){const _0x7f79aa=_0x3c024c,{fieldId:_0x228c49,sortInfo:_0x5e260b}=_0x41bc54,_0x39c0f2=Je(_0x3a4072,_0x228c49);_0x39c0f2&&(_0x39c0f2[_0x7f79aa(0x2a2)]=_0x5e260b);}function cs(_0x251ab3,_0x48de51){const _0x35ebcc=_0x3c024c,{options:_0x406649}=_0x48de51;_0x251ab3[_0x35ebcc(0x251)]={..._0x251ab3[_0x35ebcc(0x251)],..._0x406649};}const $t={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':'sheet.mutation.add-pivot-field','handler'(_0x50ef3b,_0xb501f0){const _0x333eed=_0x3c024c;if(!_0xb501f0)return!0x1;if(!!_0x50ef3b[_0x333eed(0x2ec)](_0x4ca711)['getConfig'](q))return!0x0;const _0xbc0c62=_0x50ef3b['get']($),{pivotTableId:_0x2c50a8,fieldJson:_0x2b9f53,area:_0x5602d3,index:_0x18e918,unitId:_0x48f7d6,subUnitId:_0xe95479}=_0xb501f0,_0x972c23=_0xbc0c62[_0x333eed(0x266)](_0x2c50a8);if(!_0x972c23)return!0x1;let _0x2a84df;_0x5602d3===_0x395ac9[_0x333eed(0x2be)]?_0x2a84df=_0x27ac1e(_0x2b9f53):_0x2a84df=_0x1f7287(_0x2b9f53),_0x972c23[_0x333eed(0x1e3)](_0x2a84df,_0x5602d3,_0x18e918);const _0x47e752=_0xbc0c62[_0x333eed(0x1d2)](_0x48f7d6,_0xe95479,_0x2c50a8);Xi(_0x47e752,_0xb501f0);const _0x1714cb=_0xbc0c62[_0x333eed(0x2e7)](_0x48f7d6,_0xe95479,_0x2c50a8);return _0xbc0c62[_0x333eed(0x3ab)]({'unitId':_0x48f7d6,'subUnitId':_0xe95479,'token':_0x2c50a8,'type':L[_0x333eed(0x1c0)],'pivotConfig':_0x1714cb}),!0x0;}},Jt={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':_0x3c024c(0x1ae),'handler'(_0x4366a3,_0x42ff34){const _0x3997a3=_0x3c024c;if(!_0x42ff34)return!0x1;if(!!_0x4366a3[_0x3997a3(0x2ec)](_0x4ca711)['getConfig'](q))return!0x0;const _0x28beb4=_0x4366a3[_0x3997a3(0x2ec)]($),{pivotTableId:_0x1ddd2c,fieldId:_0x4d9aef,unitId:_0x46f4a7,subUnitId:_0x1106d3}=_0x42ff34,_0x282045=_0x28beb4[_0x3997a3(0x266)](_0x1ddd2c);if(!_0x282045)return!0x1;_0x282045[_0x3997a3(0x38a)](_0x4d9aef);const _0x1ff1af=_0x28beb4[_0x3997a3(0x1d2)](_0x46f4a7,_0x1106d3,_0x1ddd2c);Zi(_0x1ff1af,_0x42ff34);const _0xfebe9=_0x28beb4['getPivotTableConfig'](_0x46f4a7,_0x1106d3,_0x1ddd2c);return _0x28beb4[_0x3997a3(0x3ab)]({'unitId':_0x46f4a7,'subUnitId':_0x1106d3,'token':_0x1ddd2c,'type':L[_0x3997a3(0x1c0)],'pivotConfig':_0xfebe9}),!0x0;}},jt={'type':_0x3d1e73['MUTATION'],'id':_0x3c024c(0x1de),'handler'(_0x303bad,_0x4c6596){const _0xc50e4e=_0x3c024c;if(!_0x4c6596)return!0x1;if(!!_0x303bad[_0xc50e4e(0x2ec)](_0x4ca711)[_0xc50e4e(0x302)](q))return!0x0;const _0x3b245e=_0x303bad[_0xc50e4e(0x2ec)]($),{unitId:_0x4b755b,subUnitId:_0x534e2e,pivotTableId:_0x1b5256,fieldId:_0x29f30a,name:_0x3abd50}=_0x4c6596,_0x4959f2=_0x3b245e[_0xc50e4e(0x266)](_0x1b5256);if(!_0x4959f2)return!0x1;_0x4959f2[_0xc50e4e(0x39e)](_0x29f30a,_0x3abd50);const _0x558e82=_0x3b245e[_0xc50e4e(0x1d2)](_0x4b755b,_0x534e2e,_0x1b5256);return es(_0x558e82,_0x4c6596),_0x3b245e['addDirtyPivotTable']({'unitId':_0x4b755b,'subUnitId':_0x534e2e,'token':_0x1b5256,'type':L['Set']}),!0x0;}},Wt={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':_0x3c024c(0x3f2),'handler'(_0x43c2c5,_0x588be0){const _0xdfdc85=_0x3c024c;if(!_0x588be0)return!0x1;if(!!_0x43c2c5[_0xdfdc85(0x2ec)](_0x4ca711)['getConfig'](q))return!0x0;const _0x26058e=_0x43c2c5[_0xdfdc85(0x2ec)]($),{unitId:_0x3f7a2c,subUnitId:_0xc385a8,pivotTableId:_0xc47af7,fieldId:_0x4951cf,collapse:_0xf1631b,item:_0x101862}=_0x588be0,_0x81a659=_0x26058e['getPivotTableInstance'](_0xc47af7);if(!_0x81a659)return!0x1;_0x81a659[_0xdfdc85(0x363)](_0x4951cf,_0xf1631b,_0x101862);const _0x109c14=_0x26058e[_0xdfdc85(0x1d2)](_0x3f7a2c,_0xc385a8,_0xc47af7);return ts(_0x109c14,_0x588be0),_0x26058e[_0xdfdc85(0x3ab)]({'unitId':_0x3f7a2c,'subUnitId':_0xc385a8,'token':_0xc47af7,'type':L[_0xdfdc85(0x1c0)]}),!0x0;}},Kt={'type':_0x3d1e73['MUTATION'],'id':_0x3c024c(0x2e2),'handler'(_0x8c21e2,_0x1ae7e9){const _0x4e9922=_0x3c024c;if(!_0x1ae7e9)return!0x1;if(!!_0x8c21e2[_0x4e9922(0x2ec)](_0x4ca711)[_0x4e9922(0x302)](q))return!0x0;const _0x27e4cb=_0x8c21e2['get']($),{unitId:_0x501d69,subUnitId:_0x23bd87,pivotTableId:_0x208aa5,fieldId:_0x49dc7d,format:_0xcaf7af}=_0x1ae7e9,_0x2e2c11=_0x27e4cb['getPivotTableInstance'](_0x208aa5);if(!_0x2e2c11)return!0x1;_0x2e2c11['setFieldFormat'](_0x49dc7d,_0xcaf7af);const _0x3e83b6=_0x27e4cb['getPivotTableModelConfig'](_0x501d69,_0x23bd87,_0x208aa5);return os(_0x3e83b6,_0x1ae7e9),_0x27e4cb[_0x4e9922(0x3ab)]({'unitId':_0x501d69,'subUnitId':_0x23bd87,'token':_0x208aa5,'type':L[_0x4e9922(0x1c0)]}),!0x0;}},Ht={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':_0x3c024c(0x2f7),'handler'(_0x16f705,_0x275469){const _0x384d2d=_0x3c024c;if(!_0x275469)return!0x1;if(!!_0x16f705[_0x384d2d(0x2ec)](_0x4ca711)[_0x384d2d(0x302)](q))return!0x0;const _0x21729d=_0x16f705[_0x384d2d(0x2ec)]($),{unitId:_0x5d3df5,subUnitId:_0x39740d,pivotTableId:_0xdab0a5,fieldId:_0x45b789,filterInfo:_0x24f6fa}=_0x275469,_0x28ad41=_0x21729d[_0x384d2d(0x266)](_0xdab0a5);if(!_0x28ad41)return!0x1;_0x28ad41[_0x384d2d(0x24b)](_0x45b789,_0x24f6fa);const _0xd4aa87=_0x21729d[_0x384d2d(0x1d2)](_0x5d3df5,_0x39740d,_0xdab0a5);return ns(_0xd4aa87,_0x275469),_0x21729d[_0x384d2d(0x3ab)]({'unitId':_0x5d3df5,'subUnitId':_0x39740d,'token':_0xdab0a5,'type':L['Set']}),!0x0;}},qt={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':'sheet.mutation.set-pivot-option','handler'(_0x514de7,_0x2d1139){const _0x190be7=_0x3c024c;if(!_0x2d1139)return!0x1;if(!!_0x514de7[_0x190be7(0x2ec)](_0x4ca711)[_0x190be7(0x302)](q))return!0x0;const _0xa00f4a=_0x514de7[_0x190be7(0x2ec)]($),{unitId:_0x48d1ae,subUnitId:_0x14be8b,pivotTableId:_0x14994c,options:_0x21adad}=_0x2d1139,_0x563e02=_0xa00f4a[_0x190be7(0x266)](_0x14994c);if(!_0x563e02)return!0x1;_0x563e02[_0x190be7(0x295)](_0x21adad);const _0x16708c=_0xa00f4a[_0x190be7(0x1d2)](_0x48d1ae,_0x14be8b,_0x14994c);return cs(_0x16708c,_0x2d1139),_0xa00f4a[_0x190be7(0x3ab)]({'unitId':_0x48d1ae,'subUnitId':_0x14be8b,'token':_0x14994c,'type':L[_0x190be7(0x1c0)]}),!0x0;}},Yt={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0x252e5c,_0x5e917e){const _0x1ccd76=_0x3c024c;if(!_0x5e917e)return!0x1;if(!!_0x252e5c[_0x1ccd76(0x2ec)](_0x4ca711)['getConfig'](q))return!0x0;const _0x17d24f=_0x252e5c['get']($),{unitId:_0x1de764,subUnitId:_0x553213,pivotTableId:_0x20eb27,sortInfo:_0xd53f76,fieldId:_0x4e3cd1}=_0x5e917e,_0x571931=_0x17d24f[_0x1ccd76(0x266)](_0x20eb27);if(!_0x571931)return!0x1;_0x571931['setSortInfo'](_0x4e3cd1,_0xd53f76);const _0x1ca9e0=_0x17d24f[_0x1ccd76(0x1d2)](_0x1de764,_0x553213,_0x20eb27);return ds(_0x1ca9e0,_0x5e917e),_0x17d24f[_0x1ccd76(0x3ab)]({'unitId':_0x1de764,'subUnitId':_0x553213,'token':_0x20eb27,'type':L[_0x1ccd76(0x1c0)]}),!0x0;}},zt={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':_0x3c024c(0x3a8),'handler'(_0x41d16f,_0x2cc13e){const _0x4482fa=_0x3c024c;if(!_0x2cc13e)return!0x1;if(!!_0x41d16f[_0x4482fa(0x2ec)](_0x4ca711)[_0x4482fa(0x302)](q))return!0x0;const _0x596733=_0x41d16f[_0x4482fa(0x2ec)]($),{unitId:_0x66851f,subUnitId:_0x112fd4,pivotTableId:_0x17ece2,fieldId:_0x2a5ef7,subtotalType:_0x4a9a14}=_0x2cc13e,_0x5b359a=_0x596733[_0x4482fa(0x266)](_0x17ece2);if(!_0x5b359a)return!0x1;_0x5b359a[_0x4482fa(0x34c)](_0x2a5ef7,_0x4a9a14);const _0x5a073e=_0x596733['getPivotTableModelConfig'](_0x66851f,_0x112fd4,_0x17ece2);return ss(_0x5a073e,_0x2cc13e),_0x596733[_0x4482fa(0x3ab)]({'unitId':_0x66851f,'subUnitId':_0x112fd4,'token':_0x17ece2,'type':L['Set']}),!0x0;}},Qt={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x57e67b,_0x15e953){const _0x50d675=_0x3c024c;if(!_0x15e953)return!0x1;if(!!_0x57e67b[_0x50d675(0x2ec)](_0x4ca711)[_0x50d675(0x302)](q))return!0x0;const _0x17d74e=_0x57e67b['get']($),{unitId:_0x2208a1,subUnitId:_0x4c18fb,pivotTableId:_0x2b5cab,fieldId:_0x3a5617,filterInfo:_0x234d7b}=_0x15e953,_0xf37a15=_0x17d74e[_0x50d675(0x266)](_0x2b5cab);if(!_0xf37a15)return!0x1;_0xf37a15[_0x50d675(0x40e)](_0x3a5617,_0x234d7b);const _0x73c8ef=_0x17d74e[_0x50d675(0x1d2)](_0x2208a1,_0x4c18fb,_0x2b5cab);return is(_0x73c8ef,_0x15e953),_0x17d74e[_0x50d675(0x3ab)]({'unitId':_0x2208a1,'subUnitId':_0x4c18fb,'token':_0x2b5cab,'type':L[_0x50d675(0x1c0)]}),!0x0;}},Xt={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':_0x3c024c(0x291),'handler'(_0x4230f6,_0x4a6185){const _0x72b3fd=_0x3c024c;if(!_0x4a6185)return!0x1;if(!!_0x4230f6[_0x72b3fd(0x2ec)](_0x4ca711)[_0x72b3fd(0x302)](q))return!0x0;const _0x288947=_0x4230f6['get']($),{unitId:_0x43552f,subUnitId:_0x5f7f9c,pivotTableId:_0x2879ce,area:_0x30adbb,index:_0x23fc61,fieldId:_0x556911}=_0x4a6185,_0x560c04=_0x288947['getPivotTableInstance'](_0x2879ce);if(!_0x560c04)return!0x1;_0x560c04['updateFieldPosition'](_0x556911,_0x30adbb,_0x23fc61);const _0x31e846=_0x288947[_0x72b3fd(0x1d2)](_0x43552f,_0x5f7f9c,_0x2879ce);return as(_0x31e846,_0x4a6185),_0x288947[_0x72b3fd(0x3ab)]({'unitId':_0x43552f,'subUnitId':_0x5f7f9c,'token':_0x2879ce,'type':L['Set']}),!0x0;}},Zt={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':_0x3c024c(0x39c),'handler'(_0x5a4201,_0x14baad){const _0x426038=_0x3c024c;if(!_0x14baad)return!0x1;if(!!_0x5a4201['get'](_0x4ca711)[_0x426038(0x302)](q))return!0x0;const _0x2a41e6=_0x5a4201[_0x426038(0x2ec)]($),{unitId:_0x141906,subUnitId:_0xd01924,pivotTableId:_0x277092,sourceName:_0x57dab1,dataFieldId:_0x13548a,tableFieldId:_0x3107ce}=_0x14baad,_0x12ce1c=_0x2a41e6[_0x426038(0x266)](_0x277092);if(!_0x12ce1c)return!0x1;_0x12ce1c[_0x426038(0x342)](_0x3107ce,_0x57dab1,_0x13548a);const _0x7b2344=_0x2a41e6[_0x426038(0x1d2)](_0x141906,_0xd01924,_0x277092);return ls(_0x7b2344,_0x14baad),_0x2a41e6[_0x426038(0x3ab)]({'unitId':_0x141906,'subUnitId':_0xd01924,'token':_0x277092,'type':L[_0x426038(0x1c0)]}),!0x0;}},eo={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':_0x3c024c(0x366),'handler'(_0x318a49,_0x3b720e){const _0x19eaa6=_0x3c024c;if(!_0x3b720e)return!0x1;if(!!_0x318a49[_0x19eaa6(0x2ec)](_0x4ca711)[_0x19eaa6(0x302)](q))return!0x0;const _0x44384a=_0x318a49[_0x19eaa6(0x2ec)]($),{unitId:_0x2984a0,subUnitId:_0x1385c4,pivotTableId:_0x49ee6a,valuePosition:_0x433e49,index:_0x18e98e}=_0x3b720e,_0x5c724c=_0x44384a[_0x19eaa6(0x266)](_0x49ee6a);if(!_0x5c724c)return!0x1;_0x5c724c['updateValuePosition'](_0x433e49,_0x18e98e);const _0x26f27a=_0x44384a[_0x19eaa6(0x1d2)](_0x2984a0,_0x1385c4,_0x49ee6a);return rs(_0x26f27a,_0x3b720e),_0x44384a['addDirtyPivotTable']({'unitId':_0x2984a0,'subUnitId':_0x1385c4,'token':_0x49ee6a,'type':L[_0x19eaa6(0x1c0)]}),!0x0;}};function me(_0x209b49,_0x3fc922,_0x1bad06){const _0xfd5dc4=_0x3c024c,{pivotTableId:_0x41f0a7,unitId:_0x5add80,subUnitId:_0x42a8be}=_0x3fc922,_0x20d1f4=[],_0x50d72b=[];for(const _0x3ac991 of _0x1bad06)switch(_0x3ac991[_0xfd5dc4(0x2b8)]){case _0xfb01ca['AddField']:{const {fieldJson:_0x9e7bb9,area:_0x2b4431,index:_0x934888}=_0x3ac991,_0x18722f={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldJson':_0x9e7bb9,'area':_0x2b4431,'index':_0x934888},_0x3c84c0={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldId':_0x9e7bb9['id'],'area':_0x2b4431,'index':_0x934888};_0x20d1f4['push']({'id':$t['id'],'params':_0x18722f}),_0x50d72b[_0xfd5dc4(0x21b)]({'id':Jt['id'],'params':_0x3c84c0});}break;case _0xfb01ca[_0xfd5dc4(0x329)]:{const {fieldId:_0x2fcb91,newSubtotalType:_0x516887,oldSubtotalType:_0x461dd2}=_0x3ac991,_0x54bdb7={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldId':_0x2fcb91,'subtotalType':_0x516887};_0x20d1f4[_0xfd5dc4(0x28a)]({'id':zt['id'],'params':_0x54bdb7});const _0xc28f40={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldId':_0x2fcb91,'subtotalType':_0x461dd2};_0x50d72b[_0xfd5dc4(0x21b)]({'id':zt['id'],'params':_0xc28f40});}break;case _0xfb01ca[_0xfd5dc4(0x213)]:{const {fieldId:_0x5d4798,fieldJson:_0x31a5c7,area:_0x29f0a9,index:_0x451b3b}=_0x3ac991,_0x3370f8={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldId':_0x5d4798,'index':_0x451b3b,'area':_0x29f0a9};_0x20d1f4[_0xfd5dc4(0x28a)]({'id':Jt['id'],'params':_0x3370f8});const _0x3c6d99={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldJson':_0x31a5c7,'area':_0x29f0a9,'index':_0x451b3b};_0x50d72b[_0xfd5dc4(0x21b)]({'id':$t['id'],'params':_0x3c6d99});}break;case _0xfb01ca[_0xfd5dc4(0x2c9)]:{const {fieldId:_0x22730f,oldName:_0x559a4b,newName:_0x7b4808}=_0x3ac991,_0xfe9dad={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldId':_0x22730f,'name':_0x7b4808};_0x20d1f4[_0xfd5dc4(0x28a)]({'id':jt['id'],'params':_0xfe9dad});const _0x14bfda={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldId':_0x22730f,'name':_0x559a4b};_0x50d72b[_0xfd5dc4(0x21b)]({'id':jt['id'],'params':_0x14bfda});}break;case _0xfb01ca[_0xfd5dc4(0x3fb)]:{const {fieldId:_0x3563cc,oldFilterInfo:_0xfd5afc,newFilterInfo:_0x35ec41}=_0x3ac991,_0x5a0db1={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldId':_0x3563cc,'filterInfo':_0x35ec41};_0x20d1f4[_0xfd5dc4(0x28a)]({'id':Ht['id'],'params':_0x5a0db1});const _0x38672a={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldId':_0x3563cc,'filterInfo':_0xfd5afc};_0x50d72b['unshift']({'id':Ht['id'],'params':_0x38672a});}break;case _0xfb01ca['SetSortInfo']:{const {fieldId:_0x57629a,oldSortInfo:_0x391c8b,newSortInfo:_0x513d89}=_0x3ac991,_0x3c14d5={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldId':_0x57629a,'sortInfo':_0x513d89};_0x20d1f4[_0xfd5dc4(0x28a)]({'id':Yt['id'],'params':_0x3c14d5});const _0x416306={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldId':_0x57629a,'sortInfo':_0x391c8b};_0x50d72b[_0xfd5dc4(0x21b)]({'id':Yt['id'],'params':_0x416306});}break;case _0xfb01ca[_0xfd5dc4(0x31a)]:{const {oldOptions:_0x519725,newOptions:_0x13462c}=_0x3ac991,_0x284542={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'options':_0x13462c};_0x20d1f4[_0xfd5dc4(0x28a)]({'id':qt['id'],'params':_0x284542});const _0x2541f1={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'options':_0x519725};_0x50d72b[_0xfd5dc4(0x21b)]({'id':qt['id'],'params':_0x2541f1});}break;case _0xfb01ca[_0xfd5dc4(0x317)]:{const {oldArea:_0x28f07e,newArea:_0x52728e,oldIndex:_0x289610,newIndex:_0xa8caf0,fieldId:_0x430a40}=_0x3ac991,_0x3e994e={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldId':_0x430a40,'area':_0x52728e,'index':_0xa8caf0,'oldArea':_0x28f07e,'oldIndex':_0x289610};_0x20d1f4['push']({'id':Xt['id'],'params':_0x3e994e});const _0x431586={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldId':_0x430a40,'area':_0x28f07e,'index':_0x289610,'oldArea':_0x52728e,'oldIndex':_0xa8caf0};_0x50d72b[_0xfd5dc4(0x21b)]({'id':Xt['id'],'params':_0x431586});}break;case _0xfb01ca[_0xfd5dc4(0x2fe)]:{const {oldValuePosition:_0x169e51,newValuePosition:_0x3ffbdb,oldIndex:_0x1ad15c,newIndex:_0x379e61}=_0x3ac991,_0x5ab66d={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'valuePosition':_0x3ffbdb,'index':_0x379e61};_0x20d1f4[_0xfd5dc4(0x28a)]({'id':eo['id'],'params':_0x5ab66d});const _0xe5e833={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'valuePosition':_0x169e51,'index':_0x1ad15c};_0x50d72b[_0xfd5dc4(0x21b)]({'id':eo['id'],'params':_0xe5e833});}break;case _0xfb01ca['SetCollapse']:{const {fieldId:_0x1e95ae,collapse:_0x308b64,item:_0x17b60f}=_0x3ac991,_0x3f789c={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldId':_0x1e95ae,'collapse':_0x308b64,'item':_0x17b60f};_0x20d1f4['push']({'id':Wt['id'],'params':_0x3f789c});const _0x50076f={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldId':_0x1e95ae,'collapse':!_0x308b64,'item':_0x17b60f};_0x50d72b[_0xfd5dc4(0x21b)]({'id':Wt['id'],'params':_0x50076f});}break;case _0xfb01ca['SetFieldFormat']:{const {newFormat:_0x2ba420,oldFormat:_0x721b37,fieldId:_0x1bfdb9}=_0x3ac991,_0x3ad18d={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldId':_0x1bfdb9,'format':_0x2ba420};_0x20d1f4[_0xfd5dc4(0x28a)]({'id':Kt['id'],'params':_0x3ad18d});const _0x3ee534={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldId':_0x1bfdb9,'format':_0x721b37};_0x50d72b['unshift']({'id':Kt['id'],'params':_0x3ee534});}break;case _0xfb01ca[_0xfd5dc4(0x2e1)]:{const {tableFieldId:_0x3a2979,oldSourceName:_0x43f600,newSourceName:_0x3e4cd6,oldDataFieldId:_0x64f447,newDataFieldId:_0x13426e}=_0x3ac991,_0x3d4640={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'tableFieldId':_0x3a2979,'sourceName':_0x3e4cd6,'dataFieldId':_0x13426e};_0x20d1f4[_0xfd5dc4(0x28a)]({'id':Zt['id'],'params':_0x3d4640});const _0xc32ca={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'tableFieldId':_0x3a2979,'sourceName':_0x43f600,'dataFieldId':_0x64f447};_0x50d72b[_0xfd5dc4(0x21b)]({'id':Zt['id'],'params':_0xc32ca});}break;case _0xfb01ca[_0xfd5dc4(0x37d)]:{const {fieldId:_0x20b227,filterInfo:_0x1d7b10,oldFilterInfo:_0xc9f2a8}=_0x3ac991,_0x5c85f0={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldId':_0x20b227,'filterInfo':_0x1d7b10};_0x20d1f4['push']({'id':Qt['id'],'params':_0x5c85f0});const _0x37416b={'unitId':_0x5add80,'subUnitId':_0x42a8be,'pivotTableId':_0x41f0a7,'fieldId':_0x20b227,'filterInfo':_0xc9f2a8};_0x50d72b[_0xfd5dc4(0x21b)]({'id':Qt['id'],'params':_0x37416b});}}return{'redos':_0x20d1f4,'undos':_0x50d72b};}function _e(_0x31fec0,_0x1e905d){const _0x4956a4=_0x3c024c;var _0x41bff7;const _0xf11512=_0x31fec0[_0x4956a4(0x2ec)](ie),{cellInfo:_0x23a473,view:_0x4dfb88,isEmpty:_0x3da674}=_0x1e905d;return(_0x41bff7=_0xf11512[_0x4956a4(0x378)][_0x4956a4(0x28c)]($o)(Po,{'cellInfo':_0x23a473,'view':_0x4dfb88,'isEmpty':_0x3da674}))!=null?_0x41bff7:Po;}const us=()=>typeof process<'u'&&process[_0x3c024c(0x32b)]!=null&&process[_0x3c024c(0x32b)]['node']!=null,Ct={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':_0x3c024c(0x1e4),'handler'(_0x19616e,_0x633849){const _0x4868d4=_0x3c024c;var _0x220f6d;if(!_0x633849)return!0x1;const _0x5be4c5=_0x19616e[_0x4868d4(0x2ec)](_0x4ca711);if(!!_0x5be4c5['getConfig'](q))return!0x0;const _0x197d12=_0x19616e[_0x4868d4(0x2ec)](_0x21c6a9),_0x48ab76=_0x19616e[_0x4868d4(0x2ec)]($),{pivotTableId:_0x5339f9,pivotTableConfig:_0x5a930a,collectionConfig:_0x203cb0,unitId:_0x5e7b4f,subUnitId:_0x93afba}=_0x633849,{sourceRangeInfo:_0xf3b474,fieldsConfig:_0x481e71,targetCellInfo:_0x33ee39}=_0x5a930a,_0x502562=_0x197d12[_0x4868d4(0x2a6)](_0x5e7b4f);if(!_0x502562||!_0x502562['getSheetBySheetId'](_0x93afba))return!0x1;if(!us()){let _0x30fd16=0x0;_0x502562[_0x4868d4(0x3d5)]()[_0x4868d4(0x206)](_0x3d599f=>{const _0x32a3ce=_0x4868d4;var _0xcbd990,_0x52e96d;_0x30fd16+=(_0x52e96d=(_0xcbd990=_0x48ab76[_0x32a3ce(0x344)](_0x5e7b4f,_0x3d599f[_0x32a3ce(0x1ef)]()))==null?void 0x0:_0xcbd990[_0x32a3ce(0x37a)])!=null?_0x52e96d:0x0;});const _0x19d108=(_0x220f6d=_0x5be4c5[_0x4868d4(0x302)](_0x4a8724))!=null?_0x220f6d:{},{ls:_0x30c446,pbk:_0x542dae}=_0x19d108;if(!Ko(_0x30c446,_0x542dae))throw new _0x446be0(_0x4868d4(0x281));const _0x286b41=go(so,_0x30c446,_0x542dae)['count'];if(_0x30fd16>=_0x286b41)throw new _0x446be0('limit\x20pivot');}if(!_0x203cb0||!_0x481e71)return!0x1;const {collection:_0x4a2a7f,updateDataFieldList:_0x2ee495}=_0x48ab76[_0x4868d4(0x23e)](_0x5339f9,_0x203cb0,_0xf3b474,_0x33ee39);_0x48ab76['refreshData'](_0x4a2a7f,_0x2ee495,_0xf3b474);const _0x4792eb=new _0x4e9a78(_0x4a2a7f,void 0x0,_0x5339f9);_0x4792eb['fromJSON'](_0x481e71);const _0x1a88db=JSON[_0x4868d4(0x406)](JSON['stringify'](_0x5a930a));return _0x48ab76['addPivotTable'](_0x5e7b4f,_0x93afba,_0x5339f9,_0x4792eb,_0x1a88db),_0x48ab76[_0x4868d4(0x3ab)]({'unitId':_0x5e7b4f,'subUnitId':_0x93afba,'token':_0x5339f9,'type':L[_0x4868d4(0x2a8)],'pivotConfig':_0x1a88db}),!0x0;}},Et={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':_0x3c024c(0x21f),'handler'(_0xf88190,_0x43b4a8){const _0x401e1c=_0x3c024c;if(!_0x43b4a8)return!0x1;if(!!_0xf88190[_0x401e1c(0x2ec)](_0x4ca711)[_0x401e1c(0x302)](q))return!0x0;const {pivotTableId:_0x5e949f,unitId:_0x449f94,subUnitId:_0x2051cf}=_0x43b4a8,_0x14aa0b=_0xf88190[_0x401e1c(0x2ec)]($);return _0x14aa0b[_0x401e1c(0x2e7)](_0x449f94,_0x2051cf,_0x5e949f)?(_0x14aa0b[_0x401e1c(0x3ab)]({'unitId':_0x449f94,'subUnitId':_0x2051cf,'token':_0x5e949f,'type':L['Delete']}),_0x14aa0b[_0x401e1c(0x39d)](_0x449f94,_0x2051cf,_0x5e949f),!0x0):!0x1;}},pt={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':_0x3c024c(0x2a1),'handler'(_0x1913e4,_0x5b41c4){const _0x687225=_0x3c024c;if(!_0x5b41c4)return!0x1;if(!!_0x1913e4[_0x687225(0x2ec)](_0x4ca711)['getConfig'](q))return!0x0;const {pivotTableId:_0x31c30d,targetCellPosition:_0x49715d,unitId:_0x40f845,subUnitId:_0x288469}=_0x5b41c4,_0x5bbe8e=_0x1913e4[_0x687225(0x2ec)]($);if(!_0x5bbe8e['getPivotTableInstance'](_0x5b41c4['pivotTableId']))return!0x1;const _0xc0c6e7=_0x5bbe8e[_0x687225(0x27a)](_0x31c30d);if(!_0xc0c6e7)return!0x1;const _0x3d98b1=_0x5bbe8e['getCollection'](_0xc0c6e7[_0x687225(0x2ca)],_0x5b41c4[_0x687225(0x1d5)]);if(!_0x3d98b1)return!0x1;const _0x2ab6df=_0x5bbe8e[_0x687225(0x2e7)](_0xc0c6e7['unitId'],_0xc0c6e7[_0x687225(0x1e9)],_0x31c30d);if(!_0x2ab6df)return!0x1;const _0x468966=_0x21dda6[_0x687225(0x220)](_0x2ab6df);_0x468966[_0x687225(0x2a0)]={'unitId':_0x40f845,'subUnitId':_0x288469,'row':_0x49715d[_0x687225(0x246)],'col':_0x49715d['col']};const _0x53e3ee=_0x3d98b1[_0x687225(0x1ba)]();if(_0xc0c6e7[_0x687225(0x1e9)]===_0x288469&&_0xc0c6e7[_0x687225(0x2ca)]===_0x40f845)_0x5bbe8e['setPivotTable'](_0x40f845,_0x288469,_0x31c30d,_0x468966),_0x5bbe8e[_0x687225(0x3ab)]({'unitId':_0x40f845,'subUnitId':_0x288469,'token':_0x31c30d,'type':L[_0x687225(0x1c0)]});else{_0x5bbe8e[_0x687225(0x3ab)]({'unitId':_0xc0c6e7[_0x687225(0x2ca)],'subUnitId':_0xc0c6e7['subUnitId'],'token':_0x31c30d,'type':L['Delete']}),_0x5bbe8e['removePivotTable'](_0xc0c6e7[_0x687225(0x2ca)],_0xc0c6e7['subUnitId'],_0x31c30d);const _0x2d45e4=_0x5bbe8e[_0x687225(0x23e)](_0x31c30d,_0x53e3ee,_0x2ab6df[_0x687225(0x263)],_0x468966[_0x687225(0x2a0)]),_0x5a1268=new _0x4e9a78(_0x2d45e4[_0x687225(0x1bd)],void 0x0,_0x31c30d);_0x5a1268[_0x687225(0x352)](_0x468966[_0x687225(0x2c4)]),_0x5bbe8e['addPivotTable'](_0x40f845,_0x288469,_0x31c30d,_0x5a1268,_0x468966),_0x5bbe8e[_0x687225(0x3ab)]({'unitId':_0x40f845,'subUnitId':_0x288469,'token':_0x31c30d,'type':L[_0x687225(0x2a8)],'pivotConfig':_0x468966});}return!0x0;}},to={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x4ab67b,_0x1381d6){const _0x437f19=_0x3c024c;if(!_0x1381d6)return!0x1;if(!!_0x4ab67b['get'](_0x4ca711)['getConfig'](q))return!0x0;const _0x555052=_0x4ab67b[_0x437f19(0x2ec)]($),{pivotTableId:_0xde2827,deleteIds:_0x37fadc,collectionJSON:_0x127620,dataRangeInfo:_0x1d5620,unitId:_0x546907,subUnitId:_0x41c6b9}=_0x1381d6,_0x538e2c=_0x555052['getPivotTableInstance'](_0xde2827),_0x150cb2=_0x555052['getPivotTableConfig'](_0x546907,_0x41c6b9,_0xde2827);if(!_0x538e2c||!_0x150cb2)return!0x1;const {collection:_0x4331c8,updateDataFieldList:_0x639d2b}=_0x555052[_0x437f19(0x23e)](_0xde2827,_0x127620,_0x1d5620,_0x150cb2[_0x437f19(0x2a0)]);_0x555052['refreshData'](_0x4331c8,_0x639d2b,_0x1d5620),_0x538e2c[_0x437f19(0x2c3)](_0x4331c8);for(const _0x34f8cf of _0x37fadc)_0x555052[_0x437f19(0x3b3)](_0x1d5620[_0x437f19(0x2ca)],_0x34f8cf);const _0x4b9b9b=_0x555052[_0x437f19(0x2e7)](_0x546907,_0x41c6b9,_0xde2827);return _0x4b9b9b[_0x437f19(0x263)]=JSON['parse'](JSON[_0x437f19(0x2c2)](_0x1d5620)),_0x555052[_0x437f19(0x3ab)]({'unitId':_0x546907,'subUnitId':_0x41c6b9,'token':_0xde2827,'type':L[_0x437f19(0x1c0)]}),!0x0;}},Ut={'type':_0x3d1e73[_0x3c024c(0x2f1)],'id':_0x3c024c(0x31e),'handler'(){return!0x0;}};var fs=Object['getOwnPropertyDescriptor'],gs=(_0x2464c9,_0xa23e14,_0x180c74,_0x35c4ff)=>{const _0xbdae6e=_0x3c024c;for(var _0xf31ae4=_0x35c4ff>0x1?void 0x0:_0x35c4ff?fs(_0xa23e14,_0x180c74):_0xa23e14,_0x4072b3=_0x2464c9[_0xbdae6e(0x230)]-0x1,_0x5721ea;_0x4072b3>=0x0;_0x4072b3--)(_0x5721ea=_0x2464c9[_0x4072b3])&&(_0xf31ae4=_0x5721ea(_0xf31ae4)||_0xf31ae4);return _0xf31ae4;},wo=(_0x3fee7c,_0x5b14e5)=>(_0xc2cf6c,_0x539536)=>_0x5b14e5(_0xc2cf6c,_0x539536,_0x3fee7c);let Z=class extends _0x2a4487{constructor(_0x458c01,_0x3da73c){const _0x42e236=_0x3c024c;super(),V(this,_0x42e236(0x33d),new Map()),(this[_0x42e236(0x1ff)]=_0x458c01,this['_commandService']=_0x3da73c);}[_0x3c024c(0x222)](_0x402ac0){const _0x4fe6e4=_0x3c024c,{version:_0x55f7f9}=_0x402ac0,_0xa628b=this[_0x4fe6e4(0x33d)][_0x4fe6e4(0x2ec)](_0x55f7f9);_0xa628b&&(_0xa628b(_0x402ac0),this[_0x4fe6e4(0x33d)][_0x4fe6e4(0x1b3)](_0x55f7f9));}[_0x3c024c(0x3c5)](_0x637fdf){return new Promise((_0x3e807a,_0x4418a6)=>{const _0x311e68=_0x2ee1,_0x64cae9=this[_0x311e68(0x30f)]();this[_0x311e68(0x33d)][_0x311e68(0x1a6)](_0x64cae9,_0x3e807a),this['_commandService'][_0x311e68(0x3a4)](ro['id'],{'version':_0x64cae9,..._0x637fdf},{'onlyLocal':!0x0});});}[_0x3c024c(0x30f)](){const _0xee66d8=_0x3c024c;return Math[_0xee66d8(0x34b)]()['toString'](0x24)[_0xee66d8(0x1d8)](0x2,0x10);}};Z=gs([wo(0x0,_0x33ce5d(_0x3a9c68)),wo(0x1,_0x33ce5d(_0xdba7c))],Z);const zo={'id':_0x3c024c(0x398),'type':_0x3d1e73[_0x3c024c(0x2f1)],'handler':(_0x1e0740,_0x5a2dca)=>{const _0x473857=_0x3c024c;if(!_0x5a2dca)return!0x1;if(!!_0x1e0740[_0x473857(0x2ec)](_0x4ca711)[_0x473857(0x302)](q))return!0x0;const {pivotTableId:_0x2cffc7,fieldJSON:_0x1a6c16,unitId:_0x31fd97,subUnitId:_0x311d0a}=_0x5a2dca,_0x39535e=_0x9bb880[_0x473857(0x352)](_0x1a6c16);if(!_0x39535e)return!0x1;const _0x47f71f=_0x1e0740[_0x473857(0x2ec)]($),_0x2853f5=_0x47f71f[_0x473857(0x41d)](_0x31fd97),_0x6ba8dc=_0x2853f5[_0x473857(0x1f5)](_0x2cffc7);_0x2853f5[_0x473857(0x397)](_0x39535e),_0x6ba8dc['addField'](_0x39535e['getId'](),_0x39535e[_0x473857(0x36e)]());const _0x261bed=_0x6ba8dc['getFieldById'](_0x39535e[_0x473857(0x3e7)]());_0x261bed&&_0x39535e[_0x473857(0x3a5)](_0x261bed);const _0x404aa0=_0x47f71f[_0x473857(0x2e7)](_0x31fd97,_0x311d0a,_0x2cffc7);return _0x47f71f['addDirtyPivotTable']({'unitId':_0x31fd97,'subUnitId':_0x311d0a,'token':_0x2cffc7,'type':L[_0x473857(0x1c0)],'pivotConfig':_0x404aa0}),!0x0;}},Qo={'id':_0x3c024c(0x364),'type':_0x3d1e73['MUTATION'],'handler':(_0x4e9d9f,_0x87c92c)=>{const _0x37c8c3=_0x3c024c;if(!_0x87c92c)return!0x1;if(!!_0x4e9d9f[_0x37c8c3(0x2ec)](_0x4ca711)[_0x37c8c3(0x302)](q))return!0x0;const {pivotTableId:_0x2d4b1d,dataFieldId:_0x40689f,unitId:_0x1b6a4c,subUnitId:_0x486263}=_0x87c92c,_0x29b788=_0x4e9d9f[_0x37c8c3(0x2ec)]($),_0xd01c1b=_0x29b788[_0x37c8c3(0x41d)](_0x1b6a4c);_0xd01c1b[_0x37c8c3(0x1f5)](_0x2d4b1d)['deleteField'](_0x40689f);let _0x302968=!0x0;for(const _0x4edf9a in _0xd01c1b[_0x37c8c3(0x1fa)])if(_0xd01c1b[_0x37c8c3(0x1fa)][_0x4edf9a][_0x37c8c3(0x211)]()['includes'](_0x40689f)){_0x302968=!0x1;break;}_0x302968&&_0xd01c1b['deleteDataField'](_0x40689f);const _0x3894c6=_0x29b788[_0x37c8c3(0x2e7)](_0x1b6a4c,_0x486263,_0x2d4b1d);return _0x29b788[_0x37c8c3(0x3ab)]({'unitId':_0x1b6a4c,'subUnitId':_0x486263,'token':_0x2d4b1d,'type':L[_0x37c8c3(0x1c0)],'pivotConfig':_0x3894c6}),!0x0;}},vs={'type':_0x3d1e73['COMMAND'],'id':'sheet.command.add-pivot-field',async 'handler'(_0x37f751,_0xd8efdd){const _0x58a133=_0x3c024c;if(!_0xd8efdd)return!0x1;const _0x3e22f5=_0x37f751[_0x58a133(0x2ec)](_0xdba7c),_0x47a246=_0x37f751['get'](Z),_0x2159db=_0x37f751[_0x58a133(0x2ec)](_0x168a03),{pivotTableId:_0x2d2376,dataFieldId:_0x1a6f20,fieldArea:_0x39b2c4,index:_0x10b77d,unitId:_0x173503,subUnitId:_0x2e8fd0}=_0xd8efdd,_0x4e2e3a=(await _0x47a246[_0x58a133(0x3c5)]({'unitId':_0x173503,'subUnitId':_0x2e8fd0,'pivotTableId':_0x2d2376,'params':{'type':A[_0x58a133(0x1e5)],'addPivotField':{'dataFieldId':_0x1a6f20,'fieldArea':_0x39b2c4,'index':_0x10b77d}}}))['result'][_0x58a133(0x233)];if(!_0x4e2e3a)return!0x1;const {view:_0x124a70,changesets:_0x16e900,isEmpty:_0x5f53f2,pivotTableConfig:_0xc0c851,shouldBeAddedGroupJSON:_0x3fe6ec}=_0x4e2e3a,_0x22024e=_0xc0c851['targetCellInfo'],_0x7e2f11=new _0x289ec7();_0x7e2f11[_0x58a133(0x229)](_0x124a70);const _0x3c6a9d={'cellInfo':_0x22024e,'view':_0x7e2f11,'isEmpty':_0x5f53f2};if(!await _0x37f751[_0x58a133(0x2ec)](ie)[_0x58a133(0x3bf)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x3c6a9d))return!0x1;const _0x39638d=we(_0x37f751,_0x7e2f11,_0x22024e,_0x5f53f2),_0x2170d3=_e(_0x37f751,_0x3c6a9d),{undos:_0x16aa0b,redos:_0x2e5064}=me(_0x3e22f5,{'pivotTableId':_0x2d2376,'unitId':_0x173503,'subUnitId':_0x2e8fd0},_0x16e900);return _0x3fe6ec&&(_0x2e5064[_0x58a133(0x21b)]({'id':zo['id'],'params':{'pivotTableId':_0x2d2376,'fieldJSON':_0x3fe6ec,'unitId':_0x173503,'subUnitId':_0x2e8fd0}}),_0x16aa0b[_0x58a133(0x28a)]({'id':Qo['id'],'params':{'pivotTableId':_0x2d2376,'dataFieldId':_0x3fe6ec['id'],'unitId':_0x173503,'subUnitId':_0x2e8fd0}})),_0x229014([..._0x39638d[_0x58a133(0x219)],..._0x2170d3[_0x58a133(0x219)],..._0x2e5064],_0x3e22f5),_0x2159db['pushUndoRedo']({'unitID':_0x173503,'redoMutations':[..._0x39638d['redos'],..._0x2170d3[_0x58a133(0x219)],..._0x2e5064],'undoMutations':[..._0x39638d[_0x58a133(0x1e7)],..._0x2170d3[_0x58a133(0x1e7)],..._0x16aa0b]}),!0x0;}},hs={'type':_0x3d1e73[_0x3c024c(0x3c2)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x2df8de,_0x5eb90c){const _0x2427e8=_0x3c024c;if(!_0x5eb90c)return!0x1;const {sourceDataInfo:_0x14cc5e,pivotTableConfig:_0x1ccff4}=_0x5eb90c;if(!_0x14cc5e||!_0x1ccff4)return!0x1;const {unitId:_0x375dfb,subUnitId:_0x599534,range:_0x19b9f3}=_0x14cc5e,_0x5212b8=_0x2df8de[_0x2427e8(0x2ec)](_0x21c6a9),_0x126634=_0x2df8de[_0x2427e8(0x2ec)](Z),_0x156847=_0x2df8de[_0x2427e8(0x2ec)](_0x6286c3),_0x2e05fe=_0x2df8de[_0x2427e8(0x2ec)](_0xdba7c),_0x4c75c3=_0x5212b8[_0x2427e8(0x2a6)](_0x375dfb);if(!_0x4c75c3)return!0x1;const _0x29b35b=_0x4c75c3[_0x2427e8(0x393)](_0x599534);if(!_0x29b35b)return!0x1;const _0x46914c=_0x1bceee(0x8),_0x269823=_0x19b9f3||{'startRow':0x0,'startColumn':0x0,'endRow':_0x29b35b[_0x2427e8(0x2f5)]()-0x1,'endColumn':_0x29b35b[_0x2427e8(0x1ee)]()-0x1};_0x269823[_0x2427e8(0x207)]=_0x4573e8[_0x2427e8(0x241)];const _0x1e3f8b=(await _0x126634[_0x2427e8(0x3c5)]({'unitId':_0x375dfb,'subUnitId':_0x599534,'pivotTableId':_0x46914c,'params':{'type':A[_0x2427e8(0x388)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x375dfb,'sheetName':_0x29b35b[_0x2427e8(0x36e)](),'subUnitId':_0x599534,'range':_0x269823},'pivotTableId':_0x46914c,'pivotTableIndexConfig':_0x1ccff4}}}))[_0x2427e8(0x1b7)][_0x2427e8(0x3ef)];if(!_0x1e3f8b)return!0x1;const {isEmpty:_0x5a8bb0,fieldsConfig:_0x541ccf,collectionConfig:_0x1f4a39,changesets:_0x124707}=_0x1e3f8b,_0x2db0cc=_0x4c75c3['getSheets']()['length'],_0x24a710=_0x5c7da3({'rowCount':_0x29b35b[_0x2427e8(0x2f5)]()-0x1,'columnCount':_0x29b35b['getColumnCount']()-0x1});_0x24a710['id']=_0x1fc6e1(),_0x24a710[_0x2427e8(0x3b4)]=_0x4c75c3[_0x2427e8(0x3d3)](''+_0x156847['t'](_0x2427e8(0x2a4)));const _0x3fc9bf={'index':_0x2db0cc,'sheet':_0x24a710,'unitId':_0x375dfb},{redos:_0x39afd0}=me(_0x2e05fe,{'pivotTableId':_0x46914c,'unitId':_0x375dfb,'subUnitId':_0x24a710['id']},_0x124707),_0x211f85=[{'id':_0x189273['id'],'params':_0x3fc9bf},{'id':Ct['id'],'params':{'unitId':_0x375dfb,'subUnitId':_0x24a710['id'],'pivotTableId':_0x46914c,'pivotTableConfig':{'isEmpty':_0x5a8bb0,'fieldsConfig':_0x541ccf,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x375dfb,'subUnitId':_0x24a710['id']},'sourceRangeInfo':{'subUnitId':_0x599534,'unitId':_0x375dfb,'range':_0x269823,'sheetName':_0x29b35b[_0x2427e8(0x36e)]()}},'collectionConfig':_0x1f4a39}},..._0x39afd0];return _0x229014(_0x211f85,_0x2e05fe),!0x0;}},ps={'type':_0x3d1e73[_0x3c024c(0x3c2)],'id':_0x3c024c(0x3a1),async 'handler'(_0x43757c,_0xa3649f){const _0x1820df=_0x3c024c;var _0x414e4f,_0x973e56;const _0x48dfa9=_0x43757c[_0x1820df(0x2ec)](_0xdba7c),_0x39ff64=_0x43757c[_0x1820df(0x2ec)](_0x21c6a9),_0x580c54=_0x43757c[_0x1820df(0x2ec)](_0x6286c3),_0x38e94a=_0x43757c[_0x1820df(0x2ec)](Z),_0x365acc=_0x43757c['get'](_0x168a03),_0x24d8ee=_0x43757c['get'](he),_0x63ffbe=_0x43757c[_0x1820df(0x2ec)](_0x4ca711);if(!_0xa3649f)return!0x1;const {pivotTableConfig:_0x31e6fe,positionType:_0x369ecb}=_0xa3649f,{targetCellInfo:_0x20cea1,sourceRangeInfo:_0x3a0f2c}=_0x31e6fe,{unitId:_0x59c171,subUnitId:_0x30011e}=_0x20cea1,_0x109e0c=_0x39ff64[_0x1820df(0x2a6)](_0x59c171);if(!_0x109e0c)return!0x1;let _0x30617e=0x0;_0x109e0c[_0x1820df(0x3d5)]()[_0x1820df(0x206)](_0x235700=>{const _0x336ca0=_0x1820df;var _0x38863d,_0x4f03c0;_0x30617e+=(_0x4f03c0=(_0x38863d=_0x24d8ee[_0x336ca0(0x344)](_0x59c171,_0x235700[_0x336ca0(0x1ef)]()))==null?void 0x0:_0x38863d[_0x336ca0(0x37a)])!=null?_0x4f03c0:0x0;});const _0x3261ba=(_0x414e4f=_0x63ffbe[_0x1820df(0x302)](_0x4a8724))!=null?_0x414e4f:{},{ls:_0x2dbc5d,pbk:_0x386e38}=_0x3261ba;if(!Ko(_0x2dbc5d,_0x386e38))return!0x1;const _0x542b44=go(so,_0x2dbc5d,_0x386e38)['count'];if(_0x30617e>=_0x542b44)return!0x1;const _0x4f1306=_0xa3649f[_0x1820df(0x1d5)]||_0x1bceee(0x8),_0x348a8b=(await _0x38e94a[_0x1820df(0x3c5)]({'unitId':_0x59c171,'subUnitId':_0x30011e,'pivotTableId':_0x4f1306,'params':{'type':A[_0x1820df(0x283)],'addPivotTable':{'sourceRangeInfo':_0x3a0f2c,'pivotTableId':_0x4f1306}}}))[_0x1820df(0x1b7)][_0x1820df(0x1cc)];if(!_0x348a8b)return!0x1;const {view:_0x32f6c5,isEmpty:_0x160d48,fieldsConfig:_0x3d67b9,collectionConfig:_0x3258a4}=_0x348a8b,_0xd4e514=[],_0x43eb68=[];if(_0x369ecb===Go[_0x1820df(0x2cd)]){const _0x242f05=_0x109e0c[_0x1820df(0x3d5)]()['length'],_0xd15673=_0x5c7da3({});_0xd15673['id']=_0x31e6fe[_0x1820df(0x2a0)][_0x1820df(0x1e9)],_0xd15673['name']=(_0x973e56=_0x31e6fe['targetCellInfo'][_0x1820df(0x228)])!=null?_0x973e56:_0x109e0c[_0x1820df(0x3d3)](''+_0x580c54['t'](_0x1820df(0x2a4)));const _0x3c4c64={'index':_0x242f05,'sheet':_0xd15673,'unitId':_0x59c171},_0x4ef965=_0x3b0f33(_0x43757c,_0x3c4c64);_0xd4e514[_0x1820df(0x28a)]({'id':_0x8e9e5a['id'],'params':_0x4ef965}),_0x43eb68['push']({'id':_0x54136d['id'],'params':_0x3c4c64});}else{if(!_0x109e0c['getSheetBySheetId'](_0x30011e))return!0x1;const _0x295ed8=we(_0x43757c,new _0x289ec7(),_0x20cea1,!0x0);_0x43eb68[_0x1820df(0x28a)](..._0x295ed8[_0x1820df(0x219)]),_0xd4e514['push'](..._0x295ed8[_0x1820df(0x1e7)]);const _0xb68596={'cellInfo':_0x20cea1,'view':_0x32f6c5,'isEmpty':_0x160d48};if(!await _0x43757c[_0x1820df(0x2ec)](ie)[_0x1820df(0x3bf)][_0x1820df(0x29f)](be)(!0x0,_0xb68596))return!0x1;const _0x2f3c3e=_e(_0x43757c,_0xb68596);_0x43eb68[_0x1820df(0x28a)](..._0x2f3c3e[_0x1820df(0x219)]),_0xd4e514['push'](..._0x2f3c3e[_0x1820df(0x1e7)]);}return _0x43eb68[_0x1820df(0x28a)]({'id':Ct['id'],'params':{'unitId':_0x20cea1[_0x1820df(0x2ca)],'subUnitId':_0x20cea1[_0x1820df(0x1e9)],'pivotTableId':_0x4f1306,'pivotTableConfig':{'targetCellInfo':_0x20cea1,'sourceRangeInfo':_0x3a0f2c,'fieldsConfig':_0x3d67b9},'collectionConfig':_0x3258a4}}),_0xd4e514[_0x1820df(0x21b)]({'id':Et['id'],'params':{'unitId':_0x59c171,'subUnitId':_0x30011e,'pivotTableId':_0x4f1306}}),_0x229014(_0x43eb68,_0x48dfa9)&&_0x365acc[_0x1820df(0x3e1)]({'unitID':_0x59c171,'undoMutations':_0xd4e514,'redoMutations':_0x43eb68}),!0x0;}},ms={'type':_0x3d1e73['COMMAND'],'id':_0x3c024c(0x390),async 'handler'(_0x29d661,_0xa1d534){const _0x3dd601=_0x3c024c;if(!_0xa1d534)return!0x1;const _0x2e64d7=_0x29d661[_0x3dd601(0x2ec)](_0xdba7c),_0x30424a=_0x29d661[_0x3dd601(0x2ec)](Z),_0x64a02d=_0x29d661[_0x3dd601(0x2ec)](_0x168a03),{pivotTableId:_0x5ca61f,fieldId:_0x472b54,area:_0x38b257,index:_0x51dfc3,unitId:_0x1624a6,subUnitId:_0x730aa2}=_0xa1d534,_0x5c0040=(await _0x30424a[_0x3dd601(0x3c5)]({'unitId':_0x1624a6,'subUnitId':_0x730aa2,'pivotTableId':_0x5ca61f,'params':{'type':A[_0x3dd601(0x38e)],'movePivotField':{'fieldId':_0x472b54,'area':_0x38b257,'index':_0x51dfc3}}}))[_0x3dd601(0x1b7)]['movePivotField'];if(!_0x5c0040)return!0x1;const {changesets:_0x57b90d,view:_0x65390c,isEmpty:_0x40bf52,pivotTableConfig:_0x3a769b}=_0x5c0040,_0x277f05=_0x3a769b[_0x3dd601(0x2a0)],_0x5a6563=new _0x289ec7();_0x5a6563[_0x3dd601(0x229)](_0x65390c);const _0x185e4a={'cellInfo':_0x277f05,'view':_0x5a6563,'isEmpty':_0x40bf52};if(!await _0x29d661[_0x3dd601(0x2ec)](ie)[_0x3dd601(0x3bf)][_0x3dd601(0x29f)](be)(!0x0,_0x185e4a))return!0x1;const _0xf358a6=we(_0x29d661,_0x5a6563,_0x277f05,_0x40bf52),_0x2f7ed3=_e(_0x29d661,_0x185e4a),{redos:_0x36ee7c,undos:_0x4feb05}=me(_0x2e64d7,{'pivotTableId':_0x5ca61f,'unitId':_0x1624a6,'subUnitId':_0x730aa2},_0x57b90d);return _0x229014([..._0xf358a6[_0x3dd601(0x219)],..._0x2f7ed3[_0x3dd601(0x219)],..._0x36ee7c],_0x2e64d7),_0x64a02d[_0x3dd601(0x3e1)]({'unitID':_0x1624a6,'redoMutations':[..._0xf358a6['redos'],..._0x2f7ed3[_0x3dd601(0x219)],..._0x36ee7c],'undoMutations':[..._0xf358a6[_0x3dd601(0x1e7)],..._0x2f7ed3['undos'],..._0x4feb05]}),!0x0;}},Is={'type':_0x3d1e73[_0x3c024c(0x3c2)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0xc70db3,_0x144f38){const _0xe55763=_0x3c024c;var _0x2d1009;if(!_0x144f38)return!0x1;const _0x15364e=_0xc70db3[_0xe55763(0x2ec)](_0x21c6a9),_0xc81dc0=_0x3848e9(_0x15364e);if(!_0xc81dc0)return!0x1;const {unitId:_0x5546f1,subUnitId:_0x2d7b90,workbook:_0x4a30df}=_0xc81dc0,{row:_0x539d5f,col:_0x5eae1c}=_0x144f38,_0x4def14=_0xc70db3[_0xe55763(0x2ec)](Ne),_0x1879b5=_0x4def14[_0xe55763(0x1e0)](_0x5546f1,_0x2d7b90,_0x539d5f,_0x5eae1c);if(!_0x1879b5)return!0x1;const _0x4cb8a9=(_0x2d1009=_0x4def14[_0xe55763(0x23c)](_0x5546f1,_0x2d7b90,_0x1879b5))==null?void 0x0:_0x2d1009[_0xe55763(0x414)];if(!_0x4cb8a9)return!0x1;const _0x23ba25=_0xc70db3[_0xe55763(0x2ec)](he)['getPivotTableConfig'](_0x5546f1,_0x2d7b90,_0x1879b5);if(!_0x23ba25)return!0x1;const {rowInfo:_0x1c459e,colInfo:_0x3bfe55}=_0x4cb8a9,_0x5c6c8c=_0x1c459e[_0x539d5f][_0xe55763(0x1c7)],_0x2f3011=_0x3bfe55[_0x5eae1c][_0xe55763(0x1c7)],_0x5ec687=_0x1c459e[_0x539d5f][_0xe55763(0x412)],_0x2d3cfc=_0x3bfe55[_0x5eae1c][_0xe55763(0x412)],_0x52614d=_0x5c6c8c['concat'](_0x2f3011),_0x1f424e=_0x23ba25['fieldsConfig'][_0xe55763(0x1b5)][_0xe55763(0x22e)](0x0,_0x5ec687),_0x4b33de=_0x23ba25['fieldsConfig'][_0xe55763(0x293)][_0xe55763(0x22e)](0x0,_0x2d3cfc),_0x9f01c6=_0x1f424e[_0xe55763(0x1a9)](_0x4b33de),_0x551653=_0x52614d['map']((_0x109d81,_0x37594d)=>[_0x109d81,_0x9f01c6[_0x37594d]]),_0x576de4=(await _0xc70db3[_0xe55763(0x2ec)](Z)[_0xe55763(0x3c5)]({'unitId':_0x5546f1,'subUnitId':_0x2d7b90,'pivotTableId':_0x1879b5,'params':{'type':A[_0xe55763(0x20c)],'drillDown':{'tuple':_0x551653}}}))['result'][_0xe55763(0x32f)];if(!_0x576de4)return!0x1;const {indexes:_0x18b7a6,range:_0x3515fc,sourceUnitId:_0x2f8d61,sourceSubUnitId:_0x22fb5e,formatMap:_0x4c011f}=_0x576de4,{startRow:_0x23a5a0,endRow:_0x1481c5,startColumn:_0x9f7e17,endColumn:_0x4734e3}=_0x3515fc,_0x46f1bf=new _0x26fd20(),_0x58133e=_0x1481c5-_0x23a5a0,_0x68fede=_0x4734e3-_0x9f7e17,_0x27375a={},_0x2d8f93=_0x3848e9(_0x15364e,{'unitId':_0x2f8d61,'subUnitId':_0x22fb5e});if(!_0x2d8f93)return!0x1;const _0x1dc97f=fe[_0xe55763(0x41b)],_0x518177=fe[_0xe55763(0x400)],_0x174009=fe['subTotalStyle'],_0x5db509=_0x4a30df[_0xe55763(0x1db)]()[_0xe55763(0x3eb)](_0x1dc97f),_0x4cbdb7=_0x4a30df[_0xe55763(0x1db)]()[_0xe55763(0x3eb)](_0x518177),_0x8737c1=_0x4a30df[_0xe55763(0x1db)]()[_0xe55763(0x3eb)](_0x174009),{worksheet:_0x938b9e}=_0x2d8f93;let _0xb7917f=0x0;const _0x4bfece=0x1;_0x18b7a6[_0xe55763(0x206)](_0x481d93=>{const _0x418a43=_0xe55763;for(let _0x43a68a=0x0;_0x43a68a<=_0x4734e3-_0x9f7e17;_0x43a68a++)_0x46f1bf[_0x418a43(0x3eb)](_0xb7917f,_0x43a68a,_0x938b9e['getCellRaw'](_0x481d93+_0x3515fc[_0x418a43(0x1ed)]+_0x4bfece,_0x43a68a));_0xb7917f++;});for(let _0x435897=_0x9f7e17;_0x435897<=_0x4734e3;_0x435897++){const _0x5658c0=_0x938b9e['getCellRaw'](_0x23a5a0,_0x435897);_0x27375a[_0x23a5a0]||(_0x27375a[_0x23a5a0]={}),_0x27375a[_0x23a5a0][_0x435897]={..._0x5658c0,'s':_0x5db509};}let _0x212e1a=0x1;const _0x4c8560={},_0x147f84={};_0x46f1bf[_0xe55763(0x31c)]((_0x2f965f,_0x5a80cc)=>{const _0x50744c=_0xe55763;_0x5a80cc[_0x50744c(0x206)](_0x3ed348=>{const _0x2f78d8=_0x50744c,_0x2ab64f=_0x46f1bf[_0x2f78d8(0x1bb)](_0x2f965f,_0x3ed348);if(_0x27375a[_0x212e1a]||(_0x27375a[_0x212e1a]={}),_0x27375a[_0x212e1a][_0x3ed348]={..._0x2ab64f,'s':_0x212e1a%0x2===0x0?_0x8737c1:_0x4cbdb7},_0x4c011f[_0x3ed348]&&_0x2f965f>=0x0){const _0x1a7409=_0x212e1a%0x2===0x0;let _0x36fe58=_0x1a7409?_0x147f84[_0x3ed348]:_0x4c8560[_0x3ed348];_0x36fe58||(_0x36fe58=_0x4a30df['getStyles']()[_0x2f78d8(0x3eb)]({..._0x1a7409?_0x174009:_0x518177,'n':{'pattern':_0x4c011f[_0x3ed348]}}),_0x1a7409?_0x147f84[_0x3ed348]=_0x36fe58:_0x4c8560[_0x3ed348]=_0x36fe58),_0x27375a[_0x212e1a][_0x3ed348]['s']=_0x36fe58;}}),_0x212e1a++;});const _0x50d84a=new _0x26fd20(_0x27375a),_0x388aac={};_0x50d84a['forValue']((_0x46376f,_0x576f40,_0x43bb16)=>{_0x388aac[_0x46376f]||(_0x388aac[_0x46376f]={}),_0x388aac[_0x46376f][_0x576f40]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x41b3ef=[],_0x84619f=[],_0x3ebc63=_0x4a30df[_0xe55763(0x3d5)]()[_0xe55763(0x230)],_0x49751b=_0x5c7da3({'rowCount':Math[_0xe55763(0x2c5)](_0xaef63d,_0x58133e+0xa),'columnCount':Math[_0xe55763(0x2c5)](_0x59f909,_0x68fede+0x5)}),_0x102a53=_0xc70db3[_0xe55763(0x2ec)](_0x6286c3);_0x49751b['id']=_0x1fc6e1(),_0x49751b[_0xe55763(0x3b4)]=_0x4a30df['generateNewSheetName'](''+_0x102a53['t'](_0xe55763(0x2a4)));const _0x49ff34={'index':_0x3ebc63,'sheet':_0x49751b,'unitId':_0x5546f1},_0x50571b=_0x3b0f33(_0xc70db3,_0x49ff34);_0x84619f['push']({'id':_0x54136d['id'],'params':_0x49ff34}),_0x41b3ef['push']({'id':_0x8e9e5a['id'],'params':_0x50571b}),_0x84619f['push']({'id':_0x578116['id'],'params':{'unitId':_0x5546f1,'subUnitId':_0x49751b['id'],'cellValue':_0x27375a}}),_0x41b3ef[_0xe55763(0x21b)]({'id':_0x578116['id'],'params':{'unitId':_0x5546f1,'subUnitId':_0x49751b['id'],'cellValue':_0x388aac}});const _0x912267={'startRow':0x0,'startColumn':0x0,'endRow':_0x212e1a-0x1,'endColumn':_0x4734e3};_0x84619f['push']({'id':_0x5a2554['id'],'params':{'unitId':_0x5546f1,'subUnitId':_0x49751b['id'],'range':_0x912267}}),_0x41b3ef['unshift']({'id':_0xdf64fe['id'],'params':{'unitId':_0x5546f1,'subUnitId':_0x49751b['id']}});const _0x48fa0d=_0xc70db3['get'](_0xdba7c);return _0x229014(_0x84619f,_0x48fa0d)&&_0xc70db3[_0xe55763(0x2ec)](_0x168a03)['pushUndoRedo']({'unitID':_0x5546f1,'undoMutations':_0x41b3ef,'redoMutations':_0x84619f}),!0x0;}},Cs={'type':_0x3d1e73[_0x3c024c(0x3c2)],'id':_0x3c024c(0x257),async 'handler'(_0x20d310,_0x37d84a){const _0x4613e3=_0x3c024c;if(!_0x37d84a)return!0x1;const _0x4f1cc1=_0x20d310[_0x4613e3(0x2ec)](_0xdba7c),_0x24b4ee=_0x20d310[_0x4613e3(0x2ec)](Z),_0x327b21=_0x20d310[_0x4613e3(0x2ec)](_0x168a03),{pivotTableId:_0x42acab,fieldIds:_0x5910b2,unitId:_0x56ced8,subUnitId:_0x21f5e9}=_0x37d84a,_0x4dd8cb=(await _0x24b4ee[_0x4613e3(0x3c5)]({'unitId':_0x56ced8,'subUnitId':_0x21f5e9,'pivotTableId':_0x42acab,'params':{'type':A[_0x4613e3(0x1af)],'removePivotField':{'fieldIds':_0x5910b2}}}))['result']['removePivotField'];if(!_0x4dd8cb)return!0x1;const {view:_0x14f36b,changesets:_0xfad7fc,isEmpty:_0x23a50d,pivotTableConfig:_0x5a9319}=_0x4dd8cb,_0x582f36=_0x5a9319[_0x4613e3(0x2a0)],_0x5cd089=new _0x289ec7();_0x5cd089[_0x4613e3(0x229)](_0x14f36b);const _0x3bb544={'cellInfo':_0x582f36,'view':_0x5cd089,'isEmpty':_0x23a50d};if(!await _0x20d310[_0x4613e3(0x2ec)](ie)['asyncInterceptor'][_0x4613e3(0x29f)](be)(!0x0,_0x3bb544))return!0x1;const _0x38f177=we(_0x20d310,_0x5cd089,_0x582f36,_0x23a50d),_0x2ec2db=_e(_0x20d310,_0x3bb544),{redos:_0x11e002,undos:_0x137e2a}=me(_0x4f1cc1,{'pivotTableId':_0x42acab,'unitId':_0x56ced8,'subUnitId':_0x21f5e9},_0xfad7fc);return _0x229014([..._0x38f177[_0x4613e3(0x219)],..._0x2ec2db['redos'],..._0x11e002],_0x4f1cc1),_0x327b21[_0x4613e3(0x3e1)]({'unitID':_0x56ced8,'redoMutations':[..._0x38f177[_0x4613e3(0x219)],..._0x2ec2db[_0x4613e3(0x219)],..._0x11e002],'undoMutations':[..._0x38f177[_0x4613e3(0x1e7)],..._0x2ec2db[_0x4613e3(0x1e7)],..._0x137e2a]}),!0x0;}},bs={'type':_0x3d1e73[_0x3c024c(0x3c2)],'id':_0x3c024c(0x278),async 'handler'(_0x2bfb4b,_0x3a202d){const _0x52e21d=_0x3c024c;var _0x1dc8b7;const _0x3724ad=_0x2bfb4b[_0x52e21d(0x2ec)](_0xdba7c),_0x1cf891=_0x2bfb4b[_0x52e21d(0x2ec)](Z),_0x1e9d74=_0x2bfb4b['get'](Ne),_0x33d130=_0x2bfb4b[_0x52e21d(0x2ec)](_0x21c6a9),_0x8b637f=_0x2bfb4b[_0x52e21d(0x2ec)](_0x168a03);if(!_0x3a202d)return!0x1;const {unitId:_0x55e71c,subUnitId:_0x4b358c,row:_0x2cf10a,col:_0x4c9340,collapse:_0x394245}=_0x3a202d,_0x160f01=_0x33d130['getUnit'](_0x55e71c);if(!_0x160f01||!_0x160f01[_0x52e21d(0x393)](_0x4b358c))return!0x1;const _0x3d342b=_0x1e9d74['getPivotTableIdByCell'](_0x55e71c,_0x4b358c,_0x2cf10a,_0x4c9340);if(!_0x3d342b)return!0x1;const _0x14a3e7=_0x1e9d74['getPivotItemRenderInfoCache'](_0x55e71c,_0x4b358c,_0x3d342b);if(!_0x14a3e7)return!0x1;const _0x3acae1=_0x1a6fb4(_0x2cf10a,_0x4c9340),{rangesInfo:_0x4ec6a0,areaInfo:_0x2887d6,headerMap:_0x4ff269}=_0x14a3e7;if(!_0x4ec6a0||!_0x2887d6||!_0x4ff269)return!0x1;const _0x65ad40=Object[_0x52e21d(0x2c1)](_0x4ec6a0)[_0x52e21d(0x2df)](_0x12d63a=>_0x4ec6a0[_0x12d63a][_0x52e21d(0x385)](_0x4be233=>_0x20db5c[_0x52e21d(0x3a3)](_0x4be233,_0x3acae1)));let _0x5516e4;_0x65ad40===_0x52e21d(0x3c6)?_0x5516e4=_0x4ff269[_0x52e21d(0x377)][_0x4c9340]:_0x65ad40===_0x52e21d(0x337)&&(_0x5516e4=_0x4ff269[_0x52e21d(0x1b1)][_0x2cf10a]);const _0x55a5d3=_0x5516e4==null?void 0x0:_0x5516e4[_0x52e21d(0x328)],_0x37e4e5=(_0x1dc8b7=_0x1e9d74[_0x52e21d(0x238)](_0x55e71c,_0x4b358c,_0x2cf10a,_0x4c9340))==null?void 0x0:_0x1dc8b7['v'];if(_0x37e4e5==null||!_0x3d342b||!_0x55a5d3)return!0x1;const _0x1f0a0e=await _0x1cf891[_0x52e21d(0x3c5)]({'unitId':_0x55e71c,'subUnitId':_0x4b358c,'pivotTableId':_0x3d342b,'params':{'type':A[_0x52e21d(0x1dc)],'setPivotCollapse':{'tableFieldId':_0x55a5d3,'collapse':_0x394245,'item':_0x37e4e5}}}),_0x37aa18=_0x1f0a0e==null?void 0x0:_0x1f0a0e[_0x52e21d(0x1b7)][_0x52e21d(0x3ee)];if(!_0x37aa18)return!0x1;const {view:_0x56cd3f,pivotTableConfig:_0xa38366,isEmpty:_0x36c97a,changesets:_0x23b402}=_0x37aa18,_0xedbb3b=new _0x289ec7();_0xedbb3b['formJSON'](_0x56cd3f);const _0x238890=_0xa38366[_0x52e21d(0x2a0)],_0x34b837={'cellInfo':_0x238890,'view':_0xedbb3b,'isEmpty':_0x36c97a};if(!await _0x2bfb4b[_0x52e21d(0x2ec)](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x34b837))return!0x1;const _0x5a0757=we(_0x2bfb4b,_0xedbb3b,_0x238890,_0x36c97a),_0x46e415=_e(_0x2bfb4b,_0x34b837),{redos:_0x228540,undos:_0x132417}=me(_0x3724ad,{'pivotTableId':_0x3d342b,'unitId':_0x55e71c,'subUnitId':_0x4b358c},_0x23b402);return _0x229014([..._0x5a0757[_0x52e21d(0x219)],..._0x46e415[_0x52e21d(0x219)],..._0x228540],_0x3724ad),_0x8b637f['pushUndoRedo']({'unitID':_0x55e71c,'redoMutations':[..._0x5a0757[_0x52e21d(0x219)],..._0x46e415[_0x52e21d(0x219)],..._0x228540],'undoMutations':[..._0x5a0757[_0x52e21d(0x1e7)],..._0x46e415[_0x52e21d(0x1e7)],..._0x132417]}),!0x0;}},Ss={'type':_0x3d1e73['COMMAND'],'id':_0x3c024c(0x26c),async 'handler'(_0x188359,_0x3b0180){const _0x2d8c95=_0x3c024c;if(!_0x3b0180)return!0x1;const _0x3ebb40=_0x188359['get'](_0xdba7c),{pivotTableId:_0x1598e9,tableFieldId:_0x19d9ff,items:_0x1d2631,unitId:_0x28b275,subUnitId:_0x2ba568,isAll:_0x3de128}=_0x3b0180,_0x28b3bf=_0x188359[_0x2d8c95(0x2ec)](Z),_0x2822e5=_0x188359[_0x2d8c95(0x2ec)](_0x168a03),_0x5f1734=(await _0x28b3bf[_0x2d8c95(0x3c5)]({'unitId':_0x28b275,'subUnitId':_0x2ba568,'pivotTableId':_0x1598e9,'params':{'type':A[_0x2d8c95(0x311)],'setPivotFilter':{'tableFieldId':_0x19d9ff,'items':_0x1d2631,'isAll':_0x3de128}}}))['result'][_0x2d8c95(0x3e2)];if(!_0x5f1734)return!0x1;const {changesets:_0xe302fe,pivotTableConfig:_0xb856fe,isEmpty:_0x2a82b1,view:_0x51c2ad}=_0x5f1734,_0x3d5ad5=_0xb856fe[_0x2d8c95(0x2a0)],_0x9ac207=new _0x289ec7();_0x9ac207[_0x2d8c95(0x229)](_0x51c2ad);const _0x1b5e0b={'cellInfo':_0x3d5ad5,'view':_0x9ac207,'isEmpty':_0x2a82b1};if(!await _0x188359['get'](ie)['asyncInterceptor'][_0x2d8c95(0x29f)](be)(!0x0,_0x1b5e0b))return!0x1;const _0xd12dc4=we(_0x188359,_0x9ac207,_0x3d5ad5,_0x2a82b1),_0xfe76d1=_e(_0x188359,_0x1b5e0b),{undos:_0x2c6bc8,redos:_0x3b0336}=me(_0x3ebb40,{'pivotTableId':_0x1598e9,'unitId':_0x28b275,'subUnitId':_0x2ba568},_0xe302fe);return _0x229014([..._0xd12dc4[_0x2d8c95(0x219)],..._0xfe76d1['redos'],..._0x3b0336],_0x3ebb40),_0x2822e5[_0x2d8c95(0x3e1)]({'unitID':_0x28b275,'redoMutations':[..._0xd12dc4[_0x2d8c95(0x219)],..._0xfe76d1['redos'],..._0x3b0336],'undoMutations':[..._0xd12dc4['undos'],..._0xfe76d1['undos'],..._0x2c6bc8]}),!0x0;}},Ps={'type':_0x3d1e73['COMMAND'],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x4c7374,_0x18d16c){const _0x2b809b=_0x3c024c;if(!_0x18d16c)return!0x1;const _0x3fdd73=_0x4c7374[_0x2b809b(0x2ec)](_0xdba7c),_0x16916e=_0x4c7374[_0x2b809b(0x2ec)](_0x168a03),_0x424e4a=_0x4c7374[_0x2b809b(0x2ec)](Z),{info:_0xd05379,tableFieldId:_0x35fd1d,pivotTableId:_0x48d1a5,unitId:_0x150d52,subUnitId:_0x42350d}=_0x18d16c,_0x1d8704=(await _0x424e4a[_0x2b809b(0x3c5)]({'unitId':_0x150d52,'subUnitId':_0x42350d,'pivotTableId':_0x48d1a5,'params':{'type':A[_0x2b809b(0x29a)],'setPivotSort':{'tableFieldId':_0x35fd1d,'info':_0xd05379}}}))[_0x2b809b(0x1b7)][_0x2b809b(0x36a)];if(!_0x1d8704)return!0x1;const {changesets:_0x3c0490}=_0x1d8704,{redos:_0x3a57a6,undos:_0x75b3f0}=me(_0x3fdd73,{'pivotTableId':_0x48d1a5,'unitId':_0x150d52,'subUnitId':_0x42350d},_0x3c0490);return _0x229014(_0x3a57a6,_0x3fdd73),_0x16916e[_0x2b809b(0x3e1)]({'unitID':_0x150d52,'redoMutations':_0x3a57a6,'undoMutations':_0x75b3f0}),!0x0;}},Ts={'type':_0x3d1e73['COMMAND'],'id':_0x3c024c(0x3e6),async 'handler'(_0x4b8da4,_0x342f65){const _0x2ef825=_0x3c024c;if(!_0x342f65)return!0x1;const _0x458234=_0x4b8da4[_0x2ef825(0x2ec)](_0xdba7c),_0x2bf33e=_0x4b8da4[_0x2ef825(0x2ec)](_0x168a03),_0x2726d8=_0x4b8da4[_0x2ef825(0x2ec)](Z),{displayName:_0x1d80e2,subtotalType:_0x46eb79,format:_0x34742b,tableFieldId:_0x1da0c7,pivotTableId:_0x53a06c,unitId:_0x53f61c,subUnitId:_0x551683}=_0x342f65,_0x476034=(await _0x2726d8[_0x2ef825(0x3c5)]({'unitId':_0x53f61c,'subUnitId':_0x551683,'pivotTableId':_0x53a06c,'params':{'type':A[_0x2ef825(0x292)],'setPivotSetting':{'tableFieldId':_0x1da0c7,'displayName':_0x1d80e2,'subtotalType':_0x46eb79,'format':_0x34742b}}}))[_0x2ef825(0x1b7)][_0x2ef825(0x38c)];if(!_0x476034)return!0x1;const {changesets:_0x570fff,view:_0x40f5d8,pivotTableConfig:_0x597b42,isEmpty:_0x1d4de9}=_0x476034,_0x42b5f4=_0x597b42[_0x2ef825(0x2a0)],_0x3f845a=new _0x289ec7();_0x3f845a['formJSON'](_0x40f5d8);const _0x12f1b1={'cellInfo':_0x42b5f4,'view':_0x3f845a,'isEmpty':_0x1d4de9};if(!await _0x4b8da4[_0x2ef825(0x2ec)](ie)[_0x2ef825(0x3bf)][_0x2ef825(0x29f)](be)(!0x0,_0x12f1b1))return!0x1;const _0x4eb760=we(_0x4b8da4,_0x3f845a,_0x42b5f4,_0x1d4de9),_0x421e12=_e(_0x4b8da4,_0x12f1b1),{undos:_0x51d25d,redos:_0x5c9211}=me(_0x458234,{'pivotTableId':_0x53a06c,'unitId':_0x53f61c,'subUnitId':_0x551683},_0x570fff);return _0x229014([..._0x4eb760[_0x2ef825(0x219)],..._0x421e12['redos'],..._0x5c9211],_0x458234),_0x2bf33e[_0x2ef825(0x3e1)]({'unitID':_0x53f61c,'redoMutations':[..._0x4eb760[_0x2ef825(0x219)],..._0x421e12[_0x2ef825(0x219)],..._0x5c9211],'undoMutations':[..._0x4eb760[_0x2ef825(0x1e7)],..._0x421e12['undos'],..._0x51d25d]}),!0x0;}},Ms={'type':_0x3d1e73[_0x3c024c(0x3c2)],'id':_0x3c024c(0x3f3),async 'handler'(_0x7fc88b,_0x3fe4d4){const _0x54b2f5=_0x3c024c,_0x2caa05=_0x7fc88b['get'](_0xdba7c),_0x30ba78=_0x7fc88b['get'](Z),_0x1348dc=_0x7fc88b['get'](_0x168a03);if(!_0x3fe4d4)return!0x1;const {token:_0x540812,dataRangeInfo:_0x5ca2d9,unitId:_0x4d7e16,subUnitId:_0x24be35}=_0x3fe4d4,_0x548ea6=[],_0xa74eff=[],_0x266748=(await _0x30ba78[_0x54b2f5(0x3c5)]({'unitId':_0x4d7e16,'subUnitId':_0x24be35,'pivotTableId':_0x540812,'params':{'type':A[_0x54b2f5(0x2af)],'updatePivotSource':{'dataRangeInfo':_0x5ca2d9,'unitId':_0x4d7e16,'subUnitId':_0x24be35}}}))[_0x54b2f5(0x1b7)]['updatePivotSource'];if(!_0x266748)return!0x1;const {changesets:_0x20538a,deleteIds:_0x2b2fbd,collectionConfig:_0x2bd5fa,oldCollectionConfig:_0x48ee9f,view:_0x1964ae,isEmpty:_0x55b6c2,pivotTableConfig:_0x32512c}=_0x266748;_0xa74eff[_0x54b2f5(0x28a)]({'id':to['id'],'params':{'pivotTableId':_0x540812,'deleteIds':_0x2b2fbd,'collectionJSON':_0x2bd5fa,'dataRangeInfo':_0x5ca2d9,'unitId':_0x4d7e16,'subUnitId':_0x24be35}}),_0x548ea6['unshift']({'id':to['id'],'params':{'pivotTableId':_0x540812,'deleteIds':[],'collectionJSON':_0x48ee9f,'dataRangeInfo':_0x32512c[_0x54b2f5(0x263)],'unitId':_0x4d7e16,'subUnitId':_0x24be35}});const _0x4d4f9f=_0x32512c[_0x54b2f5(0x2a0)],_0x26290b=new _0x289ec7();_0x26290b[_0x54b2f5(0x229)](_0x1964ae);const _0x85da67={'cellInfo':_0x4d4f9f,'view':_0x26290b,'isEmpty':_0x55b6c2};if(!await _0x7fc88b[_0x54b2f5(0x2ec)](ie)[_0x54b2f5(0x3bf)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x85da67))return!0x1;const _0x45498d=we(_0x7fc88b,_0x26290b,_0x4d4f9f,_0x55b6c2),_0x1d2d2d=_e(_0x7fc88b,_0x85da67),{undos:_0x3081db,redos:_0x19c7f2}=me(_0x2caa05,{'pivotTableId':_0x540812,'unitId':_0x4d7e16,'subUnitId':_0x24be35},_0x20538a);return _0x229014([..._0x45498d[_0x54b2f5(0x219)],..._0x1d2d2d[_0x54b2f5(0x219)],..._0xa74eff,..._0x3081db],_0x2caa05),_0x1348dc[_0x54b2f5(0x3e1)]({'unitID':_0x4d7e16,'redoMutations':[..._0x45498d[_0x54b2f5(0x219)],..._0x1d2d2d[_0x54b2f5(0x219)],..._0xa74eff,..._0x3081db],'undoMutations':[..._0x45498d[_0x54b2f5(0x1e7)],..._0x1d2d2d['undos'],..._0x548ea6,..._0x19c7f2]}),!0x0;}},ys={'type':_0x3d1e73[_0x3c024c(0x3c2)],'id':_0x3c024c(0x2da),async 'handler'(_0x4373dc,_0x39d24a){const _0x393b76=_0x3c024c;if(!_0x39d24a)return!0x1;const _0x47cc15=_0x4373dc['get'](_0xdba7c),_0x21f73a=_0x4373dc[_0x393b76(0x2ec)](Z),_0x5e25ac=_0x4373dc[_0x393b76(0x2ec)](_0x21c6a9),_0xc68fd1=_0x4373dc[_0x393b76(0x2ec)](_0x168a03),{pivotTableId:_0x1480f6,position:_0x23de2b,index:_0x23e9d2}=_0x39d24a,_0x1da17a=_0x3848e9(_0x5e25ac);if(!_0x1da17a)return!0x1;const {unitId:_0x1218ea,subUnitId:_0x453daa}=_0x1da17a,_0x466b44=(await _0x21f73a[_0x393b76(0x3c5)]({'unitId':_0x1218ea,'subUnitId':_0x453daa,'pivotTableId':_0x1480f6,'params':{'type':A[_0x393b76(0x2fe)],'updateValuePosition':{'position':_0x23de2b,'index':_0x23e9d2}}}))['result'][_0x393b76(0x226)];if(!_0x466b44)return!0x1;const {changesets:_0x368793,view:_0x2a2e6e,isEmpty:_0x5b9f5a,pivotTableConfig:_0x2c8dbf}=_0x466b44,_0x374651=_0x2c8dbf[_0x393b76(0x2a0)],_0x57f7a4=new _0x289ec7();_0x57f7a4[_0x393b76(0x229)](_0x2a2e6e);const _0x5e3667=_0x4373dc[_0x393b76(0x2ec)](ie),_0x589e82={'cellInfo':_0x374651,'view':_0x57f7a4,'isEmpty':_0x5b9f5a};if(!await _0x5e3667[_0x393b76(0x3bf)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x589e82))return!0x1;const _0x3ff8ca=we(_0x4373dc,_0x57f7a4,_0x374651,_0x5b9f5a),_0xb86d80=_e(_0x4373dc,_0x589e82),{undos:_0x3a6f7d,redos:_0x23cd74}=me(_0x47cc15,{'pivotTableId':_0x1480f6,'unitId':_0x1218ea,'subUnitId':_0x453daa},_0x368793);return _0x229014([..._0x3ff8ca[_0x393b76(0x219)],..._0xb86d80[_0x393b76(0x219)],..._0x23cd74],_0x47cc15),_0xc68fd1[_0x393b76(0x3e1)]({'unitID':_0x1218ea,'redoMutations':[..._0x3ff8ca[_0x393b76(0x219)],..._0xb86d80[_0x393b76(0x219)],..._0x23cd74],'undoMutations':[..._0x3ff8ca[_0x393b76(0x1e7)],..._0xb86d80[_0x393b76(0x1e7)],..._0x3a6f7d]}),!0x0;}},ws={'type':_0x3d1e73[_0x3c024c(0x3c2)],'id':_0x3c024c(0x22b),'handler':(_0x1c5b94,_0x4c6666)=>{const _0x56063e=_0x3c024c,_0x57aa81=_0x1c5b94[_0x56063e(0x2ec)](_0xdba7c),_0x358385=_0x1c5b94[_0x56063e(0x2ec)](_0x168a03),_0xcd31f4=_0x1c5b94[_0x56063e(0x2ec)](he),_0x436239=_0x1c5b94['get'](_0x21c6a9);if(!_0x4c6666)return!0x1;const _0x1f262d=_0x3848e9(_0x436239);if(!_0x1f262d)return!0x1;const {unitId:_0x2bcde7,subUnitId:_0x19fbf0,workbook:_0x793213}=_0x1f262d,_0x1fd47e=_0xcd31f4[_0x56063e(0x2e7)](_0x4c6666[_0x56063e(0x286)][_0x56063e(0x2ca)],_0x4c6666[_0x56063e(0x286)]['subUnitId'],_0x4c6666[_0x56063e(0x1d5)]);if(!_0x1fd47e)return!0x1;const _0x126d5f=_0x793213[_0x56063e(0x393)](_0x4c6666[_0x56063e(0x2a0)][_0x56063e(0x1e9)]);if(!_0x126d5f)throw new Error(_0x56063e(0x25c));const _0x2139ee=_0x126d5f[_0x56063e(0x2f5)](),_0xdbf18d=_0x126d5f[_0x56063e(0x1ee)]();if(_0x4c6666[_0x56063e(0x2a0)]['row']>_0x2139ee||_0x4c6666[_0x56063e(0x2a0)][_0x56063e(0x3f1)]>_0xdbf18d)throw new Error(_0x56063e(0x35f));const _0x16e012=[{'id':pt['id'],'params':{'unitId':_0x2bcde7,'subUnitId':_0x4c6666[_0x56063e(0x2a0)]['subUnitId'],'pivotTableId':_0x4c6666[_0x56063e(0x1d5)],'targetCellPosition':{'row':_0x4c6666[_0x56063e(0x2a0)]['row'],'col':_0x4c6666[_0x56063e(0x2a0)][_0x56063e(0x3f1)]}}}],_0x5747ca=[{'id':pt['id'],'params':{'unitId':_0x2bcde7,'subUnitId':_0x19fbf0,'pivotTableId':_0x4c6666[_0x56063e(0x1d5)],'targetCellPosition':{'row':_0x1fd47e[_0x56063e(0x2a0)][_0x56063e(0x246)],'col':_0x1fd47e[_0x56063e(0x2a0)][_0x56063e(0x3f1)]}}}];return _0x229014(_0x16e012,_0x57aa81)&&_0x358385[_0x56063e(0x3e1)]({'unitID':_0x2bcde7,'undoMutations':_0x5747ca,'redoMutations':_0x16e012}),!0x0;}},_s={'type':_0x3d1e73[_0x3c024c(0x3c2)],'id':_0x3c024c(0x23f),async 'handler'(_0x55d996,_0x355f8a){const _0x54c036=_0x3c024c;if(!_0x355f8a)return!0x1;const _0x2f1588=_0x55d996['get'](_0xdba7c),{pivotTableId:_0x83ebac,fieldId:_0x432ccf,valueFilterInfo:_0x1790ee,unitId:_0x4e029e,subUnitId:_0x241de2}=_0x355f8a,_0xad3d85=_0x55d996[_0x54c036(0x2ec)](Z),_0xa8aea8=_0x55d996[_0x54c036(0x2ec)](_0x168a03),_0x3535a5=(await _0xad3d85['getPivotDisplayConfig']({'unitId':_0x4e029e,'subUnitId':_0x241de2,'pivotTableId':_0x83ebac,'params':{'type':A[_0x54c036(0x411)],'setValuePivotFilter':{'tableFieldId':_0x432ccf,'filterInfo':_0x1790ee}}}))[_0x54c036(0x1b7)][_0x54c036(0x32a)];if(!_0x3535a5)return!0x1;const {changesets:_0x4b1b06,pivotTableConfig:_0x2d0c10,isEmpty:_0x4cf955,view:_0x212fbb}=_0x3535a5,_0x407c8f=_0x2d0c10['targetCellInfo'],_0x13c0f0=new _0x289ec7();_0x13c0f0['formJSON'](_0x212fbb);const _0x34eef={'cellInfo':_0x407c8f,'view':_0x13c0f0,'isEmpty':_0x4cf955};if(!await _0x55d996[_0x54c036(0x2ec)](ie)[_0x54c036(0x3bf)][_0x54c036(0x29f)](be)(!0x0,_0x34eef))return!0x1;const _0x2e647d=we(_0x55d996,_0x13c0f0,_0x407c8f,_0x4cf955),_0x13fd05=_e(_0x55d996,_0x34eef),{undos:_0x3852fe,redos:_0x1629ab}=me(_0x2f1588,{'pivotTableId':_0x83ebac,'unitId':_0x4e029e,'subUnitId':_0x241de2},_0x4b1b06);return _0x229014([..._0x2e647d[_0x54c036(0x219)],..._0x13fd05[_0x54c036(0x219)],..._0x1629ab],_0x2f1588),_0xa8aea8['pushUndoRedo']({'unitID':_0x4e029e,'redoMutations':[..._0x2e647d[_0x54c036(0x219)],..._0x13fd05[_0x54c036(0x219)],..._0x1629ab],'undoMutations':[..._0x2e647d[_0x54c036(0x1e7)],..._0x13fd05['undos'],..._0x3852fe]}),!0x0;}},Rs={'type':_0x3d1e73[_0x3c024c(0x3c2)],'id':_0x3c024c(0x3ed),async 'handler'(_0x4ced2c,_0x45dca6){const _0x28469d=_0x3c024c;if(!_0x45dca6)return!0x1;const _0x4eeddf=_0x4ced2c[_0x28469d(0x2ec)](_0xdba7c),_0x542409=_0x4ced2c[_0x28469d(0x2ec)](_0x168a03),_0x4f3efd=_0x4ced2c['get'](Z),{pivotTableConfig:_0x952ff1,pivotTableId:_0x177d3c,unitId:_0x189016,subUnitId:_0xec822d}=_0x45dca6,_0x46ff49=(await _0x4f3efd[_0x28469d(0x3c5)]({'unitId':_0x189016,'subUnitId':_0xec822d,'pivotTableId':_0x177d3c,'params':{'type':A[_0x28469d(0x339)],'setPivotTableConfig':{'pivotTableId':_0x177d3c,'pivotTableConfig':_0x952ff1}}}))[_0x28469d(0x1b7)]['setPivotTableConfig'];if(!_0x46ff49)return!0x1;const {changesets:_0x2da998}=_0x46ff49,{redos:_0x8426ad,undos:_0x2400e5}=me(_0x4eeddf,{'pivotTableId':_0x177d3c,'unitId':_0x189016,'subUnitId':_0xec822d},_0x2da998);return _0x229014(_0x8426ad,_0x4eeddf),_0x542409[_0x28469d(0x3e1)]({'unitID':_0x189016,'redoMutations':_0x8426ad,'undoMutations':_0x2400e5}),!0x0;}},Fs={'type':_0x3d1e73[_0x3c024c(0x3c2)],'id':_0x3c024c(0x2c8),async 'handler'(_0x3eb629,_0x34d108){const _0x26c13a=_0x3c024c;if(!_0x34d108)return!0x1;const _0x38045f=_0x3eb629[_0x26c13a(0x2ec)](_0xdba7c),_0x58cf45=_0x3eb629['get'](_0x168a03),_0x3ced92=_0x3eb629[_0x26c13a(0x2ec)](Z),{resetArea:_0x459d4e,pivotTableId:_0xc2176f,unitId:_0x34d932,subUnitId:_0x4cb346}=_0x34d108,_0x1049db=(await _0x3ced92['getPivotDisplayConfig']({'unitId':_0x34d932,'subUnitId':_0x4cb346,'pivotTableId':_0xc2176f,'params':{'type':A[_0x26c13a(0x3f4)],'resetPivotTable':{'pivotTableId':_0xc2176f,'resetArea':_0x459d4e}}}))['result'][_0x26c13a(0x3cc)];if(!_0x1049db)return!0x1;const {changesets:_0x37aaed}=_0x1049db,{redos:_0x3a70b7,undos:_0x328841}=me(_0x38045f,{'pivotTableId':_0xc2176f,'unitId':_0x34d932,'subUnitId':_0x4cb346},_0x37aaed);return _0x229014(_0x3a70b7,_0x38045f),_0x58cf45[_0x26c13a(0x3e1)]({'unitID':_0x34d932,'redoMutations':_0x3a70b7,'undoMutations':_0x328841}),!0x0;}},oo={'id':_0x3c024c(0x306),'type':_0x3d1e73['MUTATION'],'handler':(_0x3044b2,_0x3a18a9)=>{const _0x248136=_0x3c024c;if(!_0x3a18a9)return!0x1;if(!!_0x3044b2[_0x248136(0x2ec)](_0x4ca711)[_0x248136(0x302)](q))return!0x0;const {unitId:_0x170fd4,subUnitId:_0x5e5dd0,pivotTableId:_0x47cc48,tableFieldId:_0x1eb699,dateType:_0x4b7649}=_0x3a18a9,_0x10947f=_0x3044b2[_0x248136(0x2ec)]($),_0xb0c364=_0x10947f['getPivotTableInstance'](_0x47cc48);if(!_0xb0c364)return!0x1;const _0x594acd=_0xb0c364[_0x248136(0x323)](_0x1eb699);if(!_0x594acd)return!0x1;const _0x64d658=_0x594acd['getOriginFieldId'](),_0x50f913=_0xb0c364[_0x248136(0x1e8)](_0x64d658),_0x19532c=(_0x50f913==null?void 0x0:_0x50f913[_0x248136(0x36e)]())+'\x20'+qo(_0x3044b2,_0x4b7649);_0x10947f[_0x248136(0x1f5)](_0x170fd4,_0x47cc48)[_0x248136(0x1d4)](_0x594acd['id'],_0x19532c);const _0x3b43c2=_0xb0c364[_0x248136(0x1d9)](_0x1eb699);if(!_0x3b43c2)return!0x1;_0xb0c364[_0x248136(0x39e)](_0x3b43c2[_0x248136(0x288)](),_0x19532c),_0x594acd['setDateType'](_0x4b7649);const _0xdcee75=_0x10947f['getPivotTableConfig'](_0x170fd4,_0x5e5dd0,_0x47cc48);return _0x10947f['addDirtyPivotTable']({'unitId':_0x170fd4,'subUnitId':_0x5e5dd0,'token':_0x47cc48,'type':L[_0x248136(0x1c0)],'pivotConfig':_0xdcee75}),!0x0;}},Ds={'id':_0x3c024c(0x36f),'type':_0x3d1e73[_0x3c024c(0x3c2)],'handler':(_0x3731ae,_0x19fa68)=>{const _0x75aa09=_0x3c024c;if(!_0x19fa68)return!0x1;const _0x1055ff=_0x3731ae[_0x75aa09(0x2ec)](_0x168a03),{unitId:_0x5808ad,subUnitId:_0x4719fd,pivotTableId:_0x5beb27,tableFieldId:_0xcfd2bb}=_0x19fa68,_0x4163d5=[],_0x19330e=[],_0x51c470=_0x3731ae[_0x75aa09(0x2ec)](he),_0x1d4384=_0x51c470['getCollection'](_0x5808ad,_0x5beb27),_0x25f8ae=_0x51c470[_0x75aa09(0x2e7)](_0x5808ad,_0x4719fd,_0x5beb27);if(!(_0x25f8ae!=null&&_0x25f8ae[_0x75aa09(0x2c4)][_0x75aa09(0x3e0)]))return!0x1;const _0x5b696b=Object[_0x75aa09(0x41f)](_0x25f8ae['fieldsConfig']['dimension'])[_0x75aa09(0x2df)](_0x5419d5=>_0x5419d5['id']===_0xcfd2bb);if(!_0x5b696b)return!0x1;const _0x33db5b=_0x5b696b[_0x75aa09(0x289)];if(!(_0x1d4384!=null&&_0x1d4384[_0x75aa09(0x327)]))return!0x1;const _0x13c736=Object[_0x75aa09(0x41f)](_0x1d4384==null?void 0x0:_0x1d4384['fields'])[_0x75aa09(0x2df)](_0x12a953=>_0x12a953['id']===_0x33db5b);if(!_0x13c736)return!0x1;_0x12ae80(_0x13c736)&&_0x4163d5[_0x75aa09(0x28a)]({'id':oo['id'],'params':{..._0x19fa68,'dateType':_0x13c736[_0x75aa09(0x3bb)]}}),_0x19330e[_0x75aa09(0x28a)]({'id':oo['id'],'params':{..._0x19fa68}});const _0x56e797=_0x3731ae[_0x75aa09(0x2ec)](_0xdba7c);return _0x229014(_0x19330e,_0x56e797)&&_0x1055ff['pushUndoRedo']({'unitID':_0x5808ad,'undoMutations':_0x4163d5,'redoMutations':_0x19330e}),!0x0;}};var Ns=Object['getOwnPropertyDescriptor'],Us=(_0x36a41c,_0x3a9025,_0x472fb3,_0x213b60)=>{for(var _0x25ece9=_0x213b60>0x1?void 0x0:_0x213b60?Ns(_0x3a9025,_0x472fb3):_0x3a9025,_0x134291=_0x36a41c['length']-0x1,_0x1e97c1;_0x134291>=0x0;_0x134291--)(_0x1e97c1=_0x36a41c[_0x134291])&&(_0x25ece9=_0x1e97c1(_0x25ece9)||_0x25ece9);return _0x25ece9;},He=(_0x1f266d,_0x1403da)=>(_0x26e364,_0x5c657f)=>_0x1403da(_0x26e364,_0x5c657f,_0x1f266d);const Vs=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Os=(_0x4d83dc,_0x47c67b,_0x1a1f62)=>{const _0x46b1d0=_0x3c024c,_0xfe45b6=_0x4d83dc['dataFieldsCollection'];_0x4d83dc[_0x46b1d0(0x245)](_0x112f34=>{const _0x238788=_0x46b1d0,_0x779986=_0x112f34[_0x238788(0x288)](),_0x41b8aa=_0x112f34['getDataFieldId'](),_0x1c4193=_0x112f34['getSourceName'](),_0x524b86=_0x112f34['getDisplayName']();_0x47c67b[_0x41b8aa]&&_0x47c67b[_0x41b8aa]===_0x524b86&&_0x1c4193===_0x524b86&&(_0x4d83dc['renameField'](_0x779986,_0xfe45b6[_0x238788(0x354)](_0x41b8aa)),_0x112f34[_0x238788(0x274)](_0xfe45b6[_0x238788(0x354)](_0x41b8aa)));}),_0x4d83dc[_0x46b1d0(0x3b2)](_0x395ac9[_0x46b1d0(0x2be)],_0x1477b6=>{const _0x45b242=_0x46b1d0,_0x588acf=_0x1477b6[_0x45b242(0x288)](),_0x4ae55a=_0x1477b6[_0x45b242(0x20e)](),_0x2a8aea=_0x1477b6[_0x45b242(0x1a7)](),_0x55935e=_0x1477b6[_0x45b242(0x354)](),_0x3440f1=_0x1477b6[_0x45b242(0x1cf)](),_0x364f87=_0x1a1f62(_0x2a8aea,_0x3440f1);_0x47c67b[_0x4ae55a]&&_0x47c67b[_0x4ae55a]===_0x2a8aea&&_0x364f87===_0x55935e&&(_0x4d83dc[_0x45b242(0x39e)](_0x588acf,_0x1a1f62(_0xfe45b6[_0x45b242(0x354)](_0x4ae55a),_0x3440f1)),_0x1477b6[_0x45b242(0x274)](_0xfe45b6[_0x45b242(0x354)](_0x4ae55a)));});},Es=(_0x113a61,_0x575e71,_0x828b5a)=>{const _0x5785da=_0x3c024c;var _0x32dc1e,_0x10644d;const {arrayFormulaCellData:_0x12424e,unitData:_0x1d8b20}=_0x575e71,{unitId:_0x3f4a2d,subUnitId:_0x39794c}=_0x828b5a,_0x1bb536=_0x828b5a[_0x5785da(0x264)],{startColumn:_0x1902e3,endColumn:_0x1a723b}=_0x1bb536,_0x1c694c=(_0x32dc1e=_0x12424e==null?void 0x0:_0x12424e[_0x3f4a2d])==null?void 0x0:_0x32dc1e[_0x39794c],_0x394e30=(_0x10644d=_0x1d8b20==null?void 0x0:_0x1d8b20[_0x3f4a2d])==null?void 0x0:_0x10644d[_0x39794c],_0x346d40=new Set(),_0x1c7d5c=_0x1a723b-_0x1902e3+0x1,{dirtyRanges:_0x44cbcb}=_0x113a61;if(_0x44cbcb)for(const {range:_0xda03f0,sheetId:_0x1d77a5,unitId:_0xf818bb}of _0x44cbcb){if(_0x1d77a5!==_0x39794c||_0x3f4a2d!==_0xf818bb)continue;const _0x34c3c2=_0x20db5c[_0x5785da(0x2e5)](_0xda03f0,_0x1bb536);if(_0x34c3c2){const {startColumn:_0x1636be,endColumn:_0x568a55}=_0x34c3c2;for(let _0x304f1b=_0x1636be;_0x304f1b<=_0x568a55;_0x304f1b++)_0x346d40[_0x5785da(0x285)](_0x304f1b);}}if(_0x346d40[_0x5785da(0x37a)]===_0x1c7d5c||_0x346d40['size']===_0x1c7d5c)return Array[_0x5785da(0x2ef)](_0x346d40);if(_0x394e30){const _0x409812=_0x394e30[_0x5785da(0x382)](),_0xe00962=Object[_0x5785da(0x2c1)](_0x409812);for(const _0x442282 of _0xe00962){const _0xee3545=Number(_0x442282),_0x1a6e90=_0x409812[_0xee3545];if(_0x346d40['size']===_0x1c7d5c)break;for(const _0x3de834 in _0x1a6e90){const _0x11a56f=Number(_0x3de834);_0x11a56f<_0x1902e3||_0x11a56f>_0x1a723b||_0x346d40[_0x5785da(0x285)](_0x11a56f);}}}if(_0x1c694c){const _0x4a5f94=_0x1c694c[_0x5785da(0x382)](),_0xd6d37a=Object[_0x5785da(0x2c1)](_0x4a5f94);for(const _0x3acc7b of _0xd6d37a){const _0x1bbefc=Number(_0x3acc7b),_0x8c6f80=_0x4a5f94[_0x1bbefc];if(_0x346d40['size']===_0x1c7d5c)break;for(const _0x23ad20 in _0x8c6f80){const _0x192db0=Number(_0x23ad20);_0x192db0<_0x1902e3||_0x192db0>_0x1a723b||_0x346d40['add'](_0x192db0);}}}return Array[_0x5785da(0x2ef)](_0x346d40);},xs=_0x4602ea=>{const _0x21cec3=_0x3c024c,_0xd13ba=new Set(),_0x118daa=[];for(const _0x319666 of _0x4602ea){const _0x368bcb=_0x319666[_0x21cec3(0x1ed)]+','+_0x319666[_0x21cec3(0x365)]+','+_0x319666[_0x21cec3(0x210)]+','+_0x319666[_0x21cec3(0x2e6)];_0xd13ba[_0x21cec3(0x338)](_0x368bcb)||(_0xd13ba['add'](_0x368bcb),_0x118daa[_0x21cec3(0x28a)](_0x319666));}return _0x118daa;};let dt=class extends _0x2a4487{constructor(_0x4ba9b8,_0x44cd73,_0x1cdf30,_0x4b3942,_0x7a550c,_0x3c2d34){const _0x17b678=_0x3c024c;super(),V(this,_0x17b678(0x299),new _0x1c2f46(!0x0)),V(this,_0x17b678(0x2b4),_0x41c243=>{const _0x146a17=_0x17b678;this[_0x146a17(0x299)][_0x146a17(0x2e0)](!0x1);}),V(this,'_globalComputedEndHelpFunc',_0x309e5e=>{const _0x4119b5=_0x17b678;this[_0x4119b5(0x299)][_0x4119b5(0x2e0)](!0x0);}),(this[_0x17b678(0x33f)]=_0x4ba9b8,this[_0x17b678(0x379)]=_0x44cd73,this['_featureCalculationManagerService']=_0x1cdf30,this['_commandService']=_0x4b3942,this[_0x17b678(0x36d)]=_0x7a550c,this[_0x17b678(0x1ff)]=_0x3c2d34,this[_0x17b678(0x202)](),this['_initPivotDataGetListener']());}['_init'](){const _0x6b604f=_0x3c024c;this[_0x6b604f(0x330)](),this[_0x6b604f(0x1bf)](),this[_0x6b604f(0x351)](),this[_0x6b604f(0x27c)]();}[_0x3c024c(0x296)](){const _0x5933b5=_0x3c024c;this['_globalComputingSrv'][_0x5933b5(0x3ff)](this[_0x5933b5(0x299)]),_0x4e9a78[_0x5933b5(0x28e)](_0x592474[_0x5933b5(0x30e)],this[_0x5933b5(0x2b4)]),_0x4e9a78[_0x5933b5(0x28e)](_0x592474['onQueryEnd'],this[_0x5933b5(0x304)]);}[_0x3c024c(0x26b)](){const _0x4e4bbd=_0x3c024c;this[_0x4e4bbd(0x1da)](this[_0x4e4bbd(0x1f9)][_0x4e4bbd(0x309)](_0x198044=>{const _0x2c09cc=_0x4e4bbd;_0x198044['id']===_0x4e47cd['id']&&this['_sheetsPivotDataSourceModel'][_0x2c09cc(0x33c)](_0x198044[_0x2c09cc(0x225)]);})),this[_0x4e4bbd(0x1da)](this[_0x4e4bbd(0x1f9)][_0x4e4bbd(0x309)](_0x1d71ea=>{const _0x207f8a=_0x4e4bbd;if(_0x1d71ea['id']!==ro['id'])return;const _0x1c96b4=_0x1d71ea[_0x207f8a(0x225)],{unitId:_0x2853c5,subUnitId:_0x4bf9f4,pivotTableId:_0x403901}=_0x1c96b4,_0x36c29d=_0x1c96b4[_0x207f8a(0x225)][_0x207f8a(0x2b8)],_0xf2a595={};switch(_0x36c29d){case A[_0x207f8a(0x1f7)]:{const _0x39dd79=_0x1c96b4[_0x207f8a(0x225)]['filter'];if(!_0x39dd79)return;const {row:_0x2b0df9,col:_0x22cf61,cellData:_0xdec81f,pivotItemRenderInfoCache:_0x5073ee,tableFieldId:_0x5752a}=_0x39dd79,_0x89aa36=this[_0x207f8a(0x33f)][_0x207f8a(0x266)](_0x1c96b4[_0x207f8a(0x1d5)]);if(!_0x89aa36||!_0x5073ee)return;if(_0x5752a){const _0x510b7d=_0x89aa36[_0x207f8a(0x323)](_0x5752a);if(!_0x510b7d)return;_0xf2a595[_0x207f8a(0x1aa)]={..._0x89aa36[_0x207f8a(0x303)](_0x510b7d),'tableFieldId':_0x5752a,'pivotTableId':_0x1c96b4[_0x207f8a(0x1d5)],'filterInfo':_0x89aa36[_0x207f8a(0x372)](_0x5752a),'sortInfo':_0x89aa36['getSortInfo'](_0x5752a),'format':_0x89aa36[_0x207f8a(0x247)](_0x5752a)};}else{const _0x3e3184=Ei(_0x2b0df9,_0x22cf61,_0xdec81f,_0x89aa36,_0x5073ee),_0x49a0ec=_0x3e3184==null?void 0x0:_0x3e3184['filterId'];if(!_0x49a0ec)return;const _0x70af9d=_0x89aa36[_0x207f8a(0x323)](_0x49a0ec);if(!_0x70af9d)return;_0xf2a595[_0x207f8a(0x1aa)]={..._0x89aa36[_0x207f8a(0x303)](_0x70af9d),'tableFieldId':_0x49a0ec,'pivotTableId':_0x1c96b4[_0x207f8a(0x1d5)],'filterInfo':_0x89aa36[_0x207f8a(0x372)](_0x49a0ec),'sortInfo':_0x89aa36[_0x207f8a(0x1ea)](_0x49a0ec),'format':_0x89aa36[_0x207f8a(0x247)](_0x49a0ec)};}}break;case A[_0x207f8a(0x3f6)]:{const _0x513b55=_0x1c96b4['params']['panel'];if(!_0x513b55)return;const {pivotTableId:_0x4920e8}=_0x513b55,_0x192d93=this['_sheetsPivotDataSourceModel'][_0x207f8a(0x266)](_0x4920e8);if(!_0x192d93)return;const _0x3a4925=this[_0x207f8a(0x33f)][_0x207f8a(0x2e7)](_0x2853c5,_0x4bf9f4,_0x4920e8),_0x13728d=xi(_0x192d93,_0x4920e8,_0x3a4925);_0xf2a595[_0x207f8a(0x267)]=_0x13728d;}break;case A[_0x207f8a(0x1e5)]:{const _0x3422a3=this[_0x207f8a(0x33f)][_0x207f8a(0x266)](_0x403901),_0x2d03f2=this['_sheetsPivotDataSourceModel'][_0x207f8a(0x41d)](_0x2853c5),_0x168554=_0x2d03f2[_0x207f8a(0x1f5)](_0x403901);let _0x2c5f6b=null;const _0x20682f=this[_0x207f8a(0x33f)]['getPivotTableConfig'](_0x2853c5,_0x4bf9f4,_0x403901),_0x1bd1a2=_0x1c96b4['params'][_0x207f8a(0x233)];if(!_0x3422a3||!_0x20682f||!_0x1bd1a2)return!0x1;const {dataFieldId:_0xc7bf25,fieldArea:_0x1fc8f1,index:_0x3f1c18}=_0x1bd1a2;_0x3422a3[_0x207f8a(0x357)]();const _0x3c9131=_0x3422a3[_0x207f8a(0x2d7)](_0xc7bf25,_0x1fc8f1,_0x3f1c18);if(_0x3c9131&&_0x1fc8f1===_0x395ac9[_0x207f8a(0x2be)]){const _0x694de3=_0x3c9131[_0x207f8a(0x288)](),_0x4abe68=_0x3422a3['getDataFieldByTableId'](_0x694de3);if(_0x4abe68){const _0x5aa9d9=_0x4abe68==null?void 0x0:_0x4abe68[_0x207f8a(0x386)]();_0x3422a3[_0x207f8a(0x34c)](_0x3c9131[_0x207f8a(0x288)](),_0x5aa9d9===_0x56fe07[_0x207f8a(0x21d)]?_0x2228cd[_0x207f8a(0x242)]:_0x2228cd[_0x207f8a(0x30d)]);}const _0x41daf4=_0x3422a3[_0x207f8a(0x215)](),_0x4553f4=_0x3422a3[_0x207f8a(0x24c)](),_0x3711ae=_0x3422a3['getFieldCountByArea'](_0x395ac9[_0x207f8a(0x2be)]);if(_0x41daf4===-0x1&&_0x3711ae>0x1){const _0x531db9=_0x4553f4===_0xbe767f[_0x207f8a(0x234)]?_0xbe767f[_0x207f8a(0x1ac)]:_0x4553f4,_0x7d6f5d=_0x531db9===_0xbe767f[_0x207f8a(0x3c8)]?_0x395ac9[_0x207f8a(0x3c8)]:_0x395ac9[_0x207f8a(0x1ac)];_0x3422a3[_0x207f8a(0x226)](_0x531db9,_0x3422a3['getFieldCountByArea'](_0x7d6f5d));}}else{if(_0x3c9131&&(_0x1fc8f1===_0x395ac9[_0x207f8a(0x3c8)]||_0x1fc8f1===_0x395ac9[_0x207f8a(0x1ac)])){const _0x50df45=_0x3c9131[_0x207f8a(0x288)](),_0xd8338e=_0x3422a3[_0x207f8a(0x323)](_0x50df45);if(_0xd8338e&&(_0xd8338e==null?void 0x0:_0xd8338e[_0x207f8a(0x386)]())===_0x56fe07[_0x207f8a(0x409)]){const _0x2ecef2=_0xd8338e[_0x207f8a(0x3f8)]();if(_0x2ecef2&&_0x3422a3[_0x207f8a(0x1ab)](_0x3c9131[_0x207f8a(0x288)](),_0x2ecef2),!_0x168554[_0x207f8a(0x211)]()[_0x207f8a(0x385)](_0x419ad0=>{const _0x380786=_0x207f8a,_0x3f7b68=_0x168554['getFieldById'](_0x419ad0);return _0x1ba629(_0x3f7b68)?_0x3f7b68[_0x380786(0x362)]()['originalFieldId']===_0xc7bf25:!0x1;})){const _0x1efb4a=_0x2d03f2[_0x207f8a(0x3b9)](),_0x3fc4a8=Wi(_0xd8338e[_0x207f8a(0x3f9)],_0xd8338e[_0x207f8a(0x269)]),_0x43d59a=_0xd8338e['getName']()+'\x20-\x20'+qo(this[_0x207f8a(0x1ff)],_0x3fc4a8),_0x317dcd=new _0x540304(_0x1efb4a,_0x43d59a,_0x1bceee(0x3),_0xd8338e['getId'](),_0x3fc4a8);_0x2d03f2[_0x207f8a(0x397)](_0x317dcd),_0x168554[_0x207f8a(0x1e3)](_0x1efb4a,_0x43d59a),_0x3422a3['addFieldWithSourceId'](_0x1efb4a,_0x1fc8f1,(_0x3f1c18!=null?_0x3f1c18:0x0)+0x1),_0x2c5f6b=_0x317dcd;}}}}const _0x32b10e=_0x3422a3['isEmpty'](),_0x33f34f=_0x3422a3[_0x207f8a(0x26f)]()['toJSON']();let _0x93c0b4;if(_0x2c5f6b){_0x93c0b4=_0x2c5f6b[_0x207f8a(0x1ba)]();const _0xf6c46c=_0x2c5f6b[_0x207f8a(0x288)]();_0x168554[_0x207f8a(0x347)](_0xf6c46c);let _0x43e6a1=!0x0;for(const _0x393bef in _0x2d03f2[_0x207f8a(0x1fa)])if(_0x2d03f2[_0x207f8a(0x1fa)][_0x393bef][_0x207f8a(0x211)]()['includes'](_0xf6c46c)){_0x43e6a1=!0x1;break;}_0x43e6a1&&_0x2d03f2[_0x207f8a(0x2d6)](_0xf6c46c);}const _0x3043de=_0x3422a3[_0x207f8a(0x334)]();_0xf2a595['addPivotField']={'view':_0x33f34f,'changesets':_0x3043de,'isEmpty':_0x32b10e,'pivotTableConfig':_0x20682f,'shouldBeAddedGroupJSON':_0x93c0b4};}break;case A['AddPivotTable']:{const _0x4238ce=_0x1c96b4[_0x207f8a(0x225)][_0x207f8a(0x1cc)];if(!_0x4238ce)return;const _0x4d4b9b=_0x4238ce[_0x207f8a(0x263)],_0x390da3=_0x4238ce['pivotTableId'],{collection:_0x2647d0}=this[_0x207f8a(0x33f)][_0x207f8a(0x2db)]({'unitId':_0x4d4b9b[_0x207f8a(0x2ca)],'sheetName':_0x4d4b9b[_0x207f8a(0x228)],'subUnitId':_0x4d4b9b[_0x207f8a(0x1e9)],'range':_0x4d4b9b[_0x207f8a(0x264)]}),_0x9bc615=new _0x4e9a78(_0x2647d0,void 0x0,_0x390da3),_0x4901f7=_0x9bc615['query'](),_0x220548=_0x9bc615[_0x207f8a(0x1ba)](),_0x1a6651=_0x2647d0[_0x207f8a(0x1ba)]();_0xf2a595['addPivotTable']={'view':_0x4901f7,'fieldsConfig':_0x220548,'collectionConfig':_0x1a6651,'isEmpty':_0x9bc615[_0x207f8a(0x201)]()};}break;case A[_0x207f8a(0x38e)]:{const _0x355c99=_0x1c96b4[_0x207f8a(0x225)][_0x207f8a(0x212)];if(!_0x355c99)return;const {fieldId:_0x4b1612,area:_0x227a42,index:_0x42084b}=_0x355c99,_0xac1e49=this[_0x207f8a(0x33f)][_0x207f8a(0x2e7)](_0x2853c5,_0x4bf9f4,_0x403901);if(!_0xac1e49)return;const _0xff662b=this['_sheetsPivotDataSourceModel'][_0x207f8a(0x266)](_0x403901);if(!_0xff662b)return;_0xff662b[_0x207f8a(0x357)]();const {area:_0x3293fd,index:_0x212dc7}=_0xff662b[_0x207f8a(0x308)](_0x4b1612);if(_0xff662b[_0x207f8a(0x2d0)](_0x4b1612,_0x227a42,_0x42084b),_0x227a42===_0x395ac9[_0x207f8a(0x2be)]&&_0xff662b['getTableFieldById'](_0x4b1612)[_0x207f8a(0x1cf)]()===void 0x0){const _0x576cb7=_0xff662b[_0x207f8a(0x1d9)](_0x4b1612);if(_0x576cb7&&_0x576cb7['getSubtotal']()===void 0x0){const _0x70bb62=_0xff662b[_0x207f8a(0x323)](_0x4b1612);if(_0x70bb62){const _0x18039f=_0x70bb62==null?void 0x0:_0x70bb62['getFieldDataType']();_0xff662b[_0x207f8a(0x34c)](_0x4b1612,_0x18039f===_0x56fe07[_0x207f8a(0x21d)]?_0x2228cd['sum']:_0x2228cd[_0x207f8a(0x30d)]);}}}const _0x8836fb=_0xff662b[_0x207f8a(0x24c)](),_0x15c955=_0xff662b[_0x207f8a(0x215)](),_0x22c2a1=_0xff662b['getFieldCountByArea'](_0x395ac9[_0x207f8a(0x2be)])>0x1;if(_0x22c2a1&&_0x3293fd===_0x227a42&&(_0x227a42===_0x395ac9[_0x207f8a(0x3c8)]&&_0x8836fb===_0xbe767f[_0x207f8a(0x3c8)]||_0x227a42===_0x395ac9[_0x207f8a(0x1ac)]&&_0x8836fb===_0xbe767f[_0x207f8a(0x1ac)])){let _0x234a84=_0x15c955;_0x212dc7<=_0x15c955&&_0x234a84--,_0x42084b<=_0x15c955&&_0x234a84++,_0xff662b[_0x207f8a(0x226)](_0x8836fb,_0x234a84);}else _0x22c2a1&&(_0x3293fd===_0x395ac9['Row']&&_0x8836fb===_0xbe767f['Row']||_0x3293fd===_0x395ac9[_0x207f8a(0x1ac)]&&_0x8836fb===_0xbe767f[_0x207f8a(0x1ac)])&&_0x15c955>=_0x212dc7&&_0xff662b[_0x207f8a(0x226)](_0x8836fb,_0x15c955-0x1),_0x22c2a1&&(_0x227a42===_0x395ac9[_0x207f8a(0x3c8)]&&_0x8836fb===_0xbe767f[_0x207f8a(0x3c8)]||_0x227a42===_0x395ac9['Column']&&_0x8836fb===_0xbe767f['Column'])&&_0x15c955>=_0x42084b&&_0xff662b[_0x207f8a(0x226)](_0x8836fb,_0x15c955+0x1);const _0x45485f=_0xff662b['query'](),_0x30bff9=_0xff662b['isEmpty'](),_0x363d80=_0xff662b[_0x207f8a(0x334)]();_0xf2a595[_0x207f8a(0x212)]={'view':_0x45485f['toJSON'](),'changesets':_0x363d80,'isEmpty':_0x30bff9,'pivotTableConfig':_0xac1e49};}break;case A['RemovePivotField']:{const _0x479add=_0x1c96b4[_0x207f8a(0x225)][_0x207f8a(0x358)];if(!_0x479add)return;const _0x36a158=_0x479add[_0x207f8a(0x381)],_0x2809f6=this[_0x207f8a(0x33f)][_0x207f8a(0x2e7)](_0x2853c5,_0x4bf9f4,_0x403901);if(!_0x2809f6)return!0x1;const _0x4e4110=this[_0x207f8a(0x33f)][_0x207f8a(0x266)](_0x403901);if(!_0x4e4110)return!0x1;_0x4e4110[_0x207f8a(0x357)]();for(const _0x15574e of _0x36a158){const {area:_0x532822}=_0x4e4110['getFieldPositionInfoById'](_0x15574e);_0x532822===_0x395ac9[_0x207f8a(0x2be)]&&_0x4e4110[_0x207f8a(0x2b3)](_0x15574e),(_0x532822===_0x395ac9[_0x207f8a(0x3c8)]||_0x532822===_0x395ac9['Column'])&&_0x4e4110[_0x207f8a(0x2b9)](_0x15574e),_0x4e4110[_0x207f8a(0x38a)](_0x15574e);}const _0x166684=_0x4e4110[_0x207f8a(0x201)](),_0x4ab7e2=_0x4e4110['query']()['toJSON'](),_0x54479b=_0x4e4110['endCollectChangeset']();_0xf2a595['removePivotField']={'changesets':_0x54479b,'pivotTableConfig':_0x2809f6,'isEmpty':_0x166684,'view':_0x4ab7e2};}break;case A['SetPivotFilter']:{const _0x5687b5=_0x1c96b4[_0x207f8a(0x225)]['setPivotFilter'];if(!_0x5687b5)return;const {tableFieldId:_0x3abc0a,items:_0x29adc4,isAll:_0x5bcd9a}=_0x5687b5,_0x5b733e=this[_0x207f8a(0x33f)]['getPivotTableInstance'](_0x403901),_0x102ad5=this[_0x207f8a(0x33f)][_0x207f8a(0x2e7)](_0x2853c5,_0x4bf9f4,_0x403901);if(!_0x5b733e||!_0x102ad5)return;_0x5b733e['startCollectChangeset'](),_0x5b733e['setLabelFilterInfo'](_0x3abc0a,{'type':_0x557a4b[_0x207f8a(0x3ca)],'list':_0x29adc4,'isAll':_0x5bcd9a});const _0x44c22e=_0x5b733e[_0x207f8a(0x201)](),_0x3b808a=_0x5b733e[_0x207f8a(0x26f)]()[_0x207f8a(0x1ba)](),_0x430a90=_0x5b733e[_0x207f8a(0x334)]();_0xf2a595[_0x207f8a(0x3e2)]={'view':_0x3b808a,'changesets':_0x430a90,'isEmpty':_0x44c22e,'pivotTableConfig':_0x102ad5};}break;case A[_0x207f8a(0x411)]:{const _0x333bb3=_0x1c96b4[_0x207f8a(0x225)][_0x207f8a(0x32a)];if(!_0x333bb3)return;const {tableFieldId:_0x112074,filterInfo:_0x1a567d}=_0x333bb3,_0x3cee9e=this[_0x207f8a(0x33f)]['getPivotTableInstance'](_0x403901),_0x22352f=this['_sheetsPivotDataSourceModel'][_0x207f8a(0x2e7)](_0x2853c5,_0x4bf9f4,_0x403901);if(!_0x3cee9e||!_0x22352f)return;_0x3cee9e[_0x207f8a(0x357)](),_0x3cee9e[_0x207f8a(0x40e)](_0x112074,_0x1a567d);const _0x307f14=_0x3cee9e[_0x207f8a(0x201)](),_0x1357ee=_0x3cee9e[_0x207f8a(0x26f)]()[_0x207f8a(0x1ba)](),_0x572a30=_0x3cee9e[_0x207f8a(0x334)]();_0xf2a595['setValuePivotFilter']={'view':_0x1357ee,'changesets':_0x572a30,'isEmpty':_0x307f14,'pivotTableConfig':_0x22352f};}break;case A[_0x207f8a(0x29a)]:{const _0x2705cf=_0x1c96b4[_0x207f8a(0x225)][_0x207f8a(0x36a)];if(!_0x2705cf)return;const {tableFieldId:_0x1ebd9b,info:_0x1d1abb}=_0x2705cf,_0x57e882=this[_0x207f8a(0x33f)]['getPivotTableInstance'](_0x403901),_0x4ba6a4=this[_0x207f8a(0x33f)]['getPivotTableConfig'](_0x2853c5,_0x4bf9f4,_0x403901);if(!_0x57e882||!_0x4ba6a4)return;_0x57e882['startCollectChangeset'](),_0x57e882[_0x207f8a(0x20a)](_0x1ebd9b,_0x1d1abb);const _0x194115=_0x57e882['isEmpty'](),_0x57be1a=_0x57e882[_0x207f8a(0x26f)]()[_0x207f8a(0x1ba)](),_0x444bf5=_0x57e882['endCollectChangeset']();_0xf2a595['setPivotSort']={'view':_0x57be1a,'changesets':_0x444bf5,'isEmpty':_0x194115,'pivotTableConfig':_0x4ba6a4};}break;case A[_0x207f8a(0x292)]:{const _0x52bad5=_0x1c96b4[_0x207f8a(0x225)]['setPivotSetting'];if(!_0x52bad5)return;const {tableFieldId:_0x20c06d,displayName:_0x31d286,subtotalType:_0x283df9,format:_0x35d61f}=_0x52bad5,_0x46ab5f=this['_sheetsPivotDataSourceModel'][_0x207f8a(0x266)](_0x403901),_0x29e36e=this['_sheetsPivotDataSourceModel'][_0x207f8a(0x2e7)](_0x2853c5,_0x4bf9f4,_0x403901);if(!_0x46ab5f||!_0x29e36e)return;_0x46ab5f[_0x207f8a(0x357)](),_0x31d286!==void 0x0&&_0x46ab5f[_0x207f8a(0x39e)](_0x20c06d,_0x31d286),_0x283df9!==void 0x0&&_0x46ab5f[_0x207f8a(0x34c)](_0x20c06d,_0x283df9),_0x35d61f!==void 0x0&&_0x46ab5f['setFieldFormat'](_0x20c06d,_0x35d61f);const _0x2d7108=_0x46ab5f['isEmpty'](),_0x49b0d0=_0x46ab5f[_0x207f8a(0x26f)]()[_0x207f8a(0x1ba)](),_0x2a0790=_0x46ab5f[_0x207f8a(0x334)]();_0xf2a595[_0x207f8a(0x38c)]={'changesets':_0x2a0790,'pivotTableConfig':_0x29e36e,'isEmpty':_0x2d7108,'view':_0x49b0d0};}break;case A[_0x207f8a(0x2af)]:{const _0x5e6055=_0x1c96b4[_0x207f8a(0x225)]['updatePivotSource'];if(!_0x5e6055)return;const {dataRangeInfo:_0x3dd751,unitId:_0x43670b,subUnitId:_0x1ac79a}=_0x5e6055,_0x32aad6=this[_0x207f8a(0x33f)][_0x207f8a(0x2e7)](_0x43670b,_0x1ac79a,_0x403901),_0xb08360=this[_0x207f8a(0x33f)][_0x207f8a(0x266)](_0x403901);if(!this['_sheetsPivotDataSourceModel'][_0x207f8a(0x1f5)](_0x43670b,_0x403901)||!_0xb08360||!_0x32aad6)return;const _0x17a420=this[_0x207f8a(0x33f)]['getUpdateRangeDeleteIds'](_0x43670b,_0x403901,_0x3dd751),_0x5d9061=this['_sheetsPivotDataSourceModel'][_0x207f8a(0x1f5)](_0x43670b,_0x403901)[_0x207f8a(0x1ba)](),{collection:_0x241fd0}=this[_0x207f8a(0x33f)][_0x207f8a(0x2db)]({'unitId':_0x3dd751[_0x207f8a(0x2ca)],'sheetName':_0x3dd751['sheetName'],'subUnitId':_0x3dd751['subUnitId'],'range':_0x3dd751[_0x207f8a(0x264)]}),_0x3d2139=_0x241fd0['toJSON']();_0xb08360[_0x207f8a(0x357)]();const _0x30e6d2=this[_0x207f8a(0x33f)][_0x207f8a(0x41d)](_0x43670b)[_0x207f8a(0x2b7)]()||_0x6f29c3;_0xb08360['iterateField'](_0x4a6239=>{const _0x3b09c4=_0x207f8a,_0x5cb407=_0x4a6239['getDataFieldId']();if(!_0x241fd0[_0x3b09c4(0x410)](_0x5cb407)){const _0xdb6568=_0x241fd0[_0x3b09c4(0x391)](_0x4a6239[_0x3b09c4(0x1a7)]());if(_0xdb6568){_0xb08360['updateFieldSourceInfo'](_0x4a6239[_0x3b09c4(0x288)](),_0xdb6568['getName'](),_0xdb6568['getId']());const {area:_0x5297ca}=_0xb08360['getFieldPositionInfoById'](_0x4a6239[_0x3b09c4(0x288)]());let _0x8b132=_0x4a6239[_0x3b09c4(0x1a7)]();const _0x57538d=_0x4a6239['getDisplayName']();if(_0x5297ca===_0x395ac9[_0x3b09c4(0x2be)]){const _0x3c9d06=_0x4a6239[_0x3b09c4(0x1cf)]();_0x8b132=_0x30e6d2(_0xdb6568[_0x3b09c4(0x36e)](),_0x3c9d06);}_0x57538d!==_0x8b132&&_0xb08360['renameField'](_0x4a6239['getId'](),_0x8b132);}else _0xb08360[_0x3b09c4(0x38a)](_0x4a6239['getId']());}});const _0x28cd01=_0xb08360[_0x207f8a(0x201)](),_0x195888=_0xb08360[_0x207f8a(0x26f)]()[_0x207f8a(0x1ba)](),_0x360ea9=_0xb08360['endCollectChangeset']();_0xf2a595[_0x207f8a(0x284)]={'view':_0x195888,'changesets':_0x360ea9,'isEmpty':_0x28cd01,'pivotTableConfig':_0x32aad6,'collectionConfig':_0x3d2139,'oldCollectionConfig':_0x5d9061,'deleteIds':_0x17a420};}break;case A[_0x207f8a(0x2fe)]:{const _0xa19f9b=_0x1c96b4['params'][_0x207f8a(0x226)];if(!_0xa19f9b)return;const {position:_0x163707,index:_0x12ce36}=_0xa19f9b,_0x17b0a6=this[_0x207f8a(0x33f)]['getPivotTableConfig'](_0x2853c5,_0x4bf9f4,_0x403901);if(!_0x17b0a6)return!0x1;const _0x81b682=this['_sheetsPivotDataSourceModel'][_0x207f8a(0x266)](_0x403901);if(!_0x81b682)return!0x1;_0x81b682[_0x207f8a(0x357)](),_0x81b682['updateValuePosition'](_0x163707,_0x12ce36);const _0x429dc7=_0x81b682[_0x207f8a(0x201)](),_0x2d44a0=_0x81b682['query']()['toJSON'](),_0x53c550=_0x81b682[_0x207f8a(0x334)]();_0xf2a595['updateValuePosition']={'changesets':_0x53c550,'pivotTableConfig':_0x17b0a6,'isEmpty':_0x429dc7,'view':_0x2d44a0};}break;case A[_0x207f8a(0x1dc)]:{const _0x36ef3d=_0x1c96b4[_0x207f8a(0x225)][_0x207f8a(0x3ee)];if(!_0x36ef3d)return;const {tableFieldId:_0x478d83,collapse:_0x2edd3e,item:_0x3d4bb2}=_0x36ef3d,_0x4d89a8=this[_0x207f8a(0x33f)][_0x207f8a(0x266)](_0x403901),_0x5cc3ef=this[_0x207f8a(0x33f)]['getPivotTableConfig'](_0x2853c5,_0x4bf9f4,_0x403901);if(!_0x4d89a8||!_0x5cc3ef)return;_0x4d89a8[_0x207f8a(0x357)](),_0x4d89a8['setCollapse'](_0x478d83,_0x2edd3e,_0x3d4bb2);const _0x389d1f=_0x4d89a8['isEmpty'](),_0x20eb10=_0x4d89a8[_0x207f8a(0x26f)]()[_0x207f8a(0x1ba)](),_0x499993=_0x4d89a8[_0x207f8a(0x334)]();_0xf2a595[_0x207f8a(0x3ee)]={'view':_0x20eb10,'isEmpty':_0x389d1f,'pivotTableConfig':_0x5cc3ef,'changesets':_0x499993};}break;case A[_0x207f8a(0x339)]:{const _0x1496ea=_0x1c96b4[_0x207f8a(0x225)][_0x207f8a(0x2a3)];if(!_0x1496ea)return;const {pivotTableConfig:_0x550c58}=_0x1496ea,_0x52b744=this[_0x207f8a(0x33f)][_0x207f8a(0x266)](_0x403901),_0x3169c6=this[_0x207f8a(0x33f)][_0x207f8a(0x2e7)](_0x2853c5,_0x4bf9f4,_0x403901);if(!_0x52b744||!_0x3169c6)return;_0x52b744['startCollectChangeset'](),Ji(_0x52b744,_0x550c58);const _0x302a4c=_0x52b744[_0x207f8a(0x201)](),_0x295674=_0x52b744[_0x207f8a(0x26f)]()[_0x207f8a(0x1ba)](),_0x27865b=_0x52b744['endCollectChangeset']();_0xf2a595[_0x207f8a(0x2a3)]={'view':_0x295674,'isEmpty':_0x302a4c,'pivotTableConfig':{..._0x3169c6,'fieldsConfig':_0x52b744[_0x207f8a(0x1ba)]()},'changesets':_0x27865b};}break;case A[_0x207f8a(0x3f4)]:{const _0x36fb75=_0x1c96b4['params']['resetPivotTable'];if(!_0x36fb75)return;const _0x47630b=this[_0x207f8a(0x33f)]['getPivotTableInstance'](_0x403901),_0x103b0b=this['_sheetsPivotDataSourceModel'][_0x207f8a(0x2e7)](_0x2853c5,_0x4bf9f4,_0x403901);if(!_0x47630b||!_0x103b0b)return;_0x47630b['startCollectChangeset'](),ji(_0x47630b,_0x36fb75[_0x207f8a(0x1f6)]);const _0x5b3aac=_0x47630b['query']()[_0x207f8a(0x1ba)](),_0x38ce35=_0x47630b['endCollectChangeset']();_0xf2a595['resetPivotTable']={'view':_0x5b3aac,'isEmpty':!0x0,'pivotTableConfig':{..._0x103b0b,'fieldsConfig':_0x47630b[_0x207f8a(0x1ba)]()},'changesets':_0x38ce35};}break;case A[_0x207f8a(0x388)]:{const _0x47ba4a=_0x1c96b4[_0x207f8a(0x225)]['addPivotTableWithConfig'];if(!_0x47ba4a)return;const _0x53e68a=_0x47ba4a['sourceRangeInfo'],_0x30a063=_0x47ba4a[_0x207f8a(0x1d5)],{collection:_0x2cc3bf}=this[_0x207f8a(0x33f)][_0x207f8a(0x2db)]({'unitId':_0x53e68a[_0x207f8a(0x2ca)],'sheetName':_0x53e68a[_0x207f8a(0x228)],'subUnitId':_0x53e68a[_0x207f8a(0x1e9)],'range':_0x53e68a['range']}),_0x2df56b=new _0x4e9a78(_0x2cc3bf,void 0x0,_0x30a063),_0x3610db=_0x2cc3bf[_0x207f8a(0x211)](),{rows:_0x3c86f7,columns:_0x28585c,filters:_0x206ec2,values:_0x4fd918}=_0x47ba4a[_0x207f8a(0x361)];_0x2df56b[_0x207f8a(0x357)]();for(const {field:_0x4ed49c,selectedItems:_0x340f65}of _0x3c86f7||[]){const _0x57b0f2=_0x3610db[_0x4ed49c];if(_0x57b0f2){const _0x2cab2a=_0x2df56b[_0x207f8a(0x2d7)](_0x57b0f2,_0x395ac9['Row']);_0x340f65&&_0x2cab2a&&_0x2df56b['setLabelFilterInfo'](_0x2cab2a[_0x207f8a(0x288)](),{'type':_0x557a4b[_0x207f8a(0x3ca)],'list':_0x340f65,'isAll':!0x1});}}for(const {field:_0x310f3e,selectedItems:_0x4d8925}of _0x28585c||[]){const _0x674eb4=_0x3610db[_0x310f3e];if(_0x674eb4){const _0xc3357a=_0x2df56b['addFieldWithSourceId'](_0x674eb4,_0x395ac9[_0x207f8a(0x1ac)]);_0x4d8925&&_0xc3357a&&_0x2df56b[_0x207f8a(0x24b)](_0xc3357a[_0x207f8a(0x288)](),{'type':_0x557a4b[_0x207f8a(0x3ca)],'list':_0x4d8925,'isAll':!0x1});}}for(const {field:_0x42d00f,selectedItems:_0x2cae58}of _0x206ec2||[]){const _0x2973c0=_0x3610db[_0x42d00f];if(_0x2973c0){const _0x8acfc6=_0x2df56b['addFieldWithSourceId'](_0x2973c0,_0x395ac9['Filter']);_0x2cae58&&_0x8acfc6&&_0x2df56b['setLabelFilterInfo'](_0x8acfc6[_0x207f8a(0x288)](),{'type':_0x557a4b[_0x207f8a(0x3ca)],'list':_0x2cae58,'isAll':!0x1});}}for(const {field:_0x56bc13,subTotalType:_0x3f1092,formatString:_0x301e2f}of _0x4fd918||[]){const _0x54b763=_0x2cc3bf[_0x207f8a(0x37e)](_0x3610db[_0x56bc13]);if(!_0x54b763)continue;const _0x19dab6=_0x3610db[_0x56bc13];if(_0x19dab6){const _0x5f1051=_0x2df56b[_0x207f8a(0x2d7)](_0x19dab6,_0x395ac9[_0x207f8a(0x2be)]);if(_0x5f1051){if(_0x3f1092!==void 0x0){_0x2df56b[_0x207f8a(0x34c)](_0x5f1051[_0x207f8a(0x288)](),_0x3f1092);const _0x372dcc=this[_0x207f8a(0x33f)][_0x207f8a(0x41d)](_0x53e68a[_0x207f8a(0x2ca)])[_0x207f8a(0x2b7)]()||_0x6f29c3,_0x2825e7=_0x2cc3bf[_0x207f8a(0x354)](_0x19dab6),_0x13da52=_0x372dcc(_0x2825e7,_0x3f1092);_0x2df56b[_0x207f8a(0x39e)](_0x5f1051[_0x207f8a(0x288)](),_0x13da52);}else{if(_0x54b763){const _0x50c3d3=_0x54b763==null?void 0x0:_0x54b763['getFieldDataType']();_0x2df56b[_0x207f8a(0x34c)](_0x5f1051['getId'](),_0x50c3d3===_0x56fe07['number']?_0x2228cd['sum']:_0x2228cd[_0x207f8a(0x30d)]);}}_0x301e2f&&_0x2df56b[_0x207f8a(0x1ab)](_0x5f1051[_0x207f8a(0x288)](),_0x301e2f);}}}const _0x1b3db5=_0x2df56b[_0x207f8a(0x26f)](),_0x4dd688=_0x2df56b[_0x207f8a(0x1ba)](),_0x582eec=_0x2df56b['isEmpty'](),_0x12210f=_0x2df56b[_0x207f8a(0x334)](),_0x3e8cf8=_0x2cc3bf['toJSON']();_0xf2a595[_0x207f8a(0x3ef)]={'view':_0x1b3db5,'fieldsConfig':_0x4dd688,'collectionConfig':_0x3e8cf8,'isEmpty':_0x582eec,'changesets':_0x12210f};}break;case A[_0x207f8a(0x20c)]:{const _0x38459c=Bi(this[_0x207f8a(0x1ff)],_0x1c96b4);if(!_0x38459c)return;const {range:_0x1c1db6,sourceSubUnitId:_0x26fb4c,sourceUnitId:_0x3b5466,formatMap:_0x17888e,indexes:_0x1e6c97}=_0x38459c;_0xf2a595[_0x207f8a(0x32f)]={'range':_0x1c1db6,'sourceSubUnitId':_0x26fb4c,'sourceUnitId':_0x3b5466,'formatMap':_0x17888e,'indexes':_0x1e6c97};}break;}this[_0x207f8a(0x1f9)]['executeCommand'](lo['id'],{'version':_0x1c96b4[_0x207f8a(0x40c)],'result':_0xf2a595},{'onlyLocal':!0x0});}));}[_0x3c024c(0x351)](){const _0x2fe55d=_0x3c024c;this[_0x2fe55d(0x1da)](this[_0x2fe55d(0x1f9)]['onCommandExecuted'](_0x50ce70=>{const _0x3fb256=_0x2fe55d;if(_0x50ce70['id']!==uo['id'])return;const _0x13f4ee=_0x50ce70[_0x3fb256(0x225)];return this[_0x3fb256(0x33f)][_0x3fb256(0x1fb)](_0x13f4ee['textInfo']),!0x0;}));}[_0x3c024c(0x330)](){const _0x1dee87=_0x3c024c;this[_0x1dee87(0x33f)]['collectionChange$'][_0x1dee87(0x389)](_0x4f9332=>{const _0x46b5a2=_0x1dee87;switch(_0x4f9332[_0x46b5a2(0x2b8)]){case ke[_0x46b5a2(0x285)]:_0x4f9332['dataRangeInfo']&&_0x4f9332[_0x46b5a2(0x2a0)]&&this[_0x46b5a2(0x27d)](_0x4f9332[_0x46b5a2(0x25f)],_0x4f9332[_0x46b5a2(0x273)],_0x4f9332[_0x46b5a2(0x2a0)]);break;case ke[_0x46b5a2(0x1b3)]:{const {unitId:_0x53115d,subUnitId:_0x53fa95,token:_0x116d76}=_0x4f9332;_0x53115d&&_0x53fa95&&_0x116d76&&this[_0x46b5a2(0x322)](_0x53115d,_0x53fa95,_0x116d76);}break;case ke[_0x46b5a2(0x244)]:{const {token:_0x3f45ce,oldSourceRangeInfo:_0x5dd75d,dataRangeInfo:_0x5bca36,targetCellInfo:_0x5c9123}=_0x4f9332,{unitId:_0x27edb6,subUnitId:_0x5b1945}=_0x5dd75d||{};_0x27edb6&&_0x5b1945&&_0x3f45ce&&this[_0x46b5a2(0x322)](_0x27edb6,_0x5b1945,_0x3f45ce),_0x5bca36&&_0x5c9123&&this[_0x46b5a2(0x27d)](_0x3f45ce,_0x5bca36,_0x5c9123);}break;}});}[_0x3c024c(0x27c)](){const _0x42def4=_0x3c024c;this['_sheetsPivotDataSourceModel'][_0x42def4(0x2d4)][_0x42def4(0x389)](_0x3d8111=>{const _0x24373e=_0x42def4;Object[_0x24373e(0x2c1)](_0x3d8111)[_0x24373e(0x206)](_0x36d500=>{const _0x3b36d2=_0x24373e,_0x31f649=this['_sheetsPivotDataSourceModel'][_0x3b36d2(0x27a)](_0x36d500);if(_0x31f649){const _0xa32989=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x31f649==null?void 0x0:_0x31f649[_0x3b36d2(0x2ca)],_0x31f649==null?void 0x0:_0x31f649[_0x3b36d2(0x1e9)],_0x36d500);_0xa32989&&(this[_0x3b36d2(0x27d)](_0x36d500,_0xa32989[_0x3b36d2(0x263)],_0xa32989[_0x3b36d2(0x2a0)]),this[_0x3b36d2(0x3dc)]([{'unitId':_0x31f649[_0x3b36d2(0x2ca)],'subUnitId':_0x31f649['subUnitId'],'token':_0x36d500}]));}});});}['_subjectViewChange'](){const _0x55530a=_0x3c024c;this['_sheetsPivotDataSourceModel'][_0x55530a(0x3af)][_0x55530a(0x389)](_0x160864=>{const {unitId:_0x230282,subUnitId:_0xc440a6,pivotTableId:_0x1e96f6}=_0x160864;_0x230282&&_0xc440a6&&_0x1e96f6&&this['triggerDirtyFeature']([{'unitId':_0x230282,'subUnitId':_0xc440a6,'token':_0x1e96f6}]);});}[_0x3c024c(0x3dc)](_0x39304b){const _0x47156d=_0x3c024c,_0x5da76c={};_0x39304b[_0x47156d(0x206)](_0x22847a=>{var _0x84c9cf,_0x141a98;const {unitId:_0x1a7eb0,subUnitId:_0x46cb67,token:_0x556b08}=_0x22847a;_0x5da76c[_0x1a7eb0]=(_0x84c9cf=_0x5da76c[_0x1a7eb0])!=null?_0x84c9cf:{},_0x5da76c[_0x1a7eb0][_0x46cb67]=(_0x141a98=_0x5da76c[_0x1a7eb0][_0x46cb67])!=null?_0x141a98:{},_0x5da76c[_0x1a7eb0][_0x46cb67][_0x556b08]=!0x0;}),this['_commandService'][_0x47156d(0x3a4)](Ut['id'],_0x5da76c);}['removeSourceRangeChange'](_0x2100f3,_0x7086a7,_0x41358d){const _0xde0fe0=_0x3c024c;this[_0xde0fe0(0x294)][_0xde0fe0(0x2c6)](_0x2100f3,_0x7086a7,[_0x41358d]);}['handleSourceRangeChange'](_0x381a51,_0x59f8da,_0x15c0e7){const _0x396bea=_0x3c024c,{unitId:_0xf8ce22,subUnitId:_0x19d2f9}=_0x59f8da;this['_featureCalculationManagerService'][_0x396bea(0x338)](_0x15c0e7['unitId'],_0x15c0e7[_0x396bea(0x1e9)],_0x381a51)&&this[_0x396bea(0x322)](_0xf8ce22,_0x19d2f9,_0x381a51);const _0x45e93c={'sheetId':_0x19d2f9,..._0x59f8da};this[_0x396bea(0x294)]['register'](_0x15c0e7[_0x396bea(0x2ca)],_0x15c0e7[_0x396bea(0x1e9)],_0x381a51,{'unitId':_0x15c0e7[_0x396bea(0x2ca)],'subUnitId':_0x15c0e7[_0x396bea(0x1e9)],'dependencyRanges':[_0x45e93c],'getDirtyData':(_0xc11e25,_0x6f745a)=>{const _0xd443fc=_0x396bea,_0x479214=this[_0xd443fc(0x33f)],_0x482884=_0x479214[_0xd443fc(0x27a)](_0x381a51);if(!_0x482884)return Vs();const {unitId:_0x665d0d,subUnitId:_0x8e2e94}=_0x482884,_0x424065=Es(_0xc11e25,_0x6f745a,_0x59f8da);if(_0x424065[_0xd443fc(0x230)]>0x0){const _0x57eb8a=_0x479214[_0xd443fc(0x1f5)](_0xf8ce22,_0x381a51),_0x3c2411=_0x57eb8a[_0xd443fc(0x211)](),_0xe8e8ce=this['getMatrixFromRunTimeData'](_0x59f8da[_0xd443fc(0x2ca)],_0x59f8da['subUnitId'],_0x6f745a),_0x417853={},_0x4a0ab6=this[_0xd443fc(0x33f)]['getDataFieldManager'](_0x665d0d)[_0xd443fc(0x2b7)]()||_0x6f29c3,_0x3c677a=[];for(const _0x5501cc of _0x424065){const _0x18175f=_0x5501cc-(_0x59f8da[_0xd443fc(0x264)][_0xd443fc(0x210)]||0x0),_0x43caed=_0x3c2411[_0x18175f];_0x3c677a[_0xd443fc(0x28a)](_0x43caed),_0x417853[_0x43caed]=_0x57eb8a[_0xd443fc(0x37e)](_0x43caed)[_0xd443fc(0x36e)](),_0x479214[_0xd443fc(0x41d)](_0xf8ce22)[_0xd443fc(0x2ce)](_0x43caed,_0x59f8da,_0x18175f,_0xe8e8ce);}_0x57eb8a['getGroupFieldsInfoByIds'](_0x3c677a)['forEach'](_0x55396c=>{const _0x4b8969=_0xd443fc,[_0x944efc,_0x1e8a64]=_0x55396c,_0x177b6f=_0x57eb8a[_0x4b8969(0x37e)](_0x944efc),_0x4f9ae3=_0x57eb8a[_0x4b8969(0x37e)](_0x1e8a64);_0x177b6f&&_0x4f9ae3&&_0x177b6f['refreshGroupField'](_0x4f9ae3);}),_0x57eb8a['updateAllDisplayName']();const _0x5b67ba=_0x479214['getPivotTableInstance'](_0x381a51);if(_0x5b67ba){Os(_0x5b67ba,_0x417853,_0x4a0ab6),_0x5b67ba[_0xd443fc(0x417)](!0x0);const _0x1a5e12=_0x5b67ba['query'](),_0x4d9c03=_0x479214[_0xd443fc(0x2e7)](_0x665d0d,_0x8e2e94,_0x381a51),_0xe2ec2a=_0x479214[_0xd443fc(0x41d)](_0xf8ce22)['toJSON']();_0x479214[_0xd443fc(0x24e)](_0x665d0d,_0x8e2e94,L[_0xd443fc(0x1c0)],_0x381a51,_0x1a5e12,_0x4d9c03,_0xe2ec2a,!0x0);}}return this[_0xd443fc(0x396)](_0x665d0d,_0x8e2e94,_0x381a51);}});}[_0x3c024c(0x2a9)](_0x4225df,_0x49a8d7,_0x5eee47){var _0x553462,_0x22e819;const {arrayFormulaCellData:_0x2fb808,unitData:_0x51aa9a}=_0x5eee47,_0x347582=(_0x553462=_0x2fb808==null?void 0x0:_0x2fb808[_0x4225df])==null?void 0x0:_0x553462[_0x49a8d7],_0x47708f=(_0x22e819=_0x51aa9a==null?void 0x0:_0x51aa9a[_0x4225df])==null?void 0x0:_0x22e819[_0x49a8d7];return{'arrayFormulaCellDataMatrix':_0x347582,'unitDataMatrix':_0x47708f};}[_0x3c024c(0x396)](_0xc05162,_0x560b80,_0x34721c){const _0x218c50=_0x3c024c,_0x27299e=this[_0x218c50(0x33f)][_0x218c50(0x23d)](_0xc05162,_0x560b80,_0x34721c),_0x7394a7=[],_0x527b16=new _0x26fd20();if(_0x27299e){const {rangeCache:_0x3e081a,matrix:_0x4893e9,oldRangeCache:_0x31b556,oldMatrix:_0x50f5f6}=_0x27299e,_0x44ca2a=Lt(_0x31b556),_0x1e1603=Lt(_0x3e081a);_0x7394a7[_0x218c50(0x28a)](..._0x1e1603,..._0x44ca2a),_0x50f5f6&&_0x31b556&&_0x44ca2a[_0x218c50(0x206)](_0x255e7f=>{const _0x5431e3=_0x218c50;for(let _0x35eb8a=_0x255e7f['startRow'];_0x35eb8a<=_0x255e7f['endRow'];_0x35eb8a++)for(let _0x1de8a2=_0x255e7f[_0x5431e3(0x210)];_0x1de8a2<=_0x255e7f[_0x5431e3(0x2e6)];_0x1de8a2++)_0x527b16[_0x5431e3(0x38d)](_0x35eb8a,_0x1de8a2);}),_0x4893e9&&_0x1e1603&&_0x1e1603[_0x218c50(0x206)](_0xbd66de=>{const _0x1c6053=_0x218c50;for(let _0x503d8=_0xbd66de[_0x1c6053(0x1ed)];_0x503d8<=_0xbd66de[_0x1c6053(0x365)];_0x503d8++)for(let _0xb080ed=_0xbd66de[_0x1c6053(0x210)];_0xb080ed<=_0xbd66de[_0x1c6053(0x2e6)];_0xb080ed++)_0x527b16[_0x1c6053(0x3eb)](_0x503d8,_0xb080ed,_0x4893e9['getValue'](_0x503d8,_0xb080ed));});}const _0x5a1f55={};return _0x5a1f55[_0xc05162]={[_0x560b80]:xs(_0x7394a7)},{'runtimeCellData':{[_0xc05162]:{[_0x560b80]:_0x527b16}},'dirtyRanges':_0x5a1f55};}[_0x3c024c(0x1d7)](){}};dt=Us([He(0x0,_0x33ce5d($)),He(0x1,_0x4ca711),He(0x2,_0x33ce5d(_0x2f7536)),He(0x3,_0x33ce5d(_0xdba7c)),He(0x4,_0x33ce5d(_0x3cc094)),He(0x5,_0x33ce5d(_0x3a9c68))],dt);var Bs=Object[_0x3c024c(0x3d6)],As=(_0x25b5ff,_0x114a54,_0x8bde9b,_0xc0e33)=>{const _0x5addb9=_0x3c024c;for(var _0x18651b=_0xc0e33>0x1?void 0x0:_0xc0e33?Bs(_0x114a54,_0x8bde9b):_0x114a54,_0x182c87=_0x25b5ff[_0x5addb9(0x230)]-0x1,_0x336781;_0x182c87>=0x0;_0x182c87--)(_0x336781=_0x25b5ff[_0x182c87])&&(_0x18651b=_0x336781(_0x18651b)||_0x18651b);return _0x18651b;},_t=(_0x515b09,_0x5d612b)=>(_0x50f437,_0x591a38)=>_0x5d612b(_0x50f437,_0x591a38,_0x515b09);let ct=class extends _0x2a4487{constructor(_0x28c6a0,_0x56c6c4,_0x21cae1,_0x27d36a){const _0x43e8c3=_0x3c024c;super(),V(this,_0x43e8c3(0x369),new _0x4182b3()),(this[_0x43e8c3(0x1d0)]=_0x28c6a0,this[_0x43e8c3(0x3ec)]=_0x56c6c4,this[_0x43e8c3(0x1f2)]=_0x21cae1,this[_0x43e8c3(0x30b)]=_0x27d36a,this[_0x43e8c3(0x1e1)]());}[_0x3c024c(0x1e1)](){const _0x37b895=_0x3c024c;this['disposeWithMe'](this[_0x37b895(0x3ec)][_0x37b895(0x1b4)]({'getMutations':_0x89fb1e=>{const _0x2c451e=_0x37b895;if(_0x89fb1e['id']===_0x27a42d['id']||_0x89fb1e['id']===_0x30a1bd['id']){const _0x220bd8=[],_0x10082b=[],_0x35fc28=this[_0x2c451e(0x1f2)][_0x2c451e(0x249)]()[_0x2c451e(0x29e)](_0x4e9ace=>_0x4e9ace[_0x2c451e(0x264)]),_0xa52d46=_0x3848e9(this['_univerInstanceService']);if(!_0xa52d46)return{'redos':[],'undos':[]};const {unitId:_0x1d4d64,subUnitId:_0x528bce}=_0xa52d46,_0x12387d={},_0xd26131=this[_0x2c451e(0x30b)][_0x2c451e(0x344)](_0x1d4d64,_0x528bce);if(_0xd26131!=null&&_0xd26131['size'])for(const [_0x495fdf,_0xc01c9c]of _0xd26131){const {unitId:_0x4b3058,subUnitId:_0x104eef,row:_0x162d77,col:_0x256030}=_0xc01c9c['targetCellInfo'];_0x4b3058===_0xa52d46['unitId']&&_0x104eef===_0xa52d46['subUnitId']&&(_0x12387d[_0x162d77+'-'+_0x256030]=_0x495fdf);}return _0x35fc28&&_0xa52d46&&_0x35fc28[_0x2c451e(0x206)](_0x10475e=>{const _0x5aa85b=_0x2c451e;_0xaa5402[_0x5aa85b(0x1e2)](_0x10475e,(_0x13a5d5,_0x4826e3)=>{const _0x26e72e=_0x5aa85b,_0xad5e78=_0x13a5d5+'-'+_0x4826e3;if(_0x12387d[_0xad5e78]){const _0x20b88b=_0x12387d[_0xad5e78];_0x220bd8['push']({'id':Et['id'],'params':{'unitId':_0x1d4d64,'subUnitId':_0x528bce,'pivotTableId':_0x20b88b}});const _0x203375=this[_0x26e72e(0x30b)][_0x26e72e(0x1f5)](_0x1d4d64,_0x20b88b),_0x205d5f=this['_sheetsPivotTableConfigModel'][_0x26e72e(0x2e7)](_0x1d4d64,_0x528bce,_0x20b88b);_0x10082b[_0x26e72e(0x28a)]({'id':Ct['id'],'params':{'unitId':_0x1d4d64,'subUnitId':_0x528bce,'pivotTableId':_0x20b88b,'pivotTableConfig':_0x205d5f,'collectionConfig':_0x203375}});}});}),{'redos':_0x220bd8,'undos':_0x10082b};}return{'redos':[],'undos':[]};}}));}};ct=As([_t(0x0,_0x21c6a9),_t(0x1,_0x33ce5d(_0x187e89)),_t(0x2,_0x33ce5d(_0x39c2f5)),_t(0x3,_0x33ce5d(he))],ct);var Gs=Object['getOwnPropertyDescriptor'],ks=(_0x58c5bf,_0x5801db,_0x2d46eb,_0x41aa1c)=>{const _0x208fea=_0x3c024c;for(var _0x47c590=_0x41aa1c>0x1?void 0x0:_0x41aa1c?Gs(_0x5801db,_0x2d46eb):_0x5801db,_0x1ab834=_0x58c5bf[_0x208fea(0x230)]-0x1,_0x1fc3fd;_0x1ab834>=0x0;_0x1ab834--)(_0x1fc3fd=_0x58c5bf[_0x1ab834])&&(_0x47c590=_0x1fc3fd(_0x47c590)||_0x47c590);return _0x47c590;},qe=(_0x46710e,_0x47d784)=>(_0x4766a4,_0x395bc4)=>_0x47d784(_0x4766a4,_0x395bc4,_0x46710e);let ut=class extends _0x2a4487{constructor(_0x4db2d2,_0x1f4956,_0x67410b,_0x5cc789,_0x192fdc,_0x39a922){const _0x2223b8=_0x3c024c;super(),this[_0x2223b8(0x31f)]=_0x4db2d2,this[_0x2223b8(0x3ec)]=_0x1f4956,this['_injector']=_0x67410b,this[_0x2223b8(0x1d0)]=_0x5cc789,this['_sheetsPivotTableConfigModel']=_0x192fdc,this[_0x2223b8(0x39b)]=_0x39a922,this[_0x2223b8(0x297)]();}[_0x3c024c(0x345)](_0x3664b0,_0x1877a1,_0x571543){const _0x4843f2=_0x3c024c,{pageView:_0x5b9e11,cornerView:_0x4929be,rowView:_0x52eb9b,colView:_0x1b60aa,dataView:_0x3497f4}=_0x1877a1,_0x5c8644=_0x3664b0;let _0x2268e7;if(_0x571543)_0x2268e7=[...Ai(_0x5c8644)];else{const _0x308c04=ge(_0x5c8644,_0x5b9e11,!0x0),_0x4b443f=_0x5b9e11[_0x4843f2(0x315)]>=0x0?_0x5b9e11[_0x4843f2(0x315)]+0x1:0x0,_0x183a24=_0x4929be[_0x4843f2(0x3fd)],_0x411090=_0x4929be['colCount'],_0x495da7=_0x308c04[_0x4843f2(0x230)]>0x0?It:0x0,_0x15a1cd=ge({'row':_0x5c8644[_0x4843f2(0x246)]+_0x4b443f+_0x495da7,'col':_0x5c8644[_0x4843f2(0x3f1)]},_0x4929be,!0x1,!0x1),_0x88785a=ge({'row':_0x5c8644[_0x4843f2(0x246)]+_0x4b443f+_0x495da7+_0x183a24,'col':_0x5c8644[_0x4843f2(0x3f1)]},_0x52eb9b,!0x1,!0x0),_0x29ff98=ge({'row':_0x5c8644[_0x4843f2(0x246)]+_0x4b443f+_0x495da7,'col':_0x5c8644[_0x4843f2(0x3f1)]+_0x411090},_0x1b60aa,!0x1,!0x0),_0x213a36=ge({'row':_0x5c8644[_0x4843f2(0x246)]+_0x4b443f+_0x495da7+_0x183a24,'col':_0x5c8644[_0x4843f2(0x3f1)]+_0x411090},_0x3497f4,!0x1,!0x0);_0x2268e7=[..._0x308c04,..._0x15a1cd,..._0x88785a,..._0x29ff98,..._0x213a36];}return _0x2268e7;}[_0x3c024c(0x297)](){const _0x5a2ae8=_0x3c024c;this[_0x5a2ae8(0x1da)](this['_sheetsPivotTableService'][_0x5a2ae8(0x378)][_0x5a2ae8(0x3bd)](this['_sheetsPivotTableService'][_0x5a2ae8(0x378)][_0x5a2ae8(0x373)]()[_0x5a2ae8(0x2cc)],{'handler':(_0x1d8a64,_0x16a1bd)=>{const _0x3af25f=_0x5a2ae8,{cellInfo:_0x48e20d,view:_0x5abb60,isEmpty:_0x1c5e60}=_0x16a1bd,_0x399600=_0x48e20d,{unitId:_0xde4079,subUnitId:_0x53b904}=_0x399600,_0x35651b=this['_getPivotAppliedRanges'](_0x48e20d,_0x5abb60,_0x1c5e60),_0x257843=this[_0x3af25f(0x3ec)][_0x3af25f(0x25d)]({'unitId':_0xde4079,'subUnitId':_0x53b904,'ranges':_0x35651b}),_0x555226=Ho(this[_0x3af25f(0x1ff)],_0xde4079,_0x53b904,_0x35651b);_0x555226['shouldClear']&&(_0x257843[_0x3af25f(0x219)]['push'](_0x555226[_0x3af25f(0x24d)]),_0x257843[_0x3af25f(0x1e7)][_0x3af25f(0x28a)](_0x555226[_0x3af25f(0x2bd)]));const _0x19e800=this[_0x3af25f(0x307)](_0x5abb60,_0x48e20d);return _0x257843[_0x3af25f(0x219)][_0x3af25f(0x28a)](..._0x19e800[_0x3af25f(0x219)]),_0x257843[_0x3af25f(0x1e7)]['push'](..._0x19e800[_0x3af25f(0x1e7)]),{'redos':_0x257843['redos'],'undos':_0x257843[_0x3af25f(0x1e7)]};}}));}[_0x3c024c(0x307)](_0x356980,_0x3ea67f){const _0x34b9d4=_0x3c024c,{col:_0x1f51d1,unitId:_0x197c5f,subUnitId:_0x482e93}=_0x3ea67f,_0x188a3c=[],_0x20f8c3=[],_0x2fa6aa=_0x3848e9(this[_0x34b9d4(0x1d0)],{'unitId':_0x197c5f,'subUnitId':_0x482e93});if(!_0x3ea67f||!_0x356980||!_0x2fa6aa)return{'undos':_0x20f8c3,'redos':_0x188a3c};const _0x56bb39=this['_sheetsPivotTableConfigModel'][_0x34b9d4(0x221)](),{colView:_0x80ed8d,dataView:_0x3313a,cornerView:_0x451e58,rowView:_0xaa560a,formatMap:_0x1eec2c}=_0x356980,_0x31f9db=To(_0x80ed8d,_0x56bb39,!0x0,_0x1eec2c),_0x4b6a7a=To(_0xaa560a,_0x56bb39,!0x1,_0x1eec2c),_0x319eb3=Li(_0x3313a),_0x252e34=$i(_0x451e58),{worksheet:_0x1039b9}=_0x2fa6aa;if(typeof window<'u'&&window[_0x34b9d4(0x2ae)]){const _0x31e84b=_0x5e84d4({...fe['colStyle']}),_0xa4f990=_0x57e1c2[_0x34b9d4(0x1c6)](_0x31f9db,_0x31e84b)[_0x34b9d4(0x2bb)]+0x10,_0x2d46b8=_0x57e1c2[_0x34b9d4(0x1c6)](_0x319eb3,_0x31e84b)[_0x34b9d4(0x2bb)],_0x3304d2=Math[_0x34b9d4(0x340)](Math[_0x34b9d4(0x2c5)](_0xa4f990,_0x2d46b8))+0x10,_0x4c4ac8=Math[_0x34b9d4(0x340)](_0x57e1c2[_0x34b9d4(0x1c6)](_0x4b6a7a,_0x31e84b)[_0x34b9d4(0x2bb)]),_0x189878=Math[_0x34b9d4(0x340)](_0x57e1c2[_0x34b9d4(0x1c6)](_0x252e34,_0x31e84b)[_0x34b9d4(0x2bb)]),_0x40a4b1=Math['max'](_0x4c4ac8,_0x189878,0x28)+0xc,_0x4755e2=_0x80ed8d[_0x34b9d4(0x30a)]+_0x451e58[_0x34b9d4(0x30a)],_0xf12891={},_0x255fcf={};for(let _0x4701a0=_0x1f51d1;_0x4701a0<_0x1f51d1+_0x4755e2;_0x4701a0++){const _0x4fa83f=_0x1039b9['getColumnWidth'](_0x4701a0);_0xf12891[_0x4701a0]=_0x4fa83f,_0x4701a0-_0x1f51d1<_0x451e58[_0x34b9d4(0x30a)]?_0x255fcf[_0x4701a0-_0x1f51d1]=_0x40a4b1:_0x255fcf[_0x4701a0-_0x1f51d1]=_0x3304d2;}_0x188a3c[_0x34b9d4(0x28a)]({'id':_0xf706cd['id'],'params':{'subUnitId':_0x482e93,'unitId':_0x197c5f,'ranges':[{'startColumn':_0x1f51d1,'endColumn':_0x1f51d1+_0x4755e2-0x1,'startRow':0x0,'endRow':_0x1039b9[_0x34b9d4(0x2f5)]()-0x1}],'colWidth':_0x255fcf}}),_0x20f8c3[_0x34b9d4(0x28a)]({'id':_0xf706cd['id'],'params':{'subUnitId':_0x482e93,'unitId':_0x197c5f,'ranges':[{'startColumn':_0x1f51d1,'endColumn':_0x1f51d1+_0x4755e2-0x1,'startRow':0x0,'endRow':_0x1039b9['getRowCount']()-0x1}],'colWidth':_0xf12891}});}return{'undos':_0x20f8c3,'redos':_0x188a3c};}};ut=ks([qe(0x0,_0x33ce5d(_0x6286c3)),qe(0x1,_0x33ce5d(_0x187e89)),qe(0x2,_0x33ce5d(_0x3a9c68)),qe(0x3,_0x33ce5d(_0x21c6a9)),qe(0x4,_0x33ce5d(he)),qe(0x5,_0x33ce5d(ie))],ut);var Ls=Object[_0x3c024c(0x3d6)],$s=(_0x387f92,_0x26eec2,_0x3c8797,_0x205799)=>{const _0x47eb4d=_0x3c024c;for(var _0x4ef2fc=_0x205799>0x1?void 0x0:_0x205799?Ls(_0x26eec2,_0x3c8797):_0x26eec2,_0x4e5245=_0x387f92[_0x47eb4d(0x230)]-0x1,_0x2c0221;_0x4e5245>=0x0;_0x4e5245--)(_0x2c0221=_0x387f92[_0x4e5245])&&(_0x4ef2fc=_0x2c0221(_0x4ef2fc)||_0x4ef2fc);return _0x4ef2fc;},Ae=(_0x4274cc,_0x5b1197)=>(_0x1e11d9,_0x5734b1)=>_0x5b1197(_0x1e11d9,_0x5734b1,_0x4274cc);let ft=class extends _0x2a4487{constructor(_0x1003c0,_0x44d539,_0x1877f2,_0x47e139,_0x2dfd75,_0x4bf27c,_0x4be872){const _0x315c55=_0x3c024c;super(),V(this,_0x315c55(0x369),new _0x4182b3()),(this[_0x315c55(0x1ff)]=_0x1003c0,this['_refRangeService']=_0x44d539,this['_commandService']=_0x1877f2,this['_univerInstanceService']=_0x47e139,this[_0x315c55(0x30b)]=_0x2dfd75,this['_sheetsPivotTableAdaptorModel']=_0x4bf27c,this[_0x315c55(0x3ec)]=_0x4be872,this['_onRefRangeChange']());}['_onRefRangeChange'](){const _0x1424ff=_0x3c024c,_0x422e56=(_0x1665f2,_0x1cb578)=>{const _0x4ec609=_0x2ee1,_0x32848e=this[_0x4ec609(0x1d0)][_0x4ec609(0x243)](_0x4d97b9['UNIVER_SHEET']);if(!_0x32848e||!(_0x32848e==null?void 0x0:_0x32848e[_0x4ec609(0x393)](_0x1cb578)))return;this[_0x4ec609(0x369)][_0x4ec609(0x1d7)]();const _0x33ca3a=_0x256667=>this[_0x4ec609(0x2f6)](_0x256667,_0x1665f2,_0x1cb578),_0x4fc62a=this[_0x4ec609(0x30b)]['getSubUnitPivotConfigs'](_0x1665f2,_0x1cb578);if(!(_0x4fc62a!=null&&_0x4fc62a[_0x4ec609(0x37a)]))return;Array[_0x4ec609(0x2ef)](_0x4fc62a[_0x4ec609(0x41f)]())[_0x4ec609(0x29e)](_0x297820=>{const _0x31f1ad=_0x4ec609,{row:_0x9b38fe,col:_0x272d06}=_0x297820[_0x31f1ad(0x2a0)];return _0x1a6fb4(_0x9b38fe,_0x272d06);})[_0x4ec609(0x206)](_0x5a76b5=>{const _0x2beb08=_0x4ec609;this[_0x2beb08(0x369)][_0x2beb08(0x285)](this['_refRangeService']['registerRefRange'](_0x5a76b5,_0x33ca3a,_0x1665f2,_0x1cb578));});},_0x43d0b2=()=>{const _0x30e1c4=_0x2ee1,_0xe0acbd=this[_0x30e1c4(0x1d0)][_0x30e1c4(0x243)](_0x4d97b9[_0x30e1c4(0x333)]);if(_0xe0acbd){const _0x5062a4=_0xe0acbd[_0x30e1c4(0x3b5)]();if(!_0x5062a4)return;_0x422e56(_0xe0acbd['getUnitId'](),_0x5062a4[_0x30e1c4(0x1ef)]());}};this[_0x1424ff(0x1da)](this['_commandService'][_0x1424ff(0x309)](_0xd0ba41=>{const _0x3e0be0=_0x1424ff;if(_0xd0ba41['id']===_0x5ea50b['id']){const _0x33f286=_0xd0ba41[_0x3e0be0(0x225)],_0x543e8f=_0x33f286['subUnitId'],_0x464905=_0x33f286[_0x3e0be0(0x2ca)];if(!_0x543e8f||!_0x464905)return;_0x422e56(_0x464905,_0x543e8f);}})),this[_0x1424ff(0x1da)](this[_0x1424ff(0x30b)]['pivotInitCompleted$']['subscribe'](_0x535338=>{_0x535338&&_0x43d0b2();})),this[_0x1424ff(0x1da)](this[_0x1424ff(0x30b)][_0x1424ff(0x200)][_0x1424ff(0x389)](_0x1c8993=>{const _0x1134de=_0x1424ff,_0x45812d=_0x3848e9(this[_0x1134de(0x1d0)]);if(!_0x45812d)return;const {unitId:_0x2b9bef,subUnitId:_0x369378}=_0x45812d,{unitId:_0x125dd3,subUnitId:_0x337649}=_0x1c8993;_0x2b9bef!==_0x125dd3||_0x369378!==_0x337649||_0x422e56(_0x2b9bef,_0x369378);})),_0x43d0b2();}['_refRangeHandle'](_0x5f57a0,_0x5ce63d,_0x36de9a){const _0x345f14=_0x3c024c;switch(_0x5f57a0['id']){case _0x54474b['id']:return this[_0x345f14(0x37c)](_0x5f57a0[_0x345f14(0x225)],_0x5ce63d,_0x36de9a);}return{'redos':[],'undos':[]};}[_0x3c024c(0x37c)](_0x2b3ecb,_0xeefe48,_0x2e04fa){const _0xfa9bf=_0x3c024c,{fromRange:_0x21eb4a,toRange:_0x3cb1cc}=_0x2b3ecb,_0x3c8363=[],_0x530f0e=[],_0x57f8eb=_0x3848e9(this[_0xfa9bf(0x1d0)]);if(!_0x57f8eb)return{'undos':_0x530f0e,'redos':_0x3c8363};if(_0xeefe48!==_0x57f8eb[_0xfa9bf(0x2ca)]||_0x2e04fa!==_0x57f8eb[_0xfa9bf(0x1e9)])return{'undos':_0x530f0e,'redos':_0x3c8363};const _0x4b8196=this['_sheetsPivotTableConfigModel'][_0xfa9bf(0x344)](_0xeefe48,_0x2e04fa);if(_0x4b8196!=null&&_0x4b8196[_0xfa9bf(0x37a)])for(const [_0x5cf13b,_0x12fe7d]of _0x4b8196){const {unitId:_0x2cd2a1,subUnitId:_0x50a0f3,row:_0x48ccc5,col:_0x9b8b40}=_0x12fe7d[_0xfa9bf(0x2a0)];if(_0x2cd2a1===_0x57f8eb['unitId']&&_0x50a0f3===_0x57f8eb[_0xfa9bf(0x1e9)]){const _0x115ec9=_0x1a6fb4(_0x48ccc5,_0x9b8b40);if(_0x20db5c[_0xfa9bf(0x255)](_0x115ec9,_0x21eb4a)){const _0x269579=_0x48ccc5-_0x21eb4a['startRow'],_0x4aea60=_0x9b8b40-_0x21eb4a[_0xfa9bf(0x210)],_0x15b8ef={'row':_0x3cb1cc[_0xfa9bf(0x1ed)]+_0x269579,'col':_0x3cb1cc[_0xfa9bf(0x210)]+_0x4aea60};_0x3c8363[_0xfa9bf(0x28a)]({'id':pt['id'],'params':{'unitId':_0x2cd2a1,'subUnitId':_0x50a0f3,'pivotTableId':_0x5cf13b,'targetCellPosition':_0x15b8ef}}),_0x530f0e['push']({'id':pt['id'],'params':{'unitId':_0x2cd2a1,'subUnitId':_0x50a0f3,'pivotTableId':_0x5cf13b,'targetCellPosition':{'row':_0x48ccc5,'col':_0x9b8b40}}});const _0x5e155e=_0x15b8ef['row']-_0x48ccc5,_0x2d8d2e=_0x15b8ef[_0xfa9bf(0x3f1)]-_0x9b8b40,_0x34cf61=[],_0x1b4874=this[_0xfa9bf(0x2ac)][_0xfa9bf(0x23c)](_0x2cd2a1,_0x50a0f3,_0x5cf13b),_0x34fd11=_0x1b4874==null?void 0x0:_0x1b4874[_0xfa9bf(0x3ae)];if(_0x34fd11){Object['keys'](_0x34fd11)['forEach'](_0x26c2f5=>{const _0x359380=_0xfa9bf;_0x34fd11[_0x26c2f5][_0x359380(0x206)](_0x34812a=>{const _0x4a67b4=_0x359380,_0x57120c={..._0x34812a};_0x57120c[_0x4a67b4(0x1ed)]=_0x34812a[_0x4a67b4(0x1ed)]+_0x5e155e,_0x57120c[_0x4a67b4(0x365)]=_0x34812a['endRow']+_0x5e155e,_0x57120c[_0x4a67b4(0x210)]=_0x34812a[_0x4a67b4(0x210)]+_0x2d8d2e,_0x57120c['endColumn']=_0x34812a[_0x4a67b4(0x2e6)]+_0x2d8d2e,_0x34cf61['push'](_0x57120c);});});const _0x5e9701=this['_sheetInterceptorService'][_0xfa9bf(0x25d)]({'unitId':_0x2cd2a1,'subUnitId':_0x50a0f3,'ranges':_0x34cf61});_0x3c8363[_0xfa9bf(0x28a)](..._0x5e9701['redos']),_0x530f0e[_0xfa9bf(0x28a)](..._0x5e9701[_0xfa9bf(0x1e7)]);const _0xe272f9=Ho(this['_injector'],_0x2cd2a1,_0x50a0f3,_0x34cf61);_0xe272f9[_0xfa9bf(0x374)]&&(_0x3c8363[_0xfa9bf(0x28a)](_0xe272f9[_0xfa9bf(0x24d)]),_0x530f0e[_0xfa9bf(0x28a)](_0xe272f9[_0xfa9bf(0x2bd)]));}}}}return{'redos':_0x3c8363,'undos':_0x530f0e};}};ft=$s([Ae(0x0,_0x33ce5d(_0x3a9c68)),Ae(0x1,_0x33ce5d(_0x4f21e6)),Ae(0x2,_0xdba7c),Ae(0x3,_0x21c6a9),Ae(0x4,_0x33ce5d(he)),Ae(0x5,_0x33ce5d(Ne)),Ae(0x6,_0x33ce5d(_0x187e89))],ft);var Js=Object[_0x3c024c(0x3d6)],js=(_0x5e6ee7,_0x55a91b,_0x3970bf,_0x157cf7)=>{const _0x17a2eb=_0x3c024c;for(var _0x4ef752=_0x157cf7>0x1?void 0x0:_0x157cf7?Js(_0x55a91b,_0x3970bf):_0x55a91b,_0x23bf15=_0x5e6ee7[_0x17a2eb(0x230)]-0x1,_0x550c20;_0x23bf15>=0x0;_0x23bf15--)(_0x550c20=_0x5e6ee7[_0x23bf15])&&(_0x4ef752=_0x550c20(_0x4ef752)||_0x4ef752);return _0x4ef752;},_o=(_0x3a5e71,_0xd69b3f)=>(_0x1ca441,_0x424e2d)=>_0xd69b3f(_0x1ca441,_0x424e2d,_0x3a5e71);let gt=class extends _0x2a4487{constructor(_0x3d7316,_0x5266eb){const _0x1991d1=_0x3c024c;super(),this[_0x1991d1(0x3ec)]=_0x3d7316,this[_0x1991d1(0x30b)]=_0x5266eb,this[_0x1991d1(0x1c8)]();}['_initRemoveSheetCommandInterceptor'](){const _0x16e06c=_0x3c024c;this[_0x16e06c(0x1da)](this[_0x16e06c(0x3ec)][_0x16e06c(0x1b4)]({'getMutations':_0x5f543f=>{const _0x1bd32b=_0x16e06c;if(_0x5f543f['id']===_0x2cae81['id']){const _0x4f3294=[],_0x39c9fb=[],_0x55d9bb=_0x5f543f[_0x1bd32b(0x225)],{unitId:_0xfe656d,subUnitId:_0x43383b}=_0x55d9bb;if(!_0xfe656d||!_0x43383b)return{'undos':_0x39c9fb,'redos':_0x4f3294};const _0x3a24d4=this[_0x1bd32b(0x30b)][_0x1bd32b(0x344)](_0xfe656d,_0x43383b);if(_0x3a24d4!=null&&_0x3a24d4[_0x1bd32b(0x37a)])for(const [_0x2ef462,_0x51ffb3]of _0x3a24d4){_0x4f3294[_0x1bd32b(0x28a)]({'id':Et['id'],'params':{'unitId':_0xfe656d,'subUnitId':_0x43383b,'pivotTableId':_0x2ef462}});const _0x236d6c={...this[_0x1bd32b(0x30b)][_0x1bd32b(0x1f5)](_0xfe656d,_0x2ef462)};_0x39c9fb[_0x1bd32b(0x28a)]({'id':Ct['id'],'params':{'unitId':_0xfe656d,'subUnitId':_0x43383b,'pivotTableId':_0x2ef462,'pivotTableConfig':_0x51ffb3,'collectionConfig':_0x236d6c}});}return{'redos':_0x4f3294,'undos':_0x39c9fb};}return{'redos':[],'undos':[]};}}));}};gt=js([_o(0x0,_0x33ce5d(_0x187e89)),_o(0x1,_0x33ce5d(he))],gt);var Ws=Object['getOwnPropertyDescriptor'],Ks=(_0x1a4678,_0x17d6e9,_0x23cfd3,_0x254797)=>{const _0x56d9b3=_0x3c024c;for(var _0x49b13b=_0x254797>0x1?void 0x0:_0x254797?Ws(_0x17d6e9,_0x23cfd3):_0x17d6e9,_0x46c5cc=_0x1a4678[_0x56d9b3(0x230)]-0x1,_0x383214;_0x46c5cc>=0x0;_0x46c5cc--)(_0x383214=_0x1a4678[_0x46c5cc])&&(_0x49b13b=_0x383214(_0x49b13b)||_0x49b13b);return _0x49b13b;},Ye=(_0x4a0b31,_0x5ed6d9)=>(_0x28894f,_0xa3c059)=>_0x5ed6d9(_0x28894f,_0xa3c059,_0x4a0b31);let vt=class extends _0x2a4487{constructor(_0x36e0f1,_0x3a4067,_0x2ec4b0,_0x51fd90,_0x423e5a,_0x4e8680){const _0x2d7c97=_0x3c024c;super(),this[_0x2d7c97(0x1f9)]=_0x36e0f1,this[_0x2d7c97(0x1c1)]=_0x3a4067,this[_0x2d7c97(0x2ac)]=_0x2ec4b0,this[_0x2d7c97(0x30b)]=_0x51fd90,this[_0x2d7c97(0x1d0)]=_0x423e5a,this[_0x2d7c97(0x2d5)]=_0x4e8680,this['_initDataSendListener'](),this[_0x2d7c97(0x3ce)]();}[_0x3c024c(0x2e4)](){const _0x267b9a=_0x3c024c;this[_0x267b9a(0x1da)](this['_commandService']['onCommandExecuted'](_0x417158=>{const _0x82bfcb=_0x267b9a;if(_0x417158['id']!==lo['id'])return;const _0xc3168b=_0x417158[_0x82bfcb(0x225)];this[_0x82bfcb(0x1c1)][_0x82bfcb(0x222)](_0xc3168b);})),this['disposeWithMe'](this[_0x267b9a(0x1f9)][_0x267b9a(0x309)](_0x27feba=>{const _0x34eeb4=_0x267b9a;if(_0x27feba['id']===co['id']){const _0x3944b9=_0x27feba[_0x34eeb4(0x225)];if(_0x3944b9){const {unitId:_0xdf8fec,subUnitId:_0x3ce1f0,oldSubUnitId:_0x203c41,pivotTableId:_0x12c3ed,pivotTableConfig:_0x4018a8,collectionConfig:_0x2b7743}=_0x3944b9;this[_0x34eeb4(0x30b)][_0x34eeb4(0x3ad)](_0xdf8fec,_0x203c41,_0x3944b9[_0x34eeb4(0x1d5)],null),this[_0x34eeb4(0x30b)]['updateConfigCache'](_0xdf8fec,_0x3ce1f0,_0x12c3ed,_0x4018a8),this[_0x34eeb4(0x30b)][_0x34eeb4(0x1be)](_0xdf8fec,_0x2b7743);}}})),this['disposeWithMe'](this['_commandService'][_0x267b9a(0x309)](_0x845f24=>{const _0xc02856=_0x267b9a;if(_0x845f24['id']!==Dt['id'])return;const _0x12771b=_0x3848e9(this[_0xc02856(0x1d0)]);if(!_0x12771b)return;const {unitId:_0x558bb8,subUnitId:_0x508256}=_0x12771b,_0x24e783=_0x845f24[_0xc02856(0x225)];if(_0x24e783[_0xc02856(0x2b6)]&&Object[_0xc02856(0x2c1)](_0x24e783[_0xc02856(0x2b6)])[_0xc02856(0x206)](_0x2a0921=>{const _0x4e2629=_0xc02856;var _0x4f4fbe;(_0x4f4fbe=_0x24e783[_0x4e2629(0x2b6)])!=null&&_0x4f4fbe[_0x2a0921]&&this['_sheetsPivotTableConfigModel'][_0x4e2629(0x1be)](_0x2a0921,_0x24e783['collectionConfig'][_0x2a0921]);}),_0x24e783[_0xc02856(0x1c5)]){const _0x475600=_0x24e783[_0xc02856(0x1c5)],{unitId:_0x2a2d34,subUnitId:_0x24cb94,view:_0x5d76c4,pivotTableId:_0x10e61a,type:_0x185a59,pivotConfig:_0xffd146}=_0x475600;if(_0x185a59===L[_0xc02856(0x1e6)])this[_0xc02856(0x2ac)][_0xc02856(0x2ee)]({'unitId':_0x2a2d34,'subUnitId':_0x24cb94,'pivotTableId':_0x10e61a,'type':_0x185a59}),this[_0xc02856(0x30b)][_0xc02856(0x3ad)](_0x2a2d34,_0x24cb94,_0x10e61a,null);else{const _0x617504=new _0x289ec7();_0x617504[_0xc02856(0x229)](_0x5d76c4),this[_0xc02856(0x30b)]['updateConfigCache'](_0x2a2d34,_0x24cb94,_0x10e61a,_0xffd146),this['_sheetsPivotTableAdaptorModel'][_0xc02856(0x2ee)]({'unitId':_0x2a2d34,'subUnitId':_0x24cb94,'pivotTableId':_0x10e61a,'type':_0x185a59,'view':_0x617504}),this[_0xc02856(0x2ac)]['updateRenderCache']({'unitId':_0x2a2d34,'subUnitId':_0x24cb94,'view':_0x617504,'pivotTableId':_0x10e61a,'type':_0x185a59});}}else _0x24e783['batch']&&(_0x24e783[_0xc02856(0x33a)][_0xc02856(0x206)](_0x571960=>{const _0x2d7533=_0xc02856,{unitId:_0x38c4ed,subUnitId:_0x591208,view:_0x4ada0d,pivotTableId:_0x3279c2,type:_0x174c05,pivotConfig:_0x4212df}=_0x571960,_0x58a271=new _0x289ec7();_0x58a271[_0x2d7533(0x229)](_0x4ada0d),this['_sheetsPivotTableConfigModel'][_0x2d7533(0x3ad)](_0x38c4ed,_0x591208,_0x3279c2,_0x4212df),this[_0x2d7533(0x2ac)][_0x2d7533(0x26a)]({'unitId':_0x38c4ed,'subUnitId':_0x591208,'view':_0x58a271,'pivotTableId':_0x3279c2,'type':_0x174c05});}),this['_sheetsPivotTableConfigModel'][_0xc02856(0x380)]());this[_0xc02856(0x2ac)]['markDirty'](_0x558bb8,_0x508256);}));}[_0x3c024c(0x3ce)](){const _0x317d8e=_0x3c024c;this[_0x317d8e(0x2d5)][_0x317d8e(0x270)](Ut['id'],{'commandId':Ut['id'],'getDirtyData'(_0x5b27e0){const _0x5dae5e=_0x317d8e;return{'dirtyUnitFeatureMap':_0x5b27e0[_0x5dae5e(0x225)]};}});}};vt=Ks([Ye(0x0,_0x33ce5d(_0xdba7c)),Ye(0x1,_0x33ce5d(Z)),Ye(0x2,_0x33ce5d(Ne)),Ye(0x3,_0x33ce5d(he)),Ye(0x4,_0x33ce5d(_0x21c6a9)),Ye(0x5,_0x6e5ec2)],vt);var Hs=Object[_0x3c024c(0x237)],qs=Object[_0x3c024c(0x3d6)],Ys=(_0x223f22,_0x3b5276,_0x572d77)=>_0x3b5276 in _0x223f22?Hs(_0x223f22,_0x3b5276,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x572d77}):_0x223f22[_0x3b5276]=_0x572d77,zs=(_0x3cd6cd,_0x2f062e,_0x364647,_0x16c27e)=>{for(var _0x124495=_0x16c27e>0x1?void 0x0:_0x16c27e?qs(_0x2f062e,_0x364647):_0x2f062e,_0x13658c=_0x3cd6cd['length']-0x1,_0x516463;_0x13658c>=0x0;_0x13658c--)(_0x516463=_0x3cd6cd[_0x13658c])&&(_0x124495=_0x516463(_0x124495)||_0x124495);return _0x124495;},Rt=(_0x1216b2,_0xe28a67)=>(_0x57db31,_0x586eda)=>_0xe28a67(_0x57db31,_0x586eda,_0x1216b2),Xo=(_0x4ff303,_0x22d546,_0xd002f)=>Ys(_0x4ff303,typeof _0x22d546!=_0x3c024c(0x39a)?_0x22d546+'':_0x22d546,_0xd002f);let Vt=class extends _0x1c533e{constructor(_0x53488e=Mo,_0x3dd68b,_0x57c5de,_0x2f0904,_0x339048){const _0x1aa95f=_0x3c024c;super(),this[_0x1aa95f(0x335)]=_0x53488e,this[_0x1aa95f(0x1ff)]=_0x3dd68b,this[_0x1aa95f(0x1f9)]=_0x57c5de,this[_0x1aa95f(0x379)]=_0x2f0904,this[_0x1aa95f(0x1b6)]=_0x339048;const {..._0x516962}=_0x51ebf7({},Mo,this[_0x1aa95f(0x335)]);this['_configService'][_0x1aa95f(0x416)](Yo,_0x516962),this['_initRegisterCommand'](),this[_0x1aa95f(0x2d8)]();}[_0x3c024c(0x2d8)](){const _0x5269c7=_0x3c024c;var _0x1c11ad;const _0x15f154=(_0x1c11ad=this['_config'])==null?void 0x0:_0x1c11ad[_0x5269c7(0x359)];this[_0x5269c7(0x379)][_0x5269c7(0x416)](q,_0x15f154===!0x0);}[_0x3c024c(0x1c3)](){const _0x72483a=_0x3c024c;var _0x54c1cd;let _0x137d12=[];const _0x4612e2=(_0x54c1cd=this[_0x72483a(0x335)])==null?void 0x0:_0x54c1cd[_0x72483a(0x359)];_0x4612e2===!0x0?_0x137d12=[[ie],[Z],[vt],[Ne],[he],[gt],[ct],[ft],[ut]]:_0x4612e2===!0x1?_0x137d12=[[$],[dt]]:_0x4612e2===void 0x0&&(_0x137d12=[[$],[dt],[ie],[Z],[vt],[Ne],[he],[gt],[ct],[ft],[ut]]),_0x137d12[_0x72483a(0x206)](_0xc188af=>this['_injector'][_0x72483a(0x285)](_0xc188af)),[dt,vt,ie,ct,gt,ft,ut]['forEach'](_0x2d2600=>{const _0x1bf163=_0x72483a;this[_0x1bf163(0x1ff)]['has'](_0x2d2600)&&this['_injector']['get'](_0x2d2600);});}[_0x3c024c(0x275)](){const _0x412b36=_0x3c024c;[hs,ps,vs,ms,Cs,ys,Ds,bs,Ps,Ss,Ts,Ms,ws,Is,Ct,oo,Et,$t,zo,Qo,Ht,Jt,jt,Wt,Yt,qt,pt,ro,lo,Dt,Xt,eo,zt,Kt,uo,to,Zt,Ut,co,_s,Qt,Rs,Fs][_0x412b36(0x206)](_0x168bf9=>{const _0x2c7896=_0x412b36;var _0x448f1a;(_0x448f1a=this[_0x2c7896(0x1b6)])==null||_0x448f1a[_0x2c7896(0x356)](_0x168bf9),this['_commandService']['registerCommand'](_0x168bf9);});}};Xo(Vt,'pluginName',ao),Xo(Vt,_0x3c024c(0x2b8),_0x4d97b9['UNIVER_SHEET']),Vt=zs([_0x2ea0d9(_0x20792b),Rt(0x1,_0x33ce5d(_0x3a9c68)),Rt(0x2,_0x33ce5d(_0xdba7c)),Rt(0x3,_0x4ca711),Rt(0x4,_0x25f62a(_0x1a8803))],Vt);export{vs as AddPivotFieldCommand,$t as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,hs as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,ws as MovePivotTableCommand,A as PivotDisplayDataType,Is as PivotDrillDownCommand,L as PivotTableOperationEnum,Ut as PivotTableViewDirtyMarkOperation,Go as PositionType,Cs as RemovePivotFieldCommand,Jt as RemovePivotFieldMutation,Et as RemovePivotTableMutation,jt as RenamePivotFieldMutation,Fs as ResetPivotFieldsConfigCommand,Yo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,Wt as SetPivotCollapseMutation,Kt as SetPivotFieldFormatMutation,Rs as SetPivotFieldsConfigCommand,Ss as SetPivotFilterCommand,Ht as SetPivotFilterMutation,qt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ps as SetPivotSortCommand,Yt as SetPivotSortMutation,zt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,$ as SheetsPivotDataSourceModel,Z as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,he as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Vt as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Ts as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,Ms as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,ys as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,Ko as canUsePivot,fe as defaultThemeStyle,Ho as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Ai as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Ei as getPivotCellInfo,go as getPivotInfoByLicense,xi as getPivotTableInfo,ht as transFromCellValue,Lt as unionPivotViewRange};
1
+ const _0x106979=_0x2baf;(function(_0x5b5b58,_0x364750){const _0x99877d=_0x2baf,_0x28f8ed=_0x5b5b58();while(!![]){try{const _0x598175=-parseInt(_0x99877d(0x2eb))/0x1*(parseInt(_0x99877d(0x235))/0x2)+-parseInt(_0x99877d(0x1da))/0x3*(parseInt(_0x99877d(0x420))/0x4)+-parseInt(_0x99877d(0x278))/0x5*(-parseInt(_0x99877d(0x38b))/0x6)+parseInt(_0x99877d(0x231))/0x7+-parseInt(_0x99877d(0x22b))/0x8*(-parseInt(_0x99877d(0x222))/0x9)+parseInt(_0x99877d(0x293))/0xa+-parseInt(_0x99877d(0x1d2))/0xb*(parseInt(_0x99877d(0x363))/0xc);if(_0x598175===_0x364750)break;else _0x28f8ed['push'](_0x28f8ed['shift']());}catch(_0x408498){_0x28f8ed['push'](_0x28f8ed['shift']());}}}(_0x5d48,0xea124));var an=Object[_0x106979(0x1cb)],rn=(_0x40716e,_0x57573a,_0x255bb9)=>_0x57573a in _0x40716e?an(_0x40716e,_0x57573a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x255bb9}):_0x40716e[_0x57573a]=_0x255bb9,U=(_0x54ede0,_0x341ad9,_0x21e4f4)=>rn(_0x54ede0,typeof _0x341ad9!=_0x106979(0x1f4)?_0x341ad9+'':_0x341ad9,_0x21e4f4);import{PivotCellStyleTypeEnum as _0x49bacc,PivotViewCellValueTypeEnum as _0x4d9c15,isPrefixValue as _0x4deaf6,isErrorValue as _0x119db5,PivotErrorTypeEnum as _0x389789,PivotDateGroupFieldDateTypeEnum as _0xd4ed35,DataFieldManager as _0x37d50d,FieldsCollection as _0x4014cf,isDateValue as _0x2c3e25,DataField as _0x562e67,generateHexNumber as _0x5c7b71,isBaseGroupField as _0x1a7850,PivotTable as _0xa76544,PivotSubtotalTypeEnum as _0x2fb6f8,PivotTableFiledAreaEnum as _0x1c5d91,excelDateToUnixMilliseconds as _0x13b41e,createValueField as _0x55490b,createLabelField as _0x1e256c,PivotTableChangeTypeEnum as _0x5625a1,BaseGroupField as _0x4272e7,PivotView as _0x4904e9,isDateGroupFieldJSON as _0x1db23e,PivotCallbackEnum as _0x487b00,PivotFilterTypeEnum as _0x572ec7,getAutoDisplayName as _0x2228b9,PivotDataFieldDataTypeEnum as _0xcdd801,PivotTableValuePositionEnum as _0x48802f,isDateGroupField as _0x4973f8,DateGroupField as _0x32ad19}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x2adf2b,ObjectMatrix as _0xea1b6e,IUniverInstanceService as _0x5104e9,UniverInstanceType as _0x193d62,CellValueType as _0x4899a5,numfmt as _0x598c93,LocaleService as _0x3d09ef,createAsyncInterceptorKey as _0x9696b5,createInterceptorKey as _0x539bf0,CommandType as _0x46c529,RANGE_TYPE as _0x32d78e,numberToABC as _0xa9c8a2,Inject as _0x1b9fdc,Injector as _0x575649,LifecycleService as _0x3c231c,IConfigService as _0x2086c7,ICommandService as _0x5993ab,IResourceManagerService as _0x6f869e,Disposable as _0xf281b6,Rectangle as _0x5dcab,Tools as _0xd77d28,AsyncInterceptorManager as _0x1be31c,InterceptorManager as _0x1f7f12,InterceptorEffectEnum as _0x51f1d8,CustomCommandExecutionError as _0x3028fb,IUndoRedoService as _0x5a78f4,sequenceExecute as _0x3cd50c,mergeWorksheetSnapshotWithDefault as _0x390466,generateRandomId as _0x20d13a,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x346e29,DEFAULT_WORKSHEET_ROW_COUNT as _0x1a4629,DisposableCollection as _0x194a14,Range as _0x42c7c8,DependentOn as _0x23bb17,Optional as _0x37570f,Plugin as _0x1f2f58,merge as _0x1b73f9}from'@univerjs/core';import{ErrorType as _0x134c44,serializeRangeWithSpreadsheet as _0xbe913,IFeatureCalculationManagerService as _0x40e6c9,GlobalComputingStatusService as _0x38db08,IActiveDirtyManagerService as _0x5339e5}from'@univerjs/engine-formula';import{generateNullCell as _0xaad47c,SetRangeValuesUndoMutationFactory as _0x38c492,SetRangeValuesMutation as _0x23eee1,getSheetCommandTarget as _0x3f65ca,InsertRowMutation as _0x197c98,RemoveRowMutation as _0x2d0d42,InsertColMutation as _0x5d23cd,RemoveColMutation as _0x3d69dc,IExclusiveRangeService as _0x4a62f5,SheetInterceptorService as _0x50fd92,INTERCEPTOR_POINT as _0x4b4679,InsertSheetCommand as _0x28348d,InsertSheetUndoMutationFactory as _0x4d5165,RemoveSheetMutation as _0x399d57,InsertSheetMutation as _0x51ea25,MoveRangeMutation as _0x5a29ea,SheetsSelectionsService as _0x4e7ede,ClearSelectionContentCommand as _0x1d2615,ClearSelectionAllCommand as _0x5fe108,SetWorksheetColWidthMutation as _0x35ef1a,RefRangeService as _0x5d8ae1,SetWorksheetActiveOperation as _0x262a4e,MoveRangeCommand as _0xfbb3b8,RemoveSheetCommand as _0x332c04}from'@univerjs/sheets';import{Subject as _0x4f75e8,BehaviorSubject as _0x5a62be}from'rxjs';import{LS_CONFIG_KEY as _0x294254,unshiftString as _0x3dccf3,isFeatureAuthorizedWithinTime as _0x31bf23,getSheetFeatureLimit as _0x44463c,ReleaseType as _0xe11eb5,UniverLicensePlugin as _0x5e74e4}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x43fed7,RemoveSheetsFilterMutation as _0x35f22f}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x50c3f6}from'@univerjs/rpc';import{getFontStyleString as _0x4f5aa1,FontCache as _0xe954c9}from'@univerjs/engine-render';const ko=Number[_0x106979(0x1eb)](0x682b5784),li=0x10,so=0x1,ao=_0x106979(0x341),It=0x1,ci=_0x106979(0x376),di=_0x106979(0x2bb),wt=_0x106979(0x1e4),ui='#f4f4f5',fi=_0x106979(0x2e0),gi='#eceeff',hi=_0x106979(0x3ee),vi=_0x106979(0x3a2),pi=_0x106979(0x3a3),mi=_0x106979(0x3ee),Ii=_0x106979(0x3a2),Ci=_0x106979(0x426),bi=0xe,Pi=0x6;var Bo=(_0x253bc1=>(_0x253bc1[_0x106979(0x29d)]=_0x106979(0x3da),_0x253bc1[_0x106979(0x2ee)]=_0x106979(0x31e),_0x253bc1))(Bo||{});const Lo={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Si=0x1e,We={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ci},'bd':We,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':We,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':We,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':We,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':We,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':hi},'cl':{'rgb':vi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':We,'vt':0x2}};function Ti(_0x59180c,_0x65579c,_0x701711){const _0x56631e=_0x106979,_0x1d445e=_0x59180c[_0x56631e(0x335)](_0x3d09ef),_0x34df31=_0x701711[_0x56631e(0x40a)]('_');switch(_0x65579c){case _0xd4ed35['Year']:return _0x1d445e['t'](_0x56631e(0x3e4),..._0x34df31);case _0xd4ed35['Minute']:return _0x1d445e['t'](_0x56631e(0x3cc),..._0x34df31);case _0xd4ed35['Hour']:return _0x1d445e['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x34df31);case _0xd4ed35['HourMinute']:return _0x1d445e['t'](_0x56631e(0x263),..._0x34df31);case _0xd4ed35[_0x56631e(0x435)]:return _0x1d445e['t'](_0x56631e(0x1d5),..._0x34df31);case _0xd4ed35[_0x56631e(0x436)]:return _0x1d445e['t'](_0x56631e(0x3d8),..._0x34df31);case _0xd4ed35[_0x56631e(0x23a)]:return _0x1d445e['t'](_0x56631e(0x31d),..._0x34df31);case _0xd4ed35[_0x56631e(0x2e7)]:return _0x1d445e['t'](_0x56631e(0x41c),..._0x34df31);case _0xd4ed35[_0x56631e(0x2a9)]:return _0x1d445e['t'](_0x56631e(0x3f1),..._0x34df31);case _0xd4ed35[_0x56631e(0x42b)]:return _0x1d445e['t'](_0x56631e(0x2e2),..._0x34df31);}return'';}const it=(_0x4acbf0,_0x4747f9,_0x190d97,_0x577a1d)=>{const _0x59483b=_0x106979;let _0x44ce89;const _0x5b276a=_0x4acbf0[_0x59483b(0x335)](_0x5104e9)[_0x59483b(0x352)](_0x193d62[_0x59483b(0x328)]);if(!_0x5b276a)return null;const _0x218df9=_0x5b276a[_0x59483b(0x393)]();let _0x1d038b;if(_0x190d97&&(_0x1d038b=_0x218df9[_0x59483b(0x3aa)](_0x190d97)),_0x4747f9!=null&&_0x4747f9['v']||(_0x4747f9==null?void 0x0:_0x4747f9['v'])===0x0){_0x44ce89||(_0x44ce89={});const _0x4cf87e=$o(_0x4747f9['v']);typeof _0x4cf87e==_0x59483b(0x236)?_0x44ce89['t']=_0x4899a5['NUMBER']:typeof _0x4cf87e==_0x59483b(0x2c3)&&(_0x44ce89['t']=_0x4899a5[_0x59483b(0x3a4)]),_0x44ce89['v']=_0x4cf87e;}if((_0x4747f9!=null&&_0x4747f9['i']||(_0x4747f9==null?void 0x0:_0x4747f9['i'])===0x0)&&(_0x44ce89||(_0x44ce89={}),_0x44ce89['fi']=_0x4747f9['i']),_0x4747f9!=null&&_0x4747f9['s']&&(_0x44ce89||(_0x44ce89={}),_0x44ce89[_0x59483b(0x3d2)]=_0x4747f9['s']),_0x190d97&&(_0x44ce89||(_0x44ce89={}),_0x44ce89['s']=_0x1d038b),_0x577a1d&&_0x44ce89!=null&&_0x44ce89['v']&&_0x44ce89[_0x59483b(0x3d2)]!==_0x49bacc[_0x59483b(0x3bb)]&&_0x44ce89[_0x59483b(0x3d2)]!==_0x49bacc['Subtotal']){const _0x255934=String(_0x44ce89['v']),{dateType:_0x26bb94}=_0x577a1d;_0x44ce89['v']=Ti(_0x4acbf0,_0x26bb94,_0x255934),_0x44ce89['t']=_0x4899a5[_0x59483b(0x3a4)];}return _0x44ce89;},yi=(_0x2d6f37,_0xa7e606,_0x50ccfe,_0xc91825)=>{const _0x130f6e=_0x106979;var _0xa18e2f,_0x16f059,_0x4d1d67,_0x335e7b,_0x3cd995,_0x1647b3,_0x19f3df,_0x206abe,_0x10efd9,_0x781755,_0x2b0950,_0xdf3e1c,_0x540a75,_0x19092c;const _0x597242=_0x50ccfe[_0x130f6e(0x1a9)],{cornerView:_0x2d3ef0,rowView:_0x85aed8,colView:_0xbd7bb6,dataView:_0xfcabc5,pageView:_0x49f0dd,formatMap:_0x5da6eb,groupInfo:_0x3fff6e}=_0xa7e606,{row:_0x3c5e61,col:_0x51e72f}=_0x597242,_0xfdf01=new _0xea1b6e(),_0x52687e={},_0x25b95c={},_0x3596fe={},_0x20a08a={},_0x54fefa={};let _0xadb47c=_0x3c5e61,_0x550fa6=_0x51e72f;Object[_0x130f6e(0x2f0)](_0x49f0dd[_0x130f6e(0x24a)])[_0x130f6e(0x3ec)](_0x4634fd=>{const _0x324b7a=_0x130f6e;Object[_0x324b7a(0x2f0)](_0x49f0dd[_0x324b7a(0x24a)][Number(_0x4634fd)])[_0x324b7a(0x3ec)](_0x5502ad=>{const _0x8ffe16=_0x324b7a,_0x5b45e1={..._0x49f0dd[_0x8ffe16(0x24a)][Number(_0x4634fd)][Number(_0x5502ad)]};_0xfdf01[_0x8ffe16(0x3aa)](Number(_0x4634fd)+_0xadb47c,Number(_0x5502ad)+_0x550fa6,it(_0x2d6f37,_0x5b45e1,fe['pageStyle']));});});const _0x2c718b=Object['keys'](_0x49f0dd['data'])[_0x130f6e(0x1e7)];_0xadb47c+=_0x2c718b+(_0x2c718b?It:0x0);const _0x3497d3=_0x2d3ef0[_0x130f6e(0x1e6)](),_0x3f53f1=_0x2d3ef0[_0x130f6e(0x28d)]();for(let _0x51eebe=0x0;_0x51eebe<_0x3497d3;_0x51eebe++)for(let _0x3c03e7=0x0;_0x3c03e7<_0x3f53f1;_0x3c03e7++){const _0xd3f978={...(_0x16f059=(_0xa18e2f=_0x2d3ef0[_0x130f6e(0x24a)])==null?void 0x0:_0xa18e2f[_0x51eebe])==null?void 0x0:_0x16f059[_0x3c03e7]};_0xd3f978&&((_0x4d1d67=_0x85aed8[_0x130f6e(0x39b)][_0x3c03e7])!=null&&_0x4d1d67[_0x130f6e(0x329)])&&_0x3c03e7===_0x3f53f1-0x1&&_0x51eebe===_0x3497d3-0x1&&(_0xd3f978['v']=''+_0xc91825[_0x130f6e(0x3b2)]),_0xfdf01[_0x130f6e(0x3aa)](_0x51eebe+_0xadb47c,_0x3c03e7+_0x550fa6,it(_0x2d6f37,_0xd3f978,fe[_0x130f6e(0x2d9)]));}for(let _0x4b3451=0x0;_0x4b3451<_0x2d3ef0[_0x130f6e(0x251)][_0x130f6e(0x1e7)];_0x4b3451++)_0x2d3ef0[_0x130f6e(0x251)][_0x4b3451]&&(_0x3596fe[''+(_0x4b3451+_0x550fa6)]=_0x2d3ef0[_0x130f6e(0x251)][_0x4b3451]);_0x550fa6+=_0x3f53f1;const _0x3e0cf1=_0xbd7bb6['headerMap'],_0x4e90f5=_0xbd7bb6[_0x130f6e(0x35c)]()>=0x0?_0xbd7bb6[_0x130f6e(0x35c)]()+0x1:0x0,_0x19d729=_0xbd7bb6[_0x130f6e(0x29e)]()>=0x0?_0xbd7bb6['getLastCol']()+0x1:0x0;for(let _0x487133=0x0;_0x487133<_0x19d729;_0x487133++){for(let _0x40e513=0x0;_0x40e513<_0x4e90f5;_0x40e513++){const _0x326089={...(_0x3cd995=(_0x335e7b=_0xbd7bb6[_0x130f6e(0x24a)])==null?void 0x0:_0x335e7b[_0x40e513])==null?void 0x0:_0x3cd995[_0x487133]},_0x35b3f4=(_0x1647b3=_0x3e0cf1[_0x40e513])==null?void 0x0:_0x1647b3[_0x130f6e(0x30a)],_0x5a554e=_0x5da6eb[_0x35b3f4],_0x5d498f=_0x3fff6e[_0x35b3f4];_0x326089&&(_0x326089['v']=vt(_0x326089,_0x40e513===0x0&&((_0x19f3df=_0xbd7bb6[_0x130f6e(0x385)](_0x487133+0x1))==null?void 0x0:_0x19f3df[_0x130f6e(0x329)]),_0x5a554e,_0xc91825));let _0x42b85e;_0x5a554e?_0x42b85e={...fe[_0x130f6e(0x2dc)],'n':{'pattern':_0x5a554e}}:_0x42b85e={...fe[_0x130f6e(0x2dc)]},_0xfdf01[_0x130f6e(0x3aa)](_0x40e513+_0xadb47c,_0x487133+_0x550fa6,it(_0x2d6f37,_0x326089,_0x42b85e,_0x5d498f));}_0xbd7bb6[_0x130f6e(0x251)][_0x487133]&&(_0x25b95c[''+(_0x487133+_0x550fa6)]=_0xbd7bb6[_0x130f6e(0x251)][_0x487133]),_0xbd7bb6[_0x130f6e(0x39b)][_0x487133+0x1]&&(_0x54fefa[''+(_0x487133+_0xadb47c+0x1)]=_0xbd7bb6[_0x130f6e(0x39b)][_0x487133+0x1]);}_0xadb47c+=_0x3497d3;const _0x16e125=_0x85aed8[_0x130f6e(0x39b)],_0x5040e7=_0x85aed8[_0x130f6e(0x35c)]()>=0x0?_0x85aed8[_0x130f6e(0x35c)]()+0x1:0x0,_0x4ea9c6=_0x85aed8[_0x130f6e(0x29e)]()>=0x0?_0x85aed8[_0x130f6e(0x29e)]()+0x1:0x0;for(let _0x1a5368=0x0;_0x1a5368<_0x5040e7;_0x1a5368++){for(let _0x54999c=0x0;_0x54999c<_0x4ea9c6;_0x54999c++){const _0x2e0f4d={...(_0x10efd9=(_0x206abe=_0x85aed8[_0x130f6e(0x24a)])==null?void 0x0:_0x206abe[_0x1a5368])==null?void 0x0:_0x10efd9[_0x54999c]},_0x2ecb23=(_0x781755=_0x16e125[_0x54999c])==null?void 0x0:_0x781755[_0x130f6e(0x30a)],_0x3209d9=_0x5da6eb[_0x2ecb23],_0xb8e329=_0x3fff6e[_0x2ecb23];_0x2e0f4d&&(_0x2e0f4d['v']=vt(_0x2e0f4d,!0x1,_0x3209d9,_0xc91825));let _0xe890fd;_0x85aed8[_0x130f6e(0x251)][_0x1a5368][_0x130f6e(0x398)]===_0x85aed8[_0x130f6e(0x28d)]()?_0xe890fd=fe[_0x130f6e(0x1c0)]:_0x85aed8['info'][_0x1a5368][_0x130f6e(0x38e)]?_0xe890fd=_0x85aed8[_0x130f6e(0x251)][_0x1a5368][_0x130f6e(0x398)]===0x0?fe[_0x130f6e(0x321)]:fe[_0x130f6e(0x35a)]:_0xe890fd=fe[_0x130f6e(0x225)],_0x3209d9&&(_0xe890fd={..._0xe890fd,'n':{'pattern':_0x3209d9}}),_0xfdf01[_0x130f6e(0x3aa)](_0x1a5368+_0xadb47c,_0x54999c+_0x51e72f,it(_0x2d6f37,_0x2e0f4d,_0xe890fd,_0xb8e329));}_0x85aed8[_0x130f6e(0x251)][_0x1a5368]&&(_0x52687e[''+(_0x1a5368+_0xadb47c)]=_0x85aed8[_0x130f6e(0x251)][_0x1a5368]),_0x85aed8['headerMap'][_0x1a5368]&&(_0x20a08a[''+(_0x1a5368+_0x51e72f)]=_0x85aed8[_0x130f6e(0x39b)][_0x1a5368]);}const _0x39b9d8=_0xfcabc5['getRowCount'](),_0x5bd60c=_0xfcabc5[_0x130f6e(0x28d)]();for(let _0x204532=0x0;_0x204532<_0x39b9d8;_0x204532++)for(let _0x36c054=0x0;_0x36c054<_0x5bd60c;_0x36c054++){const _0x4657a7={...(_0xdf3e1c=(_0x2b0950=_0xfcabc5[_0x130f6e(0x24a)])==null?void 0x0:_0x2b0950[_0x204532])==null?void 0x0:_0xdf3e1c[_0x36c054]};let _0x163298;_0x85aed8[_0x130f6e(0x251)][_0x204532][_0x130f6e(0x38e)]?_0x163298=_0x85aed8[_0x130f6e(0x251)][_0x204532][_0x130f6e(0x398)]===0x0?fe['grandTotal']:fe['subTotalStyle']:_0x163298=fe[_0x130f6e(0x20d)];const _0x37bf0f=_0x85aed8['info'][_0x204532][_0x130f6e(0x2dd)],_0x7baaa3=_0xbd7bb6[_0x130f6e(0x251)][_0x36c054]['valueIndex'],_0xef215e=Math['max'](_0x37bf0f,_0x7baaa3),_0x328483=_0x50ccfe[_0x130f6e(0x2da)][_0x130f6e(0x37b)][_0x130f6e(0x1fd)]();let _0x6397d='';_0xef215e<0x0?_0x6397d=(_0x540a75=_0x328483[0x0])!=null?_0x540a75:'':_0x6397d=(_0x19092c=_0x328483[_0xef215e])!=null?_0x19092c:'';const _0x5993da=_0x5da6eb[_0x6397d];_0x5993da&&(_0x163298={..._0x163298,'n':{'pattern':_0x5993da}}),_0xfdf01['setValue'](_0x204532+_0xadb47c,_0x36c054+_0x550fa6,it(_0x2d6f37,_0x4657a7,_0x163298));}return{'valueMatrix':_0xfdf01,'rowInfo':_0x52687e,'colInfo':_0x25b95c,'cornerInfo':_0x3596fe,'rowHeaderMap':_0x20a08a,'colHeaderMap':_0x54fefa};};function vt(_0x7752c5,_0x20cfec,_0x3e8d0d,_0x397490){const _0x51ae6f=_0x106979;let _0x391f46=_0x7752c5['v'];_0x20cfec&&(_0x391f46=''+_0x397490['sheets-pivot.value']);const _0x23a377=_0x7752c5['t']&&(_0x7752c5['t']&_0x4d9c15[_0x51ae6f(0x2c0)])>0x0;if(_0x23a377&&(_0x391f46=''+_0x397490['sheets-pivot.blank']),_0x7752c5['s']===_0x49bacc[_0x51ae6f(0x220)]){let _0xe84d1=_0x391f46,_0x272dd9='';_0x4deaf6(_0x391f46)&&(_0xe84d1=_0x391f46[_0x51ae6f(0x3a8)],_0x272dd9=_0x391f46[_0x51ae6f(0x2be)]);const _0x17cbb9=_0x3e8d0d&&!_0x23a377?_0x598c93[_0x51ae6f(0x392)](_0x3e8d0d,Number(_0xe84d1)):_0xe84d1;_0x272dd9?_0x391f46=_0x17cbb9+'\x20'+_0x272dd9:_0x391f46=_0x17cbb9+'\x20'+_0x397490['sheets-pivot.subTotal'];}else _0x7752c5['s']===_0x49bacc[_0x51ae6f(0x3bb)]&&(_0x391f46=_0x391f46+'\x20'+_0x397490[_0x51ae6f(0x39c)]);return _0x391f46;}function $o(_0x329f93){const _0x4eb4fe=_0x106979;if(_0x119db5(_0x329f93)){const {errorType:_0x57b67d}=_0x329f93;switch(_0x57b67d){case _0x389789['Div0']:return _0x134c44[_0x4eb4fe(0x400)];case _0x389789['NotNumber']:return _0x134c44[_0x4eb4fe(0x410)];case _0x389789[_0x4eb4fe(0x216)]:return _0x134c44[_0x4eb4fe(0x375)];case _0x389789[_0x4eb4fe(0x242)]:return _0x134c44['NAME'];case _0x389789[_0x4eb4fe(0x26c)]:return _0x134c44['REF'];}}return _0x329f93;}function ge(_0x102cbd,_0x2a828f,_0x1b71d5=!0x1,_0x18ad05=!0x1){const _0x2afb5e=_0x106979,{data:_0x1166e8}=_0x2a828f,_0x1e76e6=_0x2a828f[_0x2afb5e(0x1e6)](),_0x18342d=_0x2a828f[_0x2afb5e(0x28d)]();if(_0x1e76e6<=0x0||_0x18342d<=0x0)return[];const _0x2a071d=_0x2a828f[_0x2afb5e(0x29e)](),_0x348c4b=_0x2a828f['getLastRow'](),_0x379ff3=_0x18ad05?_0x348c4b>=0x0?_0x348c4b+0x1:0x0:_0x1e76e6,_0x4bf482=_0x18ad05?_0x2a071d>=0x0?_0x2a071d+0x1:0x0:_0x18342d,{row:_0x2aa404,col:_0x1cbed5}=_0x102cbd,_0x3daf06=_0x2aa404,_0x286537=_0x1cbed5;if(_0x1b71d5){const _0x2c1fd4=[];for(const [_0x17d21f,_0x4b6f16]of Object[_0x2afb5e(0x25e)](_0x1166e8))for(const [_0x2ebfcf,_0x48973c]of Object['entries'](_0x4b6f16))_0x2c1fd4[_0x2afb5e(0x32d)](_0x2adf2b(_0x3daf06+Number(_0x17d21f),_0x286537+Number(_0x2ebfcf)));return _0x2c1fd4;}else{const _0x53d474=_0x18ad05?_0x379ff3>0x0?0x1:0x0:0x1,_0x3c3a6c=_0x18ad05?_0x4bf482>0x0?0x1:0x0:0x1,_0x4a4f00=_0x2aa404+_0x379ff3-_0x53d474,_0x111ee6=_0x1cbed5+_0x4bf482-_0x3c3a6c;return[{'startRow':_0x3daf06,'startColumn':_0x286537,'endRow':_0x4a4f00,'endColumn':_0x111ee6}];}}const q=_0x106979(0x391),Bt='SHEET_PIVOT_EXCLUSIVE_ID';var k=(_0x489e7e=>(_0x489e7e['Filter']=_0x106979(0x437),_0x489e7e[_0x106979(0x296)]='panel',_0x489e7e[_0x106979(0x309)]='addPivotField',_0x489e7e[_0x106979(0x382)]=_0x106979(0x382),_0x489e7e[_0x106979(0x3b7)]='addPivotTable',_0x489e7e[_0x106979(0x25b)]=_0x106979(0x366),_0x489e7e['RemovePivotField']='removePivotField',_0x489e7e[_0x106979(0x283)]=_0x106979(0x22a),_0x489e7e[_0x106979(0x3fc)]=_0x106979(0x40f),_0x489e7e[_0x106979(0x360)]=_0x106979(0x386),_0x489e7e['SetPivotSetting']=_0x106979(0x3d5),_0x489e7e[_0x106979(0x269)]=_0x106979(0x3ea),_0x489e7e[_0x106979(0x1e2)]='updateValuePosition',_0x489e7e[_0x106979(0x431)]='drillDown',_0x489e7e[_0x106979(0x33d)]='setValuePivotFilter',_0x489e7e[_0x106979(0x413)]=_0x106979(0x21a),_0x489e7e['ResetPivotTable']=_0x106979(0x3db),_0x489e7e))(k||{});const Mi={'sheets-pivot.blankValue':_0x106979(0x300),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x106979(0x3c3),'sheets-pivot.grandTotalText':_0x106979(0x369),'sheets-pivot.valueText':_0x106979(0x3bc),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x106979(0x3f7),'sheets-pivot.countNumsName':_0x106979(0x3f7),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0x106979(0x373),'sheets-pivot.productName':_0x106979(0x3ae),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x106979(0x1d1),'sheets-pivot.varpName':_0x106979(0x208),'sheets-pivot.subTotal':_0x106979(0x220),'sheets-pivot.grandTotal':_0x106979(0x369),'sheets-pivot.value':_0x106979(0x2be),'sheets-pivot.blank':_0x106979(0x2c0),'sheets-pivot.emptyPivot.filter':_0x106979(0x212),'sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0x106979(0x271),'sheets-pivot.emptyPivot.values':_0x106979(0x313)},So={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x9696b5('pivotPerformCheck'),Go=_0x539bf0(_0x106979(0x3e6));var Le=(_0x120f01=>(_0x120f01[_0x106979(0x370)]='add',_0x120f01[_0x106979(0x417)]=_0x106979(0x417),_0x120f01[_0x106979(0x2bf)]='update',_0x120f01))(Le||{}),$=(_0x399237=>(_0x399237[_0x106979(0x39d)]=_0x106979(0x370),_0x399237[_0x106979(0x35e)]=_0x106979(0x2a5),_0x399237[_0x106979(0x326)]=_0x106979(0x417),_0x399237))($||{});const Jo={0x0:'m',0x1:'x',0x2:'2',0x3:'q',0x4:'a',0x5:'8',0x6:'h',0x7:'4',0x8:'i',0x9:'V','J':'0','z':'1','W':'3','I':'5','A':'6','g':'7','E':'9','x':'b','e':'c','X':'d','P':'e','d':'f','U':'g','n':'j','N':'k','w':'l','b':'n','h':'o','Z':'p','s':'r','V':'s','l':'t','p':'u','T':'v','f':'w','H':'y','D':'z','c':'A','M':'B','a':'C','Y':'D','u':'E','K':'F','B':'G','r':'H','q':'I','F':'J','Q':'K','S':'L','j':'M','C':'N','v':'O','i':'P','t':'Q','L':'R','R':'S','k':'T','y':'U','G':'W','O':'X','o':'Y','m':'Z'},jo=_0x106979(0x3f4),ro={'type':_0x46c529[_0x106979(0x1bf)],'id':_0x106979(0x38c),'handler':()=>!0x0},lo={'type':_0x46c529[_0x106979(0x1bf)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},Dt={'type':_0x46c529[_0x106979(0x1bf)],'id':_0x106979(0x324),'handler':()=>!0x0},co={'type':_0x46c529[_0x106979(0x1bf)],'id':_0x106979(0x246),'handler':()=>!0x0},uo={'type':_0x46c529[_0x106979(0x1bf)],'id':_0x106979(0x1ac),'handler':()=>!0x0},wi=_0x53e602=>{const _0x32e96f=_0x106979;var _0x50b819;return((_0x50b819=_0x53e602[_0x32e96f(0x2ec)])==null?void 0x0:_0x50b819[_0x32e96f(0x2d4)]['replace'](/\r\n$/,''))||'';};class _i extends _0x37d50d{constructor(_0x9d9e93,_0x17f64f){const _0x33b1f9=_0x106979;super(),U(this,_0x33b1f9(0x34f),{}),U(this,_0x33b1f9(0x343)),U(this,_0x33b1f9(0x245)),(this['_univerInstanceService']=_0x17f64f,this[_0x33b1f9(0x245)]=_0x9d9e93);}[_0x106979(0x35b)](){const _0x4a5d77=_0x106979;for(const _0x188ee2 in this[_0x4a5d77(0x29f)]){const _0x168efd=this['dataFields'][_0x188ee2],_0x45363b=_0x168efd[_0x4a5d77(0x32b)]();this[_0x4a5d77(0x34f)][_0x45363b]=_0x168efd[_0x4a5d77(0x2c4)]();}}[_0x106979(0x25a)](){const _0x2d96c3=_0x106979,_0x5a0b2a=this['_host'];return Ei[_0x2d96c3(0x2c2)](_0x5a0b2a);}[_0x106979(0x1d3)](_0x4b18c5){const _0x1f3b89=_0x106979,_0x39c8ac=this[_0x1f3b89(0x29f)][_0x4b18c5][_0x1f3b89(0x401)];delete this[_0x1f3b89(0x29f)][_0x4b18c5],delete this[_0x1f3b89(0x34f)][_0x39c8ac];}[_0x106979(0x201)](_0x522d0f){const _0x27a015=_0x106979;this[_0x27a015(0x29f)][_0x522d0f[_0x27a015(0x2c4)]()]=_0x522d0f;}[_0x106979(0x42e)](_0x5c7d84){const _0x6b057f=_0x106979;var _0x18ffd4,_0x1b6ec2;const _0x472357=this['_host']['getTargetByPivotId'](_0x5c7d84);if(_0x472357){const {unitId:_0x3667ad,subUnitId:_0x32d859}=_0x472357,_0x2a5cd7=(_0x18ffd4=this['_host'][_0x6b057f(0x2db)](_0x3667ad,_0x32d859,_0x5c7d84))==null?void 0x0:_0x18ffd4[_0x6b057f(0x1a7)];this['_host'][_0x6b057f(0x3b6)]({'token':_0x5c7d84,'type':Le[_0x6b057f(0x417)],'dataRangeInfo':_0x2a5cd7});}(_0x1b6ec2=this[_0x6b057f(0x3b0)](_0x5c7d84))==null||_0x1b6ec2[_0x6b057f(0x2de)](),delete this[_0x6b057f(0x359)][_0x5c7d84];}[_0x106979(0x32b)](_0x5d75c5,_0x4e6880){const {sheetName:_0x1d2c1d,unitId:_0x1d5289,range:_0x500833}=_0x5d75c5,{startRow:_0x20a24a,endRow:_0x33a993}=_0x500833;return _0xbe913(_0x1d5289,_0x1d2c1d,{'startRow':_0x20a24a,'endRow':_0x33a993,'startColumn':_0x4e6880,'endColumn':_0x4e6880});}[_0x106979(0x338)](_0x188dca){const _0xef6671=_0x106979;return this[_0xef6671(0x29f)][this[_0xef6671(0x34f)][_0x188dca]];}[_0x106979(0x253)](_0x2839e8,_0x10bb31){this['rangeKeyMap'][_0x2839e8]=_0x10bb31;}[_0x106979(0x41d)](_0x48b2af,_0x5afeb3){const _0x5c822f=_0x106979;this[_0x5c822f(0x34f)][_0x5afeb3]=this[_0x5c822f(0x34f)][_0x48b2af],delete this['rangeKeyMap'][_0x48b2af];}['addCollectionByJSON'](_0x873dc9,_0x132995,_0x51ba01,_0x14fd51){const _0x2cfb11=_0x106979,_0x4925cc=new _0x4014cf(this);_0x4925cc[_0x2cfb11(0x320)](_0x132995);const _0x3a18bc=[];let _0x582198=0x0;for(const _0x5a4184 of _0x4925cc[_0x2cfb11(0x289)]){const _0x3ba1b4=this[_0x2cfb11(0x32b)](_0x51ba01,_0x582198),_0x34aaa1=this[_0x2cfb11(0x29f)][_0x5a4184];_0x34aaa1&&(_0x34aaa1[_0x2cfb11(0x401)]=_0x3ba1b4,this[_0x2cfb11(0x253)](_0x3ba1b4,_0x5a4184),_0x3a18bc[_0x2cfb11(0x32d)]({'index':_0x582198,'dataField':_0x34aaa1})),_0x582198++;}return this[_0x2cfb11(0x254)](_0x873dc9,_0x4925cc,_0x51ba01,_0x14fd51),{'collection':_0x4925cc,'updateDataFieldList':_0x3a18bc};}[_0x106979(0x404)](_0x1ca1be,_0x115aeb){const _0x14d084=_0x106979;return _0x1ca1be[_0x14d084(0x3b8)]===_0x32d78e[_0x14d084(0x3e0)]?{'startRow':0x0,'startColumn':_0x1ca1be[_0x14d084(0x350)],'endRow':_0x115aeb['getRowCount']()-0x1,'endColumn':_0x1ca1be[_0x14d084(0x1f7)]}:{'startRow':_0x1ca1be['startRow'],'startColumn':_0x1ca1be[_0x14d084(0x350)],'endRow':_0x1ca1be['endRow'],'endColumn':_0x1ca1be[_0x14d084(0x1f7)]};}['createCollectionWithDataRange'](_0x1cd5a6){const _0x3977b2=_0x106979,{sheetName:_0xfdbb8c,range:_0x3dc1ce}=_0x1cd5a6,_0x2a2194=this[_0x3977b2(0x343)][_0x3977b2(0x352)](_0x193d62['UNIVER_SHEET']),_0x85b510=_0x2a2194[_0x3977b2(0x3fb)](_0xfdbb8c),_0x349b90=_0x85b510[_0x3977b2(0x1f3)](),{startColumn:_0x10f816,startRow:_0x4f0c20,endColumn:_0x43ccb9}=this['getRangeStartEndInfo'](_0x3dc1ce,_0x85b510),_0x571306=_0x2a2194[_0x3977b2(0x393)](),_0x7a6c4b=new _0x4014cf(this);_0x7a6c4b['setRange'](_0x1cd5a6);const _0x113011=[],_0x199ffc={};for(let _0x7fb9fa=_0x10f816;_0x7fb9fa<=_0x43ccb9;_0x7fb9fa++){const _0x19d4da=_0x349b90[_0x3977b2(0x3a7)](_0x4f0c20,_0x7fb9fa),_0x2b9970=this[_0x3977b2(0x32b)](_0x1cd5a6,_0x7fb9fa),_0x2e5193=this[_0x3977b2(0x338)](_0x2b9970);if(_0x2e5193)_0x7a6c4b[_0x3977b2(0x210)](_0x2e5193[_0x3977b2(0x2c4)](),_0x2e5193[_0x3977b2(0x3cf)]());else{const _0x2b9d9e=this[_0x3977b2(0x332)]();let _0x29b046=this[_0x3977b2(0x257)](_0x19d4da,_0x571306,_0x199ffc);_0x2c3e25(_0x29b046)&&(_0x29b046=_0x598c93[_0x3977b2(0x392)](_0x29b046['f'],Number(_0x29b046['v'])));const _0x52bc4e=this[_0x3977b2(0x2b3)](_0x29b046,_0x7fb9fa),_0x523973=new _0x562e67(_0x2b9d9e,_0x52bc4e,_0x5c7b71(0x3));_0x523973[_0x3977b2(0x401)]=_0x2b9970,this[_0x3977b2(0x29f)][_0x2b9d9e]=_0x523973,_0x7a6c4b['addField'](_0x2b9d9e,_0x52bc4e),_0x113011['push']({'index':_0x7fb9fa,'dataField':_0x523973});}}return{'updateDataFieldList':_0x113011,'collection':_0x7a6c4b};}[_0x106979(0x2b0)](_0x425587){const _0x3367aa=_0x106979;return this[_0x3367aa(0x245)][_0x3367aa(0x26e)]()[_0x3367aa(0x2fd)]+'\x20'+_0xa9c8a2(_0x425587);}['uniqueDataFieldName'](_0x11d31e,_0x2c4fb1){return _0x11d31e==null||_0x11d31e===''?this['_getAutoName'](_0x2c4fb1):String(_0x11d31e);}[_0x106979(0x3b0)](_0x453bc8){const _0x35a096=_0x106979;return this[_0x35a096(0x359)][_0x453bc8];}[_0x106979(0x254)](_0x16ee9d,_0x414343,_0x2a3499,_0x2e97f7){const _0x508678=_0x106979;this[_0x508678(0x359)][_0x16ee9d]=_0x414343,_0x414343['setRange'](_0x2a3499),this[_0x508678(0x245)][_0x508678(0x3b6)]({'token':_0x16ee9d,'type':Le[_0x508678(0x370)],'dataRangeInfo':_0x2a3499,'targetCellInfo':_0x2e97f7});}[_0x106979(0x260)](_0x32266a,_0x541226){const _0x5a0e35=_0x106979,_0x3f54f6=this[_0x5a0e35(0x3b0)](_0x32266a),_0x265407=_0x3f54f6[_0x5a0e35(0x323)]();let _0x2aa749=0x0;for(const _0x19b5ca of _0x265407){const _0x15e7de=_0x3f54f6[_0x5a0e35(0x2ef)](_0x19b5ca),_0x2a98ef=this[_0x5a0e35(0x32b)](_0x541226,_0x2aa749);this[_0x5a0e35(0x41d)](_0x15e7de[_0x5a0e35(0x401)],_0x2a98ef),_0x2aa749++;}}[_0x106979(0x42f)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x106979(0x396)](_0x21d705,_0x590d1c){const _0x3b6ed6=_0x106979;if(this['getCollection'](_0x21d705)){const _0x3e432f=this[_0x3b6ed6(0x1b8)](_0x590d1c),_0x27acf1=[];for(const _0x545bf0 of _0x3e432f)this[_0x3b6ed6(0x34f)][_0x545bf0]!==void 0x0&&_0x27acf1[_0x3b6ed6(0x32d)](this[_0x3b6ed6(0x34f)][_0x545bf0]);const _0x24b085=this[_0x3b6ed6(0x232)](_0x21d705),_0x3bc078=[],_0x426a16=new Set(_0x27acf1);for(const _0x28fd7d of _0x24b085)_0x426a16[_0x3b6ed6(0x27f)](_0x28fd7d)||_0x3bc078[_0x3b6ed6(0x32d)](_0x28fd7d);return _0x3bc078;}}[_0x106979(0x1aa)](_0x468fb0,_0x3d2249,_0x46173f,_0x30ff1d,_0x3ced0e){const _0x31e044=_0x106979;return _0x3d2249&&_0x3d2249[_0x31e044(0x3a7)](_0x30ff1d,_0x3ced0e)?_0x3d2249['getValue'](_0x30ff1d,_0x3ced0e):_0x46173f&&_0x46173f[_0x31e044(0x3a7)](_0x30ff1d,_0x3ced0e)?_0x46173f[_0x31e044(0x3a7)](_0x30ff1d,_0x3ced0e):_0x468fb0[_0x31e044(0x3a7)](_0x30ff1d,_0x3ced0e);}[_0x106979(0x3f5)](_0x56eca5,_0x24bbc2,_0x19e20f,_0x785764){const _0x5011d6=_0x106979,_0xa4a581=this[_0x5011d6(0x29f)][_0x56eca5];if(!_0xa4a581)return;const {subUnitId:_0x73eb1a,range:_0x254774,unitId:_0x569155}=_0x24bbc2,_0x50f9c2=this[_0x5011d6(0x343)][_0x5011d6(0x290)](_0x569155);if(!_0x50f9c2){console[_0x5011d6(0x28b)](_0x5011d6(0x2b5));return;}const _0x571a23=_0x50f9c2[_0x5011d6(0x241)](_0x73eb1a),_0x4ebccc=_0x571a23['getCellMatrix'](),{arrayFormulaCellDataMatrix:_0x2370c4,unitDataMatrix:_0x19d5c}=_0x785764||{},{startRow:_0x3997c4,startColumn:_0x2a13cd,endRow:_0x17d4ba}=this['getRangeStartEndInfo'](_0x254774,_0x571a23);_0xa4a581[_0x5011d6(0x3be)]();const _0x23207d=_0x50f9c2['getStyles'](),_0x1a37db={},_0xab14a2=this[_0x5011d6(0x1aa)](_0x4ebccc,_0x2370c4,_0x19d5c,_0x3997c4,_0x2a13cd+_0x19e20f);let _0x32a487=this['adjustSheetCellData'](_0xab14a2,_0x23207d,_0x1a37db);_0x2c3e25(_0x32a487)&&(_0x32a487=_0x598c93['format'](_0x32a487['f'],Number(_0x32a487['v'])));const _0x510c7f=this['uniqueDataFieldName'](_0x32a487,_0x2a13cd+_0x19e20f);_0xa4a581[_0x5011d6(0x403)](_0x510c7f);for(let _0x392e29=_0x3997c4+0x1;_0x392e29<=_0x17d4ba;_0x392e29++){const _0x1fbcaa=this[_0x5011d6(0x1aa)](_0x4ebccc,_0x2370c4,_0x19d5c,_0x392e29,_0x2a13cd+_0x19e20f);_0xa4a581[_0x5011d6(0x2d6)](this[_0x5011d6(0x257)](_0x1fbcaa,_0x23207d,_0x1a37db),_0x392e29-0x1-_0x3997c4);}}['refreshData'](_0x4b819c,_0x210edd,_0x43d176){const _0xa4497f=_0x106979,{subUnitId:_0x1de389,range:_0x3412f1,unitId:_0x284225}=_0x43d176,_0x4b055f=this[_0xa4497f(0x343)]['getUnit'](_0x284225);if(!_0x4b055f){console[_0xa4497f(0x28b)](_0xa4497f(0x2b5));return;}const _0xd76d2=_0x4b055f[_0xa4497f(0x241)](_0x1de389),_0x491ddc=_0xd76d2['getCellMatrix'](),{startRow:_0x24c286,startColumn:_0x3c65bc,endRow:_0x38160f}=this[_0xa4497f(0x404)](_0x3412f1,_0xd76d2),_0x680189=_0x4b055f[_0xa4497f(0x393)](),_0x38a849={};for(const {dataField:_0x33dae9,index:_0x443851}of _0x210edd){_0x33dae9[_0xa4497f(0x3be)]();const _0x586dda=this['getMatrixValue'](_0x491ddc,void 0x0,void 0x0,_0x24c286,_0x3c65bc+_0x443851);let _0x5225e2=this[_0xa4497f(0x257)](_0x586dda,_0x680189,_0x38a849);_0x2c3e25(_0x5225e2)&&(_0x5225e2=_0x598c93[_0xa4497f(0x392)](_0x5225e2['f'],Number(_0x5225e2['v'])));const _0x15f748=this['uniqueDataFieldName'](_0x5225e2,_0x3c65bc+_0x443851);_0x33dae9[_0xa4497f(0x403)](_0x15f748);}_0x4b819c[_0xa4497f(0x237)]();for(let _0x1b08f9=_0x24c286+0x1;_0x1b08f9<=_0x38160f;_0x1b08f9++)for(const {index:_0x39d8fe,dataField:_0x2ef8b9}of _0x210edd){const _0x52701c=_0x491ddc[_0xa4497f(0x3a7)](_0x1b08f9,_0x3c65bc+_0x39d8fe);_0x2ef8b9[_0xa4497f(0x2d6)](this[_0xa4497f(0x257)](_0x52701c,_0x680189,_0x38a849),_0x1b08f9-0x1-_0x24c286);}_0x4b819c[_0xa4497f(0x243)](_0x38160f-_0x24c286);}[_0x106979(0x1b8)](_0x1922b3){const _0x13570a=_0x106979,{range:_0x429eb7}=_0x1922b3,{startColumn:_0x385c59,endColumn:_0x5a2b88}=_0x429eb7,_0xb6aba7=[];for(let _0x71cfe7=_0x385c59;_0x71cfe7<=_0x5a2b88;_0x71cfe7++)_0xb6aba7[_0x13570a(0x32d)](this[_0x13570a(0x32b)](_0x1922b3,_0x71cfe7));return _0xb6aba7;}[_0x106979(0x257)](_0x51f94e,_0x2e23e9,_0xe339a){const _0x5c8be1=_0x106979;if(_0x51f94e){const {s:_0x5852d8,v:_0x2d7b70,t:_0x56f752,p:_0x5d345a}=_0x51f94e;if(_0x5d345a)return wi(_0x5d345a);const _0x15c38e=_0x2e23e9[_0x5c8be1(0x335)](_0x5852d8);if(_0x15c38e&&_0x56f752===_0x4899a5[_0x5c8be1(0x40b)]&&_0x15c38e['n']){const {pattern:_0x592846}=_0x15c38e['n'];_0xe339a[_0x592846]||(_0xe339a[_0x592846]=_0x598c93[_0x5c8be1(0x1ca)](_0x592846));const _0x2eb015=_0xe339a[_0x592846],_0x249441=_0x2eb015[_0x5c8be1(0x1cd)];if(_0x2eb015['isText'])return String(_0x2d7b70);if(_0x249441)return{'v':_0x2d7b70,'f':_0x592846};}if(_0x56f752===_0x4899a5['NUMBER'])return Number(_0x2d7b70);if(_0x56f752===_0x4899a5[_0x5c8be1(0x3a4)]||_0x56f752===_0x4899a5[_0x5c8be1(0x1be)])return String(_0x2d7b70);if(_0x56f752===void 0x0){const _0x1c3e42=Number(_0x2d7b70);if(!Number[_0x5c8be1(0x427)](_0x1c3e42)&&String(_0x1c3e42)===_0x2d7b70)return _0x1c3e42;}return _0x2d7b70!=null?_0x2d7b70:null;}else return null;}[_0x106979(0x2c7)](_0x22c7f0){const _0x144872=_0x106979,{sheetName:_0xfd2fc6,range:_0x109c5d,unitId:_0x1e2547}=_0x22c7f0,_0x27ec93=this[_0x144872(0x343)][_0x144872(0x290)](_0x1e2547);if(!_0x27ec93)return console[_0x144872(0x28b)](_0x144872(0x2b5)),{'header':[],'data':[]};const _0x2d9928=_0x27ec93[_0x144872(0x3fb)](_0xfd2fc6),_0x1d8c67=_0x2d9928['getCellMatrix'](),{startRow:_0x5064b5,startColumn:_0x298a39,endRow:_0x40e521,endColumn:_0x421f1b}=this[_0x144872(0x404)](_0x109c5d,_0x2d9928),_0x26cb01=_0x27ec93['getStyles'](),_0xde6708=[],_0xac3976=[],_0x24829a={};for(let _0x2bcd97=_0x5064b5;_0x2bcd97<=_0x40e521;_0x2bcd97++){const _0x211a69=[];for(let _0x4ea70c=_0x298a39;_0x4ea70c<=_0x421f1b;_0x4ea70c++){const _0x1c427c=_0x1d8c67[_0x144872(0x3a7)](_0x2bcd97,_0x4ea70c);_0x2bcd97===_0x5064b5?_0xde6708['push'](_0x1c427c==null?null:String(_0x1c427c['v'])):_0x211a69[_0x144872(0x32d)](this[_0x144872(0x257)](_0x1c427c,_0x26cb01,_0x24829a));}_0xac3976[_0x144872(0x32d)](_0x211a69);}return{'header':_0xde6708,'data':_0xac3976};}[_0x106979(0x297)](){const _0x1f45b6=_0x106979;return super[_0x1f45b6(0x297)]();}[_0x106979(0x320)](_0xcddb01){const _0x319024=_0x106979;super[_0x319024(0x320)](_0xcddb01),this['initDataRanges']();}[_0x106979(0x2de)](){const _0x7eaef1=_0x106979;super[_0x7eaef1(0x2de)](),this[_0x7eaef1(0x34f)]={},this['_host']=null;}}const Fi=_0x27cc9e=>{const _0x28563a=_0x106979,{targetCellInfo:_0x3a073d}=_0x27cc9e,{matrixCache:_0x1ae8a0,rangesCache:_0xcd6bd6}=Wo({'filter':_0x28563a(0x212),'row':_0x28563a(0x408),'column':_0x28563a(0x271),'values':_0x28563a(0x313)},_0x3a073d),_0x4cca9a=new _0xea1b6e();return _0x1ae8a0[_0x28563a(0x2b1)]((_0x3c5c3a,_0x869197,_0x468c2c)=>{const _0x5da8ec=_0x28563a;_0x4cca9a[_0x5da8ec(0x3aa)](_0x3c5c3a,_0x869197,_0x468c2c);}),{'matrix':_0x4cca9a,'rangesCache':_0xcd6bd6};},st=_0x37ab70=>{const _0x1ade9e=_0x106979;let _0x5d71a4;if(_0x37ab70!=null&&_0x37ab70['v']||(_0x37ab70==null?void 0x0:_0x37ab70['v'])===0x0){_0x5d71a4||(_0x5d71a4={});const _0xc956c8=$o(_0x37ab70['v']);typeof _0xc956c8=='number'?_0x5d71a4['t']=_0x4899a5[_0x1ade9e(0x40b)]:typeof _0xc956c8=='string'&&(_0x5d71a4['t']=_0x4899a5[_0x1ade9e(0x3a4)]),_0x5d71a4['v']=_0xc956c8;}return _0x5d71a4;},Ri=(_0x3100a0,_0x35fe18,_0x12f0ff)=>{const _0x5adbd2=_0x106979;var _0x5adcbd,_0x37732f,_0x45cffc,_0x16c00d,_0x144b11,_0x5cea7f,_0x1252d4,_0xf3c296,_0x1e0d0e,_0x291259,_0x160508,_0x82cf83;const {cornerView:_0x1b9ca8,rowView:_0x1a456d,colView:_0x4ca3ba,dataView:_0xacdc86,pageView:_0x337d1a,formatMap:_0x40dd3a}=_0x3100a0,{row:_0x259181,col:_0x2a171f}=_0x35fe18,_0x2db3ff=new _0xea1b6e();let _0x59b632=_0x259181,_0x1dd8f3=_0x2a171f;Object[_0x5adbd2(0x2f0)](_0x337d1a['data'])[_0x5adbd2(0x3ec)](_0x33c1f0=>{const _0x5f1c07=_0x5adbd2;Object['keys'](_0x337d1a[_0x5f1c07(0x24a)][Number(_0x33c1f0)])['forEach'](_0x3505ff=>{const _0x43c125=_0x5f1c07,_0x45bd91={..._0x337d1a[_0x43c125(0x24a)][Number(_0x33c1f0)][Number(_0x3505ff)]};_0x2db3ff[_0x43c125(0x3aa)](Number(_0x33c1f0)+_0x59b632,Number(_0x3505ff)+_0x1dd8f3,st(_0x45bd91));});});const _0x45abde=Object[_0x5adbd2(0x2f0)](_0x337d1a[_0x5adbd2(0x24a)])[_0x5adbd2(0x1e7)];_0x59b632+=_0x45abde+(_0x45abde?It:0x0);const _0x1f428e=_0x1b9ca8[_0x5adbd2(0x1e6)](),_0x7358a9=_0x1b9ca8[_0x5adbd2(0x28d)]();for(let _0x2ad725=0x0;_0x2ad725<_0x1f428e;_0x2ad725++)for(let _0x47ac8f=0x0;_0x47ac8f<_0x7358a9;_0x47ac8f++){const _0x110288={...(_0x37732f=(_0x5adcbd=_0x1b9ca8[_0x5adbd2(0x24a)])==null?void 0x0:_0x5adcbd[_0x2ad725])==null?void 0x0:_0x37732f[_0x47ac8f]};_0x110288&&((_0x45cffc=_0x1a456d[_0x5adbd2(0x39b)][_0x47ac8f])!=null&&_0x45cffc[_0x5adbd2(0x329)])&&_0x47ac8f===_0x7358a9-0x1&&_0x2ad725===_0x1f428e-0x1&&(_0x110288['v']=''+_0x12f0ff[_0x5adbd2(0x3b2)]),_0x2db3ff[_0x5adbd2(0x3aa)](_0x2ad725+_0x59b632,_0x47ac8f+_0x1dd8f3,st(_0x110288));}_0x1dd8f3+=_0x7358a9;const _0x23cf94=_0x4ca3ba[_0x5adbd2(0x39b)],_0x56c613=_0x4ca3ba[_0x5adbd2(0x35c)]()>=0x0?_0x4ca3ba[_0x5adbd2(0x35c)]()+0x1:0x0,_0x22046f=_0x4ca3ba[_0x5adbd2(0x29e)]()>=0x0?_0x4ca3ba[_0x5adbd2(0x29e)]()+0x1:0x0;for(let _0x1e810c=0x0;_0x1e810c<_0x22046f;_0x1e810c++)for(let _0x271ad0=0x0;_0x271ad0<_0x56c613;_0x271ad0++){const _0x48f9d7={...(_0x144b11=(_0x16c00d=_0x4ca3ba[_0x5adbd2(0x24a)])==null?void 0x0:_0x16c00d[_0x1e810c])==null?void 0x0:_0x144b11[_0x271ad0]},_0x3eab96=(_0x5cea7f=_0x23cf94[_0x1e810c])==null?void 0x0:_0x5cea7f['tableFieldId'],_0x5aab12=_0x40dd3a[_0x3eab96];_0x48f9d7&&(_0x48f9d7['v']=vt(_0x48f9d7,_0x1e810c===0x0&&((_0x1252d4=_0x4ca3ba[_0x5adbd2(0x385)](_0x271ad0+0x1))==null?void 0x0:_0x1252d4[_0x5adbd2(0x329)]),_0x5aab12,_0x12f0ff)),_0x2db3ff[_0x5adbd2(0x3aa)](_0x1e810c+_0x59b632,_0x271ad0+_0x1dd8f3,st(_0x48f9d7));}_0x59b632+=_0x1f428e;const _0x406891=_0x1a456d[_0x5adbd2(0x39b)],_0x5aec5a=_0x1a456d[_0x5adbd2(0x35c)]()>=0x0?_0x1a456d['getLastRow']()+0x1:0x0,_0x23ea48=_0x1a456d['getLastCol']()>=0x0?_0x1a456d[_0x5adbd2(0x29e)]()+0x1:0x0;for(let _0x284c03=0x0;_0x284c03<_0x5aec5a;_0x284c03++)for(let _0x4b2ad9=0x0;_0x4b2ad9<_0x23ea48;_0x4b2ad9++){const _0x4baf9c={...(_0x1e0d0e=(_0xf3c296=_0x1a456d['data'])==null?void 0x0:_0xf3c296[_0x284c03])==null?void 0x0:_0x1e0d0e[_0x4b2ad9]},_0x1376ee=(_0x291259=_0x406891[_0x4b2ad9])==null?void 0x0:_0x291259[_0x5adbd2(0x30a)],_0x2383df=_0x40dd3a[_0x1376ee];_0x4baf9c&&(_0x4baf9c['v']=vt(_0x4baf9c,!0x1,_0x2383df,_0x12f0ff)),_0x2db3ff[_0x5adbd2(0x3aa)](_0x284c03+_0x59b632,_0x4b2ad9+_0x2a171f,st(_0x4baf9c));}const _0x3bb28e=_0xacdc86['getRowCount'](),_0x556b24=_0xacdc86['getColCount']();for(let _0x441ee8=0x0;_0x441ee8<_0x3bb28e;_0x441ee8++)for(let _0xb165ba=0x0;_0xb165ba<_0x556b24;_0xb165ba++){const _0x8c0239={...(_0x82cf83=(_0x160508=_0xacdc86[_0x5adbd2(0x24a)])==null?void 0x0:_0x160508[_0x441ee8])==null?void 0x0:_0x82cf83[_0xb165ba]};_0x2db3ff[_0x5adbd2(0x3aa)](_0x441ee8+_0x59b632,_0xb165ba+_0x1dd8f3,st(_0x8c0239));}return _0x2db3ff;},Di=_0x40ad1c=>{const _0x285ed9=_0x106979,{view:_0x5c2875,targetCellInfo:_0x350832,isEmpty:_0x54f73d,textInfo:_0xef4947}=_0x40ad1c;if(_0x54f73d)return Fi(_0x40ad1c);const {pageView:_0x38421d,cornerView:_0x4ed48d,rowView:_0x5481bc,colView:_0x1a5e3a,dataView:_0x3ff9c8}=_0x5c2875,_0x5e4d62=ge(_0x350832,_0x38421d,!0x0),_0x1a5d8c=_0x38421d['lastRow']>=0x0?_0x38421d[_0x285ed9(0x317)]+0x1:0x0,_0x5ba8f7=_0x4ed48d['getRowCount'](),_0x301c83=_0x4ed48d[_0x285ed9(0x28d)](),_0x3effb3=_0x5e4d62[_0x285ed9(0x1e7)]>0x0?It:0x0,_0x124136=ge({'row':_0x350832[_0x285ed9(0x3d0)]+_0x1a5d8c+_0x3effb3,'col':_0x350832[_0x285ed9(0x3ab)]},_0x4ed48d,!0x1,!0x1),_0x223be2=ge({'row':_0x350832[_0x285ed9(0x3d0)]+_0x1a5d8c+_0x3effb3+_0x5ba8f7,'col':_0x350832[_0x285ed9(0x3ab)]},_0x5481bc,!0x1,!0x0),_0x227ed7=ge({'row':_0x350832[_0x285ed9(0x3d0)]+_0x1a5d8c+_0x3effb3,'col':_0x350832[_0x285ed9(0x3ab)]+_0x301c83},_0x1a5e3a,!0x1,!0x0),_0xd11027=ge({'row':_0x350832['row']+_0x1a5d8c+_0x3effb3+_0x5ba8f7,'col':_0x350832['col']+_0x301c83},_0x3ff9c8,!0x1,!0x1),_0x15b63c={'rowRanges':_0x223be2,'colRanges':_0x227ed7,'cornerRanges':_0x124136,'dataRanges':_0xd11027,'pageRanges':_0x5e4d62};return{'matrix':Ri(_0x5c2875,_0x350832,_0xef4947),'rangesCache':_0x15b63c};};var Vi=Object[_0x106979(0x334)],Ni=(_0x13bc12,_0x35ead1,_0x3da353,_0x1c8dab)=>{const _0xd951b1=_0x106979;for(var _0x2da60f=_0x1c8dab>0x1?void 0x0:_0x1c8dab?Vi(_0x35ead1,_0x3da353):_0x35ead1,_0x259fa4=_0x13bc12[_0xd951b1(0x1e7)]-0x1,_0x40ee84;_0x259fa4>=0x0;_0x259fa4--)(_0x40ee84=_0x13bc12[_0x259fa4])&&(_0x2da60f=_0x40ee84(_0x2da60f)||_0x2da60f);return _0x2da60f;},He=(_0x4855a1,_0x310957)=>(_0x5d1b9f,_0xb1153e)=>_0x310957(_0x5d1b9f,_0xb1153e,_0x4855a1);let G=class extends _0xf281b6{constructor(_0x417620,_0x36ca3c,_0x58bb3a,_0x46f2e4,_0xf268fa,_0x34dcf1){const _0x52bafd=_0x106979;super(),U(this,'_model',new Map()),U(this,'_pivotTableInstanceCache',new Map()),U(this,'_viewData',new Map()),U(this,'_textInfo'),U(this,_0x52bafd(0x1bd),new _0x4f75e8()),U(this,_0x52bafd(0x1bc),this[_0x52bafd(0x1bd)][_0x52bafd(0x26b)]()),U(this,_0x52bafd(0x2a0),new _0x4f75e8()),U(this,_0x52bafd(0x348),this['_viewData$'][_0x52bafd(0x26b)]()),U(this,_0x52bafd(0x1b9),new _0x4f75e8()),U(this,'fieldsCollectionChange$',this[_0x52bafd(0x1b9)][_0x52bafd(0x26b)]()),U(this,_0x52bafd(0x248),new Map()),U(this,_0x52bafd(0x3b1),[]),U(this,_0x52bafd(0x381),new Map()),(this[_0x52bafd(0x377)]=_0x417620,this['_univerInstanceService']=_0x36ca3c,this[_0x52bafd(0x2e8)]=_0x58bb3a,this[_0x52bafd(0x3ba)]=_0x46f2e4,this[_0x52bafd(0x2a7)]=_0xf268fa,this[_0x52bafd(0x3e2)]=_0x34dcf1,this[_0x52bafd(0x31a)]());}[_0x106979(0x26e)](){const _0x5f450e=_0x106979;return this[_0x5f450e(0x383)]?this[_0x5f450e(0x383)]:Mi;}[_0x106979(0x23c)](_0x4c9aa0){const _0xdaaa19=_0x106979;this[_0xdaaa19(0x383)]=_0x4c9aa0;}[_0x106979(0x260)](_0x409f7c){const _0x177782=_0x106979;var _0x132e93;const {from:_0x43548d,to:_0x3ad0c3,unitId:_0x5ee1d1,fromRange:_0x5a3eed,toRange:_0x15d038}=_0x409f7c;if(_0x43548d&&_0x3ad0c3){const _0x1476e7=this[_0x177782(0x2e5)](_0x5ee1d1),_0x3f98a5=this[_0x177782(0x1ab)]['get'](_0x5ee1d1),_0x4156d6=(_0x132e93=this[_0x177782(0x343)][_0x177782(0x290)](_0x5ee1d1))==null?void 0x0:_0x132e93[_0x177782(0x241)](_0x3ad0c3[_0x177782(0x409)]);if(!_0x3f98a5||!_0x4156d6)return;const _0x11d6e7=_0x4156d6==null?void 0x0:_0x4156d6[_0x177782(0x3cf)]();for(const [_0x53be29,_0x3043fb]of _0x3f98a5['entries']())for(const [_0x279176,_0x168861]of _0x3043fb[_0x177782(0x25e)]()){const {sourceRangeInfo:_0x548f3e}=_0x168861;if(_0x548f3e[_0x177782(0x20a)]===_0x5ee1d1&&_0x548f3e['subUnitId']===_0x43548d[_0x177782(0x409)]&&_0x5dcab[_0x177782(0x203)](_0x5a3eed,_0x548f3e[_0x177782(0x3f2)])){const _0xbc1286={'row':_0x548f3e['range'][_0x177782(0x308)]-_0x5a3eed['startRow'],'col':_0x548f3e[_0x177782(0x3f2)][_0x177782(0x350)]-_0x5a3eed['startColumn']},_0x1ab665={'unitId':_0x5ee1d1,'subUnitId':_0x3ad0c3[_0x177782(0x409)],'sheetName':_0x11d6e7,'range':{'startRow':_0x15d038[_0x177782(0x308)]+_0xbc1286['row'],'endRow':_0x15d038[_0x177782(0x308)]+_0xbc1286[_0x177782(0x3d0)]+_0x548f3e[_0x177782(0x3f2)][_0x177782(0x364)]-_0x548f3e[_0x177782(0x3f2)][_0x177782(0x308)],'startColumn':_0x15d038['startColumn']+_0xbc1286[_0x177782(0x3ab)],'endColumn':_0x15d038['startColumn']+_0xbc1286[_0x177782(0x3ab)]+_0x548f3e[_0x177782(0x3f2)]['endColumn']-_0x548f3e[_0x177782(0x3f2)]['startColumn']}};_0x1476e7[_0x177782(0x260)](_0x279176,_0x1ab665);const _0x31fe53={..._0x168861,'sourceRangeInfo':_0x1ab665};this[_0x177782(0x26d)](_0x5ee1d1,_0x3ad0c3['subUnitId'],_0x279176,_0x31fe53),this[_0x177782(0x3b6)]({'unitId':_0x5ee1d1,'token':_0x279176,'type':Le[_0x177782(0x2bf)],'oldSourceRangeInfo':_0x548f3e,'dataRangeInfo':_0x1ab665,'targetCellInfo':_0x168861[_0x177782(0x1a9)]}),this[_0x177782(0x1c4)]({'unitId':_0x5ee1d1,'subUnitId':_0x3ad0c3['subUnitId'],'oldSubUnitId':_0x53be29,'pivotTableId':_0x279176,'pivotTableConfig':_0x31fe53,'collectionConfig':_0x1476e7['toJSON']()});}}}}[_0x106979(0x3b6)](_0x2a71eb){const _0x26f227=_0x106979;this[_0x26f227(0x1bd)]['next'](_0x2a71eb);}[_0x106979(0x2e5)](_0x3c92c8){const _0x4ea309=_0x106979;let _0x1a11a7=this['_dataFieldManagerCollection']['get'](_0x3c92c8);return _0x1a11a7||(_0x1a11a7=new _i(this,this[_0x4ea309(0x343)]),this[_0x4ea309(0x248)][_0x4ea309(0x2a5)](_0x3c92c8,_0x1a11a7)),_0x1a11a7;}[_0x106979(0x3b0)](_0x593f90,_0x56db87){const _0x44f6f2=_0x106979;return this[_0x44f6f2(0x2e5)](_0x593f90)[_0x44f6f2(0x359)][_0x56db87];}[_0x106979(0x396)](_0x31fda2,_0x4ca927,_0x5c8b40){const _0x53c40d=_0x106979;return this['getDataFieldManager'](_0x31fda2)[_0x53c40d(0x396)](_0x4ca927,_0x5c8b40);}[_0x106979(0x20f)](_0x36e782,_0x133f10){const _0xe6d549=_0x106979;let _0x3050e7=this[_0xe6d549(0x1ab)]['get'](_0x36e782);_0x3050e7||(_0x3050e7=new Map(),this['_model'][_0xe6d549(0x2a5)](_0x36e782,_0x3050e7));let _0x4ab403=_0x3050e7[_0xe6d549(0x335)](_0x133f10);return _0x4ab403||(_0x4ab403=new Map(),_0x3050e7[_0xe6d549(0x2a5)](_0x133f10,_0x4ab403)),_0x4ab403;}[_0x106979(0x26d)](_0x3f3ea7,_0x1c67c1,_0x595565,_0xffe394){const _0x2ac87c=_0x106979;this[_0x2ac87c(0x20f)](_0x3f3ea7,_0x1c67c1)[_0x2ac87c(0x2a5)](_0x595565,_0xffe394);}[_0x106979(0x2e1)](_0x2fcd91,_0x293d37,_0x27c8f8){const _0x1896b5=_0x106979;var _0x41f078,_0x29c476,_0x390415,_0x13ab60;((_0x29c476=(_0x41f078=this[_0x1896b5(0x1ab)]['get'](_0x2fcd91))==null?void 0x0:_0x41f078['get'](_0x293d37))==null?void 0x0:_0x29c476['get'](_0x27c8f8))&&((_0x13ab60=(_0x390415=this[_0x1896b5(0x1ab)]['get'](_0x2fcd91))==null?void 0x0:_0x390415[_0x1896b5(0x335)](_0x293d37))==null||_0x13ab60[_0x1896b5(0x417)](_0x27c8f8));}['_updatePivotTableInstanceCache'](_0x566915,_0x3606d4){const _0x398e2f=_0x106979;this[_0x398e2f(0x20e)]['set'](_0x566915,_0x3606d4);}[_0x106979(0x39e)](_0x6320ac){const _0x4acfe6=_0x106979;this[_0x4acfe6(0x20e)][_0x4acfe6(0x417)](_0x6320ac);}[_0x106979(0x1c9)](_0x1ba9d5,_0x34e8b0){const _0x38f9b3=_0x106979;let _0x296c36=this[_0x38f9b3(0x1dc)][_0x38f9b3(0x335)](_0x1ba9d5);_0x296c36||(_0x296c36=new Map(),this[_0x38f9b3(0x1dc)]['set'](_0x1ba9d5,_0x296c36));let _0x5e0eb0=_0x296c36['get'](_0x34e8b0);return _0x5e0eb0||(_0x5e0eb0=new Map(),_0x296c36[_0x38f9b3(0x2a5)](_0x34e8b0,_0x5e0eb0)),_0x5e0eb0;}['updateConfig'](_0x2893f4){const _0x49a7f6=_0x106979,{unitId:_0x3e974d,subUnitId:_0x41f5ab,pivotTableId:_0x422848,pivotTableConfig:_0x37e39f,collectionConfig:_0x317649}=_0x2893f4,_0x20679d={'unitId':_0x3e974d,'subUnitId':_0x41f5ab,'oldSubUnitId':_0x41f5ab,'pivotTableId':_0x422848,'pivotTableConfig':_0x37e39f,'collectionConfig':_0x317649};this[_0x49a7f6(0x2a7)][_0x49a7f6(0x280)](co['id'],_0x20679d,{'onlyLocal':!0x0});}[_0x106979(0x202)](_0x320931,_0x59d694,_0x2784e1,_0x15ec0f,_0x18e694,_0x5b5fb5,_0x372e7f,_0x4d8007=!0x1){const _0x419109=_0x106979;var _0x299bbb;this[_0x419109(0x2a7)][_0x419109(0x280)](Dt['id'],{'single':{'unitId':_0x320931,'subUnitId':_0x59d694,'type':_0x2784e1,'pivotTableId':_0x15ec0f,'view':_0x18e694,'pivotConfig':_0x5b5fb5},'collectionConfig':{[_0x320931]:_0x372e7f}},{'onlyLocal':!0x0});const _0x1d212d=!!((_0x299bbb=this['getPivotTableInstance'](_0x15ec0f))!=null&&_0x299bbb[_0x419109(0x3a5)]()),_0x2e6fab=this['getPivotTableConfig'](_0x320931,_0x59d694,_0x15ec0f);_0x2e6fab&&this[_0x419109(0x1e8)]({'view':_0x18e694,'pivotTableId':_0x15ec0f,'textInfo':this['getTextInfo'](),'isEmpty':_0x1d212d,'targetCellInfo':_0x2e6fab[_0x419109(0x1a9)]},_0x4d8007);}[_0x106979(0x1e8)](_0x4aba5a,_0x19c942){const _0x530e87=_0x106979,{targetCellInfo:_0x36344a,pivotTableId:_0x23b6a6}=_0x4aba5a,{unitId:_0x223d9d,subUnitId:_0x5ce1cb}=_0x36344a,_0x54a274=this[_0x530e87(0x1c9)](_0x223d9d,_0x5ce1cb),_0x305941=_0x54a274['get'](_0x23b6a6);let _0x403e59,_0x31921d;_0x305941&&(_0x403e59=_0x305941[_0x530e87(0x374)],_0x31921d=_0x305941[_0x530e87(0x3d3)]);const {rangesCache:_0x42c883,matrix:_0x3c6e2b}=Di(_0x4aba5a);_0x54a274[_0x530e87(0x2a5)](_0x23b6a6,{'rangeCache':_0x42c883,'matrix':_0x3c6e2b,'oldMatrix':_0x31921d,'oldRangeCache':_0x403e59}),_0x19c942||this['_viewData$']['next']({'unitId':_0x223d9d,'subUnitId':_0x5ce1cb,'pivotTableId':_0x23b6a6});}[_0x106979(0x33a)](_0x3db294,_0x117abc,_0x48520c,_0x2c9468,_0x11c426){const _0x41ab0d=_0x106979;this[_0x41ab0d(0x26d)](_0x3db294,_0x117abc,_0x48520c,_0x11c426),this[_0x41ab0d(0x270)](_0x48520c,_0x2c9468);}[_0x106979(0x31b)](_0x23936a,_0x102c4a,_0x14358d){const _0x3a0e4b=_0x106979,_0x4578aa=this['getDataFieldManager'](_0x23936a);_0x4578aa[_0x3a0e4b(0x232)](_0x14358d)[_0x3a0e4b(0x3ec)](_0x2ec467=>{const _0x540cff=_0x3a0e4b;_0x4578aa[_0x540cff(0x1d3)](_0x2ec467);}),this[_0x3a0e4b(0x2b8)](_0x23936a,_0x14358d),this[_0x3a0e4b(0x2e1)](_0x23936a,_0x102c4a,_0x14358d),this[_0x3a0e4b(0x39e)](_0x14358d);}[_0x106979(0x41b)](_0x33e22c,_0x72da2f,_0x2c3dd9,_0x5e0c89){const _0x42b803=_0x106979;this[_0x42b803(0x26d)](_0x33e22c,_0x72da2f,_0x2c3dd9,_0x5e0c89);}[_0x106979(0x2db)](_0x5c53ae,_0x29e42c,_0x5cb152){const _0x57ac8f=_0x106979;var _0x5a64a1,_0x3b56e1;const _0x2c6d03=(_0x3b56e1=(_0x5a64a1=this[_0x57ac8f(0x1ab)][_0x57ac8f(0x335)](_0x5c53ae))==null?void 0x0:_0x5a64a1['get'](_0x29e42c))==null?void 0x0:_0x3b56e1[_0x57ac8f(0x335)](_0x5cb152);if(_0x2c6d03)return _0x2c6d03;}['getPivotTableModelConfig'](_0x4c8fe5,_0x1eb4a3,_0x5b6143){const _0x1f423b=_0x106979;var _0x1c9867,_0x1deae4;const _0x7e77ff=(_0x1deae4=(_0x1c9867=this[_0x1f423b(0x1ab)][_0x1f423b(0x335)](_0x4c8fe5))==null?void 0x0:_0x1c9867[_0x1f423b(0x335)](_0x1eb4a3))==null?void 0x0:_0x1deae4[_0x1f423b(0x335)](_0x5b6143);if(_0x7e77ff)return _0x7e77ff['fieldsConfig'];}[_0x106979(0x355)](_0x54fc9f){const _0x394e90=_0x106979;return this[_0x394e90(0x20e)][_0x394e90(0x335)](_0x54fc9f);}[_0x106979(0x20b)](_0x445c9e){const _0x45f3bd=_0x106979;this[_0x45f3bd(0x1ab)][_0x45f3bd(0x417)](_0x445c9e);const _0x5ded01=this[_0x45f3bd(0x248)][_0x45f3bd(0x335)](_0x445c9e);_0x5ded01&&(_0x5ded01[_0x45f3bd(0x2de)](),this[_0x45f3bd(0x248)][_0x45f3bd(0x417)](_0x445c9e)),this[_0x45f3bd(0x1dc)][_0x45f3bd(0x417)](_0x445c9e),this[_0x45f3bd(0x3b1)]['forEach'](_0x4408fe=>{const _0x5edefc=_0x45f3bd;_0x4408fe[_0x5edefc(0x20b)](_0x445c9e);});}[_0x106979(0x42d)](_0x3cf9f2,_0x18887c,_0x2464c9,_0x2653b5){const _0x4b44f1=_0x106979;return this['getDataFieldManager'](_0x2464c9[_0x4b44f1(0x20a)])[_0x4b44f1(0x42d)](_0x3cf9f2,_0x18887c,_0x2464c9,_0x2653b5);}[_0x106979(0x1ee)](_0x57ea50){const _0x22feca=_0x106979;return this['getDataFieldManager'](_0x57ea50['unitId'])[_0x22feca(0x1ee)](_0x57ea50);}['refreshData'](_0x2f3d33,_0x3bb1fe,_0x1842b0){const _0x5b7cc9=_0x106979;this['getDataFieldManager'](_0x1842b0[_0x5b7cc9(0x20a)])[_0x5b7cc9(0x330)](_0x2f3d33,_0x3bb1fe,_0x1842b0);}['removeDataField'](_0x9a3b87,_0x18a2be){const _0x34aacd=_0x106979;this[_0x34aacd(0x2e5)](_0x9a3b87)[_0x34aacd(0x1d3)](_0x18a2be);}['removeCollections'](_0x250832,_0x52c3c7){const _0x3d7cb9=_0x106979;this[_0x3d7cb9(0x2e5)](_0x250832)['removeCollectionImp'](_0x52c3c7);}[_0x106979(0x432)](_0x45cd39,_0x7a899c){const _0x3bdd4b=_0x106979;var _0x4a9892;return(_0x4a9892=this[_0x3bdd4b(0x1ab)][_0x3bdd4b(0x335)](_0x45cd39))==null?void 0x0:_0x4a9892[_0x3bdd4b(0x335)](_0x7a899c);}[_0x106979(0x3e8)](_0x5caf96){const _0x5b054d=_0x106979;for(const [_0x583a7f,_0xd9da0d]of this[_0x5b054d(0x1ab)][_0x5b054d(0x25e)]())for(const [_0xc0de83,_0x3074ca]of _0xd9da0d[_0x5b054d(0x25e)]())if(_0x3074ca[_0x5b054d(0x27f)](_0x5caf96))return{'unitId':_0x583a7f,'subUnitId':_0xc0de83};return null;}[_0x106979(0x279)](_0x5b7ca7,_0x2e4aa9,_0x2a0b42,_0x60e081){const _0x549370=_0x106979,_0x347195=this['_ensureViewDataMap'](_0x5b7ca7,_0x2e4aa9);_0x60e081?_0x347195['set'](_0x2a0b42,_0x60e081):_0x347195[_0x549370(0x417)](_0x2a0b42),this['_viewData$']['next']({'unitId':_0x5b7ca7,'subUnitId':_0x2e4aa9,'pivotTableId':_0x2a0b42});}[_0x106979(0x2de)](){const _0x3a054d=_0x106979;super[_0x3a054d(0x2de)]();}['getViewData'](_0x1cb873,_0xc6e09a,_0x4cc71a){const _0x4c356a=_0x106979;var _0x6789e,_0x557b17;const _0x515372=(_0x557b17=(_0x6789e=this[_0x4c356a(0x1dc)][_0x4c356a(0x335)](_0x1cb873))==null?void 0x0:_0x6789e['get'](_0xc6e09a))==null?void 0x0:_0x557b17[_0x4c356a(0x335)](_0x4cc71a);return _0x515372||null;}['addDirtyPivotTable'](_0x26e140){this['updateDirtyPivotTable'](_0x26e140);}[_0x106979(0x314)](_0x1df3dc){const _0x38f021=_0x106979,{token:_0x411778,unitId:_0x1ce612,subUnitId:_0x1617b7}=_0x1df3dc,_0x1b4f11=_0x1ce612+'-'+_0x1617b7+'-'+_0x411778;this['_queryingMap'][_0x38f021(0x335)](_0x1b4f11)&&clearTimeout(this[_0x38f021(0x381)][_0x38f021(0x335)](_0x1b4f11));const _0x5d838f=setTimeout(()=>{const _0x5456bc=_0x38f021;this['queryDirtyPivotTable'](_0x1df3dc),this[_0x5456bc(0x381)][_0x5456bc(0x417)](_0x1b4f11);},Si);this[_0x38f021(0x381)][_0x38f021(0x2a5)](_0x1b4f11,_0x5d838f);}[_0x106979(0x419)](_0x384f0c){const _0x5b6131=_0x106979,{unitId:_0xe09910,subUnitId:_0x2a359e,token:_0x1eedf5,type:_0x77457b,pivotConfig:_0x25864d}=_0x384f0c,_0x174c9d=this[_0x5b6131(0x355)](_0x1eedf5),_0x2f3a74=_0x174c9d==null?void 0x0:_0x174c9d[_0x5b6131(0x2ae)](),_0xe9f1c=_0x25864d!=null?_0x25864d:this[_0x5b6131(0x2db)](_0xe09910,_0x2a359e,_0x1eedf5);_0xe9f1c&&(_0xe9f1c[_0x5b6131(0x3a5)]=!!(_0x174c9d!=null&&_0x174c9d['isEmpty']())),(_0x2f3a74||_0x77457b===$['Delete'])&&this[_0x5b6131(0x202)](_0xe09910,_0x2a359e,_0x77457b,_0x1eedf5,_0x2f3a74,_0xe9f1c,this['getDataFieldManager'](_0xe09910)['toJSON']());}['toJSON'](_0x33238b){const _0x25561e=_0x106979,_0xc2eab0={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x25561e(0x2e5)](_0x33238b)&&(_0xc2eab0[_0x25561e(0x205)][_0x33238b]=this[_0x25561e(0x2e5)](_0x33238b)['toJSON']()),this[_0x25561e(0x1ab)]['get'](_0x33238b)){_0xc2eab0['pivotTableConfigs'][_0x33238b]={};const _0x199fe4=this[_0x25561e(0x1ab)][_0x25561e(0x335)](_0x33238b);_0x199fe4!=null&&_0x199fe4[_0x25561e(0x387)]&&[..._0x199fe4[_0x25561e(0x2f0)]()][_0x25561e(0x3ec)](_0x221583=>{const _0x4afe1f=_0x25561e,_0x131c26=_0x199fe4['get'](_0x221583);_0x131c26!=null&&_0x131c26[_0x4afe1f(0x387)]&&(_0xc2eab0[_0x4afe1f(0x379)][_0x33238b][_0x221583]={},[..._0x131c26[_0x4afe1f(0x2f0)]()][_0x4afe1f(0x3ec)](_0x4c585a=>{const _0x100d77=_0x4afe1f,_0xad4d48=_0x131c26[_0x100d77(0x335)](_0x4c585a);_0xad4d48&&(_0xc2eab0[_0x100d77(0x379)][_0x33238b][_0x221583][_0x4c585a]=_0xad4d48);}));});}return _0xc2eab0;}['fromJSON'](_0x41a7d8){const _0x8c6548=_0x106979;var _0x59083b;const {dataFieldManagerConfig:_0x291792,pivotTableConfigs:_0x3a8c6e}=_0x41a7d8;_0x291792&&Object[_0x8c6548(0x2f0)](_0x291792)[_0x8c6548(0x3ec)](_0x394141=>{const _0x3066e7=_0x8c6548;this['getDataFieldManager'](_0x394141)[_0x3066e7(0x320)](_0x291792[_0x394141]);});const _0x4d3f00=[];if(_0x3a8c6e){const _0x107570=(_0x59083b=this[_0x8c6548(0x377)][_0x8c6548(0x335)](_0x2086c7)[_0x8c6548(0x1b4)](_0x294254))!=null?_0x59083b:{},{ls:_0x451e9e,pbk:_0x307ec3}=_0x107570,_0x1c7192=go(so,_0x451e9e,_0x307ec3)[_0x8c6548(0x407)];Object[_0x8c6548(0x2f0)](_0x3a8c6e)[_0x8c6548(0x3ec)](_0x1968d5=>{const _0x155e55=_0x8c6548;let _0x5eee6d=0x0;const _0xa9984b=_0x3a8c6e[_0x1968d5];Object[_0x155e55(0x2f0)](_0xa9984b)[_0x155e55(0x3ec)](_0x160dce=>{const _0xe4d0bc=_0x155e55,_0x3e6a0d=_0xa9984b[_0x160dce];Object[_0xe4d0bc(0x2f0)](_0x3e6a0d)[_0xe4d0bc(0x3ec)](_0x2bc17b=>{const _0x43dc52=_0xe4d0bc,_0x25f700=_0x3e6a0d[_0x2bc17b];if(_0x25f700){if(_0x5eee6d>=_0x1c7192)return;_0x5eee6d++;const _0x59c5c4=this[_0x43dc52(0x2e5)](_0x1968d5),_0x56908f=_0x59c5c4[_0x43dc52(0x359)][_0x2bc17b],_0x49ce43=_0x56908f[_0x43dc52(0x323)]();let _0x5d4f3e=0x0;const _0x37a089=[];for(const _0x50e8e3 of _0x49ce43){const _0x17a74b=_0x56908f[_0x43dc52(0x2ef)](_0x50e8e3);if(_0x1a7850(_0x17a74b)){const _0x3103ce=_0x17a74b[_0x43dc52(0x37c)](),_0x57aea1=_0x56908f[_0x43dc52(0x2ef)](_0x3103ce);_0x57aea1&&_0x37a089['push']([_0x17a74b,_0x57aea1]);continue;}_0x59c5c4[_0x43dc52(0x3f5)](_0x50e8e3,_0x25f700[_0x43dc52(0x1a7)],_0x5d4f3e),_0x5d4f3e++;}_0x37a089[_0x43dc52(0x3ec)](([_0x4bce36,_0x50019c])=>{const _0x379a5e=_0x43dc52;_0x4bce36[_0x379a5e(0x267)](_0x50019c);});const _0x3fd977=new _0xa76544(_0x56908f);_0x3fd977[_0x43dc52(0x320)](_0x25f700[_0x43dc52(0x2da)]),this[_0x43dc52(0x33a)](_0x1968d5,_0x160dce,_0x2bc17b,_0x3fd977,_0x25f700);const _0x469368=_0x3fd977['query']();_0x4d3f00[_0x43dc52(0x32d)]({'unitId':_0x1968d5,'subUnitId':_0x160dce,'pivotTableId':_0x2bc17b,'view':_0x469368[_0x43dc52(0x297)](),'pivotConfig':_0x25f700,'type':$[_0x43dc52(0x39d)]});const _0x3defb3=!!_0x3fd977[_0x43dc52(0x3a5)](),_0x18f703={'view':_0x469368,'pivotTableId':_0x2bc17b,'textInfo':this[_0x43dc52(0x26e)](),'isEmpty':_0x3defb3,'targetCellInfo':_0x25f700['targetCellInfo']};this[_0x43dc52(0x1e8)](_0x18f703,!0x1);}});});});}_0x291792&&Object[_0x8c6548(0x2f0)](_0x291792)[_0x8c6548(0x3ec)](_0x536b8d=>{const _0x4657bf=_0x8c6548,_0x157893=this['getDataFieldManager'](_0x536b8d);this[_0x4657bf(0x1b9)][_0x4657bf(0x27d)](_0x157893[_0x4657bf(0x359)]);}),this[_0x8c6548(0x2a7)][_0x8c6548(0x280)](Dt['id'],{'batch':_0x4d3f00,'collectionConfig':_0x291792},{'onlyLocal':!0x0});}[_0x106979(0x31a)](){const _0x3f756e=_0x106979;this[_0x3f756e(0x31f)](this[_0x3f756e(0x3e2)][_0x3f756e(0x33f)]({'toJson':_0x59e0ca=>JSON[_0x3f756e(0x24c)](this['toJSON'](_0x59e0ca)),'parseJson':_0x1fabed=>{const _0x21fe89=_0x3f756e;if(!_0x1fabed)return{};try{return JSON[_0x21fe89(0x2f3)](_0x1fabed);}catch{return{};}},'businesses':[_0x193d62[_0x3f756e(0x328)]],'pluginName':ao,'onLoad':(_0x1b4f68,_0x232c61)=>{const _0x3cb31e=_0x3f756e;this[_0x3cb31e(0x320)](_0x232c61);},'onUnLoad':_0x599ac6=>{this['deleteUnitId'](_0x599ac6);}}));}};G=Ni([He(0x0,_0x1b9fdc(_0x575649)),He(0x1,_0x5104e9),He(0x2,_0x1b9fdc(_0x3c231c)),He(0x3,_0x2086c7),He(0x4,_0x5993ab),He(0x5,_0x1b9fdc(_0x6f869e))],G);const Ui={0x0:{0x0:{'v':_0x106979(0x437),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x106979(0x211),'s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x8:{0x0:{'v':'row','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'values','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},Lt={'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':[]},Wo=(_0x3fc461,_0x21d021)=>{const _0x1768ac=_0x106979,_0x421f2d=new _0xea1b6e(),_0x584e30=new _0xea1b6e(Ui),{row:_0x5ed8b6,col:_0x480d3a}=_0x21d021;_0x584e30[_0x1768ac(0x2b1)]((_0x5471f8,_0x607c92,_0x743f8)=>{const _0x210179=_0x1768ac;let _0x531496='';_0x743f8['v']===_0x210179(0x437)?_0x531496=_0x3fc461[_0x210179(0x437)]:_0x743f8['v']===_0x210179(0x3d0)?_0x531496=_0x3fc461[_0x210179(0x3d0)]:_0x743f8['v']===_0x210179(0x211)?_0x531496=_0x3fc461[_0x210179(0x211)]:_0x743f8['v']===_0x210179(0x1ed)&&(_0x531496=_0x3fc461['values']),_0x421f2d[_0x210179(0x3aa)](_0x5471f8+_0x5ed8b6,_0x607c92+_0x480d3a,{..._0x743f8,'v':_0x531496});});const _0x1fb0d7=_0xd77d28[_0x1768ac(0x25f)](Lt);return Object[_0x1768ac(0x2f0)](Lt)[_0x1768ac(0x3ec)](_0xc0186d=>{const _0x4d3a7d=_0x1768ac;_0x1fb0d7[_0xc0186d]=Lt[_0xc0186d]['map'](_0xbc98c1=>({..._0xbc98c1,'startRow':_0xbc98c1[_0x4d3a7d(0x308)]+_0x5ed8b6,'endRow':_0xbc98c1['endRow']+_0x5ed8b6,'startColumn':_0xbc98c1['startColumn']+_0x480d3a,'endColumn':_0xbc98c1['endColumn']+_0x480d3a}));}),{'matrixCache':_0x421f2d,'rangesCache':_0x1fb0d7};};function Ei(_0x332956,_0x482ccd){const _0xa558c8=_0x106979;let _0xf2dfb3='';const _0x5df1cb=this[_0xa558c8(0x26e)]();switch(_0x482ccd){case _0x2fb6f8[_0xa558c8(0x3f9)]:_0xf2dfb3=_0x5df1cb[_0xa558c8(0x310)]+_0x332956;break;case _0x2fb6f8[_0xa558c8(0x407)]:_0xf2dfb3=_0x5df1cb['sheets-pivot.countName']+_0x332956;break;case _0x2fb6f8[_0xa558c8(0x40e)]:_0xf2dfb3=_0x5df1cb[_0xa558c8(0x339)]+_0x332956;break;case _0x2fb6f8[_0xa558c8(0x371)]:_0xf2dfb3=_0x5df1cb[_0xa558c8(0x307)]+_0x332956;break;case _0x2fb6f8[_0xa558c8(0x28a)]:_0xf2dfb3=_0x5df1cb['sheets-pivot.minName']+_0x332956;break;case _0x2fb6f8[_0xa558c8(0x34c)]:_0xf2dfb3=_0x5df1cb['sheets-pivot.productName']+_0x332956;break;case _0x2fb6f8[_0xa558c8(0x302)]:_0xf2dfb3=_0x5df1cb[_0xa558c8(0x207)]+_0x332956;break;case _0x2fb6f8[_0xa558c8(0x388)]:_0xf2dfb3=_0x5df1cb['sheets-pivot.stdDevpName']+_0x332956;break;case _0x2fb6f8[_0xa558c8(0x412)]:_0xf2dfb3=_0x5df1cb[_0xa558c8(0x21b)]+_0x332956;break;case _0x2fb6f8[_0xa558c8(0x38f)]:_0xf2dfb3=_0x5df1cb[_0xa558c8(0x3c8)]+_0x332956;break;case _0x2fb6f8['varp']:_0xf2dfb3=_0x5df1cb[_0xa558c8(0x24d)]+_0x332956;break;default:_0xf2dfb3=_0x332956;break;}return _0xf2dfb3;}function xi(_0x3b8c50,_0x3eb86c,_0x3bedc8,_0x283235,_0x29423b){const _0x17cc47=_0x106979;var _0x29f586,_0x3681a9,_0x22c579,_0x44f74e,_0x2a7f28;const _0x439221=_0x2adf2b(_0x3b8c50,_0x3eb86c),{rangesInfo:_0x271639,areaInfo:_0x1dfada,headerMap:_0x1a4f7d}=_0x29423b;if(!_0x271639||!_0x1dfada||!_0x1a4f7d)return;const _0x5d0525=Object['keys'](_0x271639)[_0x17cc47(0x365)](_0x295817=>_0x271639[_0x295817][_0x17cc47(0x24e)](_0x3a07c7=>_0x5dcab['contains'](_0x3a07c7,_0x439221))),_0x41504f=_0x1dfada;let _0x3ea188,_0x2065fa,_0x866341;if(_0x5d0525===_0x17cc47(0x2f4))_0x3ea188=(_0x29f586=_0x41504f==null?void 0x0:_0x41504f[_0x17cc47(0x2d2)])==null?void 0x0:_0x29f586[_0x3b8c50],_0x2065fa=(_0x3681a9=_0x1a4f7d==null?void 0x0:_0x1a4f7d[_0x17cc47(0x213)])==null?void 0x0:_0x3681a9[_0x3eb86c],_0x866341=_0x2065fa==null?void 0x0:_0x2065fa['tableFieldId'];else{if(_0x5d0525===_0x17cc47(0x380))_0x3ea188=(_0x22c579=_0x41504f==null?void 0x0:_0x41504f[_0x17cc47(0x221)])==null?void 0x0:_0x22c579[_0x3eb86c],_0x2065fa=(_0x44f74e=_0x1a4f7d[_0x17cc47(0x41e)])==null?void 0x0:_0x44f74e[_0x3b8c50+0x1+_0x3eb86c-_0x271639[_0x17cc47(0x380)][0x0]['startColumn']],_0x866341=_0x2065fa==null?void 0x0:_0x2065fa['tableFieldId'];else{if(_0x5d0525===_0x17cc47(0x26a))_0x3ea188=(_0x2a7f28=_0x41504f==null?void 0x0:_0x41504f['cornerInfo'])==null?void 0x0:_0x2a7f28[_0x3eb86c],_0x866341=_0x3ea188==null?void 0x0:_0x3ea188['tableFieldId'];else{if(_0x5d0525===_0x17cc47(0x2f2)){const _0x2d57ca=_0x3bedc8==null?void 0x0:_0x3bedc8['fi'];_0x2d57ca!==void 0x0&&(_0x866341=_0x283235[_0x17cc47(0x1ef)](_0x2d57ca));}}}}return{'filterId':_0x866341,'info':_0x3ea188,'data':_0x3bedc8,'headerInfo':_0x2065fa};}function Oi(_0x26bc79,_0x371e21,_0x161af1){const _0x31b6b0=_0x106979,_0x519a5d=_0x26bc79[_0x31b6b0(0x358)],_0x15b634=_0x519a5d[_0x31b6b0(0x323)](),_0x5a6939=new Set();_0x26bc79[_0x31b6b0(0x37e)](_0x1fb16f=>{const _0x530160=_0x31b6b0;_0x5a6939[_0x530160(0x370)](_0x1fb16f[_0x530160(0x356)]);});const _0x22f2ab=_0x15b634[_0x31b6b0(0x3ce)](_0x5a431f=>{const _0x1d414b=_0x31b6b0,_0x35f85c=_0x519a5d['getFieldById'](_0x5a431f);return{'checked':_0x5a6939[_0x1d414b(0x27f)](_0x5a431f),'dataFieldId':_0x35f85c['id'],'id':_0x35f85c['id'],'name':_0x519a5d[_0x1d414b(0x424)](_0x35f85c['id']),'type':_0x35f85c[_0x1d414b(0x224)](),'pivotTableId':_0x371e21};}),_0x5d5c0a=[];_0x26bc79[_0x31b6b0(0x37a)](_0x1c5d91[_0x31b6b0(0x408)],_0x116553=>{const _0x538887=_0x31b6b0;_0x5d5c0a[_0x538887(0x32d)]({'dataFieldId':_0x116553[_0x538887(0x356)],'tableFieldId':_0x116553[_0x538887(0x2c4)](),'displayName':_0x116553['getDisplayName']()});});const _0x5a62fe=[];_0x26bc79['iterateFieldByArea'](_0x1c5d91[_0x31b6b0(0x271)],_0x302adb=>{const _0x29c031=_0x31b6b0;_0x5a62fe['push']({'dataFieldId':_0x302adb['dataFieldId'],'tableFieldId':_0x302adb[_0x29c031(0x2c4)](),'displayName':_0x302adb[_0x29c031(0x424)]()});});const _0x1dcfc6=[];if(_0x26bc79[_0x31b6b0(0x37a)](_0x1c5d91[_0x31b6b0(0x3bc)],_0x2dac13=>{const _0x5a6f2c=_0x31b6b0;_0x1dcfc6[_0x5a6f2c(0x32d)]({'dataFieldId':_0x2dac13[_0x5a6f2c(0x356)],'tableFieldId':_0x2dac13[_0x5a6f2c(0x2c4)](),'displayName':_0x2dac13[_0x5a6f2c(0x424)](),'format':_0x2dac13[_0x5a6f2c(0x2ad)](),'subTotalType':_0x2dac13[_0x5a6f2c(0x262)]()});}),_0x1dcfc6[_0x31b6b0(0x1e7)]>0x1){const _0x5de531=_0x26bc79[_0x31b6b0(0x2fe)]();(_0x26bc79[_0x31b6b0(0x25d)]()?_0x5a62fe:_0x5d5c0a)['splice'](_0x5de531,0x0,{'dataFieldId':'','tableFieldId':_0x31b6b0(0x2ac),'displayName':_0x31b6b0(0x331)});}const _0x2d2930=[];_0x26bc79[_0x31b6b0(0x37a)](_0x1c5d91[_0x31b6b0(0x212)],_0x474281=>{const _0x49cb73=_0x31b6b0;_0x2d2930[_0x49cb73(0x32d)]({'dataFieldId':_0x474281[_0x49cb73(0x356)],'tableFieldId':_0x474281[_0x49cb73(0x2c4)](),'displayName':_0x474281[_0x49cb73(0x424)]()});});const _0x13ab0f=_0x161af1[_0x31b6b0(0x1a7)];return{'sourceList':_0x22f2ab,'sourceRange':_0x13ab0f,'rowFields':_0x5d5c0a,'columnFields':_0x5a62fe,'valueFields':_0x1dcfc6,'filterFields':_0x2d2930,'positionInfo':_0x161af1[_0x31b6b0(0x1a9)]};}function fo(_0x39e2b4,_0x5a26bf,_0x1a3ecb='',_0x4fb0d2={}){const _0x46c24c=_0x106979,_0x131caf=_0x39e2b4[_0x46c24c(0x335)](_0x3d09ef);for(const _0x511c56 in _0x5a26bf)if(Object[_0x46c24c(0x1cc)][_0x46c24c(0x33e)][_0x46c24c(0x29a)](_0x5a26bf,_0x511c56)){const _0x1c4773=_0x1a3ecb?_0x1a3ecb+'.'+_0x511c56:_0x511c56;typeof _0x5a26bf[_0x511c56]==_0x46c24c(0x31c)&&_0x5a26bf[_0x511c56]!==null&&!Array[_0x46c24c(0x2a4)](_0x5a26bf[_0x511c56])?fo(_0x39e2b4,_0x5a26bf[_0x511c56],_0x1c4773,_0x4fb0d2):_0x4fb0d2[_0x1c4773]=_0x131caf['t'](_0x1c4773);}return _0x4fb0d2;}const $t=_0x1a9e6c=>{const _0x5e14ff=_0x106979;if(!_0x1a9e6c)return[];const {rowRanges:_0x968da8,colRanges:_0x28ea17,cornerRanges:_0x5ca9ed,dataRanges:_0x97b2d4,pageRanges:_0x4f665e}=_0x1a9e6c,_0x35288a=[..._0x28ea17,..._0x968da8,..._0x97b2d4,..._0x5ca9ed]['filter'](_0x3e819a=>_0x3e819a[_0x5e14ff(0x308)]>=0x0&&_0x3e819a['startColumn']>=0x0&&_0x3e819a['endRow']>=0x0&&_0x3e819a['endColumn']>=0x0);let _0x42518a=Number['MAX_SAFE_INTEGER'],_0xb02029=Number['MIN_SAFE_INTEGER'],_0x543808=Number['MAX_SAFE_INTEGER'],_0x20f0db=Number['MIN_SAFE_INTEGER'];for(let _0x4f769d=0x0;_0x4f769d<_0x35288a['length'];_0x4f769d++)_0x42518a=Math['min'](_0x42518a,_0x35288a[_0x4f769d][_0x5e14ff(0x308)]),_0xb02029=Math[_0x5e14ff(0x371)](_0xb02029,_0x35288a[_0x4f769d][_0x5e14ff(0x364)]),_0x543808=Math[_0x5e14ff(0x28a)](_0x543808,_0x35288a[_0x4f769d]['startColumn']),_0x20f0db=Math[_0x5e14ff(0x371)](_0x20f0db,_0x35288a[_0x4f769d][_0x5e14ff(0x1f7)]);return[..._0x4f665e,{'startRow':_0x42518a,'endRow':_0xb02029,'startColumn':_0x543808,'endColumn':_0x20f0db}];};function Ai(_0x5e469e,_0xbf0f13){const _0x1b4cf6=_0x106979,_0x4a6be1=_0xbf0f13['params'][_0x1b4cf6(0x3fd)],{pivotTableId:_0xcd847a,unitId:_0x7edd37,subUnitId:_0x12a30e}=_0xbf0f13;if(!_0x4a6be1)return;const _0x2ac2af=_0x5e469e[_0x1b4cf6(0x335)](G),_0x3d48=_0x2ac2af['getPivotTableInstance'](_0xcd847a),_0x3de786=_0x2ac2af[_0x1b4cf6(0x2db)](_0x7edd37,_0x12a30e,_0xcd847a);if(!_0x3d48||!_0x3de786)return;const _0x18f0a9=_0x3d48[_0x1b4cf6(0x1b1)](_0x4a6be1[_0x1b4cf6(0x1d8)]);if(!(_0x18f0a9!=null&&_0x18f0a9['length']))return;const _0x102d30=_0x3de786[_0x1b4cf6(0x1a7)],{unitId:_0x477fb3,subUnitId:_0x299941,range:_0x3018ec}=_0x102d30;let _0x2f8c30=0x0;const _0x4e835f=_0x3d48[_0x1b4cf6(0x358)][_0x1b4cf6(0x323)]()[_0x1b4cf6(0x3e3)]((_0xcd3914,_0x74345c)=>{const _0x59f1e2=_0x1b4cf6;var _0x4c5df5;const _0x4acbbe=(_0x4c5df5=_0x3d48[_0x59f1e2(0x2e3)](_0x74345c))==null?void 0x0:_0x4c5df5[_0x59f1e2(0x41a)]();return _0x4acbbe&&(_0xcd3914[String(_0x2f8c30)]=_0x4acbbe),_0x2f8c30++,_0xcd3914;},{});return{'indexes':_0x18f0a9,'range':_0x3018ec,'sourceUnitId':_0x477fb3,'sourceSubUnitId':_0x299941,'formatMap':_0x4e835f};}function Ho(_0x478e87,_0x5ecac6){const _0x1ac505=_0x106979;if(!_0x478e87||!_0x5ecac6)return!0x0;const _0x2c1c25=_0x3dccf3(jo,Jo),_0x321c4d=new Function('return\x20'+_0x2c1c25)()(_0x478e87,_0x5ecac6)[_0x1ac505(0x299)],_0x1f2fd1=_0x31bf23(_0x321c4d,'sf',ko);return!((_0x321c4d==null?void 0x0:_0x321c4d['rt'])===_0xe11eb5[_0x1ac505(0x1f8)]&&!_0x1f2fd1);}function _0x5d48(){const _0x35524d=['map','getName','row','getMatrix','pbt','matrix','_onRefRangeChange','setPivotSetting','updatePivotTableRangeInfo','valuePosition','sheets-pivot.cellDateGroupDisplay.month','getActiveSheet','existing','resetPivotTable','batch','sheets-pivot.emptyPivot.values','sheet.mutation.set-pivot-filter','rowCount','COLUMN','valueFilter','_resourceManagerService','reduce','sheets-pivot.cellDateGroupDisplay.year','valid','pivotMutationGenerate','undos','getTargetByPivotId','RemovePivotField','updatePivotSource','addExclusiveRange','forEach','addPivotField','#1d32e9','getFieldPositionInfoById','setDisplayName','sheets-pivot.cellDateGroupDisplay.yearMonthDate','range','_sheetsPivotTableService','dpbel8hb\x20XPesHZl8hb(w8ePbVP,\x20Zpxw8eQPH)\x20{\x20\x20\x20\x20lsH\x20{\x20\x20\x20\x20\x20\x20\x20\x20ehbVl\x20w8ePbVPqbdhi4slcss4H\x20=\x20w8ePbVP.VZw8l(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20ehbVl\x20hs8U8bjPVV4UP\x20=\x20FRvC.Z4sVP(4lhx(w8ePbVPqbdhi4slcss4H[2]));\x20\x20\x20\x20\x20\x20\x20\x208d\x20(!hs8U8bjPVV4UP.pX)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hs8U8bjPVV4UP.pX\x20=\x20Cp0xPs(w8ePbVPqbdhi4slcss4H[7]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ehbVl\x208VGhsNPs\x20=\x20lHZPhd\x20GhsNPsBwhx4wRehZP\x20!==\x20\x27pbXPd8bPX\x27\x20&&\x20VPwd\x208bVl4bePhd\x20GhsNPsBwhx4wRehZP;\x20\x20\x20\x20\x20\x20\x20\x20ehbVl\x20ehblP1l\x20=\x208VGhsNPs\x20?\x20VPwd\x20:\x20f8bXhf;\x20\x20\x20\x20\x20\x20\x20\x20ehbVl\x200PVV4UPGhsX\x20=\x20ehblP1l.__M4VPA7__.Z4sVP(w8ePbVPqbdhi4slcss4H[2]);\x20\x20\x20\x20\x20\x20\x20\x20ehbVl\x200PVV4UP\x20=\x20ehblP1l.__rP1__.Vls8bU8dH(0PVV4UPGhsX);\x20\x20\x20\x20\x20\x20\x20\x20ehbVl\x20V8Ub4lpsPGhsX\x20=\x20ehblP1l.__M4VPA7__.Z4sVP(w8ePbVPqbdhi4slcss4H[W]);\x20\x20\x20\x20\x20\x20\x20\x20ehbVl\x20V8Ub4lpsP\x20=\x20ehblP1l.__rP1__.Vls8bU8dH(V8Ub4lpsPGhsX);\x20\x20\x20\x20\x20\x20\x20\x20ehbVl\x20V8Ub94w8X\x20=\x20ehblP1l.__TPs8dH__(V8Ub4lpsP,\x200PVV4UP,\x20Zpxw8eQPH);\x20\x20\x20\x20\x20\x20\x20\x20ehbVl\x20Xh048b\x20=\x20hs8U8bjPVV4UP.X0;\x20\x20\x20\x20\x20\x20\x20\x20dpbel8hb\x208VYh048bj4le68bU(hi4llPsb,\x20hrhVl)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ehbVl\x20Z4llPsb\x20=\x20hi4llPsb.sPZw4eP(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ehbVl\x206hVl\x20=\x20hrhVl.sPZw4eP(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ehbVl\x20Z4llPsbi4slV\x20=\x20Z4llPsb.VZw8l(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ehbVl\x206hVli4slV\x20=\x206hVl.VZw8l(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208d\x20(!Z4llPsb.8bewpXPV(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sPlpsb\x20Z4llPsb\x20===\x206hVl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208d\x20(Z4llPsbi4slV.wPbUl6\x20<\x202\x20||\x20Z4llPsbi4slV[J]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sPlpsb\x20d4wVP;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ehbVl\x20Z4llPsbRpdd81\x20=\x20Z4llPsbi4slV.Vw8eP(z).nh8b(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ehbVl\x206hVlRpdd81\x20=\x206hVli4slV.Vw8eP(-Z4llPsbi4slV.wPbUl6\x20+\x20z).nh8b(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sPlpsb\x20Z4llPsbRpdd81\x20===\x206hVlRpdd81;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20wPl\x20Xh048b94w8X\x20=\x20(Xh048b\x20&&\x20Xh048b.wPbUl6)\x20?\x20Xh048b.Vh0P((X0qlP0)\x20=>\x208VYh048bj4le68bU(X0qlP0,\x20whe4l8hb.6hVlb40P))\x20:\x20lspP;\x20\x20\x20\x20\x20\x20\x20\x208d\x20(whe4l8hb.6hVlb40P\x20===\x20\x27whe4w6hVl\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Xh048b94w8X\x20=\x20lspP;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ehbVl\x20T4w8X\x20=\x20V8Ub94w8X\x20&&\x20Xh048b94w8X;\x20\x20\x20\x20\x20\x20\x20\x20sPlpsb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20T4w8X,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200PVV4UP:\x20hs8U8bjPVV4UP,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20e4le6\x20(Psshs)\x20{\x20\x20\x20\x20\x20\x20\x20\x20sPlpsb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20T4w8X:\x20d4wVP,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200PVV4UP:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','refreshDataField','_initPivotDataGetListener','Count\x20of\x20','getTypeOfUnitDisposed$','average','SetValueFilter','getSheetBySheetName','SetPivotFilter','drillDown','Minute','_pivotTableMatrixInfo','DIV_BY_ZERO','rangeKey','redos','setName','getRangeStartEndInfo','setConfig','resetArea','count','Row','subUnitId','split','NUMBER','_featureCalculationManagerService','getPivotItemRenderInfoCache','countNums','setPivotFilter','NUM','getValuePosition','sum','SetPivotTableConfig','from','SetFilterInfo','SetPivotSetting','delete','getFilterInfo','queryDirtyPivotTable','getformat','setPivotTable','sheets-pivot.cellDateGroupDisplay.yearMonth','updateRangeKeyMap','colHeaderMap','getFieldInfo','4823572CTLKmc','dataRangeInfo','sortInfo','getRefRangeMutationsByMoveRange','getDisplayName','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','#e6ebfb','isNaN','renameField','getCurrentSelections','CELL_CONTENT','YearQuarter','splice','addCollectionByJSON','removeCollectionImp','getPivotDirtyViewInfo','updateFieldPosition','DrillDown','getSubUnitPivotConfigs','startCollectChangeset','dateType','Date','Month','filter','dimension','sourceRangeInfo','fieldsCollectionChange$','targetCellInfo','getMatrixValue','_model','sheet.mutation.send-init-pivot-text-local','type','getValueFilterInfos','PIVOT_MUTATION_GENERATE','sheets-pivot.dateGroup.quarter','getIndexesByPathStr','pivotConfigChange$','columnFields','getConfig','ptn','iterateFieldDim','_globalComputedEndHelpFunc','getRangeKeyList','_fieldsCollectionChange$','_sheetsSelectionsService','sheet.command.update-date-group','collectionChange$','_collectionChange$','FORCE_STRING','MUTATION','leafStyle','_collectionConfigModel','subscribe','_init','updateConfig','getTableFieldById','updateConfigCache','removeField','Hour','_ensureViewDataMap','getInfo','defineProperty','prototype','isDate','None','notExecuteFormula','sheet.command.remove-pivot-field','Var\x20of\x20','11IVutnz','deleteDataField','_updateRenderEmptyCache','sheets-pivot.cellDateGroupDisplay.date','getPivotTableRangeInfo','_initDataSendListener','tuple','date','3GhJnSO','setSortInfo','_viewData','setLabelFilterInfo','leftOffset','sheet.command.set-pivot-collapse','generateMutationsByRanges','measure','UpdateValuePosition','result','#b2b2b2','sheets-pivot.emptyPivot.filter','getRowCount','length','updateViewData','sheet.command.update-pivot-value-position','getAutoFitColumnsMutations','parseInt','_generateUniqueVersion','values','createCollectionWithDataRange','getFilterFieldIdByIndex','getSortInfo','pivotInitCompleted$','_sheetInterceptorService','getCellMatrix','symbol','_subjectCollectionChange','removePivotField','endColumn','NO_COMMERCIAL','sheet.mutation.update-date-group','_initConfig','interceptor','maxDate','concat','pushUndoRedo','originTargetInfo','_pivotTableRangeInfo','addDataFieldWithoutUnitInfo','updateView','contains','setRangeValueUndoMutation','dataFieldManagerConfig','textInfo','sheets-pivot.stdDevName','Varp\x20of\x20','registerCallbackWithEvent','unitId','deleteUnitId','sheet.mutation.update-pivot-table-source-range','dataStyle','_pivotTableInstanceCache','_ensurePivotMap','addField','column','Filter','rowHeaderMap','colCount','updateRenderCache','NotFunction','sheet.command.update-pivot-table-source-range','params','getPivotTableModelConfig','setPivotTableConfig','sheets-pivot.sumName','custom','fontRenderExtension','getDate','sheet.command.set-pivot-filter','Subtotal','colInfo','1352529IeqavY','setSubtotalType','getFieldDataType','rowStyle','updateValuePosition','_initGlobalComputed','sheet.mutation.pivot-update-field-source-info','registerSyncingMutations','setPivotCollapse','32DUyGFb','getPivotTableCellData','foreach','_globalSubject','disposableCollection','registerDirtyService','5669510AwpNwP','getNoUsedDataFieldIds','_pivotConfigChange$','fieldId','31844QJAhSI','number','updateAllDisplayName','SetOptions','handleSourceRangeChange','Quarter','_ensurePivotTableMatrixInfo','setTextInfo','_globalComputingSrv','getPivotTableMatrixInfo','onCommandExecuted','substring','getSheetBySheetId','NotName','setDataRecordCount','getSourceName','_host','sheet.mutation.send-pivot-config-local','getInterceptPoints','_dataFieldManagerCollection','sheet.command.set-pivot-sort','data','updateCollectionConfig','stringify','sheets-pivot.varpName','some','sheet.mutation.remove-group-collection','getMatrixFromRunTimeData','info','getTargetByPivotTableId','setRangeKeyMap','addCollection','sheets-pivot.config','floor','adjustSheetCellData','filterInfo','triggerDirtyFeature','getAutoDisplayNameFunction','MovePivotField','_viewUpdate$','isColMultiMeasure','entries','deepClone','handleMoveRange','_configVersion$','getSubtotal','sheets-pivot.cellDateGroupDisplay.hourMinute','sheet.mutation.set-pivot-sort-info','getDataFieldItemInfo','sheets.tabs.sheet','refreshGroupField','getColumnCount','UpdatePivotSource','cornerRanges','asObservable','BadReference','_updateModelCache','getTextInfo','cellValue','_updatePivotTableInstanceCache','Column','charCodeAt','configVersion$','sheet.mutation.remove-pivot-field','_initViewModelBySheetInterceptor','intersects','_pivotRenderInfoCache','995TGHouj','sideEffectUpdateWorkerCache','_markDirty$','getSheets','getFieldCountByArea','next','clearRenderCache','has','executeCommand','_sheetsPivotRpcService','sheets-pivot.dateGroup.yearQuarter','SetPivotCollapse','shouldClear','Year','oldMatrix','name','sheets-pivot.dateGroup.hour','fieldIds','min','error','sheet.command.add-pivot-table','getColCount','getPivotPerformCheck','unshift','getUnit','asyncInterceptor','_sheetsPivotDataSourceModel','7749850sGdCGf','Expand','_requestResolvers','Panel','toJSON','versions','message','call','originalFieldId','_subjectFieldsCollectionChange','Existing','getLastCol','dataFields','_viewData$','addDirtyPivotTable','_pivotInitCompleted$','_initUnitDisposed','isArray','set','fields','_commandService','width','YearMonthDate','setDirty','sheets-pivot.dateGroup.minute','PivotMultipleValueId','getFormat','query','_initRegisterCommand','_getAutoName','forValue','setOptions','uniqueDataFieldName','deleteField','workbook\x20is\x20not\x20found','onQueryEnd','RemoveField','removeCollections','fetchThroughAsyncInterceptors','sheet.command.move-pivot-field','rgb(255,255,255)','removeSourceRangeChange','getSheetId','value','update','blank','setCollapse','bind','string','getId','COMMAND','toString','getRangeData','areaInfo','displayName','getMonth','_initLocale','pivotTableId','getGroupFieldsInfoByIds','sheet.command.set-pivot-fields-config','getDataFieldId','_initPivotTextInfo','sheet.mutation.add-pivot-table','rowInfo','SetCollapse','dataStream','_toJSON','addRecord','sheet.mutation.add-pivot-field','sheetName','cornerStyle','fieldsConfig','getPivotTableConfig','colStyle','valueIndex','dispose','rowFields','#f4f4f5','_deleteModelCache','sheets-pivot.cellDateGroupDisplay.yearQuarter','getDataFieldByDataFieldId','sheet.mutation.set-pivot-field-subtotal-type','getDataFieldManager','sheet.mutation.set-pivot-collapse','YearMonth','_lifecycleService','oldRangeInfo','setFieldFormat','73ueWcwL','body','limit\x20pivot','New','getFieldById','keys','addPivotTableWithConfig','pageRanges','parse','rowRanges','sheet.command.add-pivot-field','_refRangeHandle','sheets-pivot.dateGroup.month','_sheetsPivotTableConfigModel','getIntersectsPivotTable','sheets-pivot.dateGroup.yearMonth','_pivotRenderValueMatrixCache','filterId','sheets-pivot.columnName','getValueIndex','sheet.mutation.set-pivot-position','(Blank)','sheet.mutation.pivot-update-value-position','stdDev','generateNewSheetName','getCellRaw','includes','formJSON','sheets-pivot.maxName','startRow','AddPivotField','tableFieldId','UpdateSource','_localeService','getPivotTableIdByCell','_exclusiveRangeService','_config','sheets-pivot.averageName','_sheetsPivotTableAdaptorModel','updateFieldSourceInfo','Values','updateDirtyPivotTable','node','setDateType','lastRow','_dataSyncPrimaryController','collapseInfo','_initSnapshot','removePivotTable','object','sheets-pivot.cellDateGroupDisplay.quarter','new','disposeWithMe','fromJSON','grandTotal','setValuePivotFilter','getFieldIds','sheet.mutation.send-pivot-view-local','remove','Delete','_initRemoveSheetCommandInterceptor','UNIVER_SHEET','isValue','getDataFieldByTableId','getRangeKey','return\x20','push','paths','sheet.command.pivot-drill-down','refreshData','ΣValue','createDataFieldId','removeValueFilterInfo','getOwnPropertyDescriptor','get','UpdateFieldPosition','sheet.mutation.add-group-collection','getDataFieldByRangeKey','sheets-pivot.countNumsName','addPivotTable','sheets-pivot.dateGroup.hourMinute','_subjectViewChange','SetValuePivotFilter','hasOwnProperty','registerPluginResource','sheet.mutation.rename-pivot-field','SHEET_PIVOT_TABLE_PLUGIN','register','_univerInstanceService','setRangeValueRedoMutation','options','AddField','registerRefRange','viewData$','getColumnWidth','getFullYear','endCollectChangeset','product','sheet.command.set-pivot-value-filter','sheets-pivot.emptyPivot.column','rangeKeyMap','startColumn','getTextSize','getCurrentUnitForType','realDeleteValue','getSubUnitPivotRenderCache','getPivotTableInstance','dataFieldId','getIntersects','dataFieldsCollection','collections','subTotalStyle','initDataRanges','getLastRow','panel','Set','sheet.command.set-pivot-field-setting','SetPivotSort','_createExclusiveRange','getViewData','8371740SWltTT','endRow','find','movePivotField','ManualFilter','Style','Grand\x20Total','RenameField','sheet.operation.pivot-table-view-formula-mark-dirty','slice','sheet.command.add-pivot-table-with-config','hasField','_globalComputedStartHelpFunc','add','max','onQueryStart','Min\x20of\x20','rangeCache','NAME','rgb(240,241,243)','_injector','clearExclusiveRangesByGroupId','pivotTableConfigs','iterateFieldByArea','valueFields','getOriginFieldId','version','iterateField','filterFields','colRanges','_queryingMap','AddPivotTableWithConfig','_textInfo','getDirtyInfo','getHeaderMapItem','setPivotSort','size','stdDevp','sourceName','SetSortInfo','55434OSbUoR','sheet.mutation.get-pivot-data-local','sheet.mutation.set-pivot-format','isBottomTotal','var','interceptCommand','SHEET_PIVOT_IN_MAIN_THREAD','format','getStyles','setPivotInitCompleted','sheet.command.move-pivot-table','getUpdateRangeDeleteIds','addFieldWithSourceId','level','removeValueFilterInfoByValueFieldId','\x20-\x20','headerMap','sheets-pivot.grandTotal','Add','_deletePivotTableInstanceCache','getPivotDisplayConfig','updateDataFieldsCollection','getUnitId','#FFFFFF','#e6ebfa','STRING','isEmpty','_ensurePivotTableRangeInfo','getValue','prefix','random','setValue','col','subtotal','pivotTableIndexConfig','Product\x20of\x20','HourMinute','getCollection','needSameDeleteModel','sheets-pivot.value','_refRangeService','getFieldFormat','_initCommandInterceptListener','broadcastCollectionChange','AddPivotTable','rangeType','_activeDirtyManagerService','_configService','GrandTotal','Value','setValueFilterInfo','reset','single','markDirty','collectionConfig','pluginName','Total','_ensurePivotItemRenderInfoCache','updateViewInfo','handleAsyncResponse','ResetPivotTable','sheets-pivot.varName','forRow','setSourceName','rangesInfo','sheets-pivot.cellDateGroupDisplay.minute','lastCol'];_0x5d48=function(){return _0x35524d;};return _0x5d48();}function go(_0x3292ba,_0x17019c,_0x5cfba4){const _0x306cc4=_0x106979,_0x1297d2={'count':_0x3292ba,'timeValid':!0x1};if(!_0x17019c||!_0x5cfba4)return _0x1297d2;const _0x9d01ef=_0x3dccf3(jo,Jo),_0x126f35=new Function(_0x306cc4(0x32c)+_0x9d01ef)()(_0x17019c,_0x5cfba4);if(_0x126f35!=null&&_0x126f35[_0x306cc4(0x3e5)]){const _0x5a93b4=_0x126f35[_0x306cc4(0x299)],_0x1d1356=_0x31bf23(_0x5a93b4,'sf',ko);return{'count':_0x44463c(_0x5a93b4,_0x1d1356,_0x306cc4(0x1b5),_0x3292ba,_0x3292ba,0x0),'timeValid':_0x1d1356};}return _0x1297d2;}function Ko(_0x1d8e22,_0xe1b34d,_0x34691b,_0x30fd77){const _0x307d51=_0x106979,_0x17a8f6={'subUnitId':_0x34691b,'unitId':_0xe1b34d,'cellValue':_0xaad47c(_0x30fd77)},_0x235f90=_0x38c492(_0x1d8e22,_0x17a8f6);let _0x1e4cd5=!0x1;return new _0xea1b6e(_0x235f90[_0x307d51(0x26f)])[_0x307d51(0x2b1)]((_0x2b1421,_0x2ebdc1,_0x4d9575)=>{const _0x2e9976=_0x307d51;if(!_0x1e4cd5&&_0x4d9575&&(_0x4d9575[_0x2e9976(0x21c)]||_0x4d9575['f']||_0x4d9575['p']||_0x4d9575['s']||_0x4d9575['si']||_0x4d9575['t']||_0x4d9575['v']))return _0x1e4cd5=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x23eee1['id'],'params':_0x235f90},'setRangeValueRedoMutation':{'id':_0x23eee1['id'],'params':_0x17a8f6},'shouldClear':_0x1e4cd5};}function ki(_0x477b2c){const {row:_0x4b48b0,col:_0x19f5a4}=_0x477b2c,_0x49a44c={'startRow':_0x4b48b0,'endRow':_0x4b48b0,'startColumn':_0x19f5a4,'endColumn':_0x19f5a4},_0x3127d8={'startRow':_0x4b48b0+0x2,'endRow':_0x4b48b0+0xe,'startColumn':_0x19f5a4,'endColumn':_0x19f5a4+0x6};return[_0x49a44c,_0x3127d8];}function Bi(_0x57e560,_0x23146a,_0x4568ce){const _0x1eaf05=_0x106979,{cornerView:_0x50373a,rowView:_0x147a4b,colView:_0x576801,pageView:_0x5c589e}=_0x57e560,{row:_0x4cc9db,col:_0x132b81}=_0x23146a;if(_0x4568ce)return{'rowCount':bi+_0x4cc9db,'colCount':Pi+_0x132b81};const _0x359c03=_0x5c589e[_0x1eaf05(0x317)]>-0x1?_0x5c589e[_0x1eaf05(0x317)]+0x1:0x0,_0x139d16=_0x5c589e['lastCol']>-0x1?_0x5c589e[_0x1eaf05(0x3cd)]:0x0,_0x5abcf0=_0x4cc9db+_0x359c03+(_0x359c03?0x1:0x0)+_0x50373a[_0x1eaf05(0x3df)]+_0x147a4b[_0x1eaf05(0x3df)],_0x16492d=_0x132b81+_0x139d16,_0xc9e98b=_0x132b81+_0x50373a['colCount']+_0x576801['colCount'],_0x4bae15=Math[_0x1eaf05(0x371)](_0x16492d,_0xc9e98b);return{'rowCount':_0x5abcf0,'colCount':_0x4bae15};}function we(_0x545047,_0x2fc54b,_0x142d73,_0x239d97){const _0x44a541=_0x106979,{row:_0x3b974c,col:_0x1ccd48,unitId:_0x42ad6f,subUnitId:_0x426dab}=_0x142d73,_0x467d14=Bi(_0x2fc54b,{'row':_0x3b974c,'col':_0x1ccd48},_0x239d97),_0x4c9af0=_0x545047[_0x44a541(0x335)](_0x5104e9),_0xe32398=_0x3f65ca(_0x4c9af0,{'unitId':_0x42ad6f,'subUnitId':_0x426dab}),_0x385a5c=[],_0x2c80ae=[];if(!_0xe32398)return{'undos':_0x2c80ae,'redos':_0x385a5c};const {worksheet:_0x548654}=_0xe32398,_0x1b06ac=_0x548654[_0x44a541(0x1e6)](),_0xad703c=_0x548654['getColumnCount']();return _0x1b06ac<_0x467d14[_0x44a541(0x3df)]&&(_0x385a5c[_0x44a541(0x32d)]({'id':_0x197c98['id'],'params':{'unitId':_0x42ad6f,'subUnitId':_0x426dab,'range':{'startRow':_0x1b06ac,'endRow':_0x467d14[_0x44a541(0x3df)]-0x1,'startColumn':0x0,'endColumn':_0xad703c-0x1}}}),_0x2c80ae[_0x44a541(0x32d)]({'id':_0x2d0d42['id'],'params':{'unitId':_0x42ad6f,'subUnitId':_0x426dab,'range':{'startRow':_0x1b06ac,'endRow':_0x467d14['rowCount']-0x1,'startColumn':0x0,'endColumn':_0xad703c-0x1}}})),_0xad703c<_0x467d14[_0x44a541(0x214)]&&(_0x385a5c[_0x44a541(0x32d)]({'id':_0x5d23cd['id'],'params':{'unitId':_0x42ad6f,'subUnitId':_0x426dab,'range':{'startRow':0x0,'endRow':_0x1b06ac-0x1,'startColumn':_0xad703c,'endColumn':_0x467d14['colCount']-0x1}}}),_0x2c80ae['push']({'id':_0x3d69dc['id'],'params':{'unitId':_0x42ad6f,'subUnitId':_0x426dab,'range':{'startRow':0x0,'endRow':_0x1b06ac-0x1,'startColumn':_0xad703c,'endColumn':_0x467d14[_0x44a541(0x214)]-0x1}}})),{'undos':_0x2c80ae,'redos':_0x385a5c};}function Li(_0x144ea1){const _0x3e40d0=_0x106979;let _0x29edbd=0x0;for(let _0x247506=0x0;_0x247506<_0x144ea1[_0x3e40d0(0x1e7)];_0x247506++){const _0x46706e=_0x144ea1[_0x3e40d0(0x272)](_0x247506);_0x46706e>=0x4e00&&_0x46706e<=0x9fff||_0x46706e>=0x3000&&_0x46706e<=0x303f||_0x46706e>=0xff00&&_0x46706e<=0xffef?_0x29edbd+=0x2:_0x29edbd+=0x1;}return _0x29edbd;}function To(_0x3c36e1,_0x583ea8,_0x2e3718,_0x129471){const _0x496a28=_0x106979;var _0x1944ce,_0x4dc0b7,_0x5b847f,_0x26496d;const {rowCount:_0x20af7b,colCount:_0x12ec72,headerMap:_0x1692d1}=_0x3c36e1,_0x763177=0x64,_0x1e5241=Math[_0x496a28(0x28a)](_0x20af7b,_0x763177),_0x3d887f=Math[_0x496a28(0x28a)](_0x12ec72,_0x763177);let _0x438b58='',_0x1ed073=0x0;for(let _0x206d2b=0x0;_0x206d2b<_0x1e5241;_0x206d2b++)for(let _0x23239d=0x0;_0x23239d<_0x3d887f;_0x23239d++){const _0x20b9b2={...(_0x4dc0b7=(_0x1944ce=_0x3c36e1[_0x496a28(0x24a)])==null?void 0x0:_0x1944ce[_0x206d2b])==null?void 0x0:_0x4dc0b7[_0x23239d]},_0x15e3e6=(_0x5b847f=_0x1692d1[_0x206d2b])==null?void 0x0:_0x5b847f[_0x496a28(0x30a)],_0x277626=_0x129471[_0x15e3e6];let _0x1ad0a4=_0x3c36e1['getValue'](_0x206d2b,_0x23239d);if(_0x20b9b2){const _0x200594=_0x2e3718?_0x23239d===0x0&&((_0x26496d=_0x3c36e1[_0x496a28(0x385)](_0x23239d+0x1))==null?void 0x0:_0x26496d[_0x496a28(0x329)]):!0x1;_0x1ad0a4=vt(_0x20b9b2,_0x200594,_0x277626,_0x583ea8);}if(_0x1ad0a4!==void 0x0){const _0x54261e=Li(String(_0x1ad0a4));_0x1ed073<_0x54261e&&(_0x438b58=String(_0x1ad0a4),_0x1ed073=_0x54261e);}}return _0x438b58;}function $i(_0x206402){const _0x26e5fc=_0x106979,{rowCount:_0x16bddb,colCount:_0x554137}=_0x206402;let _0x547bf9='',_0x3b3abf=0x0;for(let _0x4b3599=_0x16bddb-0x1;_0x4b3599>0x0&&_0x4b3599>_0x16bddb-0x3;_0x4b3599--)for(let _0x3210f9=0x0;_0x3210f9<_0x554137;_0x3210f9++){const _0x572161=_0x206402[_0x26e5fc(0x3a7)](_0x4b3599,_0x3210f9);if(_0x572161!==void 0x0){const _0x1bfe57=String(_0x572161)[_0x26e5fc(0x1e7)];_0x3b3abf<_0x1bfe57&&(_0x547bf9=String(_0x572161),_0x3b3abf=_0x1bfe57);}}return _0x547bf9;}function Gi(_0x15ba4b){const _0x5b7bf6=_0x106979,{rowCount:_0x3404f1,colCount:_0xb733e4}=_0x15ba4b;let _0x22e6ec='',_0x30b3ed=0x0;for(let _0xb60c7b=0x0;_0xb60c7b<_0x3404f1;_0xb60c7b++)for(let _0x3e9199=0x0;_0x3e9199<_0xb733e4;_0x3e9199++){const _0x5c4de8=_0x15ba4b[_0x5b7bf6(0x3a7)](_0xb60c7b,_0x3e9199);if(_0x5c4de8!==void 0x0){const _0x3e1b6d=String(_0x5c4de8)['length'];_0x30b3ed<_0x3e1b6d&&(_0x22e6ec=String(_0x5c4de8),_0x30b3ed=_0x3e1b6d);}}return _0x22e6ec;}function Ji(_0x247fc5,_0x3aad5e){const _0x226d5f=_0x106979,{rowFields:_0x50af1e,columnFields:_0x202da3,valueFields:_0xde3b4b,filterFields:_0x26cbfb,dimension:_0x98d616,measure:_0x431401}=_0x3aad5e;for(const _0x12c992 of _0x50af1e){const _0x483e05=_0x98d616[_0x12c992];_0x483e05&&_0x247fc5[_0x226d5f(0x2e3)](_0x483e05[_0x226d5f(0x356)])&&(_0x247fc5[_0x226d5f(0x397)](_0x483e05[_0x226d5f(0x356)],_0x1c5d91[_0x226d5f(0x408)],void 0x0,_0x12c992),_0x483e05[_0x226d5f(0x2c9)]&&_0x247fc5[_0x226d5f(0x428)](_0x483e05['id'],_0x483e05[_0x226d5f(0x2c9)]),_0x483e05[_0x226d5f(0x422)]&&_0x247fc5['setSortInfo'](_0x483e05['id'],_0x483e05['sortInfo']),_0x483e05[_0x226d5f(0x258)]&&_0x247fc5[_0x226d5f(0x1dd)](_0x483e05['id'],_0x483e05[_0x226d5f(0x258)]));}for(const _0x3ec50e of _0x202da3){const _0x119a68=_0x98d616[_0x3ec50e];_0x119a68&&_0x247fc5['getDataFieldByDataFieldId'](_0x119a68[_0x226d5f(0x356)])&&(_0x247fc5[_0x226d5f(0x397)](_0x119a68[_0x226d5f(0x356)],_0x1c5d91[_0x226d5f(0x271)],void 0x0,_0x3ec50e),_0x119a68[_0x226d5f(0x422)]&&_0x247fc5['setSortInfo'](_0x119a68['id'],_0x119a68[_0x226d5f(0x422)]),_0x119a68[_0x226d5f(0x258)]&&_0x247fc5[_0x226d5f(0x1dd)](_0x119a68['id'],_0x119a68[_0x226d5f(0x258)]),_0x119a68['displayName']&&_0x247fc5[_0x226d5f(0x428)](_0x119a68['id'],_0x119a68[_0x226d5f(0x2c9)]));}for(const _0x41b52c of _0x26cbfb){const _0x2e9844=_0x98d616[_0x41b52c];_0x2e9844&&_0x247fc5[_0x226d5f(0x2e3)](_0x2e9844[_0x226d5f(0x356)])&&(_0x247fc5[_0x226d5f(0x397)](_0x2e9844[_0x226d5f(0x356)],_0x1c5d91[_0x226d5f(0x212)],void 0x0,_0x41b52c),_0x2e9844[_0x226d5f(0x422)]&&_0x247fc5[_0x226d5f(0x1db)](_0x2e9844['id'],_0x2e9844[_0x226d5f(0x422)]),_0x2e9844[_0x226d5f(0x258)]&&_0x247fc5['setLabelFilterInfo'](_0x2e9844['id'],_0x2e9844['filterInfo']),_0x2e9844[_0x226d5f(0x2c9)]&&_0x247fc5[_0x226d5f(0x428)](_0x2e9844['id'],_0x2e9844[_0x226d5f(0x2c9)]));}for(const _0x1342a6 of _0xde3b4b){const _0x30a233=_0x431401[_0x1342a6];_0x30a233&&_0x247fc5[_0x226d5f(0x2e3)](_0x30a233[_0x226d5f(0x356)])&&(_0x247fc5[_0x226d5f(0x397)](_0x30a233[_0x226d5f(0x356)],_0x1c5d91[_0x226d5f(0x3bc)],void 0x0,_0x1342a6),_0x30a233[_0x226d5f(0x3ac)]!==void 0x0&&_0x247fc5[_0x226d5f(0x223)](_0x1342a6,_0x30a233[_0x226d5f(0x3ac)]),_0x30a233['format']&&_0x247fc5[_0x226d5f(0x2ea)](_0x1342a6,_0x30a233['format']),_0x30a233[_0x226d5f(0x2c9)]&&_0x247fc5[_0x226d5f(0x428)](_0x30a233['id'],_0x30a233[_0x226d5f(0x2c9)]));}const _0x1bc058=_0x3aad5e[_0x226d5f(0x3e1)];for(const {fieldId:_0x29a458,filterInfo:_0xdc2cd5}of _0x1bc058)_0x247fc5['setValueFilterInfo'](_0x29a458,_0xdc2cd5);}function ji(_0x222070,_0xcc541c){const _0x3aa7ef=_0x106979,_0x1849df=[];_0xcc541c===_0x1c5d91[_0x3aa7ef(0x408)]&&_0x222070[_0x3aa7ef(0x37a)](_0x1c5d91[_0x3aa7ef(0x408)],_0x1759e5=>{const _0x5c2726=_0x3aa7ef;_0x1849df['push'](_0x1759e5[_0x5c2726(0x2c4)]());}),_0xcc541c===_0x1c5d91[_0x3aa7ef(0x271)]&&_0x222070[_0x3aa7ef(0x37a)](_0x1c5d91[_0x3aa7ef(0x271)],_0x225f26=>{const _0x546ea9=_0x3aa7ef;_0x1849df[_0x546ea9(0x32d)](_0x225f26['getId']());}),_0xcc541c===_0x1c5d91[_0x3aa7ef(0x212)]&&_0x222070['iterateFieldByArea'](_0x1c5d91['Filter'],_0x26d951=>{const _0x23f1e5=_0x3aa7ef;_0x1849df['push'](_0x26d951[_0x23f1e5(0x2c4)]());}),_0xcc541c===_0x1c5d91[_0x3aa7ef(0x3bc)]&&_0x222070['iterateFieldByArea'](_0x1c5d91[_0x3aa7ef(0x3bc)],_0x5460f4=>{const _0x29ee64=_0x3aa7ef;_0x1849df[_0x29ee64(0x32d)](_0x5460f4[_0x29ee64(0x2c4)]());}),_0xcc541c===void 0x0&&_0x222070[_0x3aa7ef(0x37e)](_0x4d741d=>{const _0xa8d370=_0x3aa7ef;_0x1849df[_0xa8d370(0x32d)](_0x4d741d[_0xa8d370(0x2c4)]());});const _0x1a94b3=_0x1849df[_0x3aa7ef(0x1e7)];for(let _0x5da249=_0x1a94b3-0x1;_0x5da249>=0x0;_0x5da249--)_0x222070[_0x3aa7ef(0x1c7)](_0x1849df[_0x5da249]);const _0xaf1ea0=_0x222070[_0x3aa7ef(0x1ae)]();for(const _0x2a7940 in _0xaf1ea0)_0x222070[_0x3aa7ef(0x333)](_0x2a7940);}function Wi(_0x11fa79,_0x1424d6){const _0x1f6009=_0x106979,_0x2f072a=new Date(_0x13b41e(_0x1424d6)),_0x217ecd=new Date(_0x13b41e(_0x11fa79)),_0x4578c1=_0x2f072a['getFullYear'](),_0x2dcfe9=_0x217ecd[_0x1f6009(0x34a)](),_0x196fc1=_0x2f072a[_0x1f6009(0x2ca)](),_0x315891=_0x217ecd[_0x1f6009(0x2ca)](),_0x4797a7=_0x2f072a[_0x1f6009(0x21e)](),_0x177f66=_0x217ecd[_0x1f6009(0x21e)](),_0x525d97=_0x4578c1===_0x2dcfe9,_0x5f4f46=_0x525d97&&_0x196fc1===_0x315891;return _0x525d97&&_0x5f4f46&&!(_0x5f4f46&&_0x4797a7===_0x177f66)?_0xd4ed35[_0x1f6009(0x2a9)]:_0x525d97&&!_0x5f4f46?_0xd4ed35[_0x1f6009(0x2e7)]:_0xd4ed35[_0x1f6009(0x285)];}function qo(_0x4d5249,_0x39d812){const _0x59b54b=_0x106979,_0x1d2826=_0x4d5249['get'](G)[_0x59b54b(0x26e)]();let _0x57ed2d='';switch(_0x39d812){case _0xd4ed35['YearMonthDate']:_0x57ed2d=_0x1d2826['sheets-pivot.dateGroup.yearMonthDate'];break;case _0xd4ed35[_0x59b54b(0x2e7)]:_0x57ed2d=_0x1d2826[_0x59b54b(0x2fa)];break;case _0xd4ed35['Year']:_0x57ed2d=_0x1d2826['sheets-pivot.dateGroup.year'];break;case _0xd4ed35[_0x59b54b(0x436)]:_0x57ed2d=_0x1d2826[_0x59b54b(0x2f7)];break;case _0xd4ed35['Quarter']:_0x57ed2d=_0x1d2826[_0x59b54b(0x1b0)];break;case _0xd4ed35[_0x59b54b(0x435)]:_0x57ed2d=_0x1d2826['sheets-pivot.dateGroup.date'];break;case _0xd4ed35[_0x59b54b(0x3af)]:_0x57ed2d=_0x1d2826[_0x59b54b(0x33b)];break;case _0xd4ed35[_0x59b54b(0x1c8)]:_0x57ed2d=_0x1d2826[_0x59b54b(0x288)];break;case _0xd4ed35[_0x59b54b(0x3fe)]:_0x57ed2d=_0x1d2826[_0x59b54b(0x2ab)];break;case _0xd4ed35['MonthDate']:_0x57ed2d=_0x1d2826['sheets-pivot.dateGroup.monthDate'];break;case _0xd4ed35[_0x59b54b(0x42b)]:_0x57ed2d=_0x1d2826[_0x59b54b(0x282)];break;default:_0x57ed2d='';break;}return _0x57ed2d;}const Xo=_0x106979(0x255),yo={};var Hi=Object[_0x106979(0x334)],Ki=(_0x215d1d,_0x5c4f7e,_0x43a002,_0x5173da)=>{const _0x52d383=_0x106979;for(var _0x1c0329=_0x5173da>0x1?void 0x0:_0x5173da?Hi(_0x5c4f7e,_0x43a002):_0x5c4f7e,_0x72c5cb=_0x215d1d[_0x52d383(0x1e7)]-0x1,_0x1e579c;_0x72c5cb>=0x0;_0x72c5cb--)(_0x1e579c=_0x215d1d[_0x72c5cb])&&(_0x1c0329=_0x1e579c(_0x1c0329)||_0x1c0329);return _0x1c0329;},at=(_0x4f27a3,_0x27c5d6)=>(_0x12171e,_0x1ba7a4)=>_0x27c5d6(_0x12171e,_0x1ba7a4,_0x4f27a3);let ve=class extends _0xf281b6{constructor(_0x470db7,_0x3f6145,_0x5b4974,_0xfcad53,_0x649657){const _0x63201e=_0x106979;super(),U(this,'_model',new Map()),U(this,_0x63201e(0x1c1),new Map()),U(this,_0x63201e(0x200),new Map()),U(this,_0x63201e(0x3ff),new Map()),U(this,_0x63201e(0x261),new _0x4f75e8()),U(this,_0x63201e(0x2a2),new _0x4f75e8()),U(this,_0x63201e(0x1f1),this['_pivotInitCompleted$'][_0x63201e(0x26b)]()),U(this,_0x63201e(0x233),new _0x4f75e8()),U(this,_0x63201e(0x1b2),this[_0x63201e(0x233)][_0x63201e(0x26b)]()),U(this,'_textInfo',{}),U(this,_0x63201e(0x273),this['_configVersion$'][_0x63201e(0x26b)]()),(this[_0x63201e(0x377)]=_0x470db7,this[_0x63201e(0x2a7)]=_0x3f6145,this['_univerInstanceService']=_0x5b4974,this['_resourceManagerService']=_0xfcad53,this[_0x63201e(0x3ba)]=_0x649657,this[_0x63201e(0x2cb)](),this[_0x63201e(0x2a3)]());const _0x3dd63f=this[_0x63201e(0x3ba)][_0x63201e(0x1b4)](Xo);(_0x3dd63f==null?void 0x0:_0x3dd63f[_0x63201e(0x1cf)])===!0x0&&this[_0x63201e(0x31a)]();}['_initUnitDisposed'](){const _0x5c9fe8=_0x106979;this['disposeWithMe'](this[_0x5c9fe8(0x343)][_0x5c9fe8(0x3f8)](_0x193d62['UNIVER_SHEET'])['subscribe'](_0x588fb9=>{const _0x22ea5f=_0x5c9fe8;this[_0x22ea5f(0x20b)](_0x588fb9[_0x22ea5f(0x3a1)]());}));}['setPivotInitCompleted'](){const _0x5f1ab3=_0x106979;this[_0x5f1ab3(0x2a2)][_0x5f1ab3(0x27d)](!0x0);}['_initLocale'](){const _0x48c1c7=_0x106979,_0x3efce0=fo(this['_injector'],Lo,'',{});this[_0x48c1c7(0x383)]=_0x3efce0,this[_0x48c1c7(0x2a7)][_0x48c1c7(0x280)](uo['id'],{'textInfo':_0x3efce0},{'onlyLocal':!0x0});}[_0x106979(0x26e)](){return this['_textInfo'];}[_0x106979(0x3c5)](_0x3c0773,_0x1afba5,_0x107bfd,_0x33ba28,_0x2b6790){const _0x5470da=_0x106979;this['updatePivotTableMatrixInfo'](_0x3c0773,_0x1afba5,_0x107bfd,_0x33ba28),this[_0x5470da(0x3d6)](_0x3c0773,_0x1afba5,_0x107bfd,_0x2b6790);}[_0x106979(0x2db)](_0xab70c7,_0x569172,_0x31a3df){const _0x55a1ee=_0x106979;var _0x4a3b47;const _0x1aa8c4=(_0x4a3b47=this[_0x55a1ee(0x1ab)][_0x55a1ee(0x335)](_0xab70c7))==null?void 0x0:_0x4a3b47[_0x55a1ee(0x335)](_0x569172);if(_0x1aa8c4)return _0x1aa8c4[_0x55a1ee(0x335)](_0x31a3df);}[_0x106979(0x252)](_0x2552c5,_0x588325){const _0x1eae59=_0x106979,_0x5ef489=this['_model'][_0x1eae59(0x335)](_0x2552c5);if(_0x5ef489){for(const [_0x30d95b,_0x19adea]of _0x5ef489[_0x1eae59(0x25e)]())for(const [_0x566b20,_0x4c1c8e]of _0x19adea['entries']())if(_0x566b20===_0x588325)return _0x4c1c8e[_0x1eae59(0x1a9)];}}[_0x106979(0x3e8)](_0x1fd7e2,_0x22f44e,_0x2d0d99){const _0x1dc278=_0x106979,_0x1fc75d=this[_0x1dc278(0x2db)](_0x1fd7e2,_0x22f44e,_0x2d0d99);return _0x1fc75d==null?void 0x0:_0x1fc75d[_0x1dc278(0x1a9)];}[_0x106979(0x432)](_0xcbc97e,_0x134b74){const _0x339ec3=_0x106979;var _0x311499;return(_0x311499=this['_model'][_0x339ec3(0x335)](_0xcbc97e))==null?void 0x0:_0x311499[_0x339ec3(0x335)](_0x134b74);}[_0x106979(0x1c6)](_0xd1cc3f,_0x6c0977,_0x423e7c,_0x30df68){const _0xf6f31f=_0x106979,_0x1bc9bd=this[_0xf6f31f(0x20f)](_0xd1cc3f,_0x6c0977);_0x30df68?_0x1bc9bd[_0xf6f31f(0x2a5)](_0x423e7c,_0x30df68):_0x1bc9bd['delete'](_0x423e7c),this[_0xf6f31f(0x233)]['next']({'unitId':_0xd1cc3f,'subUnitId':_0x6c0977,'pivotTableId':_0x423e7c,'pivotTableConfig':_0x30df68});}[_0x106979(0x3b0)](_0x375752,_0x271c4e){var _0x1867ca;return(_0x1867ca=this['_collectionConfigModel']['get'](_0x375752))==null?void 0x0:_0x1867ca['collections'][_0x271c4e];}['updateCollectionConfig'](_0xc5d3b9,_0x3f62f6){const _0x116a6b=_0x106979;this['_collectionConfigModel'][_0x116a6b(0x2a5)](_0xc5d3b9,_0x3f62f6),this['_configVersion$'][_0x116a6b(0x27d)](Math[_0x116a6b(0x3a9)]());}[_0x106979(0x20f)](_0x155744,_0x4305f0){const _0x3623cc=_0x106979;let _0x564abe=this[_0x3623cc(0x1ab)][_0x3623cc(0x335)](_0x155744);_0x564abe||(_0x564abe=new Map(),this[_0x3623cc(0x1ab)]['set'](_0x155744,_0x564abe));let _0x2bb096=_0x564abe['get'](_0x4305f0);return _0x2bb096||(_0x2bb096=new Map(),_0x564abe['set'](_0x4305f0,_0x2bb096)),_0x2bb096;}[_0x106979(0x3a6)](_0x3a75b9,_0x3a494a){const _0x52f76f=_0x106979;let _0x58fe91=this[_0x52f76f(0x200)][_0x52f76f(0x335)](_0x3a75b9);_0x58fe91||(_0x58fe91=new Map(),this[_0x52f76f(0x200)][_0x52f76f(0x2a5)](_0x3a75b9,_0x58fe91));let _0x5b0fc8=_0x58fe91[_0x52f76f(0x335)](_0x3a494a);return _0x5b0fc8||(_0x5b0fc8=new Map(),_0x58fe91[_0x52f76f(0x2a5)](_0x3a494a,_0x5b0fc8)),_0x5b0fc8;}[_0x106979(0x23b)](_0x185121,_0xc89c93){const _0xa6b578=_0x106979;let _0x57c6fc=this[_0xa6b578(0x3ff)]['get'](_0x185121);_0x57c6fc||(_0x57c6fc=new Map(),this[_0xa6b578(0x3ff)][_0xa6b578(0x2a5)](_0x185121,_0x57c6fc));let _0x248464=_0x57c6fc['get'](_0xc89c93);return _0x248464||(_0x248464=new Map(),_0x57c6fc[_0xa6b578(0x2a5)](_0xc89c93,_0x248464)),_0x248464;}[_0x106979(0x3d6)](_0x2d94ef,_0x5982e4,_0x292c52,_0xe1c696){const _0x4af0cb=_0x106979;var _0x1ce798;const _0x1b851e=this[_0x4af0cb(0x3a6)](_0x2d94ef,_0x5982e4),_0x1c6a9c=(_0x1ce798=_0x1b851e[_0x4af0cb(0x335)](_0x292c52))==null?void 0x0:_0x1ce798[_0x4af0cb(0x2e9)];_0x1b851e['set'](_0x292c52,{'oldRangeInfo':_0x1c6a9c,'rangeInfo':_0xe1c696});}['updatePivotTableMatrixInfo'](_0x974ffe,_0x249b27,_0x553f87,_0x5ed40a){const _0x1f7625=_0x106979;var _0x2fcd1a;const _0x5a128d=this[_0x1f7625(0x23b)](_0x974ffe,_0x249b27),_0x25b694=(_0x2fcd1a=_0x5a128d['get'](_0x553f87))==null?void 0x0:_0x2fcd1a[_0x1f7625(0x286)];_0x5a128d['set'](_0x553f87,{'oldMatrix':_0x25b694,'matrix':_0x5ed40a});}[_0x106979(0x1d6)](_0xd2d624,_0x28df58,_0x3118f6){const _0x6baa35=_0x106979;var _0x50c9ac,_0x23a0ec;return(_0x23a0ec=(_0x50c9ac=this[_0x6baa35(0x200)]['get'](_0xd2d624))==null?void 0x0:_0x50c9ac[_0x6baa35(0x335)](_0x28df58))==null?void 0x0:_0x23a0ec['get'](_0x3118f6);}[_0x106979(0x23e)](_0x56eb04,_0x58405c,_0x4c7c71){const _0x2c4770=_0x106979;var _0x1b34bf,_0x532a38;return(_0x532a38=(_0x1b34bf=this[_0x2c4770(0x3ff)]['get'](_0x56eb04))==null?void 0x0:_0x1b34bf[_0x2c4770(0x335)](_0x58405c))==null?void 0x0:_0x532a38['get'](_0x4c7c71);}[_0x106979(0x20b)](_0x7acd01){const _0x4fcdde=_0x106979;this[_0x4fcdde(0x1ab)][_0x4fcdde(0x417)](_0x7acd01),this['_collectionConfigModel'][_0x4fcdde(0x417)](_0x7acd01);}[_0x106979(0x2d5)](_0x97d008){const _0x2edc16=_0x106979,_0x2d06d3={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2edc16(0x1c1)]['get'](_0x97d008)&&(_0x2d06d3['dataFieldManagerConfig'][_0x97d008]=this[_0x2edc16(0x1c1)][_0x2edc16(0x335)](_0x97d008)),this[_0x2edc16(0x1ab)][_0x2edc16(0x335)](_0x97d008)){_0x2d06d3[_0x2edc16(0x379)][_0x97d008]={};const _0x562549=this[_0x2edc16(0x1ab)]['get'](_0x97d008);_0x562549!=null&&_0x562549[_0x2edc16(0x387)]&&[..._0x562549['keys']()][_0x2edc16(0x3ec)](_0x5949df=>{const _0x11fbf2=_0x2edc16,_0x3a6499=_0x562549['get'](_0x5949df);_0x3a6499!=null&&_0x3a6499['size']&&(_0x2d06d3[_0x11fbf2(0x379)][_0x97d008][_0x5949df]={},[..._0x3a6499['keys']()]['forEach'](_0x297ddb=>{const _0x2da5cd=_0x11fbf2,_0x40c0fe=_0x3a6499[_0x2da5cd(0x335)](_0x297ddb);_0x40c0fe&&(_0x2d06d3['pivotTableConfigs'][_0x97d008][_0x5949df][_0x297ddb]=_0x40c0fe);}));});}return _0x2d06d3;}[_0x106979(0x31a)](){const _0x40dac7=_0x106979;this['disposeWithMe'](this['_resourceManagerService'][_0x40dac7(0x33f)]({'toJson':_0x2e262b=>JSON['stringify'](this[_0x40dac7(0x2d5)](_0x2e262b)),'parseJson':_0x431f0c=>({}),'businesses':[_0x193d62[_0x40dac7(0x328)]],'pluginName':ao,'onLoad':(_0x40de7c,_0x8f3cc6)=>{},'onUnLoad':_0x5488c6=>{this['deleteUnitId'](_0x5488c6);}}));}};ve=Ki([at(0x0,_0x1b9fdc(_0x575649)),at(0x1,_0x1b9fdc(_0x5993ab)),at(0x2,_0x1b9fdc(_0x5104e9)),at(0x3,_0x1b9fdc(_0x6f869e)),at(0x4,_0x1b9fdc(_0x2086c7))],ve);var qi=Object[_0x106979(0x334)],Xi=(_0x4debb1,_0x22d411,_0x5c61c8,_0x227a13)=>{const _0xba836e=_0x106979;for(var _0x510b3d=_0x227a13>0x1?void 0x0:_0x227a13?qi(_0x22d411,_0x5c61c8):_0x22d411,_0x411c87=_0x4debb1[_0xba836e(0x1e7)]-0x1,_0x355302;_0x411c87>=0x0;_0x411c87--)(_0x355302=_0x4debb1[_0x411c87])&&(_0x510b3d=_0x355302(_0x510b3d)||_0x510b3d);return _0x510b3d;},rt=(_0x20c1e4,_0x523d5b)=>(_0x3a4aee,_0xa3a477)=>_0x523d5b(_0x3a4aee,_0xa3a477,_0x20c1e4);let Ve=class extends _0xf281b6{constructor(_0x5047f3,_0x1bf7af,_0x2609cd,_0xd0786b,_0x55b0e0){const _0x2252a0=_0x106979;super(),U(this,_0x2252a0(0x277),new Map()),U(this,_0x2252a0(0x2fb),new Map()),U(this,_0x2252a0(0x27a),new _0x4f75e8()),U(this,'markDirty$',this[_0x2252a0(0x27a)][_0x2252a0(0x26b)]()),U(this,_0x2252a0(0x25c),new _0x4f75e8()),U(this,'viewUpdate$',this[_0x2252a0(0x25c)][_0x2252a0(0x26b)]()),U(this,_0x2252a0(0x383)),(this[_0x2252a0(0x30c)]=_0x5047f3,this[_0x2252a0(0x377)]=_0x1bf7af,this[_0x2252a0(0x2f8)]=_0x2609cd,this[_0x2252a0(0x343)]=_0xd0786b,this[_0x2252a0(0x30e)]=_0x55b0e0,this[_0x2252a0(0x2cb)](),this[_0x2252a0(0x2a3)]());}[_0x106979(0x2a3)](){const _0x23fe7c=_0x106979;this['disposeWithMe'](this[_0x23fe7c(0x343)][_0x23fe7c(0x3f8)](_0x193d62[_0x23fe7c(0x328)])['subscribe'](_0x3d79e8=>{const _0x18a644=_0x23fe7c;this[_0x18a644(0x20b)](_0x3d79e8['getUnitId']());}));}[_0x106979(0x2cb)](){this['_textInfo']=fo(this['_injector'],Lo,'',{});}['updateRenderCache'](_0x4ec122){const _0x3c071b=_0x106979,{view:_0x2318b3,unitId:_0x475392,subUnitId:_0x5f5a16,pivotTableId:_0x3129ab,type:_0x38c545}=_0x4ec122,_0x5d6bdc=this[_0x3c071b(0x2f8)]['getPivotTableConfig'](_0x475392,_0x5f5a16,_0x3129ab);if(!_0x2318b3||!_0x5d6bdc||_0x38c545===$[_0x3c071b(0x326)])return;const {pageView:_0x22b94b,cornerView:_0xcbe9bd,rowView:_0x5c87fc,colView:_0x24c843,dataView:_0x1a782f}=_0x2318b3,_0x503182=_0x5d6bdc['targetCellInfo'],_0x548a2c=_0x5d6bdc[_0x3c071b(0x3a5)],_0x5461f8=this['_ensurePivotItemRenderValueMatrixCache'](_0x475392,_0x5f5a16),_0x33c881=this['_ensurePivotItemRenderInfoCache'](_0x475392,_0x5f5a16,_0x3129ab);if(_0x548a2c)return this['_updateRenderEmptyCache'](_0x4ec122,_0x5461f8,_0x503182,_0x33c881);{const _0x582f66=ge(_0x503182,_0x22b94b,!0x0),_0x6e18c7=_0x22b94b[_0x3c071b(0x317)]>=0x0?_0x22b94b[_0x3c071b(0x317)]+0x1:0x0,_0x569c59=_0xcbe9bd['getRowCount'](),_0x1980ae=_0xcbe9bd[_0x3c071b(0x28d)](),_0x4fe8f2=_0x582f66['length']>0x0?It:0x0,_0x3750c2=ge({'row':_0x503182['row']+_0x6e18c7+_0x4fe8f2,'col':_0x503182[_0x3c071b(0x3ab)]},_0xcbe9bd,!0x1,!0x1),_0x186e19=ge({'row':_0x503182[_0x3c071b(0x3d0)]+_0x6e18c7+_0x4fe8f2+_0x569c59,'col':_0x503182['col']},_0x5c87fc,!0x1,!0x0),_0xa3cd3e=ge({'row':_0x503182[_0x3c071b(0x3d0)]+_0x6e18c7+_0x4fe8f2,'col':_0x503182['col']+_0x1980ae},_0x24c843,!0x1,!0x0),_0x3502f3=ge({'row':_0x503182[_0x3c071b(0x3d0)]+_0x6e18c7+_0x4fe8f2+_0x569c59,'col':_0x503182[_0x3c071b(0x3ab)]+_0x1980ae},_0x1a782f,!0x1,!0x1);_0x33c881['rangesInfo']={'rowRanges':_0x186e19,'colRanges':_0xa3cd3e,'cornerRanges':_0x3750c2,'dataRanges':_0x3502f3,'pageRanges':_0x582f66};const _0x87f34d=yi(this['_injector'],_0x2318b3,_0x5d6bdc,this['_textInfo']),{valueMatrix:_0x59b6eb,rowInfo:_0x4f31c2,colInfo:_0x1b55f5,cornerInfo:_0x3c815c,rowHeaderMap:_0x4135a8,colHeaderMap:_0x30da6a}=_0x87f34d;return _0x33c881[_0x3c071b(0x2c8)]={'rowInfo':_0x4f31c2,'colInfo':_0x1b55f5,'cornerInfo':_0x3c815c},_0x33c881[_0x3c071b(0x39b)]={'rowHeaderMap':_0x4135a8,'colHeaderMap':_0x30da6a},_0x59b6eb[_0x3c071b(0x3ec)]((_0x5e42e4,_0x256d7c)=>{const _0x3f2038=_0x3c071b;Object[_0x3f2038(0x2f0)](_0x256d7c)[_0x3f2038(0x3ec)](_0x317938=>{const _0x1e345c=_0x3f2038,_0x2467b6=+_0x317938,_0x56b75e=_0x59b6eb[_0x1e345c(0x3a7)](_0x5e42e4,_0x2467b6);_0x5461f8['setValue'](_0x5e42e4,_0x2467b6,_0x56b75e);});}),this[_0x3c071b(0x25c)][_0x3c071b(0x27d)]({'unitId':_0x475392,'subUnitId':_0x5f5a16,'valueMatrix':_0x5461f8,'rangesCache':_0x33c881[_0x3c071b(0x3cb)],'pivotTableId':_0x3129ab,'type':_0x4ec122[_0x3c071b(0x1ad)]}),this[_0x3c071b(0x2f8)][_0x3c071b(0x3c5)](_0x475392,_0x5f5a16,_0x3129ab,_0x5461f8,_0x33c881[_0x3c071b(0x3cb)]),this[_0x3c071b(0x30e)][_0x3c071b(0x3eb)](_0x475392,_0x5f5a16,Bt,this[_0x3c071b(0x361)](_0x33c881[_0x3c071b(0x3cb)],_0x3129ab)),{'rangeCache':_0x33c881[_0x3c071b(0x3cb)],'matrix':_0x5461f8};}}[_0x106979(0x1d4)](_0x5cfdde,_0x5b27d6,_0x33b4dd,_0x21ac7c){const _0x3439e6=_0x106979,_0x4c22ef=this['_localeService']['t'],{unitId:_0x379fcb,subUnitId:_0x30843e,pivotTableId:_0xa4d3d3}=_0x5cfdde,_0x43c392={'filter':_0x4c22ef(_0x3439e6(0x1e5)),'row':_0x4c22ef('sheets-pivot.emptyPivot.row'),'column':_0x4c22ef(_0x3439e6(0x34e)),'values':_0x4c22ef(_0x3439e6(0x3dd))},{matrixCache:_0x248d08,rangesCache:_0x5127ae}=Wo(_0x43c392,_0x33b4dd);return _0x248d08[_0x3439e6(0x2b1)]((_0x5c0cf0,_0x4b2b8a,_0x2deadc)=>{const _0x55d53a=_0x3439e6;_0x5b27d6[_0x55d53a(0x3aa)](_0x5c0cf0,_0x4b2b8a,_0x2deadc);}),_0x21ac7c[_0x3439e6(0x3cb)]=_0x5127ae,this[_0x3439e6(0x25c)][_0x3439e6(0x27d)]({'unitId':_0x379fcb,'subUnitId':_0x30843e,'valueMatrix':_0x5b27d6,'rangesCache':_0x5127ae,'pivotTableId':_0xa4d3d3,'type':_0x5cfdde['type'],'isEmpty':!0x0}),this[_0x3439e6(0x2f8)][_0x3439e6(0x3c5)](_0x379fcb,_0x30843e,_0xa4d3d3,_0x5b27d6,_0x5127ae),this[_0x3439e6(0x30e)][_0x3439e6(0x3eb)](_0x379fcb,_0x30843e,Bt,this[_0x3439e6(0x361)](_0x5127ae,_0xa4d3d3)),{'rangeCache':_0x21ac7c[_0x3439e6(0x3cb)],'matrix':_0x5b27d6};}[_0x106979(0x361)](_0x5c25cd,_0x4190c0){const _0x9623fe=_0x106979,_0x140f3f=[],_0x589bf8=$t(_0x5c25cd);for(const _0x42c0da of _0x589bf8)_0x140f3f[_0x9623fe(0x32d)]({'groupId':_0x4190c0,'range':_0x42c0da});return _0x140f3f;}['clearRenderCache'](_0x442469){const _0x3cc2bd=_0x106979;var _0x4ab7d1,_0x5ef88e,_0x525413,_0x5cf309;const {pivotTableId:_0x2e6230,unitId:_0x185bc4,subUnitId:_0x43db2e}=_0x442469;if(!_0x2e6230||!_0x185bc4||!_0x43db2e)return;const _0x10b281=this['_ensurePivotItemRenderValueMatrixCache'](_0x185bc4,_0x43db2e),_0x2f9495=(_0x5ef88e=(_0x4ab7d1=this[_0x3cc2bd(0x277)][_0x3cc2bd(0x335)](_0x185bc4))==null?void 0x0:_0x4ab7d1[_0x3cc2bd(0x335)](_0x43db2e))==null?void 0x0:_0x5ef88e[_0x3cc2bd(0x335)](_0x2e6230);if(_0x2f9495!=null&&_0x2f9495[_0x3cc2bd(0x3cb)]){for(const _0x6cbc71 of Object['keys'](_0x2f9495[_0x3cc2bd(0x3cb)]))_0x2f9495[_0x3cc2bd(0x3cb)][_0x6cbc71][_0x3cc2bd(0x3ec)](_0x16eba7=>{const _0x4b7926=_0x3cc2bd;for(let _0x2fa4b2=_0x16eba7[_0x4b7926(0x308)];_0x2fa4b2<=_0x16eba7[_0x4b7926(0x364)];_0x2fa4b2++)for(let _0x2b2cd1=_0x16eba7[_0x4b7926(0x350)];_0x2b2cd1<=_0x16eba7[_0x4b7926(0x1f7)];_0x2b2cd1++)_0x10b281[_0x4b7926(0x353)](_0x2fa4b2,_0x2b2cd1);});}_0x2f9495&&((_0x5cf309=(_0x525413=this[_0x3cc2bd(0x277)][_0x3cc2bd(0x335)](_0x185bc4))==null?void 0x0:_0x525413[_0x3cc2bd(0x335)](_0x43db2e))==null||_0x5cf309[_0x3cc2bd(0x417)](_0x2e6230)),this['_viewUpdate$'][_0x3cc2bd(0x27d)]({'unitId':_0x185bc4,'subUnitId':_0x43db2e,'valueMatrix':_0x10b281,'pivotTableId':_0x2e6230,'rangesCache':void 0x0,'type':_0x442469[_0x3cc2bd(0x1ad)]}),this[_0x3cc2bd(0x30e)][_0x3cc2bd(0x378)](_0x185bc4,_0x43db2e,Bt,_0x2e6230);}[_0x106979(0x3c4)](_0x230278,_0x4ee091,_0x583dc4){const _0x1e677b=_0x106979;var _0x2b36c7,_0x1c99fb,_0x5275f7,_0x4d7b27,_0x369df6,_0x1c2d57;return this[_0x1e677b(0x277)][_0x1e677b(0x27f)](_0x230278)||this[_0x1e677b(0x277)]['set'](_0x230278,new Map()),(_0x2b36c7=this['_pivotRenderInfoCache'][_0x1e677b(0x335)](_0x230278))!=null&&_0x2b36c7['has'](_0x4ee091)||(_0x1c99fb=this['_pivotRenderInfoCache'][_0x1e677b(0x335)](_0x230278))==null||_0x1c99fb['set'](_0x4ee091,new Map()),(_0x4d7b27=(_0x5275f7=this[_0x1e677b(0x277)][_0x1e677b(0x335)](_0x230278))==null?void 0x0:_0x5275f7['get'](_0x4ee091))!=null&&_0x4d7b27[_0x1e677b(0x27f)](_0x583dc4)||(_0x1c2d57=(_0x369df6=this['_pivotRenderInfoCache'][_0x1e677b(0x335)](_0x230278))==null?void 0x0:_0x369df6[_0x1e677b(0x335)](_0x4ee091))==null||_0x1c2d57[_0x1e677b(0x2a5)](_0x583dc4,{}),this[_0x1e677b(0x277)]['get'](_0x230278)[_0x1e677b(0x335)](_0x4ee091)['get'](_0x583dc4);}['_ensurePivotItemRenderValueMatrixCache'](_0x5a5524,_0x1f2a31){const _0x2d9e67=_0x106979;var _0x122436,_0x2da0c2;return this[_0x2d9e67(0x2fb)][_0x2d9e67(0x27f)](_0x5a5524)||this[_0x2d9e67(0x2fb)][_0x2d9e67(0x2a5)](_0x5a5524,new Map()),(_0x122436=this[_0x2d9e67(0x2fb)][_0x2d9e67(0x335)](_0x5a5524))!=null&&_0x122436[_0x2d9e67(0x27f)](_0x1f2a31)||(_0x2da0c2=this[_0x2d9e67(0x2fb)][_0x2d9e67(0x335)](_0x5a5524))==null||_0x2da0c2[_0x2d9e67(0x2a5)](_0x1f2a31,new _0xea1b6e()),this[_0x2d9e67(0x2fb)][_0x2d9e67(0x335)](_0x5a5524)[_0x2d9e67(0x335)](_0x1f2a31);}[_0x106979(0x22c)](_0x43b9e8,_0x281487,_0xa7fde3,_0x6c395b){const _0x2e65c6=_0x106979;var _0x583db6,_0x2dd407;const _0x1bfbe2=(_0x2dd407=(_0x583db6=this[_0x2e65c6(0x2fb)][_0x2e65c6(0x335)](_0x43b9e8))==null?void 0x0:_0x583db6['get'](_0x281487))==null?void 0x0:_0x2dd407['getValue'](_0xa7fde3,_0x6c395b);if(_0x1bfbe2!=null)return _0x1bfbe2;}[_0x106979(0x30d)](_0xd8bcf2,_0x1448bf,_0xf798d4,_0x2c4b32){const _0x6f3ddd=_0x106979;var _0x2c5ee0;const _0x3a7369=_0x2adf2b(_0xf798d4,_0x2c4b32),_0x54b961=(_0x2c5ee0=this['_pivotRenderInfoCache'][_0x6f3ddd(0x335)](_0xd8bcf2))==null?void 0x0:_0x2c5ee0[_0x6f3ddd(0x335)](_0x1448bf);return _0x54b961?Array[_0x6f3ddd(0x414)](_0x54b961[_0x6f3ddd(0x2f0)]())[_0x6f3ddd(0x365)](_0x688e0f=>{const _0x49da00=_0x6f3ddd,_0x1bf856=_0x54b961[_0x49da00(0x335)](_0x688e0f),_0x1b86d5=_0x1bf856==null?void 0x0:_0x1bf856[_0x49da00(0x3cb)];return _0x1b86d5?Object[_0x49da00(0x2f0)](_0x1b86d5)[_0x49da00(0x24e)](_0x4ac1c1=>_0x1b86d5[_0x4ac1c1]['some'](_0x6d0b8=>_0x5dcab[_0x49da00(0x203)](_0x6d0b8,_0x3a7369))):!0x1;}):void 0x0;}[_0x106979(0x2f9)](_0x4b304b,_0x37ac48,_0x108a76){const _0x5202d1=_0x106979;var _0xb651a9;const _0x2204e1=(_0xb651a9=this[_0x5202d1(0x277)][_0x5202d1(0x335)](_0x4b304b))==null?void 0x0:_0xb651a9[_0x5202d1(0x335)](_0x37ac48),_0x3781c9=[];return _0x2204e1&&Array[_0x5202d1(0x414)](_0x2204e1['keys']())[_0x5202d1(0x3ec)](_0x473261=>{const _0x2737aa=_0x5202d1,_0x17a019=_0x2204e1[_0x2737aa(0x335)](_0x473261),_0x4b3226=_0x17a019==null?void 0x0:_0x17a019[_0x2737aa(0x3cb)];if(_0x4b3226)for(const _0x54eef0 of Object[_0x2737aa(0x1ed)](_0x4b3226)){let _0x40bdf7=!0x1;for(const _0x38ed96 of _0x54eef0)if(_0x5dcab[_0x2737aa(0x276)](_0x38ed96,_0x108a76)){_0x3781c9['push'](_0x473261),_0x40bdf7=!0x0;break;}if(_0x40bdf7)break;}}),_0x3781c9;}['getSubUnitPivotMatrix'](_0xdb930f,_0x4140ce){const _0x1040d9=_0x106979;var _0x547842,_0x27a7fe;return(_0x27a7fe=(_0x547842=this['_pivotRenderValueMatrixCache'][_0x1040d9(0x335)](_0xdb930f))==null?void 0x0:_0x547842['get'](_0x4140ce))!=null?_0x27a7fe:new _0xea1b6e();}[_0x106979(0x354)](_0x45344b,_0x599311){const _0xc585a0=_0x106979;var _0x4b573e;return(_0x4b573e=this[_0xc585a0(0x277)][_0xc585a0(0x335)](_0x45344b))==null?void 0x0:_0x4b573e[_0xc585a0(0x335)](_0x599311);}[_0x106979(0x40d)](_0x4da023,_0xaaf1f2,_0x3599f2){const _0x178f8b=_0x106979;var _0x5849db,_0x469ced;return(_0x469ced=(_0x5849db=this[_0x178f8b(0x277)]['get'](_0x4da023))==null?void 0x0:_0x5849db[_0x178f8b(0x335)](_0xaaf1f2))==null?void 0x0:_0x469ced[_0x178f8b(0x335)](_0x3599f2);}[_0x106979(0x20b)](_0x97688f){const _0x58cef3=_0x106979;this[_0x58cef3(0x277)][_0x58cef3(0x417)](_0x97688f),this[_0x58cef3(0x2fb)]['delete'](_0x97688f);}[_0x106979(0x3c0)](_0x2f4cff,_0x17c63d){const _0x284411=_0x106979;this[_0x284411(0x27a)][_0x284411(0x27d)]({'unitId':_0x2f4cff,'subUnitId':_0x17c63d});}};function _0x2baf(_0x53f7b1,_0x3bf027){const _0x5d488b=_0x5d48();return _0x2baf=function(_0x2baf6f,_0x5b6fb3){_0x2baf6f=_0x2baf6f-0x1a6;let _0x247ba2=_0x5d488b[_0x2baf6f];return _0x247ba2;},_0x2baf(_0x53f7b1,_0x3bf027);}Ve=Xi([rt(0x0,_0x1b9fdc(_0x3d09ef)),rt(0x1,_0x1b9fdc(_0x575649)),rt(0x2,_0x1b9fdc(ve)),rt(0x3,_0x1b9fdc(_0x5104e9)),rt(0x4,_0x1b9fdc(_0x4a62f5))],Ve);var Yi=Object['getOwnPropertyDescriptor'],Zi=(_0xbb985f,_0x2acb31,_0x2fbfed,_0xe3396f)=>{const _0x39c68b=_0x106979;for(var _0x26725a=_0xe3396f>0x1?void 0x0:_0xe3396f?Yi(_0x2acb31,_0x2fbfed):_0x2acb31,_0x3df80a=_0xbb985f[_0x39c68b(0x1e7)]-0x1,_0x4c3359;_0x3df80a>=0x0;_0x3df80a--)(_0x4c3359=_0xbb985f[_0x3df80a])&&(_0x26725a=_0x4c3359(_0x26725a)||_0x26725a);return _0x26725a;},Mo=(_0x4844fd,_0x29dfc5)=>(_0x249e44,_0x3b27da)=>_0x29dfc5(_0x249e44,_0x3b27da,_0x4844fd);let ie=class extends _0xf281b6{constructor(_0x45df8a,_0x58b0db){const _0x1d9c6d=_0x106979;super(),U(this,'asyncInterceptor',new _0x1be31c({'PIVOT_PERFORM_CHECK':be})),U(this,_0x1d9c6d(0x1fb),new _0x1f7f12({'PIVOT_MUTATION_GENERATE':Go})),(this[_0x1d9c6d(0x1f2)]=_0x45df8a,this[_0x1d9c6d(0x311)]=_0x58b0db,this[_0x1d9c6d(0x1c3)]());}[_0x106979(0x1c3)](){this['_initViewModelBySheetInterceptor']();}[_0x106979(0x28e)](_0x49dac6){const _0x1e5cfd=_0x106979;return this[_0x1e5cfd(0x291)]['fetchThroughAsyncInterceptors'](be)(!0x1,_0x49dac6);}[_0x106979(0x275)](){const _0x2c82f6=_0x106979;this[_0x2c82f6(0x31f)](this[_0x2c82f6(0x1f2)]['intercept'](_0x4b4679[_0x2c82f6(0x42a)],{'priority':0xc8,'effect':_0x51f1d8[_0x2c82f6(0x3bc)]|_0x51f1d8[_0x2c82f6(0x368)],'handler':(_0x57195c,_0x2a620a,_0x688e0e)=>{const _0xce52b7=_0x2c82f6,{row:_0x594334,col:_0x15a39f,unitId:_0x2ef3f3,subUnitId:_0x323a33,workbook:_0xc1e6e2}=_0x2a620a,_0x5a4d8d=this[_0xce52b7(0x311)][_0xce52b7(0x22c)](_0x2ef3f3,_0x323a33,_0x594334,_0x15a39f);if(!_0x5a4d8d)return _0x688e0e(_0x57195c);const _0x1c7b3d={..._0x57195c};(_0x5a4d8d['v']||_0x5a4d8d['v']===0x0)&&(_0x1c7b3d['v']=_0x5a4d8d['v']),_0x5a4d8d['t']&&(_0x1c7b3d['t']=_0x5a4d8d['t']);const _0x31c2b6=(typeof(_0x57195c==null?void 0x0:_0x57195c['s'])==_0xce52b7(0x2c3)?_0xc1e6e2[_0xce52b7(0x393)]()[_0xce52b7(0x335)](_0x57195c==null?void 0x0:_0x57195c['s']):_0x57195c==null?void 0x0:_0x57195c['s'])||{},_0x1cc89e=_0xc1e6e2[_0xce52b7(0x393)]()[_0xce52b7(0x335)](_0x5a4d8d['s']),_0x5a1fa7={..._0x1cc89e,..._0x31c2b6};_0x1cc89e!=null&&_0x1cc89e['n']&&(_0x5a1fa7['n']=_0x1cc89e['n']);const _0x188c06=_0xc1e6e2[_0xce52b7(0x393)]()[_0xce52b7(0x3aa)](_0x5a1fa7);return _0x1c7b3d['s']=_0x188c06,(_0x5a4d8d['pbt']===_0x49bacc['Collapse']||_0x5a4d8d[_0xce52b7(0x3d2)]===_0x49bacc[_0xce52b7(0x294)])&&(_0x1c7b3d['fontRenderExtension']={},_0x1c7b3d[_0xce52b7(0x21d)][_0xce52b7(0x1de)]=li),_0x688e0e(_0x1c7b3d);}}));}};ie=Zi([Mo(0x0,_0x1b9fdc(_0x50fd92)),Mo(0x1,_0x1b9fdc(Ve))],ie);function Vt(_0x3f2d5a,_0x3f4b07){const _0x193970=_0x106979;switch(_0x3f4b07){case _0x1c5d91[_0x193970(0x3bc)]:return _0x3f2d5a['valueFields'];case _0x1c5d91[_0x193970(0x212)]:return _0x3f2d5a[_0x193970(0x37f)];case _0x1c5d91[_0x193970(0x408)]:return _0x3f2d5a[_0x193970(0x2df)];case _0x1c5d91[_0x193970(0x271)]:return _0x3f2d5a[_0x193970(0x1b3)];default:return[];}}function Je(_0x4e0642,_0x4add40){const _0x2b9268=_0x106979;return _0x4e0642[_0x2b9268(0x1e1)][_0x4add40]||_0x4e0642[_0x2b9268(0x1a6)][_0x4add40];}function zi(_0x223ced,_0x1273d3){const _0x2ef4a9=_0x106979,{area:_0x1ffa9c,fieldJson:_0x505cab,index:_0x12239a}=_0x1273d3;_0x1ffa9c===_0x1c5d91[_0x2ef4a9(0x3bc)]?_0x223ced[_0x2ef4a9(0x1e1)][_0x505cab['id']]=_0x505cab:_0x223ced[_0x2ef4a9(0x1a6)][_0x505cab['id']]=_0x505cab,Vt(_0x223ced,_0x1ffa9c)['splice'](_0x12239a,0x0,_0x505cab['id']);}function Qi(_0x44bc55,_0x304f67){const _0xa0f723=_0x106979,{area:_0x173386,fieldId:_0x464daf,index:_0x4a6441}=_0x304f67;_0x173386===_0x1c5d91['Value']?delete _0x44bc55['measure'][_0x464daf]:delete _0x44bc55[_0xa0f723(0x1a6)][_0x464daf],Vt(_0x44bc55,_0x173386)['splice'](_0x4a6441,0x1);}function es(_0x24cfeb,_0x2c946d){const _0x26909e=_0x106979,{fieldId:_0xeb8df5,name:_0xdaaa05}=_0x2c946d,_0x47c3ba=Je(_0x24cfeb,_0xeb8df5);_0x47c3ba&&(_0x47c3ba[_0x26909e(0x2c9)]=_0xdaaa05);}function ts(_0x5dd6e6,_0x3922e3){const _0x3ac7e0=_0x106979,{fieldId:_0x433e,collapse:_0x1f168f,item:_0x191e0e}=_0x3922e3;_0x191e0e!==void 0x0?(_0x5dd6e6['collapseInfo'][_0x433e]=_0x5dd6e6[_0x3ac7e0(0x319)][_0x433e]||{},_0x5dd6e6[_0x3ac7e0(0x319)][_0x433e][_0x191e0e]=_0x1f168f):_0x5dd6e6['collapseInfo'][_0x433e]=_0x1f168f;}function os(_0x5e0dbc,_0x4e90ee){const _0x24c5df=_0x106979,{fieldId:_0x35893a,format:_0x58b059}=_0x4e90ee,_0x2653fa=Je(_0x5e0dbc,_0x35893a);_0x2653fa&&(_0x2653fa[_0x24c5df(0x392)]=_0x58b059);}function ns(_0x46640d,_0x334332){const {fieldId:_0x2104a4,filterInfo:_0x2f63e2}=_0x334332,_0x140e20=Je(_0x46640d,_0x2104a4);_0x140e20&&(_0x140e20['filterInfo']=_0x2f63e2);}function is(_0x1e01ea,_0x5d83c7){const _0x19670d=_0x106979,{fieldId:_0x34dc94,filterInfo:_0x32d04f}=_0x5d83c7,_0x3930ba=_0x1e01ea[_0x19670d(0x3e1)]['filter'](_0x103cfa=>_0x103cfa[_0x19670d(0x234)]!==_0x34dc94);_0x32d04f&&_0x3930ba[_0x19670d(0x32d)]({'fieldId':_0x34dc94,'filterInfo':_0x32d04f}),_0x1e01ea['valueFilter']=_0x3930ba;}function ss(_0x4141ee,_0x3302c9){const _0x14a8bf=_0x106979,{fieldId:_0x489d7f,subtotalType:_0x2cf6e4}=_0x3302c9,_0x22370b=Je(_0x4141ee,_0x489d7f);_0x22370b&&(_0x22370b[_0x14a8bf(0x3ac)]=_0x2cf6e4);}function as(_0x5600d7,_0x4d09e5){const _0x426525=_0x106979,{fieldId:_0x1e23da,oldArea:_0x1df32c,area:_0x5090ed,oldIndex:_0x2b9cad,index:_0x34f145}=_0x4d09e5,_0x487a74=_0x1df32c!==_0x1c5d91[_0x426525(0x3bc)]&&_0x5090ed===_0x1c5d91['Value'],_0x4facbc=_0x1df32c===_0x1c5d91['Value']&&_0x5090ed!==_0x1c5d91[_0x426525(0x3bc)];if(_0x487a74||_0x4facbc){const _0x2e09a8=Je(_0x5600d7,_0x1e23da);_0x2e09a8&&(_0x487a74?(delete _0x5600d7['dimension'][_0x1e23da],_0x5600d7[_0x426525(0x1e1)][_0x1e23da]=_0x2e09a8):(delete _0x5600d7[_0x426525(0x1e1)][_0x1e23da],_0x5600d7[_0x426525(0x1a6)][_0x1e23da]=_0x2e09a8));}const _0x376657=Vt(_0x5600d7,_0x1df32c),_0x3a1666=Vt(_0x5600d7,_0x5090ed);_0x376657['splice'](_0x2b9cad,0x1),_0x3a1666[_0x426525(0x42c)](_0x34f145,0x0,_0x1e23da);}function rs(_0x1eabd8,_0x4b76f7){const _0x5eb800=_0x106979,{valuePosition:_0x2a74d1,index:_0x194db2}=_0x4b76f7;_0x1eabd8[_0x5eb800(0x3d7)]=_0x2a74d1,_0x1eabd8[_0x5eb800(0x2dd)]=_0x194db2;}function ls(_0x25f24e,_0xf49c5){const _0x3e9274=_0x106979,{tableFieldId:_0x3d437f,sourceName:_0x47cc06,dataFieldId:_0x37b835}=_0xf49c5,_0x232804=Je(_0x25f24e,_0x3d437f);_0x232804&&(_0x232804[_0x3e9274(0x389)]=_0x47cc06,_0x232804['dataFieldId']=_0x37b835);}function cs(_0x464699,_0x17c501){const _0x47afeb=_0x106979,{fieldId:_0x1f93e2,sortInfo:_0x54cf21}=_0x17c501,_0x2c7087=Je(_0x464699,_0x1f93e2);_0x2c7087&&(_0x2c7087[_0x47afeb(0x422)]=_0x54cf21);}function ds(_0x1fbc7a,_0x4f437b){const _0x20f8e6=_0x106979,{options:_0x2d65dc}=_0x4f437b;_0x1fbc7a['options']={..._0x1fbc7a[_0x20f8e6(0x345)],..._0x2d65dc};}const Gt={'type':_0x46c529[_0x106979(0x1bf)],'id':_0x106979(0x2d7),'handler'(_0x29aef8,_0x2027bf){const _0x537db5=_0x106979;if(!_0x2027bf)return!0x1;if(!!_0x29aef8[_0x537db5(0x335)](_0x2086c7)[_0x537db5(0x1b4)](q))return!0x0;const _0x199619=_0x29aef8['get'](G),{pivotTableId:_0x472010,fieldJson:_0x5f40b1,area:_0x28ce54,index:_0x440e15,unitId:_0x5aad64,subUnitId:_0x49796b}=_0x2027bf,_0x38b6f0=_0x199619[_0x537db5(0x355)](_0x472010);if(!_0x38b6f0)return!0x1;let _0x3536f3;_0x28ce54===_0x1c5d91['Value']?_0x3536f3=_0x55490b(_0x5f40b1):_0x3536f3=_0x1e256c(_0x5f40b1),_0x38b6f0[_0x537db5(0x210)](_0x3536f3,_0x28ce54,_0x440e15);const _0x41a523=_0x199619[_0x537db5(0x219)](_0x5aad64,_0x49796b,_0x472010);zi(_0x41a523,_0x2027bf);const _0x446881=_0x199619[_0x537db5(0x2db)](_0x5aad64,_0x49796b,_0x472010);return _0x199619[_0x537db5(0x2a1)]({'unitId':_0x5aad64,'subUnitId':_0x49796b,'token':_0x472010,'type':$[_0x537db5(0x35e)],'pivotConfig':_0x446881}),!0x0;}},Jt={'type':_0x46c529[_0x106979(0x1bf)],'id':_0x106979(0x274),'handler'(_0x20d768,_0x1c8de0){const _0x14cbbf=_0x106979;if(!_0x1c8de0)return!0x1;if(!!_0x20d768[_0x14cbbf(0x335)](_0x2086c7)[_0x14cbbf(0x1b4)](q))return!0x0;const _0x20478c=_0x20d768[_0x14cbbf(0x335)](G),{pivotTableId:_0x48630e,fieldId:_0x544f3b,unitId:_0xd8102f,subUnitId:_0xfdae14}=_0x1c8de0,_0x2071a0=_0x20478c[_0x14cbbf(0x355)](_0x48630e);if(!_0x2071a0)return!0x1;_0x2071a0[_0x14cbbf(0x1c7)](_0x544f3b);const _0x5c7c9f=_0x20478c[_0x14cbbf(0x219)](_0xd8102f,_0xfdae14,_0x48630e);Qi(_0x5c7c9f,_0x1c8de0);const _0x232939=_0x20478c[_0x14cbbf(0x2db)](_0xd8102f,_0xfdae14,_0x48630e);return _0x20478c[_0x14cbbf(0x2a1)]({'unitId':_0xd8102f,'subUnitId':_0xfdae14,'token':_0x48630e,'type':$['Set'],'pivotConfig':_0x232939}),!0x0;}},jt={'type':_0x46c529[_0x106979(0x1bf)],'id':_0x106979(0x340),'handler'(_0x49f9b7,_0x1d80ce){const _0x5cfa84=_0x106979;if(!_0x1d80ce)return!0x1;if(!!_0x49f9b7[_0x5cfa84(0x335)](_0x2086c7)[_0x5cfa84(0x1b4)](q))return!0x0;const _0x39f291=_0x49f9b7['get'](G),{unitId:_0x2beffb,subUnitId:_0x417db1,pivotTableId:_0x1d9482,fieldId:_0x24b9ae,name:_0x5a742f}=_0x1d80ce,_0x52f518=_0x39f291[_0x5cfa84(0x355)](_0x1d9482);if(!_0x52f518)return!0x1;_0x52f518[_0x5cfa84(0x428)](_0x24b9ae,_0x5a742f);const _0x19d77f=_0x39f291[_0x5cfa84(0x219)](_0x2beffb,_0x417db1,_0x1d9482);return es(_0x19d77f,_0x1d80ce),_0x39f291[_0x5cfa84(0x2a1)]({'unitId':_0x2beffb,'subUnitId':_0x417db1,'token':_0x1d9482,'type':$['Set']}),!0x0;}},Wt={'type':_0x46c529[_0x106979(0x1bf)],'id':_0x106979(0x2e6),'handler'(_0x39f4a3,_0x58e01e){const _0x2c3fff=_0x106979;if(!_0x58e01e)return!0x1;if(!!_0x39f4a3[_0x2c3fff(0x335)](_0x2086c7)['getConfig'](q))return!0x0;const _0x1b08dc=_0x39f4a3[_0x2c3fff(0x335)](G),{unitId:_0x375fd1,subUnitId:_0x298fa5,pivotTableId:_0x3c3d9a,fieldId:_0x134513,collapse:_0x22aa08,item:_0x1785c5}=_0x58e01e,_0x1cfd3f=_0x1b08dc[_0x2c3fff(0x355)](_0x3c3d9a);if(!_0x1cfd3f)return!0x1;_0x1cfd3f['setCollapse'](_0x134513,_0x22aa08,_0x1785c5);const _0x3aaf92=_0x1b08dc[_0x2c3fff(0x219)](_0x375fd1,_0x298fa5,_0x3c3d9a);return ts(_0x3aaf92,_0x58e01e),_0x1b08dc[_0x2c3fff(0x2a1)]({'unitId':_0x375fd1,'subUnitId':_0x298fa5,'token':_0x3c3d9a,'type':$[_0x2c3fff(0x35e)]}),!0x0;}},Ht={'type':_0x46c529[_0x106979(0x1bf)],'id':_0x106979(0x38d),'handler'(_0x5ef774,_0x426ea5){const _0x1d5b09=_0x106979;if(!_0x426ea5)return!0x1;if(!!_0x5ef774[_0x1d5b09(0x335)](_0x2086c7)[_0x1d5b09(0x1b4)](q))return!0x0;const _0x586fb8=_0x5ef774[_0x1d5b09(0x335)](G),{unitId:_0x28bd0e,subUnitId:_0x40e4d5,pivotTableId:_0x134fc7,fieldId:_0x44e08b,format:_0x224999}=_0x426ea5,_0x2a9da0=_0x586fb8[_0x1d5b09(0x355)](_0x134fc7);if(!_0x2a9da0)return!0x1;_0x2a9da0[_0x1d5b09(0x2ea)](_0x44e08b,_0x224999);const _0x1aea17=_0x586fb8[_0x1d5b09(0x219)](_0x28bd0e,_0x40e4d5,_0x134fc7);return os(_0x1aea17,_0x426ea5),_0x586fb8['addDirtyPivotTable']({'unitId':_0x28bd0e,'subUnitId':_0x40e4d5,'token':_0x134fc7,'type':$[_0x1d5b09(0x35e)]}),!0x0;}},Kt={'type':_0x46c529[_0x106979(0x1bf)],'id':_0x106979(0x3de),'handler'(_0x286bdd,_0x399dd6){const _0x2108b1=_0x106979;if(!_0x399dd6)return!0x1;if(!!_0x286bdd[_0x2108b1(0x335)](_0x2086c7)[_0x2108b1(0x1b4)](q))return!0x0;const _0x116b0a=_0x286bdd[_0x2108b1(0x335)](G),{unitId:_0x1806d8,subUnitId:_0x5cc846,pivotTableId:_0x203af0,fieldId:_0x5acb77,filterInfo:_0xb3018e}=_0x399dd6,_0x472d09=_0x116b0a['getPivotTableInstance'](_0x203af0);if(!_0x472d09)return!0x1;_0x472d09['setLabelFilterInfo'](_0x5acb77,_0xb3018e);const _0x34e9d1=_0x116b0a[_0x2108b1(0x219)](_0x1806d8,_0x5cc846,_0x203af0);return ns(_0x34e9d1,_0x399dd6),_0x116b0a[_0x2108b1(0x2a1)]({'unitId':_0x1806d8,'subUnitId':_0x5cc846,'token':_0x203af0,'type':$[_0x2108b1(0x35e)]}),!0x0;}},qt={'type':_0x46c529[_0x106979(0x1bf)],'id':'sheet.mutation.set-pivot-option','handler'(_0x25adb2,_0x3ee43e){const _0x28c5e0=_0x106979;if(!_0x3ee43e)return!0x1;if(!!_0x25adb2[_0x28c5e0(0x335)](_0x2086c7)[_0x28c5e0(0x1b4)](q))return!0x0;const _0x36254a=_0x25adb2['get'](G),{unitId:_0x2e48ac,subUnitId:_0x3e95c0,pivotTableId:_0x218fb4,options:_0x33d169}=_0x3ee43e,_0x425298=_0x36254a[_0x28c5e0(0x355)](_0x218fb4);if(!_0x425298)return!0x1;_0x425298[_0x28c5e0(0x2b2)](_0x33d169);const _0x3c4fe8=_0x36254a[_0x28c5e0(0x219)](_0x2e48ac,_0x3e95c0,_0x218fb4);return ds(_0x3c4fe8,_0x3ee43e),_0x36254a[_0x28c5e0(0x2a1)]({'unitId':_0x2e48ac,'subUnitId':_0x3e95c0,'token':_0x218fb4,'type':$[_0x28c5e0(0x35e)]}),!0x0;}},Xt={'type':_0x46c529['MUTATION'],'id':_0x106979(0x264),'handler'(_0x42c3b2,_0x4f4b13){const _0x133818=_0x106979;if(!_0x4f4b13)return!0x1;if(!!_0x42c3b2['get'](_0x2086c7)[_0x133818(0x1b4)](q))return!0x0;const _0x20dbd7=_0x42c3b2[_0x133818(0x335)](G),{unitId:_0x1c711e,subUnitId:_0x5a4665,pivotTableId:_0x521920,sortInfo:_0x342c92,fieldId:_0x19a2e8}=_0x4f4b13,_0x244b2a=_0x20dbd7[_0x133818(0x355)](_0x521920);if(!_0x244b2a)return!0x1;_0x244b2a[_0x133818(0x1db)](_0x19a2e8,_0x342c92);const _0x19cf8d=_0x20dbd7[_0x133818(0x219)](_0x1c711e,_0x5a4665,_0x521920);return cs(_0x19cf8d,_0x4f4b13),_0x20dbd7[_0x133818(0x2a1)]({'unitId':_0x1c711e,'subUnitId':_0x5a4665,'token':_0x521920,'type':$['Set']}),!0x0;}},Yt={'type':_0x46c529[_0x106979(0x1bf)],'id':_0x106979(0x2e4),'handler'(_0x3ec356,_0x224780){const _0x30c561=_0x106979;if(!_0x224780)return!0x1;if(!!_0x3ec356[_0x30c561(0x335)](_0x2086c7)[_0x30c561(0x1b4)](q))return!0x0;const _0x3e806c=_0x3ec356[_0x30c561(0x335)](G),{unitId:_0x1b2ac8,subUnitId:_0x54bb51,pivotTableId:_0x351251,fieldId:_0x5410e6,subtotalType:_0x2153fd}=_0x224780,_0x4b06ba=_0x3e806c[_0x30c561(0x355)](_0x351251);if(!_0x4b06ba)return!0x1;_0x4b06ba['setSubtotalType'](_0x5410e6,_0x2153fd);const _0x4ed57b=_0x3e806c[_0x30c561(0x219)](_0x1b2ac8,_0x54bb51,_0x351251);return ss(_0x4ed57b,_0x224780),_0x3e806c['addDirtyPivotTable']({'unitId':_0x1b2ac8,'subUnitId':_0x54bb51,'token':_0x351251,'type':$[_0x30c561(0x35e)]}),!0x0;}},Zt={'type':_0x46c529['MUTATION'],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x5c3f05,_0x43a5f1){const _0xce001b=_0x106979;if(!_0x43a5f1)return!0x1;if(!!_0x5c3f05['get'](_0x2086c7)['getConfig'](q))return!0x0;const _0x1ff2c5=_0x5c3f05[_0xce001b(0x335)](G),{unitId:_0x1d4988,subUnitId:_0x34cd16,pivotTableId:_0x269c0c,fieldId:_0x5e3c98,filterInfo:_0x9fdb01}=_0x43a5f1,_0x553158=_0x1ff2c5[_0xce001b(0x355)](_0x269c0c);if(!_0x553158)return!0x1;_0x553158[_0xce001b(0x3bd)](_0x5e3c98,_0x9fdb01);const _0xf71e27=_0x1ff2c5['getPivotTableModelConfig'](_0x1d4988,_0x34cd16,_0x269c0c);return is(_0xf71e27,_0x43a5f1),_0x1ff2c5[_0xce001b(0x2a1)]({'unitId':_0x1d4988,'subUnitId':_0x34cd16,'token':_0x269c0c,'type':$[_0xce001b(0x35e)]}),!0x0;}},zt={'type':_0x46c529['MUTATION'],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x2e4aa4,_0x414ab4){const _0x5c06d9=_0x106979;if(!_0x414ab4)return!0x1;if(!!_0x2e4aa4['get'](_0x2086c7)[_0x5c06d9(0x1b4)](q))return!0x0;const _0x23e0b7=_0x2e4aa4[_0x5c06d9(0x335)](G),{unitId:_0x269288,subUnitId:_0x4ad11e,pivotTableId:_0x478913,area:_0x5c6a57,index:_0x3bdfac,fieldId:_0x50e322}=_0x414ab4,_0x871946=_0x23e0b7['getPivotTableInstance'](_0x478913);if(!_0x871946)return!0x1;_0x871946[_0x5c06d9(0x430)](_0x50e322,_0x5c6a57,_0x3bdfac);const _0x2d0b96=_0x23e0b7[_0x5c06d9(0x219)](_0x269288,_0x4ad11e,_0x478913);return as(_0x2d0b96,_0x414ab4),_0x23e0b7['addDirtyPivotTable']({'unitId':_0x269288,'subUnitId':_0x4ad11e,'token':_0x478913,'type':$[_0x5c06d9(0x35e)]}),!0x0;}},Qt={'type':_0x46c529['MUTATION'],'id':_0x106979(0x228),'handler'(_0x339e39,_0x221594){const _0x23d473=_0x106979;if(!_0x221594)return!0x1;if(!!_0x339e39[_0x23d473(0x335)](_0x2086c7)[_0x23d473(0x1b4)](q))return!0x0;const _0x4928b1=_0x339e39[_0x23d473(0x335)](G),{unitId:_0x1b3a12,subUnitId:_0x1f94ce,pivotTableId:_0x537355,sourceName:_0x4f51f2,dataFieldId:_0x3d7868,tableFieldId:_0x32c020}=_0x221594,_0x4e82a2=_0x4928b1[_0x23d473(0x355)](_0x537355);if(!_0x4e82a2)return!0x1;_0x4e82a2[_0x23d473(0x312)](_0x32c020,_0x4f51f2,_0x3d7868);const _0x293b57=_0x4928b1['getPivotTableModelConfig'](_0x1b3a12,_0x1f94ce,_0x537355);return ls(_0x293b57,_0x221594),_0x4928b1['addDirtyPivotTable']({'unitId':_0x1b3a12,'subUnitId':_0x1f94ce,'token':_0x537355,'type':$[_0x23d473(0x35e)]}),!0x0;}},eo={'type':_0x46c529[_0x106979(0x1bf)],'id':_0x106979(0x301),'handler'(_0x285068,_0x4d87ab){const _0x352e6b=_0x106979;if(!_0x4d87ab)return!0x1;if(!!_0x285068[_0x352e6b(0x335)](_0x2086c7)['getConfig'](q))return!0x0;const _0x2ddb3b=_0x285068['get'](G),{unitId:_0x1edb6d,subUnitId:_0x4cd1e5,pivotTableId:_0x575455,valuePosition:_0x22dea5,index:_0x33fe1e}=_0x4d87ab,_0x1b348b=_0x2ddb3b[_0x352e6b(0x355)](_0x575455);if(!_0x1b348b)return!0x1;_0x1b348b['updateValuePosition'](_0x22dea5,_0x33fe1e);const _0x1bf1a5=_0x2ddb3b[_0x352e6b(0x219)](_0x1edb6d,_0x4cd1e5,_0x575455);return rs(_0x1bf1a5,_0x4d87ab),_0x2ddb3b['addDirtyPivotTable']({'unitId':_0x1edb6d,'subUnitId':_0x4cd1e5,'token':_0x575455,'type':$[_0x352e6b(0x35e)]}),!0x0;}};function me(_0x4a1591,_0xd5830c,_0x1939fb){const _0x5b5e7a=_0x106979,{pivotTableId:_0x498e5c,unitId:_0x4b7e30,subUnitId:_0x471c77}=_0xd5830c,_0x5d9b75=[],_0x12d6d1=[];for(const _0x4aa55c of _0x1939fb)switch(_0x4aa55c[_0x5b5e7a(0x1ad)]){case _0x5625a1[_0x5b5e7a(0x346)]:{const {fieldJson:_0x1b4c98,area:_0x29cf02,index:_0x58924b}=_0x4aa55c,_0x44eb36={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldJson':_0x1b4c98,'area':_0x29cf02,'index':_0x58924b},_0x1d61be={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldId':_0x1b4c98['id'],'area':_0x29cf02,'index':_0x58924b};_0x5d9b75[_0x5b5e7a(0x32d)]({'id':Gt['id'],'params':_0x44eb36}),_0x12d6d1[_0x5b5e7a(0x28f)]({'id':Jt['id'],'params':_0x1d61be});}break;case _0x5625a1['SetSubtotalType']:{const {fieldId:_0x20e556,newSubtotalType:_0x24b740,oldSubtotalType:_0x1bb7e2}=_0x4aa55c,_0x4e029b={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldId':_0x20e556,'subtotalType':_0x24b740};_0x5d9b75[_0x5b5e7a(0x32d)]({'id':Yt['id'],'params':_0x4e029b});const _0x25bb9c={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldId':_0x20e556,'subtotalType':_0x1bb7e2};_0x12d6d1[_0x5b5e7a(0x28f)]({'id':Yt['id'],'params':_0x25bb9c});}break;case _0x5625a1[_0x5b5e7a(0x2b7)]:{const {fieldId:_0x4e2f9e,fieldJson:_0x162f8a,area:_0x4e77b4,index:_0x5908ac}=_0x4aa55c,_0x2dcd62={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldId':_0x4e2f9e,'index':_0x5908ac,'area':_0x4e77b4};_0x5d9b75[_0x5b5e7a(0x32d)]({'id':Jt['id'],'params':_0x2dcd62});const _0x4d4844={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldJson':_0x162f8a,'area':_0x4e77b4,'index':_0x5908ac};_0x12d6d1[_0x5b5e7a(0x28f)]({'id':Gt['id'],'params':_0x4d4844});}break;case _0x5625a1[_0x5b5e7a(0x36a)]:{const {fieldId:_0x45f68b,oldName:_0x1db71d,newName:_0x283f84}=_0x4aa55c,_0x14889f={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldId':_0x45f68b,'name':_0x283f84};_0x5d9b75[_0x5b5e7a(0x32d)]({'id':jt['id'],'params':_0x14889f});const _0x24c0bd={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldId':_0x45f68b,'name':_0x1db71d};_0x12d6d1[_0x5b5e7a(0x28f)]({'id':jt['id'],'params':_0x24c0bd});}break;case _0x5625a1[_0x5b5e7a(0x415)]:{const {fieldId:_0x178678,oldFilterInfo:_0x3d180b,newFilterInfo:_0x3d2312}=_0x4aa55c,_0x368027={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldId':_0x178678,'filterInfo':_0x3d2312};_0x5d9b75['push']({'id':Kt['id'],'params':_0x368027});const _0x2b741a={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldId':_0x178678,'filterInfo':_0x3d180b};_0x12d6d1[_0x5b5e7a(0x28f)]({'id':Kt['id'],'params':_0x2b741a});}break;case _0x5625a1[_0x5b5e7a(0x38a)]:{const {fieldId:_0x19ef61,oldSortInfo:_0x162b80,newSortInfo:_0x6108b7}=_0x4aa55c,_0x15a8c1={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldId':_0x19ef61,'sortInfo':_0x6108b7};_0x5d9b75[_0x5b5e7a(0x32d)]({'id':Xt['id'],'params':_0x15a8c1});const _0x1da3e5={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldId':_0x19ef61,'sortInfo':_0x162b80};_0x12d6d1[_0x5b5e7a(0x28f)]({'id':Xt['id'],'params':_0x1da3e5});}break;case _0x5625a1[_0x5b5e7a(0x238)]:{const {oldOptions:_0x2dda27,newOptions:_0x46cd04}=_0x4aa55c,_0x5c1c45={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'options':_0x46cd04};_0x5d9b75[_0x5b5e7a(0x32d)]({'id':qt['id'],'params':_0x5c1c45});const _0x2aceed={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'options':_0x2dda27};_0x12d6d1[_0x5b5e7a(0x28f)]({'id':qt['id'],'params':_0x2aceed});}break;case _0x5625a1[_0x5b5e7a(0x336)]:{const {oldArea:_0x40aa9f,newArea:_0x5ea630,oldIndex:_0x44a51a,newIndex:_0xd38090,fieldId:_0x29d951}=_0x4aa55c,_0x11bb29={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldId':_0x29d951,'area':_0x5ea630,'index':_0xd38090,'oldArea':_0x40aa9f,'oldIndex':_0x44a51a};_0x5d9b75['push']({'id':zt['id'],'params':_0x11bb29});const _0x133e8b={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldId':_0x29d951,'area':_0x40aa9f,'index':_0x44a51a,'oldArea':_0x5ea630,'oldIndex':_0xd38090};_0x12d6d1[_0x5b5e7a(0x28f)]({'id':zt['id'],'params':_0x133e8b});}break;case _0x5625a1['UpdateValuePosition']:{const {oldValuePosition:_0x33276b,newValuePosition:_0xf9edc3,oldIndex:_0x272f2c,newIndex:_0x1d5022}=_0x4aa55c,_0x45e9ef={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'valuePosition':_0xf9edc3,'index':_0x1d5022};_0x5d9b75[_0x5b5e7a(0x32d)]({'id':eo['id'],'params':_0x45e9ef});const _0x3bea1d={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'valuePosition':_0x33276b,'index':_0x272f2c};_0x12d6d1['unshift']({'id':eo['id'],'params':_0x3bea1d});}break;case _0x5625a1[_0x5b5e7a(0x2d3)]:{const {fieldId:_0x202916,collapse:_0x3f8744,item:_0x250aaf}=_0x4aa55c,_0x1ff2cb={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldId':_0x202916,'collapse':_0x3f8744,'item':_0x250aaf};_0x5d9b75[_0x5b5e7a(0x32d)]({'id':Wt['id'],'params':_0x1ff2cb});const _0x26f8bf={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldId':_0x202916,'collapse':!_0x3f8744,'item':_0x250aaf};_0x12d6d1[_0x5b5e7a(0x28f)]({'id':Wt['id'],'params':_0x26f8bf});}break;case _0x5625a1['SetFieldFormat']:{const {newFormat:_0x86a08c,oldFormat:_0x412ad2,fieldId:_0xad6e6c}=_0x4aa55c,_0x2239f7={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldId':_0xad6e6c,'format':_0x86a08c};_0x5d9b75[_0x5b5e7a(0x32d)]({'id':Ht['id'],'params':_0x2239f7});const _0x444d82={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldId':_0xad6e6c,'format':_0x412ad2};_0x12d6d1[_0x5b5e7a(0x28f)]({'id':Ht['id'],'params':_0x444d82});}break;case _0x5625a1[_0x5b5e7a(0x30b)]:{const {tableFieldId:_0x180ecc,oldSourceName:_0x4a0446,newSourceName:_0x1d759d,oldDataFieldId:_0x130c61,newDataFieldId:_0x1a3e83}=_0x4aa55c,_0x4708fa={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'tableFieldId':_0x180ecc,'sourceName':_0x1d759d,'dataFieldId':_0x1a3e83};_0x5d9b75['push']({'id':Qt['id'],'params':_0x4708fa});const _0x1d82a3={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'tableFieldId':_0x180ecc,'sourceName':_0x4a0446,'dataFieldId':_0x130c61};_0x12d6d1['unshift']({'id':Qt['id'],'params':_0x1d82a3});}break;case _0x5625a1[_0x5b5e7a(0x3fa)]:{const {fieldId:_0x846a38,filterInfo:_0x4f5a27,oldFilterInfo:_0x11174b}=_0x4aa55c,_0x585573={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldId':_0x846a38,'filterInfo':_0x4f5a27};_0x5d9b75['push']({'id':Zt['id'],'params':_0x585573});const _0x3974c8={'unitId':_0x4b7e30,'subUnitId':_0x471c77,'pivotTableId':_0x498e5c,'fieldId':_0x846a38,'filterInfo':_0x11174b};_0x12d6d1[_0x5b5e7a(0x28f)]({'id':Zt['id'],'params':_0x3974c8});}}return{'redos':_0x5d9b75,'undos':_0x12d6d1};}function _e(_0x21d6ee,_0x1ae1b4){const _0x1e4aa4=_0x106979;var _0x17ae2e;const _0x2fe1dd=_0x21d6ee[_0x1e4aa4(0x335)](ie),{cellInfo:_0x1658a2,view:_0x4cf416,isEmpty:_0x37e30c}=_0x1ae1b4;return(_0x17ae2e=_0x2fe1dd['interceptor']['fetchThroughInterceptors'](Go)(So,{'cellInfo':_0x1658a2,'view':_0x4cf416,'isEmpty':_0x37e30c}))!=null?_0x17ae2e:So;}const us=()=>typeof process<'u'&&process['versions']!=null&&process[_0x106979(0x298)][_0x106979(0x315)]!=null,Ct={'type':_0x46c529['MUTATION'],'id':_0x106979(0x2d1),'handler'(_0x4f5014,_0x54ad27){const _0x16f75e=_0x106979;var _0x5474f9;if(!_0x54ad27)return!0x1;const _0x594961=_0x4f5014[_0x16f75e(0x335)](_0x2086c7);if(!!_0x594961[_0x16f75e(0x1b4)](q))return!0x0;const _0x105b63=_0x4f5014[_0x16f75e(0x335)](_0x5104e9),_0x1aa901=_0x4f5014['get'](G),{pivotTableId:_0x29baa6,pivotTableConfig:_0x643398,collectionConfig:_0x19e0f4,unitId:_0x2b21f7,subUnitId:_0x1291fd}=_0x54ad27,{sourceRangeInfo:_0x346916,fieldsConfig:_0x50b4c0,targetCellInfo:_0xaa1f2a}=_0x643398,_0x7122d3=_0x105b63['getUnit'](_0x2b21f7);if(!_0x7122d3||!_0x7122d3[_0x16f75e(0x241)](_0x1291fd))return!0x1;if(!us()){let _0x25a930=0x0;_0x7122d3[_0x16f75e(0x27b)]()['forEach'](_0xbe4ae2=>{const _0x57e83a=_0x16f75e;var _0x5756f6,_0x179333;_0x25a930+=(_0x179333=(_0x5756f6=_0x1aa901[_0x57e83a(0x432)](_0x2b21f7,_0xbe4ae2['getSheetId']()))==null?void 0x0:_0x5756f6['size'])!=null?_0x179333:0x0;});const _0xfbe115=(_0x5474f9=_0x594961[_0x16f75e(0x1b4)](_0x294254))!=null?_0x5474f9:{},{ls:_0xde8c8b,pbk:_0x3bfc7b}=_0xfbe115;if(!Ho(_0xde8c8b,_0x3bfc7b))throw new _0x3028fb(_0x16f75e(0x2ed));const _0x4f1bc8=go(so,_0xde8c8b,_0x3bfc7b)[_0x16f75e(0x407)];if(_0x25a930>=_0x4f1bc8)throw new _0x3028fb(_0x16f75e(0x2ed));}if(!_0x19e0f4||!_0x50b4c0)return!0x1;const {collection:_0x335480,updateDataFieldList:_0x2e8884}=_0x1aa901[_0x16f75e(0x42d)](_0x29baa6,_0x19e0f4,_0x346916,_0xaa1f2a);_0x1aa901[_0x16f75e(0x330)](_0x335480,_0x2e8884,_0x346916);const _0xd6fa26=new _0xa76544(_0x335480,void 0x0,_0x29baa6);_0xd6fa26['fromJSON'](_0x50b4c0);const _0x4b7214=JSON[_0x16f75e(0x2f3)](JSON[_0x16f75e(0x24c)](_0x643398));return _0x1aa901[_0x16f75e(0x33a)](_0x2b21f7,_0x1291fd,_0x29baa6,_0xd6fa26,_0x4b7214),_0x1aa901[_0x16f75e(0x2a1)]({'unitId':_0x2b21f7,'subUnitId':_0x1291fd,'token':_0x29baa6,'type':$[_0x16f75e(0x39d)],'pivotConfig':_0x4b7214}),!0x0;}},xt={'type':_0x46c529[_0x106979(0x1bf)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x51e429,_0x34cb67){const _0x2643e2=_0x106979;if(!_0x34cb67)return!0x1;if(!!_0x51e429[_0x2643e2(0x335)](_0x2086c7)['getConfig'](q))return!0x0;const {pivotTableId:_0x287a4f,unitId:_0x3fbf58,subUnitId:_0x2664e2}=_0x34cb67,_0x3e6819=_0x51e429[_0x2643e2(0x335)](G);return _0x3e6819[_0x2643e2(0x2db)](_0x3fbf58,_0x2664e2,_0x287a4f)?(_0x3e6819['addDirtyPivotTable']({'unitId':_0x3fbf58,'subUnitId':_0x2664e2,'token':_0x287a4f,'type':$['Delete']}),_0x3e6819[_0x2643e2(0x31b)](_0x3fbf58,_0x2664e2,_0x287a4f),!0x0):!0x1;}},pt={'type':_0x46c529[_0x106979(0x1bf)],'id':_0x106979(0x2ff),'handler'(_0x2596a3,_0x32fef2){const _0x299142=_0x106979;if(!_0x32fef2)return!0x1;if(!!_0x2596a3[_0x299142(0x335)](_0x2086c7)[_0x299142(0x1b4)](q))return!0x0;const {pivotTableId:_0x158c40,targetCellPosition:_0xbd827d,unitId:_0x5f3ba3,subUnitId:_0x84419}=_0x32fef2,_0x5a95bc=_0x2596a3[_0x299142(0x335)](G);if(!_0x5a95bc[_0x299142(0x355)](_0x32fef2[_0x299142(0x2cc)]))return!0x1;const _0x201f71=_0x5a95bc['getTargetByPivotId'](_0x158c40);if(!_0x201f71)return!0x1;const _0x3c5d62=_0x5a95bc['getCollection'](_0x201f71['unitId'],_0x32fef2[_0x299142(0x2cc)]);if(!_0x3c5d62)return!0x1;const _0xc81b30=_0x5a95bc[_0x299142(0x2db)](_0x201f71['unitId'],_0x201f71['subUnitId'],_0x158c40);if(!_0xc81b30)return!0x1;const _0x473c5d=_0xd77d28[_0x299142(0x25f)](_0xc81b30);_0x473c5d[_0x299142(0x1a9)]={'unitId':_0x5f3ba3,'subUnitId':_0x84419,'row':_0xbd827d['row'],'col':_0xbd827d[_0x299142(0x3ab)]};const _0x584f46=_0x3c5d62[_0x299142(0x297)]();if(_0x201f71[_0x299142(0x409)]===_0x84419&&_0x201f71[_0x299142(0x20a)]===_0x5f3ba3)_0x5a95bc[_0x299142(0x41b)](_0x5f3ba3,_0x84419,_0x158c40,_0x473c5d),_0x5a95bc[_0x299142(0x2a1)]({'unitId':_0x5f3ba3,'subUnitId':_0x84419,'token':_0x158c40,'type':$[_0x299142(0x35e)]});else{_0x5a95bc[_0x299142(0x2a1)]({'unitId':_0x201f71[_0x299142(0x20a)],'subUnitId':_0x201f71[_0x299142(0x409)],'token':_0x158c40,'type':$[_0x299142(0x326)]}),_0x5a95bc[_0x299142(0x31b)](_0x201f71[_0x299142(0x20a)],_0x201f71[_0x299142(0x409)],_0x158c40);const _0x14c0b5=_0x5a95bc[_0x299142(0x42d)](_0x158c40,_0x584f46,_0xc81b30[_0x299142(0x1a7)],_0x473c5d[_0x299142(0x1a9)]),_0x3b858d=new _0xa76544(_0x14c0b5['collection'],void 0x0,_0x158c40);_0x3b858d[_0x299142(0x320)](_0x473c5d[_0x299142(0x2da)]),_0x5a95bc[_0x299142(0x33a)](_0x5f3ba3,_0x84419,_0x158c40,_0x3b858d,_0x473c5d),_0x5a95bc[_0x299142(0x2a1)]({'unitId':_0x5f3ba3,'subUnitId':_0x84419,'token':_0x158c40,'type':$[_0x299142(0x39d)],'pivotConfig':_0x473c5d});}return!0x0;}},to={'type':_0x46c529[_0x106979(0x1bf)],'id':_0x106979(0x20c),'handler'(_0x3c7049,_0x59ec15){const _0x297223=_0x106979;if(!_0x59ec15)return!0x1;if(!!_0x3c7049['get'](_0x2086c7)[_0x297223(0x1b4)](q))return!0x0;const _0x25b969=_0x3c7049[_0x297223(0x335)](G),{pivotTableId:_0x5196c2,deleteIds:_0x519ef1,collectionJSON:_0x4202d9,dataRangeInfo:_0x542878,unitId:_0x2fc7a3,subUnitId:_0x1e6ad4}=_0x59ec15,_0xe8b84e=_0x25b969[_0x297223(0x355)](_0x5196c2),_0x2aef98=_0x25b969[_0x297223(0x2db)](_0x2fc7a3,_0x1e6ad4,_0x5196c2);if(!_0xe8b84e||!_0x2aef98)return!0x1;const {collection:_0x5e022d,updateDataFieldList:_0xbcf431}=_0x25b969['addCollectionByJSON'](_0x5196c2,_0x4202d9,_0x542878,_0x2aef98[_0x297223(0x1a9)]);_0x25b969['refreshData'](_0x5e022d,_0xbcf431,_0x542878),_0xe8b84e[_0x297223(0x3a0)](_0x5e022d);for(const _0x509db0 of _0x519ef1)_0x25b969['removeDataField'](_0x542878[_0x297223(0x20a)],_0x509db0);const _0xe0d336=_0x25b969[_0x297223(0x2db)](_0x2fc7a3,_0x1e6ad4,_0x5196c2);return _0xe0d336[_0x297223(0x1a7)]=JSON[_0x297223(0x2f3)](JSON[_0x297223(0x24c)](_0x542878)),_0x25b969[_0x297223(0x2a1)]({'unitId':_0x2fc7a3,'subUnitId':_0x1e6ad4,'token':_0x5196c2,'type':$[_0x297223(0x35e)]}),!0x0;}},Nt={'type':_0x46c529['MUTATION'],'id':_0x106979(0x36b),'handler'(){return!0x0;}};var fs=Object[_0x106979(0x334)],gs=(_0x4ceaa7,_0x2d463a,_0x1016d6,_0x4f2c2b)=>{const _0x310531=_0x106979;for(var _0x30884d=_0x4f2c2b>0x1?void 0x0:_0x4f2c2b?fs(_0x2d463a,_0x1016d6):_0x2d463a,_0x566c79=_0x4ceaa7[_0x310531(0x1e7)]-0x1,_0x27457b;_0x566c79>=0x0;_0x566c79--)(_0x27457b=_0x4ceaa7[_0x566c79])&&(_0x30884d=_0x27457b(_0x30884d)||_0x30884d);return _0x30884d;},wo=(_0x41724f,_0x4440e5)=>(_0x148559,_0x256092)=>_0x4440e5(_0x148559,_0x256092,_0x41724f);let Q=class extends _0xf281b6{constructor(_0x449b22,_0x407912){const _0x43117e=_0x106979;super(),U(this,'_requestResolvers',new Map()),(this[_0x43117e(0x377)]=_0x449b22,this[_0x43117e(0x2a7)]=_0x407912);}[_0x106979(0x3c6)](_0x1e3218){const _0xace6d0=_0x106979,{version:_0x31ad51}=_0x1e3218,_0x569776=this[_0xace6d0(0x295)][_0xace6d0(0x335)](_0x31ad51);_0x569776&&(_0x569776(_0x1e3218),this[_0xace6d0(0x295)][_0xace6d0(0x417)](_0x31ad51));}['getPivotDisplayConfig'](_0x4845dc){return new Promise((_0x154067,_0x1e20d7)=>{const _0x3988c2=_0x2baf,_0x40a3e2=this[_0x3988c2(0x1ec)]();this[_0x3988c2(0x295)]['set'](_0x40a3e2,_0x154067),this[_0x3988c2(0x2a7)][_0x3988c2(0x280)](ro['id'],{'version':_0x40a3e2,..._0x4845dc},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x341df8=_0x106979;return Math[_0x341df8(0x3a9)]()[_0x341df8(0x2c6)](0x24)[_0x341df8(0x240)](0x2,0x10);}};Q=gs([wo(0x0,_0x1b9fdc(_0x575649)),wo(0x1,_0x1b9fdc(_0x5993ab))],Q);const Yo={'id':_0x106979(0x337),'type':_0x46c529[_0x106979(0x1bf)],'handler':(_0x19d184,_0x264aa7)=>{const _0x30bb98=_0x106979;if(!_0x264aa7)return!0x1;if(!!_0x19d184['get'](_0x2086c7)['getConfig'](q))return!0x0;const {pivotTableId:_0x2b4640,fieldJSON:_0x3344ed,unitId:_0x1a1c36,subUnitId:_0x25db0d}=_0x264aa7,_0x4d3855=_0x4272e7[_0x30bb98(0x320)](_0x3344ed);if(!_0x4d3855)return!0x1;const _0x3bb759=_0x19d184[_0x30bb98(0x335)](G),_0x40ca6b=_0x3bb759[_0x30bb98(0x2e5)](_0x1a1c36),_0x55bfe1=_0x40ca6b[_0x30bb98(0x3b0)](_0x2b4640);_0x40ca6b['addDataFieldWithoutUnitInfo'](_0x4d3855),_0x55bfe1[_0x30bb98(0x210)](_0x4d3855[_0x30bb98(0x2c4)](),_0x4d3855[_0x30bb98(0x3cf)]());const _0x1cc155=_0x55bfe1[_0x30bb98(0x2ef)](_0x4d3855[_0x30bb98(0x37c)]());_0x1cc155&&_0x4d3855[_0x30bb98(0x267)](_0x1cc155);const _0x17d8b1=_0x3bb759[_0x30bb98(0x2db)](_0x1a1c36,_0x25db0d,_0x2b4640);return _0x3bb759[_0x30bb98(0x2a1)]({'unitId':_0x1a1c36,'subUnitId':_0x25db0d,'token':_0x2b4640,'type':$['Set'],'pivotConfig':_0x17d8b1}),!0x0;}},Zo={'id':_0x106979(0x24f),'type':_0x46c529[_0x106979(0x1bf)],'handler':(_0x585a3c,_0x5c7ce6)=>{const _0x4c8b02=_0x106979;if(!_0x5c7ce6)return!0x1;if(!!_0x585a3c[_0x4c8b02(0x335)](_0x2086c7)['getConfig'](q))return!0x0;const {pivotTableId:_0x90dfc,dataFieldId:_0x8c29f8,unitId:_0xcfa9a4,subUnitId:_0x2c4b7b}=_0x5c7ce6,_0x529d1b=_0x585a3c[_0x4c8b02(0x335)](G),_0x116bdb=_0x529d1b[_0x4c8b02(0x2e5)](_0xcfa9a4);_0x116bdb[_0x4c8b02(0x3b0)](_0x90dfc)['deleteField'](_0x8c29f8);let _0x400c46=!0x0;for(const _0x503942 in _0x116bdb['collections'])if(_0x116bdb[_0x4c8b02(0x359)][_0x503942][_0x4c8b02(0x323)]()[_0x4c8b02(0x305)](_0x8c29f8)){_0x400c46=!0x1;break;}_0x400c46&&_0x116bdb[_0x4c8b02(0x1d3)](_0x8c29f8);const _0xc2f481=_0x529d1b[_0x4c8b02(0x2db)](_0xcfa9a4,_0x2c4b7b,_0x90dfc);return _0x529d1b[_0x4c8b02(0x2a1)]({'unitId':_0xcfa9a4,'subUnitId':_0x2c4b7b,'token':_0x90dfc,'type':$['Set'],'pivotConfig':_0xc2f481}),!0x0;}},hs={'type':_0x46c529[_0x106979(0x2c5)],'id':_0x106979(0x2f5),async 'handler'(_0x1ed259,_0x5645df){const _0x7a3477=_0x106979;if(!_0x5645df)return!0x1;const _0x24de4a=_0x1ed259['get'](_0x5993ab),_0x384ec4=_0x1ed259[_0x7a3477(0x335)](Q),_0x57e656=_0x1ed259['get'](_0x5a78f4),{pivotTableId:_0x243097,dataFieldId:_0x12ff35,fieldArea:_0x36e2fb,index:_0x438f52,unitId:_0x18a023,subUnitId:_0x15ec71}=_0x5645df,_0x34fa34=(await _0x384ec4[_0x7a3477(0x39f)]({'unitId':_0x18a023,'subUnitId':_0x15ec71,'pivotTableId':_0x243097,'params':{'type':k['AddPivotField'],'addPivotField':{'dataFieldId':_0x12ff35,'fieldArea':_0x36e2fb,'index':_0x438f52}}}))[_0x7a3477(0x1e3)][_0x7a3477(0x3ed)];if(!_0x34fa34)return!0x1;const {view:_0x3f0e48,changesets:_0x417e04,isEmpty:_0x5032ef,pivotTableConfig:_0x38d0c1,shouldBeAddedGroupJSON:_0x2ff6f5}=_0x34fa34,_0x5eae8f=_0x38d0c1['targetCellInfo'],_0x5637c7=new _0x4904e9();_0x5637c7['formJSON'](_0x3f0e48);const _0x39c657={'cellInfo':_0x5eae8f,'view':_0x5637c7,'isEmpty':_0x5032ef};if(!await _0x1ed259[_0x7a3477(0x335)](ie)['asyncInterceptor'][_0x7a3477(0x2b9)](be)(!0x0,_0x39c657))return!0x1;const _0x5b373e=we(_0x1ed259,_0x5637c7,_0x5eae8f,_0x5032ef),_0x38367f=_e(_0x1ed259,_0x39c657),{undos:_0x5b6408,redos:_0x1ae72e}=me(_0x24de4a,{'pivotTableId':_0x243097,'unitId':_0x18a023,'subUnitId':_0x15ec71},_0x417e04);return _0x2ff6f5&&(_0x1ae72e[_0x7a3477(0x28f)]({'id':Yo['id'],'params':{'pivotTableId':_0x243097,'fieldJSON':_0x2ff6f5,'unitId':_0x18a023,'subUnitId':_0x15ec71}}),_0x5b6408['push']({'id':Zo['id'],'params':{'pivotTableId':_0x243097,'dataFieldId':_0x2ff6f5['id'],'unitId':_0x18a023,'subUnitId':_0x15ec71}})),_0x3cd50c([..._0x5b373e[_0x7a3477(0x402)],..._0x38367f[_0x7a3477(0x402)],..._0x1ae72e],_0x24de4a),_0x57e656['pushUndoRedo']({'unitID':_0x18a023,'redoMutations':[..._0x5b373e['redos'],..._0x38367f['redos'],..._0x1ae72e],'undoMutations':[..._0x5b373e['undos'],..._0x38367f['undos'],..._0x5b6408]}),!0x0;}},vs={'type':_0x46c529[_0x106979(0x2c5)],'id':_0x106979(0x36d),async 'handler'(_0x46983e,_0x384ea4){const _0x5e2a5c=_0x106979;if(!_0x384ea4)return!0x1;const {sourceDataInfo:_0x5d00c1,pivotTableConfig:_0x51b249}=_0x384ea4;if(!_0x5d00c1||!_0x51b249)return!0x1;const {unitId:_0x3fb059,subUnitId:_0x3f79d3,range:_0x3cc84c}=_0x5d00c1,_0x393bdf=_0x46983e[_0x5e2a5c(0x335)](_0x5104e9),_0x3358e9=_0x46983e['get'](Q),_0x4bcaa6=_0x46983e[_0x5e2a5c(0x335)](_0x3d09ef),_0x179f91=_0x46983e[_0x5e2a5c(0x335)](_0x5993ab),_0x25e2d4=_0x393bdf[_0x5e2a5c(0x290)](_0x3fb059);if(!_0x25e2d4)return!0x1;const _0x35ba4d=_0x25e2d4[_0x5e2a5c(0x241)](_0x3f79d3);if(!_0x35ba4d)return!0x1;const _0x1ebf71=_0x5c7b71(0x8),_0x37ca40=_0x3cc84c||{'startRow':0x0,'startColumn':0x0,'endRow':_0x35ba4d[_0x5e2a5c(0x1e6)]()-0x1,'endColumn':_0x35ba4d[_0x5e2a5c(0x268)]()-0x1};_0x37ca40['rangeType']=_0x32d78e['NORMAL'];const _0xcb2dbe=(await _0x3358e9[_0x5e2a5c(0x39f)]({'unitId':_0x3fb059,'subUnitId':_0x3f79d3,'pivotTableId':_0x1ebf71,'params':{'type':k[_0x5e2a5c(0x382)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x3fb059,'sheetName':_0x35ba4d[_0x5e2a5c(0x3cf)](),'subUnitId':_0x3f79d3,'range':_0x37ca40},'pivotTableId':_0x1ebf71,'pivotTableIndexConfig':_0x51b249}}}))[_0x5e2a5c(0x1e3)][_0x5e2a5c(0x2f1)];if(!_0xcb2dbe)return!0x1;const {isEmpty:_0x116725,fieldsConfig:_0x50597a,collectionConfig:_0x5ed2db,changesets:_0x18f6d1}=_0xcb2dbe,_0x1b12b9=_0x25e2d4[_0x5e2a5c(0x27b)]()[_0x5e2a5c(0x1e7)],_0x432844=_0x390466({'rowCount':_0x35ba4d[_0x5e2a5c(0x1e6)]()-0x1,'columnCount':_0x35ba4d[_0x5e2a5c(0x268)]()-0x1});_0x432844['id']=_0x20d13a(),_0x432844[_0x5e2a5c(0x287)]=_0x25e2d4['generateNewSheetName'](''+_0x4bcaa6['t'](_0x5e2a5c(0x266)));const _0x228522={'index':_0x1b12b9,'sheet':_0x432844,'unitId':_0x3fb059},{redos:_0x48ee83}=me(_0x179f91,{'pivotTableId':_0x1ebf71,'unitId':_0x3fb059,'subUnitId':_0x432844['id']},_0x18f6d1),_0x486b38=[{'id':_0x28348d['id'],'params':_0x228522},{'id':Ct['id'],'params':{'unitId':_0x3fb059,'subUnitId':_0x432844['id'],'pivotTableId':_0x1ebf71,'pivotTableConfig':{'isEmpty':_0x116725,'fieldsConfig':_0x50597a,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x3fb059,'subUnitId':_0x432844['id']},'sourceRangeInfo':{'subUnitId':_0x3f79d3,'unitId':_0x3fb059,'range':_0x37ca40,'sheetName':_0x35ba4d[_0x5e2a5c(0x3cf)]()}},'collectionConfig':_0x5ed2db}},..._0x48ee83];return _0x3cd50c(_0x486b38,_0x179f91),!0x0;}},ps={'type':_0x46c529[_0x106979(0x2c5)],'id':_0x106979(0x28c),async 'handler'(_0x5f19b9,_0x2df56c){const _0xd84933=_0x106979;var _0x5115d0,_0x490edd;const _0x1cbb51=_0x5f19b9[_0xd84933(0x335)](_0x5993ab),_0x5ba81d=_0x5f19b9[_0xd84933(0x335)](_0x5104e9),_0x4dd9de=_0x5f19b9[_0xd84933(0x335)](_0x3d09ef),_0x4c7c77=_0x5f19b9[_0xd84933(0x335)](Q),_0x3b4f87=_0x5f19b9['get'](_0x5a78f4),_0x272b4d=_0x5f19b9[_0xd84933(0x335)](ve),_0x4770da=_0x5f19b9[_0xd84933(0x335)](_0x2086c7);if(!_0x2df56c)return!0x1;const {pivotTableConfig:_0x18448c,positionType:_0x1d28c1}=_0x2df56c,{targetCellInfo:_0x3723d7,sourceRangeInfo:_0x44ffce}=_0x18448c,{unitId:_0x56113b,subUnitId:_0x30b818}=_0x3723d7,_0xf07b30=_0x5ba81d[_0xd84933(0x290)](_0x56113b);if(!_0xf07b30)return!0x1;let _0x5539f7=0x0;_0xf07b30['getSheets']()['forEach'](_0x5b6ae0=>{const _0x4a0221=_0xd84933;var _0xf031d9,_0x140729;_0x5539f7+=(_0x140729=(_0xf031d9=_0x272b4d[_0x4a0221(0x432)](_0x56113b,_0x5b6ae0[_0x4a0221(0x2bd)]()))==null?void 0x0:_0xf031d9[_0x4a0221(0x387)])!=null?_0x140729:0x0;});const _0x793a0d=(_0x5115d0=_0x4770da[_0xd84933(0x1b4)](_0x294254))!=null?_0x5115d0:{},{ls:_0x4c065e,pbk:_0x3390ab}=_0x793a0d;if(!Ho(_0x4c065e,_0x3390ab))return!0x1;const _0x32b4a6=go(so,_0x4c065e,_0x3390ab)[_0xd84933(0x407)];if(_0x5539f7>=_0x32b4a6)return!0x1;const _0x3b4031=_0x2df56c['pivotTableId']||_0x5c7b71(0x8),_0x47fe18=(await _0x4c7c77[_0xd84933(0x39f)]({'unitId':_0x56113b,'subUnitId':_0x30b818,'pivotTableId':_0x3b4031,'params':{'type':k[_0xd84933(0x3b7)],'addPivotTable':{'sourceRangeInfo':_0x44ffce,'pivotTableId':_0x3b4031}}}))[_0xd84933(0x1e3)]['addPivotTable'];if(!_0x47fe18)return!0x1;const {view:_0x3ae5eb,isEmpty:_0x3ac297,fieldsConfig:_0x67761,collectionConfig:_0x3ef358}=_0x47fe18,_0x4e8cc1=[],_0x41caa4=[];if(_0x1d28c1===Bo[_0xd84933(0x2ee)]){const _0x1f1597=_0xf07b30[_0xd84933(0x27b)]()[_0xd84933(0x1e7)],_0x1b8e2a=_0x390466({});_0x1b8e2a['id']=_0x18448c[_0xd84933(0x1a9)]['subUnitId'],_0x1b8e2a[_0xd84933(0x287)]=(_0x490edd=_0x18448c[_0xd84933(0x1a9)]['sheetName'])!=null?_0x490edd:_0xf07b30[_0xd84933(0x303)](''+_0x4dd9de['t'](_0xd84933(0x266)));const _0x4384e8={'index':_0x1f1597,'sheet':_0x1b8e2a,'unitId':_0x56113b},_0x35d20c=_0x4d5165(_0x5f19b9,_0x4384e8);_0x4e8cc1[_0xd84933(0x32d)]({'id':_0x399d57['id'],'params':_0x35d20c}),_0x41caa4[_0xd84933(0x32d)]({'id':_0x51ea25['id'],'params':_0x4384e8});}else{if(!_0xf07b30[_0xd84933(0x241)](_0x30b818))return!0x1;const _0x1d8ad1=we(_0x5f19b9,new _0x4904e9(),_0x3723d7,!0x0);_0x41caa4[_0xd84933(0x32d)](..._0x1d8ad1['redos']),_0x4e8cc1[_0xd84933(0x32d)](..._0x1d8ad1['undos']);const _0x26a3a9={'cellInfo':_0x3723d7,'view':_0x3ae5eb,'isEmpty':_0x3ac297};if(!await _0x5f19b9[_0xd84933(0x335)](ie)[_0xd84933(0x291)][_0xd84933(0x2b9)](be)(!0x0,_0x26a3a9))return!0x1;const _0x45c57d=_e(_0x5f19b9,_0x26a3a9);_0x41caa4[_0xd84933(0x32d)](..._0x45c57d['redos']),_0x4e8cc1[_0xd84933(0x32d)](..._0x45c57d[_0xd84933(0x3e7)]);}return _0x41caa4['push']({'id':Ct['id'],'params':{'unitId':_0x3723d7[_0xd84933(0x20a)],'subUnitId':_0x3723d7[_0xd84933(0x409)],'pivotTableId':_0x3b4031,'pivotTableConfig':{'targetCellInfo':_0x3723d7,'sourceRangeInfo':_0x44ffce,'fieldsConfig':_0x67761},'collectionConfig':_0x3ef358}}),_0x4e8cc1[_0xd84933(0x28f)]({'id':xt['id'],'params':{'unitId':_0x56113b,'subUnitId':_0x30b818,'pivotTableId':_0x3b4031}}),_0x3cd50c(_0x41caa4,_0x1cbb51)&&_0x3b4f87['pushUndoRedo']({'unitID':_0x56113b,'undoMutations':_0x4e8cc1,'redoMutations':_0x41caa4}),!0x0;}},ms={'type':_0x46c529['COMMAND'],'id':_0x106979(0x2ba),async 'handler'(_0x24c275,_0x532f88){const _0x566fe9=_0x106979;if(!_0x532f88)return!0x1;const _0x433fca=_0x24c275[_0x566fe9(0x335)](_0x5993ab),_0xe56f5c=_0x24c275['get'](Q),_0x347131=_0x24c275[_0x566fe9(0x335)](_0x5a78f4),{pivotTableId:_0x5b198c,fieldId:_0xb1e08e,area:_0x367c4b,index:_0x4bce98,unitId:_0x59acf8,subUnitId:_0x423edd}=_0x532f88,_0x48b1a7=(await _0xe56f5c[_0x566fe9(0x39f)]({'unitId':_0x59acf8,'subUnitId':_0x423edd,'pivotTableId':_0x5b198c,'params':{'type':k['MovePivotField'],'movePivotField':{'fieldId':_0xb1e08e,'area':_0x367c4b,'index':_0x4bce98}}}))[_0x566fe9(0x1e3)][_0x566fe9(0x366)];if(!_0x48b1a7)return!0x1;const {changesets:_0x2171a2,view:_0x432f76,isEmpty:_0x11325e,pivotTableConfig:_0xced2a1}=_0x48b1a7,_0x186599=_0xced2a1[_0x566fe9(0x1a9)],_0x3a4a02=new _0x4904e9();_0x3a4a02[_0x566fe9(0x306)](_0x432f76);const _0x2f4905={'cellInfo':_0x186599,'view':_0x3a4a02,'isEmpty':_0x11325e};if(!await _0x24c275[_0x566fe9(0x335)](ie)[_0x566fe9(0x291)][_0x566fe9(0x2b9)](be)(!0x0,_0x2f4905))return!0x1;const _0x5c0a68=we(_0x24c275,_0x3a4a02,_0x186599,_0x11325e),_0x1bf605=_e(_0x24c275,_0x2f4905),{redos:_0x3af6fc,undos:_0x109efe}=me(_0x433fca,{'pivotTableId':_0x5b198c,'unitId':_0x59acf8,'subUnitId':_0x423edd},_0x2171a2);return _0x3cd50c([..._0x5c0a68[_0x566fe9(0x402)],..._0x1bf605[_0x566fe9(0x402)],..._0x3af6fc],_0x433fca),_0x347131[_0x566fe9(0x1fe)]({'unitID':_0x59acf8,'redoMutations':[..._0x5c0a68[_0x566fe9(0x402)],..._0x1bf605[_0x566fe9(0x402)],..._0x3af6fc],'undoMutations':[..._0x5c0a68[_0x566fe9(0x3e7)],..._0x1bf605[_0x566fe9(0x3e7)],..._0x109efe]}),!0x0;}},Is={'type':_0x46c529[_0x106979(0x2c5)],'id':_0x106979(0x32f),async 'handler'(_0x579bc0,_0x3c587c){const _0x145c34=_0x106979;var _0x5a4114;if(!_0x3c587c)return!0x1;const _0x1027d5=_0x579bc0[_0x145c34(0x335)](_0x5104e9),_0x250856=_0x3f65ca(_0x1027d5);if(!_0x250856)return!0x1;const {unitId:_0x2d514c,subUnitId:_0x38847f,workbook:_0x2476c7}=_0x250856,{row:_0x214cec,col:_0x146a46}=_0x3c587c,_0x3c8783=_0x579bc0[_0x145c34(0x335)](Ve),_0x2828a5=_0x3c8783['getPivotTableIdByCell'](_0x2d514c,_0x38847f,_0x214cec,_0x146a46);if(!_0x2828a5)return!0x1;const _0x1e7172=(_0x5a4114=_0x3c8783['getPivotItemRenderInfoCache'](_0x2d514c,_0x38847f,_0x2828a5))==null?void 0x0:_0x5a4114[_0x145c34(0x2c8)];if(!_0x1e7172)return!0x1;const _0x336bea=_0x579bc0[_0x145c34(0x335)](ve)[_0x145c34(0x2db)](_0x2d514c,_0x38847f,_0x2828a5);if(!_0x336bea)return!0x1;const {rowInfo:_0x1735f3,colInfo:_0x51732b}=_0x1e7172,_0x377e61=_0x1735f3[_0x214cec]['paths'],_0x17e004=_0x51732b[_0x146a46][_0x145c34(0x32e)],_0x100e03=_0x1735f3[_0x214cec][_0x145c34(0x398)],_0x221e16=_0x51732b[_0x146a46]['level'],_0x4a0952=_0x377e61['concat'](_0x17e004),_0x6a47bc=_0x336bea[_0x145c34(0x2da)]['rowFields'][_0x145c34(0x36c)](0x0,_0x100e03),_0x5d9edf=_0x336bea[_0x145c34(0x2da)][_0x145c34(0x1b3)]['slice'](0x0,_0x221e16),_0x1c09f2=_0x6a47bc[_0x145c34(0x1fd)](_0x5d9edf),_0x5dd3a4=_0x4a0952['map']((_0x15bd99,_0x324fe3)=>[_0x15bd99,_0x1c09f2[_0x324fe3]]),_0x2d8d1d=(await _0x579bc0[_0x145c34(0x335)](Q)[_0x145c34(0x39f)]({'unitId':_0x2d514c,'subUnitId':_0x38847f,'pivotTableId':_0x2828a5,'params':{'type':k['DrillDown'],'drillDown':{'tuple':_0x5dd3a4}}}))[_0x145c34(0x1e3)][_0x145c34(0x3fd)];if(!_0x2d8d1d)return!0x1;const {indexes:_0x5eed8c,range:_0x4b0931,sourceUnitId:_0x485b71,sourceSubUnitId:_0x6678bb,formatMap:_0xdf1c49}=_0x2d8d1d,{startRow:_0x50cd80,endRow:_0x2fea4f,startColumn:_0x23bdae,endColumn:_0x3b225c}=_0x4b0931,_0x38b1bb=new _0xea1b6e(),_0x109ce7=_0x2fea4f-_0x50cd80,_0x5cda88=_0x3b225c-_0x23bdae,_0x577764={},_0x397baa=_0x3f65ca(_0x1027d5,{'unitId':_0x485b71,'subUnitId':_0x6678bb});if(!_0x397baa)return!0x1;const _0x19c86b=fe[_0x145c34(0x2dc)],_0x5ded1b=fe[_0x145c34(0x35a)],_0x36d558=fe['subTotalStyle'],_0x31d291=_0x2476c7['getStyles']()['setValue'](_0x19c86b),_0x415dfb=_0x2476c7[_0x145c34(0x393)]()[_0x145c34(0x3aa)](_0x5ded1b),_0x551121=_0x2476c7[_0x145c34(0x393)]()[_0x145c34(0x3aa)](_0x36d558),{worksheet:_0x5d0124}=_0x397baa;let _0x1a4d18=0x0;const _0x3e7f08=0x1;_0x5eed8c[_0x145c34(0x3ec)](_0x403bee=>{const _0x3f6ccd=_0x145c34;for(let _0x3fa0c2=0x0;_0x3fa0c2<=_0x3b225c-_0x23bdae;_0x3fa0c2++)_0x38b1bb['setValue'](_0x1a4d18,_0x3fa0c2,_0x5d0124[_0x3f6ccd(0x304)](_0x403bee+_0x4b0931[_0x3f6ccd(0x308)]+_0x3e7f08,_0x3fa0c2));_0x1a4d18++;});for(let _0x407f94=_0x23bdae;_0x407f94<=_0x3b225c;_0x407f94++){const _0x3d3506=_0x5d0124[_0x145c34(0x304)](_0x50cd80,_0x407f94);_0x577764[_0x50cd80]||(_0x577764[_0x50cd80]={}),_0x577764[_0x50cd80][_0x407f94]={..._0x3d3506,'s':_0x31d291};}let _0x510f80=0x1;const _0x2934b4={},_0x160b10={};_0x38b1bb[_0x145c34(0x3c9)]((_0x55282a,_0x52efd6)=>{const _0xd91f98=_0x145c34;_0x52efd6[_0xd91f98(0x3ec)](_0x2ea4a6=>{const _0x56bb52=_0xd91f98,_0x37ebf0=_0x38b1bb[_0x56bb52(0x3a7)](_0x55282a,_0x2ea4a6);if(_0x577764[_0x510f80]||(_0x577764[_0x510f80]={}),_0x577764[_0x510f80][_0x2ea4a6]={..._0x37ebf0,'s':_0x510f80%0x2===0x0?_0x551121:_0x415dfb},_0xdf1c49[_0x2ea4a6]&&_0x55282a>=0x0){const _0x249ac4=_0x510f80%0x2===0x0;let _0xbe0d55=_0x249ac4?_0x160b10[_0x2ea4a6]:_0x2934b4[_0x2ea4a6];_0xbe0d55||(_0xbe0d55=_0x2476c7[_0x56bb52(0x393)]()[_0x56bb52(0x3aa)]({..._0x249ac4?_0x36d558:_0x5ded1b,'n':{'pattern':_0xdf1c49[_0x2ea4a6]}}),_0x249ac4?_0x160b10[_0x2ea4a6]=_0xbe0d55:_0x2934b4[_0x2ea4a6]=_0xbe0d55),_0x577764[_0x510f80][_0x2ea4a6]['s']=_0xbe0d55;}}),_0x510f80++;});const _0x2f4cc2=new _0xea1b6e(_0x577764),_0x1ab3af={};_0x2f4cc2[_0x145c34(0x2b1)]((_0x5e270b,_0x263fd5,_0x10083d)=>{_0x1ab3af[_0x5e270b]||(_0x1ab3af[_0x5e270b]={}),_0x1ab3af[_0x5e270b][_0x263fd5]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x1b105f=[],_0x51feba=[],_0x273453=_0x2476c7[_0x145c34(0x27b)]()[_0x145c34(0x1e7)],_0x181c07=_0x390466({'rowCount':Math[_0x145c34(0x371)](_0x1a4629,_0x109ce7+0xa),'columnCount':Math[_0x145c34(0x371)](_0x346e29,_0x5cda88+0x5)}),_0x22ab14=_0x579bc0[_0x145c34(0x335)](_0x3d09ef);_0x181c07['id']=_0x20d13a(),_0x181c07[_0x145c34(0x287)]=_0x2476c7[_0x145c34(0x303)](''+_0x22ab14['t'](_0x145c34(0x266)));const _0x287c68={'index':_0x273453,'sheet':_0x181c07,'unitId':_0x2d514c},_0x31229c=_0x4d5165(_0x579bc0,_0x287c68);_0x51feba['push']({'id':_0x51ea25['id'],'params':_0x287c68}),_0x1b105f['push']({'id':_0x399d57['id'],'params':_0x31229c}),_0x51feba[_0x145c34(0x32d)]({'id':_0x23eee1['id'],'params':{'unitId':_0x2d514c,'subUnitId':_0x181c07['id'],'cellValue':_0x577764}}),_0x1b105f[_0x145c34(0x28f)]({'id':_0x23eee1['id'],'params':{'unitId':_0x2d514c,'subUnitId':_0x181c07['id'],'cellValue':_0x1ab3af}});const _0x520b87={'startRow':0x0,'startColumn':0x0,'endRow':_0x510f80-0x1,'endColumn':_0x3b225c};_0x51feba['push']({'id':_0x43fed7['id'],'params':{'unitId':_0x2d514c,'subUnitId':_0x181c07['id'],'range':_0x520b87}}),_0x1b105f[_0x145c34(0x28f)]({'id':_0x35f22f['id'],'params':{'unitId':_0x2d514c,'subUnitId':_0x181c07['id']}});const _0x208e22=_0x579bc0['get'](_0x5993ab);return _0x3cd50c(_0x51feba,_0x208e22)&&_0x579bc0['get'](_0x5a78f4)['pushUndoRedo']({'unitID':_0x2d514c,'undoMutations':_0x1b105f,'redoMutations':_0x51feba}),!0x0;}},Cs={'type':_0x46c529[_0x106979(0x2c5)],'id':_0x106979(0x1d0),async 'handler'(_0x5e5f42,_0x50c5e1){const _0x2628ca=_0x106979;if(!_0x50c5e1)return!0x1;const _0x1350fd=_0x5e5f42[_0x2628ca(0x335)](_0x5993ab),_0x2b97a9=_0x5e5f42[_0x2628ca(0x335)](Q),_0x56db1b=_0x5e5f42[_0x2628ca(0x335)](_0x5a78f4),{pivotTableId:_0x2d590f,fieldIds:_0x4139de,unitId:_0x2bb355,subUnitId:_0x3b3064}=_0x50c5e1,_0x4e03c4=(await _0x2b97a9['getPivotDisplayConfig']({'unitId':_0x2bb355,'subUnitId':_0x3b3064,'pivotTableId':_0x2d590f,'params':{'type':k[_0x2628ca(0x3e9)],'removePivotField':{'fieldIds':_0x4139de}}}))[_0x2628ca(0x1e3)][_0x2628ca(0x1f6)];if(!_0x4e03c4)return!0x1;const {view:_0x3c811a,changesets:_0x13f544,isEmpty:_0x36bffd,pivotTableConfig:_0x2a8c24}=_0x4e03c4,_0x1bad7a=_0x2a8c24[_0x2628ca(0x1a9)],_0x59cf98=new _0x4904e9();_0x59cf98[_0x2628ca(0x306)](_0x3c811a);const _0x1ab3ac={'cellInfo':_0x1bad7a,'view':_0x59cf98,'isEmpty':_0x36bffd};if(!await _0x5e5f42[_0x2628ca(0x335)](ie)[_0x2628ca(0x291)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x1ab3ac))return!0x1;const _0x10161b=we(_0x5e5f42,_0x59cf98,_0x1bad7a,_0x36bffd),_0x20b8e1=_e(_0x5e5f42,_0x1ab3ac),{redos:_0x22308f,undos:_0xb47435}=me(_0x1350fd,{'pivotTableId':_0x2d590f,'unitId':_0x2bb355,'subUnitId':_0x3b3064},_0x13f544);return _0x3cd50c([..._0x10161b[_0x2628ca(0x402)],..._0x20b8e1[_0x2628ca(0x402)],..._0x22308f],_0x1350fd),_0x56db1b[_0x2628ca(0x1fe)]({'unitID':_0x2bb355,'redoMutations':[..._0x10161b[_0x2628ca(0x402)],..._0x20b8e1[_0x2628ca(0x402)],..._0x22308f],'undoMutations':[..._0x10161b['undos'],..._0x20b8e1[_0x2628ca(0x3e7)],..._0xb47435]}),!0x0;}},bs={'type':_0x46c529['COMMAND'],'id':_0x106979(0x1df),async 'handler'(_0x2b6b60,_0xf8c87f){const _0x22fd99=_0x106979;var _0x54317c;const _0x51bbf5=_0x2b6b60[_0x22fd99(0x335)](_0x5993ab),_0x59281e=_0x2b6b60[_0x22fd99(0x335)](Q),_0x49daf6=_0x2b6b60['get'](Ve),_0xa0200e=_0x2b6b60['get'](_0x5104e9),_0x182810=_0x2b6b60['get'](_0x5a78f4);if(!_0xf8c87f)return!0x1;const {unitId:_0x275305,subUnitId:_0x3f17a5,row:_0x1df8fb,col:_0x23f886,collapse:_0xc00ebb}=_0xf8c87f,_0x9d8fb1=_0xa0200e[_0x22fd99(0x290)](_0x275305);if(!_0x9d8fb1||!_0x9d8fb1[_0x22fd99(0x241)](_0x3f17a5))return!0x1;const _0x14e763=_0x49daf6[_0x22fd99(0x30d)](_0x275305,_0x3f17a5,_0x1df8fb,_0x23f886);if(!_0x14e763)return!0x1;const _0xbd88dc=_0x49daf6['getPivotItemRenderInfoCache'](_0x275305,_0x3f17a5,_0x14e763);if(!_0xbd88dc)return!0x1;const _0x4fc534=_0x2adf2b(_0x1df8fb,_0x23f886),{rangesInfo:_0x4cdb81,areaInfo:_0x1494fc,headerMap:_0x2cb38b}=_0xbd88dc;if(!_0x4cdb81||!_0x1494fc||!_0x2cb38b)return!0x1;const _0x3a08b0=Object['keys'](_0x4cdb81)[_0x22fd99(0x365)](_0x2cf2b9=>_0x4cdb81[_0x2cf2b9][_0x22fd99(0x24e)](_0x352ca2=>_0x5dcab['contains'](_0x352ca2,_0x4fc534)));let _0xd1d868;_0x3a08b0===_0x22fd99(0x2f4)?_0xd1d868=_0x2cb38b['rowHeaderMap'][_0x23f886]:_0x3a08b0===_0x22fd99(0x380)&&(_0xd1d868=_0x2cb38b[_0x22fd99(0x41e)][_0x1df8fb]);const _0x128d48=_0xd1d868==null?void 0x0:_0xd1d868[_0x22fd99(0x30a)],_0x2f2356=(_0x54317c=_0x49daf6[_0x22fd99(0x22c)](_0x275305,_0x3f17a5,_0x1df8fb,_0x23f886))==null?void 0x0:_0x54317c['v'];if(_0x2f2356==null||!_0x14e763||!_0x128d48)return!0x1;const _0x2b7429=await _0x59281e[_0x22fd99(0x39f)]({'unitId':_0x275305,'subUnitId':_0x3f17a5,'pivotTableId':_0x14e763,'params':{'type':k[_0x22fd99(0x283)],'setPivotCollapse':{'tableFieldId':_0x128d48,'collapse':_0xc00ebb,'item':_0x2f2356}}}),_0x396ff8=_0x2b7429==null?void 0x0:_0x2b7429[_0x22fd99(0x1e3)][_0x22fd99(0x22a)];if(!_0x396ff8)return!0x1;const {view:_0x48362a,pivotTableConfig:_0x5c45c7,isEmpty:_0x11955d,changesets:_0x1194bd}=_0x396ff8,_0x4066ad=new _0x4904e9();_0x4066ad[_0x22fd99(0x306)](_0x48362a);const _0x2e500d=_0x5c45c7[_0x22fd99(0x1a9)],_0x476da7={'cellInfo':_0x2e500d,'view':_0x4066ad,'isEmpty':_0x11955d};if(!await _0x2b6b60[_0x22fd99(0x335)](ie)[_0x22fd99(0x291)][_0x22fd99(0x2b9)](be)(!0x0,_0x476da7))return!0x1;const _0x60e339=we(_0x2b6b60,_0x4066ad,_0x2e500d,_0x11955d),_0x242353=_e(_0x2b6b60,_0x476da7),{redos:_0x220de6,undos:_0x321f03}=me(_0x51bbf5,{'pivotTableId':_0x14e763,'unitId':_0x275305,'subUnitId':_0x3f17a5},_0x1194bd);return _0x3cd50c([..._0x60e339[_0x22fd99(0x402)],..._0x242353[_0x22fd99(0x402)],..._0x220de6],_0x51bbf5),_0x182810[_0x22fd99(0x1fe)]({'unitID':_0x275305,'redoMutations':[..._0x60e339[_0x22fd99(0x402)],..._0x242353[_0x22fd99(0x402)],..._0x220de6],'undoMutations':[..._0x60e339[_0x22fd99(0x3e7)],..._0x242353[_0x22fd99(0x3e7)],..._0x321f03]}),!0x0;}},Ps={'type':_0x46c529[_0x106979(0x2c5)],'id':_0x106979(0x21f),async 'handler'(_0x327427,_0x2d3166){const _0x417001=_0x106979;if(!_0x2d3166)return!0x1;const _0x56eb54=_0x327427[_0x417001(0x335)](_0x5993ab),{pivotTableId:_0x566289,tableFieldId:_0x592878,items:_0x784f5e,unitId:_0x26a91b,subUnitId:_0x55a6a7,isAll:_0x4659a8}=_0x2d3166,_0x50b355=_0x327427[_0x417001(0x335)](Q),_0x43c9a8=_0x327427['get'](_0x5a78f4),_0x1cf179=(await _0x50b355[_0x417001(0x39f)]({'unitId':_0x26a91b,'subUnitId':_0x55a6a7,'pivotTableId':_0x566289,'params':{'type':k[_0x417001(0x3fc)],'setPivotFilter':{'tableFieldId':_0x592878,'items':_0x784f5e,'isAll':_0x4659a8}}}))[_0x417001(0x1e3)][_0x417001(0x40f)];if(!_0x1cf179)return!0x1;const {changesets:_0x1f17e1,pivotTableConfig:_0x438e9f,isEmpty:_0x5ea9d1,view:_0x2677d6}=_0x1cf179,_0x8c262d=_0x438e9f[_0x417001(0x1a9)],_0x4c4e02=new _0x4904e9();_0x4c4e02[_0x417001(0x306)](_0x2677d6);const _0x3e9eb0={'cellInfo':_0x8c262d,'view':_0x4c4e02,'isEmpty':_0x5ea9d1};if(!await _0x327427[_0x417001(0x335)](ie)[_0x417001(0x291)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x3e9eb0))return!0x1;const _0xece500=we(_0x327427,_0x4c4e02,_0x8c262d,_0x5ea9d1),_0x1fc6a0=_e(_0x327427,_0x3e9eb0),{undos:_0x3b9119,redos:_0x156ae1}=me(_0x56eb54,{'pivotTableId':_0x566289,'unitId':_0x26a91b,'subUnitId':_0x55a6a7},_0x1f17e1);return _0x3cd50c([..._0xece500[_0x417001(0x402)],..._0x1fc6a0[_0x417001(0x402)],..._0x156ae1],_0x56eb54),_0x43c9a8[_0x417001(0x1fe)]({'unitID':_0x26a91b,'redoMutations':[..._0xece500[_0x417001(0x402)],..._0x1fc6a0[_0x417001(0x402)],..._0x156ae1],'undoMutations':[..._0xece500[_0x417001(0x3e7)],..._0x1fc6a0[_0x417001(0x3e7)],..._0x3b9119]}),!0x0;}},Ss={'type':_0x46c529[_0x106979(0x2c5)],'id':_0x106979(0x249),async 'handler'(_0x1f3a1f,_0x2e920d){const _0x157369=_0x106979;if(!_0x2e920d)return!0x1;const _0x3437a2=_0x1f3a1f[_0x157369(0x335)](_0x5993ab),_0x8f28f9=_0x1f3a1f['get'](_0x5a78f4),_0x52cade=_0x1f3a1f['get'](Q),{info:_0x207e23,tableFieldId:_0x43d5e8,pivotTableId:_0x5a3253,unitId:_0x4bf873,subUnitId:_0x157e40}=_0x2e920d,_0x172113=(await _0x52cade[_0x157369(0x39f)]({'unitId':_0x4bf873,'subUnitId':_0x157e40,'pivotTableId':_0x5a3253,'params':{'type':k['SetPivotSort'],'setPivotSort':{'tableFieldId':_0x43d5e8,'info':_0x207e23}}}))[_0x157369(0x1e3)]['setPivotSort'];if(!_0x172113)return!0x1;const {changesets:_0x28d01c}=_0x172113,{redos:_0x261e90,undos:_0x59a7ec}=me(_0x3437a2,{'pivotTableId':_0x5a3253,'unitId':_0x4bf873,'subUnitId':_0x157e40},_0x28d01c);return _0x3cd50c(_0x261e90,_0x3437a2),_0x8f28f9[_0x157369(0x1fe)]({'unitID':_0x4bf873,'redoMutations':_0x261e90,'undoMutations':_0x59a7ec}),!0x0;}},Ts={'type':_0x46c529[_0x106979(0x2c5)],'id':_0x106979(0x35f),async 'handler'(_0x2747ba,_0x2c9f62){const _0x48ecbb=_0x106979;if(!_0x2c9f62)return!0x1;const _0x2573f8=_0x2747ba[_0x48ecbb(0x335)](_0x5993ab),_0x43e47a=_0x2747ba[_0x48ecbb(0x335)](_0x5a78f4),_0x40a7bf=_0x2747ba[_0x48ecbb(0x335)](Q),{displayName:_0x575b7c,subtotalType:_0x4e590a,format:_0x68c87e,tableFieldId:_0x2e5c1f,pivotTableId:_0x4489b7,unitId:_0x393ec7,subUnitId:_0xd99c06}=_0x2c9f62,_0x38fe54=(await _0x40a7bf[_0x48ecbb(0x39f)]({'unitId':_0x393ec7,'subUnitId':_0xd99c06,'pivotTableId':_0x4489b7,'params':{'type':k['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x2e5c1f,'displayName':_0x575b7c,'subtotalType':_0x4e590a,'format':_0x68c87e}}}))[_0x48ecbb(0x1e3)][_0x48ecbb(0x3d5)];if(!_0x38fe54)return!0x1;const {changesets:_0x14e347,view:_0x1583a4,pivotTableConfig:_0x20e0b5,isEmpty:_0x46c13e}=_0x38fe54,_0x146d11=_0x20e0b5[_0x48ecbb(0x1a9)],_0x42a18c=new _0x4904e9();_0x42a18c['formJSON'](_0x1583a4);const _0x3433b5={'cellInfo':_0x146d11,'view':_0x42a18c,'isEmpty':_0x46c13e};if(!await _0x2747ba[_0x48ecbb(0x335)](ie)[_0x48ecbb(0x291)][_0x48ecbb(0x2b9)](be)(!0x0,_0x3433b5))return!0x1;const _0x472802=we(_0x2747ba,_0x42a18c,_0x146d11,_0x46c13e),_0x3eecb1=_e(_0x2747ba,_0x3433b5),{undos:_0x40d763,redos:_0x15347b}=me(_0x2573f8,{'pivotTableId':_0x4489b7,'unitId':_0x393ec7,'subUnitId':_0xd99c06},_0x14e347);return _0x3cd50c([..._0x472802[_0x48ecbb(0x402)],..._0x3eecb1[_0x48ecbb(0x402)],..._0x15347b],_0x2573f8),_0x43e47a[_0x48ecbb(0x1fe)]({'unitID':_0x393ec7,'redoMutations':[..._0x472802['redos'],..._0x3eecb1[_0x48ecbb(0x402)],..._0x15347b],'undoMutations':[..._0x472802[_0x48ecbb(0x3e7)],..._0x3eecb1[_0x48ecbb(0x3e7)],..._0x40d763]}),!0x0;}},ys={'type':_0x46c529['COMMAND'],'id':_0x106979(0x217),async 'handler'(_0x2041cf,_0x287c87){const _0x2868be=_0x106979,_0x2ce950=_0x2041cf[_0x2868be(0x335)](_0x5993ab),_0x979576=_0x2041cf['get'](Q),_0x1a276c=_0x2041cf[_0x2868be(0x335)](_0x5a78f4);if(!_0x287c87)return!0x1;const {token:_0x429bb2,dataRangeInfo:_0x2fac4b,unitId:_0x154c9b,subUnitId:_0x399869}=_0x287c87,_0x36f600=[],_0x15a542=[],_0x5446a6=(await _0x979576[_0x2868be(0x39f)]({'unitId':_0x154c9b,'subUnitId':_0x399869,'pivotTableId':_0x429bb2,'params':{'type':k[_0x2868be(0x269)],'updatePivotSource':{'dataRangeInfo':_0x2fac4b,'unitId':_0x154c9b,'subUnitId':_0x399869}}}))[_0x2868be(0x1e3)][_0x2868be(0x3ea)];if(!_0x5446a6)return!0x1;const {changesets:_0x450e1e,deleteIds:_0x30a40b,collectionConfig:_0x393c82,oldCollectionConfig:_0x4754fd,view:_0x2be398,isEmpty:_0x249c10,pivotTableConfig:_0x12d239}=_0x5446a6;_0x15a542[_0x2868be(0x32d)]({'id':to['id'],'params':{'pivotTableId':_0x429bb2,'deleteIds':_0x30a40b,'collectionJSON':_0x393c82,'dataRangeInfo':_0x2fac4b,'unitId':_0x154c9b,'subUnitId':_0x399869}}),_0x36f600[_0x2868be(0x28f)]({'id':to['id'],'params':{'pivotTableId':_0x429bb2,'deleteIds':[],'collectionJSON':_0x4754fd,'dataRangeInfo':_0x12d239[_0x2868be(0x1a7)],'unitId':_0x154c9b,'subUnitId':_0x399869}});const _0x3c7700=_0x12d239['targetCellInfo'],_0x3fdda8=new _0x4904e9();_0x3fdda8[_0x2868be(0x306)](_0x2be398);const _0x11a58b={'cellInfo':_0x3c7700,'view':_0x3fdda8,'isEmpty':_0x249c10};if(!await _0x2041cf['get'](ie)[_0x2868be(0x291)][_0x2868be(0x2b9)](be)(!0x0,_0x11a58b))return!0x1;const _0x2f1fa0=we(_0x2041cf,_0x3fdda8,_0x3c7700,_0x249c10),_0x4084ed=_e(_0x2041cf,_0x11a58b),{undos:_0x2df10b,redos:_0x2dd1c7}=me(_0x2ce950,{'pivotTableId':_0x429bb2,'unitId':_0x154c9b,'subUnitId':_0x399869},_0x450e1e);return _0x3cd50c([..._0x2f1fa0[_0x2868be(0x402)],..._0x4084ed['redos'],..._0x15a542,..._0x2df10b],_0x2ce950),_0x1a276c[_0x2868be(0x1fe)]({'unitID':_0x154c9b,'redoMutations':[..._0x2f1fa0[_0x2868be(0x402)],..._0x4084ed[_0x2868be(0x402)],..._0x15a542,..._0x2df10b],'undoMutations':[..._0x2f1fa0[_0x2868be(0x3e7)],..._0x4084ed[_0x2868be(0x3e7)],..._0x36f600,..._0x2dd1c7]}),!0x0;}},Ms={'type':_0x46c529[_0x106979(0x2c5)],'id':_0x106979(0x1e9),async 'handler'(_0x3682ef,_0x30574c){const _0x24ea55=_0x106979;if(!_0x30574c)return!0x1;const _0x47444c=_0x3682ef['get'](_0x5993ab),_0x5daeda=_0x3682ef[_0x24ea55(0x335)](Q),_0x354163=_0x3682ef['get'](_0x5104e9),_0x32e1ce=_0x3682ef[_0x24ea55(0x335)](_0x5a78f4),{pivotTableId:_0x1a617b,position:_0x45aea5,index:_0x720736}=_0x30574c,_0x22a145=_0x3f65ca(_0x354163);if(!_0x22a145)return!0x1;const {unitId:_0x21a7a9,subUnitId:_0x16a883}=_0x22a145,_0x3c4ad5=(await _0x5daeda[_0x24ea55(0x39f)]({'unitId':_0x21a7a9,'subUnitId':_0x16a883,'pivotTableId':_0x1a617b,'params':{'type':k[_0x24ea55(0x1e2)],'updateValuePosition':{'position':_0x45aea5,'index':_0x720736}}}))[_0x24ea55(0x1e3)][_0x24ea55(0x226)];if(!_0x3c4ad5)return!0x1;const {changesets:_0x4fb005,view:_0x36ca63,isEmpty:_0x56ada4,pivotTableConfig:_0x482b3e}=_0x3c4ad5,_0x3ecfb0=_0x482b3e[_0x24ea55(0x1a9)],_0x531395=new _0x4904e9();_0x531395[_0x24ea55(0x306)](_0x36ca63);const _0x212b1c=_0x3682ef[_0x24ea55(0x335)](ie),_0x183d67={'cellInfo':_0x3ecfb0,'view':_0x531395,'isEmpty':_0x56ada4};if(!await _0x212b1c[_0x24ea55(0x291)][_0x24ea55(0x2b9)](be)(!0x0,_0x183d67))return!0x1;const _0x2c0da=we(_0x3682ef,_0x531395,_0x3ecfb0,_0x56ada4),_0x36c172=_e(_0x3682ef,_0x183d67),{undos:_0x1e8f88,redos:_0x5e4a12}=me(_0x47444c,{'pivotTableId':_0x1a617b,'unitId':_0x21a7a9,'subUnitId':_0x16a883},_0x4fb005);return _0x3cd50c([..._0x2c0da['redos'],..._0x36c172[_0x24ea55(0x402)],..._0x5e4a12],_0x47444c),_0x32e1ce[_0x24ea55(0x1fe)]({'unitID':_0x21a7a9,'redoMutations':[..._0x2c0da[_0x24ea55(0x402)],..._0x36c172[_0x24ea55(0x402)],..._0x5e4a12],'undoMutations':[..._0x2c0da[_0x24ea55(0x3e7)],..._0x36c172[_0x24ea55(0x3e7)],..._0x1e8f88]}),!0x0;}},ws={'type':_0x46c529[_0x106979(0x2c5)],'id':_0x106979(0x395),'handler':(_0x4771f1,_0x73190c)=>{const _0x5bea2d=_0x106979,_0xcba2b5=_0x4771f1['get'](_0x5993ab),_0x4cb0c6=_0x4771f1['get'](_0x5a78f4),_0x2922f9=_0x4771f1['get'](ve),_0x3e534c=_0x4771f1[_0x5bea2d(0x335)](_0x5104e9);if(!_0x73190c)return!0x1;const _0x1fa549=_0x3f65ca(_0x3e534c);if(!_0x1fa549)return!0x1;const {unitId:_0x1386fa,subUnitId:_0x5efa54,workbook:_0x55bf4f}=_0x1fa549,_0x3cb82b=_0x2922f9[_0x5bea2d(0x2db)](_0x73190c[_0x5bea2d(0x1ff)]['unitId'],_0x73190c[_0x5bea2d(0x1ff)][_0x5bea2d(0x409)],_0x73190c['pivotTableId']);if(!_0x3cb82b)return!0x1;const _0x4d8f6a=_0x55bf4f[_0x5bea2d(0x241)](_0x73190c[_0x5bea2d(0x1a9)][_0x5bea2d(0x409)]);if(!_0x4d8f6a)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x5641b7=_0x4d8f6a[_0x5bea2d(0x1e6)](),_0x285d04=_0x4d8f6a[_0x5bea2d(0x268)]();if(_0x73190c[_0x5bea2d(0x1a9)][_0x5bea2d(0x3d0)]>_0x5641b7||_0x73190c[_0x5bea2d(0x1a9)][_0x5bea2d(0x3ab)]>_0x285d04)throw new Error(_0x5bea2d(0x425));const _0x3c97c4=[{'id':pt['id'],'params':{'unitId':_0x1386fa,'subUnitId':_0x73190c[_0x5bea2d(0x1a9)][_0x5bea2d(0x409)],'pivotTableId':_0x73190c[_0x5bea2d(0x2cc)],'targetCellPosition':{'row':_0x73190c[_0x5bea2d(0x1a9)]['row'],'col':_0x73190c[_0x5bea2d(0x1a9)][_0x5bea2d(0x3ab)]}}}],_0x48fcd9=[{'id':pt['id'],'params':{'unitId':_0x1386fa,'subUnitId':_0x5efa54,'pivotTableId':_0x73190c[_0x5bea2d(0x2cc)],'targetCellPosition':{'row':_0x3cb82b[_0x5bea2d(0x1a9)][_0x5bea2d(0x3d0)],'col':_0x3cb82b[_0x5bea2d(0x1a9)][_0x5bea2d(0x3ab)]}}}];return _0x3cd50c(_0x3c97c4,_0xcba2b5)&&_0x4cb0c6[_0x5bea2d(0x1fe)]({'unitID':_0x1386fa,'undoMutations':_0x48fcd9,'redoMutations':_0x3c97c4}),!0x0;}},_s={'type':_0x46c529[_0x106979(0x2c5)],'id':_0x106979(0x34d),async 'handler'(_0x5cfa10,_0x19ba43){const _0x261cf7=_0x106979;if(!_0x19ba43)return!0x1;const _0x4b0906=_0x5cfa10[_0x261cf7(0x335)](_0x5993ab),{pivotTableId:_0x276e80,fieldId:_0x89ef31,valueFilterInfo:_0x39e119,unitId:_0x599306,subUnitId:_0x1019e8}=_0x19ba43,_0x37a850=_0x5cfa10[_0x261cf7(0x335)](Q),_0x26d589=_0x5cfa10[_0x261cf7(0x335)](_0x5a78f4),_0x50ba38=(await _0x37a850['getPivotDisplayConfig']({'unitId':_0x599306,'subUnitId':_0x1019e8,'pivotTableId':_0x276e80,'params':{'type':k[_0x261cf7(0x33d)],'setValuePivotFilter':{'tableFieldId':_0x89ef31,'filterInfo':_0x39e119}}}))['result']['setValuePivotFilter'];if(!_0x50ba38)return!0x1;const {changesets:_0x51ad6f,pivotTableConfig:_0x7dfc16,isEmpty:_0x68a88a,view:_0x294725}=_0x50ba38,_0x16607e=_0x7dfc16['targetCellInfo'],_0x3c515d=new _0x4904e9();_0x3c515d[_0x261cf7(0x306)](_0x294725);const _0x19cafc={'cellInfo':_0x16607e,'view':_0x3c515d,'isEmpty':_0x68a88a};if(!await _0x5cfa10[_0x261cf7(0x335)](ie)[_0x261cf7(0x291)][_0x261cf7(0x2b9)](be)(!0x0,_0x19cafc))return!0x1;const _0x58cdf3=we(_0x5cfa10,_0x3c515d,_0x16607e,_0x68a88a),_0x5d59d1=_e(_0x5cfa10,_0x19cafc),{undos:_0x48e9d6,redos:_0x54ec00}=me(_0x4b0906,{'pivotTableId':_0x276e80,'unitId':_0x599306,'subUnitId':_0x1019e8},_0x51ad6f);return _0x3cd50c([..._0x58cdf3[_0x261cf7(0x402)],..._0x5d59d1[_0x261cf7(0x402)],..._0x54ec00],_0x4b0906),_0x26d589[_0x261cf7(0x1fe)]({'unitID':_0x599306,'redoMutations':[..._0x58cdf3[_0x261cf7(0x402)],..._0x5d59d1[_0x261cf7(0x402)],..._0x54ec00],'undoMutations':[..._0x58cdf3[_0x261cf7(0x3e7)],..._0x5d59d1[_0x261cf7(0x3e7)],..._0x48e9d6]}),!0x0;}},Fs={'type':_0x46c529[_0x106979(0x2c5)],'id':_0x106979(0x2ce),async 'handler'(_0xdf54e8,_0x415b46){const _0x41abeb=_0x106979;if(!_0x415b46)return!0x1;const _0x7bfc59=_0xdf54e8[_0x41abeb(0x335)](_0x5993ab),_0x285140=_0xdf54e8[_0x41abeb(0x335)](_0x5a78f4),_0x417a79=_0xdf54e8['get'](Q),{pivotTableConfig:_0x27b03a,pivotTableId:_0xc11038,unitId:_0x3d1e03,subUnitId:_0x543454}=_0x415b46,_0x31ba69=(await _0x417a79[_0x41abeb(0x39f)]({'unitId':_0x3d1e03,'subUnitId':_0x543454,'pivotTableId':_0xc11038,'params':{'type':k['SetPivotTableConfig'],'setPivotTableConfig':{'pivotTableId':_0xc11038,'pivotTableConfig':_0x27b03a}}}))[_0x41abeb(0x1e3)][_0x41abeb(0x21a)];if(!_0x31ba69)return!0x1;const {changesets:_0x45ebb2}=_0x31ba69,{redos:_0x58add0,undos:_0x585c4f}=me(_0x7bfc59,{'pivotTableId':_0xc11038,'unitId':_0x3d1e03,'subUnitId':_0x543454},_0x45ebb2);return _0x3cd50c(_0x58add0,_0x7bfc59),_0x285140['pushUndoRedo']({'unitID':_0x3d1e03,'redoMutations':_0x58add0,'undoMutations':_0x585c4f}),!0x0;}},Rs={'type':_0x46c529[_0x106979(0x2c5)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x2a1550,_0x282474){const _0x75bb86=_0x106979;if(!_0x282474)return!0x1;const _0x4b760d=_0x2a1550[_0x75bb86(0x335)](_0x5993ab),_0x19d8c4=_0x2a1550[_0x75bb86(0x335)](_0x5a78f4),_0x2e1930=_0x2a1550[_0x75bb86(0x335)](Q),{resetArea:_0x327185,pivotTableId:_0x9278ef,unitId:_0x59964a,subUnitId:_0x3fe6f9}=_0x282474,_0x5b3c58=(await _0x2e1930[_0x75bb86(0x39f)]({'unitId':_0x59964a,'subUnitId':_0x3fe6f9,'pivotTableId':_0x9278ef,'params':{'type':k[_0x75bb86(0x3c7)],'resetPivotTable':{'pivotTableId':_0x9278ef,'resetArea':_0x327185}}}))[_0x75bb86(0x1e3)][_0x75bb86(0x3db)];if(!_0x5b3c58)return!0x1;const {changesets:_0x3f3411}=_0x5b3c58,{redos:_0x1cf511,undos:_0x330826}=me(_0x4b760d,{'pivotTableId':_0x9278ef,'unitId':_0x59964a,'subUnitId':_0x3fe6f9},_0x3f3411);return _0x3cd50c(_0x1cf511,_0x4b760d),_0x19d8c4[_0x75bb86(0x1fe)]({'unitID':_0x59964a,'redoMutations':_0x1cf511,'undoMutations':_0x330826}),!0x0;}},oo={'id':_0x106979(0x1f9),'type':_0x46c529[_0x106979(0x1bf)],'handler':(_0xdcbf0e,_0xc7e0df)=>{const _0x2b38df=_0x106979;if(!_0xc7e0df)return!0x1;if(!!_0xdcbf0e['get'](_0x2086c7)[_0x2b38df(0x1b4)](q))return!0x0;const {unitId:_0x43e3a7,subUnitId:_0x4def7d,pivotTableId:_0x3e1a7f,tableFieldId:_0x225b2b,dateType:_0x2f065e}=_0xc7e0df,_0x603bf7=_0xdcbf0e['get'](G),_0x15aa9e=_0x603bf7['getPivotTableInstance'](_0x3e1a7f);if(!_0x15aa9e)return!0x1;const _0x33b956=_0x15aa9e[_0x2b38df(0x32a)](_0x225b2b);if(!_0x33b956)return!0x1;const _0x43d286=_0x33b956[_0x2b38df(0x37c)](),_0x1d7e92=_0x15aa9e[_0x2b38df(0x2e3)](_0x43d286),_0x4b140f=(_0x1d7e92==null?void 0x0:_0x1d7e92[_0x2b38df(0x3cf)]())+'\x20'+qo(_0xdcbf0e,_0x2f065e);_0x603bf7[_0x2b38df(0x3b0)](_0x43e3a7,_0x3e1a7f)[_0x2b38df(0x3f0)](_0x33b956['id'],_0x4b140f);const _0x5bc6f0=_0x15aa9e['getTableFieldById'](_0x225b2b);if(!_0x5bc6f0)return!0x1;_0x15aa9e[_0x2b38df(0x428)](_0x5bc6f0['getId'](),_0x4b140f),_0x33b956[_0x2b38df(0x316)](_0x2f065e);const _0xc4ceb0=_0x603bf7[_0x2b38df(0x2db)](_0x43e3a7,_0x4def7d,_0x3e1a7f);return _0x603bf7['addDirtyPivotTable']({'unitId':_0x43e3a7,'subUnitId':_0x4def7d,'token':_0x3e1a7f,'type':$[_0x2b38df(0x35e)],'pivotConfig':_0xc4ceb0}),!0x0;}},Ds={'id':_0x106979(0x1bb),'type':_0x46c529[_0x106979(0x2c5)],'handler':(_0x2a9395,_0x4aa71d)=>{const _0x558805=_0x106979;if(!_0x4aa71d)return!0x1;const _0x47da36=_0x2a9395[_0x558805(0x335)](_0x5a78f4),{unitId:_0x5c3610,subUnitId:_0x4afe3e,pivotTableId:_0x47d2d6,tableFieldId:_0x2b3a7c}=_0x4aa71d,_0x23e3ce=[],_0x55d9d0=[],_0xbb17f7=_0x2a9395[_0x558805(0x335)](ve),_0x28a377=_0xbb17f7[_0x558805(0x3b0)](_0x5c3610,_0x47d2d6),_0x504c29=_0xbb17f7[_0x558805(0x2db)](_0x5c3610,_0x4afe3e,_0x47d2d6);if(!(_0x504c29!=null&&_0x504c29['fieldsConfig'][_0x558805(0x1a6)]))return!0x1;const _0x38c822=Object[_0x558805(0x1ed)](_0x504c29[_0x558805(0x2da)]['dimension'])[_0x558805(0x365)](_0x1ea027=>_0x1ea027['id']===_0x2b3a7c);if(!_0x38c822)return!0x1;const _0xd19ac2=_0x38c822['dataFieldId'];if(!(_0x28a377!=null&&_0x28a377[_0x558805(0x2a6)]))return!0x1;const _0x4473c3=Object[_0x558805(0x1ed)](_0x28a377==null?void 0x0:_0x28a377[_0x558805(0x2a6)])[_0x558805(0x365)](_0x508181=>_0x508181['id']===_0xd19ac2);if(!_0x4473c3)return!0x1;_0x1db23e(_0x4473c3)&&_0x23e3ce[_0x558805(0x32d)]({'id':oo['id'],'params':{..._0x4aa71d,'dateType':_0x4473c3[_0x558805(0x434)]}}),_0x55d9d0[_0x558805(0x32d)]({'id':oo['id'],'params':{..._0x4aa71d}});const _0x5c49cd=_0x2a9395[_0x558805(0x335)](_0x5993ab);return _0x3cd50c(_0x55d9d0,_0x5c49cd)&&_0x47da36[_0x558805(0x1fe)]({'unitID':_0x5c3610,'undoMutations':_0x23e3ce,'redoMutations':_0x55d9d0}),!0x0;}};var Vs=Object[_0x106979(0x334)],Ns=(_0x4c45c0,_0x3f6f8d,_0x491154,_0x329db0)=>{const _0x2a07e9=_0x106979;for(var _0xc7ffed=_0x329db0>0x1?void 0x0:_0x329db0?Vs(_0x3f6f8d,_0x491154):_0x3f6f8d,_0x3f15ee=_0x4c45c0[_0x2a07e9(0x1e7)]-0x1,_0x3dff1e;_0x3f15ee>=0x0;_0x3f15ee--)(_0x3dff1e=_0x4c45c0[_0x3f15ee])&&(_0xc7ffed=_0x3dff1e(_0xc7ffed)||_0xc7ffed);return _0xc7ffed;},Ke=(_0x15e118,_0x150300)=>(_0x19b50a,_0x230173)=>_0x150300(_0x19b50a,_0x230173,_0x15e118);const Us=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Es=(_0x3bfadc,_0x5a9e09,_0x57472a)=>{const _0x131306=_0x106979,_0x31dd8f=_0x3bfadc[_0x131306(0x358)];_0x3bfadc[_0x131306(0x1b6)](_0x3c6884=>{const _0x2d1fd7=_0x131306,_0x4071e6=_0x3c6884[_0x2d1fd7(0x2c4)](),_0x286628=_0x3c6884[_0x2d1fd7(0x2cf)](),_0x4db5e8=_0x3c6884[_0x2d1fd7(0x244)](),_0x1c09a0=_0x3c6884[_0x2d1fd7(0x424)]();_0x5a9e09[_0x286628]&&_0x5a9e09[_0x286628]===_0x1c09a0&&_0x4db5e8===_0x1c09a0&&(_0x3bfadc[_0x2d1fd7(0x428)](_0x4071e6,_0x31dd8f[_0x2d1fd7(0x424)](_0x286628)),_0x3c6884[_0x2d1fd7(0x3ca)](_0x31dd8f['getDisplayName'](_0x286628)));}),_0x3bfadc[_0x131306(0x37a)](_0x1c5d91['Value'],_0x8720b7=>{const _0x282220=_0x131306,_0x312f1e=_0x8720b7['getId'](),_0x1900d8=_0x8720b7['getDataFieldId'](),_0x295b65=_0x8720b7[_0x282220(0x244)](),_0x3644f2=_0x8720b7['getDisplayName'](),_0x1fbacc=_0x8720b7[_0x282220(0x262)](),_0x31c6fb=_0x57472a(_0x295b65,_0x1fbacc);_0x5a9e09[_0x1900d8]&&_0x5a9e09[_0x1900d8]===_0x295b65&&_0x31c6fb===_0x3644f2&&(_0x3bfadc[_0x282220(0x428)](_0x312f1e,_0x57472a(_0x31dd8f['getDisplayName'](_0x1900d8),_0x1fbacc)),_0x8720b7[_0x282220(0x3ca)](_0x31dd8f['getDisplayName'](_0x1900d8)));});},xs=(_0x320f79,_0x478f98,_0x1cf1eb)=>{const _0x32d209=_0x106979;var _0x2dc4e3,_0x46a478;const {arrayFormulaCellData:_0x8c0c56,unitData:_0x40ac2c}=_0x478f98,{unitId:_0x42fe5d,subUnitId:_0x4b9047}=_0x1cf1eb,_0x55a9e8=_0x1cf1eb['range'],{startColumn:_0x381394,endColumn:_0x35059e}=_0x55a9e8,_0x2d7448=(_0x2dc4e3=_0x8c0c56==null?void 0x0:_0x8c0c56[_0x42fe5d])==null?void 0x0:_0x2dc4e3[_0x4b9047],_0x87e114=(_0x46a478=_0x40ac2c==null?void 0x0:_0x40ac2c[_0x42fe5d])==null?void 0x0:_0x46a478[_0x4b9047],_0x493a38=new Set(),_0x2661b7=_0x35059e-_0x381394+0x1,{dirtyRanges:_0x3b079a}=_0x320f79;if(_0x3b079a)for(const {range:_0x59a6aa,sheetId:_0x55b03a,unitId:_0x2e7cea}of _0x3b079a){if(_0x55b03a!==_0x4b9047||_0x42fe5d!==_0x2e7cea)continue;const _0x257b1c=_0x5dcab[_0x32d209(0x357)](_0x59a6aa,_0x55a9e8);if(_0x257b1c){const {startColumn:_0x5659d5,endColumn:_0x27c9a9}=_0x257b1c;for(let _0x656024=_0x5659d5;_0x656024<=_0x27c9a9;_0x656024++)_0x493a38[_0x32d209(0x370)](_0x656024);}}if(_0x493a38[_0x32d209(0x387)]===_0x2661b7||_0x493a38['size']===_0x2661b7)return Array[_0x32d209(0x414)](_0x493a38);if(_0x87e114){const _0x3aa753=_0x87e114[_0x32d209(0x3d1)](),_0x3cc787=Object[_0x32d209(0x2f0)](_0x3aa753);for(const _0xd6415a of _0x3cc787){const _0x956da9=Number(_0xd6415a),_0x550fad=_0x3aa753[_0x956da9];if(_0x493a38[_0x32d209(0x387)]===_0x2661b7)break;for(const _0x577119 in _0x550fad){const _0x412063=Number(_0x577119);_0x412063<_0x381394||_0x412063>_0x35059e||_0x493a38[_0x32d209(0x370)](_0x412063);}}}if(_0x2d7448){const _0x598181=_0x2d7448['getMatrix'](),_0x5cebe3=Object[_0x32d209(0x2f0)](_0x598181);for(const _0x33fd2c of _0x5cebe3){const _0x498e45=Number(_0x33fd2c),_0x474660=_0x598181[_0x498e45];if(_0x493a38[_0x32d209(0x387)]===_0x2661b7)break;for(const _0xc20caf in _0x474660){const _0x3d450d=Number(_0xc20caf);_0x3d450d<_0x381394||_0x3d450d>_0x35059e||_0x493a38[_0x32d209(0x370)](_0x3d450d);}}}return Array[_0x32d209(0x414)](_0x493a38);},Os=_0xbb8b5d=>{const _0x550c43=_0x106979,_0x31f89b=new Set(),_0x262a29=[];for(const _0xab47a8 of _0xbb8b5d){const _0x13d7ac=_0xab47a8[_0x550c43(0x308)]+','+_0xab47a8[_0x550c43(0x364)]+','+_0xab47a8[_0x550c43(0x350)]+','+_0xab47a8[_0x550c43(0x1f7)];_0x31f89b[_0x550c43(0x27f)](_0x13d7ac)||(_0x31f89b[_0x550c43(0x370)](_0x13d7ac),_0x262a29[_0x550c43(0x32d)](_0xab47a8));}return _0x262a29;};let ct=class extends _0xf281b6{constructor(_0x40b68e,_0x49f508,_0x34ebb1,_0x44ad9d,_0xa3788c,_0x38b46d){const _0x33862a=_0x106979;super(),U(this,_0x33862a(0x22e),new _0x5a62be(!0x0)),U(this,_0x33862a(0x36f),_0x543d90=>{const _0x5418dd=_0x33862a;this[_0x5418dd(0x22e)][_0x5418dd(0x27d)](!0x1);}),U(this,_0x33862a(0x1b7),_0x4a9220=>{const _0x33b3cf=_0x33862a;this[_0x33b3cf(0x22e)][_0x33b3cf(0x27d)](!0x0);}),(this[_0x33862a(0x292)]=_0x40b68e,this[_0x33862a(0x3ba)]=_0x49f508,this[_0x33862a(0x40c)]=_0x34ebb1,this[_0x33862a(0x2a7)]=_0x44ad9d,this[_0x33862a(0x23d)]=_0xa3788c,this['_injector']=_0x38b46d,this[_0x33862a(0x1c3)](),this['_initPivotDataGetListener']());}['_init'](){const _0x6da592=_0x106979;this[_0x6da592(0x1f5)](),this[_0x6da592(0x33c)](),this[_0x6da592(0x2d0)](),this[_0x6da592(0x29c)]();}[_0x106979(0x227)](){const _0x2c51eb=_0x106979;this[_0x2c51eb(0x23d)]['pushComputingStatusSubject'](this[_0x2c51eb(0x22e)]),_0xa76544[_0x2c51eb(0x209)](_0x487b00[_0x2c51eb(0x372)],this[_0x2c51eb(0x36f)]),_0xa76544['registerCallbackWithEvent'](_0x487b00[_0x2c51eb(0x2b6)],this[_0x2c51eb(0x1b7)]);}[_0x106979(0x3f6)](){const _0x1c3f46=_0x106979;this[_0x1c3f46(0x31f)](this[_0x1c3f46(0x2a7)][_0x1c3f46(0x23f)](_0x519cb3=>{const _0x42c3a6=_0x1c3f46;_0x519cb3['id']===_0x5a29ea['id']&&this[_0x42c3a6(0x292)]['handleMoveRange'](_0x519cb3[_0x42c3a6(0x218)]);})),this[_0x1c3f46(0x31f)](this[_0x1c3f46(0x2a7)][_0x1c3f46(0x23f)](_0x1adb9a=>{const _0x1f3e7d=_0x1c3f46;if(_0x1adb9a['id']!==ro['id'])return;const _0x119b05=_0x1adb9a[_0x1f3e7d(0x218)],{unitId:_0x824268,subUnitId:_0x9d04b1,pivotTableId:_0x3082ef}=_0x119b05,_0x2ec890=_0x119b05[_0x1f3e7d(0x218)][_0x1f3e7d(0x1ad)],_0xe32dbd={};switch(_0x2ec890){case k[_0x1f3e7d(0x212)]:{const _0x1da706=_0x119b05['params']['filter'];if(!_0x1da706)return;const {row:_0x3785f0,col:_0xe5f856,cellData:_0x514409,pivotItemRenderInfoCache:_0x181a39,tableFieldId:_0x534c39}=_0x1da706,_0x4ea3a2=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x355)](_0x119b05[_0x1f3e7d(0x2cc)]);if(!_0x4ea3a2||!_0x181a39)return;if(_0x534c39){const _0x5dd8c8=_0x4ea3a2['getDataFieldByTableId'](_0x534c39);if(!_0x5dd8c8)return;_0xe32dbd[_0x1f3e7d(0x437)]={..._0x4ea3a2[_0x1f3e7d(0x265)](_0x5dd8c8),'tableFieldId':_0x534c39,'pivotTableId':_0x119b05[_0x1f3e7d(0x2cc)],'filterInfo':_0x4ea3a2[_0x1f3e7d(0x418)](_0x534c39),'sortInfo':_0x4ea3a2[_0x1f3e7d(0x1f0)](_0x534c39),'format':_0x4ea3a2[_0x1f3e7d(0x3b4)](_0x534c39)};}else{const _0x81f64e=xi(_0x3785f0,_0xe5f856,_0x514409,_0x4ea3a2,_0x181a39),_0x58ea89=_0x81f64e==null?void 0x0:_0x81f64e[_0x1f3e7d(0x2fc)];if(!_0x58ea89)return;const _0x24dfb5=_0x4ea3a2[_0x1f3e7d(0x32a)](_0x58ea89);if(!_0x24dfb5)return;_0xe32dbd['filter']={..._0x4ea3a2[_0x1f3e7d(0x265)](_0x24dfb5),'tableFieldId':_0x58ea89,'pivotTableId':_0x119b05[_0x1f3e7d(0x2cc)],'filterInfo':_0x4ea3a2[_0x1f3e7d(0x418)](_0x58ea89),'sortInfo':_0x4ea3a2[_0x1f3e7d(0x1f0)](_0x58ea89),'format':_0x4ea3a2[_0x1f3e7d(0x3b4)](_0x58ea89)};}}break;case k[_0x1f3e7d(0x296)]:{const _0x269e14=_0x119b05[_0x1f3e7d(0x218)][_0x1f3e7d(0x35d)];if(!_0x269e14)return;const {pivotTableId:_0x2a4f0e}=_0x269e14,_0x1306a5=this[_0x1f3e7d(0x292)]['getPivotTableInstance'](_0x2a4f0e);if(!_0x1306a5)return;const _0x5d4946=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x824268,_0x9d04b1,_0x2a4f0e),_0x3b4694=Oi(_0x1306a5,_0x2a4f0e,_0x5d4946);_0xe32dbd[_0x1f3e7d(0x35d)]=_0x3b4694;}break;case k['AddPivotField']:{const _0x4f7ef1=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x355)](_0x3082ef),_0x229e31=this[_0x1f3e7d(0x292)]['getDataFieldManager'](_0x824268),_0x4acfd3=_0x229e31[_0x1f3e7d(0x3b0)](_0x3082ef);let _0x42db54=null;const _0xa46eca=this[_0x1f3e7d(0x292)]['getPivotTableConfig'](_0x824268,_0x9d04b1,_0x3082ef),_0x42441d=_0x119b05['params'][_0x1f3e7d(0x3ed)];if(!_0x4f7ef1||!_0xa46eca||!_0x42441d)return!0x1;const {dataFieldId:_0x1b6112,fieldArea:_0x1d8ed9,index:_0x426664}=_0x42441d;_0x4f7ef1[_0x1f3e7d(0x433)]();const _0x23eb7a=_0x4f7ef1[_0x1f3e7d(0x397)](_0x1b6112,_0x1d8ed9,_0x426664);if(_0x23eb7a&&_0x1d8ed9===_0x1c5d91[_0x1f3e7d(0x3bc)]){const _0x17530d=_0x23eb7a[_0x1f3e7d(0x2c4)](),_0x1c4153=_0x4f7ef1['getDataFieldByTableId'](_0x17530d);if(_0x1c4153){const _0x457803=_0x1c4153==null?void 0x0:_0x1c4153['getFieldDataType']();_0x4f7ef1[_0x1f3e7d(0x223)](_0x23eb7a[_0x1f3e7d(0x2c4)](),_0x457803===_0xcdd801[_0x1f3e7d(0x236)]?_0x2fb6f8['sum']:_0x2fb6f8[_0x1f3e7d(0x407)]);}const _0x2b147f=_0x4f7ef1['getValueIndex'](),_0x333283=_0x4f7ef1[_0x1f3e7d(0x411)](),_0x35ce8a=_0x4f7ef1[_0x1f3e7d(0x27c)](_0x1c5d91[_0x1f3e7d(0x3bc)]);if(_0x2b147f===-0x1&&_0x35ce8a>0x1){const _0x1ab5d6=_0x333283===_0x48802f[_0x1f3e7d(0x1ce)]?_0x48802f[_0x1f3e7d(0x271)]:_0x333283,_0x29f898=_0x1ab5d6===_0x48802f[_0x1f3e7d(0x408)]?_0x1c5d91[_0x1f3e7d(0x408)]:_0x1c5d91[_0x1f3e7d(0x271)];_0x4f7ef1[_0x1f3e7d(0x226)](_0x1ab5d6,_0x4f7ef1[_0x1f3e7d(0x27c)](_0x29f898));}}else{if(_0x23eb7a&&(_0x1d8ed9===_0x1c5d91[_0x1f3e7d(0x408)]||_0x1d8ed9===_0x1c5d91[_0x1f3e7d(0x271)])){const _0x797bf7=_0x23eb7a[_0x1f3e7d(0x2c4)](),_0x227474=_0x4f7ef1[_0x1f3e7d(0x32a)](_0x797bf7);if(_0x227474&&(_0x227474==null?void 0x0:_0x227474[_0x1f3e7d(0x224)]())===_0xcdd801[_0x1f3e7d(0x1d9)]){const _0x298cf7=_0x227474[_0x1f3e7d(0x41a)]();if(_0x298cf7&&_0x4f7ef1[_0x1f3e7d(0x2ea)](_0x23eb7a['getId'](),_0x298cf7),!_0x4acfd3[_0x1f3e7d(0x323)]()['some'](_0x1d503=>{const _0x398bcc=_0x1f3e7d,_0xf41118=_0x4acfd3['getFieldById'](_0x1d503);return _0x4973f8(_0xf41118)?_0xf41118[_0x398bcc(0x41f)]()[_0x398bcc(0x29b)]===_0x1b6112:!0x1;})){const _0x4b5dfb=_0x229e31[_0x1f3e7d(0x332)](),_0x23cea0=Wi(_0x227474[_0x1f3e7d(0x1fc)],_0x227474['minDate']),_0x38a793=_0x227474[_0x1f3e7d(0x3cf)]()+_0x1f3e7d(0x39a)+qo(this[_0x1f3e7d(0x377)],_0x23cea0),_0xc381f1=new _0x32ad19(_0x4b5dfb,_0x38a793,_0x5c7b71(0x3),_0x227474[_0x1f3e7d(0x2c4)](),_0x23cea0);_0x229e31[_0x1f3e7d(0x201)](_0xc381f1),_0x4acfd3['addField'](_0x4b5dfb,_0x38a793),_0x4f7ef1[_0x1f3e7d(0x397)](_0x4b5dfb,_0x1d8ed9,(_0x426664!=null?_0x426664:0x0)+0x1),_0x42db54=_0xc381f1;}}}}const _0x31f483=_0x4f7ef1['isEmpty'](),_0x1fec82=_0x4f7ef1[_0x1f3e7d(0x2ae)]()[_0x1f3e7d(0x297)]();let _0xaa0e54;if(_0x42db54){_0xaa0e54=_0x42db54[_0x1f3e7d(0x297)]();const _0x4cdf2e=_0x42db54[_0x1f3e7d(0x2c4)]();_0x4acfd3[_0x1f3e7d(0x2b4)](_0x4cdf2e);let _0x20d1ff=!0x0;for(const _0x99e977 in _0x229e31['collections'])if(_0x229e31['collections'][_0x99e977][_0x1f3e7d(0x323)]()[_0x1f3e7d(0x305)](_0x4cdf2e)){_0x20d1ff=!0x1;break;}_0x20d1ff&&_0x229e31['deleteDataField'](_0x4cdf2e);}const _0x49c8f6=_0x4f7ef1['endCollectChangeset']();_0xe32dbd[_0x1f3e7d(0x3ed)]={'view':_0x1fec82,'changesets':_0x49c8f6,'isEmpty':_0x31f483,'pivotTableConfig':_0xa46eca,'shouldBeAddedGroupJSON':_0xaa0e54};}break;case k[_0x1f3e7d(0x3b7)]:{const _0x24496f=_0x119b05[_0x1f3e7d(0x218)][_0x1f3e7d(0x33a)];if(!_0x24496f)return;const _0x2693ca=_0x24496f[_0x1f3e7d(0x1a7)],_0x1365d7=_0x24496f['pivotTableId'],{collection:_0x49eb3f}=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x1ee)]({'unitId':_0x2693ca[_0x1f3e7d(0x20a)],'sheetName':_0x2693ca['sheetName'],'subUnitId':_0x2693ca[_0x1f3e7d(0x409)],'range':_0x2693ca[_0x1f3e7d(0x3f2)]}),_0x564bda=new _0xa76544(_0x49eb3f,void 0x0,_0x1365d7),_0x186e4e=_0x564bda['query'](),_0x51a377=_0x564bda[_0x1f3e7d(0x297)](),_0x453257=_0x49eb3f[_0x1f3e7d(0x297)]();_0xe32dbd[_0x1f3e7d(0x33a)]={'view':_0x186e4e,'fieldsConfig':_0x51a377,'collectionConfig':_0x453257,'isEmpty':_0x564bda['isEmpty']()};}break;case k[_0x1f3e7d(0x25b)]:{const _0x53a0b7=_0x119b05['params'][_0x1f3e7d(0x366)];if(!_0x53a0b7)return;const {fieldId:_0x5d668b,area:_0x5bd5ea,index:_0x29c78e}=_0x53a0b7,_0x44bd0b=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x2db)](_0x824268,_0x9d04b1,_0x3082ef);if(!_0x44bd0b)return;const _0x35d190=this[_0x1f3e7d(0x292)]['getPivotTableInstance'](_0x3082ef);if(!_0x35d190)return;_0x35d190[_0x1f3e7d(0x433)]();const {area:_0x1483ca,index:_0xbc5789}=_0x35d190[_0x1f3e7d(0x3ef)](_0x5d668b);if(_0x35d190[_0x1f3e7d(0x430)](_0x5d668b,_0x5bd5ea,_0x29c78e),_0x5bd5ea===_0x1c5d91[_0x1f3e7d(0x3bc)]&&_0x35d190['getTableFieldById'](_0x5d668b)[_0x1f3e7d(0x262)]()===void 0x0){const _0x595a3e=_0x35d190[_0x1f3e7d(0x1c5)](_0x5d668b);if(_0x595a3e&&_0x595a3e[_0x1f3e7d(0x262)]()===void 0x0){const _0x38802f=_0x35d190['getDataFieldByTableId'](_0x5d668b);if(_0x38802f){const _0x57745a=_0x38802f==null?void 0x0:_0x38802f[_0x1f3e7d(0x224)]();_0x35d190[_0x1f3e7d(0x223)](_0x5d668b,_0x57745a===_0xcdd801['number']?_0x2fb6f8[_0x1f3e7d(0x412)]:_0x2fb6f8[_0x1f3e7d(0x407)]);}}}const _0x4eb31a=_0x35d190[_0x1f3e7d(0x411)](),_0x36d78d=_0x35d190[_0x1f3e7d(0x2fe)](),_0x4480de=_0x35d190[_0x1f3e7d(0x27c)](_0x1c5d91[_0x1f3e7d(0x3bc)])>0x1;if(_0x4480de&&_0x1483ca===_0x5bd5ea&&(_0x5bd5ea===_0x1c5d91[_0x1f3e7d(0x408)]&&_0x4eb31a===_0x48802f[_0x1f3e7d(0x408)]||_0x5bd5ea===_0x1c5d91['Column']&&_0x4eb31a===_0x48802f[_0x1f3e7d(0x271)])){let _0x3e7d23=_0x36d78d;_0xbc5789<=_0x36d78d&&_0x3e7d23--,_0x29c78e<=_0x36d78d&&_0x3e7d23++,_0x35d190[_0x1f3e7d(0x226)](_0x4eb31a,_0x3e7d23);}else _0x4480de&&(_0x1483ca===_0x1c5d91[_0x1f3e7d(0x408)]&&_0x4eb31a===_0x48802f['Row']||_0x1483ca===_0x1c5d91[_0x1f3e7d(0x271)]&&_0x4eb31a===_0x48802f[_0x1f3e7d(0x271)])&&_0x36d78d>=_0xbc5789&&_0x35d190['updateValuePosition'](_0x4eb31a,_0x36d78d-0x1),_0x4480de&&(_0x5bd5ea===_0x1c5d91['Row']&&_0x4eb31a===_0x48802f['Row']||_0x5bd5ea===_0x1c5d91['Column']&&_0x4eb31a===_0x48802f[_0x1f3e7d(0x271)])&&_0x36d78d>=_0x29c78e&&_0x35d190[_0x1f3e7d(0x226)](_0x4eb31a,_0x36d78d+0x1);const _0x35e21c=_0x35d190[_0x1f3e7d(0x2ae)](),_0x349a37=_0x35d190[_0x1f3e7d(0x3a5)](),_0x21313e=_0x35d190[_0x1f3e7d(0x34b)]();_0xe32dbd[_0x1f3e7d(0x366)]={'view':_0x35e21c[_0x1f3e7d(0x297)](),'changesets':_0x21313e,'isEmpty':_0x349a37,'pivotTableConfig':_0x44bd0b};}break;case k[_0x1f3e7d(0x3e9)]:{const _0x1bbbbe=_0x119b05['params'][_0x1f3e7d(0x1f6)];if(!_0x1bbbbe)return;const _0x5a23cd=_0x1bbbbe[_0x1f3e7d(0x289)],_0x4cde80=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x2db)](_0x824268,_0x9d04b1,_0x3082ef);if(!_0x4cde80)return!0x1;const _0x14a644=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x3082ef);if(!_0x14a644)return!0x1;_0x14a644[_0x1f3e7d(0x433)]();for(const _0x4853cd of _0x5a23cd){const {area:_0x38690a}=_0x14a644['getFieldPositionInfoById'](_0x4853cd);_0x38690a===_0x1c5d91[_0x1f3e7d(0x3bc)]&&_0x14a644[_0x1f3e7d(0x399)](_0x4853cd),(_0x38690a===_0x1c5d91[_0x1f3e7d(0x408)]||_0x38690a===_0x1c5d91[_0x1f3e7d(0x271)])&&_0x14a644[_0x1f3e7d(0x333)](_0x4853cd),_0x14a644['removeField'](_0x4853cd);}const _0x4872bc=_0x14a644[_0x1f3e7d(0x3a5)](),_0x2afd2c=_0x14a644[_0x1f3e7d(0x2ae)]()[_0x1f3e7d(0x297)](),_0x341d51=_0x14a644[_0x1f3e7d(0x34b)]();_0xe32dbd['removePivotField']={'changesets':_0x341d51,'pivotTableConfig':_0x4cde80,'isEmpty':_0x4872bc,'view':_0x2afd2c};}break;case k[_0x1f3e7d(0x3fc)]:{const _0x3e2698=_0x119b05[_0x1f3e7d(0x218)][_0x1f3e7d(0x40f)];if(!_0x3e2698)return;const {tableFieldId:_0x4c6644,items:_0x39dfe1,isAll:_0x3d86d7}=_0x3e2698,_0x26a5b0=this['_sheetsPivotDataSourceModel'][_0x1f3e7d(0x355)](_0x3082ef),_0x286959=this['_sheetsPivotDataSourceModel'][_0x1f3e7d(0x2db)](_0x824268,_0x9d04b1,_0x3082ef);if(!_0x26a5b0||!_0x286959)return;_0x26a5b0['startCollectChangeset'](),_0x26a5b0[_0x1f3e7d(0x1dd)](_0x4c6644,{'type':_0x572ec7[_0x1f3e7d(0x367)],'list':_0x39dfe1,'isAll':_0x3d86d7});const _0x340dfb=_0x26a5b0['isEmpty'](),_0x126a55=_0x26a5b0[_0x1f3e7d(0x2ae)]()[_0x1f3e7d(0x297)](),_0x1b9635=_0x26a5b0['endCollectChangeset']();_0xe32dbd[_0x1f3e7d(0x40f)]={'view':_0x126a55,'changesets':_0x1b9635,'isEmpty':_0x340dfb,'pivotTableConfig':_0x286959};}break;case k['SetValuePivotFilter']:{const _0x2217ef=_0x119b05[_0x1f3e7d(0x218)][_0x1f3e7d(0x322)];if(!_0x2217ef)return;const {tableFieldId:_0x4bb35c,filterInfo:_0x3f4ddb}=_0x2217ef,_0x5ad736=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x355)](_0x3082ef),_0x4d7a8a=this[_0x1f3e7d(0x292)]['getPivotTableConfig'](_0x824268,_0x9d04b1,_0x3082ef);if(!_0x5ad736||!_0x4d7a8a)return;_0x5ad736[_0x1f3e7d(0x433)](),_0x5ad736[_0x1f3e7d(0x3bd)](_0x4bb35c,_0x3f4ddb);const _0x21fa2c=_0x5ad736[_0x1f3e7d(0x3a5)](),_0x20a473=_0x5ad736[_0x1f3e7d(0x2ae)]()['toJSON'](),_0x746d2e=_0x5ad736[_0x1f3e7d(0x34b)]();_0xe32dbd[_0x1f3e7d(0x322)]={'view':_0x20a473,'changesets':_0x746d2e,'isEmpty':_0x21fa2c,'pivotTableConfig':_0x4d7a8a};}break;case k[_0x1f3e7d(0x360)]:{const _0x1f0d61=_0x119b05['params'][_0x1f3e7d(0x386)];if(!_0x1f0d61)return;const {tableFieldId:_0x285939,info:_0x91579c}=_0x1f0d61,_0x4d04c3=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x355)](_0x3082ef),_0x33d49b=this['_sheetsPivotDataSourceModel'][_0x1f3e7d(0x2db)](_0x824268,_0x9d04b1,_0x3082ef);if(!_0x4d04c3||!_0x33d49b)return;_0x4d04c3['startCollectChangeset'](),_0x4d04c3['setSortInfo'](_0x285939,_0x91579c);const _0x4ffbf5=_0x4d04c3[_0x1f3e7d(0x3a5)](),_0x5c8c01=_0x4d04c3[_0x1f3e7d(0x2ae)]()[_0x1f3e7d(0x297)](),_0x2d2a43=_0x4d04c3[_0x1f3e7d(0x34b)]();_0xe32dbd[_0x1f3e7d(0x386)]={'view':_0x5c8c01,'changesets':_0x2d2a43,'isEmpty':_0x4ffbf5,'pivotTableConfig':_0x33d49b};}break;case k[_0x1f3e7d(0x416)]:{const _0x1f6a1d=_0x119b05[_0x1f3e7d(0x218)][_0x1f3e7d(0x3d5)];if(!_0x1f6a1d)return;const {tableFieldId:_0x549897,displayName:_0x5ba422,subtotalType:_0x5b3649,format:_0x1d3aff}=_0x1f6a1d,_0x56a086=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x355)](_0x3082ef),_0x14817b=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x2db)](_0x824268,_0x9d04b1,_0x3082ef);if(!_0x56a086||!_0x14817b)return;_0x56a086['startCollectChangeset'](),_0x5ba422!==void 0x0&&_0x56a086[_0x1f3e7d(0x428)](_0x549897,_0x5ba422),_0x5b3649!==void 0x0&&_0x56a086[_0x1f3e7d(0x223)](_0x549897,_0x5b3649),_0x1d3aff!==void 0x0&&_0x56a086[_0x1f3e7d(0x2ea)](_0x549897,_0x1d3aff);const _0x1ddac0=_0x56a086[_0x1f3e7d(0x3a5)](),_0x5699c4=_0x56a086[_0x1f3e7d(0x2ae)]()[_0x1f3e7d(0x297)](),_0x461eb0=_0x56a086[_0x1f3e7d(0x34b)]();_0xe32dbd[_0x1f3e7d(0x3d5)]={'changesets':_0x461eb0,'pivotTableConfig':_0x14817b,'isEmpty':_0x1ddac0,'view':_0x5699c4};}break;case k[_0x1f3e7d(0x269)]:{const _0x28f5f3=_0x119b05[_0x1f3e7d(0x218)][_0x1f3e7d(0x3ea)];if(!_0x28f5f3)return;const {dataRangeInfo:_0x183f5e,unitId:_0xfd1d24,subUnitId:_0x3855f9}=_0x28f5f3,_0x4d2b62=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x2db)](_0xfd1d24,_0x3855f9,_0x3082ef),_0x4afcf3=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x355)](_0x3082ef);if(!this[_0x1f3e7d(0x292)]['getCollection'](_0xfd1d24,_0x3082ef)||!_0x4afcf3||!_0x4d2b62)return;const _0x1c6956=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x396)](_0xfd1d24,_0x3082ef,_0x183f5e),_0x2f36ea=this['_sheetsPivotDataSourceModel']['getCollection'](_0xfd1d24,_0x3082ef)[_0x1f3e7d(0x297)](),{collection:_0x4de3dd}=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x1ee)]({'unitId':_0x183f5e['unitId'],'sheetName':_0x183f5e[_0x1f3e7d(0x2d8)],'subUnitId':_0x183f5e[_0x1f3e7d(0x409)],'range':_0x183f5e[_0x1f3e7d(0x3f2)]}),_0xab4bd4=_0x4de3dd[_0x1f3e7d(0x297)]();_0x4afcf3[_0x1f3e7d(0x433)]();const _0x4c8b85=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x2e5)](_0xfd1d24)['getAutoDisplayNameFunction']()||_0x2228b9;_0x4afcf3[_0x1f3e7d(0x37e)](_0x17be40=>{const _0x2629d2=_0x1f3e7d,_0x5b6309=_0x17be40['getDataFieldId']();if(!_0x4de3dd[_0x2629d2(0x36e)](_0x5b6309)){const _0x254f09=_0x4de3dd['getDataFieldBySourceName'](_0x17be40[_0x2629d2(0x244)]());if(_0x254f09){_0x4afcf3['updateFieldSourceInfo'](_0x17be40[_0x2629d2(0x2c4)](),_0x254f09[_0x2629d2(0x3cf)](),_0x254f09[_0x2629d2(0x2c4)]());const {area:_0x2fab4}=_0x4afcf3[_0x2629d2(0x3ef)](_0x17be40[_0x2629d2(0x2c4)]());let _0x1ff67f=_0x17be40[_0x2629d2(0x244)]();const _0x2b7f7f=_0x17be40[_0x2629d2(0x424)]();if(_0x2fab4===_0x1c5d91[_0x2629d2(0x3bc)]){const _0x261be2=_0x17be40['getSubtotal']();_0x1ff67f=_0x4c8b85(_0x254f09[_0x2629d2(0x3cf)](),_0x261be2);}_0x2b7f7f!==_0x1ff67f&&_0x4afcf3['renameField'](_0x17be40['getId'](),_0x1ff67f);}else _0x4afcf3[_0x2629d2(0x1c7)](_0x17be40[_0x2629d2(0x2c4)]());}});const _0x5523ed=_0x4afcf3[_0x1f3e7d(0x3a5)](),_0xd6657d=_0x4afcf3[_0x1f3e7d(0x2ae)]()[_0x1f3e7d(0x297)](),_0x4dc19b=_0x4afcf3['endCollectChangeset']();_0xe32dbd[_0x1f3e7d(0x3ea)]={'view':_0xd6657d,'changesets':_0x4dc19b,'isEmpty':_0x5523ed,'pivotTableConfig':_0x4d2b62,'collectionConfig':_0xab4bd4,'oldCollectionConfig':_0x2f36ea,'deleteIds':_0x1c6956};}break;case k['UpdateValuePosition']:{const _0x32e028=_0x119b05[_0x1f3e7d(0x218)][_0x1f3e7d(0x226)];if(!_0x32e028)return;const {position:_0x5a89f7,index:_0x298ffd}=_0x32e028,_0x3ab1d6=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x2db)](_0x824268,_0x9d04b1,_0x3082ef);if(!_0x3ab1d6)return!0x1;const _0x26b920=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x355)](_0x3082ef);if(!_0x26b920)return!0x1;_0x26b920['startCollectChangeset'](),_0x26b920[_0x1f3e7d(0x226)](_0x5a89f7,_0x298ffd);const _0x4a4198=_0x26b920[_0x1f3e7d(0x3a5)](),_0x4458aa=_0x26b920[_0x1f3e7d(0x2ae)]()[_0x1f3e7d(0x297)](),_0x148d50=_0x26b920['endCollectChangeset']();_0xe32dbd[_0x1f3e7d(0x226)]={'changesets':_0x148d50,'pivotTableConfig':_0x3ab1d6,'isEmpty':_0x4a4198,'view':_0x4458aa};}break;case k[_0x1f3e7d(0x283)]:{const _0x1a03ee=_0x119b05['params'][_0x1f3e7d(0x22a)];if(!_0x1a03ee)return;const {tableFieldId:_0x57d6ad,collapse:_0x291c40,item:_0x298352}=_0x1a03ee,_0x1f1b86=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x355)](_0x3082ef),_0xe54cdc=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x2db)](_0x824268,_0x9d04b1,_0x3082ef);if(!_0x1f1b86||!_0xe54cdc)return;_0x1f1b86[_0x1f3e7d(0x433)](),_0x1f1b86[_0x1f3e7d(0x2c1)](_0x57d6ad,_0x291c40,_0x298352);const _0x1f4c86=_0x1f1b86[_0x1f3e7d(0x3a5)](),_0x5218b9=_0x1f1b86[_0x1f3e7d(0x2ae)]()['toJSON'](),_0x16157c=_0x1f1b86[_0x1f3e7d(0x34b)]();_0xe32dbd[_0x1f3e7d(0x22a)]={'view':_0x5218b9,'isEmpty':_0x1f4c86,'pivotTableConfig':_0xe54cdc,'changesets':_0x16157c};}break;case k['SetPivotTableConfig']:{const _0x3a63fd=_0x119b05['params'][_0x1f3e7d(0x21a)];if(!_0x3a63fd)return;const {pivotTableConfig:_0x5975f2}=_0x3a63fd,_0x5e3a63=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x355)](_0x3082ef),_0x50810d=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x2db)](_0x824268,_0x9d04b1,_0x3082ef);if(!_0x5e3a63||!_0x50810d)return;_0x5e3a63['startCollectChangeset'](),Ji(_0x5e3a63,_0x5975f2);const _0x5c151c=_0x5e3a63[_0x1f3e7d(0x3a5)](),_0x3c36a2=_0x5e3a63[_0x1f3e7d(0x2ae)]()['toJSON'](),_0x1de82e=_0x5e3a63[_0x1f3e7d(0x34b)]();_0xe32dbd['setPivotTableConfig']={'view':_0x3c36a2,'isEmpty':_0x5c151c,'pivotTableConfig':{..._0x50810d,'fieldsConfig':_0x5e3a63[_0x1f3e7d(0x297)]()},'changesets':_0x1de82e};}break;case k[_0x1f3e7d(0x3c7)]:{const _0x4c1260=_0x119b05[_0x1f3e7d(0x218)][_0x1f3e7d(0x3db)];if(!_0x4c1260)return;const _0xc8944b=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x355)](_0x3082ef),_0x167152=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x2db)](_0x824268,_0x9d04b1,_0x3082ef);if(!_0xc8944b||!_0x167152)return;_0xc8944b[_0x1f3e7d(0x433)](),ji(_0xc8944b,_0x4c1260[_0x1f3e7d(0x406)]);const _0x20f0ef=_0xc8944b[_0x1f3e7d(0x2ae)]()[_0x1f3e7d(0x297)](),_0x2373dd=_0xc8944b[_0x1f3e7d(0x34b)]();_0xe32dbd[_0x1f3e7d(0x3db)]={'view':_0x20f0ef,'isEmpty':!0x0,'pivotTableConfig':{..._0x167152,'fieldsConfig':_0xc8944b['toJSON']()},'changesets':_0x2373dd};}break;case k[_0x1f3e7d(0x382)]:{const _0x259ebc=_0x119b05['params'][_0x1f3e7d(0x2f1)];if(!_0x259ebc)return;const _0x1eed8b=_0x259ebc[_0x1f3e7d(0x1a7)],_0x13e646=_0x259ebc['pivotTableId'],{collection:_0xaa640}=this['_sheetsPivotDataSourceModel'][_0x1f3e7d(0x1ee)]({'unitId':_0x1eed8b[_0x1f3e7d(0x20a)],'sheetName':_0x1eed8b[_0x1f3e7d(0x2d8)],'subUnitId':_0x1eed8b[_0x1f3e7d(0x409)],'range':_0x1eed8b[_0x1f3e7d(0x3f2)]}),_0x430749=new _0xa76544(_0xaa640,void 0x0,_0x13e646),_0x48323b=_0xaa640[_0x1f3e7d(0x323)](),{rows:_0x1419b4,columns:_0x90bc3f,filters:_0x3f82c7,values:_0x4d73d4}=_0x259ebc[_0x1f3e7d(0x3ad)];_0x430749['startCollectChangeset']();for(const {field:_0x13cc22,selectedItems:_0x2d7c9c}of _0x1419b4||[]){const _0x33f8db=_0x48323b[_0x13cc22];if(_0x33f8db){const _0x180c02=_0x430749['addFieldWithSourceId'](_0x33f8db,_0x1c5d91[_0x1f3e7d(0x408)]);_0x2d7c9c&&_0x180c02&&_0x430749[_0x1f3e7d(0x1dd)](_0x180c02['getId'](),{'type':_0x572ec7['ManualFilter'],'list':_0x2d7c9c,'isAll':!0x1});}}for(const {field:_0x130d22,selectedItems:_0xb4cb76}of _0x90bc3f||[]){const _0x11dbcb=_0x48323b[_0x130d22];if(_0x11dbcb){const _0x29c147=_0x430749[_0x1f3e7d(0x397)](_0x11dbcb,_0x1c5d91[_0x1f3e7d(0x271)]);_0xb4cb76&&_0x29c147&&_0x430749[_0x1f3e7d(0x1dd)](_0x29c147[_0x1f3e7d(0x2c4)](),{'type':_0x572ec7[_0x1f3e7d(0x367)],'list':_0xb4cb76,'isAll':!0x1});}}for(const {field:_0x3b093c,selectedItems:_0x49d765}of _0x3f82c7||[]){const _0x35ae7b=_0x48323b[_0x3b093c];if(_0x35ae7b){const _0x4f99cb=_0x430749[_0x1f3e7d(0x397)](_0x35ae7b,_0x1c5d91['Filter']);_0x49d765&&_0x4f99cb&&_0x430749['setLabelFilterInfo'](_0x4f99cb[_0x1f3e7d(0x2c4)](),{'type':_0x572ec7[_0x1f3e7d(0x367)],'list':_0x49d765,'isAll':!0x1});}}for(const {field:_0x1f191d,subTotalType:_0x46b46a,formatString:_0xbc3e77}of _0x4d73d4||[]){const _0x37771c=_0xaa640['getFieldById'](_0x48323b[_0x1f191d]);if(!_0x37771c)continue;const _0x3b9a7f=_0x48323b[_0x1f191d];if(_0x3b9a7f){const _0x217ed8=_0x430749[_0x1f3e7d(0x397)](_0x3b9a7f,_0x1c5d91[_0x1f3e7d(0x3bc)]);if(_0x217ed8){if(_0x46b46a!==void 0x0){_0x430749[_0x1f3e7d(0x223)](_0x217ed8['getId'](),_0x46b46a);const _0x23146f=this[_0x1f3e7d(0x292)][_0x1f3e7d(0x2e5)](_0x1eed8b[_0x1f3e7d(0x20a)])[_0x1f3e7d(0x25a)]()||_0x2228b9,_0x5db4e2=_0xaa640[_0x1f3e7d(0x424)](_0x3b9a7f),_0x1e1907=_0x23146f(_0x5db4e2,_0x46b46a);_0x430749[_0x1f3e7d(0x428)](_0x217ed8[_0x1f3e7d(0x2c4)](),_0x1e1907);}else{if(_0x37771c){const _0x700dc4=_0x37771c==null?void 0x0:_0x37771c[_0x1f3e7d(0x224)]();_0x430749[_0x1f3e7d(0x223)](_0x217ed8[_0x1f3e7d(0x2c4)](),_0x700dc4===_0xcdd801[_0x1f3e7d(0x236)]?_0x2fb6f8[_0x1f3e7d(0x412)]:_0x2fb6f8[_0x1f3e7d(0x407)]);}}_0xbc3e77&&_0x430749[_0x1f3e7d(0x2ea)](_0x217ed8[_0x1f3e7d(0x2c4)](),_0xbc3e77);}}}const _0x554530=_0x430749[_0x1f3e7d(0x2ae)](),_0x612ca7=_0x430749[_0x1f3e7d(0x297)](),_0x579a54=_0x430749[_0x1f3e7d(0x3a5)](),_0x140a88=_0x430749[_0x1f3e7d(0x34b)](),_0x3d50b0=_0xaa640[_0x1f3e7d(0x297)]();_0xe32dbd[_0x1f3e7d(0x2f1)]={'view':_0x554530,'fieldsConfig':_0x612ca7,'collectionConfig':_0x3d50b0,'isEmpty':_0x579a54,'changesets':_0x140a88};}break;case k['DrillDown']:{const _0x3d0306=Ai(this[_0x1f3e7d(0x377)],_0x119b05);if(!_0x3d0306)return;const {range:_0x3f6af3,sourceSubUnitId:_0x47c555,sourceUnitId:_0x2984a2,formatMap:_0x1bc0b5,indexes:_0x8538e0}=_0x3d0306;_0xe32dbd['drillDown']={'range':_0x3f6af3,'sourceSubUnitId':_0x47c555,'sourceUnitId':_0x2984a2,'formatMap':_0x1bc0b5,'indexes':_0x8538e0};}break;}this[_0x1f3e7d(0x2a7)][_0x1f3e7d(0x280)](lo['id'],{'version':_0x119b05[_0x1f3e7d(0x37d)],'result':_0xe32dbd},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0xcbdd11=_0x106979;this['disposeWithMe'](this[_0xcbdd11(0x2a7)][_0xcbdd11(0x23f)](_0x1cec35=>{const _0x23245a=_0xcbdd11;if(_0x1cec35['id']!==uo['id'])return;const _0x40e736=_0x1cec35[_0x23245a(0x218)];return this['_sheetsPivotDataSourceModel'][_0x23245a(0x23c)](_0x40e736[_0x23245a(0x206)]),!0x0;}));}[_0x106979(0x1f5)](){const _0x5261de=_0x106979;this[_0x5261de(0x292)][_0x5261de(0x1bc)][_0x5261de(0x1c2)](_0x5c966b=>{const _0x5248f2=_0x5261de;switch(_0x5c966b['type']){case Le[_0x5248f2(0x370)]:_0x5c966b[_0x5248f2(0x421)]&&_0x5c966b[_0x5248f2(0x1a9)]&&this['handleSourceRangeChange'](_0x5c966b['token'],_0x5c966b[_0x5248f2(0x421)],_0x5c966b['targetCellInfo']);break;case Le[_0x5248f2(0x417)]:{const {unitId:_0x51f77f,subUnitId:_0x32612e,token:_0x5f52b2}=_0x5c966b;_0x51f77f&&_0x32612e&&_0x5f52b2&&this[_0x5248f2(0x2bc)](_0x51f77f,_0x32612e,_0x5f52b2);}break;case Le['update']:{const {token:_0x38a3d0,oldSourceRangeInfo:_0xf6196a,dataRangeInfo:_0xdb7f5,targetCellInfo:_0x1805c8}=_0x5c966b,{unitId:_0x316dd2,subUnitId:_0x44c781}=_0xf6196a||{};_0x316dd2&&_0x44c781&&_0x38a3d0&&this['removeSourceRangeChange'](_0x316dd2,_0x44c781,_0x38a3d0),_0xdb7f5&&_0x1805c8&&this[_0x5248f2(0x239)](_0x38a3d0,_0xdb7f5,_0x1805c8);}break;}});}[_0x106979(0x29c)](){const _0x5737b5=_0x106979;this[_0x5737b5(0x292)][_0x5737b5(0x1a8)][_0x5737b5(0x1c2)](_0x4af06a=>{const _0x45a196=_0x5737b5;Object[_0x45a196(0x2f0)](_0x4af06a)[_0x45a196(0x3ec)](_0x502b76=>{const _0x2581ac=_0x45a196,_0x2c238c=this['_sheetsPivotDataSourceModel'][_0x2581ac(0x3e8)](_0x502b76);if(_0x2c238c){const _0x5e62e3=this[_0x2581ac(0x292)][_0x2581ac(0x2db)](_0x2c238c==null?void 0x0:_0x2c238c[_0x2581ac(0x20a)],_0x2c238c==null?void 0x0:_0x2c238c['subUnitId'],_0x502b76);_0x5e62e3&&(this[_0x2581ac(0x239)](_0x502b76,_0x5e62e3[_0x2581ac(0x1a7)],_0x5e62e3['targetCellInfo']),this[_0x2581ac(0x259)]([{'unitId':_0x2c238c[_0x2581ac(0x20a)],'subUnitId':_0x2c238c[_0x2581ac(0x409)],'token':_0x502b76}]));}});});}['_subjectViewChange'](){const _0xcda5dd=_0x106979;this[_0xcda5dd(0x292)]['viewData$'][_0xcda5dd(0x1c2)](_0x51a57f=>{const _0x19896b=_0xcda5dd,{unitId:_0x523a5d,subUnitId:_0x5f2fbf,pivotTableId:_0xaea118}=_0x51a57f;_0x523a5d&&_0x5f2fbf&&_0xaea118&&this[_0x19896b(0x259)]([{'unitId':_0x523a5d,'subUnitId':_0x5f2fbf,'token':_0xaea118}]);});}[_0x106979(0x259)](_0x234fad){const _0x3a7a53=_0x106979,_0x366a61={};_0x234fad['forEach'](_0x1249b9=>{var _0x5cb026,_0x2671bb;const {unitId:_0x42e594,subUnitId:_0x107c20,token:_0x29493f}=_0x1249b9;_0x366a61[_0x42e594]=(_0x5cb026=_0x366a61[_0x42e594])!=null?_0x5cb026:{},_0x366a61[_0x42e594][_0x107c20]=(_0x2671bb=_0x366a61[_0x42e594][_0x107c20])!=null?_0x2671bb:{},_0x366a61[_0x42e594][_0x107c20][_0x29493f]=!0x0;}),this['_commandService'][_0x3a7a53(0x280)](Nt['id'],_0x366a61);}['removeSourceRangeChange'](_0x17618b,_0x4c689f,_0xb05192){const _0x3b144c=_0x106979;this[_0x3b144c(0x40c)][_0x3b144c(0x325)](_0x17618b,_0x4c689f,[_0xb05192]);}[_0x106979(0x239)](_0x141087,_0x4152ab,_0x15500b){const _0x590e07=_0x106979,{unitId:_0x4e53ab,subUnitId:_0x134461}=_0x4152ab;this[_0x590e07(0x40c)][_0x590e07(0x27f)](_0x15500b[_0x590e07(0x20a)],_0x15500b[_0x590e07(0x409)],_0x141087)&&this['removeSourceRangeChange'](_0x4e53ab,_0x134461,_0x141087);const _0x39f96d={'sheetId':_0x134461,..._0x4152ab};this[_0x590e07(0x40c)][_0x590e07(0x342)](_0x15500b[_0x590e07(0x20a)],_0x15500b['subUnitId'],_0x141087,{'unitId':_0x15500b[_0x590e07(0x20a)],'subUnitId':_0x15500b[_0x590e07(0x409)],'dependencyRanges':[_0x39f96d],'getDirtyData':(_0x4cce14,_0x1b2d49)=>{const _0x4a83f4=_0x590e07,_0x6de1d2=this['_sheetsPivotDataSourceModel'],_0x344841=_0x6de1d2[_0x4a83f4(0x3e8)](_0x141087);if(!_0x344841)return Us();const {unitId:_0x7097a,subUnitId:_0x3eb4b1}=_0x344841,_0xfc292=xs(_0x4cce14,_0x1b2d49,_0x4152ab);if(_0xfc292[_0x4a83f4(0x1e7)]>0x0){const _0x1ab658=_0x6de1d2['getCollection'](_0x4e53ab,_0x141087),_0x46809e=_0x1ab658[_0x4a83f4(0x323)](),_0x220fb9=this[_0x4a83f4(0x250)](_0x4152ab[_0x4a83f4(0x20a)],_0x4152ab['subUnitId'],_0x1b2d49),_0x5ca734={},_0x25b10f=this['_sheetsPivotDataSourceModel'][_0x4a83f4(0x2e5)](_0x7097a)[_0x4a83f4(0x25a)]()||_0x2228b9,_0xe10b25=[];for(const _0x445938 of _0xfc292){const _0x25e11f=_0x445938-(_0x4152ab['range'][_0x4a83f4(0x350)]||0x0),_0x2b8940=_0x46809e[_0x25e11f];_0xe10b25[_0x4a83f4(0x32d)](_0x2b8940),_0x5ca734[_0x2b8940]=_0x1ab658[_0x4a83f4(0x2ef)](_0x2b8940)[_0x4a83f4(0x3cf)](),_0x6de1d2[_0x4a83f4(0x2e5)](_0x4e53ab)[_0x4a83f4(0x3f5)](_0x2b8940,_0x4152ab,_0x25e11f,_0x220fb9);}_0x1ab658[_0x4a83f4(0x2cd)](_0xe10b25)['forEach'](_0x5a99b3=>{const _0x10d94b=_0x4a83f4,[_0x3d0763,_0x5ed423]=_0x5a99b3,_0x19b194=_0x1ab658[_0x10d94b(0x2ef)](_0x3d0763),_0x5ec6be=_0x1ab658[_0x10d94b(0x2ef)](_0x5ed423);_0x19b194&&_0x5ec6be&&_0x19b194[_0x10d94b(0x267)](_0x5ec6be);}),_0x1ab658['updateAllDisplayName']();const _0x485240=_0x6de1d2[_0x4a83f4(0x355)](_0x141087);if(_0x485240){Es(_0x485240,_0x5ca734,_0x25b10f),_0x485240[_0x4a83f4(0x2aa)](!0x0);const _0x15ac3a=_0x485240[_0x4a83f4(0x2ae)](),_0x579ef4=_0x6de1d2[_0x4a83f4(0x2db)](_0x7097a,_0x3eb4b1,_0x141087),_0x279b15=_0x6de1d2[_0x4a83f4(0x2e5)](_0x4e53ab)['toJSON']();_0x6de1d2['updateView'](_0x7097a,_0x3eb4b1,$[_0x4a83f4(0x35e)],_0x141087,_0x15ac3a,_0x579ef4,_0x279b15,!0x0);}}return this[_0x4a83f4(0x384)](_0x7097a,_0x3eb4b1,_0x141087);}});}[_0x106979(0x250)](_0x1b2d3c,_0x128583,_0x525eac){var _0x450cbf,_0x104e62;const {arrayFormulaCellData:_0xe1857e,unitData:_0x122663}=_0x525eac,_0x10f19c=(_0x450cbf=_0xe1857e==null?void 0x0:_0xe1857e[_0x1b2d3c])==null?void 0x0:_0x450cbf[_0x128583],_0x1edbca=(_0x104e62=_0x122663==null?void 0x0:_0x122663[_0x1b2d3c])==null?void 0x0:_0x104e62[_0x128583];return{'arrayFormulaCellDataMatrix':_0x10f19c,'unitDataMatrix':_0x1edbca};}[_0x106979(0x384)](_0x4446f1,_0x37c762,_0xecb1ef){const _0x5b37a0=_0x106979,_0x6c6b1a=this[_0x5b37a0(0x292)][_0x5b37a0(0x362)](_0x4446f1,_0x37c762,_0xecb1ef),_0x5d1bab=[],_0x387335=new _0xea1b6e();if(_0x6c6b1a){const {rangeCache:_0x244fbb,matrix:_0xf8fcb6,oldRangeCache:_0x52fb53,oldMatrix:_0x5627e1}=_0x6c6b1a,_0x41250c=$t(_0x52fb53),_0x37c09a=$t(_0x244fbb);_0x5d1bab['push'](..._0x37c09a,..._0x41250c),_0x5627e1&&_0x52fb53&&_0x41250c[_0x5b37a0(0x3ec)](_0x9d13e8=>{const _0x5a7a70=_0x5b37a0;for(let _0x56a54a=_0x9d13e8[_0x5a7a70(0x308)];_0x56a54a<=_0x9d13e8[_0x5a7a70(0x364)];_0x56a54a++)for(let _0x528079=_0x9d13e8[_0x5a7a70(0x350)];_0x528079<=_0x9d13e8[_0x5a7a70(0x1f7)];_0x528079++)_0x387335[_0x5a7a70(0x353)](_0x56a54a,_0x528079);}),_0xf8fcb6&&_0x37c09a&&_0x37c09a[_0x5b37a0(0x3ec)](_0x36c106=>{const _0x5e29d9=_0x5b37a0;for(let _0x4b116b=_0x36c106[_0x5e29d9(0x308)];_0x4b116b<=_0x36c106['endRow'];_0x4b116b++)for(let _0x4badce=_0x36c106[_0x5e29d9(0x350)];_0x4badce<=_0x36c106[_0x5e29d9(0x1f7)];_0x4badce++)_0x387335[_0x5e29d9(0x3aa)](_0x4b116b,_0x4badce,_0xf8fcb6[_0x5e29d9(0x3a7)](_0x4b116b,_0x4badce));});}const _0x16822d={};return _0x16822d[_0x4446f1]={[_0x37c762]:Os(_0x5d1bab)},{'runtimeCellData':{[_0x4446f1]:{[_0x37c762]:_0x387335}},'dirtyRanges':_0x16822d};}[_0x106979(0x2de)](){}};ct=Ns([Ke(0x0,_0x1b9fdc(G)),Ke(0x1,_0x2086c7),Ke(0x2,_0x1b9fdc(_0x40e6c9)),Ke(0x3,_0x1b9fdc(_0x5993ab)),Ke(0x4,_0x1b9fdc(_0x38db08)),Ke(0x5,_0x1b9fdc(_0x575649))],ct);var As=Object[_0x106979(0x334)],ks=(_0x47ad77,_0x4f209e,_0x436ae5,_0x4912a7)=>{const _0x14b199=_0x106979;for(var _0x5c81e1=_0x4912a7>0x1?void 0x0:_0x4912a7?As(_0x4f209e,_0x436ae5):_0x4f209e,_0x365bc2=_0x47ad77[_0x14b199(0x1e7)]-0x1,_0x2d5fe3;_0x365bc2>=0x0;_0x365bc2--)(_0x2d5fe3=_0x47ad77[_0x365bc2])&&(_0x5c81e1=_0x2d5fe3(_0x5c81e1)||_0x5c81e1);return _0x5c81e1;},_t=(_0xd620ed,_0x44d989)=>(_0x54ff74,_0x17c79c)=>_0x44d989(_0x54ff74,_0x17c79c,_0xd620ed);let dt=class extends _0xf281b6{constructor(_0x222a5c,_0x42d919,_0xce820e,_0x2e9c70){const _0x48a686=_0x106979;super(),U(this,_0x48a686(0x22f),new _0x194a14()),(this[_0x48a686(0x343)]=_0x222a5c,this[_0x48a686(0x1f2)]=_0x42d919,this['_sheetsSelectionsService']=_0xce820e,this[_0x48a686(0x2f8)]=_0x2e9c70,this['_initClearSelectionCommandInterceptor']());}['_initClearSelectionCommandInterceptor'](){const _0x5dcdec=_0x106979;this['disposeWithMe'](this[_0x5dcdec(0x1f2)]['interceptCommand']({'getMutations':_0x37a905=>{const _0x1d9ff8=_0x5dcdec;if(_0x37a905['id']===_0x1d2615['id']||_0x37a905['id']===_0x5fe108['id']){const _0x497644=[],_0x5309d6=[],_0x4bc732=this[_0x1d9ff8(0x1ba)][_0x1d9ff8(0x429)]()[_0x1d9ff8(0x3ce)](_0xb5020a=>_0xb5020a[_0x1d9ff8(0x3f2)]),_0x1f7208=_0x3f65ca(this[_0x1d9ff8(0x343)]);if(!_0x1f7208)return{'redos':[],'undos':[]};const {unitId:_0x575dfa,subUnitId:_0x20cea1}=_0x1f7208,_0x536889={},_0x2f8401=this[_0x1d9ff8(0x2f8)][_0x1d9ff8(0x432)](_0x575dfa,_0x20cea1);if(_0x2f8401!=null&&_0x2f8401[_0x1d9ff8(0x387)])for(const [_0x51ce69,_0x505c16]of _0x2f8401){const {unitId:_0x25ffeb,subUnitId:_0x30e9b4,row:_0x28075e,col:_0x4aa44c}=_0x505c16[_0x1d9ff8(0x1a9)];_0x25ffeb===_0x1f7208['unitId']&&_0x30e9b4===_0x1f7208[_0x1d9ff8(0x409)]&&(_0x536889[_0x28075e+'-'+_0x4aa44c]=_0x51ce69);}return _0x4bc732&&_0x1f7208&&_0x4bc732[_0x1d9ff8(0x3ec)](_0x391c1a=>{const _0x577912=_0x1d9ff8;_0x42c7c8[_0x577912(0x22d)](_0x391c1a,(_0x59a4d0,_0xb3965c)=>{const _0x356623=_0x577912,_0x5614d3=_0x59a4d0+'-'+_0xb3965c;if(_0x536889[_0x5614d3]){const _0x134319=_0x536889[_0x5614d3];_0x497644['push']({'id':xt['id'],'params':{'unitId':_0x575dfa,'subUnitId':_0x20cea1,'pivotTableId':_0x134319}});const _0xc096bb=this[_0x356623(0x2f8)][_0x356623(0x3b0)](_0x575dfa,_0x134319),_0x313e5f=this['_sheetsPivotTableConfigModel'][_0x356623(0x2db)](_0x575dfa,_0x20cea1,_0x134319);_0x5309d6[_0x356623(0x32d)]({'id':Ct['id'],'params':{'unitId':_0x575dfa,'subUnitId':_0x20cea1,'pivotTableId':_0x134319,'pivotTableConfig':_0x313e5f,'collectionConfig':_0xc096bb}});}});}),{'redos':_0x497644,'undos':_0x5309d6};}return{'redos':[],'undos':[]};}}));}};dt=ks([_t(0x0,_0x5104e9),_t(0x1,_0x1b9fdc(_0x50fd92)),_t(0x2,_0x1b9fdc(_0x4e7ede)),_t(0x3,_0x1b9fdc(ve))],dt);var Bs=Object[_0x106979(0x334)],Ls=(_0x5dab7b,_0x6a1b8d,_0x5a98e5,_0x110106)=>{const _0x4418db=_0x106979;for(var _0x174483=_0x110106>0x1?void 0x0:_0x110106?Bs(_0x6a1b8d,_0x5a98e5):_0x6a1b8d,_0x14f8c2=_0x5dab7b[_0x4418db(0x1e7)]-0x1,_0xc3bf6f;_0x14f8c2>=0x0;_0x14f8c2--)(_0xc3bf6f=_0x5dab7b[_0x14f8c2])&&(_0x174483=_0xc3bf6f(_0x174483)||_0x174483);return _0x174483;},qe=(_0x342d8f,_0x2a6b6c)=>(_0x2f9588,_0x3b5687)=>_0x2a6b6c(_0x2f9588,_0x3b5687,_0x342d8f);let ut=class extends _0xf281b6{constructor(_0x575132,_0x3731ec,_0x1d8cc2,_0x17c44e,_0x2a6eb2,_0x16ed00){const _0x4fa426=_0x106979;super(),this[_0x4fa426(0x30c)]=_0x575132,this[_0x4fa426(0x1f2)]=_0x3731ec,this['_injector']=_0x1d8cc2,this[_0x4fa426(0x343)]=_0x17c44e,this['_sheetsPivotTableConfigModel']=_0x2a6eb2,this['_sheetsPivotTableService']=_0x16ed00,this[_0x4fa426(0x3b5)]();}['_getPivotAppliedRanges'](_0x55a617,_0x107b31,_0x7596ef){const _0x18249=_0x106979,{pageView:_0x13659e,cornerView:_0x332bee,rowView:_0x24d865,colView:_0x29f2c9,dataView:_0x53aa3d}=_0x107b31,_0xe43078=_0x55a617;let _0x2b71d0;if(_0x7596ef)_0x2b71d0=[...ki(_0xe43078)];else{const _0x188272=ge(_0xe43078,_0x13659e,!0x0),_0x5ed557=_0x13659e[_0x18249(0x317)]>=0x0?_0x13659e[_0x18249(0x317)]+0x1:0x0,_0x31426a=_0x332bee[_0x18249(0x3df)],_0x1c3c8e=_0x332bee[_0x18249(0x214)],_0xdfe42a=_0x188272[_0x18249(0x1e7)]>0x0?It:0x0,_0x47efad=ge({'row':_0xe43078[_0x18249(0x3d0)]+_0x5ed557+_0xdfe42a,'col':_0xe43078['col']},_0x332bee,!0x1,!0x1),_0x1c0d30=ge({'row':_0xe43078['row']+_0x5ed557+_0xdfe42a+_0x31426a,'col':_0xe43078[_0x18249(0x3ab)]},_0x24d865,!0x1,!0x0),_0x2f0ff6=ge({'row':_0xe43078[_0x18249(0x3d0)]+_0x5ed557+_0xdfe42a,'col':_0xe43078['col']+_0x1c3c8e},_0x29f2c9,!0x1,!0x0),_0x4b07c3=ge({'row':_0xe43078[_0x18249(0x3d0)]+_0x5ed557+_0xdfe42a+_0x31426a,'col':_0xe43078[_0x18249(0x3ab)]+_0x1c3c8e},_0x53aa3d,!0x1,!0x0);_0x2b71d0=[..._0x188272,..._0x47efad,..._0x1c0d30,..._0x2f0ff6,..._0x4b07c3];}return _0x2b71d0;}[_0x106979(0x3b5)](){const _0x31685f=_0x106979;this[_0x31685f(0x31f)](this['_sheetsPivotTableService'][_0x31685f(0x1fb)]['intercept'](this[_0x31685f(0x3f3)][_0x31685f(0x1fb)][_0x31685f(0x247)]()[_0x31685f(0x1af)],{'handler':(_0x558ca9,_0x2fde1f)=>{const _0x269b18=_0x31685f,{cellInfo:_0xb12bdd,view:_0x310d11,isEmpty:_0x412cad}=_0x2fde1f,_0x2d85ab=_0xb12bdd,{unitId:_0x14c90e,subUnitId:_0x3e7f5c}=_0x2d85ab,_0x233b29=this['_getPivotAppliedRanges'](_0xb12bdd,_0x310d11,_0x412cad),_0x2c424f=this['_sheetInterceptorService']['generateMutationsByRanges']({'unitId':_0x14c90e,'subUnitId':_0x3e7f5c,'ranges':_0x233b29}),_0x355a15=Ko(this[_0x269b18(0x377)],_0x14c90e,_0x3e7f5c,_0x233b29);_0x355a15[_0x269b18(0x284)]&&(_0x2c424f[_0x269b18(0x402)][_0x269b18(0x32d)](_0x355a15[_0x269b18(0x344)]),_0x2c424f[_0x269b18(0x3e7)]['push'](_0x355a15[_0x269b18(0x204)]));const _0x26eeb5=this[_0x269b18(0x1ea)](_0x310d11,_0xb12bdd);return _0x2c424f['redos'][_0x269b18(0x32d)](..._0x26eeb5[_0x269b18(0x402)]),_0x2c424f[_0x269b18(0x3e7)][_0x269b18(0x32d)](..._0x26eeb5[_0x269b18(0x3e7)]),{'redos':_0x2c424f['redos'],'undos':_0x2c424f[_0x269b18(0x3e7)]};}}));}[_0x106979(0x1ea)](_0x5d5c8f,_0x71c338){const _0x4cf428=_0x106979,{col:_0x7ac27,unitId:_0x43184c,subUnitId:_0x4a09c4}=_0x71c338,_0x10bc40=[],_0x51b870=[],_0x1b4f3e=_0x3f65ca(this['_univerInstanceService'],{'unitId':_0x43184c,'subUnitId':_0x4a09c4});if(!_0x71c338||!_0x5d5c8f||!_0x1b4f3e)return{'undos':_0x51b870,'redos':_0x10bc40};const _0x322293=this[_0x4cf428(0x2f8)][_0x4cf428(0x26e)](),{colView:_0x4bf014,dataView:_0x480173,cornerView:_0x525cfa,rowView:_0x11c005,formatMap:_0x4ccfcb}=_0x5d5c8f,_0x537d8b=To(_0x4bf014,_0x322293,!0x0,_0x4ccfcb),_0x5b2ded=To(_0x11c005,_0x322293,!0x1,_0x4ccfcb),_0x485da8=$i(_0x480173),_0x492a0a=Gi(_0x525cfa),{worksheet:_0x59d9ae}=_0x1b4f3e;if(typeof window<'u'&&window['document']){const _0x52a981=_0x4f5aa1({...fe['colStyle']}),_0x48fb71=_0xe954c9['getTextSize'](_0x537d8b,_0x52a981)[_0x4cf428(0x2a8)]+0x10,_0x4c0ca=_0xe954c9[_0x4cf428(0x351)](_0x485da8,_0x52a981)['width'],_0x12a2e0=Math[_0x4cf428(0x256)](Math[_0x4cf428(0x371)](_0x48fb71,_0x4c0ca))+0x10,_0x3930ab=Math[_0x4cf428(0x256)](_0xe954c9[_0x4cf428(0x351)](_0x5b2ded,_0x52a981)[_0x4cf428(0x2a8)]),_0x424b7f=Math[_0x4cf428(0x256)](_0xe954c9[_0x4cf428(0x351)](_0x492a0a,_0x52a981)[_0x4cf428(0x2a8)]),_0x2d90e9=Math[_0x4cf428(0x371)](_0x3930ab,_0x424b7f,0x28)+0xc,_0x2bef2b=_0x4bf014[_0x4cf428(0x214)]+_0x525cfa['colCount'],_0x1b48f0={},_0x4109f4={};for(let _0x5e0a6d=_0x7ac27;_0x5e0a6d<_0x7ac27+_0x2bef2b;_0x5e0a6d++){const _0x49e864=_0x59d9ae[_0x4cf428(0x349)](_0x5e0a6d);_0x1b48f0[_0x5e0a6d]=_0x49e864,_0x5e0a6d-_0x7ac27<_0x525cfa['colCount']?_0x4109f4[_0x5e0a6d-_0x7ac27]=_0x2d90e9:_0x4109f4[_0x5e0a6d-_0x7ac27]=_0x12a2e0;}_0x10bc40[_0x4cf428(0x32d)]({'id':_0x35ef1a['id'],'params':{'subUnitId':_0x4a09c4,'unitId':_0x43184c,'ranges':[{'startColumn':_0x7ac27,'endColumn':_0x7ac27+_0x2bef2b-0x1,'startRow':0x0,'endRow':_0x59d9ae[_0x4cf428(0x1e6)]()-0x1}],'colWidth':_0x4109f4}}),_0x51b870[_0x4cf428(0x32d)]({'id':_0x35ef1a['id'],'params':{'subUnitId':_0x4a09c4,'unitId':_0x43184c,'ranges':[{'startColumn':_0x7ac27,'endColumn':_0x7ac27+_0x2bef2b-0x1,'startRow':0x0,'endRow':_0x59d9ae[_0x4cf428(0x1e6)]()-0x1}],'colWidth':_0x1b48f0}});}return{'undos':_0x51b870,'redos':_0x10bc40};}};ut=Ls([qe(0x0,_0x1b9fdc(_0x3d09ef)),qe(0x1,_0x1b9fdc(_0x50fd92)),qe(0x2,_0x1b9fdc(_0x575649)),qe(0x3,_0x1b9fdc(_0x5104e9)),qe(0x4,_0x1b9fdc(ve)),qe(0x5,_0x1b9fdc(ie))],ut);var $s=Object[_0x106979(0x334)],Gs=(_0x448478,_0x2e2040,_0x137e7f,_0x56ccee)=>{for(var _0x5e6274=_0x56ccee>0x1?void 0x0:_0x56ccee?$s(_0x2e2040,_0x137e7f):_0x2e2040,_0x432770=_0x448478['length']-0x1,_0x5f32d2;_0x432770>=0x0;_0x432770--)(_0x5f32d2=_0x448478[_0x432770])&&(_0x5e6274=_0x5f32d2(_0x5e6274)||_0x5e6274);return _0x5e6274;},ke=(_0x4ed304,_0x5e223d)=>(_0x8b66b4,_0x690a8e)=>_0x5e223d(_0x8b66b4,_0x690a8e,_0x4ed304);let ft=class extends _0xf281b6{constructor(_0x21a077,_0x28bd8c,_0x587564,_0x251b64,_0x1b3749,_0x57e36f,_0x52f10b){const _0x269ded=_0x106979;super(),U(this,_0x269ded(0x22f),new _0x194a14()),(this[_0x269ded(0x377)]=_0x21a077,this[_0x269ded(0x3b3)]=_0x28bd8c,this[_0x269ded(0x2a7)]=_0x587564,this[_0x269ded(0x343)]=_0x251b64,this[_0x269ded(0x2f8)]=_0x1b3749,this[_0x269ded(0x311)]=_0x57e36f,this[_0x269ded(0x1f2)]=_0x52f10b,this[_0x269ded(0x3d4)]());}[_0x106979(0x3d4)](){const _0xae932f=_0x106979,_0x2cfed8=(_0x1083e1,_0x391ac3)=>{const _0x57e4ec=_0x2baf,_0x15cc28=this[_0x57e4ec(0x343)]['getCurrentUnitForType'](_0x193d62[_0x57e4ec(0x328)]);if(!_0x15cc28||!(_0x15cc28==null?void 0x0:_0x15cc28[_0x57e4ec(0x241)](_0x391ac3)))return;this[_0x57e4ec(0x22f)][_0x57e4ec(0x2de)]();const _0x31e63d=_0x596da7=>this['_refRangeHandle'](_0x596da7,_0x1083e1,_0x391ac3),_0x299cde=this['_sheetsPivotTableConfigModel'][_0x57e4ec(0x432)](_0x1083e1,_0x391ac3);if(!(_0x299cde!=null&&_0x299cde[_0x57e4ec(0x387)]))return;Array[_0x57e4ec(0x414)](_0x299cde['values']())[_0x57e4ec(0x3ce)](_0x4b72e0=>{const {row:_0x3a7e00,col:_0x37b5e7}=_0x4b72e0['targetCellInfo'];return _0x2adf2b(_0x3a7e00,_0x37b5e7);})[_0x57e4ec(0x3ec)](_0x5c68f7=>{const _0x2db51f=_0x57e4ec;this[_0x2db51f(0x22f)]['add'](this[_0x2db51f(0x3b3)][_0x2db51f(0x347)](_0x5c68f7,_0x31e63d,_0x1083e1,_0x391ac3));});},_0x5062c9=()=>{const _0x23cb4f=_0x2baf,_0x1424dc=this[_0x23cb4f(0x343)][_0x23cb4f(0x352)](_0x193d62[_0x23cb4f(0x328)]);if(_0x1424dc){const _0x5e2f5b=_0x1424dc[_0x23cb4f(0x3d9)]();if(!_0x5e2f5b)return;_0x2cfed8(_0x1424dc[_0x23cb4f(0x3a1)](),_0x5e2f5b[_0x23cb4f(0x2bd)]());}};this[_0xae932f(0x31f)](this[_0xae932f(0x2a7)][_0xae932f(0x23f)](_0x379c99=>{const _0x2b8ceb=_0xae932f;if(_0x379c99['id']===_0x262a4e['id']){const _0x2504b5=_0x379c99[_0x2b8ceb(0x218)],_0xaa796d=_0x2504b5[_0x2b8ceb(0x409)],_0x4d80aa=_0x2504b5[_0x2b8ceb(0x20a)];if(!_0xaa796d||!_0x4d80aa)return;_0x2cfed8(_0x4d80aa,_0xaa796d);}})),this['disposeWithMe'](this[_0xae932f(0x2f8)][_0xae932f(0x1f1)]['subscribe'](_0x5cf98c=>{_0x5cf98c&&_0x5062c9();})),this[_0xae932f(0x31f)](this[_0xae932f(0x2f8)][_0xae932f(0x1b2)][_0xae932f(0x1c2)](_0x476ae9=>{const _0x564e82=_0xae932f,_0x14d7bc=_0x3f65ca(this[_0x564e82(0x343)]);if(!_0x14d7bc)return;const {unitId:_0x3079c9,subUnitId:_0x3109c1}=_0x14d7bc,{unitId:_0x5a6746,subUnitId:_0x4d1ce0}=_0x476ae9;_0x3079c9!==_0x5a6746||_0x3109c1!==_0x4d1ce0||_0x2cfed8(_0x3079c9,_0x3109c1);})),_0x5062c9();}[_0x106979(0x2f6)](_0x1c08ef,_0x5cb022,_0x4eb4d7){const _0x581cd6=_0x106979;switch(_0x1c08ef['id']){case _0xfbb3b8['id']:return this[_0x581cd6(0x423)](_0x1c08ef['params'],_0x5cb022,_0x4eb4d7);}return{'redos':[],'undos':[]};}[_0x106979(0x423)](_0x34854d,_0x14eb61,_0x579422){const _0x1b1542=_0x106979,{fromRange:_0x1fa3b4,toRange:_0x5101b0}=_0x34854d,_0x2e1c85=[],_0x6cda6a=[],_0x14cc31=_0x3f65ca(this[_0x1b1542(0x343)]);if(!_0x14cc31)return{'undos':_0x6cda6a,'redos':_0x2e1c85};if(_0x14eb61!==_0x14cc31['unitId']||_0x579422!==_0x14cc31[_0x1b1542(0x409)])return{'undos':_0x6cda6a,'redos':_0x2e1c85};const _0x3b234a=this[_0x1b1542(0x2f8)]['getSubUnitPivotConfigs'](_0x14eb61,_0x579422);if(_0x3b234a!=null&&_0x3b234a[_0x1b1542(0x387)])for(const [_0x309f46,_0xe19e3a]of _0x3b234a){const {unitId:_0x2dafc9,subUnitId:_0x580ae4,row:_0x467755,col:_0x131471}=_0xe19e3a[_0x1b1542(0x1a9)];if(_0x2dafc9===_0x14cc31[_0x1b1542(0x20a)]&&_0x580ae4===_0x14cc31[_0x1b1542(0x409)]){const _0x226609=_0x2adf2b(_0x467755,_0x131471);if(_0x5dcab['intersects'](_0x226609,_0x1fa3b4)){const _0x492421=_0x467755-_0x1fa3b4[_0x1b1542(0x308)],_0xc6ceaa=_0x131471-_0x1fa3b4[_0x1b1542(0x350)],_0x2d5186={'row':_0x5101b0[_0x1b1542(0x308)]+_0x492421,'col':_0x5101b0[_0x1b1542(0x350)]+_0xc6ceaa};_0x2e1c85[_0x1b1542(0x32d)]({'id':pt['id'],'params':{'unitId':_0x2dafc9,'subUnitId':_0x580ae4,'pivotTableId':_0x309f46,'targetCellPosition':_0x2d5186}}),_0x6cda6a[_0x1b1542(0x32d)]({'id':pt['id'],'params':{'unitId':_0x2dafc9,'subUnitId':_0x580ae4,'pivotTableId':_0x309f46,'targetCellPosition':{'row':_0x467755,'col':_0x131471}}});const _0x2bde22=_0x2d5186[_0x1b1542(0x3d0)]-_0x467755,_0x513ecd=_0x2d5186[_0x1b1542(0x3ab)]-_0x131471,_0x250243=[],_0x33bb59=this[_0x1b1542(0x311)][_0x1b1542(0x40d)](_0x2dafc9,_0x580ae4,_0x309f46),_0x33f660=_0x33bb59==null?void 0x0:_0x33bb59[_0x1b1542(0x3cb)];if(_0x33f660){Object[_0x1b1542(0x2f0)](_0x33f660)[_0x1b1542(0x3ec)](_0x4d39f5=>{const _0x57a9ac=_0x1b1542;_0x33f660[_0x4d39f5][_0x57a9ac(0x3ec)](_0x4ffe66=>{const _0x7c9a9b=_0x57a9ac,_0x173597={..._0x4ffe66};_0x173597[_0x7c9a9b(0x308)]=_0x4ffe66['startRow']+_0x2bde22,_0x173597[_0x7c9a9b(0x364)]=_0x4ffe66['endRow']+_0x2bde22,_0x173597[_0x7c9a9b(0x350)]=_0x4ffe66[_0x7c9a9b(0x350)]+_0x513ecd,_0x173597['endColumn']=_0x4ffe66[_0x7c9a9b(0x1f7)]+_0x513ecd,_0x250243[_0x7c9a9b(0x32d)](_0x173597);});});const _0x239c4c=this[_0x1b1542(0x1f2)][_0x1b1542(0x1e0)]({'unitId':_0x2dafc9,'subUnitId':_0x580ae4,'ranges':_0x250243});_0x2e1c85[_0x1b1542(0x32d)](..._0x239c4c[_0x1b1542(0x402)]),_0x6cda6a[_0x1b1542(0x32d)](..._0x239c4c[_0x1b1542(0x3e7)]);const _0x27f1d1=Ko(this['_injector'],_0x2dafc9,_0x580ae4,_0x250243);_0x27f1d1[_0x1b1542(0x284)]&&(_0x2e1c85[_0x1b1542(0x32d)](_0x27f1d1[_0x1b1542(0x344)]),_0x6cda6a['push'](_0x27f1d1[_0x1b1542(0x204)]));}}}}return{'redos':_0x2e1c85,'undos':_0x6cda6a};}};ft=Gs([ke(0x0,_0x1b9fdc(_0x575649)),ke(0x1,_0x1b9fdc(_0x5d8ae1)),ke(0x2,_0x5993ab),ke(0x3,_0x5104e9),ke(0x4,_0x1b9fdc(ve)),ke(0x5,_0x1b9fdc(Ve)),ke(0x6,_0x1b9fdc(_0x50fd92))],ft);var Js=Object[_0x106979(0x334)],js=(_0x7c7795,_0x120ffb,_0x187f3d,_0x2ffba8)=>{for(var _0x1f4930=_0x2ffba8>0x1?void 0x0:_0x2ffba8?Js(_0x120ffb,_0x187f3d):_0x120ffb,_0x2551ab=_0x7c7795['length']-0x1,_0x4e82f7;_0x2551ab>=0x0;_0x2551ab--)(_0x4e82f7=_0x7c7795[_0x2551ab])&&(_0x1f4930=_0x4e82f7(_0x1f4930)||_0x1f4930);return _0x1f4930;},_o=(_0xd30314,_0x4c8623)=>(_0x47c0e9,_0x4fa346)=>_0x4c8623(_0x47c0e9,_0x4fa346,_0xd30314);let gt=class extends _0xf281b6{constructor(_0x5eca74,_0x407b4e){const _0x32f1ff=_0x106979;super(),this[_0x32f1ff(0x1f2)]=_0x5eca74,this[_0x32f1ff(0x2f8)]=_0x407b4e,this[_0x32f1ff(0x327)]();}[_0x106979(0x327)](){const _0xf33abe=_0x106979;this[_0xf33abe(0x31f)](this['_sheetInterceptorService'][_0xf33abe(0x390)]({'getMutations':_0x4c1404=>{const _0x9664de=_0xf33abe;if(_0x4c1404['id']===_0x332c04['id']){const _0x152074=[],_0x2e84d6=[],_0x4f09db=_0x4c1404[_0x9664de(0x218)],{unitId:_0x138eca,subUnitId:_0x3ebd39}=_0x4f09db;if(!_0x138eca||!_0x3ebd39)return{'undos':_0x2e84d6,'redos':_0x152074};const _0x45af4f=this[_0x9664de(0x2f8)][_0x9664de(0x432)](_0x138eca,_0x3ebd39);if(_0x45af4f!=null&&_0x45af4f[_0x9664de(0x387)])for(const [_0x391886,_0x5754f6]of _0x45af4f){_0x152074['push']({'id':xt['id'],'params':{'unitId':_0x138eca,'subUnitId':_0x3ebd39,'pivotTableId':_0x391886}});const _0x475966={...this[_0x9664de(0x2f8)][_0x9664de(0x3b0)](_0x138eca,_0x391886)};_0x2e84d6[_0x9664de(0x32d)]({'id':Ct['id'],'params':{'unitId':_0x138eca,'subUnitId':_0x3ebd39,'pivotTableId':_0x391886,'pivotTableConfig':_0x5754f6,'collectionConfig':_0x475966}});}return{'redos':_0x152074,'undos':_0x2e84d6};}return{'redos':[],'undos':[]};}}));}};gt=js([_o(0x0,_0x1b9fdc(_0x50fd92)),_o(0x1,_0x1b9fdc(ve))],gt);var Ws=Object[_0x106979(0x334)],Hs=(_0x56a759,_0x2a27d4,_0x47be9a,_0xb4f7fe)=>{const _0x143734=_0x106979;for(var _0x5f345d=_0xb4f7fe>0x1?void 0x0:_0xb4f7fe?Ws(_0x2a27d4,_0x47be9a):_0x2a27d4,_0x5d66d9=_0x56a759[_0x143734(0x1e7)]-0x1,_0x5401db;_0x5d66d9>=0x0;_0x5d66d9--)(_0x5401db=_0x56a759[_0x5d66d9])&&(_0x5f345d=_0x5401db(_0x5f345d)||_0x5f345d);return _0x5f345d;},Xe=(_0x1f4dd5,_0x5aafb8)=>(_0x3bd587,_0x244fba)=>_0x5aafb8(_0x3bd587,_0x244fba,_0x1f4dd5);let ht=class extends _0xf281b6{constructor(_0x37f270,_0x2f9041,_0x257344,_0x427117,_0x24c46a,_0x25ba26){const _0x195f54=_0x106979;super(),this[_0x195f54(0x2a7)]=_0x37f270,this[_0x195f54(0x281)]=_0x2f9041,this['_sheetsPivotTableAdaptorModel']=_0x257344,this[_0x195f54(0x2f8)]=_0x427117,this[_0x195f54(0x343)]=_0x24c46a,this['_activeDirtyManagerService']=_0x25ba26,this[_0x195f54(0x1d7)](),this[_0x195f54(0x230)]();}[_0x106979(0x1d7)](){const _0x318433=_0x106979;this[_0x318433(0x31f)](this['_commandService']['onCommandExecuted'](_0x532a23=>{const _0xd3a67a=_0x318433;if(_0x532a23['id']!==lo['id'])return;const _0xd57ad7=_0x532a23[_0xd3a67a(0x218)];this[_0xd3a67a(0x281)]['handleAsyncResponse'](_0xd57ad7);})),this[_0x318433(0x31f)](this[_0x318433(0x2a7)][_0x318433(0x23f)](_0x5d5e4d=>{const _0x353e2b=_0x318433;if(_0x5d5e4d['id']===co['id']){const _0x53510d=_0x5d5e4d[_0x353e2b(0x218)];if(_0x53510d){const {unitId:_0x3448e1,subUnitId:_0x1de196,oldSubUnitId:_0x5b4164,pivotTableId:_0x263e8a,pivotTableConfig:_0x13d894,collectionConfig:_0x55c9f3}=_0x53510d;this[_0x353e2b(0x2f8)][_0x353e2b(0x1c6)](_0x3448e1,_0x5b4164,_0x53510d[_0x353e2b(0x2cc)],null),this[_0x353e2b(0x2f8)][_0x353e2b(0x1c6)](_0x3448e1,_0x1de196,_0x263e8a,_0x13d894),this['_sheetsPivotTableConfigModel'][_0x353e2b(0x24b)](_0x3448e1,_0x55c9f3);}}})),this[_0x318433(0x31f)](this[_0x318433(0x2a7)]['onCommandExecuted'](_0x5ce6d7=>{const _0x500df4=_0x318433;if(_0x5ce6d7['id']!==Dt['id'])return;const _0x5c5b0c=_0x3f65ca(this['_univerInstanceService']);if(!_0x5c5b0c)return;const {unitId:_0x471910,subUnitId:_0x323abe}=_0x5c5b0c,_0x471322=_0x5ce6d7[_0x500df4(0x218)];if(_0x471322[_0x500df4(0x3c1)]&&Object[_0x500df4(0x2f0)](_0x471322[_0x500df4(0x3c1)])['forEach'](_0x4795bb=>{const _0x3ab19a=_0x500df4;var _0x478907;(_0x478907=_0x471322[_0x3ab19a(0x3c1)])!=null&&_0x478907[_0x4795bb]&&this[_0x3ab19a(0x2f8)]['updateCollectionConfig'](_0x4795bb,_0x471322[_0x3ab19a(0x3c1)][_0x4795bb]);}),_0x471322[_0x500df4(0x3bf)]){const _0x11a0dd=_0x471322[_0x500df4(0x3bf)],{unitId:_0x5bc524,subUnitId:_0x340122,view:_0x882925,pivotTableId:_0x3b5388,type:_0x155fe3,pivotConfig:_0x4cb74c}=_0x11a0dd;if(_0x155fe3===$[_0x500df4(0x326)])this['_sheetsPivotTableAdaptorModel'][_0x500df4(0x27e)]({'unitId':_0x5bc524,'subUnitId':_0x340122,'pivotTableId':_0x3b5388,'type':_0x155fe3}),this[_0x500df4(0x2f8)][_0x500df4(0x1c6)](_0x5bc524,_0x340122,_0x3b5388,null);else{const _0x95854c=new _0x4904e9();_0x95854c['formJSON'](_0x882925),this['_sheetsPivotTableConfigModel'][_0x500df4(0x1c6)](_0x5bc524,_0x340122,_0x3b5388,_0x4cb74c),this['_sheetsPivotTableAdaptorModel'][_0x500df4(0x27e)]({'unitId':_0x5bc524,'subUnitId':_0x340122,'pivotTableId':_0x3b5388,'type':_0x155fe3,'view':_0x95854c}),this[_0x500df4(0x311)][_0x500df4(0x215)]({'unitId':_0x5bc524,'subUnitId':_0x340122,'view':_0x95854c,'pivotTableId':_0x3b5388,'type':_0x155fe3});}}else _0x471322[_0x500df4(0x3dc)]&&(_0x471322['batch'][_0x500df4(0x3ec)](_0x583b77=>{const _0x5ba435=_0x500df4,{unitId:_0x12f4c1,subUnitId:_0x1b3dce,view:_0x433655,pivotTableId:_0x563b6f,type:_0x527193,pivotConfig:_0x43d837}=_0x583b77,_0xf0ada1=new _0x4904e9();_0xf0ada1[_0x5ba435(0x306)](_0x433655),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x12f4c1,_0x1b3dce,_0x563b6f,_0x43d837),this[_0x5ba435(0x311)]['updateRenderCache']({'unitId':_0x12f4c1,'subUnitId':_0x1b3dce,'view':_0xf0ada1,'pivotTableId':_0x563b6f,'type':_0x527193});}),this['_sheetsPivotTableConfigModel'][_0x500df4(0x394)]());this[_0x500df4(0x311)]['markDirty'](_0x471910,_0x323abe);}));}[_0x106979(0x230)](){const _0x38419f=_0x106979;this[_0x38419f(0x3b9)][_0x38419f(0x342)](Nt['id'],{'commandId':Nt['id'],'getDirtyData'(_0x43726e){const _0x5aa964=_0x38419f;return{'dirtyUnitFeatureMap':_0x43726e[_0x5aa964(0x218)]};}});}};ht=Hs([Xe(0x0,_0x1b9fdc(_0x5993ab)),Xe(0x1,_0x1b9fdc(Q)),Xe(0x2,_0x1b9fdc(Ve)),Xe(0x3,_0x1b9fdc(ve)),Xe(0x4,_0x1b9fdc(_0x5104e9)),Xe(0x5,_0x5339e5)],ht);var Ks=Object[_0x106979(0x1cb)],qs=Object[_0x106979(0x334)],Xs=(_0x2ef2ee,_0x4df89b,_0x77f7b8)=>_0x4df89b in _0x2ef2ee?Ks(_0x2ef2ee,_0x4df89b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x77f7b8}):_0x2ef2ee[_0x4df89b]=_0x77f7b8,Ys=(_0x7dca72,_0x4702ef,_0x3e639b,_0x48d4d7)=>{for(var _0x3db571=_0x48d4d7>0x1?void 0x0:_0x48d4d7?qs(_0x4702ef,_0x3e639b):_0x4702ef,_0x3adf61=_0x7dca72['length']-0x1,_0x40b163;_0x3adf61>=0x0;_0x3adf61--)(_0x40b163=_0x7dca72[_0x3adf61])&&(_0x3db571=_0x40b163(_0x3db571)||_0x3db571);return _0x3db571;},Ft=(_0x2727e6,_0x522c42)=>(_0x4da027,_0x1e81a4)=>_0x522c42(_0x4da027,_0x1e81a4,_0x2727e6),zo=(_0x8d3211,_0x4a8cfe,_0x5051c8)=>Xs(_0x8d3211,typeof _0x4a8cfe!=_0x106979(0x1f4)?_0x4a8cfe+'':_0x4a8cfe,_0x5051c8);let Ut=class extends _0x1f2f58{constructor(_0x36bd28=yo,_0x545214,_0x20d154,_0x551292,_0xf1e12a){const _0x1c2b0b=_0x106979;super(),this[_0x1c2b0b(0x30f)]=_0x36bd28,this[_0x1c2b0b(0x377)]=_0x545214,this[_0x1c2b0b(0x2a7)]=_0x20d154,this[_0x1c2b0b(0x3ba)]=_0x551292,this[_0x1c2b0b(0x318)]=_0xf1e12a;const {..._0x31f617}=_0x1b73f9({},yo,this[_0x1c2b0b(0x30f)]);this[_0x1c2b0b(0x3ba)][_0x1c2b0b(0x405)](Xo,_0x31f617),this[_0x1c2b0b(0x2af)](),this[_0x1c2b0b(0x1fa)]();}['_initConfig'](){const _0x4faef4=_0x106979;var _0x53f31e;const _0x5980f1=(_0x53f31e=this[_0x4faef4(0x30f)])==null?void 0x0:_0x53f31e[_0x4faef4(0x1cf)];this[_0x4faef4(0x3ba)][_0x4faef4(0x405)](q,_0x5980f1===!0x0);}['onStarting'](){const _0x120c00=_0x106979;var _0x2d07b6;let _0x21b8a6=[];const _0x4428c2=(_0x2d07b6=this['_config'])==null?void 0x0:_0x2d07b6[_0x120c00(0x1cf)];_0x4428c2===!0x0?_0x21b8a6=[[ie],[Q],[ht],[Ve],[ve],[gt],[dt],[ft],[ut]]:_0x4428c2===!0x1?_0x21b8a6=[[G],[ct]]:_0x4428c2===void 0x0&&(_0x21b8a6=[[G],[ct],[ie],[Q],[ht],[Ve],[ve],[gt],[dt],[ft],[ut]]),_0x21b8a6[_0x120c00(0x3ec)](_0x1a6e5=>this['_injector'][_0x120c00(0x370)](_0x1a6e5)),[ct,ht,ie,dt,gt,ft,ut][_0x120c00(0x3ec)](_0x24ce77=>{const _0x4f8407=_0x120c00;this[_0x4f8407(0x377)]['has'](_0x24ce77)&&this[_0x4f8407(0x377)][_0x4f8407(0x335)](_0x24ce77);});}[_0x106979(0x2af)](){const _0x5f254d=_0x106979;[vs,ps,hs,ms,Cs,Ms,Ds,bs,Ss,Ps,Ts,ys,ws,Is,Ct,oo,xt,Gt,Yo,Zo,Kt,Jt,jt,Wt,Xt,qt,pt,ro,lo,Dt,zt,eo,Yt,Ht,uo,to,Qt,Nt,co,_s,Zt,Fs,Rs][_0x5f254d(0x3ec)](_0x38d387=>{const _0x243ef0=_0x5f254d;var _0x15d16b;(_0x15d16b=this['_dataSyncPrimaryController'])==null||_0x15d16b[_0x243ef0(0x229)](_0x38d387),this[_0x243ef0(0x2a7)]['registerCommand'](_0x38d387);});}};zo(Ut,_0x106979(0x3c2),ao),zo(Ut,_0x106979(0x1ad),_0x193d62[_0x106979(0x328)]),Ut=Ys([_0x23bb17(_0x5e74e4),Ft(0x1,_0x1b9fdc(_0x575649)),Ft(0x2,_0x1b9fdc(_0x5993ab)),Ft(0x3,_0x2086c7),Ft(0x4,_0x37570f(_0x50c3f6))],Ut);export{hs as AddPivotFieldCommand,Gt as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,vs as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,ws as MovePivotTableCommand,k as PivotDisplayDataType,Is as PivotDrillDownCommand,$ as PivotTableOperationEnum,Nt as PivotTableViewDirtyMarkOperation,Bo as PositionType,Cs as RemovePivotFieldCommand,Jt as RemovePivotFieldMutation,xt as RemovePivotTableMutation,jt as RenamePivotFieldMutation,Rs as ResetPivotFieldsConfigCommand,Xo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,Wt as SetPivotCollapseMutation,Ht as SetPivotFieldFormatMutation,Fs as SetPivotFieldsConfigCommand,Ps as SetPivotFilterCommand,Kt as SetPivotFilterMutation,qt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ss as SetPivotSortCommand,Xt as SetPivotSortMutation,Yt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Zt as SetPivotValueFilterMutation,G as SheetsPivotDataSourceModel,Q as SheetsPivotRPCService,Ve as SheetsPivotTableAdaptorModel,ve as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Ut as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,zt as UpdateFieldPositionMutation,Ts as UpdatePivotFieldSettingCommand,Qt as UpdatePivotFieldSourceInfoMutation,ys as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,Ms as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,Ho as canUsePivot,fe as defaultThemeStyle,Ko as generateSetRangeValueMutations,ge as getAdjustRangesPosition,ki as getEmptyPivotRanges,Vt as getFieldListByArea,we as getInsertRowColMutations,xi as getPivotCellInfo,go as getPivotInfoByLicense,Oi as getPivotTableInfo,vt as transFromCellValue,$t as unionPivotViewRange};