@univerjs-pro/sheets-pivot 0.8.3-nightly.202507011607 → 0.8.3-nightly.202507031607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ko-KR.js +1 -1
  7. package/lib/cjs/locale/ru-RU.js +1 -1
  8. package/lib/cjs/locale/vi-VN.js +1 -1
  9. package/lib/cjs/locale/zh-CN.js +1 -1
  10. package/lib/cjs/locale/zh-TW.js +1 -1
  11. package/lib/es/facade.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/en-US.js +1 -1
  14. package/lib/es/locale/fa-IR.js +1 -1
  15. package/lib/es/locale/fr-FR.js +1 -1
  16. package/lib/es/locale/ko-KR.js +1 -1
  17. package/lib/es/locale/ru-RU.js +1 -1
  18. package/lib/es/locale/vi-VN.js +1 -1
  19. package/lib/es/locale/zh-CN.js +1 -1
  20. package/lib/es/locale/zh-TW.js +1 -1
  21. package/lib/facade.js +1 -1
  22. package/lib/index.js +1 -1
  23. package/lib/locale/en-US.js +1 -1
  24. package/lib/locale/fa-IR.js +1 -1
  25. package/lib/locale/fr-FR.js +1 -1
  26. package/lib/locale/ko-KR.js +1 -1
  27. package/lib/locale/ru-RU.js +1 -1
  28. package/lib/locale/vi-VN.js +1 -1
  29. package/lib/locale/zh-CN.js +1 -1
  30. package/lib/locale/zh-TW.js +1 -1
  31. package/lib/types/common/const.d.ts +40 -40
  32. package/lib/types/controllers/const.d.ts +1 -1
  33. package/lib/umd/facade.js +1 -1
  34. package/lib/umd/index.js +1 -1
  35. package/lib/umd/locale/en-US.js +1 -1
  36. package/lib/umd/locale/fa-IR.js +1 -1
  37. package/lib/umd/locale/fr-FR.js +1 -1
  38. package/lib/umd/locale/ko-KR.js +1 -1
  39. package/lib/umd/locale/ru-RU.js +1 -1
  40. package/lib/umd/locale/vi-VN.js +1 -1
  41. package/lib/umd/locale/zh-CN.js +1 -1
  42. package/lib/umd/locale/zh-TW.js +1 -1
  43. package/package.json +9 -9
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0xff08f=_0x37bd;(function(_0x5ed163,_0x51882b){const _0x5bdb1d=_0x37bd,_0x57f0a7=_0x5ed163();while(!![]){try{const _0x30fdff=parseInt(_0x5bdb1d(0x2a5))/0x1*(-parseInt(_0x5bdb1d(0x8f))/0x2)+parseInt(_0x5bdb1d(0x20c))/0x3*(parseInt(_0x5bdb1d(0x11f))/0x4)+-parseInt(_0x5bdb1d(0x28c))/0x5+parseInt(_0x5bdb1d(0x1df))/0x6+-parseInt(_0x5bdb1d(0x102))/0x7*(-parseInt(_0x5bdb1d(0x23e))/0x8)+parseInt(_0x5bdb1d(0x318))/0x9*(-parseInt(_0x5bdb1d(0x11b))/0xa)+parseInt(_0x5bdb1d(0x158))/0xb;if(_0x30fdff===_0x51882b)break;else _0x57f0a7['push'](_0x57f0a7['shift']());}catch(_0x355b81){_0x57f0a7['push'](_0x57f0a7['shift']());}}}(_0x3d9d,0x96ddf));var an=Object[_0xff08f(0x98)],rn=(_0x217e10,_0x53d9e,_0x4e1861)=>_0x53d9e in _0x217e10?an(_0x217e10,_0x53d9e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e1861}):_0x217e10[_0x53d9e]=_0x4e1861,V=(_0x348b0b,_0x5c89e6,_0x37e422)=>rn(_0x348b0b,typeof _0x5c89e6!=_0xff08f(0x18c)?_0x5c89e6+'':_0x5c89e6,_0x37e422);import{PivotCellStyleTypeEnum as _0x554228,PivotViewCellValueTypeEnum as _0x32b86d,isPrefixValue as _0x1ac4ea,isErrorValue as _0x5ede90,PivotErrorTypeEnum as _0x1c1ac2,PivotDateGroupFieldDateTypeEnum as _0x48bc72,DataFieldManager as _0x5837ef,FieldsCollection as _0x499880,isDateValue as _0x2736a9,DataField as _0x31ddff,generateHexNumber as _0x440537,isBaseGroupField as _0x28b357,PivotTable as _0x55f99e,PivotSubtotalTypeEnum as _0x4b7c50,PivotTableFiledAreaEnum as _0x2849b6,excelDateToUnixMilliseconds as _0x66d7b7,createValueField as _0x5dae49,createLabelField as _0x1b826f,PivotTableChangeTypeEnum as _0x3254bb,BaseGroupField as _0x4bca1b,PivotView as _0x26d2cd,isDateGroupFieldJSON as _0x496b03,PivotCallbackEnum as _0x992d99,PivotFilterTypeEnum as _0x45deba,getAutoDisplayName as _0x5c694f,PivotDataFieldDataTypeEnum as _0x1b4e62,PivotTableValuePositionEnum as _0x244351,isDateGroupField as _0x3a6e01,DateGroupField as _0x1cbdbb}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x1fea7f,ObjectMatrix as _0x3beae7,IUniverInstanceService as _0x5838cd,UniverInstanceType as _0x534b47,CellValueType as _0x18fcdd,numfmt as _0x349634,LocaleService as _0x1ca3ab,createAsyncInterceptorKey as _0x35a40d,createInterceptorKey as _0x291005,CommandType as _0x36da7e,RANGE_TYPE as _0x2875ee,numberToABC as _0xa43d22,Inject as _0x351ec8,Injector as _0x8ab5d1,LifecycleService as _0x3f0061,IConfigService as _0x56c73b,ICommandService as _0x596dde,IResourceManagerService as _0x18a6b3,Disposable as _0x51d9e7,Rectangle as _0x3356fe,Tools as _0x336a3b,AsyncInterceptorManager as _0x199b11,InterceptorManager as _0x50a86f,InterceptorEffectEnum as _0x167c11,CustomCommandExecutionError as _0x51b14d,IUndoRedoService as _0x3fa4c8,sequenceExecute as _0x5f176d,mergeWorksheetSnapshotWithDefault as _0xca9a85,generateRandomId as _0x241bdb,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x35ac26,DEFAULT_WORKSHEET_ROW_COUNT as _0x19a53d,DisposableCollection as _0xbeda3e,Range as _0x36db8c,DependentOn as _0x2195c9,Optional as _0x206ad2,Plugin as _0x352784,merge as _0x12e4b1}from'@univerjs/core';import{ErrorType as _0x39cc87,serializeRangeWithSpreadsheet as _0x4199eb,IFeatureCalculationManagerService as _0x32bffb,GlobalComputingStatusService as _0x14eac6,IActiveDirtyManagerService as _0x108dda}from'@univerjs/engine-formula';import{generateNullCell as _0x46ecc8,SetRangeValuesUndoMutationFactory as _0x4bb5a0,SetRangeValuesMutation as _0x540f88,getSheetCommandTarget as _0x32bc51,InsertRowMutation as _0x93e205,RemoveRowMutation as _0x435802,InsertColMutation as _0x2f85c7,RemoveColMutation as _0x280ed9,IExclusiveRangeService as _0x42eccf,SheetInterceptorService as _0x335a29,INTERCEPTOR_POINT as _0x203a04,InsertSheetCommand as _0x17c903,InsertSheetUndoMutationFactory as _0xe74cff,RemoveSheetMutation as _0x784ca5,InsertSheetMutation as _0x53bf66,MoveRangeMutation as _0x4a8609,SheetsSelectionsService as _0xae168b,ClearSelectionContentCommand as _0x178b31,ClearSelectionAllCommand as _0x1a1aab,SetWorksheetColWidthMutation as _0x163dcd,RefRangeService as _0x5aebf8,SetWorksheetActiveOperation as _0x3c1116,MoveRangeCommand as _0x3d918c,RemoveSheetCommand as _0x5cb87a}from'@univerjs/sheets';import{Subject as _0x1086f6,BehaviorSubject as _0x3b2e28}from'rxjs';import{LS_CONFIG_KEY as _0x1e231c,unshiftString as _0x3aa322,isFeatureAuthorizedWithinTime as _0x4760d5,getSheetFeatureLimit as _0x55b602,ReleaseType as _0x1f2530,UniverLicensePlugin as _0x5ad87e}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x1a3763,RemoveSheetsFilterMutation as _0x4c5dd9}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x45346f}from'@univerjs/rpc';import{getFontStyleString as _0x473cad,FontCache as _0x2bed79}from'@univerjs/engine-render';const ko=Number[_0xff08f(0x1c8)](0x686408ac),li=0x10,so=0x1,ao=_0xff08f(0x30e),It=0x1,ci=_0xff08f(0x17f),di=_0xff08f(0x2bc),wt=_0xff08f(0x11d),ui=_0xff08f(0x28d),fi=_0xff08f(0x28d),gi=_0xff08f(0xc3),vi=_0xff08f(0x1c4),hi=_0xff08f(0x15a),pi='#e6ebfa',mi=_0xff08f(0x1c4),Ii=_0xff08f(0x15a),Ci=_0xff08f(0xc5),bi=0xe,Si=0x6;var Lo=(_0xaca3c5=>(_0xaca3c5['Existing']=_0xff08f(0x10c),_0xaca3c5[_0xff08f(0x2f6)]='new',_0xaca3c5))(Lo||{});const Bo={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Ti=0x1e,We={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ci},'bd':We,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':We,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':We,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':We,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':We,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':vi},'cl':{'rgb':hi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':We,'vt':0x2}};function Pi(_0x39c9ca,_0x307221,_0x1c4ba0){const _0x3c6abc=_0xff08f,_0x4eab49=_0x39c9ca[_0x3c6abc(0x235)](_0x1ca3ab),_0x50cc0f=_0x1c4ba0['split']('_');switch(_0x307221){case _0x48bc72[_0x3c6abc(0x2bd)]:return _0x4eab49['t'](_0x3c6abc(0x1e9),..._0x50cc0f);case _0x48bc72[_0x3c6abc(0x2fd)]:return _0x4eab49['t'](_0x3c6abc(0xff),..._0x50cc0f);case _0x48bc72[_0x3c6abc(0xb4)]:return _0x4eab49['t'](_0x3c6abc(0x1c6),..._0x50cc0f);case _0x48bc72[_0x3c6abc(0x275)]:return _0x4eab49['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x50cc0f);case _0x48bc72['Date']:return _0x4eab49['t'](_0x3c6abc(0x2b9),..._0x50cc0f);case _0x48bc72[_0x3c6abc(0x2e9)]:return _0x4eab49['t'](_0x3c6abc(0x10b),..._0x50cc0f);case _0x48bc72[_0x3c6abc(0xae)]:return _0x4eab49['t'](_0x3c6abc(0x189),..._0x50cc0f);case _0x48bc72[_0x3c6abc(0x268)]:return _0x4eab49['t'](_0x3c6abc(0x1cd),..._0x50cc0f);case _0x48bc72[_0x3c6abc(0xc2)]:return _0x4eab49['t'](_0x3c6abc(0x276),..._0x50cc0f);case _0x48bc72[_0x3c6abc(0x1b6)]:return _0x4eab49['t'](_0x3c6abc(0x1cb),..._0x50cc0f);}return'';}const it=(_0x263bc7,_0x1d8468,_0x583bd6,_0x5721b0)=>{const _0x166f4c=_0xff08f;let _0x1f41f8;const _0x49b9d1=_0x263bc7[_0x166f4c(0x235)](_0x5838cd)[_0x166f4c(0x1fa)](_0x534b47[_0x166f4c(0x288)]);if(!_0x49b9d1)return null;const _0xcb7ba8=_0x49b9d1[_0x166f4c(0xab)]();let _0x3e3803;if(_0x583bd6&&(_0x3e3803=_0xcb7ba8[_0x166f4c(0x17b)](_0x583bd6)),_0x1d8468!=null&&_0x1d8468['v']||(_0x1d8468==null?void 0x0:_0x1d8468['v'])===0x0){_0x1f41f8||(_0x1f41f8={});const _0x58e90e=Ko(_0x1d8468['v']);typeof _0x58e90e==_0x166f4c(0x2b1)?_0x1f41f8['t']=_0x18fcdd[_0x166f4c(0x2a0)]:typeof _0x58e90e==_0x166f4c(0x1cf)&&(_0x1f41f8['t']=_0x18fcdd[_0x166f4c(0x2f8)]),_0x1f41f8['v']=_0x58e90e;}if((_0x1d8468!=null&&_0x1d8468['i']||(_0x1d8468==null?void 0x0:_0x1d8468['i'])===0x0)&&(_0x1f41f8||(_0x1f41f8={}),_0x1f41f8['fi']=_0x1d8468['i']),_0x1d8468!=null&&_0x1d8468['s']&&(_0x1f41f8||(_0x1f41f8={}),_0x1f41f8['pbt']=_0x1d8468['s']),_0x583bd6&&(_0x1f41f8||(_0x1f41f8={}),_0x1f41f8['s']=_0x3e3803),_0x5721b0&&_0x1f41f8!=null&&_0x1f41f8['v']&&_0x1f41f8[_0x166f4c(0x169)]!==_0x554228[_0x166f4c(0x304)]&&_0x1f41f8['pbt']!==_0x554228[_0x166f4c(0xb2)]){const _0x145514=String(_0x1f41f8['v']),{dateType:_0x323c19}=_0x5721b0;_0x1f41f8['v']=Pi(_0x263bc7,_0x323c19,_0x145514),_0x1f41f8['t']=_0x18fcdd[_0x166f4c(0x2f8)];}return _0x1f41f8;},Mi=(_0xbebbbf,_0x3a06f2,_0x3c0eef,_0x52e3fb)=>{const _0x4a243b=_0xff08f;var _0x1595d1,_0x4e4d01,_0x22f760,_0x1a6ef8,_0x5778df,_0x233451,_0x5aaa6f,_0x37fc57,_0x397412,_0x3d7488,_0x4d406f,_0x3b5db4,_0x3a9295,_0x2b9b06;const _0xf1b615=_0x3c0eef[_0x4a243b(0x177)],{cornerView:_0x28006c,rowView:_0x1704d5,colView:_0x16a028,dataView:_0x1a8880,pageView:_0x1c6a8f,formatMap:_0x29556f,groupInfo:_0x281c86}=_0x3a06f2,{row:_0x576c11,col:_0x297aa4}=_0xf1b615,_0x4db594=new _0x3beae7(),_0x5e8f09={},_0x49338d={},_0x1d860c={},_0x1d6ee3={},_0x3bb994={};let _0x46526a=_0x576c11,_0xd8c96a=_0x297aa4;Object[_0x4a243b(0x237)](_0x1c6a8f['data'])['forEach'](_0x457c7e=>{const _0x4391ef=_0x4a243b;Object[_0x4391ef(0x237)](_0x1c6a8f[_0x4391ef(0x2fa)][Number(_0x457c7e)])[_0x4391ef(0x1b9)](_0x25aa5c=>{const _0x408036=_0x4391ef,_0x28fa2d={..._0x1c6a8f[_0x408036(0x2fa)][Number(_0x457c7e)][Number(_0x25aa5c)]};_0x4db594[_0x408036(0x17b)](Number(_0x457c7e)+_0x46526a,Number(_0x25aa5c)+_0xd8c96a,it(_0xbebbbf,_0x28fa2d,fe[_0x408036(0x14a)]));});});const _0x2a8345=Object['keys'](_0x1c6a8f[_0x4a243b(0x2fa)])[_0x4a243b(0x1a8)];_0x46526a+=_0x2a8345+(_0x2a8345?It:0x0);const _0x1dfecd=_0x28006c[_0x4a243b(0x209)](),_0x3b7005=_0x28006c[_0x4a243b(0xf8)]();for(let _0x673c9d=0x0;_0x673c9d<_0x1dfecd;_0x673c9d++)for(let _0x51b0a6=0x0;_0x51b0a6<_0x3b7005;_0x51b0a6++){const _0x163ab7={...(_0x4e4d01=(_0x1595d1=_0x28006c[_0x4a243b(0x2fa)])==null?void 0x0:_0x1595d1[_0x673c9d])==null?void 0x0:_0x4e4d01[_0x51b0a6]};_0x163ab7&&((_0x22f760=_0x1704d5[_0x4a243b(0x25c)][_0x51b0a6])!=null&&_0x22f760[_0x4a243b(0x27e)])&&_0x51b0a6===_0x3b7005-0x1&&_0x673c9d===_0x1dfecd-0x1&&(_0x163ab7['v']=''+_0x52e3fb[_0x4a243b(0x201)]),_0x4db594[_0x4a243b(0x17b)](_0x673c9d+_0x46526a,_0x51b0a6+_0xd8c96a,it(_0xbebbbf,_0x163ab7,fe['cornerStyle']));}for(let _0x2c69d7=0x0;_0x2c69d7<_0x28006c['info']['length'];_0x2c69d7++)_0x28006c[_0x4a243b(0x2ba)][_0x2c69d7]&&(_0x1d860c[''+(_0x2c69d7+_0xd8c96a)]=_0x28006c[_0x4a243b(0x2ba)][_0x2c69d7]);_0xd8c96a+=_0x3b7005;const _0xe65407=_0x16a028[_0x4a243b(0x25c)],_0x552938=_0x16a028[_0x4a243b(0x1f3)]()>=0x0?_0x16a028[_0x4a243b(0x1f3)]()+0x1:0x0,_0xb7362=_0x16a028[_0x4a243b(0x22e)]()>=0x0?_0x16a028[_0x4a243b(0x22e)]()+0x1:0x0;for(let _0x48ba01=0x0;_0x48ba01<_0xb7362;_0x48ba01++){for(let _0x406b05=0x0;_0x406b05<_0x552938;_0x406b05++){const _0x49d613={...(_0x5778df=(_0x1a6ef8=_0x16a028[_0x4a243b(0x2fa)])==null?void 0x0:_0x1a6ef8[_0x406b05])==null?void 0x0:_0x5778df[_0x48ba01]},_0x30eca6=(_0x233451=_0xe65407[_0x406b05])==null?void 0x0:_0x233451[_0x4a243b(0x195)],_0x436c4d=_0x29556f[_0x30eca6],_0x57e98c=_0x281c86[_0x30eca6];_0x49d613&&(_0x49d613['v']=ht(_0x49d613,_0x406b05===0x0&&((_0x5aaa6f=_0x16a028['getHeaderMapItem'](_0x48ba01+0x1))==null?void 0x0:_0x5aaa6f[_0x4a243b(0x27e)]),_0x436c4d,_0x52e3fb));let _0x81f747;_0x436c4d?_0x81f747={...fe['colStyle'],'n':{'pattern':_0x436c4d}}:_0x81f747={...fe[_0x4a243b(0xdf)]},_0x4db594['setValue'](_0x406b05+_0x46526a,_0x48ba01+_0xd8c96a,it(_0xbebbbf,_0x49d613,_0x81f747,_0x57e98c));}_0x16a028[_0x4a243b(0x2ba)][_0x48ba01]&&(_0x49338d[''+(_0x48ba01+_0xd8c96a)]=_0x16a028[_0x4a243b(0x2ba)][_0x48ba01]),_0x16a028['headerMap'][_0x48ba01+0x1]&&(_0x3bb994[''+(_0x48ba01+_0x46526a+0x1)]=_0x16a028[_0x4a243b(0x25c)][_0x48ba01+0x1]);}_0x46526a+=_0x1dfecd;const _0x5cc627=_0x1704d5['headerMap'],_0x4ec141=_0x1704d5[_0x4a243b(0x1f3)]()>=0x0?_0x1704d5[_0x4a243b(0x1f3)]()+0x1:0x0,_0x801998=_0x1704d5['getLastCol']()>=0x0?_0x1704d5[_0x4a243b(0x22e)]()+0x1:0x0;for(let _0x30432d=0x0;_0x30432d<_0x4ec141;_0x30432d++){for(let _0x2eba00=0x0;_0x2eba00<_0x801998;_0x2eba00++){const _0x7994e9={...(_0x397412=(_0x37fc57=_0x1704d5[_0x4a243b(0x2fa)])==null?void 0x0:_0x37fc57[_0x30432d])==null?void 0x0:_0x397412[_0x2eba00]},_0x318456=(_0x3d7488=_0x5cc627[_0x2eba00])==null?void 0x0:_0x3d7488[_0x4a243b(0x195)],_0x3286af=_0x29556f[_0x318456],_0x110387=_0x281c86[_0x318456];_0x7994e9&&(_0x7994e9['v']=ht(_0x7994e9,!0x1,_0x3286af,_0x52e3fb));let _0x3dd5f7;_0x1704d5[_0x4a243b(0x2ba)][_0x30432d][_0x4a243b(0x1d0)]===_0x1704d5['getColCount']()?_0x3dd5f7=fe[_0x4a243b(0xe8)]:_0x1704d5[_0x4a243b(0x2ba)][_0x30432d][_0x4a243b(0x25b)]?_0x3dd5f7=_0x1704d5[_0x4a243b(0x2ba)][_0x30432d][_0x4a243b(0x1d0)]===0x0?fe[_0x4a243b(0x1f5)]:fe[_0x4a243b(0x1a5)]:_0x3dd5f7=fe['rowStyle'],_0x3286af&&(_0x3dd5f7={..._0x3dd5f7,'n':{'pattern':_0x3286af}}),_0x4db594[_0x4a243b(0x17b)](_0x30432d+_0x46526a,_0x2eba00+_0x297aa4,it(_0xbebbbf,_0x7994e9,_0x3dd5f7,_0x110387));}_0x1704d5[_0x4a243b(0x2ba)][_0x30432d]&&(_0x5e8f09[''+(_0x30432d+_0x46526a)]=_0x1704d5[_0x4a243b(0x2ba)][_0x30432d]),_0x1704d5['headerMap'][_0x30432d]&&(_0x1d6ee3[''+(_0x30432d+_0x297aa4)]=_0x1704d5['headerMap'][_0x30432d]);}const _0x10fc3d=_0x1a8880[_0x4a243b(0x209)](),_0x497d7b=_0x1a8880[_0x4a243b(0xf8)]();for(let _0x15080a=0x0;_0x15080a<_0x10fc3d;_0x15080a++)for(let _0x3f756b=0x0;_0x3f756b<_0x497d7b;_0x3f756b++){const _0x388399={...(_0x3b5db4=(_0x4d406f=_0x1a8880['data'])==null?void 0x0:_0x4d406f[_0x15080a])==null?void 0x0:_0x3b5db4[_0x3f756b]};let _0x4a2253;_0x1704d5['info'][_0x15080a][_0x4a243b(0x25b)]?_0x4a2253=_0x1704d5[_0x4a243b(0x2ba)][_0x15080a]['level']===0x0?fe[_0x4a243b(0x1f5)]:fe[_0x4a243b(0x1a5)]:_0x4a2253=fe[_0x4a243b(0x266)];const _0x464e2c=_0x1704d5['info'][_0x15080a][_0x4a243b(0x299)],_0x36f537=_0x16a028['info'][_0x3f756b]['valueIndex'],_0x17e1c4=Math['max'](_0x464e2c,_0x36f537),_0x45bf46=_0x3c0eef[_0x4a243b(0x27b)][_0x4a243b(0xbc)][_0x4a243b(0x182)]();let _0x7267f5='';_0x17e1c4<0x0?_0x7267f5=(_0x3a9295=_0x45bf46[0x0])!=null?_0x3a9295:'':_0x7267f5=(_0x2b9b06=_0x45bf46[_0x17e1c4])!=null?_0x2b9b06:'';const _0x436c03=_0x29556f[_0x7267f5];_0x436c03&&(_0x4a2253={..._0x4a2253,'n':{'pattern':_0x436c03}}),_0x4db594[_0x4a243b(0x17b)](_0x15080a+_0x46526a,_0x3f756b+_0xd8c96a,it(_0xbebbbf,_0x388399,_0x4a2253));}return{'valueMatrix':_0x4db594,'rowInfo':_0x5e8f09,'colInfo':_0x49338d,'cornerInfo':_0x1d860c,'rowHeaderMap':_0x1d6ee3,'colHeaderMap':_0x3bb994};};function ht(_0x2c2059,_0x319c09,_0x553c28,_0x332b03){const _0x46842f=_0xff08f;let _0x18a376=_0x2c2059['v'];_0x319c09&&(_0x18a376=''+_0x332b03[_0x46842f(0x201)]);const _0x493233=_0x2c2059['t']&&(_0x2c2059['t']&_0x32b86d[_0x46842f(0x1d4)])>0x0;if(_0x493233&&(_0x18a376=''+_0x332b03[_0x46842f(0x22b)]),_0x2c2059['s']===_0x554228['Subtotal']){let _0x3ae7bf=_0x18a376,_0x1c2fc8='';_0x1ac4ea(_0x18a376)&&(_0x3ae7bf=_0x18a376['prefix'],_0x1c2fc8=_0x18a376[_0x46842f(0xbb)]);const _0x50e03c=_0x553c28&&!_0x493233?_0x349634[_0x46842f(0x242)](_0x553c28,Number(_0x3ae7bf)):_0x3ae7bf;_0x1c2fc8?_0x18a376=_0x50e03c+'\x20'+_0x1c2fc8:_0x18a376=_0x50e03c+'\x20'+_0x332b03[_0x46842f(0xd4)];}else _0x2c2059['s']===_0x554228['GrandTotal']&&(_0x18a376=_0x18a376+'\x20'+_0x332b03[_0x46842f(0x93)]);return _0x18a376;}function Ko(_0x4f1e76){const _0x3526e3=_0xff08f;if(_0x5ede90(_0x4f1e76)){const {errorType:_0x368bbc}=_0x4f1e76;switch(_0x368bbc){case _0x1c1ac2[_0x3526e3(0x308)]:return _0x39cc87[_0x3526e3(0x18f)];case _0x1c1ac2[_0x3526e3(0x2e1)]:return _0x39cc87['NUM'];case _0x1c1ac2[_0x3526e3(0x1ef)]:return _0x39cc87[_0x3526e3(0x204)];case _0x1c1ac2[_0x3526e3(0x2f0)]:return _0x39cc87[_0x3526e3(0x204)];case _0x1c1ac2['BadReference']:return _0x39cc87['REF'];}}return _0x4f1e76;}function ge(_0x2e4c89,_0x1b3ede,_0x401906=!0x1,_0x40742a=!0x1){const _0x3377e5=_0xff08f,{data:_0x3c0fac}=_0x1b3ede,_0x277430=_0x1b3ede['getRowCount'](),_0x2dbf0f=_0x1b3ede[_0x3377e5(0xf8)]();if(_0x277430<=0x0||_0x2dbf0f<=0x0)return[];const _0x2c5116=_0x1b3ede['getLastCol'](),_0x1c2910=_0x1b3ede[_0x3377e5(0x1f3)](),_0x32f896=_0x40742a?_0x1c2910>=0x0?_0x1c2910+0x1:0x0:_0x277430,_0xc9de3a=_0x40742a?_0x2c5116>=0x0?_0x2c5116+0x1:0x0:_0x2dbf0f,{row:_0x1f3b56,col:_0xaeb0e2}=_0x2e4c89,_0x4b1075=_0x1f3b56,_0x3e2efb=_0xaeb0e2;if(_0x401906){const _0x4bdc84=[];for(const [_0x1f9a58,_0x4ee7a3]of Object[_0x3377e5(0x1f4)](_0x3c0fac))for(const [_0x4fe8b5,_0x15f7cb]of Object['entries'](_0x4ee7a3))_0x4bdc84[_0x3377e5(0xc1)](_0x1fea7f(_0x4b1075+Number(_0x1f9a58),_0x3e2efb+Number(_0x4fe8b5)));return _0x4bdc84;}else{const _0x67a963=_0x40742a?_0x32f896>0x0?0x1:0x0:0x1,_0x534afd=_0x40742a?_0xc9de3a>0x0?0x1:0x0:0x1,_0x398c77=_0x1f3b56+_0x32f896-_0x67a963,_0x93fde6=_0xaeb0e2+_0xc9de3a-_0x534afd;return[{'startRow':_0x4b1075,'startColumn':_0x3e2efb,'endRow':_0x398c77,'endColumn':_0x93fde6}];}}const q='SHEET_PIVOT_IN_MAIN_THREAD',Lt=_0xff08f(0x2c9);var k=(_0x20b067=>(_0x20b067[_0xff08f(0x216)]='filter',_0x20b067['Panel']=_0xff08f(0x140),_0x20b067[_0xff08f(0x13d)]=_0xff08f(0xa3),_0x20b067[_0xff08f(0x1f0)]=_0xff08f(0x1f0),_0x20b067['AddPivotTable']=_0xff08f(0x2ac),_0x20b067[_0xff08f(0x1b2)]=_0xff08f(0x26c),_0x20b067[_0xff08f(0x212)]=_0xff08f(0x200),_0x20b067[_0xff08f(0x1e6)]='setPivotCollapse',_0x20b067[_0xff08f(0x16d)]=_0xff08f(0x1fb),_0x20b067[_0xff08f(0x2b7)]=_0xff08f(0xf5),_0x20b067[_0xff08f(0x11e)]='setPivotSetting',_0x20b067['UpdatePivotSource']=_0xff08f(0x286),_0x20b067['UpdateValuePosition']=_0xff08f(0x11c),_0x20b067[_0xff08f(0xc6)]=_0xff08f(0x1d7),_0x20b067[_0xff08f(0x1e3)]='setValuePivotFilter',_0x20b067[_0xff08f(0x2eb)]=_0xff08f(0x18a),_0x20b067[_0xff08f(0x10f)]='resetPivotTable',_0x20b067))(k||{});const yi={'sheets-pivot.blankValue':_0xff08f(0x29d),'sheets-pivot.columnName':_0xff08f(0x26e),'sheets-pivot.subTotalText':_0xff08f(0x29e),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0xff08f(0x1e8),'sheets-pivot.countName':_0xff08f(0xc9),'sheets-pivot.countNumsName':_0xff08f(0xc9),'sheets-pivot.maxName':'Max\x20of\x20','sheets-pivot.minName':_0xff08f(0xa4),'sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0xff08f(0x184),'sheets-pivot.stdDevpName':_0xff08f(0x2f2),'sheets-pivot.sumName':_0xff08f(0xc4),'sheets-pivot.varName':'Var\x20of\x20','sheets-pivot.varpName':_0xff08f(0x1e7),'sheets-pivot.subTotal':_0xff08f(0xb2),'sheets-pivot.grandTotal':_0xff08f(0x99),'sheets-pivot.value':_0xff08f(0xbb),'sheets-pivot.blank':_0xff08f(0x1d4),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':'Row','sheets-pivot.emptyPivot.column':_0xff08f(0xb8),'sheets-pivot.emptyPivot.values':_0xff08f(0x2dd)},To={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x35a40d(_0xff08f(0x248)),$o=_0x291005(_0xff08f(0x2a4));var Be=(_0x497122=>(_0x497122[_0xff08f(0x15c)]=_0xff08f(0x15c),_0x497122[_0xff08f(0x1e1)]=_0xff08f(0x1e1),_0x497122[_0xff08f(0x1a3)]=_0xff08f(0x1a3),_0x497122))(Be||{}),K=(_0x5f5d6e=>(_0x5f5d6e['Add']=_0xff08f(0x15c),_0x5f5d6e[_0xff08f(0xd9)]=_0xff08f(0x19f),_0x5f5d6e[_0xff08f(0xa6)]=_0xff08f(0x1e1),_0x5f5d6e))(K||{});const Jo={0x0:'I',0x1:'Z',0x2:'v',0x3:'K',0x4:'C',0x5:'y',0x6:'r',0x7:'Q',0x8:'j',0x9:'u','d':'0','H':'1','i':'2','k':'3','b':'4','G':'5','Q':'6','W':'7','o':'8','A':'9','m':'a','E':'b','S':'c','x':'d','f':'e','L':'f','u':'g','F':'h','T':'i','V':'k','N':'l','P':'m','g':'n','K':'o','n':'p','J':'q','t':'s','a':'t','C':'w','M':'x','r':'z','q':'A','j':'B','O':'D','e':'E','y':'F','w':'G','U':'H','z':'J','l':'L','c':'M','X':'N','Y':'O','I':'P','s':'R','v':'S','Z':'T','p':'U','R':'V','D':'W','h':'X','B':'Y'},jo=_0xff08f(0x19e),ro={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0xfe),'handler':()=>!0x0},lo={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x13c),'handler':()=>!0x0},Dt={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x9f),'handler':()=>!0x0},co={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x172),'handler':()=>!0x0},uo={'type':_0x36da7e['MUTATION'],'id':_0xff08f(0x277),'handler':()=>!0x0},wi=_0x9beef3=>{const _0x35a2b1=_0xff08f;var _0x51974d;return((_0x51974d=_0x9beef3[_0x35a2b1(0x214)])==null?void 0x0:_0x51974d[_0x35a2b1(0x30d)][_0x35a2b1(0x1af)](/\r\n$/,''))||'';};class _i extends _0x5837ef{constructor(_0x35a15f,_0x2fed98){const _0xc0505b=_0xff08f;super(),V(this,_0xc0505b(0x312),{}),V(this,'_univerInstanceService'),V(this,_0xc0505b(0x2b6)),(this[_0xc0505b(0x2d4)]=_0x2fed98,this[_0xc0505b(0x2b6)]=_0x35a15f);}[_0xff08f(0x1f1)](){const _0x74e496=_0xff08f;for(const _0x8e40da in this[_0x74e496(0x1b5)]){const _0x5fa248=this['dataFields'][_0x8e40da],_0xbf52c1=_0x5fa248[_0x74e496(0x1e2)]();this[_0x74e496(0x312)][_0xbf52c1]=_0x5fa248[_0x74e496(0x91)]();}}[_0xff08f(0x252)](){const _0x48c6aa=_0xff08f,_0x3430d6=this['_host'];return xi[_0x48c6aa(0xd5)](_0x3430d6);}['deleteDataField'](_0x2b1c2b){const _0xbb9738=_0xff08f,_0x575444=this['dataFields'][_0x2b1c2b][_0xbb9738(0xf9)];delete this[_0xbb9738(0x1b5)][_0x2b1c2b],delete this[_0xbb9738(0x312)][_0x575444];}[_0xff08f(0x171)](_0x45fa70){const _0x1d909a=_0xff08f;this['dataFields'][_0x45fa70[_0x1d909a(0x91)]()]=_0x45fa70;}[_0xff08f(0x133)](_0x101a08){const _0xdcdc7b=_0xff08f;var _0x2c1f88,_0x562255;const _0x47dfc1=this[_0xdcdc7b(0x2b6)][_0xdcdc7b(0xe9)](_0x101a08);if(_0x47dfc1){const {unitId:_0xb90388,subUnitId:_0x16de97}=_0x47dfc1,_0x51b40a=(_0x2c1f88=this[_0xdcdc7b(0x2b6)][_0xdcdc7b(0x215)](_0xb90388,_0x16de97,_0x101a08))==null?void 0x0:_0x2c1f88[_0xdcdc7b(0x178)];this[_0xdcdc7b(0x2b6)]['broadcastCollectionChange']({'token':_0x101a08,'type':Be[_0xdcdc7b(0x1e1)],'dataRangeInfo':_0x51b40a});}(_0x562255=this['getCollection'](_0x101a08))==null||_0x562255[_0xdcdc7b(0x2ca)](),delete this[_0xdcdc7b(0x193)][_0x101a08];}[_0xff08f(0x1e2)](_0x58ebbe,_0xbce88e){const {sheetName:_0x4e18bb,unitId:_0x100696,range:_0x51915c}=_0x58ebbe,{startRow:_0x3547da,endRow:_0x58d03c}=_0x51915c;return _0x4199eb(_0x100696,_0x4e18bb,{'startRow':_0x3547da,'endRow':_0x58d03c,'startColumn':_0xbce88e,'endColumn':_0xbce88e});}[_0xff08f(0x2c3)](_0x3589a5){const _0x3972be=_0xff08f;return this[_0x3972be(0x1b5)][this[_0x3972be(0x312)][_0x3589a5]];}[_0xff08f(0x257)](_0x2bb9ee,_0xb829dd){const _0xabb704=_0xff08f;this[_0xabb704(0x312)][_0x2bb9ee]=_0xb829dd;}[_0xff08f(0x2df)](_0x4e140e,_0x342d11){const _0x3bf426=_0xff08f;this[_0x3bf426(0x312)][_0x342d11]=this['rangeKeyMap'][_0x4e140e],delete this[_0x3bf426(0x312)][_0x4e140e];}[_0xff08f(0xef)](_0x4af584,_0x566df7,_0x127071,_0x48da0f){const _0xabc950=_0xff08f,_0x15f9b6=new _0x499880(this);_0x15f9b6[_0xabc950(0x111)](_0x566df7);const _0x1b714e=[];let _0x2c603d=0x0;for(const _0x4abe55 of _0x15f9b6[_0xabc950(0xe4)]){const _0x369e5c=this[_0xabc950(0x1e2)](_0x127071,_0x2c603d),_0x5ada6b=this[_0xabc950(0x1b5)][_0x4abe55];_0x5ada6b&&(_0x5ada6b['rangeKey']=_0x369e5c,this[_0xabc950(0x257)](_0x369e5c,_0x4abe55),_0x1b714e[_0xabc950(0xc1)]({'index':_0x2c603d,'dataField':_0x5ada6b})),_0x2c603d++;}return this[_0xabc950(0x125)](_0x4af584,_0x15f9b6,_0x127071,_0x48da0f),{'collection':_0x15f9b6,'updateDataFieldList':_0x1b714e};}[_0xff08f(0x188)](_0x23941e,_0x511c67){const _0x262cdc=_0xff08f;return _0x23941e[_0x262cdc(0xfc)]===_0x2875ee[_0x262cdc(0x1c2)]?{'startRow':0x0,'startColumn':_0x23941e[_0x262cdc(0x136)],'endRow':_0x511c67['getRowCount']()-0x1,'endColumn':_0x23941e[_0x262cdc(0x1fe)]}:{'startRow':_0x23941e[_0x262cdc(0x2d2)],'startColumn':_0x23941e['startColumn'],'endRow':_0x23941e[_0x262cdc(0x1de)],'endColumn':_0x23941e[_0x262cdc(0x1fe)]};}[_0xff08f(0xd6)](_0x292678){const _0x33dcbf=_0xff08f,{sheetName:_0x136e38,range:_0x6b65ea}=_0x292678,_0x43d540=this[_0x33dcbf(0x2d4)][_0x33dcbf(0x1fa)](_0x534b47[_0x33dcbf(0x288)]),_0x48125d=_0x43d540['getSheetBySheetName'](_0x136e38),_0x218fd8=_0x48125d[_0x33dcbf(0x253)](),{startColumn:_0x224438,startRow:_0x233d6e,endColumn:_0x5bea44}=this[_0x33dcbf(0x188)](_0x6b65ea,_0x48125d),_0x4821a7=_0x43d540[_0x33dcbf(0xab)](),_0x368aac=new _0x499880(this);_0x368aac['setRange'](_0x292678);const _0x1aaa8=[],_0x4183b4={};for(let _0x50b6ba=_0x224438;_0x50b6ba<=_0x5bea44;_0x50b6ba++){const _0x37f8e3=_0x218fd8['getValue'](_0x233d6e,_0x50b6ba),_0xaee32f=this['getRangeKey'](_0x292678,_0x50b6ba),_0xd75104=this[_0x33dcbf(0x2c3)](_0xaee32f);if(_0xd75104)_0x368aac['addField'](_0xd75104['getId'](),_0xd75104[_0x33dcbf(0x2de)]());else{const _0x16fdef=this[_0x33dcbf(0x24f)]();let _0x1523d0=this['adjustSheetCellData'](_0x37f8e3,_0x4821a7,_0x4183b4);_0x2736a9(_0x1523d0)&&(_0x1523d0=_0x349634[_0x33dcbf(0x242)](_0x1523d0['f'],Number(_0x1523d0['v'])));const _0x379c3e=this[_0x33dcbf(0x2ad)](_0x1523d0,_0x50b6ba),_0x5c47d0=new _0x31ddff(_0x16fdef,_0x379c3e,_0x440537(0x3));_0x5c47d0[_0x33dcbf(0xf9)]=_0xaee32f,this[_0x33dcbf(0x1b5)][_0x16fdef]=_0x5c47d0,_0x368aac[_0x33dcbf(0x263)](_0x16fdef,_0x379c3e),_0x1aaa8['push']({'index':_0x50b6ba,'dataField':_0x5c47d0});}}return{'updateDataFieldList':_0x1aaa8,'collection':_0x368aac};}['_getAutoName'](_0x3518e8){const _0x3f39c0=_0xff08f;return this[_0x3f39c0(0x2b6)][_0x3f39c0(0xa5)]()[_0x3f39c0(0x2fc)]+'\x20'+_0xa43d22(_0x3518e8);}[_0xff08f(0x2ad)](_0xf39984,_0x531c70){return _0xf39984==null||_0xf39984===''?this['_getAutoName'](_0x531c70):String(_0xf39984);}[_0xff08f(0x116)](_0x40508b){return this['collections'][_0x40508b];}['addCollection'](_0x5be675,_0x340771,_0x4754b2,_0xfb9985){const _0x47f641=_0xff08f;this[_0x47f641(0x193)][_0x5be675]=_0x340771,_0x340771[_0x47f641(0xcd)](_0x4754b2),this[_0x47f641(0x2b6)]['broadcastCollectionChange']({'token':_0x5be675,'type':Be['add'],'dataRangeInfo':_0x4754b2,'targetCellInfo':_0xfb9985});}[_0xff08f(0x2ea)](_0x1a6eeb,_0x553d1d){const _0x1220e5=_0xff08f,_0x5640fc=this['getCollection'](_0x1a6eeb),_0x40c5c5=_0x5640fc['getFieldIds']();let _0x368bf4=0x0;for(const _0xd1330 of _0x40c5c5){const _0x3f437b=_0x5640fc[_0x1220e5(0x25a)](_0xd1330),_0x5950a1=this[_0x1220e5(0x1e2)](_0x553d1d,_0x368bf4);this[_0x1220e5(0x2df)](_0x3f437b[_0x1220e5(0xf9)],_0x5950a1),_0x368bf4++;}}[_0xff08f(0x90)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0xff08f(0x302)](_0x28fc8e,_0x3c7b6f){const _0x5aec4c=_0xff08f;if(this[_0x5aec4c(0x116)](_0x28fc8e)){const _0x5ab154=this[_0x5aec4c(0x194)](_0x3c7b6f),_0x496fdd=[];for(const _0xeb2de2 of _0x5ab154)this[_0x5aec4c(0x312)][_0xeb2de2]!==void 0x0&&_0x496fdd['push'](this['rangeKeyMap'][_0xeb2de2]);const _0x488f90=this[_0x5aec4c(0x2db)](_0x28fc8e),_0x335c3d=[],_0x19d121=new Set(_0x496fdd);for(const _0x1f7f3d of _0x488f90)_0x19d121[_0x5aec4c(0x1bd)](_0x1f7f3d)||_0x335c3d[_0x5aec4c(0xc1)](_0x1f7f3d);return _0x335c3d;}}[_0xff08f(0xea)](_0x245b97,_0x10d4b4,_0x23d273,_0x30d092,_0xd5ec76){const _0x30e278=_0xff08f;return _0x10d4b4&&_0x10d4b4['getValue'](_0x30d092,_0xd5ec76)?_0x10d4b4['getValue'](_0x30d092,_0xd5ec76):_0x23d273&&_0x23d273[_0x30e278(0xee)](_0x30d092,_0xd5ec76)?_0x23d273[_0x30e278(0xee)](_0x30d092,_0xd5ec76):_0x245b97[_0x30e278(0xee)](_0x30d092,_0xd5ec76);}['refreshDataField'](_0x551df6,_0x240172,_0x3b6b52,_0x270889){const _0xc3aed1=_0xff08f,_0x440382=this[_0xc3aed1(0x1b5)][_0x551df6];if(!_0x440382)return;const {subUnitId:_0xb84441,range:_0x310409,unitId:_0x12f6d7}=_0x240172,_0x1a11f4=this[_0xc3aed1(0x2d4)][_0xc3aed1(0x2cf)](_0x12f6d7);if(!_0x1a11f4){console[_0xc3aed1(0x2af)]('workbook\x20is\x20not\x20found');return;}const _0x2fc1ec=_0x1a11f4[_0xc3aed1(0x2c4)](_0xb84441),_0x56dce4=_0x2fc1ec[_0xc3aed1(0x253)](),{arrayFormulaCellDataMatrix:_0x2745fb,unitDataMatrix:_0x4ef429}=_0x270889||{},{startRow:_0x3e6d0f,startColumn:_0x41aaaa,endRow:_0x5cdc02}=this['getRangeStartEndInfo'](_0x310409,_0x2fc1ec);_0x440382[_0xc3aed1(0x14b)]();const _0x1e4181=_0x1a11f4['getStyles'](),_0x2ce629={},_0x170a49=this[_0xc3aed1(0xea)](_0x56dce4,_0x2745fb,_0x4ef429,_0x3e6d0f,_0x41aaaa+_0x3b6b52);let _0x8a3b3f=this[_0xc3aed1(0x29a)](_0x170a49,_0x1e4181,_0x2ce629);_0x2736a9(_0x8a3b3f)&&(_0x8a3b3f=_0x349634[_0xc3aed1(0x242)](_0x8a3b3f['f'],Number(_0x8a3b3f['v'])));const _0x5bc646=this[_0xc3aed1(0x2ad)](_0x8a3b3f,_0x41aaaa+_0x3b6b52);_0x440382[_0xc3aed1(0x179)](_0x5bc646);for(let _0x252021=_0x3e6d0f+0x1;_0x252021<=_0x5cdc02;_0x252021++){const _0x801917=this[_0xc3aed1(0xea)](_0x56dce4,_0x2745fb,_0x4ef429,_0x252021,_0x41aaaa+_0x3b6b52);_0x440382[_0xc3aed1(0x236)](this['adjustSheetCellData'](_0x801917,_0x1e4181,_0x2ce629),_0x252021-0x1-_0x3e6d0f);}}[_0xff08f(0x15d)](_0x30108d,_0x55bda2,_0x23be6f){const _0x2be951=_0xff08f,{subUnitId:_0x14ffe3,range:_0x53e87,unitId:_0x18f3b9}=_0x23be6f,_0x493bab=this['_univerInstanceService'][_0x2be951(0x2cf)](_0x18f3b9);if(!_0x493bab){console['error'](_0x2be951(0x245));return;}const _0x30c0a1=_0x493bab['getSheetBySheetId'](_0x14ffe3),_0x5cfbe3=_0x30c0a1[_0x2be951(0x253)](),{startRow:_0x53f533,startColumn:_0x18d98b,endRow:_0x3a9d7a}=this[_0x2be951(0x188)](_0x53e87,_0x30c0a1),_0x35988d=_0x493bab[_0x2be951(0xab)](),_0x35a389={};for(const {dataField:_0x5e41ff,index:_0x3773c7}of _0x55bda2){_0x5e41ff[_0x2be951(0x14b)]();const _0x23f55c=this['getMatrixValue'](_0x5cfbe3,void 0x0,void 0x0,_0x53f533,_0x18d98b+_0x3773c7);let _0x4ddd62=this[_0x2be951(0x29a)](_0x23f55c,_0x35988d,_0x35a389);_0x2736a9(_0x4ddd62)&&(_0x4ddd62=_0x349634[_0x2be951(0x242)](_0x4ddd62['f'],Number(_0x4ddd62['v'])));const _0xcef69c=this[_0x2be951(0x2ad)](_0x4ddd62,_0x18d98b+_0x3773c7);_0x5e41ff[_0x2be951(0x179)](_0xcef69c);}_0x30108d['updateAllDisplayName']();for(let _0x26efd7=_0x53f533+0x1;_0x26efd7<=_0x3a9d7a;_0x26efd7++)for(const {index:_0x21f355,dataField:_0x372637}of _0x55bda2){const _0x42a7f6=_0x5cfbe3[_0x2be951(0xee)](_0x26efd7,_0x18d98b+_0x21f355);_0x372637['addRecord'](this[_0x2be951(0x29a)](_0x42a7f6,_0x35988d,_0x35a389),_0x26efd7-0x1-_0x53f533);}_0x30108d['setDataRecordCount'](_0x3a9d7a-_0x53f533);}[_0xff08f(0x194)](_0x3eda62){const _0x550f94=_0xff08f,{range:_0x55d56d}=_0x3eda62,{startColumn:_0x2616a4,endColumn:_0x425a3a}=_0x55d56d,_0x395ee2=[];for(let _0x33a18f=_0x2616a4;_0x33a18f<=_0x425a3a;_0x33a18f++)_0x395ee2[_0x550f94(0xc1)](this[_0x550f94(0x1e2)](_0x3eda62,_0x33a18f));return _0x395ee2;}['adjustSheetCellData'](_0x158869,_0x4f5fb1,_0x4d899c){const _0x36027c=_0xff08f;if(_0x158869){const {s:_0x2528c3,v:_0x42fb1e,t:_0x47c92f,p:_0x54d139}=_0x158869;if(_0x54d139)return wi(_0x54d139);const _0x1a7ac3=_0x4f5fb1[_0x36027c(0x235)](_0x2528c3);if(_0x1a7ac3&&_0x47c92f===_0x18fcdd[_0x36027c(0x2a0)]&&_0x1a7ac3['n']){const {pattern:_0x2ec7cc}=_0x1a7ac3['n'];_0x4d899c[_0x2ec7cc]||(_0x4d899c[_0x2ec7cc]=_0x349634[_0x36027c(0x196)](_0x2ec7cc));const _0x4aec43=_0x4d899c[_0x2ec7cc],_0x2b15fa=_0x4aec43[_0x36027c(0x2b3)];if(_0x4aec43[_0x36027c(0xdd)])return String(_0x42fb1e);if(_0x2b15fa)return{'v':_0x42fb1e,'f':_0x2ec7cc};}if(_0x47c92f===_0x18fcdd[_0x36027c(0x2a0)])return Number(_0x42fb1e);if(_0x47c92f===_0x18fcdd[_0x36027c(0x2f8)]||_0x47c92f===_0x18fcdd[_0x36027c(0x208)])return String(_0x42fb1e);if(_0x47c92f===void 0x0){const _0x28b51b=Number(_0x42fb1e);if(!Number[_0x36027c(0xc7)](_0x28b51b)&&String(_0x28b51b)===_0x42fb1e)return _0x28b51b;}return _0x42fb1e!=null?_0x42fb1e:null;}else return null;}[_0xff08f(0x1be)](_0x376aec){const _0x3ce4f6=_0xff08f,{sheetName:_0x1ada25,range:_0xdd0404,unitId:_0x205bc3}=_0x376aec,_0x9dae3b=this[_0x3ce4f6(0x2d4)]['getUnit'](_0x205bc3);if(!_0x9dae3b)return console[_0x3ce4f6(0x2af)]('workbook\x20is\x20not\x20found'),{'header':[],'data':[]};const _0x58787a=_0x9dae3b[_0x3ce4f6(0x223)](_0x1ada25),_0x229259=_0x58787a[_0x3ce4f6(0x253)](),{startRow:_0x138740,startColumn:_0x1c5e45,endRow:_0x1ac9d7,endColumn:_0xefff42}=this['getRangeStartEndInfo'](_0xdd0404,_0x58787a),_0x5865dc=_0x9dae3b[_0x3ce4f6(0xab)](),_0x3980a6=[],_0x217966=[],_0x49946b={};for(let _0x13e3e0=_0x138740;_0x13e3e0<=_0x1ac9d7;_0x13e3e0++){const _0x2afe2e=[];for(let _0x4f055e=_0x1c5e45;_0x4f055e<=_0xefff42;_0x4f055e++){const _0x213c20=_0x229259[_0x3ce4f6(0xee)](_0x13e3e0,_0x4f055e);_0x13e3e0===_0x138740?_0x3980a6[_0x3ce4f6(0xc1)](_0x213c20==null?null:String(_0x213c20['v'])):_0x2afe2e[_0x3ce4f6(0xc1)](this[_0x3ce4f6(0x29a)](_0x213c20,_0x5865dc,_0x49946b));}_0x217966[_0x3ce4f6(0xc1)](_0x2afe2e);}return{'header':_0x3980a6,'data':_0x217966};}[_0xff08f(0x137)](){const _0xa559c0=_0xff08f;return super[_0xa559c0(0x137)]();}[_0xff08f(0x111)](_0x42e224){const _0x2ac440=_0xff08f;super[_0x2ac440(0x111)](_0x42e224),this[_0x2ac440(0x1f1)]();}[_0xff08f(0x2ca)](){const _0x547e04=_0xff08f;super['dispose'](),this[_0x547e04(0x312)]={},this[_0x547e04(0x2b6)]=null;}}const Fi=_0x2ba89e=>{const _0x363129=_0xff08f,{targetCellInfo:_0x28de1c}=_0x2ba89e,{matrixCache:_0x5dc9fd,rangesCache:_0x5924b6}=Wo({'filter':_0x363129(0x216),'row':_0x363129(0x1a2),'column':_0x363129(0xb8),'values':_0x363129(0x2dd)},_0x28de1c),_0x1d57cb=new _0x3beae7();return _0x5dc9fd[_0x363129(0x187)]((_0x423cdb,_0x2d77bb,_0x517e2c)=>{const _0xe6e863=_0x363129;_0x1d57cb[_0xe6e863(0x17b)](_0x423cdb,_0x2d77bb,_0x517e2c);}),{'matrix':_0x1d57cb,'rangesCache':_0x5924b6};},st=_0x55b8bf=>{const _0x4a6fca=_0xff08f;let _0x4380ba;if(_0x55b8bf!=null&&_0x55b8bf['v']||(_0x55b8bf==null?void 0x0:_0x55b8bf['v'])===0x0){_0x4380ba||(_0x4380ba={});const _0x39254f=Ko(_0x55b8bf['v']);typeof _0x39254f==_0x4a6fca(0x2b1)?_0x4380ba['t']=_0x18fcdd['NUMBER']:typeof _0x39254f==_0x4a6fca(0x1cf)&&(_0x4380ba['t']=_0x18fcdd[_0x4a6fca(0x2f8)]),_0x4380ba['v']=_0x39254f;}return _0x4380ba;},Ri=(_0x2fc1a7,_0x3faec4,_0x280833)=>{const _0x3b5853=_0xff08f;var _0x127c61,_0x494a43,_0x36b8de,_0x45aa28,_0x5a3b80,_0x29d32e,_0x374525,_0x414327,_0x45eb3e,_0x5e6c27,_0x1055bf,_0x60a392;const {cornerView:_0x3b4f0a,rowView:_0x1e8296,colView:_0x5ce5e1,dataView:_0x5a700a,pageView:_0x1a500b,formatMap:_0x2f540e}=_0x2fc1a7,{row:_0x873005,col:_0x287ad0}=_0x3faec4,_0x384cee=new _0x3beae7();let _0x5a9c8a=_0x873005,_0x424473=_0x287ad0;Object[_0x3b5853(0x237)](_0x1a500b[_0x3b5853(0x2fa)])['forEach'](_0x4daec8=>{const _0x509d04=_0x3b5853;Object['keys'](_0x1a500b[_0x509d04(0x2fa)][Number(_0x4daec8)])[_0x509d04(0x1b9)](_0x366f40=>{const _0x5eac4b=_0x509d04,_0x4bce49={..._0x1a500b['data'][Number(_0x4daec8)][Number(_0x366f40)]};_0x384cee[_0x5eac4b(0x17b)](Number(_0x4daec8)+_0x5a9c8a,Number(_0x366f40)+_0x424473,st(_0x4bce49));});});const _0x13c4ce=Object[_0x3b5853(0x237)](_0x1a500b['data'])['length'];_0x5a9c8a+=_0x13c4ce+(_0x13c4ce?It:0x0);const _0x66ca73=_0x3b4f0a[_0x3b5853(0x209)](),_0x4700bf=_0x3b4f0a[_0x3b5853(0xf8)]();for(let _0x44ef8c=0x0;_0x44ef8c<_0x66ca73;_0x44ef8c++)for(let _0xb98e93=0x0;_0xb98e93<_0x4700bf;_0xb98e93++){const _0x4abf45={...(_0x494a43=(_0x127c61=_0x3b4f0a[_0x3b5853(0x2fa)])==null?void 0x0:_0x127c61[_0x44ef8c])==null?void 0x0:_0x494a43[_0xb98e93]};_0x4abf45&&((_0x36b8de=_0x1e8296[_0x3b5853(0x25c)][_0xb98e93])!=null&&_0x36b8de[_0x3b5853(0x27e)])&&_0xb98e93===_0x4700bf-0x1&&_0x44ef8c===_0x66ca73-0x1&&(_0x4abf45['v']=''+_0x280833[_0x3b5853(0x201)]),_0x384cee['setValue'](_0x44ef8c+_0x5a9c8a,_0xb98e93+_0x424473,st(_0x4abf45));}_0x424473+=_0x4700bf;const _0x341ebd=_0x5ce5e1['headerMap'],_0xa22642=_0x5ce5e1[_0x3b5853(0x1f3)]()>=0x0?_0x5ce5e1[_0x3b5853(0x1f3)]()+0x1:0x0,_0x26aa58=_0x5ce5e1[_0x3b5853(0x22e)]()>=0x0?_0x5ce5e1['getLastCol']()+0x1:0x0;for(let _0x1a3cff=0x0;_0x1a3cff<_0x26aa58;_0x1a3cff++)for(let _0x150912=0x0;_0x150912<_0xa22642;_0x150912++){const _0x339e40={...(_0x5a3b80=(_0x45aa28=_0x5ce5e1[_0x3b5853(0x2fa)])==null?void 0x0:_0x45aa28[_0x1a3cff])==null?void 0x0:_0x5a3b80[_0x150912]},_0x21f74c=(_0x29d32e=_0x341ebd[_0x1a3cff])==null?void 0x0:_0x29d32e[_0x3b5853(0x195)],_0x587660=_0x2f540e[_0x21f74c];_0x339e40&&(_0x339e40['v']=ht(_0x339e40,_0x1a3cff===0x0&&((_0x374525=_0x5ce5e1[_0x3b5853(0x300)](_0x150912+0x1))==null?void 0x0:_0x374525[_0x3b5853(0x27e)]),_0x587660,_0x280833)),_0x384cee['setValue'](_0x1a3cff+_0x5a9c8a,_0x150912+_0x424473,st(_0x339e40));}_0x5a9c8a+=_0x66ca73;const _0x51f986=_0x1e8296[_0x3b5853(0x25c)],_0x4482d5=_0x1e8296[_0x3b5853(0x1f3)]()>=0x0?_0x1e8296[_0x3b5853(0x1f3)]()+0x1:0x0,_0x1ca69d=_0x1e8296[_0x3b5853(0x22e)]()>=0x0?_0x1e8296[_0x3b5853(0x22e)]()+0x1:0x0;for(let _0x24f070=0x0;_0x24f070<_0x4482d5;_0x24f070++)for(let _0x247fe1=0x0;_0x247fe1<_0x1ca69d;_0x247fe1++){const _0x12db1c={...(_0x45eb3e=(_0x414327=_0x1e8296['data'])==null?void 0x0:_0x414327[_0x24f070])==null?void 0x0:_0x45eb3e[_0x247fe1]},_0x11b57a=(_0x5e6c27=_0x51f986[_0x247fe1])==null?void 0x0:_0x5e6c27[_0x3b5853(0x195)],_0x42c826=_0x2f540e[_0x11b57a];_0x12db1c&&(_0x12db1c['v']=ht(_0x12db1c,!0x1,_0x42c826,_0x280833)),_0x384cee[_0x3b5853(0x17b)](_0x24f070+_0x5a9c8a,_0x247fe1+_0x287ad0,st(_0x12db1c));}const _0x228ce7=_0x5a700a['getRowCount'](),_0xdfcd81=_0x5a700a[_0x3b5853(0xf8)]();for(let _0x56eaab=0x0;_0x56eaab<_0x228ce7;_0x56eaab++)for(let _0x5e2295=0x0;_0x5e2295<_0xdfcd81;_0x5e2295++){const _0x42ad3c={...(_0x60a392=(_0x1055bf=_0x5a700a[_0x3b5853(0x2fa)])==null?void 0x0:_0x1055bf[_0x56eaab])==null?void 0x0:_0x60a392[_0x5e2295]};_0x384cee['setValue'](_0x56eaab+_0x5a9c8a,_0x5e2295+_0x424473,st(_0x42ad3c));}return _0x384cee;},Di=_0x1d2fd7=>{const _0x1f6a06=_0xff08f,{view:_0x523f8d,targetCellInfo:_0x670e6d,isEmpty:_0x21c955,textInfo:_0x31c278}=_0x1d2fd7;if(_0x21c955)return Fi(_0x1d2fd7);const {pageView:_0x3335e7,cornerView:_0xd361fd,rowView:_0x59e835,colView:_0x103a28,dataView:_0xb25862}=_0x523f8d,_0x3dc816=ge(_0x670e6d,_0x3335e7,!0x0),_0xe180a0=_0x3335e7[_0x1f6a06(0x2bb)]>=0x0?_0x3335e7[_0x1f6a06(0x2bb)]+0x1:0x0,_0x283633=_0xd361fd[_0x1f6a06(0x209)](),_0x720866=_0xd361fd[_0x1f6a06(0xf8)](),_0x51c32d=_0x3dc816[_0x1f6a06(0x1a8)]>0x0?It:0x0,_0x585466=ge({'row':_0x670e6d[_0x1f6a06(0x108)]+_0xe180a0+_0x51c32d,'col':_0x670e6d['col']},_0xd361fd,!0x1,!0x1),_0x288ca7=ge({'row':_0x670e6d['row']+_0xe180a0+_0x51c32d+_0x283633,'col':_0x670e6d[_0x1f6a06(0x247)]},_0x59e835,!0x1,!0x0),_0x3b8fab=ge({'row':_0x670e6d[_0x1f6a06(0x108)]+_0xe180a0+_0x51c32d,'col':_0x670e6d['col']+_0x720866},_0x103a28,!0x1,!0x0),_0x2f670a=ge({'row':_0x670e6d[_0x1f6a06(0x108)]+_0xe180a0+_0x51c32d+_0x283633,'col':_0x670e6d[_0x1f6a06(0x247)]+_0x720866},_0xb25862,!0x1,!0x1),_0x28b9db={'rowRanges':_0x288ca7,'colRanges':_0x3b8fab,'cornerRanges':_0x585466,'dataRanges':_0x2f670a,'pageRanges':_0x3dc816};return{'matrix':Ri(_0x523f8d,_0x670e6d,_0x31c278),'rangesCache':_0x28b9db};};var Ni=Object[_0xff08f(0x1aa)],Ui=(_0x1be20e,_0x368b96,_0x4f4ae7,_0x5ac36d)=>{const _0xcfdd3f=_0xff08f;for(var _0x3ef9e0=_0x5ac36d>0x1?void 0x0:_0x5ac36d?Ni(_0x368b96,_0x4f4ae7):_0x368b96,_0x57701b=_0x1be20e[_0xcfdd3f(0x1a8)]-0x1,_0x3931eb;_0x57701b>=0x0;_0x57701b--)(_0x3931eb=_0x1be20e[_0x57701b])&&(_0x3ef9e0=_0x3931eb(_0x3ef9e0)||_0x3ef9e0);return _0x3ef9e0;},Ge=(_0x21859d,_0xc7861f)=>(_0x16e055,_0x4b6fa4)=>_0xc7861f(_0x16e055,_0x4b6fa4,_0x21859d);function _0x37bd(_0x38649,_0x65b83e){const _0x3d9df6=_0x3d9d();return _0x37bd=function(_0x37bdf0,_0x1c427c){_0x37bdf0=_0x37bdf0-0x8d;let _0x2abe8f=_0x3d9df6[_0x37bdf0];return _0x2abe8f;},_0x37bd(_0x38649,_0x65b83e);}let $=class extends _0x51d9e7{constructor(_0x4cb056,_0x5c6ca7,_0x26a14b,_0x189c56,_0x14f54e,_0x5d3b16){const _0x1a6f31=_0xff08f;super(),V(this,_0x1a6f31(0x20b),new Map()),V(this,'_pivotTableInstanceCache',new Map()),V(this,_0x1a6f31(0x2a2),new Map()),V(this,'_textInfo'),V(this,_0x1a6f31(0x19d),new _0x1086f6()),V(this,_0x1a6f31(0x2ee),this[_0x1a6f31(0x19d)][_0x1a6f31(0xe7)]()),V(this,'_viewData$',new _0x1086f6()),V(this,_0x1a6f31(0x164),this[_0x1a6f31(0x104)][_0x1a6f31(0xe7)]()),V(this,_0x1a6f31(0x2d0),new _0x1086f6()),V(this,'fieldsCollectionChange$',this[_0x1a6f31(0x2d0)][_0x1a6f31(0xe7)]()),V(this,_0x1a6f31(0x132),new Map()),V(this,'needSameDeleteModel',[]),V(this,_0x1a6f31(0x14d),new Map()),(this[_0x1a6f31(0x157)]=_0x4cb056,this[_0x1a6f31(0x2d4)]=_0x5c6ca7,this[_0x1a6f31(0xd7)]=_0x26a14b,this[_0x1a6f31(0x2e7)]=_0x189c56,this[_0x1a6f31(0x260)]=_0x14f54e,this['_resourceManagerService']=_0x5d3b16,this['_initSnapshot']());}[_0xff08f(0xa5)](){const _0x5cc06c=_0xff08f;return this[_0x5cc06c(0x167)]?this[_0x5cc06c(0x167)]:yi;}[_0xff08f(0x17a)](_0x1c5a8c){this['_textInfo']=_0x1c5a8c;}['handleMoveRange'](_0x246b25){const _0x3ea320=_0xff08f;var _0x4049a9;const {from:_0x39ee08,to:_0x52d92f,unitId:_0x30c95e,fromRange:_0x3273ef,toRange:_0x79b33d}=_0x246b25;if(_0x39ee08&&_0x52d92f){const _0x3af29a=this[_0x3ea320(0x23a)](_0x30c95e),_0x11ce82=this[_0x3ea320(0x20b)][_0x3ea320(0x235)](_0x30c95e),_0x3bfd3f=(_0x4049a9=this[_0x3ea320(0x2d4)]['getUnit'](_0x30c95e))==null?void 0x0:_0x4049a9['getSheetBySheetId'](_0x52d92f[_0x3ea320(0x174)]);if(!_0x11ce82||!_0x3bfd3f)return;const _0x38d5d6=_0x3bfd3f==null?void 0x0:_0x3bfd3f[_0x3ea320(0x2de)]();for(const [_0x1fc03e,_0x2171c1]of _0x11ce82['entries']())for(const [_0x46a04c,_0x3541c5]of _0x2171c1[_0x3ea320(0x1f4)]()){const {sourceRangeInfo:_0x23d1ab}=_0x3541c5;if(_0x23d1ab['unitId']===_0x30c95e&&_0x23d1ab[_0x3ea320(0x174)]===_0x39ee08[_0x3ea320(0x174)]&&_0x3356fe['contains'](_0x3273ef,_0x23d1ab[_0x3ea320(0x1ff)])){const _0x4615d3={'row':_0x23d1ab[_0x3ea320(0x1ff)][_0x3ea320(0x2d2)]-_0x3273ef[_0x3ea320(0x2d2)],'col':_0x23d1ab['range'][_0x3ea320(0x136)]-_0x3273ef['startColumn']},_0x321403={'unitId':_0x30c95e,'subUnitId':_0x52d92f[_0x3ea320(0x174)],'sheetName':_0x38d5d6,'range':{'startRow':_0x79b33d[_0x3ea320(0x2d2)]+_0x4615d3[_0x3ea320(0x108)],'endRow':_0x79b33d[_0x3ea320(0x2d2)]+_0x4615d3[_0x3ea320(0x108)]+_0x23d1ab[_0x3ea320(0x1ff)][_0x3ea320(0x1de)]-_0x23d1ab[_0x3ea320(0x1ff)][_0x3ea320(0x2d2)],'startColumn':_0x79b33d[_0x3ea320(0x136)]+_0x4615d3[_0x3ea320(0x247)],'endColumn':_0x79b33d[_0x3ea320(0x136)]+_0x4615d3[_0x3ea320(0x247)]+_0x23d1ab[_0x3ea320(0x1ff)]['endColumn']-_0x23d1ab[_0x3ea320(0x1ff)][_0x3ea320(0x136)]}};_0x3af29a[_0x3ea320(0x2ea)](_0x46a04c,_0x321403);const _0x2caeb5={..._0x3541c5,'sourceRangeInfo':_0x321403};this[_0x3ea320(0x124)](_0x30c95e,_0x52d92f[_0x3ea320(0x174)],_0x46a04c,_0x2caeb5),this[_0x3ea320(0x21e)]({'unitId':_0x30c95e,'token':_0x46a04c,'type':Be['update'],'oldSourceRangeInfo':_0x23d1ab,'dataRangeInfo':_0x321403,'targetCellInfo':_0x3541c5['targetCellInfo']}),this[_0x3ea320(0x254)]({'unitId':_0x30c95e,'subUnitId':_0x52d92f[_0x3ea320(0x174)],'oldSubUnitId':_0x1fc03e,'pivotTableId':_0x46a04c,'pivotTableConfig':_0x2caeb5,'collectionConfig':_0x3af29a[_0x3ea320(0x137)]()});}}}}['broadcastCollectionChange'](_0x52bae3){this['_collectionChange$']['next'](_0x52bae3);}[_0xff08f(0x23a)](_0x484163){const _0x5e509d=_0xff08f;let _0x4e080a=this[_0x5e509d(0x132)][_0x5e509d(0x235)](_0x484163);return _0x4e080a||(_0x4e080a=new _i(this,this[_0x5e509d(0x2d4)]),this['_dataFieldManagerCollection'][_0x5e509d(0x19f)](_0x484163,_0x4e080a)),_0x4e080a;}[_0xff08f(0x116)](_0x4120fb,_0x4831ae){const _0x1542d0=_0xff08f;return this[_0x1542d0(0x23a)](_0x4120fb)['collections'][_0x4831ae];}[_0xff08f(0x302)](_0x328663,_0x147de0,_0x384637){const _0x421549=_0xff08f;return this[_0x421549(0x23a)](_0x328663)['getUpdateRangeDeleteIds'](_0x147de0,_0x384637);}[_0xff08f(0x19b)](_0x343e85,_0x3c2f14){const _0x2530ee=_0xff08f;let _0x2a00e1=this[_0x2530ee(0x20b)]['get'](_0x343e85);_0x2a00e1||(_0x2a00e1=new Map(),this['_model']['set'](_0x343e85,_0x2a00e1));let _0x33827b=_0x2a00e1[_0x2530ee(0x235)](_0x3c2f14);return _0x33827b||(_0x33827b=new Map(),_0x2a00e1[_0x2530ee(0x19f)](_0x3c2f14,_0x33827b)),_0x33827b;}['_updateModelCache'](_0x4db9d1,_0x59e34c,_0x297082,_0x5765ad){this['_ensurePivotMap'](_0x4db9d1,_0x59e34c)['set'](_0x297082,_0x5765ad);}[_0xff08f(0x1bf)](_0x44869f,_0x50c3cb,_0x3bcae9){const _0x501408=_0xff08f;var _0x2d9373,_0x1e0739,_0x5e0849,_0x150294;((_0x1e0739=(_0x2d9373=this['_model']['get'](_0x44869f))==null?void 0x0:_0x2d9373[_0x501408(0x235)](_0x50c3cb))==null?void 0x0:_0x1e0739['get'](_0x3bcae9))&&((_0x150294=(_0x5e0849=this['_model'][_0x501408(0x235)](_0x44869f))==null?void 0x0:_0x5e0849[_0x501408(0x235)](_0x50c3cb))==null||_0x150294['delete'](_0x3bcae9));}[_0xff08f(0x1cc)](_0x2273b9,_0x22d9fa){this['_pivotTableInstanceCache']['set'](_0x2273b9,_0x22d9fa);}[_0xff08f(0x2d7)](_0x95ad54){const _0xfc2f69=_0xff08f;this[_0xfc2f69(0x12a)][_0xfc2f69(0x1e1)](_0x95ad54);}[_0xff08f(0x1ce)](_0x734120,_0x209bef){const _0x12e407=_0xff08f;let _0x37a877=this[_0x12e407(0x2a2)][_0x12e407(0x235)](_0x734120);_0x37a877||(_0x37a877=new Map(),this[_0x12e407(0x2a2)][_0x12e407(0x19f)](_0x734120,_0x37a877));let _0x34bce3=_0x37a877[_0x12e407(0x235)](_0x209bef);return _0x34bce3||(_0x34bce3=new Map(),_0x37a877[_0x12e407(0x19f)](_0x209bef,_0x34bce3)),_0x34bce3;}[_0xff08f(0x254)](_0xf69183){const _0x5c7b37=_0xff08f,{unitId:_0x26f569,subUnitId:_0x20661a,pivotTableId:_0x265291,pivotTableConfig:_0x51de4e,collectionConfig:_0x5324ee}=_0xf69183,_0x10b06f={'unitId':_0x26f569,'subUnitId':_0x20661a,'oldSubUnitId':_0x20661a,'pivotTableId':_0x265291,'pivotTableConfig':_0x51de4e,'collectionConfig':_0x5324ee};this[_0x5c7b37(0x260)][_0x5c7b37(0xe5)](co['id'],_0x10b06f,{'onlyLocal':!0x0});}[_0xff08f(0x1f8)](_0x1050cf,_0x376fd4,_0x32de40,_0x3b5d20,_0x519fac,_0x213ee9,_0x4d6a06,_0x1f53f2=!0x1){const _0x4f777a=_0xff08f;var _0x193f9b;this[_0x4f777a(0x260)][_0x4f777a(0xe5)](Dt['id'],{'single':{'unitId':_0x1050cf,'subUnitId':_0x376fd4,'type':_0x32de40,'pivotTableId':_0x3b5d20,'view':_0x519fac,'pivotConfig':_0x213ee9},'collectionConfig':{[_0x1050cf]:_0x4d6a06}},{'onlyLocal':!0x0});const _0xdaa0fa=!!((_0x193f9b=this[_0x4f777a(0x191)](_0x3b5d20))!=null&&_0x193f9b[_0x4f777a(0x234)]()),_0x4a03c4=this[_0x4f777a(0x215)](_0x1050cf,_0x376fd4,_0x3b5d20);_0x4a03c4&&this[_0x4f777a(0x10a)]({'view':_0x519fac,'pivotTableId':_0x3b5d20,'textInfo':this[_0x4f777a(0xa5)](),'isEmpty':_0xdaa0fa,'targetCellInfo':_0x4a03c4[_0x4f777a(0x177)]},_0x1f53f2);}[_0xff08f(0x10a)](_0x3c8dc3,_0x1d224b){const _0x30264e=_0xff08f,{targetCellInfo:_0x2c5d96,pivotTableId:_0xfe1a83}=_0x3c8dc3,{unitId:_0x1f1606,subUnitId:_0x3741eb}=_0x2c5d96,_0x6ea3d4=this[_0x30264e(0x1ce)](_0x1f1606,_0x3741eb),_0x556bfd=_0x6ea3d4[_0x30264e(0x235)](_0xfe1a83);let _0x478e60,_0x55a59e;_0x556bfd&&(_0x478e60=_0x556bfd[_0x30264e(0x2ab)],_0x55a59e=_0x556bfd[_0x30264e(0x20e)]);const {rangesCache:_0x33da62,matrix:_0x488239}=Di(_0x3c8dc3);_0x6ea3d4[_0x30264e(0x19f)](_0xfe1a83,{'rangeCache':_0x33da62,'matrix':_0x488239,'oldMatrix':_0x55a59e,'oldRangeCache':_0x478e60}),_0x1d224b||this[_0x30264e(0x104)][_0x30264e(0x16a)]({'unitId':_0x1f1606,'subUnitId':_0x3741eb,'pivotTableId':_0xfe1a83});}['addPivotTable'](_0x5ac366,_0x28731f,_0x1952a3,_0x13019d,_0x3c38ce){const _0x5615ce=_0xff08f;this['_updateModelCache'](_0x5ac366,_0x28731f,_0x1952a3,_0x3c38ce),this[_0x5615ce(0x1cc)](_0x1952a3,_0x13019d);}['removePivotTable'](_0x237612,_0x400b82,_0x5c9831){const _0x46ed5d=_0xff08f,_0x2ef8c4=this[_0x46ed5d(0x23a)](_0x237612);_0x2ef8c4[_0x46ed5d(0x2db)](_0x5c9831)[_0x46ed5d(0x1b9)](_0x5f34f8=>{_0x2ef8c4['deleteDataField'](_0x5f34f8);}),this[_0x46ed5d(0xbd)](_0x237612,_0x5c9831),this[_0x46ed5d(0x1bf)](_0x237612,_0x400b82,_0x5c9831),this[_0x46ed5d(0x2d7)](_0x5c9831);}[_0xff08f(0x21f)](_0xa18785,_0x42342d,_0x46e74a,_0x1c9476){const _0x3f5fee=_0xff08f;this[_0x3f5fee(0x124)](_0xa18785,_0x42342d,_0x46e74a,_0x1c9476);}[_0xff08f(0x215)](_0x57ffb9,_0x3f50a4,_0x3f14d1){const _0x137d76=_0xff08f;var _0x19950c,_0x490690;const _0x4ba8e1=(_0x490690=(_0x19950c=this[_0x137d76(0x20b)][_0x137d76(0x235)](_0x57ffb9))==null?void 0x0:_0x19950c[_0x137d76(0x235)](_0x3f50a4))==null?void 0x0:_0x490690[_0x137d76(0x235)](_0x3f14d1);if(_0x4ba8e1)return _0x4ba8e1;}['getPivotTableModelConfig'](_0x2ffff1,_0x1986e0,_0x34c897){const _0x3676dd=_0xff08f;var _0x7595cd,_0x46b4b8;const _0xd684dd=(_0x46b4b8=(_0x7595cd=this[_0x3676dd(0x20b)][_0x3676dd(0x235)](_0x2ffff1))==null?void 0x0:_0x7595cd[_0x3676dd(0x235)](_0x1986e0))==null?void 0x0:_0x46b4b8[_0x3676dd(0x235)](_0x34c897);if(_0xd684dd)return _0xd684dd[_0x3676dd(0x27b)];}['getPivotTableInstance'](_0x5211c6){const _0x58678f=_0xff08f;return this[_0x58678f(0x12a)]['get'](_0x5211c6);}[_0xff08f(0x2d5)](_0x387eea){const _0x32d56c=_0xff08f;this['_model'][_0x32d56c(0x1e1)](_0x387eea);const _0x55af21=this[_0x32d56c(0x132)]['get'](_0x387eea);_0x55af21&&(_0x55af21[_0x32d56c(0x2ca)](),this[_0x32d56c(0x132)][_0x32d56c(0x1e1)](_0x387eea)),this[_0x32d56c(0x2a2)][_0x32d56c(0x1e1)](_0x387eea),this[_0x32d56c(0x115)]['forEach'](_0x404da2=>{const _0x57389c=_0x32d56c;_0x404da2[_0x57389c(0x2d5)](_0x387eea);});}[_0xff08f(0xef)](_0x57a8ea,_0x1012cf,_0x9efd49,_0x5b69f6){const _0xec0009=_0xff08f;return this[_0xec0009(0x23a)](_0x9efd49[_0xec0009(0xad)])[_0xec0009(0xef)](_0x57a8ea,_0x1012cf,_0x9efd49,_0x5b69f6);}[_0xff08f(0xd6)](_0x40459c){const _0x31ea38=_0xff08f;return this['getDataFieldManager'](_0x40459c['unitId'])[_0x31ea38(0xd6)](_0x40459c);}[_0xff08f(0x15d)](_0x5cf318,_0x441e31,_0x5ec422){this['getDataFieldManager'](_0x5ec422['unitId'])['refreshData'](_0x5cf318,_0x441e31,_0x5ec422);}['removeDataField'](_0x562b46,_0x2e6401){this['getDataFieldManager'](_0x562b46)['deleteDataField'](_0x2e6401);}['removeCollections'](_0x462621,_0x2e5bf2){const _0xd53337=_0xff08f;this['getDataFieldManager'](_0x462621)[_0xd53337(0x133)](_0x2e5bf2);}[_0xff08f(0x17c)](_0x131d8a,_0x2938c5){const _0x16698c=_0xff08f;var _0x4ffc69;return(_0x4ffc69=this[_0x16698c(0x20b)]['get'](_0x131d8a))==null?void 0x0:_0x4ffc69[_0x16698c(0x235)](_0x2938c5);}[_0xff08f(0xe9)](_0xf0af19){const _0x1c5995=_0xff08f;for(const [_0x581a70,_0x51db61]of this[_0x1c5995(0x20b)][_0x1c5995(0x1f4)]())for(const [_0x1095af,_0x3ba12f]of _0x51db61[_0x1c5995(0x1f4)]())if(_0x3ba12f[_0x1c5995(0x1bd)](_0xf0af19))return{'unitId':_0x581a70,'subUnitId':_0x1095af};return null;}[_0xff08f(0x1b0)](_0x5b723b,_0x23327c,_0x2060b5,_0x243e5b){const _0x49228b=_0xff08f,_0x31a3fa=this[_0x49228b(0x1ce)](_0x5b723b,_0x23327c);_0x243e5b?_0x31a3fa[_0x49228b(0x19f)](_0x2060b5,_0x243e5b):_0x31a3fa[_0x49228b(0x1e1)](_0x2060b5),this[_0x49228b(0x104)]['next']({'unitId':_0x5b723b,'subUnitId':_0x23327c,'pivotTableId':_0x2060b5});}[_0xff08f(0x2ca)](){const _0x3b122d=_0xff08f;super[_0x3b122d(0x2ca)]();}['getViewData'](_0x46aeee,_0xc99409,_0x32beee){const _0x4bed37=_0xff08f;var _0x6c49d2,_0x5c536f;const _0x10ecce=(_0x5c536f=(_0x6c49d2=this['_viewData'][_0x4bed37(0x235)](_0x46aeee))==null?void 0x0:_0x6c49d2[_0x4bed37(0x235)](_0xc99409))==null?void 0x0:_0x5c536f['get'](_0x32beee);return _0x10ecce||null;}[_0xff08f(0x2cb)](_0x61cabe){const _0x318b71=_0xff08f;this[_0x318b71(0x219)](_0x61cabe);}[_0xff08f(0x219)](_0x3c6968){const _0x4c913b=_0xff08f,{token:_0x252fb6,unitId:_0x9936dd,subUnitId:_0xd77990}=_0x3c6968,_0x41c97e=_0x9936dd+'-'+_0xd77990+'-'+_0x252fb6;this[_0x4c913b(0x14d)][_0x4c913b(0x235)](_0x41c97e)&&clearTimeout(this[_0x4c913b(0x14d)]['get'](_0x41c97e));const _0x5087fb=setTimeout(()=>{const _0x185fda=_0x4c913b;this['queryDirtyPivotTable'](_0x3c6968),this['_queryingMap'][_0x185fda(0x1e1)](_0x41c97e);},Ti);this['_queryingMap'][_0x4c913b(0x19f)](_0x41c97e,_0x5087fb);}['queryDirtyPivotTable'](_0x3d5373){const _0x3f38a7=_0xff08f,{unitId:_0x1ee0f1,subUnitId:_0x26cc6f,token:_0x1eccfd,type:_0x53d0a4,pivotConfig:_0x10bfa7}=_0x3d5373,_0x4b7b4b=this[_0x3f38a7(0x191)](_0x1eccfd),_0xf069a7=_0x4b7b4b==null?void 0x0:_0x4b7b4b['query'](),_0x42a339=_0x10bfa7!=null?_0x10bfa7:this[_0x3f38a7(0x215)](_0x1ee0f1,_0x26cc6f,_0x1eccfd);_0x42a339&&(_0x42a339['isEmpty']=!!(_0x4b7b4b!=null&&_0x4b7b4b[_0x3f38a7(0x234)]())),(_0xf069a7||_0x53d0a4===K['Delete'])&&this[_0x3f38a7(0x1f8)](_0x1ee0f1,_0x26cc6f,_0x53d0a4,_0x1eccfd,_0xf069a7,_0x42a339,this['getDataFieldManager'](_0x1ee0f1)[_0x3f38a7(0x137)]());}['toJSON'](_0x2ffe94){const _0x112ecd=_0xff08f,_0x5ed27a={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x112ecd(0x23a)](_0x2ffe94)&&(_0x5ed27a[_0x112ecd(0x20f)][_0x2ffe94]=this[_0x112ecd(0x23a)](_0x2ffe94)['toJSON']()),this['_model']['get'](_0x2ffe94)){_0x5ed27a[_0x112ecd(0x110)][_0x2ffe94]={};const _0xfc85c6=this['_model'][_0x112ecd(0x235)](_0x2ffe94);_0xfc85c6!=null&&_0xfc85c6['size']&&[..._0xfc85c6[_0x112ecd(0x237)]()]['forEach'](_0xe38532=>{const _0x22baf1=_0x112ecd,_0x158d68=_0xfc85c6[_0x22baf1(0x235)](_0xe38532);_0x158d68!=null&&_0x158d68[_0x22baf1(0x129)]&&(_0x5ed27a['pivotTableConfigs'][_0x2ffe94][_0xe38532]={},[..._0x158d68['keys']()][_0x22baf1(0x1b9)](_0x24db5a=>{const _0x3ac267=_0x22baf1,_0x2e2618=_0x158d68[_0x3ac267(0x235)](_0x24db5a);_0x2e2618&&(_0x5ed27a['pivotTableConfigs'][_0x2ffe94][_0xe38532][_0x24db5a]=_0x2e2618);}));});}return _0x5ed27a;}[_0xff08f(0x111)](_0x1112bd){const _0x19bd71=_0xff08f;var _0x2e0a7f;const {dataFieldManagerConfig:_0x2ad03a,pivotTableConfigs:_0x21d90b}=_0x1112bd;_0x2ad03a&&Object[_0x19bd71(0x237)](_0x2ad03a)['forEach'](_0x2716ee=>{const _0x2bb4a1=_0x19bd71;this[_0x2bb4a1(0x23a)](_0x2716ee)['fromJSON'](_0x2ad03a[_0x2716ee]);});const _0x3cad27=[];if(_0x21d90b){const _0x1b4e3a=(_0x2e0a7f=this[_0x19bd71(0x157)][_0x19bd71(0x235)](_0x56c73b)[_0x19bd71(0x181)](_0x1e231c))!=null?_0x2e0a7f:{},{ls:_0x2c2544,pbk:_0x2df035}=_0x1b4e3a,_0x3b6536=go(so,_0x2c2544,_0x2df035)['count'];Object[_0x19bd71(0x237)](_0x21d90b)['forEach'](_0x127674=>{const _0x156959=_0x19bd71;let _0x62ba07=0x0;const _0x59e413=_0x21d90b[_0x127674];Object[_0x156959(0x237)](_0x59e413)[_0x156959(0x1b9)](_0x2f519d=>{const _0x4bbdfb=_0x156959,_0x4e10c2=_0x59e413[_0x2f519d];Object[_0x4bbdfb(0x237)](_0x4e10c2)['forEach'](_0x1659de=>{const _0x1896b3=_0x4bbdfb,_0x59facf=_0x4e10c2[_0x1659de];if(_0x59facf){if(_0x62ba07>=_0x3b6536)return;_0x62ba07++;const _0x457745=this[_0x1896b3(0x23a)](_0x127674),_0x1b57e6=_0x457745[_0x1896b3(0x193)][_0x1659de],_0x138099=_0x1b57e6[_0x1896b3(0xcf)]();let _0x2f3cfa=0x0;const _0xb62832=[];for(const _0x59bb1d of _0x138099){const _0x271fa8=_0x1b57e6[_0x1896b3(0x25a)](_0x59bb1d);if(_0x28b357(_0x271fa8)){const _0x55f0d8=_0x271fa8[_0x1896b3(0x279)](),_0x4ad06c=_0x1b57e6[_0x1896b3(0x25a)](_0x55f0d8);_0x4ad06c&&_0xb62832[_0x1896b3(0xc1)]([_0x271fa8,_0x4ad06c]);continue;}_0x457745[_0x1896b3(0x233)](_0x59bb1d,_0x59facf[_0x1896b3(0x178)],_0x2f3cfa),_0x2f3cfa++;}_0xb62832[_0x1896b3(0x1b9)](([_0xfd7970,_0x9efc3])=>{const _0x2c797d=_0x1896b3;_0xfd7970[_0x2c797d(0x2a1)](_0x9efc3);});const _0x109d24=new _0x55f99e(_0x1b57e6);_0x109d24['fromJSON'](_0x59facf[_0x1896b3(0x27b)]),this[_0x1896b3(0x2ac)](_0x127674,_0x2f519d,_0x1659de,_0x109d24,_0x59facf);const _0x4e803f=_0x109d24[_0x1896b3(0x128)]();_0x3cad27[_0x1896b3(0xc1)]({'unitId':_0x127674,'subUnitId':_0x2f519d,'pivotTableId':_0x1659de,'view':_0x4e803f['toJSON'](),'pivotConfig':_0x59facf,'type':K[_0x1896b3(0xf1)]});const _0x495353=!!_0x109d24[_0x1896b3(0x234)](),_0xf6b9d6={'view':_0x4e803f,'pivotTableId':_0x1659de,'textInfo':this[_0x1896b3(0xa5)](),'isEmpty':_0x495353,'targetCellInfo':_0x59facf['targetCellInfo']};this['updateViewData'](_0xf6b9d6,!0x1);}});});});}_0x2ad03a&&Object[_0x19bd71(0x237)](_0x2ad03a)['forEach'](_0x3e3200=>{const _0x3a523d=_0x19bd71,_0x4bd1b2=this[_0x3a523d(0x23a)](_0x3e3200);this['_fieldsCollectionChange$'][_0x3a523d(0x16a)](_0x4bd1b2[_0x3a523d(0x193)]);}),this['_commandService'][_0x19bd71(0xe5)](Dt['id'],{'batch':_0x3cad27,'collectionConfig':_0x2ad03a},{'onlyLocal':!0x0});}[_0xff08f(0x2b0)](){const _0x267ed3=_0xff08f;this[_0x267ed3(0x1ab)](this['_resourceManagerService'][_0x267ed3(0x113)]({'toJson':_0x2045b5=>JSON[_0x267ed3(0x16c)](this[_0x267ed3(0x137)](_0x2045b5)),'parseJson':_0xf676f0=>{if(!_0xf676f0)return{};try{return JSON['parse'](_0xf676f0);}catch{return{};}},'businesses':[_0x534b47[_0x267ed3(0x288)]],'pluginName':ao,'onLoad':(_0x474d64,_0x135e1a)=>{const _0x98217d=_0x267ed3;this[_0x98217d(0x111)](_0x135e1a);},'onUnLoad':_0x3d387d=>{const _0x241f51=_0x267ed3;this[_0x241f51(0x2d5)](_0x3d387d);}}));}};$=Ui([Ge(0x0,_0x351ec8(_0x8ab5d1)),Ge(0x1,_0x5838cd),Ge(0x2,_0x351ec8(_0x3f0061)),Ge(0x3,_0x56c73b),Ge(0x4,_0x596dde),Ge(0x5,_0x351ec8(_0x18a6b3))],$);const Vi={0x0:{0x0:{'v':_0xff08f(0x251),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0xff08f(0x29c),'s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x8:{0x0:{'v':'row','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':_0xff08f(0x293),'s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},Bt={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},Wo=(_0x562fc4,_0x4c59cb)=>{const _0x41f717=_0xff08f,_0x2fd2e6=new _0x3beae7(),_0x30c16d=new _0x3beae7(Vi),{row:_0xc5897b,col:_0x76ada0}=_0x4c59cb;_0x30c16d[_0x41f717(0x187)]((_0x1dd12c,_0x34bae0,_0xd8b6c3)=>{const _0x1698bf=_0x41f717;let _0x352f96='';_0xd8b6c3['v']===_0x1698bf(0x251)?_0x352f96=_0x562fc4[_0x1698bf(0x251)]:_0xd8b6c3['v']==='row'?_0x352f96=_0x562fc4['row']:_0xd8b6c3['v']===_0x1698bf(0x29c)?_0x352f96=_0x562fc4[_0x1698bf(0x29c)]:_0xd8b6c3['v']===_0x1698bf(0x293)&&(_0x352f96=_0x562fc4[_0x1698bf(0x293)]),_0x2fd2e6['setValue'](_0x1dd12c+_0xc5897b,_0x34bae0+_0x76ada0,{..._0xd8b6c3,'v':_0x352f96});});const _0x2054e0=_0x336a3b['deepClone'](Bt);return Object[_0x41f717(0x237)](Bt)[_0x41f717(0x1b9)](_0x2d5f8f=>{const _0x3fe1e2=_0x41f717;_0x2054e0[_0x2d5f8f]=Bt[_0x2d5f8f][_0x3fe1e2(0x207)](_0x4f1b86=>({..._0x4f1b86,'startRow':_0x4f1b86['startRow']+_0xc5897b,'endRow':_0x4f1b86['endRow']+_0xc5897b,'startColumn':_0x4f1b86[_0x3fe1e2(0x136)]+_0x76ada0,'endColumn':_0x4f1b86[_0x3fe1e2(0x1fe)]+_0x76ada0}));}),{'matrixCache':_0x2fd2e6,'rangesCache':_0x2054e0};};function xi(_0xb85f4d,_0x46e338){const _0x3f588e=_0xff08f;let _0x48ffa7='';const _0x3d0ca6=this[_0x3f588e(0xa5)]();switch(_0x46e338){case _0x4b7c50[_0x3f588e(0xaa)]:_0x48ffa7=_0x3d0ca6[_0x3f588e(0xeb)]+_0xb85f4d;break;case _0x4b7c50[_0x3f588e(0xcc)]:_0x48ffa7=_0x3d0ca6[_0x3f588e(0x280)]+_0xb85f4d;break;case _0x4b7c50[_0x3f588e(0x218)]:_0x48ffa7=_0x3d0ca6[_0x3f588e(0x2da)]+_0xb85f4d;break;case _0x4b7c50['max']:_0x48ffa7=_0x3d0ca6[_0x3f588e(0x2dc)]+_0xb85f4d;break;case _0x4b7c50[_0x3f588e(0x222)]:_0x48ffa7=_0x3d0ca6['sheets-pivot.minName']+_0xb85f4d;break;case _0x4b7c50[_0x3f588e(0x228)]:_0x48ffa7=_0x3d0ca6[_0x3f588e(0x244)]+_0xb85f4d;break;case _0x4b7c50[_0x3f588e(0x270)]:_0x48ffa7=_0x3d0ca6[_0x3f588e(0x21b)]+_0xb85f4d;break;case _0x4b7c50[_0x3f588e(0x310)]:_0x48ffa7=_0x3d0ca6[_0x3f588e(0xa1)]+_0xb85f4d;break;case _0x4b7c50['sum']:_0x48ffa7=_0x3d0ca6[_0x3f588e(0x121)]+_0xb85f4d;break;case _0x4b7c50['var']:_0x48ffa7=_0x3d0ca6['sheets-pivot.varName']+_0xb85f4d;break;case _0x4b7c50[_0x3f588e(0x19a)]:_0x48ffa7=_0x3d0ca6[_0x3f588e(0x117)]+_0xb85f4d;break;default:_0x48ffa7=_0xb85f4d;break;}return _0x48ffa7;}function Ei(_0x3d7229,_0x3689d1,_0x30d754,_0x2c9361,_0x5cfdae){const _0xe88e30=_0xff08f;var _0x429bda,_0x3d3fbf,_0x398c98,_0x1948f2,_0xba8528;const _0x2299da=_0x1fea7f(_0x3d7229,_0x3689d1),{rangesInfo:_0xbb3ac8,areaInfo:_0x2834a0,headerMap:_0x4ed8d0}=_0x5cfdae;if(!_0xbb3ac8||!_0x2834a0||!_0x4ed8d0)return;const _0x5c3856=Object['keys'](_0xbb3ac8)[_0xe88e30(0x256)](_0x57ccb3=>_0xbb3ac8[_0x57ccb3][_0xe88e30(0x12c)](_0x41ddb5=>_0x3356fe[_0xe88e30(0x291)](_0x41ddb5,_0x2299da))),_0x1cb8ed=_0x2834a0;let _0x43fad5,_0x402c63,_0x2d476d;if(_0x5c3856==='rowRanges')_0x43fad5=(_0x429bda=_0x1cb8ed==null?void 0x0:_0x1cb8ed[_0xe88e30(0x1a6)])==null?void 0x0:_0x429bda[_0x3d7229],_0x402c63=(_0x3d3fbf=_0x4ed8d0==null?void 0x0:_0x4ed8d0[_0xe88e30(0x2f5)])==null?void 0x0:_0x3d3fbf[_0x3689d1],_0x2d476d=_0x402c63==null?void 0x0:_0x402c63['tableFieldId'];else{if(_0x5c3856===_0xe88e30(0x1c7))_0x43fad5=(_0x398c98=_0x1cb8ed==null?void 0x0:_0x1cb8ed[_0xe88e30(0x2e4)])==null?void 0x0:_0x398c98[_0x3689d1],_0x402c63=(_0x1948f2=_0x4ed8d0[_0xe88e30(0xcb)])==null?void 0x0:_0x1948f2[_0x3d7229+0x1+_0x3689d1-_0xbb3ac8['colRanges'][0x0][_0xe88e30(0x136)]],_0x2d476d=_0x402c63==null?void 0x0:_0x402c63[_0xe88e30(0x195)];else{if(_0x5c3856===_0xe88e30(0x2c5))_0x43fad5=(_0xba8528=_0x1cb8ed==null?void 0x0:_0x1cb8ed['cornerInfo'])==null?void 0x0:_0xba8528[_0x3689d1],_0x2d476d=_0x43fad5==null?void 0x0:_0x43fad5[_0xe88e30(0x195)];else{if(_0x5c3856===_0xe88e30(0x225)){const _0x422072=_0x30d754==null?void 0x0:_0x30d754['fi'];_0x422072!==void 0x0&&(_0x2d476d=_0x2c9361[_0xe88e30(0x94)](_0x422072));}}}}return{'filterId':_0x2d476d,'info':_0x43fad5,'data':_0x30d754,'headerInfo':_0x402c63};}function Oi(_0xf6b5ff,_0x2b2d8e,_0xd6f1e0){const _0x24135f=_0xff08f,_0x361da1=_0xf6b5ff[_0x24135f(0x149)],_0x37b351=_0x361da1[_0x24135f(0xcf)](),_0x415bfc=new Set();_0xf6b5ff['iterateField'](_0x21e059=>{const _0xcdc930=_0x24135f;_0x415bfc['add'](_0x21e059[_0xcdc930(0x144)]);});const _0x224421=_0x37b351[_0x24135f(0x207)](_0x4745b3=>{const _0x4eb267=_0x24135f,_0x115ba4=_0x361da1[_0x4eb267(0x25a)](_0x4745b3);return{'checked':_0x415bfc['has'](_0x4745b3),'dataFieldId':_0x115ba4['id'],'id':_0x115ba4['id'],'name':_0x361da1['getDisplayName'](_0x115ba4['id']),'type':_0x115ba4[_0x4eb267(0x176)](),'pivotTableId':_0x2b2d8e};}),_0x1c9fbb=[];_0xf6b5ff[_0x24135f(0xf7)](_0x2849b6[_0x24135f(0x1a2)],_0x4ea24e=>{const _0x2a24f5=_0x24135f;_0x1c9fbb[_0x2a24f5(0xc1)]({'dataFieldId':_0x4ea24e[_0x2a24f5(0x144)],'tableFieldId':_0x4ea24e['getId'](),'displayName':_0x4ea24e[_0x2a24f5(0x14c)]()});});const _0x253180=[];_0xf6b5ff[_0x24135f(0xf7)](_0x2849b6[_0x24135f(0xb8)],_0x3179dc=>{const _0x222684=_0x24135f;_0x253180[_0x222684(0xc1)]({'dataFieldId':_0x3179dc[_0x222684(0x144)],'tableFieldId':_0x3179dc[_0x222684(0x91)](),'displayName':_0x3179dc[_0x222684(0x14c)]()});});const _0x23efe4=[];if(_0xf6b5ff[_0x24135f(0xf7)](_0x2849b6[_0x24135f(0x24e)],_0x5bd954=>{const _0x5649af=_0x24135f;_0x23efe4['push']({'dataFieldId':_0x5bd954[_0x5649af(0x144)],'tableFieldId':_0x5bd954[_0x5649af(0x91)](),'displayName':_0x5bd954[_0x5649af(0x14c)](),'format':_0x5bd954[_0x5649af(0xf2)](),'subTotalType':_0x5bd954[_0x5649af(0x106)]()});}),_0x23efe4['length']>0x1){const _0x13a1c4=_0xf6b5ff['getValueIndex']();(_0xf6b5ff['isColMultiMeasure']()?_0x253180:_0x1c9fbb)[_0x24135f(0x316)](_0x13a1c4,0x0,{'dataFieldId':'','tableFieldId':_0x24135f(0x205),'displayName':_0x24135f(0x2b8)});}const _0x58c993=[];_0xf6b5ff[_0x24135f(0xf7)](_0x2849b6[_0x24135f(0x216)],_0x35c75e=>{const _0x3af394=_0x24135f;_0x58c993[_0x3af394(0xc1)]({'dataFieldId':_0x35c75e['dataFieldId'],'tableFieldId':_0x35c75e[_0x3af394(0x91)](),'displayName':_0x35c75e[_0x3af394(0x14c)]()});});const _0x55cdfb=_0xd6f1e0['sourceRangeInfo'];return{'sourceList':_0x224421,'sourceRange':_0x55cdfb,'rowFields':_0x1c9fbb,'columnFields':_0x253180,'valueFields':_0x23efe4,'filterFields':_0x58c993,'positionInfo':_0xd6f1e0[_0x24135f(0x177)]};}function fo(_0x534f6e,_0x4fc33e,_0x4e792e='',_0x486f9c={}){const _0x53f36d=_0xff08f,_0x228b23=_0x534f6e[_0x53f36d(0x235)](_0x1ca3ab);for(const _0x32b366 in _0x4fc33e)if(Object[_0x53f36d(0x23b)][_0x53f36d(0x186)]['call'](_0x4fc33e,_0x32b366)){const _0x4108ab=_0x4e792e?_0x4e792e+'.'+_0x32b366:_0x32b366;typeof _0x4fc33e[_0x32b366]==_0x53f36d(0x2f7)&&_0x4fc33e[_0x32b366]!==null&&!Array['isArray'](_0x4fc33e[_0x32b366])?fo(_0x534f6e,_0x4fc33e[_0x32b366],_0x4108ab,_0x486f9c):_0x486f9c[_0x4108ab]=_0x228b23['t'](_0x4108ab);}return _0x486f9c;}const Kt=_0xdc7cd1=>{const _0x4f4578=_0xff08f;if(!_0xdc7cd1)return[];const {rowRanges:_0x2d8cd0,colRanges:_0x3a2337,cornerRanges:_0x48218e,dataRanges:_0x28b697,pageRanges:_0x570df6}=_0xdc7cd1,_0x350248=[..._0x3a2337,..._0x2d8cd0,..._0x28b697,..._0x48218e]['filter'](_0x2b1db4=>_0x2b1db4[_0x4f4578(0x2d2)]>=0x0&&_0x2b1db4[_0x4f4578(0x136)]>=0x0&&_0x2b1db4[_0x4f4578(0x1de)]>=0x0&&_0x2b1db4['endColumn']>=0x0);let _0x2d2e27=Number[_0x4f4578(0x1f2)],_0x4dbd2e=Number[_0x4f4578(0x13f)],_0x52a5dd=Number[_0x4f4578(0x1f2)],_0x8e9915=Number[_0x4f4578(0x13f)];for(let _0x3cbbdb=0x0;_0x3cbbdb<_0x350248['length'];_0x3cbbdb++)_0x2d2e27=Math[_0x4f4578(0x222)](_0x2d2e27,_0x350248[_0x3cbbdb][_0x4f4578(0x2d2)]),_0x4dbd2e=Math['max'](_0x4dbd2e,_0x350248[_0x3cbbdb][_0x4f4578(0x1de)]),_0x52a5dd=Math[_0x4f4578(0x222)](_0x52a5dd,_0x350248[_0x3cbbdb][_0x4f4578(0x136)]),_0x8e9915=Math[_0x4f4578(0x24c)](_0x8e9915,_0x350248[_0x3cbbdb]['endColumn']);return[..._0x570df6,{'startRow':_0x2d2e27,'endRow':_0x4dbd2e,'startColumn':_0x52a5dd,'endColumn':_0x8e9915}];};function Ai(_0x22ef13,_0x2269e3){const _0x246cd0=_0xff08f,_0x4d6e04=_0x2269e3[_0x246cd0(0x2bf)][_0x246cd0(0x1d7)],{pivotTableId:_0x1dd644,unitId:_0x1f4841,subUnitId:_0x16e5e1}=_0x2269e3;if(!_0x4d6e04)return;const _0x5ab6ac=_0x22ef13[_0x246cd0(0x235)]($),_0x96d4e6=_0x5ab6ac[_0x246cd0(0x191)](_0x1dd644),_0x5bef7e=_0x5ab6ac[_0x246cd0(0x215)](_0x1f4841,_0x16e5e1,_0x1dd644);if(!_0x96d4e6||!_0x5bef7e)return;const _0x5932e3=_0x96d4e6[_0x246cd0(0x314)](_0x4d6e04[_0x246cd0(0xf6)]);if(!(_0x5932e3!=null&&_0x5932e3[_0x246cd0(0x1a8)]))return;const _0x5b640b=_0x5bef7e[_0x246cd0(0x178)],{unitId:_0x38e0b8,subUnitId:_0x464c1b,range:_0x5cf973}=_0x5b640b;let _0x730ec=0x0;const _0x5dc5e6=_0x96d4e6[_0x246cd0(0x149)]['getFieldIds']()[_0x246cd0(0x15f)]((_0x235f22,_0x39a7c8)=>{const _0x25ca57=_0x246cd0;var _0x3a1488;const _0x119898=(_0x3a1488=_0x96d4e6[_0x25ca57(0x261)](_0x39a7c8))==null?void 0x0:_0x3a1488[_0x25ca57(0x28a)]();return _0x119898&&(_0x235f22[String(_0x730ec)]=_0x119898),_0x730ec++,_0x235f22;},{});return{'indexes':_0x5932e3,'range':_0x5cf973,'sourceUnitId':_0x38e0b8,'sourceSubUnitId':_0x464c1b,'formatMap':_0x5dc5e6};}function Go(_0x474a7a,_0x59900a){const _0x4a12be=_0xff08f;if(!_0x474a7a||!_0x59900a)return!0x0;const _0x8bb6bc=_0x3aa322(jo,Jo),_0x243535=new Function(_0x4a12be(0x29f)+_0x8bb6bc)()(_0x474a7a,_0x59900a)[_0x4a12be(0x1ee)],_0x7a5d21=_0x4760d5(_0x243535,'sf',ko);return!((_0x243535==null?void 0x0:_0x243535['rt'])===_0x1f2530[_0x4a12be(0xd2)]&&!_0x7a5d21);}function go(_0xecd9dd,_0x5bbcb8,_0x39e5d9){const _0x59b9e1=_0xff08f,_0x6143ce={'count':_0xecd9dd,'timeValid':!0x1};if(!_0x5bbcb8||!_0x39e5d9)return _0x6143ce;const _0x15f67e=_0x3aa322(jo,Jo),_0x4fc8be=new Function(_0x59b9e1(0x29f)+_0x15f67e)()(_0x5bbcb8,_0x39e5d9);if(_0x4fc8be!=null&&_0x4fc8be[_0x59b9e1(0x27d)]){const _0x158e38=_0x4fc8be['message'],_0x5613e8=_0x4760d5(_0x158e38,'sf',ko);return{'count':_0x55b602(_0x158e38,_0x5613e8,'ptn',_0xecd9dd,_0xecd9dd,0x0),'timeValid':_0x5613e8};}return _0x6143ce;}function Ho(_0x5180b6,_0xe4fb1,_0x440c0f,_0x56d81b){const _0x4ca1da=_0xff08f,_0x266ddc={'subUnitId':_0x440c0f,'unitId':_0xe4fb1,'cellValue':_0x46ecc8(_0x56d81b)},_0x18a662=_0x4bb5a0(_0x5180b6,_0x266ddc);let _0x359dbf=!0x1;return new _0x3beae7(_0x18a662[_0x4ca1da(0x9d)])[_0x4ca1da(0x187)]((_0x639e34,_0x5f37e8,_0x3a7ca0)=>{const _0x4becd5=_0x4ca1da;if(!_0x359dbf&&_0x3a7ca0&&(_0x3a7ca0[_0x4becd5(0x25f)]||_0x3a7ca0['f']||_0x3a7ca0['p']||_0x3a7ca0['s']||_0x3a7ca0['si']||_0x3a7ca0['t']||_0x3a7ca0['v']))return _0x359dbf=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x540f88['id'],'params':_0x18a662},'setRangeValueRedoMutation':{'id':_0x540f88['id'],'params':_0x266ddc},'shouldClear':_0x359dbf};}function ki(_0x5be1f7){const {row:_0x4de20f,col:_0x5d1396}=_0x5be1f7,_0x2765dd={'startRow':_0x4de20f,'endRow':_0x4de20f,'startColumn':_0x5d1396,'endColumn':_0x5d1396},_0x52f59f={'startRow':_0x4de20f+0x2,'endRow':_0x4de20f+0xe,'startColumn':_0x5d1396,'endColumn':_0x5d1396+0x6};return[_0x2765dd,_0x52f59f];}function Li(_0x108ddf,_0x3d5ac0,_0xfb49fe){const _0x3ac3c5=_0xff08f,{cornerView:_0x21af00,rowView:_0x1284cc,colView:_0x5d3618,pageView:_0x17d63a}=_0x108ddf,{row:_0x4f5f3f,col:_0x3b7daa}=_0x3d5ac0;if(_0xfb49fe)return{'rowCount':bi+_0x4f5f3f,'colCount':Si+_0x3b7daa};const _0xb61975=_0x17d63a[_0x3ac3c5(0x2bb)]>-0x1?_0x17d63a[_0x3ac3c5(0x2bb)]+0x1:0x0,_0x1f3bc1=_0x17d63a[_0x3ac3c5(0x1a9)]>-0x1?_0x17d63a[_0x3ac3c5(0x1a9)]:0x0,_0x472e10=_0x4f5f3f+_0xb61975+(_0xb61975?0x1:0x0)+_0x21af00[_0x3ac3c5(0x2e0)]+_0x1284cc[_0x3ac3c5(0x2e0)],_0x41711e=_0x3b7daa+_0x1f3bc1,_0x4c44bd=_0x3b7daa+_0x21af00[_0x3ac3c5(0x92)]+_0x5d3618[_0x3ac3c5(0x92)],_0xc1dcf2=Math[_0x3ac3c5(0x24c)](_0x41711e,_0x4c44bd);return{'rowCount':_0x472e10,'colCount':_0xc1dcf2};}function we(_0x5814aa,_0xc6d691,_0x14c7db,_0x102f17){const _0x3e67da=_0xff08f,{row:_0x1fcee9,col:_0x200871,unitId:_0x448045,subUnitId:_0x10368c}=_0x14c7db,_0x25b2e1=Li(_0xc6d691,{'row':_0x1fcee9,'col':_0x200871},_0x102f17),_0x2204ef=_0x5814aa[_0x3e67da(0x235)](_0x5838cd),_0x5514e0=_0x32bc51(_0x2204ef,{'unitId':_0x448045,'subUnitId':_0x10368c}),_0x1eb2d3=[],_0x2e2537=[];if(!_0x5514e0)return{'undos':_0x2e2537,'redos':_0x1eb2d3};const {worksheet:_0x58878c}=_0x5514e0,_0x248b6d=_0x58878c[_0x3e67da(0x209)](),_0x3e37e1=_0x58878c[_0x3e67da(0x1a7)]();return _0x248b6d<_0x25b2e1[_0x3e67da(0x2e0)]&&(_0x1eb2d3[_0x3e67da(0xc1)]({'id':_0x93e205['id'],'params':{'unitId':_0x448045,'subUnitId':_0x10368c,'range':{'startRow':_0x248b6d,'endRow':_0x25b2e1[_0x3e67da(0x2e0)]-0x1,'startColumn':0x0,'endColumn':_0x3e37e1-0x1}}}),_0x2e2537['push']({'id':_0x435802['id'],'params':{'unitId':_0x448045,'subUnitId':_0x10368c,'range':{'startRow':_0x248b6d,'endRow':_0x25b2e1['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x3e37e1-0x1}}})),_0x3e37e1<_0x25b2e1[_0x3e67da(0x92)]&&(_0x1eb2d3['push']({'id':_0x2f85c7['id'],'params':{'unitId':_0x448045,'subUnitId':_0x10368c,'range':{'startRow':0x0,'endRow':_0x248b6d-0x1,'startColumn':_0x3e37e1,'endColumn':_0x25b2e1[_0x3e67da(0x92)]-0x1}}}),_0x2e2537[_0x3e67da(0xc1)]({'id':_0x280ed9['id'],'params':{'unitId':_0x448045,'subUnitId':_0x10368c,'range':{'startRow':0x0,'endRow':_0x248b6d-0x1,'startColumn':_0x3e37e1,'endColumn':_0x25b2e1['colCount']-0x1}}})),{'undos':_0x2e2537,'redos':_0x1eb2d3};}function Bi(_0x25ce52){const _0x478a2c=_0xff08f;let _0x9ecd54=0x0;for(let _0x2baf00=0x0;_0x2baf00<_0x25ce52[_0x478a2c(0x1a8)];_0x2baf00++){const _0x3a61a8=_0x25ce52[_0x478a2c(0xb9)](_0x2baf00);_0x3a61a8>=0x4e00&&_0x3a61a8<=0x9fff||_0x3a61a8>=0x3000&&_0x3a61a8<=0x303f||_0x3a61a8>=0xff00&&_0x3a61a8<=0xffef?_0x9ecd54+=0x2:_0x9ecd54+=0x1;}return _0x9ecd54;}function Po(_0x15a690,_0x51007b,_0x455662,_0x4283bd){const _0x556948=_0xff08f;var _0x4246b4,_0x33e20b,_0x38bc71,_0x41221c;const {rowCount:_0x3a1a64,colCount:_0x718ab5,headerMap:_0x2998dc}=_0x15a690,_0x23de6d=0x64,_0x1f8c76=Math[_0x556948(0x222)](_0x3a1a64,_0x23de6d),_0x288c74=Math[_0x556948(0x222)](_0x718ab5,_0x23de6d);let _0x30510c='',_0x5e84dd=0x0;for(let _0x4a428b=0x0;_0x4a428b<_0x1f8c76;_0x4a428b++)for(let _0x1f5f94=0x0;_0x1f5f94<_0x288c74;_0x1f5f94++){const _0x3ca0a2={...(_0x33e20b=(_0x4246b4=_0x15a690['data'])==null?void 0x0:_0x4246b4[_0x4a428b])==null?void 0x0:_0x33e20b[_0x1f5f94]},_0x315b01=(_0x38bc71=_0x2998dc[_0x4a428b])==null?void 0x0:_0x38bc71[_0x556948(0x195)],_0xbcfc89=_0x4283bd[_0x315b01];let _0x555d44=_0x15a690[_0x556948(0xee)](_0x4a428b,_0x1f5f94);if(_0x3ca0a2){const _0x52550f=_0x455662?_0x1f5f94===0x0&&((_0x41221c=_0x15a690['getHeaderMapItem'](_0x1f5f94+0x1))==null?void 0x0:_0x41221c[_0x556948(0x27e)]):!0x1;_0x555d44=ht(_0x3ca0a2,_0x52550f,_0xbcfc89,_0x51007b);}if(_0x555d44!==void 0x0){const _0x5c4f4e=Bi(String(_0x555d44));_0x5e84dd<_0x5c4f4e&&(_0x30510c=String(_0x555d44),_0x5e84dd=_0x5c4f4e);}}return _0x30510c;}function Ki(_0xf3d319){const _0x181245=_0xff08f,{rowCount:_0x96d181,colCount:_0x1d0797}=_0xf3d319;let _0x1be57a='',_0xe7be20=0x0;for(let _0x3028c1=_0x96d181-0x1;_0x3028c1>0x0&&_0x3028c1>_0x96d181-0x3;_0x3028c1--)for(let _0x4ea34b=0x0;_0x4ea34b<_0x1d0797;_0x4ea34b++){const _0x381e58=_0xf3d319[_0x181245(0xee)](_0x3028c1,_0x4ea34b);if(_0x381e58!==void 0x0){const _0x50c9f9=String(_0x381e58)['length'];_0xe7be20<_0x50c9f9&&(_0x1be57a=String(_0x381e58),_0xe7be20=_0x50c9f9);}}return _0x1be57a;}function $i(_0x147084){const _0x4c742a=_0xff08f,{rowCount:_0x5afdc1,colCount:_0x4cc8a9}=_0x147084;let _0x5a8a56='',_0x4f68a0=0x0;for(let _0x567e18=0x0;_0x567e18<_0x5afdc1;_0x567e18++)for(let _0x177fc6=0x0;_0x177fc6<_0x4cc8a9;_0x177fc6++){const _0x24d233=_0x147084[_0x4c742a(0xee)](_0x567e18,_0x177fc6);if(_0x24d233!==void 0x0){const _0xc2fde4=String(_0x24d233)['length'];_0x4f68a0<_0xc2fde4&&(_0x5a8a56=String(_0x24d233),_0x4f68a0=_0xc2fde4);}}return _0x5a8a56;}function Ji(_0x2ca82c,_0x4a4b0f){const _0x3c65ab=_0xff08f,{rowFields:_0xef036b,columnFields:_0x26e61c,valueFields:_0x3f1c80,filterFields:_0x5bb51,dimension:_0x26edfc,measure:_0x24afe5}=_0x4a4b0f;for(const _0x55a67c of _0xef036b){const _0x4bea95=_0x26edfc[_0x55a67c];_0x4bea95&&_0x2ca82c['getDataFieldByDataFieldId'](_0x4bea95['dataFieldId'])&&(_0x2ca82c[_0x3c65ab(0x170)](_0x4bea95[_0x3c65ab(0x144)],_0x2849b6[_0x3c65ab(0x1a2)],void 0x0,_0x55a67c),_0x4bea95[_0x3c65ab(0x2d9)]&&_0x2ca82c[_0x3c65ab(0x1a0)](_0x4bea95['id'],_0x4bea95['displayName']),_0x4bea95[_0x3c65ab(0x1ed)]&&_0x2ca82c['setSortInfo'](_0x4bea95['id'],_0x4bea95[_0x3c65ab(0x1ed)]),_0x4bea95[_0x3c65ab(0xc8)]&&_0x2ca82c[_0x3c65ab(0x1ea)](_0x4bea95['id'],_0x4bea95[_0x3c65ab(0xc8)]));}for(const _0x545de4 of _0x26e61c){const _0x419011=_0x26edfc[_0x545de4];_0x419011&&_0x2ca82c[_0x3c65ab(0x261)](_0x419011[_0x3c65ab(0x144)])&&(_0x2ca82c[_0x3c65ab(0x170)](_0x419011[_0x3c65ab(0x144)],_0x2849b6[_0x3c65ab(0xb8)],void 0x0,_0x545de4),_0x419011['sortInfo']&&_0x2ca82c[_0x3c65ab(0x294)](_0x419011['id'],_0x419011[_0x3c65ab(0x1ed)]),_0x419011['filterInfo']&&_0x2ca82c[_0x3c65ab(0x1ea)](_0x419011['id'],_0x419011[_0x3c65ab(0xc8)]),_0x419011[_0x3c65ab(0x2d9)]&&_0x2ca82c[_0x3c65ab(0x1a0)](_0x419011['id'],_0x419011[_0x3c65ab(0x2d9)]));}for(const _0x422b34 of _0x5bb51){const _0x1485f5=_0x26edfc[_0x422b34];_0x1485f5&&_0x2ca82c[_0x3c65ab(0x261)](_0x1485f5['dataFieldId'])&&(_0x2ca82c[_0x3c65ab(0x170)](_0x1485f5['dataFieldId'],_0x2849b6[_0x3c65ab(0x216)],void 0x0,_0x422b34),_0x1485f5['sortInfo']&&_0x2ca82c[_0x3c65ab(0x294)](_0x1485f5['id'],_0x1485f5[_0x3c65ab(0x1ed)]),_0x1485f5[_0x3c65ab(0xc8)]&&_0x2ca82c[_0x3c65ab(0x1ea)](_0x1485f5['id'],_0x1485f5[_0x3c65ab(0xc8)]),_0x1485f5[_0x3c65ab(0x2d9)]&&_0x2ca82c[_0x3c65ab(0x1a0)](_0x1485f5['id'],_0x1485f5[_0x3c65ab(0x2d9)]));}for(const _0x48bd4a of _0x3f1c80){const _0x349a25=_0x24afe5[_0x48bd4a];_0x349a25&&_0x2ca82c[_0x3c65ab(0x261)](_0x349a25[_0x3c65ab(0x144)])&&(_0x2ca82c[_0x3c65ab(0x170)](_0x349a25['dataFieldId'],_0x2849b6[_0x3c65ab(0x24e)],void 0x0,_0x48bd4a),_0x349a25[_0x3c65ab(0x1f9)]!==void 0x0&&_0x2ca82c[_0x3c65ab(0x2c1)](_0x48bd4a,_0x349a25[_0x3c65ab(0x1f9)]),_0x349a25[_0x3c65ab(0x242)]&&_0x2ca82c['setFieldFormat'](_0x48bd4a,_0x349a25[_0x3c65ab(0x242)]),_0x349a25[_0x3c65ab(0x2d9)]&&_0x2ca82c['renameField'](_0x349a25['id'],_0x349a25[_0x3c65ab(0x2d9)]));}const _0x24610f=_0x4a4b0f['valueFilter'];for(const {fieldId:_0x163bcf,filterInfo:_0x1eb96d}of _0x24610f)_0x2ca82c[_0x3c65ab(0x301)](_0x163bcf,_0x1eb96d);}function _0x3d9d(){const _0x4ba8ba=['range','removePivotField','sheets-pivot.value','resetPivotTable','sheet.command.reset-pivot-fields-config','NAME','PivotMultipleValueId','pushUndoRedo','map','FORCE_STRING','getRowCount','fetchThroughInterceptors','_model','10209HhacGB','_refRangeService','matrix','dataFieldManagerConfig','getMatrix','getFieldCountByArea','RemovePivotField','pivotTableIndexConfig','body','getPivotTableConfig','Filter','sheet.command.update-date-group','countNums','updateDirtyPivotTable','unshift','sheets-pivot.stdDevName','sheet.command.move-pivot-field','getInterceptPoints','broadcastCollectionChange','setPivotTable','getSheets','rowFields','min','getSheetBySheetName','removeField','pageRanges','_exclusiveRangeService','getFilterInfo','product','getMonth','_sheetsPivotTableAdaptorModel','sheets-pivot.blank','getValuePosition','leftOffset','getLastCol','sheets-pivot.dateGroup.year','sheet.operation.pivot-table-view-formula-mark-dirty','setDirty','from','refreshDataField','isEmpty','get','addRecord','keys','_init','getSortInfo','getDataFieldManager','prototype','viewUpdate$','_subjectCollectionChange','24112CSJFrC','RemoveField','realDeleteValue','_initCommandInterceptListener','format','getCellRaw','sheets-pivot.productName','workbook\x20is\x20not\x20found','name','col','pivotPerformCheck','getPivotTableIdByCell','_updateRenderEmptyCache','_initPivotDataGetListener','max','setConfig','Value','createDataFieldId','_initGlobalComputed','filter','getAutoDisplayNameFunction','getCellMatrix','updateConfig','CELL_CONTENT','find','setRangeKeyMap','setFieldFormat','getPivotTableCellData','getFieldById','isBottomTotal','headerMap','UpdateValuePosition','fontRenderExtension','custom','_commandService','getDataFieldByDataFieldId','pivotInitCompleted$','addField','getDataFieldBySourceName','toString','dataStyle','asyncInterceptor','YearMonth','random','_globalSubject','UpdatePivotSource','movePivotField','MonthDate','Column\x20','sheet.mutation.update-date-group','stdDev','sheets-pivot.emptyPivot.values','_sheetsPivotRpcService','registerRefRange','_config','HourMinute','sheets-pivot.cellDateGroupDisplay.yearMonthDate','sheet.mutation.send-init-pivot-text-local','getDate','getOriginFieldId','foreach','fieldsConfig','getTargetByPivotTableId','valid','isValue','getPivotDisplayConfig','sheets-pivot.countName','ManualFilter','registerCallbackWithEvent','updateConfigCache','generateNewSheetName','_ensurePivotItemRenderInfoCache','updatePivotSource','sheet.mutation.set-pivot-format','UNIVER_SHEET','handleSourceRangeChange','getformat','handleAsyncResponse','4605350AWHiQp','#f4f4f5','setSourceName','sheet.mutation.set-pivot-field-subtotal-type','addExclusiveRange','contains','_initViewModelBySheetInterceptor','values','setSortInfo','sheet.command.remove-pivot-field','valuePosition','setOptions','dateType','valueIndex','adjustSheetCellData','options','column','(Blank)','Total','return\x20','NUMBER','refreshGroupField','_viewData','register','pivotMutationGenerate','8MXIche','getDataFieldId','_subjectViewChange','removeValueFilterInfoByValueFieldId','measure','getMatrixFromRunTimeData','rangeCache','addPivotTable','uniqueDataFieldName','registerSyncingMutations','error','_initSnapshot','number','setPivotSetting','isDate','getSubUnitPivotMatrix','updatePivotTableRangeInfo','_host','SetPivotSort','ΣValue','sheets-pivot.cellDateGroupDisplay.date','info','lastRow','rgb(255,255,255)','Year','getDataFieldItemInfo','params','collectionConfig','setSubtotalType','updateRenderCache','getDataFieldByRangeKey','getSheetBySheetId','cornerRanges','_pivotConfigChange$','sheet.mutation.add-pivot-field','sheet.command.add-pivot-table-with-config','SHEET_PIVOT_EXCLUSIVE_ID','dispose','addDirtyPivotTable','getGroupFieldsInfoByIds','columnFields','date','getUnit','_fieldsCollectionChange$','registerDirtyService','startRow','Style','_univerInstanceService','deleteUnitId','UpdateFieldPosition','_deletePivotTableInstanceCache','pivotTableId','displayName','sheets-pivot.countNumsName','getNoUsedDataFieldIds','sheets-pivot.maxName','Values','getName','updateRangeKeyMap','rowCount','NotNumber','hasField','updatePivotTableMatrixInfo','colInfo','node','updateFieldSourceInfo','_configService','Date','Month','handleMoveRange','SetPivotTableConfig','subscribe','redos','collectionChange$','_globalComputingSrv','NotName','markDirty','StdDevp\x20of\x20','fields','remove','rowHeaderMap','New','object','STRING','sheets-pivot.dateGroup.date','data','triggerDirtyFeature','sheets-pivot.columnName','Minute','_activeDirtyManagerService','_getPivotAppliedRanges','getHeaderMapItem','setValueFilterInfo','getUpdateRangeDeleteIds','sheet.mutation.set-pivot-value-filter','GrandTotal','oldRangeInfo','setDisplayName','SetFilterInfo','Div0','sheet.mutation.update-pivot-table-source-range','_localeService','sheet.command.pivot-drill-down','sourceName','dataStream','SHEET_PIVOT_TABLE_PLUGIN','markDirty$','stdDevp','versions','rangeKeyMap','_initLocale','getIndexesByPathStr','getColumnWidth','splice','_ensurePivotItemRenderValueMatrixCache','2277esJRti','getSheetId','single','164014Uclati','getPivotDirtyViewInfo','getId','colCount','sheets-pivot.grandTotal','getFilterFieldIdByIndex','rangesInfo','_onRefRangeChange','collapseInfo','defineProperty','Grand\x20Total','_sheetsPivotDataSourceModel','substring','getDirtyInfo','cellValue','onQueryEnd','sheet.mutation.send-pivot-view-local','None','sheets-pivot.stdDevpName','getDataFieldByTableId','addPivotField','Min\x20of\x20','getTextInfo','Delete','getUnitId','_initDataSendListener','_sheetsPivotTableService','average','getStyles','SetOptions','unitId','Quarter','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','getTextSize','updateAllDisplayName','Subtotal','sheet.mutation.remove-group-collection','Hour','_pivotTableMatrixInfo','sheetName','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','Column','charCodeAt','_sheetInterceptorService','value','valueFields','removeCollections','_globalComputedEndHelpFunc','_sheetsPivotTableConfigModel','setPivotInitCompleted','push','YearMonthDate','#eceeff','Sum\x20of\x20','#e6ebfb','DrillDown','isNaN','filterInfo','Count\x20of\x20','maxDate','colHeaderMap','count','setRange','floor','getFieldIds','UpdateSource','sheet.mutation.add-pivot-table','NO_COMMERCIAL','registerCommand','sheets-pivot.subTotal','bind','createCollectionWithDataRange','_lifecycleService','sheets-pivot.dateGroup.minute','Set','getCurrentSelections','removeValueFilterInfo','deleteField','isText','COMMAND','colStyle','_viewUpdate$','getTableFieldById','rowRanges','pushComputingStatusSubject','fieldIds','executeCommand','oldMatrix','asObservable','leafStyle','getTargetByPivotId','getMatrixValue','sheets-pivot.averageName','valueFilter','_pivotRenderValueMatrixCache','getValue','addCollectionByJSON','getAutoFitColumnsMutations','Add','getFormat','\x20-\x20','getViewData','setPivotSort','tuple','iterateFieldByArea','getColCount','rangeKey','SetFieldFormat','setValuePivotFilter','rangeType','_featureCalculationManagerService','sheet.mutation.get-pivot-data-local','sheets-pivot.cellDateGroupDisplay.minute','sheets-pivot.emptyPivot.row','getIntersectsPivotTable','896cBvypN','_collectionConfigModel','_viewData$','disposableCollection','getSubtotal','sheet.command.set-pivot-fields-config','row','_requestResolvers','updateViewData','sheets-pivot.cellDateGroupDisplay.month','existing','sheet.command.set-pivot-sort','_pivotRenderInfoCache','ResetPivotTable','pivotTableConfigs','fromJSON','document','registerPluginResource','_generateUniqueVersion','needSameDeleteModel','getCollection','sheets-pivot.varpName','_markDirty$','getFieldFormat','type','10670leYeHl','updateValuePosition','#b2b2b2','SetPivotSetting','372TIQIvr','_pivotInitCompleted$','sheets-pivot.sumName','AddPivotTable','sheet.command.move-pivot-table','_updateModelCache','addCollection','sum','deleteDataField','query','size','_pivotTableInstanceCache','setPivotCollapse','some','resetArea','paths','setRangeValueUndoMutation','updateDataFieldsCollection','RenameField','_dataFieldManagerCollection','removeCollectionImp','sheet.command.add-pivot-field','sheets-pivot.dateGroup.month','startColumn','toJSON','interceptCommand','_globalComputedStartHelpFunc','addPivotTableWithConfig','SetSortInfo','sheet.mutation.send-pivot-data-local','AddPivotField','_refRangeHandle','MIN_SAFE_INTEGER','panel','_initConfig','areaInfo','sheets-pivot.dateGroup.hour','dataFieldId','_initRemoveSheetCommandInterceptor','setCollapse','updateFieldPosition','_pivotTableRangeInfo','dataFieldsCollection','pageStyle','reset','getDisplayName','_queryingMap','getPivotPerformCheck','getValueIndex','sheets.tabs.sheet','fieldId','sheets-pivot.emptyPivot.filter','getPivotItemRenderInfoCache','intersects','pivotConfigChange$','sheet.mutation.add-group-collection','_injector','7317948aclMWz','_dataSyncPrimaryController','#FFFFFF','getSourceName','add','refreshData','sheet.mutation.rename-pivot-field','reduce','undos','_ensurePivotTableMatrixInfo','getFieldPositionInfoById','originTargetInfo','viewData$','formJSON','fieldsCollectionChange$','_textInfo','_subjectFieldsCollectionChange','pbt','next','MUTATION','stringify','SetPivotFilter','AddField','collection','addFieldWithSourceId','addDataFieldWithoutUnitInfo','sheet.mutation.send-pivot-config-local','sheets-pivot.dateGroup.hourMinute','subUnitId','sheets-pivot.dateGroup.quarter','getFieldDataType','targetCellInfo','sourceRangeInfo','setName','setTextInfo','setValue','getSubUnitPivotConfigs','filterFields','SetValueFilter','rgb(240,241,243)','result','getConfig','concat','removeDataField','StdDev\x20of\x20','updateCollectionConfig','hasOwnProperty','forValue','getRangeStartEndInfo','sheets-pivot.cellDateGroupDisplay.quarter','setPivotTableConfig','_ensurePivotTableRangeInfo','symbol','iterateField','sheet.command.set-pivot-filter','DIV_BY_ZERO','dimension','getPivotTableInstance','_initPivotTextInfo','collections','getRangeKeyList','tableFieldId','getFormatInfo','_initUnitDisposed','interceptor','Collapse','varp','_ensurePivotMap','getPivotTableMatrixInfo','_collectionChange$','L9gSaTKg\x20xfS65naTKg(NTSfgtf,\x20n9ENTS3f5)\x20{\x20\x20\x20\x20a65\x20{\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20NTSfgtf0gLKIm6aq66m5\x20=\x20NTSfgtf.tnNTa(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20K6TuTgcfttmuf\x20=\x20zvYX.nm6tf(maKE(NTSfgtf0gLKIm6aq66m5[i]));\x20\x20\x20\x20\x20\x20\x20\x20TL\x20(!K6TuTgcfttmuf.9x)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20K6TuTgcfttmuf.9x\x20=\x20X9PEf6(NTSfgtf0gLKIm6aq66m5[b]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20TtDK6Vf6\x20=\x20a5nfKL\x20DK6Vf6wNKEmNvSKnf\x20!==\x20\x279gxfLTgfx\x27\x20&&\x20tfNL\x20TgtamgSfKL\x20DK6Vf6wNKEmNvSKnf;\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20SKgafMa\x20=\x20TtDK6Vf6\x20?\x20tfNL\x20:\x20CTgxKC;\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20PfttmufDK6x\x20=\x20SKgafMa.__jmtfQb__.nm6tf(NTSfgtf0gLKIm6aq66m5[i]);\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20Pfttmuf\x20=\x20SKgafMa.__UfM__.ta6TguTL5(PfttmufDK6x);\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20tTugma96fDK6x\x20=\x20SKgafMa.__jmtfQb__.nm6tf(NTSfgtf0gLKIm6aq66m5[k]);\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20tTugma96f\x20=\x20SKgafMa.__UfM__.ta6TguTL5(tTugma96fDK6x);\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20tTugRmNTx\x20=\x20SKgafMa.__2f6TL5__(tTugma96f,\x20Pfttmuf,\x20n9ENTS3f5);\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20xKPmTg\x20=\x20K6TuTgcfttmuf.xP;\x20\x20\x20\x20\x20\x20\x20\x20L9gSaTKg\x20TtOKPmTgcmaSFTgu(KImaaf6g,\x20KUKta)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20nmaaf6g\x20=\x20KImaaf6g.6fnNmSf(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20FKta\x20=\x20KUKta.6fnNmSf(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20nmaaf6gIm6at\x20=\x20nmaaf6g.tnNTa(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20FKtaIm6at\x20=\x20FKta.tnNTa(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TL\x20(!nmaaf6g.TgSN9xft(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206fa96g\x20nmaaf6g\x20===\x20FKta;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TL\x20(nmaaf6gIm6at.NfguaF\x20<\x20i\x20||\x20nmaaf6gIm6at[d]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206fa96g\x20LmNtf;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20nmaaf6gv9LLTM\x20=\x20nmaaf6gIm6at.tNTSf(H).8KTg(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x20FKtav9LLTM\x20=\x20FKtaIm6at.tNTSf(-nmaaf6gIm6at.NfguaF\x20+\x20H).8KTg(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206fa96g\x20nmaaf6gv9LLTM\x20===\x20FKtav9LLTM;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Nfa\x20xKPmTgRmNTx\x20=\x20(xKPmTg\x20&&\x20xKPmTg.NfguaF)\x20?\x20xKPmTg.tKPf((xP0afP)\x20=>\x20TtOKPmTgcmaSFTgu(xP0afP,\x20NKSmaTKg.FKtagmPf))\x20:\x20a69f;\x20\x20\x20\x20\x20\x20\x20\x20TL\x20(NKSmaTKg.FKtagmPf\x20===\x20\x27NKSmNFKta\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xKPmTgRmNTx\x20=\x20a69f;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20SKgta\x202mNTx\x20=\x20tTugRmNTx\x20&&\x20xKPmTgRmNTx;\x20\x20\x20\x20\x20\x20\x20\x206fa96g\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202mNTx,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Pfttmuf:\x20K6TuTgcfttmuf,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20SmaSF\x20(f66K6)\x20{\x20\x20\x20\x20\x20\x20\x20\x206fa96g\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202mNTx:\x20LmNtf,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Pfttmuf:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','set','renameField','clearRenderCache','Row','update','generateMutationsByRanges','subTotalStyle','rowInfo','getColumnCount','length','lastCol','getOwnPropertyDescriptor','disposeWithMe','dataRangeInfo','includes','_createExclusiveRange','replace','sideEffectUpdateWorkerCache','fetchThroughAsyncInterceptors','MovePivotField','endCollectChangeset','_resourceManagerService','dataFields','YearQuarter','textInfo','_sheetsSelectionsService','forEach','shouldClear','_configVersion$','onCommandExecuted','has','getRangeData','_deleteModelCache','sheet.mutation.pivot-update-field-source-info','getPivotTableModelConfig','COLUMN','batch','#1d32e9','slice','sheets-pivot.cellDateGroupDisplay.hour','colRanges','parseInt','_toJSON','deepClone','sheets-pivot.cellDateGroupDisplay.yearQuarter','_updatePivotTableInstanceCache','sheets-pivot.cellDateGroupDisplay.yearMonth','_ensureViewDataMap','string','level','setRangeValueRedoMutation','getValueFilterInfos','version','blank','getFullYear','PIVOT_MUTATION_GENERATE','drillDown','startCollectChangeset','limit\x20pivot','getSubUnitPivotRenderCache','sheets-pivot.emptyPivot.column','removeSourceRangeChange','onStarting','endRow','6584934tdXBof','intercept','delete','getRangeKey','SetValuePivotFilter','_initRegisterCommand','sheet.mutation.remove-pivot-table','SetPivotCollapse','Varp\x20of\x20','Average\x20of\x20','sheets-pivot.cellDateGroupDisplay.year','setLabelFilterInfo','width','iterateFieldDim','sortInfo','message','NotFunction','AddPivotTableWithConfig','initDataRanges','MAX_SAFE_INTEGER','getLastRow','entries','grandTotal','originalFieldId','updateViewInfo','updateView','subtotal','getCurrentUnitForType','setPivotFilter','getRefRangeMutationsByMoveRange','sheet.mutation.set-pivot-sort-info','endColumn'];_0x3d9d=function(){return _0x4ba8ba;};return _0x3d9d();}function ji(_0x34bce2,_0x239e0d){const _0x5536a9=_0xff08f,_0x972e3f=[];_0x239e0d===_0x2849b6[_0x5536a9(0x1a2)]&&_0x34bce2['iterateFieldByArea'](_0x2849b6[_0x5536a9(0x1a2)],_0x6fb30c=>{const _0x21ef81=_0x5536a9;_0x972e3f[_0x21ef81(0xc1)](_0x6fb30c['getId']());}),_0x239e0d===_0x2849b6[_0x5536a9(0xb8)]&&_0x34bce2['iterateFieldByArea'](_0x2849b6[_0x5536a9(0xb8)],_0x223968=>{const _0x3f6ae4=_0x5536a9;_0x972e3f['push'](_0x223968[_0x3f6ae4(0x91)]());}),_0x239e0d===_0x2849b6[_0x5536a9(0x216)]&&_0x34bce2[_0x5536a9(0xf7)](_0x2849b6[_0x5536a9(0x216)],_0x4de464=>{const _0x184dec=_0x5536a9;_0x972e3f[_0x184dec(0xc1)](_0x4de464[_0x184dec(0x91)]());}),_0x239e0d===_0x2849b6['Value']&&_0x34bce2[_0x5536a9(0xf7)](_0x2849b6[_0x5536a9(0x24e)],_0x2ca13b=>{const _0x51bbb1=_0x5536a9;_0x972e3f[_0x51bbb1(0xc1)](_0x2ca13b[_0x51bbb1(0x91)]());}),_0x239e0d===void 0x0&&_0x34bce2['iterateField'](_0x451188=>{const _0x4c34eb=_0x5536a9;_0x972e3f[_0x4c34eb(0xc1)](_0x451188[_0x4c34eb(0x91)]());});const _0x10a8d6=_0x972e3f[_0x5536a9(0x1a8)];for(let _0x43263f=_0x10a8d6-0x1;_0x43263f>=0x0;_0x43263f--)_0x34bce2[_0x5536a9(0x224)](_0x972e3f[_0x43263f]);const _0x2d4ba9=_0x34bce2[_0x5536a9(0x1d2)]();for(const _0x3f462e in _0x2d4ba9)_0x34bce2[_0x5536a9(0xdb)](_0x3f462e);}function Wi(_0x2ae558,_0x1b1bfe){const _0x457d02=_0xff08f,_0x33c2e5=new Date(_0x66d7b7(_0x1b1bfe)),_0x5ea134=new Date(_0x66d7b7(_0x2ae558)),_0x3f6523=_0x33c2e5[_0x457d02(0x1d5)](),_0x45b054=_0x5ea134[_0x457d02(0x1d5)](),_0x4f1384=_0x33c2e5[_0x457d02(0x229)](),_0x5b3a69=_0x5ea134[_0x457d02(0x229)](),_0x52eb48=_0x33c2e5[_0x457d02(0x278)](),_0x3a1359=_0x5ea134[_0x457d02(0x278)](),_0x165b0e=_0x3f6523===_0x45b054,_0x3d4d7f=_0x165b0e&&_0x4f1384===_0x5b3a69;return _0x165b0e&&_0x3d4d7f&&!(_0x3d4d7f&&_0x52eb48===_0x3a1359)?_0x48bc72[_0x457d02(0xc2)]:_0x165b0e&&!_0x3d4d7f?_0x48bc72[_0x457d02(0x268)]:_0x48bc72[_0x457d02(0x2bd)];}function qo(_0x5a0308,_0x4943ff){const _0x5080f5=_0xff08f,_0x1cb2f5=_0x5a0308[_0x5080f5(0x235)]($)[_0x5080f5(0xa5)]();let _0x4acd2f='';switch(_0x4943ff){case _0x48bc72[_0x5080f5(0xc2)]:_0x4acd2f=_0x1cb2f5['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x48bc72['YearMonth']:_0x4acd2f=_0x1cb2f5['sheets-pivot.dateGroup.yearMonth'];break;case _0x48bc72[_0x5080f5(0x2bd)]:_0x4acd2f=_0x1cb2f5[_0x5080f5(0x22f)];break;case _0x48bc72['Month']:_0x4acd2f=_0x1cb2f5[_0x5080f5(0x135)];break;case _0x48bc72['Quarter']:_0x4acd2f=_0x1cb2f5[_0x5080f5(0x175)];break;case _0x48bc72[_0x5080f5(0x2e8)]:_0x4acd2f=_0x1cb2f5[_0x5080f5(0x2f9)];break;case _0x48bc72[_0x5080f5(0x275)]:_0x4acd2f=_0x1cb2f5[_0x5080f5(0x173)];break;case _0x48bc72[_0x5080f5(0xb4)]:_0x4acd2f=_0x1cb2f5[_0x5080f5(0x143)];break;case _0x48bc72[_0x5080f5(0x2fd)]:_0x4acd2f=_0x1cb2f5[_0x5080f5(0xd8)];break;case _0x48bc72[_0x5080f5(0x26d)]:_0x4acd2f=_0x1cb2f5['sheets-pivot.dateGroup.monthDate'];break;case _0x48bc72[_0x5080f5(0x1b6)]:_0x4acd2f=_0x1cb2f5['sheets-pivot.dateGroup.yearQuarter'];break;default:_0x4acd2f='';break;}return _0x4acd2f;}const Yo='sheets-pivot.config',Mo={};var Gi=Object['getOwnPropertyDescriptor'],Hi=(_0x43f98a,_0x1179d8,_0x2622b4,_0x689afe)=>{const _0x7f7c93=_0xff08f;for(var _0x137895=_0x689afe>0x1?void 0x0:_0x689afe?Gi(_0x1179d8,_0x2622b4):_0x1179d8,_0x5b8cce=_0x43f98a[_0x7f7c93(0x1a8)]-0x1,_0x4f59e2;_0x5b8cce>=0x0;_0x5b8cce--)(_0x4f59e2=_0x43f98a[_0x5b8cce])&&(_0x137895=_0x4f59e2(_0x137895)||_0x137895);return _0x137895;},at=(_0x22d357,_0x14c849)=>(_0x3ec266,_0x42abb0)=>_0x14c849(_0x3ec266,_0x42abb0,_0x22d357);let he=class extends _0x51d9e7{constructor(_0x54c239,_0x3252df,_0x5ce912,_0x4367ae,_0x4bbd56){const _0xf4adc8=_0xff08f;super(),V(this,_0xf4adc8(0x20b),new Map()),V(this,_0xf4adc8(0x103),new Map()),V(this,_0xf4adc8(0x148),new Map()),V(this,_0xf4adc8(0xb5),new Map()),V(this,_0xf4adc8(0x1bb),new _0x1086f6()),V(this,_0xf4adc8(0x120),new _0x1086f6()),V(this,_0xf4adc8(0x262),this[_0xf4adc8(0x120)][_0xf4adc8(0xe7)]()),V(this,'_pivotConfigChange$',new _0x1086f6()),V(this,_0xf4adc8(0x155),this[_0xf4adc8(0x2c6)]['asObservable']()),V(this,_0xf4adc8(0x167),{}),V(this,'configVersion$',this[_0xf4adc8(0x1bb)][_0xf4adc8(0xe7)]()),(this[_0xf4adc8(0x157)]=_0x54c239,this['_commandService']=_0x3252df,this[_0xf4adc8(0x2d4)]=_0x5ce912,this[_0xf4adc8(0x1b4)]=_0x4367ae,this[_0xf4adc8(0x2e7)]=_0x4bbd56,this[_0xf4adc8(0x313)](),this['_initUnitDisposed']());const _0x5a665c=this['_configService'][_0xf4adc8(0x181)](Yo);(_0x5a665c==null?void 0x0:_0x5a665c['notExecuteFormula'])===!0x0&&this[_0xf4adc8(0x2b0)]();}[_0xff08f(0x197)](){const _0x29a674=_0xff08f;this[_0x29a674(0x1ab)](this[_0x29a674(0x2d4)]['getTypeOfUnitDisposed$'](_0x534b47[_0x29a674(0x288)])[_0x29a674(0x2ec)](_0x11d81c=>{const _0x547b73=_0x29a674;this[_0x547b73(0x2d5)](_0x11d81c['getUnitId']());}));}[_0xff08f(0xc0)](){this['_pivotInitCompleted$']['next'](!0x0);}[_0xff08f(0x313)](){const _0x36028c=_0xff08f,_0x1af168=fo(this[_0x36028c(0x157)],Bo,'',{});this[_0x36028c(0x167)]=_0x1af168,this['_commandService'][_0x36028c(0xe5)](uo['id'],{'textInfo':_0x1af168},{'onlyLocal':!0x0});}[_0xff08f(0xa5)](){const _0x47d2ee=_0xff08f;return this[_0x47d2ee(0x167)];}['updateViewInfo'](_0x32f6d0,_0x180b2c,_0x5d1eee,_0x413472,_0x370dd8){const _0x17a202=_0xff08f;this[_0x17a202(0x2e3)](_0x32f6d0,_0x180b2c,_0x5d1eee,_0x413472),this[_0x17a202(0x2b5)](_0x32f6d0,_0x180b2c,_0x5d1eee,_0x370dd8);}[_0xff08f(0x215)](_0x437dd7,_0x42220b,_0x265bd9){const _0x4aa808=_0xff08f;var _0x3d05f7;const _0x179250=(_0x3d05f7=this[_0x4aa808(0x20b)][_0x4aa808(0x235)](_0x437dd7))==null?void 0x0:_0x3d05f7['get'](_0x42220b);if(_0x179250)return _0x179250['get'](_0x265bd9);}[_0xff08f(0x27c)](_0x5452f0,_0x1f4d72){const _0x55ef83=_0xff08f,_0x4940f9=this['_model'][_0x55ef83(0x235)](_0x5452f0);if(_0x4940f9){for(const [_0x360fae,_0x345d3b]of _0x4940f9[_0x55ef83(0x1f4)]())for(const [_0x356b6d,_0x1dc3b5]of _0x345d3b[_0x55ef83(0x1f4)]())if(_0x356b6d===_0x1f4d72)return _0x1dc3b5[_0x55ef83(0x177)];}}[_0xff08f(0xe9)](_0x45dfba,_0x43df15,_0x43a91a){const _0x57f5d3=_0xff08f,_0x9d7133=this[_0x57f5d3(0x215)](_0x45dfba,_0x43df15,_0x43a91a);return _0x9d7133==null?void 0x0:_0x9d7133[_0x57f5d3(0x177)];}[_0xff08f(0x17c)](_0x559590,_0x5cfa2d){const _0x5ea00b=_0xff08f;var _0x1323ca;return(_0x1323ca=this[_0x5ea00b(0x20b)][_0x5ea00b(0x235)](_0x559590))==null?void 0x0:_0x1323ca[_0x5ea00b(0x235)](_0x5cfa2d);}[_0xff08f(0x283)](_0x505ac7,_0x51b73e,_0x1cb243,_0x19ed92){const _0x3e5cb6=_0xff08f,_0x4994a8=this[_0x3e5cb6(0x19b)](_0x505ac7,_0x51b73e);_0x19ed92?_0x4994a8[_0x3e5cb6(0x19f)](_0x1cb243,_0x19ed92):_0x4994a8[_0x3e5cb6(0x1e1)](_0x1cb243),this['_pivotConfigChange$'][_0x3e5cb6(0x16a)]({'unitId':_0x505ac7,'subUnitId':_0x51b73e,'pivotTableId':_0x1cb243,'pivotTableConfig':_0x19ed92});}[_0xff08f(0x116)](_0x17874d,_0x36646d){const _0x244a65=_0xff08f;var _0x32d527;return(_0x32d527=this[_0x244a65(0x103)]['get'](_0x17874d))==null?void 0x0:_0x32d527[_0x244a65(0x193)][_0x36646d];}[_0xff08f(0x185)](_0xe127c7,_0x2a9ec2){const _0x31f111=_0xff08f;this[_0x31f111(0x103)]['set'](_0xe127c7,_0x2a9ec2),this[_0x31f111(0x1bb)][_0x31f111(0x16a)](Math[_0x31f111(0x269)]());}[_0xff08f(0x19b)](_0x4b11fb,_0x49fa9e){const _0xaa7b73=_0xff08f;let _0x22c5b9=this[_0xaa7b73(0x20b)][_0xaa7b73(0x235)](_0x4b11fb);_0x22c5b9||(_0x22c5b9=new Map(),this[_0xaa7b73(0x20b)][_0xaa7b73(0x19f)](_0x4b11fb,_0x22c5b9));let _0x409517=_0x22c5b9['get'](_0x49fa9e);return _0x409517||(_0x409517=new Map(),_0x22c5b9['set'](_0x49fa9e,_0x409517)),_0x409517;}[_0xff08f(0x18b)](_0x4d098e,_0x13832b){const _0x2724d7=_0xff08f;let _0x5ef95b=this[_0x2724d7(0x148)][_0x2724d7(0x235)](_0x4d098e);_0x5ef95b||(_0x5ef95b=new Map(),this[_0x2724d7(0x148)][_0x2724d7(0x19f)](_0x4d098e,_0x5ef95b));let _0x22e362=_0x5ef95b[_0x2724d7(0x235)](_0x13832b);return _0x22e362||(_0x22e362=new Map(),_0x5ef95b[_0x2724d7(0x19f)](_0x13832b,_0x22e362)),_0x22e362;}[_0xff08f(0x161)](_0x584f5e,_0xb68a96){const _0x2ae547=_0xff08f;let _0xff1525=this[_0x2ae547(0xb5)][_0x2ae547(0x235)](_0x584f5e);_0xff1525||(_0xff1525=new Map(),this[_0x2ae547(0xb5)][_0x2ae547(0x19f)](_0x584f5e,_0xff1525));let _0x2ff2d2=_0xff1525['get'](_0xb68a96);return _0x2ff2d2||(_0x2ff2d2=new Map(),_0xff1525[_0x2ae547(0x19f)](_0xb68a96,_0x2ff2d2)),_0x2ff2d2;}[_0xff08f(0x2b5)](_0x45c7ee,_0x47a687,_0x99b46a,_0x29b76e){const _0x41efcd=_0xff08f;var _0x2bae15;const _0x5e7c19=this[_0x41efcd(0x18b)](_0x45c7ee,_0x47a687),_0x3d258a=(_0x2bae15=_0x5e7c19[_0x41efcd(0x235)](_0x99b46a))==null?void 0x0:_0x2bae15[_0x41efcd(0x305)];_0x5e7c19[_0x41efcd(0x19f)](_0x99b46a,{'oldRangeInfo':_0x3d258a,'rangeInfo':_0x29b76e});}['updatePivotTableMatrixInfo'](_0x571efc,_0x27335a,_0x40a38e,_0x3ab700){const _0xca55ec=_0xff08f;var _0x100761;const _0x2cf938=this[_0xca55ec(0x161)](_0x571efc,_0x27335a),_0x3f6113=(_0x100761=_0x2cf938[_0xca55ec(0x235)](_0x40a38e))==null?void 0x0:_0x100761[_0xca55ec(0xe6)];_0x2cf938[_0xca55ec(0x19f)](_0x40a38e,{'oldMatrix':_0x3f6113,'matrix':_0x3ab700});}['getPivotTableRangeInfo'](_0x40010a,_0x37deca,_0x5f571d){const _0x5085f4=_0xff08f;var _0x53fb43,_0x5109b6;return(_0x5109b6=(_0x53fb43=this['_pivotTableRangeInfo'][_0x5085f4(0x235)](_0x40010a))==null?void 0x0:_0x53fb43['get'](_0x37deca))==null?void 0x0:_0x5109b6[_0x5085f4(0x235)](_0x5f571d);}[_0xff08f(0x19c)](_0x530b84,_0x4c804e,_0x2fa42f){const _0x7f3898=_0xff08f;var _0x461048,_0x392d44;return(_0x392d44=(_0x461048=this[_0x7f3898(0xb5)][_0x7f3898(0x235)](_0x530b84))==null?void 0x0:_0x461048[_0x7f3898(0x235)](_0x4c804e))==null?void 0x0:_0x392d44[_0x7f3898(0x235)](_0x2fa42f);}['deleteUnitId'](_0x1ced71){const _0x5928f4=_0xff08f;this[_0x5928f4(0x20b)][_0x5928f4(0x1e1)](_0x1ced71),this[_0x5928f4(0x103)][_0x5928f4(0x1e1)](_0x1ced71);}[_0xff08f(0x1c9)](_0x1514ba){const _0x2acd4d=_0xff08f,_0x31c8e9={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel'][_0x2acd4d(0x235)](_0x1514ba)&&(_0x31c8e9[_0x2acd4d(0x20f)][_0x1514ba]=this[_0x2acd4d(0x103)][_0x2acd4d(0x235)](_0x1514ba)),this['_model']['get'](_0x1514ba)){_0x31c8e9[_0x2acd4d(0x110)][_0x1514ba]={};const _0x16a8f8=this['_model']['get'](_0x1514ba);_0x16a8f8!=null&&_0x16a8f8[_0x2acd4d(0x129)]&&[..._0x16a8f8['keys']()][_0x2acd4d(0x1b9)](_0x6ee5ed=>{const _0x3db025=_0x2acd4d,_0x2964e8=_0x16a8f8[_0x3db025(0x235)](_0x6ee5ed);_0x2964e8!=null&&_0x2964e8[_0x3db025(0x129)]&&(_0x31c8e9[_0x3db025(0x110)][_0x1514ba][_0x6ee5ed]={},[..._0x2964e8[_0x3db025(0x237)]()]['forEach'](_0x1c4121=>{const _0x567518=_0x3db025,_0x304306=_0x2964e8[_0x567518(0x235)](_0x1c4121);_0x304306&&(_0x31c8e9[_0x567518(0x110)][_0x1514ba][_0x6ee5ed][_0x1c4121]=_0x304306);}));});}return _0x31c8e9;}[_0xff08f(0x2b0)](){const _0x194263=_0xff08f;this['disposeWithMe'](this[_0x194263(0x1b4)][_0x194263(0x113)]({'toJson':_0x1ca8f6=>JSON[_0x194263(0x16c)](this[_0x194263(0x1c9)](_0x1ca8f6)),'parseJson':_0x18e15f=>({}),'businesses':[_0x534b47[_0x194263(0x288)]],'pluginName':ao,'onLoad':(_0x5c9146,_0x2be95b)=>{},'onUnLoad':_0x153a1a=>{const _0x16cc44=_0x194263;this[_0x16cc44(0x2d5)](_0x153a1a);}}));}};he=Hi([at(0x0,_0x351ec8(_0x8ab5d1)),at(0x1,_0x351ec8(_0x596dde)),at(0x2,_0x351ec8(_0x5838cd)),at(0x3,_0x351ec8(_0x18a6b3)),at(0x4,_0x351ec8(_0x56c73b))],he);var qi=Object[_0xff08f(0x1aa)],Yi=(_0x5204de,_0x3961de,_0x5b7152,_0x370835)=>{const _0x546fb7=_0xff08f;for(var _0x26516f=_0x370835>0x1?void 0x0:_0x370835?qi(_0x3961de,_0x5b7152):_0x3961de,_0x58a154=_0x5204de[_0x546fb7(0x1a8)]-0x1,_0x4de90f;_0x58a154>=0x0;_0x58a154--)(_0x4de90f=_0x5204de[_0x58a154])&&(_0x26516f=_0x4de90f(_0x26516f)||_0x26516f);return _0x26516f;},rt=(_0x34616c,_0x47862b)=>(_0x835ee2,_0x51202b)=>_0x47862b(_0x835ee2,_0x51202b,_0x34616c);let Ne=class extends _0x51d9e7{constructor(_0x5df06e,_0x3c9fe0,_0x48ee86,_0x343c60,_0x32dc7b){const _0x5abc64=_0xff08f;super(),V(this,'_pivotRenderInfoCache',new Map()),V(this,_0x5abc64(0xed),new Map()),V(this,_0x5abc64(0x118),new _0x1086f6()),V(this,_0x5abc64(0x30f),this[_0x5abc64(0x118)][_0x5abc64(0xe7)]()),V(this,_0x5abc64(0xe0),new _0x1086f6()),V(this,_0x5abc64(0x23c),this[_0x5abc64(0xe0)][_0x5abc64(0xe7)]()),V(this,'_textInfo'),(this[_0x5abc64(0x30a)]=_0x5df06e,this[_0x5abc64(0x157)]=_0x3c9fe0,this[_0x5abc64(0xbf)]=_0x48ee86,this[_0x5abc64(0x2d4)]=_0x343c60,this['_exclusiveRangeService']=_0x32dc7b,this[_0x5abc64(0x313)](),this[_0x5abc64(0x197)]());}[_0xff08f(0x197)](){const _0x201c29=_0xff08f;this[_0x201c29(0x1ab)](this[_0x201c29(0x2d4)]['getTypeOfUnitDisposed$'](_0x534b47[_0x201c29(0x288)])[_0x201c29(0x2ec)](_0x3ca0c3=>{const _0x45a791=_0x201c29;this[_0x45a791(0x2d5)](_0x3ca0c3['getUnitId']());}));}[_0xff08f(0x313)](){const _0x140cc9=_0xff08f;this[_0x140cc9(0x167)]=fo(this[_0x140cc9(0x157)],Bo,'',{});}[_0xff08f(0x2c2)](_0x41f69a){const _0x484948=_0xff08f,{view:_0x6b7592,unitId:_0x1de2e3,subUnitId:_0x5ecebb,pivotTableId:_0x5939ab,type:_0x517939}=_0x41f69a,_0x520454=this[_0x484948(0xbf)][_0x484948(0x215)](_0x1de2e3,_0x5ecebb,_0x5939ab);if(!_0x6b7592||!_0x520454||_0x517939===K['Delete'])return;const {pageView:_0x450bdf,cornerView:_0x252c14,rowView:_0x1f779d,colView:_0x2fd024,dataView:_0x2bafea}=_0x6b7592,_0x4f2c2c=_0x520454[_0x484948(0x177)],_0xe37178=_0x520454[_0x484948(0x234)],_0x2c9f90=this['_ensurePivotItemRenderValueMatrixCache'](_0x1de2e3,_0x5ecebb),_0x2f8343=this['_ensurePivotItemRenderInfoCache'](_0x1de2e3,_0x5ecebb,_0x5939ab);if(_0xe37178)return this['_updateRenderEmptyCache'](_0x41f69a,_0x2c9f90,_0x4f2c2c,_0x2f8343);{const _0x269076=ge(_0x4f2c2c,_0x450bdf,!0x0),_0xeb3de7=_0x450bdf['lastRow']>=0x0?_0x450bdf[_0x484948(0x2bb)]+0x1:0x0,_0x5a883a=_0x252c14[_0x484948(0x209)](),_0x4b6b55=_0x252c14[_0x484948(0xf8)](),_0xf0c021=_0x269076[_0x484948(0x1a8)]>0x0?It:0x0,_0x5136af=ge({'row':_0x4f2c2c[_0x484948(0x108)]+_0xeb3de7+_0xf0c021,'col':_0x4f2c2c['col']},_0x252c14,!0x1,!0x1),_0x5551a6=ge({'row':_0x4f2c2c[_0x484948(0x108)]+_0xeb3de7+_0xf0c021+_0x5a883a,'col':_0x4f2c2c['col']},_0x1f779d,!0x1,!0x0),_0x5d1107=ge({'row':_0x4f2c2c[_0x484948(0x108)]+_0xeb3de7+_0xf0c021,'col':_0x4f2c2c[_0x484948(0x247)]+_0x4b6b55},_0x2fd024,!0x1,!0x0),_0x271ed9=ge({'row':_0x4f2c2c['row']+_0xeb3de7+_0xf0c021+_0x5a883a,'col':_0x4f2c2c[_0x484948(0x247)]+_0x4b6b55},_0x2bafea,!0x1,!0x1);_0x2f8343['rangesInfo']={'rowRanges':_0x5551a6,'colRanges':_0x5d1107,'cornerRanges':_0x5136af,'dataRanges':_0x271ed9,'pageRanges':_0x269076};const _0x2b65cd=Mi(this[_0x484948(0x157)],_0x6b7592,_0x520454,this[_0x484948(0x167)]),{valueMatrix:_0x4201b4,rowInfo:_0x2f6a96,colInfo:_0x29ba57,cornerInfo:_0x336b50,rowHeaderMap:_0x51938d,colHeaderMap:_0x1dd78e}=_0x2b65cd;return _0x2f8343[_0x484948(0x142)]={'rowInfo':_0x2f6a96,'colInfo':_0x29ba57,'cornerInfo':_0x336b50},_0x2f8343[_0x484948(0x25c)]={'rowHeaderMap':_0x51938d,'colHeaderMap':_0x1dd78e},_0x4201b4[_0x484948(0x1b9)]((_0x342138,_0x36cbf0)=>{const _0x234911=_0x484948;Object[_0x234911(0x237)](_0x36cbf0)[_0x234911(0x1b9)](_0x32ed9d=>{const _0x685cc2=_0x234911,_0x260e2e=+_0x32ed9d,_0x2062c5=_0x4201b4[_0x685cc2(0xee)](_0x342138,_0x260e2e);_0x2c9f90[_0x685cc2(0x17b)](_0x342138,_0x260e2e,_0x2062c5);});}),this[_0x484948(0xe0)][_0x484948(0x16a)]({'unitId':_0x1de2e3,'subUnitId':_0x5ecebb,'valueMatrix':_0x2c9f90,'rangesCache':_0x2f8343['rangesInfo'],'pivotTableId':_0x5939ab,'type':_0x41f69a[_0x484948(0x11a)]}),this[_0x484948(0xbf)][_0x484948(0x1f7)](_0x1de2e3,_0x5ecebb,_0x5939ab,_0x2c9f90,_0x2f8343[_0x484948(0x95)]),this[_0x484948(0x226)][_0x484948(0x290)](_0x1de2e3,_0x5ecebb,Lt,this[_0x484948(0x1ae)](_0x2f8343[_0x484948(0x95)],_0x5939ab)),{'rangeCache':_0x2f8343[_0x484948(0x95)],'matrix':_0x2c9f90};}}[_0xff08f(0x24a)](_0x195e31,_0x2df5a6,_0x2b1929,_0xd9c27c){const _0x13872e=_0xff08f,_0x5f388b=this['_localeService']['t'],{unitId:_0x7b101a,subUnitId:_0x544b3b,pivotTableId:_0x6b8403}=_0x195e31,_0x784dfe={'filter':_0x5f388b(_0x13872e(0x152)),'row':_0x5f388b(_0x13872e(0x100)),'column':_0x5f388b(_0x13872e(0x1db)),'values':_0x5f388b(_0x13872e(0x271))},{matrixCache:_0x8b6197,rangesCache:_0x3515d3}=Wo(_0x784dfe,_0x2b1929);return _0x8b6197[_0x13872e(0x187)]((_0xca9f1f,_0x17baf8,_0x5dcd2f)=>{const _0x21df96=_0x13872e;_0x2df5a6[_0x21df96(0x17b)](_0xca9f1f,_0x17baf8,_0x5dcd2f);}),_0xd9c27c[_0x13872e(0x95)]=_0x3515d3,this['_viewUpdate$'][_0x13872e(0x16a)]({'unitId':_0x7b101a,'subUnitId':_0x544b3b,'valueMatrix':_0x2df5a6,'rangesCache':_0x3515d3,'pivotTableId':_0x6b8403,'type':_0x195e31['type'],'isEmpty':!0x0}),this[_0x13872e(0xbf)]['updateViewInfo'](_0x7b101a,_0x544b3b,_0x6b8403,_0x2df5a6,_0x3515d3),this[_0x13872e(0x226)][_0x13872e(0x290)](_0x7b101a,_0x544b3b,Lt,this[_0x13872e(0x1ae)](_0x3515d3,_0x6b8403)),{'rangeCache':_0xd9c27c[_0x13872e(0x95)],'matrix':_0x2df5a6};}[_0xff08f(0x1ae)](_0x12b6df,_0x4350c3){const _0x43bbfb=_0xff08f,_0x4b1fd3=[],_0x196eb6=Kt(_0x12b6df);for(const _0x349436 of _0x196eb6)_0x4b1fd3[_0x43bbfb(0xc1)]({'groupId':_0x4350c3,'range':_0x349436});return _0x4b1fd3;}[_0xff08f(0x1a1)](_0x48e27b){const _0x2316fd=_0xff08f;var _0x538769,_0x8874f6,_0x317827,_0x3bdad7;const {pivotTableId:_0x4ea9cc,unitId:_0x25494f,subUnitId:_0xe7c9b5}=_0x48e27b;if(!_0x4ea9cc||!_0x25494f||!_0xe7c9b5)return;const _0x5f5583=this[_0x2316fd(0x317)](_0x25494f,_0xe7c9b5),_0x30664a=(_0x8874f6=(_0x538769=this[_0x2316fd(0x10e)]['get'](_0x25494f))==null?void 0x0:_0x538769[_0x2316fd(0x235)](_0xe7c9b5))==null?void 0x0:_0x8874f6['get'](_0x4ea9cc);if(_0x30664a!=null&&_0x30664a[_0x2316fd(0x95)]){for(const _0x5c45f5 of Object[_0x2316fd(0x237)](_0x30664a['rangesInfo']))_0x30664a[_0x2316fd(0x95)][_0x5c45f5]['forEach'](_0x38034c=>{const _0x20a484=_0x2316fd;for(let _0x244ede=_0x38034c[_0x20a484(0x2d2)];_0x244ede<=_0x38034c[_0x20a484(0x1de)];_0x244ede++)for(let _0x5fe8ed=_0x38034c[_0x20a484(0x136)];_0x5fe8ed<=_0x38034c[_0x20a484(0x1fe)];_0x5fe8ed++)_0x5f5583[_0x20a484(0x240)](_0x244ede,_0x5fe8ed);});}_0x30664a&&((_0x3bdad7=(_0x317827=this[_0x2316fd(0x10e)][_0x2316fd(0x235)](_0x25494f))==null?void 0x0:_0x317827[_0x2316fd(0x235)](_0xe7c9b5))==null||_0x3bdad7[_0x2316fd(0x1e1)](_0x4ea9cc)),this[_0x2316fd(0xe0)][_0x2316fd(0x16a)]({'unitId':_0x25494f,'subUnitId':_0xe7c9b5,'valueMatrix':_0x5f5583,'pivotTableId':_0x4ea9cc,'rangesCache':void 0x0,'type':_0x48e27b[_0x2316fd(0x11a)]}),this['_exclusiveRangeService']['clearExclusiveRangesByGroupId'](_0x25494f,_0xe7c9b5,Lt,_0x4ea9cc);}[_0xff08f(0x285)](_0x36a881,_0x529704,_0x22ca05){const _0x593baf=_0xff08f;var _0x6eabf7,_0x5f0f18,_0x561cc8,_0x2503e4,_0x1466d,_0x242b14;return this['_pivotRenderInfoCache'][_0x593baf(0x1bd)](_0x36a881)||this[_0x593baf(0x10e)][_0x593baf(0x19f)](_0x36a881,new Map()),(_0x6eabf7=this['_pivotRenderInfoCache']['get'](_0x36a881))!=null&&_0x6eabf7['has'](_0x529704)||(_0x5f0f18=this[_0x593baf(0x10e)][_0x593baf(0x235)](_0x36a881))==null||_0x5f0f18[_0x593baf(0x19f)](_0x529704,new Map()),(_0x2503e4=(_0x561cc8=this[_0x593baf(0x10e)]['get'](_0x36a881))==null?void 0x0:_0x561cc8[_0x593baf(0x235)](_0x529704))!=null&&_0x2503e4[_0x593baf(0x1bd)](_0x22ca05)||(_0x242b14=(_0x1466d=this[_0x593baf(0x10e)][_0x593baf(0x235)](_0x36a881))==null?void 0x0:_0x1466d[_0x593baf(0x235)](_0x529704))==null||_0x242b14[_0x593baf(0x19f)](_0x22ca05,{}),this[_0x593baf(0x10e)][_0x593baf(0x235)](_0x36a881)[_0x593baf(0x235)](_0x529704)[_0x593baf(0x235)](_0x22ca05);}[_0xff08f(0x317)](_0x2ea20c,_0x5aab3f){const _0x1c49bf=_0xff08f;var _0x1d3f4a,_0x4c6f4c;return this[_0x1c49bf(0xed)][_0x1c49bf(0x1bd)](_0x2ea20c)||this[_0x1c49bf(0xed)][_0x1c49bf(0x19f)](_0x2ea20c,new Map()),(_0x1d3f4a=this[_0x1c49bf(0xed)][_0x1c49bf(0x235)](_0x2ea20c))!=null&&_0x1d3f4a['has'](_0x5aab3f)||(_0x4c6f4c=this[_0x1c49bf(0xed)][_0x1c49bf(0x235)](_0x2ea20c))==null||_0x4c6f4c[_0x1c49bf(0x19f)](_0x5aab3f,new _0x3beae7()),this[_0x1c49bf(0xed)][_0x1c49bf(0x235)](_0x2ea20c)[_0x1c49bf(0x235)](_0x5aab3f);}[_0xff08f(0x259)](_0x137d69,_0x5da18c,_0x11f903,_0x5c521c){const _0x2901ef=_0xff08f;var _0x2970b1,_0xad5b38;const _0x337a74=(_0xad5b38=(_0x2970b1=this['_pivotRenderValueMatrixCache'][_0x2901ef(0x235)](_0x137d69))==null?void 0x0:_0x2970b1['get'](_0x5da18c))==null?void 0x0:_0xad5b38['getValue'](_0x11f903,_0x5c521c);if(_0x337a74!=null)return _0x337a74;}[_0xff08f(0x249)](_0x582c15,_0x4288a7,_0x2b3017,_0x36a7f7){const _0x40a2e9=_0xff08f;var _0x408c9b;const _0x16f1b3=_0x1fea7f(_0x2b3017,_0x36a7f7),_0x516524=(_0x408c9b=this[_0x40a2e9(0x10e)][_0x40a2e9(0x235)](_0x582c15))==null?void 0x0:_0x408c9b[_0x40a2e9(0x235)](_0x4288a7);return _0x516524?Array[_0x40a2e9(0x232)](_0x516524[_0x40a2e9(0x237)]())[_0x40a2e9(0x256)](_0x128cd1=>{const _0x50430e=_0x40a2e9,_0x5d5f93=_0x516524[_0x50430e(0x235)](_0x128cd1),_0xefe331=_0x5d5f93==null?void 0x0:_0x5d5f93['rangesInfo'];return _0xefe331?Object['keys'](_0xefe331)[_0x50430e(0x12c)](_0x216620=>_0xefe331[_0x216620][_0x50430e(0x12c)](_0x556158=>_0x3356fe[_0x50430e(0x291)](_0x556158,_0x16f1b3))):!0x1;}):void 0x0;}[_0xff08f(0x101)](_0x413dae,_0x20a65d,_0x2bda8a){const _0x4a946b=_0xff08f;var _0x422cfb;const _0x5b8b5d=(_0x422cfb=this[_0x4a946b(0x10e)][_0x4a946b(0x235)](_0x413dae))==null?void 0x0:_0x422cfb[_0x4a946b(0x235)](_0x20a65d),_0xd982a7=[];return _0x5b8b5d&&Array[_0x4a946b(0x232)](_0x5b8b5d[_0x4a946b(0x237)]())['forEach'](_0x3bf70a=>{const _0x2e57d8=_0x4a946b,_0x4e99c4=_0x5b8b5d[_0x2e57d8(0x235)](_0x3bf70a),_0x154250=_0x4e99c4==null?void 0x0:_0x4e99c4[_0x2e57d8(0x95)];if(_0x154250)for(const _0x593734 of Object[_0x2e57d8(0x293)](_0x154250)){let _0xefbb59=!0x1;for(const _0x45d27d of _0x593734)if(_0x3356fe[_0x2e57d8(0x154)](_0x45d27d,_0x2bda8a)){_0xd982a7['push'](_0x3bf70a),_0xefbb59=!0x0;break;}if(_0xefbb59)break;}}),_0xd982a7;}[_0xff08f(0x2b4)](_0x9bddbd,_0x12ef45){const _0x4ff144=_0xff08f;var _0x546d7a,_0x3cadda;return(_0x3cadda=(_0x546d7a=this[_0x4ff144(0xed)][_0x4ff144(0x235)](_0x9bddbd))==null?void 0x0:_0x546d7a['get'](_0x12ef45))!=null?_0x3cadda:new _0x3beae7();}[_0xff08f(0x1da)](_0x240ba9,_0x3a98a5){const _0x1a1214=_0xff08f;var _0x47d234;return(_0x47d234=this[_0x1a1214(0x10e)]['get'](_0x240ba9))==null?void 0x0:_0x47d234[_0x1a1214(0x235)](_0x3a98a5);}['getPivotItemRenderInfoCache'](_0x34530b,_0x5d1dea,_0xdc73c6){const _0x4da833=_0xff08f;var _0xcbc248,_0x496987;return(_0x496987=(_0xcbc248=this[_0x4da833(0x10e)][_0x4da833(0x235)](_0x34530b))==null?void 0x0:_0xcbc248[_0x4da833(0x235)](_0x5d1dea))==null?void 0x0:_0x496987['get'](_0xdc73c6);}[_0xff08f(0x2d5)](_0x38b61c){const _0x393ff6=_0xff08f;this[_0x393ff6(0x10e)][_0x393ff6(0x1e1)](_0x38b61c),this[_0x393ff6(0xed)]['delete'](_0x38b61c);}[_0xff08f(0x2f1)](_0x7ed446,_0x5bc922){const _0x9f7b8d=_0xff08f;this['_markDirty$'][_0x9f7b8d(0x16a)]({'unitId':_0x7ed446,'subUnitId':_0x5bc922});}};Ne=Yi([rt(0x0,_0x351ec8(_0x1ca3ab)),rt(0x1,_0x351ec8(_0x8ab5d1)),rt(0x2,_0x351ec8(he)),rt(0x3,_0x351ec8(_0x5838cd)),rt(0x4,_0x351ec8(_0x42eccf))],Ne);var zi=Object[_0xff08f(0x1aa)],Qi=(_0x3074ea,_0x2e6b93,_0x486935,_0x4cd48e)=>{for(var _0x20f970=_0x4cd48e>0x1?void 0x0:_0x4cd48e?zi(_0x2e6b93,_0x486935):_0x2e6b93,_0x2eda9f=_0x3074ea['length']-0x1,_0x377ed5;_0x2eda9f>=0x0;_0x2eda9f--)(_0x377ed5=_0x3074ea[_0x2eda9f])&&(_0x20f970=_0x377ed5(_0x20f970)||_0x20f970);return _0x20f970;},yo=(_0x51407b,_0x19380e)=>(_0xee39a3,_0x179467)=>_0x19380e(_0xee39a3,_0x179467,_0x51407b);let ie=class extends _0x51d9e7{constructor(_0x26f013,_0x3dc4d8){const _0x4b43b9=_0xff08f;super(),V(this,_0x4b43b9(0x267),new _0x199b11({'PIVOT_PERFORM_CHECK':be})),V(this,_0x4b43b9(0x198),new _0x50a86f({'PIVOT_MUTATION_GENERATE':$o})),(this[_0x4b43b9(0xba)]=_0x26f013,this[_0x4b43b9(0x22a)]=_0x3dc4d8,this['_init']());}[_0xff08f(0x238)](){this['_initViewModelBySheetInterceptor']();}[_0xff08f(0x14e)](_0x465dcc){const _0x53b991=_0xff08f;return this[_0x53b991(0x267)]['fetchThroughAsyncInterceptors'](be)(!0x1,_0x465dcc);}[_0xff08f(0x292)](){const _0x5d1fdc=_0xff08f;this[_0x5d1fdc(0x1ab)](this[_0x5d1fdc(0xba)][_0x5d1fdc(0x1e0)](_0x203a04[_0x5d1fdc(0x255)],{'priority':0xc8,'effect':_0x167c11['Value']|_0x167c11[_0x5d1fdc(0x2d3)],'handler':(_0x55c9ec,_0x43bf3a,_0x3988a1)=>{const _0xfbe5d3=_0x5d1fdc,{row:_0x2fc73f,col:_0x54d8d8,unitId:_0x59aef4,subUnitId:_0x2f71cc,workbook:_0x13099d}=_0x43bf3a,_0x119b0e=this[_0xfbe5d3(0x22a)][_0xfbe5d3(0x259)](_0x59aef4,_0x2f71cc,_0x2fc73f,_0x54d8d8);if(!_0x119b0e)return _0x3988a1(_0x55c9ec);const _0x5b410b={..._0x55c9ec};(_0x119b0e['v']||_0x119b0e['v']===0x0)&&(_0x5b410b['v']=_0x119b0e['v']),_0x119b0e['t']&&(_0x5b410b['t']=_0x119b0e['t']);const _0x26fa37=(typeof(_0x55c9ec==null?void 0x0:_0x55c9ec['s'])==_0xfbe5d3(0x1cf)?_0x13099d[_0xfbe5d3(0xab)]()['get'](_0x55c9ec==null?void 0x0:_0x55c9ec['s']):_0x55c9ec==null?void 0x0:_0x55c9ec['s'])||{},_0x57682f=_0x13099d[_0xfbe5d3(0xab)]()[_0xfbe5d3(0x235)](_0x119b0e['s']),_0x4f219e={..._0x57682f,..._0x26fa37};_0x57682f!=null&&_0x57682f['n']&&(_0x4f219e['n']=_0x57682f['n']);const _0x5612c8=_0x13099d[_0xfbe5d3(0xab)]()[_0xfbe5d3(0x17b)](_0x4f219e);return _0x5b410b['s']=_0x5612c8,(_0x119b0e[_0xfbe5d3(0x169)]===_0x554228[_0xfbe5d3(0x199)]||_0x119b0e[_0xfbe5d3(0x169)]===_0x554228['Expand'])&&(_0x5b410b[_0xfbe5d3(0x25e)]={},_0x5b410b[_0xfbe5d3(0x25e)][_0xfbe5d3(0x22d)]=li),_0x3988a1(_0x5b410b);}}));}};ie=Qi([yo(0x0,_0x351ec8(_0x335a29)),yo(0x1,_0x351ec8(Ne))],ie);function Nt(_0x388942,_0x491d9f){const _0x4edde3=_0xff08f;switch(_0x491d9f){case _0x2849b6[_0x4edde3(0x24e)]:return _0x388942['valueFields'];case _0x2849b6[_0x4edde3(0x216)]:return _0x388942[_0x4edde3(0x17d)];case _0x2849b6['Row']:return _0x388942['rowFields'];case _0x2849b6[_0x4edde3(0xb8)]:return _0x388942['columnFields'];default:return[];}}function Je(_0x2f009f,_0x21cf90){const _0x2c634c=_0xff08f;return _0x2f009f[_0x2c634c(0x2a9)][_0x21cf90]||_0x2f009f[_0x2c634c(0x190)][_0x21cf90];}function Xi(_0x52376d,_0x57b9fc){const _0xf0306a=_0xff08f,{area:_0x375b7c,fieldJson:_0x3a1e40,index:_0x1f4938}=_0x57b9fc;_0x375b7c===_0x2849b6[_0xf0306a(0x24e)]?_0x52376d['measure'][_0x3a1e40['id']]=_0x3a1e40:_0x52376d[_0xf0306a(0x190)][_0x3a1e40['id']]=_0x3a1e40,Nt(_0x52376d,_0x375b7c)['splice'](_0x1f4938,0x0,_0x3a1e40['id']);}function Zi(_0x493c1d,_0x30a940){const _0xd3b163=_0xff08f,{area:_0x3597fd,fieldId:_0x98f8c7,index:_0x1d0738}=_0x30a940;_0x3597fd===_0x2849b6[_0xd3b163(0x24e)]?delete _0x493c1d[_0xd3b163(0x2a9)][_0x98f8c7]:delete _0x493c1d[_0xd3b163(0x190)][_0x98f8c7],Nt(_0x493c1d,_0x3597fd)[_0xd3b163(0x316)](_0x1d0738,0x1);}function es(_0x4df2c4,_0x24547b){const _0x4e8af8=_0xff08f,{fieldId:_0xd6b47c,name:_0x1353f3}=_0x24547b,_0x35e009=Je(_0x4df2c4,_0xd6b47c);_0x35e009&&(_0x35e009[_0x4e8af8(0x2d9)]=_0x1353f3);}function ts(_0x3a4111,_0x3fcc33){const _0x898f4f=_0xff08f,{fieldId:_0x4909d9,collapse:_0x324a68,item:_0x55c2a7}=_0x3fcc33;_0x55c2a7!==void 0x0?(_0x3a4111['collapseInfo'][_0x4909d9]=_0x3a4111[_0x898f4f(0x97)][_0x4909d9]||{},_0x3a4111['collapseInfo'][_0x4909d9][_0x55c2a7]=_0x324a68):_0x3a4111[_0x898f4f(0x97)][_0x4909d9]=_0x324a68;}function os(_0xa662b4,_0x52dc8d){const _0x46b6ed=_0xff08f,{fieldId:_0x5b6975,format:_0x1f6062}=_0x52dc8d,_0x5b0101=Je(_0xa662b4,_0x5b6975);_0x5b0101&&(_0x5b0101[_0x46b6ed(0x242)]=_0x1f6062);}function ns(_0x20775b,_0x5cca6e){const _0x571d7f=_0xff08f,{fieldId:_0x3f1e65,filterInfo:_0x6858c2}=_0x5cca6e,_0x1ff7e3=Je(_0x20775b,_0x3f1e65);_0x1ff7e3&&(_0x1ff7e3[_0x571d7f(0xc8)]=_0x6858c2);}function is(_0x5ab715,_0x2ff77d){const _0x1482ee=_0xff08f,{fieldId:_0x3f78a8,filterInfo:_0x5f06b0}=_0x2ff77d,_0x668e58=_0x5ab715[_0x1482ee(0xec)]['filter'](_0x226179=>_0x226179[_0x1482ee(0x151)]!==_0x3f78a8);_0x5f06b0&&_0x668e58['push']({'fieldId':_0x3f78a8,'filterInfo':_0x5f06b0}),_0x5ab715[_0x1482ee(0xec)]=_0x668e58;}function ss(_0x447ad2,_0x4b6069){const _0x5d2ed9=_0xff08f,{fieldId:_0x32f888,subtotalType:_0x567db0}=_0x4b6069,_0x491726=Je(_0x447ad2,_0x32f888);_0x491726&&(_0x491726[_0x5d2ed9(0x1f9)]=_0x567db0);}function as(_0x16f147,_0x1f3b94){const _0xf7f25b=_0xff08f,{fieldId:_0x3038ba,oldArea:_0x2fe1e5,area:_0x155c75,oldIndex:_0x4feadd,index:_0x270582}=_0x1f3b94,_0x531a65=_0x2fe1e5!==_0x2849b6[_0xf7f25b(0x24e)]&&_0x155c75===_0x2849b6[_0xf7f25b(0x24e)],_0x50f1ca=_0x2fe1e5===_0x2849b6['Value']&&_0x155c75!==_0x2849b6[_0xf7f25b(0x24e)];if(_0x531a65||_0x50f1ca){const _0x50a170=Je(_0x16f147,_0x3038ba);_0x50a170&&(_0x531a65?(delete _0x16f147[_0xf7f25b(0x190)][_0x3038ba],_0x16f147['measure'][_0x3038ba]=_0x50a170):(delete _0x16f147['measure'][_0x3038ba],_0x16f147[_0xf7f25b(0x190)][_0x3038ba]=_0x50a170));}const _0x1ffe26=Nt(_0x16f147,_0x2fe1e5),_0x3588aa=Nt(_0x16f147,_0x155c75);_0x1ffe26[_0xf7f25b(0x316)](_0x4feadd,0x1),_0x3588aa['splice'](_0x270582,0x0,_0x3038ba);}function rs(_0x24c497,_0x16a84e){const _0x404dcd=_0xff08f,{valuePosition:_0x246b04,index:_0x40f166}=_0x16a84e;_0x24c497[_0x404dcd(0x296)]=_0x246b04,_0x24c497['valueIndex']=_0x40f166;}function ls(_0x5d9e7c,_0x50ab2d){const _0xd12667=_0xff08f,{tableFieldId:_0x37e017,sourceName:_0x267796,dataFieldId:_0x4520fd}=_0x50ab2d,_0x501b14=Je(_0x5d9e7c,_0x37e017);_0x501b14&&(_0x501b14[_0xd12667(0x30c)]=_0x267796,_0x501b14[_0xd12667(0x144)]=_0x4520fd);}function cs(_0x58352d,_0x144fba){const {fieldId:_0x53071b,sortInfo:_0x4b9217}=_0x144fba,_0x5ee9f1=Je(_0x58352d,_0x53071b);_0x5ee9f1&&(_0x5ee9f1['sortInfo']=_0x4b9217);}function ds(_0x279be2,_0x100548){const _0x5a4aad=_0xff08f,{options:_0x5d3dc4}=_0x100548;_0x279be2['options']={..._0x279be2[_0x5a4aad(0x29b)],..._0x5d3dc4};}const $t={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x2c7),'handler'(_0x2f0ca9,_0x267cd0){const _0x130c60=_0xff08f;if(!_0x267cd0)return!0x1;if(!!_0x2f0ca9[_0x130c60(0x235)](_0x56c73b)[_0x130c60(0x181)](q))return!0x0;const _0x516d8f=_0x2f0ca9[_0x130c60(0x235)]($),{pivotTableId:_0x365ac0,fieldJson:_0x3cf1ab,area:_0x1c00c5,index:_0x34ac0d,unitId:_0x1d8b35,subUnitId:_0x22b0a1}=_0x267cd0,_0xfba629=_0x516d8f[_0x130c60(0x191)](_0x365ac0);if(!_0xfba629)return!0x1;let _0x9c2922;_0x1c00c5===_0x2849b6[_0x130c60(0x24e)]?_0x9c2922=_0x5dae49(_0x3cf1ab):_0x9c2922=_0x1b826f(_0x3cf1ab),_0xfba629[_0x130c60(0x263)](_0x9c2922,_0x1c00c5,_0x34ac0d);const _0x14ea19=_0x516d8f[_0x130c60(0x1c1)](_0x1d8b35,_0x22b0a1,_0x365ac0);Xi(_0x14ea19,_0x267cd0);const _0x31c280=_0x516d8f['getPivotTableConfig'](_0x1d8b35,_0x22b0a1,_0x365ac0);return _0x516d8f[_0x130c60(0x2cb)]({'unitId':_0x1d8b35,'subUnitId':_0x22b0a1,'token':_0x365ac0,'type':K['Set'],'pivotConfig':_0x31c280}),!0x0;}},Jt={'type':_0x36da7e[_0xff08f(0x16b)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x34985a,_0x446893){const _0xae6101=_0xff08f;if(!_0x446893)return!0x1;if(!!_0x34985a[_0xae6101(0x235)](_0x56c73b)[_0xae6101(0x181)](q))return!0x0;const _0x3473d7=_0x34985a[_0xae6101(0x235)]($),{pivotTableId:_0x31c1e5,fieldId:_0x4d8985,unitId:_0x28b795,subUnitId:_0x3d3497}=_0x446893,_0x4a4b63=_0x3473d7['getPivotTableInstance'](_0x31c1e5);if(!_0x4a4b63)return!0x1;_0x4a4b63[_0xae6101(0x224)](_0x4d8985);const _0x1bb19f=_0x3473d7[_0xae6101(0x1c1)](_0x28b795,_0x3d3497,_0x31c1e5);Zi(_0x1bb19f,_0x446893);const _0x3a40f8=_0x3473d7['getPivotTableConfig'](_0x28b795,_0x3d3497,_0x31c1e5);return _0x3473d7[_0xae6101(0x2cb)]({'unitId':_0x28b795,'subUnitId':_0x3d3497,'token':_0x31c1e5,'type':K[_0xae6101(0xd9)],'pivotConfig':_0x3a40f8}),!0x0;}},jt={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x15e),'handler'(_0x53be68,_0x42cfed){const _0x2e849e=_0xff08f;if(!_0x42cfed)return!0x1;if(!!_0x53be68['get'](_0x56c73b)[_0x2e849e(0x181)](q))return!0x0;const _0x2497b6=_0x53be68['get']($),{unitId:_0x414931,subUnitId:_0x12ecc4,pivotTableId:_0x568c5f,fieldId:_0x4914f2,name:_0x501f40}=_0x42cfed,_0x1185db=_0x2497b6['getPivotTableInstance'](_0x568c5f);if(!_0x1185db)return!0x1;_0x1185db[_0x2e849e(0x1a0)](_0x4914f2,_0x501f40);const _0x60ba4b=_0x2497b6[_0x2e849e(0x1c1)](_0x414931,_0x12ecc4,_0x568c5f);return es(_0x60ba4b,_0x42cfed),_0x2497b6[_0x2e849e(0x2cb)]({'unitId':_0x414931,'subUnitId':_0x12ecc4,'token':_0x568c5f,'type':K[_0x2e849e(0xd9)]}),!0x0;}},Wt={'type':_0x36da7e[_0xff08f(0x16b)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x26908f,_0x2bdd58){const _0x385075=_0xff08f;if(!_0x2bdd58)return!0x1;if(!!_0x26908f[_0x385075(0x235)](_0x56c73b)['getConfig'](q))return!0x0;const _0x1e7064=_0x26908f[_0x385075(0x235)]($),{unitId:_0x3c2b35,subUnitId:_0x3a4c6c,pivotTableId:_0x53dac8,fieldId:_0x26d759,collapse:_0x5899c6,item:_0x4923cb}=_0x2bdd58,_0x101b80=_0x1e7064[_0x385075(0x191)](_0x53dac8);if(!_0x101b80)return!0x1;_0x101b80[_0x385075(0x146)](_0x26d759,_0x5899c6,_0x4923cb);const _0x75f13f=_0x1e7064[_0x385075(0x1c1)](_0x3c2b35,_0x3a4c6c,_0x53dac8);return ts(_0x75f13f,_0x2bdd58),_0x1e7064[_0x385075(0x2cb)]({'unitId':_0x3c2b35,'subUnitId':_0x3a4c6c,'token':_0x53dac8,'type':K[_0x385075(0xd9)]}),!0x0;}},Gt={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x287),'handler'(_0x2a143b,_0x2d9d9b){const _0x34df78=_0xff08f;if(!_0x2d9d9b)return!0x1;if(!!_0x2a143b[_0x34df78(0x235)](_0x56c73b)[_0x34df78(0x181)](q))return!0x0;const _0xa453db=_0x2a143b['get']($),{unitId:_0xbf5da4,subUnitId:_0x3ad136,pivotTableId:_0x30934a,fieldId:_0x3db578,format:_0x2968ed}=_0x2d9d9b,_0x39ff3c=_0xa453db[_0x34df78(0x191)](_0x30934a);if(!_0x39ff3c)return!0x1;_0x39ff3c[_0x34df78(0x258)](_0x3db578,_0x2968ed);const _0x4fe3f5=_0xa453db[_0x34df78(0x1c1)](_0xbf5da4,_0x3ad136,_0x30934a);return os(_0x4fe3f5,_0x2d9d9b),_0xa453db[_0x34df78(0x2cb)]({'unitId':_0xbf5da4,'subUnitId':_0x3ad136,'token':_0x30934a,'type':K[_0x34df78(0xd9)]}),!0x0;}},Ht={'type':_0x36da7e[_0xff08f(0x16b)],'id':'sheet.mutation.set-pivot-filter','handler'(_0x23ab37,_0x4b7e77){const _0x31c60d=_0xff08f;if(!_0x4b7e77)return!0x1;if(!!_0x23ab37[_0x31c60d(0x235)](_0x56c73b)[_0x31c60d(0x181)](q))return!0x0;const _0x3cfbb3=_0x23ab37['get']($),{unitId:_0x24d4ec,subUnitId:_0x2bbf53,pivotTableId:_0x52416d,fieldId:_0x35e125,filterInfo:_0x296bf4}=_0x4b7e77,_0x20680a=_0x3cfbb3[_0x31c60d(0x191)](_0x52416d);if(!_0x20680a)return!0x1;_0x20680a[_0x31c60d(0x1ea)](_0x35e125,_0x296bf4);const _0x2aff9a=_0x3cfbb3[_0x31c60d(0x1c1)](_0x24d4ec,_0x2bbf53,_0x52416d);return ns(_0x2aff9a,_0x4b7e77),_0x3cfbb3[_0x31c60d(0x2cb)]({'unitId':_0x24d4ec,'subUnitId':_0x2bbf53,'token':_0x52416d,'type':K[_0x31c60d(0xd9)]}),!0x0;}},qt={'type':_0x36da7e['MUTATION'],'id':'sheet.mutation.set-pivot-option','handler'(_0x273a54,_0x58c5f2){const _0x463efa=_0xff08f;if(!_0x58c5f2)return!0x1;if(!!_0x273a54[_0x463efa(0x235)](_0x56c73b)[_0x463efa(0x181)](q))return!0x0;const _0x31d166=_0x273a54[_0x463efa(0x235)]($),{unitId:_0x1d2ded,subUnitId:_0x27ec4d,pivotTableId:_0x222998,options:_0xe2ab95}=_0x58c5f2,_0x2d38c6=_0x31d166['getPivotTableInstance'](_0x222998);if(!_0x2d38c6)return!0x1;_0x2d38c6[_0x463efa(0x297)](_0xe2ab95);const _0x171602=_0x31d166[_0x463efa(0x1c1)](_0x1d2ded,_0x27ec4d,_0x222998);return ds(_0x171602,_0x58c5f2),_0x31d166[_0x463efa(0x2cb)]({'unitId':_0x1d2ded,'subUnitId':_0x27ec4d,'token':_0x222998,'type':K[_0x463efa(0xd9)]}),!0x0;}},Yt={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x1fd),'handler'(_0x373c2a,_0x49ef8b){const _0x2dd1eb=_0xff08f;if(!_0x49ef8b)return!0x1;if(!!_0x373c2a[_0x2dd1eb(0x235)](_0x56c73b)['getConfig'](q))return!0x0;const _0x18ad02=_0x373c2a['get']($),{unitId:_0x428e54,subUnitId:_0x1f7740,pivotTableId:_0x1ac162,sortInfo:_0x4ba0de,fieldId:_0x1b8f69}=_0x49ef8b,_0x44ffc4=_0x18ad02[_0x2dd1eb(0x191)](_0x1ac162);if(!_0x44ffc4)return!0x1;_0x44ffc4[_0x2dd1eb(0x294)](_0x1b8f69,_0x4ba0de);const _0x1fc07d=_0x18ad02[_0x2dd1eb(0x1c1)](_0x428e54,_0x1f7740,_0x1ac162);return cs(_0x1fc07d,_0x49ef8b),_0x18ad02[_0x2dd1eb(0x2cb)]({'unitId':_0x428e54,'subUnitId':_0x1f7740,'token':_0x1ac162,'type':K[_0x2dd1eb(0xd9)]}),!0x0;}},zt={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x28f),'handler'(_0x29dd73,_0x3c6f6f){const _0x1756fe=_0xff08f;if(!_0x3c6f6f)return!0x1;if(!!_0x29dd73['get'](_0x56c73b)[_0x1756fe(0x181)](q))return!0x0;const _0x1ac180=_0x29dd73[_0x1756fe(0x235)]($),{unitId:_0x569fb2,subUnitId:_0x3dc3b9,pivotTableId:_0x34a13a,fieldId:_0x5ea5d5,subtotalType:_0xeb7153}=_0x3c6f6f,_0x4a325b=_0x1ac180[_0x1756fe(0x191)](_0x34a13a);if(!_0x4a325b)return!0x1;_0x4a325b[_0x1756fe(0x2c1)](_0x5ea5d5,_0xeb7153);const _0x5e8084=_0x1ac180[_0x1756fe(0x1c1)](_0x569fb2,_0x3dc3b9,_0x34a13a);return ss(_0x5e8084,_0x3c6f6f),_0x1ac180[_0x1756fe(0x2cb)]({'unitId':_0x569fb2,'subUnitId':_0x3dc3b9,'token':_0x34a13a,'type':K[_0x1756fe(0xd9)]}),!0x0;}},Qt={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x303),'handler'(_0x512b65,_0x585e82){const _0xf53b41=_0xff08f;if(!_0x585e82)return!0x1;if(!!_0x512b65[_0xf53b41(0x235)](_0x56c73b)[_0xf53b41(0x181)](q))return!0x0;const _0x3bb840=_0x512b65[_0xf53b41(0x235)]($),{unitId:_0x40b8f2,subUnitId:_0x477d67,pivotTableId:_0x5003c9,fieldId:_0x1443ba,filterInfo:_0x4329d4}=_0x585e82,_0x53da9a=_0x3bb840[_0xf53b41(0x191)](_0x5003c9);if(!_0x53da9a)return!0x1;_0x53da9a[_0xf53b41(0x301)](_0x1443ba,_0x4329d4);const _0x37cc4f=_0x3bb840[_0xf53b41(0x1c1)](_0x40b8f2,_0x477d67,_0x5003c9);return is(_0x37cc4f,_0x585e82),_0x3bb840[_0xf53b41(0x2cb)]({'unitId':_0x40b8f2,'subUnitId':_0x477d67,'token':_0x5003c9,'type':K[_0xf53b41(0xd9)]}),!0x0;}},Xt={'type':_0x36da7e[_0xff08f(0x16b)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x419da4,_0x292030){const _0x580882=_0xff08f;if(!_0x292030)return!0x1;if(!!_0x419da4['get'](_0x56c73b)[_0x580882(0x181)](q))return!0x0;const _0x593be3=_0x419da4[_0x580882(0x235)]($),{unitId:_0x469e3d,subUnitId:_0x481e99,pivotTableId:_0x5bedc7,area:_0x3b43cd,index:_0xa7fc19,fieldId:_0xc6d99e}=_0x292030,_0x2fc5b0=_0x593be3[_0x580882(0x191)](_0x5bedc7);if(!_0x2fc5b0)return!0x1;_0x2fc5b0[_0x580882(0x147)](_0xc6d99e,_0x3b43cd,_0xa7fc19);const _0x433619=_0x593be3[_0x580882(0x1c1)](_0x469e3d,_0x481e99,_0x5bedc7);return as(_0x433619,_0x292030),_0x593be3[_0x580882(0x2cb)]({'unitId':_0x469e3d,'subUnitId':_0x481e99,'token':_0x5bedc7,'type':K['Set']}),!0x0;}},Zt={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x1c0),'handler'(_0x54a9f9,_0x538621){const _0x3f1db2=_0xff08f;if(!_0x538621)return!0x1;if(!!_0x54a9f9[_0x3f1db2(0x235)](_0x56c73b)[_0x3f1db2(0x181)](q))return!0x0;const _0x3c4bec=_0x54a9f9[_0x3f1db2(0x235)]($),{unitId:_0x3a023f,subUnitId:_0x24ae1d,pivotTableId:_0x1a7108,sourceName:_0x185964,dataFieldId:_0x1988be,tableFieldId:_0x4eaa3d}=_0x538621,_0xb45957=_0x3c4bec[_0x3f1db2(0x191)](_0x1a7108);if(!_0xb45957)return!0x1;_0xb45957[_0x3f1db2(0x2e6)](_0x4eaa3d,_0x185964,_0x1988be);const _0x8d880c=_0x3c4bec['getPivotTableModelConfig'](_0x3a023f,_0x24ae1d,_0x1a7108);return ls(_0x8d880c,_0x538621),_0x3c4bec[_0x3f1db2(0x2cb)]({'unitId':_0x3a023f,'subUnitId':_0x24ae1d,'token':_0x1a7108,'type':K['Set']}),!0x0;}},eo={'type':_0x36da7e[_0xff08f(0x16b)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x2b920e,_0x582321){const _0x5aec62=_0xff08f;if(!_0x582321)return!0x1;if(!!_0x2b920e[_0x5aec62(0x235)](_0x56c73b)[_0x5aec62(0x181)](q))return!0x0;const _0x1b09f4=_0x2b920e[_0x5aec62(0x235)]($),{unitId:_0xda7195,subUnitId:_0x230661,pivotTableId:_0x594c5f,valuePosition:_0x4eea79,index:_0x1fb29e}=_0x582321,_0x53b809=_0x1b09f4[_0x5aec62(0x191)](_0x594c5f);if(!_0x53b809)return!0x1;_0x53b809['updateValuePosition'](_0x4eea79,_0x1fb29e);const _0x58aad6=_0x1b09f4[_0x5aec62(0x1c1)](_0xda7195,_0x230661,_0x594c5f);return rs(_0x58aad6,_0x582321),_0x1b09f4[_0x5aec62(0x2cb)]({'unitId':_0xda7195,'subUnitId':_0x230661,'token':_0x594c5f,'type':K[_0x5aec62(0xd9)]}),!0x0;}};function me(_0x1c5b7b,_0x3dc0a6,_0x34e273){const _0x307c50=_0xff08f,{pivotTableId:_0x12c622,unitId:_0x23715b,subUnitId:_0x678d3c}=_0x3dc0a6,_0x4d5a40=[],_0xa38e3a=[];for(const _0x32421b of _0x34e273)switch(_0x32421b[_0x307c50(0x11a)]){case _0x3254bb[_0x307c50(0x16e)]:{const {fieldJson:_0x54e568,area:_0x53bb4b,index:_0x3794b6}=_0x32421b,_0x54f88a={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldJson':_0x54e568,'area':_0x53bb4b,'index':_0x3794b6},_0xc4bbd7={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x54e568['id'],'area':_0x53bb4b,'index':_0x3794b6};_0x4d5a40[_0x307c50(0xc1)]({'id':$t['id'],'params':_0x54f88a}),_0xa38e3a['unshift']({'id':Jt['id'],'params':_0xc4bbd7});}break;case _0x3254bb['SetSubtotalType']:{const {fieldId:_0x3a3962,newSubtotalType:_0x3717f4,oldSubtotalType:_0x1a89d8}=_0x32421b,_0x36820a={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x3a3962,'subtotalType':_0x3717f4};_0x4d5a40[_0x307c50(0xc1)]({'id':zt['id'],'params':_0x36820a});const _0x2ce37a={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x3a3962,'subtotalType':_0x1a89d8};_0xa38e3a['unshift']({'id':zt['id'],'params':_0x2ce37a});}break;case _0x3254bb[_0x307c50(0x23f)]:{const {fieldId:_0x5f3309,fieldJson:_0x246baf,area:_0x355f92,index:_0x3a5e14}=_0x32421b,_0x27610a={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x5f3309,'index':_0x3a5e14,'area':_0x355f92};_0x4d5a40[_0x307c50(0xc1)]({'id':Jt['id'],'params':_0x27610a});const _0x3001df={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldJson':_0x246baf,'area':_0x355f92,'index':_0x3a5e14};_0xa38e3a['unshift']({'id':$t['id'],'params':_0x3001df});}break;case _0x3254bb[_0x307c50(0x131)]:{const {fieldId:_0x35287e,oldName:_0x4cb6ac,newName:_0x36462c}=_0x32421b,_0x47e335={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x35287e,'name':_0x36462c};_0x4d5a40[_0x307c50(0xc1)]({'id':jt['id'],'params':_0x47e335});const _0x4e5d55={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x35287e,'name':_0x4cb6ac};_0xa38e3a[_0x307c50(0x21a)]({'id':jt['id'],'params':_0x4e5d55});}break;case _0x3254bb[_0x307c50(0x307)]:{const {fieldId:_0x418d3a,oldFilterInfo:_0x6e08fa,newFilterInfo:_0x1814c4}=_0x32421b,_0xde5dfd={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x418d3a,'filterInfo':_0x1814c4};_0x4d5a40[_0x307c50(0xc1)]({'id':Ht['id'],'params':_0xde5dfd});const _0xe08929={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x418d3a,'filterInfo':_0x6e08fa};_0xa38e3a[_0x307c50(0x21a)]({'id':Ht['id'],'params':_0xe08929});}break;case _0x3254bb[_0x307c50(0x13b)]:{const {fieldId:_0x3f53dc,oldSortInfo:_0x3dc653,newSortInfo:_0x3a7a9e}=_0x32421b,_0x2dfa29={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x3f53dc,'sortInfo':_0x3a7a9e};_0x4d5a40['push']({'id':Yt['id'],'params':_0x2dfa29});const _0x118161={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x3f53dc,'sortInfo':_0x3dc653};_0xa38e3a[_0x307c50(0x21a)]({'id':Yt['id'],'params':_0x118161});}break;case _0x3254bb[_0x307c50(0xac)]:{const {oldOptions:_0x52bf05,newOptions:_0x2191e1}=_0x32421b,_0x592e18={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'options':_0x2191e1};_0x4d5a40[_0x307c50(0xc1)]({'id':qt['id'],'params':_0x592e18});const _0x2f8dfd={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'options':_0x52bf05};_0xa38e3a[_0x307c50(0x21a)]({'id':qt['id'],'params':_0x2f8dfd});}break;case _0x3254bb[_0x307c50(0x2d6)]:{const {oldArea:_0x5afd3a,newArea:_0x574218,oldIndex:_0x1ff2c9,newIndex:_0x13c8ca,fieldId:_0x1e5c6b}=_0x32421b,_0x40ab1e={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x1e5c6b,'area':_0x574218,'index':_0x13c8ca,'oldArea':_0x5afd3a,'oldIndex':_0x1ff2c9};_0x4d5a40[_0x307c50(0xc1)]({'id':Xt['id'],'params':_0x40ab1e});const _0x25c918={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x1e5c6b,'area':_0x5afd3a,'index':_0x1ff2c9,'oldArea':_0x574218,'oldIndex':_0x13c8ca};_0xa38e3a['unshift']({'id':Xt['id'],'params':_0x25c918});}break;case _0x3254bb[_0x307c50(0x25d)]:{const {oldValuePosition:_0x451d3d,newValuePosition:_0x2cfdaa,oldIndex:_0x1c89a8,newIndex:_0x459c5a}=_0x32421b,_0x1ebf30={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'valuePosition':_0x2cfdaa,'index':_0x459c5a};_0x4d5a40[_0x307c50(0xc1)]({'id':eo['id'],'params':_0x1ebf30});const _0x4f326d={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'valuePosition':_0x451d3d,'index':_0x1c89a8};_0xa38e3a[_0x307c50(0x21a)]({'id':eo['id'],'params':_0x4f326d});}break;case _0x3254bb['SetCollapse']:{const {fieldId:_0x432512,collapse:_0x585cfd,item:_0x3a446f}=_0x32421b,_0x323dbc={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x432512,'collapse':_0x585cfd,'item':_0x3a446f};_0x4d5a40[_0x307c50(0xc1)]({'id':Wt['id'],'params':_0x323dbc});const _0xca1660={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x432512,'collapse':!_0x585cfd,'item':_0x3a446f};_0xa38e3a['unshift']({'id':Wt['id'],'params':_0xca1660});}break;case _0x3254bb[_0x307c50(0xfa)]:{const {newFormat:_0x57d913,oldFormat:_0x5933c2,fieldId:_0x49918f}=_0x32421b,_0x20800={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x49918f,'format':_0x57d913};_0x4d5a40['push']({'id':Gt['id'],'params':_0x20800});const _0x2f6eb6={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x49918f,'format':_0x5933c2};_0xa38e3a[_0x307c50(0x21a)]({'id':Gt['id'],'params':_0x2f6eb6});}break;case _0x3254bb[_0x307c50(0xd0)]:{const {tableFieldId:_0x3f259b,oldSourceName:_0x11a421,newSourceName:_0x199efc,oldDataFieldId:_0x43e95b,newDataFieldId:_0x11898d}=_0x32421b,_0x4978dd={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'tableFieldId':_0x3f259b,'sourceName':_0x199efc,'dataFieldId':_0x11898d};_0x4d5a40[_0x307c50(0xc1)]({'id':Zt['id'],'params':_0x4978dd});const _0xe26ded={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'tableFieldId':_0x3f259b,'sourceName':_0x11a421,'dataFieldId':_0x43e95b};_0xa38e3a[_0x307c50(0x21a)]({'id':Zt['id'],'params':_0xe26ded});}break;case _0x3254bb[_0x307c50(0x17e)]:{const {fieldId:_0x201e7d,filterInfo:_0x3ec0bd,oldFilterInfo:_0x4c2cb8}=_0x32421b,_0xc5c0b5={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x201e7d,'filterInfo':_0x3ec0bd};_0x4d5a40[_0x307c50(0xc1)]({'id':Qt['id'],'params':_0xc5c0b5});const _0x221247={'unitId':_0x23715b,'subUnitId':_0x678d3c,'pivotTableId':_0x12c622,'fieldId':_0x201e7d,'filterInfo':_0x4c2cb8};_0xa38e3a[_0x307c50(0x21a)]({'id':Qt['id'],'params':_0x221247});}}return{'redos':_0x4d5a40,'undos':_0xa38e3a};}function _e(_0x15dc60,_0x491c1c){const _0x322afc=_0xff08f;var _0x428642;const _0x41cc0c=_0x15dc60[_0x322afc(0x235)](ie),{cellInfo:_0x59d16c,view:_0xc13de4,isEmpty:_0x453151}=_0x491c1c;return(_0x428642=_0x41cc0c[_0x322afc(0x198)][_0x322afc(0x20a)]($o)(To,{'cellInfo':_0x59d16c,'view':_0xc13de4,'isEmpty':_0x453151}))!=null?_0x428642:To;}const us=()=>typeof process<'u'&&process[_0xff08f(0x311)]!=null&&process[_0xff08f(0x311)][_0xff08f(0x2e5)]!=null,Ct={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0xd1),'handler'(_0x474f80,_0x13e3fa){const _0x7845ea=_0xff08f;var _0x33c596;if(!_0x13e3fa)return!0x1;const _0x388f37=_0x474f80[_0x7845ea(0x235)](_0x56c73b);if(!!_0x388f37[_0x7845ea(0x181)](q))return!0x0;const _0x28ed16=_0x474f80[_0x7845ea(0x235)](_0x5838cd),_0x4049db=_0x474f80[_0x7845ea(0x235)]($),{pivotTableId:_0x30caad,pivotTableConfig:_0xe6c180,collectionConfig:_0x32a828,unitId:_0x555f61,subUnitId:_0x3b1d75}=_0x13e3fa,{sourceRangeInfo:_0x1c0759,fieldsConfig:_0x511499,targetCellInfo:_0x3c1d26}=_0xe6c180,_0x2b2fb0=_0x28ed16[_0x7845ea(0x2cf)](_0x555f61);if(!_0x2b2fb0||!_0x2b2fb0[_0x7845ea(0x2c4)](_0x3b1d75))return!0x1;if(!us()){let _0x2d4087=0x0;_0x2b2fb0[_0x7845ea(0x220)]()[_0x7845ea(0x1b9)](_0x53ee72=>{const _0x5f4e84=_0x7845ea;var _0x381ac8,_0x3953ba;_0x2d4087+=(_0x3953ba=(_0x381ac8=_0x4049db[_0x5f4e84(0x17c)](_0x555f61,_0x53ee72[_0x5f4e84(0x8d)]()))==null?void 0x0:_0x381ac8[_0x5f4e84(0x129)])!=null?_0x3953ba:0x0;});const _0x3b4efc=(_0x33c596=_0x388f37[_0x7845ea(0x181)](_0x1e231c))!=null?_0x33c596:{},{ls:_0x33de69,pbk:_0x58b763}=_0x3b4efc;if(!Go(_0x33de69,_0x58b763))throw new _0x51b14d(_0x7845ea(0x1d9));const _0x40718e=go(so,_0x33de69,_0x58b763)['count'];if(_0x2d4087>=_0x40718e)throw new _0x51b14d(_0x7845ea(0x1d9));}if(!_0x32a828||!_0x511499)return!0x1;const {collection:_0x4219b2,updateDataFieldList:_0xd58c59}=_0x4049db[_0x7845ea(0xef)](_0x30caad,_0x32a828,_0x1c0759,_0x3c1d26);_0x4049db[_0x7845ea(0x15d)](_0x4219b2,_0xd58c59,_0x1c0759);const _0x48d291=new _0x55f99e(_0x4219b2,void 0x0,_0x30caad);_0x48d291[_0x7845ea(0x111)](_0x511499);const _0x32b467=JSON['parse'](JSON[_0x7845ea(0x16c)](_0xe6c180));return _0x4049db[_0x7845ea(0x2ac)](_0x555f61,_0x3b1d75,_0x30caad,_0x48d291,_0x32b467),_0x4049db[_0x7845ea(0x2cb)]({'unitId':_0x555f61,'subUnitId':_0x3b1d75,'token':_0x30caad,'type':K['Add'],'pivotConfig':_0x32b467}),!0x0;}},Et={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x1e5),'handler'(_0x275acb,_0x44af1e){const _0x936692=_0xff08f;if(!_0x44af1e)return!0x1;if(!!_0x275acb[_0x936692(0x235)](_0x56c73b)[_0x936692(0x181)](q))return!0x0;const {pivotTableId:_0x20467f,unitId:_0x471033,subUnitId:_0x403d43}=_0x44af1e,_0x5b5190=_0x275acb[_0x936692(0x235)]($);return _0x5b5190[_0x936692(0x215)](_0x471033,_0x403d43,_0x20467f)?(_0x5b5190[_0x936692(0x2cb)]({'unitId':_0x471033,'subUnitId':_0x403d43,'token':_0x20467f,'type':K[_0x936692(0xa6)]}),_0x5b5190['removePivotTable'](_0x471033,_0x403d43,_0x20467f),!0x0):!0x1;}},pt={'type':_0x36da7e['MUTATION'],'id':'sheet.mutation.set-pivot-position','handler'(_0x4e9d74,_0x4cb5e0){const _0x46cdd1=_0xff08f;if(!_0x4cb5e0)return!0x1;if(!!_0x4e9d74['get'](_0x56c73b)[_0x46cdd1(0x181)](q))return!0x0;const {pivotTableId:_0x4ba797,targetCellPosition:_0x15ab69,unitId:_0x4abc65,subUnitId:_0x3f1bf1}=_0x4cb5e0,_0x27219e=_0x4e9d74['get']($);if(!_0x27219e['getPivotTableInstance'](_0x4cb5e0[_0x46cdd1(0x2d8)]))return!0x1;const _0x24aaf4=_0x27219e[_0x46cdd1(0xe9)](_0x4ba797);if(!_0x24aaf4)return!0x1;const _0x5140c7=_0x27219e[_0x46cdd1(0x116)](_0x24aaf4[_0x46cdd1(0xad)],_0x4cb5e0[_0x46cdd1(0x2d8)]);if(!_0x5140c7)return!0x1;const _0x399f5e=_0x27219e[_0x46cdd1(0x215)](_0x24aaf4[_0x46cdd1(0xad)],_0x24aaf4[_0x46cdd1(0x174)],_0x4ba797);if(!_0x399f5e)return!0x1;const _0x2d343c=_0x336a3b[_0x46cdd1(0x1ca)](_0x399f5e);_0x2d343c[_0x46cdd1(0x177)]={'unitId':_0x4abc65,'subUnitId':_0x3f1bf1,'row':_0x15ab69[_0x46cdd1(0x108)],'col':_0x15ab69['col']};const _0x547a17=_0x5140c7[_0x46cdd1(0x137)]();if(_0x24aaf4['subUnitId']===_0x3f1bf1&&_0x24aaf4['unitId']===_0x4abc65)_0x27219e[_0x46cdd1(0x21f)](_0x4abc65,_0x3f1bf1,_0x4ba797,_0x2d343c),_0x27219e[_0x46cdd1(0x2cb)]({'unitId':_0x4abc65,'subUnitId':_0x3f1bf1,'token':_0x4ba797,'type':K[_0x46cdd1(0xd9)]});else{_0x27219e[_0x46cdd1(0x2cb)]({'unitId':_0x24aaf4[_0x46cdd1(0xad)],'subUnitId':_0x24aaf4[_0x46cdd1(0x174)],'token':_0x4ba797,'type':K[_0x46cdd1(0xa6)]}),_0x27219e['removePivotTable'](_0x24aaf4['unitId'],_0x24aaf4[_0x46cdd1(0x174)],_0x4ba797);const _0x518043=_0x27219e['addCollectionByJSON'](_0x4ba797,_0x547a17,_0x399f5e[_0x46cdd1(0x178)],_0x2d343c[_0x46cdd1(0x177)]),_0x296ab1=new _0x55f99e(_0x518043[_0x46cdd1(0x16f)],void 0x0,_0x4ba797);_0x296ab1['fromJSON'](_0x2d343c['fieldsConfig']),_0x27219e[_0x46cdd1(0x2ac)](_0x4abc65,_0x3f1bf1,_0x4ba797,_0x296ab1,_0x2d343c),_0x27219e['addDirtyPivotTable']({'unitId':_0x4abc65,'subUnitId':_0x3f1bf1,'token':_0x4ba797,'type':K[_0x46cdd1(0xf1)],'pivotConfig':_0x2d343c});}return!0x0;}},to={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x309),'handler'(_0x49bd33,_0x119013){const _0x9ff9c6=_0xff08f;if(!_0x119013)return!0x1;if(!!_0x49bd33[_0x9ff9c6(0x235)](_0x56c73b)['getConfig'](q))return!0x0;const _0x580bb1=_0x49bd33[_0x9ff9c6(0x235)]($),{pivotTableId:_0x8f3408,deleteIds:_0x2b71c6,collectionJSON:_0x408553,dataRangeInfo:_0x5a88fd,unitId:_0x1ec4fd,subUnitId:_0x2d4a71}=_0x119013,_0x39be40=_0x580bb1[_0x9ff9c6(0x191)](_0x8f3408),_0x43343c=_0x580bb1[_0x9ff9c6(0x215)](_0x1ec4fd,_0x2d4a71,_0x8f3408);if(!_0x39be40||!_0x43343c)return!0x1;const {collection:_0x3ce1f6,updateDataFieldList:_0x4ea23a}=_0x580bb1[_0x9ff9c6(0xef)](_0x8f3408,_0x408553,_0x5a88fd,_0x43343c[_0x9ff9c6(0x177)]);_0x580bb1[_0x9ff9c6(0x15d)](_0x3ce1f6,_0x4ea23a,_0x5a88fd),_0x39be40[_0x9ff9c6(0x130)](_0x3ce1f6);for(const _0x49f379 of _0x2b71c6)_0x580bb1[_0x9ff9c6(0x183)](_0x5a88fd[_0x9ff9c6(0xad)],_0x49f379);const _0x214c56=_0x580bb1[_0x9ff9c6(0x215)](_0x1ec4fd,_0x2d4a71,_0x8f3408);return _0x214c56[_0x9ff9c6(0x178)]=JSON['parse'](JSON['stringify'](_0x5a88fd)),_0x580bb1['addDirtyPivotTable']({'unitId':_0x1ec4fd,'subUnitId':_0x2d4a71,'token':_0x8f3408,'type':K['Set']}),!0x0;}},Ut={'type':_0x36da7e[_0xff08f(0x16b)],'id':_0xff08f(0x230),'handler'(){return!0x0;}};var fs=Object[_0xff08f(0x1aa)],gs=(_0x362b15,_0x30a1c1,_0x386ac9,_0x1099b8)=>{const _0x2e02b5=_0xff08f;for(var _0x261223=_0x1099b8>0x1?void 0x0:_0x1099b8?fs(_0x30a1c1,_0x386ac9):_0x30a1c1,_0xdb16ae=_0x362b15[_0x2e02b5(0x1a8)]-0x1,_0xca7d12;_0xdb16ae>=0x0;_0xdb16ae--)(_0xca7d12=_0x362b15[_0xdb16ae])&&(_0x261223=_0xca7d12(_0x261223)||_0x261223);return _0x261223;},wo=(_0x542852,_0x11d02b)=>(_0x2633b0,_0x5c201f)=>_0x11d02b(_0x2633b0,_0x5c201f,_0x542852);let Z=class extends _0x51d9e7{constructor(_0x37f426,_0x47453d){const _0x1ed2a8=_0xff08f;super(),V(this,_0x1ed2a8(0x109),new Map()),(this[_0x1ed2a8(0x157)]=_0x37f426,this[_0x1ed2a8(0x260)]=_0x47453d);}['handleAsyncResponse'](_0x9cb051){const _0x464f60=_0xff08f,{version:_0x538af5}=_0x9cb051,_0x5b4637=this['_requestResolvers'][_0x464f60(0x235)](_0x538af5);_0x5b4637&&(_0x5b4637(_0x9cb051),this[_0x464f60(0x109)][_0x464f60(0x1e1)](_0x538af5));}[_0xff08f(0x27f)](_0x1fd2de){return new Promise((_0x17f15c,_0x365e44)=>{const _0x5d5804=_0x37bd,_0x20139f=this[_0x5d5804(0x114)]();this['_requestResolvers'][_0x5d5804(0x19f)](_0x20139f,_0x17f15c),this[_0x5d5804(0x260)]['executeCommand'](ro['id'],{'version':_0x20139f,..._0x1fd2de},{'onlyLocal':!0x0});});}[_0xff08f(0x114)](){const _0x54e62c=_0xff08f;return Math[_0x54e62c(0x269)]()[_0x54e62c(0x265)](0x24)[_0x54e62c(0x9b)](0x2,0x10);}};Z=gs([wo(0x0,_0x351ec8(_0x8ab5d1)),wo(0x1,_0x351ec8(_0x596dde))],Z);const zo={'id':_0xff08f(0x156),'type':_0x36da7e[_0xff08f(0x16b)],'handler':(_0x31f12c,_0x21ba01)=>{const _0x576f0b=_0xff08f;if(!_0x21ba01)return!0x1;if(!!_0x31f12c[_0x576f0b(0x235)](_0x56c73b)[_0x576f0b(0x181)](q))return!0x0;const {pivotTableId:_0xb01fb1,fieldJSON:_0x4c8255,unitId:_0xd72da3,subUnitId:_0x2ca498}=_0x21ba01,_0x60c88c=_0x4bca1b[_0x576f0b(0x111)](_0x4c8255);if(!_0x60c88c)return!0x1;const _0x44bfdd=_0x31f12c[_0x576f0b(0x235)]($),_0x1ce9d7=_0x44bfdd[_0x576f0b(0x23a)](_0xd72da3),_0x3c7bfa=_0x1ce9d7['getCollection'](_0xb01fb1);_0x1ce9d7['addDataFieldWithoutUnitInfo'](_0x60c88c),_0x3c7bfa[_0x576f0b(0x263)](_0x60c88c[_0x576f0b(0x91)](),_0x60c88c[_0x576f0b(0x2de)]());const _0x7e4be9=_0x3c7bfa['getFieldById'](_0x60c88c[_0x576f0b(0x279)]());_0x7e4be9&&_0x60c88c['refreshGroupField'](_0x7e4be9);const _0x39bdee=_0x44bfdd[_0x576f0b(0x215)](_0xd72da3,_0x2ca498,_0xb01fb1);return _0x44bfdd['addDirtyPivotTable']({'unitId':_0xd72da3,'subUnitId':_0x2ca498,'token':_0xb01fb1,'type':K[_0x576f0b(0xd9)],'pivotConfig':_0x39bdee}),!0x0;}},Qo={'id':_0xff08f(0xb3),'type':_0x36da7e[_0xff08f(0x16b)],'handler':(_0x4dca0c,_0x2fff1f)=>{const _0x2a4d33=_0xff08f;if(!_0x2fff1f)return!0x1;if(!!_0x4dca0c[_0x2a4d33(0x235)](_0x56c73b)['getConfig'](q))return!0x0;const {pivotTableId:_0x5a71de,dataFieldId:_0x3fd67f,unitId:_0x18ab5b,subUnitId:_0x25f1a1}=_0x2fff1f,_0x409421=_0x4dca0c[_0x2a4d33(0x235)]($),_0x5b324b=_0x409421[_0x2a4d33(0x23a)](_0x18ab5b);_0x5b324b[_0x2a4d33(0x116)](_0x5a71de)[_0x2a4d33(0xdc)](_0x3fd67f);let _0x16c7ca=!0x0;for(const _0x61325d in _0x5b324b[_0x2a4d33(0x193)])if(_0x5b324b[_0x2a4d33(0x193)][_0x61325d][_0x2a4d33(0xcf)]()['includes'](_0x3fd67f)){_0x16c7ca=!0x1;break;}_0x16c7ca&&_0x5b324b[_0x2a4d33(0x127)](_0x3fd67f);const _0x3c7fcc=_0x409421['getPivotTableConfig'](_0x18ab5b,_0x25f1a1,_0x5a71de);return _0x409421[_0x2a4d33(0x2cb)]({'unitId':_0x18ab5b,'subUnitId':_0x25f1a1,'token':_0x5a71de,'type':K['Set'],'pivotConfig':_0x3c7fcc}),!0x0;}},vs={'type':_0x36da7e['COMMAND'],'id':_0xff08f(0x134),async 'handler'(_0x1d438c,_0x5cba07){const _0x1b45be=_0xff08f;if(!_0x5cba07)return!0x1;const _0x578b7f=_0x1d438c[_0x1b45be(0x235)](_0x596dde),_0xaf8141=_0x1d438c['get'](Z),_0x192dc0=_0x1d438c['get'](_0x3fa4c8),{pivotTableId:_0x427211,dataFieldId:_0x492144,fieldArea:_0x257b10,index:_0x3de660,unitId:_0x3cad9c,subUnitId:_0x182281}=_0x5cba07,_0x1d2aa2=(await _0xaf8141['getPivotDisplayConfig']({'unitId':_0x3cad9c,'subUnitId':_0x182281,'pivotTableId':_0x427211,'params':{'type':k['AddPivotField'],'addPivotField':{'dataFieldId':_0x492144,'fieldArea':_0x257b10,'index':_0x3de660}}}))[_0x1b45be(0x180)][_0x1b45be(0xa3)];if(!_0x1d2aa2)return!0x1;const {view:_0x367b07,changesets:_0x15eddd,isEmpty:_0x4ed166,pivotTableConfig:_0x296033,shouldBeAddedGroupJSON:_0x2a37e2}=_0x1d2aa2,_0x3d3b4d=_0x296033[_0x1b45be(0x177)],_0x49c939=new _0x26d2cd();_0x49c939['formJSON'](_0x367b07);const _0x2b805b={'cellInfo':_0x3d3b4d,'view':_0x49c939,'isEmpty':_0x4ed166};if(!await _0x1d438c[_0x1b45be(0x235)](ie)[_0x1b45be(0x267)][_0x1b45be(0x1b1)](be)(!0x0,_0x2b805b))return!0x1;const _0x26c272=we(_0x1d438c,_0x49c939,_0x3d3b4d,_0x4ed166),_0x2f2c14=_e(_0x1d438c,_0x2b805b),{undos:_0x16eae0,redos:_0x41d535}=me(_0x578b7f,{'pivotTableId':_0x427211,'unitId':_0x3cad9c,'subUnitId':_0x182281},_0x15eddd);return _0x2a37e2&&(_0x41d535[_0x1b45be(0x21a)]({'id':zo['id'],'params':{'pivotTableId':_0x427211,'fieldJSON':_0x2a37e2,'unitId':_0x3cad9c,'subUnitId':_0x182281}}),_0x16eae0[_0x1b45be(0xc1)]({'id':Qo['id'],'params':{'pivotTableId':_0x427211,'dataFieldId':_0x2a37e2['id'],'unitId':_0x3cad9c,'subUnitId':_0x182281}})),_0x5f176d([..._0x26c272['redos'],..._0x2f2c14[_0x1b45be(0x2ed)],..._0x41d535],_0x578b7f),_0x192dc0['pushUndoRedo']({'unitID':_0x3cad9c,'redoMutations':[..._0x26c272[_0x1b45be(0x2ed)],..._0x2f2c14[_0x1b45be(0x2ed)],..._0x41d535],'undoMutations':[..._0x26c272[_0x1b45be(0x160)],..._0x2f2c14['undos'],..._0x16eae0]}),!0x0;}},hs={'type':_0x36da7e['COMMAND'],'id':_0xff08f(0x2c8),async 'handler'(_0x366ad6,_0x3474e8){const _0x4c1870=_0xff08f;if(!_0x3474e8)return!0x1;const {sourceDataInfo:_0x372465,pivotTableConfig:_0x5866a4}=_0x3474e8;if(!_0x372465||!_0x5866a4)return!0x1;const {unitId:_0x1ad961,subUnitId:_0x4b7608,range:_0x3da0f7}=_0x372465,_0x284e62=_0x366ad6[_0x4c1870(0x235)](_0x5838cd),_0x1dc79f=_0x366ad6[_0x4c1870(0x235)](Z),_0x52d2b9=_0x366ad6[_0x4c1870(0x235)](_0x1ca3ab),_0x595a6e=_0x366ad6[_0x4c1870(0x235)](_0x596dde),_0x1bfd66=_0x284e62[_0x4c1870(0x2cf)](_0x1ad961);if(!_0x1bfd66)return!0x1;const _0x3e4016=_0x1bfd66[_0x4c1870(0x2c4)](_0x4b7608);if(!_0x3e4016)return!0x1;const _0x5c3ff6=_0x440537(0x8),_0x3dde38=_0x3da0f7||{'startRow':0x0,'startColumn':0x0,'endRow':_0x3e4016[_0x4c1870(0x209)]()-0x1,'endColumn':_0x3e4016[_0x4c1870(0x1a7)]()-0x1};_0x3dde38[_0x4c1870(0xfc)]=_0x2875ee['NORMAL'];const _0x4207ff=(await _0x1dc79f[_0x4c1870(0x27f)]({'unitId':_0x1ad961,'subUnitId':_0x4b7608,'pivotTableId':_0x5c3ff6,'params':{'type':k[_0x4c1870(0x1f0)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x1ad961,'sheetName':_0x3e4016[_0x4c1870(0x2de)](),'subUnitId':_0x4b7608,'range':_0x3dde38},'pivotTableId':_0x5c3ff6,'pivotTableIndexConfig':_0x5866a4}}}))[_0x4c1870(0x180)][_0x4c1870(0x13a)];if(!_0x4207ff)return!0x1;const {isEmpty:_0x1f1f7c,fieldsConfig:_0x491013,collectionConfig:_0x4b8732,changesets:_0x5a33e0}=_0x4207ff,_0x5f3538=_0x1bfd66['getSheets']()[_0x4c1870(0x1a8)],_0x5caa18=_0xca9a85({'rowCount':_0x3e4016[_0x4c1870(0x209)]()-0x1,'columnCount':_0x3e4016[_0x4c1870(0x1a7)]()-0x1});_0x5caa18['id']=_0x241bdb(),_0x5caa18[_0x4c1870(0x246)]=_0x1bfd66[_0x4c1870(0x284)](''+_0x52d2b9['t'](_0x4c1870(0x150)));const _0x5e4aa8={'index':_0x5f3538,'sheet':_0x5caa18,'unitId':_0x1ad961},{redos:_0x30462c}=me(_0x595a6e,{'pivotTableId':_0x5c3ff6,'unitId':_0x1ad961,'subUnitId':_0x5caa18['id']},_0x5a33e0),_0x778b79=[{'id':_0x17c903['id'],'params':_0x5e4aa8},{'id':Ct['id'],'params':{'unitId':_0x1ad961,'subUnitId':_0x5caa18['id'],'pivotTableId':_0x5c3ff6,'pivotTableConfig':{'isEmpty':_0x1f1f7c,'fieldsConfig':_0x491013,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x1ad961,'subUnitId':_0x5caa18['id']},'sourceRangeInfo':{'subUnitId':_0x4b7608,'unitId':_0x1ad961,'range':_0x3dde38,'sheetName':_0x3e4016[_0x4c1870(0x2de)]()}},'collectionConfig':_0x4b8732}},..._0x30462c];return _0x5f176d(_0x778b79,_0x595a6e),!0x0;}},ps={'type':_0x36da7e[_0xff08f(0xde)],'id':'sheet.command.add-pivot-table',async 'handler'(_0x472738,_0x580173){const _0x5ae472=_0xff08f;var _0x359620,_0x28f7ad;const _0x1c6ccb=_0x472738[_0x5ae472(0x235)](_0x596dde),_0xdf0428=_0x472738[_0x5ae472(0x235)](_0x5838cd),_0x464f95=_0x472738[_0x5ae472(0x235)](_0x1ca3ab),_0x2f9e6e=_0x472738[_0x5ae472(0x235)](Z),_0x2125b1=_0x472738['get'](_0x3fa4c8),_0x2a0c16=_0x472738[_0x5ae472(0x235)](he),_0x1dee63=_0x472738[_0x5ae472(0x235)](_0x56c73b);if(!_0x580173)return!0x1;const {pivotTableConfig:_0x19aca3,positionType:_0x2e285e}=_0x580173,{targetCellInfo:_0x35d97c,sourceRangeInfo:_0x11427a}=_0x19aca3,{unitId:_0x4ca349,subUnitId:_0x5aa613}=_0x35d97c,_0x81d657=_0xdf0428[_0x5ae472(0x2cf)](_0x4ca349);if(!_0x81d657)return!0x1;let _0x5b146c=0x0;_0x81d657[_0x5ae472(0x220)]()[_0x5ae472(0x1b9)](_0x48b8bf=>{const _0x5f1428=_0x5ae472;var _0x1dff9c,_0x24b8ba;_0x5b146c+=(_0x24b8ba=(_0x1dff9c=_0x2a0c16[_0x5f1428(0x17c)](_0x4ca349,_0x48b8bf[_0x5f1428(0x8d)]()))==null?void 0x0:_0x1dff9c[_0x5f1428(0x129)])!=null?_0x24b8ba:0x0;});const _0x59a8fc=(_0x359620=_0x1dee63[_0x5ae472(0x181)](_0x1e231c))!=null?_0x359620:{},{ls:_0xf2d70b,pbk:_0x834e9c}=_0x59a8fc;if(!Go(_0xf2d70b,_0x834e9c))return!0x1;const _0x3a7d04=go(so,_0xf2d70b,_0x834e9c)['count'];if(_0x5b146c>=_0x3a7d04)return!0x1;const _0x83127e=_0x580173[_0x5ae472(0x2d8)]||_0x440537(0x8),_0x4c0447=(await _0x2f9e6e[_0x5ae472(0x27f)]({'unitId':_0x4ca349,'subUnitId':_0x5aa613,'pivotTableId':_0x83127e,'params':{'type':k[_0x5ae472(0x122)],'addPivotTable':{'sourceRangeInfo':_0x11427a,'pivotTableId':_0x83127e}}}))[_0x5ae472(0x180)][_0x5ae472(0x2ac)];if(!_0x4c0447)return!0x1;const {view:_0x30b090,isEmpty:_0x588328,fieldsConfig:_0x1cb43f,collectionConfig:_0x523b28}=_0x4c0447,_0x61b253=[],_0x5da1ef=[];if(_0x2e285e===Lo[_0x5ae472(0x2f6)]){const _0x2ef0f2=_0x81d657['getSheets']()['length'],_0x596286=_0xca9a85({});_0x596286['id']=_0x19aca3['targetCellInfo']['subUnitId'],_0x596286[_0x5ae472(0x246)]=(_0x28f7ad=_0x19aca3['targetCellInfo'][_0x5ae472(0xb6)])!=null?_0x28f7ad:_0x81d657[_0x5ae472(0x284)](''+_0x464f95['t']('sheets.tabs.sheet'));const _0x2c0a5d={'index':_0x2ef0f2,'sheet':_0x596286,'unitId':_0x4ca349},_0x729c03=_0xe74cff(_0x472738,_0x2c0a5d);_0x61b253[_0x5ae472(0xc1)]({'id':_0x784ca5['id'],'params':_0x729c03}),_0x5da1ef[_0x5ae472(0xc1)]({'id':_0x53bf66['id'],'params':_0x2c0a5d});}else{if(!_0x81d657[_0x5ae472(0x2c4)](_0x5aa613))return!0x1;const _0x36dc82=we(_0x472738,new _0x26d2cd(),_0x35d97c,!0x0);_0x5da1ef[_0x5ae472(0xc1)](..._0x36dc82[_0x5ae472(0x2ed)]),_0x61b253[_0x5ae472(0xc1)](..._0x36dc82[_0x5ae472(0x160)]);const _0x325216={'cellInfo':_0x35d97c,'view':_0x30b090,'isEmpty':_0x588328};if(!await _0x472738[_0x5ae472(0x235)](ie)[_0x5ae472(0x267)][_0x5ae472(0x1b1)](be)(!0x0,_0x325216))return!0x1;const _0xd67a75=_e(_0x472738,_0x325216);_0x5da1ef[_0x5ae472(0xc1)](..._0xd67a75[_0x5ae472(0x2ed)]),_0x61b253[_0x5ae472(0xc1)](..._0xd67a75[_0x5ae472(0x160)]);}return _0x5da1ef[_0x5ae472(0xc1)]({'id':Ct['id'],'params':{'unitId':_0x35d97c['unitId'],'subUnitId':_0x35d97c['subUnitId'],'pivotTableId':_0x83127e,'pivotTableConfig':{'targetCellInfo':_0x35d97c,'sourceRangeInfo':_0x11427a,'fieldsConfig':_0x1cb43f},'collectionConfig':_0x523b28}}),_0x61b253[_0x5ae472(0x21a)]({'id':Et['id'],'params':{'unitId':_0x4ca349,'subUnitId':_0x5aa613,'pivotTableId':_0x83127e}}),_0x5f176d(_0x5da1ef,_0x1c6ccb)&&_0x2125b1[_0x5ae472(0x206)]({'unitID':_0x4ca349,'undoMutations':_0x61b253,'redoMutations':_0x5da1ef}),!0x0;}},ms={'type':_0x36da7e[_0xff08f(0xde)],'id':_0xff08f(0x21c),async 'handler'(_0x283f27,_0x1ed5e3){const _0x5efeb8=_0xff08f;if(!_0x1ed5e3)return!0x1;const _0x32468e=_0x283f27[_0x5efeb8(0x235)](_0x596dde),_0x20bf07=_0x283f27[_0x5efeb8(0x235)](Z),_0x3dfb4c=_0x283f27[_0x5efeb8(0x235)](_0x3fa4c8),{pivotTableId:_0xf9cabd,fieldId:_0x3cf94a,area:_0x4d0443,index:_0x2fb50b,unitId:_0x44b379,subUnitId:_0x1f9810}=_0x1ed5e3,_0x1d3761=(await _0x20bf07[_0x5efeb8(0x27f)]({'unitId':_0x44b379,'subUnitId':_0x1f9810,'pivotTableId':_0xf9cabd,'params':{'type':k['MovePivotField'],'movePivotField':{'fieldId':_0x3cf94a,'area':_0x4d0443,'index':_0x2fb50b}}}))[_0x5efeb8(0x180)][_0x5efeb8(0x26c)];if(!_0x1d3761)return!0x1;const {changesets:_0x5e6903,view:_0x4d8f46,isEmpty:_0x494c8d,pivotTableConfig:_0x40ff14}=_0x1d3761,_0x357df8=_0x40ff14[_0x5efeb8(0x177)],_0x8208ce=new _0x26d2cd();_0x8208ce[_0x5efeb8(0x165)](_0x4d8f46);const _0x129987={'cellInfo':_0x357df8,'view':_0x8208ce,'isEmpty':_0x494c8d};if(!await _0x283f27['get'](ie)[_0x5efeb8(0x267)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x129987))return!0x1;const _0x471534=we(_0x283f27,_0x8208ce,_0x357df8,_0x494c8d),_0x17a1a2=_e(_0x283f27,_0x129987),{redos:_0x7917c8,undos:_0x4a5a04}=me(_0x32468e,{'pivotTableId':_0xf9cabd,'unitId':_0x44b379,'subUnitId':_0x1f9810},_0x5e6903);return _0x5f176d([..._0x471534['redos'],..._0x17a1a2[_0x5efeb8(0x2ed)],..._0x7917c8],_0x32468e),_0x3dfb4c['pushUndoRedo']({'unitID':_0x44b379,'redoMutations':[..._0x471534[_0x5efeb8(0x2ed)],..._0x17a1a2[_0x5efeb8(0x2ed)],..._0x7917c8],'undoMutations':[..._0x471534[_0x5efeb8(0x160)],..._0x17a1a2['undos'],..._0x4a5a04]}),!0x0;}},Is={'type':_0x36da7e['COMMAND'],'id':_0xff08f(0x30b),async 'handler'(_0x378bc7,_0x31d735){const _0x29708d=_0xff08f;var _0x1cf12f;if(!_0x31d735)return!0x1;const _0x3980c8=_0x378bc7[_0x29708d(0x235)](_0x5838cd),_0x1b0bd6=_0x32bc51(_0x3980c8);if(!_0x1b0bd6)return!0x1;const {unitId:_0x427ae2,subUnitId:_0x1db1d5,workbook:_0x112898}=_0x1b0bd6,{row:_0x3c2011,col:_0x16f634}=_0x31d735,_0x552cd8=_0x378bc7[_0x29708d(0x235)](Ne),_0x5b24d7=_0x552cd8[_0x29708d(0x249)](_0x427ae2,_0x1db1d5,_0x3c2011,_0x16f634);if(!_0x5b24d7)return!0x1;const _0x58c0ca=(_0x1cf12f=_0x552cd8[_0x29708d(0x153)](_0x427ae2,_0x1db1d5,_0x5b24d7))==null?void 0x0:_0x1cf12f[_0x29708d(0x142)];if(!_0x58c0ca)return!0x1;const _0x3d8729=_0x378bc7['get'](he)[_0x29708d(0x215)](_0x427ae2,_0x1db1d5,_0x5b24d7);if(!_0x3d8729)return!0x1;const {rowInfo:_0x90c058,colInfo:_0x2f3c4e}=_0x58c0ca,_0x187c9e=_0x90c058[_0x3c2011][_0x29708d(0x12e)],_0x5e33e2=_0x2f3c4e[_0x16f634][_0x29708d(0x12e)],_0x2f1876=_0x90c058[_0x3c2011][_0x29708d(0x1d0)],_0x365b3a=_0x2f3c4e[_0x16f634][_0x29708d(0x1d0)],_0x18064e=_0x187c9e[_0x29708d(0x182)](_0x5e33e2),_0x3cea21=_0x3d8729[_0x29708d(0x27b)][_0x29708d(0x221)][_0x29708d(0x1c5)](0x0,_0x2f1876),_0x5a8dde=_0x3d8729[_0x29708d(0x27b)][_0x29708d(0x2cd)][_0x29708d(0x1c5)](0x0,_0x365b3a),_0x219daa=_0x3cea21[_0x29708d(0x182)](_0x5a8dde),_0xe2ff5b=_0x18064e[_0x29708d(0x207)]((_0x5afb72,_0x6db6f7)=>[_0x5afb72,_0x219daa[_0x6db6f7]]),_0x22206a=(await _0x378bc7[_0x29708d(0x235)](Z)['getPivotDisplayConfig']({'unitId':_0x427ae2,'subUnitId':_0x1db1d5,'pivotTableId':_0x5b24d7,'params':{'type':k['DrillDown'],'drillDown':{'tuple':_0xe2ff5b}}}))[_0x29708d(0x180)]['drillDown'];if(!_0x22206a)return!0x1;const {indexes:_0x58c789,range:_0x24face,sourceUnitId:_0x2deb19,sourceSubUnitId:_0x1a0b44,formatMap:_0x8f71be}=_0x22206a,{startRow:_0x1ff138,endRow:_0xc26f36,startColumn:_0x2edae9,endColumn:_0x2b7536}=_0x24face,_0x4c6023=new _0x3beae7(),_0x4534c8=_0xc26f36-_0x1ff138,_0x1240de=_0x2b7536-_0x2edae9,_0x192d99={},_0x5ceb34=_0x32bc51(_0x3980c8,{'unitId':_0x2deb19,'subUnitId':_0x1a0b44});if(!_0x5ceb34)return!0x1;const _0x47b9e5=fe[_0x29708d(0xdf)],_0x50750c=fe[_0x29708d(0x1a5)],_0x20a6cf=fe[_0x29708d(0x1a5)],_0x2c5405=_0x112898[_0x29708d(0xab)]()[_0x29708d(0x17b)](_0x47b9e5),_0x2e71f0=_0x112898[_0x29708d(0xab)]()[_0x29708d(0x17b)](_0x50750c),_0x45c7fa=_0x112898['getStyles']()[_0x29708d(0x17b)](_0x20a6cf),{worksheet:_0x3090ce}=_0x5ceb34;let _0x392653=0x0;const _0x9f8d59=0x1;_0x58c789[_0x29708d(0x1b9)](_0x3c2cdc=>{const _0x225d0f=_0x29708d;for(let _0x51f3a8=0x0;_0x51f3a8<=_0x2b7536-_0x2edae9;_0x51f3a8++)_0x4c6023['setValue'](_0x392653,_0x51f3a8,_0x3090ce[_0x225d0f(0x243)](_0x3c2cdc+_0x24face[_0x225d0f(0x2d2)]+_0x9f8d59,_0x51f3a8));_0x392653++;});for(let _0x212a00=_0x2edae9;_0x212a00<=_0x2b7536;_0x212a00++){const _0x3908e8=_0x3090ce['getCellRaw'](_0x1ff138,_0x212a00);_0x192d99[_0x1ff138]||(_0x192d99[_0x1ff138]={}),_0x192d99[_0x1ff138][_0x212a00]={..._0x3908e8,'s':_0x2c5405};}let _0x140e0c=0x1;const _0x51070a={},_0xd32249={};_0x4c6023['forRow']((_0x511830,_0x57b91a)=>{_0x57b91a['forEach'](_0x1ad2c0=>{const _0x5867bb=_0x37bd,_0x334d03=_0x4c6023['getValue'](_0x511830,_0x1ad2c0);if(_0x192d99[_0x140e0c]||(_0x192d99[_0x140e0c]={}),_0x192d99[_0x140e0c][_0x1ad2c0]={..._0x334d03,'s':_0x140e0c%0x2===0x0?_0x45c7fa:_0x2e71f0},_0x8f71be[_0x1ad2c0]&&_0x511830>=0x0){const _0x452b90=_0x140e0c%0x2===0x0;let _0x4bba79=_0x452b90?_0xd32249[_0x1ad2c0]:_0x51070a[_0x1ad2c0];_0x4bba79||(_0x4bba79=_0x112898[_0x5867bb(0xab)]()[_0x5867bb(0x17b)]({..._0x452b90?_0x20a6cf:_0x50750c,'n':{'pattern':_0x8f71be[_0x1ad2c0]}}),_0x452b90?_0xd32249[_0x1ad2c0]=_0x4bba79:_0x51070a[_0x1ad2c0]=_0x4bba79),_0x192d99[_0x140e0c][_0x1ad2c0]['s']=_0x4bba79;}}),_0x140e0c++;});const _0x62258f=new _0x3beae7(_0x192d99),_0x3ac405={};_0x62258f[_0x29708d(0x187)]((_0xb015eb,_0x14322d,_0x1d2e73)=>{_0x3ac405[_0xb015eb]||(_0x3ac405[_0xb015eb]={}),_0x3ac405[_0xb015eb][_0x14322d]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x59cd6b=[],_0x26afe4=[],_0xa8bf3f=_0x112898[_0x29708d(0x220)]()['length'],_0x153fe0=_0xca9a85({'rowCount':Math[_0x29708d(0x24c)](_0x19a53d,_0x4534c8+0xa),'columnCount':Math[_0x29708d(0x24c)](_0x35ac26,_0x1240de+0x5)}),_0x4dc077=_0x378bc7[_0x29708d(0x235)](_0x1ca3ab);_0x153fe0['id']=_0x241bdb(),_0x153fe0[_0x29708d(0x246)]=_0x112898[_0x29708d(0x284)](''+_0x4dc077['t'](_0x29708d(0x150)));const _0x4929af={'index':_0xa8bf3f,'sheet':_0x153fe0,'unitId':_0x427ae2},_0xeb082f=_0xe74cff(_0x378bc7,_0x4929af);_0x26afe4[_0x29708d(0xc1)]({'id':_0x53bf66['id'],'params':_0x4929af}),_0x59cd6b['push']({'id':_0x784ca5['id'],'params':_0xeb082f}),_0x26afe4['push']({'id':_0x540f88['id'],'params':{'unitId':_0x427ae2,'subUnitId':_0x153fe0['id'],'cellValue':_0x192d99}}),_0x59cd6b[_0x29708d(0x21a)]({'id':_0x540f88['id'],'params':{'unitId':_0x427ae2,'subUnitId':_0x153fe0['id'],'cellValue':_0x3ac405}});const _0x250a6e={'startRow':0x0,'startColumn':0x0,'endRow':_0x140e0c-0x1,'endColumn':_0x2b7536};_0x26afe4[_0x29708d(0xc1)]({'id':_0x1a3763['id'],'params':{'unitId':_0x427ae2,'subUnitId':_0x153fe0['id'],'range':_0x250a6e}}),_0x59cd6b[_0x29708d(0x21a)]({'id':_0x4c5dd9['id'],'params':{'unitId':_0x427ae2,'subUnitId':_0x153fe0['id']}});const _0x1260e2=_0x378bc7[_0x29708d(0x235)](_0x596dde);return _0x5f176d(_0x26afe4,_0x1260e2)&&_0x378bc7[_0x29708d(0x235)](_0x3fa4c8)[_0x29708d(0x206)]({'unitID':_0x427ae2,'undoMutations':_0x59cd6b,'redoMutations':_0x26afe4}),!0x0;}},Cs={'type':_0x36da7e[_0xff08f(0xde)],'id':_0xff08f(0x295),async 'handler'(_0x5bb5ea,_0x3d294e){const _0x573509=_0xff08f;if(!_0x3d294e)return!0x1;const _0x299b98=_0x5bb5ea[_0x573509(0x235)](_0x596dde),_0x3605b0=_0x5bb5ea[_0x573509(0x235)](Z),_0xe0931b=_0x5bb5ea[_0x573509(0x235)](_0x3fa4c8),{pivotTableId:_0x17557f,fieldIds:_0x4314bf,unitId:_0x3aa344,subUnitId:_0x491498}=_0x3d294e,_0x33f3a7=(await _0x3605b0[_0x573509(0x27f)]({'unitId':_0x3aa344,'subUnitId':_0x491498,'pivotTableId':_0x17557f,'params':{'type':k[_0x573509(0x212)],'removePivotField':{'fieldIds':_0x4314bf}}}))[_0x573509(0x180)][_0x573509(0x200)];if(!_0x33f3a7)return!0x1;const {view:_0x1f20b2,changesets:_0x3f73d8,isEmpty:_0x1b3ae9,pivotTableConfig:_0x350d7a}=_0x33f3a7,_0x14617a=_0x350d7a['targetCellInfo'],_0xe7fbe0=new _0x26d2cd();_0xe7fbe0[_0x573509(0x165)](_0x1f20b2);const _0x5eb065={'cellInfo':_0x14617a,'view':_0xe7fbe0,'isEmpty':_0x1b3ae9};if(!await _0x5bb5ea[_0x573509(0x235)](ie)['asyncInterceptor'][_0x573509(0x1b1)](be)(!0x0,_0x5eb065))return!0x1;const _0x175e9e=we(_0x5bb5ea,_0xe7fbe0,_0x14617a,_0x1b3ae9),_0x267672=_e(_0x5bb5ea,_0x5eb065),{redos:_0xde5414,undos:_0x50107f}=me(_0x299b98,{'pivotTableId':_0x17557f,'unitId':_0x3aa344,'subUnitId':_0x491498},_0x3f73d8);return _0x5f176d([..._0x175e9e['redos'],..._0x267672[_0x573509(0x2ed)],..._0xde5414],_0x299b98),_0xe0931b[_0x573509(0x206)]({'unitID':_0x3aa344,'redoMutations':[..._0x175e9e[_0x573509(0x2ed)],..._0x267672[_0x573509(0x2ed)],..._0xde5414],'undoMutations':[..._0x175e9e['undos'],..._0x267672[_0x573509(0x160)],..._0x50107f]}),!0x0;}},bs={'type':_0x36da7e['COMMAND'],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x1000c9,_0x187c4d){const _0x496ae2=_0xff08f;var _0x3dae4d;const _0x1bb2f4=_0x1000c9['get'](_0x596dde),_0x5106e0=_0x1000c9['get'](Z),_0x3b63b3=_0x1000c9[_0x496ae2(0x235)](Ne),_0x3d2d73=_0x1000c9[_0x496ae2(0x235)](_0x5838cd),_0x316945=_0x1000c9[_0x496ae2(0x235)](_0x3fa4c8);if(!_0x187c4d)return!0x1;const {unitId:_0x2ea6ba,subUnitId:_0x6336b4,row:_0x561186,col:_0x3c335f,collapse:_0x51ca26}=_0x187c4d,_0x2c3489=_0x3d2d73[_0x496ae2(0x2cf)](_0x2ea6ba);if(!_0x2c3489||!_0x2c3489[_0x496ae2(0x2c4)](_0x6336b4))return!0x1;const _0x19a7b5=_0x3b63b3[_0x496ae2(0x249)](_0x2ea6ba,_0x6336b4,_0x561186,_0x3c335f);if(!_0x19a7b5)return!0x1;const _0x47dc67=_0x3b63b3[_0x496ae2(0x153)](_0x2ea6ba,_0x6336b4,_0x19a7b5);if(!_0x47dc67)return!0x1;const _0x4dd8ba=_0x1fea7f(_0x561186,_0x3c335f),{rangesInfo:_0x209260,areaInfo:_0x3c7b79,headerMap:_0x83c629}=_0x47dc67;if(!_0x209260||!_0x3c7b79||!_0x83c629)return!0x1;const _0x352aa4=Object[_0x496ae2(0x237)](_0x209260)[_0x496ae2(0x256)](_0x385bb3=>_0x209260[_0x385bb3]['some'](_0x26dcec=>_0x3356fe[_0x496ae2(0x291)](_0x26dcec,_0x4dd8ba)));let _0x32125d;_0x352aa4===_0x496ae2(0xe2)?_0x32125d=_0x83c629[_0x496ae2(0x2f5)][_0x3c335f]:_0x352aa4===_0x496ae2(0x1c7)&&(_0x32125d=_0x83c629[_0x496ae2(0xcb)][_0x561186]);const _0x43381b=_0x32125d==null?void 0x0:_0x32125d[_0x496ae2(0x195)],_0x261e6c=(_0x3dae4d=_0x3b63b3[_0x496ae2(0x259)](_0x2ea6ba,_0x6336b4,_0x561186,_0x3c335f))==null?void 0x0:_0x3dae4d['v'];if(_0x261e6c==null||!_0x19a7b5||!_0x43381b)return!0x1;const _0x45669d=await _0x5106e0[_0x496ae2(0x27f)]({'unitId':_0x2ea6ba,'subUnitId':_0x6336b4,'pivotTableId':_0x19a7b5,'params':{'type':k['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x43381b,'collapse':_0x51ca26,'item':_0x261e6c}}}),_0x10a2ec=_0x45669d==null?void 0x0:_0x45669d[_0x496ae2(0x180)]['setPivotCollapse'];if(!_0x10a2ec)return!0x1;const {view:_0x36c4e4,pivotTableConfig:_0x592c10,isEmpty:_0xa17d81,changesets:_0x2263ae}=_0x10a2ec,_0x58e3ec=new _0x26d2cd();_0x58e3ec[_0x496ae2(0x165)](_0x36c4e4);const _0x6a426c=_0x592c10['targetCellInfo'],_0x27a436={'cellInfo':_0x6a426c,'view':_0x58e3ec,'isEmpty':_0xa17d81};if(!await _0x1000c9[_0x496ae2(0x235)](ie)[_0x496ae2(0x267)][_0x496ae2(0x1b1)](be)(!0x0,_0x27a436))return!0x1;const _0x2d242e=we(_0x1000c9,_0x58e3ec,_0x6a426c,_0xa17d81),_0x400b64=_e(_0x1000c9,_0x27a436),{redos:_0x3e01dc,undos:_0x39e1e5}=me(_0x1bb2f4,{'pivotTableId':_0x19a7b5,'unitId':_0x2ea6ba,'subUnitId':_0x6336b4},_0x2263ae);return _0x5f176d([..._0x2d242e[_0x496ae2(0x2ed)],..._0x400b64[_0x496ae2(0x2ed)],..._0x3e01dc],_0x1bb2f4),_0x316945[_0x496ae2(0x206)]({'unitID':_0x2ea6ba,'redoMutations':[..._0x2d242e[_0x496ae2(0x2ed)],..._0x400b64[_0x496ae2(0x2ed)],..._0x3e01dc],'undoMutations':[..._0x2d242e[_0x496ae2(0x160)],..._0x400b64['undos'],..._0x39e1e5]}),!0x0;}},Ss={'type':_0x36da7e[_0xff08f(0xde)],'id':_0xff08f(0x18e),async 'handler'(_0x3f961b,_0x251e64){const _0x24207a=_0xff08f;if(!_0x251e64)return!0x1;const _0x12da69=_0x3f961b[_0x24207a(0x235)](_0x596dde),{pivotTableId:_0x53c329,tableFieldId:_0x23232c,items:_0x2d7ed7,unitId:_0x4c352e,subUnitId:_0xebfcc0,isAll:_0x36aa89}=_0x251e64,_0xd61c21=_0x3f961b['get'](Z),_0xdcfe23=_0x3f961b['get'](_0x3fa4c8),_0x450295=(await _0xd61c21[_0x24207a(0x27f)]({'unitId':_0x4c352e,'subUnitId':_0xebfcc0,'pivotTableId':_0x53c329,'params':{'type':k[_0x24207a(0x16d)],'setPivotFilter':{'tableFieldId':_0x23232c,'items':_0x2d7ed7,'isAll':_0x36aa89}}}))['result'][_0x24207a(0x1fb)];if(!_0x450295)return!0x1;const {changesets:_0x4e1238,pivotTableConfig:_0x1fbdaa,isEmpty:_0x4f01dc,view:_0x4642d9}=_0x450295,_0x121dfb=_0x1fbdaa[_0x24207a(0x177)],_0x5be311=new _0x26d2cd();_0x5be311['formJSON'](_0x4642d9);const _0x153e33={'cellInfo':_0x121dfb,'view':_0x5be311,'isEmpty':_0x4f01dc};if(!await _0x3f961b['get'](ie)[_0x24207a(0x267)][_0x24207a(0x1b1)](be)(!0x0,_0x153e33))return!0x1;const _0x15df9e=we(_0x3f961b,_0x5be311,_0x121dfb,_0x4f01dc),_0x5a4648=_e(_0x3f961b,_0x153e33),{undos:_0x1c7d39,redos:_0x527e97}=me(_0x12da69,{'pivotTableId':_0x53c329,'unitId':_0x4c352e,'subUnitId':_0xebfcc0},_0x4e1238);return _0x5f176d([..._0x15df9e['redos'],..._0x5a4648[_0x24207a(0x2ed)],..._0x527e97],_0x12da69),_0xdcfe23[_0x24207a(0x206)]({'unitID':_0x4c352e,'redoMutations':[..._0x15df9e['redos'],..._0x5a4648[_0x24207a(0x2ed)],..._0x527e97],'undoMutations':[..._0x15df9e[_0x24207a(0x160)],..._0x5a4648[_0x24207a(0x160)],..._0x1c7d39]}),!0x0;}},Ts={'type':_0x36da7e[_0xff08f(0xde)],'id':_0xff08f(0x10d),async 'handler'(_0x436f7e,_0x558587){const _0x35f0c1=_0xff08f;if(!_0x558587)return!0x1;const _0x1816a4=_0x436f7e['get'](_0x596dde),_0x366688=_0x436f7e[_0x35f0c1(0x235)](_0x3fa4c8),_0x2a5160=_0x436f7e[_0x35f0c1(0x235)](Z),{info:_0x4b6b12,tableFieldId:_0xa50b58,pivotTableId:_0xd0602a,unitId:_0x2c7d59,subUnitId:_0x1433d5}=_0x558587,_0x280139=(await _0x2a5160['getPivotDisplayConfig']({'unitId':_0x2c7d59,'subUnitId':_0x1433d5,'pivotTableId':_0xd0602a,'params':{'type':k[_0x35f0c1(0x2b7)],'setPivotSort':{'tableFieldId':_0xa50b58,'info':_0x4b6b12}}}))['result'][_0x35f0c1(0xf5)];if(!_0x280139)return!0x1;const {changesets:_0x11ac1f}=_0x280139,{redos:_0x1a2c4b,undos:_0x10b7ef}=me(_0x1816a4,{'pivotTableId':_0xd0602a,'unitId':_0x2c7d59,'subUnitId':_0x1433d5},_0x11ac1f);return _0x5f176d(_0x1a2c4b,_0x1816a4),_0x366688[_0x35f0c1(0x206)]({'unitID':_0x2c7d59,'redoMutations':_0x1a2c4b,'undoMutations':_0x10b7ef}),!0x0;}},Ps={'type':_0x36da7e['COMMAND'],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x372e1e,_0x4c15ae){const _0x3a23d0=_0xff08f;if(!_0x4c15ae)return!0x1;const _0x11dd1=_0x372e1e['get'](_0x596dde),_0x4784a9=_0x372e1e['get'](_0x3fa4c8),_0x4f4e90=_0x372e1e[_0x3a23d0(0x235)](Z),{displayName:_0x1086f2,subtotalType:_0x59dac2,format:_0x22a50e,tableFieldId:_0x27f849,pivotTableId:_0x98b6ba,unitId:_0x22f24f,subUnitId:_0x371579}=_0x4c15ae,_0x5c7a1f=(await _0x4f4e90[_0x3a23d0(0x27f)]({'unitId':_0x22f24f,'subUnitId':_0x371579,'pivotTableId':_0x98b6ba,'params':{'type':k[_0x3a23d0(0x11e)],'setPivotSetting':{'tableFieldId':_0x27f849,'displayName':_0x1086f2,'subtotalType':_0x59dac2,'format':_0x22a50e}}}))[_0x3a23d0(0x180)][_0x3a23d0(0x2b2)];if(!_0x5c7a1f)return!0x1;const {changesets:_0x95d64e,view:_0x101a96,pivotTableConfig:_0x51b73d,isEmpty:_0xeddd80}=_0x5c7a1f,_0xc6ad2=_0x51b73d[_0x3a23d0(0x177)],_0x24acac=new _0x26d2cd();_0x24acac[_0x3a23d0(0x165)](_0x101a96);const _0x452f84={'cellInfo':_0xc6ad2,'view':_0x24acac,'isEmpty':_0xeddd80};if(!await _0x372e1e['get'](ie)['asyncInterceptor'][_0x3a23d0(0x1b1)](be)(!0x0,_0x452f84))return!0x1;const _0x18753b=we(_0x372e1e,_0x24acac,_0xc6ad2,_0xeddd80),_0x3d0ea9=_e(_0x372e1e,_0x452f84),{undos:_0x10e264,redos:_0x2599ba}=me(_0x11dd1,{'pivotTableId':_0x98b6ba,'unitId':_0x22f24f,'subUnitId':_0x371579},_0x95d64e);return _0x5f176d([..._0x18753b[_0x3a23d0(0x2ed)],..._0x3d0ea9[_0x3a23d0(0x2ed)],..._0x2599ba],_0x11dd1),_0x4784a9[_0x3a23d0(0x206)]({'unitID':_0x22f24f,'redoMutations':[..._0x18753b[_0x3a23d0(0x2ed)],..._0x3d0ea9[_0x3a23d0(0x2ed)],..._0x2599ba],'undoMutations':[..._0x18753b[_0x3a23d0(0x160)],..._0x3d0ea9[_0x3a23d0(0x160)],..._0x10e264]}),!0x0;}},Ms={'type':_0x36da7e['COMMAND'],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x4d95ee,_0xce2291){const _0x9adf84=_0xff08f,_0x465068=_0x4d95ee['get'](_0x596dde),_0x2bc97b=_0x4d95ee[_0x9adf84(0x235)](Z),_0x3d75cf=_0x4d95ee[_0x9adf84(0x235)](_0x3fa4c8);if(!_0xce2291)return!0x1;const {token:_0xc4cfaa,dataRangeInfo:_0x1ea0c1,unitId:_0x4514bd,subUnitId:_0x43f68f}=_0xce2291,_0x43704c=[],_0x49a081=[],_0x1ba1f7=(await _0x2bc97b[_0x9adf84(0x27f)]({'unitId':_0x4514bd,'subUnitId':_0x43f68f,'pivotTableId':_0xc4cfaa,'params':{'type':k[_0x9adf84(0x26b)],'updatePivotSource':{'dataRangeInfo':_0x1ea0c1,'unitId':_0x4514bd,'subUnitId':_0x43f68f}}}))[_0x9adf84(0x180)][_0x9adf84(0x286)];if(!_0x1ba1f7)return!0x1;const {changesets:_0x1a5e8a,deleteIds:_0x44a12b,collectionConfig:_0x17387f,oldCollectionConfig:_0x3c8ef0,view:_0x112a33,isEmpty:_0x305f44,pivotTableConfig:_0xe038c7}=_0x1ba1f7;_0x49a081[_0x9adf84(0xc1)]({'id':to['id'],'params':{'pivotTableId':_0xc4cfaa,'deleteIds':_0x44a12b,'collectionJSON':_0x17387f,'dataRangeInfo':_0x1ea0c1,'unitId':_0x4514bd,'subUnitId':_0x43f68f}}),_0x43704c[_0x9adf84(0x21a)]({'id':to['id'],'params':{'pivotTableId':_0xc4cfaa,'deleteIds':[],'collectionJSON':_0x3c8ef0,'dataRangeInfo':_0xe038c7['sourceRangeInfo'],'unitId':_0x4514bd,'subUnitId':_0x43f68f}});const _0x301ba9=_0xe038c7[_0x9adf84(0x177)],_0x223207=new _0x26d2cd();_0x223207[_0x9adf84(0x165)](_0x112a33);const _0x210321={'cellInfo':_0x301ba9,'view':_0x223207,'isEmpty':_0x305f44};if(!await _0x4d95ee[_0x9adf84(0x235)](ie)['asyncInterceptor'][_0x9adf84(0x1b1)](be)(!0x0,_0x210321))return!0x1;const _0x10f4aa=we(_0x4d95ee,_0x223207,_0x301ba9,_0x305f44),_0x4edc62=_e(_0x4d95ee,_0x210321),{undos:_0xfcdae7,redos:_0x262ee7}=me(_0x465068,{'pivotTableId':_0xc4cfaa,'unitId':_0x4514bd,'subUnitId':_0x43f68f},_0x1a5e8a);return _0x5f176d([..._0x10f4aa[_0x9adf84(0x2ed)],..._0x4edc62[_0x9adf84(0x2ed)],..._0x49a081,..._0xfcdae7],_0x465068),_0x3d75cf['pushUndoRedo']({'unitID':_0x4514bd,'redoMutations':[..._0x10f4aa['redos'],..._0x4edc62[_0x9adf84(0x2ed)],..._0x49a081,..._0xfcdae7],'undoMutations':[..._0x10f4aa[_0x9adf84(0x160)],..._0x4edc62[_0x9adf84(0x160)],..._0x43704c,..._0x262ee7]}),!0x0;}},ys={'type':_0x36da7e['COMMAND'],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x509ecb,_0x192e34){const _0x2438cb=_0xff08f;if(!_0x192e34)return!0x1;const _0x1f9a86=_0x509ecb['get'](_0x596dde),_0x5ee24a=_0x509ecb[_0x2438cb(0x235)](Z),_0x39db3b=_0x509ecb[_0x2438cb(0x235)](_0x5838cd),_0x14f9eb=_0x509ecb[_0x2438cb(0x235)](_0x3fa4c8),{pivotTableId:_0x169cf9,position:_0x540194,index:_0x3083cd}=_0x192e34,_0x340810=_0x32bc51(_0x39db3b);if(!_0x340810)return!0x1;const {unitId:_0x3878d6,subUnitId:_0x4bc1b5}=_0x340810,_0x3d0b1c=(await _0x5ee24a['getPivotDisplayConfig']({'unitId':_0x3878d6,'subUnitId':_0x4bc1b5,'pivotTableId':_0x169cf9,'params':{'type':k['UpdateValuePosition'],'updateValuePosition':{'position':_0x540194,'index':_0x3083cd}}}))[_0x2438cb(0x180)][_0x2438cb(0x11c)];if(!_0x3d0b1c)return!0x1;const {changesets:_0x10e12c,view:_0x741101,isEmpty:_0x2ee9c6,pivotTableConfig:_0x6b4e9}=_0x3d0b1c,_0x5305d8=_0x6b4e9[_0x2438cb(0x177)],_0x1ec9eb=new _0x26d2cd();_0x1ec9eb[_0x2438cb(0x165)](_0x741101);const _0xa5781a=_0x509ecb[_0x2438cb(0x235)](ie),_0x2cda8c={'cellInfo':_0x5305d8,'view':_0x1ec9eb,'isEmpty':_0x2ee9c6};if(!await _0xa5781a[_0x2438cb(0x267)][_0x2438cb(0x1b1)](be)(!0x0,_0x2cda8c))return!0x1;const _0x5500a5=we(_0x509ecb,_0x1ec9eb,_0x5305d8,_0x2ee9c6),_0x302a81=_e(_0x509ecb,_0x2cda8c),{undos:_0x48a46d,redos:_0x2a87e0}=me(_0x1f9a86,{'pivotTableId':_0x169cf9,'unitId':_0x3878d6,'subUnitId':_0x4bc1b5},_0x10e12c);return _0x5f176d([..._0x5500a5[_0x2438cb(0x2ed)],..._0x302a81['redos'],..._0x2a87e0],_0x1f9a86),_0x14f9eb[_0x2438cb(0x206)]({'unitID':_0x3878d6,'redoMutations':[..._0x5500a5[_0x2438cb(0x2ed)],..._0x302a81[_0x2438cb(0x2ed)],..._0x2a87e0],'undoMutations':[..._0x5500a5[_0x2438cb(0x160)],..._0x302a81[_0x2438cb(0x160)],..._0x48a46d]}),!0x0;}},ws={'type':_0x36da7e[_0xff08f(0xde)],'id':_0xff08f(0x123),'handler':(_0x3233f9,_0xc707e)=>{const _0x5a6e5d=_0xff08f,_0x1d4341=_0x3233f9[_0x5a6e5d(0x235)](_0x596dde),_0x186d68=_0x3233f9[_0x5a6e5d(0x235)](_0x3fa4c8),_0x4b73e4=_0x3233f9['get'](he),_0x4fba08=_0x3233f9['get'](_0x5838cd);if(!_0xc707e)return!0x1;const _0x2654d8=_0x32bc51(_0x4fba08);if(!_0x2654d8)return!0x1;const {unitId:_0x2e4daa,subUnitId:_0x45db87,workbook:_0x449291}=_0x2654d8,_0x358b72=_0x4b73e4['getPivotTableConfig'](_0xc707e[_0x5a6e5d(0x163)][_0x5a6e5d(0xad)],_0xc707e['originTargetInfo'][_0x5a6e5d(0x174)],_0xc707e[_0x5a6e5d(0x2d8)]);if(!_0x358b72)return!0x1;const _0xf0893d=_0x449291['getSheetBySheetId'](_0xc707e['targetCellInfo'][_0x5a6e5d(0x174)]);if(!_0xf0893d)throw new Error(_0x5a6e5d(0xb7));const _0x7f072=_0xf0893d[_0x5a6e5d(0x209)](),_0x390d96=_0xf0893d[_0x5a6e5d(0x1a7)]();if(_0xc707e['targetCellInfo'][_0x5a6e5d(0x108)]>_0x7f072||_0xc707e[_0x5a6e5d(0x177)][_0x5a6e5d(0x247)]>_0x390d96)throw new Error(_0x5a6e5d(0xaf));const _0xabe020=[{'id':pt['id'],'params':{'unitId':_0x2e4daa,'subUnitId':_0xc707e['targetCellInfo'][_0x5a6e5d(0x174)],'pivotTableId':_0xc707e[_0x5a6e5d(0x2d8)],'targetCellPosition':{'row':_0xc707e[_0x5a6e5d(0x177)][_0x5a6e5d(0x108)],'col':_0xc707e['targetCellInfo'][_0x5a6e5d(0x247)]}}}],_0x1ac5bc=[{'id':pt['id'],'params':{'unitId':_0x2e4daa,'subUnitId':_0x45db87,'pivotTableId':_0xc707e[_0x5a6e5d(0x2d8)],'targetCellPosition':{'row':_0x358b72[_0x5a6e5d(0x177)]['row'],'col':_0x358b72[_0x5a6e5d(0x177)][_0x5a6e5d(0x247)]}}}];return _0x5f176d(_0xabe020,_0x1d4341)&&_0x186d68[_0x5a6e5d(0x206)]({'unitID':_0x2e4daa,'undoMutations':_0x1ac5bc,'redoMutations':_0xabe020}),!0x0;}},_s={'type':_0x36da7e[_0xff08f(0xde)],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0xbac2e2,_0x18b9fa){const _0xb534de=_0xff08f;if(!_0x18b9fa)return!0x1;const _0x5861c6=_0xbac2e2[_0xb534de(0x235)](_0x596dde),{pivotTableId:_0x1905e1,fieldId:_0x3ed0b6,valueFilterInfo:_0x5ebe85,unitId:_0x52741a,subUnitId:_0x431ea8}=_0x18b9fa,_0x47cb37=_0xbac2e2[_0xb534de(0x235)](Z),_0x1906c8=_0xbac2e2[_0xb534de(0x235)](_0x3fa4c8),_0x34dd58=(await _0x47cb37[_0xb534de(0x27f)]({'unitId':_0x52741a,'subUnitId':_0x431ea8,'pivotTableId':_0x1905e1,'params':{'type':k[_0xb534de(0x1e3)],'setValuePivotFilter':{'tableFieldId':_0x3ed0b6,'filterInfo':_0x5ebe85}}}))[_0xb534de(0x180)][_0xb534de(0xfb)];if(!_0x34dd58)return!0x1;const {changesets:_0x19eb65,pivotTableConfig:_0x5405ee,isEmpty:_0x526806,view:_0x3ddaf0}=_0x34dd58,_0x1012cd=_0x5405ee[_0xb534de(0x177)],_0x376e41=new _0x26d2cd();_0x376e41['formJSON'](_0x3ddaf0);const _0x4b72b4={'cellInfo':_0x1012cd,'view':_0x376e41,'isEmpty':_0x526806};if(!await _0xbac2e2[_0xb534de(0x235)](ie)['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x0,_0x4b72b4))return!0x1;const _0x9bbb52=we(_0xbac2e2,_0x376e41,_0x1012cd,_0x526806),_0x1b189a=_e(_0xbac2e2,_0x4b72b4),{undos:_0x1289e2,redos:_0x1ccbe3}=me(_0x5861c6,{'pivotTableId':_0x1905e1,'unitId':_0x52741a,'subUnitId':_0x431ea8},_0x19eb65);return _0x5f176d([..._0x9bbb52[_0xb534de(0x2ed)],..._0x1b189a[_0xb534de(0x2ed)],..._0x1ccbe3],_0x5861c6),_0x1906c8[_0xb534de(0x206)]({'unitID':_0x52741a,'redoMutations':[..._0x9bbb52['redos'],..._0x1b189a[_0xb534de(0x2ed)],..._0x1ccbe3],'undoMutations':[..._0x9bbb52[_0xb534de(0x160)],..._0x1b189a['undos'],..._0x1289e2]}),!0x0;}},Fs={'type':_0x36da7e['COMMAND'],'id':_0xff08f(0x107),async 'handler'(_0x404edd,_0x826e8a){const _0x3e841f=_0xff08f;if(!_0x826e8a)return!0x1;const _0x183174=_0x404edd[_0x3e841f(0x235)](_0x596dde),_0x4a4852=_0x404edd[_0x3e841f(0x235)](_0x3fa4c8),_0x31985d=_0x404edd[_0x3e841f(0x235)](Z),{pivotTableConfig:_0x3076c7,pivotTableId:_0x40996b,unitId:_0x5ad849,subUnitId:_0x13ee66}=_0x826e8a,_0x1e7128=(await _0x31985d[_0x3e841f(0x27f)]({'unitId':_0x5ad849,'subUnitId':_0x13ee66,'pivotTableId':_0x40996b,'params':{'type':k[_0x3e841f(0x2eb)],'setPivotTableConfig':{'pivotTableId':_0x40996b,'pivotTableConfig':_0x3076c7}}}))[_0x3e841f(0x180)][_0x3e841f(0x18a)];if(!_0x1e7128)return!0x1;const {changesets:_0x3d6211}=_0x1e7128,{redos:_0x1a57c3,undos:_0x321e47}=me(_0x183174,{'pivotTableId':_0x40996b,'unitId':_0x5ad849,'subUnitId':_0x13ee66},_0x3d6211);return _0x5f176d(_0x1a57c3,_0x183174),_0x4a4852[_0x3e841f(0x206)]({'unitID':_0x5ad849,'redoMutations':_0x1a57c3,'undoMutations':_0x321e47}),!0x0;}},Rs={'type':_0x36da7e[_0xff08f(0xde)],'id':_0xff08f(0x203),async 'handler'(_0x569216,_0x1cdb3a){const _0x519393=_0xff08f;if(!_0x1cdb3a)return!0x1;const _0x572d97=_0x569216['get'](_0x596dde),_0x3ad045=_0x569216[_0x519393(0x235)](_0x3fa4c8),_0x2e94d4=_0x569216['get'](Z),{resetArea:_0x1840ad,pivotTableId:_0x2c2260,unitId:_0x21efd5,subUnitId:_0x3d85dc}=_0x1cdb3a,_0x271dcc=(await _0x2e94d4[_0x519393(0x27f)]({'unitId':_0x21efd5,'subUnitId':_0x3d85dc,'pivotTableId':_0x2c2260,'params':{'type':k['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x2c2260,'resetArea':_0x1840ad}}}))['result'][_0x519393(0x202)];if(!_0x271dcc)return!0x1;const {changesets:_0x1c5377}=_0x271dcc,{redos:_0x4b4779,undos:_0x934606}=me(_0x572d97,{'pivotTableId':_0x2c2260,'unitId':_0x21efd5,'subUnitId':_0x3d85dc},_0x1c5377);return _0x5f176d(_0x4b4779,_0x572d97),_0x3ad045[_0x519393(0x206)]({'unitID':_0x21efd5,'redoMutations':_0x4b4779,'undoMutations':_0x934606}),!0x0;}},oo={'id':_0xff08f(0x26f),'type':_0x36da7e[_0xff08f(0x16b)],'handler':(_0x591be8,_0x5f0250)=>{const _0x5f5b1a=_0xff08f;if(!_0x5f0250)return!0x1;if(!!_0x591be8[_0x5f5b1a(0x235)](_0x56c73b)[_0x5f5b1a(0x181)](q))return!0x0;const {unitId:_0x2a90e4,subUnitId:_0x3f6201,pivotTableId:_0x1ab58d,tableFieldId:_0x57b665,dateType:_0x4e1898}=_0x5f0250,_0x174bc7=_0x591be8[_0x5f5b1a(0x235)]($),_0x3c9ec5=_0x174bc7[_0x5f5b1a(0x191)](_0x1ab58d);if(!_0x3c9ec5)return!0x1;const _0x204cc8=_0x3c9ec5[_0x5f5b1a(0xa2)](_0x57b665);if(!_0x204cc8)return!0x1;const _0x1c0f04=_0x204cc8[_0x5f5b1a(0x279)](),_0x395d58=_0x3c9ec5[_0x5f5b1a(0x261)](_0x1c0f04),_0x37a7ce=(_0x395d58==null?void 0x0:_0x395d58[_0x5f5b1a(0x2de)]())+'\x20'+qo(_0x591be8,_0x4e1898);_0x174bc7[_0x5f5b1a(0x116)](_0x2a90e4,_0x1ab58d)[_0x5f5b1a(0x306)](_0x204cc8['id'],_0x37a7ce);const _0x2a1e6f=_0x3c9ec5[_0x5f5b1a(0xe1)](_0x57b665);if(!_0x2a1e6f)return!0x1;_0x3c9ec5[_0x5f5b1a(0x1a0)](_0x2a1e6f['getId'](),_0x37a7ce),_0x204cc8['setDateType'](_0x4e1898);const _0x3d0fa4=_0x174bc7[_0x5f5b1a(0x215)](_0x2a90e4,_0x3f6201,_0x1ab58d);return _0x174bc7['addDirtyPivotTable']({'unitId':_0x2a90e4,'subUnitId':_0x3f6201,'token':_0x1ab58d,'type':K[_0x5f5b1a(0xd9)],'pivotConfig':_0x3d0fa4}),!0x0;}},Ds={'id':_0xff08f(0x217),'type':_0x36da7e['COMMAND'],'handler':(_0xbe2a50,_0x5cba54)=>{const _0x4ea9fd=_0xff08f;if(!_0x5cba54)return!0x1;const _0x133b43=_0xbe2a50[_0x4ea9fd(0x235)](_0x3fa4c8),{unitId:_0x54e2cc,subUnitId:_0xa76148,pivotTableId:_0x2a7b7b,tableFieldId:_0x31a193}=_0x5cba54,_0x3766d9=[],_0x59b7bd=[],_0x3e215d=_0xbe2a50[_0x4ea9fd(0x235)](he),_0x1c1965=_0x3e215d[_0x4ea9fd(0x116)](_0x54e2cc,_0x2a7b7b),_0x3d6185=_0x3e215d[_0x4ea9fd(0x215)](_0x54e2cc,_0xa76148,_0x2a7b7b);if(!(_0x3d6185!=null&&_0x3d6185[_0x4ea9fd(0x27b)][_0x4ea9fd(0x190)]))return!0x1;const _0x3690c6=Object[_0x4ea9fd(0x293)](_0x3d6185[_0x4ea9fd(0x27b)]['dimension'])[_0x4ea9fd(0x256)](_0xfd8940=>_0xfd8940['id']===_0x31a193);if(!_0x3690c6)return!0x1;const _0x274810=_0x3690c6[_0x4ea9fd(0x144)];if(!(_0x1c1965!=null&&_0x1c1965[_0x4ea9fd(0x2f3)]))return!0x1;const _0xaaf884=Object[_0x4ea9fd(0x293)](_0x1c1965==null?void 0x0:_0x1c1965[_0x4ea9fd(0x2f3)])[_0x4ea9fd(0x256)](_0x3d6df0=>_0x3d6df0['id']===_0x274810);if(!_0xaaf884)return!0x1;_0x496b03(_0xaaf884)&&_0x3766d9[_0x4ea9fd(0xc1)]({'id':oo['id'],'params':{..._0x5cba54,'dateType':_0xaaf884[_0x4ea9fd(0x298)]}}),_0x59b7bd[_0x4ea9fd(0xc1)]({'id':oo['id'],'params':{..._0x5cba54}});const _0x5059b7=_0xbe2a50[_0x4ea9fd(0x235)](_0x596dde);return _0x5f176d(_0x59b7bd,_0x5059b7)&&_0x133b43[_0x4ea9fd(0x206)]({'unitID':_0x54e2cc,'undoMutations':_0x3766d9,'redoMutations':_0x59b7bd}),!0x0;}};var Ns=Object['getOwnPropertyDescriptor'],Us=(_0x45de6,_0x37f6bd,_0x4de56b,_0x51264a)=>{const _0x2ddf70=_0xff08f;for(var _0x36f7f6=_0x51264a>0x1?void 0x0:_0x51264a?Ns(_0x37f6bd,_0x4de56b):_0x37f6bd,_0x3a97c5=_0x45de6[_0x2ddf70(0x1a8)]-0x1,_0x486e80;_0x3a97c5>=0x0;_0x3a97c5--)(_0x486e80=_0x45de6[_0x3a97c5])&&(_0x36f7f6=_0x486e80(_0x36f7f6)||_0x36f7f6);return _0x36f7f6;},He=(_0x445049,_0x513cc5)=>(_0x300afc,_0x5baa61)=>_0x513cc5(_0x300afc,_0x5baa61,_0x445049);const Vs=()=>({'runtimeCellData':{},'dirtyRanges':{}}),xs=(_0xbe68c5,_0x3cd8a6,_0x32be5c)=>{const _0x817d5c=_0xff08f,_0x1ac171=_0xbe68c5[_0x817d5c(0x149)];_0xbe68c5[_0x817d5c(0x1ec)](_0x39928e=>{const _0x4b5dc4=_0x817d5c,_0x3f1b0b=_0x39928e[_0x4b5dc4(0x91)](),_0xc70b40=_0x39928e['getDataFieldId'](),_0x5019a2=_0x39928e[_0x4b5dc4(0x15b)](),_0x17b7cf=_0x39928e[_0x4b5dc4(0x14c)]();_0x3cd8a6[_0xc70b40]&&_0x3cd8a6[_0xc70b40]===_0x17b7cf&&_0x5019a2===_0x17b7cf&&(_0xbe68c5[_0x4b5dc4(0x1a0)](_0x3f1b0b,_0x1ac171[_0x4b5dc4(0x14c)](_0xc70b40)),_0x39928e[_0x4b5dc4(0x28e)](_0x1ac171[_0x4b5dc4(0x14c)](_0xc70b40)));}),_0xbe68c5[_0x817d5c(0xf7)](_0x2849b6[_0x817d5c(0x24e)],_0x4c49a8=>{const _0x545db0=_0x817d5c,_0x52880f=_0x4c49a8[_0x545db0(0x91)](),_0x47c613=_0x4c49a8[_0x545db0(0x2a6)](),_0x4c5116=_0x4c49a8[_0x545db0(0x15b)](),_0x3f434c=_0x4c49a8['getDisplayName'](),_0x32f87f=_0x4c49a8[_0x545db0(0x106)](),_0x1b7178=_0x32be5c(_0x4c5116,_0x32f87f);_0x3cd8a6[_0x47c613]&&_0x3cd8a6[_0x47c613]===_0x4c5116&&_0x1b7178===_0x3f434c&&(_0xbe68c5[_0x545db0(0x1a0)](_0x52880f,_0x32be5c(_0x1ac171[_0x545db0(0x14c)](_0x47c613),_0x32f87f)),_0x4c49a8[_0x545db0(0x28e)](_0x1ac171['getDisplayName'](_0x47c613)));});},Es=(_0x2620f3,_0x3d19a7,_0x59a84)=>{const _0xc2408e=_0xff08f;var _0x407bb2,_0x3d9be5;const {arrayFormulaCellData:_0x1c9b87,unitData:_0x32f147}=_0x3d19a7,{unitId:_0x471679,subUnitId:_0x14e5f2}=_0x59a84,_0x5ec941=_0x59a84['range'],{startColumn:_0x1f708f,endColumn:_0x27cbb5}=_0x5ec941,_0x5a207a=(_0x407bb2=_0x1c9b87==null?void 0x0:_0x1c9b87[_0x471679])==null?void 0x0:_0x407bb2[_0x14e5f2],_0x2c10ae=(_0x3d9be5=_0x32f147==null?void 0x0:_0x32f147[_0x471679])==null?void 0x0:_0x3d9be5[_0x14e5f2],_0x4c4e1b=new Set(),_0x490b6d=_0x27cbb5-_0x1f708f+0x1,{dirtyRanges:_0x1b6272}=_0x2620f3;if(_0x1b6272)for(const {range:_0x41e29b,sheetId:_0x36acfa,unitId:_0x40d484}of _0x1b6272){if(_0x36acfa!==_0x14e5f2||_0x471679!==_0x40d484)continue;const _0x2cddd8=_0x3356fe['getIntersects'](_0x41e29b,_0x5ec941);if(_0x2cddd8){const {startColumn:_0x37ebf4,endColumn:_0x387707}=_0x2cddd8;for(let _0x5eed94=_0x37ebf4;_0x5eed94<=_0x387707;_0x5eed94++)_0x4c4e1b[_0xc2408e(0x15c)](_0x5eed94);}}if(_0x4c4e1b[_0xc2408e(0x129)]===_0x490b6d||_0x4c4e1b[_0xc2408e(0x129)]===_0x490b6d)return Array[_0xc2408e(0x232)](_0x4c4e1b);if(_0x2c10ae){const _0x1f1ff2=_0x2c10ae[_0xc2408e(0x210)](),_0x5bdf4c=Object[_0xc2408e(0x237)](_0x1f1ff2);for(const _0x4bb64d of _0x5bdf4c){const _0x111234=Number(_0x4bb64d),_0x2b4a89=_0x1f1ff2[_0x111234];if(_0x4c4e1b[_0xc2408e(0x129)]===_0x490b6d)break;for(const _0x566b22 in _0x2b4a89){const _0x56c3ef=Number(_0x566b22);_0x56c3ef<_0x1f708f||_0x56c3ef>_0x27cbb5||_0x4c4e1b[_0xc2408e(0x15c)](_0x56c3ef);}}}if(_0x5a207a){const _0x569f65=_0x5a207a[_0xc2408e(0x210)](),_0x53bd7a=Object['keys'](_0x569f65);for(const _0x152b33 of _0x53bd7a){const _0x5a5abe=Number(_0x152b33),_0x1de6d8=_0x569f65[_0x5a5abe];if(_0x4c4e1b[_0xc2408e(0x129)]===_0x490b6d)break;for(const _0x4c2233 in _0x1de6d8){const _0x388347=Number(_0x4c2233);_0x388347<_0x1f708f||_0x388347>_0x27cbb5||_0x4c4e1b[_0xc2408e(0x15c)](_0x388347);}}}return Array[_0xc2408e(0x232)](_0x4c4e1b);},Os=_0x482b2b=>{const _0x5e9347=_0xff08f,_0x7f1e85=new Set(),_0x1d3593=[];for(const _0x4ef377 of _0x482b2b){const _0x5a2ec1=_0x4ef377['startRow']+','+_0x4ef377['endRow']+','+_0x4ef377[_0x5e9347(0x136)]+','+_0x4ef377[_0x5e9347(0x1fe)];_0x7f1e85['has'](_0x5a2ec1)||(_0x7f1e85['add'](_0x5a2ec1),_0x1d3593[_0x5e9347(0xc1)](_0x4ef377));}return _0x1d3593;};let ct=class extends _0x51d9e7{constructor(_0x2659a3,_0x16852b,_0x146e5e,_0x5de226,_0x4865d9,_0xb7b58b){const _0x3ab7a0=_0xff08f;super(),V(this,'_globalSubject',new _0x3b2e28(!0x0)),V(this,_0x3ab7a0(0x139),_0x1d0993=>{const _0x180578=_0x3ab7a0;this[_0x180578(0x26a)]['next'](!0x1);}),V(this,'_globalComputedEndHelpFunc',_0x202851=>{const _0x3de2ce=_0x3ab7a0;this[_0x3de2ce(0x26a)]['next'](!0x0);}),(this[_0x3ab7a0(0x9a)]=_0x2659a3,this[_0x3ab7a0(0x2e7)]=_0x16852b,this[_0x3ab7a0(0xfd)]=_0x146e5e,this[_0x3ab7a0(0x260)]=_0x5de226,this[_0x3ab7a0(0x2ef)]=_0x4865d9,this[_0x3ab7a0(0x157)]=_0xb7b58b,this[_0x3ab7a0(0x238)](),this[_0x3ab7a0(0x24b)]());}['_init'](){const _0x58c92a=_0xff08f;this[_0x58c92a(0x23d)](),this[_0x58c92a(0x2a7)](),this[_0x58c92a(0x192)](),this[_0x58c92a(0x168)]();}[_0xff08f(0x250)](){const _0x191f5b=_0xff08f;this[_0x191f5b(0x2ef)][_0x191f5b(0xe3)](this['_globalSubject']),_0x55f99e[_0x191f5b(0x282)](_0x992d99['onQueryStart'],this[_0x191f5b(0x139)]),_0x55f99e[_0x191f5b(0x282)](_0x992d99[_0x191f5b(0x9e)],this[_0x191f5b(0xbe)]);}[_0xff08f(0x24b)](){const _0x3c442e=_0xff08f;this[_0x3c442e(0x1ab)](this['_commandService'][_0x3c442e(0x1bc)](_0x1a194e=>{const _0x549465=_0x3c442e;_0x1a194e['id']===_0x4a8609['id']&&this[_0x549465(0x9a)]['handleMoveRange'](_0x1a194e[_0x549465(0x2bf)]);})),this[_0x3c442e(0x1ab)](this['_commandService'][_0x3c442e(0x1bc)](_0x510651=>{const _0x2e36c2=_0x3c442e;if(_0x510651['id']!==ro['id'])return;const _0x326e08=_0x510651[_0x2e36c2(0x2bf)],{unitId:_0x45b3d5,subUnitId:_0x43cc39,pivotTableId:_0x184c57}=_0x326e08,_0x501064=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0x11a)],_0x487ce2={};switch(_0x501064){case k[_0x2e36c2(0x216)]:{const _0x5536e4=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0x251)];if(!_0x5536e4)return;const {row:_0x4de005,col:_0x50f459,cellData:_0x4d0126,pivotItemRenderInfoCache:_0x490afa,tableFieldId:_0x2f0248}=_0x5536e4,_0x4b7dc2=this[_0x2e36c2(0x9a)]['getPivotTableInstance'](_0x326e08[_0x2e36c2(0x2d8)]);if(!_0x4b7dc2||!_0x490afa)return;if(_0x2f0248){const _0x45861c=_0x4b7dc2['getDataFieldByTableId'](_0x2f0248);if(!_0x45861c)return;_0x487ce2[_0x2e36c2(0x251)]={..._0x4b7dc2['getDataFieldItemInfo'](_0x45861c),'tableFieldId':_0x2f0248,'pivotTableId':_0x326e08[_0x2e36c2(0x2d8)],'filterInfo':_0x4b7dc2[_0x2e36c2(0x227)](_0x2f0248),'sortInfo':_0x4b7dc2['getSortInfo'](_0x2f0248),'format':_0x4b7dc2[_0x2e36c2(0x119)](_0x2f0248)};}else{const _0x513082=Ei(_0x4de005,_0x50f459,_0x4d0126,_0x4b7dc2,_0x490afa),_0x4b2b7b=_0x513082==null?void 0x0:_0x513082['filterId'];if(!_0x4b2b7b)return;const _0x51634b=_0x4b7dc2['getDataFieldByTableId'](_0x4b2b7b);if(!_0x51634b)return;_0x487ce2[_0x2e36c2(0x251)]={..._0x4b7dc2[_0x2e36c2(0x2be)](_0x51634b),'tableFieldId':_0x4b2b7b,'pivotTableId':_0x326e08[_0x2e36c2(0x2d8)],'filterInfo':_0x4b7dc2[_0x2e36c2(0x227)](_0x4b2b7b),'sortInfo':_0x4b7dc2[_0x2e36c2(0x239)](_0x4b2b7b),'format':_0x4b7dc2[_0x2e36c2(0x119)](_0x4b2b7b)};}}break;case k['Panel']:{const _0xe82e62=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0x140)];if(!_0xe82e62)return;const {pivotTableId:_0x53c966}=_0xe82e62,_0x3c5231=this[_0x2e36c2(0x9a)][_0x2e36c2(0x191)](_0x53c966);if(!_0x3c5231)return;const _0x15d033=this[_0x2e36c2(0x9a)]['getPivotTableConfig'](_0x45b3d5,_0x43cc39,_0x53c966),_0x3db5c4=Oi(_0x3c5231,_0x53c966,_0x15d033);_0x487ce2['panel']=_0x3db5c4;}break;case k[_0x2e36c2(0x13d)]:{const _0x5999b3=this[_0x2e36c2(0x9a)][_0x2e36c2(0x191)](_0x184c57),_0x22d5b0=this['_sheetsPivotDataSourceModel']['getDataFieldManager'](_0x45b3d5),_0x368b81=_0x22d5b0[_0x2e36c2(0x116)](_0x184c57);let _0x1ed1df=null;const _0x103965=this['_sheetsPivotDataSourceModel'][_0x2e36c2(0x215)](_0x45b3d5,_0x43cc39,_0x184c57),_0x308175=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0xa3)];if(!_0x5999b3||!_0x103965||!_0x308175)return!0x1;const {dataFieldId:_0x5e008e,fieldArea:_0x792bfb,index:_0x1ef6f2}=_0x308175;_0x5999b3['startCollectChangeset']();const _0x12117e=_0x5999b3['addFieldWithSourceId'](_0x5e008e,_0x792bfb,_0x1ef6f2);if(_0x12117e&&_0x792bfb===_0x2849b6[_0x2e36c2(0x24e)]){const _0x17bdcd=_0x12117e[_0x2e36c2(0x91)](),_0xc6fa26=_0x5999b3['getDataFieldByTableId'](_0x17bdcd);if(_0xc6fa26){const _0x4de516=_0xc6fa26==null?void 0x0:_0xc6fa26[_0x2e36c2(0x176)]();_0x5999b3['setSubtotalType'](_0x12117e[_0x2e36c2(0x91)](),_0x4de516===_0x1b4e62['number']?_0x4b7c50[_0x2e36c2(0x126)]:_0x4b7c50['count']);}const _0x326e72=_0x5999b3[_0x2e36c2(0x14f)](),_0x5f3f17=_0x5999b3[_0x2e36c2(0x22c)](),_0x1463f9=_0x5999b3[_0x2e36c2(0x211)](_0x2849b6[_0x2e36c2(0x24e)]);if(_0x326e72===-0x1&&_0x1463f9>0x1){const _0x306566=_0x5f3f17===_0x244351[_0x2e36c2(0xa0)]?_0x244351[_0x2e36c2(0xb8)]:_0x5f3f17,_0x225cbb=_0x306566===_0x244351[_0x2e36c2(0x1a2)]?_0x2849b6['Row']:_0x2849b6[_0x2e36c2(0xb8)];_0x5999b3[_0x2e36c2(0x11c)](_0x306566,_0x5999b3[_0x2e36c2(0x211)](_0x225cbb));}}else{if(_0x12117e&&(_0x792bfb===_0x2849b6[_0x2e36c2(0x1a2)]||_0x792bfb===_0x2849b6[_0x2e36c2(0xb8)])){const _0x1e2f48=_0x12117e[_0x2e36c2(0x91)](),_0x1daafe=_0x5999b3[_0x2e36c2(0xa2)](_0x1e2f48);if(_0x1daafe&&(_0x1daafe==null?void 0x0:_0x1daafe['getFieldDataType']())===_0x1b4e62[_0x2e36c2(0x2ce)]){const _0x2237a3=_0x1daafe[_0x2e36c2(0x28a)]();if(_0x2237a3&&_0x5999b3[_0x2e36c2(0x258)](_0x12117e[_0x2e36c2(0x91)](),_0x2237a3),!_0x368b81[_0x2e36c2(0xcf)]()['some'](_0xa72933=>{const _0x729bdf=_0x2e36c2,_0x4cf54e=_0x368b81[_0x729bdf(0x25a)](_0xa72933);return _0x3a6e01(_0x4cf54e)?_0x4cf54e['getFieldInfo']()[_0x729bdf(0x1f6)]===_0x5e008e:!0x1;})){const _0x333c4c=_0x22d5b0[_0x2e36c2(0x24f)](),_0x3b049a=Wi(_0x1daafe[_0x2e36c2(0xca)],_0x1daafe['minDate']),_0x5d2343=_0x1daafe[_0x2e36c2(0x2de)]()+_0x2e36c2(0xf3)+qo(this[_0x2e36c2(0x157)],_0x3b049a),_0x37dacf=new _0x1cbdbb(_0x333c4c,_0x5d2343,_0x440537(0x3),_0x1daafe[_0x2e36c2(0x91)](),_0x3b049a);_0x22d5b0[_0x2e36c2(0x171)](_0x37dacf),_0x368b81['addField'](_0x333c4c,_0x5d2343),_0x5999b3[_0x2e36c2(0x170)](_0x333c4c,_0x792bfb,(_0x1ef6f2!=null?_0x1ef6f2:0x0)+0x1),_0x1ed1df=_0x37dacf;}}}}const _0x35c8f1=_0x5999b3[_0x2e36c2(0x234)](),_0x2ab829=_0x5999b3[_0x2e36c2(0x128)]()[_0x2e36c2(0x137)]();let _0x4e7ab0;if(_0x1ed1df){_0x4e7ab0=_0x1ed1df[_0x2e36c2(0x137)]();const _0x12d075=_0x1ed1df[_0x2e36c2(0x91)]();_0x368b81['deleteField'](_0x12d075);let _0x296858=!0x0;for(const _0x2a8f8b in _0x22d5b0[_0x2e36c2(0x193)])if(_0x22d5b0[_0x2e36c2(0x193)][_0x2a8f8b][_0x2e36c2(0xcf)]()[_0x2e36c2(0x1ad)](_0x12d075)){_0x296858=!0x1;break;}_0x296858&&_0x22d5b0['deleteDataField'](_0x12d075);}const _0x2854ac=_0x5999b3[_0x2e36c2(0x1b3)]();_0x487ce2[_0x2e36c2(0xa3)]={'view':_0x2ab829,'changesets':_0x2854ac,'isEmpty':_0x35c8f1,'pivotTableConfig':_0x103965,'shouldBeAddedGroupJSON':_0x4e7ab0};}break;case k[_0x2e36c2(0x122)]:{const _0x58ff86=_0x326e08[_0x2e36c2(0x2bf)]['addPivotTable'];if(!_0x58ff86)return;const _0x5104f7=_0x58ff86['sourceRangeInfo'],_0x9b7da0=_0x58ff86[_0x2e36c2(0x2d8)],{collection:_0x51772c}=this[_0x2e36c2(0x9a)]['createCollectionWithDataRange']({'unitId':_0x5104f7[_0x2e36c2(0xad)],'sheetName':_0x5104f7[_0x2e36c2(0xb6)],'subUnitId':_0x5104f7[_0x2e36c2(0x174)],'range':_0x5104f7['range']}),_0x1be8d1=new _0x55f99e(_0x51772c,void 0x0,_0x9b7da0),_0x3ee466=_0x1be8d1[_0x2e36c2(0x128)](),_0xd454a9=_0x1be8d1['toJSON'](),_0x16e8f7=_0x51772c[_0x2e36c2(0x137)]();_0x487ce2[_0x2e36c2(0x2ac)]={'view':_0x3ee466,'fieldsConfig':_0xd454a9,'collectionConfig':_0x16e8f7,'isEmpty':_0x1be8d1[_0x2e36c2(0x234)]()};}break;case k[_0x2e36c2(0x1b2)]:{const _0x47650b=_0x326e08['params'][_0x2e36c2(0x26c)];if(!_0x47650b)return;const {fieldId:_0x5f35f1,area:_0x2ad599,index:_0x69915c}=_0x47650b,_0x4507cc=this[_0x2e36c2(0x9a)][_0x2e36c2(0x215)](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0x4507cc)return;const _0x515102=this[_0x2e36c2(0x9a)][_0x2e36c2(0x191)](_0x184c57);if(!_0x515102)return;_0x515102[_0x2e36c2(0x1d8)]();const {area:_0x28df89,index:_0x10c445}=_0x515102[_0x2e36c2(0x162)](_0x5f35f1);if(_0x515102[_0x2e36c2(0x147)](_0x5f35f1,_0x2ad599,_0x69915c),_0x2ad599===_0x2849b6[_0x2e36c2(0x24e)]&&_0x515102[_0x2e36c2(0xe1)](_0x5f35f1)[_0x2e36c2(0x106)]()===void 0x0){const _0x3e2ec2=_0x515102[_0x2e36c2(0xe1)](_0x5f35f1);if(_0x3e2ec2&&_0x3e2ec2[_0x2e36c2(0x106)]()===void 0x0){const _0x2e437d=_0x515102[_0x2e36c2(0xa2)](_0x5f35f1);if(_0x2e437d){const _0x55e4f4=_0x2e437d==null?void 0x0:_0x2e437d[_0x2e36c2(0x176)]();_0x515102[_0x2e36c2(0x2c1)](_0x5f35f1,_0x55e4f4===_0x1b4e62[_0x2e36c2(0x2b1)]?_0x4b7c50['sum']:_0x4b7c50['count']);}}}const _0x549995=_0x515102[_0x2e36c2(0x22c)](),_0x57c93e=_0x515102[_0x2e36c2(0x14f)](),_0x3deb57=_0x515102[_0x2e36c2(0x211)](_0x2849b6['Value'])>0x1;if(_0x3deb57&&_0x28df89===_0x2ad599&&(_0x2ad599===_0x2849b6['Row']&&_0x549995===_0x244351['Row']||_0x2ad599===_0x2849b6['Column']&&_0x549995===_0x244351[_0x2e36c2(0xb8)])){let _0x2ffed3=_0x57c93e;_0x10c445<=_0x57c93e&&_0x2ffed3--,_0x69915c<=_0x57c93e&&_0x2ffed3++,_0x515102['updateValuePosition'](_0x549995,_0x2ffed3);}else _0x3deb57&&(_0x28df89===_0x2849b6[_0x2e36c2(0x1a2)]&&_0x549995===_0x244351[_0x2e36c2(0x1a2)]||_0x28df89===_0x2849b6[_0x2e36c2(0xb8)]&&_0x549995===_0x244351[_0x2e36c2(0xb8)])&&_0x57c93e>=_0x10c445&&_0x515102['updateValuePosition'](_0x549995,_0x57c93e-0x1),_0x3deb57&&(_0x2ad599===_0x2849b6[_0x2e36c2(0x1a2)]&&_0x549995===_0x244351[_0x2e36c2(0x1a2)]||_0x2ad599===_0x2849b6[_0x2e36c2(0xb8)]&&_0x549995===_0x244351[_0x2e36c2(0xb8)])&&_0x57c93e>=_0x69915c&&_0x515102[_0x2e36c2(0x11c)](_0x549995,_0x57c93e+0x1);const _0x52a2aa=_0x515102[_0x2e36c2(0x128)](),_0x3cd006=_0x515102[_0x2e36c2(0x234)](),_0x1b5187=_0x515102[_0x2e36c2(0x1b3)]();_0x487ce2[_0x2e36c2(0x26c)]={'view':_0x52a2aa[_0x2e36c2(0x137)](),'changesets':_0x1b5187,'isEmpty':_0x3cd006,'pivotTableConfig':_0x4507cc};}break;case k[_0x2e36c2(0x212)]:{const _0x30494a=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0x200)];if(!_0x30494a)return;const _0xb9d3d4=_0x30494a['fieldIds'],_0xb67042=this[_0x2e36c2(0x9a)][_0x2e36c2(0x215)](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0xb67042)return!0x1;const _0x560634=this['_sheetsPivotDataSourceModel'][_0x2e36c2(0x191)](_0x184c57);if(!_0x560634)return!0x1;_0x560634[_0x2e36c2(0x1d8)]();for(const _0x4c5fcb of _0xb9d3d4){const {area:_0x3369a6}=_0x560634[_0x2e36c2(0x162)](_0x4c5fcb);_0x3369a6===_0x2849b6[_0x2e36c2(0x24e)]&&_0x560634[_0x2e36c2(0x2a8)](_0x4c5fcb),(_0x3369a6===_0x2849b6[_0x2e36c2(0x1a2)]||_0x3369a6===_0x2849b6[_0x2e36c2(0xb8)])&&_0x560634[_0x2e36c2(0xdb)](_0x4c5fcb),_0x560634[_0x2e36c2(0x224)](_0x4c5fcb);}const _0x5d3861=_0x560634['isEmpty'](),_0x4f4eb0=_0x560634[_0x2e36c2(0x128)]()[_0x2e36c2(0x137)](),_0x29936a=_0x560634[_0x2e36c2(0x1b3)]();_0x487ce2[_0x2e36c2(0x200)]={'changesets':_0x29936a,'pivotTableConfig':_0xb67042,'isEmpty':_0x5d3861,'view':_0x4f4eb0};}break;case k['SetPivotFilter']:{const _0x3d4074=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0x1fb)];if(!_0x3d4074)return;const {tableFieldId:_0x2801e1,items:_0x438959,isAll:_0x497205}=_0x3d4074,_0xa90fe6=this[_0x2e36c2(0x9a)][_0x2e36c2(0x191)](_0x184c57),_0x66545b=this[_0x2e36c2(0x9a)]['getPivotTableConfig'](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0xa90fe6||!_0x66545b)return;_0xa90fe6[_0x2e36c2(0x1d8)](),_0xa90fe6[_0x2e36c2(0x1ea)](_0x2801e1,{'type':_0x45deba[_0x2e36c2(0x281)],'list':_0x438959,'isAll':_0x497205});const _0x46603c=_0xa90fe6[_0x2e36c2(0x234)](),_0x90a880=_0xa90fe6['query']()[_0x2e36c2(0x137)](),_0x44847b=_0xa90fe6[_0x2e36c2(0x1b3)]();_0x487ce2[_0x2e36c2(0x1fb)]={'view':_0x90a880,'changesets':_0x44847b,'isEmpty':_0x46603c,'pivotTableConfig':_0x66545b};}break;case k[_0x2e36c2(0x1e3)]:{const _0x2de6fc=_0x326e08[_0x2e36c2(0x2bf)]['setValuePivotFilter'];if(!_0x2de6fc)return;const {tableFieldId:_0x21179e,filterInfo:_0x80c79e}=_0x2de6fc,_0x344b6b=this[_0x2e36c2(0x9a)]['getPivotTableInstance'](_0x184c57),_0x230dc2=this[_0x2e36c2(0x9a)][_0x2e36c2(0x215)](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0x344b6b||!_0x230dc2)return;_0x344b6b[_0x2e36c2(0x1d8)](),_0x344b6b[_0x2e36c2(0x301)](_0x21179e,_0x80c79e);const _0x49486c=_0x344b6b['isEmpty'](),_0x4f90b=_0x344b6b[_0x2e36c2(0x128)]()['toJSON'](),_0x390a50=_0x344b6b['endCollectChangeset']();_0x487ce2[_0x2e36c2(0xfb)]={'view':_0x4f90b,'changesets':_0x390a50,'isEmpty':_0x49486c,'pivotTableConfig':_0x230dc2};}break;case k[_0x2e36c2(0x2b7)]:{const _0x379b17=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0xf5)];if(!_0x379b17)return;const {tableFieldId:_0x552292,info:_0xb573e5}=_0x379b17,_0x1de350=this[_0x2e36c2(0x9a)][_0x2e36c2(0x191)](_0x184c57),_0x6b4a5d=this['_sheetsPivotDataSourceModel'][_0x2e36c2(0x215)](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0x1de350||!_0x6b4a5d)return;_0x1de350[_0x2e36c2(0x1d8)](),_0x1de350[_0x2e36c2(0x294)](_0x552292,_0xb573e5);const _0x1692c7=_0x1de350['isEmpty'](),_0xf8e586=_0x1de350[_0x2e36c2(0x128)]()[_0x2e36c2(0x137)](),_0x2c0f50=_0x1de350[_0x2e36c2(0x1b3)]();_0x487ce2[_0x2e36c2(0xf5)]={'view':_0xf8e586,'changesets':_0x2c0f50,'isEmpty':_0x1692c7,'pivotTableConfig':_0x6b4a5d};}break;case k['SetPivotSetting']:{const _0x25cb99=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0x2b2)];if(!_0x25cb99)return;const {tableFieldId:_0x583bff,displayName:_0x321249,subtotalType:_0x217b43,format:_0x1b3e53}=_0x25cb99,_0x18c000=this[_0x2e36c2(0x9a)][_0x2e36c2(0x191)](_0x184c57),_0x5792a9=this[_0x2e36c2(0x9a)][_0x2e36c2(0x215)](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0x18c000||!_0x5792a9)return;_0x18c000[_0x2e36c2(0x1d8)](),_0x321249!==void 0x0&&_0x18c000['renameField'](_0x583bff,_0x321249),_0x217b43!==void 0x0&&_0x18c000['setSubtotalType'](_0x583bff,_0x217b43),_0x1b3e53!==void 0x0&&_0x18c000[_0x2e36c2(0x258)](_0x583bff,_0x1b3e53);const _0x220ace=_0x18c000[_0x2e36c2(0x234)](),_0x4e920b=_0x18c000[_0x2e36c2(0x128)]()[_0x2e36c2(0x137)](),_0xa7b134=_0x18c000[_0x2e36c2(0x1b3)]();_0x487ce2['setPivotSetting']={'changesets':_0xa7b134,'pivotTableConfig':_0x5792a9,'isEmpty':_0x220ace,'view':_0x4e920b};}break;case k[_0x2e36c2(0x26b)]:{const _0xa88e16=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0x286)];if(!_0xa88e16)return;const {dataRangeInfo:_0x1c7a8b,unitId:_0x53ef58,subUnitId:_0x41a85a}=_0xa88e16,_0x318eec=this[_0x2e36c2(0x9a)][_0x2e36c2(0x215)](_0x53ef58,_0x41a85a,_0x184c57),_0x57570c=this[_0x2e36c2(0x9a)]['getPivotTableInstance'](_0x184c57);if(!this[_0x2e36c2(0x9a)][_0x2e36c2(0x116)](_0x53ef58,_0x184c57)||!_0x57570c||!_0x318eec)return;const _0x4459c0=this[_0x2e36c2(0x9a)][_0x2e36c2(0x302)](_0x53ef58,_0x184c57,_0x1c7a8b),_0x1200d1=this[_0x2e36c2(0x9a)][_0x2e36c2(0x116)](_0x53ef58,_0x184c57)['toJSON'](),{collection:_0x1cb0d8}=this[_0x2e36c2(0x9a)][_0x2e36c2(0xd6)]({'unitId':_0x1c7a8b[_0x2e36c2(0xad)],'sheetName':_0x1c7a8b[_0x2e36c2(0xb6)],'subUnitId':_0x1c7a8b['subUnitId'],'range':_0x1c7a8b[_0x2e36c2(0x1ff)]}),_0x462a28=_0x1cb0d8[_0x2e36c2(0x137)]();_0x57570c['startCollectChangeset']();const _0x41ef68=this[_0x2e36c2(0x9a)][_0x2e36c2(0x23a)](_0x53ef58)[_0x2e36c2(0x252)]()||_0x5c694f;_0x57570c[_0x2e36c2(0x18d)](_0x24d3d1=>{const _0x3f3e00=_0x2e36c2,_0x3d3665=_0x24d3d1[_0x3f3e00(0x2a6)]();if(!_0x1cb0d8[_0x3f3e00(0x2e2)](_0x3d3665)){const _0x46ad2b=_0x1cb0d8[_0x3f3e00(0x264)](_0x24d3d1[_0x3f3e00(0x15b)]());if(_0x46ad2b){_0x57570c[_0x3f3e00(0x2e6)](_0x24d3d1['getId'](),_0x46ad2b['getName'](),_0x46ad2b[_0x3f3e00(0x91)]());const {area:_0x280dfe}=_0x57570c[_0x3f3e00(0x162)](_0x24d3d1[_0x3f3e00(0x91)]());let _0x57c935=_0x24d3d1[_0x3f3e00(0x15b)]();const _0x2a3925=_0x24d3d1[_0x3f3e00(0x14c)]();if(_0x280dfe===_0x2849b6[_0x3f3e00(0x24e)]){const _0x1775bb=_0x24d3d1[_0x3f3e00(0x106)]();_0x57c935=_0x41ef68(_0x46ad2b[_0x3f3e00(0x2de)](),_0x1775bb);}_0x2a3925!==_0x57c935&&_0x57570c['renameField'](_0x24d3d1['getId'](),_0x57c935);}else _0x57570c[_0x3f3e00(0x224)](_0x24d3d1[_0x3f3e00(0x91)]());}});const _0xc3083b=_0x57570c[_0x2e36c2(0x234)](),_0xd2ed9b=_0x57570c[_0x2e36c2(0x128)]()[_0x2e36c2(0x137)](),_0x2f48b9=_0x57570c['endCollectChangeset']();_0x487ce2[_0x2e36c2(0x286)]={'view':_0xd2ed9b,'changesets':_0x2f48b9,'isEmpty':_0xc3083b,'pivotTableConfig':_0x318eec,'collectionConfig':_0x462a28,'oldCollectionConfig':_0x1200d1,'deleteIds':_0x4459c0};}break;case k[_0x2e36c2(0x25d)]:{const _0x3f40bf=_0x326e08[_0x2e36c2(0x2bf)]['updateValuePosition'];if(!_0x3f40bf)return;const {position:_0x1f7a62,index:_0x3c18c8}=_0x3f40bf,_0x4fe42f=this[_0x2e36c2(0x9a)]['getPivotTableConfig'](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0x4fe42f)return!0x1;const _0x5bd827=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x184c57);if(!_0x5bd827)return!0x1;_0x5bd827['startCollectChangeset'](),_0x5bd827[_0x2e36c2(0x11c)](_0x1f7a62,_0x3c18c8);const _0x6d89db=_0x5bd827['isEmpty'](),_0x3e7da4=_0x5bd827[_0x2e36c2(0x128)]()[_0x2e36c2(0x137)](),_0x1c2d65=_0x5bd827[_0x2e36c2(0x1b3)]();_0x487ce2[_0x2e36c2(0x11c)]={'changesets':_0x1c2d65,'pivotTableConfig':_0x4fe42f,'isEmpty':_0x6d89db,'view':_0x3e7da4};}break;case k[_0x2e36c2(0x1e6)]:{const _0x336895=_0x326e08['params']['setPivotCollapse'];if(!_0x336895)return;const {tableFieldId:_0xc67e1e,collapse:_0x1ebbae,item:_0x523f3b}=_0x336895,_0x43a12a=this[_0x2e36c2(0x9a)]['getPivotTableInstance'](_0x184c57),_0x3f7308=this[_0x2e36c2(0x9a)][_0x2e36c2(0x215)](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0x43a12a||!_0x3f7308)return;_0x43a12a['startCollectChangeset'](),_0x43a12a[_0x2e36c2(0x146)](_0xc67e1e,_0x1ebbae,_0x523f3b);const _0xe516d4=_0x43a12a[_0x2e36c2(0x234)](),_0x53910e=_0x43a12a[_0x2e36c2(0x128)]()[_0x2e36c2(0x137)](),_0xa71388=_0x43a12a[_0x2e36c2(0x1b3)]();_0x487ce2[_0x2e36c2(0x12b)]={'view':_0x53910e,'isEmpty':_0xe516d4,'pivotTableConfig':_0x3f7308,'changesets':_0xa71388};}break;case k[_0x2e36c2(0x2eb)]:{const _0x272ae2=_0x326e08['params'][_0x2e36c2(0x18a)];if(!_0x272ae2)return;const {pivotTableConfig:_0x56b21b}=_0x272ae2,_0x23c467=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x184c57),_0x1529ec=this[_0x2e36c2(0x9a)][_0x2e36c2(0x215)](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0x23c467||!_0x1529ec)return;_0x23c467[_0x2e36c2(0x1d8)](),Ji(_0x23c467,_0x56b21b);const _0x251593=_0x23c467[_0x2e36c2(0x234)](),_0x33e691=_0x23c467['query']()['toJSON'](),_0x5bc75d=_0x23c467[_0x2e36c2(0x1b3)]();_0x487ce2['setPivotTableConfig']={'view':_0x33e691,'isEmpty':_0x251593,'pivotTableConfig':{..._0x1529ec,'fieldsConfig':_0x23c467['toJSON']()},'changesets':_0x5bc75d};}break;case k['ResetPivotTable']:{const _0x4d1f8e=_0x326e08['params']['resetPivotTable'];if(!_0x4d1f8e)return;const _0x27847b=this[_0x2e36c2(0x9a)][_0x2e36c2(0x191)](_0x184c57),_0x1accff=this[_0x2e36c2(0x9a)][_0x2e36c2(0x215)](_0x45b3d5,_0x43cc39,_0x184c57);if(!_0x27847b||!_0x1accff)return;_0x27847b[_0x2e36c2(0x1d8)](),ji(_0x27847b,_0x4d1f8e[_0x2e36c2(0x12d)]);const _0x55fff1=_0x27847b['query']()[_0x2e36c2(0x137)](),_0x4e3af2=_0x27847b[_0x2e36c2(0x1b3)]();_0x487ce2[_0x2e36c2(0x202)]={'view':_0x55fff1,'isEmpty':!0x0,'pivotTableConfig':{..._0x1accff,'fieldsConfig':_0x27847b[_0x2e36c2(0x137)]()},'changesets':_0x4e3af2};}break;case k['AddPivotTableWithConfig']:{const _0x109b90=_0x326e08[_0x2e36c2(0x2bf)][_0x2e36c2(0x13a)];if(!_0x109b90)return;const _0x355746=_0x109b90[_0x2e36c2(0x178)],_0x3ce117=_0x109b90[_0x2e36c2(0x2d8)],{collection:_0x2cbb47}=this[_0x2e36c2(0x9a)][_0x2e36c2(0xd6)]({'unitId':_0x355746[_0x2e36c2(0xad)],'sheetName':_0x355746['sheetName'],'subUnitId':_0x355746['subUnitId'],'range':_0x355746[_0x2e36c2(0x1ff)]}),_0x40dcb8=new _0x55f99e(_0x2cbb47,void 0x0,_0x3ce117),_0x54af73=_0x2cbb47[_0x2e36c2(0xcf)](),{rows:_0x1bd554,columns:_0x362b0,filters:_0x1adf54,values:_0x12369d}=_0x109b90[_0x2e36c2(0x213)];_0x40dcb8[_0x2e36c2(0x1d8)]();for(const {field:_0x2cf3c3,selectedItems:_0x105d8a}of _0x1bd554||[]){const _0x18dd8b=_0x54af73[_0x2cf3c3];if(_0x18dd8b){const _0x1e3766=_0x40dcb8[_0x2e36c2(0x170)](_0x18dd8b,_0x2849b6['Row']);_0x105d8a&&_0x1e3766&&_0x40dcb8[_0x2e36c2(0x1ea)](_0x1e3766[_0x2e36c2(0x91)](),{'type':_0x45deba['ManualFilter'],'list':_0x105d8a,'isAll':!0x1});}}for(const {field:_0x15fd26,selectedItems:_0x512f07}of _0x362b0||[]){const _0x5a17a3=_0x54af73[_0x15fd26];if(_0x5a17a3){const _0x4536d2=_0x40dcb8[_0x2e36c2(0x170)](_0x5a17a3,_0x2849b6[_0x2e36c2(0xb8)]);_0x512f07&&_0x4536d2&&_0x40dcb8[_0x2e36c2(0x1ea)](_0x4536d2[_0x2e36c2(0x91)](),{'type':_0x45deba[_0x2e36c2(0x281)],'list':_0x512f07,'isAll':!0x1});}}for(const {field:_0x249de5,selectedItems:_0x784fce}of _0x1adf54||[]){const _0x118ab4=_0x54af73[_0x249de5];if(_0x118ab4){const _0x453523=_0x40dcb8['addFieldWithSourceId'](_0x118ab4,_0x2849b6[_0x2e36c2(0x216)]);_0x784fce&&_0x453523&&_0x40dcb8[_0x2e36c2(0x1ea)](_0x453523[_0x2e36c2(0x91)](),{'type':_0x45deba[_0x2e36c2(0x281)],'list':_0x784fce,'isAll':!0x1});}}for(const {field:_0x37fdef,subTotalType:_0x2b5ec2,formatString:_0xc486fe}of _0x12369d||[]){const _0x34d6d3=_0x2cbb47['getFieldById'](_0x54af73[_0x37fdef]);if(!_0x34d6d3)continue;const _0x455d82=_0x54af73[_0x37fdef];if(_0x455d82){const _0x484751=_0x40dcb8[_0x2e36c2(0x170)](_0x455d82,_0x2849b6['Value']);if(_0x484751){if(_0x2b5ec2!==void 0x0){_0x40dcb8['setSubtotalType'](_0x484751['getId'](),_0x2b5ec2);const _0x48fa76=this[_0x2e36c2(0x9a)][_0x2e36c2(0x23a)](_0x355746[_0x2e36c2(0xad)])[_0x2e36c2(0x252)]()||_0x5c694f,_0x5b2673=_0x2cbb47[_0x2e36c2(0x14c)](_0x455d82),_0x210927=_0x48fa76(_0x5b2673,_0x2b5ec2);_0x40dcb8[_0x2e36c2(0x1a0)](_0x484751[_0x2e36c2(0x91)](),_0x210927);}else{if(_0x34d6d3){const _0x50973c=_0x34d6d3==null?void 0x0:_0x34d6d3[_0x2e36c2(0x176)]();_0x40dcb8[_0x2e36c2(0x2c1)](_0x484751[_0x2e36c2(0x91)](),_0x50973c===_0x1b4e62[_0x2e36c2(0x2b1)]?_0x4b7c50['sum']:_0x4b7c50[_0x2e36c2(0xcc)]);}}_0xc486fe&&_0x40dcb8[_0x2e36c2(0x258)](_0x484751['getId'](),_0xc486fe);}}}const _0x5b95c6=_0x40dcb8[_0x2e36c2(0x128)](),_0x43b0c6=_0x40dcb8['toJSON'](),_0x817a50=_0x40dcb8[_0x2e36c2(0x234)](),_0x275104=_0x40dcb8[_0x2e36c2(0x1b3)](),_0x50e14d=_0x2cbb47['toJSON']();_0x487ce2[_0x2e36c2(0x13a)]={'view':_0x5b95c6,'fieldsConfig':_0x43b0c6,'collectionConfig':_0x50e14d,'isEmpty':_0x817a50,'changesets':_0x275104};}break;case k['DrillDown']:{const _0x56e918=Ai(this[_0x2e36c2(0x157)],_0x326e08);if(!_0x56e918)return;const {range:_0x36e6a2,sourceSubUnitId:_0x247a07,sourceUnitId:_0x48c6ac,formatMap:_0x176cb7,indexes:_0x15d731}=_0x56e918;_0x487ce2[_0x2e36c2(0x1d7)]={'range':_0x36e6a2,'sourceSubUnitId':_0x247a07,'sourceUnitId':_0x48c6ac,'formatMap':_0x176cb7,'indexes':_0x15d731};}break;}this[_0x2e36c2(0x260)][_0x2e36c2(0xe5)](lo['id'],{'version':_0x326e08[_0x2e36c2(0x1d3)],'result':_0x487ce2},{'onlyLocal':!0x0});}));}[_0xff08f(0x192)](){const _0x1b81d6=_0xff08f;this[_0x1b81d6(0x1ab)](this[_0x1b81d6(0x260)][_0x1b81d6(0x1bc)](_0x3702b8=>{const _0x4ce78c=_0x1b81d6;if(_0x3702b8['id']!==uo['id'])return;const _0x3665e3=_0x3702b8['params'];return this[_0x4ce78c(0x9a)][_0x4ce78c(0x17a)](_0x3665e3[_0x4ce78c(0x1b7)]),!0x0;}));}[_0xff08f(0x23d)](){const _0x3fa85e=_0xff08f;this['_sheetsPivotDataSourceModel'][_0x3fa85e(0x2ee)][_0x3fa85e(0x2ec)](_0x4ad200=>{const _0x1e50b7=_0x3fa85e;switch(_0x4ad200[_0x1e50b7(0x11a)]){case Be[_0x1e50b7(0x15c)]:_0x4ad200[_0x1e50b7(0x1ac)]&&_0x4ad200[_0x1e50b7(0x177)]&&this[_0x1e50b7(0x289)](_0x4ad200['token'],_0x4ad200[_0x1e50b7(0x1ac)],_0x4ad200[_0x1e50b7(0x177)]);break;case Be[_0x1e50b7(0x1e1)]:{const {unitId:_0x13f8c2,subUnitId:_0x1990ed,token:_0x526071}=_0x4ad200;_0x13f8c2&&_0x1990ed&&_0x526071&&this[_0x1e50b7(0x1dc)](_0x13f8c2,_0x1990ed,_0x526071);}break;case Be[_0x1e50b7(0x1a3)]:{const {token:_0x534535,oldSourceRangeInfo:_0x11356f,dataRangeInfo:_0x27f5a9,targetCellInfo:_0x49259d}=_0x4ad200,{unitId:_0x264e47,subUnitId:_0x56f3c7}=_0x11356f||{};_0x264e47&&_0x56f3c7&&_0x534535&&this[_0x1e50b7(0x1dc)](_0x264e47,_0x56f3c7,_0x534535),_0x27f5a9&&_0x49259d&&this[_0x1e50b7(0x289)](_0x534535,_0x27f5a9,_0x49259d);}break;}});}[_0xff08f(0x168)](){const _0x12b75f=_0xff08f;this[_0x12b75f(0x9a)][_0x12b75f(0x166)][_0x12b75f(0x2ec)](_0x4d8c07=>{const _0xd44860=_0x12b75f;Object[_0xd44860(0x237)](_0x4d8c07)[_0xd44860(0x1b9)](_0x2be36c=>{const _0x536410=_0xd44860,_0x378447=this[_0x536410(0x9a)][_0x536410(0xe9)](_0x2be36c);if(_0x378447){const _0x12e546=this[_0x536410(0x9a)][_0x536410(0x215)](_0x378447==null?void 0x0:_0x378447['unitId'],_0x378447==null?void 0x0:_0x378447['subUnitId'],_0x2be36c);_0x12e546&&(this[_0x536410(0x289)](_0x2be36c,_0x12e546['sourceRangeInfo'],_0x12e546['targetCellInfo']),this['triggerDirtyFeature']([{'unitId':_0x378447[_0x536410(0xad)],'subUnitId':_0x378447[_0x536410(0x174)],'token':_0x2be36c}]));}});});}[_0xff08f(0x2a7)](){const _0x5651cc=_0xff08f;this[_0x5651cc(0x9a)]['viewData$']['subscribe'](_0x1c84cf=>{const _0x16efa5=_0x5651cc,{unitId:_0x1c9610,subUnitId:_0x595281,pivotTableId:_0x44630b}=_0x1c84cf;_0x1c9610&&_0x595281&&_0x44630b&&this[_0x16efa5(0x2fb)]([{'unitId':_0x1c9610,'subUnitId':_0x595281,'token':_0x44630b}]);});}['triggerDirtyFeature'](_0x232251){const _0x3f0320=_0xff08f,_0x4bdd9f={};_0x232251['forEach'](_0x3b37b3=>{var _0x3ef43e,_0x56a8e4;const {unitId:_0x1ed0e3,subUnitId:_0x5d84a2,token:_0x56c346}=_0x3b37b3;_0x4bdd9f[_0x1ed0e3]=(_0x3ef43e=_0x4bdd9f[_0x1ed0e3])!=null?_0x3ef43e:{},_0x4bdd9f[_0x1ed0e3][_0x5d84a2]=(_0x56a8e4=_0x4bdd9f[_0x1ed0e3][_0x5d84a2])!=null?_0x56a8e4:{},_0x4bdd9f[_0x1ed0e3][_0x5d84a2][_0x56c346]=!0x0;}),this[_0x3f0320(0x260)][_0x3f0320(0xe5)](Ut['id'],_0x4bdd9f);}[_0xff08f(0x1dc)](_0x2c453d,_0x50a5f1,_0x364812){const _0x29111c=_0xff08f;this[_0x29111c(0xfd)][_0x29111c(0x2f4)](_0x2c453d,_0x50a5f1,[_0x364812]);}[_0xff08f(0x289)](_0x324414,_0xe3f06e,_0x7b2bf4){const _0x53fbc2=_0xff08f,{unitId:_0x429007,subUnitId:_0x1e5547}=_0xe3f06e;this[_0x53fbc2(0xfd)][_0x53fbc2(0x1bd)](_0x7b2bf4[_0x53fbc2(0xad)],_0x7b2bf4[_0x53fbc2(0x174)],_0x324414)&&this[_0x53fbc2(0x1dc)](_0x429007,_0x1e5547,_0x324414);const _0x1b49de={'sheetId':_0x1e5547,..._0xe3f06e};this['_featureCalculationManagerService'][_0x53fbc2(0x2a3)](_0x7b2bf4['unitId'],_0x7b2bf4['subUnitId'],_0x324414,{'unitId':_0x7b2bf4[_0x53fbc2(0xad)],'subUnitId':_0x7b2bf4[_0x53fbc2(0x174)],'dependencyRanges':[_0x1b49de],'getDirtyData':(_0x39205d,_0x156617)=>{const _0x594653=_0x53fbc2,_0x2e9006=this[_0x594653(0x9a)],_0x291132=_0x2e9006[_0x594653(0xe9)](_0x324414);if(!_0x291132)return Vs();const {unitId:_0x4db22e,subUnitId:_0x455d9c}=_0x291132,_0x3370ed=Es(_0x39205d,_0x156617,_0xe3f06e);if(_0x3370ed[_0x594653(0x1a8)]>0x0){const _0x1e3fef=_0x2e9006[_0x594653(0x116)](_0x429007,_0x324414),_0x551656=_0x1e3fef[_0x594653(0xcf)](),_0x4d998d=this[_0x594653(0x2aa)](_0xe3f06e[_0x594653(0xad)],_0xe3f06e[_0x594653(0x174)],_0x156617),_0x3f8e18={},_0xee8b2d=this[_0x594653(0x9a)][_0x594653(0x23a)](_0x4db22e)[_0x594653(0x252)]()||_0x5c694f,_0x902fa7=[];for(const _0x31eb96 of _0x3370ed){const _0x456fe9=_0x31eb96-(_0xe3f06e[_0x594653(0x1ff)][_0x594653(0x136)]||0x0),_0x166560=_0x551656[_0x456fe9];_0x902fa7[_0x594653(0xc1)](_0x166560),_0x3f8e18[_0x166560]=_0x1e3fef[_0x594653(0x25a)](_0x166560)[_0x594653(0x2de)](),_0x2e9006[_0x594653(0x23a)](_0x429007)['refreshDataField'](_0x166560,_0xe3f06e,_0x456fe9,_0x4d998d);}_0x1e3fef[_0x594653(0x2cc)](_0x902fa7)[_0x594653(0x1b9)](_0x1ddc99=>{const _0x2faabc=_0x594653,[_0x7b69b6,_0x1fe2b3]=_0x1ddc99,_0x8f8e99=_0x1e3fef[_0x2faabc(0x25a)](_0x7b69b6),_0x3dc513=_0x1e3fef[_0x2faabc(0x25a)](_0x1fe2b3);_0x8f8e99&&_0x3dc513&&_0x8f8e99[_0x2faabc(0x2a1)](_0x3dc513);}),_0x1e3fef[_0x594653(0xb1)]();const _0x2b4528=_0x2e9006['getPivotTableInstance'](_0x324414);if(_0x2b4528){xs(_0x2b4528,_0x3f8e18,_0xee8b2d),_0x2b4528[_0x594653(0x231)](!0x0);const _0x1a1139=_0x2b4528[_0x594653(0x128)](),_0x1fd59e=_0x2e9006[_0x594653(0x215)](_0x4db22e,_0x455d9c,_0x324414),_0x4f2b9b=_0x2e9006[_0x594653(0x23a)](_0x429007)[_0x594653(0x137)]();_0x2e9006[_0x594653(0x1f8)](_0x4db22e,_0x455d9c,K[_0x594653(0xd9)],_0x324414,_0x1a1139,_0x1fd59e,_0x4f2b9b,!0x0);}}return this[_0x594653(0x9c)](_0x4db22e,_0x455d9c,_0x324414);}});}['getMatrixFromRunTimeData'](_0xc31f9d,_0x59321e,_0x4e0374){var _0x51fae5,_0x3499b1;const {arrayFormulaCellData:_0x2254ae,unitData:_0x7a3bb7}=_0x4e0374,_0x276914=(_0x51fae5=_0x2254ae==null?void 0x0:_0x2254ae[_0xc31f9d])==null?void 0x0:_0x51fae5[_0x59321e],_0x3901b2=(_0x3499b1=_0x7a3bb7==null?void 0x0:_0x7a3bb7[_0xc31f9d])==null?void 0x0:_0x3499b1[_0x59321e];return{'arrayFormulaCellDataMatrix':_0x276914,'unitDataMatrix':_0x3901b2};}[_0xff08f(0x9c)](_0x248616,_0x4b959e,_0x4fa41c){const _0x416617=_0xff08f,_0x2b7bc4=this[_0x416617(0x9a)][_0x416617(0xf4)](_0x248616,_0x4b959e,_0x4fa41c),_0x2e208c=[],_0x51763f=new _0x3beae7();if(_0x2b7bc4){const {rangeCache:_0x3e2590,matrix:_0x50863e,oldRangeCache:_0x2f4834,oldMatrix:_0x141f4a}=_0x2b7bc4,_0x2542ce=Kt(_0x2f4834),_0x3e0682=Kt(_0x3e2590);_0x2e208c['push'](..._0x3e0682,..._0x2542ce),_0x141f4a&&_0x2f4834&&_0x2542ce[_0x416617(0x1b9)](_0x17639f=>{const _0x1ceac0=_0x416617;for(let _0x660f98=_0x17639f[_0x1ceac0(0x2d2)];_0x660f98<=_0x17639f['endRow'];_0x660f98++)for(let _0x392cda=_0x17639f[_0x1ceac0(0x136)];_0x392cda<=_0x17639f[_0x1ceac0(0x1fe)];_0x392cda++)_0x51763f['realDeleteValue'](_0x660f98,_0x392cda);}),_0x50863e&&_0x3e0682&&_0x3e0682['forEach'](_0x204a72=>{const _0x456b3d=_0x416617;for(let _0x253491=_0x204a72[_0x456b3d(0x2d2)];_0x253491<=_0x204a72[_0x456b3d(0x1de)];_0x253491++)for(let _0x124b84=_0x204a72[_0x456b3d(0x136)];_0x124b84<=_0x204a72[_0x456b3d(0x1fe)];_0x124b84++)_0x51763f[_0x456b3d(0x17b)](_0x253491,_0x124b84,_0x50863e[_0x456b3d(0xee)](_0x253491,_0x124b84));});}const _0x430bcd={};return _0x430bcd[_0x248616]={[_0x4b959e]:Os(_0x2e208c)},{'runtimeCellData':{[_0x248616]:{[_0x4b959e]:_0x51763f}},'dirtyRanges':_0x430bcd};}[_0xff08f(0x2ca)](){}};ct=Us([He(0x0,_0x351ec8($)),He(0x1,_0x56c73b),He(0x2,_0x351ec8(_0x32bffb)),He(0x3,_0x351ec8(_0x596dde)),He(0x4,_0x351ec8(_0x14eac6)),He(0x5,_0x351ec8(_0x8ab5d1))],ct);var As=Object['getOwnPropertyDescriptor'],ks=(_0x588e8c,_0x1a52f1,_0x1bb1c4,_0x47896c)=>{const _0x182365=_0xff08f;for(var _0x5ec623=_0x47896c>0x1?void 0x0:_0x47896c?As(_0x1a52f1,_0x1bb1c4):_0x1a52f1,_0x803d88=_0x588e8c[_0x182365(0x1a8)]-0x1,_0x583a57;_0x803d88>=0x0;_0x803d88--)(_0x583a57=_0x588e8c[_0x803d88])&&(_0x5ec623=_0x583a57(_0x5ec623)||_0x5ec623);return _0x5ec623;},_t=(_0x3f4b7f,_0x519d98)=>(_0x55f964,_0x24f5b4)=>_0x519d98(_0x55f964,_0x24f5b4,_0x3f4b7f);let dt=class extends _0x51d9e7{constructor(_0x4d5392,_0x299d86,_0x5b84cf,_0x44b03d){const _0x30ca30=_0xff08f;super(),V(this,'disposableCollection',new _0xbeda3e()),(this['_univerInstanceService']=_0x4d5392,this[_0x30ca30(0xba)]=_0x299d86,this[_0x30ca30(0x1b8)]=_0x5b84cf,this[_0x30ca30(0xbf)]=_0x44b03d,this['_initClearSelectionCommandInterceptor']());}['_initClearSelectionCommandInterceptor'](){const _0x59d851=_0xff08f;this[_0x59d851(0x1ab)](this[_0x59d851(0xba)][_0x59d851(0x138)]({'getMutations':_0x257922=>{const _0x58e1b8=_0x59d851;if(_0x257922['id']===_0x178b31['id']||_0x257922['id']===_0x1a1aab['id']){const _0x4511c5=[],_0x507762=[],_0x193728=this['_sheetsSelectionsService'][_0x58e1b8(0xda)]()[_0x58e1b8(0x207)](_0x4d3bb7=>_0x4d3bb7[_0x58e1b8(0x1ff)]),_0x1cc975=_0x32bc51(this['_univerInstanceService']);if(!_0x1cc975)return{'redos':[],'undos':[]};const {unitId:_0x16f47c,subUnitId:_0x1a28ac}=_0x1cc975,_0x166a4d={},_0xcdabea=this[_0x58e1b8(0xbf)][_0x58e1b8(0x17c)](_0x16f47c,_0x1a28ac);if(_0xcdabea!=null&&_0xcdabea[_0x58e1b8(0x129)])for(const [_0x4db458,_0x2af048]of _0xcdabea){const {unitId:_0xb19a92,subUnitId:_0x1516bb,row:_0x2871c8,col:_0x594c39}=_0x2af048[_0x58e1b8(0x177)];_0xb19a92===_0x1cc975[_0x58e1b8(0xad)]&&_0x1516bb===_0x1cc975['subUnitId']&&(_0x166a4d[_0x2871c8+'-'+_0x594c39]=_0x4db458);}return _0x193728&&_0x1cc975&&_0x193728[_0x58e1b8(0x1b9)](_0x594973=>{const _0x1513af=_0x58e1b8;_0x36db8c[_0x1513af(0x27a)](_0x594973,(_0x5c45a2,_0x462c8a)=>{const _0x2186a8=_0x1513af,_0x290317=_0x5c45a2+'-'+_0x462c8a;if(_0x166a4d[_0x290317]){const _0x2c17ed=_0x166a4d[_0x290317];_0x4511c5['push']({'id':Et['id'],'params':{'unitId':_0x16f47c,'subUnitId':_0x1a28ac,'pivotTableId':_0x2c17ed}});const _0x3f725a=this[_0x2186a8(0xbf)]['getCollection'](_0x16f47c,_0x2c17ed),_0x1bcdab=this[_0x2186a8(0xbf)][_0x2186a8(0x215)](_0x16f47c,_0x1a28ac,_0x2c17ed);_0x507762[_0x2186a8(0xc1)]({'id':Ct['id'],'params':{'unitId':_0x16f47c,'subUnitId':_0x1a28ac,'pivotTableId':_0x2c17ed,'pivotTableConfig':_0x1bcdab,'collectionConfig':_0x3f725a}});}});}),{'redos':_0x4511c5,'undos':_0x507762};}return{'redos':[],'undos':[]};}}));}};dt=ks([_t(0x0,_0x5838cd),_t(0x1,_0x351ec8(_0x335a29)),_t(0x2,_0x351ec8(_0xae168b)),_t(0x3,_0x351ec8(he))],dt);var Ls=Object['getOwnPropertyDescriptor'],Bs=(_0x5b7aa1,_0x4ae010,_0x5ec415,_0x10dd2b)=>{for(var _0xf26f70=_0x10dd2b>0x1?void 0x0:_0x10dd2b?Ls(_0x4ae010,_0x5ec415):_0x4ae010,_0x57dd3d=_0x5b7aa1['length']-0x1,_0x1fd364;_0x57dd3d>=0x0;_0x57dd3d--)(_0x1fd364=_0x5b7aa1[_0x57dd3d])&&(_0xf26f70=_0x1fd364(_0xf26f70)||_0xf26f70);return _0xf26f70;},qe=(_0x1c1901,_0x3e8d17)=>(_0x2b2dc5,_0x326b52)=>_0x3e8d17(_0x2b2dc5,_0x326b52,_0x1c1901);let ut=class extends _0x51d9e7{constructor(_0x8e2595,_0x8d93c4,_0x3a1727,_0x525edf,_0x93a817,_0x57ff3e){const _0x424d7d=_0xff08f;super(),this[_0x424d7d(0x30a)]=_0x8e2595,this[_0x424d7d(0xba)]=_0x8d93c4,this[_0x424d7d(0x157)]=_0x3a1727,this['_univerInstanceService']=_0x525edf,this[_0x424d7d(0xbf)]=_0x93a817,this[_0x424d7d(0xa9)]=_0x57ff3e,this['_initCommandInterceptListener']();}[_0xff08f(0x2ff)](_0x493481,_0x13e234,_0x1914e2){const _0x325c4b=_0xff08f,{pageView:_0x4f9a83,cornerView:_0x2417b5,rowView:_0x2c73a9,colView:_0x517148,dataView:_0x39fa04}=_0x13e234,_0x46c5fb=_0x493481;let _0x1a6f70;if(_0x1914e2)_0x1a6f70=[...ki(_0x46c5fb)];else{const _0x54d52e=ge(_0x46c5fb,_0x4f9a83,!0x0),_0xdd7ed0=_0x4f9a83[_0x325c4b(0x2bb)]>=0x0?_0x4f9a83['lastRow']+0x1:0x0,_0x33c8fc=_0x2417b5[_0x325c4b(0x2e0)],_0x22c25c=_0x2417b5['colCount'],_0xf88627=_0x54d52e[_0x325c4b(0x1a8)]>0x0?It:0x0,_0x8d10cb=ge({'row':_0x46c5fb[_0x325c4b(0x108)]+_0xdd7ed0+_0xf88627,'col':_0x46c5fb[_0x325c4b(0x247)]},_0x2417b5,!0x1,!0x1),_0x9cf7d0=ge({'row':_0x46c5fb['row']+_0xdd7ed0+_0xf88627+_0x33c8fc,'col':_0x46c5fb['col']},_0x2c73a9,!0x1,!0x0),_0x3d2766=ge({'row':_0x46c5fb[_0x325c4b(0x108)]+_0xdd7ed0+_0xf88627,'col':_0x46c5fb[_0x325c4b(0x247)]+_0x22c25c},_0x517148,!0x1,!0x0),_0x43c6b4=ge({'row':_0x46c5fb[_0x325c4b(0x108)]+_0xdd7ed0+_0xf88627+_0x33c8fc,'col':_0x46c5fb[_0x325c4b(0x247)]+_0x22c25c},_0x39fa04,!0x1,!0x0);_0x1a6f70=[..._0x54d52e,..._0x8d10cb,..._0x9cf7d0,..._0x3d2766,..._0x43c6b4];}return _0x1a6f70;}[_0xff08f(0x241)](){const _0x5afac=_0xff08f;this['disposeWithMe'](this[_0x5afac(0xa9)][_0x5afac(0x198)][_0x5afac(0x1e0)](this['_sheetsPivotTableService'][_0x5afac(0x198)][_0x5afac(0x21d)]()[_0x5afac(0x1d6)],{'handler':(_0x486442,_0x2bd8ec)=>{const _0x1e3a15=_0x5afac,{cellInfo:_0x54527d,view:_0x58fee7,isEmpty:_0x26cab6}=_0x2bd8ec,_0x5f2a68=_0x54527d,{unitId:_0x5a40e2,subUnitId:_0x1d65dd}=_0x5f2a68,_0x4f5075=this['_getPivotAppliedRanges'](_0x54527d,_0x58fee7,_0x26cab6),_0x2246ec=this[_0x1e3a15(0xba)][_0x1e3a15(0x1a4)]({'unitId':_0x5a40e2,'subUnitId':_0x1d65dd,'ranges':_0x4f5075}),_0x45bcae=Ho(this[_0x1e3a15(0x157)],_0x5a40e2,_0x1d65dd,_0x4f5075);_0x45bcae[_0x1e3a15(0x1ba)]&&(_0x2246ec[_0x1e3a15(0x2ed)][_0x1e3a15(0xc1)](_0x45bcae['setRangeValueRedoMutation']),_0x2246ec[_0x1e3a15(0x160)][_0x1e3a15(0xc1)](_0x45bcae['setRangeValueUndoMutation']));const _0x49a4eb=this[_0x1e3a15(0xf0)](_0x58fee7,_0x54527d);return _0x2246ec[_0x1e3a15(0x2ed)][_0x1e3a15(0xc1)](..._0x49a4eb['redos']),_0x2246ec[_0x1e3a15(0x160)]['push'](..._0x49a4eb[_0x1e3a15(0x160)]),{'redos':_0x2246ec[_0x1e3a15(0x2ed)],'undos':_0x2246ec['undos']};}}));}[_0xff08f(0xf0)](_0x16a395,_0x5b16af){const _0x1e4196=_0xff08f,{col:_0x3e8d2c,unitId:_0x1214f7,subUnitId:_0x5636c0}=_0x5b16af,_0x4601d0=[],_0x3f7afd=[],_0x91e09=_0x32bc51(this['_univerInstanceService'],{'unitId':_0x1214f7,'subUnitId':_0x5636c0});if(!_0x5b16af||!_0x16a395||!_0x91e09)return{'undos':_0x3f7afd,'redos':_0x4601d0};const _0x71202f=this[_0x1e4196(0xbf)][_0x1e4196(0xa5)](),{colView:_0xeb49f3,dataView:_0x404b29,cornerView:_0x53b319,rowView:_0x9df8e4,formatMap:_0x5cdbba}=_0x16a395,_0x547999=Po(_0xeb49f3,_0x71202f,!0x0,_0x5cdbba),_0x405931=Po(_0x9df8e4,_0x71202f,!0x1,_0x5cdbba),_0x2c2d43=Ki(_0x404b29),_0x3b1dca=$i(_0x53b319),{worksheet:_0x712ea9}=_0x91e09;if(typeof window<'u'&&window[_0x1e4196(0x112)]){const _0x232191=_0x473cad({...fe[_0x1e4196(0xdf)]}),_0xdcf23=_0x2bed79[_0x1e4196(0xb0)](_0x547999,_0x232191)['width']+0x10,_0x482d45=_0x2bed79[_0x1e4196(0xb0)](_0x2c2d43,_0x232191)[_0x1e4196(0x1eb)],_0x39c095=Math['floor'](Math[_0x1e4196(0x24c)](_0xdcf23,_0x482d45))+0x10,_0x536bae=Math[_0x1e4196(0xce)](_0x2bed79['getTextSize'](_0x405931,_0x232191)['width']),_0x1fcd4f=Math[_0x1e4196(0xce)](_0x2bed79[_0x1e4196(0xb0)](_0x3b1dca,_0x232191)[_0x1e4196(0x1eb)]),_0x68c947=Math[_0x1e4196(0x24c)](_0x536bae,_0x1fcd4f,0x28)+0xc,_0x4600b4=_0xeb49f3[_0x1e4196(0x92)]+_0x53b319[_0x1e4196(0x92)],_0x2434ab={},_0x809d41={};for(let _0x3742db=_0x3e8d2c;_0x3742db<_0x3e8d2c+_0x4600b4;_0x3742db++){const _0x345347=_0x712ea9[_0x1e4196(0x315)](_0x3742db);_0x2434ab[_0x3742db]=_0x345347,_0x3742db-_0x3e8d2c<_0x53b319[_0x1e4196(0x92)]?_0x809d41[_0x3742db-_0x3e8d2c]=_0x68c947:_0x809d41[_0x3742db-_0x3e8d2c]=_0x39c095;}_0x4601d0[_0x1e4196(0xc1)]({'id':_0x163dcd['id'],'params':{'subUnitId':_0x5636c0,'unitId':_0x1214f7,'ranges':[{'startColumn':_0x3e8d2c,'endColumn':_0x3e8d2c+_0x4600b4-0x1,'startRow':0x0,'endRow':_0x712ea9[_0x1e4196(0x209)]()-0x1}],'colWidth':_0x809d41}}),_0x3f7afd[_0x1e4196(0xc1)]({'id':_0x163dcd['id'],'params':{'subUnitId':_0x5636c0,'unitId':_0x1214f7,'ranges':[{'startColumn':_0x3e8d2c,'endColumn':_0x3e8d2c+_0x4600b4-0x1,'startRow':0x0,'endRow':_0x712ea9[_0x1e4196(0x209)]()-0x1}],'colWidth':_0x2434ab}});}return{'undos':_0x3f7afd,'redos':_0x4601d0};}};ut=Bs([qe(0x0,_0x351ec8(_0x1ca3ab)),qe(0x1,_0x351ec8(_0x335a29)),qe(0x2,_0x351ec8(_0x8ab5d1)),qe(0x3,_0x351ec8(_0x5838cd)),qe(0x4,_0x351ec8(he)),qe(0x5,_0x351ec8(ie))],ut);var Ks=Object[_0xff08f(0x1aa)],$s=(_0x1d0a03,_0x268eda,_0x25d870,_0x48dc24)=>{const _0x469ab9=_0xff08f;for(var _0x1bb4fa=_0x48dc24>0x1?void 0x0:_0x48dc24?Ks(_0x268eda,_0x25d870):_0x268eda,_0x3567cf=_0x1d0a03[_0x469ab9(0x1a8)]-0x1,_0x2c4916;_0x3567cf>=0x0;_0x3567cf--)(_0x2c4916=_0x1d0a03[_0x3567cf])&&(_0x1bb4fa=_0x2c4916(_0x1bb4fa)||_0x1bb4fa);return _0x1bb4fa;},ke=(_0x1781d6,_0x58d274)=>(_0x407d65,_0x1f05f9)=>_0x58d274(_0x407d65,_0x1f05f9,_0x1781d6);let ft=class extends _0x51d9e7{constructor(_0x5f1b31,_0x577c22,_0x412b3e,_0x27103f,_0x114ee6,_0x3dd15c,_0x480b1f){const _0x2523f=_0xff08f;super(),V(this,_0x2523f(0x105),new _0xbeda3e()),(this[_0x2523f(0x157)]=_0x5f1b31,this[_0x2523f(0x20d)]=_0x577c22,this[_0x2523f(0x260)]=_0x412b3e,this[_0x2523f(0x2d4)]=_0x27103f,this['_sheetsPivotTableConfigModel']=_0x114ee6,this[_0x2523f(0x22a)]=_0x3dd15c,this['_sheetInterceptorService']=_0x480b1f,this['_onRefRangeChange']());}[_0xff08f(0x96)](){const _0x54ae2c=_0xff08f,_0x3ba40a=(_0x3c33cc,_0x47cc5e)=>{const _0xd5309e=_0x37bd,_0x28bc4c=this[_0xd5309e(0x2d4)][_0xd5309e(0x1fa)](_0x534b47[_0xd5309e(0x288)]);if(!_0x28bc4c||!(_0x28bc4c==null?void 0x0:_0x28bc4c[_0xd5309e(0x2c4)](_0x47cc5e)))return;this[_0xd5309e(0x105)][_0xd5309e(0x2ca)]();const _0x31e869=_0x3862be=>this[_0xd5309e(0x13e)](_0x3862be,_0x3c33cc,_0x47cc5e),_0x48869f=this[_0xd5309e(0xbf)][_0xd5309e(0x17c)](_0x3c33cc,_0x47cc5e);if(!(_0x48869f!=null&&_0x48869f[_0xd5309e(0x129)]))return;Array['from'](_0x48869f[_0xd5309e(0x293)]())[_0xd5309e(0x207)](_0x5bea65=>{const _0x3f0300=_0xd5309e,{row:_0x3c75fe,col:_0x136bc7}=_0x5bea65[_0x3f0300(0x177)];return _0x1fea7f(_0x3c75fe,_0x136bc7);})[_0xd5309e(0x1b9)](_0x2c4de1=>{const _0x1d8c0d=_0xd5309e;this['disposableCollection'][_0x1d8c0d(0x15c)](this['_refRangeService'][_0x1d8c0d(0x273)](_0x2c4de1,_0x31e869,_0x3c33cc,_0x47cc5e));});},_0x46d00d=()=>{const _0x284591=_0x37bd,_0x25236f=this[_0x284591(0x2d4)]['getCurrentUnitForType'](_0x534b47[_0x284591(0x288)]);if(_0x25236f){const _0x405c20=_0x25236f['getActiveSheet']();if(!_0x405c20)return;_0x3ba40a(_0x25236f[_0x284591(0xa7)](),_0x405c20[_0x284591(0x8d)]());}};this[_0x54ae2c(0x1ab)](this[_0x54ae2c(0x260)][_0x54ae2c(0x1bc)](_0x260f64=>{const _0x326acf=_0x54ae2c;if(_0x260f64['id']===_0x3c1116['id']){const _0x1b394b=_0x260f64[_0x326acf(0x2bf)],_0x21c4d3=_0x1b394b[_0x326acf(0x174)],_0x4009d9=_0x1b394b[_0x326acf(0xad)];if(!_0x21c4d3||!_0x4009d9)return;_0x3ba40a(_0x4009d9,_0x21c4d3);}})),this['disposeWithMe'](this[_0x54ae2c(0xbf)]['pivotInitCompleted$'][_0x54ae2c(0x2ec)](_0x2841e9=>{_0x2841e9&&_0x46d00d();})),this['disposeWithMe'](this['_sheetsPivotTableConfigModel'][_0x54ae2c(0x155)][_0x54ae2c(0x2ec)](_0x20c6e1=>{const _0x449e71=_0x54ae2c,_0x1bedbd=_0x32bc51(this[_0x449e71(0x2d4)]);if(!_0x1bedbd)return;const {unitId:_0x4961ca,subUnitId:_0x5b5151}=_0x1bedbd,{unitId:_0x3ede92,subUnitId:_0x289935}=_0x20c6e1;_0x4961ca!==_0x3ede92||_0x5b5151!==_0x289935||_0x3ba40a(_0x4961ca,_0x5b5151);})),_0x46d00d();}[_0xff08f(0x13e)](_0xcd1fb5,_0x2285af,_0x28bfaf){const _0x39696d=_0xff08f;switch(_0xcd1fb5['id']){case _0x3d918c['id']:return this[_0x39696d(0x1fc)](_0xcd1fb5['params'],_0x2285af,_0x28bfaf);}return{'redos':[],'undos':[]};}[_0xff08f(0x1fc)](_0x2b35ff,_0x4fca0a,_0x606946){const _0x59b37e=_0xff08f,{fromRange:_0x3632b5,toRange:_0x527118}=_0x2b35ff,_0x16e3f6=[],_0x5b47c7=[],_0x1448cd=_0x32bc51(this['_univerInstanceService']);if(!_0x1448cd)return{'undos':_0x5b47c7,'redos':_0x16e3f6};if(_0x4fca0a!==_0x1448cd[_0x59b37e(0xad)]||_0x606946!==_0x1448cd[_0x59b37e(0x174)])return{'undos':_0x5b47c7,'redos':_0x16e3f6};const _0x40ae4e=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x4fca0a,_0x606946);if(_0x40ae4e!=null&&_0x40ae4e[_0x59b37e(0x129)])for(const [_0x12c9dd,_0x94d4f3]of _0x40ae4e){const {unitId:_0x52014c,subUnitId:_0x42bc03,row:_0x4a22d8,col:_0x4460ae}=_0x94d4f3[_0x59b37e(0x177)];if(_0x52014c===_0x1448cd[_0x59b37e(0xad)]&&_0x42bc03===_0x1448cd['subUnitId']){const _0x216cd3=_0x1fea7f(_0x4a22d8,_0x4460ae);if(_0x3356fe[_0x59b37e(0x154)](_0x216cd3,_0x3632b5)){const _0x4ca95e=_0x4a22d8-_0x3632b5['startRow'],_0x175e6f=_0x4460ae-_0x3632b5[_0x59b37e(0x136)],_0x539b1c={'row':_0x527118['startRow']+_0x4ca95e,'col':_0x527118['startColumn']+_0x175e6f};_0x16e3f6['push']({'id':pt['id'],'params':{'unitId':_0x52014c,'subUnitId':_0x42bc03,'pivotTableId':_0x12c9dd,'targetCellPosition':_0x539b1c}}),_0x5b47c7[_0x59b37e(0xc1)]({'id':pt['id'],'params':{'unitId':_0x52014c,'subUnitId':_0x42bc03,'pivotTableId':_0x12c9dd,'targetCellPosition':{'row':_0x4a22d8,'col':_0x4460ae}}});const _0x4261c1=_0x539b1c[_0x59b37e(0x108)]-_0x4a22d8,_0x4edfe5=_0x539b1c[_0x59b37e(0x247)]-_0x4460ae,_0x4ef344=[],_0x45e50d=this[_0x59b37e(0x22a)][_0x59b37e(0x153)](_0x52014c,_0x42bc03,_0x12c9dd),_0x39ed47=_0x45e50d==null?void 0x0:_0x45e50d[_0x59b37e(0x95)];if(_0x39ed47){Object['keys'](_0x39ed47)[_0x59b37e(0x1b9)](_0x56a967=>{_0x39ed47[_0x56a967]['forEach'](_0x57fe73=>{const _0x276e5c=_0x37bd,_0x58f766={..._0x57fe73};_0x58f766['startRow']=_0x57fe73['startRow']+_0x4261c1,_0x58f766[_0x276e5c(0x1de)]=_0x57fe73[_0x276e5c(0x1de)]+_0x4261c1,_0x58f766[_0x276e5c(0x136)]=_0x57fe73[_0x276e5c(0x136)]+_0x4edfe5,_0x58f766[_0x276e5c(0x1fe)]=_0x57fe73[_0x276e5c(0x1fe)]+_0x4edfe5,_0x4ef344[_0x276e5c(0xc1)](_0x58f766);});});const _0x2a9f81=this[_0x59b37e(0xba)][_0x59b37e(0x1a4)]({'unitId':_0x52014c,'subUnitId':_0x42bc03,'ranges':_0x4ef344});_0x16e3f6['push'](..._0x2a9f81['redos']),_0x5b47c7[_0x59b37e(0xc1)](..._0x2a9f81['undos']);const _0x26893c=Ho(this['_injector'],_0x52014c,_0x42bc03,_0x4ef344);_0x26893c['shouldClear']&&(_0x16e3f6[_0x59b37e(0xc1)](_0x26893c[_0x59b37e(0x1d1)]),_0x5b47c7[_0x59b37e(0xc1)](_0x26893c[_0x59b37e(0x12f)]));}}}}return{'redos':_0x16e3f6,'undos':_0x5b47c7};}};ft=$s([ke(0x0,_0x351ec8(_0x8ab5d1)),ke(0x1,_0x351ec8(_0x5aebf8)),ke(0x2,_0x596dde),ke(0x3,_0x5838cd),ke(0x4,_0x351ec8(he)),ke(0x5,_0x351ec8(Ne)),ke(0x6,_0x351ec8(_0x335a29))],ft);var Js=Object['getOwnPropertyDescriptor'],js=(_0x1c0e38,_0x5e0cc9,_0x46834b,_0x342b33)=>{const _0x430377=_0xff08f;for(var _0x4e7876=_0x342b33>0x1?void 0x0:_0x342b33?Js(_0x5e0cc9,_0x46834b):_0x5e0cc9,_0x5b33f9=_0x1c0e38[_0x430377(0x1a8)]-0x1,_0x440463;_0x5b33f9>=0x0;_0x5b33f9--)(_0x440463=_0x1c0e38[_0x5b33f9])&&(_0x4e7876=_0x440463(_0x4e7876)||_0x4e7876);return _0x4e7876;},_o=(_0xa32f42,_0x489756)=>(_0x3400a9,_0x16e74f)=>_0x489756(_0x3400a9,_0x16e74f,_0xa32f42);let gt=class extends _0x51d9e7{constructor(_0x431ecb,_0x506024){const _0x37feca=_0xff08f;super(),this[_0x37feca(0xba)]=_0x431ecb,this[_0x37feca(0xbf)]=_0x506024,this[_0x37feca(0x145)]();}['_initRemoveSheetCommandInterceptor'](){const _0x41f107=_0xff08f;this[_0x41f107(0x1ab)](this[_0x41f107(0xba)]['interceptCommand']({'getMutations':_0x2f25b9=>{const _0xc90d8f=_0x41f107;if(_0x2f25b9['id']===_0x5cb87a['id']){const _0x425dd4=[],_0x230575=[],_0x1bf34e=_0x2f25b9['params'],{unitId:_0x14d33a,subUnitId:_0x5cd49c}=_0x1bf34e;if(!_0x14d33a||!_0x5cd49c)return{'undos':_0x230575,'redos':_0x425dd4};const _0x47db66=this[_0xc90d8f(0xbf)][_0xc90d8f(0x17c)](_0x14d33a,_0x5cd49c);if(_0x47db66!=null&&_0x47db66[_0xc90d8f(0x129)])for(const [_0x16a4db,_0x5ccfbc]of _0x47db66){_0x425dd4[_0xc90d8f(0xc1)]({'id':Et['id'],'params':{'unitId':_0x14d33a,'subUnitId':_0x5cd49c,'pivotTableId':_0x16a4db}});const _0x4ea135={...this['_sheetsPivotTableConfigModel']['getCollection'](_0x14d33a,_0x16a4db)};_0x230575[_0xc90d8f(0xc1)]({'id':Ct['id'],'params':{'unitId':_0x14d33a,'subUnitId':_0x5cd49c,'pivotTableId':_0x16a4db,'pivotTableConfig':_0x5ccfbc,'collectionConfig':_0x4ea135}});}return{'redos':_0x425dd4,'undos':_0x230575};}return{'redos':[],'undos':[]};}}));}};gt=js([_o(0x0,_0x351ec8(_0x335a29)),_o(0x1,_0x351ec8(he))],gt);var Ws=Object[_0xff08f(0x1aa)],Gs=(_0x17d32e,_0x18be41,_0x4e518a,_0x58f0e4)=>{const _0x3bef40=_0xff08f;for(var _0x585d71=_0x58f0e4>0x1?void 0x0:_0x58f0e4?Ws(_0x18be41,_0x4e518a):_0x18be41,_0x3f143f=_0x17d32e[_0x3bef40(0x1a8)]-0x1,_0x4f717c;_0x3f143f>=0x0;_0x3f143f--)(_0x4f717c=_0x17d32e[_0x3f143f])&&(_0x585d71=_0x4f717c(_0x585d71)||_0x585d71);return _0x585d71;},Ye=(_0x2a260a,_0x211aac)=>(_0x526839,_0xc84ae1)=>_0x211aac(_0x526839,_0xc84ae1,_0x2a260a);let vt=class extends _0x51d9e7{constructor(_0x1b8fad,_0x4b5195,_0x40b48f,_0x3685ad,_0x422fdf,_0x420b2f){const _0x3bfbd8=_0xff08f;super(),this['_commandService']=_0x1b8fad,this[_0x3bfbd8(0x272)]=_0x4b5195,this['_sheetsPivotTableAdaptorModel']=_0x40b48f,this[_0x3bfbd8(0xbf)]=_0x3685ad,this[_0x3bfbd8(0x2d4)]=_0x422fdf,this[_0x3bfbd8(0x2fe)]=_0x420b2f,this[_0x3bfbd8(0xa8)](),this['registerDirtyService']();}[_0xff08f(0xa8)](){const _0x29edb4=_0xff08f;this[_0x29edb4(0x1ab)](this[_0x29edb4(0x260)][_0x29edb4(0x1bc)](_0x2f67e6=>{const _0x37ae5e=_0x29edb4;if(_0x2f67e6['id']!==lo['id'])return;const _0x579222=_0x2f67e6[_0x37ae5e(0x2bf)];this[_0x37ae5e(0x272)][_0x37ae5e(0x28b)](_0x579222);})),this[_0x29edb4(0x1ab)](this[_0x29edb4(0x260)][_0x29edb4(0x1bc)](_0xe1059a=>{const _0x32c00b=_0x29edb4;if(_0xe1059a['id']===co['id']){const _0x517d62=_0xe1059a[_0x32c00b(0x2bf)];if(_0x517d62){const {unitId:_0x2f4add,subUnitId:_0x2d686b,oldSubUnitId:_0x26e0eb,pivotTableId:_0x138e52,pivotTableConfig:_0x4d2f5e,collectionConfig:_0x135bfa}=_0x517d62;this['_sheetsPivotTableConfigModel'][_0x32c00b(0x283)](_0x2f4add,_0x26e0eb,_0x517d62[_0x32c00b(0x2d8)],null),this['_sheetsPivotTableConfigModel'][_0x32c00b(0x283)](_0x2f4add,_0x2d686b,_0x138e52,_0x4d2f5e),this[_0x32c00b(0xbf)][_0x32c00b(0x185)](_0x2f4add,_0x135bfa);}}})),this[_0x29edb4(0x1ab)](this[_0x29edb4(0x260)]['onCommandExecuted'](_0x5763cb=>{const _0x5256fb=_0x29edb4;if(_0x5763cb['id']!==Dt['id'])return;const _0x55c9fa=_0x32bc51(this[_0x5256fb(0x2d4)]);if(!_0x55c9fa)return;const {unitId:_0x18715d,subUnitId:_0x566a68}=_0x55c9fa,_0x5676e9=_0x5763cb[_0x5256fb(0x2bf)];if(_0x5676e9[_0x5256fb(0x2c0)]&&Object[_0x5256fb(0x237)](_0x5676e9[_0x5256fb(0x2c0)])[_0x5256fb(0x1b9)](_0x25251c=>{const _0x6c5d65=_0x5256fb;var _0x37ecb7;(_0x37ecb7=_0x5676e9[_0x6c5d65(0x2c0)])!=null&&_0x37ecb7[_0x25251c]&&this[_0x6c5d65(0xbf)]['updateCollectionConfig'](_0x25251c,_0x5676e9[_0x6c5d65(0x2c0)][_0x25251c]);}),_0x5676e9[_0x5256fb(0x8e)]){const _0x43dbb8=_0x5676e9[_0x5256fb(0x8e)],{unitId:_0x19de75,subUnitId:_0x2f8ffe,view:_0x3558bb,pivotTableId:_0x1ad478,type:_0x446bf2,pivotConfig:_0x186dac}=_0x43dbb8;if(_0x446bf2===K[_0x5256fb(0xa6)])this['_sheetsPivotTableAdaptorModel'][_0x5256fb(0x1a1)]({'unitId':_0x19de75,'subUnitId':_0x2f8ffe,'pivotTableId':_0x1ad478,'type':_0x446bf2}),this[_0x5256fb(0xbf)]['updateConfigCache'](_0x19de75,_0x2f8ffe,_0x1ad478,null);else{const _0x5d9f6e=new _0x26d2cd();_0x5d9f6e[_0x5256fb(0x165)](_0x3558bb),this[_0x5256fb(0xbf)][_0x5256fb(0x283)](_0x19de75,_0x2f8ffe,_0x1ad478,_0x186dac),this[_0x5256fb(0x22a)][_0x5256fb(0x1a1)]({'unitId':_0x19de75,'subUnitId':_0x2f8ffe,'pivotTableId':_0x1ad478,'type':_0x446bf2,'view':_0x5d9f6e}),this[_0x5256fb(0x22a)][_0x5256fb(0x2c2)]({'unitId':_0x19de75,'subUnitId':_0x2f8ffe,'view':_0x5d9f6e,'pivotTableId':_0x1ad478,'type':_0x446bf2});}}else _0x5676e9[_0x5256fb(0x1c3)]&&(_0x5676e9[_0x5256fb(0x1c3)]['forEach'](_0x173b37=>{const _0x173ab3=_0x5256fb,{unitId:_0x54ed04,subUnitId:_0x155bbe,view:_0x5edff9,pivotTableId:_0x3cb48b,type:_0x4ad103,pivotConfig:_0x5d780c}=_0x173b37,_0x2b9e7d=new _0x26d2cd();_0x2b9e7d['formJSON'](_0x5edff9),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x54ed04,_0x155bbe,_0x3cb48b,_0x5d780c),this[_0x173ab3(0x22a)]['updateRenderCache']({'unitId':_0x54ed04,'subUnitId':_0x155bbe,'view':_0x2b9e7d,'pivotTableId':_0x3cb48b,'type':_0x4ad103});}),this[_0x5256fb(0xbf)][_0x5256fb(0xc0)]());this[_0x5256fb(0x22a)][_0x5256fb(0x2f1)](_0x18715d,_0x566a68);}));}[_0xff08f(0x2d1)](){const _0x45d717=_0xff08f;this['_activeDirtyManagerService'][_0x45d717(0x2a3)](Ut['id'],{'commandId':Ut['id'],'getDirtyData'(_0x2e7770){return{'dirtyUnitFeatureMap':_0x2e7770['params']};}});}};vt=Gs([Ye(0x0,_0x351ec8(_0x596dde)),Ye(0x1,_0x351ec8(Z)),Ye(0x2,_0x351ec8(Ne)),Ye(0x3,_0x351ec8(he)),Ye(0x4,_0x351ec8(_0x5838cd)),Ye(0x5,_0x108dda)],vt);var Hs=Object['defineProperty'],qs=Object[_0xff08f(0x1aa)],Ys=(_0x4fed0c,_0xe41560,_0x4fd9a7)=>_0xe41560 in _0x4fed0c?Hs(_0x4fed0c,_0xe41560,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fd9a7}):_0x4fed0c[_0xe41560]=_0x4fd9a7,zs=(_0x539c2a,_0x4e93eb,_0x5e0660,_0x516ca6)=>{const _0x7a94bc=_0xff08f;for(var _0x1e80a1=_0x516ca6>0x1?void 0x0:_0x516ca6?qs(_0x4e93eb,_0x5e0660):_0x4e93eb,_0x270435=_0x539c2a[_0x7a94bc(0x1a8)]-0x1,_0x1b0e12;_0x270435>=0x0;_0x270435--)(_0x1b0e12=_0x539c2a[_0x270435])&&(_0x1e80a1=_0x1b0e12(_0x1e80a1)||_0x1e80a1);return _0x1e80a1;},Ft=(_0x38e0fa,_0x374a16)=>(_0x54a994,_0x2b4c72)=>_0x374a16(_0x54a994,_0x2b4c72,_0x38e0fa),Xo=(_0x20f57f,_0x4545d3,_0x29c2b6)=>Ys(_0x20f57f,typeof _0x4545d3!=_0xff08f(0x18c)?_0x4545d3+'':_0x4545d3,_0x29c2b6);let Vt=class extends _0x352784{constructor(_0xd6f85c=Mo,_0x111bf9,_0x517b4d,_0x1c13ca,_0x2cc33f){const _0x2bb95a=_0xff08f;super(),this[_0x2bb95a(0x274)]=_0xd6f85c,this['_injector']=_0x111bf9,this['_commandService']=_0x517b4d,this[_0x2bb95a(0x2e7)]=_0x1c13ca,this['_dataSyncPrimaryController']=_0x2cc33f;const {..._0x118cf4}=_0x12e4b1({},Mo,this[_0x2bb95a(0x274)]);this['_configService'][_0x2bb95a(0x24d)](Yo,_0x118cf4),this[_0x2bb95a(0x1e4)](),this[_0x2bb95a(0x141)]();}[_0xff08f(0x141)](){const _0x3edd7f=_0xff08f;var _0x1a81cb;const _0x45fd38=(_0x1a81cb=this[_0x3edd7f(0x274)])==null?void 0x0:_0x1a81cb['notExecuteFormula'];this[_0x3edd7f(0x2e7)]['setConfig'](q,_0x45fd38===!0x0);}[_0xff08f(0x1dd)](){const _0x18a5e6=_0xff08f;var _0x311dbb;let _0x382e4c=[];const _0x55ef3e=(_0x311dbb=this[_0x18a5e6(0x274)])==null?void 0x0:_0x311dbb['notExecuteFormula'];_0x55ef3e===!0x0?_0x382e4c=[[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]:_0x55ef3e===!0x1?_0x382e4c=[[$],[ct]]:_0x55ef3e===void 0x0&&(_0x382e4c=[[$],[ct],[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]),_0x382e4c[_0x18a5e6(0x1b9)](_0x82ae6d=>this[_0x18a5e6(0x157)][_0x18a5e6(0x15c)](_0x82ae6d)),[ct,vt,ie,dt,gt,ft,ut]['forEach'](_0x4c28ac=>{const _0x2d7384=_0x18a5e6;this[_0x2d7384(0x157)][_0x2d7384(0x1bd)](_0x4c28ac)&&this[_0x2d7384(0x157)]['get'](_0x4c28ac);});}[_0xff08f(0x1e4)](){const _0xd35ef=_0xff08f;[hs,ps,vs,ms,Cs,ys,Ds,bs,Ts,Ss,Ps,Ms,ws,Is,Ct,oo,Et,$t,zo,Qo,Ht,Jt,jt,Wt,Yt,qt,pt,ro,lo,Dt,Xt,eo,zt,Gt,uo,to,Zt,Ut,co,_s,Qt,Fs,Rs][_0xd35ef(0x1b9)](_0x358e7d=>{const _0x445e6c=_0xd35ef;var _0x2d66db;(_0x2d66db=this[_0x445e6c(0x159)])==null||_0x2d66db[_0x445e6c(0x2ae)](_0x358e7d),this[_0x445e6c(0x260)][_0x445e6c(0xd3)](_0x358e7d);});}};Xo(Vt,'pluginName',ao),Xo(Vt,_0xff08f(0x11a),_0x534b47[_0xff08f(0x288)]),Vt=zs([_0x2195c9(_0x5ad87e),Ft(0x1,_0x351ec8(_0x8ab5d1)),Ft(0x2,_0x351ec8(_0x596dde)),Ft(0x3,_0x56c73b),Ft(0x4,_0x206ad2(_0x45346f))],Vt);export{vs as AddPivotFieldCommand,$t as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,hs as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,ws as MovePivotTableCommand,k as PivotDisplayDataType,Is as PivotDrillDownCommand,K as PivotTableOperationEnum,Ut as PivotTableViewDirtyMarkOperation,Lo as PositionType,Cs as RemovePivotFieldCommand,Jt as RemovePivotFieldMutation,Et as RemovePivotTableMutation,jt as RenamePivotFieldMutation,Rs as ResetPivotFieldsConfigCommand,Yo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,Wt as SetPivotCollapseMutation,Gt as SetPivotFieldFormatMutation,Fs as SetPivotFieldsConfigCommand,Ss as SetPivotFilterCommand,Ht as SetPivotFilterMutation,qt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ts as SetPivotSortCommand,Yt as SetPivotSortMutation,zt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,Qt as SetPivotValueFilterMutation,$ as SheetsPivotDataSourceModel,Z as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,he as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Vt as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Ps as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,Ms as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,ys as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,Go as canUsePivot,fe as defaultThemeStyle,Ho as generateSetRangeValueMutations,ge as getAdjustRangesPosition,ki as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,Ei as getPivotCellInfo,go as getPivotInfoByLicense,Oi as getPivotTableInfo,ht as transFromCellValue,Kt as unionPivotViewRange};
1
+ const _0x4cee97=_0x47fa;(function(_0x368b28,_0x197f75){const _0x13ee22=_0x47fa,_0x229949=_0x368b28();while(!![]){try{const _0x406bd7=-parseInt(_0x13ee22(0x278))/0x1+-parseInt(_0x13ee22(0x10f))/0x2*(-parseInt(_0x13ee22(0x2f0))/0x3)+parseInt(_0x13ee22(0x27d))/0x4*(-parseInt(_0x13ee22(0x154))/0x5)+-parseInt(_0x13ee22(0x2c0))/0x6*(-parseInt(_0x13ee22(0x1e0))/0x7)+parseInt(_0x13ee22(0x2cc))/0x8*(parseInt(_0x13ee22(0x1be))/0x9)+-parseInt(_0x13ee22(0xdc))/0xa+parseInt(_0x13ee22(0x109))/0xb*(-parseInt(_0x13ee22(0x147))/0xc);if(_0x406bd7===_0x197f75)break;else _0x229949['push'](_0x229949['shift']());}catch(_0x150516){_0x229949['push'](_0x229949['shift']());}}}(_0x599c,0x4e0d5));var an=Object[_0x4cee97(0x2d5)],rn=(_0x41a244,_0x11492d,_0x1dfc54)=>_0x11492d in _0x41a244?an(_0x41a244,_0x11492d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1dfc54}):_0x41a244[_0x11492d]=_0x1dfc54,O=(_0x46305a,_0x4e39d9,_0x4825b4)=>rn(_0x46305a,typeof _0x4e39d9!=_0x4cee97(0x24b)?_0x4e39d9+'':_0x4e39d9,_0x4825b4);import{PivotCellStyleTypeEnum as _0x3a17a7,PivotViewCellValueTypeEnum as _0x33a1c8,isPrefixValue as _0x4927ae,isErrorValue as _0x3cdcc3,PivotErrorTypeEnum as _0x19121c,PivotDateGroupFieldDateTypeEnum as _0x516491,DataFieldManager as _0xa80ed7,FieldsCollection as _0x3b2b5f,isDateValue as _0x40a283,DataField as _0x41dea3,generateHexNumber as _0x5c7c44,isBaseGroupField as _0x305057,PivotTable as _0x5c6617,PivotSubtotalTypeEnum as _0x230a2c,PivotTableFiledAreaEnum as _0x15054a,excelDateToUnixMilliseconds as _0x17a236,createValueField as _0x209915,createLabelField as _0x272b60,PivotTableChangeTypeEnum as _0x2b055f,BaseGroupField as _0x2b4685,PivotView as _0x18cfb9,isDateGroupFieldJSON as _0x1b027d,PivotCallbackEnum as _0x353462,PivotFilterTypeEnum as _0xfbe698,getAutoDisplayName as _0x148083,PivotDataFieldDataTypeEnum as _0x1061a3,PivotTableValuePositionEnum as _0xb63d31,isDateGroupField as _0x23e3cb,DateGroupField as _0xb7744b}from'@univerjs-pro/engine-pivot';import{cellToRange as _0x330834,ObjectMatrix as _0x223fc9,IUniverInstanceService as _0x29adac,UniverInstanceType as _0x5de41e,CellValueType as _0x8d500b,numfmt as _0x5858f7,LocaleService as _0x18acb2,createAsyncInterceptorKey as _0x160b62,createInterceptorKey as _0x1eaa6e,CommandType as _0x49026b,RANGE_TYPE as _0x51a85a,numberToABC as _0x3d934d,Inject as _0x4c00f1,Injector as _0xb8618,LifecycleService as _0x14ad9c,IConfigService as _0x3ff295,ICommandService as _0x209817,IResourceManagerService as _0x324e66,Disposable as _0x125de6,Rectangle as _0x508b94,Tools as _0x3938e5,AsyncInterceptorManager as _0x459d4e,InterceptorManager as _0x2e278f,InterceptorEffectEnum as _0x5d770d,CustomCommandExecutionError as _0x48a432,IUndoRedoService as _0x7c4296,sequenceExecute as _0x1e8345,mergeWorksheetSnapshotWithDefault as _0x35c14b,generateRandomId as _0x397182,DEFAULT_WORKSHEET_COLUMN_COUNT as _0x97b78f,DEFAULT_WORKSHEET_ROW_COUNT as _0x89b0ad,DisposableCollection as _0x4eef86,Range as _0x560955,DependentOn as _0x2d69b5,Optional as _0x5750ac,Plugin as _0x22a581,merge as _0xd74257}from'@univerjs/core';import{ErrorType as _0x38c1b1,serializeRangeWithSpreadsheet as _0x1a7f2f,IFeatureCalculationManagerService as _0x1c1246,GlobalComputingStatusService as _0x532fd4,IActiveDirtyManagerService as _0x142dc5}from'@univerjs/engine-formula';import{generateNullCell as _0x5d4b0d,SetRangeValuesUndoMutationFactory as _0x276f2a,SetRangeValuesMutation as _0x3bbdb6,getSheetCommandTarget as _0x66221a,InsertRowMutation as _0x18d661,RemoveRowMutation as _0x473d0e,InsertColMutation as _0x5b12e0,RemoveColMutation as _0xe3d904,IExclusiveRangeService as _0x3c2fc8,SheetInterceptorService as _0x48b3fd,INTERCEPTOR_POINT as _0x511f4b,InsertSheetCommand as _0xf34787,InsertSheetUndoMutationFactory as _0x13e8aa,RemoveSheetMutation as _0xb5a49d,InsertSheetMutation as _0x3bf316,MoveRangeMutation as _0x3f9f63,SheetsSelectionsService as _0x283892,ClearSelectionContentCommand as _0x117649,ClearSelectionAllCommand as _0x4c44d2,SetWorksheetColWidthMutation as _0x559160,RefRangeService as _0x3d2300,SetWorksheetActiveOperation as _0x225004,MoveRangeCommand as _0x5ce239,RemoveSheetCommand as _0x5f4238}from'@univerjs/sheets';import{Subject as _0x563d8d,BehaviorSubject as _0x14e874}from'rxjs';import{LS_CONFIG_KEY as _0x31c327,unshiftString as _0x16fced,isFeatureAuthorizedWithinTime as _0x2d5ff0,getSheetFeatureLimit as _0x3ee790,ReleaseType as _0x535c1c,UniverLicensePlugin as _0x1558a9}from'@univerjs-pro/license';import{SetSheetsFilterRangeMutation as _0x2e9a9f,RemoveSheetsFilterMutation as _0x4d8d3c}from'@univerjs/sheets-filter';import{DataSyncPrimaryController as _0x57bbeb}from'@univerjs/rpc';import{getFontStyleString as _0x119247,FontCache as _0x14295c}from'@univerjs/engine-render';const Ao=Number[_0x4cee97(0x2a5)](0x6866ac4d),li=0x10,so=0x1,ao='SHEET_PIVOT_TABLE_PLUGIN',It=0x1,ci=_0x4cee97(0x198),di=_0x4cee97(0xb2),wt=_0x4cee97(0x2ef),ui=_0x4cee97(0x2ec),fi=_0x4cee97(0x2ec),gi='#eceeff',vi=_0x4cee97(0x9e),hi='#FFFFFF',pi='#e6ebfa',mi=_0x4cee97(0x9e),Ii=_0x4cee97(0x2a3),Ci='#e6ebfb',bi=0xe,Si=0x6;var ko=(_0x42d1bd=>(_0x42d1bd[_0x4cee97(0x9d)]=_0x4cee97(0x11c),_0x42d1bd[_0x4cee97(0xf3)]=_0x4cee97(0xd5),_0x42d1bd))(ko||{});const Bo={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},Ti=0x1e,je={'b':{'s':0x1,'cl':{'rgb':wt}},'l':{'s':0x1,'cl':{'rgb':wt}},'r':{'s':0x1,'cl':{'rgb':wt}},'t':{'s':0x1,'cl':{'rgb':wt}}},oe={'bg':{'rgb':ci},'ht':0x2,'vt':0x2,'tb':0x1},_={'bg':{'rgb':di},'ht':0x2,'vt':0x2,'tb':0x1},fe={'rowStyle':{'bg':{'rgb':Ci},'bd':je,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':mi},'bd':null,'cl':{'rgb':Ii},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':je,'bg':{'rgb':pi},'vt':0x2},'cornerStyle':{'bd':je,'bg':{'rgb':gi},'bl':0x1,'vt':0x2},'pageStyle':{'bd':je,'bg':{'rgb':ui},'vt':0x2},'leafStyle':{'bd':je,'bg':{'rgb':fi},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':vi},'cl':{'rgb':hi},'bl':0x1,'vt':0x2},'dataStyle':{'bd':je,'vt':0x2}};function Pi(_0x276472,_0x1cd115,_0x4bb392){const _0x192cdc=_0x4cee97,_0x33d269=_0x276472[_0x192cdc(0x1d9)](_0x18acb2),_0x3effbe=_0x4bb392[_0x192cdc(0x8e)]('_');switch(_0x1cd115){case _0x516491[_0x192cdc(0x164)]:return _0x33d269['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x3effbe);case _0x516491[_0x192cdc(0x10d)]:return _0x33d269['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x3effbe);case _0x516491[_0x192cdc(0x1f3)]:return _0x33d269['t'](_0x192cdc(0x191),..._0x3effbe);case _0x516491[_0x192cdc(0x180)]:return _0x33d269['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x3effbe);case _0x516491[_0x192cdc(0x2f4)]:return _0x33d269['t'](_0x192cdc(0x93),..._0x3effbe);case _0x516491[_0x192cdc(0x132)]:return _0x33d269['t'](_0x192cdc(0x231),..._0x3effbe);case _0x516491[_0x192cdc(0x162)]:return _0x33d269['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x3effbe);case _0x516491[_0x192cdc(0xb5)]:return _0x33d269['t'](_0x192cdc(0x1b3),..._0x3effbe);case _0x516491[_0x192cdc(0x200)]:return _0x33d269['t'](_0x192cdc(0x2ad),..._0x3effbe);case _0x516491[_0x192cdc(0x73)]:return _0x33d269['t'](_0x192cdc(0x9b),..._0x3effbe);}return'';}const it=(_0x461c72,_0x2f6dc6,_0x425b21,_0x34c820)=>{const _0x5f203b=_0x4cee97;let _0x43666c;const _0x54a7dc=_0x461c72[_0x5f203b(0x1d9)](_0x29adac)[_0x5f203b(0x125)](_0x5de41e['UNIVER_SHEET']);if(!_0x54a7dc)return null;const _0xa71941=_0x54a7dc[_0x5f203b(0x120)]();let _0x14a2e9;if(_0x425b21&&(_0x14a2e9=_0xa71941[_0x5f203b(0x2ea)](_0x425b21)),_0x2f6dc6!=null&&_0x2f6dc6['v']||(_0x2f6dc6==null?void 0x0:_0x2f6dc6['v'])===0x0){_0x43666c||(_0x43666c={});const _0x560daa=Go(_0x2f6dc6['v']);typeof _0x560daa==_0x5f203b(0x2e3)?_0x43666c['t']=_0x8d500b['NUMBER']:typeof _0x560daa==_0x5f203b(0x1b9)&&(_0x43666c['t']=_0x8d500b[_0x5f203b(0x234)]),_0x43666c['v']=_0x560daa;}if((_0x2f6dc6!=null&&_0x2f6dc6['i']||(_0x2f6dc6==null?void 0x0:_0x2f6dc6['i'])===0x0)&&(_0x43666c||(_0x43666c={}),_0x43666c['fi']=_0x2f6dc6['i']),_0x2f6dc6!=null&&_0x2f6dc6['s']&&(_0x43666c||(_0x43666c={}),_0x43666c[_0x5f203b(0x1b4)]=_0x2f6dc6['s']),_0x425b21&&(_0x43666c||(_0x43666c={}),_0x43666c['s']=_0x14a2e9),_0x34c820&&_0x43666c!=null&&_0x43666c['v']&&_0x43666c[_0x5f203b(0x1b4)]!==_0x3a17a7[_0x5f203b(0x285)]&&_0x43666c[_0x5f203b(0x1b4)]!==_0x3a17a7[_0x5f203b(0x292)]){const _0x420c1f=String(_0x43666c['v']),{dateType:_0x1941a8}=_0x34c820;_0x43666c['v']=Pi(_0x461c72,_0x1941a8,_0x420c1f),_0x43666c['t']=_0x8d500b['STRING'];}return _0x43666c;},yi=(_0x37d5a7,_0xdda760,_0x387ba3,_0x4407f8)=>{const _0x41733b=_0x4cee97;var _0x52dafb,_0x483be6,_0x105270,_0x197786,_0x47a199,_0xd7864,_0x3810e5,_0xc16102,_0x2a444d,_0x2cc51d,_0x186472,_0x802955,_0x10bd40,_0x368864;const _0x21701f=_0x387ba3[_0x41733b(0x1bb)],{cornerView:_0x13e7bb,rowView:_0x3c9b36,colView:_0x88dae2,dataView:_0x4850ba,pageView:_0x3e4b42,formatMap:_0x1a5058,groupInfo:_0x229712}=_0xdda760,{row:_0x368185,col:_0x9aee7d}=_0x21701f,_0x4dd349=new _0x223fc9(),_0x16dac0={},_0x45b795={},_0x8d2473={},_0x93f8ec={},_0x27b7ff={};let _0x4da17b=_0x368185,_0x4b0752=_0x9aee7d;Object[_0x41733b(0xf2)](_0x3e4b42[_0x41733b(0x110)])[_0x41733b(0x11b)](_0x42f1e6=>{Object['keys'](_0x3e4b42['data'][Number(_0x42f1e6)])['forEach'](_0x29141d=>{const _0x5565b8=_0x47fa,_0x3ed278={..._0x3e4b42[_0x5565b8(0x110)][Number(_0x42f1e6)][Number(_0x29141d)]};_0x4dd349[_0x5565b8(0x2ea)](Number(_0x42f1e6)+_0x4da17b,Number(_0x29141d)+_0x4b0752,it(_0x37d5a7,_0x3ed278,fe[_0x5565b8(0x251)]));});});const _0x516c83=Object[_0x41733b(0xf2)](_0x3e4b42['data'])[_0x41733b(0x29c)];_0x4da17b+=_0x516c83+(_0x516c83?It:0x0);const _0x4f4d78=_0x13e7bb[_0x41733b(0x2b4)](),_0x21ca6e=_0x13e7bb['getColCount']();for(let _0x3c3c34=0x0;_0x3c3c34<_0x4f4d78;_0x3c3c34++)for(let _0x3aa0a8=0x0;_0x3aa0a8<_0x21ca6e;_0x3aa0a8++){const _0x3fbd01={...(_0x483be6=(_0x52dafb=_0x13e7bb[_0x41733b(0x110)])==null?void 0x0:_0x52dafb[_0x3c3c34])==null?void 0x0:_0x483be6[_0x3aa0a8]};_0x3fbd01&&((_0x105270=_0x3c9b36[_0x41733b(0x264)][_0x3aa0a8])!=null&&_0x105270[_0x41733b(0x155)])&&_0x3aa0a8===_0x21ca6e-0x1&&_0x3c3c34===_0x4f4d78-0x1&&(_0x3fbd01['v']=''+_0x4407f8[_0x41733b(0xfd)]),_0x4dd349['setValue'](_0x3c3c34+_0x4da17b,_0x3aa0a8+_0x4b0752,it(_0x37d5a7,_0x3fbd01,fe[_0x41733b(0x29e)]));}for(let _0x4ed045=0x0;_0x4ed045<_0x13e7bb[_0x41733b(0x1ef)]['length'];_0x4ed045++)_0x13e7bb[_0x41733b(0x1ef)][_0x4ed045]&&(_0x8d2473[''+(_0x4ed045+_0x4b0752)]=_0x13e7bb[_0x41733b(0x1ef)][_0x4ed045]);_0x4b0752+=_0x21ca6e;const _0x3834c2=_0x88dae2[_0x41733b(0x264)],_0x3c9d78=_0x88dae2[_0x41733b(0xac)]()>=0x0?_0x88dae2['getLastRow']()+0x1:0x0,_0x58cf3b=_0x88dae2['getLastCol']()>=0x0?_0x88dae2[_0x41733b(0xec)]()+0x1:0x0;for(let _0x1ed833=0x0;_0x1ed833<_0x58cf3b;_0x1ed833++){for(let _0x5c69fe=0x0;_0x5c69fe<_0x3c9d78;_0x5c69fe++){const _0x545a0e={...(_0x47a199=(_0x197786=_0x88dae2['data'])==null?void 0x0:_0x197786[_0x5c69fe])==null?void 0x0:_0x47a199[_0x1ed833]},_0x57721f=(_0xd7864=_0x3834c2[_0x5c69fe])==null?void 0x0:_0xd7864['tableFieldId'],_0x48e6b8=_0x1a5058[_0x57721f],_0x4aa5c2=_0x229712[_0x57721f];_0x545a0e&&(_0x545a0e['v']=ht(_0x545a0e,_0x5c69fe===0x0&&((_0x3810e5=_0x88dae2[_0x41733b(0x1aa)](_0x1ed833+0x1))==null?void 0x0:_0x3810e5['isValue']),_0x48e6b8,_0x4407f8));let _0x5af812;_0x48e6b8?_0x5af812={...fe[_0x41733b(0x8c)],'n':{'pattern':_0x48e6b8}}:_0x5af812={...fe['colStyle']},_0x4dd349[_0x41733b(0x2ea)](_0x5c69fe+_0x4da17b,_0x1ed833+_0x4b0752,it(_0x37d5a7,_0x545a0e,_0x5af812,_0x4aa5c2));}_0x88dae2[_0x41733b(0x1ef)][_0x1ed833]&&(_0x45b795[''+(_0x1ed833+_0x4b0752)]=_0x88dae2[_0x41733b(0x1ef)][_0x1ed833]),_0x88dae2['headerMap'][_0x1ed833+0x1]&&(_0x27b7ff[''+(_0x1ed833+_0x4da17b+0x1)]=_0x88dae2[_0x41733b(0x264)][_0x1ed833+0x1]);}_0x4da17b+=_0x4f4d78;const _0x47bafd=_0x3c9b36[_0x41733b(0x264)],_0xd6edae=_0x3c9b36['getLastRow']()>=0x0?_0x3c9b36['getLastRow']()+0x1:0x0,_0x2a04a2=_0x3c9b36[_0x41733b(0xec)]()>=0x0?_0x3c9b36[_0x41733b(0xec)]()+0x1:0x0;for(let _0x1f116e=0x0;_0x1f116e<_0xd6edae;_0x1f116e++){for(let _0x23d30e=0x0;_0x23d30e<_0x2a04a2;_0x23d30e++){const _0x7e1f12={...(_0x2a444d=(_0xc16102=_0x3c9b36[_0x41733b(0x110)])==null?void 0x0:_0xc16102[_0x1f116e])==null?void 0x0:_0x2a444d[_0x23d30e]},_0x47061d=(_0x2cc51d=_0x47bafd[_0x23d30e])==null?void 0x0:_0x2cc51d[_0x41733b(0x79)],_0x1307a9=_0x1a5058[_0x47061d],_0x50de7e=_0x229712[_0x47061d];_0x7e1f12&&(_0x7e1f12['v']=ht(_0x7e1f12,!0x1,_0x1307a9,_0x4407f8));let _0x9566d4;_0x3c9b36[_0x41733b(0x1ef)][_0x1f116e][_0x41733b(0x22a)]===_0x3c9b36['getColCount']()?_0x9566d4=fe['leafStyle']:_0x3c9b36[_0x41733b(0x1ef)][_0x1f116e][_0x41733b(0x26b)]?_0x9566d4=_0x3c9b36[_0x41733b(0x1ef)][_0x1f116e][_0x41733b(0x22a)]===0x0?fe[_0x41733b(0x1a3)]:fe[_0x41733b(0x1cc)]:_0x9566d4=fe['rowStyle'],_0x1307a9&&(_0x9566d4={..._0x9566d4,'n':{'pattern':_0x1307a9}}),_0x4dd349[_0x41733b(0x2ea)](_0x1f116e+_0x4da17b,_0x23d30e+_0x9aee7d,it(_0x37d5a7,_0x7e1f12,_0x9566d4,_0x50de7e));}_0x3c9b36['info'][_0x1f116e]&&(_0x16dac0[''+(_0x1f116e+_0x4da17b)]=_0x3c9b36['info'][_0x1f116e]),_0x3c9b36[_0x41733b(0x264)][_0x1f116e]&&(_0x93f8ec[''+(_0x1f116e+_0x9aee7d)]=_0x3c9b36['headerMap'][_0x1f116e]);}const _0x1ff65a=_0x4850ba['getRowCount'](),_0x308433=_0x4850ba[_0x41733b(0x137)]();for(let _0x693994=0x0;_0x693994<_0x1ff65a;_0x693994++)for(let _0x281885=0x0;_0x281885<_0x308433;_0x281885++){const _0x3947b2={...(_0x802955=(_0x186472=_0x4850ba['data'])==null?void 0x0:_0x186472[_0x693994])==null?void 0x0:_0x802955[_0x281885]};let _0x34c663;_0x3c9b36[_0x41733b(0x1ef)][_0x693994]['isBottomTotal']?_0x34c663=_0x3c9b36[_0x41733b(0x1ef)][_0x693994][_0x41733b(0x22a)]===0x0?fe[_0x41733b(0x1a3)]:fe['subTotalStyle']:_0x34c663=fe[_0x41733b(0xc0)];const _0x29ce42=_0x3c9b36[_0x41733b(0x1ef)][_0x693994][_0x41733b(0x217)],_0x9495c6=_0x88dae2['info'][_0x281885][_0x41733b(0x217)],_0x3133dd=Math['max'](_0x29ce42,_0x9495c6),_0x39a245=_0x387ba3['fieldsConfig'][_0x41733b(0x1e8)][_0x41733b(0x97)]();let _0x578db2='';_0x3133dd<0x0?_0x578db2=(_0x10bd40=_0x39a245[0x0])!=null?_0x10bd40:'':_0x578db2=(_0x368864=_0x39a245[_0x3133dd])!=null?_0x368864:'';const _0x1d21cf=_0x1a5058[_0x578db2];_0x1d21cf&&(_0x34c663={..._0x34c663,'n':{'pattern':_0x1d21cf}}),_0x4dd349['setValue'](_0x693994+_0x4da17b,_0x281885+_0x4b0752,it(_0x37d5a7,_0x3947b2,_0x34c663));}return{'valueMatrix':_0x4dd349,'rowInfo':_0x16dac0,'colInfo':_0x45b795,'cornerInfo':_0x8d2473,'rowHeaderMap':_0x93f8ec,'colHeaderMap':_0x27b7ff};};function ht(_0x28b1f5,_0x19c506,_0x1ea808,_0x1a7b6e){const _0x374e6b=_0x4cee97;let _0xa528b8=_0x28b1f5['v'];_0x19c506&&(_0xa528b8=''+_0x1a7b6e[_0x374e6b(0xfd)]);const _0x591857=_0x28b1f5['t']&&(_0x28b1f5['t']&_0x33a1c8[_0x374e6b(0xf1)])>0x0;if(_0x591857&&(_0xa528b8=''+_0x1a7b6e[_0x374e6b(0x13a)]),_0x28b1f5['s']===_0x3a17a7[_0x374e6b(0x292)]){let _0x1734e9=_0xa528b8,_0xfd0cfb='';_0x4927ae(_0xa528b8)&&(_0x1734e9=_0xa528b8[_0x374e6b(0x192)],_0xfd0cfb=_0xa528b8[_0x374e6b(0x1f9)]);const _0x1c0864=_0x1ea808&&!_0x591857?_0x5858f7[_0x374e6b(0x11e)](_0x1ea808,Number(_0x1734e9)):_0x1734e9;_0xfd0cfb?_0xa528b8=_0x1c0864+'\x20'+_0xfd0cfb:_0xa528b8=_0x1c0864+'\x20'+_0x1a7b6e[_0x374e6b(0x186)];}else _0x28b1f5['s']===_0x3a17a7[_0x374e6b(0x285)]&&(_0xa528b8=_0xa528b8+'\x20'+_0x1a7b6e[_0x374e6b(0x274)]);return _0xa528b8;}function Go(_0x1555d4){const _0xd14fb4=_0x4cee97;if(_0x3cdcc3(_0x1555d4)){const {errorType:_0xfe63a3}=_0x1555d4;switch(_0xfe63a3){case _0x19121c[_0xd14fb4(0x11a)]:return _0x38c1b1[_0xd14fb4(0x239)];case _0x19121c[_0xd14fb4(0x1e3)]:return _0x38c1b1[_0xd14fb4(0x151)];case _0x19121c['NotFunction']:return _0x38c1b1[_0xd14fb4(0xce)];case _0x19121c['NotName']:return _0x38c1b1[_0xd14fb4(0xce)];case _0x19121c[_0xd14fb4(0x1f1)]:return _0x38c1b1[_0xd14fb4(0x293)];}}return _0x1555d4;}function ge(_0x198612,_0x56fbd3,_0x56a861=!0x1,_0x55dfee=!0x1){const _0x583bf0=_0x4cee97,{data:_0x134b20}=_0x56fbd3,_0x2d9dc7=_0x56fbd3[_0x583bf0(0x2b4)](),_0x1737c1=_0x56fbd3[_0x583bf0(0x137)]();if(_0x2d9dc7<=0x0||_0x1737c1<=0x0)return[];const _0x479569=_0x56fbd3[_0x583bf0(0xec)](),_0x3b7da3=_0x56fbd3[_0x583bf0(0xac)](),_0x39f3fa=_0x55dfee?_0x3b7da3>=0x0?_0x3b7da3+0x1:0x0:_0x2d9dc7,_0x1003bf=_0x55dfee?_0x479569>=0x0?_0x479569+0x1:0x0:_0x1737c1,{row:_0x138c7c,col:_0x4c03c5}=_0x198612,_0x4fe013=_0x138c7c,_0x166108=_0x4c03c5;if(_0x56a861){const _0x243767=[];for(const [_0x15a499,_0x3d0ad7]of Object[_0x583bf0(0x10b)](_0x134b20))for(const [_0x142591,_0x101d34]of Object['entries'](_0x3d0ad7))_0x243767[_0x583bf0(0x2a2)](_0x330834(_0x4fe013+Number(_0x15a499),_0x166108+Number(_0x142591)));return _0x243767;}else{const _0x1a78e5=_0x55dfee?_0x39f3fa>0x0?0x1:0x0:0x1,_0x1c8a8d=_0x55dfee?_0x1003bf>0x0?0x1:0x0:0x1,_0x1492a0=_0x138c7c+_0x39f3fa-_0x1a78e5,_0x55918e=_0x4c03c5+_0x1003bf-_0x1c8a8d;return[{'startRow':_0x4fe013,'startColumn':_0x166108,'endRow':_0x1492a0,'endColumn':_0x55918e}];}}const q=_0x4cee97(0x17c),kt=_0x4cee97(0x28e);var A=(_0x5d6f3b=>(_0x5d6f3b[_0x4cee97(0x22d)]=_0x4cee97(0x134),_0x5d6f3b['Panel']=_0x4cee97(0x2cd),_0x5d6f3b[_0x4cee97(0x20e)]=_0x4cee97(0xbc),_0x5d6f3b[_0x4cee97(0x116)]=_0x4cee97(0x116),_0x5d6f3b['AddPivotTable']=_0x4cee97(0x96),_0x5d6f3b['MovePivotField']=_0x4cee97(0xbb),_0x5d6f3b[_0x4cee97(0x181)]=_0x4cee97(0xe3),_0x5d6f3b[_0x4cee97(0x123)]=_0x4cee97(0x1a7),_0x5d6f3b[_0x4cee97(0x246)]=_0x4cee97(0x12d),_0x5d6f3b[_0x4cee97(0x2b0)]=_0x4cee97(0x216),_0x5d6f3b[_0x4cee97(0x2c2)]='setPivotSetting',_0x5d6f3b[_0x4cee97(0x2aa)]=_0x4cee97(0x88),_0x5d6f3b['UpdateValuePosition']='updateValuePosition',_0x5d6f3b['DrillDown']='drillDown',_0x5d6f3b['SetValuePivotFilter']=_0x4cee97(0x118),_0x5d6f3b[_0x4cee97(0x177)]=_0x4cee97(0xff),_0x5d6f3b['ResetPivotTable']=_0x4cee97(0x24d),_0x5d6f3b))(A||{});const Mi={'sheets-pivot.blankValue':_0x4cee97(0x153),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x4cee97(0x27f),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x4cee97(0x121),'sheets-pivot.countName':_0x4cee97(0x107),'sheets-pivot.countNumsName':_0x4cee97(0x107),'sheets-pivot.maxName':_0x4cee97(0xd2),'sheets-pivot.minName':'Min\x20of\x20','sheets-pivot.productName':_0x4cee97(0x23f),'sheets-pivot.stdDevName':_0x4cee97(0x14f),'sheets-pivot.stdDevpName':_0x4cee97(0x1e4),'sheets-pivot.sumName':_0x4cee97(0x115),'sheets-pivot.varName':_0x4cee97(0x149),'sheets-pivot.varpName':_0x4cee97(0xcf),'sheets-pivot.subTotal':_0x4cee97(0x292),'sheets-pivot.grandTotal':_0x4cee97(0x26e),'sheets-pivot.value':_0x4cee97(0x1f9),'sheets-pivot.blank':'blank','sheets-pivot.emptyPivot.filter':_0x4cee97(0x22d),'sheets-pivot.emptyPivot.row':_0x4cee97(0x29f),'sheets-pivot.emptyPivot.column':_0x4cee97(0x195),'sheets-pivot.emptyPivot.values':_0x4cee97(0xbd)},To={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},be=_0x160b62('pivotPerformCheck'),$o=_0x1eaa6e('pivotMutationGenerate');var Be=(_0x31052a=>(_0x31052a[_0x4cee97(0x221)]=_0x4cee97(0x221),_0x31052a[_0x4cee97(0x2c6)]=_0x4cee97(0x2c6),_0x31052a[_0x4cee97(0x22f)]=_0x4cee97(0x22f),_0x31052a))(Be||{}),G=(_0x31fb2f=>(_0x31fb2f[_0x4cee97(0x190)]=_0x4cee97(0x221),_0x31fb2f[_0x4cee97(0x19c)]='set',_0x31fb2f[_0x4cee97(0x111)]='delete',_0x31fb2f))(G||{});const Jo={0x0:'h',0x1:'5',0x2:'U',0x3:'C',0x4:'j',0x5:'w',0x6:'7',0x7:'k',0x8:'x',0x9:'I','h':'0','l':'1','I':'2','C':'3','B':'4','v':'6','q':'8','D':'9','e':'a','s':'b','y':'c','c':'d','E':'e','G':'f','k':'g','O':'i','x':'l','Q':'m','N':'n','L':'o','H':'p','j':'q','T':'r','u':'s','o':'t','w':'u','P':'v','f':'y','U':'z','J':'A','n':'B','i':'D','S':'E','t':'F','V':'G','g':'H','b':'J','d':'K','X':'L','A':'M','m':'N','a':'O','K':'P','p':'Q','z':'R','r':'S','M':'T','F':'V','Y':'W','Z':'X','W':'Y','R':'Z'},Wo=_0x4cee97(0x19e),ro={'type':_0x49026b['MUTATION'],'id':_0x4cee97(0x7c),'handler':()=>!0x0},lo={'type':_0x49026b[_0x4cee97(0x15b)],'id':_0x4cee97(0x2b1),'handler':()=>!0x0},Dt={'type':_0x49026b[_0x4cee97(0x15b)],'id':_0x4cee97(0x204),'handler':()=>!0x0},co={'type':_0x49026b['MUTATION'],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},uo={'type':_0x49026b[_0x4cee97(0x15b)],'id':_0x4cee97(0x17a),'handler':()=>!0x0},wi=_0x1405bc=>{const _0x42d3c1=_0x4cee97;var _0x53619c;return((_0x53619c=_0x1405bc[_0x42d3c1(0x127)])==null?void 0x0:_0x53619c['dataStream'][_0x42d3c1(0x94)](/\r\n$/,''))||'';};class _i extends _0xa80ed7{constructor(_0x179370,_0x238e9a){const _0xb9afe8=_0x4cee97;super(),O(this,'rangeKeyMap',{}),O(this,_0xb9afe8(0x295)),O(this,_0xb9afe8(0xed)),(this[_0xb9afe8(0x295)]=_0x238e9a,this[_0xb9afe8(0xed)]=_0x179370);}[_0x4cee97(0x2e7)](){const _0x335442=_0x4cee97;for(const _0x161f5c in this[_0x335442(0xea)]){const _0x2f4198=this['dataFields'][_0x161f5c],_0x4fc2dc=_0x2f4198[_0x335442(0xf0)]();this[_0x335442(0x17e)][_0x4fc2dc]=_0x2f4198[_0x335442(0x1cd)]();}}['getAutoDisplayNameFunction'](){const _0x9515d7=_0x4cee97,_0x504ead=this['_host'];return Ui[_0x9515d7(0x26d)](_0x504ead);}['deleteDataField'](_0x5e1c90){const _0x3d9c11=_0x4cee97,_0x36d189=this[_0x3d9c11(0xea)][_0x5e1c90][_0x3d9c11(0x18c)];delete this['dataFields'][_0x5e1c90],delete this[_0x3d9c11(0x17e)][_0x36d189];}[_0x4cee97(0x1c7)](_0x57420b){const _0x16c8f0=_0x4cee97;this[_0x16c8f0(0xea)][_0x57420b[_0x16c8f0(0x1cd)]()]=_0x57420b;}['removeCollectionImp'](_0x52459e){const _0x4bda6f=_0x4cee97;var _0x5a60a8,_0x3efe3e;const _0x511b90=this[_0x4bda6f(0xed)][_0x4bda6f(0x2c4)](_0x52459e);if(_0x511b90){const {unitId:_0x214528,subUnitId:_0x21e111}=_0x511b90,_0x9a907e=(_0x5a60a8=this['_host'][_0x4bda6f(0x256)](_0x214528,_0x21e111,_0x52459e))==null?void 0x0:_0x5a60a8['sourceRangeInfo'];this['_host']['broadcastCollectionChange']({'token':_0x52459e,'type':Be[_0x4bda6f(0x2c6)],'dataRangeInfo':_0x9a907e});}(_0x3efe3e=this[_0x4bda6f(0xd9)](_0x52459e))==null||_0x3efe3e[_0x4bda6f(0x2c5)](),delete this['collections'][_0x52459e];}[_0x4cee97(0xf0)](_0x45c935,_0x160510){const {sheetName:_0x15ab18,unitId:_0x162f22,range:_0x3c528a}=_0x45c935,{startRow:_0x263727,endRow:_0x4fdcc7}=_0x3c528a;return _0x1a7f2f(_0x162f22,_0x15ab18,{'startRow':_0x263727,'endRow':_0x4fdcc7,'startColumn':_0x160510,'endColumn':_0x160510});}['getDataFieldByRangeKey'](_0x45431e){const _0x2ed4b9=_0x4cee97;return this['dataFields'][this[_0x2ed4b9(0x17e)][_0x45431e]];}[_0x4cee97(0x171)](_0x1fa75b,_0x3005f9){this['rangeKeyMap'][_0x1fa75b]=_0x3005f9;}[_0x4cee97(0x201)](_0x4fc605,_0xb2cd1b){const _0x47d7c9=_0x4cee97;this[_0x47d7c9(0x17e)][_0xb2cd1b]=this['rangeKeyMap'][_0x4fc605],delete this[_0x47d7c9(0x17e)][_0x4fc605];}['addCollectionByJSON'](_0x4e413c,_0x4e4a7a,_0x46d828,_0x2e2370){const _0x5e162c=_0x4cee97,_0x200beb=new _0x3b2b5f(this);_0x200beb[_0x5e162c(0x299)](_0x4e4a7a);const _0x15ddd6=[];let _0x3e588a=0x0;for(const _0x50b1cf of _0x200beb[_0x5e162c(0x1ae)]){const _0xda7da9=this[_0x5e162c(0xf0)](_0x46d828,_0x3e588a),_0x3fe42b=this[_0x5e162c(0xea)][_0x50b1cf];_0x3fe42b&&(_0x3fe42b[_0x5e162c(0x18c)]=_0xda7da9,this[_0x5e162c(0x171)](_0xda7da9,_0x50b1cf),_0x15ddd6[_0x5e162c(0x2a2)]({'index':_0x3e588a,'dataField':_0x3fe42b})),_0x3e588a++;}return this[_0x5e162c(0xf6)](_0x4e413c,_0x200beb,_0x46d828,_0x2e2370),{'collection':_0x200beb,'updateDataFieldList':_0x15ddd6};}[_0x4cee97(0x19d)](_0x191a24,_0x352c94){const _0x954710=_0x4cee97;return _0x191a24[_0x954710(0x223)]===_0x51a85a[_0x954710(0x257)]?{'startRow':0x0,'startColumn':_0x191a24[_0x954710(0x160)],'endRow':_0x352c94[_0x954710(0x2b4)]()-0x1,'endColumn':_0x191a24[_0x954710(0x12e)]}:{'startRow':_0x191a24[_0x954710(0x99)],'startColumn':_0x191a24[_0x954710(0x160)],'endRow':_0x191a24[_0x954710(0x1ec)],'endColumn':_0x191a24[_0x954710(0x12e)]};}[_0x4cee97(0xc5)](_0x385d8e){const _0x5b8873=_0x4cee97,{sheetName:_0x1e0ef7,range:_0x5e926b}=_0x385d8e,_0x57af5b=this[_0x5b8873(0x295)]['getCurrentUnitForType'](_0x5de41e['UNIVER_SHEET']),_0x42fde4=_0x57af5b[_0x5b8873(0x112)](_0x1e0ef7),_0x1387d3=_0x42fde4[_0x5b8873(0x287)](),{startColumn:_0x42de2f,startRow:_0x2dd75c,endColumn:_0x4d8bdc}=this[_0x5b8873(0x19d)](_0x5e926b,_0x42fde4),_0x9f3b09=_0x57af5b['getStyles'](),_0x17b728=new _0x3b2b5f(this);_0x17b728[_0x5b8873(0x19b)](_0x385d8e);const _0x8b2cf0=[],_0x7534b4={};for(let _0x2558b0=_0x42de2f;_0x2558b0<=_0x4d8bdc;_0x2558b0++){const _0x4198b7=_0x1387d3[_0x5b8873(0x17b)](_0x2dd75c,_0x2558b0),_0x2b5737=this[_0x5b8873(0xf0)](_0x385d8e,_0x2558b0),_0x233159=this[_0x5b8873(0x21e)](_0x2b5737);if(_0x233159)_0x17b728['addField'](_0x233159[_0x5b8873(0x1cd)](),_0x233159['getName']());else{const _0x1327d8=this[_0x5b8873(0x228)]();let _0x413532=this[_0x5b8873(0x210)](_0x4198b7,_0x9f3b09,_0x7534b4);_0x40a283(_0x413532)&&(_0x413532=_0x5858f7[_0x5b8873(0x11e)](_0x413532['f'],Number(_0x413532['v'])));const _0x3f5514=this[_0x5b8873(0x280)](_0x413532,_0x2558b0),_0x597706=new _0x41dea3(_0x1327d8,_0x3f5514,_0x5c7c44(0x3));_0x597706[_0x5b8873(0x18c)]=_0x2b5737,this[_0x5b8873(0xea)][_0x1327d8]=_0x597706,_0x17b728['addField'](_0x1327d8,_0x3f5514),_0x8b2cf0['push']({'index':_0x2558b0,'dataField':_0x597706});}}return{'updateDataFieldList':_0x8b2cf0,'collection':_0x17b728};}[_0x4cee97(0x258)](_0x12a48d){const _0x55f60e=_0x4cee97;return this['_host'][_0x55f60e(0x1ed)]()['sheets-pivot.columnName']+'\x20'+_0x3d934d(_0x12a48d);}['uniqueDataFieldName'](_0x3fd9c8,_0x3b49d9){return _0x3fd9c8==null||_0x3fd9c8===''?this['_getAutoName'](_0x3b49d9):String(_0x3fd9c8);}[_0x4cee97(0xd9)](_0x4eff09){const _0x1611af=_0x4cee97;return this[_0x1611af(0x227)][_0x4eff09];}['addCollection'](_0x290877,_0x14b75a,_0x4677c3,_0x176aee){const _0x342b73=_0x4cee97;this['collections'][_0x290877]=_0x14b75a,_0x14b75a[_0x342b73(0x19b)](_0x4677c3),this['_host']['broadcastCollectionChange']({'token':_0x290877,'type':Be[_0x342b73(0x221)],'dataRangeInfo':_0x4677c3,'targetCellInfo':_0x176aee});}[_0x4cee97(0x135)](_0x231f1e,_0x2c6a96){const _0x5a3db0=_0x4cee97,_0x2b1044=this['getCollection'](_0x231f1e),_0x4544f5=_0x2b1044[_0x5a3db0(0x253)]();let _0x31b56f=0x0;for(const _0xeeff07 of _0x4544f5){const _0x5479ae=_0x2b1044[_0x5a3db0(0x1c9)](_0xeeff07),_0xdc95f=this[_0x5a3db0(0xf0)](_0x2c6a96,_0x31b56f);this[_0x5a3db0(0x201)](_0x5479ae[_0x5a3db0(0x18c)],_0xdc95f),_0x31b56f++;}}[_0x4cee97(0xa5)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x4cee97(0x159)](_0x3e6110,_0x1c04dc){const _0x461589=_0x4cee97;if(this[_0x461589(0xd9)](_0x3e6110)){const _0x341228=this[_0x461589(0x1fc)](_0x1c04dc),_0x5e1288=[];for(const _0x20d638 of _0x341228)this[_0x461589(0x17e)][_0x20d638]!==void 0x0&&_0x5e1288[_0x461589(0x2a2)](this[_0x461589(0x17e)][_0x20d638]);const _0x4d87fc=this[_0x461589(0x255)](_0x3e6110),_0x396222=[],_0x243fc9=new Set(_0x5e1288);for(const _0x2f3500 of _0x4d87fc)_0x243fc9[_0x461589(0xfb)](_0x2f3500)||_0x396222[_0x461589(0x2a2)](_0x2f3500);return _0x396222;}}['getMatrixValue'](_0x4eb0a3,_0x115919,_0x3f28af,_0x30357f,_0x22eb76){const _0x597548=_0x4cee97;return _0x115919&&_0x115919[_0x597548(0x17b)](_0x30357f,_0x22eb76)?_0x115919[_0x597548(0x17b)](_0x30357f,_0x22eb76):_0x3f28af&&_0x3f28af[_0x597548(0x17b)](_0x30357f,_0x22eb76)?_0x3f28af[_0x597548(0x17b)](_0x30357f,_0x22eb76):_0x4eb0a3[_0x597548(0x17b)](_0x30357f,_0x22eb76);}[_0x4cee97(0x14a)](_0x366317,_0xa8baac,_0x5b7b2a,_0x2bef8f){const _0x18cacd=_0x4cee97,_0x3dfb0a=this['dataFields'][_0x366317];if(!_0x3dfb0a)return;const {subUnitId:_0x889e0b,range:_0x499bf9,unitId:_0x116a36}=_0xa8baac,_0x2eb38a=this[_0x18cacd(0x295)][_0x18cacd(0x14e)](_0x116a36);if(!_0x2eb38a){console[_0x18cacd(0x1ff)](_0x18cacd(0x133));return;}const _0x5b9787=_0x2eb38a[_0x18cacd(0x24e)](_0x889e0b),_0x34d6d3=_0x5b9787[_0x18cacd(0x287)](),{arrayFormulaCellDataMatrix:_0x72a4c0,unitDataMatrix:_0x534399}=_0x2bef8f||{},{startRow:_0x5597a3,startColumn:_0x4d6ad4,endRow:_0x40dce5}=this[_0x18cacd(0x19d)](_0x499bf9,_0x5b9787);_0x3dfb0a[_0x18cacd(0x187)]();const _0x415d8c=_0x2eb38a[_0x18cacd(0x120)](),_0x3bc12e={},_0x4bdecc=this[_0x18cacd(0x2c7)](_0x34d6d3,_0x72a4c0,_0x534399,_0x5597a3,_0x4d6ad4+_0x5b7b2a);let _0x84581e=this[_0x18cacd(0x210)](_0x4bdecc,_0x415d8c,_0x3bc12e);_0x40a283(_0x84581e)&&(_0x84581e=_0x5858f7['format'](_0x84581e['f'],Number(_0x84581e['v'])));const _0x640c7c=this[_0x18cacd(0x280)](_0x84581e,_0x4d6ad4+_0x5b7b2a);_0x3dfb0a[_0x18cacd(0xb1)](_0x640c7c);for(let _0x227140=_0x5597a3+0x1;_0x227140<=_0x40dce5;_0x227140++){const _0x643d0b=this[_0x18cacd(0x2c7)](_0x34d6d3,_0x72a4c0,_0x534399,_0x227140,_0x4d6ad4+_0x5b7b2a);_0x3dfb0a[_0x18cacd(0x209)](this[_0x18cacd(0x210)](_0x643d0b,_0x415d8c,_0x3bc12e),_0x227140-0x1-_0x5597a3);}}[_0x4cee97(0xde)](_0x3db927,_0x334081,_0x16cd46){const _0x560087=_0x4cee97,{subUnitId:_0x4ff89e,range:_0x1026c3,unitId:_0x236891}=_0x16cd46,_0xd7e2b3=this['_univerInstanceService'][_0x560087(0x14e)](_0x236891);if(!_0xd7e2b3){console[_0x560087(0x1ff)](_0x560087(0x133));return;}const _0x2ef7b8=_0xd7e2b3[_0x560087(0x24e)](_0x4ff89e),_0x4c420d=_0x2ef7b8['getCellMatrix'](),{startRow:_0x3a87a4,startColumn:_0x148d1e,endRow:_0x555016}=this[_0x560087(0x19d)](_0x1026c3,_0x2ef7b8),_0x5a5a4a=_0xd7e2b3[_0x560087(0x120)](),_0x1681f5={};for(const {dataField:_0x19ba16,index:_0x14f156}of _0x334081){_0x19ba16['reset']();const _0x1766e2=this[_0x560087(0x2c7)](_0x4c420d,void 0x0,void 0x0,_0x3a87a4,_0x148d1e+_0x14f156);let _0x5ea545=this[_0x560087(0x210)](_0x1766e2,_0x5a5a4a,_0x1681f5);_0x40a283(_0x5ea545)&&(_0x5ea545=_0x5858f7[_0x560087(0x11e)](_0x5ea545['f'],Number(_0x5ea545['v'])));const _0x26b902=this['uniqueDataFieldName'](_0x5ea545,_0x148d1e+_0x14f156);_0x19ba16[_0x560087(0xb1)](_0x26b902);}_0x3db927[_0x560087(0x229)]();for(let _0x4359dc=_0x3a87a4+0x1;_0x4359dc<=_0x555016;_0x4359dc++)for(const {index:_0x55b15f,dataField:_0x126af0}of _0x334081){const _0xfc3d62=_0x4c420d[_0x560087(0x17b)](_0x4359dc,_0x148d1e+_0x55b15f);_0x126af0[_0x560087(0x209)](this[_0x560087(0x210)](_0xfc3d62,_0x5a5a4a,_0x1681f5),_0x4359dc-0x1-_0x3a87a4);}_0x3db927[_0x560087(0x2ac)](_0x555016-_0x3a87a4);}['getRangeKeyList'](_0x29a1c6){const _0x1460a8=_0x4cee97,{range:_0xe0fd3f}=_0x29a1c6,{startColumn:_0xda0c18,endColumn:_0x5b5903}=_0xe0fd3f,_0xce58a0=[];for(let _0x1f6296=_0xda0c18;_0x1f6296<=_0x5b5903;_0x1f6296++)_0xce58a0[_0x1460a8(0x2a2)](this[_0x1460a8(0xf0)](_0x29a1c6,_0x1f6296));return _0xce58a0;}[_0x4cee97(0x210)](_0x1fb021,_0x2987b7,_0xd40f55){const _0x354e25=_0x4cee97;if(_0x1fb021){const {s:_0x17db80,v:_0x14bd20,t:_0x56a763,p:_0x577143}=_0x1fb021;if(_0x577143)return wi(_0x577143);const _0x5c90b4=_0x2987b7[_0x354e25(0x1d9)](_0x17db80);if(_0x5c90b4&&_0x56a763===_0x8d500b[_0x354e25(0x100)]&&_0x5c90b4['n']){const {pattern:_0x15a8fd}=_0x5c90b4['n'];_0xd40f55[_0x15a8fd]||(_0xd40f55[_0x15a8fd]=_0x5858f7[_0x354e25(0x286)](_0x15a8fd));const _0x2dfc07=_0xd40f55[_0x15a8fd],_0x40de9b=_0x2dfc07['isDate'];if(_0x2dfc07[_0x354e25(0x29d)])return String(_0x14bd20);if(_0x40de9b)return{'v':_0x14bd20,'f':_0x15a8fd};}if(_0x56a763===_0x8d500b['NUMBER'])return Number(_0x14bd20);if(_0x56a763===_0x8d500b['STRING']||_0x56a763===_0x8d500b[_0x354e25(0x128)])return String(_0x14bd20);if(_0x56a763===void 0x0){const _0x5e4de1=Number(_0x14bd20);if(!Number['isNaN'](_0x5e4de1)&&String(_0x5e4de1)===_0x14bd20)return _0x5e4de1;}return _0x14bd20!=null?_0x14bd20:null;}else return null;}['getRangeData'](_0x1f9152){const _0x52eebb=_0x4cee97,{sheetName:_0x18c981,range:_0x599a19,unitId:_0x2bd858}=_0x1f9152,_0x164090=this[_0x52eebb(0x295)][_0x52eebb(0x14e)](_0x2bd858);if(!_0x164090)return console[_0x52eebb(0x1ff)](_0x52eebb(0x133)),{'header':[],'data':[]};const _0x34919d=_0x164090[_0x52eebb(0x112)](_0x18c981),_0x2c37c2=_0x34919d['getCellMatrix'](),{startRow:_0x19a96f,startColumn:_0x32be8d,endRow:_0x468278,endColumn:_0x5ee717}=this[_0x52eebb(0x19d)](_0x599a19,_0x34919d),_0x17ba8c=_0x164090[_0x52eebb(0x120)](),_0x2f66b6=[],_0x371c80=[],_0x294fec={};for(let _0x173ea1=_0x19a96f;_0x173ea1<=_0x468278;_0x173ea1++){const _0x183d86=[];for(let _0x4408c4=_0x32be8d;_0x4408c4<=_0x5ee717;_0x4408c4++){const _0x13be29=_0x2c37c2[_0x52eebb(0x17b)](_0x173ea1,_0x4408c4);_0x173ea1===_0x19a96f?_0x2f66b6[_0x52eebb(0x2a2)](_0x13be29==null?null:String(_0x13be29['v'])):_0x183d86[_0x52eebb(0x2a2)](this[_0x52eebb(0x210)](_0x13be29,_0x17ba8c,_0x294fec));}_0x371c80['push'](_0x183d86);}return{'header':_0x2f66b6,'data':_0x371c80};}[_0x4cee97(0xc4)](){return super['toJSON']();}[_0x4cee97(0x299)](_0x2f6b0e){const _0x2f20d8=_0x4cee97;super['fromJSON'](_0x2f6b0e),this[_0x2f20d8(0x2e7)]();}[_0x4cee97(0x2c5)](){const _0x3edad4=_0x4cee97;super[_0x3edad4(0x2c5)](),this['rangeKeyMap']={},this[_0x3edad4(0xed)]=null;}}const Fi=_0x4b85a4=>{const _0x7c2ad3=_0x4cee97,{targetCellInfo:_0x27d063}=_0x4b85a4,{matrixCache:_0x4089f4,rangesCache:_0xbcf166}=jo({'filter':_0x7c2ad3(0x22d),'row':_0x7c2ad3(0x29f),'column':_0x7c2ad3(0x195),'values':_0x7c2ad3(0xbd)},_0x27d063),_0x18554a=new _0x223fc9();return _0x4089f4['forValue']((_0x235c8a,_0x434d31,_0xbe0ad4)=>{const _0x4e33af=_0x7c2ad3;_0x18554a[_0x4e33af(0x2ea)](_0x235c8a,_0x434d31,_0xbe0ad4);}),{'matrix':_0x18554a,'rangesCache':_0xbcf166};},st=_0x365c24=>{const _0x2b4d6a=_0x4cee97;let _0x326b43;if(_0x365c24!=null&&_0x365c24['v']||(_0x365c24==null?void 0x0:_0x365c24['v'])===0x0){_0x326b43||(_0x326b43={});const _0x2dac37=Go(_0x365c24['v']);typeof _0x2dac37==_0x2b4d6a(0x2e3)?_0x326b43['t']=_0x8d500b[_0x2b4d6a(0x100)]:typeof _0x2dac37==_0x2b4d6a(0x1b9)&&(_0x326b43['t']=_0x8d500b[_0x2b4d6a(0x234)]),_0x326b43['v']=_0x2dac37;}return _0x326b43;},Ri=(_0x34b7c6,_0x318c0a,_0xb99a75)=>{const _0xb0cc98=_0x4cee97;var _0x1185e3,_0x9d70ce,_0x31e51f,_0x5ddbe9,_0x5076bf,_0x20f86a,_0x427eea,_0x5b5803,_0x47a864,_0x58a0a3,_0x4324fd,_0x561f18;const {cornerView:_0x378d17,rowView:_0x182cbf,colView:_0x593e65,dataView:_0x300b0f,pageView:_0x590131,formatMap:_0x300fa7}=_0x34b7c6,{row:_0x35c72f,col:_0x54020f}=_0x318c0a,_0x498248=new _0x223fc9();let _0x16262a=_0x35c72f,_0x308fa8=_0x54020f;Object['keys'](_0x590131['data'])[_0xb0cc98(0x11b)](_0x4b2fe7=>{const _0x3f985b=_0xb0cc98;Object[_0x3f985b(0xf2)](_0x590131[_0x3f985b(0x110)][Number(_0x4b2fe7)])['forEach'](_0x35ec58=>{const _0x1f8520=_0x3f985b,_0x32c599={..._0x590131[_0x1f8520(0x110)][Number(_0x4b2fe7)][Number(_0x35ec58)]};_0x498248[_0x1f8520(0x2ea)](Number(_0x4b2fe7)+_0x16262a,Number(_0x35ec58)+_0x308fa8,st(_0x32c599));});});const _0x2536ea=Object['keys'](_0x590131[_0xb0cc98(0x110)])[_0xb0cc98(0x29c)];_0x16262a+=_0x2536ea+(_0x2536ea?It:0x0);const _0x4c6427=_0x378d17[_0xb0cc98(0x2b4)](),_0x369552=_0x378d17['getColCount']();for(let _0x508e23=0x0;_0x508e23<_0x4c6427;_0x508e23++)for(let _0x3b58a7=0x0;_0x3b58a7<_0x369552;_0x3b58a7++){const _0x156361={...(_0x9d70ce=(_0x1185e3=_0x378d17['data'])==null?void 0x0:_0x1185e3[_0x508e23])==null?void 0x0:_0x9d70ce[_0x3b58a7]};_0x156361&&((_0x31e51f=_0x182cbf[_0xb0cc98(0x264)][_0x3b58a7])!=null&&_0x31e51f[_0xb0cc98(0x155)])&&_0x3b58a7===_0x369552-0x1&&_0x508e23===_0x4c6427-0x1&&(_0x156361['v']=''+_0xb99a75[_0xb0cc98(0xfd)]),_0x498248[_0xb0cc98(0x2ea)](_0x508e23+_0x16262a,_0x3b58a7+_0x308fa8,st(_0x156361));}_0x308fa8+=_0x369552;const _0x3be6db=_0x593e65[_0xb0cc98(0x264)],_0x184d6b=_0x593e65[_0xb0cc98(0xac)]()>=0x0?_0x593e65['getLastRow']()+0x1:0x0,_0x3a1656=_0x593e65['getLastCol']()>=0x0?_0x593e65[_0xb0cc98(0xec)]()+0x1:0x0;for(let _0x56efa8=0x0;_0x56efa8<_0x3a1656;_0x56efa8++)for(let _0x15d3f0=0x0;_0x15d3f0<_0x184d6b;_0x15d3f0++){const _0x2938f7={...(_0x5076bf=(_0x5ddbe9=_0x593e65['data'])==null?void 0x0:_0x5ddbe9[_0x56efa8])==null?void 0x0:_0x5076bf[_0x15d3f0]},_0x1b9b58=(_0x20f86a=_0x3be6db[_0x56efa8])==null?void 0x0:_0x20f86a[_0xb0cc98(0x79)],_0xff5338=_0x300fa7[_0x1b9b58];_0x2938f7&&(_0x2938f7['v']=ht(_0x2938f7,_0x56efa8===0x0&&((_0x427eea=_0x593e65[_0xb0cc98(0x1aa)](_0x15d3f0+0x1))==null?void 0x0:_0x427eea[_0xb0cc98(0x155)]),_0xff5338,_0xb99a75)),_0x498248[_0xb0cc98(0x2ea)](_0x56efa8+_0x16262a,_0x15d3f0+_0x308fa8,st(_0x2938f7));}_0x16262a+=_0x4c6427;const _0x1c0219=_0x182cbf[_0xb0cc98(0x264)],_0x2ef405=_0x182cbf[_0xb0cc98(0xac)]()>=0x0?_0x182cbf['getLastRow']()+0x1:0x0,_0xa35bf7=_0x182cbf['getLastCol']()>=0x0?_0x182cbf[_0xb0cc98(0xec)]()+0x1:0x0;for(let _0x174ae4=0x0;_0x174ae4<_0x2ef405;_0x174ae4++)for(let _0x2ae11c=0x0;_0x2ae11c<_0xa35bf7;_0x2ae11c++){const _0x4f87f3={...(_0x47a864=(_0x5b5803=_0x182cbf[_0xb0cc98(0x110)])==null?void 0x0:_0x5b5803[_0x174ae4])==null?void 0x0:_0x47a864[_0x2ae11c]},_0x46f187=(_0x58a0a3=_0x1c0219[_0x2ae11c])==null?void 0x0:_0x58a0a3['tableFieldId'],_0xc45fa1=_0x300fa7[_0x46f187];_0x4f87f3&&(_0x4f87f3['v']=ht(_0x4f87f3,!0x1,_0xc45fa1,_0xb99a75)),_0x498248[_0xb0cc98(0x2ea)](_0x174ae4+_0x16262a,_0x2ae11c+_0x54020f,st(_0x4f87f3));}const _0xe45e09=_0x300b0f['getRowCount'](),_0x7568c6=_0x300b0f[_0xb0cc98(0x137)]();for(let _0x3b9c6a=0x0;_0x3b9c6a<_0xe45e09;_0x3b9c6a++)for(let _0x37812c=0x0;_0x37812c<_0x7568c6;_0x37812c++){const _0x4c1985={...(_0x561f18=(_0x4324fd=_0x300b0f[_0xb0cc98(0x110)])==null?void 0x0:_0x4324fd[_0x3b9c6a])==null?void 0x0:_0x561f18[_0x37812c]};_0x498248[_0xb0cc98(0x2ea)](_0x3b9c6a+_0x16262a,_0x37812c+_0x308fa8,st(_0x4c1985));}return _0x498248;},Di=_0x58ab69=>{const _0xee9899=_0x4cee97,{view:_0x16bf5e,targetCellInfo:_0x22254d,isEmpty:_0x443452,textInfo:_0x41d63d}=_0x58ab69;if(_0x443452)return Fi(_0x58ab69);const {pageView:_0x4a233f,cornerView:_0x1b3e48,rowView:_0x395af6,colView:_0x514599,dataView:_0x16a456}=_0x16bf5e,_0x104551=ge(_0x22254d,_0x4a233f,!0x0),_0x768bd7=_0x4a233f[_0xee9899(0x17f)]>=0x0?_0x4a233f[_0xee9899(0x17f)]+0x1:0x0,_0x382783=_0x1b3e48[_0xee9899(0x2b4)](),_0x3ceae2=_0x1b3e48[_0xee9899(0x137)](),_0x7b06d=_0x104551[_0xee9899(0x29c)]>0x0?It:0x0,_0x2f96cf=ge({'row':_0x22254d[_0xee9899(0x28a)]+_0x768bd7+_0x7b06d,'col':_0x22254d[_0xee9899(0x224)]},_0x1b3e48,!0x1,!0x1),_0x29775c=ge({'row':_0x22254d['row']+_0x768bd7+_0x7b06d+_0x382783,'col':_0x22254d[_0xee9899(0x224)]},_0x395af6,!0x1,!0x0),_0x597568=ge({'row':_0x22254d[_0xee9899(0x28a)]+_0x768bd7+_0x7b06d,'col':_0x22254d[_0xee9899(0x224)]+_0x3ceae2},_0x514599,!0x1,!0x0),_0xe7e58a=ge({'row':_0x22254d[_0xee9899(0x28a)]+_0x768bd7+_0x7b06d+_0x382783,'col':_0x22254d[_0xee9899(0x224)]+_0x3ceae2},_0x16a456,!0x1,!0x1),_0x25bbbd={'rowRanges':_0x29775c,'colRanges':_0x597568,'cornerRanges':_0x2f96cf,'dataRanges':_0xe7e58a,'pageRanges':_0x104551};return{'matrix':Ri(_0x16bf5e,_0x22254d,_0x41d63d),'rangesCache':_0x25bbbd};};var Ni=Object[_0x4cee97(0x236)],Ei=(_0x69d99f,_0x3ae232,_0xa9cba6,_0x12781d)=>{for(var _0x196f9c=_0x12781d>0x1?void 0x0:_0x12781d?Ni(_0x3ae232,_0xa9cba6):_0x3ae232,_0x34e624=_0x69d99f['length']-0x1,_0x5e1a4c;_0x34e624>=0x0;_0x34e624--)(_0x5e1a4c=_0x69d99f[_0x34e624])&&(_0x196f9c=_0x5e1a4c(_0x196f9c)||_0x196f9c);return _0x196f9c;},He=(_0xa6c4f5,_0x1b5095)=>(_0x2fc543,_0x58578b)=>_0x1b5095(_0x2fc543,_0x58578b,_0xa6c4f5);let $=class extends _0x125de6{constructor(_0x2bd9c6,_0x5f0a55,_0x319a73,_0x2eaa25,_0x31f93b,_0x475fec){const _0x1e3f88=_0x4cee97;super(),O(this,_0x1e3f88(0x12a),new Map()),O(this,_0x1e3f88(0x122),new Map()),O(this,'_viewData',new Map()),O(this,_0x1e3f88(0x16b)),O(this,_0x1e3f88(0x284),new _0x563d8d()),O(this,_0x1e3f88(0x170),this[_0x1e3f88(0x284)][_0x1e3f88(0x18a)]()),O(this,_0x1e3f88(0x29b),new _0x563d8d()),O(this,_0x1e3f88(0xe0),this[_0x1e3f88(0x29b)][_0x1e3f88(0x18a)]()),O(this,_0x1e3f88(0xd4),new _0x563d8d()),O(this,_0x1e3f88(0x193),this[_0x1e3f88(0xd4)][_0x1e3f88(0x18a)]()),O(this,_0x1e3f88(0xe9),new Map()),O(this,_0x1e3f88(0x26f),[]),O(this,'_queryingMap',new Map()),(this['_injector']=_0x2bd9c6,this['_univerInstanceService']=_0x5f0a55,this[_0x1e3f88(0x275)]=_0x319a73,this[_0x1e3f88(0xc6)]=_0x2eaa25,this[_0x1e3f88(0x260)]=_0x31f93b,this[_0x1e3f88(0x2af)]=_0x475fec,this[_0x1e3f88(0x19a)]());}['getTextInfo'](){const _0x1333ee=_0x4cee97;return this[_0x1333ee(0x16b)]?this[_0x1333ee(0x16b)]:Mi;}[_0x4cee97(0xd0)](_0x46e405){this['_textInfo']=_0x46e405;}['handleMoveRange'](_0xae1889){const _0x322bd3=_0x4cee97;var _0x19b31f;const {from:_0x599eec,to:_0x396252,unitId:_0x123264,fromRange:_0x8eae2d,toRange:_0x20137a}=_0xae1889;if(_0x599eec&&_0x396252){const _0x42ccbe=this[_0x322bd3(0x2f3)](_0x123264),_0x21d225=this[_0x322bd3(0x12a)][_0x322bd3(0x1d9)](_0x123264),_0x31d586=(_0x19b31f=this[_0x322bd3(0x295)][_0x322bd3(0x14e)](_0x123264))==null?void 0x0:_0x19b31f[_0x322bd3(0x24e)](_0x396252[_0x322bd3(0x282)]);if(!_0x21d225||!_0x31d586)return;const _0x359d59=_0x31d586==null?void 0x0:_0x31d586[_0x322bd3(0x271)]();for(const [_0x11f2db,_0x106d54]of _0x21d225[_0x322bd3(0x10b)]())for(const [_0x496058,_0x31c60b]of _0x106d54[_0x322bd3(0x10b)]()){const {sourceRangeInfo:_0xd9eb60}=_0x31c60b;if(_0xd9eb60['unitId']===_0x123264&&_0xd9eb60[_0x322bd3(0x282)]===_0x599eec[_0x322bd3(0x282)]&&_0x508b94[_0x322bd3(0x28d)](_0x8eae2d,_0xd9eb60[_0x322bd3(0x75)])){const _0x1d39c3={'row':_0xd9eb60['range'][_0x322bd3(0x99)]-_0x8eae2d[_0x322bd3(0x99)],'col':_0xd9eb60[_0x322bd3(0x75)][_0x322bd3(0x160)]-_0x8eae2d[_0x322bd3(0x160)]},_0x343a0c={'unitId':_0x123264,'subUnitId':_0x396252[_0x322bd3(0x282)],'sheetName':_0x359d59,'range':{'startRow':_0x20137a[_0x322bd3(0x99)]+_0x1d39c3['row'],'endRow':_0x20137a['startRow']+_0x1d39c3[_0x322bd3(0x28a)]+_0xd9eb60[_0x322bd3(0x75)][_0x322bd3(0x1ec)]-_0xd9eb60[_0x322bd3(0x75)][_0x322bd3(0x99)],'startColumn':_0x20137a[_0x322bd3(0x160)]+_0x1d39c3[_0x322bd3(0x224)],'endColumn':_0x20137a['startColumn']+_0x1d39c3[_0x322bd3(0x224)]+_0xd9eb60[_0x322bd3(0x75)][_0x322bd3(0x12e)]-_0xd9eb60[_0x322bd3(0x75)]['startColumn']}};_0x42ccbe[_0x322bd3(0x135)](_0x496058,_0x343a0c);const _0x1ff336={..._0x31c60b,'sourceRangeInfo':_0x343a0c};this[_0x322bd3(0x298)](_0x123264,_0x396252['subUnitId'],_0x496058,_0x1ff336),this[_0x322bd3(0x25b)]({'unitId':_0x123264,'token':_0x496058,'type':Be['update'],'oldSourceRangeInfo':_0xd9eb60,'dataRangeInfo':_0x343a0c,'targetCellInfo':_0x31c60b[_0x322bd3(0x1bb)]}),this[_0x322bd3(0x212)]({'unitId':_0x123264,'subUnitId':_0x396252[_0x322bd3(0x282)],'oldSubUnitId':_0x11f2db,'pivotTableId':_0x496058,'pivotTableConfig':_0x1ff336,'collectionConfig':_0x42ccbe[_0x322bd3(0xc4)]()});}}}}[_0x4cee97(0x25b)](_0x1c8904){const _0x57c490=_0x4cee97;this[_0x57c490(0x284)][_0x57c490(0x2b3)](_0x1c8904);}[_0x4cee97(0x2f3)](_0xe00f81){const _0xd79627=_0x4cee97;let _0x57fc01=this[_0xd79627(0xe9)]['get'](_0xe00f81);return _0x57fc01||(_0x57fc01=new _i(this,this['_univerInstanceService']),this[_0xd79627(0xe9)][_0xd79627(0xa8)](_0xe00f81,_0x57fc01)),_0x57fc01;}[_0x4cee97(0xd9)](_0x2b769c,_0x1569c1){const _0x17cce4=_0x4cee97;return this[_0x17cce4(0x2f3)](_0x2b769c)[_0x17cce4(0x227)][_0x1569c1];}[_0x4cee97(0x159)](_0xbdd25f,_0x5db7a5,_0x2f2980){const _0x61c6f9=_0x4cee97;return this['getDataFieldManager'](_0xbdd25f)[_0x61c6f9(0x159)](_0x5db7a5,_0x2f2980);}['_ensurePivotMap'](_0x4a840f,_0x242cbf){const _0x21a49c=_0x4cee97;let _0x3463c9=this['_model'][_0x21a49c(0x1d9)](_0x4a840f);_0x3463c9||(_0x3463c9=new Map(),this[_0x21a49c(0x12a)][_0x21a49c(0xa8)](_0x4a840f,_0x3463c9));let _0x26a1b4=_0x3463c9[_0x21a49c(0x1d9)](_0x242cbf);return _0x26a1b4||(_0x26a1b4=new Map(),_0x3463c9[_0x21a49c(0xa8)](_0x242cbf,_0x26a1b4)),_0x26a1b4;}[_0x4cee97(0x298)](_0x151e1d,_0x235797,_0x437e1d,_0x13c054){const _0x51eda6=_0x4cee97;this[_0x51eda6(0x23d)](_0x151e1d,_0x235797)['set'](_0x437e1d,_0x13c054);}[_0x4cee97(0x83)](_0x173476,_0x43c0ee,_0x26eab2){const _0x343dcb=_0x4cee97;var _0x1f4a6f,_0x39ce1e,_0x2b22f0,_0x4a788f;((_0x39ce1e=(_0x1f4a6f=this[_0x343dcb(0x12a)]['get'](_0x173476))==null?void 0x0:_0x1f4a6f['get'](_0x43c0ee))==null?void 0x0:_0x39ce1e['get'](_0x26eab2))&&((_0x4a788f=(_0x2b22f0=this[_0x343dcb(0x12a)][_0x343dcb(0x1d9)](_0x173476))==null?void 0x0:_0x2b22f0['get'](_0x43c0ee))==null||_0x4a788f[_0x343dcb(0x2c6)](_0x26eab2));}['_updatePivotTableInstanceCache'](_0x57ca35,_0x5d5122){const _0x3c7a1c=_0x4cee97;this[_0x3c7a1c(0x122)][_0x3c7a1c(0xa8)](_0x57ca35,_0x5d5122);}[_0x4cee97(0x2d6)](_0x41f79a){const _0x13f165=_0x4cee97;this['_pivotTableInstanceCache'][_0x13f165(0x2c6)](_0x41f79a);}[_0x4cee97(0x1a9)](_0x4c7179,_0x437f17){const _0x268f22=_0x4cee97;let _0x8c8b6=this[_0x268f22(0x2b5)]['get'](_0x4c7179);_0x8c8b6||(_0x8c8b6=new Map(),this[_0x268f22(0x2b5)][_0x268f22(0xa8)](_0x4c7179,_0x8c8b6));let _0x3ee54b=_0x8c8b6['get'](_0x437f17);return _0x3ee54b||(_0x3ee54b=new Map(),_0x8c8b6[_0x268f22(0xa8)](_0x437f17,_0x3ee54b)),_0x3ee54b;}[_0x4cee97(0x212)](_0x2ce2fb){const _0x4308cf=_0x4cee97,{unitId:_0xf44557,subUnitId:_0x14bea2,pivotTableId:_0x1b8fad,pivotTableConfig:_0x449c64,collectionConfig:_0x46ff53}=_0x2ce2fb,_0x1e0bbe={'unitId':_0xf44557,'subUnitId':_0x14bea2,'oldSubUnitId':_0x14bea2,'pivotTableId':_0x1b8fad,'pivotTableConfig':_0x449c64,'collectionConfig':_0x46ff53};this[_0x4308cf(0x260)][_0x4308cf(0x72)](co['id'],_0x1e0bbe,{'onlyLocal':!0x0});}[_0x4cee97(0x2d2)](_0x221737,_0x472c25,_0x194454,_0x4e0457,_0x571964,_0x4944a3,_0x5b5ee2,_0x393cee=!0x1){const _0xaa0e7b=_0x4cee97;var _0xf2e301;this[_0xaa0e7b(0x260)][_0xaa0e7b(0x72)](Dt['id'],{'single':{'unitId':_0x221737,'subUnitId':_0x472c25,'type':_0x194454,'pivotTableId':_0x4e0457,'view':_0x571964,'pivotConfig':_0x4944a3},'collectionConfig':{[_0x221737]:_0x5b5ee2}},{'onlyLocal':!0x0});const _0x3d60ce=!!((_0xf2e301=this[_0xaa0e7b(0x142)](_0x4e0457))!=null&&_0xf2e301['isEmpty']()),_0x417f63=this[_0xaa0e7b(0x256)](_0x221737,_0x472c25,_0x4e0457);_0x417f63&&this[_0xaa0e7b(0x8a)]({'view':_0x571964,'pivotTableId':_0x4e0457,'textInfo':this[_0xaa0e7b(0x1ed)](),'isEmpty':_0x3d60ce,'targetCellInfo':_0x417f63[_0xaa0e7b(0x1bb)]},_0x393cee);}[_0x4cee97(0x8a)](_0x12b745,_0x2cab94){const _0x2efdb2=_0x4cee97,{targetCellInfo:_0xf5322e,pivotTableId:_0x53275f}=_0x12b745,{unitId:_0x4a752e,subUnitId:_0x5efb63}=_0xf5322e,_0x56aeb8=this[_0x2efdb2(0x1a9)](_0x4a752e,_0x5efb63),_0x51fdce=_0x56aeb8[_0x2efdb2(0x1d9)](_0x53275f);let _0xe0ff48,_0x14e227;_0x51fdce&&(_0xe0ff48=_0x51fdce[_0x2efdb2(0x1ee)],_0x14e227=_0x51fdce[_0x2efdb2(0x141)]);const {rangesCache:_0x47e21e,matrix:_0x231db9}=Di(_0x12b745);_0x56aeb8[_0x2efdb2(0xa8)](_0x53275f,{'rangeCache':_0x47e21e,'matrix':_0x231db9,'oldMatrix':_0x14e227,'oldRangeCache':_0xe0ff48}),_0x2cab94||this['_viewData$'][_0x2efdb2(0x2b3)]({'unitId':_0x4a752e,'subUnitId':_0x5efb63,'pivotTableId':_0x53275f});}[_0x4cee97(0x96)](_0x3f08ef,_0x5c5463,_0x5f5601,_0x42c7ee,_0x209ff7){const _0x276c02=_0x4cee97;this[_0x276c02(0x298)](_0x3f08ef,_0x5c5463,_0x5f5601,_0x209ff7),this['_updatePivotTableInstanceCache'](_0x5f5601,_0x42c7ee);}[_0x4cee97(0x1bc)](_0x36155e,_0x58bc13,_0x187ec6){const _0x4bce4c=_0x4cee97,_0x1062b6=this[_0x4bce4c(0x2f3)](_0x36155e);_0x1062b6[_0x4bce4c(0x255)](_0x187ec6)[_0x4bce4c(0x11b)](_0x29e008=>{const _0x232bd5=_0x4bce4c;_0x1062b6[_0x232bd5(0x1c5)](_0x29e008);}),this[_0x4bce4c(0x9f)](_0x36155e,_0x187ec6),this['_deleteModelCache'](_0x36155e,_0x58bc13,_0x187ec6),this[_0x4bce4c(0x2d6)](_0x187ec6);}[_0x4cee97(0x1ac)](_0x1343a8,_0xe96810,_0x2dd12d,_0x49e6e2){this['_updateModelCache'](_0x1343a8,_0xe96810,_0x2dd12d,_0x49e6e2);}[_0x4cee97(0x256)](_0x3e5304,_0x2e9b68,_0x314ee9){const _0x17ab8f=_0x4cee97;var _0x4220ac,_0xdd18a3;const _0x2e8380=(_0xdd18a3=(_0x4220ac=this[_0x17ab8f(0x12a)][_0x17ab8f(0x1d9)](_0x3e5304))==null?void 0x0:_0x4220ac[_0x17ab8f(0x1d9)](_0x2e9b68))==null?void 0x0:_0xdd18a3[_0x17ab8f(0x1d9)](_0x314ee9);if(_0x2e8380)return _0x2e8380;}[_0x4cee97(0x2b8)](_0x190c1c,_0x2a2af7,_0x5906ea){const _0x17c918=_0x4cee97;var _0x337da4,_0x4d3ec0;const _0x335477=(_0x4d3ec0=(_0x337da4=this['_model'][_0x17c918(0x1d9)](_0x190c1c))==null?void 0x0:_0x337da4['get'](_0x2a2af7))==null?void 0x0:_0x4d3ec0[_0x17c918(0x1d9)](_0x5906ea);if(_0x335477)return _0x335477[_0x17c918(0x156)];}[_0x4cee97(0x142)](_0x1f8266){const _0x266206=_0x4cee97;return this[_0x266206(0x122)][_0x266206(0x1d9)](_0x1f8266);}[_0x4cee97(0x105)](_0x1c7c3e){const _0x5b98fc=_0x4cee97;this[_0x5b98fc(0x12a)]['delete'](_0x1c7c3e);const _0x43176c=this[_0x5b98fc(0xe9)]['get'](_0x1c7c3e);_0x43176c&&(_0x43176c[_0x5b98fc(0x2c5)](),this[_0x5b98fc(0xe9)][_0x5b98fc(0x2c6)](_0x1c7c3e)),this[_0x5b98fc(0x2b5)][_0x5b98fc(0x2c6)](_0x1c7c3e),this[_0x5b98fc(0x26f)][_0x5b98fc(0x11b)](_0x4e0373=>{const _0xf1307e=_0x5b98fc;_0x4e0373[_0xf1307e(0x105)](_0x1c7c3e);});}[_0x4cee97(0x1fe)](_0x1d2d99,_0x5ad87a,_0x3d4f24,_0x2899f4){const _0x268e65=_0x4cee97;return this[_0x268e65(0x2f3)](_0x3d4f24['unitId'])['addCollectionByJSON'](_0x1d2d99,_0x5ad87a,_0x3d4f24,_0x2899f4);}[_0x4cee97(0xc5)](_0x794750){const _0x5d1f18=_0x4cee97;return this[_0x5d1f18(0x2f3)](_0x794750[_0x5d1f18(0x16d)])[_0x5d1f18(0xc5)](_0x794750);}['refreshData'](_0x5073d7,_0x4315e3,_0x3b5797){const _0x42aa68=_0x4cee97;this[_0x42aa68(0x2f3)](_0x3b5797['unitId'])[_0x42aa68(0xde)](_0x5073d7,_0x4315e3,_0x3b5797);}['removeDataField'](_0xf84cce,_0x3eefec){const _0x10713c=_0x4cee97;this[_0x10713c(0x2f3)](_0xf84cce)[_0x10713c(0x1c5)](_0x3eefec);}[_0x4cee97(0x9f)](_0xf6da27,_0x5472b0){const _0x1b9aee=_0x4cee97;this[_0x1b9aee(0x2f3)](_0xf6da27)[_0x1b9aee(0x266)](_0x5472b0);}[_0x4cee97(0x218)](_0x25c80e,_0x476ebe){const _0x195559=_0x4cee97;var _0x1c6512;return(_0x1c6512=this[_0x195559(0x12a)]['get'](_0x25c80e))==null?void 0x0:_0x1c6512[_0x195559(0x1d9)](_0x476ebe);}['getTargetByPivotId'](_0x248b0a){const _0x389542=_0x4cee97;for(const [_0x1d2dfe,_0x1e9c82]of this[_0x389542(0x12a)][_0x389542(0x10b)]())for(const [_0x67fc27,_0x5cbbc1]of _0x1e9c82[_0x389542(0x10b)]())if(_0x5cbbc1[_0x389542(0xfb)](_0x248b0a))return{'unitId':_0x1d2dfe,'subUnitId':_0x67fc27};return null;}[_0x4cee97(0x248)](_0x3c7dd7,_0x284204,_0x1dfb4e,_0x22196c){const _0x4955cd=_0x4cee97,_0x3c5f0d=this[_0x4955cd(0x1a9)](_0x3c7dd7,_0x284204);_0x22196c?_0x3c5f0d[_0x4955cd(0xa8)](_0x1dfb4e,_0x22196c):_0x3c5f0d[_0x4955cd(0x2c6)](_0x1dfb4e),this[_0x4955cd(0x29b)][_0x4955cd(0x2b3)]({'unitId':_0x3c7dd7,'subUnitId':_0x284204,'pivotTableId':_0x1dfb4e});}[_0x4cee97(0x2c5)](){const _0x24c5f3=_0x4cee97;super[_0x24c5f3(0x2c5)]();}['getViewData'](_0x4f4e05,_0x3e26ef,_0xa257b4){const _0xf2f8fe=_0x4cee97;var _0x2667f8,_0xcc628a;const _0x381f52=(_0xcc628a=(_0x2667f8=this[_0xf2f8fe(0x2b5)]['get'](_0x4f4e05))==null?void 0x0:_0x2667f8[_0xf2f8fe(0x1d9)](_0x3e26ef))==null?void 0x0:_0xcc628a['get'](_0xa257b4);return _0x381f52||null;}[_0x4cee97(0xb4)](_0xba9614){const _0x246a03=_0x4cee97;this[_0x246a03(0xc9)](_0xba9614);}['updateDirtyPivotTable'](_0x2d6930){const _0x361b54=_0x4cee97,{token:_0x185d9d,unitId:_0x4a4f76,subUnitId:_0x2b1999}=_0x2d6930,_0x2bab4f=_0x4a4f76+'-'+_0x2b1999+'-'+_0x185d9d;this['_queryingMap'][_0x361b54(0x1d9)](_0x2bab4f)&&clearTimeout(this[_0x361b54(0x21a)][_0x361b54(0x1d9)](_0x2bab4f));const _0x3d751f=setTimeout(()=>{const _0x8713d1=_0x361b54;this[_0x8713d1(0x197)](_0x2d6930),this[_0x8713d1(0x21a)][_0x8713d1(0x2c6)](_0x2bab4f);},Ti);this[_0x361b54(0x21a)]['set'](_0x2bab4f,_0x3d751f);}[_0x4cee97(0x197)](_0x4b3334){const _0x3f6dbe=_0x4cee97,{unitId:_0x1fdc46,subUnitId:_0x446781,token:_0x3bc147,type:_0xa1e9eb,pivotConfig:_0x448e02}=_0x4b3334,_0x1dad46=this[_0x3f6dbe(0x142)](_0x3bc147),_0x333aa0=_0x1dad46==null?void 0x0:_0x1dad46['query'](),_0x270873=_0x448e02!=null?_0x448e02:this[_0x3f6dbe(0x256)](_0x1fdc46,_0x446781,_0x3bc147);_0x270873&&(_0x270873['isEmpty']=!!(_0x1dad46!=null&&_0x1dad46['isEmpty']())),(_0x333aa0||_0xa1e9eb===G['Delete'])&&this[_0x3f6dbe(0x2d2)](_0x1fdc46,_0x446781,_0xa1e9eb,_0x3bc147,_0x333aa0,_0x270873,this[_0x3f6dbe(0x2f3)](_0x1fdc46)['toJSON']());}[_0x4cee97(0xc4)](_0x4c649f){const _0x99e0b1=_0x4cee97,_0x40fa2e={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x99e0b1(0x2f3)](_0x4c649f)&&(_0x40fa2e['dataFieldManagerConfig'][_0x4c649f]=this[_0x99e0b1(0x2f3)](_0x4c649f)[_0x99e0b1(0xc4)]()),this[_0x99e0b1(0x12a)][_0x99e0b1(0x1d9)](_0x4c649f)){_0x40fa2e['pivotTableConfigs'][_0x4c649f]={};const _0x2e6ed1=this[_0x99e0b1(0x12a)][_0x99e0b1(0x1d9)](_0x4c649f);_0x2e6ed1!=null&&_0x2e6ed1[_0x99e0b1(0x276)]&&[..._0x2e6ed1[_0x99e0b1(0xf2)]()]['forEach'](_0x23f651=>{const _0x247bdd=_0x99e0b1,_0x41e0f5=_0x2e6ed1[_0x247bdd(0x1d9)](_0x23f651);_0x41e0f5!=null&&_0x41e0f5[_0x247bdd(0x276)]&&(_0x40fa2e[_0x247bdd(0x1ce)][_0x4c649f][_0x23f651]={},[..._0x41e0f5[_0x247bdd(0xf2)]()][_0x247bdd(0x11b)](_0x3afeba=>{const _0x5e9719=_0x247bdd,_0x978d45=_0x41e0f5['get'](_0x3afeba);_0x978d45&&(_0x40fa2e[_0x5e9719(0x1ce)][_0x4c649f][_0x23f651][_0x3afeba]=_0x978d45);}));});}return _0x40fa2e;}[_0x4cee97(0x299)](_0x5d0056){const _0x51940b=_0x4cee97;var _0x42eb87;const {dataFieldManagerConfig:_0x185545,pivotTableConfigs:_0x57f5d9}=_0x5d0056;_0x185545&&Object[_0x51940b(0xf2)](_0x185545)['forEach'](_0x5228e1=>{const _0x2cffac=_0x51940b;this[_0x2cffac(0x2f3)](_0x5228e1)['fromJSON'](_0x185545[_0x5228e1]);});const _0x3c812b=[];if(_0x57f5d9){const _0x2873af=(_0x42eb87=this[_0x51940b(0x2e0)]['get'](_0x3ff295)[_0x51940b(0x7a)](_0x31c327))!=null?_0x42eb87:{},{ls:_0x230319,pbk:_0x12ce9a}=_0x2873af,_0x26c49c=go(so,_0x230319,_0x12ce9a)[_0x51940b(0xa9)];Object[_0x51940b(0xf2)](_0x57f5d9)[_0x51940b(0x11b)](_0x42364d=>{const _0x2a17bd=_0x51940b;let _0x3c00a7=0x0;const _0x5d7e05=_0x57f5d9[_0x42364d];Object['keys'](_0x5d7e05)[_0x2a17bd(0x11b)](_0xdd9b38=>{const _0x561853=_0x5d7e05[_0xdd9b38];Object['keys'](_0x561853)['forEach'](_0x5a184b=>{const _0xb2aaf0=_0x47fa,_0x4ce5c6=_0x561853[_0x5a184b];if(_0x4ce5c6){if(_0x3c00a7>=_0x26c49c)return;_0x3c00a7++;const _0x39fcc5=this[_0xb2aaf0(0x2f3)](_0x42364d),_0x5da371=_0x39fcc5['collections'][_0x5a184b],_0x312d2e=_0x5da371[_0xb2aaf0(0x253)]();let _0x15a7d8=0x0;const _0x2f9f23=[];for(const _0x13aec2 of _0x312d2e){const _0x1d9fc2=_0x5da371[_0xb2aaf0(0x1c9)](_0x13aec2);if(_0x305057(_0x1d9fc2)){const _0x2f5a59=_0x1d9fc2[_0xb2aaf0(0x2de)](),_0x75e5f2=_0x5da371['getFieldById'](_0x2f5a59);_0x75e5f2&&_0x2f9f23[_0xb2aaf0(0x2a2)]([_0x1d9fc2,_0x75e5f2]);continue;}_0x39fcc5[_0xb2aaf0(0x14a)](_0x13aec2,_0x4ce5c6[_0xb2aaf0(0xca)],_0x15a7d8),_0x15a7d8++;}_0x2f9f23['forEach'](([_0xcd8363,_0x1c94ed])=>{const _0x586f6b=_0xb2aaf0;_0xcd8363[_0x586f6b(0x290)](_0x1c94ed);});const _0x5d7ddd=new _0x5c6617(_0x5da371);_0x5d7ddd[_0xb2aaf0(0x299)](_0x4ce5c6[_0xb2aaf0(0x156)]),this[_0xb2aaf0(0x96)](_0x42364d,_0xdd9b38,_0x5a184b,_0x5d7ddd,_0x4ce5c6);const _0x43e77e=_0x5d7ddd[_0xb2aaf0(0x296)]();_0x3c812b[_0xb2aaf0(0x2a2)]({'unitId':_0x42364d,'subUnitId':_0xdd9b38,'pivotTableId':_0x5a184b,'view':_0x43e77e[_0xb2aaf0(0xc4)](),'pivotConfig':_0x4ce5c6,'type':G[_0xb2aaf0(0x190)]});const _0xacf0dd=!!_0x5d7ddd['isEmpty'](),_0xc964de={'view':_0x43e77e,'pivotTableId':_0x5a184b,'textInfo':this['getTextInfo'](),'isEmpty':_0xacf0dd,'targetCellInfo':_0x4ce5c6[_0xb2aaf0(0x1bb)]};this[_0xb2aaf0(0x8a)](_0xc964de,!0x1);}});});});}_0x185545&&Object[_0x51940b(0xf2)](_0x185545)[_0x51940b(0x11b)](_0x157fed=>{const _0x1dde0f=_0x51940b,_0x440522=this[_0x1dde0f(0x2f3)](_0x157fed);this[_0x1dde0f(0xd4)][_0x1dde0f(0x2b3)](_0x440522[_0x1dde0f(0x227)]);}),this[_0x51940b(0x260)][_0x51940b(0x72)](Dt['id'],{'batch':_0x3c812b,'collectionConfig':_0x185545},{'onlyLocal':!0x0});}[_0x4cee97(0x19a)](){const _0x46ba29=_0x4cee97;this['disposeWithMe'](this[_0x46ba29(0x2af)][_0x46ba29(0xaf)]({'toJson':_0x2c647c=>JSON['stringify'](this[_0x46ba29(0xc4)](_0x2c647c)),'parseJson':_0x2e2b87=>{const _0x398660=_0x46ba29;if(!_0x2e2b87)return{};try{return JSON[_0x398660(0x163)](_0x2e2b87);}catch{return{};}},'businesses':[_0x5de41e[_0x46ba29(0x1cf)]],'pluginName':ao,'onLoad':(_0x47558a,_0x5ee51e)=>{const _0x2dc0fc=_0x46ba29;this[_0x2dc0fc(0x299)](_0x5ee51e);},'onUnLoad':_0x118fe7=>{const _0x3b26b2=_0x46ba29;this[_0x3b26b2(0x105)](_0x118fe7);}}));}};$=Ei([He(0x0,_0x4c00f1(_0xb8618)),He(0x1,_0x29adac),He(0x2,_0x4c00f1(_0x14ad9c)),He(0x3,_0x3ff295),He(0x4,_0x209817),He(0x5,_0x4c00f1(_0x324e66))],$);const Oi={0x0:{0x0:{'v':_0x4cee97(0x134),'s':oe}},0x2:{0x1:{'v':'','s':oe},0x2:{'v':'','s':oe},0x3:{'v':_0x4cee97(0x87),'s':oe},0x4:{'v':'','s':oe},0x5:{'v':'','s':oe}},0x3:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x4:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x5:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x6:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x7:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x8:{0x0:{'v':_0x4cee97(0x28a),'s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':_0x4cee97(0x194),'s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0x9:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xa:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xb:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xc:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}},0xd:{0x0:{'v':'','s':oe},0x1:{'v':'','s':_},0x2:{'v':'','s':_},0x3:{'v':'','s':_},0x4:{'v':'','s':_},0x5:{'v':'','s':_}}},Bt={'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':[]},jo=(_0x5decda,_0x413593)=>{const _0x5390df=_0x4cee97,_0x365a92=new _0x223fc9(),_0x42baa3=new _0x223fc9(Oi),{row:_0x105239,col:_0x19168a}=_0x413593;_0x42baa3[_0x5390df(0x240)]((_0x33533e,_0x5ec188,_0x42d7d3)=>{const _0x2b0ca3=_0x5390df;let _0x2f9772='';_0x42d7d3['v']===_0x2b0ca3(0x134)?_0x2f9772=_0x5decda[_0x2b0ca3(0x134)]:_0x42d7d3['v']===_0x2b0ca3(0x28a)?_0x2f9772=_0x5decda[_0x2b0ca3(0x28a)]:_0x42d7d3['v']===_0x2b0ca3(0x87)?_0x2f9772=_0x5decda['column']:_0x42d7d3['v']==='values'&&(_0x2f9772=_0x5decda[_0x2b0ca3(0x194)]),_0x365a92[_0x2b0ca3(0x2ea)](_0x33533e+_0x105239,_0x5ec188+_0x19168a,{..._0x42d7d3,'v':_0x2f9772});});const _0x281084=_0x3938e5[_0x5390df(0x2a7)](Bt);return Object[_0x5390df(0xf2)](Bt)[_0x5390df(0x11b)](_0xc341a1=>{const _0x3459d3=_0x5390df;_0x281084[_0xc341a1]=Bt[_0xc341a1][_0x3459d3(0x27b)](_0x465f0b=>({..._0x465f0b,'startRow':_0x465f0b[_0x3459d3(0x99)]+_0x105239,'endRow':_0x465f0b[_0x3459d3(0x1ec)]+_0x105239,'startColumn':_0x465f0b[_0x3459d3(0x160)]+_0x19168a,'endColumn':_0x465f0b[_0x3459d3(0x12e)]+_0x19168a}));}),{'matrixCache':_0x365a92,'rangesCache':_0x281084};};function Ui(_0x47414f,_0x399d81){const _0x2f0ef4=_0x4cee97;let _0x4a80d7='';const _0x5a7d58=this[_0x2f0ef4(0x1ed)]();switch(_0x399d81){case _0x230a2c[_0x2f0ef4(0xa0)]:_0x4a80d7=_0x5a7d58[_0x2f0ef4(0x1dd)]+_0x47414f;break;case _0x230a2c[_0x2f0ef4(0xa9)]:_0x4a80d7=_0x5a7d58[_0x2f0ef4(0x2a8)]+_0x47414f;break;case _0x230a2c[_0x2f0ef4(0x28b)]:_0x4a80d7=_0x5a7d58[_0x2f0ef4(0x2d0)]+_0x47414f;break;case _0x230a2c[_0x2f0ef4(0x20b)]:_0x4a80d7=_0x5a7d58[_0x2f0ef4(0x92)]+_0x47414f;break;case _0x230a2c[_0x2f0ef4(0x2d4)]:_0x4a80d7=_0x5a7d58[_0x2f0ef4(0x18f)]+_0x47414f;break;case _0x230a2c[_0x2f0ef4(0x23a)]:_0x4a80d7=_0x5a7d58[_0x2f0ef4(0x1c0)]+_0x47414f;break;case _0x230a2c[_0x2f0ef4(0xd8)]:_0x4a80d7=_0x5a7d58[_0x2f0ef4(0x14d)]+_0x47414f;break;case _0x230a2c[_0x2f0ef4(0x1a1)]:_0x4a80d7=_0x5a7d58[_0x2f0ef4(0x2cb)]+_0x47414f;break;case _0x230a2c[_0x2f0ef4(0x18e)]:_0x4a80d7=_0x5a7d58[_0x2f0ef4(0x138)]+_0x47414f;break;case _0x230a2c[_0x2f0ef4(0x2b6)]:_0x4a80d7=_0x5a7d58[_0x2f0ef4(0x1d0)]+_0x47414f;break;case _0x230a2c[_0x2f0ef4(0x113)]:_0x4a80d7=_0x5a7d58[_0x2f0ef4(0xbe)]+_0x47414f;break;default:_0x4a80d7=_0x47414f;break;}return _0x4a80d7;}function xi(_0x5f10ee,_0x254038,_0x197ba6,_0x36c235,_0x344968){const _0x42f487=_0x4cee97;var _0x5e0b67,_0x200ddd,_0x159e53,_0x39da83,_0xa91a77;const _0x105d22=_0x330834(_0x5f10ee,_0x254038),{rangesInfo:_0x5148be,areaInfo:_0x4316f1,headerMap:_0x3f9a4f}=_0x344968;if(!_0x5148be||!_0x4316f1||!_0x3f9a4f)return;const _0x445105=Object[_0x42f487(0xf2)](_0x5148be)['find'](_0xa7e08e=>_0x5148be[_0xa7e08e]['some'](_0x3c3e1c=>_0x508b94['contains'](_0x3c3e1c,_0x105d22))),_0x3d86c4=_0x4316f1;let _0x5d89fa,_0x1904ed,_0x572ee0;if(_0x445105==='rowRanges')_0x5d89fa=(_0x5e0b67=_0x3d86c4==null?void 0x0:_0x3d86c4[_0x42f487(0x21c)])==null?void 0x0:_0x5e0b67[_0x5f10ee],_0x1904ed=(_0x200ddd=_0x3f9a4f==null?void 0x0:_0x3f9a4f['rowHeaderMap'])==null?void 0x0:_0x200ddd[_0x254038],_0x572ee0=_0x1904ed==null?void 0x0:_0x1904ed[_0x42f487(0x79)];else{if(_0x445105==='colRanges')_0x5d89fa=(_0x159e53=_0x3d86c4==null?void 0x0:_0x3d86c4[_0x42f487(0x15c)])==null?void 0x0:_0x159e53[_0x254038],_0x1904ed=(_0x39da83=_0x3f9a4f[_0x42f487(0x291)])==null?void 0x0:_0x39da83[_0x5f10ee+0x1+_0x254038-_0x5148be[_0x42f487(0x12c)][0x0][_0x42f487(0x160)]],_0x572ee0=_0x1904ed==null?void 0x0:_0x1904ed[_0x42f487(0x79)];else{if(_0x445105===_0x42f487(0x1f8))_0x5d89fa=(_0xa91a77=_0x3d86c4==null?void 0x0:_0x3d86c4[_0x42f487(0x1c3)])==null?void 0x0:_0xa91a77[_0x254038],_0x572ee0=_0x5d89fa==null?void 0x0:_0x5d89fa[_0x42f487(0x79)];else{if(_0x445105===_0x42f487(0x1d2)){const _0x5aa99f=_0x197ba6==null?void 0x0:_0x197ba6['fi'];_0x5aa99f!==void 0x0&&(_0x572ee0=_0x36c235['getFilterFieldIdByIndex'](_0x5aa99f));}}}}return{'filterId':_0x572ee0,'info':_0x5d89fa,'data':_0x197ba6,'headerInfo':_0x1904ed};}function Vi(_0x54820c,_0x1e7abb,_0x28efbf){const _0x1867a1=_0x4cee97,_0x2bc517=_0x54820c[_0x1867a1(0x237)],_0x5ab08e=_0x2bc517[_0x1867a1(0x253)](),_0x4e4f7f=new Set();_0x54820c[_0x1867a1(0x1dc)](_0x8f6377=>{const _0x7d4212=_0x1867a1;_0x4e4f7f[_0x7d4212(0x221)](_0x8f6377[_0x7d4212(0x78)]);});const _0x57c20c=_0x5ab08e[_0x1867a1(0x27b)](_0x2e38bf=>{const _0xa9975f=_0x1867a1,_0x4b0336=_0x2bc517[_0xa9975f(0x1c9)](_0x2e38bf);return{'checked':_0x4e4f7f[_0xa9975f(0xfb)](_0x2e38bf),'dataFieldId':_0x4b0336['id'],'id':_0x4b0336['id'],'name':_0x2bc517[_0xa9975f(0x71)](_0x4b0336['id']),'type':_0x4b0336[_0xa9975f(0x205)](),'pivotTableId':_0x1e7abb};}),_0x15befd=[];_0x54820c['iterateFieldByArea'](_0x15054a['Row'],_0x41b963=>{const _0x12c0e7=_0x1867a1;_0x15befd[_0x12c0e7(0x2a2)]({'dataFieldId':_0x41b963['dataFieldId'],'tableFieldId':_0x41b963['getId'](),'displayName':_0x41b963['getDisplayName']()});});const _0x1c9df9=[];_0x54820c[_0x1867a1(0x18d)](_0x15054a[_0x1867a1(0x195)],_0x50f062=>{const _0x4c5625=_0x1867a1;_0x1c9df9[_0x4c5625(0x2a2)]({'dataFieldId':_0x50f062[_0x4c5625(0x78)],'tableFieldId':_0x50f062[_0x4c5625(0x1cd)](),'displayName':_0x50f062[_0x4c5625(0x71)]()});});const _0x17ea8e=[];if(_0x54820c[_0x1867a1(0x18d)](_0x15054a[_0x1867a1(0x90)],_0x16e676=>{const _0x3d237b=_0x1867a1;_0x17ea8e[_0x3d237b(0x2a2)]({'dataFieldId':_0x16e676[_0x3d237b(0x78)],'tableFieldId':_0x16e676[_0x3d237b(0x1cd)](),'displayName':_0x16e676['getDisplayName'](),'format':_0x16e676[_0x3d237b(0x294)](),'subTotalType':_0x16e676[_0x3d237b(0x1d5)]()});}),_0x17ea8e[_0x1867a1(0x29c)]>0x1){const _0x243eeb=_0x54820c[_0x1867a1(0x1af)]();(_0x54820c[_0x1867a1(0x21b)]()?_0x1c9df9:_0x15befd)[_0x1867a1(0x2b2)](_0x243eeb,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x1867a1(0x126)});}const _0x212801=[];_0x54820c[_0x1867a1(0x18d)](_0x15054a['Filter'],_0x50b48e=>{const _0x42f9d6=_0x1867a1;_0x212801[_0x42f9d6(0x2a2)]({'dataFieldId':_0x50b48e['dataFieldId'],'tableFieldId':_0x50b48e[_0x42f9d6(0x1cd)](),'displayName':_0x50b48e[_0x42f9d6(0x71)]()});});const _0x590505=_0x28efbf[_0x1867a1(0xca)];return{'sourceList':_0x57c20c,'sourceRange':_0x590505,'rowFields':_0x15befd,'columnFields':_0x1c9df9,'valueFields':_0x17ea8e,'filterFields':_0x212801,'positionInfo':_0x28efbf[_0x1867a1(0x1bb)]};}function fo(_0x45c809,_0x430d0f,_0x22ed40='',_0x1b6d31={}){const _0x285961=_0x4cee97,_0x364055=_0x45c809['get'](_0x18acb2);for(const _0xce6bf8 in _0x430d0f)if(Object[_0x285961(0xe7)][_0x285961(0x24c)][_0x285961(0x1f7)](_0x430d0f,_0xce6bf8)){const _0x121f28=_0x22ed40?_0x22ed40+'.'+_0xce6bf8:_0xce6bf8;typeof _0x430d0f[_0xce6bf8]==_0x285961(0x183)&&_0x430d0f[_0xce6bf8]!==null&&!Array[_0x285961(0x131)](_0x430d0f[_0xce6bf8])?fo(_0x45c809,_0x430d0f[_0xce6bf8],_0x121f28,_0x1b6d31):_0x1b6d31[_0x121f28]=_0x364055['t'](_0x121f28);}return _0x1b6d31;}const Gt=_0xa035e4=>{const _0x5b6f7d=_0x4cee97;if(!_0xa035e4)return[];const {rowRanges:_0x375d1d,colRanges:_0x13983b,cornerRanges:_0x1cd73e,dataRanges:_0x4fc914,pageRanges:_0x10c00b}=_0xa035e4,_0x34c626=[..._0x13983b,..._0x375d1d,..._0x4fc914,..._0x1cd73e][_0x5b6f7d(0x134)](_0x28780a=>_0x28780a[_0x5b6f7d(0x99)]>=0x0&&_0x28780a['startColumn']>=0x0&&_0x28780a[_0x5b6f7d(0x1ec)]>=0x0&&_0x28780a[_0x5b6f7d(0x12e)]>=0x0);let _0x122bf3=Number[_0x5b6f7d(0x1e9)],_0x4f24c9=Number['MIN_SAFE_INTEGER'],_0x3df9db=Number[_0x5b6f7d(0x1e9)],_0x3ec6d7=Number[_0x5b6f7d(0x2be)];for(let _0x253729=0x0;_0x253729<_0x34c626[_0x5b6f7d(0x29c)];_0x253729++)_0x122bf3=Math['min'](_0x122bf3,_0x34c626[_0x253729][_0x5b6f7d(0x99)]),_0x4f24c9=Math[_0x5b6f7d(0x20b)](_0x4f24c9,_0x34c626[_0x253729][_0x5b6f7d(0x1ec)]),_0x3df9db=Math[_0x5b6f7d(0x2d4)](_0x3df9db,_0x34c626[_0x253729][_0x5b6f7d(0x160)]),_0x3ec6d7=Math['max'](_0x3ec6d7,_0x34c626[_0x253729][_0x5b6f7d(0x12e)]);return[..._0x10c00b,{'startRow':_0x122bf3,'endRow':_0x4f24c9,'startColumn':_0x3df9db,'endColumn':_0x3ec6d7}];};function Li(_0x809cf2,_0x3c5697){const _0x574631=_0x4cee97,_0x4034ed=_0x3c5697[_0x574631(0x86)][_0x574631(0xad)],{pivotTableId:_0x1a5f86,unitId:_0xeeb24a,subUnitId:_0x35cfab}=_0x3c5697;if(!_0x4034ed)return;const _0x135361=_0x809cf2['get']($),_0x599ead=_0x135361[_0x574631(0x142)](_0x1a5f86),_0x23d117=_0x135361[_0x574631(0x256)](_0xeeb24a,_0x35cfab,_0x1a5f86);if(!_0x599ead||!_0x23d117)return;const _0x529885=_0x599ead[_0x574631(0x261)](_0x4034ed[_0x574631(0x130)]);if(!(_0x529885!=null&&_0x529885[_0x574631(0x29c)]))return;const _0x502637=_0x23d117[_0x574631(0xca)],{unitId:_0x550463,subUnitId:_0x2d1a00,range:_0x2cebab}=_0x502637;let _0x4b6513=0x0;const _0x9b7c71=_0x599ead[_0x574631(0x237)]['getFieldIds']()[_0x574631(0x27a)]((_0x165887,_0x181a18)=>{const _0x137692=_0x574631;var _0x12b258;const _0xf1c2a4=(_0x12b258=_0x599ead[_0x137692(0x95)](_0x181a18))==null?void 0x0:_0x12b258[_0x137692(0x2ba)]();return _0xf1c2a4&&(_0x165887[String(_0x4b6513)]=_0xf1c2a4),_0x4b6513++,_0x165887;},{});return{'indexes':_0x529885,'range':_0x2cebab,'sourceUnitId':_0x550463,'sourceSubUnitId':_0x2d1a00,'formatMap':_0x9b7c71};}function Ho(_0x2590c6,_0x40e3c4){const _0x254f3d=_0x4cee97;if(!_0x2590c6||!_0x40e3c4)return!0x0;const _0x27d7e2=_0x16fced(Wo,Jo),_0xf33cfa=new Function(_0x254f3d(0x2a0)+_0x27d7e2)()(_0x2590c6,_0x40e3c4)[_0x254f3d(0xfa)],_0x22228e=_0x2d5ff0(_0xf33cfa,'sf',Ao);return!((_0xf33cfa==null?void 0x0:_0xf33cfa['rt'])===_0x535c1c[_0x254f3d(0x1f4)]&&!_0x22228e);}function go(_0x5573ea,_0x32cbb7,_0xea378f){const _0x5b5beb=_0x4cee97,_0x37bddb={'count':_0x5573ea,'timeValid':!0x1};if(!_0x32cbb7||!_0xea378f)return _0x37bddb;const _0x386e9f=_0x16fced(Wo,Jo),_0x383c69=new Function('return\x20'+_0x386e9f)()(_0x32cbb7,_0xea378f);if(_0x383c69!=null&&_0x383c69[_0x5b5beb(0x2e1)]){const _0x39e7a1=_0x383c69['message'],_0x45bed9=_0x2d5ff0(_0x39e7a1,'sf',Ao);return{'count':_0x3ee790(_0x39e7a1,_0x45bed9,_0x5b5beb(0x2d9),_0x5573ea,_0x5573ea,0x0),'timeValid':_0x45bed9};}return _0x37bddb;}function Ko(_0x4c4960,_0x289275,_0x244c59,_0x4e72f0){const _0x1ef7ee=_0x4cee97,_0x298678={'subUnitId':_0x244c59,'unitId':_0x289275,'cellValue':_0x5d4b0d(_0x4e72f0)},_0x2bcdd3=_0x276f2a(_0x4c4960,_0x298678);let _0x443d5d=!0x1;return new _0x223fc9(_0x2bcdd3['cellValue'])[_0x1ef7ee(0x240)]((_0xc7a53a,_0x2cf65b,_0x1540ad)=>{const _0x4df77c=_0x1ef7ee;if(!_0x443d5d&&_0x1540ad&&(_0x1540ad[_0x4df77c(0xc1)]||_0x1540ad['f']||_0x1540ad['p']||_0x1540ad['s']||_0x1540ad['si']||_0x1540ad['t']||_0x1540ad['v']))return _0x443d5d=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x3bbdb6['id'],'params':_0x2bcdd3},'setRangeValueRedoMutation':{'id':_0x3bbdb6['id'],'params':_0x298678},'shouldClear':_0x443d5d};}function Ai(_0x4d6cd4){const {row:_0x18359c,col:_0x4b4f28}=_0x4d6cd4,_0x9c5ad3={'startRow':_0x18359c,'endRow':_0x18359c,'startColumn':_0x4b4f28,'endColumn':_0x4b4f28},_0x2bcd8b={'startRow':_0x18359c+0x2,'endRow':_0x18359c+0xe,'startColumn':_0x4b4f28,'endColumn':_0x4b4f28+0x6};return[_0x9c5ad3,_0x2bcd8b];}function ki(_0x114bf0,_0x334ad8,_0x3a8b8e){const _0x544dd1=_0x4cee97,{cornerView:_0x953faa,rowView:_0x2fc3f8,colView:_0x11151d,pageView:_0xcc9bd5}=_0x114bf0,{row:_0x437102,col:_0x39d9f6}=_0x334ad8;if(_0x3a8b8e)return{'rowCount':bi+_0x437102,'colCount':Si+_0x39d9f6};const _0x3e1eeb=_0xcc9bd5['lastRow']>-0x1?_0xcc9bd5[_0x544dd1(0x17f)]+0x1:0x0,_0x3cf9c2=_0xcc9bd5[_0x544dd1(0x2d1)]>-0x1?_0xcc9bd5[_0x544dd1(0x2d1)]:0x0,_0x4bc7c9=_0x437102+_0x3e1eeb+(_0x3e1eeb?0x1:0x0)+_0x953faa[_0x544dd1(0x82)]+_0x2fc3f8[_0x544dd1(0x82)],_0x22f178=_0x39d9f6+_0x3cf9c2,_0x34e97d=_0x39d9f6+_0x953faa['colCount']+_0x11151d[_0x544dd1(0x1bd)],_0x2096bf=Math[_0x544dd1(0x20b)](_0x22f178,_0x34e97d);return{'rowCount':_0x4bc7c9,'colCount':_0x2096bf};}function we(_0x5d1834,_0x301e8e,_0x338dbf,_0x4e2ce8){const _0x1a967a=_0x4cee97,{row:_0xf5c5ce,col:_0x36ac4d,unitId:_0x453700,subUnitId:_0x14f747}=_0x338dbf,_0xb2cc6a=ki(_0x301e8e,{'row':_0xf5c5ce,'col':_0x36ac4d},_0x4e2ce8),_0x472811=_0x5d1834['get'](_0x29adac),_0x36f4aa=_0x66221a(_0x472811,{'unitId':_0x453700,'subUnitId':_0x14f747}),_0x29893b=[],_0x199675=[];if(!_0x36f4aa)return{'undos':_0x199675,'redos':_0x29893b};const {worksheet:_0x344fef}=_0x36f4aa,_0x2d480d=_0x344fef['getRowCount'](),_0x3bcd79=_0x344fef[_0x1a967a(0xcb)]();return _0x2d480d<_0xb2cc6a['rowCount']&&(_0x29893b['push']({'id':_0x18d661['id'],'params':{'unitId':_0x453700,'subUnitId':_0x14f747,'range':{'startRow':_0x2d480d,'endRow':_0xb2cc6a['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x3bcd79-0x1}}}),_0x199675[_0x1a967a(0x2a2)]({'id':_0x473d0e['id'],'params':{'unitId':_0x453700,'subUnitId':_0x14f747,'range':{'startRow':_0x2d480d,'endRow':_0xb2cc6a[_0x1a967a(0x82)]-0x1,'startColumn':0x0,'endColumn':_0x3bcd79-0x1}}})),_0x3bcd79<_0xb2cc6a[_0x1a967a(0x1bd)]&&(_0x29893b[_0x1a967a(0x2a2)]({'id':_0x5b12e0['id'],'params':{'unitId':_0x453700,'subUnitId':_0x14f747,'range':{'startRow':0x0,'endRow':_0x2d480d-0x1,'startColumn':_0x3bcd79,'endColumn':_0xb2cc6a[_0x1a967a(0x1bd)]-0x1}}}),_0x199675[_0x1a967a(0x2a2)]({'id':_0xe3d904['id'],'params':{'unitId':_0x453700,'subUnitId':_0x14f747,'range':{'startRow':0x0,'endRow':_0x2d480d-0x1,'startColumn':_0x3bcd79,'endColumn':_0xb2cc6a[_0x1a967a(0x1bd)]-0x1}}})),{'undos':_0x199675,'redos':_0x29893b};}function Bi(_0x3897d7){const _0x26086e=_0x4cee97;let _0x6ceeee=0x0;for(let _0x5a9df1=0x0;_0x5a9df1<_0x3897d7[_0x26086e(0x29c)];_0x5a9df1++){const _0x1cffbe=_0x3897d7[_0x26086e(0x10a)](_0x5a9df1);_0x1cffbe>=0x4e00&&_0x1cffbe<=0x9fff||_0x1cffbe>=0x3000&&_0x1cffbe<=0x303f||_0x1cffbe>=0xff00&&_0x1cffbe<=0xffef?_0x6ceeee+=0x2:_0x6ceeee+=0x1;}return _0x6ceeee;}function Po(_0x352513,_0x4d4e1b,_0x1fdf49,_0x4f6e2e){const _0x36b5ea=_0x4cee97;var _0x119753,_0x18e59b,_0x7efc6f,_0x51a3ab;const {rowCount:_0x5a82a6,colCount:_0x4ca428,headerMap:_0x130ad0}=_0x352513,_0x2bc6dd=0x64,_0x67fd0f=Math['min'](_0x5a82a6,_0x2bc6dd),_0x2b1665=Math[_0x36b5ea(0x2d4)](_0x4ca428,_0x2bc6dd);let _0x579ad4='',_0x2c0665=0x0;for(let _0x8c7539=0x0;_0x8c7539<_0x67fd0f;_0x8c7539++)for(let _0x420428=0x0;_0x420428<_0x2b1665;_0x420428++){const _0x595dd2={...(_0x18e59b=(_0x119753=_0x352513[_0x36b5ea(0x110)])==null?void 0x0:_0x119753[_0x8c7539])==null?void 0x0:_0x18e59b[_0x420428]},_0x5444dc=(_0x7efc6f=_0x130ad0[_0x8c7539])==null?void 0x0:_0x7efc6f[_0x36b5ea(0x79)],_0x30a0e9=_0x4f6e2e[_0x5444dc];let _0x3d7c8e=_0x352513[_0x36b5ea(0x17b)](_0x8c7539,_0x420428);if(_0x595dd2){const _0x34fd2f=_0x1fdf49?_0x420428===0x0&&((_0x51a3ab=_0x352513[_0x36b5ea(0x1aa)](_0x420428+0x1))==null?void 0x0:_0x51a3ab[_0x36b5ea(0x155)]):!0x1;_0x3d7c8e=ht(_0x595dd2,_0x34fd2f,_0x30a0e9,_0x4d4e1b);}if(_0x3d7c8e!==void 0x0){const _0x2c247e=Bi(String(_0x3d7c8e));_0x2c0665<_0x2c247e&&(_0x579ad4=String(_0x3d7c8e),_0x2c0665=_0x2c247e);}}return _0x579ad4;}function Gi(_0x52a565){const _0x42bc4c=_0x4cee97,{rowCount:_0x407f5f,colCount:_0x11e87c}=_0x52a565;let _0x5776d3='',_0x4da1d4=0x0;for(let _0x3cffef=_0x407f5f-0x1;_0x3cffef>0x0&&_0x3cffef>_0x407f5f-0x3;_0x3cffef--)for(let _0x11c6b9=0x0;_0x11c6b9<_0x11e87c;_0x11c6b9++){const _0x44d693=_0x52a565[_0x42bc4c(0x17b)](_0x3cffef,_0x11c6b9);if(_0x44d693!==void 0x0){const _0xf8f10b=String(_0x44d693)[_0x42bc4c(0x29c)];_0x4da1d4<_0xf8f10b&&(_0x5776d3=String(_0x44d693),_0x4da1d4=_0xf8f10b);}}return _0x5776d3;}function $i(_0x437b8b){const _0x3552dc=_0x4cee97,{rowCount:_0x4f243e,colCount:_0x4943e0}=_0x437b8b;let _0x4038f5='',_0x5a65ab=0x0;for(let _0x5acd8a=0x0;_0x5acd8a<_0x4f243e;_0x5acd8a++)for(let _0x41dbc1=0x0;_0x41dbc1<_0x4943e0;_0x41dbc1++){const _0x1fa790=_0x437b8b[_0x3552dc(0x17b)](_0x5acd8a,_0x41dbc1);if(_0x1fa790!==void 0x0){const _0x4f68af=String(_0x1fa790)[_0x3552dc(0x29c)];_0x5a65ab<_0x4f68af&&(_0x4038f5=String(_0x1fa790),_0x5a65ab=_0x4f68af);}}return _0x4038f5;}function Ji(_0x18e18f,_0x164ae8){const _0x4031df=_0x4cee97,{rowFields:_0x5534d4,columnFields:_0x1ab436,valueFields:_0x5ccc47,filterFields:_0x1d3c5d,dimension:_0x99a462,measure:_0xda8036}=_0x164ae8;for(const _0x51ca2b of _0x5534d4){const _0x7e667e=_0x99a462[_0x51ca2b];_0x7e667e&&_0x18e18f[_0x4031df(0x95)](_0x7e667e[_0x4031df(0x78)])&&(_0x18e18f[_0x4031df(0x7b)](_0x7e667e[_0x4031df(0x78)],_0x15054a['Row'],void 0x0,_0x51ca2b),_0x7e667e[_0x4031df(0x2df)]&&_0x18e18f[_0x4031df(0xc3)](_0x7e667e['id'],_0x7e667e[_0x4031df(0x2df)]),_0x7e667e['sortInfo']&&_0x18e18f[_0x4031df(0x1ca)](_0x7e667e['id'],_0x7e667e[_0x4031df(0x2e4)]),_0x7e667e[_0x4031df(0x8f)]&&_0x18e18f['setLabelFilterInfo'](_0x7e667e['id'],_0x7e667e[_0x4031df(0x8f)]));}for(const _0x34647a of _0x1ab436){const _0x20b473=_0x99a462[_0x34647a];_0x20b473&&_0x18e18f['getDataFieldByDataFieldId'](_0x20b473[_0x4031df(0x78)])&&(_0x18e18f['addFieldWithSourceId'](_0x20b473[_0x4031df(0x78)],_0x15054a[_0x4031df(0x195)],void 0x0,_0x34647a),_0x20b473[_0x4031df(0x2e4)]&&_0x18e18f['setSortInfo'](_0x20b473['id'],_0x20b473[_0x4031df(0x2e4)]),_0x20b473[_0x4031df(0x8f)]&&_0x18e18f[_0x4031df(0x11f)](_0x20b473['id'],_0x20b473['filterInfo']),_0x20b473['displayName']&&_0x18e18f[_0x4031df(0xc3)](_0x20b473['id'],_0x20b473['displayName']));}for(const _0x120560 of _0x1d3c5d){const _0x30ac36=_0x99a462[_0x120560];_0x30ac36&&_0x18e18f[_0x4031df(0x95)](_0x30ac36[_0x4031df(0x78)])&&(_0x18e18f[_0x4031df(0x7b)](_0x30ac36[_0x4031df(0x78)],_0x15054a[_0x4031df(0x22d)],void 0x0,_0x120560),_0x30ac36[_0x4031df(0x2e4)]&&_0x18e18f[_0x4031df(0x1ca)](_0x30ac36['id'],_0x30ac36['sortInfo']),_0x30ac36[_0x4031df(0x8f)]&&_0x18e18f[_0x4031df(0x11f)](_0x30ac36['id'],_0x30ac36['filterInfo']),_0x30ac36[_0x4031df(0x2df)]&&_0x18e18f[_0x4031df(0xc3)](_0x30ac36['id'],_0x30ac36[_0x4031df(0x2df)]));}for(const _0x1f3490 of _0x5ccc47){const _0x21f0cc=_0xda8036[_0x1f3490];_0x21f0cc&&_0x18e18f[_0x4031df(0x95)](_0x21f0cc[_0x4031df(0x78)])&&(_0x18e18f[_0x4031df(0x7b)](_0x21f0cc[_0x4031df(0x78)],_0x15054a[_0x4031df(0x90)],void 0x0,_0x1f3490),_0x21f0cc[_0x4031df(0x124)]!==void 0x0&&_0x18e18f['setSubtotalType'](_0x1f3490,_0x21f0cc[_0x4031df(0x124)]),_0x21f0cc['format']&&_0x18e18f[_0x4031df(0x1d1)](_0x1f3490,_0x21f0cc['format']),_0x21f0cc[_0x4031df(0x2df)]&&_0x18e18f[_0x4031df(0xc3)](_0x21f0cc['id'],_0x21f0cc[_0x4031df(0x2df)]));}const _0x4d91c1=_0x164ae8[_0x4031df(0x247)];for(const {fieldId:_0x3d9979,filterInfo:_0x5e6680}of _0x4d91c1)_0x18e18f['setValueFilterInfo'](_0x3d9979,_0x5e6680);}function Wi(_0x58c6a4,_0x55001c){const _0x262dde=_0x4cee97,_0x1db926=[];_0x55001c===_0x15054a[_0x262dde(0x29f)]&&_0x58c6a4['iterateFieldByArea'](_0x15054a['Row'],_0x28ac37=>{const _0x571a84=_0x262dde;_0x1db926[_0x571a84(0x2a2)](_0x28ac37[_0x571a84(0x1cd)]());}),_0x55001c===_0x15054a['Column']&&_0x58c6a4['iterateFieldByArea'](_0x15054a[_0x262dde(0x195)],_0x3e2e0=>{const _0x563012=_0x262dde;_0x1db926[_0x563012(0x2a2)](_0x3e2e0[_0x563012(0x1cd)]());}),_0x55001c===_0x15054a[_0x262dde(0x22d)]&&_0x58c6a4['iterateFieldByArea'](_0x15054a[_0x262dde(0x22d)],_0x18e9cf=>{const _0x47afe5=_0x262dde;_0x1db926['push'](_0x18e9cf[_0x47afe5(0x1cd)]());}),_0x55001c===_0x15054a['Value']&&_0x58c6a4[_0x262dde(0x18d)](_0x15054a['Value'],_0x3b4375=>{const _0x29b39d=_0x262dde;_0x1db926['push'](_0x3b4375[_0x29b39d(0x1cd)]());}),_0x55001c===void 0x0&&_0x58c6a4[_0x262dde(0x1dc)](_0x4e3ad8=>{const _0x477531=_0x262dde;_0x1db926['push'](_0x4e3ad8[_0x477531(0x1cd)]());});const _0x24ef03=_0x1db926['length'];for(let _0x351c6d=_0x24ef03-0x1;_0x351c6d>=0x0;_0x351c6d--)_0x58c6a4['removeField'](_0x1db926[_0x351c6d]);const _0x56d365=_0x58c6a4[_0x262dde(0xc8)]();for(const _0x45a721 in _0x56d365)_0x58c6a4[_0x262dde(0x26a)](_0x45a721);}function ji(_0x43d706,_0x2e294c){const _0x3913ff=_0x4cee97,_0x228286=new Date(_0x17a236(_0x2e294c)),_0x2d37f8=new Date(_0x17a236(_0x43d706)),_0x25b1a0=_0x228286[_0x3913ff(0x15d)](),_0x2425cf=_0x2d37f8['getFullYear'](),_0x3a60fa=_0x228286['getMonth'](),_0x1ba555=_0x2d37f8[_0x3913ff(0x2a9)](),_0x49657b=_0x228286[_0x3913ff(0x101)](),_0x40d9dc=_0x2d37f8['getDate'](),_0x2421d2=_0x25b1a0===_0x2425cf,_0x1509b7=_0x2421d2&&_0x3a60fa===_0x1ba555;return _0x2421d2&&_0x1509b7&&!(_0x1509b7&&_0x49657b===_0x40d9dc)?_0x516491['YearMonthDate']:_0x2421d2&&!_0x1509b7?_0x516491[_0x3913ff(0xb5)]:_0x516491[_0x3913ff(0x164)];}function qo(_0x3eff8b,_0x32b996){const _0xb81a59=_0x4cee97,_0x439892=_0x3eff8b['get']($)[_0xb81a59(0x1ed)]();let _0x43109a='';switch(_0x32b996){case _0x516491[_0xb81a59(0x200)]:_0x43109a=_0x439892[_0xb81a59(0xe5)];break;case _0x516491[_0xb81a59(0xb5)]:_0x43109a=_0x439892[_0xb81a59(0x1b0)];break;case _0x516491['Year']:_0x43109a=_0x439892[_0xb81a59(0x172)];break;case _0x516491[_0xb81a59(0x132)]:_0x43109a=_0x439892[_0xb81a59(0x117)];break;case _0x516491[_0xb81a59(0x162)]:_0x43109a=_0x439892[_0xb81a59(0x25a)];break;case _0x516491['Date']:_0x43109a=_0x439892[_0xb81a59(0x89)];break;case _0x516491[_0xb81a59(0x180)]:_0x43109a=_0x439892[_0xb81a59(0x165)];break;case _0x516491['Hour']:_0x43109a=_0x439892[_0xb81a59(0x175)];break;case _0x516491['Minute']:_0x43109a=_0x439892['sheets-pivot.dateGroup.minute'];break;case _0x516491['MonthDate']:_0x43109a=_0x439892[_0xb81a59(0x168)];break;case _0x516491[_0xb81a59(0x73)]:_0x43109a=_0x439892[_0xb81a59(0x1c6)];break;default:_0x43109a='';break;}return _0x43109a;}const Qo=_0x4cee97(0x2da),yo={};var Hi=Object[_0x4cee97(0x236)],Ki=(_0x261f24,_0x54d24e,_0x22cd95,_0x5a8221)=>{const _0x7645a=_0x4cee97;for(var _0x4747da=_0x5a8221>0x1?void 0x0:_0x5a8221?Hi(_0x54d24e,_0x22cd95):_0x54d24e,_0x489e9f=_0x261f24[_0x7645a(0x29c)]-0x1,_0x375f47;_0x489e9f>=0x0;_0x489e9f--)(_0x375f47=_0x261f24[_0x489e9f])&&(_0x4747da=_0x375f47(_0x4747da)||_0x4747da);return _0x4747da;},at=(_0x1b2f57,_0x563004)=>(_0x33f1be,_0x5ee937)=>_0x563004(_0x33f1be,_0x5ee937,_0x1b2f57);let he=class extends _0x125de6{constructor(_0x5781b2,_0x212f94,_0x19b99d,_0x5b7f7a,_0x3532dc){const _0x1c0680=_0x4cee97;super(),O(this,_0x1c0680(0x12a),new Map()),O(this,_0x1c0680(0x1a2),new Map()),O(this,'_pivotTableRangeInfo',new Map()),O(this,'_pivotTableMatrixInfo',new Map()),O(this,_0x1c0680(0x269),new _0x563d8d()),O(this,_0x1c0680(0x13c),new _0x563d8d()),O(this,_0x1c0680(0x1a0),this[_0x1c0680(0x13c)][_0x1c0680(0x18a)]()),O(this,_0x1c0680(0x16a),new _0x563d8d()),O(this,_0x1c0680(0x2bd),this[_0x1c0680(0x16a)][_0x1c0680(0x18a)]()),O(this,_0x1c0680(0x16b),{}),O(this,_0x1c0680(0xd6),this[_0x1c0680(0x269)][_0x1c0680(0x18a)]()),(this[_0x1c0680(0x2e0)]=_0x5781b2,this[_0x1c0680(0x260)]=_0x212f94,this['_univerInstanceService']=_0x19b99d,this[_0x1c0680(0x2af)]=_0x5b7f7a,this[_0x1c0680(0xc6)]=_0x3532dc,this['_initLocale'](),this['_initUnitDisposed']());const _0xab9eff=this[_0x1c0680(0xc6)][_0x1c0680(0x7a)](Qo);(_0xab9eff==null?void 0x0:_0xab9eff[_0x1c0680(0x2e6)])===!0x0&&this['_initSnapshot']();}[_0x4cee97(0x26c)](){const _0x22b9db=_0x4cee97;this[_0x22b9db(0x2c3)](this[_0x22b9db(0x295)]['getTypeOfUnitDisposed$'](_0x5de41e[_0x22b9db(0x1cf)])['subscribe'](_0x56f1f6=>{const _0xbd2a1f=_0x22b9db;this[_0xbd2a1f(0x105)](_0x56f1f6[_0xbd2a1f(0x235)]());}));}[_0x4cee97(0x23c)](){const _0x1b443c=_0x4cee97;this[_0x1b443c(0x13c)][_0x1b443c(0x2b3)](!0x0);}[_0x4cee97(0xa1)](){const _0x5043ae=_0x4cee97,_0x1a3c6e=fo(this[_0x5043ae(0x2e0)],Bo,'',{});this[_0x5043ae(0x16b)]=_0x1a3c6e,this[_0x5043ae(0x260)][_0x5043ae(0x72)](uo['id'],{'textInfo':_0x1a3c6e},{'onlyLocal':!0x0});}[_0x4cee97(0x1ed)](){const _0x3746e9=_0x4cee97;return this[_0x3746e9(0x16b)];}[_0x4cee97(0x22b)](_0xc14386,_0x19b608,_0xc3cfa5,_0xfa088e,_0xb7610d){const _0x1f6fe3=_0x4cee97;this[_0x1f6fe3(0x297)](_0xc14386,_0x19b608,_0xc3cfa5,_0xfa088e),this[_0x1f6fe3(0x8b)](_0xc14386,_0x19b608,_0xc3cfa5,_0xb7610d);}[_0x4cee97(0x256)](_0x1c40cd,_0x7939d3,_0x10da07){const _0x5b94c8=_0x4cee97;var _0x2a029f;const _0x310b90=(_0x2a029f=this['_model'][_0x5b94c8(0x1d9)](_0x1c40cd))==null?void 0x0:_0x2a029f[_0x5b94c8(0x1d9)](_0x7939d3);if(_0x310b90)return _0x310b90[_0x5b94c8(0x1d9)](_0x10da07);}[_0x4cee97(0xd3)](_0x5acd87,_0xbed7b3){const _0x2da3b3=_0x4cee97,_0x260149=this[_0x2da3b3(0x12a)][_0x2da3b3(0x1d9)](_0x5acd87);if(_0x260149){for(const [_0x52210f,_0x58e402]of _0x260149[_0x2da3b3(0x10b)]())for(const [_0x2ef2b6,_0x2a1cb2]of _0x58e402[_0x2da3b3(0x10b)]())if(_0x2ef2b6===_0xbed7b3)return _0x2a1cb2[_0x2da3b3(0x1bb)];}}[_0x4cee97(0x2c4)](_0x287828,_0x575ee5,_0x7befa2){const _0xe74e0c=_0x4cee97,_0x1e3e2a=this[_0xe74e0c(0x256)](_0x287828,_0x575ee5,_0x7befa2);return _0x1e3e2a==null?void 0x0:_0x1e3e2a[_0xe74e0c(0x1bb)];}['getSubUnitPivotConfigs'](_0x4ede8a,_0x3581c9){const _0x5cf696=_0x4cee97;var _0x385780;return(_0x385780=this[_0x5cf696(0x12a)][_0x5cf696(0x1d9)](_0x4ede8a))==null?void 0x0:_0x385780['get'](_0x3581c9);}[_0x4cee97(0x1e5)](_0x20b371,_0x1381c6,_0x4b69fb,_0x1656b1){const _0x3d3d3f=_0x4cee97,_0x8a8a9a=this[_0x3d3d3f(0x23d)](_0x20b371,_0x1381c6);_0x1656b1?_0x8a8a9a['set'](_0x4b69fb,_0x1656b1):_0x8a8a9a[_0x3d3d3f(0x2c6)](_0x4b69fb),this['_pivotConfigChange$'][_0x3d3d3f(0x2b3)]({'unitId':_0x20b371,'subUnitId':_0x1381c6,'pivotTableId':_0x4b69fb,'pivotTableConfig':_0x1656b1});}[_0x4cee97(0xd9)](_0x127507,_0x485fc4){const _0x1b21ec=_0x4cee97;var _0x3ea1d9;return(_0x3ea1d9=this['_collectionConfigModel'][_0x1b21ec(0x1d9)](_0x127507))==null?void 0x0:_0x3ea1d9['collections'][_0x485fc4];}[_0x4cee97(0xee)](_0x557618,_0x4e7b10){const _0x407029=_0x4cee97;this[_0x407029(0x1a2)]['set'](_0x557618,_0x4e7b10),this['_configVersion$'][_0x407029(0x2b3)](Math[_0x407029(0x2ca)]());}[_0x4cee97(0x23d)](_0x140799,_0x21ad2b){const _0x5a0060=_0x4cee97;let _0x2ba18d=this[_0x5a0060(0x12a)][_0x5a0060(0x1d9)](_0x140799);_0x2ba18d||(_0x2ba18d=new Map(),this['_model']['set'](_0x140799,_0x2ba18d));let _0x1bc82a=_0x2ba18d[_0x5a0060(0x1d9)](_0x21ad2b);return _0x1bc82a||(_0x1bc82a=new Map(),_0x2ba18d[_0x5a0060(0xa8)](_0x21ad2b,_0x1bc82a)),_0x1bc82a;}[_0x4cee97(0x17d)](_0x4b8404,_0xeb34cc){const _0x2d72f5=_0x4cee97;let _0x2f0d0b=this[_0x2d72f5(0xa6)][_0x2d72f5(0x1d9)](_0x4b8404);_0x2f0d0b||(_0x2f0d0b=new Map(),this[_0x2d72f5(0xa6)][_0x2d72f5(0xa8)](_0x4b8404,_0x2f0d0b));let _0x57ae2d=_0x2f0d0b[_0x2d72f5(0x1d9)](_0xeb34cc);return _0x57ae2d||(_0x57ae2d=new Map(),_0x2f0d0b[_0x2d72f5(0xa8)](_0xeb34cc,_0x57ae2d)),_0x57ae2d;}['_ensurePivotTableMatrixInfo'](_0x2caf5d,_0x294185){const _0x29653b=_0x4cee97;let _0x219869=this[_0x29653b(0xfe)]['get'](_0x2caf5d);_0x219869||(_0x219869=new Map(),this['_pivotTableMatrixInfo'][_0x29653b(0xa8)](_0x2caf5d,_0x219869));let _0x27164e=_0x219869['get'](_0x294185);return _0x27164e||(_0x27164e=new Map(),_0x219869[_0x29653b(0xa8)](_0x294185,_0x27164e)),_0x27164e;}[_0x4cee97(0x8b)](_0x16ad0c,_0x80569b,_0x3a4acc,_0x3fcf81){const _0xbb0dbc=_0x4cee97;var _0x7b350a;const _0x5edb93=this[_0xbb0dbc(0x17d)](_0x16ad0c,_0x80569b),_0x105d92=(_0x7b350a=_0x5edb93[_0xbb0dbc(0x1d9)](_0x3a4acc))==null?void 0x0:_0x7b350a[_0xbb0dbc(0x1f6)];_0x5edb93['set'](_0x3a4acc,{'oldRangeInfo':_0x105d92,'rangeInfo':_0x3fcf81});}[_0x4cee97(0x297)](_0x27a1c3,_0xd59f9f,_0x3db298,_0x15c682){const _0x4af99b=_0x4cee97;var _0x163cdd;const _0x2759d5=this[_0x4af99b(0xcc)](_0x27a1c3,_0xd59f9f),_0xe20c41=(_0x163cdd=_0x2759d5[_0x4af99b(0x1d9)](_0x3db298))==null?void 0x0:_0x163cdd['oldMatrix'];_0x2759d5[_0x4af99b(0xa8)](_0x3db298,{'oldMatrix':_0xe20c41,'matrix':_0x15c682});}[_0x4cee97(0x249)](_0x208808,_0x200cd4,_0x53f0a4){const _0x3f1de6=_0x4cee97;var _0x4ae71e,_0x51266b;return(_0x51266b=(_0x4ae71e=this[_0x3f1de6(0xa6)][_0x3f1de6(0x1d9)](_0x208808))==null?void 0x0:_0x4ae71e[_0x3f1de6(0x1d9)](_0x200cd4))==null?void 0x0:_0x51266b[_0x3f1de6(0x1d9)](_0x53f0a4);}['getPivotTableMatrixInfo'](_0x3df0fa,_0x186caf,_0x485f01){const _0x13be8e=_0x4cee97;var _0x541480,_0x5b5297;return(_0x5b5297=(_0x541480=this[_0x13be8e(0xfe)][_0x13be8e(0x1d9)](_0x3df0fa))==null?void 0x0:_0x541480[_0x13be8e(0x1d9)](_0x186caf))==null?void 0x0:_0x5b5297[_0x13be8e(0x1d9)](_0x485f01);}[_0x4cee97(0x105)](_0x310dad){const _0x10c67d=_0x4cee97;this[_0x10c67d(0x12a)][_0x10c67d(0x2c6)](_0x310dad),this[_0x10c67d(0x1a2)]['delete'](_0x310dad);}['_toJSON'](_0x4a012f){const _0x14af43=_0x4cee97,_0x7ddd54={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x14af43(0x1a2)]['get'](_0x4a012f)&&(_0x7ddd54['dataFieldManagerConfig'][_0x4a012f]=this[_0x14af43(0x1a2)][_0x14af43(0x1d9)](_0x4a012f)),this[_0x14af43(0x12a)][_0x14af43(0x1d9)](_0x4a012f)){_0x7ddd54['pivotTableConfigs'][_0x4a012f]={};const _0x14731d=this['_model']['get'](_0x4a012f);_0x14731d!=null&&_0x14731d[_0x14af43(0x276)]&&[..._0x14731d[_0x14af43(0xf2)]()][_0x14af43(0x11b)](_0x570d1b=>{const _0x28e300=_0x14af43,_0x5b84ca=_0x14731d[_0x28e300(0x1d9)](_0x570d1b);_0x5b84ca!=null&&_0x5b84ca[_0x28e300(0x276)]&&(_0x7ddd54[_0x28e300(0x1ce)][_0x4a012f][_0x570d1b]={},[..._0x5b84ca[_0x28e300(0xf2)]()]['forEach'](_0x601dba=>{const _0x43c99b=_0x28e300,_0x5b1c75=_0x5b84ca[_0x43c99b(0x1d9)](_0x601dba);_0x5b1c75&&(_0x7ddd54[_0x43c99b(0x1ce)][_0x4a012f][_0x570d1b][_0x601dba]=_0x5b1c75);}));});}return _0x7ddd54;}[_0x4cee97(0x19a)](){const _0x358ae6=_0x4cee97;this[_0x358ae6(0x2c3)](this[_0x358ae6(0x2af)][_0x358ae6(0xaf)]({'toJson':_0x2d10df=>JSON['stringify'](this[_0x358ae6(0x238)](_0x2d10df)),'parseJson':_0x52af3e=>({}),'businesses':[_0x5de41e[_0x358ae6(0x1cf)]],'pluginName':ao,'onLoad':(_0x33aebd,_0x3aadd5)=>{},'onUnLoad':_0x456960=>{this['deleteUnitId'](_0x456960);}}));}};he=Ki([at(0x0,_0x4c00f1(_0xb8618)),at(0x1,_0x4c00f1(_0x209817)),at(0x2,_0x4c00f1(_0x29adac)),at(0x3,_0x4c00f1(_0x324e66)),at(0x4,_0x4c00f1(_0x3ff295))],he);var qi=Object[_0x4cee97(0x236)],Qi=(_0x2124bf,_0x474c2c,_0x3a3185,_0x3be9b8)=>{for(var _0x1c92f4=_0x3be9b8>0x1?void 0x0:_0x3be9b8?qi(_0x474c2c,_0x3a3185):_0x474c2c,_0x14d249=_0x2124bf['length']-0x1,_0x580b18;_0x14d249>=0x0;_0x14d249--)(_0x580b18=_0x2124bf[_0x14d249])&&(_0x1c92f4=_0x580b18(_0x1c92f4)||_0x1c92f4);return _0x1c92f4;},rt=(_0x214704,_0x5028d0)=>(_0x13fab9,_0x48a9fc)=>_0x5028d0(_0x13fab9,_0x48a9fc,_0x214704);let Ne=class extends _0x125de6{constructor(_0x412c76,_0x1f912d,_0x58f70f,_0x394a61,_0x3ab2dc){const _0xe2f7df=_0x4cee97;super(),O(this,'_pivotRenderInfoCache',new Map()),O(this,_0xe2f7df(0x129),new Map()),O(this,_0xe2f7df(0x230),new _0x563d8d()),O(this,'markDirty$',this[_0xe2f7df(0x230)][_0xe2f7df(0x18a)]()),O(this,'_viewUpdate$',new _0x563d8d()),O(this,_0xe2f7df(0x1ea),this[_0xe2f7df(0x76)][_0xe2f7df(0x18a)]()),O(this,_0xe2f7df(0x16b)),(this[_0xe2f7df(0x2d8)]=_0x412c76,this[_0xe2f7df(0x2e0)]=_0x1f912d,this[_0xe2f7df(0xef)]=_0x58f70f,this['_univerInstanceService']=_0x394a61,this[_0xe2f7df(0x1e1)]=_0x3ab2dc,this[_0xe2f7df(0xa1)](),this[_0xe2f7df(0x26c)]());}[_0x4cee97(0x26c)](){const _0x69f960=_0x4cee97;this[_0x69f960(0x2c3)](this['_univerInstanceService'][_0x69f960(0x150)](_0x5de41e[_0x69f960(0x1cf)])[_0x69f960(0x13b)](_0x32e257=>{const _0x21e43e=_0x69f960;this[_0x21e43e(0x105)](_0x32e257[_0x21e43e(0x235)]());}));}['_initLocale'](){const _0xb1bcc3=_0x4cee97;this['_textInfo']=fo(this[_0xb1bcc3(0x2e0)],Bo,'',{});}[_0x4cee97(0x166)](_0x28dd73){const _0x3bfad0=_0x4cee97,{view:_0x54c24b,unitId:_0x36b926,subUnitId:_0x36bd5c,pivotTableId:_0x447f4b,type:_0x380457}=_0x28dd73,_0x138b07=this[_0x3bfad0(0xef)][_0x3bfad0(0x256)](_0x36b926,_0x36bd5c,_0x447f4b);if(!_0x54c24b||!_0x138b07||_0x380457===G['Delete'])return;const {pageView:_0x5d4768,cornerView:_0x3bbe60,rowView:_0x125613,colView:_0x4135fa,dataView:_0x59501a}=_0x54c24b,_0x5b757e=_0x138b07[_0x3bfad0(0x1bb)],_0x2b76c6=_0x138b07[_0x3bfad0(0x2e9)],_0x4d0355=this[_0x3bfad0(0x13d)](_0x36b926,_0x36bd5c),_0x4a79e=this['_ensurePivotItemRenderInfoCache'](_0x36b926,_0x36bd5c,_0x447f4b);if(_0x2b76c6)return this['_updateRenderEmptyCache'](_0x28dd73,_0x4d0355,_0x5b757e,_0x4a79e);{const _0x2a1c83=ge(_0x5b757e,_0x5d4768,!0x0),_0x3947ef=_0x5d4768[_0x3bfad0(0x17f)]>=0x0?_0x5d4768[_0x3bfad0(0x17f)]+0x1:0x0,_0x2faec5=_0x3bbe60[_0x3bfad0(0x2b4)](),_0x31ff51=_0x3bbe60[_0x3bfad0(0x137)](),_0x35092d=_0x2a1c83[_0x3bfad0(0x29c)]>0x0?It:0x0,_0x4b6f7f=ge({'row':_0x5b757e[_0x3bfad0(0x28a)]+_0x3947ef+_0x35092d,'col':_0x5b757e['col']},_0x3bbe60,!0x1,!0x1),_0x49d5d2=ge({'row':_0x5b757e[_0x3bfad0(0x28a)]+_0x3947ef+_0x35092d+_0x2faec5,'col':_0x5b757e[_0x3bfad0(0x224)]},_0x125613,!0x1,!0x0),_0x3123b7=ge({'row':_0x5b757e[_0x3bfad0(0x28a)]+_0x3947ef+_0x35092d,'col':_0x5b757e[_0x3bfad0(0x224)]+_0x31ff51},_0x4135fa,!0x1,!0x0),_0x27098f=ge({'row':_0x5b757e[_0x3bfad0(0x28a)]+_0x3947ef+_0x35092d+_0x2faec5,'col':_0x5b757e[_0x3bfad0(0x224)]+_0x31ff51},_0x59501a,!0x1,!0x1);_0x4a79e['rangesInfo']={'rowRanges':_0x49d5d2,'colRanges':_0x3123b7,'cornerRanges':_0x4b6f7f,'dataRanges':_0x27098f,'pageRanges':_0x2a1c83};const _0x43b58c=yi(this['_injector'],_0x54c24b,_0x138b07,this[_0x3bfad0(0x16b)]),{valueMatrix:_0x43ce94,rowInfo:_0x3d7972,colInfo:_0x57e6c1,cornerInfo:_0x5448b7,rowHeaderMap:_0x2778e5,colHeaderMap:_0x448e1a}=_0x43b58c;return _0x4a79e[_0x3bfad0(0xdd)]={'rowInfo':_0x3d7972,'colInfo':_0x57e6c1,'cornerInfo':_0x5448b7},_0x4a79e[_0x3bfad0(0x264)]={'rowHeaderMap':_0x2778e5,'colHeaderMap':_0x448e1a},_0x43ce94['forEach']((_0x5ecf9e,_0x4f10ff)=>{const _0x221b5b=_0x3bfad0;Object[_0x221b5b(0xf2)](_0x4f10ff)['forEach'](_0x37b2e8=>{const _0x44b384=_0x221b5b,_0x450cfd=+_0x37b2e8,_0x21511c=_0x43ce94[_0x44b384(0x17b)](_0x5ecf9e,_0x450cfd);_0x4d0355[_0x44b384(0x2ea)](_0x5ecf9e,_0x450cfd,_0x21511c);});}),this[_0x3bfad0(0x76)][_0x3bfad0(0x2b3)]({'unitId':_0x36b926,'subUnitId':_0x36bd5c,'valueMatrix':_0x4d0355,'rangesCache':_0x4a79e[_0x3bfad0(0x13e)],'pivotTableId':_0x447f4b,'type':_0x28dd73['type']}),this[_0x3bfad0(0xef)]['updateViewInfo'](_0x36b926,_0x36bd5c,_0x447f4b,_0x4d0355,_0x4a79e[_0x3bfad0(0x13e)]),this[_0x3bfad0(0x1e1)][_0x3bfad0(0x21f)](_0x36b926,_0x36bd5c,kt,this[_0x3bfad0(0x1c8)](_0x4a79e[_0x3bfad0(0x13e)],_0x447f4b)),{'rangeCache':_0x4a79e['rangesInfo'],'matrix':_0x4d0355};}}[_0x4cee97(0x104)](_0x32aeb1,_0x1c3136,_0xe6ba,_0x1c6109){const _0x525abb=_0x4cee97,_0x10459d=this[_0x525abb(0x2d8)]['t'],{unitId:_0x5a05b7,subUnitId:_0x2cef6f,pivotTableId:_0x15db4d}=_0x32aeb1,_0x60866f={'filter':_0x10459d(_0x525abb(0xf4)),'row':_0x10459d(_0x525abb(0x25f)),'column':_0x10459d('sheets-pivot.emptyPivot.column'),'values':_0x10459d(_0x525abb(0xc7))},{matrixCache:_0x7abdd2,rangesCache:_0x360e40}=jo(_0x60866f,_0xe6ba);return _0x7abdd2['forValue']((_0x37355e,_0x4c5d6d,_0x3b7c64)=>{const _0x3e6989=_0x525abb;_0x1c3136[_0x3e6989(0x2ea)](_0x37355e,_0x4c5d6d,_0x3b7c64);}),_0x1c6109[_0x525abb(0x13e)]=_0x360e40,this[_0x525abb(0x76)]['next']({'unitId':_0x5a05b7,'subUnitId':_0x2cef6f,'valueMatrix':_0x1c3136,'rangesCache':_0x360e40,'pivotTableId':_0x15db4d,'type':_0x32aeb1[_0x525abb(0x19f)],'isEmpty':!0x0}),this[_0x525abb(0xef)][_0x525abb(0x22b)](_0x5a05b7,_0x2cef6f,_0x15db4d,_0x1c3136,_0x360e40),this[_0x525abb(0x1e1)][_0x525abb(0x21f)](_0x5a05b7,_0x2cef6f,kt,this[_0x525abb(0x1c8)](_0x360e40,_0x15db4d)),{'rangeCache':_0x1c6109[_0x525abb(0x13e)],'matrix':_0x1c3136};}['_createExclusiveRange'](_0x5d7faa,_0x167620){const _0x5c84e6=[],_0x233b4e=Gt(_0x5d7faa);for(const _0x29effa of _0x233b4e)_0x5c84e6['push']({'groupId':_0x167620,'range':_0x29effa});return _0x5c84e6;}[_0x4cee97(0xf5)](_0x6ab760){const _0xb10e17=_0x4cee97;var _0x235231,_0x373040,_0x2a0a56,_0x45cd2a;const {pivotTableId:_0x3b7471,unitId:_0x55fedd,subUnitId:_0x3d8009}=_0x6ab760;if(!_0x3b7471||!_0x55fedd||!_0x3d8009)return;const _0x58dba8=this[_0xb10e17(0x13d)](_0x55fedd,_0x3d8009),_0x281b69=(_0x373040=(_0x235231=this[_0xb10e17(0x207)]['get'](_0x55fedd))==null?void 0x0:_0x235231[_0xb10e17(0x1d9)](_0x3d8009))==null?void 0x0:_0x373040[_0xb10e17(0x1d9)](_0x3b7471);if(_0x281b69!=null&&_0x281b69['rangesInfo']){for(const _0x5bf625 of Object[_0xb10e17(0xf2)](_0x281b69[_0xb10e17(0x13e)]))_0x281b69['rangesInfo'][_0x5bf625][_0xb10e17(0x11b)](_0x3b983c=>{const _0x3ca00f=_0xb10e17;for(let _0x323b85=_0x3b983c['startRow'];_0x323b85<=_0x3b983c[_0x3ca00f(0x1ec)];_0x323b85++)for(let _0x52758d=_0x3b983c[_0x3ca00f(0x160)];_0x52758d<=_0x3b983c[_0x3ca00f(0x12e)];_0x52758d++)_0x58dba8[_0x3ca00f(0x10c)](_0x323b85,_0x52758d);});}_0x281b69&&((_0x45cd2a=(_0x2a0a56=this[_0xb10e17(0x207)][_0xb10e17(0x1d9)](_0x55fedd))==null?void 0x0:_0x2a0a56[_0xb10e17(0x1d9)](_0x3d8009))==null||_0x45cd2a[_0xb10e17(0x2c6)](_0x3b7471)),this[_0xb10e17(0x76)]['next']({'unitId':_0x55fedd,'subUnitId':_0x3d8009,'valueMatrix':_0x58dba8,'pivotTableId':_0x3b7471,'rangesCache':void 0x0,'type':_0x6ab760['type']}),this[_0xb10e17(0x1e1)][_0xb10e17(0x272)](_0x55fedd,_0x3d8009,kt,_0x3b7471);}[_0x4cee97(0x2b7)](_0x57c304,_0x1f4e9e,_0x1c8419){const _0xb717a6=_0x4cee97;var _0x5bddf7,_0x531040,_0x2f7518,_0x494dca,_0x162b30,_0x5ec16d;return this['_pivotRenderInfoCache'][_0xb717a6(0xfb)](_0x57c304)||this[_0xb717a6(0x207)][_0xb717a6(0xa8)](_0x57c304,new Map()),(_0x5bddf7=this[_0xb717a6(0x207)][_0xb717a6(0x1d9)](_0x57c304))!=null&&_0x5bddf7['has'](_0x1f4e9e)||(_0x531040=this['_pivotRenderInfoCache'][_0xb717a6(0x1d9)](_0x57c304))==null||_0x531040[_0xb717a6(0xa8)](_0x1f4e9e,new Map()),(_0x494dca=(_0x2f7518=this['_pivotRenderInfoCache']['get'](_0x57c304))==null?void 0x0:_0x2f7518[_0xb717a6(0x1d9)](_0x1f4e9e))!=null&&_0x494dca[_0xb717a6(0xfb)](_0x1c8419)||(_0x5ec16d=(_0x162b30=this[_0xb717a6(0x207)][_0xb717a6(0x1d9)](_0x57c304))==null?void 0x0:_0x162b30[_0xb717a6(0x1d9)](_0x1f4e9e))==null||_0x5ec16d[_0xb717a6(0xa8)](_0x1c8419,{}),this[_0xb717a6(0x207)][_0xb717a6(0x1d9)](_0x57c304)[_0xb717a6(0x1d9)](_0x1f4e9e)[_0xb717a6(0x1d9)](_0x1c8419);}[_0x4cee97(0x13d)](_0x2875ba,_0x33a2da){const _0x46bdb2=_0x4cee97;var _0x54c1eb,_0x38a8d9;return this[_0x46bdb2(0x129)][_0x46bdb2(0xfb)](_0x2875ba)||this[_0x46bdb2(0x129)]['set'](_0x2875ba,new Map()),(_0x54c1eb=this[_0x46bdb2(0x129)][_0x46bdb2(0x1d9)](_0x2875ba))!=null&&_0x54c1eb[_0x46bdb2(0xfb)](_0x33a2da)||(_0x38a8d9=this[_0x46bdb2(0x129)][_0x46bdb2(0x1d9)](_0x2875ba))==null||_0x38a8d9[_0x46bdb2(0xa8)](_0x33a2da,new _0x223fc9()),this[_0x46bdb2(0x129)][_0x46bdb2(0x1d9)](_0x2875ba)['get'](_0x33a2da);}[_0x4cee97(0x9a)](_0x37cc80,_0xffd462,_0xcfc265,_0x4d160c){const _0x365764=_0x4cee97;var _0x27bcd3,_0x1b891f;const _0x3faaec=(_0x1b891f=(_0x27bcd3=this[_0x365764(0x129)][_0x365764(0x1d9)](_0x37cc80))==null?void 0x0:_0x27bcd3['get'](_0xffd462))==null?void 0x0:_0x1b891f['getValue'](_0xcfc265,_0x4d160c);if(_0x3faaec!=null)return _0x3faaec;}[_0x4cee97(0x178)](_0x44bb1c,_0x401cdc,_0x29f014,_0x41f8fb){const _0x14cf6a=_0x4cee97;var _0x2072d1;const _0xe12965=_0x330834(_0x29f014,_0x41f8fb),_0x43d22b=(_0x2072d1=this['_pivotRenderInfoCache']['get'](_0x44bb1c))==null?void 0x0:_0x2072d1[_0x14cf6a(0x1d9)](_0x401cdc);return _0x43d22b?Array[_0x14cf6a(0x12f)](_0x43d22b[_0x14cf6a(0xf2)]())[_0x14cf6a(0x1f5)](_0x5bd085=>{const _0x2ec42d=_0x14cf6a,_0x48b65a=_0x43d22b[_0x2ec42d(0x1d9)](_0x5bd085),_0x2e0147=_0x48b65a==null?void 0x0:_0x48b65a['rangesInfo'];return _0x2e0147?Object[_0x2ec42d(0xf2)](_0x2e0147)['some'](_0x30a10d=>_0x2e0147[_0x30a10d]['some'](_0x4a875d=>_0x508b94['contains'](_0x4a875d,_0xe12965))):!0x1;}):void 0x0;}['getIntersectsPivotTable'](_0x4e2a6e,_0x49ec8b,_0xf6abb0){const _0x2ff0dc=_0x4cee97;var _0x3a8fcd;const _0x3d66cd=(_0x3a8fcd=this[_0x2ff0dc(0x207)][_0x2ff0dc(0x1d9)](_0x4e2a6e))==null?void 0x0:_0x3a8fcd['get'](_0x49ec8b),_0x389450=[];return _0x3d66cd&&Array[_0x2ff0dc(0x12f)](_0x3d66cd[_0x2ff0dc(0xf2)]())['forEach'](_0x192d21=>{const _0xbd2923=_0x2ff0dc,_0x47f6c8=_0x3d66cd[_0xbd2923(0x1d9)](_0x192d21),_0x2d7458=_0x47f6c8==null?void 0x0:_0x47f6c8[_0xbd2923(0x13e)];if(_0x2d7458)for(const _0x23b22b of Object[_0xbd2923(0x194)](_0x2d7458)){let _0x28f8af=!0x1;for(const _0x7e708f of _0x23b22b)if(_0x508b94[_0xbd2923(0x11d)](_0x7e708f,_0xf6abb0)){_0x389450[_0xbd2923(0x2a2)](_0x192d21),_0x28f8af=!0x0;break;}if(_0x28f8af)break;}}),_0x389450;}['getSubUnitPivotMatrix'](_0x513a0e,_0x50ce37){const _0x1d256f=_0x4cee97;var _0x26e2c3,_0x27446b;return(_0x27446b=(_0x26e2c3=this['_pivotRenderValueMatrixCache'][_0x1d256f(0x1d9)](_0x513a0e))==null?void 0x0:_0x26e2c3['get'](_0x50ce37))!=null?_0x27446b:new _0x223fc9();}[_0x4cee97(0x1ad)](_0xa764f4,_0x4a32d2){const _0x5a2274=_0x4cee97;var _0x1b2b15;return(_0x1b2b15=this[_0x5a2274(0x207)][_0x5a2274(0x1d9)](_0xa764f4))==null?void 0x0:_0x1b2b15[_0x5a2274(0x1d9)](_0x4a32d2);}[_0x4cee97(0x74)](_0x3cc523,_0x15d550,_0x11b559){const _0x1106a1=_0x4cee97;var _0x97d6d1,_0x4bfbc4;return(_0x4bfbc4=(_0x97d6d1=this[_0x1106a1(0x207)][_0x1106a1(0x1d9)](_0x3cc523))==null?void 0x0:_0x97d6d1[_0x1106a1(0x1d9)](_0x15d550))==null?void 0x0:_0x4bfbc4[_0x1106a1(0x1d9)](_0x11b559);}[_0x4cee97(0x105)](_0x938cc7){const _0x54f065=_0x4cee97;this[_0x54f065(0x207)][_0x54f065(0x2c6)](_0x938cc7),this[_0x54f065(0x129)]['delete'](_0x938cc7);}[_0x4cee97(0x1a6)](_0x4e4e61,_0x3d7f37){const _0x5c3783=_0x4cee97;this[_0x5c3783(0x230)][_0x5c3783(0x2b3)]({'unitId':_0x4e4e61,'subUnitId':_0x3d7f37});}};Ne=Qi([rt(0x0,_0x4c00f1(_0x18acb2)),rt(0x1,_0x4c00f1(_0xb8618)),rt(0x2,_0x4c00f1(he)),rt(0x3,_0x4c00f1(_0x29adac)),rt(0x4,_0x4c00f1(_0x3c2fc8))],Ne);var Yi=Object[_0x4cee97(0x236)],zi=(_0x69883f,_0x5c1c3b,_0x2fb842,_0x49f871)=>{const _0x5ec76d=_0x4cee97;for(var _0xc0c510=_0x49f871>0x1?void 0x0:_0x49f871?Yi(_0x5c1c3b,_0x2fb842):_0x5c1c3b,_0x3cbe56=_0x69883f[_0x5ec76d(0x29c)]-0x1,_0x400db6;_0x3cbe56>=0x0;_0x3cbe56--)(_0x400db6=_0x69883f[_0x3cbe56])&&(_0xc0c510=_0x400db6(_0xc0c510)||_0xc0c510);return _0xc0c510;},Mo=(_0x3e5624,_0x4f0d5f)=>(_0x40400c,_0xee87ae)=>_0x4f0d5f(_0x40400c,_0xee87ae,_0x3e5624);let ie=class extends _0x125de6{constructor(_0x207ea6,_0x168107){const _0x48fad8=_0x4cee97;super(),O(this,_0x48fad8(0xc2),new _0x459d4e({'PIVOT_PERFORM_CHECK':be})),O(this,'interceptor',new _0x2e278f({'PIVOT_MUTATION_GENERATE':$o})),(this[_0x48fad8(0x241)]=_0x207ea6,this[_0x48fad8(0x2dd)]=_0x168107,this[_0x48fad8(0x81)]());}[_0x4cee97(0x81)](){const _0x2b3621=_0x4cee97;this[_0x2b3621(0x1ab)]();}['getPivotPerformCheck'](_0x5bcf87){return this['asyncInterceptor']['fetchThroughAsyncInterceptors'](be)(!0x1,_0x5bcf87);}[_0x4cee97(0x1ab)](){const _0x1b0b5e=_0x4cee97;this[_0x1b0b5e(0x2c3)](this[_0x1b0b5e(0x241)][_0x1b0b5e(0x242)](_0x511f4b[_0x1b0b5e(0xb8)],{'priority':0xc8,'effect':_0x5d770d[_0x1b0b5e(0x90)]|_0x5d770d[_0x1b0b5e(0x29a)],'handler':(_0x2b41d9,_0x37d8a5,_0x1f07b3)=>{const _0x46f02=_0x1b0b5e,{row:_0x407c22,col:_0x7db73b,unitId:_0x507143,subUnitId:_0x3900ad,workbook:_0x216f69}=_0x37d8a5,_0x2da9b2=this[_0x46f02(0x2dd)][_0x46f02(0x9a)](_0x507143,_0x3900ad,_0x407c22,_0x7db73b);if(!_0x2da9b2)return _0x1f07b3(_0x2b41d9);const _0x53cdb1={..._0x2b41d9};(_0x2da9b2['v']||_0x2da9b2['v']===0x0)&&(_0x53cdb1['v']=_0x2da9b2['v']),_0x2da9b2['t']&&(_0x53cdb1['t']=_0x2da9b2['t']);const _0x5bfcb8=(typeof(_0x2b41d9==null?void 0x0:_0x2b41d9['s'])==_0x46f02(0x1b9)?_0x216f69[_0x46f02(0x120)]()['get'](_0x2b41d9==null?void 0x0:_0x2b41d9['s']):_0x2b41d9==null?void 0x0:_0x2b41d9['s'])||{},_0x4b9536=_0x216f69[_0x46f02(0x120)]()[_0x46f02(0x1d9)](_0x2da9b2['s']),_0x448d25={..._0x4b9536,..._0x5bfcb8};_0x4b9536!=null&&_0x4b9536['n']&&(_0x448d25['n']=_0x4b9536['n']);const _0x1cfb23=_0x216f69[_0x46f02(0x120)]()['setValue'](_0x448d25);return _0x53cdb1['s']=_0x1cfb23,(_0x2da9b2[_0x46f02(0x1b4)]===_0x3a17a7['Collapse']||_0x2da9b2[_0x46f02(0x1b4)]===_0x3a17a7[_0x46f02(0x2b9)])&&(_0x53cdb1[_0x46f02(0x263)]={},_0x53cdb1['fontRenderExtension'][_0x46f02(0x267)]=li),_0x1f07b3(_0x53cdb1);}}));}};ie=zi([Mo(0x0,_0x4c00f1(_0x48b3fd)),Mo(0x1,_0x4c00f1(Ne))],ie);function Nt(_0x3f4d53,_0x595e56){const _0x335323=_0x4cee97;switch(_0x595e56){case _0x15054a['Value']:return _0x3f4d53[_0x335323(0x1e8)];case _0x15054a[_0x335323(0x22d)]:return _0x3f4d53['filterFields'];case _0x15054a['Row']:return _0x3f4d53[_0x335323(0x102)];case _0x15054a['Column']:return _0x3f4d53[_0x335323(0x20a)];default:return[];}}function Je(_0x312e33,_0x34fb2e){const _0x1312c0=_0x4cee97;return _0x312e33[_0x1312c0(0x2a4)][_0x34fb2e]||_0x312e33[_0x1312c0(0xaa)][_0x34fb2e];}function Xi(_0x2a0735,_0x36ab11){const _0xdc1253=_0x4cee97,{area:_0x3b553d,fieldJson:_0x127443,index:_0x51d034}=_0x36ab11;_0x3b553d===_0x15054a[_0xdc1253(0x90)]?_0x2a0735[_0xdc1253(0x2a4)][_0x127443['id']]=_0x127443:_0x2a0735[_0xdc1253(0xaa)][_0x127443['id']]=_0x127443,Nt(_0x2a0735,_0x3b553d)[_0xdc1253(0x2b2)](_0x51d034,0x0,_0x127443['id']);}function Zi(_0x35a8e2,_0x24c9b9){const _0x40992b=_0x4cee97,{area:_0x42104c,fieldId:_0x29d50f,index:_0x40628b}=_0x24c9b9;_0x42104c===_0x15054a[_0x40992b(0x90)]?delete _0x35a8e2[_0x40992b(0x2a4)][_0x29d50f]:delete _0x35a8e2['dimension'][_0x29d50f],Nt(_0x35a8e2,_0x42104c)['splice'](_0x40628b,0x1);}function _0x599c(){const _0x3313c2=['sideEffectUpdateWorkerCache','getPivotTableRangeInfo','name','symbol','hasOwnProperty','resetPivotTable','getSheetBySheetId','paths','onQueryStart','pageStyle','floor','getFieldIds','_requestResolvers','getNoUsedDataFieldIds','getPivotTableConfig','COLUMN','_getAutoName','originTargetInfo','sheets-pivot.dateGroup.quarter','broadcastCollectionChange','getAutoDisplayNameFunction','deleteField','sheet.mutation.set-pivot-field-subtotal-type','sheets-pivot.emptyPivot.row','_commandService','getIndexesByPathStr','ManualFilter','fontRenderExtension','headerMap','_refRangeHandle','removeCollectionImp','leftOffset','some','_configVersion$','removeValueFilterInfo','isBottomTotal','_initUnitDisposed','bind','Grand\x20Total','needSameDeleteModel','pushUndoRedo','getName','clearExclusiveRangesByGroupId','sheet.mutation.update-pivot-table-source-range','sheets-pivot.grandTotal','_lifecycleService','size','getIntersects','397979EqzqVv','fetchThroughInterceptors','reduce','map','UpdateFieldPosition','45764gvelZV','getPivotDisplayConfig','Total','uniqueDataFieldName','updateFieldSourceInfo','subUnitId','shouldClear','_collectionChange$','GrandTotal','getFormatInfo','getCellMatrix','ResetPivotTable','toString','row','countNums','collection','contains','SHEET_PIVOT_EXCLUSIVE_ID','register','refreshGroupField','colHeaderMap','Subtotal','REF','getFormat','_univerInstanceService','query','updatePivotTableMatrixInfo','_updateModelCache','fromJSON','Style','_viewData$','length','isText','cornerStyle','Row','return\x20','onCommandExecuted','push','#FFFFFF','measure','parseInt','_featureCalculationManagerService','deepClone','sheets-pivot.countName','getMonth','UpdatePivotSource','iterateFieldDim','setDataRecordCount','sheets-pivot.cellDateGroupDisplay.yearMonthDate','getMatrixFromRunTimeData','_resourceManagerService','SetPivotSort','sheet.mutation.send-pivot-data-local','splice','next','getRowCount','_viewData','var','_ensurePivotItemRenderInfoCache','getPivotTableModelConfig','Expand','getformat','_sheetsPivotRpcService','SetSubtotalType','pivotConfigChange$','MIN_SAFE_INTEGER','limit\x20pivot','6CgZdgN','_dataSyncPrimaryController','SetPivotSetting','disposeWithMe','getTargetByPivotId','dispose','delete','getMatrixValue','_initGlobalComputed','getFieldCountByArea','random','sheets-pivot.stdDevpName','493176nYZQDF','panel','setRangeValueUndoMutation','handleSourceRangeChange','sheets-pivot.countNumsName','lastCol','updateView','_subjectFieldsCollectionChange','min','defineProperty','_deletePivotTableInstanceCache','_initCommandInterceptListener','_localeService','ptn','sheets-pivot.config','SetCollapse','sheet.command.set-pivot-sort','_sheetsPivotTableAdaptorModel','getOriginFieldId','displayName','_injector','valid','pushComputingStatusSubject','number','sortInfo','_initRegisterCommand','notExecuteFormula','initDataRanges','sheetName','isEmpty','setValue','_sheetsSelectionsService','#f4f4f5','SetValuePivotFilter','result','#b2b2b2','135eGoyIg','_initPivotDataGetListener','_sheetsPivotTableService','getDataFieldManager','Date','getDisplayName','executeCommand','YearQuarter','getPivotItemRenderInfoCache','range','_viewUpdate$','substring','dataFieldId','tableFieldId','getConfig','addFieldWithSourceId','sheet.mutation.get-pivot-data-local','addField','_initDataSendListener','dateType','sheet.command.set-pivot-fields-config','_init','rowCount','_deleteModelCache','\x20-\x20','sheet.mutation.add-pivot-field','params','column','updatePivotSource','sheets-pivot.dateGroup.date','updateViewData','updatePivotTableRangeInfo','colStyle','fields','split','filterInfo','Value','sheet.command.add-pivot-field','sheets-pivot.maxName','sheets-pivot.cellDateGroupDisplay.date','replace','getDataFieldByDataFieldId','addPivotTable','concat','RemoveField','startRow','getPivotTableCellData','sheets-pivot.cellDateGroupDisplay.yearQuarter','getColumnWidth','Existing','#1d32e9','removeCollections','average','_initLocale','UpdateValuePosition','resetArea','formJSON','getPivotDirtyViewInfo','_pivotTableRangeInfo','setOptions','set','count','dimension','getCurrentSelections','getLastRow','drillDown','_subjectCollectionChange','registerPluginResource','Panel','setName','rgb(255,255,255)','batch','addDirtyPivotTable','YearMonth','DrillDown','None','CELL_CONTENT','document','getFieldInfo','movePivotField','addPivotField','Values','sheets-pivot.varpName','SetSortInfo','dataStyle','custom','asyncInterceptor','renameField','toJSON','createCollectionWithDataRange','_configService','sheets-pivot.emptyPivot.values','getValueFilterInfos','updateDirtyPivotTable','sourceRangeInfo','getColumnCount','_ensurePivotTableMatrixInfo','SetFilterInfo','NAME','Varp\x20of\x20','setTextInfo','minDate','Max\x20of\x20','getTargetByPivotTableId','_fieldsCollectionChange$','new','configVersion$','removeField','stdDev','getCollection','pivotTableId','token','2785730tBNaFF','areaInfo','refreshData','sheet.command.update-pivot-table-source-range','viewData$','undos','sheet.mutation.set-pivot-filter','removePivotField','versions','sheets-pivot.dateGroup.yearMonthDate','_refRangeService','prototype','NORMAL','_dataFieldManagerCollection','dataFields','RenameField','getLastCol','_host','updateCollectionConfig','_sheetsPivotTableConfigModel','getRangeKey','blank','keys','New','sheets-pivot.emptyPivot.filter','clearRenderCache','addCollection','registerCallbackWithEvent','fetchThroughAsyncInterceptors','startCollectChangeset','message','has','version','sheets-pivot.value','_pivotTableMatrixInfo','setPivotTableConfig','NUMBER','getDate','rowFields','originalFieldId','_updateRenderEmptyCache','deleteUnitId','setValueFilterInfo','Count\x20of\x20','getAutoFitColumnsMutations','462SxJxFz','charCodeAt','entries','realDeleteValue','Minute','_globalSubject','9286UWlthJ','data','Delete','getSheetBySheetName','varp','UpdateSource','Sum\x20of\x20','AddPivotTableWithConfig','sheets-pivot.dateGroup.month','setValuePivotFilter','getDirtyInfo','Div0','forEach','existing','intersects','format','setLabelFilterInfo','getStyles','Average\x20of\x20','_pivotTableInstanceCache','SetPivotCollapse','subtotal','getCurrentUnitForType','ΣValue','body','FORCE_STRING','_pivotRenderValueMatrixCache','_model','SetOptions','colRanges','setPivotFilter','endColumn','from','tuple','isArray','Month','workbook\x20is\x20not\x20found','filter','handleMoveRange','sheet.command.remove-pivot-field','getColCount','sheets-pivot.sumName','getTableFieldById','sheets-pivot.blank','subscribe','_pivotInitCompleted$','_ensurePivotItemRenderValueMatrixCache','rangesInfo','sheet.mutation.set-pivot-value-filter','removeSourceRangeChange','matrix','getPivotTableInstance','sheet.mutation.rename-pivot-field','sheet.mutation.remove-pivot-table','maxDate','_initConfig','15672KPHoDs','getSheetId','Var\x20of\x20','refreshDataField','updateDataFieldsCollection','generateMutationsByRanges','sheets-pivot.stdDevName','getUnit','StdDev\x20of\x20','getTypeOfUnitDisposed$','NUM','_activeDirtyManagerService','(Blank)','115jiixNb','isValue','fieldsConfig','_initPivotTextInfo','getSheets','getUpdateRangeDeleteIds','setConfig','MUTATION','colInfo','getFullYear','disposableCollection','width','startColumn','_subjectViewChange','Quarter','parse','Year','sheets-pivot.dateGroup.hourMinute','updateRenderCache','triggerDirtyFeature','sheets-pivot.dateGroup.monthDate','updateValuePosition','_pivotConfigChange$','_textInfo','sheet.mutation.add-group-collection','unitId','sheet.mutation.set-pivot-sort-info','sheet.command.add-pivot-table','collectionChange$','setRangeKeyMap','sheets-pivot.dateGroup.year','redos','slice','sheets-pivot.dateGroup.hour','fieldId','SetPivotTableConfig','getPivotTableIdByCell','registerDirtyService','sheet.mutation.send-init-pivot-text-local','getValue','SHEET_PIVOT_IN_MAIN_THREAD','_ensurePivotTableRangeInfo','rangeKeyMap','lastRow','HourMinute','RemovePivotField','getInterceptPoints','object','generateNewSheetName','sheets.tabs.sheet','sheets-pivot.subTotal','reset','getCellRaw','getFieldFormat','asObservable','single','rangeKey','iterateFieldByArea','sum','sheets-pivot.minName','Add','sheets-pivot.cellDateGroupDisplay.hour','prefix','fieldsCollectionChange$','values','Column','getDataFieldBySourceName','queryDirtyPivotTable','rgb(240,241,243)','collectionConfig','_initSnapshot','setRange','Set','getRangeStartEndInfo','GwNyoOLN\x20cEyTfHoOLN(xOyENuE,\x20HwsxOydEf)\x20{\x20\x20\x20\x20oTf\x20{\x20\x20\x20\x20\x20\x20\x20\x20yLNuo\x20xOyENuE9NGLKeToJTTef\x20=\x20xOyENuE.uHxOo(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20yLNuo\x20LTOkONAEuuekE\x20=\x20bram.HeTuE(eoLs(xOyENuE9NGLKeToJTTef[I]));\x20\x20\x20\x20\x20\x20\x20\x20OG\x20(!LTOkONAEuuekE.wc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LTOkONAEuuekE.wc\x20=\x20mwQsET(xOyENuE9NGLKeToJTTef[B]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yLNuo\x20OuYLT7ET\x20=\x20ofHELG\x20YLT7ETVxLsexryLHE\x20!==\x20\x27wNcEGONEc\x27\x20&&\x20uExG\x20ONuoeNyELG\x20YLT7ETVxLsexryLHE;\x20\x20\x20\x20\x20\x20\x20\x20yLNuo\x20yLNoE8o\x20=\x20OuYLT7ET\x20?\x20uExG\x20:\x205ONcL5;\x20\x20\x20\x20\x20\x20\x20\x20yLNuo\x20QEuuekEYLTc\x20=\x20yLNoE8o.__neuEvB__.HeTuE(xOyENuE9NGLKeToJTTef[I]);\x20\x20\x20\x20\x20\x20\x20\x20yLNuo\x20QEuuekE\x20=\x20yLNoE8o.__gE8__.uoTONkOGf(QEuuekEYLTc);\x20\x20\x20\x20\x20\x20\x20\x20yLNuo\x20uOkNeowTEYLTc\x20=\x20yLNoE8o.__neuEvB__.HeTuE(xOyENuE9NGLKeToJTTef[C]);\x20\x20\x20\x20\x20\x20\x20\x20yLNuo\x20uOkNeowTE\x20=\x20yLNoE8o.__gE8__.uoTONkOGf(uOkNeowTEYLTc);\x20\x20\x20\x20\x20\x20\x20\x20yLNuo\x20uOkNFexOc\x20=\x20yLNoE8o.__PETOGf__(uOkNeowTE,\x20QEuuekE,\x20HwsxOydEf);\x20\x20\x20\x20\x20\x20\x20\x20yLNuo\x20cLQeON\x20=\x20LTOkONAEuuekE.cQ;\x20\x20\x20\x20\x20\x20\x20\x20GwNyoOLN\x20OuiLQeONAeoy0ONk(LKeooETN,\x20LgLuo)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yLNuo\x20HeooETN\x20=\x20LKeooETN.TEHxeyE(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yLNuo\x200Luo\x20=\x20LgLuo.TEHxeyE(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yLNuo\x20HeooETNKeTou\x20=\x20HeooETN.uHxOo(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yLNuo\x200LuoKeTou\x20=\x200Luo.uHxOo(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OG\x20(!HeooETN.ONyxwcEu(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TEowTN\x20HeooETN\x20===\x200Luo;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OG\x20(HeooETNKeTou.xENko0\x20<\x20I\x20||\x20HeooETNKeTou[h]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TEowTN\x20GexuE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yLNuo\x20HeooETNrwGGO8\x20=\x20HeooETNKeTou.uxOyE(l).4LON(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yLNuo\x200LuorwGGO8\x20=\x200LuoKeTou.uxOyE(-HeooETNKeTou.xENko0\x20+\x20l).4LON(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TEowTN\x20HeooETNrwGGO8\x20===\x200LuorwGGO8;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20xEo\x20cLQeONFexOc\x20=\x20(cLQeON\x20&&\x20cLQeON.xENko0)\x20?\x20cLQeON.uLQE((cQ9oEQ)\x20=>\x20OuiLQeONAeoy0ONk(cQ9oEQ,\x20xLyeoOLN.0LuoNeQE))\x20:\x20oTwE;\x20\x20\x20\x20\x20\x20\x20\x20OG\x20(xLyeoOLN.0LuoNeQE\x20===\x20\x27xLyex0Luo\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cLQeONFexOc\x20=\x20oTwE;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yLNuo\x20PexOc\x20=\x20uOkNFexOc\x20&&\x20cLQeONFexOc;\x20\x20\x20\x20\x20\x20\x20\x20TEowTN\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PexOc,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QEuuekE:\x20LTOkONAEuuekE,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20yeoy0\x20(ETTLT)\x20{\x20\x20\x20\x20\x20\x20\x20\x20TEowTN\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PexOc:\x20GexuE,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QEuuekE:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','type','pivotInitCompleted$','stdDevp','_collectionConfigModel','grandTotal','getFilterInfo','addPivotTableWithConfig','markDirty','setPivotCollapse','_initClearSelectionCommandInterceptor','_ensureViewDataMap','getHeaderMapItem','_initViewModelBySheetInterceptor','setPivotTable','getSubUnitPivotRenderCache','fieldIds','getValueIndex','sheets-pivot.dateGroup.yearMonth','sheet.mutation.remove-pivot-field','sheet.command.pivot-drill-down','sheets-pivot.cellDateGroupDisplay.yearMonth','pbt','unshift','_initRemoveSheetCommandInterceptor','getRefRangeMutationsByMoveRange','_globalComputingSrv','string','_getPivotAppliedRanges','targetCellInfo','removePivotTable','colCount','72jfwXKR','stringify','sheets-pivot.productName','getSourceName','_globalComputedStartHelpFunc','cornerInfo','getValuePosition','deleteDataField','sheets-pivot.dateGroup.yearQuarter','addDataFieldWithoutUnitInfo','_createExclusiveRange','getFieldById','setSortInfo','sheet.mutation.remove-group-collection','subTotalStyle','getId','pivotTableConfigs','UNIVER_SHEET','sheets-pivot.varName','setFieldFormat','pageRanges','sheet.command.move-pivot-table','sourceName','getSubtotal','_globalComputedEndHelpFunc','sheet.mutation.pivot-update-field-position','_onRefRangeChange','get','sheet.mutation.set-pivot-position','sheet.mutation.pivot-update-value-position','iterateField','sheets-pivot.averageName','setRangeValueRedoMutation','COMMAND','4284959RFBlSc','_exclusiveRangeService','getTextSize','NotNumber','StdDevp\x20of\x20','updateConfigCache','interceptor','getDataFieldByTableId','valueFields','MAX_SAFE_INTEGER','viewUpdate$','_config','endRow','getTextInfo','rangeCache','info','onStarting','BadReference','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','Hour','NO_COMMERCIAL','find','oldRangeInfo','call','cornerRanges','value','forRow','pivotTableIndexConfig','getRangeKeyList','PIVOT_MUTATION_GENERATE','addCollectionByJSON','error','YearMonthDate','updateRangeKeyMap','SetFieldFormat','foreach','sheet.mutation.send-pivot-view-local','getFieldDataType','_generateUniqueVersion','_pivotRenderInfoCache','getMatrix','addRecord','columnFields','max','getFieldPositionInfoById','setDisplayName','AddPivotField','options','adjustSheetCellData','sheet.operation.pivot-table-view-formula-mark-dirty','updateConfig','getSortInfo','sheet.command.add-pivot-table-with-config','rowRanges','setPivotSort','valueIndex','getSubUnitPivotConfigs','removeValueFilterInfoByValueFieldId','_queryingMap','isColMultiMeasure','rowInfo','setSourceName','getDataFieldByRangeKey','addExclusiveRange','endCollectChangeset','add','getGroupFieldsInfoByIds','rangeType','col','AddPivotTable','getDataFieldId','collections','createDataFieldId','updateAllDisplayName','level','updateViewInfo','dataRangeInfo','Filter','handleAsyncResponse','update','_markDirty$','sheets-pivot.cellDateGroupDisplay.month','setCollapse','collapseInfo','STRING','getUnitId','getOwnPropertyDescriptor','dataFieldsCollection','_toJSON','DIV_BY_ZERO','product','_sheetsPivotDataSourceModel','setPivotInitCompleted','_ensurePivotMap','sheet.command.update-date-group','Product\x20of\x20','forValue','_sheetInterceptorService','intercept','setPivotSetting','getDataFieldItemInfo','setSubtotalType','SetPivotFilter','valueFilter'];_0x599c=function(){return _0x3313c2;};return _0x599c();}function es(_0x134104,_0x105acc){const _0x1b87bd=_0x4cee97,{fieldId:_0x2b0b8b,name:_0x163006}=_0x105acc,_0x177119=Je(_0x134104,_0x2b0b8b);_0x177119&&(_0x177119[_0x1b87bd(0x2df)]=_0x163006);}function ts(_0x12cc1c,_0x4721f9){const _0x252760=_0x4cee97,{fieldId:_0x497fd1,collapse:_0x33a68c,item:_0x1467c7}=_0x4721f9;_0x1467c7!==void 0x0?(_0x12cc1c[_0x252760(0x233)][_0x497fd1]=_0x12cc1c[_0x252760(0x233)][_0x497fd1]||{},_0x12cc1c[_0x252760(0x233)][_0x497fd1][_0x1467c7]=_0x33a68c):_0x12cc1c[_0x252760(0x233)][_0x497fd1]=_0x33a68c;}function os(_0x4ec4db,_0x22e25f){const _0x27b3be=_0x4cee97,{fieldId:_0x26a764,format:_0x329c36}=_0x22e25f,_0x15e5ce=Je(_0x4ec4db,_0x26a764);_0x15e5ce&&(_0x15e5ce[_0x27b3be(0x11e)]=_0x329c36);}function ns(_0x1d75a7,_0x5e33e8){const _0x25dfa9=_0x4cee97,{fieldId:_0x183fbb,filterInfo:_0x5d534f}=_0x5e33e8,_0x1d5fb2=Je(_0x1d75a7,_0x183fbb);_0x1d5fb2&&(_0x1d5fb2[_0x25dfa9(0x8f)]=_0x5d534f);}function is(_0x2109c4,_0x33d236){const _0x290fe7=_0x4cee97,{fieldId:_0x378ce7,filterInfo:_0x597f61}=_0x33d236,_0x132ed5=_0x2109c4[_0x290fe7(0x247)][_0x290fe7(0x134)](_0x56a594=>_0x56a594[_0x290fe7(0x176)]!==_0x378ce7);_0x597f61&&_0x132ed5[_0x290fe7(0x2a2)]({'fieldId':_0x378ce7,'filterInfo':_0x597f61}),_0x2109c4[_0x290fe7(0x247)]=_0x132ed5;}function ss(_0x41c9bb,_0x53cba6){const {fieldId:_0x54d5ab,subtotalType:_0x28a28c}=_0x53cba6,_0x1e816e=Je(_0x41c9bb,_0x54d5ab);_0x1e816e&&(_0x1e816e['subtotal']=_0x28a28c);}function as(_0x50d5a1,_0x25ceae){const _0x547838=_0x4cee97,{fieldId:_0xd7325f,oldArea:_0x22fcb4,area:_0x52d7cf,oldIndex:_0x2bd35b,index:_0x42c509}=_0x25ceae,_0x534915=_0x22fcb4!==_0x15054a['Value']&&_0x52d7cf===_0x15054a[_0x547838(0x90)],_0x239429=_0x22fcb4===_0x15054a[_0x547838(0x90)]&&_0x52d7cf!==_0x15054a[_0x547838(0x90)];if(_0x534915||_0x239429){const _0x3cad66=Je(_0x50d5a1,_0xd7325f);_0x3cad66&&(_0x534915?(delete _0x50d5a1['dimension'][_0xd7325f],_0x50d5a1[_0x547838(0x2a4)][_0xd7325f]=_0x3cad66):(delete _0x50d5a1[_0x547838(0x2a4)][_0xd7325f],_0x50d5a1[_0x547838(0xaa)][_0xd7325f]=_0x3cad66));}const _0x3546b5=Nt(_0x50d5a1,_0x22fcb4),_0xaf4122=Nt(_0x50d5a1,_0x52d7cf);_0x3546b5['splice'](_0x2bd35b,0x1),_0xaf4122[_0x547838(0x2b2)](_0x42c509,0x0,_0xd7325f);}function rs(_0x56e65e,_0x556afe){const {valuePosition:_0x1df4d9,index:_0x39b334}=_0x556afe;_0x56e65e['valuePosition']=_0x1df4d9,_0x56e65e['valueIndex']=_0x39b334;}function ls(_0x55278a,_0x36a83d){const _0x169574=_0x4cee97,{tableFieldId:_0x476572,sourceName:_0x145a6c,dataFieldId:_0x5da22f}=_0x36a83d,_0x2127f3=Je(_0x55278a,_0x476572);_0x2127f3&&(_0x2127f3[_0x169574(0x1d4)]=_0x145a6c,_0x2127f3[_0x169574(0x78)]=_0x5da22f);}function cs(_0x15c732,_0x3d5287){const _0x53c310=_0x4cee97,{fieldId:_0x76603f,sortInfo:_0x54bf81}=_0x3d5287,_0x513ebf=Je(_0x15c732,_0x76603f);_0x513ebf&&(_0x513ebf[_0x53c310(0x2e4)]=_0x54bf81);}function ds(_0x51f7ed,_0x2a210c){const _0x3c4139=_0x4cee97,{options:_0x3cdcfe}=_0x2a210c;_0x51f7ed[_0x3c4139(0x20f)]={..._0x51f7ed[_0x3c4139(0x20f)],..._0x3cdcfe};}const $t={'type':_0x49026b['MUTATION'],'id':_0x4cee97(0x85),'handler'(_0x5b4a6a,_0x3237b7){const _0x25cf5a=_0x4cee97;if(!_0x3237b7)return!0x1;if(!!_0x5b4a6a[_0x25cf5a(0x1d9)](_0x3ff295)[_0x25cf5a(0x7a)](q))return!0x0;const _0x2237bf=_0x5b4a6a[_0x25cf5a(0x1d9)]($),{pivotTableId:_0x3f74b6,fieldJson:_0x35e067,area:_0x25f577,index:_0x392563,unitId:_0x5cd9fd,subUnitId:_0x2e5481}=_0x3237b7,_0x185063=_0x2237bf[_0x25cf5a(0x142)](_0x3f74b6);if(!_0x185063)return!0x1;let _0x32660f;_0x25f577===_0x15054a['Value']?_0x32660f=_0x209915(_0x35e067):_0x32660f=_0x272b60(_0x35e067),_0x185063[_0x25cf5a(0x7d)](_0x32660f,_0x25f577,_0x392563);const _0x242d94=_0x2237bf[_0x25cf5a(0x2b8)](_0x5cd9fd,_0x2e5481,_0x3f74b6);Xi(_0x242d94,_0x3237b7);const _0x13c41c=_0x2237bf[_0x25cf5a(0x256)](_0x5cd9fd,_0x2e5481,_0x3f74b6);return _0x2237bf[_0x25cf5a(0xb4)]({'unitId':_0x5cd9fd,'subUnitId':_0x2e5481,'token':_0x3f74b6,'type':G['Set'],'pivotConfig':_0x13c41c}),!0x0;}},Jt={'type':_0x49026b[_0x4cee97(0x15b)],'id':_0x4cee97(0x1b1),'handler'(_0x4dc515,_0x5b5f1e){const _0x387b69=_0x4cee97;if(!_0x5b5f1e)return!0x1;if(!!_0x4dc515['get'](_0x3ff295)[_0x387b69(0x7a)](q))return!0x0;const _0xc3a685=_0x4dc515[_0x387b69(0x1d9)]($),{pivotTableId:_0x2be84c,fieldId:_0x358645,unitId:_0x4c58a6,subUnitId:_0x38d7bf}=_0x5b5f1e,_0x4d845a=_0xc3a685[_0x387b69(0x142)](_0x2be84c);if(!_0x4d845a)return!0x1;_0x4d845a[_0x387b69(0xd7)](_0x358645);const _0x376b1a=_0xc3a685[_0x387b69(0x2b8)](_0x4c58a6,_0x38d7bf,_0x2be84c);Zi(_0x376b1a,_0x5b5f1e);const _0x4f3a82=_0xc3a685[_0x387b69(0x256)](_0x4c58a6,_0x38d7bf,_0x2be84c);return _0xc3a685['addDirtyPivotTable']({'unitId':_0x4c58a6,'subUnitId':_0x38d7bf,'token':_0x2be84c,'type':G[_0x387b69(0x19c)],'pivotConfig':_0x4f3a82}),!0x0;}},Wt={'type':_0x49026b[_0x4cee97(0x15b)],'id':_0x4cee97(0x143),'handler'(_0x505724,_0x5adfda){const _0x3575f5=_0x4cee97;if(!_0x5adfda)return!0x1;if(!!_0x505724['get'](_0x3ff295)['getConfig'](q))return!0x0;const _0x1a3227=_0x505724[_0x3575f5(0x1d9)]($),{unitId:_0x1d6dcf,subUnitId:_0x104ff3,pivotTableId:_0x3d882a,fieldId:_0xa9e8b5,name:_0x1ccfb4}=_0x5adfda,_0x1d2044=_0x1a3227[_0x3575f5(0x142)](_0x3d882a);if(!_0x1d2044)return!0x1;_0x1d2044[_0x3575f5(0xc3)](_0xa9e8b5,_0x1ccfb4);const _0x4e0f4e=_0x1a3227[_0x3575f5(0x2b8)](_0x1d6dcf,_0x104ff3,_0x3d882a);return es(_0x4e0f4e,_0x5adfda),_0x1a3227['addDirtyPivotTable']({'unitId':_0x1d6dcf,'subUnitId':_0x104ff3,'token':_0x3d882a,'type':G[_0x3575f5(0x19c)]}),!0x0;}},jt={'type':_0x49026b[_0x4cee97(0x15b)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x1dbfbe,_0x414f19){const _0x8c1bb0=_0x4cee97;if(!_0x414f19)return!0x1;if(!!_0x1dbfbe['get'](_0x3ff295)['getConfig'](q))return!0x0;const _0x4f3f65=_0x1dbfbe[_0x8c1bb0(0x1d9)]($),{unitId:_0x1f4d6e,subUnitId:_0x47e6ae,pivotTableId:_0x86081b,fieldId:_0x5ca146,collapse:_0x4ccfc2,item:_0x44312c}=_0x414f19,_0x132af5=_0x4f3f65[_0x8c1bb0(0x142)](_0x86081b);if(!_0x132af5)return!0x1;_0x132af5[_0x8c1bb0(0x232)](_0x5ca146,_0x4ccfc2,_0x44312c);const _0x26bc79=_0x4f3f65[_0x8c1bb0(0x2b8)](_0x1f4d6e,_0x47e6ae,_0x86081b);return ts(_0x26bc79,_0x414f19),_0x4f3f65[_0x8c1bb0(0xb4)]({'unitId':_0x1f4d6e,'subUnitId':_0x47e6ae,'token':_0x86081b,'type':G[_0x8c1bb0(0x19c)]}),!0x0;}},Ht={'type':_0x49026b[_0x4cee97(0x15b)],'id':'sheet.mutation.set-pivot-format','handler'(_0x497199,_0x7bdb5d){const _0x5e5da1=_0x4cee97;if(!_0x7bdb5d)return!0x1;if(!!_0x497199[_0x5e5da1(0x1d9)](_0x3ff295)['getConfig'](q))return!0x0;const _0x49f707=_0x497199['get']($),{unitId:_0x4f4e80,subUnitId:_0x3901a7,pivotTableId:_0x1cd084,fieldId:_0x52eda1,format:_0x1b8219}=_0x7bdb5d,_0x3e1a72=_0x49f707[_0x5e5da1(0x142)](_0x1cd084);if(!_0x3e1a72)return!0x1;_0x3e1a72[_0x5e5da1(0x1d1)](_0x52eda1,_0x1b8219);const _0x5f4de5=_0x49f707[_0x5e5da1(0x2b8)](_0x4f4e80,_0x3901a7,_0x1cd084);return os(_0x5f4de5,_0x7bdb5d),_0x49f707[_0x5e5da1(0xb4)]({'unitId':_0x4f4e80,'subUnitId':_0x3901a7,'token':_0x1cd084,'type':G[_0x5e5da1(0x19c)]}),!0x0;}},Kt={'type':_0x49026b[_0x4cee97(0x15b)],'id':_0x4cee97(0xe2),'handler'(_0x626a3f,_0x207430){const _0x4d20eb=_0x4cee97;if(!_0x207430)return!0x1;if(!!_0x626a3f[_0x4d20eb(0x1d9)](_0x3ff295)[_0x4d20eb(0x7a)](q))return!0x0;const _0x336137=_0x626a3f[_0x4d20eb(0x1d9)]($),{unitId:_0x502803,subUnitId:_0x2a17bf,pivotTableId:_0x1dd965,fieldId:_0x1c4b9f,filterInfo:_0x27904d}=_0x207430,_0x458899=_0x336137['getPivotTableInstance'](_0x1dd965);if(!_0x458899)return!0x1;_0x458899[_0x4d20eb(0x11f)](_0x1c4b9f,_0x27904d);const _0x4f853b=_0x336137['getPivotTableModelConfig'](_0x502803,_0x2a17bf,_0x1dd965);return ns(_0x4f853b,_0x207430),_0x336137[_0x4d20eb(0xb4)]({'unitId':_0x502803,'subUnitId':_0x2a17bf,'token':_0x1dd965,'type':G[_0x4d20eb(0x19c)]}),!0x0;}},qt={'type':_0x49026b['MUTATION'],'id':'sheet.mutation.set-pivot-option','handler'(_0x44ee46,_0x535fc7){const _0x5c1d6b=_0x4cee97;if(!_0x535fc7)return!0x1;if(!!_0x44ee46[_0x5c1d6b(0x1d9)](_0x3ff295)['getConfig'](q))return!0x0;const _0x501173=_0x44ee46[_0x5c1d6b(0x1d9)]($),{unitId:_0x189b1d,subUnitId:_0x5d43bf,pivotTableId:_0x479cd9,options:_0x40d8c7}=_0x535fc7,_0x532e02=_0x501173[_0x5c1d6b(0x142)](_0x479cd9);if(!_0x532e02)return!0x1;_0x532e02[_0x5c1d6b(0xa7)](_0x40d8c7);const _0xcdd067=_0x501173[_0x5c1d6b(0x2b8)](_0x189b1d,_0x5d43bf,_0x479cd9);return ds(_0xcdd067,_0x535fc7),_0x501173['addDirtyPivotTable']({'unitId':_0x189b1d,'subUnitId':_0x5d43bf,'token':_0x479cd9,'type':G[_0x5c1d6b(0x19c)]}),!0x0;}},Qt={'type':_0x49026b['MUTATION'],'id':_0x4cee97(0x16e),'handler'(_0x35e5f3,_0x94e6e0){const _0xea66a2=_0x4cee97;if(!_0x94e6e0)return!0x1;if(!!_0x35e5f3['get'](_0x3ff295)[_0xea66a2(0x7a)](q))return!0x0;const _0x18fe52=_0x35e5f3[_0xea66a2(0x1d9)]($),{unitId:_0x5ea855,subUnitId:_0x3a195c,pivotTableId:_0x42a7c5,sortInfo:_0x3e775b,fieldId:_0x499e7c}=_0x94e6e0,_0x264dbf=_0x18fe52['getPivotTableInstance'](_0x42a7c5);if(!_0x264dbf)return!0x1;_0x264dbf[_0xea66a2(0x1ca)](_0x499e7c,_0x3e775b);const _0x34690f=_0x18fe52['getPivotTableModelConfig'](_0x5ea855,_0x3a195c,_0x42a7c5);return cs(_0x34690f,_0x94e6e0),_0x18fe52[_0xea66a2(0xb4)]({'unitId':_0x5ea855,'subUnitId':_0x3a195c,'token':_0x42a7c5,'type':G[_0xea66a2(0x19c)]}),!0x0;}},Yt={'type':_0x49026b[_0x4cee97(0x15b)],'id':_0x4cee97(0x25e),'handler'(_0xd30f22,_0x226887){const _0x4830d9=_0x4cee97;if(!_0x226887)return!0x1;if(!!_0xd30f22[_0x4830d9(0x1d9)](_0x3ff295)[_0x4830d9(0x7a)](q))return!0x0;const _0x4310f5=_0xd30f22['get']($),{unitId:_0x5713fd,subUnitId:_0x2b301c,pivotTableId:_0x34a88c,fieldId:_0x381380,subtotalType:_0x158cd9}=_0x226887,_0x25a856=_0x4310f5[_0x4830d9(0x142)](_0x34a88c);if(!_0x25a856)return!0x1;_0x25a856[_0x4830d9(0x245)](_0x381380,_0x158cd9);const _0x51c81f=_0x4310f5[_0x4830d9(0x2b8)](_0x5713fd,_0x2b301c,_0x34a88c);return ss(_0x51c81f,_0x226887),_0x4310f5[_0x4830d9(0xb4)]({'unitId':_0x5713fd,'subUnitId':_0x2b301c,'token':_0x34a88c,'type':G[_0x4830d9(0x19c)]}),!0x0;}},zt={'type':_0x49026b[_0x4cee97(0x15b)],'id':_0x4cee97(0x13f),'handler'(_0x5e1623,_0x295bc2){const _0x2ed841=_0x4cee97;if(!_0x295bc2)return!0x1;if(!!_0x5e1623['get'](_0x3ff295)[_0x2ed841(0x7a)](q))return!0x0;const _0x4f7fb1=_0x5e1623[_0x2ed841(0x1d9)]($),{unitId:_0x45adc8,subUnitId:_0x2d5f0c,pivotTableId:_0xcdf91,fieldId:_0x238b6c,filterInfo:_0x136460}=_0x295bc2,_0x1fbc54=_0x4f7fb1[_0x2ed841(0x142)](_0xcdf91);if(!_0x1fbc54)return!0x1;_0x1fbc54[_0x2ed841(0x106)](_0x238b6c,_0x136460);const _0x255c8a=_0x4f7fb1[_0x2ed841(0x2b8)](_0x45adc8,_0x2d5f0c,_0xcdf91);return is(_0x255c8a,_0x295bc2),_0x4f7fb1['addDirtyPivotTable']({'unitId':_0x45adc8,'subUnitId':_0x2d5f0c,'token':_0xcdf91,'type':G['Set']}),!0x0;}},Xt={'type':_0x49026b[_0x4cee97(0x15b)],'id':_0x4cee97(0x1d7),'handler'(_0x291790,_0x2c293e){const _0x3956cc=_0x4cee97;if(!_0x2c293e)return!0x1;if(!!_0x291790[_0x3956cc(0x1d9)](_0x3ff295)[_0x3956cc(0x7a)](q))return!0x0;const _0x32ea1d=_0x291790[_0x3956cc(0x1d9)]($),{unitId:_0x2a62fa,subUnitId:_0x2347bd,pivotTableId:_0x2c3af6,area:_0x13d3ba,index:_0x1ff737,fieldId:_0xe011a5}=_0x2c293e,_0x162417=_0x32ea1d[_0x3956cc(0x142)](_0x2c3af6);if(!_0x162417)return!0x1;_0x162417['updateFieldPosition'](_0xe011a5,_0x13d3ba,_0x1ff737);const _0x38970e=_0x32ea1d[_0x3956cc(0x2b8)](_0x2a62fa,_0x2347bd,_0x2c3af6);return as(_0x38970e,_0x2c293e),_0x32ea1d[_0x3956cc(0xb4)]({'unitId':_0x2a62fa,'subUnitId':_0x2347bd,'token':_0x2c3af6,'type':G[_0x3956cc(0x19c)]}),!0x0;}},Zt={'type':_0x49026b[_0x4cee97(0x15b)],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x55b9cc,_0x1ab266){const _0x25baab=_0x4cee97;if(!_0x1ab266)return!0x1;if(!!_0x55b9cc[_0x25baab(0x1d9)](_0x3ff295)[_0x25baab(0x7a)](q))return!0x0;const _0xf7aaab=_0x55b9cc[_0x25baab(0x1d9)]($),{unitId:_0x2a7fc6,subUnitId:_0x5d2459,pivotTableId:_0x5909e7,sourceName:_0x1bb489,dataFieldId:_0x2ee181,tableFieldId:_0x2e5a6e}=_0x1ab266,_0x190178=_0xf7aaab[_0x25baab(0x142)](_0x5909e7);if(!_0x190178)return!0x1;_0x190178[_0x25baab(0x281)](_0x2e5a6e,_0x1bb489,_0x2ee181);const _0x4fe425=_0xf7aaab[_0x25baab(0x2b8)](_0x2a7fc6,_0x5d2459,_0x5909e7);return ls(_0x4fe425,_0x1ab266),_0xf7aaab[_0x25baab(0xb4)]({'unitId':_0x2a7fc6,'subUnitId':_0x5d2459,'token':_0x5909e7,'type':G[_0x25baab(0x19c)]}),!0x0;}},eo={'type':_0x49026b[_0x4cee97(0x15b)],'id':_0x4cee97(0x1db),'handler'(_0x15054e,_0x2f73c7){const _0x594c60=_0x4cee97;if(!_0x2f73c7)return!0x1;if(!!_0x15054e[_0x594c60(0x1d9)](_0x3ff295)[_0x594c60(0x7a)](q))return!0x0;const _0x313e40=_0x15054e[_0x594c60(0x1d9)]($),{unitId:_0x26d71f,subUnitId:_0x42f6e2,pivotTableId:_0x5365ef,valuePosition:_0x708c57,index:_0x1f8f7e}=_0x2f73c7,_0x28cb9c=_0x313e40[_0x594c60(0x142)](_0x5365ef);if(!_0x28cb9c)return!0x1;_0x28cb9c['updateValuePosition'](_0x708c57,_0x1f8f7e);const _0xe053e=_0x313e40['getPivotTableModelConfig'](_0x26d71f,_0x42f6e2,_0x5365ef);return rs(_0xe053e,_0x2f73c7),_0x313e40[_0x594c60(0xb4)]({'unitId':_0x26d71f,'subUnitId':_0x42f6e2,'token':_0x5365ef,'type':G[_0x594c60(0x19c)]}),!0x0;}};function me(_0x4b0f5c,_0x15f4c7,_0x46739d){const _0x5666da=_0x4cee97,{pivotTableId:_0x587206,unitId:_0x9d0f3,subUnitId:_0x1eec53}=_0x15f4c7,_0x33f52d=[],_0x4c897e=[];for(const _0x44bfdd of _0x46739d)switch(_0x44bfdd[_0x5666da(0x19f)]){case _0x2b055f['AddField']:{const {fieldJson:_0x477c99,area:_0x5d1b32,index:_0x161d3c}=_0x44bfdd,_0x6347b4={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldJson':_0x477c99,'area':_0x5d1b32,'index':_0x161d3c},_0x10e427={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldId':_0x477c99['id'],'area':_0x5d1b32,'index':_0x161d3c};_0x33f52d['push']({'id':$t['id'],'params':_0x6347b4}),_0x4c897e['unshift']({'id':Jt['id'],'params':_0x10e427});}break;case _0x2b055f[_0x5666da(0x2bc)]:{const {fieldId:_0x8f39d6,newSubtotalType:_0xd25a2,oldSubtotalType:_0x313f98}=_0x44bfdd,_0x21bd71={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldId':_0x8f39d6,'subtotalType':_0xd25a2};_0x33f52d[_0x5666da(0x2a2)]({'id':Yt['id'],'params':_0x21bd71});const _0x4b76e8={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldId':_0x8f39d6,'subtotalType':_0x313f98};_0x4c897e[_0x5666da(0x1b5)]({'id':Yt['id'],'params':_0x4b76e8});}break;case _0x2b055f[_0x5666da(0x98)]:{const {fieldId:_0x410bea,fieldJson:_0x466a66,area:_0x566665,index:_0x46e7aa}=_0x44bfdd,_0xd2a4cf={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldId':_0x410bea,'index':_0x46e7aa,'area':_0x566665};_0x33f52d['push']({'id':Jt['id'],'params':_0xd2a4cf});const _0x27ec95={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldJson':_0x466a66,'area':_0x566665,'index':_0x46e7aa};_0x4c897e[_0x5666da(0x1b5)]({'id':$t['id'],'params':_0x27ec95});}break;case _0x2b055f[_0x5666da(0xeb)]:{const {fieldId:_0x3e401e,oldName:_0x45045c,newName:_0xf3a6e8}=_0x44bfdd,_0x2a1223={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldId':_0x3e401e,'name':_0xf3a6e8};_0x33f52d[_0x5666da(0x2a2)]({'id':Wt['id'],'params':_0x2a1223});const _0x59f626={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldId':_0x3e401e,'name':_0x45045c};_0x4c897e['unshift']({'id':Wt['id'],'params':_0x59f626});}break;case _0x2b055f[_0x5666da(0xcd)]:{const {fieldId:_0x121e61,oldFilterInfo:_0x44c4e,newFilterInfo:_0x273a91}=_0x44bfdd,_0x91bb72={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldId':_0x121e61,'filterInfo':_0x273a91};_0x33f52d[_0x5666da(0x2a2)]({'id':Kt['id'],'params':_0x91bb72});const _0x2032a5={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldId':_0x121e61,'filterInfo':_0x44c4e};_0x4c897e[_0x5666da(0x1b5)]({'id':Kt['id'],'params':_0x2032a5});}break;case _0x2b055f[_0x5666da(0xbf)]:{const {fieldId:_0x16a71b,oldSortInfo:_0x39f167,newSortInfo:_0x2046b9}=_0x44bfdd,_0x1e86b9={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldId':_0x16a71b,'sortInfo':_0x2046b9};_0x33f52d[_0x5666da(0x2a2)]({'id':Qt['id'],'params':_0x1e86b9});const _0xeec44a={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldId':_0x16a71b,'sortInfo':_0x39f167};_0x4c897e[_0x5666da(0x1b5)]({'id':Qt['id'],'params':_0xeec44a});}break;case _0x2b055f[_0x5666da(0x12b)]:{const {oldOptions:_0x28891e,newOptions:_0x276830}=_0x44bfdd,_0x4dab46={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'options':_0x276830};_0x33f52d[_0x5666da(0x2a2)]({'id':qt['id'],'params':_0x4dab46});const _0x518712={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'options':_0x28891e};_0x4c897e[_0x5666da(0x1b5)]({'id':qt['id'],'params':_0x518712});}break;case _0x2b055f[_0x5666da(0x27c)]:{const {oldArea:_0x2694f6,newArea:_0x19cca7,oldIndex:_0x5400a8,newIndex:_0x12a224,fieldId:_0x326c8e}=_0x44bfdd,_0x39fb72={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldId':_0x326c8e,'area':_0x19cca7,'index':_0x12a224,'oldArea':_0x2694f6,'oldIndex':_0x5400a8};_0x33f52d[_0x5666da(0x2a2)]({'id':Xt['id'],'params':_0x39fb72});const _0x25084d={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldId':_0x326c8e,'area':_0x2694f6,'index':_0x5400a8,'oldArea':_0x19cca7,'oldIndex':_0x12a224};_0x4c897e[_0x5666da(0x1b5)]({'id':Xt['id'],'params':_0x25084d});}break;case _0x2b055f[_0x5666da(0xa2)]:{const {oldValuePosition:_0x5b8640,newValuePosition:_0x3785ff,oldIndex:_0x93a273,newIndex:_0x5a2ae0}=_0x44bfdd,_0x4d9ecf={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'valuePosition':_0x3785ff,'index':_0x5a2ae0};_0x33f52d[_0x5666da(0x2a2)]({'id':eo['id'],'params':_0x4d9ecf});const _0x352eb2={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'valuePosition':_0x5b8640,'index':_0x93a273};_0x4c897e[_0x5666da(0x1b5)]({'id':eo['id'],'params':_0x352eb2});}break;case _0x2b055f[_0x5666da(0x2db)]:{const {fieldId:_0x5670f3,collapse:_0x54c9e5,item:_0x1789b3}=_0x44bfdd,_0x48b694={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldId':_0x5670f3,'collapse':_0x54c9e5,'item':_0x1789b3};_0x33f52d[_0x5666da(0x2a2)]({'id':jt['id'],'params':_0x48b694});const _0xc2ba0f={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldId':_0x5670f3,'collapse':!_0x54c9e5,'item':_0x1789b3};_0x4c897e[_0x5666da(0x1b5)]({'id':jt['id'],'params':_0xc2ba0f});}break;case _0x2b055f[_0x5666da(0x202)]:{const {newFormat:_0x250b5e,oldFormat:_0x54e87a,fieldId:_0x36a08d}=_0x44bfdd,_0x1a7692={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldId':_0x36a08d,'format':_0x250b5e};_0x33f52d[_0x5666da(0x2a2)]({'id':Ht['id'],'params':_0x1a7692});const _0x4df99a={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldId':_0x36a08d,'format':_0x54e87a};_0x4c897e[_0x5666da(0x1b5)]({'id':Ht['id'],'params':_0x4df99a});}break;case _0x2b055f[_0x5666da(0x114)]:{const {tableFieldId:_0x4a96c0,oldSourceName:_0x525f63,newSourceName:_0x4b66d5,oldDataFieldId:_0x27ecec,newDataFieldId:_0x38d96b}=_0x44bfdd,_0x315a16={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'tableFieldId':_0x4a96c0,'sourceName':_0x4b66d5,'dataFieldId':_0x38d96b};_0x33f52d[_0x5666da(0x2a2)]({'id':Zt['id'],'params':_0x315a16});const _0x4dc6ba={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'tableFieldId':_0x4a96c0,'sourceName':_0x525f63,'dataFieldId':_0x27ecec};_0x4c897e['unshift']({'id':Zt['id'],'params':_0x4dc6ba});}break;case _0x2b055f['SetValueFilter']:{const {fieldId:_0x25eb2a,filterInfo:_0x17e3cd,oldFilterInfo:_0x56f9b0}=_0x44bfdd,_0x416917={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldId':_0x25eb2a,'filterInfo':_0x17e3cd};_0x33f52d['push']({'id':zt['id'],'params':_0x416917});const _0x20ebd7={'unitId':_0x9d0f3,'subUnitId':_0x1eec53,'pivotTableId':_0x587206,'fieldId':_0x25eb2a,'filterInfo':_0x56f9b0};_0x4c897e[_0x5666da(0x1b5)]({'id':zt['id'],'params':_0x20ebd7});}}return{'redos':_0x33f52d,'undos':_0x4c897e};}function _e(_0x4fcef3,_0x1e0d32){const _0x2cd195=_0x4cee97;var _0xfd7ddb;const _0x92e289=_0x4fcef3[_0x2cd195(0x1d9)](ie),{cellInfo:_0xcfda0f,view:_0x5dd0ac,isEmpty:_0x25446b}=_0x1e0d32;return(_0xfd7ddb=_0x92e289['interceptor'][_0x2cd195(0x279)]($o)(To,{'cellInfo':_0xcfda0f,'view':_0x5dd0ac,'isEmpty':_0x25446b}))!=null?_0xfd7ddb:To;}const us=()=>typeof process<'u'&&process[_0x4cee97(0xe4)]!=null&&process['versions']['node']!=null,Ct={'type':_0x49026b[_0x4cee97(0x15b)],'id':'sheet.mutation.add-pivot-table','handler'(_0x357a07,_0x5bca11){const _0x3ca5f5=_0x4cee97;var _0x4594fd;if(!_0x5bca11)return!0x1;const _0x287b4b=_0x357a07[_0x3ca5f5(0x1d9)](_0x3ff295);if(!!_0x287b4b[_0x3ca5f5(0x7a)](q))return!0x0;const _0x3a4b8e=_0x357a07[_0x3ca5f5(0x1d9)](_0x29adac),_0x4be19b=_0x357a07[_0x3ca5f5(0x1d9)]($),{pivotTableId:_0x5cc94f,pivotTableConfig:_0x48a8d4,collectionConfig:_0x58e18e,unitId:_0x51b6f6,subUnitId:_0x19ec78}=_0x5bca11,{sourceRangeInfo:_0x4a2611,fieldsConfig:_0x40d48c,targetCellInfo:_0x44b4ab}=_0x48a8d4,_0x4cadba=_0x3a4b8e['getUnit'](_0x51b6f6);if(!_0x4cadba||!_0x4cadba['getSheetBySheetId'](_0x19ec78))return!0x1;if(!us()){let _0x135681=0x0;_0x4cadba[_0x3ca5f5(0x158)]()['forEach'](_0x4b8084=>{const _0x1772ae=_0x3ca5f5;var _0x417c5a,_0xbdea05;_0x135681+=(_0xbdea05=(_0x417c5a=_0x4be19b['getSubUnitPivotConfigs'](_0x51b6f6,_0x4b8084['getSheetId']()))==null?void 0x0:_0x417c5a[_0x1772ae(0x276)])!=null?_0xbdea05:0x0;});const _0x44cbc7=(_0x4594fd=_0x287b4b[_0x3ca5f5(0x7a)](_0x31c327))!=null?_0x4594fd:{},{ls:_0x348480,pbk:_0x340b1a}=_0x44cbc7;if(!Ho(_0x348480,_0x340b1a))throw new _0x48a432('limit\x20pivot');const _0x41622d=go(so,_0x348480,_0x340b1a)['count'];if(_0x135681>=_0x41622d)throw new _0x48a432(_0x3ca5f5(0x2bf));}if(!_0x58e18e||!_0x40d48c)return!0x1;const {collection:_0xc26872,updateDataFieldList:_0x331b2e}=_0x4be19b[_0x3ca5f5(0x1fe)](_0x5cc94f,_0x58e18e,_0x4a2611,_0x44b4ab);_0x4be19b[_0x3ca5f5(0xde)](_0xc26872,_0x331b2e,_0x4a2611);const _0x5157ea=new _0x5c6617(_0xc26872,void 0x0,_0x5cc94f);_0x5157ea[_0x3ca5f5(0x299)](_0x40d48c);const _0x5e0c20=JSON['parse'](JSON['stringify'](_0x48a8d4));return _0x4be19b[_0x3ca5f5(0x96)](_0x51b6f6,_0x19ec78,_0x5cc94f,_0x5157ea,_0x5e0c20),_0x4be19b[_0x3ca5f5(0xb4)]({'unitId':_0x51b6f6,'subUnitId':_0x19ec78,'token':_0x5cc94f,'type':G[_0x3ca5f5(0x190)],'pivotConfig':_0x5e0c20}),!0x0;}},xt={'type':_0x49026b[_0x4cee97(0x15b)],'id':_0x4cee97(0x144),'handler'(_0x325cdf,_0x2cb237){const _0x1dbbe2=_0x4cee97;if(!_0x2cb237)return!0x1;if(!!_0x325cdf['get'](_0x3ff295)[_0x1dbbe2(0x7a)](q))return!0x0;const {pivotTableId:_0x19bc73,unitId:_0x1e8ad7,subUnitId:_0x37d015}=_0x2cb237,_0x35349e=_0x325cdf['get']($);return _0x35349e[_0x1dbbe2(0x256)](_0x1e8ad7,_0x37d015,_0x19bc73)?(_0x35349e[_0x1dbbe2(0xb4)]({'unitId':_0x1e8ad7,'subUnitId':_0x37d015,'token':_0x19bc73,'type':G[_0x1dbbe2(0x111)]}),_0x35349e[_0x1dbbe2(0x1bc)](_0x1e8ad7,_0x37d015,_0x19bc73),!0x0):!0x1;}},pt={'type':_0x49026b[_0x4cee97(0x15b)],'id':_0x4cee97(0x1da),'handler'(_0x1ef81a,_0x44bbaf){const _0x3e784d=_0x4cee97;if(!_0x44bbaf)return!0x1;if(!!_0x1ef81a['get'](_0x3ff295)[_0x3e784d(0x7a)](q))return!0x0;const {pivotTableId:_0x477178,targetCellPosition:_0x374f16,unitId:_0x204176,subUnitId:_0x5e8c1c}=_0x44bbaf,_0x29e964=_0x1ef81a[_0x3e784d(0x1d9)]($);if(!_0x29e964[_0x3e784d(0x142)](_0x44bbaf['pivotTableId']))return!0x1;const _0x1aa157=_0x29e964['getTargetByPivotId'](_0x477178);if(!_0x1aa157)return!0x1;const _0x2661fd=_0x29e964['getCollection'](_0x1aa157['unitId'],_0x44bbaf[_0x3e784d(0xda)]);if(!_0x2661fd)return!0x1;const _0x445a4d=_0x29e964[_0x3e784d(0x256)](_0x1aa157[_0x3e784d(0x16d)],_0x1aa157[_0x3e784d(0x282)],_0x477178);if(!_0x445a4d)return!0x1;const _0x4af79b=_0x3938e5[_0x3e784d(0x2a7)](_0x445a4d);_0x4af79b['targetCellInfo']={'unitId':_0x204176,'subUnitId':_0x5e8c1c,'row':_0x374f16[_0x3e784d(0x28a)],'col':_0x374f16[_0x3e784d(0x224)]};const _0x3fef43=_0x2661fd['toJSON']();if(_0x1aa157[_0x3e784d(0x282)]===_0x5e8c1c&&_0x1aa157[_0x3e784d(0x16d)]===_0x204176)_0x29e964['setPivotTable'](_0x204176,_0x5e8c1c,_0x477178,_0x4af79b),_0x29e964[_0x3e784d(0xb4)]({'unitId':_0x204176,'subUnitId':_0x5e8c1c,'token':_0x477178,'type':G[_0x3e784d(0x19c)]});else{_0x29e964[_0x3e784d(0xb4)]({'unitId':_0x1aa157[_0x3e784d(0x16d)],'subUnitId':_0x1aa157[_0x3e784d(0x282)],'token':_0x477178,'type':G[_0x3e784d(0x111)]}),_0x29e964[_0x3e784d(0x1bc)](_0x1aa157[_0x3e784d(0x16d)],_0x1aa157['subUnitId'],_0x477178);const _0x7d71c9=_0x29e964[_0x3e784d(0x1fe)](_0x477178,_0x3fef43,_0x445a4d['sourceRangeInfo'],_0x4af79b[_0x3e784d(0x1bb)]),_0x4bfb30=new _0x5c6617(_0x7d71c9[_0x3e784d(0x28c)],void 0x0,_0x477178);_0x4bfb30['fromJSON'](_0x4af79b[_0x3e784d(0x156)]),_0x29e964[_0x3e784d(0x96)](_0x204176,_0x5e8c1c,_0x477178,_0x4bfb30,_0x4af79b),_0x29e964['addDirtyPivotTable']({'unitId':_0x204176,'subUnitId':_0x5e8c1c,'token':_0x477178,'type':G[_0x3e784d(0x190)],'pivotConfig':_0x4af79b});}return!0x0;}},to={'type':_0x49026b[_0x4cee97(0x15b)],'id':_0x4cee97(0x273),'handler'(_0x2fe21b,_0x267c0c){const _0x13a251=_0x4cee97;if(!_0x267c0c)return!0x1;if(!!_0x2fe21b[_0x13a251(0x1d9)](_0x3ff295)[_0x13a251(0x7a)](q))return!0x0;const _0x1a5dcb=_0x2fe21b[_0x13a251(0x1d9)]($),{pivotTableId:_0x19ffb2,deleteIds:_0x109c92,collectionJSON:_0x5660b5,dataRangeInfo:_0x5b8a4c,unitId:_0xadb50e,subUnitId:_0x5c429a}=_0x267c0c,_0x3e1471=_0x1a5dcb[_0x13a251(0x142)](_0x19ffb2),_0xe48f2=_0x1a5dcb[_0x13a251(0x256)](_0xadb50e,_0x5c429a,_0x19ffb2);if(!_0x3e1471||!_0xe48f2)return!0x1;const {collection:_0x2d6e1f,updateDataFieldList:_0xec1d16}=_0x1a5dcb['addCollectionByJSON'](_0x19ffb2,_0x5660b5,_0x5b8a4c,_0xe48f2[_0x13a251(0x1bb)]);_0x1a5dcb[_0x13a251(0xde)](_0x2d6e1f,_0xec1d16,_0x5b8a4c),_0x3e1471[_0x13a251(0x14b)](_0x2d6e1f);for(const _0x41312e of _0x109c92)_0x1a5dcb['removeDataField'](_0x5b8a4c['unitId'],_0x41312e);const _0x3f2f39=_0x1a5dcb[_0x13a251(0x256)](_0xadb50e,_0x5c429a,_0x19ffb2);return _0x3f2f39[_0x13a251(0xca)]=JSON[_0x13a251(0x163)](JSON[_0x13a251(0x1bf)](_0x5b8a4c)),_0x1a5dcb['addDirtyPivotTable']({'unitId':_0xadb50e,'subUnitId':_0x5c429a,'token':_0x19ffb2,'type':G[_0x13a251(0x19c)]}),!0x0;}},Et={'type':_0x49026b[_0x4cee97(0x15b)],'id':_0x4cee97(0x211),'handler'(){return!0x0;}};var fs=Object[_0x4cee97(0x236)],gs=(_0x1c8ff1,_0x1b1e45,_0x4fb8c3,_0x119e1e)=>{const _0x39829c=_0x4cee97;for(var _0xc37719=_0x119e1e>0x1?void 0x0:_0x119e1e?fs(_0x1b1e45,_0x4fb8c3):_0x1b1e45,_0x40b66e=_0x1c8ff1[_0x39829c(0x29c)]-0x1,_0x46bfd9;_0x40b66e>=0x0;_0x40b66e--)(_0x46bfd9=_0x1c8ff1[_0x40b66e])&&(_0xc37719=_0x46bfd9(_0xc37719)||_0xc37719);return _0xc37719;},wo=(_0x3518e8,_0x38a318)=>(_0x48eafb,_0x2752d5)=>_0x38a318(_0x48eafb,_0x2752d5,_0x3518e8);let Z=class extends _0x125de6{constructor(_0x58826e,_0xdf184e){const _0x4dde5d=_0x4cee97;super(),O(this,_0x4dde5d(0x254),new Map()),(this[_0x4dde5d(0x2e0)]=_0x58826e,this[_0x4dde5d(0x260)]=_0xdf184e);}[_0x4cee97(0x22e)](_0x2cad83){const _0x102342=_0x4cee97,{version:_0x43a3cf}=_0x2cad83,_0x5f329d=this[_0x102342(0x254)][_0x102342(0x1d9)](_0x43a3cf);_0x5f329d&&(_0x5f329d(_0x2cad83),this['_requestResolvers'][_0x102342(0x2c6)](_0x43a3cf));}[_0x4cee97(0x27e)](_0x58e3e0){return new Promise((_0x57b476,_0x33276b)=>{const _0x68a93c=_0x47fa,_0x1d51b0=this[_0x68a93c(0x206)]();this[_0x68a93c(0x254)][_0x68a93c(0xa8)](_0x1d51b0,_0x57b476),this[_0x68a93c(0x260)][_0x68a93c(0x72)](ro['id'],{'version':_0x1d51b0,..._0x58e3e0},{'onlyLocal':!0x0});});}[_0x4cee97(0x206)](){const _0x328cf9=_0x4cee97;return Math[_0x328cf9(0x2ca)]()[_0x328cf9(0x289)](0x24)[_0x328cf9(0x77)](0x2,0x10);}};Z=gs([wo(0x0,_0x4c00f1(_0xb8618)),wo(0x1,_0x4c00f1(_0x209817))],Z);const Yo={'id':_0x4cee97(0x16c),'type':_0x49026b[_0x4cee97(0x15b)],'handler':(_0x58c1d9,_0x5e90bd)=>{const _0x1f8a8d=_0x4cee97;if(!_0x5e90bd)return!0x1;if(!!_0x58c1d9[_0x1f8a8d(0x1d9)](_0x3ff295)[_0x1f8a8d(0x7a)](q))return!0x0;const {pivotTableId:_0x305aa7,fieldJSON:_0x504a53,unitId:_0x23ac68,subUnitId:_0x3b4cda}=_0x5e90bd,_0x55c55d=_0x2b4685[_0x1f8a8d(0x299)](_0x504a53);if(!_0x55c55d)return!0x1;const _0x47465d=_0x58c1d9[_0x1f8a8d(0x1d9)]($),_0x2949df=_0x47465d[_0x1f8a8d(0x2f3)](_0x23ac68),_0x502f72=_0x2949df[_0x1f8a8d(0xd9)](_0x305aa7);_0x2949df['addDataFieldWithoutUnitInfo'](_0x55c55d),_0x502f72[_0x1f8a8d(0x7d)](_0x55c55d['getId'](),_0x55c55d['getName']());const _0x22ee41=_0x502f72[_0x1f8a8d(0x1c9)](_0x55c55d[_0x1f8a8d(0x2de)]());_0x22ee41&&_0x55c55d[_0x1f8a8d(0x290)](_0x22ee41);const _0x11ac77=_0x47465d[_0x1f8a8d(0x256)](_0x23ac68,_0x3b4cda,_0x305aa7);return _0x47465d[_0x1f8a8d(0xb4)]({'unitId':_0x23ac68,'subUnitId':_0x3b4cda,'token':_0x305aa7,'type':G[_0x1f8a8d(0x19c)],'pivotConfig':_0x11ac77}),!0x0;}},zo={'id':_0x4cee97(0x1cb),'type':_0x49026b[_0x4cee97(0x15b)],'handler':(_0x3571e6,_0x31eda6)=>{const _0xaf1d2e=_0x4cee97;if(!_0x31eda6)return!0x1;if(!!_0x3571e6[_0xaf1d2e(0x1d9)](_0x3ff295)[_0xaf1d2e(0x7a)](q))return!0x0;const {pivotTableId:_0x1ff954,dataFieldId:_0x1997ca,unitId:_0x3ffaa1,subUnitId:_0xe05103}=_0x31eda6,_0x23ef54=_0x3571e6['get']($),_0x51f3c0=_0x23ef54[_0xaf1d2e(0x2f3)](_0x3ffaa1);_0x51f3c0[_0xaf1d2e(0xd9)](_0x1ff954)[_0xaf1d2e(0x25d)](_0x1997ca);let _0x59fa09=!0x0;for(const _0x352b93 in _0x51f3c0['collections'])if(_0x51f3c0[_0xaf1d2e(0x227)][_0x352b93][_0xaf1d2e(0x253)]()['includes'](_0x1997ca)){_0x59fa09=!0x1;break;}_0x59fa09&&_0x51f3c0[_0xaf1d2e(0x1c5)](_0x1997ca);const _0x549a09=_0x23ef54[_0xaf1d2e(0x256)](_0x3ffaa1,_0xe05103,_0x1ff954);return _0x23ef54[_0xaf1d2e(0xb4)]({'unitId':_0x3ffaa1,'subUnitId':_0xe05103,'token':_0x1ff954,'type':G[_0xaf1d2e(0x19c)],'pivotConfig':_0x549a09}),!0x0;}},vs={'type':_0x49026b[_0x4cee97(0x1df)],'id':_0x4cee97(0x91),async 'handler'(_0x1465c3,_0x2eb47e){const _0x568efb=_0x4cee97;if(!_0x2eb47e)return!0x1;const _0x5a7df9=_0x1465c3[_0x568efb(0x1d9)](_0x209817),_0x4cf92f=_0x1465c3[_0x568efb(0x1d9)](Z),_0x46ee54=_0x1465c3['get'](_0x7c4296),{pivotTableId:_0x22c0ae,dataFieldId:_0x596855,fieldArea:_0x51d4c4,index:_0x444f1e,unitId:_0xad8881,subUnitId:_0x47190b}=_0x2eb47e,_0x323a14=(await _0x4cf92f[_0x568efb(0x27e)]({'unitId':_0xad8881,'subUnitId':_0x47190b,'pivotTableId':_0x22c0ae,'params':{'type':A[_0x568efb(0x20e)],'addPivotField':{'dataFieldId':_0x596855,'fieldArea':_0x51d4c4,'index':_0x444f1e}}}))[_0x568efb(0x2ee)]['addPivotField'];if(!_0x323a14)return!0x1;const {view:_0x1a3f90,changesets:_0x439932,isEmpty:_0x29c54d,pivotTableConfig:_0x51b6fd,shouldBeAddedGroupJSON:_0x566d9b}=_0x323a14,_0x2995c1=_0x51b6fd[_0x568efb(0x1bb)],_0x3f60e1=new _0x18cfb9();_0x3f60e1[_0x568efb(0xa4)](_0x1a3f90);const _0x300f70={'cellInfo':_0x2995c1,'view':_0x3f60e1,'isEmpty':_0x29c54d};if(!await _0x1465c3['get'](ie)[_0x568efb(0xc2)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x300f70))return!0x1;const _0xf1552c=we(_0x1465c3,_0x3f60e1,_0x2995c1,_0x29c54d),_0x2cdd12=_e(_0x1465c3,_0x300f70),{undos:_0x396918,redos:_0x531d34}=me(_0x5a7df9,{'pivotTableId':_0x22c0ae,'unitId':_0xad8881,'subUnitId':_0x47190b},_0x439932);return _0x566d9b&&(_0x531d34[_0x568efb(0x1b5)]({'id':Yo['id'],'params':{'pivotTableId':_0x22c0ae,'fieldJSON':_0x566d9b,'unitId':_0xad8881,'subUnitId':_0x47190b}}),_0x396918['push']({'id':zo['id'],'params':{'pivotTableId':_0x22c0ae,'dataFieldId':_0x566d9b['id'],'unitId':_0xad8881,'subUnitId':_0x47190b}})),_0x1e8345([..._0xf1552c[_0x568efb(0x173)],..._0x2cdd12[_0x568efb(0x173)],..._0x531d34],_0x5a7df9),_0x46ee54[_0x568efb(0x270)]({'unitID':_0xad8881,'redoMutations':[..._0xf1552c[_0x568efb(0x173)],..._0x2cdd12[_0x568efb(0x173)],..._0x531d34],'undoMutations':[..._0xf1552c[_0x568efb(0xe1)],..._0x2cdd12[_0x568efb(0xe1)],..._0x396918]}),!0x0;}},hs={'type':_0x49026b[_0x4cee97(0x1df)],'id':_0x4cee97(0x214),async 'handler'(_0x2fda7f,_0x5ec500){const _0x23b41f=_0x4cee97;if(!_0x5ec500)return!0x1;const {sourceDataInfo:_0x4c2d5c,pivotTableConfig:_0x530bb0}=_0x5ec500;if(!_0x4c2d5c||!_0x530bb0)return!0x1;const {unitId:_0x3d8e38,subUnitId:_0x10a751,range:_0x543635}=_0x4c2d5c,_0x29bb17=_0x2fda7f[_0x23b41f(0x1d9)](_0x29adac),_0x564e28=_0x2fda7f['get'](Z),_0x44cac6=_0x2fda7f[_0x23b41f(0x1d9)](_0x18acb2),_0x190ad2=_0x2fda7f['get'](_0x209817),_0x4fa49f=_0x29bb17['getUnit'](_0x3d8e38);if(!_0x4fa49f)return!0x1;const _0x203cc6=_0x4fa49f[_0x23b41f(0x24e)](_0x10a751);if(!_0x203cc6)return!0x1;const _0x2a99c0=_0x5c7c44(0x8),_0x450379=_0x543635||{'startRow':0x0,'startColumn':0x0,'endRow':_0x203cc6[_0x23b41f(0x2b4)]()-0x1,'endColumn':_0x203cc6[_0x23b41f(0xcb)]()-0x1};_0x450379[_0x23b41f(0x223)]=_0x51a85a[_0x23b41f(0xe8)];const _0x9815b6=(await _0x564e28[_0x23b41f(0x27e)]({'unitId':_0x3d8e38,'subUnitId':_0x10a751,'pivotTableId':_0x2a99c0,'params':{'type':A[_0x23b41f(0x116)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x3d8e38,'sheetName':_0x203cc6[_0x23b41f(0x271)](),'subUnitId':_0x10a751,'range':_0x450379},'pivotTableId':_0x2a99c0,'pivotTableIndexConfig':_0x530bb0}}}))[_0x23b41f(0x2ee)][_0x23b41f(0x1a5)];if(!_0x9815b6)return!0x1;const {isEmpty:_0x9e027a,fieldsConfig:_0xdd3d16,collectionConfig:_0x33bc29,changesets:_0x122abb}=_0x9815b6,_0x32f392=_0x4fa49f[_0x23b41f(0x158)]()['length'],_0x59d35a=_0x35c14b({'rowCount':_0x203cc6[_0x23b41f(0x2b4)]()-0x1,'columnCount':_0x203cc6[_0x23b41f(0xcb)]()-0x1});_0x59d35a['id']=_0x397182(),_0x59d35a[_0x23b41f(0x24a)]=_0x4fa49f[_0x23b41f(0x184)](''+_0x44cac6['t'](_0x23b41f(0x185)));const _0x3613e1={'index':_0x32f392,'sheet':_0x59d35a,'unitId':_0x3d8e38},{redos:_0x207214}=me(_0x190ad2,{'pivotTableId':_0x2a99c0,'unitId':_0x3d8e38,'subUnitId':_0x59d35a['id']},_0x122abb),_0x5a33c8=[{'id':_0xf34787['id'],'params':_0x3613e1},{'id':Ct['id'],'params':{'unitId':_0x3d8e38,'subUnitId':_0x59d35a['id'],'pivotTableId':_0x2a99c0,'pivotTableConfig':{'isEmpty':_0x9e027a,'fieldsConfig':_0xdd3d16,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x3d8e38,'subUnitId':_0x59d35a['id']},'sourceRangeInfo':{'subUnitId':_0x10a751,'unitId':_0x3d8e38,'range':_0x450379,'sheetName':_0x203cc6[_0x23b41f(0x271)]()}},'collectionConfig':_0x33bc29}},..._0x207214];return _0x1e8345(_0x5a33c8,_0x190ad2),!0x0;}},ps={'type':_0x49026b[_0x4cee97(0x1df)],'id':_0x4cee97(0x16f),async 'handler'(_0x1f66fa,_0x2e9443){const _0x1db277=_0x4cee97;var _0x4b533a,_0x13dfc7;const _0x4f27fa=_0x1f66fa[_0x1db277(0x1d9)](_0x209817),_0x3d4ed2=_0x1f66fa[_0x1db277(0x1d9)](_0x29adac),_0x224009=_0x1f66fa[_0x1db277(0x1d9)](_0x18acb2),_0x1391c2=_0x1f66fa['get'](Z),_0x33f115=_0x1f66fa[_0x1db277(0x1d9)](_0x7c4296),_0x5e64f9=_0x1f66fa[_0x1db277(0x1d9)](he),_0x4eba0f=_0x1f66fa[_0x1db277(0x1d9)](_0x3ff295);if(!_0x2e9443)return!0x1;const {pivotTableConfig:_0x41180b,positionType:_0x320659}=_0x2e9443,{targetCellInfo:_0x3a02b9,sourceRangeInfo:_0x231f56}=_0x41180b,{unitId:_0x342443,subUnitId:_0x5a3d9f}=_0x3a02b9,_0x3425e1=_0x3d4ed2[_0x1db277(0x14e)](_0x342443);if(!_0x3425e1)return!0x1;let _0x29b471=0x0;_0x3425e1['getSheets']()[_0x1db277(0x11b)](_0x1d1600=>{const _0x2e4f4b=_0x1db277;var _0x589086,_0xc964af;_0x29b471+=(_0xc964af=(_0x589086=_0x5e64f9[_0x2e4f4b(0x218)](_0x342443,_0x1d1600[_0x2e4f4b(0x148)]()))==null?void 0x0:_0x589086[_0x2e4f4b(0x276)])!=null?_0xc964af:0x0;});const _0x1aa2b3=(_0x4b533a=_0x4eba0f[_0x1db277(0x7a)](_0x31c327))!=null?_0x4b533a:{},{ls:_0x320d35,pbk:_0x562052}=_0x1aa2b3;if(!Ho(_0x320d35,_0x562052))return!0x1;const _0x2f2c9b=go(so,_0x320d35,_0x562052)[_0x1db277(0xa9)];if(_0x29b471>=_0x2f2c9b)return!0x1;const _0xa3a298=_0x2e9443[_0x1db277(0xda)]||_0x5c7c44(0x8),_0x5564d5=(await _0x1391c2[_0x1db277(0x27e)]({'unitId':_0x342443,'subUnitId':_0x5a3d9f,'pivotTableId':_0xa3a298,'params':{'type':A[_0x1db277(0x225)],'addPivotTable':{'sourceRangeInfo':_0x231f56,'pivotTableId':_0xa3a298}}}))[_0x1db277(0x2ee)]['addPivotTable'];if(!_0x5564d5)return!0x1;const {view:_0x2b4172,isEmpty:_0x1af682,fieldsConfig:_0x97f843,collectionConfig:_0x557975}=_0x5564d5,_0x30894b=[],_0x583c4d=[];if(_0x320659===ko[_0x1db277(0xf3)]){const _0x70a9e8=_0x3425e1[_0x1db277(0x158)]()[_0x1db277(0x29c)],_0x22e635=_0x35c14b({});_0x22e635['id']=_0x41180b[_0x1db277(0x1bb)][_0x1db277(0x282)],_0x22e635[_0x1db277(0x24a)]=(_0x13dfc7=_0x41180b['targetCellInfo'][_0x1db277(0x2e8)])!=null?_0x13dfc7:_0x3425e1[_0x1db277(0x184)](''+_0x224009['t'](_0x1db277(0x185)));const _0x5c98d2={'index':_0x70a9e8,'sheet':_0x22e635,'unitId':_0x342443},_0x287fe0=_0x13e8aa(_0x1f66fa,_0x5c98d2);_0x30894b[_0x1db277(0x2a2)]({'id':_0xb5a49d['id'],'params':_0x287fe0}),_0x583c4d[_0x1db277(0x2a2)]({'id':_0x3bf316['id'],'params':_0x5c98d2});}else{if(!_0x3425e1['getSheetBySheetId'](_0x5a3d9f))return!0x1;const _0x5673c4=we(_0x1f66fa,new _0x18cfb9(),_0x3a02b9,!0x0);_0x583c4d[_0x1db277(0x2a2)](..._0x5673c4[_0x1db277(0x173)]),_0x30894b[_0x1db277(0x2a2)](..._0x5673c4['undos']);const _0x12d07e={'cellInfo':_0x3a02b9,'view':_0x2b4172,'isEmpty':_0x1af682};if(!await _0x1f66fa[_0x1db277(0x1d9)](ie)[_0x1db277(0xc2)][_0x1db277(0xf8)](be)(!0x0,_0x12d07e))return!0x1;const _0xaf4856=_e(_0x1f66fa,_0x12d07e);_0x583c4d[_0x1db277(0x2a2)](..._0xaf4856[_0x1db277(0x173)]),_0x30894b[_0x1db277(0x2a2)](..._0xaf4856[_0x1db277(0xe1)]);}return _0x583c4d[_0x1db277(0x2a2)]({'id':Ct['id'],'params':{'unitId':_0x3a02b9['unitId'],'subUnitId':_0x3a02b9[_0x1db277(0x282)],'pivotTableId':_0xa3a298,'pivotTableConfig':{'targetCellInfo':_0x3a02b9,'sourceRangeInfo':_0x231f56,'fieldsConfig':_0x97f843},'collectionConfig':_0x557975}}),_0x30894b[_0x1db277(0x1b5)]({'id':xt['id'],'params':{'unitId':_0x342443,'subUnitId':_0x5a3d9f,'pivotTableId':_0xa3a298}}),_0x1e8345(_0x583c4d,_0x4f27fa)&&_0x33f115[_0x1db277(0x270)]({'unitID':_0x342443,'undoMutations':_0x30894b,'redoMutations':_0x583c4d}),!0x0;}},ms={'type':_0x49026b[_0x4cee97(0x1df)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x5f5775,_0x291d2f){const _0x45cbc1=_0x4cee97;if(!_0x291d2f)return!0x1;const _0x401a19=_0x5f5775['get'](_0x209817),_0x459c52=_0x5f5775[_0x45cbc1(0x1d9)](Z),_0x3c10e7=_0x5f5775[_0x45cbc1(0x1d9)](_0x7c4296),{pivotTableId:_0x573e9d,fieldId:_0x307847,area:_0x1db221,index:_0x4f4e3c,unitId:_0x3348b3,subUnitId:_0x40c763}=_0x291d2f,_0x4d4f2a=(await _0x459c52[_0x45cbc1(0x27e)]({'unitId':_0x3348b3,'subUnitId':_0x40c763,'pivotTableId':_0x573e9d,'params':{'type':A['MovePivotField'],'movePivotField':{'fieldId':_0x307847,'area':_0x1db221,'index':_0x4f4e3c}}}))[_0x45cbc1(0x2ee)][_0x45cbc1(0xbb)];if(!_0x4d4f2a)return!0x1;const {changesets:_0x31e8de,view:_0x132975,isEmpty:_0x4591c5,pivotTableConfig:_0x25a5a0}=_0x4d4f2a,_0xe06c50=_0x25a5a0[_0x45cbc1(0x1bb)],_0x141c2e=new _0x18cfb9();_0x141c2e['formJSON'](_0x132975);const _0x2d7af8={'cellInfo':_0xe06c50,'view':_0x141c2e,'isEmpty':_0x4591c5};if(!await _0x5f5775[_0x45cbc1(0x1d9)](ie)[_0x45cbc1(0xc2)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x2d7af8))return!0x1;const _0x3ecea1=we(_0x5f5775,_0x141c2e,_0xe06c50,_0x4591c5),_0x1525fe=_e(_0x5f5775,_0x2d7af8),{redos:_0x3bc249,undos:_0xce7ed3}=me(_0x401a19,{'pivotTableId':_0x573e9d,'unitId':_0x3348b3,'subUnitId':_0x40c763},_0x31e8de);return _0x1e8345([..._0x3ecea1[_0x45cbc1(0x173)],..._0x1525fe['redos'],..._0x3bc249],_0x401a19),_0x3c10e7['pushUndoRedo']({'unitID':_0x3348b3,'redoMutations':[..._0x3ecea1['redos'],..._0x1525fe['redos'],..._0x3bc249],'undoMutations':[..._0x3ecea1[_0x45cbc1(0xe1)],..._0x1525fe[_0x45cbc1(0xe1)],..._0xce7ed3]}),!0x0;}},Is={'type':_0x49026b[_0x4cee97(0x1df)],'id':_0x4cee97(0x1b2),async 'handler'(_0x58c344,_0x1143e8){const _0x37327b=_0x4cee97;var _0x59b0eb;if(!_0x1143e8)return!0x1;const _0xd714a9=_0x58c344['get'](_0x29adac),_0x156f81=_0x66221a(_0xd714a9);if(!_0x156f81)return!0x1;const {unitId:_0x82eda4,subUnitId:_0x48a7c2,workbook:_0x5872b5}=_0x156f81,{row:_0x54f889,col:_0x1527f1}=_0x1143e8,_0x1709d1=_0x58c344[_0x37327b(0x1d9)](Ne),_0x412fec=_0x1709d1[_0x37327b(0x178)](_0x82eda4,_0x48a7c2,_0x54f889,_0x1527f1);if(!_0x412fec)return!0x1;const _0x549e95=(_0x59b0eb=_0x1709d1[_0x37327b(0x74)](_0x82eda4,_0x48a7c2,_0x412fec))==null?void 0x0:_0x59b0eb[_0x37327b(0xdd)];if(!_0x549e95)return!0x1;const _0x5a7fe5=_0x58c344[_0x37327b(0x1d9)](he)[_0x37327b(0x256)](_0x82eda4,_0x48a7c2,_0x412fec);if(!_0x5a7fe5)return!0x1;const {rowInfo:_0x4d1d66,colInfo:_0x5a0cb0}=_0x549e95,_0x5c5961=_0x4d1d66[_0x54f889]['paths'],_0x518479=_0x5a0cb0[_0x1527f1][_0x37327b(0x24f)],_0x98e149=_0x4d1d66[_0x54f889]['level'],_0x1ec4ca=_0x5a0cb0[_0x1527f1][_0x37327b(0x22a)],_0x1ca1f5=_0x5c5961[_0x37327b(0x97)](_0x518479),_0x3195a8=_0x5a7fe5[_0x37327b(0x156)][_0x37327b(0x102)][_0x37327b(0x174)](0x0,_0x98e149),_0x458659=_0x5a7fe5[_0x37327b(0x156)][_0x37327b(0x20a)][_0x37327b(0x174)](0x0,_0x1ec4ca),_0x52a04d=_0x3195a8[_0x37327b(0x97)](_0x458659),_0x2fd96b=_0x1ca1f5[_0x37327b(0x27b)]((_0x203c28,_0x4469f0)=>[_0x203c28,_0x52a04d[_0x4469f0]]),_0x926b55=(await _0x58c344[_0x37327b(0x1d9)](Z)[_0x37327b(0x27e)]({'unitId':_0x82eda4,'subUnitId':_0x48a7c2,'pivotTableId':_0x412fec,'params':{'type':A[_0x37327b(0xb6)],'drillDown':{'tuple':_0x2fd96b}}}))[_0x37327b(0x2ee)][_0x37327b(0xad)];if(!_0x926b55)return!0x1;const {indexes:_0x1402b8,range:_0x4825f2,sourceUnitId:_0x57d0bb,sourceSubUnitId:_0x5ef8d8,formatMap:_0x2ac592}=_0x926b55,{startRow:_0x3a3e5a,endRow:_0x1d405b,startColumn:_0x140a6c,endColumn:_0x5b0e7c}=_0x4825f2,_0x31b779=new _0x223fc9(),_0x2d60ff=_0x1d405b-_0x3a3e5a,_0x5f573d=_0x5b0e7c-_0x140a6c,_0x1a6852={},_0x3c6412=_0x66221a(_0xd714a9,{'unitId':_0x57d0bb,'subUnitId':_0x5ef8d8});if(!_0x3c6412)return!0x1;const _0x3acb5a=fe['colStyle'],_0x510e65=fe[_0x37327b(0x1cc)],_0x442b8c=fe[_0x37327b(0x1cc)],_0x53c6bc=_0x5872b5['getStyles']()[_0x37327b(0x2ea)](_0x3acb5a),_0x494608=_0x5872b5[_0x37327b(0x120)]()[_0x37327b(0x2ea)](_0x510e65),_0x2578f7=_0x5872b5[_0x37327b(0x120)]()[_0x37327b(0x2ea)](_0x442b8c),{worksheet:_0x49bfea}=_0x3c6412;let _0x2b7355=0x0;const _0x26b4fe=0x1;_0x1402b8['forEach'](_0x3443ef=>{const _0x201a0b=_0x37327b;for(let _0x22c9f3=0x0;_0x22c9f3<=_0x5b0e7c-_0x140a6c;_0x22c9f3++)_0x31b779['setValue'](_0x2b7355,_0x22c9f3,_0x49bfea[_0x201a0b(0x188)](_0x3443ef+_0x4825f2['startRow']+_0x26b4fe,_0x22c9f3));_0x2b7355++;});for(let _0x5f9d2f=_0x140a6c;_0x5f9d2f<=_0x5b0e7c;_0x5f9d2f++){const _0x46aa19=_0x49bfea[_0x37327b(0x188)](_0x3a3e5a,_0x5f9d2f);_0x1a6852[_0x3a3e5a]||(_0x1a6852[_0x3a3e5a]={}),_0x1a6852[_0x3a3e5a][_0x5f9d2f]={..._0x46aa19,'s':_0x53c6bc};}let _0x122dfa=0x1;const _0x3a180d={},_0x1075e3={};_0x31b779[_0x37327b(0x1fa)]((_0x50b137,_0x18ebca)=>{const _0x281fc5=_0x37327b;_0x18ebca[_0x281fc5(0x11b)](_0x30df24=>{const _0xca18db=_0x281fc5,_0x4d889f=_0x31b779[_0xca18db(0x17b)](_0x50b137,_0x30df24);if(_0x1a6852[_0x122dfa]||(_0x1a6852[_0x122dfa]={}),_0x1a6852[_0x122dfa][_0x30df24]={..._0x4d889f,'s':_0x122dfa%0x2===0x0?_0x2578f7:_0x494608},_0x2ac592[_0x30df24]&&_0x50b137>=0x0){const _0x2f4681=_0x122dfa%0x2===0x0;let _0x36045f=_0x2f4681?_0x1075e3[_0x30df24]:_0x3a180d[_0x30df24];_0x36045f||(_0x36045f=_0x5872b5[_0xca18db(0x120)]()[_0xca18db(0x2ea)]({..._0x2f4681?_0x442b8c:_0x510e65,'n':{'pattern':_0x2ac592[_0x30df24]}}),_0x2f4681?_0x1075e3[_0x30df24]=_0x36045f:_0x3a180d[_0x30df24]=_0x36045f),_0x1a6852[_0x122dfa][_0x30df24]['s']=_0x36045f;}}),_0x122dfa++;});const _0x402135=new _0x223fc9(_0x1a6852),_0x9997b0={};_0x402135[_0x37327b(0x240)]((_0x5bb4ee,_0x460a42,_0x41affb)=>{_0x9997b0[_0x5bb4ee]||(_0x9997b0[_0x5bb4ee]={}),_0x9997b0[_0x5bb4ee][_0x460a42]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x1685d5=[],_0x41bdb8=[],_0x56f1a6=_0x5872b5[_0x37327b(0x158)]()['length'],_0x1d877d=_0x35c14b({'rowCount':Math[_0x37327b(0x20b)](_0x89b0ad,_0x2d60ff+0xa),'columnCount':Math[_0x37327b(0x20b)](_0x97b78f,_0x5f573d+0x5)}),_0xb0d4ac=_0x58c344['get'](_0x18acb2);_0x1d877d['id']=_0x397182(),_0x1d877d[_0x37327b(0x24a)]=_0x5872b5[_0x37327b(0x184)](''+_0xb0d4ac['t'](_0x37327b(0x185)));const _0x5e1029={'index':_0x56f1a6,'sheet':_0x1d877d,'unitId':_0x82eda4},_0x576f8c=_0x13e8aa(_0x58c344,_0x5e1029);_0x41bdb8[_0x37327b(0x2a2)]({'id':_0x3bf316['id'],'params':_0x5e1029}),_0x1685d5[_0x37327b(0x2a2)]({'id':_0xb5a49d['id'],'params':_0x576f8c}),_0x41bdb8['push']({'id':_0x3bbdb6['id'],'params':{'unitId':_0x82eda4,'subUnitId':_0x1d877d['id'],'cellValue':_0x1a6852}}),_0x1685d5[_0x37327b(0x1b5)]({'id':_0x3bbdb6['id'],'params':{'unitId':_0x82eda4,'subUnitId':_0x1d877d['id'],'cellValue':_0x9997b0}});const _0x3f3a66={'startRow':0x0,'startColumn':0x0,'endRow':_0x122dfa-0x1,'endColumn':_0x5b0e7c};_0x41bdb8['push']({'id':_0x2e9a9f['id'],'params':{'unitId':_0x82eda4,'subUnitId':_0x1d877d['id'],'range':_0x3f3a66}}),_0x1685d5[_0x37327b(0x1b5)]({'id':_0x4d8d3c['id'],'params':{'unitId':_0x82eda4,'subUnitId':_0x1d877d['id']}});const _0x7d6f19=_0x58c344[_0x37327b(0x1d9)](_0x209817);return _0x1e8345(_0x41bdb8,_0x7d6f19)&&_0x58c344[_0x37327b(0x1d9)](_0x7c4296)[_0x37327b(0x270)]({'unitID':_0x82eda4,'undoMutations':_0x1685d5,'redoMutations':_0x41bdb8}),!0x0;}},Cs={'type':_0x49026b['COMMAND'],'id':_0x4cee97(0x136),async 'handler'(_0x4c8e65,_0x34c227){const _0x4f39cb=_0x4cee97;if(!_0x34c227)return!0x1;const _0xd7f49d=_0x4c8e65[_0x4f39cb(0x1d9)](_0x209817),_0xa048f4=_0x4c8e65[_0x4f39cb(0x1d9)](Z),_0x745b86=_0x4c8e65[_0x4f39cb(0x1d9)](_0x7c4296),{pivotTableId:_0x566569,fieldIds:_0x4785d8,unitId:_0x1a1656,subUnitId:_0x50e7e4}=_0x34c227,_0x33c8ab=(await _0xa048f4[_0x4f39cb(0x27e)]({'unitId':_0x1a1656,'subUnitId':_0x50e7e4,'pivotTableId':_0x566569,'params':{'type':A[_0x4f39cb(0x181)],'removePivotField':{'fieldIds':_0x4785d8}}}))[_0x4f39cb(0x2ee)][_0x4f39cb(0xe3)];if(!_0x33c8ab)return!0x1;const {view:_0x36b325,changesets:_0x3ba7e6,isEmpty:_0xd541d1,pivotTableConfig:_0x5334b7}=_0x33c8ab,_0x48d2ba=_0x5334b7[_0x4f39cb(0x1bb)],_0x3c7ca8=new _0x18cfb9();_0x3c7ca8[_0x4f39cb(0xa4)](_0x36b325);const _0x4cf2bb={'cellInfo':_0x48d2ba,'view':_0x3c7ca8,'isEmpty':_0xd541d1};if(!await _0x4c8e65[_0x4f39cb(0x1d9)](ie)['asyncInterceptor'][_0x4f39cb(0xf8)](be)(!0x0,_0x4cf2bb))return!0x1;const _0x4f4b29=we(_0x4c8e65,_0x3c7ca8,_0x48d2ba,_0xd541d1),_0x1f8f65=_e(_0x4c8e65,_0x4cf2bb),{redos:_0x8a306d,undos:_0xbd254a}=me(_0xd7f49d,{'pivotTableId':_0x566569,'unitId':_0x1a1656,'subUnitId':_0x50e7e4},_0x3ba7e6);return _0x1e8345([..._0x4f4b29['redos'],..._0x1f8f65[_0x4f39cb(0x173)],..._0x8a306d],_0xd7f49d),_0x745b86[_0x4f39cb(0x270)]({'unitID':_0x1a1656,'redoMutations':[..._0x4f4b29[_0x4f39cb(0x173)],..._0x1f8f65[_0x4f39cb(0x173)],..._0x8a306d],'undoMutations':[..._0x4f4b29[_0x4f39cb(0xe1)],..._0x1f8f65[_0x4f39cb(0xe1)],..._0xbd254a]}),!0x0;}},bs={'type':_0x49026b[_0x4cee97(0x1df)],'id':'sheet.command.set-pivot-collapse',async 'handler'(_0x22a2f5,_0x2a25b4){const _0x4cf90c=_0x4cee97;var _0x5c898c;const _0xd0459a=_0x22a2f5[_0x4cf90c(0x1d9)](_0x209817),_0x5292f6=_0x22a2f5[_0x4cf90c(0x1d9)](Z),_0xccb99e=_0x22a2f5[_0x4cf90c(0x1d9)](Ne),_0x1ac0c3=_0x22a2f5['get'](_0x29adac),_0x476745=_0x22a2f5['get'](_0x7c4296);if(!_0x2a25b4)return!0x1;const {unitId:_0x34d3f9,subUnitId:_0x1f8f9d,row:_0x571a49,col:_0x2b798e,collapse:_0x45d024}=_0x2a25b4,_0x932d7f=_0x1ac0c3[_0x4cf90c(0x14e)](_0x34d3f9);if(!_0x932d7f||!_0x932d7f[_0x4cf90c(0x24e)](_0x1f8f9d))return!0x1;const _0x303a8c=_0xccb99e['getPivotTableIdByCell'](_0x34d3f9,_0x1f8f9d,_0x571a49,_0x2b798e);if(!_0x303a8c)return!0x1;const _0x5033b8=_0xccb99e[_0x4cf90c(0x74)](_0x34d3f9,_0x1f8f9d,_0x303a8c);if(!_0x5033b8)return!0x1;const _0x4a1695=_0x330834(_0x571a49,_0x2b798e),{rangesInfo:_0x7a99af,areaInfo:_0x37005c,headerMap:_0x55bb3f}=_0x5033b8;if(!_0x7a99af||!_0x37005c||!_0x55bb3f)return!0x1;const _0x130d38=Object[_0x4cf90c(0xf2)](_0x7a99af)[_0x4cf90c(0x1f5)](_0x1072a5=>_0x7a99af[_0x1072a5][_0x4cf90c(0x268)](_0x4cfb59=>_0x508b94['contains'](_0x4cfb59,_0x4a1695)));let _0x5981e1;_0x130d38===_0x4cf90c(0x215)?_0x5981e1=_0x55bb3f['rowHeaderMap'][_0x2b798e]:_0x130d38===_0x4cf90c(0x12c)&&(_0x5981e1=_0x55bb3f['colHeaderMap'][_0x571a49]);const _0x3d69ef=_0x5981e1==null?void 0x0:_0x5981e1['tableFieldId'],_0x122b04=(_0x5c898c=_0xccb99e[_0x4cf90c(0x9a)](_0x34d3f9,_0x1f8f9d,_0x571a49,_0x2b798e))==null?void 0x0:_0x5c898c['v'];if(_0x122b04==null||!_0x303a8c||!_0x3d69ef)return!0x1;const _0x5ddd9d=await _0x5292f6['getPivotDisplayConfig']({'unitId':_0x34d3f9,'subUnitId':_0x1f8f9d,'pivotTableId':_0x303a8c,'params':{'type':A[_0x4cf90c(0x123)],'setPivotCollapse':{'tableFieldId':_0x3d69ef,'collapse':_0x45d024,'item':_0x122b04}}}),_0xcbdb10=_0x5ddd9d==null?void 0x0:_0x5ddd9d['result'][_0x4cf90c(0x1a7)];if(!_0xcbdb10)return!0x1;const {view:_0x2cafe6,pivotTableConfig:_0x631aa2,isEmpty:_0x4f3a95,changesets:_0x4e056d}=_0xcbdb10,_0xbcb727=new _0x18cfb9();_0xbcb727[_0x4cf90c(0xa4)](_0x2cafe6);const _0xbee6f6=_0x631aa2['targetCellInfo'],_0x2fcd2f={'cellInfo':_0xbee6f6,'view':_0xbcb727,'isEmpty':_0x4f3a95};if(!await _0x22a2f5['get'](ie)[_0x4cf90c(0xc2)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x2fcd2f))return!0x1;const _0x8bac27=we(_0x22a2f5,_0xbcb727,_0xbee6f6,_0x4f3a95),_0x24d986=_e(_0x22a2f5,_0x2fcd2f),{redos:_0x5d0cfa,undos:_0x315fbf}=me(_0xd0459a,{'pivotTableId':_0x303a8c,'unitId':_0x34d3f9,'subUnitId':_0x1f8f9d},_0x4e056d);return _0x1e8345([..._0x8bac27[_0x4cf90c(0x173)],..._0x24d986[_0x4cf90c(0x173)],..._0x5d0cfa],_0xd0459a),_0x476745['pushUndoRedo']({'unitID':_0x34d3f9,'redoMutations':[..._0x8bac27['redos'],..._0x24d986[_0x4cf90c(0x173)],..._0x5d0cfa],'undoMutations':[..._0x8bac27[_0x4cf90c(0xe1)],..._0x24d986[_0x4cf90c(0xe1)],..._0x315fbf]}),!0x0;}},Ss={'type':_0x49026b[_0x4cee97(0x1df)],'id':'sheet.command.set-pivot-filter',async 'handler'(_0x4effda,_0x3399d4){const _0x213773=_0x4cee97;if(!_0x3399d4)return!0x1;const _0x2ef979=_0x4effda[_0x213773(0x1d9)](_0x209817),{pivotTableId:_0x1ce0e2,tableFieldId:_0x536607,items:_0x51cbe1,unitId:_0x21f324,subUnitId:_0x6d3aa5,isAll:_0x5cc87b}=_0x3399d4,_0xa53bcb=_0x4effda[_0x213773(0x1d9)](Z),_0x221ec9=_0x4effda[_0x213773(0x1d9)](_0x7c4296),_0x14beba=(await _0xa53bcb[_0x213773(0x27e)]({'unitId':_0x21f324,'subUnitId':_0x6d3aa5,'pivotTableId':_0x1ce0e2,'params':{'type':A['SetPivotFilter'],'setPivotFilter':{'tableFieldId':_0x536607,'items':_0x51cbe1,'isAll':_0x5cc87b}}}))[_0x213773(0x2ee)][_0x213773(0x12d)];if(!_0x14beba)return!0x1;const {changesets:_0x3b9fa5,pivotTableConfig:_0x1226ed,isEmpty:_0x248cd0,view:_0x4eecba}=_0x14beba,_0x20efe1=_0x1226ed[_0x213773(0x1bb)],_0x522ad3=new _0x18cfb9();_0x522ad3[_0x213773(0xa4)](_0x4eecba);const _0x2bb15d={'cellInfo':_0x20efe1,'view':_0x522ad3,'isEmpty':_0x248cd0};if(!await _0x4effda[_0x213773(0x1d9)](ie)[_0x213773(0xc2)]['fetchThroughAsyncInterceptors'](be)(!0x0,_0x2bb15d))return!0x1;const _0x19ffc5=we(_0x4effda,_0x522ad3,_0x20efe1,_0x248cd0),_0xd009fa=_e(_0x4effda,_0x2bb15d),{undos:_0x4dfc68,redos:_0x25388a}=me(_0x2ef979,{'pivotTableId':_0x1ce0e2,'unitId':_0x21f324,'subUnitId':_0x6d3aa5},_0x3b9fa5);return _0x1e8345([..._0x19ffc5[_0x213773(0x173)],..._0xd009fa[_0x213773(0x173)],..._0x25388a],_0x2ef979),_0x221ec9['pushUndoRedo']({'unitID':_0x21f324,'redoMutations':[..._0x19ffc5['redos'],..._0xd009fa['redos'],..._0x25388a],'undoMutations':[..._0x19ffc5[_0x213773(0xe1)],..._0xd009fa[_0x213773(0xe1)],..._0x4dfc68]}),!0x0;}},Ts={'type':_0x49026b[_0x4cee97(0x1df)],'id':_0x4cee97(0x2dc),async 'handler'(_0x3bd1cf,_0x178903){const _0x13342c=_0x4cee97;if(!_0x178903)return!0x1;const _0x36d9e6=_0x3bd1cf['get'](_0x209817),_0x5ff34d=_0x3bd1cf[_0x13342c(0x1d9)](_0x7c4296),_0x213b72=_0x3bd1cf['get'](Z),{info:_0x3bdb1a,tableFieldId:_0x3885cd,pivotTableId:_0x1d0f20,unitId:_0x535f9e,subUnitId:_0x5236ec}=_0x178903,_0x24264e=(await _0x213b72['getPivotDisplayConfig']({'unitId':_0x535f9e,'subUnitId':_0x5236ec,'pivotTableId':_0x1d0f20,'params':{'type':A[_0x13342c(0x2b0)],'setPivotSort':{'tableFieldId':_0x3885cd,'info':_0x3bdb1a}}}))[_0x13342c(0x2ee)][_0x13342c(0x216)];if(!_0x24264e)return!0x1;const {changesets:_0x2ed1b7}=_0x24264e,{redos:_0x192706,undos:_0x39c89b}=me(_0x36d9e6,{'pivotTableId':_0x1d0f20,'unitId':_0x535f9e,'subUnitId':_0x5236ec},_0x2ed1b7);return _0x1e8345(_0x192706,_0x36d9e6),_0x5ff34d[_0x13342c(0x270)]({'unitID':_0x535f9e,'redoMutations':_0x192706,'undoMutations':_0x39c89b}),!0x0;}},Ps={'type':_0x49026b[_0x4cee97(0x1df)],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x3e6c47,_0x40c502){const _0x1d6cea=_0x4cee97;if(!_0x40c502)return!0x1;const _0x29c2c3=_0x3e6c47[_0x1d6cea(0x1d9)](_0x209817),_0x25f5c0=_0x3e6c47[_0x1d6cea(0x1d9)](_0x7c4296),_0x3ce360=_0x3e6c47[_0x1d6cea(0x1d9)](Z),{displayName:_0x313d38,subtotalType:_0x141823,format:_0x5a600e,tableFieldId:_0x518029,pivotTableId:_0xf025cb,unitId:_0x3b3dc3,subUnitId:_0x3a3523}=_0x40c502,_0x5e80d5=(await _0x3ce360[_0x1d6cea(0x27e)]({'unitId':_0x3b3dc3,'subUnitId':_0x3a3523,'pivotTableId':_0xf025cb,'params':{'type':A[_0x1d6cea(0x2c2)],'setPivotSetting':{'tableFieldId':_0x518029,'displayName':_0x313d38,'subtotalType':_0x141823,'format':_0x5a600e}}}))['result'][_0x1d6cea(0x243)];if(!_0x5e80d5)return!0x1;const {changesets:_0x2172d4,view:_0x5dad50,pivotTableConfig:_0x4f6766,isEmpty:_0x11a3c4}=_0x5e80d5,_0x428cbf=_0x4f6766[_0x1d6cea(0x1bb)],_0x6297af=new _0x18cfb9();_0x6297af[_0x1d6cea(0xa4)](_0x5dad50);const _0x56e4a4={'cellInfo':_0x428cbf,'view':_0x6297af,'isEmpty':_0x11a3c4};if(!await _0x3e6c47[_0x1d6cea(0x1d9)](ie)[_0x1d6cea(0xc2)][_0x1d6cea(0xf8)](be)(!0x0,_0x56e4a4))return!0x1;const _0x34bb90=we(_0x3e6c47,_0x6297af,_0x428cbf,_0x11a3c4),_0x591e82=_e(_0x3e6c47,_0x56e4a4),{undos:_0x58ad22,redos:_0x4f3deb}=me(_0x29c2c3,{'pivotTableId':_0xf025cb,'unitId':_0x3b3dc3,'subUnitId':_0x3a3523},_0x2172d4);return _0x1e8345([..._0x34bb90[_0x1d6cea(0x173)],..._0x591e82[_0x1d6cea(0x173)],..._0x4f3deb],_0x29c2c3),_0x25f5c0[_0x1d6cea(0x270)]({'unitID':_0x3b3dc3,'redoMutations':[..._0x34bb90[_0x1d6cea(0x173)],..._0x591e82[_0x1d6cea(0x173)],..._0x4f3deb],'undoMutations':[..._0x34bb90[_0x1d6cea(0xe1)],..._0x591e82['undos'],..._0x58ad22]}),!0x0;}},ys={'type':_0x49026b[_0x4cee97(0x1df)],'id':_0x4cee97(0xdf),async 'handler'(_0x183e2c,_0x19c90f){const _0x219acc=_0x4cee97,_0x43244d=_0x183e2c['get'](_0x209817),_0x1f3651=_0x183e2c[_0x219acc(0x1d9)](Z),_0x2dfba5=_0x183e2c[_0x219acc(0x1d9)](_0x7c4296);if(!_0x19c90f)return!0x1;const {token:_0x2bfd41,dataRangeInfo:_0x2d361b,unitId:_0x3277cf,subUnitId:_0xbd77c8}=_0x19c90f,_0x364e99=[],_0x40868d=[],_0x4efb1f=(await _0x1f3651[_0x219acc(0x27e)]({'unitId':_0x3277cf,'subUnitId':_0xbd77c8,'pivotTableId':_0x2bfd41,'params':{'type':A[_0x219acc(0x2aa)],'updatePivotSource':{'dataRangeInfo':_0x2d361b,'unitId':_0x3277cf,'subUnitId':_0xbd77c8}}}))[_0x219acc(0x2ee)]['updatePivotSource'];if(!_0x4efb1f)return!0x1;const {changesets:_0x59afb3,deleteIds:_0x3b9dc8,collectionConfig:_0x4ac116,oldCollectionConfig:_0xe04b6c,view:_0x4008c7,isEmpty:_0xa093f2,pivotTableConfig:_0x246634}=_0x4efb1f;_0x40868d[_0x219acc(0x2a2)]({'id':to['id'],'params':{'pivotTableId':_0x2bfd41,'deleteIds':_0x3b9dc8,'collectionJSON':_0x4ac116,'dataRangeInfo':_0x2d361b,'unitId':_0x3277cf,'subUnitId':_0xbd77c8}}),_0x364e99[_0x219acc(0x1b5)]({'id':to['id'],'params':{'pivotTableId':_0x2bfd41,'deleteIds':[],'collectionJSON':_0xe04b6c,'dataRangeInfo':_0x246634['sourceRangeInfo'],'unitId':_0x3277cf,'subUnitId':_0xbd77c8}});const _0x497b99=_0x246634['targetCellInfo'],_0x46242c=new _0x18cfb9();_0x46242c[_0x219acc(0xa4)](_0x4008c7);const _0x2892ab={'cellInfo':_0x497b99,'view':_0x46242c,'isEmpty':_0xa093f2};if(!await _0x183e2c['get'](ie)['asyncInterceptor'][_0x219acc(0xf8)](be)(!0x0,_0x2892ab))return!0x1;const _0x2e06a7=we(_0x183e2c,_0x46242c,_0x497b99,_0xa093f2),_0x1b0201=_e(_0x183e2c,_0x2892ab),{undos:_0x2b11ab,redos:_0x277ba5}=me(_0x43244d,{'pivotTableId':_0x2bfd41,'unitId':_0x3277cf,'subUnitId':_0xbd77c8},_0x59afb3);return _0x1e8345([..._0x2e06a7[_0x219acc(0x173)],..._0x1b0201['redos'],..._0x40868d,..._0x2b11ab],_0x43244d),_0x2dfba5[_0x219acc(0x270)]({'unitID':_0x3277cf,'redoMutations':[..._0x2e06a7[_0x219acc(0x173)],..._0x1b0201[_0x219acc(0x173)],..._0x40868d,..._0x2b11ab],'undoMutations':[..._0x2e06a7[_0x219acc(0xe1)],..._0x1b0201[_0x219acc(0xe1)],..._0x364e99,..._0x277ba5]}),!0x0;}},Ms={'type':_0x49026b[_0x4cee97(0x1df)],'id':'sheet.command.update-pivot-value-position',async 'handler'(_0x3e4e5a,_0x231d93){const _0x175a72=_0x4cee97;if(!_0x231d93)return!0x1;const _0x1bd41c=_0x3e4e5a[_0x175a72(0x1d9)](_0x209817),_0xd293af=_0x3e4e5a[_0x175a72(0x1d9)](Z),_0x533457=_0x3e4e5a[_0x175a72(0x1d9)](_0x29adac),_0x1da991=_0x3e4e5a[_0x175a72(0x1d9)](_0x7c4296),{pivotTableId:_0x5cc2f6,position:_0x337b0b,index:_0x4c1956}=_0x231d93,_0x158a63=_0x66221a(_0x533457);if(!_0x158a63)return!0x1;const {unitId:_0x3655e2,subUnitId:_0x8b76f8}=_0x158a63,_0x4ab2e6=(await _0xd293af[_0x175a72(0x27e)]({'unitId':_0x3655e2,'subUnitId':_0x8b76f8,'pivotTableId':_0x5cc2f6,'params':{'type':A['UpdateValuePosition'],'updateValuePosition':{'position':_0x337b0b,'index':_0x4c1956}}}))[_0x175a72(0x2ee)][_0x175a72(0x169)];if(!_0x4ab2e6)return!0x1;const {changesets:_0x47a34d,view:_0x4cb7af,isEmpty:_0x283423,pivotTableConfig:_0x31c64b}=_0x4ab2e6,_0x25eb1c=_0x31c64b['targetCellInfo'],_0x1fb31e=new _0x18cfb9();_0x1fb31e['formJSON'](_0x4cb7af);const _0x56545f=_0x3e4e5a[_0x175a72(0x1d9)](ie),_0xb814d1={'cellInfo':_0x25eb1c,'view':_0x1fb31e,'isEmpty':_0x283423};if(!await _0x56545f[_0x175a72(0xc2)][_0x175a72(0xf8)](be)(!0x0,_0xb814d1))return!0x1;const _0x13f277=we(_0x3e4e5a,_0x1fb31e,_0x25eb1c,_0x283423),_0x42da43=_e(_0x3e4e5a,_0xb814d1),{undos:_0x4568fc,redos:_0x121a03}=me(_0x1bd41c,{'pivotTableId':_0x5cc2f6,'unitId':_0x3655e2,'subUnitId':_0x8b76f8},_0x47a34d);return _0x1e8345([..._0x13f277[_0x175a72(0x173)],..._0x42da43[_0x175a72(0x173)],..._0x121a03],_0x1bd41c),_0x1da991[_0x175a72(0x270)]({'unitID':_0x3655e2,'redoMutations':[..._0x13f277[_0x175a72(0x173)],..._0x42da43['redos'],..._0x121a03],'undoMutations':[..._0x13f277[_0x175a72(0xe1)],..._0x42da43['undos'],..._0x4568fc]}),!0x0;}},ws={'type':_0x49026b['COMMAND'],'id':_0x4cee97(0x1d3),'handler':(_0x14877e,_0x432801)=>{const _0x417a85=_0x4cee97,_0x3c1db3=_0x14877e[_0x417a85(0x1d9)](_0x209817),_0x3b4e41=_0x14877e['get'](_0x7c4296),_0x44f63d=_0x14877e['get'](he),_0x17e009=_0x14877e[_0x417a85(0x1d9)](_0x29adac);if(!_0x432801)return!0x1;const _0x219579=_0x66221a(_0x17e009);if(!_0x219579)return!0x1;const {unitId:_0x46bfec,subUnitId:_0x340dbd,workbook:_0x265910}=_0x219579,_0x53ffe6=_0x44f63d[_0x417a85(0x256)](_0x432801[_0x417a85(0x259)][_0x417a85(0x16d)],_0x432801[_0x417a85(0x259)][_0x417a85(0x282)],_0x432801[_0x417a85(0xda)]);if(!_0x53ffe6)return!0x1;const _0x48b30b=_0x265910['getSheetBySheetId'](_0x432801[_0x417a85(0x1bb)][_0x417a85(0x282)]);if(!_0x48b30b)throw new Error(_0x417a85(0x1f2));const _0x5a6b9b=_0x48b30b[_0x417a85(0x2b4)](),_0x318f41=_0x48b30b[_0x417a85(0xcb)]();if(_0x432801[_0x417a85(0x1bb)][_0x417a85(0x28a)]>_0x5a6b9b||_0x432801[_0x417a85(0x1bb)][_0x417a85(0x224)]>_0x318f41)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x1bd867=[{'id':pt['id'],'params':{'unitId':_0x46bfec,'subUnitId':_0x432801[_0x417a85(0x1bb)]['subUnitId'],'pivotTableId':_0x432801['pivotTableId'],'targetCellPosition':{'row':_0x432801[_0x417a85(0x1bb)][_0x417a85(0x28a)],'col':_0x432801[_0x417a85(0x1bb)][_0x417a85(0x224)]}}}],_0x30df17=[{'id':pt['id'],'params':{'unitId':_0x46bfec,'subUnitId':_0x340dbd,'pivotTableId':_0x432801[_0x417a85(0xda)],'targetCellPosition':{'row':_0x53ffe6[_0x417a85(0x1bb)][_0x417a85(0x28a)],'col':_0x53ffe6[_0x417a85(0x1bb)][_0x417a85(0x224)]}}}];return _0x1e8345(_0x1bd867,_0x3c1db3)&&_0x3b4e41['pushUndoRedo']({'unitID':_0x46bfec,'undoMutations':_0x30df17,'redoMutations':_0x1bd867}),!0x0;}},_s={'type':_0x49026b[_0x4cee97(0x1df)],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0x1c0ae3,_0x52682a){const _0x3795b5=_0x4cee97;if(!_0x52682a)return!0x1;const _0x3bea6b=_0x1c0ae3[_0x3795b5(0x1d9)](_0x209817),{pivotTableId:_0x2db70a,fieldId:_0x8f26e7,valueFilterInfo:_0x34b9a2,unitId:_0x22d9dc,subUnitId:_0x266f53}=_0x52682a,_0x156691=_0x1c0ae3[_0x3795b5(0x1d9)](Z),_0x837a3a=_0x1c0ae3['get'](_0x7c4296),_0x457577=(await _0x156691[_0x3795b5(0x27e)]({'unitId':_0x22d9dc,'subUnitId':_0x266f53,'pivotTableId':_0x2db70a,'params':{'type':A[_0x3795b5(0x2ed)],'setValuePivotFilter':{'tableFieldId':_0x8f26e7,'filterInfo':_0x34b9a2}}}))[_0x3795b5(0x2ee)][_0x3795b5(0x118)];if(!_0x457577)return!0x1;const {changesets:_0x130200,pivotTableConfig:_0x409249,isEmpty:_0x3221a4,view:_0x5540b4}=_0x457577,_0x1a5c26=_0x409249[_0x3795b5(0x1bb)],_0x1a7048=new _0x18cfb9();_0x1a7048[_0x3795b5(0xa4)](_0x5540b4);const _0x2196ab={'cellInfo':_0x1a5c26,'view':_0x1a7048,'isEmpty':_0x3221a4};if(!await _0x1c0ae3[_0x3795b5(0x1d9)](ie)[_0x3795b5(0xc2)][_0x3795b5(0xf8)](be)(!0x0,_0x2196ab))return!0x1;const _0x4a614f=we(_0x1c0ae3,_0x1a7048,_0x1a5c26,_0x3221a4),_0xdd3422=_e(_0x1c0ae3,_0x2196ab),{undos:_0x7723b6,redos:_0x4f2ef3}=me(_0x3bea6b,{'pivotTableId':_0x2db70a,'unitId':_0x22d9dc,'subUnitId':_0x266f53},_0x130200);return _0x1e8345([..._0x4a614f[_0x3795b5(0x173)],..._0xdd3422[_0x3795b5(0x173)],..._0x4f2ef3],_0x3bea6b),_0x837a3a['pushUndoRedo']({'unitID':_0x22d9dc,'redoMutations':[..._0x4a614f['redos'],..._0xdd3422[_0x3795b5(0x173)],..._0x4f2ef3],'undoMutations':[..._0x4a614f[_0x3795b5(0xe1)],..._0xdd3422[_0x3795b5(0xe1)],..._0x7723b6]}),!0x0;}},Fs={'type':_0x49026b[_0x4cee97(0x1df)],'id':_0x4cee97(0x80),async 'handler'(_0x30f1bf,_0x652dda){const _0x3de5b5=_0x4cee97;if(!_0x652dda)return!0x1;const _0x4e5268=_0x30f1bf[_0x3de5b5(0x1d9)](_0x209817),_0x232cfe=_0x30f1bf[_0x3de5b5(0x1d9)](_0x7c4296),_0x4ef775=_0x30f1bf[_0x3de5b5(0x1d9)](Z),{pivotTableConfig:_0x2081d7,pivotTableId:_0x181b2a,unitId:_0x59d528,subUnitId:_0x5d1900}=_0x652dda,_0x1c73e9=(await _0x4ef775[_0x3de5b5(0x27e)]({'unitId':_0x59d528,'subUnitId':_0x5d1900,'pivotTableId':_0x181b2a,'params':{'type':A[_0x3de5b5(0x177)],'setPivotTableConfig':{'pivotTableId':_0x181b2a,'pivotTableConfig':_0x2081d7}}}))['result'][_0x3de5b5(0xff)];if(!_0x1c73e9)return!0x1;const {changesets:_0x59cdf7}=_0x1c73e9,{redos:_0x389041,undos:_0x51b474}=me(_0x4e5268,{'pivotTableId':_0x181b2a,'unitId':_0x59d528,'subUnitId':_0x5d1900},_0x59cdf7);return _0x1e8345(_0x389041,_0x4e5268),_0x232cfe[_0x3de5b5(0x270)]({'unitID':_0x59d528,'redoMutations':_0x389041,'undoMutations':_0x51b474}),!0x0;}},Rs={'type':_0x49026b[_0x4cee97(0x1df)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x468205,_0x4b714f){const _0x1b2110=_0x4cee97;if(!_0x4b714f)return!0x1;const _0xc1931a=_0x468205[_0x1b2110(0x1d9)](_0x209817),_0x111f1c=_0x468205[_0x1b2110(0x1d9)](_0x7c4296),_0x541dd4=_0x468205[_0x1b2110(0x1d9)](Z),{resetArea:_0x35b54a,pivotTableId:_0x4c3a11,unitId:_0x154d4d,subUnitId:_0x2c3b79}=_0x4b714f,_0x6739c8=(await _0x541dd4[_0x1b2110(0x27e)]({'unitId':_0x154d4d,'subUnitId':_0x2c3b79,'pivotTableId':_0x4c3a11,'params':{'type':A[_0x1b2110(0x288)],'resetPivotTable':{'pivotTableId':_0x4c3a11,'resetArea':_0x35b54a}}}))[_0x1b2110(0x2ee)][_0x1b2110(0x24d)];if(!_0x6739c8)return!0x1;const {changesets:_0x27844d}=_0x6739c8,{redos:_0x10ad2b,undos:_0x5945b5}=me(_0xc1931a,{'pivotTableId':_0x4c3a11,'unitId':_0x154d4d,'subUnitId':_0x2c3b79},_0x27844d);return _0x1e8345(_0x10ad2b,_0xc1931a),_0x111f1c[_0x1b2110(0x270)]({'unitID':_0x154d4d,'redoMutations':_0x10ad2b,'undoMutations':_0x5945b5}),!0x0;}},oo={'id':'sheet.mutation.update-date-group','type':_0x49026b[_0x4cee97(0x15b)],'handler':(_0x4ddd09,_0x18af52)=>{const _0x49dddf=_0x4cee97;if(!_0x18af52)return!0x1;if(!!_0x4ddd09[_0x49dddf(0x1d9)](_0x3ff295)[_0x49dddf(0x7a)](q))return!0x0;const {unitId:_0x348e8e,subUnitId:_0xf55f92,pivotTableId:_0x1b4eff,tableFieldId:_0x407751,dateType:_0xa62ba3}=_0x18af52,_0xadd512=_0x4ddd09['get']($),_0x1ee96c=_0xadd512[_0x49dddf(0x142)](_0x1b4eff);if(!_0x1ee96c)return!0x1;const _0x1d8297=_0x1ee96c[_0x49dddf(0x1e7)](_0x407751);if(!_0x1d8297)return!0x1;const _0x7d311=_0x1d8297[_0x49dddf(0x2de)](),_0x284cbc=_0x1ee96c['getDataFieldByDataFieldId'](_0x7d311),_0x33c14e=(_0x284cbc==null?void 0x0:_0x284cbc['getName']())+'\x20'+qo(_0x4ddd09,_0xa62ba3);_0xadd512[_0x49dddf(0xd9)](_0x348e8e,_0x1b4eff)[_0x49dddf(0x20d)](_0x1d8297['id'],_0x33c14e);const _0x2ca836=_0x1ee96c[_0x49dddf(0x139)](_0x407751);if(!_0x2ca836)return!0x1;_0x1ee96c[_0x49dddf(0xc3)](_0x2ca836[_0x49dddf(0x1cd)](),_0x33c14e),_0x1d8297['setDateType'](_0xa62ba3);const _0x414c2c=_0xadd512['getPivotTableConfig'](_0x348e8e,_0xf55f92,_0x1b4eff);return _0xadd512[_0x49dddf(0xb4)]({'unitId':_0x348e8e,'subUnitId':_0xf55f92,'token':_0x1b4eff,'type':G['Set'],'pivotConfig':_0x414c2c}),!0x0;}},Ds={'id':_0x4cee97(0x23e),'type':_0x49026b[_0x4cee97(0x1df)],'handler':(_0x34069e,_0x450be5)=>{const _0x727f8=_0x4cee97;if(!_0x450be5)return!0x1;const _0x5d5757=_0x34069e[_0x727f8(0x1d9)](_0x7c4296),{unitId:_0x4925e6,subUnitId:_0x2664de,pivotTableId:_0x2339c9,tableFieldId:_0x5698d9}=_0x450be5,_0x3cc4eb=[],_0xa032e7=[],_0x3be1d2=_0x34069e[_0x727f8(0x1d9)](he),_0x208572=_0x3be1d2['getCollection'](_0x4925e6,_0x2339c9),_0x1f41f6=_0x3be1d2[_0x727f8(0x256)](_0x4925e6,_0x2664de,_0x2339c9);if(!(_0x1f41f6!=null&&_0x1f41f6[_0x727f8(0x156)]['dimension']))return!0x1;const _0x34b62f=Object[_0x727f8(0x194)](_0x1f41f6[_0x727f8(0x156)][_0x727f8(0xaa)])[_0x727f8(0x1f5)](_0x24387e=>_0x24387e['id']===_0x5698d9);if(!_0x34b62f)return!0x1;const _0x2035c4=_0x34b62f[_0x727f8(0x78)];if(!(_0x208572!=null&&_0x208572[_0x727f8(0x8d)]))return!0x1;const _0x438907=Object[_0x727f8(0x194)](_0x208572==null?void 0x0:_0x208572['fields'])[_0x727f8(0x1f5)](_0x1fdb7c=>_0x1fdb7c['id']===_0x2035c4);if(!_0x438907)return!0x1;_0x1b027d(_0x438907)&&_0x3cc4eb[_0x727f8(0x2a2)]({'id':oo['id'],'params':{..._0x450be5,'dateType':_0x438907[_0x727f8(0x7f)]}}),_0xa032e7[_0x727f8(0x2a2)]({'id':oo['id'],'params':{..._0x450be5}});const _0x57db47=_0x34069e['get'](_0x209817);return _0x1e8345(_0xa032e7,_0x57db47)&&_0x5d5757[_0x727f8(0x270)]({'unitID':_0x4925e6,'undoMutations':_0x3cc4eb,'redoMutations':_0xa032e7}),!0x0;}};var Ns=Object[_0x4cee97(0x236)],Es=(_0x2ffe80,_0xcefc9b,_0x121d27,_0x3813af)=>{const _0x4b0bcf=_0x4cee97;for(var _0x1dd538=_0x3813af>0x1?void 0x0:_0x3813af?Ns(_0xcefc9b,_0x121d27):_0xcefc9b,_0x472d84=_0x2ffe80[_0x4b0bcf(0x29c)]-0x1,_0x4e031b;_0x472d84>=0x0;_0x472d84--)(_0x4e031b=_0x2ffe80[_0x472d84])&&(_0x1dd538=_0x4e031b(_0x1dd538)||_0x1dd538);return _0x1dd538;},Ke=(_0x239a1f,_0x243ba4)=>(_0xe287a1,_0x30e471)=>_0x243ba4(_0xe287a1,_0x30e471,_0x239a1f);const Os=()=>({'runtimeCellData':{},'dirtyRanges':{}}),Us=(_0x8c2485,_0xd64340,_0x5f01e4)=>{const _0x5a8579=_0x4cee97,_0x217414=_0x8c2485[_0x5a8579(0x237)];_0x8c2485[_0x5a8579(0x2ab)](_0x3a10e1=>{const _0x389d0c=_0x5a8579,_0x1d6b2b=_0x3a10e1[_0x389d0c(0x1cd)](),_0x44d719=_0x3a10e1['getDataFieldId'](),_0x1f1d9b=_0x3a10e1[_0x389d0c(0x1c1)](),_0x251acf=_0x3a10e1[_0x389d0c(0x71)]();_0xd64340[_0x44d719]&&_0xd64340[_0x44d719]===_0x251acf&&_0x1f1d9b===_0x251acf&&(_0x8c2485[_0x389d0c(0xc3)](_0x1d6b2b,_0x217414[_0x389d0c(0x71)](_0x44d719)),_0x3a10e1[_0x389d0c(0x21d)](_0x217414[_0x389d0c(0x71)](_0x44d719)));}),_0x8c2485[_0x5a8579(0x18d)](_0x15054a[_0x5a8579(0x90)],_0x1569c0=>{const _0x379e89=_0x5a8579,_0x5b2080=_0x1569c0['getId'](),_0x567c71=_0x1569c0[_0x379e89(0x226)](),_0x396315=_0x1569c0[_0x379e89(0x1c1)](),_0x592e58=_0x1569c0['getDisplayName'](),_0x47756c=_0x1569c0[_0x379e89(0x1d5)](),_0xc2a144=_0x5f01e4(_0x396315,_0x47756c);_0xd64340[_0x567c71]&&_0xd64340[_0x567c71]===_0x396315&&_0xc2a144===_0x592e58&&(_0x8c2485[_0x379e89(0xc3)](_0x5b2080,_0x5f01e4(_0x217414[_0x379e89(0x71)](_0x567c71),_0x47756c)),_0x1569c0[_0x379e89(0x21d)](_0x217414[_0x379e89(0x71)](_0x567c71)));});},xs=(_0x344197,_0x8d6718,_0x422f6e)=>{const _0x386615=_0x4cee97;var _0x397999,_0x5b2f01;const {arrayFormulaCellData:_0x9aab49,unitData:_0x4bf6a1}=_0x8d6718,{unitId:_0x3b3fdb,subUnitId:_0x36de78}=_0x422f6e,_0x418033=_0x422f6e[_0x386615(0x75)],{startColumn:_0x2d970e,endColumn:_0x24c189}=_0x418033,_0x315f85=(_0x397999=_0x9aab49==null?void 0x0:_0x9aab49[_0x3b3fdb])==null?void 0x0:_0x397999[_0x36de78],_0x351924=(_0x5b2f01=_0x4bf6a1==null?void 0x0:_0x4bf6a1[_0x3b3fdb])==null?void 0x0:_0x5b2f01[_0x36de78],_0x494fd3=new Set(),_0x27fd5f=_0x24c189-_0x2d970e+0x1,{dirtyRanges:_0x23685c}=_0x344197;if(_0x23685c)for(const {range:_0x30c882,sheetId:_0x5f4784,unitId:_0x107d26}of _0x23685c){if(_0x5f4784!==_0x36de78||_0x3b3fdb!==_0x107d26)continue;const _0x15bc1b=_0x508b94[_0x386615(0x277)](_0x30c882,_0x418033);if(_0x15bc1b){const {startColumn:_0x17d18c,endColumn:_0x1dea1c}=_0x15bc1b;for(let _0x342a32=_0x17d18c;_0x342a32<=_0x1dea1c;_0x342a32++)_0x494fd3[_0x386615(0x221)](_0x342a32);}}if(_0x494fd3[_0x386615(0x276)]===_0x27fd5f||_0x494fd3['size']===_0x27fd5f)return Array['from'](_0x494fd3);if(_0x351924){const _0x4cd18e=_0x351924[_0x386615(0x208)](),_0x120a9a=Object['keys'](_0x4cd18e);for(const _0x17a9f7 of _0x120a9a){const _0x4dbddd=Number(_0x17a9f7),_0x4c956b=_0x4cd18e[_0x4dbddd];if(_0x494fd3[_0x386615(0x276)]===_0x27fd5f)break;for(const _0x50f286 in _0x4c956b){const _0x14538b=Number(_0x50f286);_0x14538b<_0x2d970e||_0x14538b>_0x24c189||_0x494fd3[_0x386615(0x221)](_0x14538b);}}}if(_0x315f85){const _0x8a6aae=_0x315f85[_0x386615(0x208)](),_0x3cb0ed=Object[_0x386615(0xf2)](_0x8a6aae);for(const _0x229ac7 of _0x3cb0ed){const _0x3f6645=Number(_0x229ac7),_0x4fb355=_0x8a6aae[_0x3f6645];if(_0x494fd3[_0x386615(0x276)]===_0x27fd5f)break;for(const _0x5e049a in _0x4fb355){const _0x2f3521=Number(_0x5e049a);_0x2f3521<_0x2d970e||_0x2f3521>_0x24c189||_0x494fd3[_0x386615(0x221)](_0x2f3521);}}}return Array[_0x386615(0x12f)](_0x494fd3);},Vs=_0x3f44f2=>{const _0x1cd083=_0x4cee97,_0x38b2ea=new Set(),_0x54147f=[];for(const _0x45a063 of _0x3f44f2){const _0x5b6305=_0x45a063[_0x1cd083(0x99)]+','+_0x45a063['endRow']+','+_0x45a063['startColumn']+','+_0x45a063['endColumn'];_0x38b2ea[_0x1cd083(0xfb)](_0x5b6305)||(_0x38b2ea[_0x1cd083(0x221)](_0x5b6305),_0x54147f[_0x1cd083(0x2a2)](_0x45a063));}return _0x54147f;};let ct=class extends _0x125de6{constructor(_0xb11d76,_0x231420,_0x15f6a9,_0x4314b4,_0x14cd80,_0x3bd650){const _0x90647f=_0x4cee97;super(),O(this,_0x90647f(0x10e),new _0x14e874(!0x0)),O(this,_0x90647f(0x1c2),_0x166f90=>{const _0x234b3a=_0x90647f;this[_0x234b3a(0x10e)][_0x234b3a(0x2b3)](!0x1);}),O(this,'_globalComputedEndHelpFunc',_0x58f00c=>{const _0x50242b=_0x90647f;this['_globalSubject'][_0x50242b(0x2b3)](!0x0);}),(this[_0x90647f(0x23b)]=_0xb11d76,this[_0x90647f(0xc6)]=_0x231420,this['_featureCalculationManagerService']=_0x15f6a9,this[_0x90647f(0x260)]=_0x4314b4,this[_0x90647f(0x1b8)]=_0x14cd80,this[_0x90647f(0x2e0)]=_0x3bd650,this[_0x90647f(0x81)](),this[_0x90647f(0x2f1)]());}[_0x4cee97(0x81)](){const _0x502b28=_0x4cee97;this[_0x502b28(0xae)](),this[_0x502b28(0x161)](),this['_initPivotTextInfo'](),this['_subjectFieldsCollectionChange']();}[_0x4cee97(0x2c8)](){const _0x580604=_0x4cee97;this[_0x580604(0x1b8)][_0x580604(0x2e2)](this[_0x580604(0x10e)]),_0x5c6617[_0x580604(0xf7)](_0x353462[_0x580604(0x250)],this['_globalComputedStartHelpFunc']),_0x5c6617[_0x580604(0xf7)](_0x353462['onQueryEnd'],this[_0x580604(0x1d6)]);}[_0x4cee97(0x2f1)](){const _0x730639=_0x4cee97;this[_0x730639(0x2c3)](this[_0x730639(0x260)][_0x730639(0x2a1)](_0x1eddc8=>{const _0x456b49=_0x730639;_0x1eddc8['id']===_0x3f9f63['id']&&this[_0x456b49(0x23b)][_0x456b49(0x135)](_0x1eddc8['params']);})),this[_0x730639(0x2c3)](this[_0x730639(0x260)][_0x730639(0x2a1)](_0x485363=>{const _0x258875=_0x730639;if(_0x485363['id']!==ro['id'])return;const _0x301722=_0x485363[_0x258875(0x86)],{unitId:_0x226b77,subUnitId:_0x20013f,pivotTableId:_0x4d5d76}=_0x301722,_0x13ddd7=_0x301722[_0x258875(0x86)]['type'],_0x3716c4={};switch(_0x13ddd7){case A['Filter']:{const _0xf1c433=_0x301722[_0x258875(0x86)][_0x258875(0x134)];if(!_0xf1c433)return;const {row:_0x58158f,col:_0x40447b,cellData:_0x25a394,pivotItemRenderInfoCache:_0x350f97,tableFieldId:_0x5c6522}=_0xf1c433,_0x3a8e57=this[_0x258875(0x23b)][_0x258875(0x142)](_0x301722[_0x258875(0xda)]);if(!_0x3a8e57||!_0x350f97)return;if(_0x5c6522){const _0x4d037d=_0x3a8e57['getDataFieldByTableId'](_0x5c6522);if(!_0x4d037d)return;_0x3716c4[_0x258875(0x134)]={..._0x3a8e57[_0x258875(0x244)](_0x4d037d),'tableFieldId':_0x5c6522,'pivotTableId':_0x301722[_0x258875(0xda)],'filterInfo':_0x3a8e57[_0x258875(0x1a4)](_0x5c6522),'sortInfo':_0x3a8e57['getSortInfo'](_0x5c6522),'format':_0x3a8e57[_0x258875(0x189)](_0x5c6522)};}else{const _0x58a513=xi(_0x58158f,_0x40447b,_0x25a394,_0x3a8e57,_0x350f97),_0x567faf=_0x58a513==null?void 0x0:_0x58a513['filterId'];if(!_0x567faf)return;const _0x247879=_0x3a8e57['getDataFieldByTableId'](_0x567faf);if(!_0x247879)return;_0x3716c4['filter']={..._0x3a8e57['getDataFieldItemInfo'](_0x247879),'tableFieldId':_0x567faf,'pivotTableId':_0x301722['pivotTableId'],'filterInfo':_0x3a8e57[_0x258875(0x1a4)](_0x567faf),'sortInfo':_0x3a8e57[_0x258875(0x213)](_0x567faf),'format':_0x3a8e57[_0x258875(0x189)](_0x567faf)};}}break;case A[_0x258875(0xb0)]:{const _0x57818d=_0x301722['params'][_0x258875(0x2cd)];if(!_0x57818d)return;const {pivotTableId:_0x51bc86}=_0x57818d,_0x4b4088=this[_0x258875(0x23b)][_0x258875(0x142)](_0x51bc86);if(!_0x4b4088)return;const _0x217c91=this[_0x258875(0x23b)][_0x258875(0x256)](_0x226b77,_0x20013f,_0x51bc86),_0x235d70=Vi(_0x4b4088,_0x51bc86,_0x217c91);_0x3716c4[_0x258875(0x2cd)]=_0x235d70;}break;case A['AddPivotField']:{const _0x2093e2=this[_0x258875(0x23b)][_0x258875(0x142)](_0x4d5d76),_0x26b317=this[_0x258875(0x23b)]['getDataFieldManager'](_0x226b77),_0x232d29=_0x26b317[_0x258875(0xd9)](_0x4d5d76);let _0x470850=null;const _0x137535=this[_0x258875(0x23b)][_0x258875(0x256)](_0x226b77,_0x20013f,_0x4d5d76),_0x5ab87b=_0x301722['params'][_0x258875(0xbc)];if(!_0x2093e2||!_0x137535||!_0x5ab87b)return!0x1;const {dataFieldId:_0x48acf3,fieldArea:_0x13a0f8,index:_0x4c9542}=_0x5ab87b;_0x2093e2[_0x258875(0xf9)]();const _0x5f3437=_0x2093e2[_0x258875(0x7b)](_0x48acf3,_0x13a0f8,_0x4c9542);if(_0x5f3437&&_0x13a0f8===_0x15054a[_0x258875(0x90)]){const _0x65feee=_0x5f3437[_0x258875(0x1cd)](),_0x110f94=_0x2093e2[_0x258875(0x1e7)](_0x65feee);if(_0x110f94){const _0x45faee=_0x110f94==null?void 0x0:_0x110f94[_0x258875(0x205)]();_0x2093e2['setSubtotalType'](_0x5f3437[_0x258875(0x1cd)](),_0x45faee===_0x1061a3[_0x258875(0x2e3)]?_0x230a2c[_0x258875(0x18e)]:_0x230a2c['count']);}const _0x4416fe=_0x2093e2[_0x258875(0x1af)](),_0x40e054=_0x2093e2['getValuePosition'](),_0x87d526=_0x2093e2[_0x258875(0x2c9)](_0x15054a[_0x258875(0x90)]);if(_0x4416fe===-0x1&&_0x87d526>0x1){const _0x60284d=_0x40e054===_0xb63d31[_0x258875(0xb7)]?_0xb63d31['Column']:_0x40e054,_0x43480e=_0x60284d===_0xb63d31[_0x258875(0x29f)]?_0x15054a[_0x258875(0x29f)]:_0x15054a[_0x258875(0x195)];_0x2093e2[_0x258875(0x169)](_0x60284d,_0x2093e2[_0x258875(0x2c9)](_0x43480e));}}else{if(_0x5f3437&&(_0x13a0f8===_0x15054a[_0x258875(0x29f)]||_0x13a0f8===_0x15054a[_0x258875(0x195)])){const _0x48639b=_0x5f3437[_0x258875(0x1cd)](),_0x3dbe5b=_0x2093e2[_0x258875(0x1e7)](_0x48639b);if(_0x3dbe5b&&(_0x3dbe5b==null?void 0x0:_0x3dbe5b[_0x258875(0x205)]())===_0x1061a3['date']){const _0x49641a=_0x3dbe5b[_0x258875(0x2ba)]();if(_0x49641a&&_0x2093e2[_0x258875(0x1d1)](_0x5f3437[_0x258875(0x1cd)](),_0x49641a),!_0x232d29['getFieldIds']()[_0x258875(0x268)](_0x4906a7=>{const _0xaafda6=_0x258875,_0x5b158c=_0x232d29[_0xaafda6(0x1c9)](_0x4906a7);return _0x23e3cb(_0x5b158c)?_0x5b158c[_0xaafda6(0xba)]()[_0xaafda6(0x103)]===_0x48acf3:!0x1;})){const _0x349b59=_0x26b317[_0x258875(0x228)](),_0x15eab2=ji(_0x3dbe5b[_0x258875(0x145)],_0x3dbe5b[_0x258875(0xd1)]),_0x2b6e6c=_0x3dbe5b['getName']()+_0x258875(0x84)+qo(this[_0x258875(0x2e0)],_0x15eab2),_0x7b88ae=new _0xb7744b(_0x349b59,_0x2b6e6c,_0x5c7c44(0x3),_0x3dbe5b[_0x258875(0x1cd)](),_0x15eab2);_0x26b317['addDataFieldWithoutUnitInfo'](_0x7b88ae),_0x232d29[_0x258875(0x7d)](_0x349b59,_0x2b6e6c),_0x2093e2[_0x258875(0x7b)](_0x349b59,_0x13a0f8,(_0x4c9542!=null?_0x4c9542:0x0)+0x1),_0x470850=_0x7b88ae;}}}}const _0x36a219=_0x2093e2[_0x258875(0x2e9)](),_0x170f40=_0x2093e2[_0x258875(0x296)]()['toJSON']();let _0x2b4277;if(_0x470850){_0x2b4277=_0x470850[_0x258875(0xc4)]();const _0x50f251=_0x470850[_0x258875(0x1cd)]();_0x232d29[_0x258875(0x25d)](_0x50f251);let _0x37cbef=!0x0;for(const _0x535bbc in _0x26b317[_0x258875(0x227)])if(_0x26b317[_0x258875(0x227)][_0x535bbc]['getFieldIds']()['includes'](_0x50f251)){_0x37cbef=!0x1;break;}_0x37cbef&&_0x26b317['deleteDataField'](_0x50f251);}const _0x309ad4=_0x2093e2['endCollectChangeset']();_0x3716c4[_0x258875(0xbc)]={'view':_0x170f40,'changesets':_0x309ad4,'isEmpty':_0x36a219,'pivotTableConfig':_0x137535,'shouldBeAddedGroupJSON':_0x2b4277};}break;case A[_0x258875(0x225)]:{const _0x2399cb=_0x301722[_0x258875(0x86)][_0x258875(0x96)];if(!_0x2399cb)return;const _0x2672ee=_0x2399cb['sourceRangeInfo'],_0x4eab51=_0x2399cb[_0x258875(0xda)],{collection:_0x473968}=this[_0x258875(0x23b)][_0x258875(0xc5)]({'unitId':_0x2672ee[_0x258875(0x16d)],'sheetName':_0x2672ee[_0x258875(0x2e8)],'subUnitId':_0x2672ee[_0x258875(0x282)],'range':_0x2672ee[_0x258875(0x75)]}),_0x219a11=new _0x5c6617(_0x473968,void 0x0,_0x4eab51),_0x7d7c91=_0x219a11[_0x258875(0x296)](),_0x3a9c1a=_0x219a11['toJSON'](),_0x3d7183=_0x473968[_0x258875(0xc4)]();_0x3716c4['addPivotTable']={'view':_0x7d7c91,'fieldsConfig':_0x3a9c1a,'collectionConfig':_0x3d7183,'isEmpty':_0x219a11['isEmpty']()};}break;case A['MovePivotField']:{const _0x2686d4=_0x301722['params']['movePivotField'];if(!_0x2686d4)return;const {fieldId:_0x236469,area:_0x3e8f72,index:_0x49d448}=_0x2686d4,_0xe45280=this[_0x258875(0x23b)][_0x258875(0x256)](_0x226b77,_0x20013f,_0x4d5d76);if(!_0xe45280)return;const _0x30558f=this[_0x258875(0x23b)][_0x258875(0x142)](_0x4d5d76);if(!_0x30558f)return;_0x30558f[_0x258875(0xf9)]();const {area:_0x2a4176,index:_0x1adb38}=_0x30558f[_0x258875(0x20c)](_0x236469);if(_0x30558f['updateFieldPosition'](_0x236469,_0x3e8f72,_0x49d448),_0x3e8f72===_0x15054a[_0x258875(0x90)]&&_0x30558f[_0x258875(0x139)](_0x236469)['getSubtotal']()===void 0x0){const _0x29d9ac=_0x30558f[_0x258875(0x139)](_0x236469);if(_0x29d9ac&&_0x29d9ac[_0x258875(0x1d5)]()===void 0x0){const _0x2f654f=_0x30558f['getDataFieldByTableId'](_0x236469);if(_0x2f654f){const _0x97787d=_0x2f654f==null?void 0x0:_0x2f654f[_0x258875(0x205)]();_0x30558f[_0x258875(0x245)](_0x236469,_0x97787d===_0x1061a3[_0x258875(0x2e3)]?_0x230a2c[_0x258875(0x18e)]:_0x230a2c[_0x258875(0xa9)]);}}}const _0xa517da=_0x30558f[_0x258875(0x1c4)](),_0x7164c1=_0x30558f[_0x258875(0x1af)](),_0x5b1f3f=_0x30558f['getFieldCountByArea'](_0x15054a[_0x258875(0x90)])>0x1;if(_0x5b1f3f&&_0x2a4176===_0x3e8f72&&(_0x3e8f72===_0x15054a[_0x258875(0x29f)]&&_0xa517da===_0xb63d31[_0x258875(0x29f)]||_0x3e8f72===_0x15054a[_0x258875(0x195)]&&_0xa517da===_0xb63d31[_0x258875(0x195)])){let _0x56c9b8=_0x7164c1;_0x1adb38<=_0x7164c1&&_0x56c9b8--,_0x49d448<=_0x7164c1&&_0x56c9b8++,_0x30558f['updateValuePosition'](_0xa517da,_0x56c9b8);}else _0x5b1f3f&&(_0x2a4176===_0x15054a[_0x258875(0x29f)]&&_0xa517da===_0xb63d31[_0x258875(0x29f)]||_0x2a4176===_0x15054a[_0x258875(0x195)]&&_0xa517da===_0xb63d31[_0x258875(0x195)])&&_0x7164c1>=_0x1adb38&&_0x30558f[_0x258875(0x169)](_0xa517da,_0x7164c1-0x1),_0x5b1f3f&&(_0x3e8f72===_0x15054a[_0x258875(0x29f)]&&_0xa517da===_0xb63d31[_0x258875(0x29f)]||_0x3e8f72===_0x15054a['Column']&&_0xa517da===_0xb63d31[_0x258875(0x195)])&&_0x7164c1>=_0x49d448&&_0x30558f[_0x258875(0x169)](_0xa517da,_0x7164c1+0x1);const _0x454da5=_0x30558f['query'](),_0x2433d3=_0x30558f[_0x258875(0x2e9)](),_0x5a34d6=_0x30558f['endCollectChangeset']();_0x3716c4[_0x258875(0xbb)]={'view':_0x454da5[_0x258875(0xc4)](),'changesets':_0x5a34d6,'isEmpty':_0x2433d3,'pivotTableConfig':_0xe45280};}break;case A[_0x258875(0x181)]:{const _0x239284=_0x301722[_0x258875(0x86)][_0x258875(0xe3)];if(!_0x239284)return;const _0x457133=_0x239284['fieldIds'],_0x4962cb=this[_0x258875(0x23b)]['getPivotTableConfig'](_0x226b77,_0x20013f,_0x4d5d76);if(!_0x4962cb)return!0x1;const _0x46b231=this[_0x258875(0x23b)]['getPivotTableInstance'](_0x4d5d76);if(!_0x46b231)return!0x1;_0x46b231[_0x258875(0xf9)]();for(const _0xbd9bf0 of _0x457133){const {area:_0x417a7f}=_0x46b231[_0x258875(0x20c)](_0xbd9bf0);_0x417a7f===_0x15054a['Value']&&_0x46b231[_0x258875(0x219)](_0xbd9bf0),(_0x417a7f===_0x15054a['Row']||_0x417a7f===_0x15054a['Column'])&&_0x46b231[_0x258875(0x26a)](_0xbd9bf0),_0x46b231['removeField'](_0xbd9bf0);}const _0x1f64eb=_0x46b231[_0x258875(0x2e9)](),_0x44e289=_0x46b231[_0x258875(0x296)]()[_0x258875(0xc4)](),_0x319667=_0x46b231[_0x258875(0x220)]();_0x3716c4[_0x258875(0xe3)]={'changesets':_0x319667,'pivotTableConfig':_0x4962cb,'isEmpty':_0x1f64eb,'view':_0x44e289};}break;case A[_0x258875(0x246)]:{const _0x5ae4c7=_0x301722[_0x258875(0x86)][_0x258875(0x12d)];if(!_0x5ae4c7)return;const {tableFieldId:_0x1cc900,items:_0x50a8dd,isAll:_0x1dda00}=_0x5ae4c7,_0xc4b488=this[_0x258875(0x23b)][_0x258875(0x142)](_0x4d5d76),_0x586bae=this[_0x258875(0x23b)]['getPivotTableConfig'](_0x226b77,_0x20013f,_0x4d5d76);if(!_0xc4b488||!_0x586bae)return;_0xc4b488['startCollectChangeset'](),_0xc4b488[_0x258875(0x11f)](_0x1cc900,{'type':_0xfbe698[_0x258875(0x262)],'list':_0x50a8dd,'isAll':_0x1dda00});const _0x417d48=_0xc4b488[_0x258875(0x2e9)](),_0x16347a=_0xc4b488[_0x258875(0x296)]()[_0x258875(0xc4)](),_0x17f340=_0xc4b488[_0x258875(0x220)]();_0x3716c4['setPivotFilter']={'view':_0x16347a,'changesets':_0x17f340,'isEmpty':_0x417d48,'pivotTableConfig':_0x586bae};}break;case A[_0x258875(0x2ed)]:{const _0x504a3a=_0x301722[_0x258875(0x86)]['setValuePivotFilter'];if(!_0x504a3a)return;const {tableFieldId:_0x52f815,filterInfo:_0x71e13e}=_0x504a3a,_0x42e27a=this[_0x258875(0x23b)][_0x258875(0x142)](_0x4d5d76),_0x3fe2f8=this['_sheetsPivotDataSourceModel'][_0x258875(0x256)](_0x226b77,_0x20013f,_0x4d5d76);if(!_0x42e27a||!_0x3fe2f8)return;_0x42e27a[_0x258875(0xf9)](),_0x42e27a[_0x258875(0x106)](_0x52f815,_0x71e13e);const _0x37afd0=_0x42e27a[_0x258875(0x2e9)](),_0x165c7e=_0x42e27a[_0x258875(0x296)]()['toJSON'](),_0x3ffa89=_0x42e27a[_0x258875(0x220)]();_0x3716c4[_0x258875(0x118)]={'view':_0x165c7e,'changesets':_0x3ffa89,'isEmpty':_0x37afd0,'pivotTableConfig':_0x3fe2f8};}break;case A[_0x258875(0x2b0)]:{const _0x355d6b=_0x301722[_0x258875(0x86)][_0x258875(0x216)];if(!_0x355d6b)return;const {tableFieldId:_0x14f02a,info:_0x1f67d9}=_0x355d6b,_0x58d3c7=this[_0x258875(0x23b)]['getPivotTableInstance'](_0x4d5d76),_0x204498=this['_sheetsPivotDataSourceModel'][_0x258875(0x256)](_0x226b77,_0x20013f,_0x4d5d76);if(!_0x58d3c7||!_0x204498)return;_0x58d3c7[_0x258875(0xf9)](),_0x58d3c7['setSortInfo'](_0x14f02a,_0x1f67d9);const _0x3e0ace=_0x58d3c7[_0x258875(0x2e9)](),_0x228d07=_0x58d3c7[_0x258875(0x296)]()[_0x258875(0xc4)](),_0xc4bd4c=_0x58d3c7[_0x258875(0x220)]();_0x3716c4[_0x258875(0x216)]={'view':_0x228d07,'changesets':_0xc4bd4c,'isEmpty':_0x3e0ace,'pivotTableConfig':_0x204498};}break;case A[_0x258875(0x2c2)]:{const _0x40bc17=_0x301722[_0x258875(0x86)][_0x258875(0x243)];if(!_0x40bc17)return;const {tableFieldId:_0x29f5ea,displayName:_0x6c2cc7,subtotalType:_0x1895ac,format:_0x3d2e30}=_0x40bc17,_0xcd17d0=this[_0x258875(0x23b)][_0x258875(0x142)](_0x4d5d76),_0x343d4e=this[_0x258875(0x23b)][_0x258875(0x256)](_0x226b77,_0x20013f,_0x4d5d76);if(!_0xcd17d0||!_0x343d4e)return;_0xcd17d0[_0x258875(0xf9)](),_0x6c2cc7!==void 0x0&&_0xcd17d0[_0x258875(0xc3)](_0x29f5ea,_0x6c2cc7),_0x1895ac!==void 0x0&&_0xcd17d0[_0x258875(0x245)](_0x29f5ea,_0x1895ac),_0x3d2e30!==void 0x0&&_0xcd17d0[_0x258875(0x1d1)](_0x29f5ea,_0x3d2e30);const _0x288156=_0xcd17d0[_0x258875(0x2e9)](),_0x528ab3=_0xcd17d0[_0x258875(0x296)]()['toJSON'](),_0x2b938b=_0xcd17d0[_0x258875(0x220)]();_0x3716c4[_0x258875(0x243)]={'changesets':_0x2b938b,'pivotTableConfig':_0x343d4e,'isEmpty':_0x288156,'view':_0x528ab3};}break;case A[_0x258875(0x2aa)]:{const _0x50fffb=_0x301722[_0x258875(0x86)][_0x258875(0x88)];if(!_0x50fffb)return;const {dataRangeInfo:_0x1081a9,unitId:_0x147186,subUnitId:_0x70130a}=_0x50fffb,_0x469531=this[_0x258875(0x23b)][_0x258875(0x256)](_0x147186,_0x70130a,_0x4d5d76),_0x2fbb9a=this[_0x258875(0x23b)]['getPivotTableInstance'](_0x4d5d76);if(!this[_0x258875(0x23b)][_0x258875(0xd9)](_0x147186,_0x4d5d76)||!_0x2fbb9a||!_0x469531)return;const _0x29a5a2=this['_sheetsPivotDataSourceModel']['getUpdateRangeDeleteIds'](_0x147186,_0x4d5d76,_0x1081a9),_0x157f46=this[_0x258875(0x23b)][_0x258875(0xd9)](_0x147186,_0x4d5d76)[_0x258875(0xc4)](),{collection:_0x1c89e6}=this[_0x258875(0x23b)][_0x258875(0xc5)]({'unitId':_0x1081a9[_0x258875(0x16d)],'sheetName':_0x1081a9['sheetName'],'subUnitId':_0x1081a9[_0x258875(0x282)],'range':_0x1081a9['range']}),_0x364a71=_0x1c89e6[_0x258875(0xc4)]();_0x2fbb9a[_0x258875(0xf9)]();const _0x4b5fba=this['_sheetsPivotDataSourceModel'][_0x258875(0x2f3)](_0x147186)[_0x258875(0x25c)]()||_0x148083;_0x2fbb9a[_0x258875(0x1dc)](_0x26d411=>{const _0x294f69=_0x258875,_0x2ab8a2=_0x26d411['getDataFieldId']();if(!_0x1c89e6['hasField'](_0x2ab8a2)){const _0x36e0b6=_0x1c89e6[_0x294f69(0x196)](_0x26d411[_0x294f69(0x1c1)]());if(_0x36e0b6){_0x2fbb9a['updateFieldSourceInfo'](_0x26d411[_0x294f69(0x1cd)](),_0x36e0b6[_0x294f69(0x271)](),_0x36e0b6[_0x294f69(0x1cd)]());const {area:_0x111411}=_0x2fbb9a[_0x294f69(0x20c)](_0x26d411['getId']());let _0x1ff180=_0x26d411[_0x294f69(0x1c1)]();const _0xaf1b06=_0x26d411['getDisplayName']();if(_0x111411===_0x15054a[_0x294f69(0x90)]){const _0x14d305=_0x26d411['getSubtotal']();_0x1ff180=_0x4b5fba(_0x36e0b6[_0x294f69(0x271)](),_0x14d305);}_0xaf1b06!==_0x1ff180&&_0x2fbb9a[_0x294f69(0xc3)](_0x26d411[_0x294f69(0x1cd)](),_0x1ff180);}else _0x2fbb9a[_0x294f69(0xd7)](_0x26d411[_0x294f69(0x1cd)]());}});const _0x3af787=_0x2fbb9a[_0x258875(0x2e9)](),_0x4537f7=_0x2fbb9a[_0x258875(0x296)]()[_0x258875(0xc4)](),_0x2cb770=_0x2fbb9a[_0x258875(0x220)]();_0x3716c4[_0x258875(0x88)]={'view':_0x4537f7,'changesets':_0x2cb770,'isEmpty':_0x3af787,'pivotTableConfig':_0x469531,'collectionConfig':_0x364a71,'oldCollectionConfig':_0x157f46,'deleteIds':_0x29a5a2};}break;case A[_0x258875(0xa2)]:{const _0x3580eb=_0x301722[_0x258875(0x86)][_0x258875(0x169)];if(!_0x3580eb)return;const {position:_0x3dda04,index:_0xbd606d}=_0x3580eb,_0x4e4908=this[_0x258875(0x23b)][_0x258875(0x256)](_0x226b77,_0x20013f,_0x4d5d76);if(!_0x4e4908)return!0x1;const _0x535943=this[_0x258875(0x23b)][_0x258875(0x142)](_0x4d5d76);if(!_0x535943)return!0x1;_0x535943['startCollectChangeset'](),_0x535943['updateValuePosition'](_0x3dda04,_0xbd606d);const _0x5686c8=_0x535943[_0x258875(0x2e9)](),_0x1e1d79=_0x535943['query']()['toJSON'](),_0x18c658=_0x535943[_0x258875(0x220)]();_0x3716c4[_0x258875(0x169)]={'changesets':_0x18c658,'pivotTableConfig':_0x4e4908,'isEmpty':_0x5686c8,'view':_0x1e1d79};}break;case A[_0x258875(0x123)]:{const _0x3b3ec4=_0x301722['params'][_0x258875(0x1a7)];if(!_0x3b3ec4)return;const {tableFieldId:_0x30de04,collapse:_0x4681f5,item:_0x179e84}=_0x3b3ec4,_0x58cdee=this[_0x258875(0x23b)][_0x258875(0x142)](_0x4d5d76),_0x29c496=this[_0x258875(0x23b)][_0x258875(0x256)](_0x226b77,_0x20013f,_0x4d5d76);if(!_0x58cdee||!_0x29c496)return;_0x58cdee[_0x258875(0xf9)](),_0x58cdee[_0x258875(0x232)](_0x30de04,_0x4681f5,_0x179e84);const _0x55b278=_0x58cdee[_0x258875(0x2e9)](),_0x3a2856=_0x58cdee[_0x258875(0x296)]()[_0x258875(0xc4)](),_0x55e6f0=_0x58cdee[_0x258875(0x220)]();_0x3716c4['setPivotCollapse']={'view':_0x3a2856,'isEmpty':_0x55b278,'pivotTableConfig':_0x29c496,'changesets':_0x55e6f0};}break;case A[_0x258875(0x177)]:{const _0x33b51c=_0x301722['params'][_0x258875(0xff)];if(!_0x33b51c)return;const {pivotTableConfig:_0x4e49d3}=_0x33b51c,_0x33204b=this['_sheetsPivotDataSourceModel'][_0x258875(0x142)](_0x4d5d76),_0x1eee9e=this[_0x258875(0x23b)][_0x258875(0x256)](_0x226b77,_0x20013f,_0x4d5d76);if(!_0x33204b||!_0x1eee9e)return;_0x33204b[_0x258875(0xf9)](),Ji(_0x33204b,_0x4e49d3);const _0x3bb9ed=_0x33204b[_0x258875(0x2e9)](),_0x2c8965=_0x33204b['query']()['toJSON'](),_0x378f94=_0x33204b[_0x258875(0x220)]();_0x3716c4[_0x258875(0xff)]={'view':_0x2c8965,'isEmpty':_0x3bb9ed,'pivotTableConfig':{..._0x1eee9e,'fieldsConfig':_0x33204b[_0x258875(0xc4)]()},'changesets':_0x378f94};}break;case A[_0x258875(0x288)]:{const _0x158304=_0x301722[_0x258875(0x86)]['resetPivotTable'];if(!_0x158304)return;const _0x8b4610=this[_0x258875(0x23b)][_0x258875(0x142)](_0x4d5d76),_0x1c89e=this[_0x258875(0x23b)]['getPivotTableConfig'](_0x226b77,_0x20013f,_0x4d5d76);if(!_0x8b4610||!_0x1c89e)return;_0x8b4610[_0x258875(0xf9)](),Wi(_0x8b4610,_0x158304[_0x258875(0xa3)]);const _0x139ba2=_0x8b4610[_0x258875(0x296)]()['toJSON'](),_0x54a67f=_0x8b4610[_0x258875(0x220)]();_0x3716c4[_0x258875(0x24d)]={'view':_0x139ba2,'isEmpty':!0x0,'pivotTableConfig':{..._0x1c89e,'fieldsConfig':_0x8b4610['toJSON']()},'changesets':_0x54a67f};}break;case A[_0x258875(0x116)]:{const _0x4b2102=_0x301722[_0x258875(0x86)][_0x258875(0x1a5)];if(!_0x4b2102)return;const _0x2fa4d7=_0x4b2102['sourceRangeInfo'],_0x3ddc3f=_0x4b2102[_0x258875(0xda)],{collection:_0x48d750}=this[_0x258875(0x23b)][_0x258875(0xc5)]({'unitId':_0x2fa4d7[_0x258875(0x16d)],'sheetName':_0x2fa4d7[_0x258875(0x2e8)],'subUnitId':_0x2fa4d7[_0x258875(0x282)],'range':_0x2fa4d7[_0x258875(0x75)]}),_0x5f07ff=new _0x5c6617(_0x48d750,void 0x0,_0x3ddc3f),_0x213aab=_0x48d750[_0x258875(0x253)](),{rows:_0x6bac24,columns:_0xf064f3,filters:_0x3cf6d9,values:_0x483135}=_0x4b2102[_0x258875(0x1fb)];_0x5f07ff[_0x258875(0xf9)]();for(const {field:_0x264df8,selectedItems:_0x193052}of _0x6bac24||[]){const _0x3b475e=_0x213aab[_0x264df8];if(_0x3b475e){const _0x52ff3c=_0x5f07ff[_0x258875(0x7b)](_0x3b475e,_0x15054a[_0x258875(0x29f)]);_0x193052&&_0x52ff3c&&_0x5f07ff[_0x258875(0x11f)](_0x52ff3c[_0x258875(0x1cd)](),{'type':_0xfbe698['ManualFilter'],'list':_0x193052,'isAll':!0x1});}}for(const {field:_0x2b5357,selectedItems:_0x104771}of _0xf064f3||[]){const _0xaa6722=_0x213aab[_0x2b5357];if(_0xaa6722){const _0x41841f=_0x5f07ff['addFieldWithSourceId'](_0xaa6722,_0x15054a['Column']);_0x104771&&_0x41841f&&_0x5f07ff['setLabelFilterInfo'](_0x41841f['getId'](),{'type':_0xfbe698[_0x258875(0x262)],'list':_0x104771,'isAll':!0x1});}}for(const {field:_0x476962,selectedItems:_0x30f51e}of _0x3cf6d9||[]){const _0x2bf2a0=_0x213aab[_0x476962];if(_0x2bf2a0){const _0x4bdb8b=_0x5f07ff[_0x258875(0x7b)](_0x2bf2a0,_0x15054a[_0x258875(0x22d)]);_0x30f51e&&_0x4bdb8b&&_0x5f07ff[_0x258875(0x11f)](_0x4bdb8b[_0x258875(0x1cd)](),{'type':_0xfbe698['ManualFilter'],'list':_0x30f51e,'isAll':!0x1});}}for(const {field:_0x240b88,subTotalType:_0x375d7d,formatString:_0x3d8ff7}of _0x483135||[]){const _0x1e8244=_0x48d750['getFieldById'](_0x213aab[_0x240b88]);if(!_0x1e8244)continue;const _0x31f250=_0x213aab[_0x240b88];if(_0x31f250){const _0x3df9b6=_0x5f07ff[_0x258875(0x7b)](_0x31f250,_0x15054a[_0x258875(0x90)]);if(_0x3df9b6){if(_0x375d7d!==void 0x0){_0x5f07ff[_0x258875(0x245)](_0x3df9b6[_0x258875(0x1cd)](),_0x375d7d);const _0x25e6e7=this[_0x258875(0x23b)][_0x258875(0x2f3)](_0x2fa4d7[_0x258875(0x16d)])[_0x258875(0x25c)]()||_0x148083,_0x400e6c=_0x48d750[_0x258875(0x71)](_0x31f250),_0x4df93a=_0x25e6e7(_0x400e6c,_0x375d7d);_0x5f07ff['renameField'](_0x3df9b6[_0x258875(0x1cd)](),_0x4df93a);}else{if(_0x1e8244){const _0x564ae0=_0x1e8244==null?void 0x0:_0x1e8244[_0x258875(0x205)]();_0x5f07ff['setSubtotalType'](_0x3df9b6[_0x258875(0x1cd)](),_0x564ae0===_0x1061a3['number']?_0x230a2c[_0x258875(0x18e)]:_0x230a2c['count']);}}_0x3d8ff7&&_0x5f07ff['setFieldFormat'](_0x3df9b6[_0x258875(0x1cd)](),_0x3d8ff7);}}}const _0x4da240=_0x5f07ff[_0x258875(0x296)](),_0x1d91d9=_0x5f07ff[_0x258875(0xc4)](),_0x531f49=_0x5f07ff[_0x258875(0x2e9)](),_0xed8d82=_0x5f07ff[_0x258875(0x220)](),_0x2627eb=_0x48d750[_0x258875(0xc4)]();_0x3716c4[_0x258875(0x1a5)]={'view':_0x4da240,'fieldsConfig':_0x1d91d9,'collectionConfig':_0x2627eb,'isEmpty':_0x531f49,'changesets':_0xed8d82};}break;case A[_0x258875(0xb6)]:{const _0x5f3add=Li(this[_0x258875(0x2e0)],_0x301722);if(!_0x5f3add)return;const {range:_0x11bb11,sourceSubUnitId:_0x4f3f62,sourceUnitId:_0x50f799,formatMap:_0x585f46,indexes:_0x4dd778}=_0x5f3add;_0x3716c4[_0x258875(0xad)]={'range':_0x11bb11,'sourceSubUnitId':_0x4f3f62,'sourceUnitId':_0x50f799,'formatMap':_0x585f46,'indexes':_0x4dd778};}break;}this['_commandService'][_0x258875(0x72)](lo['id'],{'version':_0x301722[_0x258875(0xfc)],'result':_0x3716c4},{'onlyLocal':!0x0});}));}[_0x4cee97(0x157)](){const _0x500c87=_0x4cee97;this['disposeWithMe'](this['_commandService'][_0x500c87(0x2a1)](_0x104a3d=>{const _0x3b5ef9=_0x500c87;if(_0x104a3d['id']!==uo['id'])return;const _0x23f533=_0x104a3d[_0x3b5ef9(0x86)];return this['_sheetsPivotDataSourceModel']['setTextInfo'](_0x23f533['textInfo']),!0x0;}));}[_0x4cee97(0xae)](){const _0x3ed514=_0x4cee97;this[_0x3ed514(0x23b)][_0x3ed514(0x170)]['subscribe'](_0x4d0bd8=>{const _0x40b559=_0x3ed514;switch(_0x4d0bd8['type']){case Be[_0x40b559(0x221)]:_0x4d0bd8['dataRangeInfo']&&_0x4d0bd8[_0x40b559(0x1bb)]&&this[_0x40b559(0x2cf)](_0x4d0bd8[_0x40b559(0xdb)],_0x4d0bd8[_0x40b559(0x22c)],_0x4d0bd8[_0x40b559(0x1bb)]);break;case Be[_0x40b559(0x2c6)]:{const {unitId:_0x311409,subUnitId:_0x104e65,token:_0x16be7d}=_0x4d0bd8;_0x311409&&_0x104e65&&_0x16be7d&&this['removeSourceRangeChange'](_0x311409,_0x104e65,_0x16be7d);}break;case Be[_0x40b559(0x22f)]:{const {token:_0x1cd2eb,oldSourceRangeInfo:_0x1910c1,dataRangeInfo:_0x234c7c,targetCellInfo:_0x57a451}=_0x4d0bd8,{unitId:_0x229afb,subUnitId:_0x5e884a}=_0x1910c1||{};_0x229afb&&_0x5e884a&&_0x1cd2eb&&this[_0x40b559(0x140)](_0x229afb,_0x5e884a,_0x1cd2eb),_0x234c7c&&_0x57a451&&this[_0x40b559(0x2cf)](_0x1cd2eb,_0x234c7c,_0x57a451);}break;}});}[_0x4cee97(0x2d3)](){const _0x98411d=_0x4cee97;this[_0x98411d(0x23b)][_0x98411d(0x193)][_0x98411d(0x13b)](_0x4a9f1f=>{const _0xcc3a3b=_0x98411d;Object['keys'](_0x4a9f1f)[_0xcc3a3b(0x11b)](_0x25d962=>{const _0x2ba810=_0xcc3a3b,_0x233ca7=this['_sheetsPivotDataSourceModel']['getTargetByPivotId'](_0x25d962);if(_0x233ca7){const _0x4b677f=this[_0x2ba810(0x23b)][_0x2ba810(0x256)](_0x233ca7==null?void 0x0:_0x233ca7[_0x2ba810(0x16d)],_0x233ca7==null?void 0x0:_0x233ca7[_0x2ba810(0x282)],_0x25d962);_0x4b677f&&(this[_0x2ba810(0x2cf)](_0x25d962,_0x4b677f[_0x2ba810(0xca)],_0x4b677f['targetCellInfo']),this[_0x2ba810(0x167)]([{'unitId':_0x233ca7[_0x2ba810(0x16d)],'subUnitId':_0x233ca7[_0x2ba810(0x282)],'token':_0x25d962}]));}});});}['_subjectViewChange'](){const _0x4bc7d1=_0x4cee97;this[_0x4bc7d1(0x23b)][_0x4bc7d1(0xe0)][_0x4bc7d1(0x13b)](_0x4a8b69=>{const {unitId:_0x866596,subUnitId:_0x1eabdc,pivotTableId:_0x10f201}=_0x4a8b69;_0x866596&&_0x1eabdc&&_0x10f201&&this['triggerDirtyFeature']([{'unitId':_0x866596,'subUnitId':_0x1eabdc,'token':_0x10f201}]);});}[_0x4cee97(0x167)](_0x1e1509){const _0x5ca97c=_0x4cee97,_0x19f752={};_0x1e1509[_0x5ca97c(0x11b)](_0x340bf0=>{var _0x220542,_0x2b308f;const {unitId:_0x51d02f,subUnitId:_0x54019e,token:_0xd3a87a}=_0x340bf0;_0x19f752[_0x51d02f]=(_0x220542=_0x19f752[_0x51d02f])!=null?_0x220542:{},_0x19f752[_0x51d02f][_0x54019e]=(_0x2b308f=_0x19f752[_0x51d02f][_0x54019e])!=null?_0x2b308f:{},_0x19f752[_0x51d02f][_0x54019e][_0xd3a87a]=!0x0;}),this[_0x5ca97c(0x260)][_0x5ca97c(0x72)](Et['id'],_0x19f752);}[_0x4cee97(0x140)](_0x2f7dee,_0x13fbf8,_0x3a9077){const _0x5bdc09=_0x4cee97;this[_0x5bdc09(0x2a6)]['remove'](_0x2f7dee,_0x13fbf8,[_0x3a9077]);}[_0x4cee97(0x2cf)](_0x1dd5b6,_0xe216b8,_0x43a279){const _0x3d1843=_0x4cee97,{unitId:_0x34ef00,subUnitId:_0x44f1f6}=_0xe216b8;this[_0x3d1843(0x2a6)]['has'](_0x43a279[_0x3d1843(0x16d)],_0x43a279[_0x3d1843(0x282)],_0x1dd5b6)&&this['removeSourceRangeChange'](_0x34ef00,_0x44f1f6,_0x1dd5b6);const _0x5e46b0={'sheetId':_0x44f1f6,..._0xe216b8};this[_0x3d1843(0x2a6)][_0x3d1843(0x28f)](_0x43a279['unitId'],_0x43a279[_0x3d1843(0x282)],_0x1dd5b6,{'unitId':_0x43a279[_0x3d1843(0x16d)],'subUnitId':_0x43a279[_0x3d1843(0x282)],'dependencyRanges':[_0x5e46b0],'getDirtyData':(_0x1b9aeb,_0x427747)=>{const _0x2e1fed=_0x3d1843,_0x21039e=this['_sheetsPivotDataSourceModel'],_0x3db0a8=_0x21039e[_0x2e1fed(0x2c4)](_0x1dd5b6);if(!_0x3db0a8)return Os();const {unitId:_0x34e730,subUnitId:_0x232a68}=_0x3db0a8,_0x58ada2=xs(_0x1b9aeb,_0x427747,_0xe216b8);if(_0x58ada2[_0x2e1fed(0x29c)]>0x0){const _0x145521=_0x21039e[_0x2e1fed(0xd9)](_0x34ef00,_0x1dd5b6),_0x2185f8=_0x145521[_0x2e1fed(0x253)](),_0x1bb06a=this[_0x2e1fed(0x2ae)](_0xe216b8[_0x2e1fed(0x16d)],_0xe216b8['subUnitId'],_0x427747),_0xad25ac={},_0x184b1a=this[_0x2e1fed(0x23b)][_0x2e1fed(0x2f3)](_0x34e730)[_0x2e1fed(0x25c)]()||_0x148083,_0x29c75d=[];for(const _0x1ce722 of _0x58ada2){const _0x24954e=_0x1ce722-(_0xe216b8[_0x2e1fed(0x75)][_0x2e1fed(0x160)]||0x0),_0x483faf=_0x2185f8[_0x24954e];_0x29c75d[_0x2e1fed(0x2a2)](_0x483faf),_0xad25ac[_0x483faf]=_0x145521[_0x2e1fed(0x1c9)](_0x483faf)[_0x2e1fed(0x271)](),_0x21039e[_0x2e1fed(0x2f3)](_0x34ef00)[_0x2e1fed(0x14a)](_0x483faf,_0xe216b8,_0x24954e,_0x1bb06a);}_0x145521[_0x2e1fed(0x222)](_0x29c75d)[_0x2e1fed(0x11b)](_0x30e7f3=>{const _0x1e021e=_0x2e1fed,[_0x4b6510,_0x489f24]=_0x30e7f3,_0x1774cd=_0x145521[_0x1e021e(0x1c9)](_0x4b6510),_0x36fa57=_0x145521['getFieldById'](_0x489f24);_0x1774cd&&_0x36fa57&&_0x1774cd['refreshGroupField'](_0x36fa57);}),_0x145521[_0x2e1fed(0x229)]();const _0x156ae0=_0x21039e['getPivotTableInstance'](_0x1dd5b6);if(_0x156ae0){Us(_0x156ae0,_0xad25ac,_0x184b1a),_0x156ae0['setDirty'](!0x0);const _0x17ce0a=_0x156ae0[_0x2e1fed(0x296)](),_0x4c85bc=_0x21039e[_0x2e1fed(0x256)](_0x34e730,_0x232a68,_0x1dd5b6),_0x461f51=_0x21039e[_0x2e1fed(0x2f3)](_0x34ef00)[_0x2e1fed(0xc4)]();_0x21039e[_0x2e1fed(0x2d2)](_0x34e730,_0x232a68,G[_0x2e1fed(0x19c)],_0x1dd5b6,_0x17ce0a,_0x4c85bc,_0x461f51,!0x0);}}return this['getDirtyInfo'](_0x34e730,_0x232a68,_0x1dd5b6);}});}[_0x4cee97(0x2ae)](_0x375bda,_0x575947,_0x22f9ef){var _0x2065c1,_0x2fa366;const {arrayFormulaCellData:_0x2901a8,unitData:_0x14238f}=_0x22f9ef,_0x3d60ba=(_0x2065c1=_0x2901a8==null?void 0x0:_0x2901a8[_0x375bda])==null?void 0x0:_0x2065c1[_0x575947],_0x355afb=(_0x2fa366=_0x14238f==null?void 0x0:_0x14238f[_0x375bda])==null?void 0x0:_0x2fa366[_0x575947];return{'arrayFormulaCellDataMatrix':_0x3d60ba,'unitDataMatrix':_0x355afb};}[_0x4cee97(0x119)](_0x26228f,_0x1793f3,_0x4819ff){const _0x378925=_0x4cee97,_0x3d47de=this[_0x378925(0x23b)]['getViewData'](_0x26228f,_0x1793f3,_0x4819ff),_0x53fe98=[],_0x2563dd=new _0x223fc9();if(_0x3d47de){const {rangeCache:_0x4053d0,matrix:_0x489778,oldRangeCache:_0x19adb7,oldMatrix:_0x11b56d}=_0x3d47de,_0x3a497f=Gt(_0x19adb7),_0x158232=Gt(_0x4053d0);_0x53fe98[_0x378925(0x2a2)](..._0x158232,..._0x3a497f),_0x11b56d&&_0x19adb7&&_0x3a497f[_0x378925(0x11b)](_0xb0359b=>{const _0x388b4d=_0x378925;for(let _0x3c7563=_0xb0359b[_0x388b4d(0x99)];_0x3c7563<=_0xb0359b[_0x388b4d(0x1ec)];_0x3c7563++)for(let _0x3332c5=_0xb0359b[_0x388b4d(0x160)];_0x3332c5<=_0xb0359b[_0x388b4d(0x12e)];_0x3332c5++)_0x2563dd[_0x388b4d(0x10c)](_0x3c7563,_0x3332c5);}),_0x489778&&_0x158232&&_0x158232[_0x378925(0x11b)](_0x2cd189=>{const _0x58360d=_0x378925;for(let _0xdf8d15=_0x2cd189[_0x58360d(0x99)];_0xdf8d15<=_0x2cd189['endRow'];_0xdf8d15++)for(let _0x2baed6=_0x2cd189[_0x58360d(0x160)];_0x2baed6<=_0x2cd189[_0x58360d(0x12e)];_0x2baed6++)_0x2563dd[_0x58360d(0x2ea)](_0xdf8d15,_0x2baed6,_0x489778[_0x58360d(0x17b)](_0xdf8d15,_0x2baed6));});}const _0x40f183={};return _0x40f183[_0x26228f]={[_0x1793f3]:Vs(_0x53fe98)},{'runtimeCellData':{[_0x26228f]:{[_0x1793f3]:_0x2563dd}},'dirtyRanges':_0x40f183};}[_0x4cee97(0x2c5)](){}};ct=Es([Ke(0x0,_0x4c00f1($)),Ke(0x1,_0x3ff295),Ke(0x2,_0x4c00f1(_0x1c1246)),Ke(0x3,_0x4c00f1(_0x209817)),Ke(0x4,_0x4c00f1(_0x532fd4)),Ke(0x5,_0x4c00f1(_0xb8618))],ct);var Ls=Object[_0x4cee97(0x236)],As=(_0x37fd8d,_0x390de1,_0xe2ade8,_0x1028f4)=>{const _0x279b79=_0x4cee97;for(var _0x17f9c2=_0x1028f4>0x1?void 0x0:_0x1028f4?Ls(_0x390de1,_0xe2ade8):_0x390de1,_0x5c82c4=_0x37fd8d[_0x279b79(0x29c)]-0x1,_0x43b5c1;_0x5c82c4>=0x0;_0x5c82c4--)(_0x43b5c1=_0x37fd8d[_0x5c82c4])&&(_0x17f9c2=_0x43b5c1(_0x17f9c2)||_0x17f9c2);return _0x17f9c2;},_t=(_0x37486e,_0x1ec1ad)=>(_0x382a31,_0x431098)=>_0x1ec1ad(_0x382a31,_0x431098,_0x37486e);let dt=class extends _0x125de6{constructor(_0xfc13,_0x407b53,_0x442053,_0x2efb14){const _0x3118cc=_0x4cee97;super(),O(this,_0x3118cc(0x15e),new _0x4eef86()),(this[_0x3118cc(0x295)]=_0xfc13,this[_0x3118cc(0x241)]=_0x407b53,this[_0x3118cc(0x2eb)]=_0x442053,this[_0x3118cc(0xef)]=_0x2efb14,this['_initClearSelectionCommandInterceptor']());}[_0x4cee97(0x1a8)](){const _0xe290e2=_0x4cee97;this[_0xe290e2(0x2c3)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x3987e0=>{const _0x50e9d7=_0xe290e2;if(_0x3987e0['id']===_0x117649['id']||_0x3987e0['id']===_0x4c44d2['id']){const _0x59a975=[],_0x5f1549=[],_0x30f671=this[_0x50e9d7(0x2eb)][_0x50e9d7(0xab)]()[_0x50e9d7(0x27b)](_0x511f16=>_0x511f16['range']),_0x5cd601=_0x66221a(this[_0x50e9d7(0x295)]);if(!_0x5cd601)return{'redos':[],'undos':[]};const {unitId:_0x28113f,subUnitId:_0x45ebad}=_0x5cd601,_0x507b5c={},_0x3229cf=this[_0x50e9d7(0xef)]['getSubUnitPivotConfigs'](_0x28113f,_0x45ebad);if(_0x3229cf!=null&&_0x3229cf[_0x50e9d7(0x276)])for(const [_0x236c6d,_0xb8d66c]of _0x3229cf){const {unitId:_0x47248e,subUnitId:_0x21a38c,row:_0x14a006,col:_0x41863}=_0xb8d66c[_0x50e9d7(0x1bb)];_0x47248e===_0x5cd601[_0x50e9d7(0x16d)]&&_0x21a38c===_0x5cd601['subUnitId']&&(_0x507b5c[_0x14a006+'-'+_0x41863]=_0x236c6d);}return _0x30f671&&_0x5cd601&&_0x30f671[_0x50e9d7(0x11b)](_0x5b36e2=>{const _0x42668e=_0x50e9d7;_0x560955[_0x42668e(0x203)](_0x5b36e2,(_0x524643,_0x381ed1)=>{const _0x4e0607=_0x42668e,_0x525534=_0x524643+'-'+_0x381ed1;if(_0x507b5c[_0x525534]){const _0x3bf2c4=_0x507b5c[_0x525534];_0x59a975[_0x4e0607(0x2a2)]({'id':xt['id'],'params':{'unitId':_0x28113f,'subUnitId':_0x45ebad,'pivotTableId':_0x3bf2c4}});const _0x28b7fd=this[_0x4e0607(0xef)]['getCollection'](_0x28113f,_0x3bf2c4),_0x246bb8=this[_0x4e0607(0xef)][_0x4e0607(0x256)](_0x28113f,_0x45ebad,_0x3bf2c4);_0x5f1549[_0x4e0607(0x2a2)]({'id':Ct['id'],'params':{'unitId':_0x28113f,'subUnitId':_0x45ebad,'pivotTableId':_0x3bf2c4,'pivotTableConfig':_0x246bb8,'collectionConfig':_0x28b7fd}});}});}),{'redos':_0x59a975,'undos':_0x5f1549};}return{'redos':[],'undos':[]};}}));}};dt=As([_t(0x0,_0x29adac),_t(0x1,_0x4c00f1(_0x48b3fd)),_t(0x2,_0x4c00f1(_0x283892)),_t(0x3,_0x4c00f1(he))],dt);var ks=Object[_0x4cee97(0x236)],Bs=(_0x383cac,_0x19f4b6,_0x515b02,_0x5161c5)=>{const _0x5be583=_0x4cee97;for(var _0x497643=_0x5161c5>0x1?void 0x0:_0x5161c5?ks(_0x19f4b6,_0x515b02):_0x19f4b6,_0x276fd4=_0x383cac[_0x5be583(0x29c)]-0x1,_0x1588d0;_0x276fd4>=0x0;_0x276fd4--)(_0x1588d0=_0x383cac[_0x276fd4])&&(_0x497643=_0x1588d0(_0x497643)||_0x497643);return _0x497643;},qe=(_0x32ab97,_0x4fd609)=>(_0x5148a5,_0xbb8d1b)=>_0x4fd609(_0x5148a5,_0xbb8d1b,_0x32ab97);let ut=class extends _0x125de6{constructor(_0x27c5ea,_0x5d6b33,_0x163735,_0x1188cf,_0x593424,_0xbfdd70){const _0x5cb8c7=_0x4cee97;super(),this[_0x5cb8c7(0x2d8)]=_0x27c5ea,this[_0x5cb8c7(0x241)]=_0x5d6b33,this[_0x5cb8c7(0x2e0)]=_0x163735,this['_univerInstanceService']=_0x1188cf,this[_0x5cb8c7(0xef)]=_0x593424,this[_0x5cb8c7(0x2f2)]=_0xbfdd70,this[_0x5cb8c7(0x2d7)]();}[_0x4cee97(0x1ba)](_0x4a4c45,_0x24d19a,_0x427d7e){const _0x513403=_0x4cee97,{pageView:_0x5098bb,cornerView:_0x4ce4d2,rowView:_0x25c5c8,colView:_0xda3dce,dataView:_0x2034d2}=_0x24d19a,_0x32cdde=_0x4a4c45;let _0x2b7736;if(_0x427d7e)_0x2b7736=[...Ai(_0x32cdde)];else{const _0x353f14=ge(_0x32cdde,_0x5098bb,!0x0),_0x31cacb=_0x5098bb[_0x513403(0x17f)]>=0x0?_0x5098bb[_0x513403(0x17f)]+0x1:0x0,_0x58fe4c=_0x4ce4d2[_0x513403(0x82)],_0x5104df=_0x4ce4d2[_0x513403(0x1bd)],_0x40702f=_0x353f14[_0x513403(0x29c)]>0x0?It:0x0,_0x19271a=ge({'row':_0x32cdde[_0x513403(0x28a)]+_0x31cacb+_0x40702f,'col':_0x32cdde[_0x513403(0x224)]},_0x4ce4d2,!0x1,!0x1),_0x4cbf1b=ge({'row':_0x32cdde[_0x513403(0x28a)]+_0x31cacb+_0x40702f+_0x58fe4c,'col':_0x32cdde[_0x513403(0x224)]},_0x25c5c8,!0x1,!0x0),_0x47d7a7=ge({'row':_0x32cdde[_0x513403(0x28a)]+_0x31cacb+_0x40702f,'col':_0x32cdde['col']+_0x5104df},_0xda3dce,!0x1,!0x0),_0x281e97=ge({'row':_0x32cdde['row']+_0x31cacb+_0x40702f+_0x58fe4c,'col':_0x32cdde[_0x513403(0x224)]+_0x5104df},_0x2034d2,!0x1,!0x0);_0x2b7736=[..._0x353f14,..._0x19271a,..._0x4cbf1b,..._0x47d7a7,..._0x281e97];}return _0x2b7736;}[_0x4cee97(0x2d7)](){const _0x52c826=_0x4cee97;this[_0x52c826(0x2c3)](this['_sheetsPivotTableService'][_0x52c826(0x1e6)]['intercept'](this[_0x52c826(0x2f2)][_0x52c826(0x1e6)][_0x52c826(0x182)]()[_0x52c826(0x1fd)],{'handler':(_0x30ade8,_0xe5580b)=>{const _0x234a0e=_0x52c826,{cellInfo:_0x55bfa0,view:_0x3a6ecd,isEmpty:_0x33d009}=_0xe5580b,_0x4e53f8=_0x55bfa0,{unitId:_0x3612ce,subUnitId:_0x16ff24}=_0x4e53f8,_0x2fee2f=this['_getPivotAppliedRanges'](_0x55bfa0,_0x3a6ecd,_0x33d009),_0x58e93e=this[_0x234a0e(0x241)]['generateMutationsByRanges']({'unitId':_0x3612ce,'subUnitId':_0x16ff24,'ranges':_0x2fee2f}),_0x2d76b7=Ko(this[_0x234a0e(0x2e0)],_0x3612ce,_0x16ff24,_0x2fee2f);_0x2d76b7[_0x234a0e(0x283)]&&(_0x58e93e['redos'][_0x234a0e(0x2a2)](_0x2d76b7[_0x234a0e(0x1de)]),_0x58e93e['undos'][_0x234a0e(0x2a2)](_0x2d76b7[_0x234a0e(0x2ce)]));const _0x2f1e0c=this[_0x234a0e(0x108)](_0x3a6ecd,_0x55bfa0);return _0x58e93e[_0x234a0e(0x173)][_0x234a0e(0x2a2)](..._0x2f1e0c[_0x234a0e(0x173)]),_0x58e93e[_0x234a0e(0xe1)][_0x234a0e(0x2a2)](..._0x2f1e0c[_0x234a0e(0xe1)]),{'redos':_0x58e93e[_0x234a0e(0x173)],'undos':_0x58e93e['undos']};}}));}[_0x4cee97(0x108)](_0x5c5b46,_0x14f1f7){const _0x3e4984=_0x4cee97,{col:_0xe6da06,unitId:_0x1961f5,subUnitId:_0x2820a3}=_0x14f1f7,_0x480254=[],_0x5e98ce=[],_0xb64347=_0x66221a(this[_0x3e4984(0x295)],{'unitId':_0x1961f5,'subUnitId':_0x2820a3});if(!_0x14f1f7||!_0x5c5b46||!_0xb64347)return{'undos':_0x5e98ce,'redos':_0x480254};const _0x45e1aa=this[_0x3e4984(0xef)]['getTextInfo'](),{colView:_0x5f3cbb,dataView:_0x21d7e9,cornerView:_0x5b724b,rowView:_0x590619,formatMap:_0x52e2fc}=_0x5c5b46,_0x52df4e=Po(_0x5f3cbb,_0x45e1aa,!0x0,_0x52e2fc),_0x44d0e8=Po(_0x590619,_0x45e1aa,!0x1,_0x52e2fc),_0x3d1aa7=Gi(_0x21d7e9),_0x50caf6=$i(_0x5b724b),{worksheet:_0x3909a7}=_0xb64347;if(typeof window<'u'&&window[_0x3e4984(0xb9)]){const _0x143b61=_0x119247({...fe['colStyle']}),_0x130fe1=_0x14295c[_0x3e4984(0x1e2)](_0x52df4e,_0x143b61)['width']+0x10,_0x2e2f6f=_0x14295c[_0x3e4984(0x1e2)](_0x3d1aa7,_0x143b61)[_0x3e4984(0x15f)],_0x5b95c2=Math[_0x3e4984(0x252)](Math[_0x3e4984(0x20b)](_0x130fe1,_0x2e2f6f))+0x10,_0x6a98e0=Math['floor'](_0x14295c[_0x3e4984(0x1e2)](_0x44d0e8,_0x143b61)[_0x3e4984(0x15f)]),_0x42527a=Math[_0x3e4984(0x252)](_0x14295c[_0x3e4984(0x1e2)](_0x50caf6,_0x143b61)[_0x3e4984(0x15f)]),_0x162bab=Math[_0x3e4984(0x20b)](_0x6a98e0,_0x42527a,0x28)+0xc,_0x569644=_0x5f3cbb[_0x3e4984(0x1bd)]+_0x5b724b[_0x3e4984(0x1bd)],_0x18ff81={},_0x5644dc={};for(let _0x52c037=_0xe6da06;_0x52c037<_0xe6da06+_0x569644;_0x52c037++){const _0x511113=_0x3909a7[_0x3e4984(0x9c)](_0x52c037);_0x18ff81[_0x52c037]=_0x511113,_0x52c037-_0xe6da06<_0x5b724b[_0x3e4984(0x1bd)]?_0x5644dc[_0x52c037-_0xe6da06]=_0x162bab:_0x5644dc[_0x52c037-_0xe6da06]=_0x5b95c2;}_0x480254[_0x3e4984(0x2a2)]({'id':_0x559160['id'],'params':{'subUnitId':_0x2820a3,'unitId':_0x1961f5,'ranges':[{'startColumn':_0xe6da06,'endColumn':_0xe6da06+_0x569644-0x1,'startRow':0x0,'endRow':_0x3909a7[_0x3e4984(0x2b4)]()-0x1}],'colWidth':_0x5644dc}}),_0x5e98ce[_0x3e4984(0x2a2)]({'id':_0x559160['id'],'params':{'subUnitId':_0x2820a3,'unitId':_0x1961f5,'ranges':[{'startColumn':_0xe6da06,'endColumn':_0xe6da06+_0x569644-0x1,'startRow':0x0,'endRow':_0x3909a7[_0x3e4984(0x2b4)]()-0x1}],'colWidth':_0x18ff81}});}return{'undos':_0x5e98ce,'redos':_0x480254};}};function _0x47fa(_0x506f68,_0x3125f8){const _0x599ccc=_0x599c();return _0x47fa=function(_0x47fa66,_0x609326){_0x47fa66=_0x47fa66-0x71;let _0x5ab404=_0x599ccc[_0x47fa66];return _0x5ab404;},_0x47fa(_0x506f68,_0x3125f8);}ut=Bs([qe(0x0,_0x4c00f1(_0x18acb2)),qe(0x1,_0x4c00f1(_0x48b3fd)),qe(0x2,_0x4c00f1(_0xb8618)),qe(0x3,_0x4c00f1(_0x29adac)),qe(0x4,_0x4c00f1(he)),qe(0x5,_0x4c00f1(ie))],ut);var Gs=Object[_0x4cee97(0x236)],$s=(_0x3e9e31,_0x2a2334,_0x2429ca,_0x47c69f)=>{const _0x33afa3=_0x4cee97;for(var _0x49769a=_0x47c69f>0x1?void 0x0:_0x47c69f?Gs(_0x2a2334,_0x2429ca):_0x2a2334,_0x47854e=_0x3e9e31[_0x33afa3(0x29c)]-0x1,_0x535d2f;_0x47854e>=0x0;_0x47854e--)(_0x535d2f=_0x3e9e31[_0x47854e])&&(_0x49769a=_0x535d2f(_0x49769a)||_0x49769a);return _0x49769a;},Ae=(_0x250689,_0x594d94)=>(_0x2ef2f1,_0x5ba2d6)=>_0x594d94(_0x2ef2f1,_0x5ba2d6,_0x250689);let ft=class extends _0x125de6{constructor(_0x2e3410,_0xccad54,_0x2beb78,_0x27c2ed,_0x53774f,_0x3580e4,_0x28b983){const _0x3d8b7a=_0x4cee97;super(),O(this,'disposableCollection',new _0x4eef86()),(this[_0x3d8b7a(0x2e0)]=_0x2e3410,this[_0x3d8b7a(0xe6)]=_0xccad54,this[_0x3d8b7a(0x260)]=_0x2beb78,this[_0x3d8b7a(0x295)]=_0x27c2ed,this[_0x3d8b7a(0xef)]=_0x53774f,this['_sheetsPivotTableAdaptorModel']=_0x3580e4,this[_0x3d8b7a(0x241)]=_0x28b983,this['_onRefRangeChange']());}[_0x4cee97(0x1d8)](){const _0x189261=_0x4cee97,_0x23a864=(_0x3ff7f9,_0x4e83d4)=>{const _0x47ef30=_0x47fa,_0x4476db=this[_0x47ef30(0x295)]['getCurrentUnitForType'](_0x5de41e['UNIVER_SHEET']);if(!_0x4476db||!(_0x4476db==null?void 0x0:_0x4476db[_0x47ef30(0x24e)](_0x4e83d4)))return;this['disposableCollection'][_0x47ef30(0x2c5)]();const _0x587bbc=_0x52757d=>this[_0x47ef30(0x265)](_0x52757d,_0x3ff7f9,_0x4e83d4),_0x10a9de=this['_sheetsPivotTableConfigModel'][_0x47ef30(0x218)](_0x3ff7f9,_0x4e83d4);if(!(_0x10a9de!=null&&_0x10a9de['size']))return;Array[_0x47ef30(0x12f)](_0x10a9de[_0x47ef30(0x194)]())[_0x47ef30(0x27b)](_0x12ca18=>{const _0x4833e6=_0x47ef30,{row:_0x5d71f4,col:_0x5a6066}=_0x12ca18[_0x4833e6(0x1bb)];return _0x330834(_0x5d71f4,_0x5a6066);})[_0x47ef30(0x11b)](_0xa2230e=>{const _0x4878d9=_0x47ef30;this[_0x4878d9(0x15e)][_0x4878d9(0x221)](this[_0x4878d9(0xe6)]['registerRefRange'](_0xa2230e,_0x587bbc,_0x3ff7f9,_0x4e83d4));});},_0x44ed9c=()=>{const _0x2e74ad=_0x47fa,_0x230627=this[_0x2e74ad(0x295)][_0x2e74ad(0x125)](_0x5de41e[_0x2e74ad(0x1cf)]);if(_0x230627){const _0x495758=_0x230627['getActiveSheet']();if(!_0x495758)return;_0x23a864(_0x230627[_0x2e74ad(0x235)](),_0x495758['getSheetId']());}};this[_0x189261(0x2c3)](this[_0x189261(0x260)][_0x189261(0x2a1)](_0x544879=>{const _0x14f072=_0x189261;if(_0x544879['id']===_0x225004['id']){const _0x31a73f=_0x544879[_0x14f072(0x86)],_0xdd4d9f=_0x31a73f[_0x14f072(0x282)],_0x30b64e=_0x31a73f[_0x14f072(0x16d)];if(!_0xdd4d9f||!_0x30b64e)return;_0x23a864(_0x30b64e,_0xdd4d9f);}})),this[_0x189261(0x2c3)](this[_0x189261(0xef)][_0x189261(0x1a0)]['subscribe'](_0x625bc3=>{_0x625bc3&&_0x44ed9c();})),this['disposeWithMe'](this[_0x189261(0xef)][_0x189261(0x2bd)][_0x189261(0x13b)](_0x2b650f=>{const _0x335f43=_0x189261,_0x181d98=_0x66221a(this[_0x335f43(0x295)]);if(!_0x181d98)return;const {unitId:_0x19beb6,subUnitId:_0x4deadd}=_0x181d98,{unitId:_0x15622d,subUnitId:_0x1d36f9}=_0x2b650f;_0x19beb6!==_0x15622d||_0x4deadd!==_0x1d36f9||_0x23a864(_0x19beb6,_0x4deadd);})),_0x44ed9c();}[_0x4cee97(0x265)](_0x46dcf5,_0x1d72fb,_0x3f522a){const _0x57bcac=_0x4cee97;switch(_0x46dcf5['id']){case _0x5ce239['id']:return this[_0x57bcac(0x1b7)](_0x46dcf5[_0x57bcac(0x86)],_0x1d72fb,_0x3f522a);}return{'redos':[],'undos':[]};}[_0x4cee97(0x1b7)](_0x573174,_0x29871a,_0x3edf86){const _0x1acb4f=_0x4cee97,{fromRange:_0x4a3474,toRange:_0x281af9}=_0x573174,_0x258c76=[],_0x127d74=[],_0x552837=_0x66221a(this['_univerInstanceService']);if(!_0x552837)return{'undos':_0x127d74,'redos':_0x258c76};if(_0x29871a!==_0x552837[_0x1acb4f(0x16d)]||_0x3edf86!==_0x552837[_0x1acb4f(0x282)])return{'undos':_0x127d74,'redos':_0x258c76};const _0x365dd5=this['_sheetsPivotTableConfigModel'][_0x1acb4f(0x218)](_0x29871a,_0x3edf86);if(_0x365dd5!=null&&_0x365dd5[_0x1acb4f(0x276)])for(const [_0x4e26a2,_0xe737de]of _0x365dd5){const {unitId:_0x3ec392,subUnitId:_0x5730db,row:_0x4f90cb,col:_0x268ebf}=_0xe737de[_0x1acb4f(0x1bb)];if(_0x3ec392===_0x552837['unitId']&&_0x5730db===_0x552837[_0x1acb4f(0x282)]){const _0x56a2a9=_0x330834(_0x4f90cb,_0x268ebf);if(_0x508b94[_0x1acb4f(0x11d)](_0x56a2a9,_0x4a3474)){const _0x392e1f=_0x4f90cb-_0x4a3474['startRow'],_0x48da3d=_0x268ebf-_0x4a3474[_0x1acb4f(0x160)],_0x548135={'row':_0x281af9[_0x1acb4f(0x99)]+_0x392e1f,'col':_0x281af9[_0x1acb4f(0x160)]+_0x48da3d};_0x258c76[_0x1acb4f(0x2a2)]({'id':pt['id'],'params':{'unitId':_0x3ec392,'subUnitId':_0x5730db,'pivotTableId':_0x4e26a2,'targetCellPosition':_0x548135}}),_0x127d74[_0x1acb4f(0x2a2)]({'id':pt['id'],'params':{'unitId':_0x3ec392,'subUnitId':_0x5730db,'pivotTableId':_0x4e26a2,'targetCellPosition':{'row':_0x4f90cb,'col':_0x268ebf}}});const _0xab73e7=_0x548135['row']-_0x4f90cb,_0x482a08=_0x548135[_0x1acb4f(0x224)]-_0x268ebf,_0x2b96ad=[],_0x1330f7=this[_0x1acb4f(0x2dd)][_0x1acb4f(0x74)](_0x3ec392,_0x5730db,_0x4e26a2),_0x5a0631=_0x1330f7==null?void 0x0:_0x1330f7[_0x1acb4f(0x13e)];if(_0x5a0631){Object['keys'](_0x5a0631)[_0x1acb4f(0x11b)](_0x2af844=>{const _0x38f1db=_0x1acb4f;_0x5a0631[_0x2af844][_0x38f1db(0x11b)](_0x4a556b=>{const _0x3ae989=_0x38f1db,_0x872cdd={..._0x4a556b};_0x872cdd[_0x3ae989(0x99)]=_0x4a556b['startRow']+_0xab73e7,_0x872cdd[_0x3ae989(0x1ec)]=_0x4a556b['endRow']+_0xab73e7,_0x872cdd['startColumn']=_0x4a556b['startColumn']+_0x482a08,_0x872cdd[_0x3ae989(0x12e)]=_0x4a556b[_0x3ae989(0x12e)]+_0x482a08,_0x2b96ad[_0x3ae989(0x2a2)](_0x872cdd);});});const _0x17a811=this[_0x1acb4f(0x241)][_0x1acb4f(0x14c)]({'unitId':_0x3ec392,'subUnitId':_0x5730db,'ranges':_0x2b96ad});_0x258c76['push'](..._0x17a811[_0x1acb4f(0x173)]),_0x127d74['push'](..._0x17a811[_0x1acb4f(0xe1)]);const _0x5cd0ad=Ko(this[_0x1acb4f(0x2e0)],_0x3ec392,_0x5730db,_0x2b96ad);_0x5cd0ad[_0x1acb4f(0x283)]&&(_0x258c76[_0x1acb4f(0x2a2)](_0x5cd0ad[_0x1acb4f(0x1de)]),_0x127d74[_0x1acb4f(0x2a2)](_0x5cd0ad[_0x1acb4f(0x2ce)]));}}}}return{'redos':_0x258c76,'undos':_0x127d74};}};ft=$s([Ae(0x0,_0x4c00f1(_0xb8618)),Ae(0x1,_0x4c00f1(_0x3d2300)),Ae(0x2,_0x209817),Ae(0x3,_0x29adac),Ae(0x4,_0x4c00f1(he)),Ae(0x5,_0x4c00f1(Ne)),Ae(0x6,_0x4c00f1(_0x48b3fd))],ft);var Js=Object[_0x4cee97(0x236)],Ws=(_0x1381ee,_0x58a246,_0x4574dd,_0x38e415)=>{for(var _0x539b41=_0x38e415>0x1?void 0x0:_0x38e415?Js(_0x58a246,_0x4574dd):_0x58a246,_0x4b4110=_0x1381ee['length']-0x1,_0x5559c3;_0x4b4110>=0x0;_0x4b4110--)(_0x5559c3=_0x1381ee[_0x4b4110])&&(_0x539b41=_0x5559c3(_0x539b41)||_0x539b41);return _0x539b41;},_o=(_0x466950,_0x2dda9f)=>(_0x53cd38,_0x3bc30f)=>_0x2dda9f(_0x53cd38,_0x3bc30f,_0x466950);let gt=class extends _0x125de6{constructor(_0x5756e1,_0x10b8b7){const _0x3c72d2=_0x4cee97;super(),this[_0x3c72d2(0x241)]=_0x5756e1,this['_sheetsPivotTableConfigModel']=_0x10b8b7,this[_0x3c72d2(0x1b6)]();}[_0x4cee97(0x1b6)](){const _0x790846=_0x4cee97;this[_0x790846(0x2c3)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x207236=>{const _0x240ea6=_0x790846;if(_0x207236['id']===_0x5f4238['id']){const _0x4a7ffd=[],_0x4c26f2=[],_0x493192=_0x207236[_0x240ea6(0x86)],{unitId:_0x93eda3,subUnitId:_0x48fbac}=_0x493192;if(!_0x93eda3||!_0x48fbac)return{'undos':_0x4c26f2,'redos':_0x4a7ffd};const _0x15be08=this[_0x240ea6(0xef)][_0x240ea6(0x218)](_0x93eda3,_0x48fbac);if(_0x15be08!=null&&_0x15be08[_0x240ea6(0x276)])for(const [_0x2ec88d,_0x4724d3]of _0x15be08){_0x4a7ffd['push']({'id':xt['id'],'params':{'unitId':_0x93eda3,'subUnitId':_0x48fbac,'pivotTableId':_0x2ec88d}});const _0x232763={...this[_0x240ea6(0xef)][_0x240ea6(0xd9)](_0x93eda3,_0x2ec88d)};_0x4c26f2['push']({'id':Ct['id'],'params':{'unitId':_0x93eda3,'subUnitId':_0x48fbac,'pivotTableId':_0x2ec88d,'pivotTableConfig':_0x4724d3,'collectionConfig':_0x232763}});}return{'redos':_0x4a7ffd,'undos':_0x4c26f2};}return{'redos':[],'undos':[]};}}));}};gt=Ws([_o(0x0,_0x4c00f1(_0x48b3fd)),_o(0x1,_0x4c00f1(he))],gt);var js=Object[_0x4cee97(0x236)],Hs=(_0x52f041,_0x40d671,_0x2d99ae,_0x4cc4aa)=>{for(var _0x4fbd76=_0x4cc4aa>0x1?void 0x0:_0x4cc4aa?js(_0x40d671,_0x2d99ae):_0x40d671,_0x2b365e=_0x52f041['length']-0x1,_0x267161;_0x2b365e>=0x0;_0x2b365e--)(_0x267161=_0x52f041[_0x2b365e])&&(_0x4fbd76=_0x267161(_0x4fbd76)||_0x4fbd76);return _0x4fbd76;},Qe=(_0xe7e61e,_0x194a70)=>(_0x37033d,_0x42bda7)=>_0x194a70(_0x37033d,_0x42bda7,_0xe7e61e);let vt=class extends _0x125de6{constructor(_0x391b40,_0x510b26,_0x345ed4,_0x155cb3,_0x34fe08,_0x30853d){const _0x3df55c=_0x4cee97;super(),this[_0x3df55c(0x260)]=_0x391b40,this[_0x3df55c(0x2bb)]=_0x510b26,this[_0x3df55c(0x2dd)]=_0x345ed4,this[_0x3df55c(0xef)]=_0x155cb3,this[_0x3df55c(0x295)]=_0x34fe08,this['_activeDirtyManagerService']=_0x30853d,this['_initDataSendListener'](),this[_0x3df55c(0x179)]();}[_0x4cee97(0x7e)](){const _0x11113c=_0x4cee97;this[_0x11113c(0x2c3)](this[_0x11113c(0x260)][_0x11113c(0x2a1)](_0x5ad9dc=>{const _0x5d9b17=_0x11113c;if(_0x5ad9dc['id']!==lo['id'])return;const _0x5abb2a=_0x5ad9dc[_0x5d9b17(0x86)];this[_0x5d9b17(0x2bb)]['handleAsyncResponse'](_0x5abb2a);})),this[_0x11113c(0x2c3)](this[_0x11113c(0x260)][_0x11113c(0x2a1)](_0x1116d6=>{const _0x28aa4e=_0x11113c;if(_0x1116d6['id']===co['id']){const _0x3c3b88=_0x1116d6[_0x28aa4e(0x86)];if(_0x3c3b88){const {unitId:_0x3e456d,subUnitId:_0x208d01,oldSubUnitId:_0x24c3b4,pivotTableId:_0x578108,pivotTableConfig:_0x3b0487,collectionConfig:_0x269793}=_0x3c3b88;this[_0x28aa4e(0xef)][_0x28aa4e(0x1e5)](_0x3e456d,_0x24c3b4,_0x3c3b88[_0x28aa4e(0xda)],null),this['_sheetsPivotTableConfigModel'][_0x28aa4e(0x1e5)](_0x3e456d,_0x208d01,_0x578108,_0x3b0487),this['_sheetsPivotTableConfigModel'][_0x28aa4e(0xee)](_0x3e456d,_0x269793);}}})),this[_0x11113c(0x2c3)](this[_0x11113c(0x260)][_0x11113c(0x2a1)](_0x5ba188=>{const _0x574348=_0x11113c;if(_0x5ba188['id']!==Dt['id'])return;const _0x579222=_0x66221a(this[_0x574348(0x295)]);if(!_0x579222)return;const {unitId:_0x269195,subUnitId:_0x4b812e}=_0x579222,_0x38b595=_0x5ba188['params'];if(_0x38b595[_0x574348(0x199)]&&Object[_0x574348(0xf2)](_0x38b595[_0x574348(0x199)])[_0x574348(0x11b)](_0x5186ce=>{const _0x475373=_0x574348;var _0x1334ad;(_0x1334ad=_0x38b595['collectionConfig'])!=null&&_0x1334ad[_0x5186ce]&&this['_sheetsPivotTableConfigModel'][_0x475373(0xee)](_0x5186ce,_0x38b595[_0x475373(0x199)][_0x5186ce]);}),_0x38b595['single']){const _0x3d6ec4=_0x38b595[_0x574348(0x18b)],{unitId:_0x48b682,subUnitId:_0x1322ae,view:_0x477f7f,pivotTableId:_0x1fe88a,type:_0x509f0d,pivotConfig:_0x57dca0}=_0x3d6ec4;if(_0x509f0d===G[_0x574348(0x111)])this[_0x574348(0x2dd)][_0x574348(0xf5)]({'unitId':_0x48b682,'subUnitId':_0x1322ae,'pivotTableId':_0x1fe88a,'type':_0x509f0d}),this[_0x574348(0xef)][_0x574348(0x1e5)](_0x48b682,_0x1322ae,_0x1fe88a,null);else{const _0x225943=new _0x18cfb9();_0x225943[_0x574348(0xa4)](_0x477f7f),this[_0x574348(0xef)][_0x574348(0x1e5)](_0x48b682,_0x1322ae,_0x1fe88a,_0x57dca0),this[_0x574348(0x2dd)][_0x574348(0xf5)]({'unitId':_0x48b682,'subUnitId':_0x1322ae,'pivotTableId':_0x1fe88a,'type':_0x509f0d,'view':_0x225943}),this[_0x574348(0x2dd)][_0x574348(0x166)]({'unitId':_0x48b682,'subUnitId':_0x1322ae,'view':_0x225943,'pivotTableId':_0x1fe88a,'type':_0x509f0d});}}else _0x38b595['batch']&&(_0x38b595[_0x574348(0xb3)][_0x574348(0x11b)](_0x1dcfa0=>{const _0x4c64e3=_0x574348,{unitId:_0x56811a,subUnitId:_0x180119,view:_0x3be652,pivotTableId:_0x38d1c1,type:_0x9b44d7,pivotConfig:_0x510d55}=_0x1dcfa0,_0x2185ef=new _0x18cfb9();_0x2185ef[_0x4c64e3(0xa4)](_0x3be652),this['_sheetsPivotTableConfigModel'][_0x4c64e3(0x1e5)](_0x56811a,_0x180119,_0x38d1c1,_0x510d55),this[_0x4c64e3(0x2dd)][_0x4c64e3(0x166)]({'unitId':_0x56811a,'subUnitId':_0x180119,'view':_0x2185ef,'pivotTableId':_0x38d1c1,'type':_0x9b44d7});}),this[_0x574348(0xef)][_0x574348(0x23c)]());this[_0x574348(0x2dd)][_0x574348(0x1a6)](_0x269195,_0x4b812e);}));}['registerDirtyService'](){const _0xea56a7=_0x4cee97;this[_0xea56a7(0x152)][_0xea56a7(0x28f)](Et['id'],{'commandId':Et['id'],'getDirtyData'(_0x486f70){const _0x6baf67=_0xea56a7;return{'dirtyUnitFeatureMap':_0x486f70[_0x6baf67(0x86)]};}});}};vt=Hs([Qe(0x0,_0x4c00f1(_0x209817)),Qe(0x1,_0x4c00f1(Z)),Qe(0x2,_0x4c00f1(Ne)),Qe(0x3,_0x4c00f1(he)),Qe(0x4,_0x4c00f1(_0x29adac)),Qe(0x5,_0x142dc5)],vt);var Ks=Object[_0x4cee97(0x2d5)],qs=Object['getOwnPropertyDescriptor'],Qs=(_0x32da89,_0x3d73b1,_0x17fa3d)=>_0x3d73b1 in _0x32da89?Ks(_0x32da89,_0x3d73b1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17fa3d}):_0x32da89[_0x3d73b1]=_0x17fa3d,Ys=(_0x240da7,_0x5e4c5e,_0x37658c,_0x339199)=>{const _0x1930a1=_0x4cee97;for(var _0x4cf053=_0x339199>0x1?void 0x0:_0x339199?qs(_0x5e4c5e,_0x37658c):_0x5e4c5e,_0x46dc4a=_0x240da7[_0x1930a1(0x29c)]-0x1,_0xb5d3e;_0x46dc4a>=0x0;_0x46dc4a--)(_0xb5d3e=_0x240da7[_0x46dc4a])&&(_0x4cf053=_0xb5d3e(_0x4cf053)||_0x4cf053);return _0x4cf053;},Ft=(_0x41e9eb,_0x2fb9e9)=>(_0xf1d179,_0x4a78c4)=>_0x2fb9e9(_0xf1d179,_0x4a78c4,_0x41e9eb),Xo=(_0x4bd610,_0x3bce3f,_0x429807)=>Qs(_0x4bd610,typeof _0x3bce3f!=_0x4cee97(0x24b)?_0x3bce3f+'':_0x3bce3f,_0x429807);let Ot=class extends _0x22a581{constructor(_0x4017c4=yo,_0x2b3ff9,_0x15fc45,_0x39a6c0,_0x3c70b1){const _0x59945d=_0x4cee97;super(),this[_0x59945d(0x1eb)]=_0x4017c4,this[_0x59945d(0x2e0)]=_0x2b3ff9,this[_0x59945d(0x260)]=_0x15fc45,this[_0x59945d(0xc6)]=_0x39a6c0,this[_0x59945d(0x2c1)]=_0x3c70b1;const {..._0x4b1041}=_0xd74257({},yo,this[_0x59945d(0x1eb)]);this[_0x59945d(0xc6)][_0x59945d(0x15a)](Qo,_0x4b1041),this[_0x59945d(0x2e5)](),this[_0x59945d(0x146)]();}[_0x4cee97(0x146)](){const _0x9018c1=_0x4cee97;var _0x2912d0;const _0x5b7d96=(_0x2912d0=this[_0x9018c1(0x1eb)])==null?void 0x0:_0x2912d0[_0x9018c1(0x2e6)];this['_configService'][_0x9018c1(0x15a)](q,_0x5b7d96===!0x0);}[_0x4cee97(0x1f0)](){const _0x313058=_0x4cee97;var _0x505a32;let _0x27c0a4=[];const _0x466243=(_0x505a32=this['_config'])==null?void 0x0:_0x505a32[_0x313058(0x2e6)];_0x466243===!0x0?_0x27c0a4=[[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]:_0x466243===!0x1?_0x27c0a4=[[$],[ct]]:_0x466243===void 0x0&&(_0x27c0a4=[[$],[ct],[ie],[Z],[vt],[Ne],[he],[gt],[dt],[ft],[ut]]),_0x27c0a4[_0x313058(0x11b)](_0x29c309=>this[_0x313058(0x2e0)][_0x313058(0x221)](_0x29c309)),[ct,vt,ie,dt,gt,ft,ut]['forEach'](_0x3f966d=>{const _0x3f9318=_0x313058;this['_injector'][_0x3f9318(0xfb)](_0x3f966d)&&this[_0x3f9318(0x2e0)][_0x3f9318(0x1d9)](_0x3f966d);});}[_0x4cee97(0x2e5)](){const _0x5e68f4=_0x4cee97;[hs,ps,vs,ms,Cs,Ms,Ds,bs,Ts,Ss,Ps,ys,ws,Is,Ct,oo,xt,$t,Yo,zo,Kt,Jt,Wt,jt,Qt,qt,pt,ro,lo,Dt,Xt,eo,Yt,Ht,uo,to,Zt,Et,co,_s,zt,Fs,Rs][_0x5e68f4(0x11b)](_0xbb9100=>{const _0x80e6c0=_0x5e68f4;var _0x5814ec;(_0x5814ec=this[_0x80e6c0(0x2c1)])==null||_0x5814ec['registerSyncingMutations'](_0xbb9100),this[_0x80e6c0(0x260)]['registerCommand'](_0xbb9100);});}};Xo(Ot,'pluginName',ao),Xo(Ot,'type',_0x5de41e[_0x4cee97(0x1cf)]),Ot=Ys([_0x2d69b5(_0x1558a9),Ft(0x1,_0x4c00f1(_0xb8618)),Ft(0x2,_0x4c00f1(_0x209817)),Ft(0x3,_0x3ff295),Ft(0x4,_0x5750ac(_0x57bbeb))],Ot);export{vs as AddPivotFieldCommand,$t as AddPivotFieldMutation,ps as AddPivotTableCommand,Ct as AddPivotTableMutation,hs as AddPivotTableWithConfigCommand,It as BLANK_ROW_COUNT,so as DEFAULT_PIVOT_NUMBER,ms as MovePivotFieldCommand,ws as MovePivotTableCommand,A as PivotDisplayDataType,Is as PivotDrillDownCommand,G as PivotTableOperationEnum,Et as PivotTableViewDirtyMarkOperation,ko as PositionType,Cs as RemovePivotFieldCommand,Jt as RemovePivotFieldMutation,xt as RemovePivotTableMutation,Wt as RenamePivotFieldMutation,Rs as ResetPivotFieldsConfigCommand,Qo as SHEETS_PIVOT_PLUGIN_CONFIG_KEY,ao as SHEET_PIVOT_TABLE_PLUGIN,bs as SetPivotCollapseCommand,jt as SetPivotCollapseMutation,Ht as SetPivotFieldFormatMutation,Fs as SetPivotFieldsConfigCommand,Ss as SetPivotFilterCommand,Kt as SetPivotFilterMutation,qt as SetPivotOptionMutation,pt as SetPivotPositionMutation,Ts as SetPivotSortCommand,Qt as SetPivotSortMutation,Yt as SetPivotSubtotalTypeMutation,_s as SetPivotValueFilterCommand,zt as SetPivotValueFilterMutation,$ as SheetsPivotDataSourceModel,Z as SheetsPivotRPCService,Ne as SheetsPivotTableAdaptorModel,he as SheetsPivotTableConfigModel,ie as SheetsPivotTableService,Ot as UniverSheetsPivotTablePlugin,Ds as UpdateDateGroupCommand,Xt as UpdateFieldPositionMutation,Ps as UpdatePivotFieldSettingCommand,Zt as UpdatePivotFieldSourceInfoMutation,ys as UpdatePivotTableSourceRangeCommand,to as UpdatePivotTableSourceRangeMutation,Ms as UpdatePivotValuePositionCommand,eo as UpdateValuePositionMutation,me as applyChangeSet,Ho as canUsePivot,fe as defaultThemeStyle,Ko as generateSetRangeValueMutations,ge as getAdjustRangesPosition,Ai as getEmptyPivotRanges,Nt as getFieldListByArea,we as getInsertRowColMutations,xi as getPivotCellInfo,go as getPivotInfoByLicense,Vi as getPivotTableInfo,ht as transFromCellValue,Gt as unionPivotViewRange};