@univerjs-pro/sheets-pivot 0.4.1 → 0.4.2-nightly.202410291606

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x59a5(){const _0x5d5e7a=['colInfo','isDateValue','pageStyle','leftOffset','filterFields','register','generateRandomId','sheet.mutation.add-pivot-field','UniverSheetsPivotTablePlugin','exports','hasField','PivotTableValuePositionEnum','rgb(240,241,243)','addField','concat','getDataFieldManager','REF','formJSON','NotName','_createExclusiveRange','getDirtyInfo','handleMoveRange','valuePosition','max','_ensurePivotItemRenderInfoCache','Add','iterateFieldDim','sheet.mutation.set-pivot-filter','numberToABC','getTableFieldById','sheets.tabs.sheet','tableFieldId','workbook\x20is\x20not\x20found','sheet.command.add-pivot-table-with-config','PivotFilterTypeEnum','unitId','getMatrix','notExecuteFormula','number','UniverLicense','getPivotTableMatrixInfo','size','sheet.mutation.update-pivot-table-source-range','AddPivotTable','UniverSheetsPivot','sheet.mutation.pivot-update-field-source-info','getMatrixValue','viewUpdate$','date','STRING','rangeKeyMap','sheets-pivot.emptyPivot.row','sheets-pivot.varpName','set','ICommandService','_pivotTableRangeInfo','setDirty','@univerjs/engine-formula','registerSyncingMutations','sheets-pivot.maxName','generateNewSheetName','_viewData','UniverEngineFormula','realDeleteValue','collections','_sheetsPivotTableConfigModel','getPivotTableCellData','CommandType','7orxmMr','updateRangeKeyMap','countNums','sum','NUMBER','updateCollectionConfig','SetPivotSort','prototype','_sheetsPivotDataSourceModel','getName','UniverInstanceType','isEmpty','registerPluginResource','node','_textInfo','updateAllDisplayName','generateHexNumber','targetCellInfo','_getAutoName','DrillDown','sheet.mutation.remove-pivot-table','sheet.mutation.pivot-update-field-position','updateValuePosition','configVersion$','removeSourceRangeChange','sheet.mutation.set-pivot-sort-info','col','updateRenderCache','Value','info','needSameDeleteModel','Max\x20of\x20','PivotViewCellValueTypeEnum','cornerInfo','1441686NPCeCv','NotNumber','getConfig','UNIVER_SHEET','addPivotTableWithConfig','getId','range','#e6ebfb','dispose','ptn','deepClone','unshiftString','18ItuDbz','isFeatureAuthorizedWithinTime','_initUnitDisposed','_updateModelCache','addPivotField','adjustSheetCellData','sequenceExecute','_initPivotDataGetListener','_viewData$','get','timeValid','Total','row','viewData$','update','Panel','removePivotTable','Column\x20','colRanges','rangeCache','entries','subtotal','addFieldWithSourceId','markDirty$','_updatePivotTableInstanceCache','areaInfo','getFieldPositionInfoById','Sum\x20of\x20','_configService','subUnitId','keys','disposeWithMe','getIntersectsPivotTable','SetPivotOptionMutation','sheets-pivot.blank','token','fieldIds','substring','CustomCommandExecutionError','random','SetFilterInfo','queryDirtyPivotTable','getLastCol','dataStream','leafStyle','updateViewInfo','FORCE_STRING','dataRangeInfo','_initDataSendListener','setPivotSort','DIV_BY_ZERO','_pivotInitCompleted$','startCollectChangeset','createLabelField','UpdateValuePositionMutation','removeField','isArray','unionPivotViewRange','oldMatrix','_deleteModelCache','Rectangle','getFieldFormat','Filter','rxjs','getPivotInfoByLicense','isErrorValue','getFieldListByArea','error','removeDataField','onStarting','asObservable','LifecycleService','sheets-pivot.value','remove','SetSubtotalType','fieldsConfig','RemovePivotField','ObjectMatrix','object','filter','SetOptions','#b2b2b2','getTargetByPivotId','removeCollections','next','setTextInfo','_ensureViewDataMap','sheet.mutation.set-pivot-format','splice','panel','sheet.mutation.rename-pivot-field','column','PivotTableChangeTypeEnum','PivotView','sheets-pivot.emptyPivot.values','sheets-pivot.countNumsName','getDataFieldByTableId','has','SetPivotCollapseMutation','getSubtotal','level','DataSyncPrimaryController','getDataFieldId','_initPivotTextInfo','count','endColumn','getPivotTableIdByCell','_pivotTableMatrixInfo','setConfig','getCollection','getUnit','180602SuCBau','getCurrentUnitForType','Count\x20of\x20','_sheetsPivotTableAdaptorModel','fromJSON','forValue','string','PivotTableOperationEnum','uniqueDataFieldName','@univerjs-pro/license','InsertSheetCommand','AddPivotTableWithConfig','SheetInterceptorService','Set','_updateRenderEmptyCache','Column','delete','lastRow','isColMultiMeasure','updateFieldPosition','Grand\x20Total','broadcastCollectionChange','addPivotTable','_collectionChange$','_exclusiveRangeService','parse','getIndexesByPathStr','setSortInfo','query','getDisplayName','sheets-pivot.averageName','LS_CONFIG_KEY','getFormat','_commandService','_initTimeValid','onCommandExecuted','Collapse','deleteDataField','UniverEnginePivot','Product\x20of\x20','getSubUnitPivotMatrix','None','collectionChange$','Var\x20of\x20','Inject','SetFieldFormat','format','975424wsizpz','Div0','rangesInfo','getLastRow','dimension','unshift','RANGE_TYPE','getPivotDisplayConfig','fontRenderExtension','sheets-pivot.grandTotal','createCollectionWithDataRange','addCollection','_initRegisterCommand','dataFieldsCollection','MovePivotField','updateFieldSourceInfo','addDirtyPivotTable','dataStyle','movePivotField','getSourceName','IUniverInstanceService','forEach','mergeWorksheetSnapshotWithDefault','getValuePosition','endCollectChangeset','_ensurePivotItemRenderValueMatrixCache','tuple','d32nAhy2\x20bmnG9fAhy2(Uhnm2pm,\x20f3kUhnem9)\x20{\x20\x20\x20\x20ny2pA\x20Uhnm2pmY2dycuGAaGGu9\x20=\x20Uhnm2pm.pfUhA(\x27-\x27);\x20\x20\x20\x20ny2pA\x20yGhoh2Xmppuom\x20=\x208V6P.fuGpm(uAyk(Uhnm2pmY2dycuGAaGGu9[j]));\x20\x20\x20\x20hd\x20(!yGhoh2Xmppuom.3b)\x20{\x20\x20\x20\x20\x20\x20\x20\x20yGhoh2Xmppuom.3b\x20=\x20P3ikmG(Uhnm2pmY2dycuGAaGGu9[D]);\x20\x20\x20\x20}\x20\x20\x20\x20ny2pA\x20hpWyGHmG\x20=\x20A9fmyd\x20WyGHmGMUykuUVnyfm\x20!==\x20\x2732bmdh2mb\x27\x20&&\x20pmUd\x20h2pAu2nmyd\x20WyGHmGMUykuUVnyfm;\x20\x20\x20\x20ny2pA\x20ny2Am0A\x20=\x20hpWyGHmG\x20?\x20pmUd\x20:\x20wh2byw;\x20\x20\x20\x20ny2pA\x20imppuomWyGb\x20=\x20ny2Am0A.__SupmOD__.fuGpm(Uhnm2pmY2dycuGAaGGu9[j]);\x20\x20\x20\x20ny2pA\x20imppuom\x20=\x20ny2Am0A.__zm0__.pAGh2ohd9(imppuomWyGb);\x20\x20\x20\x20ny2pA\x20pho2uA3GmWyGb\x20=\x20ny2Am0A.__SupmOD__.fuGpm(Uhnm2pmY2dycuGAaGGu9[E]);\x20\x20\x20\x20ny2pA\x20pho2uA3Gm\x20=\x20ny2Am0A.__zm0__.pAGh2ohd9(pho2uA3GmWyGb);\x20\x20\x20\x20ny2pA\x20pho2IuUhb\x20=\x20ny2Am0A.__5mGhd9__(pho2uA3Gm,\x20imppuom,\x20f3kUhnem9);\x20\x20\x20\x20ny2pA\x20byiuh2\x20=\x20yGhoh2Xmppuom.bi;\x20\x20\x20\x20d32nAhy2\x20hpvyiuh2XuAnZh2o(ycuAAmG2,\x20yzypA)\x20{\x20\x20\x20\x20\x20\x20\x20\x20ny2pA\x20fuAAmG2\x20=\x20ycuAAmG2.GmfUunm(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20ny2pA\x20ZypA\x20=\x20yzypA.GmfUunm(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20ny2pA\x20fuAAmG2cuGAp\x20=\x20fuAAmG2.pfUhA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20ny2pA\x20ZypAcuGAp\x20=\x20ZypA.pfUhA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20hd\x20(!fuAAmG2.h2nU3bmp(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GmA3G2\x20fuAAmG2\x20===\x20ZypA;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20hd\x20(fuAAmG2cuGAp.Um2oAZ\x20<\x20j\x20||\x20fuAAmG2cuGAp[B]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GmA3G2\x20duUpm;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20ny2pA\x20fuAAmG2V3ddh0\x20=\x20fuAAmG2cuGAp.pUhnm(1).Jyh2(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20ny2pA\x20ZypAV3ddh0\x20=\x20ZypAcuGAp.pUhnm(-fuAAmG2cuGAp.Um2oAZ\x20+\x201).Jyh2(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20GmA3G2\x20fuAAmG2V3ddh0\x20===\x20ZypAV3ddh0;\x20\x20\x20\x20}\x20\x20\x20\x20UmA\x20byiuh2IuUhb\x20=\x20byiuh2?.Um2oAZ\x20?\x20byiuh2.pyim((biYAmi)\x20=>\x20hpvyiuh2XuAnZh2o(biYAmi,\x20UynuAhy2.ZypA2uim))\x20:\x20AG3m;\x20\x20\x20\x20hd\x20(UynuAhy2.ZypA2uim\x20===\x20\x27UynuUZypA\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20byiuh2IuUhb\x20=\x20AG3m;\x20\x20\x20\x20}\x20\x20\x20\x20ny2pA\x205uUhb\x20=\x20pho2IuUhb\x20&&\x20byiuh2IuUhb;\x20\x20\x20\x20GmA3G2\x20{\x20\x20\x20\x20\x20\x20\x20\x205uUhb,\x20imppuom:\x20yGhoh2Xmppuom,\x20\x20\x20\x20};}','FieldsCollection','getFieldIds','PivotDisplayDataType','refreshData','stringify','iterateFieldByArea','addRecord','rowHeaderMap','sheetName','SheetsPivotRPCService','getOwnPropertyDescriptor','RenameField','batch','_pivotRenderInfoCache','subTotalStyle','Row','filterId','_generateUniqueVersion','_queryingMap','getPivotItemRenderInfoCache','_init','getFieldCountByArea','(Blank)','setPivotInitCompleted','body','updatePivotTableMatrixInfo','sheet.mutation.send-pivot-config-local','updateDirtyPivotTable','getSheetBySheetId','setFilterInfo','_univerInstanceService','options','values','setRangeKeyMap','LocaleService','@univerjs/core','UpdateValuePosition','getColumnCount','getPivotCellInfo','sheets-pivot.countName','getSheetBySheetName','dataFieldId','RemoveField','toJSON','params','defaultThemeStyle','rangeType','#FFFFFF','colHeaderMap','IResourceManagerService','getSheets','cellToRange','PivotSubtotalTypeEnum','_initViewModelBySheetInterceptor','sheet.mutation.set-pivot-collapse','removeCollectionImp','handleSourceRangeChange','rowRanges','clearExclusiveRangesByGroupId','NAME','getPivotTableRangeInfo','_featureCalculationManagerService','getDataFieldByRangeKey','getMatrixFromRunTimeData','getTextInfo','sheets-pivot.sumName','rgb(255,255,255)','Delete','updatePivotSource','prefix','iterateField','IActiveDirtyManagerService','contains','#eceeff','MAX_SAFE_INTEGER','#f4f4f5','refreshDataField','sheet.mutation.remove-pivot-field','intercept','from','colStyle','getValueIndex','CELL_CONTENT','SheetsPivotDataSourceModel','limit\x20pivot','markDirty','Style','createValueField','getRangeKey','some','_initConfig','oldRangeInfo','map','_pivotRenderValueMatrixCache','_fieldsCollectionChange$','clearRenderCache','setPivotTable','addCollectionByJSON','_dataSyncPrimaryController','isText','getStyles','getSortInfo','_markDirty$','@univerjs-pro/engine-pivot','fieldsCollectionChange$','updateConfigCache','_subjectViewChange','70qOrERv','_initLocale','setPivotCollapse','SetPivotSortMutation','Exiting','setCollapse','pivotConfigChange$','getFieldById','amd','pageRanges','initDataRanges','sheet.mutation.send-pivot-data-local','replace','RemovePivotFieldMutation','getNoUsedDataFieldIds','push','pivotTableIndexConfig','transFromCellValue','pluginName','new','reset','PivotDataFieldDataTypeEnum','UpdatePivotTableSourceRangeMutation','Subtotal','_deletePivotTableInstanceCache','sheet.mutation.send-pivot-view-local','NORMAL','_host','displayName','setName','pbt','setRange','PivotErrorTypeEnum','exiting','executeCommand','Disposable','registerDirtyService','reduce','BadReference','UniverSheets','rangeKey','setDataRecordCount','PivotTableViewDirtyMarkOperation','AddField','_activeDirtyManagerService','measure','_injector','getPivotDirtyViewInfo','_requestResolvers','_model','add','getPivotTableModelConfig','_dataFieldManagerCollection','Injector','min','valueIndex','Min\x20of\x20','startRow','getSubUnitPivotConfigs','dataFields','isValue','sheet.mutation.pivot-update-value-position','SetPivotSetting','24580uccQlB','pivotTableId','sheet.mutation.send-init-pivot-text-local','versions','_localeService','product','setSourceName','GrandTotal','_initSnapshot','#1d32e9','SetCollapse','var','SheetsPivotTableConfigModel','IConfigService','updateConfig','sourceRangeInfo','setFieldFormat','setSubtotalType','_ensurePivotTableMatrixInfo','ErrorType','getUnitId','COMMAND','SheetsPivotTableAdaptorModel','value','_ensurePivotTableRangeInfo','sheets-pivot.productName','MIN_SAFE_INTEGER','getValue','Expand','sheets-pivot.config','columnFields','MUTATION','setOptions','triggerDirtyFeature','831435EKmXts','defineProperty','AddPivotTableMutation','getAutoDisplayName','updateViewData','varp','_viewUpdate$','CellValueType','length','#e6ebfa','isBottomTotal','removePivotField','_sheetInterceptorService','updatePivotTableRangeInfo','INTERCEPTOR_POINT','renameField','getFieldDataType','pivotTableConfigs','SHEET_PIVOT_TABLE_PLUGIN','sheet.mutation.get-pivot-data-local','_ensurePivotMap','getRangeKeyList','_sheetsPivotRpcService','@univerjs/sheets','DEFAULT_PIVOT_NUMBER','sortInfo','find','numfmt','PivotTableFiledAreaEnum','getTypeOfUnitDisposed$','collectionConfig','grandTotal','headerMap','updateView','getInfo','getRangeData','sheets-pivot.columnName','New','UpdatePivotSource','sheet.mutation.set-pivot-option','toString','DataField','canUsePivot','_collectionConfigModel','applyChangeSet','startColumn','getformat','getCellMatrix','getUpdateRangeDeleteIds','488140JintdF','_subjectFieldsCollectionChange','_config','PivotCellStyleTypeEnum','getAutoDisplayNameFunction','_pivotTableInstanceCache','valueFields','RenamePivotFieldMutation','DataFieldManager','ΣValue','Tools','call','deleteUnitId','PivotTable','getHeaderMapItem','registerCommand','getPivotTableConfig','single','setPivotSetting','getAdjustRangesPosition','filterInfo','_pivotConfigChange$','addExclusiveRange','setValue','Average\x20of\x20','subscribe','getSheetCommandTarget','rowFields','_configVersion$','setPivotFilter','getRowCount','6hfkiCW','getSheetFeatureLimit','type','return\x20','sheets-pivot.minName','getRangeStartEndInfo','getPivotTableInstance','SetPivotCollapse','matrix','20018qERohz','UniverCore','Subject','endRow','getColCount','collapseInfo','sheets-pivot.stdDevpName','getDataFieldByDataFieldId','ManualFilter','data'];_0x59a5=function(){return _0x5d5e7a;};return _0x59a5();}function _0x326d(_0x479f9d,_0x4e873f){const _0x59a5eb=_0x59a5();return _0x326d=function(_0x326dac,_0x18a4ac){_0x326dac=_0x326dac-0x9e;let _0x254e5d=_0x59a5eb[_0x326dac];return _0x254e5d;},_0x326d(_0x479f9d,_0x4e873f);}(function(_0x294c69,_0x32809f){const _0x40214a=_0x326d,_0x3b9bec=_0x294c69();while(!![]){try{const _0x632d00=parseInt(_0x40214a(0xbf))/0x1+-parseInt(_0x40214a(0x22f))/0x2*(parseInt(_0x40214a(0x226))/0x3)+parseInt(_0x40214a(0x1b4))/0x4*(-parseInt(_0x40214a(0x175))/0x5)+parseInt(_0x40214a(0x29f))/0x6*(-parseInt(_0x40214a(0x27d))/0x7)+parseInt(_0x40214a(0xee))/0x8+parseInt(_0x40214a(0x2ab))/0x9*(parseInt(_0x40214a(0x207))/0xa)+parseInt(_0x40214a(0x1d6))/0xb;if(_0x632d00===_0x32809f)break;else _0x3b9bec['push'](_0x3b9bec['shift']());}catch(_0x3127b7){_0x3b9bec['push'](_0x3b9bec['shift']());}}}(_0x59a5,0x1f986),function(_0x39aea8,_0x11af1e){const _0x1fe70b=_0x326d;typeof exports==_0x1fe70b(0x9e)&&typeof module<'u'?_0x11af1e(exports,require(_0x1fe70b(0x171)),require(_0x1fe70b(0x12d)),require(_0x1fe70b(0xc8)),require(_0x1fe70b(0x2ea)),require(_0x1fe70b(0x272)),require(_0x1fe70b(0x1ed)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x1fe70b(0x17d)]?define([_0x1fe70b(0x242),'@univerjs-pro/engine-pivot','@univerjs/core',_0x1fe70b(0xc8),'rxjs','@univerjs/engine-formula','@univerjs/sheets','@univerjs/rpc'],_0x11af1e):(_0x39aea8=typeof globalThis<'u'?globalThis:_0x39aea8||self,_0x11af1e(_0x39aea8[_0x1fe70b(0x265)]={},_0x39aea8[_0x1fe70b(0xe5)],_0x39aea8[_0x1fe70b(0x230)],_0x39aea8[_0x1fe70b(0x260)],_0x39aea8['rxjs'],_0x39aea8[_0x1fe70b(0x277)],_0x39aea8[_0x1fe70b(0x19c)],_0x39aea8['UniverRpc']));}(this,function(_0x1cbd63,_0x1af8aa,_0x3b4df9,_0xdc1282,_0x5290a9,_0x579eee,_0x3e512a,_0x144a3f){'use strict';const _0x2555fc=_0x326d;var _0x48e15a=Object['defineProperty'],_0x259ccb=(_0x2e4933,_0x5871d3,_0x212eac)=>_0x5871d3 in _0x2e4933?_0x48e15a(_0x2e4933,_0x5871d3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x212eac}):_0x2e4933[_0x5871d3]=_0x212eac,_0x483932=(_0x329340,_0x2c77cd,_0x456c6a)=>_0x259ccb(_0x329340,typeof _0x2c77cd!='symbol'?_0x2c77cd+'':_0x2c77cd,_0x456c6a),_0x4d9f26,_0x83ee09=(_0x35cb41=>(_0x35cb41['add']=_0x2555fc(0x1a7),_0x35cb41[_0x2555fc(0xcf)]=_0x2555fc(0xcf),_0x35cb41['update']=_0x2555fc(0x2b9),_0x35cb41))(_0x83ee09||{}),_0x1e5bef=(_0x1b023d=>(_0x1b023d['Add']=_0x2555fc(0x1a7),_0x1b023d[_0x2555fc(0xcc)]='set',_0x1b023d[_0x2555fc(0x14d)]=_0x2555fc(0xcf),_0x1b023d))(_0x1e5bef||{});const _0x13e753={'type':_0x3b4df9['CommandType'][_0x2555fc(0x1d3)],'id':_0x2555fc(0x1e9),'handler':()=>!0x0},_0x3cf285={'type':_0x3b4df9[_0x2555fc(0x27c)][_0x2555fc(0x1d3)],'id':_0x2555fc(0x180),'handler':()=>!0x0},_0x51b99a={'type':_0x3b4df9[_0x2555fc(0x27c)][_0x2555fc(0x1d3)],'id':_0x2555fc(0x18e),'handler':()=>!0x0},_0x30b343={'type':_0x3b4df9[_0x2555fc(0x27c)][_0x2555fc(0x1d3)],'id':_0x2555fc(0x124),'handler':()=>!0x0},_0x24120f={'type':_0x3b4df9[_0x2555fc(0x27c)][_0x2555fc(0x1d3)],'id':_0x2555fc(0x1b6),'handler':()=>!0x0},_0x4f6827=Number['parseInt'](0x67120aff),_0x34da78=0x10,_0x1cbe4f=0x1,_0x5eea2f=_0x2555fc(0x1e8),_0x4cfab6=0x1,_0x221819=_0x2555fc(0x245),_0x3311dd=_0x2555fc(0x14c),_0x2f9f65=_0x2555fc(0xa1),_0x1005a8=_0x2555fc(0x155),_0x1cdaf7='#f4f4f5',_0x1f4e20=_0x2555fc(0x153),_0x5b59a1=_0x2555fc(0x1bd),_0xfa88c3=_0x2555fc(0x139),_0x19e7ae=_0x2555fc(0x1df),_0x12e2e1=_0x2555fc(0x1bd),_0x5e69ef=_0x2555fc(0x139),_0x45ec3f=_0x2555fc(0x2a6);var _0xd2a3e7=(_0x580ae8=>(_0x580ae8[_0x2555fc(0x179)]=_0x2555fc(0x196),_0x580ae8[_0x2555fc(0x1fb)]=_0x2555fc(0x188),_0x580ae8))(_0xd2a3e7||{});const _0xce5461={'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':''}}},_0x1ed029=0x1e,_0x3b8fcc={'b':{'s':0x1,'cl':{'rgb':_0x2f9f65}},'l':{'s':0x1,'cl':{'rgb':_0x2f9f65}},'r':{'s':0x1,'cl':{'rgb':_0x2f9f65}},'t':{'s':0x1,'cl':{'rgb':_0x2f9f65}}},_0x4ff5d4={'bg':{'rgb':_0x221819},'ht':0x2,'vt':0x2,'tb':0x1},_0x366422={'bg':{'rgb':_0x3311dd},'ht':0x2,'vt':0x2,'tb':0x1},_0x5d7e84={'rowStyle':{'bg':{'rgb':_0x45ec3f},'bd':_0x3b8fcc,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x12e2e1},'bd':null,'cl':{'rgb':_0x5e69ef},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x3b8fcc,'bg':{'rgb':_0x19e7ae},'vt':0x2},'cornerStyle':{'bd':_0x3b8fcc,'bg':{'rgb':_0x1f4e20},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x3b8fcc,'bg':{'rgb':_0x1005a8},'vt':0x2},'leafStyle':{'bd':_0x3b8fcc,'bg':{'rgb':_0x1cdaf7},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x5b59a1},'cl':{'rgb':_0xfa88c3},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x3b8fcc,'vt':0x2}},_0x34244c=(_0x16108d,_0x14107e,_0x2479a5)=>{const _0x12010f=_0x2555fc;let _0x22be20;const _0x148b38=_0x16108d['get'](_0x3b4df9[_0x12010f(0x102)])[_0x12010f(0xc0)](_0x3b4df9[_0x12010f(0x287)][_0x12010f(0x2a2)]);if(!_0x148b38)return null;const _0x6b55b=_0x148b38[_0x12010f(0x16e)]();let _0x40c636;if(_0x2479a5&&(_0x40c636=_0x6b55b[_0x12010f(0x21e)](_0x2479a5)),_0x14107e!=null&&_0x14107e['v']||(_0x14107e==null?void 0x0:_0x14107e['v'])===0x0){_0x22be20||(_0x22be20={});const _0x2ec7c1=_0x661f56(_0x14107e['v']);typeof _0x2ec7c1==_0x12010f(0x25f)?_0x22be20['t']=_0x3b4df9[_0x12010f(0x1dd)][_0x12010f(0x281)]:typeof _0x2ec7c1==_0x12010f(0xc5)&&(_0x22be20['t']=_0x3b4df9[_0x12010f(0x1dd)][_0x12010f(0x26a)]),_0x22be20['v']=_0x2ec7c1;}return(_0x14107e!=null&&_0x14107e['i']||(_0x14107e==null?void 0x0:_0x14107e['i'])===0x0)&&(_0x22be20||(_0x22be20={}),_0x22be20['fi']=_0x14107e['i']),_0x14107e!=null&&_0x14107e['s']&&(_0x22be20||(_0x22be20={}),_0x22be20[_0x12010f(0x193)]=_0x14107e['s']),_0x2479a5&&(_0x22be20||(_0x22be20={}),_0x22be20['s']=_0x40c636),_0x22be20;},_0x5a82ed=(_0x20c962,_0x4a6fb8,_0x58c5ab,_0x4d37db)=>{const _0x11d936=_0x2555fc;var _0x1cd0ec,_0x2d41eb,_0x4eac33,_0x5d8966,_0xc19972,_0x4409ca,_0x3cfbb3,_0x3a5f57,_0x2a4b53,_0xee8178,_0xfbe332,_0x219b3b,_0x21bdd1,_0x252192;const _0x3d6cb3=_0x58c5ab[_0x11d936(0x28e)],{cornerView:_0x1269a9,rowView:_0x3ba994,colView:_0x2e3120,dataView:_0x224416,pageView:_0x1bd127,formatMap:_0x5ccc92}=_0x4a6fb8,{row:_0x5c2511,col:_0x2c8c8c}=_0x3d6cb3,_0xfcb70c=new _0x3b4df9[(_0x11d936(0x2f8))](),_0x26fd0f={},_0x4aa5a1={},_0x5db438={},_0x3b2579={},_0x25c89c={};let _0x1dcaef=_0x5c2511,_0x4e1d36=_0x2c8c8c;Object['keys'](_0x1bd127[_0x11d936(0x238)])[_0x11d936(0x103)](_0x22c79d=>{const _0x733f00=_0x11d936;Object[_0x733f00(0x2c9)](_0x1bd127['data'][Number(_0x22c79d)])[_0x733f00(0x103)](_0x4fda17=>{const _0x7727f4=_0x733f00,_0x3815a7={..._0x1bd127[_0x7727f4(0x238)][Number(_0x22c79d)][Number(_0x4fda17)]};_0xfcb70c['setValue'](Number(_0x22c79d)+_0x1dcaef,Number(_0x4fda17)+_0x4e1d36,_0x34244c(_0x20c962,_0x3815a7,_0x5d7e84[_0x7727f4(0x23b)]));});});const _0x5431e3=Object[_0x11d936(0x2c9)](_0x1bd127[_0x11d936(0x238)])['length'];_0x1dcaef+=_0x5431e3+(_0x5431e3?_0x4cfab6:0x0);const _0x1b6d77=_0x1269a9[_0x11d936(0x225)](),_0x4a952c=_0x1269a9[_0x11d936(0x233)]();for(let _0x34baf9=0x0;_0x34baf9<_0x1b6d77;_0x34baf9++)for(let _0x397a48=0x0;_0x397a48<_0x4a952c;_0x397a48++){const _0x3dfa84={...(_0x2d41eb=(_0x1cd0ec=_0x1269a9['data'])==null?void 0x0:_0x1cd0ec[_0x34baf9])==null?void 0x0:_0x2d41eb[_0x397a48]};_0x3dfa84&&((_0x4eac33=_0x3ba994[_0x11d936(0x1f6)][_0x397a48])!=null&&_0x4eac33[_0x11d936(0x1b1)])&&(_0x3dfa84['v']=''+_0x4d37db['sheets-pivot.value']),_0xfcb70c[_0x11d936(0x21e)](_0x34baf9+_0x1dcaef,_0x397a48+_0x4e1d36,_0x34244c(_0x20c962,_0x3dfa84,_0x5d7e84['cornerStyle']));}for(let _0x5d58a5=0x0;_0x5d58a5<_0x1269a9[_0x11d936(0x29a)][_0x11d936(0x1de)];_0x5d58a5++)_0x1269a9[_0x11d936(0x29a)][_0x5d58a5]&&(_0x5db438[''+(_0x5d58a5+_0x4e1d36)]=_0x1269a9['info'][_0x5d58a5]);_0x4e1d36+=_0x4a952c;const _0x27d4ff=_0x2e3120['headerMap'],_0x2b191f=_0x2e3120[_0x11d936(0xf1)]()>=0x0?_0x2e3120[_0x11d936(0xf1)]()+0x1:0x0,_0x1e3aed=_0x2e3120['getLastCol']()>=0x0?_0x2e3120[_0x11d936(0x2d5)]()+0x1:0x0;for(let _0x2d8258=0x0;_0x2d8258<_0x1e3aed;_0x2d8258++){for(let _0x22ac2e=0x0;_0x22ac2e<_0x2b191f;_0x22ac2e++){const _0x39ebb5={...(_0xc19972=(_0x5d8966=_0x2e3120[_0x11d936(0x238)])==null?void 0x0:_0x5d8966[_0x22ac2e])==null?void 0x0:_0xc19972[_0x2d8258]},_0x383cab=(_0x4409ca=_0x27d4ff[_0x22ac2e])==null?void 0x0:_0x4409ca['tableFieldId'],_0x512edd=_0x5ccc92[_0x383cab];_0x39ebb5&&(_0x39ebb5['v']=_0x59e21e(_0x39ebb5,_0x22ac2e===0x0&&((_0x3cfbb3=_0x2e3120['getHeaderMapItem'](_0x2d8258+0x1))==null?void 0x0:_0x3cfbb3[_0x11d936(0x1b1)]),_0x512edd,_0x4d37db));let _0x35804f;_0x512edd?_0x35804f={..._0x5d7e84['colStyle'],'n':{'pattern':_0x512edd}}:_0x35804f={..._0x5d7e84[_0x11d936(0x15a)]},_0xfcb70c[_0x11d936(0x21e)](_0x22ac2e+_0x1dcaef,_0x2d8258+_0x4e1d36,_0x34244c(_0x20c962,_0x39ebb5,_0x35804f));}_0x2e3120[_0x11d936(0x29a)][_0x2d8258]&&(_0x4aa5a1[''+(_0x2d8258+_0x4e1d36)]=_0x2e3120[_0x11d936(0x29a)][_0x2d8258]),_0x2e3120[_0x11d936(0x1f6)][_0x2d8258+0x1]&&(_0x25c89c[''+(_0x2d8258+_0x1dcaef+0x1)]=_0x2e3120['headerMap'][_0x2d8258+0x1]);}_0x1dcaef+=_0x1b6d77;const _0x28563e=_0x3ba994['headerMap'],_0x472aff=_0x3ba994[_0x11d936(0xf1)]()>=0x0?_0x3ba994[_0x11d936(0xf1)]()+0x1:0x0,_0x31d98d=_0x3ba994['getLastCol']()>=0x0?_0x3ba994[_0x11d936(0x2d5)]()+0x1:0x0;for(let _0xb8c11f=0x0;_0xb8c11f<_0x472aff;_0xb8c11f++){for(let _0x81187d=0x0;_0x81187d<_0x31d98d;_0x81187d++){const _0x26e946={...(_0x2a4b53=(_0x3a5f57=_0x3ba994[_0x11d936(0x238)])==null?void 0x0:_0x3a5f57[_0xb8c11f])==null?void 0x0:_0x2a4b53[_0x81187d]},_0x54c84b=(_0xee8178=_0x28563e[_0x81187d])==null?void 0x0:_0xee8178[_0x11d936(0x258)],_0x56dadb=_0x5ccc92[_0x54c84b];_0x26e946&&(_0x26e946['v']=_0x59e21e(_0x26e946,!0x1,_0x56dadb,_0x4d37db));let _0x159670;_0x3ba994[_0x11d936(0x29a)][_0xb8c11f][_0x11d936(0xb4)]===_0x3ba994[_0x11d936(0x233)]()?_0x159670=_0x5d7e84[_0x11d936(0x2d7)]:_0x3ba994[_0x11d936(0x29a)][_0xb8c11f]['isBottomTotal']?_0x159670=_0x3ba994[_0x11d936(0x29a)][_0xb8c11f]['level']===0x0?_0x5d7e84[_0x11d936(0x1f5)]:_0x5d7e84[_0x11d936(0x118)]:_0x159670=_0x5d7e84['rowStyle'],_0x56dadb&&(_0x159670={..._0x159670,'n':{'pattern':_0x56dadb}}),_0xfcb70c[_0x11d936(0x21e)](_0xb8c11f+_0x1dcaef,_0x81187d+_0x2c8c8c,_0x34244c(_0x20c962,_0x26e946,_0x159670));}_0x3ba994['info'][_0xb8c11f]&&(_0x26fd0f[''+(_0xb8c11f+_0x1dcaef)]=_0x3ba994['info'][_0xb8c11f]),_0x3ba994[_0x11d936(0x1f6)][_0xb8c11f]&&(_0x3b2579[''+(_0xb8c11f+_0x2c8c8c)]=_0x3ba994[_0x11d936(0x1f6)][_0xb8c11f]);}const _0x4284d1=_0x224416[_0x11d936(0x225)](),_0x267bfe=_0x224416[_0x11d936(0x233)]();for(let _0x3dc3ff=0x0;_0x3dc3ff<_0x4284d1;_0x3dc3ff++)for(let _0x3c7088=0x0;_0x3c7088<_0x267bfe;_0x3c7088++){const _0x3476a6={...(_0x219b3b=(_0xfbe332=_0x224416['data'])==null?void 0x0:_0xfbe332[_0x3dc3ff])==null?void 0x0:_0x219b3b[_0x3c7088]};let _0x4a3d9f;_0x3ba994[_0x11d936(0x29a)][_0x3dc3ff][_0x11d936(0x1e0)]?_0x4a3d9f=_0x3ba994[_0x11d936(0x29a)][_0x3dc3ff][_0x11d936(0xb4)]===0x0?_0x5d7e84['grandTotal']:_0x5d7e84[_0x11d936(0x118)]:_0x4a3d9f=_0x5d7e84[_0x11d936(0xff)];const _0xfac7be=_0x3ba994[_0x11d936(0x29a)][_0x3dc3ff][_0x11d936(0x1ac)],_0x2750cf=_0x2e3120['info'][_0x3c7088][_0x11d936(0x1ac)],_0x35c4f0=Math[_0x11d936(0x250)](_0xfac7be,_0x2750cf),_0x5b9e7c=_0x58c5ab[_0x11d936(0x2f6)][_0x11d936(0x20d)][_0x11d936(0x247)]();let _0x36a626='';_0x35c4f0<0x0?_0x36a626=(_0x21bdd1=_0x5b9e7c[0x0])!=null?_0x21bdd1:'':_0x36a626=(_0x252192=_0x5b9e7c[_0x35c4f0])!=null?_0x252192:'';const _0x295eea=_0x5ccc92[_0x36a626];_0x295eea&&(_0x4a3d9f={..._0x4a3d9f,'n':{'pattern':_0x295eea}}),_0xfcb70c[_0x11d936(0x21e)](_0x3dc3ff+_0x1dcaef,_0x3c7088+_0x4e1d36,_0x34244c(_0x20c962,_0x3476a6,_0x4a3d9f));}return{'valueMatrix':_0xfcb70c,'rowInfo':_0x26fd0f,'colInfo':_0x4aa5a1,'cornerInfo':_0x5db438,'rowHeaderMap':_0x3b2579,'colHeaderMap':_0x25c89c};};function _0x59e21e(_0x980c69,_0x5eee4f,_0x5ec9fe,_0x398bcc){const _0x396b93=_0x2555fc;let _0x24d1a2=_0x980c69['v'];_0x5eee4f&&(_0x24d1a2=''+_0x398bcc[_0x396b93(0x2f3)]);const _0x503254=_0x980c69['t']&&(_0x980c69['t']&_0x1af8aa[_0x396b93(0x29d)]['blank'])>0x0;if(_0x503254&&(_0x24d1a2=''+_0x398bcc[_0x396b93(0x2cd)]),_0x980c69['s']===_0x1af8aa['PivotCellStyleTypeEnum'][_0x396b93(0x18c)]){let _0x3cba79=_0x24d1a2,_0x44c8b8='';_0x1af8aa['isPrefixValue'](_0x24d1a2)&&(_0x3cba79=_0x24d1a2[_0x396b93(0x14f)],_0x44c8b8=_0x24d1a2[_0x396b93(0x1cb)]);const _0xb80a3b=_0x5ec9fe&&!_0x503254?_0x3b4df9[_0x396b93(0x1f1)][_0x396b93(0xed)](_0x5ec9fe,Number(_0x3cba79)):_0x3cba79;_0x44c8b8?_0x24d1a2=_0xb80a3b+'\x20'+_0x44c8b8:_0x24d1a2=_0xb80a3b+'\x20'+_0x398bcc['sheets-pivot.subTotal'];}else _0x980c69['s']===_0x1af8aa[_0x396b93(0x20a)][_0x396b93(0x1bb)]&&(_0x24d1a2=_0x24d1a2+'\x20'+_0x398bcc[_0x396b93(0xf7)]);return _0x24d1a2;}function _0x661f56(_0x30c29f){const _0x4e7354=_0x2555fc;if(_0x1af8aa[_0x4e7354(0x2ec)](_0x30c29f)){const {errorType:_0xbc754f}=_0x30c29f;switch(_0xbc754f){case _0x1af8aa[_0x4e7354(0x195)][_0x4e7354(0xef)]:return _0x579eee[_0x4e7354(0x1c7)][_0x4e7354(0x2dd)];case _0x1af8aa['PivotErrorTypeEnum'][_0x4e7354(0x2a0)]:return _0x579eee[_0x4e7354(0x1c7)]['NUM'];case _0x1af8aa[_0x4e7354(0x195)]['NotFunction']:return _0x579eee['ErrorType'][_0x4e7354(0x145)];case _0x1af8aa[_0x4e7354(0x195)][_0x4e7354(0x24b)]:return _0x579eee[_0x4e7354(0x1c7)]['NAME'];case _0x1af8aa[_0x4e7354(0x195)][_0x4e7354(0x19b)]:return _0x579eee[_0x4e7354(0x1c7)][_0x4e7354(0x249)];}}return _0x30c29f;}function _0x285d63(_0xecf156,_0xde1c90,_0x1fc0e5=!0x1,_0xbd4010=!0x1){const _0x543c4d=_0x2555fc,{data:_0x34b63d}=_0xde1c90,_0x1975e3=_0xde1c90['getRowCount'](),_0x310852=_0xde1c90[_0x543c4d(0x233)]();if(_0x1975e3<=0x0||_0x310852<=0x0)return[];const _0xa0ca2=_0xde1c90[_0x543c4d(0x2d5)](),_0x5eee7a=_0xde1c90['getLastRow'](),_0x3bf353=_0xbd4010?_0x5eee7a>=0x0?_0x5eee7a+0x1:0x0:_0x1975e3,_0x6182fd=_0xbd4010?_0xa0ca2>=0x0?_0xa0ca2+0x1:0x0:_0x310852,{row:_0x474f5d,col:_0x1bfd4e}=_0xecf156,_0x55b192=_0x474f5d,_0x5c0837=_0x1bfd4e;if(_0x1fc0e5){const _0x3497bb=[];for(const [_0xe8cdcc,_0x13b57c]of Object[_0x543c4d(0x2bf)](_0x34b63d))for(const [_0x54dac3,_0x1c847b]of Object[_0x543c4d(0x2bf)](_0x13b57c))_0x3497bb[_0x543c4d(0x184)](_0x3b4df9[_0x543c4d(0x13d)](_0x55b192+Number(_0xe8cdcc),_0x5c0837+Number(_0x54dac3)));return _0x3497bb;}else{const _0x416436=_0xbd4010?_0x3bf353>0x0?0x1:0x0:0x1,_0x195396=_0xbd4010?_0x6182fd>0x0?0x1:0x0:0x1,_0x409464=_0x474f5d+_0x3bf353-_0x416436,_0x4d995f=_0x1bfd4e+_0x6182fd-_0x195396;return[{'startRow':_0x55b192,'startColumn':_0x5c0837,'endRow':_0x409464,'endColumn':_0x4d995f}];}}const _0x162b6c='SHEET_PIVOT_IN_MAIN_THREAD',_0x564f08='SHEET_PIVOT_EXCLUSIVE_ID';var _0x18dbbe=(_0x149ebd=>(_0x149ebd[_0x2555fc(0x2e9)]='filter',_0x149ebd['Panel']=_0x2555fc(0xa9),_0x149ebd['AddPivotField']=_0x2555fc(0x2af),_0x149ebd['AddPivotTableWithConfig']='AddPivotTableWithConfig',_0x149ebd[_0x2555fc(0x264)]=_0x2555fc(0xd5),_0x149ebd[_0x2555fc(0xfc)]=_0x2555fc(0x100),_0x149ebd[_0x2555fc(0x2f7)]=_0x2555fc(0x1e1),_0x149ebd[_0x2555fc(0x22d)]=_0x2555fc(0x177),_0x149ebd['SetPivotFilter']=_0x2555fc(0x224),_0x149ebd[_0x2555fc(0x283)]=_0x2555fc(0x2dc),_0x149ebd[_0x2555fc(0x1b3)]=_0x2555fc(0x219),_0x149ebd['UpdatePivotSource']=_0x2555fc(0x14e),_0x149ebd[_0x2555fc(0x12e)]=_0x2555fc(0x293),_0x149ebd[_0x2555fc(0x290)]='drillDown',_0x149ebd))(_0x18dbbe||{});const _0xb25579={'sheets-pivot.blankValue':_0x2555fc(0x120),'sheets-pivot.columnName':_0x2555fc(0x2bc),'sheets-pivot.subTotalText':_0x2555fc(0x2b6),'sheets-pivot.grandTotalText':_0x2555fc(0xd3),'sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x2555fc(0x21f),'sheets-pivot.countName':_0x2555fc(0xc1),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':_0x2555fc(0x29c),'sheets-pivot.minName':_0x2555fc(0x1ad),'sheets-pivot.productName':_0x2555fc(0xe6),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x2555fc(0x2c6),'sheets-pivot.varName':_0x2555fc(0xea),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':_0x2555fc(0x18c),'sheets-pivot.grandTotal':'Grand\x20Total','sheets-pivot.value':_0x2555fc(0x1cb),'sheets-pivot.blank':'blank','sheets-pivot.emptyPivot.filter':_0x2555fc(0x2e9),'sheets-pivot.emptyPivot.row':_0x2555fc(0x119),'sheets-pivot.emptyPivot.column':'Column','sheets-pivot.emptyPivot.values':'Values'},_0x5631b6={0x0:'x',0x1:'1',0x2:'n',0x3:'u',0x4:'C',0x5:'v',0x6:'O',0x7:'Y',0x8:'J',0x9:'y','B':'0','j':'2','E':'3','D':'4','g':'5','O':'6','L':'7','T':'8','q':'9','u':'a','k':'b','n':'c','b':'d','m':'e','d':'f','o':'g','Z':'h','h':'i','J':'j','H':'k','U':'l','i':'m','y':'o','f':'p','t':'q','G':'r','p':'s','A':'t','w':'w','R':'z','a':'A','S':'B','v':'D','C':'E','s':'F','M':'G','z':'H','Y':'I','e':'K','l':'L','X':'M','P':'N','c':'P','K':'Q','x':'R','V':'S','N':'T','r':'U','I':'V','W':'W','F':'X','Q':'Z'},_0x8ba593=_0x2555fc(0x109),_0x1d203f={0x0:{0x0:{'v':_0x2555fc(0x9f),'s':_0x4ff5d4}},0x2:{0x1:{'v':'','s':_0x4ff5d4},0x2:{'v':'','s':_0x4ff5d4},0x3:{'v':_0x2555fc(0xab),'s':_0x4ff5d4},0x4:{'v':'','s':_0x4ff5d4},0x5:{'v':'','s':_0x4ff5d4}},0x3:{0x0:{'v':'','s':_0x4ff5d4},0x1:{'v':'','s':_0x366422},0x2:{'v':'','s':_0x366422},0x3:{'v':'','s':_0x366422},0x4:{'v':'','s':_0x366422},0x5:{'v':'','s':_0x366422}},0x4:{0x0:{'v':'','s':_0x4ff5d4},0x1:{'v':'','s':_0x366422},0x2:{'v':'','s':_0x366422},0x3:{'v':'','s':_0x366422},0x4:{'v':'','s':_0x366422},0x5:{'v':'','s':_0x366422}},0x5:{0x0:{'v':'','s':_0x4ff5d4},0x1:{'v':'','s':_0x366422},0x2:{'v':'','s':_0x366422},0x3:{'v':'','s':_0x366422},0x4:{'v':'','s':_0x366422},0x5:{'v':'','s':_0x366422}},0x6:{0x0:{'v':'','s':_0x4ff5d4},0x1:{'v':'','s':_0x366422},0x2:{'v':'','s':_0x366422},0x3:{'v':'','s':_0x366422},0x4:{'v':'','s':_0x366422},0x5:{'v':'','s':_0x366422}},0x7:{0x0:{'v':'','s':_0x4ff5d4},0x1:{'v':'','s':_0x366422},0x2:{'v':'','s':_0x366422},0x3:{'v':'','s':_0x366422},0x4:{'v':'','s':_0x366422},0x5:{'v':'','s':_0x366422}},0x8:{0x0:{'v':_0x2555fc(0x2b7),'s':_0x4ff5d4},0x1:{'v':'','s':_0x366422},0x2:{'v':'','s':_0x366422},0x3:{'v':'values','s':_0x366422},0x4:{'v':'','s':_0x366422},0x5:{'v':'','s':_0x366422}},0x9:{0x0:{'v':'','s':_0x4ff5d4},0x1:{'v':'','s':_0x366422},0x2:{'v':'','s':_0x366422},0x3:{'v':'','s':_0x366422},0x4:{'v':'','s':_0x366422},0x5:{'v':'','s':_0x366422}},0xa:{0x0:{'v':'','s':_0x4ff5d4},0x1:{'v':'','s':_0x366422},0x2:{'v':'','s':_0x366422},0x3:{'v':'','s':_0x366422},0x4:{'v':'','s':_0x366422},0x5:{'v':'','s':_0x366422}},0xb:{0x0:{'v':'','s':_0x4ff5d4},0x1:{'v':'','s':_0x366422},0x2:{'v':'','s':_0x366422},0x3:{'v':'','s':_0x366422},0x4:{'v':'','s':_0x366422},0x5:{'v':'','s':_0x366422}},0xc:{0x0:{'v':'','s':_0x4ff5d4},0x1:{'v':'','s':_0x366422},0x2:{'v':'','s':_0x366422},0x3:{'v':'','s':_0x366422},0x4:{'v':'','s':_0x366422},0x5:{'v':'','s':_0x366422}},0xd:{0x0:{'v':'','s':_0x4ff5d4},0x1:{'v':'','s':_0x366422},0x2:{'v':'','s':_0x366422},0x3:{'v':'','s':_0x366422},0x4:{'v':'','s':_0x366422},0x5:{'v':'','s':_0x366422}}},_0x21a988={'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':[]},_0x21dfc5=(_0x3bf490,_0x23b636)=>{const _0x2956a1=_0x2555fc,_0x10b441=new _0x3b4df9[(_0x2956a1(0x2f8))](),_0x20ed4f=new _0x3b4df9[(_0x2956a1(0x2f8))](_0x1d203f),{row:_0x271743,col:_0x4fe6cb}=_0x23b636;_0x20ed4f[_0x2956a1(0xc4)]((_0xe9584a,_0x413f70,_0x11a0b8)=>{const _0x5dfca1=_0x2956a1;let _0x387b26='';_0x11a0b8['v']===_0x5dfca1(0x9f)?_0x387b26=_0x3bf490[_0x5dfca1(0x9f)]:_0x11a0b8['v']===_0x5dfca1(0x2b7)?_0x387b26=_0x3bf490[_0x5dfca1(0x2b7)]:_0x11a0b8['v']===_0x5dfca1(0xab)?_0x387b26=_0x3bf490[_0x5dfca1(0xab)]:_0x11a0b8['v']==='values'&&(_0x387b26=_0x3bf490[_0x5dfca1(0x12a)]),_0x10b441[_0x5dfca1(0x21e)](_0xe9584a+_0x271743,_0x413f70+_0x4fe6cb,{..._0x11a0b8,'v':_0x387b26});});const _0x56fa32=_0x3b4df9[_0x2956a1(0x211)][_0x2956a1(0x2a9)](_0x21a988);return Object[_0x2956a1(0x2c9)](_0x21a988)[_0x2956a1(0x103)](_0x328a5e=>{const _0x4adcf2=_0x2956a1;_0x56fa32[_0x328a5e]=_0x21a988[_0x328a5e][_0x4adcf2(0x166)](_0x36951f=>({..._0x36951f,'startRow':_0x36951f[_0x4adcf2(0x1ae)]+_0x271743,'endRow':_0x36951f[_0x4adcf2(0x232)]+_0x271743,'startColumn':_0x36951f[_0x4adcf2(0x203)]+_0x4fe6cb,'endColumn':_0x36951f[_0x4adcf2(0xb9)]+_0x4fe6cb}));}),{'matrixCache':_0x10b441,'rangesCache':_0x56fa32};};function _0x2d1b3f(_0x257c93,_0x59586a){const _0x58f971=_0x2555fc;let _0x16f594='';const _0x652f18=this[_0x58f971(0x14a)]();switch(_0x59586a){case _0x1af8aa[_0x58f971(0x13e)]['average']:_0x16f594=_0x652f18[_0x58f971(0xdd)]+_0x257c93;break;case _0x1af8aa[_0x58f971(0x13e)][_0x58f971(0xb8)]:_0x16f594=_0x652f18[_0x58f971(0x131)]+_0x257c93;break;case _0x1af8aa[_0x58f971(0x13e)][_0x58f971(0x27f)]:_0x16f594=_0x652f18[_0x58f971(0xaf)]+_0x257c93;break;case _0x1af8aa[_0x58f971(0x13e)]['max']:_0x16f594=_0x652f18[_0x58f971(0x274)]+_0x257c93;break;case _0x1af8aa['PivotSubtotalTypeEnum'][_0x58f971(0x1ab)]:_0x16f594=_0x652f18[_0x58f971(0x22a)]+_0x257c93;break;case _0x1af8aa[_0x58f971(0x13e)][_0x58f971(0x1b9)]:_0x16f594=_0x652f18[_0x58f971(0x1cd)]+_0x257c93;break;case _0x1af8aa[_0x58f971(0x13e)]['stdDev']:_0x16f594=_0x652f18['sheets-pivot.stdDevName']+_0x257c93;break;case _0x1af8aa[_0x58f971(0x13e)]['stdDevp']:_0x16f594=_0x652f18[_0x58f971(0x235)]+_0x257c93;break;case _0x1af8aa['PivotSubtotalTypeEnum']['sum']:_0x16f594=_0x652f18[_0x58f971(0x14b)]+_0x257c93;break;case _0x1af8aa[_0x58f971(0x13e)][_0x58f971(0x1bf)]:_0x16f594=_0x652f18['sheets-pivot.varName']+_0x257c93;break;case _0x1af8aa[_0x58f971(0x13e)][_0x58f971(0x1db)]:_0x16f594=_0x652f18[_0x58f971(0x26d)]+_0x257c93;break;default:_0x16f594=_0x257c93;break;}return _0x16f594;}function _0x1adbe2(_0x255886,_0x16f2c5,_0x424f53,_0x472134,_0x3b0f9d){const _0x345b15=_0x2555fc;var _0x2283de,_0x59d1bb,_0x7e1b47,_0x4f1844,_0x699d3;const _0x25b341=_0x3b4df9[_0x345b15(0x13d)](_0x255886,_0x16f2c5),{rangesInfo:_0x4f3d2d,areaInfo:_0x3b3d9b,headerMap:_0x3f44c5}=_0x3b0f9d;if(!_0x4f3d2d||!_0x3b3d9b||!_0x3f44c5)return;const _0x48ae36=Object[_0x345b15(0x2c9)](_0x4f3d2d)[_0x345b15(0x1f0)](_0x5c1bcb=>_0x4f3d2d[_0x5c1bcb]['some'](_0x1cf93a=>_0x3b4df9[_0x345b15(0x2e7)][_0x345b15(0x152)](_0x1cf93a,_0x25b341))),_0x20a95e=_0x3b3d9b;let _0x365e5a,_0x422ea2,_0x3997ef;if(_0x48ae36===_0x345b15(0x143))_0x365e5a=(_0x2283de=_0x20a95e==null?void 0x0:_0x20a95e['rowInfo'])==null?void 0x0:_0x2283de[_0x255886],_0x422ea2=(_0x59d1bb=_0x3f44c5==null?void 0x0:_0x3f44c5[_0x345b15(0x111)])==null?void 0x0:_0x59d1bb[_0x16f2c5],_0x3997ef=_0x422ea2==null?void 0x0:_0x422ea2[_0x345b15(0x258)];else{if(_0x48ae36==='colRanges')_0x365e5a=(_0x7e1b47=_0x20a95e==null?void 0x0:_0x20a95e[_0x345b15(0x239)])==null?void 0x0:_0x7e1b47[_0x16f2c5],_0x422ea2=(_0x4f1844=_0x3f44c5[_0x345b15(0x13a)])==null?void 0x0:_0x4f1844[_0x255886+0x1+_0x16f2c5-_0x4f3d2d[_0x345b15(0x2bd)][0x0][_0x345b15(0x203)]],_0x3997ef=_0x422ea2==null?void 0x0:_0x422ea2[_0x345b15(0x258)];else{if(_0x48ae36==='cornerRanges')_0x365e5a=(_0x699d3=_0x20a95e==null?void 0x0:_0x20a95e[_0x345b15(0x29e)])==null?void 0x0:_0x699d3[_0x16f2c5],_0x3997ef=_0x365e5a==null?void 0x0:_0x365e5a['tableFieldId'];else{if(_0x48ae36===_0x345b15(0x17e)){const _0x46a1cd=_0x424f53==null?void 0x0:_0x424f53['fi'];_0x46a1cd!==void 0x0&&(_0x3997ef=_0x472134['getFilterFieldIdByIndex'](_0x46a1cd));}}}}return{'filterId':_0x3997ef,'info':_0x365e5a,'data':_0x424f53,'headerInfo':_0x422ea2};}function _0x463340(_0x2f2e34,_0x513794,_0x449d92){const _0x31a252=_0x2555fc,_0x428b2f=_0x2f2e34['dataFieldsCollection'],_0x527e1f=_0x428b2f[_0x31a252(0x10b)](),_0x245d28=new Set();_0x2f2e34['iterateField'](_0x57d312=>{const _0x182604=_0x31a252;_0x245d28[_0x182604(0x1a7)](_0x57d312[_0x182604(0x133)]);});const _0xf8af4f=_0x527e1f['map'](_0x243313=>{const _0x497e7a=_0x31a252,_0x482cdd=_0x428b2f[_0x497e7a(0x17c)](_0x243313);return{'checked':_0x245d28['has'](_0x243313),'dataFieldId':_0x482cdd['id'],'id':_0x482cdd['id'],'name':_0x428b2f[_0x497e7a(0xdc)](_0x482cdd['id']),'type':_0x482cdd[_0x497e7a(0x1e6)](),'pivotTableId':_0x513794};}),_0x6c43bf=[];_0x2f2e34[_0x31a252(0x10f)](_0x1af8aa[_0x31a252(0x1f2)]['Row'],_0x36eaa0=>{const _0xd6d87c=_0x31a252;_0x6c43bf[_0xd6d87c(0x184)]({'dataFieldId':_0x36eaa0[_0xd6d87c(0x133)],'tableFieldId':_0x36eaa0[_0xd6d87c(0x2a4)](),'displayName':_0x36eaa0[_0xd6d87c(0xdc)]()});});const _0x35079e=[];_0x2f2e34[_0x31a252(0x10f)](_0x1af8aa[_0x31a252(0x1f2)][_0x31a252(0xce)],_0x1813f7=>{const _0x2c1a19=_0x31a252;_0x35079e['push']({'dataFieldId':_0x1813f7[_0x2c1a19(0x133)],'tableFieldId':_0x1813f7['getId'](),'displayName':_0x1813f7[_0x2c1a19(0xdc)]()});});const _0x1db64d=[];if(_0x2f2e34[_0x31a252(0x10f)](_0x1af8aa[_0x31a252(0x1f2)][_0x31a252(0x299)],_0x23c26e=>{const _0x3c7517=_0x31a252;_0x1db64d[_0x3c7517(0x184)]({'dataFieldId':_0x23c26e[_0x3c7517(0x133)],'tableFieldId':_0x23c26e[_0x3c7517(0x2a4)](),'displayName':_0x23c26e[_0x3c7517(0xdc)](),'format':_0x23c26e[_0x3c7517(0xdf)](),'subTotalType':_0x23c26e[_0x3c7517(0xb3)]()});}),_0x1db64d[_0x31a252(0x1de)]>0x1){const _0x594149=_0x2f2e34[_0x31a252(0x15b)]();(_0x2f2e34[_0x31a252(0xd1)]()?_0x35079e:_0x6c43bf)[_0x31a252(0xa8)](_0x594149,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x31a252(0x210)});}const _0x1ec956=[];_0x2f2e34[_0x31a252(0x10f)](_0x1af8aa[_0x31a252(0x1f2)][_0x31a252(0x2e9)],_0x102769=>{const _0x381667=_0x31a252;_0x1ec956[_0x381667(0x184)]({'dataFieldId':_0x102769[_0x381667(0x133)],'tableFieldId':_0x102769[_0x381667(0x2a4)](),'displayName':_0x102769[_0x381667(0xdc)]()});});const _0xf91508=_0x449d92['sourceRangeInfo'];return{'sourceList':_0xf8af4f,'sourceRange':_0xf91508,'rowFields':_0x6c43bf,'columnFields':_0x35079e,'valueFields':_0x1db64d,'filterFields':_0x1ec956,'positionInfo':_0x449d92[_0x31a252(0x28e)]};}function _0x422eac(_0x5d16de,_0xc636a3,_0x46159b='',_0x1fff24={}){const _0x1047e4=_0x2555fc,_0x47b000=_0x5d16de[_0x1047e4(0x2b4)](_0x3b4df9[_0x1047e4(0x12c)]);for(const _0x1f1bc7 in _0xc636a3)if(Object[_0x1047e4(0x284)]['hasOwnProperty'][_0x1047e4(0x212)](_0xc636a3,_0x1f1bc7)){const _0x3b2fcd=_0x46159b?_0x46159b+'.'+_0x1f1bc7:_0x1f1bc7;typeof _0xc636a3[_0x1f1bc7]=='object'&&_0xc636a3[_0x1f1bc7]!==null&&!Array[_0x1047e4(0x2e3)](_0xc636a3[_0x1f1bc7])?_0x422eac(_0x5d16de,_0xc636a3[_0x1f1bc7],_0x3b2fcd,_0x1fff24):_0x1fff24[_0x3b2fcd]=_0x47b000['t'](_0x3b2fcd);}return _0x1fff24;}const _0x161a85=_0x4ea668=>{const _0x391839=_0x2555fc;if(!_0x4ea668)return[];const {rowRanges:_0x347493,colRanges:_0x13579f,cornerRanges:_0x5e34cd,dataRanges:_0x27cda3,pageRanges:_0x2e17de}=_0x4ea668,_0x5e7a45=[..._0x13579f,..._0x347493,..._0x27cda3,..._0x5e34cd][_0x391839(0x9f)](_0x21ac07=>_0x21ac07['startRow']>=0x0&&_0x21ac07['startColumn']>=0x0&&_0x21ac07['endRow']>=0x0&&_0x21ac07[_0x391839(0xb9)]>=0x0);let _0x22e7d4=Number[_0x391839(0x154)],_0x138494=Number['MIN_SAFE_INTEGER'],_0x821a8c=Number[_0x391839(0x154)],_0x358257=Number[_0x391839(0x1ce)];for(let _0x3b9ad0=0x0;_0x3b9ad0<_0x5e7a45['length'];_0x3b9ad0++)_0x22e7d4=Math[_0x391839(0x1ab)](_0x22e7d4,_0x5e7a45[_0x3b9ad0][_0x391839(0x1ae)]),_0x138494=Math['max'](_0x138494,_0x5e7a45[_0x3b9ad0][_0x391839(0x232)]),_0x821a8c=Math['min'](_0x821a8c,_0x5e7a45[_0x3b9ad0]['startColumn']),_0x358257=Math[_0x391839(0x250)](_0x358257,_0x5e7a45[_0x3b9ad0][_0x391839(0xb9)]);return[..._0x2e17de,{'startRow':_0x22e7d4,'endRow':_0x138494,'startColumn':_0x821a8c,'endColumn':_0x358257}];};function _0x5a2452(_0x92984f,_0x49541f){const _0xac155c=_0x2555fc,_0x2c5d03=_0x49541f['params']['drillDown'],{pivotTableId:_0xa3b481,unitId:_0x37209,subUnitId:_0xc87a38}=_0x49541f;if(!_0x2c5d03)return;const _0x56d887=_0x92984f[_0xac155c(0x2b4)](_0x1cbd63[_0xac155c(0x15d)]),_0x4eb0f2=_0x56d887[_0xac155c(0x22c)](_0xa3b481),_0x326e06=_0x56d887['getPivotTableConfig'](_0x37209,_0xc87a38,_0xa3b481);if(!_0x4eb0f2||!_0x326e06)return;const _0x468d1a=_0x4eb0f2[_0xac155c(0xd9)](_0x2c5d03[_0xac155c(0x108)]);if(!(_0x468d1a!=null&&_0x468d1a[_0xac155c(0x1de)]))return;const _0x40023e=_0x326e06['sourceRangeInfo'],{unitId:_0x7c3c6,subUnitId:_0x4a28f4,range:_0x1f8981}=_0x40023e;let _0x5a9f42=0x0;const _0x23be11=_0x4eb0f2[_0xac155c(0xfb)][_0xac155c(0x10b)]()[_0xac155c(0x19a)]((_0x356bee,_0x18f774)=>{const _0x99e4f3=_0xac155c;var _0x47a1c2;const _0x5dc7f2=(_0x47a1c2=_0x4eb0f2[_0x99e4f3(0x236)](_0x18f774))==null?void 0x0:_0x47a1c2[_0x99e4f3(0x204)]();return _0x5dc7f2&&(_0x356bee[String(_0x5a9f42)]=_0x5dc7f2),_0x5a9f42++,_0x356bee;},{});return{'indexes':_0x468d1a,'range':_0x1f8981,'sourceUnitId':_0x7c3c6,'sourceSubUnitId':_0x4a28f4,'formatMap':_0x23be11};}function _0x2b2708(_0x7bcba9,_0xc7caba){const _0x4ec5f1=_0x2555fc;if(!_0x7bcba9||!_0xc7caba)return!0x0;const _0x478c0c=_0xdc1282[_0x4ec5f1(0x2aa)](_0x8ba593,_0x5631b6),_0x13410a=new Function(_0x4ec5f1(0x229)+_0x478c0c)()(_0x7bcba9,_0xc7caba)['message'],_0x4b199e=_0xdc1282[_0x4ec5f1(0x2ac)](_0x13410a,'sf',_0x4f6827);return!((_0x13410a==null?void 0x0:_0x13410a['rt'])===_0xdc1282['ReleaseType']['NO_COMMERCIAL']&&!_0x4b199e);}function _0x1b0bf8(_0x1abce1,_0x56cc38,_0x3aff5a){const _0x3fe501=_0x2555fc,_0x33d42a={'count':_0x1abce1,'timeValid':!0x1};if(!_0x56cc38||!_0x3aff5a)return _0x33d42a;const _0x420165=_0xdc1282[_0x3fe501(0x2aa)](_0x8ba593,_0x5631b6),_0x3c7a55=new Function('return\x20'+_0x420165)()(_0x56cc38,_0x3aff5a);if(_0x3c7a55!=null&&_0x3c7a55['valid']){const _0x365d3e=_0x3c7a55['message'],_0x56cb12=_0xdc1282['isFeatureAuthorizedWithinTime'](_0x365d3e,'sf',_0x4f6827);return{'count':_0xdc1282[_0x3fe501(0x227)](_0x365d3e,_0x56cb12,_0x3fe501(0x2a8),_0x1abce1),'timeValid':_0x56cb12};}return _0x33d42a;}const _0x3eecc2=_0x413c75=>{const _0x27fca6=_0x2555fc;var _0x5e5114;return((_0x5e5114=_0x413c75[_0x27fca6(0x122)])==null?void 0x0:_0x5e5114[_0x27fca6(0x2d6)][_0x27fca6(0x181)](/\r\n$/,''))||'';};class _0x58a8c4 extends _0x1af8aa[_0x2555fc(0x20f)]{constructor(_0x383a2b,_0x4aec45){const _0x13341c=_0x2555fc;super(),_0x483932(this,_0x13341c(0x26b),{}),_0x483932(this,_0x13341c(0x128)),_0x483932(this,'_host'),(this['_univerInstanceService']=_0x4aec45,this['_host']=_0x383a2b);}[_0x2555fc(0x17f)](){const _0x1380e2=_0x2555fc;for(const _0x2355b0 in this[_0x1380e2(0x1b0)]){const _0x510dc4=this[_0x1380e2(0x1b0)][_0x2355b0],_0xd5338=_0x510dc4[_0x1380e2(0x162)]();this[_0x1380e2(0x26b)][_0xd5338]=_0x510dc4[_0x1380e2(0x2a4)]();}}[_0x2555fc(0x20b)](){const _0xdbd26b=_0x2555fc,_0x1ae778=this[_0xdbd26b(0x190)];return _0x2d1b3f['bind'](_0x1ae778);}[_0x2555fc(0xe4)](_0x2082e9){const _0x2d0b57=_0x2555fc,_0x3910e9=this[_0x2d0b57(0x1b0)][_0x2082e9][_0x2d0b57(0x19d)];delete this[_0x2d0b57(0x1b0)][_0x2082e9],delete this['rangeKeyMap'][_0x3910e9];}[_0x2555fc(0x141)](_0x40d0f7){const _0x9fb751=_0x2555fc;var _0x15fc45,_0x50457d;const _0x25c4e1=this['_host'][_0x9fb751(0xa2)](_0x40d0f7);if(_0x25c4e1){const {unitId:_0x285ae6,subUnitId:_0x1a5ca1}=_0x25c4e1,_0x30e48a=(_0x15fc45=this[_0x9fb751(0x190)][_0x9fb751(0x217)](_0x285ae6,_0x1a5ca1,_0x40d0f7))==null?void 0x0:_0x15fc45['sourceRangeInfo'];this[_0x9fb751(0x190)][_0x9fb751(0xd4)]({'token':_0x40d0f7,'type':_0x83ee09[_0x9fb751(0xcf)],'dataRangeInfo':_0x30e48a});}(_0x50457d=this[_0x9fb751(0xbd)](_0x40d0f7))==null||_0x50457d[_0x9fb751(0x2a7)](),delete this[_0x9fb751(0x279)][_0x40d0f7];}[_0x2555fc(0x162)](_0x8d70ac,_0x5e44aa){const {sheetName:_0x2832e3,unitId:_0x308a49,range:_0x10a7db}=_0x8d70ac,{startRow:_0x1f65c2,endRow:_0x2003df}=_0x10a7db;return _0x579eee['serializeRangeWithSpreadsheet'](_0x308a49,_0x2832e3,{'startRow':_0x1f65c2,'endRow':_0x2003df,'startColumn':_0x5e44aa,'endColumn':_0x5e44aa});}[_0x2555fc(0x148)](_0x253d5b){return this['dataFields'][this['rangeKeyMap'][_0x253d5b]];}[_0x2555fc(0x12b)](_0x513fd6,_0x4515b6){const _0x59b081=_0x2555fc;this[_0x59b081(0x26b)][_0x513fd6]=_0x4515b6;}['updateRangeKeyMap'](_0x416341,_0x19a581){const _0x2433f8=_0x2555fc;this[_0x2433f8(0x26b)][_0x19a581]=this[_0x2433f8(0x26b)][_0x416341],delete this['rangeKeyMap'][_0x416341];}[_0x2555fc(0x16b)](_0x31ef98,_0x241b9d,_0xa2ef0b,_0x16c3db){const _0x38117c=_0x2555fc,_0x23c50f=new _0x1af8aa['FieldsCollection'](this);_0x23c50f[_0x38117c(0xc3)](_0x241b9d);const _0x89c6d5=[];let _0x4e37f3=0x0;for(const _0x27fddc of _0x23c50f[_0x38117c(0x2cf)]){const _0x288aaf=this[_0x38117c(0x162)](_0xa2ef0b,_0x4e37f3),_0x5c04bb=this['dataFields'][_0x27fddc];_0x5c04bb&&(_0x5c04bb['rangeKey']=_0x288aaf,this[_0x38117c(0x12b)](_0x288aaf,_0x27fddc),_0x89c6d5[_0x38117c(0x184)]({'index':_0x4e37f3,'dataField':_0x5c04bb})),_0x4e37f3++;}return this['addCollection'](_0x31ef98,_0x23c50f,_0xa2ef0b,_0x16c3db),{'collection':_0x23c50f,'updateDataFieldList':_0x89c6d5};}[_0x2555fc(0x22b)](_0x5c8140,_0x3c6729){const _0x531158=_0x2555fc;return _0x5c8140[_0x531158(0x138)]===_0x3b4df9[_0x531158(0xf4)]['COLUMN']?{'startRow':0x0,'startColumn':_0x5c8140[_0x531158(0x203)],'endRow':_0x3c6729['getRowCount']()-0x1,'endColumn':_0x5c8140['endColumn']}:{'startRow':_0x5c8140[_0x531158(0x1ae)],'startColumn':_0x5c8140[_0x531158(0x203)],'endRow':_0x5c8140[_0x531158(0x232)],'endColumn':_0x5c8140['endColumn']};}[_0x2555fc(0xf8)](_0x3293bb){const _0x49e8d4=_0x2555fc,{sheetName:_0xcd1d86,range:_0x1049b7}=_0x3293bb,_0x3576ef=this[_0x49e8d4(0x128)][_0x49e8d4(0xc0)](_0x3b4df9[_0x49e8d4(0x287)][_0x49e8d4(0x2a2)]),_0xd4fb3b=_0x3576ef[_0x49e8d4(0x132)](_0xcd1d86),_0x59ed56=_0xd4fb3b[_0x49e8d4(0x205)](),{startColumn:_0x482313,startRow:_0x33e713,endColumn:_0x422fc4}=this[_0x49e8d4(0x22b)](_0x1049b7,_0xd4fb3b),_0x3dab57=_0x3576ef[_0x49e8d4(0x16e)](),_0x1c5075=new _0x1af8aa[(_0x49e8d4(0x10a))](this);_0x1c5075[_0x49e8d4(0x194)](_0x3293bb);const _0x3396df=[],_0x507ade={};for(let _0x89441f=_0x482313;_0x89441f<=_0x422fc4;_0x89441f++){const _0x1eb23a=_0x59ed56[_0x49e8d4(0x1cf)](_0x33e713,_0x89441f),_0x25bc9e=this[_0x49e8d4(0x162)](_0x3293bb,_0x89441f),_0x51579c=this[_0x49e8d4(0x148)](_0x25bc9e);if(_0x51579c)_0x1c5075['addField'](_0x51579c['getId'](),_0x51579c[_0x49e8d4(0x286)]());else{const _0x1f8f5f=this['createDataFieldId']();let _0x234367=this[_0x49e8d4(0x2b0)](_0x1eb23a,_0x3dab57,_0x507ade);_0x1af8aa[_0x49e8d4(0x23a)](_0x234367)&&(_0x234367=_0x3b4df9[_0x49e8d4(0x1f1)][_0x49e8d4(0xed)](_0x234367['f'],Number(_0x234367['v'])));const _0x49e5ab=this['uniqueDataFieldName'](_0x234367,_0x482313+_0x89441f),_0x29c263=new _0x1af8aa[(_0x49e8d4(0x1ff))](_0x1f8f5f,_0x49e5ab,_0x1af8aa['generateHexNumber'](0x3));_0x29c263[_0x49e8d4(0x19d)]=_0x25bc9e,this['dataFields'][_0x1f8f5f]=_0x29c263,_0x1c5075[_0x49e8d4(0x246)](_0x1f8f5f,_0x49e5ab),_0x3396df['push']({'index':_0x89441f,'dataField':_0x29c263});}}return{'updateDataFieldList':_0x3396df,'collection':_0x1c5075};}[_0x2555fc(0x28f)](_0x50b3dd){const _0x11c998=_0x2555fc;return this['_host'][_0x11c998(0x14a)]()[_0x11c998(0x1fa)]+'\x20'+_0x3b4df9[_0x11c998(0x255)](_0x50b3dd);}['uniqueDataFieldName'](_0x3878bd,_0x15133e){const _0x26710e=_0x2555fc;return _0x3878bd==null?this[_0x26710e(0x28f)](_0x15133e):String(_0x3878bd);}[_0x2555fc(0xbd)](_0x243a40){const _0x20aa15=_0x2555fc;return this[_0x20aa15(0x279)][_0x243a40];}[_0x2555fc(0xf9)](_0x4c8ae9,_0x3b0b10,_0x362c81,_0x7cb8c6){const _0x10b771=_0x2555fc;this[_0x10b771(0x279)][_0x4c8ae9]=_0x3b0b10,_0x3b0b10[_0x10b771(0x194)](_0x362c81),this[_0x10b771(0x190)]['broadcastCollectionChange']({'token':_0x4c8ae9,'type':_0x83ee09[_0x10b771(0x1a7)],'dataRangeInfo':_0x362c81,'targetCellInfo':_0x7cb8c6});}[_0x2555fc(0x24e)](_0x6e3dd4,_0x1dcd9f){const _0x4ca6f1=_0x2555fc,_0x47741f=this[_0x4ca6f1(0xbd)](_0x6e3dd4),_0xbc2f9b=_0x47741f[_0x4ca6f1(0x10b)]();let _0x4adda8=0x0;for(const _0x5ef051 of _0xbc2f9b){const _0x1ea13f=_0x47741f[_0x4ca6f1(0x17c)](_0x5ef051),_0x182015=this[_0x4ca6f1(0x162)](_0x1dcd9f,_0x4adda8);this[_0x4ca6f1(0x27e)](_0x1ea13f['rangeKey'],_0x182015),_0x4adda8++;}}[_0x2555fc(0x1a4)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x30ff56,_0x16892a){const _0x23317a=_0x2555fc;if(this['getCollection'](_0x30ff56)){const _0x5ef88d=this[_0x23317a(0x1eb)](_0x16892a),_0x5c000b=[];for(const _0x29855e of _0x5ef88d)this[_0x23317a(0x26b)][_0x29855e]!==void 0x0&&_0x5c000b[_0x23317a(0x184)](this[_0x23317a(0x26b)][_0x29855e]);const _0x56816c=this[_0x23317a(0x183)](_0x30ff56),_0x4f55d9=[],_0x567da9=new Set(_0x5c000b);for(const _0x2fef34 of _0x56816c)_0x567da9['has'](_0x2fef34)||_0x4f55d9[_0x23317a(0x184)](_0x2fef34);return _0x4f55d9;}}[_0x2555fc(0x267)](_0x418c88,_0x57a65f,_0x1d5205,_0x469306,_0x346f30){const _0x1bb562=_0x2555fc;return _0x57a65f&&_0x57a65f['getValue'](_0x469306,_0x346f30)?_0x57a65f[_0x1bb562(0x1cf)](_0x469306,_0x346f30):_0x1d5205&&_0x1d5205['getValue'](_0x469306,_0x346f30)?_0x1d5205['getValue'](_0x469306,_0x346f30):_0x418c88[_0x1bb562(0x1cf)](_0x469306,_0x346f30);}[_0x2555fc(0x156)](_0x1ea3ef,_0x45073f,_0x27cb80,_0x7ccad8){const _0x123e37=_0x2555fc,_0xe083a6=this[_0x123e37(0x1b0)][_0x1ea3ef];if(!_0xe083a6)return;const {subUnitId:_0x5f5d3f,range:_0x5d64c2,unitId:_0x512e2f}=_0x45073f,_0x39af30=this[_0x123e37(0x128)][_0x123e37(0xbe)](_0x512e2f);if(!_0x39af30){console[_0x123e37(0x2ee)](_0x123e37(0x259));return;}const _0x7b8e5a=_0x39af30[_0x123e37(0x126)](_0x5f5d3f),_0xa52451=_0x7b8e5a[_0x123e37(0x205)](),{arrayFormulaCellDataMatrix:_0x226d6d,unitDataMatrix:_0x12ce53}=_0x7ccad8||{},{startRow:_0x275a57,startColumn:_0x2c10c1,endRow:_0x16225f}=this[_0x123e37(0x22b)](_0x5d64c2,_0x7b8e5a);_0xe083a6[_0x123e37(0x189)]();const _0x25e05b=_0x39af30[_0x123e37(0x16e)](),_0x4fe9d4={},_0x3ec4bc=this[_0x123e37(0x267)](_0xa52451,_0x226d6d,_0x12ce53,_0x275a57,_0x2c10c1+_0x27cb80);let _0x19c39e=this[_0x123e37(0x2b0)](_0x3ec4bc,_0x25e05b,_0x4fe9d4);_0x1af8aa[_0x123e37(0x23a)](_0x19c39e)&&(_0x19c39e=_0x3b4df9[_0x123e37(0x1f1)][_0x123e37(0xed)](_0x19c39e['f'],Number(_0x19c39e['v'])));const _0x14970b=this[_0x123e37(0xc7)](_0x19c39e,_0x2c10c1+_0x27cb80);_0xe083a6[_0x123e37(0x192)](_0x14970b);for(let _0x5d59fd=_0x275a57+0x1;_0x5d59fd<=_0x16225f;_0x5d59fd++){const _0x3d6529=this[_0x123e37(0x267)](_0xa52451,_0x226d6d,_0x12ce53,_0x5d59fd,_0x2c10c1+_0x27cb80);_0xe083a6[_0x123e37(0x110)](this[_0x123e37(0x2b0)](_0x3d6529,_0x25e05b,_0x4fe9d4),_0x5d59fd-0x1);}}['refreshData'](_0x44ecd6,_0x5d36db,_0x52148c){const _0x193b74=_0x2555fc,{subUnitId:_0x35e1e7,range:_0x276425,unitId:_0x3af988}=_0x52148c,_0x13894a=this[_0x193b74(0x128)][_0x193b74(0xbe)](_0x3af988);if(!_0x13894a){console[_0x193b74(0x2ee)](_0x193b74(0x259));return;}const _0x1664e5=_0x13894a[_0x193b74(0x126)](_0x35e1e7),_0x39f438=_0x1664e5[_0x193b74(0x205)](),{startRow:_0x15f397,startColumn:_0x390237,endRow:_0x3f6361}=this['getRangeStartEndInfo'](_0x276425,_0x1664e5),_0x5e2ae3=_0x13894a[_0x193b74(0x16e)](),_0x2a584d={};for(const {dataField:_0x466427,index:_0x21beea}of _0x5d36db){_0x466427[_0x193b74(0x189)]();const _0x1a3e72=this[_0x193b74(0x267)](_0x39f438,void 0x0,void 0x0,_0x15f397,_0x390237+_0x21beea);let _0x5eea7c=this[_0x193b74(0x2b0)](_0x1a3e72,_0x5e2ae3,_0x2a584d);_0x1af8aa['isDateValue'](_0x5eea7c)&&(_0x5eea7c=_0x3b4df9[_0x193b74(0x1f1)][_0x193b74(0xed)](_0x5eea7c['f'],Number(_0x5eea7c['v'])));const _0x52f248=this['uniqueDataFieldName'](_0x5eea7c,_0x390237+_0x21beea);_0x466427[_0x193b74(0x192)](_0x52f248);}_0x44ecd6[_0x193b74(0x28c)]();for(let _0x3fa4d7=_0x15f397+0x1;_0x3fa4d7<=_0x3f6361;_0x3fa4d7++)for(const {index:_0x5386cd,dataField:_0x5c5450}of _0x5d36db){const _0x55b57b=_0x39f438[_0x193b74(0x1cf)](_0x3fa4d7,_0x390237+_0x5386cd);_0x5c5450['addRecord'](this['adjustSheetCellData'](_0x55b57b,_0x5e2ae3,_0x2a584d),_0x3fa4d7-0x1);}_0x44ecd6[_0x193b74(0x19e)](_0x3f6361-_0x15f397);}[_0x2555fc(0x1eb)](_0x17b93e){const _0x4de5bc=_0x2555fc,{range:_0x569a4a}=_0x17b93e,{startColumn:_0x5a057c,endColumn:_0x44b583}=_0x569a4a,_0x43cee2=[];for(let _0x387564=_0x5a057c;_0x387564<=_0x44b583;_0x387564++)_0x43cee2[_0x4de5bc(0x184)](this[_0x4de5bc(0x162)](_0x17b93e,_0x387564));return _0x43cee2;}['adjustSheetCellData'](_0x11b850,_0x5c1be9,_0x455cab){const _0x22fc51=_0x2555fc;if(_0x11b850){const {s:_0x26ff5f,v:_0x400f7c,t:_0x4e0233,p:_0x2c8645}=_0x11b850;if(_0x2c8645)return _0x3eecc2(_0x2c8645);const _0x5c25cc=_0x5c1be9['get'](_0x26ff5f);if(_0x5c25cc&&_0x4e0233===_0x3b4df9[_0x22fc51(0x1dd)][_0x22fc51(0x281)]&&_0x5c25cc['n']){const {pattern:_0x2bd623}=_0x5c25cc['n'];_0x455cab[_0x2bd623]||(_0x455cab[_0x2bd623]=_0x3b4df9[_0x22fc51(0x1f1)][_0x22fc51(0x1f8)](_0x2bd623));const _0xcdf8b=_0x455cab[_0x2bd623],_0x1648e9=_0xcdf8b['isDate'];if(_0xcdf8b[_0x22fc51(0x16d)])return String(_0x400f7c);if(_0x1648e9)return{'v':_0x400f7c,'f':_0x2bd623};}if(_0x4e0233===_0x3b4df9['CellValueType']['NUMBER'])return Number(_0x400f7c);if(_0x4e0233===_0x3b4df9[_0x22fc51(0x1dd)][_0x22fc51(0x26a)]||_0x4e0233===_0x3b4df9['CellValueType'][_0x22fc51(0x2d9)])return String(_0x400f7c);if(_0x4e0233===void 0x0){const _0x3b05e3=Number(_0x400f7c);if(!Number['isNaN'](_0x3b05e3)&&String(_0x3b05e3)===_0x400f7c)return _0x3b05e3;}return _0x400f7c!=null?_0x400f7c:null;}else return null;}[_0x2555fc(0x1f9)](_0x40e560){const _0x28a7b6=_0x2555fc,{sheetName:_0x122276,range:_0x37c598,unitId:_0x53a58d}=_0x40e560,_0x20d276=this[_0x28a7b6(0x128)][_0x28a7b6(0xbe)](_0x53a58d);if(!_0x20d276)return console['error']('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x1dc1bb=_0x20d276[_0x28a7b6(0x132)](_0x122276),_0x377d03=_0x1dc1bb['getCellMatrix'](),{startRow:_0x455877,startColumn:_0xec2601,endRow:_0x43016a,endColumn:_0x3ae3ab}=this['getRangeStartEndInfo'](_0x37c598,_0x1dc1bb),_0x15d234=_0x20d276[_0x28a7b6(0x16e)](),_0x248b95=[],_0x31e80e=[],_0x134d5d={};for(let _0x3a596a=_0x455877;_0x3a596a<=_0x43016a;_0x3a596a++){const _0x4fbb36=[];for(let _0x564632=_0xec2601;_0x564632<=_0x3ae3ab;_0x564632++){const _0x4f1c85=_0x377d03[_0x28a7b6(0x1cf)](_0x3a596a,_0x564632);_0x3a596a===_0x455877?_0x248b95['push'](_0x4f1c85==null?null:String(_0x4f1c85['v'])):_0x4fbb36[_0x28a7b6(0x184)](this[_0x28a7b6(0x2b0)](_0x4f1c85,_0x15d234,_0x134d5d));}_0x31e80e['push'](_0x4fbb36);}return{'header':_0x248b95,'data':_0x31e80e};}['toJSON'](){const _0x105eac=_0x2555fc;return super[_0x105eac(0x135)]();}[_0x2555fc(0xc3)](_0x573557){const _0x17d130=_0x2555fc;super[_0x17d130(0xc3)](_0x573557),this['initDataRanges']();}[_0x2555fc(0x2a7)](){const _0x21973f=_0x2555fc;super['dispose'](),this[_0x21973f(0x26b)]={},this['_host']=null;}}const _0x53a465=_0x22d961=>{const _0x5bfa99=_0x2555fc,{targetCellInfo:_0x65f1d1}=_0x22d961,{matrixCache:_0x32d40a,rangesCache:_0x4d1b86}=_0x21dfc5({'filter':_0x5bfa99(0x2e9),'row':_0x5bfa99(0x119),'column':_0x5bfa99(0xce),'values':'Values'},_0x65f1d1),_0x879c3b=new _0x3b4df9[(_0x5bfa99(0x2f8))]();return _0x32d40a['forValue']((_0x1c2223,_0x5a21d1,_0x3d2344)=>{const _0x31ac15=_0x5bfa99;_0x879c3b[_0x31ac15(0x21e)](_0x1c2223,_0x5a21d1,_0x3d2344);}),{'matrix':_0x879c3b,'rangesCache':_0x4d1b86};},_0x32f911=_0x1a6322=>{const _0x1f31c5=_0x2555fc;let _0x21aa6d;if(_0x1a6322!=null&&_0x1a6322['v']||(_0x1a6322==null?void 0x0:_0x1a6322['v'])===0x0){_0x21aa6d||(_0x21aa6d={});const _0x5ec604=_0x661f56(_0x1a6322['v']);typeof _0x5ec604==_0x1f31c5(0x25f)?_0x21aa6d['t']=_0x3b4df9['CellValueType'][_0x1f31c5(0x281)]:typeof _0x5ec604==_0x1f31c5(0xc5)&&(_0x21aa6d['t']=_0x3b4df9[_0x1f31c5(0x1dd)][_0x1f31c5(0x26a)]),_0x21aa6d['v']=_0x5ec604;}return _0x21aa6d;},_0x166885=(_0x26b6bb,_0x31cb44,_0x2acb80)=>{const _0x2c4466=_0x2555fc;var _0x45bf49,_0x2c86ea,_0x647c8b,_0x41f2b2,_0x3ae0ef,_0x4b7185,_0x5d90dc,_0x848d86,_0x569a47,_0x1e0715,_0x3336e0,_0x59e605;const {cornerView:_0x5bbc95,rowView:_0x585204,colView:_0x4e883d,dataView:_0x24d5b0,pageView:_0x27cc7d,formatMap:_0x5cf8b5}=_0x26b6bb,{row:_0x249385,col:_0x232496}=_0x31cb44,_0x25a6b1=new _0x3b4df9[(_0x2c4466(0x2f8))]();let _0x198304=_0x249385,_0x15be6b=_0x232496;Object['keys'](_0x27cc7d[_0x2c4466(0x238)])[_0x2c4466(0x103)](_0x1741e4=>{const _0x35c714=_0x2c4466;Object['keys'](_0x27cc7d[_0x35c714(0x238)][Number(_0x1741e4)])[_0x35c714(0x103)](_0xfe48f3=>{const _0x59e550=_0x35c714,_0x2825b6={..._0x27cc7d['data'][Number(_0x1741e4)][Number(_0xfe48f3)]};_0x25a6b1[_0x59e550(0x21e)](Number(_0x1741e4)+_0x198304,Number(_0xfe48f3)+_0x15be6b,_0x32f911(_0x2825b6));});});const _0x2404e4=Object['keys'](_0x27cc7d[_0x2c4466(0x238)])['length'];_0x198304+=_0x2404e4+(_0x2404e4?_0x4cfab6:0x0);const _0x1e042a=_0x5bbc95[_0x2c4466(0x225)](),_0xee9423=_0x5bbc95['getColCount']();for(let _0x11c19e=0x0;_0x11c19e<_0x1e042a;_0x11c19e++)for(let _0x3339=0x0;_0x3339<_0xee9423;_0x3339++){const _0x179f32={...(_0x2c86ea=(_0x45bf49=_0x5bbc95[_0x2c4466(0x238)])==null?void 0x0:_0x45bf49[_0x11c19e])==null?void 0x0:_0x2c86ea[_0x3339]};_0x179f32&&((_0x647c8b=_0x585204[_0x2c4466(0x1f6)][_0x3339])!=null&&_0x647c8b[_0x2c4466(0x1b1)])&&(_0x179f32['v']=''+_0x2acb80[_0x2c4466(0x2f3)]),_0x25a6b1[_0x2c4466(0x21e)](_0x11c19e+_0x198304,_0x3339+_0x15be6b,_0x32f911(_0x179f32));}_0x15be6b+=_0xee9423;const _0x33eaa0=_0x4e883d[_0x2c4466(0x1f6)],_0x325411=_0x4e883d[_0x2c4466(0xf1)]()>=0x0?_0x4e883d[_0x2c4466(0xf1)]()+0x1:0x0,_0x548851=_0x4e883d[_0x2c4466(0x2d5)]()>=0x0?_0x4e883d[_0x2c4466(0x2d5)]()+0x1:0x0;for(let _0x352de9=0x0;_0x352de9<_0x548851;_0x352de9++)for(let _0x2f666e=0x0;_0x2f666e<_0x325411;_0x2f666e++){const _0x3d84a2={...(_0x3ae0ef=(_0x41f2b2=_0x4e883d[_0x2c4466(0x238)])==null?void 0x0:_0x41f2b2[_0x352de9])==null?void 0x0:_0x3ae0ef[_0x2f666e]},_0x32107b=(_0x4b7185=_0x33eaa0[_0x352de9])==null?void 0x0:_0x4b7185[_0x2c4466(0x258)],_0x108d7e=_0x5cf8b5[_0x32107b];_0x3d84a2&&(_0x3d84a2['v']=_0x59e21e(_0x3d84a2,_0x352de9===0x0&&((_0x5d90dc=_0x4e883d[_0x2c4466(0x215)](_0x2f666e+0x1))==null?void 0x0:_0x5d90dc[_0x2c4466(0x1b1)]),_0x108d7e,_0x2acb80)),_0x25a6b1[_0x2c4466(0x21e)](_0x352de9+_0x198304,_0x2f666e+_0x15be6b,_0x32f911(_0x3d84a2));}_0x198304+=_0x1e042a;const _0x31155f=_0x585204[_0x2c4466(0x1f6)],_0x121d4f=_0x585204['getLastRow']()>=0x0?_0x585204['getLastRow']()+0x1:0x0,_0x3b3a12=_0x585204[_0x2c4466(0x2d5)]()>=0x0?_0x585204['getLastCol']()+0x1:0x0;for(let _0x12d8f1=0x0;_0x12d8f1<_0x121d4f;_0x12d8f1++)for(let _0x30a12c=0x0;_0x30a12c<_0x3b3a12;_0x30a12c++){const _0x21faf0={...(_0x569a47=(_0x848d86=_0x585204[_0x2c4466(0x238)])==null?void 0x0:_0x848d86[_0x12d8f1])==null?void 0x0:_0x569a47[_0x30a12c]},_0x4f7d32=(_0x1e0715=_0x31155f[_0x30a12c])==null?void 0x0:_0x1e0715[_0x2c4466(0x258)],_0x23dab4=_0x5cf8b5[_0x4f7d32];_0x21faf0&&(_0x21faf0['v']=_0x59e21e(_0x21faf0,!0x1,_0x23dab4,_0x2acb80)),_0x25a6b1['setValue'](_0x12d8f1+_0x198304,_0x30a12c+_0x232496,_0x32f911(_0x21faf0));}const _0x3397fd=_0x24d5b0[_0x2c4466(0x225)](),_0x5ea55e=_0x24d5b0['getColCount']();for(let _0x4ca69c=0x0;_0x4ca69c<_0x3397fd;_0x4ca69c++)for(let _0x1fd486=0x0;_0x1fd486<_0x5ea55e;_0x1fd486++){const _0x3d77aa={...(_0x59e605=(_0x3336e0=_0x24d5b0[_0x2c4466(0x238)])==null?void 0x0:_0x3336e0[_0x4ca69c])==null?void 0x0:_0x59e605[_0x1fd486]};_0x25a6b1[_0x2c4466(0x21e)](_0x4ca69c+_0x198304,_0x1fd486+_0x15be6b,_0x32f911(_0x3d77aa));}return _0x25a6b1;},_0xa299f3=_0x8de53d=>{const _0xc9ea0=_0x2555fc,{view:_0x3ecd6a,targetCellInfo:_0x526d51,isEmpty:_0x59dad7,textInfo:_0xe24669}=_0x8de53d;if(_0x59dad7)return _0x53a465(_0x8de53d);const {pageView:_0xb27c52,cornerView:_0x3e7451,rowView:_0x14d9bf,colView:_0x4ce2e1,dataView:_0x3174e4}=_0x3ecd6a,_0x24bb4a=_0x285d63(_0x526d51,_0xb27c52,!0x0),_0x33a0bd=_0xb27c52[_0xc9ea0(0xd0)]>=0x0?_0xb27c52[_0xc9ea0(0xd0)]+0x1:0x0,_0x1318b3=_0x3e7451[_0xc9ea0(0x225)](),_0x1373a5=_0x3e7451[_0xc9ea0(0x233)](),_0x2d6086=_0x24bb4a['length']>0x0?_0x4cfab6:0x0,_0x1cafe4=_0x285d63({'row':_0x526d51[_0xc9ea0(0x2b7)]+_0x33a0bd+_0x2d6086,'col':_0x526d51['col']},_0x3e7451,!0x1,!0x1),_0x394dfb=_0x285d63({'row':_0x526d51[_0xc9ea0(0x2b7)]+_0x33a0bd+_0x2d6086+_0x1318b3,'col':_0x526d51[_0xc9ea0(0x297)]},_0x14d9bf,!0x1,!0x0),_0x27de29=_0x285d63({'row':_0x526d51[_0xc9ea0(0x2b7)]+_0x33a0bd+_0x2d6086,'col':_0x526d51[_0xc9ea0(0x297)]+_0x1373a5},_0x4ce2e1,!0x1,!0x0),_0x14ed34=_0x285d63({'row':_0x526d51[_0xc9ea0(0x2b7)]+_0x33a0bd+_0x2d6086+_0x1318b3,'col':_0x526d51[_0xc9ea0(0x297)]+_0x1373a5},_0x3174e4,!0x1,!0x1),_0x3b9799={'rowRanges':_0x394dfb,'colRanges':_0x27de29,'cornerRanges':_0x1cafe4,'dataRanges':_0x14ed34,'pageRanges':_0x24bb4a};return{'matrix':_0x166885(_0x3ecd6a,_0x526d51,_0xe24669),'rangesCache':_0x3b9799};};var _0x2b5ef5=Object[_0x2555fc(0x1d7)],_0x2bbfaf=Object[_0x2555fc(0x114)],_0x2c4691=(_0x14530c,_0xe223be,_0x3b201a,_0x4948c1)=>{const _0x3242e7=_0x2555fc;for(var _0x58f07d=_0x4948c1>0x1?void 0x0:_0x4948c1?_0x2bbfaf(_0xe223be,_0x3b201a):_0xe223be,_0x2ab572=_0x14530c[_0x3242e7(0x1de)]-0x1,_0x2a2b99;_0x2ab572>=0x0;_0x2ab572--)(_0x2a2b99=_0x14530c[_0x2ab572])&&(_0x58f07d=(_0x4948c1?_0x2a2b99(_0xe223be,_0x3b201a,_0x58f07d):_0x2a2b99(_0x58f07d))||_0x58f07d);return _0x4948c1&&_0x58f07d&&_0x2b5ef5(_0xe223be,_0x3b201a,_0x58f07d),_0x58f07d;},_0x59db7f=(_0x2be40d,_0x127504)=>(_0x59971f,_0x58c731)=>_0x127504(_0x59971f,_0x58c731,_0x2be40d);_0x1cbd63['SheetsPivotDataSourceModel']=class extends _0x3b4df9['Disposable']{constructor(_0x23fa6c,_0x4d46cf,_0x111f2c,_0x2c2d58,_0x5b244d,_0x38c073){const _0x4e41af=_0x2555fc;super(),_0x483932(this,'_model',new Map()),_0x483932(this,_0x4e41af(0x20c),new Map()),_0x483932(this,'_viewData',new Map()),_0x483932(this,'_textInfo'),_0x483932(this,_0x4e41af(0xd6),new _0x5290a9[(_0x4e41af(0x231))]()),_0x483932(this,_0x4e41af(0xe9),this['_collectionChange$'][_0x4e41af(0x2f1)]()),_0x483932(this,_0x4e41af(0x2b3),new _0x5290a9[(_0x4e41af(0x231))]()),_0x483932(this,_0x4e41af(0x2b8),this[_0x4e41af(0x2b3)][_0x4e41af(0x2f1)]()),_0x483932(this,_0x4e41af(0x168),new _0x5290a9['Subject']()),_0x483932(this,_0x4e41af(0x172),this[_0x4e41af(0x168)][_0x4e41af(0x2f1)]()),_0x483932(this,'_dataFieldManagerCollection',new Map()),_0x483932(this,_0x4e41af(0x29b),[]),_0x483932(this,_0x4e41af(0x11c),new Map()),(this['_injector']=_0x23fa6c,this['_univerInstanceService']=_0x4d46cf,this['_lifecycleService']=_0x111f2c,this['_configService']=_0x2c2d58,this[_0x4e41af(0xe0)]=_0x5b244d,this['_resourceManagerService']=_0x38c073,this[_0x4e41af(0x1bc)]());}[_0x2555fc(0x14a)](){const _0x1fd25e=_0x2555fc;return this[_0x1fd25e(0x28b)]?this[_0x1fd25e(0x28b)]:_0xb25579;}[_0x2555fc(0xa5)](_0x49af33){const _0x11e41c=_0x2555fc;this[_0x11e41c(0x28b)]=_0x49af33;}[_0x2555fc(0x24e)](_0x228031){const _0x2e2427=_0x2555fc;var _0x530e95;const {from:_0x3dada8,to:_0x2e6a8d,unitId:_0x1d8754,fromRange:_0x4293d8,toRange:_0x33d7ff}=_0x228031;if(_0x3dada8&&_0x2e6a8d){const _0xeb49f=this[_0x2e2427(0x248)](_0x1d8754),_0x5953b9=this[_0x2e2427(0x1a6)][_0x2e2427(0x2b4)](_0x1d8754),_0x247a32=(_0x530e95=this['_univerInstanceService'][_0x2e2427(0xbe)](_0x1d8754))==null?void 0x0:_0x530e95[_0x2e2427(0x126)](_0x2e6a8d[_0x2e2427(0x2c8)]);if(!_0x5953b9||!_0x247a32)return;const _0x8ffff2=_0x247a32==null?void 0x0:_0x247a32[_0x2e2427(0x286)]();for(const [_0x164ebf,_0xa6690e]of _0x5953b9[_0x2e2427(0x2bf)]())for(const [_0x23c370,_0x449a8e]of _0xa6690e['entries']()){const {sourceRangeInfo:_0x3efefb}=_0x449a8e;if(_0x3efefb['unitId']===_0x1d8754&&_0x3efefb['subUnitId']===_0x3dada8[_0x2e2427(0x2c8)]&&_0x3b4df9[_0x2e2427(0x2e7)][_0x2e2427(0x152)](_0x4293d8,_0x3efefb['range'])){const _0x3e90c8={'row':_0x3efefb[_0x2e2427(0x2a5)]['startRow']-_0x4293d8[_0x2e2427(0x1ae)],'col':_0x3efefb[_0x2e2427(0x2a5)]['startColumn']-_0x4293d8[_0x2e2427(0x203)]},_0x2e36b0={'unitId':_0x1d8754,'subUnitId':_0x2e6a8d[_0x2e2427(0x2c8)],'sheetName':_0x8ffff2,'range':{'startRow':_0x33d7ff[_0x2e2427(0x1ae)]+_0x3e90c8['row'],'endRow':_0x33d7ff[_0x2e2427(0x1ae)]+_0x3e90c8[_0x2e2427(0x2b7)]+_0x3efefb['range'][_0x2e2427(0x232)]-_0x3efefb[_0x2e2427(0x2a5)][_0x2e2427(0x1ae)],'startColumn':_0x33d7ff['startColumn']+_0x3e90c8[_0x2e2427(0x297)],'endColumn':_0x33d7ff['startColumn']+_0x3e90c8[_0x2e2427(0x297)]+_0x3efefb[_0x2e2427(0x2a5)][_0x2e2427(0xb9)]-_0x3efefb[_0x2e2427(0x2a5)][_0x2e2427(0x203)]}};_0xeb49f[_0x2e2427(0x24e)](_0x23c370,_0x2e36b0);const _0x54a7d9={..._0x449a8e,'sourceRangeInfo':_0x2e36b0};this['_updateModelCache'](_0x1d8754,_0x2e6a8d[_0x2e2427(0x2c8)],_0x23c370,_0x54a7d9),this[_0x2e2427(0xd4)]({'unitId':_0x1d8754,'token':_0x23c370,'type':_0x83ee09[_0x2e2427(0x2b9)],'oldSourceRangeInfo':_0x3efefb,'dataRangeInfo':_0x2e36b0,'targetCellInfo':_0x449a8e[_0x2e2427(0x28e)]}),this[_0x2e2427(0x1c2)]({'unitId':_0x1d8754,'subUnitId':_0x2e6a8d[_0x2e2427(0x2c8)],'oldSubUnitId':_0x164ebf,'pivotTableId':_0x23c370,'pivotTableConfig':_0x54a7d9,'collectionConfig':_0xeb49f['toJSON']()});}}}}[_0x2555fc(0xd4)](_0x4e2e82){const _0x5efbaa=_0x2555fc;this[_0x5efbaa(0xd6)][_0x5efbaa(0xa4)](_0x4e2e82);}[_0x2555fc(0x248)](_0x32fd47){const _0x32c40e=_0x2555fc;let _0x36cdaa=this[_0x32c40e(0x1a9)]['get'](_0x32fd47);return _0x36cdaa||(_0x36cdaa=new _0x58a8c4(this,this[_0x32c40e(0x128)]),this[_0x32c40e(0x1a9)][_0x32c40e(0x26e)](_0x32fd47,_0x36cdaa)),_0x36cdaa;}[_0x2555fc(0xbd)](_0x5a2978,_0x2217cf){const _0x5b8217=_0x2555fc;return this[_0x5b8217(0x248)](_0x5a2978)[_0x5b8217(0x279)][_0x2217cf];}[_0x2555fc(0x206)](_0x57cb00,_0x460aaa,_0x609991){const _0x49ecb6=_0x2555fc;return this[_0x49ecb6(0x248)](_0x57cb00)[_0x49ecb6(0x206)](_0x460aaa,_0x609991);}[_0x2555fc(0x1ea)](_0x4564e1,_0x4e09b9){const _0xf73582=_0x2555fc;let _0x3a9099=this['_model']['get'](_0x4564e1);_0x3a9099||(_0x3a9099=new Map(),this[_0xf73582(0x1a6)][_0xf73582(0x26e)](_0x4564e1,_0x3a9099));let _0x386020=_0x3a9099['get'](_0x4e09b9);return _0x386020||(_0x386020=new Map(),_0x3a9099['set'](_0x4e09b9,_0x386020)),_0x386020;}[_0x2555fc(0x2ae)](_0x103f41,_0x3edfe2,_0x5957a6,_0x20e914){const _0x251745=_0x2555fc;this['_ensurePivotMap'](_0x103f41,_0x3edfe2)[_0x251745(0x26e)](_0x5957a6,_0x20e914);}[_0x2555fc(0x2e6)](_0x2190b2,_0xf0e8a2,_0x59ff04){const _0x1155e4=_0x2555fc;var _0x593e68,_0x532c90,_0x190e1c,_0x21e27b;((_0x532c90=(_0x593e68=this[_0x1155e4(0x1a6)]['get'](_0x2190b2))==null?void 0x0:_0x593e68['get'](_0xf0e8a2))==null?void 0x0:_0x532c90[_0x1155e4(0x2b4)](_0x59ff04))&&((_0x21e27b=(_0x190e1c=this[_0x1155e4(0x1a6)][_0x1155e4(0x2b4)](_0x2190b2))==null?void 0x0:_0x190e1c[_0x1155e4(0x2b4)](_0xf0e8a2))==null||_0x21e27b[_0x1155e4(0xcf)](_0x59ff04));}['_updatePivotTableInstanceCache'](_0x3870dd,_0x6af5d3){const _0x171278=_0x2555fc;this[_0x171278(0x20c)]['set'](_0x3870dd,_0x6af5d3);}[_0x2555fc(0x18d)](_0x48be8c){const _0x38f49a=_0x2555fc;this[_0x38f49a(0x20c)][_0x38f49a(0xcf)](_0x48be8c);}[_0x2555fc(0xa6)](_0xc67a56,_0x4320b0){const _0x3631ea=_0x2555fc;let _0x1c5b4c=this[_0x3631ea(0x276)]['get'](_0xc67a56);_0x1c5b4c||(_0x1c5b4c=new Map(),this[_0x3631ea(0x276)][_0x3631ea(0x26e)](_0xc67a56,_0x1c5b4c));let _0x34b549=_0x1c5b4c[_0x3631ea(0x2b4)](_0x4320b0);return _0x34b549||(_0x34b549=new Map(),_0x1c5b4c[_0x3631ea(0x26e)](_0x4320b0,_0x34b549)),_0x34b549;}[_0x2555fc(0x1c2)](_0x559105){const _0x8e3517=_0x2555fc,{unitId:_0x4f90ee,subUnitId:_0xcc0e74,pivotTableId:_0x2e7691,pivotTableConfig:_0x42e765,collectionConfig:_0x241848}=_0x559105,_0x32b4a3={'unitId':_0x4f90ee,'subUnitId':_0xcc0e74,'oldSubUnitId':_0xcc0e74,'pivotTableId':_0x2e7691,'pivotTableConfig':_0x42e765,'collectionConfig':_0x241848};this[_0x8e3517(0xe0)][_0x8e3517(0x197)](_0x30b343['id'],_0x32b4a3,{'onlyLocal':!0x0});}['updateView'](_0x4c95af,_0x4dc324,_0x19aff9,_0x475c7f,_0x2a55bf,_0x77c12d,_0x413935,_0x4487bc=!0x1){const _0xb885a9=_0x2555fc;var _0x31f5e8;this[_0xb885a9(0xe0)][_0xb885a9(0x197)](_0x51b99a['id'],{'single':{'unitId':_0x4c95af,'subUnitId':_0x4dc324,'type':_0x19aff9,'pivotTableId':_0x475c7f,'view':_0x2a55bf,'pivotConfig':_0x77c12d},'collectionConfig':{[_0x4c95af]:_0x413935}},{'onlyLocal':!0x0});const _0xce9ce3=!!((_0x31f5e8=this[_0xb885a9(0x22c)](_0x475c7f))!=null&&_0x31f5e8[_0xb885a9(0x288)]()),_0x25b33f=this[_0xb885a9(0x217)](_0x4c95af,_0x4dc324,_0x475c7f);_0x25b33f&&this[_0xb885a9(0x1da)]({'view':_0x2a55bf,'pivotTableId':_0x475c7f,'textInfo':this[_0xb885a9(0x14a)](),'isEmpty':_0xce9ce3,'targetCellInfo':_0x25b33f[_0xb885a9(0x28e)]},_0x4487bc);}[_0x2555fc(0x1da)](_0x2d1012,_0x4ecb0a){const _0x3bae81=_0x2555fc,{targetCellInfo:_0x4ecadb,pivotTableId:_0x3187cf}=_0x2d1012,{unitId:_0xd4bff4,subUnitId:_0x544dce}=_0x4ecadb,_0x42d605=this['_ensureViewDataMap'](_0xd4bff4,_0x544dce),_0x47401c=_0x42d605[_0x3bae81(0x2b4)](_0x3187cf);let _0x3b180f,_0x4cdd75;_0x47401c&&(_0x3b180f=_0x47401c[_0x3bae81(0x2be)],_0x4cdd75=_0x47401c[_0x3bae81(0x22e)]);const {rangesCache:_0x4c5939,matrix:_0xc56295}=_0xa299f3(_0x2d1012);_0x42d605['set'](_0x3187cf,{'rangeCache':_0x4c5939,'matrix':_0xc56295,'oldMatrix':_0x4cdd75,'oldRangeCache':_0x3b180f}),_0x4ecb0a||this['_viewData$'][_0x3bae81(0xa4)]({'unitId':_0xd4bff4,'subUnitId':_0x544dce,'pivotTableId':_0x3187cf});}['addPivotTable'](_0x5a977f,_0x30c89f,_0x10c47b,_0x5d8ed5,_0x51f996){const _0x2391a4=_0x2555fc;this[_0x2391a4(0x2ae)](_0x5a977f,_0x30c89f,_0x10c47b,_0x51f996),this[_0x2391a4(0x2c3)](_0x10c47b,_0x5d8ed5);}['removePivotTable'](_0x3690f6,_0x503b71,_0x3ddedc){const _0x46ac9a=_0x2555fc,_0xe69a8f=this[_0x46ac9a(0x248)](_0x3690f6);_0xe69a8f[_0x46ac9a(0x183)](_0x3ddedc)[_0x46ac9a(0x103)](_0xe0e105=>{const _0x28a1cb=_0x46ac9a;_0xe69a8f[_0x28a1cb(0xe4)](_0xe0e105);}),this['removeCollections'](_0x3690f6,_0x3ddedc),this[_0x46ac9a(0x2e6)](_0x3690f6,_0x503b71,_0x3ddedc),this[_0x46ac9a(0x18d)](_0x3ddedc);}[_0x2555fc(0x16a)](_0x17ddd1,_0x2117c2,_0x4eb24a,_0x2523ea){this['_updateModelCache'](_0x17ddd1,_0x2117c2,_0x4eb24a,_0x2523ea);}[_0x2555fc(0x217)](_0x1bb399,_0x5956b5,_0x4e87ac){const _0x8b2901=_0x2555fc;var _0x3aa3b6,_0x450520;const _0x5b38f6=(_0x450520=(_0x3aa3b6=this[_0x8b2901(0x1a6)][_0x8b2901(0x2b4)](_0x1bb399))==null?void 0x0:_0x3aa3b6[_0x8b2901(0x2b4)](_0x5956b5))==null?void 0x0:_0x450520[_0x8b2901(0x2b4)](_0x4e87ac);if(_0x5b38f6)return _0x5b38f6;}[_0x2555fc(0x1a8)](_0x47f5f7,_0x23b86c,_0x3a03f3){const _0x1dd1f3=_0x2555fc;var _0x8ce69e,_0x19fd88;const _0x53c7a7=(_0x19fd88=(_0x8ce69e=this[_0x1dd1f3(0x1a6)][_0x1dd1f3(0x2b4)](_0x47f5f7))==null?void 0x0:_0x8ce69e[_0x1dd1f3(0x2b4)](_0x23b86c))==null?void 0x0:_0x19fd88[_0x1dd1f3(0x2b4)](_0x3a03f3);if(_0x53c7a7)return _0x53c7a7[_0x1dd1f3(0x2f6)];}[_0x2555fc(0x22c)](_0x435076){const _0x5c040f=_0x2555fc;return this[_0x5c040f(0x20c)][_0x5c040f(0x2b4)](_0x435076);}[_0x2555fc(0x213)](_0x377a51){const _0x2dd50e=_0x2555fc;this['_model'][_0x2dd50e(0xcf)](_0x377a51);const _0xae8f25=this[_0x2dd50e(0x1a9)][_0x2dd50e(0x2b4)](_0x377a51);_0xae8f25&&(_0xae8f25['dispose'](),this[_0x2dd50e(0x1a9)][_0x2dd50e(0xcf)](_0x377a51)),this[_0x2dd50e(0x276)][_0x2dd50e(0xcf)](_0x377a51),this['needSameDeleteModel'][_0x2dd50e(0x103)](_0x4e829e=>{_0x4e829e['deleteUnitId'](_0x377a51);});}[_0x2555fc(0x16b)](_0xedd7d0,_0x1db398,_0x50cba4,_0x2babb8){const _0xdc9396=_0x2555fc;return this[_0xdc9396(0x248)](_0x50cba4[_0xdc9396(0x25c)])[_0xdc9396(0x16b)](_0xedd7d0,_0x1db398,_0x50cba4,_0x2babb8);}[_0x2555fc(0xf8)](_0x53c38c){const _0x17266a=_0x2555fc;return this[_0x17266a(0x248)](_0x53c38c[_0x17266a(0x25c)])[_0x17266a(0xf8)](_0x53c38c);}[_0x2555fc(0x10d)](_0x6499d4,_0x50ab00,_0x3f51ae){const _0x3f33b7=_0x2555fc;this[_0x3f33b7(0x248)](_0x3f51ae[_0x3f33b7(0x25c)])[_0x3f33b7(0x10d)](_0x6499d4,_0x50ab00,_0x3f51ae);}[_0x2555fc(0x2ef)](_0x45ec2c,_0x390e18){const _0x5efdd9=_0x2555fc;this[_0x5efdd9(0x248)](_0x45ec2c)[_0x5efdd9(0xe4)](_0x390e18);}[_0x2555fc(0xa3)](_0x3b0aec,_0x278cb9){const _0x2e5ebc=_0x2555fc;this[_0x2e5ebc(0x248)](_0x3b0aec)[_0x2e5ebc(0x141)](_0x278cb9);}[_0x2555fc(0x1af)](_0x381c4e,_0x3a6206){const _0x43b3e6=_0x2555fc;var _0x4646a1;return(_0x4646a1=this['_model'][_0x43b3e6(0x2b4)](_0x381c4e))==null?void 0x0:_0x4646a1['get'](_0x3a6206);}[_0x2555fc(0xa2)](_0x5effce){const _0x5da7f0=_0x2555fc;for(const [_0x5b26d3,_0xcd8cdc]of this['_model'][_0x5da7f0(0x2bf)]())for(const [_0x323f66,_0x16b67e]of _0xcd8cdc[_0x5da7f0(0x2bf)]())if(_0x16b67e[_0x5da7f0(0xb1)](_0x5effce))return{'unitId':_0x5b26d3,'subUnitId':_0x323f66};return null;}['sideEffectUpdateWorkerCache'](_0x2548d8,_0x5757e9,_0x42c5a7,_0x5468fc){const _0x2bd489=_0x2555fc,_0x14981c=this['_ensureViewDataMap'](_0x2548d8,_0x5757e9);_0x5468fc?_0x14981c[_0x2bd489(0x26e)](_0x42c5a7,_0x5468fc):_0x14981c[_0x2bd489(0xcf)](_0x42c5a7),this[_0x2bd489(0x2b3)]['next']({'unitId':_0x2548d8,'subUnitId':_0x5757e9,'pivotTableId':_0x42c5a7});}[_0x2555fc(0x2a7)](){const _0x3ba12b=_0x2555fc;super[_0x3ba12b(0x2a7)]();}['getViewData'](_0x923a5b,_0xa4a75a,_0x3c7ee0){const _0x3fc753=_0x2555fc;var _0x4e2748,_0x3331f0;const _0x25a08d=(_0x3331f0=(_0x4e2748=this[_0x3fc753(0x276)][_0x3fc753(0x2b4)](_0x923a5b))==null?void 0x0:_0x4e2748[_0x3fc753(0x2b4)](_0xa4a75a))==null?void 0x0:_0x3331f0['get'](_0x3c7ee0);return _0x25a08d||null;}['addDirtyPivotTable'](_0x5587b0){const _0x1aeb30=_0x2555fc;this[_0x1aeb30(0x125)](_0x5587b0);}[_0x2555fc(0x125)](_0x4970de){const _0xcf083f=_0x2555fc,{token:_0x5b06c8}=_0x4970de;this['_queryingMap'][_0xcf083f(0x2b4)](_0x5b06c8)&&clearTimeout(this[_0xcf083f(0x11c)][_0xcf083f(0x2b4)](_0x5b06c8));const _0x1b260a=setTimeout(()=>{const _0x1391f1=_0xcf083f;this[_0x1391f1(0x2d4)](_0x4970de),this[_0x1391f1(0x11c)][_0x1391f1(0xcf)](_0x5b06c8);},_0x1ed029);this['_queryingMap'][_0xcf083f(0x26e)](_0x5b06c8,_0x1b260a);}[_0x2555fc(0x2d4)](_0x6cc4ee){const _0x2c19fe=_0x2555fc,{unitId:_0x509bc6,subUnitId:_0x47d859,token:_0x8f2025,type:_0x137d3d,pivotConfig:_0x4f96be}=_0x6cc4ee,_0x59b6af=this[_0x2c19fe(0x22c)](_0x8f2025),_0x315d47=_0x59b6af==null?void 0x0:_0x59b6af[_0x2c19fe(0xdb)](),_0x25c020=_0x4f96be!=null?_0x4f96be:this[_0x2c19fe(0x217)](_0x509bc6,_0x47d859,_0x8f2025);_0x25c020&&(_0x25c020[_0x2c19fe(0x288)]=!!(_0x59b6af!=null&&_0x59b6af['isEmpty']())),(_0x315d47||_0x137d3d===_0x1e5bef[_0x2c19fe(0x14d)])&&this[_0x2c19fe(0x1f7)](_0x509bc6,_0x47d859,_0x137d3d,_0x8f2025,_0x315d47,_0x25c020,this[_0x2c19fe(0x248)](_0x509bc6)['toJSON']());}['toJSON'](_0x4ca6e1){const _0xda524d=_0x2555fc,_0x535741={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0xda524d(0x248)](_0x4ca6e1)&&(_0x535741['dataFieldManagerConfig'][_0x4ca6e1]=this[_0xda524d(0x248)](_0x4ca6e1)[_0xda524d(0x135)]()),this[_0xda524d(0x1a6)][_0xda524d(0x2b4)](_0x4ca6e1)){_0x535741['pivotTableConfigs'][_0x4ca6e1]={};const _0x132f4a=this[_0xda524d(0x1a6)][_0xda524d(0x2b4)](_0x4ca6e1);_0x132f4a!=null&&_0x132f4a['size']&&[..._0x132f4a[_0xda524d(0x2c9)]()][_0xda524d(0x103)](_0x2ab326=>{const _0x2029e2=_0xda524d,_0x5c81f5=_0x132f4a[_0x2029e2(0x2b4)](_0x2ab326);_0x5c81f5!=null&&_0x5c81f5['size']&&(_0x535741['pivotTableConfigs'][_0x4ca6e1][_0x2ab326]={},[..._0x5c81f5['keys']()][_0x2029e2(0x103)](_0x3b7f72=>{const _0x2db607=_0x2029e2,_0x14cb27=_0x5c81f5[_0x2db607(0x2b4)](_0x3b7f72);_0x14cb27&&(_0x535741[_0x2db607(0x1e7)][_0x4ca6e1][_0x2ab326][_0x3b7f72]=_0x14cb27);}));});}return _0x535741;}[_0x2555fc(0xc3)](_0x23d3cd){const _0x2d8efc=_0x2555fc;var _0x360f04;const {dataFieldManagerConfig:_0x16aa92,pivotTableConfigs:_0x2315a9}=_0x23d3cd;_0x16aa92&&Object[_0x2d8efc(0x2c9)](_0x16aa92)[_0x2d8efc(0x103)](_0x39312a=>{const _0x25f107=_0x2d8efc;this[_0x25f107(0x248)](_0x39312a)[_0x25f107(0xc3)](_0x16aa92[_0x39312a]);});const _0x2b0bc6=[];if(_0x2315a9){const _0x52ec59=(_0x360f04=this[_0x2d8efc(0x1a3)][_0x2d8efc(0x2b4)](_0x3b4df9[_0x2d8efc(0x1c1)])['getConfig'](_0xdc1282[_0x2d8efc(0xde)]))!=null?_0x360f04:{},{ls:_0x96af39,pbk:_0x5877d0}=_0x52ec59,_0x2331c1=_0x1b0bf8(_0x1cbe4f,_0x96af39,_0x5877d0)[_0x2d8efc(0xb8)];Object[_0x2d8efc(0x2c9)](_0x2315a9)[_0x2d8efc(0x103)](_0x1365e1=>{const _0x1a6640=_0x2d8efc;let _0x5a3d5e=0x0;const _0xaee750=_0x2315a9[_0x1365e1];Object[_0x1a6640(0x2c9)](_0xaee750)[_0x1a6640(0x103)](_0x133e50=>{const _0x1c901b=_0x1a6640,_0x451606=_0xaee750[_0x133e50];Object[_0x1c901b(0x2c9)](_0x451606)['forEach'](_0xe72caf=>{const _0x2dcf3d=_0x1c901b,_0x92fc83=_0x451606[_0xe72caf];if(_0x92fc83){if(_0x5a3d5e>=_0x2331c1)return;_0x5a3d5e++;const _0x263eca=this[_0x2dcf3d(0x248)](_0x1365e1),_0x45185f=_0x263eca[_0x2dcf3d(0x279)][_0xe72caf],_0xb54465=_0x45185f[_0x2dcf3d(0x10b)]();let _0x3972d6=0x0;for(const _0x5f3596 of _0xb54465)_0x263eca['refreshDataField'](_0x5f3596,_0x92fc83['sourceRangeInfo'],_0x3972d6),_0x3972d6++;const _0x5456ab=new _0x1af8aa[(_0x2dcf3d(0x214))](_0x45185f);_0x5456ab[_0x2dcf3d(0xc3)](_0x92fc83[_0x2dcf3d(0x2f6)]),this[_0x2dcf3d(0xd5)](_0x1365e1,_0x133e50,_0xe72caf,_0x5456ab,_0x92fc83);const _0x884b2b=_0x5456ab[_0x2dcf3d(0xdb)]();_0x2b0bc6['push']({'unitId':_0x1365e1,'subUnitId':_0x133e50,'pivotTableId':_0xe72caf,'view':_0x884b2b['toJSON'](),'pivotConfig':_0x92fc83,'type':_0x1e5bef[_0x2dcf3d(0x252)]});const _0x19d257=!!_0x5456ab[_0x2dcf3d(0x288)](),_0x188b9c={'view':_0x884b2b,'pivotTableId':_0xe72caf,'textInfo':this[_0x2dcf3d(0x14a)](),'isEmpty':_0x19d257,'targetCellInfo':_0x92fc83[_0x2dcf3d(0x28e)]};this['updateViewData'](_0x188b9c,!0x1);}});});});}_0x16aa92&&Object[_0x2d8efc(0x2c9)](_0x16aa92)[_0x2d8efc(0x103)](_0x382f40=>{const _0x395faf=_0x2d8efc,_0x4899c8=this['getDataFieldManager'](_0x382f40);this[_0x395faf(0x168)][_0x395faf(0xa4)](_0x4899c8[_0x395faf(0x279)]);}),this[_0x2d8efc(0xe0)][_0x2d8efc(0x197)](_0x51b99a['id'],{'batch':_0x2b0bc6,'collectionConfig':_0x16aa92},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x2374cb=_0x2555fc;this[_0x2374cb(0x2ca)](this['_resourceManagerService'][_0x2374cb(0x289)]({'toJson':_0x11876d=>JSON['stringify'](this[_0x2374cb(0x135)](_0x11876d)),'parseJson':_0x1f686c=>{const _0x1d046f=_0x2374cb;if(!_0x1f686c)return{};try{return JSON[_0x1d046f(0xd8)](_0x1f686c);}catch{return{};}},'businesses':[_0x3b4df9[_0x2374cb(0x287)][_0x2374cb(0x2a2)]],'pluginName':_0x5eea2f,'onLoad':(_0x3d1d1d,_0x2f208e)=>{const _0x3a1c2e=_0x2374cb;this[_0x3a1c2e(0xc3)](_0x2f208e);},'onUnLoad':_0x1d0b7c=>{const _0x2b27fb=_0x2374cb;this[_0x2b27fb(0x213)](_0x1d0b7c);}}));}},_0x1cbd63[_0x2555fc(0x15d)]=_0x2c4691([_0x59db7f(0x0,_0x3b4df9[_0x2555fc(0xeb)](_0x3b4df9[_0x2555fc(0x1aa)])),_0x59db7f(0x1,_0x3b4df9[_0x2555fc(0x102)]),_0x59db7f(0x2,_0x3b4df9['Inject'](_0x3b4df9[_0x2555fc(0x2f2)])),_0x59db7f(0x3,_0x3b4df9['IConfigService']),_0x59db7f(0x4,_0x3b4df9['ICommandService']),_0x59db7f(0x5,_0x3b4df9[_0x2555fc(0xeb)](_0x3b4df9[_0x2555fc(0x13b)]))],_0x1cbd63[_0x2555fc(0x15d)]);function _0x4c4aa7(_0x43cdab,_0x423350){const _0x1ed488=_0x2555fc;switch(_0x423350){case _0x1af8aa['PivotTableFiledAreaEnum']['Value']:return _0x43cdab['valueFields'];case _0x1af8aa[_0x1ed488(0x1f2)][_0x1ed488(0x2e9)]:return _0x43cdab[_0x1ed488(0x23d)];case _0x1af8aa[_0x1ed488(0x1f2)][_0x1ed488(0x119)]:return _0x43cdab[_0x1ed488(0x222)];case _0x1af8aa[_0x1ed488(0x1f2)][_0x1ed488(0xce)]:return _0x43cdab[_0x1ed488(0x1d2)];default:return[];}}function _0x3bf8f9(_0x1f9956,_0x2eb6b8){const _0x29c9c3=_0x2555fc;return _0x1f9956['measure'][_0x2eb6b8]||_0x1f9956[_0x29c9c3(0xf2)][_0x2eb6b8];}function _0x103420(_0xa862a3,_0x1572f9){const _0x2fedcc=_0x2555fc,{area:_0x17d8d1,fieldJson:_0x2bd47f,index:_0xa5ff1d}=_0x1572f9;_0x17d8d1===_0x1af8aa[_0x2fedcc(0x1f2)][_0x2fedcc(0x299)]?_0xa862a3[_0x2fedcc(0x1a2)][_0x2bd47f['id']]=_0x2bd47f:_0xa862a3['dimension'][_0x2bd47f['id']]=_0x2bd47f,_0x4c4aa7(_0xa862a3,_0x17d8d1)[_0x2fedcc(0xa8)](_0xa5ff1d,0x0,_0x2bd47f['id']);}function _0x2f64cc(_0x31eec5,_0x41e727){const _0x68a1da=_0x2555fc,{area:_0x6cb661,fieldId:_0x46ceff,index:_0x3c810c}=_0x41e727;_0x6cb661===_0x1af8aa[_0x68a1da(0x1f2)][_0x68a1da(0x299)]?delete _0x31eec5[_0x68a1da(0x1a2)][_0x46ceff]:delete _0x31eec5['dimension'][_0x46ceff],_0x4c4aa7(_0x31eec5,_0x6cb661)[_0x68a1da(0xa8)](_0x3c810c,0x1);}function _0x2a0646(_0x3ac91a,_0x3b4a3a){const _0xef3087=_0x2555fc,{fieldId:_0x2f8014,name:_0x4d3f55}=_0x3b4a3a,_0x430214=_0x3bf8f9(_0x3ac91a,_0x2f8014);_0x430214&&(_0x430214[_0xef3087(0x191)]=_0x4d3f55);}function _0x8697dd(_0x297059,_0x16226c){const _0x53b2e0=_0x2555fc,{fieldId:_0x4d09b9,collapse:_0x44d959,item:_0x1c059b}=_0x16226c;_0x1c059b!==void 0x0?(_0x297059[_0x53b2e0(0x234)][_0x4d09b9]=_0x297059[_0x53b2e0(0x234)][_0x4d09b9]||{},_0x297059['collapseInfo'][_0x4d09b9][_0x1c059b]=_0x44d959):_0x297059['collapseInfo'][_0x4d09b9]=_0x44d959;}function _0x1cfd76(_0xeddbf4,_0x251dd0){const _0x381398=_0x2555fc,{fieldId:_0x19ed00,format:_0x5cf205}=_0x251dd0,_0x4238b4=_0x3bf8f9(_0xeddbf4,_0x19ed00);_0x4238b4&&(_0x4238b4[_0x381398(0xed)]=_0x5cf205);}function _0x40268f(_0x44940b,_0x4f0461){const _0x2aac93=_0x2555fc,{fieldId:_0xe67b8e,filterInfo:_0x37eae6}=_0x4f0461,_0x3aa89b=_0x3bf8f9(_0x44940b,_0xe67b8e);_0x3aa89b&&(_0x3aa89b[_0x2aac93(0x21b)]=_0x37eae6);}function _0x4dafe8(_0x1f567f,_0x16eed9){const _0x1abcb0=_0x2555fc,{fieldId:_0x5acc9c,subtotalType:_0x29094c}=_0x16eed9,_0x37f4bb=_0x3bf8f9(_0x1f567f,_0x5acc9c);_0x37f4bb&&(_0x37f4bb[_0x1abcb0(0x2c0)]=_0x29094c);}function _0x2c8aec(_0x56a405,_0x431d70){const _0x1792ce=_0x2555fc,{fieldId:_0x531d7c,oldArea:_0x100b2a,area:_0x2f074c,oldIndex:_0x41839b,index:_0x17fdaa}=_0x431d70,_0x1cf703=_0x100b2a!==_0x1af8aa[_0x1792ce(0x1f2)][_0x1792ce(0x299)]&&_0x2f074c===_0x1af8aa['PivotTableFiledAreaEnum']['Value'],_0x264d1c=_0x100b2a===_0x1af8aa[_0x1792ce(0x1f2)][_0x1792ce(0x299)]&&_0x2f074c!==_0x1af8aa['PivotTableFiledAreaEnum'][_0x1792ce(0x299)];if(_0x1cf703||_0x264d1c){const _0x1304e3=_0x3bf8f9(_0x56a405,_0x531d7c);_0x1304e3&&(_0x1cf703?(delete _0x56a405['dimension'][_0x531d7c],_0x56a405['measure'][_0x531d7c]=_0x1304e3):(delete _0x56a405[_0x1792ce(0x1a2)][_0x531d7c],_0x56a405['dimension'][_0x531d7c]=_0x1304e3));}const _0x2b44f0=_0x4c4aa7(_0x56a405,_0x100b2a),_0x2c76b8=_0x4c4aa7(_0x56a405,_0x2f074c);_0x2b44f0['splice'](_0x41839b,0x1),_0x2c76b8['splice'](_0x17fdaa,0x0,_0x531d7c);}function _0x54a719(_0x1f18e4,_0x4d1ae9){const _0x1a0ce1=_0x2555fc,{valuePosition:_0x541965,index:_0x14036e}=_0x4d1ae9;_0x1f18e4[_0x1a0ce1(0x24f)]=_0x541965,_0x1f18e4[_0x1a0ce1(0x1ac)]=_0x14036e;}function _0x4a1b99(_0x34bd68,_0xe60443){const _0x272db8=_0x2555fc,{tableFieldId:_0x32832c,sourceName:_0x561f79,dataFieldId:_0x56470a}=_0xe60443,_0x2433a0=_0x3bf8f9(_0x34bd68,_0x32832c);_0x2433a0&&(_0x2433a0['sourceName']=_0x561f79,_0x2433a0[_0x272db8(0x133)]=_0x56470a);}function _0x396e67(_0x11fe3b,_0x344fcc){const _0x5c938d=_0x2555fc,{fieldId:_0x3647ea,sortInfo:_0x1b4725}=_0x344fcc,_0x482ff2=_0x3bf8f9(_0x11fe3b,_0x3647ea);_0x482ff2&&(_0x482ff2[_0x5c938d(0x1ef)]=_0x1b4725);}function _0x454138(_0x5b5b04,_0xe5fabb){const _0x56fa17=_0x2555fc,{options:_0xb1c523}=_0xe5fabb;_0x5b5b04[_0x56fa17(0x129)]={..._0x5b5b04[_0x56fa17(0x129)],..._0xb1c523};}const _0x3b40b3={'type':_0x3b4df9[_0x2555fc(0x27c)][_0x2555fc(0x1d3)],'id':_0x2555fc(0x240),'handler'(_0x50b690,_0x18a59c){const _0x18b92b=_0x2555fc;if(!_0x18a59c)return!0x1;if(!!_0x50b690[_0x18b92b(0x2b4)](_0x3b4df9[_0x18b92b(0x1c1)])[_0x18b92b(0x2a1)](_0x162b6c))return!0x0;const _0x2616ff=_0x50b690['get'](_0x1cbd63[_0x18b92b(0x15d)]),{pivotTableId:_0x1bbaa3,fieldJson:_0x2cc1d6,area:_0x3caf0d,index:_0x556e0b,unitId:_0x3697c8,subUnitId:_0xec8c58}=_0x18a59c,_0x393b2b=_0x2616ff['getPivotTableInstance'](_0x1bbaa3);if(!_0x393b2b)return!0x1;let _0x5ae022;_0x3caf0d===_0x1af8aa[_0x18b92b(0x1f2)][_0x18b92b(0x299)]?_0x5ae022=_0x1af8aa[_0x18b92b(0x161)](_0x2cc1d6):_0x5ae022=_0x1af8aa[_0x18b92b(0x2e0)](_0x2cc1d6),_0x393b2b[_0x18b92b(0x246)](_0x5ae022,_0x3caf0d,_0x556e0b);const _0x30b7cf=_0x2616ff[_0x18b92b(0x1a8)](_0x3697c8,_0xec8c58,_0x1bbaa3);_0x103420(_0x30b7cf,_0x18a59c);const _0x316e4d=_0x2616ff[_0x18b92b(0x217)](_0x3697c8,_0xec8c58,_0x1bbaa3);return _0x2616ff[_0x18b92b(0xfe)]({'unitId':_0x3697c8,'subUnitId':_0xec8c58,'token':_0x1bbaa3,'type':_0x1e5bef[_0x18b92b(0xcc)],'pivotConfig':_0x316e4d}),!0x0;}},_0x294550={'type':_0x3b4df9[_0x2555fc(0x27c)][_0x2555fc(0x1d3)],'id':_0x2555fc(0x157),'handler'(_0x4c47ab,_0xd4c2e){const _0x487f0b=_0x2555fc;if(!_0xd4c2e)return!0x1;if(!!_0x4c47ab[_0x487f0b(0x2b4)](_0x3b4df9['IConfigService'])[_0x487f0b(0x2a1)](_0x162b6c))return!0x0;const _0x53e10b=_0x4c47ab['get'](_0x1cbd63[_0x487f0b(0x15d)]),{pivotTableId:_0x580f92,fieldId:_0x5b1fda,unitId:_0x2759ca,subUnitId:_0xde3d08}=_0xd4c2e,_0x56106f=_0x53e10b[_0x487f0b(0x22c)](_0x580f92);if(!_0x56106f)return!0x1;_0x56106f[_0x487f0b(0x2e2)](_0x5b1fda);const _0x483ec4=_0x53e10b[_0x487f0b(0x1a8)](_0x2759ca,_0xde3d08,_0x580f92);_0x2f64cc(_0x483ec4,_0xd4c2e);const _0x2eb9e4=_0x53e10b[_0x487f0b(0x217)](_0x2759ca,_0xde3d08,_0x580f92);return _0x53e10b['addDirtyPivotTable']({'unitId':_0x2759ca,'subUnitId':_0xde3d08,'token':_0x580f92,'type':_0x1e5bef[_0x487f0b(0xcc)],'pivotConfig':_0x2eb9e4}),!0x0;}},_0x4cd853={'type':_0x3b4df9['CommandType'][_0x2555fc(0x1d3)],'id':_0x2555fc(0xaa),'handler'(_0xba9630,_0x1ddd19){const _0x3efe6d=_0x2555fc;if(!_0x1ddd19)return!0x1;if(!!_0xba9630[_0x3efe6d(0x2b4)](_0x3b4df9['IConfigService'])[_0x3efe6d(0x2a1)](_0x162b6c))return!0x0;const _0x1c28df=_0xba9630[_0x3efe6d(0x2b4)](_0x1cbd63[_0x3efe6d(0x15d)]),{unitId:_0x5cdda0,subUnitId:_0x33611b,pivotTableId:_0x335966,fieldId:_0x1459f7,name:_0x9b7b77}=_0x1ddd19,_0x8dd82e=_0x1c28df['getPivotTableInstance'](_0x335966);if(!_0x8dd82e)return!0x1;_0x8dd82e[_0x3efe6d(0x1e5)](_0x1459f7,_0x9b7b77);const _0x524383=_0x1c28df[_0x3efe6d(0x1a8)](_0x5cdda0,_0x33611b,_0x335966);return _0x2a0646(_0x524383,_0x1ddd19),_0x1c28df['addDirtyPivotTable']({'unitId':_0x5cdda0,'subUnitId':_0x33611b,'token':_0x335966,'type':_0x1e5bef['Set']}),!0x0;}},_0x4ac318={'type':_0x3b4df9[_0x2555fc(0x27c)][_0x2555fc(0x1d3)],'id':_0x2555fc(0x140),'handler'(_0x39999a,_0x40c306){const _0x1a3dd0=_0x2555fc;if(!_0x40c306)return!0x1;if(!!_0x39999a[_0x1a3dd0(0x2b4)](_0x3b4df9[_0x1a3dd0(0x1c1)])[_0x1a3dd0(0x2a1)](_0x162b6c))return!0x0;const _0x29f171=_0x39999a[_0x1a3dd0(0x2b4)](_0x1cbd63['SheetsPivotDataSourceModel']),{unitId:_0x51a758,subUnitId:_0xb0d4cf,pivotTableId:_0x1f31e6,fieldId:_0x4c844d,collapse:_0x322e7f,item:_0x46f310}=_0x40c306,_0x2af295=_0x29f171[_0x1a3dd0(0x22c)](_0x1f31e6);if(!_0x2af295)return!0x1;_0x2af295[_0x1a3dd0(0x17a)](_0x4c844d,_0x322e7f,_0x46f310);const _0x3a0040=_0x29f171[_0x1a3dd0(0x1a8)](_0x51a758,_0xb0d4cf,_0x1f31e6);return _0x8697dd(_0x3a0040,_0x40c306),_0x29f171[_0x1a3dd0(0xfe)]({'unitId':_0x51a758,'subUnitId':_0xb0d4cf,'token':_0x1f31e6,'type':_0x1e5bef[_0x1a3dd0(0xcc)]}),!0x0;}},_0x5d1d3f={'type':_0x3b4df9['CommandType'][_0x2555fc(0x1d3)],'id':_0x2555fc(0xa7),'handler'(_0x5ef727,_0x22e7e9){const _0x523e69=_0x2555fc;if(!_0x22e7e9)return!0x1;if(!!_0x5ef727[_0x523e69(0x2b4)](_0x3b4df9[_0x523e69(0x1c1)])[_0x523e69(0x2a1)](_0x162b6c))return!0x0;const _0x1f7d58=_0x5ef727[_0x523e69(0x2b4)](_0x1cbd63[_0x523e69(0x15d)]),{unitId:_0x3983e1,subUnitId:_0x43bca8,pivotTableId:_0x500b89,fieldId:_0x4b95e3,format:_0xc385f5}=_0x22e7e9,_0x202838=_0x1f7d58[_0x523e69(0x22c)](_0x500b89);if(!_0x202838)return!0x1;_0x202838['setFieldFormat'](_0x4b95e3,_0xc385f5);const _0x1e5707=_0x1f7d58['getPivotTableModelConfig'](_0x3983e1,_0x43bca8,_0x500b89);return _0x1cfd76(_0x1e5707,_0x22e7e9),_0x1f7d58[_0x523e69(0xfe)]({'unitId':_0x3983e1,'subUnitId':_0x43bca8,'token':_0x500b89,'type':_0x1e5bef[_0x523e69(0xcc)]}),!0x0;}},_0x4f5ca5={'type':_0x3b4df9['CommandType']['MUTATION'],'id':_0x2555fc(0x254),'handler'(_0x99a097,_0x310119){const _0x271b0d=_0x2555fc;if(!_0x310119)return!0x1;if(!!_0x99a097[_0x271b0d(0x2b4)](_0x3b4df9[_0x271b0d(0x1c1)])['getConfig'](_0x162b6c))return!0x0;const _0x91c70=_0x99a097[_0x271b0d(0x2b4)](_0x1cbd63[_0x271b0d(0x15d)]),{unitId:_0x5e0377,subUnitId:_0x105f2a,pivotTableId:_0x12d61d,fieldId:_0x21de5a,filterInfo:_0x22cc02}=_0x310119,_0x478cd2=_0x91c70[_0x271b0d(0x22c)](_0x12d61d);if(!_0x478cd2)return!0x1;_0x478cd2[_0x271b0d(0x127)](_0x21de5a,_0x22cc02);const _0x29180b=_0x91c70['getPivotTableModelConfig'](_0x5e0377,_0x105f2a,_0x12d61d);return _0x40268f(_0x29180b,_0x310119),_0x91c70[_0x271b0d(0xfe)]({'unitId':_0x5e0377,'subUnitId':_0x105f2a,'token':_0x12d61d,'type':_0x1e5bef[_0x271b0d(0xcc)]}),!0x0;}},_0x68fc6e={'type':_0x3b4df9[_0x2555fc(0x27c)][_0x2555fc(0x1d3)],'id':_0x2555fc(0x1fd),'handler'(_0xa6919b,_0x4dc509){const _0x1d2b23=_0x2555fc;if(!_0x4dc509)return!0x1;if(!!_0xa6919b['get'](_0x3b4df9[_0x1d2b23(0x1c1)])[_0x1d2b23(0x2a1)](_0x162b6c))return!0x0;const _0x251edd=_0xa6919b['get'](_0x1cbd63[_0x1d2b23(0x15d)]),{unitId:_0x310411,subUnitId:_0x157222,pivotTableId:_0x1f3918,options:_0x389452}=_0x4dc509,_0x35551c=_0x251edd[_0x1d2b23(0x22c)](_0x1f3918);if(!_0x35551c)return!0x1;_0x35551c[_0x1d2b23(0x1d4)](_0x389452);const _0x5cf0a9=_0x251edd[_0x1d2b23(0x1a8)](_0x310411,_0x157222,_0x1f3918);return _0x454138(_0x5cf0a9,_0x4dc509),_0x251edd[_0x1d2b23(0xfe)]({'unitId':_0x310411,'subUnitId':_0x157222,'token':_0x1f3918,'type':_0x1e5bef[_0x1d2b23(0xcc)]}),!0x0;}},_0x3a31ef={'type':_0x3b4df9[_0x2555fc(0x27c)][_0x2555fc(0x1d3)],'id':_0x2555fc(0x296),'handler'(_0x36060f,_0x28a8c2){const _0xe1b141=_0x2555fc;if(!_0x28a8c2)return!0x1;if(!!_0x36060f['get'](_0x3b4df9[_0xe1b141(0x1c1)])[_0xe1b141(0x2a1)](_0x162b6c))return!0x0;const _0x4f3003=_0x36060f['get'](_0x1cbd63[_0xe1b141(0x15d)]),{unitId:_0x544d3d,subUnitId:_0x57a8cf,pivotTableId:_0x46db3c,sortInfo:_0x357200,fieldId:_0x305c79}=_0x28a8c2,_0x14eb7b=_0x4f3003['getPivotTableInstance'](_0x46db3c);if(!_0x14eb7b)return!0x1;_0x14eb7b[_0xe1b141(0xda)](_0x305c79,_0x357200);const _0x3ec10e=_0x4f3003['getPivotTableModelConfig'](_0x544d3d,_0x57a8cf,_0x46db3c);return _0x396e67(_0x3ec10e,_0x28a8c2),_0x4f3003[_0xe1b141(0xfe)]({'unitId':_0x544d3d,'subUnitId':_0x57a8cf,'token':_0x46db3c,'type':_0x1e5bef[_0xe1b141(0xcc)]}),!0x0;}},_0x5012bb={'type':_0x3b4df9[_0x2555fc(0x27c)]['MUTATION'],'id':'sheet.mutation.set-pivot-field-subtotal-type','handler'(_0x5b0535,_0x35e6ed){const _0x3b3615=_0x2555fc;if(!_0x35e6ed)return!0x1;if(!!_0x5b0535[_0x3b3615(0x2b4)](_0x3b4df9['IConfigService'])[_0x3b3615(0x2a1)](_0x162b6c))return!0x0;const _0x5f112e=_0x5b0535[_0x3b3615(0x2b4)](_0x1cbd63[_0x3b3615(0x15d)]),{unitId:_0x2198d8,subUnitId:_0x27a28e,pivotTableId:_0x4bc798,fieldId:_0x279283,subtotalType:_0x2bd9a2}=_0x35e6ed,_0x8fb8f2=_0x5f112e[_0x3b3615(0x22c)](_0x4bc798);if(!_0x8fb8f2)return!0x1;_0x8fb8f2['setSubtotalType'](_0x279283,_0x2bd9a2);const _0x586dce=_0x5f112e[_0x3b3615(0x1a8)](_0x2198d8,_0x27a28e,_0x4bc798);return _0x4dafe8(_0x586dce,_0x35e6ed),_0x5f112e[_0x3b3615(0xfe)]({'unitId':_0x2198d8,'subUnitId':_0x27a28e,'token':_0x4bc798,'type':_0x1e5bef[_0x3b3615(0xcc)]}),!0x0;}},_0x32faee={'type':_0x3b4df9['CommandType']['MUTATION'],'id':_0x2555fc(0x292),'handler'(_0x2dd47a,_0xbe816e){const _0x15c0ca=_0x2555fc;if(!_0xbe816e)return!0x1;if(!!_0x2dd47a[_0x15c0ca(0x2b4)](_0x3b4df9['IConfigService'])['getConfig'](_0x162b6c))return!0x0;const _0x5efa4c=_0x2dd47a[_0x15c0ca(0x2b4)](_0x1cbd63['SheetsPivotDataSourceModel']),{unitId:_0x3293c9,subUnitId:_0x4d20a7,pivotTableId:_0x34c529,area:_0x11d17b,index:_0x4ab7c0,fieldId:_0x253021}=_0xbe816e,_0x2e2e62=_0x5efa4c['getPivotTableInstance'](_0x34c529);if(!_0x2e2e62)return!0x1;_0x2e2e62[_0x15c0ca(0xd2)](_0x253021,_0x11d17b,_0x4ab7c0);const _0x487cde=_0x5efa4c[_0x15c0ca(0x1a8)](_0x3293c9,_0x4d20a7,_0x34c529);return _0x2c8aec(_0x487cde,_0xbe816e),_0x5efa4c[_0x15c0ca(0xfe)]({'unitId':_0x3293c9,'subUnitId':_0x4d20a7,'token':_0x34c529,'type':_0x1e5bef[_0x15c0ca(0xcc)]}),!0x0;}},_0x43b4b6={'type':_0x3b4df9[_0x2555fc(0x27c)][_0x2555fc(0x1d3)],'id':_0x2555fc(0x266),'handler'(_0x188063,_0x59a623){const _0x297670=_0x2555fc;if(!_0x59a623)return!0x1;if(!!_0x188063[_0x297670(0x2b4)](_0x3b4df9[_0x297670(0x1c1)])['getConfig'](_0x162b6c))return!0x0;const _0x28d785=_0x188063['get'](_0x1cbd63[_0x297670(0x15d)]),{unitId:_0x4c4e67,subUnitId:_0x49af7e,pivotTableId:_0x1f6a9b,sourceName:_0x5aa680,dataFieldId:_0x3c7c97,tableFieldId:_0x457819}=_0x59a623,_0x5c24e3=_0x28d785[_0x297670(0x22c)](_0x1f6a9b);if(!_0x5c24e3)return!0x1;_0x5c24e3[_0x297670(0xfd)](_0x457819,_0x5aa680,_0x3c7c97);const _0x59877d=_0x28d785['getPivotTableModelConfig'](_0x4c4e67,_0x49af7e,_0x1f6a9b);return _0x4a1b99(_0x59877d,_0x59a623),_0x28d785[_0x297670(0xfe)]({'unitId':_0x4c4e67,'subUnitId':_0x49af7e,'token':_0x1f6a9b,'type':_0x1e5bef[_0x297670(0xcc)]}),!0x0;}},_0x5f22ec={'type':_0x3b4df9[_0x2555fc(0x27c)]['MUTATION'],'id':_0x2555fc(0x1b2),'handler'(_0x4598ec,_0x7fbe79){const _0x4dc1ed=_0x2555fc;if(!_0x7fbe79)return!0x1;if(!!_0x4598ec[_0x4dc1ed(0x2b4)](_0x3b4df9[_0x4dc1ed(0x1c1)])['getConfig'](_0x162b6c))return!0x0;const _0xea2b62=_0x4598ec['get'](_0x1cbd63['SheetsPivotDataSourceModel']),{unitId:_0x199f71,subUnitId:_0x2285cb,pivotTableId:_0x74270f,valuePosition:_0x5a23e2,index:_0x3a88fe}=_0x7fbe79,_0x45eebb=_0xea2b62[_0x4dc1ed(0x22c)](_0x74270f);if(!_0x45eebb)return!0x1;_0x45eebb[_0x4dc1ed(0x293)](_0x5a23e2,_0x3a88fe);const _0x260437=_0xea2b62['getPivotTableModelConfig'](_0x199f71,_0x2285cb,_0x74270f);return _0x54a719(_0x260437,_0x7fbe79),_0xea2b62[_0x4dc1ed(0xfe)]({'unitId':_0x199f71,'subUnitId':_0x2285cb,'token':_0x74270f,'type':_0x1e5bef['Set']}),!0x0;}};function _0x583fc1(_0x27aa69,_0x5be041,_0x2b5476){const _0x3c25f9=_0x2555fc,{pivotTableId:_0x5e964e,unitId:_0xc0b9ae,subUnitId:_0x400810}=_0x5be041,_0x3782fb=[],_0x3b3dbb=[];for(const _0x203cfd of _0x2b5476)switch(_0x203cfd[_0x3c25f9(0x228)]){case _0x1af8aa['PivotTableChangeTypeEnum'][_0x3c25f9(0x1a0)]:{const {fieldJson:_0x371649,area:_0x16d940,index:_0x384d0f}=_0x203cfd,_0x131e7e={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'fieldJson':_0x371649,'area':_0x16d940,'index':_0x384d0f},_0x39a1da={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'fieldId':_0x371649['id'],'area':_0x16d940,'index':_0x384d0f};_0x3782fb['push']({'id':_0x3b40b3['id'],'params':_0x131e7e}),_0x3b3dbb['unshift']({'id':_0x294550['id'],'params':_0x39a1da});}break;case _0x1af8aa[_0x3c25f9(0xac)][_0x3c25f9(0x2f5)]:{const {fieldId:_0x5a2edd,newSubtotalType:_0xd29469,oldSubtotalType:_0x419e7e}=_0x203cfd,_0x199f50={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'fieldId':_0x5a2edd,'subtotalType':_0xd29469};_0x3782fb[_0x3c25f9(0x184)]({'id':_0x5012bb['id'],'params':_0x199f50});const _0x2c8970={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'fieldId':_0x5a2edd,'subtotalType':_0x419e7e};_0x3b3dbb[_0x3c25f9(0xf3)]({'id':_0x5012bb['id'],'params':_0x2c8970});}break;case _0x1af8aa[_0x3c25f9(0xac)][_0x3c25f9(0x134)]:{const {fieldId:_0x44bb9d,fieldJson:_0x16e228,area:_0x802914,index:_0x3d972b}=_0x203cfd,_0x2af771={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'fieldId':_0x44bb9d,'index':_0x3d972b,'area':_0x802914};_0x3782fb[_0x3c25f9(0x184)]({'id':_0x294550['id'],'params':_0x2af771});const _0x2ecf56={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'fieldJson':_0x16e228,'area':_0x802914,'index':_0x3d972b};_0x3b3dbb[_0x3c25f9(0xf3)]({'id':_0x3b40b3['id'],'params':_0x2ecf56});}break;case _0x1af8aa[_0x3c25f9(0xac)][_0x3c25f9(0x115)]:{const {fieldId:_0x273710,oldName:_0x3a3d4f,newName:_0x490f1a}=_0x203cfd,_0x1f4d00={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'fieldId':_0x273710,'name':_0x490f1a};_0x3782fb[_0x3c25f9(0x184)]({'id':_0x4cd853['id'],'params':_0x1f4d00});const _0x255b00={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'fieldId':_0x273710,'name':_0x3a3d4f};_0x3b3dbb['unshift']({'id':_0x4cd853['id'],'params':_0x255b00});}break;case _0x1af8aa[_0x3c25f9(0xac)][_0x3c25f9(0x2d3)]:{const {fieldId:_0x4a946f,oldFilterInfo:_0x29754e,newFilterInfo:_0x55d083}=_0x203cfd,_0x5e118c={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'fieldId':_0x4a946f,'filterInfo':_0x55d083};_0x3782fb[_0x3c25f9(0x184)]({'id':_0x4f5ca5['id'],'params':_0x5e118c});const _0x6104ec={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'fieldId':_0x4a946f,'filterInfo':_0x29754e};_0x3b3dbb[_0x3c25f9(0xf3)]({'id':_0x4f5ca5['id'],'params':_0x6104ec});}break;case _0x1af8aa[_0x3c25f9(0xac)]['SetSortInfo']:{const {fieldId:_0x2fdc14,oldSortInfo:_0x15213c,newSortInfo:_0x4ac89a}=_0x203cfd,_0x12d2ca={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'fieldId':_0x2fdc14,'sortInfo':_0x4ac89a};_0x3782fb['push']({'id':_0x3a31ef['id'],'params':_0x12d2ca});const _0x23733c={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'fieldId':_0x2fdc14,'sortInfo':_0x15213c};_0x3b3dbb[_0x3c25f9(0xf3)]({'id':_0x3a31ef['id'],'params':_0x23733c});}break;case _0x1af8aa[_0x3c25f9(0xac)][_0x3c25f9(0xa0)]:{const {oldOptions:_0x34cec7,newOptions:_0x156ec8}=_0x203cfd,_0x207fc5={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'options':_0x156ec8};_0x3782fb[_0x3c25f9(0x184)]({'id':_0x68fc6e['id'],'params':_0x207fc5});const _0x499911={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'options':_0x34cec7};_0x3b3dbb[_0x3c25f9(0xf3)]({'id':_0x68fc6e['id'],'params':_0x499911});}break;case _0x1af8aa[_0x3c25f9(0xac)]['UpdateFieldPosition']:{const {oldArea:_0xde0bb0,newArea:_0x5a9c1b,oldIndex:_0x1c939e,newIndex:_0x208f8c,fieldId:_0xf32b35}=_0x203cfd,_0xc8d6c0={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'fieldId':_0xf32b35,'area':_0x5a9c1b,'index':_0x208f8c,'oldArea':_0xde0bb0,'oldIndex':_0x1c939e};_0x3782fb[_0x3c25f9(0x184)]({'id':_0x32faee['id'],'params':_0xc8d6c0});const _0x9049a9={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'fieldId':_0xf32b35,'area':_0xde0bb0,'index':_0x1c939e,'oldArea':_0x5a9c1b,'oldIndex':_0x208f8c};_0x3b3dbb['unshift']({'id':_0x32faee['id'],'params':_0x9049a9});}break;case _0x1af8aa['PivotTableChangeTypeEnum'][_0x3c25f9(0x12e)]:{const {oldValuePosition:_0x572ee2,newValuePosition:_0x32f387,oldIndex:_0x4b52de,newIndex:_0x4d78bd}=_0x203cfd,_0x3e3d0e={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'valuePosition':_0x32f387,'index':_0x4d78bd};_0x3782fb['push']({'id':_0x5f22ec['id'],'params':_0x3e3d0e});const _0x45e079={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'valuePosition':_0x572ee2,'index':_0x4b52de};_0x3b3dbb[_0x3c25f9(0xf3)]({'id':_0x5f22ec['id'],'params':_0x45e079});}break;case _0x1af8aa['PivotTableChangeTypeEnum'][_0x3c25f9(0x1be)]:{const {fieldId:_0x3aadd8,collapse:_0x506083,item:_0x71cb83}=_0x203cfd,_0x2be65d={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'fieldId':_0x3aadd8,'collapse':_0x506083,'item':_0x71cb83};_0x3782fb[_0x3c25f9(0x184)]({'id':_0x4ac318['id'],'params':_0x2be65d});const _0x52248c={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'fieldId':_0x3aadd8,'collapse':!_0x506083,'item':_0x71cb83};_0x3b3dbb['unshift']({'id':_0x4ac318['id'],'params':_0x52248c});}break;case _0x1af8aa[_0x3c25f9(0xac)][_0x3c25f9(0xec)]:{const {newFormat:_0x1bb048,oldFormat:_0x1613fa,fieldId:_0x3ffd36}=_0x203cfd,_0x296f84={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'fieldId':_0x3ffd36,'format':_0x1bb048};_0x3782fb[_0x3c25f9(0x184)]({'id':_0x5d1d3f['id'],'params':_0x296f84});const _0x694a5f={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'fieldId':_0x3ffd36,'format':_0x1613fa};_0x3b3dbb['unshift']({'id':_0x5d1d3f['id'],'params':_0x694a5f});}break;case _0x1af8aa[_0x3c25f9(0xac)]['UpdateSource']:{const {tableFieldId:_0x274e69,oldSourceName:_0x3a1e4e,newSourceName:_0x7606eb,oldDataFieldId:_0x7a99f2,newDataFieldId:_0x1a4512}=_0x203cfd,_0x103d3e={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'tableFieldId':_0x274e69,'sourceName':_0x7606eb,'dataFieldId':_0x1a4512};_0x3782fb[_0x3c25f9(0x184)]({'id':_0x43b4b6['id'],'params':_0x103d3e});const _0x348a29={'unitId':_0xc0b9ae,'subUnitId':_0x400810,'pivotTableId':_0x5e964e,'tableFieldId':_0x274e69,'sourceName':_0x3a1e4e,'dataFieldId':_0x7a99f2};_0x3b3dbb[_0x3c25f9(0xf3)]({'id':_0x43b4b6['id'],'params':_0x348a29});}break;}return{'redos':_0x3782fb,'undos':_0x3b3dbb};}const _0x1f8d25=()=>typeof process<'u'&&process[_0x2555fc(0x1b7)]!=null&&process['versions'][_0x2555fc(0x28a)]!=null,_0x5e49ca={'type':_0x3b4df9[_0x2555fc(0x27c)][_0x2555fc(0x1d3)],'id':'sheet.mutation.add-pivot-table','handler'(_0x14b800,_0x51b55c){const _0x3bdea7=_0x2555fc;var _0x272bdc;if(!_0x51b55c)return!0x1;const _0xfc74d5=_0x14b800[_0x3bdea7(0x2b4)](_0x3b4df9['IConfigService']);if(!!_0xfc74d5[_0x3bdea7(0x2a1)](_0x162b6c))return!0x0;const _0x20149f=_0x14b800[_0x3bdea7(0x2b4)](_0x3b4df9['IUniverInstanceService']),_0x562aee=_0x14b800[_0x3bdea7(0x2b4)](_0x1cbd63[_0x3bdea7(0x15d)]),{pivotTableId:_0x2fbf5d,pivotTableConfig:_0x21c5a9,collectionConfig:_0x50c5be,unitId:_0x23ed79,subUnitId:_0x53b989}=_0x51b55c,{sourceRangeInfo:_0x246f7d,fieldsConfig:_0x42bc8a,targetCellInfo:_0x5857fc}=_0x21c5a9,_0x5528e4=_0x20149f[_0x3bdea7(0xbe)](_0x23ed79);if(!_0x5528e4||!_0x5528e4[_0x3bdea7(0x126)](_0x53b989))return!0x1;if(!_0x1f8d25()){let _0xb765c8=0x0;_0x5528e4[_0x3bdea7(0x13c)]()[_0x3bdea7(0x103)](_0x10665f=>{const _0x25e0dd=_0x3bdea7;var _0x4887c7,_0x392fc5;_0xb765c8+=(_0x392fc5=(_0x4887c7=_0x562aee[_0x25e0dd(0x1af)](_0x23ed79,_0x10665f['getSheetId']()))==null?void 0x0:_0x4887c7[_0x25e0dd(0x262)])!=null?_0x392fc5:0x0;});const _0x5597dc=(_0x272bdc=_0xfc74d5['getConfig'](_0xdc1282[_0x3bdea7(0xde)]))!=null?_0x272bdc:{},{ls:_0x5395df,pbk:_0x11293f}=_0x5597dc;if(!_0x2b2708(_0x5395df,_0x11293f))throw new _0x3b4df9[(_0x3bdea7(0x2d1))](_0x3bdea7(0x15e));const _0x362e4b=_0x1b0bf8(_0x1cbe4f,_0x5395df,_0x11293f)[_0x3bdea7(0xb8)];if(_0xb765c8>=_0x362e4b)throw new _0x3b4df9['CustomCommandExecutionError'](_0x3bdea7(0x15e));}if(!_0x50c5be||!_0x42bc8a)return!0x1;const {collection:_0x46adc6,updateDataFieldList:_0x192de5}=_0x562aee[_0x3bdea7(0x16b)](_0x2fbf5d,_0x50c5be,_0x246f7d,_0x5857fc);_0x562aee[_0x3bdea7(0x10d)](_0x46adc6,_0x192de5,_0x246f7d);const _0x175d9b=new _0x1af8aa[(_0x3bdea7(0x214))](_0x46adc6);_0x175d9b['fromJSON'](_0x42bc8a);const _0x42f4d9=JSON[_0x3bdea7(0xd8)](JSON['stringify'](_0x21c5a9));return _0x562aee['addPivotTable'](_0x23ed79,_0x53b989,_0x2fbf5d,_0x175d9b,_0x42f4d9),_0x562aee['addDirtyPivotTable']({'unitId':_0x23ed79,'subUnitId':_0x53b989,'token':_0x2fbf5d,'type':_0x1e5bef[_0x3bdea7(0x252)],'pivotConfig':_0x42f4d9}),!0x0;}},_0x50c56b={'type':_0x3b4df9[_0x2555fc(0x27c)][_0x2555fc(0x1d3)],'id':_0x2555fc(0x291),'handler'(_0x19a522,_0x42d1d5){const _0x383e3d=_0x2555fc;if(!_0x42d1d5)return!0x1;if(!!_0x19a522[_0x383e3d(0x2b4)](_0x3b4df9[_0x383e3d(0x1c1)])['getConfig'](_0x162b6c))return!0x0;const {pivotTableId:_0x4b365a,unitId:_0x4eecdf,subUnitId:_0x52eeed}=_0x42d1d5,_0x4a4e36=_0x19a522['get'](_0x1cbd63[_0x383e3d(0x15d)]);return _0x4a4e36['getPivotTableConfig'](_0x4eecdf,_0x52eeed,_0x4b365a)?(_0x4a4e36[_0x383e3d(0xfe)]({'unitId':_0x4eecdf,'subUnitId':_0x52eeed,'token':_0x4b365a,'type':_0x1e5bef[_0x383e3d(0x14d)]}),_0x4a4e36[_0x383e3d(0x2bb)](_0x4eecdf,_0x52eeed,_0x4b365a),!0x0):!0x1;}},_0x5823ca={'type':_0x3b4df9[_0x2555fc(0x27c)][_0x2555fc(0x1d3)],'id':'sheet.mutation.set-pivot-position','handler'(_0x3da5fe,_0x4e0ae8){const _0x4e2dcb=_0x2555fc;if(!_0x4e0ae8)return!0x1;if(!!_0x3da5fe[_0x4e2dcb(0x2b4)](_0x3b4df9[_0x4e2dcb(0x1c1)])['getConfig'](_0x162b6c))return!0x0;const {pivotTableId:_0x58c423,targetCellPosition:_0x1e3be3,unitId:_0x3117d8,subUnitId:_0x436dbf}=_0x4e0ae8,_0xcaa2b0=_0x3da5fe[_0x4e2dcb(0x2b4)](_0x1cbd63[_0x4e2dcb(0x15d)]);if(!_0xcaa2b0[_0x4e2dcb(0x22c)](_0x4e0ae8[_0x4e2dcb(0x1b5)]))return!0x1;const _0x28624d=_0xcaa2b0[_0x4e2dcb(0x217)](_0x3117d8,_0x436dbf,_0x58c423);if(!_0x28624d)return!0x1;const _0x44d9d7=_0x3b4df9['Tools'][_0x4e2dcb(0x2a9)](_0x28624d);return _0x44d9d7['targetCellInfo']={'unitId':_0x3117d8,'subUnitId':_0x436dbf,'row':_0x1e3be3['row'],'col':_0x1e3be3[_0x4e2dcb(0x297)]},_0xcaa2b0['setPivotTable'](_0x3117d8,_0x436dbf,_0x58c423,_0x44d9d7),_0xcaa2b0[_0x4e2dcb(0xfe)]({'unitId':_0x3117d8,'subUnitId':_0x436dbf,'token':_0x58c423,'type':_0x1e5bef['Set']}),!0x0;}},_0xeda9e={'type':_0x3b4df9['CommandType'][_0x2555fc(0x1d3)],'id':_0x2555fc(0x263),'handler'(_0x5e5065,_0x18f6a4){const _0x284aef=_0x2555fc;if(!_0x18f6a4)return!0x1;if(!!_0x5e5065[_0x284aef(0x2b4)](_0x3b4df9[_0x284aef(0x1c1)])['getConfig'](_0x162b6c))return!0x0;const _0xf613ea=_0x5e5065[_0x284aef(0x2b4)](_0x1cbd63[_0x284aef(0x15d)]),{pivotTableId:_0x4bfaba,deleteIds:_0x53ea6d,collectionJSON:_0x4fe6d6,dataRangeInfo:_0x12c118,unitId:_0x57184a,subUnitId:_0x542b9a}=_0x18f6a4,_0x20b405=_0xf613ea[_0x284aef(0x22c)](_0x4bfaba),_0x383f98=_0xf613ea[_0x284aef(0x217)](_0x57184a,_0x542b9a,_0x4bfaba);if(!_0x20b405||!_0x383f98)return!0x1;const {collection:_0x4c9581,updateDataFieldList:_0x15fde8}=_0xf613ea[_0x284aef(0x16b)](_0x4bfaba,_0x4fe6d6,_0x12c118,_0x383f98[_0x284aef(0x28e)]);_0xf613ea[_0x284aef(0x10d)](_0x4c9581,_0x15fde8,_0x12c118),_0x20b405['updateDataFieldsCollection'](_0x4c9581);for(const _0xc756fd of _0x53ea6d)_0xf613ea[_0x284aef(0x2ef)](_0x12c118['unitId'],_0xc756fd);const _0x44e24e=_0xf613ea[_0x284aef(0x217)](_0x57184a,_0x542b9a,_0x4bfaba);return _0x44e24e[_0x284aef(0x1c3)]=JSON[_0x284aef(0xd8)](JSON[_0x284aef(0x10e)](_0x12c118)),_0xf613ea['addDirtyPivotTable']({'unitId':_0x57184a,'subUnitId':_0x542b9a,'token':_0x4bfaba,'type':_0x1e5bef[_0x284aef(0xcc)]}),!0x0;}},_0x92106e={'type':_0x3b4df9[_0x2555fc(0x27c)]['MUTATION'],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var _0x55a17f=Object[_0x2555fc(0x1d7)],_0x2f1ebe=Object[_0x2555fc(0x114)],_0x492f05=(_0x1e787b,_0x50242a,_0x30ce71,_0x39ee64)=>{for(var _0x5e0eb8=_0x39ee64>0x1?void 0x0:_0x39ee64?_0x2f1ebe(_0x50242a,_0x30ce71):_0x50242a,_0x45ebef=_0x1e787b['length']-0x1,_0x18f546;_0x45ebef>=0x0;_0x45ebef--)(_0x18f546=_0x1e787b[_0x45ebef])&&(_0x5e0eb8=(_0x39ee64?_0x18f546(_0x50242a,_0x30ce71,_0x5e0eb8):_0x18f546(_0x5e0eb8))||_0x5e0eb8);return _0x39ee64&&_0x5e0eb8&&_0x55a17f(_0x50242a,_0x30ce71,_0x5e0eb8),_0x5e0eb8;},_0x4f5caa=(_0x1f7a1a,_0x432101)=>(_0x1dbf26,_0x539bed)=>_0x432101(_0x1dbf26,_0x539bed,_0x1f7a1a);_0x1cbd63[_0x2555fc(0x1c0)]=class extends _0x3b4df9['Disposable']{constructor(_0x4c938a,_0x57f549,_0xa60dba){const _0x137bc1=_0x2555fc;super(),_0x483932(this,_0x137bc1(0x1a6),new Map()),_0x483932(this,_0x137bc1(0x201),new Map()),_0x483932(this,'_pivotTableRangeInfo',new Map()),_0x483932(this,'_pivotTableMatrixInfo',new Map()),_0x483932(this,'_configVersion$',new _0x5290a9[(_0x137bc1(0x231))]()),_0x483932(this,_0x137bc1(0x2de),new _0x5290a9['Subject']()),_0x483932(this,'pivotInitCompleted$',this[_0x137bc1(0x2de)][_0x137bc1(0x2f1)]()),_0x483932(this,_0x137bc1(0x21c),new _0x5290a9[(_0x137bc1(0x231))]()),_0x483932(this,_0x137bc1(0x17b),this[_0x137bc1(0x21c)][_0x137bc1(0x2f1)]()),_0x483932(this,_0x137bc1(0x28b),{}),_0x483932(this,_0x137bc1(0x294),this[_0x137bc1(0x223)][_0x137bc1(0x2f1)]()),(this['_injector']=_0x4c938a,this['_commandService']=_0x57f549,this[_0x137bc1(0x128)]=_0xa60dba,this['_initLocale'](),this['_initUnitDisposed']());}['_initUnitDisposed'](){const _0x4e410e=_0x2555fc;this['disposeWithMe'](this['_univerInstanceService'][_0x4e410e(0x1f3)](_0x3b4df9[_0x4e410e(0x287)][_0x4e410e(0x2a2)])[_0x4e410e(0x220)](_0x4a3752=>{const _0x49a0f1=_0x4e410e;this[_0x49a0f1(0x213)](_0x4a3752['getUnitId']());}));}[_0x2555fc(0x121)](){const _0x1ea1c0=_0x2555fc;this[_0x1ea1c0(0x2de)]['next'](!0x0);}[_0x2555fc(0x176)](){const _0xf15a92=_0x2555fc,_0x1592c7=_0x422eac(this[_0xf15a92(0x1a3)],_0xce5461,'',{});this[_0xf15a92(0x28b)]=_0x1592c7,this[_0xf15a92(0xe0)]['executeCommand'](_0x24120f['id'],{'textInfo':_0x1592c7},{'onlyLocal':!0x0});}['getTextInfo'](){return this['_textInfo'];}['updateViewInfo'](_0x39270b,_0xfa19d3,_0x60a31d,_0x4d55f3,_0x2d6480){const _0x543ce2=_0x2555fc;this[_0x543ce2(0x123)](_0x39270b,_0xfa19d3,_0x60a31d,_0x4d55f3),this['updatePivotTableRangeInfo'](_0x39270b,_0xfa19d3,_0x60a31d,_0x2d6480);}[_0x2555fc(0x217)](_0x5e1f1f,_0x48dbe8,_0x16f788){const _0xe67c46=_0x2555fc;var _0x5f263c;const _0x5993e6=(_0x5f263c=this['_model'][_0xe67c46(0x2b4)](_0x5e1f1f))==null?void 0x0:_0x5f263c['get'](_0x48dbe8);if(_0x5993e6)return _0x5993e6[_0xe67c46(0x2b4)](_0x16f788);}['getTargetByPivotId'](_0x5dbda9,_0xad1a0b,_0x1aaac8){const _0x24458c=this['getPivotTableConfig'](_0x5dbda9,_0xad1a0b,_0x1aaac8);return _0x24458c==null?void 0x0:_0x24458c['targetCellInfo'];}[_0x2555fc(0x1af)](_0x1bc20d,_0x414d27){const _0x2b0f75=_0x2555fc;var _0x44994b;return(_0x44994b=this[_0x2b0f75(0x1a6)][_0x2b0f75(0x2b4)](_0x1bc20d))==null?void 0x0:_0x44994b[_0x2b0f75(0x2b4)](_0x414d27);}[_0x2555fc(0x173)](_0x7a856c,_0x44929d,_0x4ba9cd,_0x2208a2){const _0x3b1e13=_0x2555fc,_0x535061=this['_ensurePivotMap'](_0x7a856c,_0x44929d);_0x2208a2?_0x535061[_0x3b1e13(0x26e)](_0x4ba9cd,_0x2208a2):_0x535061[_0x3b1e13(0xcf)](_0x4ba9cd),this[_0x3b1e13(0x21c)][_0x3b1e13(0xa4)]({'unitId':_0x7a856c,'subUnitId':_0x44929d,'pivotTableId':_0x4ba9cd,'pivotTableConfig':_0x2208a2});}['getCollection'](_0xef929c,_0x1108df){const _0x4a3ce7=_0x2555fc;var _0x1940a2;return(_0x1940a2=this['_collectionConfigModel'][_0x4a3ce7(0x2b4)](_0xef929c))==null?void 0x0:_0x1940a2[_0x4a3ce7(0x279)][_0x1108df];}['updateCollectionConfig'](_0x396752,_0x35fa23){const _0x494e82=_0x2555fc;this['_collectionConfigModel'][_0x494e82(0x26e)](_0x396752,_0x35fa23),this[_0x494e82(0x223)][_0x494e82(0xa4)](Math[_0x494e82(0x2d2)]());}['_ensurePivotMap'](_0xc6f28e,_0x21c88c){const _0x19be00=_0x2555fc;let _0x3a3e2d=this[_0x19be00(0x1a6)][_0x19be00(0x2b4)](_0xc6f28e);_0x3a3e2d||(_0x3a3e2d=new Map(),this[_0x19be00(0x1a6)][_0x19be00(0x26e)](_0xc6f28e,_0x3a3e2d));let _0x56a70c=_0x3a3e2d[_0x19be00(0x2b4)](_0x21c88c);return _0x56a70c||(_0x56a70c=new Map(),_0x3a3e2d['set'](_0x21c88c,_0x56a70c)),_0x56a70c;}['_ensurePivotTableRangeInfo'](_0x33b171,_0x57d2be){const _0x4bb67a=_0x2555fc;let _0x20816d=this[_0x4bb67a(0x270)][_0x4bb67a(0x2b4)](_0x33b171);_0x20816d||(_0x20816d=new Map(),this[_0x4bb67a(0x270)][_0x4bb67a(0x26e)](_0x33b171,_0x20816d));let _0x395735=_0x20816d[_0x4bb67a(0x2b4)](_0x57d2be);return _0x395735||(_0x395735=new Map(),_0x20816d[_0x4bb67a(0x26e)](_0x57d2be,_0x395735)),_0x395735;}['_ensurePivotTableMatrixInfo'](_0x2ebf0a,_0x4c2ec9){const _0x15fcfc=_0x2555fc;let _0x45750f=this[_0x15fcfc(0xbb)][_0x15fcfc(0x2b4)](_0x2ebf0a);_0x45750f||(_0x45750f=new Map(),this[_0x15fcfc(0xbb)][_0x15fcfc(0x26e)](_0x2ebf0a,_0x45750f));let _0x2905b8=_0x45750f['get'](_0x4c2ec9);return _0x2905b8||(_0x2905b8=new Map(),_0x45750f[_0x15fcfc(0x26e)](_0x4c2ec9,_0x2905b8)),_0x2905b8;}[_0x2555fc(0x1e3)](_0x53ad8c,_0x4e3338,_0x5320bf,_0x7f833a){const _0x296521=_0x2555fc;var _0x3303e0;const _0x21c3e3=this[_0x296521(0x1cc)](_0x53ad8c,_0x4e3338),_0x3a874c=(_0x3303e0=_0x21c3e3[_0x296521(0x2b4)](_0x5320bf))==null?void 0x0:_0x3303e0[_0x296521(0x165)];_0x21c3e3['set'](_0x5320bf,{'oldRangeInfo':_0x3a874c,'rangeInfo':_0x7f833a});}[_0x2555fc(0x123)](_0x4cdba4,_0x35f734,_0x29533d,_0x9e58bf){const _0x46ca2b=_0x2555fc;var _0x7f3f9c;const _0x27b8b9=this[_0x46ca2b(0x1c6)](_0x4cdba4,_0x35f734),_0xdc1f0c=(_0x7f3f9c=_0x27b8b9[_0x46ca2b(0x2b4)](_0x29533d))==null?void 0x0:_0x7f3f9c[_0x46ca2b(0x2e5)];_0x27b8b9['set'](_0x29533d,{'oldMatrix':_0xdc1f0c,'matrix':_0x9e58bf});}[_0x2555fc(0x146)](_0x48784c,_0x22a2ed,_0xc3b4d0){const _0x353fcb=_0x2555fc;var _0x16aa12,_0x313c63;return(_0x313c63=(_0x16aa12=this['_pivotTableRangeInfo'][_0x353fcb(0x2b4)](_0x48784c))==null?void 0x0:_0x16aa12[_0x353fcb(0x2b4)](_0x22a2ed))==null?void 0x0:_0x313c63[_0x353fcb(0x2b4)](_0xc3b4d0);}[_0x2555fc(0x261)](_0x477f82,_0x2e3b15,_0x2afc81){const _0x188f16=_0x2555fc;var _0x410b61,_0xd1e3f3;return(_0xd1e3f3=(_0x410b61=this[_0x188f16(0xbb)][_0x188f16(0x2b4)](_0x477f82))==null?void 0x0:_0x410b61['get'](_0x2e3b15))==null?void 0x0:_0xd1e3f3[_0x188f16(0x2b4)](_0x2afc81);}['deleteUnitId'](_0x4fd970){const _0x202905=_0x2555fc;this['_model']['delete'](_0x4fd970),this[_0x202905(0x201)]['delete'](_0x4fd970);}},_0x1cbd63[_0x2555fc(0x1c0)]=_0x492f05([_0x4f5caa(0x0,_0x3b4df9[_0x2555fc(0xeb)](_0x3b4df9[_0x2555fc(0x1aa)])),_0x4f5caa(0x1,_0x3b4df9[_0x2555fc(0xeb)](_0x3b4df9[_0x2555fc(0x26f)])),_0x4f5caa(0x2,_0x3b4df9[_0x2555fc(0xeb)](_0x3b4df9[_0x2555fc(0x102)]))],_0x1cbd63[_0x2555fc(0x1c0)]);var _0x180e6c=Object[_0x2555fc(0x1d7)],_0xedfe6d=Object[_0x2555fc(0x114)],_0x3ec61d=(_0x2aec7d,_0x8764d4,_0x18b946,_0x4b77e3)=>{const _0x4ff504=_0x2555fc;for(var _0x2a1d8d=_0x4b77e3>0x1?void 0x0:_0x4b77e3?_0xedfe6d(_0x8764d4,_0x18b946):_0x8764d4,_0x3674ee=_0x2aec7d[_0x4ff504(0x1de)]-0x1,_0x2c3e24;_0x3674ee>=0x0;_0x3674ee--)(_0x2c3e24=_0x2aec7d[_0x3674ee])&&(_0x2a1d8d=(_0x4b77e3?_0x2c3e24(_0x8764d4,_0x18b946,_0x2a1d8d):_0x2c3e24(_0x2a1d8d))||_0x2a1d8d);return _0x4b77e3&&_0x2a1d8d&&_0x180e6c(_0x8764d4,_0x18b946,_0x2a1d8d),_0x2a1d8d;},_0x639a92=(_0x5b0c91,_0x33da64)=>(_0x275417,_0x58a4a3)=>_0x33da64(_0x275417,_0x58a4a3,_0x5b0c91);_0x1cbd63[_0x2555fc(0x1ca)]=class extends _0x3b4df9[_0x2555fc(0x198)]{constructor(_0x370525,_0xefb7a9,_0x18a76a,_0x4e0785,_0x99c392){const _0x24117c=_0x2555fc;super(),_0x483932(this,_0x24117c(0x117),new Map()),_0x483932(this,'_pivotRenderValueMatrixCache',new Map()),_0x483932(this,_0x24117c(0x170),new _0x5290a9[(_0x24117c(0x231))]()),_0x483932(this,_0x24117c(0x2c2),this['_markDirty$'][_0x24117c(0x2f1)]()),_0x483932(this,_0x24117c(0x1dc),new _0x5290a9['Subject']()),_0x483932(this,_0x24117c(0x268),this[_0x24117c(0x1dc)][_0x24117c(0x2f1)]()),_0x483932(this,_0x24117c(0x28b)),(this[_0x24117c(0x1b8)]=_0x370525,this[_0x24117c(0x1a3)]=_0xefb7a9,this[_0x24117c(0x27a)]=_0x18a76a,this['_univerInstanceService']=_0x4e0785,this['_exclusiveRangeService']=_0x99c392,this[_0x24117c(0x176)](),this[_0x24117c(0x2ad)]());}['_initUnitDisposed'](){const _0x9ba436=_0x2555fc;this[_0x9ba436(0x2ca)](this[_0x9ba436(0x128)]['getTypeOfUnitDisposed$'](_0x3b4df9[_0x9ba436(0x287)][_0x9ba436(0x2a2)])['subscribe'](_0x318079=>{const _0x401459=_0x9ba436;this['deleteUnitId'](_0x318079[_0x401459(0x1c8)]());}));}[_0x2555fc(0x176)](){const _0x3fdd34=_0x2555fc;this[_0x3fdd34(0x28b)]=_0x422eac(this[_0x3fdd34(0x1a3)],_0xce5461,'',{});}[_0x2555fc(0x298)](_0x5494da){const _0x18a3fb=_0x2555fc,{view:_0x2ef46a,unitId:_0x4f9bef,subUnitId:_0x5b25ac,pivotTableId:_0x251128,type:_0xad9bc7}=_0x5494da,_0x40028a=this['_sheetsPivotTableConfigModel'][_0x18a3fb(0x217)](_0x4f9bef,_0x5b25ac,_0x251128);if(!_0x2ef46a||!_0x40028a||_0xad9bc7===_0x1e5bef[_0x18a3fb(0x14d)])return;const {pageView:_0x56d574,cornerView:_0x933057,rowView:_0x58d132,colView:_0x41edb4,dataView:_0x50d817}=_0x2ef46a,_0x2beeb5=_0x40028a[_0x18a3fb(0x28e)],_0x3415d7=_0x40028a[_0x18a3fb(0x288)],_0x181acf=this[_0x18a3fb(0x107)](_0x4f9bef,_0x5b25ac),_0x17fc52=this['_ensurePivotItemRenderInfoCache'](_0x4f9bef,_0x5b25ac,_0x251128);if(_0x3415d7)return this[_0x18a3fb(0xcd)](_0x5494da,_0x181acf,_0x2beeb5,_0x17fc52);{const _0x6f16c3=_0x285d63(_0x2beeb5,_0x56d574,!0x0),_0x464d33=_0x56d574[_0x18a3fb(0xd0)]>=0x0?_0x56d574[_0x18a3fb(0xd0)]+0x1:0x0,_0x2d5377=_0x933057[_0x18a3fb(0x225)](),_0x264a65=_0x933057[_0x18a3fb(0x233)](),_0x528cbf=_0x6f16c3[_0x18a3fb(0x1de)]>0x0?_0x4cfab6:0x0,_0x45fba9=_0x285d63({'row':_0x2beeb5[_0x18a3fb(0x2b7)]+_0x464d33+_0x528cbf,'col':_0x2beeb5[_0x18a3fb(0x297)]},_0x933057,!0x1,!0x1),_0x18d914=_0x285d63({'row':_0x2beeb5[_0x18a3fb(0x2b7)]+_0x464d33+_0x528cbf+_0x2d5377,'col':_0x2beeb5[_0x18a3fb(0x297)]},_0x58d132,!0x1,!0x0),_0x5bee1c=_0x285d63({'row':_0x2beeb5[_0x18a3fb(0x2b7)]+_0x464d33+_0x528cbf,'col':_0x2beeb5[_0x18a3fb(0x297)]+_0x264a65},_0x41edb4,!0x1,!0x0),_0x195500=_0x285d63({'row':_0x2beeb5[_0x18a3fb(0x2b7)]+_0x464d33+_0x528cbf+_0x2d5377,'col':_0x2beeb5[_0x18a3fb(0x297)]+_0x264a65},_0x50d817,!0x1,!0x1);_0x17fc52[_0x18a3fb(0xf0)]={'rowRanges':_0x18d914,'colRanges':_0x5bee1c,'cornerRanges':_0x45fba9,'dataRanges':_0x195500,'pageRanges':_0x6f16c3};const _0xece7e7=_0x5a82ed(this['_injector'],_0x2ef46a,_0x40028a,this[_0x18a3fb(0x28b)]),{valueMatrix:_0x19491f,rowInfo:_0x5c5019,colInfo:_0x351482,cornerInfo:_0x352e48,rowHeaderMap:_0x816ebb,colHeaderMap:_0x46fdab}=_0xece7e7;return _0x17fc52[_0x18a3fb(0x2c4)]={'rowInfo':_0x5c5019,'colInfo':_0x351482,'cornerInfo':_0x352e48},_0x17fc52[_0x18a3fb(0x1f6)]={'rowHeaderMap':_0x816ebb,'colHeaderMap':_0x46fdab},_0x19491f[_0x18a3fb(0x103)]((_0x1d4916,_0x1d32a6)=>{const _0x59eee7=_0x18a3fb;Object[_0x59eee7(0x2c9)](_0x1d32a6)['forEach'](_0x492041=>{const _0x3fb13e=_0x59eee7,_0x4f7673=+_0x492041,_0x1db0e8=_0x19491f[_0x3fb13e(0x1cf)](_0x1d4916,_0x4f7673);_0x181acf[_0x3fb13e(0x21e)](_0x1d4916,_0x4f7673,_0x1db0e8);});}),this['_viewUpdate$'][_0x18a3fb(0xa4)]({'unitId':_0x4f9bef,'subUnitId':_0x5b25ac,'valueMatrix':_0x181acf,'rangesCache':_0x17fc52[_0x18a3fb(0xf0)],'pivotTableId':_0x251128,'type':_0x5494da[_0x18a3fb(0x228)]}),this[_0x18a3fb(0x27a)][_0x18a3fb(0x2d8)](_0x4f9bef,_0x5b25ac,_0x251128,_0x181acf,_0x17fc52[_0x18a3fb(0xf0)]),this[_0x18a3fb(0xd7)][_0x18a3fb(0x21d)](_0x4f9bef,_0x5b25ac,_0x564f08,this[_0x18a3fb(0x24c)](_0x17fc52[_0x18a3fb(0xf0)],_0x251128)),{'rangeCache':_0x17fc52[_0x18a3fb(0xf0)],'matrix':_0x181acf};}}[_0x2555fc(0xcd)](_0x46b9b5,_0x5cda95,_0x30732f,_0x5a8e6b){const _0x2dcdf6=_0x2555fc,_0x22ced7=this[_0x2dcdf6(0x1b8)]['t'],{unitId:_0x5775b5,subUnitId:_0xcc8c10,pivotTableId:_0x194b9f}=_0x46b9b5,_0x278dc6={'filter':_0x22ced7('sheets-pivot.emptyPivot.filter'),'row':_0x22ced7(_0x2dcdf6(0x26c)),'column':_0x22ced7('sheets-pivot.emptyPivot.column'),'values':_0x22ced7(_0x2dcdf6(0xae))},{matrixCache:_0xa62b2d,rangesCache:_0x2d6c49}=_0x21dfc5(_0x278dc6,_0x30732f);return _0xa62b2d[_0x2dcdf6(0xc4)]((_0x54ba90,_0x4f0dff,_0x46b466)=>{const _0x41e684=_0x2dcdf6;_0x5cda95[_0x41e684(0x21e)](_0x54ba90,_0x4f0dff,_0x46b466);}),_0x5a8e6b[_0x2dcdf6(0xf0)]=_0x2d6c49,this[_0x2dcdf6(0x1dc)]['next']({'unitId':_0x5775b5,'subUnitId':_0xcc8c10,'valueMatrix':_0x5cda95,'rangesCache':_0x2d6c49,'pivotTableId':_0x194b9f,'type':_0x46b9b5[_0x2dcdf6(0x228)]}),this[_0x2dcdf6(0x27a)][_0x2dcdf6(0x2d8)](_0x5775b5,_0xcc8c10,_0x194b9f,_0x5cda95,_0x2d6c49),this[_0x2dcdf6(0xd7)][_0x2dcdf6(0x21d)](_0x5775b5,_0xcc8c10,_0x564f08,this['_createExclusiveRange'](_0x2d6c49,_0x194b9f)),{'rangeCache':_0x5a8e6b['rangesInfo'],'matrix':_0x5cda95};}[_0x2555fc(0x24c)](_0x5f099d,_0x245426){const _0x318f65=_0x2555fc,_0x26b3b0=[],_0x128c80=_0x161a85(_0x5f099d);for(const _0xa62ea5 of _0x128c80)_0x26b3b0[_0x318f65(0x184)]({'groupId':_0x245426,'range':_0xa62ea5});return _0x26b3b0;}[_0x2555fc(0x169)](_0x585f73){const _0x3a4bf9=_0x2555fc;var _0x5eed98,_0x4b692f,_0x34b28c,_0x1de83b;const {pivotTableId:_0x2a33c8,unitId:_0x311d0e,subUnitId:_0x15074e}=_0x585f73;if(!_0x2a33c8||!_0x311d0e||!_0x15074e)return;const _0x3c53a0=this[_0x3a4bf9(0x107)](_0x311d0e,_0x15074e),_0x9fdd2f=(_0x4b692f=(_0x5eed98=this['_pivotRenderInfoCache'][_0x3a4bf9(0x2b4)](_0x311d0e))==null?void 0x0:_0x5eed98[_0x3a4bf9(0x2b4)](_0x15074e))==null?void 0x0:_0x4b692f['get'](_0x2a33c8);if(_0x9fdd2f!=null&&_0x9fdd2f[_0x3a4bf9(0xf0)]){for(const _0x4d65a3 of Object[_0x3a4bf9(0x2c9)](_0x9fdd2f['rangesInfo']))_0x9fdd2f['rangesInfo'][_0x4d65a3]['forEach'](_0x568ce4=>{const _0x1b189f=_0x3a4bf9;for(let _0x19781a=_0x568ce4['startRow'];_0x19781a<=_0x568ce4[_0x1b189f(0x232)];_0x19781a++)for(let _0x1091b9=_0x568ce4['startColumn'];_0x1091b9<=_0x568ce4[_0x1b189f(0xb9)];_0x1091b9++)_0x3c53a0[_0x1b189f(0x278)](_0x19781a,_0x1091b9);});}_0x9fdd2f&&((_0x1de83b=(_0x34b28c=this[_0x3a4bf9(0x117)][_0x3a4bf9(0x2b4)](_0x311d0e))==null?void 0x0:_0x34b28c[_0x3a4bf9(0x2b4)](_0x15074e))==null||_0x1de83b[_0x3a4bf9(0xcf)](_0x2a33c8)),this['_viewUpdate$'][_0x3a4bf9(0xa4)]({'unitId':_0x311d0e,'subUnitId':_0x15074e,'valueMatrix':_0x3c53a0,'pivotTableId':_0x2a33c8,'rangesCache':void 0x0,'type':_0x585f73[_0x3a4bf9(0x228)]}),this[_0x3a4bf9(0xd7)][_0x3a4bf9(0x144)](_0x311d0e,_0x15074e,_0x564f08,_0x2a33c8);}[_0x2555fc(0x251)](_0x4a9ce3,_0x3f73fa,_0x38dc97){const _0x1cab39=_0x2555fc;var _0x705cbc,_0x88e634,_0x183e78,_0x937e90,_0x111147,_0x1abc20;return this['_pivotRenderInfoCache']['has'](_0x4a9ce3)||this['_pivotRenderInfoCache'][_0x1cab39(0x26e)](_0x4a9ce3,new Map()),(_0x705cbc=this['_pivotRenderInfoCache'][_0x1cab39(0x2b4)](_0x4a9ce3))!=null&&_0x705cbc[_0x1cab39(0xb1)](_0x3f73fa)||(_0x88e634=this['_pivotRenderInfoCache']['get'](_0x4a9ce3))==null||_0x88e634[_0x1cab39(0x26e)](_0x3f73fa,new Map()),(_0x937e90=(_0x183e78=this[_0x1cab39(0x117)][_0x1cab39(0x2b4)](_0x4a9ce3))==null?void 0x0:_0x183e78['get'](_0x3f73fa))!=null&&_0x937e90[_0x1cab39(0xb1)](_0x38dc97)||(_0x1abc20=(_0x111147=this[_0x1cab39(0x117)][_0x1cab39(0x2b4)](_0x4a9ce3))==null?void 0x0:_0x111147[_0x1cab39(0x2b4)](_0x3f73fa))==null||_0x1abc20[_0x1cab39(0x26e)](_0x38dc97,{}),this[_0x1cab39(0x117)][_0x1cab39(0x2b4)](_0x4a9ce3)[_0x1cab39(0x2b4)](_0x3f73fa)['get'](_0x38dc97);}[_0x2555fc(0x107)](_0x1b3144,_0x5075bc){const _0x280d2b=_0x2555fc;var _0xafac02,_0x2957a8;return this['_pivotRenderValueMatrixCache'][_0x280d2b(0xb1)](_0x1b3144)||this[_0x280d2b(0x167)][_0x280d2b(0x26e)](_0x1b3144,new Map()),(_0xafac02=this[_0x280d2b(0x167)][_0x280d2b(0x2b4)](_0x1b3144))!=null&&_0xafac02[_0x280d2b(0xb1)](_0x5075bc)||(_0x2957a8=this[_0x280d2b(0x167)]['get'](_0x1b3144))==null||_0x2957a8[_0x280d2b(0x26e)](_0x5075bc,new _0x3b4df9[(_0x280d2b(0x2f8))]()),this[_0x280d2b(0x167)][_0x280d2b(0x2b4)](_0x1b3144)[_0x280d2b(0x2b4)](_0x5075bc);}['getPivotTableCellData'](_0x97f36f,_0x4f05b4,_0x584313,_0x5db722){const _0x1726f4=_0x2555fc;var _0x15a3e9,_0x37ba67;const _0x289e6c=(_0x37ba67=(_0x15a3e9=this[_0x1726f4(0x167)][_0x1726f4(0x2b4)](_0x97f36f))==null?void 0x0:_0x15a3e9['get'](_0x4f05b4))==null?void 0x0:_0x37ba67[_0x1726f4(0x1cf)](_0x584313,_0x5db722);if(_0x289e6c!=null)return _0x289e6c;}[_0x2555fc(0xba)](_0x45d100,_0xc2e5ea,_0x5c7110,_0x1ecc44){const _0x34a17b=_0x2555fc;var _0x1084e3;const _0x12b2e8=_0x3b4df9[_0x34a17b(0x13d)](_0x5c7110,_0x1ecc44),_0x5b7ca5=(_0x1084e3=this['_pivotRenderInfoCache'][_0x34a17b(0x2b4)](_0x45d100))==null?void 0x0:_0x1084e3[_0x34a17b(0x2b4)](_0xc2e5ea);return _0x5b7ca5?Array[_0x34a17b(0x159)](_0x5b7ca5['keys']())[_0x34a17b(0x1f0)](_0x281e03=>{const _0x12959e=_0x34a17b,_0x40c7c3=_0x5b7ca5[_0x12959e(0x2b4)](_0x281e03),_0x4d41ea=_0x40c7c3==null?void 0x0:_0x40c7c3[_0x12959e(0xf0)];return _0x4d41ea?Object[_0x12959e(0x2c9)](_0x4d41ea)['some'](_0x1592d0=>_0x4d41ea[_0x1592d0][_0x12959e(0x163)](_0x2d1e7e=>_0x3b4df9[_0x12959e(0x2e7)][_0x12959e(0x152)](_0x2d1e7e,_0x12b2e8))):!0x1;}):void 0x0;}[_0x2555fc(0x2cb)](_0x1faa36,_0x3ef114,_0x4f42a5){const _0x5751c6=_0x2555fc;var _0x145427;const _0x3636a7=(_0x145427=this['_pivotRenderInfoCache'][_0x5751c6(0x2b4)](_0x1faa36))==null?void 0x0:_0x145427[_0x5751c6(0x2b4)](_0x3ef114),_0x551958=[];return _0x3636a7&&Array['from'](_0x3636a7['keys']())['forEach'](_0x16848b=>{const _0x1baf6a=_0x5751c6,_0x4b380c=_0x3636a7[_0x1baf6a(0x2b4)](_0x16848b),_0x32f495=_0x4b380c==null?void 0x0:_0x4b380c[_0x1baf6a(0xf0)];if(_0x32f495)for(const _0x4c5a16 of Object[_0x1baf6a(0x12a)](_0x32f495)){let _0x2a0457=!0x1;for(const _0x1f851f of _0x4c5a16)if(_0x3b4df9['Rectangle']['intersects'](_0x1f851f,_0x4f42a5)){_0x551958[_0x1baf6a(0x184)](_0x16848b),_0x2a0457=!0x0;break;}if(_0x2a0457)break;}}),_0x551958;}[_0x2555fc(0xe7)](_0x3e5c1b,_0x3ca5bb){const _0x245494=_0x2555fc;var _0x2d8b05,_0x4b4fbf;return(_0x4b4fbf=(_0x2d8b05=this['_pivotRenderValueMatrixCache'][_0x245494(0x2b4)](_0x3e5c1b))==null?void 0x0:_0x2d8b05[_0x245494(0x2b4)](_0x3ca5bb))!=null?_0x4b4fbf:new _0x3b4df9[(_0x245494(0x2f8))]();}[_0x2555fc(0x11d)](_0x225cdc,_0x2cfe5f,_0x45c62f){const _0x48bd4e=_0x2555fc;var _0x382742,_0x27717f;return(_0x27717f=(_0x382742=this[_0x48bd4e(0x117)][_0x48bd4e(0x2b4)](_0x225cdc))==null?void 0x0:_0x382742[_0x48bd4e(0x2b4)](_0x2cfe5f))==null?void 0x0:_0x27717f['get'](_0x45c62f);}[_0x2555fc(0x213)](_0x28e7be){const _0x5e0eb5=_0x2555fc;this[_0x5e0eb5(0x117)][_0x5e0eb5(0xcf)](_0x28e7be),this[_0x5e0eb5(0x167)]['delete'](_0x28e7be);}['markDirty'](_0x5e6826,_0x3d3a35){const _0x1c863a=_0x2555fc;this[_0x1c863a(0x170)][_0x1c863a(0xa4)]({'unitId':_0x5e6826,'subUnitId':_0x3d3a35});}},_0x1cbd63[_0x2555fc(0x1ca)]=_0x3ec61d([_0x639a92(0x0,_0x3b4df9['Inject'](_0x3b4df9[_0x2555fc(0x12c)])),_0x639a92(0x1,_0x3b4df9[_0x2555fc(0xeb)](_0x3b4df9[_0x2555fc(0x1aa)])),_0x639a92(0x2,_0x3b4df9[_0x2555fc(0xeb)](_0x1cbd63[_0x2555fc(0x1c0)])),_0x639a92(0x3,_0x3b4df9[_0x2555fc(0xeb)](_0x3b4df9[_0x2555fc(0x102)])),_0x639a92(0x4,_0x3b4df9[_0x2555fc(0xeb)](_0x3e512a['IExclusiveRangeService']))],_0x1cbd63[_0x2555fc(0x1ca)]);var _0x58d57b=Object[_0x2555fc(0x1d7)],_0x455181=Object[_0x2555fc(0x114)],_0x21eec5=(_0x45ff6b,_0x47b2a9,_0x152679,_0x335448)=>{for(var _0x1892da=_0x335448>0x1?void 0x0:_0x335448?_0x455181(_0x47b2a9,_0x152679):_0x47b2a9,_0x2f04cc=_0x45ff6b['length']-0x1,_0xdedc68;_0x2f04cc>=0x0;_0x2f04cc--)(_0xdedc68=_0x45ff6b[_0x2f04cc])&&(_0x1892da=(_0x335448?_0xdedc68(_0x47b2a9,_0x152679,_0x1892da):_0xdedc68(_0x1892da))||_0x1892da);return _0x335448&&_0x1892da&&_0x58d57b(_0x47b2a9,_0x152679,_0x1892da),_0x1892da;},_0x5ea12b=(_0x425419,_0x165401)=>(_0x3e3612,_0x1010d0)=>_0x165401(_0x3e3612,_0x1010d0,_0x425419);_0x1cbd63[_0x2555fc(0x113)]=class extends _0x3b4df9['Disposable']{constructor(_0xbae27a,_0x29e462){const _0x504f1b=_0x2555fc;super(),_0x483932(this,_0x504f1b(0x1a5),new Map()),(this[_0x504f1b(0x1a3)]=_0xbae27a,this['_commandService']=_0x29e462);}['handleAsyncResponse'](_0x5584fc){const _0xabb2bf=_0x2555fc,{version:_0x357ed6}=_0x5584fc,_0xb05870=this[_0xabb2bf(0x1a5)]['get'](_0x357ed6);_0xb05870&&(_0xb05870(_0x5584fc),this['_requestResolvers'][_0xabb2bf(0xcf)](_0x357ed6));}['getPivotDisplayConfig'](_0x104966){return new Promise((_0x105994,_0x1e9aae)=>{const _0x2625cd=_0x326d,_0x2627fd=this[_0x2625cd(0x11b)]();this['_requestResolvers']['set'](_0x2627fd,_0x105994),this[_0x2625cd(0xe0)][_0x2625cd(0x197)](_0x13e753['id'],{'version':_0x2627fd,..._0x104966},{'onlyLocal':!0x0});});}[_0x2555fc(0x11b)](){const _0x1c20c7=_0x2555fc;return Math[_0x1c20c7(0x2d2)]()[_0x1c20c7(0x1fe)](0x24)[_0x1c20c7(0x2d0)](0x2,0x10);}},_0x1cbd63['SheetsPivotRPCService']=_0x21eec5([_0x5ea12b(0x0,_0x3b4df9[_0x2555fc(0xeb)](_0x3b4df9[_0x2555fc(0x1aa)])),_0x5ea12b(0x1,_0x3b4df9['Inject'](_0x3b4df9[_0x2555fc(0x26f)]))],_0x1cbd63['SheetsPivotRPCService']);const _0x27d04c={'type':_0x3b4df9[_0x2555fc(0x27c)][_0x2555fc(0x1c9)],'id':_0x2555fc(0x25a),async 'handler'(_0x588acc,_0x5edcb6){const _0x2a6a8e=_0x2555fc;if(!_0x5edcb6)return!0x1;const {sourceDataInfo:_0xe1a23e,pivotTableConfig:_0x467a0a}=_0x5edcb6;if(!_0xe1a23e||!_0x467a0a)return!0x1;const {unitId:_0x28517a,subUnitId:_0xce22db,range:_0x700b16}=_0xe1a23e,_0x59a3ee=_0x588acc[_0x2a6a8e(0x2b4)](_0x3b4df9[_0x2a6a8e(0x102)]),_0x47e474=_0x588acc[_0x2a6a8e(0x2b4)](_0x1cbd63[_0x2a6a8e(0x113)]),_0x29e955=_0x588acc[_0x2a6a8e(0x2b4)](_0x3b4df9['LocaleService']),_0x3f748e=_0x588acc['get'](_0x3b4df9['ICommandService']),_0x38c8d4=_0x59a3ee['getUnit'](_0x28517a);if(!_0x38c8d4)return!0x1;const _0x5a5744=_0x38c8d4[_0x2a6a8e(0x126)](_0xce22db);if(!_0x5a5744)return!0x1;const _0x327324=_0x1af8aa[_0x2a6a8e(0x28d)](0x8),_0x290e06=_0x700b16||{'startRow':0x0,'startColumn':0x0,'endRow':_0x5a5744[_0x2a6a8e(0x225)]()-0x1,'endColumn':_0x5a5744[_0x2a6a8e(0x12f)]()-0x1};_0x290e06[_0x2a6a8e(0x138)]=_0x3b4df9[_0x2a6a8e(0xf4)][_0x2a6a8e(0x18f)];const _0x301aa6=(await _0x47e474[_0x2a6a8e(0xf5)]({'unitId':_0x28517a,'subUnitId':_0xce22db,'pivotTableId':_0x327324,'params':{'type':_0x18dbbe['AddPivotTableWithConfig'],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x28517a,'sheetName':_0x5a5744['getName'](),'subUnitId':_0xce22db,'range':_0x290e06},'pivotTableIndexConfig':_0x467a0a}}}))['result'][_0x2a6a8e(0x2a3)];if(!_0x301aa6)return!0x1;const {isEmpty:_0x84ea36,fieldsConfig:_0x27277f,collectionConfig:_0x423f78,changesets:_0x2f6fbf}=_0x301aa6,_0x380b7d=_0x38c8d4['getSheets']()[_0x2a6a8e(0x1de)],_0x4549d3=_0x3b4df9[_0x2a6a8e(0x104)]({'rowCount':_0x5a5744['getRowCount']()-0x1,'columnCount':_0x5a5744[_0x2a6a8e(0x12f)]()-0x1});_0x4549d3['id']=_0x3b4df9[_0x2a6a8e(0x23f)](),_0x4549d3['name']=_0x38c8d4[_0x2a6a8e(0x275)](''+_0x29e955['t'](_0x2a6a8e(0x257)));const _0x586188={'index':_0x380b7d,'sheet':_0x4549d3,'unitId':_0x28517a},{redos:_0x3fe289}=_0x583fc1(_0x3f748e,{'pivotTableId':_0x327324,'unitId':_0x28517a,'subUnitId':_0x4549d3['id']},_0x2f6fbf),_0x1b45df=[{'id':_0x3e512a[_0x2a6a8e(0xc9)]['id'],'params':_0x586188},{'id':_0x5e49ca['id'],'params':{'unitId':_0x28517a,'subUnitId':_0x4549d3['id'],'pivotTableId':_0x327324,'pivotTableConfig':{'isEmpty':_0x84ea36,'fieldsConfig':_0x27277f,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x28517a,'subUnitId':_0x4549d3['id']},'sourceRangeInfo':{'subUnitId':_0xce22db,'unitId':_0x28517a,'range':_0x290e06,'sheetName':_0x5a5744[_0x2a6a8e(0x286)]()}},'collectionConfig':_0x423f78}},..._0x3fe289];return _0x3b4df9[_0x2a6a8e(0x2b1)](_0x1b45df,_0x3f748e),!0x0;}},_0x62d2b=_0x2555fc(0x1d1),_0x2db4b1={};var _0x5ae5db=Object['defineProperty'],_0x6b1dc4=Object['getOwnPropertyDescriptor'],_0x1e35bf=(_0x16c49a,_0x417155,_0x440dba,_0x2410bf)=>{const _0x320dea=_0x2555fc;for(var _0x2bcd5a=_0x2410bf>0x1?void 0x0:_0x2410bf?_0x6b1dc4(_0x417155,_0x440dba):_0x417155,_0x57f702=_0x16c49a[_0x320dea(0x1de)]-0x1,_0x594241;_0x57f702>=0x0;_0x57f702--)(_0x594241=_0x16c49a[_0x57f702])&&(_0x2bcd5a=(_0x2410bf?_0x594241(_0x417155,_0x440dba,_0x2bcd5a):_0x594241(_0x2bcd5a))||_0x2bcd5a);return _0x2410bf&&_0x2bcd5a&&_0x5ae5db(_0x417155,_0x440dba,_0x2bcd5a),_0x2bcd5a;},_0x161f27=(_0x40c396,_0x4947ef)=>(_0x101751,_0x199845)=>_0x4947ef(_0x101751,_0x199845,_0x40c396);const _0x25d77e=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x5d88e0=(_0x2a2405,_0x389397,_0x51b632)=>{const _0x769590=_0x2555fc,_0x27584d=_0x2a2405[_0x769590(0xfb)];_0x2a2405[_0x769590(0x253)](_0x33dc0b=>{const _0x4b8e0d=_0x769590,_0x272143=_0x33dc0b[_0x4b8e0d(0x2a4)](),_0x22f812=_0x33dc0b['getDataFieldId'](),_0x2602c8=_0x33dc0b['getSourceName'](),_0x3ea6c6=_0x33dc0b['getDisplayName']();_0x389397[_0x22f812]&&_0x389397[_0x22f812]===_0x3ea6c6&&_0x2602c8===_0x3ea6c6&&(_0x2a2405[_0x4b8e0d(0x1e5)](_0x272143,_0x27584d[_0x4b8e0d(0xdc)](_0x22f812)),_0x33dc0b['setSourceName'](_0x27584d[_0x4b8e0d(0xdc)](_0x22f812)));}),_0x2a2405['iterateFieldByArea'](_0x1af8aa[_0x769590(0x1f2)]['Value'],_0x58ed3b=>{const _0x24352a=_0x769590,_0x1ed34e=_0x58ed3b[_0x24352a(0x2a4)](),_0x11fabf=_0x58ed3b[_0x24352a(0xb6)](),_0x589385=_0x58ed3b[_0x24352a(0x101)](),_0x46cfec=_0x58ed3b[_0x24352a(0xdc)](),_0x29cb84=_0x58ed3b['getSubtotal'](),_0x305214=_0x51b632(_0x589385,_0x29cb84);_0x389397[_0x11fabf]&&_0x389397[_0x11fabf]===_0x589385&&_0x305214===_0x46cfec&&(_0x2a2405[_0x24352a(0x1e5)](_0x1ed34e,_0x51b632(_0x27584d[_0x24352a(0xdc)](_0x11fabf),_0x29cb84)),_0x58ed3b[_0x24352a(0x1ba)](_0x27584d[_0x24352a(0xdc)](_0x11fabf)));});},_0x3921d0=(_0x46e222,_0x5d3baa,_0x441311)=>{const _0x492148=_0x2555fc;var _0x515aa3,_0x558e97;const {arrayFormulaCellData:_0x4c289f,unitData:_0x7fae26}=_0x5d3baa,{unitId:_0x571e1d,subUnitId:_0x412eed}=_0x441311,_0x269377=_0x441311[_0x492148(0x2a5)],{startColumn:_0x4d36ad,endColumn:_0x2114f4}=_0x269377,_0x43a3fe=(_0x515aa3=_0x4c289f==null?void 0x0:_0x4c289f[_0x571e1d])==null?void 0x0:_0x515aa3[_0x412eed],_0x4021e3=(_0x558e97=_0x7fae26==null?void 0x0:_0x7fae26[_0x571e1d])==null?void 0x0:_0x558e97[_0x412eed],_0x1c626c=new Set(),_0x47d66c=_0x2114f4-_0x4d36ad+0x1,{dirtyRanges:_0x1891c4}=_0x46e222;if(_0x1891c4)for(const {range:_0x4f7be7,sheetId:_0x5d7fc5,unitId:_0x1a6dba}of _0x1891c4){if(_0x5d7fc5!==_0x412eed||_0x571e1d!==_0x1a6dba)continue;const _0x54feb5=_0x3b4df9['Rectangle']['getIntersects'](_0x4f7be7,_0x269377);if(_0x54feb5){const {startColumn:_0x445203,endColumn:_0x248dc6}=_0x54feb5;for(let _0x2feccf=_0x445203;_0x2feccf<=_0x248dc6;_0x2feccf++)_0x1c626c['add'](_0x2feccf);}}if(_0x1c626c['size']===_0x47d66c||_0x1c626c['size']===_0x47d66c)return Array[_0x492148(0x159)](_0x1c626c);if(_0x4021e3){const _0x490713=_0x4021e3[_0x492148(0x25d)](),_0x25c76b=Object[_0x492148(0x2c9)](_0x490713);for(const _0x1a1d37 of _0x25c76b){const _0x3c7349=Number(_0x1a1d37),_0x4eb0d3=_0x490713[_0x3c7349];if(_0x1c626c[_0x492148(0x262)]===_0x47d66c)break;for(const _0x5292c0 in _0x4eb0d3){const _0x1d486d=Number(_0x5292c0);_0x1d486d<_0x4d36ad||_0x1d486d>_0x2114f4||_0x1c626c[_0x492148(0x1a7)](_0x1d486d);}}}if(_0x43a3fe){const _0x2741c8=_0x43a3fe['getMatrix'](),_0x369288=Object['keys'](_0x2741c8);for(const _0x421e6e of _0x369288){const _0x390be1=Number(_0x421e6e),_0xe36ae7=_0x2741c8[_0x390be1];if(_0x1c626c['size']===_0x47d66c)break;for(const _0x49d4c9 in _0xe36ae7){const _0x98886d=Number(_0x49d4c9);_0x98886d<_0x4d36ad||_0x98886d>_0x2114f4||_0x1c626c[_0x492148(0x1a7)](_0x98886d);}}}return Array[_0x492148(0x159)](_0x1c626c);},_0x5bfa77=_0x23f5de=>{const _0x66b30d=_0x2555fc,_0x465cf9=new Set(),_0x1c84bb=[];for(const _0x3aaacb of _0x23f5de){const _0x3bb7f6=_0x3aaacb[_0x66b30d(0x1ae)]+','+_0x3aaacb[_0x66b30d(0x232)]+','+_0x3aaacb[_0x66b30d(0x203)]+','+_0x3aaacb['endColumn'];_0x465cf9[_0x66b30d(0xb1)](_0x3bb7f6)||(_0x465cf9[_0x66b30d(0x1a7)](_0x3bb7f6),_0x1c84bb[_0x66b30d(0x184)](_0x3aaacb));}return _0x1c84bb;};let _0x122ffa=class extends _0x3b4df9[_0x2555fc(0x198)]{constructor(_0x550d9e,_0x1ef450,_0xda7e07,_0x1915aa,_0x1279c0){const _0x5e3e34=_0x2555fc;super(),this['_sheetsPivotDataSourceModel']=_0x550d9e,this['_configService']=_0x1ef450,this[_0x5e3e34(0x147)]=_0xda7e07,this[_0x5e3e34(0xe0)]=_0x1915aa,this[_0x5e3e34(0x1a3)]=_0x1279c0,this[_0x5e3e34(0x11e)](),this['_initPivotDataGetListener']();}[_0x2555fc(0x11e)](){this['_subjectCollectionChange'](),this['_subjectViewChange'](),this['_initPivotTextInfo'](),this['_subjectFieldsCollectionChange']();}[_0x2555fc(0x2b2)](){const _0x1ae808=_0x2555fc;this[_0x1ae808(0x2ca)](this[_0x1ae808(0xe0)][_0x1ae808(0xe2)](_0x26b457=>{const _0x24e9ad=_0x1ae808;_0x26b457['id']===_0x3e512a['MoveRangeMutation']['id']&&this['_sheetsPivotDataSourceModel']['handleMoveRange'](_0x26b457[_0x24e9ad(0x136)]);})),this[_0x1ae808(0x2ca)](this[_0x1ae808(0xe0)][_0x1ae808(0xe2)](_0x293e2e=>{const _0x2333e6=_0x1ae808;if(_0x293e2e['id']!==_0x13e753['id'])return;const _0x1f25cd=_0x293e2e[_0x2333e6(0x136)],{unitId:_0x38d393,subUnitId:_0x323ed3,pivotTableId:_0x430742}=_0x1f25cd,_0x5687bf=_0x1f25cd['params'][_0x2333e6(0x228)],_0x45ec52={};switch(_0x5687bf){case _0x18dbbe[_0x2333e6(0x2e9)]:{const _0x565d2c=_0x1f25cd[_0x2333e6(0x136)]['filter'];if(!_0x565d2c)return;const {row:_0x3dbb56,col:_0x1eb122,cellData:_0x4eb7cc,pivotItemRenderInfoCache:_0x4c88d6,tableFieldId:_0x14586b}=_0x565d2c,_0x22f973=this['_sheetsPivotDataSourceModel'][_0x2333e6(0x22c)](_0x1f25cd[_0x2333e6(0x1b5)]);if(!_0x22f973||!_0x4c88d6)return;if(_0x14586b){const _0x153ab8=_0x22f973[_0x2333e6(0xb0)](_0x14586b);if(!_0x153ab8)return;_0x45ec52[_0x2333e6(0x9f)]={..._0x22f973['getDataFieldItemInfo'](_0x153ab8),'tableFieldId':_0x14586b,'pivotTableId':_0x1f25cd[_0x2333e6(0x1b5)],'filterInfo':_0x22f973['getFilterInfo'](_0x14586b),'sortInfo':_0x22f973[_0x2333e6(0x16f)](_0x14586b),'format':_0x22f973[_0x2333e6(0x2e8)](_0x14586b)};}else{const _0x981dde=_0x1adbe2(_0x3dbb56,_0x1eb122,_0x4eb7cc,_0x22f973,_0x4c88d6),_0x359995=_0x981dde==null?void 0x0:_0x981dde[_0x2333e6(0x11a)];if(!_0x359995)return;const _0x34785c=_0x22f973[_0x2333e6(0xb0)](_0x359995);if(!_0x34785c)return;_0x45ec52['filter']={..._0x22f973['getDataFieldItemInfo'](_0x34785c),'tableFieldId':_0x359995,'pivotTableId':_0x1f25cd[_0x2333e6(0x1b5)],'filterInfo':_0x22f973['getFilterInfo'](_0x359995),'sortInfo':_0x22f973[_0x2333e6(0x16f)](_0x359995),'format':_0x22f973[_0x2333e6(0x2e8)](_0x359995)};}}break;case _0x18dbbe[_0x2333e6(0x2ba)]:{const _0x1a7936=_0x1f25cd['params']['panel'];if(!_0x1a7936)return;const {pivotTableId:_0x2cf8c1}=_0x1a7936,_0x3aa5cb=this['_sheetsPivotDataSourceModel'][_0x2333e6(0x22c)](_0x2cf8c1);if(!_0x3aa5cb)return;const _0x12f660=this[_0x2333e6(0x285)][_0x2333e6(0x217)](_0x38d393,_0x323ed3,_0x2cf8c1),_0x43656a=_0x463340(_0x3aa5cb,_0x2cf8c1,_0x12f660);_0x45ec52[_0x2333e6(0xa9)]=_0x43656a;}break;case _0x18dbbe['AddPivotField']:{const _0x23d79c=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x430742),_0x59ac8c=this[_0x2333e6(0x285)]['getPivotTableConfig'](_0x38d393,_0x323ed3,_0x430742),_0x40a8d2=_0x1f25cd['params'][_0x2333e6(0x2af)];if(!_0x23d79c||!_0x59ac8c||!_0x40a8d2)return!0x1;const {dataFieldId:_0x3d1dc6,fieldArea:_0x5c057a,index:_0x25adb0}=_0x40a8d2;_0x23d79c['startCollectChangeset']();const _0x3e16eb=_0x23d79c[_0x2333e6(0x2c1)](_0x3d1dc6,_0x5c057a,_0x25adb0);if(_0x3e16eb&&_0x5c057a===_0x1af8aa[_0x2333e6(0x1f2)][_0x2333e6(0x299)]){const _0x5cdbe0=_0x3e16eb[_0x2333e6(0x2a4)](),_0x41b623=_0x23d79c[_0x2333e6(0xb0)](_0x5cdbe0);if(_0x41b623){const _0x1b7159=_0x41b623==null?void 0x0:_0x41b623[_0x2333e6(0x1e6)]();_0x23d79c[_0x2333e6(0x1c5)](_0x3e16eb[_0x2333e6(0x2a4)](),_0x1b7159===_0x1af8aa['PivotDataFieldDataTypeEnum'][_0x2333e6(0x25f)]?_0x1af8aa['PivotSubtotalTypeEnum'][_0x2333e6(0x280)]:_0x1af8aa['PivotSubtotalTypeEnum'][_0x2333e6(0xb8)]);}const _0x27edd7=_0x23d79c[_0x2333e6(0x15b)](),_0x2eb076=_0x23d79c[_0x2333e6(0x105)](),_0x1820eb=_0x23d79c['getFieldCountByArea'](_0x1af8aa[_0x2333e6(0x1f2)][_0x2333e6(0x299)]);if(_0x27edd7===-0x1&&_0x1820eb>0x1){const _0x6cd0f4=_0x2eb076===_0x1af8aa['PivotTableValuePositionEnum'][_0x2333e6(0xe8)]?_0x1af8aa[_0x2333e6(0x244)][_0x2333e6(0xce)]:_0x2eb076,_0x11752c=_0x6cd0f4===_0x1af8aa[_0x2333e6(0x244)][_0x2333e6(0x119)]?_0x1af8aa[_0x2333e6(0x1f2)]['Row']:_0x1af8aa[_0x2333e6(0x1f2)]['Column'];_0x23d79c[_0x2333e6(0x293)](_0x6cd0f4,_0x23d79c[_0x2333e6(0x11f)](_0x11752c));}}else{if(_0x3e16eb&&(_0x5c057a===_0x1af8aa['PivotTableFiledAreaEnum'][_0x2333e6(0x119)]||_0x5c057a===_0x1af8aa[_0x2333e6(0x1f2)]['Column'])){const _0xcd1628=_0x3e16eb[_0x2333e6(0x2a4)](),_0x46e284=_0x23d79c[_0x2333e6(0xb0)](_0xcd1628);if(_0x46e284&&(_0x46e284==null?void 0x0:_0x46e284['getFieldDataType']())===_0x1af8aa[_0x2333e6(0x18a)][_0x2333e6(0x269)]){const _0xed1137=_0x46e284[_0x2333e6(0x204)]();_0xed1137&&_0x23d79c[_0x2333e6(0x1c4)](_0x3e16eb['getId'](),_0xed1137);}}}const _0x5375f6=_0x23d79c[_0x2333e6(0x288)](),_0x4ff062=_0x23d79c[_0x2333e6(0xdb)]()[_0x2333e6(0x135)](),_0x76364=_0x23d79c['endCollectChangeset']();_0x45ec52[_0x2333e6(0x2af)]={'view':_0x4ff062,'changesets':_0x76364,'isEmpty':_0x5375f6,'pivotTableConfig':_0x59ac8c};}break;case _0x18dbbe[_0x2333e6(0x264)]:{const _0x3cc607=_0x1f25cd[_0x2333e6(0x136)][_0x2333e6(0xd5)];if(!_0x3cc607)return;const _0x12c8b1=_0x3cc607[_0x2333e6(0x1c3)],{collection:_0x452227}=this[_0x2333e6(0x285)][_0x2333e6(0xf8)]({'unitId':_0x12c8b1[_0x2333e6(0x25c)],'sheetName':_0x12c8b1[_0x2333e6(0x112)],'subUnitId':_0x12c8b1['subUnitId'],'range':_0x12c8b1[_0x2333e6(0x2a5)]}),_0x4ac99a=new _0x1af8aa[(_0x2333e6(0x214))](_0x452227),_0x21de48=_0x4ac99a['query'](),_0x40153e=_0x4ac99a[_0x2333e6(0x135)](),_0x13aa1d=_0x452227['toJSON']();_0x45ec52[_0x2333e6(0xd5)]={'view':_0x21de48,'fieldsConfig':_0x40153e,'collectionConfig':_0x13aa1d,'isEmpty':_0x4ac99a[_0x2333e6(0x288)]()};}break;case _0x18dbbe[_0x2333e6(0xfc)]:{const _0x2d2e95=_0x1f25cd['params'][_0x2333e6(0x100)];if(!_0x2d2e95)return;const {fieldId:_0x382aec,area:_0x35f7e1,index:_0x1d2387}=_0x2d2e95,_0x49ca32=this[_0x2333e6(0x285)][_0x2333e6(0x217)](_0x38d393,_0x323ed3,_0x430742);if(!_0x49ca32)return;const _0x4904ac=this[_0x2333e6(0x285)][_0x2333e6(0x22c)](_0x430742);if(!_0x4904ac)return;_0x4904ac[_0x2333e6(0x2df)]();const {area:_0x263b6f,index:_0x49ae82}=_0x4904ac[_0x2333e6(0x2c5)](_0x382aec);if(_0x4904ac[_0x2333e6(0xd2)](_0x382aec,_0x35f7e1,_0x1d2387),_0x35f7e1===_0x1af8aa[_0x2333e6(0x1f2)][_0x2333e6(0x299)]&&_0x4904ac[_0x2333e6(0x256)](_0x382aec)['getSubtotal']()===void 0x0){const _0x46e64=_0x4904ac['getTableFieldById'](_0x382aec);if(_0x46e64&&_0x46e64[_0x2333e6(0xb3)]()===void 0x0){const _0x3d09eb=_0x4904ac[_0x2333e6(0xb0)](_0x382aec);if(_0x3d09eb){const _0x30a73f=_0x3d09eb==null?void 0x0:_0x3d09eb[_0x2333e6(0x1e6)]();_0x4904ac[_0x2333e6(0x1c5)](_0x382aec,_0x30a73f===_0x1af8aa[_0x2333e6(0x18a)][_0x2333e6(0x25f)]?_0x1af8aa[_0x2333e6(0x13e)][_0x2333e6(0x280)]:_0x1af8aa[_0x2333e6(0x13e)][_0x2333e6(0xb8)]);}}}const _0x4bb0c2=_0x4904ac['getValuePosition'](),_0x57e83e=_0x4904ac[_0x2333e6(0x15b)](),_0x526597=_0x4904ac[_0x2333e6(0x11f)](_0x1af8aa[_0x2333e6(0x1f2)][_0x2333e6(0x299)])>0x1;if(_0x526597&&_0x263b6f===_0x35f7e1&&(_0x35f7e1===_0x1af8aa[_0x2333e6(0x1f2)][_0x2333e6(0x119)]&&_0x4bb0c2===_0x1af8aa[_0x2333e6(0x244)][_0x2333e6(0x119)]||_0x35f7e1===_0x1af8aa['PivotTableFiledAreaEnum']['Column']&&_0x4bb0c2===_0x1af8aa[_0x2333e6(0x244)][_0x2333e6(0xce)])){let _0x2be4c9=_0x57e83e;_0x49ae82<=_0x57e83e&&_0x2be4c9--,_0x1d2387<=_0x57e83e&&_0x2be4c9++,_0x4904ac[_0x2333e6(0x293)](_0x4bb0c2,_0x2be4c9);}else _0x526597&&(_0x263b6f===_0x1af8aa['PivotTableFiledAreaEnum'][_0x2333e6(0x119)]&&_0x4bb0c2===_0x1af8aa[_0x2333e6(0x244)][_0x2333e6(0x119)]||_0x263b6f===_0x1af8aa[_0x2333e6(0x1f2)]['Column']&&_0x4bb0c2===_0x1af8aa[_0x2333e6(0x244)][_0x2333e6(0xce)])&&_0x57e83e>=_0x49ae82&&_0x4904ac['updateValuePosition'](_0x4bb0c2,_0x57e83e-0x1),_0x526597&&(_0x35f7e1===_0x1af8aa[_0x2333e6(0x1f2)][_0x2333e6(0x119)]&&_0x4bb0c2===_0x1af8aa[_0x2333e6(0x244)][_0x2333e6(0x119)]||_0x35f7e1===_0x1af8aa[_0x2333e6(0x1f2)]['Column']&&_0x4bb0c2===_0x1af8aa[_0x2333e6(0x244)]['Column'])&&_0x57e83e>=_0x1d2387&&_0x4904ac[_0x2333e6(0x293)](_0x4bb0c2,_0x57e83e+0x1);const _0x2eb9e2=_0x4904ac[_0x2333e6(0xdb)](),_0x400d3f=_0x4904ac[_0x2333e6(0x288)](),_0x12b2dc=_0x4904ac[_0x2333e6(0x106)]();_0x45ec52['movePivotField']={'view':_0x2eb9e2[_0x2333e6(0x135)](),'changesets':_0x12b2dc,'isEmpty':_0x400d3f,'pivotTableConfig':_0x49ca32};}break;case _0x18dbbe[_0x2333e6(0x2f7)]:{const _0x3e01a4=_0x1f25cd['params'][_0x2333e6(0x1e1)];if(!_0x3e01a4)return;const _0x4e32e7=_0x3e01a4[_0x2333e6(0x2cf)],_0x44b1dd=this[_0x2333e6(0x285)][_0x2333e6(0x217)](_0x38d393,_0x323ed3,_0x430742);if(!_0x44b1dd)return!0x1;const _0x124b21=this[_0x2333e6(0x285)][_0x2333e6(0x22c)](_0x430742);if(!_0x124b21)return!0x1;_0x124b21['startCollectChangeset']();for(const _0x1a4f44 of _0x4e32e7)_0x124b21['removeField'](_0x1a4f44);const _0xf8ac68=_0x124b21['isEmpty'](),_0x2da939=_0x124b21['query']()[_0x2333e6(0x135)](),_0x5733f7=_0x124b21[_0x2333e6(0x106)]();_0x45ec52[_0x2333e6(0x1e1)]={'changesets':_0x5733f7,'pivotTableConfig':_0x44b1dd,'isEmpty':_0xf8ac68,'view':_0x2da939};}break;case _0x18dbbe['SetPivotFilter']:{const _0x314c8a=_0x1f25cd[_0x2333e6(0x136)][_0x2333e6(0x224)];if(!_0x314c8a)return;const {tableFieldId:_0x4d157c,items:_0x3a8e20,isAll:_0x64be91}=_0x314c8a,_0x511715=this[_0x2333e6(0x285)]['getPivotTableInstance'](_0x430742),_0x44a8b3=this[_0x2333e6(0x285)]['getPivotTableConfig'](_0x38d393,_0x323ed3,_0x430742);if(!_0x511715||!_0x44a8b3)return;_0x511715[_0x2333e6(0x2df)](),_0x511715[_0x2333e6(0x127)](_0x4d157c,{'type':_0x1af8aa[_0x2333e6(0x25b)][_0x2333e6(0x237)],'list':_0x3a8e20,'isAll':_0x64be91});const _0xefb23=_0x511715['isEmpty'](),_0x1e28b7=_0x511715[_0x2333e6(0xdb)]()[_0x2333e6(0x135)](),_0x10ed93=_0x511715[_0x2333e6(0x106)]();_0x45ec52[_0x2333e6(0x224)]={'view':_0x1e28b7,'changesets':_0x10ed93,'isEmpty':_0xefb23,'pivotTableConfig':_0x44a8b3};}break;case _0x18dbbe[_0x2333e6(0x283)]:{const _0x47a9d8=_0x1f25cd[_0x2333e6(0x136)][_0x2333e6(0x2dc)];if(!_0x47a9d8)return;const {tableFieldId:_0xbbb53d,info:_0x540869}=_0x47a9d8,_0x35cfd9=this[_0x2333e6(0x285)][_0x2333e6(0x22c)](_0x430742),_0xab47bf=this[_0x2333e6(0x285)]['getPivotTableConfig'](_0x38d393,_0x323ed3,_0x430742);if(!_0x35cfd9||!_0xab47bf)return;_0x35cfd9['startCollectChangeset'](),_0x35cfd9[_0x2333e6(0xda)](_0xbbb53d,_0x540869);const _0x5e9cfe=_0x35cfd9['isEmpty'](),_0x2d4863=_0x35cfd9['query']()[_0x2333e6(0x135)](),_0x1ae9b0=_0x35cfd9[_0x2333e6(0x106)]();_0x45ec52[_0x2333e6(0x2dc)]={'view':_0x2d4863,'changesets':_0x1ae9b0,'isEmpty':_0x5e9cfe,'pivotTableConfig':_0xab47bf};}break;case _0x18dbbe['SetPivotSetting']:{const _0x1882ba=_0x1f25cd[_0x2333e6(0x136)]['setPivotSetting'];if(!_0x1882ba)return;const {tableFieldId:_0x346bd5,displayName:_0x4d2dce,subtotalType:_0x3d0c02,format:_0x14b353}=_0x1882ba,_0x25fbe2=this[_0x2333e6(0x285)][_0x2333e6(0x22c)](_0x430742),_0x554721=this['_sheetsPivotDataSourceModel'][_0x2333e6(0x217)](_0x38d393,_0x323ed3,_0x430742);if(!_0x25fbe2||!_0x554721)return;_0x25fbe2['startCollectChangeset'](),_0x4d2dce!==void 0x0&&_0x25fbe2['renameField'](_0x346bd5,_0x4d2dce),_0x3d0c02!==void 0x0&&_0x25fbe2[_0x2333e6(0x1c5)](_0x346bd5,_0x3d0c02),_0x14b353!==void 0x0&&_0x25fbe2[_0x2333e6(0x1c4)](_0x346bd5,_0x14b353);const _0x11d7d4=_0x25fbe2[_0x2333e6(0x288)](),_0x3cdfe2=_0x25fbe2['query']()[_0x2333e6(0x135)](),_0x4cde21=_0x25fbe2[_0x2333e6(0x106)]();_0x45ec52['setPivotSetting']={'changesets':_0x4cde21,'pivotTableConfig':_0x554721,'isEmpty':_0x11d7d4,'view':_0x3cdfe2};}break;case _0x18dbbe[_0x2333e6(0x1fc)]:{const _0x17e329=_0x1f25cd[_0x2333e6(0x136)][_0x2333e6(0x14e)];if(!_0x17e329)return;const {dataRangeInfo:_0x5ce7f4,unitId:_0x21323d,subUnitId:_0x512dcd}=_0x17e329,_0x12a0a1=this[_0x2333e6(0x285)][_0x2333e6(0x217)](_0x21323d,_0x512dcd,_0x430742),_0x460ff5=this[_0x2333e6(0x285)][_0x2333e6(0x22c)](_0x430742);if(!this[_0x2333e6(0x285)]['getCollection'](_0x21323d,_0x430742)||!_0x460ff5||!_0x12a0a1)return;const _0x36a7b1=this[_0x2333e6(0x285)][_0x2333e6(0x206)](_0x21323d,_0x430742,_0x5ce7f4),_0x5df153=this['_sheetsPivotDataSourceModel']['getCollection'](_0x21323d,_0x430742)['toJSON'](),{collection:_0x2c7dcd}=this[_0x2333e6(0x285)]['createCollectionWithDataRange']({'unitId':_0x5ce7f4[_0x2333e6(0x25c)],'sheetName':_0x5ce7f4['sheetName'],'subUnitId':_0x5ce7f4[_0x2333e6(0x2c8)],'range':_0x5ce7f4[_0x2333e6(0x2a5)]}),_0x28029a=_0x2c7dcd[_0x2333e6(0x135)]();_0x460ff5[_0x2333e6(0x2df)]();const _0x13516c=this[_0x2333e6(0x285)][_0x2333e6(0x248)](_0x21323d)[_0x2333e6(0x20b)]()||_0x1af8aa[_0x2333e6(0x1d9)];_0x460ff5[_0x2333e6(0x150)](_0x298d71=>{const _0x52c319=_0x2333e6,_0x5dea18=_0x298d71['getDataFieldId']();if(!_0x2c7dcd[_0x52c319(0x243)](_0x5dea18)){const _0xd938d2=_0x2c7dcd['getDataFieldBySourceName'](_0x298d71[_0x52c319(0x101)]());if(_0xd938d2){_0x460ff5[_0x52c319(0xfd)](_0x298d71[_0x52c319(0x2a4)](),_0xd938d2[_0x52c319(0x286)](),_0xd938d2[_0x52c319(0x2a4)]());const {area:_0x562cce}=_0x460ff5['getFieldPositionInfoById'](_0x298d71['getId']());let _0x4def9b=_0x298d71[_0x52c319(0x101)]();const _0x4945d4=_0x298d71[_0x52c319(0xdc)]();if(_0x562cce===_0x1af8aa[_0x52c319(0x1f2)][_0x52c319(0x299)]){const _0x1a7856=_0x298d71[_0x52c319(0xb3)]();_0x4def9b=_0x13516c(_0xd938d2[_0x52c319(0x286)](),_0x1a7856);}_0x4945d4!==_0x4def9b&&_0x460ff5[_0x52c319(0x1e5)](_0x298d71['getId'](),_0x4def9b);}else _0x460ff5['removeField'](_0x298d71[_0x52c319(0x2a4)]());}});const _0x407983=_0x460ff5[_0x2333e6(0x288)](),_0x49c7cc=_0x460ff5[_0x2333e6(0xdb)]()[_0x2333e6(0x135)](),_0x3558ff=_0x460ff5[_0x2333e6(0x106)]();_0x45ec52['updatePivotSource']={'view':_0x49c7cc,'changesets':_0x3558ff,'isEmpty':_0x407983,'pivotTableConfig':_0x12a0a1,'collectionConfig':_0x28029a,'oldCollectionConfig':_0x5df153,'deleteIds':_0x36a7b1};}break;case _0x18dbbe[_0x2333e6(0x12e)]:{const _0x5023aa=_0x1f25cd['params'][_0x2333e6(0x293)];if(!_0x5023aa)return;const {position:_0x184dff,index:_0xf3488c}=_0x5023aa,_0x54d3a6=this['_sheetsPivotDataSourceModel'][_0x2333e6(0x217)](_0x38d393,_0x323ed3,_0x430742);if(!_0x54d3a6)return!0x1;const _0x18f734=this[_0x2333e6(0x285)][_0x2333e6(0x22c)](_0x430742);if(!_0x18f734)return!0x1;_0x18f734[_0x2333e6(0x2df)](),_0x18f734['updateValuePosition'](_0x184dff,_0xf3488c);const _0x43ed79=_0x18f734['isEmpty'](),_0x179260=_0x18f734[_0x2333e6(0xdb)]()[_0x2333e6(0x135)](),_0x34a473=_0x18f734[_0x2333e6(0x106)]();_0x45ec52[_0x2333e6(0x293)]={'changesets':_0x34a473,'pivotTableConfig':_0x54d3a6,'isEmpty':_0x43ed79,'view':_0x179260};}break;case _0x18dbbe[_0x2333e6(0x22d)]:{const _0x46ae9b=_0x1f25cd[_0x2333e6(0x136)][_0x2333e6(0x177)];if(!_0x46ae9b)return;const {tableFieldId:_0x2810dd,collapse:_0x3c66dd,item:_0x1c44d3}=_0x46ae9b,_0x50a7c3=this['_sheetsPivotDataSourceModel'][_0x2333e6(0x22c)](_0x430742),_0x361099=this['_sheetsPivotDataSourceModel'][_0x2333e6(0x217)](_0x38d393,_0x323ed3,_0x430742);if(!_0x50a7c3||!_0x361099)return;_0x50a7c3[_0x2333e6(0x2df)](),_0x50a7c3[_0x2333e6(0x17a)](_0x2810dd,_0x3c66dd,_0x1c44d3);const _0x40429a=_0x50a7c3[_0x2333e6(0x288)](),_0x1c6a54=_0x50a7c3[_0x2333e6(0xdb)]()['toJSON'](),_0xd11a3=_0x50a7c3['endCollectChangeset']();_0x45ec52['setPivotCollapse']={'view':_0x1c6a54,'isEmpty':_0x40429a,'pivotTableConfig':_0x361099,'changesets':_0xd11a3};}break;case _0x18dbbe[_0x2333e6(0xca)]:{const _0x5838e2=_0x1f25cd[_0x2333e6(0x136)][_0x2333e6(0x2a3)];if(!_0x5838e2)return;const _0x16f868=_0x5838e2[_0x2333e6(0x1c3)],{collection:_0x4f46f4}=this[_0x2333e6(0x285)][_0x2333e6(0xf8)]({'unitId':_0x16f868['unitId'],'sheetName':_0x16f868[_0x2333e6(0x112)],'subUnitId':_0x16f868['subUnitId'],'range':_0x16f868[_0x2333e6(0x2a5)]}),_0x490de5=new _0x1af8aa['PivotTable'](_0x4f46f4),_0x36313b=_0x4f46f4[_0x2333e6(0x10b)](),{rows:_0x400a4b,columns:_0x25c5f4,filters:_0x1aaaaf,values:_0x173d6a}=_0x5838e2[_0x2333e6(0x185)];_0x490de5[_0x2333e6(0x2df)]();for(const {field:_0x5d954c,selectedItems:_0x25fe5a}of _0x400a4b||[]){const _0x3ed86e=_0x36313b[_0x5d954c];if(_0x3ed86e){const _0x59089c=_0x490de5['addFieldWithSourceId'](_0x3ed86e,_0x1af8aa[_0x2333e6(0x1f2)][_0x2333e6(0x119)]);_0x25fe5a&&_0x59089c&&_0x490de5[_0x2333e6(0x127)](_0x59089c[_0x2333e6(0x2a4)](),{'type':_0x1af8aa['PivotFilterTypeEnum'][_0x2333e6(0x237)],'list':_0x25fe5a,'isAll':!0x1});}}for(const {field:_0x125735,selectedItems:_0x4c42f2}of _0x25c5f4||[]){const _0x41a1e7=_0x36313b[_0x125735];if(_0x41a1e7){const _0x36c5e7=_0x490de5[_0x2333e6(0x2c1)](_0x41a1e7,_0x1af8aa[_0x2333e6(0x1f2)][_0x2333e6(0xce)]);_0x4c42f2&&_0x36c5e7&&_0x490de5['setFilterInfo'](_0x36c5e7[_0x2333e6(0x2a4)](),{'type':_0x1af8aa[_0x2333e6(0x25b)][_0x2333e6(0x237)],'list':_0x4c42f2,'isAll':!0x1});}}for(const {field:_0x31410d,selectedItems:_0x2ba32f}of _0x1aaaaf||[]){const _0x1394e6=_0x36313b[_0x31410d];if(_0x1394e6){const _0x133383=_0x490de5[_0x2333e6(0x2c1)](_0x1394e6,_0x1af8aa['PivotTableFiledAreaEnum']['Filter']);_0x2ba32f&&_0x133383&&_0x490de5[_0x2333e6(0x127)](_0x133383[_0x2333e6(0x2a4)](),{'type':_0x1af8aa['PivotFilterTypeEnum'][_0x2333e6(0x237)],'list':_0x2ba32f,'isAll':!0x1});}}for(const {field:_0x1d3c11,subTotalType:_0x49d6e6,formatString:_0x44479a}of _0x173d6a||[]){const _0x5c69fa=_0x4f46f4[_0x2333e6(0x17c)](_0x36313b[_0x1d3c11]);if(!_0x5c69fa)continue;const _0x1fcf95=_0x36313b[_0x1d3c11];if(_0x1fcf95){const _0x45af17=_0x490de5[_0x2333e6(0x2c1)](_0x1fcf95,_0x1af8aa['PivotTableFiledAreaEnum'][_0x2333e6(0x299)]);if(_0x45af17){if(_0x49d6e6!==void 0x0){_0x490de5[_0x2333e6(0x1c5)](_0x45af17['getId'](),_0x49d6e6);const _0x39fee7=this['_sheetsPivotDataSourceModel'][_0x2333e6(0x248)](_0x16f868[_0x2333e6(0x25c)])['getAutoDisplayNameFunction']()||_0x1af8aa[_0x2333e6(0x1d9)],_0x5b84c3=_0x4f46f4[_0x2333e6(0xdc)](_0x1fcf95),_0x34d0f4=_0x39fee7(_0x5b84c3,_0x49d6e6);_0x490de5['renameField'](_0x45af17['getId'](),_0x34d0f4);}else{if(_0x5c69fa){const _0x39a629=_0x5c69fa==null?void 0x0:_0x5c69fa[_0x2333e6(0x1e6)]();_0x490de5[_0x2333e6(0x1c5)](_0x45af17[_0x2333e6(0x2a4)](),_0x39a629===_0x1af8aa[_0x2333e6(0x18a)][_0x2333e6(0x25f)]?_0x1af8aa[_0x2333e6(0x13e)]['sum']:_0x1af8aa['PivotSubtotalTypeEnum']['count']);}}_0x44479a&&_0x490de5['setFieldFormat'](_0x45af17['getId'](),_0x44479a);}}}const _0x1d9efd=_0x490de5[_0x2333e6(0xdb)](),_0x4fce71=_0x490de5['toJSON'](),_0x21c369=_0x490de5[_0x2333e6(0x288)](),_0xefa265=_0x490de5[_0x2333e6(0x106)](),_0x31d87e=_0x4f46f4[_0x2333e6(0x135)]();_0x45ec52[_0x2333e6(0x2a3)]={'view':_0x1d9efd,'fieldsConfig':_0x4fce71,'collectionConfig':_0x31d87e,'isEmpty':_0x21c369,'changesets':_0xefa265};}break;case _0x18dbbe[_0x2333e6(0x290)]:{const _0x41558b=_0x5a2452(this[_0x2333e6(0x1a3)],_0x1f25cd);if(!_0x41558b)return;const {range:_0x2ca208,sourceSubUnitId:_0x483b92,sourceUnitId:_0x1a5e1e,formatMap:_0x25de62,indexes:_0x441cc9}=_0x41558b;_0x45ec52['drillDown']={'range':_0x2ca208,'sourceSubUnitId':_0x483b92,'sourceUnitId':_0x1a5e1e,'formatMap':_0x25de62,'indexes':_0x441cc9};}break;}this[_0x2333e6(0xe0)][_0x2333e6(0x197)](_0x3cf285['id'],{'version':_0x1f25cd['version'],'result':_0x45ec52},{'onlyLocal':!0x0});}));}[_0x2555fc(0xb7)](){const _0x339792=_0x2555fc;this['disposeWithMe'](this[_0x339792(0xe0)][_0x339792(0xe2)](_0x428270=>{const _0x3548a3=_0x339792;if(_0x428270['id']!==_0x24120f['id'])return;const _0x529d70=_0x428270[_0x3548a3(0x136)];return this[_0x3548a3(0x285)][_0x3548a3(0xa5)](_0x529d70['textInfo']),!0x0;}));}['_subjectCollectionChange'](){const _0x5a3e2a=_0x2555fc;this['_sheetsPivotDataSourceModel']['collectionChange$'][_0x5a3e2a(0x220)](_0x4fdd28=>{const _0x522961=_0x5a3e2a;switch(_0x4fdd28[_0x522961(0x228)]){case _0x83ee09[_0x522961(0x1a7)]:_0x4fdd28[_0x522961(0x2da)]&&_0x4fdd28['targetCellInfo']&&this[_0x522961(0x142)](_0x4fdd28[_0x522961(0x2ce)],_0x4fdd28[_0x522961(0x2da)],_0x4fdd28['targetCellInfo']);break;case _0x83ee09[_0x522961(0xcf)]:{const {unitId:_0x105b64,subUnitId:_0x5b00f5,token:_0x2774f3}=_0x4fdd28;_0x105b64&&_0x5b00f5&&_0x2774f3&&this[_0x522961(0x295)](_0x105b64,_0x5b00f5,_0x2774f3);}break;case _0x83ee09[_0x522961(0x2b9)]:{const {token:_0x81a7ce,oldSourceRangeInfo:_0x29b789,dataRangeInfo:_0x5c8af8,targetCellInfo:_0x22ab95}=_0x4fdd28,{unitId:_0x586b0c,subUnitId:_0x3209e4}=_0x29b789||{};_0x586b0c&&_0x3209e4&&_0x81a7ce&&this[_0x522961(0x295)](_0x586b0c,_0x3209e4,_0x81a7ce),_0x5c8af8&&_0x22ab95&&this[_0x522961(0x142)](_0x81a7ce,_0x5c8af8,_0x22ab95);}break;}});}[_0x2555fc(0x208)](){const _0x9acc7=_0x2555fc;this[_0x9acc7(0x285)][_0x9acc7(0x172)][_0x9acc7(0x220)](_0x5c1a12=>{const _0x355613=_0x9acc7;Object['keys'](_0x5c1a12)[_0x355613(0x103)](_0x5b64af=>{const _0x2e60ff=_0x355613,_0x4d12ee=this['_sheetsPivotDataSourceModel'][_0x2e60ff(0xa2)](_0x5b64af);if(_0x4d12ee){const _0x4f423e=this[_0x2e60ff(0x285)][_0x2e60ff(0x217)](_0x4d12ee==null?void 0x0:_0x4d12ee[_0x2e60ff(0x25c)],_0x4d12ee==null?void 0x0:_0x4d12ee[_0x2e60ff(0x2c8)],_0x5b64af);_0x4f423e&&(this[_0x2e60ff(0x142)](_0x5b64af,_0x4f423e[_0x2e60ff(0x1c3)],_0x4f423e[_0x2e60ff(0x28e)]),this['triggerDirtyFeature']([{'unitId':_0x4d12ee[_0x2e60ff(0x25c)],'subUnitId':_0x4d12ee['subUnitId'],'token':_0x5b64af}]));}});});}[_0x2555fc(0x174)](){const _0x5e9e69=_0x2555fc;this[_0x5e9e69(0x285)]['viewData$'][_0x5e9e69(0x220)](_0x2d4e54=>{const _0x6ae7b1=_0x5e9e69,{unitId:_0x2920dc,subUnitId:_0x2f11bc,pivotTableId:_0x2f4d7b}=_0x2d4e54;_0x2920dc&&_0x2f11bc&&_0x2f4d7b&&this[_0x6ae7b1(0x1d5)]([{'unitId':_0x2920dc,'subUnitId':_0x2f11bc,'token':_0x2f4d7b}]);});}['triggerDirtyFeature'](_0x1e1d51){const _0x4a71a0=_0x2555fc,_0x38d145={};_0x1e1d51[_0x4a71a0(0x103)](_0x207654=>{var _0x184556,_0x1b2d35;const {unitId:_0x21229e,subUnitId:_0x4f5c18,token:_0x1268b2}=_0x207654;_0x38d145[_0x21229e]=(_0x184556=_0x38d145[_0x21229e])!=null?_0x184556:{},_0x38d145[_0x21229e][_0x4f5c18]=(_0x1b2d35=_0x38d145[_0x21229e][_0x4f5c18])!=null?_0x1b2d35:{},_0x38d145[_0x21229e][_0x4f5c18][_0x1268b2]=!0x0;}),this['_commandService'][_0x4a71a0(0x197)](_0x92106e['id'],_0x38d145);}['removeSourceRangeChange'](_0x26f03d,_0x2762a5,_0x50823e){const _0x36f08d=_0x2555fc;this[_0x36f08d(0x147)][_0x36f08d(0x2f4)](_0x26f03d,_0x2762a5,[_0x50823e]);}[_0x2555fc(0x142)](_0x955d96,_0x58f0bf,_0x4a955f){const _0x3f6087=_0x2555fc,{unitId:_0x4f7fd1,subUnitId:_0x59c5f2}=_0x58f0bf;this[_0x3f6087(0x147)]['has'](_0x4a955f[_0x3f6087(0x25c)],_0x4a955f['subUnitId'],_0x955d96)&&this[_0x3f6087(0x295)](_0x4f7fd1,_0x59c5f2,_0x955d96);const _0x1beceb={'sheetId':_0x59c5f2,..._0x58f0bf};this[_0x3f6087(0x147)][_0x3f6087(0x23e)](_0x4a955f[_0x3f6087(0x25c)],_0x4a955f[_0x3f6087(0x2c8)],_0x955d96,{'unitId':_0x4a955f[_0x3f6087(0x25c)],'subUnitId':_0x4a955f[_0x3f6087(0x2c8)],'dependencyRanges':[_0x1beceb],'getDirtyData':(_0x6a1069,_0x527c60)=>{const _0x2ae81d=_0x3f6087,_0x35baff=this[_0x2ae81d(0x285)],_0xdc2bc8=_0x35baff[_0x2ae81d(0xa2)](_0x955d96);if(!_0xdc2bc8)return _0x25d77e();const {unitId:_0x98bcdf,subUnitId:_0x1a2c7a}=_0xdc2bc8,_0xd9dffa=_0x3921d0(_0x6a1069,_0x527c60,_0x58f0bf);if(_0xd9dffa[_0x2ae81d(0x1de)]>0x0){const _0x377e57=_0x35baff['getCollection'](_0x4f7fd1,_0x955d96),_0x55d248=_0x377e57[_0x2ae81d(0x10b)](),_0x557732=this[_0x2ae81d(0x149)](_0x58f0bf[_0x2ae81d(0x25c)],_0x58f0bf[_0x2ae81d(0x2c8)],_0x527c60),_0x500e3a={},_0x4090b9=this['_sheetsPivotDataSourceModel'][_0x2ae81d(0x248)](_0x98bcdf)[_0x2ae81d(0x20b)]()||_0x1af8aa[_0x2ae81d(0x1d9)];for(const _0x18feed of _0xd9dffa){const _0xacece2=_0x18feed-(_0x58f0bf[_0x2ae81d(0x2a5)][_0x2ae81d(0x203)]||0x0),_0x54e720=_0x55d248[_0xacece2];_0x500e3a[_0x54e720]=_0x377e57['getFieldById'](_0x54e720)[_0x2ae81d(0x286)](),_0x35baff[_0x2ae81d(0x248)](_0x4f7fd1)['refreshDataField'](_0x54e720,_0x58f0bf,_0xacece2,_0x557732);}_0x377e57[_0x2ae81d(0x28c)]();const _0x15d47b=_0x35baff[_0x2ae81d(0x22c)](_0x955d96);if(_0x15d47b){_0x5d88e0(_0x15d47b,_0x500e3a,_0x4090b9),_0x15d47b[_0x2ae81d(0x271)](!0x0);const _0x1ec7ad=_0x15d47b[_0x2ae81d(0xdb)](),_0x49c2a3=_0x35baff[_0x2ae81d(0x217)](_0x98bcdf,_0x1a2c7a,_0x955d96),_0x2181f3=_0x35baff[_0x2ae81d(0x248)](_0x4f7fd1)['toJSON']();_0x35baff['updateView'](_0x98bcdf,_0x1a2c7a,_0x1e5bef[_0x2ae81d(0xcc)],_0x955d96,_0x1ec7ad,_0x49c2a3,_0x2181f3,!0x0);}}return this[_0x2ae81d(0x24d)](_0x98bcdf,_0x1a2c7a,_0x955d96);}});}[_0x2555fc(0x149)](_0x44429b,_0xf845c2,_0x39322f){var _0x1025b5,_0x14f161;const {arrayFormulaCellData:_0x387ec9,unitData:_0x4d7b2e}=_0x39322f,_0x869a66=(_0x1025b5=_0x387ec9==null?void 0x0:_0x387ec9[_0x44429b])==null?void 0x0:_0x1025b5[_0xf845c2],_0x279466=(_0x14f161=_0x4d7b2e==null?void 0x0:_0x4d7b2e[_0x44429b])==null?void 0x0:_0x14f161[_0xf845c2];return{'arrayFormulaCellDataMatrix':_0x869a66,'unitDataMatrix':_0x279466};}[_0x2555fc(0x24d)](_0x456707,_0x4eb1ae,_0x4f1c86){const _0x30ef7a=_0x2555fc,_0x4ea84d=this[_0x30ef7a(0x285)]['getViewData'](_0x456707,_0x4eb1ae,_0x4f1c86),_0x3df423=[],_0x5e6f08=new _0x3b4df9[(_0x30ef7a(0x2f8))]();if(_0x4ea84d){const {rangeCache:_0x439e37,matrix:_0x493647,oldRangeCache:_0x153e10,oldMatrix:_0x3d11e1}=_0x4ea84d,_0x23d691=_0x161a85(_0x153e10),_0x157e19=_0x161a85(_0x439e37);_0x3df423[_0x30ef7a(0x184)](..._0x157e19,..._0x23d691),_0x3d11e1&&_0x153e10&&_0x23d691[_0x30ef7a(0x103)](_0x7fda40=>{const _0x23c2e4=_0x30ef7a;for(let _0x113c73=_0x7fda40[_0x23c2e4(0x1ae)];_0x113c73<=_0x7fda40[_0x23c2e4(0x232)];_0x113c73++)for(let _0x397166=_0x7fda40['startColumn'];_0x397166<=_0x7fda40[_0x23c2e4(0xb9)];_0x397166++)_0x5e6f08[_0x23c2e4(0x278)](_0x113c73,_0x397166);}),_0x493647&&_0x157e19&&_0x157e19[_0x30ef7a(0x103)](_0x11c0e9=>{const _0x59c6c4=_0x30ef7a;for(let _0x2336da=_0x11c0e9['startRow'];_0x2336da<=_0x11c0e9[_0x59c6c4(0x232)];_0x2336da++)for(let _0x30d973=_0x11c0e9[_0x59c6c4(0x203)];_0x30d973<=_0x11c0e9['endColumn'];_0x30d973++)_0x5e6f08['setValue'](_0x2336da,_0x30d973,_0x493647[_0x59c6c4(0x1cf)](_0x2336da,_0x30d973));});}const _0x35f808={};return _0x35f808[_0x456707]={[_0x4eb1ae]:_0x5bfa77(_0x3df423)},{'runtimeCellData':{[_0x456707]:{[_0x4eb1ae]:_0x5e6f08}},'dirtyRanges':_0x35f808};}[_0x2555fc(0x2a7)](){}};_0x122ffa=_0x1e35bf([_0x161f27(0x0,_0x3b4df9['Inject'](_0x1cbd63[_0x2555fc(0x15d)])),_0x161f27(0x1,_0x3b4df9[_0x2555fc(0x1c1)]),_0x161f27(0x2,_0x3b4df9[_0x2555fc(0xeb)](_0x579eee['IFeatureCalculationManagerService'])),_0x161f27(0x3,_0x3b4df9[_0x2555fc(0xeb)](_0x3b4df9['ICommandService'])),_0x161f27(0x4,_0x3b4df9['Inject'](_0x3b4df9[_0x2555fc(0x1aa)]))],_0x122ffa);var _0x33853d=Object[_0x2555fc(0x1d7)],_0x55fcb9=Object[_0x2555fc(0x114)],_0x336c86=(_0x52297b,_0x382cfb,_0x13b621,_0x38881b)=>{const _0x8ef16e=_0x2555fc;for(var _0x5ce2cd=_0x38881b>0x1?void 0x0:_0x38881b?_0x55fcb9(_0x382cfb,_0x13b621):_0x382cfb,_0x19f680=_0x52297b[_0x8ef16e(0x1de)]-0x1,_0xb032be;_0x19f680>=0x0;_0x19f680--)(_0xb032be=_0x52297b[_0x19f680])&&(_0x5ce2cd=(_0x38881b?_0xb032be(_0x382cfb,_0x13b621,_0x5ce2cd):_0xb032be(_0x5ce2cd))||_0x5ce2cd);return _0x38881b&&_0x5ce2cd&&_0x33853d(_0x382cfb,_0x13b621,_0x5ce2cd),_0x5ce2cd;},_0x468af1=(_0x283314,_0x5ab574)=>(_0x54e8a4,_0x371f0b)=>_0x5ab574(_0x54e8a4,_0x371f0b,_0x283314);let _0x3abebb=class extends _0x3b4df9[_0x2555fc(0x198)]{constructor(_0x532e6c,_0x225f92,_0x49507a,_0x428dee,_0x54826e,_0x4ca524){const _0x14d0ff=_0x2555fc;super(),this[_0x14d0ff(0xe0)]=_0x532e6c,this[_0x14d0ff(0x1ec)]=_0x225f92,this[_0x14d0ff(0xc2)]=_0x49507a,this['_sheetsPivotTableConfigModel']=_0x428dee,this[_0x14d0ff(0x128)]=_0x54826e,this[_0x14d0ff(0x1a1)]=_0x4ca524,this[_0x14d0ff(0x2db)](),this[_0x14d0ff(0x199)]();}[_0x2555fc(0x2db)](){const _0x4d74bc=_0x2555fc;this[_0x4d74bc(0x2ca)](this['_commandService'][_0x4d74bc(0xe2)](_0x50ef76=>{const _0x569936=_0x4d74bc;if(_0x50ef76['id']!==_0x3cf285['id'])return;const _0x6cc0c=_0x50ef76['params'];this[_0x569936(0x1ec)]['handleAsyncResponse'](_0x6cc0c);})),this[_0x4d74bc(0x2ca)](this['_commandService']['onCommandExecuted'](_0x269325=>{const _0x28e70b=_0x4d74bc;if(_0x269325['id']===_0x30b343['id']){const _0x4a4150=_0x269325[_0x28e70b(0x136)];if(_0x4a4150){const {unitId:_0x3679e3,subUnitId:_0x20a253,oldSubUnitId:_0x33d3b7,pivotTableId:_0x429fc7,pivotTableConfig:_0x1c9ad8,collectionConfig:_0x1d29eb}=_0x4a4150;this[_0x28e70b(0x27a)]['updateConfigCache'](_0x3679e3,_0x33d3b7,_0x4a4150[_0x28e70b(0x1b5)],null),this[_0x28e70b(0x27a)]['updateConfigCache'](_0x3679e3,_0x20a253,_0x429fc7,_0x1c9ad8),this['_sheetsPivotTableConfigModel'][_0x28e70b(0x282)](_0x3679e3,_0x1d29eb);}}})),this['disposeWithMe'](this['_commandService'][_0x4d74bc(0xe2)](_0x585552=>{const _0x3cb7da=_0x4d74bc;if(_0x585552['id']!==_0x51b99a['id'])return;const _0x57cbe6=_0x3e512a[_0x3cb7da(0x221)](this['_univerInstanceService']);if(!_0x57cbe6)return;const {unitId:_0x1e4671,subUnitId:_0x363582}=_0x57cbe6,_0x1e535c=_0x585552[_0x3cb7da(0x136)];if(_0x1e535c[_0x3cb7da(0x1f4)]&&Object[_0x3cb7da(0x2c9)](_0x1e535c['collectionConfig'])[_0x3cb7da(0x103)](_0x572cf5=>{const _0x211a5a=_0x3cb7da;var _0x54955c;(_0x54955c=_0x1e535c[_0x211a5a(0x1f4)])!=null&&_0x54955c[_0x572cf5]&&this[_0x211a5a(0x27a)][_0x211a5a(0x282)](_0x572cf5,_0x1e535c[_0x211a5a(0x1f4)][_0x572cf5]);}),_0x1e535c[_0x3cb7da(0x218)]){const _0x537686=_0x1e535c[_0x3cb7da(0x218)],{unitId:_0xcfe9fe,subUnitId:_0xa105d5,view:_0xdfc00a,pivotTableId:_0x416daf,type:_0x2d473a,pivotConfig:_0x1ee3fe}=_0x537686;if(_0x2d473a===_0x1e5bef[_0x3cb7da(0x14d)])this['_sheetsPivotTableAdaptorModel'][_0x3cb7da(0x169)]({'unitId':_0xcfe9fe,'subUnitId':_0xa105d5,'pivotTableId':_0x416daf,'type':_0x2d473a}),this[_0x3cb7da(0x27a)]['updateConfigCache'](_0xcfe9fe,_0xa105d5,_0x416daf,null);else{const _0x4eace2=new _0x1af8aa[(_0x3cb7da(0xad))]();_0x4eace2[_0x3cb7da(0x24a)](_0xdfc00a),this['_sheetsPivotTableConfigModel'][_0x3cb7da(0x173)](_0xcfe9fe,_0xa105d5,_0x416daf,_0x1ee3fe),this[_0x3cb7da(0xc2)][_0x3cb7da(0x169)]({'unitId':_0xcfe9fe,'subUnitId':_0xa105d5,'pivotTableId':_0x416daf,'type':_0x2d473a,'view':_0x4eace2}),this[_0x3cb7da(0xc2)][_0x3cb7da(0x298)]({'unitId':_0xcfe9fe,'subUnitId':_0xa105d5,'view':_0x4eace2,'pivotTableId':_0x416daf,'type':_0x2d473a});}}else _0x1e535c[_0x3cb7da(0x116)]&&(_0x1e535c['batch'][_0x3cb7da(0x103)](_0x392157=>{const _0x38492f=_0x3cb7da,{unitId:_0x19a05d,subUnitId:_0xf7d9aa,view:_0x12ed14,pivotTableId:_0xd88634,type:_0x45b4c2,pivotConfig:_0xa968a1}=_0x392157,_0x58f25f=new _0x1af8aa[(_0x38492f(0xad))]();_0x58f25f['formJSON'](_0x12ed14),this[_0x38492f(0x27a)][_0x38492f(0x173)](_0x19a05d,_0xf7d9aa,_0xd88634,_0xa968a1),this['_sheetsPivotTableAdaptorModel'][_0x38492f(0x298)]({'unitId':_0x19a05d,'subUnitId':_0xf7d9aa,'view':_0x58f25f,'pivotTableId':_0xd88634,'type':_0x45b4c2});}),this['_sheetsPivotTableConfigModel'][_0x3cb7da(0x121)]());this['_sheetsPivotTableAdaptorModel'][_0x3cb7da(0x15f)](_0x1e4671,_0x363582);}));}['registerDirtyService'](){this['_activeDirtyManagerService']['register'](_0x92106e['id'],{'commandId':_0x92106e['id'],'getDirtyData'(_0x548539){const _0x3db9e8=_0x326d;return{'dirtyUnitFeatureMap':_0x548539[_0x3db9e8(0x136)]};}});}};_0x3abebb=_0x336c86([_0x468af1(0x0,_0x3b4df9[_0x2555fc(0xeb)](_0x3b4df9[_0x2555fc(0x26f)])),_0x468af1(0x1,_0x3b4df9[_0x2555fc(0xeb)](_0x1cbd63[_0x2555fc(0x113)])),_0x468af1(0x2,_0x3b4df9[_0x2555fc(0xeb)](_0x1cbd63[_0x2555fc(0x1ca)])),_0x468af1(0x3,_0x3b4df9[_0x2555fc(0xeb)](_0x1cbd63['SheetsPivotTableConfigModel'])),_0x468af1(0x4,_0x3b4df9[_0x2555fc(0xeb)](_0x3b4df9['IUniverInstanceService'])),_0x468af1(0x5,_0x579eee[_0x2555fc(0x151)])],_0x3abebb);var _0x166c95=Object[_0x2555fc(0x1d7)],_0x2c30de=Object['getOwnPropertyDescriptor'],_0x144e2f=(_0x2ecab7,_0x4434a9,_0x42e39a,_0x4bd027)=>{const _0x25fe48=_0x2555fc;for(var _0x5343da=_0x4bd027>0x1?void 0x0:_0x4bd027?_0x2c30de(_0x4434a9,_0x42e39a):_0x4434a9,_0x8fb57f=_0x2ecab7[_0x25fe48(0x1de)]-0x1,_0x4002fa;_0x8fb57f>=0x0;_0x8fb57f--)(_0x4002fa=_0x2ecab7[_0x8fb57f])&&(_0x5343da=(_0x4bd027?_0x4002fa(_0x4434a9,_0x42e39a,_0x5343da):_0x4002fa(_0x5343da))||_0x5343da);return _0x4bd027&&_0x5343da&&_0x166c95(_0x4434a9,_0x42e39a,_0x5343da),_0x5343da;},_0x37a076=(_0x21382f,_0x5a10c2)=>(_0x108bdc,_0x34be86)=>_0x5a10c2(_0x108bdc,_0x34be86,_0x21382f);let _0x2967f9=class extends _0x3b4df9[_0x2555fc(0x198)]{constructor(_0x488090,_0x1f2c66){const _0x194771=_0x2555fc;super(),this[_0x194771(0x1e2)]=_0x488090,this['_sheetsPivotTableAdaptorModel']=_0x1f2c66,this[_0x194771(0x11e)]();}[_0x2555fc(0x11e)](){const _0x2479e5=_0x2555fc;this[_0x2479e5(0x13f)]();}[_0x2555fc(0x13f)](){const _0x58232e=_0x2555fc;this[_0x58232e(0x2ca)](this[_0x58232e(0x1e2)][_0x58232e(0x158)](_0x3e512a[_0x58232e(0x1e4)][_0x58232e(0x15c)],{'priority':0xc8,'effect':_0x3b4df9['InterceptorEffectEnum'][_0x58232e(0x299)]|_0x3b4df9['InterceptorEffectEnum'][_0x58232e(0x160)],'handler':(_0x375c75,_0xce13eb,_0x5d04a0)=>{const _0x5e3f94=_0x58232e,{row:_0x5b7f87,col:_0x3f9b41,unitId:_0x2d4698,subUnitId:_0x357aef,workbook:_0x55e0b7}=_0xce13eb,_0x46bef0=this[_0x5e3f94(0xc2)][_0x5e3f94(0x27b)](_0x2d4698,_0x357aef,_0x5b7f87,_0x3f9b41);if(!_0x46bef0)return _0x5d04a0(_0x375c75);const _0x39a22f={..._0x375c75};(_0x46bef0['v']||_0x46bef0['v']===0x0)&&(_0x39a22f['v']=_0x46bef0['v']),_0x46bef0['t']&&(_0x39a22f['t']=_0x46bef0['t']);const _0x1ea96f=(typeof(_0x375c75==null?void 0x0:_0x375c75['s'])==_0x5e3f94(0xc5)?_0x55e0b7[_0x5e3f94(0x16e)]()[_0x5e3f94(0x2b4)](_0x375c75==null?void 0x0:_0x375c75['s']):_0x375c75==null?void 0x0:_0x375c75['s'])||{},_0x3952cd=_0x55e0b7[_0x5e3f94(0x16e)]()['get'](_0x46bef0['s']),_0x4c7a41={..._0x3952cd,..._0x1ea96f};_0x3952cd!=null&&_0x3952cd['n']&&(_0x4c7a41['n']=_0x3952cd['n']);const _0x4d7ce9=_0x55e0b7['getStyles']()[_0x5e3f94(0x21e)](_0x4c7a41);return _0x39a22f['s']=_0x4d7ce9,(_0x46bef0[_0x5e3f94(0x193)]===_0x1af8aa['PivotCellStyleTypeEnum'][_0x5e3f94(0xe3)]||_0x46bef0[_0x5e3f94(0x193)]===_0x1af8aa[_0x5e3f94(0x20a)][_0x5e3f94(0x1d0)])&&(_0x39a22f['fontRenderExtension']={},_0x39a22f[_0x5e3f94(0xf6)][_0x5e3f94(0x23c)]=_0x34da78),_0x5d04a0(_0x39a22f);}}));}};_0x2967f9=_0x144e2f([_0x37a076(0x0,_0x3b4df9[_0x2555fc(0xeb)](_0x3e512a[_0x2555fc(0xcb)])),_0x37a076(0x1,_0x3b4df9[_0x2555fc(0xeb)](_0x1cbd63[_0x2555fc(0x1ca)]))],_0x2967f9);var _0xaaa234=Object[_0x2555fc(0x1d7)],_0x279801=Object[_0x2555fc(0x114)],_0x542049=(_0x81a5fd,_0x11f054,_0x250474,_0x1b4d93)=>{const _0x36c014=_0x2555fc;for(var _0x595701=_0x1b4d93>0x1?void 0x0:_0x1b4d93?_0x279801(_0x11f054,_0x250474):_0x11f054,_0x4d446d=_0x81a5fd[_0x36c014(0x1de)]-0x1,_0x5c48e0;_0x4d446d>=0x0;_0x4d446d--)(_0x5c48e0=_0x81a5fd[_0x4d446d])&&(_0x595701=(_0x1b4d93?_0x5c48e0(_0x11f054,_0x250474,_0x595701):_0x5c48e0(_0x595701))||_0x595701);return _0x1b4d93&&_0x595701&&_0xaaa234(_0x11f054,_0x250474,_0x595701),_0x595701;},_0x2e2504=(_0x1135bd,_0x4fc252)=>(_0x19898a,_0x4d87ab)=>_0x4fc252(_0x19898a,_0x4d87ab,_0x1135bd);_0x1cbd63['UniverSheetsPivotTablePlugin']=(_0x4d9f26=class extends _0x3b4df9['Plugin']{constructor(_0x1f5ee5=_0x2db4b1,_0xe6427f,_0x30a462,_0x518fd1,_0x334027){const _0x153f6d=_0x2555fc;super(),this[_0x153f6d(0x209)]=_0x1f5ee5,this[_0x153f6d(0x1a3)]=_0xe6427f,this[_0x153f6d(0xe0)]=_0x30a462,this[_0x153f6d(0x2c7)]=_0x518fd1,this['_dataSyncPrimaryController']=_0x334027;const {..._0x406011}=this['_config'];this[_0x153f6d(0x2c7)]['setConfig'](_0x62d2b,_0x406011),this[_0x153f6d(0xfa)](),this[_0x153f6d(0x164)](),this[_0x153f6d(0xe1)]();}[_0x2555fc(0x164)](){const _0x4fdc7c=_0x2555fc;var _0x2bd77f;const _0x22a27e=(_0x2bd77f=this[_0x4fdc7c(0x209)])==null?void 0x0:_0x2bd77f[_0x4fdc7c(0x25e)];this[_0x4fdc7c(0x2c7)][_0x4fdc7c(0xbc)](_0x162b6c,_0x22a27e===!0x0);}[_0x2555fc(0x2f0)](){const _0x44f209=_0x2555fc;var _0x2b2907;let _0x59e305=[];const _0x559e2c=(_0x2b2907=this[_0x44f209(0x209)])==null?void 0x0:_0x2b2907[_0x44f209(0x25e)];_0x559e2c===!0x0?_0x59e305=[[_0x2967f9],[_0x1cbd63[_0x44f209(0x113)]],[_0x3abebb],[_0x1cbd63[_0x44f209(0x1ca)]],[_0x1cbd63[_0x44f209(0x1c0)]]]:_0x559e2c===!0x1?_0x59e305=[[_0x1cbd63[_0x44f209(0x15d)]],[_0x122ffa]]:_0x559e2c===void 0x0&&(_0x59e305=[[_0x1cbd63[_0x44f209(0x15d)]],[_0x122ffa],[_0x2967f9],[_0x1cbd63[_0x44f209(0x113)]],[_0x3abebb],[_0x1cbd63[_0x44f209(0x1ca)]],[_0x1cbd63['SheetsPivotTableConfigModel']]]),_0x59e305[_0x44f209(0x103)](_0x172682=>this[_0x44f209(0x1a3)][_0x44f209(0x1a7)](_0x172682)),this[_0x44f209(0x1a3)][_0x44f209(0xb1)](_0x122ffa)&&this[_0x44f209(0x1a3)]['get'](_0x122ffa),this[_0x44f209(0x1a3)][_0x44f209(0xb1)](_0x3abebb)&&this[_0x44f209(0x1a3)][_0x44f209(0x2b4)](_0x3abebb),this[_0x44f209(0x1a3)][_0x44f209(0xb1)](_0x2967f9)&&this['_injector']['get'](_0x2967f9);}[_0x2555fc(0xfa)](){[_0x27d04c,_0x5e49ca,_0x50c56b,_0x3b40b3,_0x4f5ca5,_0x294550,_0x4cd853,_0x4ac318,_0x3a31ef,_0x68fc6e,_0x5823ca,_0x13e753,_0x3cf285,_0x51b99a,_0x32faee,_0x5f22ec,_0x5012bb,_0x5d1d3f,_0x24120f,_0xeda9e,_0x43b4b6,_0x92106e,_0x30b343]['forEach'](_0x298d30=>{const _0x10a785=_0x326d;var _0x470ef9;(_0x470ef9=this[_0x10a785(0x16c)])==null||_0x470ef9[_0x10a785(0x273)](_0x298d30),this[_0x10a785(0xe0)][_0x10a785(0x216)](_0x298d30);});}[_0x2555fc(0xe1)](){const _0x42981d=_0x2555fc;var _0x3948b1;const _0x1383d9=(_0x3948b1=this[_0x42981d(0x2c7)][_0x42981d(0x2a1)](_0xdc1282['LS_CONFIG_KEY']))!=null?_0x3948b1:{},{ls:_0x181d60,pbk:_0x4c332b,tvld:_0x59f81e}=_0x1383d9,_0x48659c=_0x1b0bf8(0x0,_0x181d60,_0x4c332b)[_0x42981d(0x2b5)];_0x59f81e!==!0x1&&this[_0x42981d(0x2c7)][_0x42981d(0xbc)](_0xdc1282[_0x42981d(0xde)],{'ls':_0x181d60,'pbk':_0x4c332b,'tvld':_0x48659c});}},_0x483932(_0x4d9f26,_0x2555fc(0x187),_0x5eea2f),_0x483932(_0x4d9f26,_0x2555fc(0x228),_0x3b4df9[_0x2555fc(0x287)][_0x2555fc(0x2a2)]),_0x4d9f26),_0x1cbd63[_0x2555fc(0x241)]=_0x542049([_0x2e2504(0x1,_0x3b4df9[_0x2555fc(0xeb)](_0x3b4df9[_0x2555fc(0x1aa)])),_0x2e2504(0x2,_0x3b4df9[_0x2555fc(0xeb)](_0x3b4df9[_0x2555fc(0x26f)])),_0x2e2504(0x3,_0x3b4df9['IConfigService']),_0x2e2504(0x4,_0x3b4df9['Optional'](_0x144a3f[_0x2555fc(0xb5)]))],_0x1cbd63[_0x2555fc(0x241)]),_0x1cbd63['AddPivotFieldMutation']=_0x3b40b3,_0x1cbd63[_0x2555fc(0x1d8)]=_0x5e49ca,_0x1cbd63['BLANK_ROW_COUNT']=_0x4cfab6,_0x1cbd63[_0x2555fc(0x1ee)]=_0x1cbe4f,_0x1cbd63[_0x2555fc(0x10c)]=_0x18dbbe,_0x1cbd63[_0x2555fc(0xc6)]=_0x1e5bef,_0x1cbd63[_0x2555fc(0x19f)]=_0x92106e,_0x1cbd63['PositionType']=_0xd2a3e7,_0x1cbd63[_0x2555fc(0x182)]=_0x294550,_0x1cbd63['RemovePivotTableMutation']=_0x50c56b,_0x1cbd63[_0x2555fc(0x20e)]=_0x4cd853,_0x1cbd63[_0x2555fc(0x1e8)]=_0x5eea2f,_0x1cbd63[_0x2555fc(0xb2)]=_0x4ac318,_0x1cbd63['SetPivotFieldFormatMutation']=_0x5d1d3f,_0x1cbd63['SetPivotFilterMutation']=_0x4f5ca5,_0x1cbd63[_0x2555fc(0x2cc)]=_0x68fc6e,_0x1cbd63['SetPivotPositionMutation']=_0x5823ca,_0x1cbd63[_0x2555fc(0x178)]=_0x3a31ef,_0x1cbd63['SetPivotSubtotalTypeMutation']=_0x5012bb,_0x1cbd63['UpdateFieldPositionMutation']=_0x32faee,_0x1cbd63['UpdatePivotFieldSourceInfoMutation']=_0x43b4b6,_0x1cbd63[_0x2555fc(0x18b)]=_0xeda9e,_0x1cbd63[_0x2555fc(0x2e1)]=_0x5f22ec,_0x1cbd63[_0x2555fc(0x202)]=_0x583fc1,_0x1cbd63[_0x2555fc(0x200)]=_0x2b2708,_0x1cbd63[_0x2555fc(0x137)]=_0x5d7e84,_0x1cbd63[_0x2555fc(0x21a)]=_0x285d63,_0x1cbd63[_0x2555fc(0x2ed)]=_0x4c4aa7,_0x1cbd63[_0x2555fc(0x130)]=_0x1adbe2,_0x1cbd63[_0x2555fc(0x2eb)]=_0x1b0bf8,_0x1cbd63['getPivotTableInfo']=_0x463340,_0x1cbd63[_0x2555fc(0x186)]=_0x59e21e,_0x1cbd63[_0x2555fc(0x2e4)]=_0x161a85,Object['defineProperty'](_0x1cbd63,Symbol['toStringTag'],{'value':'Module'});}));
1
+ function _0x1a8e(_0x36081c,_0x1f3173){const _0x2a24ae=_0x2a24();return _0x1a8e=function(_0x1a8ea8,_0x58bfec){_0x1a8ea8=_0x1a8ea8-0x177;let _0x59a749=_0x2a24ae[_0x1a8ea8];return _0x59a749;},_0x1a8e(_0x36081c,_0x1f3173);}(function(_0x11fd78,_0x4f8dc0){const _0x1a5722=_0x1a8e,_0x1ac670=_0x11fd78();while(!![]){try{const _0x18e544=parseInt(_0x1a5722(0x36d))/0x1+-parseInt(_0x1a5722(0x388))/0x2*(-parseInt(_0x1a5722(0x2a1))/0x3)+parseInt(_0x1a5722(0x24b))/0x4*(-parseInt(_0x1a5722(0x29b))/0x5)+-parseInt(_0x1a5722(0x2db))/0x6*(parseInt(_0x1a5722(0x250))/0x7)+-parseInt(_0x1a5722(0x1b7))/0x8+-parseInt(_0x1a5722(0x33b))/0x9*(-parseInt(_0x1a5722(0x1c5))/0xa)+parseInt(_0x1a5722(0x2fe))/0xb;if(_0x18e544===_0x4f8dc0)break;else _0x1ac670['push'](_0x1ac670['shift']());}catch(_0x6fa6c5){_0x1ac670['push'](_0x1ac670['shift']());}}}(_0x2a24,0x7aade),function(_0x2a03cb,_0x521190){const _0x324ddb=_0x1a8e;typeof exports==_0x324ddb(0x3dc)&&typeof module<'u'?_0x521190(exports,require('@univerjs-pro/engine-pivot'),require(_0x324ddb(0x381)),require('@univerjs-pro/license'),require('rxjs'),require('@univerjs/engine-formula'),require(_0x324ddb(0x190)),require('@univerjs/rpc')):typeof define==_0x324ddb(0x2a2)&&define['amd']?define([_0x324ddb(0x2ff),_0x324ddb(0x343),_0x324ddb(0x381),'@univerjs-pro/license',_0x324ddb(0x198),_0x324ddb(0x31d),'@univerjs/sheets',_0x324ddb(0x1ec)],_0x521190):(_0x2a03cb=typeof globalThis<'u'?globalThis:_0x2a03cb||self,_0x521190(_0x2a03cb[_0x324ddb(0x1e4)]={},_0x2a03cb[_0x324ddb(0x286)],_0x2a03cb['UniverCore'],_0x2a03cb[_0x324ddb(0x20a)],_0x2a03cb[_0x324ddb(0x198)],_0x2a03cb[_0x324ddb(0x32d)],_0x2a03cb[_0x324ddb(0x354)],_0x2a03cb[_0x324ddb(0x3bb)]));}(this,function(_0x1bf211,_0x1263b0,_0x2a947c,_0x383fee,_0x293b36,_0x3ff6a1,_0x179baf,_0x10b9d3){'use strict';const _0x2eb37b=_0x1a8e;var _0x338d5d=Object[_0x2eb37b(0x398)],_0x517895=(_0x295bb0,_0x1b4718,_0x1d5c46)=>_0x1b4718 in _0x295bb0?_0x338d5d(_0x295bb0,_0x1b4718,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d5c46}):_0x295bb0[_0x1b4718]=_0x1d5c46,_0x1a5fc9=(_0x214c92,_0x78252b,_0x360161)=>_0x517895(_0x214c92,typeof _0x78252b!=_0x2eb37b(0x1ba)?_0x78252b+'':_0x78252b,_0x360161),_0x186de7,_0x5ad44d=(_0xe48903=>(_0xe48903[_0x2eb37b(0x19d)]=_0x2eb37b(0x19d),_0xe48903[_0x2eb37b(0x2d5)]=_0x2eb37b(0x2d5),_0xe48903[_0x2eb37b(0x31e)]=_0x2eb37b(0x31e),_0xe48903))(_0x5ad44d||{}),_0x3eb1d6=(_0x343b48=>(_0x343b48[_0x2eb37b(0x334)]=_0x2eb37b(0x19d),_0x343b48[_0x2eb37b(0x1fd)]=_0x2eb37b(0x39a),_0x343b48[_0x2eb37b(0x1de)]=_0x2eb37b(0x2d5),_0x343b48))(_0x3eb1d6||{});const _0x41e5a6={'type':_0x2a947c[_0x2eb37b(0x2bf)]['MUTATION'],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},_0x36b942={'type':_0x2a947c[_0x2eb37b(0x2bf)][_0x2eb37b(0x374)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x378121={'type':_0x2a947c[_0x2eb37b(0x2bf)]['MUTATION'],'id':_0x2eb37b(0x1e5),'handler':()=>!0x0},_0x304ae6={'type':_0x2a947c[_0x2eb37b(0x2bf)]['MUTATION'],'id':_0x2eb37b(0x360),'handler':()=>!0x0},_0xb566b4={'type':_0x2a947c[_0x2eb37b(0x2bf)][_0x2eb37b(0x374)],'id':_0x2eb37b(0x38e),'handler':()=>!0x0},_0x2abe44=Number[_0x2eb37b(0x180)](0x67210964),_0x2d536d=0x10,_0x4d595f=0x1,_0x21cd30=_0x2eb37b(0x1b5),_0x4b0e90=0x1,_0x7998fa=_0x2eb37b(0x266),_0x296b67=_0x2eb37b(0x1fa),_0x75f707=_0x2eb37b(0x20c),_0x1b283b=_0x2eb37b(0x339),_0x3b78a7=_0x2eb37b(0x339),_0x1c32e7='#eceeff',_0x746ae5=_0x2eb37b(0x2fd),_0x28c393=_0x2eb37b(0x2e4),_0x572695=_0x2eb37b(0x1d0),_0x3ac964=_0x2eb37b(0x2fd),_0x73d332='#FFFFFF',_0x12e005=_0x2eb37b(0x18b);var _0x585f80=(_0x25ce95=>(_0x25ce95['Exiting']=_0x2eb37b(0x33f),_0x25ce95[_0x2eb37b(0x31c)]=_0x2eb37b(0x3ce),_0x25ce95))(_0x585f80||{});const _0x4b9693={'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':''}}},_0x14b47f=0x1e,_0x17dff4={'b':{'s':0x1,'cl':{'rgb':_0x75f707}},'l':{'s':0x1,'cl':{'rgb':_0x75f707}},'r':{'s':0x1,'cl':{'rgb':_0x75f707}},'t':{'s':0x1,'cl':{'rgb':_0x75f707}}},_0x57033a={'bg':{'rgb':_0x7998fa},'ht':0x2,'vt':0x2,'tb':0x1},_0x254f1d={'bg':{'rgb':_0x296b67},'ht':0x2,'vt':0x2,'tb':0x1},_0x5e0b2b={'rowStyle':{'bg':{'rgb':_0x12e005},'bd':_0x17dff4,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x3ac964},'bd':null,'cl':{'rgb':_0x73d332},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x17dff4,'bg':{'rgb':_0x572695},'vt':0x2},'cornerStyle':{'bd':_0x17dff4,'bg':{'rgb':_0x1c32e7},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x17dff4,'bg':{'rgb':_0x1b283b},'vt':0x2},'leafStyle':{'bd':_0x17dff4,'bg':{'rgb':_0x3b78a7},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x746ae5},'cl':{'rgb':_0x28c393},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x17dff4,'vt':0x2}},_0x1b7c3a=(_0x166a33,_0x276d0f,_0x4cde88)=>{const _0x53174d=_0x2eb37b;let _0x5cbd30;const _0x13cea9=_0x166a33[_0x53174d(0x3d1)](_0x2a947c[_0x53174d(0x333)])['getCurrentUnitForType'](_0x2a947c[_0x53174d(0x36f)][_0x53174d(0x275)]);if(!_0x13cea9)return null;const _0x42e00b=_0x13cea9[_0x53174d(0x2bd)]();let _0x31a8fb;if(_0x4cde88&&(_0x31a8fb=_0x42e00b['setValue'](_0x4cde88)),_0x276d0f!=null&&_0x276d0f['v']||(_0x276d0f==null?void 0x0:_0x276d0f['v'])===0x0){_0x5cbd30||(_0x5cbd30={});const _0x2095bf=_0x4e8294(_0x276d0f['v']);typeof _0x2095bf==_0x53174d(0x1b6)?_0x5cbd30['t']=_0x2a947c[_0x53174d(0x3a7)][_0x53174d(0x20d)]:typeof _0x2095bf==_0x53174d(0x1f5)&&(_0x5cbd30['t']=_0x2a947c[_0x53174d(0x3a7)][_0x53174d(0x1df)]),_0x5cbd30['v']=_0x2095bf;}return(_0x276d0f!=null&&_0x276d0f['i']||(_0x276d0f==null?void 0x0:_0x276d0f['i'])===0x0)&&(_0x5cbd30||(_0x5cbd30={}),_0x5cbd30['fi']=_0x276d0f['i']),_0x276d0f!=null&&_0x276d0f['s']&&(_0x5cbd30||(_0x5cbd30={}),_0x5cbd30[_0x53174d(0x2d7)]=_0x276d0f['s']),_0x4cde88&&(_0x5cbd30||(_0x5cbd30={}),_0x5cbd30['s']=_0x31a8fb),_0x5cbd30;},_0x2da31e=(_0x595fd0,_0x25da38,_0x13e97c,_0x1b0fa3)=>{const _0x4fdbd8=_0x2eb37b;var _0x2b00f2,_0x2bbf50,_0xe9f3bb,_0x3bf315,_0x549301,_0x3d2298,_0xfc1600,_0x2e776f,_0x233a98,_0x1181b5,_0x3f2fe7,_0x462566,_0x544f15,_0x267dab;const _0x279e28=_0x13e97c[_0x4fdbd8(0x3bd)],{cornerView:_0x3e663d,rowView:_0x58dc2a,colView:_0xa85e5f,dataView:_0x4ab81d,pageView:_0x291903,formatMap:_0x2b4fd6}=_0x25da38,{row:_0x2daf3f,col:_0x422bae}=_0x279e28,_0x2f332a=new _0x2a947c[(_0x4fdbd8(0x366))](),_0x5316e7={},_0x5e3fce={},_0x50f997={},_0xfe0766={},_0x480705={};let _0x2cce9c=_0x2daf3f,_0x113e51=_0x422bae;Object[_0x4fdbd8(0x2df)](_0x291903[_0x4fdbd8(0x210)])['forEach'](_0x54a29e=>{const _0x5b60ec=_0x4fdbd8;Object[_0x5b60ec(0x2df)](_0x291903['data'][Number(_0x54a29e)])[_0x5b60ec(0x265)](_0x1617d2=>{const _0x36b6ca=_0x5b60ec,_0x3d0e7b={..._0x291903['data'][Number(_0x54a29e)][Number(_0x1617d2)]};_0x2f332a[_0x36b6ca(0x33e)](Number(_0x54a29e)+_0x2cce9c,Number(_0x1617d2)+_0x113e51,_0x1b7c3a(_0x595fd0,_0x3d0e7b,_0x5e0b2b[_0x36b6ca(0x35b)]));});});const _0x3a8eac=Object['keys'](_0x291903[_0x4fdbd8(0x210)])[_0x4fdbd8(0x20b)];_0x2cce9c+=_0x3a8eac+(_0x3a8eac?_0x4b0e90:0x0);const _0x4467ca=_0x3e663d[_0x4fdbd8(0x245)](),_0x3ff4af=_0x3e663d[_0x4fdbd8(0x37c)]();for(let _0x56aa68=0x0;_0x56aa68<_0x4467ca;_0x56aa68++)for(let _0x318847=0x0;_0x318847<_0x3ff4af;_0x318847++){const _0x25f3e5={...(_0x2bbf50=(_0x2b00f2=_0x3e663d['data'])==null?void 0x0:_0x2b00f2[_0x56aa68])==null?void 0x0:_0x2bbf50[_0x318847]};_0x25f3e5&&((_0xe9f3bb=_0x58dc2a[_0x4fdbd8(0x37e)][_0x318847])!=null&&_0xe9f3bb[_0x4fdbd8(0x225)])&&(_0x25f3e5['v']=''+_0x1b0fa3[_0x4fdbd8(0x347)]),_0x2f332a[_0x4fdbd8(0x33e)](_0x56aa68+_0x2cce9c,_0x318847+_0x113e51,_0x1b7c3a(_0x595fd0,_0x25f3e5,_0x5e0b2b[_0x4fdbd8(0x2cd)]));}for(let _0x216a00=0x0;_0x216a00<_0x3e663d['info'][_0x4fdbd8(0x20b)];_0x216a00++)_0x3e663d[_0x4fdbd8(0x396)][_0x216a00]&&(_0x50f997[''+(_0x216a00+_0x113e51)]=_0x3e663d['info'][_0x216a00]);_0x113e51+=_0x3ff4af;const _0x3201ea=_0xa85e5f[_0x4fdbd8(0x37e)],_0x33bc42=_0xa85e5f[_0x4fdbd8(0x294)]()>=0x0?_0xa85e5f[_0x4fdbd8(0x294)]()+0x1:0x0,_0x3e6147=_0xa85e5f[_0x4fdbd8(0x3de)]()>=0x0?_0xa85e5f[_0x4fdbd8(0x3de)]()+0x1:0x0;for(let _0x43f110=0x0;_0x43f110<_0x3e6147;_0x43f110++){for(let _0x2fca0d=0x0;_0x2fca0d<_0x33bc42;_0x2fca0d++){const _0x3d8e44={...(_0x549301=(_0x3bf315=_0xa85e5f[_0x4fdbd8(0x210)])==null?void 0x0:_0x3bf315[_0x2fca0d])==null?void 0x0:_0x549301[_0x43f110]},_0x2ea47b=(_0x3d2298=_0x3201ea[_0x2fca0d])==null?void 0x0:_0x3d2298[_0x4fdbd8(0x351)],_0x37fc81=_0x2b4fd6[_0x2ea47b];_0x3d8e44&&(_0x3d8e44['v']=_0xea8ef(_0x3d8e44,_0x2fca0d===0x0&&((_0xfc1600=_0xa85e5f[_0x4fdbd8(0x2bc)](_0x43f110+0x1))==null?void 0x0:_0xfc1600['isValue']),_0x37fc81,_0x1b0fa3));let _0x266997;_0x37fc81?_0x266997={..._0x5e0b2b[_0x4fdbd8(0x277)],'n':{'pattern':_0x37fc81}}:_0x266997={..._0x5e0b2b[_0x4fdbd8(0x277)]},_0x2f332a[_0x4fdbd8(0x33e)](_0x2fca0d+_0x2cce9c,_0x43f110+_0x113e51,_0x1b7c3a(_0x595fd0,_0x3d8e44,_0x266997));}_0xa85e5f[_0x4fdbd8(0x396)][_0x43f110]&&(_0x5e3fce[''+(_0x43f110+_0x113e51)]=_0xa85e5f[_0x4fdbd8(0x396)][_0x43f110]),_0xa85e5f[_0x4fdbd8(0x37e)][_0x43f110+0x1]&&(_0x480705[''+(_0x43f110+_0x2cce9c+0x1)]=_0xa85e5f[_0x4fdbd8(0x37e)][_0x43f110+0x1]);}_0x2cce9c+=_0x4467ca;const _0x35d694=_0x58dc2a[_0x4fdbd8(0x37e)],_0x312df1=_0x58dc2a[_0x4fdbd8(0x294)]()>=0x0?_0x58dc2a['getLastRow']()+0x1:0x0,_0x2a19de=_0x58dc2a[_0x4fdbd8(0x3de)]()>=0x0?_0x58dc2a[_0x4fdbd8(0x3de)]()+0x1:0x0;for(let _0x4dcb92=0x0;_0x4dcb92<_0x312df1;_0x4dcb92++){for(let _0x434fed=0x0;_0x434fed<_0x2a19de;_0x434fed++){const _0x5c416c={...(_0x233a98=(_0x2e776f=_0x58dc2a[_0x4fdbd8(0x210)])==null?void 0x0:_0x2e776f[_0x4dcb92])==null?void 0x0:_0x233a98[_0x434fed]},_0x53885a=(_0x1181b5=_0x35d694[_0x434fed])==null?void 0x0:_0x1181b5[_0x4fdbd8(0x351)],_0x518744=_0x2b4fd6[_0x53885a];_0x5c416c&&(_0x5c416c['v']=_0xea8ef(_0x5c416c,!0x1,_0x518744,_0x1b0fa3));let _0x38b13d;_0x58dc2a[_0x4fdbd8(0x396)][_0x4dcb92][_0x4fdbd8(0x3c5)]===_0x58dc2a[_0x4fdbd8(0x37c)]()?_0x38b13d=_0x5e0b2b['leafStyle']:_0x58dc2a[_0x4fdbd8(0x396)][_0x4dcb92]['isBottomTotal']?_0x38b13d=_0x58dc2a[_0x4fdbd8(0x396)][_0x4dcb92][_0x4fdbd8(0x3c5)]===0x0?_0x5e0b2b[_0x4fdbd8(0x218)]:_0x5e0b2b[_0x4fdbd8(0x1ed)]:_0x38b13d=_0x5e0b2b[_0x4fdbd8(0x2f8)],_0x518744&&(_0x38b13d={..._0x38b13d,'n':{'pattern':_0x518744}}),_0x2f332a[_0x4fdbd8(0x33e)](_0x4dcb92+_0x2cce9c,_0x434fed+_0x422bae,_0x1b7c3a(_0x595fd0,_0x5c416c,_0x38b13d));}_0x58dc2a['info'][_0x4dcb92]&&(_0x5316e7[''+(_0x4dcb92+_0x2cce9c)]=_0x58dc2a['info'][_0x4dcb92]),_0x58dc2a[_0x4fdbd8(0x37e)][_0x4dcb92]&&(_0xfe0766[''+(_0x4dcb92+_0x422bae)]=_0x58dc2a['headerMap'][_0x4dcb92]);}const _0x4cca73=_0x4ab81d[_0x4fdbd8(0x245)](),_0x5f52fd=_0x4ab81d[_0x4fdbd8(0x37c)]();for(let _0x32619c=0x0;_0x32619c<_0x4cca73;_0x32619c++)for(let _0x5eee36=0x0;_0x5eee36<_0x5f52fd;_0x5eee36++){const _0x52f8b2={...(_0x462566=(_0x3f2fe7=_0x4ab81d['data'])==null?void 0x0:_0x3f2fe7[_0x32619c])==null?void 0x0:_0x462566[_0x5eee36]};let _0x4bb543;_0x58dc2a[_0x4fdbd8(0x396)][_0x32619c][_0x4fdbd8(0x1ce)]?_0x4bb543=_0x58dc2a[_0x4fdbd8(0x396)][_0x32619c][_0x4fdbd8(0x3c5)]===0x0?_0x5e0b2b[_0x4fdbd8(0x218)]:_0x5e0b2b[_0x4fdbd8(0x1ed)]:_0x4bb543=_0x5e0b2b[_0x4fdbd8(0x306)];const _0x5e911b=_0x58dc2a[_0x4fdbd8(0x396)][_0x32619c][_0x4fdbd8(0x2cf)],_0x3c0bae=_0xa85e5f[_0x4fdbd8(0x396)][_0x5eee36][_0x4fdbd8(0x2cf)],_0x3c2e0d=Math['max'](_0x5e911b,_0x3c0bae),_0x324264=_0x13e97c[_0x4fdbd8(0x1cc)][_0x4fdbd8(0x224)][_0x4fdbd8(0x2bb)]();let _0x41eb7a='';_0x3c2e0d<0x0?_0x41eb7a=(_0x544f15=_0x324264[0x0])!=null?_0x544f15:'':_0x41eb7a=(_0x267dab=_0x324264[_0x3c2e0d])!=null?_0x267dab:'';const _0x41d2c3=_0x2b4fd6[_0x41eb7a];_0x41d2c3&&(_0x4bb543={..._0x4bb543,'n':{'pattern':_0x41d2c3}}),_0x2f332a[_0x4fdbd8(0x33e)](_0x32619c+_0x2cce9c,_0x5eee36+_0x113e51,_0x1b7c3a(_0x595fd0,_0x52f8b2,_0x4bb543));}return{'valueMatrix':_0x2f332a,'rowInfo':_0x5316e7,'colInfo':_0x5e3fce,'cornerInfo':_0x50f997,'rowHeaderMap':_0xfe0766,'colHeaderMap':_0x480705};};function _0xea8ef(_0x16cb8a,_0x10a52b,_0x5aaa85,_0x4240e8){const _0x12511e=_0x2eb37b;let _0x324bfd=_0x16cb8a['v'];_0x10a52b&&(_0x324bfd=''+_0x4240e8[_0x12511e(0x347)]);const _0x5a68bf=_0x16cb8a['t']&&(_0x16cb8a['t']&_0x1263b0[_0x12511e(0x38f)][_0x12511e(0x26f)])>0x0;if(_0x5a68bf&&(_0x324bfd=''+_0x4240e8[_0x12511e(0x35e)]),_0x16cb8a['s']===_0x1263b0['PivotCellStyleTypeEnum']['Subtotal']){let _0xd5c828=_0x324bfd,_0x1cef25='';_0x1263b0['isPrefixValue'](_0x324bfd)&&(_0xd5c828=_0x324bfd['prefix'],_0x1cef25=_0x324bfd[_0x12511e(0x26a)]);const _0x39540b=_0x5aaa85&&!_0x5a68bf?_0x2a947c[_0x12511e(0x17b)][_0x12511e(0x248)](_0x5aaa85,Number(_0xd5c828)):_0xd5c828;_0x1cef25?_0x324bfd=_0x39540b+'\x20'+_0x1cef25:_0x324bfd=_0x39540b+'\x20'+_0x4240e8['sheets-pivot.subTotal'];}else _0x16cb8a['s']===_0x1263b0[_0x12511e(0x2f7)][_0x12511e(0x185)]&&(_0x324bfd=_0x324bfd+'\x20'+_0x4240e8[_0x12511e(0x2af)]);return _0x324bfd;}function _0x4e8294(_0x3f88e1){const _0x11978c=_0x2eb37b;if(_0x1263b0[_0x11978c(0x274)](_0x3f88e1)){const {errorType:_0x15a148}=_0x3f88e1;switch(_0x15a148){case _0x1263b0[_0x11978c(0x392)][_0x11978c(0x253)]:return _0x3ff6a1[_0x11978c(0x37b)]['DIV_BY_ZERO'];case _0x1263b0[_0x11978c(0x392)][_0x11978c(0x1c3)]:return _0x3ff6a1[_0x11978c(0x37b)][_0x11978c(0x2f1)];case _0x1263b0[_0x11978c(0x392)][_0x11978c(0x331)]:return _0x3ff6a1[_0x11978c(0x37b)][_0x11978c(0x3d2)];case _0x1263b0[_0x11978c(0x392)][_0x11978c(0x2b6)]:return _0x3ff6a1[_0x11978c(0x37b)][_0x11978c(0x3d2)];case _0x1263b0[_0x11978c(0x392)][_0x11978c(0x1b2)]:return _0x3ff6a1[_0x11978c(0x37b)][_0x11978c(0x32b)];}}return _0x3f88e1;}function _0x5c1e40(_0x490b40,_0x3a3647,_0x2c1421=!0x1,_0x2223af=!0x1){const _0x387e01=_0x2eb37b,{data:_0x2ecd98}=_0x3a3647,_0x48c9a6=_0x3a3647[_0x387e01(0x245)](),_0x2d47fe=_0x3a3647[_0x387e01(0x37c)]();if(_0x48c9a6<=0x0||_0x2d47fe<=0x0)return[];const _0x3a36be=_0x3a3647[_0x387e01(0x3de)](),_0xed601c=_0x3a3647[_0x387e01(0x294)](),_0x30bc66=_0x2223af?_0xed601c>=0x0?_0xed601c+0x1:0x0:_0x48c9a6,_0x38d89d=_0x2223af?_0x3a36be>=0x0?_0x3a36be+0x1:0x0:_0x2d47fe,{row:_0x18632c,col:_0x519cb0}=_0x490b40,_0x1cb4d8=_0x18632c,_0x379b65=_0x519cb0;if(_0x2c1421){const _0x32e03b=[];for(const [_0x117b9b,_0x9a8d0a]of Object['entries'](_0x2ecd98))for(const [_0x433fa6,_0x3f4298]of Object['entries'](_0x9a8d0a))_0x32e03b['push'](_0x2a947c[_0x387e01(0x2cc)](_0x1cb4d8+Number(_0x117b9b),_0x379b65+Number(_0x433fa6)));return _0x32e03b;}else{const _0x21026f=_0x2223af?_0x30bc66>0x0?0x1:0x0:0x1,_0x1f65dd=_0x2223af?_0x38d89d>0x0?0x1:0x0:0x1,_0x55718f=_0x18632c+_0x30bc66-_0x21026f,_0x482e8e=_0x519cb0+_0x38d89d-_0x1f65dd;return[{'startRow':_0x1cb4d8,'startColumn':_0x379b65,'endRow':_0x55718f,'endColumn':_0x482e8e}];}}const _0x5ed8cc=_0x2eb37b(0x2dd),_0x592d4e=_0x2eb37b(0x395);var _0x2c82cd=(_0x2f246c=>(_0x2f246c[_0x2eb37b(0x2eb)]=_0x2eb37b(0x227),_0x2f246c[_0x2eb37b(0x22e)]=_0x2eb37b(0x1bf),_0x2f246c[_0x2eb37b(0x39f)]=_0x2eb37b(0x3aa),_0x2f246c[_0x2eb37b(0x25a)]=_0x2eb37b(0x25a),_0x2f246c[_0x2eb37b(0x3a5)]=_0x2eb37b(0x1d7),_0x2f246c[_0x2eb37b(0x18f)]=_0x2eb37b(0x2be),_0x2f246c[_0x2eb37b(0x1f6)]=_0x2eb37b(0x251),_0x2f246c['SetPivotCollapse']=_0x2eb37b(0x399),_0x2f246c['SetPivotFilter']=_0x2eb37b(0x38a),_0x2f246c['SetPivotSort']=_0x2eb37b(0x321),_0x2f246c['SetPivotSetting']='setPivotSetting',_0x2f246c[_0x2eb37b(0x25c)]=_0x2eb37b(0x3b3),_0x2f246c[_0x2eb37b(0x34f)]=_0x2eb37b(0x336),_0x2f246c[_0x2eb37b(0x3b0)]=_0x2eb37b(0x2ce),_0x2f246c))(_0x2c82cd||{});const _0x5d24c2={'sheets-pivot.blankValue':_0x2eb37b(0x32f),'sheets-pivot.columnName':_0x2eb37b(0x34c),'sheets-pivot.subTotalText':_0x2eb37b(0x3c6),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0x2eb37b(0x1ee),'sheets-pivot.averageName':_0x2eb37b(0x178),'sheets-pivot.countName':'Count\x20of\x20','sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':_0x2eb37b(0x27a),'sheets-pivot.minName':_0x2eb37b(0x3d0),'sheets-pivot.productName':_0x2eb37b(0x361),'sheets-pivot.stdDevName':_0x2eb37b(0x390),'sheets-pivot.stdDevpName':_0x2eb37b(0x309),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x2eb37b(0x2ad),'sheets-pivot.varpName':_0x2eb37b(0x2e9),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x2eb37b(0x371),'sheets-pivot.value':_0x2eb37b(0x26a),'sheets-pivot.blank':'blank','sheets-pivot.emptyPivot.filter':_0x2eb37b(0x2eb),'sheets-pivot.emptyPivot.row':_0x2eb37b(0x38d),'sheets-pivot.emptyPivot.column':_0x2eb37b(0x17d),'sheets-pivot.emptyPivot.values':_0x2eb37b(0x2c4)},_0x1ee3d6={0x0:'K',0x1:'c',0x2:'B',0x3:'d',0x4:'S',0x5:'P',0x6:'w',0x7:'u',0x8:'A',0x9:'i','V':'0','j':'1','B':'2','U':'3','S':'4','K':'5','g':'6','E':'7','l':'8','N':'9','z':'a','Q':'b','P':'e','e':'f','W':'g','A':'h','Z':'j','L':'k','a':'l','o':'m','n':'n','p':'o','r':'p','h':'q','F':'r','d':'s','y':'t','i':'v','b':'x','R':'y','m':'z','Y':'C','k':'D','D':'E','T':'F','O':'G','w':'H','q':'I','x':'J','u':'L','H':'M','v':'N','t':'O','M':'Q','C':'R','s':'T','c':'U','X':'V','f':'W','I':'X','G':'Y','J':'Z'},_0x3547be='e7n1y9pn\x203P1FRry9pn(a91PndP,\x20r7Qa910PR)\x20{\x20\x20\x20\x201pndy\x20a91PndPqnep5zFy8FFzR\x20=\x20a91PndP.dra9y(\x27-\x27);\x20\x20\x20\x201pndy\x20pF9W9nHPddzWP\x20=\x20x4tv.rzFdP(zypQ(a91PndPqnep5zFy8FFzR[B]));\x20\x20\x20\x209e\x20(!pF9W9nHPddzWP.73)\x20{\x20\x20\x20\x20\x20\x20\x20\x20pF9W9nHPddzWP.73\x20=\x20v7oQPF(a91PndPqnep5zFy8FFzR[S]);\x20\x20\x20\x20}\x20\x20\x20\x201pndy\x209dfpFLPF\x20=\x20yRrPpe\x20fpFLPFOapQza41prP\x20!==\x20\x277n3Pe9nP3\x27\x20&&\x20dPae\x209ndyzn1Ppe\x20fpFLPFOapQza41prP;\x20\x20\x20\x201pndy\x201pnyPby\x20=\x209dfpFLPF\x20?\x20dPae\x20:\x2069n3p6;\x20\x20\x20\x201pndy\x20oPddzWPfpF3\x20=\x201pnyPby.__2zdPgS__.rzFdP(a91PndPqnep5zFy8FFzR[B]);\x20\x20\x20\x201pndy\x20oPddzWP\x20=\x201pnyPby.__wPb__.dyF9nW9eR(oPddzWPfpF3);\x20\x20\x20\x201pndy\x20d9Wnzy7FPfpF3\x20=\x201pnyPby.__2zdPgS__.rzFdP(a91PndPqnep5zFy8FFzR[U]);\x20\x20\x20\x201pndy\x20d9Wnzy7FP\x20=\x201pnyPby.__wPb__.dyF9nW9eR(d9Wnzy7FPfpF3);\x20\x20\x20\x201pndy\x20d9WnXza93\x20=\x201pnyPby.__iPF9eR__(d9Wnzy7FP,\x20oPddzWP,\x20r7Qa910PR);\x20\x20\x20\x201pndy\x203poz9n\x20=\x20pF9W9nHPddzWP.3o;\x20\x20\x20\x20e7n1y9pn\x209dkpoz9nHzy1A9nW(p5zyyPFn,\x20pwpdy)\x20{\x20\x20\x20\x20\x20\x20\x20\x201pndy\x20rzyyPFn\x20=\x20p5zyyPFn.FPraz1P(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x201pndy\x20Apdy\x20=\x20pwpdy.FPraz1P(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x201pndy\x20rzyyPFn5zFyd\x20=\x20rzyyPFn.dra9y(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x201pndy\x20Apdy5zFyd\x20=\x20Apdy.dra9y(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x209e\x20(!rzyyPFn.9n1a73Pd(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FPy7Fn\x20rzyyPFn\x20===\x20Apdy;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x209e\x20(rzyyPFn5zFyd.aPnWyA\x20<\x20B\x20||\x20rzyyPFn5zFyd[V]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FPy7Fn\x20ezadP;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x201pndy\x20rzyyPFn47ee9b\x20=\x20rzyyPFn5zFyd.da91P(j).Zp9n(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x201pndy\x20Apdy47ee9b\x20=\x20Apdy5zFyd.da91P(-rzyyPFn5zFyd.aPnWyA\x20+\x20j).Zp9n(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20FPy7Fn\x20rzyyPFn47ee9b\x20===\x20Apdy47ee9b;\x20\x20\x20\x20}\x20\x20\x20\x20aPy\x203poz9nXza93\x20=\x203poz9n?.aPnWyA\x20?\x203poz9n.dpoP((3oqyPo)\x20=>\x209dkpoz9nHzy1A9nW(3oqyPo,\x20ap1zy9pn.ApdynzoP))\x20:\x20yF7P;\x20\x20\x20\x209e\x20(ap1zy9pn.ApdynzoP\x20===\x20\x27ap1zaApdy\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x203poz9nXza93\x20=\x20yF7P;\x20\x20\x20\x20}\x20\x20\x20\x201pndy\x20iza93\x20=\x20d9WnXza93\x20&&\x203poz9nXza93;\x20\x20\x20\x20FPy7Fn\x20{\x20\x20\x20\x20\x20\x20\x20\x20iza93,\x20oPddzWP:\x20pF9W9nHPddzWP,\x20\x20\x20\x20};}',_0x2bbee2={0x0:{0x0:{'v':_0x2eb37b(0x227),'s':_0x57033a}},0x2:{0x1:{'v':'','s':_0x57033a},0x2:{'v':'','s':_0x57033a},0x3:{'v':_0x2eb37b(0x350),'s':_0x57033a},0x4:{'v':'','s':_0x57033a},0x5:{'v':'','s':_0x57033a}},0x3:{0x0:{'v':'','s':_0x57033a},0x1:{'v':'','s':_0x254f1d},0x2:{'v':'','s':_0x254f1d},0x3:{'v':'','s':_0x254f1d},0x4:{'v':'','s':_0x254f1d},0x5:{'v':'','s':_0x254f1d}},0x4:{0x0:{'v':'','s':_0x57033a},0x1:{'v':'','s':_0x254f1d},0x2:{'v':'','s':_0x254f1d},0x3:{'v':'','s':_0x254f1d},0x4:{'v':'','s':_0x254f1d},0x5:{'v':'','s':_0x254f1d}},0x5:{0x0:{'v':'','s':_0x57033a},0x1:{'v':'','s':_0x254f1d},0x2:{'v':'','s':_0x254f1d},0x3:{'v':'','s':_0x254f1d},0x4:{'v':'','s':_0x254f1d},0x5:{'v':'','s':_0x254f1d}},0x6:{0x0:{'v':'','s':_0x57033a},0x1:{'v':'','s':_0x254f1d},0x2:{'v':'','s':_0x254f1d},0x3:{'v':'','s':_0x254f1d},0x4:{'v':'','s':_0x254f1d},0x5:{'v':'','s':_0x254f1d}},0x7:{0x0:{'v':'','s':_0x57033a},0x1:{'v':'','s':_0x254f1d},0x2:{'v':'','s':_0x254f1d},0x3:{'v':'','s':_0x254f1d},0x4:{'v':'','s':_0x254f1d},0x5:{'v':'','s':_0x254f1d}},0x8:{0x0:{'v':_0x2eb37b(0x236),'s':_0x57033a},0x1:{'v':'','s':_0x254f1d},0x2:{'v':'','s':_0x254f1d},0x3:{'v':'values','s':_0x254f1d},0x4:{'v':'','s':_0x254f1d},0x5:{'v':'','s':_0x254f1d}},0x9:{0x0:{'v':'','s':_0x57033a},0x1:{'v':'','s':_0x254f1d},0x2:{'v':'','s':_0x254f1d},0x3:{'v':'','s':_0x254f1d},0x4:{'v':'','s':_0x254f1d},0x5:{'v':'','s':_0x254f1d}},0xa:{0x0:{'v':'','s':_0x57033a},0x1:{'v':'','s':_0x254f1d},0x2:{'v':'','s':_0x254f1d},0x3:{'v':'','s':_0x254f1d},0x4:{'v':'','s':_0x254f1d},0x5:{'v':'','s':_0x254f1d}},0xb:{0x0:{'v':'','s':_0x57033a},0x1:{'v':'','s':_0x254f1d},0x2:{'v':'','s':_0x254f1d},0x3:{'v':'','s':_0x254f1d},0x4:{'v':'','s':_0x254f1d},0x5:{'v':'','s':_0x254f1d}},0xc:{0x0:{'v':'','s':_0x57033a},0x1:{'v':'','s':_0x254f1d},0x2:{'v':'','s':_0x254f1d},0x3:{'v':'','s':_0x254f1d},0x4:{'v':'','s':_0x254f1d},0x5:{'v':'','s':_0x254f1d}},0xd:{0x0:{'v':'','s':_0x57033a},0x1:{'v':'','s':_0x254f1d},0x2:{'v':'','s':_0x254f1d},0x3:{'v':'','s':_0x254f1d},0x4:{'v':'','s':_0x254f1d},0x5:{'v':'','s':_0x254f1d}}},_0x328b42={'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':[]},_0x5ecace=(_0x5999f7,_0x1a0c39)=>{const _0x158a49=_0x2eb37b,_0xa35427=new _0x2a947c[(_0x158a49(0x366))](),_0x3b3b0a=new _0x2a947c[(_0x158a49(0x366))](_0x2bbee2),{row:_0x5ad9d2,col:_0x3d2645}=_0x1a0c39;_0x3b3b0a[_0x158a49(0x3c3)]((_0x3094ca,_0x4712d8,_0x20ec91)=>{const _0x57faa5=_0x158a49;let _0x2a0fae='';_0x20ec91['v']===_0x57faa5(0x227)?_0x2a0fae=_0x5999f7[_0x57faa5(0x227)]:_0x20ec91['v']===_0x57faa5(0x236)?_0x2a0fae=_0x5999f7['row']:_0x20ec91['v']===_0x57faa5(0x350)?_0x2a0fae=_0x5999f7[_0x57faa5(0x350)]:_0x20ec91['v']===_0x57faa5(0x32c)&&(_0x2a0fae=_0x5999f7[_0x57faa5(0x32c)]),_0xa35427[_0x57faa5(0x33e)](_0x3094ca+_0x5ad9d2,_0x4712d8+_0x3d2645,{..._0x20ec91,'v':_0x2a0fae});});const _0x219e3c=_0x2a947c[_0x158a49(0x329)][_0x158a49(0x3b2)](_0x328b42);return Object[_0x158a49(0x2df)](_0x328b42)[_0x158a49(0x265)](_0x264943=>{const _0x4020e7=_0x158a49;_0x219e3c[_0x264943]=_0x328b42[_0x264943]['map'](_0x4bb4fe=>({..._0x4bb4fe,'startRow':_0x4bb4fe['startRow']+_0x5ad9d2,'endRow':_0x4bb4fe[_0x4020e7(0x1fb)]+_0x5ad9d2,'startColumn':_0x4bb4fe[_0x4020e7(0x35c)]+_0x3d2645,'endColumn':_0x4bb4fe[_0x4020e7(0x312)]+_0x3d2645}));}),{'matrixCache':_0xa35427,'rangesCache':_0x219e3c};};function _0x4465b1(_0x264471,_0x1d32ed){const _0x36ff92=_0x2eb37b;let _0x3d1e82='';const _0x5c1a2b=this[_0x36ff92(0x341)]();switch(_0x1d32ed){case _0x1263b0[_0x36ff92(0x297)]['average']:_0x3d1e82=_0x5c1a2b[_0x36ff92(0x17e)]+_0x264471;break;case _0x1263b0['PivotSubtotalTypeEnum'][_0x36ff92(0x1ef)]:_0x3d1e82=_0x5c1a2b[_0x36ff92(0x27e)]+_0x264471;break;case _0x1263b0['PivotSubtotalTypeEnum'][_0x36ff92(0x186)]:_0x3d1e82=_0x5c1a2b[_0x36ff92(0x1f8)]+_0x264471;break;case _0x1263b0[_0x36ff92(0x297)][_0x36ff92(0x3c9)]:_0x3d1e82=_0x5c1a2b[_0x36ff92(0x2d0)]+_0x264471;break;case _0x1263b0[_0x36ff92(0x297)][_0x36ff92(0x3a0)]:_0x3d1e82=_0x5c1a2b[_0x36ff92(0x1a2)]+_0x264471;break;case _0x1263b0[_0x36ff92(0x297)]['product']:_0x3d1e82=_0x5c1a2b[_0x36ff92(0x32a)]+_0x264471;break;case _0x1263b0[_0x36ff92(0x297)][_0x36ff92(0x196)]:_0x3d1e82=_0x5c1a2b[_0x36ff92(0x1f0)]+_0x264471;break;case _0x1263b0[_0x36ff92(0x297)][_0x36ff92(0x3dd)]:_0x3d1e82=_0x5c1a2b[_0x36ff92(0x2ab)]+_0x264471;break;case _0x1263b0[_0x36ff92(0x297)][_0x36ff92(0x35f)]:_0x3d1e82=_0x5c1a2b[_0x36ff92(0x21b)]+_0x264471;break;case _0x1263b0[_0x36ff92(0x297)][_0x36ff92(0x209)]:_0x3d1e82=_0x5c1a2b['sheets-pivot.varName']+_0x264471;break;case _0x1263b0[_0x36ff92(0x297)][_0x36ff92(0x184)]:_0x3d1e82=_0x5c1a2b[_0x36ff92(0x2e1)]+_0x264471;break;default:_0x3d1e82=_0x264471;break;}return _0x3d1e82;}function _0x419b24(_0xc18959,_0x4aef71,_0x3cbd07,_0x5378bc,_0x3bcb9b){const _0xca8b54=_0x2eb37b;var _0x23f146,_0x386e72,_0x9b1576,_0x43b8a7,_0x29e442;const _0x274a22=_0x2a947c[_0xca8b54(0x2cc)](_0xc18959,_0x4aef71),{rangesInfo:_0x29e927,areaInfo:_0x3b7943,headerMap:_0x4e2ec0}=_0x3bcb9b;if(!_0x29e927||!_0x3b7943||!_0x4e2ec0)return;const _0x2daa71=Object[_0xca8b54(0x2df)](_0x29e927)[_0xca8b54(0x2c2)](_0x59e0a4=>_0x29e927[_0x59e0a4]['some'](_0x369f36=>_0x2a947c['Rectangle'][_0xca8b54(0x24c)](_0x369f36,_0x274a22))),_0x104faa=_0x3b7943;let _0x1bd2dd,_0x5861e0,_0x55a221;if(_0x2daa71==='rowRanges')_0x1bd2dd=(_0x23f146=_0x104faa==null?void 0x0:_0x104faa[_0xca8b54(0x3a3)])==null?void 0x0:_0x23f146[_0xc18959],_0x5861e0=(_0x386e72=_0x4e2ec0==null?void 0x0:_0x4e2ec0[_0xca8b54(0x17c)])==null?void 0x0:_0x386e72[_0x4aef71],_0x55a221=_0x5861e0==null?void 0x0:_0x5861e0[_0xca8b54(0x351)];else{if(_0x2daa71===_0xca8b54(0x382))_0x1bd2dd=(_0x9b1576=_0x104faa==null?void 0x0:_0x104faa[_0xca8b54(0x2d4)])==null?void 0x0:_0x9b1576[_0x4aef71],_0x5861e0=(_0x43b8a7=_0x4e2ec0[_0xca8b54(0x369)])==null?void 0x0:_0x43b8a7[_0xc18959+0x1+_0x4aef71-_0x29e927[_0xca8b54(0x382)][0x0][_0xca8b54(0x35c)]],_0x55a221=_0x5861e0==null?void 0x0:_0x5861e0[_0xca8b54(0x351)];else{if(_0x2daa71===_0xca8b54(0x1be))_0x1bd2dd=(_0x29e442=_0x104faa==null?void 0x0:_0x104faa[_0xca8b54(0x291)])==null?void 0x0:_0x29e442[_0x4aef71],_0x55a221=_0x1bd2dd==null?void 0x0:_0x1bd2dd[_0xca8b54(0x351)];else{if(_0x2daa71===_0xca8b54(0x2c9)){const _0x313a27=_0x3cbd07==null?void 0x0:_0x3cbd07['fi'];_0x313a27!==void 0x0&&(_0x55a221=_0x5378bc[_0xca8b54(0x3db)](_0x313a27));}}}}return{'filterId':_0x55a221,'info':_0x1bd2dd,'data':_0x3cbd07,'headerInfo':_0x5861e0};}function _0x210eda(_0x33866b,_0x26851e,_0x3fc729){const _0x42d037=_0x2eb37b,_0x3b3121=_0x33866b[_0x42d037(0x315)],_0x15a3e0=_0x3b3121[_0x42d037(0x226)](),_0xa026c5=new Set();_0x33866b[_0x42d037(0x19f)](_0x58c362=>{const _0x1d5d1b=_0x42d037;_0xa026c5['add'](_0x58c362[_0x1d5d1b(0x216)]);});const _0x2eed4b=_0x15a3e0[_0x42d037(0x2ba)](_0x530af3=>{const _0x29b6f9=_0x42d037,_0x561651=_0x3b3121[_0x29b6f9(0x28d)](_0x530af3);return{'checked':_0xa026c5[_0x29b6f9(0x1f4)](_0x530af3),'dataFieldId':_0x561651['id'],'id':_0x561651['id'],'name':_0x3b3121[_0x29b6f9(0x27d)](_0x561651['id']),'type':_0x561651[_0x29b6f9(0x35d)](),'pivotTableId':_0x26851e};}),_0x8744b1=[];_0x33866b[_0x42d037(0x1e7)](_0x1263b0['PivotTableFiledAreaEnum'][_0x42d037(0x38d)],_0x3a745e=>{const _0x2d51e1=_0x42d037;_0x8744b1[_0x2d51e1(0x335)]({'dataFieldId':_0x3a745e[_0x2d51e1(0x216)],'tableFieldId':_0x3a745e['getId'](),'displayName':_0x3a745e[_0x2d51e1(0x27d)]()});});const _0x56302e=[];_0x33866b[_0x42d037(0x1e7)](_0x1263b0[_0x42d037(0x256)]['Column'],_0x3a5bbf=>{const _0x58146f=_0x42d037;_0x56302e[_0x58146f(0x335)]({'dataFieldId':_0x3a5bbf[_0x58146f(0x216)],'tableFieldId':_0x3a5bbf[_0x58146f(0x3e0)](),'displayName':_0x3a5bbf[_0x58146f(0x27d)]()});});const _0x22fc4a=[];if(_0x33866b[_0x42d037(0x1e7)](_0x1263b0['PivotTableFiledAreaEnum'][_0x42d037(0x1ee)],_0xb99a64=>{const _0x1fd818=_0x42d037;_0x22fc4a[_0x1fd818(0x335)]({'dataFieldId':_0xb99a64[_0x1fd818(0x216)],'tableFieldId':_0xb99a64['getId'](),'displayName':_0xb99a64['getDisplayName'](),'format':_0xb99a64['getFormat'](),'subTotalType':_0xb99a64[_0x1fd818(0x33c)]()});}),_0x22fc4a[_0x42d037(0x20b)]>0x1){const _0x444ca6=_0x33866b[_0x42d037(0x217)]();(_0x33866b['isColMultiMeasure']()?_0x56302e:_0x8744b1)[_0x42d037(0x230)](_0x444ca6,0x0,{'dataFieldId':'','tableFieldId':_0x42d037(0x27b),'displayName':_0x42d037(0x3b5)});}const _0xf0e169=[];_0x33866b[_0x42d037(0x1e7)](_0x1263b0[_0x42d037(0x256)]['Filter'],_0x37c78e=>{const _0x3f3d71=_0x42d037;_0xf0e169[_0x3f3d71(0x335)]({'dataFieldId':_0x37c78e[_0x3f3d71(0x216)],'tableFieldId':_0x37c78e[_0x3f3d71(0x3e0)](),'displayName':_0x37c78e[_0x3f3d71(0x27d)]()});});const _0x4abf66=_0x3fc729[_0x42d037(0x323)];return{'sourceList':_0x2eed4b,'sourceRange':_0x4abf66,'rowFields':_0x8744b1,'columnFields':_0x56302e,'valueFields':_0x22fc4a,'filterFields':_0xf0e169,'positionInfo':_0x3fc729[_0x42d037(0x3bd)]};}function _0xc05d38(_0xc4bdca,_0x33780f,_0x57e159='',_0x5247db={}){const _0x410a17=_0x2eb37b,_0x5ea99a=_0xc4bdca[_0x410a17(0x3d1)](_0x2a947c['LocaleService']);for(const _0x58ebad in _0x33780f)if(Object['prototype'][_0x410a17(0x368)][_0x410a17(0x397)](_0x33780f,_0x58ebad)){const _0x217c8d=_0x57e159?_0x57e159+'.'+_0x58ebad:_0x58ebad;typeof _0x33780f[_0x58ebad]==_0x410a17(0x3dc)&&_0x33780f[_0x58ebad]!==null&&!Array[_0x410a17(0x3ae)](_0x33780f[_0x58ebad])?_0xc05d38(_0xc4bdca,_0x33780f[_0x58ebad],_0x217c8d,_0x5247db):_0x5247db[_0x217c8d]=_0x5ea99a['t'](_0x217c8d);}return _0x5247db;}const _0x4a10a1=_0x22d787=>{const _0x329e24=_0x2eb37b;if(!_0x22d787)return[];const {rowRanges:_0xf5f6bf,colRanges:_0x36aa79,cornerRanges:_0x5c2779,dataRanges:_0xf26d53,pageRanges:_0x45fe8f}=_0x22d787,_0x49319f=[..._0x36aa79,..._0xf5f6bf,..._0xf26d53,..._0x5c2779]['filter'](_0x16fb90=>_0x16fb90[_0x329e24(0x296)]>=0x0&&_0x16fb90['startColumn']>=0x0&&_0x16fb90[_0x329e24(0x1fb)]>=0x0&&_0x16fb90['endColumn']>=0x0);let _0x4293a2=Number[_0x329e24(0x234)],_0x1a7927=Number['MIN_SAFE_INTEGER'],_0x4df128=Number[_0x329e24(0x234)],_0x5223e0=Number[_0x329e24(0x1a9)];for(let _0xecc74c=0x0;_0xecc74c<_0x49319f[_0x329e24(0x20b)];_0xecc74c++)_0x4293a2=Math['min'](_0x4293a2,_0x49319f[_0xecc74c][_0x329e24(0x296)]),_0x1a7927=Math['max'](_0x1a7927,_0x49319f[_0xecc74c][_0x329e24(0x1fb)]),_0x4df128=Math['min'](_0x4df128,_0x49319f[_0xecc74c][_0x329e24(0x35c)]),_0x5223e0=Math[_0x329e24(0x3c9)](_0x5223e0,_0x49319f[_0xecc74c][_0x329e24(0x312)]);return[..._0x45fe8f,{'startRow':_0x4293a2,'endRow':_0x1a7927,'startColumn':_0x4df128,'endColumn':_0x5223e0}];};function _0x2dfa0a(_0x2e53dc,_0x47a706){const _0x13b672=_0x2eb37b,_0x58f275=_0x47a706[_0x13b672(0x301)][_0x13b672(0x2ce)],{pivotTableId:_0x3f79da,unitId:_0x1de7b2,subUnitId:_0x313fd6}=_0x47a706;if(!_0x58f275)return;const _0x324bde=_0x2e53dc['get'](_0x1bf211[_0x13b672(0x302)]),_0x53b01e=_0x324bde[_0x13b672(0x1f7)](_0x3f79da),_0x257269=_0x324bde['getPivotTableConfig'](_0x1de7b2,_0x313fd6,_0x3f79da);if(!_0x53b01e||!_0x257269)return;const _0xe25954=_0x53b01e['getIndexesByPathStr'](_0x58f275['tuple']);if(!(_0xe25954!=null&&_0xe25954['length']))return;const _0x1833d1=_0x257269[_0x13b672(0x323)],{unitId:_0x27daea,subUnitId:_0x156e32,range:_0x581d16}=_0x1833d1;let _0x5e0c4c=0x0;const _0x3a8635=_0x53b01e[_0x13b672(0x315)][_0x13b672(0x226)]()[_0x13b672(0x3d4)]((_0x5e33f1,_0x4850af)=>{var _0x330f1a;const _0x5c071b=(_0x330f1a=_0x53b01e['getDataFieldByDataFieldId'](_0x4850af))==null?void 0x0:_0x330f1a['getformat']();return _0x5c071b&&(_0x5e33f1[String(_0x5e0c4c)]=_0x5c071b),_0x5e0c4c++,_0x5e33f1;},{});return{'indexes':_0xe25954,'range':_0x581d16,'sourceUnitId':_0x27daea,'sourceSubUnitId':_0x156e32,'formatMap':_0x3a8635};}function _0xb07640(_0xc35ea0,_0x52933e){const _0x57dda6=_0x2eb37b;if(!_0xc35ea0||!_0x52933e)return!0x0;const _0x52a863=_0x383fee[_0x57dda6(0x344)](_0x3547be,_0x1ee3d6),_0x587634=new Function(_0x57dda6(0x2f2)+_0x52a863)()(_0xc35ea0,_0x52933e)[_0x57dda6(0x3a6)],_0x4e87d4=_0x383fee[_0x57dda6(0x2f4)](_0x587634,'sf',_0x2abe44);return!((_0x587634==null?void 0x0:_0x587634['rt'])===_0x383fee[_0x57dda6(0x2ea)][_0x57dda6(0x32e)]&&!_0x4e87d4);}function _0x5a546a(_0x1eff77,_0x564a11,_0x3e6172){const _0x78aff0=_0x2eb37b,_0x2590b3={'count':_0x1eff77,'timeValid':!0x1};if(!_0x564a11||!_0x3e6172)return _0x2590b3;const _0x5bf69e=_0x383fee['unshiftString'](_0x3547be,_0x1ee3d6),_0x289cdf=new Function(_0x78aff0(0x2f2)+_0x5bf69e)()(_0x564a11,_0x3e6172);if(_0x289cdf!=null&&_0x289cdf[_0x78aff0(0x313)]){const _0xd106f8=_0x289cdf['message'],_0x10fa4a=_0x383fee[_0x78aff0(0x2f4)](_0xd106f8,'sf',_0x2abe44);return{'count':_0x383fee[_0x78aff0(0x18e)](_0xd106f8,_0x10fa4a,'ptn',_0x1eff77),'timeValid':_0x10fa4a};}return _0x2590b3;}const _0x1c5a79=_0x2cc495=>{const _0x3eb8fd=_0x2eb37b;var _0x181f33;return((_0x181f33=_0x2cc495[_0x3eb8fd(0x33a)])==null?void 0x0:_0x181f33['dataStream'][_0x3eb8fd(0x2f0)](/\r\n$/,''))||'';};class _0x127475 extends _0x1263b0[_0x2eb37b(0x364)]{constructor(_0x28ea83,_0x517be9){const _0x4d8f4c=_0x2eb37b;super(),_0x1a5fc9(this,_0x4d8f4c(0x1e9),{}),_0x1a5fc9(this,'_univerInstanceService'),_0x1a5fc9(this,_0x4d8f4c(0x3d3)),(this[_0x4d8f4c(0x1c1)]=_0x517be9,this[_0x4d8f4c(0x3d3)]=_0x28ea83);}[_0x2eb37b(0x2fc)](){const _0x142220=_0x2eb37b;for(const _0x4941cd in this[_0x142220(0x272)]){const _0x5dd962=this[_0x142220(0x272)][_0x4941cd],_0x10be0d=_0x5dd962[_0x142220(0x30a)]();this[_0x142220(0x1e9)][_0x10be0d]=_0x5dd962['getId']();}}[_0x2eb37b(0x257)](){const _0xfc3b31=_0x2eb37b,_0xa29312=this[_0xfc3b31(0x3d3)];return _0x4465b1[_0xfc3b31(0x1d3)](_0xa29312);}[_0x2eb37b(0x379)](_0x581a6f){const _0x28bcb3=_0x2eb37b,_0x587809=this[_0x28bcb3(0x272)][_0x581a6f][_0x28bcb3(0x3cb)];delete this['dataFields'][_0x581a6f],delete this['rangeKeyMap'][_0x587809];}['removeCollectionImp'](_0x144d69){const _0x41c302=_0x2eb37b;var _0x16a80f,_0x2c2262;const _0x4130c7=this[_0x41c302(0x3d3)][_0x41c302(0x215)](_0x144d69);if(_0x4130c7){const {unitId:_0x36600a,subUnitId:_0x521309}=_0x4130c7,_0x4dfff7=(_0x16a80f=this[_0x41c302(0x3d3)][_0x41c302(0x2c5)](_0x36600a,_0x521309,_0x144d69))==null?void 0x0:_0x16a80f[_0x41c302(0x323)];this['_host'][_0x41c302(0x233)]({'token':_0x144d69,'type':_0x5ad44d['delete'],'dataRangeInfo':_0x4dfff7});}(_0x2c2262=this[_0x41c302(0x203)](_0x144d69))==null||_0x2c2262[_0x41c302(0x2d1)](),delete this[_0x41c302(0x1d4)][_0x144d69];}[_0x2eb37b(0x30a)](_0xd111d4,_0x3ad721){const _0x4f77c0=_0x2eb37b,{sheetName:_0x25010f,unitId:_0x19ed80,range:_0x372d10}=_0xd111d4,{startRow:_0x347ecb,endRow:_0x4841d}=_0x372d10;return _0x3ff6a1[_0x4f77c0(0x3d7)](_0x19ed80,_0x25010f,{'startRow':_0x347ecb,'endRow':_0x4841d,'startColumn':_0x3ad721,'endColumn':_0x3ad721});}[_0x2eb37b(0x205)](_0x3d31cd){const _0x48ea2d=_0x2eb37b;return this[_0x48ea2d(0x272)][this['rangeKeyMap'][_0x3d31cd]];}[_0x2eb37b(0x177)](_0x281cc2,_0x46fff9){const _0x2202fc=_0x2eb37b;this[_0x2202fc(0x1e9)][_0x281cc2]=_0x46fff9;}[_0x2eb37b(0x3df)](_0x3d949a,_0x18f3d5){const _0x373667=_0x2eb37b;this[_0x373667(0x1e9)][_0x18f3d5]=this[_0x373667(0x1e9)][_0x3d949a],delete this[_0x373667(0x1e9)][_0x3d949a];}[_0x2eb37b(0x270)](_0x1521cb,_0x42c71e,_0x331907,_0xb37a89){const _0x30ac7a=_0x2eb37b,_0x455660=new _0x1263b0['FieldsCollection'](this);_0x455660[_0x30ac7a(0x337)](_0x42c71e);const _0x1a009a=[];let _0x5d5784=0x0;for(const _0x302bfb of _0x455660['fieldIds']){const _0x25f140=this[_0x30ac7a(0x30a)](_0x331907,_0x5d5784),_0x2de6ad=this['dataFields'][_0x302bfb];_0x2de6ad&&(_0x2de6ad[_0x30ac7a(0x3cb)]=_0x25f140,this[_0x30ac7a(0x177)](_0x25f140,_0x302bfb),_0x1a009a['push']({'index':_0x5d5784,'dataField':_0x2de6ad})),_0x5d5784++;}return this['addCollection'](_0x1521cb,_0x455660,_0x331907,_0xb37a89),{'collection':_0x455660,'updateDataFieldList':_0x1a009a};}[_0x2eb37b(0x21d)](_0x5c1f7c,_0x53f594){const _0x18b110=_0x2eb37b;return _0x5c1f7c['rangeType']===_0x2a947c[_0x18b110(0x378)][_0x18b110(0x3b8)]?{'startRow':0x0,'startColumn':_0x5c1f7c[_0x18b110(0x35c)],'endRow':_0x53f594['getRowCount']()-0x1,'endColumn':_0x5c1f7c[_0x18b110(0x312)]}:{'startRow':_0x5c1f7c[_0x18b110(0x296)],'startColumn':_0x5c1f7c[_0x18b110(0x35c)],'endRow':_0x5c1f7c['endRow'],'endColumn':_0x5c1f7c[_0x18b110(0x312)]};}[_0x2eb37b(0x249)](_0x7a2903){const _0x18054a=_0x2eb37b,{sheetName:_0x1dc910,range:_0x3596b0}=_0x7a2903,_0x512339=this[_0x18054a(0x1c1)][_0x18054a(0x235)](_0x2a947c[_0x18054a(0x36f)][_0x18054a(0x275)]),_0x310dd1=_0x512339[_0x18054a(0x1dc)](_0x1dc910),_0x7739f0=_0x310dd1[_0x18054a(0x391)](),{startColumn:_0x2931ac,startRow:_0x170302,endColumn:_0xdbaf9d}=this['getRangeStartEndInfo'](_0x3596b0,_0x310dd1),_0x140f94=_0x512339[_0x18054a(0x2bd)](),_0x1259b=new _0x1263b0['FieldsCollection'](this);_0x1259b[_0x18054a(0x1a5)](_0x7a2903);const _0x14bc77=[],_0x55f7e1={};for(let _0x1a003d=_0x2931ac;_0x1a003d<=_0xdbaf9d;_0x1a003d++){const _0x5655d1=_0x7739f0[_0x18054a(0x3a2)](_0x170302,_0x1a003d),_0x24e1d4=this[_0x18054a(0x30a)](_0x7a2903,_0x1a003d),_0xa37ca0=this['getDataFieldByRangeKey'](_0x24e1d4);if(_0xa37ca0)_0x1259b[_0x18054a(0x3d9)](_0xa37ca0[_0x18054a(0x3e0)](),_0xa37ca0[_0x18054a(0x1ae)]());else{const _0x14bec1=this[_0x18054a(0x2b8)]();let _0x526308=this[_0x18054a(0x2ec)](_0x5655d1,_0x140f94,_0x55f7e1);_0x1263b0[_0x18054a(0x3d6)](_0x526308)&&(_0x526308=_0x2a947c[_0x18054a(0x17b)][_0x18054a(0x248)](_0x526308['f'],Number(_0x526308['v'])));const _0x13e731=this[_0x18054a(0x35a)](_0x526308,_0x2931ac+_0x1a003d),_0xc5f699=new _0x1263b0[(_0x18054a(0x326))](_0x14bec1,_0x13e731,_0x1263b0['generateHexNumber'](0x3));_0xc5f699[_0x18054a(0x3cb)]=_0x24e1d4,this['dataFields'][_0x14bec1]=_0xc5f699,_0x1259b[_0x18054a(0x3d9)](_0x14bec1,_0x13e731),_0x14bc77['push']({'index':_0x1a003d,'dataField':_0xc5f699});}}return{'updateDataFieldList':_0x14bc77,'collection':_0x1259b};}[_0x2eb37b(0x18a)](_0x4931f8){const _0x280c1f=_0x2eb37b;return this[_0x280c1f(0x3d3)][_0x280c1f(0x341)]()[_0x280c1f(0x1ff)]+'\x20'+_0x2a947c['numberToABC'](_0x4931f8);}[_0x2eb37b(0x35a)](_0x56373a,_0x50dff0){const _0x44dc8f=_0x2eb37b;return _0x56373a==null?this[_0x44dc8f(0x18a)](_0x50dff0):String(_0x56373a);}[_0x2eb37b(0x203)](_0x2ada59){const _0x595583=_0x2eb37b;return this[_0x595583(0x1d4)][_0x2ada59];}[_0x2eb37b(0x191)](_0x5b7c40,_0x1b9b37,_0x1ea5be,_0x41ad18){const _0x24c2ed=_0x2eb37b;this[_0x24c2ed(0x1d4)][_0x5b7c40]=_0x1b9b37,_0x1b9b37[_0x24c2ed(0x1a5)](_0x1ea5be),this[_0x24c2ed(0x3d3)]['broadcastCollectionChange']({'token':_0x5b7c40,'type':_0x5ad44d['add'],'dataRangeInfo':_0x1ea5be,'targetCellInfo':_0x41ad18});}[_0x2eb37b(0x187)](_0x5b727d,_0x31eaea){const _0x4209db=_0x2eb37b,_0x1abd57=this[_0x4209db(0x203)](_0x5b727d),_0x2f8074=_0x1abd57[_0x4209db(0x226)]();let _0x502b3c=0x0;for(const _0x18c0dc of _0x2f8074){const _0xf0c0d8=_0x1abd57['getFieldById'](_0x18c0dc),_0x38d4b6=this[_0x4209db(0x30a)](_0x31eaea,_0x502b3c);this[_0x4209db(0x3df)](_0xf0c0d8['rangeKey'],_0x38d4b6),_0x502b3c++;}}[_0x2eb37b(0x282)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x2eb37b(0x2d6)](_0x7e872a,_0x5ed2b3){const _0x5439aa=_0x2eb37b;if(this[_0x5439aa(0x203)](_0x7e872a)){const _0x4f6b39=this[_0x5439aa(0x2d8)](_0x5ed2b3),_0x4391b8=[];for(const _0x187a4c of _0x4f6b39)this[_0x5439aa(0x1e9)][_0x187a4c]!==void 0x0&&_0x4391b8[_0x5439aa(0x335)](this[_0x5439aa(0x1e9)][_0x187a4c]);const _0x2f9ff4=this[_0x5439aa(0x2b0)](_0x7e872a),_0x505b61=[],_0x2aa7bb=new Set(_0x4391b8);for(const _0x2b8586 of _0x2f9ff4)_0x2aa7bb['has'](_0x2b8586)||_0x505b61[_0x5439aa(0x335)](_0x2b8586);return _0x505b61;}}[_0x2eb37b(0x22a)](_0x39d744,_0x42402c,_0x5bcfb0,_0x447b81,_0x193fa5){const _0x12c2e7=_0x2eb37b;return _0x42402c&&_0x42402c[_0x12c2e7(0x3a2)](_0x447b81,_0x193fa5)?_0x42402c[_0x12c2e7(0x3a2)](_0x447b81,_0x193fa5):_0x5bcfb0&&_0x5bcfb0[_0x12c2e7(0x3a2)](_0x447b81,_0x193fa5)?_0x5bcfb0[_0x12c2e7(0x3a2)](_0x447b81,_0x193fa5):_0x39d744['getValue'](_0x447b81,_0x193fa5);}[_0x2eb37b(0x23f)](_0x151b9c,_0x4e9ce6,_0x4a765a,_0x35a952){const _0x3f8f73=_0x2eb37b,_0x426a40=this[_0x3f8f73(0x272)][_0x151b9c];if(!_0x426a40)return;const {subUnitId:_0x3f5725,range:_0x39183b,unitId:_0x2e8cd2}=_0x4e9ce6,_0x358e4b=this[_0x3f8f73(0x1c1)]['getUnit'](_0x2e8cd2);if(!_0x358e4b){console['error'](_0x3f8f73(0x289));return;}const _0x551136=_0x358e4b[_0x3f8f73(0x24d)](_0x3f5725),_0x447607=_0x551136[_0x3f8f73(0x391)](),{arrayFormulaCellDataMatrix:_0x27371c,unitDataMatrix:_0x8bd9fd}=_0x35a952||{},{startRow:_0x25b54a,startColumn:_0x276699,endRow:_0x593fcd}=this[_0x3f8f73(0x21d)](_0x39183b,_0x551136);_0x426a40[_0x3f8f73(0x1c9)]();const _0x4eddee=_0x358e4b[_0x3f8f73(0x2bd)](),_0x34c905={},_0x522037=this['getMatrixValue'](_0x447607,_0x27371c,_0x8bd9fd,_0x25b54a,_0x276699+_0x4a765a);let _0x182698=this[_0x3f8f73(0x2ec)](_0x522037,_0x4eddee,_0x34c905);_0x1263b0[_0x3f8f73(0x3d6)](_0x182698)&&(_0x182698=_0x2a947c[_0x3f8f73(0x17b)][_0x3f8f73(0x248)](_0x182698['f'],Number(_0x182698['v'])));const _0x17563a=this[_0x3f8f73(0x35a)](_0x182698,_0x276699+_0x4a765a);_0x426a40[_0x3f8f73(0x356)](_0x17563a);for(let _0x2bcb0a=_0x25b54a+0x1;_0x2bcb0a<=_0x593fcd;_0x2bcb0a++){const _0x4c1d65=this[_0x3f8f73(0x22a)](_0x447607,_0x27371c,_0x8bd9fd,_0x2bcb0a,_0x276699+_0x4a765a);_0x426a40[_0x3f8f73(0x290)](this[_0x3f8f73(0x2ec)](_0x4c1d65,_0x4eddee,_0x34c905),_0x2bcb0a-0x1);}}[_0x2eb37b(0x2cb)](_0x42b3b5,_0x24cef5,_0x4ce8b0){const _0x700bda=_0x2eb37b,{subUnitId:_0x558269,range:_0x46f2f9,unitId:_0x38c950}=_0x4ce8b0,_0x2c39e7=this[_0x700bda(0x1c1)][_0x700bda(0x2fb)](_0x38c950);if(!_0x2c39e7){console['error']('workbook\x20is\x20not\x20found');return;}const _0x28987c=_0x2c39e7[_0x700bda(0x24d)](_0x558269),_0x2fdf8b=_0x28987c[_0x700bda(0x391)](),{startRow:_0x11efde,startColumn:_0x69dc93,endRow:_0x225add}=this[_0x700bda(0x21d)](_0x46f2f9,_0x28987c),_0xc3e1fe=_0x2c39e7[_0x700bda(0x2bd)](),_0x2337f7={};for(const {dataField:_0x1f9c72,index:_0x1239ae}of _0x24cef5){_0x1f9c72['reset']();const _0x2ee448=this['getMatrixValue'](_0x2fdf8b,void 0x0,void 0x0,_0x11efde,_0x69dc93+_0x1239ae);let _0x59d957=this['adjustSheetCellData'](_0x2ee448,_0xc3e1fe,_0x2337f7);_0x1263b0[_0x700bda(0x3d6)](_0x59d957)&&(_0x59d957=_0x2a947c['numfmt']['format'](_0x59d957['f'],Number(_0x59d957['v'])));const _0x2fd38b=this[_0x700bda(0x35a)](_0x59d957,_0x69dc93+_0x1239ae);_0x1f9c72['setName'](_0x2fd38b);}_0x42b3b5['updateAllDisplayName']();for(let _0x5da953=_0x11efde+0x1;_0x5da953<=_0x225add;_0x5da953++)for(const {index:_0x5c3f19,dataField:_0x3b8e41}of _0x24cef5){const _0x42ea72=_0x2fdf8b['getValue'](_0x5da953,_0x69dc93+_0x5c3f19);_0x3b8e41['addRecord'](this[_0x700bda(0x2ec)](_0x42ea72,_0xc3e1fe,_0x2337f7),_0x5da953-0x1);}_0x42b3b5[_0x700bda(0x280)](_0x225add-_0x11efde);}['getRangeKeyList'](_0x5e9909){const _0x53abe7=_0x2eb37b,{range:_0x47ea28}=_0x5e9909,{startColumn:_0x1b74ca,endColumn:_0x413c85}=_0x47ea28,_0x4ff838=[];for(let _0x3f479a=_0x1b74ca;_0x3f479a<=_0x413c85;_0x3f479a++)_0x4ff838['push'](this[_0x53abe7(0x30a)](_0x5e9909,_0x3f479a));return _0x4ff838;}[_0x2eb37b(0x2ec)](_0x58b005,_0x3d5596,_0x4056bd){const _0x54d44e=_0x2eb37b;if(_0x58b005){const {s:_0x1b9149,v:_0x7dbdbb,t:_0x5269ad,p:_0x2253cd}=_0x58b005;if(_0x2253cd)return _0x1c5a79(_0x2253cd);const _0x537225=_0x3d5596[_0x54d44e(0x3d1)](_0x1b9149);if(_0x537225&&_0x5269ad===_0x2a947c[_0x54d44e(0x3a7)][_0x54d44e(0x20d)]&&_0x537225['n']){const {pattern:_0x461d3e}=_0x537225['n'];_0x4056bd[_0x461d3e]||(_0x4056bd[_0x461d3e]=_0x2a947c[_0x54d44e(0x17b)][_0x54d44e(0x211)](_0x461d3e));const _0x121625=_0x4056bd[_0x461d3e],_0x2c1a4e=_0x121625['isDate'];if(_0x121625[_0x54d44e(0x19c)])return String(_0x7dbdbb);if(_0x2c1a4e)return{'v':_0x7dbdbb,'f':_0x461d3e};}if(_0x5269ad===_0x2a947c[_0x54d44e(0x3a7)][_0x54d44e(0x20d)])return Number(_0x7dbdbb);if(_0x5269ad===_0x2a947c['CellValueType'][_0x54d44e(0x1df)]||_0x5269ad===_0x2a947c[_0x54d44e(0x3a7)][_0x54d44e(0x349)])return String(_0x7dbdbb);if(_0x5269ad===void 0x0){const _0x55ae09=Number(_0x7dbdbb);if(!Number['isNaN'](_0x55ae09)&&String(_0x55ae09)===_0x7dbdbb)return _0x55ae09;}return _0x7dbdbb!=null?_0x7dbdbb:null;}else return null;}[_0x2eb37b(0x2b2)](_0x5a6981){const _0x3dbbdb=_0x2eb37b,{sheetName:_0x21ea05,range:_0x4298e4,unitId:_0x2fe4f6}=_0x5a6981,_0xe30de0=this[_0x3dbbdb(0x1c1)][_0x3dbbdb(0x2fb)](_0x2fe4f6);if(!_0xe30de0)return console[_0x3dbbdb(0x252)](_0x3dbbdb(0x289)),{'header':[],'data':[]};const _0x4d59dc=_0xe30de0[_0x3dbbdb(0x1dc)](_0x21ea05),_0x3800b8=_0x4d59dc[_0x3dbbdb(0x391)](),{startRow:_0x21b914,startColumn:_0x2d8336,endRow:_0x2d35fe,endColumn:_0x13ee39}=this[_0x3dbbdb(0x21d)](_0x4298e4,_0x4d59dc),_0x4db9ce=_0xe30de0['getStyles'](),_0x482134=[],_0x3a598e=[],_0x5f39cb={};for(let _0x58211c=_0x21b914;_0x58211c<=_0x2d35fe;_0x58211c++){const _0x52b62e=[];for(let _0x59c29f=_0x2d8336;_0x59c29f<=_0x13ee39;_0x59c29f++){const _0x1d895f=_0x3800b8['getValue'](_0x58211c,_0x59c29f);_0x58211c===_0x21b914?_0x482134[_0x3dbbdb(0x335)](_0x1d895f==null?null:String(_0x1d895f['v'])):_0x52b62e[_0x3dbbdb(0x335)](this[_0x3dbbdb(0x2ec)](_0x1d895f,_0x4db9ce,_0x5f39cb));}_0x3a598e[_0x3dbbdb(0x335)](_0x52b62e);}return{'header':_0x482134,'data':_0x3a598e};}[_0x2eb37b(0x1c7)](){const _0x90e1ef=_0x2eb37b;return super[_0x90e1ef(0x1c7)]();}[_0x2eb37b(0x337)](_0x30a789){const _0x322816=_0x2eb37b;super[_0x322816(0x337)](_0x30a789),this[_0x322816(0x2fc)]();}[_0x2eb37b(0x2d1)](){const _0x296ca0=_0x2eb37b;super[_0x296ca0(0x2d1)](),this[_0x296ca0(0x1e9)]={},this['_host']=null;}}const _0x4d0f20=_0x381b30=>{const _0xb11c31=_0x2eb37b,{targetCellInfo:_0x49b550}=_0x381b30,{matrixCache:_0x289e89,rangesCache:_0x5967dc}=_0x5ecace({'filter':_0xb11c31(0x2eb),'row':_0xb11c31(0x38d),'column':'Column','values':'Values'},_0x49b550),_0x858132=new _0x2a947c[(_0xb11c31(0x366))]();return _0x289e89[_0xb11c31(0x3c3)]((_0x3a34e6,_0x12808f,_0xc76949)=>{_0x858132['setValue'](_0x3a34e6,_0x12808f,_0xc76949);}),{'matrix':_0x858132,'rangesCache':_0x5967dc};},_0x3f95fc=_0x3812f1=>{const _0x3373d4=_0x2eb37b;let _0x2f989c;if(_0x3812f1!=null&&_0x3812f1['v']||(_0x3812f1==null?void 0x0:_0x3812f1['v'])===0x0){_0x2f989c||(_0x2f989c={});const _0x5a035f=_0x4e8294(_0x3812f1['v']);typeof _0x5a035f==_0x3373d4(0x1b6)?_0x2f989c['t']=_0x2a947c[_0x3373d4(0x3a7)][_0x3373d4(0x20d)]:typeof _0x5a035f==_0x3373d4(0x1f5)&&(_0x2f989c['t']=_0x2a947c[_0x3373d4(0x3a7)]['STRING']),_0x2f989c['v']=_0x5a035f;}return _0x2f989c;},_0x4de505=(_0x32055a,_0x2b7970,_0x311676)=>{const _0x24a151=_0x2eb37b;var _0x76a62c,_0x54c75d,_0xedc5df,_0x179a18,_0x4a401c,_0x42f4bc,_0x316cf1,_0x56b69c,_0x357f0c,_0x14ab30,_0x45e067,_0x5dd701;const {cornerView:_0x321228,rowView:_0x528cac,colView:_0x4738d9,dataView:_0x398cfd,pageView:_0xe574d6,formatMap:_0x3a3cba}=_0x32055a,{row:_0x4d3d2c,col:_0x41b316}=_0x2b7970,_0xc394bf=new _0x2a947c[(_0x24a151(0x366))]();let _0x21074b=_0x4d3d2c,_0x805826=_0x41b316;Object['keys'](_0xe574d6[_0x24a151(0x210)])['forEach'](_0x410fb6=>{const _0x25b65f=_0x24a151;Object[_0x25b65f(0x2df)](_0xe574d6[_0x25b65f(0x210)][Number(_0x410fb6)])[_0x25b65f(0x265)](_0xb8e700=>{const _0x4443cb=_0x25b65f,_0x31f136={..._0xe574d6[_0x4443cb(0x210)][Number(_0x410fb6)][Number(_0xb8e700)]};_0xc394bf[_0x4443cb(0x33e)](Number(_0x410fb6)+_0x21074b,Number(_0xb8e700)+_0x805826,_0x3f95fc(_0x31f136));});});const _0x4c1add=Object[_0x24a151(0x2df)](_0xe574d6[_0x24a151(0x210)])[_0x24a151(0x20b)];_0x21074b+=_0x4c1add+(_0x4c1add?_0x4b0e90:0x0);const _0x2566a7=_0x321228[_0x24a151(0x245)](),_0x2a1a05=_0x321228[_0x24a151(0x37c)]();for(let _0x592752=0x0;_0x592752<_0x2566a7;_0x592752++)for(let _0x30f0c5=0x0;_0x30f0c5<_0x2a1a05;_0x30f0c5++){const _0x36fe9b={...(_0x54c75d=(_0x76a62c=_0x321228[_0x24a151(0x210)])==null?void 0x0:_0x76a62c[_0x592752])==null?void 0x0:_0x54c75d[_0x30f0c5]};_0x36fe9b&&((_0xedc5df=_0x528cac['headerMap'][_0x30f0c5])!=null&&_0xedc5df[_0x24a151(0x225)])&&(_0x36fe9b['v']=''+_0x311676[_0x24a151(0x347)]),_0xc394bf[_0x24a151(0x33e)](_0x592752+_0x21074b,_0x30f0c5+_0x805826,_0x3f95fc(_0x36fe9b));}_0x805826+=_0x2a1a05;const _0x466413=_0x4738d9['headerMap'],_0x26a58a=_0x4738d9[_0x24a151(0x294)]()>=0x0?_0x4738d9[_0x24a151(0x294)]()+0x1:0x0,_0x5f3010=_0x4738d9[_0x24a151(0x3de)]()>=0x0?_0x4738d9['getLastCol']()+0x1:0x0;for(let _0x54d600=0x0;_0x54d600<_0x5f3010;_0x54d600++)for(let _0x2f2d31=0x0;_0x2f2d31<_0x26a58a;_0x2f2d31++){const _0x1b78f5={...(_0x4a401c=(_0x179a18=_0x4738d9['data'])==null?void 0x0:_0x179a18[_0x54d600])==null?void 0x0:_0x4a401c[_0x2f2d31]},_0x56060e=(_0x42f4bc=_0x466413[_0x54d600])==null?void 0x0:_0x42f4bc[_0x24a151(0x351)],_0x52cda6=_0x3a3cba[_0x56060e];_0x1b78f5&&(_0x1b78f5['v']=_0xea8ef(_0x1b78f5,_0x54d600===0x0&&((_0x316cf1=_0x4738d9[_0x24a151(0x2bc)](_0x2f2d31+0x1))==null?void 0x0:_0x316cf1[_0x24a151(0x225)]),_0x52cda6,_0x311676)),_0xc394bf['setValue'](_0x54d600+_0x21074b,_0x2f2d31+_0x805826,_0x3f95fc(_0x1b78f5));}_0x21074b+=_0x2566a7;const _0x59d754=_0x528cac[_0x24a151(0x37e)],_0x5228ae=_0x528cac[_0x24a151(0x294)]()>=0x0?_0x528cac['getLastRow']()+0x1:0x0,_0x376158=_0x528cac[_0x24a151(0x3de)]()>=0x0?_0x528cac[_0x24a151(0x3de)]()+0x1:0x0;for(let _0x5933a4=0x0;_0x5933a4<_0x5228ae;_0x5933a4++)for(let _0x4465f9=0x0;_0x4465f9<_0x376158;_0x4465f9++){const _0x68f74c={...(_0x357f0c=(_0x56b69c=_0x528cac[_0x24a151(0x210)])==null?void 0x0:_0x56b69c[_0x5933a4])==null?void 0x0:_0x357f0c[_0x4465f9]},_0x193239=(_0x14ab30=_0x59d754[_0x4465f9])==null?void 0x0:_0x14ab30[_0x24a151(0x351)],_0x57438f=_0x3a3cba[_0x193239];_0x68f74c&&(_0x68f74c['v']=_0xea8ef(_0x68f74c,!0x1,_0x57438f,_0x311676)),_0xc394bf['setValue'](_0x5933a4+_0x21074b,_0x4465f9+_0x41b316,_0x3f95fc(_0x68f74c));}const _0x45271b=_0x398cfd['getRowCount'](),_0x4a30c0=_0x398cfd[_0x24a151(0x37c)]();for(let _0x55d4dc=0x0;_0x55d4dc<_0x45271b;_0x55d4dc++)for(let _0x3e938c=0x0;_0x3e938c<_0x4a30c0;_0x3e938c++){const _0x3c80e2={...(_0x5dd701=(_0x45e067=_0x398cfd[_0x24a151(0x210)])==null?void 0x0:_0x45e067[_0x55d4dc])==null?void 0x0:_0x5dd701[_0x3e938c]};_0xc394bf[_0x24a151(0x33e)](_0x55d4dc+_0x21074b,_0x3e938c+_0x805826,_0x3f95fc(_0x3c80e2));}return _0xc394bf;},_0x3edfc7=_0x452814=>{const _0x1a6dd7=_0x2eb37b,{view:_0x5d5a46,targetCellInfo:_0x8ed938,isEmpty:_0x393cae,textInfo:_0xcfaadf}=_0x452814;if(_0x393cae)return _0x4d0f20(_0x452814);const {pageView:_0x1b7e2b,cornerView:_0x341176,rowView:_0x2126a7,colView:_0x5c273b,dataView:_0xaa346}=_0x5d5a46,_0xcca43=_0x5c1e40(_0x8ed938,_0x1b7e2b,!0x0),_0x1338f2=_0x1b7e2b['lastRow']>=0x0?_0x1b7e2b[_0x1a6dd7(0x189)]+0x1:0x0,_0x10548c=_0x341176[_0x1a6dd7(0x245)](),_0x16192b=_0x341176[_0x1a6dd7(0x37c)](),_0x4c0fcb=_0xcca43['length']>0x0?_0x4b0e90:0x0,_0x753b63=_0x5c1e40({'row':_0x8ed938[_0x1a6dd7(0x236)]+_0x1338f2+_0x4c0fcb,'col':_0x8ed938[_0x1a6dd7(0x2ae)]},_0x341176,!0x1,!0x1),_0x1c3097=_0x5c1e40({'row':_0x8ed938[_0x1a6dd7(0x236)]+_0x1338f2+_0x4c0fcb+_0x10548c,'col':_0x8ed938[_0x1a6dd7(0x2ae)]},_0x2126a7,!0x1,!0x0),_0x46e7a8=_0x5c1e40({'row':_0x8ed938[_0x1a6dd7(0x236)]+_0x1338f2+_0x4c0fcb,'col':_0x8ed938[_0x1a6dd7(0x2ae)]+_0x16192b},_0x5c273b,!0x1,!0x0),_0x377177=_0x5c1e40({'row':_0x8ed938[_0x1a6dd7(0x236)]+_0x1338f2+_0x4c0fcb+_0x10548c,'col':_0x8ed938[_0x1a6dd7(0x2ae)]+_0x16192b},_0xaa346,!0x1,!0x1),_0x18b570={'rowRanges':_0x1c3097,'colRanges':_0x46e7a8,'cornerRanges':_0x753b63,'dataRanges':_0x377177,'pageRanges':_0xcca43};return{'matrix':_0x4de505(_0x5d5a46,_0x8ed938,_0xcfaadf),'rangesCache':_0x18b570};};var _0x54cc90=Object[_0x2eb37b(0x398)],_0x2d7b7b=Object[_0x2eb37b(0x1d8)],_0x35a376=(_0x2a2f52,_0x152e00,_0x341c4c,_0x4e9664)=>{const _0x2ae7c7=_0x2eb37b;for(var _0x20fc04=_0x4e9664>0x1?void 0x0:_0x4e9664?_0x2d7b7b(_0x152e00,_0x341c4c):_0x152e00,_0x2583cd=_0x2a2f52[_0x2ae7c7(0x20b)]-0x1,_0xd27108;_0x2583cd>=0x0;_0x2583cd--)(_0xd27108=_0x2a2f52[_0x2583cd])&&(_0x20fc04=(_0x4e9664?_0xd27108(_0x152e00,_0x341c4c,_0x20fc04):_0xd27108(_0x20fc04))||_0x20fc04);return _0x4e9664&&_0x20fc04&&_0x54cc90(_0x152e00,_0x341c4c,_0x20fc04),_0x20fc04;},_0x2af22b=(_0x5f443d,_0x34eab4)=>(_0x27fe48,_0x4fd9f6)=>_0x34eab4(_0x27fe48,_0x4fd9f6,_0x5f443d);_0x1bf211['SheetsPivotDataSourceModel']=class extends _0x2a947c[_0x2eb37b(0x2ac)]{constructor(_0x2b5133,_0x5f39f9,_0x4c1c66,_0x2c5e64,_0x15a381,_0x4c98ff){const _0x434971=_0x2eb37b;super(),_0x1a5fc9(this,_0x434971(0x3be),new Map()),_0x1a5fc9(this,_0x434971(0x34e),new Map()),_0x1a5fc9(this,_0x434971(0x2aa),new Map()),_0x1a5fc9(this,_0x434971(0x1f1)),_0x1a5fc9(this,'_collectionChange$',new _0x293b36[(_0x434971(0x1d2))]()),_0x1a5fc9(this,'collectionChange$',this[_0x434971(0x2e0)][_0x434971(0x3c4)]()),_0x1a5fc9(this,'_viewData$',new _0x293b36[(_0x434971(0x1d2))]()),_0x1a5fc9(this,_0x434971(0x1d1),this[_0x434971(0x298)]['asObservable']()),_0x1a5fc9(this,'_fieldsCollectionChange$',new _0x293b36['Subject']()),_0x1a5fc9(this,_0x434971(0x330),this['_fieldsCollectionChange$'][_0x434971(0x3c4)]()),_0x1a5fc9(this,_0x434971(0x243),new Map()),_0x1a5fc9(this,'needSameDeleteModel',[]),_0x1a5fc9(this,_0x434971(0x3c8),new Map()),(this[_0x434971(0x254)]=_0x2b5133,this[_0x434971(0x1c1)]=_0x5f39f9,this[_0x434971(0x3a8)]=_0x4c1c66,this[_0x434971(0x363)]=_0x2c5e64,this[_0x434971(0x23c)]=_0x15a381,this[_0x434971(0x373)]=_0x4c98ff,this[_0x434971(0x276)]());}[_0x2eb37b(0x341)](){const _0x3837e3=_0x2eb37b;return this[_0x3837e3(0x1f1)]?this[_0x3837e3(0x1f1)]:_0x5d24c2;}[_0x2eb37b(0x223)](_0x876925){const _0xd06ad4=_0x2eb37b;this[_0xd06ad4(0x1f1)]=_0x876925;}['handleMoveRange'](_0x2c18e8){const _0x30538c=_0x2eb37b;var _0x3dcd94;const {from:_0x5e554d,to:_0x269421,unitId:_0x2f5237,fromRange:_0x41ab60,toRange:_0x2b4bb0}=_0x2c18e8;if(_0x5e554d&&_0x269421){const _0x32fef2=this[_0x30538c(0x340)](_0x2f5237),_0x461f40=this['_model'][_0x30538c(0x3d1)](_0x2f5237),_0x12e166=(_0x3dcd94=this[_0x30538c(0x1c1)][_0x30538c(0x2fb)](_0x2f5237))==null?void 0x0:_0x3dcd94[_0x30538c(0x24d)](_0x269421[_0x30538c(0x26d)]);if(!_0x461f40||!_0x12e166)return;const _0xf2ab94=_0x12e166==null?void 0x0:_0x12e166['getName']();for(const [_0x59a10b,_0x23b689]of _0x461f40[_0x30538c(0x346)]())for(const [_0x16d827,_0x14de31]of _0x23b689['entries']()){const {sourceRangeInfo:_0x36c597}=_0x14de31;if(_0x36c597['unitId']===_0x2f5237&&_0x36c597['subUnitId']===_0x5e554d[_0x30538c(0x26d)]&&_0x2a947c[_0x30538c(0x2a6)][_0x30538c(0x24c)](_0x41ab60,_0x36c597[_0x30538c(0x380)])){const _0x191ebc={'row':_0x36c597['range']['startRow']-_0x41ab60[_0x30538c(0x296)],'col':_0x36c597[_0x30538c(0x380)][_0x30538c(0x35c)]-_0x41ab60['startColumn']},_0xf9e538={'unitId':_0x2f5237,'subUnitId':_0x269421[_0x30538c(0x26d)],'sheetName':_0xf2ab94,'range':{'startRow':_0x2b4bb0[_0x30538c(0x296)]+_0x191ebc[_0x30538c(0x236)],'endRow':_0x2b4bb0[_0x30538c(0x296)]+_0x191ebc['row']+_0x36c597[_0x30538c(0x380)][_0x30538c(0x1fb)]-_0x36c597[_0x30538c(0x380)]['startRow'],'startColumn':_0x2b4bb0['startColumn']+_0x191ebc[_0x30538c(0x2ae)],'endColumn':_0x2b4bb0['startColumn']+_0x191ebc[_0x30538c(0x2ae)]+_0x36c597['range']['endColumn']-_0x36c597['range']['startColumn']}};_0x32fef2['handleMoveRange'](_0x16d827,_0xf9e538);const _0x1f8ed1={..._0x14de31,'sourceRangeInfo':_0xf9e538};this[_0x30538c(0x1cf)](_0x2f5237,_0x269421[_0x30538c(0x26d)],_0x16d827,_0x1f8ed1),this[_0x30538c(0x233)]({'unitId':_0x2f5237,'token':_0x16d827,'type':_0x5ad44d[_0x30538c(0x31e)],'oldSourceRangeInfo':_0x36c597,'dataRangeInfo':_0xf9e538,'targetCellInfo':_0x14de31[_0x30538c(0x3bd)]}),this[_0x30538c(0x2f9)]({'unitId':_0x2f5237,'subUnitId':_0x269421[_0x30538c(0x26d)],'oldSubUnitId':_0x59a10b,'pivotTableId':_0x16d827,'pivotTableConfig':_0x1f8ed1,'collectionConfig':_0x32fef2[_0x30538c(0x1c7)]()});}}}}['broadcastCollectionChange'](_0x3b3e21){const _0x25bfa5=_0x2eb37b;this[_0x25bfa5(0x2e0)][_0x25bfa5(0x2ef)](_0x3b3e21);}[_0x2eb37b(0x340)](_0x27673a){const _0x34869f=_0x2eb37b;let _0x39fbb0=this[_0x34869f(0x243)][_0x34869f(0x3d1)](_0x27673a);return _0x39fbb0||(_0x39fbb0=new _0x127475(this,this[_0x34869f(0x1c1)]),this[_0x34869f(0x243)]['set'](_0x27673a,_0x39fbb0)),_0x39fbb0;}['getCollection'](_0x4ac801,_0x5bc799){const _0x3921d3=_0x2eb37b;return this[_0x3921d3(0x340)](_0x4ac801)[_0x3921d3(0x1d4)][_0x5bc799];}['getUpdateRangeDeleteIds'](_0x308ff5,_0x133e91,_0x5ad832){const _0x16e6ee=_0x2eb37b;return this[_0x16e6ee(0x340)](_0x308ff5)[_0x16e6ee(0x2d6)](_0x133e91,_0x5ad832);}[_0x2eb37b(0x2c1)](_0x53143d,_0x31ecbe){const _0x136017=_0x2eb37b;let _0x11dba7=this[_0x136017(0x3be)][_0x136017(0x3d1)](_0x53143d);_0x11dba7||(_0x11dba7=new Map(),this[_0x136017(0x3be)][_0x136017(0x39a)](_0x53143d,_0x11dba7));let _0x468e1d=_0x11dba7[_0x136017(0x3d1)](_0x31ecbe);return _0x468e1d||(_0x468e1d=new Map(),_0x11dba7['set'](_0x31ecbe,_0x468e1d)),_0x468e1d;}[_0x2eb37b(0x1cf)](_0x419dad,_0x535524,_0x33cde1,_0x997f09){const _0x1d4907=_0x2eb37b;this[_0x1d4907(0x2c1)](_0x419dad,_0x535524)[_0x1d4907(0x39a)](_0x33cde1,_0x997f09);}['_deleteModelCache'](_0x374b4c,_0x36cdf5,_0x4a0b7c){const _0x96031e=_0x2eb37b;var _0x247ad4,_0x2f22ee,_0x5e7be3,_0x4244ee;((_0x2f22ee=(_0x247ad4=this['_model']['get'](_0x374b4c))==null?void 0x0:_0x247ad4[_0x96031e(0x3d1)](_0x36cdf5))==null?void 0x0:_0x2f22ee[_0x96031e(0x3d1)](_0x4a0b7c))&&((_0x4244ee=(_0x5e7be3=this[_0x96031e(0x3be)][_0x96031e(0x3d1)](_0x374b4c))==null?void 0x0:_0x5e7be3[_0x96031e(0x3d1)](_0x36cdf5))==null||_0x4244ee[_0x96031e(0x2d5)](_0x4a0b7c));}['_updatePivotTableInstanceCache'](_0x1b7453,_0x4602a3){const _0x3db787=_0x2eb37b;this[_0x3db787(0x34e)][_0x3db787(0x39a)](_0x1b7453,_0x4602a3);}[_0x2eb37b(0x261)](_0x48af70){const _0x588ace=_0x2eb37b;this[_0x588ace(0x34e)][_0x588ace(0x2d5)](_0x48af70);}['_ensureViewDataMap'](_0x2fc3b5,_0x1fa686){const _0x551f5e=_0x2eb37b;let _0x2e1156=this[_0x551f5e(0x2aa)]['get'](_0x2fc3b5);_0x2e1156||(_0x2e1156=new Map(),this[_0x551f5e(0x2aa)][_0x551f5e(0x39a)](_0x2fc3b5,_0x2e1156));let _0x2cdd8c=_0x2e1156[_0x551f5e(0x3d1)](_0x1fa686);return _0x2cdd8c||(_0x2cdd8c=new Map(),_0x2e1156[_0x551f5e(0x39a)](_0x1fa686,_0x2cdd8c)),_0x2cdd8c;}[_0x2eb37b(0x2f9)](_0x281971){const _0x4de4b1=_0x2eb37b,{unitId:_0x2c7b82,subUnitId:_0x374892,pivotTableId:_0x18df72,pivotTableConfig:_0x3dc91c,collectionConfig:_0x1554e6}=_0x281971,_0x51decb={'unitId':_0x2c7b82,'subUnitId':_0x374892,'oldSubUnitId':_0x374892,'pivotTableId':_0x18df72,'pivotTableConfig':_0x3dc91c,'collectionConfig':_0x1554e6};this[_0x4de4b1(0x23c)]['executeCommand'](_0x304ae6['id'],_0x51decb,{'onlyLocal':!0x0});}[_0x2eb37b(0x263)](_0x5dc28a,_0x37342c,_0x39796f,_0x567cbf,_0x1a80c1,_0x2286e0,_0x5b27d8,_0x425920=!0x1){const _0x2d58de=_0x2eb37b;var _0x3b8651;this[_0x2d58de(0x23c)][_0x2d58de(0x2a4)](_0x378121['id'],{'single':{'unitId':_0x5dc28a,'subUnitId':_0x37342c,'type':_0x39796f,'pivotTableId':_0x567cbf,'view':_0x1a80c1,'pivotConfig':_0x2286e0},'collectionConfig':{[_0x5dc28a]:_0x5b27d8}},{'onlyLocal':!0x0});const _0xe0e3f6=!!((_0x3b8651=this[_0x2d58de(0x1f7)](_0x567cbf))!=null&&_0x3b8651[_0x2d58de(0x2ee)]()),_0x52e293=this['getPivotTableConfig'](_0x5dc28a,_0x37342c,_0x567cbf);_0x52e293&&this['updateViewData']({'view':_0x1a80c1,'pivotTableId':_0x567cbf,'textInfo':this[_0x2d58de(0x341)](),'isEmpty':_0xe0e3f6,'targetCellInfo':_0x52e293[_0x2d58de(0x3bd)]},_0x425920);}[_0x2eb37b(0x31f)](_0x3d9f6f,_0x19de75){const _0x569342=_0x2eb37b,{targetCellInfo:_0x333b1d,pivotTableId:_0x47e648}=_0x3d9f6f,{unitId:_0x3106f1,subUnitId:_0x474127}=_0x333b1d,_0x42123c=this[_0x569342(0x29f)](_0x3106f1,_0x474127),_0x551168=_0x42123c[_0x569342(0x3d1)](_0x47e648);let _0x4bed0c,_0x190cf2;_0x551168&&(_0x4bed0c=_0x551168[_0x569342(0x3ad)],_0x190cf2=_0x551168['matrix']);const {rangesCache:_0x4376e0,matrix:_0x4bec8e}=_0x3edfc7(_0x3d9f6f);_0x42123c[_0x569342(0x39a)](_0x47e648,{'rangeCache':_0x4376e0,'matrix':_0x4bec8e,'oldMatrix':_0x190cf2,'oldRangeCache':_0x4bed0c}),_0x19de75||this['_viewData$'][_0x569342(0x2ef)]({'unitId':_0x3106f1,'subUnitId':_0x474127,'pivotTableId':_0x47e648});}['addPivotTable'](_0x337811,_0x485624,_0xdd3cb,_0x4322f1,_0x271cfe){const _0xa2e95=_0x2eb37b;this[_0xa2e95(0x1cf)](_0x337811,_0x485624,_0xdd3cb,_0x271cfe),this[_0xa2e95(0x23a)](_0xdd3cb,_0x4322f1);}[_0x2eb37b(0x246)](_0x5bfeb4,_0x25d864,_0x2c93cb){const _0x1baa9b=_0x2eb37b,_0x3d30e7=this[_0x1baa9b(0x340)](_0x5bfeb4);_0x3d30e7[_0x1baa9b(0x2b0)](_0x2c93cb)[_0x1baa9b(0x265)](_0xebf9d6=>{const _0xfdd15d=_0x1baa9b;_0x3d30e7[_0xfdd15d(0x379)](_0xebf9d6);}),this[_0x1baa9b(0x267)](_0x5bfeb4,_0x2c93cb),this['_deleteModelCache'](_0x5bfeb4,_0x25d864,_0x2c93cb),this[_0x1baa9b(0x261)](_0x2c93cb);}[_0x2eb37b(0x204)](_0x4c832b,_0xe84a55,_0x25db98,_0x1784d4){const _0x2f6ae4=_0x2eb37b;this[_0x2f6ae4(0x1cf)](_0x4c832b,_0xe84a55,_0x25db98,_0x1784d4);}[_0x2eb37b(0x2c5)](_0x5664ba,_0xe42126,_0x4da0a4){const _0xd9d572=_0x2eb37b;var _0x12b8dc,_0x1addb6;const _0xd2246e=(_0x1addb6=(_0x12b8dc=this[_0xd9d572(0x3be)]['get'](_0x5664ba))==null?void 0x0:_0x12b8dc[_0xd9d572(0x3d1)](_0xe42126))==null?void 0x0:_0x1addb6[_0xd9d572(0x3d1)](_0x4da0a4);if(_0xd2246e)return _0xd2246e;}[_0x2eb37b(0x2a8)](_0x32d5c1,_0x19f2d6,_0x3284f5){const _0x31b5e7=_0x2eb37b;var _0x14cdcd,_0x37b054;const _0x300059=(_0x37b054=(_0x14cdcd=this[_0x31b5e7(0x3be)][_0x31b5e7(0x3d1)](_0x32d5c1))==null?void 0x0:_0x14cdcd[_0x31b5e7(0x3d1)](_0x19f2d6))==null?void 0x0:_0x37b054['get'](_0x3284f5);if(_0x300059)return _0x300059[_0x31b5e7(0x1cc)];}[_0x2eb37b(0x1f7)](_0x447d60){const _0x9912a7=_0x2eb37b;return this[_0x9912a7(0x34e)][_0x9912a7(0x3d1)](_0x447d60);}['deleteUnitId'](_0x1eea9c){const _0x4b268c=_0x2eb37b;this['_model'][_0x4b268c(0x2d5)](_0x1eea9c);const _0x114f41=this[_0x4b268c(0x243)][_0x4b268c(0x3d1)](_0x1eea9c);_0x114f41&&(_0x114f41[_0x4b268c(0x2d1)](),this[_0x4b268c(0x243)]['delete'](_0x1eea9c)),this['_viewData'][_0x4b268c(0x2d5)](_0x1eea9c),this['needSameDeleteModel'][_0x4b268c(0x265)](_0x62a30d=>{_0x62a30d['deleteUnitId'](_0x1eea9c);});}[_0x2eb37b(0x270)](_0x68e86a,_0x451687,_0x4e03f2,_0x170172){const _0xaa517d=_0x2eb37b;return this['getDataFieldManager'](_0x4e03f2['unitId'])[_0xaa517d(0x270)](_0x68e86a,_0x451687,_0x4e03f2,_0x170172);}[_0x2eb37b(0x249)](_0x5028f7){const _0x10c54b=_0x2eb37b;return this['getDataFieldManager'](_0x5028f7[_0x10c54b(0x237)])['createCollectionWithDataRange'](_0x5028f7);}[_0x2eb37b(0x2cb)](_0x296bd9,_0x304c04,_0x521fc5){const _0x2bfc69=_0x2eb37b;this[_0x2bfc69(0x340)](_0x521fc5[_0x2bfc69(0x237)])[_0x2bfc69(0x2cb)](_0x296bd9,_0x304c04,_0x521fc5);}[_0x2eb37b(0x1d5)](_0x24555b,_0xdf5737){const _0x1ab99b=_0x2eb37b;this[_0x1ab99b(0x340)](_0x24555b)[_0x1ab99b(0x379)](_0xdf5737);}[_0x2eb37b(0x267)](_0x3ebdee,_0x50ff06){const _0x11cbbc=_0x2eb37b;this['getDataFieldManager'](_0x3ebdee)[_0x11cbbc(0x295)](_0x50ff06);}[_0x2eb37b(0x1b4)](_0x366c9c,_0x407583){const _0x50d5b2=_0x2eb37b;var _0x42b0c8;return(_0x42b0c8=this[_0x50d5b2(0x3be)][_0x50d5b2(0x3d1)](_0x366c9c))==null?void 0x0:_0x42b0c8[_0x50d5b2(0x3d1)](_0x407583);}['getTargetByPivotId'](_0x13d1b2){const _0x2adb3e=_0x2eb37b;for(const [_0x5b1b00,_0xada9bb]of this['_model'][_0x2adb3e(0x346)]())for(const [_0x52146c,_0x4fbb17]of _0xada9bb[_0x2adb3e(0x346)]())if(_0x4fbb17[_0x2adb3e(0x1f4)](_0x13d1b2))return{'unitId':_0x5b1b00,'subUnitId':_0x52146c};return null;}['sideEffectUpdateWorkerCache'](_0x46658d,_0x488f69,_0xfe7be9,_0x4b9cb4){const _0x15b20a=_0x2eb37b,_0x465225=this[_0x15b20a(0x29f)](_0x46658d,_0x488f69);_0x4b9cb4?_0x465225['set'](_0xfe7be9,_0x4b9cb4):_0x465225[_0x15b20a(0x2d5)](_0xfe7be9),this['_viewData$'][_0x15b20a(0x2ef)]({'unitId':_0x46658d,'subUnitId':_0x488f69,'pivotTableId':_0xfe7be9});}['dispose'](){const _0x264e16=_0x2eb37b;super[_0x264e16(0x2d1)]();}[_0x2eb37b(0x21a)](_0x5041a1,_0x46d300,_0x3c9db9){const _0x28e00c=_0x2eb37b;var _0x3764c2,_0x147bfb;const _0x3e76c6=(_0x147bfb=(_0x3764c2=this[_0x28e00c(0x2aa)]['get'](_0x5041a1))==null?void 0x0:_0x3764c2[_0x28e00c(0x3d1)](_0x46d300))==null?void 0x0:_0x147bfb[_0x28e00c(0x3d1)](_0x3c9db9);return _0x3e76c6||null;}[_0x2eb37b(0x317)](_0x2001b7){const _0x56f300=_0x2eb37b;this[_0x56f300(0x30b)](_0x2001b7);}[_0x2eb37b(0x30b)](_0x27674f){const _0xdca812=_0x2eb37b,{token:_0x12493e}=_0x27674f;this[_0xdca812(0x3c8)][_0xdca812(0x3d1)](_0x12493e)&&clearTimeout(this[_0xdca812(0x3c8)]['get'](_0x12493e));const _0x4f3200=setTimeout(()=>{const _0x3044f8=_0xdca812;this[_0x3044f8(0x24e)](_0x27674f),this['_queryingMap']['delete'](_0x12493e);},_0x14b47f);this[_0xdca812(0x3c8)]['set'](_0x12493e,_0x4f3200);}['queryDirtyPivotTable'](_0x137bf0){const _0x36e6d7=_0x2eb37b,{unitId:_0x24217e,subUnitId:_0x5ca78a,token:_0x1aec5d,type:_0x559fba,pivotConfig:_0x52c2fc}=_0x137bf0,_0x3180df=this[_0x36e6d7(0x1f7)](_0x1aec5d),_0x2579b6=_0x3180df==null?void 0x0:_0x3180df[_0x36e6d7(0x1eb)](),_0x5b20ad=_0x52c2fc!=null?_0x52c2fc:this[_0x36e6d7(0x2c5)](_0x24217e,_0x5ca78a,_0x1aec5d);_0x5b20ad&&(_0x5b20ad[_0x36e6d7(0x2ee)]=!!(_0x3180df!=null&&_0x3180df[_0x36e6d7(0x2ee)]())),(_0x2579b6||_0x559fba===_0x3eb1d6[_0x36e6d7(0x1de)])&&this[_0x36e6d7(0x263)](_0x24217e,_0x5ca78a,_0x559fba,_0x1aec5d,_0x2579b6,_0x5b20ad,this['getDataFieldManager'](_0x24217e)[_0x36e6d7(0x1c7)]());}[_0x2eb37b(0x1c7)](_0x4da335){const _0x221be6=_0x2eb37b,_0x147a10={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x221be6(0x340)](_0x4da335)&&(_0x147a10[_0x221be6(0x39b)][_0x4da335]=this[_0x221be6(0x340)](_0x4da335)[_0x221be6(0x1c7)]()),this[_0x221be6(0x3be)][_0x221be6(0x3d1)](_0x4da335)){_0x147a10[_0x221be6(0x30f)][_0x4da335]={};const _0x4bba3a=this[_0x221be6(0x3be)][_0x221be6(0x3d1)](_0x4da335);_0x4bba3a!=null&&_0x4bba3a[_0x221be6(0x3d5)]&&[..._0x4bba3a[_0x221be6(0x2df)]()][_0x221be6(0x265)](_0x437a88=>{const _0x3a5eff=_0x221be6,_0xd311f4=_0x4bba3a[_0x3a5eff(0x3d1)](_0x437a88);_0xd311f4!=null&&_0xd311f4[_0x3a5eff(0x3d5)]&&(_0x147a10[_0x3a5eff(0x30f)][_0x4da335][_0x437a88]={},[..._0xd311f4[_0x3a5eff(0x2df)]()][_0x3a5eff(0x265)](_0xa6d751=>{const _0x24d01c=_0x3a5eff,_0xdc0178=_0xd311f4[_0x24d01c(0x3d1)](_0xa6d751);_0xdc0178&&(_0x147a10['pivotTableConfigs'][_0x4da335][_0x437a88][_0xa6d751]=_0xdc0178);}));});}return _0x147a10;}[_0x2eb37b(0x337)](_0x127f9e){const _0x5c1afe=_0x2eb37b;var _0x4dd33e;const {dataFieldManagerConfig:_0x218c3f,pivotTableConfigs:_0x38c980}=_0x127f9e;_0x218c3f&&Object['keys'](_0x218c3f)[_0x5c1afe(0x265)](_0x1f35c7=>{const _0x45ed22=_0x5c1afe;this[_0x45ed22(0x340)](_0x1f35c7)[_0x45ed22(0x337)](_0x218c3f[_0x1f35c7]);});const _0x2c89b7=[];if(_0x38c980){const _0x44b33d=(_0x4dd33e=this[_0x5c1afe(0x254)][_0x5c1afe(0x3d1)](_0x2a947c[_0x5c1afe(0x304)])[_0x5c1afe(0x39c)](_0x383fee[_0x5c1afe(0x179)]))!=null?_0x4dd33e:{},{ls:_0x577acd,pbk:_0x57a077}=_0x44b33d,_0x4b95d2=_0x5a546a(_0x4d595f,_0x577acd,_0x57a077)[_0x5c1afe(0x1ef)];Object[_0x5c1afe(0x2df)](_0x38c980)[_0x5c1afe(0x265)](_0x356861=>{const _0x565aec=_0x5c1afe;let _0x59ce3f=0x0;const _0x454b51=_0x38c980[_0x356861];Object['keys'](_0x454b51)[_0x565aec(0x265)](_0x5f20f3=>{const _0x273547=_0x565aec,_0x4d1e74=_0x454b51[_0x5f20f3];Object[_0x273547(0x2df)](_0x4d1e74)[_0x273547(0x265)](_0xd8bfa8=>{const _0xb14b4d=_0x273547,_0x98c51=_0x4d1e74[_0xd8bfa8];if(_0x98c51){if(_0x59ce3f>=_0x4b95d2)return;_0x59ce3f++;const _0x3dc749=this[_0xb14b4d(0x340)](_0x356861),_0x16d00d=_0x3dc749['collections'][_0xd8bfa8],_0x3ec4c4=_0x16d00d['getFieldIds']();let _0x4946dc=0x0;for(const _0x205406 of _0x3ec4c4)_0x3dc749[_0xb14b4d(0x23f)](_0x205406,_0x98c51[_0xb14b4d(0x323)],_0x4946dc),_0x4946dc++;const _0xb441cb=new _0x1263b0[(_0xb14b4d(0x34d))](_0x16d00d);_0xb441cb['fromJSON'](_0x98c51[_0xb14b4d(0x1cc)]),this[_0xb14b4d(0x1d7)](_0x356861,_0x5f20f3,_0xd8bfa8,_0xb441cb,_0x98c51);const _0x73f276=_0xb441cb['query']();_0x2c89b7[_0xb14b4d(0x335)]({'unitId':_0x356861,'subUnitId':_0x5f20f3,'pivotTableId':_0xd8bfa8,'view':_0x73f276[_0xb14b4d(0x1c7)](),'pivotConfig':_0x98c51,'type':_0x3eb1d6[_0xb14b4d(0x334)]});const _0x4eab37=!!_0xb441cb['isEmpty'](),_0x1027ba={'view':_0x73f276,'pivotTableId':_0xd8bfa8,'textInfo':this[_0xb14b4d(0x341)](),'isEmpty':_0x4eab37,'targetCellInfo':_0x98c51[_0xb14b4d(0x3bd)]};this[_0xb14b4d(0x31f)](_0x1027ba,!0x1);}});});});}_0x218c3f&&Object[_0x5c1afe(0x2df)](_0x218c3f)[_0x5c1afe(0x265)](_0x4d3e55=>{const _0x503511=_0x5c1afe,_0x52bb28=this[_0x503511(0x340)](_0x4d3e55);this['_fieldsCollectionChange$'][_0x503511(0x2ef)](_0x52bb28[_0x503511(0x1d4)]);}),this[_0x5c1afe(0x23c)][_0x5c1afe(0x2a4)](_0x378121['id'],{'batch':_0x2c89b7,'collectionConfig':_0x218c3f},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x5bd0b3=_0x2eb37b;this[_0x5bd0b3(0x355)](this[_0x5bd0b3(0x373)][_0x5bd0b3(0x320)]({'toJson':_0x1afec0=>JSON[_0x5bd0b3(0x1b0)](this['toJSON'](_0x1afec0)),'parseJson':_0x3a7190=>{const _0x444818=_0x5bd0b3;if(!_0x3a7190)return{};try{return JSON[_0x444818(0x24a)](_0x3a7190);}catch{return{};}},'businesses':[_0x2a947c[_0x5bd0b3(0x36f)][_0x5bd0b3(0x275)]],'pluginName':_0x21cd30,'onLoad':(_0x478c0f,_0x217c93)=>{const _0x403eb9=_0x5bd0b3;this[_0x403eb9(0x337)](_0x217c93);},'onUnLoad':_0x165c70=>{const _0x592958=_0x5bd0b3;this[_0x592958(0x2b9)](_0x165c70);}}));}},_0x1bf211[_0x2eb37b(0x302)]=_0x35a376([_0x2af22b(0x0,_0x2a947c[_0x2eb37b(0x3b9)](_0x2a947c[_0x2eb37b(0x1db)])),_0x2af22b(0x1,_0x2a947c[_0x2eb37b(0x333)]),_0x2af22b(0x2,_0x2a947c[_0x2eb37b(0x3b9)](_0x2a947c[_0x2eb37b(0x21c)])),_0x2af22b(0x3,_0x2a947c['IConfigService']),_0x2af22b(0x4,_0x2a947c[_0x2eb37b(0x307)]),_0x2af22b(0x5,_0x2a947c['Inject'](_0x2a947c[_0x2eb37b(0x219)]))],_0x1bf211[_0x2eb37b(0x302)]);function _0x1bd2e1(_0x289300,_0x270d76){const _0x1673b4=_0x2eb37b;switch(_0x270d76){case _0x1263b0[_0x1673b4(0x256)][_0x1673b4(0x1ee)]:return _0x289300['valueFields'];case _0x1263b0['PivotTableFiledAreaEnum'][_0x1673b4(0x2eb)]:return _0x289300[_0x1673b4(0x327)];case _0x1263b0[_0x1673b4(0x256)]['Row']:return _0x289300['rowFields'];case _0x1263b0[_0x1673b4(0x256)][_0x1673b4(0x17d)]:return _0x289300[_0x1673b4(0x1b8)];default:return[];}}function _0x11d362(_0x27571b,_0xaeeaa5){const _0x5640e4=_0x2eb37b;return _0x27571b[_0x5640e4(0x199)][_0xaeeaa5]||_0x27571b[_0x5640e4(0x1da)][_0xaeeaa5];}function _0x16399e(_0x3857be,_0x5420e0){const _0x34f366=_0x2eb37b,{area:_0x80c78f,fieldJson:_0x374baa,index:_0x251741}=_0x5420e0;_0x80c78f===_0x1263b0[_0x34f366(0x256)][_0x34f366(0x1ee)]?_0x3857be[_0x34f366(0x199)][_0x374baa['id']]=_0x374baa:_0x3857be[_0x34f366(0x1da)][_0x374baa['id']]=_0x374baa,_0x1bd2e1(_0x3857be,_0x80c78f)[_0x34f366(0x230)](_0x251741,0x0,_0x374baa['id']);}function _0x147d23(_0x315029,_0x12794b){const _0x181695=_0x2eb37b,{area:_0x3e2470,fieldId:_0x344980,index:_0x76595a}=_0x12794b;_0x3e2470===_0x1263b0[_0x181695(0x256)][_0x181695(0x1ee)]?delete _0x315029[_0x181695(0x199)][_0x344980]:delete _0x315029[_0x181695(0x1da)][_0x344980],_0x1bd2e1(_0x315029,_0x3e2470)[_0x181695(0x230)](_0x76595a,0x1);}function _0x430f58(_0x541600,_0x2bb89d){const {fieldId:_0x5b19ce,name:_0x319da0}=_0x2bb89d,_0x1cf1e4=_0x11d362(_0x541600,_0x5b19ce);_0x1cf1e4&&(_0x1cf1e4['displayName']=_0x319da0);}function _0x14a47d(_0xe45747,_0x398211){const _0x315aee=_0x2eb37b,{fieldId:_0x1384c2,collapse:_0x39e145,item:_0x161bf6}=_0x398211;_0x161bf6!==void 0x0?(_0xe45747[_0x315aee(0x273)][_0x1384c2]=_0xe45747['collapseInfo'][_0x1384c2]||{},_0xe45747['collapseInfo'][_0x1384c2][_0x161bf6]=_0x39e145):_0xe45747[_0x315aee(0x273)][_0x1384c2]=_0x39e145;}function _0x2296f9(_0x10dbf2,_0x390596){const {fieldId:_0x177625,format:_0x3eab7a}=_0x390596,_0x3bc9d5=_0x11d362(_0x10dbf2,_0x177625);_0x3bc9d5&&(_0x3bc9d5['format']=_0x3eab7a);}function _0x5bd9a6(_0x583611,_0x1467e7){const _0x3be7c3=_0x2eb37b,{fieldId:_0x50d7fa,filterInfo:_0x1d5d79}=_0x1467e7,_0x2c0f05=_0x11d362(_0x583611,_0x50d7fa);_0x2c0f05&&(_0x2c0f05[_0x3be7c3(0x2de)]=_0x1d5d79);}function _0x364d96(_0x1b2720,_0x1dffae){const _0x30cbd1=_0x2eb37b,{fieldId:_0x2f8964,subtotalType:_0x87def1}=_0x1dffae,_0xedbafc=_0x11d362(_0x1b2720,_0x2f8964);_0xedbafc&&(_0xedbafc[_0x30cbd1(0x37d)]=_0x87def1);}function _0x500ecc(_0x1210f2,_0x2d726d){const _0x398a95=_0x2eb37b,{fieldId:_0x29d45c,oldArea:_0x1601ad,area:_0x5a2aee,oldIndex:_0x321faf,index:_0x1a1a95}=_0x2d726d,_0x3087ec=_0x1601ad!==_0x1263b0[_0x398a95(0x256)][_0x398a95(0x1ee)]&&_0x5a2aee===_0x1263b0[_0x398a95(0x256)]['Value'],_0xfda8ac=_0x1601ad===_0x1263b0[_0x398a95(0x256)][_0x398a95(0x1ee)]&&_0x5a2aee!==_0x1263b0[_0x398a95(0x256)][_0x398a95(0x1ee)];if(_0x3087ec||_0xfda8ac){const _0x34ea56=_0x11d362(_0x1210f2,_0x29d45c);_0x34ea56&&(_0x3087ec?(delete _0x1210f2['dimension'][_0x29d45c],_0x1210f2[_0x398a95(0x199)][_0x29d45c]=_0x34ea56):(delete _0x1210f2[_0x398a95(0x199)][_0x29d45c],_0x1210f2[_0x398a95(0x1da)][_0x29d45c]=_0x34ea56));}const _0x27a8a2=_0x1bd2e1(_0x1210f2,_0x1601ad),_0x240493=_0x1bd2e1(_0x1210f2,_0x5a2aee);_0x27a8a2['splice'](_0x321faf,0x1),_0x240493[_0x398a95(0x230)](_0x1a1a95,0x0,_0x29d45c);}function _0x2a0b4c(_0x2a8d57,_0xcc7fc0){const {valuePosition:_0x44da0c,index:_0x5dce17}=_0xcc7fc0;_0x2a8d57['valuePosition']=_0x44da0c,_0x2a8d57['valueIndex']=_0x5dce17;}function _0x347e9d(_0x2d46cb,_0x1ef5ee){const _0x524e61=_0x2eb37b,{tableFieldId:_0x14fe34,sourceName:_0xa617c,dataFieldId:_0x47010d}=_0x1ef5ee,_0x33e7f7=_0x11d362(_0x2d46cb,_0x14fe34);_0x33e7f7&&(_0x33e7f7[_0x524e61(0x181)]=_0xa617c,_0x33e7f7['dataFieldId']=_0x47010d);}function _0x102d43(_0x223d11,_0x1c2c3b){const _0xbdc78e=_0x2eb37b,{fieldId:_0x41f570,sortInfo:_0x2c1be1}=_0x1c2c3b,_0xc097=_0x11d362(_0x223d11,_0x41f570);_0xc097&&(_0xc097[_0xbdc78e(0x3c2)]=_0x2c1be1);}function _0x3bb735(_0x33c872,_0x682fde){const _0x48353e=_0x2eb37b,{options:_0x51c269}=_0x682fde;_0x33c872[_0x48353e(0x228)]={..._0x33c872[_0x48353e(0x228)],..._0x51c269};}const _0x17856e={'type':_0x2a947c[_0x2eb37b(0x2bf)][_0x2eb37b(0x374)],'id':_0x2eb37b(0x39d),'handler'(_0x514de9,_0x21c575){const _0x5b5196=_0x2eb37b;if(!_0x21c575)return!0x1;if(!!_0x514de9[_0x5b5196(0x3d1)](_0x2a947c[_0x5b5196(0x304)])[_0x5b5196(0x39c)](_0x5ed8cc))return!0x0;const _0x5d8cd1=_0x514de9[_0x5b5196(0x3d1)](_0x1bf211[_0x5b5196(0x302)]),{pivotTableId:_0x3a43e5,fieldJson:_0x4c84e9,area:_0x4acf92,index:_0x49355d,unitId:_0x2143d5,subUnitId:_0x2d8081}=_0x21c575,_0x24159b=_0x5d8cd1['getPivotTableInstance'](_0x3a43e5);if(!_0x24159b)return!0x1;let _0x70cb5e;_0x4acf92===_0x1263b0[_0x5b5196(0x256)][_0x5b5196(0x1ee)]?_0x70cb5e=_0x1263b0[_0x5b5196(0x1ac)](_0x4c84e9):_0x70cb5e=_0x1263b0[_0x5b5196(0x33d)](_0x4c84e9),_0x24159b[_0x5b5196(0x3d9)](_0x70cb5e,_0x4acf92,_0x49355d);const _0x369665=_0x5d8cd1['getPivotTableModelConfig'](_0x2143d5,_0x2d8081,_0x3a43e5);_0x16399e(_0x369665,_0x21c575);const _0x32b154=_0x5d8cd1[_0x5b5196(0x2c5)](_0x2143d5,_0x2d8081,_0x3a43e5);return _0x5d8cd1[_0x5b5196(0x317)]({'unitId':_0x2143d5,'subUnitId':_0x2d8081,'token':_0x3a43e5,'type':_0x3eb1d6[_0x5b5196(0x1fd)],'pivotConfig':_0x32b154}),!0x0;}},_0x553c91={'type':_0x2a947c[_0x2eb37b(0x2bf)][_0x2eb37b(0x374)],'id':_0x2eb37b(0x259),'handler'(_0x3293da,_0x95537){const _0x3ca766=_0x2eb37b;if(!_0x95537)return!0x1;if(!!_0x3293da['get'](_0x2a947c[_0x3ca766(0x304)])[_0x3ca766(0x39c)](_0x5ed8cc))return!0x0;const _0x5b1da4=_0x3293da[_0x3ca766(0x3d1)](_0x1bf211['SheetsPivotDataSourceModel']),{pivotTableId:_0x39f09d,fieldId:_0x18d142,unitId:_0x14e46c,subUnitId:_0x9336f4}=_0x95537,_0x27a5b6=_0x5b1da4[_0x3ca766(0x1f7)](_0x39f09d);if(!_0x27a5b6)return!0x1;_0x27a5b6[_0x3ca766(0x38b)](_0x18d142);const _0x48ad4c=_0x5b1da4[_0x3ca766(0x2a8)](_0x14e46c,_0x9336f4,_0x39f09d);_0x147d23(_0x48ad4c,_0x95537);const _0x15eee8=_0x5b1da4[_0x3ca766(0x2c5)](_0x14e46c,_0x9336f4,_0x39f09d);return _0x5b1da4[_0x3ca766(0x317)]({'unitId':_0x14e46c,'subUnitId':_0x9336f4,'token':_0x39f09d,'type':_0x3eb1d6[_0x3ca766(0x1fd)],'pivotConfig':_0x15eee8}),!0x0;}},_0x3380bc={'type':_0x2a947c[_0x2eb37b(0x2bf)][_0x2eb37b(0x374)],'id':_0x2eb37b(0x240),'handler'(_0x24152c,_0x43a4f8){const _0x4067a2=_0x2eb37b;if(!_0x43a4f8)return!0x1;if(!!_0x24152c[_0x4067a2(0x3d1)](_0x2a947c[_0x4067a2(0x304)])['getConfig'](_0x5ed8cc))return!0x0;const _0x6a5ece=_0x24152c[_0x4067a2(0x3d1)](_0x1bf211[_0x4067a2(0x302)]),{unitId:_0x51b114,subUnitId:_0x436b5d,pivotTableId:_0x8b99d7,fieldId:_0x4657cc,name:_0x3b2355}=_0x43a4f8,_0x187030=_0x6a5ece[_0x4067a2(0x1f7)](_0x8b99d7);if(!_0x187030)return!0x1;_0x187030[_0x4067a2(0x352)](_0x4657cc,_0x3b2355);const _0x38fbfe=_0x6a5ece[_0x4067a2(0x2a8)](_0x51b114,_0x436b5d,_0x8b99d7);return _0x430f58(_0x38fbfe,_0x43a4f8),_0x6a5ece[_0x4067a2(0x317)]({'unitId':_0x51b114,'subUnitId':_0x436b5d,'token':_0x8b99d7,'type':_0x3eb1d6[_0x4067a2(0x1fd)]}),!0x0;}},_0x329154={'type':_0x2a947c[_0x2eb37b(0x2bf)]['MUTATION'],'id':_0x2eb37b(0x23e),'handler'(_0x36b295,_0x5a28c8){const _0x3abaeb=_0x2eb37b;if(!_0x5a28c8)return!0x1;if(!!_0x36b295[_0x3abaeb(0x3d1)](_0x2a947c[_0x3abaeb(0x304)])[_0x3abaeb(0x39c)](_0x5ed8cc))return!0x0;const _0x22bbcf=_0x36b295[_0x3abaeb(0x3d1)](_0x1bf211[_0x3abaeb(0x302)]),{unitId:_0x58bf3e,subUnitId:_0x2066a0,pivotTableId:_0x528099,fieldId:_0x2774e7,collapse:_0x390991,item:_0x41ddfb}=_0x5a28c8,_0x51bbc1=_0x22bbcf['getPivotTableInstance'](_0x528099);if(!_0x51bbc1)return!0x1;_0x51bbc1[_0x3abaeb(0x3c0)](_0x2774e7,_0x390991,_0x41ddfb);const _0x47a850=_0x22bbcf[_0x3abaeb(0x2a8)](_0x58bf3e,_0x2066a0,_0x528099);return _0x14a47d(_0x47a850,_0x5a28c8),_0x22bbcf[_0x3abaeb(0x317)]({'unitId':_0x58bf3e,'subUnitId':_0x2066a0,'token':_0x528099,'type':_0x3eb1d6[_0x3abaeb(0x1fd)]}),!0x0;}},_0xd81a46={'type':_0x2a947c[_0x2eb37b(0x2bf)]['MUTATION'],'id':_0x2eb37b(0x260),'handler'(_0x2f3c74,_0x33578c){const _0x1e833d=_0x2eb37b;if(!_0x33578c)return!0x1;if(!!_0x2f3c74[_0x1e833d(0x3d1)](_0x2a947c[_0x1e833d(0x304)])[_0x1e833d(0x39c)](_0x5ed8cc))return!0x0;const _0x38720f=_0x2f3c74[_0x1e833d(0x3d1)](_0x1bf211[_0x1e833d(0x302)]),{unitId:_0x516c84,subUnitId:_0x4fd89e,pivotTableId:_0x235497,fieldId:_0xd207cb,format:_0x5caf3b}=_0x33578c,_0x367865=_0x38720f[_0x1e833d(0x1f7)](_0x235497);if(!_0x367865)return!0x1;_0x367865[_0x1e833d(0x22f)](_0xd207cb,_0x5caf3b);const _0x1a03c7=_0x38720f[_0x1e833d(0x2a8)](_0x516c84,_0x4fd89e,_0x235497);return _0x2296f9(_0x1a03c7,_0x33578c),_0x38720f[_0x1e833d(0x317)]({'unitId':_0x516c84,'subUnitId':_0x4fd89e,'token':_0x235497,'type':_0x3eb1d6[_0x1e833d(0x1fd)]}),!0x0;}},_0x15b675={'type':_0x2a947c['CommandType']['MUTATION'],'id':_0x2eb37b(0x386),'handler'(_0x179881,_0x56aba9){const _0x1d5c41=_0x2eb37b;if(!_0x56aba9)return!0x1;if(!!_0x179881[_0x1d5c41(0x3d1)](_0x2a947c[_0x1d5c41(0x304)])[_0x1d5c41(0x39c)](_0x5ed8cc))return!0x0;const _0x2a3736=_0x179881[_0x1d5c41(0x3d1)](_0x1bf211['SheetsPivotDataSourceModel']),{unitId:_0x16cb91,subUnitId:_0x55d1ee,pivotTableId:_0x3d58a4,fieldId:_0x320cea,filterInfo:_0xb95ec6}=_0x56aba9,_0x7c5349=_0x2a3736[_0x1d5c41(0x1f7)](_0x3d58a4);if(!_0x7c5349)return!0x1;_0x7c5349[_0x1d5c41(0x300)](_0x320cea,_0xb95ec6);const _0x31aaaf=_0x2a3736['getPivotTableModelConfig'](_0x16cb91,_0x55d1ee,_0x3d58a4);return _0x5bd9a6(_0x31aaaf,_0x56aba9),_0x2a3736['addDirtyPivotTable']({'unitId':_0x16cb91,'subUnitId':_0x55d1ee,'token':_0x3d58a4,'type':_0x3eb1d6[_0x1d5c41(0x1fd)]}),!0x0;}},_0x5d4ba8={'type':_0x2a947c['CommandType'][_0x2eb37b(0x374)],'id':_0x2eb37b(0x1c8),'handler'(_0x34b65a,_0x2f62a8){const _0x5533e1=_0x2eb37b;if(!_0x2f62a8)return!0x1;if(!!_0x34b65a['get'](_0x2a947c[_0x5533e1(0x304)])['getConfig'](_0x5ed8cc))return!0x0;const _0x453060=_0x34b65a[_0x5533e1(0x3d1)](_0x1bf211[_0x5533e1(0x302)]),{unitId:_0x2e6e4d,subUnitId:_0x32b14c,pivotTableId:_0x1129fc,options:_0x2ce7a6}=_0x2f62a8,_0x4678a5=_0x453060[_0x5533e1(0x1f7)](_0x1129fc);if(!_0x4678a5)return!0x1;_0x4678a5[_0x5533e1(0x1ad)](_0x2ce7a6);const _0x21ad29=_0x453060[_0x5533e1(0x2a8)](_0x2e6e4d,_0x32b14c,_0x1129fc);return _0x3bb735(_0x21ad29,_0x2f62a8),_0x453060['addDirtyPivotTable']({'unitId':_0x2e6e4d,'subUnitId':_0x32b14c,'token':_0x1129fc,'type':_0x3eb1d6[_0x5533e1(0x1fd)]}),!0x0;}},_0x161d8b={'type':_0x2a947c[_0x2eb37b(0x2bf)]['MUTATION'],'id':_0x2eb37b(0x1a0),'handler'(_0x2bc469,_0xb173b4){const _0x444684=_0x2eb37b;if(!_0xb173b4)return!0x1;if(!!_0x2bc469[_0x444684(0x3d1)](_0x2a947c[_0x444684(0x304)])['getConfig'](_0x5ed8cc))return!0x0;const _0x202664=_0x2bc469[_0x444684(0x3d1)](_0x1bf211[_0x444684(0x302)]),{unitId:_0x352d6d,subUnitId:_0x20c2a4,pivotTableId:_0x2935cf,sortInfo:_0x5e88ad,fieldId:_0x1ef230}=_0xb173b4,_0x425e00=_0x202664[_0x444684(0x1f7)](_0x2935cf);if(!_0x425e00)return!0x1;_0x425e00[_0x444684(0x213)](_0x1ef230,_0x5e88ad);const _0x517e72=_0x202664[_0x444684(0x2a8)](_0x352d6d,_0x20c2a4,_0x2935cf);return _0x102d43(_0x517e72,_0xb173b4),_0x202664[_0x444684(0x317)]({'unitId':_0x352d6d,'subUnitId':_0x20c2a4,'token':_0x2935cf,'type':_0x3eb1d6[_0x444684(0x1fd)]}),!0x0;}},_0x29b4f9={'type':_0x2a947c[_0x2eb37b(0x2bf)][_0x2eb37b(0x374)],'id':_0x2eb37b(0x21f),'handler'(_0x55865f,_0x275f98){const _0x5d1487=_0x2eb37b;if(!_0x275f98)return!0x1;if(!!_0x55865f[_0x5d1487(0x3d1)](_0x2a947c[_0x5d1487(0x304)])[_0x5d1487(0x39c)](_0x5ed8cc))return!0x0;const _0x153210=_0x55865f[_0x5d1487(0x3d1)](_0x1bf211[_0x5d1487(0x302)]),{unitId:_0x1599c9,subUnitId:_0x4debb2,pivotTableId:_0x445671,fieldId:_0x249465,subtotalType:_0x579867}=_0x275f98,_0x3deb0f=_0x153210[_0x5d1487(0x1f7)](_0x445671);if(!_0x3deb0f)return!0x1;_0x3deb0f[_0x5d1487(0x238)](_0x249465,_0x579867);const _0x344cbe=_0x153210[_0x5d1487(0x2a8)](_0x1599c9,_0x4debb2,_0x445671);return _0x364d96(_0x344cbe,_0x275f98),_0x153210['addDirtyPivotTable']({'unitId':_0x1599c9,'subUnitId':_0x4debb2,'token':_0x445671,'type':_0x3eb1d6['Set']}),!0x0;}},_0x480ffa={'type':_0x2a947c[_0x2eb37b(0x2bf)][_0x2eb37b(0x374)],'id':_0x2eb37b(0x28a),'handler'(_0x1b81ee,_0x2d8650){const _0xb46425=_0x2eb37b;if(!_0x2d8650)return!0x1;if(!!_0x1b81ee[_0xb46425(0x3d1)](_0x2a947c[_0xb46425(0x304)])['getConfig'](_0x5ed8cc))return!0x0;const _0x5df8c3=_0x1b81ee[_0xb46425(0x3d1)](_0x1bf211['SheetsPivotDataSourceModel']),{unitId:_0xadf140,subUnitId:_0x5b10c9,pivotTableId:_0x4df1ed,area:_0x50eca9,index:_0x275a68,fieldId:_0x31d148}=_0x2d8650,_0x3769da=_0x5df8c3[_0xb46425(0x1f7)](_0x4df1ed);if(!_0x3769da)return!0x1;_0x3769da[_0xb46425(0x27f)](_0x31d148,_0x50eca9,_0x275a68);const _0x292c80=_0x5df8c3[_0xb46425(0x2a8)](_0xadf140,_0x5b10c9,_0x4df1ed);return _0x500ecc(_0x292c80,_0x2d8650),_0x5df8c3[_0xb46425(0x317)]({'unitId':_0xadf140,'subUnitId':_0x5b10c9,'token':_0x4df1ed,'type':_0x3eb1d6[_0xb46425(0x1fd)]}),!0x0;}},_0x3284ec={'type':_0x2a947c[_0x2eb37b(0x2bf)]['MUTATION'],'id':_0x2eb37b(0x1cb),'handler'(_0x19d78d,_0x5cc2e6){const _0x2a2bf6=_0x2eb37b;if(!_0x5cc2e6)return!0x1;if(!!_0x19d78d[_0x2a2bf6(0x3d1)](_0x2a947c[_0x2a2bf6(0x304)])[_0x2a2bf6(0x39c)](_0x5ed8cc))return!0x0;const _0x2252b6=_0x19d78d[_0x2a2bf6(0x3d1)](_0x1bf211[_0x2a2bf6(0x302)]),{unitId:_0x4eb50a,subUnitId:_0x28a707,pivotTableId:_0xa71fb3,sourceName:_0x3f11c9,dataFieldId:_0x109980,tableFieldId:_0x970974}=_0x5cc2e6,_0x89740c=_0x2252b6[_0x2a2bf6(0x1f7)](_0xa71fb3);if(!_0x89740c)return!0x1;_0x89740c[_0x2a2bf6(0x328)](_0x970974,_0x3f11c9,_0x109980);const _0x252a62=_0x2252b6[_0x2a2bf6(0x2a8)](_0x4eb50a,_0x28a707,_0xa71fb3);return _0x347e9d(_0x252a62,_0x5cc2e6),_0x2252b6[_0x2a2bf6(0x317)]({'unitId':_0x4eb50a,'subUnitId':_0x28a707,'token':_0xa71fb3,'type':_0x3eb1d6[_0x2a2bf6(0x1fd)]}),!0x0;}},_0x3a648a={'type':_0x2a947c[_0x2eb37b(0x2bf)]['MUTATION'],'id':_0x2eb37b(0x281),'handler'(_0x489064,_0x19b5cc){const _0x197a7e=_0x2eb37b;if(!_0x19b5cc)return!0x1;if(!!_0x489064[_0x197a7e(0x3d1)](_0x2a947c[_0x197a7e(0x304)])[_0x197a7e(0x39c)](_0x5ed8cc))return!0x0;const _0x125693=_0x489064[_0x197a7e(0x3d1)](_0x1bf211['SheetsPivotDataSourceModel']),{unitId:_0x4885ed,subUnitId:_0x12f042,pivotTableId:_0x258506,valuePosition:_0x5d176a,index:_0x3c8bcf}=_0x19b5cc,_0x3f8b1f=_0x125693[_0x197a7e(0x1f7)](_0x258506);if(!_0x3f8b1f)return!0x1;_0x3f8b1f['updateValuePosition'](_0x5d176a,_0x3c8bcf);const _0x45ff13=_0x125693[_0x197a7e(0x2a8)](_0x4885ed,_0x12f042,_0x258506);return _0x2a0b4c(_0x45ff13,_0x19b5cc),_0x125693['addDirtyPivotTable']({'unitId':_0x4885ed,'subUnitId':_0x12f042,'token':_0x258506,'type':_0x3eb1d6[_0x197a7e(0x1fd)]}),!0x0;}};function _0x363561(_0x4f377f,_0xf19787,_0x2ef4da){const _0x373008=_0x2eb37b,{pivotTableId:_0x36802f,unitId:_0x1eeb6f,subUnitId:_0x202b15}=_0xf19787,_0x189553=[],_0xe6b8c7=[];for(const _0x5c240d of _0x2ef4da)switch(_0x5c240d[_0x373008(0x242)]){case _0x1263b0[_0x373008(0x283)][_0x373008(0x229)]:{const {fieldJson:_0x529e73,area:_0x9bcb07,index:_0x168ca7}=_0x5c240d,_0x19ea3e={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'fieldJson':_0x529e73,'area':_0x9bcb07,'index':_0x168ca7},_0x428271={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'fieldId':_0x529e73['id'],'area':_0x9bcb07,'index':_0x168ca7};_0x189553[_0x373008(0x335)]({'id':_0x17856e['id'],'params':_0x19ea3e}),_0xe6b8c7['unshift']({'id':_0x553c91['id'],'params':_0x428271});}break;case _0x1263b0[_0x373008(0x283)][_0x373008(0x25d)]:{const {fieldId:_0x1b161b,newSubtotalType:_0x553413,oldSubtotalType:_0x7549ef}=_0x5c240d,_0x2647f1={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'fieldId':_0x1b161b,'subtotalType':_0x553413};_0x189553[_0x373008(0x335)]({'id':_0x29b4f9['id'],'params':_0x2647f1});const _0x2640b2={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'fieldId':_0x1b161b,'subtotalType':_0x7549ef};_0xe6b8c7[_0x373008(0x1a6)]({'id':_0x29b4f9['id'],'params':_0x2640b2});}break;case _0x1263b0[_0x373008(0x283)]['RemoveField']:{const {fieldId:_0x1dfa44,fieldJson:_0x519974,area:_0x14789a,index:_0x1abbdc}=_0x5c240d,_0x33f95c={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'fieldId':_0x1dfa44,'index':_0x1abbdc,'area':_0x14789a};_0x189553[_0x373008(0x335)]({'id':_0x553c91['id'],'params':_0x33f95c});const _0x466ae6={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'fieldJson':_0x519974,'area':_0x14789a,'index':_0x1abbdc};_0xe6b8c7[_0x373008(0x1a6)]({'id':_0x17856e['id'],'params':_0x466ae6});}break;case _0x1263b0[_0x373008(0x283)][_0x373008(0x303)]:{const {fieldId:_0x1cb98e,oldName:_0x2c0274,newName:_0x12dbcc}=_0x5c240d,_0x58d6a8={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'fieldId':_0x1cb98e,'name':_0x12dbcc};_0x189553['push']({'id':_0x3380bc['id'],'params':_0x58d6a8});const _0x317ecb={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'fieldId':_0x1cb98e,'name':_0x2c0274};_0xe6b8c7[_0x373008(0x1a6)]({'id':_0x3380bc['id'],'params':_0x317ecb});}break;case _0x1263b0[_0x373008(0x283)][_0x373008(0x305)]:{const {fieldId:_0x466ef4,oldFilterInfo:_0x93c825,newFilterInfo:_0x524f31}=_0x5c240d,_0x160d83={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'fieldId':_0x466ef4,'filterInfo':_0x524f31};_0x189553[_0x373008(0x335)]({'id':_0x15b675['id'],'params':_0x160d83});const _0xbf3c81={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'fieldId':_0x466ef4,'filterInfo':_0x93c825};_0xe6b8c7[_0x373008(0x1a6)]({'id':_0x15b675['id'],'params':_0xbf3c81});}break;case _0x1263b0[_0x373008(0x283)]['SetSortInfo']:{const {fieldId:_0x18066d,oldSortInfo:_0x126541,newSortInfo:_0x475ac9}=_0x5c240d,_0xf0eb6={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'fieldId':_0x18066d,'sortInfo':_0x475ac9};_0x189553[_0x373008(0x335)]({'id':_0x161d8b['id'],'params':_0xf0eb6});const _0x3a6c4d={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'fieldId':_0x18066d,'sortInfo':_0x126541};_0xe6b8c7[_0x373008(0x1a6)]({'id':_0x161d8b['id'],'params':_0x3a6c4d});}break;case _0x1263b0[_0x373008(0x283)][_0x373008(0x23b)]:{const {oldOptions:_0x2e2b09,newOptions:_0x5abfc0}=_0x5c240d,_0x2c2cd5={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'options':_0x5abfc0};_0x189553['push']({'id':_0x5d4ba8['id'],'params':_0x2c2cd5});const _0x5b309d={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'options':_0x2e2b09};_0xe6b8c7[_0x373008(0x1a6)]({'id':_0x5d4ba8['id'],'params':_0x5b309d});}break;case _0x1263b0[_0x373008(0x283)][_0x373008(0x353)]:{const {oldArea:_0x43b0c2,newArea:_0x2361f9,oldIndex:_0x17a06f,newIndex:_0x38b9ec,fieldId:_0x127999}=_0x5c240d,_0x54a5b5={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'fieldId':_0x127999,'area':_0x2361f9,'index':_0x38b9ec,'oldArea':_0x43b0c2,'oldIndex':_0x17a06f};_0x189553[_0x373008(0x335)]({'id':_0x480ffa['id'],'params':_0x54a5b5});const _0x2743c8={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'fieldId':_0x127999,'area':_0x43b0c2,'index':_0x17a06f,'oldArea':_0x2361f9,'oldIndex':_0x38b9ec};_0xe6b8c7['unshift']({'id':_0x480ffa['id'],'params':_0x2743c8});}break;case _0x1263b0[_0x373008(0x283)][_0x373008(0x34f)]:{const {oldValuePosition:_0x1fd549,newValuePosition:_0x17bc07,oldIndex:_0x365c09,newIndex:_0x420927}=_0x5c240d,_0xdb8936={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'valuePosition':_0x17bc07,'index':_0x420927};_0x189553[_0x373008(0x335)]({'id':_0x3a648a['id'],'params':_0xdb8936});const _0x8dde5f={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'valuePosition':_0x1fd549,'index':_0x365c09};_0xe6b8c7[_0x373008(0x1a6)]({'id':_0x3a648a['id'],'params':_0x8dde5f});}break;case _0x1263b0[_0x373008(0x283)][_0x373008(0x348)]:{const {fieldId:_0x2082c5,collapse:_0x3551c8,item:_0x11a919}=_0x5c240d,_0x4432c1={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'fieldId':_0x2082c5,'collapse':_0x3551c8,'item':_0x11a919};_0x189553['push']({'id':_0x329154['id'],'params':_0x4432c1});const _0x223e00={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'fieldId':_0x2082c5,'collapse':!_0x3551c8,'item':_0x11a919};_0xe6b8c7[_0x373008(0x1a6)]({'id':_0x329154['id'],'params':_0x223e00});}break;case _0x1263b0[_0x373008(0x283)]['SetFieldFormat']:{const {newFormat:_0x16214a,oldFormat:_0x799256,fieldId:_0x2322ca}=_0x5c240d,_0x107cd4={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'fieldId':_0x2322ca,'format':_0x16214a};_0x189553[_0x373008(0x335)]({'id':_0xd81a46['id'],'params':_0x107cd4});const _0x5bbf57={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'fieldId':_0x2322ca,'format':_0x799256};_0xe6b8c7[_0x373008(0x1a6)]({'id':_0xd81a46['id'],'params':_0x5bbf57});}break;case _0x1263b0[_0x373008(0x283)][_0x373008(0x3bf)]:{const {tableFieldId:_0x34abcb,oldSourceName:_0xacf301,newSourceName:_0xb71ef0,oldDataFieldId:_0x18bb02,newDataFieldId:_0x5db34b}=_0x5c240d,_0x956e02={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'tableFieldId':_0x34abcb,'sourceName':_0xb71ef0,'dataFieldId':_0x5db34b};_0x189553[_0x373008(0x335)]({'id':_0x3284ec['id'],'params':_0x956e02});const _0x22c676={'unitId':_0x1eeb6f,'subUnitId':_0x202b15,'pivotTableId':_0x36802f,'tableFieldId':_0x34abcb,'sourceName':_0xacf301,'dataFieldId':_0x18bb02};_0xe6b8c7['unshift']({'id':_0x3284ec['id'],'params':_0x22c676});}break;}return{'redos':_0x189553,'undos':_0xe6b8c7};}const _0x5b1dcf=()=>typeof process<'u'&&process[_0x2eb37b(0x37a)]!=null&&process[_0x2eb37b(0x37a)][_0x2eb37b(0x1d9)]!=null,_0x10bc75={'type':_0x2a947c[_0x2eb37b(0x2bf)]['MUTATION'],'id':_0x2eb37b(0x393),'handler'(_0x4efbac,_0x229a34){const _0x4946ab=_0x2eb37b;var _0x22ac32;if(!_0x229a34)return!0x1;const _0x4f4026=_0x4efbac[_0x4946ab(0x3d1)](_0x2a947c[_0x4946ab(0x304)]);if(!!_0x4f4026[_0x4946ab(0x39c)](_0x5ed8cc))return!0x0;const _0x1925b9=_0x4efbac[_0x4946ab(0x3d1)](_0x2a947c[_0x4946ab(0x333)]),_0x3a3f28=_0x4efbac[_0x4946ab(0x3d1)](_0x1bf211[_0x4946ab(0x302)]),{pivotTableId:_0x2aa507,pivotTableConfig:_0x3b28f4,collectionConfig:_0x3eba23,unitId:_0x1bab7b,subUnitId:_0x189732}=_0x229a34,{sourceRangeInfo:_0x23960d,fieldsConfig:_0x5d8d2d,targetCellInfo:_0xf88e7c}=_0x3b28f4,_0x50ac33=_0x1925b9['getUnit'](_0x1bab7b);if(!_0x50ac33||!_0x50ac33[_0x4946ab(0x24d)](_0x189732))return!0x1;if(!_0x5b1dcf()){let _0x170efc=0x0;_0x50ac33[_0x4946ab(0x2d9)]()[_0x4946ab(0x265)](_0x2f24b5=>{const _0x301482=_0x4946ab;var _0x9a668,_0x415d01;_0x170efc+=(_0x415d01=(_0x9a668=_0x3a3f28['getSubUnitPivotConfigs'](_0x1bab7b,_0x2f24b5[_0x301482(0x2fa)]()))==null?void 0x0:_0x9a668['size'])!=null?_0x415d01:0x0;});const _0x32f08e=(_0x22ac32=_0x4f4026['getConfig'](_0x383fee[_0x4946ab(0x179)]))!=null?_0x22ac32:{},{ls:_0x571c96,pbk:_0x1dd12e}=_0x32f08e;if(!_0xb07640(_0x571c96,_0x1dd12e))throw new _0x2a947c[(_0x4946ab(0x25f))](_0x4946ab(0x3a4));const _0x83303c=_0x5a546a(_0x4d595f,_0x571c96,_0x1dd12e)[_0x4946ab(0x1ef)];if(_0x170efc>=_0x83303c)throw new _0x2a947c[(_0x4946ab(0x25f))](_0x4946ab(0x3a4));}if(!_0x3eba23||!_0x5d8d2d)return!0x1;const {collection:_0x561d89,updateDataFieldList:_0x5f4a6c}=_0x3a3f28['addCollectionByJSON'](_0x2aa507,_0x3eba23,_0x23960d,_0xf88e7c);_0x3a3f28['refreshData'](_0x561d89,_0x5f4a6c,_0x23960d);const _0x2bd0ff=new _0x1263b0[(_0x4946ab(0x34d))](_0x561d89);_0x2bd0ff[_0x4946ab(0x337)](_0x5d8d2d);const _0x545ede=JSON[_0x4946ab(0x24a)](JSON['stringify'](_0x3b28f4));return _0x3a3f28[_0x4946ab(0x1d7)](_0x1bab7b,_0x189732,_0x2aa507,_0x2bd0ff,_0x545ede),_0x3a3f28[_0x4946ab(0x317)]({'unitId':_0x1bab7b,'subUnitId':_0x189732,'token':_0x2aa507,'type':_0x3eb1d6[_0x4946ab(0x334)],'pivotConfig':_0x545ede}),!0x0;}},_0x4f5461={'type':_0x2a947c[_0x2eb37b(0x2bf)]['MUTATION'],'id':_0x2eb37b(0x1ca),'handler'(_0x2e5a48,_0x2d0eac){const _0x51a0b2=_0x2eb37b;if(!_0x2d0eac)return!0x1;if(!!_0x2e5a48[_0x51a0b2(0x3d1)](_0x2a947c['IConfigService'])[_0x51a0b2(0x39c)](_0x5ed8cc))return!0x0;const {pivotTableId:_0x521ac1,unitId:_0x37998a,subUnitId:_0x1dcfc2}=_0x2d0eac,_0x2f4c47=_0x2e5a48[_0x51a0b2(0x3d1)](_0x1bf211[_0x51a0b2(0x302)]);return _0x2f4c47['getPivotTableConfig'](_0x37998a,_0x1dcfc2,_0x521ac1)?(_0x2f4c47[_0x51a0b2(0x317)]({'unitId':_0x37998a,'subUnitId':_0x1dcfc2,'token':_0x521ac1,'type':_0x3eb1d6[_0x51a0b2(0x1de)]}),_0x2f4c47[_0x51a0b2(0x246)](_0x37998a,_0x1dcfc2,_0x521ac1),!0x0):!0x1;}},_0x98b456={'type':_0x2a947c['CommandType'][_0x2eb37b(0x374)],'id':'sheet.mutation.set-pivot-position','handler'(_0x123909,_0x5965b6){const _0x53f89f=_0x2eb37b;if(!_0x5965b6)return!0x1;if(!!_0x123909[_0x53f89f(0x3d1)](_0x2a947c[_0x53f89f(0x304)])[_0x53f89f(0x39c)](_0x5ed8cc))return!0x0;const {pivotTableId:_0x37d07f,targetCellPosition:_0x43515d,unitId:_0x117f20,subUnitId:_0x25ce84}=_0x5965b6,_0x46c09f=_0x123909[_0x53f89f(0x3d1)](_0x1bf211[_0x53f89f(0x302)]);if(!_0x46c09f[_0x53f89f(0x1f7)](_0x5965b6[_0x53f89f(0x28e)]))return!0x1;const _0x9354fc=_0x46c09f['getPivotTableConfig'](_0x117f20,_0x25ce84,_0x37d07f);if(!_0x9354fc)return!0x1;const _0xfe50fd=_0x2a947c[_0x53f89f(0x329)][_0x53f89f(0x3b2)](_0x9354fc);return _0xfe50fd[_0x53f89f(0x3bd)]={'unitId':_0x117f20,'subUnitId':_0x25ce84,'row':_0x43515d['row'],'col':_0x43515d[_0x53f89f(0x2ae)]},_0x46c09f['setPivotTable'](_0x117f20,_0x25ce84,_0x37d07f,_0xfe50fd),_0x46c09f[_0x53f89f(0x317)]({'unitId':_0x117f20,'subUnitId':_0x25ce84,'token':_0x37d07f,'type':_0x3eb1d6[_0x53f89f(0x1fd)]}),!0x0;}},_0x2ffebb={'type':_0x2a947c[_0x2eb37b(0x2bf)]['MUTATION'],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0xb6a8f8,_0x422f2a){const _0x236886=_0x2eb37b;if(!_0x422f2a)return!0x1;if(!!_0xb6a8f8[_0x236886(0x3d1)](_0x2a947c[_0x236886(0x304)])['getConfig'](_0x5ed8cc))return!0x0;const _0x2e93c8=_0xb6a8f8[_0x236886(0x3d1)](_0x1bf211['SheetsPivotDataSourceModel']),{pivotTableId:_0x6f5aba,deleteIds:_0x340fbc,collectionJSON:_0x195d82,dataRangeInfo:_0x59396b,unitId:_0x32b090,subUnitId:_0x3dc20b}=_0x422f2a,_0x4410bc=_0x2e93c8['getPivotTableInstance'](_0x6f5aba),_0x8db448=_0x2e93c8[_0x236886(0x2c5)](_0x32b090,_0x3dc20b,_0x6f5aba);if(!_0x4410bc||!_0x8db448)return!0x1;const {collection:_0x5e035f,updateDataFieldList:_0x2b0af4}=_0x2e93c8['addCollectionByJSON'](_0x6f5aba,_0x195d82,_0x59396b,_0x8db448['targetCellInfo']);_0x2e93c8[_0x236886(0x2cb)](_0x5e035f,_0x2b0af4,_0x59396b),_0x4410bc[_0x236886(0x25b)](_0x5e035f);for(const _0x482e18 of _0x340fbc)_0x2e93c8['removeDataField'](_0x59396b[_0x236886(0x237)],_0x482e18);const _0x138d2c=_0x2e93c8[_0x236886(0x2c5)](_0x32b090,_0x3dc20b,_0x6f5aba);return _0x138d2c[_0x236886(0x323)]=JSON[_0x236886(0x24a)](JSON[_0x236886(0x1b0)](_0x59396b)),_0x2e93c8[_0x236886(0x317)]({'unitId':_0x32b090,'subUnitId':_0x3dc20b,'token':_0x6f5aba,'type':_0x3eb1d6[_0x236886(0x1fd)]}),!0x0;}},_0x2b917b={'type':_0x2a947c[_0x2eb37b(0x2bf)]['MUTATION'],'id':_0x2eb37b(0x1b9),'handler'(){return!0x0;}};var _0x496c0f=Object['defineProperty'],_0x236066=Object[_0x2eb37b(0x1d8)],_0x3c43f2=(_0xd723dd,_0x516dc9,_0x4f0d6e,_0xc015cf)=>{const _0x2259fe=_0x2eb37b;for(var _0x42fefe=_0xc015cf>0x1?void 0x0:_0xc015cf?_0x236066(_0x516dc9,_0x4f0d6e):_0x516dc9,_0x81d986=_0xd723dd[_0x2259fe(0x20b)]-0x1,_0x1bdad1;_0x81d986>=0x0;_0x81d986--)(_0x1bdad1=_0xd723dd[_0x81d986])&&(_0x42fefe=(_0xc015cf?_0x1bdad1(_0x516dc9,_0x4f0d6e,_0x42fefe):_0x1bdad1(_0x42fefe))||_0x42fefe);return _0xc015cf&&_0x42fefe&&_0x496c0f(_0x516dc9,_0x4f0d6e,_0x42fefe),_0x42fefe;},_0x33ef08=(_0x129129,_0x348dd9)=>(_0x2cad96,_0xea313c)=>_0x348dd9(_0x2cad96,_0xea313c,_0x129129);_0x1bf211[_0x2eb37b(0x1d6)]=class extends _0x2a947c[_0x2eb37b(0x2ac)]{constructor(_0x1d4fdc,_0x14a40a,_0x297b10){const _0x3eafa1=_0x2eb37b;super(),_0x1a5fc9(this,'_model',new Map()),_0x1a5fc9(this,_0x3eafa1(0x36e),new Map()),_0x1a5fc9(this,'_pivotTableRangeInfo',new Map()),_0x1a5fc9(this,_0x3eafa1(0x1b1),new Map()),_0x1a5fc9(this,_0x3eafa1(0x1ea),new _0x293b36['Subject']()),_0x1a5fc9(this,'_pivotInitCompleted$',new _0x293b36[(_0x3eafa1(0x1d2))]()),_0x1a5fc9(this,_0x3eafa1(0x3ba),this[_0x3eafa1(0x241)][_0x3eafa1(0x3c4)]()),_0x1a5fc9(this,_0x3eafa1(0x1fc),new _0x293b36[(_0x3eafa1(0x1d2))]()),_0x1a5fc9(this,_0x3eafa1(0x389),this['_pivotConfigChange$'][_0x3eafa1(0x3c4)]()),_0x1a5fc9(this,_0x3eafa1(0x1f1),{}),_0x1a5fc9(this,_0x3eafa1(0x31b),this[_0x3eafa1(0x1ea)][_0x3eafa1(0x3c4)]()),(this['_injector']=_0x1d4fdc,this[_0x3eafa1(0x23c)]=_0x14a40a,this[_0x3eafa1(0x1c1)]=_0x297b10,this[_0x3eafa1(0x1a7)](),this[_0x3eafa1(0x24f)]());}[_0x2eb37b(0x24f)](){const _0x1d0f08=_0x2eb37b;this['disposeWithMe'](this[_0x1d0f08(0x1c1)][_0x1d0f08(0x3cd)](_0x2a947c[_0x1d0f08(0x36f)][_0x1d0f08(0x275)])[_0x1d0f08(0x357)](_0x4e7424=>{this['deleteUnitId'](_0x4e7424['getUnitId']());}));}[_0x2eb37b(0x384)](){const _0x5c3862=_0x2eb37b;this[_0x5c3862(0x241)][_0x5c3862(0x2ef)](!0x0);}[_0x2eb37b(0x1a7)](){const _0xc0ba46=_0x2eb37b,_0x389f7b=_0xc05d38(this['_injector'],_0x4b9693,'',{});this[_0xc0ba46(0x1f1)]=_0x389f7b,this[_0xc0ba46(0x23c)]['executeCommand'](_0xb566b4['id'],{'textInfo':_0x389f7b},{'onlyLocal':!0x0});}[_0x2eb37b(0x341)](){const _0x4bf378=_0x2eb37b;return this[_0x4bf378(0x1f1)];}[_0x2eb37b(0x247)](_0x366b7a,_0xab1be7,_0x3a35e1,_0x5528d3,_0x340ffd){const _0x34c39a=_0x2eb37b;this[_0x34c39a(0x2a0)](_0x366b7a,_0xab1be7,_0x3a35e1,_0x5528d3),this[_0x34c39a(0x2e7)](_0x366b7a,_0xab1be7,_0x3a35e1,_0x340ffd);}['getPivotTableConfig'](_0x4a6538,_0x575f0f,_0x595445){const _0x2c383c=_0x2eb37b;var _0x3178ad;const _0x212e90=(_0x3178ad=this[_0x2c383c(0x3be)][_0x2c383c(0x3d1)](_0x4a6538))==null?void 0x0:_0x3178ad[_0x2c383c(0x3d1)](_0x575f0f);if(_0x212e90)return _0x212e90[_0x2c383c(0x3d1)](_0x595445);}[_0x2eb37b(0x215)](_0x4f71c4,_0x18321a,_0x5d70a6){const _0xc0075a=_0x2eb37b,_0x17a5d6=this[_0xc0075a(0x2c5)](_0x4f71c4,_0x18321a,_0x5d70a6);return _0x17a5d6==null?void 0x0:_0x17a5d6[_0xc0075a(0x3bd)];}[_0x2eb37b(0x1b4)](_0xef27fc,_0x3d2089){const _0x443ace=_0x2eb37b;var _0x221e52;return(_0x221e52=this[_0x443ace(0x3be)][_0x443ace(0x3d1)](_0xef27fc))==null?void 0x0:_0x221e52[_0x443ace(0x3d1)](_0x3d2089);}[_0x2eb37b(0x264)](_0xe57146,_0x56b60c,_0x11e4f1,_0x429168){const _0x5dfb19=_0x2eb37b,_0x142f85=this[_0x5dfb19(0x2c1)](_0xe57146,_0x56b60c);_0x429168?_0x142f85[_0x5dfb19(0x39a)](_0x11e4f1,_0x429168):_0x142f85[_0x5dfb19(0x2d5)](_0x11e4f1),this[_0x5dfb19(0x1fc)][_0x5dfb19(0x2ef)]({'unitId':_0xe57146,'subUnitId':_0x56b60c,'pivotTableId':_0x11e4f1,'pivotTableConfig':_0x429168});}['getCollection'](_0x1c27bb,_0x2a6de4){const _0x5550a8=_0x2eb37b;var _0x538a47;return(_0x538a47=this[_0x5550a8(0x36e)][_0x5550a8(0x3d1)](_0x1c27bb))==null?void 0x0:_0x538a47[_0x5550a8(0x1d4)][_0x2a6de4];}['updateCollectionConfig'](_0x5c30a7,_0x147def){const _0xd07dd2=_0x2eb37b;this['_collectionConfigModel']['set'](_0x5c30a7,_0x147def),this[_0xd07dd2(0x1ea)][_0xd07dd2(0x2ef)](Math[_0xd07dd2(0x376)]());}[_0x2eb37b(0x2c1)](_0x4fec9f,_0x2f98f4){const _0x20a36e=_0x2eb37b;let _0x432d06=this['_model'][_0x20a36e(0x3d1)](_0x4fec9f);_0x432d06||(_0x432d06=new Map(),this[_0x20a36e(0x3be)][_0x20a36e(0x39a)](_0x4fec9f,_0x432d06));let _0x25ec5d=_0x432d06[_0x20a36e(0x3d1)](_0x2f98f4);return _0x25ec5d||(_0x25ec5d=new Map(),_0x432d06[_0x20a36e(0x39a)](_0x2f98f4,_0x25ec5d)),_0x25ec5d;}[_0x2eb37b(0x1fe)](_0x54478f,_0x1bc27d){const _0x1f5cb5=_0x2eb37b;let _0x315590=this[_0x1f5cb5(0x322)][_0x1f5cb5(0x3d1)](_0x54478f);_0x315590||(_0x315590=new Map(),this[_0x1f5cb5(0x322)][_0x1f5cb5(0x39a)](_0x54478f,_0x315590));let _0x520484=_0x315590['get'](_0x1bc27d);return _0x520484||(_0x520484=new Map(),_0x315590[_0x1f5cb5(0x39a)](_0x1bc27d,_0x520484)),_0x520484;}[_0x2eb37b(0x3cc)](_0x29f5cf,_0x597da3){const _0x2a52b6=_0x2eb37b;let _0x24d1cd=this['_pivotTableMatrixInfo'][_0x2a52b6(0x3d1)](_0x29f5cf);_0x24d1cd||(_0x24d1cd=new Map(),this['_pivotTableMatrixInfo']['set'](_0x29f5cf,_0x24d1cd));let _0x644098=_0x24d1cd[_0x2a52b6(0x3d1)](_0x597da3);return _0x644098||(_0x644098=new Map(),_0x24d1cd[_0x2a52b6(0x39a)](_0x597da3,_0x644098)),_0x644098;}[_0x2eb37b(0x2e7)](_0x50553d,_0x3dd783,_0x504892,_0x196111){const _0x1c32fc=_0x2eb37b;var _0x1af036;const _0x45b1f9=this[_0x1c32fc(0x1fe)](_0x50553d,_0x3dd783),_0x18cbf4=(_0x1af036=_0x45b1f9[_0x1c32fc(0x3d1)](_0x504892))==null?void 0x0:_0x1af036[_0x1c32fc(0x200)];_0x45b1f9[_0x1c32fc(0x39a)](_0x504892,{'oldRangeInfo':_0x18cbf4,'rangeInfo':_0x196111});}[_0x2eb37b(0x2a0)](_0x1e87a5,_0x80b622,_0x37032f,_0x390021){const _0x2de2cd=_0x2eb37b;var _0x1d076b;const _0x357ea4=this['_ensurePivotTableMatrixInfo'](_0x1e87a5,_0x80b622),_0x21de63=(_0x1d076b=_0x357ea4['get'](_0x37032f))==null?void 0x0:_0x1d076b[_0x2de2cd(0x1bb)];_0x357ea4[_0x2de2cd(0x39a)](_0x37032f,{'oldMatrix':_0x21de63,'matrix':_0x390021});}['getPivotTableRangeInfo'](_0x2c6c1c,_0x2b18ba,_0x117307){const _0x31c6b6=_0x2eb37b;var _0x178a6d,_0x515113;return(_0x515113=(_0x178a6d=this[_0x31c6b6(0x322)][_0x31c6b6(0x3d1)](_0x2c6c1c))==null?void 0x0:_0x178a6d['get'](_0x2b18ba))==null?void 0x0:_0x515113['get'](_0x117307);}[_0x2eb37b(0x2e8)](_0x564287,_0x3885a5,_0x14b012){const _0x5a564a=_0x2eb37b;var _0x5f285a,_0x10c5dd;return(_0x10c5dd=(_0x5f285a=this[_0x5a564a(0x1b1)]['get'](_0x564287))==null?void 0x0:_0x5f285a['get'](_0x3885a5))==null?void 0x0:_0x10c5dd[_0x5a564a(0x3d1)](_0x14b012);}[_0x2eb37b(0x2b9)](_0x59cf68){const _0x211f53=_0x2eb37b;this['_model'][_0x211f53(0x2d5)](_0x59cf68),this[_0x211f53(0x36e)][_0x211f53(0x2d5)](_0x59cf68);}},_0x1bf211[_0x2eb37b(0x1d6)]=_0x3c43f2([_0x33ef08(0x0,_0x2a947c[_0x2eb37b(0x3b9)](_0x2a947c[_0x2eb37b(0x1db)])),_0x33ef08(0x1,_0x2a947c[_0x2eb37b(0x3b9)](_0x2a947c[_0x2eb37b(0x307)])),_0x33ef08(0x2,_0x2a947c['Inject'](_0x2a947c['IUniverInstanceService']))],_0x1bf211[_0x2eb37b(0x1d6)]);var _0x435552=Object[_0x2eb37b(0x398)],_0x2f2380=Object[_0x2eb37b(0x1d8)],_0x222a50=(_0x4c845e,_0x9bd1ec,_0x4b3cd5,_0x202309)=>{for(var _0x317a30=_0x202309>0x1?void 0x0:_0x202309?_0x2f2380(_0x9bd1ec,_0x4b3cd5):_0x9bd1ec,_0x254df6=_0x4c845e['length']-0x1,_0x41382e;_0x254df6>=0x0;_0x254df6--)(_0x41382e=_0x4c845e[_0x254df6])&&(_0x317a30=(_0x202309?_0x41382e(_0x9bd1ec,_0x4b3cd5,_0x317a30):_0x41382e(_0x317a30))||_0x317a30);return _0x202309&&_0x317a30&&_0x435552(_0x9bd1ec,_0x4b3cd5,_0x317a30),_0x317a30;},_0x28a352=(_0x160270,_0x494973)=>(_0x55b256,_0x21529b)=>_0x494973(_0x55b256,_0x21529b,_0x160270);_0x1bf211[_0x2eb37b(0x29a)]=class extends _0x2a947c[_0x2eb37b(0x2ac)]{constructor(_0x4770b0,_0x27f846,_0x3d3a47,_0x3ca280,_0xe81886){const _0x1f3fae=_0x2eb37b;super(),_0x1a5fc9(this,_0x1f3fae(0x278),new Map()),_0x1a5fc9(this,'_pivotRenderValueMatrixCache',new Map()),_0x1a5fc9(this,_0x1f3fae(0x3af),new _0x293b36['Subject']()),_0x1a5fc9(this,_0x1f3fae(0x2a9),this['_markDirty$'][_0x1f3fae(0x3c4)]()),_0x1a5fc9(this,_0x1f3fae(0x1c4),new _0x293b36[(_0x1f3fae(0x1d2))]()),_0x1a5fc9(this,_0x1f3fae(0x2a3),this[_0x1f3fae(0x1c4)][_0x1f3fae(0x3c4)]()),_0x1a5fc9(this,_0x1f3fae(0x1f1)),(this[_0x1f3fae(0x208)]=_0x4770b0,this['_injector']=_0x27f846,this['_sheetsPivotTableConfigModel']=_0x3d3a47,this[_0x1f3fae(0x1c1)]=_0x3ca280,this[_0x1f3fae(0x2d3)]=_0xe81886,this[_0x1f3fae(0x1a7)](),this[_0x1f3fae(0x24f)]());}[_0x2eb37b(0x24f)](){const _0x4b8ec9=_0x2eb37b;this[_0x4b8ec9(0x355)](this[_0x4b8ec9(0x1c1)]['getTypeOfUnitDisposed$'](_0x2a947c['UniverInstanceType'][_0x4b8ec9(0x275)])['subscribe'](_0xcce00b=>{const _0x13aead=_0x4b8ec9;this[_0x13aead(0x2b9)](_0xcce00b[_0x13aead(0x362)]());}));}[_0x2eb37b(0x1a7)](){const _0x1dae9d=_0x2eb37b;this[_0x1dae9d(0x1f1)]=_0xc05d38(this['_injector'],_0x4b9693,'',{});}[_0x2eb37b(0x2f6)](_0x4c80da){const _0x3082f4=_0x2eb37b,{view:_0x5bc2f2,unitId:_0x55a7a5,subUnitId:_0x1b7b14,pivotTableId:_0x499eee,type:_0x38bc86}=_0x4c80da,_0x29a7f8=this['_sheetsPivotTableConfigModel']['getPivotTableConfig'](_0x55a7a5,_0x1b7b14,_0x499eee);if(!_0x5bc2f2||!_0x29a7f8||_0x38bc86===_0x3eb1d6[_0x3082f4(0x1de)])return;const {pageView:_0x254fd7,cornerView:_0x3674b2,rowView:_0x73a4fd,colView:_0x475a53,dataView:_0x50c72a}=_0x5bc2f2,_0x59090f=_0x29a7f8[_0x3082f4(0x3bd)],_0x11f33f=_0x29a7f8[_0x3082f4(0x2ee)],_0x2e1545=this[_0x3082f4(0x222)](_0x55a7a5,_0x1b7b14),_0x2eeed5=this[_0x3082f4(0x17a)](_0x55a7a5,_0x1b7b14,_0x499eee);if(_0x11f33f)return this['_updateRenderEmptyCache'](_0x4c80da,_0x2e1545,_0x59090f,_0x2eeed5);{const _0x29762b=_0x5c1e40(_0x59090f,_0x254fd7,!0x0),_0x4e1060=_0x254fd7[_0x3082f4(0x189)]>=0x0?_0x254fd7[_0x3082f4(0x189)]+0x1:0x0,_0x4c700f=_0x3674b2[_0x3082f4(0x245)](),_0x5f4785=_0x3674b2[_0x3082f4(0x37c)](),_0x3026f1=_0x29762b[_0x3082f4(0x20b)]>0x0?_0x4b0e90:0x0,_0x56f520=_0x5c1e40({'row':_0x59090f['row']+_0x4e1060+_0x3026f1,'col':_0x59090f['col']},_0x3674b2,!0x1,!0x1),_0x556f7c=_0x5c1e40({'row':_0x59090f[_0x3082f4(0x236)]+_0x4e1060+_0x3026f1+_0x4c700f,'col':_0x59090f['col']},_0x73a4fd,!0x1,!0x0),_0x2465a7=_0x5c1e40({'row':_0x59090f['row']+_0x4e1060+_0x3026f1,'col':_0x59090f[_0x3082f4(0x2ae)]+_0x5f4785},_0x475a53,!0x1,!0x0),_0x412984=_0x5c1e40({'row':_0x59090f[_0x3082f4(0x236)]+_0x4e1060+_0x3026f1+_0x4c700f,'col':_0x59090f['col']+_0x5f4785},_0x50c72a,!0x1,!0x1);_0x2eeed5['rangesInfo']={'rowRanges':_0x556f7c,'colRanges':_0x2465a7,'cornerRanges':_0x56f520,'dataRanges':_0x412984,'pageRanges':_0x29762b};const _0x5159a9=_0x2da31e(this[_0x3082f4(0x254)],_0x5bc2f2,_0x29a7f8,this[_0x3082f4(0x1f1)]),{valueMatrix:_0x173637,rowInfo:_0x59290c,colInfo:_0x3cd0ab,cornerInfo:_0x38a794,rowHeaderMap:_0x515196,colHeaderMap:_0x1b4da1}=_0x5159a9;return _0x2eeed5[_0x3082f4(0x195)]={'rowInfo':_0x59290c,'colInfo':_0x3cd0ab,'cornerInfo':_0x38a794},_0x2eeed5[_0x3082f4(0x37e)]={'rowHeaderMap':_0x515196,'colHeaderMap':_0x1b4da1},_0x173637[_0x3082f4(0x265)]((_0x524fc8,_0x180b44)=>{const _0x48b7bc=_0x3082f4;Object[_0x48b7bc(0x2df)](_0x180b44)['forEach'](_0x334024=>{const _0x171c5a=_0x48b7bc,_0x24dfc1=+_0x334024,_0x203c4d=_0x173637[_0x171c5a(0x3a2)](_0x524fc8,_0x24dfc1);_0x2e1545[_0x171c5a(0x33e)](_0x524fc8,_0x24dfc1,_0x203c4d);});}),this[_0x3082f4(0x1c4)]['next']({'unitId':_0x55a7a5,'subUnitId':_0x1b7b14,'valueMatrix':_0x2e1545,'rangesCache':_0x2eeed5[_0x3082f4(0x1e0)],'pivotTableId':_0x499eee,'type':_0x4c80da[_0x3082f4(0x242)]}),this[_0x3082f4(0x2ed)][_0x3082f4(0x247)](_0x55a7a5,_0x1b7b14,_0x499eee,_0x2e1545,_0x2eeed5['rangesInfo']),this['_exclusiveRangeService'][_0x3082f4(0x21e)](_0x55a7a5,_0x1b7b14,_0x592d4e,this['_createExclusiveRange'](_0x2eeed5[_0x3082f4(0x1e0)],_0x499eee)),{'rangeCache':_0x2eeed5[_0x3082f4(0x1e0)],'matrix':_0x2e1545};}}[_0x2eb37b(0x2b7)](_0x1d978e,_0x185649,_0x1dcd9b,_0x202e1d){const _0x386753=_0x2eb37b,_0x30eb2d=this['_localeService']['t'],{unitId:_0x2d9790,subUnitId:_0x3d988f,pivotTableId:_0x2996f5}=_0x1d978e,_0x47590e={'filter':_0x30eb2d(_0x386753(0x2b3)),'row':_0x30eb2d(_0x386753(0x17f)),'column':_0x30eb2d('sheets-pivot.emptyPivot.column'),'values':_0x30eb2d('sheets-pivot.emptyPivot.values')},{matrixCache:_0x607c41,rangesCache:_0x741363}=_0x5ecace(_0x47590e,_0x1dcd9b);return _0x607c41[_0x386753(0x3c3)]((_0x575703,_0x46c156,_0x1117cd)=>{_0x185649['setValue'](_0x575703,_0x46c156,_0x1117cd);}),_0x202e1d[_0x386753(0x1e0)]=_0x741363,this[_0x386753(0x1c4)][_0x386753(0x2ef)]({'unitId':_0x2d9790,'subUnitId':_0x3d988f,'valueMatrix':_0x185649,'rangesCache':_0x741363,'pivotTableId':_0x2996f5,'type':_0x1d978e['type']}),this[_0x386753(0x2ed)][_0x386753(0x247)](_0x2d9790,_0x3d988f,_0x2996f5,_0x185649,_0x741363),this[_0x386753(0x2d3)]['addExclusiveRange'](_0x2d9790,_0x3d988f,_0x592d4e,this[_0x386753(0x201)](_0x741363,_0x2996f5)),{'rangeCache':_0x202e1d[_0x386753(0x1e0)],'matrix':_0x185649};}[_0x2eb37b(0x201)](_0x1d1d7f,_0x104358){const _0x25c8e0=[],_0x1e4113=_0x4a10a1(_0x1d1d7f);for(const _0x16ffec of _0x1e4113)_0x25c8e0['push']({'groupId':_0x104358,'range':_0x16ffec});return _0x25c8e0;}[_0x2eb37b(0x2c3)](_0x47bab8){const _0x577ac8=_0x2eb37b;var _0xb14ff0,_0x3b22c6,_0x37b132,_0x52179c;const {pivotTableId:_0x18617c,unitId:_0x54c2e4,subUnitId:_0x4fc46c}=_0x47bab8;if(!_0x18617c||!_0x54c2e4||!_0x4fc46c)return;const _0x21741e=this[_0x577ac8(0x222)](_0x54c2e4,_0x4fc46c),_0x1aea2a=(_0x3b22c6=(_0xb14ff0=this['_pivotRenderInfoCache'][_0x577ac8(0x3d1)](_0x54c2e4))==null?void 0x0:_0xb14ff0[_0x577ac8(0x3d1)](_0x4fc46c))==null?void 0x0:_0x3b22c6[_0x577ac8(0x3d1)](_0x18617c);if(_0x1aea2a!=null&&_0x1aea2a[_0x577ac8(0x1e0)]){for(const _0x25ecad of Object[_0x577ac8(0x2df)](_0x1aea2a[_0x577ac8(0x1e0)]))_0x1aea2a[_0x577ac8(0x1e0)][_0x25ecad][_0x577ac8(0x265)](_0x19d92a=>{const _0x2ce311=_0x577ac8;for(let _0x5a7f54=_0x19d92a[_0x2ce311(0x296)];_0x5a7f54<=_0x19d92a[_0x2ce311(0x1fb)];_0x5a7f54++)for(let _0x3cd6e1=_0x19d92a['startColumn'];_0x3cd6e1<=_0x19d92a[_0x2ce311(0x312)];_0x3cd6e1++)_0x21741e[_0x2ce311(0x1dd)](_0x5a7f54,_0x3cd6e1);});}_0x1aea2a&&((_0x52179c=(_0x37b132=this[_0x577ac8(0x278)][_0x577ac8(0x3d1)](_0x54c2e4))==null?void 0x0:_0x37b132['get'](_0x4fc46c))==null||_0x52179c['delete'](_0x18617c)),this[_0x577ac8(0x1c4)][_0x577ac8(0x2ef)]({'unitId':_0x54c2e4,'subUnitId':_0x4fc46c,'valueMatrix':_0x21741e,'pivotTableId':_0x18617c,'rangesCache':void 0x0,'type':_0x47bab8[_0x577ac8(0x242)]}),this[_0x577ac8(0x2d3)]['clearExclusiveRangesByGroupId'](_0x54c2e4,_0x4fc46c,_0x592d4e,_0x18617c);}[_0x2eb37b(0x17a)](_0x2bad4b,_0x5ad255,_0x1a7a30){const _0x25f50d=_0x2eb37b;var _0x15d52c,_0xdff2fd,_0x36ea9f,_0x2cda5f,_0x121c3a,_0x20c3da;return this[_0x25f50d(0x278)][_0x25f50d(0x1f4)](_0x2bad4b)||this[_0x25f50d(0x278)][_0x25f50d(0x39a)](_0x2bad4b,new Map()),(_0x15d52c=this[_0x25f50d(0x278)][_0x25f50d(0x3d1)](_0x2bad4b))!=null&&_0x15d52c['has'](_0x5ad255)||(_0xdff2fd=this[_0x25f50d(0x278)][_0x25f50d(0x3d1)](_0x2bad4b))==null||_0xdff2fd[_0x25f50d(0x39a)](_0x5ad255,new Map()),(_0x2cda5f=(_0x36ea9f=this[_0x25f50d(0x278)][_0x25f50d(0x3d1)](_0x2bad4b))==null?void 0x0:_0x36ea9f[_0x25f50d(0x3d1)](_0x5ad255))!=null&&_0x2cda5f[_0x25f50d(0x1f4)](_0x1a7a30)||(_0x20c3da=(_0x121c3a=this[_0x25f50d(0x278)]['get'](_0x2bad4b))==null?void 0x0:_0x121c3a[_0x25f50d(0x3d1)](_0x5ad255))==null||_0x20c3da[_0x25f50d(0x39a)](_0x1a7a30,{}),this[_0x25f50d(0x278)][_0x25f50d(0x3d1)](_0x2bad4b)[_0x25f50d(0x3d1)](_0x5ad255)['get'](_0x1a7a30);}[_0x2eb37b(0x222)](_0x5b8184,_0x44550e){const _0x9fcf4b=_0x2eb37b;var _0xa105c4,_0x722de6;return this['_pivotRenderValueMatrixCache'][_0x9fcf4b(0x1f4)](_0x5b8184)||this[_0x9fcf4b(0x39e)][_0x9fcf4b(0x39a)](_0x5b8184,new Map()),(_0xa105c4=this['_pivotRenderValueMatrixCache'][_0x9fcf4b(0x3d1)](_0x5b8184))!=null&&_0xa105c4[_0x9fcf4b(0x1f4)](_0x44550e)||(_0x722de6=this[_0x9fcf4b(0x39e)][_0x9fcf4b(0x3d1)](_0x5b8184))==null||_0x722de6['set'](_0x44550e,new _0x2a947c['ObjectMatrix']()),this[_0x9fcf4b(0x39e)][_0x9fcf4b(0x3d1)](_0x5b8184)['get'](_0x44550e);}[_0x2eb37b(0x30e)](_0x596b6c,_0xbb1387,_0x398b37,_0x31846d){const _0x4217cc=_0x2eb37b;var _0x126228,_0x5d2eab;const _0x1080fc=(_0x5d2eab=(_0x126228=this[_0x4217cc(0x39e)][_0x4217cc(0x3d1)](_0x596b6c))==null?void 0x0:_0x126228[_0x4217cc(0x3d1)](_0xbb1387))==null?void 0x0:_0x5d2eab[_0x4217cc(0x3a2)](_0x398b37,_0x31846d);if(_0x1080fc!=null)return _0x1080fc;}[_0x2eb37b(0x26e)](_0x2cd606,_0xeed27c,_0x1580d3,_0x41aa33){const _0x2a2a4c=_0x2eb37b;var _0x2d2df3;const _0x481778=_0x2a947c[_0x2a2a4c(0x2cc)](_0x1580d3,_0x41aa33),_0x11f87f=(_0x2d2df3=this[_0x2a2a4c(0x278)][_0x2a2a4c(0x3d1)](_0x2cd606))==null?void 0x0:_0x2d2df3[_0x2a2a4c(0x3d1)](_0xeed27c);return _0x11f87f?Array[_0x2a2a4c(0x3b7)](_0x11f87f[_0x2a2a4c(0x2df)]())[_0x2a2a4c(0x2c2)](_0x24085b=>{const _0x2fa61d=_0x2a2a4c,_0x226ae4=_0x11f87f['get'](_0x24085b),_0xadb3d0=_0x226ae4==null?void 0x0:_0x226ae4['rangesInfo'];return _0xadb3d0?Object['keys'](_0xadb3d0)[_0x2fa61d(0x325)](_0x584a9a=>_0xadb3d0[_0x584a9a]['some'](_0x9ea19a=>_0x2a947c['Rectangle'][_0x2fa61d(0x24c)](_0x9ea19a,_0x481778))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x18b554,_0x2e33b0,_0x3cde7f){const _0x2b524a=_0x2eb37b;var _0x112b1e;const _0x3736e1=(_0x112b1e=this[_0x2b524a(0x278)][_0x2b524a(0x3d1)](_0x18b554))==null?void 0x0:_0x112b1e[_0x2b524a(0x3d1)](_0x2e33b0),_0x57f368=[];return _0x3736e1&&Array['from'](_0x3736e1[_0x2b524a(0x2df)]())[_0x2b524a(0x265)](_0x377174=>{const _0x447533=_0x2b524a,_0x222cbe=_0x3736e1[_0x447533(0x3d1)](_0x377174),_0x4b33a3=_0x222cbe==null?void 0x0:_0x222cbe[_0x447533(0x1e0)];if(_0x4b33a3)for(const _0x5a577f of Object[_0x447533(0x32c)](_0x4b33a3)){let _0x1a75ec=!0x1;for(const _0x25bdda of _0x5a577f)if(_0x2a947c[_0x447533(0x2a6)][_0x447533(0x34a)](_0x25bdda,_0x3cde7f)){_0x57f368['push'](_0x377174),_0x1a75ec=!0x0;break;}if(_0x1a75ec)break;}}),_0x57f368;}[_0x2eb37b(0x19e)](_0x2ff0a0,_0x8a05fa){const _0x1b8424=_0x2eb37b;var _0x14608d,_0x3383e0;return(_0x3383e0=(_0x14608d=this[_0x1b8424(0x39e)][_0x1b8424(0x3d1)](_0x2ff0a0))==null?void 0x0:_0x14608d[_0x1b8424(0x3d1)](_0x8a05fa))!=null?_0x3383e0:new _0x2a947c[(_0x1b8424(0x366))]();}['getPivotItemRenderInfoCache'](_0x258155,_0x1d1040,_0x3d0296){const _0x164273=_0x2eb37b;var _0x12ad38,_0x4fa63c;return(_0x4fa63c=(_0x12ad38=this['_pivotRenderInfoCache'][_0x164273(0x3d1)](_0x258155))==null?void 0x0:_0x12ad38[_0x164273(0x3d1)](_0x1d1040))==null?void 0x0:_0x4fa63c[_0x164273(0x3d1)](_0x3d0296);}[_0x2eb37b(0x2b9)](_0x397c1b){const _0x3b69e9=_0x2eb37b;this[_0x3b69e9(0x278)]['delete'](_0x397c1b),this[_0x3b69e9(0x39e)][_0x3b69e9(0x2d5)](_0x397c1b);}[_0x2eb37b(0x206)](_0x1e3038,_0x13764f){const _0x58e0bb=_0x2eb37b;this[_0x58e0bb(0x3af)][_0x58e0bb(0x2ef)]({'unitId':_0x1e3038,'subUnitId':_0x13764f});}},_0x1bf211[_0x2eb37b(0x29a)]=_0x222a50([_0x28a352(0x0,_0x2a947c[_0x2eb37b(0x3b9)](_0x2a947c['LocaleService'])),_0x28a352(0x1,_0x2a947c[_0x2eb37b(0x3b9)](_0x2a947c[_0x2eb37b(0x1db)])),_0x28a352(0x2,_0x2a947c[_0x2eb37b(0x3b9)](_0x1bf211['SheetsPivotTableConfigModel'])),_0x28a352(0x3,_0x2a947c[_0x2eb37b(0x3b9)](_0x2a947c['IUniverInstanceService'])),_0x28a352(0x4,_0x2a947c[_0x2eb37b(0x3b9)](_0x179baf[_0x2eb37b(0x2f3)]))],_0x1bf211[_0x2eb37b(0x29a)]);var _0x20678f=Object[_0x2eb37b(0x398)],_0x19565f=Object[_0x2eb37b(0x1d8)],_0x411a47=(_0x72bf34,_0xca33bf,_0x50414c,_0x1256d3)=>{const _0x189108=_0x2eb37b;for(var _0x17f519=_0x1256d3>0x1?void 0x0:_0x1256d3?_0x19565f(_0xca33bf,_0x50414c):_0xca33bf,_0x4e0c57=_0x72bf34[_0x189108(0x20b)]-0x1,_0x65b5a;_0x4e0c57>=0x0;_0x4e0c57--)(_0x65b5a=_0x72bf34[_0x4e0c57])&&(_0x17f519=(_0x1256d3?_0x65b5a(_0xca33bf,_0x50414c,_0x17f519):_0x65b5a(_0x17f519))||_0x17f519);return _0x1256d3&&_0x17f519&&_0x20678f(_0xca33bf,_0x50414c,_0x17f519),_0x17f519;},_0x428153=(_0x2288a1,_0x2a129e)=>(_0x36c832,_0x240170)=>_0x2a129e(_0x36c832,_0x240170,_0x2288a1);_0x1bf211['SheetsPivotRPCService']=class extends _0x2a947c[_0x2eb37b(0x2ac)]{constructor(_0x1c870b,_0x33f58d){const _0x2eba74=_0x2eb37b;super(),_0x1a5fc9(this,'_requestResolvers',new Map()),(this[_0x2eba74(0x254)]=_0x1c870b,this[_0x2eba74(0x23c)]=_0x33f58d);}[_0x2eb37b(0x182)](_0x235f81){const _0x3e8026=_0x2eb37b,{version:_0x398245}=_0x235f81,_0x301f5d=this[_0x3e8026(0x299)][_0x3e8026(0x3d1)](_0x398245);_0x301f5d&&(_0x301f5d(_0x235f81),this[_0x3e8026(0x299)][_0x3e8026(0x2d5)](_0x398245));}['getPivotDisplayConfig'](_0x1ba377){return new Promise((_0x1632b2,_0x5f2122)=>{const _0x231f71=_0x1a8e,_0x4149d0=this[_0x231f71(0x3cf)]();this[_0x231f71(0x299)][_0x231f71(0x39a)](_0x4149d0,_0x1632b2),this[_0x231f71(0x23c)][_0x231f71(0x2a4)](_0x41e5a6['id'],{'version':_0x4149d0,..._0x1ba377},{'onlyLocal':!0x0});});}[_0x2eb37b(0x3cf)](){const _0x40301=_0x2eb37b;return Math[_0x40301(0x376)]()['toString'](0x24)[_0x40301(0x3ab)](0x2,0x10);}},_0x1bf211[_0x2eb37b(0x214)]=_0x411a47([_0x428153(0x0,_0x2a947c['Inject'](_0x2a947c[_0x2eb37b(0x1db)])),_0x428153(0x1,_0x2a947c[_0x2eb37b(0x3b9)](_0x2a947c[_0x2eb37b(0x307)]))],_0x1bf211['SheetsPivotRPCService']);const _0x1f691c={'type':_0x2a947c[_0x2eb37b(0x2bf)]['COMMAND'],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x128bd0,_0x16f8e1){const _0x4a2bf9=_0x2eb37b;if(!_0x16f8e1)return!0x1;const {sourceDataInfo:_0x3b3b1f,pivotTableConfig:_0x78b2c9}=_0x16f8e1;if(!_0x3b3b1f||!_0x78b2c9)return!0x1;const {unitId:_0x4ff022,subUnitId:_0x2f1bd0,range:_0x5a3669}=_0x3b3b1f,_0x4b23d3=_0x128bd0[_0x4a2bf9(0x3d1)](_0x2a947c[_0x4a2bf9(0x333)]),_0x364e5d=_0x128bd0['get'](_0x1bf211[_0x4a2bf9(0x214)]),_0x52bd42=_0x128bd0[_0x4a2bf9(0x3d1)](_0x2a947c[_0x4a2bf9(0x311)]),_0x29bfb1=_0x128bd0['get'](_0x2a947c[_0x4a2bf9(0x307)]),_0x5dc51e=_0x4b23d3[_0x4a2bf9(0x2fb)](_0x4ff022);if(!_0x5dc51e)return!0x1;const _0x1d5787=_0x5dc51e[_0x4a2bf9(0x24d)](_0x2f1bd0);if(!_0x1d5787)return!0x1;const _0x371e57=_0x1263b0[_0x4a2bf9(0x1bc)](0x8),_0x1620ab=_0x5a3669||{'startRow':0x0,'startColumn':0x0,'endRow':_0x1d5787[_0x4a2bf9(0x245)]()-0x1,'endColumn':_0x1d5787[_0x4a2bf9(0x2c7)]()-0x1};_0x1620ab[_0x4a2bf9(0x1a3)]=_0x2a947c[_0x4a2bf9(0x378)][_0x4a2bf9(0x2f5)];const _0x53a29c=(await _0x364e5d['getPivotDisplayConfig']({'unitId':_0x4ff022,'subUnitId':_0x2f1bd0,'pivotTableId':_0x371e57,'params':{'type':_0x2c82cd[_0x4a2bf9(0x25a)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x4ff022,'sheetName':_0x1d5787[_0x4a2bf9(0x1ae)](),'subUnitId':_0x2f1bd0,'range':_0x1620ab},'pivotTableIndexConfig':_0x78b2c9}}}))[_0x4a2bf9(0x367)][_0x4a2bf9(0x365)];if(!_0x53a29c)return!0x1;const {isEmpty:_0x18e554,fieldsConfig:_0xb96bb0,collectionConfig:_0xc3d843,changesets:_0x1b1b57}=_0x53a29c,_0x1592bf=_0x5dc51e[_0x4a2bf9(0x2d9)]()['length'],_0x427091=_0x2a947c[_0x4a2bf9(0x1e1)]({'rowCount':_0x1d5787[_0x4a2bf9(0x245)]()-0x1,'columnCount':_0x1d5787['getColumnCount']()-0x1});_0x427091['id']=_0x2a947c['generateRandomId'](),_0x427091['name']=_0x5dc51e[_0x4a2bf9(0x359)](''+_0x52bd42['t'](_0x4a2bf9(0x288)));const _0x4fe1da={'index':_0x1592bf,'sheet':_0x427091,'unitId':_0x4ff022},{redos:_0x301e23}=_0x363561(_0x29bfb1,{'pivotTableId':_0x371e57,'unitId':_0x4ff022,'subUnitId':_0x427091['id']},_0x1b1b57),_0x34cb4f=[{'id':_0x179baf['InsertSheetCommand']['id'],'params':_0x4fe1da},{'id':_0x10bc75['id'],'params':{'unitId':_0x4ff022,'subUnitId':_0x427091['id'],'pivotTableId':_0x371e57,'pivotTableConfig':{'isEmpty':_0x18e554,'fieldsConfig':_0xb96bb0,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x4ff022,'subUnitId':_0x427091['id']},'sourceRangeInfo':{'subUnitId':_0x2f1bd0,'unitId':_0x4ff022,'range':_0x1620ab,'sheetName':_0x1d5787[_0x4a2bf9(0x1ae)]()}},'collectionConfig':_0xc3d843}},..._0x301e23];return _0x2a947c[_0x4a2bf9(0x1b3)](_0x34cb4f,_0x29bfb1),!0x0;}},_0x51a1d3='sheets-pivot.config',_0x293251={};var _0x1f2494=Object[_0x2eb37b(0x398)],_0x1d869e=Object[_0x2eb37b(0x1d8)],_0x3ed5e9=(_0x18a256,_0x4697c2,_0x33099f,_0x55eee9)=>{const _0xb731d6=_0x2eb37b;for(var _0x25e92c=_0x55eee9>0x1?void 0x0:_0x55eee9?_0x1d869e(_0x4697c2,_0x33099f):_0x4697c2,_0x1a88e2=_0x18a256[_0xb731d6(0x20b)]-0x1,_0x2ebed6;_0x1a88e2>=0x0;_0x1a88e2--)(_0x2ebed6=_0x18a256[_0x1a88e2])&&(_0x25e92c=(_0x55eee9?_0x2ebed6(_0x4697c2,_0x33099f,_0x25e92c):_0x2ebed6(_0x25e92c))||_0x25e92c);return _0x55eee9&&_0x25e92c&&_0x1f2494(_0x4697c2,_0x33099f,_0x25e92c),_0x25e92c;},_0x59fee9=(_0x33283b,_0x259cff)=>(_0x208524,_0x133ddd)=>_0x259cff(_0x208524,_0x133ddd,_0x33283b);const _0x3d2bc4=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x12f9e1=(_0x563b26,_0x4680d5,_0x4b6654)=>{const _0xcc137=_0x2eb37b,_0x48d520=_0x563b26['dataFieldsCollection'];_0x563b26[_0xcc137(0x2c8)](_0x243a51=>{const _0x1dc9a1=_0xcc137,_0x18ea8c=_0x243a51[_0x1dc9a1(0x3e0)](),_0xbd75cc=_0x243a51[_0x1dc9a1(0x3b1)](),_0x5609fd=_0x243a51[_0x1dc9a1(0x29c)](),_0x3c5c4e=_0x243a51[_0x1dc9a1(0x27d)]();_0x4680d5[_0xbd75cc]&&_0x4680d5[_0xbd75cc]===_0x3c5c4e&&_0x5609fd===_0x3c5c4e&&(_0x563b26['renameField'](_0x18ea8c,_0x48d520['getDisplayName'](_0xbd75cc)),_0x243a51['setSourceName'](_0x48d520['getDisplayName'](_0xbd75cc)));}),_0x563b26['iterateFieldByArea'](_0x1263b0[_0xcc137(0x256)]['Value'],_0x4f8563=>{const _0x537f23=_0xcc137,_0x153e3b=_0x4f8563[_0x537f23(0x3e0)](),_0x27c356=_0x4f8563[_0x537f23(0x3b1)](),_0x586b2a=_0x4f8563[_0x537f23(0x29c)](),_0x2f4fa1=_0x4f8563['getDisplayName'](),_0x48ef57=_0x4f8563[_0x537f23(0x33c)](),_0x5d8bad=_0x4b6654(_0x586b2a,_0x48ef57);_0x4680d5[_0x27c356]&&_0x4680d5[_0x27c356]===_0x586b2a&&_0x5d8bad===_0x2f4fa1&&(_0x563b26[_0x537f23(0x352)](_0x153e3b,_0x4b6654(_0x48d520[_0x537f23(0x27d)](_0x27c356),_0x48ef57)),_0x4f8563[_0x537f23(0x2c0)](_0x48d520[_0x537f23(0x27d)](_0x27c356)));});},_0x10a313=(_0x8fda1e,_0x45ab0c,_0x11110d)=>{const _0x534231=_0x2eb37b;var _0x56e955,_0x48ca98;const {arrayFormulaCellData:_0x2d574f,unitData:_0x109360}=_0x45ab0c,{unitId:_0x38e7a7,subUnitId:_0x1928d2}=_0x11110d,_0x1eb0b1=_0x11110d[_0x534231(0x380)],{startColumn:_0x2901bf,endColumn:_0x1a8d92}=_0x1eb0b1,_0x117da9=(_0x56e955=_0x2d574f==null?void 0x0:_0x2d574f[_0x38e7a7])==null?void 0x0:_0x56e955[_0x1928d2],_0x4c8b95=(_0x48ca98=_0x109360==null?void 0x0:_0x109360[_0x38e7a7])==null?void 0x0:_0x48ca98[_0x1928d2],_0x3850ad=new Set(),_0x481a0c=_0x1a8d92-_0x2901bf+0x1,{dirtyRanges:_0x45d07c}=_0x8fda1e;if(_0x45d07c)for(const {range:_0x4628d5,sheetId:_0x2003c3,unitId:_0x169398}of _0x45d07c){if(_0x2003c3!==_0x1928d2||_0x38e7a7!==_0x169398)continue;const _0x4d1ed8=_0x2a947c['Rectangle'][_0x534231(0x332)](_0x4628d5,_0x1eb0b1);if(_0x4d1ed8){const {startColumn:_0x1901c0,endColumn:_0x53f529}=_0x4d1ed8;for(let _0x2dd131=_0x1901c0;_0x2dd131<=_0x53f529;_0x2dd131++)_0x3850ad[_0x534231(0x19d)](_0x2dd131);}}if(_0x3850ad[_0x534231(0x3d5)]===_0x481a0c||_0x3850ad[_0x534231(0x3d5)]===_0x481a0c)return Array[_0x534231(0x3b7)](_0x3850ad);if(_0x4c8b95){const _0x95f16b=_0x4c8b95[_0x534231(0x387)](),_0x476b36=Object[_0x534231(0x2df)](_0x95f16b);for(const _0x1dcd03 of _0x476b36){const _0x6c3bdd=Number(_0x1dcd03),_0x305fe0=_0x95f16b[_0x6c3bdd];if(_0x3850ad[_0x534231(0x3d5)]===_0x481a0c)break;for(const _0x172912 in _0x305fe0){const _0x7426cb=Number(_0x172912);_0x7426cb<_0x2901bf||_0x7426cb>_0x1a8d92||_0x3850ad[_0x534231(0x19d)](_0x7426cb);}}}if(_0x117da9){const _0x1d0936=_0x117da9[_0x534231(0x387)](),_0x122adb=Object[_0x534231(0x2df)](_0x1d0936);for(const _0x25a254 of _0x122adb){const _0x3f4ad2=Number(_0x25a254),_0x5508ed=_0x1d0936[_0x3f4ad2];if(_0x3850ad[_0x534231(0x3d5)]===_0x481a0c)break;for(const _0x1735f1 in _0x5508ed){const _0x433721=Number(_0x1735f1);_0x433721<_0x2901bf||_0x433721>_0x1a8d92||_0x3850ad['add'](_0x433721);}}}return Array[_0x534231(0x3b7)](_0x3850ad);},_0x2f77e1=_0x4a3c66=>{const _0x45238c=_0x2eb37b,_0x4a26b6=new Set(),_0x4ab849=[];for(const _0x1e9ced of _0x4a3c66){const _0x586ab0=_0x1e9ced[_0x45238c(0x296)]+','+_0x1e9ced[_0x45238c(0x1fb)]+','+_0x1e9ced['startColumn']+','+_0x1e9ced[_0x45238c(0x312)];_0x4a26b6[_0x45238c(0x1f4)](_0x586ab0)||(_0x4a26b6[_0x45238c(0x19d)](_0x586ab0),_0x4ab849[_0x45238c(0x335)](_0x1e9ced));}return _0x4ab849;};let _0x2074d0=class extends _0x2a947c['Disposable']{constructor(_0x16156f,_0x3e643d,_0x317803,_0xb2db51,_0x41bb7c){const _0x4b4f94=_0x2eb37b;super(),this['_sheetsPivotDataSourceModel']=_0x16156f,this['_configService']=_0x3e643d,this[_0x4b4f94(0x20e)]=_0x317803,this[_0x4b4f94(0x23c)]=_0xb2db51,this[_0x4b4f94(0x254)]=_0x41bb7c,this['_init'](),this[_0x4b4f94(0x232)]();}[_0x2eb37b(0x3b6)](){const _0x5dd49c=_0x2eb37b;this[_0x5dd49c(0x244)](),this['_subjectViewChange'](),this[_0x5dd49c(0x36c)](),this[_0x5dd49c(0x207)]();}[_0x2eb37b(0x232)](){const _0x3ea193=_0x2eb37b;this['disposeWithMe'](this['_commandService'][_0x3ea193(0x34b)](_0x3f2443=>{const _0x3b9bf1=_0x3ea193;_0x3f2443['id']===_0x179baf['MoveRangeMutation']['id']&&this[_0x3b9bf1(0x38c)][_0x3b9bf1(0x187)](_0x3f2443['params']);})),this[_0x3ea193(0x355)](this[_0x3ea193(0x23c)][_0x3ea193(0x34b)](_0x53ef04=>{const _0x2642d1=_0x3ea193;if(_0x53ef04['id']!==_0x41e5a6['id'])return;const _0x845018=_0x53ef04[_0x2642d1(0x301)],{unitId:_0x4e4c5a,subUnitId:_0x47f05e,pivotTableId:_0x2571c9}=_0x845018,_0x231604=_0x845018[_0x2642d1(0x301)][_0x2642d1(0x242)],_0x264e68={};switch(_0x231604){case _0x2c82cd[_0x2642d1(0x2eb)]:{const _0x2d469f=_0x845018[_0x2642d1(0x301)][_0x2642d1(0x227)];if(!_0x2d469f)return;const {row:_0xd0fc04,col:_0x548754,cellData:_0x54f5aa,pivotItemRenderInfoCache:_0x43d4b3,tableFieldId:_0x44dd0a}=_0x2d469f,_0x582d15=this[_0x2642d1(0x38c)][_0x2642d1(0x1f7)](_0x845018['pivotTableId']);if(!_0x582d15||!_0x43d4b3)return;if(_0x44dd0a){const _0x553e0c=_0x582d15[_0x2642d1(0x1e3)](_0x44dd0a);if(!_0x553e0c)return;_0x264e68[_0x2642d1(0x227)]={..._0x582d15[_0x2642d1(0x2da)](_0x553e0c),'tableFieldId':_0x44dd0a,'pivotTableId':_0x845018[_0x2642d1(0x28e)],'filterInfo':_0x582d15[_0x2642d1(0x27c)](_0x44dd0a),'sortInfo':_0x582d15[_0x2642d1(0x308)](_0x44dd0a),'format':_0x582d15[_0x2642d1(0x3da)](_0x44dd0a)};}else{const _0xc8f538=_0x419b24(_0xd0fc04,_0x548754,_0x54f5aa,_0x582d15,_0x43d4b3),_0x5ae653=_0xc8f538==null?void 0x0:_0xc8f538[_0x2642d1(0x19b)];if(!_0x5ae653)return;const _0x59dc38=_0x582d15[_0x2642d1(0x1e3)](_0x5ae653);if(!_0x59dc38)return;_0x264e68['filter']={..._0x582d15['getDataFieldItemInfo'](_0x59dc38),'tableFieldId':_0x5ae653,'pivotTableId':_0x845018['pivotTableId'],'filterInfo':_0x582d15[_0x2642d1(0x27c)](_0x5ae653),'sortInfo':_0x582d15['getSortInfo'](_0x5ae653),'format':_0x582d15[_0x2642d1(0x3da)](_0x5ae653)};}}break;case _0x2c82cd[_0x2642d1(0x22e)]:{const _0x4c01ca=_0x845018['params'][_0x2642d1(0x1bf)];if(!_0x4c01ca)return;const {pivotTableId:_0x353e5d}=_0x4c01ca,_0x2503ce=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x353e5d);if(!_0x2503ce)return;const _0x1620ff=this['_sheetsPivotDataSourceModel'][_0x2642d1(0x2c5)](_0x4e4c5a,_0x47f05e,_0x353e5d),_0x187b2f=_0x210eda(_0x2503ce,_0x353e5d,_0x1620ff);_0x264e68[_0x2642d1(0x1bf)]=_0x187b2f;}break;case _0x2c82cd[_0x2642d1(0x39f)]:{const _0x4c16d7=this['_sheetsPivotDataSourceModel'][_0x2642d1(0x1f7)](_0x2571c9),_0x1aa816=this[_0x2642d1(0x38c)][_0x2642d1(0x2c5)](_0x4e4c5a,_0x47f05e,_0x2571c9),_0xf3a04f=_0x845018[_0x2642d1(0x301)][_0x2642d1(0x3aa)];if(!_0x4c16d7||!_0x1aa816||!_0xf3a04f)return!0x1;const {dataFieldId:_0x29010c,fieldArea:_0x34d71c,index:_0x3459dc}=_0xf3a04f;_0x4c16d7[_0x2642d1(0x345)]();const _0x266b72=_0x4c16d7[_0x2642d1(0x268)](_0x29010c,_0x34d71c,_0x3459dc);if(_0x266b72&&_0x34d71c===_0x1263b0[_0x2642d1(0x256)][_0x2642d1(0x1ee)]){const _0x5985ad=_0x266b72['getId'](),_0x2c8fa1=_0x4c16d7[_0x2642d1(0x1e3)](_0x5985ad);if(_0x2c8fa1){const _0x159b7d=_0x2c8fa1==null?void 0x0:_0x2c8fa1[_0x2642d1(0x35d)]();_0x4c16d7[_0x2642d1(0x238)](_0x266b72[_0x2642d1(0x3e0)](),_0x159b7d===_0x1263b0['PivotDataFieldDataTypeEnum']['number']?_0x1263b0['PivotSubtotalTypeEnum'][_0x2642d1(0x35f)]:_0x1263b0[_0x2642d1(0x297)][_0x2642d1(0x1ef)]);}const _0x4c7f89=_0x4c16d7[_0x2642d1(0x217)](),_0x1132fc=_0x4c16d7['getValuePosition'](),_0x2ba5a4=_0x4c16d7[_0x2642d1(0x1f9)](_0x1263b0[_0x2642d1(0x256)]['Value']);if(_0x4c7f89===-0x1&&_0x2ba5a4>0x1){const _0x35a4ed=_0x1132fc===_0x1263b0['PivotTableValuePositionEnum'][_0x2642d1(0x375)]?_0x1263b0[_0x2642d1(0x22b)][_0x2642d1(0x17d)]:_0x1132fc,_0x11810c=_0x35a4ed===_0x1263b0[_0x2642d1(0x22b)][_0x2642d1(0x38d)]?_0x1263b0[_0x2642d1(0x256)][_0x2642d1(0x38d)]:_0x1263b0[_0x2642d1(0x256)]['Column'];_0x4c16d7[_0x2642d1(0x336)](_0x35a4ed,_0x4c16d7[_0x2642d1(0x1f9)](_0x11810c));}}else{if(_0x266b72&&(_0x34d71c===_0x1263b0['PivotTableFiledAreaEnum'][_0x2642d1(0x38d)]||_0x34d71c===_0x1263b0[_0x2642d1(0x256)][_0x2642d1(0x17d)])){const _0x39a031=_0x266b72['getId'](),_0x19c357=_0x4c16d7[_0x2642d1(0x1e3)](_0x39a031);if(_0x19c357&&(_0x19c357==null?void 0x0:_0x19c357['getFieldDataType']())===_0x1263b0[_0x2642d1(0x197)]['date']){const _0x548276=_0x19c357[_0x2642d1(0x3b4)]();_0x548276&&_0x4c16d7['setFieldFormat'](_0x266b72[_0x2642d1(0x3e0)](),_0x548276);}}}const _0x5814e2=_0x4c16d7['isEmpty'](),_0x39c15b=_0x4c16d7[_0x2642d1(0x1eb)]()[_0x2642d1(0x1c7)](),_0x1c1b13=_0x4c16d7[_0x2642d1(0x37f)]();_0x264e68[_0x2642d1(0x3aa)]={'view':_0x39c15b,'changesets':_0x1c1b13,'isEmpty':_0x5814e2,'pivotTableConfig':_0x1aa816};}break;case _0x2c82cd[_0x2642d1(0x3a5)]:{const _0x683378=_0x845018[_0x2642d1(0x301)]['addPivotTable'];if(!_0x683378)return;const _0x38d758=_0x683378['sourceRangeInfo'],{collection:_0x602bd4}=this[_0x2642d1(0x38c)][_0x2642d1(0x249)]({'unitId':_0x38d758[_0x2642d1(0x237)],'sheetName':_0x38d758['sheetName'],'subUnitId':_0x38d758[_0x2642d1(0x26d)],'range':_0x38d758[_0x2642d1(0x380)]}),_0x851e69=new _0x1263b0[(_0x2642d1(0x34d))](_0x602bd4),_0x1e05b2=_0x851e69[_0x2642d1(0x1eb)](),_0x3a5a7e=_0x851e69['toJSON'](),_0x2334cb=_0x602bd4[_0x2642d1(0x1c7)]();_0x264e68[_0x2642d1(0x1d7)]={'view':_0x1e05b2,'fieldsConfig':_0x3a5a7e,'collectionConfig':_0x2334cb,'isEmpty':_0x851e69[_0x2642d1(0x2ee)]()};}break;case _0x2c82cd[_0x2642d1(0x18f)]:{const _0x344eb0=_0x845018[_0x2642d1(0x301)]['movePivotField'];if(!_0x344eb0)return;const {fieldId:_0x2037cb,area:_0x5b531f,index:_0xd76cea}=_0x344eb0,_0x391a3a=this[_0x2642d1(0x38c)][_0x2642d1(0x2c5)](_0x4e4c5a,_0x47f05e,_0x2571c9);if(!_0x391a3a)return;const _0x457d07=this[_0x2642d1(0x38c)][_0x2642d1(0x1f7)](_0x2571c9);if(!_0x457d07)return;_0x457d07[_0x2642d1(0x345)]();const {area:_0x59460a,index:_0x14f9a0}=_0x457d07[_0x2642d1(0x18d)](_0x2037cb);if(_0x457d07[_0x2642d1(0x27f)](_0x2037cb,_0x5b531f,_0xd76cea),_0x5b531f===_0x1263b0[_0x2642d1(0x256)][_0x2642d1(0x1ee)]&&_0x457d07['getTableFieldById'](_0x2037cb)['getSubtotal']()===void 0x0){const _0x185e62=_0x457d07[_0x2642d1(0x262)](_0x2037cb);if(_0x185e62&&_0x185e62[_0x2642d1(0x33c)]()===void 0x0){const _0x5a1729=_0x457d07['getDataFieldByTableId'](_0x2037cb);if(_0x5a1729){const _0x29b070=_0x5a1729==null?void 0x0:_0x5a1729['getFieldDataType']();_0x457d07[_0x2642d1(0x238)](_0x2037cb,_0x29b070===_0x1263b0[_0x2642d1(0x197)][_0x2642d1(0x1b6)]?_0x1263b0[_0x2642d1(0x297)][_0x2642d1(0x35f)]:_0x1263b0[_0x2642d1(0x297)][_0x2642d1(0x1ef)]);}}}const _0xf97c9a=_0x457d07[_0x2642d1(0x2b1)](),_0x1779f8=_0x457d07[_0x2642d1(0x217)](),_0x3c41d9=_0x457d07[_0x2642d1(0x1f9)](_0x1263b0[_0x2642d1(0x256)][_0x2642d1(0x1ee)])>0x1;if(_0x3c41d9&&_0x59460a===_0x5b531f&&(_0x5b531f===_0x1263b0[_0x2642d1(0x256)][_0x2642d1(0x38d)]&&_0xf97c9a===_0x1263b0['PivotTableValuePositionEnum'][_0x2642d1(0x38d)]||_0x5b531f===_0x1263b0['PivotTableFiledAreaEnum'][_0x2642d1(0x17d)]&&_0xf97c9a===_0x1263b0[_0x2642d1(0x22b)][_0x2642d1(0x17d)])){let _0x31ae9a=_0x1779f8;_0x14f9a0<=_0x1779f8&&_0x31ae9a--,_0xd76cea<=_0x1779f8&&_0x31ae9a++,_0x457d07[_0x2642d1(0x336)](_0xf97c9a,_0x31ae9a);}else _0x3c41d9&&(_0x59460a===_0x1263b0[_0x2642d1(0x256)][_0x2642d1(0x38d)]&&_0xf97c9a===_0x1263b0['PivotTableValuePositionEnum'][_0x2642d1(0x38d)]||_0x59460a===_0x1263b0['PivotTableFiledAreaEnum'][_0x2642d1(0x17d)]&&_0xf97c9a===_0x1263b0[_0x2642d1(0x22b)]['Column'])&&_0x1779f8>=_0x14f9a0&&_0x457d07[_0x2642d1(0x336)](_0xf97c9a,_0x1779f8-0x1),_0x3c41d9&&(_0x5b531f===_0x1263b0['PivotTableFiledAreaEnum'][_0x2642d1(0x38d)]&&_0xf97c9a===_0x1263b0[_0x2642d1(0x22b)]['Row']||_0x5b531f===_0x1263b0[_0x2642d1(0x256)][_0x2642d1(0x17d)]&&_0xf97c9a===_0x1263b0[_0x2642d1(0x22b)]['Column'])&&_0x1779f8>=_0xd76cea&&_0x457d07[_0x2642d1(0x336)](_0xf97c9a,_0x1779f8+0x1);const _0x3dc0b4=_0x457d07[_0x2642d1(0x1eb)](),_0x41cb81=_0x457d07['isEmpty'](),_0x343b25=_0x457d07['endCollectChangeset']();_0x264e68[_0x2642d1(0x2be)]={'view':_0x3dc0b4['toJSON'](),'changesets':_0x343b25,'isEmpty':_0x41cb81,'pivotTableConfig':_0x391a3a};}break;case _0x2c82cd[_0x2642d1(0x1f6)]:{const _0x1a445c=_0x845018[_0x2642d1(0x301)][_0x2642d1(0x251)];if(!_0x1a445c)return;const _0x6b9ead=_0x1a445c['fieldIds'],_0x423ec9=this[_0x2642d1(0x38c)][_0x2642d1(0x2c5)](_0x4e4c5a,_0x47f05e,_0x2571c9);if(!_0x423ec9)return!0x1;const _0x18f27b=this[_0x2642d1(0x38c)][_0x2642d1(0x1f7)](_0x2571c9);if(!_0x18f27b)return!0x1;_0x18f27b['startCollectChangeset']();for(const _0x2a0c9a of _0x6b9ead)_0x18f27b[_0x2642d1(0x38b)](_0x2a0c9a);const _0x1daeb6=_0x18f27b['isEmpty'](),_0x1c350b=_0x18f27b[_0x2642d1(0x1eb)]()[_0x2642d1(0x1c7)](),_0x30345d=_0x18f27b[_0x2642d1(0x37f)]();_0x264e68[_0x2642d1(0x251)]={'changesets':_0x30345d,'pivotTableConfig':_0x423ec9,'isEmpty':_0x1daeb6,'view':_0x1c350b};}break;case _0x2c82cd[_0x2642d1(0x377)]:{const _0x34e645=_0x845018[_0x2642d1(0x301)][_0x2642d1(0x38a)];if(!_0x34e645)return;const {tableFieldId:_0x54b91d,items:_0x468340,isAll:_0x13ea87}=_0x34e645,_0x44eb32=this['_sheetsPivotDataSourceModel'][_0x2642d1(0x1f7)](_0x2571c9),_0x3821a4=this[_0x2642d1(0x38c)][_0x2642d1(0x2c5)](_0x4e4c5a,_0x47f05e,_0x2571c9);if(!_0x44eb32||!_0x3821a4)return;_0x44eb32['startCollectChangeset'](),_0x44eb32[_0x2642d1(0x300)](_0x54b91d,{'type':_0x1263b0[_0x2642d1(0x287)][_0x2642d1(0x2e3)],'list':_0x468340,'isAll':_0x13ea87});const _0x21115b=_0x44eb32[_0x2642d1(0x2ee)](),_0x23f0e1=_0x44eb32[_0x2642d1(0x1eb)]()[_0x2642d1(0x1c7)](),_0x35a725=_0x44eb32['endCollectChangeset']();_0x264e68['setPivotFilter']={'view':_0x23f0e1,'changesets':_0x35a725,'isEmpty':_0x21115b,'pivotTableConfig':_0x3821a4};}break;case _0x2c82cd['SetPivotSort']:{const _0x218142=_0x845018[_0x2642d1(0x301)][_0x2642d1(0x321)];if(!_0x218142)return;const {tableFieldId:_0x40ce7d,info:_0x976b93}=_0x218142,_0x1c9576=this[_0x2642d1(0x38c)][_0x2642d1(0x1f7)](_0x2571c9),_0x111e76=this['_sheetsPivotDataSourceModel'][_0x2642d1(0x2c5)](_0x4e4c5a,_0x47f05e,_0x2571c9);if(!_0x1c9576||!_0x111e76)return;_0x1c9576[_0x2642d1(0x345)](),_0x1c9576[_0x2642d1(0x213)](_0x40ce7d,_0x976b93);const _0x69afa8=_0x1c9576['isEmpty'](),_0x1c4abc=_0x1c9576[_0x2642d1(0x1eb)]()[_0x2642d1(0x1c7)](),_0x5cd1f8=_0x1c9576[_0x2642d1(0x37f)]();_0x264e68['setPivotSort']={'view':_0x1c4abc,'changesets':_0x5cd1f8,'isEmpty':_0x69afa8,'pivotTableConfig':_0x111e76};}break;case _0x2c82cd[_0x2642d1(0x285)]:{const _0x48b06e=_0x845018[_0x2642d1(0x301)][_0x2642d1(0x314)];if(!_0x48b06e)return;const {tableFieldId:_0x31fba4,displayName:_0x2ae0d7,subtotalType:_0x2988b5,format:_0x3947c0}=_0x48b06e,_0x567b0d=this['_sheetsPivotDataSourceModel'][_0x2642d1(0x1f7)](_0x2571c9),_0x2a7088=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x4e4c5a,_0x47f05e,_0x2571c9);if(!_0x567b0d||!_0x2a7088)return;_0x567b0d[_0x2642d1(0x345)](),_0x2ae0d7!==void 0x0&&_0x567b0d[_0x2642d1(0x352)](_0x31fba4,_0x2ae0d7),_0x2988b5!==void 0x0&&_0x567b0d[_0x2642d1(0x238)](_0x31fba4,_0x2988b5),_0x3947c0!==void 0x0&&_0x567b0d[_0x2642d1(0x22f)](_0x31fba4,_0x3947c0);const _0x209ea4=_0x567b0d[_0x2642d1(0x2ee)](),_0x2ce858=_0x567b0d[_0x2642d1(0x1eb)]()[_0x2642d1(0x1c7)](),_0x140579=_0x567b0d[_0x2642d1(0x37f)]();_0x264e68['setPivotSetting']={'changesets':_0x140579,'pivotTableConfig':_0x2a7088,'isEmpty':_0x209ea4,'view':_0x2ce858};}break;case _0x2c82cd[_0x2642d1(0x25c)]:{const _0x5d8f12=_0x845018[_0x2642d1(0x301)][_0x2642d1(0x3b3)];if(!_0x5d8f12)return;const {dataRangeInfo:_0x36e692,unitId:_0x4968bb,subUnitId:_0x5c08b3}=_0x5d8f12,_0x3cd41f=this[_0x2642d1(0x38c)]['getPivotTableConfig'](_0x4968bb,_0x5c08b3,_0x2571c9),_0x3b7b95=this[_0x2642d1(0x38c)]['getPivotTableInstance'](_0x2571c9);if(!this['_sheetsPivotDataSourceModel'][_0x2642d1(0x203)](_0x4968bb,_0x2571c9)||!_0x3b7b95||!_0x3cd41f)return;const _0x8be7b1=this['_sheetsPivotDataSourceModel'][_0x2642d1(0x2d6)](_0x4968bb,_0x2571c9,_0x36e692),_0x1338c0=this['_sheetsPivotDataSourceModel']['getCollection'](_0x4968bb,_0x2571c9)[_0x2642d1(0x1c7)](),{collection:_0x1750bf}=this[_0x2642d1(0x38c)][_0x2642d1(0x249)]({'unitId':_0x36e692[_0x2642d1(0x237)],'sheetName':_0x36e692[_0x2642d1(0x1aa)],'subUnitId':_0x36e692[_0x2642d1(0x26d)],'range':_0x36e692[_0x2642d1(0x380)]}),_0x243480=_0x1750bf[_0x2642d1(0x1c7)]();_0x3b7b95[_0x2642d1(0x345)]();const _0x5999d9=this[_0x2642d1(0x38c)]['getDataFieldManager'](_0x4968bb)['getAutoDisplayNameFunction']()||_0x1263b0[_0x2642d1(0x212)];_0x3b7b95[_0x2642d1(0x19f)](_0x2b26ba=>{const _0x23746b=_0x2642d1,_0x407b35=_0x2b26ba[_0x23746b(0x3b1)]();if(!_0x1750bf[_0x23746b(0x239)](_0x407b35)){const _0x2ede64=_0x1750bf[_0x23746b(0x1f2)](_0x2b26ba[_0x23746b(0x29c)]());if(_0x2ede64){_0x3b7b95[_0x23746b(0x328)](_0x2b26ba['getId'](),_0x2ede64[_0x23746b(0x1ae)](),_0x2ede64[_0x23746b(0x3e0)]());const {area:_0x9a84c9}=_0x3b7b95['getFieldPositionInfoById'](_0x2b26ba[_0x23746b(0x3e0)]());let _0x28929b=_0x2b26ba[_0x23746b(0x29c)]();const _0x4ec0c1=_0x2b26ba['getDisplayName']();if(_0x9a84c9===_0x1263b0[_0x23746b(0x256)]['Value']){const _0x46be85=_0x2b26ba[_0x23746b(0x33c)]();_0x28929b=_0x5999d9(_0x2ede64['getName'](),_0x46be85);}_0x4ec0c1!==_0x28929b&&_0x3b7b95[_0x23746b(0x352)](_0x2b26ba['getId'](),_0x28929b);}else _0x3b7b95[_0x23746b(0x38b)](_0x2b26ba[_0x23746b(0x3e0)]());}});const _0x427297=_0x3b7b95[_0x2642d1(0x2ee)](),_0x476e08=_0x3b7b95[_0x2642d1(0x1eb)]()[_0x2642d1(0x1c7)](),_0x121b21=_0x3b7b95[_0x2642d1(0x37f)]();_0x264e68[_0x2642d1(0x3b3)]={'view':_0x476e08,'changesets':_0x121b21,'isEmpty':_0x427297,'pivotTableConfig':_0x3cd41f,'collectionConfig':_0x243480,'oldCollectionConfig':_0x1338c0,'deleteIds':_0x8be7b1};}break;case _0x2c82cd[_0x2642d1(0x34f)]:{const _0x206667=_0x845018[_0x2642d1(0x301)][_0x2642d1(0x336)];if(!_0x206667)return;const {position:_0x44a704,index:_0x2b35e1}=_0x206667,_0x530b24=this[_0x2642d1(0x38c)]['getPivotTableConfig'](_0x4e4c5a,_0x47f05e,_0x2571c9);if(!_0x530b24)return!0x1;const _0x34ddd4=this['_sheetsPivotDataSourceModel'][_0x2642d1(0x1f7)](_0x2571c9);if(!_0x34ddd4)return!0x1;_0x34ddd4[_0x2642d1(0x345)](),_0x34ddd4[_0x2642d1(0x336)](_0x44a704,_0x2b35e1);const _0x3515f7=_0x34ddd4['isEmpty'](),_0x58e2f5=_0x34ddd4[_0x2642d1(0x1eb)]()[_0x2642d1(0x1c7)](),_0xdcbd76=_0x34ddd4['endCollectChangeset']();_0x264e68[_0x2642d1(0x336)]={'changesets':_0xdcbd76,'pivotTableConfig':_0x530b24,'isEmpty':_0x3515f7,'view':_0x58e2f5};}break;case _0x2c82cd[_0x2642d1(0x394)]:{const _0x2cf82d=_0x845018[_0x2642d1(0x301)][_0x2642d1(0x399)];if(!_0x2cf82d)return;const {tableFieldId:_0x3644f3,collapse:_0x279b8e,item:_0x421222}=_0x2cf82d,_0x27194d=this[_0x2642d1(0x38c)][_0x2642d1(0x1f7)](_0x2571c9),_0x41760c=this['_sheetsPivotDataSourceModel'][_0x2642d1(0x2c5)](_0x4e4c5a,_0x47f05e,_0x2571c9);if(!_0x27194d||!_0x41760c)return;_0x27194d['startCollectChangeset'](),_0x27194d[_0x2642d1(0x3c0)](_0x3644f3,_0x279b8e,_0x421222);const _0x500096=_0x27194d['isEmpty'](),_0x4a4ce9=_0x27194d[_0x2642d1(0x1eb)]()['toJSON'](),_0x242920=_0x27194d['endCollectChangeset']();_0x264e68['setPivotCollapse']={'view':_0x4a4ce9,'isEmpty':_0x500096,'pivotTableConfig':_0x41760c,'changesets':_0x242920};}break;case _0x2c82cd[_0x2642d1(0x25a)]:{const _0x5d9276=_0x845018['params']['addPivotTableWithConfig'];if(!_0x5d9276)return;const _0xe47054=_0x5d9276[_0x2642d1(0x323)],{collection:_0x3df660}=this[_0x2642d1(0x38c)]['createCollectionWithDataRange']({'unitId':_0xe47054['unitId'],'sheetName':_0xe47054[_0x2642d1(0x1aa)],'subUnitId':_0xe47054['subUnitId'],'range':_0xe47054[_0x2642d1(0x380)]}),_0x826107=new _0x1263b0['PivotTable'](_0x3df660),_0x1e4ade=_0x3df660[_0x2642d1(0x226)](),{rows:_0x3bfb51,columns:_0x4b2c11,filters:_0x53813b,values:_0x4004fa}=_0x5d9276[_0x2642d1(0x20f)];_0x826107[_0x2642d1(0x345)]();for(const {field:_0x7f410e,selectedItems:_0x15962e}of _0x3bfb51||[]){const _0xef7f7=_0x1e4ade[_0x7f410e];if(_0xef7f7){const _0x5a0235=_0x826107[_0x2642d1(0x268)](_0xef7f7,_0x1263b0[_0x2642d1(0x256)][_0x2642d1(0x38d)]);_0x15962e&&_0x5a0235&&_0x826107[_0x2642d1(0x300)](_0x5a0235['getId'](),{'type':_0x1263b0[_0x2642d1(0x287)][_0x2642d1(0x2e3)],'list':_0x15962e,'isAll':!0x1});}}for(const {field:_0x26184b,selectedItems:_0x5f5c7a}of _0x4b2c11||[]){const _0x36c986=_0x1e4ade[_0x26184b];if(_0x36c986){const _0x3deb57=_0x826107['addFieldWithSourceId'](_0x36c986,_0x1263b0[_0x2642d1(0x256)][_0x2642d1(0x17d)]);_0x5f5c7a&&_0x3deb57&&_0x826107[_0x2642d1(0x300)](_0x3deb57[_0x2642d1(0x3e0)](),{'type':_0x1263b0['PivotFilterTypeEnum'][_0x2642d1(0x2e3)],'list':_0x5f5c7a,'isAll':!0x1});}}for(const {field:_0xa4111f,selectedItems:_0x513cc3}of _0x53813b||[]){const _0x520074=_0x1e4ade[_0xa4111f];if(_0x520074){const _0x2ff13e=_0x826107['addFieldWithSourceId'](_0x520074,_0x1263b0[_0x2642d1(0x256)][_0x2642d1(0x2eb)]);_0x513cc3&&_0x2ff13e&&_0x826107['setFilterInfo'](_0x2ff13e[_0x2642d1(0x3e0)](),{'type':_0x1263b0[_0x2642d1(0x287)][_0x2642d1(0x2e3)],'list':_0x513cc3,'isAll':!0x1});}}for(const {field:_0x2e8fdb,subTotalType:_0x41975c,formatString:_0x17d6f6}of _0x4004fa||[]){const _0x2fef29=_0x3df660[_0x2642d1(0x28d)](_0x1e4ade[_0x2e8fdb]);if(!_0x2fef29)continue;const _0xeb930a=_0x1e4ade[_0x2e8fdb];if(_0xeb930a){const _0x5e17c7=_0x826107[_0x2642d1(0x268)](_0xeb930a,_0x1263b0[_0x2642d1(0x256)][_0x2642d1(0x1ee)]);if(_0x5e17c7){if(_0x41975c!==void 0x0){_0x826107[_0x2642d1(0x238)](_0x5e17c7[_0x2642d1(0x3e0)](),_0x41975c);const _0x208a2b=this[_0x2642d1(0x38c)][_0x2642d1(0x340)](_0xe47054[_0x2642d1(0x237)])[_0x2642d1(0x257)]()||_0x1263b0[_0x2642d1(0x212)],_0x356882=_0x3df660['getDisplayName'](_0xeb930a),_0x3eff45=_0x208a2b(_0x356882,_0x41975c);_0x826107[_0x2642d1(0x352)](_0x5e17c7[_0x2642d1(0x3e0)](),_0x3eff45);}else{if(_0x2fef29){const _0x4bfd82=_0x2fef29==null?void 0x0:_0x2fef29['getFieldDataType']();_0x826107[_0x2642d1(0x238)](_0x5e17c7[_0x2642d1(0x3e0)](),_0x4bfd82===_0x1263b0[_0x2642d1(0x197)][_0x2642d1(0x1b6)]?_0x1263b0[_0x2642d1(0x297)][_0x2642d1(0x35f)]:_0x1263b0[_0x2642d1(0x297)][_0x2642d1(0x1ef)]);}}_0x17d6f6&&_0x826107[_0x2642d1(0x22f)](_0x5e17c7['getId'](),_0x17d6f6);}}}const _0x14b43d=_0x826107[_0x2642d1(0x1eb)](),_0x5c33bf=_0x826107[_0x2642d1(0x1c7)](),_0x35eaf6=_0x826107[_0x2642d1(0x2ee)](),_0x34806f=_0x826107[_0x2642d1(0x37f)](),_0x5a661e=_0x3df660[_0x2642d1(0x1c7)]();_0x264e68['addPivotTableWithConfig']={'view':_0x14b43d,'fieldsConfig':_0x5c33bf,'collectionConfig':_0x5a661e,'isEmpty':_0x35eaf6,'changesets':_0x34806f};}break;case _0x2c82cd[_0x2642d1(0x3b0)]:{const _0x4eec38=_0x2dfa0a(this['_injector'],_0x845018);if(!_0x4eec38)return;const {range:_0x201cc8,sourceSubUnitId:_0x3a5582,sourceUnitId:_0x444aae,formatMap:_0x1ca313,indexes:_0x3e0e6b}=_0x4eec38;_0x264e68[_0x2642d1(0x2ce)]={'range':_0x201cc8,'sourceSubUnitId':_0x3a5582,'sourceUnitId':_0x444aae,'formatMap':_0x1ca313,'indexes':_0x3e0e6b};}break;}this[_0x2642d1(0x23c)][_0x2642d1(0x2a4)](_0x36b942['id'],{'version':_0x845018['version'],'result':_0x264e68},{'onlyLocal':!0x0});}));}[_0x2eb37b(0x36c)](){const _0x2db0ac=_0x2eb37b;this['disposeWithMe'](this[_0x2db0ac(0x23c)]['onCommandExecuted'](_0x1a64dc=>{const _0x439b19=_0x2db0ac;if(_0x1a64dc['id']!==_0xb566b4['id'])return;const _0x32e352=_0x1a64dc[_0x439b19(0x301)];return this['_sheetsPivotDataSourceModel'][_0x439b19(0x223)](_0x32e352[_0x439b19(0x2a5)]),!0x0;}));}['_subjectCollectionChange'](){const _0x2664d7=_0x2eb37b;this[_0x2664d7(0x38c)][_0x2664d7(0x279)][_0x2664d7(0x357)](_0x4254c5=>{const _0x5a236d=_0x2664d7;switch(_0x4254c5[_0x5a236d(0x242)]){case _0x5ad44d['add']:_0x4254c5['dataRangeInfo']&&_0x4254c5[_0x5a236d(0x3bd)]&&this['handleSourceRangeChange'](_0x4254c5['token'],_0x4254c5[_0x5a236d(0x25e)],_0x4254c5[_0x5a236d(0x3bd)]);break;case _0x5ad44d[_0x5a236d(0x2d5)]:{const {unitId:_0x348914,subUnitId:_0xfb48c7,token:_0x4fa1e4}=_0x4254c5;_0x348914&&_0xfb48c7&&_0x4fa1e4&&this[_0x5a236d(0x22d)](_0x348914,_0xfb48c7,_0x4fa1e4);}break;case _0x5ad44d[_0x5a236d(0x31e)]:{const {token:_0x15c22a,oldSourceRangeInfo:_0x34eaf5,dataRangeInfo:_0x467675,targetCellInfo:_0x4e5399}=_0x4254c5,{unitId:_0x503591,subUnitId:_0x280c1d}=_0x34eaf5||{};_0x503591&&_0x280c1d&&_0x15c22a&&this[_0x5a236d(0x22d)](_0x503591,_0x280c1d,_0x15c22a),_0x467675&&_0x4e5399&&this[_0x5a236d(0x2dc)](_0x15c22a,_0x467675,_0x4e5399);}break;}});}['_subjectFieldsCollectionChange'](){const _0xf10a30=_0x2eb37b;this['_sheetsPivotDataSourceModel'][_0xf10a30(0x330)][_0xf10a30(0x357)](_0x5d37f2=>{const _0x23445e=_0xf10a30;Object[_0x23445e(0x2df)](_0x5d37f2)['forEach'](_0x1d3683=>{const _0x124e12=_0x23445e,_0x440774=this[_0x124e12(0x38c)][_0x124e12(0x215)](_0x1d3683);if(_0x440774){const _0x2a0c56=this[_0x124e12(0x38c)]['getPivotTableConfig'](_0x440774==null?void 0x0:_0x440774['unitId'],_0x440774==null?void 0x0:_0x440774[_0x124e12(0x26d)],_0x1d3683);_0x2a0c56&&(this['handleSourceRangeChange'](_0x1d3683,_0x2a0c56[_0x124e12(0x323)],_0x2a0c56[_0x124e12(0x3bd)]),this[_0x124e12(0x1c2)]([{'unitId':_0x440774[_0x124e12(0x237)],'subUnitId':_0x440774['subUnitId'],'token':_0x1d3683}]));}});});}[_0x2eb37b(0x3d8)](){const _0x2ac23f=_0x2eb37b;this[_0x2ac23f(0x38c)]['viewData$'][_0x2ac23f(0x357)](_0x10f25b=>{const {unitId:_0x1ad78e,subUnitId:_0x14183f,pivotTableId:_0x99fb4f}=_0x10f25b;_0x1ad78e&&_0x14183f&&_0x99fb4f&&this['triggerDirtyFeature']([{'unitId':_0x1ad78e,'subUnitId':_0x14183f,'token':_0x99fb4f}]);});}[_0x2eb37b(0x1c2)](_0x12e5fe){const _0x343fdb=_0x2eb37b,_0x3ea2f7={};_0x12e5fe[_0x343fdb(0x265)](_0xc42319=>{var _0x50355c,_0x9203a6;const {unitId:_0x1d2aea,subUnitId:_0x4fc28e,token:_0x312ac8}=_0xc42319;_0x3ea2f7[_0x1d2aea]=(_0x50355c=_0x3ea2f7[_0x1d2aea])!=null?_0x50355c:{},_0x3ea2f7[_0x1d2aea][_0x4fc28e]=(_0x9203a6=_0x3ea2f7[_0x1d2aea][_0x4fc28e])!=null?_0x9203a6:{},_0x3ea2f7[_0x1d2aea][_0x4fc28e][_0x312ac8]=!0x0;}),this[_0x343fdb(0x23c)][_0x343fdb(0x2a4)](_0x2b917b['id'],_0x3ea2f7);}[_0x2eb37b(0x22d)](_0x5c306f,_0x4dc073,_0x5f4d34){const _0x1e9c16=_0x2eb37b;this['_featureCalculationManagerService'][_0x1e9c16(0x318)](_0x5c306f,_0x4dc073,[_0x5f4d34]);}['handleSourceRangeChange'](_0x531f7c,_0x172921,_0x257ba6){const _0x5a0891=_0x2eb37b,{unitId:_0x3d901e,subUnitId:_0x15d5e8}=_0x172921;this[_0x5a0891(0x20e)]['has'](_0x257ba6['unitId'],_0x257ba6[_0x5a0891(0x26d)],_0x531f7c)&&this[_0x5a0891(0x22d)](_0x3d901e,_0x15d5e8,_0x531f7c);const _0x24aadf={'sheetId':_0x15d5e8,..._0x172921};this[_0x5a0891(0x20e)]['register'](_0x257ba6[_0x5a0891(0x237)],_0x257ba6['subUnitId'],_0x531f7c,{'unitId':_0x257ba6[_0x5a0891(0x237)],'subUnitId':_0x257ba6['subUnitId'],'dependencyRanges':[_0x24aadf],'getDirtyData':(_0x320fbd,_0x4dfafe)=>{const _0xdda58c=_0x5a0891,_0xfe684d=this['_sheetsPivotDataSourceModel'],_0x2a00f0=_0xfe684d[_0xdda58c(0x215)](_0x531f7c);if(!_0x2a00f0)return _0x3d2bc4();const {unitId:_0x49c6f3,subUnitId:_0x5469f1}=_0x2a00f0,_0x280be6=_0x10a313(_0x320fbd,_0x4dfafe,_0x172921);if(_0x280be6[_0xdda58c(0x20b)]>0x0){const _0x3bae89=_0xfe684d[_0xdda58c(0x203)](_0x3d901e,_0x531f7c),_0x85620d=_0x3bae89[_0xdda58c(0x226)](),_0x339ba3=this['getMatrixFromRunTimeData'](_0x172921[_0xdda58c(0x237)],_0x172921[_0xdda58c(0x26d)],_0x4dfafe),_0xa148d3={},_0x39ed6b=this[_0xdda58c(0x38c)][_0xdda58c(0x340)](_0x49c6f3)[_0xdda58c(0x257)]()||_0x1263b0[_0xdda58c(0x212)];for(const _0x1b1d4e of _0x280be6){const _0xa83dbb=_0x1b1d4e-(_0x172921[_0xdda58c(0x380)][_0xdda58c(0x35c)]||0x0),_0x2ed5cc=_0x85620d[_0xa83dbb];_0xa148d3[_0x2ed5cc]=_0x3bae89[_0xdda58c(0x28d)](_0x2ed5cc)[_0xdda58c(0x1ae)](),_0xfe684d[_0xdda58c(0x340)](_0x3d901e)[_0xdda58c(0x23f)](_0x2ed5cc,_0x172921,_0xa83dbb,_0x339ba3);}_0x3bae89[_0xdda58c(0x193)]();const _0x5a35da=_0xfe684d[_0xdda58c(0x1f7)](_0x531f7c);if(_0x5a35da){_0x12f9e1(_0x5a35da,_0xa148d3,_0x39ed6b),_0x5a35da[_0xdda58c(0x3c1)](!0x0);const _0x1ba88c=_0x5a35da[_0xdda58c(0x1eb)](),_0x48537b=_0xfe684d['getPivotTableConfig'](_0x49c6f3,_0x5469f1,_0x531f7c),_0x36e001=_0xfe684d[_0xdda58c(0x340)](_0x3d901e)[_0xdda58c(0x1c7)]();_0xfe684d['updateView'](_0x49c6f3,_0x5469f1,_0x3eb1d6[_0xdda58c(0x1fd)],_0x531f7c,_0x1ba88c,_0x48537b,_0x36e001,!0x0);}}return this[_0xdda58c(0x316)](_0x49c6f3,_0x5469f1,_0x531f7c);}});}[_0x2eb37b(0x1e2)](_0x2497ff,_0x532b7c,_0x3f9615){var _0x34ee35,_0xd56ed9;const {arrayFormulaCellData:_0x440248,unitData:_0x370cb9}=_0x3f9615,_0x44617b=(_0x34ee35=_0x440248==null?void 0x0:_0x440248[_0x2497ff])==null?void 0x0:_0x34ee35[_0x532b7c],_0x2f80dd=(_0xd56ed9=_0x370cb9==null?void 0x0:_0x370cb9[_0x2497ff])==null?void 0x0:_0xd56ed9[_0x532b7c];return{'arrayFormulaCellDataMatrix':_0x44617b,'unitDataMatrix':_0x2f80dd};}[_0x2eb37b(0x316)](_0xe5970d,_0x32c3a9,_0x497ab2){const _0x305a5a=_0x2eb37b,_0x10077a=this[_0x305a5a(0x38c)][_0x305a5a(0x21a)](_0xe5970d,_0x32c3a9,_0x497ab2),_0x5eb701=[],_0x315056=new _0x2a947c[(_0x305a5a(0x366))]();if(_0x10077a){const {rangeCache:_0x27ff12,matrix:_0x1c2db3,oldRangeCache:_0x52cac3,oldMatrix:_0x56e04f}=_0x10077a,_0x431fc1=_0x4a10a1(_0x52cac3),_0x31329c=_0x4a10a1(_0x27ff12);_0x5eb701[_0x305a5a(0x335)](..._0x31329c,..._0x431fc1),_0x56e04f&&_0x52cac3&&_0x431fc1[_0x305a5a(0x265)](_0x10c053=>{const _0xa319fa=_0x305a5a;for(let _0x2525b4=_0x10c053[_0xa319fa(0x296)];_0x2525b4<=_0x10c053['endRow'];_0x2525b4++)for(let _0x125056=_0x10c053[_0xa319fa(0x35c)];_0x125056<=_0x10c053[_0xa319fa(0x312)];_0x125056++)_0x315056[_0xa319fa(0x1dd)](_0x2525b4,_0x125056);}),_0x1c2db3&&_0x31329c&&_0x31329c[_0x305a5a(0x265)](_0x4a3618=>{const _0x30c426=_0x305a5a;for(let _0x1b6387=_0x4a3618[_0x30c426(0x296)];_0x1b6387<=_0x4a3618[_0x30c426(0x1fb)];_0x1b6387++)for(let _0x2ed02b=_0x4a3618[_0x30c426(0x35c)];_0x2ed02b<=_0x4a3618[_0x30c426(0x312)];_0x2ed02b++)_0x315056[_0x30c426(0x33e)](_0x1b6387,_0x2ed02b,_0x1c2db3[_0x30c426(0x3a2)](_0x1b6387,_0x2ed02b));});}const _0x1b8688={};return _0x1b8688[_0xe5970d]={[_0x32c3a9]:_0x2f77e1(_0x5eb701)},{'runtimeCellData':{[_0xe5970d]:{[_0x32c3a9]:_0x315056}},'dirtyRanges':_0x1b8688};}[_0x2eb37b(0x2d1)](){}};_0x2074d0=_0x3ed5e9([_0x59fee9(0x0,_0x2a947c['Inject'](_0x1bf211['SheetsPivotDataSourceModel'])),_0x59fee9(0x1,_0x2a947c['IConfigService']),_0x59fee9(0x2,_0x2a947c[_0x2eb37b(0x3b9)](_0x3ff6a1[_0x2eb37b(0x1a8)])),_0x59fee9(0x3,_0x2a947c[_0x2eb37b(0x3b9)](_0x2a947c[_0x2eb37b(0x307)])),_0x59fee9(0x4,_0x2a947c[_0x2eb37b(0x3b9)](_0x2a947c['Injector']))],_0x2074d0);var _0x43055f=Object[_0x2eb37b(0x398)],_0xefc83=Object[_0x2eb37b(0x1d8)],_0x21aee9=(_0x3f8898,_0x1af115,_0x4e6b15,_0x3e369e)=>{const _0x18f8da=_0x2eb37b;for(var _0x5c4154=_0x3e369e>0x1?void 0x0:_0x3e369e?_0xefc83(_0x1af115,_0x4e6b15):_0x1af115,_0x1102e7=_0x3f8898[_0x18f8da(0x20b)]-0x1,_0x4b60b4;_0x1102e7>=0x0;_0x1102e7--)(_0x4b60b4=_0x3f8898[_0x1102e7])&&(_0x5c4154=(_0x3e369e?_0x4b60b4(_0x1af115,_0x4e6b15,_0x5c4154):_0x4b60b4(_0x5c4154))||_0x5c4154);return _0x3e369e&&_0x5c4154&&_0x43055f(_0x1af115,_0x4e6b15,_0x5c4154),_0x5c4154;},_0x53b4a0=(_0x1c0c94,_0x406843)=>(_0x4391d5,_0x434332)=>_0x406843(_0x4391d5,_0x434332,_0x1c0c94);let _0x129508=class extends _0x2a947c['Disposable']{constructor(_0x305bf6,_0x4950ba,_0x3c043e,_0x71fdbe,_0x202b79,_0x36f105){const _0x4b17fc=_0x2eb37b;super(),this[_0x4b17fc(0x23c)]=_0x305bf6,this[_0x4b17fc(0x338)]=_0x4950ba,this[_0x4b17fc(0x1af)]=_0x3c043e,this[_0x4b17fc(0x2ed)]=_0x71fdbe,this[_0x4b17fc(0x1c1)]=_0x202b79,this[_0x4b17fc(0x1e6)]=_0x36f105,this[_0x4b17fc(0x29d)](),this[_0x4b17fc(0x183)]();}[_0x2eb37b(0x29d)](){const _0x59b95b=_0x2eb37b;this[_0x59b95b(0x355)](this[_0x59b95b(0x23c)][_0x59b95b(0x34b)](_0x4a4f7d=>{const _0x567a43=_0x59b95b;if(_0x4a4f7d['id']!==_0x36b942['id'])return;const _0x151ed1=_0x4a4f7d[_0x567a43(0x301)];this[_0x567a43(0x338)]['handleAsyncResponse'](_0x151ed1);})),this[_0x59b95b(0x355)](this['_commandService'][_0x59b95b(0x34b)](_0x7c922c=>{const _0x6cc95d=_0x59b95b;if(_0x7c922c['id']===_0x304ae6['id']){const _0x12c4c8=_0x7c922c[_0x6cc95d(0x301)];if(_0x12c4c8){const {unitId:_0x2fd2a6,subUnitId:_0x3c179d,oldSubUnitId:_0x6e0c26,pivotTableId:_0x12aed0,pivotTableConfig:_0x4b535e,collectionConfig:_0x2b607c}=_0x12c4c8;this[_0x6cc95d(0x2ed)]['updateConfigCache'](_0x2fd2a6,_0x6e0c26,_0x12c4c8[_0x6cc95d(0x28e)],null),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x2fd2a6,_0x3c179d,_0x12aed0,_0x4b535e),this[_0x6cc95d(0x2ed)][_0x6cc95d(0x372)](_0x2fd2a6,_0x2b607c);}}})),this[_0x59b95b(0x355)](this[_0x59b95b(0x23c)][_0x59b95b(0x34b)](_0x4caee7=>{const _0x261bf3=_0x59b95b;if(_0x4caee7['id']!==_0x378121['id'])return;const _0x2c135a=_0x179baf[_0x261bf3(0x220)](this[_0x261bf3(0x1c1)]);if(!_0x2c135a)return;const {unitId:_0x19e721,subUnitId:_0x233321}=_0x2c135a,_0x20fd36=_0x4caee7['params'];if(_0x20fd36[_0x261bf3(0x1a1)]&&Object[_0x261bf3(0x2df)](_0x20fd36['collectionConfig'])[_0x261bf3(0x265)](_0x46ee35=>{const _0x43f638=_0x261bf3;var _0x272020;(_0x272020=_0x20fd36[_0x43f638(0x1a1)])!=null&&_0x272020[_0x46ee35]&&this[_0x43f638(0x2ed)][_0x43f638(0x372)](_0x46ee35,_0x20fd36['collectionConfig'][_0x46ee35]);}),_0x20fd36[_0x261bf3(0x1ab)]){const _0xc08eb7=_0x20fd36['single'],{unitId:_0x210f09,subUnitId:_0x2e5cd8,view:_0x373e61,pivotTableId:_0x3c80d7,type:_0x4c89aa,pivotConfig:_0x29ba62}=_0xc08eb7;if(_0x4c89aa===_0x3eb1d6[_0x261bf3(0x1de)])this[_0x261bf3(0x1af)][_0x261bf3(0x2c3)]({'unitId':_0x210f09,'subUnitId':_0x2e5cd8,'pivotTableId':_0x3c80d7,'type':_0x4c89aa}),this[_0x261bf3(0x2ed)][_0x261bf3(0x264)](_0x210f09,_0x2e5cd8,_0x3c80d7,null);else{const _0x383e25=new _0x1263b0[(_0x261bf3(0x36b))]();_0x383e25[_0x261bf3(0x292)](_0x373e61),this[_0x261bf3(0x2ed)][_0x261bf3(0x264)](_0x210f09,_0x2e5cd8,_0x3c80d7,_0x29ba62),this[_0x261bf3(0x1af)]['clearRenderCache']({'unitId':_0x210f09,'subUnitId':_0x2e5cd8,'pivotTableId':_0x3c80d7,'type':_0x4c89aa,'view':_0x383e25}),this[_0x261bf3(0x1af)][_0x261bf3(0x2f6)]({'unitId':_0x210f09,'subUnitId':_0x2e5cd8,'view':_0x383e25,'pivotTableId':_0x3c80d7,'type':_0x4c89aa});}}else _0x20fd36[_0x261bf3(0x2b5)]&&(_0x20fd36[_0x261bf3(0x2b5)][_0x261bf3(0x265)](_0x58dce2=>{const _0x4650f6=_0x261bf3,{unitId:_0x9e9737,subUnitId:_0xd081c7,view:_0x2d10fb,pivotTableId:_0x3f2fb6,type:_0x3ff4d3,pivotConfig:_0x591d94}=_0x58dce2,_0x344feb=new _0x1263b0[(_0x4650f6(0x36b))]();_0x344feb[_0x4650f6(0x292)](_0x2d10fb),this[_0x4650f6(0x2ed)][_0x4650f6(0x264)](_0x9e9737,_0xd081c7,_0x3f2fb6,_0x591d94),this[_0x4650f6(0x1af)]['updateRenderCache']({'unitId':_0x9e9737,'subUnitId':_0xd081c7,'view':_0x344feb,'pivotTableId':_0x3f2fb6,'type':_0x3ff4d3});}),this[_0x261bf3(0x2ed)]['setPivotInitCompleted']());this[_0x261bf3(0x1af)][_0x261bf3(0x206)](_0x19e721,_0x233321);}));}['registerDirtyService'](){const _0x3f3cc4=_0x2eb37b;this[_0x3f3cc4(0x1e6)][_0x3f3cc4(0x202)](_0x2b917b['id'],{'commandId':_0x2b917b['id'],'getDirtyData'(_0x5c9479){const _0x30ce1d=_0x3f3cc4;return{'dirtyUnitFeatureMap':_0x5c9479[_0x30ce1d(0x301)]};}});}};_0x129508=_0x21aee9([_0x53b4a0(0x0,_0x2a947c['Inject'](_0x2a947c[_0x2eb37b(0x307)])),_0x53b4a0(0x1,_0x2a947c[_0x2eb37b(0x3b9)](_0x1bf211[_0x2eb37b(0x214)])),_0x53b4a0(0x2,_0x2a947c[_0x2eb37b(0x3b9)](_0x1bf211['SheetsPivotTableAdaptorModel'])),_0x53b4a0(0x3,_0x2a947c[_0x2eb37b(0x3b9)](_0x1bf211[_0x2eb37b(0x1d6)])),_0x53b4a0(0x4,_0x2a947c[_0x2eb37b(0x3b9)](_0x2a947c[_0x2eb37b(0x333)])),_0x53b4a0(0x5,_0x3ff6a1[_0x2eb37b(0x3c7)])],_0x129508);var _0x498b39=Object[_0x2eb37b(0x398)],_0xf903a3=Object[_0x2eb37b(0x1d8)],_0xc9b37d=(_0x367db0,_0x4dc192,_0x3a5e50,_0x3f7e43)=>{const _0x2d160d=_0x2eb37b;for(var _0x4e4b47=_0x3f7e43>0x1?void 0x0:_0x3f7e43?_0xf903a3(_0x4dc192,_0x3a5e50):_0x4dc192,_0x484fb3=_0x367db0[_0x2d160d(0x20b)]-0x1,_0x19d810;_0x484fb3>=0x0;_0x484fb3--)(_0x19d810=_0x367db0[_0x484fb3])&&(_0x4e4b47=(_0x3f7e43?_0x19d810(_0x4dc192,_0x3a5e50,_0x4e4b47):_0x19d810(_0x4e4b47))||_0x4e4b47);return _0x3f7e43&&_0x4e4b47&&_0x498b39(_0x4dc192,_0x3a5e50,_0x4e4b47),_0x4e4b47;},_0x2aece2=(_0x25be00,_0x454ec2)=>(_0xd32ab,_0x1e25ae)=>_0x454ec2(_0xd32ab,_0x1e25ae,_0x25be00);let _0x241423=class extends _0x2a947c[_0x2eb37b(0x2ac)]{constructor(_0x3cca6f,_0x486bdd){const _0x4138d4=_0x2eb37b;super(),this[_0x4138d4(0x231)]=_0x3cca6f,this[_0x4138d4(0x1af)]=_0x486bdd,this[_0x4138d4(0x3b6)]();}[_0x2eb37b(0x3b6)](){const _0x1c2620=_0x2eb37b;this[_0x1c2620(0x1bd)]();}['_initViewModelBySheetInterceptor'](){const _0x22ba7b=_0x2eb37b;this[_0x22ba7b(0x355)](this[_0x22ba7b(0x231)][_0x22ba7b(0x358)](_0x179baf['INTERCEPTOR_POINT'][_0x22ba7b(0x258)],{'priority':0xc8,'effect':_0x2a947c[_0x22ba7b(0x2e2)][_0x22ba7b(0x1ee)]|_0x2a947c[_0x22ba7b(0x2e2)]['Style'],'handler':(_0x4b7fa7,_0x249c03,_0x4fabb1)=>{const _0x1b9041=_0x22ba7b,{row:_0x326fa2,col:_0x494fb9,unitId:_0x1024dc,subUnitId:_0x1738dc,workbook:_0x15433c}=_0x249c03,_0x3a5b74=this[_0x1b9041(0x1af)][_0x1b9041(0x30e)](_0x1024dc,_0x1738dc,_0x326fa2,_0x494fb9);if(!_0x3a5b74)return _0x4fabb1(_0x4b7fa7);const _0x3f1fd8={..._0x4b7fa7};(_0x3a5b74['v']||_0x3a5b74['v']===0x0)&&(_0x3f1fd8['v']=_0x3a5b74['v']),_0x3a5b74['t']&&(_0x3f1fd8['t']=_0x3a5b74['t']);const _0x432a85=(typeof(_0x4b7fa7==null?void 0x0:_0x4b7fa7['s'])=='string'?_0x15433c['getStyles']()[_0x1b9041(0x3d1)](_0x4b7fa7==null?void 0x0:_0x4b7fa7['s']):_0x4b7fa7==null?void 0x0:_0x4b7fa7['s'])||{},_0x1e86a9=_0x15433c[_0x1b9041(0x2bd)]()['get'](_0x3a5b74['s']),_0x1e0aba={..._0x1e86a9,..._0x432a85};_0x1e86a9!=null&&_0x1e86a9['n']&&(_0x1e0aba['n']=_0x1e86a9['n']);const _0x3da3ee=_0x15433c[_0x1b9041(0x2bd)]()[_0x1b9041(0x33e)](_0x1e0aba);return _0x3f1fd8['s']=_0x3da3ee,(_0x3a5b74['pbt']===_0x1263b0[_0x1b9041(0x2f7)]['Collapse']||_0x3a5b74[_0x1b9041(0x2d7)]===_0x1263b0[_0x1b9041(0x2f7)][_0x1b9041(0x2a7)])&&(_0x3f1fd8[_0x1b9041(0x284)]={},_0x3f1fd8[_0x1b9041(0x284)][_0x1b9041(0x192)]=_0x2d536d),_0x4fabb1(_0x3f1fd8);}}));}};_0x241423=_0xc9b37d([_0x2aece2(0x0,_0x2a947c[_0x2eb37b(0x3b9)](_0x179baf[_0x2eb37b(0x3bc)])),_0x2aece2(0x1,_0x2a947c[_0x2eb37b(0x3b9)](_0x1bf211[_0x2eb37b(0x29a)]))],_0x241423);var _0x59c56b=Object[_0x2eb37b(0x398)],_0x1db976=Object[_0x2eb37b(0x1d8)],_0x97169e=(_0x50db5c,_0x4a809a,_0x287626,_0x3cffeb)=>{for(var _0xcbd4d=_0x3cffeb>0x1?void 0x0:_0x3cffeb?_0x1db976(_0x4a809a,_0x287626):_0x4a809a,_0x486e86=_0x50db5c['length']-0x1,_0xa52eb5;_0x486e86>=0x0;_0x486e86--)(_0xa52eb5=_0x50db5c[_0x486e86])&&(_0xcbd4d=(_0x3cffeb?_0xa52eb5(_0x4a809a,_0x287626,_0xcbd4d):_0xa52eb5(_0xcbd4d))||_0xcbd4d);return _0x3cffeb&&_0xcbd4d&&_0x59c56b(_0x4a809a,_0x287626,_0xcbd4d),_0xcbd4d;},_0x2f8c24=(_0x22f6c8,_0x35e3ec)=>(_0x182292,_0x2eac2c)=>_0x35e3ec(_0x182292,_0x2eac2c,_0x22f6c8);_0x1bf211['UniverSheetsPivotTablePlugin']=(_0x186de7=class extends _0x2a947c[_0x2eb37b(0x23d)]{constructor(_0x4fd0b7=_0x293251,_0x40d7d8,_0x268cdf,_0x42526b,_0x145c5b){const _0xe9d4d0=_0x2eb37b;super(),this[_0xe9d4d0(0x271)]=_0x4fd0b7,this[_0xe9d4d0(0x254)]=_0x40d7d8,this[_0xe9d4d0(0x23c)]=_0x268cdf,this[_0xe9d4d0(0x363)]=_0x42526b,this[_0xe9d4d0(0x293)]=_0x145c5b;const {..._0x3c2314}=this[_0xe9d4d0(0x271)];this['_configService'][_0xe9d4d0(0x310)](_0x51a1d3,_0x3c2314),this[_0xe9d4d0(0x385)](),this[_0xe9d4d0(0x18c)](),this['_initTimeValid']();}[_0x2eb37b(0x18c)](){const _0x5967a6=_0x2eb37b;var _0x2409f1;const _0x11bb5f=(_0x2409f1=this[_0x5967a6(0x271)])==null?void 0x0:_0x2409f1[_0x5967a6(0x324)];this['_configService'][_0x5967a6(0x310)](_0x5ed8cc,_0x11bb5f===!0x0);}[_0x2eb37b(0x255)](){const _0x19ecdf=_0x2eb37b;var _0x5e8342;let _0xa79ece=[];const _0x30b84b=(_0x5e8342=this[_0x19ecdf(0x271)])==null?void 0x0:_0x5e8342['notExecuteFormula'];_0x30b84b===!0x0?_0xa79ece=[[_0x241423],[_0x1bf211[_0x19ecdf(0x214)]],[_0x129508],[_0x1bf211['SheetsPivotTableAdaptorModel']],[_0x1bf211['SheetsPivotTableConfigModel']]]:_0x30b84b===!0x1?_0xa79ece=[[_0x1bf211['SheetsPivotDataSourceModel']],[_0x2074d0]]:_0x30b84b===void 0x0&&(_0xa79ece=[[_0x1bf211[_0x19ecdf(0x302)]],[_0x2074d0],[_0x241423],[_0x1bf211[_0x19ecdf(0x214)]],[_0x129508],[_0x1bf211[_0x19ecdf(0x29a)]],[_0x1bf211[_0x19ecdf(0x1d6)]]]),_0xa79ece['forEach'](_0x26b805=>this['_injector']['add'](_0x26b805)),this[_0x19ecdf(0x254)][_0x19ecdf(0x1f4)](_0x2074d0)&&this[_0x19ecdf(0x254)]['get'](_0x2074d0),this['_injector'][_0x19ecdf(0x1f4)](_0x129508)&&this[_0x19ecdf(0x254)][_0x19ecdf(0x3d1)](_0x129508),this[_0x19ecdf(0x254)][_0x19ecdf(0x1f4)](_0x241423)&&this['_injector'][_0x19ecdf(0x3d1)](_0x241423);}[_0x2eb37b(0x385)](){const _0x10af95=_0x2eb37b;[_0x1f691c,_0x10bc75,_0x4f5461,_0x17856e,_0x15b675,_0x553c91,_0x3380bc,_0x329154,_0x161d8b,_0x5d4ba8,_0x98b456,_0x41e5a6,_0x36b942,_0x378121,_0x480ffa,_0x3a648a,_0x29b4f9,_0xd81a46,_0xb566b4,_0x2ffebb,_0x3284ec,_0x2b917b,_0x304ae6][_0x10af95(0x265)](_0x4e0f9d=>{const _0x5272e6=_0x10af95;var _0x27e543;(_0x27e543=this[_0x5272e6(0x293)])==null||_0x27e543[_0x5272e6(0x19a)](_0x4e0f9d),this[_0x5272e6(0x23c)][_0x5272e6(0x1a4)](_0x4e0f9d);});}[_0x2eb37b(0x370)](){const _0x12a386=_0x2eb37b;var _0x1a5ec9;const _0x49eded=(_0x1a5ec9=this[_0x12a386(0x363)][_0x12a386(0x39c)](_0x383fee['LS_CONFIG_KEY']))!=null?_0x1a5ec9:{},{ls:_0x30f7ec,pbk:_0x2f3a23,tvld:_0x105406}=_0x49eded,_0x26b421=_0x5a546a(0x0,_0x30f7ec,_0x2f3a23)[_0x12a386(0x36a)];_0x105406!==!0x1&&this['_configService'][_0x12a386(0x310)](_0x383fee[_0x12a386(0x179)],{'ls':_0x30f7ec,'pbk':_0x2f3a23,'tvld':_0x26b421});}},_0x1a5fc9(_0x186de7,_0x2eb37b(0x31a),_0x21cd30),_0x1a5fc9(_0x186de7,_0x2eb37b(0x242),_0x2a947c[_0x2eb37b(0x36f)]['UNIVER_SHEET']),_0x186de7),_0x1bf211[_0x2eb37b(0x3ca)]=_0x97169e([_0x2f8c24(0x1,_0x2a947c[_0x2eb37b(0x3b9)](_0x2a947c[_0x2eb37b(0x1db)])),_0x2f8c24(0x2,_0x2a947c[_0x2eb37b(0x3b9)](_0x2a947c['ICommandService'])),_0x2f8c24(0x3,_0x2a947c[_0x2eb37b(0x304)]),_0x2f8c24(0x4,_0x2a947c[_0x2eb37b(0x3a9)](_0x10b9d3[_0x2eb37b(0x1cd)]))],_0x1bf211[_0x2eb37b(0x3ca)]),_0x1bf211[_0x2eb37b(0x3a1)]=_0x17856e,_0x1bf211['AddPivotTableMutation']=_0x10bc75,_0x1bf211['BLANK_ROW_COUNT']=_0x4b0e90,_0x1bf211[_0x2eb37b(0x29e)]=_0x4d595f,_0x1bf211[_0x2eb37b(0x26b)]=_0x2c82cd,_0x1bf211[_0x2eb37b(0x30c)]=_0x3eb1d6,_0x1bf211[_0x2eb37b(0x2d2)]=_0x2b917b,_0x1bf211[_0x2eb37b(0x3ac)]=_0x585f80,_0x1bf211['RemovePivotFieldMutation']=_0x553c91,_0x1bf211[_0x2eb37b(0x188)]=_0x4f5461,_0x1bf211[_0x2eb37b(0x342)]=_0x3380bc,_0x1bf211[_0x2eb37b(0x1b5)]=_0x21cd30,_0x1bf211[_0x2eb37b(0x1c6)]=_0x329154,_0x1bf211['SetPivotFieldFormatMutation']=_0xd81a46,_0x1bf211[_0x2eb37b(0x1e8)]=_0x15b675,_0x1bf211[_0x2eb37b(0x2b4)]=_0x5d4ba8,_0x1bf211[_0x2eb37b(0x28b)]=_0x98b456,_0x1bf211[_0x2eb37b(0x26c)]=_0x161d8b,_0x1bf211[_0x2eb37b(0x28c)]=_0x29b4f9,_0x1bf211[_0x2eb37b(0x1c0)]=_0x480ffa,_0x1bf211[_0x2eb37b(0x2e5)]=_0x3284ec,_0x1bf211[_0x2eb37b(0x194)]=_0x2ffebb,_0x1bf211[_0x2eb37b(0x28f)]=_0x3a648a,_0x1bf211[_0x2eb37b(0x319)]=_0x363561,_0x1bf211[_0x2eb37b(0x269)]=_0xb07640,_0x1bf211[_0x2eb37b(0x221)]=_0x5e0b2b,_0x1bf211[_0x2eb37b(0x383)]=_0x5c1e40,_0x1bf211['getFieldListByArea']=_0x1bd2e1,_0x1bf211[_0x2eb37b(0x22c)]=_0x419b24,_0x1bf211[_0x2eb37b(0x30d)]=_0x5a546a,_0x1bf211[_0x2eb37b(0x2c6)]=_0x210eda,_0x1bf211['transFromCellValue']=_0xea8ef,_0x1bf211[_0x2eb37b(0x2ca)]=_0x4a10a1,Object[_0x2eb37b(0x398)](_0x1bf211,Symbol[_0x2eb37b(0x2e6)],{'value':_0x2eb37b(0x1f3)});}));function _0x2a24(){const _0x1916ec=['canUsePivot','value','PivotDisplayDataType','SetPivotSortMutation','subUnitId','getPivotTableIdByCell','blank','addCollectionByJSON','_config','dataFields','collapseInfo','isErrorValue','UNIVER_SHEET','_initSnapshot','colStyle','_pivotRenderInfoCache','collectionChange$','Max\x20of\x20','PivotMultipleValueId','getFilterInfo','getDisplayName','sheets-pivot.countName','updateFieldPosition','setDataRecordCount','sheet.mutation.pivot-update-value-position','getPivotDirtyViewInfo','PivotTableChangeTypeEnum','fontRenderExtension','SetPivotSetting','UniverEnginePivot','PivotFilterTypeEnum','sheets.tabs.sheet','workbook\x20is\x20not\x20found','sheet.mutation.pivot-update-field-position','SetPivotPositionMutation','SetPivotSubtotalTypeMutation','getFieldById','pivotTableId','UpdateValuePositionMutation','addRecord','cornerInfo','formJSON','_dataSyncPrimaryController','getLastRow','removeCollectionImp','startRow','PivotSubtotalTypeEnum','_viewData$','_requestResolvers','SheetsPivotTableAdaptorModel','477215aEGOgE','getSourceName','_initDataSendListener','DEFAULT_PIVOT_NUMBER','_ensureViewDataMap','updatePivotTableMatrixInfo','1992qYPGQe','function','viewUpdate$','executeCommand','textInfo','Rectangle','Expand','getPivotTableModelConfig','markDirty$','_viewData','sheets-pivot.stdDevpName','Disposable','Var\x20of\x20','col','sheets-pivot.grandTotal','getNoUsedDataFieldIds','getValuePosition','getRangeData','sheets-pivot.emptyPivot.filter','SetPivotOptionMutation','batch','NotName','_updateRenderEmptyCache','createDataFieldId','deleteUnitId','map','concat','getHeaderMapItem','getStyles','movePivotField','CommandType','setSourceName','_ensurePivotMap','find','clearRenderCache','Values','getPivotTableConfig','getPivotTableInfo','getColumnCount','iterateFieldDim','pageRanges','unionPivotViewRange','refreshData','cellToRange','cornerStyle','drillDown','valueIndex','sheets-pivot.maxName','dispose','PivotTableViewDirtyMarkOperation','_exclusiveRangeService','colInfo','delete','getUpdateRangeDeleteIds','pbt','getRangeKeyList','getSheets','getDataFieldItemInfo','18rbBoKh','handleSourceRangeChange','SHEET_PIVOT_IN_MAIN_THREAD','filterInfo','keys','_collectionChange$','sheets-pivot.varpName','InterceptorEffectEnum','ManualFilter','#FFFFFF','UpdatePivotFieldSourceInfoMutation','toStringTag','updatePivotTableRangeInfo','getPivotTableMatrixInfo','Varp\x20of\x20','ReleaseType','Filter','adjustSheetCellData','_sheetsPivotTableConfigModel','isEmpty','next','replace','NUM','return\x20','IExclusiveRangeService','isFeatureAuthorizedWithinTime','NORMAL','updateRenderCache','PivotCellStyleTypeEnum','rowStyle','updateConfig','getSheetId','getUnit','initDataRanges','#1d32e9','6351257sYdsSO','exports','setFilterInfo','params','SheetsPivotDataSourceModel','RenameField','IConfigService','SetFilterInfo','dataStyle','ICommandService','getSortInfo','StdDevp\x20of\x20','getRangeKey','updateDirtyPivotTable','PivotTableOperationEnum','getPivotInfoByLicense','getPivotTableCellData','pivotTableConfigs','setConfig','LocaleService','endColumn','valid','setPivotSetting','dataFieldsCollection','getDirtyInfo','addDirtyPivotTable','remove','applyChangeSet','pluginName','configVersion$','New','@univerjs/engine-formula','update','updateViewData','registerPluginResource','setPivotSort','_pivotTableRangeInfo','sourceRangeInfo','notExecuteFormula','some','DataField','filterFields','updateFieldSourceInfo','Tools','sheets-pivot.productName','REF','values','UniverEngineFormula','NO_COMMERCIAL','(Blank)','fieldsCollectionChange$','NotFunction','getIntersects','IUniverInstanceService','Add','push','updateValuePosition','fromJSON','_sheetsPivotRpcService','#f4f4f5','body','441vDgwnV','getSubtotal','createLabelField','setValue','exiting','getDataFieldManager','getTextInfo','RenamePivotFieldMutation','@univerjs-pro/engine-pivot','unshiftString','startCollectChangeset','entries','sheets-pivot.value','SetCollapse','FORCE_STRING','intersects','onCommandExecuted','Column\x20','PivotTable','_pivotTableInstanceCache','UpdateValuePosition','column','tableFieldId','renameField','UpdateFieldPosition','UniverSheets','disposeWithMe','setName','subscribe','intercept','generateNewSheetName','uniqueDataFieldName','pageStyle','startColumn','getFieldDataType','sheets-pivot.blank','sum','sheet.mutation.send-pivot-config-local','Product\x20of\x20','getUnitId','_configService','DataFieldManager','addPivotTableWithConfig','ObjectMatrix','result','hasOwnProperty','colHeaderMap','timeValid','PivotView','_initPivotTextInfo','71212TuAwDR','_collectionConfigModel','UniverInstanceType','_initTimeValid','Grand\x20Total','updateCollectionConfig','_resourceManagerService','MUTATION','None','random','SetPivotFilter','RANGE_TYPE','deleteDataField','versions','ErrorType','getColCount','subtotal','headerMap','endCollectChangeset','range','@univerjs/core','colRanges','getAdjustRangesPosition','setPivotInitCompleted','_initRegisterCommand','sheet.mutation.set-pivot-filter','getMatrix','1430aEnYTC','pivotConfigChange$','setPivotFilter','removeField','_sheetsPivotDataSourceModel','Row','sheet.mutation.send-init-pivot-text-local','PivotViewCellValueTypeEnum','StdDev\x20of\x20','getCellMatrix','PivotErrorTypeEnum','sheet.mutation.add-pivot-table','SetPivotCollapse','SHEET_PIVOT_EXCLUSIVE_ID','info','call','defineProperty','setPivotCollapse','set','dataFieldManagerConfig','getConfig','sheet.mutation.add-pivot-field','_pivotRenderValueMatrixCache','AddPivotField','min','AddPivotFieldMutation','getValue','rowInfo','limit\x20pivot','AddPivotTable','message','CellValueType','_lifecycleService','Optional','addPivotField','substring','PositionType','rangeCache','isArray','_markDirty$','DrillDown','getDataFieldId','deepClone','updatePivotSource','getformat','ΣValue','_init','from','COLUMN','Inject','pivotInitCompleted$','UniverRpc','SheetInterceptorService','targetCellInfo','_model','UpdateSource','setCollapse','setDirty','sortInfo','forValue','asObservable','level','Total','IActiveDirtyManagerService','_queryingMap','max','UniverSheetsPivotTablePlugin','rangeKey','_ensurePivotTableMatrixInfo','getTypeOfUnitDisposed$','new','_generateUniqueVersion','Min\x20of\x20','get','NAME','_host','reduce','size','isDateValue','serializeRangeWithSpreadsheet','_subjectViewChange','addField','getFieldFormat','getFilterFieldIdByIndex','object','stdDevp','getLastCol','updateRangeKeyMap','getId','setRangeKeyMap','Average\x20of\x20','LS_CONFIG_KEY','_ensurePivotItemRenderInfoCache','numfmt','rowHeaderMap','Column','sheets-pivot.averageName','sheets-pivot.emptyPivot.row','parseInt','sourceName','handleAsyncResponse','registerDirtyService','varp','GrandTotal','countNums','handleMoveRange','RemovePivotTableMutation','lastRow','_getAutoName','#e6ebfb','_initConfig','getFieldPositionInfoById','getSheetFeatureLimit','MovePivotField','@univerjs/sheets','addCollection','leftOffset','updateAllDisplayName','UpdatePivotTableSourceRangeMutation','areaInfo','stdDev','PivotDataFieldDataTypeEnum','rxjs','measure','registerSyncingMutations','filterId','isText','add','getSubUnitPivotMatrix','iterateField','sheet.mutation.set-pivot-sort-info','collectionConfig','sheets-pivot.minName','rangeType','registerCommand','setRange','unshift','_initLocale','IFeatureCalculationManagerService','MIN_SAFE_INTEGER','sheetName','single','createValueField','setOptions','getName','_sheetsPivotTableAdaptorModel','stringify','_pivotTableMatrixInfo','BadReference','sequenceExecute','getSubUnitPivotConfigs','SHEET_PIVOT_TABLE_PLUGIN','number','4535888vGOqul','columnFields','sheet.operation.pivot-table-view-formula-mark-dirty','symbol','oldMatrix','generateHexNumber','_initViewModelBySheetInterceptor','cornerRanges','panel','UpdateFieldPositionMutation','_univerInstanceService','triggerDirtyFeature','NotNumber','_viewUpdate$','145250oLmAKg','SetPivotCollapseMutation','toJSON','sheet.mutation.set-pivot-option','reset','sheet.mutation.remove-pivot-table','sheet.mutation.pivot-update-field-source-info','fieldsConfig','DataSyncPrimaryController','isBottomTotal','_updateModelCache','#e6ebfa','viewData$','Subject','bind','collections','removeDataField','SheetsPivotTableConfigModel','addPivotTable','getOwnPropertyDescriptor','node','dimension','Injector','getSheetBySheetName','realDeleteValue','Delete','STRING','rangesInfo','mergeWorksheetSnapshotWithDefault','getMatrixFromRunTimeData','getDataFieldByTableId','UniverSheetsPivot','sheet.mutation.send-pivot-view-local','_activeDirtyManagerService','iterateFieldByArea','SetPivotFilterMutation','rangeKeyMap','_configVersion$','query','@univerjs/rpc','subTotalStyle','Value','count','sheets-pivot.stdDevName','_textInfo','getDataFieldBySourceName','Module','has','string','RemovePivotField','getPivotTableInstance','sheets-pivot.countNumsName','getFieldCountByArea','rgb(255,255,255)','endRow','_pivotConfigChange$','Set','_ensurePivotTableRangeInfo','sheets-pivot.columnName','oldRangeInfo','_createExclusiveRange','register','getCollection','setPivotTable','getDataFieldByRangeKey','markDirty','_subjectFieldsCollectionChange','_localeService','var','UniverLicense','length','#b2b2b2','NUMBER','_featureCalculationManagerService','pivotTableIndexConfig','data','getInfo','getAutoDisplayName','setSortInfo','SheetsPivotRPCService','getTargetByPivotId','dataFieldId','getValueIndex','grandTotal','IResourceManagerService','getViewData','sheets-pivot.sumName','LifecycleService','getRangeStartEndInfo','addExclusiveRange','sheet.mutation.set-pivot-field-subtotal-type','getSheetCommandTarget','defaultThemeStyle','_ensurePivotItemRenderValueMatrixCache','setTextInfo','valueFields','isValue','getFieldIds','filter','options','AddField','getMatrixValue','PivotTableValuePositionEnum','getPivotCellInfo','removeSourceRangeChange','Panel','setFieldFormat','splice','_sheetInterceptorService','_initPivotDataGetListener','broadcastCollectionChange','MAX_SAFE_INTEGER','getCurrentUnitForType','row','unitId','setSubtotalType','hasField','_updatePivotTableInstanceCache','SetOptions','_commandService','Plugin','sheet.mutation.set-pivot-collapse','refreshDataField','sheet.mutation.rename-pivot-field','_pivotInitCompleted$','type','_dataFieldManagerCollection','_subjectCollectionChange','getRowCount','removePivotTable','updateViewInfo','format','createCollectionWithDataRange','parse','4mBqbtr','contains','getSheetBySheetId','queryDirtyPivotTable','_initUnitDisposed','1563709dZPhud','removePivotField','error','Div0','_injector','onStarting','PivotTableFiledAreaEnum','getAutoDisplayNameFunction','CELL_CONTENT','sheet.mutation.remove-pivot-field','AddPivotTableWithConfig','updateDataFieldsCollection','UpdatePivotSource','SetSubtotalType','dataRangeInfo','CustomCommandExecutionError','sheet.mutation.set-pivot-format','_deletePivotTableInstanceCache','getTableFieldById','updateView','updateConfigCache','forEach','rgb(240,241,243)','removeCollections','addFieldWithSourceId'];_0x2a24=function(){return _0x1916ec;};return _0x2a24();}